docs.go 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580
  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. "responses": {
  7549. "200": {
  7550. "description": "OK",
  7551. "schema": {
  7552. "type": "array",
  7553. "items": {
  7554. "$ref": "#/definitions/models.QhjTeamOrder"
  7555. }
  7556. }
  7557. },
  7558. "500": {
  7559. "description": "Internal Server Error",
  7560. "schema": {
  7561. "$ref": "#/definitions/app.Response"
  7562. }
  7563. }
  7564. }
  7565. }
  7566. },
  7567. "/Qhj/QueryParentAreaList": {
  7568. "get": {
  7569. "security": [
  7570. {
  7571. "ApiKeyAuth": []
  7572. }
  7573. ],
  7574. "produces": [
  7575. "application/json"
  7576. ],
  7577. "tags": [
  7578. "大连千海金"
  7579. ],
  7580. "summary": "查询所属机构列表",
  7581. "parameters": [
  7582. {
  7583. "type": "integer",
  7584. "description": "用户ID",
  7585. "name": "userid",
  7586. "in": "query",
  7587. "required": true
  7588. }
  7589. ],
  7590. "responses": {
  7591. "200": {
  7592. "description": "OK",
  7593. "schema": {
  7594. "type": "array",
  7595. "items": {
  7596. "$ref": "#/definitions/models.QhjParentAreaList"
  7597. }
  7598. }
  7599. },
  7600. "500": {
  7601. "description": "Internal Server Error",
  7602. "schema": {
  7603. "$ref": "#/definitions/app.Response"
  7604. }
  7605. }
  7606. }
  7607. }
  7608. },
  7609. "/Qhj/QueryPayOrder": {
  7610. "get": {
  7611. "security": [
  7612. {
  7613. "ApiKeyAuth": []
  7614. }
  7615. ],
  7616. "produces": [
  7617. "application/json"
  7618. ],
  7619. "tags": [
  7620. "大连千海金"
  7621. ],
  7622. "summary": "查询待付款单据",
  7623. "parameters": [
  7624. {
  7625. "type": "integer",
  7626. "description": "资金账号id",
  7627. "name": "accountid",
  7628. "in": "query",
  7629. "required": true
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "成交单号",
  7634. "name": "tradeid",
  7635. "in": "query"
  7636. },
  7637. {
  7638. "type": "string",
  7639. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7640. "name": "payflag",
  7641. "in": "query"
  7642. }
  7643. ],
  7644. "responses": {
  7645. "200": {
  7646. "description": "OK",
  7647. "schema": {
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/models.QhjPayOrder"
  7651. }
  7652. }
  7653. },
  7654. "500": {
  7655. "description": "Internal Server Error",
  7656. "schema": {
  7657. "$ref": "#/definitions/app.Response"
  7658. }
  7659. }
  7660. }
  7661. }
  7662. },
  7663. "/Qhj/QueryPickArea": {
  7664. "get": {
  7665. "security": [
  7666. {
  7667. "ApiKeyAuth": []
  7668. }
  7669. ],
  7670. "produces": [
  7671. "application/json"
  7672. ],
  7673. "tags": [
  7674. "大连千海金"
  7675. ],
  7676. "summary": "查询提货门店",
  7677. "parameters": [
  7678. {
  7679. "type": "integer",
  7680. "description": "用户ID",
  7681. "name": "userid",
  7682. "in": "query"
  7683. }
  7684. ],
  7685. "responses": {
  7686. "200": {
  7687. "description": "OK",
  7688. "schema": {
  7689. "type": "array",
  7690. "items": {
  7691. "$ref": "#/definitions/models.QhjPickArea"
  7692. }
  7693. }
  7694. },
  7695. "500": {
  7696. "description": "Internal Server Error",
  7697. "schema": {
  7698. "$ref": "#/definitions/app.Response"
  7699. }
  7700. }
  7701. }
  7702. }
  7703. },
  7704. "/Qhj/QueryPickGoods": {
  7705. "get": {
  7706. "security": [
  7707. {
  7708. "ApiKeyAuth": []
  7709. }
  7710. ],
  7711. "produces": [
  7712. "application/json"
  7713. ],
  7714. "tags": [
  7715. "大连千海金"
  7716. ],
  7717. "summary": "查询提货商品",
  7718. "parameters": [
  7719. {
  7720. "type": "integer",
  7721. "description": "交易商品id",
  7722. "name": "goodsid",
  7723. "in": "query",
  7724. "required": true
  7725. },
  7726. {
  7727. "type": "string",
  7728. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7729. "name": "status",
  7730. "in": "query"
  7731. }
  7732. ],
  7733. "responses": {
  7734. "200": {
  7735. "description": "OK",
  7736. "schema": {
  7737. "type": "array",
  7738. "items": {
  7739. "$ref": "#/definitions/models.QhjPickGoods"
  7740. }
  7741. }
  7742. },
  7743. "500": {
  7744. "description": "Internal Server Error",
  7745. "schema": {
  7746. "$ref": "#/definitions/app.Response"
  7747. }
  7748. }
  7749. }
  7750. }
  7751. },
  7752. "/Qhj/QueryRSTriggerLog": {
  7753. "get": {
  7754. "security": [
  7755. {
  7756. "ApiKeyAuth": []
  7757. }
  7758. ],
  7759. "produces": [
  7760. "application/json"
  7761. ],
  7762. "tags": [
  7763. "大连千海金"
  7764. ],
  7765. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7766. "parameters": [
  7767. {
  7768. "type": "integer",
  7769. "description": "用户ID",
  7770. "name": "userid",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "定投策略id",
  7776. "name": "regularlystrategyid",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "integer",
  7781. "description": "商品id",
  7782. "name": "goodsid",
  7783. "in": "query"
  7784. },
  7785. {
  7786. "type": "string",
  7787. "description": "开始交易日(yyyymmdd)",
  7788. "name": "begindate",
  7789. "in": "query"
  7790. },
  7791. {
  7792. "type": "string",
  7793. "description": "结束交易日(yyyymmdd)",
  7794. "name": "enddate",
  7795. "in": "query"
  7796. },
  7797. {
  7798. "type": "string",
  7799. "description": "名称(模糊搜索账户)",
  7800. "name": "filtername",
  7801. "in": "query"
  7802. }
  7803. ],
  7804. "responses": {
  7805. "200": {
  7806. "description": "OK",
  7807. "schema": {
  7808. "type": "array",
  7809. "items": {
  7810. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7811. }
  7812. }
  7813. },
  7814. "500": {
  7815. "description": "Internal Server Error",
  7816. "schema": {
  7817. "$ref": "#/definitions/app.Response"
  7818. }
  7819. }
  7820. }
  7821. }
  7822. },
  7823. "/Qhj/QueryRStrategy": {
  7824. "get": {
  7825. "security": [
  7826. {
  7827. "ApiKeyAuth": []
  7828. }
  7829. ],
  7830. "produces": [
  7831. "application/json"
  7832. ],
  7833. "tags": [
  7834. "大连千海金"
  7835. ],
  7836. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7837. "parameters": [
  7838. {
  7839. "type": "integer",
  7840. "description": "用户ID",
  7841. "name": "userid",
  7842. "in": "query"
  7843. },
  7844. {
  7845. "type": "integer",
  7846. "description": "商品id",
  7847. "name": "goodsid",
  7848. "in": "query"
  7849. },
  7850. {
  7851. "type": "string",
  7852. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7853. "name": "status",
  7854. "in": "query"
  7855. },
  7856. {
  7857. "type": "string",
  7858. "description": "名称(模糊搜索账户)",
  7859. "name": "filtername",
  7860. "in": "query"
  7861. }
  7862. ],
  7863. "responses": {
  7864. "200": {
  7865. "description": "OK",
  7866. "schema": {
  7867. "type": "array",
  7868. "items": {
  7869. "$ref": "#/definitions/models.QhjRStrategy"
  7870. }
  7871. }
  7872. },
  7873. "500": {
  7874. "description": "Internal Server Error",
  7875. "schema": {
  7876. "$ref": "#/definitions/app.Response"
  7877. }
  7878. }
  7879. }
  7880. }
  7881. },
  7882. "/Qhj/QueryReckonPriceLog": {
  7883. "get": {
  7884. "security": [
  7885. {
  7886. "ApiKeyAuth": []
  7887. }
  7888. ],
  7889. "produces": [
  7890. "application/json"
  7891. ],
  7892. "tags": [
  7893. "大连千海金"
  7894. ],
  7895. "summary": "查询定投价(结算价)",
  7896. "parameters": [
  7897. {
  7898. "type": "integer",
  7899. "description": "商品ID",
  7900. "name": "goodsid",
  7901. "in": "query"
  7902. },
  7903. {
  7904. "type": "string",
  7905. "description": "交易日 格式(yyyymmdd)",
  7906. "name": "tradedate",
  7907. "in": "query"
  7908. }
  7909. ],
  7910. "responses": {
  7911. "200": {
  7912. "description": "OK",
  7913. "schema": {
  7914. "type": "array",
  7915. "items": {
  7916. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7917. }
  7918. }
  7919. },
  7920. "500": {
  7921. "description": "Internal Server Error",
  7922. "schema": {
  7923. "$ref": "#/definitions/app.Response"
  7924. }
  7925. }
  7926. }
  7927. }
  7928. },
  7929. "/Qhj/QuerySiteColumnDetail": {
  7930. "get": {
  7931. "security": [
  7932. {
  7933. "ApiKeyAuth": []
  7934. }
  7935. ],
  7936. "produces": [
  7937. "application/json"
  7938. ],
  7939. "tags": [
  7940. "大连千海金"
  7941. ],
  7942. "summary": "查询资讯",
  7943. "parameters": [
  7944. {
  7945. "type": "integer",
  7946. "description": "用户ID",
  7947. "name": "userid",
  7948. "in": "query",
  7949. "required": true
  7950. }
  7951. ],
  7952. "responses": {
  7953. "200": {
  7954. "description": "OK",
  7955. "schema": {
  7956. "type": "array",
  7957. "items": {
  7958. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  7959. }
  7960. }
  7961. },
  7962. "500": {
  7963. "description": "Internal Server Error",
  7964. "schema": {
  7965. "$ref": "#/definitions/app.Response"
  7966. }
  7967. }
  7968. }
  7969. }
  7970. },
  7971. "/Qhj/QueryTradeGoodsPickup": {
  7972. "get": {
  7973. "security": [
  7974. {
  7975. "ApiKeyAuth": []
  7976. }
  7977. ],
  7978. "produces": [
  7979. "application/json"
  7980. ],
  7981. "tags": [
  7982. "大连千海金"
  7983. ],
  7984. "summary": "查询提货",
  7985. "parameters": [
  7986. {
  7987. "type": "integer",
  7988. "description": "用户ID",
  7989. "name": "userid",
  7990. "in": "query",
  7991. "required": true
  7992. },
  7993. {
  7994. "type": "integer",
  7995. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  7996. "name": "takeorderstatus",
  7997. "in": "query"
  7998. }
  7999. ],
  8000. "responses": {
  8001. "200": {
  8002. "description": "OK",
  8003. "schema": {
  8004. "type": "array",
  8005. "items": {
  8006. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8007. }
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/app.Response"
  8014. }
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "/Qhj/QueryUserCollectConfig": {
  8020. "get": {
  8021. "security": [
  8022. {
  8023. "ApiKeyAuth": []
  8024. }
  8025. ],
  8026. "produces": [
  8027. "application/json"
  8028. ],
  8029. "tags": [
  8030. "大连千海金"
  8031. ],
  8032. "summary": "查询提现账户设置",
  8033. "parameters": [
  8034. {
  8035. "type": "integer",
  8036. "description": "用户ID",
  8037. "name": "userid",
  8038. "in": "query",
  8039. "required": true
  8040. }
  8041. ],
  8042. "responses": {
  8043. "200": {
  8044. "description": "OK",
  8045. "schema": {
  8046. "type": "array",
  8047. "items": {
  8048. "$ref": "#/definitions/models.UserCollectConfig"
  8049. }
  8050. }
  8051. },
  8052. "500": {
  8053. "description": "Internal Server Error",
  8054. "schema": {
  8055. "$ref": "#/definitions/app.Response"
  8056. }
  8057. }
  8058. }
  8059. }
  8060. },
  8061. "/Qhj/QueryUserReceiveInfo": {
  8062. "get": {
  8063. "security": [
  8064. {
  8065. "ApiKeyAuth": []
  8066. }
  8067. ],
  8068. "produces": [
  8069. "application/json"
  8070. ],
  8071. "tags": [
  8072. "大连千海金"
  8073. ],
  8074. "summary": "查询收货地址信息",
  8075. "parameters": [
  8076. {
  8077. "type": "integer",
  8078. "description": "用户ID",
  8079. "name": "userid",
  8080. "in": "query",
  8081. "required": true
  8082. }
  8083. ],
  8084. "responses": {
  8085. "200": {
  8086. "description": "OK",
  8087. "schema": {
  8088. "type": "array",
  8089. "items": {
  8090. "$ref": "#/definitions/models.UserReceiveInfo"
  8091. }
  8092. }
  8093. },
  8094. "500": {
  8095. "description": "Internal Server Error",
  8096. "schema": {
  8097. "$ref": "#/definitions/app.Response"
  8098. }
  8099. }
  8100. }
  8101. }
  8102. },
  8103. "/QhjMgr/QueryAccountInOutApply": {
  8104. "get": {
  8105. "security": [
  8106. {
  8107. "ApiKeyAuth": []
  8108. }
  8109. ],
  8110. "produces": [
  8111. "application/json"
  8112. ],
  8113. "tags": [
  8114. "大连千海金(PCWeb)"
  8115. ],
  8116. "summary": "查询充值提现",
  8117. "parameters": [
  8118. {
  8119. "type": "integer",
  8120. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8121. "name": "querytype",
  8122. "in": "query",
  8123. "required": true
  8124. },
  8125. {
  8126. "type": "integer",
  8127. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8128. "name": "applystatus",
  8129. "in": "query"
  8130. },
  8131. {
  8132. "type": "string",
  8133. "description": "申请起始日期(格式yyyymmdd)",
  8134. "name": "begindate",
  8135. "in": "query"
  8136. },
  8137. {
  8138. "type": "string",
  8139. "description": "申请截止日期(格式yyyymmdd)",
  8140. "name": "enddate",
  8141. "in": "query"
  8142. },
  8143. {
  8144. "type": "string",
  8145. "description": "模糊搜索名称",
  8146. "name": "likename",
  8147. "in": "query"
  8148. }
  8149. ],
  8150. "responses": {
  8151. "200": {
  8152. "description": "OK",
  8153. "schema": {
  8154. "type": "array",
  8155. "items": {
  8156. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8157. }
  8158. }
  8159. },
  8160. "500": {
  8161. "description": "Internal Server Error",
  8162. "schema": {
  8163. "$ref": "#/definitions/app.Response"
  8164. }
  8165. }
  8166. }
  8167. }
  8168. },
  8169. "/QhjMgr/QueryBrokerApply": {
  8170. "get": {
  8171. "security": [
  8172. {
  8173. "ApiKeyAuth": []
  8174. }
  8175. ],
  8176. "produces": [
  8177. "application/json"
  8178. ],
  8179. "tags": [
  8180. "大连千海金(PCWeb)"
  8181. ],
  8182. "summary": "查询经纪人申请",
  8183. "parameters": [
  8184. {
  8185. "type": "integer",
  8186. "description": "所属机构ID",
  8187. "name": "userid",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8193. "name": "filterstatus",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "名称(模糊匹配)",
  8199. "name": "filtername",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "是否包含子级 1-包含",
  8205. "name": "includesub",
  8206. "in": "query"
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/QhjMgr/QueryBrokerRewardReport": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "大连千海金(PCWeb)"
  8240. ],
  8241. "summary": "查询经纪人奖励报表(废弃)",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "所属机构ID",
  8246. "name": "userid",
  8247. "in": "query",
  8248. "required": true
  8249. },
  8250. {
  8251. "type": "integer",
  8252. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8253. "name": "cycletype",
  8254. "in": "query",
  8255. "required": true
  8256. },
  8257. {
  8258. "type": "string",
  8259. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8260. "name": "cycletime",
  8261. "in": "query",
  8262. "required": true
  8263. },
  8264. {
  8265. "type": "string",
  8266. "description": "名称(模糊匹配)",
  8267. "name": "filtername",
  8268. "in": "query"
  8269. },
  8270. {
  8271. "type": "integer",
  8272. "description": "是否包含子级 1-包含",
  8273. "name": "includesub",
  8274. "in": "query"
  8275. }
  8276. ],
  8277. "responses": {
  8278. "200": {
  8279. "description": "OK",
  8280. "schema": {
  8281. "type": "array",
  8282. "items": {
  8283. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8284. }
  8285. }
  8286. },
  8287. "500": {
  8288. "description": "Internal Server Error",
  8289. "schema": {
  8290. "$ref": "#/definitions/app.Response"
  8291. }
  8292. }
  8293. }
  8294. }
  8295. },
  8296. "/QhjMgr/QueryContract": {
  8297. "get": {
  8298. "security": [
  8299. {
  8300. "ApiKeyAuth": []
  8301. }
  8302. ],
  8303. "produces": [
  8304. "application/json"
  8305. ],
  8306. "tags": [
  8307. "大连千海金(PCWeb)"
  8308. ],
  8309. "summary": "查询融资信息(合同)",
  8310. "parameters": [
  8311. {
  8312. "type": "integer",
  8313. "description": "用户ID",
  8314. "name": "userid",
  8315. "in": "query"
  8316. },
  8317. {
  8318. "type": "integer",
  8319. "description": "商品id",
  8320. "name": "goodsid",
  8321. "in": "query"
  8322. },
  8323. {
  8324. "type": "string",
  8325. "description": "名称(模糊搜索账户)",
  8326. "name": "filtername",
  8327. "in": "query"
  8328. },
  8329. {
  8330. "type": "string",
  8331. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8332. "name": "risklevel",
  8333. "in": "query"
  8334. },
  8335. {
  8336. "type": "string",
  8337. "description": "开始交易日(yyyymmdd)",
  8338. "name": "begindate",
  8339. "in": "query"
  8340. },
  8341. {
  8342. "type": "string",
  8343. "description": "结束交易日(yyyymmdd)",
  8344. "name": "enddate",
  8345. "in": "query"
  8346. }
  8347. ],
  8348. "responses": {
  8349. "200": {
  8350. "description": "OK",
  8351. "schema": {
  8352. "type": "array",
  8353. "items": {
  8354. "$ref": "#/definitions/models.QhjMgrContract"
  8355. }
  8356. }
  8357. },
  8358. "500": {
  8359. "description": "Internal Server Error",
  8360. "schema": {
  8361. "$ref": "#/definitions/app.Response"
  8362. }
  8363. }
  8364. }
  8365. }
  8366. },
  8367. "/QhjMgr/QueryCustomerInfo": {
  8368. "get": {
  8369. "security": [
  8370. {
  8371. "ApiKeyAuth": []
  8372. }
  8373. ],
  8374. "produces": [
  8375. "application/json"
  8376. ],
  8377. "tags": [
  8378. "大连千海金(PCWeb)"
  8379. ],
  8380. "summary": "查询客户资料",
  8381. "parameters": [
  8382. {
  8383. "type": "integer",
  8384. "description": "用户ID",
  8385. "name": "userid",
  8386. "in": "query",
  8387. "required": true
  8388. },
  8389. {
  8390. "type": "integer",
  8391. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8392. "name": "querytype",
  8393. "in": "query",
  8394. "required": true
  8395. },
  8396. {
  8397. "type": "integer",
  8398. "description": "客户类型 1-个人 2-企业",
  8399. "name": "userinfotype",
  8400. "in": "query"
  8401. },
  8402. {
  8403. "type": "string",
  8404. "description": "客户名称(模糊匹配)",
  8405. "name": "customername",
  8406. "in": "query"
  8407. },
  8408. {
  8409. "type": "string",
  8410. "description": "昵称(模糊匹配)",
  8411. "name": "nickname",
  8412. "in": "query"
  8413. },
  8414. {
  8415. "type": "integer",
  8416. "description": "是否包含子级 1-包含",
  8417. "name": "includesub",
  8418. "in": "query"
  8419. }
  8420. ],
  8421. "responses": {
  8422. "200": {
  8423. "description": "OK",
  8424. "schema": {
  8425. "type": "array",
  8426. "items": {
  8427. "$ref": "#/definitions/models.QhjMgrCustomer"
  8428. }
  8429. }
  8430. },
  8431. "500": {
  8432. "description": "Internal Server Error",
  8433. "schema": {
  8434. "$ref": "#/definitions/app.Response"
  8435. }
  8436. }
  8437. }
  8438. }
  8439. },
  8440. "/QhjMgr/QueryPickGoods": {
  8441. "get": {
  8442. "security": [
  8443. {
  8444. "ApiKeyAuth": []
  8445. }
  8446. ],
  8447. "produces": [
  8448. "application/json"
  8449. ],
  8450. "tags": [
  8451. "大连千海金(PCWeb)"
  8452. ],
  8453. "summary": "查询提货商品",
  8454. "parameters": [
  8455. {
  8456. "type": "string",
  8457. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8458. "name": "status",
  8459. "in": "query"
  8460. }
  8461. ],
  8462. "responses": {
  8463. "200": {
  8464. "description": "OK",
  8465. "schema": {
  8466. "type": "array",
  8467. "items": {
  8468. "$ref": "#/definitions/models.QhjPickGoods"
  8469. }
  8470. }
  8471. },
  8472. "500": {
  8473. "description": "Internal Server Error",
  8474. "schema": {
  8475. "$ref": "#/definitions/app.Response"
  8476. }
  8477. }
  8478. }
  8479. }
  8480. },
  8481. "/QhjMgr/QuerySubArea": {
  8482. "get": {
  8483. "security": [
  8484. {
  8485. "ApiKeyAuth": []
  8486. }
  8487. ],
  8488. "produces": [
  8489. "application/json"
  8490. ],
  8491. "tags": [
  8492. "大连千海金(PCWeb)"
  8493. ],
  8494. "summary": "查询子机构列表",
  8495. "parameters": [
  8496. {
  8497. "type": "integer",
  8498. "description": "用户ID",
  8499. "name": "userid",
  8500. "in": "query",
  8501. "required": true
  8502. }
  8503. ],
  8504. "responses": {
  8505. "200": {
  8506. "description": "OK",
  8507. "schema": {
  8508. "type": "array",
  8509. "items": {
  8510. "$ref": "#/definitions/models.QhjMgrSubArea"
  8511. }
  8512. }
  8513. },
  8514. "500": {
  8515. "description": "Internal Server Error",
  8516. "schema": {
  8517. "$ref": "#/definitions/app.Response"
  8518. }
  8519. }
  8520. }
  8521. }
  8522. },
  8523. "/QhjMgr/QueryTradeDetail": {
  8524. "get": {
  8525. "security": [
  8526. {
  8527. "ApiKeyAuth": []
  8528. }
  8529. ],
  8530. "produces": [
  8531. "application/json"
  8532. ],
  8533. "tags": [
  8534. "大连千海金(PCWeb)"
  8535. ],
  8536. "summary": "查询成交明细",
  8537. "parameters": [
  8538. {
  8539. "type": "integer",
  8540. "description": "用户ID",
  8541. "name": "userid",
  8542. "in": "query",
  8543. "required": true
  8544. },
  8545. {
  8546. "type": "integer",
  8547. "description": "用户类型 1-个人 2-企业",
  8548. "name": "userinfotype",
  8549. "in": "query"
  8550. },
  8551. {
  8552. "type": "integer",
  8553. "description": "交易模式",
  8554. "name": "trademode",
  8555. "in": "query"
  8556. },
  8557. {
  8558. "type": "integer",
  8559. "description": "商品id",
  8560. "name": "goodsid",
  8561. "in": "query"
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "名称(模糊搜索账户)",
  8566. "name": "filtername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "string",
  8571. "description": "开始交易日(yyyymmdd)",
  8572. "name": "begindate",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "string",
  8577. "description": "结束交易日(yyyymmdd)",
  8578. "name": "enddate",
  8579. "in": "query"
  8580. },
  8581. {
  8582. "type": "integer",
  8583. "description": "是否包含子级 1-包含",
  8584. "name": "includesub",
  8585. "in": "query"
  8586. }
  8587. ],
  8588. "responses": {
  8589. "200": {
  8590. "description": "OK",
  8591. "schema": {
  8592. "type": "array",
  8593. "items": {
  8594. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8595. }
  8596. }
  8597. },
  8598. "500": {
  8599. "description": "Internal Server Error",
  8600. "schema": {
  8601. "$ref": "#/definitions/app.Response"
  8602. }
  8603. }
  8604. }
  8605. }
  8606. },
  8607. "/QhjMgr/QueryTradeOrderDetail": {
  8608. "get": {
  8609. "security": [
  8610. {
  8611. "ApiKeyAuth": []
  8612. }
  8613. ],
  8614. "produces": [
  8615. "application/json"
  8616. ],
  8617. "tags": [
  8618. "大连千海金(PCWeb)"
  8619. ],
  8620. "summary": "查询委托明细",
  8621. "parameters": [
  8622. {
  8623. "type": "integer",
  8624. "description": "用户ID",
  8625. "name": "userid",
  8626. "in": "query",
  8627. "required": true
  8628. },
  8629. {
  8630. "type": "integer",
  8631. "description": "用户类型 1-个人 2-企业",
  8632. "name": "userinfotype",
  8633. "in": "query"
  8634. },
  8635. {
  8636. "type": "integer",
  8637. "description": "交易模式",
  8638. "name": "trademode",
  8639. "in": "query"
  8640. },
  8641. {
  8642. "type": "integer",
  8643. "description": "商品id",
  8644. "name": "goodsid",
  8645. "in": "query"
  8646. },
  8647. {
  8648. "type": "string",
  8649. "description": "名称(模糊搜索账户)",
  8650. "name": "filtername",
  8651. "in": "query"
  8652. },
  8653. {
  8654. "type": "string",
  8655. "description": "开始交易日(yyyymmdd)",
  8656. "name": "begindate",
  8657. "in": "query"
  8658. },
  8659. {
  8660. "type": "string",
  8661. "description": "结束交易日(yyyymmdd)",
  8662. "name": "enddate",
  8663. "in": "query"
  8664. },
  8665. {
  8666. "type": "integer",
  8667. "description": "是否包含子级 1-包含",
  8668. "name": "includesub",
  8669. "in": "query"
  8670. }
  8671. ],
  8672. "responses": {
  8673. "200": {
  8674. "description": "OK",
  8675. "schema": {
  8676. "type": "array",
  8677. "items": {
  8678. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8679. }
  8680. }
  8681. },
  8682. "500": {
  8683. "description": "Internal Server Error",
  8684. "schema": {
  8685. "$ref": "#/definitions/app.Response"
  8686. }
  8687. }
  8688. }
  8689. }
  8690. },
  8691. "/QhjMgr/QueryTradePayOrder": {
  8692. "get": {
  8693. "security": [
  8694. {
  8695. "ApiKeyAuth": []
  8696. }
  8697. ],
  8698. "produces": [
  8699. "application/json"
  8700. ],
  8701. "tags": [
  8702. "大连千海金(PCWeb)"
  8703. ],
  8704. "summary": "查询待付款单",
  8705. "parameters": [
  8706. {
  8707. "type": "integer",
  8708. "description": "用户ID",
  8709. "name": "userid",
  8710. "in": "query",
  8711. "required": true
  8712. },
  8713. {
  8714. "type": "string",
  8715. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8716. "name": "payflag",
  8717. "in": "query"
  8718. },
  8719. {
  8720. "type": "integer",
  8721. "description": "用户类型 1-个人 2-企业",
  8722. "name": "userinfotype",
  8723. "in": "query"
  8724. },
  8725. {
  8726. "type": "integer",
  8727. "description": "交易模式",
  8728. "name": "trademode",
  8729. "in": "query"
  8730. },
  8731. {
  8732. "type": "integer",
  8733. "description": "商品id",
  8734. "name": "goodsid",
  8735. "in": "query"
  8736. },
  8737. {
  8738. "type": "string",
  8739. "description": "名称(模糊搜索账户)",
  8740. "name": "filtername",
  8741. "in": "query"
  8742. },
  8743. {
  8744. "type": "string",
  8745. "description": "开始交易日(yyyymmdd)",
  8746. "name": "begindate",
  8747. "in": "query"
  8748. },
  8749. {
  8750. "type": "string",
  8751. "description": "结束交易日(yyyymmdd)",
  8752. "name": "enddate",
  8753. "in": "query"
  8754. },
  8755. {
  8756. "type": "integer",
  8757. "description": "是否包含子级 1-包含",
  8758. "name": "includesub",
  8759. "in": "query"
  8760. }
  8761. ],
  8762. "responses": {
  8763. "200": {
  8764. "description": "OK",
  8765. "schema": {
  8766. "type": "array",
  8767. "items": {
  8768. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8769. }
  8770. }
  8771. },
  8772. "500": {
  8773. "description": "Internal Server Error",
  8774. "schema": {
  8775. "$ref": "#/definitions/app.Response"
  8776. }
  8777. }
  8778. }
  8779. }
  8780. },
  8781. "/QhjMgr/QueryTradePosition": {
  8782. "get": {
  8783. "security": [
  8784. {
  8785. "ApiKeyAuth": []
  8786. }
  8787. ],
  8788. "produces": [
  8789. "application/json"
  8790. ],
  8791. "tags": [
  8792. "大连千海金(PCWeb)"
  8793. ],
  8794. "summary": "查询持仓汇总",
  8795. "parameters": [
  8796. {
  8797. "type": "integer",
  8798. "description": "用户ID",
  8799. "name": "userid",
  8800. "in": "query",
  8801. "required": true
  8802. },
  8803. {
  8804. "type": "integer",
  8805. "description": "用户类型 1-个人 2-企业",
  8806. "name": "userinfotype",
  8807. "in": "query"
  8808. },
  8809. {
  8810. "type": "integer",
  8811. "description": "交易模式",
  8812. "name": "trademode",
  8813. "in": "query"
  8814. },
  8815. {
  8816. "type": "integer",
  8817. "description": "商品id",
  8818. "name": "goodsid",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "string",
  8823. "description": "名称(模糊搜索账户)",
  8824. "name": "filtername",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "integer",
  8829. "description": "是否包含子级 1-包含",
  8830. "name": "includesub",
  8831. "in": "query"
  8832. }
  8833. ],
  8834. "responses": {
  8835. "200": {
  8836. "description": "OK",
  8837. "schema": {
  8838. "type": "array",
  8839. "items": {
  8840. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  8841. }
  8842. }
  8843. },
  8844. "500": {
  8845. "description": "Internal Server Error",
  8846. "schema": {
  8847. "$ref": "#/definitions/app.Response"
  8848. }
  8849. }
  8850. }
  8851. }
  8852. },
  8853. "/QhjSys/QueryAgreementChangeLog": {
  8854. "get": {
  8855. "security": [
  8856. {
  8857. "ApiKeyAuth": []
  8858. }
  8859. ],
  8860. "produces": [
  8861. "application/json"
  8862. ],
  8863. "tags": [
  8864. "大连千海金(协议和签约信息)"
  8865. ],
  8866. "summary": "查询协议配置变更流水",
  8867. "parameters": [
  8868. {
  8869. "type": "integer",
  8870. "description": "协议ID",
  8871. "name": "agreementid",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "integer",
  8876. "description": "协议版本号",
  8877. "name": "agreementversion",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8883. "name": "agreementtype",
  8884. "in": "query"
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "协议编号(模糊匹配)",
  8889. "name": "agreementno",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "string",
  8894. "description": "协议名称(模糊匹配)",
  8895. "name": "agreementname",
  8896. "in": "query"
  8897. }
  8898. ],
  8899. "responses": {
  8900. "200": {
  8901. "description": "OK",
  8902. "schema": {
  8903. "type": "array",
  8904. "items": {
  8905. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  8906. }
  8907. }
  8908. },
  8909. "500": {
  8910. "description": "Internal Server Error",
  8911. "schema": {
  8912. "$ref": "#/definitions/app.Response"
  8913. }
  8914. }
  8915. }
  8916. }
  8917. },
  8918. "/QhjSys/QueryAgreementConfig": {
  8919. "get": {
  8920. "security": [
  8921. {
  8922. "ApiKeyAuth": []
  8923. }
  8924. ],
  8925. "produces": [
  8926. "application/json"
  8927. ],
  8928. "tags": [
  8929. "大连千海金(协议和签约信息)"
  8930. ],
  8931. "summary": "查询协议配置",
  8932. "parameters": [
  8933. {
  8934. "type": "integer",
  8935. "description": "协议ID",
  8936. "name": "agreementid",
  8937. "in": "query"
  8938. },
  8939. {
  8940. "type": "integer",
  8941. "description": "协议版本号",
  8942. "name": "agreementversion",
  8943. "in": "query"
  8944. },
  8945. {
  8946. "type": "integer",
  8947. "description": "协议类型 - 1:注册 2:登录 3:交易",
  8948. "name": "agreementtype",
  8949. "in": "query"
  8950. },
  8951. {
  8952. "type": "integer",
  8953. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  8954. "name": "isvalid",
  8955. "in": "query"
  8956. },
  8957. {
  8958. "type": "string",
  8959. "description": "协议编号(模糊匹配)",
  8960. "name": "agreementno",
  8961. "in": "query"
  8962. },
  8963. {
  8964. "type": "string",
  8965. "description": "协议名称(模糊匹配)",
  8966. "name": "agreementname",
  8967. "in": "query"
  8968. }
  8969. ],
  8970. "responses": {
  8971. "200": {
  8972. "description": "OK",
  8973. "schema": {
  8974. "type": "array",
  8975. "items": {
  8976. "$ref": "#/definitions/models.QhjAgreementConfig"
  8977. }
  8978. }
  8979. },
  8980. "500": {
  8981. "description": "Internal Server Error",
  8982. "schema": {
  8983. "$ref": "#/definitions/app.Response"
  8984. }
  8985. }
  8986. }
  8987. }
  8988. },
  8989. "/QhjSys/QueryCustomerSignStatus": {
  8990. "get": {
  8991. "security": [
  8992. {
  8993. "ApiKeyAuth": []
  8994. }
  8995. ],
  8996. "produces": [
  8997. "application/json"
  8998. ],
  8999. "tags": [
  9000. "大连千海金(协议和签约信息)"
  9001. ],
  9002. "summary": "查询客户协议签约状态",
  9003. "parameters": [
  9004. {
  9005. "type": "integer",
  9006. "description": "客户ID",
  9007. "name": "userid",
  9008. "in": "query"
  9009. },
  9010. {
  9011. "type": "integer",
  9012. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9013. "name": "nodetype",
  9014. "in": "query"
  9015. },
  9016. {
  9017. "type": "integer",
  9018. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9019. "name": "goodsid",
  9020. "in": "query"
  9021. },
  9022. {
  9023. "type": "string",
  9024. "description": "创建交易日(yyyyMMdd)",
  9025. "name": "tradedate",
  9026. "in": "query"
  9027. },
  9028. {
  9029. "type": "string",
  9030. "description": "用户名称(模糊匹配)",
  9031. "name": "username",
  9032. "in": "query"
  9033. }
  9034. ],
  9035. "responses": {
  9036. "200": {
  9037. "description": "OK",
  9038. "schema": {
  9039. "type": "array",
  9040. "items": {
  9041. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9042. }
  9043. }
  9044. },
  9045. "500": {
  9046. "description": "Internal Server Error",
  9047. "schema": {
  9048. "$ref": "#/definitions/app.Response"
  9049. }
  9050. }
  9051. }
  9052. }
  9053. },
  9054. "/QhjSys/QueryNodeAgreementConfig": {
  9055. "get": {
  9056. "security": [
  9057. {
  9058. "ApiKeyAuth": []
  9059. }
  9060. ],
  9061. "produces": [
  9062. "application/json"
  9063. ],
  9064. "tags": [
  9065. "大连千海金(协议和签约信息)"
  9066. ],
  9067. "summary": "查询协议节点配置",
  9068. "parameters": [
  9069. {
  9070. "type": "integer",
  9071. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9072. "name": "configid",
  9073. "in": "query"
  9074. },
  9075. {
  9076. "type": "integer",
  9077. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9078. "name": "nodetype",
  9079. "in": "query"
  9080. },
  9081. {
  9082. "type": "integer",
  9083. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9084. "name": "goodsid",
  9085. "in": "query"
  9086. },
  9087. {
  9088. "type": "integer",
  9089. "description": "协议ID",
  9090. "name": "agreementid",
  9091. "in": "query"
  9092. },
  9093. {
  9094. "type": "integer",
  9095. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9096. "name": "agreementtype",
  9097. "in": "query"
  9098. },
  9099. {
  9100. "type": "integer",
  9101. "description": "协议版本号",
  9102. "name": "agreementversion",
  9103. "in": "query"
  9104. },
  9105. {
  9106. "type": "string",
  9107. "description": "协议编号(模糊匹配)",
  9108. "name": "agreementno",
  9109. "in": "query"
  9110. },
  9111. {
  9112. "type": "string",
  9113. "description": "协议名称(模糊匹配)",
  9114. "name": "agreementname",
  9115. "in": "query"
  9116. }
  9117. ],
  9118. "responses": {
  9119. "200": {
  9120. "description": "OK",
  9121. "schema": {
  9122. "type": "array",
  9123. "items": {
  9124. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9125. }
  9126. }
  9127. },
  9128. "500": {
  9129. "description": "Internal Server Error",
  9130. "schema": {
  9131. "$ref": "#/definitions/app.Response"
  9132. }
  9133. }
  9134. }
  9135. }
  9136. },
  9137. "/QhjSys/QueryQhjCustomerSignLog": {
  9138. "get": {
  9139. "security": [
  9140. {
  9141. "ApiKeyAuth": []
  9142. }
  9143. ],
  9144. "produces": [
  9145. "application/json"
  9146. ],
  9147. "tags": [
  9148. "大连千海金(协议和签约信息)"
  9149. ],
  9150. "summary": "查询客户协议签约流水",
  9151. "parameters": [
  9152. {
  9153. "type": "integer",
  9154. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9155. "name": "logid",
  9156. "in": "query"
  9157. },
  9158. {
  9159. "type": "integer",
  9160. "description": "客户ID",
  9161. "name": "userid",
  9162. "in": "query"
  9163. },
  9164. {
  9165. "type": "integer",
  9166. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9167. "name": "nodetype",
  9168. "in": "query"
  9169. },
  9170. {
  9171. "type": "integer",
  9172. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9173. "name": "goodsid",
  9174. "in": "query"
  9175. },
  9176. {
  9177. "type": "integer",
  9178. "description": "协议ID",
  9179. "name": "agreementid",
  9180. "in": "query"
  9181. },
  9182. {
  9183. "type": "string",
  9184. "description": "用户名称(模糊匹配)",
  9185. "name": "username",
  9186. "in": "query"
  9187. },
  9188. {
  9189. "type": "string",
  9190. "description": "协议编号(模糊匹配)",
  9191. "name": "agreementno",
  9192. "in": "query"
  9193. },
  9194. {
  9195. "type": "string",
  9196. "description": "协议名称(模糊匹配)",
  9197. "name": "agreementname",
  9198. "in": "query"
  9199. }
  9200. ],
  9201. "responses": {
  9202. "200": {
  9203. "description": "OK",
  9204. "schema": {
  9205. "type": "array",
  9206. "items": {
  9207. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9208. }
  9209. }
  9210. },
  9211. "500": {
  9212. "description": "Internal Server Error",
  9213. "schema": {
  9214. "$ref": "#/definitions/app.Response"
  9215. }
  9216. }
  9217. }
  9218. }
  9219. },
  9220. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9221. "get": {
  9222. "security": [
  9223. {
  9224. "ApiKeyAuth": []
  9225. }
  9226. ],
  9227. "produces": [
  9228. "application/json"
  9229. ],
  9230. "tags": [
  9231. "大连千海金(协议和签约信息)"
  9232. ],
  9233. "summary": "查询用户协议节点配置和状态",
  9234. "parameters": [
  9235. {
  9236. "type": "integer",
  9237. "description": "客户ID",
  9238. "name": "userid",
  9239. "in": "query"
  9240. },
  9241. {
  9242. "type": "integer",
  9243. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9244. "name": "configid",
  9245. "in": "query"
  9246. },
  9247. {
  9248. "type": "string",
  9249. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9250. "name": "nodetype",
  9251. "in": "query"
  9252. },
  9253. {
  9254. "type": "integer",
  9255. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9256. "name": "goodsid",
  9257. "in": "query"
  9258. },
  9259. {
  9260. "type": "integer",
  9261. "description": "协议ID",
  9262. "name": "agreementid",
  9263. "in": "query"
  9264. },
  9265. {
  9266. "type": "integer",
  9267. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9268. "name": "agreementtype",
  9269. "in": "query"
  9270. },
  9271. {
  9272. "type": "integer",
  9273. "description": "协议版本号",
  9274. "name": "agreementversion",
  9275. "in": "query"
  9276. },
  9277. {
  9278. "type": "string",
  9279. "description": "协议编号(模糊匹配)",
  9280. "name": "agreementno",
  9281. "in": "query"
  9282. },
  9283. {
  9284. "type": "string",
  9285. "description": "协议名称(模糊匹配)",
  9286. "name": "agreementname",
  9287. "in": "query"
  9288. }
  9289. ],
  9290. "responses": {
  9291. "200": {
  9292. "description": "OK",
  9293. "schema": {
  9294. "type": "array",
  9295. "items": {
  9296. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9297. }
  9298. }
  9299. },
  9300. "500": {
  9301. "description": "Internal Server Error",
  9302. "schema": {
  9303. "$ref": "#/definitions/app.Response"
  9304. }
  9305. }
  9306. }
  9307. }
  9308. },
  9309. "/Quote/QueryHistoryDatas": {
  9310. "get": {
  9311. "security": [
  9312. {
  9313. "ApiKeyAuth": []
  9314. }
  9315. ],
  9316. "produces": [
  9317. "application/json"
  9318. ],
  9319. "tags": [
  9320. "行情服务"
  9321. ],
  9322. "summary": "查询行情历史数据",
  9323. "parameters": [
  9324. {
  9325. "type": "integer",
  9326. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9327. "name": "cycleType",
  9328. "in": "query",
  9329. "required": true
  9330. },
  9331. {
  9332. "type": "string",
  9333. "description": "商品代码",
  9334. "name": "goodsCode",
  9335. "in": "query",
  9336. "required": true
  9337. },
  9338. {
  9339. "type": "string",
  9340. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9341. "name": "startTime",
  9342. "in": "query"
  9343. },
  9344. {
  9345. "type": "string",
  9346. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9347. "name": "endTime",
  9348. "in": "query"
  9349. },
  9350. {
  9351. "type": "integer",
  9352. "description": "条数",
  9353. "name": "count",
  9354. "in": "query"
  9355. },
  9356. {
  9357. "type": "boolean",
  9358. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9359. "name": "isAsc",
  9360. "in": "query"
  9361. }
  9362. ],
  9363. "responses": {
  9364. "200": {
  9365. "description": "OK",
  9366. "schema": {
  9367. "$ref": "#/definitions/quote.HistoryData"
  9368. }
  9369. },
  9370. "500": {
  9371. "description": "Internal Server Error",
  9372. "schema": {
  9373. "$ref": "#/definitions/app.Response"
  9374. }
  9375. }
  9376. }
  9377. }
  9378. },
  9379. "/Quote/QueryHistoryTikDatas": {
  9380. "get": {
  9381. "security": [
  9382. {
  9383. "ApiKeyAuth": []
  9384. }
  9385. ],
  9386. "produces": [
  9387. "application/json"
  9388. ],
  9389. "tags": [
  9390. "行情服务"
  9391. ],
  9392. "summary": "查询行情Tik数据",
  9393. "parameters": [
  9394. {
  9395. "type": "string",
  9396. "description": "商品代码",
  9397. "name": "goodsCode",
  9398. "in": "query",
  9399. "required": true
  9400. },
  9401. {
  9402. "type": "string",
  9403. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9404. "name": "startTime",
  9405. "in": "query"
  9406. },
  9407. {
  9408. "type": "string",
  9409. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9410. "name": "endTime",
  9411. "in": "query"
  9412. },
  9413. {
  9414. "type": "integer",
  9415. "description": "条数",
  9416. "name": "count",
  9417. "in": "query"
  9418. },
  9419. {
  9420. "type": "boolean",
  9421. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9422. "name": "isAsc",
  9423. "in": "query"
  9424. }
  9425. ],
  9426. "responses": {
  9427. "200": {
  9428. "description": "OK",
  9429. "schema": {
  9430. "$ref": "#/definitions/quote.HistoryTikData"
  9431. }
  9432. },
  9433. "500": {
  9434. "description": "Internal Server Error",
  9435. "schema": {
  9436. "$ref": "#/definitions/app.Response"
  9437. }
  9438. }
  9439. }
  9440. }
  9441. },
  9442. "/Quote/QueryQuoteDay": {
  9443. "get": {
  9444. "security": [
  9445. {
  9446. "ApiKeyAuth": []
  9447. }
  9448. ],
  9449. "produces": [
  9450. "application/json"
  9451. ],
  9452. "tags": [
  9453. "行情服务"
  9454. ],
  9455. "summary": "获取商品盘面信息",
  9456. "parameters": [
  9457. {
  9458. "type": "string",
  9459. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9460. "name": "goodsCodes",
  9461. "in": "query",
  9462. "required": true
  9463. }
  9464. ],
  9465. "responses": {
  9466. "200": {
  9467. "description": "OK",
  9468. "schema": {
  9469. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9470. }
  9471. },
  9472. "500": {
  9473. "description": "Internal Server Error",
  9474. "schema": {
  9475. "$ref": "#/definitions/app.Response"
  9476. }
  9477. }
  9478. }
  9479. }
  9480. },
  9481. "/Quote/QueryTSData": {
  9482. "get": {
  9483. "security": [
  9484. {
  9485. "ApiKeyAuth": []
  9486. }
  9487. ],
  9488. "produces": [
  9489. "application/json"
  9490. ],
  9491. "tags": [
  9492. "行情服务"
  9493. ],
  9494. "summary": "分时图数据查询",
  9495. "parameters": [
  9496. {
  9497. "type": "string",
  9498. "description": "商品代码",
  9499. "name": "goodsCode",
  9500. "in": "query",
  9501. "required": true
  9502. }
  9503. ],
  9504. "responses": {
  9505. "200": {
  9506. "description": "OK",
  9507. "schema": {
  9508. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9509. }
  9510. },
  9511. "500": {
  9512. "description": "Internal Server Error",
  9513. "schema": {
  9514. "$ref": "#/definitions/app.Response"
  9515. }
  9516. }
  9517. }
  9518. }
  9519. },
  9520. "/SZDZ/QueryConvertConfig": {
  9521. "get": {
  9522. "security": [
  9523. {
  9524. "ApiKeyAuth": []
  9525. }
  9526. ],
  9527. "produces": [
  9528. "application/json"
  9529. ],
  9530. "tags": [
  9531. "定制【尚志大宗】"
  9532. ],
  9533. "summary": "查询交易系统转换设置",
  9534. "parameters": [
  9535. {
  9536. "type": "integer",
  9537. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9538. "name": "convertType",
  9539. "in": "query"
  9540. },
  9541. {
  9542. "type": "string",
  9543. "description": "外部商品代码[JD\\PD]",
  9544. "name": "outerGoodsCode",
  9545. "in": "query"
  9546. },
  9547. {
  9548. "type": "string",
  9549. "description": "内部商品ID列表[交易],格式:1,2,3",
  9550. "name": "innerGoodsIDs",
  9551. "in": "query"
  9552. }
  9553. ],
  9554. "responses": {
  9555. "200": {
  9556. "description": "OK",
  9557. "schema": {
  9558. "$ref": "#/definitions/models.Szdz3convertconfig"
  9559. }
  9560. },
  9561. "500": {
  9562. "description": "Internal Server Error",
  9563. "schema": {
  9564. "$ref": "#/definitions/app.Response"
  9565. }
  9566. }
  9567. }
  9568. }
  9569. },
  9570. "/SZDZ/QueryConvertLog": {
  9571. "get": {
  9572. "security": [
  9573. {
  9574. "ApiKeyAuth": []
  9575. }
  9576. ],
  9577. "produces": [
  9578. "application/json"
  9579. ],
  9580. "tags": [
  9581. "定制【尚志大宗】"
  9582. ],
  9583. "summary": "交易系统转换流水查询",
  9584. "parameters": [
  9585. {
  9586. "type": "string",
  9587. "description": "资金账户 - 格式:1,2,3",
  9588. "name": "accountID",
  9589. "in": "query",
  9590. "required": true
  9591. },
  9592. {
  9593. "type": "string",
  9594. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9595. "name": "startDate",
  9596. "in": "query"
  9597. },
  9598. {
  9599. "type": "string",
  9600. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9601. "name": "endDate",
  9602. "in": "query"
  9603. }
  9604. ],
  9605. "responses": {
  9606. "200": {
  9607. "description": "OK",
  9608. "schema": {
  9609. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9610. }
  9611. },
  9612. "500": {
  9613. "description": "Internal Server Error",
  9614. "schema": {
  9615. "$ref": "#/definitions/app.Response"
  9616. }
  9617. }
  9618. }
  9619. }
  9620. },
  9621. "/SZDZ/QueryGoodsPickup": {
  9622. "get": {
  9623. "security": [
  9624. {
  9625. "ApiKeyAuth": []
  9626. }
  9627. ],
  9628. "produces": [
  9629. "application/json"
  9630. ],
  9631. "tags": [
  9632. "定制【尚志大宗】"
  9633. ],
  9634. "summary": "商品提货单查询",
  9635. "parameters": [
  9636. {
  9637. "type": "string",
  9638. "description": "资金账户 - 格式:1,2,3",
  9639. "name": "accountID",
  9640. "in": "query",
  9641. "required": true
  9642. },
  9643. {
  9644. "type": "integer",
  9645. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9646. "name": "takeOrderStatus",
  9647. "in": "query"
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9655. }
  9656. },
  9657. "500": {
  9658. "description": "Internal Server Error",
  9659. "schema": {
  9660. "$ref": "#/definitions/app.Response"
  9661. }
  9662. }
  9663. }
  9664. }
  9665. },
  9666. "/SZDZ/QueryRecieptOrder": {
  9667. "get": {
  9668. "security": [
  9669. {
  9670. "ApiKeyAuth": []
  9671. }
  9672. ],
  9673. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9674. "produces": [
  9675. "application/json"
  9676. ],
  9677. "tags": [
  9678. "定制【尚志大宗】"
  9679. ],
  9680. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9681. "parameters": [
  9682. {
  9683. "type": "integer",
  9684. "description": "页码",
  9685. "name": "page",
  9686. "in": "query"
  9687. },
  9688. {
  9689. "type": "integer",
  9690. "description": "每页条数",
  9691. "name": "pagesize",
  9692. "in": "query"
  9693. },
  9694. {
  9695. "type": "integer",
  9696. "description": "商品ID",
  9697. "name": "goodsID",
  9698. "in": "query",
  9699. "required": true
  9700. },
  9701. {
  9702. "type": "string",
  9703. "description": "所属账户名称",
  9704. "name": "accountName",
  9705. "in": "query"
  9706. },
  9707. {
  9708. "type": "integer",
  9709. "description": "市场ID",
  9710. "name": "marketID",
  9711. "in": "query"
  9712. },
  9713. {
  9714. "type": "integer",
  9715. "description": "方向 - 0:买 1:卖",
  9716. "name": "buyorsell",
  9717. "in": "query",
  9718. "required": true
  9719. }
  9720. ],
  9721. "responses": {
  9722. "200": {
  9723. "description": "OK",
  9724. "schema": {
  9725. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/SZDZ/QuerySZDZTradePosition": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "定制【尚志大宗】"
  9749. ],
  9750. "summary": "持仓汇总查询(尚志大宗)",
  9751. "parameters": [
  9752. {
  9753. "type": "integer",
  9754. "description": "资金账户",
  9755. "name": "accountID",
  9756. "in": "query",
  9757. "required": true
  9758. }
  9759. ],
  9760. "responses": {
  9761. "200": {
  9762. "description": "OK",
  9763. "schema": {
  9764. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/SZDZ/SearchWhite": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "定制【尚志大宗】"
  9788. ],
  9789. "summary": "搜索白名单",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "用户ID",
  9794. "name": "userID",
  9795. "in": "query",
  9796. "required": true
  9797. }
  9798. ],
  9799. "responses": {
  9800. "200": {
  9801. "description": "OK",
  9802. "schema": {
  9803. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9804. }
  9805. },
  9806. "500": {
  9807. "description": "Internal Server Error",
  9808. "schema": {
  9809. "$ref": "#/definitions/app.Response"
  9810. }
  9811. }
  9812. }
  9813. }
  9814. },
  9815. "/Search/SearchGoodses": {
  9816. "get": {
  9817. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9818. "produces": [
  9819. "application/json"
  9820. ],
  9821. "tags": [
  9822. "检索服务"
  9823. ],
  9824. "summary": "检索商品信息",
  9825. "parameters": [
  9826. {
  9827. "type": "string",
  9828. "description": "检索内容",
  9829. "name": "content",
  9830. "in": "query",
  9831. "required": true
  9832. },
  9833. {
  9834. "type": "string",
  9835. "description": "交易模式,格式:1,2,3",
  9836. "name": "tradeModes",
  9837. "in": "query"
  9838. }
  9839. ],
  9840. "responses": {
  9841. "200": {
  9842. "description": "OK",
  9843. "schema": {
  9844. "$ref": "#/definitions/models.SearchGoods"
  9845. }
  9846. },
  9847. "500": {
  9848. "description": "Internal Server Error",
  9849. "schema": {
  9850. "$ref": "#/definitions/app.Response"
  9851. }
  9852. }
  9853. }
  9854. }
  9855. },
  9856. "/TaAccount/GetTaAccounts": {
  9857. "get": {
  9858. "security": [
  9859. {
  9860. "ApiKeyAuth": []
  9861. }
  9862. ],
  9863. "produces": [
  9864. "application/json"
  9865. ],
  9866. "tags": [
  9867. "资金账户"
  9868. ],
  9869. "summary": "获取资金账户信息",
  9870. "parameters": [
  9871. {
  9872. "type": "integer",
  9873. "description": "登录账户",
  9874. "name": "loginID",
  9875. "in": "query",
  9876. "required": true
  9877. },
  9878. {
  9879. "type": "integer",
  9880. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  9881. "name": "taAccountType",
  9882. "in": "query"
  9883. }
  9884. ],
  9885. "responses": {
  9886. "200": {
  9887. "description": "OK",
  9888. "schema": {
  9889. "$ref": "#/definitions/models.Taaccount"
  9890. }
  9891. },
  9892. "500": {
  9893. "description": "Internal Server Error",
  9894. "schema": {
  9895. "$ref": "#/definitions/app.Response"
  9896. }
  9897. }
  9898. }
  9899. }
  9900. },
  9901. "/TaAccount/QueryAmountLog": {
  9902. "get": {
  9903. "security": [
  9904. {
  9905. "ApiKeyAuth": []
  9906. }
  9907. ],
  9908. "produces": [
  9909. "application/json"
  9910. ],
  9911. "tags": [
  9912. "资金账户"
  9913. ],
  9914. "summary": "资金流水查询(当前)",
  9915. "parameters": [
  9916. {
  9917. "type": "integer",
  9918. "description": "页码",
  9919. "name": "page",
  9920. "in": "query"
  9921. },
  9922. {
  9923. "type": "integer",
  9924. "description": "每页条数",
  9925. "name": "pagesize",
  9926. "in": "query"
  9927. },
  9928. {
  9929. "type": "string",
  9930. "description": "资金账户 - 格式:1,2,3",
  9931. "name": "accountID",
  9932. "in": "query",
  9933. "required": true
  9934. },
  9935. {
  9936. "type": "string",
  9937. "description": "资金操作类型 - 格式:1,2,3",
  9938. "name": "OperateType",
  9939. "in": "query"
  9940. }
  9941. ],
  9942. "responses": {
  9943. "200": {
  9944. "description": "OK",
  9945. "schema": {
  9946. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  9947. }
  9948. },
  9949. "500": {
  9950. "description": "Internal Server Error",
  9951. "schema": {
  9952. "$ref": "#/definitions/app.Response"
  9953. }
  9954. }
  9955. }
  9956. }
  9957. },
  9958. "/TaAccount/QueryHisAmountLog": {
  9959. "get": {
  9960. "security": [
  9961. {
  9962. "ApiKeyAuth": []
  9963. }
  9964. ],
  9965. "produces": [
  9966. "application/json"
  9967. ],
  9968. "tags": [
  9969. "资金账户"
  9970. ],
  9971. "summary": "资金流水查询(历史)",
  9972. "parameters": [
  9973. {
  9974. "type": "integer",
  9975. "description": "页码",
  9976. "name": "page",
  9977. "in": "query"
  9978. },
  9979. {
  9980. "type": "integer",
  9981. "description": "每页条数",
  9982. "name": "pagesize",
  9983. "in": "query"
  9984. },
  9985. {
  9986. "type": "string",
  9987. "description": "资金账户 - 格式:1,2,3",
  9988. "name": "accountID",
  9989. "in": "query",
  9990. "required": true
  9991. },
  9992. {
  9993. "type": "string",
  9994. "description": "资金操作类型 - 格式:1,2,3",
  9995. "name": "OperateType",
  9996. "in": "query"
  9997. },
  9998. {
  9999. "type": "string",
  10000. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10001. "name": "startDate",
  10002. "in": "query"
  10003. },
  10004. {
  10005. "type": "string",
  10006. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10007. "name": "endDate",
  10008. "in": "query"
  10009. }
  10010. ],
  10011. "responses": {
  10012. "200": {
  10013. "description": "OK",
  10014. "schema": {
  10015. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10016. }
  10017. },
  10018. "500": {
  10019. "description": "Internal Server Error",
  10020. "schema": {
  10021. "$ref": "#/definitions/app.Response"
  10022. }
  10023. }
  10024. }
  10025. }
  10026. },
  10027. "/Trade/QueryRecieptOrder": {
  10028. "get": {
  10029. "security": [
  10030. {
  10031. "ApiKeyAuth": []
  10032. }
  10033. ],
  10034. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10035. "produces": [
  10036. "application/json"
  10037. ],
  10038. "tags": [
  10039. "通用交易"
  10040. ],
  10041. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10042. "parameters": [
  10043. {
  10044. "type": "integer",
  10045. "description": "页码",
  10046. "name": "page",
  10047. "in": "query"
  10048. },
  10049. {
  10050. "type": "integer",
  10051. "description": "每页条数",
  10052. "name": "pagesize",
  10053. "in": "query"
  10054. },
  10055. {
  10056. "type": "integer",
  10057. "description": "商品ID",
  10058. "name": "goodsID",
  10059. "in": "query",
  10060. "required": true
  10061. },
  10062. {
  10063. "type": "string",
  10064. "description": "所属账户名称",
  10065. "name": "accountName",
  10066. "in": "query"
  10067. },
  10068. {
  10069. "type": "integer",
  10070. "description": "市场ID",
  10071. "name": "marketID",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "integer",
  10076. "description": "方向 - 0:买 1:卖",
  10077. "name": "buyorsell",
  10078. "in": "query",
  10079. "required": true
  10080. }
  10081. ],
  10082. "responses": {
  10083. "200": {
  10084. "description": "OK",
  10085. "schema": {
  10086. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10087. }
  10088. },
  10089. "500": {
  10090. "description": "Internal Server Error",
  10091. "schema": {
  10092. "$ref": "#/definitions/app.Response"
  10093. }
  10094. }
  10095. }
  10096. }
  10097. },
  10098. "/User/AddMessageBoard": {
  10099. "post": {
  10100. "security": [
  10101. {
  10102. "ApiKeyAuth": []
  10103. }
  10104. ],
  10105. "produces": [
  10106. "application/json"
  10107. ],
  10108. "tags": [
  10109. "用户信息"
  10110. ],
  10111. "summary": "添加用户留言板信息",
  10112. "parameters": [
  10113. {
  10114. "type": "integer",
  10115. "description": "用户ID",
  10116. "name": "userID",
  10117. "in": "query",
  10118. "required": true
  10119. },
  10120. {
  10121. "type": "string",
  10122. "description": "留言信息",
  10123. "name": "message",
  10124. "in": "query",
  10125. "required": true
  10126. },
  10127. {
  10128. "type": "string",
  10129. "description": "联系电话",
  10130. "name": "contactNum",
  10131. "in": "query",
  10132. "required": true
  10133. }
  10134. ],
  10135. "responses": {
  10136. "200": {
  10137. "description": "OK",
  10138. "schema": {
  10139. "$ref": "#/definitions/app.Response"
  10140. }
  10141. },
  10142. "500": {
  10143. "description": "Internal Server Error",
  10144. "schema": {
  10145. "$ref": "#/definitions/app.Response"
  10146. }
  10147. }
  10148. }
  10149. }
  10150. },
  10151. "/User/AddUserFavoriteGoods": {
  10152. "post": {
  10153. "security": [
  10154. {
  10155. "ApiKeyAuth": []
  10156. }
  10157. ],
  10158. "produces": [
  10159. "application/json"
  10160. ],
  10161. "tags": [
  10162. "用户信息"
  10163. ],
  10164. "summary": "添加用户商品收藏信息",
  10165. "parameters": [
  10166. {
  10167. "type": "integer",
  10168. "description": "用户ID",
  10169. "name": "userID",
  10170. "in": "query",
  10171. "required": true
  10172. },
  10173. {
  10174. "type": "integer",
  10175. "description": "商品ID",
  10176. "name": "goodsID",
  10177. "in": "query",
  10178. "required": true
  10179. }
  10180. ],
  10181. "responses": {
  10182. "200": {
  10183. "description": "OK",
  10184. "schema": {
  10185. "$ref": "#/definitions/app.Response"
  10186. }
  10187. },
  10188. "500": {
  10189. "description": "Internal Server Error",
  10190. "schema": {
  10191. "$ref": "#/definitions/app.Response"
  10192. }
  10193. }
  10194. }
  10195. }
  10196. },
  10197. "/User/GetLoginID": {
  10198. "get": {
  10199. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10200. "produces": [
  10201. "application/json"
  10202. ],
  10203. "tags": [
  10204. "用户信息"
  10205. ],
  10206. "summary": "获取登录ID",
  10207. "parameters": [
  10208. {
  10209. "type": "string",
  10210. "description": "登录代码",
  10211. "name": "username",
  10212. "in": "query",
  10213. "required": true
  10214. }
  10215. ],
  10216. "responses": {
  10217. "200": {
  10218. "description": "OK",
  10219. "schema": {
  10220. "$ref": "#/definitions/app.Response"
  10221. }
  10222. },
  10223. "500": {
  10224. "description": "Internal Server Error",
  10225. "schema": {
  10226. "$ref": "#/definitions/app.Response"
  10227. }
  10228. }
  10229. }
  10230. }
  10231. },
  10232. "/User/GetUserAccount": {
  10233. "get": {
  10234. "security": [
  10235. {
  10236. "ApiKeyAuth": []
  10237. }
  10238. ],
  10239. "produces": [
  10240. "application/json"
  10241. ],
  10242. "tags": [
  10243. "用户信息"
  10244. ],
  10245. "summary": "获取用户账号信息",
  10246. "parameters": [
  10247. {
  10248. "type": "integer",
  10249. "description": "用户ID",
  10250. "name": "userID",
  10251. "in": "query",
  10252. "required": true
  10253. }
  10254. ],
  10255. "responses": {
  10256. "200": {
  10257. "description": "OK",
  10258. "schema": {
  10259. "$ref": "#/definitions/models.Useraccount"
  10260. }
  10261. },
  10262. "500": {
  10263. "description": "Internal Server Error",
  10264. "schema": {
  10265. "$ref": "#/definitions/app.Response"
  10266. }
  10267. }
  10268. }
  10269. }
  10270. },
  10271. "/User/GetUserAuthStatus": {
  10272. "get": {
  10273. "security": [
  10274. {
  10275. "ApiKeyAuth": []
  10276. }
  10277. ],
  10278. "produces": [
  10279. "application/json"
  10280. ],
  10281. "tags": [
  10282. "用户信息"
  10283. ],
  10284. "summary": "获取用户实名认证状态",
  10285. "parameters": [
  10286. {
  10287. "type": "integer",
  10288. "description": "用户ID",
  10289. "name": "userID",
  10290. "in": "query",
  10291. "required": true
  10292. }
  10293. ],
  10294. "responses": {
  10295. "200": {
  10296. "description": "OK",
  10297. "schema": {
  10298. "$ref": "#/definitions/app.Response"
  10299. }
  10300. },
  10301. "500": {
  10302. "description": "Internal Server Error",
  10303. "schema": {
  10304. "$ref": "#/definitions/app.Response"
  10305. }
  10306. }
  10307. }
  10308. }
  10309. },
  10310. "/User/LoginQuery": {
  10311. "get": {
  10312. "security": [
  10313. {
  10314. "ApiKeyAuth": []
  10315. }
  10316. ],
  10317. "produces": [
  10318. "application/json"
  10319. ],
  10320. "tags": [
  10321. "用户信息"
  10322. ],
  10323. "summary": "账户登录后信息查询",
  10324. "parameters": [
  10325. {
  10326. "type": "integer",
  10327. "description": "登录账号",
  10328. "name": "loginID",
  10329. "in": "query",
  10330. "required": true
  10331. }
  10332. ],
  10333. "responses": {
  10334. "200": {
  10335. "description": "OK",
  10336. "schema": {
  10337. "$ref": "#/definitions/user.LoginQueryRsp"
  10338. }
  10339. },
  10340. "500": {
  10341. "description": "Internal Server Error",
  10342. "schema": {
  10343. "$ref": "#/definitions/app.Response"
  10344. }
  10345. }
  10346. }
  10347. }
  10348. },
  10349. "/User/QueryMessageBoard": {
  10350. "get": {
  10351. "security": [
  10352. {
  10353. "ApiKeyAuth": []
  10354. }
  10355. ],
  10356. "produces": [
  10357. "application/json"
  10358. ],
  10359. "tags": [
  10360. "用户信息"
  10361. ],
  10362. "summary": "获取用户留言板信息",
  10363. "parameters": [
  10364. {
  10365. "type": "integer",
  10366. "description": "用户ID",
  10367. "name": "userID",
  10368. "in": "query",
  10369. "required": true
  10370. }
  10371. ],
  10372. "responses": {
  10373. "200": {
  10374. "description": "OK",
  10375. "schema": {
  10376. "$ref": "#/definitions/models.Messageboard"
  10377. }
  10378. },
  10379. "500": {
  10380. "description": "Internal Server Error",
  10381. "schema": {
  10382. "$ref": "#/definitions/app.Response"
  10383. }
  10384. }
  10385. }
  10386. }
  10387. },
  10388. "/User/QueryUserFavoriteGoodses": {
  10389. "get": {
  10390. "security": [
  10391. {
  10392. "ApiKeyAuth": []
  10393. }
  10394. ],
  10395. "produces": [
  10396. "application/json"
  10397. ],
  10398. "tags": [
  10399. "用户信息"
  10400. ],
  10401. "summary": "获取用户商品收藏信息",
  10402. "parameters": [
  10403. {
  10404. "type": "integer",
  10405. "description": "用户ID",
  10406. "name": "userID",
  10407. "in": "query",
  10408. "required": true
  10409. }
  10410. ],
  10411. "responses": {
  10412. "200": {
  10413. "description": "OK",
  10414. "schema": {
  10415. "$ref": "#/definitions/models.Userfavoritegoods"
  10416. }
  10417. },
  10418. "500": {
  10419. "description": "Internal Server Error",
  10420. "schema": {
  10421. "$ref": "#/definitions/app.Response"
  10422. }
  10423. }
  10424. }
  10425. }
  10426. },
  10427. "/User/QueryUserInfo": {
  10428. "get": {
  10429. "security": [
  10430. {
  10431. "ApiKeyAuth": []
  10432. }
  10433. ],
  10434. "produces": [
  10435. "application/json"
  10436. ],
  10437. "tags": [
  10438. "用户信息"
  10439. ],
  10440. "summary": "获取用户信息",
  10441. "parameters": [
  10442. {
  10443. "type": "integer",
  10444. "description": "用户ID",
  10445. "name": "userID",
  10446. "in": "query",
  10447. "required": true
  10448. },
  10449. {
  10450. "type": "boolean",
  10451. "description": "是否解密",
  10452. "name": "isDecrypt",
  10453. "in": "query"
  10454. }
  10455. ],
  10456. "responses": {
  10457. "200": {
  10458. "description": "OK",
  10459. "schema": {
  10460. "$ref": "#/definitions/models.Userinfo"
  10461. }
  10462. },
  10463. "500": {
  10464. "description": "Internal Server Error",
  10465. "schema": {
  10466. "$ref": "#/definitions/app.Response"
  10467. }
  10468. }
  10469. }
  10470. }
  10471. },
  10472. "/User/QueryUserReferNum": {
  10473. "get": {
  10474. "produces": [
  10475. "application/json"
  10476. ],
  10477. "tags": [
  10478. "用户信息"
  10479. ],
  10480. "summary": "获取用户邀请码",
  10481. "parameters": [
  10482. {
  10483. "type": "integer",
  10484. "description": "用户ID",
  10485. "name": "userID",
  10486. "in": "query",
  10487. "required": true
  10488. }
  10489. ],
  10490. "responses": {
  10491. "200": {
  10492. "description": "OK",
  10493. "schema": {
  10494. "$ref": "#/definitions/app.Response"
  10495. }
  10496. },
  10497. "500": {
  10498. "description": "Internal Server Error",
  10499. "schema": {
  10500. "$ref": "#/definitions/app.Response"
  10501. }
  10502. }
  10503. }
  10504. }
  10505. },
  10506. "/User/RemoveUserFavoriteGoods": {
  10507. "post": {
  10508. "security": [
  10509. {
  10510. "ApiKeyAuth": []
  10511. }
  10512. ],
  10513. "produces": [
  10514. "application/json"
  10515. ],
  10516. "tags": [
  10517. "用户信息"
  10518. ],
  10519. "summary": "移除用户商品收藏信息",
  10520. "parameters": [
  10521. {
  10522. "type": "integer",
  10523. "description": "用户ID",
  10524. "name": "userID",
  10525. "in": "query",
  10526. "required": true
  10527. },
  10528. {
  10529. "type": "integer",
  10530. "description": "商品ID",
  10531. "name": "goodsID",
  10532. "in": "query",
  10533. "required": true
  10534. }
  10535. ],
  10536. "responses": {
  10537. "200": {
  10538. "description": "OK",
  10539. "schema": {
  10540. "$ref": "#/definitions/app.Response"
  10541. }
  10542. },
  10543. "500": {
  10544. "description": "Internal Server Error",
  10545. "schema": {
  10546. "$ref": "#/definitions/app.Response"
  10547. }
  10548. }
  10549. }
  10550. }
  10551. },
  10552. "/User/UpdateUserAccountStatus": {
  10553. "post": {
  10554. "security": [
  10555. {
  10556. "ApiKeyAuth": []
  10557. }
  10558. ],
  10559. "produces": [
  10560. "application/json"
  10561. ],
  10562. "tags": [
  10563. "用户信息"
  10564. ],
  10565. "summary": "更新用户状态",
  10566. "parameters": [
  10567. {
  10568. "type": "integer",
  10569. "description": "用户ID",
  10570. "name": "userID",
  10571. "in": "query",
  10572. "required": true
  10573. },
  10574. {
  10575. "type": "integer",
  10576. "description": "账户状态 - 4:正常 6:注销(停用)",
  10577. "name": "accountStatus",
  10578. "in": "query",
  10579. "required": true
  10580. }
  10581. ],
  10582. "responses": {
  10583. "200": {
  10584. "description": "OK",
  10585. "schema": {
  10586. "$ref": "#/definitions/app.Response"
  10587. }
  10588. },
  10589. "500": {
  10590. "description": "Internal Server Error",
  10591. "schema": {
  10592. "$ref": "#/definitions/app.Response"
  10593. }
  10594. }
  10595. }
  10596. }
  10597. },
  10598. "/WRTrade/GetAllDeliveryGoods": {
  10599. "get": {
  10600. "security": [
  10601. {
  10602. "ApiKeyAuth": []
  10603. },
  10604. {
  10605. "ApiKeyAuth": []
  10606. }
  10607. ],
  10608. "produces": [
  10609. "application/json",
  10610. "application/json"
  10611. ],
  10612. "tags": [
  10613. "仓单贸易",
  10614. "仓单贸易"
  10615. ],
  10616. "summary": "获取带仓单分类的种类信息",
  10617. "responses": {
  10618. "200": {
  10619. "description": "OK",
  10620. "schema": {
  10621. "$ref": "#/definitions/app.Response"
  10622. }
  10623. },
  10624. "500": {
  10625. "description": "Internal Server Error",
  10626. "schema": {
  10627. "$ref": "#/definitions/app.Response"
  10628. }
  10629. }
  10630. }
  10631. }
  10632. }
  10633. },
  10634. "definitions": {
  10635. "app.Response": {
  10636. "type": "object",
  10637. "properties": {
  10638. "code": {
  10639. "type": "integer"
  10640. },
  10641. "data": {
  10642. "type": "object"
  10643. },
  10644. "msg": {
  10645. "type": "string"
  10646. },
  10647. "page": {
  10648. "description": "页码",
  10649. "type": "integer"
  10650. },
  10651. "pagesize": {
  10652. "description": "每页条数",
  10653. "type": "integer"
  10654. },
  10655. "total": {
  10656. "description": "总条数",
  10657. "type": "integer"
  10658. }
  10659. }
  10660. },
  10661. "common.ClientMenu": {
  10662. "type": "object",
  10663. "properties": {
  10664. "children": {
  10665. "description": "子菜单列表",
  10666. "type": "array",
  10667. "items": {
  10668. "$ref": "#/definitions/common.ClientMenu"
  10669. }
  10670. },
  10671. "code": {
  10672. "description": "ID",
  10673. "type": "string"
  10674. },
  10675. "isshow": {
  10676. "description": "是否显示",
  10677. "type": "boolean"
  10678. },
  10679. "rulekey": {
  10680. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10681. "type": "string"
  10682. },
  10683. "sort": {
  10684. "description": "排序",
  10685. "type": "integer"
  10686. },
  10687. "title": {
  10688. "description": "标题",
  10689. "type": "string"
  10690. },
  10691. "type": {
  10692. "description": "类型,1:菜单 2:按钮",
  10693. "type": "integer"
  10694. }
  10695. }
  10696. },
  10697. "common.QueryImageConfigsRsp": {
  10698. "type": "object",
  10699. "required": [
  10700. "configid"
  10701. ],
  10702. "properties": {
  10703. "areauserid": {
  10704. "description": "所属机构ID",
  10705. "type": "integer"
  10706. },
  10707. "configid": {
  10708. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10709. "type": "integer"
  10710. },
  10711. "createdate": {
  10712. "description": "创建时间",
  10713. "type": "string"
  10714. },
  10715. "creatorid": {
  10716. "description": "创建人",
  10717. "type": "integer"
  10718. },
  10719. "imagepath": {
  10720. "description": "图片",
  10721. "type": "string"
  10722. },
  10723. "imagetype": {
  10724. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10725. "type": "integer"
  10726. },
  10727. "isshow": {
  10728. "description": "是否展示 - 0:不展示 1:展示",
  10729. "type": "integer"
  10730. },
  10731. "marketid": {
  10732. "description": "市场ID",
  10733. "type": "integer"
  10734. },
  10735. "modifierid": {
  10736. "description": "操作人",
  10737. "type": "integer"
  10738. },
  10739. "sort": {
  10740. "description": "排序",
  10741. "type": "integer"
  10742. },
  10743. "title": {
  10744. "description": "标题",
  10745. "type": "string"
  10746. },
  10747. "trademode": {
  10748. "description": "交易模式",
  10749. "type": "integer"
  10750. },
  10751. "updatedate": {
  10752. "description": "修改时间",
  10753. "type": "string"
  10754. },
  10755. "url": {
  10756. "description": "链接(地址或商品ID)",
  10757. "type": "string"
  10758. },
  10759. "urltype": {
  10760. "description": "链接类型 - 1:直接地址 2:商品ID",
  10761. "type": "integer"
  10762. }
  10763. }
  10764. },
  10765. "common.QueryNoticeRsp": {
  10766. "type": "object",
  10767. "required": [
  10768. "autoid"
  10769. ],
  10770. "properties": {
  10771. "auditoruserid": {
  10772. "description": "审核人",
  10773. "type": "integer"
  10774. },
  10775. "auditremark": {
  10776. "description": "审核备注",
  10777. "type": "string"
  10778. },
  10779. "audittime": {
  10780. "description": "审核日期",
  10781. "type": "string"
  10782. },
  10783. "autoid": {
  10784. "description": "自增ID",
  10785. "type": "integer"
  10786. },
  10787. "content": {
  10788. "description": "内容",
  10789. "type": "string"
  10790. },
  10791. "createtime": {
  10792. "description": "创建时间",
  10793. "type": "string"
  10794. },
  10795. "creatorid": {
  10796. "description": "建仓人",
  10797. "type": "integer"
  10798. },
  10799. "endtime": {
  10800. "description": "结束时间",
  10801. "type": "string"
  10802. },
  10803. "istop": {
  10804. "description": "是否置顶 - 0:不置顶 1:置顶",
  10805. "type": "integer"
  10806. },
  10807. "msgiconurl": {
  10808. "description": "消息图标Url",
  10809. "type": "string"
  10810. },
  10811. "msgtype": {
  10812. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10813. "type": "integer"
  10814. },
  10815. "publisher": {
  10816. "description": "消息发布者",
  10817. "type": "string"
  10818. },
  10819. "readed": {
  10820. "description": "是否已读",
  10821. "type": "boolean"
  10822. },
  10823. "scheduletime": {
  10824. "description": "计划发送时间",
  10825. "type": "string"
  10826. },
  10827. "sendtype": {
  10828. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  10829. "type": "integer"
  10830. },
  10831. "sentstatus": {
  10832. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  10833. "type": "integer"
  10834. },
  10835. "title": {
  10836. "description": "标题",
  10837. "type": "string"
  10838. },
  10839. "userid": {
  10840. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  10841. "type": "integer"
  10842. }
  10843. }
  10844. },
  10845. "common.QueryProvincesAndCitiesRsp": {
  10846. "type": "object",
  10847. "properties": {
  10848. "cities": {
  10849. "description": "市",
  10850. "type": "array",
  10851. "items": {
  10852. "$ref": "#/definitions/models.Division"
  10853. }
  10854. },
  10855. "province": {
  10856. "description": "省",
  10857. "type": "object",
  10858. "$ref": "#/definitions/models.Division"
  10859. }
  10860. }
  10861. },
  10862. "common.QueryTableDefineRsp": {
  10863. "type": "object",
  10864. "required": [
  10865. "tablekey"
  10866. ],
  10867. "properties": {
  10868. "columns": {
  10869. "description": "列头信息数组",
  10870. "type": "array",
  10871. "items": {
  10872. "$ref": "#/definitions/models.Tablecolumnconfig"
  10873. }
  10874. },
  10875. "remark": {
  10876. "description": "Remark",
  10877. "type": "string"
  10878. },
  10879. "tabelmenu": {
  10880. "description": "列表菜单",
  10881. "type": "string"
  10882. },
  10883. "tablekey": {
  10884. "description": "列表Key",
  10885. "type": "string"
  10886. },
  10887. "tablename": {
  10888. "description": "列表名称",
  10889. "type": "string"
  10890. },
  10891. "tabletype": {
  10892. "description": "列表类型 - 1:管理端 2:终端",
  10893. "type": "integer"
  10894. }
  10895. }
  10896. },
  10897. "common.QueryTraderMenuRsp": {
  10898. "type": "object",
  10899. "properties": {
  10900. "OperationMenu": {
  10901. "description": "功能菜单",
  10902. "type": "array",
  10903. "items": {
  10904. "$ref": "#/definitions/models.OperationPrimaryMenu"
  10905. }
  10906. },
  10907. "QuoteMenu": {
  10908. "description": "报价牌分类菜单",
  10909. "type": "array",
  10910. "items": {
  10911. "$ref": "#/definitions/models.QuotePrimaryMenu"
  10912. }
  10913. }
  10914. }
  10915. },
  10916. "cptrade.Cptradepositioncancel": {
  10917. "type": "object",
  10918. "required": [
  10919. "cancelid"
  10920. ],
  10921. "properties": {
  10922. "accountid": {
  10923. "description": "申请人账户ID",
  10924. "type": "integer"
  10925. },
  10926. "applystatus": {
  10927. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  10928. "type": "integer"
  10929. },
  10930. "applytime": {
  10931. "description": "申请时间",
  10932. "type": "string"
  10933. },
  10934. "cancelid": {
  10935. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  10936. "type": "integer"
  10937. },
  10938. "cancelqty": {
  10939. "description": "注销数量",
  10940. "type": "integer"
  10941. },
  10942. "createtime": {
  10943. "description": "创建时间",
  10944. "type": "string"
  10945. },
  10946. "creatorid": {
  10947. "description": "创建人ID",
  10948. "type": "integer"
  10949. },
  10950. "creatorname": {
  10951. "description": "创建人",
  10952. "type": "string"
  10953. },
  10954. "goodscode": {
  10955. "description": "订单商品代码",
  10956. "type": "string"
  10957. },
  10958. "goodsid": {
  10959. "description": "商品ID",
  10960. "type": "integer"
  10961. },
  10962. "goodsname": {
  10963. "description": "订单商品名称",
  10964. "type": "string"
  10965. },
  10966. "goodunit": {
  10967. "description": "报价单位",
  10968. "type": "string"
  10969. },
  10970. "handlestatus": {
  10971. "description": "处理状态",
  10972. "type": "integer"
  10973. },
  10974. "marketid": {
  10975. "description": "市场ID",
  10976. "type": "integer"
  10977. },
  10978. "marketname": {
  10979. "description": "市场名称",
  10980. "type": "string"
  10981. },
  10982. "tradedate": {
  10983. "description": "交易日(yyyyMMdd)",
  10984. "type": "string"
  10985. },
  10986. "userid": {
  10987. "description": "申请人ID",
  10988. "type": "integer"
  10989. }
  10990. }
  10991. },
  10992. "cptrade.Cptradepresaleapply": {
  10993. "type": "object",
  10994. "required": [
  10995. "applyid"
  10996. ],
  10997. "properties": {
  10998. "accountid": {
  10999. "description": "申请人账户ID",
  11000. "type": "integer"
  11001. },
  11002. "applyid": {
  11003. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11004. "type": "integer"
  11005. },
  11006. "applyremark": {
  11007. "description": "申请备注",
  11008. "type": "string"
  11009. },
  11010. "applystatus": {
  11011. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11012. "type": "integer"
  11013. },
  11014. "applytime": {
  11015. "description": "申请时间",
  11016. "type": "string"
  11017. },
  11018. "attachmenturl": {
  11019. "description": "附件地址",
  11020. "type": "string"
  11021. },
  11022. "endtime": {
  11023. "description": "预售结束时间",
  11024. "type": "string"
  11025. },
  11026. "goodscode": {
  11027. "description": "商品代码",
  11028. "type": "string"
  11029. },
  11030. "goodsid": {
  11031. "description": "商品ID",
  11032. "type": "integer"
  11033. },
  11034. "goodsname": {
  11035. "description": "商品名称",
  11036. "type": "string"
  11037. },
  11038. "goodunit": {
  11039. "description": "报价单位",
  11040. "type": "string"
  11041. },
  11042. "handlestatus": {
  11043. "description": "处理状态",
  11044. "type": "integer"
  11045. },
  11046. "marketid": {
  11047. "description": "预售市场ID",
  11048. "type": "integer"
  11049. },
  11050. "marketname": {
  11051. "description": "预售市场名称",
  11052. "type": "string"
  11053. },
  11054. "presaleqty": {
  11055. "description": "预售数量",
  11056. "type": "integer"
  11057. },
  11058. "relatedgoodscode": {
  11059. "description": "关联交易合约代码",
  11060. "type": "string"
  11061. },
  11062. "relatedgoodsid": {
  11063. "description": "关联交易合约ID",
  11064. "type": "integer"
  11065. },
  11066. "relatedgoodsname": {
  11067. "description": "关联交易合约名称",
  11068. "type": "string"
  11069. },
  11070. "starttime": {
  11071. "description": "预售开始时间",
  11072. "type": "string"
  11073. },
  11074. "tradedate": {
  11075. "description": "交易日(yyyyMMdd)",
  11076. "type": "string"
  11077. },
  11078. "trademode": {
  11079. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11080. "type": "integer"
  11081. },
  11082. "userid": {
  11083. "description": "申请人ID",
  11084. "type": "integer"
  11085. }
  11086. }
  11087. },
  11088. "cptrade.Cptradeusergoodsdata": {
  11089. "type": "object",
  11090. "required": [
  11091. "accountid",
  11092. "goodsid"
  11093. ],
  11094. "properties": {
  11095. "EnabledQty": {
  11096. "description": "可用量",
  11097. "type": "integer"
  11098. },
  11099. "GoodsCode": {
  11100. "description": "订单商品代码",
  11101. "type": "string"
  11102. },
  11103. "GoodsName": {
  11104. "description": "订单商品名称",
  11105. "type": "string"
  11106. },
  11107. "WRStandardCode": {
  11108. "description": "仓单标准代码",
  11109. "type": "string"
  11110. },
  11111. "WRStandardName": {
  11112. "description": "仓单标准名称",
  11113. "type": "string"
  11114. },
  11115. "accountid": {
  11116. "description": "账户ID",
  11117. "type": "integer"
  11118. },
  11119. "cancelqty": {
  11120. "description": "注销量",
  11121. "type": "integer"
  11122. },
  11123. "curpresaleqty": {
  11124. "description": "当前预售量",
  11125. "type": "integer"
  11126. },
  11127. "deliveryqty": {
  11128. "description": "交割量",
  11129. "type": "integer"
  11130. },
  11131. "freezeamount": {
  11132. "description": "冻结金额",
  11133. "type": "number"
  11134. },
  11135. "goodsid": {
  11136. "description": "商品ID",
  11137. "type": "integer"
  11138. },
  11139. "goodunit": {
  11140. "description": "报价单位",
  11141. "type": "string"
  11142. },
  11143. "hasspotfreeze": {
  11144. "description": "是否有现货冻结 - 0:否 1:有",
  11145. "type": "integer"
  11146. },
  11147. "inqty": {
  11148. "description": "转入量(总数量)",
  11149. "type": "integer"
  11150. },
  11151. "marketid": {
  11152. "description": "市场ID",
  11153. "type": "integer"
  11154. },
  11155. "presaledamount": {
  11156. "description": "已预售总金额",
  11157. "type": "integer"
  11158. },
  11159. "presaledqty": {
  11160. "description": "已预售量",
  11161. "type": "integer"
  11162. },
  11163. "userid": {
  11164. "description": "用户ID",
  11165. "type": "integer"
  11166. },
  11167. "wrstandardid": {
  11168. "description": "仓单标准ID",
  11169. "type": "integer"
  11170. }
  11171. }
  11172. },
  11173. "cptrade.QueryCPTradeMyBidRsp": {
  11174. "type": "object",
  11175. "required": [
  11176. "accountid",
  11177. "goodsid",
  11178. "marketid",
  11179. "orderid",
  11180. "orderqty",
  11181. "ordertime",
  11182. "tradeprice",
  11183. "tradeqty"
  11184. ],
  11185. "properties": {
  11186. "accountid": {
  11187. "description": "账户ID[报价币种]",
  11188. "type": "integer"
  11189. },
  11190. "goodsid": {
  11191. "description": "商品ID",
  11192. "type": "integer"
  11193. },
  11194. "goodunit": {
  11195. "description": "报价单位",
  11196. "type": "string"
  11197. },
  11198. "marketid": {
  11199. "description": "市场ID",
  11200. "type": "integer"
  11201. },
  11202. "orderid": {
  11203. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11204. "type": "integer"
  11205. },
  11206. "orderprice": {
  11207. "description": "委托价格",
  11208. "type": "number"
  11209. },
  11210. "orderqty": {
  11211. "description": "委托数量",
  11212. "type": "integer"
  11213. },
  11214. "ordertime": {
  11215. "description": "委托时间",
  11216. "type": "string"
  11217. },
  11218. "ordertotalprice": {
  11219. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11220. "type": "number"
  11221. },
  11222. "ordertotalweight": {
  11223. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11224. "type": "integer"
  11225. },
  11226. "totaltotalprice": {
  11227. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11228. "type": "number"
  11229. },
  11230. "tradeprice": {
  11231. "description": "成交价格",
  11232. "type": "number"
  11233. },
  11234. "tradeqty": {
  11235. "description": "成交数量",
  11236. "type": "integer"
  11237. }
  11238. }
  11239. },
  11240. "cptrade.QueryCPTradeOrderDetailRsq": {
  11241. "type": "object",
  11242. "required": [
  11243. "accountid",
  11244. "buildtype",
  11245. "buyorsell",
  11246. "goodsid",
  11247. "marketid",
  11248. "memberuserid",
  11249. "operatetype",
  11250. "orderqty",
  11251. "ordertime",
  11252. "pricemode",
  11253. "strorderid",
  11254. "tradedate",
  11255. "validtype"
  11256. ],
  11257. "properties": {
  11258. "accountid": {
  11259. "description": "账户ID[报价币种]",
  11260. "type": "integer"
  11261. },
  11262. "buildtype": {
  11263. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11264. "type": "integer"
  11265. },
  11266. "buyorsell": {
  11267. "description": "买卖 - 0:买 1:卖",
  11268. "type": "integer"
  11269. },
  11270. "cancelorderid": {
  11271. "description": "撤单单号(撤单时填写)",
  11272. "type": "integer"
  11273. },
  11274. "cancelqty": {
  11275. "description": "撤单数量",
  11276. "type": "integer"
  11277. },
  11278. "clientordertime": {
  11279. "description": "客户端委托时间",
  11280. "type": "string"
  11281. },
  11282. "clientticket": {
  11283. "description": "客户端流水号",
  11284. "type": "string"
  11285. },
  11286. "clienttype": {
  11287. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11288. "type": "integer"
  11289. },
  11290. "closeexchagechargevalue": {
  11291. "description": "平仓交易所手续费设置值",
  11292. "type": "number"
  11293. },
  11294. "closefeealgorithm": {
  11295. "description": "平仓手续费收取方式 1:比率 2:固定",
  11296. "type": "integer"
  11297. },
  11298. "closefreezecharge": {
  11299. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11300. "type": "number"
  11301. },
  11302. "closememberchargevalue": {
  11303. "description": "平仓会员手续费设置值",
  11304. "type": "number"
  11305. },
  11306. "closeqty": {
  11307. "description": "平仓数量(先建后平操作 需要记录)",
  11308. "type": "integer"
  11309. },
  11310. "closetradeqty": {
  11311. "description": "平仓成交数量(先建后平操作,需要记录)",
  11312. "type": "integer"
  11313. },
  11314. "closeunfreezecharge": {
  11315. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11316. "type": "number"
  11317. },
  11318. "delistingtype": {
  11319. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11320. "type": "integer"
  11321. },
  11322. "freezecharge": {
  11323. "description": "冻结手续费",
  11324. "type": "number"
  11325. },
  11326. "freezemargin": {
  11327. "description": "冻结保证金(冻结交易金额)",
  11328. "type": "number"
  11329. },
  11330. "gcaccountid": {
  11331. "description": "账户ID[合约币种]",
  11332. "type": "integer"
  11333. },
  11334. "goodsid": {
  11335. "description": "商品ID",
  11336. "type": "integer"
  11337. },
  11338. "isconfirmexercise": {
  11339. "description": "是否确认行权- 0:否 1:是",
  11340. "type": "integer"
  11341. },
  11342. "ispreexercise": {
  11343. "description": "是否预申报- 0:否 1:是",
  11344. "type": "integer"
  11345. },
  11346. "listingselecttype": {
  11347. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11348. "type": "integer"
  11349. },
  11350. "marginalgorithm": {
  11351. "description": "保证金收取方式 1:比率 2:固定",
  11352. "type": "integer"
  11353. },
  11354. "marginvalue": {
  11355. "description": "即市保证金设置值",
  11356. "type": "number"
  11357. },
  11358. "marketid": {
  11359. "description": "市场ID",
  11360. "type": "integer"
  11361. },
  11362. "marketmaxsub": {
  11363. "description": "市价最大偏移范围",
  11364. "type": "number"
  11365. },
  11366. "memberuserid": {
  11367. "description": "所属会员UserID",
  11368. "type": "integer"
  11369. },
  11370. "openexchagechargevalue": {
  11371. "description": "建仓交易所手续费设置值",
  11372. "type": "number"
  11373. },
  11374. "openfeealgorithm": {
  11375. "description": "建仓手续费收取方式 1:比率 2:固定",
  11376. "type": "integer"
  11377. },
  11378. "openfreezecharge": {
  11379. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11380. "type": "number"
  11381. },
  11382. "openmemberchargevalue": {
  11383. "description": "建仓会员手续费设置值",
  11384. "type": "number"
  11385. },
  11386. "openqty": {
  11387. "description": "开仓数量(先建后平操作,需要记录)",
  11388. "type": "integer"
  11389. },
  11390. "opentradeqty": {
  11391. "description": "开仓成交数量(先建后平操作,需要记录)",
  11392. "type": "integer"
  11393. },
  11394. "openunfreezecharge": {
  11395. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11396. "type": "number"
  11397. },
  11398. "operatetype": {
  11399. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11400. "type": "integer"
  11401. },
  11402. "operatorid": {
  11403. "description": "登录账号(LoginID)",
  11404. "type": "integer"
  11405. },
  11406. "optiontype": {
  11407. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11408. "type": "integer"
  11409. },
  11410. "orderprice": {
  11411. "description": "委托价格",
  11412. "type": "number"
  11413. },
  11414. "orderqty": {
  11415. "description": "委托数量",
  11416. "type": "integer"
  11417. },
  11418. "ordersrc": {
  11419. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11420. "type": "integer"
  11421. },
  11422. "orderstatus": {
  11423. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11424. "type": "integer"
  11425. },
  11426. "ordertime": {
  11427. "description": "委托时间",
  11428. "type": "string"
  11429. },
  11430. "preexerciseprice": {
  11431. "description": "预申报价格",
  11432. "type": "number"
  11433. },
  11434. "premium": {
  11435. "description": "权利金",
  11436. "type": "number"
  11437. },
  11438. "preorderid": {
  11439. "description": "关联预埋单号(止盈止损单时填写)",
  11440. "type": "integer"
  11441. },
  11442. "pricemode": {
  11443. "description": "取价方式 - 1:市价 2: 限价",
  11444. "type": "integer"
  11445. },
  11446. "quoteid": {
  11447. "description": "报价单ID",
  11448. "type": "integer"
  11449. },
  11450. "relatedid": {
  11451. "description": "关联单号(交割单)",
  11452. "type": "integer"
  11453. },
  11454. "retcode": {
  11455. "description": "错误代码",
  11456. "type": "integer"
  11457. },
  11458. "sessionid": {
  11459. "description": "会话ID",
  11460. "type": "integer"
  11461. },
  11462. "strorderid": {
  11463. "description": "委托单号",
  11464. "type": "string"
  11465. },
  11466. "tradedate": {
  11467. "description": "交易日(yyyyMMdd)",
  11468. "type": "string"
  11469. },
  11470. "tradeproperty": {
  11471. "description": "交易属性",
  11472. "type": "integer"
  11473. },
  11474. "tradeqty": {
  11475. "description": "成交数量",
  11476. "type": "integer"
  11477. },
  11478. "unfreezecharge": {
  11479. "description": "解冻手续费",
  11480. "type": "number"
  11481. },
  11482. "unfreezemargin": {
  11483. "description": "解冻保证金",
  11484. "type": "number"
  11485. },
  11486. "updatetime": {
  11487. "description": "更新时间",
  11488. "type": "string"
  11489. },
  11490. "uuid": {
  11491. "description": "发起端唯一id",
  11492. "type": "string"
  11493. },
  11494. "validtime": {
  11495. "description": "有效期限",
  11496. "type": "string"
  11497. },
  11498. "validtype": {
  11499. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11500. "type": "integer"
  11501. },
  11502. "volumetype": {
  11503. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11504. "type": "integer"
  11505. }
  11506. }
  11507. },
  11508. "cptrade.QueryMyCPTradeGoodsRsp": {
  11509. "type": "object",
  11510. "required": [
  11511. "goodscode",
  11512. "goodsid",
  11513. "goodsname",
  11514. "marketid",
  11515. "relatedgoodscode",
  11516. "relatedgoodsname"
  11517. ],
  11518. "properties": {
  11519. "accountid": {
  11520. "description": "卖方账户ID",
  11521. "type": "integer"
  11522. },
  11523. "agreeunit": {
  11524. "description": "合约单位",
  11525. "type": "number"
  11526. },
  11527. "applyid": {
  11528. "description": "关联申请ID",
  11529. "type": "integer"
  11530. },
  11531. "attachmenturl": {
  11532. "description": "附件地址",
  11533. "type": "string"
  11534. },
  11535. "createtime": {
  11536. "description": "创建时间",
  11537. "type": "string"
  11538. },
  11539. "currencyid": {
  11540. "description": "报价货币ID",
  11541. "type": "integer"
  11542. },
  11543. "decimalplace": {
  11544. "description": "报价小数位",
  11545. "type": "integer"
  11546. },
  11547. "endtime": {
  11548. "description": "预售结束时间",
  11549. "type": "string"
  11550. },
  11551. "floorprice": {
  11552. "description": "底价[大宗式竞拍]",
  11553. "type": "number"
  11554. },
  11555. "goodscode": {
  11556. "description": "商品代码(预售)",
  11557. "type": "string"
  11558. },
  11559. "goodsdetail": {
  11560. "description": "详情[大宗]",
  11561. "type": "string"
  11562. },
  11563. "goodsid": {
  11564. "description": "商品ID(自增ID SEQ_GOODS)",
  11565. "type": "integer"
  11566. },
  11567. "goodsname": {
  11568. "description": "商品名称(预售)",
  11569. "type": "string"
  11570. },
  11571. "goodunit": {
  11572. "description": "报价单位",
  11573. "type": "string"
  11574. },
  11575. "goodunitid": {
  11576. "description": "报价单位ID",
  11577. "type": "integer"
  11578. },
  11579. "marketid": {
  11580. "description": "所属市场ID",
  11581. "type": "integer"
  11582. },
  11583. "marketname": {
  11584. "description": "预售市场名称",
  11585. "type": "string"
  11586. },
  11587. "presaledamount": {
  11588. "description": "已预售总金额(预售结束时更新)",
  11589. "type": "number"
  11590. },
  11591. "presaledqty": {
  11592. "description": "已预售量(预售结束时更新)",
  11593. "type": "integer"
  11594. },
  11595. "presalemode": {
  11596. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11597. "type": "integer"
  11598. },
  11599. "presaleqty": {
  11600. "description": "预售数量",
  11601. "type": "integer"
  11602. },
  11603. "refprice": {
  11604. "description": "参考价格[一口价]",
  11605. "type": "number"
  11606. },
  11607. "relatedgoodscode": {
  11608. "description": "商品代码(订单)",
  11609. "type": "string"
  11610. },
  11611. "relatedgoodsid": {
  11612. "description": "关联交易合约ID",
  11613. "type": "integer"
  11614. },
  11615. "relatedgoodsname": {
  11616. "description": "商品名称(订单)",
  11617. "type": "string"
  11618. },
  11619. "relatedmarketid": {
  11620. "description": "关联交易合约市场ID",
  11621. "type": "integer"
  11622. },
  11623. "sellstatus": {
  11624. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11625. "type": "integer"
  11626. },
  11627. "startprice": {
  11628. "description": "起拍价[大宗式竞拍]",
  11629. "type": "number"
  11630. },
  11631. "starttime": {
  11632. "description": "预售开始时间",
  11633. "type": "string"
  11634. },
  11635. "tradedate": {
  11636. "description": "交易日(yyyyMMdd)",
  11637. "type": "string"
  11638. },
  11639. "tradeprice": {
  11640. "description": "成交价[大宗]",
  11641. "type": "number"
  11642. },
  11643. "userid": {
  11644. "description": "卖方用户ID",
  11645. "type": "integer"
  11646. }
  11647. }
  11648. },
  11649. "cptrade.QueryPresaleGoodsExRsp": {
  11650. "type": "object",
  11651. "required": [
  11652. "goodsid"
  11653. ],
  11654. "properties": {
  11655. "attachmenturl": {
  11656. "description": "附件地址",
  11657. "type": "string"
  11658. },
  11659. "createtime": {
  11660. "description": "创建时间",
  11661. "type": "string"
  11662. },
  11663. "endtime": {
  11664. "description": "预售结束时间",
  11665. "type": "string"
  11666. },
  11667. "floorprice": {
  11668. "description": "底价[大宗式竞拍]",
  11669. "type": "number"
  11670. },
  11671. "goodsdetail": {
  11672. "description": "详情[大宗]",
  11673. "type": "string"
  11674. },
  11675. "goodsid": {
  11676. "description": "商品ID(预售)",
  11677. "type": "integer"
  11678. },
  11679. "goodunit": {
  11680. "description": "报价单位",
  11681. "type": "string"
  11682. },
  11683. "marketid": {
  11684. "description": "预售市场ID - 根据预售模式选择市场",
  11685. "type": "integer"
  11686. },
  11687. "presaledamount": {
  11688. "description": "已预售总金额(预售结束时更新)",
  11689. "type": "number"
  11690. },
  11691. "presaledqty": {
  11692. "description": "已预售量(预售结束时更新)",
  11693. "type": "integer"
  11694. },
  11695. "presalemode": {
  11696. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11697. "type": "integer"
  11698. },
  11699. "presaleqty": {
  11700. "description": "预售数量",
  11701. "type": "integer"
  11702. },
  11703. "refprice": {
  11704. "description": "参考价格[一口价]",
  11705. "type": "number"
  11706. },
  11707. "relatedgoodsid": {
  11708. "description": "关联交易合约ID",
  11709. "type": "integer"
  11710. },
  11711. "relatedmarketid": {
  11712. "description": "关联交易合约市场ID",
  11713. "type": "integer"
  11714. },
  11715. "sellstatus": {
  11716. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11717. "type": "integer"
  11718. },
  11719. "startprice": {
  11720. "description": "起拍价[大宗式竞拍]",
  11721. "type": "number"
  11722. },
  11723. "starttime": {
  11724. "description": "预售开始时间",
  11725. "type": "string"
  11726. },
  11727. "tradedate": {
  11728. "description": "交易日(yyyyMMdd)",
  11729. "type": "string"
  11730. },
  11731. "tradeprice": {
  11732. "description": "成交价[大宗]",
  11733. "type": "number"
  11734. }
  11735. }
  11736. },
  11737. "delivery.QueryDeliveryRelationRsp": {
  11738. "type": "object",
  11739. "required": [
  11740. "begindate",
  11741. "enddate",
  11742. "goodsid",
  11743. "mindeliveryqty",
  11744. "xdeliveryratio"
  11745. ],
  11746. "properties": {
  11747. "begindate": {
  11748. "description": "起始日期(yyyyMMdd)",
  11749. "type": "string"
  11750. },
  11751. "buytemplateid": {
  11752. "description": "买履约计划模板ID",
  11753. "type": "integer"
  11754. },
  11755. "deliverygoodscode": {
  11756. "description": "品种代码",
  11757. "type": "string"
  11758. },
  11759. "deliverygoodsid": {
  11760. "description": "交割商品",
  11761. "type": "integer"
  11762. },
  11763. "deliverygoodsname": {
  11764. "description": "品种名称",
  11765. "type": "string"
  11766. },
  11767. "deliverymode": {
  11768. "description": "交割方式 - 1:点选式 2:申报式",
  11769. "type": "integer"
  11770. },
  11771. "deliverypricerule": {
  11772. "description": "交割价规则- 1:行情价 2:建仓价",
  11773. "type": "integer"
  11774. },
  11775. "deliverytype": {
  11776. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11777. "type": "integer"
  11778. },
  11779. "enddate": {
  11780. "description": "结束日期(yyyyMMdd)",
  11781. "type": "string"
  11782. },
  11783. "goodscode": {
  11784. "description": "商品代码",
  11785. "type": "string"
  11786. },
  11787. "goodsid": {
  11788. "description": "交易合约ID",
  11789. "type": "integer"
  11790. },
  11791. "goodsname": {
  11792. "description": "商品名称",
  11793. "type": "string"
  11794. },
  11795. "marketid": {
  11796. "description": "市场ID",
  11797. "type": "integer"
  11798. },
  11799. "mindeliveryqty": {
  11800. "description": "最小交割系数(K)",
  11801. "type": "integer"
  11802. },
  11803. "p2deliveryprice": {
  11804. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11805. "type": "number"
  11806. },
  11807. "p2deliveryratio": {
  11808. "description": "P2合约系数(p)",
  11809. "type": "integer"
  11810. },
  11811. "p2goodsid": {
  11812. "description": "P2合约ID",
  11813. "type": "integer"
  11814. },
  11815. "p2pricemode": {
  11816. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11817. "type": "integer"
  11818. },
  11819. "pdeliveryprice": {
  11820. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11821. "type": "number"
  11822. },
  11823. "pdeliveryratio": {
  11824. "description": "P合约系数(n)",
  11825. "type": "integer"
  11826. },
  11827. "pgoodsid": {
  11828. "description": "P合约ID",
  11829. "type": "integer"
  11830. },
  11831. "ppricemode": {
  11832. "description": "P合约价格方式 - 1:商品价 2:固定值",
  11833. "type": "integer"
  11834. },
  11835. "rratio": {
  11836. "description": "兑换系数(R)",
  11837. "type": "integer"
  11838. },
  11839. "rratio1": {
  11840. "description": "兑换系数(交易合约)(R1)",
  11841. "type": "integer"
  11842. },
  11843. "rratio2": {
  11844. "description": "兑换系数(仓单标准)(R2)",
  11845. "type": "integer"
  11846. },
  11847. "selltemplateid": {
  11848. "description": "卖履约计划模板ID",
  11849. "type": "integer"
  11850. },
  11851. "wrstandardid": {
  11852. "description": "仓单标准ID",
  11853. "type": "integer"
  11854. },
  11855. "xdeliveryratio": {
  11856. "description": "交易合约系数(m)",
  11857. "type": "integer"
  11858. }
  11859. }
  11860. },
  11861. "ermcp.ExposureDetailRsp": {
  11862. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  11863. },
  11864. "ermcp.ExposureHedgePosDetailRsp": {
  11865. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  11866. },
  11867. "ermcp.ExposureHedgePositionRsp": {
  11868. "$ref": "#/definitions/models.ErmcpHedgePosition"
  11869. },
  11870. "ermcp.ExposureSpotDetailRsp": {
  11871. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  11872. },
  11873. "ermcp.ExposureSpotRsp": {
  11874. "$ref": "#/definitions/models.AreaSpotModel"
  11875. },
  11876. "ermcp.HisExposureRsp": {
  11877. "$ref": "#/definitions/models.ErmcpHisExposureS"
  11878. },
  11879. "ermcp.PendingAuditCntRsp": {
  11880. "$ref": "#/definitions/models.ErmcpPendingAudit"
  11881. },
  11882. "ermcp.QryAvalidGPRsp": {
  11883. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  11884. },
  11885. "ermcp.QryBusinessDjRsp": {
  11886. "type": "object",
  11887. "properties": {
  11888. "amount": {
  11889. "description": "点价金额=(点价价格+升贴水)*点价数量",
  11890. "type": "number"
  11891. },
  11892. "applyid": {
  11893. "description": "申请人",
  11894. "type": "string"
  11895. },
  11896. "applyname": {
  11897. "description": "申请人名称",
  11898. "type": "string"
  11899. },
  11900. "applystatus": {
  11901. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11902. "type": "integer"
  11903. },
  11904. "applytime": {
  11905. "description": "申请时间",
  11906. "type": "string"
  11907. },
  11908. "attachurl": {
  11909. "description": "附件",
  11910. "type": "string"
  11911. },
  11912. "auditid": {
  11913. "description": "审核人ID",
  11914. "type": "string"
  11915. },
  11916. "auditname": {
  11917. "description": "审核人名称",
  11918. "type": "string"
  11919. },
  11920. "audittime": {
  11921. "description": "审核时间",
  11922. "type": "string"
  11923. },
  11924. "buyusername": {
  11925. "description": "采购方名称",
  11926. "type": "string"
  11927. },
  11928. "contractno": {
  11929. "description": "合同编号",
  11930. "type": "string"
  11931. },
  11932. "contractstatus": {
  11933. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11934. "type": "integer"
  11935. },
  11936. "contracttype": {
  11937. "description": "现货合同类型 - 1:采购 -1:销售",
  11938. "type": "integer"
  11939. },
  11940. "deliverygoodscode": {
  11941. "description": "现货品种代码",
  11942. "type": "string"
  11943. },
  11944. "deliverygoodsid": {
  11945. "description": "现货商品ID",
  11946. "type": "integer"
  11947. },
  11948. "deliverygoodsname": {
  11949. "description": "现货品种名称",
  11950. "type": "string"
  11951. },
  11952. "enumdicname": {
  11953. "description": "单位名称",
  11954. "type": "string"
  11955. },
  11956. "goodscode": {
  11957. "description": "点价合约",
  11958. "type": "string"
  11959. },
  11960. "goodsname": {
  11961. "description": "商品名称",
  11962. "type": "string"
  11963. },
  11964. "operateapplyid": {
  11965. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  11966. "type": "string"
  11967. },
  11968. "operateapplytype": {
  11969. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  11970. "type": "integer"
  11971. },
  11972. "pricedPrice": {
  11973. "description": "点价价格(非必填)",
  11974. "type": "number"
  11975. },
  11976. "pricedQty": {
  11977. "description": "点价数量(非必填)",
  11978. "type": "number"
  11979. },
  11980. "pricemove": {
  11981. "description": "升贴水",
  11982. "type": "number"
  11983. },
  11984. "pricetype": {
  11985. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11986. "type": "integer"
  11987. },
  11988. "relatedid": {
  11989. "description": "现货合同ID",
  11990. "type": "string"
  11991. },
  11992. "sellusername": {
  11993. "description": "销售方名字",
  11994. "type": "string"
  11995. },
  11996. "userid": {
  11997. "description": "用户ID",
  11998. "type": "integer"
  11999. },
  12000. "wrstandardcode": {
  12001. "description": "品类代码",
  12002. "type": "string"
  12003. },
  12004. "wrstandardid": {
  12005. "description": "品类id",
  12006. "type": "integer"
  12007. },
  12008. "wrstandardname": {
  12009. "description": "品类名称",
  12010. "type": "string"
  12011. }
  12012. }
  12013. },
  12014. "ermcp.QryBussinessFpRsp": {
  12015. "type": "object",
  12016. "properties": {
  12017. "applyid": {
  12018. "description": "申请人",
  12019. "type": "string"
  12020. },
  12021. "applyname": {
  12022. "description": "申请人名称",
  12023. "type": "string"
  12024. },
  12025. "applystatus": {
  12026. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12027. "type": "integer"
  12028. },
  12029. "applytime": {
  12030. "description": "申请时间",
  12031. "type": "string"
  12032. },
  12033. "attachurl": {
  12034. "description": "附件",
  12035. "type": "string"
  12036. },
  12037. "auditid": {
  12038. "description": "审核人ID",
  12039. "type": "string"
  12040. },
  12041. "auditname": {
  12042. "description": "审核人名称",
  12043. "type": "string"
  12044. },
  12045. "audittime": {
  12046. "description": "审核时间",
  12047. "type": "string"
  12048. },
  12049. "buyusername": {
  12050. "description": "采购方名称",
  12051. "type": "string"
  12052. },
  12053. "contractno": {
  12054. "description": "合同编号",
  12055. "type": "string"
  12056. },
  12057. "contractstatus": {
  12058. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12059. "type": "integer"
  12060. },
  12061. "contracttype": {
  12062. "description": "现货合同类型 - 1:采购 -1:销售",
  12063. "type": "integer"
  12064. },
  12065. "deliverygoodscode": {
  12066. "description": "现货品种代码",
  12067. "type": "string"
  12068. },
  12069. "deliverygoodsid": {
  12070. "description": "现货商品ID",
  12071. "type": "integer"
  12072. },
  12073. "deliverygoodsname": {
  12074. "description": "现货品种名称",
  12075. "type": "string"
  12076. },
  12077. "enumdicname": {
  12078. "description": "单位名称",
  12079. "type": "string"
  12080. },
  12081. "goodscode": {
  12082. "description": "点价合约",
  12083. "type": "string"
  12084. },
  12085. "goodsname": {
  12086. "description": "商品名称",
  12087. "type": "string"
  12088. },
  12089. "invoiceAmount": {
  12090. "description": "已开收票金额(销售为开票,采购为收票)",
  12091. "type": "number"
  12092. },
  12093. "operateapplyid": {
  12094. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12095. "type": "string"
  12096. },
  12097. "operateapplytype": {
  12098. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12099. "type": "integer"
  12100. },
  12101. "pricemove": {
  12102. "description": "升贴水",
  12103. "type": "number"
  12104. },
  12105. "pricetype": {
  12106. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12107. "type": "integer"
  12108. },
  12109. "relatedid": {
  12110. "description": "现货合同ID",
  12111. "type": "string"
  12112. },
  12113. "sellusername": {
  12114. "description": "销售方名字",
  12115. "type": "string"
  12116. },
  12117. "userid": {
  12118. "description": "用户ID",
  12119. "type": "integer"
  12120. },
  12121. "wrstandardcode": {
  12122. "description": "品类代码",
  12123. "type": "string"
  12124. },
  12125. "wrstandardid": {
  12126. "description": "品类id",
  12127. "type": "integer"
  12128. },
  12129. "wrstandardname": {
  12130. "description": "品类名称",
  12131. "type": "string"
  12132. }
  12133. }
  12134. },
  12135. "ermcp.QryBussinessJsExRsp": {
  12136. "type": "object",
  12137. "properties": {
  12138. "applyid": {
  12139. "description": "申请人",
  12140. "type": "string"
  12141. },
  12142. "applyname": {
  12143. "description": "申请人名称",
  12144. "type": "string"
  12145. },
  12146. "applystatus": {
  12147. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12148. "type": "integer"
  12149. },
  12150. "applytime": {
  12151. "description": "申请时间",
  12152. "type": "string"
  12153. },
  12154. "attachurl": {
  12155. "description": "附件",
  12156. "type": "string"
  12157. },
  12158. "auditid": {
  12159. "description": "审核人ID",
  12160. "type": "string"
  12161. },
  12162. "auditname": {
  12163. "description": "审核人名称",
  12164. "type": "string"
  12165. },
  12166. "audittime": {
  12167. "description": "审核时间",
  12168. "type": "string"
  12169. },
  12170. "buyusername": {
  12171. "description": "采购方名称",
  12172. "type": "string"
  12173. },
  12174. "contractno": {
  12175. "description": "合同编号",
  12176. "type": "string"
  12177. },
  12178. "contractstatus": {
  12179. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12180. "type": "integer"
  12181. },
  12182. "contracttype": {
  12183. "description": "现货合同类型 - 1:采购 -1:销售",
  12184. "type": "integer"
  12185. },
  12186. "deliverygoodscode": {
  12187. "description": "现货品种代码",
  12188. "type": "string"
  12189. },
  12190. "deliverygoodsid": {
  12191. "description": "现货商品ID",
  12192. "type": "integer"
  12193. },
  12194. "deliverygoodsname": {
  12195. "description": "现货品种名称",
  12196. "type": "string"
  12197. },
  12198. "enumdicname": {
  12199. "description": "单位名称",
  12200. "type": "string"
  12201. },
  12202. "goodscode": {
  12203. "description": "点价合约",
  12204. "type": "string"
  12205. },
  12206. "goodsname": {
  12207. "description": "商品名称",
  12208. "type": "string"
  12209. },
  12210. "operateapplyid": {
  12211. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12212. "type": "string"
  12213. },
  12214. "operateapplytype": {
  12215. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12216. "type": "integer"
  12217. },
  12218. "pricemove": {
  12219. "description": "升贴水",
  12220. "type": "number"
  12221. },
  12222. "pricetype": {
  12223. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12224. "type": "integer"
  12225. },
  12226. "reckontype": {
  12227. "description": "结算类型",
  12228. "type": "string"
  12229. },
  12230. "reckonvalue": {
  12231. "description": "值",
  12232. "type": "number"
  12233. },
  12234. "relatedid": {
  12235. "description": "现货合同ID",
  12236. "type": "string"
  12237. },
  12238. "sellusername": {
  12239. "description": "销售方名字",
  12240. "type": "string"
  12241. },
  12242. "userid": {
  12243. "description": "用户ID",
  12244. "type": "integer"
  12245. },
  12246. "wrstandardcode": {
  12247. "description": "品类代码",
  12248. "type": "string"
  12249. },
  12250. "wrstandardid": {
  12251. "description": "品类id",
  12252. "type": "integer"
  12253. },
  12254. "wrstandardname": {
  12255. "description": "品类名称",
  12256. "type": "string"
  12257. }
  12258. }
  12259. },
  12260. "ermcp.QryBussinessJsRsp": {
  12261. "type": "object",
  12262. "properties": {
  12263. "addmargin": {
  12264. "description": "追加保证金(非必填)",
  12265. "type": "number"
  12266. },
  12267. "applyid": {
  12268. "description": "申请人",
  12269. "type": "string"
  12270. },
  12271. "applyname": {
  12272. "description": "申请人名称",
  12273. "type": "string"
  12274. },
  12275. "applystatus": {
  12276. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12277. "type": "integer"
  12278. },
  12279. "applytime": {
  12280. "description": "申请时间",
  12281. "type": "string"
  12282. },
  12283. "attachurl": {
  12284. "description": "附件",
  12285. "type": "string"
  12286. },
  12287. "auditid": {
  12288. "description": "审核人ID",
  12289. "type": "string"
  12290. },
  12291. "auditname": {
  12292. "description": "审核人名称",
  12293. "type": "string"
  12294. },
  12295. "audittime": {
  12296. "description": "审核时间",
  12297. "type": "string"
  12298. },
  12299. "buyusername": {
  12300. "description": "采购方名称",
  12301. "type": "string"
  12302. },
  12303. "contractno": {
  12304. "description": "合同编号",
  12305. "type": "string"
  12306. },
  12307. "contractstatus": {
  12308. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12309. "type": "integer"
  12310. },
  12311. "contracttype": {
  12312. "description": "现货合同类型 - 1:采购 -1:销售",
  12313. "type": "integer"
  12314. },
  12315. "decmargin": {
  12316. "description": "减少保证金(非必填)",
  12317. "type": "number"
  12318. },
  12319. "deliverygoodscode": {
  12320. "description": "现货品种代码",
  12321. "type": "string"
  12322. },
  12323. "deliverygoodsid": {
  12324. "description": "现货商品ID",
  12325. "type": "integer"
  12326. },
  12327. "deliverygoodsname": {
  12328. "description": "现货品种名称",
  12329. "type": "string"
  12330. },
  12331. "enumdicname": {
  12332. "description": "单位名称",
  12333. "type": "string"
  12334. },
  12335. "goodscode": {
  12336. "description": "点价合约",
  12337. "type": "string"
  12338. },
  12339. "goodsname": {
  12340. "description": "商品名称",
  12341. "type": "string"
  12342. },
  12343. "operateapplyid": {
  12344. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12345. "type": "string"
  12346. },
  12347. "operateapplytype": {
  12348. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12349. "type": "integer"
  12350. },
  12351. "pricemove": {
  12352. "description": "升贴水",
  12353. "type": "number"
  12354. },
  12355. "pricetype": {
  12356. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12357. "type": "integer"
  12358. },
  12359. "reckonadjustamount": {
  12360. "description": "结算调整金额(非必填)",
  12361. "type": "number"
  12362. },
  12363. "reckonosamount": {
  12364. "description": "结算溢短金额(非必填)",
  12365. "type": "number"
  12366. },
  12367. "reckonotheramount": {
  12368. "description": "结算其他费用(非必填)",
  12369. "type": "number"
  12370. },
  12371. "reckonrealqty": {
  12372. "description": "结算实际数量(非必填)",
  12373. "type": "number"
  12374. },
  12375. "relatedid": {
  12376. "description": "现货合同ID",
  12377. "type": "string"
  12378. },
  12379. "sellusername": {
  12380. "description": "销售方名字",
  12381. "type": "string"
  12382. },
  12383. "userid": {
  12384. "description": "用户ID",
  12385. "type": "integer"
  12386. },
  12387. "wrstandardcode": {
  12388. "description": "品类代码",
  12389. "type": "string"
  12390. },
  12391. "wrstandardid": {
  12392. "description": "品类id",
  12393. "type": "integer"
  12394. },
  12395. "wrstandardname": {
  12396. "description": "品类名称",
  12397. "type": "string"
  12398. }
  12399. }
  12400. },
  12401. "ermcp.QryBussinessKxRsp": {
  12402. "type": "object",
  12403. "properties": {
  12404. "applyid": {
  12405. "description": "申请人",
  12406. "type": "string"
  12407. },
  12408. "applyname": {
  12409. "description": "申请人名称",
  12410. "type": "string"
  12411. },
  12412. "applystatus": {
  12413. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12414. "type": "integer"
  12415. },
  12416. "applytime": {
  12417. "description": "申请时间",
  12418. "type": "string"
  12419. },
  12420. "attachurl": {
  12421. "description": "附件",
  12422. "type": "string"
  12423. },
  12424. "auditid": {
  12425. "description": "审核人ID",
  12426. "type": "string"
  12427. },
  12428. "auditname": {
  12429. "description": "审核人名称",
  12430. "type": "string"
  12431. },
  12432. "audittime": {
  12433. "description": "审核时间",
  12434. "type": "string"
  12435. },
  12436. "buyusername": {
  12437. "description": "采购方名称",
  12438. "type": "string"
  12439. },
  12440. "contractno": {
  12441. "description": "合同编号",
  12442. "type": "string"
  12443. },
  12444. "contractstatus": {
  12445. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12446. "type": "integer"
  12447. },
  12448. "contracttype": {
  12449. "description": "现货合同类型 - 1:采购 -1:销售",
  12450. "type": "integer"
  12451. },
  12452. "deductamount": {
  12453. "description": "退款(非必填)",
  12454. "type": "number"
  12455. },
  12456. "deliverygoodscode": {
  12457. "description": "现货品种代码",
  12458. "type": "string"
  12459. },
  12460. "deliverygoodsid": {
  12461. "description": "现货商品ID",
  12462. "type": "integer"
  12463. },
  12464. "deliverygoodsname": {
  12465. "description": "现货品种名称",
  12466. "type": "string"
  12467. },
  12468. "enumdicname": {
  12469. "description": "单位名称",
  12470. "type": "string"
  12471. },
  12472. "goodscode": {
  12473. "description": "点价合约",
  12474. "type": "string"
  12475. },
  12476. "goodsname": {
  12477. "description": "商品名称",
  12478. "type": "string"
  12479. },
  12480. "kxtype": {
  12481. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12482. "type": "integer"
  12483. },
  12484. "operateapplyid": {
  12485. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12486. "type": "string"
  12487. },
  12488. "operateapplytype": {
  12489. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12490. "type": "integer"
  12491. },
  12492. "payamount": {
  12493. "description": "收付款(非必填)",
  12494. "type": "number"
  12495. },
  12496. "pricemove": {
  12497. "description": "升贴水",
  12498. "type": "number"
  12499. },
  12500. "pricetype": {
  12501. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12502. "type": "integer"
  12503. },
  12504. "relatedid": {
  12505. "description": "现货合同ID",
  12506. "type": "string"
  12507. },
  12508. "sellusername": {
  12509. "description": "销售方名字",
  12510. "type": "string"
  12511. },
  12512. "userid": {
  12513. "description": "用户ID",
  12514. "type": "integer"
  12515. },
  12516. "wrstandardcode": {
  12517. "description": "品类代码",
  12518. "type": "string"
  12519. },
  12520. "wrstandardid": {
  12521. "description": "品类id",
  12522. "type": "integer"
  12523. },
  12524. "wrstandardname": {
  12525. "description": "品类名称",
  12526. "type": "string"
  12527. }
  12528. }
  12529. },
  12530. "ermcp.QryGGCovertCfgRsp": {
  12531. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12532. },
  12533. "ermcp.QryMGChangeLogRsp": {
  12534. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12535. },
  12536. "ermcp.QryMiddleGoodsDetailRsp": {
  12537. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12538. },
  12539. "ermcp.QryMiddleGoodsRsp": {
  12540. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12541. },
  12542. "ermcp.QryOPLogRsp": {
  12543. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12544. },
  12545. "ermcp.QryUserInfoRsp": {
  12546. "$ref": "#/definitions/models.ErmcpUserModel"
  12547. },
  12548. "ermcp.QryWarehouseRsp": {
  12549. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12550. },
  12551. "ermcp.QueryErmcpTradePositionRsp": {
  12552. "type": "object",
  12553. "properties": {
  12554. "agreeunit": {
  12555. "description": "合约单位",
  12556. "type": "number"
  12557. },
  12558. "buyorsell": {
  12559. "description": "方向 - 0:买 1:卖",
  12560. "type": "integer"
  12561. },
  12562. "curpositionqty": {
  12563. "description": "持仓(总仓数量, 期末头寸)",
  12564. "type": "integer"
  12565. },
  12566. "curtdposition": {
  12567. "description": "今仓数量(期末今日头寸)",
  12568. "type": "integer"
  12569. },
  12570. "curtdpositionenabled": {
  12571. "description": "今仓可用",
  12572. "type": "integer"
  12573. },
  12574. "decimalplace": {
  12575. "description": "报价小数位",
  12576. "type": "integer"
  12577. },
  12578. "enableqty": {
  12579. "description": "可用(总仓可用)",
  12580. "type": "integer"
  12581. },
  12582. "exexchangename": {
  12583. "description": "外部交易所名称",
  12584. "type": "string"
  12585. },
  12586. "goodscode": {
  12587. "description": "商品代码(内部)",
  12588. "type": "string"
  12589. },
  12590. "goodsid": {
  12591. "description": "商品ID(自增ID SEQ_GOODS)",
  12592. "type": "integer"
  12593. },
  12594. "goodsname": {
  12595. "description": "商品名称",
  12596. "type": "string"
  12597. },
  12598. "last": {
  12599. "description": "现价",
  12600. "type": "number"
  12601. },
  12602. "marketid": {
  12603. "description": "所属市场ID",
  12604. "type": "integer"
  12605. },
  12606. "openaverageprice": {
  12607. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12608. "type": "number"
  12609. },
  12610. "opencost": {
  12611. "description": "开仓成本",
  12612. "type": "number"
  12613. },
  12614. "openpl": {
  12615. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12616. "type": "number"
  12617. },
  12618. "outgoodscode": {
  12619. "description": "商品代码(外部)",
  12620. "type": "string"
  12621. },
  12622. "positionaverageprice": {
  12623. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12624. "type": "number"
  12625. },
  12626. "positioncost": {
  12627. "description": "持仓成本",
  12628. "type": "number"
  12629. },
  12630. "positionpl": {
  12631. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12632. "type": "number"
  12633. },
  12634. "positionplrate": {
  12635. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12636. "type": "number"
  12637. },
  12638. "usedmargin": {
  12639. "description": "占用保证金",
  12640. "type": "number"
  12641. }
  12642. }
  12643. },
  12644. "ermcp.RealtimeExposurePositionRsp": {
  12645. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12646. },
  12647. "ermcp.RealtimeExposureRsp": {
  12648. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12649. },
  12650. "erms2.QueryArbitrageStrategyRsp": {
  12651. "type": "object",
  12652. "required": [
  12653. "asapplyid"
  12654. ],
  12655. "properties": {
  12656. "applybasis": {
  12657. "description": "申请基差",
  12658. "type": "number"
  12659. },
  12660. "asapplyid": {
  12661. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12662. "type": "string"
  12663. },
  12664. "asname": {
  12665. "description": "策略名称",
  12666. "type": "string"
  12667. },
  12668. "asno": {
  12669. "description": "策略编号",
  12670. "type": "string"
  12671. },
  12672. "basischangepl": {
  12673. "description": "基差变动损益[结算更新]",
  12674. "type": "number"
  12675. },
  12676. "biztype": {
  12677. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12678. "type": "integer"
  12679. },
  12680. "closetradedate": {
  12681. "description": "完结交易日(yyyyMMdd)",
  12682. "type": "string"
  12683. },
  12684. "curbasis": {
  12685. "description": "当前基差[结算更新]",
  12686. "type": "number"
  12687. },
  12688. "deliverygoodsid": {
  12689. "description": "现货品种ID",
  12690. "type": "integer"
  12691. },
  12692. "futureavgprice": {
  12693. "description": "期货建仓均价",
  12694. "type": "number"
  12695. },
  12696. "futurecloseamount": {
  12697. "description": "期货平仓金额",
  12698. "type": "number"
  12699. },
  12700. "futurecloseqty": {
  12701. "description": "期货平仓数量",
  12702. "type": "number"
  12703. },
  12704. "futureopenamount": {
  12705. "description": "期货开仓金额",
  12706. "type": "number"
  12707. },
  12708. "futureopenqty": {
  12709. "description": "期货开仓数量",
  12710. "type": "number"
  12711. },
  12712. "futurepl": {
  12713. "description": "期货总盈亏[结算更新]",
  12714. "type": "number"
  12715. },
  12716. "futureqty": {
  12717. "description": "期货持仓数量",
  12718. "type": "number"
  12719. },
  12720. "futurequote": {
  12721. "description": "期货额度",
  12722. "type": "number"
  12723. },
  12724. "goodsgroupid": {
  12725. "description": "期货品种ID",
  12726. "type": "integer"
  12727. },
  12728. "marketid": {
  12729. "description": "市场ID",
  12730. "type": "integer"
  12731. },
  12732. "netexposure": {
  12733. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12734. "type": "number"
  12735. },
  12736. "netexposurepl": {
  12737. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12738. "type": "number"
  12739. },
  12740. "netexposurerate": {
  12741. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12742. "type": "number"
  12743. },
  12744. "openbasis": {
  12745. "description": "建仓基差",
  12746. "type": "number"
  12747. },
  12748. "pricedspotqty": {
  12749. "description": "已定价现货数量",
  12750. "type": "number"
  12751. },
  12752. "pricedspotqtynotax": {
  12753. "description": "已定价现货不含税数量",
  12754. "type": "number"
  12755. },
  12756. "remark": {
  12757. "description": "备注",
  12758. "type": "string"
  12759. },
  12760. "spotavgprice": {
  12761. "description": "现货均价",
  12762. "type": "number"
  12763. },
  12764. "spotbuyamount": {
  12765. "description": "现货采购金额",
  12766. "type": "number"
  12767. },
  12768. "spotbuyqty": {
  12769. "description": "现货采购数量",
  12770. "type": "number"
  12771. },
  12772. "spotpl": {
  12773. "description": "现货总盈亏[结算更新]",
  12774. "type": "number"
  12775. },
  12776. "spotquota": {
  12777. "description": "现货额度",
  12778. "type": "number"
  12779. },
  12780. "spotsellamount": {
  12781. "description": "现货销售金额",
  12782. "type": "number"
  12783. },
  12784. "spotsellqty": {
  12785. "description": "现货销售数量",
  12786. "type": "number"
  12787. },
  12788. "spotusedquota": {
  12789. "description": "现货占用资金",
  12790. "type": "number"
  12791. },
  12792. "strategystatus": {
  12793. "description": "策略状态 - 0:未结束 1:已结束",
  12794. "type": "integer"
  12795. },
  12796. "totalpl": {
  12797. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12798. "type": "number"
  12799. },
  12800. "tradedate": {
  12801. "description": "交易日(yyyyMMdd)",
  12802. "type": "string"
  12803. },
  12804. "updatetime": {
  12805. "description": "更新时间",
  12806. "type": "string"
  12807. },
  12808. "usedquota": {
  12809. "description": "已占用资金",
  12810. "type": "number"
  12811. },
  12812. "userid": {
  12813. "description": "所属机构",
  12814. "type": "integer"
  12815. }
  12816. }
  12817. },
  12818. "erms2.QueryInnerTradeDetailRsp": {
  12819. "type": "object",
  12820. "required": [
  12821. "asapplyid",
  12822. "buyorsell",
  12823. "goodscode",
  12824. "goodsgroupid",
  12825. "goodsgroupname",
  12826. "goodsname",
  12827. "tradeid"
  12828. ],
  12829. "properties": {
  12830. "accountid": {
  12831. "description": "账号ID",
  12832. "type": "integer"
  12833. },
  12834. "agreeunit": {
  12835. "description": "合约单位",
  12836. "type": "number"
  12837. },
  12838. "asapplyid": {
  12839. "description": "策略申请ID",
  12840. "type": "integer"
  12841. },
  12842. "asname": {
  12843. "description": "策略名称",
  12844. "type": "string"
  12845. },
  12846. "asno": {
  12847. "description": "策略编号",
  12848. "type": "string"
  12849. },
  12850. "buyorsell": {
  12851. "description": "方向 - 0:买 1:卖",
  12852. "type": "integer"
  12853. },
  12854. "channelbuildtype": {
  12855. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  12856. "type": "integer"
  12857. },
  12858. "closetype": {
  12859. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  12860. "type": "integer"
  12861. },
  12862. "decimalplace": {
  12863. "description": "报价小数位",
  12864. "type": "integer"
  12865. },
  12866. "detailtype": {
  12867. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  12868. "type": "integer"
  12869. },
  12870. "exexchangecode": {
  12871. "description": "外部交易所代码",
  12872. "type": "string"
  12873. },
  12874. "exexchangename": {
  12875. "description": "外部交易所名称",
  12876. "type": "string"
  12877. },
  12878. "goodscode": {
  12879. "description": "商品代码(合约)",
  12880. "type": "string"
  12881. },
  12882. "goodsgroupid": {
  12883. "description": "商品组ID(品种ID)",
  12884. "type": "integer"
  12885. },
  12886. "goodsgroupname": {
  12887. "description": "商品组名称(品种)",
  12888. "type": "string"
  12889. },
  12890. "goodsid": {
  12891. "description": "商品ID",
  12892. "type": "integer"
  12893. },
  12894. "goodsname": {
  12895. "description": "商品名称(合约)",
  12896. "type": "string"
  12897. },
  12898. "goodunit": {
  12899. "description": "报价单位",
  12900. "type": "string"
  12901. },
  12902. "marketid": {
  12903. "description": "市场ID",
  12904. "type": "integer"
  12905. },
  12906. "orderid": {
  12907. "description": "委托单号",
  12908. "type": "string"
  12909. },
  12910. "outgoodscode": {
  12911. "description": "商品代码(外部)",
  12912. "type": "string"
  12913. },
  12914. "relatedouttradeid": {
  12915. "description": "关联外部成交单ID",
  12916. "type": "string"
  12917. },
  12918. "remark": {
  12919. "description": "备注",
  12920. "type": "string"
  12921. },
  12922. "spotcontractid": {
  12923. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  12924. "type": "integer"
  12925. },
  12926. "spotcontractno": {
  12927. "description": "现货合同编号",
  12928. "type": "string"
  12929. },
  12930. "tradeid": {
  12931. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12932. "type": "string"
  12933. },
  12934. "tradeprice": {
  12935. "description": "成交价格",
  12936. "type": "number"
  12937. },
  12938. "tradeqty": {
  12939. "description": "成交数量",
  12940. "type": "integer"
  12941. },
  12942. "tradetime": {
  12943. "description": "成交时间",
  12944. "type": "string"
  12945. },
  12946. "updatetime": {
  12947. "description": "更新时间",
  12948. "type": "string"
  12949. }
  12950. }
  12951. },
  12952. "erms2.QuerySpotContractRsp": {
  12953. "type": "object",
  12954. "required": [
  12955. "spotcontractid"
  12956. ],
  12957. "properties": {
  12958. "accountid": {
  12959. "description": "资金账户ID",
  12960. "type": "integer"
  12961. },
  12962. "areauserid": {
  12963. "description": "所属机构",
  12964. "type": "integer"
  12965. },
  12966. "closedate": {
  12967. "description": "终止日期",
  12968. "type": "string"
  12969. },
  12970. "closeremark": {
  12971. "description": "结束备注",
  12972. "type": "string"
  12973. },
  12974. "closetradedate": {
  12975. "description": "完结交易日(yyyyMMdd)",
  12976. "type": "string"
  12977. },
  12978. "closetype": {
  12979. "description": "终止类型 - 1:违约 2:提前终止",
  12980. "type": "integer"
  12981. },
  12982. "contractamount": {
  12983. "description": "合同金额",
  12984. "type": "number"
  12985. },
  12986. "contractattachment": {
  12987. "description": "合同附件",
  12988. "type": "string"
  12989. },
  12990. "contractno": {
  12991. "description": "现货合同编号",
  12992. "type": "string"
  12993. },
  12994. "contractqty": {
  12995. "description": "合同数量(数值) (用于计算)",
  12996. "type": "number"
  12997. },
  12998. "contractqtychar": {
  12999. "description": "合同数量\\已订价数量 (用于显示)",
  13000. "type": "string"
  13001. },
  13002. "contractstatus": {
  13003. "description": "合同状态 - 0:未结束 1:已结束",
  13004. "type": "integer"
  13005. },
  13006. "contracttype": {
  13007. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13008. "type": "integer"
  13009. },
  13010. "customeraccountid": {
  13011. "description": "客户资金账户ID",
  13012. "type": "integer"
  13013. },
  13014. "customeruserid": {
  13015. "description": "客户ID",
  13016. "type": "integer"
  13017. },
  13018. "deliverygoodsdesc": {
  13019. "description": "品种说明",
  13020. "type": "string"
  13021. },
  13022. "deliverygoodsid": {
  13023. "description": "现货品种ID",
  13024. "type": "integer"
  13025. },
  13026. "handlestatus": {
  13027. "description": "处理状态",
  13028. "type": "integer"
  13029. },
  13030. "invoiceatt": {
  13031. "description": "发票附件",
  13032. "type": "string"
  13033. },
  13034. "invoicedatetime": {
  13035. "description": "开收票更新时间",
  13036. "type": "string"
  13037. },
  13038. "invoiceopentime": {
  13039. "description": "开票时间",
  13040. "type": "string"
  13041. },
  13042. "invoiceremark": {
  13043. "description": "发票备注",
  13044. "type": "string"
  13045. },
  13046. "invoicestatus": {
  13047. "description": "开收票状态 - 0:未开票 1:已开票",
  13048. "type": "integer"
  13049. },
  13050. "lastdate": {
  13051. "description": "交货时间",
  13052. "type": "string"
  13053. },
  13054. "marketid": {
  13055. "description": "市场ID",
  13056. "type": "integer"
  13057. },
  13058. "paydatetime": {
  13059. "description": "收付款更新时间",
  13060. "type": "string"
  13061. },
  13062. "payremark": {
  13063. "description": "收付款备注",
  13064. "type": "string"
  13065. },
  13066. "paystatus": {
  13067. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13068. "type": "integer"
  13069. },
  13070. "positionqty": {
  13071. "description": "头寸数量 - 合同数量去小数部分",
  13072. "type": "integer"
  13073. },
  13074. "producttype": {
  13075. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13076. "type": "integer"
  13077. },
  13078. "relatedqty": {
  13079. "description": "已关联数量",
  13080. "type": "number"
  13081. },
  13082. "relatedstatus": {
  13083. "description": "关联完结状态 - 0:未结束 1:已结束",
  13084. "type": "integer"
  13085. },
  13086. "remark": {
  13087. "description": "备注",
  13088. "type": "string"
  13089. },
  13090. "signdate": {
  13091. "description": "签订日期",
  13092. "type": "string"
  13093. },
  13094. "spotcontractid": {
  13095. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13096. "type": "string"
  13097. },
  13098. "spotdatetime": {
  13099. "description": "收发货更新时间",
  13100. "type": "string"
  13101. },
  13102. "spotprice": {
  13103. "description": "价格",
  13104. "type": "number"
  13105. },
  13106. "spotremark": {
  13107. "description": "收发货备注",
  13108. "type": "string"
  13109. },
  13110. "spotstatus": {
  13111. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13112. "type": "integer"
  13113. },
  13114. "tradedate": {
  13115. "description": "交易日(yyyyMMdd)",
  13116. "type": "string"
  13117. },
  13118. "userid": {
  13119. "description": "业务员用户ID",
  13120. "type": "integer"
  13121. },
  13122. "warehouseid": {
  13123. "description": "仓库ID",
  13124. "type": "integer"
  13125. },
  13126. "wrfactortypeid": {
  13127. "description": "仓单要素类型ID",
  13128. "type": "integer"
  13129. },
  13130. "wrstandardid": {
  13131. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13132. "type": "integer"
  13133. }
  13134. }
  13135. },
  13136. "erms3.AddErms2ASApplyReq": {
  13137. "type": "object",
  13138. "required": [
  13139. "asapplyid"
  13140. ],
  13141. "properties": {
  13142. "applybasis": {
  13143. "description": "申请基差",
  13144. "type": "number"
  13145. },
  13146. "applystatus": {
  13147. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13148. "type": "integer"
  13149. },
  13150. "asapplyid": {
  13151. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13152. "type": "integer"
  13153. },
  13154. "asname": {
  13155. "description": "策略名称",
  13156. "type": "string"
  13157. },
  13158. "asno": {
  13159. "description": "策略编号",
  13160. "type": "string"
  13161. },
  13162. "auditid": {
  13163. "description": "审核人",
  13164. "type": "integer"
  13165. },
  13166. "auditremark": {
  13167. "description": "审核备注",
  13168. "type": "string"
  13169. },
  13170. "audittime": {
  13171. "description": "审核时间",
  13172. "type": "string"
  13173. },
  13174. "biztype": {
  13175. "description": "业务类型 - 1:正向套利 2:反向套利",
  13176. "type": "integer"
  13177. },
  13178. "createtime": {
  13179. "description": "创建时间",
  13180. "type": "string"
  13181. },
  13182. "creatorid": {
  13183. "description": "创建人",
  13184. "type": "integer"
  13185. },
  13186. "deliverygoodsid": {
  13187. "description": "现货品种ID",
  13188. "type": "integer"
  13189. },
  13190. "futurequote": {
  13191. "description": "期货额度",
  13192. "type": "number"
  13193. },
  13194. "goodsgroupid": {
  13195. "description": "期货品种ID",
  13196. "type": "integer"
  13197. },
  13198. "marketid": {
  13199. "description": "市场ID",
  13200. "type": "integer"
  13201. },
  13202. "remark": {
  13203. "description": "备注",
  13204. "type": "string"
  13205. },
  13206. "spotquota": {
  13207. "description": "现货额度",
  13208. "type": "number"
  13209. },
  13210. "tradedate": {
  13211. "description": "交易日(yyyyMMdd)",
  13212. "type": "string"
  13213. },
  13214. "userid": {
  13215. "description": "所属机构",
  13216. "type": "integer"
  13217. }
  13218. }
  13219. },
  13220. "erms3.AddErms2SpotTradeApplyReq": {
  13221. "type": "object",
  13222. "required": [
  13223. "spottradeid"
  13224. ],
  13225. "properties": {
  13226. "applyjsondetail": {
  13227. "description": "申请明细(JSON)",
  13228. "type": "string"
  13229. },
  13230. "applystatus": {
  13231. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13232. "type": "integer"
  13233. },
  13234. "areauserid": {
  13235. "description": "所属机构",
  13236. "type": "integer"
  13237. },
  13238. "auditid": {
  13239. "description": "审核人",
  13240. "type": "integer"
  13241. },
  13242. "auditremark": {
  13243. "description": "审核备注",
  13244. "type": "string"
  13245. },
  13246. "audittime": {
  13247. "description": "审核时间",
  13248. "type": "string"
  13249. },
  13250. "createtime": {
  13251. "description": "创建时间",
  13252. "type": "string"
  13253. },
  13254. "creatorid": {
  13255. "description": "创建人",
  13256. "type": "integer"
  13257. },
  13258. "deliverygoodsid": {
  13259. "description": "现货品种ID",
  13260. "type": "integer"
  13261. },
  13262. "futureaccountid": {
  13263. "description": "期货资金账户",
  13264. "type": "integer"
  13265. },
  13266. "goodsgroupid": {
  13267. "description": "期货品种",
  13268. "type": "integer"
  13269. },
  13270. "marketid": {
  13271. "description": "市场ID",
  13272. "type": "integer"
  13273. },
  13274. "remark": {
  13275. "description": "备注",
  13276. "type": "string"
  13277. },
  13278. "spotaccountid": {
  13279. "description": "现货资金账户",
  13280. "type": "integer"
  13281. },
  13282. "spottradeid": {
  13283. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13284. "type": "integer"
  13285. },
  13286. "spottradename": {
  13287. "description": "业务名称",
  13288. "type": "string"
  13289. },
  13290. "spottradeno": {
  13291. "description": "业务编号",
  13292. "type": "string"
  13293. },
  13294. "tradedate": {
  13295. "description": "交易日(yyyyMMdd)",
  13296. "type": "string"
  13297. },
  13298. "wrstandardid": {
  13299. "description": "仓单标准ID",
  13300. "type": "integer"
  13301. }
  13302. }
  13303. },
  13304. "erms3.AddSpotContractApplyReq": {
  13305. "type": "object",
  13306. "required": [
  13307. "accountid",
  13308. "areauserid",
  13309. "contractno",
  13310. "contracttype",
  13311. "customeraccountid",
  13312. "customeruserid",
  13313. "details",
  13314. "orimargin",
  13315. "signdate"
  13316. ],
  13317. "properties": {
  13318. "accountid": {
  13319. "description": "资金账户ID",
  13320. "type": "integer"
  13321. },
  13322. "areauserid": {
  13323. "description": "所属机构",
  13324. "type": "integer"
  13325. },
  13326. "contractattachment": {
  13327. "description": "合同附件",
  13328. "type": "string"
  13329. },
  13330. "contractno": {
  13331. "description": "现货合同编号",
  13332. "type": "string"
  13333. },
  13334. "contracttype": {
  13335. "description": "现货合同类型 - 1:采购 -1:销售",
  13336. "type": "integer"
  13337. },
  13338. "creatorid": {
  13339. "description": "申请人",
  13340. "type": "integer"
  13341. },
  13342. "customeraccountid": {
  13343. "description": "客户资金账户ID",
  13344. "type": "integer"
  13345. },
  13346. "customeruserid": {
  13347. "description": "客户ID",
  13348. "type": "integer"
  13349. },
  13350. "details": {
  13351. "description": "明细",
  13352. "type": "array",
  13353. "items": {
  13354. "$ref": "#/definitions/erms3.SoptContractDetail"
  13355. }
  13356. },
  13357. "orimargin": {
  13358. "description": "初始保证金",
  13359. "type": "number"
  13360. },
  13361. "remark": {
  13362. "description": "备注",
  13363. "type": "string"
  13364. },
  13365. "signdate": {
  13366. "description": "签订日期",
  13367. "type": "string"
  13368. }
  13369. }
  13370. },
  13371. "erms3.AddSpotContractApplyRsp": {
  13372. "type": "object",
  13373. "required": [
  13374. "contractno"
  13375. ],
  13376. "properties": {
  13377. "contractno": {
  13378. "description": "现货合同编号",
  13379. "type": "string"
  13380. },
  13381. "spotcontractid": {
  13382. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13383. "type": "integer"
  13384. }
  13385. }
  13386. },
  13387. "erms3.AddUserInfoApplyReq": {
  13388. "type": "object",
  13389. "required": [
  13390. "userid"
  13391. ],
  13392. "properties": {
  13393. "accountid": {
  13394. "description": "交易系统帐号Id (加密存储)",
  13395. "type": "integer"
  13396. },
  13397. "areacode": {
  13398. "description": "机构代码",
  13399. "type": "string"
  13400. },
  13401. "areaid": {
  13402. "description": "机构Id",
  13403. "type": "integer"
  13404. },
  13405. "attachment1": {
  13406. "description": "附件1",
  13407. "type": "string"
  13408. },
  13409. "attachment2": {
  13410. "description": "附件2",
  13411. "type": "string"
  13412. },
  13413. "attachment3": {
  13414. "description": "附件3",
  13415. "type": "string"
  13416. },
  13417. "attachment4": {
  13418. "description": "附件4",
  13419. "type": "string"
  13420. },
  13421. "attachment5": {
  13422. "description": "附件5",
  13423. "type": "string"
  13424. },
  13425. "auditedby": {
  13426. "description": "审核人",
  13427. "type": "string"
  13428. },
  13429. "auditime": {
  13430. "description": "审核时间",
  13431. "type": "string"
  13432. },
  13433. "auditsrc": {
  13434. "description": "审核来源 - 1:管理端 2:终端",
  13435. "type": "integer"
  13436. },
  13437. "bankaccount": {
  13438. "description": "银行帐号 (加密存储)",
  13439. "type": "string"
  13440. },
  13441. "bankaccountname": {
  13442. "description": "收款人名称",
  13443. "type": "string"
  13444. },
  13445. "bankcardbackphotourl": {
  13446. "description": "银行卡背面照地址",
  13447. "type": "string"
  13448. },
  13449. "bankcardfrontphotourl": {
  13450. "description": "银行卡正面照地址",
  13451. "type": "string"
  13452. },
  13453. "bankid": {
  13454. "description": "银行编码",
  13455. "type": "string"
  13456. },
  13457. "bankname": {
  13458. "description": "银行名称",
  13459. "type": "string"
  13460. },
  13461. "bankpictureurl": {
  13462. "description": "银行卡正面地址",
  13463. "type": "string"
  13464. },
  13465. "biznature": {
  13466. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13467. "type": "integer"
  13468. },
  13469. "bizscope": {
  13470. "description": "企业经营范围(企业)",
  13471. "type": "string"
  13472. },
  13473. "biztype": {
  13474. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13475. "type": "integer"
  13476. },
  13477. "brokerid": {
  13478. "description": "经纪人ID(加密存储)",
  13479. "type": "string"
  13480. },
  13481. "cardaddress": {
  13482. "description": "证件地址 (加密存储)",
  13483. "type": "string"
  13484. },
  13485. "cardbackphotourl": {
  13486. "description": "背面证件照地址",
  13487. "type": "string"
  13488. },
  13489. "cardfrontphotourl": {
  13490. "description": "正面证件照地址",
  13491. "type": "string"
  13492. },
  13493. "cardnum": {
  13494. "description": "证件号码 (加密存储)",
  13495. "type": "string"
  13496. },
  13497. "cardtype": {
  13498. "description": "证件类型",
  13499. "type": "integer"
  13500. },
  13501. "cityid": {
  13502. "description": "市",
  13503. "type": "integer"
  13504. },
  13505. "company": {
  13506. "description": "公司(个人)",
  13507. "type": "string"
  13508. },
  13509. "contactcardbackphotourl": {
  13510. "description": "联系人证件背面图片地址",
  13511. "type": "string"
  13512. },
  13513. "contactcardfrontphotourl": {
  13514. "description": "联系人证件正面图片地址",
  13515. "type": "string"
  13516. },
  13517. "contactname": {
  13518. "description": "联系人",
  13519. "type": "string"
  13520. },
  13521. "countryid": {
  13522. "description": "国家",
  13523. "type": "integer"
  13524. },
  13525. "createtime": {
  13526. "description": "开户申请时间",
  13527. "type": "string"
  13528. },
  13529. "cusbankid": {
  13530. "description": "签约类型",
  13531. "type": "string"
  13532. },
  13533. "cusbankname": {
  13534. "description": "签约类型名称",
  13535. "type": "string"
  13536. },
  13537. "customername": {
  13538. "description": "客户名称(企业名称)",
  13539. "type": "string"
  13540. },
  13541. "districtid": {
  13542. "description": "地区",
  13543. "type": "integer"
  13544. },
  13545. "email": {
  13546. "description": "Email地址(加密存储)",
  13547. "type": "string"
  13548. },
  13549. "halfbodyphotourl": {
  13550. "description": "半身照地址",
  13551. "type": "string"
  13552. },
  13553. "headurl": {
  13554. "description": "头像地址",
  13555. "type": "string"
  13556. },
  13557. "ipaddress": {
  13558. "description": "IP地址",
  13559. "type": "string"
  13560. },
  13561. "isvalidate": {
  13562. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13563. "type": "string"
  13564. },
  13565. "legalcardbackphotourl": {
  13566. "description": "法人身份证背面照地址",
  13567. "type": "string"
  13568. },
  13569. "legalcardfrontphotourl": {
  13570. "description": "法人身份证正面照地址",
  13571. "type": "string"
  13572. },
  13573. "legalpersonname": {
  13574. "description": "法人姓名(企业)",
  13575. "type": "string"
  13576. },
  13577. "logincode": {
  13578. "description": "登录帐号 (加密存储)",
  13579. "type": "string"
  13580. },
  13581. "memberareaid": {
  13582. "description": "所属会员ID",
  13583. "type": "integer"
  13584. },
  13585. "mobile2": {
  13586. "description": "手机号码[明文-尚志]",
  13587. "type": "string"
  13588. },
  13589. "mobilephone": {
  13590. "description": "手机号码 (加密存储)",
  13591. "type": "string"
  13592. },
  13593. "modifiedby": {
  13594. "description": "修改人帐号",
  13595. "type": "integer"
  13596. },
  13597. "modifiedtime": {
  13598. "description": "修改时间",
  13599. "type": "string"
  13600. },
  13601. "nickname": {
  13602. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13603. "type": "string"
  13604. },
  13605. "openmode": {
  13606. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13607. "type": "integer"
  13608. },
  13609. "otherurl": {
  13610. "description": "其它图片地址[使用分号分隔]",
  13611. "type": "string"
  13612. },
  13613. "postalcode": {
  13614. "description": "邮政编码",
  13615. "type": "string"
  13616. },
  13617. "provinceid": {
  13618. "description": "省",
  13619. "type": "integer"
  13620. },
  13621. "proxystatementurl": {
  13622. "description": "授权委托书",
  13623. "type": "string"
  13624. },
  13625. "qq": {
  13626. "description": "QQ(加密存储",
  13627. "type": "string"
  13628. },
  13629. "referral": {
  13630. "description": "推荐人编码",
  13631. "type": "string"
  13632. },
  13633. "remark": {
  13634. "description": "备注",
  13635. "type": "string"
  13636. },
  13637. "removebeforestatus": {
  13638. "description": "REMOVEBEFORESTATUS",
  13639. "type": "integer"
  13640. },
  13641. "sex": {
  13642. "description": "性别 - 0:女 1:男",
  13643. "type": "integer"
  13644. },
  13645. "signedstatus": {
  13646. "description": "账户一号签签约状态",
  13647. "type": "integer"
  13648. },
  13649. "signpdfurl": {
  13650. "description": "签约pdf文件",
  13651. "type": "string"
  13652. },
  13653. "subbranch": {
  13654. "description": "开户支行",
  13655. "type": "string"
  13656. },
  13657. "taxpayernum": {
  13658. "description": "纳税人识别号",
  13659. "type": "string"
  13660. },
  13661. "telphone": {
  13662. "description": "联系电话(加密存储)",
  13663. "type": "string"
  13664. },
  13665. "userid": {
  13666. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13667. "type": "integer"
  13668. },
  13669. "userinfotype": {
  13670. "description": "用户信息类型 - 1:个人 2:企业",
  13671. "type": "integer"
  13672. },
  13673. "username": {
  13674. "description": "用户姓名",
  13675. "type": "string"
  13676. },
  13677. "userstate": {
  13678. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13679. "type": "integer"
  13680. },
  13681. "usertype": {
  13682. "description": "用户类型 - 1:投资者 2:机构",
  13683. "type": "integer"
  13684. },
  13685. "videourl": {
  13686. "description": "视频地址",
  13687. "type": "string"
  13688. },
  13689. "wechat": {
  13690. "description": "微信号 (加密存储)",
  13691. "type": "string"
  13692. }
  13693. }
  13694. },
  13695. "erms3.CustomerInfo": {
  13696. "type": "object",
  13697. "required": [
  13698. "userid"
  13699. ],
  13700. "properties": {
  13701. "accountids": {
  13702. "description": "资金账户ID列表",
  13703. "type": "array",
  13704. "items": {
  13705. "type": "integer"
  13706. }
  13707. },
  13708. "customername": {
  13709. "description": "名称(企业名称)",
  13710. "type": "string"
  13711. },
  13712. "mobile": {
  13713. "description": "手机号码",
  13714. "type": "string"
  13715. },
  13716. "userid": {
  13717. "description": "用户ID",
  13718. "type": "integer"
  13719. }
  13720. }
  13721. },
  13722. "erms3.ModifyUserInfoApplyReq": {
  13723. "type": "object",
  13724. "required": [
  13725. "userid"
  13726. ],
  13727. "properties": {
  13728. "accountid": {
  13729. "description": "交易系统帐号Id (加密存储)",
  13730. "type": "integer"
  13731. },
  13732. "areacode": {
  13733. "description": "机构代码",
  13734. "type": "string"
  13735. },
  13736. "areaid": {
  13737. "description": "机构Id",
  13738. "type": "integer"
  13739. },
  13740. "attachment1": {
  13741. "description": "附件1",
  13742. "type": "string"
  13743. },
  13744. "attachment2": {
  13745. "description": "附件2",
  13746. "type": "string"
  13747. },
  13748. "attachment3": {
  13749. "description": "附件3",
  13750. "type": "string"
  13751. },
  13752. "attachment4": {
  13753. "description": "附件4",
  13754. "type": "string"
  13755. },
  13756. "attachment5": {
  13757. "description": "附件5",
  13758. "type": "string"
  13759. },
  13760. "auditedby": {
  13761. "description": "审核人",
  13762. "type": "string"
  13763. },
  13764. "auditime": {
  13765. "description": "审核时间",
  13766. "type": "string"
  13767. },
  13768. "auditsrc": {
  13769. "description": "审核来源 - 1:管理端 2:终端",
  13770. "type": "integer"
  13771. },
  13772. "bankaccount": {
  13773. "description": "银行帐号 (加密存储)",
  13774. "type": "string"
  13775. },
  13776. "bankaccountname": {
  13777. "description": "收款人名称",
  13778. "type": "string"
  13779. },
  13780. "bankcardbackphotourl": {
  13781. "description": "银行卡背面照地址",
  13782. "type": "string"
  13783. },
  13784. "bankcardfrontphotourl": {
  13785. "description": "银行卡正面照地址",
  13786. "type": "string"
  13787. },
  13788. "bankid": {
  13789. "description": "银行编码",
  13790. "type": "string"
  13791. },
  13792. "bankname": {
  13793. "description": "银行名称",
  13794. "type": "string"
  13795. },
  13796. "bankpictureurl": {
  13797. "description": "银行卡正面地址",
  13798. "type": "string"
  13799. },
  13800. "biznature": {
  13801. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13802. "type": "integer"
  13803. },
  13804. "bizscope": {
  13805. "description": "企业经营范围(企业)",
  13806. "type": "string"
  13807. },
  13808. "biztype": {
  13809. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13810. "type": "integer"
  13811. },
  13812. "brokerid": {
  13813. "description": "经纪人ID(加密存储)",
  13814. "type": "string"
  13815. },
  13816. "cardaddress": {
  13817. "description": "证件地址 (加密存储)",
  13818. "type": "string"
  13819. },
  13820. "cardbackphotourl": {
  13821. "description": "背面证件照地址",
  13822. "type": "string"
  13823. },
  13824. "cardfrontphotourl": {
  13825. "description": "正面证件照地址",
  13826. "type": "string"
  13827. },
  13828. "cardnum": {
  13829. "description": "证件号码 (加密存储)",
  13830. "type": "string"
  13831. },
  13832. "cardtype": {
  13833. "description": "证件类型",
  13834. "type": "integer"
  13835. },
  13836. "cityid": {
  13837. "description": "市",
  13838. "type": "integer"
  13839. },
  13840. "company": {
  13841. "description": "公司(个人)",
  13842. "type": "string"
  13843. },
  13844. "contactcardbackphotourl": {
  13845. "description": "联系人证件背面图片地址",
  13846. "type": "string"
  13847. },
  13848. "contactcardfrontphotourl": {
  13849. "description": "联系人证件正面图片地址",
  13850. "type": "string"
  13851. },
  13852. "contactname": {
  13853. "description": "联系人",
  13854. "type": "string"
  13855. },
  13856. "countryid": {
  13857. "description": "国家",
  13858. "type": "integer"
  13859. },
  13860. "createtime": {
  13861. "description": "开户申请时间",
  13862. "type": "string"
  13863. },
  13864. "cusbankid": {
  13865. "description": "签约类型",
  13866. "type": "string"
  13867. },
  13868. "cusbankname": {
  13869. "description": "签约类型名称",
  13870. "type": "string"
  13871. },
  13872. "customername": {
  13873. "description": "客户名称(企业名称)",
  13874. "type": "string"
  13875. },
  13876. "districtid": {
  13877. "description": "地区",
  13878. "type": "integer"
  13879. },
  13880. "email": {
  13881. "description": "Email地址(加密存储)",
  13882. "type": "string"
  13883. },
  13884. "halfbodyphotourl": {
  13885. "description": "半身照地址",
  13886. "type": "string"
  13887. },
  13888. "headurl": {
  13889. "description": "头像地址",
  13890. "type": "string"
  13891. },
  13892. "ipaddress": {
  13893. "description": "IP地址",
  13894. "type": "string"
  13895. },
  13896. "isvalidate": {
  13897. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13898. "type": "string"
  13899. },
  13900. "legalcardbackphotourl": {
  13901. "description": "法人身份证背面照地址",
  13902. "type": "string"
  13903. },
  13904. "legalcardfrontphotourl": {
  13905. "description": "法人身份证正面照地址",
  13906. "type": "string"
  13907. },
  13908. "legalpersonname": {
  13909. "description": "法人姓名(企业)",
  13910. "type": "string"
  13911. },
  13912. "logincode": {
  13913. "description": "登录帐号 (加密存储)",
  13914. "type": "string"
  13915. },
  13916. "memberareaid": {
  13917. "description": "所属会员ID",
  13918. "type": "integer"
  13919. },
  13920. "mobile2": {
  13921. "description": "手机号码[明文-尚志]",
  13922. "type": "string"
  13923. },
  13924. "mobilephone": {
  13925. "description": "手机号码 (加密存储)",
  13926. "type": "string"
  13927. },
  13928. "modifiedby": {
  13929. "description": "修改人帐号",
  13930. "type": "integer"
  13931. },
  13932. "modifiedtime": {
  13933. "description": "修改时间",
  13934. "type": "string"
  13935. },
  13936. "nickname": {
  13937. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13938. "type": "string"
  13939. },
  13940. "openmode": {
  13941. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13942. "type": "integer"
  13943. },
  13944. "otherurl": {
  13945. "description": "其它图片地址[使用分号分隔]",
  13946. "type": "string"
  13947. },
  13948. "postalcode": {
  13949. "description": "邮政编码",
  13950. "type": "string"
  13951. },
  13952. "provinceid": {
  13953. "description": "省",
  13954. "type": "integer"
  13955. },
  13956. "proxystatementurl": {
  13957. "description": "授权委托书",
  13958. "type": "string"
  13959. },
  13960. "qq": {
  13961. "description": "QQ(加密存储",
  13962. "type": "string"
  13963. },
  13964. "referral": {
  13965. "description": "推荐人编码",
  13966. "type": "string"
  13967. },
  13968. "remark": {
  13969. "description": "备注",
  13970. "type": "string"
  13971. },
  13972. "removebeforestatus": {
  13973. "description": "REMOVEBEFORESTATUS",
  13974. "type": "integer"
  13975. },
  13976. "sex": {
  13977. "description": "性别 - 0:女 1:男",
  13978. "type": "integer"
  13979. },
  13980. "signedstatus": {
  13981. "description": "账户一号签签约状态",
  13982. "type": "integer"
  13983. },
  13984. "signpdfurl": {
  13985. "description": "签约pdf文件",
  13986. "type": "string"
  13987. },
  13988. "subbranch": {
  13989. "description": "开户支行",
  13990. "type": "string"
  13991. },
  13992. "taxpayernum": {
  13993. "description": "纳税人识别号",
  13994. "type": "string"
  13995. },
  13996. "telphone": {
  13997. "description": "联系电话(加密存储)",
  13998. "type": "string"
  13999. },
  14000. "userid": {
  14001. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14002. "type": "integer"
  14003. },
  14004. "userinfotype": {
  14005. "description": "用户信息类型 - 1:个人 2:企业",
  14006. "type": "integer"
  14007. },
  14008. "username": {
  14009. "description": "用户姓名",
  14010. "type": "string"
  14011. },
  14012. "userstate": {
  14013. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14014. "type": "integer"
  14015. },
  14016. "usertype": {
  14017. "description": "用户类型 - 1:投资者 2:机构",
  14018. "type": "integer"
  14019. },
  14020. "videourl": {
  14021. "description": "视频地址",
  14022. "type": "string"
  14023. },
  14024. "wechat": {
  14025. "description": "微信号 (加密存储)",
  14026. "type": "string"
  14027. }
  14028. }
  14029. },
  14030. "erms3.QryAuditContractRsp": {
  14031. "type": "object",
  14032. "required": [
  14033. "matchcustomername",
  14034. "spotcontractid"
  14035. ],
  14036. "properties": {
  14037. "accountid": {
  14038. "description": "交易员ID",
  14039. "type": "string"
  14040. },
  14041. "applystatus": {
  14042. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14043. "type": "integer"
  14044. },
  14045. "curdeliveryqty": {
  14046. "description": "未交收量",
  14047. "type": "integer"
  14048. },
  14049. "customername": {
  14050. "description": "采购方ID",
  14051. "type": "string"
  14052. },
  14053. "deliverygoodsid": {
  14054. "description": "品种ID",
  14055. "type": "string"
  14056. },
  14057. "deliveryqty": {
  14058. "description": "交收量",
  14059. "type": "integer"
  14060. },
  14061. "enumdicname": {
  14062. "description": "单位名称",
  14063. "type": "string"
  14064. },
  14065. "matchaccountid": {
  14066. "description": "业务员ID",
  14067. "type": "string"
  14068. },
  14069. "matchcustomername": {
  14070. "description": "销售方ID",
  14071. "type": "string"
  14072. },
  14073. "pricedqty": {
  14074. "description": "定价量",
  14075. "type": "number"
  14076. },
  14077. "signdate": {
  14078. "description": "签订日期",
  14079. "type": "string"
  14080. },
  14081. "spotcontractid": {
  14082. "description": "合同ID",
  14083. "type": "string"
  14084. },
  14085. "totaldqty": {
  14086. "description": "合同量",
  14087. "type": "number"
  14088. },
  14089. "unpricedqty": {
  14090. "description": "未定价量",
  14091. "type": "number"
  14092. },
  14093. "wrstandardname": {
  14094. "description": "商品名称",
  14095. "type": "string"
  14096. }
  14097. }
  14098. },
  14099. "erms3.QryPendingBizRsp": {
  14100. "$ref": "#/definitions/models.PendingAuditBizModel"
  14101. },
  14102. "erms3.QueryBusinessInfoRsp": {
  14103. "type": "object",
  14104. "properties": {
  14105. "businessid": {
  14106. "description": "业务ID.",
  14107. "type": "integer"
  14108. },
  14109. "buyamount": {
  14110. "description": "采购额.",
  14111. "type": "number"
  14112. },
  14113. "buyqty": {
  14114. "description": "采购量.",
  14115. "type": "string"
  14116. },
  14117. "futurepl": {
  14118. "description": "期货盈亏.",
  14119. "type": "number"
  14120. },
  14121. "futureqty": {
  14122. "description": "期货敞口.",
  14123. "type": "string"
  14124. },
  14125. "goodsid": {
  14126. "description": "商品名称/商品代码.",
  14127. "type": "string"
  14128. },
  14129. "hedgingqty": {
  14130. "description": "套保量.",
  14131. "type": "string"
  14132. },
  14133. "sellamount": {
  14134. "description": "销售额.",
  14135. "type": "number"
  14136. },
  14137. "sellqty": {
  14138. "description": "销售量.",
  14139. "type": "string"
  14140. },
  14141. "spotmarketvalue": {
  14142. "description": "现货市值.",
  14143. "type": "number"
  14144. },
  14145. "spotpl": {
  14146. "description": "浮动权益.",
  14147. "type": "number"
  14148. },
  14149. "spotqty": {
  14150. "description": "现货量.",
  14151. "type": "string"
  14152. },
  14153. "statu": {
  14154. "description": "状态,0-未结束 1-已结束.",
  14155. "type": "integer"
  14156. },
  14157. "totalpl": {
  14158. "description": "总盈亏.",
  14159. "type": "number"
  14160. },
  14161. "totalqty": {
  14162. "description": "总敞口.",
  14163. "type": "string"
  14164. },
  14165. "type": {
  14166. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14167. "type": "integer"
  14168. }
  14169. }
  14170. },
  14171. "erms3.QuerySpotContractAppleFormRsp": {
  14172. "type": "object",
  14173. "properties": {
  14174. "goodses": {
  14175. "description": "合约列表",
  14176. "type": "array",
  14177. "items": {
  14178. "$ref": "#/definitions/models.GoodsIDAndName"
  14179. }
  14180. },
  14181. "oppositeusers": {
  14182. "description": "对方账号列表",
  14183. "type": "array",
  14184. "items": {
  14185. "$ref": "#/definitions/erms3.CustomerInfo"
  14186. }
  14187. },
  14188. "ouruser": {
  14189. "description": "我方账号",
  14190. "type": "object",
  14191. "$ref": "#/definitions/erms3.CustomerInfo"
  14192. },
  14193. "warehouseinfos": {
  14194. "description": "仓库信息列表",
  14195. "type": "array",
  14196. "items": {
  14197. "$ref": "#/definitions/models.Warehouseinfo"
  14198. }
  14199. },
  14200. "wrstandards": {
  14201. "description": "仓单标准列表",
  14202. "type": "array",
  14203. "items": {
  14204. "$ref": "#/definitions/models.WRStandardInfo"
  14205. }
  14206. }
  14207. }
  14208. },
  14209. "erms3.QuerySpotContractInfoRsp": {
  14210. "type": "object",
  14211. "properties": {
  14212. "accountid": {
  14213. "description": "表示交易员ID.",
  14214. "type": "integer"
  14215. },
  14216. "curdeliveryqty": {
  14217. "description": "表示未交收量.",
  14218. "type": "number"
  14219. },
  14220. "customername": {
  14221. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14222. "type": "string"
  14223. },
  14224. "deliverygoodsid": {
  14225. "description": "表示品种ID.",
  14226. "type": "string"
  14227. },
  14228. "deliveryqty": {
  14229. "description": "表示交收量.",
  14230. "type": "number"
  14231. },
  14232. "matchaccountid": {
  14233. "description": "表示业务员ID.",
  14234. "type": "integer"
  14235. },
  14236. "matchcustomername": {
  14237. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14238. "type": "string"
  14239. },
  14240. "priceqty": {
  14241. "description": "表示定价量.",
  14242. "type": "number"
  14243. },
  14244. "relatedbizid": {
  14245. "description": "表示业务ID.",
  14246. "type": "string"
  14247. },
  14248. "signdate": {
  14249. "description": "表示签订日期.",
  14250. "type": "string"
  14251. },
  14252. "spotcontractid": {
  14253. "description": "合同ID",
  14254. "type": "string"
  14255. },
  14256. "status": {
  14257. "description": "表示状态,0-履约中 1-已完成.",
  14258. "type": "integer"
  14259. },
  14260. "totalqty": {
  14261. "description": "表示合同量.",
  14262. "type": "number"
  14263. },
  14264. "unpricedqty": {
  14265. "description": "表示未定价量.",
  14266. "type": "number"
  14267. },
  14268. "wrstandardname": {
  14269. "description": "表示商品ID.",
  14270. "type": "string"
  14271. }
  14272. }
  14273. },
  14274. "erms3.QueryUserInfoAppliesRsp": {
  14275. "type": "object",
  14276. "required": [
  14277. "userid"
  14278. ],
  14279. "properties": {
  14280. "biznature": {
  14281. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14282. "type": "integer"
  14283. },
  14284. "contactname": {
  14285. "description": "联系人",
  14286. "type": "string"
  14287. },
  14288. "createtime": {
  14289. "description": "开户申请时间",
  14290. "type": "string"
  14291. },
  14292. "userid": {
  14293. "description": "用户ID(自增ID)",
  14294. "type": "integer"
  14295. },
  14296. "userinfotype": {
  14297. "description": "用户信息类型 - 1:个人 2:企业",
  14298. "type": "integer"
  14299. },
  14300. "username": {
  14301. "description": "用户姓名",
  14302. "type": "string"
  14303. },
  14304. "userstate": {
  14305. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14306. "type": "integer"
  14307. }
  14308. }
  14309. },
  14310. "erms3.QueryUserInfosRsp": {
  14311. "type": "object",
  14312. "required": [
  14313. "userid"
  14314. ],
  14315. "properties": {
  14316. "biznature": {
  14317. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14318. "type": "integer"
  14319. },
  14320. "contactname": {
  14321. "description": "联系人",
  14322. "type": "string"
  14323. },
  14324. "customername": {
  14325. "description": "客户名称(企业名称)",
  14326. "type": "string"
  14327. },
  14328. "userid": {
  14329. "description": "用户ID",
  14330. "type": "integer"
  14331. },
  14332. "userinfotype": {
  14333. "description": "用户信息类型 - 1:个人 2:企业",
  14334. "type": "integer"
  14335. },
  14336. "userstatus": {
  14337. "description": "用户状态 - 1:正常 2:注销",
  14338. "type": "integer"
  14339. }
  14340. }
  14341. },
  14342. "erms3.SoptContractDetail": {
  14343. "type": "object",
  14344. "required": [
  14345. "deliverygoodsid",
  14346. "producttype",
  14347. "unitname",
  14348. "warehouseid",
  14349. "wrstandardid",
  14350. "wrstandardname"
  14351. ],
  14352. "properties": {
  14353. "deliverygoodsdesc": {
  14354. "description": "现货品种说明",
  14355. "type": "string"
  14356. },
  14357. "deliverygoodsid": {
  14358. "description": "现货品种ID",
  14359. "type": "integer"
  14360. },
  14361. "deliverygoodsname": {
  14362. "description": "现货品种名称",
  14363. "type": "string"
  14364. },
  14365. "pointdesc": {
  14366. "description": "点价描述",
  14367. "type": "string"
  14368. },
  14369. "producttype": {
  14370. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14371. "type": "integer"
  14372. },
  14373. "producttypename": {
  14374. "description": "产品类型名称",
  14375. "type": "string"
  14376. },
  14377. "spotPointOrderVoList": {
  14378. "description": "点价列表",
  14379. "type": "array",
  14380. "items": {
  14381. "$ref": "#/definitions/erms3.SpotPointOrder"
  14382. }
  14383. },
  14384. "spotPriceOrderList": {
  14385. "description": "定价列表",
  14386. "type": "array",
  14387. "items": {
  14388. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14389. }
  14390. },
  14391. "unitname": {
  14392. "description": "单位名称",
  14393. "type": "string"
  14394. },
  14395. "warehouseid": {
  14396. "description": "仓库ID",
  14397. "type": "integer"
  14398. },
  14399. "warehousename": {
  14400. "description": "仓库名称",
  14401. "type": "string"
  14402. },
  14403. "wrstandardid": {
  14404. "description": "交易标的ID",
  14405. "type": "integer"
  14406. },
  14407. "wrstandardname": {
  14408. "description": "交易标的名称",
  14409. "type": "string"
  14410. }
  14411. }
  14412. },
  14413. "erms3.SpotPointOrder": {
  14414. "type": "object",
  14415. "required": [
  14416. "basic",
  14417. "goodsid",
  14418. "qty"
  14419. ],
  14420. "properties": {
  14421. "basic": {
  14422. "description": "基差",
  14423. "type": "number"
  14424. },
  14425. "deliveryenddate": {
  14426. "description": "交收结束日期",
  14427. "type": "string"
  14428. },
  14429. "deliverystartdate": {
  14430. "description": "交收开始日期",
  14431. "type": "string"
  14432. },
  14433. "enddate": {
  14434. "description": "点价结束日期",
  14435. "type": "string"
  14436. },
  14437. "goodsid": {
  14438. "description": "商品ID",
  14439. "type": "integer"
  14440. },
  14441. "goodsname": {
  14442. "description": "商品名称",
  14443. "type": "string"
  14444. },
  14445. "qty": {
  14446. "description": "数量",
  14447. "type": "number"
  14448. },
  14449. "startdate": {
  14450. "description": "点价开始日期",
  14451. "type": "string"
  14452. }
  14453. }
  14454. },
  14455. "erms3.SpotPriceOrder": {
  14456. "type": "object",
  14457. "required": [
  14458. "amount",
  14459. "price",
  14460. "qty"
  14461. ],
  14462. "properties": {
  14463. "amount": {
  14464. "description": "金额",
  14465. "type": "number"
  14466. },
  14467. "deliveryenddate": {
  14468. "description": "交收结束日期",
  14469. "type": "string"
  14470. },
  14471. "deliverystartdate": {
  14472. "description": "交收开始日期",
  14473. "type": "string"
  14474. },
  14475. "price": {
  14476. "description": "价格",
  14477. "type": "number"
  14478. },
  14479. "qty": {
  14480. "description": "数量",
  14481. "type": "number"
  14482. }
  14483. }
  14484. },
  14485. "hsby.GetHsbyMyCountRsp": {
  14486. "type": "object",
  14487. "properties": {
  14488. "myCouponCount": {
  14489. "description": "我的优惠卷数量",
  14490. "type": "integer"
  14491. },
  14492. "myOrderDetailListingCount": {
  14493. "description": "我的订单求购中数量",
  14494. "type": "integer"
  14495. },
  14496. "myOrderDetailPreCount": {
  14497. "description": "我的订单抢购中数量",
  14498. "type": "integer"
  14499. },
  14500. "myPackageUnReceiveCount": {
  14501. "description": "我的包裹待收货数量",
  14502. "type": "integer"
  14503. },
  14504. "myPackageUnSendCount": {
  14505. "description": "我的包裹待发货数量",
  14506. "type": "integer"
  14507. },
  14508. "myPayOrderCount": {
  14509. "description": "我的订单待付款数量",
  14510. "type": "integer"
  14511. }
  14512. }
  14513. },
  14514. "hsby.QueryProvincesAndCitiesRsp": {
  14515. "type": "object",
  14516. "properties": {
  14517. "cities": {
  14518. "description": "市",
  14519. "type": "array",
  14520. "items": {
  14521. "$ref": "#/definitions/models.Division"
  14522. }
  14523. },
  14524. "province": {
  14525. "description": "省",
  14526. "type": "object",
  14527. "$ref": "#/definitions/models.Division"
  14528. }
  14529. }
  14530. },
  14531. "models.AreaSpotModel": {
  14532. "type": "object",
  14533. "properties": {
  14534. "areauserid": {
  14535. "description": "所属机构",
  14536. "type": "integer"
  14537. },
  14538. "decreaseqty": {
  14539. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14540. "type": "number"
  14541. },
  14542. "increaseqty": {
  14543. "description": "增加数量=销售计划数量+采购已定价数量",
  14544. "type": "number"
  14545. },
  14546. "oritoalspotqty": {
  14547. "description": "昨日数量",
  14548. "type": "number"
  14549. },
  14550. "totalspotqty": {
  14551. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14552. "type": "number"
  14553. },
  14554. "updatetime": {
  14555. "description": "更新时间",
  14556. "type": "string"
  14557. },
  14558. "wrstandardcode": {
  14559. "description": "现货品种代码",
  14560. "type": "string"
  14561. },
  14562. "wrstandardid": {
  14563. "description": "现货商品ID",
  14564. "type": "integer"
  14565. },
  14566. "wrstandardname": {
  14567. "description": "现货品种",
  14568. "type": "string"
  14569. }
  14570. }
  14571. },
  14572. "models.Arearole": {
  14573. "type": "object",
  14574. "required": [
  14575. "roletype",
  14576. "userid"
  14577. ],
  14578. "properties": {
  14579. "createtime": {
  14580. "description": "创建时间",
  14581. "type": "string"
  14582. },
  14583. "creatorid": {
  14584. "description": "创建人ID",
  14585. "type": "integer"
  14586. },
  14587. "fromuserid": {
  14588. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14589. "type": "integer"
  14590. },
  14591. "isreturnscore": {
  14592. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14593. "type": "integer"
  14594. },
  14595. "modifierid": {
  14596. "description": "修改人ID",
  14597. "type": "integer"
  14598. },
  14599. "modifytime": {
  14600. "description": "修改时间",
  14601. "type": "string"
  14602. },
  14603. "orgtype": {
  14604. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14605. "type": "integer"
  14606. },
  14607. "outuserid": {
  14608. "description": "外部账户[场外期权做市商]",
  14609. "type": "string"
  14610. },
  14611. "parentuserid": {
  14612. "description": "上级组织机构(组织机构)",
  14613. "type": "integer"
  14614. },
  14615. "roletype": {
  14616. "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:门店",
  14617. "type": "integer"
  14618. },
  14619. "rootuserid": {
  14620. "description": "顶级组织机构用户ID(组织机构)",
  14621. "type": "integer"
  14622. },
  14623. "shoppassword": {
  14624. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14625. "type": "string"
  14626. },
  14627. "sublevelpath": {
  14628. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14629. "type": "string"
  14630. },
  14631. "suborgtype": {
  14632. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14633. "type": "integer"
  14634. },
  14635. "tradeaccountid": {
  14636. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14637. "type": "integer"
  14638. },
  14639. "transurl": {
  14640. "description": "物流地址(物流机构)",
  14641. "type": "string"
  14642. },
  14643. "userid": {
  14644. "description": "机构用户ID其他做市关系,都设置为 1",
  14645. "type": "integer"
  14646. }
  14647. }
  14648. },
  14649. "models.Clientfixedadconfig": {
  14650. "type": "object",
  14651. "required": [
  14652. "adsort",
  14653. "adtype"
  14654. ],
  14655. "properties": {
  14656. "adsort": {
  14657. "description": "排序",
  14658. "type": "integer"
  14659. },
  14660. "adtype": {
  14661. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14662. "type": "integer"
  14663. },
  14664. "areauserid": {
  14665. "description": "所属机构ID",
  14666. "type": "integer"
  14667. },
  14668. "createdate": {
  14669. "description": "创建时间",
  14670. "type": "string"
  14671. },
  14672. "creatorid": {
  14673. "description": "创建人",
  14674. "type": "integer"
  14675. },
  14676. "imagepath": {
  14677. "description": "图片",
  14678. "type": "string"
  14679. },
  14680. "isshow": {
  14681. "description": "是否展示 - 0:不展示 1:展示",
  14682. "type": "integer"
  14683. },
  14684. "modifierid": {
  14685. "description": "操作人",
  14686. "type": "integer"
  14687. },
  14688. "recsize": {
  14689. "description": "推荐尺寸",
  14690. "type": "string"
  14691. },
  14692. "title": {
  14693. "description": "标题",
  14694. "type": "string"
  14695. },
  14696. "updatedate": {
  14697. "description": "更新时间",
  14698. "type": "string"
  14699. },
  14700. "urlcontent": {
  14701. "description": "链接(地址或商品ID)",
  14702. "type": "string"
  14703. },
  14704. "urltype": {
  14705. "description": "链接类型 - 1:直接地址 2:商品ID",
  14706. "type": "integer"
  14707. }
  14708. }
  14709. },
  14710. "models.Division": {
  14711. "type": "object",
  14712. "required": [
  14713. "autoid",
  14714. "divisioncode"
  14715. ],
  14716. "properties": {
  14717. "autoid": {
  14718. "description": "自增ID",
  14719. "type": "integer"
  14720. },
  14721. "divisioncode": {
  14722. "description": "行政代码",
  14723. "type": "string"
  14724. },
  14725. "divisionlevel": {
  14726. "description": "行政级别",
  14727. "type": "string"
  14728. },
  14729. "divisionname": {
  14730. "description": "行政名称",
  14731. "type": "string"
  14732. },
  14733. "modifierid": {
  14734. "description": "修改人",
  14735. "type": "integer"
  14736. },
  14737. "modifytime": {
  14738. "description": "修改时间",
  14739. "type": "string"
  14740. },
  14741. "parentcode": {
  14742. "description": "上级行政代码",
  14743. "type": "string"
  14744. },
  14745. "pathname": {
  14746. "description": "路径名称",
  14747. "type": "string"
  14748. },
  14749. "postcode": {
  14750. "description": "邮政编码",
  14751. "type": "string"
  14752. },
  14753. "separablename": {
  14754. "description": "可拆分的全称",
  14755. "type": "string"
  14756. },
  14757. "shortcode": {
  14758. "description": "地区简码",
  14759. "type": "string"
  14760. }
  14761. }
  14762. },
  14763. "models.Enumdicitem": {
  14764. "type": "object",
  14765. "required": [
  14766. "autoid",
  14767. "enumdiccode",
  14768. "enumdicid",
  14769. "enumitemname"
  14770. ],
  14771. "properties": {
  14772. "autoid": {
  14773. "description": "自增ID",
  14774. "type": "integer"
  14775. },
  14776. "bankmappedvalue": {
  14777. "description": "银行服务对应值",
  14778. "type": "string"
  14779. },
  14780. "enumdiccode": {
  14781. "description": "所属枚举代码",
  14782. "type": "string"
  14783. },
  14784. "enumdicid": {
  14785. "description": "所属枚举ID",
  14786. "type": "integer"
  14787. },
  14788. "enumdicname": {
  14789. "description": "枚举项名称",
  14790. "type": "string"
  14791. },
  14792. "enumitemname": {
  14793. "description": "枚举项值",
  14794. "type": "integer"
  14795. },
  14796. "enumitemstatus": {
  14797. "description": "枚举项状态 - 1.启用 2.不启用",
  14798. "type": "integer"
  14799. },
  14800. "enumitemvalue": {
  14801. "description": "通用值 - [币种通用简写]",
  14802. "type": "string"
  14803. },
  14804. "param1": {
  14805. "description": "参数1[币种:币种小数位]",
  14806. "type": "string"
  14807. },
  14808. "param2": {
  14809. "description": "参数1[币种:币种显示单位]",
  14810. "type": "string"
  14811. },
  14812. "remark": {
  14813. "description": "备注",
  14814. "type": "string"
  14815. }
  14816. }
  14817. },
  14818. "models.Ermcp3AreaSpot": {
  14819. "type": "object",
  14820. "properties": {
  14821. "areauserid": {
  14822. "description": "所属机构",
  14823. "type": "integer"
  14824. },
  14825. "decreaseqty": {
  14826. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14827. "type": "number"
  14828. },
  14829. "deliverygoodscode": {
  14830. "description": "现货品种代码",
  14831. "type": "string"
  14832. },
  14833. "deliverygoodsid": {
  14834. "description": "现货品种id",
  14835. "type": "integer"
  14836. },
  14837. "deliverygoodsname": {
  14838. "description": "现货品种名称",
  14839. "type": "string"
  14840. },
  14841. "enumdicname": {
  14842. "description": "单位名称",
  14843. "type": "string"
  14844. },
  14845. "goodsunitid": {
  14846. "description": "现货品种单位id",
  14847. "type": "integer"
  14848. },
  14849. "increaseqty": {
  14850. "description": "增加数量=销售计划数量+采购已定价数量",
  14851. "type": "number"
  14852. },
  14853. "oritoalspotqty": {
  14854. "description": "昨日数量",
  14855. "type": "number"
  14856. },
  14857. "totalspotqty": {
  14858. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14859. "type": "number"
  14860. },
  14861. "updatetime": {
  14862. "description": "更新时间",
  14863. "type": "string"
  14864. }
  14865. }
  14866. },
  14867. "models.Ermcp3AreaSpotDetail": {
  14868. "type": "object",
  14869. "properties": {
  14870. "contracttype": {
  14871. "description": "合同类型 1-采购 -1-销售",
  14872. "type": "integer"
  14873. },
  14874. "createtime": {
  14875. "description": "创建时间",
  14876. "type": "string"
  14877. },
  14878. "deliverygoodscode": {
  14879. "description": "现货品种代码",
  14880. "type": "string"
  14881. },
  14882. "deliverygoodsid": {
  14883. "description": "现货品种id",
  14884. "type": "integer"
  14885. },
  14886. "deliverygoodsname": {
  14887. "description": "现货品种名称",
  14888. "type": "string"
  14889. },
  14890. "enumdicname": {
  14891. "description": "现货商品单位名称",
  14892. "type": "string"
  14893. },
  14894. "logtype": {
  14895. "description": "记录类型 1-套保 2-现货合同",
  14896. "type": "integer"
  14897. },
  14898. "qty": {
  14899. "description": "数量",
  14900. "type": "number"
  14901. },
  14902. "recordname": {
  14903. "description": "类型名称",
  14904. "type": "string"
  14905. },
  14906. "relatedid": {
  14907. "description": "套保计划ID/现货合同ID",
  14908. "type": "string"
  14909. },
  14910. "relatedno": {
  14911. "description": "编号",
  14912. "type": "string"
  14913. },
  14914. "strtime": {
  14915. "description": "时间",
  14916. "type": "string"
  14917. }
  14918. }
  14919. },
  14920. "models.Ermcp3AreaSpotPLReport": {
  14921. "type": "object",
  14922. "properties": {
  14923. "accountid": {
  14924. "description": "期货账户ID (作废, 默认为0)",
  14925. "type": "integer"
  14926. },
  14927. "accountname": {
  14928. "description": "机构名称",
  14929. "type": "string"
  14930. },
  14931. "actualpl": {
  14932. "description": "现货损益",
  14933. "type": "number"
  14934. },
  14935. "areauserid": {
  14936. "description": "所属机构\\交易用户ID",
  14937. "type": "integer"
  14938. },
  14939. "begindate": {
  14940. "description": "开始交易日",
  14941. "type": "string"
  14942. },
  14943. "biztype": {
  14944. "description": "业务类型 - 1:套保 2:套利",
  14945. "type": "integer"
  14946. },
  14947. "brandname": {
  14948. "description": "品牌名称",
  14949. "type": "string"
  14950. },
  14951. "curamount": {
  14952. "description": "期末额",
  14953. "type": "number"
  14954. },
  14955. "curaverageprice": {
  14956. "description": "期末均价",
  14957. "type": "number"
  14958. },
  14959. "curbuyamount": {
  14960. "description": "期末采购总额",
  14961. "type": "number"
  14962. },
  14963. "curbuyqty": {
  14964. "description": "期末采购总量",
  14965. "type": "number"
  14966. },
  14967. "curmarketvalue": {
  14968. "description": "参考市值(期末市值)",
  14969. "type": "number"
  14970. },
  14971. "curqty": {
  14972. "description": "期末量",
  14973. "type": "number"
  14974. },
  14975. "currencyid": {
  14976. "description": "结算币种ID【原值】",
  14977. "type": "integer"
  14978. },
  14979. "currencyname": {
  14980. "description": "币种名称",
  14981. "type": "string"
  14982. },
  14983. "cursellamount": {
  14984. "description": "期末销售总额",
  14985. "type": "number"
  14986. },
  14987. "cursellqty": {
  14988. "description": "期末销售总量",
  14989. "type": "number"
  14990. },
  14991. "curspotprice": {
  14992. "description": "参考市价(最新价)",
  14993. "type": "number"
  14994. },
  14995. "cycletime": {
  14996. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14997. "type": "string"
  14998. },
  14999. "cycletype": {
  15000. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15001. "type": "integer"
  15002. },
  15003. "deliverygoodscode": {
  15004. "description": "现货商品代码",
  15005. "type": "string"
  15006. },
  15007. "deliverygoodsid": {
  15008. "description": "现货品种ID",
  15009. "type": "integer"
  15010. },
  15011. "deliverygoodsname": {
  15012. "description": "现货商品名称",
  15013. "type": "string"
  15014. },
  15015. "enddate": {
  15016. "description": "结束交易日",
  15017. "type": "string"
  15018. },
  15019. "enumdicname": {
  15020. "description": "现货商品单位名称",
  15021. "type": "string"
  15022. },
  15023. "floatpl": {
  15024. "description": "浮动损益",
  15025. "type": "number"
  15026. },
  15027. "goodsunitid": {
  15028. "description": "现货商品单位id",
  15029. "type": "integer"
  15030. },
  15031. "oriamount": {
  15032. "description": "期初额",
  15033. "type": "number"
  15034. },
  15035. "oriaverageprice": {
  15036. "description": "期初均价",
  15037. "type": "number"
  15038. },
  15039. "oribuyamount": {
  15040. "description": "期初采购总额",
  15041. "type": "number"
  15042. },
  15043. "oribuyqty": {
  15044. "description": "期初采购总量",
  15045. "type": "number"
  15046. },
  15047. "oriqty": {
  15048. "description": "期初量",
  15049. "type": "number"
  15050. },
  15051. "orisellamount": {
  15052. "description": "期初销售总额",
  15053. "type": "number"
  15054. },
  15055. "orisellqty": {
  15056. "description": "期初销售总量",
  15057. "type": "number"
  15058. },
  15059. "reckondate": {
  15060. "description": "日照时期(yyyyMMdd)",
  15061. "type": "string"
  15062. },
  15063. "spotgoodsbrandid": {
  15064. "description": "现货品牌ID",
  15065. "type": "integer"
  15066. },
  15067. "todaybuyamount": {
  15068. "description": "今日采购额(今采购额)",
  15069. "type": "number"
  15070. },
  15071. "todaybuyaverageprice": {
  15072. "description": "今日采购均价",
  15073. "type": "number"
  15074. },
  15075. "todaybuyqty": {
  15076. "description": "今日采购量(今采购量)",
  15077. "type": "number"
  15078. },
  15079. "todayinqty": {
  15080. "description": "今日入库量(今入库量)",
  15081. "type": "number"
  15082. },
  15083. "todayoutqty": {
  15084. "description": "今日出库量(今出库量)",
  15085. "type": "number"
  15086. },
  15087. "todaysellamount": {
  15088. "description": "今日销售额(今销售额)",
  15089. "type": "number"
  15090. },
  15091. "todaysellaverageprice": {
  15092. "description": "今日销售均价",
  15093. "type": "number"
  15094. },
  15095. "todaysellqty": {
  15096. "description": "今日销售量(今销售量)",
  15097. "type": "number"
  15098. },
  15099. "unitid": {
  15100. "description": "品类单位id",
  15101. "type": "integer"
  15102. },
  15103. "unitidname": {
  15104. "description": "品类单位名称",
  15105. "type": "string"
  15106. },
  15107. "updatetime": {
  15108. "description": "更新时间",
  15109. "type": "string"
  15110. },
  15111. "wrfactortypeid": {
  15112. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15113. "type": "integer"
  15114. },
  15115. "wrstandardcode": {
  15116. "description": "品类代码",
  15117. "type": "string"
  15118. },
  15119. "wrstandardid": {
  15120. "description": "现货品类ID",
  15121. "type": "integer"
  15122. },
  15123. "wrstandardname": {
  15124. "description": "品类名称",
  15125. "type": "string"
  15126. }
  15127. }
  15128. },
  15129. "models.Ermcp3AreaStock": {
  15130. "type": "object",
  15131. "required": [
  15132. "userid"
  15133. ],
  15134. "properties": {
  15135. "brandname": {
  15136. "description": "品牌名称",
  15137. "type": "string"
  15138. },
  15139. "curstock": {
  15140. "description": "期末库存量(今日量)",
  15141. "type": "number"
  15142. },
  15143. "deliverygoodscode": {
  15144. "description": "现货品种代码",
  15145. "type": "string"
  15146. },
  15147. "deliverygoodsid": {
  15148. "description": "现货品种id",
  15149. "type": "integer"
  15150. },
  15151. "deliverygoodsname": {
  15152. "description": "现货品种名称",
  15153. "type": "string"
  15154. },
  15155. "enumdicname": {
  15156. "description": "单位名称",
  15157. "type": "string"
  15158. },
  15159. "goodsunitid": {
  15160. "description": "现货商品单位id",
  15161. "type": "integer"
  15162. },
  15163. "oristock": {
  15164. "description": "期初库存量(昨日量)",
  15165. "type": "number"
  15166. },
  15167. "spotgoodsbrandid": {
  15168. "description": "现货品牌ID",
  15169. "type": "integer"
  15170. },
  15171. "todaybuyinqty": {
  15172. "description": "今日采购入库量",
  15173. "type": "number"
  15174. },
  15175. "todayproduceinqty": {
  15176. "description": "今日生产入库量",
  15177. "type": "number"
  15178. },
  15179. "todayproduceoutqty": {
  15180. "description": "今日生产出库量",
  15181. "type": "number"
  15182. },
  15183. "todayselloutqty": {
  15184. "description": "今日销售出库量",
  15185. "type": "number"
  15186. },
  15187. "unitid": {
  15188. "description": "单位id",
  15189. "type": "integer"
  15190. },
  15191. "updatetime": {
  15192. "description": "更新时间",
  15193. "type": "string"
  15194. },
  15195. "userid": {
  15196. "description": "机构ID",
  15197. "type": "integer"
  15198. },
  15199. "username": {
  15200. "description": "机构名称",
  15201. "type": "string"
  15202. },
  15203. "warehousecode": {
  15204. "description": "仓库代码",
  15205. "type": "string"
  15206. },
  15207. "warehouseinfoid": {
  15208. "description": "仓库ID",
  15209. "type": "string"
  15210. },
  15211. "warehousename": {
  15212. "description": "仓库名称",
  15213. "type": "string"
  15214. },
  15215. "warehousetype": {
  15216. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15217. "type": "integer"
  15218. },
  15219. "wrstandardcode": {
  15220. "description": "品类代码",
  15221. "type": "string"
  15222. },
  15223. "wrstandardid": {
  15224. "description": "品类ID",
  15225. "type": "string"
  15226. },
  15227. "wrstandardname": {
  15228. "description": "品类名称",
  15229. "type": "string"
  15230. }
  15231. }
  15232. },
  15233. "models.Ermcp3AreaStockApply": {
  15234. "type": "object",
  15235. "properties": {
  15236. "applyid": {
  15237. "description": "申请人",
  15238. "type": "integer"
  15239. },
  15240. "applyname": {
  15241. "description": "申请人名称",
  15242. "type": "string"
  15243. },
  15244. "applyremark": {
  15245. "description": "申请备注",
  15246. "type": "string"
  15247. },
  15248. "applysrc": {
  15249. "description": "申请来源 - 1:管理端 2:终端",
  15250. "type": "integer"
  15251. },
  15252. "applystatus": {
  15253. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15254. "type": "integer"
  15255. },
  15256. "applytime": {
  15257. "description": "申请时间",
  15258. "type": "string"
  15259. },
  15260. "auditid": {
  15261. "description": "审核人",
  15262. "type": "integer"
  15263. },
  15264. "auditname": {
  15265. "description": "审核人名称",
  15266. "type": "string"
  15267. },
  15268. "auditremark": {
  15269. "description": "审核备注",
  15270. "type": "string"
  15271. },
  15272. "auditsrc": {
  15273. "description": "审核来源 - 1:管理端 2:终端",
  15274. "type": "integer"
  15275. },
  15276. "audittime": {
  15277. "description": "审核时间",
  15278. "type": "string"
  15279. },
  15280. "audittradedate": {
  15281. "description": "审核交易日(yyyyMMdd)",
  15282. "type": "string"
  15283. },
  15284. "brandname": {
  15285. "description": "品牌名称",
  15286. "type": "string"
  15287. },
  15288. "buynickname": {
  15289. "description": "采购方昵称",
  15290. "type": "string"
  15291. },
  15292. "buyuserid": {
  15293. "description": "采购方userid",
  15294. "type": "integer"
  15295. },
  15296. "buyusername": {
  15297. "description": "采购方名称",
  15298. "type": "string"
  15299. },
  15300. "contractno": {
  15301. "description": "合同编号",
  15302. "type": "string"
  15303. },
  15304. "contractqty": {
  15305. "description": "合同量",
  15306. "type": "number"
  15307. },
  15308. "contracttype": {
  15309. "description": "现货合同类型 - 1:采购 -1:销售",
  15310. "type": "integer"
  15311. },
  15312. "deliverygoodscode": {
  15313. "description": "现货品种代码",
  15314. "type": "string"
  15315. },
  15316. "deliverygoodsid": {
  15317. "description": "现货品种id",
  15318. "type": "integer"
  15319. },
  15320. "deliverygoodsname": {
  15321. "description": "现货品种名称",
  15322. "type": "string"
  15323. },
  15324. "detailjson": {
  15325. "description": "明细数据",
  15326. "type": "string"
  15327. },
  15328. "enumdicname": {
  15329. "description": "现货商品单位名称",
  15330. "type": "string"
  15331. },
  15332. "inoutapplyid": {
  15333. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15334. "type": "string"
  15335. },
  15336. "inouttype": {
  15337. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15338. "type": "integer"
  15339. },
  15340. "pricetype": {
  15341. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15342. "type": "integer"
  15343. },
  15344. "qty": {
  15345. "description": "数量",
  15346. "type": "number"
  15347. },
  15348. "sellnickname": {
  15349. "description": "销售方昵称",
  15350. "type": "string"
  15351. },
  15352. "selluserid": {
  15353. "description": "销售方userid",
  15354. "type": "integer"
  15355. },
  15356. "sellusername": {
  15357. "description": "销售方名称",
  15358. "type": "string"
  15359. },
  15360. "spotcontractid": {
  15361. "description": "关联现货合同ID",
  15362. "type": "string"
  15363. },
  15364. "spotgoodsbrandid": {
  15365. "description": "现货品牌ID",
  15366. "type": "integer"
  15367. },
  15368. "unitid": {
  15369. "description": "单位id",
  15370. "type": "integer"
  15371. },
  15372. "userid": {
  15373. "description": "机构ID",
  15374. "type": "integer"
  15375. },
  15376. "warehousecode": {
  15377. "description": "仓库代码",
  15378. "type": "string"
  15379. },
  15380. "warehouseinfoid": {
  15381. "description": "现货仓库ID",
  15382. "type": "string"
  15383. },
  15384. "warehousename": {
  15385. "description": "仓库名称",
  15386. "type": "string"
  15387. },
  15388. "warehousetype": {
  15389. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15390. "type": "integer"
  15391. },
  15392. "wrstandardcode": {
  15393. "description": "品类代码",
  15394. "type": "string"
  15395. },
  15396. "wrstandardid": {
  15397. "description": "品类ID",
  15398. "type": "integer"
  15399. },
  15400. "wrstandardname": {
  15401. "description": "品类名称",
  15402. "type": "string"
  15403. }
  15404. }
  15405. },
  15406. "models.Ermcp3AreaStockApplySum": {
  15407. "type": "object",
  15408. "properties": {
  15409. "brandname": {
  15410. "description": "品牌名称",
  15411. "type": "string"
  15412. },
  15413. "inouttype": {
  15414. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15415. "type": "integer"
  15416. },
  15417. "spotcontractid": {
  15418. "description": "关联现货合同ID",
  15419. "type": "string"
  15420. },
  15421. "spotgoodsbrandid": {
  15422. "description": "品牌id",
  15423. "type": "integer"
  15424. },
  15425. "totalqty": {
  15426. "description": "总数量",
  15427. "type": "number"
  15428. },
  15429. "wrstandardid": {
  15430. "description": "品类id",
  15431. "type": "integer"
  15432. },
  15433. "wrstandardname": {
  15434. "description": "品类名称",
  15435. "type": "string"
  15436. }
  15437. }
  15438. },
  15439. "models.Ermcp3AreaStockReportEx": {
  15440. "type": "object",
  15441. "properties": {
  15442. "begindate": {
  15443. "description": "开始交易日",
  15444. "type": "string"
  15445. },
  15446. "brandname": {
  15447. "description": "品牌名称",
  15448. "type": "string"
  15449. },
  15450. "curstock": {
  15451. "description": "期末库存量",
  15452. "type": "number"
  15453. },
  15454. "cycletime": {
  15455. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15456. "type": "string"
  15457. },
  15458. "cycletype": {
  15459. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15460. "type": "integer"
  15461. },
  15462. "deliverygoodscode": {
  15463. "description": "现货品种代码",
  15464. "type": "string"
  15465. },
  15466. "deliverygoodsid": {
  15467. "description": "现货品种id",
  15468. "type": "integer"
  15469. },
  15470. "deliverygoodsname": {
  15471. "description": "现货品种名称",
  15472. "type": "string"
  15473. },
  15474. "diffqty": {
  15475. "description": "库存变化量 = 期末 - 期初",
  15476. "type": "number"
  15477. },
  15478. "enddate": {
  15479. "description": "结束交易日",
  15480. "type": "string"
  15481. },
  15482. "enumdicname": {
  15483. "description": "单位名称",
  15484. "type": "string"
  15485. },
  15486. "goodsunitid": {
  15487. "description": "现货单位id",
  15488. "type": "integer"
  15489. },
  15490. "oristock": {
  15491. "description": "期初库存量",
  15492. "type": "number"
  15493. },
  15494. "reckondate": {
  15495. "description": "日照时期(yyyyMMdd)",
  15496. "type": "string"
  15497. },
  15498. "spotgoodsbrandid": {
  15499. "description": "现货品牌ID",
  15500. "type": "integer"
  15501. },
  15502. "todaybuyinqty": {
  15503. "description": "今采购入库量",
  15504. "type": "number"
  15505. },
  15506. "todayproduceinqty": {
  15507. "description": "今内部入库量",
  15508. "type": "number"
  15509. },
  15510. "todayproduceoutqty": {
  15511. "description": "今内部出库量",
  15512. "type": "number"
  15513. },
  15514. "todayselloutqty": {
  15515. "description": "今销售出库量",
  15516. "type": "number"
  15517. },
  15518. "unbuyinqty": {
  15519. "description": "采购未入库量(数据库未找到相关字段?)",
  15520. "type": "number"
  15521. },
  15522. "unitid": {
  15523. "description": "品类单位id",
  15524. "type": "integer"
  15525. },
  15526. "unselloutqty": {
  15527. "description": "销售未出库量(数据库未找到相关字段?)",
  15528. "type": "number"
  15529. },
  15530. "updatetime": {
  15531. "description": "更新时间",
  15532. "type": "string"
  15533. },
  15534. "userid": {
  15535. "description": "机构ID",
  15536. "type": "integer"
  15537. },
  15538. "username": {
  15539. "description": "机构名称",
  15540. "type": "string"
  15541. },
  15542. "warehousecode": {
  15543. "description": "仓库代码",
  15544. "type": "string"
  15545. },
  15546. "warehouseinfoid": {
  15547. "description": "仓库ID",
  15548. "type": "string"
  15549. },
  15550. "warehousename": {
  15551. "description": "仓库名称",
  15552. "type": "string"
  15553. },
  15554. "warehousetype": {
  15555. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15556. "type": "integer"
  15557. },
  15558. "wrstandardcode": {
  15559. "description": "品类代码",
  15560. "type": "string"
  15561. },
  15562. "wrstandardid": {
  15563. "description": "品类ID",
  15564. "type": "integer"
  15565. },
  15566. "wrstandardname": {
  15567. "description": "品类名称",
  15568. "type": "string"
  15569. }
  15570. }
  15571. },
  15572. "models.Ermcp3ArealSumPL": {
  15573. "type": "object",
  15574. "properties": {
  15575. "accountname": {
  15576. "description": "机构名称",
  15577. "type": "string"
  15578. },
  15579. "areauserid": {
  15580. "description": "所属机构\\交易用户ID",
  15581. "type": "integer"
  15582. },
  15583. "begindate": {
  15584. "description": "开始交易日",
  15585. "type": "string"
  15586. },
  15587. "currencyid": {
  15588. "description": "结算币种ID",
  15589. "type": "integer"
  15590. },
  15591. "currencyname": {
  15592. "description": "币种名称",
  15593. "type": "string"
  15594. },
  15595. "cycletime": {
  15596. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15597. "type": "string"
  15598. },
  15599. "cycletype": {
  15600. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15601. "type": "integer"
  15602. },
  15603. "enddate": {
  15604. "description": "结束交易日",
  15605. "type": "string"
  15606. },
  15607. "enumdicname": {
  15608. "description": "单位名称(套保品种)",
  15609. "type": "string"
  15610. },
  15611. "futureactualpl": {
  15612. "description": "期货损益",
  15613. "type": "number"
  15614. },
  15615. "futurefloatpl": {
  15616. "description": "期货浮动损益",
  15617. "type": "number"
  15618. },
  15619. "goodsunitid": {
  15620. "description": "套保品种单位id",
  15621. "type": "integer"
  15622. },
  15623. "middlegoodscode": {
  15624. "description": "套保品种代码",
  15625. "type": "string"
  15626. },
  15627. "middlegoodsid": {
  15628. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15629. "type": "integer"
  15630. },
  15631. "middlegoodsname": {
  15632. "description": "套保品种名称",
  15633. "type": "string"
  15634. },
  15635. "reckondate": {
  15636. "description": "日照时期(yyyyMMdd)",
  15637. "type": "string"
  15638. },
  15639. "spotactualpl": {
  15640. "description": "现货损益",
  15641. "type": "number"
  15642. },
  15643. "spotfloatpl": {
  15644. "description": "现货浮动损益",
  15645. "type": "number"
  15646. },
  15647. "sumactualpl": {
  15648. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15649. "type": "number"
  15650. },
  15651. "sumpl": {
  15652. "description": "汇总损益",
  15653. "type": "number"
  15654. },
  15655. "updatetime": {
  15656. "description": "更新时间",
  15657. "type": "string"
  15658. }
  15659. }
  15660. },
  15661. "models.Ermcp3Brand": {
  15662. "type": "object",
  15663. "properties": {
  15664. "areauserid": {
  15665. "description": "用户id",
  15666. "type": "integer"
  15667. },
  15668. "brandid": {
  15669. "description": "品牌id",
  15670. "type": "integer"
  15671. },
  15672. "brandname": {
  15673. "description": "品牌名称",
  15674. "type": "string"
  15675. },
  15676. "deliverygoodsid": {
  15677. "description": "品种ID",
  15678. "type": "integer"
  15679. }
  15680. }
  15681. },
  15682. "models.Ermcp3Contract": {
  15683. "type": "object",
  15684. "properties": {
  15685. "accountid": {
  15686. "description": "期货账户id",
  15687. "type": "string"
  15688. },
  15689. "amount": {
  15690. "description": "金额 [1:一口价、3:暂定价]",
  15691. "type": "number"
  15692. },
  15693. "attachment": {
  15694. "description": "附件",
  15695. "type": "string"
  15696. },
  15697. "auditremark": {
  15698. "description": "审核意见",
  15699. "type": "string"
  15700. },
  15701. "audittime": {
  15702. "description": "审核时间",
  15703. "type": "string"
  15704. },
  15705. "biztype": {
  15706. "description": "业务类型 1-套保 2-套利",
  15707. "type": "integer"
  15708. },
  15709. "brandname": {
  15710. "description": "品牌名称",
  15711. "type": "string"
  15712. },
  15713. "buynickname": {
  15714. "description": "销售方昵称",
  15715. "type": "string"
  15716. },
  15717. "buyuserid": {
  15718. "description": "采购方ID",
  15719. "type": "integer"
  15720. },
  15721. "buyusername": {
  15722. "description": "采购方名称",
  15723. "type": "string"
  15724. },
  15725. "contracctstatus": {
  15726. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15727. "type": "integer"
  15728. },
  15729. "contractmargin": {
  15730. "description": "合同保证金",
  15731. "type": "number"
  15732. },
  15733. "contractno": {
  15734. "description": "现货合同编号",
  15735. "type": "string"
  15736. },
  15737. "contracttype": {
  15738. "description": "现货合同类型 - 1:采购 -1:销售",
  15739. "type": "integer"
  15740. },
  15741. "convertfactor": {
  15742. "description": "标仓系数(品类)",
  15743. "type": "number"
  15744. },
  15745. "createtime": {
  15746. "description": "创建时间",
  15747. "type": "string"
  15748. },
  15749. "currencyid": {
  15750. "description": "币种id",
  15751. "type": "integer"
  15752. },
  15753. "currencyname": {
  15754. "description": "币种名称",
  15755. "type": "string"
  15756. },
  15757. "deliveryenddate": {
  15758. "description": "交收期(结束)",
  15759. "type": "string"
  15760. },
  15761. "deliverygoodscode": {
  15762. "description": "现货品种代码",
  15763. "type": "string"
  15764. },
  15765. "deliverygoodsid": {
  15766. "description": "现货品种ID",
  15767. "type": "integer"
  15768. },
  15769. "deliverygoodsname": {
  15770. "description": "现货品种名称",
  15771. "type": "string"
  15772. },
  15773. "deliverystartdate": {
  15774. "description": "交收期(开始)",
  15775. "type": "string"
  15776. },
  15777. "enddate": {
  15778. "description": "点价结束日期 [2:点价 3:暂定价]",
  15779. "type": "string"
  15780. },
  15781. "enumdicname": {
  15782. "description": "单位名称",
  15783. "type": "string"
  15784. },
  15785. "goodscode": {
  15786. "description": "点价合约代码",
  15787. "type": "string"
  15788. },
  15789. "goodsid": {
  15790. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15791. "type": "integer"
  15792. },
  15793. "goodsname": {
  15794. "description": "点价商品名称",
  15795. "type": "string"
  15796. },
  15797. "margin": {
  15798. "description": "当前保证金",
  15799. "type": "number"
  15800. },
  15801. "meruserid": {
  15802. "description": "跟单员id",
  15803. "type": "integer"
  15804. },
  15805. "meruserlogincode": {
  15806. "description": "跟单员登录代码",
  15807. "type": "string"
  15808. },
  15809. "price": {
  15810. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15811. "type": "number"
  15812. },
  15813. "pricemove": {
  15814. "description": "升贴水 [2:点价 3:暂定价]",
  15815. "type": "number"
  15816. },
  15817. "pricetype": {
  15818. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15819. "type": "integer"
  15820. },
  15821. "producttype": {
  15822. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15823. "type": "integer"
  15824. },
  15825. "qty": {
  15826. "description": "数量",
  15827. "type": "number"
  15828. },
  15829. "remark": {
  15830. "description": "备注",
  15831. "type": "string"
  15832. },
  15833. "saleuserid": {
  15834. "description": "业务员id",
  15835. "type": "integer"
  15836. },
  15837. "saleuserlogincode": {
  15838. "description": "业务员登录代码",
  15839. "type": "string"
  15840. },
  15841. "sellnickname": {
  15842. "description": "采购方昵称",
  15843. "type": "string"
  15844. },
  15845. "selluserid": {
  15846. "description": "销售方ID",
  15847. "type": "integer"
  15848. },
  15849. "sellusername": {
  15850. "description": "销售方名称",
  15851. "type": "string"
  15852. },
  15853. "spotcontractid": {
  15854. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  15855. "type": "string"
  15856. },
  15857. "spotgoodsbrandid": {
  15858. "description": "现货品牌ID(DGFactoryItem表的ID)",
  15859. "type": "integer"
  15860. },
  15861. "spotgoodsdesc": {
  15862. "description": "商品型号",
  15863. "type": "string"
  15864. },
  15865. "startdate": {
  15866. "description": "点价开始日期 [2:点价 3:暂定价]",
  15867. "type": "string"
  15868. },
  15869. "tradeuserid": {
  15870. "description": "交易员id",
  15871. "type": "integer"
  15872. },
  15873. "tradeuserlogincode": {
  15874. "description": "交易员登录代码",
  15875. "type": "string"
  15876. },
  15877. "tradeusername": {
  15878. "description": "交易员名称",
  15879. "type": "string"
  15880. },
  15881. "unitid": {
  15882. "description": "单位id(取品类上的单位id)",
  15883. "type": "integer"
  15884. },
  15885. "updatetime": {
  15886. "description": "更新时间",
  15887. "type": "string"
  15888. },
  15889. "userid": {
  15890. "description": "所属机构ID",
  15891. "type": "integer"
  15892. },
  15893. "wrstandardcode": {
  15894. "description": "品类代码",
  15895. "type": "string"
  15896. },
  15897. "wrstandardid": {
  15898. "description": "品类ID",
  15899. "type": "integer"
  15900. },
  15901. "wrstandardname": {
  15902. "description": "品类名称",
  15903. "type": "string"
  15904. }
  15905. }
  15906. },
  15907. "models.Ermcp3ExposureContractDetail": {
  15908. "type": "object",
  15909. "properties": {
  15910. "biztype": {
  15911. "description": "业务类型 1-套保 2-套利",
  15912. "type": "integer"
  15913. },
  15914. "brandname": {
  15915. "description": "品牌名称",
  15916. "type": "string"
  15917. },
  15918. "buyuserid": {
  15919. "description": "采购方id",
  15920. "type": "integer"
  15921. },
  15922. "buyusername": {
  15923. "description": "采购方名称",
  15924. "type": "string"
  15925. },
  15926. "contractno": {
  15927. "description": "合同编号",
  15928. "type": "string"
  15929. },
  15930. "contracttype": {
  15931. "description": "现货合同类型 - 1:采购 -1:销售",
  15932. "type": "integer"
  15933. },
  15934. "convertfactor": {
  15935. "description": "标仓系数",
  15936. "type": "number"
  15937. },
  15938. "convertratio": {
  15939. "description": "折算系数(套保品种)",
  15940. "type": "number"
  15941. },
  15942. "curqty": {
  15943. "description": "今定价量",
  15944. "type": "number"
  15945. },
  15946. "deliverygoodscode": {
  15947. "description": "现货商品代码",
  15948. "type": "string"
  15949. },
  15950. "deliverygoodsid": {
  15951. "description": "现货商品id",
  15952. "type": "integer"
  15953. },
  15954. "deliverygoodsname": {
  15955. "description": "现货商品名称",
  15956. "type": "string"
  15957. },
  15958. "diffhedgeqty": {
  15959. "description": "套保变动量",
  15960. "type": "number"
  15961. },
  15962. "diffneedhedgeqty": {
  15963. "description": "应套保变动量",
  15964. "type": "number"
  15965. },
  15966. "diffqty": {
  15967. "description": "套保品种今变动量",
  15968. "type": "number"
  15969. },
  15970. "enumdicname": {
  15971. "description": "单位名称",
  15972. "type": "string"
  15973. },
  15974. "middlegoodscode": {
  15975. "description": "套保品种代码",
  15976. "type": "string"
  15977. },
  15978. "middlegoodsid": {
  15979. "description": "套保品种id",
  15980. "type": "integer"
  15981. },
  15982. "middlegoodsname": {
  15983. "description": "套保品种名称",
  15984. "type": "string"
  15985. },
  15986. "needarbitrageratio": {
  15987. "description": "应套利比例",
  15988. "type": "number"
  15989. },
  15990. "needhedgeratio": {
  15991. "description": "应套保比例",
  15992. "type": "number"
  15993. },
  15994. "pricedqty": {
  15995. "description": "已定价量",
  15996. "type": "number"
  15997. },
  15998. "qty": {
  15999. "description": "合同量",
  16000. "type": "number"
  16001. },
  16002. "selluserid": {
  16003. "description": "销售方id",
  16004. "type": "integer"
  16005. },
  16006. "sellusername": {
  16007. "description": "销售方名称",
  16008. "type": "string"
  16009. },
  16010. "spotcontractid": {
  16011. "description": "合同id",
  16012. "type": "string"
  16013. },
  16014. "todaypricedqty": {
  16015. "description": "今定价量",
  16016. "type": "number"
  16017. },
  16018. "tradedate": {
  16019. "description": "交易日",
  16020. "type": "string"
  16021. },
  16022. "unitid": {
  16023. "description": "品类单位id",
  16024. "type": "integer"
  16025. },
  16026. "userid": {
  16027. "description": "机构id",
  16028. "type": "integer"
  16029. },
  16030. "wrstandardcode": {
  16031. "description": "品类代码",
  16032. "type": "string"
  16033. },
  16034. "wrstandardid": {
  16035. "description": "品类id",
  16036. "type": "integer"
  16037. },
  16038. "wrstandardname": {
  16039. "description": "品类名称",
  16040. "type": "string"
  16041. }
  16042. }
  16043. },
  16044. "models.Ermcp3ExposureDetail": {
  16045. "type": "object",
  16046. "properties": {
  16047. "areauserid": {
  16048. "description": "机构ID",
  16049. "type": "integer"
  16050. },
  16051. "changeQty": {
  16052. "description": "套保变动量",
  16053. "type": "number"
  16054. },
  16055. "contracttype": {
  16056. "description": "现货合同类型 - 1:采购 -1:销售",
  16057. "type": "integer"
  16058. },
  16059. "convertfactor": {
  16060. "description": "标仓系数",
  16061. "type": "number"
  16062. },
  16063. "convertratio": {
  16064. "description": "套保系数",
  16065. "type": "number"
  16066. },
  16067. "createtime": {
  16068. "description": "时间",
  16069. "type": "string"
  16070. },
  16071. "deliverygoodscode": {
  16072. "description": "现货品种代码",
  16073. "type": "string"
  16074. },
  16075. "deliverygoodsid": {
  16076. "description": "现货品种id",
  16077. "type": "integer"
  16078. },
  16079. "deliverygoodsname": {
  16080. "description": "现货品种名称",
  16081. "type": "string"
  16082. },
  16083. "enumdicname": {
  16084. "description": "现货商品单位名称",
  16085. "type": "string"
  16086. },
  16087. "logtype": {
  16088. "description": "类型 - 1:套保计划 2:现货合同",
  16089. "type": "integer"
  16090. },
  16091. "mgunitid": {
  16092. "description": "套保品种单位id",
  16093. "type": "integer"
  16094. },
  16095. "mgunitidname": {
  16096. "description": "套保品种单位名称",
  16097. "type": "string"
  16098. },
  16099. "middlegoodsId": {
  16100. "description": "套保商品id",
  16101. "type": "integer"
  16102. },
  16103. "middlegoodscode": {
  16104. "description": "套保商品代码",
  16105. "type": "string"
  16106. },
  16107. "middlegoodsname": {
  16108. "description": "套保商品名称",
  16109. "type": "string"
  16110. },
  16111. "qty": {
  16112. "description": "数量",
  16113. "type": "number"
  16114. },
  16115. "relateNo": {
  16116. "description": "现货合同/套保计划编号",
  16117. "type": "string"
  16118. }
  16119. }
  16120. },
  16121. "models.Ermcp3ExposureFutuDetail": {
  16122. "type": "object",
  16123. "properties": {
  16124. "accountid": {
  16125. "description": "交易账户id",
  16126. "type": "integer"
  16127. },
  16128. "accountname": {
  16129. "description": "交易账户",
  16130. "type": "string"
  16131. },
  16132. "begindate": {
  16133. "description": "开始交易日",
  16134. "type": "string"
  16135. },
  16136. "buyorsell": {
  16137. "description": "方向 0-买 1-卖",
  16138. "type": "integer"
  16139. },
  16140. "diffmgqty": {
  16141. "description": "套保品种今变化量",
  16142. "type": "number"
  16143. },
  16144. "diffneedqty": {
  16145. "description": "应套保总量变化量",
  16146. "type": "number"
  16147. },
  16148. "difftradeqty": {
  16149. "description": "交易品种今变化量",
  16150. "type": "number"
  16151. },
  16152. "enddate": {
  16153. "description": "结束交易日",
  16154. "type": "string"
  16155. },
  16156. "enumdicname": {
  16157. "description": "单位名称",
  16158. "type": "string"
  16159. },
  16160. "goodscode": {
  16161. "description": "商品代码",
  16162. "type": "string"
  16163. },
  16164. "goodsid": {
  16165. "description": "商品id",
  16166. "type": "integer"
  16167. },
  16168. "goodsname": {
  16169. "description": "商品名称",
  16170. "type": "string"
  16171. },
  16172. "holdqty": {
  16173. "description": "期末持仓量",
  16174. "type": "number"
  16175. },
  16176. "middlegoodscode": {
  16177. "description": "套保商品代码",
  16178. "type": "string"
  16179. },
  16180. "middlegoodsid": {
  16181. "description": "套保商品id",
  16182. "type": "integer"
  16183. },
  16184. "middlegoodsname": {
  16185. "description": "套保商品名称",
  16186. "type": "string"
  16187. },
  16188. "oriholdqty": {
  16189. "description": "期初持仓量",
  16190. "type": "number"
  16191. },
  16192. "todaycloseqty": {
  16193. "description": "今平仓量",
  16194. "type": "number"
  16195. },
  16196. "todayopenqty": {
  16197. "description": "今开仓量",
  16198. "type": "number"
  16199. },
  16200. "tradedate": {
  16201. "description": "交易日",
  16202. "type": "string"
  16203. }
  16204. }
  16205. },
  16206. "models.Ermcp3ExposureHedgeplanDetail": {
  16207. "type": "object",
  16208. "properties": {
  16209. "biztype": {
  16210. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16211. "type": "integer"
  16212. },
  16213. "changqty": {
  16214. "description": "应套保总量变化量",
  16215. "type": "number"
  16216. },
  16217. "contracttype": {
  16218. "description": "计划类型 - 1:采购 -1:销售",
  16219. "type": "integer"
  16220. },
  16221. "convertratio": {
  16222. "description": "折算系数(套保品种)",
  16223. "type": "number"
  16224. },
  16225. "deliverygoodscode": {
  16226. "description": "现货商品代码",
  16227. "type": "string"
  16228. },
  16229. "deliverygoodsid": {
  16230. "description": "现货商品id",
  16231. "type": "integer"
  16232. },
  16233. "deliverygoodsname": {
  16234. "description": "现货商吕名称",
  16235. "type": "string"
  16236. },
  16237. "dgunitid": {
  16238. "description": "现货商品单位id",
  16239. "type": "integer"
  16240. },
  16241. "dgunitidname": {
  16242. "description": "单位名称(现货商品)",
  16243. "type": "string"
  16244. },
  16245. "diffqty": {
  16246. "description": "套保品种今变动量",
  16247. "type": "number"
  16248. },
  16249. "enumdicname": {
  16250. "description": "单位名称(品类)",
  16251. "type": "string"
  16252. },
  16253. "hedgeplanid": {
  16254. "description": "套保计划id",
  16255. "type": "string"
  16256. },
  16257. "hedgeplanno": {
  16258. "description": "套保计划名称",
  16259. "type": "string"
  16260. },
  16261. "hedgeplanstatus": {
  16262. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16263. "type": "integer"
  16264. },
  16265. "mgunitidname": {
  16266. "description": "单位名称(套保商品)",
  16267. "type": "string"
  16268. },
  16269. "middlegoodscode": {
  16270. "description": "套保品种代码",
  16271. "type": "string"
  16272. },
  16273. "middlegoodsid": {
  16274. "description": "套保品种id",
  16275. "type": "integer"
  16276. },
  16277. "middlegoodsname": {
  16278. "description": "套保品种名称",
  16279. "type": "string"
  16280. },
  16281. "needarbitrageratio": {
  16282. "description": "应套利比例",
  16283. "type": "number"
  16284. },
  16285. "needhedgeratio": {
  16286. "description": "应套保比例",
  16287. "type": "number"
  16288. },
  16289. "pricedqty": {
  16290. "description": "已定价量",
  16291. "type": "number"
  16292. },
  16293. "qty": {
  16294. "description": "合同量",
  16295. "type": "number"
  16296. },
  16297. "tradedate": {
  16298. "description": "交易日(登记日)",
  16299. "type": "string"
  16300. },
  16301. "unitid": {
  16302. "description": "品类单位id",
  16303. "type": "integer"
  16304. },
  16305. "userid": {
  16306. "description": "机构id",
  16307. "type": "integer"
  16308. },
  16309. "wrstandardcode": {
  16310. "description": "品类代码",
  16311. "type": "string"
  16312. },
  16313. "wrstandardid": {
  16314. "description": "品类id",
  16315. "type": "integer"
  16316. },
  16317. "wrstandardname": {
  16318. "description": "品类名称",
  16319. "type": "string"
  16320. }
  16321. }
  16322. },
  16323. "models.Ermcp3ExposureParamChLog": {
  16324. "type": "object",
  16325. "properties": {
  16326. "accountid": {
  16327. "description": "期货账户ID (作废, 默认为0)",
  16328. "type": "integer"
  16329. },
  16330. "aftervalue": {
  16331. "description": "应套保\\套利量变更后(调整后应套保总量)",
  16332. "type": "number"
  16333. },
  16334. "areauserid": {
  16335. "description": "所属机构\\交易用户ID",
  16336. "type": "integer"
  16337. },
  16338. "beforevalue": {
  16339. "description": "应套保\\套利量变更前(调整前应套保总量)",
  16340. "type": "number"
  16341. },
  16342. "begindate": {
  16343. "description": "开始交易日",
  16344. "type": "string"
  16345. },
  16346. "changelogtype": {
  16347. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  16348. "type": "integer"
  16349. },
  16350. "curvalue": {
  16351. "description": "当前套保\\套利量(套保总量|套利总量)",
  16352. "type": "number"
  16353. },
  16354. "diffvalue": {
  16355. "description": "应套保总量变化量",
  16356. "type": "number"
  16357. },
  16358. "enddate": {
  16359. "description": "结束交易日",
  16360. "type": "string"
  16361. },
  16362. "logdatetime": {
  16363. "description": "流水日期",
  16364. "type": "string"
  16365. },
  16366. "logid": {
  16367. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  16368. "type": "string"
  16369. },
  16370. "middlegoodscode": {
  16371. "description": "套保品种代码",
  16372. "type": "string"
  16373. },
  16374. "middlegoodsid": {
  16375. "description": "套保品种",
  16376. "type": "integer"
  16377. },
  16378. "middlegoodsname": {
  16379. "description": "套保品种名称",
  16380. "type": "string"
  16381. },
  16382. "paramaftervalue": {
  16383. "description": "参数变更后(调整后参数值)",
  16384. "type": "number"
  16385. },
  16386. "parambeforevalue": {
  16387. "description": "参数变更前(调整前参数值)",
  16388. "type": "number"
  16389. },
  16390. "tradedate": {
  16391. "description": "交易日(yyyyMMdd)",
  16392. "type": "string"
  16393. }
  16394. }
  16395. },
  16396. "models.Ermcp3ExpourseReport": {
  16397. "type": "object",
  16398. "properties": {
  16399. "accountid": {
  16400. "description": "期货账户ID (作废, 默认为0)",
  16401. "type": "integer"
  16402. },
  16403. "accountname": {
  16404. "description": "机构名称",
  16405. "type": "string"
  16406. },
  16407. "arbitrageqty": {
  16408. "description": "套利量",
  16409. "type": "number"
  16410. },
  16411. "areauserid": {
  16412. "description": "所属机构\\交易用户ID",
  16413. "type": "integer"
  16414. },
  16415. "begindate": {
  16416. "description": "开始交易日",
  16417. "type": "string"
  16418. },
  16419. "buyfutureqty": {
  16420. "description": "买入期货数量",
  16421. "type": "number"
  16422. },
  16423. "buyplanqty": {
  16424. "description": "采购计划数量",
  16425. "type": "number"
  16426. },
  16427. "buypricedqty": {
  16428. "description": "采购合同已定价数量",
  16429. "type": "number"
  16430. },
  16431. "cycletime": {
  16432. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16433. "type": "string"
  16434. },
  16435. "cycletype": {
  16436. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16437. "type": "integer"
  16438. },
  16439. "diffexposure": {
  16440. "description": "变动量(套保敞口)",
  16441. "type": "number"
  16442. },
  16443. "difffutuqty": {
  16444. "description": "变动量(期货)",
  16445. "type": "number"
  16446. },
  16447. "diffhedgeqty": {
  16448. "description": "变动量(现货应套保总量)",
  16449. "type": "number"
  16450. },
  16451. "diffmgqtya": {
  16452. "description": "套保变动量",
  16453. "type": "number"
  16454. },
  16455. "diffmgqtyb": {
  16456. "description": "套利变动量",
  16457. "type": "number"
  16458. },
  16459. "diffqty": {
  16460. "description": "变动量(总敞口)",
  16461. "type": "number"
  16462. },
  16463. "diffspotqty": {
  16464. "description": "变动量(现货)",
  16465. "type": "number"
  16466. },
  16467. "enddate": {
  16468. "description": "结束交易日",
  16469. "type": "string"
  16470. },
  16471. "enumdicname": {
  16472. "description": "单位名称",
  16473. "type": "string"
  16474. },
  16475. "hedgeqty": {
  16476. "description": "套保量",
  16477. "type": "number"
  16478. },
  16479. "mgneedhedgeratio": {
  16480. "description": "套保比例(套保品的)",
  16481. "type": "number"
  16482. },
  16483. "middlegoodsid": {
  16484. "description": "套保品种ID",
  16485. "type": "integer"
  16486. },
  16487. "middlegoodsname": {
  16488. "description": "套保商品名称",
  16489. "type": "string"
  16490. },
  16491. "middlgoodscode": {
  16492. "description": "套保商品代码",
  16493. "type": "string"
  16494. },
  16495. "needarbitrageqty": {
  16496. "description": "应套利量",
  16497. "type": "number"
  16498. },
  16499. "needarbitrageratio": {
  16500. "description": "套利比例(套保品的)",
  16501. "type": "number"
  16502. },
  16503. "needhedgeexposoure": {
  16504. "description": "应套保敞口(套保敞口)",
  16505. "type": "number"
  16506. },
  16507. "needhedgeqty": {
  16508. "description": "应套保量",
  16509. "type": "number"
  16510. },
  16511. "needhedgeratio": {
  16512. "description": "应套保敞口比例",
  16513. "type": "number"
  16514. },
  16515. "oriarbitrageqty": {
  16516. "description": "期初套利量",
  16517. "type": "number"
  16518. },
  16519. "oribuyfutureqty": {
  16520. "description": "期初买入期货数量",
  16521. "type": "number"
  16522. },
  16523. "oribuyplanqty": {
  16524. "description": "期初采购计划数量",
  16525. "type": "number"
  16526. },
  16527. "oribuypricedqty": {
  16528. "description": "期初采购合同已定价数量",
  16529. "type": "number"
  16530. },
  16531. "orihedgeqty": {
  16532. "description": "期初套保量",
  16533. "type": "number"
  16534. },
  16535. "orineedarbitrageqty": {
  16536. "description": "期初应套利量",
  16537. "type": "number"
  16538. },
  16539. "orineedhedgeexposoure": {
  16540. "description": "期初应套保敞口",
  16541. "type": "number"
  16542. },
  16543. "orineedhedgeqty": {
  16544. "description": "期初应套保量",
  16545. "type": "number"
  16546. },
  16547. "orisellfutureqty": {
  16548. "description": "期初卖出期货数量",
  16549. "type": "number"
  16550. },
  16551. "orisellplanqty": {
  16552. "description": "期初销售计划数量",
  16553. "type": "number"
  16554. },
  16555. "orisellpricedqty": {
  16556. "description": "期初销售合同已定价数量",
  16557. "type": "number"
  16558. },
  16559. "oritotalexposure": {
  16560. "description": "期初实时总敞口",
  16561. "type": "number"
  16562. },
  16563. "oritotalfutureqty": {
  16564. "description": "期初期货头寸总量",
  16565. "type": "number"
  16566. },
  16567. "oritotalneedhedgeqty": {
  16568. "description": "期初应套保总量",
  16569. "type": "number"
  16570. },
  16571. "oritotalspotqty": {
  16572. "description": "期初现货头寸总量",
  16573. "type": "number"
  16574. },
  16575. "reckondate": {
  16576. "description": "日照时期(yyyyMMdd)",
  16577. "type": "string"
  16578. },
  16579. "sellfutureqty": {
  16580. "description": "卖出期货数量",
  16581. "type": "number"
  16582. },
  16583. "sellplanqty": {
  16584. "description": "销售计划数量",
  16585. "type": "number"
  16586. },
  16587. "sellpricedqty": {
  16588. "description": "销售合同已定价数量",
  16589. "type": "number"
  16590. },
  16591. "totalexposure": {
  16592. "description": "实时总敞口(总敞口)",
  16593. "type": "number"
  16594. },
  16595. "totalfutureqty": {
  16596. "description": "期货头寸总量(期货总量)",
  16597. "type": "number"
  16598. },
  16599. "totalhedgeratio": {
  16600. "description": "敞口比例",
  16601. "type": "number"
  16602. },
  16603. "totalneedhedgeqty": {
  16604. "description": "应套保总量(现货应套保总量)",
  16605. "type": "number"
  16606. },
  16607. "totalspotqty": {
  16608. "description": "现货头寸总量",
  16609. "type": "number"
  16610. },
  16611. "unitid": {
  16612. "description": "单位id",
  16613. "type": "integer"
  16614. },
  16615. "updatetime": {
  16616. "description": "更新时间",
  16617. "type": "string"
  16618. }
  16619. }
  16620. },
  16621. "models.Ermcp3FinanceReport": {
  16622. "type": "object",
  16623. "properties": {
  16624. "accountname": {
  16625. "description": "机构名称",
  16626. "type": "string"
  16627. },
  16628. "areauserid": {
  16629. "description": "所属机构\\交易用户ID",
  16630. "type": "integer"
  16631. },
  16632. "begindate": {
  16633. "description": "开始交易日",
  16634. "type": "string"
  16635. },
  16636. "biztype": {
  16637. "description": "业务类型 - 1:套保 2:套利",
  16638. "type": "integer"
  16639. },
  16640. "brandname": {
  16641. "description": "品牌名称",
  16642. "type": "string"
  16643. },
  16644. "buypreinvoicedamount": {
  16645. "description": "采购预收票额(预收票额)",
  16646. "type": "number"
  16647. },
  16648. "buyprepaidamount": {
  16649. "description": "采购预付款额(预付货款额)",
  16650. "type": "number"
  16651. },
  16652. "buytodayinvoiceamount": {
  16653. "description": "采购今收票额(今收票额)",
  16654. "type": "number"
  16655. },
  16656. "buytodayrefundamount": {
  16657. "description": "采购今收退款额(今收退款额)",
  16658. "type": "number"
  16659. },
  16660. "buytodaysettleamount": {
  16661. "description": "采购今付款额(今付货款额)",
  16662. "type": "number"
  16663. },
  16664. "buyuninvoicedamount": {
  16665. "description": "采购应收票额(应收票额)",
  16666. "type": "number"
  16667. },
  16668. "buyunpaidamount": {
  16669. "description": "采购应付款额(应付货款额)",
  16670. "type": "number"
  16671. },
  16672. "currencyid": {
  16673. "description": "结算币种ID",
  16674. "type": "integer"
  16675. },
  16676. "currencyname": {
  16677. "description": "币种名称",
  16678. "type": "string"
  16679. },
  16680. "cycletime": {
  16681. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16682. "type": "string"
  16683. },
  16684. "cycletype": {
  16685. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16686. "type": "integer"
  16687. },
  16688. "deliverygoodscode": {
  16689. "description": "现货品种代码",
  16690. "type": "string"
  16691. },
  16692. "deliverygoodsid": {
  16693. "description": "现货品种ID",
  16694. "type": "integer"
  16695. },
  16696. "deliverygoodsname": {
  16697. "description": "现货品种名称",
  16698. "type": "string"
  16699. },
  16700. "enddate": {
  16701. "description": "结束交易日",
  16702. "type": "string"
  16703. },
  16704. "reckondate": {
  16705. "description": "日照时期(yyyyMMdd)",
  16706. "type": "string"
  16707. },
  16708. "sellpreinvoicedamount": {
  16709. "description": "销售预开票额(预开票额)",
  16710. "type": "number"
  16711. },
  16712. "sellprepaidamount": {
  16713. "description": "销售预收款额(预收货款额)",
  16714. "type": "number"
  16715. },
  16716. "selltodayinvoiceamount": {
  16717. "description": "销售今开票额(今开票额)",
  16718. "type": "number"
  16719. },
  16720. "selltodayrefundamount": {
  16721. "description": "销售今付退款额(今付退款额)",
  16722. "type": "number"
  16723. },
  16724. "selltodaysettleamount": {
  16725. "description": "销售今收款额(今收货款额)",
  16726. "type": "number"
  16727. },
  16728. "selluninvoicedamount": {
  16729. "description": "销售应开票额(应开票额)",
  16730. "type": "number"
  16731. },
  16732. "sellunpaidamount": {
  16733. "description": "销售应收款额(应收货款额)",
  16734. "type": "number"
  16735. },
  16736. "spotgoodsbrandid": {
  16737. "description": "现货品牌ID",
  16738. "type": "integer"
  16739. },
  16740. "todaypaysum": {
  16741. "description": "今付款合计",
  16742. "type": "number"
  16743. },
  16744. "todayreceivesum": {
  16745. "description": "今收款合计",
  16746. "type": "number"
  16747. },
  16748. "updatetime": {
  16749. "description": "更新时间",
  16750. "type": "string"
  16751. },
  16752. "wrfactortypeid": {
  16753. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16754. "type": "integer"
  16755. },
  16756. "wrstandardcode": {
  16757. "description": "品类代码",
  16758. "type": "string"
  16759. },
  16760. "wrstandardid": {
  16761. "description": "现货商品ID",
  16762. "type": "integer"
  16763. },
  16764. "wrstandardname": {
  16765. "description": "品类名称",
  16766. "type": "string"
  16767. }
  16768. }
  16769. },
  16770. "models.Ermcp3Goods": {
  16771. "type": "object",
  16772. "properties": {
  16773. "agreeunit": {
  16774. "description": "合约单位(合约乘数)",
  16775. "type": "number"
  16776. },
  16777. "enumdicname": {
  16778. "description": "单位名称",
  16779. "type": "string"
  16780. },
  16781. "exexchangecode": {
  16782. "description": "交易所代码",
  16783. "type": "string"
  16784. },
  16785. "goodscode": {
  16786. "description": "期货商品代码",
  16787. "type": "string"
  16788. },
  16789. "goodsid": {
  16790. "description": "期货商品id",
  16791. "type": "integer"
  16792. },
  16793. "goodsname": {
  16794. "description": "期货商品名称",
  16795. "type": "string"
  16796. }
  16797. }
  16798. },
  16799. "models.Ermcp3GoodsGroup": {
  16800. "type": "object",
  16801. "required": [
  16802. "areauserid"
  16803. ],
  16804. "properties": {
  16805. "agreeunit": {
  16806. "description": "合约单位",
  16807. "type": "number"
  16808. },
  16809. "areauserid": {
  16810. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16811. "type": "integer"
  16812. },
  16813. "canshort": {
  16814. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16815. "type": "integer"
  16816. },
  16817. "closepricemode": {
  16818. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16819. "type": "integer"
  16820. },
  16821. "createtime": {
  16822. "description": "创建时间",
  16823. "type": "string"
  16824. },
  16825. "creatorid": {
  16826. "description": "创建人",
  16827. "type": "integer"
  16828. },
  16829. "currencyid": {
  16830. "description": "报价货币ID",
  16831. "type": "integer"
  16832. },
  16833. "decimalplace": {
  16834. "description": "报价小数位",
  16835. "type": "integer"
  16836. },
  16837. "enumdicname": {
  16838. "description": "单位名称",
  16839. "type": "string"
  16840. },
  16841. "exchangefullname": {
  16842. "description": "交易所全称",
  16843. "type": "string"
  16844. },
  16845. "excludecfg": {
  16846. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  16847. "type": "integer"
  16848. },
  16849. "exexchangecode": {
  16850. "description": "交易所代码",
  16851. "type": "string"
  16852. },
  16853. "exexchangeid": {
  16854. "description": "外部交易所ID[通道交易]",
  16855. "type": "integer"
  16856. },
  16857. "exexchangename": {
  16858. "description": "交易所名称",
  16859. "type": "string"
  16860. },
  16861. "goodsgroupid": {
  16862. "description": "商品组ID(自增ID)",
  16863. "type": "integer"
  16864. },
  16865. "goodsgroupname": {
  16866. "description": "商品组名称",
  16867. "type": "string"
  16868. },
  16869. "goodsgroupstatus": {
  16870. "description": "商品组状态 - 1:正常 2:注销",
  16871. "type": "integer"
  16872. },
  16873. "goodunitid": {
  16874. "description": "报价单位ID",
  16875. "type": "integer"
  16876. },
  16877. "groupcategroyid": {
  16878. "description": "品种分类ID",
  16879. "type": "integer"
  16880. },
  16881. "innerdealmode": {
  16882. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16883. "type": "integer"
  16884. },
  16885. "marketid": {
  16886. "description": "所属市场ID",
  16887. "type": "integer"
  16888. },
  16889. "modifierid": {
  16890. "description": "修改人",
  16891. "type": "integer"
  16892. },
  16893. "modifytime": {
  16894. "description": "修改时间",
  16895. "type": "string"
  16896. },
  16897. "outerdealmode": {
  16898. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16899. "type": "integer"
  16900. },
  16901. "outergroupcode": {
  16902. "description": "外部商品组代码[通道交易]",
  16903. "type": "string"
  16904. },
  16905. "quoteminunit": {
  16906. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16907. "type": "integer"
  16908. },
  16909. "quotesourcegroupid": {
  16910. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16911. "type": "integer"
  16912. },
  16913. "syncgoodsqty": {
  16914. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16915. "type": "integer"
  16916. }
  16917. }
  16918. },
  16919. "models.Ermcp3GoodsGroupEx": {
  16920. "type": "object",
  16921. "properties": {
  16922. "convertratio": {
  16923. "description": "折算系数(品种系数)",
  16924. "type": "number"
  16925. },
  16926. "enumdicname": {
  16927. "description": "单位名称",
  16928. "type": "string"
  16929. },
  16930. "exexchangecode": {
  16931. "description": "交易所代码",
  16932. "type": "string"
  16933. },
  16934. "glist": {
  16935. "description": "合约列表",
  16936. "type": "array",
  16937. "items": {
  16938. "$ref": "#/definitions/models.Ermcp3Goods"
  16939. }
  16940. },
  16941. "goodsgroupid": {
  16942. "description": "商品组id",
  16943. "type": "integer"
  16944. },
  16945. "goodsgroupname": {
  16946. "description": "商品组名称",
  16947. "type": "string"
  16948. },
  16949. "goodsunitid": {
  16950. "description": "单位id",
  16951. "type": "integer"
  16952. },
  16953. "middlegoodsid": {
  16954. "description": "套保商品id",
  16955. "type": "integer"
  16956. }
  16957. }
  16958. },
  16959. "models.Ermcp3HedgePlan": {
  16960. "type": "object",
  16961. "properties": {
  16962. "accountid": {
  16963. "description": "资金账号",
  16964. "type": "integer"
  16965. },
  16966. "areauserid": {
  16967. "description": "用户ID",
  16968. "type": "integer"
  16969. },
  16970. "audittime": {
  16971. "description": "审核时间",
  16972. "type": "string"
  16973. },
  16974. "contracttype": {
  16975. "description": "计划类型 - 1:采购 -1:销售",
  16976. "type": "integer"
  16977. },
  16978. "convertfactor": {
  16979. "description": "标仓系数",
  16980. "type": "number"
  16981. },
  16982. "createtime": {
  16983. "description": "创建时间",
  16984. "type": "string"
  16985. },
  16986. "currencyid": {
  16987. "description": "币种id",
  16988. "type": "integer"
  16989. },
  16990. "currencyname": {
  16991. "description": "币种名称",
  16992. "type": "string"
  16993. },
  16994. "deliverygoodscode": {
  16995. "description": "现货品种代码",
  16996. "type": "string"
  16997. },
  16998. "deliverygoodsid": {
  16999. "description": "现货品种ID",
  17000. "type": "integer"
  17001. },
  17002. "deliverygoodsname": {
  17003. "description": "现货品种名称",
  17004. "type": "string"
  17005. },
  17006. "enumdicname": {
  17007. "description": "单位名称(现货商品)",
  17008. "type": "string"
  17009. },
  17010. "hedgeplanid": {
  17011. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17012. "type": "string"
  17013. },
  17014. "hedgeplanno": {
  17015. "description": "套保计划编号(名称)",
  17016. "type": "string"
  17017. },
  17018. "hedgeplanstatus": {
  17019. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17020. "type": "integer"
  17021. },
  17022. "planqty": {
  17023. "description": "计划数量",
  17024. "type": "number"
  17025. },
  17026. "plantime": {
  17027. "description": "计划时间",
  17028. "type": "string"
  17029. },
  17030. "producttype": {
  17031. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17032. "type": "integer"
  17033. },
  17034. "remark": {
  17035. "description": "备注",
  17036. "type": "string"
  17037. },
  17038. "spotgoodsdesc": {
  17039. "description": "商品型号",
  17040. "type": "string"
  17041. },
  17042. "taaccountname": {
  17043. "description": "资金账号名称",
  17044. "type": "string"
  17045. },
  17046. "tradeuserid": {
  17047. "description": "交易用户id",
  17048. "type": "integer"
  17049. },
  17050. "tradeusername": {
  17051. "description": "交易用户名称",
  17052. "type": "string"
  17053. },
  17054. "unitid": {
  17055. "description": "单位id(现货商品)",
  17056. "type": "integer"
  17057. },
  17058. "updatetime": {
  17059. "description": "更新时间",
  17060. "type": "string"
  17061. },
  17062. "wrstandardcode": {
  17063. "description": "品类代码",
  17064. "type": "string"
  17065. },
  17066. "wrstandardid": {
  17067. "description": "品类id",
  17068. "type": "integer"
  17069. },
  17070. "wrstandardname": {
  17071. "description": "品类名称",
  17072. "type": "string"
  17073. },
  17074. "wrunitid": {
  17075. "description": "品类单位id",
  17076. "type": "integer"
  17077. },
  17078. "wrunitidame": {
  17079. "description": "品类单位名称",
  17080. "type": "string"
  17081. }
  17082. }
  17083. },
  17084. "models.Ermcp3MiddleGoodsDetail2": {
  17085. "type": "object",
  17086. "properties": {
  17087. "convertratio": {
  17088. "description": "套保系数(折算系数)",
  17089. "type": "number"
  17090. },
  17091. "gplist": {
  17092. "description": "关联商品组列表",
  17093. "type": "array",
  17094. "items": {
  17095. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17096. }
  17097. },
  17098. "mg": {
  17099. "description": "套保商品信息",
  17100. "type": "object",
  17101. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17102. }
  17103. }
  17104. },
  17105. "models.Ermcp3MiddleGoodsDetailEx": {
  17106. "type": "object",
  17107. "properties": {
  17108. "dglist": {
  17109. "description": "关联的现货品种列表",
  17110. "type": "array",
  17111. "items": {
  17112. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17113. }
  17114. },
  17115. "gplist": {
  17116. "description": "关联商品组列表",
  17117. "type": "array",
  17118. "items": {
  17119. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17120. }
  17121. },
  17122. "mg": {
  17123. "description": "套保商品信息",
  17124. "type": "object",
  17125. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17126. }
  17127. }
  17128. },
  17129. "models.Ermcp3RootUserAccount": {
  17130. "type": "object",
  17131. "properties": {
  17132. "accountname": {
  17133. "description": "账户名称(机构名称)",
  17134. "type": "string"
  17135. },
  17136. "accountstatus": {
  17137. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17138. "type": "integer"
  17139. },
  17140. "applysrc": {
  17141. "description": "申请来源 - 1:管理端 2:终端",
  17142. "type": "integer"
  17143. },
  17144. "auditremark": {
  17145. "description": "审核备注",
  17146. "type": "string"
  17147. },
  17148. "auditsrc": {
  17149. "description": "审核来源 - 1:管理端 2:终端",
  17150. "type": "integer"
  17151. },
  17152. "audittime": {
  17153. "description": "审核时间",
  17154. "type": "string"
  17155. },
  17156. "audituserid": {
  17157. "description": "审核人",
  17158. "type": "integer"
  17159. },
  17160. "broker": {
  17161. "description": "所属经纪人ID",
  17162. "type": "integer"
  17163. },
  17164. "canceltime": {
  17165. "description": "销户时间",
  17166. "type": "string"
  17167. },
  17168. "canceluserid": {
  17169. "description": "销户人",
  17170. "type": "integer"
  17171. },
  17172. "canrecommend": {
  17173. "description": "是否可推荐 - 0:不可 1;可",
  17174. "type": "integer"
  17175. },
  17176. "createtime": {
  17177. "description": "创建时间",
  17178. "type": "string"
  17179. },
  17180. "creatorid": {
  17181. "description": "创建人",
  17182. "type": "integer"
  17183. },
  17184. "hasauth": {
  17185. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17186. "type": "integer"
  17187. },
  17188. "isanonymous": {
  17189. "description": "是否匿名下单 - 0:否 1:是",
  17190. "type": "integer"
  17191. },
  17192. "maxinvestornum": {
  17193. "description": "最大用户数(经纪会员下投资者个数)",
  17194. "type": "integer"
  17195. },
  17196. "memberuserid": {
  17197. "description": "所属会员ID",
  17198. "type": "integer"
  17199. },
  17200. "modifierid": {
  17201. "description": "修改人",
  17202. "type": "integer"
  17203. },
  17204. "modifyremark": {
  17205. "description": "变更备注",
  17206. "type": "string"
  17207. },
  17208. "modifystatus": {
  17209. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17210. "type": "integer"
  17211. },
  17212. "modifytime": {
  17213. "description": "修改时间",
  17214. "type": "string"
  17215. },
  17216. "parenttopuser": {
  17217. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  17218. "type": "string"
  17219. },
  17220. "parentuserid": {
  17221. "description": "所属机构ID",
  17222. "type": "integer"
  17223. },
  17224. "reckonaccountid": {
  17225. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17226. "type": "integer"
  17227. },
  17228. "refercount": {
  17229. "description": "推荐总人数",
  17230. "type": "integer"
  17231. },
  17232. "refereeuserid": {
  17233. "description": "推荐人ID",
  17234. "type": "integer"
  17235. },
  17236. "refernum": {
  17237. "description": "推荐码",
  17238. "type": "string"
  17239. },
  17240. "rootuserid": {
  17241. "description": "根用户ID",
  17242. "type": "integer"
  17243. },
  17244. "subaccountlevel": {
  17245. "description": "子账户层数",
  17246. "type": "integer"
  17247. },
  17248. "subarealevelpath": {
  17249. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17250. "type": "string"
  17251. },
  17252. "userid": {
  17253. "description": "用户ID",
  17254. "type": "integer"
  17255. },
  17256. "usertype": {
  17257. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17258. "type": "integer"
  17259. }
  17260. }
  17261. },
  17262. "models.Ermcp3SellBuyContract": {
  17263. "type": "object",
  17264. "properties": {
  17265. "accountid": {
  17266. "description": "期货账户id",
  17267. "type": "string"
  17268. },
  17269. "accountname": {
  17270. "description": "账户名称",
  17271. "type": "string"
  17272. },
  17273. "attachment": {
  17274. "description": "附件",
  17275. "type": "string"
  17276. },
  17277. "audittime": {
  17278. "description": "审核时间",
  17279. "type": "string"
  17280. },
  17281. "biztype": {
  17282. "description": "业务类型 1-套保 2-套利",
  17283. "type": "integer"
  17284. },
  17285. "brandname": {
  17286. "description": "品牌名称",
  17287. "type": "string"
  17288. },
  17289. "contracctstatus": {
  17290. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17291. "type": "integer"
  17292. },
  17293. "contractmargin": {
  17294. "description": "合同保证金",
  17295. "type": "number"
  17296. },
  17297. "contractno": {
  17298. "description": "合同编号",
  17299. "type": "string"
  17300. },
  17301. "contracttype": {
  17302. "description": "合同类型 1-采购, -1-销售",
  17303. "type": "integer"
  17304. },
  17305. "convertfactor": {
  17306. "description": "标仓系数(品类)",
  17307. "type": "number"
  17308. },
  17309. "createtime": {
  17310. "description": "创建时间",
  17311. "type": "string"
  17312. },
  17313. "currencyid": {
  17314. "description": "币种id",
  17315. "type": "integer"
  17316. },
  17317. "currencyname": {
  17318. "description": "币种名称",
  17319. "type": "string"
  17320. },
  17321. "daikaiamount": {
  17322. "description": "应收(开)票额",
  17323. "type": "number"
  17324. },
  17325. "deliveryenddate": {
  17326. "description": "交割结束日",
  17327. "type": "string"
  17328. },
  17329. "deliverygoodscode": {
  17330. "description": "现货品种代码",
  17331. "type": "string"
  17332. },
  17333. "deliverygoodsid": {
  17334. "description": "现货商品ID",
  17335. "type": "integer"
  17336. },
  17337. "deliverygoodsname": {
  17338. "description": "现货品种名称",
  17339. "type": "string"
  17340. },
  17341. "deliverystartdate": {
  17342. "description": "交割开始日",
  17343. "type": "string"
  17344. },
  17345. "enddate": {
  17346. "description": "点价结束日",
  17347. "type": "string"
  17348. },
  17349. "enumdicname": {
  17350. "description": "单位名称",
  17351. "type": "string"
  17352. },
  17353. "goodscode": {
  17354. "description": "点价商品代码",
  17355. "type": "string"
  17356. },
  17357. "goodsid": {
  17358. "description": "点价商品ID",
  17359. "type": "integer"
  17360. },
  17361. "goodsname": {
  17362. "description": "点价商品名称",
  17363. "type": "string"
  17364. },
  17365. "invoiceamount": {
  17366. "description": "已开票额",
  17367. "type": "number"
  17368. },
  17369. "loanamount": {
  17370. "description": "贷款总额=已定价额+调整金额",
  17371. "type": "number"
  17372. },
  17373. "margin": {
  17374. "description": "保证金",
  17375. "type": "number"
  17376. },
  17377. "meruserid": {
  17378. "description": "跟单员id",
  17379. "type": "integer"
  17380. },
  17381. "meruserlogincode": {
  17382. "description": "跟单员登录代码",
  17383. "type": "string"
  17384. },
  17385. "nickname": {
  17386. "description": "账户昵称",
  17387. "type": "string"
  17388. },
  17389. "payamount": {
  17390. "description": "已收付额(收款或付款)",
  17391. "type": "number"
  17392. },
  17393. "preinvoiceamount": {
  17394. "description": "预收(开)票额",
  17395. "type": "number"
  17396. },
  17397. "prepayamount": {
  17398. "description": "预收付额",
  17399. "type": "number"
  17400. },
  17401. "price": {
  17402. "description": "价格",
  17403. "type": "number"
  17404. },
  17405. "pricedamount": {
  17406. "description": "已定价额",
  17407. "type": "number"
  17408. },
  17409. "pricedavg": {
  17410. "description": "已点均价",
  17411. "type": "number"
  17412. },
  17413. "pricedqty": {
  17414. "description": "已定价量",
  17415. "type": "number"
  17416. },
  17417. "pricemove": {
  17418. "description": "升贴水",
  17419. "type": "number"
  17420. },
  17421. "pricetype": {
  17422. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17423. "type": "integer"
  17424. },
  17425. "producttype": {
  17426. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17427. "type": "integer"
  17428. },
  17429. "qty": {
  17430. "description": "合同量",
  17431. "type": "number"
  17432. },
  17433. "reckonadjustamount": {
  17434. "description": "调整金额",
  17435. "type": "number"
  17436. },
  17437. "reckonedamount": {
  17438. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17439. "type": "number"
  17440. },
  17441. "reckonotheramount": {
  17442. "description": "其它费用",
  17443. "type": "number"
  17444. },
  17445. "reckonrealqty": {
  17446. "description": "已确定量",
  17447. "type": "number"
  17448. },
  17449. "remark": {
  17450. "description": "备注",
  17451. "type": "string"
  17452. },
  17453. "saleuserid": {
  17454. "description": "业务员id",
  17455. "type": "integer"
  17456. },
  17457. "saleuserlogincode": {
  17458. "description": "业务员登录代码",
  17459. "type": "string"
  17460. },
  17461. "spotcontractid": {
  17462. "description": "合同ID",
  17463. "type": "string"
  17464. },
  17465. "spotgoodsbrandid": {
  17466. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17467. "type": "integer"
  17468. },
  17469. "spotgoodsdesc": {
  17470. "description": "商品型号(商品规格)",
  17471. "type": "string"
  17472. },
  17473. "startdate": {
  17474. "description": "点价开始日",
  17475. "type": "string"
  17476. },
  17477. "totalamount": {
  17478. "description": "合计总额",
  17479. "type": "number"
  17480. },
  17481. "tradeuserid": {
  17482. "description": "交易员id",
  17483. "type": "integer"
  17484. },
  17485. "tradeuserlogincode": {
  17486. "description": "交易员登录代码",
  17487. "type": "string"
  17488. },
  17489. "tradeusername": {
  17490. "description": "交易员名称",
  17491. "type": "string"
  17492. },
  17493. "unpayamount": {
  17494. "description": "应收付款额(应支付或应收款)",
  17495. "type": "number"
  17496. },
  17497. "unpricedqty": {
  17498. "description": "未定价量",
  17499. "type": "number"
  17500. },
  17501. "unsureqty": {
  17502. "description": "未确定量",
  17503. "type": "number"
  17504. },
  17505. "userid": {
  17506. "description": "机构ID",
  17507. "type": "integer"
  17508. },
  17509. "wrstandardcode": {
  17510. "description": "品类代码",
  17511. "type": "string"
  17512. },
  17513. "wrstandardid": {
  17514. "description": "品类ID",
  17515. "type": "integer"
  17516. },
  17517. "wrstandardname": {
  17518. "description": "品类名称",
  17519. "type": "string"
  17520. }
  17521. }
  17522. },
  17523. "models.Ermcp3SpotGoodsPrice": {
  17524. "type": "object",
  17525. "properties": {
  17526. "areauserid": {
  17527. "description": "所属机构id",
  17528. "type": "integer"
  17529. },
  17530. "brandname": {
  17531. "description": "品牌名称",
  17532. "type": "string"
  17533. },
  17534. "currencyid": {
  17535. "description": "报价货币ID",
  17536. "type": "integer"
  17537. },
  17538. "currencyname": {
  17539. "description": "币种名称",
  17540. "type": "string"
  17541. },
  17542. "deliverygoodscode": {
  17543. "description": "现货商品代码",
  17544. "type": "string"
  17545. },
  17546. "deliverygoodsid": {
  17547. "description": "现货商品id",
  17548. "type": "integer"
  17549. },
  17550. "deliverygoodsname": {
  17551. "description": "现货商品名称",
  17552. "type": "string"
  17553. },
  17554. "enumdicname": {
  17555. "description": "现货商品单位名称",
  17556. "type": "string"
  17557. },
  17558. "gbenumdicname": {
  17559. "description": "品类单位名称",
  17560. "type": "string"
  17561. },
  17562. "gmunitid": {
  17563. "description": "品类单位id",
  17564. "type": "integer"
  17565. },
  17566. "isvalid": {
  17567. "description": "是否有效 - 0:无效 1:有效",
  17568. "type": "integer"
  17569. },
  17570. "operateid": {
  17571. "description": "最后操作人",
  17572. "type": "integer"
  17573. },
  17574. "operatesrc": {
  17575. "description": "最后操作来源 - 1:管理端 2:终端",
  17576. "type": "integer"
  17577. },
  17578. "operatetime": {
  17579. "description": "最后操作时间",
  17580. "type": "string"
  17581. },
  17582. "operatorname": {
  17583. "description": "操作人名称",
  17584. "type": "string"
  17585. },
  17586. "spotgoodsbrandid": {
  17587. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17588. "type": "integer"
  17589. },
  17590. "spotgoodsprice": {
  17591. "description": "现货价格",
  17592. "type": "number"
  17593. },
  17594. "tradedate": {
  17595. "description": "交易日(yyyyMMdd)",
  17596. "type": "string"
  17597. },
  17598. "unitid": {
  17599. "description": "现货商品单位id",
  17600. "type": "integer"
  17601. },
  17602. "wrstandardcode": {
  17603. "description": "品类代码",
  17604. "type": "string"
  17605. },
  17606. "wrstandardid": {
  17607. "description": "现货品类ID(通用则为0)",
  17608. "type": "integer"
  17609. },
  17610. "wrstandardname": {
  17611. "description": "品类名称",
  17612. "type": "string"
  17613. }
  17614. }
  17615. },
  17616. "models.Ermcp3SpotGoodsPriceLog": {
  17617. "type": "object",
  17618. "properties": {
  17619. "areauserid": {
  17620. "description": "所属机构id",
  17621. "type": "integer"
  17622. },
  17623. "brandname": {
  17624. "description": "品牌名称",
  17625. "type": "string"
  17626. },
  17627. "currencyid": {
  17628. "description": "报价货币ID",
  17629. "type": "integer"
  17630. },
  17631. "deliverygoodscode": {
  17632. "description": "现货商品代码",
  17633. "type": "string"
  17634. },
  17635. "deliverygoodsid": {
  17636. "description": "现货商品id",
  17637. "type": "integer"
  17638. },
  17639. "deliverygoodsname": {
  17640. "description": "现货商品名称",
  17641. "type": "string"
  17642. },
  17643. "enumdicname": {
  17644. "description": "现货商品单位名称",
  17645. "type": "string"
  17646. },
  17647. "gbenumdicname": {
  17648. "description": "品类单位名称",
  17649. "type": "string"
  17650. },
  17651. "gmunitid": {
  17652. "description": "品类单位id",
  17653. "type": "integer"
  17654. },
  17655. "logid": {
  17656. "description": "日志id",
  17657. "type": "integer"
  17658. },
  17659. "operateid": {
  17660. "description": "最后操作人",
  17661. "type": "integer"
  17662. },
  17663. "operatesrc": {
  17664. "description": "最后操作来源 - 1:管理端 2:终端",
  17665. "type": "integer"
  17666. },
  17667. "operatetime": {
  17668. "description": "最后操作时间",
  17669. "type": "string"
  17670. },
  17671. "operatorname": {
  17672. "description": "操作人名称",
  17673. "type": "string"
  17674. },
  17675. "spotgoodsbrandid": {
  17676. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17677. "type": "integer"
  17678. },
  17679. "spotgoodsprice": {
  17680. "description": "现货价格",
  17681. "type": "number"
  17682. },
  17683. "tradedate": {
  17684. "description": "交易日(yyyyMMdd)",
  17685. "type": "string"
  17686. },
  17687. "unitid": {
  17688. "description": "现货商品单位id",
  17689. "type": "integer"
  17690. },
  17691. "wrstandardcode": {
  17692. "description": "品类代码",
  17693. "type": "string"
  17694. },
  17695. "wrstandardid": {
  17696. "description": "现货品类ID(通用则为0)",
  17697. "type": "integer"
  17698. },
  17699. "wrstandardname": {
  17700. "description": "品类名称",
  17701. "type": "string"
  17702. }
  17703. }
  17704. },
  17705. "models.Ermcp3TaFutuReDataReport": {
  17706. "type": "object",
  17707. "properties": {
  17708. "accountid": {
  17709. "description": "交易账户",
  17710. "type": "integer"
  17711. },
  17712. "accountname": {
  17713. "description": "交易账号名称",
  17714. "type": "string"
  17715. },
  17716. "begindate": {
  17717. "description": "开始交易日",
  17718. "type": "string"
  17719. },
  17720. "buyorsell": {
  17721. "description": "持仓方向",
  17722. "type": "integer"
  17723. },
  17724. "charge": {
  17725. "description": "手续费",
  17726. "type": "number"
  17727. },
  17728. "closeavgprice": {
  17729. "description": "平仓均价",
  17730. "type": "number"
  17731. },
  17732. "closepl": {
  17733. "description": "平仓损益",
  17734. "type": "number"
  17735. },
  17736. "currencyid": {
  17737. "description": "结算币种ID",
  17738. "type": "integer"
  17739. },
  17740. "cycletime": {
  17741. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17742. "type": "string"
  17743. },
  17744. "cycletype": {
  17745. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17746. "type": "integer"
  17747. },
  17748. "enddate": {
  17749. "description": "结束交易日",
  17750. "type": "string"
  17751. },
  17752. "enumdicname": {
  17753. "description": "单位名称(现货商品)",
  17754. "type": "string"
  17755. },
  17756. "floatpl": {
  17757. "description": "浮动损益",
  17758. "type": "number"
  17759. },
  17760. "goodscode": {
  17761. "description": "交易合约代码",
  17762. "type": "string"
  17763. },
  17764. "goodsgroupid": {
  17765. "description": "交易品种",
  17766. "type": "integer"
  17767. },
  17768. "goodsgroupname": {
  17769. "description": "交易品种名称",
  17770. "type": "string"
  17771. },
  17772. "goodsgroupspotqty": {
  17773. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17774. "type": "number"
  17775. },
  17776. "goodsid": {
  17777. "description": "交易合约",
  17778. "type": "integer"
  17779. },
  17780. "goodsname": {
  17781. "description": "交易合约名称",
  17782. "type": "string"
  17783. },
  17784. "goodunitid": {
  17785. "description": "交易合约单位id",
  17786. "type": "integer"
  17787. },
  17788. "holdamount": {
  17789. "description": "期末持仓额",
  17790. "type": "number"
  17791. },
  17792. "holdqty": {
  17793. "description": "期末持仓量",
  17794. "type": "number"
  17795. },
  17796. "lastholdamount": {
  17797. "description": "当前持仓额",
  17798. "type": "number"
  17799. },
  17800. "lastprice": {
  17801. "description": "最新价",
  17802. "type": "number"
  17803. },
  17804. "middlegoodsqty": {
  17805. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17806. "type": "number"
  17807. },
  17808. "openamount": {
  17809. "description": "期末开仓额",
  17810. "type": "number"
  17811. },
  17812. "openavgprice": {
  17813. "description": "开仓均价",
  17814. "type": "number"
  17815. },
  17816. "oriholdamount": {
  17817. "description": "期初持仓额",
  17818. "type": "number"
  17819. },
  17820. "oriholdqty": {
  17821. "description": "期初持仓量",
  17822. "type": "number"
  17823. },
  17824. "oriopenamount": {
  17825. "description": "期初开仓额",
  17826. "type": "number"
  17827. },
  17828. "outergroupcode": {
  17829. "description": "交易品种代码",
  17830. "type": "string"
  17831. },
  17832. "reckondate": {
  17833. "description": "日照时期(yyyyMMdd)",
  17834. "type": "string"
  17835. },
  17836. "reckonholdamount": {
  17837. "description": "结算持仓额",
  17838. "type": "number"
  17839. },
  17840. "reckonpl": {
  17841. "description": "结算损益",
  17842. "type": "number"
  17843. },
  17844. "reckonpl2": {
  17845. "description": "结算逐笔盈亏",
  17846. "type": "number"
  17847. },
  17848. "reckonprice": {
  17849. "description": "结算价",
  17850. "type": "number"
  17851. },
  17852. "relateduserid": {
  17853. "description": "账户关联用户ID",
  17854. "type": "integer"
  17855. },
  17856. "todaycloseamount": {
  17857. "description": "今平仓额",
  17858. "type": "number"
  17859. },
  17860. "todaycloseqty": {
  17861. "description": "今平仓量",
  17862. "type": "number"
  17863. },
  17864. "todaygoodsgroupspotqty": {
  17865. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  17866. "type": "number"
  17867. },
  17868. "todaymiddlegoodsqty": {
  17869. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  17870. "type": "number"
  17871. },
  17872. "todayopenamount": {
  17873. "description": "今开仓额",
  17874. "type": "number"
  17875. },
  17876. "todayopenqty": {
  17877. "description": "今开仓量",
  17878. "type": "number"
  17879. },
  17880. "userid": {
  17881. "description": "账户所属用户ID",
  17882. "type": "integer"
  17883. }
  17884. }
  17885. },
  17886. "models.Ermcp3Wrstandard": {
  17887. "type": "object",
  17888. "properties": {
  17889. "areauserid": {
  17890. "description": "所属机构",
  17891. "type": "integer"
  17892. },
  17893. "convertfactor": {
  17894. "description": "标仓系数",
  17895. "type": "number"
  17896. },
  17897. "createtime": {
  17898. "description": "创建时间",
  17899. "type": "string"
  17900. },
  17901. "creatorid": {
  17902. "description": "创建人",
  17903. "type": "integer"
  17904. },
  17905. "deliverygoodsid": {
  17906. "description": "现货品种ID",
  17907. "type": "integer"
  17908. },
  17909. "enumdicname": {
  17910. "description": "品类单位名称",
  17911. "type": "string"
  17912. },
  17913. "isvalid": {
  17914. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  17915. "type": "integer"
  17916. },
  17917. "minivalue": {
  17918. "description": "最小变动值",
  17919. "type": "integer"
  17920. },
  17921. "minivaluedp": {
  17922. "description": "最小变动值小数位",
  17923. "type": "integer"
  17924. },
  17925. "realminivalue": {
  17926. "description": "实际最小变动值",
  17927. "type": "integer"
  17928. },
  17929. "realminivaluedp": {
  17930. "description": "实际最小变动值小数位",
  17931. "type": "integer"
  17932. },
  17933. "remark": {
  17934. "description": "备注",
  17935. "type": "string"
  17936. },
  17937. "unitid": {
  17938. "description": "品类单位ID",
  17939. "type": "integer"
  17940. },
  17941. "updatetime": {
  17942. "description": "更新时间",
  17943. "type": "string"
  17944. },
  17945. "wrstandardcode": {
  17946. "description": "品类代码",
  17947. "type": "string"
  17948. },
  17949. "wrstandardid": {
  17950. "description": "品类ID(SEQ_WRSTANDARD)",
  17951. "type": "integer"
  17952. },
  17953. "wrstandardname": {
  17954. "description": "品类名称",
  17955. "type": "string"
  17956. }
  17957. }
  17958. },
  17959. "models.ErmcpAreaSpotDetailModel": {
  17960. "type": "object",
  17961. "properties": {
  17962. "contracttype": {
  17963. "description": "合同类型 1-采购 -1-销售",
  17964. "type": "integer"
  17965. },
  17966. "createtime": {
  17967. "description": "创建时间",
  17968. "type": "string"
  17969. },
  17970. "enumdicname": {
  17971. "description": "现货商品单位名称",
  17972. "type": "string"
  17973. },
  17974. "logtype": {
  17975. "description": "记录类型 1-套保 2-现货合同",
  17976. "type": "integer"
  17977. },
  17978. "qty": {
  17979. "description": "数量",
  17980. "type": "number"
  17981. },
  17982. "recordname": {
  17983. "description": "类型名称",
  17984. "type": "string"
  17985. },
  17986. "relatedid": {
  17987. "description": "套保计划ID/现货合同ID",
  17988. "type": "string"
  17989. },
  17990. "relatedno": {
  17991. "description": "编号",
  17992. "type": "string"
  17993. },
  17994. "strtime": {
  17995. "description": "时间",
  17996. "type": "string"
  17997. },
  17998. "wrstandardcode": {
  17999. "description": "现货商品代码",
  18000. "type": "string"
  18001. },
  18002. "wrstandardname": {
  18003. "description": "现货商品名称",
  18004. "type": "string"
  18005. }
  18006. }
  18007. },
  18008. "models.ErmcpAvalidGoodsGroupModel": {
  18009. "type": "object",
  18010. "properties": {
  18011. "goodsgroupid": {
  18012. "description": "期货品种id",
  18013. "type": "integer"
  18014. },
  18015. "goodsgroupname": {
  18016. "description": "期货品种名称",
  18017. "type": "string"
  18018. },
  18019. "goodunitid": {
  18020. "description": "品种单位id",
  18021. "type": "integer"
  18022. },
  18023. "goodunitname": {
  18024. "description": "品种单位名称",
  18025. "type": "string"
  18026. },
  18027. "outergroupcode": {
  18028. "description": "期货品种代码",
  18029. "type": "string"
  18030. }
  18031. }
  18032. },
  18033. "models.ErmcpBizGroupEx": {
  18034. "type": "object",
  18035. "properties": {
  18036. "acclist": {
  18037. "description": "账号列表",
  18038. "type": "array",
  18039. "items": {
  18040. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18041. }
  18042. },
  18043. "bizgroupid": {
  18044. "description": "业务分组id",
  18045. "type": "integer"
  18046. },
  18047. "biztype": {
  18048. "description": "业务类型 1-套保 2-套利",
  18049. "type": "integer"
  18050. },
  18051. "wrlist": {
  18052. "description": "现货商品表",
  18053. "type": "array",
  18054. "items": {
  18055. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18056. }
  18057. }
  18058. }
  18059. },
  18060. "models.ErmcpBizGroupSpotGoods": {
  18061. "type": "object",
  18062. "properties": {
  18063. "areauserid": {
  18064. "description": "所属机构id",
  18065. "type": "integer"
  18066. },
  18067. "bizgroupid": {
  18068. "description": "分组id",
  18069. "type": "integer"
  18070. },
  18071. "biztype": {
  18072. "description": "业务类型 1-套保 2-套利",
  18073. "type": "integer"
  18074. },
  18075. "deliverygoodscode": {
  18076. "description": "现货商品代码",
  18077. "type": "string"
  18078. },
  18079. "deliverygoodsid": {
  18080. "description": "现货商品id",
  18081. "type": "integer"
  18082. },
  18083. "deliverygoodsname": {
  18084. "description": "现货商品名称",
  18085. "type": "string"
  18086. },
  18087. "unitid": {
  18088. "description": "现货商品单位id",
  18089. "type": "integer"
  18090. }
  18091. }
  18092. },
  18093. "models.ErmcpBizGroupTaAccount": {
  18094. "type": "object",
  18095. "properties": {
  18096. "accountid": {
  18097. "description": "账号id",
  18098. "type": "integer"
  18099. },
  18100. "accountname": {
  18101. "description": "账号名称",
  18102. "type": "string"
  18103. },
  18104. "areauserid": {
  18105. "description": "所属机构id",
  18106. "type": "integer"
  18107. },
  18108. "bizgroupid": {
  18109. "description": "业务分组id",
  18110. "type": "integer"
  18111. },
  18112. "ismain": {
  18113. "description": "是否主账号 1-是 0-否",
  18114. "type": "integer"
  18115. }
  18116. }
  18117. },
  18118. "models.ErmcpDGFactoryItem": {
  18119. "type": "object",
  18120. "properties": {
  18121. "areauserid": {
  18122. "description": "用户id",
  18123. "type": "integer"
  18124. },
  18125. "deliverygoodsid": {
  18126. "description": "现货品种ID",
  18127. "type": "integer"
  18128. },
  18129. "dgfactoryitemid": {
  18130. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18131. "type": "integer"
  18132. },
  18133. "dgfactoryitemtypeid": {
  18134. "description": "要素项类型",
  18135. "type": "integer"
  18136. },
  18137. "dgfactoryitemvalue": {
  18138. "description": "要素项值(类型为仓库时填写仓库名称)",
  18139. "type": "string"
  18140. },
  18141. "isvalid": {
  18142. "description": "是否有效 - 0:无效 1:有效",
  18143. "type": "integer"
  18144. },
  18145. "orderindex": {
  18146. "description": "顺序",
  18147. "type": "integer"
  18148. },
  18149. "warehouseid": {
  18150. "description": "仓库ID(类型为仓库时填写)",
  18151. "type": "integer"
  18152. }
  18153. }
  18154. },
  18155. "models.ErmcpDeliveryGoods": {
  18156. "type": "object",
  18157. "properties": {
  18158. "agreeunit": {
  18159. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18160. "type": "integer"
  18161. },
  18162. "areauserid": {
  18163. "description": "所属机构",
  18164. "type": "integer"
  18165. },
  18166. "auditflag": {
  18167. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18168. "type": "integer"
  18169. },
  18170. "categoryid": {
  18171. "description": "类别ID(SEQ_WRCATEGORY)",
  18172. "type": "integer"
  18173. },
  18174. "deliverygoodscode": {
  18175. "description": "现货品种代码",
  18176. "type": "string"
  18177. },
  18178. "deliverygoodsid": {
  18179. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18180. "type": "integer"
  18181. },
  18182. "deliverygoodsname": {
  18183. "description": "现货品种名称",
  18184. "type": "string"
  18185. },
  18186. "deliverygoodstype": {
  18187. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  18188. "type": "integer"
  18189. },
  18190. "dgstatus": {
  18191. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  18192. "type": "integer"
  18193. },
  18194. "enumdicname": {
  18195. "description": "现货品种单位名称",
  18196. "type": "string"
  18197. },
  18198. "goodsunitid": {
  18199. "description": "现货品种单位ID",
  18200. "type": "integer"
  18201. },
  18202. "isvalid": {
  18203. "description": "是否有效 - 0:无效 1:有效",
  18204. "type": "integer"
  18205. },
  18206. "qtydecimalplace": {
  18207. "description": "成交量小数位",
  18208. "type": "integer"
  18209. },
  18210. "remark": {
  18211. "description": "备注",
  18212. "type": "string"
  18213. },
  18214. "standardqty": {
  18215. "description": "标准数量(库位数量) [标准品特有]",
  18216. "type": "integer"
  18217. },
  18218. "standardqtyrange": {
  18219. "description": "标准数量偏差范围 [标准品特有]",
  18220. "type": "integer"
  18221. }
  18222. }
  18223. },
  18224. "models.ErmcpDeliveryGoodsDetail2": {
  18225. "type": "object",
  18226. "properties": {
  18227. "convertratio": {
  18228. "description": "套保系数(折算系数)",
  18229. "type": "number"
  18230. },
  18231. "data": {
  18232. "description": "现货商品基本信息(交割品种)",
  18233. "type": "object",
  18234. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18235. },
  18236. "gblist": {
  18237. "description": "品牌列表",
  18238. "type": "array",
  18239. "items": {
  18240. "$ref": "#/definitions/models.Ermcp3Brand"
  18241. }
  18242. },
  18243. "gmlist": {
  18244. "description": "品类列表(仓单标准)",
  18245. "type": "array",
  18246. "items": {
  18247. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18248. }
  18249. }
  18250. }
  18251. },
  18252. "models.ErmcpDeliveryGoodsDetailEx": {
  18253. "type": "object",
  18254. "properties": {
  18255. "data": {
  18256. "description": "现货商品基本信息(交割品种)",
  18257. "type": "object",
  18258. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18259. },
  18260. "gblist": {
  18261. "description": "品牌列表",
  18262. "type": "array",
  18263. "items": {
  18264. "$ref": "#/definitions/models.Ermcp3Brand"
  18265. }
  18266. },
  18267. "gmlist": {
  18268. "description": "品类列表(仓单标准)",
  18269. "type": "array",
  18270. "items": {
  18271. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18272. }
  18273. },
  18274. "mgList": {
  18275. "description": "套保列表",
  18276. "type": "array",
  18277. "items": {
  18278. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18279. }
  18280. }
  18281. }
  18282. },
  18283. "models.ErmcpExposureDetailModel": {
  18284. "type": "object",
  18285. "properties": {
  18286. "areauserid": {
  18287. "description": "机构ID",
  18288. "type": "integer"
  18289. },
  18290. "changeQty": {
  18291. "description": "套保变动量",
  18292. "type": "number"
  18293. },
  18294. "contracttype": {
  18295. "description": "现货合同类型 - 1:采购 -1:销售",
  18296. "type": "integer"
  18297. },
  18298. "convertfactor": {
  18299. "description": "标仓系数",
  18300. "type": "number"
  18301. },
  18302. "convertratio": {
  18303. "description": "套保系数",
  18304. "type": "number"
  18305. },
  18306. "createtime": {
  18307. "description": "时间",
  18308. "type": "string"
  18309. },
  18310. "enumdicname": {
  18311. "description": "现货商品单位名称",
  18312. "type": "string"
  18313. },
  18314. "logtype": {
  18315. "description": "类型 - 1:套保计划 2:现货合同",
  18316. "type": "integer"
  18317. },
  18318. "middlegoodsId": {
  18319. "description": "套保商品id",
  18320. "type": "integer"
  18321. },
  18322. "middlegoodscode": {
  18323. "description": "套保商品代码",
  18324. "type": "string"
  18325. },
  18326. "middlegoodsname": {
  18327. "description": "套保商品名称",
  18328. "type": "string"
  18329. },
  18330. "qty": {
  18331. "description": "数量",
  18332. "type": "number"
  18333. },
  18334. "relateNo": {
  18335. "description": "现货合同/套保计划编号",
  18336. "type": "string"
  18337. },
  18338. "wrstandardcode": {
  18339. "description": "现货商品代码",
  18340. "type": "string"
  18341. },
  18342. "wrstandardid": {
  18343. "description": "现货商品ID",
  18344. "type": "integer"
  18345. },
  18346. "wrstandardname": {
  18347. "description": "现货商品名称",
  18348. "type": "string"
  18349. }
  18350. }
  18351. },
  18352. "models.ErmcpExposurePostion": {
  18353. "type": "object",
  18354. "properties": {
  18355. "agreeunit": {
  18356. "description": "合约单位",
  18357. "type": "string"
  18358. },
  18359. "areauserid": {
  18360. "description": "所属机构id",
  18361. "type": "integer"
  18362. },
  18363. "convertratio": {
  18364. "description": "期货品种系数(折算系数)",
  18365. "type": "number"
  18366. },
  18367. "curqty": {
  18368. "description": "当前持仓",
  18369. "type": "integer"
  18370. },
  18371. "diffhedgeqty": {
  18372. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18373. "type": "number"
  18374. },
  18375. "diffqty": {
  18376. "description": "持仓变动量=当前持仓-昨日持仓",
  18377. "type": "integer"
  18378. },
  18379. "goodscode": {
  18380. "description": "商品代码",
  18381. "type": "string"
  18382. },
  18383. "goodsid": {
  18384. "description": "商品id",
  18385. "type": "integer"
  18386. },
  18387. "goodsname": {
  18388. "description": "商品名称",
  18389. "type": "string"
  18390. },
  18391. "middlegoodsid": {
  18392. "description": "套保商品id",
  18393. "type": "integer"
  18394. },
  18395. "ydqty": {
  18396. "description": "昨日持仓",
  18397. "type": "integer"
  18398. }
  18399. }
  18400. },
  18401. "models.ErmcpFuturesCompany": {
  18402. "type": "object",
  18403. "properties": {
  18404. "brokerid": {
  18405. "description": "经纪公司代码",
  18406. "type": "string"
  18407. },
  18408. "channeladdress": {
  18409. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18410. "type": "string"
  18411. },
  18412. "channelid": {
  18413. "description": "对冲渠道ID",
  18414. "type": "string"
  18415. },
  18416. "createtime": {
  18417. "description": "创建时间",
  18418. "type": "string"
  18419. },
  18420. "creatorid": {
  18421. "description": "创建人",
  18422. "type": "string"
  18423. },
  18424. "fcid": {
  18425. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18426. "type": "integer"
  18427. },
  18428. "fcname": {
  18429. "description": "期货公司名称",
  18430. "type": "string"
  18431. },
  18432. "isvalid": {
  18433. "description": "是否有效 - 0:无效 1:有效",
  18434. "type": "integer"
  18435. },
  18436. "mhpaddress": {
  18437. "description": "MHP服务地址(IP:Port)",
  18438. "type": "string"
  18439. },
  18440. "riskrulegroupid": {
  18441. "description": "风控规则组ID",
  18442. "type": "string"
  18443. },
  18444. "tradefeetmpid": {
  18445. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18446. "type": "string"
  18447. },
  18448. "trademargintmpid": {
  18449. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18450. "type": "string"
  18451. },
  18452. "traderatetmpid": {
  18453. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18454. "type": "string"
  18455. },
  18456. "updatetime": {
  18457. "description": "更新时间",
  18458. "type": "string"
  18459. },
  18460. "updatorid": {
  18461. "description": "更新人",
  18462. "type": "string"
  18463. }
  18464. }
  18465. },
  18466. "models.ErmcpGGConvertCfg": {
  18467. "type": "object",
  18468. "properties": {
  18469. "convertratio": {
  18470. "description": "折算系数",
  18471. "type": "number"
  18472. },
  18473. "destgoodsgroupid": {
  18474. "description": "目标品种ID",
  18475. "type": "integer"
  18476. },
  18477. "dstcode": {
  18478. "description": "目录品种代码",
  18479. "type": "string"
  18480. },
  18481. "dstexchangecode": {
  18482. "description": "目标期货交易所",
  18483. "type": "string"
  18484. },
  18485. "dstname": {
  18486. "description": "目标品种名称",
  18487. "type": "string"
  18488. },
  18489. "dstunitid": {
  18490. "description": "目标品种单位ID",
  18491. "type": "integer"
  18492. },
  18493. "dstunitidname": {
  18494. "description": "目标品种单位名称",
  18495. "type": "string"
  18496. },
  18497. "modifytime": {
  18498. "description": "修改时间",
  18499. "type": "string"
  18500. },
  18501. "srccode": {
  18502. "description": "源品种代码",
  18503. "type": "string"
  18504. },
  18505. "srcexchangecode": {
  18506. "description": "源期货交易所",
  18507. "type": "string"
  18508. },
  18509. "srcgoodsgroupid": {
  18510. "description": "源品种ID",
  18511. "type": "integer"
  18512. },
  18513. "srcname": {
  18514. "description": "源品种名称",
  18515. "type": "string"
  18516. },
  18517. "srcunitid": {
  18518. "description": "源品种单位ID",
  18519. "type": "integer"
  18520. },
  18521. "srcunitidname": {
  18522. "description": "源品种单位名称",
  18523. "type": "string"
  18524. }
  18525. }
  18526. },
  18527. "models.ErmcpGoods": {
  18528. "type": "object",
  18529. "required": [
  18530. "goodscode",
  18531. "goodsid",
  18532. "goodsname",
  18533. "marketid"
  18534. ],
  18535. "properties": {
  18536. "agreeunit": {
  18537. "description": "合约单位",
  18538. "type": "number"
  18539. },
  18540. "areauserid": {
  18541. "description": "所属机构",
  18542. "type": "integer"
  18543. },
  18544. "auditaccountid": {
  18545. "description": "审核操作员账号",
  18546. "type": "integer"
  18547. },
  18548. "audittime": {
  18549. "description": "审核时间",
  18550. "type": "string"
  18551. },
  18552. "cancelaccountid": {
  18553. "description": "注销操作员账号",
  18554. "type": "integer"
  18555. },
  18556. "canceltime": {
  18557. "description": "注销时间",
  18558. "type": "string"
  18559. },
  18560. "closepricemode": {
  18561. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18562. "type": "integer"
  18563. },
  18564. "closepriceparam": {
  18565. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18566. "type": "number"
  18567. },
  18568. "createtime": {
  18569. "description": "创建时间",
  18570. "type": "string"
  18571. },
  18572. "creatorid": {
  18573. "description": "创建人",
  18574. "type": "integer"
  18575. },
  18576. "currencyid": {
  18577. "description": "报价货币ID",
  18578. "type": "integer"
  18579. },
  18580. "cutmode": {
  18581. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18582. "type": "integer"
  18583. },
  18584. "decimalplace": {
  18585. "description": "报价小数位",
  18586. "type": "integer"
  18587. },
  18588. "delistingdate": {
  18589. "description": "商品退市时间(状态:退市) -- 已作废",
  18590. "type": "string"
  18591. },
  18592. "delistingmode": {
  18593. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18594. "type": "integer"
  18595. },
  18596. "deliveryflag": {
  18597. "description": "交割标志 - 0:不可交割 1:可交割",
  18598. "type": "integer"
  18599. },
  18600. "enumdicname": {
  18601. "description": "单位名称",
  18602. "type": "string"
  18603. },
  18604. "forceclosemode": {
  18605. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18606. "type": "integer"
  18607. },
  18608. "forceclosevalue": {
  18609. "description": "定期强平参数 [收益权]",
  18610. "type": "integer"
  18611. },
  18612. "goodscode": {
  18613. "description": "商品代码(内部)",
  18614. "type": "string"
  18615. },
  18616. "goodscurrencyid": {
  18617. "description": "合约货币ID",
  18618. "type": "integer"
  18619. },
  18620. "goodsgroupid": {
  18621. "description": "所属商品组ID",
  18622. "type": "integer"
  18623. },
  18624. "goodsid": {
  18625. "description": "商品ID(自增ID SEQ_GOODS)",
  18626. "type": "integer"
  18627. },
  18628. "goodsname": {
  18629. "description": "商品名称",
  18630. "type": "string"
  18631. },
  18632. "goodsquotetype": {
  18633. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18634. "type": "integer"
  18635. },
  18636. "goodsstatus": {
  18637. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18638. "type": "integer"
  18639. },
  18640. "goodstradetype": {
  18641. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18642. "type": "integer"
  18643. },
  18644. "goodunitid": {
  18645. "description": "报价单位ID",
  18646. "type": "integer"
  18647. },
  18648. "hasquoter": {
  18649. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18650. "type": "integer"
  18651. },
  18652. "hqprotecttime": {
  18653. "description": "行情保护时间(秒)",
  18654. "type": "integer"
  18655. },
  18656. "innerdealmode": {
  18657. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18658. "type": "integer"
  18659. },
  18660. "isbuylimited": {
  18661. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18662. "type": "integer"
  18663. },
  18664. "isvisible": {
  18665. "description": "游客是否可见 - 0:不可见 1:可见",
  18666. "type": "integer"
  18667. },
  18668. "lasttradedate": {
  18669. "description": "最后交易日期(状态:待退市)",
  18670. "type": "string"
  18671. },
  18672. "listingdate": {
  18673. "description": "交易开始日期",
  18674. "type": "string"
  18675. },
  18676. "marketid": {
  18677. "description": "所属市场ID",
  18678. "type": "integer"
  18679. },
  18680. "modifierid": {
  18681. "description": "修改人",
  18682. "type": "integer"
  18683. },
  18684. "modifystatus": {
  18685. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18686. "type": "integer"
  18687. },
  18688. "modifytime": {
  18689. "description": "修改时间",
  18690. "type": "string"
  18691. },
  18692. "outerdealmode": {
  18693. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18694. "type": "integer"
  18695. },
  18696. "outgoodscode": {
  18697. "description": "商品代码(外部)",
  18698. "type": "string"
  18699. },
  18700. "pictureurl": {
  18701. "description": "商品图片",
  18702. "type": "string"
  18703. },
  18704. "qtydecimalplace": {
  18705. "description": "成交量小数位",
  18706. "type": "integer"
  18707. },
  18708. "quotegear": {
  18709. "description": "行情档位(1-10)",
  18710. "type": "integer"
  18711. },
  18712. "quoteminunit": {
  18713. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18714. "type": "integer"
  18715. },
  18716. "quoteshowtype": {
  18717. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18718. "type": "integer"
  18719. },
  18720. "quoteshowtypeinterval": {
  18721. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18722. "type": "integer"
  18723. },
  18724. "relatedgoodsid": {
  18725. "description": "关联参考商品ID",
  18726. "type": "integer"
  18727. },
  18728. "remark": {
  18729. "description": "备注",
  18730. "type": "string"
  18731. },
  18732. "trademode": {
  18733. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18734. "type": "integer"
  18735. }
  18736. }
  18737. },
  18738. "models.ErmcpGoodsBrand": {
  18739. "type": "object",
  18740. "properties": {
  18741. "areauserid": {
  18742. "description": "所属机构",
  18743. "type": "integer"
  18744. },
  18745. "brandid": {
  18746. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18747. "type": "integer"
  18748. },
  18749. "brandname": {
  18750. "description": "品牌名称",
  18751. "type": "string"
  18752. },
  18753. "createtime": {
  18754. "description": "创建时间",
  18755. "type": "string"
  18756. },
  18757. "creatorid": {
  18758. "description": "创建人",
  18759. "type": "integer"
  18760. },
  18761. "creatorsrc": {
  18762. "description": "创建人来源 - 1:管理端 2:终端",
  18763. "type": "integer"
  18764. },
  18765. "deliverygoodsid": {
  18766. "description": "现货品种ID",
  18767. "type": "integer"
  18768. },
  18769. "isvalid": {
  18770. "description": "是否有效 - 0:无效 1:有效",
  18771. "type": "integer"
  18772. },
  18773. "updatetime": {
  18774. "description": "更新时间",
  18775. "type": "string"
  18776. },
  18777. "updatorid": {
  18778. "description": "更新人",
  18779. "type": "integer"
  18780. },
  18781. "updatorsrc": {
  18782. "description": "更新人来源 - 1:管理端 2:终端",
  18783. "type": "integer"
  18784. },
  18785. "wrstandardid": {
  18786. "description": "现货商品ID",
  18787. "type": "integer"
  18788. }
  18789. }
  18790. },
  18791. "models.ErmcpGoodsModel": {
  18792. "type": "object",
  18793. "properties": {
  18794. "areauserid": {
  18795. "description": "所属机构",
  18796. "type": "integer"
  18797. },
  18798. "convertfactor": {
  18799. "description": "标仓系数",
  18800. "type": "number"
  18801. },
  18802. "createtime": {
  18803. "description": "创建时间",
  18804. "type": "string"
  18805. },
  18806. "creatorid": {
  18807. "description": "创建人",
  18808. "type": "integer"
  18809. },
  18810. "creatorsrc": {
  18811. "description": "创建人来源 - 1:管理端 2:终端",
  18812. "type": "integer"
  18813. },
  18814. "deliverygoodsid": {
  18815. "description": "现货品种ID",
  18816. "type": "integer"
  18817. },
  18818. "isvalid": {
  18819. "description": "是否有效 - 0:无效 1:有效",
  18820. "type": "integer"
  18821. },
  18822. "modelid": {
  18823. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18824. "type": "integer"
  18825. },
  18826. "modelname": {
  18827. "description": "型号名称",
  18828. "type": "string"
  18829. },
  18830. "updatetime": {
  18831. "description": "更新时间",
  18832. "type": "string"
  18833. },
  18834. "updatorid": {
  18835. "description": "更新人",
  18836. "type": "integer"
  18837. },
  18838. "updatorsrc": {
  18839. "description": "更新人来源 - 1:管理端 2:终端",
  18840. "type": "integer"
  18841. },
  18842. "wrstandardid": {
  18843. "description": "现货商品ID",
  18844. "type": "integer"
  18845. }
  18846. }
  18847. },
  18848. "models.ErmcpHedgePosition": {
  18849. "type": "object",
  18850. "properties": {
  18851. "accountid": {
  18852. "description": "资金账号[外部母账户]",
  18853. "type": "integer"
  18854. },
  18855. "curbuyposition": {
  18856. "description": "期末买头寸",
  18857. "type": "integer"
  18858. },
  18859. "cursellposition": {
  18860. "description": "期末卖头寸",
  18861. "type": "integer"
  18862. },
  18863. "curtdbuyposition": {
  18864. "description": "期末今日买头寸",
  18865. "type": "integer"
  18866. },
  18867. "curtdsellposition": {
  18868. "description": "期末今日卖头寸",
  18869. "type": "integer"
  18870. },
  18871. "curydbuyposition": {
  18872. "description": "期末上日买头寸",
  18873. "type": "integer"
  18874. },
  18875. "curydsellposition": {
  18876. "description": "期末上日卖头寸",
  18877. "type": "integer"
  18878. },
  18879. "decreaseqty": {
  18880. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18881. "type": "integer"
  18882. },
  18883. "fretdbuyposition": {
  18884. "description": "冻结今日买头寸",
  18885. "type": "integer"
  18886. },
  18887. "fretdsellposition": {
  18888. "description": "冻结今日卖头寸",
  18889. "type": "integer"
  18890. },
  18891. "freydbuyposition": {
  18892. "description": "冻结上日买头寸",
  18893. "type": "integer"
  18894. },
  18895. "freydsellposition": {
  18896. "description": "冻结上日卖头寸",
  18897. "type": "integer"
  18898. },
  18899. "goodscode": {
  18900. "description": "商品代码",
  18901. "type": "string"
  18902. },
  18903. "goodsid": {
  18904. "description": "商品id",
  18905. "type": "integer"
  18906. },
  18907. "goodsname": {
  18908. "description": "商品名称",
  18909. "type": "string"
  18910. },
  18911. "hedgeaccountcode": {
  18912. "description": "对冲账号",
  18913. "type": "string"
  18914. },
  18915. "hedgegoodsid": {
  18916. "description": "对冲合约ID",
  18917. "type": "integer"
  18918. },
  18919. "increaseqty": {
  18920. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18921. "type": "integer"
  18922. },
  18923. "marketid": {
  18924. "description": "市场ID",
  18925. "type": "integer"
  18926. },
  18927. "relateduserid": {
  18928. "description": "关联用户id",
  18929. "type": "integer"
  18930. },
  18931. "totalcurqty": {
  18932. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18933. "type": "integer"
  18934. },
  18935. "totalydqty": {
  18936. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18937. "type": "integer"
  18938. },
  18939. "tradedate": {
  18940. "description": "交易日(yyyyMMdd)",
  18941. "type": "string"
  18942. },
  18943. "ydbuyposition": {
  18944. "description": "期初买头寸",
  18945. "type": "integer"
  18946. },
  18947. "ydsellposition": {
  18948. "description": "期初卖头寸",
  18949. "type": "integer"
  18950. }
  18951. }
  18952. },
  18953. "models.ErmcpHedgePositionDetail": {
  18954. "type": "object",
  18955. "properties": {
  18956. "buyorsell": {
  18957. "description": "买卖方向 0-买 1-卖",
  18958. "type": "integer"
  18959. },
  18960. "channelbuildtype": {
  18961. "description": "开平方向 1-建仓 2-平仓",
  18962. "type": "integer"
  18963. },
  18964. "goodscode": {
  18965. "description": "商品代码",
  18966. "type": "string"
  18967. },
  18968. "goodsname": {
  18969. "description": "商品名称",
  18970. "type": "string"
  18971. },
  18972. "hedgegoodsid": {
  18973. "description": "商品id",
  18974. "type": "integer"
  18975. },
  18976. "tradeqty": {
  18977. "description": "数量(成交数量)",
  18978. "type": "integer"
  18979. },
  18980. "tradetime": {
  18981. "description": "时间(成交时间)",
  18982. "type": "string"
  18983. }
  18984. }
  18985. },
  18986. "models.ErmcpHisExposure": {
  18987. "type": "object",
  18988. "properties": {
  18989. "needhedgeexposoure": {
  18990. "description": "应套保敞口",
  18991. "type": "number"
  18992. },
  18993. "reckondate": {
  18994. "description": "日照时期(yyyyMMdd)",
  18995. "type": "string"
  18996. },
  18997. "totalexposure": {
  18998. "description": "总敞口",
  18999. "type": "number"
  19000. }
  19001. }
  19002. },
  19003. "models.ErmcpHisExposureS": {
  19004. "type": "object",
  19005. "properties": {
  19006. "data": {
  19007. "description": "历史敞口",
  19008. "type": "array",
  19009. "items": {
  19010. "$ref": "#/definitions/models.ErmcpHisExposure"
  19011. }
  19012. },
  19013. "enumdicname": {
  19014. "description": "单位名称",
  19015. "type": "string"
  19016. },
  19017. "middlegoodscode": {
  19018. "description": "套保品种代码",
  19019. "type": "string"
  19020. },
  19021. "middlegoodsid": {
  19022. "description": "套保品种ID",
  19023. "type": "integer"
  19024. },
  19025. "middlegoodsname": {
  19026. "description": "套保品种名称",
  19027. "type": "string"
  19028. }
  19029. }
  19030. },
  19031. "models.ErmcpLoginTaAccount": {
  19032. "type": "object",
  19033. "properties": {
  19034. "accountid": {
  19035. "description": "账号id",
  19036. "type": "integer"
  19037. },
  19038. "accountname": {
  19039. "description": "账号名称",
  19040. "type": "string"
  19041. }
  19042. }
  19043. },
  19044. "models.ErmcpLoginUser": {
  19045. "type": "object",
  19046. "properties": {
  19047. "acclist": {
  19048. "description": "关联资金账号",
  19049. "type": "array",
  19050. "items": {
  19051. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19052. }
  19053. },
  19054. "accountname": {
  19055. "description": "用户名称",
  19056. "type": "string"
  19057. },
  19058. "clientroleid": {
  19059. "description": "角色id(usertype=2)",
  19060. "type": "integer"
  19061. },
  19062. "createtime": {
  19063. "description": "创建时间",
  19064. "type": "string"
  19065. },
  19066. "logincode": {
  19067. "description": "登录代码",
  19068. "type": "string"
  19069. },
  19070. "loginid": {
  19071. "description": "登录id(LOGINID)",
  19072. "type": "integer"
  19073. },
  19074. "loginname": {
  19075. "description": "登录名称(loginaccount表中的accountname字段)",
  19076. "type": "string"
  19077. },
  19078. "loginstatus": {
  19079. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19080. "type": "integer"
  19081. },
  19082. "memberuserid": {
  19083. "description": "所属会员id",
  19084. "type": "integer"
  19085. },
  19086. "mobile": {
  19087. "description": "手机号",
  19088. "type": "string"
  19089. },
  19090. "modifytime": {
  19091. "description": "修改时间",
  19092. "type": "string"
  19093. },
  19094. "password": {
  19095. "description": "密码(不可解密)",
  19096. "type": "string"
  19097. },
  19098. "rolename": {
  19099. "description": "角色名称",
  19100. "type": "string"
  19101. },
  19102. "rolestatus": {
  19103. "description": "角色状态 1-启用 2-停用",
  19104. "type": "integer"
  19105. },
  19106. "roletype": {
  19107. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19108. "type": "string"
  19109. },
  19110. "userid": {
  19111. "description": "用户id",
  19112. "type": "integer"
  19113. },
  19114. "usertype": {
  19115. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19116. "type": "integer"
  19117. }
  19118. }
  19119. },
  19120. "models.ErmcpLoginUserEx": {
  19121. "type": "object",
  19122. "properties": {
  19123. "accountstatus": {
  19124. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19125. "type": "integer"
  19126. },
  19127. "mobile": {
  19128. "description": "手机号",
  19129. "type": "string"
  19130. },
  19131. "querytype": {
  19132. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19133. "type": "integer"
  19134. },
  19135. "roleid": {
  19136. "description": "角色id(交易账户-\u003e用户id)",
  19137. "type": "integer"
  19138. },
  19139. "rolename": {
  19140. "description": "角色名称(交易账户-\u003e用户名称)",
  19141. "type": "string"
  19142. },
  19143. "userlist": {
  19144. "description": "用户列表",
  19145. "type": "array",
  19146. "items": {
  19147. "$ref": "#/definitions/models.ErmcpLoginUser"
  19148. }
  19149. },
  19150. "usertype": {
  19151. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19152. "type": "integer"
  19153. }
  19154. }
  19155. },
  19156. "models.ErmcpMiddleGoodsChangeLog": {
  19157. "type": "object",
  19158. "properties": {
  19159. "aftervalue": {
  19160. "description": "变更后",
  19161. "type": "number"
  19162. },
  19163. "applyid": {
  19164. "description": "操作人",
  19165. "type": "integer"
  19166. },
  19167. "applyname": {
  19168. "description": "操作人名称",
  19169. "type": "string"
  19170. },
  19171. "applysrc": {
  19172. "description": "操作来源 - 1:管理端 2:终端",
  19173. "type": "integer"
  19174. },
  19175. "beforevalue": {
  19176. "description": "变更前",
  19177. "type": "number"
  19178. },
  19179. "changelogtype": {
  19180. "description": "变更流水类型 - 1:套保比率变更",
  19181. "type": "integer"
  19182. },
  19183. "handlestatus": {
  19184. "description": "处理状态",
  19185. "type": "integer"
  19186. },
  19187. "logdatetime": {
  19188. "description": "流水日期",
  19189. "type": "string"
  19190. },
  19191. "logid": {
  19192. "description": "流水ID",
  19193. "type": "integer"
  19194. },
  19195. "logremark": {
  19196. "description": "流水备注",
  19197. "type": "string"
  19198. },
  19199. "middlegoodsid": {
  19200. "description": "套保品种ID",
  19201. "type": "integer"
  19202. },
  19203. "tradedate": {
  19204. "description": "交易日(yyyyMMdd)",
  19205. "type": "string"
  19206. },
  19207. "updatetime": {
  19208. "description": "更新时间",
  19209. "type": "string"
  19210. }
  19211. }
  19212. },
  19213. "models.ErmcpMiddleGoodsDetail": {
  19214. "type": "object",
  19215. "properties": {
  19216. "cvList": {
  19217. "description": "期货品种折算列表",
  19218. "type": "array",
  19219. "items": {
  19220. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19221. }
  19222. },
  19223. "mg": {
  19224. "description": "套保品种基本信息",
  19225. "type": "object",
  19226. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19227. },
  19228. "wrcList": {
  19229. "description": "现货品种列表(现货商品折算配置)",
  19230. "type": "array",
  19231. "items": {
  19232. "$ref": "#/definitions/models.WRSConverTDetail"
  19233. }
  19234. }
  19235. }
  19236. },
  19237. "models.ErmcpMiddleGoodsModel": {
  19238. "type": "object",
  19239. "properties": {
  19240. "areauserid": {
  19241. "description": "机构用户ID",
  19242. "type": "integer"
  19243. },
  19244. "createtime": {
  19245. "description": "修改时间",
  19246. "type": "string"
  19247. },
  19248. "enumdicname": {
  19249. "description": "单位名称",
  19250. "type": "string"
  19251. },
  19252. "evaluateratio": {
  19253. "description": "估价系数",
  19254. "type": "number"
  19255. },
  19256. "goodsgroupid": {
  19257. "description": "关联期货品种ID",
  19258. "type": "integer"
  19259. },
  19260. "goodsunitid": {
  19261. "description": "单位ID",
  19262. "type": "integer"
  19263. },
  19264. "isvalid": {
  19265. "description": "状态 0-无效(停用) 1-有效(正常)",
  19266. "type": "integer"
  19267. },
  19268. "middlegoodscode": {
  19269. "description": "套保品种代码",
  19270. "type": "string"
  19271. },
  19272. "middlegoodsid": {
  19273. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19274. "type": "integer"
  19275. },
  19276. "middlegoodsname": {
  19277. "description": "套保品种名称",
  19278. "type": "string"
  19279. },
  19280. "modifytime": {
  19281. "description": "修改时间",
  19282. "type": "string"
  19283. },
  19284. "needarbitrageratio": {
  19285. "description": "套利比例",
  19286. "type": "number"
  19287. },
  19288. "needhedgeratio": {
  19289. "description": "套保比率",
  19290. "type": "number"
  19291. },
  19292. "qtydecimalplace": {
  19293. "description": "数量小数位",
  19294. "type": "integer"
  19295. },
  19296. "relatedgoodsid": {
  19297. "description": "关联交易商品ID",
  19298. "type": "integer"
  19299. },
  19300. "relatedgoodstype": {
  19301. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19302. "type": "integer"
  19303. },
  19304. "remark": {
  19305. "description": "备注",
  19306. "type": "string"
  19307. }
  19308. }
  19309. },
  19310. "models.ErmcpMiddlegoodsRelateGoods": {
  19311. "type": "object",
  19312. "properties": {
  19313. "agreeunit": {
  19314. "description": "合约乘数",
  19315. "type": "number"
  19316. },
  19317. "convertratio": {
  19318. "description": "折算系数",
  19319. "type": "number"
  19320. },
  19321. "enumdicname": {
  19322. "description": "单位名称(交易商品)",
  19323. "type": "string"
  19324. },
  19325. "goodscode": {
  19326. "description": "交易商品代码",
  19327. "type": "string"
  19328. },
  19329. "goodsgroupid": {
  19330. "description": "交易品种id",
  19331. "type": "integer"
  19332. },
  19333. "goodsid": {
  19334. "description": "商品Id",
  19335. "type": "integer"
  19336. },
  19337. "goodsname": {
  19338. "description": "交易商品名称",
  19339. "type": "string"
  19340. },
  19341. "goodunitid": {
  19342. "description": "交易商品单位id",
  19343. "type": "integer"
  19344. },
  19345. "middlegoodsid": {
  19346. "description": "套保商品id",
  19347. "type": "integer"
  19348. },
  19349. "middlegoodsname": {
  19350. "description": "套保商品名称",
  19351. "type": "string"
  19352. },
  19353. "middlegoodsswcode": {
  19354. "description": "套保商品代码",
  19355. "type": "string"
  19356. },
  19357. "needarbitrageratio": {
  19358. "description": "应套利比例",
  19359. "type": "number"
  19360. },
  19361. "needhedgeratio": {
  19362. "description": "应套保比例",
  19363. "type": "number"
  19364. }
  19365. }
  19366. },
  19367. "models.ErmcpOPLogModel": {
  19368. "type": "object",
  19369. "properties": {
  19370. "aftervalue": {
  19371. "description": "变更后",
  19372. "type": "number"
  19373. },
  19374. "applyid": {
  19375. "description": "操作人ID",
  19376. "type": "string"
  19377. },
  19378. "applyname": {
  19379. "description": "操作人名称",
  19380. "type": "string"
  19381. },
  19382. "beforevalue": {
  19383. "description": "变更前",
  19384. "type": "number"
  19385. },
  19386. "biztype": {
  19387. "description": "业务类型 - 1:套保计划 2:现货合同",
  19388. "type": "integer"
  19389. },
  19390. "contracttype": {
  19391. "description": "现货合同类型 - 1:采购 -1:销售",
  19392. "type": "integer"
  19393. },
  19394. "logvalue": {
  19395. "description": "数值",
  19396. "type": "number"
  19397. },
  19398. "operatelogtype": {
  19399. "description": "操作流水类型",
  19400. "type": "integer"
  19401. },
  19402. "operatelogtypedesc": {
  19403. "description": "操作流水类型名称",
  19404. "type": "string"
  19405. },
  19406. "relatedid": {
  19407. "description": "现货合同ID\\套保计划",
  19408. "type": "string"
  19409. },
  19410. "updatetime": {
  19411. "description": "更新时间",
  19412. "type": "string"
  19413. }
  19414. }
  19415. },
  19416. "models.ErmcpPendingAudit": {
  19417. "type": "object",
  19418. "properties": {
  19419. "areastockqty": {
  19420. "description": "待审核数量: 库存申请",
  19421. "type": "integer"
  19422. },
  19423. "businessdjqty": {
  19424. "description": "待审核数量: 点价",
  19425. "type": "integer"
  19426. },
  19427. "businessfpqty": {
  19428. "description": "待审核数量: 发票",
  19429. "type": "integer"
  19430. },
  19431. "businessjsqty": {
  19432. "description": "待审核数量: 结算",
  19433. "type": "integer"
  19434. },
  19435. "businesskxqty": {
  19436. "description": "待审核数量: 款项",
  19437. "type": "integer"
  19438. },
  19439. "hedgeplanqty": {
  19440. "description": "待审核数量: 套保计划",
  19441. "type": "integer"
  19442. },
  19443. "spotcontractqty": {
  19444. "description": "待审核数量: 现货合同",
  19445. "type": "integer"
  19446. },
  19447. "userqty": {
  19448. "description": "待审核数量: 用户",
  19449. "type": "integer"
  19450. }
  19451. }
  19452. },
  19453. "models.ErmcpRealExposureModel": {
  19454. "type": "object",
  19455. "properties": {
  19456. "AreaUserID": {
  19457. "description": "所属机构",
  19458. "type": "integer"
  19459. },
  19460. "BuyFutureQty": {
  19461. "description": "买入期货数量",
  19462. "type": "number"
  19463. },
  19464. "BuyPlanQty": {
  19465. "description": "采购计划数量",
  19466. "type": "number"
  19467. },
  19468. "BuyPricedQty": {
  19469. "description": "采购合同已定价数量",
  19470. "type": "number"
  19471. },
  19472. "MiddleGoodsCode": {
  19473. "description": "套保品种代码",
  19474. "type": "string"
  19475. },
  19476. "MiddleGoodsHedgeRatio": {
  19477. "description": "套保比例",
  19478. "type": "number"
  19479. },
  19480. "MiddleGoodsID": {
  19481. "description": "套保品种",
  19482. "type": "integer"
  19483. },
  19484. "MiddleGoodsName": {
  19485. "description": "套保品种名称",
  19486. "type": "string"
  19487. },
  19488. "NeedHedgeExposoure": {
  19489. "description": "应套保敞口(套保敞口)",
  19490. "type": "number"
  19491. },
  19492. "NeedHedgeRatio": {
  19493. "description": "应套保敞口比例",
  19494. "type": "number"
  19495. },
  19496. "OriBuyFutureQty": {
  19497. "description": "期初买入期货数量",
  19498. "type": "number"
  19499. },
  19500. "OriBuyPlanQty": {
  19501. "description": "期初采购计划数量",
  19502. "type": "number"
  19503. },
  19504. "OriBuyPricedQty": {
  19505. "description": "期初采购合同已定价数量",
  19506. "type": "number"
  19507. },
  19508. "OriSellFutureQty": {
  19509. "description": "期初卖出期货数量",
  19510. "type": "number"
  19511. },
  19512. "OriSellPlanQty": {
  19513. "description": "期初销售计划数量",
  19514. "type": "number"
  19515. },
  19516. "OriSellPricedQty": {
  19517. "description": "期初销售合同已定价数量",
  19518. "type": "number"
  19519. },
  19520. "SellFutureQty": {
  19521. "description": "卖出期货数量",
  19522. "type": "number"
  19523. },
  19524. "SellPlanQty": {
  19525. "description": "销售计划数量",
  19526. "type": "number"
  19527. },
  19528. "SellPricedQty": {
  19529. "description": "销售合同已定价数量",
  19530. "type": "number"
  19531. },
  19532. "TotalExposure": {
  19533. "description": "总敞口",
  19534. "type": "number"
  19535. },
  19536. "TotalFutureQty": {
  19537. "description": "期货总量",
  19538. "type": "number"
  19539. },
  19540. "TotalHedgeRatio": {
  19541. "description": "敞口比例",
  19542. "type": "number"
  19543. },
  19544. "TotalNeedHedgeQty": {
  19545. "description": "应套保总量(现货应套保总量)",
  19546. "type": "number"
  19547. },
  19548. "TotalSpotQty": {
  19549. "description": "现货总量",
  19550. "type": "number"
  19551. },
  19552. "arbitrageqty": {
  19553. "description": "套利量",
  19554. "type": "number"
  19555. },
  19556. "diffArbitrageQty": {
  19557. "description": "套利变动量",
  19558. "type": "number"
  19559. },
  19560. "diffExposoureQty": {
  19561. "description": "变动量(套保敞口)",
  19562. "type": "number"
  19563. },
  19564. "diffFutuQty": {
  19565. "description": "变动量(期货总量)",
  19566. "type": "number"
  19567. },
  19568. "diffHedgeQty": {
  19569. "description": "套保变动量",
  19570. "type": "number"
  19571. },
  19572. "diffQty": {
  19573. "description": "变动量(总敞口)",
  19574. "type": "number"
  19575. },
  19576. "diffSpotHedgeQty": {
  19577. "description": "变动量(现货应套保总量)",
  19578. "type": "number"
  19579. },
  19580. "diffSpotQty": {
  19581. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19582. "type": "number"
  19583. },
  19584. "enumdicname": {
  19585. "description": "单位名称",
  19586. "type": "string"
  19587. },
  19588. "hedgeqty": {
  19589. "description": "套保量",
  19590. "type": "number"
  19591. },
  19592. "needarbitrageqty": {
  19593. "description": "应套利量",
  19594. "type": "number"
  19595. },
  19596. "needarbitrageratio": {
  19597. "description": "套利比例",
  19598. "type": "number"
  19599. },
  19600. "needhedgeqty": {
  19601. "description": "应套保量",
  19602. "type": "number"
  19603. },
  19604. "oriTotalFutuQty": {
  19605. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19606. "type": "number"
  19607. },
  19608. "oriTotalSpotQty": {
  19609. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19610. "type": "number"
  19611. },
  19612. "oriarbitrageqty": {
  19613. "description": "期初套利量",
  19614. "type": "number"
  19615. },
  19616. "orihedgeqty": {
  19617. "description": "期初套保量",
  19618. "type": "number"
  19619. },
  19620. "orineedhedgeexposoure": {
  19621. "description": "期初套保敞口",
  19622. "type": "number"
  19623. },
  19624. "oritotalexposure": {
  19625. "description": "期初总敞口",
  19626. "type": "number"
  19627. },
  19628. "oritotalfutureqty": {
  19629. "description": "期初期货总量",
  19630. "type": "number"
  19631. },
  19632. "oritotalneedhedgeqty": {
  19633. "description": "期初现货应套保量",
  19634. "type": "number"
  19635. }
  19636. }
  19637. },
  19638. "models.ErmcpRole": {
  19639. "type": "object",
  19640. "properties": {
  19641. "areauserid": {
  19642. "description": "所属机构",
  19643. "type": "integer"
  19644. },
  19645. "autoid": {
  19646. "description": "角色ID(自增ID)",
  19647. "type": "integer"
  19648. },
  19649. "modifierid": {
  19650. "description": "修改人(创建人)",
  19651. "type": "integer"
  19652. },
  19653. "modifiername": {
  19654. "description": "修改人名称",
  19655. "type": "string"
  19656. },
  19657. "modifytime": {
  19658. "description": "修改时间(创建时间)",
  19659. "type": "string"
  19660. },
  19661. "rolename": {
  19662. "description": "角色名称",
  19663. "type": "string"
  19664. },
  19665. "rolestatus": {
  19666. "description": "角色状态 - 1:启用 2:停用",
  19667. "type": "integer"
  19668. },
  19669. "roletype": {
  19670. "description": "角色类型 - 1- 管理端 2- 交易端",
  19671. "type": "integer"
  19672. }
  19673. }
  19674. },
  19675. "models.ErmcpRoleMenu": {
  19676. "type": "object",
  19677. "properties": {
  19678. "iconame": {
  19679. "description": "菜单图标",
  19680. "type": "string"
  19681. },
  19682. "ishadrole": {
  19683. "description": "是否有权限",
  19684. "type": "boolean"
  19685. },
  19686. "menutype": {
  19687. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19688. "type": "integer"
  19689. },
  19690. "parentcode": {
  19691. "description": "上级资源代码",
  19692. "type": "string"
  19693. },
  19694. "remark": {
  19695. "description": "菜单备注",
  19696. "type": "string"
  19697. },
  19698. "resourcecode": {
  19699. "description": "菜单代码",
  19700. "type": "string"
  19701. },
  19702. "resourcelevel": {
  19703. "description": "级别",
  19704. "type": "integer"
  19705. },
  19706. "resourcename": {
  19707. "description": "菜单名称",
  19708. "type": "string"
  19709. },
  19710. "roleid": {
  19711. "description": "角色id",
  19712. "type": "integer"
  19713. },
  19714. "sort": {
  19715. "description": "排序",
  19716. "type": "integer"
  19717. },
  19718. "url": {
  19719. "description": "URL",
  19720. "type": "string"
  19721. },
  19722. "userid": {
  19723. "description": "用户id",
  19724. "type": "integer"
  19725. }
  19726. }
  19727. },
  19728. "models.ErmcpRoleMenuEx": {
  19729. "type": "object",
  19730. "properties": {
  19731. "menu": {
  19732. "description": "父级菜单",
  19733. "type": "object",
  19734. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19735. },
  19736. "subMenu": {
  19737. "description": "子级菜单",
  19738. "type": "array",
  19739. "items": {
  19740. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19741. }
  19742. }
  19743. }
  19744. },
  19745. "models.ErmcpTaAccount": {
  19746. "type": "object",
  19747. "properties": {
  19748. "accountid": {
  19749. "description": "账户id",
  19750. "type": "integer"
  19751. },
  19752. "accountname": {
  19753. "description": "账户名称",
  19754. "type": "string"
  19755. },
  19756. "currencyid": {
  19757. "description": "币种id",
  19758. "type": "integer"
  19759. },
  19760. "hedgeaccountcode": {
  19761. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19762. "type": "string"
  19763. },
  19764. "ismain": {
  19765. "description": "是否主账户 0-否 1-是",
  19766. "type": "integer"
  19767. },
  19768. "parentaccountid": {
  19769. "description": "父账户id",
  19770. "type": "integer"
  19771. },
  19772. "relateduserid": {
  19773. "description": "关联userid",
  19774. "type": "integer"
  19775. },
  19776. "tradefeetmpid": {
  19777. "description": "手续费模板id",
  19778. "type": "integer"
  19779. },
  19780. "tradefeetmpname": {
  19781. "description": "手续费模板名称",
  19782. "type": "string"
  19783. },
  19784. "trademargintmpid": {
  19785. "description": "保证金模板id",
  19786. "type": "integer"
  19787. },
  19788. "trademargintmpname": {
  19789. "description": "保证金模板名称",
  19790. "type": "string"
  19791. },
  19792. "traderatetmpid": {
  19793. "description": "汇率模板id",
  19794. "type": "integer"
  19795. },
  19796. "traderatetmpname": {
  19797. "description": "汇率模板名称",
  19798. "type": "string"
  19799. },
  19800. "tradestatus": {
  19801. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19802. "type": "integer"
  19803. },
  19804. "userid": {
  19805. "description": "用户id",
  19806. "type": "integer"
  19807. }
  19808. }
  19809. },
  19810. "models.ErmcpTaAccountEx": {
  19811. "type": "object",
  19812. "properties": {
  19813. "mainAcc": {
  19814. "description": "主账号",
  19815. "type": "object",
  19816. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19817. },
  19818. "subacclist": {
  19819. "description": "子账号列表",
  19820. "type": "array",
  19821. "items": {
  19822. "$ref": "#/definitions/models.ErmcpTaAccount"
  19823. }
  19824. }
  19825. }
  19826. },
  19827. "models.ErmcpTaAccountInfo": {
  19828. "type": "object",
  19829. "properties": {
  19830. "accountid": {
  19831. "description": "资金账户ID",
  19832. "type": "integer"
  19833. },
  19834. "accountname": {
  19835. "description": "账户名称",
  19836. "type": "string"
  19837. },
  19838. "balance": {
  19839. "description": "期初余额",
  19840. "type": "number"
  19841. },
  19842. "capitalbalance": {
  19843. "description": "本金余额[外部子账户实际出入金余额]",
  19844. "type": "number"
  19845. },
  19846. "closepl": {
  19847. "description": "今日平仓盈亏",
  19848. "type": "number"
  19849. },
  19850. "creditdecrease": {
  19851. "description": "今日授信减少",
  19852. "type": "number"
  19853. },
  19854. "creditincrease": {
  19855. "description": "今日授信增加",
  19856. "type": "number"
  19857. },
  19858. "curdebt": {
  19859. "description": "期末欠款",
  19860. "type": "number"
  19861. },
  19862. "currencyid": {
  19863. "description": "货币ID",
  19864. "type": "integer"
  19865. },
  19866. "currentbalance": {
  19867. "description": "期末余额",
  19868. "type": "number"
  19869. },
  19870. "freezecharge": {
  19871. "description": "手续费冻结",
  19872. "type": "number"
  19873. },
  19874. "freezemargin": {
  19875. "description": "冻结保证金",
  19876. "type": "number"
  19877. },
  19878. "fromaccountid": {
  19879. "description": "所属上级账户",
  19880. "type": "integer"
  19881. },
  19882. "inamount": {
  19883. "description": "今日入金金额(包括三方入金)",
  19884. "type": "number"
  19885. },
  19886. "ismain": {
  19887. "description": "是否母账号 0:不是母账户 1:是母账户",
  19888. "type": "integer"
  19889. },
  19890. "mortgagecredit": {
  19891. "description": "授信金额",
  19892. "type": "number"
  19893. },
  19894. "oridebt": {
  19895. "description": "期初欠款",
  19896. "type": "number"
  19897. },
  19898. "orifreezecharge": {
  19899. "description": "期初手续费冻结",
  19900. "type": "number"
  19901. },
  19902. "orifreezemargin": {
  19903. "description": "期初冻结保证金",
  19904. "type": "number"
  19905. },
  19906. "orimortgagecredit": {
  19907. "description": "期初授信金额",
  19908. "type": "number"
  19909. },
  19910. "oriothercredit": {
  19911. "description": "期初其它授信金额",
  19912. "type": "number"
  19913. },
  19914. "oriotherfreezemargin": {
  19915. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19916. "type": "number"
  19917. },
  19918. "orioutamountfreeze": {
  19919. "description": "期初出金冻结",
  19920. "type": "number"
  19921. },
  19922. "oriusedmargin": {
  19923. "description": "期初占用保证金",
  19924. "type": "number"
  19925. },
  19926. "othercredit": {
  19927. "description": "其它授信金额",
  19928. "type": "number"
  19929. },
  19930. "othercreditdecrease": {
  19931. "description": "今日其它授信减少",
  19932. "type": "number"
  19933. },
  19934. "othercreditincrease": {
  19935. "description": "今日其它授信增加",
  19936. "type": "number"
  19937. },
  19938. "otherfreezemargin": {
  19939. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19940. "type": "number"
  19941. },
  19942. "outamount": {
  19943. "description": "今日出金金额(包括三方出金)",
  19944. "type": "number"
  19945. },
  19946. "outamountfreeze": {
  19947. "description": "出金冻结",
  19948. "type": "number"
  19949. },
  19950. "outthreshold": {
  19951. "description": "出金阈值",
  19952. "type": "number"
  19953. },
  19954. "parentaccountid": {
  19955. "description": "所属根账号",
  19956. "type": "integer"
  19957. },
  19958. "paycharge": {
  19959. "description": "今日手续费支出",
  19960. "type": "number"
  19961. },
  19962. "relateduserid": {
  19963. "description": "关联用户",
  19964. "type": "integer"
  19965. },
  19966. "signstatus": {
  19967. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19968. "type": "integer"
  19969. },
  19970. "sublevelpath": {
  19971. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19972. "type": "string"
  19973. },
  19974. "taaccounttype": {
  19975. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19976. "type": "integer"
  19977. },
  19978. "thirdinamount": {
  19979. "description": "今日三方入金",
  19980. "type": "number"
  19981. },
  19982. "thirdoutamount": {
  19983. "description": "今日三方出金",
  19984. "type": "number"
  19985. },
  19986. "tradestatus": {
  19987. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19988. "type": "integer"
  19989. },
  19990. "transferamount": {
  19991. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19992. "type": "number"
  19993. },
  19994. "usedmargin": {
  19995. "description": "占用保证金",
  19996. "type": "number"
  19997. },
  19998. "userid": {
  19999. "description": "用户ID",
  20000. "type": "integer"
  20001. }
  20002. }
  20003. },
  20004. "models.ErmcpTaAccountM": {
  20005. "type": "object",
  20006. "properties": {
  20007. "accountid": {
  20008. "description": "账户id",
  20009. "type": "integer"
  20010. },
  20011. "accountname": {
  20012. "description": "账户名称",
  20013. "type": "string"
  20014. },
  20015. "currencyid": {
  20016. "description": "币种id",
  20017. "type": "integer"
  20018. },
  20019. "fcid": {
  20020. "description": "期货公司id",
  20021. "type": "integer"
  20022. },
  20023. "fcname": {
  20024. "description": "期货公司代码",
  20025. "type": "string"
  20026. },
  20027. "hedgeaccountcode": {
  20028. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20029. "type": "string"
  20030. },
  20031. "ismain": {
  20032. "description": "是否主账户 0-否 1-是",
  20033. "type": "integer"
  20034. },
  20035. "parentaccountid": {
  20036. "description": "父账户id",
  20037. "type": "integer"
  20038. },
  20039. "relateduserid": {
  20040. "description": "关联userid",
  20041. "type": "integer"
  20042. },
  20043. "tradefeetmpid": {
  20044. "description": "手续费模板id",
  20045. "type": "integer"
  20046. },
  20047. "tradefeetmpname": {
  20048. "description": "手续费模板名称",
  20049. "type": "string"
  20050. },
  20051. "trademargintmpid": {
  20052. "description": "保证金模板id",
  20053. "type": "integer"
  20054. },
  20055. "trademargintmpname": {
  20056. "description": "保证金模板名称",
  20057. "type": "string"
  20058. },
  20059. "traderatetmpid": {
  20060. "description": "汇率模板id",
  20061. "type": "integer"
  20062. },
  20063. "traderatetmpname": {
  20064. "description": "汇率模板名称",
  20065. "type": "string"
  20066. },
  20067. "tradestatus": {
  20068. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20069. "type": "integer"
  20070. },
  20071. "userid": {
  20072. "description": "用户id",
  20073. "type": "integer"
  20074. }
  20075. }
  20076. },
  20077. "models.ErmcpTradeConfigTMP": {
  20078. "type": "object",
  20079. "properties": {
  20080. "areauserid": {
  20081. "description": "所属机构",
  20082. "type": "integer"
  20083. },
  20084. "basiccurrencyid": {
  20085. "description": "基本币种ID[汇率] - 目标币种",
  20086. "type": "integer"
  20087. },
  20088. "mainaccountid": {
  20089. "description": "主账户ID",
  20090. "type": "integer"
  20091. },
  20092. "modifierid": {
  20093. "description": "修改人",
  20094. "type": "integer"
  20095. },
  20096. "remark": {
  20097. "description": "备注",
  20098. "type": "string"
  20099. },
  20100. "tradeconfigtmpid": {
  20101. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20102. "type": "integer"
  20103. },
  20104. "tradeconfigtmpname": {
  20105. "description": "交易配置模板名称",
  20106. "type": "string"
  20107. },
  20108. "tradeconfigtmptype": {
  20109. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20110. "type": "integer"
  20111. },
  20112. "updatetime": {
  20113. "description": "更新时间",
  20114. "type": "string"
  20115. }
  20116. }
  20117. },
  20118. "models.ErmcpUserModel": {
  20119. "type": "object",
  20120. "properties": {
  20121. "address": {
  20122. "description": "通讯地址",
  20123. "type": "string"
  20124. },
  20125. "attachment1": {
  20126. "description": "附件1",
  20127. "type": "string"
  20128. },
  20129. "audittime": {
  20130. "description": "审核时间",
  20131. "type": "string"
  20132. },
  20133. "cardbackphotourl": {
  20134. "description": "证件反面图片地址",
  20135. "type": "string"
  20136. },
  20137. "cardfrontphotourl": {
  20138. "description": "证件正面图片地址",
  20139. "type": "string"
  20140. },
  20141. "cardnum": {
  20142. "description": "证件号码",
  20143. "type": "string"
  20144. },
  20145. "cardtype": {
  20146. "description": "证件类型",
  20147. "type": "integer"
  20148. },
  20149. "cardtypename": {
  20150. "description": "证件类型名称",
  20151. "type": "string"
  20152. },
  20153. "cityid": {
  20154. "description": "市",
  20155. "type": "integer"
  20156. },
  20157. "contactname": {
  20158. "description": "联系人",
  20159. "type": "string"
  20160. },
  20161. "countryid": {
  20162. "description": "国家",
  20163. "type": "integer"
  20164. },
  20165. "createtime": {
  20166. "description": "创建时间",
  20167. "type": "string"
  20168. },
  20169. "customername": {
  20170. "description": "企业名称",
  20171. "type": "string"
  20172. },
  20173. "districtid": {
  20174. "description": "区域",
  20175. "type": "integer"
  20176. },
  20177. "email": {
  20178. "description": "邮件",
  20179. "type": "string"
  20180. },
  20181. "legalpersonname": {
  20182. "description": "法人姓名(企业)",
  20183. "type": "string"
  20184. },
  20185. "memberuserid": {
  20186. "description": "所属机构ID",
  20187. "type": "integer"
  20188. },
  20189. "mobile": {
  20190. "description": "手机号码",
  20191. "type": "string"
  20192. },
  20193. "modifytime": {
  20194. "description": "修改时间",
  20195. "type": "string"
  20196. },
  20197. "nickname": {
  20198. "description": "昵称",
  20199. "type": "string"
  20200. },
  20201. "provinceid": {
  20202. "description": "省",
  20203. "type": "integer"
  20204. },
  20205. "remark": {
  20206. "description": "备注",
  20207. "type": "string"
  20208. },
  20209. "status": {
  20210. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20211. "type": "integer"
  20212. },
  20213. "statusdesc": {
  20214. "description": "账户状态中文描述",
  20215. "type": "string"
  20216. },
  20217. "taxpayernum": {
  20218. "description": "纳税人识别号",
  20219. "type": "string"
  20220. },
  20221. "telphone": {
  20222. "description": "联系电话",
  20223. "type": "string"
  20224. },
  20225. "userid": {
  20226. "description": "用户ID",
  20227. "type": "integer"
  20228. },
  20229. "userinfotype": {
  20230. "description": "客户类型",
  20231. "type": "string"
  20232. }
  20233. }
  20234. },
  20235. "models.ErmcpWareHouseInfo": {
  20236. "type": "object",
  20237. "properties": {
  20238. "address": {
  20239. "description": "详细地址",
  20240. "type": "string"
  20241. },
  20242. "areauserid": {
  20243. "description": "所属机构",
  20244. "type": "integer"
  20245. },
  20246. "autoid": {
  20247. "description": "自增ID(仓库ID)",
  20248. "type": "integer"
  20249. },
  20250. "cityid": {
  20251. "description": "市",
  20252. "type": "integer"
  20253. },
  20254. "contactname": {
  20255. "description": "联系人",
  20256. "type": "string"
  20257. },
  20258. "contactnum": {
  20259. "description": "联系电话",
  20260. "type": "string"
  20261. },
  20262. "countryid": {
  20263. "description": "国家",
  20264. "type": "integer"
  20265. },
  20266. "createtime": {
  20267. "description": "创建时间",
  20268. "type": "string"
  20269. },
  20270. "districtid": {
  20271. "description": "区",
  20272. "type": "integer"
  20273. },
  20274. "hasvideo": {
  20275. "description": "是否有视频 - 0:无 1:有",
  20276. "type": "integer"
  20277. },
  20278. "provinceid": {
  20279. "description": "省",
  20280. "type": "integer"
  20281. },
  20282. "remark": {
  20283. "description": "审核备注",
  20284. "type": "string"
  20285. },
  20286. "videourl": {
  20287. "description": "视频地址",
  20288. "type": "string"
  20289. },
  20290. "warehousecode": {
  20291. "description": "仓库代码",
  20292. "type": "string"
  20293. },
  20294. "warehousename": {
  20295. "description": "仓库名称",
  20296. "type": "string"
  20297. },
  20298. "warehousestatus": {
  20299. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20300. "type": "integer"
  20301. },
  20302. "warehousetype": {
  20303. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20304. "type": "integer"
  20305. }
  20306. }
  20307. },
  20308. "models.Externalexchange": {
  20309. "type": "object",
  20310. "required": [
  20311. "autoid"
  20312. ],
  20313. "properties": {
  20314. "autoid": {
  20315. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20316. "type": "integer"
  20317. },
  20318. "exchangefullname": {
  20319. "description": "外部交易所全称",
  20320. "type": "string"
  20321. },
  20322. "exexchangecode": {
  20323. "description": "外部交易所代码",
  20324. "type": "string"
  20325. },
  20326. "exexchangename": {
  20327. "description": "外部交易所名称(简称)",
  20328. "type": "string"
  20329. },
  20330. "ismarketprice": {
  20331. "description": "是否支持市价 - 0:不支持 1:支持",
  20332. "type": "integer"
  20333. },
  20334. "quotegear": {
  20335. "description": "行情档位(1-10)",
  20336. "type": "integer"
  20337. },
  20338. "showbrokerflag": {
  20339. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20340. "type": "integer"
  20341. },
  20342. "updatetime": {
  20343. "description": "更新时间",
  20344. "type": "string"
  20345. }
  20346. }
  20347. },
  20348. "models.Funcmenulist": {
  20349. "type": "object",
  20350. "required": [
  20351. "resourcecode"
  20352. ],
  20353. "properties": {
  20354. "iconame": {
  20355. "description": "菜单图标",
  20356. "type": "string"
  20357. },
  20358. "menutype": {
  20359. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20360. "type": "integer"
  20361. },
  20362. "parentcode": {
  20363. "description": "上级资源代码",
  20364. "type": "string"
  20365. },
  20366. "remark": {
  20367. "description": "备注",
  20368. "type": "string"
  20369. },
  20370. "resourcecode": {
  20371. "description": "资源代码",
  20372. "type": "string"
  20373. },
  20374. "resourcelevel": {
  20375. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20376. "type": "integer"
  20377. },
  20378. "resourcename": {
  20379. "description": "资源名",
  20380. "type": "string"
  20381. },
  20382. "sort": {
  20383. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20384. "type": "integer"
  20385. },
  20386. "url": {
  20387. "description": "URL",
  20388. "type": "string"
  20389. }
  20390. }
  20391. },
  20392. "models.Goods": {
  20393. "type": "object",
  20394. "required": [
  20395. "goodscode",
  20396. "goodsid",
  20397. "goodsname",
  20398. "marketid"
  20399. ],
  20400. "properties": {
  20401. "agreeunit": {
  20402. "description": "合约单位",
  20403. "type": "number"
  20404. },
  20405. "areauserid": {
  20406. "description": "所属机构",
  20407. "type": "integer"
  20408. },
  20409. "auditaccountid": {
  20410. "description": "审核操作员账号",
  20411. "type": "integer"
  20412. },
  20413. "audittime": {
  20414. "description": "审核时间",
  20415. "type": "string"
  20416. },
  20417. "cancelaccountid": {
  20418. "description": "注销操作员账号",
  20419. "type": "integer"
  20420. },
  20421. "canceltime": {
  20422. "description": "注销时间",
  20423. "type": "string"
  20424. },
  20425. "closepricemode": {
  20426. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20427. "type": "integer"
  20428. },
  20429. "closepriceparam": {
  20430. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20431. "type": "number"
  20432. },
  20433. "createtime": {
  20434. "description": "创建时间",
  20435. "type": "string"
  20436. },
  20437. "creatorid": {
  20438. "description": "创建人",
  20439. "type": "integer"
  20440. },
  20441. "currencyid": {
  20442. "description": "报价货币ID",
  20443. "type": "integer"
  20444. },
  20445. "cutmode": {
  20446. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20447. "type": "integer"
  20448. },
  20449. "decimalplace": {
  20450. "description": "报价小数位",
  20451. "type": "integer"
  20452. },
  20453. "delistingdate": {
  20454. "description": "商品退市时间(状态:退市) -- 已作废",
  20455. "type": "string"
  20456. },
  20457. "delistingmode": {
  20458. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20459. "type": "integer"
  20460. },
  20461. "deliveryflag": {
  20462. "description": "交割标志 - 0:不可交割 1:可交割",
  20463. "type": "integer"
  20464. },
  20465. "forceclosemode": {
  20466. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20467. "type": "integer"
  20468. },
  20469. "forceclosevalue": {
  20470. "description": "定期强平参数 [收益权]",
  20471. "type": "integer"
  20472. },
  20473. "goodscode": {
  20474. "description": "商品代码(内部)",
  20475. "type": "string"
  20476. },
  20477. "goodscurrencyid": {
  20478. "description": "合约货币ID",
  20479. "type": "integer"
  20480. },
  20481. "goodsgroupid": {
  20482. "description": "所属商品组ID",
  20483. "type": "integer"
  20484. },
  20485. "goodsid": {
  20486. "description": "商品ID(自增ID SEQ_GOODS)",
  20487. "type": "integer"
  20488. },
  20489. "goodsname": {
  20490. "description": "商品名称",
  20491. "type": "string"
  20492. },
  20493. "goodsquotetype": {
  20494. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20495. "type": "integer"
  20496. },
  20497. "goodsstatus": {
  20498. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20499. "type": "integer"
  20500. },
  20501. "goodstradetype": {
  20502. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20503. "type": "integer"
  20504. },
  20505. "goodunitid": {
  20506. "description": "报价单位ID",
  20507. "type": "integer"
  20508. },
  20509. "hasquoter": {
  20510. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20511. "type": "integer"
  20512. },
  20513. "hqprotecttime": {
  20514. "description": "行情保护时间(秒)",
  20515. "type": "integer"
  20516. },
  20517. "innerdealmode": {
  20518. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20519. "type": "integer"
  20520. },
  20521. "isbuylimited": {
  20522. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20523. "type": "integer"
  20524. },
  20525. "isvisible": {
  20526. "description": "游客是否可见 - 0:不可见 1:可见",
  20527. "type": "integer"
  20528. },
  20529. "lasttradedate": {
  20530. "description": "最后交易日期(状态:待退市)",
  20531. "type": "string"
  20532. },
  20533. "listingdate": {
  20534. "description": "交易开始日期",
  20535. "type": "string"
  20536. },
  20537. "marketid": {
  20538. "description": "所属市场ID",
  20539. "type": "integer"
  20540. },
  20541. "modifierid": {
  20542. "description": "修改人",
  20543. "type": "integer"
  20544. },
  20545. "modifystatus": {
  20546. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20547. "type": "integer"
  20548. },
  20549. "modifytime": {
  20550. "description": "修改时间",
  20551. "type": "string"
  20552. },
  20553. "outerdealmode": {
  20554. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20555. "type": "integer"
  20556. },
  20557. "outgoodscode": {
  20558. "description": "商品代码(外部)",
  20559. "type": "string"
  20560. },
  20561. "pictureurl": {
  20562. "description": "商品图片",
  20563. "type": "string"
  20564. },
  20565. "qtydecimalplace": {
  20566. "description": "成交量小数位",
  20567. "type": "integer"
  20568. },
  20569. "quotegear": {
  20570. "description": "行情档位(1-10)",
  20571. "type": "integer"
  20572. },
  20573. "quoteminunit": {
  20574. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20575. "type": "integer"
  20576. },
  20577. "quoteshowtype": {
  20578. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20579. "type": "integer"
  20580. },
  20581. "quoteshowtypeinterval": {
  20582. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20583. "type": "integer"
  20584. },
  20585. "remark": {
  20586. "description": "备注",
  20587. "type": "string"
  20588. }
  20589. }
  20590. },
  20591. "models.GoodsIDAndName": {
  20592. "type": "object",
  20593. "required": [
  20594. "goodscode",
  20595. "goodsid",
  20596. "goodsname",
  20597. "marketid"
  20598. ],
  20599. "properties": {
  20600. "goodscode": {
  20601. "description": "商品代码(内部)",
  20602. "type": "string"
  20603. },
  20604. "goodsid": {
  20605. "description": "商品ID(自增ID SEQ_GOODS)",
  20606. "type": "integer"
  20607. },
  20608. "goodsname": {
  20609. "description": "商品名称",
  20610. "type": "string"
  20611. },
  20612. "marketid": {
  20613. "description": "所属市场ID",
  20614. "type": "integer"
  20615. }
  20616. }
  20617. },
  20618. "models.Goodsgroup": {
  20619. "type": "object",
  20620. "required": [
  20621. "goodsgroupid",
  20622. "goodsgroupname",
  20623. "goodsgroupstatus",
  20624. "marketid"
  20625. ],
  20626. "properties": {
  20627. "agreeunit": {
  20628. "description": "合约单位",
  20629. "type": "number"
  20630. },
  20631. "canshort": {
  20632. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20633. "type": "integer"
  20634. },
  20635. "closepricemode": {
  20636. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20637. "type": "integer"
  20638. },
  20639. "closepriceparam": {
  20640. "description": "强平最新价浮动比例 - 方式为2时使用",
  20641. "type": "number"
  20642. },
  20643. "createtime": {
  20644. "description": "创建时间",
  20645. "type": "string"
  20646. },
  20647. "creatorid": {
  20648. "description": "创建人",
  20649. "type": "integer"
  20650. },
  20651. "currencyid": {
  20652. "description": "报价货币ID",
  20653. "type": "integer"
  20654. },
  20655. "decimalplace": {
  20656. "description": "报价小数位",
  20657. "type": "integer"
  20658. },
  20659. "exercisetype": {
  20660. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20661. "type": "integer"
  20662. },
  20663. "exexchangeid": {
  20664. "description": "外部交易所ID[通道交易]",
  20665. "type": "integer"
  20666. },
  20667. "goodsgroupid": {
  20668. "description": "商品组ID(自增ID)",
  20669. "type": "integer"
  20670. },
  20671. "goodsgroupname": {
  20672. "description": "商品组名称",
  20673. "type": "string"
  20674. },
  20675. "goodsgroupstatus": {
  20676. "description": "商品组状态 - 1:正常 2:注销",
  20677. "type": "integer"
  20678. },
  20679. "goodunitid": {
  20680. "description": "报价单位ID",
  20681. "type": "integer"
  20682. },
  20683. "innerdealmode": {
  20684. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20685. "type": "integer"
  20686. },
  20687. "isbuylimited": {
  20688. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20689. "type": "integer"
  20690. },
  20691. "marketid": {
  20692. "description": "所属市场ID",
  20693. "type": "integer"
  20694. },
  20695. "modifierid": {
  20696. "description": "修改人",
  20697. "type": "integer"
  20698. },
  20699. "modifytime": {
  20700. "description": "修改时间",
  20701. "type": "string"
  20702. },
  20703. "outerdealmode": {
  20704. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20705. "type": "integer"
  20706. },
  20707. "outergroupcode": {
  20708. "description": "外部商品组代码[通道交易]",
  20709. "type": "string"
  20710. },
  20711. "premiumdecimalplace": {
  20712. "description": "权利金小数位[场外期权]",
  20713. "type": "integer"
  20714. },
  20715. "premiumspreadalgorithm": {
  20716. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20717. "type": "integer"
  20718. },
  20719. "premiumspreadvalue": {
  20720. "description": "权利金点差值[场外期权]",
  20721. "type": "number"
  20722. },
  20723. "qtydecimalplace": {
  20724. "description": "成交量小数位",
  20725. "type": "integer"
  20726. },
  20727. "quotegear": {
  20728. "description": "行情档位(1-10)",
  20729. "type": "integer"
  20730. },
  20731. "quoteminunit": {
  20732. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20733. "type": "integer"
  20734. },
  20735. "quoterid": {
  20736. "description": "报价商ID[场外期权]",
  20737. "type": "integer"
  20738. },
  20739. "quotesourcegroupid": {
  20740. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20741. "type": "integer"
  20742. },
  20743. "syncgoodsqty": {
  20744. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20745. "type": "integer"
  20746. }
  20747. }
  20748. },
  20749. "models.Goodssortbypreposition": {
  20750. "type": "object",
  20751. "required": [
  20752. "goodscode",
  20753. "tradedate"
  20754. ],
  20755. "properties": {
  20756. "goodscode": {
  20757. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20758. "type": "string"
  20759. },
  20760. "goodsgroupcode": {
  20761. "description": "品种代码",
  20762. "type": "string"
  20763. },
  20764. "prepositionqty": {
  20765. "description": "昨持仓量",
  20766. "type": "integer"
  20767. },
  20768. "sortindex": {
  20769. "description": "排序",
  20770. "type": "integer"
  20771. },
  20772. "tradedate": {
  20773. "description": "交易日",
  20774. "type": "string"
  20775. },
  20776. "updatetime": {
  20777. "description": "更新时间",
  20778. "type": "string"
  20779. }
  20780. }
  20781. },
  20782. "models.Hedgeinnerholderdetail": {
  20783. "type": "object",
  20784. "required": [
  20785. "buyorsell",
  20786. "tradeid"
  20787. ],
  20788. "properties": {
  20789. "accountid": {
  20790. "description": "账号ID",
  20791. "type": "integer"
  20792. },
  20793. "buyorsell": {
  20794. "description": "方向 - 0:买 1:卖",
  20795. "type": "integer"
  20796. },
  20797. "freezeqty": {
  20798. "description": "冻结数量 - 按单平使用",
  20799. "type": "integer"
  20800. },
  20801. "goodsid": {
  20802. "description": "商品ID",
  20803. "type": "integer"
  20804. },
  20805. "holderamount": {
  20806. "description": "持仓金额 [商品币种]",
  20807. "type": "number"
  20808. },
  20809. "holderdays": {
  20810. "description": "剩余冻结天数",
  20811. "type": "integer"
  20812. },
  20813. "holderprice": {
  20814. "description": "持仓价格",
  20815. "type": "number"
  20816. },
  20817. "holderqty": {
  20818. "description": "持仓数量",
  20819. "type": "integer"
  20820. },
  20821. "marketid": {
  20822. "description": "市场ID",
  20823. "type": "integer"
  20824. },
  20825. "openprice": {
  20826. "description": "建仓价格",
  20827. "type": "number"
  20828. },
  20829. "openqty": {
  20830. "description": "建仓数量",
  20831. "type": "integer"
  20832. },
  20833. "parentaccountid": {
  20834. "description": "所属母账户",
  20835. "type": "integer"
  20836. },
  20837. "releaseamount": {
  20838. "description": "释放持仓金额[商品币种]",
  20839. "type": "number"
  20840. },
  20841. "tradeamount": {
  20842. "description": "成交金额[账户]",
  20843. "type": "number"
  20844. },
  20845. "tradedate": {
  20846. "description": "交易日(yyyyMMdd)",
  20847. "type": "string"
  20848. },
  20849. "tradeid": {
  20850. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20851. "type": "string"
  20852. },
  20853. "tradetime": {
  20854. "description": "交易时间",
  20855. "type": "string"
  20856. }
  20857. }
  20858. },
  20859. "models.Hedgemarketopenlog": {
  20860. "type": "object",
  20861. "required": [
  20862. "accountid"
  20863. ],
  20864. "properties": {
  20865. "accountid": {
  20866. "description": "资金账号[外部母账户]",
  20867. "type": "integer"
  20868. },
  20869. "fcname": {
  20870. "description": "期货公司名称",
  20871. "type": "string"
  20872. },
  20873. "handlestatus": {
  20874. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  20875. "type": "integer"
  20876. },
  20877. "marketid": {
  20878. "description": "市场ID",
  20879. "type": "integer"
  20880. },
  20881. "status": {
  20882. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  20883. "type": "integer"
  20884. },
  20885. "tradedate": {
  20886. "description": "交易日(yyyyMMdd)",
  20887. "type": "string"
  20888. },
  20889. "updatetime": {
  20890. "description": "更新时间",
  20891. "type": "string"
  20892. }
  20893. }
  20894. },
  20895. "models.HsbyBuyMyPayOrder": {
  20896. "type": "object",
  20897. "required": [
  20898. "goodscode",
  20899. "goodsname",
  20900. "tradeid",
  20901. "trademode"
  20902. ],
  20903. "properties": {
  20904. "agreeunit": {
  20905. "description": "合约单位",
  20906. "type": "number"
  20907. },
  20908. "buyaccountid": {
  20909. "description": "买方账号ID[报价币种]",
  20910. "type": "integer"
  20911. },
  20912. "buyorderid": {
  20913. "description": "买方委托单号",
  20914. "type": "string"
  20915. },
  20916. "createtime": {
  20917. "description": "创建时间",
  20918. "type": "string"
  20919. },
  20920. "currencysign": {
  20921. "description": "货币符号",
  20922. "type": "string"
  20923. },
  20924. "decimalplace": {
  20925. "description": "报价小数位",
  20926. "type": "integer"
  20927. },
  20928. "goodscode": {
  20929. "description": "商品代码(内部)",
  20930. "type": "string"
  20931. },
  20932. "goodsid": {
  20933. "description": "商品ID",
  20934. "type": "integer"
  20935. },
  20936. "goodsname": {
  20937. "description": "商品名称",
  20938. "type": "string"
  20939. },
  20940. "marketid": {
  20941. "description": "市场ID",
  20942. "type": "integer"
  20943. },
  20944. "offamount": {
  20945. "description": "优惠金额",
  20946. "type": "number"
  20947. },
  20948. "originalamount": {
  20949. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  20950. "type": "number"
  20951. },
  20952. "payamount": {
  20953. "description": "支付金额 = TradeAmount + TradeCharge",
  20954. "type": "number"
  20955. },
  20956. "payflag": {
  20957. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  20958. "type": "integer"
  20959. },
  20960. "paylimitedtime": {
  20961. "description": "支付期限",
  20962. "type": "string"
  20963. },
  20964. "paytime": {
  20965. "description": "付款时间",
  20966. "type": "string"
  20967. },
  20968. "picurls1": {
  20969. "description": "预售商品介绍图片[多张用逗号分隔]",
  20970. "type": "string"
  20971. },
  20972. "picurls2": {
  20973. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  20974. "type": "string"
  20975. },
  20976. "sellaccountid": {
  20977. "description": "卖方账号ID[报价币种]",
  20978. "type": "integer"
  20979. },
  20980. "sellorderid": {
  20981. "description": "卖方委托单号",
  20982. "type": "string"
  20983. },
  20984. "tradeamount": {
  20985. "description": "成交金额",
  20986. "type": "number"
  20987. },
  20988. "tradecharge": {
  20989. "description": "成交手续费(买方)",
  20990. "type": "number"
  20991. },
  20992. "tradedate": {
  20993. "description": "交易日(yyyyMMdd)",
  20994. "type": "string"
  20995. },
  20996. "tradeid": {
  20997. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20998. "type": "string"
  20999. },
  21000. "trademode": {
  21001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21002. "type": "integer"
  21003. },
  21004. "tradeprice": {
  21005. "description": "成交价格",
  21006. "type": "number"
  21007. },
  21008. "tradeqty": {
  21009. "description": "成交数量",
  21010. "type": "integer"
  21011. },
  21012. "vendorname1": {
  21013. "description": "预售商品供应商名称",
  21014. "type": "string"
  21015. },
  21016. "vendorname2": {
  21017. "description": "挂牌商品供应商名称",
  21018. "type": "string"
  21019. }
  21020. }
  21021. },
  21022. "models.HsbyBuyMyTradeDetail": {
  21023. "type": "object",
  21024. "required": [
  21025. "accountid",
  21026. "buyorsell",
  21027. "goodscode",
  21028. "goodsid",
  21029. "goodsname",
  21030. "marketid",
  21031. "orderid",
  21032. "qty",
  21033. "time",
  21034. "trademode"
  21035. ],
  21036. "properties": {
  21037. "accountid": {
  21038. "description": "账户ID[报价币种]",
  21039. "type": "integer"
  21040. },
  21041. "agreeunit": {
  21042. "description": "合约单位",
  21043. "type": "number"
  21044. },
  21045. "amount": {
  21046. "description": "金额 = 价格 * 数量 * 合约单位",
  21047. "type": "number"
  21048. },
  21049. "buyorsell": {
  21050. "description": "买卖 - 0:买 1:卖",
  21051. "type": "integer"
  21052. },
  21053. "currencysign": {
  21054. "description": "货币符号",
  21055. "type": "string"
  21056. },
  21057. "decimalplace": {
  21058. "description": "报价小数位",
  21059. "type": "integer"
  21060. },
  21061. "goodscode": {
  21062. "description": "商品代码(内部)",
  21063. "type": "string"
  21064. },
  21065. "goodsid": {
  21066. "description": "商品ID",
  21067. "type": "integer"
  21068. },
  21069. "goodsname": {
  21070. "description": "商品名称",
  21071. "type": "string"
  21072. },
  21073. "marketid": {
  21074. "description": "市场ID",
  21075. "type": "integer"
  21076. },
  21077. "orderamount": {
  21078. "description": "委托金额",
  21079. "type": "number"
  21080. },
  21081. "orderid": {
  21082. "description": "单号(成交单号)",
  21083. "type": "string"
  21084. },
  21085. "picurls1": {
  21086. "description": "预售商品介绍图片[多张用逗号分隔]",
  21087. "type": "string"
  21088. },
  21089. "picurls2": {
  21090. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21091. "type": "string"
  21092. },
  21093. "price": {
  21094. "description": "价格",
  21095. "type": "number"
  21096. },
  21097. "qty": {
  21098. "description": "数量",
  21099. "type": "integer"
  21100. },
  21101. "time": {
  21102. "description": "时间",
  21103. "type": "string"
  21104. },
  21105. "trademode": {
  21106. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21107. "type": "integer"
  21108. },
  21109. "vendorname1": {
  21110. "description": "预售商品供应商名称",
  21111. "type": "string"
  21112. },
  21113. "vendorname2": {
  21114. "description": "挂牌商品供应商名称",
  21115. "type": "string"
  21116. }
  21117. }
  21118. },
  21119. "models.HsbyGoodsOrderDetail": {
  21120. "type": "object",
  21121. "required": [
  21122. "buyorsell",
  21123. "orderid",
  21124. "ordertime"
  21125. ],
  21126. "properties": {
  21127. "buyorsell": {
  21128. "description": "买卖 - 0:买 1:卖",
  21129. "type": "integer"
  21130. },
  21131. "currencysign": {
  21132. "description": "货币符号",
  21133. "type": "string"
  21134. },
  21135. "customername": {
  21136. "description": "客户名称(企业名称),已脱敏",
  21137. "type": "string"
  21138. },
  21139. "enableqty": {
  21140. "description": "可用数量",
  21141. "type": "integer"
  21142. },
  21143. "goodunit": {
  21144. "description": "报价单位",
  21145. "type": "string"
  21146. },
  21147. "orderid": {
  21148. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21149. "type": "string"
  21150. },
  21151. "orderprice": {
  21152. "description": "委托价格",
  21153. "type": "number"
  21154. },
  21155. "ordertime": {
  21156. "description": "委托时间",
  21157. "type": "string"
  21158. }
  21159. }
  21160. },
  21161. "models.HsbyListingGoodsDetail": {
  21162. "type": "object",
  21163. "required": [
  21164. "goodscode",
  21165. "goodsid",
  21166. "goodsname",
  21167. "marketid",
  21168. "trademode"
  21169. ],
  21170. "properties": {
  21171. "agreeunit": {
  21172. "description": "合约单位",
  21173. "type": "number"
  21174. },
  21175. "buymaxqty": {
  21176. "description": "购买上限 [71] - 0为不限",
  21177. "type": "integer"
  21178. },
  21179. "currency": {
  21180. "description": "货币",
  21181. "type": "string"
  21182. },
  21183. "currencysign": {
  21184. "description": "货币符号",
  21185. "type": "string"
  21186. },
  21187. "decimalplace": {
  21188. "description": "报价小数位",
  21189. "type": "integer"
  21190. },
  21191. "desccityid": {
  21192. "description": "目的地(市)ID",
  21193. "type": "integer"
  21194. },
  21195. "descprovinceid": {
  21196. "description": "目的地(省)ID",
  21197. "type": "integer"
  21198. },
  21199. "goodscode": {
  21200. "description": "商品代码(内部)",
  21201. "type": "string"
  21202. },
  21203. "goodsdesc": {
  21204. "description": "商品详情",
  21205. "type": "string"
  21206. },
  21207. "goodsid": {
  21208. "description": "商品ID(自增ID SEQ_GOODS)",
  21209. "type": "integer"
  21210. },
  21211. "goodsname": {
  21212. "description": "商品名称",
  21213. "type": "string"
  21214. },
  21215. "goodsprice": {
  21216. "description": "商品价格",
  21217. "type": "number"
  21218. },
  21219. "hotindex": {
  21220. "description": "景点热度",
  21221. "type": "integer"
  21222. },
  21223. "last": {
  21224. "description": "现价",
  21225. "type": "number"
  21226. },
  21227. "limitdown": {
  21228. "description": "跌停价",
  21229. "type": "number"
  21230. },
  21231. "limitup": {
  21232. "description": "涨停价",
  21233. "type": "number"
  21234. },
  21235. "lotsize": {
  21236. "description": "手数最小变动单位",
  21237. "type": "integer"
  21238. },
  21239. "marketid": {
  21240. "description": "所属市场ID",
  21241. "type": "integer"
  21242. },
  21243. "picurls": {
  21244. "description": "介绍图片[多张用逗号分隔]",
  21245. "type": "string"
  21246. },
  21247. "quoteminunit": {
  21248. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21249. "type": "integer"
  21250. },
  21251. "stepvalue": {
  21252. "description": "价格最小变动单位",
  21253. "type": "number"
  21254. },
  21255. "trademode": {
  21256. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21257. "type": "integer"
  21258. },
  21259. "vendorattr": {
  21260. "description": "供应商附件(多张,逗号分隔)",
  21261. "type": "string"
  21262. },
  21263. "vendorname": {
  21264. "description": "供应商名称",
  21265. "type": "string"
  21266. },
  21267. "vendorphone": {
  21268. "description": "供应商客服电话",
  21269. "type": "string"
  21270. },
  21271. "videourls": {
  21272. "description": "介绍视频[多张用逗号分隔]",
  21273. "type": "string"
  21274. }
  21275. }
  21276. },
  21277. "models.HsbyMarketGoods": {
  21278. "type": "object",
  21279. "required": [
  21280. "accountid",
  21281. "buyorsell",
  21282. "goodscode",
  21283. "goodsid",
  21284. "goodsname",
  21285. "marketid",
  21286. "orderid",
  21287. "trademode"
  21288. ],
  21289. "properties": {
  21290. "accountid": {
  21291. "description": "账户ID[报价币种]",
  21292. "type": "integer"
  21293. },
  21294. "agreeunit": {
  21295. "description": "合约单位",
  21296. "type": "number"
  21297. },
  21298. "buyorsell": {
  21299. "description": "买卖 - 0:买 1:卖",
  21300. "type": "integer"
  21301. },
  21302. "categoryid": {
  21303. "description": "类别ID(WRCATEGORY)",
  21304. "type": "integer"
  21305. },
  21306. "currency": {
  21307. "description": "货币",
  21308. "type": "string"
  21309. },
  21310. "currencysign": {
  21311. "description": "货币符号",
  21312. "type": "string"
  21313. },
  21314. "customername": {
  21315. "description": "卖家名称",
  21316. "type": "string"
  21317. },
  21318. "decimalplace": {
  21319. "description": "报价小数位",
  21320. "type": "integer"
  21321. },
  21322. "goodscode": {
  21323. "description": "商品代码(内部)",
  21324. "type": "string"
  21325. },
  21326. "goodsid": {
  21327. "description": "商品ID",
  21328. "type": "integer"
  21329. },
  21330. "goodsname": {
  21331. "description": "商品名称",
  21332. "type": "string"
  21333. },
  21334. "goodsprice": {
  21335. "description": "商品价格",
  21336. "type": "number"
  21337. },
  21338. "hascoupon": {
  21339. "description": "是否可用优惠卷",
  21340. "type": "boolean"
  21341. },
  21342. "hotindex": {
  21343. "description": "景点热度",
  21344. "type": "integer"
  21345. },
  21346. "marketid": {
  21347. "description": "市场ID",
  21348. "type": "integer"
  21349. },
  21350. "orderid": {
  21351. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21352. "type": "string"
  21353. },
  21354. "orderprice": {
  21355. "description": "委托价格",
  21356. "type": "number"
  21357. },
  21358. "orderstatus": {
  21359. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21360. "type": "integer"
  21361. },
  21362. "picurls": {
  21363. "description": "介绍图片[多张用逗号分隔]",
  21364. "type": "string"
  21365. },
  21366. "quoteminunit": {
  21367. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21368. "type": "integer"
  21369. },
  21370. "sellUserID": {
  21371. "description": "卖方UserID",
  21372. "type": "integer"
  21373. },
  21374. "trademode": {
  21375. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21376. "type": "integer"
  21377. },
  21378. "videourls": {
  21379. "description": "介绍视频[多张用逗号分隔]",
  21380. "type": "string"
  21381. }
  21382. }
  21383. },
  21384. "models.HsbyMarketGoodsDetail": {
  21385. "type": "object",
  21386. "required": [
  21387. "accountid",
  21388. "buyorsell",
  21389. "goodscode",
  21390. "goodsid",
  21391. "goodsname",
  21392. "marketid",
  21393. "orderid",
  21394. "orderqty",
  21395. "trademode"
  21396. ],
  21397. "properties": {
  21398. "accountid": {
  21399. "description": "账户ID[报价币种]",
  21400. "type": "integer"
  21401. },
  21402. "agreeunit": {
  21403. "description": "合约单位",
  21404. "type": "number"
  21405. },
  21406. "buymaxqty": {
  21407. "description": "购买上限 [71] - 0为不限",
  21408. "type": "integer"
  21409. },
  21410. "buyorsell": {
  21411. "description": "买卖 - 0:买 1:卖",
  21412. "type": "integer"
  21413. },
  21414. "cancelqty": {
  21415. "description": "撤单数量",
  21416. "type": "integer"
  21417. },
  21418. "categoryid": {
  21419. "description": "类别ID(WRCATEGORY)",
  21420. "type": "integer"
  21421. },
  21422. "currency": {
  21423. "description": "货币",
  21424. "type": "string"
  21425. },
  21426. "currencysign": {
  21427. "description": "货币符号",
  21428. "type": "string"
  21429. },
  21430. "customername": {
  21431. "description": "卖家名称",
  21432. "type": "string"
  21433. },
  21434. "decimalplace": {
  21435. "description": "报价小数位",
  21436. "type": "integer"
  21437. },
  21438. "goodscode": {
  21439. "description": "商品代码(内部)",
  21440. "type": "string"
  21441. },
  21442. "goodsdesc": {
  21443. "description": "商品详情",
  21444. "type": "string"
  21445. },
  21446. "goodsid": {
  21447. "description": "商品ID",
  21448. "type": "integer"
  21449. },
  21450. "goodsname": {
  21451. "description": "商品名称",
  21452. "type": "string"
  21453. },
  21454. "goodsprice": {
  21455. "description": "商品价格",
  21456. "type": "number"
  21457. },
  21458. "hotindex": {
  21459. "description": "景点热度",
  21460. "type": "integer"
  21461. },
  21462. "lotsize": {
  21463. "description": "手数最小变动单位",
  21464. "type": "integer"
  21465. },
  21466. "marketid": {
  21467. "description": "市场ID",
  21468. "type": "integer"
  21469. },
  21470. "orderid": {
  21471. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21472. "type": "string"
  21473. },
  21474. "orderprice": {
  21475. "description": "委托价格",
  21476. "type": "number"
  21477. },
  21478. "orderqty": {
  21479. "description": "委托数量",
  21480. "type": "integer"
  21481. },
  21482. "orderstatus": {
  21483. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21484. "type": "integer"
  21485. },
  21486. "picurls": {
  21487. "description": "介绍图片[多张用逗号分隔]",
  21488. "type": "string"
  21489. },
  21490. "quoteminunit": {
  21491. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21492. "type": "integer"
  21493. },
  21494. "sellUserID": {
  21495. "description": "卖方UserID",
  21496. "type": "integer"
  21497. },
  21498. "trademode": {
  21499. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21500. "type": "integer"
  21501. },
  21502. "tradeqty": {
  21503. "description": "成交数量",
  21504. "type": "integer"
  21505. },
  21506. "vendorattr": {
  21507. "description": "供应商附件(多张,逗号分隔)",
  21508. "type": "string"
  21509. },
  21510. "vendorname": {
  21511. "description": "供应商名称",
  21512. "type": "string"
  21513. },
  21514. "vendorphone": {
  21515. "description": "供应商客服电话",
  21516. "type": "string"
  21517. },
  21518. "videourls": {
  21519. "description": "介绍视频[多张用逗号分隔]",
  21520. "type": "string"
  21521. }
  21522. }
  21523. },
  21524. "models.HsbyMarketInfo": {
  21525. "type": "object",
  21526. "required": [
  21527. "marketid",
  21528. "marketstatus",
  21529. "trademode"
  21530. ],
  21531. "properties": {
  21532. "marketid": {
  21533. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21534. "type": "integer"
  21535. },
  21536. "marketname": {
  21537. "description": "市场名称",
  21538. "type": "string"
  21539. },
  21540. "marketstatus": {
  21541. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21542. "type": "integer"
  21543. },
  21544. "trademode": {
  21545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21546. "type": "integer"
  21547. }
  21548. }
  21549. },
  21550. "models.HsbyMyGoods": {
  21551. "type": "object",
  21552. "required": [
  21553. "accountid",
  21554. "goodscode",
  21555. "goodsid",
  21556. "goodsname",
  21557. "marketid",
  21558. "trademode"
  21559. ],
  21560. "properties": {
  21561. "accountid": {
  21562. "description": "账号Id",
  21563. "type": "integer"
  21564. },
  21565. "agreeunit": {
  21566. "description": "合约单位",
  21567. "type": "number"
  21568. },
  21569. "buyaverageprice": {
  21570. "description": "持仓均价",
  21571. "type": "number"
  21572. },
  21573. "buycurholderamount": {
  21574. "description": "买当前持仓总金额[商品币种]",
  21575. "type": "number"
  21576. },
  21577. "buycurpositionqty": {
  21578. "description": "买当前持仓总数量",
  21579. "type": "integer"
  21580. },
  21581. "buymaxqty": {
  21582. "description": "购买上限 [71] - 0为不限",
  21583. "type": "integer"
  21584. },
  21585. "currencysign": {
  21586. "description": "货币符号",
  21587. "type": "string"
  21588. },
  21589. "decimalplace": {
  21590. "description": "报价小数位",
  21591. "type": "integer"
  21592. },
  21593. "enableqty": {
  21594. "description": "可用数量",
  21595. "type": "integer"
  21596. },
  21597. "goodscode": {
  21598. "description": "商品代码(内部)",
  21599. "type": "string"
  21600. },
  21601. "goodsid": {
  21602. "description": "商品Id",
  21603. "type": "integer"
  21604. },
  21605. "goodsname": {
  21606. "description": "商品名称",
  21607. "type": "string"
  21608. },
  21609. "goodsprice": {
  21610. "description": "商品价格",
  21611. "type": "number"
  21612. },
  21613. "goodsstatus": {
  21614. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21615. "type": "integer"
  21616. },
  21617. "last": {
  21618. "description": "现价(仅使用于挂牌点选)",
  21619. "type": "number"
  21620. },
  21621. "limitdown": {
  21622. "description": "跌停价(仅使用于挂牌点选)",
  21623. "type": "number"
  21624. },
  21625. "limitup": {
  21626. "description": "涨停价(仅使用于挂牌点选)",
  21627. "type": "number"
  21628. },
  21629. "lotsize": {
  21630. "description": "手数最小变动单位",
  21631. "type": "integer"
  21632. },
  21633. "marketid": {
  21634. "description": "所属市场ID",
  21635. "type": "integer"
  21636. },
  21637. "picurls": {
  21638. "description": "介绍图片[多张用逗号分隔]",
  21639. "type": "string"
  21640. },
  21641. "quoteminunit": {
  21642. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21643. "type": "integer"
  21644. },
  21645. "stepvalue": {
  21646. "description": "价格最小变动单位",
  21647. "type": "number"
  21648. },
  21649. "trademode": {
  21650. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21651. "type": "integer"
  21652. }
  21653. }
  21654. },
  21655. "models.HsbyMyPackage": {
  21656. "type": "object",
  21657. "required": [
  21658. "goodscode",
  21659. "goodsname",
  21660. "takeorderid",
  21661. "trademode"
  21662. ],
  21663. "properties": {
  21664. "accountid": {
  21665. "description": "账户ID",
  21666. "type": "integer"
  21667. },
  21668. "address": {
  21669. "description": "提货人详细地址",
  21670. "type": "string"
  21671. },
  21672. "agreeunit": {
  21673. "description": "合约单位",
  21674. "type": "number"
  21675. },
  21676. "amount": {
  21677. "description": "提货金额",
  21678. "type": "number"
  21679. },
  21680. "auditer": {
  21681. "description": "审核人",
  21682. "type": "integer"
  21683. },
  21684. "audittime": {
  21685. "description": "审核时间",
  21686. "type": "string"
  21687. },
  21688. "averageprice": {
  21689. "description": "均价",
  21690. "type": "number"
  21691. },
  21692. "cardnum": {
  21693. "description": "提货人证件号码",
  21694. "type": "string"
  21695. },
  21696. "cardtypeid": {
  21697. "description": "提货人证件类型",
  21698. "type": "integer"
  21699. },
  21700. "checkremark": {
  21701. "description": "审核备注",
  21702. "type": "string"
  21703. },
  21704. "currencysign": {
  21705. "description": "货币符号",
  21706. "type": "string"
  21707. },
  21708. "decimalplace": {
  21709. "description": "报价小数位",
  21710. "type": "integer"
  21711. },
  21712. "goodscode": {
  21713. "description": "商品代码(内部)",
  21714. "type": "string"
  21715. },
  21716. "goodsid": {
  21717. "description": "商品ID",
  21718. "type": "integer"
  21719. },
  21720. "goodsname": {
  21721. "description": "商品名称",
  21722. "type": "string"
  21723. },
  21724. "handlestatus": {
  21725. "description": "处理状态",
  21726. "type": "integer"
  21727. },
  21728. "marketid": {
  21729. "description": "市场ID",
  21730. "type": "integer"
  21731. },
  21732. "phonenum": {
  21733. "description": "提货人联系方式",
  21734. "type": "string"
  21735. },
  21736. "picurls": {
  21737. "description": "介绍图片[多张用逗号分隔]",
  21738. "type": "string"
  21739. },
  21740. "qty": {
  21741. "description": "提货数量",
  21742. "type": "number"
  21743. },
  21744. "recivername": {
  21745. "description": "提货人姓名",
  21746. "type": "string"
  21747. },
  21748. "reqtime": {
  21749. "description": "更新时间",
  21750. "type": "string"
  21751. },
  21752. "takemode": {
  21753. "description": "提货方式 - 2:自提 3:配送",
  21754. "type": "integer"
  21755. },
  21756. "takeorderid": {
  21757. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21758. "type": "string"
  21759. },
  21760. "takeorderstatus": {
  21761. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21762. "type": "integer"
  21763. },
  21764. "takeremark": {
  21765. "description": "提货备注",
  21766. "type": "string"
  21767. },
  21768. "tradedate": {
  21769. "description": "交易日(yyyyMMdd)",
  21770. "type": "string"
  21771. },
  21772. "trademode": {
  21773. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21774. "type": "integer"
  21775. },
  21776. "userid": {
  21777. "description": "用户ID",
  21778. "type": "integer"
  21779. },
  21780. "vendorname": {
  21781. "description": "供应商名称",
  21782. "type": "string"
  21783. }
  21784. }
  21785. },
  21786. "models.HsbyPreGoods": {
  21787. "type": "object",
  21788. "required": [
  21789. "goodscode",
  21790. "goodsid",
  21791. "goodsname",
  21792. "marketid",
  21793. "trademode"
  21794. ],
  21795. "properties": {
  21796. "agreeunit": {
  21797. "description": "合约单位",
  21798. "type": "number"
  21799. },
  21800. "currency": {
  21801. "description": "货币",
  21802. "type": "string"
  21803. },
  21804. "currencysign": {
  21805. "description": "货币符号",
  21806. "type": "string"
  21807. },
  21808. "decimalplace": {
  21809. "description": "报价小数位",
  21810. "type": "integer"
  21811. },
  21812. "desccityid": {
  21813. "description": "目的地(市)",
  21814. "type": "integer"
  21815. },
  21816. "descprovinceid": {
  21817. "description": "目的地(省)",
  21818. "type": "integer"
  21819. },
  21820. "enableqty": {
  21821. "description": "剩余数量",
  21822. "type": "integer"
  21823. },
  21824. "goodscode": {
  21825. "description": "商品代码(内部)",
  21826. "type": "string"
  21827. },
  21828. "goodsid": {
  21829. "description": "商品ID(自增ID SEQ_GOODS)",
  21830. "type": "integer"
  21831. },
  21832. "goodsname": {
  21833. "description": "商品名称",
  21834. "type": "string"
  21835. },
  21836. "goodsstatus": {
  21837. "description": "商品状态- 2:未上市 3:上市",
  21838. "type": "integer"
  21839. },
  21840. "lasttradedate": {
  21841. "description": "最后交易日期(状态:待退市)",
  21842. "type": "string"
  21843. },
  21844. "listingdate": {
  21845. "description": "交易开始日期",
  21846. "type": "string"
  21847. },
  21848. "marketid": {
  21849. "description": "所属市场ID",
  21850. "type": "integer"
  21851. },
  21852. "picurls": {
  21853. "description": "介绍图片[多张用逗号分隔]",
  21854. "type": "string"
  21855. },
  21856. "presaledqty": {
  21857. "description": "已预售量(预售结束时更新)",
  21858. "type": "integer"
  21859. },
  21860. "presaleqty": {
  21861. "description": "预售数量",
  21862. "type": "integer"
  21863. },
  21864. "quoteminunit": {
  21865. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21866. "type": "integer"
  21867. },
  21868. "refprice": {
  21869. "description": "参考价格[一口价]",
  21870. "type": "number"
  21871. },
  21872. "relatedgoodsid": {
  21873. "description": "关联交易合约ID",
  21874. "type": "integer"
  21875. },
  21876. "trademode": {
  21877. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21878. "type": "integer"
  21879. },
  21880. "videourls": {
  21881. "description": "介绍视频[多张用逗号分隔]",
  21882. "type": "string"
  21883. }
  21884. }
  21885. },
  21886. "models.HsbyPreGoodsDetail": {
  21887. "type": "object",
  21888. "required": [
  21889. "goodscode",
  21890. "goodsid",
  21891. "goodsname",
  21892. "marketid",
  21893. "trademode"
  21894. ],
  21895. "properties": {
  21896. "agreeunit": {
  21897. "description": "合约单位",
  21898. "type": "number"
  21899. },
  21900. "buymaxqty": {
  21901. "description": "购买上限 [71] - 0为不限",
  21902. "type": "integer"
  21903. },
  21904. "currency": {
  21905. "description": "货币",
  21906. "type": "string"
  21907. },
  21908. "currencysign": {
  21909. "description": "货币符号",
  21910. "type": "string"
  21911. },
  21912. "customername": {
  21913. "description": "发行单位",
  21914. "type": "string"
  21915. },
  21916. "decimalplace": {
  21917. "description": "报价小数位",
  21918. "type": "integer"
  21919. },
  21920. "desccityid": {
  21921. "description": "目的地(市)ID",
  21922. "type": "integer"
  21923. },
  21924. "descprovinceid": {
  21925. "description": "目的地(省)ID",
  21926. "type": "integer"
  21927. },
  21928. "enableqty": {
  21929. "description": "剩余数量",
  21930. "type": "integer"
  21931. },
  21932. "goodscode": {
  21933. "description": "商品代码(内部)",
  21934. "type": "string"
  21935. },
  21936. "goodsdesc": {
  21937. "description": "商品详情",
  21938. "type": "string"
  21939. },
  21940. "goodsid": {
  21941. "description": "商品ID(自增ID SEQ_GOODS)",
  21942. "type": "integer"
  21943. },
  21944. "goodsname": {
  21945. "description": "商品名称",
  21946. "type": "string"
  21947. },
  21948. "goodsstatus": {
  21949. "description": "商品状态- 2:未上市 3:上市",
  21950. "type": "integer"
  21951. },
  21952. "goodunit": {
  21953. "description": "报价单位",
  21954. "type": "string"
  21955. },
  21956. "lasttradedate": {
  21957. "description": "最后交易日期(状态:待退市)",
  21958. "type": "string"
  21959. },
  21960. "listingdate": {
  21961. "description": "交易开始日期",
  21962. "type": "string"
  21963. },
  21964. "lotsize": {
  21965. "description": "手数最小变动单位",
  21966. "type": "integer"
  21967. },
  21968. "marketid": {
  21969. "description": "所属市场ID",
  21970. "type": "integer"
  21971. },
  21972. "picurls": {
  21973. "description": "介绍图片[多张用逗号分隔]",
  21974. "type": "string"
  21975. },
  21976. "presaledqty": {
  21977. "description": "已预售量(预售结束时更新)",
  21978. "type": "integer"
  21979. },
  21980. "presaleqty": {
  21981. "description": "预售数量",
  21982. "type": "integer"
  21983. },
  21984. "quoteminunit": {
  21985. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21986. "type": "integer"
  21987. },
  21988. "refprice": {
  21989. "description": "参考价格[一口价]",
  21990. "type": "number"
  21991. },
  21992. "relatedgoodsid": {
  21993. "description": "关联交易合约ID",
  21994. "type": "integer"
  21995. },
  21996. "stepvalue": {
  21997. "description": "价格最小变动单位",
  21998. "type": "number"
  21999. },
  22000. "trademode": {
  22001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22002. "type": "integer"
  22003. },
  22004. "vendorattr": {
  22005. "description": "供应商附件(多张,逗号分隔)",
  22006. "type": "string"
  22007. },
  22008. "vendorname": {
  22009. "description": "供应商名称",
  22010. "type": "string"
  22011. },
  22012. "vendorphone": {
  22013. "description": "供应商客服电话",
  22014. "type": "string"
  22015. },
  22016. "videourls": {
  22017. "description": "介绍视频[多张用逗号分隔]",
  22018. "type": "string"
  22019. }
  22020. }
  22021. },
  22022. "models.HsbySellCollectionOrder": {
  22023. "type": "object",
  22024. "required": [
  22025. "goodscode",
  22026. "goodsname",
  22027. "tradeid",
  22028. "trademode"
  22029. ],
  22030. "properties": {
  22031. "agreeunit": {
  22032. "description": "合约单位",
  22033. "type": "number"
  22034. },
  22035. "buyaccountid": {
  22036. "description": "买方账号ID[报价币种]",
  22037. "type": "integer"
  22038. },
  22039. "buyorderid": {
  22040. "description": "买方委托单号",
  22041. "type": "string"
  22042. },
  22043. "createtime": {
  22044. "description": "创建时间",
  22045. "type": "string"
  22046. },
  22047. "currencysign": {
  22048. "description": "货币符号",
  22049. "type": "string"
  22050. },
  22051. "decimalplace": {
  22052. "description": "报价小数位",
  22053. "type": "integer"
  22054. },
  22055. "goodscode": {
  22056. "description": "商品代码(内部)",
  22057. "type": "string"
  22058. },
  22059. "goodsid": {
  22060. "description": "商品ID",
  22061. "type": "integer"
  22062. },
  22063. "goodsname": {
  22064. "description": "商品名称",
  22065. "type": "string"
  22066. },
  22067. "marketid": {
  22068. "description": "市场ID",
  22069. "type": "integer"
  22070. },
  22071. "offamount": {
  22072. "description": "优惠金额",
  22073. "type": "number"
  22074. },
  22075. "payamount": {
  22076. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22077. "type": "number"
  22078. },
  22079. "payflag": {
  22080. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22081. "type": "integer"
  22082. },
  22083. "paylimitedtime": {
  22084. "description": "支付期限",
  22085. "type": "string"
  22086. },
  22087. "paytime": {
  22088. "description": "付款时间",
  22089. "type": "string"
  22090. },
  22091. "picurls": {
  22092. "description": "商品介绍图片[多张用逗号分隔]",
  22093. "type": "string"
  22094. },
  22095. "sellaccountid": {
  22096. "description": "卖方账号ID[报价币种]",
  22097. "type": "integer"
  22098. },
  22099. "sellorderid": {
  22100. "description": "卖方委托单号",
  22101. "type": "string"
  22102. },
  22103. "tradeamount": {
  22104. "description": "成交金额",
  22105. "type": "number"
  22106. },
  22107. "tradecharge": {
  22108. "description": "成交手续费(买方)",
  22109. "type": "number"
  22110. },
  22111. "tradedate": {
  22112. "description": "交易日(yyyyMMdd)",
  22113. "type": "string"
  22114. },
  22115. "tradeid": {
  22116. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22117. "type": "string"
  22118. },
  22119. "trademode": {
  22120. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22121. "type": "integer"
  22122. },
  22123. "tradeprice": {
  22124. "description": "成交价格",
  22125. "type": "number"
  22126. },
  22127. "tradeqty": {
  22128. "description": "成交数量",
  22129. "type": "integer"
  22130. }
  22131. }
  22132. },
  22133. "models.HsbySellMyDetail": {
  22134. "type": "object",
  22135. "required": [
  22136. "accountid",
  22137. "buyorsell",
  22138. "goodscode",
  22139. "goodsid",
  22140. "goodsname",
  22141. "marketid",
  22142. "orderid",
  22143. "time",
  22144. "trademode"
  22145. ],
  22146. "properties": {
  22147. "accountid": {
  22148. "description": "账户ID[报价币种]",
  22149. "type": "integer"
  22150. },
  22151. "agreeunit": {
  22152. "description": "合约单位",
  22153. "type": "number"
  22154. },
  22155. "buyorsell": {
  22156. "description": "买卖 - 0:买 1:卖",
  22157. "type": "integer"
  22158. },
  22159. "currencysign": {
  22160. "description": "货币符号",
  22161. "type": "string"
  22162. },
  22163. "decimalplace": {
  22164. "description": "报价小数位",
  22165. "type": "integer"
  22166. },
  22167. "goodscode": {
  22168. "description": "商品代码(内部)",
  22169. "type": "string"
  22170. },
  22171. "goodsid": {
  22172. "description": "商品ID",
  22173. "type": "integer"
  22174. },
  22175. "goodsname": {
  22176. "description": "商品名称",
  22177. "type": "string"
  22178. },
  22179. "marketid": {
  22180. "description": "市场ID",
  22181. "type": "integer"
  22182. },
  22183. "orderid": {
  22184. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22185. "type": "string"
  22186. },
  22187. "ordertype": {
  22188. "description": "单据类型:0 - 发布中, 1 - 已完成",
  22189. "type": "integer"
  22190. },
  22191. "picurls": {
  22192. "description": "介绍图片[多张用逗号分隔]",
  22193. "type": "string"
  22194. },
  22195. "price": {
  22196. "description": "价格",
  22197. "type": "number"
  22198. },
  22199. "qty": {
  22200. "description": "数量",
  22201. "type": "integer"
  22202. },
  22203. "time": {
  22204. "description": "时间",
  22205. "type": "string"
  22206. },
  22207. "trademode": {
  22208. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22209. "type": "integer"
  22210. },
  22211. "vendorname": {
  22212. "description": "供应商名称",
  22213. "type": "string"
  22214. }
  22215. }
  22216. },
  22217. "models.HsbyTopGoods": {
  22218. "type": "object",
  22219. "required": [
  22220. "goodscode",
  22221. "goodsid",
  22222. "goodsname",
  22223. "marketid",
  22224. "trademode"
  22225. ],
  22226. "properties": {
  22227. "agreeunit": {
  22228. "description": "合约单位",
  22229. "type": "number"
  22230. },
  22231. "currency": {
  22232. "description": "货币",
  22233. "type": "string"
  22234. },
  22235. "currencysign": {
  22236. "description": "货币符号",
  22237. "type": "string"
  22238. },
  22239. "decimalplace": {
  22240. "description": "报价小数位",
  22241. "type": "integer"
  22242. },
  22243. "desccityid": {
  22244. "description": "目的地(市)",
  22245. "type": "integer"
  22246. },
  22247. "descprovinceid": {
  22248. "description": "目的地(省)",
  22249. "type": "integer"
  22250. },
  22251. "goodscode": {
  22252. "description": "商品代码(内部)",
  22253. "type": "string"
  22254. },
  22255. "goodsid": {
  22256. "description": "商品ID(自增ID SEQ_GOODS)",
  22257. "type": "integer"
  22258. },
  22259. "goodsname": {
  22260. "description": "商品名称",
  22261. "type": "string"
  22262. },
  22263. "hotindex": {
  22264. "description": "景点热度",
  22265. "type": "integer"
  22266. },
  22267. "last": {
  22268. "description": "现价",
  22269. "type": "number"
  22270. },
  22271. "marketid": {
  22272. "description": "所属市场ID",
  22273. "type": "integer"
  22274. },
  22275. "picurls": {
  22276. "description": "介绍图片[多张用逗号分隔]",
  22277. "type": "string"
  22278. },
  22279. "quoteminunit": {
  22280. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22281. "type": "integer"
  22282. },
  22283. "trademode": {
  22284. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22285. "type": "integer"
  22286. },
  22287. "videourls": {
  22288. "description": "介绍视频[多张用逗号分隔]",
  22289. "type": "string"
  22290. }
  22291. }
  22292. },
  22293. "models.HybsMyBuyOrderDetail": {
  22294. "type": "object",
  22295. "required": [
  22296. "accountid",
  22297. "buyorsell",
  22298. "goodscode",
  22299. "goodsid",
  22300. "goodsname",
  22301. "marketid",
  22302. "orderid",
  22303. "orderqty",
  22304. "ordertime",
  22305. "trademode"
  22306. ],
  22307. "properties": {
  22308. "accountid": {
  22309. "description": "账户ID[报价币种]",
  22310. "type": "integer"
  22311. },
  22312. "agreeunit": {
  22313. "description": "合约单位",
  22314. "type": "number"
  22315. },
  22316. "buyorsell": {
  22317. "description": "买卖 - 0:买 1:卖",
  22318. "type": "integer"
  22319. },
  22320. "cancelqty": {
  22321. "description": "撤单数量",
  22322. "type": "integer"
  22323. },
  22324. "currencysign": {
  22325. "description": "货币符号",
  22326. "type": "string"
  22327. },
  22328. "decimalplace": {
  22329. "description": "报价小数位",
  22330. "type": "integer"
  22331. },
  22332. "goodscode": {
  22333. "description": "商品代码(内部)",
  22334. "type": "string"
  22335. },
  22336. "goodsid": {
  22337. "description": "商品ID",
  22338. "type": "integer"
  22339. },
  22340. "goodsname": {
  22341. "description": "商品名称",
  22342. "type": "string"
  22343. },
  22344. "listingselecttype": {
  22345. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22346. "type": "integer"
  22347. },
  22348. "marketid": {
  22349. "description": "市场ID",
  22350. "type": "integer"
  22351. },
  22352. "mybuystatus": {
  22353. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22354. "type": "integer"
  22355. },
  22356. "orderamount": {
  22357. "description": "委托金额",
  22358. "type": "number"
  22359. },
  22360. "orderid": {
  22361. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22362. "type": "string"
  22363. },
  22364. "orderprice": {
  22365. "description": "委托价格",
  22366. "type": "number"
  22367. },
  22368. "orderqty": {
  22369. "description": "委托数量",
  22370. "type": "integer"
  22371. },
  22372. "orderstatus": {
  22373. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22374. "type": "integer"
  22375. },
  22376. "ordertime": {
  22377. "description": "委托时间",
  22378. "type": "string"
  22379. },
  22380. "picurls1": {
  22381. "description": "预售商品介绍图片[多张用逗号分隔]",
  22382. "type": "string"
  22383. },
  22384. "picurls2": {
  22385. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22386. "type": "string"
  22387. },
  22388. "trademode": {
  22389. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22390. "type": "integer"
  22391. },
  22392. "tradeqty": {
  22393. "description": "成交数量",
  22394. "type": "integer"
  22395. },
  22396. "vendorname1": {
  22397. "description": "预售商品供应商名称",
  22398. "type": "string"
  22399. },
  22400. "vendorname2": {
  22401. "description": "挂牌商品供应商名称",
  22402. "type": "string"
  22403. }
  22404. }
  22405. },
  22406. "models.Loginaccount": {
  22407. "type": "object",
  22408. "required": [
  22409. "loginid"
  22410. ],
  22411. "properties": {
  22412. "canoutin": {
  22413. "description": "是否可出入金 - 0:不可 1:可",
  22414. "type": "integer"
  22415. },
  22416. "clientroleid": {
  22417. "description": "终端角色ID",
  22418. "type": "integer"
  22419. },
  22420. "haslogined": {
  22421. "description": "是否已登录 - 0:未登录 1:已登录",
  22422. "type": "integer"
  22423. },
  22424. "hasupdatedpwd": {
  22425. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22426. "type": "integer"
  22427. },
  22428. "lastloginip": {
  22429. "description": "最新登录地址",
  22430. "type": "string"
  22431. },
  22432. "lastloginmode": {
  22433. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22434. "type": "integer"
  22435. },
  22436. "lastloginremark": {
  22437. "description": "最新登录描述",
  22438. "type": "string"
  22439. },
  22440. "lastlogintime": {
  22441. "description": "最新登录时间",
  22442. "type": "string"
  22443. },
  22444. "logincode": {
  22445. "description": "登录代码",
  22446. "type": "string"
  22447. },
  22448. "loginfailnum": {
  22449. "description": "连续登录失败次数(登录成功时清零)",
  22450. "type": "integer"
  22451. },
  22452. "loginid": {
  22453. "description": "登陆账号",
  22454. "type": "integer"
  22455. },
  22456. "loginport": {
  22457. "description": "最新登录端口",
  22458. "type": "integer"
  22459. },
  22460. "loginstatus": {
  22461. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22462. "type": "integer"
  22463. },
  22464. "loginusertype": {
  22465. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22466. "type": "integer"
  22467. },
  22468. "modifierid": {
  22469. "description": "修改人",
  22470. "type": "integer"
  22471. },
  22472. "modifytime": {
  22473. "description": "修改时间",
  22474. "type": "string"
  22475. },
  22476. "pwdwrongcount": {
  22477. "description": "密码错误次数",
  22478. "type": "integer"
  22479. },
  22480. "taaccountrighttype": {
  22481. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22482. "type": "integer"
  22483. },
  22484. "unfreezetime": {
  22485. "description": "账户解冻时间",
  22486. "type": "string"
  22487. },
  22488. "userid": {
  22489. "description": "用户ID",
  22490. "type": "integer"
  22491. }
  22492. }
  22493. },
  22494. "models.MainAccountInfo": {
  22495. "type": "object",
  22496. "properties": {
  22497. "accountid": {
  22498. "description": "账号id",
  22499. "type": "integer"
  22500. },
  22501. "accountname": {
  22502. "description": "账号名称(taaccount表中的名称)",
  22503. "type": "string"
  22504. },
  22505. "appid": {
  22506. "description": "AppID",
  22507. "type": "string"
  22508. },
  22509. "authcode": {
  22510. "description": "授权码",
  22511. "type": "string"
  22512. },
  22513. "brokerid": {
  22514. "description": "经纪商id",
  22515. "type": "string"
  22516. },
  22517. "fcid": {
  22518. "description": "期货公司id",
  22519. "type": "integer"
  22520. },
  22521. "fcname": {
  22522. "description": "期货公司代码",
  22523. "type": "string"
  22524. },
  22525. "hedgeaccountcode": {
  22526. "description": "外部账号代码(主账号登录代码)",
  22527. "type": "string"
  22528. },
  22529. "hedgeaccountpwd": {
  22530. "description": "密码",
  22531. "type": "string"
  22532. },
  22533. "ismain": {
  22534. "description": "是否主账号",
  22535. "type": "integer"
  22536. },
  22537. "relateduserid": {
  22538. "description": "关联用户id",
  22539. "type": "integer"
  22540. },
  22541. "userid": {
  22542. "description": "关联用户id",
  22543. "type": "integer"
  22544. }
  22545. }
  22546. },
  22547. "models.Market": {
  22548. "type": "object",
  22549. "required": [
  22550. "marketid",
  22551. "marketstatus",
  22552. "openmethod",
  22553. "reckonpricealgorithm",
  22554. "trademode",
  22555. "tradeproperty"
  22556. ],
  22557. "properties": {
  22558. "auctionwrtype": {
  22559. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22560. "type": "integer"
  22561. },
  22562. "canacceptquote": {
  22563. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22564. "type": "integer"
  22565. },
  22566. "cangoodsexercise": {
  22567. "description": "[期权]是否可现货行权- 0:否 1:是",
  22568. "type": "integer"
  22569. },
  22570. "cangoodsexercisetype": {
  22571. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22572. "type": "integer"
  22573. },
  22574. "canmanualquotestrike": {
  22575. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22576. "type": "integer"
  22577. },
  22578. "canmutistage": {
  22579. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22580. "type": "integer"
  22581. },
  22582. "canpreexercise": {
  22583. "description": "[期权]是否可预申报- 0:否 1:是",
  22584. "type": "integer"
  22585. },
  22586. "clearinterval": {
  22587. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22588. "type": "integer"
  22589. },
  22590. "contracttmp": {
  22591. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22592. "type": "string"
  22593. },
  22594. "exchareaid": {
  22595. "description": "所属交易所,可以没有",
  22596. "type": "integer"
  22597. },
  22598. "goodstype": {
  22599. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22600. "type": "integer"
  22601. },
  22602. "hasrebate": {
  22603. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22604. "type": "integer"
  22605. },
  22606. "hastradecredit": {
  22607. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22608. "type": "integer"
  22609. },
  22610. "haswr": {
  22611. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22612. "type": "integer"
  22613. },
  22614. "isdeductmargin": {
  22615. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22616. "type": "integer"
  22617. },
  22618. "isrecordsource": {
  22619. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22620. "type": "integer"
  22621. },
  22622. "isreleasemargin": {
  22623. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22624. "type": "integer"
  22625. },
  22626. "marginformula": {
  22627. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22628. "type": "integer"
  22629. },
  22630. "marginformula2": {
  22631. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22632. "type": "integer"
  22633. },
  22634. "marketid": {
  22635. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22636. "type": "integer"
  22637. },
  22638. "marketname": {
  22639. "description": "市场名称",
  22640. "type": "string"
  22641. },
  22642. "marketserviceid": {
  22643. "description": "市场服务ID",
  22644. "type": "integer"
  22645. },
  22646. "marketstatus": {
  22647. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22648. "type": "integer"
  22649. },
  22650. "markettype": {
  22651. "description": "市场类型- 1:非交易服务 2:交易服务",
  22652. "type": "integer"
  22653. },
  22654. "matchermode": {
  22655. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22656. "type": "integer"
  22657. },
  22658. "openmethod": {
  22659. "description": "开盘模式 - 0 自动 1手动",
  22660. "type": "integer"
  22661. },
  22662. "otcuserid": {
  22663. "description": "场外期权做市商[场外期权]",
  22664. "type": "integer"
  22665. },
  22666. "outersynctime": {
  22667. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22668. "type": "string"
  22669. },
  22670. "pendingflag": {
  22671. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22672. "type": "integer"
  22673. },
  22674. "pendingtime": {
  22675. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22676. "type": "string"
  22677. },
  22678. "performancetempid": {
  22679. "description": "履约计划模板ID - 作废",
  22680. "type": "integer"
  22681. },
  22682. "premiumquotemode": {
  22683. "description": "权利金报价方式 - 1:自动 2:手动",
  22684. "type": "integer"
  22685. },
  22686. "rebateratio": {
  22687. "description": "返利比率[竞价式]",
  22688. "type": "number"
  22689. },
  22690. "reckonorder": {
  22691. "description": "结算顺序",
  22692. "type": "integer"
  22693. },
  22694. "reckonpricealgorithm": {
  22695. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22696. "type": "integer"
  22697. },
  22698. "reckonpriceparam": {
  22699. "description": "结算价参数",
  22700. "type": "integer"
  22701. },
  22702. "reckontime": {
  22703. "description": "结算时间[通道交易-对冲](HH:mm)",
  22704. "type": "string"
  22705. },
  22706. "roleprioritytype": {
  22707. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22708. "type": "integer"
  22709. },
  22710. "selllistingauditflag": {
  22711. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22712. "type": "integer"
  22713. },
  22714. "trademarkettype": {
  22715. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22716. "type": "integer"
  22717. },
  22718. "trademode": {
  22719. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22720. "type": "integer"
  22721. },
  22722. "tradeproperty": {
  22723. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22724. "type": "integer"
  22725. },
  22726. "tradetype": {
  22727. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22728. "type": "integer"
  22729. }
  22730. }
  22731. },
  22732. "models.Marketrun": {
  22733. "type": "object",
  22734. "required": [
  22735. "marketid",
  22736. "nexttradedate",
  22737. "reckonflag",
  22738. "runstatus",
  22739. "tradedate",
  22740. "tradedate2"
  22741. ],
  22742. "properties": {
  22743. "afternexttradedate": {
  22744. "description": "下下交易日",
  22745. "type": "string"
  22746. },
  22747. "clearquoteflag": {
  22748. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22749. "type": "integer"
  22750. },
  22751. "lastreckondate": {
  22752. "description": "最新交易日(结算成功)",
  22753. "type": "string"
  22754. },
  22755. "machinedate": {
  22756. "description": "机器时间",
  22757. "type": "string"
  22758. },
  22759. "manualflag": {
  22760. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22761. "type": "integer"
  22762. },
  22763. "marketid": {
  22764. "description": "市场ID",
  22765. "type": "integer"
  22766. },
  22767. "nexttradedate": {
  22768. "description": "下一交易日",
  22769. "type": "string"
  22770. },
  22771. "pretradedate": {
  22772. "description": "上一交易日",
  22773. "type": "string"
  22774. },
  22775. "reckonflag": {
  22776. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22777. "type": "integer"
  22778. },
  22779. "runstatus": {
  22780. "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.今日免清算",
  22781. "type": "integer"
  22782. },
  22783. "sectionid": {
  22784. "description": "时间段号[多时段时用]",
  22785. "type": "integer"
  22786. },
  22787. "tradedate": {
  22788. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22789. "type": "string"
  22790. },
  22791. "tradedate2": {
  22792. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22793. "type": "string"
  22794. },
  22795. "updatetime": {
  22796. "description": "更新时间",
  22797. "type": "string"
  22798. }
  22799. }
  22800. },
  22801. "models.Messageboard": {
  22802. "type": "object",
  22803. "required": [
  22804. "messageboardid"
  22805. ],
  22806. "properties": {
  22807. "contactnum": {
  22808. "description": "联系电话",
  22809. "type": "string"
  22810. },
  22811. "createtime": {
  22812. "description": "创建时间",
  22813. "type": "string"
  22814. },
  22815. "message": {
  22816. "description": "留言信息",
  22817. "type": "string"
  22818. },
  22819. "messageboardid": {
  22820. "description": "留言簿ID(SEQ_MessageBoard)",
  22821. "type": "integer"
  22822. },
  22823. "userid": {
  22824. "description": "用户ID",
  22825. "type": "integer"
  22826. }
  22827. }
  22828. },
  22829. "models.MyCoupon": {
  22830. "type": "object",
  22831. "required": [
  22832. "accountid",
  22833. "coupontypeid"
  22834. ],
  22835. "properties": {
  22836. "accountid": {
  22837. "description": "资金账户ID",
  22838. "type": "integer"
  22839. },
  22840. "areauserid": {
  22841. "description": "所属机构",
  22842. "type": "integer"
  22843. },
  22844. "conditionvalue": {
  22845. "description": "条件阈值(可为0)",
  22846. "type": "number"
  22847. },
  22848. "couponcategroy": {
  22849. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  22850. "type": "integer"
  22851. },
  22852. "couponname": {
  22853. "description": "优惠券名称",
  22854. "type": "string"
  22855. },
  22856. "coupontypeid": {
  22857. "description": "优惠券类型ID",
  22858. "type": "string"
  22859. },
  22860. "couponvalue": {
  22861. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22862. "type": "number"
  22863. },
  22864. "curfreezeqty": {
  22865. "description": "期末冻结数量",
  22866. "type": "integer"
  22867. },
  22868. "curqty": {
  22869. "description": "期末数量",
  22870. "type": "integer"
  22871. },
  22872. "isgeneral": {
  22873. "description": "是否通用券 - 0:否 1:是",
  22874. "type": "integer"
  22875. },
  22876. "isunusable": {
  22877. "description": "是否不可用",
  22878. "type": "boolean"
  22879. },
  22880. "limitedflag": {
  22881. "description": "是否指定商品 - 0:不限 1:限制",
  22882. "type": "integer"
  22883. },
  22884. "limitedgoodsids": {
  22885. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  22886. "type": "string"
  22887. },
  22888. "orifreezeqty": {
  22889. "description": "期初冻结数量",
  22890. "type": "integer"
  22891. },
  22892. "oriqty": {
  22893. "description": "期初数量",
  22894. "type": "integer"
  22895. },
  22896. "reasontype": {
  22897. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  22898. "type": "integer"
  22899. },
  22900. "todaydecrease": {
  22901. "description": "今日减少",
  22902. "type": "integer"
  22903. },
  22904. "todayincrease": {
  22905. "description": "今日增加",
  22906. "type": "integer"
  22907. },
  22908. "userid": {
  22909. "description": "用户ID",
  22910. "type": "integer"
  22911. },
  22912. "userscope": {
  22913. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  22914. "type": "string"
  22915. }
  22916. }
  22917. },
  22918. "models.MyCouponHold": {
  22919. "type": "object",
  22920. "required": [
  22921. "couponholdid"
  22922. ],
  22923. "properties": {
  22924. "accountid": {
  22925. "description": "资金账户ID",
  22926. "type": "integer"
  22927. },
  22928. "conditionvalue": {
  22929. "description": "条件阈值(可为0)",
  22930. "type": "number"
  22931. },
  22932. "couponcategroy": {
  22933. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  22934. "type": "integer"
  22935. },
  22936. "couponholdid": {
  22937. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  22938. "type": "string"
  22939. },
  22940. "couponname": {
  22941. "description": "优惠券名称",
  22942. "type": "string"
  22943. },
  22944. "coupontypeid": {
  22945. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  22946. "type": "string"
  22947. },
  22948. "couponvalue": {
  22949. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  22950. "type": "number"
  22951. },
  22952. "createtime": {
  22953. "description": "创建时间",
  22954. "type": "string"
  22955. },
  22956. "enddate": {
  22957. "description": "结束日期",
  22958. "type": "string"
  22959. },
  22960. "giveapplyid": {
  22961. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  22962. "type": "integer"
  22963. },
  22964. "holdstatus": {
  22965. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  22966. "type": "integer"
  22967. },
  22968. "isgeneral": {
  22969. "description": "是否通用券 - 0:否 1:是",
  22970. "type": "integer"
  22971. },
  22972. "limitedflag": {
  22973. "description": "是否指定商品 - 0:不限 1:限制",
  22974. "type": "integer"
  22975. },
  22976. "limitedgoodsids": {
  22977. "description": "指定商品IDs[逗号分隔]",
  22978. "type": "string"
  22979. },
  22980. "qty": {
  22981. "description": "数量(按1平铺)",
  22982. "type": "integer"
  22983. },
  22984. "startdate": {
  22985. "description": "开始日期",
  22986. "type": "string"
  22987. },
  22988. "userid": {
  22989. "description": "用户ID",
  22990. "type": "integer"
  22991. },
  22992. "userscope": {
  22993. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  22994. "type": "string"
  22995. }
  22996. }
  22997. },
  22998. "models.MyUsedCoupon": {
  22999. "type": "object",
  23000. "required": [
  23001. "coupontypeid",
  23002. "orderid"
  23003. ],
  23004. "properties": {
  23005. "accountid": {
  23006. "description": "资金账户ID(买方)",
  23007. "type": "integer"
  23008. },
  23009. "conditionvalue": {
  23010. "description": "条件阈值(可为0)",
  23011. "type": "number"
  23012. },
  23013. "couponcategroy": {
  23014. "description": "种类 - 1:现金券 2:折扣券",
  23015. "type": "integer"
  23016. },
  23017. "couponname": {
  23018. "description": "优惠券名称",
  23019. "type": "string"
  23020. },
  23021. "coupontypeid": {
  23022. "description": "优惠券类型ID(买方)",
  23023. "type": "string"
  23024. },
  23025. "couponvalue": {
  23026. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23027. "type": "number"
  23028. },
  23029. "createtime": {
  23030. "description": "创建时间",
  23031. "type": "string"
  23032. },
  23033. "goodsid": {
  23034. "description": "商品ID",
  23035. "type": "integer"
  23036. },
  23037. "handlestatus": {
  23038. "description": "处理状态",
  23039. "type": "integer"
  23040. },
  23041. "marketid": {
  23042. "description": "市场ID",
  23043. "type": "integer"
  23044. },
  23045. "offamount": {
  23046. "description": "优惠金额",
  23047. "type": "number"
  23048. },
  23049. "orderid": {
  23050. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23051. "type": "string"
  23052. },
  23053. "sellaccountid": {
  23054. "description": "资金账户ID(卖方)",
  23055. "type": "integer"
  23056. },
  23057. "tradeamount": {
  23058. "description": "成交金额",
  23059. "type": "number"
  23060. },
  23061. "tradeid": {
  23062. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23063. "type": "string"
  23064. },
  23065. "usedqty": {
  23066. "description": "使用数量",
  23067. "type": "integer"
  23068. }
  23069. }
  23070. },
  23071. "models.OperationPrimaryMenu": {
  23072. "type": "object",
  23073. "properties": {
  23074. "Children": {
  23075. "description": "二级功能菜单",
  23076. "type": "array",
  23077. "items": {
  23078. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23079. }
  23080. },
  23081. "Key": {
  23082. "description": "菜单KEY",
  23083. "type": "string"
  23084. },
  23085. "Label": {
  23086. "description": "菜单标题",
  23087. "type": "string"
  23088. }
  23089. }
  23090. },
  23091. "models.OperationSecondaryMenu": {
  23092. "type": "object",
  23093. "properties": {
  23094. "Key": {
  23095. "description": "菜单KEY",
  23096. "type": "string"
  23097. },
  23098. "Label": {
  23099. "description": "菜单标题",
  23100. "type": "string"
  23101. },
  23102. "TabList": {
  23103. "description": "三级功能菜单",
  23104. "type": "array",
  23105. "items": {
  23106. "$ref": "#/definitions/models.OperationTabMenu"
  23107. }
  23108. }
  23109. }
  23110. },
  23111. "models.OperationTabMenu": {
  23112. "type": "object",
  23113. "properties": {
  23114. "Key": {
  23115. "description": "菜单KEY",
  23116. "type": "string"
  23117. },
  23118. "Label": {
  23119. "description": "菜单标题",
  23120. "type": "string"
  23121. }
  23122. }
  23123. },
  23124. "models.PendingAuditBizModel": {
  23125. "type": "object",
  23126. "properties": {
  23127. "accountid": {
  23128. "description": "现货账户",
  23129. "type": "string"
  23130. },
  23131. "areaname": {
  23132. "description": "所属部门",
  23133. "type": "string"
  23134. },
  23135. "bizid": {
  23136. "description": "业务ID",
  23137. "type": "string"
  23138. },
  23139. "bizname": {
  23140. "description": "业务名称",
  23141. "type": "string"
  23142. },
  23143. "status": {
  23144. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23145. "type": "integer"
  23146. },
  23147. "type": {
  23148. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23149. "type": "integer"
  23150. }
  23151. }
  23152. },
  23153. "models.QhjAccountOutInApply": {
  23154. "type": "object",
  23155. "properties": {
  23156. "accountcode": {
  23157. "description": "资金账号",
  23158. "type": "string"
  23159. },
  23160. "accountname": {
  23161. "description": "用户名称(名称)",
  23162. "type": "string"
  23163. },
  23164. "accountpwd": {
  23165. "description": "资金密码",
  23166. "type": "string"
  23167. },
  23168. "accountticket": {
  23169. "description": "最新账户服务流水号",
  23170. "type": "string"
  23171. },
  23172. "amount": {
  23173. "description": "金额",
  23174. "type": "number"
  23175. },
  23176. "applyremark": {
  23177. "description": "申请备注",
  23178. "type": "string"
  23179. },
  23180. "applystatus": {
  23181. "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: 复审通过,账户冻结金额检查中;",
  23182. "type": "integer"
  23183. },
  23184. "auditid": {
  23185. "description": "审核人",
  23186. "type": "integer"
  23187. },
  23188. "audittime": {
  23189. "description": "审核时间",
  23190. "type": "string"
  23191. },
  23192. "bank_apply_ticket": {
  23193. "description": "银行申请流水",
  23194. "type": "string"
  23195. },
  23196. "bankaccountname": {
  23197. "description": "银行账户名",
  23198. "type": "string"
  23199. },
  23200. "bankaccountno": {
  23201. "description": "银行卡号",
  23202. "type": "string"
  23203. },
  23204. "bankid": {
  23205. "description": "银行编号",
  23206. "type": "string"
  23207. },
  23208. "bankticket": {
  23209. "description": "银行流水",
  23210. "type": "string"
  23211. },
  23212. "branchbankid": {
  23213. "description": "银行支行号",
  23214. "type": "string"
  23215. },
  23216. "branchbankname": {
  23217. "description": "银行支行名称",
  23218. "type": "string"
  23219. },
  23220. "capamountout": {
  23221. "description": "出金(劣后本金) - 外部子账户",
  23222. "type": "number"
  23223. },
  23224. "certificatephotourl": {
  23225. "description": "凭证地址",
  23226. "type": "string"
  23227. },
  23228. "charge": {
  23229. "description": "手续费",
  23230. "type": "number"
  23231. },
  23232. "checkerrorflag": {
  23233. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23234. "type": "integer"
  23235. },
  23236. "currency": {
  23237. "description": "币种",
  23238. "type": "string"
  23239. },
  23240. "cusbankid": {
  23241. "description": "托管银行编号",
  23242. "type": "string"
  23243. },
  23244. "exchticket": {
  23245. "description": "银行服务流水号",
  23246. "type": "string"
  23247. },
  23248. "executetype": {
  23249. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23250. "type": "integer"
  23251. },
  23252. "extendinfo": {
  23253. "description": "扩展信息",
  23254. "type": "string"
  23255. },
  23256. "extoperateid": {
  23257. "description": "交易服务流水号",
  23258. "type": "integer"
  23259. },
  23260. "infamount": {
  23261. "description": "劣后金额(自有)",
  23262. "type": "number"
  23263. },
  23264. "logincode": {
  23265. "description": "登录账号(账号)",
  23266. "type": "string"
  23267. },
  23268. "netaddr": {
  23269. "description": "调转网址",
  23270. "type": "string"
  23271. },
  23272. "priamount": {
  23273. "description": "优先金额(授信)",
  23274. "type": "number"
  23275. },
  23276. "reauditid": {
  23277. "description": "复审人",
  23278. "type": "integer"
  23279. },
  23280. "reauditremark": {
  23281. "description": "复审备注",
  23282. "type": "string"
  23283. },
  23284. "reaudittime": {
  23285. "description": "复审时间",
  23286. "type": "string"
  23287. },
  23288. "relatedorderid": {
  23289. "description": "三方关联ID",
  23290. "type": "string"
  23291. },
  23292. "remark": {
  23293. "description": "备注",
  23294. "type": "string"
  23295. },
  23296. "remark2": {
  23297. "description": "备注(失败原因)",
  23298. "type": "string"
  23299. },
  23300. "soucreamount": {
  23301. "description": "原始出入金金额",
  23302. "type": "number"
  23303. },
  23304. "soucrecurrencyid": {
  23305. "description": "原始出入金币种",
  23306. "type": "integer"
  23307. },
  23308. "tradedate": {
  23309. "description": "交易日(yyyyMMdd)",
  23310. "type": "string"
  23311. },
  23312. "updatetime": {
  23313. "description": "更新时间(申请时间)",
  23314. "type": "string"
  23315. },
  23316. "userid": {
  23317. "description": "用户id",
  23318. "type": "integer"
  23319. },
  23320. "userinfotype": {
  23321. "description": "账户类型 1-个人 2-企业",
  23322. "type": "integer"
  23323. }
  23324. }
  23325. },
  23326. "models.QhjAgreementChangeLog": {
  23327. "type": "object",
  23328. "properties": {
  23329. "agreementcontent": {
  23330. "description": "协议内容",
  23331. "type": "string"
  23332. },
  23333. "agreementfrequency": {
  23334. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23335. "type": "integer"
  23336. },
  23337. "agreementid": {
  23338. "description": "协议ID",
  23339. "type": "integer"
  23340. },
  23341. "agreementname": {
  23342. "description": "协议名称",
  23343. "type": "string"
  23344. },
  23345. "agreementno": {
  23346. "description": "协议编号",
  23347. "type": "string"
  23348. },
  23349. "agreementtype": {
  23350. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23351. "type": "integer"
  23352. },
  23353. "agreementversion": {
  23354. "description": "协议版本号",
  23355. "type": "integer"
  23356. },
  23357. "logid": {
  23358. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23359. "type": "integer"
  23360. },
  23361. "reviserid": {
  23362. "description": "修改人",
  23363. "type": "integer"
  23364. },
  23365. "revisersrc": {
  23366. "description": "修改来源 - 1:管理端 2:终端",
  23367. "type": "integer"
  23368. },
  23369. "updatetime": {
  23370. "description": "更新时间",
  23371. "type": "string"
  23372. }
  23373. }
  23374. },
  23375. "models.QhjAgreementConfig": {
  23376. "type": "object",
  23377. "properties": {
  23378. "agreementcontent": {
  23379. "description": "协议内容",
  23380. "type": "string"
  23381. },
  23382. "agreementfrequency": {
  23383. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23384. "type": "integer"
  23385. },
  23386. "agreementid": {
  23387. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23388. "type": "integer"
  23389. },
  23390. "agreementname": {
  23391. "description": "协议名称",
  23392. "type": "string"
  23393. },
  23394. "agreementno": {
  23395. "description": "协议编号",
  23396. "type": "string"
  23397. },
  23398. "agreementtype": {
  23399. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23400. "type": "integer"
  23401. },
  23402. "agreementversion": {
  23403. "description": "协议版本号(从1开始每次修改加1)",
  23404. "type": "integer"
  23405. },
  23406. "createtime": {
  23407. "description": "创建时间",
  23408. "type": "string"
  23409. },
  23410. "creatorid": {
  23411. "description": "创建人",
  23412. "type": "integer"
  23413. },
  23414. "creatorsrc": {
  23415. "description": "创建来源 - 1:管理端 2:终端",
  23416. "type": "integer"
  23417. },
  23418. "isvalid": {
  23419. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  23420. "type": "integer"
  23421. },
  23422. "reviserid": {
  23423. "description": "修改人",
  23424. "type": "integer"
  23425. },
  23426. "revisersrc": {
  23427. "description": "修改来源 - 1:管理端 2:终端",
  23428. "type": "integer"
  23429. },
  23430. "updatetime": {
  23431. "description": "更新时间",
  23432. "type": "string"
  23433. }
  23434. }
  23435. },
  23436. "models.QhjAreaFinanceConfig": {
  23437. "type": "object",
  23438. "properties": {
  23439. "additionalratio": {
  23440. "description": "追加款比例",
  23441. "type": "number"
  23442. },
  23443. "advanceratio": {
  23444. "description": "预付款比例",
  23445. "type": "number"
  23446. },
  23447. "alarmratio": {
  23448. "description": "告警比例",
  23449. "type": "number"
  23450. },
  23451. "consumptiondirectreward": {
  23452. "description": "消费直推奖励值",
  23453. "type": "number"
  23454. },
  23455. "consumptionenabled": {
  23456. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23457. "type": "integer"
  23458. },
  23459. "consumptionindirectreward": {
  23460. "description": "消费间推奖励值",
  23461. "type": "number"
  23462. },
  23463. "consumptionmodel": {
  23464. "description": "消费奖励方式 - 1:比率 2:固定",
  23465. "type": "integer"
  23466. },
  23467. "customerservicenum": {
  23468. "description": "客服电话",
  23469. "type": "string"
  23470. },
  23471. "dayinterestrate": {
  23472. "description": "日利率",
  23473. "type": "number"
  23474. },
  23475. "disableconsumptiontips": {
  23476. "description": "关闭消费奖励提示",
  23477. "type": "string"
  23478. },
  23479. "modifierid": {
  23480. "description": "修改人ID",
  23481. "type": "integer"
  23482. },
  23483. "modifysrc": {
  23484. "description": "审核来源 - 1:管理端 2:终端",
  23485. "type": "integer"
  23486. },
  23487. "modifytime": {
  23488. "description": "修改时间",
  23489. "type": "string"
  23490. },
  23491. "promotionvalue": {
  23492. "description": "推广奖励值(固定)",
  23493. "type": "number"
  23494. },
  23495. "scoreconfigvalue1": {
  23496. "description": "提货积分配置1",
  23497. "type": "integer"
  23498. },
  23499. "scoreconfigvalue2": {
  23500. "description": "提货积分配置2",
  23501. "type": "integer"
  23502. },
  23503. "userid": {
  23504. "description": "机构用户ID其他做市关系,都设置为 1",
  23505. "type": "integer"
  23506. },
  23507. "username": {
  23508. "description": "用户名称",
  23509. "type": "string"
  23510. }
  23511. }
  23512. },
  23513. "models.QhjBankAccountSign": {
  23514. "type": "object",
  23515. "properties": {
  23516. "accountcode": {
  23517. "description": "资金账号",
  23518. "type": "string"
  23519. },
  23520. "accountname": {
  23521. "description": "资金账号对应的账号名(UserName)",
  23522. "type": "string"
  23523. },
  23524. "accountname2": {
  23525. "description": "资金账号对应的账号名(UserName) - 密文",
  23526. "type": "string"
  23527. },
  23528. "accounttype": {
  23529. "description": "账户类型(UserType)",
  23530. "type": "integer"
  23531. },
  23532. "applicationtime": {
  23533. "description": "最后一次更新的时间",
  23534. "type": "string"
  23535. },
  23536. "applyexchticket": {
  23537. "description": "申请流水",
  23538. "type": "string"
  23539. },
  23540. "auditid": {
  23541. "description": "审核人",
  23542. "type": "integer"
  23543. },
  23544. "audittime": {
  23545. "description": "审核时间",
  23546. "type": "string"
  23547. },
  23548. "bankaccountname": {
  23549. "description": "签约银行卡账号名",
  23550. "type": "string"
  23551. },
  23552. "bankaccountname2": {
  23553. "description": "签约银行卡账号名 - 密文",
  23554. "type": "string"
  23555. },
  23556. "bankaccountno": {
  23557. "description": "银行卡号",
  23558. "type": "string"
  23559. },
  23560. "bankaccountno2": {
  23561. "description": "银行卡号 - 密文",
  23562. "type": "string"
  23563. },
  23564. "bankaccounttype": {
  23565. "description": "银行账户类型 - 1-对私; 2-对公",
  23566. "type": "integer"
  23567. },
  23568. "bankcardtype": {
  23569. "description": "银行卡类型",
  23570. "type": "integer"
  23571. },
  23572. "bankchildaccount": {
  23573. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23574. "type": "string"
  23575. },
  23576. "bankcity": {
  23577. "description": "开户行城市",
  23578. "type": "string"
  23579. },
  23580. "bankid": {
  23581. "description": "签约银行ID",
  23582. "type": "string"
  23583. },
  23584. "bankname": {
  23585. "description": "签约银行名称",
  23586. "type": "string"
  23587. },
  23588. "bankprovince": {
  23589. "description": "开户行省份",
  23590. "type": "string"
  23591. },
  23592. "branchbankid": {
  23593. "description": "签约银行支行号",
  23594. "type": "string"
  23595. },
  23596. "branchbankname": {
  23597. "description": "签约银行支行名称",
  23598. "type": "string"
  23599. },
  23600. "cardno": {
  23601. "description": "证件号码",
  23602. "type": "string"
  23603. },
  23604. "cardno2": {
  23605. "description": "证件号码 - 密文",
  23606. "type": "string"
  23607. },
  23608. "cardtype": {
  23609. "description": "证件类型",
  23610. "type": "string"
  23611. },
  23612. "currency": {
  23613. "description": "币种",
  23614. "type": "string"
  23615. },
  23616. "cusbankid": {
  23617. "description": "托管银行编号",
  23618. "type": "string"
  23619. },
  23620. "direct": {
  23621. "description": "方向(可以判断那方先发起的签约)",
  23622. "type": "integer"
  23623. },
  23624. "exchticket": {
  23625. "description": "最后一次签约成功的流水号",
  23626. "type": "string"
  23627. },
  23628. "extendinfo": {
  23629. "description": "扩展信息(JSON字符串)",
  23630. "type": "string"
  23631. },
  23632. "mobilephone": {
  23633. "description": "手机号",
  23634. "type": "string"
  23635. },
  23636. "mobilephone2": {
  23637. "description": "手机号 - 密文",
  23638. "type": "string"
  23639. },
  23640. "netaddr": {
  23641. "description": "调转网址",
  23642. "type": "string"
  23643. },
  23644. "relateduserid": {
  23645. "description": "关联使用者userid",
  23646. "type": "integer"
  23647. },
  23648. "signstatus": {
  23649. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23650. "type": "integer"
  23651. },
  23652. "updatetime": {
  23653. "description": "更新时间(签解约更新时间)",
  23654. "type": "string"
  23655. }
  23656. }
  23657. },
  23658. "models.QhjBankInfo": {
  23659. "type": "object",
  23660. "properties": {
  23661. "bankid": {
  23662. "description": "银行ID",
  23663. "type": "string"
  23664. },
  23665. "bankname": {
  23666. "description": "银行名称",
  23667. "type": "string"
  23668. },
  23669. "clearbankno": {
  23670. "description": "清算系统银行编号",
  23671. "type": "string"
  23672. },
  23673. "orderindex": {
  23674. "description": "排序顺序",
  23675. "type": "integer"
  23676. },
  23677. "status": {
  23678. "description": "状态 - 0:正常 1:注销",
  23679. "type": "integer"
  23680. }
  23681. }
  23682. },
  23683. "models.QhjContract": {
  23684. "type": "object",
  23685. "properties": {
  23686. "contractconfirmtime": {
  23687. "description": "合同确认时间(时间)",
  23688. "type": "string"
  23689. },
  23690. "currisklevel": {
  23691. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  23692. "type": "integer"
  23693. },
  23694. "decimalplace": {
  23695. "description": "商品报价小数位",
  23696. "type": "integer"
  23697. },
  23698. "enumdicname": {
  23699. "description": "单位名称",
  23700. "type": "string"
  23701. },
  23702. "goodscode": {
  23703. "description": "商品代码",
  23704. "type": "string"
  23705. },
  23706. "goodsid": {
  23707. "description": "商品ID [5:融资单]",
  23708. "type": "integer"
  23709. },
  23710. "goodsname": {
  23711. "description": "商品名称",
  23712. "type": "string"
  23713. },
  23714. "goodunitid": {
  23715. "description": "商品单位id",
  23716. "type": "integer"
  23717. },
  23718. "initmargin": {
  23719. "description": "初始保证金(首付款)",
  23720. "type": "number"
  23721. },
  23722. "lenderamount": {
  23723. "description": "贷款金额(总额|订单总额)",
  23724. "type": "number"
  23725. },
  23726. "marginratio": {
  23727. "description": "保证金比率(首付比例)",
  23728. "type": "number"
  23729. },
  23730. "payamount": {
  23731. "description": "已付(已付货款)",
  23732. "type": "number"
  23733. },
  23734. "reckonrecovermargin": {
  23735. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  23736. "type": "number"
  23737. },
  23738. "recoveredmargin": {
  23739. "description": "已追缴保证金",
  23740. "type": "number"
  23741. },
  23742. "remainamount": {
  23743. "description": "合同剩余金额(融资额)",
  23744. "type": "number"
  23745. },
  23746. "scfcontractid": {
  23747. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23748. "type": "string"
  23749. },
  23750. "scfcontractstatus": {
  23751. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  23752. "type": "integer"
  23753. },
  23754. "scfcontracttype": {
  23755. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  23756. "type": "integer"
  23757. },
  23758. "totalinterest": {
  23759. "description": "已计总利息(利息)",
  23760. "type": "number"
  23761. },
  23762. "tradeprice": {
  23763. "description": "成交价格(成本价格)",
  23764. "type": "number"
  23765. },
  23766. "userid": {
  23767. "description": "用户ID",
  23768. "type": "integer"
  23769. },
  23770. "username": {
  23771. "description": "用户名称",
  23772. "type": "string"
  23773. },
  23774. "wrqty": {
  23775. "description": "仓单数量(数量)",
  23776. "type": "number"
  23777. }
  23778. }
  23779. },
  23780. "models.QhjContractLog": {
  23781. "type": "object",
  23782. "properties": {
  23783. "amount": {
  23784. "description": "支付金额",
  23785. "type": "number"
  23786. },
  23787. "amounttype": {
  23788. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  23789. "type": "integer"
  23790. },
  23791. "logid": {
  23792. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23793. "type": "string"
  23794. },
  23795. "remainamount": {
  23796. "description": "剩余货款",
  23797. "type": "number"
  23798. },
  23799. "scfcontractid": {
  23800. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  23801. "type": "integer"
  23802. },
  23803. "updatetime": {
  23804. "description": "更新时间",
  23805. "type": "string"
  23806. }
  23807. }
  23808. },
  23809. "models.QhjCusBankSignBankEx": {
  23810. "type": "object",
  23811. "properties": {
  23812. "banklst": {
  23813. "description": "银行列表",
  23814. "type": "array",
  23815. "items": {
  23816. "$ref": "#/definitions/models.QhjBankInfo"
  23817. }
  23818. },
  23819. "canallot": {
  23820. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  23821. "type": "integer"
  23822. },
  23823. "canallotquery": {
  23824. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  23825. "type": "integer"
  23826. },
  23827. "canbindcard": {
  23828. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  23829. "type": "integer"
  23830. },
  23831. "caninamount": {
  23832. "description": "是否可入金 - 0:不可 1:可以",
  23833. "type": "integer"
  23834. },
  23835. "caninamount2": {
  23836. "description": "是否可入金(网银端) - 0:不可 1:可以",
  23837. "type": "integer"
  23838. },
  23839. "canmodifybankcard": {
  23840. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  23841. "type": "integer"
  23842. },
  23843. "canmodifyphone": {
  23844. "description": "是否可修改手机号 - 0:不可 1:可以",
  23845. "type": "integer"
  23846. },
  23847. "canmodifysigninfo": {
  23848. "description": "是否可修改签约信息 - 0:不可 1:可以",
  23849. "type": "integer"
  23850. },
  23851. "canoutamount": {
  23852. "description": "是否可出金 - 0:不可 1:可以",
  23853. "type": "integer"
  23854. },
  23855. "canoutamount2": {
  23856. "description": "是否可出金(网银端) - 0:不可 1:可以",
  23857. "type": "integer"
  23858. },
  23859. "canrelease": {
  23860. "description": "是否可解约 - 0:不可 1:可以",
  23861. "type": "integer"
  23862. },
  23863. "canrelease2": {
  23864. "description": "是否可解约(网银端) - 0:不可 1:可以",
  23865. "type": "integer"
  23866. },
  23867. "cansign": {
  23868. "description": "是否可签约 - 0:不可 1:可以",
  23869. "type": "integer"
  23870. },
  23871. "cansign2": {
  23872. "description": "是否可签约(网银端) - 0:不可 1:可以",
  23873. "type": "integer"
  23874. },
  23875. "currency": {
  23876. "description": "币种",
  23877. "type": "string"
  23878. },
  23879. "cusbankid": {
  23880. "description": "托管银行编号(对应清算中心TRAN_NO)",
  23881. "type": "string"
  23882. },
  23883. "cusbankname": {
  23884. "description": "银行业务名称",
  23885. "type": "string"
  23886. },
  23887. "cusbankshortname": {
  23888. "description": "银行业务简称",
  23889. "type": "string"
  23890. },
  23891. "exchbankid": {
  23892. "description": "交易所开户银行ID",
  23893. "type": "string"
  23894. },
  23895. "exchpaybankaccname": {
  23896. "description": "交易所支出结算账户户名",
  23897. "type": "string"
  23898. },
  23899. "exchpaybankaccno": {
  23900. "description": "交易所支出结算账户",
  23901. "type": "string"
  23902. },
  23903. "isneedcheck": {
  23904. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  23905. "type": "integer"
  23906. },
  23907. "isneedclear": {
  23908. "description": "是否需要清算 - 0:不需要 1:需要",
  23909. "type": "integer"
  23910. },
  23911. "lastcheckstatus": {
  23912. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  23913. "type": "integer"
  23914. },
  23915. "lastchecktime": {
  23916. "description": "最后对账时间",
  23917. "type": "string"
  23918. },
  23919. "lastclearstatus": {
  23920. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  23921. "type": "integer"
  23922. },
  23923. "lastcleartime": {
  23924. "description": "最后清算时间",
  23925. "type": "string"
  23926. },
  23927. "lastsignintime": {
  23928. "description": "最后签到时间",
  23929. "type": "string"
  23930. },
  23931. "lastsignouttime": {
  23932. "description": "最后签退时间",
  23933. "type": "string"
  23934. },
  23935. "riskinfo": {
  23936. "description": "签约风险提示书",
  23937. "type": "string"
  23938. },
  23939. "signstatus": {
  23940. "description": "当前签到/签退状态 - 1:签到 2:签退",
  23941. "type": "integer"
  23942. },
  23943. "tradedate": {
  23944. "description": "交易日(yyyyMMdd)",
  23945. "type": "string"
  23946. },
  23947. "updatetime": {
  23948. "description": "当前签到/签退更新时间",
  23949. "type": "string"
  23950. }
  23951. }
  23952. },
  23953. "models.QhjCustomer": {
  23954. "type": "object",
  23955. "properties": {
  23956. "address": {
  23957. "description": "通讯地址",
  23958. "type": "string"
  23959. },
  23960. "attachment1": {
  23961. "description": "附件1",
  23962. "type": "string"
  23963. },
  23964. "audittime": {
  23965. "description": "审核时间",
  23966. "type": "string"
  23967. },
  23968. "cardbackphotourl": {
  23969. "description": "证件反面图片地址",
  23970. "type": "string"
  23971. },
  23972. "cardfrontphotourl": {
  23973. "description": "证件正面图片地址",
  23974. "type": "string"
  23975. },
  23976. "cardnum": {
  23977. "description": "证件号码",
  23978. "type": "string"
  23979. },
  23980. "cardtype": {
  23981. "description": "证件类型",
  23982. "type": "integer"
  23983. },
  23984. "cardtypename": {
  23985. "description": "证件类型名称",
  23986. "type": "string"
  23987. },
  23988. "cityid": {
  23989. "description": "市",
  23990. "type": "integer"
  23991. },
  23992. "cityname": {
  23993. "description": "城市名称",
  23994. "type": "string"
  23995. },
  23996. "contactname": {
  23997. "description": "联系人",
  23998. "type": "string"
  23999. },
  24000. "countryid": {
  24001. "description": "国家",
  24002. "type": "integer"
  24003. },
  24004. "countryname": {
  24005. "description": "国家名称",
  24006. "type": "string"
  24007. },
  24008. "createtime": {
  24009. "description": "创建时间",
  24010. "type": "string"
  24011. },
  24012. "customername": {
  24013. "description": "客户名称",
  24014. "type": "string"
  24015. },
  24016. "districtid": {
  24017. "description": "区域",
  24018. "type": "integer"
  24019. },
  24020. "districtname": {
  24021. "description": "地区名称",
  24022. "type": "string"
  24023. },
  24024. "email": {
  24025. "description": "邮件",
  24026. "type": "string"
  24027. },
  24028. "legalpersonname": {
  24029. "description": "法人姓名(企业)",
  24030. "type": "string"
  24031. },
  24032. "logincode": {
  24033. "description": "登录账号(代码)",
  24034. "type": "string"
  24035. },
  24036. "memberuserid": {
  24037. "description": "所属机构ID(所属会员)",
  24038. "type": "integer"
  24039. },
  24040. "memberusername": {
  24041. "description": "所属会员名称",
  24042. "type": "string"
  24043. },
  24044. "mobile": {
  24045. "description": "手机号码",
  24046. "type": "string"
  24047. },
  24048. "modifytime": {
  24049. "description": "修改时间",
  24050. "type": "string"
  24051. },
  24052. "nickname": {
  24053. "description": "昵称",
  24054. "type": "string"
  24055. },
  24056. "parentuserid": {
  24057. "description": "上级机构(所属机构)",
  24058. "type": "integer"
  24059. },
  24060. "parentusername": {
  24061. "description": "所属机构名称",
  24062. "type": "string"
  24063. },
  24064. "provinceid": {
  24065. "description": "省",
  24066. "type": "integer"
  24067. },
  24068. "provincename": {
  24069. "description": "省名称",
  24070. "type": "string"
  24071. },
  24072. "proxystatementurl": {
  24073. "description": "授权委托书",
  24074. "type": "string"
  24075. },
  24076. "remark": {
  24077. "description": "备注",
  24078. "type": "string"
  24079. },
  24080. "status": {
  24081. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  24082. "type": "integer"
  24083. },
  24084. "statusdesc": {
  24085. "description": "账户状态中文描述",
  24086. "type": "string"
  24087. },
  24088. "taxpayernum": {
  24089. "description": "纳税人识别号",
  24090. "type": "string"
  24091. },
  24092. "telphone": {
  24093. "description": "联系电话",
  24094. "type": "string"
  24095. },
  24096. "userid": {
  24097. "description": "用户ID",
  24098. "type": "integer"
  24099. },
  24100. "userinfotype": {
  24101. "description": "客户类型 1-个人 2-企业",
  24102. "type": "integer"
  24103. },
  24104. "username": {
  24105. "description": "用户名称",
  24106. "type": "string"
  24107. }
  24108. }
  24109. },
  24110. "models.QhjCustomerSignLog": {
  24111. "type": "object",
  24112. "properties": {
  24113. "agreementcontent": {
  24114. "description": "协议内容",
  24115. "type": "string"
  24116. },
  24117. "agreementid": {
  24118. "description": "协议ID",
  24119. "type": "integer"
  24120. },
  24121. "agreementname": {
  24122. "description": "协议名称",
  24123. "type": "string"
  24124. },
  24125. "agreementno": {
  24126. "description": "协议编号",
  24127. "type": "string"
  24128. },
  24129. "agreementtype": {
  24130. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24131. "type": "integer"
  24132. },
  24133. "agreementversion": {
  24134. "description": "协议版本号",
  24135. "type": "integer"
  24136. },
  24137. "createtime": {
  24138. "description": "创建时间",
  24139. "type": "string"
  24140. },
  24141. "goodscode": {
  24142. "description": "商品代码",
  24143. "type": "string"
  24144. },
  24145. "goodsid": {
  24146. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24147. "type": "integer"
  24148. },
  24149. "goodsname": {
  24150. "description": "商品名称",
  24151. "type": "string"
  24152. },
  24153. "logid": {
  24154. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  24155. "type": "integer"
  24156. },
  24157. "nodetype": {
  24158. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24159. "type": "integer"
  24160. },
  24161. "signadressurl": {
  24162. "description": "签约文件地址",
  24163. "type": "string"
  24164. },
  24165. "signtimestamp": {
  24166. "description": "签约状态时间戳",
  24167. "type": "string"
  24168. },
  24169. "userid": {
  24170. "description": "客户ID",
  24171. "type": "integer"
  24172. },
  24173. "username": {
  24174. "description": "客户名称",
  24175. "type": "string"
  24176. }
  24177. }
  24178. },
  24179. "models.QhjCustomerSignStatus": {
  24180. "type": "object",
  24181. "properties": {
  24182. "createtime": {
  24183. "description": "创建时间",
  24184. "type": "string"
  24185. },
  24186. "goodscode": {
  24187. "description": "商品代码",
  24188. "type": "string"
  24189. },
  24190. "goodsid": {
  24191. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24192. "type": "integer"
  24193. },
  24194. "goodsname": {
  24195. "description": "商品名称",
  24196. "type": "string"
  24197. },
  24198. "nodetype": {
  24199. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  24200. "type": "integer"
  24201. },
  24202. "signtimestamp": {
  24203. "description": "签约状态时间戳",
  24204. "type": "string"
  24205. },
  24206. "tradedate": {
  24207. "description": "创建交易日(yyyyMMdd)",
  24208. "type": "string"
  24209. },
  24210. "updatetime": {
  24211. "description": "更新时间",
  24212. "type": "string"
  24213. },
  24214. "userid": {
  24215. "description": "客户ID",
  24216. "type": "integer"
  24217. },
  24218. "username": {
  24219. "description": "客户名称",
  24220. "type": "string"
  24221. }
  24222. }
  24223. },
  24224. "models.QhjMgrAccountOutInApply": {
  24225. "type": "object",
  24226. "properties": {
  24227. "accountcode": {
  24228. "description": "资金账号",
  24229. "type": "string"
  24230. },
  24231. "accountname": {
  24232. "description": "用户名称(名称)",
  24233. "type": "string"
  24234. },
  24235. "accountpwd": {
  24236. "description": "资金密码",
  24237. "type": "string"
  24238. },
  24239. "accountticket": {
  24240. "description": "最新账户服务流水号",
  24241. "type": "string"
  24242. },
  24243. "amount": {
  24244. "description": "金额",
  24245. "type": "number"
  24246. },
  24247. "applyremark": {
  24248. "description": "申请备注",
  24249. "type": "string"
  24250. },
  24251. "applystatus": {
  24252. "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: 复审通过,账户冻结金额检查中;",
  24253. "type": "integer"
  24254. },
  24255. "auditid": {
  24256. "description": "审核人",
  24257. "type": "integer"
  24258. },
  24259. "audittime": {
  24260. "description": "审核时间",
  24261. "type": "string"
  24262. },
  24263. "bank_apply_ticket": {
  24264. "description": "银行申请流水",
  24265. "type": "string"
  24266. },
  24267. "bankaccountname": {
  24268. "description": "银行账户名",
  24269. "type": "string"
  24270. },
  24271. "bankaccountno": {
  24272. "description": "银行卡号",
  24273. "type": "string"
  24274. },
  24275. "bankid": {
  24276. "description": "银行编号",
  24277. "type": "string"
  24278. },
  24279. "bankname": {
  24280. "description": "银行名称",
  24281. "type": "string"
  24282. },
  24283. "bankticket": {
  24284. "description": "银行流水",
  24285. "type": "string"
  24286. },
  24287. "branchbankid": {
  24288. "description": "银行支行号",
  24289. "type": "string"
  24290. },
  24291. "branchbankname": {
  24292. "description": "银行支行名称",
  24293. "type": "string"
  24294. },
  24295. "capamountout": {
  24296. "description": "出金(劣后本金) - 外部子账户",
  24297. "type": "number"
  24298. },
  24299. "certificatephotourl": {
  24300. "description": "凭证地址",
  24301. "type": "string"
  24302. },
  24303. "charge": {
  24304. "description": "手续费",
  24305. "type": "number"
  24306. },
  24307. "checkerrorflag": {
  24308. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24309. "type": "integer"
  24310. },
  24311. "currency": {
  24312. "description": "币种",
  24313. "type": "string"
  24314. },
  24315. "cusbankid": {
  24316. "description": "托管银行编号",
  24317. "type": "string"
  24318. },
  24319. "exchticket": {
  24320. "description": "银行服务流水号",
  24321. "type": "string"
  24322. },
  24323. "executetype": {
  24324. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24325. "type": "integer"
  24326. },
  24327. "extendinfo": {
  24328. "description": "扩展信息",
  24329. "type": "string"
  24330. },
  24331. "extoperateid": {
  24332. "description": "交易服务流水号",
  24333. "type": "integer"
  24334. },
  24335. "infamount": {
  24336. "description": "劣后金额(自有)",
  24337. "type": "number"
  24338. },
  24339. "logincode": {
  24340. "description": "登录账号(账号)",
  24341. "type": "string"
  24342. },
  24343. "netaddr": {
  24344. "description": "调转网址",
  24345. "type": "string"
  24346. },
  24347. "priamount": {
  24348. "description": "优先金额(授信)",
  24349. "type": "number"
  24350. },
  24351. "reauditid": {
  24352. "description": "复审人",
  24353. "type": "integer"
  24354. },
  24355. "reauditremark": {
  24356. "description": "复审备注",
  24357. "type": "string"
  24358. },
  24359. "reaudittime": {
  24360. "description": "复审时间",
  24361. "type": "string"
  24362. },
  24363. "relatedorderid": {
  24364. "description": "三方关联ID",
  24365. "type": "string"
  24366. },
  24367. "remark": {
  24368. "description": "备注",
  24369. "type": "string"
  24370. },
  24371. "remark2": {
  24372. "description": "备注(失败原因)",
  24373. "type": "string"
  24374. },
  24375. "soucreamount": {
  24376. "description": "原始出入金金额",
  24377. "type": "number"
  24378. },
  24379. "soucrecurrencyid": {
  24380. "description": "原始出入金币种",
  24381. "type": "integer"
  24382. },
  24383. "tradedate": {
  24384. "description": "交易日(yyyyMMdd)",
  24385. "type": "string"
  24386. },
  24387. "updatetime": {
  24388. "description": "更新时间(申请时间)",
  24389. "type": "string"
  24390. },
  24391. "userid": {
  24392. "description": "用户id",
  24393. "type": "integer"
  24394. },
  24395. "userinfotype": {
  24396. "description": "账户类型 1-个人 2-企业",
  24397. "type": "integer"
  24398. }
  24399. }
  24400. },
  24401. "models.QhjMgrBrokerApply": {
  24402. "type": "object",
  24403. "properties": {
  24404. "applicantid": {
  24405. "description": "申请人",
  24406. "type": "integer"
  24407. },
  24408. "applysrc": {
  24409. "description": "申请来源 - 1:管理端 2:终端",
  24410. "type": "integer"
  24411. },
  24412. "applystatus": {
  24413. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24414. "type": "integer"
  24415. },
  24416. "applytime": {
  24417. "description": "申请时间",
  24418. "type": "string"
  24419. },
  24420. "auditorid": {
  24421. "description": "审核人",
  24422. "type": "integer"
  24423. },
  24424. "auditremark": {
  24425. "description": "审核备注",
  24426. "type": "string"
  24427. },
  24428. "auditsrc": {
  24429. "description": "审核来源 - 1:管理端 2:终端",
  24430. "type": "integer"
  24431. },
  24432. "audittime": {
  24433. "description": "审核时间",
  24434. "type": "string"
  24435. },
  24436. "audittradedate": {
  24437. "description": "审核交易日(yyyyMMdd)",
  24438. "type": "string"
  24439. },
  24440. "brokerapplyid": {
  24441. "description": "申请ID(SEQ_BROKERAPPLY)",
  24442. "type": "integer"
  24443. },
  24444. "cardbackphotourl": {
  24445. "description": "证件背面图片地址",
  24446. "type": "string"
  24447. },
  24448. "cardfrontphotourl": {
  24449. "description": "证件正面图片地址",
  24450. "type": "string"
  24451. },
  24452. "cardnum": {
  24453. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24454. "type": "string"
  24455. },
  24456. "customername": {
  24457. "description": "姓名",
  24458. "type": "string"
  24459. },
  24460. "filterstatus": {
  24461. "description": "筛选条件",
  24462. "type": "string"
  24463. },
  24464. "logincode": {
  24465. "description": "登录代码",
  24466. "type": "string"
  24467. },
  24468. "mobile": {
  24469. "description": "手机号码",
  24470. "type": "string"
  24471. },
  24472. "parentuserid": {
  24473. "description": "所属机构id",
  24474. "type": "integer"
  24475. },
  24476. "parentusername": {
  24477. "description": "所属机构名称",
  24478. "type": "string"
  24479. },
  24480. "refereeuserid": {
  24481. "description": "推荐人id(经纪人)",
  24482. "type": "integer"
  24483. },
  24484. "refernum": {
  24485. "description": "推荐码",
  24486. "type": "string"
  24487. },
  24488. "remark": {
  24489. "description": "备注",
  24490. "type": "string"
  24491. },
  24492. "subarealevelpath": {
  24493. "description": "层级路径",
  24494. "type": "string"
  24495. },
  24496. "tradedate": {
  24497. "description": "交易日(yyyyMMdd)",
  24498. "type": "string"
  24499. },
  24500. "userid": {
  24501. "description": "申请人用户ID",
  24502. "type": "integer"
  24503. },
  24504. "userinfotype": {
  24505. "description": "用户类型 1-个人 2-企业",
  24506. "type": "integer"
  24507. },
  24508. "username": {
  24509. "description": "用户名称",
  24510. "type": "string"
  24511. }
  24512. }
  24513. },
  24514. "models.QhjMgrBrokerRewardReport": {
  24515. "type": "object",
  24516. "properties": {
  24517. "createtime": {
  24518. "description": "创建时间(注册时间)",
  24519. "type": "string"
  24520. },
  24521. "cycletime": {
  24522. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  24523. "type": "string"
  24524. },
  24525. "cycletype": {
  24526. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24527. "type": "integer"
  24528. },
  24529. "directtotalnum": {
  24530. "description": "直推总人数【期末】",
  24531. "type": "integer"
  24532. },
  24533. "indirecttotalnum": {
  24534. "description": "间推总人数【期末】",
  24535. "type": "integer"
  24536. },
  24537. "mobile": {
  24538. "description": "电话号码",
  24539. "type": "string"
  24540. },
  24541. "refereeuserid": {
  24542. "description": "推荐人id(经纪人id)",
  24543. "type": "integer"
  24544. },
  24545. "refereeusername": {
  24546. "description": "推荐人名称(经纪人) 上级经纪人名称",
  24547. "type": "string"
  24548. },
  24549. "refernum": {
  24550. "description": "推荐码",
  24551. "type": "string"
  24552. },
  24553. "subarealevelpath": {
  24554. "description": "用户层级路径",
  24555. "type": "string"
  24556. },
  24557. "todayrewardamount": {
  24558. "description": "奖励总金额【汇总】",
  24559. "type": "number"
  24560. },
  24561. "updatetime": {
  24562. "description": "更新时间",
  24563. "type": "string"
  24564. },
  24565. "userid": {
  24566. "description": "经纪人用户ID",
  24567. "type": "integer"
  24568. },
  24569. "userinfotype": {
  24570. "description": "用户类型 1-个人 2-企业",
  24571. "type": "integer"
  24572. },
  24573. "username": {
  24574. "description": "用户名称",
  24575. "type": "string"
  24576. }
  24577. }
  24578. },
  24579. "models.QhjMgrContract": {
  24580. "type": "object",
  24581. "properties": {
  24582. "contractconfirmtime": {
  24583. "description": "合同确认时间(时间)",
  24584. "type": "string"
  24585. },
  24586. "currisklevel": {
  24587. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24588. "type": "integer"
  24589. },
  24590. "decimalplace": {
  24591. "description": "商品报价小数位",
  24592. "type": "integer"
  24593. },
  24594. "enumdicname": {
  24595. "description": "单位名称",
  24596. "type": "string"
  24597. },
  24598. "goodscode": {
  24599. "description": "商品代码",
  24600. "type": "string"
  24601. },
  24602. "goodsid": {
  24603. "description": "商品ID [5:融资单]",
  24604. "type": "integer"
  24605. },
  24606. "goodsname": {
  24607. "description": "商品名称",
  24608. "type": "string"
  24609. },
  24610. "goodunitid": {
  24611. "description": "商品单位id",
  24612. "type": "integer"
  24613. },
  24614. "initmargin": {
  24615. "description": "初始保证金(首付款)",
  24616. "type": "number"
  24617. },
  24618. "lenderamount": {
  24619. "description": "贷款金额(总额|订单总额)",
  24620. "type": "number"
  24621. },
  24622. "logincode": {
  24623. "description": "账号(登录代码)",
  24624. "type": "string"
  24625. },
  24626. "marginratio": {
  24627. "description": "保证金比率(首付比例)",
  24628. "type": "number"
  24629. },
  24630. "mobile": {
  24631. "description": "电话号码(用户资料里的电话)",
  24632. "type": "string"
  24633. },
  24634. "payamount": {
  24635. "description": "已付(已付货款)",
  24636. "type": "number"
  24637. },
  24638. "reckonrecovermargin": {
  24639. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24640. "type": "number"
  24641. },
  24642. "recoveredmargin": {
  24643. "description": "已追缴保证金",
  24644. "type": "number"
  24645. },
  24646. "remainamount": {
  24647. "description": "合同剩余金额(融资额)",
  24648. "type": "number"
  24649. },
  24650. "scfcontractid": {
  24651. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24652. "type": "string"
  24653. },
  24654. "scfcontractstatus": {
  24655. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24656. "type": "integer"
  24657. },
  24658. "scfcontracttype": {
  24659. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24660. "type": "integer"
  24661. },
  24662. "totalinterest": {
  24663. "description": "已计总利息(利息)",
  24664. "type": "number"
  24665. },
  24666. "tradedate": {
  24667. "description": "交易日",
  24668. "type": "string"
  24669. },
  24670. "tradeprice": {
  24671. "description": "成交价格(成本价格)",
  24672. "type": "number"
  24673. },
  24674. "userid": {
  24675. "description": "用户ID",
  24676. "type": "integer"
  24677. },
  24678. "userinfotype": {
  24679. "description": "用户类型 1-个人 2-企业",
  24680. "type": "integer"
  24681. },
  24682. "username": {
  24683. "description": "用户名称",
  24684. "type": "string"
  24685. },
  24686. "wrqty": {
  24687. "description": "仓单数量(数量)",
  24688. "type": "number"
  24689. }
  24690. }
  24691. },
  24692. "models.QhjMgrCustomer": {
  24693. "type": "object",
  24694. "properties": {
  24695. "address": {
  24696. "description": "通讯地址",
  24697. "type": "string"
  24698. },
  24699. "attachment1": {
  24700. "description": "附件1",
  24701. "type": "string"
  24702. },
  24703. "audittime": {
  24704. "description": "审核时间",
  24705. "type": "string"
  24706. },
  24707. "cardbackphotourl": {
  24708. "description": "证件反面图片地址",
  24709. "type": "string"
  24710. },
  24711. "cardfrontphotourl": {
  24712. "description": "证件正面图片地址",
  24713. "type": "string"
  24714. },
  24715. "cardnum": {
  24716. "description": "证件号码",
  24717. "type": "string"
  24718. },
  24719. "cardtype": {
  24720. "description": "证件类型",
  24721. "type": "integer"
  24722. },
  24723. "cardtypename": {
  24724. "description": "证件类型名称",
  24725. "type": "string"
  24726. },
  24727. "cityid": {
  24728. "description": "市",
  24729. "type": "integer"
  24730. },
  24731. "cityname": {
  24732. "description": "城市名称",
  24733. "type": "string"
  24734. },
  24735. "contactname": {
  24736. "description": "联系人",
  24737. "type": "string"
  24738. },
  24739. "countryid": {
  24740. "description": "国家",
  24741. "type": "integer"
  24742. },
  24743. "countryname": {
  24744. "description": "国家名称",
  24745. "type": "string"
  24746. },
  24747. "createtime": {
  24748. "description": "创建时间",
  24749. "type": "string"
  24750. },
  24751. "customername": {
  24752. "description": "客户名称",
  24753. "type": "string"
  24754. },
  24755. "districtid": {
  24756. "description": "区域",
  24757. "type": "integer"
  24758. },
  24759. "districtname": {
  24760. "description": "地区名称",
  24761. "type": "string"
  24762. },
  24763. "email": {
  24764. "description": "邮件",
  24765. "type": "string"
  24766. },
  24767. "legalpersonname": {
  24768. "description": "法人姓名(企业)",
  24769. "type": "string"
  24770. },
  24771. "logincode": {
  24772. "description": "登录账号(代码)",
  24773. "type": "string"
  24774. },
  24775. "memberuserid": {
  24776. "description": "所属机构ID(所属会员)",
  24777. "type": "integer"
  24778. },
  24779. "memberusername": {
  24780. "description": "所属会员名称",
  24781. "type": "string"
  24782. },
  24783. "mobile": {
  24784. "description": "手机号码",
  24785. "type": "string"
  24786. },
  24787. "modifytime": {
  24788. "description": "修改时间",
  24789. "type": "string"
  24790. },
  24791. "nickname": {
  24792. "description": "昵称",
  24793. "type": "string"
  24794. },
  24795. "parentuserid": {
  24796. "description": "上级机构(所属机构)",
  24797. "type": "integer"
  24798. },
  24799. "parentusername": {
  24800. "description": "所属机构名称",
  24801. "type": "string"
  24802. },
  24803. "provinceid": {
  24804. "description": "省",
  24805. "type": "integer"
  24806. },
  24807. "provincename": {
  24808. "description": "省名称",
  24809. "type": "string"
  24810. },
  24811. "proxystatementurl": {
  24812. "description": "授权委托书",
  24813. "type": "string"
  24814. },
  24815. "querytype": {
  24816. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  24817. "type": "integer"
  24818. },
  24819. "remark": {
  24820. "description": "备注",
  24821. "type": "string"
  24822. },
  24823. "status": {
  24824. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  24825. "type": "integer"
  24826. },
  24827. "statusdesc": {
  24828. "description": "账户状态中文描述",
  24829. "type": "string"
  24830. },
  24831. "taxpayernum": {
  24832. "description": "纳税人识别号",
  24833. "type": "string"
  24834. },
  24835. "telphone": {
  24836. "description": "联系电话",
  24837. "type": "string"
  24838. },
  24839. "userid": {
  24840. "description": "用户ID",
  24841. "type": "integer"
  24842. },
  24843. "userinfotype": {
  24844. "description": "客户类型 1-个人 2-企业",
  24845. "type": "integer"
  24846. },
  24847. "username": {
  24848. "description": "用户名称",
  24849. "type": "string"
  24850. }
  24851. }
  24852. },
  24853. "models.QhjMgrPositionRsp": {
  24854. "type": "object",
  24855. "properties": {
  24856. "accountid": {
  24857. "description": "账号Id",
  24858. "type": "integer"
  24859. },
  24860. "accountname": {
  24861. "description": "用户名称",
  24862. "type": "string"
  24863. },
  24864. "agreeunit": {
  24865. "description": "合约乘数",
  24866. "type": "number"
  24867. },
  24868. "averageprice": {
  24869. "description": "均价",
  24870. "type": "number"
  24871. },
  24872. "avialqty": {
  24873. "description": "可用数量",
  24874. "type": "number"
  24875. },
  24876. "decimalplace": {
  24877. "description": "报价小数位",
  24878. "type": "integer"
  24879. },
  24880. "enumdicname": {
  24881. "description": "单位名称(商品)",
  24882. "type": "string"
  24883. },
  24884. "frozenqty": {
  24885. "description": "冻结数量",
  24886. "type": "number"
  24887. },
  24888. "goodscode": {
  24889. "description": "商品代码(内部)",
  24890. "type": "string"
  24891. },
  24892. "goodsid": {
  24893. "description": "商品Id",
  24894. "type": "integer"
  24895. },
  24896. "goodsname": {
  24897. "description": "商品名称",
  24898. "type": "string"
  24899. },
  24900. "goodunitid": {
  24901. "description": "报价单位ID",
  24902. "type": "integer"
  24903. },
  24904. "holderamount": {
  24905. "description": "金额",
  24906. "type": "number"
  24907. },
  24908. "holderqty": {
  24909. "description": "持有数量",
  24910. "type": "number"
  24911. },
  24912. "holdertype": {
  24913. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  24914. "type": "integer"
  24915. },
  24916. "logincode": {
  24917. "description": "登录代码(账户)",
  24918. "type": "string"
  24919. },
  24920. "marketid": {
  24921. "description": "市场id",
  24922. "type": "integer"
  24923. },
  24924. "qtydecimalplace": {
  24925. "description": "成交量小数位",
  24926. "type": "integer"
  24927. },
  24928. "trademode": {
  24929. "description": "交易模式",
  24930. "type": "integer"
  24931. },
  24932. "userid": {
  24933. "description": "用户id",
  24934. "type": "integer"
  24935. },
  24936. "userinfotype": {
  24937. "description": "账户类型 1-个人 2-企业",
  24938. "type": "integer"
  24939. }
  24940. }
  24941. },
  24942. "models.QhjMgrSubArea": {
  24943. "type": "object",
  24944. "properties": {
  24945. "accountname": {
  24946. "description": "账户名称(机构名称)",
  24947. "type": "string"
  24948. },
  24949. "memberuserid": {
  24950. "description": "所属会员ID",
  24951. "type": "integer"
  24952. },
  24953. "parenttopuser": {
  24954. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  24955. "type": "string"
  24956. },
  24957. "parentuserid": {
  24958. "description": "所属机构ID",
  24959. "type": "integer"
  24960. },
  24961. "rootuserid": {
  24962. "description": "根用户ID",
  24963. "type": "string"
  24964. },
  24965. "subaccountlevel": {
  24966. "description": "子账户层数",
  24967. "type": "integer"
  24968. },
  24969. "subarealevelpath": {
  24970. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  24971. "type": "string"
  24972. },
  24973. "userid": {
  24974. "description": "用户ID",
  24975. "type": "integer"
  24976. },
  24977. "usertype": {
  24978. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  24979. "type": "integer"
  24980. }
  24981. }
  24982. },
  24983. "models.QhjMgrTradeDetailRsp": {
  24984. "type": "object",
  24985. "properties": {
  24986. "accountid": {
  24987. "description": "资金账号",
  24988. "type": "integer"
  24989. },
  24990. "accountname": {
  24991. "description": "用户名称",
  24992. "type": "string"
  24993. },
  24994. "agreeunit": {
  24995. "description": "合约乘数",
  24996. "type": "number"
  24997. },
  24998. "buyorsell": {
  24999. "description": "成交类型(方向) 0:买 1:卖",
  25000. "type": "integer"
  25001. },
  25002. "decimalplace": {
  25003. "description": "报价小数位",
  25004. "type": "integer"
  25005. },
  25006. "enumdicname": {
  25007. "description": "单位名称(商品)",
  25008. "type": "string"
  25009. },
  25010. "goodscode": {
  25011. "description": "商品代码(内部)",
  25012. "type": "string"
  25013. },
  25014. "goodsid": {
  25015. "description": "商品id",
  25016. "type": "integer"
  25017. },
  25018. "goodsname": {
  25019. "description": "商品名称",
  25020. "type": "string"
  25021. },
  25022. "goodunitid": {
  25023. "description": "报价单位ID",
  25024. "type": "integer"
  25025. },
  25026. "logincode": {
  25027. "description": "登录代码(账户)",
  25028. "type": "string"
  25029. },
  25030. "marketid": {
  25031. "description": "市场id",
  25032. "type": "integer"
  25033. },
  25034. "orderid": {
  25035. "description": "关联委托单号",
  25036. "type": "string"
  25037. },
  25038. "qtydecimalplace": {
  25039. "description": "成交量小数位",
  25040. "type": "integer"
  25041. },
  25042. "tradeamount": {
  25043. "description": "金额",
  25044. "type": "number"
  25045. },
  25046. "tradedate": {
  25047. "description": "交易日",
  25048. "type": "string"
  25049. },
  25050. "tradeid": {
  25051. "description": "成交单号",
  25052. "type": "string"
  25053. },
  25054. "trademode": {
  25055. "description": "交易模式",
  25056. "type": "integer"
  25057. },
  25058. "tradeprice": {
  25059. "description": "价格",
  25060. "type": "number"
  25061. },
  25062. "tradeqty": {
  25063. "description": "数量",
  25064. "type": "number"
  25065. },
  25066. "tradetime": {
  25067. "description": "成交时间",
  25068. "type": "string"
  25069. },
  25070. "userid": {
  25071. "description": "用户id",
  25072. "type": "integer"
  25073. },
  25074. "userinfotype": {
  25075. "description": "账户类型 1-个人 2-企业",
  25076. "type": "integer"
  25077. }
  25078. }
  25079. },
  25080. "models.QhjMgrTradeOrderDetailRsp": {
  25081. "type": "object",
  25082. "properties": {
  25083. "accountid": {
  25084. "description": "资金账号",
  25085. "type": "integer"
  25086. },
  25087. "accountname": {
  25088. "description": "用户名称",
  25089. "type": "string"
  25090. },
  25091. "agreeunit": {
  25092. "description": "合约乘数",
  25093. "type": "number"
  25094. },
  25095. "amount": {
  25096. "description": "金额",
  25097. "type": "number"
  25098. },
  25099. "decimalplace": {
  25100. "description": "报价小数位",
  25101. "type": "integer"
  25102. },
  25103. "enumdicname": {
  25104. "description": "单位名称(商品)",
  25105. "type": "string"
  25106. },
  25107. "goodscode": {
  25108. "description": "商品代码(内部)",
  25109. "type": "string"
  25110. },
  25111. "goodsid": {
  25112. "description": "商品id",
  25113. "type": "integer"
  25114. },
  25115. "goodsname": {
  25116. "description": "商品名称",
  25117. "type": "string"
  25118. },
  25119. "goodunitid": {
  25120. "description": "报价单位ID",
  25121. "type": "integer"
  25122. },
  25123. "logincode": {
  25124. "description": "登录代码(账户)",
  25125. "type": "string"
  25126. },
  25127. "marketid": {
  25128. "description": "市场id",
  25129. "type": "integer"
  25130. },
  25131. "orderid": {
  25132. "description": "关联委托单号",
  25133. "type": "string"
  25134. },
  25135. "orderprice": {
  25136. "description": "价格",
  25137. "type": "number"
  25138. },
  25139. "orderqty": {
  25140. "description": "数量",
  25141. "type": "number"
  25142. },
  25143. "orderstatus": {
  25144. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25145. "type": "integer"
  25146. },
  25147. "ordertime": {
  25148. "description": "委托时间",
  25149. "type": "string"
  25150. },
  25151. "qtydecimalplace": {
  25152. "description": "成交量小数位",
  25153. "type": "integer"
  25154. },
  25155. "tradedate": {
  25156. "description": "交易日",
  25157. "type": "string"
  25158. },
  25159. "trademode": {
  25160. "description": "交易模式",
  25161. "type": "integer"
  25162. },
  25163. "userid": {
  25164. "description": "用户id",
  25165. "type": "integer"
  25166. },
  25167. "userinfotype": {
  25168. "description": "账户类型 1-个人 2-企业",
  25169. "type": "integer"
  25170. }
  25171. }
  25172. },
  25173. "models.QhjMgrTradePayOrder": {
  25174. "type": "object",
  25175. "properties": {
  25176. "accountname": {
  25177. "description": "用户名称",
  25178. "type": "string"
  25179. },
  25180. "advanceratio": {
  25181. "description": "首付比率",
  25182. "type": "number"
  25183. },
  25184. "agreeunit": {
  25185. "description": "合约乘数",
  25186. "type": "number"
  25187. },
  25188. "buyaccountid": {
  25189. "description": "买方账号ID[报价币种]",
  25190. "type": "integer"
  25191. },
  25192. "buyorderid": {
  25193. "description": "买方委托单号(关联单号)",
  25194. "type": "string"
  25195. },
  25196. "createtime": {
  25197. "description": "创建时间",
  25198. "type": "string"
  25199. },
  25200. "decimalplace": {
  25201. "description": "报价小数位",
  25202. "type": "integer"
  25203. },
  25204. "enumdicname": {
  25205. "description": "单位名称(商品)",
  25206. "type": "string"
  25207. },
  25208. "goodscode": {
  25209. "description": "商品代码(内部)",
  25210. "type": "string"
  25211. },
  25212. "goodsid": {
  25213. "description": "商品ID",
  25214. "type": "integer"
  25215. },
  25216. "goodsname": {
  25217. "description": "商品名称",
  25218. "type": "string"
  25219. },
  25220. "goodunitid": {
  25221. "description": "报价单位ID",
  25222. "type": "integer"
  25223. },
  25224. "logincode": {
  25225. "description": "登录代码(账户)",
  25226. "type": "string"
  25227. },
  25228. "marketid": {
  25229. "description": "市场id",
  25230. "type": "integer"
  25231. },
  25232. "offamount": {
  25233. "description": "优惠金额",
  25234. "type": "number"
  25235. },
  25236. "operatetype": {
  25237. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25238. "type": "integer"
  25239. },
  25240. "payamount": {
  25241. "description": "支付金额(金额)",
  25242. "type": "number"
  25243. },
  25244. "payflag": {
  25245. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25246. "type": "integer"
  25247. },
  25248. "paylimitedtime": {
  25249. "description": "支付期限",
  25250. "type": "string"
  25251. },
  25252. "paytime": {
  25253. "description": "付款时间",
  25254. "type": "string"
  25255. },
  25256. "qtydecimalplace": {
  25257. "description": "成交量小数位",
  25258. "type": "integer"
  25259. },
  25260. "sellaccountid": {
  25261. "description": "卖方账号ID[报价币种]",
  25262. "type": "integer"
  25263. },
  25264. "sellorderid": {
  25265. "description": "卖方委托单号",
  25266. "type": "string"
  25267. },
  25268. "tradeamount": {
  25269. "description": "成交金额(优惠后金额)",
  25270. "type": "number"
  25271. },
  25272. "tradecharge": {
  25273. "description": "成交手续费(买方)",
  25274. "type": "number"
  25275. },
  25276. "tradedate": {
  25277. "description": "交易日(yyyyMMdd)",
  25278. "type": "string"
  25279. },
  25280. "tradeid": {
  25281. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25282. "type": "string"
  25283. },
  25284. "trademode": {
  25285. "description": "交易模式",
  25286. "type": "integer"
  25287. },
  25288. "tradeprice": {
  25289. "description": "成交价格(价格)",
  25290. "type": "number"
  25291. },
  25292. "tradeqty": {
  25293. "description": "成交数量(数量)",
  25294. "type": "number"
  25295. },
  25296. "tradetime": {
  25297. "description": "成交时间",
  25298. "type": "string"
  25299. },
  25300. "userid": {
  25301. "description": "用户id",
  25302. "type": "integer"
  25303. },
  25304. "userinfotype": {
  25305. "description": "账户类型 1-个人 2-企业",
  25306. "type": "integer"
  25307. }
  25308. }
  25309. },
  25310. "models.QhjMyTeam": {
  25311. "type": "object",
  25312. "properties": {
  25313. "accountname": {
  25314. "description": "用户名称",
  25315. "type": "string"
  25316. },
  25317. "accountstatus": {
  25318. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25319. "type": "integer"
  25320. },
  25321. "createtime": {
  25322. "description": "创建时间",
  25323. "type": "string"
  25324. },
  25325. "mobile": {
  25326. "description": "手机号码",
  25327. "type": "string"
  25328. },
  25329. "refereeuserid": {
  25330. "description": "推荐人id",
  25331. "type": "integer"
  25332. },
  25333. "refernum": {
  25334. "description": "推荐码",
  25335. "type": "string"
  25336. },
  25337. "userid": {
  25338. "description": "用户id",
  25339. "type": "integer"
  25340. },
  25341. "userinfotype": {
  25342. "description": "用户类型 1-个人 2-企业",
  25343. "type": "integer"
  25344. }
  25345. }
  25346. },
  25347. "models.QhjNodeAgreementConfig": {
  25348. "type": "object",
  25349. "properties": {
  25350. "agreementcontent": {
  25351. "description": "协议内容",
  25352. "type": "string"
  25353. },
  25354. "agreementid": {
  25355. "description": "协议ID",
  25356. "type": "integer"
  25357. },
  25358. "agreementname": {
  25359. "description": "协议名称",
  25360. "type": "string"
  25361. },
  25362. "agreementno": {
  25363. "description": "协议编号",
  25364. "type": "string"
  25365. },
  25366. "agreementtype": {
  25367. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25368. "type": "integer"
  25369. },
  25370. "agreementversion": {
  25371. "description": "协议版本号",
  25372. "type": "integer"
  25373. },
  25374. "configid": {
  25375. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25376. "type": "integer"
  25377. },
  25378. "createtime": {
  25379. "description": "创建时间",
  25380. "type": "string"
  25381. },
  25382. "goodsid": {
  25383. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25384. "type": "integer"
  25385. },
  25386. "nodetype": {
  25387. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25388. "type": "integer"
  25389. }
  25390. }
  25391. },
  25392. "models.QhjParentAreaList": {
  25393. "type": "object",
  25394. "properties": {
  25395. "accountname": {
  25396. "description": "账户名称(机构名称)",
  25397. "type": "string"
  25398. },
  25399. "userid": {
  25400. "description": "用户ID",
  25401. "type": "integer"
  25402. },
  25403. "usertype": {
  25404. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25405. "type": "integer"
  25406. }
  25407. }
  25408. },
  25409. "models.QhjPayOrder": {
  25410. "type": "object",
  25411. "properties": {
  25412. "advanceratio": {
  25413. "description": "首付比率",
  25414. "type": "number"
  25415. },
  25416. "buyaccountid": {
  25417. "description": "买方账号ID[报价币种]",
  25418. "type": "integer"
  25419. },
  25420. "buyorderid": {
  25421. "description": "买方委托单号",
  25422. "type": "string"
  25423. },
  25424. "createtime": {
  25425. "description": "创建时间",
  25426. "type": "string"
  25427. },
  25428. "decimalplace": {
  25429. "description": "商品报价小数位",
  25430. "type": "integer"
  25431. },
  25432. "enumdicname": {
  25433. "description": "单位名称",
  25434. "type": "string"
  25435. },
  25436. "goodscode": {
  25437. "description": "商品代码",
  25438. "type": "string"
  25439. },
  25440. "goodsid": {
  25441. "description": "商品ID",
  25442. "type": "integer"
  25443. },
  25444. "goodsname": {
  25445. "description": "商品名称",
  25446. "type": "string"
  25447. },
  25448. "goodunitid": {
  25449. "description": "商品单位id",
  25450. "type": "integer"
  25451. },
  25452. "marketid": {
  25453. "description": "市场ID",
  25454. "type": "integer"
  25455. },
  25456. "offamount": {
  25457. "description": "优惠金额",
  25458. "type": "number"
  25459. },
  25460. "operatetype": {
  25461. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25462. "type": "integer"
  25463. },
  25464. "payamount": {
  25465. "description": "支付金额",
  25466. "type": "number"
  25467. },
  25468. "payflag": {
  25469. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25470. "type": "integer"
  25471. },
  25472. "paylimitedtime": {
  25473. "description": "支付期限",
  25474. "type": "string"
  25475. },
  25476. "paytime": {
  25477. "description": "付款时间",
  25478. "type": "string"
  25479. },
  25480. "qtydecimalplace": {
  25481. "description": "成交量小数位",
  25482. "type": "integer"
  25483. },
  25484. "sellaccountid": {
  25485. "description": "卖方账号ID[报价币种]",
  25486. "type": "integer"
  25487. },
  25488. "sellorderid": {
  25489. "description": "卖方委托单号",
  25490. "type": "string"
  25491. },
  25492. "tradeamount": {
  25493. "description": "成交金额(优惠后金额)",
  25494. "type": "number"
  25495. },
  25496. "tradecharge": {
  25497. "description": "成交手续费(买方)",
  25498. "type": "number"
  25499. },
  25500. "tradedate": {
  25501. "description": "交易日(yyyyMMdd)",
  25502. "type": "string"
  25503. },
  25504. "tradeid": {
  25505. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25506. "type": "string"
  25507. },
  25508. "tradeprice": {
  25509. "description": "成交价格",
  25510. "type": "number"
  25511. },
  25512. "tradeqty": {
  25513. "description": "成交数量",
  25514. "type": "number"
  25515. }
  25516. }
  25517. },
  25518. "models.QhjPickArea": {
  25519. "type": "object",
  25520. "properties": {
  25521. "address": {
  25522. "description": "详细地址",
  25523. "type": "string"
  25524. },
  25525. "cityid": {
  25526. "description": "市",
  25527. "type": "integer"
  25528. },
  25529. "cityname": {
  25530. "description": "城市名称",
  25531. "type": "string"
  25532. },
  25533. "countryid": {
  25534. "description": "国家",
  25535. "type": "integer"
  25536. },
  25537. "countryname": {
  25538. "description": "国家名称",
  25539. "type": "string"
  25540. },
  25541. "districtid": {
  25542. "description": "地区",
  25543. "type": "integer"
  25544. },
  25545. "districtname": {
  25546. "description": "地区名称",
  25547. "type": "string"
  25548. },
  25549. "fromuserid": {
  25550. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  25551. "type": "integer"
  25552. },
  25553. "fromusername": {
  25554. "description": "所属机构名称",
  25555. "type": "string"
  25556. },
  25557. "provinceid": {
  25558. "description": "省",
  25559. "type": "integer"
  25560. },
  25561. "provincename": {
  25562. "description": "省名称",
  25563. "type": "string"
  25564. },
  25565. "suborgtype": {
  25566. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  25567. "type": "integer"
  25568. },
  25569. "userid": {
  25570. "description": "机构用户ID 其他做市关系,都设置为 1",
  25571. "type": "integer"
  25572. },
  25573. "username": {
  25574. "description": "机构用户名称(门店门称)",
  25575. "type": "string"
  25576. }
  25577. }
  25578. },
  25579. "models.QhjPickGoods": {
  25580. "type": "object",
  25581. "properties": {
  25582. "enumdicname": {
  25583. "description": "单位名称(提货商品)",
  25584. "type": "string"
  25585. },
  25586. "goodsid": {
  25587. "description": "商品id",
  25588. "type": "integer"
  25589. },
  25590. "imageaddress": {
  25591. "description": "图片",
  25592. "type": "string"
  25593. },
  25594. "modifierid": {
  25595. "description": "修改人",
  25596. "type": "integer"
  25597. },
  25598. "modifiername": {
  25599. "description": "修改人名称",
  25600. "type": "string"
  25601. },
  25602. "modifysrc": {
  25603. "description": "修改来源 - 1:管理端 2:终端",
  25604. "type": "integer"
  25605. },
  25606. "pickupgoodsagreeunit": {
  25607. "description": "合约乘数",
  25608. "type": "number"
  25609. },
  25610. "pickupgoodsdesc": {
  25611. "description": "描述",
  25612. "type": "string"
  25613. },
  25614. "pickupgoodsid": {
  25615. "description": "提货商品ID",
  25616. "type": "string"
  25617. },
  25618. "pickupgoodsname": {
  25619. "description": "提货商品名称",
  25620. "type": "string"
  25621. },
  25622. "pickupgoodsstatus": {
  25623. "description": "状态 - 1:正常 2:停用 3:注销",
  25624. "type": "integer"
  25625. },
  25626. "pickupgoodsunitid": {
  25627. "description": "单位ID",
  25628. "type": "integer"
  25629. },
  25630. "pickupratio": {
  25631. "description": "提货系数",
  25632. "type": "number"
  25633. },
  25634. "preparedays": {
  25635. "description": "备货期(天)",
  25636. "type": "integer"
  25637. },
  25638. "remark": {
  25639. "description": "备注",
  25640. "type": "string"
  25641. },
  25642. "updatetime": {
  25643. "description": "更新时间",
  25644. "type": "string"
  25645. }
  25646. }
  25647. },
  25648. "models.QhjRSTriggerLog": {
  25649. "type": "object",
  25650. "properties": {
  25651. "accountid": {
  25652. "description": "用户资金账户",
  25653. "type": "integer"
  25654. },
  25655. "accountname": {
  25656. "description": "账号名称(ACCOUNTID对应的名称)",
  25657. "type": "string"
  25658. },
  25659. "currencyid": {
  25660. "description": "币种id",
  25661. "type": "integer"
  25662. },
  25663. "currencyname": {
  25664. "description": "币种名称",
  25665. "type": "string"
  25666. },
  25667. "decimalplace": {
  25668. "description": "商品报价小数位",
  25669. "type": "integer"
  25670. },
  25671. "enumdicname": {
  25672. "description": "单位名称",
  25673. "type": "string"
  25674. },
  25675. "goodscode": {
  25676. "description": "定投商品代码",
  25677. "type": "string"
  25678. },
  25679. "goodsid": {
  25680. "description": "定投商品ID",
  25681. "type": "integer"
  25682. },
  25683. "goodsname": {
  25684. "description": "定投商品名称",
  25685. "type": "string"
  25686. },
  25687. "goodunitid": {
  25688. "description": "定投商品单位id",
  25689. "type": "integer"
  25690. },
  25691. "logid": {
  25692. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  25693. "type": "string"
  25694. },
  25695. "logincode": {
  25696. "description": "账号(登录代码)",
  25697. "type": "string"
  25698. },
  25699. "qtydecimalplace": {
  25700. "description": "成交量小数位",
  25701. "type": "integer"
  25702. },
  25703. "regularlycycle": {
  25704. "description": "定投频率 - 1:每周 2:每月",
  25705. "type": "integer"
  25706. },
  25707. "regularlycyclevalue": {
  25708. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25709. "type": "string"
  25710. },
  25711. "regularlymode": {
  25712. "description": "定投方式 - 1:按数量 2:按金额",
  25713. "type": "integer"
  25714. },
  25715. "regularlymodevalue": {
  25716. "description": "定投方式值 - 数量或金额",
  25717. "type": "number"
  25718. },
  25719. "regularlystrategyid": {
  25720. "description": "定投策略ID",
  25721. "type": "integer"
  25722. },
  25723. "retcode": {
  25724. "description": "错误码",
  25725. "type": "string"
  25726. },
  25727. "tradeid": {
  25728. "description": "成交单ID",
  25729. "type": "string"
  25730. },
  25731. "triggeramount": {
  25732. "description": "触发金额",
  25733. "type": "number"
  25734. },
  25735. "triggerqty": {
  25736. "description": "触发数量",
  25737. "type": "number"
  25738. },
  25739. "triggerstatus": {
  25740. "description": "触发状态 - 1:成功 2:失败",
  25741. "type": "integer"
  25742. },
  25743. "triggertime": {
  25744. "description": "触发时间",
  25745. "type": "string"
  25746. },
  25747. "triggertradedate": {
  25748. "description": "触发交易日",
  25749. "type": "string"
  25750. },
  25751. "userid": {
  25752. "description": "所属用户ID",
  25753. "type": "integer"
  25754. },
  25755. "userinfotype": {
  25756. "description": "用户类型 1-个人 2-企业",
  25757. "type": "integer"
  25758. },
  25759. "username": {
  25760. "description": "用户名称(userid对应的名称)",
  25761. "type": "string"
  25762. }
  25763. }
  25764. },
  25765. "models.QhjRStrategy": {
  25766. "type": "object",
  25767. "properties": {
  25768. "accountid": {
  25769. "description": "用户资金账户",
  25770. "type": "integer"
  25771. },
  25772. "accountname": {
  25773. "description": "账号名称(ACCOUNTID对应的名称)",
  25774. "type": "string"
  25775. },
  25776. "currencyid": {
  25777. "description": "币种id",
  25778. "type": "integer"
  25779. },
  25780. "currencyname": {
  25781. "description": "币种名称",
  25782. "type": "string"
  25783. },
  25784. "decimalplace": {
  25785. "description": "商品报价小数位",
  25786. "type": "integer"
  25787. },
  25788. "enumdicname": {
  25789. "description": "单位名称",
  25790. "type": "string"
  25791. },
  25792. "goodscode": {
  25793. "description": "定投商品代码",
  25794. "type": "string"
  25795. },
  25796. "goodsid": {
  25797. "description": "定投商品ID",
  25798. "type": "integer"
  25799. },
  25800. "goodsname": {
  25801. "description": "定投商品名称",
  25802. "type": "string"
  25803. },
  25804. "goodunitid": {
  25805. "description": "定投商品单位id",
  25806. "type": "integer"
  25807. },
  25808. "lasteffecttradedate": {
  25809. "description": "最新生效交易日",
  25810. "type": "string"
  25811. },
  25812. "laststoptradedate": {
  25813. "description": "最新暂停交易日",
  25814. "type": "string"
  25815. },
  25816. "lasttriggertradedate": {
  25817. "description": "最新触发交易日",
  25818. "type": "string"
  25819. },
  25820. "logincode": {
  25821. "description": "账号(登录代码)",
  25822. "type": "string"
  25823. },
  25824. "nexttriggeramount": {
  25825. "description": "下次触发金额",
  25826. "type": "number"
  25827. },
  25828. "nexttriggerdate": {
  25829. "description": "下次触发日期",
  25830. "type": "string"
  25831. },
  25832. "nexttriggerqty": {
  25833. "description": "下次触发数量 [按小数位放大值]",
  25834. "type": "number"
  25835. },
  25836. "qtydecimalplace": {
  25837. "description": "成交量小数位",
  25838. "type": "integer"
  25839. },
  25840. "regularlycycle": {
  25841. "description": "定投频率 - 1:每周 2:每月",
  25842. "type": "integer"
  25843. },
  25844. "regularlycyclevalue": {
  25845. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  25846. "type": "string"
  25847. },
  25848. "regularlymode": {
  25849. "description": "定投方式 - 1:按数量 2:按金额",
  25850. "type": "integer"
  25851. },
  25852. "regularlymodevalue": {
  25853. "description": "定投方式值 - 数量或金额",
  25854. "type": "number"
  25855. },
  25856. "regularlystrategyid": {
  25857. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  25858. "type": "integer"
  25859. },
  25860. "regularlystrategystatus": {
  25861. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  25862. "type": "integer"
  25863. },
  25864. "remark": {
  25865. "description": "备注",
  25866. "type": "string"
  25867. },
  25868. "triggersuccesstimes": {
  25869. "description": "累计定投成功次数",
  25870. "type": "string"
  25871. },
  25872. "triggertotalamount": {
  25873. "description": "累计定投金额(成功)",
  25874. "type": "number"
  25875. },
  25876. "triggertotalqty": {
  25877. "description": "累计定投数量(成功) [按小数位放大值]",
  25878. "type": "number"
  25879. },
  25880. "triggertotaltimes": {
  25881. "description": "累计定投总次数",
  25882. "type": "string"
  25883. },
  25884. "updatesrc": {
  25885. "description": "更新来源 - 1:管理端 2:终端",
  25886. "type": "integer"
  25887. },
  25888. "updatetime": {
  25889. "description": "更新时间",
  25890. "type": "string"
  25891. },
  25892. "updatorid": {
  25893. "description": "更新人",
  25894. "type": "string"
  25895. },
  25896. "userid": {
  25897. "description": "所属用户ID",
  25898. "type": "integer"
  25899. },
  25900. "userinfotype": {
  25901. "description": "用户类型 1-个人 2-企业",
  25902. "type": "integer"
  25903. },
  25904. "username": {
  25905. "description": "用户名称(userid对应的名称)",
  25906. "type": "string"
  25907. }
  25908. }
  25909. },
  25910. "models.QhjReckonPriceLog": {
  25911. "type": "object",
  25912. "properties": {
  25913. "decimalplace": {
  25914. "description": "商品报价小数位",
  25915. "type": "integer"
  25916. },
  25917. "goodscode": {
  25918. "description": "商品代码",
  25919. "type": "string"
  25920. },
  25921. "goodsid": {
  25922. "description": "商品ID",
  25923. "type": "integer"
  25924. },
  25925. "goodsname": {
  25926. "description": "商品名称",
  25927. "type": "string"
  25928. },
  25929. "lastreckonprice": {
  25930. "description": "上日结算价",
  25931. "type": "number"
  25932. },
  25933. "nextdnlimitprice": {
  25934. "description": "下个交易日跌停价",
  25935. "type": "number"
  25936. },
  25937. "nexttrade": {
  25938. "description": "下个交易日",
  25939. "type": "string"
  25940. },
  25941. "nextuplimitprice": {
  25942. "description": "下个交易日涨停价",
  25943. "type": "number"
  25944. },
  25945. "reckonprice": {
  25946. "description": "今日结算价(定投价)",
  25947. "type": "number"
  25948. },
  25949. "reckontime": {
  25950. "description": "结算时间",
  25951. "type": "string"
  25952. },
  25953. "totalholderqty": {
  25954. "description": "总持仓数",
  25955. "type": "integer"
  25956. },
  25957. "totalstock": {
  25958. "description": "总库存",
  25959. "type": "integer"
  25960. },
  25961. "tradedate": {
  25962. "description": "交易日",
  25963. "type": "string"
  25964. },
  25965. "updowncount": {
  25966. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  25967. "type": "integer"
  25968. },
  25969. "updownflag": {
  25970. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  25971. "type": "integer"
  25972. },
  25973. "updownrate": {
  25974. "description": "今日涨跌幅",
  25975. "type": "number"
  25976. },
  25977. "updownrate_2d": {
  25978. "description": "连续两日涨跌幅",
  25979. "type": "number"
  25980. },
  25981. "updownrate_3d": {
  25982. "description": "连续三日涨跌幅",
  25983. "type": "number"
  25984. }
  25985. }
  25986. },
  25987. "models.QhjSiteColumnDetail": {
  25988. "type": "object",
  25989. "properties": {
  25990. "author": {
  25991. "description": "作者",
  25992. "type": "string"
  25993. },
  25994. "brief": {
  25995. "description": "简介",
  25996. "type": "string"
  25997. },
  25998. "columnid": {
  25999. "description": "所属栏目",
  26000. "type": "integer"
  26001. },
  26002. "context": {
  26003. "description": "内容",
  26004. "type": "string"
  26005. },
  26006. "coverimage": {
  26007. "description": "封面图片",
  26008. "type": "string"
  26009. },
  26010. "creaedate": {
  26011. "description": "创建时间",
  26012. "type": "string"
  26013. },
  26014. "creatorid": {
  26015. "description": "创建人",
  26016. "type": "integer"
  26017. },
  26018. "hits": {
  26019. "description": "点击数",
  26020. "type": "integer"
  26021. },
  26022. "id": {
  26023. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  26024. "type": "integer"
  26025. },
  26026. "isshow": {
  26027. "description": "是否展示 - 0:不展示 1:展示",
  26028. "type": "integer"
  26029. },
  26030. "istop": {
  26031. "description": "是否置顶 - 0:不置 1:置顶",
  26032. "type": "integer"
  26033. },
  26034. "modifierid": {
  26035. "description": "操作人",
  26036. "type": "integer"
  26037. },
  26038. "publishdate": {
  26039. "description": "发布日期",
  26040. "type": "string"
  26041. },
  26042. "status": {
  26043. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  26044. "type": "integer"
  26045. },
  26046. "title": {
  26047. "description": "标题",
  26048. "type": "string"
  26049. },
  26050. "updatedate": {
  26051. "description": "修改时间",
  26052. "type": "string"
  26053. },
  26054. "userid": {
  26055. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  26056. "type": "integer"
  26057. },
  26058. "username": {
  26059. "description": "用户名称",
  26060. "type": "string"
  26061. }
  26062. }
  26063. },
  26064. "models.QhjTeamOrder": {
  26065. "type": "object",
  26066. "properties": {
  26067. "accountid": {
  26068. "description": "账户ID[报价币种]",
  26069. "type": "integer"
  26070. },
  26071. "accountname": {
  26072. "description": "账户名称",
  26073. "type": "string"
  26074. },
  26075. "agreeunit": {
  26076. "description": "合约乘数",
  26077. "type": "number"
  26078. },
  26079. "buyorsell": {
  26080. "description": "方向 - 0:买 1:卖",
  26081. "type": "integer"
  26082. },
  26083. "decimalplace": {
  26084. "description": "报价小数位",
  26085. "type": "integer"
  26086. },
  26087. "enumdicname": {
  26088. "description": "单位名称",
  26089. "type": "string"
  26090. },
  26091. "goodscode": {
  26092. "description": "商品代码(内部)",
  26093. "type": "string"
  26094. },
  26095. "goodsid": {
  26096. "description": "商品ID",
  26097. "type": "integer"
  26098. },
  26099. "goodsname": {
  26100. "description": "商品名称",
  26101. "type": "string"
  26102. },
  26103. "goodunitid": {
  26104. "description": "报价单位ID",
  26105. "type": "integer"
  26106. },
  26107. "marketid": {
  26108. "description": "市场ID",
  26109. "type": "integer"
  26110. },
  26111. "marketname": {
  26112. "description": "市场名称",
  26113. "type": "string"
  26114. },
  26115. "qtydecimalplace": {
  26116. "description": "成交量小数位",
  26117. "type": "integer"
  26118. },
  26119. "refereeuserid": {
  26120. "description": "推荐人ID",
  26121. "type": "integer"
  26122. },
  26123. "tradeamount": {
  26124. "description": "成交金额[账户币种,用于所有权]",
  26125. "type": "number"
  26126. },
  26127. "tradedate": {
  26128. "description": "交易日(yyyyMMdd)",
  26129. "type": "string"
  26130. },
  26131. "trademode": {
  26132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26133. "type": "integer"
  26134. },
  26135. "tradeprice": {
  26136. "description": "成交价格",
  26137. "type": "number"
  26138. },
  26139. "tradeqty": {
  26140. "description": "成交数量",
  26141. "type": "number"
  26142. },
  26143. "tradetime": {
  26144. "description": "成交时间",
  26145. "type": "string"
  26146. },
  26147. "userid": {
  26148. "description": "用户ID",
  26149. "type": "integer"
  26150. }
  26151. }
  26152. },
  26153. "models.QhjTradeGoodsPickup": {
  26154. "type": "object",
  26155. "properties": {
  26156. "accountid": {
  26157. "description": "账户ID",
  26158. "type": "integer"
  26159. },
  26160. "address": {
  26161. "description": "提货人详细地址",
  26162. "type": "string"
  26163. },
  26164. "amount": {
  26165. "description": "提货金额",
  26166. "type": "number"
  26167. },
  26168. "artradedate": {
  26169. "description": "自动收货交易日(yyyyMMdd)",
  26170. "type": "string"
  26171. },
  26172. "auditer": {
  26173. "description": "审核人",
  26174. "type": "integer"
  26175. },
  26176. "auditsrc": {
  26177. "description": "更新来源 - 1:管理端 2:终端",
  26178. "type": "integer"
  26179. },
  26180. "audittime": {
  26181. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  26182. "type": "string"
  26183. },
  26184. "audittradedate": {
  26185. "description": "审核交易日(yyyyMMdd)",
  26186. "type": "string"
  26187. },
  26188. "cardnum": {
  26189. "description": "提货人证件号码",
  26190. "type": "string"
  26191. },
  26192. "cardtypeid": {
  26193. "description": "提货人证件类型",
  26194. "type": "integer"
  26195. },
  26196. "checkremark": {
  26197. "description": "审核备注",
  26198. "type": "string"
  26199. },
  26200. "cityid": {
  26201. "description": "市",
  26202. "type": "integer"
  26203. },
  26204. "cityname": {
  26205. "description": "城市名称",
  26206. "type": "string"
  26207. },
  26208. "confirmtime": {
  26209. "description": "取货时间 或 收货时间",
  26210. "type": "string"
  26211. },
  26212. "countryid": {
  26213. "description": "国家",
  26214. "type": "integer"
  26215. },
  26216. "countryname": {
  26217. "description": "国家名称",
  26218. "type": "string"
  26219. },
  26220. "decimalplace": {
  26221. "description": "商品报价小数位",
  26222. "type": "integer"
  26223. },
  26224. "districtid": {
  26225. "description": "地区",
  26226. "type": "integer"
  26227. },
  26228. "districtname": {
  26229. "description": "地区名称",
  26230. "type": "string"
  26231. },
  26232. "enumdicname": {
  26233. "description": "单位名称(提货商品)",
  26234. "type": "string"
  26235. },
  26236. "expresscompany": {
  26237. "description": "物流公司",
  26238. "type": "string"
  26239. },
  26240. "expressnum": {
  26241. "description": "物流单号",
  26242. "type": "string"
  26243. },
  26244. "goodsagreeunit": {
  26245. "description": "交易商品乘数",
  26246. "type": "number"
  26247. },
  26248. "goodscode": {
  26249. "description": "商品代码",
  26250. "type": "string"
  26251. },
  26252. "goodsid": {
  26253. "description": "商品ID",
  26254. "type": "integer"
  26255. },
  26256. "goodsname": {
  26257. "description": "商品名称",
  26258. "type": "string"
  26259. },
  26260. "goodsqty": {
  26261. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  26262. "type": "number"
  26263. },
  26264. "handlestatus": {
  26265. "description": "处理状态",
  26266. "type": "integer"
  26267. },
  26268. "logincode": {
  26269. "description": "账号(登录代码, 有可能为空)",
  26270. "type": "string"
  26271. },
  26272. "marketid": {
  26273. "description": "市场ID",
  26274. "type": "integer"
  26275. },
  26276. "phonenum": {
  26277. "description": "提货人联系方式",
  26278. "type": "string"
  26279. },
  26280. "pickupgoodsagreeunit": {
  26281. "description": "提货商品合约乘数",
  26282. "type": "number"
  26283. },
  26284. "pickupgoodsid": {
  26285. "description": "提货商品ID",
  26286. "type": "string"
  26287. },
  26288. "pickupgoodsname": {
  26289. "description": "提货商品名称",
  26290. "type": "string"
  26291. },
  26292. "pickupgoodsqty": {
  26293. "description": "提货商品手数(数量)",
  26294. "type": "number"
  26295. },
  26296. "pickupgoodsunitid": {
  26297. "description": "单位ID(提货商品)",
  26298. "type": "integer"
  26299. },
  26300. "pickupratio": {
  26301. "description": "提货系数",
  26302. "type": "number"
  26303. },
  26304. "preparedays": {
  26305. "description": "备货期(天)-提货单明细表",
  26306. "type": "integer"
  26307. },
  26308. "provinceid": {
  26309. "description": "省",
  26310. "type": "integer"
  26311. },
  26312. "provincename": {
  26313. "description": "省名称",
  26314. "type": "string"
  26315. },
  26316. "qty": {
  26317. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  26318. "type": "number"
  26319. },
  26320. "qtydecimalplace": {
  26321. "description": "商品数量小数位",
  26322. "type": "integer"
  26323. },
  26324. "recivername": {
  26325. "description": "提货人姓名",
  26326. "type": "string"
  26327. },
  26328. "reqtime": {
  26329. "description": "提货申请时间",
  26330. "type": "string"
  26331. },
  26332. "storeuserid": {
  26333. "description": "门店用户ID (千海金)",
  26334. "type": "integer"
  26335. },
  26336. "storeusername": {
  26337. "description": "门店用户名称",
  26338. "type": "string"
  26339. },
  26340. "takemode": {
  26341. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  26342. "type": "integer"
  26343. },
  26344. "takeorderid": {
  26345. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26346. "type": "string"
  26347. },
  26348. "takeorderstatus": {
  26349. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  26350. "type": "integer"
  26351. },
  26352. "takeremark": {
  26353. "description": "提货备注",
  26354. "type": "string"
  26355. },
  26356. "tradedate": {
  26357. "description": "交易日(yyyyMMdd)",
  26358. "type": "string"
  26359. },
  26360. "updatetime": {
  26361. "description": "更新时间",
  26362. "type": "string"
  26363. },
  26364. "userid": {
  26365. "description": "用户ID",
  26366. "type": "integer"
  26367. },
  26368. "userinfotype": {
  26369. "description": "客户类型 1-个人 2-企业",
  26370. "type": "integer"
  26371. },
  26372. "username": {
  26373. "description": "用户名称",
  26374. "type": "string"
  26375. }
  26376. }
  26377. },
  26378. "models.QhjUserNodeCfgAndStatus": {
  26379. "type": "object",
  26380. "properties": {
  26381. "agreementcontent": {
  26382. "description": "协议内容",
  26383. "type": "string"
  26384. },
  26385. "agreementid": {
  26386. "description": "协议ID",
  26387. "type": "integer"
  26388. },
  26389. "agreementname": {
  26390. "description": "协议名称",
  26391. "type": "string"
  26392. },
  26393. "agreementno": {
  26394. "description": "协议编号",
  26395. "type": "string"
  26396. },
  26397. "agreementtype": {
  26398. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26399. "type": "integer"
  26400. },
  26401. "agreementversion": {
  26402. "description": "协议版本号",
  26403. "type": "integer"
  26404. },
  26405. "configid": {
  26406. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26407. "type": "integer"
  26408. },
  26409. "createtime": {
  26410. "description": "创建时间",
  26411. "type": "string"
  26412. },
  26413. "goodsid": {
  26414. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26415. "type": "integer"
  26416. },
  26417. "nodetype": {
  26418. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26419. "type": "integer"
  26420. },
  26421. "signtimestamp": {
  26422. "description": "签约状态时间戳(最近一次)",
  26423. "type": "string"
  26424. },
  26425. "tradedate": {
  26426. "description": "签约交易日(yyyyMMdd)",
  26427. "type": "string"
  26428. },
  26429. "userid": {
  26430. "description": "客户ID",
  26431. "type": "integer"
  26432. }
  26433. }
  26434. },
  26435. "models.Qhjgoodsex": {
  26436. "type": "object",
  26437. "properties": {
  26438. "canfinance": {
  26439. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  26440. "type": "integer"
  26441. },
  26442. "canregularlybuy": {
  26443. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  26444. "type": "integer"
  26445. },
  26446. "defaulttradeuserid": {
  26447. "description": "默认交易用户ID",
  26448. "type": "integer"
  26449. },
  26450. "deliverygoodsid": {
  26451. "description": "现货品种ID",
  26452. "type": "integer"
  26453. },
  26454. "goodsid": {
  26455. "description": "商品ID(自增ID SEQ_GOODS)",
  26456. "type": "integer"
  26457. },
  26458. "minamount": {
  26459. "description": "最小购买金额",
  26460. "type": "number"
  26461. },
  26462. "regularlybuyminamount": {
  26463. "description": "定投最小金额",
  26464. "type": "number"
  26465. },
  26466. "regularlybuyminqty": {
  26467. "description": "定投最小数量",
  26468. "type": "number"
  26469. },
  26470. "spotgoodsbrandid": {
  26471. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  26472. "type": "integer"
  26473. },
  26474. "visibilityforenterprise": {
  26475. "description": "企业客户是否可见 - 0:不可见 1:可见",
  26476. "type": "integer"
  26477. },
  26478. "visibilityforpersonal": {
  26479. "description": "个人客户是否可见 - 0:不可见 1:可见",
  26480. "type": "integer"
  26481. },
  26482. "wrstandardid": {
  26483. "description": "现货商品ID",
  26484. "type": "integer"
  26485. }
  26486. }
  26487. },
  26488. "models.QueryErrorInfosRsp": {
  26489. "type": "object",
  26490. "required": [
  26491. "errorid"
  26492. ],
  26493. "properties": {
  26494. "description": {
  26495. "description": "异常描述",
  26496. "type": "string"
  26497. },
  26498. "errorcode": {
  26499. "description": "异常代码",
  26500. "type": "string"
  26501. },
  26502. "errorid": {
  26503. "description": "异常ID",
  26504. "type": "integer"
  26505. },
  26506. "modulecode": {
  26507. "description": "所属模块",
  26508. "type": "string"
  26509. },
  26510. "operatecode": {
  26511. "description": "所属操作",
  26512. "type": "string"
  26513. },
  26514. "rownumber": {
  26515. "description": "行号",
  26516. "type": "string"
  26517. }
  26518. }
  26519. },
  26520. "models.QueryHedgeOrderDetailRsp": {
  26521. "type": "object",
  26522. "properties": {
  26523. "accountid": {
  26524. "description": "账户ID",
  26525. "type": "integer"
  26526. },
  26527. "buyorsell": {
  26528. "description": "买卖 - 0:买 1:卖",
  26529. "type": "integer"
  26530. },
  26531. "cancellogincode": {
  26532. "description": "撤单人",
  26533. "type": "string"
  26534. },
  26535. "channelbuildtype": {
  26536. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  26537. "type": "integer"
  26538. },
  26539. "channelinnerorderstatus": {
  26540. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  26541. "type": "integer"
  26542. },
  26543. "channeloperatetype": {
  26544. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  26545. "type": "integer"
  26546. },
  26547. "closetype": {
  26548. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26549. "type": "integer"
  26550. },
  26551. "curexchangerate": {
  26552. "description": "当前汇率",
  26553. "type": "number"
  26554. },
  26555. "exchangefullname": {
  26556. "description": "外部交易所全称",
  26557. "type": "string"
  26558. },
  26559. "goodscode": {
  26560. "description": "商品代码(内部)",
  26561. "type": "string"
  26562. },
  26563. "goodsid": {
  26564. "description": "商品ID",
  26565. "type": "integer"
  26566. },
  26567. "goodsname": {
  26568. "description": "商品名称",
  26569. "type": "string"
  26570. },
  26571. "marketid": {
  26572. "description": "市场ID",
  26573. "type": "integer"
  26574. },
  26575. "openfreezemargin": {
  26576. "description": "冻结保证金(冻结交易金额)",
  26577. "type": "number"
  26578. },
  26579. "orderid": {
  26580. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26581. "type": "string"
  26582. },
  26583. "orderlogincode": {
  26584. "description": "委托人",
  26585. "type": "string"
  26586. },
  26587. "orderprice": {
  26588. "description": "委托价格(账户)",
  26589. "type": "number"
  26590. },
  26591. "orderqty": {
  26592. "description": "委托数量",
  26593. "type": "integer"
  26594. },
  26595. "ordertime": {
  26596. "description": "委托时间",
  26597. "type": "string"
  26598. },
  26599. "pricemode": {
  26600. "description": "取价方式 - 1:市价 2: 限价",
  26601. "type": "integer"
  26602. },
  26603. "tradedate": {
  26604. "description": "交易日(yyyyMMdd)",
  26605. "type": "string"
  26606. },
  26607. "tradeqty": {
  26608. "description": "成交数量",
  26609. "type": "integer"
  26610. }
  26611. }
  26612. },
  26613. "models.QueryHedgeTradeDetailRsp": {
  26614. "type": "object",
  26615. "properties": {
  26616. "accountid": {
  26617. "description": "账号ID",
  26618. "type": "integer"
  26619. },
  26620. "buyorsell": {
  26621. "description": "方向 - 0:买 1:卖",
  26622. "type": "integer"
  26623. },
  26624. "channelbuildtype": {
  26625. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26626. "type": "integer"
  26627. },
  26628. "closecharge": {
  26629. "description": "平仓手续费(账户)",
  26630. "type": "number"
  26631. },
  26632. "closecharge2": {
  26633. "description": "平仓手续费(商品)",
  26634. "type": "number"
  26635. },
  26636. "closepl": {
  26637. "description": "平仓盈亏(账户)",
  26638. "type": "number"
  26639. },
  26640. "closepl2": {
  26641. "description": "平仓盈亏(商品)",
  26642. "type": "number"
  26643. },
  26644. "closepl3": {
  26645. "description": "平仓盈亏(账户)(逐笔)",
  26646. "type": "number"
  26647. },
  26648. "closepl4": {
  26649. "description": "平仓盈亏(商品)(逐笔)",
  26650. "type": "number"
  26651. },
  26652. "closetype": {
  26653. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26654. "type": "integer"
  26655. },
  26656. "curexchangerate": {
  26657. "description": "当前汇率",
  26658. "type": "number"
  26659. },
  26660. "exchangefullname": {
  26661. "description": "外部交易所全称",
  26662. "type": "string"
  26663. },
  26664. "goodscode": {
  26665. "description": "商品代码(内部)",
  26666. "type": "string"
  26667. },
  26668. "goodsid": {
  26669. "description": "商品ID",
  26670. "type": "integer"
  26671. },
  26672. "goodsname": {
  26673. "description": "商品名称",
  26674. "type": "string"
  26675. },
  26676. "marketid": {
  26677. "description": "市场ID",
  26678. "type": "integer"
  26679. },
  26680. "opencharge": {
  26681. "description": "建仓手续费(账户)",
  26682. "type": "number"
  26683. },
  26684. "opencharge2": {
  26685. "description": "建仓手续费(商品)",
  26686. "type": "number"
  26687. },
  26688. "orderid": {
  26689. "description": "委托单号",
  26690. "type": "string"
  26691. },
  26692. "orderlogincode": {
  26693. "description": "委托人",
  26694. "type": "string"
  26695. },
  26696. "tradeamount": {
  26697. "description": "成交金额(账户)",
  26698. "type": "number"
  26699. },
  26700. "tradedate": {
  26701. "description": "交易日(yyyyMMdd)",
  26702. "type": "string"
  26703. },
  26704. "tradeid": {
  26705. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26706. "type": "string"
  26707. },
  26708. "tradeprice": {
  26709. "description": "成交价格",
  26710. "type": "number"
  26711. },
  26712. "tradeqty": {
  26713. "description": "成交数量",
  26714. "type": "integer"
  26715. },
  26716. "tradetime": {
  26717. "description": "成交时间",
  26718. "type": "string"
  26719. },
  26720. "tradetype": {
  26721. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26722. "type": "integer"
  26723. }
  26724. }
  26725. },
  26726. "models.QuotePrimaryMenu": {
  26727. "type": "object",
  26728. "properties": {
  26729. "Index": {
  26730. "description": "序号",
  26731. "type": "integer"
  26732. },
  26733. "Key": {
  26734. "description": "键名",
  26735. "type": "string"
  26736. },
  26737. "Name": {
  26738. "description": "菜单名称",
  26739. "type": "string"
  26740. },
  26741. "SubMenus": {
  26742. "description": "子菜单",
  26743. "type": "array",
  26744. "items": {
  26745. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  26746. }
  26747. },
  26748. "SubTitleType": {
  26749. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  26750. "type": "integer"
  26751. },
  26752. "TradeModes": {
  26753. "description": "包含市场交易类型",
  26754. "type": "string"
  26755. }
  26756. }
  26757. },
  26758. "models.QuoteSecondaryMenu": {
  26759. "type": "object",
  26760. "properties": {
  26761. "ExExchangeCode": {
  26762. "description": "外部交易所代码",
  26763. "type": "string"
  26764. },
  26765. "ExExchangeID": {
  26766. "description": "外部交易所ID",
  26767. "type": "integer"
  26768. },
  26769. "GoodsGroupIDs": {
  26770. "description": "商品组ID列表",
  26771. "type": "array",
  26772. "items": {
  26773. "type": "integer"
  26774. }
  26775. },
  26776. "Index": {
  26777. "description": "序号",
  26778. "type": "integer"
  26779. },
  26780. "MarketID": {
  26781. "description": "市场ID",
  26782. "type": "integer"
  26783. },
  26784. "MenuTitle": {
  26785. "description": "菜单标题(市场名称或外部交易所名称)",
  26786. "type": "string"
  26787. },
  26788. "TradeMode": {
  26789. "description": "交易模式",
  26790. "type": "integer"
  26791. }
  26792. }
  26793. },
  26794. "models.SearchGoods": {
  26795. "type": "object",
  26796. "required": [
  26797. "goodscode",
  26798. "goodsid",
  26799. "goodsname",
  26800. "marketid",
  26801. "trademode"
  26802. ],
  26803. "properties": {
  26804. "goodscode": {
  26805. "description": "商品代码(内部)",
  26806. "type": "string"
  26807. },
  26808. "goodsid": {
  26809. "description": "商品ID(自增ID SEQ_GOODS)",
  26810. "type": "integer"
  26811. },
  26812. "goodsname": {
  26813. "description": "商品名称",
  26814. "type": "string"
  26815. },
  26816. "marketid": {
  26817. "description": "所属市场ID",
  26818. "type": "integer"
  26819. },
  26820. "marketname": {
  26821. "description": "市场名称",
  26822. "type": "string"
  26823. },
  26824. "trademode": {
  26825. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26826. "type": "integer"
  26827. }
  26828. }
  26829. },
  26830. "models.Systemparam": {
  26831. "type": "object",
  26832. "required": [
  26833. "paramcode"
  26834. ],
  26835. "properties": {
  26836. "loginid": {
  26837. "description": "更新用户账号,登录账号",
  26838. "type": "string"
  26839. },
  26840. "modifyflag": {
  26841. "description": "修改标志0 不允许修改 1 允许修改",
  26842. "type": "integer"
  26843. },
  26844. "paramcode": {
  26845. "description": "参数代码",
  26846. "type": "string"
  26847. },
  26848. "paramname": {
  26849. "description": "参数名",
  26850. "type": "string"
  26851. },
  26852. "paramtype": {
  26853. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  26854. "type": "integer"
  26855. },
  26856. "paramvalue": {
  26857. "description": "参数值",
  26858. "type": "string"
  26859. },
  26860. "paramvalue2": {
  26861. "description": "参数值(CLOB)",
  26862. "type": "string"
  26863. },
  26864. "regexpress": {
  26865. "description": "正则表达式",
  26866. "type": "string"
  26867. },
  26868. "remark": {
  26869. "description": "备注",
  26870. "type": "string"
  26871. },
  26872. "serverip": {
  26873. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  26874. "type": "string"
  26875. },
  26876. "showflag": {
  26877. "description": "是否显示0 不显示 1 显示",
  26878. "type": "integer"
  26879. },
  26880. "updatetime": {
  26881. "description": "更新时间",
  26882. "type": "string"
  26883. },
  26884. "userid": {
  26885. "description": "更新用户ID",
  26886. "type": "integer"
  26887. }
  26888. }
  26889. },
  26890. "models.Szdz3convertconfig": {
  26891. "type": "object",
  26892. "required": [
  26893. "converttype",
  26894. "innergoodsid",
  26895. "outergoodscode"
  26896. ],
  26897. "properties": {
  26898. "canin": {
  26899. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  26900. "type": "integer"
  26901. },
  26902. "canout": {
  26903. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  26904. "type": "integer"
  26905. },
  26906. "converttype": {
  26907. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  26908. "type": "integer"
  26909. },
  26910. "createtime": {
  26911. "description": "创建时间",
  26912. "type": "string"
  26913. },
  26914. "creatorid": {
  26915. "description": "创建人",
  26916. "type": "integer"
  26917. },
  26918. "daymaxvalue": {
  26919. "description": "当日最大转入限制",
  26920. "type": "number"
  26921. },
  26922. "freezedays": {
  26923. "description": "冻结天数 [5:花生米转交易]",
  26924. "type": "integer"
  26925. },
  26926. "innergoodsid": {
  26927. "description": "内部商品ID[交易]",
  26928. "type": "integer"
  26929. },
  26930. "inratio": {
  26931. "description": "目标值",
  26932. "type": "integer"
  26933. },
  26934. "modifierid": {
  26935. "description": "修改人",
  26936. "type": "integer"
  26937. },
  26938. "modifytime": {
  26939. "description": "修改时间",
  26940. "type": "string"
  26941. },
  26942. "outergoodscode": {
  26943. "description": "外部商品代码[JD\\PD]",
  26944. "type": "string"
  26945. },
  26946. "outratio": {
  26947. "description": "源值",
  26948. "type": "integer"
  26949. },
  26950. "pddecimalplace": {
  26951. "description": "PD小数位",
  26952. "type": "integer"
  26953. },
  26954. "timemaxvalue": {
  26955. "description": "单次最大转入限制",
  26956. "type": "number"
  26957. },
  26958. "timeminvalue": {
  26959. "description": "单次最小转入限制",
  26960. "type": "number"
  26961. }
  26962. }
  26963. },
  26964. "models.Szdz3searchwhitelist": {
  26965. "type": "object",
  26966. "required": [
  26967. "userid"
  26968. ],
  26969. "properties": {
  26970. "createtime": {
  26971. "description": "创建时间",
  26972. "type": "string"
  26973. },
  26974. "creatorid": {
  26975. "description": "创建人",
  26976. "type": "integer"
  26977. },
  26978. "modifierid": {
  26979. "description": "修改人",
  26980. "type": "integer"
  26981. },
  26982. "modifytime": {
  26983. "description": "修改时间",
  26984. "type": "string"
  26985. },
  26986. "userid": {
  26987. "description": "用户ID",
  26988. "type": "integer"
  26989. }
  26990. }
  26991. },
  26992. "models.Taaccount": {
  26993. "type": "object",
  26994. "required": [
  26995. "accountid",
  26996. "userid"
  26997. ],
  26998. "properties": {
  26999. "accountflag": {
  27000. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  27001. "type": "integer"
  27002. },
  27003. "accountid": {
  27004. "description": "资金账户ID",
  27005. "type": "integer"
  27006. },
  27007. "accountname": {
  27008. "description": "账户名称",
  27009. "type": "string"
  27010. },
  27011. "balance": {
  27012. "description": "期初余额",
  27013. "type": "number"
  27014. },
  27015. "capitalbalance": {
  27016. "description": "本金余额[外部子账户实际出入金余额]",
  27017. "type": "number"
  27018. },
  27019. "changeflag": {
  27020. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  27021. "type": "integer"
  27022. },
  27023. "changetime": {
  27024. "description": "账户状态变更时间",
  27025. "type": "string"
  27026. },
  27027. "closepl": {
  27028. "description": "今日平仓盈亏",
  27029. "type": "number"
  27030. },
  27031. "creditdecrease": {
  27032. "description": "今日授信减少",
  27033. "type": "number"
  27034. },
  27035. "creditincrease": {
  27036. "description": "今日授信增加",
  27037. "type": "number"
  27038. },
  27039. "currencyid": {
  27040. "description": "货币ID",
  27041. "type": "integer"
  27042. },
  27043. "currentbalance": {
  27044. "description": "期末余额",
  27045. "type": "number"
  27046. },
  27047. "freezecharge": {
  27048. "description": "手续费冻结",
  27049. "type": "number"
  27050. },
  27051. "freezemargin": {
  27052. "description": "冻结保证金",
  27053. "type": "number"
  27054. },
  27055. "fromaccountid": {
  27056. "description": "所属上级账户",
  27057. "type": "integer"
  27058. },
  27059. "inamount": {
  27060. "description": "今日入金金额(包括三方入金)",
  27061. "type": "number"
  27062. },
  27063. "ismain": {
  27064. "description": "是否母账号 0:不是母账户 1:是母账户",
  27065. "type": "integer"
  27066. },
  27067. "ismarketaccount": {
  27068. "description": "是否机构接单账号 0:不是 1:是",
  27069. "type": "integer"
  27070. },
  27071. "isreckonaccount": {
  27072. "description": "是否机构分润账号 0:不是 1:是",
  27073. "type": "integer"
  27074. },
  27075. "mortgagecredit": {
  27076. "description": "授信金额",
  27077. "type": "number"
  27078. },
  27079. "orifreezecharge": {
  27080. "description": "期初手续费冻结",
  27081. "type": "number"
  27082. },
  27083. "orifreezemargin": {
  27084. "description": "期初冻结保证金",
  27085. "type": "number"
  27086. },
  27087. "orimortgagecredit": {
  27088. "description": "期初授信金额",
  27089. "type": "number"
  27090. },
  27091. "oriothercredit": {
  27092. "description": "期初其它授信金额",
  27093. "type": "number"
  27094. },
  27095. "oriotherfreezemargin": {
  27096. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27097. "type": "number"
  27098. },
  27099. "orioutamountfreeze": {
  27100. "description": "期初出金冻结",
  27101. "type": "number"
  27102. },
  27103. "oriusedmargin": {
  27104. "description": "期初占用保证金",
  27105. "type": "number"
  27106. },
  27107. "othercredit": {
  27108. "description": "其它授信金额",
  27109. "type": "number"
  27110. },
  27111. "othercreditdecrease": {
  27112. "description": "今日其它授信减少",
  27113. "type": "number"
  27114. },
  27115. "othercreditincrease": {
  27116. "description": "今日其它授信增加",
  27117. "type": "number"
  27118. },
  27119. "otherfreezemargin": {
  27120. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27121. "type": "number"
  27122. },
  27123. "otherincome": {
  27124. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  27125. "type": "number"
  27126. },
  27127. "otherpay": {
  27128. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  27129. "type": "number"
  27130. },
  27131. "outamount": {
  27132. "description": "今日出金金额(包括三方出金)",
  27133. "type": "number"
  27134. },
  27135. "outamountfreeze": {
  27136. "description": "出金冻结",
  27137. "type": "number"
  27138. },
  27139. "outthreshold": {
  27140. "description": "出金阈值",
  27141. "type": "number"
  27142. },
  27143. "parentaccountid": {
  27144. "description": "所属根账号",
  27145. "type": "integer"
  27146. },
  27147. "paycharge": {
  27148. "description": "今日手续费支出",
  27149. "type": "number"
  27150. },
  27151. "relatedaccountstatus": {
  27152. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  27153. "type": "integer"
  27154. },
  27155. "relateduserid": {
  27156. "description": "关联用户",
  27157. "type": "integer"
  27158. },
  27159. "serivcegroup": {
  27160. "description": "服务分组",
  27161. "type": "integer"
  27162. },
  27163. "signstatus": {
  27164. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27165. "type": "integer"
  27166. },
  27167. "sublevelpath": {
  27168. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27169. "type": "string"
  27170. },
  27171. "taaccounttype": {
  27172. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27173. "type": "integer"
  27174. },
  27175. "thirdinamount": {
  27176. "description": "今日三方入金",
  27177. "type": "number"
  27178. },
  27179. "thirdoutamount": {
  27180. "description": "今日三方出金",
  27181. "type": "number"
  27182. },
  27183. "tradestatus": {
  27184. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27185. "type": "integer"
  27186. },
  27187. "tradestatuschangetime": {
  27188. "description": "激活时间",
  27189. "type": "string"
  27190. },
  27191. "transferamount": {
  27192. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27193. "type": "number"
  27194. },
  27195. "usedmargin": {
  27196. "description": "占用保证金",
  27197. "type": "number"
  27198. },
  27199. "userid": {
  27200. "description": "用户ID",
  27201. "type": "integer"
  27202. }
  27203. }
  27204. },
  27205. "models.Tablecolumnconfig": {
  27206. "type": "object",
  27207. "required": [
  27208. "autoid"
  27209. ],
  27210. "properties": {
  27211. "aligntype": {
  27212. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  27213. "type": "integer"
  27214. },
  27215. "autoid": {
  27216. "description": "AutoID",
  27217. "type": "integer"
  27218. },
  27219. "columnfield": {
  27220. "description": "列字段",
  27221. "type": "string"
  27222. },
  27223. "columntitle": {
  27224. "description": "列Title",
  27225. "type": "string"
  27226. },
  27227. "columnwidth": {
  27228. "description": "列宽",
  27229. "type": "string"
  27230. },
  27231. "formatterstring": {
  27232. "description": "格式化字符",
  27233. "type": "string"
  27234. },
  27235. "formattertype": {
  27236. "description": "格式化类型",
  27237. "type": "string"
  27238. },
  27239. "groupname": {
  27240. "description": "表头分组名称",
  27241. "type": "string"
  27242. },
  27243. "isshow": {
  27244. "description": "是否显示 - 0:不显示 1:显示",
  27245. "type": "integer"
  27246. },
  27247. "needsummary": {
  27248. "description": "是否需要汇总 - 0:不需要 1:需要",
  27249. "type": "integer"
  27250. },
  27251. "orderindex": {
  27252. "description": "顺序",
  27253. "type": "integer"
  27254. },
  27255. "remark": {
  27256. "description": "备注",
  27257. "type": "string"
  27258. },
  27259. "summarytype": {
  27260. "description": "汇总类型 - 1:加总 2:最后一个",
  27261. "type": "integer"
  27262. },
  27263. "tablekey": {
  27264. "description": "列表Key",
  27265. "type": "string"
  27266. }
  27267. }
  27268. },
  27269. "models.UserCollectConfig": {
  27270. "type": "object",
  27271. "properties": {
  27272. "accountstatus": {
  27273. "description": "账户状态 - 1:正常 2:停用 3:注销",
  27274. "type": "integer"
  27275. },
  27276. "collectaccountname": {
  27277. "description": "收款人账户名称",
  27278. "type": "string"
  27279. },
  27280. "collectaccountno": {
  27281. "description": "收款人账户",
  27282. "type": "string"
  27283. },
  27284. "collectbankname": {
  27285. "description": "收款人开户行",
  27286. "type": "string"
  27287. },
  27288. "collectbranchbankname": {
  27289. "description": "收款人开户支行",
  27290. "type": "string"
  27291. },
  27292. "collectconfigid": {
  27293. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  27294. "type": "string"
  27295. },
  27296. "remark": {
  27297. "description": "备注",
  27298. "type": "string"
  27299. },
  27300. "userid": {
  27301. "description": "收款人用户ID",
  27302. "type": "integer"
  27303. }
  27304. }
  27305. },
  27306. "models.UserReceiveInfo": {
  27307. "type": "object",
  27308. "properties": {
  27309. "address": {
  27310. "description": "提货人详细地址",
  27311. "type": "string"
  27312. },
  27313. "autoid": {
  27314. "description": "AutoID",
  27315. "type": "integer"
  27316. },
  27317. "cardnum": {
  27318. "description": "证件号码(加密存储)",
  27319. "type": "string"
  27320. },
  27321. "cardtypeid": {
  27322. "description": "证件类型",
  27323. "type": "integer"
  27324. },
  27325. "cityid": {
  27326. "description": "市",
  27327. "type": "integer"
  27328. },
  27329. "cityname": {
  27330. "description": "城市名称",
  27331. "type": "string"
  27332. },
  27333. "countryid": {
  27334. "description": "国家",
  27335. "type": "integer"
  27336. },
  27337. "countryname": {
  27338. "description": "国家名称",
  27339. "type": "string"
  27340. },
  27341. "districtid": {
  27342. "description": "地区",
  27343. "type": "integer"
  27344. },
  27345. "districtname": {
  27346. "description": "地区名称",
  27347. "type": "string"
  27348. },
  27349. "hasencrypt": {
  27350. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27351. "type": "integer"
  27352. },
  27353. "isdefault": {
  27354. "description": "是否默认地址 - 0:否 1:是",
  27355. "type": "integer"
  27356. },
  27357. "phonenum": {
  27358. "description": "提货人联系方式(加密存储)",
  27359. "type": "string"
  27360. },
  27361. "provinceid": {
  27362. "description": "省",
  27363. "type": "integer"
  27364. },
  27365. "provincename": {
  27366. "description": "省名称",
  27367. "type": "string"
  27368. },
  27369. "receivername": {
  27370. "description": "提货人姓名",
  27371. "type": "string"
  27372. },
  27373. "takeremark": {
  27374. "description": "提货备注",
  27375. "type": "string"
  27376. },
  27377. "userid": {
  27378. "description": "用户ID",
  27379. "type": "integer"
  27380. }
  27381. }
  27382. },
  27383. "models.Useraccount": {
  27384. "type": "object",
  27385. "required": [
  27386. "userid"
  27387. ],
  27388. "properties": {
  27389. "accountname": {
  27390. "description": "账户名称(机构名称)",
  27391. "type": "string"
  27392. },
  27393. "accountstatus": {
  27394. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27395. "type": "integer"
  27396. },
  27397. "applysrc": {
  27398. "description": "申请来源 - 1:管理端 2:终端",
  27399. "type": "integer"
  27400. },
  27401. "auditremark": {
  27402. "description": "审核备注",
  27403. "type": "string"
  27404. },
  27405. "auditsrc": {
  27406. "description": "审核来源 - 1:管理端 2:终端",
  27407. "type": "integer"
  27408. },
  27409. "audittime": {
  27410. "description": "审核时间",
  27411. "type": "string"
  27412. },
  27413. "audituserid": {
  27414. "description": "审核人",
  27415. "type": "integer"
  27416. },
  27417. "broker": {
  27418. "description": "所属经纪人ID",
  27419. "type": "integer"
  27420. },
  27421. "canceltime": {
  27422. "description": "销户时间",
  27423. "type": "string"
  27424. },
  27425. "canceluserid": {
  27426. "description": "销户人",
  27427. "type": "integer"
  27428. },
  27429. "canrecommend": {
  27430. "description": "是否可推荐 - 0:不可 1;可",
  27431. "type": "integer"
  27432. },
  27433. "createtime": {
  27434. "description": "创建时间",
  27435. "type": "string"
  27436. },
  27437. "creatorid": {
  27438. "description": "创建人",
  27439. "type": "integer"
  27440. },
  27441. "hasauth": {
  27442. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27443. "type": "integer"
  27444. },
  27445. "isanonymous": {
  27446. "description": "是否匿名下单 - 0:否 1:是",
  27447. "type": "integer"
  27448. },
  27449. "maxinvestornum": {
  27450. "description": "最大用户数(经纪会员下投资者个数)",
  27451. "type": "integer"
  27452. },
  27453. "memberuserid": {
  27454. "description": "所属会员ID",
  27455. "type": "integer"
  27456. },
  27457. "modifierid": {
  27458. "description": "修改人",
  27459. "type": "integer"
  27460. },
  27461. "modifyremark": {
  27462. "description": "变更备注",
  27463. "type": "string"
  27464. },
  27465. "modifystatus": {
  27466. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27467. "type": "integer"
  27468. },
  27469. "modifytime": {
  27470. "description": "修改时间",
  27471. "type": "string"
  27472. },
  27473. "parenttopuser": {
  27474. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27475. "type": "string"
  27476. },
  27477. "parentuserid": {
  27478. "description": "所属机构ID",
  27479. "type": "integer"
  27480. },
  27481. "reckonaccountid": {
  27482. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27483. "type": "integer"
  27484. },
  27485. "refercount": {
  27486. "description": "推荐总人数",
  27487. "type": "integer"
  27488. },
  27489. "refereeuserid": {
  27490. "description": "推荐人ID",
  27491. "type": "integer"
  27492. },
  27493. "refernum": {
  27494. "description": "推荐码",
  27495. "type": "string"
  27496. },
  27497. "rootuserid": {
  27498. "description": "根用户ID",
  27499. "type": "integer"
  27500. },
  27501. "subaccountlevel": {
  27502. "description": "子账户层数",
  27503. "type": "integer"
  27504. },
  27505. "subarealevelpath": {
  27506. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27507. "type": "string"
  27508. },
  27509. "userid": {
  27510. "description": "用户ID",
  27511. "type": "integer"
  27512. },
  27513. "usertype": {
  27514. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27515. "type": "integer"
  27516. }
  27517. }
  27518. },
  27519. "models.Userfavoritegoods": {
  27520. "type": "object",
  27521. "required": [
  27522. "goodsid"
  27523. ],
  27524. "properties": {
  27525. "goodsid": {
  27526. "description": "商品ID",
  27527. "type": "integer"
  27528. }
  27529. }
  27530. },
  27531. "models.Userinfo": {
  27532. "type": "object",
  27533. "required": [
  27534. "userid"
  27535. ],
  27536. "properties": {
  27537. "address": {
  27538. "description": "地址",
  27539. "type": "string"
  27540. },
  27541. "attachment1": {
  27542. "description": "附件1",
  27543. "type": "string"
  27544. },
  27545. "attachment2": {
  27546. "description": "附件2",
  27547. "type": "string"
  27548. },
  27549. "bankaccount": {
  27550. "description": "银行帐号 (加密存储)",
  27551. "type": "string"
  27552. },
  27553. "bankaccountname": {
  27554. "description": "收款人名称",
  27555. "type": "string"
  27556. },
  27557. "bankcardfrontphotourl": {
  27558. "description": "银行卡正面照地址",
  27559. "type": "string"
  27560. },
  27561. "bankid": {
  27562. "description": "银行编码",
  27563. "type": "string"
  27564. },
  27565. "bankname": {
  27566. "description": "银行名称",
  27567. "type": "string"
  27568. },
  27569. "biznature": {
  27570. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  27571. "type": "integer"
  27572. },
  27573. "bizscope": {
  27574. "description": "企业经营范围(企业)",
  27575. "type": "string"
  27576. },
  27577. "cardbackphotourl": {
  27578. "description": "证件背面图片地址",
  27579. "type": "string"
  27580. },
  27581. "cardfrontphotourl": {
  27582. "description": "证件正面图片地址",
  27583. "type": "string"
  27584. },
  27585. "cardnum": {
  27586. "description": "证件号码(加密存储)",
  27587. "type": "string"
  27588. },
  27589. "cardtypeid": {
  27590. "description": "证件类型ID",
  27591. "type": "integer"
  27592. },
  27593. "cityid": {
  27594. "description": "市",
  27595. "type": "integer"
  27596. },
  27597. "company": {
  27598. "description": "公司(个人)",
  27599. "type": "string"
  27600. },
  27601. "contactname": {
  27602. "description": "联系人",
  27603. "type": "string"
  27604. },
  27605. "countryid": {
  27606. "description": "国家",
  27607. "type": "integer"
  27608. },
  27609. "createtime": {
  27610. "description": "创建时间",
  27611. "type": "string"
  27612. },
  27613. "creatorid": {
  27614. "description": "创建人",
  27615. "type": "integer"
  27616. },
  27617. "customername": {
  27618. "description": "客户名称(企业名称)",
  27619. "type": "string"
  27620. },
  27621. "districtid": {
  27622. "description": "地区",
  27623. "type": "integer"
  27624. },
  27625. "email": {
  27626. "description": "邮件(加密存储)",
  27627. "type": "string"
  27628. },
  27629. "fax": {
  27630. "description": "传真(加密存储)",
  27631. "type": "string"
  27632. },
  27633. "halfbodyphotourl": {
  27634. "description": "半身照地址",
  27635. "type": "string"
  27636. },
  27637. "hasencrypt": {
  27638. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27639. "type": "integer"
  27640. },
  27641. "headurl": {
  27642. "description": "头像地址",
  27643. "type": "string"
  27644. },
  27645. "legalcardbackphotourl": {
  27646. "description": "法人身份证背面照地址",
  27647. "type": "string"
  27648. },
  27649. "legalcardfrontphotourl": {
  27650. "description": "法人身份证正面照地址",
  27651. "type": "string"
  27652. },
  27653. "legalpersonname": {
  27654. "description": "法人姓名(企业)",
  27655. "type": "string"
  27656. },
  27657. "mobile": {
  27658. "description": "手机号码(加密存储)",
  27659. "type": "string"
  27660. },
  27661. "mobile2": {
  27662. "description": "手机号码[明文-尚志]",
  27663. "type": "string"
  27664. },
  27665. "modifierid": {
  27666. "description": "修改人",
  27667. "type": "integer"
  27668. },
  27669. "modifiertime": {
  27670. "description": "修改时间",
  27671. "type": "string"
  27672. },
  27673. "needinvoice": {
  27674. "description": "是否需要发票 - 0:不需要 1:需要",
  27675. "type": "integer"
  27676. },
  27677. "nickname": {
  27678. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  27679. "type": "string"
  27680. },
  27681. "openmode": {
  27682. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  27683. "type": "integer"
  27684. },
  27685. "otherurl": {
  27686. "description": "其它图片地址[使用分号分隔]",
  27687. "type": "string"
  27688. },
  27689. "postalcode": {
  27690. "description": "邮政编码",
  27691. "type": "string"
  27692. },
  27693. "provinceid": {
  27694. "description": "省",
  27695. "type": "integer"
  27696. },
  27697. "qq": {
  27698. "description": "QQ(加密存储",
  27699. "type": "string"
  27700. },
  27701. "remark": {
  27702. "description": "备注",
  27703. "type": "string"
  27704. },
  27705. "sex": {
  27706. "description": "用户性别 0: 女 1: 男",
  27707. "type": "integer"
  27708. },
  27709. "signpdfurl": {
  27710. "description": "签约pdf文件",
  27711. "type": "string"
  27712. },
  27713. "telphone": {
  27714. "description": "联系电话(加密存储)",
  27715. "type": "string"
  27716. },
  27717. "userid": {
  27718. "description": "用户ID",
  27719. "type": "integer"
  27720. },
  27721. "userinfotype": {
  27722. "description": "用户信息类型 - 1:个人 2:企业",
  27723. "type": "integer"
  27724. },
  27725. "userstatus": {
  27726. "description": "用户状态 - 1:正常 2:注销",
  27727. "type": "integer"
  27728. },
  27729. "usertype": {
  27730. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  27731. "type": "integer"
  27732. },
  27733. "wechat": {
  27734. "description": "微信(加密存储)",
  27735. "type": "string"
  27736. },
  27737. "wskhinfo": {
  27738. "description": "开户申请信息(JSON)",
  27739. "type": "string"
  27740. }
  27741. }
  27742. },
  27743. "models.WRSConverTDetail": {
  27744. "type": "object",
  27745. "properties": {
  27746. "convertratio": {
  27747. "description": "套保系数",
  27748. "type": "number"
  27749. },
  27750. "deliverygoodscode": {
  27751. "description": "现货商品代码",
  27752. "type": "string"
  27753. },
  27754. "deliverygoodsid": {
  27755. "description": "现货品种ID",
  27756. "type": "integer"
  27757. },
  27758. "deliverygoodsname": {
  27759. "description": "现货商品名称",
  27760. "type": "string"
  27761. },
  27762. "enumdicname": {
  27763. "description": "单位名称",
  27764. "type": "string"
  27765. },
  27766. "goodsunitid": {
  27767. "description": "套保品种单位id",
  27768. "type": "integer"
  27769. },
  27770. "middlegoodscode": {
  27771. "description": "套保品种代码",
  27772. "type": "string"
  27773. },
  27774. "middlegoodsid": {
  27775. "description": "套保品种ID",
  27776. "type": "integer"
  27777. },
  27778. "middlegoodsname": {
  27779. "description": "套保品种名称",
  27780. "type": "string"
  27781. },
  27782. "modifytime": {
  27783. "description": "修改时间",
  27784. "type": "string"
  27785. },
  27786. "wrstandardid": {
  27787. "description": "品类ID",
  27788. "type": "integer"
  27789. }
  27790. }
  27791. },
  27792. "models.WRStandardInfo": {
  27793. "type": "object",
  27794. "required": [
  27795. "wrstandardid"
  27796. ],
  27797. "properties": {
  27798. "areauserid": {
  27799. "description": "所属机构",
  27800. "type": "integer"
  27801. },
  27802. "convertfactor": {
  27803. "description": "标仓系数",
  27804. "type": "number"
  27805. },
  27806. "createtime": {
  27807. "description": "创建时间",
  27808. "type": "string"
  27809. },
  27810. "creatorid": {
  27811. "description": "创建人",
  27812. "type": "integer"
  27813. },
  27814. "deliverygoodsid": {
  27815. "description": "品种ID",
  27816. "type": "integer"
  27817. },
  27818. "deliverygoodsname": {
  27819. "description": "交割商品名称",
  27820. "type": "string"
  27821. },
  27822. "factoryitemjson": {
  27823. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  27824. "type": "string"
  27825. },
  27826. "isvalid": {
  27827. "description": "是否有效 - 0:无效 1:有效",
  27828. "type": "integer"
  27829. },
  27830. "minivalue": {
  27831. "description": "最小变动值",
  27832. "type": "integer"
  27833. },
  27834. "minivaluedp": {
  27835. "description": "最小变动值小数位",
  27836. "type": "integer"
  27837. },
  27838. "realminivalue": {
  27839. "description": "实际最小变动值",
  27840. "type": "integer"
  27841. },
  27842. "realminivaluedp": {
  27843. "description": "实际最小变动值小数位",
  27844. "type": "integer"
  27845. },
  27846. "remark": {
  27847. "description": "备注",
  27848. "type": "string"
  27849. },
  27850. "unitid": {
  27851. "description": "单位ID",
  27852. "type": "integer"
  27853. },
  27854. "unitname": {
  27855. "description": "单位",
  27856. "type": "string"
  27857. },
  27858. "updatetime": {
  27859. "description": "更新时间",
  27860. "type": "string"
  27861. },
  27862. "updatorid": {
  27863. "description": "更新人",
  27864. "type": "integer"
  27865. },
  27866. "wrsstatus": {
  27867. "description": "状态 - 作废 - 0:未激活 1:正常",
  27868. "type": "integer"
  27869. },
  27870. "wrstandardcode": {
  27871. "description": "现货品类代码",
  27872. "type": "string"
  27873. },
  27874. "wrstandardid": {
  27875. "description": "现货品类ID(SEQ_WRSTANDARD)",
  27876. "type": "integer"
  27877. },
  27878. "wrstandardname": {
  27879. "description": "现货品类名称",
  27880. "type": "string"
  27881. }
  27882. }
  27883. },
  27884. "models.Warehouseinfo": {
  27885. "type": "object",
  27886. "required": [
  27887. "autoid",
  27888. "warehousecode"
  27889. ],
  27890. "properties": {
  27891. "address": {
  27892. "description": "详细地址",
  27893. "type": "string"
  27894. },
  27895. "areauserid": {
  27896. "description": "所属机构",
  27897. "type": "integer"
  27898. },
  27899. "autoid": {
  27900. "description": "自增ID",
  27901. "type": "integer"
  27902. },
  27903. "cityid": {
  27904. "description": "市",
  27905. "type": "integer"
  27906. },
  27907. "contactname": {
  27908. "description": "联系人",
  27909. "type": "string"
  27910. },
  27911. "contactnum": {
  27912. "description": "联系电话",
  27913. "type": "string"
  27914. },
  27915. "countryid": {
  27916. "description": "国家",
  27917. "type": "integer"
  27918. },
  27919. "createtime": {
  27920. "description": "创建时间",
  27921. "type": "string"
  27922. },
  27923. "districtid": {
  27924. "description": "区",
  27925. "type": "integer"
  27926. },
  27927. "hasvideo": {
  27928. "description": "是否有视频 - 0:无 1:有",
  27929. "type": "integer"
  27930. },
  27931. "provinceid": {
  27932. "description": "省",
  27933. "type": "integer"
  27934. },
  27935. "remark": {
  27936. "description": "审核备注",
  27937. "type": "string"
  27938. },
  27939. "videourl": {
  27940. "description": "视频地址",
  27941. "type": "string"
  27942. },
  27943. "warehousecode": {
  27944. "description": "仓库代码",
  27945. "type": "string"
  27946. },
  27947. "warehousename": {
  27948. "description": "仓库名称",
  27949. "type": "string"
  27950. },
  27951. "warehousestatus": {
  27952. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  27953. "type": "integer"
  27954. },
  27955. "warehousetype": {
  27956. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  27957. "type": "integer"
  27958. }
  27959. }
  27960. },
  27961. "order.QueryHisTradeDetailRsp": {
  27962. "type": "object",
  27963. "required": [
  27964. "accountid",
  27965. "buyorsell",
  27966. "goodsid",
  27967. "histradedate",
  27968. "marketid",
  27969. "memberuserid",
  27970. "orderid",
  27971. "tradeamount",
  27972. "tradedate",
  27973. "tradeid",
  27974. "tradeprice",
  27975. "tradeqty",
  27976. "tradetime"
  27977. ],
  27978. "properties": {
  27979. "accountid": {
  27980. "description": "账户ID[报价币种]",
  27981. "type": "integer"
  27982. },
  27983. "advanceratio": {
  27984. "description": "首付比率",
  27985. "type": "number"
  27986. },
  27987. "buildtype": {
  27988. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  27989. "type": "integer"
  27990. },
  27991. "buyorsell": {
  27992. "description": "方向 - 0:买 1:卖",
  27993. "type": "integer"
  27994. },
  27995. "charge": {
  27996. "description": "手续费",
  27997. "type": "number"
  27998. },
  27999. "closecharge": {
  28000. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28001. "type": "number"
  28002. },
  28003. "closeexchagechargevalue": {
  28004. "description": "平仓交易所手续费设置值",
  28005. "type": "number"
  28006. },
  28007. "closefeealgorithm": {
  28008. "description": "平仓手续费收取方式 1:比率 2:固定",
  28009. "type": "integer"
  28010. },
  28011. "closememberchargevalue": {
  28012. "description": "平仓会员手续费设置值",
  28013. "type": "number"
  28014. },
  28015. "closepl": {
  28016. "description": "平仓盈亏",
  28017. "type": "number"
  28018. },
  28019. "closepl2": {
  28020. "description": "平仓盈亏[逐笔]",
  28021. "type": "number"
  28022. },
  28023. "closeqty": {
  28024. "description": "平仓数量(先建后平操作 需要记录)",
  28025. "type": "number"
  28026. },
  28027. "creditamount": {
  28028. "description": "授信金额",
  28029. "type": "number"
  28030. },
  28031. "decimalplace": {
  28032. "description": "商品报价小数位",
  28033. "type": "integer"
  28034. },
  28035. "enumdicname": {
  28036. "description": "单位名称",
  28037. "type": "string"
  28038. },
  28039. "gcaccountid": {
  28040. "description": "账户ID[合约币种]",
  28041. "type": "integer"
  28042. },
  28043. "goodscode": {
  28044. "description": "商品代码",
  28045. "type": "string"
  28046. },
  28047. "goodsid": {
  28048. "description": "商品ID",
  28049. "type": "integer"
  28050. },
  28051. "goodsname": {
  28052. "description": "商品名称",
  28053. "type": "string"
  28054. },
  28055. "goodunitid": {
  28056. "description": "商品单位id",
  28057. "type": "integer"
  28058. },
  28059. "histradedate": {
  28060. "description": "历史交易日",
  28061. "type": "string"
  28062. },
  28063. "intclosepl": {
  28064. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28065. "type": "integer"
  28066. },
  28067. "isconfirmexercise": {
  28068. "description": "是否确认行权- 0:否 1:是",
  28069. "type": "integer"
  28070. },
  28071. "ismain": {
  28072. "description": "是否主单 - 0:不是 1:是",
  28073. "type": "integer"
  28074. },
  28075. "ispreexercise": {
  28076. "description": "是否预申报- 0:否 1:是",
  28077. "type": "integer"
  28078. },
  28079. "isreckoned": {
  28080. "description": "是否结算 - 0:未结算 1:已结算",
  28081. "type": "integer"
  28082. },
  28083. "isvaliddata": {
  28084. "description": "是否有效 - 0:无效 1:有效",
  28085. "type": "integer"
  28086. },
  28087. "listingselecttype": {
  28088. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28089. "type": "integer"
  28090. },
  28091. "marketid": {
  28092. "description": "市场ID",
  28093. "type": "integer"
  28094. },
  28095. "marketname": {
  28096. "description": "市场名称",
  28097. "type": "string"
  28098. },
  28099. "matchaccountid": {
  28100. "description": "对手账号id",
  28101. "type": "integer"
  28102. },
  28103. "memberuserid": {
  28104. "description": "会员id 个人投资者 需要填写",
  28105. "type": "integer"
  28106. },
  28107. "opencharge": {
  28108. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28109. "type": "number"
  28110. },
  28111. "openexchagechargevalue": {
  28112. "description": "建仓交易所手续费设置值",
  28113. "type": "number"
  28114. },
  28115. "openfeealgorithm": {
  28116. "description": "建仓手续费收取方式 1:比率 2:固定",
  28117. "type": "integer"
  28118. },
  28119. "openmemberchargevalue": {
  28120. "description": "建仓会员手续费设置值",
  28121. "type": "number"
  28122. },
  28123. "openqty": {
  28124. "description": "开仓数量(先建后平操作 需要记录)",
  28125. "type": "number"
  28126. },
  28127. "optiontype": {
  28128. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28129. "type": "integer"
  28130. },
  28131. "orderid": {
  28132. "description": "委托单号",
  28133. "type": "string"
  28134. },
  28135. "payamount": {
  28136. "description": "支付金额(付款金额)",
  28137. "type": "number"
  28138. },
  28139. "performanceplanid": {
  28140. "description": "履约计划ID[期权]",
  28141. "type": "integer"
  28142. },
  28143. "performancestatus": {
  28144. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28145. "type": "integer"
  28146. },
  28147. "preexerciseprice": {
  28148. "description": "预申报价格",
  28149. "type": "number"
  28150. },
  28151. "premium": {
  28152. "description": "权利金 - [持仓单的权利金]",
  28153. "type": "number"
  28154. },
  28155. "qtydecimalplace": {
  28156. "description": "商品报价小数位",
  28157. "type": "integer"
  28158. },
  28159. "recvamount": {
  28160. "description": "到账金额 = 成交金额 - 手续费",
  28161. "type": "number"
  28162. },
  28163. "relatedouttradeid": {
  28164. "description": "关联外部成交单ID",
  28165. "type": "integer"
  28166. },
  28167. "status": {
  28168. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28169. "type": "integer"
  28170. },
  28171. "totalamount": {
  28172. "description": "订单总额 = 成交金额 + 手续费",
  28173. "type": "number"
  28174. },
  28175. "tradeamount": {
  28176. "description": "成交金额[账户币种,用于所有权]",
  28177. "type": "number"
  28178. },
  28179. "tradedate": {
  28180. "description": "交易日(yyyyMMdd)",
  28181. "type": "string"
  28182. },
  28183. "tradeid": {
  28184. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28185. "type": "string"
  28186. },
  28187. "trademode": {
  28188. "description": "交易模式",
  28189. "type": "integer"
  28190. },
  28191. "tradeprice": {
  28192. "description": "成交价格",
  28193. "type": "number"
  28194. },
  28195. "tradeproperty": {
  28196. "description": "交易属性",
  28197. "type": "integer"
  28198. },
  28199. "tradeqty": {
  28200. "description": "成交数量",
  28201. "type": "number"
  28202. },
  28203. "tradetime": {
  28204. "description": "成交时间",
  28205. "type": "string"
  28206. },
  28207. "tradetype": {
  28208. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28209. "type": "integer"
  28210. }
  28211. }
  28212. },
  28213. "order.QueryHisTradeOrderDetailRsp": {
  28214. "type": "object",
  28215. "required": [
  28216. "accountid",
  28217. "buildtype",
  28218. "buyorsell",
  28219. "goodsid",
  28220. "histradedate",
  28221. "marketid",
  28222. "memberuserid",
  28223. "operatetype",
  28224. "orderid",
  28225. "orderqty",
  28226. "ordertime",
  28227. "pricemode",
  28228. "tradedate",
  28229. "validtype"
  28230. ],
  28231. "properties": {
  28232. "accountid": {
  28233. "description": "账户ID[报价币种]",
  28234. "type": "integer"
  28235. },
  28236. "buildtype": {
  28237. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28238. "type": "integer"
  28239. },
  28240. "buyorsell": {
  28241. "description": "买卖 - 0:买 1:卖",
  28242. "type": "integer"
  28243. },
  28244. "cancelorderid": {
  28245. "description": "撤单单号(撤单时填写)",
  28246. "type": "string"
  28247. },
  28248. "cancelqty": {
  28249. "description": "撤单数量",
  28250. "type": "number"
  28251. },
  28252. "clientordertime": {
  28253. "description": "客户端委托时间",
  28254. "type": "string"
  28255. },
  28256. "clientticket": {
  28257. "description": "客户端流水号",
  28258. "type": "string"
  28259. },
  28260. "clienttype": {
  28261. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28262. "type": "integer"
  28263. },
  28264. "closeexchagechargevalue": {
  28265. "description": "平仓交易所手续费设置值",
  28266. "type": "number"
  28267. },
  28268. "closefeealgorithm": {
  28269. "description": "平仓手续费收取方式 1:比率 2:固定",
  28270. "type": "integer"
  28271. },
  28272. "closefreezecharge": {
  28273. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28274. "type": "number"
  28275. },
  28276. "closememberchargevalue": {
  28277. "description": "平仓会员手续费设置值",
  28278. "type": "number"
  28279. },
  28280. "closeqty": {
  28281. "description": "平仓数量(先建后平操作 需要记录)",
  28282. "type": "number"
  28283. },
  28284. "closetradeqty": {
  28285. "description": "平仓成交数量(先建后平操作,需要记录)",
  28286. "type": "number"
  28287. },
  28288. "closeunfreezecharge": {
  28289. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28290. "type": "number"
  28291. },
  28292. "decimalplace": {
  28293. "description": "商品报价小数位",
  28294. "type": "integer"
  28295. },
  28296. "delistingtype": {
  28297. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28298. "type": "integer"
  28299. },
  28300. "enumdicname": {
  28301. "description": "单位名称",
  28302. "type": "string"
  28303. },
  28304. "freezecharge": {
  28305. "description": "冻结手续费",
  28306. "type": "number"
  28307. },
  28308. "freezemargin": {
  28309. "description": "冻结保证金(冻结交易金额)",
  28310. "type": "number"
  28311. },
  28312. "gcaccountid": {
  28313. "description": "账户ID[合约币种]",
  28314. "type": "integer"
  28315. },
  28316. "goodscode": {
  28317. "description": "商品代码",
  28318. "type": "string"
  28319. },
  28320. "goodsid": {
  28321. "description": "商品ID",
  28322. "type": "integer"
  28323. },
  28324. "goodsname": {
  28325. "description": "商品名称",
  28326. "type": "string"
  28327. },
  28328. "goodunitid": {
  28329. "description": "商品单位id",
  28330. "type": "integer"
  28331. },
  28332. "histradedate": {
  28333. "description": "历史交易日",
  28334. "type": "string"
  28335. },
  28336. "isconfirmexercise": {
  28337. "description": "是否确认行权- 0:否 1:是",
  28338. "type": "integer"
  28339. },
  28340. "ispreexercise": {
  28341. "description": "是否预申报- 0:否 1:是",
  28342. "type": "integer"
  28343. },
  28344. "isvaliddata": {
  28345. "description": "是否有效 - 0:无效 1:有效",
  28346. "type": "integer"
  28347. },
  28348. "listingselecttype": {
  28349. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28350. "type": "integer"
  28351. },
  28352. "marginalgorithm": {
  28353. "description": "保证金收取方式 1:比率 2:固定",
  28354. "type": "integer"
  28355. },
  28356. "marginvalue": {
  28357. "description": "即市保证金设置值",
  28358. "type": "number"
  28359. },
  28360. "marketid": {
  28361. "description": "市场ID",
  28362. "type": "integer"
  28363. },
  28364. "marketmaxsub": {
  28365. "description": "市价最大偏移范围",
  28366. "type": "number"
  28367. },
  28368. "marketname": {
  28369. "description": "市场名称",
  28370. "type": "string"
  28371. },
  28372. "memberuserid": {
  28373. "description": "所属会员UserID",
  28374. "type": "integer"
  28375. },
  28376. "openexchagechargevalue": {
  28377. "description": "建仓交易所手续费设置值",
  28378. "type": "number"
  28379. },
  28380. "openfeealgorithm": {
  28381. "description": "建仓手续费收取方式 1:比率 2:固定",
  28382. "type": "integer"
  28383. },
  28384. "openfreezecharge": {
  28385. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28386. "type": "number"
  28387. },
  28388. "openmemberchargevalue": {
  28389. "description": "建仓会员手续费设置值",
  28390. "type": "number"
  28391. },
  28392. "openqty": {
  28393. "description": "开仓数量(先建后平操作,需要记录)",
  28394. "type": "number"
  28395. },
  28396. "opentradeqty": {
  28397. "description": "开仓成交数量(先建后平操作,需要记录)",
  28398. "type": "number"
  28399. },
  28400. "openunfreezecharge": {
  28401. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28402. "type": "number"
  28403. },
  28404. "operatetype": {
  28405. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28406. "type": "integer"
  28407. },
  28408. "operatorid": {
  28409. "description": "登录账号(LoginID)",
  28410. "type": "integer"
  28411. },
  28412. "optiontype": {
  28413. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28414. "type": "integer"
  28415. },
  28416. "orderid": {
  28417. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28418. "type": "string"
  28419. },
  28420. "orderprice": {
  28421. "description": "委托价格",
  28422. "type": "number"
  28423. },
  28424. "orderqty": {
  28425. "description": "委托数量",
  28426. "type": "number"
  28427. },
  28428. "ordersrc": {
  28429. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28430. "type": "integer"
  28431. },
  28432. "orderstatus": {
  28433. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28434. "type": "integer"
  28435. },
  28436. "ordertime": {
  28437. "description": "委托时间",
  28438. "type": "string"
  28439. },
  28440. "preexerciseprice": {
  28441. "description": "预申报价格",
  28442. "type": "number"
  28443. },
  28444. "premium": {
  28445. "description": "权利金",
  28446. "type": "number"
  28447. },
  28448. "preorderid": {
  28449. "description": "关联预埋单号(止盈止损单时填写)",
  28450. "type": "string"
  28451. },
  28452. "pricemode": {
  28453. "description": "取价方式 - 1:市价 2: 限价",
  28454. "type": "integer"
  28455. },
  28456. "qtydecimalplace": {
  28457. "description": "成交量小数位",
  28458. "type": "integer"
  28459. },
  28460. "quoteid": {
  28461. "description": "报价单ID",
  28462. "type": "integer"
  28463. },
  28464. "relatedid": {
  28465. "description": "关联单号(交割单)",
  28466. "type": "string"
  28467. },
  28468. "retcode": {
  28469. "description": "错误代码",
  28470. "type": "integer"
  28471. },
  28472. "sessionid": {
  28473. "description": "会话ID",
  28474. "type": "integer"
  28475. },
  28476. "tradedate": {
  28477. "description": "交易日(yyyyMMdd)",
  28478. "type": "string"
  28479. },
  28480. "trademode": {
  28481. "description": "交易模式",
  28482. "type": "integer"
  28483. },
  28484. "tradeproperty": {
  28485. "description": "交易属性",
  28486. "type": "integer"
  28487. },
  28488. "tradeqty": {
  28489. "description": "成交数量",
  28490. "type": "number"
  28491. },
  28492. "unfreezecharge": {
  28493. "description": "解冻手续费",
  28494. "type": "number"
  28495. },
  28496. "unfreezemargin": {
  28497. "description": "解冻保证金",
  28498. "type": "number"
  28499. },
  28500. "updatetime": {
  28501. "description": "更新时间",
  28502. "type": "string"
  28503. },
  28504. "uuid": {
  28505. "description": "发起端唯一id",
  28506. "type": "string"
  28507. },
  28508. "validtime": {
  28509. "description": "有效期限",
  28510. "type": "string"
  28511. },
  28512. "validtype": {
  28513. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28514. "type": "integer"
  28515. },
  28516. "volumetype": {
  28517. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28518. "type": "integer"
  28519. }
  28520. }
  28521. },
  28522. "order.QueryTradeDetailRsp": {
  28523. "type": "object",
  28524. "required": [
  28525. "accountid",
  28526. "buyorsell",
  28527. "goodsid",
  28528. "marketid",
  28529. "memberuserid",
  28530. "orderid",
  28531. "tradeamount",
  28532. "tradedate",
  28533. "tradeid",
  28534. "tradeprice",
  28535. "tradeqty",
  28536. "tradetime"
  28537. ],
  28538. "properties": {
  28539. "accountid": {
  28540. "description": "账户ID[报价币种]",
  28541. "type": "integer"
  28542. },
  28543. "advanceratio": {
  28544. "description": "首付比率",
  28545. "type": "number"
  28546. },
  28547. "buildtype": {
  28548. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28549. "type": "integer"
  28550. },
  28551. "buyorsell": {
  28552. "description": "方向 - 0:买 1:卖",
  28553. "type": "integer"
  28554. },
  28555. "charge": {
  28556. "description": "手续费",
  28557. "type": "number"
  28558. },
  28559. "closecharge": {
  28560. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28561. "type": "number"
  28562. },
  28563. "closeexchagechargevalue": {
  28564. "description": "平仓交易所手续费设置值",
  28565. "type": "number"
  28566. },
  28567. "closefeealgorithm": {
  28568. "description": "平仓手续费收取方式 1:比率 2:固定",
  28569. "type": "integer"
  28570. },
  28571. "closememberchargevalue": {
  28572. "description": "平仓会员手续费设置值",
  28573. "type": "number"
  28574. },
  28575. "closepl": {
  28576. "description": "平仓盈亏",
  28577. "type": "number"
  28578. },
  28579. "closepl2": {
  28580. "description": "平仓盈亏[逐笔]",
  28581. "type": "number"
  28582. },
  28583. "closeqty": {
  28584. "description": "平仓数量(先建后平操作 需要记录)",
  28585. "type": "number"
  28586. },
  28587. "creditamount": {
  28588. "description": "授信金额",
  28589. "type": "number"
  28590. },
  28591. "decimalplace": {
  28592. "description": "商品报价小数位",
  28593. "type": "integer"
  28594. },
  28595. "enumdicname": {
  28596. "description": "单位名称",
  28597. "type": "string"
  28598. },
  28599. "gcaccountid": {
  28600. "description": "账户ID[合约币种]",
  28601. "type": "integer"
  28602. },
  28603. "goodscode": {
  28604. "description": "商品代码",
  28605. "type": "string"
  28606. },
  28607. "goodsid": {
  28608. "description": "商品ID",
  28609. "type": "integer"
  28610. },
  28611. "goodsname": {
  28612. "description": "商品名称",
  28613. "type": "string"
  28614. },
  28615. "goodunitid": {
  28616. "description": "商品单位id",
  28617. "type": "integer"
  28618. },
  28619. "intclosepl": {
  28620. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28621. "type": "integer"
  28622. },
  28623. "isconfirmexercise": {
  28624. "description": "是否确认行权- 0:否 1:是",
  28625. "type": "integer"
  28626. },
  28627. "ismain": {
  28628. "description": "是否主单 - 0:不是 1:是",
  28629. "type": "integer"
  28630. },
  28631. "ispreexercise": {
  28632. "description": "是否预申报- 0:否 1:是",
  28633. "type": "integer"
  28634. },
  28635. "isreckoned": {
  28636. "description": "是否结算 - 0:未结算 1:已结算",
  28637. "type": "integer"
  28638. },
  28639. "listingselecttype": {
  28640. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28641. "type": "integer"
  28642. },
  28643. "marketid": {
  28644. "description": "市场ID",
  28645. "type": "integer"
  28646. },
  28647. "marketname": {
  28648. "description": "市场名称",
  28649. "type": "string"
  28650. },
  28651. "matchaccountid": {
  28652. "description": "对手账号id",
  28653. "type": "integer"
  28654. },
  28655. "memberuserid": {
  28656. "description": "会员id 个人投资者 需要填写",
  28657. "type": "integer"
  28658. },
  28659. "opencharge": {
  28660. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28661. "type": "number"
  28662. },
  28663. "openexchagechargevalue": {
  28664. "description": "建仓交易所手续费设置值",
  28665. "type": "number"
  28666. },
  28667. "openfeealgorithm": {
  28668. "description": "建仓手续费收取方式 1:比率 2:固定",
  28669. "type": "integer"
  28670. },
  28671. "openmemberchargevalue": {
  28672. "description": "建仓会员手续费设置值",
  28673. "type": "number"
  28674. },
  28675. "openqty": {
  28676. "description": "开仓数量(先建后平操作 需要记录)",
  28677. "type": "number"
  28678. },
  28679. "optiontype": {
  28680. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28681. "type": "integer"
  28682. },
  28683. "orderid": {
  28684. "description": "委托单号",
  28685. "type": "string"
  28686. },
  28687. "payamount": {
  28688. "description": "支付金额(付款金额)",
  28689. "type": "number"
  28690. },
  28691. "performanceplanid": {
  28692. "description": "履约计划ID[期权]",
  28693. "type": "integer"
  28694. },
  28695. "performancestatus": {
  28696. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28697. "type": "integer"
  28698. },
  28699. "preexerciseprice": {
  28700. "description": "预申报价格",
  28701. "type": "number"
  28702. },
  28703. "premium": {
  28704. "description": "权利金 - [持仓单的权利金]",
  28705. "type": "number"
  28706. },
  28707. "qtydecimalplace": {
  28708. "description": "商品报价小数位",
  28709. "type": "integer"
  28710. },
  28711. "recvamount": {
  28712. "description": "到账金额 = 成交金额 - 手续费",
  28713. "type": "number"
  28714. },
  28715. "relatedouttradeid": {
  28716. "description": "关联外部成交单ID",
  28717. "type": "integer"
  28718. },
  28719. "status": {
  28720. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28721. "type": "integer"
  28722. },
  28723. "totalamount": {
  28724. "description": "订单总额 = 成交金额 + 手续费",
  28725. "type": "number"
  28726. },
  28727. "tradeamount": {
  28728. "description": "成交金额[账户币种,用于所有权]",
  28729. "type": "number"
  28730. },
  28731. "tradedate": {
  28732. "description": "交易日(yyyyMMdd)",
  28733. "type": "string"
  28734. },
  28735. "tradeid": {
  28736. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28737. "type": "string"
  28738. },
  28739. "trademode": {
  28740. "description": "交易模式",
  28741. "type": "integer"
  28742. },
  28743. "tradeprice": {
  28744. "description": "成交价格",
  28745. "type": "number"
  28746. },
  28747. "tradeproperty": {
  28748. "description": "交易属性",
  28749. "type": "integer"
  28750. },
  28751. "tradeqty": {
  28752. "description": "成交数量",
  28753. "type": "number"
  28754. },
  28755. "tradetime": {
  28756. "description": "成交时间",
  28757. "type": "string"
  28758. },
  28759. "tradetype": {
  28760. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28761. "type": "integer"
  28762. }
  28763. }
  28764. },
  28765. "order.QueryTradeOrderDetailRsp": {
  28766. "type": "object",
  28767. "required": [
  28768. "accountid",
  28769. "buildtype",
  28770. "buyorsell",
  28771. "goodsid",
  28772. "marketid",
  28773. "operatetype",
  28774. "orderqty",
  28775. "ordertime",
  28776. "pricemode",
  28777. "tradedate",
  28778. "validtype"
  28779. ],
  28780. "properties": {
  28781. "accountid": {
  28782. "description": "账户ID[报价币种]",
  28783. "type": "integer"
  28784. },
  28785. "buildtype": {
  28786. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28787. "type": "integer"
  28788. },
  28789. "buyorsell": {
  28790. "description": "买卖 - 0:买 1:卖",
  28791. "type": "integer"
  28792. },
  28793. "cancelorderid": {
  28794. "description": "撤单单号(撤单时填写)",
  28795. "type": "string"
  28796. },
  28797. "cancelqty": {
  28798. "description": "撤单数量",
  28799. "type": "number"
  28800. },
  28801. "clienttype": {
  28802. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28803. "type": "integer"
  28804. },
  28805. "closefreezecharge": {
  28806. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28807. "type": "number"
  28808. },
  28809. "closeqty": {
  28810. "description": "平仓数量(先建后平操作 需要记录)",
  28811. "type": "number"
  28812. },
  28813. "closetradeqty": {
  28814. "description": "平仓成交数量(先建后平操作,需要记录)",
  28815. "type": "number"
  28816. },
  28817. "closeunfreezecharge": {
  28818. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28819. "type": "number"
  28820. },
  28821. "decimalplace": {
  28822. "description": "商品报价小数位",
  28823. "type": "integer"
  28824. },
  28825. "delistingtype": {
  28826. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28827. "type": "integer"
  28828. },
  28829. "enableqty": {
  28830. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  28831. "type": "number"
  28832. },
  28833. "enumdicname": {
  28834. "description": "单位名称",
  28835. "type": "string"
  28836. },
  28837. "freezecharge": {
  28838. "description": "冻结手续费",
  28839. "type": "number"
  28840. },
  28841. "freezemargin": {
  28842. "description": "冻结保证金(冻结交易金额)",
  28843. "type": "number"
  28844. },
  28845. "goodscode": {
  28846. "description": "商品代码",
  28847. "type": "string"
  28848. },
  28849. "goodsid": {
  28850. "description": "商品ID",
  28851. "type": "integer"
  28852. },
  28853. "goodsname": {
  28854. "description": "商品名称",
  28855. "type": "string"
  28856. },
  28857. "goodunitid": {
  28858. "description": "商品单位id",
  28859. "type": "integer"
  28860. },
  28861. "listingselecttype": {
  28862. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28863. "type": "integer"
  28864. },
  28865. "marketid": {
  28866. "description": "市场ID",
  28867. "type": "integer"
  28868. },
  28869. "marketname": {
  28870. "description": "市场名称",
  28871. "type": "string"
  28872. },
  28873. "openfreezecharge": {
  28874. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28875. "type": "number"
  28876. },
  28877. "openqty": {
  28878. "description": "开仓数量(先建后平操作,需要记录)",
  28879. "type": "number"
  28880. },
  28881. "opentradeqty": {
  28882. "description": "开仓成交数量(先建后平操作,需要记录)",
  28883. "type": "number"
  28884. },
  28885. "openunfreezecharge": {
  28886. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28887. "type": "number"
  28888. },
  28889. "operatetype": {
  28890. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28891. "type": "integer"
  28892. },
  28893. "operatorid": {
  28894. "description": "登录账号(LoginID)",
  28895. "type": "integer"
  28896. },
  28897. "orderid": {
  28898. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28899. "type": "string"
  28900. },
  28901. "orderprice": {
  28902. "description": "委托价格",
  28903. "type": "number"
  28904. },
  28905. "orderqty": {
  28906. "description": "委托数量",
  28907. "type": "number"
  28908. },
  28909. "ordersrc": {
  28910. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28911. "type": "integer"
  28912. },
  28913. "orderstatus": {
  28914. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28915. "type": "integer"
  28916. },
  28917. "ordertime": {
  28918. "description": "委托时间",
  28919. "type": "string"
  28920. },
  28921. "preorderid": {
  28922. "description": "关联预埋单号(止盈止损单时填写)",
  28923. "type": "string"
  28924. },
  28925. "pricemode": {
  28926. "description": "取价方式 - 1:市价 2: 限价",
  28927. "type": "integer"
  28928. },
  28929. "qtydecimalplace": {
  28930. "description": "商品报价小数位",
  28931. "type": "integer"
  28932. },
  28933. "relatedid": {
  28934. "description": "关联单号(交割单)",
  28935. "type": "string"
  28936. },
  28937. "tradedate": {
  28938. "description": "交易日(yyyyMMdd)",
  28939. "type": "string"
  28940. },
  28941. "trademode": {
  28942. "description": "交易模式",
  28943. "type": "integer"
  28944. },
  28945. "tradeqty": {
  28946. "description": "成交数量",
  28947. "type": "number"
  28948. },
  28949. "unfreezecharge": {
  28950. "description": "解冻手续费",
  28951. "type": "number"
  28952. },
  28953. "unfreezemargin": {
  28954. "description": "解冻保证金",
  28955. "type": "number"
  28956. },
  28957. "validtime": {
  28958. "description": "有效期限",
  28959. "type": "string"
  28960. },
  28961. "validtype": {
  28962. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28963. "type": "integer"
  28964. },
  28965. "volumetype": {
  28966. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28967. "type": "integer"
  28968. }
  28969. }
  28970. },
  28971. "order.QueryTradePositionRsp": {
  28972. "type": "object",
  28973. "required": [
  28974. "goodsid"
  28975. ],
  28976. "properties": {
  28977. "accountid": {
  28978. "description": "资金账户",
  28979. "type": "integer"
  28980. },
  28981. "agreeunit": {
  28982. "description": "合约单位",
  28983. "type": "number"
  28984. },
  28985. "averageprice": {
  28986. "description": "持仓均价",
  28987. "type": "number"
  28988. },
  28989. "buyorsell": {
  28990. "description": "方向 - 0:买 1:卖",
  28991. "type": "integer"
  28992. },
  28993. "closetotalqty": {
  28994. "description": "平仓总数量",
  28995. "type": "number"
  28996. },
  28997. "curholderamount": {
  28998. "description": "当前持仓总金额[商品币种]",
  28999. "type": "number"
  29000. },
  29001. "curpositionqty": {
  29002. "description": "当前持仓总数量",
  29003. "type": "number"
  29004. },
  29005. "currencyid": {
  29006. "description": "报价货币ID",
  29007. "type": "integer"
  29008. },
  29009. "curtdposition": {
  29010. "description": "期末今日头寸",
  29011. "type": "number"
  29012. },
  29013. "decimalplace": {
  29014. "description": "报价小数位",
  29015. "type": "integer"
  29016. },
  29017. "enableqty": {
  29018. "description": "可用量",
  29019. "type": "number"
  29020. },
  29021. "fretdposition": {
  29022. "description": "冻结今日头寸",
  29023. "type": "number"
  29024. },
  29025. "frozenqty": {
  29026. "description": "持仓冻结数量",
  29027. "type": "number"
  29028. },
  29029. "goodscode": {
  29030. "description": "商品代码",
  29031. "type": "string"
  29032. },
  29033. "goodsid": {
  29034. "description": "商品Id",
  29035. "type": "integer"
  29036. },
  29037. "goodsname": {
  29038. "description": "商品名称",
  29039. "type": "string"
  29040. },
  29041. "goodunit": {
  29042. "description": "报价单位",
  29043. "type": "string"
  29044. },
  29045. "goodunitid": {
  29046. "description": "报价单位ID",
  29047. "type": "integer"
  29048. },
  29049. "holderamount": {
  29050. "description": "期初持仓总金额[商品币种]",
  29051. "type": "number"
  29052. },
  29053. "marketid": {
  29054. "description": "所属市场ID",
  29055. "type": "integer"
  29056. },
  29057. "openreqqty": {
  29058. "description": "开仓申请数量(用于比较最大持仓数量)",
  29059. "type": "number"
  29060. },
  29061. "opentotalqty": {
  29062. "description": "开仓总数量",
  29063. "type": "number"
  29064. },
  29065. "otherfrozenqty": {
  29066. "description": "持仓其他冻结数量(交割冻结)",
  29067. "type": "number"
  29068. },
  29069. "positionqty": {
  29070. "description": "期初持仓数量",
  29071. "type": "number"
  29072. },
  29073. "qtydecimalplace": {
  29074. "description": "成交量小数位",
  29075. "type": "integer"
  29076. },
  29077. "tnqty": {
  29078. "description": "T+N冻结总量",
  29079. "type": "number"
  29080. },
  29081. "tnusedqty": {
  29082. "description": "T+N使用量(可以使用T+N的冻结数量)",
  29083. "type": "number"
  29084. },
  29085. "trademode": {
  29086. "description": "交易模式",
  29087. "type": "integer"
  29088. },
  29089. "usedmargin": {
  29090. "description": "占用保证金[商品币种]",
  29091. "type": "number"
  29092. }
  29093. }
  29094. },
  29095. "quote.HistoryData": {
  29096. "type": "object",
  29097. "properties": {
  29098. "c": {
  29099. "description": "收盘价",
  29100. "type": "number"
  29101. },
  29102. "f": {
  29103. "description": "是否补充数据",
  29104. "type": "boolean"
  29105. },
  29106. "h": {
  29107. "description": "最高价",
  29108. "type": "number"
  29109. },
  29110. "hv": {
  29111. "description": "持仓量",
  29112. "type": "integer"
  29113. },
  29114. "l": {
  29115. "description": "最低价",
  29116. "type": "number"
  29117. },
  29118. "o": {
  29119. "description": "开盘价",
  29120. "type": "number"
  29121. },
  29122. "s": {
  29123. "description": "结算价,日线周期(包括)以上才有",
  29124. "type": "number"
  29125. },
  29126. "ts": {
  29127. "description": "时间",
  29128. "type": "string"
  29129. },
  29130. "tt": {
  29131. "description": "总金额",
  29132. "type": "number"
  29133. },
  29134. "tv": {
  29135. "description": "总量",
  29136. "type": "integer"
  29137. }
  29138. }
  29139. },
  29140. "quote.HistoryTikData": {
  29141. "type": "object",
  29142. "properties": {
  29143. "AV": {
  29144. "description": "卖量",
  29145. "type": "integer"
  29146. },
  29147. "Ask": {
  29148. "description": "卖价",
  29149. "type": "number"
  29150. },
  29151. "BV": {
  29152. "description": "买量",
  29153. "type": "integer"
  29154. },
  29155. "Bid": {
  29156. "description": "买价",
  29157. "type": "number"
  29158. },
  29159. "HI": {
  29160. "description": "单笔持仓",
  29161. "type": "integer"
  29162. },
  29163. "HV": {
  29164. "description": "持仓量",
  29165. "type": "integer"
  29166. },
  29167. "PE": {
  29168. "description": "现价",
  29169. "type": "number"
  29170. },
  29171. "TDR": {
  29172. "description": "交易方向,0:买 1:卖",
  29173. "type": "integer"
  29174. },
  29175. "TK": {
  29176. "description": "交易类型",
  29177. "type": "integer"
  29178. },
  29179. "TS": {
  29180. "description": "行情时间文本",
  29181. "type": "string"
  29182. },
  29183. "TT": {
  29184. "description": "现金额",
  29185. "type": "number"
  29186. },
  29187. "Vol": {
  29188. "description": "现量",
  29189. "type": "integer"
  29190. }
  29191. }
  29192. },
  29193. "quote.QueryQuoteDayRsp": {
  29194. "type": "object",
  29195. "properties": {
  29196. "ask": {
  29197. "description": "卖1",
  29198. "type": "number"
  29199. },
  29200. "ask10": {
  29201. "description": "卖10",
  29202. "type": "number"
  29203. },
  29204. "ask2": {
  29205. "description": "卖2",
  29206. "type": "number"
  29207. },
  29208. "ask3": {
  29209. "description": "卖3",
  29210. "type": "number"
  29211. },
  29212. "ask4": {
  29213. "description": "卖4",
  29214. "type": "number"
  29215. },
  29216. "ask5": {
  29217. "description": "卖5",
  29218. "type": "number"
  29219. },
  29220. "ask6": {
  29221. "description": "卖6",
  29222. "type": "number"
  29223. },
  29224. "ask7": {
  29225. "description": "卖7",
  29226. "type": "number"
  29227. },
  29228. "ask8": {
  29229. "description": "卖8",
  29230. "type": "number"
  29231. },
  29232. "ask9": {
  29233. "description": "卖9",
  29234. "type": "number"
  29235. },
  29236. "askorderid": {
  29237. "description": "卖单号1",
  29238. "type": "integer"
  29239. },
  29240. "askorderid2": {
  29241. "description": "卖单号2",
  29242. "type": "integer"
  29243. },
  29244. "askorderid3": {
  29245. "description": "卖单号3",
  29246. "type": "integer"
  29247. },
  29248. "askorderid4": {
  29249. "description": "卖单号4",
  29250. "type": "integer"
  29251. },
  29252. "askorderid5": {
  29253. "description": "卖单号5",
  29254. "type": "integer"
  29255. },
  29256. "askordervolume": {
  29257. "description": "卖单量1",
  29258. "type": "integer"
  29259. },
  29260. "askordervolume10": {
  29261. "description": "卖单量10",
  29262. "type": "integer"
  29263. },
  29264. "askordervolume2": {
  29265. "description": "卖单量2",
  29266. "type": "integer"
  29267. },
  29268. "askordervolume3": {
  29269. "description": "卖单量3",
  29270. "type": "integer"
  29271. },
  29272. "askordervolume4": {
  29273. "description": "卖单量4",
  29274. "type": "integer"
  29275. },
  29276. "askordervolume5": {
  29277. "description": "卖单量5",
  29278. "type": "integer"
  29279. },
  29280. "askordervolume6": {
  29281. "description": "卖单量6",
  29282. "type": "integer"
  29283. },
  29284. "askordervolume7": {
  29285. "description": "卖单量7",
  29286. "type": "integer"
  29287. },
  29288. "askordervolume8": {
  29289. "description": "卖单量8",
  29290. "type": "integer"
  29291. },
  29292. "askordervolume9": {
  29293. "description": "卖单量9",
  29294. "type": "integer"
  29295. },
  29296. "askqueueinfo": {
  29297. "description": "大利市卖港股用",
  29298. "type": "string"
  29299. },
  29300. "askvolume": {
  29301. "description": "卖量1",
  29302. "type": "integer"
  29303. },
  29304. "askvolume10": {
  29305. "description": "卖量10",
  29306. "type": "integer"
  29307. },
  29308. "askvolume2": {
  29309. "description": "卖量2",
  29310. "type": "integer"
  29311. },
  29312. "askvolume3": {
  29313. "description": "卖量3",
  29314. "type": "integer"
  29315. },
  29316. "askvolume4": {
  29317. "description": "卖量4",
  29318. "type": "integer"
  29319. },
  29320. "askvolume5": {
  29321. "description": "卖量5",
  29322. "type": "integer"
  29323. },
  29324. "askvolume6": {
  29325. "description": "卖量6",
  29326. "type": "integer"
  29327. },
  29328. "askvolume7": {
  29329. "description": "卖量7",
  29330. "type": "integer"
  29331. },
  29332. "askvolume8": {
  29333. "description": "卖量8",
  29334. "type": "integer"
  29335. },
  29336. "askvolume9": {
  29337. "description": "卖量9",
  29338. "type": "integer"
  29339. },
  29340. "averageprice": {
  29341. "description": "均价",
  29342. "type": "number"
  29343. },
  29344. "bid": {
  29345. "description": "买1",
  29346. "type": "number"
  29347. },
  29348. "bid10": {
  29349. "description": "买10",
  29350. "type": "number"
  29351. },
  29352. "bid2": {
  29353. "description": "买2",
  29354. "type": "number"
  29355. },
  29356. "bid3": {
  29357. "description": "买3",
  29358. "type": "number"
  29359. },
  29360. "bid4": {
  29361. "description": "买4",
  29362. "type": "number"
  29363. },
  29364. "bid5": {
  29365. "description": "买5",
  29366. "type": "number"
  29367. },
  29368. "bid6": {
  29369. "description": "买6",
  29370. "type": "number"
  29371. },
  29372. "bid7": {
  29373. "description": "买7",
  29374. "type": "number"
  29375. },
  29376. "bid8": {
  29377. "description": "买8",
  29378. "type": "number"
  29379. },
  29380. "bid9": {
  29381. "description": "买9",
  29382. "type": "number"
  29383. },
  29384. "bidorderid": {
  29385. "description": "买单号1",
  29386. "type": "integer"
  29387. },
  29388. "bidorderid2": {
  29389. "description": "买单号2",
  29390. "type": "integer"
  29391. },
  29392. "bidorderid3": {
  29393. "description": "买单号3",
  29394. "type": "integer"
  29395. },
  29396. "bidorderid4": {
  29397. "description": "买单号4",
  29398. "type": "integer"
  29399. },
  29400. "bidorderid5": {
  29401. "description": "买单号5",
  29402. "type": "integer"
  29403. },
  29404. "bidordervolume": {
  29405. "description": "买单量1",
  29406. "type": "integer"
  29407. },
  29408. "bidordervolume10": {
  29409. "description": "买单量10",
  29410. "type": "integer"
  29411. },
  29412. "bidordervolume2": {
  29413. "description": "买单量2",
  29414. "type": "integer"
  29415. },
  29416. "bidordervolume3": {
  29417. "description": "买单量3",
  29418. "type": "integer"
  29419. },
  29420. "bidordervolume4": {
  29421. "description": "买单量4",
  29422. "type": "integer"
  29423. },
  29424. "bidordervolume5": {
  29425. "description": "买单量5",
  29426. "type": "integer"
  29427. },
  29428. "bidordervolume6": {
  29429. "description": "买单量6",
  29430. "type": "integer"
  29431. },
  29432. "bidordervolume7": {
  29433. "description": "买单量7",
  29434. "type": "integer"
  29435. },
  29436. "bidordervolume8": {
  29437. "description": "买单量8",
  29438. "type": "integer"
  29439. },
  29440. "bidordervolume9": {
  29441. "description": "买单量9",
  29442. "type": "integer"
  29443. },
  29444. "bidqueueinfo": {
  29445. "description": "大利市买港股用",
  29446. "type": "string"
  29447. },
  29448. "bidvolume": {
  29449. "description": "买量1",
  29450. "type": "integer"
  29451. },
  29452. "bidvolume10": {
  29453. "description": "买量10",
  29454. "type": "integer"
  29455. },
  29456. "bidvolume2": {
  29457. "description": "买量2",
  29458. "type": "integer"
  29459. },
  29460. "bidvolume3": {
  29461. "description": "买量3",
  29462. "type": "integer"
  29463. },
  29464. "bidvolume4": {
  29465. "description": "买量4",
  29466. "type": "integer"
  29467. },
  29468. "bidvolume5": {
  29469. "description": "买量5",
  29470. "type": "integer"
  29471. },
  29472. "bidvolume6": {
  29473. "description": "买量6",
  29474. "type": "integer"
  29475. },
  29476. "bidvolume7": {
  29477. "description": "买量7",
  29478. "type": "integer"
  29479. },
  29480. "bidvolume8": {
  29481. "description": "买量8",
  29482. "type": "integer"
  29483. },
  29484. "bidvolume9": {
  29485. "description": "买量9",
  29486. "type": "integer"
  29487. },
  29488. "calloptionpremiums": {
  29489. "description": "认购期权1",
  29490. "type": "integer"
  29491. },
  29492. "calloptionpremiums2": {
  29493. "description": "认购期权2",
  29494. "type": "integer"
  29495. },
  29496. "calloptionpremiums3": {
  29497. "description": "认购期权3",
  29498. "type": "integer"
  29499. },
  29500. "calloptionpremiums4": {
  29501. "description": "认购期权4",
  29502. "type": "integer"
  29503. },
  29504. "calloptionpremiums5": {
  29505. "description": "认购期权5",
  29506. "type": "integer"
  29507. },
  29508. "cleartime": {
  29509. "description": "清盘时间",
  29510. "type": "integer"
  29511. },
  29512. "exchangecode": {
  29513. "description": "交易所代码",
  29514. "type": "integer"
  29515. },
  29516. "exchangedate": {
  29517. "description": "交易日",
  29518. "type": "integer"
  29519. },
  29520. "goodscode": {
  29521. "description": "商品代码",
  29522. "type": "string"
  29523. },
  29524. "grepmarketprice": {
  29525. "description": "暗盘价 港股专用",
  29526. "type": "number"
  29527. },
  29528. "highest": {
  29529. "description": "最高价",
  29530. "type": "number"
  29531. },
  29532. "holdincrement": {
  29533. "description": "单笔持仓",
  29534. "type": "integer"
  29535. },
  29536. "holdvolume": {
  29537. "description": "持仓",
  29538. "type": "integer"
  29539. },
  29540. "iep": {
  29541. "description": "平衡价 港股专用",
  29542. "type": "number"
  29543. },
  29544. "iev": {
  29545. "description": "平衡量 港股专用",
  29546. "type": "number"
  29547. },
  29548. "inventory": {
  29549. "description": "库存",
  29550. "type": "integer"
  29551. },
  29552. "iscleared": {
  29553. "description": "是否清盘标志",
  29554. "type": "integer"
  29555. },
  29556. "issettled": {
  29557. "description": "是否结算标志",
  29558. "type": "integer"
  29559. },
  29560. "last": {
  29561. "description": "最新价",
  29562. "type": "number"
  29563. },
  29564. "lastlot": {
  29565. "description": "最新成交手数",
  29566. "type": "integer"
  29567. },
  29568. "lasttime": {
  29569. "description": "行情时间(只有现价变化行情时间才变化)",
  29570. "type": "string"
  29571. },
  29572. "lastturnover": {
  29573. "description": "最新成交金额",
  29574. "type": "number"
  29575. },
  29576. "lastvolume": {
  29577. "description": "最新成交量",
  29578. "type": "integer"
  29579. },
  29580. "limitdown": {
  29581. "description": "跌停价",
  29582. "type": "number"
  29583. },
  29584. "limitup": {
  29585. "description": "涨停价",
  29586. "type": "number"
  29587. },
  29588. "lowest": {
  29589. "description": "最低价",
  29590. "type": "number"
  29591. },
  29592. "nontotalholdervolume": {
  29593. "description": "非交易持仓量",
  29594. "type": "integer"
  29595. },
  29596. "nontotallot": {
  29597. "description": "非交易总手数",
  29598. "type": "integer"
  29599. },
  29600. "nontotalturnover": {
  29601. "description": "非交易总金额",
  29602. "type": "integer"
  29603. },
  29604. "nontotalvolume": {
  29605. "description": "非交易总量",
  29606. "type": "integer"
  29607. },
  29608. "opened": {
  29609. "description": "开盘价",
  29610. "type": "number"
  29611. },
  29612. "opentime": {
  29613. "description": "开盘时间",
  29614. "type": "string"
  29615. },
  29616. "orderid": {
  29617. "description": "序号",
  29618. "type": "integer"
  29619. },
  29620. "preclose": {
  29621. "description": "昨收",
  29622. "type": "number"
  29623. },
  29624. "preholdvolume": {
  29625. "description": "昨持仓",
  29626. "type": "integer"
  29627. },
  29628. "presettle": {
  29629. "description": "昨结价",
  29630. "type": "number"
  29631. },
  29632. "publictradetype": {
  29633. "description": "公共交易标志类型 港股专用",
  29634. "type": "string"
  29635. },
  29636. "putoptionpremiums": {
  29637. "description": "认沽期权1",
  29638. "type": "integer"
  29639. },
  29640. "putoptionpremiums2": {
  29641. "description": "认沽期权2",
  29642. "type": "integer"
  29643. },
  29644. "putoptionpremiums3": {
  29645. "description": "认沽期权3",
  29646. "type": "integer"
  29647. },
  29648. "putoptionpremiums4": {
  29649. "description": "认沽期权4",
  29650. "type": "integer"
  29651. },
  29652. "putoptionpremiums5": {
  29653. "description": "认沽期权5",
  29654. "type": "integer"
  29655. },
  29656. "settle": {
  29657. "description": "结算价",
  29658. "type": "number"
  29659. },
  29660. "strikeprice": {
  29661. "description": "发行价",
  29662. "type": "number"
  29663. },
  29664. "totalaskvolume": {
  29665. "description": "内盘",
  29666. "type": "integer"
  29667. },
  29668. "totalbidvolume": {
  29669. "description": "外盘",
  29670. "type": "integer"
  29671. },
  29672. "totallot": {
  29673. "description": "总手数",
  29674. "type": "integer"
  29675. },
  29676. "totalturnover": {
  29677. "description": "总金额",
  29678. "type": "number"
  29679. },
  29680. "totalvolume": {
  29681. "description": "总量",
  29682. "type": "integer"
  29683. },
  29684. "utclasttime": {
  29685. "description": "utc的行情时间",
  29686. "type": "string"
  29687. }
  29688. }
  29689. },
  29690. "quote.QueryTSDataRsp": {
  29691. "type": "object",
  29692. "properties": {
  29693. "Count": {
  29694. "description": "交易日应有数据个数",
  29695. "type": "integer"
  29696. },
  29697. "decimalPlace": {
  29698. "description": "小数位",
  29699. "type": "integer"
  29700. },
  29701. "endTime": {
  29702. "description": "结束时间",
  29703. "type": "string"
  29704. },
  29705. "goodsCode": {
  29706. "description": "商品代码",
  29707. "type": "string"
  29708. },
  29709. "historyDatas": {
  29710. "description": "历史数据",
  29711. "type": "array",
  29712. "items": {
  29713. "$ref": "#/definitions/quote.HistoryData"
  29714. }
  29715. },
  29716. "outGoodsCode": {
  29717. "description": "外部商品代码",
  29718. "type": "string"
  29719. },
  29720. "preSettle": {
  29721. "description": "昨结价",
  29722. "type": "number"
  29723. },
  29724. "runSteps": {
  29725. "description": "交易日开休市计划",
  29726. "type": "array",
  29727. "items": {
  29728. "$ref": "#/definitions/quote.TSDataRunStep"
  29729. }
  29730. },
  29731. "startTime": {
  29732. "description": "开始时间",
  29733. "type": "string"
  29734. },
  29735. "tradeDate": {
  29736. "description": "交易日",
  29737. "type": "string"
  29738. }
  29739. }
  29740. },
  29741. "quote.TSDataRunStep": {
  29742. "type": "object",
  29743. "properties": {
  29744. "end": {
  29745. "description": "真实结束时间",
  29746. "type": "string"
  29747. },
  29748. "endflag": {
  29749. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  29750. "type": "integer"
  29751. },
  29752. "endtime": {
  29753. "description": "结束时间(HH:mm)",
  29754. "type": "string"
  29755. },
  29756. "endweekday": {
  29757. "description": "结束周几",
  29758. "type": "integer"
  29759. },
  29760. "groupid": {
  29761. "description": "分组ID",
  29762. "type": "integer"
  29763. },
  29764. "runstep": {
  29765. "description": "运行阶段 - 2:连续交易",
  29766. "type": "integer"
  29767. },
  29768. "sectionid": {
  29769. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  29770. "type": "integer"
  29771. },
  29772. "start": {
  29773. "description": "真实开始时间",
  29774. "type": "string"
  29775. },
  29776. "startflag": {
  29777. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  29778. "type": "integer"
  29779. },
  29780. "starttime": {
  29781. "description": "起始时间(HH:mm)",
  29782. "type": "string"
  29783. },
  29784. "startweekday": {
  29785. "description": "起始周几",
  29786. "type": "integer"
  29787. },
  29788. "tradeweekday": {
  29789. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  29790. "type": "integer"
  29791. }
  29792. }
  29793. },
  29794. "szdz.QueryConvertLogRsp": {
  29795. "type": "object",
  29796. "required": [
  29797. "logid"
  29798. ],
  29799. "properties": {
  29800. "accountid": {
  29801. "description": "资金账户ID",
  29802. "type": "integer"
  29803. },
  29804. "clientticket": {
  29805. "description": "客户端流水号",
  29806. "type": "string"
  29807. },
  29808. "converttype": {
  29809. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  29810. "type": "integer"
  29811. },
  29812. "createtime": {
  29813. "description": "记账时间",
  29814. "type": "string"
  29815. },
  29816. "daymaxvalue": {
  29817. "description": "配置当日最大转入限制",
  29818. "type": "number"
  29819. },
  29820. "daymaxvalue2": {
  29821. "description": "配置当日最大转入限制(转入)",
  29822. "type": "number"
  29823. },
  29824. "goodscode": {
  29825. "description": "商品代码",
  29826. "type": "string"
  29827. },
  29828. "goodsname": {
  29829. "description": "商品名称",
  29830. "type": "string"
  29831. },
  29832. "handlestatus": {
  29833. "description": "处理状态",
  29834. "type": "integer"
  29835. },
  29836. "innergoodsid": {
  29837. "description": "内部商品ID",
  29838. "type": "integer"
  29839. },
  29840. "inratio": {
  29841. "description": "配置转入比值",
  29842. "type": "integer"
  29843. },
  29844. "invalue": {
  29845. "description": "目标值",
  29846. "type": "number"
  29847. },
  29848. "logid": {
  29849. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29850. "type": "integer"
  29851. },
  29852. "mobile": {
  29853. "description": "手机号码(加密存储)",
  29854. "type": "string"
  29855. },
  29856. "outergoodscode": {
  29857. "description": "外部商品代码[JD\\PD]",
  29858. "type": "string"
  29859. },
  29860. "outratio": {
  29861. "description": "配置转出比值",
  29862. "type": "integer"
  29863. },
  29864. "outvalue": {
  29865. "description": "源值",
  29866. "type": "number"
  29867. },
  29868. "pddecimalplace": {
  29869. "description": "PD小数位",
  29870. "type": "integer"
  29871. },
  29872. "qty": {
  29873. "description": "数量",
  29874. "type": "string"
  29875. },
  29876. "remark": {
  29877. "description": "备注",
  29878. "type": "string"
  29879. },
  29880. "sessionid": {
  29881. "description": "会话ID",
  29882. "type": "integer"
  29883. },
  29884. "timemaxvalue": {
  29885. "description": "配置单次最大转入限制",
  29886. "type": "number"
  29887. },
  29888. "timemaxvalue2": {
  29889. "description": "配置单次最大转入限制(转入)",
  29890. "type": "number"
  29891. },
  29892. "timeminvalue": {
  29893. "description": "配置单次最小数量限制",
  29894. "type": "number"
  29895. },
  29896. "timeminvalue2": {
  29897. "description": "配置单次最小数量限制(转入)",
  29898. "type": "number"
  29899. },
  29900. "tradedate": {
  29901. "description": "交易日(yyyyMMdd)",
  29902. "type": "string"
  29903. },
  29904. "userid": {
  29905. "description": "用户ID",
  29906. "type": "integer"
  29907. }
  29908. }
  29909. },
  29910. "szdz.QueryGoodsPickupRsp": {
  29911. "type": "object",
  29912. "required": [
  29913. "takeorderid"
  29914. ],
  29915. "properties": {
  29916. "accountid": {
  29917. "description": "账户ID",
  29918. "type": "integer"
  29919. },
  29920. "address": {
  29921. "description": "提货人详细地址",
  29922. "type": "string"
  29923. },
  29924. "auditer": {
  29925. "description": "审核人",
  29926. "type": "integer"
  29927. },
  29928. "audittime": {
  29929. "description": "审核时间",
  29930. "type": "string"
  29931. },
  29932. "cardnum": {
  29933. "description": "提货人证件号码",
  29934. "type": "string"
  29935. },
  29936. "cardtypeid": {
  29937. "description": "提货人证件类型",
  29938. "type": "integer"
  29939. },
  29940. "checkremark": {
  29941. "description": "审核备注",
  29942. "type": "string"
  29943. },
  29944. "goodscode": {
  29945. "description": "商品代码",
  29946. "type": "string"
  29947. },
  29948. "goodsid": {
  29949. "description": "商品ID",
  29950. "type": "integer"
  29951. },
  29952. "goodsname": {
  29953. "description": "商品名称",
  29954. "type": "string"
  29955. },
  29956. "handlestatus": {
  29957. "description": "处理状态",
  29958. "type": "integer"
  29959. },
  29960. "marketid": {
  29961. "description": "市场ID",
  29962. "type": "integer"
  29963. },
  29964. "phonenum": {
  29965. "description": "提货人联系方式",
  29966. "type": "string"
  29967. },
  29968. "qty": {
  29969. "description": "提货数量",
  29970. "type": "number"
  29971. },
  29972. "recivername": {
  29973. "description": "提货人姓名",
  29974. "type": "string"
  29975. },
  29976. "reqtime": {
  29977. "description": "更新时间",
  29978. "type": "string"
  29979. },
  29980. "takemode": {
  29981. "description": "提货方式 - 2:自提 3:配送",
  29982. "type": "integer"
  29983. },
  29984. "takeorderid": {
  29985. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  29986. "type": "string"
  29987. },
  29988. "takeorderstatus": {
  29989. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  29990. "type": "integer"
  29991. },
  29992. "takeremark": {
  29993. "description": "提货备注",
  29994. "type": "string"
  29995. },
  29996. "tradedate": {
  29997. "description": "交易日(yyyyMMdd)",
  29998. "type": "string"
  29999. },
  30000. "userid": {
  30001. "description": "用户ID",
  30002. "type": "integer"
  30003. }
  30004. }
  30005. },
  30006. "szdz.QueryRecieptOrderRsp": {
  30007. "type": "object",
  30008. "required": [
  30009. "ordertime"
  30010. ],
  30011. "properties": {
  30012. "accountName": {
  30013. "description": "所属账号名称(已脱敏)",
  30014. "type": "string"
  30015. },
  30016. "accountid": {
  30017. "description": "资金账号",
  30018. "type": "integer"
  30019. },
  30020. "buyorsell": {
  30021. "description": "方向 - 0:买 1:卖",
  30022. "type": "integer"
  30023. },
  30024. "enableqty": {
  30025. "description": "可摘数量",
  30026. "type": "integer"
  30027. },
  30028. "goodscode": {
  30029. "description": "商品代码",
  30030. "type": "string"
  30031. },
  30032. "goodsid": {
  30033. "description": "商品ID",
  30034. "type": "integer"
  30035. },
  30036. "goodsname": {
  30037. "description": "商品名称",
  30038. "type": "string"
  30039. },
  30040. "orderid": {
  30041. "description": "委托单号",
  30042. "type": "string"
  30043. },
  30044. "orderprice": {
  30045. "description": "委托价格",
  30046. "type": "number"
  30047. },
  30048. "ordertime": {
  30049. "description": "委托时间",
  30050. "type": "string"
  30051. },
  30052. "tradedate": {
  30053. "description": "交易日(yyyyMMdd)",
  30054. "type": "string"
  30055. }
  30056. }
  30057. },
  30058. "szdz.QuerySZDZTradePositionRsp": {
  30059. "type": "object",
  30060. "properties": {
  30061. "accountid": {
  30062. "description": "账号Id",
  30063. "type": "integer"
  30064. },
  30065. "agreeunit": {
  30066. "description": "合约单位",
  30067. "type": "number"
  30068. },
  30069. "averageprice": {
  30070. "description": "持仓均价",
  30071. "type": "number"
  30072. },
  30073. "buyorsell": {
  30074. "description": "方向 - 0:买 1:卖",
  30075. "type": "integer"
  30076. },
  30077. "closetotalqty": {
  30078. "description": "平仓总数量",
  30079. "type": "integer"
  30080. },
  30081. "curholderamount": {
  30082. "description": "当前持仓总金额",
  30083. "type": "number"
  30084. },
  30085. "curpositionqty": {
  30086. "description": "当前持仓总数量",
  30087. "type": "integer"
  30088. },
  30089. "currencyid": {
  30090. "description": "报价货币ID",
  30091. "type": "integer"
  30092. },
  30093. "curtdposition": {
  30094. "description": "期末今日头寸",
  30095. "type": "integer"
  30096. },
  30097. "decimalplace": {
  30098. "description": "报价小数位",
  30099. "type": "integer"
  30100. },
  30101. "enableqty": {
  30102. "description": "可用量",
  30103. "type": "integer"
  30104. },
  30105. "fretdposition": {
  30106. "description": "冻结今日头寸",
  30107. "type": "integer"
  30108. },
  30109. "frozenqty": {
  30110. "description": "持仓冻结数量",
  30111. "type": "integer"
  30112. },
  30113. "goodscode": {
  30114. "description": "商品代码(内部)",
  30115. "type": "string"
  30116. },
  30117. "goodsid": {
  30118. "description": "商品Id",
  30119. "type": "integer"
  30120. },
  30121. "goodsname": {
  30122. "description": "商品名称",
  30123. "type": "string"
  30124. },
  30125. "goodunit": {
  30126. "description": "报价单位",
  30127. "type": "string"
  30128. },
  30129. "goodunitid": {
  30130. "description": "报价单位ID",
  30131. "type": "integer"
  30132. },
  30133. "holderamount": {
  30134. "description": "期初持仓总金额",
  30135. "type": "number"
  30136. },
  30137. "marketid": {
  30138. "description": "市场ID",
  30139. "type": "integer"
  30140. },
  30141. "openreqqty": {
  30142. "description": "开仓申请数量",
  30143. "type": "integer"
  30144. },
  30145. "opentotalqty": {
  30146. "description": "开仓总数量",
  30147. "type": "integer"
  30148. },
  30149. "otherfrozenqty": {
  30150. "description": "持仓其他冻结数量(交割冻结)",
  30151. "type": "integer"
  30152. },
  30153. "positionqty": {
  30154. "description": "期初持仓数量",
  30155. "type": "integer"
  30156. },
  30157. "szdz3freezqty": {
  30158. "description": "尚志大宗转换冻结总数量",
  30159. "type": "integer"
  30160. },
  30161. "tnqty": {
  30162. "description": "T+N冻结总量",
  30163. "type": "integer"
  30164. },
  30165. "tnusedqty": {
  30166. "description": "T+N使用量",
  30167. "type": "integer"
  30168. },
  30169. "trademode": {
  30170. "description": "交易模式",
  30171. "type": "integer"
  30172. },
  30173. "usedmargin": {
  30174. "description": "占用保证金",
  30175. "type": "number"
  30176. }
  30177. }
  30178. },
  30179. "taaccount.QueryAmountLogRsp": {
  30180. "type": "object",
  30181. "required": [
  30182. "accountid",
  30183. "amount",
  30184. "amountadjusttype",
  30185. "autoid",
  30186. "balance",
  30187. "createtime",
  30188. "currentbalance",
  30189. "operatetype"
  30190. ],
  30191. "properties": {
  30192. "OPERATETYPENAME": {
  30193. "description": "资金操作类型名称",
  30194. "type": "string"
  30195. },
  30196. "accountid": {
  30197. "description": "资金账户ID",
  30198. "type": "integer"
  30199. },
  30200. "agoodscode": {
  30201. "description": "竞拍商品代码",
  30202. "type": "string"
  30203. },
  30204. "agoodsname": {
  30205. "description": "竞拍商品名称",
  30206. "type": "string"
  30207. },
  30208. "amount": {
  30209. "description": "资金金额",
  30210. "type": "number"
  30211. },
  30212. "amountadjusttype": {
  30213. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30214. "type": "integer"
  30215. },
  30216. "autoid": {
  30217. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30218. "type": "integer"
  30219. },
  30220. "balance": {
  30221. "description": "期初余额",
  30222. "type": "number"
  30223. },
  30224. "businesscode": {
  30225. "description": "业务编号",
  30226. "type": "integer"
  30227. },
  30228. "createtime": {
  30229. "description": "发生时间",
  30230. "type": "string"
  30231. },
  30232. "currencyid": {
  30233. "description": "币种ID",
  30234. "type": "integer"
  30235. },
  30236. "currentbalance": {
  30237. "description": "期末余额(变动后金额)",
  30238. "type": "number"
  30239. },
  30240. "dgoodscode": {
  30241. "description": "交割商品代码",
  30242. "type": "string"
  30243. },
  30244. "dgoodsname": {
  30245. "description": "交割商品名称",
  30246. "type": "string"
  30247. },
  30248. "goodscode": {
  30249. "description": "商品代码",
  30250. "type": "string"
  30251. },
  30252. "goodsid": {
  30253. "description": "商品ID",
  30254. "type": "integer"
  30255. },
  30256. "goodsname": {
  30257. "description": "商品名称",
  30258. "type": "string"
  30259. },
  30260. "marketid": {
  30261. "description": "市场ID",
  30262. "type": "integer"
  30263. },
  30264. "marketname": {
  30265. "description": "市场名称",
  30266. "type": "string"
  30267. },
  30268. "moneyticket": {
  30269. "description": "资金流水号:银行端流水号",
  30270. "type": "integer"
  30271. },
  30272. "operatetype": {
  30273. "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:营销收款",
  30274. "type": "integer"
  30275. },
  30276. "relationorderid": {
  30277. "description": "关联单号",
  30278. "type": "string"
  30279. },
  30280. "remark": {
  30281. "description": "备注",
  30282. "type": "string"
  30283. },
  30284. "trademode": {
  30285. "description": "交易模式",
  30286. "type": "integer"
  30287. }
  30288. }
  30289. },
  30290. "taaccount.QueryHisAmountLogRsp": {
  30291. "type": "object",
  30292. "required": [
  30293. "accountid",
  30294. "amount",
  30295. "amountadjusttype",
  30296. "autoid",
  30297. "balance",
  30298. "createtime",
  30299. "currentbalance",
  30300. "histradedate",
  30301. "operatetype"
  30302. ],
  30303. "properties": {
  30304. "OPERATETYPENAME": {
  30305. "description": "资金操作类型名称",
  30306. "type": "string"
  30307. },
  30308. "accountid": {
  30309. "description": "资金账户ID",
  30310. "type": "integer"
  30311. },
  30312. "agoodscode": {
  30313. "description": "竞拍商品代码",
  30314. "type": "string"
  30315. },
  30316. "agoodsname": {
  30317. "description": "竞拍商品名称",
  30318. "type": "string"
  30319. },
  30320. "amount": {
  30321. "description": "资金金额",
  30322. "type": "number"
  30323. },
  30324. "amountadjusttype": {
  30325. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30326. "type": "integer"
  30327. },
  30328. "autoid": {
  30329. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30330. "type": "integer"
  30331. },
  30332. "balance": {
  30333. "description": "期初余额",
  30334. "type": "number"
  30335. },
  30336. "businesscode": {
  30337. "description": "业务编号",
  30338. "type": "integer"
  30339. },
  30340. "createtime": {
  30341. "description": "发生时间",
  30342. "type": "string"
  30343. },
  30344. "currencyid": {
  30345. "description": "币种ID",
  30346. "type": "integer"
  30347. },
  30348. "currentbalance": {
  30349. "description": "期末余额(变动后金额)",
  30350. "type": "number"
  30351. },
  30352. "dgoodscode": {
  30353. "description": "交割商品代码",
  30354. "type": "string"
  30355. },
  30356. "dgoodsname": {
  30357. "description": "交割商品名称",
  30358. "type": "string"
  30359. },
  30360. "goodscode": {
  30361. "description": "商品代码",
  30362. "type": "string"
  30363. },
  30364. "goodsid": {
  30365. "description": "商品ID",
  30366. "type": "integer"
  30367. },
  30368. "goodsname": {
  30369. "description": "商品名称",
  30370. "type": "string"
  30371. },
  30372. "histradedate": {
  30373. "description": "历史交易日",
  30374. "type": "string"
  30375. },
  30376. "isvaliddata": {
  30377. "description": "是否有效 - 0:无效 1:有效",
  30378. "type": "integer"
  30379. },
  30380. "marketid": {
  30381. "description": "市场ID",
  30382. "type": "integer"
  30383. },
  30384. "marketname": {
  30385. "description": "市场名称",
  30386. "type": "string"
  30387. },
  30388. "moneyticket": {
  30389. "description": "资金流水号:银行端流水号",
  30390. "type": "integer"
  30391. },
  30392. "operatetype": {
  30393. "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:营销收款",
  30394. "type": "integer"
  30395. },
  30396. "relationorderid": {
  30397. "description": "关联单号",
  30398. "type": "string"
  30399. },
  30400. "remark": {
  30401. "description": "备注",
  30402. "type": "string"
  30403. },
  30404. "trademode": {
  30405. "description": "交易模式",
  30406. "type": "integer"
  30407. }
  30408. }
  30409. },
  30410. "trade.QueryRecieptOrderRsp": {
  30411. "type": "object",
  30412. "required": [
  30413. "ordertime"
  30414. ],
  30415. "properties": {
  30416. "accountName": {
  30417. "description": "所属账号名称(已脱敏)",
  30418. "type": "string"
  30419. },
  30420. "accountid": {
  30421. "description": "资金账号",
  30422. "type": "integer"
  30423. },
  30424. "buyorsell": {
  30425. "description": "方向 - 0:买 1:卖",
  30426. "type": "integer"
  30427. },
  30428. "enableqty": {
  30429. "description": "可摘数量",
  30430. "type": "integer"
  30431. },
  30432. "goodscode": {
  30433. "description": "商品代码",
  30434. "type": "string"
  30435. },
  30436. "goodsid": {
  30437. "description": "商品ID",
  30438. "type": "integer"
  30439. },
  30440. "goodsname": {
  30441. "description": "商品名称",
  30442. "type": "string"
  30443. },
  30444. "orderid": {
  30445. "description": "委托单号",
  30446. "type": "string"
  30447. },
  30448. "orderprice": {
  30449. "description": "委托价格",
  30450. "type": "number"
  30451. },
  30452. "ordertime": {
  30453. "description": "委托时间",
  30454. "type": "string"
  30455. },
  30456. "tradedate": {
  30457. "description": "交易日(yyyyMMdd)",
  30458. "type": "string"
  30459. }
  30460. }
  30461. },
  30462. "user.LoginQueryRsp": {
  30463. "type": "object",
  30464. "properties": {
  30465. "areaRoles": {
  30466. "description": "所属角色信息",
  30467. "type": "array",
  30468. "items": {
  30469. "$ref": "#/definitions/models.Arearole"
  30470. }
  30471. },
  30472. "externalExchanges": {
  30473. "description": "外部交易所",
  30474. "type": "array",
  30475. "items": {
  30476. "$ref": "#/definitions/models.Externalexchange"
  30477. }
  30478. },
  30479. "goodsgroups": {
  30480. "description": "商品组",
  30481. "type": "array",
  30482. "items": {
  30483. "$ref": "#/definitions/models.Goodsgroup"
  30484. }
  30485. },
  30486. "loginAccount": {
  30487. "description": "登录账号",
  30488. "type": "object",
  30489. "$ref": "#/definitions/models.Loginaccount"
  30490. },
  30491. "markets": {
  30492. "description": "市场",
  30493. "type": "array",
  30494. "items": {
  30495. "$ref": "#/definitions/models.Market"
  30496. }
  30497. },
  30498. "systemParams": {
  30499. "description": "系统参数",
  30500. "type": "array",
  30501. "items": {
  30502. "$ref": "#/definitions/models.Systemparam"
  30503. }
  30504. },
  30505. "userAccount": {
  30506. "description": "用户账号",
  30507. "type": "object",
  30508. "$ref": "#/definitions/models.Useraccount"
  30509. },
  30510. "userInfo": {
  30511. "description": "用户信息",
  30512. "type": "object",
  30513. "$ref": "#/definitions/models.Userinfo"
  30514. },
  30515. "username": {
  30516. "description": "用户姓名",
  30517. "type": "string"
  30518. }
  30519. }
  30520. }
  30521. },
  30522. "securityDefinitions": {
  30523. "ApiKeyAuth": {
  30524. "type": "apiKey",
  30525. "name": "Authorization",
  30526. "in": "header"
  30527. }
  30528. }
  30529. }`
  30530. type swaggerInfo struct {
  30531. Version string
  30532. Host string
  30533. BasePath string
  30534. Schemes []string
  30535. Title string
  30536. Description string
  30537. }
  30538. // SwaggerInfo holds exported Swagger Info so clients can modify it
  30539. var SwaggerInfo = swaggerInfo{
  30540. Version: "1.0",
  30541. Host: "",
  30542. BasePath: "/api",
  30543. Schemes: []string{},
  30544. Title: "MTP2.0 查询服务 API",
  30545. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  30546. }
  30547. type s struct{}
  30548. func (s *s) ReadDoc() string {
  30549. sInfo := SwaggerInfo
  30550. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  30551. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  30552. "marshal": func(v interface{}) string {
  30553. a, _ := json.Marshal(v)
  30554. return string(a)
  30555. },
  30556. }).Parse(doc)
  30557. if err != nil {
  30558. return doc
  30559. }
  30560. var tpl bytes.Buffer
  30561. if err := t.Execute(&tpl, sInfo); err != nil {
  30562. return doc
  30563. }
  30564. return tpl.String()
  30565. }
  30566. func init() {
  30567. swag.Register(swag.Name, &s{})
  30568. }