docs.go 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586
  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.Ermcp3ExposureParamChLog"
  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/QueryMyTeam": {
  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.QhjMyTeam"
  7501. }
  7502. }
  7503. },
  7504. "500": {
  7505. "description": "Internal Server Error",
  7506. "schema": {
  7507. "$ref": "#/definitions/app.Response"
  7508. }
  7509. }
  7510. }
  7511. }
  7512. },
  7513. "/Qhj/QueryMyTeamOrder": {
  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": "页码",
  7531. "name": "page",
  7532. "in": "query"
  7533. },
  7534. {
  7535. "type": "integer",
  7536. "description": "每页条数",
  7537. "name": "pagesize",
  7538. "in": "query"
  7539. },
  7540. {
  7541. "type": "integer",
  7542. "description": "用户ID",
  7543. "name": "userid",
  7544. "in": "query",
  7545. "required": true
  7546. },
  7547. {
  7548. "type": "string",
  7549. "description": "名称(模糊搜索账户)",
  7550. "name": "filtername",
  7551. "in": "query"
  7552. }
  7553. ],
  7554. "responses": {
  7555. "200": {
  7556. "description": "OK",
  7557. "schema": {
  7558. "type": "array",
  7559. "items": {
  7560. "$ref": "#/definitions/models.QhjTeamOrder"
  7561. }
  7562. }
  7563. },
  7564. "500": {
  7565. "description": "Internal Server Error",
  7566. "schema": {
  7567. "$ref": "#/definitions/app.Response"
  7568. }
  7569. }
  7570. }
  7571. }
  7572. },
  7573. "/Qhj/QueryParentAreaList": {
  7574. "get": {
  7575. "security": [
  7576. {
  7577. "ApiKeyAuth": []
  7578. }
  7579. ],
  7580. "produces": [
  7581. "application/json"
  7582. ],
  7583. "tags": [
  7584. "大连千海金"
  7585. ],
  7586. "summary": "查询所属机构列表",
  7587. "parameters": [
  7588. {
  7589. "type": "integer",
  7590. "description": "用户ID",
  7591. "name": "userid",
  7592. "in": "query",
  7593. "required": true
  7594. }
  7595. ],
  7596. "responses": {
  7597. "200": {
  7598. "description": "OK",
  7599. "schema": {
  7600. "type": "array",
  7601. "items": {
  7602. "$ref": "#/definitions/models.QhjParentAreaList"
  7603. }
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. },
  7615. "/Qhj/QueryPayOrder": {
  7616. "get": {
  7617. "security": [
  7618. {
  7619. "ApiKeyAuth": []
  7620. }
  7621. ],
  7622. "produces": [
  7623. "application/json"
  7624. ],
  7625. "tags": [
  7626. "大连千海金"
  7627. ],
  7628. "summary": "查询待付款单据",
  7629. "parameters": [
  7630. {
  7631. "type": "integer",
  7632. "description": "资金账号id",
  7633. "name": "accountid",
  7634. "in": "query",
  7635. "required": true
  7636. },
  7637. {
  7638. "type": "integer",
  7639. "description": "成交单号",
  7640. "name": "tradeid",
  7641. "in": "query"
  7642. },
  7643. {
  7644. "type": "string",
  7645. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7646. "name": "payflag",
  7647. "in": "query"
  7648. }
  7649. ],
  7650. "responses": {
  7651. "200": {
  7652. "description": "OK",
  7653. "schema": {
  7654. "type": "array",
  7655. "items": {
  7656. "$ref": "#/definitions/models.QhjPayOrder"
  7657. }
  7658. }
  7659. },
  7660. "500": {
  7661. "description": "Internal Server Error",
  7662. "schema": {
  7663. "$ref": "#/definitions/app.Response"
  7664. }
  7665. }
  7666. }
  7667. }
  7668. },
  7669. "/Qhj/QueryPickArea": {
  7670. "get": {
  7671. "security": [
  7672. {
  7673. "ApiKeyAuth": []
  7674. }
  7675. ],
  7676. "produces": [
  7677. "application/json"
  7678. ],
  7679. "tags": [
  7680. "大连千海金"
  7681. ],
  7682. "summary": "查询提货门店",
  7683. "parameters": [
  7684. {
  7685. "type": "integer",
  7686. "description": "用户ID",
  7687. "name": "userid",
  7688. "in": "query"
  7689. }
  7690. ],
  7691. "responses": {
  7692. "200": {
  7693. "description": "OK",
  7694. "schema": {
  7695. "type": "array",
  7696. "items": {
  7697. "$ref": "#/definitions/models.QhjPickArea"
  7698. }
  7699. }
  7700. },
  7701. "500": {
  7702. "description": "Internal Server Error",
  7703. "schema": {
  7704. "$ref": "#/definitions/app.Response"
  7705. }
  7706. }
  7707. }
  7708. }
  7709. },
  7710. "/Qhj/QueryPickGoods": {
  7711. "get": {
  7712. "security": [
  7713. {
  7714. "ApiKeyAuth": []
  7715. }
  7716. ],
  7717. "produces": [
  7718. "application/json"
  7719. ],
  7720. "tags": [
  7721. "大连千海金"
  7722. ],
  7723. "summary": "查询提货商品",
  7724. "parameters": [
  7725. {
  7726. "type": "integer",
  7727. "description": "交易商品id",
  7728. "name": "goodsid",
  7729. "in": "query",
  7730. "required": true
  7731. },
  7732. {
  7733. "type": "string",
  7734. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7735. "name": "status",
  7736. "in": "query"
  7737. }
  7738. ],
  7739. "responses": {
  7740. "200": {
  7741. "description": "OK",
  7742. "schema": {
  7743. "type": "array",
  7744. "items": {
  7745. "$ref": "#/definitions/models.QhjPickGoods"
  7746. }
  7747. }
  7748. },
  7749. "500": {
  7750. "description": "Internal Server Error",
  7751. "schema": {
  7752. "$ref": "#/definitions/app.Response"
  7753. }
  7754. }
  7755. }
  7756. }
  7757. },
  7758. "/Qhj/QueryRSTriggerLog": {
  7759. "get": {
  7760. "security": [
  7761. {
  7762. "ApiKeyAuth": []
  7763. }
  7764. ],
  7765. "produces": [
  7766. "application/json"
  7767. ],
  7768. "tags": [
  7769. "大连千海金"
  7770. ],
  7771. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7772. "parameters": [
  7773. {
  7774. "type": "integer",
  7775. "description": "用户ID",
  7776. "name": "userid",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "integer",
  7781. "description": "定投策略id",
  7782. "name": "regularlystrategyid",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "integer",
  7787. "description": "商品id",
  7788. "name": "goodsid",
  7789. "in": "query"
  7790. },
  7791. {
  7792. "type": "string",
  7793. "description": "开始交易日(yyyymmdd)",
  7794. "name": "begindate",
  7795. "in": "query"
  7796. },
  7797. {
  7798. "type": "string",
  7799. "description": "结束交易日(yyyymmdd)",
  7800. "name": "enddate",
  7801. "in": "query"
  7802. },
  7803. {
  7804. "type": "string",
  7805. "description": "名称(模糊搜索账户)",
  7806. "name": "filtername",
  7807. "in": "query"
  7808. }
  7809. ],
  7810. "responses": {
  7811. "200": {
  7812. "description": "OK",
  7813. "schema": {
  7814. "type": "array",
  7815. "items": {
  7816. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7817. }
  7818. }
  7819. },
  7820. "500": {
  7821. "description": "Internal Server Error",
  7822. "schema": {
  7823. "$ref": "#/definitions/app.Response"
  7824. }
  7825. }
  7826. }
  7827. }
  7828. },
  7829. "/Qhj/QueryRStrategy": {
  7830. "get": {
  7831. "security": [
  7832. {
  7833. "ApiKeyAuth": []
  7834. }
  7835. ],
  7836. "produces": [
  7837. "application/json"
  7838. ],
  7839. "tags": [
  7840. "大连千海金"
  7841. ],
  7842. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7843. "parameters": [
  7844. {
  7845. "type": "integer",
  7846. "description": "用户ID",
  7847. "name": "userid",
  7848. "in": "query"
  7849. },
  7850. {
  7851. "type": "integer",
  7852. "description": "商品id",
  7853. "name": "goodsid",
  7854. "in": "query"
  7855. },
  7856. {
  7857. "type": "string",
  7858. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7859. "name": "status",
  7860. "in": "query"
  7861. },
  7862. {
  7863. "type": "string",
  7864. "description": "名称(模糊搜索账户)",
  7865. "name": "filtername",
  7866. "in": "query"
  7867. }
  7868. ],
  7869. "responses": {
  7870. "200": {
  7871. "description": "OK",
  7872. "schema": {
  7873. "type": "array",
  7874. "items": {
  7875. "$ref": "#/definitions/models.QhjRStrategy"
  7876. }
  7877. }
  7878. },
  7879. "500": {
  7880. "description": "Internal Server Error",
  7881. "schema": {
  7882. "$ref": "#/definitions/app.Response"
  7883. }
  7884. }
  7885. }
  7886. }
  7887. },
  7888. "/Qhj/QueryReckonPriceLog": {
  7889. "get": {
  7890. "security": [
  7891. {
  7892. "ApiKeyAuth": []
  7893. }
  7894. ],
  7895. "produces": [
  7896. "application/json"
  7897. ],
  7898. "tags": [
  7899. "大连千海金"
  7900. ],
  7901. "summary": "查询定投价(结算价)",
  7902. "parameters": [
  7903. {
  7904. "type": "integer",
  7905. "description": "商品ID",
  7906. "name": "goodsid",
  7907. "in": "query"
  7908. },
  7909. {
  7910. "type": "string",
  7911. "description": "交易日 格式(yyyymmdd)",
  7912. "name": "tradedate",
  7913. "in": "query"
  7914. }
  7915. ],
  7916. "responses": {
  7917. "200": {
  7918. "description": "OK",
  7919. "schema": {
  7920. "type": "array",
  7921. "items": {
  7922. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7923. }
  7924. }
  7925. },
  7926. "500": {
  7927. "description": "Internal Server Error",
  7928. "schema": {
  7929. "$ref": "#/definitions/app.Response"
  7930. }
  7931. }
  7932. }
  7933. }
  7934. },
  7935. "/Qhj/QuerySiteColumnDetail": {
  7936. "get": {
  7937. "security": [
  7938. {
  7939. "ApiKeyAuth": []
  7940. }
  7941. ],
  7942. "produces": [
  7943. "application/json"
  7944. ],
  7945. "tags": [
  7946. "大连千海金"
  7947. ],
  7948. "summary": "查询资讯",
  7949. "parameters": [
  7950. {
  7951. "type": "integer",
  7952. "description": "用户ID",
  7953. "name": "userid",
  7954. "in": "query",
  7955. "required": true
  7956. }
  7957. ],
  7958. "responses": {
  7959. "200": {
  7960. "description": "OK",
  7961. "schema": {
  7962. "type": "array",
  7963. "items": {
  7964. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7965. }
  7966. }
  7967. },
  7968. "500": {
  7969. "description": "Internal Server Error",
  7970. "schema": {
  7971. "$ref": "#/definitions/app.Response"
  7972. }
  7973. }
  7974. }
  7975. }
  7976. },
  7977. "/Qhj/QueryTradeGoodsPickup": {
  7978. "get": {
  7979. "security": [
  7980. {
  7981. "ApiKeyAuth": []
  7982. }
  7983. ],
  7984. "produces": [
  7985. "application/json"
  7986. ],
  7987. "tags": [
  7988. "大连千海金"
  7989. ],
  7990. "summary": "查询提货",
  7991. "parameters": [
  7992. {
  7993. "type": "integer",
  7994. "description": "用户ID",
  7995. "name": "userid",
  7996. "in": "query",
  7997. "required": true
  7998. },
  7999. {
  8000. "type": "integer",
  8001. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8002. "name": "takeorderstatus",
  8003. "in": "query"
  8004. }
  8005. ],
  8006. "responses": {
  8007. "200": {
  8008. "description": "OK",
  8009. "schema": {
  8010. "type": "array",
  8011. "items": {
  8012. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8013. }
  8014. }
  8015. },
  8016. "500": {
  8017. "description": "Internal Server Error",
  8018. "schema": {
  8019. "$ref": "#/definitions/app.Response"
  8020. }
  8021. }
  8022. }
  8023. }
  8024. },
  8025. "/Qhj/QueryUserCollectConfig": {
  8026. "get": {
  8027. "security": [
  8028. {
  8029. "ApiKeyAuth": []
  8030. }
  8031. ],
  8032. "produces": [
  8033. "application/json"
  8034. ],
  8035. "tags": [
  8036. "大连千海金"
  8037. ],
  8038. "summary": "查询提现账户设置",
  8039. "parameters": [
  8040. {
  8041. "type": "integer",
  8042. "description": "用户ID",
  8043. "name": "userid",
  8044. "in": "query",
  8045. "required": true
  8046. }
  8047. ],
  8048. "responses": {
  8049. "200": {
  8050. "description": "OK",
  8051. "schema": {
  8052. "type": "array",
  8053. "items": {
  8054. "$ref": "#/definitions/models.UserCollectConfig"
  8055. }
  8056. }
  8057. },
  8058. "500": {
  8059. "description": "Internal Server Error",
  8060. "schema": {
  8061. "$ref": "#/definitions/app.Response"
  8062. }
  8063. }
  8064. }
  8065. }
  8066. },
  8067. "/Qhj/QueryUserReceiveInfo": {
  8068. "get": {
  8069. "security": [
  8070. {
  8071. "ApiKeyAuth": []
  8072. }
  8073. ],
  8074. "produces": [
  8075. "application/json"
  8076. ],
  8077. "tags": [
  8078. "大连千海金"
  8079. ],
  8080. "summary": "查询收货地址信息",
  8081. "parameters": [
  8082. {
  8083. "type": "integer",
  8084. "description": "用户ID",
  8085. "name": "userid",
  8086. "in": "query",
  8087. "required": true
  8088. }
  8089. ],
  8090. "responses": {
  8091. "200": {
  8092. "description": "OK",
  8093. "schema": {
  8094. "type": "array",
  8095. "items": {
  8096. "$ref": "#/definitions/models.UserReceiveInfo"
  8097. }
  8098. }
  8099. },
  8100. "500": {
  8101. "description": "Internal Server Error",
  8102. "schema": {
  8103. "$ref": "#/definitions/app.Response"
  8104. }
  8105. }
  8106. }
  8107. }
  8108. },
  8109. "/QhjMgr/QueryAccountInOutApply": {
  8110. "get": {
  8111. "security": [
  8112. {
  8113. "ApiKeyAuth": []
  8114. }
  8115. ],
  8116. "produces": [
  8117. "application/json"
  8118. ],
  8119. "tags": [
  8120. "大连千海金(PCWeb)"
  8121. ],
  8122. "summary": "查询充值提现",
  8123. "parameters": [
  8124. {
  8125. "type": "integer",
  8126. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8127. "name": "querytype",
  8128. "in": "query",
  8129. "required": true
  8130. },
  8131. {
  8132. "type": "integer",
  8133. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8134. "name": "applystatus",
  8135. "in": "query"
  8136. },
  8137. {
  8138. "type": "string",
  8139. "description": "申请起始日期(格式yyyymmdd)",
  8140. "name": "begindate",
  8141. "in": "query"
  8142. },
  8143. {
  8144. "type": "string",
  8145. "description": "申请截止日期(格式yyyymmdd)",
  8146. "name": "enddate",
  8147. "in": "query"
  8148. },
  8149. {
  8150. "type": "string",
  8151. "description": "模糊搜索名称",
  8152. "name": "likename",
  8153. "in": "query"
  8154. }
  8155. ],
  8156. "responses": {
  8157. "200": {
  8158. "description": "OK",
  8159. "schema": {
  8160. "type": "array",
  8161. "items": {
  8162. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8163. }
  8164. }
  8165. },
  8166. "500": {
  8167. "description": "Internal Server Error",
  8168. "schema": {
  8169. "$ref": "#/definitions/app.Response"
  8170. }
  8171. }
  8172. }
  8173. }
  8174. },
  8175. "/QhjMgr/QueryBrokerApply": {
  8176. "get": {
  8177. "security": [
  8178. {
  8179. "ApiKeyAuth": []
  8180. }
  8181. ],
  8182. "produces": [
  8183. "application/json"
  8184. ],
  8185. "tags": [
  8186. "大连千海金(PCWeb)"
  8187. ],
  8188. "summary": "查询经纪人申请",
  8189. "parameters": [
  8190. {
  8191. "type": "integer",
  8192. "description": "所属机构ID",
  8193. "name": "userid",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8199. "name": "filterstatus",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "string",
  8204. "description": "名称(模糊匹配)",
  8205. "name": "filtername",
  8206. "in": "query"
  8207. },
  8208. {
  8209. "type": "integer",
  8210. "description": "是否包含子级 1-包含",
  8211. "name": "includesub",
  8212. "in": "query"
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8222. }
  8223. }
  8224. },
  8225. "500": {
  8226. "description": "Internal Server Error",
  8227. "schema": {
  8228. "$ref": "#/definitions/app.Response"
  8229. }
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/QhjMgr/QueryBrokerRewardReport": {
  8235. "get": {
  8236. "security": [
  8237. {
  8238. "ApiKeyAuth": []
  8239. }
  8240. ],
  8241. "produces": [
  8242. "application/json"
  8243. ],
  8244. "tags": [
  8245. "大连千海金(PCWeb)"
  8246. ],
  8247. "summary": "查询经纪人奖励报表(废弃)",
  8248. "parameters": [
  8249. {
  8250. "type": "integer",
  8251. "description": "所属机构ID",
  8252. "name": "userid",
  8253. "in": "query",
  8254. "required": true
  8255. },
  8256. {
  8257. "type": "integer",
  8258. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8259. "name": "cycletype",
  8260. "in": "query",
  8261. "required": true
  8262. },
  8263. {
  8264. "type": "string",
  8265. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8266. "name": "cycletime",
  8267. "in": "query",
  8268. "required": true
  8269. },
  8270. {
  8271. "type": "string",
  8272. "description": "名称(模糊匹配)",
  8273. "name": "filtername",
  8274. "in": "query"
  8275. },
  8276. {
  8277. "type": "integer",
  8278. "description": "是否包含子级 1-包含",
  8279. "name": "includesub",
  8280. "in": "query"
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8290. }
  8291. }
  8292. },
  8293. "500": {
  8294. "description": "Internal Server Error",
  8295. "schema": {
  8296. "$ref": "#/definitions/app.Response"
  8297. }
  8298. }
  8299. }
  8300. }
  8301. },
  8302. "/QhjMgr/QueryContract": {
  8303. "get": {
  8304. "security": [
  8305. {
  8306. "ApiKeyAuth": []
  8307. }
  8308. ],
  8309. "produces": [
  8310. "application/json"
  8311. ],
  8312. "tags": [
  8313. "大连千海金(PCWeb)"
  8314. ],
  8315. "summary": "查询融资信息(合同)",
  8316. "parameters": [
  8317. {
  8318. "type": "integer",
  8319. "description": "用户ID",
  8320. "name": "userid",
  8321. "in": "query"
  8322. },
  8323. {
  8324. "type": "integer",
  8325. "description": "商品id",
  8326. "name": "goodsid",
  8327. "in": "query"
  8328. },
  8329. {
  8330. "type": "string",
  8331. "description": "名称(模糊搜索账户)",
  8332. "name": "filtername",
  8333. "in": "query"
  8334. },
  8335. {
  8336. "type": "string",
  8337. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8338. "name": "risklevel",
  8339. "in": "query"
  8340. },
  8341. {
  8342. "type": "string",
  8343. "description": "开始交易日(yyyymmdd)",
  8344. "name": "begindate",
  8345. "in": "query"
  8346. },
  8347. {
  8348. "type": "string",
  8349. "description": "结束交易日(yyyymmdd)",
  8350. "name": "enddate",
  8351. "in": "query"
  8352. }
  8353. ],
  8354. "responses": {
  8355. "200": {
  8356. "description": "OK",
  8357. "schema": {
  8358. "type": "array",
  8359. "items": {
  8360. "$ref": "#/definitions/models.QhjMgrContract"
  8361. }
  8362. }
  8363. },
  8364. "500": {
  8365. "description": "Internal Server Error",
  8366. "schema": {
  8367. "$ref": "#/definitions/app.Response"
  8368. }
  8369. }
  8370. }
  8371. }
  8372. },
  8373. "/QhjMgr/QueryCustomerInfo": {
  8374. "get": {
  8375. "security": [
  8376. {
  8377. "ApiKeyAuth": []
  8378. }
  8379. ],
  8380. "produces": [
  8381. "application/json"
  8382. ],
  8383. "tags": [
  8384. "大连千海金(PCWeb)"
  8385. ],
  8386. "summary": "查询客户资料",
  8387. "parameters": [
  8388. {
  8389. "type": "integer",
  8390. "description": "用户ID",
  8391. "name": "userid",
  8392. "in": "query",
  8393. "required": true
  8394. },
  8395. {
  8396. "type": "integer",
  8397. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8398. "name": "querytype",
  8399. "in": "query",
  8400. "required": true
  8401. },
  8402. {
  8403. "type": "integer",
  8404. "description": "客户类型 1-个人 2-企业",
  8405. "name": "userinfotype",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "客户名称(模糊匹配)",
  8411. "name": "customername",
  8412. "in": "query"
  8413. },
  8414. {
  8415. "type": "string",
  8416. "description": "昵称(模糊匹配)",
  8417. "name": "nickname",
  8418. "in": "query"
  8419. },
  8420. {
  8421. "type": "integer",
  8422. "description": "是否包含子级 1-包含",
  8423. "name": "includesub",
  8424. "in": "query"
  8425. }
  8426. ],
  8427. "responses": {
  8428. "200": {
  8429. "description": "OK",
  8430. "schema": {
  8431. "type": "array",
  8432. "items": {
  8433. "$ref": "#/definitions/models.QhjMgrCustomer"
  8434. }
  8435. }
  8436. },
  8437. "500": {
  8438. "description": "Internal Server Error",
  8439. "schema": {
  8440. "$ref": "#/definitions/app.Response"
  8441. }
  8442. }
  8443. }
  8444. }
  8445. },
  8446. "/QhjMgr/QueryPickGoods": {
  8447. "get": {
  8448. "security": [
  8449. {
  8450. "ApiKeyAuth": []
  8451. }
  8452. ],
  8453. "produces": [
  8454. "application/json"
  8455. ],
  8456. "tags": [
  8457. "大连千海金(PCWeb)"
  8458. ],
  8459. "summary": "查询提货商品",
  8460. "parameters": [
  8461. {
  8462. "type": "string",
  8463. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8464. "name": "status",
  8465. "in": "query"
  8466. }
  8467. ],
  8468. "responses": {
  8469. "200": {
  8470. "description": "OK",
  8471. "schema": {
  8472. "type": "array",
  8473. "items": {
  8474. "$ref": "#/definitions/models.QhjPickGoods"
  8475. }
  8476. }
  8477. },
  8478. "500": {
  8479. "description": "Internal Server Error",
  8480. "schema": {
  8481. "$ref": "#/definitions/app.Response"
  8482. }
  8483. }
  8484. }
  8485. }
  8486. },
  8487. "/QhjMgr/QuerySubArea": {
  8488. "get": {
  8489. "security": [
  8490. {
  8491. "ApiKeyAuth": []
  8492. }
  8493. ],
  8494. "produces": [
  8495. "application/json"
  8496. ],
  8497. "tags": [
  8498. "大连千海金(PCWeb)"
  8499. ],
  8500. "summary": "查询子机构列表",
  8501. "parameters": [
  8502. {
  8503. "type": "integer",
  8504. "description": "用户ID",
  8505. "name": "userid",
  8506. "in": "query",
  8507. "required": true
  8508. }
  8509. ],
  8510. "responses": {
  8511. "200": {
  8512. "description": "OK",
  8513. "schema": {
  8514. "type": "array",
  8515. "items": {
  8516. "$ref": "#/definitions/models.QhjMgrSubArea"
  8517. }
  8518. }
  8519. },
  8520. "500": {
  8521. "description": "Internal Server Error",
  8522. "schema": {
  8523. "$ref": "#/definitions/app.Response"
  8524. }
  8525. }
  8526. }
  8527. }
  8528. },
  8529. "/QhjMgr/QueryTradeDetail": {
  8530. "get": {
  8531. "security": [
  8532. {
  8533. "ApiKeyAuth": []
  8534. }
  8535. ],
  8536. "produces": [
  8537. "application/json"
  8538. ],
  8539. "tags": [
  8540. "大连千海金(PCWeb)"
  8541. ],
  8542. "summary": "查询成交明细",
  8543. "parameters": [
  8544. {
  8545. "type": "integer",
  8546. "description": "用户ID",
  8547. "name": "userid",
  8548. "in": "query",
  8549. "required": true
  8550. },
  8551. {
  8552. "type": "integer",
  8553. "description": "用户类型 1-个人 2-企业",
  8554. "name": "userinfotype",
  8555. "in": "query"
  8556. },
  8557. {
  8558. "type": "integer",
  8559. "description": "交易模式",
  8560. "name": "trademode",
  8561. "in": "query"
  8562. },
  8563. {
  8564. "type": "integer",
  8565. "description": "商品id",
  8566. "name": "goodsid",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "名称(模糊搜索账户)",
  8572. "name": "filtername",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "string",
  8577. "description": "开始交易日(yyyymmdd)",
  8578. "name": "begindate",
  8579. "in": "query"
  8580. },
  8581. {
  8582. "type": "string",
  8583. "description": "结束交易日(yyyymmdd)",
  8584. "name": "enddate",
  8585. "in": "query"
  8586. },
  8587. {
  8588. "type": "integer",
  8589. "description": "是否包含子级 1-包含",
  8590. "name": "includesub",
  8591. "in": "query"
  8592. }
  8593. ],
  8594. "responses": {
  8595. "200": {
  8596. "description": "OK",
  8597. "schema": {
  8598. "type": "array",
  8599. "items": {
  8600. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8601. }
  8602. }
  8603. },
  8604. "500": {
  8605. "description": "Internal Server Error",
  8606. "schema": {
  8607. "$ref": "#/definitions/app.Response"
  8608. }
  8609. }
  8610. }
  8611. }
  8612. },
  8613. "/QhjMgr/QueryTradeOrderDetail": {
  8614. "get": {
  8615. "security": [
  8616. {
  8617. "ApiKeyAuth": []
  8618. }
  8619. ],
  8620. "produces": [
  8621. "application/json"
  8622. ],
  8623. "tags": [
  8624. "大连千海金(PCWeb)"
  8625. ],
  8626. "summary": "查询委托明细",
  8627. "parameters": [
  8628. {
  8629. "type": "integer",
  8630. "description": "用户ID",
  8631. "name": "userid",
  8632. "in": "query",
  8633. "required": true
  8634. },
  8635. {
  8636. "type": "integer",
  8637. "description": "用户类型 1-个人 2-企业",
  8638. "name": "userinfotype",
  8639. "in": "query"
  8640. },
  8641. {
  8642. "type": "integer",
  8643. "description": "交易模式",
  8644. "name": "trademode",
  8645. "in": "query"
  8646. },
  8647. {
  8648. "type": "integer",
  8649. "description": "商品id",
  8650. "name": "goodsid",
  8651. "in": "query"
  8652. },
  8653. {
  8654. "type": "string",
  8655. "description": "名称(模糊搜索账户)",
  8656. "name": "filtername",
  8657. "in": "query"
  8658. },
  8659. {
  8660. "type": "string",
  8661. "description": "开始交易日(yyyymmdd)",
  8662. "name": "begindate",
  8663. "in": "query"
  8664. },
  8665. {
  8666. "type": "string",
  8667. "description": "结束交易日(yyyymmdd)",
  8668. "name": "enddate",
  8669. "in": "query"
  8670. },
  8671. {
  8672. "type": "integer",
  8673. "description": "是否包含子级 1-包含",
  8674. "name": "includesub",
  8675. "in": "query"
  8676. }
  8677. ],
  8678. "responses": {
  8679. "200": {
  8680. "description": "OK",
  8681. "schema": {
  8682. "type": "array",
  8683. "items": {
  8684. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8685. }
  8686. }
  8687. },
  8688. "500": {
  8689. "description": "Internal Server Error",
  8690. "schema": {
  8691. "$ref": "#/definitions/app.Response"
  8692. }
  8693. }
  8694. }
  8695. }
  8696. },
  8697. "/QhjMgr/QueryTradePayOrder": {
  8698. "get": {
  8699. "security": [
  8700. {
  8701. "ApiKeyAuth": []
  8702. }
  8703. ],
  8704. "produces": [
  8705. "application/json"
  8706. ],
  8707. "tags": [
  8708. "大连千海金(PCWeb)"
  8709. ],
  8710. "summary": "查询待付款单",
  8711. "parameters": [
  8712. {
  8713. "type": "integer",
  8714. "description": "用户ID",
  8715. "name": "userid",
  8716. "in": "query",
  8717. "required": true
  8718. },
  8719. {
  8720. "type": "string",
  8721. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8722. "name": "payflag",
  8723. "in": "query"
  8724. },
  8725. {
  8726. "type": "integer",
  8727. "description": "用户类型 1-个人 2-企业",
  8728. "name": "userinfotype",
  8729. "in": "query"
  8730. },
  8731. {
  8732. "type": "integer",
  8733. "description": "交易模式",
  8734. "name": "trademode",
  8735. "in": "query"
  8736. },
  8737. {
  8738. "type": "integer",
  8739. "description": "商品id",
  8740. "name": "goodsid",
  8741. "in": "query"
  8742. },
  8743. {
  8744. "type": "string",
  8745. "description": "名称(模糊搜索账户)",
  8746. "name": "filtername",
  8747. "in": "query"
  8748. },
  8749. {
  8750. "type": "string",
  8751. "description": "开始交易日(yyyymmdd)",
  8752. "name": "begindate",
  8753. "in": "query"
  8754. },
  8755. {
  8756. "type": "string",
  8757. "description": "结束交易日(yyyymmdd)",
  8758. "name": "enddate",
  8759. "in": "query"
  8760. },
  8761. {
  8762. "type": "integer",
  8763. "description": "是否包含子级 1-包含",
  8764. "name": "includesub",
  8765. "in": "query"
  8766. }
  8767. ],
  8768. "responses": {
  8769. "200": {
  8770. "description": "OK",
  8771. "schema": {
  8772. "type": "array",
  8773. "items": {
  8774. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8775. }
  8776. }
  8777. },
  8778. "500": {
  8779. "description": "Internal Server Error",
  8780. "schema": {
  8781. "$ref": "#/definitions/app.Response"
  8782. }
  8783. }
  8784. }
  8785. }
  8786. },
  8787. "/QhjMgr/QueryTradePosition": {
  8788. "get": {
  8789. "security": [
  8790. {
  8791. "ApiKeyAuth": []
  8792. }
  8793. ],
  8794. "produces": [
  8795. "application/json"
  8796. ],
  8797. "tags": [
  8798. "大连千海金(PCWeb)"
  8799. ],
  8800. "summary": "查询持仓汇总",
  8801. "parameters": [
  8802. {
  8803. "type": "integer",
  8804. "description": "用户ID",
  8805. "name": "userid",
  8806. "in": "query",
  8807. "required": true
  8808. },
  8809. {
  8810. "type": "integer",
  8811. "description": "用户类型 1-个人 2-企业",
  8812. "name": "userinfotype",
  8813. "in": "query"
  8814. },
  8815. {
  8816. "type": "integer",
  8817. "description": "交易模式",
  8818. "name": "trademode",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "integer",
  8823. "description": "商品id",
  8824. "name": "goodsid",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "string",
  8829. "description": "名称(模糊搜索账户)",
  8830. "name": "filtername",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "是否包含子级 1-包含",
  8836. "name": "includesub",
  8837. "in": "query"
  8838. }
  8839. ],
  8840. "responses": {
  8841. "200": {
  8842. "description": "OK",
  8843. "schema": {
  8844. "type": "array",
  8845. "items": {
  8846. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8847. }
  8848. }
  8849. },
  8850. "500": {
  8851. "description": "Internal Server Error",
  8852. "schema": {
  8853. "$ref": "#/definitions/app.Response"
  8854. }
  8855. }
  8856. }
  8857. }
  8858. },
  8859. "/QhjSys/QueryAgreementChangeLog": {
  8860. "get": {
  8861. "security": [
  8862. {
  8863. "ApiKeyAuth": []
  8864. }
  8865. ],
  8866. "produces": [
  8867. "application/json"
  8868. ],
  8869. "tags": [
  8870. "大连千海金(协议和签约信息)"
  8871. ],
  8872. "summary": "查询协议配置变更流水",
  8873. "parameters": [
  8874. {
  8875. "type": "integer",
  8876. "description": "协议ID",
  8877. "name": "agreementid",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "协议版本号",
  8883. "name": "agreementversion",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "integer",
  8888. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8889. "name": "agreementtype",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "协议编号(模糊匹配)",
  8895. "name": "agreementno",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "string",
  8900. "description": "协议名称(模糊匹配)",
  8901. "name": "agreementname",
  8902. "in": "query"
  8903. }
  8904. ],
  8905. "responses": {
  8906. "200": {
  8907. "description": "OK",
  8908. "schema": {
  8909. "type": "array",
  8910. "items": {
  8911. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  8912. }
  8913. }
  8914. },
  8915. "500": {
  8916. "description": "Internal Server Error",
  8917. "schema": {
  8918. "$ref": "#/definitions/app.Response"
  8919. }
  8920. }
  8921. }
  8922. }
  8923. },
  8924. "/QhjSys/QueryAgreementConfig": {
  8925. "get": {
  8926. "security": [
  8927. {
  8928. "ApiKeyAuth": []
  8929. }
  8930. ],
  8931. "produces": [
  8932. "application/json"
  8933. ],
  8934. "tags": [
  8935. "大连千海金(协议和签约信息)"
  8936. ],
  8937. "summary": "查询协议配置",
  8938. "parameters": [
  8939. {
  8940. "type": "integer",
  8941. "description": "协议ID",
  8942. "name": "agreementid",
  8943. "in": "query"
  8944. },
  8945. {
  8946. "type": "integer",
  8947. "description": "协议版本号",
  8948. "name": "agreementversion",
  8949. "in": "query"
  8950. },
  8951. {
  8952. "type": "integer",
  8953. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8954. "name": "agreementtype",
  8955. "in": "query"
  8956. },
  8957. {
  8958. "type": "integer",
  8959. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  8960. "name": "isvalid",
  8961. "in": "query"
  8962. },
  8963. {
  8964. "type": "string",
  8965. "description": "协议编号(模糊匹配)",
  8966. "name": "agreementno",
  8967. "in": "query"
  8968. },
  8969. {
  8970. "type": "string",
  8971. "description": "协议名称(模糊匹配)",
  8972. "name": "agreementname",
  8973. "in": "query"
  8974. }
  8975. ],
  8976. "responses": {
  8977. "200": {
  8978. "description": "OK",
  8979. "schema": {
  8980. "type": "array",
  8981. "items": {
  8982. "$ref": "#/definitions/models.QhjAgreementConfig"
  8983. }
  8984. }
  8985. },
  8986. "500": {
  8987. "description": "Internal Server Error",
  8988. "schema": {
  8989. "$ref": "#/definitions/app.Response"
  8990. }
  8991. }
  8992. }
  8993. }
  8994. },
  8995. "/QhjSys/QueryCustomerSignStatus": {
  8996. "get": {
  8997. "security": [
  8998. {
  8999. "ApiKeyAuth": []
  9000. }
  9001. ],
  9002. "produces": [
  9003. "application/json"
  9004. ],
  9005. "tags": [
  9006. "大连千海金(协议和签约信息)"
  9007. ],
  9008. "summary": "查询客户协议签约状态",
  9009. "parameters": [
  9010. {
  9011. "type": "integer",
  9012. "description": "客户ID",
  9013. "name": "userid",
  9014. "in": "query"
  9015. },
  9016. {
  9017. "type": "integer",
  9018. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9019. "name": "nodetype",
  9020. "in": "query"
  9021. },
  9022. {
  9023. "type": "integer",
  9024. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9025. "name": "goodsid",
  9026. "in": "query"
  9027. },
  9028. {
  9029. "type": "string",
  9030. "description": "创建交易日(yyyyMMdd)",
  9031. "name": "tradedate",
  9032. "in": "query"
  9033. },
  9034. {
  9035. "type": "string",
  9036. "description": "用户名称(模糊匹配)",
  9037. "name": "username",
  9038. "in": "query"
  9039. }
  9040. ],
  9041. "responses": {
  9042. "200": {
  9043. "description": "OK",
  9044. "schema": {
  9045. "type": "array",
  9046. "items": {
  9047. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9048. }
  9049. }
  9050. },
  9051. "500": {
  9052. "description": "Internal Server Error",
  9053. "schema": {
  9054. "$ref": "#/definitions/app.Response"
  9055. }
  9056. }
  9057. }
  9058. }
  9059. },
  9060. "/QhjSys/QueryNodeAgreementConfig": {
  9061. "get": {
  9062. "security": [
  9063. {
  9064. "ApiKeyAuth": []
  9065. }
  9066. ],
  9067. "produces": [
  9068. "application/json"
  9069. ],
  9070. "tags": [
  9071. "大连千海金(协议和签约信息)"
  9072. ],
  9073. "summary": "查询协议节点配置",
  9074. "parameters": [
  9075. {
  9076. "type": "integer",
  9077. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9078. "name": "configid",
  9079. "in": "query"
  9080. },
  9081. {
  9082. "type": "integer",
  9083. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9084. "name": "nodetype",
  9085. "in": "query"
  9086. },
  9087. {
  9088. "type": "integer",
  9089. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9090. "name": "goodsid",
  9091. "in": "query"
  9092. },
  9093. {
  9094. "type": "integer",
  9095. "description": "协议ID",
  9096. "name": "agreementid",
  9097. "in": "query"
  9098. },
  9099. {
  9100. "type": "integer",
  9101. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9102. "name": "agreementtype",
  9103. "in": "query"
  9104. },
  9105. {
  9106. "type": "integer",
  9107. "description": "协议版本号",
  9108. "name": "agreementversion",
  9109. "in": "query"
  9110. },
  9111. {
  9112. "type": "string",
  9113. "description": "协议编号(模糊匹配)",
  9114. "name": "agreementno",
  9115. "in": "query"
  9116. },
  9117. {
  9118. "type": "string",
  9119. "description": "协议名称(模糊匹配)",
  9120. "name": "agreementname",
  9121. "in": "query"
  9122. }
  9123. ],
  9124. "responses": {
  9125. "200": {
  9126. "description": "OK",
  9127. "schema": {
  9128. "type": "array",
  9129. "items": {
  9130. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9131. }
  9132. }
  9133. },
  9134. "500": {
  9135. "description": "Internal Server Error",
  9136. "schema": {
  9137. "$ref": "#/definitions/app.Response"
  9138. }
  9139. }
  9140. }
  9141. }
  9142. },
  9143. "/QhjSys/QueryQhjCustomerSignLog": {
  9144. "get": {
  9145. "security": [
  9146. {
  9147. "ApiKeyAuth": []
  9148. }
  9149. ],
  9150. "produces": [
  9151. "application/json"
  9152. ],
  9153. "tags": [
  9154. "大连千海金(协议和签约信息)"
  9155. ],
  9156. "summary": "查询客户协议签约流水",
  9157. "parameters": [
  9158. {
  9159. "type": "integer",
  9160. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9161. "name": "logid",
  9162. "in": "query"
  9163. },
  9164. {
  9165. "type": "integer",
  9166. "description": "客户ID",
  9167. "name": "userid",
  9168. "in": "query"
  9169. },
  9170. {
  9171. "type": "integer",
  9172. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9173. "name": "nodetype",
  9174. "in": "query"
  9175. },
  9176. {
  9177. "type": "integer",
  9178. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9179. "name": "goodsid",
  9180. "in": "query"
  9181. },
  9182. {
  9183. "type": "integer",
  9184. "description": "协议ID",
  9185. "name": "agreementid",
  9186. "in": "query"
  9187. },
  9188. {
  9189. "type": "string",
  9190. "description": "用户名称(模糊匹配)",
  9191. "name": "username",
  9192. "in": "query"
  9193. },
  9194. {
  9195. "type": "string",
  9196. "description": "协议编号(模糊匹配)",
  9197. "name": "agreementno",
  9198. "in": "query"
  9199. },
  9200. {
  9201. "type": "string",
  9202. "description": "协议名称(模糊匹配)",
  9203. "name": "agreementname",
  9204. "in": "query"
  9205. }
  9206. ],
  9207. "responses": {
  9208. "200": {
  9209. "description": "OK",
  9210. "schema": {
  9211. "type": "array",
  9212. "items": {
  9213. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9214. }
  9215. }
  9216. },
  9217. "500": {
  9218. "description": "Internal Server Error",
  9219. "schema": {
  9220. "$ref": "#/definitions/app.Response"
  9221. }
  9222. }
  9223. }
  9224. }
  9225. },
  9226. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9227. "get": {
  9228. "security": [
  9229. {
  9230. "ApiKeyAuth": []
  9231. }
  9232. ],
  9233. "produces": [
  9234. "application/json"
  9235. ],
  9236. "tags": [
  9237. "大连千海金(协议和签约信息)"
  9238. ],
  9239. "summary": "查询用户协议节点配置和状态",
  9240. "parameters": [
  9241. {
  9242. "type": "integer",
  9243. "description": "客户ID",
  9244. "name": "userid",
  9245. "in": "query"
  9246. },
  9247. {
  9248. "type": "integer",
  9249. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9250. "name": "configid",
  9251. "in": "query"
  9252. },
  9253. {
  9254. "type": "string",
  9255. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9256. "name": "nodetype",
  9257. "in": "query"
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9262. "name": "goodsid",
  9263. "in": "query"
  9264. },
  9265. {
  9266. "type": "integer",
  9267. "description": "协议ID",
  9268. "name": "agreementid",
  9269. "in": "query"
  9270. },
  9271. {
  9272. "type": "integer",
  9273. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9274. "name": "agreementtype",
  9275. "in": "query"
  9276. },
  9277. {
  9278. "type": "integer",
  9279. "description": "协议版本号",
  9280. "name": "agreementversion",
  9281. "in": "query"
  9282. },
  9283. {
  9284. "type": "string",
  9285. "description": "协议编号(模糊匹配)",
  9286. "name": "agreementno",
  9287. "in": "query"
  9288. },
  9289. {
  9290. "type": "string",
  9291. "description": "协议名称(模糊匹配)",
  9292. "name": "agreementname",
  9293. "in": "query"
  9294. }
  9295. ],
  9296. "responses": {
  9297. "200": {
  9298. "description": "OK",
  9299. "schema": {
  9300. "type": "array",
  9301. "items": {
  9302. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9303. }
  9304. }
  9305. },
  9306. "500": {
  9307. "description": "Internal Server Error",
  9308. "schema": {
  9309. "$ref": "#/definitions/app.Response"
  9310. }
  9311. }
  9312. }
  9313. }
  9314. },
  9315. "/Quote/QueryHistoryDatas": {
  9316. "get": {
  9317. "security": [
  9318. {
  9319. "ApiKeyAuth": []
  9320. }
  9321. ],
  9322. "produces": [
  9323. "application/json"
  9324. ],
  9325. "tags": [
  9326. "行情服务"
  9327. ],
  9328. "summary": "查询行情历史数据",
  9329. "parameters": [
  9330. {
  9331. "type": "integer",
  9332. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9333. "name": "cycleType",
  9334. "in": "query",
  9335. "required": true
  9336. },
  9337. {
  9338. "type": "string",
  9339. "description": "商品代码",
  9340. "name": "goodsCode",
  9341. "in": "query",
  9342. "required": true
  9343. },
  9344. {
  9345. "type": "string",
  9346. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9347. "name": "startTime",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "string",
  9352. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9353. "name": "endTime",
  9354. "in": "query"
  9355. },
  9356. {
  9357. "type": "integer",
  9358. "description": "条数",
  9359. "name": "count",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "boolean",
  9364. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9365. "name": "isAsc",
  9366. "in": "query"
  9367. }
  9368. ],
  9369. "responses": {
  9370. "200": {
  9371. "description": "OK",
  9372. "schema": {
  9373. "$ref": "#/definitions/quote.HistoryData"
  9374. }
  9375. },
  9376. "500": {
  9377. "description": "Internal Server Error",
  9378. "schema": {
  9379. "$ref": "#/definitions/app.Response"
  9380. }
  9381. }
  9382. }
  9383. }
  9384. },
  9385. "/Quote/QueryHistoryTikDatas": {
  9386. "get": {
  9387. "security": [
  9388. {
  9389. "ApiKeyAuth": []
  9390. }
  9391. ],
  9392. "produces": [
  9393. "application/json"
  9394. ],
  9395. "tags": [
  9396. "行情服务"
  9397. ],
  9398. "summary": "查询行情Tik数据",
  9399. "parameters": [
  9400. {
  9401. "type": "string",
  9402. "description": "商品代码",
  9403. "name": "goodsCode",
  9404. "in": "query",
  9405. "required": true
  9406. },
  9407. {
  9408. "type": "string",
  9409. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9410. "name": "startTime",
  9411. "in": "query"
  9412. },
  9413. {
  9414. "type": "string",
  9415. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9416. "name": "endTime",
  9417. "in": "query"
  9418. },
  9419. {
  9420. "type": "integer",
  9421. "description": "条数",
  9422. "name": "count",
  9423. "in": "query"
  9424. },
  9425. {
  9426. "type": "boolean",
  9427. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9428. "name": "isAsc",
  9429. "in": "query"
  9430. }
  9431. ],
  9432. "responses": {
  9433. "200": {
  9434. "description": "OK",
  9435. "schema": {
  9436. "$ref": "#/definitions/quote.HistoryTikData"
  9437. }
  9438. },
  9439. "500": {
  9440. "description": "Internal Server Error",
  9441. "schema": {
  9442. "$ref": "#/definitions/app.Response"
  9443. }
  9444. }
  9445. }
  9446. }
  9447. },
  9448. "/Quote/QueryQuoteDay": {
  9449. "get": {
  9450. "security": [
  9451. {
  9452. "ApiKeyAuth": []
  9453. }
  9454. ],
  9455. "produces": [
  9456. "application/json"
  9457. ],
  9458. "tags": [
  9459. "行情服务"
  9460. ],
  9461. "summary": "获取商品盘面信息",
  9462. "parameters": [
  9463. {
  9464. "type": "string",
  9465. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9466. "name": "goodsCodes",
  9467. "in": "query",
  9468. "required": true
  9469. }
  9470. ],
  9471. "responses": {
  9472. "200": {
  9473. "description": "OK",
  9474. "schema": {
  9475. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9476. }
  9477. },
  9478. "500": {
  9479. "description": "Internal Server Error",
  9480. "schema": {
  9481. "$ref": "#/definitions/app.Response"
  9482. }
  9483. }
  9484. }
  9485. }
  9486. },
  9487. "/Quote/QueryTSData": {
  9488. "get": {
  9489. "security": [
  9490. {
  9491. "ApiKeyAuth": []
  9492. }
  9493. ],
  9494. "produces": [
  9495. "application/json"
  9496. ],
  9497. "tags": [
  9498. "行情服务"
  9499. ],
  9500. "summary": "分时图数据查询",
  9501. "parameters": [
  9502. {
  9503. "type": "string",
  9504. "description": "商品代码",
  9505. "name": "goodsCode",
  9506. "in": "query",
  9507. "required": true
  9508. }
  9509. ],
  9510. "responses": {
  9511. "200": {
  9512. "description": "OK",
  9513. "schema": {
  9514. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9515. }
  9516. },
  9517. "500": {
  9518. "description": "Internal Server Error",
  9519. "schema": {
  9520. "$ref": "#/definitions/app.Response"
  9521. }
  9522. }
  9523. }
  9524. }
  9525. },
  9526. "/SZDZ/QueryConvertConfig": {
  9527. "get": {
  9528. "security": [
  9529. {
  9530. "ApiKeyAuth": []
  9531. }
  9532. ],
  9533. "produces": [
  9534. "application/json"
  9535. ],
  9536. "tags": [
  9537. "定制【尚志大宗】"
  9538. ],
  9539. "summary": "查询交易系统转换设置",
  9540. "parameters": [
  9541. {
  9542. "type": "integer",
  9543. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9544. "name": "convertType",
  9545. "in": "query"
  9546. },
  9547. {
  9548. "type": "string",
  9549. "description": "外部商品代码[JD\\PD]",
  9550. "name": "outerGoodsCode",
  9551. "in": "query"
  9552. },
  9553. {
  9554. "type": "string",
  9555. "description": "内部商品ID列表[交易],格式:1,2,3",
  9556. "name": "innerGoodsIDs",
  9557. "in": "query"
  9558. }
  9559. ],
  9560. "responses": {
  9561. "200": {
  9562. "description": "OK",
  9563. "schema": {
  9564. "$ref": "#/definitions/models.Szdz3convertconfig"
  9565. }
  9566. },
  9567. "500": {
  9568. "description": "Internal Server Error",
  9569. "schema": {
  9570. "$ref": "#/definitions/app.Response"
  9571. }
  9572. }
  9573. }
  9574. }
  9575. },
  9576. "/SZDZ/QueryConvertLog": {
  9577. "get": {
  9578. "security": [
  9579. {
  9580. "ApiKeyAuth": []
  9581. }
  9582. ],
  9583. "produces": [
  9584. "application/json"
  9585. ],
  9586. "tags": [
  9587. "定制【尚志大宗】"
  9588. ],
  9589. "summary": "交易系统转换流水查询",
  9590. "parameters": [
  9591. {
  9592. "type": "string",
  9593. "description": "资金账户 - 格式:1,2,3",
  9594. "name": "accountID",
  9595. "in": "query",
  9596. "required": true
  9597. },
  9598. {
  9599. "type": "string",
  9600. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9601. "name": "startDate",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "string",
  9606. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9607. "name": "endDate",
  9608. "in": "query"
  9609. }
  9610. ],
  9611. "responses": {
  9612. "200": {
  9613. "description": "OK",
  9614. "schema": {
  9615. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9616. }
  9617. },
  9618. "500": {
  9619. "description": "Internal Server Error",
  9620. "schema": {
  9621. "$ref": "#/definitions/app.Response"
  9622. }
  9623. }
  9624. }
  9625. }
  9626. },
  9627. "/SZDZ/QueryGoodsPickup": {
  9628. "get": {
  9629. "security": [
  9630. {
  9631. "ApiKeyAuth": []
  9632. }
  9633. ],
  9634. "produces": [
  9635. "application/json"
  9636. ],
  9637. "tags": [
  9638. "定制【尚志大宗】"
  9639. ],
  9640. "summary": "商品提货单查询",
  9641. "parameters": [
  9642. {
  9643. "type": "string",
  9644. "description": "资金账户 - 格式:1,2,3",
  9645. "name": "accountID",
  9646. "in": "query",
  9647. "required": true
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9652. "name": "takeOrderStatus",
  9653. "in": "query"
  9654. }
  9655. ],
  9656. "responses": {
  9657. "200": {
  9658. "description": "OK",
  9659. "schema": {
  9660. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9661. }
  9662. },
  9663. "500": {
  9664. "description": "Internal Server Error",
  9665. "schema": {
  9666. "$ref": "#/definitions/app.Response"
  9667. }
  9668. }
  9669. }
  9670. }
  9671. },
  9672. "/SZDZ/QueryRecieptOrder": {
  9673. "get": {
  9674. "security": [
  9675. {
  9676. "ApiKeyAuth": []
  9677. }
  9678. ],
  9679. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9680. "produces": [
  9681. "application/json"
  9682. ],
  9683. "tags": [
  9684. "定制【尚志大宗】"
  9685. ],
  9686. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9687. "parameters": [
  9688. {
  9689. "type": "integer",
  9690. "description": "页码",
  9691. "name": "page",
  9692. "in": "query"
  9693. },
  9694. {
  9695. "type": "integer",
  9696. "description": "每页条数",
  9697. "name": "pagesize",
  9698. "in": "query"
  9699. },
  9700. {
  9701. "type": "integer",
  9702. "description": "商品ID",
  9703. "name": "goodsID",
  9704. "in": "query",
  9705. "required": true
  9706. },
  9707. {
  9708. "type": "string",
  9709. "description": "所属账户名称",
  9710. "name": "accountName",
  9711. "in": "query"
  9712. },
  9713. {
  9714. "type": "integer",
  9715. "description": "市场ID",
  9716. "name": "marketID",
  9717. "in": "query"
  9718. },
  9719. {
  9720. "type": "integer",
  9721. "description": "方向 - 0:买 1:卖",
  9722. "name": "buyorsell",
  9723. "in": "query",
  9724. "required": true
  9725. }
  9726. ],
  9727. "responses": {
  9728. "200": {
  9729. "description": "OK",
  9730. "schema": {
  9731. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9732. }
  9733. },
  9734. "500": {
  9735. "description": "Internal Server Error",
  9736. "schema": {
  9737. "$ref": "#/definitions/app.Response"
  9738. }
  9739. }
  9740. }
  9741. }
  9742. },
  9743. "/SZDZ/QuerySZDZTradePosition": {
  9744. "get": {
  9745. "security": [
  9746. {
  9747. "ApiKeyAuth": []
  9748. }
  9749. ],
  9750. "produces": [
  9751. "application/json"
  9752. ],
  9753. "tags": [
  9754. "定制【尚志大宗】"
  9755. ],
  9756. "summary": "持仓汇总查询(尚志大宗)",
  9757. "parameters": [
  9758. {
  9759. "type": "integer",
  9760. "description": "资金账户",
  9761. "name": "accountID",
  9762. "in": "query",
  9763. "required": true
  9764. }
  9765. ],
  9766. "responses": {
  9767. "200": {
  9768. "description": "OK",
  9769. "schema": {
  9770. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9771. }
  9772. },
  9773. "500": {
  9774. "description": "Internal Server Error",
  9775. "schema": {
  9776. "$ref": "#/definitions/app.Response"
  9777. }
  9778. }
  9779. }
  9780. }
  9781. },
  9782. "/SZDZ/SearchWhite": {
  9783. "get": {
  9784. "security": [
  9785. {
  9786. "ApiKeyAuth": []
  9787. }
  9788. ],
  9789. "produces": [
  9790. "application/json"
  9791. ],
  9792. "tags": [
  9793. "定制【尚志大宗】"
  9794. ],
  9795. "summary": "搜索白名单",
  9796. "parameters": [
  9797. {
  9798. "type": "integer",
  9799. "description": "用户ID",
  9800. "name": "userID",
  9801. "in": "query",
  9802. "required": true
  9803. }
  9804. ],
  9805. "responses": {
  9806. "200": {
  9807. "description": "OK",
  9808. "schema": {
  9809. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9810. }
  9811. },
  9812. "500": {
  9813. "description": "Internal Server Error",
  9814. "schema": {
  9815. "$ref": "#/definitions/app.Response"
  9816. }
  9817. }
  9818. }
  9819. }
  9820. },
  9821. "/Search/SearchGoodses": {
  9822. "get": {
  9823. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9824. "produces": [
  9825. "application/json"
  9826. ],
  9827. "tags": [
  9828. "检索服务"
  9829. ],
  9830. "summary": "检索商品信息",
  9831. "parameters": [
  9832. {
  9833. "type": "string",
  9834. "description": "检索内容",
  9835. "name": "content",
  9836. "in": "query",
  9837. "required": true
  9838. },
  9839. {
  9840. "type": "string",
  9841. "description": "交易模式,格式:1,2,3",
  9842. "name": "tradeModes",
  9843. "in": "query"
  9844. }
  9845. ],
  9846. "responses": {
  9847. "200": {
  9848. "description": "OK",
  9849. "schema": {
  9850. "$ref": "#/definitions/models.SearchGoods"
  9851. }
  9852. },
  9853. "500": {
  9854. "description": "Internal Server Error",
  9855. "schema": {
  9856. "$ref": "#/definitions/app.Response"
  9857. }
  9858. }
  9859. }
  9860. }
  9861. },
  9862. "/TaAccount/GetTaAccounts": {
  9863. "get": {
  9864. "security": [
  9865. {
  9866. "ApiKeyAuth": []
  9867. }
  9868. ],
  9869. "produces": [
  9870. "application/json"
  9871. ],
  9872. "tags": [
  9873. "资金账户"
  9874. ],
  9875. "summary": "获取资金账户信息",
  9876. "parameters": [
  9877. {
  9878. "type": "integer",
  9879. "description": "登录账户",
  9880. "name": "loginID",
  9881. "in": "query",
  9882. "required": true
  9883. },
  9884. {
  9885. "type": "integer",
  9886. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9887. "name": "taAccountType",
  9888. "in": "query"
  9889. }
  9890. ],
  9891. "responses": {
  9892. "200": {
  9893. "description": "OK",
  9894. "schema": {
  9895. "$ref": "#/definitions/models.Taaccount"
  9896. }
  9897. },
  9898. "500": {
  9899. "description": "Internal Server Error",
  9900. "schema": {
  9901. "$ref": "#/definitions/app.Response"
  9902. }
  9903. }
  9904. }
  9905. }
  9906. },
  9907. "/TaAccount/QueryAmountLog": {
  9908. "get": {
  9909. "security": [
  9910. {
  9911. "ApiKeyAuth": []
  9912. }
  9913. ],
  9914. "produces": [
  9915. "application/json"
  9916. ],
  9917. "tags": [
  9918. "资金账户"
  9919. ],
  9920. "summary": "资金流水查询(当前)",
  9921. "parameters": [
  9922. {
  9923. "type": "integer",
  9924. "description": "页码",
  9925. "name": "page",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "integer",
  9930. "description": "每页条数",
  9931. "name": "pagesize",
  9932. "in": "query"
  9933. },
  9934. {
  9935. "type": "string",
  9936. "description": "资金账户 - 格式:1,2,3",
  9937. "name": "accountID",
  9938. "in": "query",
  9939. "required": true
  9940. },
  9941. {
  9942. "type": "string",
  9943. "description": "资金操作类型 - 格式:1,2,3",
  9944. "name": "OperateType",
  9945. "in": "query"
  9946. }
  9947. ],
  9948. "responses": {
  9949. "200": {
  9950. "description": "OK",
  9951. "schema": {
  9952. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9953. }
  9954. },
  9955. "500": {
  9956. "description": "Internal Server Error",
  9957. "schema": {
  9958. "$ref": "#/definitions/app.Response"
  9959. }
  9960. }
  9961. }
  9962. }
  9963. },
  9964. "/TaAccount/QueryHisAmountLog": {
  9965. "get": {
  9966. "security": [
  9967. {
  9968. "ApiKeyAuth": []
  9969. }
  9970. ],
  9971. "produces": [
  9972. "application/json"
  9973. ],
  9974. "tags": [
  9975. "资金账户"
  9976. ],
  9977. "summary": "资金流水查询(历史)",
  9978. "parameters": [
  9979. {
  9980. "type": "integer",
  9981. "description": "页码",
  9982. "name": "page",
  9983. "in": "query"
  9984. },
  9985. {
  9986. "type": "integer",
  9987. "description": "每页条数",
  9988. "name": "pagesize",
  9989. "in": "query"
  9990. },
  9991. {
  9992. "type": "string",
  9993. "description": "资金账户 - 格式:1,2,3",
  9994. "name": "accountID",
  9995. "in": "query",
  9996. "required": true
  9997. },
  9998. {
  9999. "type": "string",
  10000. "description": "资金操作类型 - 格式:1,2,3",
  10001. "name": "OperateType",
  10002. "in": "query"
  10003. },
  10004. {
  10005. "type": "string",
  10006. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10007. "name": "startDate",
  10008. "in": "query"
  10009. },
  10010. {
  10011. "type": "string",
  10012. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10013. "name": "endDate",
  10014. "in": "query"
  10015. }
  10016. ],
  10017. "responses": {
  10018. "200": {
  10019. "description": "OK",
  10020. "schema": {
  10021. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10022. }
  10023. },
  10024. "500": {
  10025. "description": "Internal Server Error",
  10026. "schema": {
  10027. "$ref": "#/definitions/app.Response"
  10028. }
  10029. }
  10030. }
  10031. }
  10032. },
  10033. "/Trade/QueryRecieptOrder": {
  10034. "get": {
  10035. "security": [
  10036. {
  10037. "ApiKeyAuth": []
  10038. }
  10039. ],
  10040. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10041. "produces": [
  10042. "application/json"
  10043. ],
  10044. "tags": [
  10045. "通用交易"
  10046. ],
  10047. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10048. "parameters": [
  10049. {
  10050. "type": "integer",
  10051. "description": "页码",
  10052. "name": "page",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "integer",
  10057. "description": "每页条数",
  10058. "name": "pagesize",
  10059. "in": "query"
  10060. },
  10061. {
  10062. "type": "integer",
  10063. "description": "商品ID",
  10064. "name": "goodsID",
  10065. "in": "query",
  10066. "required": true
  10067. },
  10068. {
  10069. "type": "string",
  10070. "description": "所属账户名称",
  10071. "name": "accountName",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "integer",
  10076. "description": "市场ID",
  10077. "name": "marketID",
  10078. "in": "query"
  10079. },
  10080. {
  10081. "type": "integer",
  10082. "description": "方向 - 0:买 1:卖",
  10083. "name": "buyorsell",
  10084. "in": "query",
  10085. "required": true
  10086. }
  10087. ],
  10088. "responses": {
  10089. "200": {
  10090. "description": "OK",
  10091. "schema": {
  10092. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10093. }
  10094. },
  10095. "500": {
  10096. "description": "Internal Server Error",
  10097. "schema": {
  10098. "$ref": "#/definitions/app.Response"
  10099. }
  10100. }
  10101. }
  10102. }
  10103. },
  10104. "/User/AddMessageBoard": {
  10105. "post": {
  10106. "security": [
  10107. {
  10108. "ApiKeyAuth": []
  10109. }
  10110. ],
  10111. "produces": [
  10112. "application/json"
  10113. ],
  10114. "tags": [
  10115. "用户信息"
  10116. ],
  10117. "summary": "添加用户留言板信息",
  10118. "parameters": [
  10119. {
  10120. "type": "integer",
  10121. "description": "用户ID",
  10122. "name": "userID",
  10123. "in": "query",
  10124. "required": true
  10125. },
  10126. {
  10127. "type": "string",
  10128. "description": "留言信息",
  10129. "name": "message",
  10130. "in": "query",
  10131. "required": true
  10132. },
  10133. {
  10134. "type": "string",
  10135. "description": "联系电话",
  10136. "name": "contactNum",
  10137. "in": "query",
  10138. "required": true
  10139. }
  10140. ],
  10141. "responses": {
  10142. "200": {
  10143. "description": "OK",
  10144. "schema": {
  10145. "$ref": "#/definitions/app.Response"
  10146. }
  10147. },
  10148. "500": {
  10149. "description": "Internal Server Error",
  10150. "schema": {
  10151. "$ref": "#/definitions/app.Response"
  10152. }
  10153. }
  10154. }
  10155. }
  10156. },
  10157. "/User/AddUserFavoriteGoods": {
  10158. "post": {
  10159. "security": [
  10160. {
  10161. "ApiKeyAuth": []
  10162. }
  10163. ],
  10164. "produces": [
  10165. "application/json"
  10166. ],
  10167. "tags": [
  10168. "用户信息"
  10169. ],
  10170. "summary": "添加用户商品收藏信息",
  10171. "parameters": [
  10172. {
  10173. "type": "integer",
  10174. "description": "用户ID",
  10175. "name": "userID",
  10176. "in": "query",
  10177. "required": true
  10178. },
  10179. {
  10180. "type": "integer",
  10181. "description": "商品ID",
  10182. "name": "goodsID",
  10183. "in": "query",
  10184. "required": true
  10185. }
  10186. ],
  10187. "responses": {
  10188. "200": {
  10189. "description": "OK",
  10190. "schema": {
  10191. "$ref": "#/definitions/app.Response"
  10192. }
  10193. },
  10194. "500": {
  10195. "description": "Internal Server Error",
  10196. "schema": {
  10197. "$ref": "#/definitions/app.Response"
  10198. }
  10199. }
  10200. }
  10201. }
  10202. },
  10203. "/User/GetLoginID": {
  10204. "get": {
  10205. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10206. "produces": [
  10207. "application/json"
  10208. ],
  10209. "tags": [
  10210. "用户信息"
  10211. ],
  10212. "summary": "获取登录ID",
  10213. "parameters": [
  10214. {
  10215. "type": "string",
  10216. "description": "登录代码",
  10217. "name": "username",
  10218. "in": "query",
  10219. "required": true
  10220. }
  10221. ],
  10222. "responses": {
  10223. "200": {
  10224. "description": "OK",
  10225. "schema": {
  10226. "$ref": "#/definitions/app.Response"
  10227. }
  10228. },
  10229. "500": {
  10230. "description": "Internal Server Error",
  10231. "schema": {
  10232. "$ref": "#/definitions/app.Response"
  10233. }
  10234. }
  10235. }
  10236. }
  10237. },
  10238. "/User/GetUserAccount": {
  10239. "get": {
  10240. "security": [
  10241. {
  10242. "ApiKeyAuth": []
  10243. }
  10244. ],
  10245. "produces": [
  10246. "application/json"
  10247. ],
  10248. "tags": [
  10249. "用户信息"
  10250. ],
  10251. "summary": "获取用户账号信息",
  10252. "parameters": [
  10253. {
  10254. "type": "integer",
  10255. "description": "用户ID",
  10256. "name": "userID",
  10257. "in": "query",
  10258. "required": true
  10259. }
  10260. ],
  10261. "responses": {
  10262. "200": {
  10263. "description": "OK",
  10264. "schema": {
  10265. "$ref": "#/definitions/models.Useraccount"
  10266. }
  10267. },
  10268. "500": {
  10269. "description": "Internal Server Error",
  10270. "schema": {
  10271. "$ref": "#/definitions/app.Response"
  10272. }
  10273. }
  10274. }
  10275. }
  10276. },
  10277. "/User/GetUserAuthStatus": {
  10278. "get": {
  10279. "security": [
  10280. {
  10281. "ApiKeyAuth": []
  10282. }
  10283. ],
  10284. "produces": [
  10285. "application/json"
  10286. ],
  10287. "tags": [
  10288. "用户信息"
  10289. ],
  10290. "summary": "获取用户实名认证状态",
  10291. "parameters": [
  10292. {
  10293. "type": "integer",
  10294. "description": "用户ID",
  10295. "name": "userID",
  10296. "in": "query",
  10297. "required": true
  10298. }
  10299. ],
  10300. "responses": {
  10301. "200": {
  10302. "description": "OK",
  10303. "schema": {
  10304. "$ref": "#/definitions/app.Response"
  10305. }
  10306. },
  10307. "500": {
  10308. "description": "Internal Server Error",
  10309. "schema": {
  10310. "$ref": "#/definitions/app.Response"
  10311. }
  10312. }
  10313. }
  10314. }
  10315. },
  10316. "/User/LoginQuery": {
  10317. "get": {
  10318. "security": [
  10319. {
  10320. "ApiKeyAuth": []
  10321. }
  10322. ],
  10323. "produces": [
  10324. "application/json"
  10325. ],
  10326. "tags": [
  10327. "用户信息"
  10328. ],
  10329. "summary": "账户登录后信息查询",
  10330. "parameters": [
  10331. {
  10332. "type": "integer",
  10333. "description": "登录账号",
  10334. "name": "loginID",
  10335. "in": "query",
  10336. "required": true
  10337. }
  10338. ],
  10339. "responses": {
  10340. "200": {
  10341. "description": "OK",
  10342. "schema": {
  10343. "$ref": "#/definitions/user.LoginQueryRsp"
  10344. }
  10345. },
  10346. "500": {
  10347. "description": "Internal Server Error",
  10348. "schema": {
  10349. "$ref": "#/definitions/app.Response"
  10350. }
  10351. }
  10352. }
  10353. }
  10354. },
  10355. "/User/QueryMessageBoard": {
  10356. "get": {
  10357. "security": [
  10358. {
  10359. "ApiKeyAuth": []
  10360. }
  10361. ],
  10362. "produces": [
  10363. "application/json"
  10364. ],
  10365. "tags": [
  10366. "用户信息"
  10367. ],
  10368. "summary": "获取用户留言板信息",
  10369. "parameters": [
  10370. {
  10371. "type": "integer",
  10372. "description": "用户ID",
  10373. "name": "userID",
  10374. "in": "query",
  10375. "required": true
  10376. }
  10377. ],
  10378. "responses": {
  10379. "200": {
  10380. "description": "OK",
  10381. "schema": {
  10382. "$ref": "#/definitions/models.Messageboard"
  10383. }
  10384. },
  10385. "500": {
  10386. "description": "Internal Server Error",
  10387. "schema": {
  10388. "$ref": "#/definitions/app.Response"
  10389. }
  10390. }
  10391. }
  10392. }
  10393. },
  10394. "/User/QueryUserFavoriteGoodses": {
  10395. "get": {
  10396. "security": [
  10397. {
  10398. "ApiKeyAuth": []
  10399. }
  10400. ],
  10401. "produces": [
  10402. "application/json"
  10403. ],
  10404. "tags": [
  10405. "用户信息"
  10406. ],
  10407. "summary": "获取用户商品收藏信息",
  10408. "parameters": [
  10409. {
  10410. "type": "integer",
  10411. "description": "用户ID",
  10412. "name": "userID",
  10413. "in": "query",
  10414. "required": true
  10415. }
  10416. ],
  10417. "responses": {
  10418. "200": {
  10419. "description": "OK",
  10420. "schema": {
  10421. "$ref": "#/definitions/models.Userfavoritegoods"
  10422. }
  10423. },
  10424. "500": {
  10425. "description": "Internal Server Error",
  10426. "schema": {
  10427. "$ref": "#/definitions/app.Response"
  10428. }
  10429. }
  10430. }
  10431. }
  10432. },
  10433. "/User/QueryUserInfo": {
  10434. "get": {
  10435. "security": [
  10436. {
  10437. "ApiKeyAuth": []
  10438. }
  10439. ],
  10440. "produces": [
  10441. "application/json"
  10442. ],
  10443. "tags": [
  10444. "用户信息"
  10445. ],
  10446. "summary": "获取用户信息",
  10447. "parameters": [
  10448. {
  10449. "type": "integer",
  10450. "description": "用户ID",
  10451. "name": "userID",
  10452. "in": "query",
  10453. "required": true
  10454. },
  10455. {
  10456. "type": "boolean",
  10457. "description": "是否解密",
  10458. "name": "isDecrypt",
  10459. "in": "query"
  10460. }
  10461. ],
  10462. "responses": {
  10463. "200": {
  10464. "description": "OK",
  10465. "schema": {
  10466. "$ref": "#/definitions/models.Userinfo"
  10467. }
  10468. },
  10469. "500": {
  10470. "description": "Internal Server Error",
  10471. "schema": {
  10472. "$ref": "#/definitions/app.Response"
  10473. }
  10474. }
  10475. }
  10476. }
  10477. },
  10478. "/User/QueryUserReferNum": {
  10479. "get": {
  10480. "produces": [
  10481. "application/json"
  10482. ],
  10483. "tags": [
  10484. "用户信息"
  10485. ],
  10486. "summary": "获取用户邀请码",
  10487. "parameters": [
  10488. {
  10489. "type": "integer",
  10490. "description": "用户ID",
  10491. "name": "userID",
  10492. "in": "query",
  10493. "required": true
  10494. }
  10495. ],
  10496. "responses": {
  10497. "200": {
  10498. "description": "OK",
  10499. "schema": {
  10500. "$ref": "#/definitions/app.Response"
  10501. }
  10502. },
  10503. "500": {
  10504. "description": "Internal Server Error",
  10505. "schema": {
  10506. "$ref": "#/definitions/app.Response"
  10507. }
  10508. }
  10509. }
  10510. }
  10511. },
  10512. "/User/RemoveUserFavoriteGoods": {
  10513. "post": {
  10514. "security": [
  10515. {
  10516. "ApiKeyAuth": []
  10517. }
  10518. ],
  10519. "produces": [
  10520. "application/json"
  10521. ],
  10522. "tags": [
  10523. "用户信息"
  10524. ],
  10525. "summary": "移除用户商品收藏信息",
  10526. "parameters": [
  10527. {
  10528. "type": "integer",
  10529. "description": "用户ID",
  10530. "name": "userID",
  10531. "in": "query",
  10532. "required": true
  10533. },
  10534. {
  10535. "type": "integer",
  10536. "description": "商品ID",
  10537. "name": "goodsID",
  10538. "in": "query",
  10539. "required": true
  10540. }
  10541. ],
  10542. "responses": {
  10543. "200": {
  10544. "description": "OK",
  10545. "schema": {
  10546. "$ref": "#/definitions/app.Response"
  10547. }
  10548. },
  10549. "500": {
  10550. "description": "Internal Server Error",
  10551. "schema": {
  10552. "$ref": "#/definitions/app.Response"
  10553. }
  10554. }
  10555. }
  10556. }
  10557. },
  10558. "/User/UpdateUserAccountStatus": {
  10559. "post": {
  10560. "security": [
  10561. {
  10562. "ApiKeyAuth": []
  10563. }
  10564. ],
  10565. "produces": [
  10566. "application/json"
  10567. ],
  10568. "tags": [
  10569. "用户信息"
  10570. ],
  10571. "summary": "更新用户状态",
  10572. "parameters": [
  10573. {
  10574. "type": "integer",
  10575. "description": "用户ID",
  10576. "name": "userID",
  10577. "in": "query",
  10578. "required": true
  10579. },
  10580. {
  10581. "type": "integer",
  10582. "description": "账户状态 - 4:正常 6:注销(停用)",
  10583. "name": "accountStatus",
  10584. "in": "query",
  10585. "required": true
  10586. }
  10587. ],
  10588. "responses": {
  10589. "200": {
  10590. "description": "OK",
  10591. "schema": {
  10592. "$ref": "#/definitions/app.Response"
  10593. }
  10594. },
  10595. "500": {
  10596. "description": "Internal Server Error",
  10597. "schema": {
  10598. "$ref": "#/definitions/app.Response"
  10599. }
  10600. }
  10601. }
  10602. }
  10603. },
  10604. "/WRTrade/GetAllDeliveryGoods": {
  10605. "get": {
  10606. "security": [
  10607. {
  10608. "ApiKeyAuth": []
  10609. },
  10610. {
  10611. "ApiKeyAuth": []
  10612. }
  10613. ],
  10614. "produces": [
  10615. "application/json",
  10616. "application/json"
  10617. ],
  10618. "tags": [
  10619. "仓单贸易",
  10620. "仓单贸易"
  10621. ],
  10622. "summary": "获取带仓单分类的种类信息",
  10623. "responses": {
  10624. "200": {
  10625. "description": "OK",
  10626. "schema": {
  10627. "$ref": "#/definitions/app.Response"
  10628. }
  10629. },
  10630. "500": {
  10631. "description": "Internal Server Error",
  10632. "schema": {
  10633. "$ref": "#/definitions/app.Response"
  10634. }
  10635. }
  10636. }
  10637. }
  10638. }
  10639. },
  10640. "definitions": {
  10641. "app.Response": {
  10642. "type": "object",
  10643. "properties": {
  10644. "code": {
  10645. "type": "integer"
  10646. },
  10647. "data": {
  10648. "type": "object"
  10649. },
  10650. "msg": {
  10651. "type": "string"
  10652. },
  10653. "page": {
  10654. "description": "页码",
  10655. "type": "integer"
  10656. },
  10657. "pagesize": {
  10658. "description": "每页条数",
  10659. "type": "integer"
  10660. },
  10661. "total": {
  10662. "description": "总条数",
  10663. "type": "integer"
  10664. }
  10665. }
  10666. },
  10667. "common.ClientMenu": {
  10668. "type": "object",
  10669. "properties": {
  10670. "children": {
  10671. "description": "子菜单列表",
  10672. "type": "array",
  10673. "items": {
  10674. "$ref": "#/definitions/common.ClientMenu"
  10675. }
  10676. },
  10677. "code": {
  10678. "description": "ID",
  10679. "type": "string"
  10680. },
  10681. "isshow": {
  10682. "description": "是否显示",
  10683. "type": "boolean"
  10684. },
  10685. "rulekey": {
  10686. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10687. "type": "string"
  10688. },
  10689. "sort": {
  10690. "description": "排序",
  10691. "type": "integer"
  10692. },
  10693. "title": {
  10694. "description": "标题",
  10695. "type": "string"
  10696. },
  10697. "type": {
  10698. "description": "类型,1:菜单 2:按钮",
  10699. "type": "integer"
  10700. }
  10701. }
  10702. },
  10703. "common.QueryImageConfigsRsp": {
  10704. "type": "object",
  10705. "required": [
  10706. "configid"
  10707. ],
  10708. "properties": {
  10709. "areauserid": {
  10710. "description": "所属机构ID",
  10711. "type": "integer"
  10712. },
  10713. "configid": {
  10714. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10715. "type": "integer"
  10716. },
  10717. "createdate": {
  10718. "description": "创建时间",
  10719. "type": "string"
  10720. },
  10721. "creatorid": {
  10722. "description": "创建人",
  10723. "type": "integer"
  10724. },
  10725. "imagepath": {
  10726. "description": "图片",
  10727. "type": "string"
  10728. },
  10729. "imagetype": {
  10730. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10731. "type": "integer"
  10732. },
  10733. "isshow": {
  10734. "description": "是否展示 - 0:不展示 1:展示",
  10735. "type": "integer"
  10736. },
  10737. "marketid": {
  10738. "description": "市场ID",
  10739. "type": "integer"
  10740. },
  10741. "modifierid": {
  10742. "description": "操作人",
  10743. "type": "integer"
  10744. },
  10745. "sort": {
  10746. "description": "排序",
  10747. "type": "integer"
  10748. },
  10749. "title": {
  10750. "description": "标题",
  10751. "type": "string"
  10752. },
  10753. "trademode": {
  10754. "description": "交易模式",
  10755. "type": "integer"
  10756. },
  10757. "updatedate": {
  10758. "description": "修改时间",
  10759. "type": "string"
  10760. },
  10761. "url": {
  10762. "description": "链接(地址或商品ID)",
  10763. "type": "string"
  10764. },
  10765. "urltype": {
  10766. "description": "链接类型 - 1:直接地址 2:商品ID",
  10767. "type": "integer"
  10768. }
  10769. }
  10770. },
  10771. "common.QueryNoticeRsp": {
  10772. "type": "object",
  10773. "required": [
  10774. "autoid"
  10775. ],
  10776. "properties": {
  10777. "auditoruserid": {
  10778. "description": "审核人",
  10779. "type": "integer"
  10780. },
  10781. "auditremark": {
  10782. "description": "审核备注",
  10783. "type": "string"
  10784. },
  10785. "audittime": {
  10786. "description": "审核日期",
  10787. "type": "string"
  10788. },
  10789. "autoid": {
  10790. "description": "自增ID",
  10791. "type": "integer"
  10792. },
  10793. "content": {
  10794. "description": "内容",
  10795. "type": "string"
  10796. },
  10797. "createtime": {
  10798. "description": "创建时间",
  10799. "type": "string"
  10800. },
  10801. "creatorid": {
  10802. "description": "建仓人",
  10803. "type": "integer"
  10804. },
  10805. "endtime": {
  10806. "description": "结束时间",
  10807. "type": "string"
  10808. },
  10809. "istop": {
  10810. "description": "是否置顶 - 0:不置顶 1:置顶",
  10811. "type": "integer"
  10812. },
  10813. "msgiconurl": {
  10814. "description": "消息图标Url",
  10815. "type": "string"
  10816. },
  10817. "msgtype": {
  10818. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10819. "type": "integer"
  10820. },
  10821. "publisher": {
  10822. "description": "消息发布者",
  10823. "type": "string"
  10824. },
  10825. "readed": {
  10826. "description": "是否已读",
  10827. "type": "boolean"
  10828. },
  10829. "scheduletime": {
  10830. "description": "计划发送时间",
  10831. "type": "string"
  10832. },
  10833. "sendtype": {
  10834. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10835. "type": "integer"
  10836. },
  10837. "sentstatus": {
  10838. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10839. "type": "integer"
  10840. },
  10841. "title": {
  10842. "description": "标题",
  10843. "type": "string"
  10844. },
  10845. "userid": {
  10846. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10847. "type": "integer"
  10848. }
  10849. }
  10850. },
  10851. "common.QueryProvincesAndCitiesRsp": {
  10852. "type": "object",
  10853. "properties": {
  10854. "cities": {
  10855. "description": "市",
  10856. "type": "array",
  10857. "items": {
  10858. "$ref": "#/definitions/models.Division"
  10859. }
  10860. },
  10861. "province": {
  10862. "description": "省",
  10863. "type": "object",
  10864. "$ref": "#/definitions/models.Division"
  10865. }
  10866. }
  10867. },
  10868. "common.QueryTableDefineRsp": {
  10869. "type": "object",
  10870. "required": [
  10871. "tablekey"
  10872. ],
  10873. "properties": {
  10874. "columns": {
  10875. "description": "列头信息数组",
  10876. "type": "array",
  10877. "items": {
  10878. "$ref": "#/definitions/models.Tablecolumnconfig"
  10879. }
  10880. },
  10881. "remark": {
  10882. "description": "Remark",
  10883. "type": "string"
  10884. },
  10885. "tabelmenu": {
  10886. "description": "列表菜单",
  10887. "type": "string"
  10888. },
  10889. "tablekey": {
  10890. "description": "列表Key",
  10891. "type": "string"
  10892. },
  10893. "tablename": {
  10894. "description": "列表名称",
  10895. "type": "string"
  10896. },
  10897. "tabletype": {
  10898. "description": "列表类型 - 1:管理端 2:终端",
  10899. "type": "integer"
  10900. }
  10901. }
  10902. },
  10903. "common.QueryTraderMenuRsp": {
  10904. "type": "object",
  10905. "properties": {
  10906. "OperationMenu": {
  10907. "description": "功能菜单",
  10908. "type": "array",
  10909. "items": {
  10910. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10911. }
  10912. },
  10913. "QuoteMenu": {
  10914. "description": "报价牌分类菜单",
  10915. "type": "array",
  10916. "items": {
  10917. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10918. }
  10919. }
  10920. }
  10921. },
  10922. "cptrade.Cptradepositioncancel": {
  10923. "type": "object",
  10924. "required": [
  10925. "cancelid"
  10926. ],
  10927. "properties": {
  10928. "accountid": {
  10929. "description": "申请人账户ID",
  10930. "type": "integer"
  10931. },
  10932. "applystatus": {
  10933. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10934. "type": "integer"
  10935. },
  10936. "applytime": {
  10937. "description": "申请时间",
  10938. "type": "string"
  10939. },
  10940. "cancelid": {
  10941. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10942. "type": "integer"
  10943. },
  10944. "cancelqty": {
  10945. "description": "注销数量",
  10946. "type": "integer"
  10947. },
  10948. "createtime": {
  10949. "description": "创建时间",
  10950. "type": "string"
  10951. },
  10952. "creatorid": {
  10953. "description": "创建人ID",
  10954. "type": "integer"
  10955. },
  10956. "creatorname": {
  10957. "description": "创建人",
  10958. "type": "string"
  10959. },
  10960. "goodscode": {
  10961. "description": "订单商品代码",
  10962. "type": "string"
  10963. },
  10964. "goodsid": {
  10965. "description": "商品ID",
  10966. "type": "integer"
  10967. },
  10968. "goodsname": {
  10969. "description": "订单商品名称",
  10970. "type": "string"
  10971. },
  10972. "goodunit": {
  10973. "description": "报价单位",
  10974. "type": "string"
  10975. },
  10976. "handlestatus": {
  10977. "description": "处理状态",
  10978. "type": "integer"
  10979. },
  10980. "marketid": {
  10981. "description": "市场ID",
  10982. "type": "integer"
  10983. },
  10984. "marketname": {
  10985. "description": "市场名称",
  10986. "type": "string"
  10987. },
  10988. "tradedate": {
  10989. "description": "交易日(yyyyMMdd)",
  10990. "type": "string"
  10991. },
  10992. "userid": {
  10993. "description": "申请人ID",
  10994. "type": "integer"
  10995. }
  10996. }
  10997. },
  10998. "cptrade.Cptradepresaleapply": {
  10999. "type": "object",
  11000. "required": [
  11001. "applyid"
  11002. ],
  11003. "properties": {
  11004. "accountid": {
  11005. "description": "申请人账户ID",
  11006. "type": "integer"
  11007. },
  11008. "applyid": {
  11009. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11010. "type": "integer"
  11011. },
  11012. "applyremark": {
  11013. "description": "申请备注",
  11014. "type": "string"
  11015. },
  11016. "applystatus": {
  11017. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11018. "type": "integer"
  11019. },
  11020. "applytime": {
  11021. "description": "申请时间",
  11022. "type": "string"
  11023. },
  11024. "attachmenturl": {
  11025. "description": "附件地址",
  11026. "type": "string"
  11027. },
  11028. "endtime": {
  11029. "description": "预售结束时间",
  11030. "type": "string"
  11031. },
  11032. "goodscode": {
  11033. "description": "商品代码",
  11034. "type": "string"
  11035. },
  11036. "goodsid": {
  11037. "description": "商品ID",
  11038. "type": "integer"
  11039. },
  11040. "goodsname": {
  11041. "description": "商品名称",
  11042. "type": "string"
  11043. },
  11044. "goodunit": {
  11045. "description": "报价单位",
  11046. "type": "string"
  11047. },
  11048. "handlestatus": {
  11049. "description": "处理状态",
  11050. "type": "integer"
  11051. },
  11052. "marketid": {
  11053. "description": "预售市场ID",
  11054. "type": "integer"
  11055. },
  11056. "marketname": {
  11057. "description": "预售市场名称",
  11058. "type": "string"
  11059. },
  11060. "presaleqty": {
  11061. "description": "预售数量",
  11062. "type": "integer"
  11063. },
  11064. "relatedgoodscode": {
  11065. "description": "关联交易合约代码",
  11066. "type": "string"
  11067. },
  11068. "relatedgoodsid": {
  11069. "description": "关联交易合约ID",
  11070. "type": "integer"
  11071. },
  11072. "relatedgoodsname": {
  11073. "description": "关联交易合约名称",
  11074. "type": "string"
  11075. },
  11076. "starttime": {
  11077. "description": "预售开始时间",
  11078. "type": "string"
  11079. },
  11080. "tradedate": {
  11081. "description": "交易日(yyyyMMdd)",
  11082. "type": "string"
  11083. },
  11084. "trademode": {
  11085. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11086. "type": "integer"
  11087. },
  11088. "userid": {
  11089. "description": "申请人ID",
  11090. "type": "integer"
  11091. }
  11092. }
  11093. },
  11094. "cptrade.Cptradeusergoodsdata": {
  11095. "type": "object",
  11096. "required": [
  11097. "accountid",
  11098. "goodsid"
  11099. ],
  11100. "properties": {
  11101. "EnabledQty": {
  11102. "description": "可用量",
  11103. "type": "integer"
  11104. },
  11105. "GoodsCode": {
  11106. "description": "订单商品代码",
  11107. "type": "string"
  11108. },
  11109. "GoodsName": {
  11110. "description": "订单商品名称",
  11111. "type": "string"
  11112. },
  11113. "WRStandardCode": {
  11114. "description": "仓单标准代码",
  11115. "type": "string"
  11116. },
  11117. "WRStandardName": {
  11118. "description": "仓单标准名称",
  11119. "type": "string"
  11120. },
  11121. "accountid": {
  11122. "description": "账户ID",
  11123. "type": "integer"
  11124. },
  11125. "cancelqty": {
  11126. "description": "注销量",
  11127. "type": "integer"
  11128. },
  11129. "curpresaleqty": {
  11130. "description": "当前预售量",
  11131. "type": "integer"
  11132. },
  11133. "deliveryqty": {
  11134. "description": "交割量",
  11135. "type": "integer"
  11136. },
  11137. "freezeamount": {
  11138. "description": "冻结金额",
  11139. "type": "number"
  11140. },
  11141. "goodsid": {
  11142. "description": "商品ID",
  11143. "type": "integer"
  11144. },
  11145. "goodunit": {
  11146. "description": "报价单位",
  11147. "type": "string"
  11148. },
  11149. "hasspotfreeze": {
  11150. "description": "是否有现货冻结 - 0:否 1:有",
  11151. "type": "integer"
  11152. },
  11153. "inqty": {
  11154. "description": "转入量(总数量)",
  11155. "type": "integer"
  11156. },
  11157. "marketid": {
  11158. "description": "市场ID",
  11159. "type": "integer"
  11160. },
  11161. "presaledamount": {
  11162. "description": "已预售总金额",
  11163. "type": "integer"
  11164. },
  11165. "presaledqty": {
  11166. "description": "已预售量",
  11167. "type": "integer"
  11168. },
  11169. "userid": {
  11170. "description": "用户ID",
  11171. "type": "integer"
  11172. },
  11173. "wrstandardid": {
  11174. "description": "仓单标准ID",
  11175. "type": "integer"
  11176. }
  11177. }
  11178. },
  11179. "cptrade.QueryCPTradeMyBidRsp": {
  11180. "type": "object",
  11181. "required": [
  11182. "accountid",
  11183. "goodsid",
  11184. "marketid",
  11185. "orderid",
  11186. "orderqty",
  11187. "ordertime",
  11188. "tradeprice",
  11189. "tradeqty"
  11190. ],
  11191. "properties": {
  11192. "accountid": {
  11193. "description": "账户ID[报价币种]",
  11194. "type": "integer"
  11195. },
  11196. "goodsid": {
  11197. "description": "商品ID",
  11198. "type": "integer"
  11199. },
  11200. "goodunit": {
  11201. "description": "报价单位",
  11202. "type": "string"
  11203. },
  11204. "marketid": {
  11205. "description": "市场ID",
  11206. "type": "integer"
  11207. },
  11208. "orderid": {
  11209. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11210. "type": "integer"
  11211. },
  11212. "orderprice": {
  11213. "description": "委托价格",
  11214. "type": "number"
  11215. },
  11216. "orderqty": {
  11217. "description": "委托数量",
  11218. "type": "integer"
  11219. },
  11220. "ordertime": {
  11221. "description": "委托时间",
  11222. "type": "string"
  11223. },
  11224. "ordertotalprice": {
  11225. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11226. "type": "number"
  11227. },
  11228. "ordertotalweight": {
  11229. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11230. "type": "integer"
  11231. },
  11232. "totaltotalprice": {
  11233. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11234. "type": "number"
  11235. },
  11236. "tradeprice": {
  11237. "description": "成交价格",
  11238. "type": "number"
  11239. },
  11240. "tradeqty": {
  11241. "description": "成交数量",
  11242. "type": "integer"
  11243. }
  11244. }
  11245. },
  11246. "cptrade.QueryCPTradeOrderDetailRsq": {
  11247. "type": "object",
  11248. "required": [
  11249. "accountid",
  11250. "buildtype",
  11251. "buyorsell",
  11252. "goodsid",
  11253. "marketid",
  11254. "memberuserid",
  11255. "operatetype",
  11256. "orderqty",
  11257. "ordertime",
  11258. "pricemode",
  11259. "strorderid",
  11260. "tradedate",
  11261. "validtype"
  11262. ],
  11263. "properties": {
  11264. "accountid": {
  11265. "description": "账户ID[报价币种]",
  11266. "type": "integer"
  11267. },
  11268. "buildtype": {
  11269. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11270. "type": "integer"
  11271. },
  11272. "buyorsell": {
  11273. "description": "买卖 - 0:买 1:卖",
  11274. "type": "integer"
  11275. },
  11276. "cancelorderid": {
  11277. "description": "撤单单号(撤单时填写)",
  11278. "type": "integer"
  11279. },
  11280. "cancelqty": {
  11281. "description": "撤单数量",
  11282. "type": "integer"
  11283. },
  11284. "clientordertime": {
  11285. "description": "客户端委托时间",
  11286. "type": "string"
  11287. },
  11288. "clientticket": {
  11289. "description": "客户端流水号",
  11290. "type": "string"
  11291. },
  11292. "clienttype": {
  11293. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11294. "type": "integer"
  11295. },
  11296. "closeexchagechargevalue": {
  11297. "description": "平仓交易所手续费设置值",
  11298. "type": "number"
  11299. },
  11300. "closefeealgorithm": {
  11301. "description": "平仓手续费收取方式 1:比率 2:固定",
  11302. "type": "integer"
  11303. },
  11304. "closefreezecharge": {
  11305. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11306. "type": "number"
  11307. },
  11308. "closememberchargevalue": {
  11309. "description": "平仓会员手续费设置值",
  11310. "type": "number"
  11311. },
  11312. "closeqty": {
  11313. "description": "平仓数量(先建后平操作 需要记录)",
  11314. "type": "integer"
  11315. },
  11316. "closetradeqty": {
  11317. "description": "平仓成交数量(先建后平操作,需要记录)",
  11318. "type": "integer"
  11319. },
  11320. "closeunfreezecharge": {
  11321. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11322. "type": "number"
  11323. },
  11324. "delistingtype": {
  11325. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11326. "type": "integer"
  11327. },
  11328. "freezecharge": {
  11329. "description": "冻结手续费",
  11330. "type": "number"
  11331. },
  11332. "freezemargin": {
  11333. "description": "冻结保证金(冻结交易金额)",
  11334. "type": "number"
  11335. },
  11336. "gcaccountid": {
  11337. "description": "账户ID[合约币种]",
  11338. "type": "integer"
  11339. },
  11340. "goodsid": {
  11341. "description": "商品ID",
  11342. "type": "integer"
  11343. },
  11344. "isconfirmexercise": {
  11345. "description": "是否确认行权- 0:否 1:是",
  11346. "type": "integer"
  11347. },
  11348. "ispreexercise": {
  11349. "description": "是否预申报- 0:否 1:是",
  11350. "type": "integer"
  11351. },
  11352. "listingselecttype": {
  11353. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11354. "type": "integer"
  11355. },
  11356. "marginalgorithm": {
  11357. "description": "保证金收取方式 1:比率 2:固定",
  11358. "type": "integer"
  11359. },
  11360. "marginvalue": {
  11361. "description": "即市保证金设置值",
  11362. "type": "number"
  11363. },
  11364. "marketid": {
  11365. "description": "市场ID",
  11366. "type": "integer"
  11367. },
  11368. "marketmaxsub": {
  11369. "description": "市价最大偏移范围",
  11370. "type": "number"
  11371. },
  11372. "memberuserid": {
  11373. "description": "所属会员UserID",
  11374. "type": "integer"
  11375. },
  11376. "openexchagechargevalue": {
  11377. "description": "建仓交易所手续费设置值",
  11378. "type": "number"
  11379. },
  11380. "openfeealgorithm": {
  11381. "description": "建仓手续费收取方式 1:比率 2:固定",
  11382. "type": "integer"
  11383. },
  11384. "openfreezecharge": {
  11385. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11386. "type": "number"
  11387. },
  11388. "openmemberchargevalue": {
  11389. "description": "建仓会员手续费设置值",
  11390. "type": "number"
  11391. },
  11392. "openqty": {
  11393. "description": "开仓数量(先建后平操作,需要记录)",
  11394. "type": "integer"
  11395. },
  11396. "opentradeqty": {
  11397. "description": "开仓成交数量(先建后平操作,需要记录)",
  11398. "type": "integer"
  11399. },
  11400. "openunfreezecharge": {
  11401. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11402. "type": "number"
  11403. },
  11404. "operatetype": {
  11405. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11406. "type": "integer"
  11407. },
  11408. "operatorid": {
  11409. "description": "登录账号(LoginID)",
  11410. "type": "integer"
  11411. },
  11412. "optiontype": {
  11413. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11414. "type": "integer"
  11415. },
  11416. "orderprice": {
  11417. "description": "委托价格",
  11418. "type": "number"
  11419. },
  11420. "orderqty": {
  11421. "description": "委托数量",
  11422. "type": "integer"
  11423. },
  11424. "ordersrc": {
  11425. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11426. "type": "integer"
  11427. },
  11428. "orderstatus": {
  11429. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11430. "type": "integer"
  11431. },
  11432. "ordertime": {
  11433. "description": "委托时间",
  11434. "type": "string"
  11435. },
  11436. "preexerciseprice": {
  11437. "description": "预申报价格",
  11438. "type": "number"
  11439. },
  11440. "premium": {
  11441. "description": "权利金",
  11442. "type": "number"
  11443. },
  11444. "preorderid": {
  11445. "description": "关联预埋单号(止盈止损单时填写)",
  11446. "type": "integer"
  11447. },
  11448. "pricemode": {
  11449. "description": "取价方式 - 1:市价 2: 限价",
  11450. "type": "integer"
  11451. },
  11452. "quoteid": {
  11453. "description": "报价单ID",
  11454. "type": "integer"
  11455. },
  11456. "relatedid": {
  11457. "description": "关联单号(交割单)",
  11458. "type": "integer"
  11459. },
  11460. "retcode": {
  11461. "description": "错误代码",
  11462. "type": "integer"
  11463. },
  11464. "sessionid": {
  11465. "description": "会话ID",
  11466. "type": "integer"
  11467. },
  11468. "strorderid": {
  11469. "description": "委托单号",
  11470. "type": "string"
  11471. },
  11472. "tradedate": {
  11473. "description": "交易日(yyyyMMdd)",
  11474. "type": "string"
  11475. },
  11476. "tradeproperty": {
  11477. "description": "交易属性",
  11478. "type": "integer"
  11479. },
  11480. "tradeqty": {
  11481. "description": "成交数量",
  11482. "type": "integer"
  11483. },
  11484. "unfreezecharge": {
  11485. "description": "解冻手续费",
  11486. "type": "number"
  11487. },
  11488. "unfreezemargin": {
  11489. "description": "解冻保证金",
  11490. "type": "number"
  11491. },
  11492. "updatetime": {
  11493. "description": "更新时间",
  11494. "type": "string"
  11495. },
  11496. "uuid": {
  11497. "description": "发起端唯一id",
  11498. "type": "string"
  11499. },
  11500. "validtime": {
  11501. "description": "有效期限",
  11502. "type": "string"
  11503. },
  11504. "validtype": {
  11505. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11506. "type": "integer"
  11507. },
  11508. "volumetype": {
  11509. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11510. "type": "integer"
  11511. }
  11512. }
  11513. },
  11514. "cptrade.QueryMyCPTradeGoodsRsp": {
  11515. "type": "object",
  11516. "required": [
  11517. "goodscode",
  11518. "goodsid",
  11519. "goodsname",
  11520. "marketid",
  11521. "relatedgoodscode",
  11522. "relatedgoodsname"
  11523. ],
  11524. "properties": {
  11525. "accountid": {
  11526. "description": "卖方账户ID",
  11527. "type": "integer"
  11528. },
  11529. "agreeunit": {
  11530. "description": "合约单位",
  11531. "type": "number"
  11532. },
  11533. "applyid": {
  11534. "description": "关联申请ID",
  11535. "type": "integer"
  11536. },
  11537. "attachmenturl": {
  11538. "description": "附件地址",
  11539. "type": "string"
  11540. },
  11541. "createtime": {
  11542. "description": "创建时间",
  11543. "type": "string"
  11544. },
  11545. "currencyid": {
  11546. "description": "报价货币ID",
  11547. "type": "integer"
  11548. },
  11549. "decimalplace": {
  11550. "description": "报价小数位",
  11551. "type": "integer"
  11552. },
  11553. "endtime": {
  11554. "description": "预售结束时间",
  11555. "type": "string"
  11556. },
  11557. "floorprice": {
  11558. "description": "底价[大宗式竞拍]",
  11559. "type": "number"
  11560. },
  11561. "goodscode": {
  11562. "description": "商品代码(预售)",
  11563. "type": "string"
  11564. },
  11565. "goodsdetail": {
  11566. "description": "详情[大宗]",
  11567. "type": "string"
  11568. },
  11569. "goodsid": {
  11570. "description": "商品ID(自增ID SEQ_GOODS)",
  11571. "type": "integer"
  11572. },
  11573. "goodsname": {
  11574. "description": "商品名称(预售)",
  11575. "type": "string"
  11576. },
  11577. "goodunit": {
  11578. "description": "报价单位",
  11579. "type": "string"
  11580. },
  11581. "goodunitid": {
  11582. "description": "报价单位ID",
  11583. "type": "integer"
  11584. },
  11585. "marketid": {
  11586. "description": "所属市场ID",
  11587. "type": "integer"
  11588. },
  11589. "marketname": {
  11590. "description": "预售市场名称",
  11591. "type": "string"
  11592. },
  11593. "presaledamount": {
  11594. "description": "已预售总金额(预售结束时更新)",
  11595. "type": "number"
  11596. },
  11597. "presaledqty": {
  11598. "description": "已预售量(预售结束时更新)",
  11599. "type": "integer"
  11600. },
  11601. "presalemode": {
  11602. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11603. "type": "integer"
  11604. },
  11605. "presaleqty": {
  11606. "description": "预售数量",
  11607. "type": "integer"
  11608. },
  11609. "refprice": {
  11610. "description": "参考价格[一口价]",
  11611. "type": "number"
  11612. },
  11613. "relatedgoodscode": {
  11614. "description": "商品代码(订单)",
  11615. "type": "string"
  11616. },
  11617. "relatedgoodsid": {
  11618. "description": "关联交易合约ID",
  11619. "type": "integer"
  11620. },
  11621. "relatedgoodsname": {
  11622. "description": "商品名称(订单)",
  11623. "type": "string"
  11624. },
  11625. "relatedmarketid": {
  11626. "description": "关联交易合约市场ID",
  11627. "type": "integer"
  11628. },
  11629. "sellstatus": {
  11630. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11631. "type": "integer"
  11632. },
  11633. "startprice": {
  11634. "description": "起拍价[大宗式竞拍]",
  11635. "type": "number"
  11636. },
  11637. "starttime": {
  11638. "description": "预售开始时间",
  11639. "type": "string"
  11640. },
  11641. "tradedate": {
  11642. "description": "交易日(yyyyMMdd)",
  11643. "type": "string"
  11644. },
  11645. "tradeprice": {
  11646. "description": "成交价[大宗]",
  11647. "type": "number"
  11648. },
  11649. "userid": {
  11650. "description": "卖方用户ID",
  11651. "type": "integer"
  11652. }
  11653. }
  11654. },
  11655. "cptrade.QueryPresaleGoodsExRsp": {
  11656. "type": "object",
  11657. "required": [
  11658. "goodsid"
  11659. ],
  11660. "properties": {
  11661. "attachmenturl": {
  11662. "description": "附件地址",
  11663. "type": "string"
  11664. },
  11665. "createtime": {
  11666. "description": "创建时间",
  11667. "type": "string"
  11668. },
  11669. "endtime": {
  11670. "description": "预售结束时间",
  11671. "type": "string"
  11672. },
  11673. "floorprice": {
  11674. "description": "底价[大宗式竞拍]",
  11675. "type": "number"
  11676. },
  11677. "goodsdetail": {
  11678. "description": "详情[大宗]",
  11679. "type": "string"
  11680. },
  11681. "goodsid": {
  11682. "description": "商品ID(预售)",
  11683. "type": "integer"
  11684. },
  11685. "goodunit": {
  11686. "description": "报价单位",
  11687. "type": "string"
  11688. },
  11689. "marketid": {
  11690. "description": "预售市场ID - 根据预售模式选择市场",
  11691. "type": "integer"
  11692. },
  11693. "presaledamount": {
  11694. "description": "已预售总金额(预售结束时更新)",
  11695. "type": "number"
  11696. },
  11697. "presaledqty": {
  11698. "description": "已预售量(预售结束时更新)",
  11699. "type": "integer"
  11700. },
  11701. "presalemode": {
  11702. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11703. "type": "integer"
  11704. },
  11705. "presaleqty": {
  11706. "description": "预售数量",
  11707. "type": "integer"
  11708. },
  11709. "refprice": {
  11710. "description": "参考价格[一口价]",
  11711. "type": "number"
  11712. },
  11713. "relatedgoodsid": {
  11714. "description": "关联交易合约ID",
  11715. "type": "integer"
  11716. },
  11717. "relatedmarketid": {
  11718. "description": "关联交易合约市场ID",
  11719. "type": "integer"
  11720. },
  11721. "sellstatus": {
  11722. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11723. "type": "integer"
  11724. },
  11725. "startprice": {
  11726. "description": "起拍价[大宗式竞拍]",
  11727. "type": "number"
  11728. },
  11729. "starttime": {
  11730. "description": "预售开始时间",
  11731. "type": "string"
  11732. },
  11733. "tradedate": {
  11734. "description": "交易日(yyyyMMdd)",
  11735. "type": "string"
  11736. },
  11737. "tradeprice": {
  11738. "description": "成交价[大宗]",
  11739. "type": "number"
  11740. }
  11741. }
  11742. },
  11743. "delivery.QueryDeliveryRelationRsp": {
  11744. "type": "object",
  11745. "required": [
  11746. "begindate",
  11747. "enddate",
  11748. "goodsid",
  11749. "mindeliveryqty",
  11750. "xdeliveryratio"
  11751. ],
  11752. "properties": {
  11753. "begindate": {
  11754. "description": "起始日期(yyyyMMdd)",
  11755. "type": "string"
  11756. },
  11757. "buytemplateid": {
  11758. "description": "买履约计划模板ID",
  11759. "type": "integer"
  11760. },
  11761. "deliverygoodscode": {
  11762. "description": "品种代码",
  11763. "type": "string"
  11764. },
  11765. "deliverygoodsid": {
  11766. "description": "交割商品",
  11767. "type": "integer"
  11768. },
  11769. "deliverygoodsname": {
  11770. "description": "品种名称",
  11771. "type": "string"
  11772. },
  11773. "deliverymode": {
  11774. "description": "交割方式 - 1:点选式 2:申报式",
  11775. "type": "integer"
  11776. },
  11777. "deliverypricerule": {
  11778. "description": "交割价规则- 1:行情价 2:建仓价",
  11779. "type": "integer"
  11780. },
  11781. "deliverytype": {
  11782. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11783. "type": "integer"
  11784. },
  11785. "enddate": {
  11786. "description": "结束日期(yyyyMMdd)",
  11787. "type": "string"
  11788. },
  11789. "goodscode": {
  11790. "description": "商品代码",
  11791. "type": "string"
  11792. },
  11793. "goodsid": {
  11794. "description": "交易合约ID",
  11795. "type": "integer"
  11796. },
  11797. "goodsname": {
  11798. "description": "商品名称",
  11799. "type": "string"
  11800. },
  11801. "marketid": {
  11802. "description": "市场ID",
  11803. "type": "integer"
  11804. },
  11805. "mindeliveryqty": {
  11806. "description": "最小交割系数(K)",
  11807. "type": "integer"
  11808. },
  11809. "p2deliveryprice": {
  11810. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11811. "type": "number"
  11812. },
  11813. "p2deliveryratio": {
  11814. "description": "P2合约系数(p)",
  11815. "type": "integer"
  11816. },
  11817. "p2goodsid": {
  11818. "description": "P2合约ID",
  11819. "type": "integer"
  11820. },
  11821. "p2pricemode": {
  11822. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11823. "type": "integer"
  11824. },
  11825. "pdeliveryprice": {
  11826. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11827. "type": "number"
  11828. },
  11829. "pdeliveryratio": {
  11830. "description": "P合约系数(n)",
  11831. "type": "integer"
  11832. },
  11833. "pgoodsid": {
  11834. "description": "P合约ID",
  11835. "type": "integer"
  11836. },
  11837. "ppricemode": {
  11838. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11839. "type": "integer"
  11840. },
  11841. "rratio": {
  11842. "description": "兑换系数(R)",
  11843. "type": "integer"
  11844. },
  11845. "rratio1": {
  11846. "description": "兑换系数(交易合约)(R1)",
  11847. "type": "integer"
  11848. },
  11849. "rratio2": {
  11850. "description": "兑换系数(仓单标准)(R2)",
  11851. "type": "integer"
  11852. },
  11853. "selltemplateid": {
  11854. "description": "卖履约计划模板ID",
  11855. "type": "integer"
  11856. },
  11857. "wrstandardid": {
  11858. "description": "仓单标准ID",
  11859. "type": "integer"
  11860. },
  11861. "xdeliveryratio": {
  11862. "description": "交易合约系数(m)",
  11863. "type": "integer"
  11864. }
  11865. }
  11866. },
  11867. "ermcp.ExposureDetailRsp": {
  11868. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11869. },
  11870. "ermcp.ExposureHedgePosDetailRsp": {
  11871. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11872. },
  11873. "ermcp.ExposureHedgePositionRsp": {
  11874. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11875. },
  11876. "ermcp.ExposureSpotDetailRsp": {
  11877. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11878. },
  11879. "ermcp.ExposureSpotRsp": {
  11880. "$ref": "#/definitions/models.AreaSpotModel"
  11881. },
  11882. "ermcp.HisExposureRsp": {
  11883. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11884. },
  11885. "ermcp.PendingAuditCntRsp": {
  11886. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11887. },
  11888. "ermcp.QryAvalidGPRsp": {
  11889. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11890. },
  11891. "ermcp.QryBusinessDjRsp": {
  11892. "type": "object",
  11893. "properties": {
  11894. "amount": {
  11895. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11896. "type": "number"
  11897. },
  11898. "applyid": {
  11899. "description": "申请人",
  11900. "type": "string"
  11901. },
  11902. "applyname": {
  11903. "description": "申请人名称",
  11904. "type": "string"
  11905. },
  11906. "applystatus": {
  11907. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11908. "type": "integer"
  11909. },
  11910. "applytime": {
  11911. "description": "申请时间",
  11912. "type": "string"
  11913. },
  11914. "attachurl": {
  11915. "description": "附件",
  11916. "type": "string"
  11917. },
  11918. "auditid": {
  11919. "description": "审核人ID",
  11920. "type": "string"
  11921. },
  11922. "auditname": {
  11923. "description": "审核人名称",
  11924. "type": "string"
  11925. },
  11926. "audittime": {
  11927. "description": "审核时间",
  11928. "type": "string"
  11929. },
  11930. "buyusername": {
  11931. "description": "采购方名称",
  11932. "type": "string"
  11933. },
  11934. "contractno": {
  11935. "description": "合同编号",
  11936. "type": "string"
  11937. },
  11938. "contractstatus": {
  11939. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11940. "type": "integer"
  11941. },
  11942. "contracttype": {
  11943. "description": "现货合同类型 - 1:采购 -1:销售",
  11944. "type": "integer"
  11945. },
  11946. "deliverygoodscode": {
  11947. "description": "现货品种代码",
  11948. "type": "string"
  11949. },
  11950. "deliverygoodsid": {
  11951. "description": "现货商品ID",
  11952. "type": "integer"
  11953. },
  11954. "deliverygoodsname": {
  11955. "description": "现货品种名称",
  11956. "type": "string"
  11957. },
  11958. "enumdicname": {
  11959. "description": "单位名称",
  11960. "type": "string"
  11961. },
  11962. "goodscode": {
  11963. "description": "点价合约",
  11964. "type": "string"
  11965. },
  11966. "goodsname": {
  11967. "description": "商品名称",
  11968. "type": "string"
  11969. },
  11970. "operateapplyid": {
  11971. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11972. "type": "string"
  11973. },
  11974. "operateapplytype": {
  11975. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11976. "type": "integer"
  11977. },
  11978. "pricedPrice": {
  11979. "description": "点价价格(非必填)",
  11980. "type": "number"
  11981. },
  11982. "pricedQty": {
  11983. "description": "点价数量(非必填)",
  11984. "type": "number"
  11985. },
  11986. "pricemove": {
  11987. "description": "升贴水",
  11988. "type": "number"
  11989. },
  11990. "pricetype": {
  11991. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11992. "type": "integer"
  11993. },
  11994. "relatedid": {
  11995. "description": "现货合同ID",
  11996. "type": "string"
  11997. },
  11998. "sellusername": {
  11999. "description": "销售方名字",
  12000. "type": "string"
  12001. },
  12002. "userid": {
  12003. "description": "用户ID",
  12004. "type": "integer"
  12005. },
  12006. "wrstandardcode": {
  12007. "description": "品类代码",
  12008. "type": "string"
  12009. },
  12010. "wrstandardid": {
  12011. "description": "品类id",
  12012. "type": "integer"
  12013. },
  12014. "wrstandardname": {
  12015. "description": "品类名称",
  12016. "type": "string"
  12017. }
  12018. }
  12019. },
  12020. "ermcp.QryBussinessFpRsp": {
  12021. "type": "object",
  12022. "properties": {
  12023. "applyid": {
  12024. "description": "申请人",
  12025. "type": "string"
  12026. },
  12027. "applyname": {
  12028. "description": "申请人名称",
  12029. "type": "string"
  12030. },
  12031. "applystatus": {
  12032. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12033. "type": "integer"
  12034. },
  12035. "applytime": {
  12036. "description": "申请时间",
  12037. "type": "string"
  12038. },
  12039. "attachurl": {
  12040. "description": "附件",
  12041. "type": "string"
  12042. },
  12043. "auditid": {
  12044. "description": "审核人ID",
  12045. "type": "string"
  12046. },
  12047. "auditname": {
  12048. "description": "审核人名称",
  12049. "type": "string"
  12050. },
  12051. "audittime": {
  12052. "description": "审核时间",
  12053. "type": "string"
  12054. },
  12055. "buyusername": {
  12056. "description": "采购方名称",
  12057. "type": "string"
  12058. },
  12059. "contractno": {
  12060. "description": "合同编号",
  12061. "type": "string"
  12062. },
  12063. "contractstatus": {
  12064. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12065. "type": "integer"
  12066. },
  12067. "contracttype": {
  12068. "description": "现货合同类型 - 1:采购 -1:销售",
  12069. "type": "integer"
  12070. },
  12071. "deliverygoodscode": {
  12072. "description": "现货品种代码",
  12073. "type": "string"
  12074. },
  12075. "deliverygoodsid": {
  12076. "description": "现货商品ID",
  12077. "type": "integer"
  12078. },
  12079. "deliverygoodsname": {
  12080. "description": "现货品种名称",
  12081. "type": "string"
  12082. },
  12083. "enumdicname": {
  12084. "description": "单位名称",
  12085. "type": "string"
  12086. },
  12087. "goodscode": {
  12088. "description": "点价合约",
  12089. "type": "string"
  12090. },
  12091. "goodsname": {
  12092. "description": "商品名称",
  12093. "type": "string"
  12094. },
  12095. "invoiceAmount": {
  12096. "description": "已开收票金额(销售为开票,采购为收票)",
  12097. "type": "number"
  12098. },
  12099. "operateapplyid": {
  12100. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12101. "type": "string"
  12102. },
  12103. "operateapplytype": {
  12104. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12105. "type": "integer"
  12106. },
  12107. "pricemove": {
  12108. "description": "升贴水",
  12109. "type": "number"
  12110. },
  12111. "pricetype": {
  12112. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12113. "type": "integer"
  12114. },
  12115. "relatedid": {
  12116. "description": "现货合同ID",
  12117. "type": "string"
  12118. },
  12119. "sellusername": {
  12120. "description": "销售方名字",
  12121. "type": "string"
  12122. },
  12123. "userid": {
  12124. "description": "用户ID",
  12125. "type": "integer"
  12126. },
  12127. "wrstandardcode": {
  12128. "description": "品类代码",
  12129. "type": "string"
  12130. },
  12131. "wrstandardid": {
  12132. "description": "品类id",
  12133. "type": "integer"
  12134. },
  12135. "wrstandardname": {
  12136. "description": "品类名称",
  12137. "type": "string"
  12138. }
  12139. }
  12140. },
  12141. "ermcp.QryBussinessJsExRsp": {
  12142. "type": "object",
  12143. "properties": {
  12144. "applyid": {
  12145. "description": "申请人",
  12146. "type": "string"
  12147. },
  12148. "applyname": {
  12149. "description": "申请人名称",
  12150. "type": "string"
  12151. },
  12152. "applystatus": {
  12153. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12154. "type": "integer"
  12155. },
  12156. "applytime": {
  12157. "description": "申请时间",
  12158. "type": "string"
  12159. },
  12160. "attachurl": {
  12161. "description": "附件",
  12162. "type": "string"
  12163. },
  12164. "auditid": {
  12165. "description": "审核人ID",
  12166. "type": "string"
  12167. },
  12168. "auditname": {
  12169. "description": "审核人名称",
  12170. "type": "string"
  12171. },
  12172. "audittime": {
  12173. "description": "审核时间",
  12174. "type": "string"
  12175. },
  12176. "buyusername": {
  12177. "description": "采购方名称",
  12178. "type": "string"
  12179. },
  12180. "contractno": {
  12181. "description": "合同编号",
  12182. "type": "string"
  12183. },
  12184. "contractstatus": {
  12185. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12186. "type": "integer"
  12187. },
  12188. "contracttype": {
  12189. "description": "现货合同类型 - 1:采购 -1:销售",
  12190. "type": "integer"
  12191. },
  12192. "deliverygoodscode": {
  12193. "description": "现货品种代码",
  12194. "type": "string"
  12195. },
  12196. "deliverygoodsid": {
  12197. "description": "现货商品ID",
  12198. "type": "integer"
  12199. },
  12200. "deliverygoodsname": {
  12201. "description": "现货品种名称",
  12202. "type": "string"
  12203. },
  12204. "enumdicname": {
  12205. "description": "单位名称",
  12206. "type": "string"
  12207. },
  12208. "goodscode": {
  12209. "description": "点价合约",
  12210. "type": "string"
  12211. },
  12212. "goodsname": {
  12213. "description": "商品名称",
  12214. "type": "string"
  12215. },
  12216. "operateapplyid": {
  12217. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12218. "type": "string"
  12219. },
  12220. "operateapplytype": {
  12221. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12222. "type": "integer"
  12223. },
  12224. "pricemove": {
  12225. "description": "升贴水",
  12226. "type": "number"
  12227. },
  12228. "pricetype": {
  12229. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12230. "type": "integer"
  12231. },
  12232. "reckontype": {
  12233. "description": "结算类型",
  12234. "type": "string"
  12235. },
  12236. "reckonvalue": {
  12237. "description": "值",
  12238. "type": "number"
  12239. },
  12240. "relatedid": {
  12241. "description": "现货合同ID",
  12242. "type": "string"
  12243. },
  12244. "sellusername": {
  12245. "description": "销售方名字",
  12246. "type": "string"
  12247. },
  12248. "userid": {
  12249. "description": "用户ID",
  12250. "type": "integer"
  12251. },
  12252. "wrstandardcode": {
  12253. "description": "品类代码",
  12254. "type": "string"
  12255. },
  12256. "wrstandardid": {
  12257. "description": "品类id",
  12258. "type": "integer"
  12259. },
  12260. "wrstandardname": {
  12261. "description": "品类名称",
  12262. "type": "string"
  12263. }
  12264. }
  12265. },
  12266. "ermcp.QryBussinessJsRsp": {
  12267. "type": "object",
  12268. "properties": {
  12269. "addmargin": {
  12270. "description": "追加保证金(非必填)",
  12271. "type": "number"
  12272. },
  12273. "applyid": {
  12274. "description": "申请人",
  12275. "type": "string"
  12276. },
  12277. "applyname": {
  12278. "description": "申请人名称",
  12279. "type": "string"
  12280. },
  12281. "applystatus": {
  12282. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12283. "type": "integer"
  12284. },
  12285. "applytime": {
  12286. "description": "申请时间",
  12287. "type": "string"
  12288. },
  12289. "attachurl": {
  12290. "description": "附件",
  12291. "type": "string"
  12292. },
  12293. "auditid": {
  12294. "description": "审核人ID",
  12295. "type": "string"
  12296. },
  12297. "auditname": {
  12298. "description": "审核人名称",
  12299. "type": "string"
  12300. },
  12301. "audittime": {
  12302. "description": "审核时间",
  12303. "type": "string"
  12304. },
  12305. "buyusername": {
  12306. "description": "采购方名称",
  12307. "type": "string"
  12308. },
  12309. "contractno": {
  12310. "description": "合同编号",
  12311. "type": "string"
  12312. },
  12313. "contractstatus": {
  12314. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12315. "type": "integer"
  12316. },
  12317. "contracttype": {
  12318. "description": "现货合同类型 - 1:采购 -1:销售",
  12319. "type": "integer"
  12320. },
  12321. "decmargin": {
  12322. "description": "减少保证金(非必填)",
  12323. "type": "number"
  12324. },
  12325. "deliverygoodscode": {
  12326. "description": "现货品种代码",
  12327. "type": "string"
  12328. },
  12329. "deliverygoodsid": {
  12330. "description": "现货商品ID",
  12331. "type": "integer"
  12332. },
  12333. "deliverygoodsname": {
  12334. "description": "现货品种名称",
  12335. "type": "string"
  12336. },
  12337. "enumdicname": {
  12338. "description": "单位名称",
  12339. "type": "string"
  12340. },
  12341. "goodscode": {
  12342. "description": "点价合约",
  12343. "type": "string"
  12344. },
  12345. "goodsname": {
  12346. "description": "商品名称",
  12347. "type": "string"
  12348. },
  12349. "operateapplyid": {
  12350. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12351. "type": "string"
  12352. },
  12353. "operateapplytype": {
  12354. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12355. "type": "integer"
  12356. },
  12357. "pricemove": {
  12358. "description": "升贴水",
  12359. "type": "number"
  12360. },
  12361. "pricetype": {
  12362. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12363. "type": "integer"
  12364. },
  12365. "reckonadjustamount": {
  12366. "description": "结算调整金额(非必填)",
  12367. "type": "number"
  12368. },
  12369. "reckonosamount": {
  12370. "description": "结算溢短金额(非必填)",
  12371. "type": "number"
  12372. },
  12373. "reckonotheramount": {
  12374. "description": "结算其他费用(非必填)",
  12375. "type": "number"
  12376. },
  12377. "reckonrealqty": {
  12378. "description": "结算实际数量(非必填)",
  12379. "type": "number"
  12380. },
  12381. "relatedid": {
  12382. "description": "现货合同ID",
  12383. "type": "string"
  12384. },
  12385. "sellusername": {
  12386. "description": "销售方名字",
  12387. "type": "string"
  12388. },
  12389. "userid": {
  12390. "description": "用户ID",
  12391. "type": "integer"
  12392. },
  12393. "wrstandardcode": {
  12394. "description": "品类代码",
  12395. "type": "string"
  12396. },
  12397. "wrstandardid": {
  12398. "description": "品类id",
  12399. "type": "integer"
  12400. },
  12401. "wrstandardname": {
  12402. "description": "品类名称",
  12403. "type": "string"
  12404. }
  12405. }
  12406. },
  12407. "ermcp.QryBussinessKxRsp": {
  12408. "type": "object",
  12409. "properties": {
  12410. "applyid": {
  12411. "description": "申请人",
  12412. "type": "string"
  12413. },
  12414. "applyname": {
  12415. "description": "申请人名称",
  12416. "type": "string"
  12417. },
  12418. "applystatus": {
  12419. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12420. "type": "integer"
  12421. },
  12422. "applytime": {
  12423. "description": "申请时间",
  12424. "type": "string"
  12425. },
  12426. "attachurl": {
  12427. "description": "附件",
  12428. "type": "string"
  12429. },
  12430. "auditid": {
  12431. "description": "审核人ID",
  12432. "type": "string"
  12433. },
  12434. "auditname": {
  12435. "description": "审核人名称",
  12436. "type": "string"
  12437. },
  12438. "audittime": {
  12439. "description": "审核时间",
  12440. "type": "string"
  12441. },
  12442. "buyusername": {
  12443. "description": "采购方名称",
  12444. "type": "string"
  12445. },
  12446. "contractno": {
  12447. "description": "合同编号",
  12448. "type": "string"
  12449. },
  12450. "contractstatus": {
  12451. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12452. "type": "integer"
  12453. },
  12454. "contracttype": {
  12455. "description": "现货合同类型 - 1:采购 -1:销售",
  12456. "type": "integer"
  12457. },
  12458. "deductamount": {
  12459. "description": "退款(非必填)",
  12460. "type": "number"
  12461. },
  12462. "deliverygoodscode": {
  12463. "description": "现货品种代码",
  12464. "type": "string"
  12465. },
  12466. "deliverygoodsid": {
  12467. "description": "现货商品ID",
  12468. "type": "integer"
  12469. },
  12470. "deliverygoodsname": {
  12471. "description": "现货品种名称",
  12472. "type": "string"
  12473. },
  12474. "enumdicname": {
  12475. "description": "单位名称",
  12476. "type": "string"
  12477. },
  12478. "goodscode": {
  12479. "description": "点价合约",
  12480. "type": "string"
  12481. },
  12482. "goodsname": {
  12483. "description": "商品名称",
  12484. "type": "string"
  12485. },
  12486. "kxtype": {
  12487. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12488. "type": "integer"
  12489. },
  12490. "operateapplyid": {
  12491. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12492. "type": "string"
  12493. },
  12494. "operateapplytype": {
  12495. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12496. "type": "integer"
  12497. },
  12498. "payamount": {
  12499. "description": "收付款(非必填)",
  12500. "type": "number"
  12501. },
  12502. "pricemove": {
  12503. "description": "升贴水",
  12504. "type": "number"
  12505. },
  12506. "pricetype": {
  12507. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12508. "type": "integer"
  12509. },
  12510. "relatedid": {
  12511. "description": "现货合同ID",
  12512. "type": "string"
  12513. },
  12514. "sellusername": {
  12515. "description": "销售方名字",
  12516. "type": "string"
  12517. },
  12518. "userid": {
  12519. "description": "用户ID",
  12520. "type": "integer"
  12521. },
  12522. "wrstandardcode": {
  12523. "description": "品类代码",
  12524. "type": "string"
  12525. },
  12526. "wrstandardid": {
  12527. "description": "品类id",
  12528. "type": "integer"
  12529. },
  12530. "wrstandardname": {
  12531. "description": "品类名称",
  12532. "type": "string"
  12533. }
  12534. }
  12535. },
  12536. "ermcp.QryGGCovertCfgRsp": {
  12537. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12538. },
  12539. "ermcp.QryMGChangeLogRsp": {
  12540. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12541. },
  12542. "ermcp.QryMiddleGoodsDetailRsp": {
  12543. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12544. },
  12545. "ermcp.QryMiddleGoodsRsp": {
  12546. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12547. },
  12548. "ermcp.QryOPLogRsp": {
  12549. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12550. },
  12551. "ermcp.QryUserInfoRsp": {
  12552. "$ref": "#/definitions/models.ErmcpUserModel"
  12553. },
  12554. "ermcp.QryWarehouseRsp": {
  12555. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12556. },
  12557. "ermcp.QueryErmcpTradePositionRsp": {
  12558. "type": "object",
  12559. "properties": {
  12560. "agreeunit": {
  12561. "description": "合约单位",
  12562. "type": "number"
  12563. },
  12564. "buyorsell": {
  12565. "description": "方向 - 0:买 1:卖",
  12566. "type": "integer"
  12567. },
  12568. "curpositionqty": {
  12569. "description": "持仓(总仓数量, 期末头寸)",
  12570. "type": "integer"
  12571. },
  12572. "curtdposition": {
  12573. "description": "今仓数量(期末今日头寸)",
  12574. "type": "integer"
  12575. },
  12576. "curtdpositionenabled": {
  12577. "description": "今仓可用",
  12578. "type": "integer"
  12579. },
  12580. "decimalplace": {
  12581. "description": "报价小数位",
  12582. "type": "integer"
  12583. },
  12584. "enableqty": {
  12585. "description": "可用(总仓可用)",
  12586. "type": "integer"
  12587. },
  12588. "exexchangename": {
  12589. "description": "外部交易所名称",
  12590. "type": "string"
  12591. },
  12592. "goodscode": {
  12593. "description": "商品代码(内部)",
  12594. "type": "string"
  12595. },
  12596. "goodsid": {
  12597. "description": "商品ID(自增ID SEQ_GOODS)",
  12598. "type": "integer"
  12599. },
  12600. "goodsname": {
  12601. "description": "商品名称",
  12602. "type": "string"
  12603. },
  12604. "last": {
  12605. "description": "现价",
  12606. "type": "number"
  12607. },
  12608. "marketid": {
  12609. "description": "所属市场ID",
  12610. "type": "integer"
  12611. },
  12612. "openaverageprice": {
  12613. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12614. "type": "number"
  12615. },
  12616. "opencost": {
  12617. "description": "开仓成本",
  12618. "type": "number"
  12619. },
  12620. "openpl": {
  12621. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12622. "type": "number"
  12623. },
  12624. "outgoodscode": {
  12625. "description": "商品代码(外部)",
  12626. "type": "string"
  12627. },
  12628. "positionaverageprice": {
  12629. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12630. "type": "number"
  12631. },
  12632. "positioncost": {
  12633. "description": "持仓成本",
  12634. "type": "number"
  12635. },
  12636. "positionpl": {
  12637. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12638. "type": "number"
  12639. },
  12640. "positionplrate": {
  12641. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12642. "type": "number"
  12643. },
  12644. "usedmargin": {
  12645. "description": "占用保证金",
  12646. "type": "number"
  12647. }
  12648. }
  12649. },
  12650. "ermcp.RealtimeExposurePositionRsp": {
  12651. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12652. },
  12653. "ermcp.RealtimeExposureRsp": {
  12654. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12655. },
  12656. "erms2.QueryArbitrageStrategyRsp": {
  12657. "type": "object",
  12658. "required": [
  12659. "asapplyid"
  12660. ],
  12661. "properties": {
  12662. "applybasis": {
  12663. "description": "申请基差",
  12664. "type": "number"
  12665. },
  12666. "asapplyid": {
  12667. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12668. "type": "string"
  12669. },
  12670. "asname": {
  12671. "description": "策略名称",
  12672. "type": "string"
  12673. },
  12674. "asno": {
  12675. "description": "策略编号",
  12676. "type": "string"
  12677. },
  12678. "basischangepl": {
  12679. "description": "基差变动损益[结算更新]",
  12680. "type": "number"
  12681. },
  12682. "biztype": {
  12683. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12684. "type": "integer"
  12685. },
  12686. "closetradedate": {
  12687. "description": "完结交易日(yyyyMMdd)",
  12688. "type": "string"
  12689. },
  12690. "curbasis": {
  12691. "description": "当前基差[结算更新]",
  12692. "type": "number"
  12693. },
  12694. "deliverygoodsid": {
  12695. "description": "现货品种ID",
  12696. "type": "integer"
  12697. },
  12698. "futureavgprice": {
  12699. "description": "期货建仓均价",
  12700. "type": "number"
  12701. },
  12702. "futurecloseamount": {
  12703. "description": "期货平仓金额",
  12704. "type": "number"
  12705. },
  12706. "futurecloseqty": {
  12707. "description": "期货平仓数量",
  12708. "type": "number"
  12709. },
  12710. "futureopenamount": {
  12711. "description": "期货开仓金额",
  12712. "type": "number"
  12713. },
  12714. "futureopenqty": {
  12715. "description": "期货开仓数量",
  12716. "type": "number"
  12717. },
  12718. "futurepl": {
  12719. "description": "期货总盈亏[结算更新]",
  12720. "type": "number"
  12721. },
  12722. "futureqty": {
  12723. "description": "期货持仓数量",
  12724. "type": "number"
  12725. },
  12726. "futurequote": {
  12727. "description": "期货额度",
  12728. "type": "number"
  12729. },
  12730. "goodsgroupid": {
  12731. "description": "期货品种ID",
  12732. "type": "integer"
  12733. },
  12734. "marketid": {
  12735. "description": "市场ID",
  12736. "type": "integer"
  12737. },
  12738. "netexposure": {
  12739. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12740. "type": "number"
  12741. },
  12742. "netexposurepl": {
  12743. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12744. "type": "number"
  12745. },
  12746. "netexposurerate": {
  12747. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12748. "type": "number"
  12749. },
  12750. "openbasis": {
  12751. "description": "建仓基差",
  12752. "type": "number"
  12753. },
  12754. "pricedspotqty": {
  12755. "description": "已定价现货数量",
  12756. "type": "number"
  12757. },
  12758. "pricedspotqtynotax": {
  12759. "description": "已定价现货不含税数量",
  12760. "type": "number"
  12761. },
  12762. "remark": {
  12763. "description": "备注",
  12764. "type": "string"
  12765. },
  12766. "spotavgprice": {
  12767. "description": "现货均价",
  12768. "type": "number"
  12769. },
  12770. "spotbuyamount": {
  12771. "description": "现货采购金额",
  12772. "type": "number"
  12773. },
  12774. "spotbuyqty": {
  12775. "description": "现货采购数量",
  12776. "type": "number"
  12777. },
  12778. "spotpl": {
  12779. "description": "现货总盈亏[结算更新]",
  12780. "type": "number"
  12781. },
  12782. "spotquota": {
  12783. "description": "现货额度",
  12784. "type": "number"
  12785. },
  12786. "spotsellamount": {
  12787. "description": "现货销售金额",
  12788. "type": "number"
  12789. },
  12790. "spotsellqty": {
  12791. "description": "现货销售数量",
  12792. "type": "number"
  12793. },
  12794. "spotusedquota": {
  12795. "description": "现货占用资金",
  12796. "type": "number"
  12797. },
  12798. "strategystatus": {
  12799. "description": "策略状态 - 0:未结束 1:已结束",
  12800. "type": "integer"
  12801. },
  12802. "totalpl": {
  12803. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12804. "type": "number"
  12805. },
  12806. "tradedate": {
  12807. "description": "交易日(yyyyMMdd)",
  12808. "type": "string"
  12809. },
  12810. "updatetime": {
  12811. "description": "更新时间",
  12812. "type": "string"
  12813. },
  12814. "usedquota": {
  12815. "description": "已占用资金",
  12816. "type": "number"
  12817. },
  12818. "userid": {
  12819. "description": "所属机构",
  12820. "type": "integer"
  12821. }
  12822. }
  12823. },
  12824. "erms2.QueryInnerTradeDetailRsp": {
  12825. "type": "object",
  12826. "required": [
  12827. "asapplyid",
  12828. "buyorsell",
  12829. "goodscode",
  12830. "goodsgroupid",
  12831. "goodsgroupname",
  12832. "goodsname",
  12833. "tradeid"
  12834. ],
  12835. "properties": {
  12836. "accountid": {
  12837. "description": "账号ID",
  12838. "type": "integer"
  12839. },
  12840. "agreeunit": {
  12841. "description": "合约单位",
  12842. "type": "number"
  12843. },
  12844. "asapplyid": {
  12845. "description": "策略申请ID",
  12846. "type": "integer"
  12847. },
  12848. "asname": {
  12849. "description": "策略名称",
  12850. "type": "string"
  12851. },
  12852. "asno": {
  12853. "description": "策略编号",
  12854. "type": "string"
  12855. },
  12856. "buyorsell": {
  12857. "description": "方向 - 0:买 1:卖",
  12858. "type": "integer"
  12859. },
  12860. "channelbuildtype": {
  12861. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12862. "type": "integer"
  12863. },
  12864. "closetype": {
  12865. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12866. "type": "integer"
  12867. },
  12868. "decimalplace": {
  12869. "description": "报价小数位",
  12870. "type": "integer"
  12871. },
  12872. "detailtype": {
  12873. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12874. "type": "integer"
  12875. },
  12876. "exexchangecode": {
  12877. "description": "外部交易所代码",
  12878. "type": "string"
  12879. },
  12880. "exexchangename": {
  12881. "description": "外部交易所名称",
  12882. "type": "string"
  12883. },
  12884. "goodscode": {
  12885. "description": "商品代码(合约)",
  12886. "type": "string"
  12887. },
  12888. "goodsgroupid": {
  12889. "description": "商品组ID(品种ID)",
  12890. "type": "integer"
  12891. },
  12892. "goodsgroupname": {
  12893. "description": "商品组名称(品种)",
  12894. "type": "string"
  12895. },
  12896. "goodsid": {
  12897. "description": "商品ID",
  12898. "type": "integer"
  12899. },
  12900. "goodsname": {
  12901. "description": "商品名称(合约)",
  12902. "type": "string"
  12903. },
  12904. "goodunit": {
  12905. "description": "报价单位",
  12906. "type": "string"
  12907. },
  12908. "marketid": {
  12909. "description": "市场ID",
  12910. "type": "integer"
  12911. },
  12912. "orderid": {
  12913. "description": "委托单号",
  12914. "type": "string"
  12915. },
  12916. "outgoodscode": {
  12917. "description": "商品代码(外部)",
  12918. "type": "string"
  12919. },
  12920. "relatedouttradeid": {
  12921. "description": "关联外部成交单ID",
  12922. "type": "string"
  12923. },
  12924. "remark": {
  12925. "description": "备注",
  12926. "type": "string"
  12927. },
  12928. "spotcontractid": {
  12929. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12930. "type": "integer"
  12931. },
  12932. "spotcontractno": {
  12933. "description": "现货合同编号",
  12934. "type": "string"
  12935. },
  12936. "tradeid": {
  12937. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12938. "type": "string"
  12939. },
  12940. "tradeprice": {
  12941. "description": "成交价格",
  12942. "type": "number"
  12943. },
  12944. "tradeqty": {
  12945. "description": "成交数量",
  12946. "type": "integer"
  12947. },
  12948. "tradetime": {
  12949. "description": "成交时间",
  12950. "type": "string"
  12951. },
  12952. "updatetime": {
  12953. "description": "更新时间",
  12954. "type": "string"
  12955. }
  12956. }
  12957. },
  12958. "erms2.QuerySpotContractRsp": {
  12959. "type": "object",
  12960. "required": [
  12961. "spotcontractid"
  12962. ],
  12963. "properties": {
  12964. "accountid": {
  12965. "description": "资金账户ID",
  12966. "type": "integer"
  12967. },
  12968. "areauserid": {
  12969. "description": "所属机构",
  12970. "type": "integer"
  12971. },
  12972. "closedate": {
  12973. "description": "终止日期",
  12974. "type": "string"
  12975. },
  12976. "closeremark": {
  12977. "description": "结束备注",
  12978. "type": "string"
  12979. },
  12980. "closetradedate": {
  12981. "description": "完结交易日(yyyyMMdd)",
  12982. "type": "string"
  12983. },
  12984. "closetype": {
  12985. "description": "终止类型 - 1:违约 2:提前终止",
  12986. "type": "integer"
  12987. },
  12988. "contractamount": {
  12989. "description": "合同金额",
  12990. "type": "number"
  12991. },
  12992. "contractattachment": {
  12993. "description": "合同附件",
  12994. "type": "string"
  12995. },
  12996. "contractno": {
  12997. "description": "现货合同编号",
  12998. "type": "string"
  12999. },
  13000. "contractqty": {
  13001. "description": "合同数量(数值) (用于计算)",
  13002. "type": "number"
  13003. },
  13004. "contractqtychar": {
  13005. "description": "合同数量\\已订价数量 (用于显示)",
  13006. "type": "string"
  13007. },
  13008. "contractstatus": {
  13009. "description": "合同状态 - 0:未结束 1:已结束",
  13010. "type": "integer"
  13011. },
  13012. "contracttype": {
  13013. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13014. "type": "integer"
  13015. },
  13016. "customeraccountid": {
  13017. "description": "客户资金账户ID",
  13018. "type": "integer"
  13019. },
  13020. "customeruserid": {
  13021. "description": "客户ID",
  13022. "type": "integer"
  13023. },
  13024. "deliverygoodsdesc": {
  13025. "description": "品种说明",
  13026. "type": "string"
  13027. },
  13028. "deliverygoodsid": {
  13029. "description": "现货品种ID",
  13030. "type": "integer"
  13031. },
  13032. "handlestatus": {
  13033. "description": "处理状态",
  13034. "type": "integer"
  13035. },
  13036. "invoiceatt": {
  13037. "description": "发票附件",
  13038. "type": "string"
  13039. },
  13040. "invoicedatetime": {
  13041. "description": "开收票更新时间",
  13042. "type": "string"
  13043. },
  13044. "invoiceopentime": {
  13045. "description": "开票时间",
  13046. "type": "string"
  13047. },
  13048. "invoiceremark": {
  13049. "description": "发票备注",
  13050. "type": "string"
  13051. },
  13052. "invoicestatus": {
  13053. "description": "开收票状态 - 0:未开票 1:已开票",
  13054. "type": "integer"
  13055. },
  13056. "lastdate": {
  13057. "description": "交货时间",
  13058. "type": "string"
  13059. },
  13060. "marketid": {
  13061. "description": "市场ID",
  13062. "type": "integer"
  13063. },
  13064. "paydatetime": {
  13065. "description": "收付款更新时间",
  13066. "type": "string"
  13067. },
  13068. "payremark": {
  13069. "description": "收付款备注",
  13070. "type": "string"
  13071. },
  13072. "paystatus": {
  13073. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13074. "type": "integer"
  13075. },
  13076. "positionqty": {
  13077. "description": "头寸数量 - 合同数量去小数部分",
  13078. "type": "integer"
  13079. },
  13080. "producttype": {
  13081. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13082. "type": "integer"
  13083. },
  13084. "relatedqty": {
  13085. "description": "已关联数量",
  13086. "type": "number"
  13087. },
  13088. "relatedstatus": {
  13089. "description": "关联完结状态 - 0:未结束 1:已结束",
  13090. "type": "integer"
  13091. },
  13092. "remark": {
  13093. "description": "备注",
  13094. "type": "string"
  13095. },
  13096. "signdate": {
  13097. "description": "签订日期",
  13098. "type": "string"
  13099. },
  13100. "spotcontractid": {
  13101. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13102. "type": "string"
  13103. },
  13104. "spotdatetime": {
  13105. "description": "收发货更新时间",
  13106. "type": "string"
  13107. },
  13108. "spotprice": {
  13109. "description": "价格",
  13110. "type": "number"
  13111. },
  13112. "spotremark": {
  13113. "description": "收发货备注",
  13114. "type": "string"
  13115. },
  13116. "spotstatus": {
  13117. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13118. "type": "integer"
  13119. },
  13120. "tradedate": {
  13121. "description": "交易日(yyyyMMdd)",
  13122. "type": "string"
  13123. },
  13124. "userid": {
  13125. "description": "业务员用户ID",
  13126. "type": "integer"
  13127. },
  13128. "warehouseid": {
  13129. "description": "仓库ID",
  13130. "type": "integer"
  13131. },
  13132. "wrfactortypeid": {
  13133. "description": "仓单要素类型ID",
  13134. "type": "integer"
  13135. },
  13136. "wrstandardid": {
  13137. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13138. "type": "integer"
  13139. }
  13140. }
  13141. },
  13142. "erms3.AddErms2ASApplyReq": {
  13143. "type": "object",
  13144. "required": [
  13145. "asapplyid"
  13146. ],
  13147. "properties": {
  13148. "applybasis": {
  13149. "description": "申请基差",
  13150. "type": "number"
  13151. },
  13152. "applystatus": {
  13153. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13154. "type": "integer"
  13155. },
  13156. "asapplyid": {
  13157. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13158. "type": "integer"
  13159. },
  13160. "asname": {
  13161. "description": "策略名称",
  13162. "type": "string"
  13163. },
  13164. "asno": {
  13165. "description": "策略编号",
  13166. "type": "string"
  13167. },
  13168. "auditid": {
  13169. "description": "审核人",
  13170. "type": "integer"
  13171. },
  13172. "auditremark": {
  13173. "description": "审核备注",
  13174. "type": "string"
  13175. },
  13176. "audittime": {
  13177. "description": "审核时间",
  13178. "type": "string"
  13179. },
  13180. "biztype": {
  13181. "description": "业务类型 - 1:正向套利 2:反向套利",
  13182. "type": "integer"
  13183. },
  13184. "createtime": {
  13185. "description": "创建时间",
  13186. "type": "string"
  13187. },
  13188. "creatorid": {
  13189. "description": "创建人",
  13190. "type": "integer"
  13191. },
  13192. "deliverygoodsid": {
  13193. "description": "现货品种ID",
  13194. "type": "integer"
  13195. },
  13196. "futurequote": {
  13197. "description": "期货额度",
  13198. "type": "number"
  13199. },
  13200. "goodsgroupid": {
  13201. "description": "期货品种ID",
  13202. "type": "integer"
  13203. },
  13204. "marketid": {
  13205. "description": "市场ID",
  13206. "type": "integer"
  13207. },
  13208. "remark": {
  13209. "description": "备注",
  13210. "type": "string"
  13211. },
  13212. "spotquota": {
  13213. "description": "现货额度",
  13214. "type": "number"
  13215. },
  13216. "tradedate": {
  13217. "description": "交易日(yyyyMMdd)",
  13218. "type": "string"
  13219. },
  13220. "userid": {
  13221. "description": "所属机构",
  13222. "type": "integer"
  13223. }
  13224. }
  13225. },
  13226. "erms3.AddErms2SpotTradeApplyReq": {
  13227. "type": "object",
  13228. "required": [
  13229. "spottradeid"
  13230. ],
  13231. "properties": {
  13232. "applyjsondetail": {
  13233. "description": "申请明细(JSON)",
  13234. "type": "string"
  13235. },
  13236. "applystatus": {
  13237. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13238. "type": "integer"
  13239. },
  13240. "areauserid": {
  13241. "description": "所属机构",
  13242. "type": "integer"
  13243. },
  13244. "auditid": {
  13245. "description": "审核人",
  13246. "type": "integer"
  13247. },
  13248. "auditremark": {
  13249. "description": "审核备注",
  13250. "type": "string"
  13251. },
  13252. "audittime": {
  13253. "description": "审核时间",
  13254. "type": "string"
  13255. },
  13256. "createtime": {
  13257. "description": "创建时间",
  13258. "type": "string"
  13259. },
  13260. "creatorid": {
  13261. "description": "创建人",
  13262. "type": "integer"
  13263. },
  13264. "deliverygoodsid": {
  13265. "description": "现货品种ID",
  13266. "type": "integer"
  13267. },
  13268. "futureaccountid": {
  13269. "description": "期货资金账户",
  13270. "type": "integer"
  13271. },
  13272. "goodsgroupid": {
  13273. "description": "期货品种",
  13274. "type": "integer"
  13275. },
  13276. "marketid": {
  13277. "description": "市场ID",
  13278. "type": "integer"
  13279. },
  13280. "remark": {
  13281. "description": "备注",
  13282. "type": "string"
  13283. },
  13284. "spotaccountid": {
  13285. "description": "现货资金账户",
  13286. "type": "integer"
  13287. },
  13288. "spottradeid": {
  13289. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13290. "type": "integer"
  13291. },
  13292. "spottradename": {
  13293. "description": "业务名称",
  13294. "type": "string"
  13295. },
  13296. "spottradeno": {
  13297. "description": "业务编号",
  13298. "type": "string"
  13299. },
  13300. "tradedate": {
  13301. "description": "交易日(yyyyMMdd)",
  13302. "type": "string"
  13303. },
  13304. "wrstandardid": {
  13305. "description": "仓单标准ID",
  13306. "type": "integer"
  13307. }
  13308. }
  13309. },
  13310. "erms3.AddSpotContractApplyReq": {
  13311. "type": "object",
  13312. "required": [
  13313. "accountid",
  13314. "areauserid",
  13315. "contractno",
  13316. "contracttype",
  13317. "customeraccountid",
  13318. "customeruserid",
  13319. "details",
  13320. "orimargin",
  13321. "signdate"
  13322. ],
  13323. "properties": {
  13324. "accountid": {
  13325. "description": "资金账户ID",
  13326. "type": "integer"
  13327. },
  13328. "areauserid": {
  13329. "description": "所属机构",
  13330. "type": "integer"
  13331. },
  13332. "contractattachment": {
  13333. "description": "合同附件",
  13334. "type": "string"
  13335. },
  13336. "contractno": {
  13337. "description": "现货合同编号",
  13338. "type": "string"
  13339. },
  13340. "contracttype": {
  13341. "description": "现货合同类型 - 1:采购 -1:销售",
  13342. "type": "integer"
  13343. },
  13344. "creatorid": {
  13345. "description": "申请人",
  13346. "type": "integer"
  13347. },
  13348. "customeraccountid": {
  13349. "description": "客户资金账户ID",
  13350. "type": "integer"
  13351. },
  13352. "customeruserid": {
  13353. "description": "客户ID",
  13354. "type": "integer"
  13355. },
  13356. "details": {
  13357. "description": "明细",
  13358. "type": "array",
  13359. "items": {
  13360. "$ref": "#/definitions/erms3.SoptContractDetail"
  13361. }
  13362. },
  13363. "orimargin": {
  13364. "description": "初始保证金",
  13365. "type": "number"
  13366. },
  13367. "remark": {
  13368. "description": "备注",
  13369. "type": "string"
  13370. },
  13371. "signdate": {
  13372. "description": "签订日期",
  13373. "type": "string"
  13374. }
  13375. }
  13376. },
  13377. "erms3.AddSpotContractApplyRsp": {
  13378. "type": "object",
  13379. "required": [
  13380. "contractno"
  13381. ],
  13382. "properties": {
  13383. "contractno": {
  13384. "description": "现货合同编号",
  13385. "type": "string"
  13386. },
  13387. "spotcontractid": {
  13388. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13389. "type": "integer"
  13390. }
  13391. }
  13392. },
  13393. "erms3.AddUserInfoApplyReq": {
  13394. "type": "object",
  13395. "required": [
  13396. "userid"
  13397. ],
  13398. "properties": {
  13399. "accountid": {
  13400. "description": "交易系统帐号Id (加密存储)",
  13401. "type": "integer"
  13402. },
  13403. "areacode": {
  13404. "description": "机构代码",
  13405. "type": "string"
  13406. },
  13407. "areaid": {
  13408. "description": "机构Id",
  13409. "type": "integer"
  13410. },
  13411. "attachment1": {
  13412. "description": "附件1",
  13413. "type": "string"
  13414. },
  13415. "attachment2": {
  13416. "description": "附件2",
  13417. "type": "string"
  13418. },
  13419. "attachment3": {
  13420. "description": "附件3",
  13421. "type": "string"
  13422. },
  13423. "attachment4": {
  13424. "description": "附件4",
  13425. "type": "string"
  13426. },
  13427. "attachment5": {
  13428. "description": "附件5",
  13429. "type": "string"
  13430. },
  13431. "auditedby": {
  13432. "description": "审核人",
  13433. "type": "string"
  13434. },
  13435. "auditime": {
  13436. "description": "审核时间",
  13437. "type": "string"
  13438. },
  13439. "auditsrc": {
  13440. "description": "审核来源 - 1:管理端 2:终端",
  13441. "type": "integer"
  13442. },
  13443. "bankaccount": {
  13444. "description": "银行帐号 (加密存储)",
  13445. "type": "string"
  13446. },
  13447. "bankaccountname": {
  13448. "description": "收款人名称",
  13449. "type": "string"
  13450. },
  13451. "bankcardbackphotourl": {
  13452. "description": "银行卡背面照地址",
  13453. "type": "string"
  13454. },
  13455. "bankcardfrontphotourl": {
  13456. "description": "银行卡正面照地址",
  13457. "type": "string"
  13458. },
  13459. "bankid": {
  13460. "description": "银行编码",
  13461. "type": "string"
  13462. },
  13463. "bankname": {
  13464. "description": "银行名称",
  13465. "type": "string"
  13466. },
  13467. "bankpictureurl": {
  13468. "description": "银行卡正面地址",
  13469. "type": "string"
  13470. },
  13471. "biznature": {
  13472. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13473. "type": "integer"
  13474. },
  13475. "bizscope": {
  13476. "description": "企业经营范围(企业)",
  13477. "type": "string"
  13478. },
  13479. "biztype": {
  13480. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13481. "type": "integer"
  13482. },
  13483. "brokerid": {
  13484. "description": "经纪人ID(加密存储)",
  13485. "type": "string"
  13486. },
  13487. "cardaddress": {
  13488. "description": "证件地址 (加密存储)",
  13489. "type": "string"
  13490. },
  13491. "cardbackphotourl": {
  13492. "description": "背面证件照地址",
  13493. "type": "string"
  13494. },
  13495. "cardfrontphotourl": {
  13496. "description": "正面证件照地址",
  13497. "type": "string"
  13498. },
  13499. "cardnum": {
  13500. "description": "证件号码 (加密存储)",
  13501. "type": "string"
  13502. },
  13503. "cardtype": {
  13504. "description": "证件类型",
  13505. "type": "integer"
  13506. },
  13507. "cityid": {
  13508. "description": "市",
  13509. "type": "integer"
  13510. },
  13511. "company": {
  13512. "description": "公司(个人)",
  13513. "type": "string"
  13514. },
  13515. "contactcardbackphotourl": {
  13516. "description": "联系人证件背面图片地址",
  13517. "type": "string"
  13518. },
  13519. "contactcardfrontphotourl": {
  13520. "description": "联系人证件正面图片地址",
  13521. "type": "string"
  13522. },
  13523. "contactname": {
  13524. "description": "联系人",
  13525. "type": "string"
  13526. },
  13527. "countryid": {
  13528. "description": "国家",
  13529. "type": "integer"
  13530. },
  13531. "createtime": {
  13532. "description": "开户申请时间",
  13533. "type": "string"
  13534. },
  13535. "cusbankid": {
  13536. "description": "签约类型",
  13537. "type": "string"
  13538. },
  13539. "cusbankname": {
  13540. "description": "签约类型名称",
  13541. "type": "string"
  13542. },
  13543. "customername": {
  13544. "description": "客户名称(企业名称)",
  13545. "type": "string"
  13546. },
  13547. "districtid": {
  13548. "description": "地区",
  13549. "type": "integer"
  13550. },
  13551. "email": {
  13552. "description": "Email地址(加密存储)",
  13553. "type": "string"
  13554. },
  13555. "halfbodyphotourl": {
  13556. "description": "半身照地址",
  13557. "type": "string"
  13558. },
  13559. "headurl": {
  13560. "description": "头像地址",
  13561. "type": "string"
  13562. },
  13563. "ipaddress": {
  13564. "description": "IP地址",
  13565. "type": "string"
  13566. },
  13567. "isvalidate": {
  13568. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13569. "type": "string"
  13570. },
  13571. "legalcardbackphotourl": {
  13572. "description": "法人身份证背面照地址",
  13573. "type": "string"
  13574. },
  13575. "legalcardfrontphotourl": {
  13576. "description": "法人身份证正面照地址",
  13577. "type": "string"
  13578. },
  13579. "legalpersonname": {
  13580. "description": "法人姓名(企业)",
  13581. "type": "string"
  13582. },
  13583. "logincode": {
  13584. "description": "登录帐号 (加密存储)",
  13585. "type": "string"
  13586. },
  13587. "memberareaid": {
  13588. "description": "所属会员ID",
  13589. "type": "integer"
  13590. },
  13591. "mobile2": {
  13592. "description": "手机号码[明文-尚志]",
  13593. "type": "string"
  13594. },
  13595. "mobilephone": {
  13596. "description": "手机号码 (加密存储)",
  13597. "type": "string"
  13598. },
  13599. "modifiedby": {
  13600. "description": "修改人帐号",
  13601. "type": "integer"
  13602. },
  13603. "modifiedtime": {
  13604. "description": "修改时间",
  13605. "type": "string"
  13606. },
  13607. "nickname": {
  13608. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13609. "type": "string"
  13610. },
  13611. "openmode": {
  13612. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13613. "type": "integer"
  13614. },
  13615. "otherurl": {
  13616. "description": "其它图片地址[使用分号分隔]",
  13617. "type": "string"
  13618. },
  13619. "postalcode": {
  13620. "description": "邮政编码",
  13621. "type": "string"
  13622. },
  13623. "provinceid": {
  13624. "description": "省",
  13625. "type": "integer"
  13626. },
  13627. "proxystatementurl": {
  13628. "description": "授权委托书",
  13629. "type": "string"
  13630. },
  13631. "qq": {
  13632. "description": "QQ(加密存储",
  13633. "type": "string"
  13634. },
  13635. "referral": {
  13636. "description": "推荐人编码",
  13637. "type": "string"
  13638. },
  13639. "remark": {
  13640. "description": "备注",
  13641. "type": "string"
  13642. },
  13643. "removebeforestatus": {
  13644. "description": "REMOVEBEFORESTATUS",
  13645. "type": "integer"
  13646. },
  13647. "sex": {
  13648. "description": "性别 - 0:女 1:男",
  13649. "type": "integer"
  13650. },
  13651. "signedstatus": {
  13652. "description": "账户一号签签约状态",
  13653. "type": "integer"
  13654. },
  13655. "signpdfurl": {
  13656. "description": "签约pdf文件",
  13657. "type": "string"
  13658. },
  13659. "subbranch": {
  13660. "description": "开户支行",
  13661. "type": "string"
  13662. },
  13663. "taxpayernum": {
  13664. "description": "纳税人识别号",
  13665. "type": "string"
  13666. },
  13667. "telphone": {
  13668. "description": "联系电话(加密存储)",
  13669. "type": "string"
  13670. },
  13671. "userid": {
  13672. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13673. "type": "integer"
  13674. },
  13675. "userinfotype": {
  13676. "description": "用户信息类型 - 1:个人 2:企业",
  13677. "type": "integer"
  13678. },
  13679. "username": {
  13680. "description": "用户姓名",
  13681. "type": "string"
  13682. },
  13683. "userstate": {
  13684. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13685. "type": "integer"
  13686. },
  13687. "usertype": {
  13688. "description": "用户类型 - 1:投资者 2:机构",
  13689. "type": "integer"
  13690. },
  13691. "videourl": {
  13692. "description": "视频地址",
  13693. "type": "string"
  13694. },
  13695. "wechat": {
  13696. "description": "微信号 (加密存储)",
  13697. "type": "string"
  13698. }
  13699. }
  13700. },
  13701. "erms3.CustomerInfo": {
  13702. "type": "object",
  13703. "required": [
  13704. "userid"
  13705. ],
  13706. "properties": {
  13707. "accountids": {
  13708. "description": "资金账户ID列表",
  13709. "type": "array",
  13710. "items": {
  13711. "type": "integer"
  13712. }
  13713. },
  13714. "customername": {
  13715. "description": "名称(企业名称)",
  13716. "type": "string"
  13717. },
  13718. "mobile": {
  13719. "description": "手机号码",
  13720. "type": "string"
  13721. },
  13722. "userid": {
  13723. "description": "用户ID",
  13724. "type": "integer"
  13725. }
  13726. }
  13727. },
  13728. "erms3.ModifyUserInfoApplyReq": {
  13729. "type": "object",
  13730. "required": [
  13731. "userid"
  13732. ],
  13733. "properties": {
  13734. "accountid": {
  13735. "description": "交易系统帐号Id (加密存储)",
  13736. "type": "integer"
  13737. },
  13738. "areacode": {
  13739. "description": "机构代码",
  13740. "type": "string"
  13741. },
  13742. "areaid": {
  13743. "description": "机构Id",
  13744. "type": "integer"
  13745. },
  13746. "attachment1": {
  13747. "description": "附件1",
  13748. "type": "string"
  13749. },
  13750. "attachment2": {
  13751. "description": "附件2",
  13752. "type": "string"
  13753. },
  13754. "attachment3": {
  13755. "description": "附件3",
  13756. "type": "string"
  13757. },
  13758. "attachment4": {
  13759. "description": "附件4",
  13760. "type": "string"
  13761. },
  13762. "attachment5": {
  13763. "description": "附件5",
  13764. "type": "string"
  13765. },
  13766. "auditedby": {
  13767. "description": "审核人",
  13768. "type": "string"
  13769. },
  13770. "auditime": {
  13771. "description": "审核时间",
  13772. "type": "string"
  13773. },
  13774. "auditsrc": {
  13775. "description": "审核来源 - 1:管理端 2:终端",
  13776. "type": "integer"
  13777. },
  13778. "bankaccount": {
  13779. "description": "银行帐号 (加密存储)",
  13780. "type": "string"
  13781. },
  13782. "bankaccountname": {
  13783. "description": "收款人名称",
  13784. "type": "string"
  13785. },
  13786. "bankcardbackphotourl": {
  13787. "description": "银行卡背面照地址",
  13788. "type": "string"
  13789. },
  13790. "bankcardfrontphotourl": {
  13791. "description": "银行卡正面照地址",
  13792. "type": "string"
  13793. },
  13794. "bankid": {
  13795. "description": "银行编码",
  13796. "type": "string"
  13797. },
  13798. "bankname": {
  13799. "description": "银行名称",
  13800. "type": "string"
  13801. },
  13802. "bankpictureurl": {
  13803. "description": "银行卡正面地址",
  13804. "type": "string"
  13805. },
  13806. "biznature": {
  13807. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13808. "type": "integer"
  13809. },
  13810. "bizscope": {
  13811. "description": "企业经营范围(企业)",
  13812. "type": "string"
  13813. },
  13814. "biztype": {
  13815. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13816. "type": "integer"
  13817. },
  13818. "brokerid": {
  13819. "description": "经纪人ID(加密存储)",
  13820. "type": "string"
  13821. },
  13822. "cardaddress": {
  13823. "description": "证件地址 (加密存储)",
  13824. "type": "string"
  13825. },
  13826. "cardbackphotourl": {
  13827. "description": "背面证件照地址",
  13828. "type": "string"
  13829. },
  13830. "cardfrontphotourl": {
  13831. "description": "正面证件照地址",
  13832. "type": "string"
  13833. },
  13834. "cardnum": {
  13835. "description": "证件号码 (加密存储)",
  13836. "type": "string"
  13837. },
  13838. "cardtype": {
  13839. "description": "证件类型",
  13840. "type": "integer"
  13841. },
  13842. "cityid": {
  13843. "description": "市",
  13844. "type": "integer"
  13845. },
  13846. "company": {
  13847. "description": "公司(个人)",
  13848. "type": "string"
  13849. },
  13850. "contactcardbackphotourl": {
  13851. "description": "联系人证件背面图片地址",
  13852. "type": "string"
  13853. },
  13854. "contactcardfrontphotourl": {
  13855. "description": "联系人证件正面图片地址",
  13856. "type": "string"
  13857. },
  13858. "contactname": {
  13859. "description": "联系人",
  13860. "type": "string"
  13861. },
  13862. "countryid": {
  13863. "description": "国家",
  13864. "type": "integer"
  13865. },
  13866. "createtime": {
  13867. "description": "开户申请时间",
  13868. "type": "string"
  13869. },
  13870. "cusbankid": {
  13871. "description": "签约类型",
  13872. "type": "string"
  13873. },
  13874. "cusbankname": {
  13875. "description": "签约类型名称",
  13876. "type": "string"
  13877. },
  13878. "customername": {
  13879. "description": "客户名称(企业名称)",
  13880. "type": "string"
  13881. },
  13882. "districtid": {
  13883. "description": "地区",
  13884. "type": "integer"
  13885. },
  13886. "email": {
  13887. "description": "Email地址(加密存储)",
  13888. "type": "string"
  13889. },
  13890. "halfbodyphotourl": {
  13891. "description": "半身照地址",
  13892. "type": "string"
  13893. },
  13894. "headurl": {
  13895. "description": "头像地址",
  13896. "type": "string"
  13897. },
  13898. "ipaddress": {
  13899. "description": "IP地址",
  13900. "type": "string"
  13901. },
  13902. "isvalidate": {
  13903. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13904. "type": "string"
  13905. },
  13906. "legalcardbackphotourl": {
  13907. "description": "法人身份证背面照地址",
  13908. "type": "string"
  13909. },
  13910. "legalcardfrontphotourl": {
  13911. "description": "法人身份证正面照地址",
  13912. "type": "string"
  13913. },
  13914. "legalpersonname": {
  13915. "description": "法人姓名(企业)",
  13916. "type": "string"
  13917. },
  13918. "logincode": {
  13919. "description": "登录帐号 (加密存储)",
  13920. "type": "string"
  13921. },
  13922. "memberareaid": {
  13923. "description": "所属会员ID",
  13924. "type": "integer"
  13925. },
  13926. "mobile2": {
  13927. "description": "手机号码[明文-尚志]",
  13928. "type": "string"
  13929. },
  13930. "mobilephone": {
  13931. "description": "手机号码 (加密存储)",
  13932. "type": "string"
  13933. },
  13934. "modifiedby": {
  13935. "description": "修改人帐号",
  13936. "type": "integer"
  13937. },
  13938. "modifiedtime": {
  13939. "description": "修改时间",
  13940. "type": "string"
  13941. },
  13942. "nickname": {
  13943. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13944. "type": "string"
  13945. },
  13946. "openmode": {
  13947. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13948. "type": "integer"
  13949. },
  13950. "otherurl": {
  13951. "description": "其它图片地址[使用分号分隔]",
  13952. "type": "string"
  13953. },
  13954. "postalcode": {
  13955. "description": "邮政编码",
  13956. "type": "string"
  13957. },
  13958. "provinceid": {
  13959. "description": "省",
  13960. "type": "integer"
  13961. },
  13962. "proxystatementurl": {
  13963. "description": "授权委托书",
  13964. "type": "string"
  13965. },
  13966. "qq": {
  13967. "description": "QQ(加密存储",
  13968. "type": "string"
  13969. },
  13970. "referral": {
  13971. "description": "推荐人编码",
  13972. "type": "string"
  13973. },
  13974. "remark": {
  13975. "description": "备注",
  13976. "type": "string"
  13977. },
  13978. "removebeforestatus": {
  13979. "description": "REMOVEBEFORESTATUS",
  13980. "type": "integer"
  13981. },
  13982. "sex": {
  13983. "description": "性别 - 0:女 1:男",
  13984. "type": "integer"
  13985. },
  13986. "signedstatus": {
  13987. "description": "账户一号签签约状态",
  13988. "type": "integer"
  13989. },
  13990. "signpdfurl": {
  13991. "description": "签约pdf文件",
  13992. "type": "string"
  13993. },
  13994. "subbranch": {
  13995. "description": "开户支行",
  13996. "type": "string"
  13997. },
  13998. "taxpayernum": {
  13999. "description": "纳税人识别号",
  14000. "type": "string"
  14001. },
  14002. "telphone": {
  14003. "description": "联系电话(加密存储)",
  14004. "type": "string"
  14005. },
  14006. "userid": {
  14007. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14008. "type": "integer"
  14009. },
  14010. "userinfotype": {
  14011. "description": "用户信息类型 - 1:个人 2:企业",
  14012. "type": "integer"
  14013. },
  14014. "username": {
  14015. "description": "用户姓名",
  14016. "type": "string"
  14017. },
  14018. "userstate": {
  14019. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14020. "type": "integer"
  14021. },
  14022. "usertype": {
  14023. "description": "用户类型 - 1:投资者 2:机构",
  14024. "type": "integer"
  14025. },
  14026. "videourl": {
  14027. "description": "视频地址",
  14028. "type": "string"
  14029. },
  14030. "wechat": {
  14031. "description": "微信号 (加密存储)",
  14032. "type": "string"
  14033. }
  14034. }
  14035. },
  14036. "erms3.QryAuditContractRsp": {
  14037. "type": "object",
  14038. "required": [
  14039. "matchcustomername",
  14040. "spotcontractid"
  14041. ],
  14042. "properties": {
  14043. "accountid": {
  14044. "description": "交易员ID",
  14045. "type": "string"
  14046. },
  14047. "applystatus": {
  14048. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14049. "type": "integer"
  14050. },
  14051. "curdeliveryqty": {
  14052. "description": "未交收量",
  14053. "type": "integer"
  14054. },
  14055. "customername": {
  14056. "description": "采购方ID",
  14057. "type": "string"
  14058. },
  14059. "deliverygoodsid": {
  14060. "description": "品种ID",
  14061. "type": "string"
  14062. },
  14063. "deliveryqty": {
  14064. "description": "交收量",
  14065. "type": "integer"
  14066. },
  14067. "enumdicname": {
  14068. "description": "单位名称",
  14069. "type": "string"
  14070. },
  14071. "matchaccountid": {
  14072. "description": "业务员ID",
  14073. "type": "string"
  14074. },
  14075. "matchcustomername": {
  14076. "description": "销售方ID",
  14077. "type": "string"
  14078. },
  14079. "pricedqty": {
  14080. "description": "定价量",
  14081. "type": "number"
  14082. },
  14083. "signdate": {
  14084. "description": "签订日期",
  14085. "type": "string"
  14086. },
  14087. "spotcontractid": {
  14088. "description": "合同ID",
  14089. "type": "string"
  14090. },
  14091. "totaldqty": {
  14092. "description": "合同量",
  14093. "type": "number"
  14094. },
  14095. "unpricedqty": {
  14096. "description": "未定价量",
  14097. "type": "number"
  14098. },
  14099. "wrstandardname": {
  14100. "description": "商品名称",
  14101. "type": "string"
  14102. }
  14103. }
  14104. },
  14105. "erms3.QryPendingBizRsp": {
  14106. "$ref": "#/definitions/models.PendingAuditBizModel"
  14107. },
  14108. "erms3.QueryBusinessInfoRsp": {
  14109. "type": "object",
  14110. "properties": {
  14111. "businessid": {
  14112. "description": "业务ID.",
  14113. "type": "integer"
  14114. },
  14115. "buyamount": {
  14116. "description": "采购额.",
  14117. "type": "number"
  14118. },
  14119. "buyqty": {
  14120. "description": "采购量.",
  14121. "type": "string"
  14122. },
  14123. "futurepl": {
  14124. "description": "期货盈亏.",
  14125. "type": "number"
  14126. },
  14127. "futureqty": {
  14128. "description": "期货敞口.",
  14129. "type": "string"
  14130. },
  14131. "goodsid": {
  14132. "description": "商品名称/商品代码.",
  14133. "type": "string"
  14134. },
  14135. "hedgingqty": {
  14136. "description": "套保量.",
  14137. "type": "string"
  14138. },
  14139. "sellamount": {
  14140. "description": "销售额.",
  14141. "type": "number"
  14142. },
  14143. "sellqty": {
  14144. "description": "销售量.",
  14145. "type": "string"
  14146. },
  14147. "spotmarketvalue": {
  14148. "description": "现货市值.",
  14149. "type": "number"
  14150. },
  14151. "spotpl": {
  14152. "description": "浮动权益.",
  14153. "type": "number"
  14154. },
  14155. "spotqty": {
  14156. "description": "现货量.",
  14157. "type": "string"
  14158. },
  14159. "statu": {
  14160. "description": "状态,0-未结束 1-已结束.",
  14161. "type": "integer"
  14162. },
  14163. "totalpl": {
  14164. "description": "总盈亏.",
  14165. "type": "number"
  14166. },
  14167. "totalqty": {
  14168. "description": "总敞口.",
  14169. "type": "string"
  14170. },
  14171. "type": {
  14172. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14173. "type": "integer"
  14174. }
  14175. }
  14176. },
  14177. "erms3.QuerySpotContractAppleFormRsp": {
  14178. "type": "object",
  14179. "properties": {
  14180. "goodses": {
  14181. "description": "合约列表",
  14182. "type": "array",
  14183. "items": {
  14184. "$ref": "#/definitions/models.GoodsIDAndName"
  14185. }
  14186. },
  14187. "oppositeusers": {
  14188. "description": "对方账号列表",
  14189. "type": "array",
  14190. "items": {
  14191. "$ref": "#/definitions/erms3.CustomerInfo"
  14192. }
  14193. },
  14194. "ouruser": {
  14195. "description": "我方账号",
  14196. "type": "object",
  14197. "$ref": "#/definitions/erms3.CustomerInfo"
  14198. },
  14199. "warehouseinfos": {
  14200. "description": "仓库信息列表",
  14201. "type": "array",
  14202. "items": {
  14203. "$ref": "#/definitions/models.Warehouseinfo"
  14204. }
  14205. },
  14206. "wrstandards": {
  14207. "description": "仓单标准列表",
  14208. "type": "array",
  14209. "items": {
  14210. "$ref": "#/definitions/models.WRStandardInfo"
  14211. }
  14212. }
  14213. }
  14214. },
  14215. "erms3.QuerySpotContractInfoRsp": {
  14216. "type": "object",
  14217. "properties": {
  14218. "accountid": {
  14219. "description": "表示交易员ID.",
  14220. "type": "integer"
  14221. },
  14222. "curdeliveryqty": {
  14223. "description": "表示未交收量.",
  14224. "type": "number"
  14225. },
  14226. "customername": {
  14227. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14228. "type": "string"
  14229. },
  14230. "deliverygoodsid": {
  14231. "description": "表示品种ID.",
  14232. "type": "string"
  14233. },
  14234. "deliveryqty": {
  14235. "description": "表示交收量.",
  14236. "type": "number"
  14237. },
  14238. "matchaccountid": {
  14239. "description": "表示业务员ID.",
  14240. "type": "integer"
  14241. },
  14242. "matchcustomername": {
  14243. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14244. "type": "string"
  14245. },
  14246. "priceqty": {
  14247. "description": "表示定价量.",
  14248. "type": "number"
  14249. },
  14250. "relatedbizid": {
  14251. "description": "表示业务ID.",
  14252. "type": "string"
  14253. },
  14254. "signdate": {
  14255. "description": "表示签订日期.",
  14256. "type": "string"
  14257. },
  14258. "spotcontractid": {
  14259. "description": "合同ID",
  14260. "type": "string"
  14261. },
  14262. "status": {
  14263. "description": "表示状态,0-履约中 1-已完成.",
  14264. "type": "integer"
  14265. },
  14266. "totalqty": {
  14267. "description": "表示合同量.",
  14268. "type": "number"
  14269. },
  14270. "unpricedqty": {
  14271. "description": "表示未定价量.",
  14272. "type": "number"
  14273. },
  14274. "wrstandardname": {
  14275. "description": "表示商品ID.",
  14276. "type": "string"
  14277. }
  14278. }
  14279. },
  14280. "erms3.QueryUserInfoAppliesRsp": {
  14281. "type": "object",
  14282. "required": [
  14283. "userid"
  14284. ],
  14285. "properties": {
  14286. "biznature": {
  14287. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14288. "type": "integer"
  14289. },
  14290. "contactname": {
  14291. "description": "联系人",
  14292. "type": "string"
  14293. },
  14294. "createtime": {
  14295. "description": "开户申请时间",
  14296. "type": "string"
  14297. },
  14298. "userid": {
  14299. "description": "用户ID(自增ID)",
  14300. "type": "integer"
  14301. },
  14302. "userinfotype": {
  14303. "description": "用户信息类型 - 1:个人 2:企业",
  14304. "type": "integer"
  14305. },
  14306. "username": {
  14307. "description": "用户姓名",
  14308. "type": "string"
  14309. },
  14310. "userstate": {
  14311. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14312. "type": "integer"
  14313. }
  14314. }
  14315. },
  14316. "erms3.QueryUserInfosRsp": {
  14317. "type": "object",
  14318. "required": [
  14319. "userid"
  14320. ],
  14321. "properties": {
  14322. "biznature": {
  14323. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14324. "type": "integer"
  14325. },
  14326. "contactname": {
  14327. "description": "联系人",
  14328. "type": "string"
  14329. },
  14330. "customername": {
  14331. "description": "客户名称(企业名称)",
  14332. "type": "string"
  14333. },
  14334. "userid": {
  14335. "description": "用户ID",
  14336. "type": "integer"
  14337. },
  14338. "userinfotype": {
  14339. "description": "用户信息类型 - 1:个人 2:企业",
  14340. "type": "integer"
  14341. },
  14342. "userstatus": {
  14343. "description": "用户状态 - 1:正常 2:注销",
  14344. "type": "integer"
  14345. }
  14346. }
  14347. },
  14348. "erms3.SoptContractDetail": {
  14349. "type": "object",
  14350. "required": [
  14351. "deliverygoodsid",
  14352. "producttype",
  14353. "unitname",
  14354. "warehouseid",
  14355. "wrstandardid",
  14356. "wrstandardname"
  14357. ],
  14358. "properties": {
  14359. "deliverygoodsdesc": {
  14360. "description": "现货品种说明",
  14361. "type": "string"
  14362. },
  14363. "deliverygoodsid": {
  14364. "description": "现货品种ID",
  14365. "type": "integer"
  14366. },
  14367. "deliverygoodsname": {
  14368. "description": "现货品种名称",
  14369. "type": "string"
  14370. },
  14371. "pointdesc": {
  14372. "description": "点价描述",
  14373. "type": "string"
  14374. },
  14375. "producttype": {
  14376. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14377. "type": "integer"
  14378. },
  14379. "producttypename": {
  14380. "description": "产品类型名称",
  14381. "type": "string"
  14382. },
  14383. "spotPointOrderVoList": {
  14384. "description": "点价列表",
  14385. "type": "array",
  14386. "items": {
  14387. "$ref": "#/definitions/erms3.SpotPointOrder"
  14388. }
  14389. },
  14390. "spotPriceOrderList": {
  14391. "description": "定价列表",
  14392. "type": "array",
  14393. "items": {
  14394. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14395. }
  14396. },
  14397. "unitname": {
  14398. "description": "单位名称",
  14399. "type": "string"
  14400. },
  14401. "warehouseid": {
  14402. "description": "仓库ID",
  14403. "type": "integer"
  14404. },
  14405. "warehousename": {
  14406. "description": "仓库名称",
  14407. "type": "string"
  14408. },
  14409. "wrstandardid": {
  14410. "description": "交易标的ID",
  14411. "type": "integer"
  14412. },
  14413. "wrstandardname": {
  14414. "description": "交易标的名称",
  14415. "type": "string"
  14416. }
  14417. }
  14418. },
  14419. "erms3.SpotPointOrder": {
  14420. "type": "object",
  14421. "required": [
  14422. "basic",
  14423. "goodsid",
  14424. "qty"
  14425. ],
  14426. "properties": {
  14427. "basic": {
  14428. "description": "基差",
  14429. "type": "number"
  14430. },
  14431. "deliveryenddate": {
  14432. "description": "交收结束日期",
  14433. "type": "string"
  14434. },
  14435. "deliverystartdate": {
  14436. "description": "交收开始日期",
  14437. "type": "string"
  14438. },
  14439. "enddate": {
  14440. "description": "点价结束日期",
  14441. "type": "string"
  14442. },
  14443. "goodsid": {
  14444. "description": "商品ID",
  14445. "type": "integer"
  14446. },
  14447. "goodsname": {
  14448. "description": "商品名称",
  14449. "type": "string"
  14450. },
  14451. "qty": {
  14452. "description": "数量",
  14453. "type": "number"
  14454. },
  14455. "startdate": {
  14456. "description": "点价开始日期",
  14457. "type": "string"
  14458. }
  14459. }
  14460. },
  14461. "erms3.SpotPriceOrder": {
  14462. "type": "object",
  14463. "required": [
  14464. "amount",
  14465. "price",
  14466. "qty"
  14467. ],
  14468. "properties": {
  14469. "amount": {
  14470. "description": "金额",
  14471. "type": "number"
  14472. },
  14473. "deliveryenddate": {
  14474. "description": "交收结束日期",
  14475. "type": "string"
  14476. },
  14477. "deliverystartdate": {
  14478. "description": "交收开始日期",
  14479. "type": "string"
  14480. },
  14481. "price": {
  14482. "description": "价格",
  14483. "type": "number"
  14484. },
  14485. "qty": {
  14486. "description": "数量",
  14487. "type": "number"
  14488. }
  14489. }
  14490. },
  14491. "hsby.GetHsbyMyCountRsp": {
  14492. "type": "object",
  14493. "properties": {
  14494. "myCouponCount": {
  14495. "description": "我的优惠卷数量",
  14496. "type": "integer"
  14497. },
  14498. "myOrderDetailListingCount": {
  14499. "description": "我的订单求购中数量",
  14500. "type": "integer"
  14501. },
  14502. "myOrderDetailPreCount": {
  14503. "description": "我的订单抢购中数量",
  14504. "type": "integer"
  14505. },
  14506. "myPackageUnReceiveCount": {
  14507. "description": "我的包裹待收货数量",
  14508. "type": "integer"
  14509. },
  14510. "myPackageUnSendCount": {
  14511. "description": "我的包裹待发货数量",
  14512. "type": "integer"
  14513. },
  14514. "myPayOrderCount": {
  14515. "description": "我的订单待付款数量",
  14516. "type": "integer"
  14517. }
  14518. }
  14519. },
  14520. "hsby.QueryProvincesAndCitiesRsp": {
  14521. "type": "object",
  14522. "properties": {
  14523. "cities": {
  14524. "description": "市",
  14525. "type": "array",
  14526. "items": {
  14527. "$ref": "#/definitions/models.Division"
  14528. }
  14529. },
  14530. "province": {
  14531. "description": "省",
  14532. "type": "object",
  14533. "$ref": "#/definitions/models.Division"
  14534. }
  14535. }
  14536. },
  14537. "models.AreaSpotModel": {
  14538. "type": "object",
  14539. "properties": {
  14540. "areauserid": {
  14541. "description": "所属机构",
  14542. "type": "integer"
  14543. },
  14544. "decreaseqty": {
  14545. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14546. "type": "number"
  14547. },
  14548. "increaseqty": {
  14549. "description": "增加数量=销售计划数量+采购已定价数量",
  14550. "type": "number"
  14551. },
  14552. "oritoalspotqty": {
  14553. "description": "昨日数量",
  14554. "type": "number"
  14555. },
  14556. "totalspotqty": {
  14557. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14558. "type": "number"
  14559. },
  14560. "updatetime": {
  14561. "description": "更新时间",
  14562. "type": "string"
  14563. },
  14564. "wrstandardcode": {
  14565. "description": "现货品种代码",
  14566. "type": "string"
  14567. },
  14568. "wrstandardid": {
  14569. "description": "现货商品ID",
  14570. "type": "integer"
  14571. },
  14572. "wrstandardname": {
  14573. "description": "现货品种",
  14574. "type": "string"
  14575. }
  14576. }
  14577. },
  14578. "models.Arearole": {
  14579. "type": "object",
  14580. "required": [
  14581. "roletype",
  14582. "userid"
  14583. ],
  14584. "properties": {
  14585. "createtime": {
  14586. "description": "创建时间",
  14587. "type": "string"
  14588. },
  14589. "creatorid": {
  14590. "description": "创建人ID",
  14591. "type": "integer"
  14592. },
  14593. "fromuserid": {
  14594. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14595. "type": "integer"
  14596. },
  14597. "isreturnscore": {
  14598. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14599. "type": "integer"
  14600. },
  14601. "modifierid": {
  14602. "description": "修改人ID",
  14603. "type": "integer"
  14604. },
  14605. "modifytime": {
  14606. "description": "修改时间",
  14607. "type": "string"
  14608. },
  14609. "orgtype": {
  14610. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14611. "type": "integer"
  14612. },
  14613. "outuserid": {
  14614. "description": "外部账户[场外期权做市商]",
  14615. "type": "string"
  14616. },
  14617. "parentuserid": {
  14618. "description": "上级组织机构(组织机构)",
  14619. "type": "integer"
  14620. },
  14621. "roletype": {
  14622. "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:门店",
  14623. "type": "integer"
  14624. },
  14625. "rootuserid": {
  14626. "description": "顶级组织机构用户ID(组织机构)",
  14627. "type": "integer"
  14628. },
  14629. "shoppassword": {
  14630. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14631. "type": "string"
  14632. },
  14633. "sublevelpath": {
  14634. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14635. "type": "string"
  14636. },
  14637. "suborgtype": {
  14638. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14639. "type": "integer"
  14640. },
  14641. "tradeaccountid": {
  14642. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14643. "type": "integer"
  14644. },
  14645. "transurl": {
  14646. "description": "物流地址(物流机构)",
  14647. "type": "string"
  14648. },
  14649. "userid": {
  14650. "description": "机构用户ID其他做市关系,都设置为 1",
  14651. "type": "integer"
  14652. }
  14653. }
  14654. },
  14655. "models.Clientfixedadconfig": {
  14656. "type": "object",
  14657. "required": [
  14658. "adsort",
  14659. "adtype"
  14660. ],
  14661. "properties": {
  14662. "adsort": {
  14663. "description": "排序",
  14664. "type": "integer"
  14665. },
  14666. "adtype": {
  14667. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14668. "type": "integer"
  14669. },
  14670. "areauserid": {
  14671. "description": "所属机构ID",
  14672. "type": "integer"
  14673. },
  14674. "createdate": {
  14675. "description": "创建时间",
  14676. "type": "string"
  14677. },
  14678. "creatorid": {
  14679. "description": "创建人",
  14680. "type": "integer"
  14681. },
  14682. "imagepath": {
  14683. "description": "图片",
  14684. "type": "string"
  14685. },
  14686. "isshow": {
  14687. "description": "是否展示 - 0:不展示 1:展示",
  14688. "type": "integer"
  14689. },
  14690. "modifierid": {
  14691. "description": "操作人",
  14692. "type": "integer"
  14693. },
  14694. "recsize": {
  14695. "description": "推荐尺寸",
  14696. "type": "string"
  14697. },
  14698. "title": {
  14699. "description": "标题",
  14700. "type": "string"
  14701. },
  14702. "updatedate": {
  14703. "description": "更新时间",
  14704. "type": "string"
  14705. },
  14706. "urlcontent": {
  14707. "description": "链接(地址或商品ID)",
  14708. "type": "string"
  14709. },
  14710. "urltype": {
  14711. "description": "链接类型 - 1:直接地址 2:商品ID",
  14712. "type": "integer"
  14713. }
  14714. }
  14715. },
  14716. "models.Division": {
  14717. "type": "object",
  14718. "required": [
  14719. "autoid",
  14720. "divisioncode"
  14721. ],
  14722. "properties": {
  14723. "autoid": {
  14724. "description": "自增ID",
  14725. "type": "integer"
  14726. },
  14727. "divisioncode": {
  14728. "description": "行政代码",
  14729. "type": "string"
  14730. },
  14731. "divisionlevel": {
  14732. "description": "行政级别",
  14733. "type": "string"
  14734. },
  14735. "divisionname": {
  14736. "description": "行政名称",
  14737. "type": "string"
  14738. },
  14739. "modifierid": {
  14740. "description": "修改人",
  14741. "type": "integer"
  14742. },
  14743. "modifytime": {
  14744. "description": "修改时间",
  14745. "type": "string"
  14746. },
  14747. "parentcode": {
  14748. "description": "上级行政代码",
  14749. "type": "string"
  14750. },
  14751. "pathname": {
  14752. "description": "路径名称",
  14753. "type": "string"
  14754. },
  14755. "postcode": {
  14756. "description": "邮政编码",
  14757. "type": "string"
  14758. },
  14759. "separablename": {
  14760. "description": "可拆分的全称",
  14761. "type": "string"
  14762. },
  14763. "shortcode": {
  14764. "description": "地区简码",
  14765. "type": "string"
  14766. }
  14767. }
  14768. },
  14769. "models.Enumdicitem": {
  14770. "type": "object",
  14771. "required": [
  14772. "autoid",
  14773. "enumdiccode",
  14774. "enumdicid",
  14775. "enumitemname"
  14776. ],
  14777. "properties": {
  14778. "autoid": {
  14779. "description": "自增ID",
  14780. "type": "integer"
  14781. },
  14782. "bankmappedvalue": {
  14783. "description": "银行服务对应值",
  14784. "type": "string"
  14785. },
  14786. "enumdiccode": {
  14787. "description": "所属枚举代码",
  14788. "type": "string"
  14789. },
  14790. "enumdicid": {
  14791. "description": "所属枚举ID",
  14792. "type": "integer"
  14793. },
  14794. "enumdicname": {
  14795. "description": "枚举项名称",
  14796. "type": "string"
  14797. },
  14798. "enumitemname": {
  14799. "description": "枚举项值",
  14800. "type": "integer"
  14801. },
  14802. "enumitemstatus": {
  14803. "description": "枚举项状态 - 1.启用 2.不启用",
  14804. "type": "integer"
  14805. },
  14806. "enumitemvalue": {
  14807. "description": "通用值 - [币种通用简写]",
  14808. "type": "string"
  14809. },
  14810. "param1": {
  14811. "description": "参数1[币种:币种小数位]",
  14812. "type": "string"
  14813. },
  14814. "param2": {
  14815. "description": "参数1[币种:币种显示单位]",
  14816. "type": "string"
  14817. },
  14818. "remark": {
  14819. "description": "备注",
  14820. "type": "string"
  14821. }
  14822. }
  14823. },
  14824. "models.Ermcp3AreaSpot": {
  14825. "type": "object",
  14826. "properties": {
  14827. "areauserid": {
  14828. "description": "所属机构",
  14829. "type": "integer"
  14830. },
  14831. "decreaseqty": {
  14832. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14833. "type": "number"
  14834. },
  14835. "deliverygoodscode": {
  14836. "description": "现货品种代码",
  14837. "type": "string"
  14838. },
  14839. "deliverygoodsid": {
  14840. "description": "现货品种id",
  14841. "type": "integer"
  14842. },
  14843. "deliverygoodsname": {
  14844. "description": "现货品种名称",
  14845. "type": "string"
  14846. },
  14847. "enumdicname": {
  14848. "description": "单位名称",
  14849. "type": "string"
  14850. },
  14851. "goodsunitid": {
  14852. "description": "现货品种单位id",
  14853. "type": "integer"
  14854. },
  14855. "increaseqty": {
  14856. "description": "增加数量=销售计划数量+采购已定价数量",
  14857. "type": "number"
  14858. },
  14859. "oritoalspotqty": {
  14860. "description": "昨日数量",
  14861. "type": "number"
  14862. },
  14863. "totalspotqty": {
  14864. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14865. "type": "number"
  14866. },
  14867. "updatetime": {
  14868. "description": "更新时间",
  14869. "type": "string"
  14870. }
  14871. }
  14872. },
  14873. "models.Ermcp3AreaSpotDetail": {
  14874. "type": "object",
  14875. "properties": {
  14876. "contracttype": {
  14877. "description": "合同类型 1-采购 -1-销售",
  14878. "type": "integer"
  14879. },
  14880. "createtime": {
  14881. "description": "创建时间",
  14882. "type": "string"
  14883. },
  14884. "deliverygoodscode": {
  14885. "description": "现货品种代码",
  14886. "type": "string"
  14887. },
  14888. "deliverygoodsid": {
  14889. "description": "现货品种id",
  14890. "type": "integer"
  14891. },
  14892. "deliverygoodsname": {
  14893. "description": "现货品种名称",
  14894. "type": "string"
  14895. },
  14896. "enumdicname": {
  14897. "description": "现货商品单位名称",
  14898. "type": "string"
  14899. },
  14900. "logtype": {
  14901. "description": "记录类型 1-套保 2-现货合同",
  14902. "type": "integer"
  14903. },
  14904. "qty": {
  14905. "description": "数量",
  14906. "type": "number"
  14907. },
  14908. "recordname": {
  14909. "description": "类型名称",
  14910. "type": "string"
  14911. },
  14912. "relatedid": {
  14913. "description": "套保计划ID/现货合同ID",
  14914. "type": "string"
  14915. },
  14916. "relatedno": {
  14917. "description": "编号",
  14918. "type": "string"
  14919. },
  14920. "strtime": {
  14921. "description": "时间",
  14922. "type": "string"
  14923. }
  14924. }
  14925. },
  14926. "models.Ermcp3AreaSpotPLReport": {
  14927. "type": "object",
  14928. "properties": {
  14929. "accountid": {
  14930. "description": "期货账户ID (作废, 默认为0)",
  14931. "type": "integer"
  14932. },
  14933. "accountname": {
  14934. "description": "机构名称",
  14935. "type": "string"
  14936. },
  14937. "actualpl": {
  14938. "description": "现货损益",
  14939. "type": "number"
  14940. },
  14941. "areauserid": {
  14942. "description": "所属机构\\交易用户ID",
  14943. "type": "integer"
  14944. },
  14945. "begindate": {
  14946. "description": "开始交易日",
  14947. "type": "string"
  14948. },
  14949. "biztype": {
  14950. "description": "业务类型 - 1:套保 2:套利",
  14951. "type": "integer"
  14952. },
  14953. "brandname": {
  14954. "description": "品牌名称",
  14955. "type": "string"
  14956. },
  14957. "curamount": {
  14958. "description": "期末额",
  14959. "type": "number"
  14960. },
  14961. "curaverageprice": {
  14962. "description": "期末均价",
  14963. "type": "number"
  14964. },
  14965. "curbuyamount": {
  14966. "description": "期末采购总额",
  14967. "type": "number"
  14968. },
  14969. "curbuyqty": {
  14970. "description": "期末采购总量",
  14971. "type": "number"
  14972. },
  14973. "curmarketvalue": {
  14974. "description": "参考市值(期末市值)",
  14975. "type": "number"
  14976. },
  14977. "curqty": {
  14978. "description": "期末量",
  14979. "type": "number"
  14980. },
  14981. "currencyid": {
  14982. "description": "结算币种ID【原值】",
  14983. "type": "integer"
  14984. },
  14985. "currencyname": {
  14986. "description": "币种名称",
  14987. "type": "string"
  14988. },
  14989. "cursellamount": {
  14990. "description": "期末销售总额",
  14991. "type": "number"
  14992. },
  14993. "cursellqty": {
  14994. "description": "期末销售总量",
  14995. "type": "number"
  14996. },
  14997. "curspotprice": {
  14998. "description": "参考市价(最新价)",
  14999. "type": "number"
  15000. },
  15001. "cycletime": {
  15002. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15003. "type": "string"
  15004. },
  15005. "cycletype": {
  15006. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15007. "type": "integer"
  15008. },
  15009. "deliverygoodscode": {
  15010. "description": "现货商品代码",
  15011. "type": "string"
  15012. },
  15013. "deliverygoodsid": {
  15014. "description": "现货品种ID",
  15015. "type": "integer"
  15016. },
  15017. "deliverygoodsname": {
  15018. "description": "现货商品名称",
  15019. "type": "string"
  15020. },
  15021. "enddate": {
  15022. "description": "结束交易日",
  15023. "type": "string"
  15024. },
  15025. "enumdicname": {
  15026. "description": "现货商品单位名称",
  15027. "type": "string"
  15028. },
  15029. "floatpl": {
  15030. "description": "浮动损益",
  15031. "type": "number"
  15032. },
  15033. "goodsunitid": {
  15034. "description": "现货商品单位id",
  15035. "type": "integer"
  15036. },
  15037. "oriamount": {
  15038. "description": "期初额",
  15039. "type": "number"
  15040. },
  15041. "oriaverageprice": {
  15042. "description": "期初均价",
  15043. "type": "number"
  15044. },
  15045. "oribuyamount": {
  15046. "description": "期初采购总额",
  15047. "type": "number"
  15048. },
  15049. "oribuyqty": {
  15050. "description": "期初采购总量",
  15051. "type": "number"
  15052. },
  15053. "oriqty": {
  15054. "description": "期初量",
  15055. "type": "number"
  15056. },
  15057. "orisellamount": {
  15058. "description": "期初销售总额",
  15059. "type": "number"
  15060. },
  15061. "orisellqty": {
  15062. "description": "期初销售总量",
  15063. "type": "number"
  15064. },
  15065. "reckondate": {
  15066. "description": "日照时期(yyyyMMdd)",
  15067. "type": "string"
  15068. },
  15069. "spotgoodsbrandid": {
  15070. "description": "现货品牌ID",
  15071. "type": "integer"
  15072. },
  15073. "todaybuyamount": {
  15074. "description": "今日采购额(今采购额)",
  15075. "type": "number"
  15076. },
  15077. "todaybuyaverageprice": {
  15078. "description": "今日采购均价",
  15079. "type": "number"
  15080. },
  15081. "todaybuyqty": {
  15082. "description": "今日采购量(今采购量)",
  15083. "type": "number"
  15084. },
  15085. "todayinqty": {
  15086. "description": "今日入库量(今入库量)",
  15087. "type": "number"
  15088. },
  15089. "todayoutqty": {
  15090. "description": "今日出库量(今出库量)",
  15091. "type": "number"
  15092. },
  15093. "todaysellamount": {
  15094. "description": "今日销售额(今销售额)",
  15095. "type": "number"
  15096. },
  15097. "todaysellaverageprice": {
  15098. "description": "今日销售均价",
  15099. "type": "number"
  15100. },
  15101. "todaysellqty": {
  15102. "description": "今日销售量(今销售量)",
  15103. "type": "number"
  15104. },
  15105. "unitid": {
  15106. "description": "品类单位id",
  15107. "type": "integer"
  15108. },
  15109. "unitidname": {
  15110. "description": "品类单位名称",
  15111. "type": "string"
  15112. },
  15113. "updatetime": {
  15114. "description": "更新时间",
  15115. "type": "string"
  15116. },
  15117. "wrfactortypeid": {
  15118. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15119. "type": "integer"
  15120. },
  15121. "wrstandardcode": {
  15122. "description": "品类代码",
  15123. "type": "string"
  15124. },
  15125. "wrstandardid": {
  15126. "description": "现货品类ID",
  15127. "type": "integer"
  15128. },
  15129. "wrstandardname": {
  15130. "description": "品类名称",
  15131. "type": "string"
  15132. }
  15133. }
  15134. },
  15135. "models.Ermcp3AreaStock": {
  15136. "type": "object",
  15137. "required": [
  15138. "userid"
  15139. ],
  15140. "properties": {
  15141. "brandname": {
  15142. "description": "品牌名称",
  15143. "type": "string"
  15144. },
  15145. "curstock": {
  15146. "description": "期末库存量(今日量)",
  15147. "type": "number"
  15148. },
  15149. "deliverygoodscode": {
  15150. "description": "现货品种代码",
  15151. "type": "string"
  15152. },
  15153. "deliverygoodsid": {
  15154. "description": "现货品种id",
  15155. "type": "integer"
  15156. },
  15157. "deliverygoodsname": {
  15158. "description": "现货品种名称",
  15159. "type": "string"
  15160. },
  15161. "enumdicname": {
  15162. "description": "单位名称",
  15163. "type": "string"
  15164. },
  15165. "goodsunitid": {
  15166. "description": "现货商品单位id",
  15167. "type": "integer"
  15168. },
  15169. "oristock": {
  15170. "description": "期初库存量(昨日量)",
  15171. "type": "number"
  15172. },
  15173. "spotgoodsbrandid": {
  15174. "description": "现货品牌ID",
  15175. "type": "integer"
  15176. },
  15177. "todaybuyinqty": {
  15178. "description": "今日采购入库量",
  15179. "type": "number"
  15180. },
  15181. "todayproduceinqty": {
  15182. "description": "今日生产入库量",
  15183. "type": "number"
  15184. },
  15185. "todayproduceoutqty": {
  15186. "description": "今日生产出库量",
  15187. "type": "number"
  15188. },
  15189. "todayselloutqty": {
  15190. "description": "今日销售出库量",
  15191. "type": "number"
  15192. },
  15193. "unitid": {
  15194. "description": "单位id",
  15195. "type": "integer"
  15196. },
  15197. "updatetime": {
  15198. "description": "更新时间",
  15199. "type": "string"
  15200. },
  15201. "userid": {
  15202. "description": "机构ID",
  15203. "type": "integer"
  15204. },
  15205. "username": {
  15206. "description": "机构名称",
  15207. "type": "string"
  15208. },
  15209. "warehousecode": {
  15210. "description": "仓库代码",
  15211. "type": "string"
  15212. },
  15213. "warehouseinfoid": {
  15214. "description": "仓库ID",
  15215. "type": "string"
  15216. },
  15217. "warehousename": {
  15218. "description": "仓库名称",
  15219. "type": "string"
  15220. },
  15221. "warehousetype": {
  15222. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15223. "type": "integer"
  15224. },
  15225. "wrstandardcode": {
  15226. "description": "品类代码",
  15227. "type": "string"
  15228. },
  15229. "wrstandardid": {
  15230. "description": "品类ID",
  15231. "type": "string"
  15232. },
  15233. "wrstandardname": {
  15234. "description": "品类名称",
  15235. "type": "string"
  15236. }
  15237. }
  15238. },
  15239. "models.Ermcp3AreaStockApply": {
  15240. "type": "object",
  15241. "properties": {
  15242. "applyid": {
  15243. "description": "申请人",
  15244. "type": "integer"
  15245. },
  15246. "applyname": {
  15247. "description": "申请人名称",
  15248. "type": "string"
  15249. },
  15250. "applyremark": {
  15251. "description": "申请备注",
  15252. "type": "string"
  15253. },
  15254. "applysrc": {
  15255. "description": "申请来源 - 1:管理端 2:终端",
  15256. "type": "integer"
  15257. },
  15258. "applystatus": {
  15259. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15260. "type": "integer"
  15261. },
  15262. "applytime": {
  15263. "description": "申请时间",
  15264. "type": "string"
  15265. },
  15266. "auditid": {
  15267. "description": "审核人",
  15268. "type": "integer"
  15269. },
  15270. "auditname": {
  15271. "description": "审核人名称",
  15272. "type": "string"
  15273. },
  15274. "auditremark": {
  15275. "description": "审核备注",
  15276. "type": "string"
  15277. },
  15278. "auditsrc": {
  15279. "description": "审核来源 - 1:管理端 2:终端",
  15280. "type": "integer"
  15281. },
  15282. "audittime": {
  15283. "description": "审核时间",
  15284. "type": "string"
  15285. },
  15286. "audittradedate": {
  15287. "description": "审核交易日(yyyyMMdd)",
  15288. "type": "string"
  15289. },
  15290. "brandname": {
  15291. "description": "品牌名称",
  15292. "type": "string"
  15293. },
  15294. "buynickname": {
  15295. "description": "采购方昵称",
  15296. "type": "string"
  15297. },
  15298. "buyuserid": {
  15299. "description": "采购方userid",
  15300. "type": "integer"
  15301. },
  15302. "buyusername": {
  15303. "description": "采购方名称",
  15304. "type": "string"
  15305. },
  15306. "contractno": {
  15307. "description": "合同编号",
  15308. "type": "string"
  15309. },
  15310. "contractqty": {
  15311. "description": "合同量",
  15312. "type": "number"
  15313. },
  15314. "contracttype": {
  15315. "description": "现货合同类型 - 1:采购 -1:销售",
  15316. "type": "integer"
  15317. },
  15318. "deliverygoodscode": {
  15319. "description": "现货品种代码",
  15320. "type": "string"
  15321. },
  15322. "deliverygoodsid": {
  15323. "description": "现货品种id",
  15324. "type": "integer"
  15325. },
  15326. "deliverygoodsname": {
  15327. "description": "现货品种名称",
  15328. "type": "string"
  15329. },
  15330. "detailjson": {
  15331. "description": "明细数据",
  15332. "type": "string"
  15333. },
  15334. "enumdicname": {
  15335. "description": "现货商品单位名称",
  15336. "type": "string"
  15337. },
  15338. "inoutapplyid": {
  15339. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15340. "type": "string"
  15341. },
  15342. "inouttype": {
  15343. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15344. "type": "integer"
  15345. },
  15346. "pricetype": {
  15347. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15348. "type": "integer"
  15349. },
  15350. "qty": {
  15351. "description": "数量",
  15352. "type": "number"
  15353. },
  15354. "sellnickname": {
  15355. "description": "销售方昵称",
  15356. "type": "string"
  15357. },
  15358. "selluserid": {
  15359. "description": "销售方userid",
  15360. "type": "integer"
  15361. },
  15362. "sellusername": {
  15363. "description": "销售方名称",
  15364. "type": "string"
  15365. },
  15366. "spotcontractid": {
  15367. "description": "关联现货合同ID",
  15368. "type": "string"
  15369. },
  15370. "spotgoodsbrandid": {
  15371. "description": "现货品牌ID",
  15372. "type": "integer"
  15373. },
  15374. "unitid": {
  15375. "description": "单位id",
  15376. "type": "integer"
  15377. },
  15378. "userid": {
  15379. "description": "机构ID",
  15380. "type": "integer"
  15381. },
  15382. "warehousecode": {
  15383. "description": "仓库代码",
  15384. "type": "string"
  15385. },
  15386. "warehouseinfoid": {
  15387. "description": "现货仓库ID",
  15388. "type": "string"
  15389. },
  15390. "warehousename": {
  15391. "description": "仓库名称",
  15392. "type": "string"
  15393. },
  15394. "warehousetype": {
  15395. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15396. "type": "integer"
  15397. },
  15398. "wrstandardcode": {
  15399. "description": "品类代码",
  15400. "type": "string"
  15401. },
  15402. "wrstandardid": {
  15403. "description": "品类ID",
  15404. "type": "integer"
  15405. },
  15406. "wrstandardname": {
  15407. "description": "品类名称",
  15408. "type": "string"
  15409. }
  15410. }
  15411. },
  15412. "models.Ermcp3AreaStockApplySum": {
  15413. "type": "object",
  15414. "properties": {
  15415. "brandname": {
  15416. "description": "品牌名称",
  15417. "type": "string"
  15418. },
  15419. "inouttype": {
  15420. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15421. "type": "integer"
  15422. },
  15423. "spotcontractid": {
  15424. "description": "关联现货合同ID",
  15425. "type": "string"
  15426. },
  15427. "spotgoodsbrandid": {
  15428. "description": "品牌id",
  15429. "type": "integer"
  15430. },
  15431. "totalqty": {
  15432. "description": "总数量",
  15433. "type": "number"
  15434. },
  15435. "wrstandardid": {
  15436. "description": "品类id",
  15437. "type": "integer"
  15438. },
  15439. "wrstandardname": {
  15440. "description": "品类名称",
  15441. "type": "string"
  15442. }
  15443. }
  15444. },
  15445. "models.Ermcp3AreaStockReportEx": {
  15446. "type": "object",
  15447. "properties": {
  15448. "begindate": {
  15449. "description": "开始交易日",
  15450. "type": "string"
  15451. },
  15452. "brandname": {
  15453. "description": "品牌名称",
  15454. "type": "string"
  15455. },
  15456. "curstock": {
  15457. "description": "期末库存量",
  15458. "type": "number"
  15459. },
  15460. "cycletime": {
  15461. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15462. "type": "string"
  15463. },
  15464. "cycletype": {
  15465. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15466. "type": "integer"
  15467. },
  15468. "deliverygoodscode": {
  15469. "description": "现货品种代码",
  15470. "type": "string"
  15471. },
  15472. "deliverygoodsid": {
  15473. "description": "现货品种id",
  15474. "type": "integer"
  15475. },
  15476. "deliverygoodsname": {
  15477. "description": "现货品种名称",
  15478. "type": "string"
  15479. },
  15480. "diffqty": {
  15481. "description": "库存变化量 = 期末 - 期初",
  15482. "type": "number"
  15483. },
  15484. "enddate": {
  15485. "description": "结束交易日",
  15486. "type": "string"
  15487. },
  15488. "enumdicname": {
  15489. "description": "单位名称",
  15490. "type": "string"
  15491. },
  15492. "goodsunitid": {
  15493. "description": "现货单位id",
  15494. "type": "integer"
  15495. },
  15496. "oristock": {
  15497. "description": "期初库存量",
  15498. "type": "number"
  15499. },
  15500. "reckondate": {
  15501. "description": "日照时期(yyyyMMdd)",
  15502. "type": "string"
  15503. },
  15504. "spotgoodsbrandid": {
  15505. "description": "现货品牌ID",
  15506. "type": "integer"
  15507. },
  15508. "todaybuyinqty": {
  15509. "description": "今采购入库量",
  15510. "type": "number"
  15511. },
  15512. "todayproduceinqty": {
  15513. "description": "今内部入库量",
  15514. "type": "number"
  15515. },
  15516. "todayproduceoutqty": {
  15517. "description": "今内部出库量",
  15518. "type": "number"
  15519. },
  15520. "todayselloutqty": {
  15521. "description": "今销售出库量",
  15522. "type": "number"
  15523. },
  15524. "unbuyinqty": {
  15525. "description": "采购未入库量(数据库未找到相关字段?)",
  15526. "type": "number"
  15527. },
  15528. "unitid": {
  15529. "description": "品类单位id",
  15530. "type": "integer"
  15531. },
  15532. "unselloutqty": {
  15533. "description": "销售未出库量(数据库未找到相关字段?)",
  15534. "type": "number"
  15535. },
  15536. "updatetime": {
  15537. "description": "更新时间",
  15538. "type": "string"
  15539. },
  15540. "userid": {
  15541. "description": "机构ID",
  15542. "type": "integer"
  15543. },
  15544. "username": {
  15545. "description": "机构名称",
  15546. "type": "string"
  15547. },
  15548. "warehousecode": {
  15549. "description": "仓库代码",
  15550. "type": "string"
  15551. },
  15552. "warehouseinfoid": {
  15553. "description": "仓库ID",
  15554. "type": "string"
  15555. },
  15556. "warehousename": {
  15557. "description": "仓库名称",
  15558. "type": "string"
  15559. },
  15560. "warehousetype": {
  15561. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15562. "type": "integer"
  15563. },
  15564. "wrstandardcode": {
  15565. "description": "品类代码",
  15566. "type": "string"
  15567. },
  15568. "wrstandardid": {
  15569. "description": "品类ID",
  15570. "type": "integer"
  15571. },
  15572. "wrstandardname": {
  15573. "description": "品类名称",
  15574. "type": "string"
  15575. }
  15576. }
  15577. },
  15578. "models.Ermcp3ArealSumPL": {
  15579. "type": "object",
  15580. "properties": {
  15581. "accountname": {
  15582. "description": "机构名称",
  15583. "type": "string"
  15584. },
  15585. "areauserid": {
  15586. "description": "所属机构\\交易用户ID",
  15587. "type": "integer"
  15588. },
  15589. "begindate": {
  15590. "description": "开始交易日",
  15591. "type": "string"
  15592. },
  15593. "currencyid": {
  15594. "description": "结算币种ID",
  15595. "type": "integer"
  15596. },
  15597. "currencyname": {
  15598. "description": "币种名称",
  15599. "type": "string"
  15600. },
  15601. "cycletime": {
  15602. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15603. "type": "string"
  15604. },
  15605. "cycletype": {
  15606. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15607. "type": "integer"
  15608. },
  15609. "enddate": {
  15610. "description": "结束交易日",
  15611. "type": "string"
  15612. },
  15613. "enumdicname": {
  15614. "description": "单位名称(套保品种)",
  15615. "type": "string"
  15616. },
  15617. "futureactualpl": {
  15618. "description": "期货损益",
  15619. "type": "number"
  15620. },
  15621. "futurefloatpl": {
  15622. "description": "期货浮动损益",
  15623. "type": "number"
  15624. },
  15625. "goodsunitid": {
  15626. "description": "套保品种单位id",
  15627. "type": "integer"
  15628. },
  15629. "middlegoodscode": {
  15630. "description": "套保品种代码",
  15631. "type": "string"
  15632. },
  15633. "middlegoodsid": {
  15634. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15635. "type": "integer"
  15636. },
  15637. "middlegoodsname": {
  15638. "description": "套保品种名称",
  15639. "type": "string"
  15640. },
  15641. "reckondate": {
  15642. "description": "日照时期(yyyyMMdd)",
  15643. "type": "string"
  15644. },
  15645. "spotactualpl": {
  15646. "description": "现货损益",
  15647. "type": "number"
  15648. },
  15649. "spotfloatpl": {
  15650. "description": "现货浮动损益",
  15651. "type": "number"
  15652. },
  15653. "sumactualpl": {
  15654. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15655. "type": "number"
  15656. },
  15657. "sumpl": {
  15658. "description": "汇总损益",
  15659. "type": "number"
  15660. },
  15661. "updatetime": {
  15662. "description": "更新时间",
  15663. "type": "string"
  15664. }
  15665. }
  15666. },
  15667. "models.Ermcp3Brand": {
  15668. "type": "object",
  15669. "properties": {
  15670. "areauserid": {
  15671. "description": "用户id",
  15672. "type": "integer"
  15673. },
  15674. "brandid": {
  15675. "description": "品牌id",
  15676. "type": "integer"
  15677. },
  15678. "brandname": {
  15679. "description": "品牌名称",
  15680. "type": "string"
  15681. },
  15682. "deliverygoodsid": {
  15683. "description": "品种ID",
  15684. "type": "integer"
  15685. }
  15686. }
  15687. },
  15688. "models.Ermcp3Contract": {
  15689. "type": "object",
  15690. "properties": {
  15691. "accountid": {
  15692. "description": "期货账户id",
  15693. "type": "string"
  15694. },
  15695. "amount": {
  15696. "description": "金额 [1:一口价、3:暂定价]",
  15697. "type": "number"
  15698. },
  15699. "attachment": {
  15700. "description": "附件",
  15701. "type": "string"
  15702. },
  15703. "auditremark": {
  15704. "description": "审核意见",
  15705. "type": "string"
  15706. },
  15707. "audittime": {
  15708. "description": "审核时间",
  15709. "type": "string"
  15710. },
  15711. "biztype": {
  15712. "description": "业务类型 1-套保 2-套利",
  15713. "type": "integer"
  15714. },
  15715. "brandname": {
  15716. "description": "品牌名称",
  15717. "type": "string"
  15718. },
  15719. "buynickname": {
  15720. "description": "销售方昵称",
  15721. "type": "string"
  15722. },
  15723. "buyuserid": {
  15724. "description": "采购方ID",
  15725. "type": "integer"
  15726. },
  15727. "buyusername": {
  15728. "description": "采购方名称",
  15729. "type": "string"
  15730. },
  15731. "contracctstatus": {
  15732. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15733. "type": "integer"
  15734. },
  15735. "contractmargin": {
  15736. "description": "合同保证金",
  15737. "type": "number"
  15738. },
  15739. "contractno": {
  15740. "description": "现货合同编号",
  15741. "type": "string"
  15742. },
  15743. "contracttype": {
  15744. "description": "现货合同类型 - 1:采购 -1:销售",
  15745. "type": "integer"
  15746. },
  15747. "convertfactor": {
  15748. "description": "标仓系数(品类)",
  15749. "type": "number"
  15750. },
  15751. "createtime": {
  15752. "description": "创建时间",
  15753. "type": "string"
  15754. },
  15755. "currencyid": {
  15756. "description": "币种id",
  15757. "type": "integer"
  15758. },
  15759. "currencyname": {
  15760. "description": "币种名称",
  15761. "type": "string"
  15762. },
  15763. "deliveryenddate": {
  15764. "description": "交收期(结束)",
  15765. "type": "string"
  15766. },
  15767. "deliverygoodscode": {
  15768. "description": "现货品种代码",
  15769. "type": "string"
  15770. },
  15771. "deliverygoodsid": {
  15772. "description": "现货品种ID",
  15773. "type": "integer"
  15774. },
  15775. "deliverygoodsname": {
  15776. "description": "现货品种名称",
  15777. "type": "string"
  15778. },
  15779. "deliverystartdate": {
  15780. "description": "交收期(开始)",
  15781. "type": "string"
  15782. },
  15783. "enddate": {
  15784. "description": "点价结束日期 [2:点价 3:暂定价]",
  15785. "type": "string"
  15786. },
  15787. "enumdicname": {
  15788. "description": "单位名称",
  15789. "type": "string"
  15790. },
  15791. "goodscode": {
  15792. "description": "点价合约代码",
  15793. "type": "string"
  15794. },
  15795. "goodsid": {
  15796. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15797. "type": "integer"
  15798. },
  15799. "goodsname": {
  15800. "description": "点价商品名称",
  15801. "type": "string"
  15802. },
  15803. "margin": {
  15804. "description": "当前保证金",
  15805. "type": "number"
  15806. },
  15807. "meruserid": {
  15808. "description": "跟单员id",
  15809. "type": "integer"
  15810. },
  15811. "meruserlogincode": {
  15812. "description": "跟单员登录代码",
  15813. "type": "string"
  15814. },
  15815. "price": {
  15816. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15817. "type": "number"
  15818. },
  15819. "pricemove": {
  15820. "description": "升贴水 [2:点价 3:暂定价]",
  15821. "type": "number"
  15822. },
  15823. "pricetype": {
  15824. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15825. "type": "integer"
  15826. },
  15827. "producttype": {
  15828. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15829. "type": "integer"
  15830. },
  15831. "qty": {
  15832. "description": "数量",
  15833. "type": "number"
  15834. },
  15835. "remark": {
  15836. "description": "备注",
  15837. "type": "string"
  15838. },
  15839. "saleuserid": {
  15840. "description": "业务员id",
  15841. "type": "integer"
  15842. },
  15843. "saleuserlogincode": {
  15844. "description": "业务员登录代码",
  15845. "type": "string"
  15846. },
  15847. "sellnickname": {
  15848. "description": "采购方昵称",
  15849. "type": "string"
  15850. },
  15851. "selluserid": {
  15852. "description": "销售方ID",
  15853. "type": "integer"
  15854. },
  15855. "sellusername": {
  15856. "description": "销售方名称",
  15857. "type": "string"
  15858. },
  15859. "spotcontractid": {
  15860. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15861. "type": "string"
  15862. },
  15863. "spotgoodsbrandid": {
  15864. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15865. "type": "integer"
  15866. },
  15867. "spotgoodsdesc": {
  15868. "description": "商品型号",
  15869. "type": "string"
  15870. },
  15871. "startdate": {
  15872. "description": "点价开始日期 [2:点价 3:暂定价]",
  15873. "type": "string"
  15874. },
  15875. "tradeuserid": {
  15876. "description": "交易员id",
  15877. "type": "integer"
  15878. },
  15879. "tradeuserlogincode": {
  15880. "description": "交易员登录代码",
  15881. "type": "string"
  15882. },
  15883. "tradeusername": {
  15884. "description": "交易员名称",
  15885. "type": "string"
  15886. },
  15887. "unitid": {
  15888. "description": "单位id(取品类上的单位id)",
  15889. "type": "integer"
  15890. },
  15891. "updatetime": {
  15892. "description": "更新时间",
  15893. "type": "string"
  15894. },
  15895. "userid": {
  15896. "description": "所属机构ID",
  15897. "type": "integer"
  15898. },
  15899. "wrstandardcode": {
  15900. "description": "品类代码",
  15901. "type": "string"
  15902. },
  15903. "wrstandardid": {
  15904. "description": "品类ID",
  15905. "type": "integer"
  15906. },
  15907. "wrstandardname": {
  15908. "description": "品类名称",
  15909. "type": "string"
  15910. }
  15911. }
  15912. },
  15913. "models.Ermcp3ExposureContractDetail": {
  15914. "type": "object",
  15915. "properties": {
  15916. "biztype": {
  15917. "description": "业务类型 1-套保 2-套利",
  15918. "type": "integer"
  15919. },
  15920. "brandname": {
  15921. "description": "品牌名称",
  15922. "type": "string"
  15923. },
  15924. "buyuserid": {
  15925. "description": "采购方id",
  15926. "type": "integer"
  15927. },
  15928. "buyusername": {
  15929. "description": "采购方名称",
  15930. "type": "string"
  15931. },
  15932. "contractno": {
  15933. "description": "合同编号",
  15934. "type": "string"
  15935. },
  15936. "contracttype": {
  15937. "description": "现货合同类型 - 1:采购 -1:销售",
  15938. "type": "integer"
  15939. },
  15940. "convertfactor": {
  15941. "description": "标仓系数",
  15942. "type": "number"
  15943. },
  15944. "convertratio": {
  15945. "description": "折算系数(套保品种)",
  15946. "type": "number"
  15947. },
  15948. "curqty": {
  15949. "description": "今定价量",
  15950. "type": "number"
  15951. },
  15952. "deliverygoodscode": {
  15953. "description": "现货商品代码",
  15954. "type": "string"
  15955. },
  15956. "deliverygoodsid": {
  15957. "description": "现货商品id",
  15958. "type": "integer"
  15959. },
  15960. "deliverygoodsname": {
  15961. "description": "现货商品名称",
  15962. "type": "string"
  15963. },
  15964. "diffhedgeqty": {
  15965. "description": "套保变动量",
  15966. "type": "number"
  15967. },
  15968. "diffneedhedgeqty": {
  15969. "description": "应套保变动量",
  15970. "type": "number"
  15971. },
  15972. "diffqty": {
  15973. "description": "套保品种今变动量",
  15974. "type": "number"
  15975. },
  15976. "enumdicname": {
  15977. "description": "单位名称",
  15978. "type": "string"
  15979. },
  15980. "middlegoodscode": {
  15981. "description": "套保品种代码",
  15982. "type": "string"
  15983. },
  15984. "middlegoodsid": {
  15985. "description": "套保品种id",
  15986. "type": "integer"
  15987. },
  15988. "middlegoodsname": {
  15989. "description": "套保品种名称",
  15990. "type": "string"
  15991. },
  15992. "needarbitrageratio": {
  15993. "description": "应套利比例",
  15994. "type": "number"
  15995. },
  15996. "needhedgeratio": {
  15997. "description": "应套保比例",
  15998. "type": "number"
  15999. },
  16000. "pricedqty": {
  16001. "description": "已定价量",
  16002. "type": "number"
  16003. },
  16004. "qty": {
  16005. "description": "合同量",
  16006. "type": "number"
  16007. },
  16008. "selluserid": {
  16009. "description": "销售方id",
  16010. "type": "integer"
  16011. },
  16012. "sellusername": {
  16013. "description": "销售方名称",
  16014. "type": "string"
  16015. },
  16016. "spotcontractid": {
  16017. "description": "合同id",
  16018. "type": "string"
  16019. },
  16020. "todaypricedqty": {
  16021. "description": "今定价量",
  16022. "type": "number"
  16023. },
  16024. "tradedate": {
  16025. "description": "交易日",
  16026. "type": "string"
  16027. },
  16028. "unitid": {
  16029. "description": "品类单位id",
  16030. "type": "integer"
  16031. },
  16032. "userid": {
  16033. "description": "机构id",
  16034. "type": "integer"
  16035. },
  16036. "wrstandardcode": {
  16037. "description": "品类代码",
  16038. "type": "string"
  16039. },
  16040. "wrstandardid": {
  16041. "description": "品类id",
  16042. "type": "integer"
  16043. },
  16044. "wrstandardname": {
  16045. "description": "品类名称",
  16046. "type": "string"
  16047. }
  16048. }
  16049. },
  16050. "models.Ermcp3ExposureDetail": {
  16051. "type": "object",
  16052. "properties": {
  16053. "areauserid": {
  16054. "description": "机构ID",
  16055. "type": "integer"
  16056. },
  16057. "changeQty": {
  16058. "description": "套保变动量",
  16059. "type": "number"
  16060. },
  16061. "contracttype": {
  16062. "description": "现货合同类型 - 1:采购 -1:销售",
  16063. "type": "integer"
  16064. },
  16065. "convertfactor": {
  16066. "description": "标仓系数",
  16067. "type": "number"
  16068. },
  16069. "convertratio": {
  16070. "description": "套保系数",
  16071. "type": "number"
  16072. },
  16073. "createtime": {
  16074. "description": "时间",
  16075. "type": "string"
  16076. },
  16077. "deliverygoodscode": {
  16078. "description": "现货品种代码",
  16079. "type": "string"
  16080. },
  16081. "deliverygoodsid": {
  16082. "description": "现货品种id",
  16083. "type": "integer"
  16084. },
  16085. "deliverygoodsname": {
  16086. "description": "现货品种名称",
  16087. "type": "string"
  16088. },
  16089. "enumdicname": {
  16090. "description": "现货商品单位名称",
  16091. "type": "string"
  16092. },
  16093. "logtype": {
  16094. "description": "类型 - 1:套保计划 2:现货合同",
  16095. "type": "integer"
  16096. },
  16097. "mgunitid": {
  16098. "description": "套保品种单位id",
  16099. "type": "integer"
  16100. },
  16101. "mgunitidname": {
  16102. "description": "套保品种单位名称",
  16103. "type": "string"
  16104. },
  16105. "middlegoodsId": {
  16106. "description": "套保商品id",
  16107. "type": "integer"
  16108. },
  16109. "middlegoodscode": {
  16110. "description": "套保商品代码",
  16111. "type": "string"
  16112. },
  16113. "middlegoodsname": {
  16114. "description": "套保商品名称",
  16115. "type": "string"
  16116. },
  16117. "qty": {
  16118. "description": "数量",
  16119. "type": "number"
  16120. },
  16121. "relateNo": {
  16122. "description": "现货合同/套保计划编号",
  16123. "type": "string"
  16124. }
  16125. }
  16126. },
  16127. "models.Ermcp3ExposureFutuDetail": {
  16128. "type": "object",
  16129. "properties": {
  16130. "accountid": {
  16131. "description": "交易账户id",
  16132. "type": "integer"
  16133. },
  16134. "accountname": {
  16135. "description": "交易账户",
  16136. "type": "string"
  16137. },
  16138. "begindate": {
  16139. "description": "开始交易日",
  16140. "type": "string"
  16141. },
  16142. "buyorsell": {
  16143. "description": "方向 0-买 1-卖",
  16144. "type": "integer"
  16145. },
  16146. "diffmgqty": {
  16147. "description": "套保品种今变化量",
  16148. "type": "number"
  16149. },
  16150. "diffneedqty": {
  16151. "description": "应套保总量变化量",
  16152. "type": "number"
  16153. },
  16154. "difftradeqty": {
  16155. "description": "交易品种今变化量",
  16156. "type": "number"
  16157. },
  16158. "enddate": {
  16159. "description": "结束交易日",
  16160. "type": "string"
  16161. },
  16162. "enumdicname": {
  16163. "description": "单位名称",
  16164. "type": "string"
  16165. },
  16166. "goodscode": {
  16167. "description": "商品代码",
  16168. "type": "string"
  16169. },
  16170. "goodsid": {
  16171. "description": "商品id",
  16172. "type": "integer"
  16173. },
  16174. "goodsname": {
  16175. "description": "商品名称",
  16176. "type": "string"
  16177. },
  16178. "holdqty": {
  16179. "description": "期末持仓量",
  16180. "type": "number"
  16181. },
  16182. "middlegoodscode": {
  16183. "description": "套保商品代码",
  16184. "type": "string"
  16185. },
  16186. "middlegoodsid": {
  16187. "description": "套保商品id",
  16188. "type": "integer"
  16189. },
  16190. "middlegoodsname": {
  16191. "description": "套保商品名称",
  16192. "type": "string"
  16193. },
  16194. "oriholdqty": {
  16195. "description": "期初持仓量",
  16196. "type": "number"
  16197. },
  16198. "todaycloseqty": {
  16199. "description": "今平仓量",
  16200. "type": "number"
  16201. },
  16202. "todayopenqty": {
  16203. "description": "今开仓量",
  16204. "type": "number"
  16205. },
  16206. "tradedate": {
  16207. "description": "交易日",
  16208. "type": "string"
  16209. }
  16210. }
  16211. },
  16212. "models.Ermcp3ExposureHedgeplanDetail": {
  16213. "type": "object",
  16214. "properties": {
  16215. "biztype": {
  16216. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16217. "type": "integer"
  16218. },
  16219. "changqty": {
  16220. "description": "应套保总量变化量",
  16221. "type": "number"
  16222. },
  16223. "contracttype": {
  16224. "description": "计划类型 - 1:采购 -1:销售",
  16225. "type": "integer"
  16226. },
  16227. "convertratio": {
  16228. "description": "折算系数(套保品种)",
  16229. "type": "number"
  16230. },
  16231. "deliverygoodscode": {
  16232. "description": "现货商品代码",
  16233. "type": "string"
  16234. },
  16235. "deliverygoodsid": {
  16236. "description": "现货商品id",
  16237. "type": "integer"
  16238. },
  16239. "deliverygoodsname": {
  16240. "description": "现货商吕名称",
  16241. "type": "string"
  16242. },
  16243. "dgunitid": {
  16244. "description": "现货商品单位id",
  16245. "type": "integer"
  16246. },
  16247. "dgunitidname": {
  16248. "description": "单位名称(现货商品)",
  16249. "type": "string"
  16250. },
  16251. "diffqty": {
  16252. "description": "套保品种今变动量",
  16253. "type": "number"
  16254. },
  16255. "enumdicname": {
  16256. "description": "单位名称(品类)",
  16257. "type": "string"
  16258. },
  16259. "hedgeplanid": {
  16260. "description": "套保计划id",
  16261. "type": "string"
  16262. },
  16263. "hedgeplanno": {
  16264. "description": "套保计划名称",
  16265. "type": "string"
  16266. },
  16267. "hedgeplanstatus": {
  16268. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16269. "type": "integer"
  16270. },
  16271. "mgunitidname": {
  16272. "description": "单位名称(套保商品)",
  16273. "type": "string"
  16274. },
  16275. "middlegoodscode": {
  16276. "description": "套保品种代码",
  16277. "type": "string"
  16278. },
  16279. "middlegoodsid": {
  16280. "description": "套保品种id",
  16281. "type": "integer"
  16282. },
  16283. "middlegoodsname": {
  16284. "description": "套保品种名称",
  16285. "type": "string"
  16286. },
  16287. "needarbitrageratio": {
  16288. "description": "应套利比例",
  16289. "type": "number"
  16290. },
  16291. "needhedgeratio": {
  16292. "description": "应套保比例",
  16293. "type": "number"
  16294. },
  16295. "pricedqty": {
  16296. "description": "已定价量",
  16297. "type": "number"
  16298. },
  16299. "qty": {
  16300. "description": "合同量",
  16301. "type": "number"
  16302. },
  16303. "tradedate": {
  16304. "description": "交易日(登记日)",
  16305. "type": "string"
  16306. },
  16307. "unitid": {
  16308. "description": "品类单位id",
  16309. "type": "integer"
  16310. },
  16311. "userid": {
  16312. "description": "机构id",
  16313. "type": "integer"
  16314. },
  16315. "wrstandardcode": {
  16316. "description": "品类代码",
  16317. "type": "string"
  16318. },
  16319. "wrstandardid": {
  16320. "description": "品类id",
  16321. "type": "integer"
  16322. },
  16323. "wrstandardname": {
  16324. "description": "品类名称",
  16325. "type": "string"
  16326. }
  16327. }
  16328. },
  16329. "models.Ermcp3ExposureParamChLog": {
  16330. "type": "object",
  16331. "properties": {
  16332. "accountid": {
  16333. "description": "期货账户ID (作废, 默认为0)",
  16334. "type": "integer"
  16335. },
  16336. "aftervalue": {
  16337. "description": "应套保\\套利量变更后(调整后应套保总量)",
  16338. "type": "number"
  16339. },
  16340. "areauserid": {
  16341. "description": "所属机构\\交易用户ID",
  16342. "type": "integer"
  16343. },
  16344. "beforevalue": {
  16345. "description": "应套保\\套利量变更前(调整前应套保总量)",
  16346. "type": "number"
  16347. },
  16348. "begindate": {
  16349. "description": "开始交易日",
  16350. "type": "string"
  16351. },
  16352. "changelogtype": {
  16353. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  16354. "type": "integer"
  16355. },
  16356. "curvalue": {
  16357. "description": "当前套保\\套利量(套保总量|套利总量)",
  16358. "type": "number"
  16359. },
  16360. "diffvalue": {
  16361. "description": "应套保总量变化量",
  16362. "type": "number"
  16363. },
  16364. "enddate": {
  16365. "description": "结束交易日",
  16366. "type": "string"
  16367. },
  16368. "logdatetime": {
  16369. "description": "流水日期",
  16370. "type": "string"
  16371. },
  16372. "logid": {
  16373. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  16374. "type": "string"
  16375. },
  16376. "middlegoodscode": {
  16377. "description": "套保品种代码",
  16378. "type": "string"
  16379. },
  16380. "middlegoodsid": {
  16381. "description": "套保品种",
  16382. "type": "integer"
  16383. },
  16384. "middlegoodsname": {
  16385. "description": "套保品种名称",
  16386. "type": "string"
  16387. },
  16388. "paramaftervalue": {
  16389. "description": "参数变更后(调整后参数值)",
  16390. "type": "number"
  16391. },
  16392. "parambeforevalue": {
  16393. "description": "参数变更前(调整前参数值)",
  16394. "type": "number"
  16395. },
  16396. "tradedate": {
  16397. "description": "交易日(yyyyMMdd)",
  16398. "type": "string"
  16399. }
  16400. }
  16401. },
  16402. "models.Ermcp3ExpourseReport": {
  16403. "type": "object",
  16404. "properties": {
  16405. "accountid": {
  16406. "description": "期货账户ID (作废, 默认为0)",
  16407. "type": "integer"
  16408. },
  16409. "accountname": {
  16410. "description": "机构名称",
  16411. "type": "string"
  16412. },
  16413. "arbitrageqty": {
  16414. "description": "套利量",
  16415. "type": "number"
  16416. },
  16417. "areauserid": {
  16418. "description": "所属机构\\交易用户ID",
  16419. "type": "integer"
  16420. },
  16421. "begindate": {
  16422. "description": "开始交易日",
  16423. "type": "string"
  16424. },
  16425. "buyfutureqty": {
  16426. "description": "买入期货数量",
  16427. "type": "number"
  16428. },
  16429. "buyplanqty": {
  16430. "description": "采购计划数量",
  16431. "type": "number"
  16432. },
  16433. "buypricedqty": {
  16434. "description": "采购合同已定价数量",
  16435. "type": "number"
  16436. },
  16437. "cycletime": {
  16438. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16439. "type": "string"
  16440. },
  16441. "cycletype": {
  16442. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16443. "type": "integer"
  16444. },
  16445. "diffexposure": {
  16446. "description": "变动量(套保敞口)",
  16447. "type": "number"
  16448. },
  16449. "difffutuqty": {
  16450. "description": "变动量(期货)",
  16451. "type": "number"
  16452. },
  16453. "diffhedgeqty": {
  16454. "description": "变动量(现货应套保总量)",
  16455. "type": "number"
  16456. },
  16457. "diffmgqtya": {
  16458. "description": "套保变动量",
  16459. "type": "number"
  16460. },
  16461. "diffmgqtyb": {
  16462. "description": "套利变动量",
  16463. "type": "number"
  16464. },
  16465. "diffqty": {
  16466. "description": "变动量(总敞口)",
  16467. "type": "number"
  16468. },
  16469. "diffspotqty": {
  16470. "description": "变动量(现货)",
  16471. "type": "number"
  16472. },
  16473. "enddate": {
  16474. "description": "结束交易日",
  16475. "type": "string"
  16476. },
  16477. "enumdicname": {
  16478. "description": "单位名称",
  16479. "type": "string"
  16480. },
  16481. "hedgeqty": {
  16482. "description": "套保量",
  16483. "type": "number"
  16484. },
  16485. "mgneedhedgeratio": {
  16486. "description": "套保比例(套保品的)",
  16487. "type": "number"
  16488. },
  16489. "middlegoodsid": {
  16490. "description": "套保品种ID",
  16491. "type": "integer"
  16492. },
  16493. "middlegoodsname": {
  16494. "description": "套保商品名称",
  16495. "type": "string"
  16496. },
  16497. "middlgoodscode": {
  16498. "description": "套保商品代码",
  16499. "type": "string"
  16500. },
  16501. "needarbitrageqty": {
  16502. "description": "应套利量",
  16503. "type": "number"
  16504. },
  16505. "needarbitrageratio": {
  16506. "description": "套利比例(套保品的)",
  16507. "type": "number"
  16508. },
  16509. "needhedgeexposoure": {
  16510. "description": "应套保敞口(套保敞口)",
  16511. "type": "number"
  16512. },
  16513. "needhedgeqty": {
  16514. "description": "应套保量",
  16515. "type": "number"
  16516. },
  16517. "needhedgeratio": {
  16518. "description": "应套保敞口比例",
  16519. "type": "number"
  16520. },
  16521. "oriarbitrageqty": {
  16522. "description": "期初套利量",
  16523. "type": "number"
  16524. },
  16525. "oribuyfutureqty": {
  16526. "description": "期初买入期货数量",
  16527. "type": "number"
  16528. },
  16529. "oribuyplanqty": {
  16530. "description": "期初采购计划数量",
  16531. "type": "number"
  16532. },
  16533. "oribuypricedqty": {
  16534. "description": "期初采购合同已定价数量",
  16535. "type": "number"
  16536. },
  16537. "orihedgeqty": {
  16538. "description": "期初套保量",
  16539. "type": "number"
  16540. },
  16541. "orineedarbitrageqty": {
  16542. "description": "期初应套利量",
  16543. "type": "number"
  16544. },
  16545. "orineedhedgeexposoure": {
  16546. "description": "期初应套保敞口",
  16547. "type": "number"
  16548. },
  16549. "orineedhedgeqty": {
  16550. "description": "期初应套保量",
  16551. "type": "number"
  16552. },
  16553. "orisellfutureqty": {
  16554. "description": "期初卖出期货数量",
  16555. "type": "number"
  16556. },
  16557. "orisellplanqty": {
  16558. "description": "期初销售计划数量",
  16559. "type": "number"
  16560. },
  16561. "orisellpricedqty": {
  16562. "description": "期初销售合同已定价数量",
  16563. "type": "number"
  16564. },
  16565. "oritotalexposure": {
  16566. "description": "期初实时总敞口",
  16567. "type": "number"
  16568. },
  16569. "oritotalfutureqty": {
  16570. "description": "期初期货头寸总量",
  16571. "type": "number"
  16572. },
  16573. "oritotalneedhedgeqty": {
  16574. "description": "期初应套保总量",
  16575. "type": "number"
  16576. },
  16577. "oritotalspotqty": {
  16578. "description": "期初现货头寸总量",
  16579. "type": "number"
  16580. },
  16581. "reckondate": {
  16582. "description": "日照时期(yyyyMMdd)",
  16583. "type": "string"
  16584. },
  16585. "sellfutureqty": {
  16586. "description": "卖出期货数量",
  16587. "type": "number"
  16588. },
  16589. "sellplanqty": {
  16590. "description": "销售计划数量",
  16591. "type": "number"
  16592. },
  16593. "sellpricedqty": {
  16594. "description": "销售合同已定价数量",
  16595. "type": "number"
  16596. },
  16597. "totalexposure": {
  16598. "description": "实时总敞口(总敞口)",
  16599. "type": "number"
  16600. },
  16601. "totalfutureqty": {
  16602. "description": "期货头寸总量(期货总量)",
  16603. "type": "number"
  16604. },
  16605. "totalhedgeratio": {
  16606. "description": "敞口比例",
  16607. "type": "number"
  16608. },
  16609. "totalneedhedgeqty": {
  16610. "description": "应套保总量(现货应套保总量)",
  16611. "type": "number"
  16612. },
  16613. "totalspotqty": {
  16614. "description": "现货头寸总量",
  16615. "type": "number"
  16616. },
  16617. "unitid": {
  16618. "description": "单位id",
  16619. "type": "integer"
  16620. },
  16621. "updatetime": {
  16622. "description": "更新时间",
  16623. "type": "string"
  16624. }
  16625. }
  16626. },
  16627. "models.Ermcp3FinanceReport": {
  16628. "type": "object",
  16629. "properties": {
  16630. "accountname": {
  16631. "description": "机构名称",
  16632. "type": "string"
  16633. },
  16634. "areauserid": {
  16635. "description": "所属机构\\交易用户ID",
  16636. "type": "integer"
  16637. },
  16638. "begindate": {
  16639. "description": "开始交易日",
  16640. "type": "string"
  16641. },
  16642. "biztype": {
  16643. "description": "业务类型 - 1:套保 2:套利",
  16644. "type": "integer"
  16645. },
  16646. "brandname": {
  16647. "description": "品牌名称",
  16648. "type": "string"
  16649. },
  16650. "buypreinvoicedamount": {
  16651. "description": "采购预收票额(预收票额)",
  16652. "type": "number"
  16653. },
  16654. "buyprepaidamount": {
  16655. "description": "采购预付款额(预付货款额)",
  16656. "type": "number"
  16657. },
  16658. "buytodayinvoiceamount": {
  16659. "description": "采购今收票额(今收票额)",
  16660. "type": "number"
  16661. },
  16662. "buytodayrefundamount": {
  16663. "description": "采购今收退款额(今收退款额)",
  16664. "type": "number"
  16665. },
  16666. "buytodaysettleamount": {
  16667. "description": "采购今付款额(今付货款额)",
  16668. "type": "number"
  16669. },
  16670. "buyuninvoicedamount": {
  16671. "description": "采购应收票额(应收票额)",
  16672. "type": "number"
  16673. },
  16674. "buyunpaidamount": {
  16675. "description": "采购应付款额(应付货款额)",
  16676. "type": "number"
  16677. },
  16678. "currencyid": {
  16679. "description": "结算币种ID",
  16680. "type": "integer"
  16681. },
  16682. "currencyname": {
  16683. "description": "币种名称",
  16684. "type": "string"
  16685. },
  16686. "cycletime": {
  16687. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16688. "type": "string"
  16689. },
  16690. "cycletype": {
  16691. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16692. "type": "integer"
  16693. },
  16694. "deliverygoodscode": {
  16695. "description": "现货品种代码",
  16696. "type": "string"
  16697. },
  16698. "deliverygoodsid": {
  16699. "description": "现货品种ID",
  16700. "type": "integer"
  16701. },
  16702. "deliverygoodsname": {
  16703. "description": "现货品种名称",
  16704. "type": "string"
  16705. },
  16706. "enddate": {
  16707. "description": "结束交易日",
  16708. "type": "string"
  16709. },
  16710. "reckondate": {
  16711. "description": "日照时期(yyyyMMdd)",
  16712. "type": "string"
  16713. },
  16714. "sellpreinvoicedamount": {
  16715. "description": "销售预开票额(预开票额)",
  16716. "type": "number"
  16717. },
  16718. "sellprepaidamount": {
  16719. "description": "销售预收款额(预收货款额)",
  16720. "type": "number"
  16721. },
  16722. "selltodayinvoiceamount": {
  16723. "description": "销售今开票额(今开票额)",
  16724. "type": "number"
  16725. },
  16726. "selltodayrefundamount": {
  16727. "description": "销售今付退款额(今付退款额)",
  16728. "type": "number"
  16729. },
  16730. "selltodaysettleamount": {
  16731. "description": "销售今收款额(今收货款额)",
  16732. "type": "number"
  16733. },
  16734. "selluninvoicedamount": {
  16735. "description": "销售应开票额(应开票额)",
  16736. "type": "number"
  16737. },
  16738. "sellunpaidamount": {
  16739. "description": "销售应收款额(应收货款额)",
  16740. "type": "number"
  16741. },
  16742. "spotgoodsbrandid": {
  16743. "description": "现货品牌ID",
  16744. "type": "integer"
  16745. },
  16746. "todaypaysum": {
  16747. "description": "今付款合计",
  16748. "type": "number"
  16749. },
  16750. "todayreceivesum": {
  16751. "description": "今收款合计",
  16752. "type": "number"
  16753. },
  16754. "updatetime": {
  16755. "description": "更新时间",
  16756. "type": "string"
  16757. },
  16758. "wrfactortypeid": {
  16759. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16760. "type": "integer"
  16761. },
  16762. "wrstandardcode": {
  16763. "description": "品类代码",
  16764. "type": "string"
  16765. },
  16766. "wrstandardid": {
  16767. "description": "现货商品ID",
  16768. "type": "integer"
  16769. },
  16770. "wrstandardname": {
  16771. "description": "品类名称",
  16772. "type": "string"
  16773. }
  16774. }
  16775. },
  16776. "models.Ermcp3Goods": {
  16777. "type": "object",
  16778. "properties": {
  16779. "agreeunit": {
  16780. "description": "合约单位(合约乘数)",
  16781. "type": "number"
  16782. },
  16783. "enumdicname": {
  16784. "description": "单位名称",
  16785. "type": "string"
  16786. },
  16787. "exexchangecode": {
  16788. "description": "交易所代码",
  16789. "type": "string"
  16790. },
  16791. "goodscode": {
  16792. "description": "期货商品代码",
  16793. "type": "string"
  16794. },
  16795. "goodsid": {
  16796. "description": "期货商品id",
  16797. "type": "integer"
  16798. },
  16799. "goodsname": {
  16800. "description": "期货商品名称",
  16801. "type": "string"
  16802. }
  16803. }
  16804. },
  16805. "models.Ermcp3GoodsGroup": {
  16806. "type": "object",
  16807. "required": [
  16808. "areauserid"
  16809. ],
  16810. "properties": {
  16811. "agreeunit": {
  16812. "description": "合约单位",
  16813. "type": "number"
  16814. },
  16815. "areauserid": {
  16816. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16817. "type": "integer"
  16818. },
  16819. "canshort": {
  16820. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16821. "type": "integer"
  16822. },
  16823. "closepricemode": {
  16824. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16825. "type": "integer"
  16826. },
  16827. "createtime": {
  16828. "description": "创建时间",
  16829. "type": "string"
  16830. },
  16831. "creatorid": {
  16832. "description": "创建人",
  16833. "type": "integer"
  16834. },
  16835. "currencyid": {
  16836. "description": "报价货币ID",
  16837. "type": "integer"
  16838. },
  16839. "decimalplace": {
  16840. "description": "报价小数位",
  16841. "type": "integer"
  16842. },
  16843. "enumdicname": {
  16844. "description": "单位名称",
  16845. "type": "string"
  16846. },
  16847. "exchangefullname": {
  16848. "description": "交易所全称",
  16849. "type": "string"
  16850. },
  16851. "excludecfg": {
  16852. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16853. "type": "integer"
  16854. },
  16855. "exexchangecode": {
  16856. "description": "交易所代码",
  16857. "type": "string"
  16858. },
  16859. "exexchangeid": {
  16860. "description": "外部交易所ID[通道交易]",
  16861. "type": "integer"
  16862. },
  16863. "exexchangename": {
  16864. "description": "交易所名称",
  16865. "type": "string"
  16866. },
  16867. "goodsgroupid": {
  16868. "description": "商品组ID(自增ID)",
  16869. "type": "integer"
  16870. },
  16871. "goodsgroupname": {
  16872. "description": "商品组名称",
  16873. "type": "string"
  16874. },
  16875. "goodsgroupstatus": {
  16876. "description": "商品组状态 - 1:正常 2:注销",
  16877. "type": "integer"
  16878. },
  16879. "goodunitid": {
  16880. "description": "报价单位ID",
  16881. "type": "integer"
  16882. },
  16883. "groupcategroyid": {
  16884. "description": "品种分类ID",
  16885. "type": "integer"
  16886. },
  16887. "innerdealmode": {
  16888. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16889. "type": "integer"
  16890. },
  16891. "marketid": {
  16892. "description": "所属市场ID",
  16893. "type": "integer"
  16894. },
  16895. "modifierid": {
  16896. "description": "修改人",
  16897. "type": "integer"
  16898. },
  16899. "modifytime": {
  16900. "description": "修改时间",
  16901. "type": "string"
  16902. },
  16903. "outerdealmode": {
  16904. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16905. "type": "integer"
  16906. },
  16907. "outergroupcode": {
  16908. "description": "外部商品组代码[通道交易]",
  16909. "type": "string"
  16910. },
  16911. "quoteminunit": {
  16912. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16913. "type": "integer"
  16914. },
  16915. "quotesourcegroupid": {
  16916. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16917. "type": "integer"
  16918. },
  16919. "syncgoodsqty": {
  16920. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16921. "type": "integer"
  16922. }
  16923. }
  16924. },
  16925. "models.Ermcp3GoodsGroupEx": {
  16926. "type": "object",
  16927. "properties": {
  16928. "convertratio": {
  16929. "description": "折算系数(品种系数)",
  16930. "type": "number"
  16931. },
  16932. "enumdicname": {
  16933. "description": "单位名称",
  16934. "type": "string"
  16935. },
  16936. "exexchangecode": {
  16937. "description": "交易所代码",
  16938. "type": "string"
  16939. },
  16940. "glist": {
  16941. "description": "合约列表",
  16942. "type": "array",
  16943. "items": {
  16944. "$ref": "#/definitions/models.Ermcp3Goods"
  16945. }
  16946. },
  16947. "goodsgroupid": {
  16948. "description": "商品组id",
  16949. "type": "integer"
  16950. },
  16951. "goodsgroupname": {
  16952. "description": "商品组名称",
  16953. "type": "string"
  16954. },
  16955. "goodsunitid": {
  16956. "description": "单位id",
  16957. "type": "integer"
  16958. },
  16959. "middlegoodsid": {
  16960. "description": "套保商品id",
  16961. "type": "integer"
  16962. }
  16963. }
  16964. },
  16965. "models.Ermcp3HedgePlan": {
  16966. "type": "object",
  16967. "properties": {
  16968. "accountid": {
  16969. "description": "资金账号",
  16970. "type": "integer"
  16971. },
  16972. "areauserid": {
  16973. "description": "用户ID",
  16974. "type": "integer"
  16975. },
  16976. "audittime": {
  16977. "description": "审核时间",
  16978. "type": "string"
  16979. },
  16980. "contracttype": {
  16981. "description": "计划类型 - 1:采购 -1:销售",
  16982. "type": "integer"
  16983. },
  16984. "convertfactor": {
  16985. "description": "标仓系数",
  16986. "type": "number"
  16987. },
  16988. "createtime": {
  16989. "description": "创建时间",
  16990. "type": "string"
  16991. },
  16992. "currencyid": {
  16993. "description": "币种id",
  16994. "type": "integer"
  16995. },
  16996. "currencyname": {
  16997. "description": "币种名称",
  16998. "type": "string"
  16999. },
  17000. "deliverygoodscode": {
  17001. "description": "现货品种代码",
  17002. "type": "string"
  17003. },
  17004. "deliverygoodsid": {
  17005. "description": "现货品种ID",
  17006. "type": "integer"
  17007. },
  17008. "deliverygoodsname": {
  17009. "description": "现货品种名称",
  17010. "type": "string"
  17011. },
  17012. "enumdicname": {
  17013. "description": "单位名称(现货商品)",
  17014. "type": "string"
  17015. },
  17016. "hedgeplanid": {
  17017. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17018. "type": "string"
  17019. },
  17020. "hedgeplanno": {
  17021. "description": "套保计划编号(名称)",
  17022. "type": "string"
  17023. },
  17024. "hedgeplanstatus": {
  17025. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17026. "type": "integer"
  17027. },
  17028. "planqty": {
  17029. "description": "计划数量",
  17030. "type": "number"
  17031. },
  17032. "plantime": {
  17033. "description": "计划时间",
  17034. "type": "string"
  17035. },
  17036. "producttype": {
  17037. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17038. "type": "integer"
  17039. },
  17040. "remark": {
  17041. "description": "备注",
  17042. "type": "string"
  17043. },
  17044. "spotgoodsdesc": {
  17045. "description": "商品型号",
  17046. "type": "string"
  17047. },
  17048. "taaccountname": {
  17049. "description": "资金账号名称",
  17050. "type": "string"
  17051. },
  17052. "tradeuserid": {
  17053. "description": "交易用户id",
  17054. "type": "integer"
  17055. },
  17056. "tradeusername": {
  17057. "description": "交易用户名称",
  17058. "type": "string"
  17059. },
  17060. "unitid": {
  17061. "description": "单位id(现货商品)",
  17062. "type": "integer"
  17063. },
  17064. "updatetime": {
  17065. "description": "更新时间",
  17066. "type": "string"
  17067. },
  17068. "wrstandardcode": {
  17069. "description": "品类代码",
  17070. "type": "string"
  17071. },
  17072. "wrstandardid": {
  17073. "description": "品类id",
  17074. "type": "integer"
  17075. },
  17076. "wrstandardname": {
  17077. "description": "品类名称",
  17078. "type": "string"
  17079. },
  17080. "wrunitid": {
  17081. "description": "品类单位id",
  17082. "type": "integer"
  17083. },
  17084. "wrunitidame": {
  17085. "description": "品类单位名称",
  17086. "type": "string"
  17087. }
  17088. }
  17089. },
  17090. "models.Ermcp3MiddleGoodsDetail2": {
  17091. "type": "object",
  17092. "properties": {
  17093. "convertratio": {
  17094. "description": "套保系数(折算系数)",
  17095. "type": "number"
  17096. },
  17097. "gplist": {
  17098. "description": "关联商品组列表",
  17099. "type": "array",
  17100. "items": {
  17101. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17102. }
  17103. },
  17104. "mg": {
  17105. "description": "套保商品信息",
  17106. "type": "object",
  17107. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17108. }
  17109. }
  17110. },
  17111. "models.Ermcp3MiddleGoodsDetailEx": {
  17112. "type": "object",
  17113. "properties": {
  17114. "dglist": {
  17115. "description": "关联的现货品种列表",
  17116. "type": "array",
  17117. "items": {
  17118. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17119. }
  17120. },
  17121. "gplist": {
  17122. "description": "关联商品组列表",
  17123. "type": "array",
  17124. "items": {
  17125. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17126. }
  17127. },
  17128. "mg": {
  17129. "description": "套保商品信息",
  17130. "type": "object",
  17131. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17132. }
  17133. }
  17134. },
  17135. "models.Ermcp3RootUserAccount": {
  17136. "type": "object",
  17137. "properties": {
  17138. "accountname": {
  17139. "description": "账户名称(机构名称)",
  17140. "type": "string"
  17141. },
  17142. "accountstatus": {
  17143. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17144. "type": "integer"
  17145. },
  17146. "applysrc": {
  17147. "description": "申请来源 - 1:管理端 2:终端",
  17148. "type": "integer"
  17149. },
  17150. "auditremark": {
  17151. "description": "审核备注",
  17152. "type": "string"
  17153. },
  17154. "auditsrc": {
  17155. "description": "审核来源 - 1:管理端 2:终端",
  17156. "type": "integer"
  17157. },
  17158. "audittime": {
  17159. "description": "审核时间",
  17160. "type": "string"
  17161. },
  17162. "audituserid": {
  17163. "description": "审核人",
  17164. "type": "integer"
  17165. },
  17166. "broker": {
  17167. "description": "所属经纪人ID",
  17168. "type": "integer"
  17169. },
  17170. "canceltime": {
  17171. "description": "销户时间",
  17172. "type": "string"
  17173. },
  17174. "canceluserid": {
  17175. "description": "销户人",
  17176. "type": "integer"
  17177. },
  17178. "canrecommend": {
  17179. "description": "是否可推荐 - 0:不可 1;可",
  17180. "type": "integer"
  17181. },
  17182. "createtime": {
  17183. "description": "创建时间",
  17184. "type": "string"
  17185. },
  17186. "creatorid": {
  17187. "description": "创建人",
  17188. "type": "integer"
  17189. },
  17190. "hasauth": {
  17191. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17192. "type": "integer"
  17193. },
  17194. "isanonymous": {
  17195. "description": "是否匿名下单 - 0:否 1:是",
  17196. "type": "integer"
  17197. },
  17198. "maxinvestornum": {
  17199. "description": "最大用户数(经纪会员下投资者个数)",
  17200. "type": "integer"
  17201. },
  17202. "memberuserid": {
  17203. "description": "所属会员ID",
  17204. "type": "integer"
  17205. },
  17206. "modifierid": {
  17207. "description": "修改人",
  17208. "type": "integer"
  17209. },
  17210. "modifyremark": {
  17211. "description": "变更备注",
  17212. "type": "string"
  17213. },
  17214. "modifystatus": {
  17215. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17216. "type": "integer"
  17217. },
  17218. "modifytime": {
  17219. "description": "修改时间",
  17220. "type": "string"
  17221. },
  17222. "parenttopuser": {
  17223. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  17224. "type": "string"
  17225. },
  17226. "parentuserid": {
  17227. "description": "所属机构ID",
  17228. "type": "integer"
  17229. },
  17230. "reckonaccountid": {
  17231. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17232. "type": "integer"
  17233. },
  17234. "refercount": {
  17235. "description": "推荐总人数",
  17236. "type": "integer"
  17237. },
  17238. "refereeuserid": {
  17239. "description": "推荐人ID",
  17240. "type": "integer"
  17241. },
  17242. "refernum": {
  17243. "description": "推荐码",
  17244. "type": "string"
  17245. },
  17246. "rootuserid": {
  17247. "description": "根用户ID",
  17248. "type": "integer"
  17249. },
  17250. "subaccountlevel": {
  17251. "description": "子账户层数",
  17252. "type": "integer"
  17253. },
  17254. "subarealevelpath": {
  17255. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17256. "type": "string"
  17257. },
  17258. "userid": {
  17259. "description": "用户ID",
  17260. "type": "integer"
  17261. },
  17262. "usertype": {
  17263. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17264. "type": "integer"
  17265. }
  17266. }
  17267. },
  17268. "models.Ermcp3SellBuyContract": {
  17269. "type": "object",
  17270. "properties": {
  17271. "accountid": {
  17272. "description": "期货账户id",
  17273. "type": "string"
  17274. },
  17275. "accountname": {
  17276. "description": "账户名称",
  17277. "type": "string"
  17278. },
  17279. "attachment": {
  17280. "description": "附件",
  17281. "type": "string"
  17282. },
  17283. "audittime": {
  17284. "description": "审核时间",
  17285. "type": "string"
  17286. },
  17287. "biztype": {
  17288. "description": "业务类型 1-套保 2-套利",
  17289. "type": "integer"
  17290. },
  17291. "brandname": {
  17292. "description": "品牌名称",
  17293. "type": "string"
  17294. },
  17295. "contracctstatus": {
  17296. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17297. "type": "integer"
  17298. },
  17299. "contractmargin": {
  17300. "description": "合同保证金",
  17301. "type": "number"
  17302. },
  17303. "contractno": {
  17304. "description": "合同编号",
  17305. "type": "string"
  17306. },
  17307. "contracttype": {
  17308. "description": "合同类型 1-采购, -1-销售",
  17309. "type": "integer"
  17310. },
  17311. "convertfactor": {
  17312. "description": "标仓系数(品类)",
  17313. "type": "number"
  17314. },
  17315. "createtime": {
  17316. "description": "创建时间",
  17317. "type": "string"
  17318. },
  17319. "currencyid": {
  17320. "description": "币种id",
  17321. "type": "integer"
  17322. },
  17323. "currencyname": {
  17324. "description": "币种名称",
  17325. "type": "string"
  17326. },
  17327. "daikaiamount": {
  17328. "description": "应收(开)票额",
  17329. "type": "number"
  17330. },
  17331. "deliveryenddate": {
  17332. "description": "交割结束日",
  17333. "type": "string"
  17334. },
  17335. "deliverygoodscode": {
  17336. "description": "现货品种代码",
  17337. "type": "string"
  17338. },
  17339. "deliverygoodsid": {
  17340. "description": "现货商品ID",
  17341. "type": "integer"
  17342. },
  17343. "deliverygoodsname": {
  17344. "description": "现货品种名称",
  17345. "type": "string"
  17346. },
  17347. "deliverystartdate": {
  17348. "description": "交割开始日",
  17349. "type": "string"
  17350. },
  17351. "enddate": {
  17352. "description": "点价结束日",
  17353. "type": "string"
  17354. },
  17355. "enumdicname": {
  17356. "description": "单位名称",
  17357. "type": "string"
  17358. },
  17359. "goodscode": {
  17360. "description": "点价商品代码",
  17361. "type": "string"
  17362. },
  17363. "goodsid": {
  17364. "description": "点价商品ID",
  17365. "type": "integer"
  17366. },
  17367. "goodsname": {
  17368. "description": "点价商品名称",
  17369. "type": "string"
  17370. },
  17371. "invoiceamount": {
  17372. "description": "已开票额",
  17373. "type": "number"
  17374. },
  17375. "loanamount": {
  17376. "description": "贷款总额=已定价额+调整金额",
  17377. "type": "number"
  17378. },
  17379. "margin": {
  17380. "description": "保证金",
  17381. "type": "number"
  17382. },
  17383. "meruserid": {
  17384. "description": "跟单员id",
  17385. "type": "integer"
  17386. },
  17387. "meruserlogincode": {
  17388. "description": "跟单员登录代码",
  17389. "type": "string"
  17390. },
  17391. "nickname": {
  17392. "description": "账户昵称",
  17393. "type": "string"
  17394. },
  17395. "payamount": {
  17396. "description": "已收付额(收款或付款)",
  17397. "type": "number"
  17398. },
  17399. "preinvoiceamount": {
  17400. "description": "预收(开)票额",
  17401. "type": "number"
  17402. },
  17403. "prepayamount": {
  17404. "description": "预收付额",
  17405. "type": "number"
  17406. },
  17407. "price": {
  17408. "description": "价格",
  17409. "type": "number"
  17410. },
  17411. "pricedamount": {
  17412. "description": "已定价额",
  17413. "type": "number"
  17414. },
  17415. "pricedavg": {
  17416. "description": "已点均价",
  17417. "type": "number"
  17418. },
  17419. "pricedqty": {
  17420. "description": "已定价量",
  17421. "type": "number"
  17422. },
  17423. "pricemove": {
  17424. "description": "升贴水",
  17425. "type": "number"
  17426. },
  17427. "pricetype": {
  17428. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17429. "type": "integer"
  17430. },
  17431. "producttype": {
  17432. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17433. "type": "integer"
  17434. },
  17435. "qty": {
  17436. "description": "合同量",
  17437. "type": "number"
  17438. },
  17439. "reckonadjustamount": {
  17440. "description": "调整金额",
  17441. "type": "number"
  17442. },
  17443. "reckonedamount": {
  17444. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17445. "type": "number"
  17446. },
  17447. "reckonotheramount": {
  17448. "description": "其它费用",
  17449. "type": "number"
  17450. },
  17451. "reckonrealqty": {
  17452. "description": "已确定量",
  17453. "type": "number"
  17454. },
  17455. "remark": {
  17456. "description": "备注",
  17457. "type": "string"
  17458. },
  17459. "saleuserid": {
  17460. "description": "业务员id",
  17461. "type": "integer"
  17462. },
  17463. "saleuserlogincode": {
  17464. "description": "业务员登录代码",
  17465. "type": "string"
  17466. },
  17467. "spotcontractid": {
  17468. "description": "合同ID",
  17469. "type": "string"
  17470. },
  17471. "spotgoodsbrandid": {
  17472. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17473. "type": "integer"
  17474. },
  17475. "spotgoodsdesc": {
  17476. "description": "商品型号(商品规格)",
  17477. "type": "string"
  17478. },
  17479. "startdate": {
  17480. "description": "点价开始日",
  17481. "type": "string"
  17482. },
  17483. "totalamount": {
  17484. "description": "合计总额",
  17485. "type": "number"
  17486. },
  17487. "tradeuserid": {
  17488. "description": "交易员id",
  17489. "type": "integer"
  17490. },
  17491. "tradeuserlogincode": {
  17492. "description": "交易员登录代码",
  17493. "type": "string"
  17494. },
  17495. "tradeusername": {
  17496. "description": "交易员名称",
  17497. "type": "string"
  17498. },
  17499. "unpayamount": {
  17500. "description": "应收付款额(应支付或应收款)",
  17501. "type": "number"
  17502. },
  17503. "unpricedqty": {
  17504. "description": "未定价量",
  17505. "type": "number"
  17506. },
  17507. "unsureqty": {
  17508. "description": "未确定量",
  17509. "type": "number"
  17510. },
  17511. "userid": {
  17512. "description": "机构ID",
  17513. "type": "integer"
  17514. },
  17515. "wrstandardcode": {
  17516. "description": "品类代码",
  17517. "type": "string"
  17518. },
  17519. "wrstandardid": {
  17520. "description": "品类ID",
  17521. "type": "integer"
  17522. },
  17523. "wrstandardname": {
  17524. "description": "品类名称",
  17525. "type": "string"
  17526. }
  17527. }
  17528. },
  17529. "models.Ermcp3SpotGoodsPrice": {
  17530. "type": "object",
  17531. "properties": {
  17532. "areauserid": {
  17533. "description": "所属机构id",
  17534. "type": "integer"
  17535. },
  17536. "brandname": {
  17537. "description": "品牌名称",
  17538. "type": "string"
  17539. },
  17540. "currencyid": {
  17541. "description": "报价货币ID",
  17542. "type": "integer"
  17543. },
  17544. "currencyname": {
  17545. "description": "币种名称",
  17546. "type": "string"
  17547. },
  17548. "deliverygoodscode": {
  17549. "description": "现货商品代码",
  17550. "type": "string"
  17551. },
  17552. "deliverygoodsid": {
  17553. "description": "现货商品id",
  17554. "type": "integer"
  17555. },
  17556. "deliverygoodsname": {
  17557. "description": "现货商品名称",
  17558. "type": "string"
  17559. },
  17560. "enumdicname": {
  17561. "description": "现货商品单位名称",
  17562. "type": "string"
  17563. },
  17564. "gbenumdicname": {
  17565. "description": "品类单位名称",
  17566. "type": "string"
  17567. },
  17568. "gmunitid": {
  17569. "description": "品类单位id",
  17570. "type": "integer"
  17571. },
  17572. "isvalid": {
  17573. "description": "是否有效 - 0:无效 1:有效",
  17574. "type": "integer"
  17575. },
  17576. "operateid": {
  17577. "description": "最后操作人",
  17578. "type": "integer"
  17579. },
  17580. "operatesrc": {
  17581. "description": "最后操作来源 - 1:管理端 2:终端",
  17582. "type": "integer"
  17583. },
  17584. "operatetime": {
  17585. "description": "最后操作时间",
  17586. "type": "string"
  17587. },
  17588. "operatorname": {
  17589. "description": "操作人名称",
  17590. "type": "string"
  17591. },
  17592. "spotgoodsbrandid": {
  17593. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17594. "type": "integer"
  17595. },
  17596. "spotgoodsprice": {
  17597. "description": "现货价格",
  17598. "type": "number"
  17599. },
  17600. "tradedate": {
  17601. "description": "交易日(yyyyMMdd)",
  17602. "type": "string"
  17603. },
  17604. "unitid": {
  17605. "description": "现货商品单位id",
  17606. "type": "integer"
  17607. },
  17608. "wrstandardcode": {
  17609. "description": "品类代码",
  17610. "type": "string"
  17611. },
  17612. "wrstandardid": {
  17613. "description": "现货品类ID(通用则为0)",
  17614. "type": "integer"
  17615. },
  17616. "wrstandardname": {
  17617. "description": "品类名称",
  17618. "type": "string"
  17619. }
  17620. }
  17621. },
  17622. "models.Ermcp3SpotGoodsPriceLog": {
  17623. "type": "object",
  17624. "properties": {
  17625. "areauserid": {
  17626. "description": "所属机构id",
  17627. "type": "integer"
  17628. },
  17629. "brandname": {
  17630. "description": "品牌名称",
  17631. "type": "string"
  17632. },
  17633. "currencyid": {
  17634. "description": "报价货币ID",
  17635. "type": "integer"
  17636. },
  17637. "deliverygoodscode": {
  17638. "description": "现货商品代码",
  17639. "type": "string"
  17640. },
  17641. "deliverygoodsid": {
  17642. "description": "现货商品id",
  17643. "type": "integer"
  17644. },
  17645. "deliverygoodsname": {
  17646. "description": "现货商品名称",
  17647. "type": "string"
  17648. },
  17649. "enumdicname": {
  17650. "description": "现货商品单位名称",
  17651. "type": "string"
  17652. },
  17653. "gbenumdicname": {
  17654. "description": "品类单位名称",
  17655. "type": "string"
  17656. },
  17657. "gmunitid": {
  17658. "description": "品类单位id",
  17659. "type": "integer"
  17660. },
  17661. "logid": {
  17662. "description": "日志id",
  17663. "type": "integer"
  17664. },
  17665. "operateid": {
  17666. "description": "最后操作人",
  17667. "type": "integer"
  17668. },
  17669. "operatesrc": {
  17670. "description": "最后操作来源 - 1:管理端 2:终端",
  17671. "type": "integer"
  17672. },
  17673. "operatetime": {
  17674. "description": "最后操作时间",
  17675. "type": "string"
  17676. },
  17677. "operatorname": {
  17678. "description": "操作人名称",
  17679. "type": "string"
  17680. },
  17681. "spotgoodsbrandid": {
  17682. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17683. "type": "integer"
  17684. },
  17685. "spotgoodsprice": {
  17686. "description": "现货价格",
  17687. "type": "number"
  17688. },
  17689. "tradedate": {
  17690. "description": "交易日(yyyyMMdd)",
  17691. "type": "string"
  17692. },
  17693. "unitid": {
  17694. "description": "现货商品单位id",
  17695. "type": "integer"
  17696. },
  17697. "wrstandardcode": {
  17698. "description": "品类代码",
  17699. "type": "string"
  17700. },
  17701. "wrstandardid": {
  17702. "description": "现货品类ID(通用则为0)",
  17703. "type": "integer"
  17704. },
  17705. "wrstandardname": {
  17706. "description": "品类名称",
  17707. "type": "string"
  17708. }
  17709. }
  17710. },
  17711. "models.Ermcp3TaFutuReDataReport": {
  17712. "type": "object",
  17713. "properties": {
  17714. "accountid": {
  17715. "description": "交易账户",
  17716. "type": "integer"
  17717. },
  17718. "accountname": {
  17719. "description": "交易账号名称",
  17720. "type": "string"
  17721. },
  17722. "begindate": {
  17723. "description": "开始交易日",
  17724. "type": "string"
  17725. },
  17726. "buyorsell": {
  17727. "description": "持仓方向",
  17728. "type": "integer"
  17729. },
  17730. "charge": {
  17731. "description": "手续费",
  17732. "type": "number"
  17733. },
  17734. "closeavgprice": {
  17735. "description": "平仓均价",
  17736. "type": "number"
  17737. },
  17738. "closepl": {
  17739. "description": "平仓损益",
  17740. "type": "number"
  17741. },
  17742. "currencyid": {
  17743. "description": "结算币种ID",
  17744. "type": "integer"
  17745. },
  17746. "cycletime": {
  17747. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17748. "type": "string"
  17749. },
  17750. "cycletype": {
  17751. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17752. "type": "integer"
  17753. },
  17754. "enddate": {
  17755. "description": "结束交易日",
  17756. "type": "string"
  17757. },
  17758. "enumdicname": {
  17759. "description": "单位名称(现货商品)",
  17760. "type": "string"
  17761. },
  17762. "floatpl": {
  17763. "description": "浮动损益",
  17764. "type": "number"
  17765. },
  17766. "goodscode": {
  17767. "description": "交易合约代码",
  17768. "type": "string"
  17769. },
  17770. "goodsgroupid": {
  17771. "description": "交易品种",
  17772. "type": "integer"
  17773. },
  17774. "goodsgroupname": {
  17775. "description": "交易品种名称",
  17776. "type": "string"
  17777. },
  17778. "goodsgroupspotqty": {
  17779. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17780. "type": "number"
  17781. },
  17782. "goodsid": {
  17783. "description": "交易合约",
  17784. "type": "integer"
  17785. },
  17786. "goodsname": {
  17787. "description": "交易合约名称",
  17788. "type": "string"
  17789. },
  17790. "goodunitid": {
  17791. "description": "交易合约单位id",
  17792. "type": "integer"
  17793. },
  17794. "holdamount": {
  17795. "description": "期末持仓额",
  17796. "type": "number"
  17797. },
  17798. "holdqty": {
  17799. "description": "期末持仓量",
  17800. "type": "number"
  17801. },
  17802. "lastholdamount": {
  17803. "description": "当前持仓额",
  17804. "type": "number"
  17805. },
  17806. "lastprice": {
  17807. "description": "最新价",
  17808. "type": "number"
  17809. },
  17810. "middlegoodsqty": {
  17811. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17812. "type": "number"
  17813. },
  17814. "openamount": {
  17815. "description": "期末开仓额",
  17816. "type": "number"
  17817. },
  17818. "openavgprice": {
  17819. "description": "开仓均价",
  17820. "type": "number"
  17821. },
  17822. "oriholdamount": {
  17823. "description": "期初持仓额",
  17824. "type": "number"
  17825. },
  17826. "oriholdqty": {
  17827. "description": "期初持仓量",
  17828. "type": "number"
  17829. },
  17830. "oriopenamount": {
  17831. "description": "期初开仓额",
  17832. "type": "number"
  17833. },
  17834. "outergroupcode": {
  17835. "description": "交易品种代码",
  17836. "type": "string"
  17837. },
  17838. "reckondate": {
  17839. "description": "日照时期(yyyyMMdd)",
  17840. "type": "string"
  17841. },
  17842. "reckonholdamount": {
  17843. "description": "结算持仓额",
  17844. "type": "number"
  17845. },
  17846. "reckonpl": {
  17847. "description": "结算损益",
  17848. "type": "number"
  17849. },
  17850. "reckonpl2": {
  17851. "description": "结算逐笔盈亏",
  17852. "type": "number"
  17853. },
  17854. "reckonprice": {
  17855. "description": "结算价",
  17856. "type": "number"
  17857. },
  17858. "relateduserid": {
  17859. "description": "账户关联用户ID",
  17860. "type": "integer"
  17861. },
  17862. "todaycloseamount": {
  17863. "description": "今平仓额",
  17864. "type": "number"
  17865. },
  17866. "todaycloseqty": {
  17867. "description": "今平仓量",
  17868. "type": "number"
  17869. },
  17870. "todaygoodsgroupspotqty": {
  17871. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17872. "type": "number"
  17873. },
  17874. "todaymiddlegoodsqty": {
  17875. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17876. "type": "number"
  17877. },
  17878. "todayopenamount": {
  17879. "description": "今开仓额",
  17880. "type": "number"
  17881. },
  17882. "todayopenqty": {
  17883. "description": "今开仓量",
  17884. "type": "number"
  17885. },
  17886. "userid": {
  17887. "description": "账户所属用户ID",
  17888. "type": "integer"
  17889. }
  17890. }
  17891. },
  17892. "models.Ermcp3Wrstandard": {
  17893. "type": "object",
  17894. "properties": {
  17895. "areauserid": {
  17896. "description": "所属机构",
  17897. "type": "integer"
  17898. },
  17899. "convertfactor": {
  17900. "description": "标仓系数",
  17901. "type": "number"
  17902. },
  17903. "createtime": {
  17904. "description": "创建时间",
  17905. "type": "string"
  17906. },
  17907. "creatorid": {
  17908. "description": "创建人",
  17909. "type": "integer"
  17910. },
  17911. "deliverygoodsid": {
  17912. "description": "现货品种ID",
  17913. "type": "integer"
  17914. },
  17915. "enumdicname": {
  17916. "description": "品类单位名称",
  17917. "type": "string"
  17918. },
  17919. "isvalid": {
  17920. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17921. "type": "integer"
  17922. },
  17923. "minivalue": {
  17924. "description": "最小变动值",
  17925. "type": "integer"
  17926. },
  17927. "minivaluedp": {
  17928. "description": "最小变动值小数位",
  17929. "type": "integer"
  17930. },
  17931. "realminivalue": {
  17932. "description": "实际最小变动值",
  17933. "type": "integer"
  17934. },
  17935. "realminivaluedp": {
  17936. "description": "实际最小变动值小数位",
  17937. "type": "integer"
  17938. },
  17939. "remark": {
  17940. "description": "备注",
  17941. "type": "string"
  17942. },
  17943. "unitid": {
  17944. "description": "品类单位ID",
  17945. "type": "integer"
  17946. },
  17947. "updatetime": {
  17948. "description": "更新时间",
  17949. "type": "string"
  17950. },
  17951. "wrstandardcode": {
  17952. "description": "品类代码",
  17953. "type": "string"
  17954. },
  17955. "wrstandardid": {
  17956. "description": "品类ID(SEQ_WRSTANDARD)",
  17957. "type": "integer"
  17958. },
  17959. "wrstandardname": {
  17960. "description": "品类名称",
  17961. "type": "string"
  17962. }
  17963. }
  17964. },
  17965. "models.ErmcpAreaSpotDetailModel": {
  17966. "type": "object",
  17967. "properties": {
  17968. "contracttype": {
  17969. "description": "合同类型 1-采购 -1-销售",
  17970. "type": "integer"
  17971. },
  17972. "createtime": {
  17973. "description": "创建时间",
  17974. "type": "string"
  17975. },
  17976. "enumdicname": {
  17977. "description": "现货商品单位名称",
  17978. "type": "string"
  17979. },
  17980. "logtype": {
  17981. "description": "记录类型 1-套保 2-现货合同",
  17982. "type": "integer"
  17983. },
  17984. "qty": {
  17985. "description": "数量",
  17986. "type": "number"
  17987. },
  17988. "recordname": {
  17989. "description": "类型名称",
  17990. "type": "string"
  17991. },
  17992. "relatedid": {
  17993. "description": "套保计划ID/现货合同ID",
  17994. "type": "string"
  17995. },
  17996. "relatedno": {
  17997. "description": "编号",
  17998. "type": "string"
  17999. },
  18000. "strtime": {
  18001. "description": "时间",
  18002. "type": "string"
  18003. },
  18004. "wrstandardcode": {
  18005. "description": "现货商品代码",
  18006. "type": "string"
  18007. },
  18008. "wrstandardname": {
  18009. "description": "现货商品名称",
  18010. "type": "string"
  18011. }
  18012. }
  18013. },
  18014. "models.ErmcpAvalidGoodsGroupModel": {
  18015. "type": "object",
  18016. "properties": {
  18017. "goodsgroupid": {
  18018. "description": "期货品种id",
  18019. "type": "integer"
  18020. },
  18021. "goodsgroupname": {
  18022. "description": "期货品种名称",
  18023. "type": "string"
  18024. },
  18025. "goodunitid": {
  18026. "description": "品种单位id",
  18027. "type": "integer"
  18028. },
  18029. "goodunitname": {
  18030. "description": "品种单位名称",
  18031. "type": "string"
  18032. },
  18033. "outergroupcode": {
  18034. "description": "期货品种代码",
  18035. "type": "string"
  18036. }
  18037. }
  18038. },
  18039. "models.ErmcpBizGroupEx": {
  18040. "type": "object",
  18041. "properties": {
  18042. "acclist": {
  18043. "description": "账号列表",
  18044. "type": "array",
  18045. "items": {
  18046. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18047. }
  18048. },
  18049. "bizgroupid": {
  18050. "description": "业务分组id",
  18051. "type": "integer"
  18052. },
  18053. "biztype": {
  18054. "description": "业务类型 1-套保 2-套利",
  18055. "type": "integer"
  18056. },
  18057. "wrlist": {
  18058. "description": "现货商品表",
  18059. "type": "array",
  18060. "items": {
  18061. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18062. }
  18063. }
  18064. }
  18065. },
  18066. "models.ErmcpBizGroupSpotGoods": {
  18067. "type": "object",
  18068. "properties": {
  18069. "areauserid": {
  18070. "description": "所属机构id",
  18071. "type": "integer"
  18072. },
  18073. "bizgroupid": {
  18074. "description": "分组id",
  18075. "type": "integer"
  18076. },
  18077. "biztype": {
  18078. "description": "业务类型 1-套保 2-套利",
  18079. "type": "integer"
  18080. },
  18081. "deliverygoodscode": {
  18082. "description": "现货商品代码",
  18083. "type": "string"
  18084. },
  18085. "deliverygoodsid": {
  18086. "description": "现货商品id",
  18087. "type": "integer"
  18088. },
  18089. "deliverygoodsname": {
  18090. "description": "现货商品名称",
  18091. "type": "string"
  18092. },
  18093. "unitid": {
  18094. "description": "现货商品单位id",
  18095. "type": "integer"
  18096. }
  18097. }
  18098. },
  18099. "models.ErmcpBizGroupTaAccount": {
  18100. "type": "object",
  18101. "properties": {
  18102. "accountid": {
  18103. "description": "账号id",
  18104. "type": "integer"
  18105. },
  18106. "accountname": {
  18107. "description": "账号名称",
  18108. "type": "string"
  18109. },
  18110. "areauserid": {
  18111. "description": "所属机构id",
  18112. "type": "integer"
  18113. },
  18114. "bizgroupid": {
  18115. "description": "业务分组id",
  18116. "type": "integer"
  18117. },
  18118. "ismain": {
  18119. "description": "是否主账号 1-是 0-否",
  18120. "type": "integer"
  18121. }
  18122. }
  18123. },
  18124. "models.ErmcpDGFactoryItem": {
  18125. "type": "object",
  18126. "properties": {
  18127. "areauserid": {
  18128. "description": "用户id",
  18129. "type": "integer"
  18130. },
  18131. "deliverygoodsid": {
  18132. "description": "现货品种ID",
  18133. "type": "integer"
  18134. },
  18135. "dgfactoryitemid": {
  18136. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18137. "type": "integer"
  18138. },
  18139. "dgfactoryitemtypeid": {
  18140. "description": "要素项类型",
  18141. "type": "integer"
  18142. },
  18143. "dgfactoryitemvalue": {
  18144. "description": "要素项值(类型为仓库时填写仓库名称)",
  18145. "type": "string"
  18146. },
  18147. "isvalid": {
  18148. "description": "是否有效 - 0:无效 1:有效",
  18149. "type": "integer"
  18150. },
  18151. "orderindex": {
  18152. "description": "顺序",
  18153. "type": "integer"
  18154. },
  18155. "warehouseid": {
  18156. "description": "仓库ID(类型为仓库时填写)",
  18157. "type": "integer"
  18158. }
  18159. }
  18160. },
  18161. "models.ErmcpDeliveryGoods": {
  18162. "type": "object",
  18163. "properties": {
  18164. "agreeunit": {
  18165. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18166. "type": "integer"
  18167. },
  18168. "areauserid": {
  18169. "description": "所属机构",
  18170. "type": "integer"
  18171. },
  18172. "auditflag": {
  18173. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18174. "type": "integer"
  18175. },
  18176. "categoryid": {
  18177. "description": "类别ID(SEQ_WRCATEGORY)",
  18178. "type": "integer"
  18179. },
  18180. "deliverygoodscode": {
  18181. "description": "现货品种代码",
  18182. "type": "string"
  18183. },
  18184. "deliverygoodsid": {
  18185. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18186. "type": "integer"
  18187. },
  18188. "deliverygoodsname": {
  18189. "description": "现货品种名称",
  18190. "type": "string"
  18191. },
  18192. "deliverygoodstype": {
  18193. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  18194. "type": "integer"
  18195. },
  18196. "dgstatus": {
  18197. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  18198. "type": "integer"
  18199. },
  18200. "enumdicname": {
  18201. "description": "现货品种单位名称",
  18202. "type": "string"
  18203. },
  18204. "goodsunitid": {
  18205. "description": "现货品种单位ID",
  18206. "type": "integer"
  18207. },
  18208. "isvalid": {
  18209. "description": "是否有效 - 0:无效 1:有效",
  18210. "type": "integer"
  18211. },
  18212. "qtydecimalplace": {
  18213. "description": "成交量小数位",
  18214. "type": "integer"
  18215. },
  18216. "remark": {
  18217. "description": "备注",
  18218. "type": "string"
  18219. },
  18220. "standardqty": {
  18221. "description": "标准数量(库位数量) [标准品特有]",
  18222. "type": "integer"
  18223. },
  18224. "standardqtyrange": {
  18225. "description": "标准数量偏差范围 [标准品特有]",
  18226. "type": "integer"
  18227. }
  18228. }
  18229. },
  18230. "models.ErmcpDeliveryGoodsDetail2": {
  18231. "type": "object",
  18232. "properties": {
  18233. "convertratio": {
  18234. "description": "套保系数(折算系数)",
  18235. "type": "number"
  18236. },
  18237. "data": {
  18238. "description": "现货商品基本信息(交割品种)",
  18239. "type": "object",
  18240. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18241. },
  18242. "gblist": {
  18243. "description": "品牌列表",
  18244. "type": "array",
  18245. "items": {
  18246. "$ref": "#/definitions/models.Ermcp3Brand"
  18247. }
  18248. },
  18249. "gmlist": {
  18250. "description": "品类列表(仓单标准)",
  18251. "type": "array",
  18252. "items": {
  18253. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18254. }
  18255. }
  18256. }
  18257. },
  18258. "models.ErmcpDeliveryGoodsDetailEx": {
  18259. "type": "object",
  18260. "properties": {
  18261. "data": {
  18262. "description": "现货商品基本信息(交割品种)",
  18263. "type": "object",
  18264. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18265. },
  18266. "gblist": {
  18267. "description": "品牌列表",
  18268. "type": "array",
  18269. "items": {
  18270. "$ref": "#/definitions/models.Ermcp3Brand"
  18271. }
  18272. },
  18273. "gmlist": {
  18274. "description": "品类列表(仓单标准)",
  18275. "type": "array",
  18276. "items": {
  18277. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18278. }
  18279. },
  18280. "mgList": {
  18281. "description": "套保列表",
  18282. "type": "array",
  18283. "items": {
  18284. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18285. }
  18286. }
  18287. }
  18288. },
  18289. "models.ErmcpExposureDetailModel": {
  18290. "type": "object",
  18291. "properties": {
  18292. "areauserid": {
  18293. "description": "机构ID",
  18294. "type": "integer"
  18295. },
  18296. "changeQty": {
  18297. "description": "套保变动量",
  18298. "type": "number"
  18299. },
  18300. "contracttype": {
  18301. "description": "现货合同类型 - 1:采购 -1:销售",
  18302. "type": "integer"
  18303. },
  18304. "convertfactor": {
  18305. "description": "标仓系数",
  18306. "type": "number"
  18307. },
  18308. "convertratio": {
  18309. "description": "套保系数",
  18310. "type": "number"
  18311. },
  18312. "createtime": {
  18313. "description": "时间",
  18314. "type": "string"
  18315. },
  18316. "enumdicname": {
  18317. "description": "现货商品单位名称",
  18318. "type": "string"
  18319. },
  18320. "logtype": {
  18321. "description": "类型 - 1:套保计划 2:现货合同",
  18322. "type": "integer"
  18323. },
  18324. "middlegoodsId": {
  18325. "description": "套保商品id",
  18326. "type": "integer"
  18327. },
  18328. "middlegoodscode": {
  18329. "description": "套保商品代码",
  18330. "type": "string"
  18331. },
  18332. "middlegoodsname": {
  18333. "description": "套保商品名称",
  18334. "type": "string"
  18335. },
  18336. "qty": {
  18337. "description": "数量",
  18338. "type": "number"
  18339. },
  18340. "relateNo": {
  18341. "description": "现货合同/套保计划编号",
  18342. "type": "string"
  18343. },
  18344. "wrstandardcode": {
  18345. "description": "现货商品代码",
  18346. "type": "string"
  18347. },
  18348. "wrstandardid": {
  18349. "description": "现货商品ID",
  18350. "type": "integer"
  18351. },
  18352. "wrstandardname": {
  18353. "description": "现货商品名称",
  18354. "type": "string"
  18355. }
  18356. }
  18357. },
  18358. "models.ErmcpExposurePostion": {
  18359. "type": "object",
  18360. "properties": {
  18361. "agreeunit": {
  18362. "description": "合约单位",
  18363. "type": "string"
  18364. },
  18365. "areauserid": {
  18366. "description": "所属机构id",
  18367. "type": "integer"
  18368. },
  18369. "convertratio": {
  18370. "description": "期货品种系数(折算系数)",
  18371. "type": "number"
  18372. },
  18373. "curqty": {
  18374. "description": "当前持仓",
  18375. "type": "integer"
  18376. },
  18377. "diffhedgeqty": {
  18378. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18379. "type": "number"
  18380. },
  18381. "diffqty": {
  18382. "description": "持仓变动量=当前持仓-昨日持仓",
  18383. "type": "integer"
  18384. },
  18385. "goodscode": {
  18386. "description": "商品代码",
  18387. "type": "string"
  18388. },
  18389. "goodsid": {
  18390. "description": "商品id",
  18391. "type": "integer"
  18392. },
  18393. "goodsname": {
  18394. "description": "商品名称",
  18395. "type": "string"
  18396. },
  18397. "middlegoodsid": {
  18398. "description": "套保商品id",
  18399. "type": "integer"
  18400. },
  18401. "ydqty": {
  18402. "description": "昨日持仓",
  18403. "type": "integer"
  18404. }
  18405. }
  18406. },
  18407. "models.ErmcpFuturesCompany": {
  18408. "type": "object",
  18409. "properties": {
  18410. "brokerid": {
  18411. "description": "经纪公司代码",
  18412. "type": "string"
  18413. },
  18414. "channeladdress": {
  18415. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18416. "type": "string"
  18417. },
  18418. "channelid": {
  18419. "description": "对冲渠道ID",
  18420. "type": "string"
  18421. },
  18422. "createtime": {
  18423. "description": "创建时间",
  18424. "type": "string"
  18425. },
  18426. "creatorid": {
  18427. "description": "创建人",
  18428. "type": "string"
  18429. },
  18430. "fcid": {
  18431. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18432. "type": "integer"
  18433. },
  18434. "fcname": {
  18435. "description": "期货公司名称",
  18436. "type": "string"
  18437. },
  18438. "isvalid": {
  18439. "description": "是否有效 - 0:无效 1:有效",
  18440. "type": "integer"
  18441. },
  18442. "mhpaddress": {
  18443. "description": "MHP服务地址(IP:Port)",
  18444. "type": "string"
  18445. },
  18446. "riskrulegroupid": {
  18447. "description": "风控规则组ID",
  18448. "type": "string"
  18449. },
  18450. "tradefeetmpid": {
  18451. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18452. "type": "string"
  18453. },
  18454. "trademargintmpid": {
  18455. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18456. "type": "string"
  18457. },
  18458. "traderatetmpid": {
  18459. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18460. "type": "string"
  18461. },
  18462. "updatetime": {
  18463. "description": "更新时间",
  18464. "type": "string"
  18465. },
  18466. "updatorid": {
  18467. "description": "更新人",
  18468. "type": "string"
  18469. }
  18470. }
  18471. },
  18472. "models.ErmcpGGConvertCfg": {
  18473. "type": "object",
  18474. "properties": {
  18475. "convertratio": {
  18476. "description": "折算系数",
  18477. "type": "number"
  18478. },
  18479. "destgoodsgroupid": {
  18480. "description": "目标品种ID",
  18481. "type": "integer"
  18482. },
  18483. "dstcode": {
  18484. "description": "目录品种代码",
  18485. "type": "string"
  18486. },
  18487. "dstexchangecode": {
  18488. "description": "目标期货交易所",
  18489. "type": "string"
  18490. },
  18491. "dstname": {
  18492. "description": "目标品种名称",
  18493. "type": "string"
  18494. },
  18495. "dstunitid": {
  18496. "description": "目标品种单位ID",
  18497. "type": "integer"
  18498. },
  18499. "dstunitidname": {
  18500. "description": "目标品种单位名称",
  18501. "type": "string"
  18502. },
  18503. "modifytime": {
  18504. "description": "修改时间",
  18505. "type": "string"
  18506. },
  18507. "srccode": {
  18508. "description": "源品种代码",
  18509. "type": "string"
  18510. },
  18511. "srcexchangecode": {
  18512. "description": "源期货交易所",
  18513. "type": "string"
  18514. },
  18515. "srcgoodsgroupid": {
  18516. "description": "源品种ID",
  18517. "type": "integer"
  18518. },
  18519. "srcname": {
  18520. "description": "源品种名称",
  18521. "type": "string"
  18522. },
  18523. "srcunitid": {
  18524. "description": "源品种单位ID",
  18525. "type": "integer"
  18526. },
  18527. "srcunitidname": {
  18528. "description": "源品种单位名称",
  18529. "type": "string"
  18530. }
  18531. }
  18532. },
  18533. "models.ErmcpGoods": {
  18534. "type": "object",
  18535. "required": [
  18536. "goodscode",
  18537. "goodsid",
  18538. "goodsname",
  18539. "marketid"
  18540. ],
  18541. "properties": {
  18542. "agreeunit": {
  18543. "description": "合约单位",
  18544. "type": "number"
  18545. },
  18546. "areauserid": {
  18547. "description": "所属机构",
  18548. "type": "integer"
  18549. },
  18550. "auditaccountid": {
  18551. "description": "审核操作员账号",
  18552. "type": "integer"
  18553. },
  18554. "audittime": {
  18555. "description": "审核时间",
  18556. "type": "string"
  18557. },
  18558. "cancelaccountid": {
  18559. "description": "注销操作员账号",
  18560. "type": "integer"
  18561. },
  18562. "canceltime": {
  18563. "description": "注销时间",
  18564. "type": "string"
  18565. },
  18566. "closepricemode": {
  18567. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18568. "type": "integer"
  18569. },
  18570. "closepriceparam": {
  18571. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18572. "type": "number"
  18573. },
  18574. "createtime": {
  18575. "description": "创建时间",
  18576. "type": "string"
  18577. },
  18578. "creatorid": {
  18579. "description": "创建人",
  18580. "type": "integer"
  18581. },
  18582. "currencyid": {
  18583. "description": "报价货币ID",
  18584. "type": "integer"
  18585. },
  18586. "cutmode": {
  18587. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18588. "type": "integer"
  18589. },
  18590. "decimalplace": {
  18591. "description": "报价小数位",
  18592. "type": "integer"
  18593. },
  18594. "delistingdate": {
  18595. "description": "商品退市时间(状态:退市) -- 已作废",
  18596. "type": "string"
  18597. },
  18598. "delistingmode": {
  18599. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18600. "type": "integer"
  18601. },
  18602. "deliveryflag": {
  18603. "description": "交割标志 - 0:不可交割 1:可交割",
  18604. "type": "integer"
  18605. },
  18606. "enumdicname": {
  18607. "description": "单位名称",
  18608. "type": "string"
  18609. },
  18610. "forceclosemode": {
  18611. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18612. "type": "integer"
  18613. },
  18614. "forceclosevalue": {
  18615. "description": "定期强平参数 [收益权]",
  18616. "type": "integer"
  18617. },
  18618. "goodscode": {
  18619. "description": "商品代码(内部)",
  18620. "type": "string"
  18621. },
  18622. "goodscurrencyid": {
  18623. "description": "合约货币ID",
  18624. "type": "integer"
  18625. },
  18626. "goodsgroupid": {
  18627. "description": "所属商品组ID",
  18628. "type": "integer"
  18629. },
  18630. "goodsid": {
  18631. "description": "商品ID(自增ID SEQ_GOODS)",
  18632. "type": "integer"
  18633. },
  18634. "goodsname": {
  18635. "description": "商品名称",
  18636. "type": "string"
  18637. },
  18638. "goodsquotetype": {
  18639. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18640. "type": "integer"
  18641. },
  18642. "goodsstatus": {
  18643. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18644. "type": "integer"
  18645. },
  18646. "goodstradetype": {
  18647. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18648. "type": "integer"
  18649. },
  18650. "goodunitid": {
  18651. "description": "报价单位ID",
  18652. "type": "integer"
  18653. },
  18654. "hasquoter": {
  18655. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18656. "type": "integer"
  18657. },
  18658. "hqprotecttime": {
  18659. "description": "行情保护时间(秒)",
  18660. "type": "integer"
  18661. },
  18662. "innerdealmode": {
  18663. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18664. "type": "integer"
  18665. },
  18666. "isbuylimited": {
  18667. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18668. "type": "integer"
  18669. },
  18670. "isvisible": {
  18671. "description": "游客是否可见 - 0:不可见 1:可见",
  18672. "type": "integer"
  18673. },
  18674. "lasttradedate": {
  18675. "description": "最后交易日期(状态:待退市)",
  18676. "type": "string"
  18677. },
  18678. "listingdate": {
  18679. "description": "交易开始日期",
  18680. "type": "string"
  18681. },
  18682. "marketid": {
  18683. "description": "所属市场ID",
  18684. "type": "integer"
  18685. },
  18686. "modifierid": {
  18687. "description": "修改人",
  18688. "type": "integer"
  18689. },
  18690. "modifystatus": {
  18691. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18692. "type": "integer"
  18693. },
  18694. "modifytime": {
  18695. "description": "修改时间",
  18696. "type": "string"
  18697. },
  18698. "outerdealmode": {
  18699. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18700. "type": "integer"
  18701. },
  18702. "outgoodscode": {
  18703. "description": "商品代码(外部)",
  18704. "type": "string"
  18705. },
  18706. "pictureurl": {
  18707. "description": "商品图片",
  18708. "type": "string"
  18709. },
  18710. "qtydecimalplace": {
  18711. "description": "成交量小数位",
  18712. "type": "integer"
  18713. },
  18714. "quotegear": {
  18715. "description": "行情档位(1-10)",
  18716. "type": "integer"
  18717. },
  18718. "quoteminunit": {
  18719. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18720. "type": "integer"
  18721. },
  18722. "quoteshowtype": {
  18723. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18724. "type": "integer"
  18725. },
  18726. "quoteshowtypeinterval": {
  18727. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18728. "type": "integer"
  18729. },
  18730. "relatedgoodsid": {
  18731. "description": "关联参考商品ID",
  18732. "type": "integer"
  18733. },
  18734. "remark": {
  18735. "description": "备注",
  18736. "type": "string"
  18737. },
  18738. "trademode": {
  18739. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18740. "type": "integer"
  18741. }
  18742. }
  18743. },
  18744. "models.ErmcpGoodsBrand": {
  18745. "type": "object",
  18746. "properties": {
  18747. "areauserid": {
  18748. "description": "所属机构",
  18749. "type": "integer"
  18750. },
  18751. "brandid": {
  18752. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18753. "type": "integer"
  18754. },
  18755. "brandname": {
  18756. "description": "品牌名称",
  18757. "type": "string"
  18758. },
  18759. "createtime": {
  18760. "description": "创建时间",
  18761. "type": "string"
  18762. },
  18763. "creatorid": {
  18764. "description": "创建人",
  18765. "type": "integer"
  18766. },
  18767. "creatorsrc": {
  18768. "description": "创建人来源 - 1:管理端 2:终端",
  18769. "type": "integer"
  18770. },
  18771. "deliverygoodsid": {
  18772. "description": "现货品种ID",
  18773. "type": "integer"
  18774. },
  18775. "isvalid": {
  18776. "description": "是否有效 - 0:无效 1:有效",
  18777. "type": "integer"
  18778. },
  18779. "updatetime": {
  18780. "description": "更新时间",
  18781. "type": "string"
  18782. },
  18783. "updatorid": {
  18784. "description": "更新人",
  18785. "type": "integer"
  18786. },
  18787. "updatorsrc": {
  18788. "description": "更新人来源 - 1:管理端 2:终端",
  18789. "type": "integer"
  18790. },
  18791. "wrstandardid": {
  18792. "description": "现货商品ID",
  18793. "type": "integer"
  18794. }
  18795. }
  18796. },
  18797. "models.ErmcpGoodsModel": {
  18798. "type": "object",
  18799. "properties": {
  18800. "areauserid": {
  18801. "description": "所属机构",
  18802. "type": "integer"
  18803. },
  18804. "convertfactor": {
  18805. "description": "标仓系数",
  18806. "type": "number"
  18807. },
  18808. "createtime": {
  18809. "description": "创建时间",
  18810. "type": "string"
  18811. },
  18812. "creatorid": {
  18813. "description": "创建人",
  18814. "type": "integer"
  18815. },
  18816. "creatorsrc": {
  18817. "description": "创建人来源 - 1:管理端 2:终端",
  18818. "type": "integer"
  18819. },
  18820. "deliverygoodsid": {
  18821. "description": "现货品种ID",
  18822. "type": "integer"
  18823. },
  18824. "isvalid": {
  18825. "description": "是否有效 - 0:无效 1:有效",
  18826. "type": "integer"
  18827. },
  18828. "modelid": {
  18829. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18830. "type": "integer"
  18831. },
  18832. "modelname": {
  18833. "description": "型号名称",
  18834. "type": "string"
  18835. },
  18836. "updatetime": {
  18837. "description": "更新时间",
  18838. "type": "string"
  18839. },
  18840. "updatorid": {
  18841. "description": "更新人",
  18842. "type": "integer"
  18843. },
  18844. "updatorsrc": {
  18845. "description": "更新人来源 - 1:管理端 2:终端",
  18846. "type": "integer"
  18847. },
  18848. "wrstandardid": {
  18849. "description": "现货商品ID",
  18850. "type": "integer"
  18851. }
  18852. }
  18853. },
  18854. "models.ErmcpHedgePosition": {
  18855. "type": "object",
  18856. "properties": {
  18857. "accountid": {
  18858. "description": "资金账号[外部母账户]",
  18859. "type": "integer"
  18860. },
  18861. "curbuyposition": {
  18862. "description": "期末买头寸",
  18863. "type": "integer"
  18864. },
  18865. "cursellposition": {
  18866. "description": "期末卖头寸",
  18867. "type": "integer"
  18868. },
  18869. "curtdbuyposition": {
  18870. "description": "期末今日买头寸",
  18871. "type": "integer"
  18872. },
  18873. "curtdsellposition": {
  18874. "description": "期末今日卖头寸",
  18875. "type": "integer"
  18876. },
  18877. "curydbuyposition": {
  18878. "description": "期末上日买头寸",
  18879. "type": "integer"
  18880. },
  18881. "curydsellposition": {
  18882. "description": "期末上日卖头寸",
  18883. "type": "integer"
  18884. },
  18885. "decreaseqty": {
  18886. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18887. "type": "integer"
  18888. },
  18889. "fretdbuyposition": {
  18890. "description": "冻结今日买头寸",
  18891. "type": "integer"
  18892. },
  18893. "fretdsellposition": {
  18894. "description": "冻结今日卖头寸",
  18895. "type": "integer"
  18896. },
  18897. "freydbuyposition": {
  18898. "description": "冻结上日买头寸",
  18899. "type": "integer"
  18900. },
  18901. "freydsellposition": {
  18902. "description": "冻结上日卖头寸",
  18903. "type": "integer"
  18904. },
  18905. "goodscode": {
  18906. "description": "商品代码",
  18907. "type": "string"
  18908. },
  18909. "goodsid": {
  18910. "description": "商品id",
  18911. "type": "integer"
  18912. },
  18913. "goodsname": {
  18914. "description": "商品名称",
  18915. "type": "string"
  18916. },
  18917. "hedgeaccountcode": {
  18918. "description": "对冲账号",
  18919. "type": "string"
  18920. },
  18921. "hedgegoodsid": {
  18922. "description": "对冲合约ID",
  18923. "type": "integer"
  18924. },
  18925. "increaseqty": {
  18926. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18927. "type": "integer"
  18928. },
  18929. "marketid": {
  18930. "description": "市场ID",
  18931. "type": "integer"
  18932. },
  18933. "relateduserid": {
  18934. "description": "关联用户id",
  18935. "type": "integer"
  18936. },
  18937. "totalcurqty": {
  18938. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18939. "type": "integer"
  18940. },
  18941. "totalydqty": {
  18942. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18943. "type": "integer"
  18944. },
  18945. "tradedate": {
  18946. "description": "交易日(yyyyMMdd)",
  18947. "type": "string"
  18948. },
  18949. "ydbuyposition": {
  18950. "description": "期初买头寸",
  18951. "type": "integer"
  18952. },
  18953. "ydsellposition": {
  18954. "description": "期初卖头寸",
  18955. "type": "integer"
  18956. }
  18957. }
  18958. },
  18959. "models.ErmcpHedgePositionDetail": {
  18960. "type": "object",
  18961. "properties": {
  18962. "buyorsell": {
  18963. "description": "买卖方向 0-买 1-卖",
  18964. "type": "integer"
  18965. },
  18966. "channelbuildtype": {
  18967. "description": "开平方向 1-建仓 2-平仓",
  18968. "type": "integer"
  18969. },
  18970. "goodscode": {
  18971. "description": "商品代码",
  18972. "type": "string"
  18973. },
  18974. "goodsname": {
  18975. "description": "商品名称",
  18976. "type": "string"
  18977. },
  18978. "hedgegoodsid": {
  18979. "description": "商品id",
  18980. "type": "integer"
  18981. },
  18982. "tradeqty": {
  18983. "description": "数量(成交数量)",
  18984. "type": "integer"
  18985. },
  18986. "tradetime": {
  18987. "description": "时间(成交时间)",
  18988. "type": "string"
  18989. }
  18990. }
  18991. },
  18992. "models.ErmcpHisExposure": {
  18993. "type": "object",
  18994. "properties": {
  18995. "needhedgeexposoure": {
  18996. "description": "应套保敞口",
  18997. "type": "number"
  18998. },
  18999. "reckondate": {
  19000. "description": "日照时期(yyyyMMdd)",
  19001. "type": "string"
  19002. },
  19003. "totalexposure": {
  19004. "description": "总敞口",
  19005. "type": "number"
  19006. }
  19007. }
  19008. },
  19009. "models.ErmcpHisExposureS": {
  19010. "type": "object",
  19011. "properties": {
  19012. "data": {
  19013. "description": "历史敞口",
  19014. "type": "array",
  19015. "items": {
  19016. "$ref": "#/definitions/models.ErmcpHisExposure"
  19017. }
  19018. },
  19019. "enumdicname": {
  19020. "description": "单位名称",
  19021. "type": "string"
  19022. },
  19023. "middlegoodscode": {
  19024. "description": "套保品种代码",
  19025. "type": "string"
  19026. },
  19027. "middlegoodsid": {
  19028. "description": "套保品种ID",
  19029. "type": "integer"
  19030. },
  19031. "middlegoodsname": {
  19032. "description": "套保品种名称",
  19033. "type": "string"
  19034. }
  19035. }
  19036. },
  19037. "models.ErmcpLoginTaAccount": {
  19038. "type": "object",
  19039. "properties": {
  19040. "accountid": {
  19041. "description": "账号id",
  19042. "type": "integer"
  19043. },
  19044. "accountname": {
  19045. "description": "账号名称",
  19046. "type": "string"
  19047. }
  19048. }
  19049. },
  19050. "models.ErmcpLoginUser": {
  19051. "type": "object",
  19052. "properties": {
  19053. "acclist": {
  19054. "description": "关联资金账号",
  19055. "type": "array",
  19056. "items": {
  19057. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19058. }
  19059. },
  19060. "accountname": {
  19061. "description": "用户名称",
  19062. "type": "string"
  19063. },
  19064. "clientroleid": {
  19065. "description": "角色id(usertype=2)",
  19066. "type": "integer"
  19067. },
  19068. "createtime": {
  19069. "description": "创建时间",
  19070. "type": "string"
  19071. },
  19072. "logincode": {
  19073. "description": "登录代码",
  19074. "type": "string"
  19075. },
  19076. "loginid": {
  19077. "description": "登录id(LOGINID)",
  19078. "type": "integer"
  19079. },
  19080. "loginname": {
  19081. "description": "登录名称(loginaccount表中的accountname字段)",
  19082. "type": "string"
  19083. },
  19084. "loginstatus": {
  19085. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19086. "type": "integer"
  19087. },
  19088. "memberuserid": {
  19089. "description": "所属会员id",
  19090. "type": "integer"
  19091. },
  19092. "mobile": {
  19093. "description": "手机号",
  19094. "type": "string"
  19095. },
  19096. "modifytime": {
  19097. "description": "修改时间",
  19098. "type": "string"
  19099. },
  19100. "password": {
  19101. "description": "密码(不可解密)",
  19102. "type": "string"
  19103. },
  19104. "rolename": {
  19105. "description": "角色名称",
  19106. "type": "string"
  19107. },
  19108. "rolestatus": {
  19109. "description": "角色状态 1-启用 2-停用",
  19110. "type": "integer"
  19111. },
  19112. "roletype": {
  19113. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19114. "type": "string"
  19115. },
  19116. "userid": {
  19117. "description": "用户id",
  19118. "type": "integer"
  19119. },
  19120. "usertype": {
  19121. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19122. "type": "integer"
  19123. }
  19124. }
  19125. },
  19126. "models.ErmcpLoginUserEx": {
  19127. "type": "object",
  19128. "properties": {
  19129. "accountstatus": {
  19130. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19131. "type": "integer"
  19132. },
  19133. "mobile": {
  19134. "description": "手机号",
  19135. "type": "string"
  19136. },
  19137. "querytype": {
  19138. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19139. "type": "integer"
  19140. },
  19141. "roleid": {
  19142. "description": "角色id(交易账户-\u003e用户id)",
  19143. "type": "integer"
  19144. },
  19145. "rolename": {
  19146. "description": "角色名称(交易账户-\u003e用户名称)",
  19147. "type": "string"
  19148. },
  19149. "userlist": {
  19150. "description": "用户列表",
  19151. "type": "array",
  19152. "items": {
  19153. "$ref": "#/definitions/models.ErmcpLoginUser"
  19154. }
  19155. },
  19156. "usertype": {
  19157. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19158. "type": "integer"
  19159. }
  19160. }
  19161. },
  19162. "models.ErmcpMiddleGoodsChangeLog": {
  19163. "type": "object",
  19164. "properties": {
  19165. "aftervalue": {
  19166. "description": "变更后",
  19167. "type": "number"
  19168. },
  19169. "applyid": {
  19170. "description": "操作人",
  19171. "type": "integer"
  19172. },
  19173. "applyname": {
  19174. "description": "操作人名称",
  19175. "type": "string"
  19176. },
  19177. "applysrc": {
  19178. "description": "操作来源 - 1:管理端 2:终端",
  19179. "type": "integer"
  19180. },
  19181. "beforevalue": {
  19182. "description": "变更前",
  19183. "type": "number"
  19184. },
  19185. "changelogtype": {
  19186. "description": "变更流水类型 - 1:套保比率变更",
  19187. "type": "integer"
  19188. },
  19189. "handlestatus": {
  19190. "description": "处理状态",
  19191. "type": "integer"
  19192. },
  19193. "logdatetime": {
  19194. "description": "流水日期",
  19195. "type": "string"
  19196. },
  19197. "logid": {
  19198. "description": "流水ID",
  19199. "type": "integer"
  19200. },
  19201. "logremark": {
  19202. "description": "流水备注",
  19203. "type": "string"
  19204. },
  19205. "middlegoodsid": {
  19206. "description": "套保品种ID",
  19207. "type": "integer"
  19208. },
  19209. "tradedate": {
  19210. "description": "交易日(yyyyMMdd)",
  19211. "type": "string"
  19212. },
  19213. "updatetime": {
  19214. "description": "更新时间",
  19215. "type": "string"
  19216. }
  19217. }
  19218. },
  19219. "models.ErmcpMiddleGoodsDetail": {
  19220. "type": "object",
  19221. "properties": {
  19222. "cvList": {
  19223. "description": "期货品种折算列表",
  19224. "type": "array",
  19225. "items": {
  19226. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19227. }
  19228. },
  19229. "mg": {
  19230. "description": "套保品种基本信息",
  19231. "type": "object",
  19232. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19233. },
  19234. "wrcList": {
  19235. "description": "现货品种列表(现货商品折算配置)",
  19236. "type": "array",
  19237. "items": {
  19238. "$ref": "#/definitions/models.WRSConverTDetail"
  19239. }
  19240. }
  19241. }
  19242. },
  19243. "models.ErmcpMiddleGoodsModel": {
  19244. "type": "object",
  19245. "properties": {
  19246. "areauserid": {
  19247. "description": "机构用户ID",
  19248. "type": "integer"
  19249. },
  19250. "createtime": {
  19251. "description": "修改时间",
  19252. "type": "string"
  19253. },
  19254. "enumdicname": {
  19255. "description": "单位名称",
  19256. "type": "string"
  19257. },
  19258. "evaluateratio": {
  19259. "description": "估价系数",
  19260. "type": "number"
  19261. },
  19262. "goodsgroupid": {
  19263. "description": "关联期货品种ID",
  19264. "type": "integer"
  19265. },
  19266. "goodsunitid": {
  19267. "description": "单位ID",
  19268. "type": "integer"
  19269. },
  19270. "isvalid": {
  19271. "description": "状态 0-无效(停用) 1-有效(正常)",
  19272. "type": "integer"
  19273. },
  19274. "middlegoodscode": {
  19275. "description": "套保品种代码",
  19276. "type": "string"
  19277. },
  19278. "middlegoodsid": {
  19279. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19280. "type": "integer"
  19281. },
  19282. "middlegoodsname": {
  19283. "description": "套保品种名称",
  19284. "type": "string"
  19285. },
  19286. "modifytime": {
  19287. "description": "修改时间",
  19288. "type": "string"
  19289. },
  19290. "needarbitrageratio": {
  19291. "description": "套利比例",
  19292. "type": "number"
  19293. },
  19294. "needhedgeratio": {
  19295. "description": "套保比率",
  19296. "type": "number"
  19297. },
  19298. "qtydecimalplace": {
  19299. "description": "数量小数位",
  19300. "type": "integer"
  19301. },
  19302. "relatedgoodsid": {
  19303. "description": "关联交易商品ID",
  19304. "type": "integer"
  19305. },
  19306. "relatedgoodstype": {
  19307. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19308. "type": "integer"
  19309. },
  19310. "remark": {
  19311. "description": "备注",
  19312. "type": "string"
  19313. }
  19314. }
  19315. },
  19316. "models.ErmcpMiddlegoodsRelateGoods": {
  19317. "type": "object",
  19318. "properties": {
  19319. "agreeunit": {
  19320. "description": "合约乘数",
  19321. "type": "number"
  19322. },
  19323. "convertratio": {
  19324. "description": "折算系数",
  19325. "type": "number"
  19326. },
  19327. "enumdicname": {
  19328. "description": "单位名称(交易商品)",
  19329. "type": "string"
  19330. },
  19331. "goodscode": {
  19332. "description": "交易商品代码",
  19333. "type": "string"
  19334. },
  19335. "goodsgroupid": {
  19336. "description": "交易品种id",
  19337. "type": "integer"
  19338. },
  19339. "goodsid": {
  19340. "description": "商品Id",
  19341. "type": "integer"
  19342. },
  19343. "goodsname": {
  19344. "description": "交易商品名称",
  19345. "type": "string"
  19346. },
  19347. "goodunitid": {
  19348. "description": "交易商品单位id",
  19349. "type": "integer"
  19350. },
  19351. "middlegoodsid": {
  19352. "description": "套保商品id",
  19353. "type": "integer"
  19354. },
  19355. "middlegoodsname": {
  19356. "description": "套保商品名称",
  19357. "type": "string"
  19358. },
  19359. "middlegoodsswcode": {
  19360. "description": "套保商品代码",
  19361. "type": "string"
  19362. },
  19363. "needarbitrageratio": {
  19364. "description": "应套利比例",
  19365. "type": "number"
  19366. },
  19367. "needhedgeratio": {
  19368. "description": "应套保比例",
  19369. "type": "number"
  19370. }
  19371. }
  19372. },
  19373. "models.ErmcpOPLogModel": {
  19374. "type": "object",
  19375. "properties": {
  19376. "aftervalue": {
  19377. "description": "变更后",
  19378. "type": "number"
  19379. },
  19380. "applyid": {
  19381. "description": "操作人ID",
  19382. "type": "string"
  19383. },
  19384. "applyname": {
  19385. "description": "操作人名称",
  19386. "type": "string"
  19387. },
  19388. "beforevalue": {
  19389. "description": "变更前",
  19390. "type": "number"
  19391. },
  19392. "biztype": {
  19393. "description": "业务类型 - 1:套保计划 2:现货合同",
  19394. "type": "integer"
  19395. },
  19396. "contracttype": {
  19397. "description": "现货合同类型 - 1:采购 -1:销售",
  19398. "type": "integer"
  19399. },
  19400. "logvalue": {
  19401. "description": "数值",
  19402. "type": "number"
  19403. },
  19404. "operatelogtype": {
  19405. "description": "操作流水类型",
  19406. "type": "integer"
  19407. },
  19408. "operatelogtypedesc": {
  19409. "description": "操作流水类型名称",
  19410. "type": "string"
  19411. },
  19412. "relatedid": {
  19413. "description": "现货合同ID\\套保计划",
  19414. "type": "string"
  19415. },
  19416. "updatetime": {
  19417. "description": "更新时间",
  19418. "type": "string"
  19419. }
  19420. }
  19421. },
  19422. "models.ErmcpPendingAudit": {
  19423. "type": "object",
  19424. "properties": {
  19425. "areastockqty": {
  19426. "description": "待审核数量: 库存申请",
  19427. "type": "integer"
  19428. },
  19429. "businessdjqty": {
  19430. "description": "待审核数量: 点价",
  19431. "type": "integer"
  19432. },
  19433. "businessfpqty": {
  19434. "description": "待审核数量: 发票",
  19435. "type": "integer"
  19436. },
  19437. "businessjsqty": {
  19438. "description": "待审核数量: 结算",
  19439. "type": "integer"
  19440. },
  19441. "businesskxqty": {
  19442. "description": "待审核数量: 款项",
  19443. "type": "integer"
  19444. },
  19445. "hedgeplanqty": {
  19446. "description": "待审核数量: 套保计划",
  19447. "type": "integer"
  19448. },
  19449. "spotcontractqty": {
  19450. "description": "待审核数量: 现货合同",
  19451. "type": "integer"
  19452. },
  19453. "userqty": {
  19454. "description": "待审核数量: 用户",
  19455. "type": "integer"
  19456. }
  19457. }
  19458. },
  19459. "models.ErmcpRealExposureModel": {
  19460. "type": "object",
  19461. "properties": {
  19462. "AreaUserID": {
  19463. "description": "所属机构",
  19464. "type": "integer"
  19465. },
  19466. "BuyFutureQty": {
  19467. "description": "买入期货数量",
  19468. "type": "number"
  19469. },
  19470. "BuyPlanQty": {
  19471. "description": "采购计划数量",
  19472. "type": "number"
  19473. },
  19474. "BuyPricedQty": {
  19475. "description": "采购合同已定价数量",
  19476. "type": "number"
  19477. },
  19478. "MiddleGoodsCode": {
  19479. "description": "套保品种代码",
  19480. "type": "string"
  19481. },
  19482. "MiddleGoodsHedgeRatio": {
  19483. "description": "套保比例",
  19484. "type": "number"
  19485. },
  19486. "MiddleGoodsID": {
  19487. "description": "套保品种",
  19488. "type": "integer"
  19489. },
  19490. "MiddleGoodsName": {
  19491. "description": "套保品种名称",
  19492. "type": "string"
  19493. },
  19494. "NeedHedgeExposoure": {
  19495. "description": "应套保敞口(套保敞口)",
  19496. "type": "number"
  19497. },
  19498. "NeedHedgeRatio": {
  19499. "description": "应套保敞口比例",
  19500. "type": "number"
  19501. },
  19502. "OriBuyFutureQty": {
  19503. "description": "期初买入期货数量",
  19504. "type": "number"
  19505. },
  19506. "OriBuyPlanQty": {
  19507. "description": "期初采购计划数量",
  19508. "type": "number"
  19509. },
  19510. "OriBuyPricedQty": {
  19511. "description": "期初采购合同已定价数量",
  19512. "type": "number"
  19513. },
  19514. "OriSellFutureQty": {
  19515. "description": "期初卖出期货数量",
  19516. "type": "number"
  19517. },
  19518. "OriSellPlanQty": {
  19519. "description": "期初销售计划数量",
  19520. "type": "number"
  19521. },
  19522. "OriSellPricedQty": {
  19523. "description": "期初销售合同已定价数量",
  19524. "type": "number"
  19525. },
  19526. "SellFutureQty": {
  19527. "description": "卖出期货数量",
  19528. "type": "number"
  19529. },
  19530. "SellPlanQty": {
  19531. "description": "销售计划数量",
  19532. "type": "number"
  19533. },
  19534. "SellPricedQty": {
  19535. "description": "销售合同已定价数量",
  19536. "type": "number"
  19537. },
  19538. "TotalExposure": {
  19539. "description": "总敞口",
  19540. "type": "number"
  19541. },
  19542. "TotalFutureQty": {
  19543. "description": "期货总量",
  19544. "type": "number"
  19545. },
  19546. "TotalHedgeRatio": {
  19547. "description": "敞口比例",
  19548. "type": "number"
  19549. },
  19550. "TotalNeedHedgeQty": {
  19551. "description": "应套保总量(现货应套保总量)",
  19552. "type": "number"
  19553. },
  19554. "TotalSpotQty": {
  19555. "description": "现货总量",
  19556. "type": "number"
  19557. },
  19558. "arbitrageqty": {
  19559. "description": "套利量",
  19560. "type": "number"
  19561. },
  19562. "diffArbitrageQty": {
  19563. "description": "套利变动量",
  19564. "type": "number"
  19565. },
  19566. "diffExposoureQty": {
  19567. "description": "变动量(套保敞口)",
  19568. "type": "number"
  19569. },
  19570. "diffFutuQty": {
  19571. "description": "变动量(期货总量)",
  19572. "type": "number"
  19573. },
  19574. "diffHedgeQty": {
  19575. "description": "套保变动量",
  19576. "type": "number"
  19577. },
  19578. "diffQty": {
  19579. "description": "变动量(总敞口)",
  19580. "type": "number"
  19581. },
  19582. "diffSpotHedgeQty": {
  19583. "description": "变动量(现货应套保总量)",
  19584. "type": "number"
  19585. },
  19586. "diffSpotQty": {
  19587. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19588. "type": "number"
  19589. },
  19590. "enumdicname": {
  19591. "description": "单位名称",
  19592. "type": "string"
  19593. },
  19594. "hedgeqty": {
  19595. "description": "套保量",
  19596. "type": "number"
  19597. },
  19598. "needarbitrageqty": {
  19599. "description": "应套利量",
  19600. "type": "number"
  19601. },
  19602. "needarbitrageratio": {
  19603. "description": "套利比例",
  19604. "type": "number"
  19605. },
  19606. "needhedgeqty": {
  19607. "description": "应套保量",
  19608. "type": "number"
  19609. },
  19610. "oriTotalFutuQty": {
  19611. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19612. "type": "number"
  19613. },
  19614. "oriTotalSpotQty": {
  19615. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19616. "type": "number"
  19617. },
  19618. "oriarbitrageqty": {
  19619. "description": "期初套利量",
  19620. "type": "number"
  19621. },
  19622. "orihedgeqty": {
  19623. "description": "期初套保量",
  19624. "type": "number"
  19625. },
  19626. "orineedhedgeexposoure": {
  19627. "description": "期初套保敞口",
  19628. "type": "number"
  19629. },
  19630. "oritotalexposure": {
  19631. "description": "期初总敞口",
  19632. "type": "number"
  19633. },
  19634. "oritotalfutureqty": {
  19635. "description": "期初期货总量",
  19636. "type": "number"
  19637. },
  19638. "oritotalneedhedgeqty": {
  19639. "description": "期初现货应套保量",
  19640. "type": "number"
  19641. }
  19642. }
  19643. },
  19644. "models.ErmcpRole": {
  19645. "type": "object",
  19646. "properties": {
  19647. "areauserid": {
  19648. "description": "所属机构",
  19649. "type": "integer"
  19650. },
  19651. "autoid": {
  19652. "description": "角色ID(自增ID)",
  19653. "type": "integer"
  19654. },
  19655. "modifierid": {
  19656. "description": "修改人(创建人)",
  19657. "type": "integer"
  19658. },
  19659. "modifiername": {
  19660. "description": "修改人名称",
  19661. "type": "string"
  19662. },
  19663. "modifytime": {
  19664. "description": "修改时间(创建时间)",
  19665. "type": "string"
  19666. },
  19667. "rolename": {
  19668. "description": "角色名称",
  19669. "type": "string"
  19670. },
  19671. "rolestatus": {
  19672. "description": "角色状态 - 1:启用 2:停用",
  19673. "type": "integer"
  19674. },
  19675. "roletype": {
  19676. "description": "角色类型 - 1- 管理端 2- 交易端",
  19677. "type": "integer"
  19678. }
  19679. }
  19680. },
  19681. "models.ErmcpRoleMenu": {
  19682. "type": "object",
  19683. "properties": {
  19684. "iconame": {
  19685. "description": "菜单图标",
  19686. "type": "string"
  19687. },
  19688. "ishadrole": {
  19689. "description": "是否有权限",
  19690. "type": "boolean"
  19691. },
  19692. "menutype": {
  19693. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19694. "type": "integer"
  19695. },
  19696. "parentcode": {
  19697. "description": "上级资源代码",
  19698. "type": "string"
  19699. },
  19700. "remark": {
  19701. "description": "菜单备注",
  19702. "type": "string"
  19703. },
  19704. "resourcecode": {
  19705. "description": "菜单代码",
  19706. "type": "string"
  19707. },
  19708. "resourcelevel": {
  19709. "description": "级别",
  19710. "type": "integer"
  19711. },
  19712. "resourcename": {
  19713. "description": "菜单名称",
  19714. "type": "string"
  19715. },
  19716. "roleid": {
  19717. "description": "角色id",
  19718. "type": "integer"
  19719. },
  19720. "sort": {
  19721. "description": "排序",
  19722. "type": "integer"
  19723. },
  19724. "url": {
  19725. "description": "URL",
  19726. "type": "string"
  19727. },
  19728. "userid": {
  19729. "description": "用户id",
  19730. "type": "integer"
  19731. }
  19732. }
  19733. },
  19734. "models.ErmcpRoleMenuEx": {
  19735. "type": "object",
  19736. "properties": {
  19737. "menu": {
  19738. "description": "父级菜单",
  19739. "type": "object",
  19740. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19741. },
  19742. "subMenu": {
  19743. "description": "子级菜单",
  19744. "type": "array",
  19745. "items": {
  19746. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19747. }
  19748. }
  19749. }
  19750. },
  19751. "models.ErmcpTaAccount": {
  19752. "type": "object",
  19753. "properties": {
  19754. "accountid": {
  19755. "description": "账户id",
  19756. "type": "integer"
  19757. },
  19758. "accountname": {
  19759. "description": "账户名称",
  19760. "type": "string"
  19761. },
  19762. "currencyid": {
  19763. "description": "币种id",
  19764. "type": "integer"
  19765. },
  19766. "hedgeaccountcode": {
  19767. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19768. "type": "string"
  19769. },
  19770. "ismain": {
  19771. "description": "是否主账户 0-否 1-是",
  19772. "type": "integer"
  19773. },
  19774. "parentaccountid": {
  19775. "description": "父账户id",
  19776. "type": "integer"
  19777. },
  19778. "relateduserid": {
  19779. "description": "关联userid",
  19780. "type": "integer"
  19781. },
  19782. "tradefeetmpid": {
  19783. "description": "手续费模板id",
  19784. "type": "integer"
  19785. },
  19786. "tradefeetmpname": {
  19787. "description": "手续费模板名称",
  19788. "type": "string"
  19789. },
  19790. "trademargintmpid": {
  19791. "description": "保证金模板id",
  19792. "type": "integer"
  19793. },
  19794. "trademargintmpname": {
  19795. "description": "保证金模板名称",
  19796. "type": "string"
  19797. },
  19798. "traderatetmpid": {
  19799. "description": "汇率模板id",
  19800. "type": "integer"
  19801. },
  19802. "traderatetmpname": {
  19803. "description": "汇率模板名称",
  19804. "type": "string"
  19805. },
  19806. "tradestatus": {
  19807. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19808. "type": "integer"
  19809. },
  19810. "userid": {
  19811. "description": "用户id",
  19812. "type": "integer"
  19813. }
  19814. }
  19815. },
  19816. "models.ErmcpTaAccountEx": {
  19817. "type": "object",
  19818. "properties": {
  19819. "mainAcc": {
  19820. "description": "主账号",
  19821. "type": "object",
  19822. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19823. },
  19824. "subacclist": {
  19825. "description": "子账号列表",
  19826. "type": "array",
  19827. "items": {
  19828. "$ref": "#/definitions/models.ErmcpTaAccount"
  19829. }
  19830. }
  19831. }
  19832. },
  19833. "models.ErmcpTaAccountInfo": {
  19834. "type": "object",
  19835. "properties": {
  19836. "accountid": {
  19837. "description": "资金账户ID",
  19838. "type": "integer"
  19839. },
  19840. "accountname": {
  19841. "description": "账户名称",
  19842. "type": "string"
  19843. },
  19844. "balance": {
  19845. "description": "期初余额",
  19846. "type": "number"
  19847. },
  19848. "capitalbalance": {
  19849. "description": "本金余额[外部子账户实际出入金余额]",
  19850. "type": "number"
  19851. },
  19852. "closepl": {
  19853. "description": "今日平仓盈亏",
  19854. "type": "number"
  19855. },
  19856. "creditdecrease": {
  19857. "description": "今日授信减少",
  19858. "type": "number"
  19859. },
  19860. "creditincrease": {
  19861. "description": "今日授信增加",
  19862. "type": "number"
  19863. },
  19864. "curdebt": {
  19865. "description": "期末欠款",
  19866. "type": "number"
  19867. },
  19868. "currencyid": {
  19869. "description": "货币ID",
  19870. "type": "integer"
  19871. },
  19872. "currentbalance": {
  19873. "description": "期末余额",
  19874. "type": "number"
  19875. },
  19876. "freezecharge": {
  19877. "description": "手续费冻结",
  19878. "type": "number"
  19879. },
  19880. "freezemargin": {
  19881. "description": "冻结保证金",
  19882. "type": "number"
  19883. },
  19884. "fromaccountid": {
  19885. "description": "所属上级账户",
  19886. "type": "integer"
  19887. },
  19888. "inamount": {
  19889. "description": "今日入金金额(包括三方入金)",
  19890. "type": "number"
  19891. },
  19892. "ismain": {
  19893. "description": "是否母账号 0:不是母账户 1:是母账户",
  19894. "type": "integer"
  19895. },
  19896. "mortgagecredit": {
  19897. "description": "授信金额",
  19898. "type": "number"
  19899. },
  19900. "oridebt": {
  19901. "description": "期初欠款",
  19902. "type": "number"
  19903. },
  19904. "orifreezecharge": {
  19905. "description": "期初手续费冻结",
  19906. "type": "number"
  19907. },
  19908. "orifreezemargin": {
  19909. "description": "期初冻结保证金",
  19910. "type": "number"
  19911. },
  19912. "orimortgagecredit": {
  19913. "description": "期初授信金额",
  19914. "type": "number"
  19915. },
  19916. "oriothercredit": {
  19917. "description": "期初其它授信金额",
  19918. "type": "number"
  19919. },
  19920. "oriotherfreezemargin": {
  19921. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19922. "type": "number"
  19923. },
  19924. "orioutamountfreeze": {
  19925. "description": "期初出金冻结",
  19926. "type": "number"
  19927. },
  19928. "oriusedmargin": {
  19929. "description": "期初占用保证金",
  19930. "type": "number"
  19931. },
  19932. "othercredit": {
  19933. "description": "其它授信金额",
  19934. "type": "number"
  19935. },
  19936. "othercreditdecrease": {
  19937. "description": "今日其它授信减少",
  19938. "type": "number"
  19939. },
  19940. "othercreditincrease": {
  19941. "description": "今日其它授信增加",
  19942. "type": "number"
  19943. },
  19944. "otherfreezemargin": {
  19945. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19946. "type": "number"
  19947. },
  19948. "outamount": {
  19949. "description": "今日出金金额(包括三方出金)",
  19950. "type": "number"
  19951. },
  19952. "outamountfreeze": {
  19953. "description": "出金冻结",
  19954. "type": "number"
  19955. },
  19956. "outthreshold": {
  19957. "description": "出金阈值",
  19958. "type": "number"
  19959. },
  19960. "parentaccountid": {
  19961. "description": "所属根账号",
  19962. "type": "integer"
  19963. },
  19964. "paycharge": {
  19965. "description": "今日手续费支出",
  19966. "type": "number"
  19967. },
  19968. "relateduserid": {
  19969. "description": "关联用户",
  19970. "type": "integer"
  19971. },
  19972. "signstatus": {
  19973. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19974. "type": "integer"
  19975. },
  19976. "sublevelpath": {
  19977. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19978. "type": "string"
  19979. },
  19980. "taaccounttype": {
  19981. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19982. "type": "integer"
  19983. },
  19984. "thirdinamount": {
  19985. "description": "今日三方入金",
  19986. "type": "number"
  19987. },
  19988. "thirdoutamount": {
  19989. "description": "今日三方出金",
  19990. "type": "number"
  19991. },
  19992. "tradestatus": {
  19993. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19994. "type": "integer"
  19995. },
  19996. "transferamount": {
  19997. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19998. "type": "number"
  19999. },
  20000. "usedmargin": {
  20001. "description": "占用保证金",
  20002. "type": "number"
  20003. },
  20004. "userid": {
  20005. "description": "用户ID",
  20006. "type": "integer"
  20007. }
  20008. }
  20009. },
  20010. "models.ErmcpTaAccountM": {
  20011. "type": "object",
  20012. "properties": {
  20013. "accountid": {
  20014. "description": "账户id",
  20015. "type": "integer"
  20016. },
  20017. "accountname": {
  20018. "description": "账户名称",
  20019. "type": "string"
  20020. },
  20021. "currencyid": {
  20022. "description": "币种id",
  20023. "type": "integer"
  20024. },
  20025. "fcid": {
  20026. "description": "期货公司id",
  20027. "type": "integer"
  20028. },
  20029. "fcname": {
  20030. "description": "期货公司代码",
  20031. "type": "string"
  20032. },
  20033. "hedgeaccountcode": {
  20034. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20035. "type": "string"
  20036. },
  20037. "ismain": {
  20038. "description": "是否主账户 0-否 1-是",
  20039. "type": "integer"
  20040. },
  20041. "parentaccountid": {
  20042. "description": "父账户id",
  20043. "type": "integer"
  20044. },
  20045. "relateduserid": {
  20046. "description": "关联userid",
  20047. "type": "integer"
  20048. },
  20049. "tradefeetmpid": {
  20050. "description": "手续费模板id",
  20051. "type": "integer"
  20052. },
  20053. "tradefeetmpname": {
  20054. "description": "手续费模板名称",
  20055. "type": "string"
  20056. },
  20057. "trademargintmpid": {
  20058. "description": "保证金模板id",
  20059. "type": "integer"
  20060. },
  20061. "trademargintmpname": {
  20062. "description": "保证金模板名称",
  20063. "type": "string"
  20064. },
  20065. "traderatetmpid": {
  20066. "description": "汇率模板id",
  20067. "type": "integer"
  20068. },
  20069. "traderatetmpname": {
  20070. "description": "汇率模板名称",
  20071. "type": "string"
  20072. },
  20073. "tradestatus": {
  20074. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20075. "type": "integer"
  20076. },
  20077. "userid": {
  20078. "description": "用户id",
  20079. "type": "integer"
  20080. }
  20081. }
  20082. },
  20083. "models.ErmcpTradeConfigTMP": {
  20084. "type": "object",
  20085. "properties": {
  20086. "areauserid": {
  20087. "description": "所属机构",
  20088. "type": "integer"
  20089. },
  20090. "basiccurrencyid": {
  20091. "description": "基本币种ID[汇率] - 目标币种",
  20092. "type": "integer"
  20093. },
  20094. "mainaccountid": {
  20095. "description": "主账户ID",
  20096. "type": "integer"
  20097. },
  20098. "modifierid": {
  20099. "description": "修改人",
  20100. "type": "integer"
  20101. },
  20102. "remark": {
  20103. "description": "备注",
  20104. "type": "string"
  20105. },
  20106. "tradeconfigtmpid": {
  20107. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20108. "type": "integer"
  20109. },
  20110. "tradeconfigtmpname": {
  20111. "description": "交易配置模板名称",
  20112. "type": "string"
  20113. },
  20114. "tradeconfigtmptype": {
  20115. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20116. "type": "integer"
  20117. },
  20118. "updatetime": {
  20119. "description": "更新时间",
  20120. "type": "string"
  20121. }
  20122. }
  20123. },
  20124. "models.ErmcpUserModel": {
  20125. "type": "object",
  20126. "properties": {
  20127. "address": {
  20128. "description": "通讯地址",
  20129. "type": "string"
  20130. },
  20131. "attachment1": {
  20132. "description": "附件1",
  20133. "type": "string"
  20134. },
  20135. "audittime": {
  20136. "description": "审核时间",
  20137. "type": "string"
  20138. },
  20139. "cardbackphotourl": {
  20140. "description": "证件反面图片地址",
  20141. "type": "string"
  20142. },
  20143. "cardfrontphotourl": {
  20144. "description": "证件正面图片地址",
  20145. "type": "string"
  20146. },
  20147. "cardnum": {
  20148. "description": "证件号码",
  20149. "type": "string"
  20150. },
  20151. "cardtype": {
  20152. "description": "证件类型",
  20153. "type": "integer"
  20154. },
  20155. "cardtypename": {
  20156. "description": "证件类型名称",
  20157. "type": "string"
  20158. },
  20159. "cityid": {
  20160. "description": "市",
  20161. "type": "integer"
  20162. },
  20163. "contactname": {
  20164. "description": "联系人",
  20165. "type": "string"
  20166. },
  20167. "countryid": {
  20168. "description": "国家",
  20169. "type": "integer"
  20170. },
  20171. "createtime": {
  20172. "description": "创建时间",
  20173. "type": "string"
  20174. },
  20175. "customername": {
  20176. "description": "企业名称",
  20177. "type": "string"
  20178. },
  20179. "districtid": {
  20180. "description": "区域",
  20181. "type": "integer"
  20182. },
  20183. "email": {
  20184. "description": "邮件",
  20185. "type": "string"
  20186. },
  20187. "legalpersonname": {
  20188. "description": "法人姓名(企业)",
  20189. "type": "string"
  20190. },
  20191. "memberuserid": {
  20192. "description": "所属机构ID",
  20193. "type": "integer"
  20194. },
  20195. "mobile": {
  20196. "description": "手机号码",
  20197. "type": "string"
  20198. },
  20199. "modifytime": {
  20200. "description": "修改时间",
  20201. "type": "string"
  20202. },
  20203. "nickname": {
  20204. "description": "昵称",
  20205. "type": "string"
  20206. },
  20207. "provinceid": {
  20208. "description": "省",
  20209. "type": "integer"
  20210. },
  20211. "remark": {
  20212. "description": "备注",
  20213. "type": "string"
  20214. },
  20215. "status": {
  20216. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20217. "type": "integer"
  20218. },
  20219. "statusdesc": {
  20220. "description": "账户状态中文描述",
  20221. "type": "string"
  20222. },
  20223. "taxpayernum": {
  20224. "description": "纳税人识别号",
  20225. "type": "string"
  20226. },
  20227. "telphone": {
  20228. "description": "联系电话",
  20229. "type": "string"
  20230. },
  20231. "userid": {
  20232. "description": "用户ID",
  20233. "type": "integer"
  20234. },
  20235. "userinfotype": {
  20236. "description": "客户类型",
  20237. "type": "string"
  20238. }
  20239. }
  20240. },
  20241. "models.ErmcpWareHouseInfo": {
  20242. "type": "object",
  20243. "properties": {
  20244. "address": {
  20245. "description": "详细地址",
  20246. "type": "string"
  20247. },
  20248. "areauserid": {
  20249. "description": "所属机构",
  20250. "type": "integer"
  20251. },
  20252. "autoid": {
  20253. "description": "自增ID(仓库ID)",
  20254. "type": "integer"
  20255. },
  20256. "cityid": {
  20257. "description": "市",
  20258. "type": "integer"
  20259. },
  20260. "contactname": {
  20261. "description": "联系人",
  20262. "type": "string"
  20263. },
  20264. "contactnum": {
  20265. "description": "联系电话",
  20266. "type": "string"
  20267. },
  20268. "countryid": {
  20269. "description": "国家",
  20270. "type": "integer"
  20271. },
  20272. "createtime": {
  20273. "description": "创建时间",
  20274. "type": "string"
  20275. },
  20276. "districtid": {
  20277. "description": "区",
  20278. "type": "integer"
  20279. },
  20280. "hasvideo": {
  20281. "description": "是否有视频 - 0:无 1:有",
  20282. "type": "integer"
  20283. },
  20284. "provinceid": {
  20285. "description": "省",
  20286. "type": "integer"
  20287. },
  20288. "remark": {
  20289. "description": "审核备注",
  20290. "type": "string"
  20291. },
  20292. "videourl": {
  20293. "description": "视频地址",
  20294. "type": "string"
  20295. },
  20296. "warehousecode": {
  20297. "description": "仓库代码",
  20298. "type": "string"
  20299. },
  20300. "warehousename": {
  20301. "description": "仓库名称",
  20302. "type": "string"
  20303. },
  20304. "warehousestatus": {
  20305. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20306. "type": "integer"
  20307. },
  20308. "warehousetype": {
  20309. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20310. "type": "integer"
  20311. }
  20312. }
  20313. },
  20314. "models.Externalexchange": {
  20315. "type": "object",
  20316. "required": [
  20317. "autoid"
  20318. ],
  20319. "properties": {
  20320. "autoid": {
  20321. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20322. "type": "integer"
  20323. },
  20324. "exchangefullname": {
  20325. "description": "外部交易所全称",
  20326. "type": "string"
  20327. },
  20328. "exexchangecode": {
  20329. "description": "外部交易所代码",
  20330. "type": "string"
  20331. },
  20332. "exexchangename": {
  20333. "description": "外部交易所名称(简称)",
  20334. "type": "string"
  20335. },
  20336. "ismarketprice": {
  20337. "description": "是否支持市价 - 0:不支持 1:支持",
  20338. "type": "integer"
  20339. },
  20340. "quotegear": {
  20341. "description": "行情档位(1-10)",
  20342. "type": "integer"
  20343. },
  20344. "showbrokerflag": {
  20345. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20346. "type": "integer"
  20347. },
  20348. "updatetime": {
  20349. "description": "更新时间",
  20350. "type": "string"
  20351. }
  20352. }
  20353. },
  20354. "models.Funcmenulist": {
  20355. "type": "object",
  20356. "required": [
  20357. "resourcecode"
  20358. ],
  20359. "properties": {
  20360. "iconame": {
  20361. "description": "菜单图标",
  20362. "type": "string"
  20363. },
  20364. "menutype": {
  20365. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20366. "type": "integer"
  20367. },
  20368. "parentcode": {
  20369. "description": "上级资源代码",
  20370. "type": "string"
  20371. },
  20372. "remark": {
  20373. "description": "备注",
  20374. "type": "string"
  20375. },
  20376. "resourcecode": {
  20377. "description": "资源代码",
  20378. "type": "string"
  20379. },
  20380. "resourcelevel": {
  20381. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20382. "type": "integer"
  20383. },
  20384. "resourcename": {
  20385. "description": "资源名",
  20386. "type": "string"
  20387. },
  20388. "sort": {
  20389. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20390. "type": "integer"
  20391. },
  20392. "url": {
  20393. "description": "URL",
  20394. "type": "string"
  20395. }
  20396. }
  20397. },
  20398. "models.Goods": {
  20399. "type": "object",
  20400. "required": [
  20401. "goodscode",
  20402. "goodsid",
  20403. "goodsname",
  20404. "marketid"
  20405. ],
  20406. "properties": {
  20407. "agreeunit": {
  20408. "description": "合约单位",
  20409. "type": "number"
  20410. },
  20411. "areauserid": {
  20412. "description": "所属机构",
  20413. "type": "integer"
  20414. },
  20415. "auditaccountid": {
  20416. "description": "审核操作员账号",
  20417. "type": "integer"
  20418. },
  20419. "audittime": {
  20420. "description": "审核时间",
  20421. "type": "string"
  20422. },
  20423. "cancelaccountid": {
  20424. "description": "注销操作员账号",
  20425. "type": "integer"
  20426. },
  20427. "canceltime": {
  20428. "description": "注销时间",
  20429. "type": "string"
  20430. },
  20431. "closepricemode": {
  20432. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20433. "type": "integer"
  20434. },
  20435. "closepriceparam": {
  20436. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20437. "type": "number"
  20438. },
  20439. "createtime": {
  20440. "description": "创建时间",
  20441. "type": "string"
  20442. },
  20443. "creatorid": {
  20444. "description": "创建人",
  20445. "type": "integer"
  20446. },
  20447. "currencyid": {
  20448. "description": "报价货币ID",
  20449. "type": "integer"
  20450. },
  20451. "cutmode": {
  20452. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20453. "type": "integer"
  20454. },
  20455. "decimalplace": {
  20456. "description": "报价小数位",
  20457. "type": "integer"
  20458. },
  20459. "delistingdate": {
  20460. "description": "商品退市时间(状态:退市) -- 已作废",
  20461. "type": "string"
  20462. },
  20463. "delistingmode": {
  20464. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20465. "type": "integer"
  20466. },
  20467. "deliveryflag": {
  20468. "description": "交割标志 - 0:不可交割 1:可交割",
  20469. "type": "integer"
  20470. },
  20471. "forceclosemode": {
  20472. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20473. "type": "integer"
  20474. },
  20475. "forceclosevalue": {
  20476. "description": "定期强平参数 [收益权]",
  20477. "type": "integer"
  20478. },
  20479. "goodscode": {
  20480. "description": "商品代码(内部)",
  20481. "type": "string"
  20482. },
  20483. "goodscurrencyid": {
  20484. "description": "合约货币ID",
  20485. "type": "integer"
  20486. },
  20487. "goodsgroupid": {
  20488. "description": "所属商品组ID",
  20489. "type": "integer"
  20490. },
  20491. "goodsid": {
  20492. "description": "商品ID(自增ID SEQ_GOODS)",
  20493. "type": "integer"
  20494. },
  20495. "goodsname": {
  20496. "description": "商品名称",
  20497. "type": "string"
  20498. },
  20499. "goodsquotetype": {
  20500. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20501. "type": "integer"
  20502. },
  20503. "goodsstatus": {
  20504. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20505. "type": "integer"
  20506. },
  20507. "goodstradetype": {
  20508. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20509. "type": "integer"
  20510. },
  20511. "goodunitid": {
  20512. "description": "报价单位ID",
  20513. "type": "integer"
  20514. },
  20515. "hasquoter": {
  20516. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20517. "type": "integer"
  20518. },
  20519. "hqprotecttime": {
  20520. "description": "行情保护时间(秒)",
  20521. "type": "integer"
  20522. },
  20523. "innerdealmode": {
  20524. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20525. "type": "integer"
  20526. },
  20527. "isbuylimited": {
  20528. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20529. "type": "integer"
  20530. },
  20531. "isvisible": {
  20532. "description": "游客是否可见 - 0:不可见 1:可见",
  20533. "type": "integer"
  20534. },
  20535. "lasttradedate": {
  20536. "description": "最后交易日期(状态:待退市)",
  20537. "type": "string"
  20538. },
  20539. "listingdate": {
  20540. "description": "交易开始日期",
  20541. "type": "string"
  20542. },
  20543. "marketid": {
  20544. "description": "所属市场ID",
  20545. "type": "integer"
  20546. },
  20547. "modifierid": {
  20548. "description": "修改人",
  20549. "type": "integer"
  20550. },
  20551. "modifystatus": {
  20552. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20553. "type": "integer"
  20554. },
  20555. "modifytime": {
  20556. "description": "修改时间",
  20557. "type": "string"
  20558. },
  20559. "outerdealmode": {
  20560. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20561. "type": "integer"
  20562. },
  20563. "outgoodscode": {
  20564. "description": "商品代码(外部)",
  20565. "type": "string"
  20566. },
  20567. "pictureurl": {
  20568. "description": "商品图片",
  20569. "type": "string"
  20570. },
  20571. "qtydecimalplace": {
  20572. "description": "成交量小数位",
  20573. "type": "integer"
  20574. },
  20575. "quotegear": {
  20576. "description": "行情档位(1-10)",
  20577. "type": "integer"
  20578. },
  20579. "quoteminunit": {
  20580. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20581. "type": "integer"
  20582. },
  20583. "quoteshowtype": {
  20584. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20585. "type": "integer"
  20586. },
  20587. "quoteshowtypeinterval": {
  20588. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20589. "type": "integer"
  20590. },
  20591. "remark": {
  20592. "description": "备注",
  20593. "type": "string"
  20594. }
  20595. }
  20596. },
  20597. "models.GoodsIDAndName": {
  20598. "type": "object",
  20599. "required": [
  20600. "goodscode",
  20601. "goodsid",
  20602. "goodsname",
  20603. "marketid"
  20604. ],
  20605. "properties": {
  20606. "goodscode": {
  20607. "description": "商品代码(内部)",
  20608. "type": "string"
  20609. },
  20610. "goodsid": {
  20611. "description": "商品ID(自增ID SEQ_GOODS)",
  20612. "type": "integer"
  20613. },
  20614. "goodsname": {
  20615. "description": "商品名称",
  20616. "type": "string"
  20617. },
  20618. "marketid": {
  20619. "description": "所属市场ID",
  20620. "type": "integer"
  20621. }
  20622. }
  20623. },
  20624. "models.Goodsgroup": {
  20625. "type": "object",
  20626. "required": [
  20627. "goodsgroupid",
  20628. "goodsgroupname",
  20629. "goodsgroupstatus",
  20630. "marketid"
  20631. ],
  20632. "properties": {
  20633. "agreeunit": {
  20634. "description": "合约单位",
  20635. "type": "number"
  20636. },
  20637. "canshort": {
  20638. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20639. "type": "integer"
  20640. },
  20641. "closepricemode": {
  20642. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20643. "type": "integer"
  20644. },
  20645. "closepriceparam": {
  20646. "description": "强平最新价浮动比例 - 方式为2时使用",
  20647. "type": "number"
  20648. },
  20649. "createtime": {
  20650. "description": "创建时间",
  20651. "type": "string"
  20652. },
  20653. "creatorid": {
  20654. "description": "创建人",
  20655. "type": "integer"
  20656. },
  20657. "currencyid": {
  20658. "description": "报价货币ID",
  20659. "type": "integer"
  20660. },
  20661. "decimalplace": {
  20662. "description": "报价小数位",
  20663. "type": "integer"
  20664. },
  20665. "exercisetype": {
  20666. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20667. "type": "integer"
  20668. },
  20669. "exexchangeid": {
  20670. "description": "外部交易所ID[通道交易]",
  20671. "type": "integer"
  20672. },
  20673. "goodsgroupid": {
  20674. "description": "商品组ID(自增ID)",
  20675. "type": "integer"
  20676. },
  20677. "goodsgroupname": {
  20678. "description": "商品组名称",
  20679. "type": "string"
  20680. },
  20681. "goodsgroupstatus": {
  20682. "description": "商品组状态 - 1:正常 2:注销",
  20683. "type": "integer"
  20684. },
  20685. "goodunitid": {
  20686. "description": "报价单位ID",
  20687. "type": "integer"
  20688. },
  20689. "innerdealmode": {
  20690. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20691. "type": "integer"
  20692. },
  20693. "isbuylimited": {
  20694. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20695. "type": "integer"
  20696. },
  20697. "marketid": {
  20698. "description": "所属市场ID",
  20699. "type": "integer"
  20700. },
  20701. "modifierid": {
  20702. "description": "修改人",
  20703. "type": "integer"
  20704. },
  20705. "modifytime": {
  20706. "description": "修改时间",
  20707. "type": "string"
  20708. },
  20709. "outerdealmode": {
  20710. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20711. "type": "integer"
  20712. },
  20713. "outergroupcode": {
  20714. "description": "外部商品组代码[通道交易]",
  20715. "type": "string"
  20716. },
  20717. "premiumdecimalplace": {
  20718. "description": "权利金小数位[场外期权]",
  20719. "type": "integer"
  20720. },
  20721. "premiumspreadalgorithm": {
  20722. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20723. "type": "integer"
  20724. },
  20725. "premiumspreadvalue": {
  20726. "description": "权利金点差值[场外期权]",
  20727. "type": "number"
  20728. },
  20729. "qtydecimalplace": {
  20730. "description": "成交量小数位",
  20731. "type": "integer"
  20732. },
  20733. "quotegear": {
  20734. "description": "行情档位(1-10)",
  20735. "type": "integer"
  20736. },
  20737. "quoteminunit": {
  20738. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20739. "type": "integer"
  20740. },
  20741. "quoterid": {
  20742. "description": "报价商ID[场外期权]",
  20743. "type": "integer"
  20744. },
  20745. "quotesourcegroupid": {
  20746. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20747. "type": "integer"
  20748. },
  20749. "syncgoodsqty": {
  20750. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20751. "type": "integer"
  20752. }
  20753. }
  20754. },
  20755. "models.Goodssortbypreposition": {
  20756. "type": "object",
  20757. "required": [
  20758. "goodscode",
  20759. "tradedate"
  20760. ],
  20761. "properties": {
  20762. "goodscode": {
  20763. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20764. "type": "string"
  20765. },
  20766. "goodsgroupcode": {
  20767. "description": "品种代码",
  20768. "type": "string"
  20769. },
  20770. "prepositionqty": {
  20771. "description": "昨持仓量",
  20772. "type": "integer"
  20773. },
  20774. "sortindex": {
  20775. "description": "排序",
  20776. "type": "integer"
  20777. },
  20778. "tradedate": {
  20779. "description": "交易日",
  20780. "type": "string"
  20781. },
  20782. "updatetime": {
  20783. "description": "更新时间",
  20784. "type": "string"
  20785. }
  20786. }
  20787. },
  20788. "models.Hedgeinnerholderdetail": {
  20789. "type": "object",
  20790. "required": [
  20791. "buyorsell",
  20792. "tradeid"
  20793. ],
  20794. "properties": {
  20795. "accountid": {
  20796. "description": "账号ID",
  20797. "type": "integer"
  20798. },
  20799. "buyorsell": {
  20800. "description": "方向 - 0:买 1:卖",
  20801. "type": "integer"
  20802. },
  20803. "freezeqty": {
  20804. "description": "冻结数量 - 按单平使用",
  20805. "type": "integer"
  20806. },
  20807. "goodsid": {
  20808. "description": "商品ID",
  20809. "type": "integer"
  20810. },
  20811. "holderamount": {
  20812. "description": "持仓金额 [商品币种]",
  20813. "type": "number"
  20814. },
  20815. "holderdays": {
  20816. "description": "剩余冻结天数",
  20817. "type": "integer"
  20818. },
  20819. "holderprice": {
  20820. "description": "持仓价格",
  20821. "type": "number"
  20822. },
  20823. "holderqty": {
  20824. "description": "持仓数量",
  20825. "type": "integer"
  20826. },
  20827. "marketid": {
  20828. "description": "市场ID",
  20829. "type": "integer"
  20830. },
  20831. "openprice": {
  20832. "description": "建仓价格",
  20833. "type": "number"
  20834. },
  20835. "openqty": {
  20836. "description": "建仓数量",
  20837. "type": "integer"
  20838. },
  20839. "parentaccountid": {
  20840. "description": "所属母账户",
  20841. "type": "integer"
  20842. },
  20843. "releaseamount": {
  20844. "description": "释放持仓金额[商品币种]",
  20845. "type": "number"
  20846. },
  20847. "tradeamount": {
  20848. "description": "成交金额[账户]",
  20849. "type": "number"
  20850. },
  20851. "tradedate": {
  20852. "description": "交易日(yyyyMMdd)",
  20853. "type": "string"
  20854. },
  20855. "tradeid": {
  20856. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20857. "type": "string"
  20858. },
  20859. "tradetime": {
  20860. "description": "交易时间",
  20861. "type": "string"
  20862. }
  20863. }
  20864. },
  20865. "models.Hedgemarketopenlog": {
  20866. "type": "object",
  20867. "required": [
  20868. "accountid"
  20869. ],
  20870. "properties": {
  20871. "accountid": {
  20872. "description": "资金账号[外部母账户]",
  20873. "type": "integer"
  20874. },
  20875. "fcname": {
  20876. "description": "期货公司名称",
  20877. "type": "string"
  20878. },
  20879. "handlestatus": {
  20880. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20881. "type": "integer"
  20882. },
  20883. "marketid": {
  20884. "description": "市场ID",
  20885. "type": "integer"
  20886. },
  20887. "status": {
  20888. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20889. "type": "integer"
  20890. },
  20891. "tradedate": {
  20892. "description": "交易日(yyyyMMdd)",
  20893. "type": "string"
  20894. },
  20895. "updatetime": {
  20896. "description": "更新时间",
  20897. "type": "string"
  20898. }
  20899. }
  20900. },
  20901. "models.HsbyBuyMyPayOrder": {
  20902. "type": "object",
  20903. "required": [
  20904. "goodscode",
  20905. "goodsname",
  20906. "tradeid",
  20907. "trademode"
  20908. ],
  20909. "properties": {
  20910. "agreeunit": {
  20911. "description": "合约单位",
  20912. "type": "number"
  20913. },
  20914. "buyaccountid": {
  20915. "description": "买方账号ID[报价币种]",
  20916. "type": "integer"
  20917. },
  20918. "buyorderid": {
  20919. "description": "买方委托单号",
  20920. "type": "string"
  20921. },
  20922. "createtime": {
  20923. "description": "创建时间",
  20924. "type": "string"
  20925. },
  20926. "currencysign": {
  20927. "description": "货币符号",
  20928. "type": "string"
  20929. },
  20930. "decimalplace": {
  20931. "description": "报价小数位",
  20932. "type": "integer"
  20933. },
  20934. "goodscode": {
  20935. "description": "商品代码(内部)",
  20936. "type": "string"
  20937. },
  20938. "goodsid": {
  20939. "description": "商品ID",
  20940. "type": "integer"
  20941. },
  20942. "goodsname": {
  20943. "description": "商品名称",
  20944. "type": "string"
  20945. },
  20946. "marketid": {
  20947. "description": "市场ID",
  20948. "type": "integer"
  20949. },
  20950. "offamount": {
  20951. "description": "优惠金额",
  20952. "type": "number"
  20953. },
  20954. "originalamount": {
  20955. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20956. "type": "number"
  20957. },
  20958. "payamount": {
  20959. "description": "支付金额 = TradeAmount + TradeCharge",
  20960. "type": "number"
  20961. },
  20962. "payflag": {
  20963. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20964. "type": "integer"
  20965. },
  20966. "paylimitedtime": {
  20967. "description": "支付期限",
  20968. "type": "string"
  20969. },
  20970. "paytime": {
  20971. "description": "付款时间",
  20972. "type": "string"
  20973. },
  20974. "picurls1": {
  20975. "description": "预售商品介绍图片[多张用逗号分隔]",
  20976. "type": "string"
  20977. },
  20978. "picurls2": {
  20979. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20980. "type": "string"
  20981. },
  20982. "sellaccountid": {
  20983. "description": "卖方账号ID[报价币种]",
  20984. "type": "integer"
  20985. },
  20986. "sellorderid": {
  20987. "description": "卖方委托单号",
  20988. "type": "string"
  20989. },
  20990. "tradeamount": {
  20991. "description": "成交金额",
  20992. "type": "number"
  20993. },
  20994. "tradecharge": {
  20995. "description": "成交手续费(买方)",
  20996. "type": "number"
  20997. },
  20998. "tradedate": {
  20999. "description": "交易日(yyyyMMdd)",
  21000. "type": "string"
  21001. },
  21002. "tradeid": {
  21003. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21004. "type": "string"
  21005. },
  21006. "trademode": {
  21007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21008. "type": "integer"
  21009. },
  21010. "tradeprice": {
  21011. "description": "成交价格",
  21012. "type": "number"
  21013. },
  21014. "tradeqty": {
  21015. "description": "成交数量",
  21016. "type": "integer"
  21017. },
  21018. "vendorname1": {
  21019. "description": "预售商品供应商名称",
  21020. "type": "string"
  21021. },
  21022. "vendorname2": {
  21023. "description": "挂牌商品供应商名称",
  21024. "type": "string"
  21025. }
  21026. }
  21027. },
  21028. "models.HsbyBuyMyTradeDetail": {
  21029. "type": "object",
  21030. "required": [
  21031. "accountid",
  21032. "buyorsell",
  21033. "goodscode",
  21034. "goodsid",
  21035. "goodsname",
  21036. "marketid",
  21037. "orderid",
  21038. "qty",
  21039. "time",
  21040. "trademode"
  21041. ],
  21042. "properties": {
  21043. "accountid": {
  21044. "description": "账户ID[报价币种]",
  21045. "type": "integer"
  21046. },
  21047. "agreeunit": {
  21048. "description": "合约单位",
  21049. "type": "number"
  21050. },
  21051. "amount": {
  21052. "description": "金额 = 价格 * 数量 * 合约单位",
  21053. "type": "number"
  21054. },
  21055. "buyorsell": {
  21056. "description": "买卖 - 0:买 1:卖",
  21057. "type": "integer"
  21058. },
  21059. "currencysign": {
  21060. "description": "货币符号",
  21061. "type": "string"
  21062. },
  21063. "decimalplace": {
  21064. "description": "报价小数位",
  21065. "type": "integer"
  21066. },
  21067. "goodscode": {
  21068. "description": "商品代码(内部)",
  21069. "type": "string"
  21070. },
  21071. "goodsid": {
  21072. "description": "商品ID",
  21073. "type": "integer"
  21074. },
  21075. "goodsname": {
  21076. "description": "商品名称",
  21077. "type": "string"
  21078. },
  21079. "marketid": {
  21080. "description": "市场ID",
  21081. "type": "integer"
  21082. },
  21083. "orderamount": {
  21084. "description": "委托金额",
  21085. "type": "number"
  21086. },
  21087. "orderid": {
  21088. "description": "单号(成交单号)",
  21089. "type": "string"
  21090. },
  21091. "picurls1": {
  21092. "description": "预售商品介绍图片[多张用逗号分隔]",
  21093. "type": "string"
  21094. },
  21095. "picurls2": {
  21096. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21097. "type": "string"
  21098. },
  21099. "price": {
  21100. "description": "价格",
  21101. "type": "number"
  21102. },
  21103. "qty": {
  21104. "description": "数量",
  21105. "type": "integer"
  21106. },
  21107. "time": {
  21108. "description": "时间",
  21109. "type": "string"
  21110. },
  21111. "trademode": {
  21112. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21113. "type": "integer"
  21114. },
  21115. "vendorname1": {
  21116. "description": "预售商品供应商名称",
  21117. "type": "string"
  21118. },
  21119. "vendorname2": {
  21120. "description": "挂牌商品供应商名称",
  21121. "type": "string"
  21122. }
  21123. }
  21124. },
  21125. "models.HsbyGoodsOrderDetail": {
  21126. "type": "object",
  21127. "required": [
  21128. "buyorsell",
  21129. "orderid",
  21130. "ordertime"
  21131. ],
  21132. "properties": {
  21133. "buyorsell": {
  21134. "description": "买卖 - 0:买 1:卖",
  21135. "type": "integer"
  21136. },
  21137. "currencysign": {
  21138. "description": "货币符号",
  21139. "type": "string"
  21140. },
  21141. "customername": {
  21142. "description": "客户名称(企业名称),已脱敏",
  21143. "type": "string"
  21144. },
  21145. "enableqty": {
  21146. "description": "可用数量",
  21147. "type": "integer"
  21148. },
  21149. "goodunit": {
  21150. "description": "报价单位",
  21151. "type": "string"
  21152. },
  21153. "orderid": {
  21154. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21155. "type": "string"
  21156. },
  21157. "orderprice": {
  21158. "description": "委托价格",
  21159. "type": "number"
  21160. },
  21161. "ordertime": {
  21162. "description": "委托时间",
  21163. "type": "string"
  21164. }
  21165. }
  21166. },
  21167. "models.HsbyListingGoodsDetail": {
  21168. "type": "object",
  21169. "required": [
  21170. "goodscode",
  21171. "goodsid",
  21172. "goodsname",
  21173. "marketid",
  21174. "trademode"
  21175. ],
  21176. "properties": {
  21177. "agreeunit": {
  21178. "description": "合约单位",
  21179. "type": "number"
  21180. },
  21181. "buymaxqty": {
  21182. "description": "购买上限 [71] - 0为不限",
  21183. "type": "integer"
  21184. },
  21185. "currency": {
  21186. "description": "货币",
  21187. "type": "string"
  21188. },
  21189. "currencysign": {
  21190. "description": "货币符号",
  21191. "type": "string"
  21192. },
  21193. "decimalplace": {
  21194. "description": "报价小数位",
  21195. "type": "integer"
  21196. },
  21197. "desccityid": {
  21198. "description": "目的地(市)ID",
  21199. "type": "integer"
  21200. },
  21201. "descprovinceid": {
  21202. "description": "目的地(省)ID",
  21203. "type": "integer"
  21204. },
  21205. "goodscode": {
  21206. "description": "商品代码(内部)",
  21207. "type": "string"
  21208. },
  21209. "goodsdesc": {
  21210. "description": "商品详情",
  21211. "type": "string"
  21212. },
  21213. "goodsid": {
  21214. "description": "商品ID(自增ID SEQ_GOODS)",
  21215. "type": "integer"
  21216. },
  21217. "goodsname": {
  21218. "description": "商品名称",
  21219. "type": "string"
  21220. },
  21221. "goodsprice": {
  21222. "description": "商品价格",
  21223. "type": "number"
  21224. },
  21225. "hotindex": {
  21226. "description": "景点热度",
  21227. "type": "integer"
  21228. },
  21229. "last": {
  21230. "description": "现价",
  21231. "type": "number"
  21232. },
  21233. "limitdown": {
  21234. "description": "跌停价",
  21235. "type": "number"
  21236. },
  21237. "limitup": {
  21238. "description": "涨停价",
  21239. "type": "number"
  21240. },
  21241. "lotsize": {
  21242. "description": "手数最小变动单位",
  21243. "type": "integer"
  21244. },
  21245. "marketid": {
  21246. "description": "所属市场ID",
  21247. "type": "integer"
  21248. },
  21249. "picurls": {
  21250. "description": "介绍图片[多张用逗号分隔]",
  21251. "type": "string"
  21252. },
  21253. "quoteminunit": {
  21254. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21255. "type": "integer"
  21256. },
  21257. "stepvalue": {
  21258. "description": "价格最小变动单位",
  21259. "type": "number"
  21260. },
  21261. "trademode": {
  21262. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21263. "type": "integer"
  21264. },
  21265. "vendorattr": {
  21266. "description": "供应商附件(多张,逗号分隔)",
  21267. "type": "string"
  21268. },
  21269. "vendorname": {
  21270. "description": "供应商名称",
  21271. "type": "string"
  21272. },
  21273. "vendorphone": {
  21274. "description": "供应商客服电话",
  21275. "type": "string"
  21276. },
  21277. "videourls": {
  21278. "description": "介绍视频[多张用逗号分隔]",
  21279. "type": "string"
  21280. }
  21281. }
  21282. },
  21283. "models.HsbyMarketGoods": {
  21284. "type": "object",
  21285. "required": [
  21286. "accountid",
  21287. "buyorsell",
  21288. "goodscode",
  21289. "goodsid",
  21290. "goodsname",
  21291. "marketid",
  21292. "orderid",
  21293. "trademode"
  21294. ],
  21295. "properties": {
  21296. "accountid": {
  21297. "description": "账户ID[报价币种]",
  21298. "type": "integer"
  21299. },
  21300. "agreeunit": {
  21301. "description": "合约单位",
  21302. "type": "number"
  21303. },
  21304. "buyorsell": {
  21305. "description": "买卖 - 0:买 1:卖",
  21306. "type": "integer"
  21307. },
  21308. "categoryid": {
  21309. "description": "类别ID(WRCATEGORY)",
  21310. "type": "integer"
  21311. },
  21312. "currency": {
  21313. "description": "货币",
  21314. "type": "string"
  21315. },
  21316. "currencysign": {
  21317. "description": "货币符号",
  21318. "type": "string"
  21319. },
  21320. "customername": {
  21321. "description": "卖家名称",
  21322. "type": "string"
  21323. },
  21324. "decimalplace": {
  21325. "description": "报价小数位",
  21326. "type": "integer"
  21327. },
  21328. "goodscode": {
  21329. "description": "商品代码(内部)",
  21330. "type": "string"
  21331. },
  21332. "goodsid": {
  21333. "description": "商品ID",
  21334. "type": "integer"
  21335. },
  21336. "goodsname": {
  21337. "description": "商品名称",
  21338. "type": "string"
  21339. },
  21340. "goodsprice": {
  21341. "description": "商品价格",
  21342. "type": "number"
  21343. },
  21344. "hascoupon": {
  21345. "description": "是否可用优惠卷",
  21346. "type": "boolean"
  21347. },
  21348. "hotindex": {
  21349. "description": "景点热度",
  21350. "type": "integer"
  21351. },
  21352. "marketid": {
  21353. "description": "市场ID",
  21354. "type": "integer"
  21355. },
  21356. "orderid": {
  21357. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21358. "type": "string"
  21359. },
  21360. "orderprice": {
  21361. "description": "委托价格",
  21362. "type": "number"
  21363. },
  21364. "orderstatus": {
  21365. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21366. "type": "integer"
  21367. },
  21368. "picurls": {
  21369. "description": "介绍图片[多张用逗号分隔]",
  21370. "type": "string"
  21371. },
  21372. "quoteminunit": {
  21373. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21374. "type": "integer"
  21375. },
  21376. "sellUserID": {
  21377. "description": "卖方UserID",
  21378. "type": "integer"
  21379. },
  21380. "trademode": {
  21381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21382. "type": "integer"
  21383. },
  21384. "videourls": {
  21385. "description": "介绍视频[多张用逗号分隔]",
  21386. "type": "string"
  21387. }
  21388. }
  21389. },
  21390. "models.HsbyMarketGoodsDetail": {
  21391. "type": "object",
  21392. "required": [
  21393. "accountid",
  21394. "buyorsell",
  21395. "goodscode",
  21396. "goodsid",
  21397. "goodsname",
  21398. "marketid",
  21399. "orderid",
  21400. "orderqty",
  21401. "trademode"
  21402. ],
  21403. "properties": {
  21404. "accountid": {
  21405. "description": "账户ID[报价币种]",
  21406. "type": "integer"
  21407. },
  21408. "agreeunit": {
  21409. "description": "合约单位",
  21410. "type": "number"
  21411. },
  21412. "buymaxqty": {
  21413. "description": "购买上限 [71] - 0为不限",
  21414. "type": "integer"
  21415. },
  21416. "buyorsell": {
  21417. "description": "买卖 - 0:买 1:卖",
  21418. "type": "integer"
  21419. },
  21420. "cancelqty": {
  21421. "description": "撤单数量",
  21422. "type": "integer"
  21423. },
  21424. "categoryid": {
  21425. "description": "类别ID(WRCATEGORY)",
  21426. "type": "integer"
  21427. },
  21428. "currency": {
  21429. "description": "货币",
  21430. "type": "string"
  21431. },
  21432. "currencysign": {
  21433. "description": "货币符号",
  21434. "type": "string"
  21435. },
  21436. "customername": {
  21437. "description": "卖家名称",
  21438. "type": "string"
  21439. },
  21440. "decimalplace": {
  21441. "description": "报价小数位",
  21442. "type": "integer"
  21443. },
  21444. "goodscode": {
  21445. "description": "商品代码(内部)",
  21446. "type": "string"
  21447. },
  21448. "goodsdesc": {
  21449. "description": "商品详情",
  21450. "type": "string"
  21451. },
  21452. "goodsid": {
  21453. "description": "商品ID",
  21454. "type": "integer"
  21455. },
  21456. "goodsname": {
  21457. "description": "商品名称",
  21458. "type": "string"
  21459. },
  21460. "goodsprice": {
  21461. "description": "商品价格",
  21462. "type": "number"
  21463. },
  21464. "hotindex": {
  21465. "description": "景点热度",
  21466. "type": "integer"
  21467. },
  21468. "lotsize": {
  21469. "description": "手数最小变动单位",
  21470. "type": "integer"
  21471. },
  21472. "marketid": {
  21473. "description": "市场ID",
  21474. "type": "integer"
  21475. },
  21476. "orderid": {
  21477. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21478. "type": "string"
  21479. },
  21480. "orderprice": {
  21481. "description": "委托价格",
  21482. "type": "number"
  21483. },
  21484. "orderqty": {
  21485. "description": "委托数量",
  21486. "type": "integer"
  21487. },
  21488. "orderstatus": {
  21489. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21490. "type": "integer"
  21491. },
  21492. "picurls": {
  21493. "description": "介绍图片[多张用逗号分隔]",
  21494. "type": "string"
  21495. },
  21496. "quoteminunit": {
  21497. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21498. "type": "integer"
  21499. },
  21500. "sellUserID": {
  21501. "description": "卖方UserID",
  21502. "type": "integer"
  21503. },
  21504. "trademode": {
  21505. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21506. "type": "integer"
  21507. },
  21508. "tradeqty": {
  21509. "description": "成交数量",
  21510. "type": "integer"
  21511. },
  21512. "vendorattr": {
  21513. "description": "供应商附件(多张,逗号分隔)",
  21514. "type": "string"
  21515. },
  21516. "vendorname": {
  21517. "description": "供应商名称",
  21518. "type": "string"
  21519. },
  21520. "vendorphone": {
  21521. "description": "供应商客服电话",
  21522. "type": "string"
  21523. },
  21524. "videourls": {
  21525. "description": "介绍视频[多张用逗号分隔]",
  21526. "type": "string"
  21527. }
  21528. }
  21529. },
  21530. "models.HsbyMarketInfo": {
  21531. "type": "object",
  21532. "required": [
  21533. "marketid",
  21534. "marketstatus",
  21535. "trademode"
  21536. ],
  21537. "properties": {
  21538. "marketid": {
  21539. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21540. "type": "integer"
  21541. },
  21542. "marketname": {
  21543. "description": "市场名称",
  21544. "type": "string"
  21545. },
  21546. "marketstatus": {
  21547. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21548. "type": "integer"
  21549. },
  21550. "trademode": {
  21551. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21552. "type": "integer"
  21553. }
  21554. }
  21555. },
  21556. "models.HsbyMyGoods": {
  21557. "type": "object",
  21558. "required": [
  21559. "accountid",
  21560. "goodscode",
  21561. "goodsid",
  21562. "goodsname",
  21563. "marketid",
  21564. "trademode"
  21565. ],
  21566. "properties": {
  21567. "accountid": {
  21568. "description": "账号Id",
  21569. "type": "integer"
  21570. },
  21571. "agreeunit": {
  21572. "description": "合约单位",
  21573. "type": "number"
  21574. },
  21575. "buyaverageprice": {
  21576. "description": "持仓均价",
  21577. "type": "number"
  21578. },
  21579. "buycurholderamount": {
  21580. "description": "买当前持仓总金额[商品币种]",
  21581. "type": "number"
  21582. },
  21583. "buycurpositionqty": {
  21584. "description": "买当前持仓总数量",
  21585. "type": "integer"
  21586. },
  21587. "buymaxqty": {
  21588. "description": "购买上限 [71] - 0为不限",
  21589. "type": "integer"
  21590. },
  21591. "currencysign": {
  21592. "description": "货币符号",
  21593. "type": "string"
  21594. },
  21595. "decimalplace": {
  21596. "description": "报价小数位",
  21597. "type": "integer"
  21598. },
  21599. "enableqty": {
  21600. "description": "可用数量",
  21601. "type": "integer"
  21602. },
  21603. "goodscode": {
  21604. "description": "商品代码(内部)",
  21605. "type": "string"
  21606. },
  21607. "goodsid": {
  21608. "description": "商品Id",
  21609. "type": "integer"
  21610. },
  21611. "goodsname": {
  21612. "description": "商品名称",
  21613. "type": "string"
  21614. },
  21615. "goodsprice": {
  21616. "description": "商品价格",
  21617. "type": "number"
  21618. },
  21619. "goodsstatus": {
  21620. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21621. "type": "integer"
  21622. },
  21623. "last": {
  21624. "description": "现价(仅使用于挂牌点选)",
  21625. "type": "number"
  21626. },
  21627. "limitdown": {
  21628. "description": "跌停价(仅使用于挂牌点选)",
  21629. "type": "number"
  21630. },
  21631. "limitup": {
  21632. "description": "涨停价(仅使用于挂牌点选)",
  21633. "type": "number"
  21634. },
  21635. "lotsize": {
  21636. "description": "手数最小变动单位",
  21637. "type": "integer"
  21638. },
  21639. "marketid": {
  21640. "description": "所属市场ID",
  21641. "type": "integer"
  21642. },
  21643. "picurls": {
  21644. "description": "介绍图片[多张用逗号分隔]",
  21645. "type": "string"
  21646. },
  21647. "quoteminunit": {
  21648. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21649. "type": "integer"
  21650. },
  21651. "stepvalue": {
  21652. "description": "价格最小变动单位",
  21653. "type": "number"
  21654. },
  21655. "trademode": {
  21656. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21657. "type": "integer"
  21658. }
  21659. }
  21660. },
  21661. "models.HsbyMyPackage": {
  21662. "type": "object",
  21663. "required": [
  21664. "goodscode",
  21665. "goodsname",
  21666. "takeorderid",
  21667. "trademode"
  21668. ],
  21669. "properties": {
  21670. "accountid": {
  21671. "description": "账户ID",
  21672. "type": "integer"
  21673. },
  21674. "address": {
  21675. "description": "提货人详细地址",
  21676. "type": "string"
  21677. },
  21678. "agreeunit": {
  21679. "description": "合约单位",
  21680. "type": "number"
  21681. },
  21682. "amount": {
  21683. "description": "提货金额",
  21684. "type": "number"
  21685. },
  21686. "auditer": {
  21687. "description": "审核人",
  21688. "type": "integer"
  21689. },
  21690. "audittime": {
  21691. "description": "审核时间",
  21692. "type": "string"
  21693. },
  21694. "averageprice": {
  21695. "description": "均价",
  21696. "type": "number"
  21697. },
  21698. "cardnum": {
  21699. "description": "提货人证件号码",
  21700. "type": "string"
  21701. },
  21702. "cardtypeid": {
  21703. "description": "提货人证件类型",
  21704. "type": "integer"
  21705. },
  21706. "checkremark": {
  21707. "description": "审核备注",
  21708. "type": "string"
  21709. },
  21710. "currencysign": {
  21711. "description": "货币符号",
  21712. "type": "string"
  21713. },
  21714. "decimalplace": {
  21715. "description": "报价小数位",
  21716. "type": "integer"
  21717. },
  21718. "goodscode": {
  21719. "description": "商品代码(内部)",
  21720. "type": "string"
  21721. },
  21722. "goodsid": {
  21723. "description": "商品ID",
  21724. "type": "integer"
  21725. },
  21726. "goodsname": {
  21727. "description": "商品名称",
  21728. "type": "string"
  21729. },
  21730. "handlestatus": {
  21731. "description": "处理状态",
  21732. "type": "integer"
  21733. },
  21734. "marketid": {
  21735. "description": "市场ID",
  21736. "type": "integer"
  21737. },
  21738. "phonenum": {
  21739. "description": "提货人联系方式",
  21740. "type": "string"
  21741. },
  21742. "picurls": {
  21743. "description": "介绍图片[多张用逗号分隔]",
  21744. "type": "string"
  21745. },
  21746. "qty": {
  21747. "description": "提货数量",
  21748. "type": "number"
  21749. },
  21750. "recivername": {
  21751. "description": "提货人姓名",
  21752. "type": "string"
  21753. },
  21754. "reqtime": {
  21755. "description": "更新时间",
  21756. "type": "string"
  21757. },
  21758. "takemode": {
  21759. "description": "提货方式 - 2:自提 3:配送",
  21760. "type": "integer"
  21761. },
  21762. "takeorderid": {
  21763. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21764. "type": "string"
  21765. },
  21766. "takeorderstatus": {
  21767. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21768. "type": "integer"
  21769. },
  21770. "takeremark": {
  21771. "description": "提货备注",
  21772. "type": "string"
  21773. },
  21774. "tradedate": {
  21775. "description": "交易日(yyyyMMdd)",
  21776. "type": "string"
  21777. },
  21778. "trademode": {
  21779. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21780. "type": "integer"
  21781. },
  21782. "userid": {
  21783. "description": "用户ID",
  21784. "type": "integer"
  21785. },
  21786. "vendorname": {
  21787. "description": "供应商名称",
  21788. "type": "string"
  21789. }
  21790. }
  21791. },
  21792. "models.HsbyPreGoods": {
  21793. "type": "object",
  21794. "required": [
  21795. "goodscode",
  21796. "goodsid",
  21797. "goodsname",
  21798. "marketid",
  21799. "trademode"
  21800. ],
  21801. "properties": {
  21802. "agreeunit": {
  21803. "description": "合约单位",
  21804. "type": "number"
  21805. },
  21806. "currency": {
  21807. "description": "货币",
  21808. "type": "string"
  21809. },
  21810. "currencysign": {
  21811. "description": "货币符号",
  21812. "type": "string"
  21813. },
  21814. "decimalplace": {
  21815. "description": "报价小数位",
  21816. "type": "integer"
  21817. },
  21818. "desccityid": {
  21819. "description": "目的地(市)",
  21820. "type": "integer"
  21821. },
  21822. "descprovinceid": {
  21823. "description": "目的地(省)",
  21824. "type": "integer"
  21825. },
  21826. "enableqty": {
  21827. "description": "剩余数量",
  21828. "type": "integer"
  21829. },
  21830. "goodscode": {
  21831. "description": "商品代码(内部)",
  21832. "type": "string"
  21833. },
  21834. "goodsid": {
  21835. "description": "商品ID(自增ID SEQ_GOODS)",
  21836. "type": "integer"
  21837. },
  21838. "goodsname": {
  21839. "description": "商品名称",
  21840. "type": "string"
  21841. },
  21842. "goodsstatus": {
  21843. "description": "商品状态- 2:未上市 3:上市",
  21844. "type": "integer"
  21845. },
  21846. "lasttradedate": {
  21847. "description": "最后交易日期(状态:待退市)",
  21848. "type": "string"
  21849. },
  21850. "listingdate": {
  21851. "description": "交易开始日期",
  21852. "type": "string"
  21853. },
  21854. "marketid": {
  21855. "description": "所属市场ID",
  21856. "type": "integer"
  21857. },
  21858. "picurls": {
  21859. "description": "介绍图片[多张用逗号分隔]",
  21860. "type": "string"
  21861. },
  21862. "presaledqty": {
  21863. "description": "已预售量(预售结束时更新)",
  21864. "type": "integer"
  21865. },
  21866. "presaleqty": {
  21867. "description": "预售数量",
  21868. "type": "integer"
  21869. },
  21870. "quoteminunit": {
  21871. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21872. "type": "integer"
  21873. },
  21874. "refprice": {
  21875. "description": "参考价格[一口价]",
  21876. "type": "number"
  21877. },
  21878. "relatedgoodsid": {
  21879. "description": "关联交易合约ID",
  21880. "type": "integer"
  21881. },
  21882. "trademode": {
  21883. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21884. "type": "integer"
  21885. },
  21886. "videourls": {
  21887. "description": "介绍视频[多张用逗号分隔]",
  21888. "type": "string"
  21889. }
  21890. }
  21891. },
  21892. "models.HsbyPreGoodsDetail": {
  21893. "type": "object",
  21894. "required": [
  21895. "goodscode",
  21896. "goodsid",
  21897. "goodsname",
  21898. "marketid",
  21899. "trademode"
  21900. ],
  21901. "properties": {
  21902. "agreeunit": {
  21903. "description": "合约单位",
  21904. "type": "number"
  21905. },
  21906. "buymaxqty": {
  21907. "description": "购买上限 [71] - 0为不限",
  21908. "type": "integer"
  21909. },
  21910. "currency": {
  21911. "description": "货币",
  21912. "type": "string"
  21913. },
  21914. "currencysign": {
  21915. "description": "货币符号",
  21916. "type": "string"
  21917. },
  21918. "customername": {
  21919. "description": "发行单位",
  21920. "type": "string"
  21921. },
  21922. "decimalplace": {
  21923. "description": "报价小数位",
  21924. "type": "integer"
  21925. },
  21926. "desccityid": {
  21927. "description": "目的地(市)ID",
  21928. "type": "integer"
  21929. },
  21930. "descprovinceid": {
  21931. "description": "目的地(省)ID",
  21932. "type": "integer"
  21933. },
  21934. "enableqty": {
  21935. "description": "剩余数量",
  21936. "type": "integer"
  21937. },
  21938. "goodscode": {
  21939. "description": "商品代码(内部)",
  21940. "type": "string"
  21941. },
  21942. "goodsdesc": {
  21943. "description": "商品详情",
  21944. "type": "string"
  21945. },
  21946. "goodsid": {
  21947. "description": "商品ID(自增ID SEQ_GOODS)",
  21948. "type": "integer"
  21949. },
  21950. "goodsname": {
  21951. "description": "商品名称",
  21952. "type": "string"
  21953. },
  21954. "goodsstatus": {
  21955. "description": "商品状态- 2:未上市 3:上市",
  21956. "type": "integer"
  21957. },
  21958. "goodunit": {
  21959. "description": "报价单位",
  21960. "type": "string"
  21961. },
  21962. "lasttradedate": {
  21963. "description": "最后交易日期(状态:待退市)",
  21964. "type": "string"
  21965. },
  21966. "listingdate": {
  21967. "description": "交易开始日期",
  21968. "type": "string"
  21969. },
  21970. "lotsize": {
  21971. "description": "手数最小变动单位",
  21972. "type": "integer"
  21973. },
  21974. "marketid": {
  21975. "description": "所属市场ID",
  21976. "type": "integer"
  21977. },
  21978. "picurls": {
  21979. "description": "介绍图片[多张用逗号分隔]",
  21980. "type": "string"
  21981. },
  21982. "presaledqty": {
  21983. "description": "已预售量(预售结束时更新)",
  21984. "type": "integer"
  21985. },
  21986. "presaleqty": {
  21987. "description": "预售数量",
  21988. "type": "integer"
  21989. },
  21990. "quoteminunit": {
  21991. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21992. "type": "integer"
  21993. },
  21994. "refprice": {
  21995. "description": "参考价格[一口价]",
  21996. "type": "number"
  21997. },
  21998. "relatedgoodsid": {
  21999. "description": "关联交易合约ID",
  22000. "type": "integer"
  22001. },
  22002. "stepvalue": {
  22003. "description": "价格最小变动单位",
  22004. "type": "number"
  22005. },
  22006. "trademode": {
  22007. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22008. "type": "integer"
  22009. },
  22010. "vendorattr": {
  22011. "description": "供应商附件(多张,逗号分隔)",
  22012. "type": "string"
  22013. },
  22014. "vendorname": {
  22015. "description": "供应商名称",
  22016. "type": "string"
  22017. },
  22018. "vendorphone": {
  22019. "description": "供应商客服电话",
  22020. "type": "string"
  22021. },
  22022. "videourls": {
  22023. "description": "介绍视频[多张用逗号分隔]",
  22024. "type": "string"
  22025. }
  22026. }
  22027. },
  22028. "models.HsbySellCollectionOrder": {
  22029. "type": "object",
  22030. "required": [
  22031. "goodscode",
  22032. "goodsname",
  22033. "tradeid",
  22034. "trademode"
  22035. ],
  22036. "properties": {
  22037. "agreeunit": {
  22038. "description": "合约单位",
  22039. "type": "number"
  22040. },
  22041. "buyaccountid": {
  22042. "description": "买方账号ID[报价币种]",
  22043. "type": "integer"
  22044. },
  22045. "buyorderid": {
  22046. "description": "买方委托单号",
  22047. "type": "string"
  22048. },
  22049. "createtime": {
  22050. "description": "创建时间",
  22051. "type": "string"
  22052. },
  22053. "currencysign": {
  22054. "description": "货币符号",
  22055. "type": "string"
  22056. },
  22057. "decimalplace": {
  22058. "description": "报价小数位",
  22059. "type": "integer"
  22060. },
  22061. "goodscode": {
  22062. "description": "商品代码(内部)",
  22063. "type": "string"
  22064. },
  22065. "goodsid": {
  22066. "description": "商品ID",
  22067. "type": "integer"
  22068. },
  22069. "goodsname": {
  22070. "description": "商品名称",
  22071. "type": "string"
  22072. },
  22073. "marketid": {
  22074. "description": "市场ID",
  22075. "type": "integer"
  22076. },
  22077. "offamount": {
  22078. "description": "优惠金额",
  22079. "type": "number"
  22080. },
  22081. "payamount": {
  22082. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22083. "type": "number"
  22084. },
  22085. "payflag": {
  22086. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22087. "type": "integer"
  22088. },
  22089. "paylimitedtime": {
  22090. "description": "支付期限",
  22091. "type": "string"
  22092. },
  22093. "paytime": {
  22094. "description": "付款时间",
  22095. "type": "string"
  22096. },
  22097. "picurls": {
  22098. "description": "商品介绍图片[多张用逗号分隔]",
  22099. "type": "string"
  22100. },
  22101. "sellaccountid": {
  22102. "description": "卖方账号ID[报价币种]",
  22103. "type": "integer"
  22104. },
  22105. "sellorderid": {
  22106. "description": "卖方委托单号",
  22107. "type": "string"
  22108. },
  22109. "tradeamount": {
  22110. "description": "成交金额",
  22111. "type": "number"
  22112. },
  22113. "tradecharge": {
  22114. "description": "成交手续费(买方)",
  22115. "type": "number"
  22116. },
  22117. "tradedate": {
  22118. "description": "交易日(yyyyMMdd)",
  22119. "type": "string"
  22120. },
  22121. "tradeid": {
  22122. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22123. "type": "string"
  22124. },
  22125. "trademode": {
  22126. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22127. "type": "integer"
  22128. },
  22129. "tradeprice": {
  22130. "description": "成交价格",
  22131. "type": "number"
  22132. },
  22133. "tradeqty": {
  22134. "description": "成交数量",
  22135. "type": "integer"
  22136. }
  22137. }
  22138. },
  22139. "models.HsbySellMyDetail": {
  22140. "type": "object",
  22141. "required": [
  22142. "accountid",
  22143. "buyorsell",
  22144. "goodscode",
  22145. "goodsid",
  22146. "goodsname",
  22147. "marketid",
  22148. "orderid",
  22149. "time",
  22150. "trademode"
  22151. ],
  22152. "properties": {
  22153. "accountid": {
  22154. "description": "账户ID[报价币种]",
  22155. "type": "integer"
  22156. },
  22157. "agreeunit": {
  22158. "description": "合约单位",
  22159. "type": "number"
  22160. },
  22161. "buyorsell": {
  22162. "description": "买卖 - 0:买 1:卖",
  22163. "type": "integer"
  22164. },
  22165. "currencysign": {
  22166. "description": "货币符号",
  22167. "type": "string"
  22168. },
  22169. "decimalplace": {
  22170. "description": "报价小数位",
  22171. "type": "integer"
  22172. },
  22173. "goodscode": {
  22174. "description": "商品代码(内部)",
  22175. "type": "string"
  22176. },
  22177. "goodsid": {
  22178. "description": "商品ID",
  22179. "type": "integer"
  22180. },
  22181. "goodsname": {
  22182. "description": "商品名称",
  22183. "type": "string"
  22184. },
  22185. "marketid": {
  22186. "description": "市场ID",
  22187. "type": "integer"
  22188. },
  22189. "orderid": {
  22190. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22191. "type": "string"
  22192. },
  22193. "ordertype": {
  22194. "description": "单据类型:0 - 发布中, 1 - 已完成",
  22195. "type": "integer"
  22196. },
  22197. "picurls": {
  22198. "description": "介绍图片[多张用逗号分隔]",
  22199. "type": "string"
  22200. },
  22201. "price": {
  22202. "description": "价格",
  22203. "type": "number"
  22204. },
  22205. "qty": {
  22206. "description": "数量",
  22207. "type": "integer"
  22208. },
  22209. "time": {
  22210. "description": "时间",
  22211. "type": "string"
  22212. },
  22213. "trademode": {
  22214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22215. "type": "integer"
  22216. },
  22217. "vendorname": {
  22218. "description": "供应商名称",
  22219. "type": "string"
  22220. }
  22221. }
  22222. },
  22223. "models.HsbyTopGoods": {
  22224. "type": "object",
  22225. "required": [
  22226. "goodscode",
  22227. "goodsid",
  22228. "goodsname",
  22229. "marketid",
  22230. "trademode"
  22231. ],
  22232. "properties": {
  22233. "agreeunit": {
  22234. "description": "合约单位",
  22235. "type": "number"
  22236. },
  22237. "currency": {
  22238. "description": "货币",
  22239. "type": "string"
  22240. },
  22241. "currencysign": {
  22242. "description": "货币符号",
  22243. "type": "string"
  22244. },
  22245. "decimalplace": {
  22246. "description": "报价小数位",
  22247. "type": "integer"
  22248. },
  22249. "desccityid": {
  22250. "description": "目的地(市)",
  22251. "type": "integer"
  22252. },
  22253. "descprovinceid": {
  22254. "description": "目的地(省)",
  22255. "type": "integer"
  22256. },
  22257. "goodscode": {
  22258. "description": "商品代码(内部)",
  22259. "type": "string"
  22260. },
  22261. "goodsid": {
  22262. "description": "商品ID(自增ID SEQ_GOODS)",
  22263. "type": "integer"
  22264. },
  22265. "goodsname": {
  22266. "description": "商品名称",
  22267. "type": "string"
  22268. },
  22269. "hotindex": {
  22270. "description": "景点热度",
  22271. "type": "integer"
  22272. },
  22273. "last": {
  22274. "description": "现价",
  22275. "type": "number"
  22276. },
  22277. "marketid": {
  22278. "description": "所属市场ID",
  22279. "type": "integer"
  22280. },
  22281. "picurls": {
  22282. "description": "介绍图片[多张用逗号分隔]",
  22283. "type": "string"
  22284. },
  22285. "quoteminunit": {
  22286. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22287. "type": "integer"
  22288. },
  22289. "trademode": {
  22290. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22291. "type": "integer"
  22292. },
  22293. "videourls": {
  22294. "description": "介绍视频[多张用逗号分隔]",
  22295. "type": "string"
  22296. }
  22297. }
  22298. },
  22299. "models.HybsMyBuyOrderDetail": {
  22300. "type": "object",
  22301. "required": [
  22302. "accountid",
  22303. "buyorsell",
  22304. "goodscode",
  22305. "goodsid",
  22306. "goodsname",
  22307. "marketid",
  22308. "orderid",
  22309. "orderqty",
  22310. "ordertime",
  22311. "trademode"
  22312. ],
  22313. "properties": {
  22314. "accountid": {
  22315. "description": "账户ID[报价币种]",
  22316. "type": "integer"
  22317. },
  22318. "agreeunit": {
  22319. "description": "合约单位",
  22320. "type": "number"
  22321. },
  22322. "buyorsell": {
  22323. "description": "买卖 - 0:买 1:卖",
  22324. "type": "integer"
  22325. },
  22326. "cancelqty": {
  22327. "description": "撤单数量",
  22328. "type": "integer"
  22329. },
  22330. "currencysign": {
  22331. "description": "货币符号",
  22332. "type": "string"
  22333. },
  22334. "decimalplace": {
  22335. "description": "报价小数位",
  22336. "type": "integer"
  22337. },
  22338. "goodscode": {
  22339. "description": "商品代码(内部)",
  22340. "type": "string"
  22341. },
  22342. "goodsid": {
  22343. "description": "商品ID",
  22344. "type": "integer"
  22345. },
  22346. "goodsname": {
  22347. "description": "商品名称",
  22348. "type": "string"
  22349. },
  22350. "listingselecttype": {
  22351. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22352. "type": "integer"
  22353. },
  22354. "marketid": {
  22355. "description": "市场ID",
  22356. "type": "integer"
  22357. },
  22358. "mybuystatus": {
  22359. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22360. "type": "integer"
  22361. },
  22362. "orderamount": {
  22363. "description": "委托金额",
  22364. "type": "number"
  22365. },
  22366. "orderid": {
  22367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22368. "type": "string"
  22369. },
  22370. "orderprice": {
  22371. "description": "委托价格",
  22372. "type": "number"
  22373. },
  22374. "orderqty": {
  22375. "description": "委托数量",
  22376. "type": "integer"
  22377. },
  22378. "orderstatus": {
  22379. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22380. "type": "integer"
  22381. },
  22382. "ordertime": {
  22383. "description": "委托时间",
  22384. "type": "string"
  22385. },
  22386. "picurls1": {
  22387. "description": "预售商品介绍图片[多张用逗号分隔]",
  22388. "type": "string"
  22389. },
  22390. "picurls2": {
  22391. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22392. "type": "string"
  22393. },
  22394. "trademode": {
  22395. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22396. "type": "integer"
  22397. },
  22398. "tradeqty": {
  22399. "description": "成交数量",
  22400. "type": "integer"
  22401. },
  22402. "vendorname1": {
  22403. "description": "预售商品供应商名称",
  22404. "type": "string"
  22405. },
  22406. "vendorname2": {
  22407. "description": "挂牌商品供应商名称",
  22408. "type": "string"
  22409. }
  22410. }
  22411. },
  22412. "models.Loginaccount": {
  22413. "type": "object",
  22414. "required": [
  22415. "loginid"
  22416. ],
  22417. "properties": {
  22418. "canoutin": {
  22419. "description": "是否可出入金 - 0:不可 1:可",
  22420. "type": "integer"
  22421. },
  22422. "clientroleid": {
  22423. "description": "终端角色ID",
  22424. "type": "integer"
  22425. },
  22426. "haslogined": {
  22427. "description": "是否已登录 - 0:未登录 1:已登录",
  22428. "type": "integer"
  22429. },
  22430. "hasupdatedpwd": {
  22431. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22432. "type": "integer"
  22433. },
  22434. "lastloginip": {
  22435. "description": "最新登录地址",
  22436. "type": "string"
  22437. },
  22438. "lastloginmode": {
  22439. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22440. "type": "integer"
  22441. },
  22442. "lastloginremark": {
  22443. "description": "最新登录描述",
  22444. "type": "string"
  22445. },
  22446. "lastlogintime": {
  22447. "description": "最新登录时间",
  22448. "type": "string"
  22449. },
  22450. "logincode": {
  22451. "description": "登录代码",
  22452. "type": "string"
  22453. },
  22454. "loginfailnum": {
  22455. "description": "连续登录失败次数(登录成功时清零)",
  22456. "type": "integer"
  22457. },
  22458. "loginid": {
  22459. "description": "登陆账号",
  22460. "type": "integer"
  22461. },
  22462. "loginport": {
  22463. "description": "最新登录端口",
  22464. "type": "integer"
  22465. },
  22466. "loginstatus": {
  22467. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22468. "type": "integer"
  22469. },
  22470. "loginusertype": {
  22471. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22472. "type": "integer"
  22473. },
  22474. "modifierid": {
  22475. "description": "修改人",
  22476. "type": "integer"
  22477. },
  22478. "modifytime": {
  22479. "description": "修改时间",
  22480. "type": "string"
  22481. },
  22482. "pwdwrongcount": {
  22483. "description": "密码错误次数",
  22484. "type": "integer"
  22485. },
  22486. "taaccountrighttype": {
  22487. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22488. "type": "integer"
  22489. },
  22490. "unfreezetime": {
  22491. "description": "账户解冻时间",
  22492. "type": "string"
  22493. },
  22494. "userid": {
  22495. "description": "用户ID",
  22496. "type": "integer"
  22497. }
  22498. }
  22499. },
  22500. "models.MainAccountInfo": {
  22501. "type": "object",
  22502. "properties": {
  22503. "accountid": {
  22504. "description": "账号id",
  22505. "type": "integer"
  22506. },
  22507. "accountname": {
  22508. "description": "账号名称(taaccount表中的名称)",
  22509. "type": "string"
  22510. },
  22511. "appid": {
  22512. "description": "AppID",
  22513. "type": "string"
  22514. },
  22515. "authcode": {
  22516. "description": "授权码",
  22517. "type": "string"
  22518. },
  22519. "brokerid": {
  22520. "description": "经纪商id",
  22521. "type": "string"
  22522. },
  22523. "fcid": {
  22524. "description": "期货公司id",
  22525. "type": "integer"
  22526. },
  22527. "fcname": {
  22528. "description": "期货公司代码",
  22529. "type": "string"
  22530. },
  22531. "hedgeaccountcode": {
  22532. "description": "外部账号代码(主账号登录代码)",
  22533. "type": "string"
  22534. },
  22535. "hedgeaccountpwd": {
  22536. "description": "密码",
  22537. "type": "string"
  22538. },
  22539. "ismain": {
  22540. "description": "是否主账号",
  22541. "type": "integer"
  22542. },
  22543. "relateduserid": {
  22544. "description": "关联用户id",
  22545. "type": "integer"
  22546. },
  22547. "userid": {
  22548. "description": "关联用户id",
  22549. "type": "integer"
  22550. }
  22551. }
  22552. },
  22553. "models.Market": {
  22554. "type": "object",
  22555. "required": [
  22556. "marketid",
  22557. "marketstatus",
  22558. "openmethod",
  22559. "reckonpricealgorithm",
  22560. "trademode",
  22561. "tradeproperty"
  22562. ],
  22563. "properties": {
  22564. "auctionwrtype": {
  22565. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22566. "type": "integer"
  22567. },
  22568. "canacceptquote": {
  22569. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22570. "type": "integer"
  22571. },
  22572. "cangoodsexercise": {
  22573. "description": "[期权]是否可现货行权- 0:否 1:是",
  22574. "type": "integer"
  22575. },
  22576. "cangoodsexercisetype": {
  22577. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22578. "type": "integer"
  22579. },
  22580. "canmanualquotestrike": {
  22581. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22582. "type": "integer"
  22583. },
  22584. "canmutistage": {
  22585. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22586. "type": "integer"
  22587. },
  22588. "canpreexercise": {
  22589. "description": "[期权]是否可预申报- 0:否 1:是",
  22590. "type": "integer"
  22591. },
  22592. "clearinterval": {
  22593. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22594. "type": "integer"
  22595. },
  22596. "contracttmp": {
  22597. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22598. "type": "string"
  22599. },
  22600. "exchareaid": {
  22601. "description": "所属交易所,可以没有",
  22602. "type": "integer"
  22603. },
  22604. "goodstype": {
  22605. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22606. "type": "integer"
  22607. },
  22608. "hasrebate": {
  22609. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22610. "type": "integer"
  22611. },
  22612. "hastradecredit": {
  22613. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22614. "type": "integer"
  22615. },
  22616. "haswr": {
  22617. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22618. "type": "integer"
  22619. },
  22620. "isdeductmargin": {
  22621. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22622. "type": "integer"
  22623. },
  22624. "isrecordsource": {
  22625. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22626. "type": "integer"
  22627. },
  22628. "isreleasemargin": {
  22629. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22630. "type": "integer"
  22631. },
  22632. "marginformula": {
  22633. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22634. "type": "integer"
  22635. },
  22636. "marginformula2": {
  22637. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22638. "type": "integer"
  22639. },
  22640. "marketid": {
  22641. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22642. "type": "integer"
  22643. },
  22644. "marketname": {
  22645. "description": "市场名称",
  22646. "type": "string"
  22647. },
  22648. "marketserviceid": {
  22649. "description": "市场服务ID",
  22650. "type": "integer"
  22651. },
  22652. "marketstatus": {
  22653. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22654. "type": "integer"
  22655. },
  22656. "markettype": {
  22657. "description": "市场类型- 1:非交易服务 2:交易服务",
  22658. "type": "integer"
  22659. },
  22660. "matchermode": {
  22661. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22662. "type": "integer"
  22663. },
  22664. "openmethod": {
  22665. "description": "开盘模式 - 0 自动 1手动",
  22666. "type": "integer"
  22667. },
  22668. "otcuserid": {
  22669. "description": "场外期权做市商[场外期权]",
  22670. "type": "integer"
  22671. },
  22672. "outersynctime": {
  22673. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22674. "type": "string"
  22675. },
  22676. "pendingflag": {
  22677. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22678. "type": "integer"
  22679. },
  22680. "pendingtime": {
  22681. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22682. "type": "string"
  22683. },
  22684. "performancetempid": {
  22685. "description": "履约计划模板ID - 作废",
  22686. "type": "integer"
  22687. },
  22688. "premiumquotemode": {
  22689. "description": "权利金报价方式 - 1:自动 2:手动",
  22690. "type": "integer"
  22691. },
  22692. "rebateratio": {
  22693. "description": "返利比率[竞价式]",
  22694. "type": "number"
  22695. },
  22696. "reckonorder": {
  22697. "description": "结算顺序",
  22698. "type": "integer"
  22699. },
  22700. "reckonpricealgorithm": {
  22701. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22702. "type": "integer"
  22703. },
  22704. "reckonpriceparam": {
  22705. "description": "结算价参数",
  22706. "type": "integer"
  22707. },
  22708. "reckontime": {
  22709. "description": "结算时间[通道交易-对冲](HH:mm)",
  22710. "type": "string"
  22711. },
  22712. "roleprioritytype": {
  22713. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22714. "type": "integer"
  22715. },
  22716. "selllistingauditflag": {
  22717. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22718. "type": "integer"
  22719. },
  22720. "trademarkettype": {
  22721. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22722. "type": "integer"
  22723. },
  22724. "trademode": {
  22725. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22726. "type": "integer"
  22727. },
  22728. "tradeproperty": {
  22729. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22730. "type": "integer"
  22731. },
  22732. "tradetype": {
  22733. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22734. "type": "integer"
  22735. }
  22736. }
  22737. },
  22738. "models.Marketrun": {
  22739. "type": "object",
  22740. "required": [
  22741. "marketid",
  22742. "nexttradedate",
  22743. "reckonflag",
  22744. "runstatus",
  22745. "tradedate",
  22746. "tradedate2"
  22747. ],
  22748. "properties": {
  22749. "afternexttradedate": {
  22750. "description": "下下交易日",
  22751. "type": "string"
  22752. },
  22753. "clearquoteflag": {
  22754. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22755. "type": "integer"
  22756. },
  22757. "lastreckondate": {
  22758. "description": "最新交易日(结算成功)",
  22759. "type": "string"
  22760. },
  22761. "machinedate": {
  22762. "description": "机器时间",
  22763. "type": "string"
  22764. },
  22765. "manualflag": {
  22766. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22767. "type": "integer"
  22768. },
  22769. "marketid": {
  22770. "description": "市场ID",
  22771. "type": "integer"
  22772. },
  22773. "nexttradedate": {
  22774. "description": "下一交易日",
  22775. "type": "string"
  22776. },
  22777. "pretradedate": {
  22778. "description": "上一交易日",
  22779. "type": "string"
  22780. },
  22781. "reckonflag": {
  22782. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22783. "type": "integer"
  22784. },
  22785. "runstatus": {
  22786. "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.今日免清算",
  22787. "type": "integer"
  22788. },
  22789. "sectionid": {
  22790. "description": "时间段号[多时段时用]",
  22791. "type": "integer"
  22792. },
  22793. "tradedate": {
  22794. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22795. "type": "string"
  22796. },
  22797. "tradedate2": {
  22798. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22799. "type": "string"
  22800. },
  22801. "updatetime": {
  22802. "description": "更新时间",
  22803. "type": "string"
  22804. }
  22805. }
  22806. },
  22807. "models.Messageboard": {
  22808. "type": "object",
  22809. "required": [
  22810. "messageboardid"
  22811. ],
  22812. "properties": {
  22813. "contactnum": {
  22814. "description": "联系电话",
  22815. "type": "string"
  22816. },
  22817. "createtime": {
  22818. "description": "创建时间",
  22819. "type": "string"
  22820. },
  22821. "message": {
  22822. "description": "留言信息",
  22823. "type": "string"
  22824. },
  22825. "messageboardid": {
  22826. "description": "留言簿ID(SEQ_MessageBoard)",
  22827. "type": "integer"
  22828. },
  22829. "userid": {
  22830. "description": "用户ID",
  22831. "type": "integer"
  22832. }
  22833. }
  22834. },
  22835. "models.MyCoupon": {
  22836. "type": "object",
  22837. "required": [
  22838. "accountid",
  22839. "coupontypeid"
  22840. ],
  22841. "properties": {
  22842. "accountid": {
  22843. "description": "资金账户ID",
  22844. "type": "integer"
  22845. },
  22846. "areauserid": {
  22847. "description": "所属机构",
  22848. "type": "integer"
  22849. },
  22850. "conditionvalue": {
  22851. "description": "条件阈值(可为0)",
  22852. "type": "number"
  22853. },
  22854. "couponcategroy": {
  22855. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22856. "type": "integer"
  22857. },
  22858. "couponname": {
  22859. "description": "优惠券名称",
  22860. "type": "string"
  22861. },
  22862. "coupontypeid": {
  22863. "description": "优惠券类型ID",
  22864. "type": "string"
  22865. },
  22866. "couponvalue": {
  22867. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22868. "type": "number"
  22869. },
  22870. "curfreezeqty": {
  22871. "description": "期末冻结数量",
  22872. "type": "integer"
  22873. },
  22874. "curqty": {
  22875. "description": "期末数量",
  22876. "type": "integer"
  22877. },
  22878. "isgeneral": {
  22879. "description": "是否通用券 - 0:否 1:是",
  22880. "type": "integer"
  22881. },
  22882. "isunusable": {
  22883. "description": "是否不可用",
  22884. "type": "boolean"
  22885. },
  22886. "limitedflag": {
  22887. "description": "是否指定商品 - 0:不限 1:限制",
  22888. "type": "integer"
  22889. },
  22890. "limitedgoodsids": {
  22891. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22892. "type": "string"
  22893. },
  22894. "orifreezeqty": {
  22895. "description": "期初冻结数量",
  22896. "type": "integer"
  22897. },
  22898. "oriqty": {
  22899. "description": "期初数量",
  22900. "type": "integer"
  22901. },
  22902. "reasontype": {
  22903. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22904. "type": "integer"
  22905. },
  22906. "todaydecrease": {
  22907. "description": "今日减少",
  22908. "type": "integer"
  22909. },
  22910. "todayincrease": {
  22911. "description": "今日增加",
  22912. "type": "integer"
  22913. },
  22914. "userid": {
  22915. "description": "用户ID",
  22916. "type": "integer"
  22917. },
  22918. "userscope": {
  22919. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22920. "type": "string"
  22921. }
  22922. }
  22923. },
  22924. "models.MyCouponHold": {
  22925. "type": "object",
  22926. "required": [
  22927. "couponholdid"
  22928. ],
  22929. "properties": {
  22930. "accountid": {
  22931. "description": "资金账户ID",
  22932. "type": "integer"
  22933. },
  22934. "conditionvalue": {
  22935. "description": "条件阈值(可为0)",
  22936. "type": "number"
  22937. },
  22938. "couponcategroy": {
  22939. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22940. "type": "integer"
  22941. },
  22942. "couponholdid": {
  22943. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22944. "type": "string"
  22945. },
  22946. "couponname": {
  22947. "description": "优惠券名称",
  22948. "type": "string"
  22949. },
  22950. "coupontypeid": {
  22951. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22952. "type": "string"
  22953. },
  22954. "couponvalue": {
  22955. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22956. "type": "number"
  22957. },
  22958. "createtime": {
  22959. "description": "创建时间",
  22960. "type": "string"
  22961. },
  22962. "enddate": {
  22963. "description": "结束日期",
  22964. "type": "string"
  22965. },
  22966. "giveapplyid": {
  22967. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22968. "type": "integer"
  22969. },
  22970. "holdstatus": {
  22971. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22972. "type": "integer"
  22973. },
  22974. "isgeneral": {
  22975. "description": "是否通用券 - 0:否 1:是",
  22976. "type": "integer"
  22977. },
  22978. "limitedflag": {
  22979. "description": "是否指定商品 - 0:不限 1:限制",
  22980. "type": "integer"
  22981. },
  22982. "limitedgoodsids": {
  22983. "description": "指定商品IDs[逗号分隔]",
  22984. "type": "string"
  22985. },
  22986. "qty": {
  22987. "description": "数量(按1平铺)",
  22988. "type": "integer"
  22989. },
  22990. "startdate": {
  22991. "description": "开始日期",
  22992. "type": "string"
  22993. },
  22994. "userid": {
  22995. "description": "用户ID",
  22996. "type": "integer"
  22997. },
  22998. "userscope": {
  22999. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23000. "type": "string"
  23001. }
  23002. }
  23003. },
  23004. "models.MyUsedCoupon": {
  23005. "type": "object",
  23006. "required": [
  23007. "coupontypeid",
  23008. "orderid"
  23009. ],
  23010. "properties": {
  23011. "accountid": {
  23012. "description": "资金账户ID(买方)",
  23013. "type": "integer"
  23014. },
  23015. "conditionvalue": {
  23016. "description": "条件阈值(可为0)",
  23017. "type": "number"
  23018. },
  23019. "couponcategroy": {
  23020. "description": "种类 - 1:现金券 2:折扣券",
  23021. "type": "integer"
  23022. },
  23023. "couponname": {
  23024. "description": "优惠券名称",
  23025. "type": "string"
  23026. },
  23027. "coupontypeid": {
  23028. "description": "优惠券类型ID(买方)",
  23029. "type": "string"
  23030. },
  23031. "couponvalue": {
  23032. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23033. "type": "number"
  23034. },
  23035. "createtime": {
  23036. "description": "创建时间",
  23037. "type": "string"
  23038. },
  23039. "goodsid": {
  23040. "description": "商品ID",
  23041. "type": "integer"
  23042. },
  23043. "handlestatus": {
  23044. "description": "处理状态",
  23045. "type": "integer"
  23046. },
  23047. "marketid": {
  23048. "description": "市场ID",
  23049. "type": "integer"
  23050. },
  23051. "offamount": {
  23052. "description": "优惠金额",
  23053. "type": "number"
  23054. },
  23055. "orderid": {
  23056. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23057. "type": "string"
  23058. },
  23059. "sellaccountid": {
  23060. "description": "资金账户ID(卖方)",
  23061. "type": "integer"
  23062. },
  23063. "tradeamount": {
  23064. "description": "成交金额",
  23065. "type": "number"
  23066. },
  23067. "tradeid": {
  23068. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23069. "type": "string"
  23070. },
  23071. "usedqty": {
  23072. "description": "使用数量",
  23073. "type": "integer"
  23074. }
  23075. }
  23076. },
  23077. "models.OperationPrimaryMenu": {
  23078. "type": "object",
  23079. "properties": {
  23080. "Children": {
  23081. "description": "二级功能菜单",
  23082. "type": "array",
  23083. "items": {
  23084. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23085. }
  23086. },
  23087. "Key": {
  23088. "description": "菜单KEY",
  23089. "type": "string"
  23090. },
  23091. "Label": {
  23092. "description": "菜单标题",
  23093. "type": "string"
  23094. }
  23095. }
  23096. },
  23097. "models.OperationSecondaryMenu": {
  23098. "type": "object",
  23099. "properties": {
  23100. "Key": {
  23101. "description": "菜单KEY",
  23102. "type": "string"
  23103. },
  23104. "Label": {
  23105. "description": "菜单标题",
  23106. "type": "string"
  23107. },
  23108. "TabList": {
  23109. "description": "三级功能菜单",
  23110. "type": "array",
  23111. "items": {
  23112. "$ref": "#/definitions/models.OperationTabMenu"
  23113. }
  23114. }
  23115. }
  23116. },
  23117. "models.OperationTabMenu": {
  23118. "type": "object",
  23119. "properties": {
  23120. "Key": {
  23121. "description": "菜单KEY",
  23122. "type": "string"
  23123. },
  23124. "Label": {
  23125. "description": "菜单标题",
  23126. "type": "string"
  23127. }
  23128. }
  23129. },
  23130. "models.PendingAuditBizModel": {
  23131. "type": "object",
  23132. "properties": {
  23133. "accountid": {
  23134. "description": "现货账户",
  23135. "type": "string"
  23136. },
  23137. "areaname": {
  23138. "description": "所属部门",
  23139. "type": "string"
  23140. },
  23141. "bizid": {
  23142. "description": "业务ID",
  23143. "type": "string"
  23144. },
  23145. "bizname": {
  23146. "description": "业务名称",
  23147. "type": "string"
  23148. },
  23149. "status": {
  23150. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23151. "type": "integer"
  23152. },
  23153. "type": {
  23154. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23155. "type": "integer"
  23156. }
  23157. }
  23158. },
  23159. "models.QhjAccountOutInApply": {
  23160. "type": "object",
  23161. "properties": {
  23162. "accountcode": {
  23163. "description": "资金账号",
  23164. "type": "string"
  23165. },
  23166. "accountname": {
  23167. "description": "用户名称(名称)",
  23168. "type": "string"
  23169. },
  23170. "accountpwd": {
  23171. "description": "资金密码",
  23172. "type": "string"
  23173. },
  23174. "accountticket": {
  23175. "description": "最新账户服务流水号",
  23176. "type": "string"
  23177. },
  23178. "amount": {
  23179. "description": "金额",
  23180. "type": "number"
  23181. },
  23182. "applyremark": {
  23183. "description": "申请备注",
  23184. "type": "string"
  23185. },
  23186. "applystatus": {
  23187. "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: 复审通过,账户冻结金额检查中;",
  23188. "type": "integer"
  23189. },
  23190. "auditid": {
  23191. "description": "审核人",
  23192. "type": "integer"
  23193. },
  23194. "audittime": {
  23195. "description": "审核时间",
  23196. "type": "string"
  23197. },
  23198. "bank_apply_ticket": {
  23199. "description": "银行申请流水",
  23200. "type": "string"
  23201. },
  23202. "bankaccountname": {
  23203. "description": "银行账户名",
  23204. "type": "string"
  23205. },
  23206. "bankaccountno": {
  23207. "description": "银行卡号",
  23208. "type": "string"
  23209. },
  23210. "bankid": {
  23211. "description": "银行编号",
  23212. "type": "string"
  23213. },
  23214. "bankticket": {
  23215. "description": "银行流水",
  23216. "type": "string"
  23217. },
  23218. "branchbankid": {
  23219. "description": "银行支行号",
  23220. "type": "string"
  23221. },
  23222. "branchbankname": {
  23223. "description": "银行支行名称",
  23224. "type": "string"
  23225. },
  23226. "capamountout": {
  23227. "description": "出金(劣后本金) - 外部子账户",
  23228. "type": "number"
  23229. },
  23230. "certificatephotourl": {
  23231. "description": "凭证地址",
  23232. "type": "string"
  23233. },
  23234. "charge": {
  23235. "description": "手续费",
  23236. "type": "number"
  23237. },
  23238. "checkerrorflag": {
  23239. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23240. "type": "integer"
  23241. },
  23242. "currency": {
  23243. "description": "币种",
  23244. "type": "string"
  23245. },
  23246. "cusbankid": {
  23247. "description": "托管银行编号",
  23248. "type": "string"
  23249. },
  23250. "exchticket": {
  23251. "description": "银行服务流水号",
  23252. "type": "string"
  23253. },
  23254. "executetype": {
  23255. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23256. "type": "integer"
  23257. },
  23258. "extendinfo": {
  23259. "description": "扩展信息",
  23260. "type": "string"
  23261. },
  23262. "extoperateid": {
  23263. "description": "交易服务流水号",
  23264. "type": "integer"
  23265. },
  23266. "infamount": {
  23267. "description": "劣后金额(自有)",
  23268. "type": "number"
  23269. },
  23270. "logincode": {
  23271. "description": "登录账号(账号)",
  23272. "type": "string"
  23273. },
  23274. "netaddr": {
  23275. "description": "调转网址",
  23276. "type": "string"
  23277. },
  23278. "priamount": {
  23279. "description": "优先金额(授信)",
  23280. "type": "number"
  23281. },
  23282. "reauditid": {
  23283. "description": "复审人",
  23284. "type": "integer"
  23285. },
  23286. "reauditremark": {
  23287. "description": "复审备注",
  23288. "type": "string"
  23289. },
  23290. "reaudittime": {
  23291. "description": "复审时间",
  23292. "type": "string"
  23293. },
  23294. "relatedorderid": {
  23295. "description": "三方关联ID",
  23296. "type": "string"
  23297. },
  23298. "remark": {
  23299. "description": "备注",
  23300. "type": "string"
  23301. },
  23302. "remark2": {
  23303. "description": "备注(失败原因)",
  23304. "type": "string"
  23305. },
  23306. "soucreamount": {
  23307. "description": "原始出入金金额",
  23308. "type": "number"
  23309. },
  23310. "soucrecurrencyid": {
  23311. "description": "原始出入金币种",
  23312. "type": "integer"
  23313. },
  23314. "tradedate": {
  23315. "description": "交易日(yyyyMMdd)",
  23316. "type": "string"
  23317. },
  23318. "updatetime": {
  23319. "description": "更新时间(申请时间)",
  23320. "type": "string"
  23321. },
  23322. "userid": {
  23323. "description": "用户id",
  23324. "type": "integer"
  23325. },
  23326. "userinfotype": {
  23327. "description": "账户类型 1-个人 2-企业",
  23328. "type": "integer"
  23329. }
  23330. }
  23331. },
  23332. "models.QhjAgreementChangeLog": {
  23333. "type": "object",
  23334. "properties": {
  23335. "agreementcontent": {
  23336. "description": "协议内容",
  23337. "type": "string"
  23338. },
  23339. "agreementfrequency": {
  23340. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23341. "type": "integer"
  23342. },
  23343. "agreementid": {
  23344. "description": "协议ID",
  23345. "type": "integer"
  23346. },
  23347. "agreementname": {
  23348. "description": "协议名称",
  23349. "type": "string"
  23350. },
  23351. "agreementno": {
  23352. "description": "协议编号",
  23353. "type": "string"
  23354. },
  23355. "agreementtype": {
  23356. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23357. "type": "integer"
  23358. },
  23359. "agreementversion": {
  23360. "description": "协议版本号",
  23361. "type": "integer"
  23362. },
  23363. "logid": {
  23364. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23365. "type": "integer"
  23366. },
  23367. "reviserid": {
  23368. "description": "修改人",
  23369. "type": "integer"
  23370. },
  23371. "revisersrc": {
  23372. "description": "修改来源 - 1:管理端 2:终端",
  23373. "type": "integer"
  23374. },
  23375. "updatetime": {
  23376. "description": "更新时间",
  23377. "type": "string"
  23378. }
  23379. }
  23380. },
  23381. "models.QhjAgreementConfig": {
  23382. "type": "object",
  23383. "properties": {
  23384. "agreementcontent": {
  23385. "description": "协议内容",
  23386. "type": "string"
  23387. },
  23388. "agreementfrequency": {
  23389. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23390. "type": "integer"
  23391. },
  23392. "agreementid": {
  23393. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23394. "type": "integer"
  23395. },
  23396. "agreementname": {
  23397. "description": "协议名称",
  23398. "type": "string"
  23399. },
  23400. "agreementno": {
  23401. "description": "协议编号",
  23402. "type": "string"
  23403. },
  23404. "agreementtype": {
  23405. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23406. "type": "integer"
  23407. },
  23408. "agreementversion": {
  23409. "description": "协议版本号(从1开始每次修改加1)",
  23410. "type": "integer"
  23411. },
  23412. "createtime": {
  23413. "description": "创建时间",
  23414. "type": "string"
  23415. },
  23416. "creatorid": {
  23417. "description": "创建人",
  23418. "type": "integer"
  23419. },
  23420. "creatorsrc": {
  23421. "description": "创建来源 - 1:管理端 2:终端",
  23422. "type": "integer"
  23423. },
  23424. "isvalid": {
  23425. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  23426. "type": "integer"
  23427. },
  23428. "reviserid": {
  23429. "description": "修改人",
  23430. "type": "integer"
  23431. },
  23432. "revisersrc": {
  23433. "description": "修改来源 - 1:管理端 2:终端",
  23434. "type": "integer"
  23435. },
  23436. "updatetime": {
  23437. "description": "更新时间",
  23438. "type": "string"
  23439. }
  23440. }
  23441. },
  23442. "models.QhjAreaFinanceConfig": {
  23443. "type": "object",
  23444. "properties": {
  23445. "additionalratio": {
  23446. "description": "追加款比例",
  23447. "type": "number"
  23448. },
  23449. "advanceratio": {
  23450. "description": "预付款比例",
  23451. "type": "number"
  23452. },
  23453. "alarmratio": {
  23454. "description": "告警比例",
  23455. "type": "number"
  23456. },
  23457. "consumptiondirectreward": {
  23458. "description": "消费直推奖励值",
  23459. "type": "number"
  23460. },
  23461. "consumptionenabled": {
  23462. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23463. "type": "integer"
  23464. },
  23465. "consumptionindirectreward": {
  23466. "description": "消费间推奖励值",
  23467. "type": "number"
  23468. },
  23469. "consumptionmodel": {
  23470. "description": "消费奖励方式 - 1:比率 2:固定",
  23471. "type": "integer"
  23472. },
  23473. "customerservicenum": {
  23474. "description": "客服电话",
  23475. "type": "string"
  23476. },
  23477. "dayinterestrate": {
  23478. "description": "日利率",
  23479. "type": "number"
  23480. },
  23481. "disableconsumptiontips": {
  23482. "description": "关闭消费奖励提示",
  23483. "type": "string"
  23484. },
  23485. "modifierid": {
  23486. "description": "修改人ID",
  23487. "type": "integer"
  23488. },
  23489. "modifysrc": {
  23490. "description": "审核来源 - 1:管理端 2:终端",
  23491. "type": "integer"
  23492. },
  23493. "modifytime": {
  23494. "description": "修改时间",
  23495. "type": "string"
  23496. },
  23497. "promotionvalue": {
  23498. "description": "推广奖励值(固定)",
  23499. "type": "number"
  23500. },
  23501. "scoreconfigvalue1": {
  23502. "description": "提货积分配置1",
  23503. "type": "integer"
  23504. },
  23505. "scoreconfigvalue2": {
  23506. "description": "提货积分配置2",
  23507. "type": "integer"
  23508. },
  23509. "userid": {
  23510. "description": "机构用户ID其他做市关系,都设置为 1",
  23511. "type": "integer"
  23512. },
  23513. "username": {
  23514. "description": "用户名称",
  23515. "type": "string"
  23516. }
  23517. }
  23518. },
  23519. "models.QhjBankAccountSign": {
  23520. "type": "object",
  23521. "properties": {
  23522. "accountcode": {
  23523. "description": "资金账号",
  23524. "type": "string"
  23525. },
  23526. "accountname": {
  23527. "description": "资金账号对应的账号名(UserName)",
  23528. "type": "string"
  23529. },
  23530. "accountname2": {
  23531. "description": "资金账号对应的账号名(UserName) - 密文",
  23532. "type": "string"
  23533. },
  23534. "accounttype": {
  23535. "description": "账户类型(UserType)",
  23536. "type": "integer"
  23537. },
  23538. "applicationtime": {
  23539. "description": "最后一次更新的时间",
  23540. "type": "string"
  23541. },
  23542. "applyexchticket": {
  23543. "description": "申请流水",
  23544. "type": "string"
  23545. },
  23546. "auditid": {
  23547. "description": "审核人",
  23548. "type": "integer"
  23549. },
  23550. "audittime": {
  23551. "description": "审核时间",
  23552. "type": "string"
  23553. },
  23554. "bankaccountname": {
  23555. "description": "签约银行卡账号名",
  23556. "type": "string"
  23557. },
  23558. "bankaccountname2": {
  23559. "description": "签约银行卡账号名 - 密文",
  23560. "type": "string"
  23561. },
  23562. "bankaccountno": {
  23563. "description": "银行卡号",
  23564. "type": "string"
  23565. },
  23566. "bankaccountno2": {
  23567. "description": "银行卡号 - 密文",
  23568. "type": "string"
  23569. },
  23570. "bankaccounttype": {
  23571. "description": "银行账户类型 - 1-对私; 2-对公",
  23572. "type": "integer"
  23573. },
  23574. "bankcardtype": {
  23575. "description": "银行卡类型",
  23576. "type": "integer"
  23577. },
  23578. "bankchildaccount": {
  23579. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23580. "type": "string"
  23581. },
  23582. "bankcity": {
  23583. "description": "开户行城市",
  23584. "type": "string"
  23585. },
  23586. "bankid": {
  23587. "description": "签约银行ID",
  23588. "type": "string"
  23589. },
  23590. "bankname": {
  23591. "description": "签约银行名称",
  23592. "type": "string"
  23593. },
  23594. "bankprovince": {
  23595. "description": "开户行省份",
  23596. "type": "string"
  23597. },
  23598. "branchbankid": {
  23599. "description": "签约银行支行号",
  23600. "type": "string"
  23601. },
  23602. "branchbankname": {
  23603. "description": "签约银行支行名称",
  23604. "type": "string"
  23605. },
  23606. "cardno": {
  23607. "description": "证件号码",
  23608. "type": "string"
  23609. },
  23610. "cardno2": {
  23611. "description": "证件号码 - 密文",
  23612. "type": "string"
  23613. },
  23614. "cardtype": {
  23615. "description": "证件类型",
  23616. "type": "string"
  23617. },
  23618. "currency": {
  23619. "description": "币种",
  23620. "type": "string"
  23621. },
  23622. "cusbankid": {
  23623. "description": "托管银行编号",
  23624. "type": "string"
  23625. },
  23626. "direct": {
  23627. "description": "方向(可以判断那方先发起的签约)",
  23628. "type": "integer"
  23629. },
  23630. "exchticket": {
  23631. "description": "最后一次签约成功的流水号",
  23632. "type": "string"
  23633. },
  23634. "extendinfo": {
  23635. "description": "扩展信息(JSON字符串)",
  23636. "type": "string"
  23637. },
  23638. "mobilephone": {
  23639. "description": "手机号",
  23640. "type": "string"
  23641. },
  23642. "mobilephone2": {
  23643. "description": "手机号 - 密文",
  23644. "type": "string"
  23645. },
  23646. "netaddr": {
  23647. "description": "调转网址",
  23648. "type": "string"
  23649. },
  23650. "relateduserid": {
  23651. "description": "关联使用者userid",
  23652. "type": "integer"
  23653. },
  23654. "signstatus": {
  23655. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23656. "type": "integer"
  23657. },
  23658. "updatetime": {
  23659. "description": "更新时间(签解约更新时间)",
  23660. "type": "string"
  23661. }
  23662. }
  23663. },
  23664. "models.QhjBankInfo": {
  23665. "type": "object",
  23666. "properties": {
  23667. "bankid": {
  23668. "description": "银行ID",
  23669. "type": "string"
  23670. },
  23671. "bankname": {
  23672. "description": "银行名称",
  23673. "type": "string"
  23674. },
  23675. "clearbankno": {
  23676. "description": "清算系统银行编号",
  23677. "type": "string"
  23678. },
  23679. "orderindex": {
  23680. "description": "排序顺序",
  23681. "type": "integer"
  23682. },
  23683. "status": {
  23684. "description": "状态 - 0:正常 1:注销",
  23685. "type": "integer"
  23686. }
  23687. }
  23688. },
  23689. "models.QhjContract": {
  23690. "type": "object",
  23691. "properties": {
  23692. "contractconfirmtime": {
  23693. "description": "合同确认时间(时间)",
  23694. "type": "string"
  23695. },
  23696. "currisklevel": {
  23697. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23698. "type": "integer"
  23699. },
  23700. "decimalplace": {
  23701. "description": "商品报价小数位",
  23702. "type": "integer"
  23703. },
  23704. "enumdicname": {
  23705. "description": "单位名称",
  23706. "type": "string"
  23707. },
  23708. "goodscode": {
  23709. "description": "商品代码",
  23710. "type": "string"
  23711. },
  23712. "goodsid": {
  23713. "description": "商品ID [5:融资单]",
  23714. "type": "integer"
  23715. },
  23716. "goodsname": {
  23717. "description": "商品名称",
  23718. "type": "string"
  23719. },
  23720. "goodunitid": {
  23721. "description": "商品单位id",
  23722. "type": "integer"
  23723. },
  23724. "initmargin": {
  23725. "description": "初始保证金(首付款)",
  23726. "type": "number"
  23727. },
  23728. "lenderamount": {
  23729. "description": "贷款金额(总额|订单总额)",
  23730. "type": "number"
  23731. },
  23732. "marginratio": {
  23733. "description": "保证金比率(首付比例)",
  23734. "type": "number"
  23735. },
  23736. "payamount": {
  23737. "description": "已付(已付货款)",
  23738. "type": "number"
  23739. },
  23740. "reckonrecovermargin": {
  23741. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23742. "type": "number"
  23743. },
  23744. "recoveredmargin": {
  23745. "description": "已追缴保证金",
  23746. "type": "number"
  23747. },
  23748. "remainamount": {
  23749. "description": "合同剩余金额(融资额)",
  23750. "type": "number"
  23751. },
  23752. "scfcontractid": {
  23753. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23754. "type": "string"
  23755. },
  23756. "scfcontractstatus": {
  23757. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23758. "type": "integer"
  23759. },
  23760. "scfcontracttype": {
  23761. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23762. "type": "integer"
  23763. },
  23764. "totalinterest": {
  23765. "description": "已计总利息(利息)",
  23766. "type": "number"
  23767. },
  23768. "tradeprice": {
  23769. "description": "成交价格(成本价格)",
  23770. "type": "number"
  23771. },
  23772. "userid": {
  23773. "description": "用户ID",
  23774. "type": "integer"
  23775. },
  23776. "username": {
  23777. "description": "用户名称",
  23778. "type": "string"
  23779. },
  23780. "wrqty": {
  23781. "description": "仓单数量(数量)",
  23782. "type": "number"
  23783. }
  23784. }
  23785. },
  23786. "models.QhjContractLog": {
  23787. "type": "object",
  23788. "properties": {
  23789. "amount": {
  23790. "description": "支付金额",
  23791. "type": "number"
  23792. },
  23793. "amounttype": {
  23794. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  23795. "type": "integer"
  23796. },
  23797. "logid": {
  23798. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23799. "type": "string"
  23800. },
  23801. "remainamount": {
  23802. "description": "剩余货款",
  23803. "type": "number"
  23804. },
  23805. "scfcontractid": {
  23806. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23807. "type": "integer"
  23808. },
  23809. "updatetime": {
  23810. "description": "更新时间",
  23811. "type": "string"
  23812. }
  23813. }
  23814. },
  23815. "models.QhjCusBankSignBankEx": {
  23816. "type": "object",
  23817. "properties": {
  23818. "banklst": {
  23819. "description": "银行列表",
  23820. "type": "array",
  23821. "items": {
  23822. "$ref": "#/definitions/models.QhjBankInfo"
  23823. }
  23824. },
  23825. "canallot": {
  23826. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  23827. "type": "integer"
  23828. },
  23829. "canallotquery": {
  23830. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  23831. "type": "integer"
  23832. },
  23833. "canbindcard": {
  23834. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  23835. "type": "integer"
  23836. },
  23837. "caninamount": {
  23838. "description": "是否可入金 - 0:不可 1:可以",
  23839. "type": "integer"
  23840. },
  23841. "caninamount2": {
  23842. "description": "是否可入金(网银端) - 0:不可 1:可以",
  23843. "type": "integer"
  23844. },
  23845. "canmodifybankcard": {
  23846. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  23847. "type": "integer"
  23848. },
  23849. "canmodifyphone": {
  23850. "description": "是否可修改手机号 - 0:不可 1:可以",
  23851. "type": "integer"
  23852. },
  23853. "canmodifysigninfo": {
  23854. "description": "是否可修改签约信息 - 0:不可 1:可以",
  23855. "type": "integer"
  23856. },
  23857. "canoutamount": {
  23858. "description": "是否可出金 - 0:不可 1:可以",
  23859. "type": "integer"
  23860. },
  23861. "canoutamount2": {
  23862. "description": "是否可出金(网银端) - 0:不可 1:可以",
  23863. "type": "integer"
  23864. },
  23865. "canrelease": {
  23866. "description": "是否可解约 - 0:不可 1:可以",
  23867. "type": "integer"
  23868. },
  23869. "canrelease2": {
  23870. "description": "是否可解约(网银端) - 0:不可 1:可以",
  23871. "type": "integer"
  23872. },
  23873. "cansign": {
  23874. "description": "是否可签约 - 0:不可 1:可以",
  23875. "type": "integer"
  23876. },
  23877. "cansign2": {
  23878. "description": "是否可签约(网银端) - 0:不可 1:可以",
  23879. "type": "integer"
  23880. },
  23881. "currency": {
  23882. "description": "币种",
  23883. "type": "string"
  23884. },
  23885. "cusbankid": {
  23886. "description": "托管银行编号(对应清算中心TRAN_NO)",
  23887. "type": "string"
  23888. },
  23889. "cusbankname": {
  23890. "description": "银行业务名称",
  23891. "type": "string"
  23892. },
  23893. "cusbankshortname": {
  23894. "description": "银行业务简称",
  23895. "type": "string"
  23896. },
  23897. "exchbankid": {
  23898. "description": "交易所开户银行ID",
  23899. "type": "string"
  23900. },
  23901. "exchpaybankaccname": {
  23902. "description": "交易所支出结算账户户名",
  23903. "type": "string"
  23904. },
  23905. "exchpaybankaccno": {
  23906. "description": "交易所支出结算账户",
  23907. "type": "string"
  23908. },
  23909. "isneedcheck": {
  23910. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  23911. "type": "integer"
  23912. },
  23913. "isneedclear": {
  23914. "description": "是否需要清算 - 0:不需要 1:需要",
  23915. "type": "integer"
  23916. },
  23917. "lastcheckstatus": {
  23918. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  23919. "type": "integer"
  23920. },
  23921. "lastchecktime": {
  23922. "description": "最后对账时间",
  23923. "type": "string"
  23924. },
  23925. "lastclearstatus": {
  23926. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  23927. "type": "integer"
  23928. },
  23929. "lastcleartime": {
  23930. "description": "最后清算时间",
  23931. "type": "string"
  23932. },
  23933. "lastsignintime": {
  23934. "description": "最后签到时间",
  23935. "type": "string"
  23936. },
  23937. "lastsignouttime": {
  23938. "description": "最后签退时间",
  23939. "type": "string"
  23940. },
  23941. "riskinfo": {
  23942. "description": "签约风险提示书",
  23943. "type": "string"
  23944. },
  23945. "signstatus": {
  23946. "description": "当前签到/签退状态 - 1:签到 2:签退",
  23947. "type": "integer"
  23948. },
  23949. "tradedate": {
  23950. "description": "交易日(yyyyMMdd)",
  23951. "type": "string"
  23952. },
  23953. "updatetime": {
  23954. "description": "当前签到/签退更新时间",
  23955. "type": "string"
  23956. }
  23957. }
  23958. },
  23959. "models.QhjCustomer": {
  23960. "type": "object",
  23961. "properties": {
  23962. "address": {
  23963. "description": "通讯地址",
  23964. "type": "string"
  23965. },
  23966. "attachment1": {
  23967. "description": "附件1",
  23968. "type": "string"
  23969. },
  23970. "audittime": {
  23971. "description": "审核时间",
  23972. "type": "string"
  23973. },
  23974. "cardbackphotourl": {
  23975. "description": "证件反面图片地址",
  23976. "type": "string"
  23977. },
  23978. "cardfrontphotourl": {
  23979. "description": "证件正面图片地址",
  23980. "type": "string"
  23981. },
  23982. "cardnum": {
  23983. "description": "证件号码",
  23984. "type": "string"
  23985. },
  23986. "cardtype": {
  23987. "description": "证件类型",
  23988. "type": "integer"
  23989. },
  23990. "cardtypename": {
  23991. "description": "证件类型名称",
  23992. "type": "string"
  23993. },
  23994. "cityid": {
  23995. "description": "市",
  23996. "type": "integer"
  23997. },
  23998. "cityname": {
  23999. "description": "城市名称",
  24000. "type": "string"
  24001. },
  24002. "contactname": {
  24003. "description": "联系人",
  24004. "type": "string"
  24005. },
  24006. "countryid": {
  24007. "description": "国家",
  24008. "type": "integer"
  24009. },
  24010. "countryname": {
  24011. "description": "国家名称",
  24012. "type": "string"
  24013. },
  24014. "createtime": {
  24015. "description": "创建时间",
  24016. "type": "string"
  24017. },
  24018. "customername": {
  24019. "description": "客户名称",
  24020. "type": "string"
  24021. },
  24022. "districtid": {
  24023. "description": "区域",
  24024. "type": "integer"
  24025. },
  24026. "districtname": {
  24027. "description": "地区名称",
  24028. "type": "string"
  24029. },
  24030. "email": {
  24031. "description": "邮件",
  24032. "type": "string"
  24033. },
  24034. "legalpersonname": {
  24035. "description": "法人姓名(企业)",
  24036. "type": "string"
  24037. },
  24038. "logincode": {
  24039. "description": "登录账号(代码)",
  24040. "type": "string"
  24041. },
  24042. "memberuserid": {
  24043. "description": "所属机构ID(所属会员)",
  24044. "type": "integer"
  24045. },
  24046. "memberusername": {
  24047. "description": "所属会员名称",
  24048. "type": "string"
  24049. },
  24050. "mobile": {
  24051. "description": "手机号码",
  24052. "type": "string"
  24053. },
  24054. "modifytime": {
  24055. "description": "修改时间",
  24056. "type": "string"
  24057. },
  24058. "nickname": {
  24059. "description": "昵称",
  24060. "type": "string"
  24061. },
  24062. "parentuserid": {
  24063. "description": "上级机构(所属机构)",
  24064. "type": "integer"
  24065. },
  24066. "parentusername": {
  24067. "description": "所属机构名称",
  24068. "type": "string"
  24069. },
  24070. "provinceid": {
  24071. "description": "省",
  24072. "type": "integer"
  24073. },
  24074. "provincename": {
  24075. "description": "省名称",
  24076. "type": "string"
  24077. },
  24078. "proxystatementurl": {
  24079. "description": "授权委托书",
  24080. "type": "string"
  24081. },
  24082. "remark": {
  24083. "description": "备注",
  24084. "type": "string"
  24085. },
  24086. "status": {
  24087. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  24088. "type": "integer"
  24089. },
  24090. "statusdesc": {
  24091. "description": "账户状态中文描述",
  24092. "type": "string"
  24093. },
  24094. "taxpayernum": {
  24095. "description": "纳税人识别号",
  24096. "type": "string"
  24097. },
  24098. "telphone": {
  24099. "description": "联系电话",
  24100. "type": "string"
  24101. },
  24102. "userid": {
  24103. "description": "用户ID",
  24104. "type": "integer"
  24105. },
  24106. "userinfotype": {
  24107. "description": "客户类型 1-个人 2-企业",
  24108. "type": "integer"
  24109. },
  24110. "username": {
  24111. "description": "用户名称",
  24112. "type": "string"
  24113. }
  24114. }
  24115. },
  24116. "models.QhjCustomerSignLog": {
  24117. "type": "object",
  24118. "properties": {
  24119. "agreementcontent": {
  24120. "description": "协议内容",
  24121. "type": "string"
  24122. },
  24123. "agreementid": {
  24124. "description": "协议ID",
  24125. "type": "integer"
  24126. },
  24127. "agreementname": {
  24128. "description": "协议名称",
  24129. "type": "string"
  24130. },
  24131. "agreementno": {
  24132. "description": "协议编号",
  24133. "type": "string"
  24134. },
  24135. "agreementtype": {
  24136. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24137. "type": "integer"
  24138. },
  24139. "agreementversion": {
  24140. "description": "协议版本号",
  24141. "type": "integer"
  24142. },
  24143. "createtime": {
  24144. "description": "创建时间",
  24145. "type": "string"
  24146. },
  24147. "goodscode": {
  24148. "description": "商品代码",
  24149. "type": "string"
  24150. },
  24151. "goodsid": {
  24152. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24153. "type": "integer"
  24154. },
  24155. "goodsname": {
  24156. "description": "商品名称",
  24157. "type": "string"
  24158. },
  24159. "logid": {
  24160. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  24161. "type": "integer"
  24162. },
  24163. "nodetype": {
  24164. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24165. "type": "integer"
  24166. },
  24167. "signadressurl": {
  24168. "description": "签约文件地址",
  24169. "type": "string"
  24170. },
  24171. "signtimestamp": {
  24172. "description": "签约状态时间戳",
  24173. "type": "string"
  24174. },
  24175. "userid": {
  24176. "description": "客户ID",
  24177. "type": "integer"
  24178. },
  24179. "username": {
  24180. "description": "客户名称",
  24181. "type": "string"
  24182. }
  24183. }
  24184. },
  24185. "models.QhjCustomerSignStatus": {
  24186. "type": "object",
  24187. "properties": {
  24188. "createtime": {
  24189. "description": "创建时间",
  24190. "type": "string"
  24191. },
  24192. "goodscode": {
  24193. "description": "商品代码",
  24194. "type": "string"
  24195. },
  24196. "goodsid": {
  24197. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24198. "type": "integer"
  24199. },
  24200. "goodsname": {
  24201. "description": "商品名称",
  24202. "type": "string"
  24203. },
  24204. "nodetype": {
  24205. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  24206. "type": "integer"
  24207. },
  24208. "signtimestamp": {
  24209. "description": "签约状态时间戳",
  24210. "type": "string"
  24211. },
  24212. "tradedate": {
  24213. "description": "创建交易日(yyyyMMdd)",
  24214. "type": "string"
  24215. },
  24216. "updatetime": {
  24217. "description": "更新时间",
  24218. "type": "string"
  24219. },
  24220. "userid": {
  24221. "description": "客户ID",
  24222. "type": "integer"
  24223. },
  24224. "username": {
  24225. "description": "客户名称",
  24226. "type": "string"
  24227. }
  24228. }
  24229. },
  24230. "models.QhjMgrAccountOutInApply": {
  24231. "type": "object",
  24232. "properties": {
  24233. "accountcode": {
  24234. "description": "资金账号",
  24235. "type": "string"
  24236. },
  24237. "accountname": {
  24238. "description": "用户名称(名称)",
  24239. "type": "string"
  24240. },
  24241. "accountpwd": {
  24242. "description": "资金密码",
  24243. "type": "string"
  24244. },
  24245. "accountticket": {
  24246. "description": "最新账户服务流水号",
  24247. "type": "string"
  24248. },
  24249. "amount": {
  24250. "description": "金额",
  24251. "type": "number"
  24252. },
  24253. "applyremark": {
  24254. "description": "申请备注",
  24255. "type": "string"
  24256. },
  24257. "applystatus": {
  24258. "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: 复审通过,账户冻结金额检查中;",
  24259. "type": "integer"
  24260. },
  24261. "auditid": {
  24262. "description": "审核人",
  24263. "type": "integer"
  24264. },
  24265. "audittime": {
  24266. "description": "审核时间",
  24267. "type": "string"
  24268. },
  24269. "bank_apply_ticket": {
  24270. "description": "银行申请流水",
  24271. "type": "string"
  24272. },
  24273. "bankaccountname": {
  24274. "description": "银行账户名",
  24275. "type": "string"
  24276. },
  24277. "bankaccountno": {
  24278. "description": "银行卡号",
  24279. "type": "string"
  24280. },
  24281. "bankid": {
  24282. "description": "银行编号",
  24283. "type": "string"
  24284. },
  24285. "bankname": {
  24286. "description": "银行名称",
  24287. "type": "string"
  24288. },
  24289. "bankticket": {
  24290. "description": "银行流水",
  24291. "type": "string"
  24292. },
  24293. "branchbankid": {
  24294. "description": "银行支行号",
  24295. "type": "string"
  24296. },
  24297. "branchbankname": {
  24298. "description": "银行支行名称",
  24299. "type": "string"
  24300. },
  24301. "capamountout": {
  24302. "description": "出金(劣后本金) - 外部子账户",
  24303. "type": "number"
  24304. },
  24305. "certificatephotourl": {
  24306. "description": "凭证地址",
  24307. "type": "string"
  24308. },
  24309. "charge": {
  24310. "description": "手续费",
  24311. "type": "number"
  24312. },
  24313. "checkerrorflag": {
  24314. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24315. "type": "integer"
  24316. },
  24317. "currency": {
  24318. "description": "币种",
  24319. "type": "string"
  24320. },
  24321. "cusbankid": {
  24322. "description": "托管银行编号",
  24323. "type": "string"
  24324. },
  24325. "exchticket": {
  24326. "description": "银行服务流水号",
  24327. "type": "string"
  24328. },
  24329. "executetype": {
  24330. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24331. "type": "integer"
  24332. },
  24333. "extendinfo": {
  24334. "description": "扩展信息",
  24335. "type": "string"
  24336. },
  24337. "extoperateid": {
  24338. "description": "交易服务流水号",
  24339. "type": "integer"
  24340. },
  24341. "infamount": {
  24342. "description": "劣后金额(自有)",
  24343. "type": "number"
  24344. },
  24345. "logincode": {
  24346. "description": "登录账号(账号)",
  24347. "type": "string"
  24348. },
  24349. "netaddr": {
  24350. "description": "调转网址",
  24351. "type": "string"
  24352. },
  24353. "priamount": {
  24354. "description": "优先金额(授信)",
  24355. "type": "number"
  24356. },
  24357. "reauditid": {
  24358. "description": "复审人",
  24359. "type": "integer"
  24360. },
  24361. "reauditremark": {
  24362. "description": "复审备注",
  24363. "type": "string"
  24364. },
  24365. "reaudittime": {
  24366. "description": "复审时间",
  24367. "type": "string"
  24368. },
  24369. "relatedorderid": {
  24370. "description": "三方关联ID",
  24371. "type": "string"
  24372. },
  24373. "remark": {
  24374. "description": "备注",
  24375. "type": "string"
  24376. },
  24377. "remark2": {
  24378. "description": "备注(失败原因)",
  24379. "type": "string"
  24380. },
  24381. "soucreamount": {
  24382. "description": "原始出入金金额",
  24383. "type": "number"
  24384. },
  24385. "soucrecurrencyid": {
  24386. "description": "原始出入金币种",
  24387. "type": "integer"
  24388. },
  24389. "tradedate": {
  24390. "description": "交易日(yyyyMMdd)",
  24391. "type": "string"
  24392. },
  24393. "updatetime": {
  24394. "description": "更新时间(申请时间)",
  24395. "type": "string"
  24396. },
  24397. "userid": {
  24398. "description": "用户id",
  24399. "type": "integer"
  24400. },
  24401. "userinfotype": {
  24402. "description": "账户类型 1-个人 2-企业",
  24403. "type": "integer"
  24404. }
  24405. }
  24406. },
  24407. "models.QhjMgrBrokerApply": {
  24408. "type": "object",
  24409. "properties": {
  24410. "applicantid": {
  24411. "description": "申请人",
  24412. "type": "integer"
  24413. },
  24414. "applysrc": {
  24415. "description": "申请来源 - 1:管理端 2:终端",
  24416. "type": "integer"
  24417. },
  24418. "applystatus": {
  24419. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24420. "type": "integer"
  24421. },
  24422. "applytime": {
  24423. "description": "申请时间",
  24424. "type": "string"
  24425. },
  24426. "auditorid": {
  24427. "description": "审核人",
  24428. "type": "integer"
  24429. },
  24430. "auditremark": {
  24431. "description": "审核备注",
  24432. "type": "string"
  24433. },
  24434. "auditsrc": {
  24435. "description": "审核来源 - 1:管理端 2:终端",
  24436. "type": "integer"
  24437. },
  24438. "audittime": {
  24439. "description": "审核时间",
  24440. "type": "string"
  24441. },
  24442. "audittradedate": {
  24443. "description": "审核交易日(yyyyMMdd)",
  24444. "type": "string"
  24445. },
  24446. "brokerapplyid": {
  24447. "description": "申请ID(SEQ_BROKERAPPLY)",
  24448. "type": "integer"
  24449. },
  24450. "cardbackphotourl": {
  24451. "description": "证件背面图片地址",
  24452. "type": "string"
  24453. },
  24454. "cardfrontphotourl": {
  24455. "description": "证件正面图片地址",
  24456. "type": "string"
  24457. },
  24458. "cardnum": {
  24459. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24460. "type": "string"
  24461. },
  24462. "customername": {
  24463. "description": "姓名",
  24464. "type": "string"
  24465. },
  24466. "filterstatus": {
  24467. "description": "筛选条件",
  24468. "type": "string"
  24469. },
  24470. "logincode": {
  24471. "description": "登录代码",
  24472. "type": "string"
  24473. },
  24474. "mobile": {
  24475. "description": "手机号码",
  24476. "type": "string"
  24477. },
  24478. "parentuserid": {
  24479. "description": "所属机构id",
  24480. "type": "integer"
  24481. },
  24482. "parentusername": {
  24483. "description": "所属机构名称",
  24484. "type": "string"
  24485. },
  24486. "refereeuserid": {
  24487. "description": "推荐人id(经纪人)",
  24488. "type": "integer"
  24489. },
  24490. "refernum": {
  24491. "description": "推荐码",
  24492. "type": "string"
  24493. },
  24494. "remark": {
  24495. "description": "备注",
  24496. "type": "string"
  24497. },
  24498. "subarealevelpath": {
  24499. "description": "层级路径",
  24500. "type": "string"
  24501. },
  24502. "tradedate": {
  24503. "description": "交易日(yyyyMMdd)",
  24504. "type": "string"
  24505. },
  24506. "userid": {
  24507. "description": "申请人用户ID",
  24508. "type": "integer"
  24509. },
  24510. "userinfotype": {
  24511. "description": "用户类型 1-个人 2-企业",
  24512. "type": "integer"
  24513. },
  24514. "username": {
  24515. "description": "用户名称",
  24516. "type": "string"
  24517. }
  24518. }
  24519. },
  24520. "models.QhjMgrBrokerRewardReport": {
  24521. "type": "object",
  24522. "properties": {
  24523. "createtime": {
  24524. "description": "创建时间(注册时间)",
  24525. "type": "string"
  24526. },
  24527. "cycletime": {
  24528. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  24529. "type": "string"
  24530. },
  24531. "cycletype": {
  24532. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24533. "type": "integer"
  24534. },
  24535. "directtotalnum": {
  24536. "description": "直推总人数【期末】",
  24537. "type": "integer"
  24538. },
  24539. "indirecttotalnum": {
  24540. "description": "间推总人数【期末】",
  24541. "type": "integer"
  24542. },
  24543. "mobile": {
  24544. "description": "电话号码",
  24545. "type": "string"
  24546. },
  24547. "refereeuserid": {
  24548. "description": "推荐人id(经纪人id)",
  24549. "type": "integer"
  24550. },
  24551. "refereeusername": {
  24552. "description": "推荐人名称(经纪人) 上级经纪人名称",
  24553. "type": "string"
  24554. },
  24555. "refernum": {
  24556. "description": "推荐码",
  24557. "type": "string"
  24558. },
  24559. "subarealevelpath": {
  24560. "description": "用户层级路径",
  24561. "type": "string"
  24562. },
  24563. "todayrewardamount": {
  24564. "description": "奖励总金额【汇总】",
  24565. "type": "number"
  24566. },
  24567. "updatetime": {
  24568. "description": "更新时间",
  24569. "type": "string"
  24570. },
  24571. "userid": {
  24572. "description": "经纪人用户ID",
  24573. "type": "integer"
  24574. },
  24575. "userinfotype": {
  24576. "description": "用户类型 1-个人 2-企业",
  24577. "type": "integer"
  24578. },
  24579. "username": {
  24580. "description": "用户名称",
  24581. "type": "string"
  24582. }
  24583. }
  24584. },
  24585. "models.QhjMgrContract": {
  24586. "type": "object",
  24587. "properties": {
  24588. "contractconfirmtime": {
  24589. "description": "合同确认时间(时间)",
  24590. "type": "string"
  24591. },
  24592. "currisklevel": {
  24593. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24594. "type": "integer"
  24595. },
  24596. "decimalplace": {
  24597. "description": "商品报价小数位",
  24598. "type": "integer"
  24599. },
  24600. "enumdicname": {
  24601. "description": "单位名称",
  24602. "type": "string"
  24603. },
  24604. "goodscode": {
  24605. "description": "商品代码",
  24606. "type": "string"
  24607. },
  24608. "goodsid": {
  24609. "description": "商品ID [5:融资单]",
  24610. "type": "integer"
  24611. },
  24612. "goodsname": {
  24613. "description": "商品名称",
  24614. "type": "string"
  24615. },
  24616. "goodunitid": {
  24617. "description": "商品单位id",
  24618. "type": "integer"
  24619. },
  24620. "initmargin": {
  24621. "description": "初始保证金(首付款)",
  24622. "type": "number"
  24623. },
  24624. "lenderamount": {
  24625. "description": "贷款金额(总额|订单总额)",
  24626. "type": "number"
  24627. },
  24628. "logincode": {
  24629. "description": "账号(登录代码)",
  24630. "type": "string"
  24631. },
  24632. "marginratio": {
  24633. "description": "保证金比率(首付比例)",
  24634. "type": "number"
  24635. },
  24636. "mobile": {
  24637. "description": "电话号码(用户资料里的电话)",
  24638. "type": "string"
  24639. },
  24640. "payamount": {
  24641. "description": "已付(已付货款)",
  24642. "type": "number"
  24643. },
  24644. "reckonrecovermargin": {
  24645. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24646. "type": "number"
  24647. },
  24648. "recoveredmargin": {
  24649. "description": "已追缴保证金",
  24650. "type": "number"
  24651. },
  24652. "remainamount": {
  24653. "description": "合同剩余金额(融资额)",
  24654. "type": "number"
  24655. },
  24656. "scfcontractid": {
  24657. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24658. "type": "string"
  24659. },
  24660. "scfcontractstatus": {
  24661. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24662. "type": "integer"
  24663. },
  24664. "scfcontracttype": {
  24665. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24666. "type": "integer"
  24667. },
  24668. "totalinterest": {
  24669. "description": "已计总利息(利息)",
  24670. "type": "number"
  24671. },
  24672. "tradedate": {
  24673. "description": "交易日",
  24674. "type": "string"
  24675. },
  24676. "tradeprice": {
  24677. "description": "成交价格(成本价格)",
  24678. "type": "number"
  24679. },
  24680. "userid": {
  24681. "description": "用户ID",
  24682. "type": "integer"
  24683. },
  24684. "userinfotype": {
  24685. "description": "用户类型 1-个人 2-企业",
  24686. "type": "integer"
  24687. },
  24688. "username": {
  24689. "description": "用户名称",
  24690. "type": "string"
  24691. },
  24692. "wrqty": {
  24693. "description": "仓单数量(数量)",
  24694. "type": "number"
  24695. }
  24696. }
  24697. },
  24698. "models.QhjMgrCustomer": {
  24699. "type": "object",
  24700. "properties": {
  24701. "address": {
  24702. "description": "通讯地址",
  24703. "type": "string"
  24704. },
  24705. "attachment1": {
  24706. "description": "附件1",
  24707. "type": "string"
  24708. },
  24709. "audittime": {
  24710. "description": "审核时间",
  24711. "type": "string"
  24712. },
  24713. "cardbackphotourl": {
  24714. "description": "证件反面图片地址",
  24715. "type": "string"
  24716. },
  24717. "cardfrontphotourl": {
  24718. "description": "证件正面图片地址",
  24719. "type": "string"
  24720. },
  24721. "cardnum": {
  24722. "description": "证件号码",
  24723. "type": "string"
  24724. },
  24725. "cardtype": {
  24726. "description": "证件类型",
  24727. "type": "integer"
  24728. },
  24729. "cardtypename": {
  24730. "description": "证件类型名称",
  24731. "type": "string"
  24732. },
  24733. "cityid": {
  24734. "description": "市",
  24735. "type": "integer"
  24736. },
  24737. "cityname": {
  24738. "description": "城市名称",
  24739. "type": "string"
  24740. },
  24741. "contactname": {
  24742. "description": "联系人",
  24743. "type": "string"
  24744. },
  24745. "countryid": {
  24746. "description": "国家",
  24747. "type": "integer"
  24748. },
  24749. "countryname": {
  24750. "description": "国家名称",
  24751. "type": "string"
  24752. },
  24753. "createtime": {
  24754. "description": "创建时间",
  24755. "type": "string"
  24756. },
  24757. "customername": {
  24758. "description": "客户名称",
  24759. "type": "string"
  24760. },
  24761. "districtid": {
  24762. "description": "区域",
  24763. "type": "integer"
  24764. },
  24765. "districtname": {
  24766. "description": "地区名称",
  24767. "type": "string"
  24768. },
  24769. "email": {
  24770. "description": "邮件",
  24771. "type": "string"
  24772. },
  24773. "legalpersonname": {
  24774. "description": "法人姓名(企业)",
  24775. "type": "string"
  24776. },
  24777. "logincode": {
  24778. "description": "登录账号(代码)",
  24779. "type": "string"
  24780. },
  24781. "memberuserid": {
  24782. "description": "所属机构ID(所属会员)",
  24783. "type": "integer"
  24784. },
  24785. "memberusername": {
  24786. "description": "所属会员名称",
  24787. "type": "string"
  24788. },
  24789. "mobile": {
  24790. "description": "手机号码",
  24791. "type": "string"
  24792. },
  24793. "modifytime": {
  24794. "description": "修改时间",
  24795. "type": "string"
  24796. },
  24797. "nickname": {
  24798. "description": "昵称",
  24799. "type": "string"
  24800. },
  24801. "parentuserid": {
  24802. "description": "上级机构(所属机构)",
  24803. "type": "integer"
  24804. },
  24805. "parentusername": {
  24806. "description": "所属机构名称",
  24807. "type": "string"
  24808. },
  24809. "provinceid": {
  24810. "description": "省",
  24811. "type": "integer"
  24812. },
  24813. "provincename": {
  24814. "description": "省名称",
  24815. "type": "string"
  24816. },
  24817. "proxystatementurl": {
  24818. "description": "授权委托书",
  24819. "type": "string"
  24820. },
  24821. "querytype": {
  24822. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  24823. "type": "integer"
  24824. },
  24825. "remark": {
  24826. "description": "备注",
  24827. "type": "string"
  24828. },
  24829. "status": {
  24830. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24831. "type": "integer"
  24832. },
  24833. "statusdesc": {
  24834. "description": "账户状态中文描述",
  24835. "type": "string"
  24836. },
  24837. "taxpayernum": {
  24838. "description": "纳税人识别号",
  24839. "type": "string"
  24840. },
  24841. "telphone": {
  24842. "description": "联系电话",
  24843. "type": "string"
  24844. },
  24845. "userid": {
  24846. "description": "用户ID",
  24847. "type": "integer"
  24848. },
  24849. "userinfotype": {
  24850. "description": "客户类型 1-个人 2-企业",
  24851. "type": "integer"
  24852. },
  24853. "username": {
  24854. "description": "用户名称",
  24855. "type": "string"
  24856. }
  24857. }
  24858. },
  24859. "models.QhjMgrPositionRsp": {
  24860. "type": "object",
  24861. "properties": {
  24862. "accountid": {
  24863. "description": "账号Id",
  24864. "type": "integer"
  24865. },
  24866. "accountname": {
  24867. "description": "用户名称",
  24868. "type": "string"
  24869. },
  24870. "agreeunit": {
  24871. "description": "合约乘数",
  24872. "type": "number"
  24873. },
  24874. "averageprice": {
  24875. "description": "均价",
  24876. "type": "number"
  24877. },
  24878. "avialqty": {
  24879. "description": "可用数量",
  24880. "type": "number"
  24881. },
  24882. "decimalplace": {
  24883. "description": "报价小数位",
  24884. "type": "integer"
  24885. },
  24886. "enumdicname": {
  24887. "description": "单位名称(商品)",
  24888. "type": "string"
  24889. },
  24890. "frozenqty": {
  24891. "description": "冻结数量",
  24892. "type": "number"
  24893. },
  24894. "goodscode": {
  24895. "description": "商品代码(内部)",
  24896. "type": "string"
  24897. },
  24898. "goodsid": {
  24899. "description": "商品Id",
  24900. "type": "integer"
  24901. },
  24902. "goodsname": {
  24903. "description": "商品名称",
  24904. "type": "string"
  24905. },
  24906. "goodunitid": {
  24907. "description": "报价单位ID",
  24908. "type": "integer"
  24909. },
  24910. "holderamount": {
  24911. "description": "金额",
  24912. "type": "number"
  24913. },
  24914. "holderqty": {
  24915. "description": "持有数量",
  24916. "type": "number"
  24917. },
  24918. "holdertype": {
  24919. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  24920. "type": "integer"
  24921. },
  24922. "logincode": {
  24923. "description": "登录代码(账户)",
  24924. "type": "string"
  24925. },
  24926. "marketid": {
  24927. "description": "市场id",
  24928. "type": "integer"
  24929. },
  24930. "qtydecimalplace": {
  24931. "description": "成交量小数位",
  24932. "type": "integer"
  24933. },
  24934. "trademode": {
  24935. "description": "交易模式",
  24936. "type": "integer"
  24937. },
  24938. "userid": {
  24939. "description": "用户id",
  24940. "type": "integer"
  24941. },
  24942. "userinfotype": {
  24943. "description": "账户类型 1-个人 2-企业",
  24944. "type": "integer"
  24945. }
  24946. }
  24947. },
  24948. "models.QhjMgrSubArea": {
  24949. "type": "object",
  24950. "properties": {
  24951. "accountname": {
  24952. "description": "账户名称(机构名称)",
  24953. "type": "string"
  24954. },
  24955. "memberuserid": {
  24956. "description": "所属会员ID",
  24957. "type": "integer"
  24958. },
  24959. "parenttopuser": {
  24960. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24961. "type": "string"
  24962. },
  24963. "parentuserid": {
  24964. "description": "所属机构ID",
  24965. "type": "integer"
  24966. },
  24967. "rootuserid": {
  24968. "description": "根用户ID",
  24969. "type": "string"
  24970. },
  24971. "subaccountlevel": {
  24972. "description": "子账户层数",
  24973. "type": "integer"
  24974. },
  24975. "subarealevelpath": {
  24976. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24977. "type": "string"
  24978. },
  24979. "userid": {
  24980. "description": "用户ID",
  24981. "type": "integer"
  24982. },
  24983. "usertype": {
  24984. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24985. "type": "integer"
  24986. }
  24987. }
  24988. },
  24989. "models.QhjMgrTradeDetailRsp": {
  24990. "type": "object",
  24991. "properties": {
  24992. "accountid": {
  24993. "description": "资金账号",
  24994. "type": "integer"
  24995. },
  24996. "accountname": {
  24997. "description": "用户名称",
  24998. "type": "string"
  24999. },
  25000. "agreeunit": {
  25001. "description": "合约乘数",
  25002. "type": "number"
  25003. },
  25004. "buyorsell": {
  25005. "description": "成交类型(方向) 0:买 1:卖",
  25006. "type": "integer"
  25007. },
  25008. "decimalplace": {
  25009. "description": "报价小数位",
  25010. "type": "integer"
  25011. },
  25012. "enumdicname": {
  25013. "description": "单位名称(商品)",
  25014. "type": "string"
  25015. },
  25016. "goodscode": {
  25017. "description": "商品代码(内部)",
  25018. "type": "string"
  25019. },
  25020. "goodsid": {
  25021. "description": "商品id",
  25022. "type": "integer"
  25023. },
  25024. "goodsname": {
  25025. "description": "商品名称",
  25026. "type": "string"
  25027. },
  25028. "goodunitid": {
  25029. "description": "报价单位ID",
  25030. "type": "integer"
  25031. },
  25032. "logincode": {
  25033. "description": "登录代码(账户)",
  25034. "type": "string"
  25035. },
  25036. "marketid": {
  25037. "description": "市场id",
  25038. "type": "integer"
  25039. },
  25040. "orderid": {
  25041. "description": "关联委托单号",
  25042. "type": "string"
  25043. },
  25044. "qtydecimalplace": {
  25045. "description": "成交量小数位",
  25046. "type": "integer"
  25047. },
  25048. "tradeamount": {
  25049. "description": "金额",
  25050. "type": "number"
  25051. },
  25052. "tradedate": {
  25053. "description": "交易日",
  25054. "type": "string"
  25055. },
  25056. "tradeid": {
  25057. "description": "成交单号",
  25058. "type": "string"
  25059. },
  25060. "trademode": {
  25061. "description": "交易模式",
  25062. "type": "integer"
  25063. },
  25064. "tradeprice": {
  25065. "description": "价格",
  25066. "type": "number"
  25067. },
  25068. "tradeqty": {
  25069. "description": "数量",
  25070. "type": "number"
  25071. },
  25072. "tradetime": {
  25073. "description": "成交时间",
  25074. "type": "string"
  25075. },
  25076. "userid": {
  25077. "description": "用户id",
  25078. "type": "integer"
  25079. },
  25080. "userinfotype": {
  25081. "description": "账户类型 1-个人 2-企业",
  25082. "type": "integer"
  25083. }
  25084. }
  25085. },
  25086. "models.QhjMgrTradeOrderDetailRsp": {
  25087. "type": "object",
  25088. "properties": {
  25089. "accountid": {
  25090. "description": "资金账号",
  25091. "type": "integer"
  25092. },
  25093. "accountname": {
  25094. "description": "用户名称",
  25095. "type": "string"
  25096. },
  25097. "agreeunit": {
  25098. "description": "合约乘数",
  25099. "type": "number"
  25100. },
  25101. "amount": {
  25102. "description": "金额",
  25103. "type": "number"
  25104. },
  25105. "decimalplace": {
  25106. "description": "报价小数位",
  25107. "type": "integer"
  25108. },
  25109. "enumdicname": {
  25110. "description": "单位名称(商品)",
  25111. "type": "string"
  25112. },
  25113. "goodscode": {
  25114. "description": "商品代码(内部)",
  25115. "type": "string"
  25116. },
  25117. "goodsid": {
  25118. "description": "商品id",
  25119. "type": "integer"
  25120. },
  25121. "goodsname": {
  25122. "description": "商品名称",
  25123. "type": "string"
  25124. },
  25125. "goodunitid": {
  25126. "description": "报价单位ID",
  25127. "type": "integer"
  25128. },
  25129. "logincode": {
  25130. "description": "登录代码(账户)",
  25131. "type": "string"
  25132. },
  25133. "marketid": {
  25134. "description": "市场id",
  25135. "type": "integer"
  25136. },
  25137. "orderid": {
  25138. "description": "关联委托单号",
  25139. "type": "string"
  25140. },
  25141. "orderprice": {
  25142. "description": "价格",
  25143. "type": "number"
  25144. },
  25145. "orderqty": {
  25146. "description": "数量",
  25147. "type": "number"
  25148. },
  25149. "orderstatus": {
  25150. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25151. "type": "integer"
  25152. },
  25153. "ordertime": {
  25154. "description": "委托时间",
  25155. "type": "string"
  25156. },
  25157. "qtydecimalplace": {
  25158. "description": "成交量小数位",
  25159. "type": "integer"
  25160. },
  25161. "tradedate": {
  25162. "description": "交易日",
  25163. "type": "string"
  25164. },
  25165. "trademode": {
  25166. "description": "交易模式",
  25167. "type": "integer"
  25168. },
  25169. "userid": {
  25170. "description": "用户id",
  25171. "type": "integer"
  25172. },
  25173. "userinfotype": {
  25174. "description": "账户类型 1-个人 2-企业",
  25175. "type": "integer"
  25176. }
  25177. }
  25178. },
  25179. "models.QhjMgrTradePayOrder": {
  25180. "type": "object",
  25181. "properties": {
  25182. "accountname": {
  25183. "description": "用户名称",
  25184. "type": "string"
  25185. },
  25186. "advanceratio": {
  25187. "description": "首付比率",
  25188. "type": "number"
  25189. },
  25190. "agreeunit": {
  25191. "description": "合约乘数",
  25192. "type": "number"
  25193. },
  25194. "buyaccountid": {
  25195. "description": "买方账号ID[报价币种]",
  25196. "type": "integer"
  25197. },
  25198. "buyorderid": {
  25199. "description": "买方委托单号(关联单号)",
  25200. "type": "string"
  25201. },
  25202. "createtime": {
  25203. "description": "创建时间",
  25204. "type": "string"
  25205. },
  25206. "decimalplace": {
  25207. "description": "报价小数位",
  25208. "type": "integer"
  25209. },
  25210. "enumdicname": {
  25211. "description": "单位名称(商品)",
  25212. "type": "string"
  25213. },
  25214. "goodscode": {
  25215. "description": "商品代码(内部)",
  25216. "type": "string"
  25217. },
  25218. "goodsid": {
  25219. "description": "商品ID",
  25220. "type": "integer"
  25221. },
  25222. "goodsname": {
  25223. "description": "商品名称",
  25224. "type": "string"
  25225. },
  25226. "goodunitid": {
  25227. "description": "报价单位ID",
  25228. "type": "integer"
  25229. },
  25230. "logincode": {
  25231. "description": "登录代码(账户)",
  25232. "type": "string"
  25233. },
  25234. "marketid": {
  25235. "description": "市场id",
  25236. "type": "integer"
  25237. },
  25238. "offamount": {
  25239. "description": "优惠金额",
  25240. "type": "number"
  25241. },
  25242. "operatetype": {
  25243. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25244. "type": "integer"
  25245. },
  25246. "payamount": {
  25247. "description": "支付金额(金额)",
  25248. "type": "number"
  25249. },
  25250. "payflag": {
  25251. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25252. "type": "integer"
  25253. },
  25254. "paylimitedtime": {
  25255. "description": "支付期限",
  25256. "type": "string"
  25257. },
  25258. "paytime": {
  25259. "description": "付款时间",
  25260. "type": "string"
  25261. },
  25262. "qtydecimalplace": {
  25263. "description": "成交量小数位",
  25264. "type": "integer"
  25265. },
  25266. "sellaccountid": {
  25267. "description": "卖方账号ID[报价币种]",
  25268. "type": "integer"
  25269. },
  25270. "sellorderid": {
  25271. "description": "卖方委托单号",
  25272. "type": "string"
  25273. },
  25274. "tradeamount": {
  25275. "description": "成交金额(优惠后金额)",
  25276. "type": "number"
  25277. },
  25278. "tradecharge": {
  25279. "description": "成交手续费(买方)",
  25280. "type": "number"
  25281. },
  25282. "tradedate": {
  25283. "description": "交易日(yyyyMMdd)",
  25284. "type": "string"
  25285. },
  25286. "tradeid": {
  25287. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25288. "type": "string"
  25289. },
  25290. "trademode": {
  25291. "description": "交易模式",
  25292. "type": "integer"
  25293. },
  25294. "tradeprice": {
  25295. "description": "成交价格(价格)",
  25296. "type": "number"
  25297. },
  25298. "tradeqty": {
  25299. "description": "成交数量(数量)",
  25300. "type": "number"
  25301. },
  25302. "tradetime": {
  25303. "description": "成交时间",
  25304. "type": "string"
  25305. },
  25306. "userid": {
  25307. "description": "用户id",
  25308. "type": "integer"
  25309. },
  25310. "userinfotype": {
  25311. "description": "账户类型 1-个人 2-企业",
  25312. "type": "integer"
  25313. }
  25314. }
  25315. },
  25316. "models.QhjMyTeam": {
  25317. "type": "object",
  25318. "properties": {
  25319. "accountname": {
  25320. "description": "用户名称",
  25321. "type": "string"
  25322. },
  25323. "accountstatus": {
  25324. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25325. "type": "integer"
  25326. },
  25327. "createtime": {
  25328. "description": "创建时间",
  25329. "type": "string"
  25330. },
  25331. "mobile": {
  25332. "description": "手机号码",
  25333. "type": "string"
  25334. },
  25335. "refereeuserid": {
  25336. "description": "推荐人id",
  25337. "type": "integer"
  25338. },
  25339. "refernum": {
  25340. "description": "推荐码",
  25341. "type": "string"
  25342. },
  25343. "userid": {
  25344. "description": "用户id",
  25345. "type": "integer"
  25346. },
  25347. "userinfotype": {
  25348. "description": "用户类型 1-个人 2-企业",
  25349. "type": "integer"
  25350. }
  25351. }
  25352. },
  25353. "models.QhjNodeAgreementConfig": {
  25354. "type": "object",
  25355. "properties": {
  25356. "agreementcontent": {
  25357. "description": "协议内容",
  25358. "type": "string"
  25359. },
  25360. "agreementid": {
  25361. "description": "协议ID",
  25362. "type": "integer"
  25363. },
  25364. "agreementname": {
  25365. "description": "协议名称",
  25366. "type": "string"
  25367. },
  25368. "agreementno": {
  25369. "description": "协议编号",
  25370. "type": "string"
  25371. },
  25372. "agreementtype": {
  25373. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25374. "type": "integer"
  25375. },
  25376. "agreementversion": {
  25377. "description": "协议版本号",
  25378. "type": "integer"
  25379. },
  25380. "configid": {
  25381. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25382. "type": "integer"
  25383. },
  25384. "createtime": {
  25385. "description": "创建时间",
  25386. "type": "string"
  25387. },
  25388. "goodsid": {
  25389. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25390. "type": "integer"
  25391. },
  25392. "nodetype": {
  25393. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25394. "type": "integer"
  25395. }
  25396. }
  25397. },
  25398. "models.QhjParentAreaList": {
  25399. "type": "object",
  25400. "properties": {
  25401. "accountname": {
  25402. "description": "账户名称(机构名称)",
  25403. "type": "string"
  25404. },
  25405. "userid": {
  25406. "description": "用户ID",
  25407. "type": "integer"
  25408. },
  25409. "usertype": {
  25410. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25411. "type": "integer"
  25412. }
  25413. }
  25414. },
  25415. "models.QhjPayOrder": {
  25416. "type": "object",
  25417. "properties": {
  25418. "advanceratio": {
  25419. "description": "首付比率",
  25420. "type": "number"
  25421. },
  25422. "buyaccountid": {
  25423. "description": "买方账号ID[报价币种]",
  25424. "type": "integer"
  25425. },
  25426. "buyorderid": {
  25427. "description": "买方委托单号",
  25428. "type": "string"
  25429. },
  25430. "createtime": {
  25431. "description": "创建时间",
  25432. "type": "string"
  25433. },
  25434. "decimalplace": {
  25435. "description": "商品报价小数位",
  25436. "type": "integer"
  25437. },
  25438. "enumdicname": {
  25439. "description": "单位名称",
  25440. "type": "string"
  25441. },
  25442. "goodscode": {
  25443. "description": "商品代码",
  25444. "type": "string"
  25445. },
  25446. "goodsid": {
  25447. "description": "商品ID",
  25448. "type": "integer"
  25449. },
  25450. "goodsname": {
  25451. "description": "商品名称",
  25452. "type": "string"
  25453. },
  25454. "goodunitid": {
  25455. "description": "商品单位id",
  25456. "type": "integer"
  25457. },
  25458. "marketid": {
  25459. "description": "市场ID",
  25460. "type": "integer"
  25461. },
  25462. "offamount": {
  25463. "description": "优惠金额",
  25464. "type": "number"
  25465. },
  25466. "operatetype": {
  25467. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25468. "type": "integer"
  25469. },
  25470. "payamount": {
  25471. "description": "支付金额",
  25472. "type": "number"
  25473. },
  25474. "payflag": {
  25475. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25476. "type": "integer"
  25477. },
  25478. "paylimitedtime": {
  25479. "description": "支付期限",
  25480. "type": "string"
  25481. },
  25482. "paytime": {
  25483. "description": "付款时间",
  25484. "type": "string"
  25485. },
  25486. "qtydecimalplace": {
  25487. "description": "成交量小数位",
  25488. "type": "integer"
  25489. },
  25490. "sellaccountid": {
  25491. "description": "卖方账号ID[报价币种]",
  25492. "type": "integer"
  25493. },
  25494. "sellorderid": {
  25495. "description": "卖方委托单号",
  25496. "type": "string"
  25497. },
  25498. "tradeamount": {
  25499. "description": "成交金额(优惠后金额)",
  25500. "type": "number"
  25501. },
  25502. "tradecharge": {
  25503. "description": "成交手续费(买方)",
  25504. "type": "number"
  25505. },
  25506. "tradedate": {
  25507. "description": "交易日(yyyyMMdd)",
  25508. "type": "string"
  25509. },
  25510. "tradeid": {
  25511. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25512. "type": "string"
  25513. },
  25514. "tradeprice": {
  25515. "description": "成交价格",
  25516. "type": "number"
  25517. },
  25518. "tradeqty": {
  25519. "description": "成交数量",
  25520. "type": "number"
  25521. }
  25522. }
  25523. },
  25524. "models.QhjPickArea": {
  25525. "type": "object",
  25526. "properties": {
  25527. "address": {
  25528. "description": "详细地址",
  25529. "type": "string"
  25530. },
  25531. "cityid": {
  25532. "description": "市",
  25533. "type": "integer"
  25534. },
  25535. "cityname": {
  25536. "description": "城市名称",
  25537. "type": "string"
  25538. },
  25539. "countryid": {
  25540. "description": "国家",
  25541. "type": "integer"
  25542. },
  25543. "countryname": {
  25544. "description": "国家名称",
  25545. "type": "string"
  25546. },
  25547. "districtid": {
  25548. "description": "地区",
  25549. "type": "integer"
  25550. },
  25551. "districtname": {
  25552. "description": "地区名称",
  25553. "type": "string"
  25554. },
  25555. "fromuserid": {
  25556. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  25557. "type": "integer"
  25558. },
  25559. "fromusername": {
  25560. "description": "所属机构名称",
  25561. "type": "string"
  25562. },
  25563. "provinceid": {
  25564. "description": "省",
  25565. "type": "integer"
  25566. },
  25567. "provincename": {
  25568. "description": "省名称",
  25569. "type": "string"
  25570. },
  25571. "suborgtype": {
  25572. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  25573. "type": "integer"
  25574. },
  25575. "userid": {
  25576. "description": "机构用户ID 其他做市关系,都设置为 1",
  25577. "type": "integer"
  25578. },
  25579. "username": {
  25580. "description": "机构用户名称(门店门称)",
  25581. "type": "string"
  25582. }
  25583. }
  25584. },
  25585. "models.QhjPickGoods": {
  25586. "type": "object",
  25587. "properties": {
  25588. "enumdicname": {
  25589. "description": "单位名称(提货商品)",
  25590. "type": "string"
  25591. },
  25592. "goodsid": {
  25593. "description": "商品id",
  25594. "type": "integer"
  25595. },
  25596. "imageaddress": {
  25597. "description": "图片",
  25598. "type": "string"
  25599. },
  25600. "modifierid": {
  25601. "description": "修改人",
  25602. "type": "integer"
  25603. },
  25604. "modifiername": {
  25605. "description": "修改人名称",
  25606. "type": "string"
  25607. },
  25608. "modifysrc": {
  25609. "description": "修改来源 - 1:管理端 2:终端",
  25610. "type": "integer"
  25611. },
  25612. "pickupgoodsagreeunit": {
  25613. "description": "合约乘数",
  25614. "type": "number"
  25615. },
  25616. "pickupgoodsdesc": {
  25617. "description": "描述",
  25618. "type": "string"
  25619. },
  25620. "pickupgoodsid": {
  25621. "description": "提货商品ID",
  25622. "type": "string"
  25623. },
  25624. "pickupgoodsname": {
  25625. "description": "提货商品名称",
  25626. "type": "string"
  25627. },
  25628. "pickupgoodsstatus": {
  25629. "description": "状态 - 1:正常 2:停用 3:注销",
  25630. "type": "integer"
  25631. },
  25632. "pickupgoodsunitid": {
  25633. "description": "单位ID",
  25634. "type": "integer"
  25635. },
  25636. "pickupratio": {
  25637. "description": "提货系数",
  25638. "type": "number"
  25639. },
  25640. "preparedays": {
  25641. "description": "备货期(天)",
  25642. "type": "integer"
  25643. },
  25644. "remark": {
  25645. "description": "备注",
  25646. "type": "string"
  25647. },
  25648. "updatetime": {
  25649. "description": "更新时间",
  25650. "type": "string"
  25651. }
  25652. }
  25653. },
  25654. "models.QhjRSTriggerLog": {
  25655. "type": "object",
  25656. "properties": {
  25657. "accountid": {
  25658. "description": "用户资金账户",
  25659. "type": "integer"
  25660. },
  25661. "accountname": {
  25662. "description": "账号名称(ACCOUNTID对应的名称)",
  25663. "type": "string"
  25664. },
  25665. "currencyid": {
  25666. "description": "币种id",
  25667. "type": "integer"
  25668. },
  25669. "currencyname": {
  25670. "description": "币种名称",
  25671. "type": "string"
  25672. },
  25673. "decimalplace": {
  25674. "description": "商品报价小数位",
  25675. "type": "integer"
  25676. },
  25677. "enumdicname": {
  25678. "description": "单位名称",
  25679. "type": "string"
  25680. },
  25681. "goodscode": {
  25682. "description": "定投商品代码",
  25683. "type": "string"
  25684. },
  25685. "goodsid": {
  25686. "description": "定投商品ID",
  25687. "type": "integer"
  25688. },
  25689. "goodsname": {
  25690. "description": "定投商品名称",
  25691. "type": "string"
  25692. },
  25693. "goodunitid": {
  25694. "description": "定投商品单位id",
  25695. "type": "integer"
  25696. },
  25697. "logid": {
  25698. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  25699. "type": "string"
  25700. },
  25701. "logincode": {
  25702. "description": "账号(登录代码)",
  25703. "type": "string"
  25704. },
  25705. "qtydecimalplace": {
  25706. "description": "成交量小数位",
  25707. "type": "integer"
  25708. },
  25709. "regularlycycle": {
  25710. "description": "定投频率 - 1:每周 2:每月",
  25711. "type": "integer"
  25712. },
  25713. "regularlycyclevalue": {
  25714. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25715. "type": "string"
  25716. },
  25717. "regularlymode": {
  25718. "description": "定投方式 - 1:按数量 2:按金额",
  25719. "type": "integer"
  25720. },
  25721. "regularlymodevalue": {
  25722. "description": "定投方式值 - 数量或金额",
  25723. "type": "number"
  25724. },
  25725. "regularlystrategyid": {
  25726. "description": "定投策略ID",
  25727. "type": "integer"
  25728. },
  25729. "retcode": {
  25730. "description": "错误码",
  25731. "type": "string"
  25732. },
  25733. "tradeid": {
  25734. "description": "成交单ID",
  25735. "type": "string"
  25736. },
  25737. "triggeramount": {
  25738. "description": "触发金额",
  25739. "type": "number"
  25740. },
  25741. "triggerqty": {
  25742. "description": "触发数量",
  25743. "type": "number"
  25744. },
  25745. "triggerstatus": {
  25746. "description": "触发状态 - 1:成功 2:失败",
  25747. "type": "integer"
  25748. },
  25749. "triggertime": {
  25750. "description": "触发时间",
  25751. "type": "string"
  25752. },
  25753. "triggertradedate": {
  25754. "description": "触发交易日",
  25755. "type": "string"
  25756. },
  25757. "userid": {
  25758. "description": "所属用户ID",
  25759. "type": "integer"
  25760. },
  25761. "userinfotype": {
  25762. "description": "用户类型 1-个人 2-企业",
  25763. "type": "integer"
  25764. },
  25765. "username": {
  25766. "description": "用户名称(userid对应的名称)",
  25767. "type": "string"
  25768. }
  25769. }
  25770. },
  25771. "models.QhjRStrategy": {
  25772. "type": "object",
  25773. "properties": {
  25774. "accountid": {
  25775. "description": "用户资金账户",
  25776. "type": "integer"
  25777. },
  25778. "accountname": {
  25779. "description": "账号名称(ACCOUNTID对应的名称)",
  25780. "type": "string"
  25781. },
  25782. "currencyid": {
  25783. "description": "币种id",
  25784. "type": "integer"
  25785. },
  25786. "currencyname": {
  25787. "description": "币种名称",
  25788. "type": "string"
  25789. },
  25790. "decimalplace": {
  25791. "description": "商品报价小数位",
  25792. "type": "integer"
  25793. },
  25794. "enumdicname": {
  25795. "description": "单位名称",
  25796. "type": "string"
  25797. },
  25798. "goodscode": {
  25799. "description": "定投商品代码",
  25800. "type": "string"
  25801. },
  25802. "goodsid": {
  25803. "description": "定投商品ID",
  25804. "type": "integer"
  25805. },
  25806. "goodsname": {
  25807. "description": "定投商品名称",
  25808. "type": "string"
  25809. },
  25810. "goodunitid": {
  25811. "description": "定投商品单位id",
  25812. "type": "integer"
  25813. },
  25814. "lasteffecttradedate": {
  25815. "description": "最新生效交易日",
  25816. "type": "string"
  25817. },
  25818. "laststoptradedate": {
  25819. "description": "最新暂停交易日",
  25820. "type": "string"
  25821. },
  25822. "lasttriggertradedate": {
  25823. "description": "最新触发交易日",
  25824. "type": "string"
  25825. },
  25826. "logincode": {
  25827. "description": "账号(登录代码)",
  25828. "type": "string"
  25829. },
  25830. "nexttriggeramount": {
  25831. "description": "下次触发金额",
  25832. "type": "number"
  25833. },
  25834. "nexttriggerdate": {
  25835. "description": "下次触发日期",
  25836. "type": "string"
  25837. },
  25838. "nexttriggerqty": {
  25839. "description": "下次触发数量 [按小数位放大值]",
  25840. "type": "number"
  25841. },
  25842. "qtydecimalplace": {
  25843. "description": "成交量小数位",
  25844. "type": "integer"
  25845. },
  25846. "regularlycycle": {
  25847. "description": "定投频率 - 1:每周 2:每月",
  25848. "type": "integer"
  25849. },
  25850. "regularlycyclevalue": {
  25851. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25852. "type": "string"
  25853. },
  25854. "regularlymode": {
  25855. "description": "定投方式 - 1:按数量 2:按金额",
  25856. "type": "integer"
  25857. },
  25858. "regularlymodevalue": {
  25859. "description": "定投方式值 - 数量或金额",
  25860. "type": "number"
  25861. },
  25862. "regularlystrategyid": {
  25863. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  25864. "type": "integer"
  25865. },
  25866. "regularlystrategystatus": {
  25867. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  25868. "type": "integer"
  25869. },
  25870. "remark": {
  25871. "description": "备注",
  25872. "type": "string"
  25873. },
  25874. "triggersuccesstimes": {
  25875. "description": "累计定投成功次数",
  25876. "type": "string"
  25877. },
  25878. "triggertotalamount": {
  25879. "description": "累计定投金额(成功)",
  25880. "type": "number"
  25881. },
  25882. "triggertotalqty": {
  25883. "description": "累计定投数量(成功) [按小数位放大值]",
  25884. "type": "number"
  25885. },
  25886. "triggertotaltimes": {
  25887. "description": "累计定投总次数",
  25888. "type": "string"
  25889. },
  25890. "updatesrc": {
  25891. "description": "更新来源 - 1:管理端 2:终端",
  25892. "type": "integer"
  25893. },
  25894. "updatetime": {
  25895. "description": "更新时间",
  25896. "type": "string"
  25897. },
  25898. "updatorid": {
  25899. "description": "更新人",
  25900. "type": "string"
  25901. },
  25902. "userid": {
  25903. "description": "所属用户ID",
  25904. "type": "integer"
  25905. },
  25906. "userinfotype": {
  25907. "description": "用户类型 1-个人 2-企业",
  25908. "type": "integer"
  25909. },
  25910. "username": {
  25911. "description": "用户名称(userid对应的名称)",
  25912. "type": "string"
  25913. }
  25914. }
  25915. },
  25916. "models.QhjReckonPriceLog": {
  25917. "type": "object",
  25918. "properties": {
  25919. "decimalplace": {
  25920. "description": "商品报价小数位",
  25921. "type": "integer"
  25922. },
  25923. "goodscode": {
  25924. "description": "商品代码",
  25925. "type": "string"
  25926. },
  25927. "goodsid": {
  25928. "description": "商品ID",
  25929. "type": "integer"
  25930. },
  25931. "goodsname": {
  25932. "description": "商品名称",
  25933. "type": "string"
  25934. },
  25935. "lastreckonprice": {
  25936. "description": "上日结算价",
  25937. "type": "number"
  25938. },
  25939. "nextdnlimitprice": {
  25940. "description": "下个交易日跌停价",
  25941. "type": "number"
  25942. },
  25943. "nexttrade": {
  25944. "description": "下个交易日",
  25945. "type": "string"
  25946. },
  25947. "nextuplimitprice": {
  25948. "description": "下个交易日涨停价",
  25949. "type": "number"
  25950. },
  25951. "reckonprice": {
  25952. "description": "今日结算价(定投价)",
  25953. "type": "number"
  25954. },
  25955. "reckontime": {
  25956. "description": "结算时间",
  25957. "type": "string"
  25958. },
  25959. "totalholderqty": {
  25960. "description": "总持仓数",
  25961. "type": "integer"
  25962. },
  25963. "totalstock": {
  25964. "description": "总库存",
  25965. "type": "integer"
  25966. },
  25967. "tradedate": {
  25968. "description": "交易日",
  25969. "type": "string"
  25970. },
  25971. "updowncount": {
  25972. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  25973. "type": "integer"
  25974. },
  25975. "updownflag": {
  25976. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  25977. "type": "integer"
  25978. },
  25979. "updownrate": {
  25980. "description": "今日涨跌幅",
  25981. "type": "number"
  25982. },
  25983. "updownrate_2d": {
  25984. "description": "连续两日涨跌幅",
  25985. "type": "number"
  25986. },
  25987. "updownrate_3d": {
  25988. "description": "连续三日涨跌幅",
  25989. "type": "number"
  25990. }
  25991. }
  25992. },
  25993. "models.QhjSiteColumnDetail": {
  25994. "type": "object",
  25995. "properties": {
  25996. "author": {
  25997. "description": "作者",
  25998. "type": "string"
  25999. },
  26000. "brief": {
  26001. "description": "简介",
  26002. "type": "string"
  26003. },
  26004. "columnid": {
  26005. "description": "所属栏目",
  26006. "type": "integer"
  26007. },
  26008. "context": {
  26009. "description": "内容",
  26010. "type": "string"
  26011. },
  26012. "coverimage": {
  26013. "description": "封面图片",
  26014. "type": "string"
  26015. },
  26016. "creaedate": {
  26017. "description": "创建时间",
  26018. "type": "string"
  26019. },
  26020. "creatorid": {
  26021. "description": "创建人",
  26022. "type": "integer"
  26023. },
  26024. "hits": {
  26025. "description": "点击数",
  26026. "type": "integer"
  26027. },
  26028. "id": {
  26029. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  26030. "type": "integer"
  26031. },
  26032. "isshow": {
  26033. "description": "是否展示 - 0:不展示 1:展示",
  26034. "type": "integer"
  26035. },
  26036. "istop": {
  26037. "description": "是否置顶 - 0:不置 1:置顶",
  26038. "type": "integer"
  26039. },
  26040. "modifierid": {
  26041. "description": "操作人",
  26042. "type": "integer"
  26043. },
  26044. "publishdate": {
  26045. "description": "发布日期",
  26046. "type": "string"
  26047. },
  26048. "status": {
  26049. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  26050. "type": "integer"
  26051. },
  26052. "title": {
  26053. "description": "标题",
  26054. "type": "string"
  26055. },
  26056. "updatedate": {
  26057. "description": "修改时间",
  26058. "type": "string"
  26059. },
  26060. "userid": {
  26061. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  26062. "type": "integer"
  26063. },
  26064. "username": {
  26065. "description": "用户名称",
  26066. "type": "string"
  26067. }
  26068. }
  26069. },
  26070. "models.QhjTeamOrder": {
  26071. "type": "object",
  26072. "properties": {
  26073. "accountid": {
  26074. "description": "账户ID[报价币种]",
  26075. "type": "integer"
  26076. },
  26077. "accountname": {
  26078. "description": "账户名称",
  26079. "type": "string"
  26080. },
  26081. "agreeunit": {
  26082. "description": "合约乘数",
  26083. "type": "number"
  26084. },
  26085. "buyorsell": {
  26086. "description": "方向 - 0:买 1:卖",
  26087. "type": "integer"
  26088. },
  26089. "decimalplace": {
  26090. "description": "报价小数位",
  26091. "type": "integer"
  26092. },
  26093. "enumdicname": {
  26094. "description": "单位名称",
  26095. "type": "string"
  26096. },
  26097. "goodscode": {
  26098. "description": "商品代码(内部)",
  26099. "type": "string"
  26100. },
  26101. "goodsid": {
  26102. "description": "商品ID",
  26103. "type": "integer"
  26104. },
  26105. "goodsname": {
  26106. "description": "商品名称",
  26107. "type": "string"
  26108. },
  26109. "goodunitid": {
  26110. "description": "报价单位ID",
  26111. "type": "integer"
  26112. },
  26113. "marketid": {
  26114. "description": "市场ID",
  26115. "type": "integer"
  26116. },
  26117. "marketname": {
  26118. "description": "市场名称",
  26119. "type": "string"
  26120. },
  26121. "qtydecimalplace": {
  26122. "description": "成交量小数位",
  26123. "type": "integer"
  26124. },
  26125. "refereeuserid": {
  26126. "description": "推荐人ID",
  26127. "type": "integer"
  26128. },
  26129. "tradeamount": {
  26130. "description": "成交金额[账户币种,用于所有权]",
  26131. "type": "number"
  26132. },
  26133. "tradedate": {
  26134. "description": "交易日(yyyyMMdd)",
  26135. "type": "string"
  26136. },
  26137. "trademode": {
  26138. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26139. "type": "integer"
  26140. },
  26141. "tradeprice": {
  26142. "description": "成交价格",
  26143. "type": "number"
  26144. },
  26145. "tradeqty": {
  26146. "description": "成交数量",
  26147. "type": "number"
  26148. },
  26149. "tradetime": {
  26150. "description": "成交时间",
  26151. "type": "string"
  26152. },
  26153. "userid": {
  26154. "description": "用户ID",
  26155. "type": "integer"
  26156. }
  26157. }
  26158. },
  26159. "models.QhjTradeGoodsPickup": {
  26160. "type": "object",
  26161. "properties": {
  26162. "accountid": {
  26163. "description": "账户ID",
  26164. "type": "integer"
  26165. },
  26166. "address": {
  26167. "description": "提货人详细地址",
  26168. "type": "string"
  26169. },
  26170. "amount": {
  26171. "description": "提货金额",
  26172. "type": "number"
  26173. },
  26174. "artradedate": {
  26175. "description": "自动收货交易日(yyyyMMdd)",
  26176. "type": "string"
  26177. },
  26178. "auditer": {
  26179. "description": "审核人",
  26180. "type": "integer"
  26181. },
  26182. "auditsrc": {
  26183. "description": "更新来源 - 1:管理端 2:终端",
  26184. "type": "integer"
  26185. },
  26186. "audittime": {
  26187. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  26188. "type": "string"
  26189. },
  26190. "audittradedate": {
  26191. "description": "审核交易日(yyyyMMdd)",
  26192. "type": "string"
  26193. },
  26194. "cardnum": {
  26195. "description": "提货人证件号码",
  26196. "type": "string"
  26197. },
  26198. "cardtypeid": {
  26199. "description": "提货人证件类型",
  26200. "type": "integer"
  26201. },
  26202. "checkremark": {
  26203. "description": "审核备注",
  26204. "type": "string"
  26205. },
  26206. "cityid": {
  26207. "description": "市",
  26208. "type": "integer"
  26209. },
  26210. "cityname": {
  26211. "description": "城市名称",
  26212. "type": "string"
  26213. },
  26214. "confirmtime": {
  26215. "description": "取货时间 或 收货时间",
  26216. "type": "string"
  26217. },
  26218. "countryid": {
  26219. "description": "国家",
  26220. "type": "integer"
  26221. },
  26222. "countryname": {
  26223. "description": "国家名称",
  26224. "type": "string"
  26225. },
  26226. "decimalplace": {
  26227. "description": "商品报价小数位",
  26228. "type": "integer"
  26229. },
  26230. "districtid": {
  26231. "description": "地区",
  26232. "type": "integer"
  26233. },
  26234. "districtname": {
  26235. "description": "地区名称",
  26236. "type": "string"
  26237. },
  26238. "enumdicname": {
  26239. "description": "单位名称(提货商品)",
  26240. "type": "string"
  26241. },
  26242. "expresscompany": {
  26243. "description": "物流公司",
  26244. "type": "string"
  26245. },
  26246. "expressnum": {
  26247. "description": "物流单号",
  26248. "type": "string"
  26249. },
  26250. "goodsagreeunit": {
  26251. "description": "交易商品乘数",
  26252. "type": "number"
  26253. },
  26254. "goodscode": {
  26255. "description": "商品代码",
  26256. "type": "string"
  26257. },
  26258. "goodsid": {
  26259. "description": "商品ID",
  26260. "type": "integer"
  26261. },
  26262. "goodsname": {
  26263. "description": "商品名称",
  26264. "type": "string"
  26265. },
  26266. "goodsqty": {
  26267. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  26268. "type": "number"
  26269. },
  26270. "handlestatus": {
  26271. "description": "处理状态",
  26272. "type": "integer"
  26273. },
  26274. "logincode": {
  26275. "description": "账号(登录代码, 有可能为空)",
  26276. "type": "string"
  26277. },
  26278. "marketid": {
  26279. "description": "市场ID",
  26280. "type": "integer"
  26281. },
  26282. "phonenum": {
  26283. "description": "提货人联系方式",
  26284. "type": "string"
  26285. },
  26286. "pickupgoodsagreeunit": {
  26287. "description": "提货商品合约乘数",
  26288. "type": "number"
  26289. },
  26290. "pickupgoodsid": {
  26291. "description": "提货商品ID",
  26292. "type": "string"
  26293. },
  26294. "pickupgoodsname": {
  26295. "description": "提货商品名称",
  26296. "type": "string"
  26297. },
  26298. "pickupgoodsqty": {
  26299. "description": "提货商品手数(数量)",
  26300. "type": "number"
  26301. },
  26302. "pickupgoodsunitid": {
  26303. "description": "单位ID(提货商品)",
  26304. "type": "integer"
  26305. },
  26306. "pickupratio": {
  26307. "description": "提货系数",
  26308. "type": "number"
  26309. },
  26310. "preparedays": {
  26311. "description": "备货期(天)-提货单明细表",
  26312. "type": "integer"
  26313. },
  26314. "provinceid": {
  26315. "description": "省",
  26316. "type": "integer"
  26317. },
  26318. "provincename": {
  26319. "description": "省名称",
  26320. "type": "string"
  26321. },
  26322. "qty": {
  26323. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  26324. "type": "number"
  26325. },
  26326. "qtydecimalplace": {
  26327. "description": "商品数量小数位",
  26328. "type": "integer"
  26329. },
  26330. "recivername": {
  26331. "description": "提货人姓名",
  26332. "type": "string"
  26333. },
  26334. "reqtime": {
  26335. "description": "提货申请时间",
  26336. "type": "string"
  26337. },
  26338. "storeuserid": {
  26339. "description": "门店用户ID (千海金)",
  26340. "type": "integer"
  26341. },
  26342. "storeusername": {
  26343. "description": "门店用户名称",
  26344. "type": "string"
  26345. },
  26346. "takemode": {
  26347. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  26348. "type": "integer"
  26349. },
  26350. "takeorderid": {
  26351. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26352. "type": "string"
  26353. },
  26354. "takeorderstatus": {
  26355. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  26356. "type": "integer"
  26357. },
  26358. "takeremark": {
  26359. "description": "提货备注",
  26360. "type": "string"
  26361. },
  26362. "tradedate": {
  26363. "description": "交易日(yyyyMMdd)",
  26364. "type": "string"
  26365. },
  26366. "updatetime": {
  26367. "description": "更新时间",
  26368. "type": "string"
  26369. },
  26370. "userid": {
  26371. "description": "用户ID",
  26372. "type": "integer"
  26373. },
  26374. "userinfotype": {
  26375. "description": "客户类型 1-个人 2-企业",
  26376. "type": "integer"
  26377. },
  26378. "username": {
  26379. "description": "用户名称",
  26380. "type": "string"
  26381. }
  26382. }
  26383. },
  26384. "models.QhjUserNodeCfgAndStatus": {
  26385. "type": "object",
  26386. "properties": {
  26387. "agreementcontent": {
  26388. "description": "协议内容",
  26389. "type": "string"
  26390. },
  26391. "agreementid": {
  26392. "description": "协议ID",
  26393. "type": "integer"
  26394. },
  26395. "agreementname": {
  26396. "description": "协议名称",
  26397. "type": "string"
  26398. },
  26399. "agreementno": {
  26400. "description": "协议编号",
  26401. "type": "string"
  26402. },
  26403. "agreementtype": {
  26404. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26405. "type": "integer"
  26406. },
  26407. "agreementversion": {
  26408. "description": "协议版本号",
  26409. "type": "integer"
  26410. },
  26411. "configid": {
  26412. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26413. "type": "integer"
  26414. },
  26415. "createtime": {
  26416. "description": "创建时间",
  26417. "type": "string"
  26418. },
  26419. "goodsid": {
  26420. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26421. "type": "integer"
  26422. },
  26423. "nodetype": {
  26424. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26425. "type": "integer"
  26426. },
  26427. "signtimestamp": {
  26428. "description": "签约状态时间戳(最近一次)",
  26429. "type": "string"
  26430. },
  26431. "tradedate": {
  26432. "description": "签约交易日(yyyyMMdd)",
  26433. "type": "string"
  26434. },
  26435. "userid": {
  26436. "description": "客户ID",
  26437. "type": "integer"
  26438. }
  26439. }
  26440. },
  26441. "models.Qhjgoodsex": {
  26442. "type": "object",
  26443. "properties": {
  26444. "canfinance": {
  26445. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  26446. "type": "integer"
  26447. },
  26448. "canregularlybuy": {
  26449. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  26450. "type": "integer"
  26451. },
  26452. "defaulttradeuserid": {
  26453. "description": "默认交易用户ID",
  26454. "type": "integer"
  26455. },
  26456. "deliverygoodsid": {
  26457. "description": "现货品种ID",
  26458. "type": "integer"
  26459. },
  26460. "goodsid": {
  26461. "description": "商品ID(自增ID SEQ_GOODS)",
  26462. "type": "integer"
  26463. },
  26464. "minamount": {
  26465. "description": "最小购买金额",
  26466. "type": "number"
  26467. },
  26468. "regularlybuyminamount": {
  26469. "description": "定投最小金额",
  26470. "type": "number"
  26471. },
  26472. "regularlybuyminqty": {
  26473. "description": "定投最小数量",
  26474. "type": "number"
  26475. },
  26476. "spotgoodsbrandid": {
  26477. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  26478. "type": "integer"
  26479. },
  26480. "visibilityforenterprise": {
  26481. "description": "企业客户是否可见 - 0:不可见 1:可见",
  26482. "type": "integer"
  26483. },
  26484. "visibilityforpersonal": {
  26485. "description": "个人客户是否可见 - 0:不可见 1:可见",
  26486. "type": "integer"
  26487. },
  26488. "wrstandardid": {
  26489. "description": "现货商品ID",
  26490. "type": "integer"
  26491. }
  26492. }
  26493. },
  26494. "models.QueryErrorInfosRsp": {
  26495. "type": "object",
  26496. "required": [
  26497. "errorid"
  26498. ],
  26499. "properties": {
  26500. "description": {
  26501. "description": "异常描述",
  26502. "type": "string"
  26503. },
  26504. "errorcode": {
  26505. "description": "异常代码",
  26506. "type": "string"
  26507. },
  26508. "errorid": {
  26509. "description": "异常ID",
  26510. "type": "integer"
  26511. },
  26512. "modulecode": {
  26513. "description": "所属模块",
  26514. "type": "string"
  26515. },
  26516. "operatecode": {
  26517. "description": "所属操作",
  26518. "type": "string"
  26519. },
  26520. "rownumber": {
  26521. "description": "行号",
  26522. "type": "string"
  26523. }
  26524. }
  26525. },
  26526. "models.QueryHedgeOrderDetailRsp": {
  26527. "type": "object",
  26528. "properties": {
  26529. "accountid": {
  26530. "description": "账户ID",
  26531. "type": "integer"
  26532. },
  26533. "buyorsell": {
  26534. "description": "买卖 - 0:买 1:卖",
  26535. "type": "integer"
  26536. },
  26537. "cancellogincode": {
  26538. "description": "撤单人",
  26539. "type": "string"
  26540. },
  26541. "channelbuildtype": {
  26542. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  26543. "type": "integer"
  26544. },
  26545. "channelinnerorderstatus": {
  26546. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  26547. "type": "integer"
  26548. },
  26549. "channeloperatetype": {
  26550. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  26551. "type": "integer"
  26552. },
  26553. "closetype": {
  26554. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26555. "type": "integer"
  26556. },
  26557. "curexchangerate": {
  26558. "description": "当前汇率",
  26559. "type": "number"
  26560. },
  26561. "exchangefullname": {
  26562. "description": "外部交易所全称",
  26563. "type": "string"
  26564. },
  26565. "goodscode": {
  26566. "description": "商品代码(内部)",
  26567. "type": "string"
  26568. },
  26569. "goodsid": {
  26570. "description": "商品ID",
  26571. "type": "integer"
  26572. },
  26573. "goodsname": {
  26574. "description": "商品名称",
  26575. "type": "string"
  26576. },
  26577. "marketid": {
  26578. "description": "市场ID",
  26579. "type": "integer"
  26580. },
  26581. "openfreezemargin": {
  26582. "description": "冻结保证金(冻结交易金额)",
  26583. "type": "number"
  26584. },
  26585. "orderid": {
  26586. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26587. "type": "string"
  26588. },
  26589. "orderlogincode": {
  26590. "description": "委托人",
  26591. "type": "string"
  26592. },
  26593. "orderprice": {
  26594. "description": "委托价格(账户)",
  26595. "type": "number"
  26596. },
  26597. "orderqty": {
  26598. "description": "委托数量",
  26599. "type": "integer"
  26600. },
  26601. "ordertime": {
  26602. "description": "委托时间",
  26603. "type": "string"
  26604. },
  26605. "pricemode": {
  26606. "description": "取价方式 - 1:市价 2: 限价",
  26607. "type": "integer"
  26608. },
  26609. "tradedate": {
  26610. "description": "交易日(yyyyMMdd)",
  26611. "type": "string"
  26612. },
  26613. "tradeqty": {
  26614. "description": "成交数量",
  26615. "type": "integer"
  26616. }
  26617. }
  26618. },
  26619. "models.QueryHedgeTradeDetailRsp": {
  26620. "type": "object",
  26621. "properties": {
  26622. "accountid": {
  26623. "description": "账号ID",
  26624. "type": "integer"
  26625. },
  26626. "buyorsell": {
  26627. "description": "方向 - 0:买 1:卖",
  26628. "type": "integer"
  26629. },
  26630. "channelbuildtype": {
  26631. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26632. "type": "integer"
  26633. },
  26634. "closecharge": {
  26635. "description": "平仓手续费(账户)",
  26636. "type": "number"
  26637. },
  26638. "closecharge2": {
  26639. "description": "平仓手续费(商品)",
  26640. "type": "number"
  26641. },
  26642. "closepl": {
  26643. "description": "平仓盈亏(账户)",
  26644. "type": "number"
  26645. },
  26646. "closepl2": {
  26647. "description": "平仓盈亏(商品)",
  26648. "type": "number"
  26649. },
  26650. "closepl3": {
  26651. "description": "平仓盈亏(账户)(逐笔)",
  26652. "type": "number"
  26653. },
  26654. "closepl4": {
  26655. "description": "平仓盈亏(商品)(逐笔)",
  26656. "type": "number"
  26657. },
  26658. "closetype": {
  26659. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26660. "type": "integer"
  26661. },
  26662. "curexchangerate": {
  26663. "description": "当前汇率",
  26664. "type": "number"
  26665. },
  26666. "exchangefullname": {
  26667. "description": "外部交易所全称",
  26668. "type": "string"
  26669. },
  26670. "goodscode": {
  26671. "description": "商品代码(内部)",
  26672. "type": "string"
  26673. },
  26674. "goodsid": {
  26675. "description": "商品ID",
  26676. "type": "integer"
  26677. },
  26678. "goodsname": {
  26679. "description": "商品名称",
  26680. "type": "string"
  26681. },
  26682. "marketid": {
  26683. "description": "市场ID",
  26684. "type": "integer"
  26685. },
  26686. "opencharge": {
  26687. "description": "建仓手续费(账户)",
  26688. "type": "number"
  26689. },
  26690. "opencharge2": {
  26691. "description": "建仓手续费(商品)",
  26692. "type": "number"
  26693. },
  26694. "orderid": {
  26695. "description": "委托单号",
  26696. "type": "string"
  26697. },
  26698. "orderlogincode": {
  26699. "description": "委托人",
  26700. "type": "string"
  26701. },
  26702. "tradeamount": {
  26703. "description": "成交金额(账户)",
  26704. "type": "number"
  26705. },
  26706. "tradedate": {
  26707. "description": "交易日(yyyyMMdd)",
  26708. "type": "string"
  26709. },
  26710. "tradeid": {
  26711. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26712. "type": "string"
  26713. },
  26714. "tradeprice": {
  26715. "description": "成交价格",
  26716. "type": "number"
  26717. },
  26718. "tradeqty": {
  26719. "description": "成交数量",
  26720. "type": "integer"
  26721. },
  26722. "tradetime": {
  26723. "description": "成交时间",
  26724. "type": "string"
  26725. },
  26726. "tradetype": {
  26727. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26728. "type": "integer"
  26729. }
  26730. }
  26731. },
  26732. "models.QuotePrimaryMenu": {
  26733. "type": "object",
  26734. "properties": {
  26735. "Index": {
  26736. "description": "序号",
  26737. "type": "integer"
  26738. },
  26739. "Key": {
  26740. "description": "键名",
  26741. "type": "string"
  26742. },
  26743. "Name": {
  26744. "description": "菜单名称",
  26745. "type": "string"
  26746. },
  26747. "SubMenus": {
  26748. "description": "子菜单",
  26749. "type": "array",
  26750. "items": {
  26751. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  26752. }
  26753. },
  26754. "SubTitleType": {
  26755. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  26756. "type": "integer"
  26757. },
  26758. "TradeModes": {
  26759. "description": "包含市场交易类型",
  26760. "type": "string"
  26761. }
  26762. }
  26763. },
  26764. "models.QuoteSecondaryMenu": {
  26765. "type": "object",
  26766. "properties": {
  26767. "ExExchangeCode": {
  26768. "description": "外部交易所代码",
  26769. "type": "string"
  26770. },
  26771. "ExExchangeID": {
  26772. "description": "外部交易所ID",
  26773. "type": "integer"
  26774. },
  26775. "GoodsGroupIDs": {
  26776. "description": "商品组ID列表",
  26777. "type": "array",
  26778. "items": {
  26779. "type": "integer"
  26780. }
  26781. },
  26782. "Index": {
  26783. "description": "序号",
  26784. "type": "integer"
  26785. },
  26786. "MarketID": {
  26787. "description": "市场ID",
  26788. "type": "integer"
  26789. },
  26790. "MenuTitle": {
  26791. "description": "菜单标题(市场名称或外部交易所名称)",
  26792. "type": "string"
  26793. },
  26794. "TradeMode": {
  26795. "description": "交易模式",
  26796. "type": "integer"
  26797. }
  26798. }
  26799. },
  26800. "models.SearchGoods": {
  26801. "type": "object",
  26802. "required": [
  26803. "goodscode",
  26804. "goodsid",
  26805. "goodsname",
  26806. "marketid",
  26807. "trademode"
  26808. ],
  26809. "properties": {
  26810. "goodscode": {
  26811. "description": "商品代码(内部)",
  26812. "type": "string"
  26813. },
  26814. "goodsid": {
  26815. "description": "商品ID(自增ID SEQ_GOODS)",
  26816. "type": "integer"
  26817. },
  26818. "goodsname": {
  26819. "description": "商品名称",
  26820. "type": "string"
  26821. },
  26822. "marketid": {
  26823. "description": "所属市场ID",
  26824. "type": "integer"
  26825. },
  26826. "marketname": {
  26827. "description": "市场名称",
  26828. "type": "string"
  26829. },
  26830. "trademode": {
  26831. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26832. "type": "integer"
  26833. }
  26834. }
  26835. },
  26836. "models.Systemparam": {
  26837. "type": "object",
  26838. "required": [
  26839. "paramcode"
  26840. ],
  26841. "properties": {
  26842. "loginid": {
  26843. "description": "更新用户账号,登录账号",
  26844. "type": "string"
  26845. },
  26846. "modifyflag": {
  26847. "description": "修改标志0 不允许修改 1 允许修改",
  26848. "type": "integer"
  26849. },
  26850. "paramcode": {
  26851. "description": "参数代码",
  26852. "type": "string"
  26853. },
  26854. "paramname": {
  26855. "description": "参数名",
  26856. "type": "string"
  26857. },
  26858. "paramtype": {
  26859. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  26860. "type": "integer"
  26861. },
  26862. "paramvalue": {
  26863. "description": "参数值",
  26864. "type": "string"
  26865. },
  26866. "paramvalue2": {
  26867. "description": "参数值(CLOB)",
  26868. "type": "string"
  26869. },
  26870. "regexpress": {
  26871. "description": "正则表达式",
  26872. "type": "string"
  26873. },
  26874. "remark": {
  26875. "description": "备注",
  26876. "type": "string"
  26877. },
  26878. "serverip": {
  26879. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  26880. "type": "string"
  26881. },
  26882. "showflag": {
  26883. "description": "是否显示0 不显示 1 显示",
  26884. "type": "integer"
  26885. },
  26886. "updatetime": {
  26887. "description": "更新时间",
  26888. "type": "string"
  26889. },
  26890. "userid": {
  26891. "description": "更新用户ID",
  26892. "type": "integer"
  26893. }
  26894. }
  26895. },
  26896. "models.Szdz3convertconfig": {
  26897. "type": "object",
  26898. "required": [
  26899. "converttype",
  26900. "innergoodsid",
  26901. "outergoodscode"
  26902. ],
  26903. "properties": {
  26904. "canin": {
  26905. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  26906. "type": "integer"
  26907. },
  26908. "canout": {
  26909. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  26910. "type": "integer"
  26911. },
  26912. "converttype": {
  26913. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  26914. "type": "integer"
  26915. },
  26916. "createtime": {
  26917. "description": "创建时间",
  26918. "type": "string"
  26919. },
  26920. "creatorid": {
  26921. "description": "创建人",
  26922. "type": "integer"
  26923. },
  26924. "daymaxvalue": {
  26925. "description": "当日最大转入限制",
  26926. "type": "number"
  26927. },
  26928. "freezedays": {
  26929. "description": "冻结天数 [5:花生米转交易]",
  26930. "type": "integer"
  26931. },
  26932. "innergoodsid": {
  26933. "description": "内部商品ID[交易]",
  26934. "type": "integer"
  26935. },
  26936. "inratio": {
  26937. "description": "目标值",
  26938. "type": "integer"
  26939. },
  26940. "modifierid": {
  26941. "description": "修改人",
  26942. "type": "integer"
  26943. },
  26944. "modifytime": {
  26945. "description": "修改时间",
  26946. "type": "string"
  26947. },
  26948. "outergoodscode": {
  26949. "description": "外部商品代码[JD\\PD]",
  26950. "type": "string"
  26951. },
  26952. "outratio": {
  26953. "description": "源值",
  26954. "type": "integer"
  26955. },
  26956. "pddecimalplace": {
  26957. "description": "PD小数位",
  26958. "type": "integer"
  26959. },
  26960. "timemaxvalue": {
  26961. "description": "单次最大转入限制",
  26962. "type": "number"
  26963. },
  26964. "timeminvalue": {
  26965. "description": "单次最小转入限制",
  26966. "type": "number"
  26967. }
  26968. }
  26969. },
  26970. "models.Szdz3searchwhitelist": {
  26971. "type": "object",
  26972. "required": [
  26973. "userid"
  26974. ],
  26975. "properties": {
  26976. "createtime": {
  26977. "description": "创建时间",
  26978. "type": "string"
  26979. },
  26980. "creatorid": {
  26981. "description": "创建人",
  26982. "type": "integer"
  26983. },
  26984. "modifierid": {
  26985. "description": "修改人",
  26986. "type": "integer"
  26987. },
  26988. "modifytime": {
  26989. "description": "修改时间",
  26990. "type": "string"
  26991. },
  26992. "userid": {
  26993. "description": "用户ID",
  26994. "type": "integer"
  26995. }
  26996. }
  26997. },
  26998. "models.Taaccount": {
  26999. "type": "object",
  27000. "required": [
  27001. "accountid",
  27002. "userid"
  27003. ],
  27004. "properties": {
  27005. "accountflag": {
  27006. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  27007. "type": "integer"
  27008. },
  27009. "accountid": {
  27010. "description": "资金账户ID",
  27011. "type": "integer"
  27012. },
  27013. "accountname": {
  27014. "description": "账户名称",
  27015. "type": "string"
  27016. },
  27017. "balance": {
  27018. "description": "期初余额",
  27019. "type": "number"
  27020. },
  27021. "capitalbalance": {
  27022. "description": "本金余额[外部子账户实际出入金余额]",
  27023. "type": "number"
  27024. },
  27025. "changeflag": {
  27026. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  27027. "type": "integer"
  27028. },
  27029. "changetime": {
  27030. "description": "账户状态变更时间",
  27031. "type": "string"
  27032. },
  27033. "closepl": {
  27034. "description": "今日平仓盈亏",
  27035. "type": "number"
  27036. },
  27037. "creditdecrease": {
  27038. "description": "今日授信减少",
  27039. "type": "number"
  27040. },
  27041. "creditincrease": {
  27042. "description": "今日授信增加",
  27043. "type": "number"
  27044. },
  27045. "currencyid": {
  27046. "description": "货币ID",
  27047. "type": "integer"
  27048. },
  27049. "currentbalance": {
  27050. "description": "期末余额",
  27051. "type": "number"
  27052. },
  27053. "freezecharge": {
  27054. "description": "手续费冻结",
  27055. "type": "number"
  27056. },
  27057. "freezemargin": {
  27058. "description": "冻结保证金",
  27059. "type": "number"
  27060. },
  27061. "fromaccountid": {
  27062. "description": "所属上级账户",
  27063. "type": "integer"
  27064. },
  27065. "inamount": {
  27066. "description": "今日入金金额(包括三方入金)",
  27067. "type": "number"
  27068. },
  27069. "ismain": {
  27070. "description": "是否母账号 0:不是母账户 1:是母账户",
  27071. "type": "integer"
  27072. },
  27073. "ismarketaccount": {
  27074. "description": "是否机构接单账号 0:不是 1:是",
  27075. "type": "integer"
  27076. },
  27077. "isreckonaccount": {
  27078. "description": "是否机构分润账号 0:不是 1:是",
  27079. "type": "integer"
  27080. },
  27081. "mortgagecredit": {
  27082. "description": "授信金额",
  27083. "type": "number"
  27084. },
  27085. "orifreezecharge": {
  27086. "description": "期初手续费冻结",
  27087. "type": "number"
  27088. },
  27089. "orifreezemargin": {
  27090. "description": "期初冻结保证金",
  27091. "type": "number"
  27092. },
  27093. "orimortgagecredit": {
  27094. "description": "期初授信金额",
  27095. "type": "number"
  27096. },
  27097. "oriothercredit": {
  27098. "description": "期初其它授信金额",
  27099. "type": "number"
  27100. },
  27101. "oriotherfreezemargin": {
  27102. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27103. "type": "number"
  27104. },
  27105. "orioutamountfreeze": {
  27106. "description": "期初出金冻结",
  27107. "type": "number"
  27108. },
  27109. "oriusedmargin": {
  27110. "description": "期初占用保证金",
  27111. "type": "number"
  27112. },
  27113. "othercredit": {
  27114. "description": "其它授信金额",
  27115. "type": "number"
  27116. },
  27117. "othercreditdecrease": {
  27118. "description": "今日其它授信减少",
  27119. "type": "number"
  27120. },
  27121. "othercreditincrease": {
  27122. "description": "今日其它授信增加",
  27123. "type": "number"
  27124. },
  27125. "otherfreezemargin": {
  27126. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27127. "type": "number"
  27128. },
  27129. "otherincome": {
  27130. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  27131. "type": "number"
  27132. },
  27133. "otherpay": {
  27134. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  27135. "type": "number"
  27136. },
  27137. "outamount": {
  27138. "description": "今日出金金额(包括三方出金)",
  27139. "type": "number"
  27140. },
  27141. "outamountfreeze": {
  27142. "description": "出金冻结",
  27143. "type": "number"
  27144. },
  27145. "outthreshold": {
  27146. "description": "出金阈值",
  27147. "type": "number"
  27148. },
  27149. "parentaccountid": {
  27150. "description": "所属根账号",
  27151. "type": "integer"
  27152. },
  27153. "paycharge": {
  27154. "description": "今日手续费支出",
  27155. "type": "number"
  27156. },
  27157. "relatedaccountstatus": {
  27158. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  27159. "type": "integer"
  27160. },
  27161. "relateduserid": {
  27162. "description": "关联用户",
  27163. "type": "integer"
  27164. },
  27165. "serivcegroup": {
  27166. "description": "服务分组",
  27167. "type": "integer"
  27168. },
  27169. "signstatus": {
  27170. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27171. "type": "integer"
  27172. },
  27173. "sublevelpath": {
  27174. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27175. "type": "string"
  27176. },
  27177. "taaccounttype": {
  27178. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27179. "type": "integer"
  27180. },
  27181. "thirdinamount": {
  27182. "description": "今日三方入金",
  27183. "type": "number"
  27184. },
  27185. "thirdoutamount": {
  27186. "description": "今日三方出金",
  27187. "type": "number"
  27188. },
  27189. "tradestatus": {
  27190. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27191. "type": "integer"
  27192. },
  27193. "tradestatuschangetime": {
  27194. "description": "激活时间",
  27195. "type": "string"
  27196. },
  27197. "transferamount": {
  27198. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27199. "type": "number"
  27200. },
  27201. "usedmargin": {
  27202. "description": "占用保证金",
  27203. "type": "number"
  27204. },
  27205. "userid": {
  27206. "description": "用户ID",
  27207. "type": "integer"
  27208. }
  27209. }
  27210. },
  27211. "models.Tablecolumnconfig": {
  27212. "type": "object",
  27213. "required": [
  27214. "autoid"
  27215. ],
  27216. "properties": {
  27217. "aligntype": {
  27218. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  27219. "type": "integer"
  27220. },
  27221. "autoid": {
  27222. "description": "AutoID",
  27223. "type": "integer"
  27224. },
  27225. "columnfield": {
  27226. "description": "列字段",
  27227. "type": "string"
  27228. },
  27229. "columntitle": {
  27230. "description": "列Title",
  27231. "type": "string"
  27232. },
  27233. "columnwidth": {
  27234. "description": "列宽",
  27235. "type": "string"
  27236. },
  27237. "formatterstring": {
  27238. "description": "格式化字符",
  27239. "type": "string"
  27240. },
  27241. "formattertype": {
  27242. "description": "格式化类型",
  27243. "type": "string"
  27244. },
  27245. "groupname": {
  27246. "description": "表头分组名称",
  27247. "type": "string"
  27248. },
  27249. "isshow": {
  27250. "description": "是否显示 - 0:不显示 1:显示",
  27251. "type": "integer"
  27252. },
  27253. "needsummary": {
  27254. "description": "是否需要汇总 - 0:不需要 1:需要",
  27255. "type": "integer"
  27256. },
  27257. "orderindex": {
  27258. "description": "顺序",
  27259. "type": "integer"
  27260. },
  27261. "remark": {
  27262. "description": "备注",
  27263. "type": "string"
  27264. },
  27265. "summarytype": {
  27266. "description": "汇总类型 - 1:加总 2:最后一个",
  27267. "type": "integer"
  27268. },
  27269. "tablekey": {
  27270. "description": "列表Key",
  27271. "type": "string"
  27272. }
  27273. }
  27274. },
  27275. "models.UserCollectConfig": {
  27276. "type": "object",
  27277. "properties": {
  27278. "accountstatus": {
  27279. "description": "账户状态 - 1:正常 2:停用 3:注销",
  27280. "type": "integer"
  27281. },
  27282. "collectaccountname": {
  27283. "description": "收款人账户名称",
  27284. "type": "string"
  27285. },
  27286. "collectaccountno": {
  27287. "description": "收款人账户",
  27288. "type": "string"
  27289. },
  27290. "collectbankname": {
  27291. "description": "收款人开户行",
  27292. "type": "string"
  27293. },
  27294. "collectbranchbankname": {
  27295. "description": "收款人开户支行",
  27296. "type": "string"
  27297. },
  27298. "collectconfigid": {
  27299. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  27300. "type": "string"
  27301. },
  27302. "remark": {
  27303. "description": "备注",
  27304. "type": "string"
  27305. },
  27306. "userid": {
  27307. "description": "收款人用户ID",
  27308. "type": "integer"
  27309. }
  27310. }
  27311. },
  27312. "models.UserReceiveInfo": {
  27313. "type": "object",
  27314. "properties": {
  27315. "address": {
  27316. "description": "提货人详细地址",
  27317. "type": "string"
  27318. },
  27319. "autoid": {
  27320. "description": "AutoID",
  27321. "type": "integer"
  27322. },
  27323. "cardnum": {
  27324. "description": "证件号码(加密存储)",
  27325. "type": "string"
  27326. },
  27327. "cardtypeid": {
  27328. "description": "证件类型",
  27329. "type": "integer"
  27330. },
  27331. "cityid": {
  27332. "description": "市",
  27333. "type": "integer"
  27334. },
  27335. "cityname": {
  27336. "description": "城市名称",
  27337. "type": "string"
  27338. },
  27339. "countryid": {
  27340. "description": "国家",
  27341. "type": "integer"
  27342. },
  27343. "countryname": {
  27344. "description": "国家名称",
  27345. "type": "string"
  27346. },
  27347. "districtid": {
  27348. "description": "地区",
  27349. "type": "integer"
  27350. },
  27351. "districtname": {
  27352. "description": "地区名称",
  27353. "type": "string"
  27354. },
  27355. "hasencrypt": {
  27356. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27357. "type": "integer"
  27358. },
  27359. "isdefault": {
  27360. "description": "是否默认地址 - 0:否 1:是",
  27361. "type": "integer"
  27362. },
  27363. "phonenum": {
  27364. "description": "提货人联系方式(加密存储)",
  27365. "type": "string"
  27366. },
  27367. "provinceid": {
  27368. "description": "省",
  27369. "type": "integer"
  27370. },
  27371. "provincename": {
  27372. "description": "省名称",
  27373. "type": "string"
  27374. },
  27375. "receivername": {
  27376. "description": "提货人姓名",
  27377. "type": "string"
  27378. },
  27379. "takeremark": {
  27380. "description": "提货备注",
  27381. "type": "string"
  27382. },
  27383. "userid": {
  27384. "description": "用户ID",
  27385. "type": "integer"
  27386. }
  27387. }
  27388. },
  27389. "models.Useraccount": {
  27390. "type": "object",
  27391. "required": [
  27392. "userid"
  27393. ],
  27394. "properties": {
  27395. "accountname": {
  27396. "description": "账户名称(机构名称)",
  27397. "type": "string"
  27398. },
  27399. "accountstatus": {
  27400. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27401. "type": "integer"
  27402. },
  27403. "applysrc": {
  27404. "description": "申请来源 - 1:管理端 2:终端",
  27405. "type": "integer"
  27406. },
  27407. "auditremark": {
  27408. "description": "审核备注",
  27409. "type": "string"
  27410. },
  27411. "auditsrc": {
  27412. "description": "审核来源 - 1:管理端 2:终端",
  27413. "type": "integer"
  27414. },
  27415. "audittime": {
  27416. "description": "审核时间",
  27417. "type": "string"
  27418. },
  27419. "audituserid": {
  27420. "description": "审核人",
  27421. "type": "integer"
  27422. },
  27423. "broker": {
  27424. "description": "所属经纪人ID",
  27425. "type": "integer"
  27426. },
  27427. "canceltime": {
  27428. "description": "销户时间",
  27429. "type": "string"
  27430. },
  27431. "canceluserid": {
  27432. "description": "销户人",
  27433. "type": "integer"
  27434. },
  27435. "canrecommend": {
  27436. "description": "是否可推荐 - 0:不可 1;可",
  27437. "type": "integer"
  27438. },
  27439. "createtime": {
  27440. "description": "创建时间",
  27441. "type": "string"
  27442. },
  27443. "creatorid": {
  27444. "description": "创建人",
  27445. "type": "integer"
  27446. },
  27447. "hasauth": {
  27448. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27449. "type": "integer"
  27450. },
  27451. "isanonymous": {
  27452. "description": "是否匿名下单 - 0:否 1:是",
  27453. "type": "integer"
  27454. },
  27455. "maxinvestornum": {
  27456. "description": "最大用户数(经纪会员下投资者个数)",
  27457. "type": "integer"
  27458. },
  27459. "memberuserid": {
  27460. "description": "所属会员ID",
  27461. "type": "integer"
  27462. },
  27463. "modifierid": {
  27464. "description": "修改人",
  27465. "type": "integer"
  27466. },
  27467. "modifyremark": {
  27468. "description": "变更备注",
  27469. "type": "string"
  27470. },
  27471. "modifystatus": {
  27472. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27473. "type": "integer"
  27474. },
  27475. "modifytime": {
  27476. "description": "修改时间",
  27477. "type": "string"
  27478. },
  27479. "parenttopuser": {
  27480. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27481. "type": "string"
  27482. },
  27483. "parentuserid": {
  27484. "description": "所属机构ID",
  27485. "type": "integer"
  27486. },
  27487. "reckonaccountid": {
  27488. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27489. "type": "integer"
  27490. },
  27491. "refercount": {
  27492. "description": "推荐总人数",
  27493. "type": "integer"
  27494. },
  27495. "refereeuserid": {
  27496. "description": "推荐人ID",
  27497. "type": "integer"
  27498. },
  27499. "refernum": {
  27500. "description": "推荐码",
  27501. "type": "string"
  27502. },
  27503. "rootuserid": {
  27504. "description": "根用户ID",
  27505. "type": "integer"
  27506. },
  27507. "subaccountlevel": {
  27508. "description": "子账户层数",
  27509. "type": "integer"
  27510. },
  27511. "subarealevelpath": {
  27512. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27513. "type": "string"
  27514. },
  27515. "userid": {
  27516. "description": "用户ID",
  27517. "type": "integer"
  27518. },
  27519. "usertype": {
  27520. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27521. "type": "integer"
  27522. }
  27523. }
  27524. },
  27525. "models.Userfavoritegoods": {
  27526. "type": "object",
  27527. "required": [
  27528. "goodsid"
  27529. ],
  27530. "properties": {
  27531. "goodsid": {
  27532. "description": "商品ID",
  27533. "type": "integer"
  27534. }
  27535. }
  27536. },
  27537. "models.Userinfo": {
  27538. "type": "object",
  27539. "required": [
  27540. "userid"
  27541. ],
  27542. "properties": {
  27543. "address": {
  27544. "description": "地址",
  27545. "type": "string"
  27546. },
  27547. "attachment1": {
  27548. "description": "附件1",
  27549. "type": "string"
  27550. },
  27551. "attachment2": {
  27552. "description": "附件2",
  27553. "type": "string"
  27554. },
  27555. "bankaccount": {
  27556. "description": "银行帐号 (加密存储)",
  27557. "type": "string"
  27558. },
  27559. "bankaccountname": {
  27560. "description": "收款人名称",
  27561. "type": "string"
  27562. },
  27563. "bankcardfrontphotourl": {
  27564. "description": "银行卡正面照地址",
  27565. "type": "string"
  27566. },
  27567. "bankid": {
  27568. "description": "银行编码",
  27569. "type": "string"
  27570. },
  27571. "bankname": {
  27572. "description": "银行名称",
  27573. "type": "string"
  27574. },
  27575. "biznature": {
  27576. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  27577. "type": "integer"
  27578. },
  27579. "bizscope": {
  27580. "description": "企业经营范围(企业)",
  27581. "type": "string"
  27582. },
  27583. "cardbackphotourl": {
  27584. "description": "证件背面图片地址",
  27585. "type": "string"
  27586. },
  27587. "cardfrontphotourl": {
  27588. "description": "证件正面图片地址",
  27589. "type": "string"
  27590. },
  27591. "cardnum": {
  27592. "description": "证件号码(加密存储)",
  27593. "type": "string"
  27594. },
  27595. "cardtypeid": {
  27596. "description": "证件类型ID",
  27597. "type": "integer"
  27598. },
  27599. "cityid": {
  27600. "description": "市",
  27601. "type": "integer"
  27602. },
  27603. "company": {
  27604. "description": "公司(个人)",
  27605. "type": "string"
  27606. },
  27607. "contactname": {
  27608. "description": "联系人",
  27609. "type": "string"
  27610. },
  27611. "countryid": {
  27612. "description": "国家",
  27613. "type": "integer"
  27614. },
  27615. "createtime": {
  27616. "description": "创建时间",
  27617. "type": "string"
  27618. },
  27619. "creatorid": {
  27620. "description": "创建人",
  27621. "type": "integer"
  27622. },
  27623. "customername": {
  27624. "description": "客户名称(企业名称)",
  27625. "type": "string"
  27626. },
  27627. "districtid": {
  27628. "description": "地区",
  27629. "type": "integer"
  27630. },
  27631. "email": {
  27632. "description": "邮件(加密存储)",
  27633. "type": "string"
  27634. },
  27635. "fax": {
  27636. "description": "传真(加密存储)",
  27637. "type": "string"
  27638. },
  27639. "halfbodyphotourl": {
  27640. "description": "半身照地址",
  27641. "type": "string"
  27642. },
  27643. "hasencrypt": {
  27644. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27645. "type": "integer"
  27646. },
  27647. "headurl": {
  27648. "description": "头像地址",
  27649. "type": "string"
  27650. },
  27651. "legalcardbackphotourl": {
  27652. "description": "法人身份证背面照地址",
  27653. "type": "string"
  27654. },
  27655. "legalcardfrontphotourl": {
  27656. "description": "法人身份证正面照地址",
  27657. "type": "string"
  27658. },
  27659. "legalpersonname": {
  27660. "description": "法人姓名(企业)",
  27661. "type": "string"
  27662. },
  27663. "mobile": {
  27664. "description": "手机号码(加密存储)",
  27665. "type": "string"
  27666. },
  27667. "mobile2": {
  27668. "description": "手机号码[明文-尚志]",
  27669. "type": "string"
  27670. },
  27671. "modifierid": {
  27672. "description": "修改人",
  27673. "type": "integer"
  27674. },
  27675. "modifiertime": {
  27676. "description": "修改时间",
  27677. "type": "string"
  27678. },
  27679. "needinvoice": {
  27680. "description": "是否需要发票 - 0:不需要 1:需要",
  27681. "type": "integer"
  27682. },
  27683. "nickname": {
  27684. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  27685. "type": "string"
  27686. },
  27687. "openmode": {
  27688. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  27689. "type": "integer"
  27690. },
  27691. "otherurl": {
  27692. "description": "其它图片地址[使用分号分隔]",
  27693. "type": "string"
  27694. },
  27695. "postalcode": {
  27696. "description": "邮政编码",
  27697. "type": "string"
  27698. },
  27699. "provinceid": {
  27700. "description": "省",
  27701. "type": "integer"
  27702. },
  27703. "qq": {
  27704. "description": "QQ(加密存储",
  27705. "type": "string"
  27706. },
  27707. "remark": {
  27708. "description": "备注",
  27709. "type": "string"
  27710. },
  27711. "sex": {
  27712. "description": "用户性别 0: 女 1: 男",
  27713. "type": "integer"
  27714. },
  27715. "signpdfurl": {
  27716. "description": "签约pdf文件",
  27717. "type": "string"
  27718. },
  27719. "telphone": {
  27720. "description": "联系电话(加密存储)",
  27721. "type": "string"
  27722. },
  27723. "userid": {
  27724. "description": "用户ID",
  27725. "type": "integer"
  27726. },
  27727. "userinfotype": {
  27728. "description": "用户信息类型 - 1:个人 2:企业",
  27729. "type": "integer"
  27730. },
  27731. "userstatus": {
  27732. "description": "用户状态 - 1:正常 2:注销",
  27733. "type": "integer"
  27734. },
  27735. "usertype": {
  27736. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  27737. "type": "integer"
  27738. },
  27739. "wechat": {
  27740. "description": "微信(加密存储)",
  27741. "type": "string"
  27742. },
  27743. "wskhinfo": {
  27744. "description": "开户申请信息(JSON)",
  27745. "type": "string"
  27746. }
  27747. }
  27748. },
  27749. "models.WRSConverTDetail": {
  27750. "type": "object",
  27751. "properties": {
  27752. "convertratio": {
  27753. "description": "套保系数",
  27754. "type": "number"
  27755. },
  27756. "deliverygoodscode": {
  27757. "description": "现货商品代码",
  27758. "type": "string"
  27759. },
  27760. "deliverygoodsid": {
  27761. "description": "现货品种ID",
  27762. "type": "integer"
  27763. },
  27764. "deliverygoodsname": {
  27765. "description": "现货商品名称",
  27766. "type": "string"
  27767. },
  27768. "enumdicname": {
  27769. "description": "单位名称",
  27770. "type": "string"
  27771. },
  27772. "goodsunitid": {
  27773. "description": "套保品种单位id",
  27774. "type": "integer"
  27775. },
  27776. "middlegoodscode": {
  27777. "description": "套保品种代码",
  27778. "type": "string"
  27779. },
  27780. "middlegoodsid": {
  27781. "description": "套保品种ID",
  27782. "type": "integer"
  27783. },
  27784. "middlegoodsname": {
  27785. "description": "套保品种名称",
  27786. "type": "string"
  27787. },
  27788. "modifytime": {
  27789. "description": "修改时间",
  27790. "type": "string"
  27791. },
  27792. "wrstandardid": {
  27793. "description": "品类ID",
  27794. "type": "integer"
  27795. }
  27796. }
  27797. },
  27798. "models.WRStandardInfo": {
  27799. "type": "object",
  27800. "required": [
  27801. "wrstandardid"
  27802. ],
  27803. "properties": {
  27804. "areauserid": {
  27805. "description": "所属机构",
  27806. "type": "integer"
  27807. },
  27808. "convertfactor": {
  27809. "description": "标仓系数",
  27810. "type": "number"
  27811. },
  27812. "createtime": {
  27813. "description": "创建时间",
  27814. "type": "string"
  27815. },
  27816. "creatorid": {
  27817. "description": "创建人",
  27818. "type": "integer"
  27819. },
  27820. "deliverygoodsid": {
  27821. "description": "品种ID",
  27822. "type": "integer"
  27823. },
  27824. "deliverygoodsname": {
  27825. "description": "交割商品名称",
  27826. "type": "string"
  27827. },
  27828. "factoryitemjson": {
  27829. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  27830. "type": "string"
  27831. },
  27832. "isvalid": {
  27833. "description": "是否有效 - 0:无效 1:有效",
  27834. "type": "integer"
  27835. },
  27836. "minivalue": {
  27837. "description": "最小变动值",
  27838. "type": "integer"
  27839. },
  27840. "minivaluedp": {
  27841. "description": "最小变动值小数位",
  27842. "type": "integer"
  27843. },
  27844. "realminivalue": {
  27845. "description": "实际最小变动值",
  27846. "type": "integer"
  27847. },
  27848. "realminivaluedp": {
  27849. "description": "实际最小变动值小数位",
  27850. "type": "integer"
  27851. },
  27852. "remark": {
  27853. "description": "备注",
  27854. "type": "string"
  27855. },
  27856. "unitid": {
  27857. "description": "单位ID",
  27858. "type": "integer"
  27859. },
  27860. "unitname": {
  27861. "description": "单位",
  27862. "type": "string"
  27863. },
  27864. "updatetime": {
  27865. "description": "更新时间",
  27866. "type": "string"
  27867. },
  27868. "updatorid": {
  27869. "description": "更新人",
  27870. "type": "integer"
  27871. },
  27872. "wrsstatus": {
  27873. "description": "状态 - 作废 - 0:未激活 1:正常",
  27874. "type": "integer"
  27875. },
  27876. "wrstandardcode": {
  27877. "description": "现货品类代码",
  27878. "type": "string"
  27879. },
  27880. "wrstandardid": {
  27881. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27882. "type": "integer"
  27883. },
  27884. "wrstandardname": {
  27885. "description": "现货品类名称",
  27886. "type": "string"
  27887. }
  27888. }
  27889. },
  27890. "models.Warehouseinfo": {
  27891. "type": "object",
  27892. "required": [
  27893. "autoid",
  27894. "warehousecode"
  27895. ],
  27896. "properties": {
  27897. "address": {
  27898. "description": "详细地址",
  27899. "type": "string"
  27900. },
  27901. "areauserid": {
  27902. "description": "所属机构",
  27903. "type": "integer"
  27904. },
  27905. "autoid": {
  27906. "description": "自增ID",
  27907. "type": "integer"
  27908. },
  27909. "cityid": {
  27910. "description": "市",
  27911. "type": "integer"
  27912. },
  27913. "contactname": {
  27914. "description": "联系人",
  27915. "type": "string"
  27916. },
  27917. "contactnum": {
  27918. "description": "联系电话",
  27919. "type": "string"
  27920. },
  27921. "countryid": {
  27922. "description": "国家",
  27923. "type": "integer"
  27924. },
  27925. "createtime": {
  27926. "description": "创建时间",
  27927. "type": "string"
  27928. },
  27929. "districtid": {
  27930. "description": "区",
  27931. "type": "integer"
  27932. },
  27933. "hasvideo": {
  27934. "description": "是否有视频 - 0:无 1:有",
  27935. "type": "integer"
  27936. },
  27937. "provinceid": {
  27938. "description": "省",
  27939. "type": "integer"
  27940. },
  27941. "remark": {
  27942. "description": "审核备注",
  27943. "type": "string"
  27944. },
  27945. "videourl": {
  27946. "description": "视频地址",
  27947. "type": "string"
  27948. },
  27949. "warehousecode": {
  27950. "description": "仓库代码",
  27951. "type": "string"
  27952. },
  27953. "warehousename": {
  27954. "description": "仓库名称",
  27955. "type": "string"
  27956. },
  27957. "warehousestatus": {
  27958. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  27959. "type": "integer"
  27960. },
  27961. "warehousetype": {
  27962. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  27963. "type": "integer"
  27964. }
  27965. }
  27966. },
  27967. "order.QueryHisTradeDetailRsp": {
  27968. "type": "object",
  27969. "required": [
  27970. "accountid",
  27971. "buyorsell",
  27972. "goodsid",
  27973. "histradedate",
  27974. "marketid",
  27975. "memberuserid",
  27976. "orderid",
  27977. "tradeamount",
  27978. "tradedate",
  27979. "tradeid",
  27980. "tradeprice",
  27981. "tradeqty",
  27982. "tradetime"
  27983. ],
  27984. "properties": {
  27985. "accountid": {
  27986. "description": "账户ID[报价币种]",
  27987. "type": "integer"
  27988. },
  27989. "advanceratio": {
  27990. "description": "首付比率",
  27991. "type": "number"
  27992. },
  27993. "buildtype": {
  27994. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27995. "type": "integer"
  27996. },
  27997. "buyorsell": {
  27998. "description": "方向 - 0:买 1:卖",
  27999. "type": "integer"
  28000. },
  28001. "charge": {
  28002. "description": "手续费",
  28003. "type": "number"
  28004. },
  28005. "closecharge": {
  28006. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28007. "type": "number"
  28008. },
  28009. "closeexchagechargevalue": {
  28010. "description": "平仓交易所手续费设置值",
  28011. "type": "number"
  28012. },
  28013. "closefeealgorithm": {
  28014. "description": "平仓手续费收取方式 1:比率 2:固定",
  28015. "type": "integer"
  28016. },
  28017. "closememberchargevalue": {
  28018. "description": "平仓会员手续费设置值",
  28019. "type": "number"
  28020. },
  28021. "closepl": {
  28022. "description": "平仓盈亏",
  28023. "type": "number"
  28024. },
  28025. "closepl2": {
  28026. "description": "平仓盈亏[逐笔]",
  28027. "type": "number"
  28028. },
  28029. "closeqty": {
  28030. "description": "平仓数量(先建后平操作 需要记录)",
  28031. "type": "number"
  28032. },
  28033. "creditamount": {
  28034. "description": "授信金额",
  28035. "type": "number"
  28036. },
  28037. "decimalplace": {
  28038. "description": "商品报价小数位",
  28039. "type": "integer"
  28040. },
  28041. "enumdicname": {
  28042. "description": "单位名称",
  28043. "type": "string"
  28044. },
  28045. "gcaccountid": {
  28046. "description": "账户ID[合约币种]",
  28047. "type": "integer"
  28048. },
  28049. "goodscode": {
  28050. "description": "商品代码",
  28051. "type": "string"
  28052. },
  28053. "goodsid": {
  28054. "description": "商品ID",
  28055. "type": "integer"
  28056. },
  28057. "goodsname": {
  28058. "description": "商品名称",
  28059. "type": "string"
  28060. },
  28061. "goodunitid": {
  28062. "description": "商品单位id",
  28063. "type": "integer"
  28064. },
  28065. "histradedate": {
  28066. "description": "历史交易日",
  28067. "type": "string"
  28068. },
  28069. "intclosepl": {
  28070. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28071. "type": "integer"
  28072. },
  28073. "isconfirmexercise": {
  28074. "description": "是否确认行权- 0:否 1:是",
  28075. "type": "integer"
  28076. },
  28077. "ismain": {
  28078. "description": "是否主单 - 0:不是 1:是",
  28079. "type": "integer"
  28080. },
  28081. "ispreexercise": {
  28082. "description": "是否预申报- 0:否 1:是",
  28083. "type": "integer"
  28084. },
  28085. "isreckoned": {
  28086. "description": "是否结算 - 0:未结算 1:已结算",
  28087. "type": "integer"
  28088. },
  28089. "isvaliddata": {
  28090. "description": "是否有效 - 0:无效 1:有效",
  28091. "type": "integer"
  28092. },
  28093. "listingselecttype": {
  28094. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28095. "type": "integer"
  28096. },
  28097. "marketid": {
  28098. "description": "市场ID",
  28099. "type": "integer"
  28100. },
  28101. "marketname": {
  28102. "description": "市场名称",
  28103. "type": "string"
  28104. },
  28105. "matchaccountid": {
  28106. "description": "对手账号id",
  28107. "type": "integer"
  28108. },
  28109. "memberuserid": {
  28110. "description": "会员id 个人投资者 需要填写",
  28111. "type": "integer"
  28112. },
  28113. "opencharge": {
  28114. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28115. "type": "number"
  28116. },
  28117. "openexchagechargevalue": {
  28118. "description": "建仓交易所手续费设置值",
  28119. "type": "number"
  28120. },
  28121. "openfeealgorithm": {
  28122. "description": "建仓手续费收取方式 1:比率 2:固定",
  28123. "type": "integer"
  28124. },
  28125. "openmemberchargevalue": {
  28126. "description": "建仓会员手续费设置值",
  28127. "type": "number"
  28128. },
  28129. "openqty": {
  28130. "description": "开仓数量(先建后平操作 需要记录)",
  28131. "type": "number"
  28132. },
  28133. "optiontype": {
  28134. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28135. "type": "integer"
  28136. },
  28137. "orderid": {
  28138. "description": "委托单号",
  28139. "type": "string"
  28140. },
  28141. "payamount": {
  28142. "description": "支付金额(付款金额)",
  28143. "type": "number"
  28144. },
  28145. "performanceplanid": {
  28146. "description": "履约计划ID[期权]",
  28147. "type": "integer"
  28148. },
  28149. "performancestatus": {
  28150. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28151. "type": "integer"
  28152. },
  28153. "preexerciseprice": {
  28154. "description": "预申报价格",
  28155. "type": "number"
  28156. },
  28157. "premium": {
  28158. "description": "权利金 - [持仓单的权利金]",
  28159. "type": "number"
  28160. },
  28161. "qtydecimalplace": {
  28162. "description": "商品报价小数位",
  28163. "type": "integer"
  28164. },
  28165. "recvamount": {
  28166. "description": "到账金额 = 成交金额 - 手续费",
  28167. "type": "number"
  28168. },
  28169. "relatedouttradeid": {
  28170. "description": "关联外部成交单ID",
  28171. "type": "integer"
  28172. },
  28173. "status": {
  28174. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28175. "type": "integer"
  28176. },
  28177. "totalamount": {
  28178. "description": "订单总额 = 成交金额 + 手续费",
  28179. "type": "number"
  28180. },
  28181. "tradeamount": {
  28182. "description": "成交金额[账户币种,用于所有权]",
  28183. "type": "number"
  28184. },
  28185. "tradedate": {
  28186. "description": "交易日(yyyyMMdd)",
  28187. "type": "string"
  28188. },
  28189. "tradeid": {
  28190. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28191. "type": "string"
  28192. },
  28193. "trademode": {
  28194. "description": "交易模式",
  28195. "type": "integer"
  28196. },
  28197. "tradeprice": {
  28198. "description": "成交价格",
  28199. "type": "number"
  28200. },
  28201. "tradeproperty": {
  28202. "description": "交易属性",
  28203. "type": "integer"
  28204. },
  28205. "tradeqty": {
  28206. "description": "成交数量",
  28207. "type": "number"
  28208. },
  28209. "tradetime": {
  28210. "description": "成交时间",
  28211. "type": "string"
  28212. },
  28213. "tradetype": {
  28214. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28215. "type": "integer"
  28216. }
  28217. }
  28218. },
  28219. "order.QueryHisTradeOrderDetailRsp": {
  28220. "type": "object",
  28221. "required": [
  28222. "accountid",
  28223. "buildtype",
  28224. "buyorsell",
  28225. "goodsid",
  28226. "histradedate",
  28227. "marketid",
  28228. "memberuserid",
  28229. "operatetype",
  28230. "orderid",
  28231. "orderqty",
  28232. "ordertime",
  28233. "pricemode",
  28234. "tradedate",
  28235. "validtype"
  28236. ],
  28237. "properties": {
  28238. "accountid": {
  28239. "description": "账户ID[报价币种]",
  28240. "type": "integer"
  28241. },
  28242. "buildtype": {
  28243. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28244. "type": "integer"
  28245. },
  28246. "buyorsell": {
  28247. "description": "买卖 - 0:买 1:卖",
  28248. "type": "integer"
  28249. },
  28250. "cancelorderid": {
  28251. "description": "撤单单号(撤单时填写)",
  28252. "type": "string"
  28253. },
  28254. "cancelqty": {
  28255. "description": "撤单数量",
  28256. "type": "number"
  28257. },
  28258. "clientordertime": {
  28259. "description": "客户端委托时间",
  28260. "type": "string"
  28261. },
  28262. "clientticket": {
  28263. "description": "客户端流水号",
  28264. "type": "string"
  28265. },
  28266. "clienttype": {
  28267. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28268. "type": "integer"
  28269. },
  28270. "closeexchagechargevalue": {
  28271. "description": "平仓交易所手续费设置值",
  28272. "type": "number"
  28273. },
  28274. "closefeealgorithm": {
  28275. "description": "平仓手续费收取方式 1:比率 2:固定",
  28276. "type": "integer"
  28277. },
  28278. "closefreezecharge": {
  28279. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28280. "type": "number"
  28281. },
  28282. "closememberchargevalue": {
  28283. "description": "平仓会员手续费设置值",
  28284. "type": "number"
  28285. },
  28286. "closeqty": {
  28287. "description": "平仓数量(先建后平操作 需要记录)",
  28288. "type": "number"
  28289. },
  28290. "closetradeqty": {
  28291. "description": "平仓成交数量(先建后平操作,需要记录)",
  28292. "type": "number"
  28293. },
  28294. "closeunfreezecharge": {
  28295. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28296. "type": "number"
  28297. },
  28298. "decimalplace": {
  28299. "description": "商品报价小数位",
  28300. "type": "integer"
  28301. },
  28302. "delistingtype": {
  28303. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28304. "type": "integer"
  28305. },
  28306. "enumdicname": {
  28307. "description": "单位名称",
  28308. "type": "string"
  28309. },
  28310. "freezecharge": {
  28311. "description": "冻结手续费",
  28312. "type": "number"
  28313. },
  28314. "freezemargin": {
  28315. "description": "冻结保证金(冻结交易金额)",
  28316. "type": "number"
  28317. },
  28318. "gcaccountid": {
  28319. "description": "账户ID[合约币种]",
  28320. "type": "integer"
  28321. },
  28322. "goodscode": {
  28323. "description": "商品代码",
  28324. "type": "string"
  28325. },
  28326. "goodsid": {
  28327. "description": "商品ID",
  28328. "type": "integer"
  28329. },
  28330. "goodsname": {
  28331. "description": "商品名称",
  28332. "type": "string"
  28333. },
  28334. "goodunitid": {
  28335. "description": "商品单位id",
  28336. "type": "integer"
  28337. },
  28338. "histradedate": {
  28339. "description": "历史交易日",
  28340. "type": "string"
  28341. },
  28342. "isconfirmexercise": {
  28343. "description": "是否确认行权- 0:否 1:是",
  28344. "type": "integer"
  28345. },
  28346. "ispreexercise": {
  28347. "description": "是否预申报- 0:否 1:是",
  28348. "type": "integer"
  28349. },
  28350. "isvaliddata": {
  28351. "description": "是否有效 - 0:无效 1:有效",
  28352. "type": "integer"
  28353. },
  28354. "listingselecttype": {
  28355. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28356. "type": "integer"
  28357. },
  28358. "marginalgorithm": {
  28359. "description": "保证金收取方式 1:比率 2:固定",
  28360. "type": "integer"
  28361. },
  28362. "marginvalue": {
  28363. "description": "即市保证金设置值",
  28364. "type": "number"
  28365. },
  28366. "marketid": {
  28367. "description": "市场ID",
  28368. "type": "integer"
  28369. },
  28370. "marketmaxsub": {
  28371. "description": "市价最大偏移范围",
  28372. "type": "number"
  28373. },
  28374. "marketname": {
  28375. "description": "市场名称",
  28376. "type": "string"
  28377. },
  28378. "memberuserid": {
  28379. "description": "所属会员UserID",
  28380. "type": "integer"
  28381. },
  28382. "openexchagechargevalue": {
  28383. "description": "建仓交易所手续费设置值",
  28384. "type": "number"
  28385. },
  28386. "openfeealgorithm": {
  28387. "description": "建仓手续费收取方式 1:比率 2:固定",
  28388. "type": "integer"
  28389. },
  28390. "openfreezecharge": {
  28391. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28392. "type": "number"
  28393. },
  28394. "openmemberchargevalue": {
  28395. "description": "建仓会员手续费设置值",
  28396. "type": "number"
  28397. },
  28398. "openqty": {
  28399. "description": "开仓数量(先建后平操作,需要记录)",
  28400. "type": "number"
  28401. },
  28402. "opentradeqty": {
  28403. "description": "开仓成交数量(先建后平操作,需要记录)",
  28404. "type": "number"
  28405. },
  28406. "openunfreezecharge": {
  28407. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28408. "type": "number"
  28409. },
  28410. "operatetype": {
  28411. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28412. "type": "integer"
  28413. },
  28414. "operatorid": {
  28415. "description": "登录账号(LoginID)",
  28416. "type": "integer"
  28417. },
  28418. "optiontype": {
  28419. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28420. "type": "integer"
  28421. },
  28422. "orderid": {
  28423. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28424. "type": "string"
  28425. },
  28426. "orderprice": {
  28427. "description": "委托价格",
  28428. "type": "number"
  28429. },
  28430. "orderqty": {
  28431. "description": "委托数量",
  28432. "type": "number"
  28433. },
  28434. "ordersrc": {
  28435. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28436. "type": "integer"
  28437. },
  28438. "orderstatus": {
  28439. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28440. "type": "integer"
  28441. },
  28442. "ordertime": {
  28443. "description": "委托时间",
  28444. "type": "string"
  28445. },
  28446. "preexerciseprice": {
  28447. "description": "预申报价格",
  28448. "type": "number"
  28449. },
  28450. "premium": {
  28451. "description": "权利金",
  28452. "type": "number"
  28453. },
  28454. "preorderid": {
  28455. "description": "关联预埋单号(止盈止损单时填写)",
  28456. "type": "string"
  28457. },
  28458. "pricemode": {
  28459. "description": "取价方式 - 1:市价 2: 限价",
  28460. "type": "integer"
  28461. },
  28462. "qtydecimalplace": {
  28463. "description": "成交量小数位",
  28464. "type": "integer"
  28465. },
  28466. "quoteid": {
  28467. "description": "报价单ID",
  28468. "type": "integer"
  28469. },
  28470. "relatedid": {
  28471. "description": "关联单号(交割单)",
  28472. "type": "string"
  28473. },
  28474. "retcode": {
  28475. "description": "错误代码",
  28476. "type": "integer"
  28477. },
  28478. "sessionid": {
  28479. "description": "会话ID",
  28480. "type": "integer"
  28481. },
  28482. "tradedate": {
  28483. "description": "交易日(yyyyMMdd)",
  28484. "type": "string"
  28485. },
  28486. "trademode": {
  28487. "description": "交易模式",
  28488. "type": "integer"
  28489. },
  28490. "tradeproperty": {
  28491. "description": "交易属性",
  28492. "type": "integer"
  28493. },
  28494. "tradeqty": {
  28495. "description": "成交数量",
  28496. "type": "number"
  28497. },
  28498. "unfreezecharge": {
  28499. "description": "解冻手续费",
  28500. "type": "number"
  28501. },
  28502. "unfreezemargin": {
  28503. "description": "解冻保证金",
  28504. "type": "number"
  28505. },
  28506. "updatetime": {
  28507. "description": "更新时间",
  28508. "type": "string"
  28509. },
  28510. "uuid": {
  28511. "description": "发起端唯一id",
  28512. "type": "string"
  28513. },
  28514. "validtime": {
  28515. "description": "有效期限",
  28516. "type": "string"
  28517. },
  28518. "validtype": {
  28519. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28520. "type": "integer"
  28521. },
  28522. "volumetype": {
  28523. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28524. "type": "integer"
  28525. }
  28526. }
  28527. },
  28528. "order.QueryTradeDetailRsp": {
  28529. "type": "object",
  28530. "required": [
  28531. "accountid",
  28532. "buyorsell",
  28533. "goodsid",
  28534. "marketid",
  28535. "memberuserid",
  28536. "orderid",
  28537. "tradeamount",
  28538. "tradedate",
  28539. "tradeid",
  28540. "tradeprice",
  28541. "tradeqty",
  28542. "tradetime"
  28543. ],
  28544. "properties": {
  28545. "accountid": {
  28546. "description": "账户ID[报价币种]",
  28547. "type": "integer"
  28548. },
  28549. "advanceratio": {
  28550. "description": "首付比率",
  28551. "type": "number"
  28552. },
  28553. "buildtype": {
  28554. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28555. "type": "integer"
  28556. },
  28557. "buyorsell": {
  28558. "description": "方向 - 0:买 1:卖",
  28559. "type": "integer"
  28560. },
  28561. "charge": {
  28562. "description": "手续费",
  28563. "type": "number"
  28564. },
  28565. "closecharge": {
  28566. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28567. "type": "number"
  28568. },
  28569. "closeexchagechargevalue": {
  28570. "description": "平仓交易所手续费设置值",
  28571. "type": "number"
  28572. },
  28573. "closefeealgorithm": {
  28574. "description": "平仓手续费收取方式 1:比率 2:固定",
  28575. "type": "integer"
  28576. },
  28577. "closememberchargevalue": {
  28578. "description": "平仓会员手续费设置值",
  28579. "type": "number"
  28580. },
  28581. "closepl": {
  28582. "description": "平仓盈亏",
  28583. "type": "number"
  28584. },
  28585. "closepl2": {
  28586. "description": "平仓盈亏[逐笔]",
  28587. "type": "number"
  28588. },
  28589. "closeqty": {
  28590. "description": "平仓数量(先建后平操作 需要记录)",
  28591. "type": "number"
  28592. },
  28593. "creditamount": {
  28594. "description": "授信金额",
  28595. "type": "number"
  28596. },
  28597. "decimalplace": {
  28598. "description": "商品报价小数位",
  28599. "type": "integer"
  28600. },
  28601. "enumdicname": {
  28602. "description": "单位名称",
  28603. "type": "string"
  28604. },
  28605. "gcaccountid": {
  28606. "description": "账户ID[合约币种]",
  28607. "type": "integer"
  28608. },
  28609. "goodscode": {
  28610. "description": "商品代码",
  28611. "type": "string"
  28612. },
  28613. "goodsid": {
  28614. "description": "商品ID",
  28615. "type": "integer"
  28616. },
  28617. "goodsname": {
  28618. "description": "商品名称",
  28619. "type": "string"
  28620. },
  28621. "goodunitid": {
  28622. "description": "商品单位id",
  28623. "type": "integer"
  28624. },
  28625. "intclosepl": {
  28626. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28627. "type": "integer"
  28628. },
  28629. "isconfirmexercise": {
  28630. "description": "是否确认行权- 0:否 1:是",
  28631. "type": "integer"
  28632. },
  28633. "ismain": {
  28634. "description": "是否主单 - 0:不是 1:是",
  28635. "type": "integer"
  28636. },
  28637. "ispreexercise": {
  28638. "description": "是否预申报- 0:否 1:是",
  28639. "type": "integer"
  28640. },
  28641. "isreckoned": {
  28642. "description": "是否结算 - 0:未结算 1:已结算",
  28643. "type": "integer"
  28644. },
  28645. "listingselecttype": {
  28646. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28647. "type": "integer"
  28648. },
  28649. "marketid": {
  28650. "description": "市场ID",
  28651. "type": "integer"
  28652. },
  28653. "marketname": {
  28654. "description": "市场名称",
  28655. "type": "string"
  28656. },
  28657. "matchaccountid": {
  28658. "description": "对手账号id",
  28659. "type": "integer"
  28660. },
  28661. "memberuserid": {
  28662. "description": "会员id 个人投资者 需要填写",
  28663. "type": "integer"
  28664. },
  28665. "opencharge": {
  28666. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28667. "type": "number"
  28668. },
  28669. "openexchagechargevalue": {
  28670. "description": "建仓交易所手续费设置值",
  28671. "type": "number"
  28672. },
  28673. "openfeealgorithm": {
  28674. "description": "建仓手续费收取方式 1:比率 2:固定",
  28675. "type": "integer"
  28676. },
  28677. "openmemberchargevalue": {
  28678. "description": "建仓会员手续费设置值",
  28679. "type": "number"
  28680. },
  28681. "openqty": {
  28682. "description": "开仓数量(先建后平操作 需要记录)",
  28683. "type": "number"
  28684. },
  28685. "optiontype": {
  28686. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28687. "type": "integer"
  28688. },
  28689. "orderid": {
  28690. "description": "委托单号",
  28691. "type": "string"
  28692. },
  28693. "payamount": {
  28694. "description": "支付金额(付款金额)",
  28695. "type": "number"
  28696. },
  28697. "performanceplanid": {
  28698. "description": "履约计划ID[期权]",
  28699. "type": "integer"
  28700. },
  28701. "performancestatus": {
  28702. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28703. "type": "integer"
  28704. },
  28705. "preexerciseprice": {
  28706. "description": "预申报价格",
  28707. "type": "number"
  28708. },
  28709. "premium": {
  28710. "description": "权利金 - [持仓单的权利金]",
  28711. "type": "number"
  28712. },
  28713. "qtydecimalplace": {
  28714. "description": "商品报价小数位",
  28715. "type": "integer"
  28716. },
  28717. "recvamount": {
  28718. "description": "到账金额 = 成交金额 - 手续费",
  28719. "type": "number"
  28720. },
  28721. "relatedouttradeid": {
  28722. "description": "关联外部成交单ID",
  28723. "type": "integer"
  28724. },
  28725. "status": {
  28726. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28727. "type": "integer"
  28728. },
  28729. "totalamount": {
  28730. "description": "订单总额 = 成交金额 + 手续费",
  28731. "type": "number"
  28732. },
  28733. "tradeamount": {
  28734. "description": "成交金额[账户币种,用于所有权]",
  28735. "type": "number"
  28736. },
  28737. "tradedate": {
  28738. "description": "交易日(yyyyMMdd)",
  28739. "type": "string"
  28740. },
  28741. "tradeid": {
  28742. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28743. "type": "string"
  28744. },
  28745. "trademode": {
  28746. "description": "交易模式",
  28747. "type": "integer"
  28748. },
  28749. "tradeprice": {
  28750. "description": "成交价格",
  28751. "type": "number"
  28752. },
  28753. "tradeproperty": {
  28754. "description": "交易属性",
  28755. "type": "integer"
  28756. },
  28757. "tradeqty": {
  28758. "description": "成交数量",
  28759. "type": "number"
  28760. },
  28761. "tradetime": {
  28762. "description": "成交时间",
  28763. "type": "string"
  28764. },
  28765. "tradetype": {
  28766. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28767. "type": "integer"
  28768. }
  28769. }
  28770. },
  28771. "order.QueryTradeOrderDetailRsp": {
  28772. "type": "object",
  28773. "required": [
  28774. "accountid",
  28775. "buildtype",
  28776. "buyorsell",
  28777. "goodsid",
  28778. "marketid",
  28779. "operatetype",
  28780. "orderqty",
  28781. "ordertime",
  28782. "pricemode",
  28783. "tradedate",
  28784. "validtype"
  28785. ],
  28786. "properties": {
  28787. "accountid": {
  28788. "description": "账户ID[报价币种]",
  28789. "type": "integer"
  28790. },
  28791. "buildtype": {
  28792. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28793. "type": "integer"
  28794. },
  28795. "buyorsell": {
  28796. "description": "买卖 - 0:买 1:卖",
  28797. "type": "integer"
  28798. },
  28799. "cancelorderid": {
  28800. "description": "撤单单号(撤单时填写)",
  28801. "type": "string"
  28802. },
  28803. "cancelqty": {
  28804. "description": "撤单数量",
  28805. "type": "number"
  28806. },
  28807. "clienttype": {
  28808. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28809. "type": "integer"
  28810. },
  28811. "closefreezecharge": {
  28812. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28813. "type": "number"
  28814. },
  28815. "closeqty": {
  28816. "description": "平仓数量(先建后平操作 需要记录)",
  28817. "type": "number"
  28818. },
  28819. "closetradeqty": {
  28820. "description": "平仓成交数量(先建后平操作,需要记录)",
  28821. "type": "number"
  28822. },
  28823. "closeunfreezecharge": {
  28824. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28825. "type": "number"
  28826. },
  28827. "decimalplace": {
  28828. "description": "商品报价小数位",
  28829. "type": "integer"
  28830. },
  28831. "delistingtype": {
  28832. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28833. "type": "integer"
  28834. },
  28835. "enableqty": {
  28836. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  28837. "type": "number"
  28838. },
  28839. "enumdicname": {
  28840. "description": "单位名称",
  28841. "type": "string"
  28842. },
  28843. "freezecharge": {
  28844. "description": "冻结手续费",
  28845. "type": "number"
  28846. },
  28847. "freezemargin": {
  28848. "description": "冻结保证金(冻结交易金额)",
  28849. "type": "number"
  28850. },
  28851. "goodscode": {
  28852. "description": "商品代码",
  28853. "type": "string"
  28854. },
  28855. "goodsid": {
  28856. "description": "商品ID",
  28857. "type": "integer"
  28858. },
  28859. "goodsname": {
  28860. "description": "商品名称",
  28861. "type": "string"
  28862. },
  28863. "goodunitid": {
  28864. "description": "商品单位id",
  28865. "type": "integer"
  28866. },
  28867. "listingselecttype": {
  28868. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28869. "type": "integer"
  28870. },
  28871. "marketid": {
  28872. "description": "市场ID",
  28873. "type": "integer"
  28874. },
  28875. "marketname": {
  28876. "description": "市场名称",
  28877. "type": "string"
  28878. },
  28879. "openfreezecharge": {
  28880. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28881. "type": "number"
  28882. },
  28883. "openqty": {
  28884. "description": "开仓数量(先建后平操作,需要记录)",
  28885. "type": "number"
  28886. },
  28887. "opentradeqty": {
  28888. "description": "开仓成交数量(先建后平操作,需要记录)",
  28889. "type": "number"
  28890. },
  28891. "openunfreezecharge": {
  28892. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28893. "type": "number"
  28894. },
  28895. "operatetype": {
  28896. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28897. "type": "integer"
  28898. },
  28899. "operatorid": {
  28900. "description": "登录账号(LoginID)",
  28901. "type": "integer"
  28902. },
  28903. "orderid": {
  28904. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28905. "type": "string"
  28906. },
  28907. "orderprice": {
  28908. "description": "委托价格",
  28909. "type": "number"
  28910. },
  28911. "orderqty": {
  28912. "description": "委托数量",
  28913. "type": "number"
  28914. },
  28915. "ordersrc": {
  28916. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28917. "type": "integer"
  28918. },
  28919. "orderstatus": {
  28920. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28921. "type": "integer"
  28922. },
  28923. "ordertime": {
  28924. "description": "委托时间",
  28925. "type": "string"
  28926. },
  28927. "preorderid": {
  28928. "description": "关联预埋单号(止盈止损单时填写)",
  28929. "type": "string"
  28930. },
  28931. "pricemode": {
  28932. "description": "取价方式 - 1:市价 2: 限价",
  28933. "type": "integer"
  28934. },
  28935. "qtydecimalplace": {
  28936. "description": "商品报价小数位",
  28937. "type": "integer"
  28938. },
  28939. "relatedid": {
  28940. "description": "关联单号(交割单)",
  28941. "type": "string"
  28942. },
  28943. "tradedate": {
  28944. "description": "交易日(yyyyMMdd)",
  28945. "type": "string"
  28946. },
  28947. "trademode": {
  28948. "description": "交易模式",
  28949. "type": "integer"
  28950. },
  28951. "tradeqty": {
  28952. "description": "成交数量",
  28953. "type": "number"
  28954. },
  28955. "unfreezecharge": {
  28956. "description": "解冻手续费",
  28957. "type": "number"
  28958. },
  28959. "unfreezemargin": {
  28960. "description": "解冻保证金",
  28961. "type": "number"
  28962. },
  28963. "validtime": {
  28964. "description": "有效期限",
  28965. "type": "string"
  28966. },
  28967. "validtype": {
  28968. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28969. "type": "integer"
  28970. },
  28971. "volumetype": {
  28972. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28973. "type": "integer"
  28974. }
  28975. }
  28976. },
  28977. "order.QueryTradePositionRsp": {
  28978. "type": "object",
  28979. "required": [
  28980. "goodsid"
  28981. ],
  28982. "properties": {
  28983. "accountid": {
  28984. "description": "资金账户",
  28985. "type": "integer"
  28986. },
  28987. "agreeunit": {
  28988. "description": "合约单位",
  28989. "type": "number"
  28990. },
  28991. "averageprice": {
  28992. "description": "持仓均价",
  28993. "type": "number"
  28994. },
  28995. "buyorsell": {
  28996. "description": "方向 - 0:买 1:卖",
  28997. "type": "integer"
  28998. },
  28999. "closetotalqty": {
  29000. "description": "平仓总数量",
  29001. "type": "number"
  29002. },
  29003. "curholderamount": {
  29004. "description": "当前持仓总金额[商品币种]",
  29005. "type": "number"
  29006. },
  29007. "curpositionqty": {
  29008. "description": "当前持仓总数量",
  29009. "type": "number"
  29010. },
  29011. "currencyid": {
  29012. "description": "报价货币ID",
  29013. "type": "integer"
  29014. },
  29015. "curtdposition": {
  29016. "description": "期末今日头寸",
  29017. "type": "number"
  29018. },
  29019. "decimalplace": {
  29020. "description": "报价小数位",
  29021. "type": "integer"
  29022. },
  29023. "enableqty": {
  29024. "description": "可用量",
  29025. "type": "number"
  29026. },
  29027. "fretdposition": {
  29028. "description": "冻结今日头寸",
  29029. "type": "number"
  29030. },
  29031. "frozenqty": {
  29032. "description": "持仓冻结数量",
  29033. "type": "number"
  29034. },
  29035. "goodscode": {
  29036. "description": "商品代码",
  29037. "type": "string"
  29038. },
  29039. "goodsid": {
  29040. "description": "商品Id",
  29041. "type": "integer"
  29042. },
  29043. "goodsname": {
  29044. "description": "商品名称",
  29045. "type": "string"
  29046. },
  29047. "goodunit": {
  29048. "description": "报价单位",
  29049. "type": "string"
  29050. },
  29051. "goodunitid": {
  29052. "description": "报价单位ID",
  29053. "type": "integer"
  29054. },
  29055. "holderamount": {
  29056. "description": "期初持仓总金额[商品币种]",
  29057. "type": "number"
  29058. },
  29059. "marketid": {
  29060. "description": "所属市场ID",
  29061. "type": "integer"
  29062. },
  29063. "openreqqty": {
  29064. "description": "开仓申请数量(用于比较最大持仓数量)",
  29065. "type": "number"
  29066. },
  29067. "opentotalqty": {
  29068. "description": "开仓总数量",
  29069. "type": "number"
  29070. },
  29071. "otherfrozenqty": {
  29072. "description": "持仓其他冻结数量(交割冻结)",
  29073. "type": "number"
  29074. },
  29075. "positionqty": {
  29076. "description": "期初持仓数量",
  29077. "type": "number"
  29078. },
  29079. "qtydecimalplace": {
  29080. "description": "成交量小数位",
  29081. "type": "integer"
  29082. },
  29083. "tnqty": {
  29084. "description": "T+N冻结总量",
  29085. "type": "number"
  29086. },
  29087. "tnusedqty": {
  29088. "description": "T+N使用量(可以使用T+N的冻结数量)",
  29089. "type": "number"
  29090. },
  29091. "trademode": {
  29092. "description": "交易模式",
  29093. "type": "integer"
  29094. },
  29095. "usedmargin": {
  29096. "description": "占用保证金[商品币种]",
  29097. "type": "number"
  29098. }
  29099. }
  29100. },
  29101. "quote.HistoryData": {
  29102. "type": "object",
  29103. "properties": {
  29104. "c": {
  29105. "description": "收盘价",
  29106. "type": "number"
  29107. },
  29108. "f": {
  29109. "description": "是否补充数据",
  29110. "type": "boolean"
  29111. },
  29112. "h": {
  29113. "description": "最高价",
  29114. "type": "number"
  29115. },
  29116. "hv": {
  29117. "description": "持仓量",
  29118. "type": "integer"
  29119. },
  29120. "l": {
  29121. "description": "最低价",
  29122. "type": "number"
  29123. },
  29124. "o": {
  29125. "description": "开盘价",
  29126. "type": "number"
  29127. },
  29128. "s": {
  29129. "description": "结算价,日线周期(包括)以上才有",
  29130. "type": "number"
  29131. },
  29132. "ts": {
  29133. "description": "时间",
  29134. "type": "string"
  29135. },
  29136. "tt": {
  29137. "description": "总金额",
  29138. "type": "number"
  29139. },
  29140. "tv": {
  29141. "description": "总量",
  29142. "type": "integer"
  29143. }
  29144. }
  29145. },
  29146. "quote.HistoryTikData": {
  29147. "type": "object",
  29148. "properties": {
  29149. "AV": {
  29150. "description": "卖量",
  29151. "type": "integer"
  29152. },
  29153. "Ask": {
  29154. "description": "卖价",
  29155. "type": "number"
  29156. },
  29157. "BV": {
  29158. "description": "买量",
  29159. "type": "integer"
  29160. },
  29161. "Bid": {
  29162. "description": "买价",
  29163. "type": "number"
  29164. },
  29165. "HI": {
  29166. "description": "单笔持仓",
  29167. "type": "integer"
  29168. },
  29169. "HV": {
  29170. "description": "持仓量",
  29171. "type": "integer"
  29172. },
  29173. "PE": {
  29174. "description": "现价",
  29175. "type": "number"
  29176. },
  29177. "TDR": {
  29178. "description": "交易方向,0:买 1:卖",
  29179. "type": "integer"
  29180. },
  29181. "TK": {
  29182. "description": "交易类型",
  29183. "type": "integer"
  29184. },
  29185. "TS": {
  29186. "description": "行情时间文本",
  29187. "type": "string"
  29188. },
  29189. "TT": {
  29190. "description": "现金额",
  29191. "type": "number"
  29192. },
  29193. "Vol": {
  29194. "description": "现量",
  29195. "type": "integer"
  29196. }
  29197. }
  29198. },
  29199. "quote.QueryQuoteDayRsp": {
  29200. "type": "object",
  29201. "properties": {
  29202. "ask": {
  29203. "description": "卖1",
  29204. "type": "number"
  29205. },
  29206. "ask10": {
  29207. "description": "卖10",
  29208. "type": "number"
  29209. },
  29210. "ask2": {
  29211. "description": "卖2",
  29212. "type": "number"
  29213. },
  29214. "ask3": {
  29215. "description": "卖3",
  29216. "type": "number"
  29217. },
  29218. "ask4": {
  29219. "description": "卖4",
  29220. "type": "number"
  29221. },
  29222. "ask5": {
  29223. "description": "卖5",
  29224. "type": "number"
  29225. },
  29226. "ask6": {
  29227. "description": "卖6",
  29228. "type": "number"
  29229. },
  29230. "ask7": {
  29231. "description": "卖7",
  29232. "type": "number"
  29233. },
  29234. "ask8": {
  29235. "description": "卖8",
  29236. "type": "number"
  29237. },
  29238. "ask9": {
  29239. "description": "卖9",
  29240. "type": "number"
  29241. },
  29242. "askorderid": {
  29243. "description": "卖单号1",
  29244. "type": "integer"
  29245. },
  29246. "askorderid2": {
  29247. "description": "卖单号2",
  29248. "type": "integer"
  29249. },
  29250. "askorderid3": {
  29251. "description": "卖单号3",
  29252. "type": "integer"
  29253. },
  29254. "askorderid4": {
  29255. "description": "卖单号4",
  29256. "type": "integer"
  29257. },
  29258. "askorderid5": {
  29259. "description": "卖单号5",
  29260. "type": "integer"
  29261. },
  29262. "askordervolume": {
  29263. "description": "卖单量1",
  29264. "type": "integer"
  29265. },
  29266. "askordervolume10": {
  29267. "description": "卖单量10",
  29268. "type": "integer"
  29269. },
  29270. "askordervolume2": {
  29271. "description": "卖单量2",
  29272. "type": "integer"
  29273. },
  29274. "askordervolume3": {
  29275. "description": "卖单量3",
  29276. "type": "integer"
  29277. },
  29278. "askordervolume4": {
  29279. "description": "卖单量4",
  29280. "type": "integer"
  29281. },
  29282. "askordervolume5": {
  29283. "description": "卖单量5",
  29284. "type": "integer"
  29285. },
  29286. "askordervolume6": {
  29287. "description": "卖单量6",
  29288. "type": "integer"
  29289. },
  29290. "askordervolume7": {
  29291. "description": "卖单量7",
  29292. "type": "integer"
  29293. },
  29294. "askordervolume8": {
  29295. "description": "卖单量8",
  29296. "type": "integer"
  29297. },
  29298. "askordervolume9": {
  29299. "description": "卖单量9",
  29300. "type": "integer"
  29301. },
  29302. "askqueueinfo": {
  29303. "description": "大利市卖港股用",
  29304. "type": "string"
  29305. },
  29306. "askvolume": {
  29307. "description": "卖量1",
  29308. "type": "integer"
  29309. },
  29310. "askvolume10": {
  29311. "description": "卖量10",
  29312. "type": "integer"
  29313. },
  29314. "askvolume2": {
  29315. "description": "卖量2",
  29316. "type": "integer"
  29317. },
  29318. "askvolume3": {
  29319. "description": "卖量3",
  29320. "type": "integer"
  29321. },
  29322. "askvolume4": {
  29323. "description": "卖量4",
  29324. "type": "integer"
  29325. },
  29326. "askvolume5": {
  29327. "description": "卖量5",
  29328. "type": "integer"
  29329. },
  29330. "askvolume6": {
  29331. "description": "卖量6",
  29332. "type": "integer"
  29333. },
  29334. "askvolume7": {
  29335. "description": "卖量7",
  29336. "type": "integer"
  29337. },
  29338. "askvolume8": {
  29339. "description": "卖量8",
  29340. "type": "integer"
  29341. },
  29342. "askvolume9": {
  29343. "description": "卖量9",
  29344. "type": "integer"
  29345. },
  29346. "averageprice": {
  29347. "description": "均价",
  29348. "type": "number"
  29349. },
  29350. "bid": {
  29351. "description": "买1",
  29352. "type": "number"
  29353. },
  29354. "bid10": {
  29355. "description": "买10",
  29356. "type": "number"
  29357. },
  29358. "bid2": {
  29359. "description": "买2",
  29360. "type": "number"
  29361. },
  29362. "bid3": {
  29363. "description": "买3",
  29364. "type": "number"
  29365. },
  29366. "bid4": {
  29367. "description": "买4",
  29368. "type": "number"
  29369. },
  29370. "bid5": {
  29371. "description": "买5",
  29372. "type": "number"
  29373. },
  29374. "bid6": {
  29375. "description": "买6",
  29376. "type": "number"
  29377. },
  29378. "bid7": {
  29379. "description": "买7",
  29380. "type": "number"
  29381. },
  29382. "bid8": {
  29383. "description": "买8",
  29384. "type": "number"
  29385. },
  29386. "bid9": {
  29387. "description": "买9",
  29388. "type": "number"
  29389. },
  29390. "bidorderid": {
  29391. "description": "买单号1",
  29392. "type": "integer"
  29393. },
  29394. "bidorderid2": {
  29395. "description": "买单号2",
  29396. "type": "integer"
  29397. },
  29398. "bidorderid3": {
  29399. "description": "买单号3",
  29400. "type": "integer"
  29401. },
  29402. "bidorderid4": {
  29403. "description": "买单号4",
  29404. "type": "integer"
  29405. },
  29406. "bidorderid5": {
  29407. "description": "买单号5",
  29408. "type": "integer"
  29409. },
  29410. "bidordervolume": {
  29411. "description": "买单量1",
  29412. "type": "integer"
  29413. },
  29414. "bidordervolume10": {
  29415. "description": "买单量10",
  29416. "type": "integer"
  29417. },
  29418. "bidordervolume2": {
  29419. "description": "买单量2",
  29420. "type": "integer"
  29421. },
  29422. "bidordervolume3": {
  29423. "description": "买单量3",
  29424. "type": "integer"
  29425. },
  29426. "bidordervolume4": {
  29427. "description": "买单量4",
  29428. "type": "integer"
  29429. },
  29430. "bidordervolume5": {
  29431. "description": "买单量5",
  29432. "type": "integer"
  29433. },
  29434. "bidordervolume6": {
  29435. "description": "买单量6",
  29436. "type": "integer"
  29437. },
  29438. "bidordervolume7": {
  29439. "description": "买单量7",
  29440. "type": "integer"
  29441. },
  29442. "bidordervolume8": {
  29443. "description": "买单量8",
  29444. "type": "integer"
  29445. },
  29446. "bidordervolume9": {
  29447. "description": "买单量9",
  29448. "type": "integer"
  29449. },
  29450. "bidqueueinfo": {
  29451. "description": "大利市买港股用",
  29452. "type": "string"
  29453. },
  29454. "bidvolume": {
  29455. "description": "买量1",
  29456. "type": "integer"
  29457. },
  29458. "bidvolume10": {
  29459. "description": "买量10",
  29460. "type": "integer"
  29461. },
  29462. "bidvolume2": {
  29463. "description": "买量2",
  29464. "type": "integer"
  29465. },
  29466. "bidvolume3": {
  29467. "description": "买量3",
  29468. "type": "integer"
  29469. },
  29470. "bidvolume4": {
  29471. "description": "买量4",
  29472. "type": "integer"
  29473. },
  29474. "bidvolume5": {
  29475. "description": "买量5",
  29476. "type": "integer"
  29477. },
  29478. "bidvolume6": {
  29479. "description": "买量6",
  29480. "type": "integer"
  29481. },
  29482. "bidvolume7": {
  29483. "description": "买量7",
  29484. "type": "integer"
  29485. },
  29486. "bidvolume8": {
  29487. "description": "买量8",
  29488. "type": "integer"
  29489. },
  29490. "bidvolume9": {
  29491. "description": "买量9",
  29492. "type": "integer"
  29493. },
  29494. "calloptionpremiums": {
  29495. "description": "认购期权1",
  29496. "type": "integer"
  29497. },
  29498. "calloptionpremiums2": {
  29499. "description": "认购期权2",
  29500. "type": "integer"
  29501. },
  29502. "calloptionpremiums3": {
  29503. "description": "认购期权3",
  29504. "type": "integer"
  29505. },
  29506. "calloptionpremiums4": {
  29507. "description": "认购期权4",
  29508. "type": "integer"
  29509. },
  29510. "calloptionpremiums5": {
  29511. "description": "认购期权5",
  29512. "type": "integer"
  29513. },
  29514. "cleartime": {
  29515. "description": "清盘时间",
  29516. "type": "integer"
  29517. },
  29518. "exchangecode": {
  29519. "description": "交易所代码",
  29520. "type": "integer"
  29521. },
  29522. "exchangedate": {
  29523. "description": "交易日",
  29524. "type": "integer"
  29525. },
  29526. "goodscode": {
  29527. "description": "商品代码",
  29528. "type": "string"
  29529. },
  29530. "grepmarketprice": {
  29531. "description": "暗盘价 港股专用",
  29532. "type": "number"
  29533. },
  29534. "highest": {
  29535. "description": "最高价",
  29536. "type": "number"
  29537. },
  29538. "holdincrement": {
  29539. "description": "单笔持仓",
  29540. "type": "integer"
  29541. },
  29542. "holdvolume": {
  29543. "description": "持仓",
  29544. "type": "integer"
  29545. },
  29546. "iep": {
  29547. "description": "平衡价 港股专用",
  29548. "type": "number"
  29549. },
  29550. "iev": {
  29551. "description": "平衡量 港股专用",
  29552. "type": "number"
  29553. },
  29554. "inventory": {
  29555. "description": "库存",
  29556. "type": "integer"
  29557. },
  29558. "iscleared": {
  29559. "description": "是否清盘标志",
  29560. "type": "integer"
  29561. },
  29562. "issettled": {
  29563. "description": "是否结算标志",
  29564. "type": "integer"
  29565. },
  29566. "last": {
  29567. "description": "最新价",
  29568. "type": "number"
  29569. },
  29570. "lastlot": {
  29571. "description": "最新成交手数",
  29572. "type": "integer"
  29573. },
  29574. "lasttime": {
  29575. "description": "行情时间(只有现价变化行情时间才变化)",
  29576. "type": "string"
  29577. },
  29578. "lastturnover": {
  29579. "description": "最新成交金额",
  29580. "type": "number"
  29581. },
  29582. "lastvolume": {
  29583. "description": "最新成交量",
  29584. "type": "integer"
  29585. },
  29586. "limitdown": {
  29587. "description": "跌停价",
  29588. "type": "number"
  29589. },
  29590. "limitup": {
  29591. "description": "涨停价",
  29592. "type": "number"
  29593. },
  29594. "lowest": {
  29595. "description": "最低价",
  29596. "type": "number"
  29597. },
  29598. "nontotalholdervolume": {
  29599. "description": "非交易持仓量",
  29600. "type": "integer"
  29601. },
  29602. "nontotallot": {
  29603. "description": "非交易总手数",
  29604. "type": "integer"
  29605. },
  29606. "nontotalturnover": {
  29607. "description": "非交易总金额",
  29608. "type": "integer"
  29609. },
  29610. "nontotalvolume": {
  29611. "description": "非交易总量",
  29612. "type": "integer"
  29613. },
  29614. "opened": {
  29615. "description": "开盘价",
  29616. "type": "number"
  29617. },
  29618. "opentime": {
  29619. "description": "开盘时间",
  29620. "type": "string"
  29621. },
  29622. "orderid": {
  29623. "description": "序号",
  29624. "type": "integer"
  29625. },
  29626. "preclose": {
  29627. "description": "昨收",
  29628. "type": "number"
  29629. },
  29630. "preholdvolume": {
  29631. "description": "昨持仓",
  29632. "type": "integer"
  29633. },
  29634. "presettle": {
  29635. "description": "昨结价",
  29636. "type": "number"
  29637. },
  29638. "publictradetype": {
  29639. "description": "公共交易标志类型 港股专用",
  29640. "type": "string"
  29641. },
  29642. "putoptionpremiums": {
  29643. "description": "认沽期权1",
  29644. "type": "integer"
  29645. },
  29646. "putoptionpremiums2": {
  29647. "description": "认沽期权2",
  29648. "type": "integer"
  29649. },
  29650. "putoptionpremiums3": {
  29651. "description": "认沽期权3",
  29652. "type": "integer"
  29653. },
  29654. "putoptionpremiums4": {
  29655. "description": "认沽期权4",
  29656. "type": "integer"
  29657. },
  29658. "putoptionpremiums5": {
  29659. "description": "认沽期权5",
  29660. "type": "integer"
  29661. },
  29662. "settle": {
  29663. "description": "结算价",
  29664. "type": "number"
  29665. },
  29666. "strikeprice": {
  29667. "description": "发行价",
  29668. "type": "number"
  29669. },
  29670. "totalaskvolume": {
  29671. "description": "内盘",
  29672. "type": "integer"
  29673. },
  29674. "totalbidvolume": {
  29675. "description": "外盘",
  29676. "type": "integer"
  29677. },
  29678. "totallot": {
  29679. "description": "总手数",
  29680. "type": "integer"
  29681. },
  29682. "totalturnover": {
  29683. "description": "总金额",
  29684. "type": "number"
  29685. },
  29686. "totalvolume": {
  29687. "description": "总量",
  29688. "type": "integer"
  29689. },
  29690. "utclasttime": {
  29691. "description": "utc的行情时间",
  29692. "type": "string"
  29693. }
  29694. }
  29695. },
  29696. "quote.QueryTSDataRsp": {
  29697. "type": "object",
  29698. "properties": {
  29699. "Count": {
  29700. "description": "交易日应有数据个数",
  29701. "type": "integer"
  29702. },
  29703. "decimalPlace": {
  29704. "description": "小数位",
  29705. "type": "integer"
  29706. },
  29707. "endTime": {
  29708. "description": "结束时间",
  29709. "type": "string"
  29710. },
  29711. "goodsCode": {
  29712. "description": "商品代码",
  29713. "type": "string"
  29714. },
  29715. "historyDatas": {
  29716. "description": "历史数据",
  29717. "type": "array",
  29718. "items": {
  29719. "$ref": "#/definitions/quote.HistoryData"
  29720. }
  29721. },
  29722. "outGoodsCode": {
  29723. "description": "外部商品代码",
  29724. "type": "string"
  29725. },
  29726. "preSettle": {
  29727. "description": "昨结价",
  29728. "type": "number"
  29729. },
  29730. "runSteps": {
  29731. "description": "交易日开休市计划",
  29732. "type": "array",
  29733. "items": {
  29734. "$ref": "#/definitions/quote.TSDataRunStep"
  29735. }
  29736. },
  29737. "startTime": {
  29738. "description": "开始时间",
  29739. "type": "string"
  29740. },
  29741. "tradeDate": {
  29742. "description": "交易日",
  29743. "type": "string"
  29744. }
  29745. }
  29746. },
  29747. "quote.TSDataRunStep": {
  29748. "type": "object",
  29749. "properties": {
  29750. "end": {
  29751. "description": "真实结束时间",
  29752. "type": "string"
  29753. },
  29754. "endflag": {
  29755. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  29756. "type": "integer"
  29757. },
  29758. "endtime": {
  29759. "description": "结束时间(HH:mm)",
  29760. "type": "string"
  29761. },
  29762. "endweekday": {
  29763. "description": "结束周几",
  29764. "type": "integer"
  29765. },
  29766. "groupid": {
  29767. "description": "分组ID",
  29768. "type": "integer"
  29769. },
  29770. "runstep": {
  29771. "description": "运行阶段 - 2:连续交易",
  29772. "type": "integer"
  29773. },
  29774. "sectionid": {
  29775. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  29776. "type": "integer"
  29777. },
  29778. "start": {
  29779. "description": "真实开始时间",
  29780. "type": "string"
  29781. },
  29782. "startflag": {
  29783. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  29784. "type": "integer"
  29785. },
  29786. "starttime": {
  29787. "description": "起始时间(HH:mm)",
  29788. "type": "string"
  29789. },
  29790. "startweekday": {
  29791. "description": "起始周几",
  29792. "type": "integer"
  29793. },
  29794. "tradeweekday": {
  29795. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  29796. "type": "integer"
  29797. }
  29798. }
  29799. },
  29800. "szdz.QueryConvertLogRsp": {
  29801. "type": "object",
  29802. "required": [
  29803. "logid"
  29804. ],
  29805. "properties": {
  29806. "accountid": {
  29807. "description": "资金账户ID",
  29808. "type": "integer"
  29809. },
  29810. "clientticket": {
  29811. "description": "客户端流水号",
  29812. "type": "string"
  29813. },
  29814. "converttype": {
  29815. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  29816. "type": "integer"
  29817. },
  29818. "createtime": {
  29819. "description": "记账时间",
  29820. "type": "string"
  29821. },
  29822. "daymaxvalue": {
  29823. "description": "配置当日最大转入限制",
  29824. "type": "number"
  29825. },
  29826. "daymaxvalue2": {
  29827. "description": "配置当日最大转入限制(转入)",
  29828. "type": "number"
  29829. },
  29830. "goodscode": {
  29831. "description": "商品代码",
  29832. "type": "string"
  29833. },
  29834. "goodsname": {
  29835. "description": "商品名称",
  29836. "type": "string"
  29837. },
  29838. "handlestatus": {
  29839. "description": "处理状态",
  29840. "type": "integer"
  29841. },
  29842. "innergoodsid": {
  29843. "description": "内部商品ID",
  29844. "type": "integer"
  29845. },
  29846. "inratio": {
  29847. "description": "配置转入比值",
  29848. "type": "integer"
  29849. },
  29850. "invalue": {
  29851. "description": "目标值",
  29852. "type": "number"
  29853. },
  29854. "logid": {
  29855. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29856. "type": "integer"
  29857. },
  29858. "mobile": {
  29859. "description": "手机号码(加密存储)",
  29860. "type": "string"
  29861. },
  29862. "outergoodscode": {
  29863. "description": "外部商品代码[JD\\PD]",
  29864. "type": "string"
  29865. },
  29866. "outratio": {
  29867. "description": "配置转出比值",
  29868. "type": "integer"
  29869. },
  29870. "outvalue": {
  29871. "description": "源值",
  29872. "type": "number"
  29873. },
  29874. "pddecimalplace": {
  29875. "description": "PD小数位",
  29876. "type": "integer"
  29877. },
  29878. "qty": {
  29879. "description": "数量",
  29880. "type": "string"
  29881. },
  29882. "remark": {
  29883. "description": "备注",
  29884. "type": "string"
  29885. },
  29886. "sessionid": {
  29887. "description": "会话ID",
  29888. "type": "integer"
  29889. },
  29890. "timemaxvalue": {
  29891. "description": "配置单次最大转入限制",
  29892. "type": "number"
  29893. },
  29894. "timemaxvalue2": {
  29895. "description": "配置单次最大转入限制(转入)",
  29896. "type": "number"
  29897. },
  29898. "timeminvalue": {
  29899. "description": "配置单次最小数量限制",
  29900. "type": "number"
  29901. },
  29902. "timeminvalue2": {
  29903. "description": "配置单次最小数量限制(转入)",
  29904. "type": "number"
  29905. },
  29906. "tradedate": {
  29907. "description": "交易日(yyyyMMdd)",
  29908. "type": "string"
  29909. },
  29910. "userid": {
  29911. "description": "用户ID",
  29912. "type": "integer"
  29913. }
  29914. }
  29915. },
  29916. "szdz.QueryGoodsPickupRsp": {
  29917. "type": "object",
  29918. "required": [
  29919. "takeorderid"
  29920. ],
  29921. "properties": {
  29922. "accountid": {
  29923. "description": "账户ID",
  29924. "type": "integer"
  29925. },
  29926. "address": {
  29927. "description": "提货人详细地址",
  29928. "type": "string"
  29929. },
  29930. "auditer": {
  29931. "description": "审核人",
  29932. "type": "integer"
  29933. },
  29934. "audittime": {
  29935. "description": "审核时间",
  29936. "type": "string"
  29937. },
  29938. "cardnum": {
  29939. "description": "提货人证件号码",
  29940. "type": "string"
  29941. },
  29942. "cardtypeid": {
  29943. "description": "提货人证件类型",
  29944. "type": "integer"
  29945. },
  29946. "checkremark": {
  29947. "description": "审核备注",
  29948. "type": "string"
  29949. },
  29950. "goodscode": {
  29951. "description": "商品代码",
  29952. "type": "string"
  29953. },
  29954. "goodsid": {
  29955. "description": "商品ID",
  29956. "type": "integer"
  29957. },
  29958. "goodsname": {
  29959. "description": "商品名称",
  29960. "type": "string"
  29961. },
  29962. "handlestatus": {
  29963. "description": "处理状态",
  29964. "type": "integer"
  29965. },
  29966. "marketid": {
  29967. "description": "市场ID",
  29968. "type": "integer"
  29969. },
  29970. "phonenum": {
  29971. "description": "提货人联系方式",
  29972. "type": "string"
  29973. },
  29974. "qty": {
  29975. "description": "提货数量",
  29976. "type": "number"
  29977. },
  29978. "recivername": {
  29979. "description": "提货人姓名",
  29980. "type": "string"
  29981. },
  29982. "reqtime": {
  29983. "description": "更新时间",
  29984. "type": "string"
  29985. },
  29986. "takemode": {
  29987. "description": "提货方式 - 2:自提 3:配送",
  29988. "type": "integer"
  29989. },
  29990. "takeorderid": {
  29991. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29992. "type": "string"
  29993. },
  29994. "takeorderstatus": {
  29995. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29996. "type": "integer"
  29997. },
  29998. "takeremark": {
  29999. "description": "提货备注",
  30000. "type": "string"
  30001. },
  30002. "tradedate": {
  30003. "description": "交易日(yyyyMMdd)",
  30004. "type": "string"
  30005. },
  30006. "userid": {
  30007. "description": "用户ID",
  30008. "type": "integer"
  30009. }
  30010. }
  30011. },
  30012. "szdz.QueryRecieptOrderRsp": {
  30013. "type": "object",
  30014. "required": [
  30015. "ordertime"
  30016. ],
  30017. "properties": {
  30018. "accountName": {
  30019. "description": "所属账号名称(已脱敏)",
  30020. "type": "string"
  30021. },
  30022. "accountid": {
  30023. "description": "资金账号",
  30024. "type": "integer"
  30025. },
  30026. "buyorsell": {
  30027. "description": "方向 - 0:买 1:卖",
  30028. "type": "integer"
  30029. },
  30030. "enableqty": {
  30031. "description": "可摘数量",
  30032. "type": "integer"
  30033. },
  30034. "goodscode": {
  30035. "description": "商品代码",
  30036. "type": "string"
  30037. },
  30038. "goodsid": {
  30039. "description": "商品ID",
  30040. "type": "integer"
  30041. },
  30042. "goodsname": {
  30043. "description": "商品名称",
  30044. "type": "string"
  30045. },
  30046. "orderid": {
  30047. "description": "委托单号",
  30048. "type": "string"
  30049. },
  30050. "orderprice": {
  30051. "description": "委托价格",
  30052. "type": "number"
  30053. },
  30054. "ordertime": {
  30055. "description": "委托时间",
  30056. "type": "string"
  30057. },
  30058. "tradedate": {
  30059. "description": "交易日(yyyyMMdd)",
  30060. "type": "string"
  30061. }
  30062. }
  30063. },
  30064. "szdz.QuerySZDZTradePositionRsp": {
  30065. "type": "object",
  30066. "properties": {
  30067. "accountid": {
  30068. "description": "账号Id",
  30069. "type": "integer"
  30070. },
  30071. "agreeunit": {
  30072. "description": "合约单位",
  30073. "type": "number"
  30074. },
  30075. "averageprice": {
  30076. "description": "持仓均价",
  30077. "type": "number"
  30078. },
  30079. "buyorsell": {
  30080. "description": "方向 - 0:买 1:卖",
  30081. "type": "integer"
  30082. },
  30083. "closetotalqty": {
  30084. "description": "平仓总数量",
  30085. "type": "integer"
  30086. },
  30087. "curholderamount": {
  30088. "description": "当前持仓总金额",
  30089. "type": "number"
  30090. },
  30091. "curpositionqty": {
  30092. "description": "当前持仓总数量",
  30093. "type": "integer"
  30094. },
  30095. "currencyid": {
  30096. "description": "报价货币ID",
  30097. "type": "integer"
  30098. },
  30099. "curtdposition": {
  30100. "description": "期末今日头寸",
  30101. "type": "integer"
  30102. },
  30103. "decimalplace": {
  30104. "description": "报价小数位",
  30105. "type": "integer"
  30106. },
  30107. "enableqty": {
  30108. "description": "可用量",
  30109. "type": "integer"
  30110. },
  30111. "fretdposition": {
  30112. "description": "冻结今日头寸",
  30113. "type": "integer"
  30114. },
  30115. "frozenqty": {
  30116. "description": "持仓冻结数量",
  30117. "type": "integer"
  30118. },
  30119. "goodscode": {
  30120. "description": "商品代码(内部)",
  30121. "type": "string"
  30122. },
  30123. "goodsid": {
  30124. "description": "商品Id",
  30125. "type": "integer"
  30126. },
  30127. "goodsname": {
  30128. "description": "商品名称",
  30129. "type": "string"
  30130. },
  30131. "goodunit": {
  30132. "description": "报价单位",
  30133. "type": "string"
  30134. },
  30135. "goodunitid": {
  30136. "description": "报价单位ID",
  30137. "type": "integer"
  30138. },
  30139. "holderamount": {
  30140. "description": "期初持仓总金额",
  30141. "type": "number"
  30142. },
  30143. "marketid": {
  30144. "description": "市场ID",
  30145. "type": "integer"
  30146. },
  30147. "openreqqty": {
  30148. "description": "开仓申请数量",
  30149. "type": "integer"
  30150. },
  30151. "opentotalqty": {
  30152. "description": "开仓总数量",
  30153. "type": "integer"
  30154. },
  30155. "otherfrozenqty": {
  30156. "description": "持仓其他冻结数量(交割冻结)",
  30157. "type": "integer"
  30158. },
  30159. "positionqty": {
  30160. "description": "期初持仓数量",
  30161. "type": "integer"
  30162. },
  30163. "szdz3freezqty": {
  30164. "description": "尚志大宗转换冻结总数量",
  30165. "type": "integer"
  30166. },
  30167. "tnqty": {
  30168. "description": "T+N冻结总量",
  30169. "type": "integer"
  30170. },
  30171. "tnusedqty": {
  30172. "description": "T+N使用量",
  30173. "type": "integer"
  30174. },
  30175. "trademode": {
  30176. "description": "交易模式",
  30177. "type": "integer"
  30178. },
  30179. "usedmargin": {
  30180. "description": "占用保证金",
  30181. "type": "number"
  30182. }
  30183. }
  30184. },
  30185. "taaccount.QueryAmountLogRsp": {
  30186. "type": "object",
  30187. "required": [
  30188. "accountid",
  30189. "amount",
  30190. "amountadjusttype",
  30191. "autoid",
  30192. "balance",
  30193. "createtime",
  30194. "currentbalance",
  30195. "operatetype"
  30196. ],
  30197. "properties": {
  30198. "OPERATETYPENAME": {
  30199. "description": "资金操作类型名称",
  30200. "type": "string"
  30201. },
  30202. "accountid": {
  30203. "description": "资金账户ID",
  30204. "type": "integer"
  30205. },
  30206. "agoodscode": {
  30207. "description": "竞拍商品代码",
  30208. "type": "string"
  30209. },
  30210. "agoodsname": {
  30211. "description": "竞拍商品名称",
  30212. "type": "string"
  30213. },
  30214. "amount": {
  30215. "description": "资金金额",
  30216. "type": "number"
  30217. },
  30218. "amountadjusttype": {
  30219. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30220. "type": "integer"
  30221. },
  30222. "autoid": {
  30223. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30224. "type": "integer"
  30225. },
  30226. "balance": {
  30227. "description": "期初余额",
  30228. "type": "number"
  30229. },
  30230. "businesscode": {
  30231. "description": "业务编号",
  30232. "type": "integer"
  30233. },
  30234. "createtime": {
  30235. "description": "发生时间",
  30236. "type": "string"
  30237. },
  30238. "currencyid": {
  30239. "description": "币种ID",
  30240. "type": "integer"
  30241. },
  30242. "currentbalance": {
  30243. "description": "期末余额(变动后金额)",
  30244. "type": "number"
  30245. },
  30246. "dgoodscode": {
  30247. "description": "交割商品代码",
  30248. "type": "string"
  30249. },
  30250. "dgoodsname": {
  30251. "description": "交割商品名称",
  30252. "type": "string"
  30253. },
  30254. "goodscode": {
  30255. "description": "商品代码",
  30256. "type": "string"
  30257. },
  30258. "goodsid": {
  30259. "description": "商品ID",
  30260. "type": "integer"
  30261. },
  30262. "goodsname": {
  30263. "description": "商品名称",
  30264. "type": "string"
  30265. },
  30266. "marketid": {
  30267. "description": "市场ID",
  30268. "type": "integer"
  30269. },
  30270. "marketname": {
  30271. "description": "市场名称",
  30272. "type": "string"
  30273. },
  30274. "moneyticket": {
  30275. "description": "资金流水号:银行端流水号",
  30276. "type": "integer"
  30277. },
  30278. "operatetype": {
  30279. "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:营销收款",
  30280. "type": "integer"
  30281. },
  30282. "relationorderid": {
  30283. "description": "关联单号",
  30284. "type": "string"
  30285. },
  30286. "remark": {
  30287. "description": "备注",
  30288. "type": "string"
  30289. },
  30290. "trademode": {
  30291. "description": "交易模式",
  30292. "type": "integer"
  30293. }
  30294. }
  30295. },
  30296. "taaccount.QueryHisAmountLogRsp": {
  30297. "type": "object",
  30298. "required": [
  30299. "accountid",
  30300. "amount",
  30301. "amountadjusttype",
  30302. "autoid",
  30303. "balance",
  30304. "createtime",
  30305. "currentbalance",
  30306. "histradedate",
  30307. "operatetype"
  30308. ],
  30309. "properties": {
  30310. "OPERATETYPENAME": {
  30311. "description": "资金操作类型名称",
  30312. "type": "string"
  30313. },
  30314. "accountid": {
  30315. "description": "资金账户ID",
  30316. "type": "integer"
  30317. },
  30318. "agoodscode": {
  30319. "description": "竞拍商品代码",
  30320. "type": "string"
  30321. },
  30322. "agoodsname": {
  30323. "description": "竞拍商品名称",
  30324. "type": "string"
  30325. },
  30326. "amount": {
  30327. "description": "资金金额",
  30328. "type": "number"
  30329. },
  30330. "amountadjusttype": {
  30331. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30332. "type": "integer"
  30333. },
  30334. "autoid": {
  30335. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30336. "type": "integer"
  30337. },
  30338. "balance": {
  30339. "description": "期初余额",
  30340. "type": "number"
  30341. },
  30342. "businesscode": {
  30343. "description": "业务编号",
  30344. "type": "integer"
  30345. },
  30346. "createtime": {
  30347. "description": "发生时间",
  30348. "type": "string"
  30349. },
  30350. "currencyid": {
  30351. "description": "币种ID",
  30352. "type": "integer"
  30353. },
  30354. "currentbalance": {
  30355. "description": "期末余额(变动后金额)",
  30356. "type": "number"
  30357. },
  30358. "dgoodscode": {
  30359. "description": "交割商品代码",
  30360. "type": "string"
  30361. },
  30362. "dgoodsname": {
  30363. "description": "交割商品名称",
  30364. "type": "string"
  30365. },
  30366. "goodscode": {
  30367. "description": "商品代码",
  30368. "type": "string"
  30369. },
  30370. "goodsid": {
  30371. "description": "商品ID",
  30372. "type": "integer"
  30373. },
  30374. "goodsname": {
  30375. "description": "商品名称",
  30376. "type": "string"
  30377. },
  30378. "histradedate": {
  30379. "description": "历史交易日",
  30380. "type": "string"
  30381. },
  30382. "isvaliddata": {
  30383. "description": "是否有效 - 0:无效 1:有效",
  30384. "type": "integer"
  30385. },
  30386. "marketid": {
  30387. "description": "市场ID",
  30388. "type": "integer"
  30389. },
  30390. "marketname": {
  30391. "description": "市场名称",
  30392. "type": "string"
  30393. },
  30394. "moneyticket": {
  30395. "description": "资金流水号:银行端流水号",
  30396. "type": "integer"
  30397. },
  30398. "operatetype": {
  30399. "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:营销收款",
  30400. "type": "integer"
  30401. },
  30402. "relationorderid": {
  30403. "description": "关联单号",
  30404. "type": "string"
  30405. },
  30406. "remark": {
  30407. "description": "备注",
  30408. "type": "string"
  30409. },
  30410. "trademode": {
  30411. "description": "交易模式",
  30412. "type": "integer"
  30413. }
  30414. }
  30415. },
  30416. "trade.QueryRecieptOrderRsp": {
  30417. "type": "object",
  30418. "required": [
  30419. "ordertime"
  30420. ],
  30421. "properties": {
  30422. "accountName": {
  30423. "description": "所属账号名称(已脱敏)",
  30424. "type": "string"
  30425. },
  30426. "accountid": {
  30427. "description": "资金账号",
  30428. "type": "integer"
  30429. },
  30430. "buyorsell": {
  30431. "description": "方向 - 0:买 1:卖",
  30432. "type": "integer"
  30433. },
  30434. "enableqty": {
  30435. "description": "可摘数量",
  30436. "type": "integer"
  30437. },
  30438. "goodscode": {
  30439. "description": "商品代码",
  30440. "type": "string"
  30441. },
  30442. "goodsid": {
  30443. "description": "商品ID",
  30444. "type": "integer"
  30445. },
  30446. "goodsname": {
  30447. "description": "商品名称",
  30448. "type": "string"
  30449. },
  30450. "orderid": {
  30451. "description": "委托单号",
  30452. "type": "string"
  30453. },
  30454. "orderprice": {
  30455. "description": "委托价格",
  30456. "type": "number"
  30457. },
  30458. "ordertime": {
  30459. "description": "委托时间",
  30460. "type": "string"
  30461. },
  30462. "tradedate": {
  30463. "description": "交易日(yyyyMMdd)",
  30464. "type": "string"
  30465. }
  30466. }
  30467. },
  30468. "user.LoginQueryRsp": {
  30469. "type": "object",
  30470. "properties": {
  30471. "areaRoles": {
  30472. "description": "所属角色信息",
  30473. "type": "array",
  30474. "items": {
  30475. "$ref": "#/definitions/models.Arearole"
  30476. }
  30477. },
  30478. "externalExchanges": {
  30479. "description": "外部交易所",
  30480. "type": "array",
  30481. "items": {
  30482. "$ref": "#/definitions/models.Externalexchange"
  30483. }
  30484. },
  30485. "goodsgroups": {
  30486. "description": "商品组",
  30487. "type": "array",
  30488. "items": {
  30489. "$ref": "#/definitions/models.Goodsgroup"
  30490. }
  30491. },
  30492. "loginAccount": {
  30493. "description": "登录账号",
  30494. "type": "object",
  30495. "$ref": "#/definitions/models.Loginaccount"
  30496. },
  30497. "markets": {
  30498. "description": "市场",
  30499. "type": "array",
  30500. "items": {
  30501. "$ref": "#/definitions/models.Market"
  30502. }
  30503. },
  30504. "systemParams": {
  30505. "description": "系统参数",
  30506. "type": "array",
  30507. "items": {
  30508. "$ref": "#/definitions/models.Systemparam"
  30509. }
  30510. },
  30511. "userAccount": {
  30512. "description": "用户账号",
  30513. "type": "object",
  30514. "$ref": "#/definitions/models.Useraccount"
  30515. },
  30516. "userInfo": {
  30517. "description": "用户信息",
  30518. "type": "object",
  30519. "$ref": "#/definitions/models.Userinfo"
  30520. },
  30521. "username": {
  30522. "description": "用户姓名",
  30523. "type": "string"
  30524. }
  30525. }
  30526. }
  30527. },
  30528. "securityDefinitions": {
  30529. "ApiKeyAuth": {
  30530. "type": "apiKey",
  30531. "name": "Authorization",
  30532. "in": "header"
  30533. }
  30534. }
  30535. }`
  30536. type swaggerInfo struct {
  30537. Version string
  30538. Host string
  30539. BasePath string
  30540. Schemes []string
  30541. Title string
  30542. Description string
  30543. }
  30544. // SwaggerInfo holds exported Swagger Info so clients can modify it
  30545. var SwaggerInfo = swaggerInfo{
  30546. Version: "1.0",
  30547. Host: "",
  30548. BasePath: "/api",
  30549. Schemes: []string{},
  30550. Title: "MTP2.0 查询服务 API",
  30551. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  30552. }
  30553. type s struct{}
  30554. func (s *s) ReadDoc() string {
  30555. sInfo := SwaggerInfo
  30556. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  30557. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  30558. "marshal": func(v interface{}) string {
  30559. a, _ := json.Marshal(v)
  30560. return string(a)
  30561. },
  30562. }).Parse(doc)
  30563. if err != nil {
  30564. return doc
  30565. }
  30566. var tpl bytes.Buffer
  30567. if err := t.Execute(&tpl, sInfo); err != nil {
  30568. return doc
  30569. }
  30570. return tpl.String()
  30571. }
  30572. func init() {
  30573. swag.Register(swag.Name, &s{})
  30574. }