docs.go 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038
  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/QueryBrokerApply": {
  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": "string",
  7252. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7253. "name": "filterstatus",
  7254. "in": "query"
  7255. }
  7256. ],
  7257. "responses": {
  7258. "200": {
  7259. "description": "OK",
  7260. "schema": {
  7261. "type": "array",
  7262. "items": {
  7263. "$ref": "#/definitions/models.QhjBrokerApply"
  7264. }
  7265. }
  7266. },
  7267. "500": {
  7268. "description": "Internal Server Error",
  7269. "schema": {
  7270. "$ref": "#/definitions/app.Response"
  7271. }
  7272. }
  7273. }
  7274. }
  7275. },
  7276. "/Qhj/QueryBrokerRewardLog": {
  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": "用户ID",
  7294. "name": "userid",
  7295. "in": "query",
  7296. "required": true
  7297. },
  7298. {
  7299. "type": "string",
  7300. "description": "开始交易日(yyyymmdd)",
  7301. "name": "begindate",
  7302. "in": "query"
  7303. },
  7304. {
  7305. "type": "string",
  7306. "description": "结束交易日(yyyymmdd)",
  7307. "name": "enddate",
  7308. "in": "query"
  7309. }
  7310. ],
  7311. "responses": {
  7312. "200": {
  7313. "description": "OK",
  7314. "schema": {
  7315. "type": "array",
  7316. "items": {
  7317. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7318. }
  7319. }
  7320. },
  7321. "500": {
  7322. "description": "Internal Server Error",
  7323. "schema": {
  7324. "$ref": "#/definitions/app.Response"
  7325. }
  7326. }
  7327. }
  7328. }
  7329. },
  7330. "/Qhj/QueryContract": {
  7331. "get": {
  7332. "security": [
  7333. {
  7334. "ApiKeyAuth": []
  7335. }
  7336. ],
  7337. "produces": [
  7338. "application/json"
  7339. ],
  7340. "tags": [
  7341. "大连千海金"
  7342. ],
  7343. "summary": "查询融资明细(合同)",
  7344. "parameters": [
  7345. {
  7346. "type": "integer",
  7347. "description": "用户ID",
  7348. "name": "userid",
  7349. "in": "query"
  7350. },
  7351. {
  7352. "type": "integer",
  7353. "description": "scf合同id",
  7354. "name": "scfcontractid",
  7355. "in": "query"
  7356. }
  7357. ],
  7358. "responses": {
  7359. "200": {
  7360. "description": "OK",
  7361. "schema": {
  7362. "type": "array",
  7363. "items": {
  7364. "$ref": "#/definitions/models.QhjContract"
  7365. }
  7366. }
  7367. },
  7368. "500": {
  7369. "description": "Internal Server Error",
  7370. "schema": {
  7371. "$ref": "#/definitions/app.Response"
  7372. }
  7373. }
  7374. }
  7375. }
  7376. },
  7377. "/Qhj/QueryContractLog": {
  7378. "get": {
  7379. "security": [
  7380. {
  7381. "ApiKeyAuth": []
  7382. }
  7383. ],
  7384. "produces": [
  7385. "application/json"
  7386. ],
  7387. "tags": [
  7388. "大连千海金"
  7389. ],
  7390. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7391. "parameters": [
  7392. {
  7393. "type": "integer",
  7394. "description": "scf合同id",
  7395. "name": "scfcontractid",
  7396. "in": "query",
  7397. "required": true
  7398. },
  7399. {
  7400. "type": "string",
  7401. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7402. "name": "amounttype",
  7403. "in": "query"
  7404. }
  7405. ],
  7406. "responses": {
  7407. "200": {
  7408. "description": "OK",
  7409. "schema": {
  7410. "type": "array",
  7411. "items": {
  7412. "$ref": "#/definitions/models.QhjContractLog"
  7413. }
  7414. }
  7415. },
  7416. "500": {
  7417. "description": "Internal Server Error",
  7418. "schema": {
  7419. "$ref": "#/definitions/app.Response"
  7420. }
  7421. }
  7422. }
  7423. }
  7424. },
  7425. "/Qhj/QueryCusBankSignBank": {
  7426. "get": {
  7427. "security": [
  7428. {
  7429. "ApiKeyAuth": []
  7430. }
  7431. ],
  7432. "produces": [
  7433. "application/json"
  7434. ],
  7435. "tags": [
  7436. "大连千海金"
  7437. ],
  7438. "summary": "查询托管银行",
  7439. "responses": {
  7440. "200": {
  7441. "description": "OK",
  7442. "schema": {
  7443. "type": "array",
  7444. "items": {
  7445. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7446. }
  7447. }
  7448. },
  7449. "500": {
  7450. "description": "Internal Server Error",
  7451. "schema": {
  7452. "$ref": "#/definitions/app.Response"
  7453. }
  7454. }
  7455. }
  7456. }
  7457. },
  7458. "/Qhj/QueryCustomerInfo": {
  7459. "get": {
  7460. "security": [
  7461. {
  7462. "ApiKeyAuth": []
  7463. }
  7464. ],
  7465. "produces": [
  7466. "application/json"
  7467. ],
  7468. "tags": [
  7469. "大连千海金"
  7470. ],
  7471. "summary": "查询客户资料",
  7472. "parameters": [
  7473. {
  7474. "type": "integer",
  7475. "description": "用户ID",
  7476. "name": "userid",
  7477. "in": "query",
  7478. "required": true
  7479. },
  7480. {
  7481. "type": "integer",
  7482. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7483. "name": "querytype",
  7484. "in": "query",
  7485. "required": true
  7486. },
  7487. {
  7488. "type": "integer",
  7489. "description": "客户类型 1-个人 2-企业",
  7490. "name": "userinfotype",
  7491. "in": "query"
  7492. },
  7493. {
  7494. "type": "string",
  7495. "description": "客户名称(模糊匹配)",
  7496. "name": "customername",
  7497. "in": "query"
  7498. },
  7499. {
  7500. "type": "string",
  7501. "description": "昵称(模糊匹配)",
  7502. "name": "nickname",
  7503. "in": "query"
  7504. },
  7505. {
  7506. "type": "integer",
  7507. "description": "是否包含子级 1-包含",
  7508. "name": "includesub",
  7509. "in": "query"
  7510. }
  7511. ],
  7512. "responses": {
  7513. "200": {
  7514. "description": "OK",
  7515. "schema": {
  7516. "type": "array",
  7517. "items": {
  7518. "$ref": "#/definitions/models.QhjCustomer"
  7519. }
  7520. }
  7521. },
  7522. "500": {
  7523. "description": "Internal Server Error",
  7524. "schema": {
  7525. "$ref": "#/definitions/app.Response"
  7526. }
  7527. }
  7528. }
  7529. }
  7530. },
  7531. "/Qhj/QueryGoodsEx": {
  7532. "get": {
  7533. "security": [
  7534. {
  7535. "ApiKeyAuth": []
  7536. }
  7537. ],
  7538. "produces": [
  7539. "application/json"
  7540. ],
  7541. "tags": [
  7542. "大连千海金"
  7543. ],
  7544. "summary": "交易商品扩展表",
  7545. "parameters": [
  7546. {
  7547. "type": "integer",
  7548. "description": "商品id",
  7549. "name": "goodsid",
  7550. "in": "query"
  7551. }
  7552. ],
  7553. "responses": {
  7554. "200": {
  7555. "description": "OK",
  7556. "schema": {
  7557. "type": "array",
  7558. "items": {
  7559. "$ref": "#/definitions/models.Qhjgoodsex"
  7560. }
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/Qhj/QueryMyTeam": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "大连千海金"
  7584. ],
  7585. "summary": "查询我的团队",
  7586. "parameters": [
  7587. {
  7588. "type": "integer",
  7589. "description": "用户ID",
  7590. "name": "userid",
  7591. "in": "query",
  7592. "required": true
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "type": "array",
  7600. "items": {
  7601. "$ref": "#/definitions/models.QhjMyTeamEx"
  7602. }
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/Qhj/QueryMyTeamOrder": {
  7615. "get": {
  7616. "security": [
  7617. {
  7618. "ApiKeyAuth": []
  7619. }
  7620. ],
  7621. "produces": [
  7622. "application/json"
  7623. ],
  7624. "tags": [
  7625. "大连千海金"
  7626. ],
  7627. "summary": "查询团队订单(我的团队/团队订单)",
  7628. "parameters": [
  7629. {
  7630. "type": "integer",
  7631. "description": "页码",
  7632. "name": "page",
  7633. "in": "query"
  7634. },
  7635. {
  7636. "type": "integer",
  7637. "description": "每页条数",
  7638. "name": "pagesize",
  7639. "in": "query"
  7640. },
  7641. {
  7642. "type": "integer",
  7643. "description": "用户ID",
  7644. "name": "userid",
  7645. "in": "query",
  7646. "required": true
  7647. },
  7648. {
  7649. "type": "integer",
  7650. "description": "交易模式",
  7651. "name": "trademode",
  7652. "in": "query"
  7653. },
  7654. {
  7655. "type": "string",
  7656. "description": "名称(模糊搜索账户)",
  7657. "name": "filtername",
  7658. "in": "query"
  7659. }
  7660. ],
  7661. "responses": {
  7662. "200": {
  7663. "description": "OK",
  7664. "schema": {
  7665. "type": "array",
  7666. "items": {
  7667. "$ref": "#/definitions/models.QhjTeamOrder"
  7668. }
  7669. }
  7670. },
  7671. "500": {
  7672. "description": "Internal Server Error",
  7673. "schema": {
  7674. "$ref": "#/definitions/app.Response"
  7675. }
  7676. }
  7677. }
  7678. }
  7679. },
  7680. "/Qhj/QueryParentAreaList": {
  7681. "get": {
  7682. "security": [
  7683. {
  7684. "ApiKeyAuth": []
  7685. }
  7686. ],
  7687. "produces": [
  7688. "application/json"
  7689. ],
  7690. "tags": [
  7691. "大连千海金"
  7692. ],
  7693. "summary": "查询所属机构列表",
  7694. "parameters": [
  7695. {
  7696. "type": "integer",
  7697. "description": "用户ID",
  7698. "name": "userid",
  7699. "in": "query",
  7700. "required": true
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "type": "array",
  7708. "items": {
  7709. "$ref": "#/definitions/models.QhjParentAreaList"
  7710. }
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/Qhj/QueryPayOrder": {
  7723. "get": {
  7724. "security": [
  7725. {
  7726. "ApiKeyAuth": []
  7727. }
  7728. ],
  7729. "produces": [
  7730. "application/json"
  7731. ],
  7732. "tags": [
  7733. "大连千海金"
  7734. ],
  7735. "summary": "查询待付款单据",
  7736. "parameters": [
  7737. {
  7738. "type": "integer",
  7739. "description": "资金账号id",
  7740. "name": "accountid",
  7741. "in": "query",
  7742. "required": true
  7743. },
  7744. {
  7745. "type": "integer",
  7746. "description": "成交单号",
  7747. "name": "tradeid",
  7748. "in": "query"
  7749. },
  7750. {
  7751. "type": "string",
  7752. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7753. "name": "payflag",
  7754. "in": "query"
  7755. }
  7756. ],
  7757. "responses": {
  7758. "200": {
  7759. "description": "OK",
  7760. "schema": {
  7761. "type": "array",
  7762. "items": {
  7763. "$ref": "#/definitions/models.QhjPayOrder"
  7764. }
  7765. }
  7766. },
  7767. "500": {
  7768. "description": "Internal Server Error",
  7769. "schema": {
  7770. "$ref": "#/definitions/app.Response"
  7771. }
  7772. }
  7773. }
  7774. }
  7775. },
  7776. "/Qhj/QueryPickArea": {
  7777. "get": {
  7778. "security": [
  7779. {
  7780. "ApiKeyAuth": []
  7781. }
  7782. ],
  7783. "produces": [
  7784. "application/json"
  7785. ],
  7786. "tags": [
  7787. "大连千海金"
  7788. ],
  7789. "summary": "查询提货门店",
  7790. "parameters": [
  7791. {
  7792. "type": "integer",
  7793. "description": "用户ID",
  7794. "name": "userid",
  7795. "in": "query"
  7796. }
  7797. ],
  7798. "responses": {
  7799. "200": {
  7800. "description": "OK",
  7801. "schema": {
  7802. "type": "array",
  7803. "items": {
  7804. "$ref": "#/definitions/models.QhjPickArea"
  7805. }
  7806. }
  7807. },
  7808. "500": {
  7809. "description": "Internal Server Error",
  7810. "schema": {
  7811. "$ref": "#/definitions/app.Response"
  7812. }
  7813. }
  7814. }
  7815. }
  7816. },
  7817. "/Qhj/QueryPickGoods": {
  7818. "get": {
  7819. "security": [
  7820. {
  7821. "ApiKeyAuth": []
  7822. }
  7823. ],
  7824. "produces": [
  7825. "application/json"
  7826. ],
  7827. "tags": [
  7828. "大连千海金"
  7829. ],
  7830. "summary": "查询提货商品",
  7831. "parameters": [
  7832. {
  7833. "type": "integer",
  7834. "description": "交易商品id",
  7835. "name": "goodsid",
  7836. "in": "query",
  7837. "required": true
  7838. },
  7839. {
  7840. "type": "string",
  7841. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7842. "name": "status",
  7843. "in": "query"
  7844. }
  7845. ],
  7846. "responses": {
  7847. "200": {
  7848. "description": "OK",
  7849. "schema": {
  7850. "type": "array",
  7851. "items": {
  7852. "$ref": "#/definitions/models.QhjPickGoods"
  7853. }
  7854. }
  7855. },
  7856. "500": {
  7857. "description": "Internal Server Error",
  7858. "schema": {
  7859. "$ref": "#/definitions/app.Response"
  7860. }
  7861. }
  7862. }
  7863. }
  7864. },
  7865. "/Qhj/QueryRSTriggerLog": {
  7866. "get": {
  7867. "security": [
  7868. {
  7869. "ApiKeyAuth": []
  7870. }
  7871. ],
  7872. "produces": [
  7873. "application/json"
  7874. ],
  7875. "tags": [
  7876. "大连千海金"
  7877. ],
  7878. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7879. "parameters": [
  7880. {
  7881. "type": "integer",
  7882. "description": "用户ID",
  7883. "name": "userid",
  7884. "in": "query"
  7885. },
  7886. {
  7887. "type": "integer",
  7888. "description": "定投策略id",
  7889. "name": "regularlystrategyid",
  7890. "in": "query"
  7891. },
  7892. {
  7893. "type": "integer",
  7894. "description": "商品id",
  7895. "name": "goodsid",
  7896. "in": "query"
  7897. },
  7898. {
  7899. "type": "string",
  7900. "description": "开始交易日(yyyymmdd)",
  7901. "name": "begindate",
  7902. "in": "query"
  7903. },
  7904. {
  7905. "type": "string",
  7906. "description": "结束交易日(yyyymmdd)",
  7907. "name": "enddate",
  7908. "in": "query"
  7909. },
  7910. {
  7911. "type": "string",
  7912. "description": "名称(模糊搜索账户)",
  7913. "name": "filtername",
  7914. "in": "query"
  7915. }
  7916. ],
  7917. "responses": {
  7918. "200": {
  7919. "description": "OK",
  7920. "schema": {
  7921. "type": "array",
  7922. "items": {
  7923. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7924. }
  7925. }
  7926. },
  7927. "500": {
  7928. "description": "Internal Server Error",
  7929. "schema": {
  7930. "$ref": "#/definitions/app.Response"
  7931. }
  7932. }
  7933. }
  7934. }
  7935. },
  7936. "/Qhj/QueryRStrategy": {
  7937. "get": {
  7938. "security": [
  7939. {
  7940. "ApiKeyAuth": []
  7941. }
  7942. ],
  7943. "produces": [
  7944. "application/json"
  7945. ],
  7946. "tags": [
  7947. "大连千海金"
  7948. ],
  7949. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7950. "parameters": [
  7951. {
  7952. "type": "integer",
  7953. "description": "用户ID",
  7954. "name": "userid",
  7955. "in": "query"
  7956. },
  7957. {
  7958. "type": "integer",
  7959. "description": "商品id",
  7960. "name": "goodsid",
  7961. "in": "query"
  7962. },
  7963. {
  7964. "type": "string",
  7965. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7966. "name": "status",
  7967. "in": "query"
  7968. },
  7969. {
  7970. "type": "string",
  7971. "description": "名称(模糊搜索账户)",
  7972. "name": "filtername",
  7973. "in": "query"
  7974. }
  7975. ],
  7976. "responses": {
  7977. "200": {
  7978. "description": "OK",
  7979. "schema": {
  7980. "type": "array",
  7981. "items": {
  7982. "$ref": "#/definitions/models.QhjRStrategy"
  7983. }
  7984. }
  7985. },
  7986. "500": {
  7987. "description": "Internal Server Error",
  7988. "schema": {
  7989. "$ref": "#/definitions/app.Response"
  7990. }
  7991. }
  7992. }
  7993. }
  7994. },
  7995. "/Qhj/QueryReckonPriceLog": {
  7996. "get": {
  7997. "security": [
  7998. {
  7999. "ApiKeyAuth": []
  8000. }
  8001. ],
  8002. "produces": [
  8003. "application/json"
  8004. ],
  8005. "tags": [
  8006. "大连千海金"
  8007. ],
  8008. "summary": "查询定投价(结算价)",
  8009. "parameters": [
  8010. {
  8011. "type": "integer",
  8012. "description": "商品ID",
  8013. "name": "goodsid",
  8014. "in": "query"
  8015. },
  8016. {
  8017. "type": "string",
  8018. "description": "交易日 格式(yyyymmdd)",
  8019. "name": "tradedate",
  8020. "in": "query"
  8021. }
  8022. ],
  8023. "responses": {
  8024. "200": {
  8025. "description": "OK",
  8026. "schema": {
  8027. "type": "array",
  8028. "items": {
  8029. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8030. }
  8031. }
  8032. },
  8033. "500": {
  8034. "description": "Internal Server Error",
  8035. "schema": {
  8036. "$ref": "#/definitions/app.Response"
  8037. }
  8038. }
  8039. }
  8040. }
  8041. },
  8042. "/Qhj/QueryScoreLog": {
  8043. "get": {
  8044. "security": [
  8045. {
  8046. "ApiKeyAuth": []
  8047. }
  8048. ],
  8049. "produces": [
  8050. "application/json"
  8051. ],
  8052. "tags": [
  8053. "大连千海金"
  8054. ],
  8055. "summary": "查询积分流水(我的积分)",
  8056. "parameters": [
  8057. {
  8058. "type": "integer",
  8059. "description": "用户ID",
  8060. "name": "userid",
  8061. "in": "query",
  8062. "required": true
  8063. },
  8064. {
  8065. "type": "string",
  8066. "description": "开始交易日(yyyymmdd)",
  8067. "name": "begindate",
  8068. "in": "query"
  8069. },
  8070. {
  8071. "type": "string",
  8072. "description": "结束交易日(yyyymmdd)",
  8073. "name": "enddate",
  8074. "in": "query"
  8075. },
  8076. {
  8077. "type": "integer",
  8078. "description": "最近多少条",
  8079. "name": "lastnum",
  8080. "in": "query"
  8081. }
  8082. ],
  8083. "responses": {
  8084. "200": {
  8085. "description": "OK",
  8086. "schema": {
  8087. "type": "array",
  8088. "items": {
  8089. "$ref": "#/definitions/models.QhjScoreLog"
  8090. }
  8091. }
  8092. },
  8093. "500": {
  8094. "description": "Internal Server Error",
  8095. "schema": {
  8096. "$ref": "#/definitions/app.Response"
  8097. }
  8098. }
  8099. }
  8100. }
  8101. },
  8102. "/Qhj/QuerySiteColumnDetail": {
  8103. "get": {
  8104. "security": [
  8105. {
  8106. "ApiKeyAuth": []
  8107. }
  8108. ],
  8109. "produces": [
  8110. "application/json"
  8111. ],
  8112. "tags": [
  8113. "大连千海金"
  8114. ],
  8115. "summary": "查询资讯",
  8116. "parameters": [
  8117. {
  8118. "type": "integer",
  8119. "description": "用户ID",
  8120. "name": "userid",
  8121. "in": "query",
  8122. "required": true
  8123. }
  8124. ],
  8125. "responses": {
  8126. "200": {
  8127. "description": "OK",
  8128. "schema": {
  8129. "type": "array",
  8130. "items": {
  8131. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8132. }
  8133. }
  8134. },
  8135. "500": {
  8136. "description": "Internal Server Error",
  8137. "schema": {
  8138. "$ref": "#/definitions/app.Response"
  8139. }
  8140. }
  8141. }
  8142. }
  8143. },
  8144. "/Qhj/QueryTradeGoodsPickup": {
  8145. "get": {
  8146. "security": [
  8147. {
  8148. "ApiKeyAuth": []
  8149. }
  8150. ],
  8151. "produces": [
  8152. "application/json"
  8153. ],
  8154. "tags": [
  8155. "大连千海金"
  8156. ],
  8157. "summary": "查询提货",
  8158. "parameters": [
  8159. {
  8160. "type": "integer",
  8161. "description": "用户ID",
  8162. "name": "userid",
  8163. "in": "query",
  8164. "required": true
  8165. },
  8166. {
  8167. "type": "integer",
  8168. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8169. "name": "takeorderstatus",
  8170. "in": "query"
  8171. }
  8172. ],
  8173. "responses": {
  8174. "200": {
  8175. "description": "OK",
  8176. "schema": {
  8177. "type": "array",
  8178. "items": {
  8179. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8180. }
  8181. }
  8182. },
  8183. "500": {
  8184. "description": "Internal Server Error",
  8185. "schema": {
  8186. "$ref": "#/definitions/app.Response"
  8187. }
  8188. }
  8189. }
  8190. }
  8191. },
  8192. "/Qhj/QueryUserCollectConfig": {
  8193. "get": {
  8194. "security": [
  8195. {
  8196. "ApiKeyAuth": []
  8197. }
  8198. ],
  8199. "produces": [
  8200. "application/json"
  8201. ],
  8202. "tags": [
  8203. "大连千海金"
  8204. ],
  8205. "summary": "查询提现账户设置",
  8206. "parameters": [
  8207. {
  8208. "type": "integer",
  8209. "description": "用户ID",
  8210. "name": "userid",
  8211. "in": "query",
  8212. "required": true
  8213. }
  8214. ],
  8215. "responses": {
  8216. "200": {
  8217. "description": "OK",
  8218. "schema": {
  8219. "type": "array",
  8220. "items": {
  8221. "$ref": "#/definitions/models.UserCollectConfig"
  8222. }
  8223. }
  8224. },
  8225. "500": {
  8226. "description": "Internal Server Error",
  8227. "schema": {
  8228. "$ref": "#/definitions/app.Response"
  8229. }
  8230. }
  8231. }
  8232. }
  8233. },
  8234. "/Qhj/QueryUserReceiveInfo": {
  8235. "get": {
  8236. "security": [
  8237. {
  8238. "ApiKeyAuth": []
  8239. }
  8240. ],
  8241. "produces": [
  8242. "application/json"
  8243. ],
  8244. "tags": [
  8245. "大连千海金"
  8246. ],
  8247. "summary": "查询收货地址信息",
  8248. "parameters": [
  8249. {
  8250. "type": "integer",
  8251. "description": "用户ID",
  8252. "name": "userid",
  8253. "in": "query",
  8254. "required": true
  8255. }
  8256. ],
  8257. "responses": {
  8258. "200": {
  8259. "description": "OK",
  8260. "schema": {
  8261. "type": "array",
  8262. "items": {
  8263. "$ref": "#/definitions/models.UserReceiveInfo"
  8264. }
  8265. }
  8266. },
  8267. "500": {
  8268. "description": "Internal Server Error",
  8269. "schema": {
  8270. "$ref": "#/definitions/app.Response"
  8271. }
  8272. }
  8273. }
  8274. }
  8275. },
  8276. "/QhjMgr/QueryAccountInOutApply": {
  8277. "get": {
  8278. "security": [
  8279. {
  8280. "ApiKeyAuth": []
  8281. }
  8282. ],
  8283. "produces": [
  8284. "application/json"
  8285. ],
  8286. "tags": [
  8287. "大连千海金(PCWeb)"
  8288. ],
  8289. "summary": "查询充值提现",
  8290. "parameters": [
  8291. {
  8292. "type": "integer",
  8293. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8294. "name": "querytype",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "integer",
  8300. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8301. "name": "applystatus",
  8302. "in": "query"
  8303. },
  8304. {
  8305. "type": "string",
  8306. "description": "申请起始日期(格式yyyymmdd)",
  8307. "name": "begindate",
  8308. "in": "query"
  8309. },
  8310. {
  8311. "type": "string",
  8312. "description": "申请截止日期(格式yyyymmdd)",
  8313. "name": "enddate",
  8314. "in": "query"
  8315. },
  8316. {
  8317. "type": "string",
  8318. "description": "模糊搜索名称",
  8319. "name": "likename",
  8320. "in": "query"
  8321. }
  8322. ],
  8323. "responses": {
  8324. "200": {
  8325. "description": "OK",
  8326. "schema": {
  8327. "type": "array",
  8328. "items": {
  8329. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8330. }
  8331. }
  8332. },
  8333. "500": {
  8334. "description": "Internal Server Error",
  8335. "schema": {
  8336. "$ref": "#/definitions/app.Response"
  8337. }
  8338. }
  8339. }
  8340. }
  8341. },
  8342. "/QhjMgr/QueryBrokerApply": {
  8343. "get": {
  8344. "security": [
  8345. {
  8346. "ApiKeyAuth": []
  8347. }
  8348. ],
  8349. "produces": [
  8350. "application/json"
  8351. ],
  8352. "tags": [
  8353. "大连千海金(PCWeb)"
  8354. ],
  8355. "summary": "查询经纪人申请",
  8356. "parameters": [
  8357. {
  8358. "type": "integer",
  8359. "description": "所属机构ID",
  8360. "name": "userid",
  8361. "in": "query"
  8362. },
  8363. {
  8364. "type": "string",
  8365. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8366. "name": "filterstatus",
  8367. "in": "query"
  8368. },
  8369. {
  8370. "type": "string",
  8371. "description": "名称(模糊匹配)",
  8372. "name": "filtername",
  8373. "in": "query"
  8374. },
  8375. {
  8376. "type": "integer",
  8377. "description": "是否包含子级 1-包含",
  8378. "name": "includesub",
  8379. "in": "query"
  8380. }
  8381. ],
  8382. "responses": {
  8383. "200": {
  8384. "description": "OK",
  8385. "schema": {
  8386. "type": "array",
  8387. "items": {
  8388. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8389. }
  8390. }
  8391. },
  8392. "500": {
  8393. "description": "Internal Server Error",
  8394. "schema": {
  8395. "$ref": "#/definitions/app.Response"
  8396. }
  8397. }
  8398. }
  8399. }
  8400. },
  8401. "/QhjMgr/QueryBrokerRewardReport": {
  8402. "get": {
  8403. "security": [
  8404. {
  8405. "ApiKeyAuth": []
  8406. }
  8407. ],
  8408. "produces": [
  8409. "application/json"
  8410. ],
  8411. "tags": [
  8412. "大连千海金(PCWeb)"
  8413. ],
  8414. "summary": "查询经纪人奖励报表(废弃)",
  8415. "parameters": [
  8416. {
  8417. "type": "integer",
  8418. "description": "所属机构ID",
  8419. "name": "userid",
  8420. "in": "query",
  8421. "required": true
  8422. },
  8423. {
  8424. "type": "integer",
  8425. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8426. "name": "cycletype",
  8427. "in": "query",
  8428. "required": true
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8433. "name": "cycletime",
  8434. "in": "query",
  8435. "required": true
  8436. },
  8437. {
  8438. "type": "string",
  8439. "description": "名称(模糊匹配)",
  8440. "name": "filtername",
  8441. "in": "query"
  8442. },
  8443. {
  8444. "type": "integer",
  8445. "description": "是否包含子级 1-包含",
  8446. "name": "includesub",
  8447. "in": "query"
  8448. }
  8449. ],
  8450. "responses": {
  8451. "200": {
  8452. "description": "OK",
  8453. "schema": {
  8454. "type": "array",
  8455. "items": {
  8456. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8457. }
  8458. }
  8459. },
  8460. "500": {
  8461. "description": "Internal Server Error",
  8462. "schema": {
  8463. "$ref": "#/definitions/app.Response"
  8464. }
  8465. }
  8466. }
  8467. }
  8468. },
  8469. "/QhjMgr/QueryContract": {
  8470. "get": {
  8471. "security": [
  8472. {
  8473. "ApiKeyAuth": []
  8474. }
  8475. ],
  8476. "produces": [
  8477. "application/json"
  8478. ],
  8479. "tags": [
  8480. "大连千海金(PCWeb)"
  8481. ],
  8482. "summary": "查询融资信息(合同)",
  8483. "parameters": [
  8484. {
  8485. "type": "integer",
  8486. "description": "用户ID",
  8487. "name": "userid",
  8488. "in": "query"
  8489. },
  8490. {
  8491. "type": "integer",
  8492. "description": "商品id",
  8493. "name": "goodsid",
  8494. "in": "query"
  8495. },
  8496. {
  8497. "type": "string",
  8498. "description": "名称(模糊搜索账户)",
  8499. "name": "filtername",
  8500. "in": "query"
  8501. },
  8502. {
  8503. "type": "string",
  8504. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8505. "name": "risklevel",
  8506. "in": "query"
  8507. },
  8508. {
  8509. "type": "string",
  8510. "description": "开始交易日(yyyymmdd)",
  8511. "name": "begindate",
  8512. "in": "query"
  8513. },
  8514. {
  8515. "type": "string",
  8516. "description": "结束交易日(yyyymmdd)",
  8517. "name": "enddate",
  8518. "in": "query"
  8519. }
  8520. ],
  8521. "responses": {
  8522. "200": {
  8523. "description": "OK",
  8524. "schema": {
  8525. "type": "array",
  8526. "items": {
  8527. "$ref": "#/definitions/models.QhjMgrContract"
  8528. }
  8529. }
  8530. },
  8531. "500": {
  8532. "description": "Internal Server Error",
  8533. "schema": {
  8534. "$ref": "#/definitions/app.Response"
  8535. }
  8536. }
  8537. }
  8538. }
  8539. },
  8540. "/QhjMgr/QueryCustomerInfo": {
  8541. "get": {
  8542. "security": [
  8543. {
  8544. "ApiKeyAuth": []
  8545. }
  8546. ],
  8547. "produces": [
  8548. "application/json"
  8549. ],
  8550. "tags": [
  8551. "大连千海金(PCWeb)"
  8552. ],
  8553. "summary": "查询客户资料",
  8554. "parameters": [
  8555. {
  8556. "type": "integer",
  8557. "description": "用户ID",
  8558. "name": "userid",
  8559. "in": "query",
  8560. "required": true
  8561. },
  8562. {
  8563. "type": "integer",
  8564. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8565. "name": "querytype",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "客户类型 1-个人 2-企业",
  8572. "name": "userinfotype",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "string",
  8577. "description": "客户名称(模糊匹配)",
  8578. "name": "customername",
  8579. "in": "query"
  8580. },
  8581. {
  8582. "type": "string",
  8583. "description": "昵称(模糊匹配)",
  8584. "name": "nickname",
  8585. "in": "query"
  8586. },
  8587. {
  8588. "type": "integer",
  8589. "description": "是否包含子级 1-包含",
  8590. "name": "includesub",
  8591. "in": "query"
  8592. }
  8593. ],
  8594. "responses": {
  8595. "200": {
  8596. "description": "OK",
  8597. "schema": {
  8598. "type": "array",
  8599. "items": {
  8600. "$ref": "#/definitions/models.QhjMgrCustomer"
  8601. }
  8602. }
  8603. },
  8604. "500": {
  8605. "description": "Internal Server Error",
  8606. "schema": {
  8607. "$ref": "#/definitions/app.Response"
  8608. }
  8609. }
  8610. }
  8611. }
  8612. },
  8613. "/QhjMgr/QueryPickGoods": {
  8614. "get": {
  8615. "security": [
  8616. {
  8617. "ApiKeyAuth": []
  8618. }
  8619. ],
  8620. "produces": [
  8621. "application/json"
  8622. ],
  8623. "tags": [
  8624. "大连千海金(PCWeb)"
  8625. ],
  8626. "summary": "查询提货商品",
  8627. "parameters": [
  8628. {
  8629. "type": "string",
  8630. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8631. "name": "status",
  8632. "in": "query"
  8633. }
  8634. ],
  8635. "responses": {
  8636. "200": {
  8637. "description": "OK",
  8638. "schema": {
  8639. "type": "array",
  8640. "items": {
  8641. "$ref": "#/definitions/models.QhjPickGoods"
  8642. }
  8643. }
  8644. },
  8645. "500": {
  8646. "description": "Internal Server Error",
  8647. "schema": {
  8648. "$ref": "#/definitions/app.Response"
  8649. }
  8650. }
  8651. }
  8652. }
  8653. },
  8654. "/QhjMgr/QuerySubArea": {
  8655. "get": {
  8656. "security": [
  8657. {
  8658. "ApiKeyAuth": []
  8659. }
  8660. ],
  8661. "produces": [
  8662. "application/json"
  8663. ],
  8664. "tags": [
  8665. "大连千海金(PCWeb)"
  8666. ],
  8667. "summary": "查询子机构列表",
  8668. "parameters": [
  8669. {
  8670. "type": "integer",
  8671. "description": "用户ID",
  8672. "name": "userid",
  8673. "in": "query",
  8674. "required": true
  8675. }
  8676. ],
  8677. "responses": {
  8678. "200": {
  8679. "description": "OK",
  8680. "schema": {
  8681. "type": "array",
  8682. "items": {
  8683. "$ref": "#/definitions/models.QhjMgrSubArea"
  8684. }
  8685. }
  8686. },
  8687. "500": {
  8688. "description": "Internal Server Error",
  8689. "schema": {
  8690. "$ref": "#/definitions/app.Response"
  8691. }
  8692. }
  8693. }
  8694. }
  8695. },
  8696. "/QhjMgr/QueryTradeDetail": {
  8697. "get": {
  8698. "security": [
  8699. {
  8700. "ApiKeyAuth": []
  8701. }
  8702. ],
  8703. "produces": [
  8704. "application/json"
  8705. ],
  8706. "tags": [
  8707. "大连千海金(PCWeb)"
  8708. ],
  8709. "summary": "查询成交明细",
  8710. "parameters": [
  8711. {
  8712. "type": "integer",
  8713. "description": "用户ID",
  8714. "name": "userid",
  8715. "in": "query",
  8716. "required": true
  8717. },
  8718. {
  8719. "type": "integer",
  8720. "description": "用户类型 1-个人 2-企业",
  8721. "name": "userinfotype",
  8722. "in": "query"
  8723. },
  8724. {
  8725. "type": "integer",
  8726. "description": "交易模式",
  8727. "name": "trademode",
  8728. "in": "query"
  8729. },
  8730. {
  8731. "type": "integer",
  8732. "description": "商品id",
  8733. "name": "goodsid",
  8734. "in": "query"
  8735. },
  8736. {
  8737. "type": "string",
  8738. "description": "名称(模糊搜索账户)",
  8739. "name": "filtername",
  8740. "in": "query"
  8741. },
  8742. {
  8743. "type": "string",
  8744. "description": "开始交易日(yyyymmdd)",
  8745. "name": "begindate",
  8746. "in": "query"
  8747. },
  8748. {
  8749. "type": "string",
  8750. "description": "结束交易日(yyyymmdd)",
  8751. "name": "enddate",
  8752. "in": "query"
  8753. },
  8754. {
  8755. "type": "integer",
  8756. "description": "是否包含子级 1-包含",
  8757. "name": "includesub",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QueryTradeOrderDetail": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询委托明细",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. },
  8802. {
  8803. "type": "integer",
  8804. "description": "用户类型 1-个人 2-企业",
  8805. "name": "userinfotype",
  8806. "in": "query"
  8807. },
  8808. {
  8809. "type": "integer",
  8810. "description": "交易模式",
  8811. "name": "trademode",
  8812. "in": "query"
  8813. },
  8814. {
  8815. "type": "integer",
  8816. "description": "商品id",
  8817. "name": "goodsid",
  8818. "in": "query"
  8819. },
  8820. {
  8821. "type": "string",
  8822. "description": "名称(模糊搜索账户)",
  8823. "name": "filtername",
  8824. "in": "query"
  8825. },
  8826. {
  8827. "type": "string",
  8828. "description": "开始交易日(yyyymmdd)",
  8829. "name": "begindate",
  8830. "in": "query"
  8831. },
  8832. {
  8833. "type": "string",
  8834. "description": "结束交易日(yyyymmdd)",
  8835. "name": "enddate",
  8836. "in": "query"
  8837. },
  8838. {
  8839. "type": "integer",
  8840. "description": "是否包含子级 1-包含",
  8841. "name": "includesub",
  8842. "in": "query"
  8843. }
  8844. ],
  8845. "responses": {
  8846. "200": {
  8847. "description": "OK",
  8848. "schema": {
  8849. "type": "array",
  8850. "items": {
  8851. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8852. }
  8853. }
  8854. },
  8855. "500": {
  8856. "description": "Internal Server Error",
  8857. "schema": {
  8858. "$ref": "#/definitions/app.Response"
  8859. }
  8860. }
  8861. }
  8862. }
  8863. },
  8864. "/QhjMgr/QueryTradePayOrder": {
  8865. "get": {
  8866. "security": [
  8867. {
  8868. "ApiKeyAuth": []
  8869. }
  8870. ],
  8871. "produces": [
  8872. "application/json"
  8873. ],
  8874. "tags": [
  8875. "大连千海金(PCWeb)"
  8876. ],
  8877. "summary": "查询待付款单",
  8878. "parameters": [
  8879. {
  8880. "type": "integer",
  8881. "description": "用户ID",
  8882. "name": "userid",
  8883. "in": "query",
  8884. "required": true
  8885. },
  8886. {
  8887. "type": "string",
  8888. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8889. "name": "payflag",
  8890. "in": "query"
  8891. },
  8892. {
  8893. "type": "integer",
  8894. "description": "用户类型 1-个人 2-企业",
  8895. "name": "userinfotype",
  8896. "in": "query"
  8897. },
  8898. {
  8899. "type": "integer",
  8900. "description": "交易模式",
  8901. "name": "trademode",
  8902. "in": "query"
  8903. },
  8904. {
  8905. "type": "integer",
  8906. "description": "商品id",
  8907. "name": "goodsid",
  8908. "in": "query"
  8909. },
  8910. {
  8911. "type": "string",
  8912. "description": "名称(模糊搜索账户)",
  8913. "name": "filtername",
  8914. "in": "query"
  8915. },
  8916. {
  8917. "type": "string",
  8918. "description": "开始交易日(yyyymmdd)",
  8919. "name": "begindate",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "string",
  8924. "description": "结束交易日(yyyymmdd)",
  8925. "name": "enddate",
  8926. "in": "query"
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "是否包含子级 1-包含",
  8931. "name": "includesub",
  8932. "in": "query"
  8933. }
  8934. ],
  8935. "responses": {
  8936. "200": {
  8937. "description": "OK",
  8938. "schema": {
  8939. "type": "array",
  8940. "items": {
  8941. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  8942. }
  8943. }
  8944. },
  8945. "500": {
  8946. "description": "Internal Server Error",
  8947. "schema": {
  8948. "$ref": "#/definitions/app.Response"
  8949. }
  8950. }
  8951. }
  8952. }
  8953. },
  8954. "/QhjMgr/QueryTradePosition": {
  8955. "get": {
  8956. "security": [
  8957. {
  8958. "ApiKeyAuth": []
  8959. }
  8960. ],
  8961. "produces": [
  8962. "application/json"
  8963. ],
  8964. "tags": [
  8965. "大连千海金(PCWeb)"
  8966. ],
  8967. "summary": "查询持仓汇总",
  8968. "parameters": [
  8969. {
  8970. "type": "integer",
  8971. "description": "用户ID",
  8972. "name": "userid",
  8973. "in": "query",
  8974. "required": true
  8975. },
  8976. {
  8977. "type": "integer",
  8978. "description": "用户类型 1-个人 2-企业",
  8979. "name": "userinfotype",
  8980. "in": "query"
  8981. },
  8982. {
  8983. "type": "integer",
  8984. "description": "交易模式",
  8985. "name": "trademode",
  8986. "in": "query"
  8987. },
  8988. {
  8989. "type": "integer",
  8990. "description": "商品id",
  8991. "name": "goodsid",
  8992. "in": "query"
  8993. },
  8994. {
  8995. "type": "string",
  8996. "description": "名称(模糊搜索账户)",
  8997. "name": "filtername",
  8998. "in": "query"
  8999. },
  9000. {
  9001. "type": "integer",
  9002. "description": "是否包含子级 1-包含",
  9003. "name": "includesub",
  9004. "in": "query"
  9005. }
  9006. ],
  9007. "responses": {
  9008. "200": {
  9009. "description": "OK",
  9010. "schema": {
  9011. "type": "array",
  9012. "items": {
  9013. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9014. }
  9015. }
  9016. },
  9017. "500": {
  9018. "description": "Internal Server Error",
  9019. "schema": {
  9020. "$ref": "#/definitions/app.Response"
  9021. }
  9022. }
  9023. }
  9024. }
  9025. },
  9026. "/QhjSys/QueryAgreementChangeLog": {
  9027. "get": {
  9028. "security": [
  9029. {
  9030. "ApiKeyAuth": []
  9031. }
  9032. ],
  9033. "produces": [
  9034. "application/json"
  9035. ],
  9036. "tags": [
  9037. "大连千海金(协议和签约信息)"
  9038. ],
  9039. "summary": "查询协议配置变更流水",
  9040. "parameters": [
  9041. {
  9042. "type": "integer",
  9043. "description": "协议ID",
  9044. "name": "agreementid",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "integer",
  9049. "description": "协议版本号",
  9050. "name": "agreementversion",
  9051. "in": "query"
  9052. },
  9053. {
  9054. "type": "integer",
  9055. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9056. "name": "agreementtype",
  9057. "in": "query"
  9058. },
  9059. {
  9060. "type": "string",
  9061. "description": "协议编号(模糊匹配)",
  9062. "name": "agreementno",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "string",
  9067. "description": "协议名称(模糊匹配)",
  9068. "name": "agreementname",
  9069. "in": "query"
  9070. }
  9071. ],
  9072. "responses": {
  9073. "200": {
  9074. "description": "OK",
  9075. "schema": {
  9076. "type": "array",
  9077. "items": {
  9078. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9079. }
  9080. }
  9081. },
  9082. "500": {
  9083. "description": "Internal Server Error",
  9084. "schema": {
  9085. "$ref": "#/definitions/app.Response"
  9086. }
  9087. }
  9088. }
  9089. }
  9090. },
  9091. "/QhjSys/QueryAgreementConfig": {
  9092. "get": {
  9093. "security": [
  9094. {
  9095. "ApiKeyAuth": []
  9096. }
  9097. ],
  9098. "produces": [
  9099. "application/json"
  9100. ],
  9101. "tags": [
  9102. "大连千海金(协议和签约信息)"
  9103. ],
  9104. "summary": "查询协议配置",
  9105. "parameters": [
  9106. {
  9107. "type": "integer",
  9108. "description": "协议ID",
  9109. "name": "agreementid",
  9110. "in": "query"
  9111. },
  9112. {
  9113. "type": "integer",
  9114. "description": "协议版本号",
  9115. "name": "agreementversion",
  9116. "in": "query"
  9117. },
  9118. {
  9119. "type": "integer",
  9120. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9121. "name": "agreementtype",
  9122. "in": "query"
  9123. },
  9124. {
  9125. "type": "integer",
  9126. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9127. "name": "isvalid",
  9128. "in": "query"
  9129. },
  9130. {
  9131. "type": "string",
  9132. "description": "协议编号(模糊匹配)",
  9133. "name": "agreementno",
  9134. "in": "query"
  9135. },
  9136. {
  9137. "type": "string",
  9138. "description": "协议名称(模糊匹配)",
  9139. "name": "agreementname",
  9140. "in": "query"
  9141. }
  9142. ],
  9143. "responses": {
  9144. "200": {
  9145. "description": "OK",
  9146. "schema": {
  9147. "type": "array",
  9148. "items": {
  9149. "$ref": "#/definitions/models.QhjAgreementConfig"
  9150. }
  9151. }
  9152. },
  9153. "500": {
  9154. "description": "Internal Server Error",
  9155. "schema": {
  9156. "$ref": "#/definitions/app.Response"
  9157. }
  9158. }
  9159. }
  9160. }
  9161. },
  9162. "/QhjSys/QueryCustomerSignStatus": {
  9163. "get": {
  9164. "security": [
  9165. {
  9166. "ApiKeyAuth": []
  9167. }
  9168. ],
  9169. "produces": [
  9170. "application/json"
  9171. ],
  9172. "tags": [
  9173. "大连千海金(协议和签约信息)"
  9174. ],
  9175. "summary": "查询客户协议签约状态",
  9176. "parameters": [
  9177. {
  9178. "type": "integer",
  9179. "description": "客户ID",
  9180. "name": "userid",
  9181. "in": "query"
  9182. },
  9183. {
  9184. "type": "integer",
  9185. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9186. "name": "nodetype",
  9187. "in": "query"
  9188. },
  9189. {
  9190. "type": "integer",
  9191. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9192. "name": "goodsid",
  9193. "in": "query"
  9194. },
  9195. {
  9196. "type": "string",
  9197. "description": "创建交易日(yyyyMMdd)",
  9198. "name": "tradedate",
  9199. "in": "query"
  9200. },
  9201. {
  9202. "type": "string",
  9203. "description": "用户名称(模糊匹配)",
  9204. "name": "username",
  9205. "in": "query"
  9206. }
  9207. ],
  9208. "responses": {
  9209. "200": {
  9210. "description": "OK",
  9211. "schema": {
  9212. "type": "array",
  9213. "items": {
  9214. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9215. }
  9216. }
  9217. },
  9218. "500": {
  9219. "description": "Internal Server Error",
  9220. "schema": {
  9221. "$ref": "#/definitions/app.Response"
  9222. }
  9223. }
  9224. }
  9225. }
  9226. },
  9227. "/QhjSys/QueryNodeAgreementConfig": {
  9228. "get": {
  9229. "security": [
  9230. {
  9231. "ApiKeyAuth": []
  9232. }
  9233. ],
  9234. "produces": [
  9235. "application/json"
  9236. ],
  9237. "tags": [
  9238. "大连千海金(协议和签约信息)"
  9239. ],
  9240. "summary": "查询协议节点配置",
  9241. "parameters": [
  9242. {
  9243. "type": "integer",
  9244. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9245. "name": "configid",
  9246. "in": "query"
  9247. },
  9248. {
  9249. "type": "integer",
  9250. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9251. "name": "nodetype",
  9252. "in": "query"
  9253. },
  9254. {
  9255. "type": "integer",
  9256. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9257. "name": "goodsid",
  9258. "in": "query"
  9259. },
  9260. {
  9261. "type": "integer",
  9262. "description": "协议ID",
  9263. "name": "agreementid",
  9264. "in": "query"
  9265. },
  9266. {
  9267. "type": "integer",
  9268. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9269. "name": "agreementtype",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "integer",
  9274. "description": "协议版本号",
  9275. "name": "agreementversion",
  9276. "in": "query"
  9277. },
  9278. {
  9279. "type": "string",
  9280. "description": "协议编号(模糊匹配)",
  9281. "name": "agreementno",
  9282. "in": "query"
  9283. },
  9284. {
  9285. "type": "string",
  9286. "description": "协议名称(模糊匹配)",
  9287. "name": "agreementname",
  9288. "in": "query"
  9289. }
  9290. ],
  9291. "responses": {
  9292. "200": {
  9293. "description": "OK",
  9294. "schema": {
  9295. "type": "array",
  9296. "items": {
  9297. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9298. }
  9299. }
  9300. },
  9301. "500": {
  9302. "description": "Internal Server Error",
  9303. "schema": {
  9304. "$ref": "#/definitions/app.Response"
  9305. }
  9306. }
  9307. }
  9308. }
  9309. },
  9310. "/QhjSys/QueryQhjCustomerSignLog": {
  9311. "get": {
  9312. "security": [
  9313. {
  9314. "ApiKeyAuth": []
  9315. }
  9316. ],
  9317. "produces": [
  9318. "application/json"
  9319. ],
  9320. "tags": [
  9321. "大连千海金(协议和签约信息)"
  9322. ],
  9323. "summary": "查询客户协议签约流水",
  9324. "parameters": [
  9325. {
  9326. "type": "integer",
  9327. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9328. "name": "logid",
  9329. "in": "query"
  9330. },
  9331. {
  9332. "type": "integer",
  9333. "description": "客户ID",
  9334. "name": "userid",
  9335. "in": "query"
  9336. },
  9337. {
  9338. "type": "integer",
  9339. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9340. "name": "nodetype",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9346. "name": "goodsid",
  9347. "in": "query"
  9348. },
  9349. {
  9350. "type": "integer",
  9351. "description": "协议ID",
  9352. "name": "agreementid",
  9353. "in": "query"
  9354. },
  9355. {
  9356. "type": "string",
  9357. "description": "用户名称(模糊匹配)",
  9358. "name": "username",
  9359. "in": "query"
  9360. },
  9361. {
  9362. "type": "string",
  9363. "description": "协议编号(模糊匹配)",
  9364. "name": "agreementno",
  9365. "in": "query"
  9366. },
  9367. {
  9368. "type": "string",
  9369. "description": "协议名称(模糊匹配)",
  9370. "name": "agreementname",
  9371. "in": "query"
  9372. }
  9373. ],
  9374. "responses": {
  9375. "200": {
  9376. "description": "OK",
  9377. "schema": {
  9378. "type": "array",
  9379. "items": {
  9380. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9381. }
  9382. }
  9383. },
  9384. "500": {
  9385. "description": "Internal Server Error",
  9386. "schema": {
  9387. "$ref": "#/definitions/app.Response"
  9388. }
  9389. }
  9390. }
  9391. }
  9392. },
  9393. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9394. "get": {
  9395. "security": [
  9396. {
  9397. "ApiKeyAuth": []
  9398. }
  9399. ],
  9400. "produces": [
  9401. "application/json"
  9402. ],
  9403. "tags": [
  9404. "大连千海金(协议和签约信息)"
  9405. ],
  9406. "summary": "查询用户协议节点配置和状态",
  9407. "parameters": [
  9408. {
  9409. "type": "integer",
  9410. "description": "客户ID",
  9411. "name": "userid",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "integer",
  9416. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9417. "name": "configid",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "string",
  9422. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9423. "name": "nodetype",
  9424. "in": "query"
  9425. },
  9426. {
  9427. "type": "integer",
  9428. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9429. "name": "goodsid",
  9430. "in": "query"
  9431. },
  9432. {
  9433. "type": "integer",
  9434. "description": "协议ID",
  9435. "name": "agreementid",
  9436. "in": "query"
  9437. },
  9438. {
  9439. "type": "integer",
  9440. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9441. "name": "agreementtype",
  9442. "in": "query"
  9443. },
  9444. {
  9445. "type": "integer",
  9446. "description": "协议版本号",
  9447. "name": "agreementversion",
  9448. "in": "query"
  9449. },
  9450. {
  9451. "type": "string",
  9452. "description": "协议编号(模糊匹配)",
  9453. "name": "agreementno",
  9454. "in": "query"
  9455. },
  9456. {
  9457. "type": "string",
  9458. "description": "协议名称(模糊匹配)",
  9459. "name": "agreementname",
  9460. "in": "query"
  9461. }
  9462. ],
  9463. "responses": {
  9464. "200": {
  9465. "description": "OK",
  9466. "schema": {
  9467. "type": "array",
  9468. "items": {
  9469. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9470. }
  9471. }
  9472. },
  9473. "500": {
  9474. "description": "Internal Server Error",
  9475. "schema": {
  9476. "$ref": "#/definitions/app.Response"
  9477. }
  9478. }
  9479. }
  9480. }
  9481. },
  9482. "/Quote/QueryHistoryDatas": {
  9483. "get": {
  9484. "security": [
  9485. {
  9486. "ApiKeyAuth": []
  9487. }
  9488. ],
  9489. "produces": [
  9490. "application/json"
  9491. ],
  9492. "tags": [
  9493. "行情服务"
  9494. ],
  9495. "summary": "查询行情历史数据",
  9496. "parameters": [
  9497. {
  9498. "type": "integer",
  9499. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9500. "name": "cycleType",
  9501. "in": "query",
  9502. "required": true
  9503. },
  9504. {
  9505. "type": "string",
  9506. "description": "商品代码",
  9507. "name": "goodsCode",
  9508. "in": "query",
  9509. "required": true
  9510. },
  9511. {
  9512. "type": "string",
  9513. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9514. "name": "startTime",
  9515. "in": "query"
  9516. },
  9517. {
  9518. "type": "string",
  9519. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9520. "name": "endTime",
  9521. "in": "query"
  9522. },
  9523. {
  9524. "type": "integer",
  9525. "description": "条数",
  9526. "name": "count",
  9527. "in": "query"
  9528. },
  9529. {
  9530. "type": "boolean",
  9531. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9532. "name": "isAsc",
  9533. "in": "query"
  9534. }
  9535. ],
  9536. "responses": {
  9537. "200": {
  9538. "description": "OK",
  9539. "schema": {
  9540. "$ref": "#/definitions/quote.HistoryData"
  9541. }
  9542. },
  9543. "500": {
  9544. "description": "Internal Server Error",
  9545. "schema": {
  9546. "$ref": "#/definitions/app.Response"
  9547. }
  9548. }
  9549. }
  9550. }
  9551. },
  9552. "/Quote/QueryHistoryTikDatas": {
  9553. "get": {
  9554. "security": [
  9555. {
  9556. "ApiKeyAuth": []
  9557. }
  9558. ],
  9559. "produces": [
  9560. "application/json"
  9561. ],
  9562. "tags": [
  9563. "行情服务"
  9564. ],
  9565. "summary": "查询行情Tik数据",
  9566. "parameters": [
  9567. {
  9568. "type": "string",
  9569. "description": "商品代码",
  9570. "name": "goodsCode",
  9571. "in": "query",
  9572. "required": true
  9573. },
  9574. {
  9575. "type": "string",
  9576. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9577. "name": "startTime",
  9578. "in": "query"
  9579. },
  9580. {
  9581. "type": "string",
  9582. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9583. "name": "endTime",
  9584. "in": "query"
  9585. },
  9586. {
  9587. "type": "integer",
  9588. "description": "条数",
  9589. "name": "count",
  9590. "in": "query"
  9591. },
  9592. {
  9593. "type": "boolean",
  9594. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9595. "name": "isAsc",
  9596. "in": "query"
  9597. }
  9598. ],
  9599. "responses": {
  9600. "200": {
  9601. "description": "OK",
  9602. "schema": {
  9603. "$ref": "#/definitions/quote.HistoryTikData"
  9604. }
  9605. },
  9606. "500": {
  9607. "description": "Internal Server Error",
  9608. "schema": {
  9609. "$ref": "#/definitions/app.Response"
  9610. }
  9611. }
  9612. }
  9613. }
  9614. },
  9615. "/Quote/QueryQuoteDay": {
  9616. "get": {
  9617. "security": [
  9618. {
  9619. "ApiKeyAuth": []
  9620. }
  9621. ],
  9622. "produces": [
  9623. "application/json"
  9624. ],
  9625. "tags": [
  9626. "行情服务"
  9627. ],
  9628. "summary": "获取商品盘面信息",
  9629. "parameters": [
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9633. "name": "goodsCodes",
  9634. "in": "query",
  9635. "required": true
  9636. }
  9637. ],
  9638. "responses": {
  9639. "200": {
  9640. "description": "OK",
  9641. "schema": {
  9642. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9643. }
  9644. },
  9645. "500": {
  9646. "description": "Internal Server Error",
  9647. "schema": {
  9648. "$ref": "#/definitions/app.Response"
  9649. }
  9650. }
  9651. }
  9652. }
  9653. },
  9654. "/Quote/QueryTSData": {
  9655. "get": {
  9656. "security": [
  9657. {
  9658. "ApiKeyAuth": []
  9659. }
  9660. ],
  9661. "produces": [
  9662. "application/json"
  9663. ],
  9664. "tags": [
  9665. "行情服务"
  9666. ],
  9667. "summary": "分时图数据查询",
  9668. "parameters": [
  9669. {
  9670. "type": "string",
  9671. "description": "商品代码",
  9672. "name": "goodsCode",
  9673. "in": "query",
  9674. "required": true
  9675. }
  9676. ],
  9677. "responses": {
  9678. "200": {
  9679. "description": "OK",
  9680. "schema": {
  9681. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9682. }
  9683. },
  9684. "500": {
  9685. "description": "Internal Server Error",
  9686. "schema": {
  9687. "$ref": "#/definitions/app.Response"
  9688. }
  9689. }
  9690. }
  9691. }
  9692. },
  9693. "/SZDZ/QueryConvertConfig": {
  9694. "get": {
  9695. "security": [
  9696. {
  9697. "ApiKeyAuth": []
  9698. }
  9699. ],
  9700. "produces": [
  9701. "application/json"
  9702. ],
  9703. "tags": [
  9704. "定制【尚志大宗】"
  9705. ],
  9706. "summary": "查询交易系统转换设置",
  9707. "parameters": [
  9708. {
  9709. "type": "integer",
  9710. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9711. "name": "convertType",
  9712. "in": "query"
  9713. },
  9714. {
  9715. "type": "string",
  9716. "description": "外部商品代码[JD\\PD]",
  9717. "name": "outerGoodsCode",
  9718. "in": "query"
  9719. },
  9720. {
  9721. "type": "string",
  9722. "description": "内部商品ID列表[交易],格式:1,2,3",
  9723. "name": "innerGoodsIDs",
  9724. "in": "query"
  9725. }
  9726. ],
  9727. "responses": {
  9728. "200": {
  9729. "description": "OK",
  9730. "schema": {
  9731. "$ref": "#/definitions/models.Szdz3convertconfig"
  9732. }
  9733. },
  9734. "500": {
  9735. "description": "Internal Server Error",
  9736. "schema": {
  9737. "$ref": "#/definitions/app.Response"
  9738. }
  9739. }
  9740. }
  9741. }
  9742. },
  9743. "/SZDZ/QueryConvertLog": {
  9744. "get": {
  9745. "security": [
  9746. {
  9747. "ApiKeyAuth": []
  9748. }
  9749. ],
  9750. "produces": [
  9751. "application/json"
  9752. ],
  9753. "tags": [
  9754. "定制【尚志大宗】"
  9755. ],
  9756. "summary": "交易系统转换流水查询",
  9757. "parameters": [
  9758. {
  9759. "type": "string",
  9760. "description": "资金账户 - 格式:1,2,3",
  9761. "name": "accountID",
  9762. "in": "query",
  9763. "required": true
  9764. },
  9765. {
  9766. "type": "string",
  9767. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9768. "name": "startDate",
  9769. "in": "query"
  9770. },
  9771. {
  9772. "type": "string",
  9773. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9774. "name": "endDate",
  9775. "in": "query"
  9776. }
  9777. ],
  9778. "responses": {
  9779. "200": {
  9780. "description": "OK",
  9781. "schema": {
  9782. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9783. }
  9784. },
  9785. "500": {
  9786. "description": "Internal Server Error",
  9787. "schema": {
  9788. "$ref": "#/definitions/app.Response"
  9789. }
  9790. }
  9791. }
  9792. }
  9793. },
  9794. "/SZDZ/QueryGoodsPickup": {
  9795. "get": {
  9796. "security": [
  9797. {
  9798. "ApiKeyAuth": []
  9799. }
  9800. ],
  9801. "produces": [
  9802. "application/json"
  9803. ],
  9804. "tags": [
  9805. "定制【尚志大宗】"
  9806. ],
  9807. "summary": "商品提货单查询",
  9808. "parameters": [
  9809. {
  9810. "type": "string",
  9811. "description": "资金账户 - 格式:1,2,3",
  9812. "name": "accountID",
  9813. "in": "query",
  9814. "required": true
  9815. },
  9816. {
  9817. "type": "integer",
  9818. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9819. "name": "takeOrderStatus",
  9820. "in": "query"
  9821. }
  9822. ],
  9823. "responses": {
  9824. "200": {
  9825. "description": "OK",
  9826. "schema": {
  9827. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9828. }
  9829. },
  9830. "500": {
  9831. "description": "Internal Server Error",
  9832. "schema": {
  9833. "$ref": "#/definitions/app.Response"
  9834. }
  9835. }
  9836. }
  9837. }
  9838. },
  9839. "/SZDZ/QueryRecieptOrder": {
  9840. "get": {
  9841. "security": [
  9842. {
  9843. "ApiKeyAuth": []
  9844. }
  9845. ],
  9846. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9847. "produces": [
  9848. "application/json"
  9849. ],
  9850. "tags": [
  9851. "定制【尚志大宗】"
  9852. ],
  9853. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9854. "parameters": [
  9855. {
  9856. "type": "integer",
  9857. "description": "页码",
  9858. "name": "page",
  9859. "in": "query"
  9860. },
  9861. {
  9862. "type": "integer",
  9863. "description": "每页条数",
  9864. "name": "pagesize",
  9865. "in": "query"
  9866. },
  9867. {
  9868. "type": "integer",
  9869. "description": "商品ID",
  9870. "name": "goodsID",
  9871. "in": "query",
  9872. "required": true
  9873. },
  9874. {
  9875. "type": "string",
  9876. "description": "所属账户名称",
  9877. "name": "accountName",
  9878. "in": "query"
  9879. },
  9880. {
  9881. "type": "integer",
  9882. "description": "市场ID",
  9883. "name": "marketID",
  9884. "in": "query"
  9885. },
  9886. {
  9887. "type": "integer",
  9888. "description": "方向 - 0:买 1:卖",
  9889. "name": "buyorsell",
  9890. "in": "query",
  9891. "required": true
  9892. }
  9893. ],
  9894. "responses": {
  9895. "200": {
  9896. "description": "OK",
  9897. "schema": {
  9898. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9899. }
  9900. },
  9901. "500": {
  9902. "description": "Internal Server Error",
  9903. "schema": {
  9904. "$ref": "#/definitions/app.Response"
  9905. }
  9906. }
  9907. }
  9908. }
  9909. },
  9910. "/SZDZ/QuerySZDZTradePosition": {
  9911. "get": {
  9912. "security": [
  9913. {
  9914. "ApiKeyAuth": []
  9915. }
  9916. ],
  9917. "produces": [
  9918. "application/json"
  9919. ],
  9920. "tags": [
  9921. "定制【尚志大宗】"
  9922. ],
  9923. "summary": "持仓汇总查询(尚志大宗)",
  9924. "parameters": [
  9925. {
  9926. "type": "integer",
  9927. "description": "资金账户",
  9928. "name": "accountID",
  9929. "in": "query",
  9930. "required": true
  9931. }
  9932. ],
  9933. "responses": {
  9934. "200": {
  9935. "description": "OK",
  9936. "schema": {
  9937. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  9938. }
  9939. },
  9940. "500": {
  9941. "description": "Internal Server Error",
  9942. "schema": {
  9943. "$ref": "#/definitions/app.Response"
  9944. }
  9945. }
  9946. }
  9947. }
  9948. },
  9949. "/SZDZ/SearchWhite": {
  9950. "get": {
  9951. "security": [
  9952. {
  9953. "ApiKeyAuth": []
  9954. }
  9955. ],
  9956. "produces": [
  9957. "application/json"
  9958. ],
  9959. "tags": [
  9960. "定制【尚志大宗】"
  9961. ],
  9962. "summary": "搜索白名单",
  9963. "parameters": [
  9964. {
  9965. "type": "integer",
  9966. "description": "用户ID",
  9967. "name": "userID",
  9968. "in": "query",
  9969. "required": true
  9970. }
  9971. ],
  9972. "responses": {
  9973. "200": {
  9974. "description": "OK",
  9975. "schema": {
  9976. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  9977. }
  9978. },
  9979. "500": {
  9980. "description": "Internal Server Error",
  9981. "schema": {
  9982. "$ref": "#/definitions/app.Response"
  9983. }
  9984. }
  9985. }
  9986. }
  9987. },
  9988. "/Search/SearchGoodses": {
  9989. "get": {
  9990. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  9991. "produces": [
  9992. "application/json"
  9993. ],
  9994. "tags": [
  9995. "检索服务"
  9996. ],
  9997. "summary": "检索商品信息",
  9998. "parameters": [
  9999. {
  10000. "type": "string",
  10001. "description": "检索内容",
  10002. "name": "content",
  10003. "in": "query",
  10004. "required": true
  10005. },
  10006. {
  10007. "type": "string",
  10008. "description": "交易模式,格式:1,2,3",
  10009. "name": "tradeModes",
  10010. "in": "query"
  10011. }
  10012. ],
  10013. "responses": {
  10014. "200": {
  10015. "description": "OK",
  10016. "schema": {
  10017. "$ref": "#/definitions/models.SearchGoods"
  10018. }
  10019. },
  10020. "500": {
  10021. "description": "Internal Server Error",
  10022. "schema": {
  10023. "$ref": "#/definitions/app.Response"
  10024. }
  10025. }
  10026. }
  10027. }
  10028. },
  10029. "/TaAccount/GetTaAccounts": {
  10030. "get": {
  10031. "security": [
  10032. {
  10033. "ApiKeyAuth": []
  10034. }
  10035. ],
  10036. "produces": [
  10037. "application/json"
  10038. ],
  10039. "tags": [
  10040. "资金账户"
  10041. ],
  10042. "summary": "获取资金账户信息",
  10043. "parameters": [
  10044. {
  10045. "type": "integer",
  10046. "description": "登录账户",
  10047. "name": "loginID",
  10048. "in": "query",
  10049. "required": true
  10050. },
  10051. {
  10052. "type": "integer",
  10053. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10054. "name": "taAccountType",
  10055. "in": "query"
  10056. }
  10057. ],
  10058. "responses": {
  10059. "200": {
  10060. "description": "OK",
  10061. "schema": {
  10062. "$ref": "#/definitions/models.Taaccount"
  10063. }
  10064. },
  10065. "500": {
  10066. "description": "Internal Server Error",
  10067. "schema": {
  10068. "$ref": "#/definitions/app.Response"
  10069. }
  10070. }
  10071. }
  10072. }
  10073. },
  10074. "/TaAccount/QueryAmountLog": {
  10075. "get": {
  10076. "security": [
  10077. {
  10078. "ApiKeyAuth": []
  10079. }
  10080. ],
  10081. "produces": [
  10082. "application/json"
  10083. ],
  10084. "tags": [
  10085. "资金账户"
  10086. ],
  10087. "summary": "资金流水查询(当前)",
  10088. "parameters": [
  10089. {
  10090. "type": "integer",
  10091. "description": "页码",
  10092. "name": "page",
  10093. "in": "query"
  10094. },
  10095. {
  10096. "type": "integer",
  10097. "description": "每页条数",
  10098. "name": "pagesize",
  10099. "in": "query"
  10100. },
  10101. {
  10102. "type": "string",
  10103. "description": "资金账户 - 格式:1,2,3",
  10104. "name": "accountID",
  10105. "in": "query",
  10106. "required": true
  10107. },
  10108. {
  10109. "type": "string",
  10110. "description": "资金操作类型 - 格式:1,2,3",
  10111. "name": "OperateType",
  10112. "in": "query"
  10113. }
  10114. ],
  10115. "responses": {
  10116. "200": {
  10117. "description": "OK",
  10118. "schema": {
  10119. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10120. }
  10121. },
  10122. "500": {
  10123. "description": "Internal Server Error",
  10124. "schema": {
  10125. "$ref": "#/definitions/app.Response"
  10126. }
  10127. }
  10128. }
  10129. }
  10130. },
  10131. "/TaAccount/QueryHisAmountLog": {
  10132. "get": {
  10133. "security": [
  10134. {
  10135. "ApiKeyAuth": []
  10136. }
  10137. ],
  10138. "produces": [
  10139. "application/json"
  10140. ],
  10141. "tags": [
  10142. "资金账户"
  10143. ],
  10144. "summary": "资金流水查询(历史)",
  10145. "parameters": [
  10146. {
  10147. "type": "integer",
  10148. "description": "页码",
  10149. "name": "page",
  10150. "in": "query"
  10151. },
  10152. {
  10153. "type": "integer",
  10154. "description": "每页条数",
  10155. "name": "pagesize",
  10156. "in": "query"
  10157. },
  10158. {
  10159. "type": "string",
  10160. "description": "资金账户 - 格式:1,2,3",
  10161. "name": "accountID",
  10162. "in": "query",
  10163. "required": true
  10164. },
  10165. {
  10166. "type": "string",
  10167. "description": "资金操作类型 - 格式:1,2,3",
  10168. "name": "OperateType",
  10169. "in": "query"
  10170. },
  10171. {
  10172. "type": "string",
  10173. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10174. "name": "startDate",
  10175. "in": "query"
  10176. },
  10177. {
  10178. "type": "string",
  10179. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10180. "name": "endDate",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/Trade/QueryRecieptOrder": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10208. "produces": [
  10209. "application/json"
  10210. ],
  10211. "tags": [
  10212. "通用交易"
  10213. ],
  10214. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10215. "parameters": [
  10216. {
  10217. "type": "integer",
  10218. "description": "页码",
  10219. "name": "page",
  10220. "in": "query"
  10221. },
  10222. {
  10223. "type": "integer",
  10224. "description": "每页条数",
  10225. "name": "pagesize",
  10226. "in": "query"
  10227. },
  10228. {
  10229. "type": "integer",
  10230. "description": "商品ID",
  10231. "name": "goodsID",
  10232. "in": "query",
  10233. "required": true
  10234. },
  10235. {
  10236. "type": "string",
  10237. "description": "所属账户名称",
  10238. "name": "accountName",
  10239. "in": "query"
  10240. },
  10241. {
  10242. "type": "integer",
  10243. "description": "市场ID",
  10244. "name": "marketID",
  10245. "in": "query"
  10246. },
  10247. {
  10248. "type": "integer",
  10249. "description": "方向 - 0:买 1:卖",
  10250. "name": "buyorsell",
  10251. "in": "query",
  10252. "required": true
  10253. }
  10254. ],
  10255. "responses": {
  10256. "200": {
  10257. "description": "OK",
  10258. "schema": {
  10259. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10260. }
  10261. },
  10262. "500": {
  10263. "description": "Internal Server Error",
  10264. "schema": {
  10265. "$ref": "#/definitions/app.Response"
  10266. }
  10267. }
  10268. }
  10269. }
  10270. },
  10271. "/User/AddMessageBoard": {
  10272. "post": {
  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. "type": "string",
  10295. "description": "留言信息",
  10296. "name": "message",
  10297. "in": "query",
  10298. "required": true
  10299. },
  10300. {
  10301. "type": "string",
  10302. "description": "联系电话",
  10303. "name": "contactNum",
  10304. "in": "query",
  10305. "required": true
  10306. }
  10307. ],
  10308. "responses": {
  10309. "200": {
  10310. "description": "OK",
  10311. "schema": {
  10312. "$ref": "#/definitions/app.Response"
  10313. }
  10314. },
  10315. "500": {
  10316. "description": "Internal Server Error",
  10317. "schema": {
  10318. "$ref": "#/definitions/app.Response"
  10319. }
  10320. }
  10321. }
  10322. }
  10323. },
  10324. "/User/AddUserFavoriteGoods": {
  10325. "post": {
  10326. "security": [
  10327. {
  10328. "ApiKeyAuth": []
  10329. }
  10330. ],
  10331. "produces": [
  10332. "application/json"
  10333. ],
  10334. "tags": [
  10335. "用户信息"
  10336. ],
  10337. "summary": "添加用户商品收藏信息",
  10338. "parameters": [
  10339. {
  10340. "type": "integer",
  10341. "description": "用户ID",
  10342. "name": "userID",
  10343. "in": "query",
  10344. "required": true
  10345. },
  10346. {
  10347. "type": "integer",
  10348. "description": "商品ID",
  10349. "name": "goodsID",
  10350. "in": "query",
  10351. "required": true
  10352. }
  10353. ],
  10354. "responses": {
  10355. "200": {
  10356. "description": "OK",
  10357. "schema": {
  10358. "$ref": "#/definitions/app.Response"
  10359. }
  10360. },
  10361. "500": {
  10362. "description": "Internal Server Error",
  10363. "schema": {
  10364. "$ref": "#/definitions/app.Response"
  10365. }
  10366. }
  10367. }
  10368. }
  10369. },
  10370. "/User/GetLoginID": {
  10371. "get": {
  10372. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10373. "produces": [
  10374. "application/json"
  10375. ],
  10376. "tags": [
  10377. "用户信息"
  10378. ],
  10379. "summary": "获取登录ID",
  10380. "parameters": [
  10381. {
  10382. "type": "string",
  10383. "description": "登录代码",
  10384. "name": "username",
  10385. "in": "query",
  10386. "required": true
  10387. }
  10388. ],
  10389. "responses": {
  10390. "200": {
  10391. "description": "OK",
  10392. "schema": {
  10393. "$ref": "#/definitions/app.Response"
  10394. }
  10395. },
  10396. "500": {
  10397. "description": "Internal Server Error",
  10398. "schema": {
  10399. "$ref": "#/definitions/app.Response"
  10400. }
  10401. }
  10402. }
  10403. }
  10404. },
  10405. "/User/GetUserAccount": {
  10406. "get": {
  10407. "security": [
  10408. {
  10409. "ApiKeyAuth": []
  10410. }
  10411. ],
  10412. "produces": [
  10413. "application/json"
  10414. ],
  10415. "tags": [
  10416. "用户信息"
  10417. ],
  10418. "summary": "获取用户账号信息",
  10419. "parameters": [
  10420. {
  10421. "type": "integer",
  10422. "description": "用户ID",
  10423. "name": "userID",
  10424. "in": "query",
  10425. "required": true
  10426. }
  10427. ],
  10428. "responses": {
  10429. "200": {
  10430. "description": "OK",
  10431. "schema": {
  10432. "$ref": "#/definitions/models.Useraccount"
  10433. }
  10434. },
  10435. "500": {
  10436. "description": "Internal Server Error",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. }
  10441. }
  10442. }
  10443. },
  10444. "/User/GetUserAuthStatus": {
  10445. "get": {
  10446. "security": [
  10447. {
  10448. "ApiKeyAuth": []
  10449. }
  10450. ],
  10451. "produces": [
  10452. "application/json"
  10453. ],
  10454. "tags": [
  10455. "用户信息"
  10456. ],
  10457. "summary": "获取用户实名认证状态",
  10458. "parameters": [
  10459. {
  10460. "type": "integer",
  10461. "description": "用户ID",
  10462. "name": "userID",
  10463. "in": "query",
  10464. "required": true
  10465. }
  10466. ],
  10467. "responses": {
  10468. "200": {
  10469. "description": "OK",
  10470. "schema": {
  10471. "$ref": "#/definitions/app.Response"
  10472. }
  10473. },
  10474. "500": {
  10475. "description": "Internal Server Error",
  10476. "schema": {
  10477. "$ref": "#/definitions/app.Response"
  10478. }
  10479. }
  10480. }
  10481. }
  10482. },
  10483. "/User/LoginQuery": {
  10484. "get": {
  10485. "security": [
  10486. {
  10487. "ApiKeyAuth": []
  10488. }
  10489. ],
  10490. "produces": [
  10491. "application/json"
  10492. ],
  10493. "tags": [
  10494. "用户信息"
  10495. ],
  10496. "summary": "账户登录后信息查询",
  10497. "parameters": [
  10498. {
  10499. "type": "integer",
  10500. "description": "登录账号",
  10501. "name": "loginID",
  10502. "in": "query",
  10503. "required": true
  10504. }
  10505. ],
  10506. "responses": {
  10507. "200": {
  10508. "description": "OK",
  10509. "schema": {
  10510. "$ref": "#/definitions/user.LoginQueryRsp"
  10511. }
  10512. },
  10513. "500": {
  10514. "description": "Internal Server Error",
  10515. "schema": {
  10516. "$ref": "#/definitions/app.Response"
  10517. }
  10518. }
  10519. }
  10520. }
  10521. },
  10522. "/User/QueryMessageBoard": {
  10523. "get": {
  10524. "security": [
  10525. {
  10526. "ApiKeyAuth": []
  10527. }
  10528. ],
  10529. "produces": [
  10530. "application/json"
  10531. ],
  10532. "tags": [
  10533. "用户信息"
  10534. ],
  10535. "summary": "获取用户留言板信息",
  10536. "parameters": [
  10537. {
  10538. "type": "integer",
  10539. "description": "用户ID",
  10540. "name": "userID",
  10541. "in": "query",
  10542. "required": true
  10543. }
  10544. ],
  10545. "responses": {
  10546. "200": {
  10547. "description": "OK",
  10548. "schema": {
  10549. "$ref": "#/definitions/models.Messageboard"
  10550. }
  10551. },
  10552. "500": {
  10553. "description": "Internal Server Error",
  10554. "schema": {
  10555. "$ref": "#/definitions/app.Response"
  10556. }
  10557. }
  10558. }
  10559. }
  10560. },
  10561. "/User/QueryUserFavoriteGoodses": {
  10562. "get": {
  10563. "security": [
  10564. {
  10565. "ApiKeyAuth": []
  10566. }
  10567. ],
  10568. "produces": [
  10569. "application/json"
  10570. ],
  10571. "tags": [
  10572. "用户信息"
  10573. ],
  10574. "summary": "获取用户商品收藏信息",
  10575. "parameters": [
  10576. {
  10577. "type": "integer",
  10578. "description": "用户ID",
  10579. "name": "userID",
  10580. "in": "query",
  10581. "required": true
  10582. }
  10583. ],
  10584. "responses": {
  10585. "200": {
  10586. "description": "OK",
  10587. "schema": {
  10588. "$ref": "#/definitions/models.Userfavoritegoods"
  10589. }
  10590. },
  10591. "500": {
  10592. "description": "Internal Server Error",
  10593. "schema": {
  10594. "$ref": "#/definitions/app.Response"
  10595. }
  10596. }
  10597. }
  10598. }
  10599. },
  10600. "/User/QueryUserInfo": {
  10601. "get": {
  10602. "security": [
  10603. {
  10604. "ApiKeyAuth": []
  10605. }
  10606. ],
  10607. "produces": [
  10608. "application/json"
  10609. ],
  10610. "tags": [
  10611. "用户信息"
  10612. ],
  10613. "summary": "获取用户信息",
  10614. "parameters": [
  10615. {
  10616. "type": "integer",
  10617. "description": "用户ID",
  10618. "name": "userID",
  10619. "in": "query",
  10620. "required": true
  10621. },
  10622. {
  10623. "type": "boolean",
  10624. "description": "是否解密",
  10625. "name": "isDecrypt",
  10626. "in": "query"
  10627. }
  10628. ],
  10629. "responses": {
  10630. "200": {
  10631. "description": "OK",
  10632. "schema": {
  10633. "$ref": "#/definitions/models.Userinfo"
  10634. }
  10635. },
  10636. "500": {
  10637. "description": "Internal Server Error",
  10638. "schema": {
  10639. "$ref": "#/definitions/app.Response"
  10640. }
  10641. }
  10642. }
  10643. }
  10644. },
  10645. "/User/QueryUserReferNum": {
  10646. "get": {
  10647. "produces": [
  10648. "application/json"
  10649. ],
  10650. "tags": [
  10651. "用户信息"
  10652. ],
  10653. "summary": "获取用户邀请码",
  10654. "parameters": [
  10655. {
  10656. "type": "integer",
  10657. "description": "用户ID",
  10658. "name": "userID",
  10659. "in": "query",
  10660. "required": true
  10661. }
  10662. ],
  10663. "responses": {
  10664. "200": {
  10665. "description": "OK",
  10666. "schema": {
  10667. "$ref": "#/definitions/app.Response"
  10668. }
  10669. },
  10670. "500": {
  10671. "description": "Internal Server Error",
  10672. "schema": {
  10673. "$ref": "#/definitions/app.Response"
  10674. }
  10675. }
  10676. }
  10677. }
  10678. },
  10679. "/User/RemoveUserFavoriteGoods": {
  10680. "post": {
  10681. "security": [
  10682. {
  10683. "ApiKeyAuth": []
  10684. }
  10685. ],
  10686. "produces": [
  10687. "application/json"
  10688. ],
  10689. "tags": [
  10690. "用户信息"
  10691. ],
  10692. "summary": "移除用户商品收藏信息",
  10693. "parameters": [
  10694. {
  10695. "type": "integer",
  10696. "description": "用户ID",
  10697. "name": "userID",
  10698. "in": "query",
  10699. "required": true
  10700. },
  10701. {
  10702. "type": "integer",
  10703. "description": "商品ID",
  10704. "name": "goodsID",
  10705. "in": "query",
  10706. "required": true
  10707. }
  10708. ],
  10709. "responses": {
  10710. "200": {
  10711. "description": "OK",
  10712. "schema": {
  10713. "$ref": "#/definitions/app.Response"
  10714. }
  10715. },
  10716. "500": {
  10717. "description": "Internal Server Error",
  10718. "schema": {
  10719. "$ref": "#/definitions/app.Response"
  10720. }
  10721. }
  10722. }
  10723. }
  10724. },
  10725. "/User/UpdateUserAccountStatus": {
  10726. "post": {
  10727. "security": [
  10728. {
  10729. "ApiKeyAuth": []
  10730. }
  10731. ],
  10732. "produces": [
  10733. "application/json"
  10734. ],
  10735. "tags": [
  10736. "用户信息"
  10737. ],
  10738. "summary": "更新用户状态",
  10739. "parameters": [
  10740. {
  10741. "type": "integer",
  10742. "description": "用户ID",
  10743. "name": "userID",
  10744. "in": "query",
  10745. "required": true
  10746. },
  10747. {
  10748. "type": "integer",
  10749. "description": "账户状态 - 4:正常 6:注销(停用)",
  10750. "name": "accountStatus",
  10751. "in": "query",
  10752. "required": true
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/app.Response"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/WRTrade/GetAllDeliveryGoods": {
  10772. "get": {
  10773. "security": [
  10774. {
  10775. "ApiKeyAuth": []
  10776. },
  10777. {
  10778. "ApiKeyAuth": []
  10779. }
  10780. ],
  10781. "produces": [
  10782. "application/json",
  10783. "application/json"
  10784. ],
  10785. "tags": [
  10786. "仓单贸易",
  10787. "仓单贸易"
  10788. ],
  10789. "summary": "获取带仓单分类的种类信息",
  10790. "responses": {
  10791. "200": {
  10792. "description": "OK",
  10793. "schema": {
  10794. "$ref": "#/definitions/app.Response"
  10795. }
  10796. },
  10797. "500": {
  10798. "description": "Internal Server Error",
  10799. "schema": {
  10800. "$ref": "#/definitions/app.Response"
  10801. }
  10802. }
  10803. }
  10804. }
  10805. }
  10806. },
  10807. "definitions": {
  10808. "app.Response": {
  10809. "type": "object",
  10810. "properties": {
  10811. "code": {
  10812. "type": "integer"
  10813. },
  10814. "data": {
  10815. "type": "object"
  10816. },
  10817. "msg": {
  10818. "type": "string"
  10819. },
  10820. "page": {
  10821. "description": "页码",
  10822. "type": "integer"
  10823. },
  10824. "pagesize": {
  10825. "description": "每页条数",
  10826. "type": "integer"
  10827. },
  10828. "total": {
  10829. "description": "总条数",
  10830. "type": "integer"
  10831. }
  10832. }
  10833. },
  10834. "common.ClientMenu": {
  10835. "type": "object",
  10836. "properties": {
  10837. "children": {
  10838. "description": "子菜单列表",
  10839. "type": "array",
  10840. "items": {
  10841. "$ref": "#/definitions/common.ClientMenu"
  10842. }
  10843. },
  10844. "code": {
  10845. "description": "ID",
  10846. "type": "string"
  10847. },
  10848. "isshow": {
  10849. "description": "是否显示",
  10850. "type": "boolean"
  10851. },
  10852. "rulekey": {
  10853. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10854. "type": "string"
  10855. },
  10856. "sort": {
  10857. "description": "排序",
  10858. "type": "integer"
  10859. },
  10860. "title": {
  10861. "description": "标题",
  10862. "type": "string"
  10863. },
  10864. "type": {
  10865. "description": "类型,1:菜单 2:按钮",
  10866. "type": "integer"
  10867. }
  10868. }
  10869. },
  10870. "common.QueryImageConfigsRsp": {
  10871. "type": "object",
  10872. "required": [
  10873. "configid"
  10874. ],
  10875. "properties": {
  10876. "areauserid": {
  10877. "description": "所属机构ID",
  10878. "type": "integer"
  10879. },
  10880. "configid": {
  10881. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10882. "type": "integer"
  10883. },
  10884. "createdate": {
  10885. "description": "创建时间",
  10886. "type": "string"
  10887. },
  10888. "creatorid": {
  10889. "description": "创建人",
  10890. "type": "integer"
  10891. },
  10892. "imagepath": {
  10893. "description": "图片",
  10894. "type": "string"
  10895. },
  10896. "imagetype": {
  10897. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10898. "type": "integer"
  10899. },
  10900. "isshow": {
  10901. "description": "是否展示 - 0:不展示 1:展示",
  10902. "type": "integer"
  10903. },
  10904. "marketid": {
  10905. "description": "市场ID",
  10906. "type": "integer"
  10907. },
  10908. "modifierid": {
  10909. "description": "操作人",
  10910. "type": "integer"
  10911. },
  10912. "sort": {
  10913. "description": "排序",
  10914. "type": "integer"
  10915. },
  10916. "title": {
  10917. "description": "标题",
  10918. "type": "string"
  10919. },
  10920. "trademode": {
  10921. "description": "交易模式",
  10922. "type": "integer"
  10923. },
  10924. "updatedate": {
  10925. "description": "修改时间",
  10926. "type": "string"
  10927. },
  10928. "url": {
  10929. "description": "链接(地址或商品ID)",
  10930. "type": "string"
  10931. },
  10932. "urltype": {
  10933. "description": "链接类型 - 1:直接地址 2:商品ID",
  10934. "type": "integer"
  10935. }
  10936. }
  10937. },
  10938. "common.QueryNoticeRsp": {
  10939. "type": "object",
  10940. "required": [
  10941. "autoid"
  10942. ],
  10943. "properties": {
  10944. "auditoruserid": {
  10945. "description": "审核人",
  10946. "type": "integer"
  10947. },
  10948. "auditremark": {
  10949. "description": "审核备注",
  10950. "type": "string"
  10951. },
  10952. "audittime": {
  10953. "description": "审核日期",
  10954. "type": "string"
  10955. },
  10956. "autoid": {
  10957. "description": "自增ID",
  10958. "type": "integer"
  10959. },
  10960. "content": {
  10961. "description": "内容",
  10962. "type": "string"
  10963. },
  10964. "createtime": {
  10965. "description": "创建时间",
  10966. "type": "string"
  10967. },
  10968. "creatorid": {
  10969. "description": "建仓人",
  10970. "type": "integer"
  10971. },
  10972. "endtime": {
  10973. "description": "结束时间",
  10974. "type": "string"
  10975. },
  10976. "istop": {
  10977. "description": "是否置顶 - 0:不置顶 1:置顶",
  10978. "type": "integer"
  10979. },
  10980. "msgiconurl": {
  10981. "description": "消息图标Url",
  10982. "type": "string"
  10983. },
  10984. "msgtype": {
  10985. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  10986. "type": "integer"
  10987. },
  10988. "publisher": {
  10989. "description": "消息发布者",
  10990. "type": "string"
  10991. },
  10992. "readed": {
  10993. "description": "是否已读",
  10994. "type": "boolean"
  10995. },
  10996. "scheduletime": {
  10997. "description": "计划发送时间",
  10998. "type": "string"
  10999. },
  11000. "sendtype": {
  11001. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11002. "type": "integer"
  11003. },
  11004. "sentstatus": {
  11005. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11006. "type": "integer"
  11007. },
  11008. "title": {
  11009. "description": "标题",
  11010. "type": "string"
  11011. },
  11012. "userid": {
  11013. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11014. "type": "integer"
  11015. }
  11016. }
  11017. },
  11018. "common.QueryProvincesAndCitiesRsp": {
  11019. "type": "object",
  11020. "properties": {
  11021. "cities": {
  11022. "description": "市",
  11023. "type": "array",
  11024. "items": {
  11025. "$ref": "#/definitions/models.Division"
  11026. }
  11027. },
  11028. "province": {
  11029. "description": "省",
  11030. "type": "object",
  11031. "$ref": "#/definitions/models.Division"
  11032. }
  11033. }
  11034. },
  11035. "common.QueryTableDefineRsp": {
  11036. "type": "object",
  11037. "required": [
  11038. "tablekey"
  11039. ],
  11040. "properties": {
  11041. "columns": {
  11042. "description": "列头信息数组",
  11043. "type": "array",
  11044. "items": {
  11045. "$ref": "#/definitions/models.Tablecolumnconfig"
  11046. }
  11047. },
  11048. "remark": {
  11049. "description": "Remark",
  11050. "type": "string"
  11051. },
  11052. "tabelmenu": {
  11053. "description": "列表菜单",
  11054. "type": "string"
  11055. },
  11056. "tablekey": {
  11057. "description": "列表Key",
  11058. "type": "string"
  11059. },
  11060. "tablename": {
  11061. "description": "列表名称",
  11062. "type": "string"
  11063. },
  11064. "tabletype": {
  11065. "description": "列表类型 - 1:管理端 2:终端",
  11066. "type": "integer"
  11067. }
  11068. }
  11069. },
  11070. "common.QueryTraderMenuRsp": {
  11071. "type": "object",
  11072. "properties": {
  11073. "OperationMenu": {
  11074. "description": "功能菜单",
  11075. "type": "array",
  11076. "items": {
  11077. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11078. }
  11079. },
  11080. "QuoteMenu": {
  11081. "description": "报价牌分类菜单",
  11082. "type": "array",
  11083. "items": {
  11084. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11085. }
  11086. }
  11087. }
  11088. },
  11089. "cptrade.Cptradepositioncancel": {
  11090. "type": "object",
  11091. "required": [
  11092. "cancelid"
  11093. ],
  11094. "properties": {
  11095. "accountid": {
  11096. "description": "申请人账户ID",
  11097. "type": "integer"
  11098. },
  11099. "applystatus": {
  11100. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11101. "type": "integer"
  11102. },
  11103. "applytime": {
  11104. "description": "申请时间",
  11105. "type": "string"
  11106. },
  11107. "cancelid": {
  11108. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11109. "type": "integer"
  11110. },
  11111. "cancelqty": {
  11112. "description": "注销数量",
  11113. "type": "integer"
  11114. },
  11115. "createtime": {
  11116. "description": "创建时间",
  11117. "type": "string"
  11118. },
  11119. "creatorid": {
  11120. "description": "创建人ID",
  11121. "type": "integer"
  11122. },
  11123. "creatorname": {
  11124. "description": "创建人",
  11125. "type": "string"
  11126. },
  11127. "goodscode": {
  11128. "description": "订单商品代码",
  11129. "type": "string"
  11130. },
  11131. "goodsid": {
  11132. "description": "商品ID",
  11133. "type": "integer"
  11134. },
  11135. "goodsname": {
  11136. "description": "订单商品名称",
  11137. "type": "string"
  11138. },
  11139. "goodunit": {
  11140. "description": "报价单位",
  11141. "type": "string"
  11142. },
  11143. "handlestatus": {
  11144. "description": "处理状态",
  11145. "type": "integer"
  11146. },
  11147. "marketid": {
  11148. "description": "市场ID",
  11149. "type": "integer"
  11150. },
  11151. "marketname": {
  11152. "description": "市场名称",
  11153. "type": "string"
  11154. },
  11155. "tradedate": {
  11156. "description": "交易日(yyyyMMdd)",
  11157. "type": "string"
  11158. },
  11159. "userid": {
  11160. "description": "申请人ID",
  11161. "type": "integer"
  11162. }
  11163. }
  11164. },
  11165. "cptrade.Cptradepresaleapply": {
  11166. "type": "object",
  11167. "required": [
  11168. "applyid"
  11169. ],
  11170. "properties": {
  11171. "accountid": {
  11172. "description": "申请人账户ID",
  11173. "type": "integer"
  11174. },
  11175. "applyid": {
  11176. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11177. "type": "integer"
  11178. },
  11179. "applyremark": {
  11180. "description": "申请备注",
  11181. "type": "string"
  11182. },
  11183. "applystatus": {
  11184. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11185. "type": "integer"
  11186. },
  11187. "applytime": {
  11188. "description": "申请时间",
  11189. "type": "string"
  11190. },
  11191. "attachmenturl": {
  11192. "description": "附件地址",
  11193. "type": "string"
  11194. },
  11195. "endtime": {
  11196. "description": "预售结束时间",
  11197. "type": "string"
  11198. },
  11199. "goodscode": {
  11200. "description": "商品代码",
  11201. "type": "string"
  11202. },
  11203. "goodsid": {
  11204. "description": "商品ID",
  11205. "type": "integer"
  11206. },
  11207. "goodsname": {
  11208. "description": "商品名称",
  11209. "type": "string"
  11210. },
  11211. "goodunit": {
  11212. "description": "报价单位",
  11213. "type": "string"
  11214. },
  11215. "handlestatus": {
  11216. "description": "处理状态",
  11217. "type": "integer"
  11218. },
  11219. "marketid": {
  11220. "description": "预售市场ID",
  11221. "type": "integer"
  11222. },
  11223. "marketname": {
  11224. "description": "预售市场名称",
  11225. "type": "string"
  11226. },
  11227. "presaleqty": {
  11228. "description": "预售数量",
  11229. "type": "integer"
  11230. },
  11231. "relatedgoodscode": {
  11232. "description": "关联交易合约代码",
  11233. "type": "string"
  11234. },
  11235. "relatedgoodsid": {
  11236. "description": "关联交易合约ID",
  11237. "type": "integer"
  11238. },
  11239. "relatedgoodsname": {
  11240. "description": "关联交易合约名称",
  11241. "type": "string"
  11242. },
  11243. "starttime": {
  11244. "description": "预售开始时间",
  11245. "type": "string"
  11246. },
  11247. "tradedate": {
  11248. "description": "交易日(yyyyMMdd)",
  11249. "type": "string"
  11250. },
  11251. "trademode": {
  11252. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11253. "type": "integer"
  11254. },
  11255. "userid": {
  11256. "description": "申请人ID",
  11257. "type": "integer"
  11258. }
  11259. }
  11260. },
  11261. "cptrade.Cptradeusergoodsdata": {
  11262. "type": "object",
  11263. "required": [
  11264. "accountid",
  11265. "goodsid"
  11266. ],
  11267. "properties": {
  11268. "EnabledQty": {
  11269. "description": "可用量",
  11270. "type": "integer"
  11271. },
  11272. "GoodsCode": {
  11273. "description": "订单商品代码",
  11274. "type": "string"
  11275. },
  11276. "GoodsName": {
  11277. "description": "订单商品名称",
  11278. "type": "string"
  11279. },
  11280. "WRStandardCode": {
  11281. "description": "仓单标准代码",
  11282. "type": "string"
  11283. },
  11284. "WRStandardName": {
  11285. "description": "仓单标准名称",
  11286. "type": "string"
  11287. },
  11288. "accountid": {
  11289. "description": "账户ID",
  11290. "type": "integer"
  11291. },
  11292. "cancelqty": {
  11293. "description": "注销量",
  11294. "type": "integer"
  11295. },
  11296. "curpresaleqty": {
  11297. "description": "当前预售量",
  11298. "type": "integer"
  11299. },
  11300. "deliveryqty": {
  11301. "description": "交割量",
  11302. "type": "integer"
  11303. },
  11304. "freezeamount": {
  11305. "description": "冻结金额",
  11306. "type": "number"
  11307. },
  11308. "goodsid": {
  11309. "description": "商品ID",
  11310. "type": "integer"
  11311. },
  11312. "goodunit": {
  11313. "description": "报价单位",
  11314. "type": "string"
  11315. },
  11316. "hasspotfreeze": {
  11317. "description": "是否有现货冻结 - 0:否 1:有",
  11318. "type": "integer"
  11319. },
  11320. "inqty": {
  11321. "description": "转入量(总数量)",
  11322. "type": "integer"
  11323. },
  11324. "marketid": {
  11325. "description": "市场ID",
  11326. "type": "integer"
  11327. },
  11328. "presaledamount": {
  11329. "description": "已预售总金额",
  11330. "type": "integer"
  11331. },
  11332. "presaledqty": {
  11333. "description": "已预售量",
  11334. "type": "integer"
  11335. },
  11336. "userid": {
  11337. "description": "用户ID",
  11338. "type": "integer"
  11339. },
  11340. "wrstandardid": {
  11341. "description": "仓单标准ID",
  11342. "type": "integer"
  11343. }
  11344. }
  11345. },
  11346. "cptrade.QueryCPTradeMyBidRsp": {
  11347. "type": "object",
  11348. "required": [
  11349. "accountid",
  11350. "goodsid",
  11351. "marketid",
  11352. "orderid",
  11353. "orderqty",
  11354. "ordertime",
  11355. "tradeprice",
  11356. "tradeqty"
  11357. ],
  11358. "properties": {
  11359. "accountid": {
  11360. "description": "账户ID[报价币种]",
  11361. "type": "integer"
  11362. },
  11363. "goodsid": {
  11364. "description": "商品ID",
  11365. "type": "integer"
  11366. },
  11367. "goodunit": {
  11368. "description": "报价单位",
  11369. "type": "string"
  11370. },
  11371. "marketid": {
  11372. "description": "市场ID",
  11373. "type": "integer"
  11374. },
  11375. "orderid": {
  11376. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11377. "type": "integer"
  11378. },
  11379. "orderprice": {
  11380. "description": "委托价格",
  11381. "type": "number"
  11382. },
  11383. "orderqty": {
  11384. "description": "委托数量",
  11385. "type": "integer"
  11386. },
  11387. "ordertime": {
  11388. "description": "委托时间",
  11389. "type": "string"
  11390. },
  11391. "ordertotalprice": {
  11392. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11393. "type": "number"
  11394. },
  11395. "ordertotalweight": {
  11396. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11397. "type": "integer"
  11398. },
  11399. "totaltotalprice": {
  11400. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11401. "type": "number"
  11402. },
  11403. "tradeprice": {
  11404. "description": "成交价格",
  11405. "type": "number"
  11406. },
  11407. "tradeqty": {
  11408. "description": "成交数量",
  11409. "type": "integer"
  11410. }
  11411. }
  11412. },
  11413. "cptrade.QueryCPTradeOrderDetailRsq": {
  11414. "type": "object",
  11415. "required": [
  11416. "accountid",
  11417. "buildtype",
  11418. "buyorsell",
  11419. "goodsid",
  11420. "marketid",
  11421. "memberuserid",
  11422. "operatetype",
  11423. "orderqty",
  11424. "ordertime",
  11425. "pricemode",
  11426. "strorderid",
  11427. "tradedate",
  11428. "validtype"
  11429. ],
  11430. "properties": {
  11431. "accountid": {
  11432. "description": "账户ID[报价币种]",
  11433. "type": "integer"
  11434. },
  11435. "buildtype": {
  11436. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11437. "type": "integer"
  11438. },
  11439. "buyorsell": {
  11440. "description": "买卖 - 0:买 1:卖",
  11441. "type": "integer"
  11442. },
  11443. "cancelorderid": {
  11444. "description": "撤单单号(撤单时填写)",
  11445. "type": "integer"
  11446. },
  11447. "cancelqty": {
  11448. "description": "撤单数量",
  11449. "type": "integer"
  11450. },
  11451. "clientordertime": {
  11452. "description": "客户端委托时间",
  11453. "type": "string"
  11454. },
  11455. "clientticket": {
  11456. "description": "客户端流水号",
  11457. "type": "string"
  11458. },
  11459. "clienttype": {
  11460. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11461. "type": "integer"
  11462. },
  11463. "closeexchagechargevalue": {
  11464. "description": "平仓交易所手续费设置值",
  11465. "type": "number"
  11466. },
  11467. "closefeealgorithm": {
  11468. "description": "平仓手续费收取方式 1:比率 2:固定",
  11469. "type": "integer"
  11470. },
  11471. "closefreezecharge": {
  11472. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11473. "type": "number"
  11474. },
  11475. "closememberchargevalue": {
  11476. "description": "平仓会员手续费设置值",
  11477. "type": "number"
  11478. },
  11479. "closeqty": {
  11480. "description": "平仓数量(先建后平操作 需要记录)",
  11481. "type": "integer"
  11482. },
  11483. "closetradeqty": {
  11484. "description": "平仓成交数量(先建后平操作,需要记录)",
  11485. "type": "integer"
  11486. },
  11487. "closeunfreezecharge": {
  11488. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11489. "type": "number"
  11490. },
  11491. "delistingtype": {
  11492. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11493. "type": "integer"
  11494. },
  11495. "freezecharge": {
  11496. "description": "冻结手续费",
  11497. "type": "number"
  11498. },
  11499. "freezemargin": {
  11500. "description": "冻结保证金(冻结交易金额)",
  11501. "type": "number"
  11502. },
  11503. "gcaccountid": {
  11504. "description": "账户ID[合约币种]",
  11505. "type": "integer"
  11506. },
  11507. "goodsid": {
  11508. "description": "商品ID",
  11509. "type": "integer"
  11510. },
  11511. "isconfirmexercise": {
  11512. "description": "是否确认行权- 0:否 1:是",
  11513. "type": "integer"
  11514. },
  11515. "ispreexercise": {
  11516. "description": "是否预申报- 0:否 1:是",
  11517. "type": "integer"
  11518. },
  11519. "listingselecttype": {
  11520. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11521. "type": "integer"
  11522. },
  11523. "marginalgorithm": {
  11524. "description": "保证金收取方式 1:比率 2:固定",
  11525. "type": "integer"
  11526. },
  11527. "marginvalue": {
  11528. "description": "即市保证金设置值",
  11529. "type": "number"
  11530. },
  11531. "marketid": {
  11532. "description": "市场ID",
  11533. "type": "integer"
  11534. },
  11535. "marketmaxsub": {
  11536. "description": "市价最大偏移范围",
  11537. "type": "number"
  11538. },
  11539. "memberuserid": {
  11540. "description": "所属会员UserID",
  11541. "type": "integer"
  11542. },
  11543. "openexchagechargevalue": {
  11544. "description": "建仓交易所手续费设置值",
  11545. "type": "number"
  11546. },
  11547. "openfeealgorithm": {
  11548. "description": "建仓手续费收取方式 1:比率 2:固定",
  11549. "type": "integer"
  11550. },
  11551. "openfreezecharge": {
  11552. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11553. "type": "number"
  11554. },
  11555. "openmemberchargevalue": {
  11556. "description": "建仓会员手续费设置值",
  11557. "type": "number"
  11558. },
  11559. "openqty": {
  11560. "description": "开仓数量(先建后平操作,需要记录)",
  11561. "type": "integer"
  11562. },
  11563. "opentradeqty": {
  11564. "description": "开仓成交数量(先建后平操作,需要记录)",
  11565. "type": "integer"
  11566. },
  11567. "openunfreezecharge": {
  11568. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11569. "type": "number"
  11570. },
  11571. "operatetype": {
  11572. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11573. "type": "integer"
  11574. },
  11575. "operatorid": {
  11576. "description": "登录账号(LoginID)",
  11577. "type": "integer"
  11578. },
  11579. "optiontype": {
  11580. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11581. "type": "integer"
  11582. },
  11583. "orderprice": {
  11584. "description": "委托价格",
  11585. "type": "number"
  11586. },
  11587. "orderqty": {
  11588. "description": "委托数量",
  11589. "type": "integer"
  11590. },
  11591. "ordersrc": {
  11592. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11593. "type": "integer"
  11594. },
  11595. "orderstatus": {
  11596. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11597. "type": "integer"
  11598. },
  11599. "ordertime": {
  11600. "description": "委托时间",
  11601. "type": "string"
  11602. },
  11603. "preexerciseprice": {
  11604. "description": "预申报价格",
  11605. "type": "number"
  11606. },
  11607. "premium": {
  11608. "description": "权利金",
  11609. "type": "number"
  11610. },
  11611. "preorderid": {
  11612. "description": "关联预埋单号(止盈止损单时填写)",
  11613. "type": "integer"
  11614. },
  11615. "pricemode": {
  11616. "description": "取价方式 - 1:市价 2: 限价",
  11617. "type": "integer"
  11618. },
  11619. "quoteid": {
  11620. "description": "报价单ID",
  11621. "type": "integer"
  11622. },
  11623. "relatedid": {
  11624. "description": "关联单号(交割单)",
  11625. "type": "integer"
  11626. },
  11627. "retcode": {
  11628. "description": "错误代码",
  11629. "type": "integer"
  11630. },
  11631. "sessionid": {
  11632. "description": "会话ID",
  11633. "type": "integer"
  11634. },
  11635. "strorderid": {
  11636. "description": "委托单号",
  11637. "type": "string"
  11638. },
  11639. "tradedate": {
  11640. "description": "交易日(yyyyMMdd)",
  11641. "type": "string"
  11642. },
  11643. "tradeproperty": {
  11644. "description": "交易属性",
  11645. "type": "integer"
  11646. },
  11647. "tradeqty": {
  11648. "description": "成交数量",
  11649. "type": "integer"
  11650. },
  11651. "unfreezecharge": {
  11652. "description": "解冻手续费",
  11653. "type": "number"
  11654. },
  11655. "unfreezemargin": {
  11656. "description": "解冻保证金",
  11657. "type": "number"
  11658. },
  11659. "updatetime": {
  11660. "description": "更新时间",
  11661. "type": "string"
  11662. },
  11663. "uuid": {
  11664. "description": "发起端唯一id",
  11665. "type": "string"
  11666. },
  11667. "validtime": {
  11668. "description": "有效期限",
  11669. "type": "string"
  11670. },
  11671. "validtype": {
  11672. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11673. "type": "integer"
  11674. },
  11675. "volumetype": {
  11676. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11677. "type": "integer"
  11678. }
  11679. }
  11680. },
  11681. "cptrade.QueryMyCPTradeGoodsRsp": {
  11682. "type": "object",
  11683. "required": [
  11684. "goodscode",
  11685. "goodsid",
  11686. "goodsname",
  11687. "marketid",
  11688. "relatedgoodscode",
  11689. "relatedgoodsname"
  11690. ],
  11691. "properties": {
  11692. "accountid": {
  11693. "description": "卖方账户ID",
  11694. "type": "integer"
  11695. },
  11696. "agreeunit": {
  11697. "description": "合约单位",
  11698. "type": "number"
  11699. },
  11700. "applyid": {
  11701. "description": "关联申请ID",
  11702. "type": "integer"
  11703. },
  11704. "attachmenturl": {
  11705. "description": "附件地址",
  11706. "type": "string"
  11707. },
  11708. "createtime": {
  11709. "description": "创建时间",
  11710. "type": "string"
  11711. },
  11712. "currencyid": {
  11713. "description": "报价货币ID",
  11714. "type": "integer"
  11715. },
  11716. "decimalplace": {
  11717. "description": "报价小数位",
  11718. "type": "integer"
  11719. },
  11720. "endtime": {
  11721. "description": "预售结束时间",
  11722. "type": "string"
  11723. },
  11724. "floorprice": {
  11725. "description": "底价[大宗式竞拍]",
  11726. "type": "number"
  11727. },
  11728. "goodscode": {
  11729. "description": "商品代码(预售)",
  11730. "type": "string"
  11731. },
  11732. "goodsdetail": {
  11733. "description": "详情[大宗]",
  11734. "type": "string"
  11735. },
  11736. "goodsid": {
  11737. "description": "商品ID(自增ID SEQ_GOODS)",
  11738. "type": "integer"
  11739. },
  11740. "goodsname": {
  11741. "description": "商品名称(预售)",
  11742. "type": "string"
  11743. },
  11744. "goodunit": {
  11745. "description": "报价单位",
  11746. "type": "string"
  11747. },
  11748. "goodunitid": {
  11749. "description": "报价单位ID",
  11750. "type": "integer"
  11751. },
  11752. "marketid": {
  11753. "description": "所属市场ID",
  11754. "type": "integer"
  11755. },
  11756. "marketname": {
  11757. "description": "预售市场名称",
  11758. "type": "string"
  11759. },
  11760. "presaledamount": {
  11761. "description": "已预售总金额(预售结束时更新)",
  11762. "type": "number"
  11763. },
  11764. "presaledqty": {
  11765. "description": "已预售量(预售结束时更新)",
  11766. "type": "integer"
  11767. },
  11768. "presalemode": {
  11769. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11770. "type": "integer"
  11771. },
  11772. "presaleqty": {
  11773. "description": "预售数量",
  11774. "type": "integer"
  11775. },
  11776. "refprice": {
  11777. "description": "参考价格[一口价]",
  11778. "type": "number"
  11779. },
  11780. "relatedgoodscode": {
  11781. "description": "商品代码(订单)",
  11782. "type": "string"
  11783. },
  11784. "relatedgoodsid": {
  11785. "description": "关联交易合约ID",
  11786. "type": "integer"
  11787. },
  11788. "relatedgoodsname": {
  11789. "description": "商品名称(订单)",
  11790. "type": "string"
  11791. },
  11792. "relatedmarketid": {
  11793. "description": "关联交易合约市场ID",
  11794. "type": "integer"
  11795. },
  11796. "sellstatus": {
  11797. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11798. "type": "integer"
  11799. },
  11800. "startprice": {
  11801. "description": "起拍价[大宗式竞拍]",
  11802. "type": "number"
  11803. },
  11804. "starttime": {
  11805. "description": "预售开始时间",
  11806. "type": "string"
  11807. },
  11808. "tradedate": {
  11809. "description": "交易日(yyyyMMdd)",
  11810. "type": "string"
  11811. },
  11812. "tradeprice": {
  11813. "description": "成交价[大宗]",
  11814. "type": "number"
  11815. },
  11816. "userid": {
  11817. "description": "卖方用户ID",
  11818. "type": "integer"
  11819. }
  11820. }
  11821. },
  11822. "cptrade.QueryPresaleGoodsExRsp": {
  11823. "type": "object",
  11824. "required": [
  11825. "goodsid"
  11826. ],
  11827. "properties": {
  11828. "attachmenturl": {
  11829. "description": "附件地址",
  11830. "type": "string"
  11831. },
  11832. "createtime": {
  11833. "description": "创建时间",
  11834. "type": "string"
  11835. },
  11836. "endtime": {
  11837. "description": "预售结束时间",
  11838. "type": "string"
  11839. },
  11840. "floorprice": {
  11841. "description": "底价[大宗式竞拍]",
  11842. "type": "number"
  11843. },
  11844. "goodsdetail": {
  11845. "description": "详情[大宗]",
  11846. "type": "string"
  11847. },
  11848. "goodsid": {
  11849. "description": "商品ID(预售)",
  11850. "type": "integer"
  11851. },
  11852. "goodunit": {
  11853. "description": "报价单位",
  11854. "type": "string"
  11855. },
  11856. "marketid": {
  11857. "description": "预售市场ID - 根据预售模式选择市场",
  11858. "type": "integer"
  11859. },
  11860. "presaledamount": {
  11861. "description": "已预售总金额(预售结束时更新)",
  11862. "type": "number"
  11863. },
  11864. "presaledqty": {
  11865. "description": "已预售量(预售结束时更新)",
  11866. "type": "integer"
  11867. },
  11868. "presalemode": {
  11869. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11870. "type": "integer"
  11871. },
  11872. "presaleqty": {
  11873. "description": "预售数量",
  11874. "type": "integer"
  11875. },
  11876. "refprice": {
  11877. "description": "参考价格[一口价]",
  11878. "type": "number"
  11879. },
  11880. "relatedgoodsid": {
  11881. "description": "关联交易合约ID",
  11882. "type": "integer"
  11883. },
  11884. "relatedmarketid": {
  11885. "description": "关联交易合约市场ID",
  11886. "type": "integer"
  11887. },
  11888. "sellstatus": {
  11889. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11890. "type": "integer"
  11891. },
  11892. "startprice": {
  11893. "description": "起拍价[大宗式竞拍]",
  11894. "type": "number"
  11895. },
  11896. "starttime": {
  11897. "description": "预售开始时间",
  11898. "type": "string"
  11899. },
  11900. "tradedate": {
  11901. "description": "交易日(yyyyMMdd)",
  11902. "type": "string"
  11903. },
  11904. "tradeprice": {
  11905. "description": "成交价[大宗]",
  11906. "type": "number"
  11907. }
  11908. }
  11909. },
  11910. "delivery.QueryDeliveryRelationRsp": {
  11911. "type": "object",
  11912. "required": [
  11913. "begindate",
  11914. "enddate",
  11915. "goodsid",
  11916. "mindeliveryqty",
  11917. "xdeliveryratio"
  11918. ],
  11919. "properties": {
  11920. "begindate": {
  11921. "description": "起始日期(yyyyMMdd)",
  11922. "type": "string"
  11923. },
  11924. "buytemplateid": {
  11925. "description": "买履约计划模板ID",
  11926. "type": "integer"
  11927. },
  11928. "deliverygoodscode": {
  11929. "description": "品种代码",
  11930. "type": "string"
  11931. },
  11932. "deliverygoodsid": {
  11933. "description": "交割商品",
  11934. "type": "integer"
  11935. },
  11936. "deliverygoodsname": {
  11937. "description": "品种名称",
  11938. "type": "string"
  11939. },
  11940. "deliverymode": {
  11941. "description": "交割方式 - 1:点选式 2:申报式",
  11942. "type": "integer"
  11943. },
  11944. "deliverypricerule": {
  11945. "description": "交割价规则- 1:行情价 2:建仓价",
  11946. "type": "integer"
  11947. },
  11948. "deliverytype": {
  11949. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  11950. "type": "integer"
  11951. },
  11952. "enddate": {
  11953. "description": "结束日期(yyyyMMdd)",
  11954. "type": "string"
  11955. },
  11956. "goodscode": {
  11957. "description": "商品代码",
  11958. "type": "string"
  11959. },
  11960. "goodsid": {
  11961. "description": "交易合约ID",
  11962. "type": "integer"
  11963. },
  11964. "goodsname": {
  11965. "description": "商品名称",
  11966. "type": "string"
  11967. },
  11968. "marketid": {
  11969. "description": "市场ID",
  11970. "type": "integer"
  11971. },
  11972. "mindeliveryqty": {
  11973. "description": "最小交割系数(K)",
  11974. "type": "integer"
  11975. },
  11976. "p2deliveryprice": {
  11977. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  11978. "type": "number"
  11979. },
  11980. "p2deliveryratio": {
  11981. "description": "P2合约系数(p)",
  11982. "type": "integer"
  11983. },
  11984. "p2goodsid": {
  11985. "description": "P2合约ID",
  11986. "type": "integer"
  11987. },
  11988. "p2pricemode": {
  11989. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  11990. "type": "integer"
  11991. },
  11992. "pdeliveryprice": {
  11993. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  11994. "type": "number"
  11995. },
  11996. "pdeliveryratio": {
  11997. "description": "P合约系数(n)",
  11998. "type": "integer"
  11999. },
  12000. "pgoodsid": {
  12001. "description": "P合约ID",
  12002. "type": "integer"
  12003. },
  12004. "ppricemode": {
  12005. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12006. "type": "integer"
  12007. },
  12008. "rratio": {
  12009. "description": "兑换系数(R)",
  12010. "type": "integer"
  12011. },
  12012. "rratio1": {
  12013. "description": "兑换系数(交易合约)(R1)",
  12014. "type": "integer"
  12015. },
  12016. "rratio2": {
  12017. "description": "兑换系数(仓单标准)(R2)",
  12018. "type": "integer"
  12019. },
  12020. "selltemplateid": {
  12021. "description": "卖履约计划模板ID",
  12022. "type": "integer"
  12023. },
  12024. "wrstandardid": {
  12025. "description": "仓单标准ID",
  12026. "type": "integer"
  12027. },
  12028. "xdeliveryratio": {
  12029. "description": "交易合约系数(m)",
  12030. "type": "integer"
  12031. }
  12032. }
  12033. },
  12034. "ermcp.ExposureDetailRsp": {
  12035. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12036. },
  12037. "ermcp.ExposureHedgePosDetailRsp": {
  12038. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12039. },
  12040. "ermcp.ExposureHedgePositionRsp": {
  12041. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12042. },
  12043. "ermcp.ExposureSpotDetailRsp": {
  12044. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12045. },
  12046. "ermcp.ExposureSpotRsp": {
  12047. "$ref": "#/definitions/models.AreaSpotModel"
  12048. },
  12049. "ermcp.HisExposureRsp": {
  12050. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12051. },
  12052. "ermcp.PendingAuditCntRsp": {
  12053. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12054. },
  12055. "ermcp.QryAvalidGPRsp": {
  12056. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12057. },
  12058. "ermcp.QryBusinessDjRsp": {
  12059. "type": "object",
  12060. "properties": {
  12061. "amount": {
  12062. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12063. "type": "number"
  12064. },
  12065. "applyid": {
  12066. "description": "申请人",
  12067. "type": "string"
  12068. },
  12069. "applyname": {
  12070. "description": "申请人名称",
  12071. "type": "string"
  12072. },
  12073. "applystatus": {
  12074. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12075. "type": "integer"
  12076. },
  12077. "applytime": {
  12078. "description": "申请时间",
  12079. "type": "string"
  12080. },
  12081. "attachurl": {
  12082. "description": "附件",
  12083. "type": "string"
  12084. },
  12085. "auditid": {
  12086. "description": "审核人ID",
  12087. "type": "string"
  12088. },
  12089. "auditname": {
  12090. "description": "审核人名称",
  12091. "type": "string"
  12092. },
  12093. "audittime": {
  12094. "description": "审核时间",
  12095. "type": "string"
  12096. },
  12097. "buyusername": {
  12098. "description": "采购方名称",
  12099. "type": "string"
  12100. },
  12101. "contractno": {
  12102. "description": "合同编号",
  12103. "type": "string"
  12104. },
  12105. "contractstatus": {
  12106. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12107. "type": "integer"
  12108. },
  12109. "contracttype": {
  12110. "description": "现货合同类型 - 1:采购 -1:销售",
  12111. "type": "integer"
  12112. },
  12113. "deliverygoodscode": {
  12114. "description": "现货品种代码",
  12115. "type": "string"
  12116. },
  12117. "deliverygoodsid": {
  12118. "description": "现货商品ID",
  12119. "type": "integer"
  12120. },
  12121. "deliverygoodsname": {
  12122. "description": "现货品种名称",
  12123. "type": "string"
  12124. },
  12125. "enumdicname": {
  12126. "description": "单位名称",
  12127. "type": "string"
  12128. },
  12129. "goodscode": {
  12130. "description": "点价合约",
  12131. "type": "string"
  12132. },
  12133. "goodsname": {
  12134. "description": "商品名称",
  12135. "type": "string"
  12136. },
  12137. "operateapplyid": {
  12138. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12139. "type": "string"
  12140. },
  12141. "operateapplytype": {
  12142. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12143. "type": "integer"
  12144. },
  12145. "pricedPrice": {
  12146. "description": "点价价格(非必填)",
  12147. "type": "number"
  12148. },
  12149. "pricedQty": {
  12150. "description": "点价数量(非必填)",
  12151. "type": "number"
  12152. },
  12153. "pricemove": {
  12154. "description": "升贴水",
  12155. "type": "number"
  12156. },
  12157. "pricetype": {
  12158. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12159. "type": "integer"
  12160. },
  12161. "relatedid": {
  12162. "description": "现货合同ID",
  12163. "type": "string"
  12164. },
  12165. "sellusername": {
  12166. "description": "销售方名字",
  12167. "type": "string"
  12168. },
  12169. "userid": {
  12170. "description": "用户ID",
  12171. "type": "integer"
  12172. },
  12173. "wrstandardcode": {
  12174. "description": "品类代码",
  12175. "type": "string"
  12176. },
  12177. "wrstandardid": {
  12178. "description": "品类id",
  12179. "type": "integer"
  12180. },
  12181. "wrstandardname": {
  12182. "description": "品类名称",
  12183. "type": "string"
  12184. }
  12185. }
  12186. },
  12187. "ermcp.QryBussinessFpRsp": {
  12188. "type": "object",
  12189. "properties": {
  12190. "applyid": {
  12191. "description": "申请人",
  12192. "type": "string"
  12193. },
  12194. "applyname": {
  12195. "description": "申请人名称",
  12196. "type": "string"
  12197. },
  12198. "applystatus": {
  12199. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12200. "type": "integer"
  12201. },
  12202. "applytime": {
  12203. "description": "申请时间",
  12204. "type": "string"
  12205. },
  12206. "attachurl": {
  12207. "description": "附件",
  12208. "type": "string"
  12209. },
  12210. "auditid": {
  12211. "description": "审核人ID",
  12212. "type": "string"
  12213. },
  12214. "auditname": {
  12215. "description": "审核人名称",
  12216. "type": "string"
  12217. },
  12218. "audittime": {
  12219. "description": "审核时间",
  12220. "type": "string"
  12221. },
  12222. "buyusername": {
  12223. "description": "采购方名称",
  12224. "type": "string"
  12225. },
  12226. "contractno": {
  12227. "description": "合同编号",
  12228. "type": "string"
  12229. },
  12230. "contractstatus": {
  12231. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12232. "type": "integer"
  12233. },
  12234. "contracttype": {
  12235. "description": "现货合同类型 - 1:采购 -1:销售",
  12236. "type": "integer"
  12237. },
  12238. "deliverygoodscode": {
  12239. "description": "现货品种代码",
  12240. "type": "string"
  12241. },
  12242. "deliverygoodsid": {
  12243. "description": "现货商品ID",
  12244. "type": "integer"
  12245. },
  12246. "deliverygoodsname": {
  12247. "description": "现货品种名称",
  12248. "type": "string"
  12249. },
  12250. "enumdicname": {
  12251. "description": "单位名称",
  12252. "type": "string"
  12253. },
  12254. "goodscode": {
  12255. "description": "点价合约",
  12256. "type": "string"
  12257. },
  12258. "goodsname": {
  12259. "description": "商品名称",
  12260. "type": "string"
  12261. },
  12262. "invoiceAmount": {
  12263. "description": "已开收票金额(销售为开票,采购为收票)",
  12264. "type": "number"
  12265. },
  12266. "operateapplyid": {
  12267. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12268. "type": "string"
  12269. },
  12270. "operateapplytype": {
  12271. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12272. "type": "integer"
  12273. },
  12274. "pricemove": {
  12275. "description": "升贴水",
  12276. "type": "number"
  12277. },
  12278. "pricetype": {
  12279. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12280. "type": "integer"
  12281. },
  12282. "relatedid": {
  12283. "description": "现货合同ID",
  12284. "type": "string"
  12285. },
  12286. "sellusername": {
  12287. "description": "销售方名字",
  12288. "type": "string"
  12289. },
  12290. "userid": {
  12291. "description": "用户ID",
  12292. "type": "integer"
  12293. },
  12294. "wrstandardcode": {
  12295. "description": "品类代码",
  12296. "type": "string"
  12297. },
  12298. "wrstandardid": {
  12299. "description": "品类id",
  12300. "type": "integer"
  12301. },
  12302. "wrstandardname": {
  12303. "description": "品类名称",
  12304. "type": "string"
  12305. }
  12306. }
  12307. },
  12308. "ermcp.QryBussinessJsExRsp": {
  12309. "type": "object",
  12310. "properties": {
  12311. "applyid": {
  12312. "description": "申请人",
  12313. "type": "string"
  12314. },
  12315. "applyname": {
  12316. "description": "申请人名称",
  12317. "type": "string"
  12318. },
  12319. "applystatus": {
  12320. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12321. "type": "integer"
  12322. },
  12323. "applytime": {
  12324. "description": "申请时间",
  12325. "type": "string"
  12326. },
  12327. "attachurl": {
  12328. "description": "附件",
  12329. "type": "string"
  12330. },
  12331. "auditid": {
  12332. "description": "审核人ID",
  12333. "type": "string"
  12334. },
  12335. "auditname": {
  12336. "description": "审核人名称",
  12337. "type": "string"
  12338. },
  12339. "audittime": {
  12340. "description": "审核时间",
  12341. "type": "string"
  12342. },
  12343. "buyusername": {
  12344. "description": "采购方名称",
  12345. "type": "string"
  12346. },
  12347. "contractno": {
  12348. "description": "合同编号",
  12349. "type": "string"
  12350. },
  12351. "contractstatus": {
  12352. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12353. "type": "integer"
  12354. },
  12355. "contracttype": {
  12356. "description": "现货合同类型 - 1:采购 -1:销售",
  12357. "type": "integer"
  12358. },
  12359. "deliverygoodscode": {
  12360. "description": "现货品种代码",
  12361. "type": "string"
  12362. },
  12363. "deliverygoodsid": {
  12364. "description": "现货商品ID",
  12365. "type": "integer"
  12366. },
  12367. "deliverygoodsname": {
  12368. "description": "现货品种名称",
  12369. "type": "string"
  12370. },
  12371. "enumdicname": {
  12372. "description": "单位名称",
  12373. "type": "string"
  12374. },
  12375. "goodscode": {
  12376. "description": "点价合约",
  12377. "type": "string"
  12378. },
  12379. "goodsname": {
  12380. "description": "商品名称",
  12381. "type": "string"
  12382. },
  12383. "operateapplyid": {
  12384. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12385. "type": "string"
  12386. },
  12387. "operateapplytype": {
  12388. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12389. "type": "integer"
  12390. },
  12391. "pricemove": {
  12392. "description": "升贴水",
  12393. "type": "number"
  12394. },
  12395. "pricetype": {
  12396. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12397. "type": "integer"
  12398. },
  12399. "reckontype": {
  12400. "description": "结算类型",
  12401. "type": "string"
  12402. },
  12403. "reckonvalue": {
  12404. "description": "值",
  12405. "type": "number"
  12406. },
  12407. "relatedid": {
  12408. "description": "现货合同ID",
  12409. "type": "string"
  12410. },
  12411. "sellusername": {
  12412. "description": "销售方名字",
  12413. "type": "string"
  12414. },
  12415. "userid": {
  12416. "description": "用户ID",
  12417. "type": "integer"
  12418. },
  12419. "wrstandardcode": {
  12420. "description": "品类代码",
  12421. "type": "string"
  12422. },
  12423. "wrstandardid": {
  12424. "description": "品类id",
  12425. "type": "integer"
  12426. },
  12427. "wrstandardname": {
  12428. "description": "品类名称",
  12429. "type": "string"
  12430. }
  12431. }
  12432. },
  12433. "ermcp.QryBussinessJsRsp": {
  12434. "type": "object",
  12435. "properties": {
  12436. "addmargin": {
  12437. "description": "追加保证金(非必填)",
  12438. "type": "number"
  12439. },
  12440. "applyid": {
  12441. "description": "申请人",
  12442. "type": "string"
  12443. },
  12444. "applyname": {
  12445. "description": "申请人名称",
  12446. "type": "string"
  12447. },
  12448. "applystatus": {
  12449. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12450. "type": "integer"
  12451. },
  12452. "applytime": {
  12453. "description": "申请时间",
  12454. "type": "string"
  12455. },
  12456. "attachurl": {
  12457. "description": "附件",
  12458. "type": "string"
  12459. },
  12460. "auditid": {
  12461. "description": "审核人ID",
  12462. "type": "string"
  12463. },
  12464. "auditname": {
  12465. "description": "审核人名称",
  12466. "type": "string"
  12467. },
  12468. "audittime": {
  12469. "description": "审核时间",
  12470. "type": "string"
  12471. },
  12472. "buyusername": {
  12473. "description": "采购方名称",
  12474. "type": "string"
  12475. },
  12476. "contractno": {
  12477. "description": "合同编号",
  12478. "type": "string"
  12479. },
  12480. "contractstatus": {
  12481. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12482. "type": "integer"
  12483. },
  12484. "contracttype": {
  12485. "description": "现货合同类型 - 1:采购 -1:销售",
  12486. "type": "integer"
  12487. },
  12488. "decmargin": {
  12489. "description": "减少保证金(非必填)",
  12490. "type": "number"
  12491. },
  12492. "deliverygoodscode": {
  12493. "description": "现货品种代码",
  12494. "type": "string"
  12495. },
  12496. "deliverygoodsid": {
  12497. "description": "现货商品ID",
  12498. "type": "integer"
  12499. },
  12500. "deliverygoodsname": {
  12501. "description": "现货品种名称",
  12502. "type": "string"
  12503. },
  12504. "enumdicname": {
  12505. "description": "单位名称",
  12506. "type": "string"
  12507. },
  12508. "goodscode": {
  12509. "description": "点价合约",
  12510. "type": "string"
  12511. },
  12512. "goodsname": {
  12513. "description": "商品名称",
  12514. "type": "string"
  12515. },
  12516. "operateapplyid": {
  12517. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12518. "type": "string"
  12519. },
  12520. "operateapplytype": {
  12521. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12522. "type": "integer"
  12523. },
  12524. "pricemove": {
  12525. "description": "升贴水",
  12526. "type": "number"
  12527. },
  12528. "pricetype": {
  12529. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12530. "type": "integer"
  12531. },
  12532. "reckonadjustamount": {
  12533. "description": "结算调整金额(非必填)",
  12534. "type": "number"
  12535. },
  12536. "reckonosamount": {
  12537. "description": "结算溢短金额(非必填)",
  12538. "type": "number"
  12539. },
  12540. "reckonotheramount": {
  12541. "description": "结算其他费用(非必填)",
  12542. "type": "number"
  12543. },
  12544. "reckonrealqty": {
  12545. "description": "结算实际数量(非必填)",
  12546. "type": "number"
  12547. },
  12548. "relatedid": {
  12549. "description": "现货合同ID",
  12550. "type": "string"
  12551. },
  12552. "sellusername": {
  12553. "description": "销售方名字",
  12554. "type": "string"
  12555. },
  12556. "userid": {
  12557. "description": "用户ID",
  12558. "type": "integer"
  12559. },
  12560. "wrstandardcode": {
  12561. "description": "品类代码",
  12562. "type": "string"
  12563. },
  12564. "wrstandardid": {
  12565. "description": "品类id",
  12566. "type": "integer"
  12567. },
  12568. "wrstandardname": {
  12569. "description": "品类名称",
  12570. "type": "string"
  12571. }
  12572. }
  12573. },
  12574. "ermcp.QryBussinessKxRsp": {
  12575. "type": "object",
  12576. "properties": {
  12577. "applyid": {
  12578. "description": "申请人",
  12579. "type": "string"
  12580. },
  12581. "applyname": {
  12582. "description": "申请人名称",
  12583. "type": "string"
  12584. },
  12585. "applystatus": {
  12586. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12587. "type": "integer"
  12588. },
  12589. "applytime": {
  12590. "description": "申请时间",
  12591. "type": "string"
  12592. },
  12593. "attachurl": {
  12594. "description": "附件",
  12595. "type": "string"
  12596. },
  12597. "auditid": {
  12598. "description": "审核人ID",
  12599. "type": "string"
  12600. },
  12601. "auditname": {
  12602. "description": "审核人名称",
  12603. "type": "string"
  12604. },
  12605. "audittime": {
  12606. "description": "审核时间",
  12607. "type": "string"
  12608. },
  12609. "buyusername": {
  12610. "description": "采购方名称",
  12611. "type": "string"
  12612. },
  12613. "contractno": {
  12614. "description": "合同编号",
  12615. "type": "string"
  12616. },
  12617. "contractstatus": {
  12618. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12619. "type": "integer"
  12620. },
  12621. "contracttype": {
  12622. "description": "现货合同类型 - 1:采购 -1:销售",
  12623. "type": "integer"
  12624. },
  12625. "deductamount": {
  12626. "description": "退款(非必填)",
  12627. "type": "number"
  12628. },
  12629. "deliverygoodscode": {
  12630. "description": "现货品种代码",
  12631. "type": "string"
  12632. },
  12633. "deliverygoodsid": {
  12634. "description": "现货商品ID",
  12635. "type": "integer"
  12636. },
  12637. "deliverygoodsname": {
  12638. "description": "现货品种名称",
  12639. "type": "string"
  12640. },
  12641. "enumdicname": {
  12642. "description": "单位名称",
  12643. "type": "string"
  12644. },
  12645. "goodscode": {
  12646. "description": "点价合约",
  12647. "type": "string"
  12648. },
  12649. "goodsname": {
  12650. "description": "商品名称",
  12651. "type": "string"
  12652. },
  12653. "kxtype": {
  12654. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12655. "type": "integer"
  12656. },
  12657. "operateapplyid": {
  12658. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12659. "type": "string"
  12660. },
  12661. "operateapplytype": {
  12662. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12663. "type": "integer"
  12664. },
  12665. "payamount": {
  12666. "description": "收付款(非必填)",
  12667. "type": "number"
  12668. },
  12669. "pricemove": {
  12670. "description": "升贴水",
  12671. "type": "number"
  12672. },
  12673. "pricetype": {
  12674. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12675. "type": "integer"
  12676. },
  12677. "relatedid": {
  12678. "description": "现货合同ID",
  12679. "type": "string"
  12680. },
  12681. "sellusername": {
  12682. "description": "销售方名字",
  12683. "type": "string"
  12684. },
  12685. "userid": {
  12686. "description": "用户ID",
  12687. "type": "integer"
  12688. },
  12689. "wrstandardcode": {
  12690. "description": "品类代码",
  12691. "type": "string"
  12692. },
  12693. "wrstandardid": {
  12694. "description": "品类id",
  12695. "type": "integer"
  12696. },
  12697. "wrstandardname": {
  12698. "description": "品类名称",
  12699. "type": "string"
  12700. }
  12701. }
  12702. },
  12703. "ermcp.QryGGCovertCfgRsp": {
  12704. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12705. },
  12706. "ermcp.QryMGChangeLogRsp": {
  12707. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12708. },
  12709. "ermcp.QryMiddleGoodsDetailRsp": {
  12710. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12711. },
  12712. "ermcp.QryMiddleGoodsRsp": {
  12713. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12714. },
  12715. "ermcp.QryOPLogRsp": {
  12716. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12717. },
  12718. "ermcp.QryUserInfoRsp": {
  12719. "$ref": "#/definitions/models.ErmcpUserModel"
  12720. },
  12721. "ermcp.QryWarehouseRsp": {
  12722. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12723. },
  12724. "ermcp.QueryErmcpTradePositionRsp": {
  12725. "type": "object",
  12726. "properties": {
  12727. "agreeunit": {
  12728. "description": "合约单位",
  12729. "type": "number"
  12730. },
  12731. "buyorsell": {
  12732. "description": "方向 - 0:买 1:卖",
  12733. "type": "integer"
  12734. },
  12735. "curpositionqty": {
  12736. "description": "持仓(总仓数量, 期末头寸)",
  12737. "type": "integer"
  12738. },
  12739. "curtdposition": {
  12740. "description": "今仓数量(期末今日头寸)",
  12741. "type": "integer"
  12742. },
  12743. "curtdpositionenabled": {
  12744. "description": "今仓可用",
  12745. "type": "integer"
  12746. },
  12747. "decimalplace": {
  12748. "description": "报价小数位",
  12749. "type": "integer"
  12750. },
  12751. "enableqty": {
  12752. "description": "可用(总仓可用)",
  12753. "type": "integer"
  12754. },
  12755. "exexchangename": {
  12756. "description": "外部交易所名称",
  12757. "type": "string"
  12758. },
  12759. "goodscode": {
  12760. "description": "商品代码(内部)",
  12761. "type": "string"
  12762. },
  12763. "goodsid": {
  12764. "description": "商品ID(自增ID SEQ_GOODS)",
  12765. "type": "integer"
  12766. },
  12767. "goodsname": {
  12768. "description": "商品名称",
  12769. "type": "string"
  12770. },
  12771. "last": {
  12772. "description": "现价",
  12773. "type": "number"
  12774. },
  12775. "marketid": {
  12776. "description": "所属市场ID",
  12777. "type": "integer"
  12778. },
  12779. "openaverageprice": {
  12780. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12781. "type": "number"
  12782. },
  12783. "opencost": {
  12784. "description": "开仓成本",
  12785. "type": "number"
  12786. },
  12787. "openpl": {
  12788. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12789. "type": "number"
  12790. },
  12791. "outgoodscode": {
  12792. "description": "商品代码(外部)",
  12793. "type": "string"
  12794. },
  12795. "positionaverageprice": {
  12796. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12797. "type": "number"
  12798. },
  12799. "positioncost": {
  12800. "description": "持仓成本",
  12801. "type": "number"
  12802. },
  12803. "positionpl": {
  12804. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12805. "type": "number"
  12806. },
  12807. "positionplrate": {
  12808. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12809. "type": "number"
  12810. },
  12811. "usedmargin": {
  12812. "description": "占用保证金",
  12813. "type": "number"
  12814. }
  12815. }
  12816. },
  12817. "ermcp.RealtimeExposurePositionRsp": {
  12818. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12819. },
  12820. "ermcp.RealtimeExposureRsp": {
  12821. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12822. },
  12823. "erms2.QueryArbitrageStrategyRsp": {
  12824. "type": "object",
  12825. "required": [
  12826. "asapplyid"
  12827. ],
  12828. "properties": {
  12829. "applybasis": {
  12830. "description": "申请基差",
  12831. "type": "number"
  12832. },
  12833. "asapplyid": {
  12834. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12835. "type": "string"
  12836. },
  12837. "asname": {
  12838. "description": "策略名称",
  12839. "type": "string"
  12840. },
  12841. "asno": {
  12842. "description": "策略编号",
  12843. "type": "string"
  12844. },
  12845. "basischangepl": {
  12846. "description": "基差变动损益[结算更新]",
  12847. "type": "number"
  12848. },
  12849. "biztype": {
  12850. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12851. "type": "integer"
  12852. },
  12853. "closetradedate": {
  12854. "description": "完结交易日(yyyyMMdd)",
  12855. "type": "string"
  12856. },
  12857. "curbasis": {
  12858. "description": "当前基差[结算更新]",
  12859. "type": "number"
  12860. },
  12861. "deliverygoodsid": {
  12862. "description": "现货品种ID",
  12863. "type": "integer"
  12864. },
  12865. "futureavgprice": {
  12866. "description": "期货建仓均价",
  12867. "type": "number"
  12868. },
  12869. "futurecloseamount": {
  12870. "description": "期货平仓金额",
  12871. "type": "number"
  12872. },
  12873. "futurecloseqty": {
  12874. "description": "期货平仓数量",
  12875. "type": "number"
  12876. },
  12877. "futureopenamount": {
  12878. "description": "期货开仓金额",
  12879. "type": "number"
  12880. },
  12881. "futureopenqty": {
  12882. "description": "期货开仓数量",
  12883. "type": "number"
  12884. },
  12885. "futurepl": {
  12886. "description": "期货总盈亏[结算更新]",
  12887. "type": "number"
  12888. },
  12889. "futureqty": {
  12890. "description": "期货持仓数量",
  12891. "type": "number"
  12892. },
  12893. "futurequote": {
  12894. "description": "期货额度",
  12895. "type": "number"
  12896. },
  12897. "goodsgroupid": {
  12898. "description": "期货品种ID",
  12899. "type": "integer"
  12900. },
  12901. "marketid": {
  12902. "description": "市场ID",
  12903. "type": "integer"
  12904. },
  12905. "netexposure": {
  12906. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12907. "type": "number"
  12908. },
  12909. "netexposurepl": {
  12910. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  12911. "type": "number"
  12912. },
  12913. "netexposurerate": {
  12914. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  12915. "type": "number"
  12916. },
  12917. "openbasis": {
  12918. "description": "建仓基差",
  12919. "type": "number"
  12920. },
  12921. "pricedspotqty": {
  12922. "description": "已定价现货数量",
  12923. "type": "number"
  12924. },
  12925. "pricedspotqtynotax": {
  12926. "description": "已定价现货不含税数量",
  12927. "type": "number"
  12928. },
  12929. "remark": {
  12930. "description": "备注",
  12931. "type": "string"
  12932. },
  12933. "spotavgprice": {
  12934. "description": "现货均价",
  12935. "type": "number"
  12936. },
  12937. "spotbuyamount": {
  12938. "description": "现货采购金额",
  12939. "type": "number"
  12940. },
  12941. "spotbuyqty": {
  12942. "description": "现货采购数量",
  12943. "type": "number"
  12944. },
  12945. "spotpl": {
  12946. "description": "现货总盈亏[结算更新]",
  12947. "type": "number"
  12948. },
  12949. "spotquota": {
  12950. "description": "现货额度",
  12951. "type": "number"
  12952. },
  12953. "spotsellamount": {
  12954. "description": "现货销售金额",
  12955. "type": "number"
  12956. },
  12957. "spotsellqty": {
  12958. "description": "现货销售数量",
  12959. "type": "number"
  12960. },
  12961. "spotusedquota": {
  12962. "description": "现货占用资金",
  12963. "type": "number"
  12964. },
  12965. "strategystatus": {
  12966. "description": "策略状态 - 0:未结束 1:已结束",
  12967. "type": "integer"
  12968. },
  12969. "totalpl": {
  12970. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  12971. "type": "number"
  12972. },
  12973. "tradedate": {
  12974. "description": "交易日(yyyyMMdd)",
  12975. "type": "string"
  12976. },
  12977. "updatetime": {
  12978. "description": "更新时间",
  12979. "type": "string"
  12980. },
  12981. "usedquota": {
  12982. "description": "已占用资金",
  12983. "type": "number"
  12984. },
  12985. "userid": {
  12986. "description": "所属机构",
  12987. "type": "integer"
  12988. }
  12989. }
  12990. },
  12991. "erms2.QueryInnerTradeDetailRsp": {
  12992. "type": "object",
  12993. "required": [
  12994. "asapplyid",
  12995. "buyorsell",
  12996. "goodscode",
  12997. "goodsgroupid",
  12998. "goodsgroupname",
  12999. "goodsname",
  13000. "tradeid"
  13001. ],
  13002. "properties": {
  13003. "accountid": {
  13004. "description": "账号ID",
  13005. "type": "integer"
  13006. },
  13007. "agreeunit": {
  13008. "description": "合约单位",
  13009. "type": "number"
  13010. },
  13011. "asapplyid": {
  13012. "description": "策略申请ID",
  13013. "type": "integer"
  13014. },
  13015. "asname": {
  13016. "description": "策略名称",
  13017. "type": "string"
  13018. },
  13019. "asno": {
  13020. "description": "策略编号",
  13021. "type": "string"
  13022. },
  13023. "buyorsell": {
  13024. "description": "方向 - 0:买 1:卖",
  13025. "type": "integer"
  13026. },
  13027. "channelbuildtype": {
  13028. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13029. "type": "integer"
  13030. },
  13031. "closetype": {
  13032. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13033. "type": "integer"
  13034. },
  13035. "decimalplace": {
  13036. "description": "报价小数位",
  13037. "type": "integer"
  13038. },
  13039. "detailtype": {
  13040. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13041. "type": "integer"
  13042. },
  13043. "exexchangecode": {
  13044. "description": "外部交易所代码",
  13045. "type": "string"
  13046. },
  13047. "exexchangename": {
  13048. "description": "外部交易所名称",
  13049. "type": "string"
  13050. },
  13051. "goodscode": {
  13052. "description": "商品代码(合约)",
  13053. "type": "string"
  13054. },
  13055. "goodsgroupid": {
  13056. "description": "商品组ID(品种ID)",
  13057. "type": "integer"
  13058. },
  13059. "goodsgroupname": {
  13060. "description": "商品组名称(品种)",
  13061. "type": "string"
  13062. },
  13063. "goodsid": {
  13064. "description": "商品ID",
  13065. "type": "integer"
  13066. },
  13067. "goodsname": {
  13068. "description": "商品名称(合约)",
  13069. "type": "string"
  13070. },
  13071. "goodunit": {
  13072. "description": "报价单位",
  13073. "type": "string"
  13074. },
  13075. "marketid": {
  13076. "description": "市场ID",
  13077. "type": "integer"
  13078. },
  13079. "orderid": {
  13080. "description": "委托单号",
  13081. "type": "string"
  13082. },
  13083. "outgoodscode": {
  13084. "description": "商品代码(外部)",
  13085. "type": "string"
  13086. },
  13087. "relatedouttradeid": {
  13088. "description": "关联外部成交单ID",
  13089. "type": "string"
  13090. },
  13091. "remark": {
  13092. "description": "备注",
  13093. "type": "string"
  13094. },
  13095. "spotcontractid": {
  13096. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13097. "type": "integer"
  13098. },
  13099. "spotcontractno": {
  13100. "description": "现货合同编号",
  13101. "type": "string"
  13102. },
  13103. "tradeid": {
  13104. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13105. "type": "string"
  13106. },
  13107. "tradeprice": {
  13108. "description": "成交价格",
  13109. "type": "number"
  13110. },
  13111. "tradeqty": {
  13112. "description": "成交数量",
  13113. "type": "integer"
  13114. },
  13115. "tradetime": {
  13116. "description": "成交时间",
  13117. "type": "string"
  13118. },
  13119. "updatetime": {
  13120. "description": "更新时间",
  13121. "type": "string"
  13122. }
  13123. }
  13124. },
  13125. "erms2.QuerySpotContractRsp": {
  13126. "type": "object",
  13127. "required": [
  13128. "spotcontractid"
  13129. ],
  13130. "properties": {
  13131. "accountid": {
  13132. "description": "资金账户ID",
  13133. "type": "integer"
  13134. },
  13135. "areauserid": {
  13136. "description": "所属机构",
  13137. "type": "integer"
  13138. },
  13139. "closedate": {
  13140. "description": "终止日期",
  13141. "type": "string"
  13142. },
  13143. "closeremark": {
  13144. "description": "结束备注",
  13145. "type": "string"
  13146. },
  13147. "closetradedate": {
  13148. "description": "完结交易日(yyyyMMdd)",
  13149. "type": "string"
  13150. },
  13151. "closetype": {
  13152. "description": "终止类型 - 1:违约 2:提前终止",
  13153. "type": "integer"
  13154. },
  13155. "contractamount": {
  13156. "description": "合同金额",
  13157. "type": "number"
  13158. },
  13159. "contractattachment": {
  13160. "description": "合同附件",
  13161. "type": "string"
  13162. },
  13163. "contractno": {
  13164. "description": "现货合同编号",
  13165. "type": "string"
  13166. },
  13167. "contractqty": {
  13168. "description": "合同数量(数值) (用于计算)",
  13169. "type": "number"
  13170. },
  13171. "contractqtychar": {
  13172. "description": "合同数量\\已订价数量 (用于显示)",
  13173. "type": "string"
  13174. },
  13175. "contractstatus": {
  13176. "description": "合同状态 - 0:未结束 1:已结束",
  13177. "type": "integer"
  13178. },
  13179. "contracttype": {
  13180. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13181. "type": "integer"
  13182. },
  13183. "customeraccountid": {
  13184. "description": "客户资金账户ID",
  13185. "type": "integer"
  13186. },
  13187. "customeruserid": {
  13188. "description": "客户ID",
  13189. "type": "integer"
  13190. },
  13191. "deliverygoodsdesc": {
  13192. "description": "品种说明",
  13193. "type": "string"
  13194. },
  13195. "deliverygoodsid": {
  13196. "description": "现货品种ID",
  13197. "type": "integer"
  13198. },
  13199. "handlestatus": {
  13200. "description": "处理状态",
  13201. "type": "integer"
  13202. },
  13203. "invoiceatt": {
  13204. "description": "发票附件",
  13205. "type": "string"
  13206. },
  13207. "invoicedatetime": {
  13208. "description": "开收票更新时间",
  13209. "type": "string"
  13210. },
  13211. "invoiceopentime": {
  13212. "description": "开票时间",
  13213. "type": "string"
  13214. },
  13215. "invoiceremark": {
  13216. "description": "发票备注",
  13217. "type": "string"
  13218. },
  13219. "invoicestatus": {
  13220. "description": "开收票状态 - 0:未开票 1:已开票",
  13221. "type": "integer"
  13222. },
  13223. "lastdate": {
  13224. "description": "交货时间",
  13225. "type": "string"
  13226. },
  13227. "marketid": {
  13228. "description": "市场ID",
  13229. "type": "integer"
  13230. },
  13231. "paydatetime": {
  13232. "description": "收付款更新时间",
  13233. "type": "string"
  13234. },
  13235. "payremark": {
  13236. "description": "收付款备注",
  13237. "type": "string"
  13238. },
  13239. "paystatus": {
  13240. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13241. "type": "integer"
  13242. },
  13243. "positionqty": {
  13244. "description": "头寸数量 - 合同数量去小数部分",
  13245. "type": "integer"
  13246. },
  13247. "producttype": {
  13248. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13249. "type": "integer"
  13250. },
  13251. "relatedqty": {
  13252. "description": "已关联数量",
  13253. "type": "number"
  13254. },
  13255. "relatedstatus": {
  13256. "description": "关联完结状态 - 0:未结束 1:已结束",
  13257. "type": "integer"
  13258. },
  13259. "remark": {
  13260. "description": "备注",
  13261. "type": "string"
  13262. },
  13263. "signdate": {
  13264. "description": "签订日期",
  13265. "type": "string"
  13266. },
  13267. "spotcontractid": {
  13268. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13269. "type": "string"
  13270. },
  13271. "spotdatetime": {
  13272. "description": "收发货更新时间",
  13273. "type": "string"
  13274. },
  13275. "spotprice": {
  13276. "description": "价格",
  13277. "type": "number"
  13278. },
  13279. "spotremark": {
  13280. "description": "收发货备注",
  13281. "type": "string"
  13282. },
  13283. "spotstatus": {
  13284. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13285. "type": "integer"
  13286. },
  13287. "tradedate": {
  13288. "description": "交易日(yyyyMMdd)",
  13289. "type": "string"
  13290. },
  13291. "userid": {
  13292. "description": "业务员用户ID",
  13293. "type": "integer"
  13294. },
  13295. "warehouseid": {
  13296. "description": "仓库ID",
  13297. "type": "integer"
  13298. },
  13299. "wrfactortypeid": {
  13300. "description": "仓单要素类型ID",
  13301. "type": "integer"
  13302. },
  13303. "wrstandardid": {
  13304. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13305. "type": "integer"
  13306. }
  13307. }
  13308. },
  13309. "erms3.AddErms2ASApplyReq": {
  13310. "type": "object",
  13311. "required": [
  13312. "asapplyid"
  13313. ],
  13314. "properties": {
  13315. "applybasis": {
  13316. "description": "申请基差",
  13317. "type": "number"
  13318. },
  13319. "applystatus": {
  13320. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13321. "type": "integer"
  13322. },
  13323. "asapplyid": {
  13324. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13325. "type": "integer"
  13326. },
  13327. "asname": {
  13328. "description": "策略名称",
  13329. "type": "string"
  13330. },
  13331. "asno": {
  13332. "description": "策略编号",
  13333. "type": "string"
  13334. },
  13335. "auditid": {
  13336. "description": "审核人",
  13337. "type": "integer"
  13338. },
  13339. "auditremark": {
  13340. "description": "审核备注",
  13341. "type": "string"
  13342. },
  13343. "audittime": {
  13344. "description": "审核时间",
  13345. "type": "string"
  13346. },
  13347. "biztype": {
  13348. "description": "业务类型 - 1:正向套利 2:反向套利",
  13349. "type": "integer"
  13350. },
  13351. "createtime": {
  13352. "description": "创建时间",
  13353. "type": "string"
  13354. },
  13355. "creatorid": {
  13356. "description": "创建人",
  13357. "type": "integer"
  13358. },
  13359. "deliverygoodsid": {
  13360. "description": "现货品种ID",
  13361. "type": "integer"
  13362. },
  13363. "futurequote": {
  13364. "description": "期货额度",
  13365. "type": "number"
  13366. },
  13367. "goodsgroupid": {
  13368. "description": "期货品种ID",
  13369. "type": "integer"
  13370. },
  13371. "marketid": {
  13372. "description": "市场ID",
  13373. "type": "integer"
  13374. },
  13375. "remark": {
  13376. "description": "备注",
  13377. "type": "string"
  13378. },
  13379. "spotquota": {
  13380. "description": "现货额度",
  13381. "type": "number"
  13382. },
  13383. "tradedate": {
  13384. "description": "交易日(yyyyMMdd)",
  13385. "type": "string"
  13386. },
  13387. "userid": {
  13388. "description": "所属机构",
  13389. "type": "integer"
  13390. }
  13391. }
  13392. },
  13393. "erms3.AddErms2SpotTradeApplyReq": {
  13394. "type": "object",
  13395. "required": [
  13396. "spottradeid"
  13397. ],
  13398. "properties": {
  13399. "applyjsondetail": {
  13400. "description": "申请明细(JSON)",
  13401. "type": "string"
  13402. },
  13403. "applystatus": {
  13404. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13405. "type": "integer"
  13406. },
  13407. "areauserid": {
  13408. "description": "所属机构",
  13409. "type": "integer"
  13410. },
  13411. "auditid": {
  13412. "description": "审核人",
  13413. "type": "integer"
  13414. },
  13415. "auditremark": {
  13416. "description": "审核备注",
  13417. "type": "string"
  13418. },
  13419. "audittime": {
  13420. "description": "审核时间",
  13421. "type": "string"
  13422. },
  13423. "createtime": {
  13424. "description": "创建时间",
  13425. "type": "string"
  13426. },
  13427. "creatorid": {
  13428. "description": "创建人",
  13429. "type": "integer"
  13430. },
  13431. "deliverygoodsid": {
  13432. "description": "现货品种ID",
  13433. "type": "integer"
  13434. },
  13435. "futureaccountid": {
  13436. "description": "期货资金账户",
  13437. "type": "integer"
  13438. },
  13439. "goodsgroupid": {
  13440. "description": "期货品种",
  13441. "type": "integer"
  13442. },
  13443. "marketid": {
  13444. "description": "市场ID",
  13445. "type": "integer"
  13446. },
  13447. "remark": {
  13448. "description": "备注",
  13449. "type": "string"
  13450. },
  13451. "spotaccountid": {
  13452. "description": "现货资金账户",
  13453. "type": "integer"
  13454. },
  13455. "spottradeid": {
  13456. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13457. "type": "integer"
  13458. },
  13459. "spottradename": {
  13460. "description": "业务名称",
  13461. "type": "string"
  13462. },
  13463. "spottradeno": {
  13464. "description": "业务编号",
  13465. "type": "string"
  13466. },
  13467. "tradedate": {
  13468. "description": "交易日(yyyyMMdd)",
  13469. "type": "string"
  13470. },
  13471. "wrstandardid": {
  13472. "description": "仓单标准ID",
  13473. "type": "integer"
  13474. }
  13475. }
  13476. },
  13477. "erms3.AddSpotContractApplyReq": {
  13478. "type": "object",
  13479. "required": [
  13480. "accountid",
  13481. "areauserid",
  13482. "contractno",
  13483. "contracttype",
  13484. "customeraccountid",
  13485. "customeruserid",
  13486. "details",
  13487. "orimargin",
  13488. "signdate"
  13489. ],
  13490. "properties": {
  13491. "accountid": {
  13492. "description": "资金账户ID",
  13493. "type": "integer"
  13494. },
  13495. "areauserid": {
  13496. "description": "所属机构",
  13497. "type": "integer"
  13498. },
  13499. "contractattachment": {
  13500. "description": "合同附件",
  13501. "type": "string"
  13502. },
  13503. "contractno": {
  13504. "description": "现货合同编号",
  13505. "type": "string"
  13506. },
  13507. "contracttype": {
  13508. "description": "现货合同类型 - 1:采购 -1:销售",
  13509. "type": "integer"
  13510. },
  13511. "creatorid": {
  13512. "description": "申请人",
  13513. "type": "integer"
  13514. },
  13515. "customeraccountid": {
  13516. "description": "客户资金账户ID",
  13517. "type": "integer"
  13518. },
  13519. "customeruserid": {
  13520. "description": "客户ID",
  13521. "type": "integer"
  13522. },
  13523. "details": {
  13524. "description": "明细",
  13525. "type": "array",
  13526. "items": {
  13527. "$ref": "#/definitions/erms3.SoptContractDetail"
  13528. }
  13529. },
  13530. "orimargin": {
  13531. "description": "初始保证金",
  13532. "type": "number"
  13533. },
  13534. "remark": {
  13535. "description": "备注",
  13536. "type": "string"
  13537. },
  13538. "signdate": {
  13539. "description": "签订日期",
  13540. "type": "string"
  13541. }
  13542. }
  13543. },
  13544. "erms3.AddSpotContractApplyRsp": {
  13545. "type": "object",
  13546. "required": [
  13547. "contractno"
  13548. ],
  13549. "properties": {
  13550. "contractno": {
  13551. "description": "现货合同编号",
  13552. "type": "string"
  13553. },
  13554. "spotcontractid": {
  13555. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13556. "type": "integer"
  13557. }
  13558. }
  13559. },
  13560. "erms3.AddUserInfoApplyReq": {
  13561. "type": "object",
  13562. "required": [
  13563. "userid"
  13564. ],
  13565. "properties": {
  13566. "accountid": {
  13567. "description": "交易系统帐号Id (加密存储)",
  13568. "type": "integer"
  13569. },
  13570. "areacode": {
  13571. "description": "机构代码",
  13572. "type": "string"
  13573. },
  13574. "areaid": {
  13575. "description": "机构Id",
  13576. "type": "integer"
  13577. },
  13578. "attachment1": {
  13579. "description": "附件1",
  13580. "type": "string"
  13581. },
  13582. "attachment2": {
  13583. "description": "附件2",
  13584. "type": "string"
  13585. },
  13586. "attachment3": {
  13587. "description": "附件3",
  13588. "type": "string"
  13589. },
  13590. "attachment4": {
  13591. "description": "附件4",
  13592. "type": "string"
  13593. },
  13594. "attachment5": {
  13595. "description": "附件5",
  13596. "type": "string"
  13597. },
  13598. "auditedby": {
  13599. "description": "审核人",
  13600. "type": "string"
  13601. },
  13602. "auditime": {
  13603. "description": "审核时间",
  13604. "type": "string"
  13605. },
  13606. "auditsrc": {
  13607. "description": "审核来源 - 1:管理端 2:终端",
  13608. "type": "integer"
  13609. },
  13610. "bankaccount": {
  13611. "description": "银行帐号 (加密存储)",
  13612. "type": "string"
  13613. },
  13614. "bankaccountname": {
  13615. "description": "收款人名称",
  13616. "type": "string"
  13617. },
  13618. "bankcardbackphotourl": {
  13619. "description": "银行卡背面照地址",
  13620. "type": "string"
  13621. },
  13622. "bankcardfrontphotourl": {
  13623. "description": "银行卡正面照地址",
  13624. "type": "string"
  13625. },
  13626. "bankid": {
  13627. "description": "银行编码",
  13628. "type": "string"
  13629. },
  13630. "bankname": {
  13631. "description": "银行名称",
  13632. "type": "string"
  13633. },
  13634. "bankpictureurl": {
  13635. "description": "银行卡正面地址",
  13636. "type": "string"
  13637. },
  13638. "biznature": {
  13639. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13640. "type": "integer"
  13641. },
  13642. "bizscope": {
  13643. "description": "企业经营范围(企业)",
  13644. "type": "string"
  13645. },
  13646. "biztype": {
  13647. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13648. "type": "integer"
  13649. },
  13650. "brokerid": {
  13651. "description": "经纪人ID(加密存储)",
  13652. "type": "string"
  13653. },
  13654. "cardaddress": {
  13655. "description": "证件地址 (加密存储)",
  13656. "type": "string"
  13657. },
  13658. "cardbackphotourl": {
  13659. "description": "背面证件照地址",
  13660. "type": "string"
  13661. },
  13662. "cardfrontphotourl": {
  13663. "description": "正面证件照地址",
  13664. "type": "string"
  13665. },
  13666. "cardnum": {
  13667. "description": "证件号码 (加密存储)",
  13668. "type": "string"
  13669. },
  13670. "cardtype": {
  13671. "description": "证件类型",
  13672. "type": "integer"
  13673. },
  13674. "cityid": {
  13675. "description": "市",
  13676. "type": "integer"
  13677. },
  13678. "company": {
  13679. "description": "公司(个人)",
  13680. "type": "string"
  13681. },
  13682. "contactcardbackphotourl": {
  13683. "description": "联系人证件背面图片地址",
  13684. "type": "string"
  13685. },
  13686. "contactcardfrontphotourl": {
  13687. "description": "联系人证件正面图片地址",
  13688. "type": "string"
  13689. },
  13690. "contactname": {
  13691. "description": "联系人",
  13692. "type": "string"
  13693. },
  13694. "countryid": {
  13695. "description": "国家",
  13696. "type": "integer"
  13697. },
  13698. "createtime": {
  13699. "description": "开户申请时间",
  13700. "type": "string"
  13701. },
  13702. "cusbankid": {
  13703. "description": "签约类型",
  13704. "type": "string"
  13705. },
  13706. "cusbankname": {
  13707. "description": "签约类型名称",
  13708. "type": "string"
  13709. },
  13710. "customername": {
  13711. "description": "客户名称(企业名称)",
  13712. "type": "string"
  13713. },
  13714. "districtid": {
  13715. "description": "地区",
  13716. "type": "integer"
  13717. },
  13718. "email": {
  13719. "description": "Email地址(加密存储)",
  13720. "type": "string"
  13721. },
  13722. "halfbodyphotourl": {
  13723. "description": "半身照地址",
  13724. "type": "string"
  13725. },
  13726. "headurl": {
  13727. "description": "头像地址",
  13728. "type": "string"
  13729. },
  13730. "ipaddress": {
  13731. "description": "IP地址",
  13732. "type": "string"
  13733. },
  13734. "isvalidate": {
  13735. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13736. "type": "string"
  13737. },
  13738. "legalcardbackphotourl": {
  13739. "description": "法人身份证背面照地址",
  13740. "type": "string"
  13741. },
  13742. "legalcardfrontphotourl": {
  13743. "description": "法人身份证正面照地址",
  13744. "type": "string"
  13745. },
  13746. "legalpersonname": {
  13747. "description": "法人姓名(企业)",
  13748. "type": "string"
  13749. },
  13750. "logincode": {
  13751. "description": "登录帐号 (加密存储)",
  13752. "type": "string"
  13753. },
  13754. "memberareaid": {
  13755. "description": "所属会员ID",
  13756. "type": "integer"
  13757. },
  13758. "mobile2": {
  13759. "description": "手机号码[明文-尚志]",
  13760. "type": "string"
  13761. },
  13762. "mobilephone": {
  13763. "description": "手机号码 (加密存储)",
  13764. "type": "string"
  13765. },
  13766. "modifiedby": {
  13767. "description": "修改人帐号",
  13768. "type": "integer"
  13769. },
  13770. "modifiedtime": {
  13771. "description": "修改时间",
  13772. "type": "string"
  13773. },
  13774. "nickname": {
  13775. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13776. "type": "string"
  13777. },
  13778. "openmode": {
  13779. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13780. "type": "integer"
  13781. },
  13782. "otherurl": {
  13783. "description": "其它图片地址[使用分号分隔]",
  13784. "type": "string"
  13785. },
  13786. "postalcode": {
  13787. "description": "邮政编码",
  13788. "type": "string"
  13789. },
  13790. "provinceid": {
  13791. "description": "省",
  13792. "type": "integer"
  13793. },
  13794. "proxystatementurl": {
  13795. "description": "授权委托书",
  13796. "type": "string"
  13797. },
  13798. "qq": {
  13799. "description": "QQ(加密存储",
  13800. "type": "string"
  13801. },
  13802. "referral": {
  13803. "description": "推荐人编码",
  13804. "type": "string"
  13805. },
  13806. "remark": {
  13807. "description": "备注",
  13808. "type": "string"
  13809. },
  13810. "removebeforestatus": {
  13811. "description": "REMOVEBEFORESTATUS",
  13812. "type": "integer"
  13813. },
  13814. "sex": {
  13815. "description": "性别 - 0:女 1:男",
  13816. "type": "integer"
  13817. },
  13818. "signedstatus": {
  13819. "description": "账户一号签签约状态",
  13820. "type": "integer"
  13821. },
  13822. "signpdfurl": {
  13823. "description": "签约pdf文件",
  13824. "type": "string"
  13825. },
  13826. "subbranch": {
  13827. "description": "开户支行",
  13828. "type": "string"
  13829. },
  13830. "taxpayernum": {
  13831. "description": "纳税人识别号",
  13832. "type": "string"
  13833. },
  13834. "telphone": {
  13835. "description": "联系电话(加密存储)",
  13836. "type": "string"
  13837. },
  13838. "userid": {
  13839. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13840. "type": "integer"
  13841. },
  13842. "userinfotype": {
  13843. "description": "用户信息类型 - 1:个人 2:企业",
  13844. "type": "integer"
  13845. },
  13846. "username": {
  13847. "description": "用户姓名",
  13848. "type": "string"
  13849. },
  13850. "userstate": {
  13851. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13852. "type": "integer"
  13853. },
  13854. "usertype": {
  13855. "description": "用户类型 - 1:投资者 2:机构",
  13856. "type": "integer"
  13857. },
  13858. "videourl": {
  13859. "description": "视频地址",
  13860. "type": "string"
  13861. },
  13862. "wechat": {
  13863. "description": "微信号 (加密存储)",
  13864. "type": "string"
  13865. }
  13866. }
  13867. },
  13868. "erms3.CustomerInfo": {
  13869. "type": "object",
  13870. "required": [
  13871. "userid"
  13872. ],
  13873. "properties": {
  13874. "accountids": {
  13875. "description": "资金账户ID列表",
  13876. "type": "array",
  13877. "items": {
  13878. "type": "integer"
  13879. }
  13880. },
  13881. "customername": {
  13882. "description": "名称(企业名称)",
  13883. "type": "string"
  13884. },
  13885. "mobile": {
  13886. "description": "手机号码",
  13887. "type": "string"
  13888. },
  13889. "userid": {
  13890. "description": "用户ID",
  13891. "type": "integer"
  13892. }
  13893. }
  13894. },
  13895. "erms3.ModifyUserInfoApplyReq": {
  13896. "type": "object",
  13897. "required": [
  13898. "userid"
  13899. ],
  13900. "properties": {
  13901. "accountid": {
  13902. "description": "交易系统帐号Id (加密存储)",
  13903. "type": "integer"
  13904. },
  13905. "areacode": {
  13906. "description": "机构代码",
  13907. "type": "string"
  13908. },
  13909. "areaid": {
  13910. "description": "机构Id",
  13911. "type": "integer"
  13912. },
  13913. "attachment1": {
  13914. "description": "附件1",
  13915. "type": "string"
  13916. },
  13917. "attachment2": {
  13918. "description": "附件2",
  13919. "type": "string"
  13920. },
  13921. "attachment3": {
  13922. "description": "附件3",
  13923. "type": "string"
  13924. },
  13925. "attachment4": {
  13926. "description": "附件4",
  13927. "type": "string"
  13928. },
  13929. "attachment5": {
  13930. "description": "附件5",
  13931. "type": "string"
  13932. },
  13933. "auditedby": {
  13934. "description": "审核人",
  13935. "type": "string"
  13936. },
  13937. "auditime": {
  13938. "description": "审核时间",
  13939. "type": "string"
  13940. },
  13941. "auditsrc": {
  13942. "description": "审核来源 - 1:管理端 2:终端",
  13943. "type": "integer"
  13944. },
  13945. "bankaccount": {
  13946. "description": "银行帐号 (加密存储)",
  13947. "type": "string"
  13948. },
  13949. "bankaccountname": {
  13950. "description": "收款人名称",
  13951. "type": "string"
  13952. },
  13953. "bankcardbackphotourl": {
  13954. "description": "银行卡背面照地址",
  13955. "type": "string"
  13956. },
  13957. "bankcardfrontphotourl": {
  13958. "description": "银行卡正面照地址",
  13959. "type": "string"
  13960. },
  13961. "bankid": {
  13962. "description": "银行编码",
  13963. "type": "string"
  13964. },
  13965. "bankname": {
  13966. "description": "银行名称",
  13967. "type": "string"
  13968. },
  13969. "bankpictureurl": {
  13970. "description": "银行卡正面地址",
  13971. "type": "string"
  13972. },
  13973. "biznature": {
  13974. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13975. "type": "integer"
  13976. },
  13977. "bizscope": {
  13978. "description": "企业经营范围(企业)",
  13979. "type": "string"
  13980. },
  13981. "biztype": {
  13982. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13983. "type": "integer"
  13984. },
  13985. "brokerid": {
  13986. "description": "经纪人ID(加密存储)",
  13987. "type": "string"
  13988. },
  13989. "cardaddress": {
  13990. "description": "证件地址 (加密存储)",
  13991. "type": "string"
  13992. },
  13993. "cardbackphotourl": {
  13994. "description": "背面证件照地址",
  13995. "type": "string"
  13996. },
  13997. "cardfrontphotourl": {
  13998. "description": "正面证件照地址",
  13999. "type": "string"
  14000. },
  14001. "cardnum": {
  14002. "description": "证件号码 (加密存储)",
  14003. "type": "string"
  14004. },
  14005. "cardtype": {
  14006. "description": "证件类型",
  14007. "type": "integer"
  14008. },
  14009. "cityid": {
  14010. "description": "市",
  14011. "type": "integer"
  14012. },
  14013. "company": {
  14014. "description": "公司(个人)",
  14015. "type": "string"
  14016. },
  14017. "contactcardbackphotourl": {
  14018. "description": "联系人证件背面图片地址",
  14019. "type": "string"
  14020. },
  14021. "contactcardfrontphotourl": {
  14022. "description": "联系人证件正面图片地址",
  14023. "type": "string"
  14024. },
  14025. "contactname": {
  14026. "description": "联系人",
  14027. "type": "string"
  14028. },
  14029. "countryid": {
  14030. "description": "国家",
  14031. "type": "integer"
  14032. },
  14033. "createtime": {
  14034. "description": "开户申请时间",
  14035. "type": "string"
  14036. },
  14037. "cusbankid": {
  14038. "description": "签约类型",
  14039. "type": "string"
  14040. },
  14041. "cusbankname": {
  14042. "description": "签约类型名称",
  14043. "type": "string"
  14044. },
  14045. "customername": {
  14046. "description": "客户名称(企业名称)",
  14047. "type": "string"
  14048. },
  14049. "districtid": {
  14050. "description": "地区",
  14051. "type": "integer"
  14052. },
  14053. "email": {
  14054. "description": "Email地址(加密存储)",
  14055. "type": "string"
  14056. },
  14057. "halfbodyphotourl": {
  14058. "description": "半身照地址",
  14059. "type": "string"
  14060. },
  14061. "headurl": {
  14062. "description": "头像地址",
  14063. "type": "string"
  14064. },
  14065. "ipaddress": {
  14066. "description": "IP地址",
  14067. "type": "string"
  14068. },
  14069. "isvalidate": {
  14070. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14071. "type": "string"
  14072. },
  14073. "legalcardbackphotourl": {
  14074. "description": "法人身份证背面照地址",
  14075. "type": "string"
  14076. },
  14077. "legalcardfrontphotourl": {
  14078. "description": "法人身份证正面照地址",
  14079. "type": "string"
  14080. },
  14081. "legalpersonname": {
  14082. "description": "法人姓名(企业)",
  14083. "type": "string"
  14084. },
  14085. "logincode": {
  14086. "description": "登录帐号 (加密存储)",
  14087. "type": "string"
  14088. },
  14089. "memberareaid": {
  14090. "description": "所属会员ID",
  14091. "type": "integer"
  14092. },
  14093. "mobile2": {
  14094. "description": "手机号码[明文-尚志]",
  14095. "type": "string"
  14096. },
  14097. "mobilephone": {
  14098. "description": "手机号码 (加密存储)",
  14099. "type": "string"
  14100. },
  14101. "modifiedby": {
  14102. "description": "修改人帐号",
  14103. "type": "integer"
  14104. },
  14105. "modifiedtime": {
  14106. "description": "修改时间",
  14107. "type": "string"
  14108. },
  14109. "nickname": {
  14110. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14111. "type": "string"
  14112. },
  14113. "openmode": {
  14114. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14115. "type": "integer"
  14116. },
  14117. "otherurl": {
  14118. "description": "其它图片地址[使用分号分隔]",
  14119. "type": "string"
  14120. },
  14121. "postalcode": {
  14122. "description": "邮政编码",
  14123. "type": "string"
  14124. },
  14125. "provinceid": {
  14126. "description": "省",
  14127. "type": "integer"
  14128. },
  14129. "proxystatementurl": {
  14130. "description": "授权委托书",
  14131. "type": "string"
  14132. },
  14133. "qq": {
  14134. "description": "QQ(加密存储",
  14135. "type": "string"
  14136. },
  14137. "referral": {
  14138. "description": "推荐人编码",
  14139. "type": "string"
  14140. },
  14141. "remark": {
  14142. "description": "备注",
  14143. "type": "string"
  14144. },
  14145. "removebeforestatus": {
  14146. "description": "REMOVEBEFORESTATUS",
  14147. "type": "integer"
  14148. },
  14149. "sex": {
  14150. "description": "性别 - 0:女 1:男",
  14151. "type": "integer"
  14152. },
  14153. "signedstatus": {
  14154. "description": "账户一号签签约状态",
  14155. "type": "integer"
  14156. },
  14157. "signpdfurl": {
  14158. "description": "签约pdf文件",
  14159. "type": "string"
  14160. },
  14161. "subbranch": {
  14162. "description": "开户支行",
  14163. "type": "string"
  14164. },
  14165. "taxpayernum": {
  14166. "description": "纳税人识别号",
  14167. "type": "string"
  14168. },
  14169. "telphone": {
  14170. "description": "联系电话(加密存储)",
  14171. "type": "string"
  14172. },
  14173. "userid": {
  14174. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14175. "type": "integer"
  14176. },
  14177. "userinfotype": {
  14178. "description": "用户信息类型 - 1:个人 2:企业",
  14179. "type": "integer"
  14180. },
  14181. "username": {
  14182. "description": "用户姓名",
  14183. "type": "string"
  14184. },
  14185. "userstate": {
  14186. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14187. "type": "integer"
  14188. },
  14189. "usertype": {
  14190. "description": "用户类型 - 1:投资者 2:机构",
  14191. "type": "integer"
  14192. },
  14193. "videourl": {
  14194. "description": "视频地址",
  14195. "type": "string"
  14196. },
  14197. "wechat": {
  14198. "description": "微信号 (加密存储)",
  14199. "type": "string"
  14200. }
  14201. }
  14202. },
  14203. "erms3.QryAuditContractRsp": {
  14204. "type": "object",
  14205. "required": [
  14206. "matchcustomername",
  14207. "spotcontractid"
  14208. ],
  14209. "properties": {
  14210. "accountid": {
  14211. "description": "交易员ID",
  14212. "type": "string"
  14213. },
  14214. "applystatus": {
  14215. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14216. "type": "integer"
  14217. },
  14218. "curdeliveryqty": {
  14219. "description": "未交收量",
  14220. "type": "integer"
  14221. },
  14222. "customername": {
  14223. "description": "采购方ID",
  14224. "type": "string"
  14225. },
  14226. "deliverygoodsid": {
  14227. "description": "品种ID",
  14228. "type": "string"
  14229. },
  14230. "deliveryqty": {
  14231. "description": "交收量",
  14232. "type": "integer"
  14233. },
  14234. "enumdicname": {
  14235. "description": "单位名称",
  14236. "type": "string"
  14237. },
  14238. "matchaccountid": {
  14239. "description": "业务员ID",
  14240. "type": "string"
  14241. },
  14242. "matchcustomername": {
  14243. "description": "销售方ID",
  14244. "type": "string"
  14245. },
  14246. "pricedqty": {
  14247. "description": "定价量",
  14248. "type": "number"
  14249. },
  14250. "signdate": {
  14251. "description": "签订日期",
  14252. "type": "string"
  14253. },
  14254. "spotcontractid": {
  14255. "description": "合同ID",
  14256. "type": "string"
  14257. },
  14258. "totaldqty": {
  14259. "description": "合同量",
  14260. "type": "number"
  14261. },
  14262. "unpricedqty": {
  14263. "description": "未定价量",
  14264. "type": "number"
  14265. },
  14266. "wrstandardname": {
  14267. "description": "商品名称",
  14268. "type": "string"
  14269. }
  14270. }
  14271. },
  14272. "erms3.QryPendingBizRsp": {
  14273. "$ref": "#/definitions/models.PendingAuditBizModel"
  14274. },
  14275. "erms3.QueryBusinessInfoRsp": {
  14276. "type": "object",
  14277. "properties": {
  14278. "businessid": {
  14279. "description": "业务ID.",
  14280. "type": "integer"
  14281. },
  14282. "buyamount": {
  14283. "description": "采购额.",
  14284. "type": "number"
  14285. },
  14286. "buyqty": {
  14287. "description": "采购量.",
  14288. "type": "string"
  14289. },
  14290. "futurepl": {
  14291. "description": "期货盈亏.",
  14292. "type": "number"
  14293. },
  14294. "futureqty": {
  14295. "description": "期货敞口.",
  14296. "type": "string"
  14297. },
  14298. "goodsid": {
  14299. "description": "商品名称/商品代码.",
  14300. "type": "string"
  14301. },
  14302. "hedgingqty": {
  14303. "description": "套保量.",
  14304. "type": "string"
  14305. },
  14306. "sellamount": {
  14307. "description": "销售额.",
  14308. "type": "number"
  14309. },
  14310. "sellqty": {
  14311. "description": "销售量.",
  14312. "type": "string"
  14313. },
  14314. "spotmarketvalue": {
  14315. "description": "现货市值.",
  14316. "type": "number"
  14317. },
  14318. "spotpl": {
  14319. "description": "浮动权益.",
  14320. "type": "number"
  14321. },
  14322. "spotqty": {
  14323. "description": "现货量.",
  14324. "type": "string"
  14325. },
  14326. "statu": {
  14327. "description": "状态,0-未结束 1-已结束.",
  14328. "type": "integer"
  14329. },
  14330. "totalpl": {
  14331. "description": "总盈亏.",
  14332. "type": "number"
  14333. },
  14334. "totalqty": {
  14335. "description": "总敞口.",
  14336. "type": "string"
  14337. },
  14338. "type": {
  14339. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14340. "type": "integer"
  14341. }
  14342. }
  14343. },
  14344. "erms3.QuerySpotContractAppleFormRsp": {
  14345. "type": "object",
  14346. "properties": {
  14347. "goodses": {
  14348. "description": "合约列表",
  14349. "type": "array",
  14350. "items": {
  14351. "$ref": "#/definitions/models.GoodsIDAndName"
  14352. }
  14353. },
  14354. "oppositeusers": {
  14355. "description": "对方账号列表",
  14356. "type": "array",
  14357. "items": {
  14358. "$ref": "#/definitions/erms3.CustomerInfo"
  14359. }
  14360. },
  14361. "ouruser": {
  14362. "description": "我方账号",
  14363. "type": "object",
  14364. "$ref": "#/definitions/erms3.CustomerInfo"
  14365. },
  14366. "warehouseinfos": {
  14367. "description": "仓库信息列表",
  14368. "type": "array",
  14369. "items": {
  14370. "$ref": "#/definitions/models.Warehouseinfo"
  14371. }
  14372. },
  14373. "wrstandards": {
  14374. "description": "仓单标准列表",
  14375. "type": "array",
  14376. "items": {
  14377. "$ref": "#/definitions/models.WRStandardInfo"
  14378. }
  14379. }
  14380. }
  14381. },
  14382. "erms3.QuerySpotContractInfoRsp": {
  14383. "type": "object",
  14384. "properties": {
  14385. "accountid": {
  14386. "description": "表示交易员ID.",
  14387. "type": "integer"
  14388. },
  14389. "curdeliveryqty": {
  14390. "description": "表示未交收量.",
  14391. "type": "number"
  14392. },
  14393. "customername": {
  14394. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14395. "type": "string"
  14396. },
  14397. "deliverygoodsid": {
  14398. "description": "表示品种ID.",
  14399. "type": "string"
  14400. },
  14401. "deliveryqty": {
  14402. "description": "表示交收量.",
  14403. "type": "number"
  14404. },
  14405. "matchaccountid": {
  14406. "description": "表示业务员ID.",
  14407. "type": "integer"
  14408. },
  14409. "matchcustomername": {
  14410. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14411. "type": "string"
  14412. },
  14413. "priceqty": {
  14414. "description": "表示定价量.",
  14415. "type": "number"
  14416. },
  14417. "relatedbizid": {
  14418. "description": "表示业务ID.",
  14419. "type": "string"
  14420. },
  14421. "signdate": {
  14422. "description": "表示签订日期.",
  14423. "type": "string"
  14424. },
  14425. "spotcontractid": {
  14426. "description": "合同ID",
  14427. "type": "string"
  14428. },
  14429. "status": {
  14430. "description": "表示状态,0-履约中 1-已完成.",
  14431. "type": "integer"
  14432. },
  14433. "totalqty": {
  14434. "description": "表示合同量.",
  14435. "type": "number"
  14436. },
  14437. "unpricedqty": {
  14438. "description": "表示未定价量.",
  14439. "type": "number"
  14440. },
  14441. "wrstandardname": {
  14442. "description": "表示商品ID.",
  14443. "type": "string"
  14444. }
  14445. }
  14446. },
  14447. "erms3.QueryUserInfoAppliesRsp": {
  14448. "type": "object",
  14449. "required": [
  14450. "userid"
  14451. ],
  14452. "properties": {
  14453. "biznature": {
  14454. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14455. "type": "integer"
  14456. },
  14457. "contactname": {
  14458. "description": "联系人",
  14459. "type": "string"
  14460. },
  14461. "createtime": {
  14462. "description": "开户申请时间",
  14463. "type": "string"
  14464. },
  14465. "userid": {
  14466. "description": "用户ID(自增ID)",
  14467. "type": "integer"
  14468. },
  14469. "userinfotype": {
  14470. "description": "用户信息类型 - 1:个人 2:企业",
  14471. "type": "integer"
  14472. },
  14473. "username": {
  14474. "description": "用户姓名",
  14475. "type": "string"
  14476. },
  14477. "userstate": {
  14478. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14479. "type": "integer"
  14480. }
  14481. }
  14482. },
  14483. "erms3.QueryUserInfosRsp": {
  14484. "type": "object",
  14485. "required": [
  14486. "userid"
  14487. ],
  14488. "properties": {
  14489. "biznature": {
  14490. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14491. "type": "integer"
  14492. },
  14493. "contactname": {
  14494. "description": "联系人",
  14495. "type": "string"
  14496. },
  14497. "customername": {
  14498. "description": "客户名称(企业名称)",
  14499. "type": "string"
  14500. },
  14501. "userid": {
  14502. "description": "用户ID",
  14503. "type": "integer"
  14504. },
  14505. "userinfotype": {
  14506. "description": "用户信息类型 - 1:个人 2:企业",
  14507. "type": "integer"
  14508. },
  14509. "userstatus": {
  14510. "description": "用户状态 - 1:正常 2:注销",
  14511. "type": "integer"
  14512. }
  14513. }
  14514. },
  14515. "erms3.SoptContractDetail": {
  14516. "type": "object",
  14517. "required": [
  14518. "deliverygoodsid",
  14519. "producttype",
  14520. "unitname",
  14521. "warehouseid",
  14522. "wrstandardid",
  14523. "wrstandardname"
  14524. ],
  14525. "properties": {
  14526. "deliverygoodsdesc": {
  14527. "description": "现货品种说明",
  14528. "type": "string"
  14529. },
  14530. "deliverygoodsid": {
  14531. "description": "现货品种ID",
  14532. "type": "integer"
  14533. },
  14534. "deliverygoodsname": {
  14535. "description": "现货品种名称",
  14536. "type": "string"
  14537. },
  14538. "pointdesc": {
  14539. "description": "点价描述",
  14540. "type": "string"
  14541. },
  14542. "producttype": {
  14543. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14544. "type": "integer"
  14545. },
  14546. "producttypename": {
  14547. "description": "产品类型名称",
  14548. "type": "string"
  14549. },
  14550. "spotPointOrderVoList": {
  14551. "description": "点价列表",
  14552. "type": "array",
  14553. "items": {
  14554. "$ref": "#/definitions/erms3.SpotPointOrder"
  14555. }
  14556. },
  14557. "spotPriceOrderList": {
  14558. "description": "定价列表",
  14559. "type": "array",
  14560. "items": {
  14561. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14562. }
  14563. },
  14564. "unitname": {
  14565. "description": "单位名称",
  14566. "type": "string"
  14567. },
  14568. "warehouseid": {
  14569. "description": "仓库ID",
  14570. "type": "integer"
  14571. },
  14572. "warehousename": {
  14573. "description": "仓库名称",
  14574. "type": "string"
  14575. },
  14576. "wrstandardid": {
  14577. "description": "交易标的ID",
  14578. "type": "integer"
  14579. },
  14580. "wrstandardname": {
  14581. "description": "交易标的名称",
  14582. "type": "string"
  14583. }
  14584. }
  14585. },
  14586. "erms3.SpotPointOrder": {
  14587. "type": "object",
  14588. "required": [
  14589. "basic",
  14590. "goodsid",
  14591. "qty"
  14592. ],
  14593. "properties": {
  14594. "basic": {
  14595. "description": "基差",
  14596. "type": "number"
  14597. },
  14598. "deliveryenddate": {
  14599. "description": "交收结束日期",
  14600. "type": "string"
  14601. },
  14602. "deliverystartdate": {
  14603. "description": "交收开始日期",
  14604. "type": "string"
  14605. },
  14606. "enddate": {
  14607. "description": "点价结束日期",
  14608. "type": "string"
  14609. },
  14610. "goodsid": {
  14611. "description": "商品ID",
  14612. "type": "integer"
  14613. },
  14614. "goodsname": {
  14615. "description": "商品名称",
  14616. "type": "string"
  14617. },
  14618. "qty": {
  14619. "description": "数量",
  14620. "type": "number"
  14621. },
  14622. "startdate": {
  14623. "description": "点价开始日期",
  14624. "type": "string"
  14625. }
  14626. }
  14627. },
  14628. "erms3.SpotPriceOrder": {
  14629. "type": "object",
  14630. "required": [
  14631. "amount",
  14632. "price",
  14633. "qty"
  14634. ],
  14635. "properties": {
  14636. "amount": {
  14637. "description": "金额",
  14638. "type": "number"
  14639. },
  14640. "deliveryenddate": {
  14641. "description": "交收结束日期",
  14642. "type": "string"
  14643. },
  14644. "deliverystartdate": {
  14645. "description": "交收开始日期",
  14646. "type": "string"
  14647. },
  14648. "price": {
  14649. "description": "价格",
  14650. "type": "number"
  14651. },
  14652. "qty": {
  14653. "description": "数量",
  14654. "type": "number"
  14655. }
  14656. }
  14657. },
  14658. "hsby.GetHsbyMyCountRsp": {
  14659. "type": "object",
  14660. "properties": {
  14661. "myCouponCount": {
  14662. "description": "我的优惠卷数量",
  14663. "type": "integer"
  14664. },
  14665. "myOrderDetailListingCount": {
  14666. "description": "我的订单求购中数量",
  14667. "type": "integer"
  14668. },
  14669. "myOrderDetailPreCount": {
  14670. "description": "我的订单抢购中数量",
  14671. "type": "integer"
  14672. },
  14673. "myPackageUnReceiveCount": {
  14674. "description": "我的包裹待收货数量",
  14675. "type": "integer"
  14676. },
  14677. "myPackageUnSendCount": {
  14678. "description": "我的包裹待发货数量",
  14679. "type": "integer"
  14680. },
  14681. "myPayOrderCount": {
  14682. "description": "我的订单待付款数量",
  14683. "type": "integer"
  14684. }
  14685. }
  14686. },
  14687. "hsby.QueryProvincesAndCitiesRsp": {
  14688. "type": "object",
  14689. "properties": {
  14690. "cities": {
  14691. "description": "市",
  14692. "type": "array",
  14693. "items": {
  14694. "$ref": "#/definitions/models.Division"
  14695. }
  14696. },
  14697. "province": {
  14698. "description": "省",
  14699. "type": "object",
  14700. "$ref": "#/definitions/models.Division"
  14701. }
  14702. }
  14703. },
  14704. "models.AreaSpotModel": {
  14705. "type": "object",
  14706. "properties": {
  14707. "areauserid": {
  14708. "description": "所属机构",
  14709. "type": "integer"
  14710. },
  14711. "decreaseqty": {
  14712. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14713. "type": "number"
  14714. },
  14715. "increaseqty": {
  14716. "description": "增加数量=销售计划数量+采购已定价数量",
  14717. "type": "number"
  14718. },
  14719. "oritoalspotqty": {
  14720. "description": "昨日数量",
  14721. "type": "number"
  14722. },
  14723. "totalspotqty": {
  14724. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14725. "type": "number"
  14726. },
  14727. "updatetime": {
  14728. "description": "更新时间",
  14729. "type": "string"
  14730. },
  14731. "wrstandardcode": {
  14732. "description": "现货品种代码",
  14733. "type": "string"
  14734. },
  14735. "wrstandardid": {
  14736. "description": "现货商品ID",
  14737. "type": "integer"
  14738. },
  14739. "wrstandardname": {
  14740. "description": "现货品种",
  14741. "type": "string"
  14742. }
  14743. }
  14744. },
  14745. "models.Arearole": {
  14746. "type": "object",
  14747. "required": [
  14748. "roletype",
  14749. "userid"
  14750. ],
  14751. "properties": {
  14752. "createtime": {
  14753. "description": "创建时间",
  14754. "type": "string"
  14755. },
  14756. "creatorid": {
  14757. "description": "创建人ID",
  14758. "type": "integer"
  14759. },
  14760. "fromuserid": {
  14761. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14762. "type": "integer"
  14763. },
  14764. "isreturnscore": {
  14765. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14766. "type": "integer"
  14767. },
  14768. "modifierid": {
  14769. "description": "修改人ID",
  14770. "type": "integer"
  14771. },
  14772. "modifytime": {
  14773. "description": "修改时间",
  14774. "type": "string"
  14775. },
  14776. "orgtype": {
  14777. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14778. "type": "integer"
  14779. },
  14780. "outuserid": {
  14781. "description": "外部账户[场外期权做市商]",
  14782. "type": "string"
  14783. },
  14784. "parentuserid": {
  14785. "description": "上级组织机构(组织机构)",
  14786. "type": "integer"
  14787. },
  14788. "roletype": {
  14789. "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:门店",
  14790. "type": "integer"
  14791. },
  14792. "rootuserid": {
  14793. "description": "顶级组织机构用户ID(组织机构)",
  14794. "type": "integer"
  14795. },
  14796. "shoppassword": {
  14797. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14798. "type": "string"
  14799. },
  14800. "sublevelpath": {
  14801. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14802. "type": "string"
  14803. },
  14804. "suborgtype": {
  14805. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14806. "type": "integer"
  14807. },
  14808. "tradeaccountid": {
  14809. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14810. "type": "integer"
  14811. },
  14812. "transurl": {
  14813. "description": "物流地址(物流机构)",
  14814. "type": "string"
  14815. },
  14816. "userid": {
  14817. "description": "机构用户ID其他做市关系,都设置为 1",
  14818. "type": "integer"
  14819. }
  14820. }
  14821. },
  14822. "models.Clientfixedadconfig": {
  14823. "type": "object",
  14824. "required": [
  14825. "adsort",
  14826. "adtype"
  14827. ],
  14828. "properties": {
  14829. "adsort": {
  14830. "description": "排序",
  14831. "type": "integer"
  14832. },
  14833. "adtype": {
  14834. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14835. "type": "integer"
  14836. },
  14837. "areauserid": {
  14838. "description": "所属机构ID",
  14839. "type": "integer"
  14840. },
  14841. "createdate": {
  14842. "description": "创建时间",
  14843. "type": "string"
  14844. },
  14845. "creatorid": {
  14846. "description": "创建人",
  14847. "type": "integer"
  14848. },
  14849. "imagepath": {
  14850. "description": "图片",
  14851. "type": "string"
  14852. },
  14853. "isshow": {
  14854. "description": "是否展示 - 0:不展示 1:展示",
  14855. "type": "integer"
  14856. },
  14857. "modifierid": {
  14858. "description": "操作人",
  14859. "type": "integer"
  14860. },
  14861. "recsize": {
  14862. "description": "推荐尺寸",
  14863. "type": "string"
  14864. },
  14865. "title": {
  14866. "description": "标题",
  14867. "type": "string"
  14868. },
  14869. "updatedate": {
  14870. "description": "更新时间",
  14871. "type": "string"
  14872. },
  14873. "urlcontent": {
  14874. "description": "链接(地址或商品ID)",
  14875. "type": "string"
  14876. },
  14877. "urltype": {
  14878. "description": "链接类型 - 1:直接地址 2:商品ID",
  14879. "type": "integer"
  14880. }
  14881. }
  14882. },
  14883. "models.Division": {
  14884. "type": "object",
  14885. "required": [
  14886. "autoid",
  14887. "divisioncode"
  14888. ],
  14889. "properties": {
  14890. "autoid": {
  14891. "description": "自增ID",
  14892. "type": "integer"
  14893. },
  14894. "divisioncode": {
  14895. "description": "行政代码",
  14896. "type": "string"
  14897. },
  14898. "divisionlevel": {
  14899. "description": "行政级别",
  14900. "type": "string"
  14901. },
  14902. "divisionname": {
  14903. "description": "行政名称",
  14904. "type": "string"
  14905. },
  14906. "modifierid": {
  14907. "description": "修改人",
  14908. "type": "integer"
  14909. },
  14910. "modifytime": {
  14911. "description": "修改时间",
  14912. "type": "string"
  14913. },
  14914. "parentcode": {
  14915. "description": "上级行政代码",
  14916. "type": "string"
  14917. },
  14918. "pathname": {
  14919. "description": "路径名称",
  14920. "type": "string"
  14921. },
  14922. "postcode": {
  14923. "description": "邮政编码",
  14924. "type": "string"
  14925. },
  14926. "separablename": {
  14927. "description": "可拆分的全称",
  14928. "type": "string"
  14929. },
  14930. "shortcode": {
  14931. "description": "地区简码",
  14932. "type": "string"
  14933. }
  14934. }
  14935. },
  14936. "models.Enumdicitem": {
  14937. "type": "object",
  14938. "required": [
  14939. "autoid",
  14940. "enumdiccode",
  14941. "enumdicid",
  14942. "enumitemname"
  14943. ],
  14944. "properties": {
  14945. "autoid": {
  14946. "description": "自增ID",
  14947. "type": "integer"
  14948. },
  14949. "bankmappedvalue": {
  14950. "description": "银行服务对应值",
  14951. "type": "string"
  14952. },
  14953. "enumdiccode": {
  14954. "description": "所属枚举代码",
  14955. "type": "string"
  14956. },
  14957. "enumdicid": {
  14958. "description": "所属枚举ID",
  14959. "type": "integer"
  14960. },
  14961. "enumdicname": {
  14962. "description": "枚举项名称",
  14963. "type": "string"
  14964. },
  14965. "enumitemname": {
  14966. "description": "枚举项值",
  14967. "type": "integer"
  14968. },
  14969. "enumitemstatus": {
  14970. "description": "枚举项状态 - 1.启用 2.不启用",
  14971. "type": "integer"
  14972. },
  14973. "enumitemvalue": {
  14974. "description": "通用值 - [币种通用简写]",
  14975. "type": "string"
  14976. },
  14977. "param1": {
  14978. "description": "参数1[币种:币种小数位]",
  14979. "type": "string"
  14980. },
  14981. "param2": {
  14982. "description": "参数1[币种:币种显示单位]",
  14983. "type": "string"
  14984. },
  14985. "remark": {
  14986. "description": "备注",
  14987. "type": "string"
  14988. }
  14989. }
  14990. },
  14991. "models.Ermcp3AreaSpot": {
  14992. "type": "object",
  14993. "properties": {
  14994. "areauserid": {
  14995. "description": "所属机构",
  14996. "type": "integer"
  14997. },
  14998. "decreaseqty": {
  14999. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15000. "type": "number"
  15001. },
  15002. "deliverygoodscode": {
  15003. "description": "现货品种代码",
  15004. "type": "string"
  15005. },
  15006. "deliverygoodsid": {
  15007. "description": "现货品种id",
  15008. "type": "integer"
  15009. },
  15010. "deliverygoodsname": {
  15011. "description": "现货品种名称",
  15012. "type": "string"
  15013. },
  15014. "enumdicname": {
  15015. "description": "单位名称",
  15016. "type": "string"
  15017. },
  15018. "goodsunitid": {
  15019. "description": "现货品种单位id",
  15020. "type": "integer"
  15021. },
  15022. "increaseqty": {
  15023. "description": "增加数量=销售计划数量+采购已定价数量",
  15024. "type": "number"
  15025. },
  15026. "oritoalspotqty": {
  15027. "description": "昨日数量",
  15028. "type": "number"
  15029. },
  15030. "totalspotqty": {
  15031. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15032. "type": "number"
  15033. },
  15034. "updatetime": {
  15035. "description": "更新时间",
  15036. "type": "string"
  15037. }
  15038. }
  15039. },
  15040. "models.Ermcp3AreaSpotDetail": {
  15041. "type": "object",
  15042. "properties": {
  15043. "contracttype": {
  15044. "description": "合同类型 1-采购 -1-销售",
  15045. "type": "integer"
  15046. },
  15047. "createtime": {
  15048. "description": "创建时间",
  15049. "type": "string"
  15050. },
  15051. "deliverygoodscode": {
  15052. "description": "现货品种代码",
  15053. "type": "string"
  15054. },
  15055. "deliverygoodsid": {
  15056. "description": "现货品种id",
  15057. "type": "integer"
  15058. },
  15059. "deliverygoodsname": {
  15060. "description": "现货品种名称",
  15061. "type": "string"
  15062. },
  15063. "enumdicname": {
  15064. "description": "现货商品单位名称",
  15065. "type": "string"
  15066. },
  15067. "logtype": {
  15068. "description": "记录类型 1-套保 2-现货合同",
  15069. "type": "integer"
  15070. },
  15071. "qty": {
  15072. "description": "数量",
  15073. "type": "number"
  15074. },
  15075. "recordname": {
  15076. "description": "类型名称",
  15077. "type": "string"
  15078. },
  15079. "relatedid": {
  15080. "description": "套保计划ID/现货合同ID",
  15081. "type": "string"
  15082. },
  15083. "relatedno": {
  15084. "description": "编号",
  15085. "type": "string"
  15086. },
  15087. "strtime": {
  15088. "description": "时间",
  15089. "type": "string"
  15090. }
  15091. }
  15092. },
  15093. "models.Ermcp3AreaSpotPLReport": {
  15094. "type": "object",
  15095. "properties": {
  15096. "accountid": {
  15097. "description": "期货账户ID (作废, 默认为0)",
  15098. "type": "integer"
  15099. },
  15100. "accountname": {
  15101. "description": "机构名称",
  15102. "type": "string"
  15103. },
  15104. "actualpl": {
  15105. "description": "现货损益",
  15106. "type": "number"
  15107. },
  15108. "areauserid": {
  15109. "description": "所属机构\\交易用户ID",
  15110. "type": "integer"
  15111. },
  15112. "begindate": {
  15113. "description": "开始交易日",
  15114. "type": "string"
  15115. },
  15116. "biztype": {
  15117. "description": "业务类型 - 1:套保 2:套利",
  15118. "type": "integer"
  15119. },
  15120. "brandname": {
  15121. "description": "品牌名称",
  15122. "type": "string"
  15123. },
  15124. "curamount": {
  15125. "description": "期末额",
  15126. "type": "number"
  15127. },
  15128. "curaverageprice": {
  15129. "description": "期末均价",
  15130. "type": "number"
  15131. },
  15132. "curbuyamount": {
  15133. "description": "期末采购总额",
  15134. "type": "number"
  15135. },
  15136. "curbuyqty": {
  15137. "description": "期末采购总量",
  15138. "type": "number"
  15139. },
  15140. "curmarketvalue": {
  15141. "description": "参考市值(期末市值)",
  15142. "type": "number"
  15143. },
  15144. "curqty": {
  15145. "description": "期末量",
  15146. "type": "number"
  15147. },
  15148. "currencyid": {
  15149. "description": "结算币种ID【原值】",
  15150. "type": "integer"
  15151. },
  15152. "currencyname": {
  15153. "description": "币种名称",
  15154. "type": "string"
  15155. },
  15156. "cursellamount": {
  15157. "description": "期末销售总额",
  15158. "type": "number"
  15159. },
  15160. "cursellqty": {
  15161. "description": "期末销售总量",
  15162. "type": "number"
  15163. },
  15164. "curspotprice": {
  15165. "description": "参考市价(最新价)",
  15166. "type": "number"
  15167. },
  15168. "cycletime": {
  15169. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15170. "type": "string"
  15171. },
  15172. "cycletype": {
  15173. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15174. "type": "integer"
  15175. },
  15176. "deliverygoodscode": {
  15177. "description": "现货商品代码",
  15178. "type": "string"
  15179. },
  15180. "deliverygoodsid": {
  15181. "description": "现货品种ID",
  15182. "type": "integer"
  15183. },
  15184. "deliverygoodsname": {
  15185. "description": "现货商品名称",
  15186. "type": "string"
  15187. },
  15188. "enddate": {
  15189. "description": "结束交易日",
  15190. "type": "string"
  15191. },
  15192. "enumdicname": {
  15193. "description": "现货商品单位名称",
  15194. "type": "string"
  15195. },
  15196. "floatpl": {
  15197. "description": "浮动损益",
  15198. "type": "number"
  15199. },
  15200. "goodsunitid": {
  15201. "description": "现货商品单位id",
  15202. "type": "integer"
  15203. },
  15204. "oriamount": {
  15205. "description": "期初额",
  15206. "type": "number"
  15207. },
  15208. "oriaverageprice": {
  15209. "description": "期初均价",
  15210. "type": "number"
  15211. },
  15212. "oribuyamount": {
  15213. "description": "期初采购总额",
  15214. "type": "number"
  15215. },
  15216. "oribuyqty": {
  15217. "description": "期初采购总量",
  15218. "type": "number"
  15219. },
  15220. "oriqty": {
  15221. "description": "期初量",
  15222. "type": "number"
  15223. },
  15224. "orisellamount": {
  15225. "description": "期初销售总额",
  15226. "type": "number"
  15227. },
  15228. "orisellqty": {
  15229. "description": "期初销售总量",
  15230. "type": "number"
  15231. },
  15232. "reckondate": {
  15233. "description": "日照时期(yyyyMMdd)",
  15234. "type": "string"
  15235. },
  15236. "spotgoodsbrandid": {
  15237. "description": "现货品牌ID",
  15238. "type": "integer"
  15239. },
  15240. "todaybuyamount": {
  15241. "description": "今日采购额(今采购额)",
  15242. "type": "number"
  15243. },
  15244. "todaybuyaverageprice": {
  15245. "description": "今日采购均价",
  15246. "type": "number"
  15247. },
  15248. "todaybuyqty": {
  15249. "description": "今日采购量(今采购量)",
  15250. "type": "number"
  15251. },
  15252. "todayinqty": {
  15253. "description": "今日入库量(今入库量)",
  15254. "type": "number"
  15255. },
  15256. "todayoutqty": {
  15257. "description": "今日出库量(今出库量)",
  15258. "type": "number"
  15259. },
  15260. "todaysellamount": {
  15261. "description": "今日销售额(今销售额)",
  15262. "type": "number"
  15263. },
  15264. "todaysellaverageprice": {
  15265. "description": "今日销售均价",
  15266. "type": "number"
  15267. },
  15268. "todaysellqty": {
  15269. "description": "今日销售量(今销售量)",
  15270. "type": "number"
  15271. },
  15272. "unitid": {
  15273. "description": "品类单位id",
  15274. "type": "integer"
  15275. },
  15276. "unitidname": {
  15277. "description": "品类单位名称",
  15278. "type": "string"
  15279. },
  15280. "updatetime": {
  15281. "description": "更新时间",
  15282. "type": "string"
  15283. },
  15284. "wrfactortypeid": {
  15285. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15286. "type": "integer"
  15287. },
  15288. "wrstandardcode": {
  15289. "description": "品类代码",
  15290. "type": "string"
  15291. },
  15292. "wrstandardid": {
  15293. "description": "现货品类ID",
  15294. "type": "integer"
  15295. },
  15296. "wrstandardname": {
  15297. "description": "品类名称",
  15298. "type": "string"
  15299. }
  15300. }
  15301. },
  15302. "models.Ermcp3AreaStock": {
  15303. "type": "object",
  15304. "required": [
  15305. "userid"
  15306. ],
  15307. "properties": {
  15308. "brandname": {
  15309. "description": "品牌名称",
  15310. "type": "string"
  15311. },
  15312. "curstock": {
  15313. "description": "期末库存量(今日量)",
  15314. "type": "number"
  15315. },
  15316. "deliverygoodscode": {
  15317. "description": "现货品种代码",
  15318. "type": "string"
  15319. },
  15320. "deliverygoodsid": {
  15321. "description": "现货品种id",
  15322. "type": "integer"
  15323. },
  15324. "deliverygoodsname": {
  15325. "description": "现货品种名称",
  15326. "type": "string"
  15327. },
  15328. "enumdicname": {
  15329. "description": "单位名称",
  15330. "type": "string"
  15331. },
  15332. "goodsunitid": {
  15333. "description": "现货商品单位id",
  15334. "type": "integer"
  15335. },
  15336. "oristock": {
  15337. "description": "期初库存量(昨日量)",
  15338. "type": "number"
  15339. },
  15340. "spotgoodsbrandid": {
  15341. "description": "现货品牌ID",
  15342. "type": "integer"
  15343. },
  15344. "todaybuyinqty": {
  15345. "description": "今日采购入库量",
  15346. "type": "number"
  15347. },
  15348. "todayproduceinqty": {
  15349. "description": "今日生产入库量",
  15350. "type": "number"
  15351. },
  15352. "todayproduceoutqty": {
  15353. "description": "今日生产出库量",
  15354. "type": "number"
  15355. },
  15356. "todayselloutqty": {
  15357. "description": "今日销售出库量",
  15358. "type": "number"
  15359. },
  15360. "unitid": {
  15361. "description": "单位id",
  15362. "type": "integer"
  15363. },
  15364. "updatetime": {
  15365. "description": "更新时间",
  15366. "type": "string"
  15367. },
  15368. "userid": {
  15369. "description": "机构ID",
  15370. "type": "integer"
  15371. },
  15372. "username": {
  15373. "description": "机构名称",
  15374. "type": "string"
  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": "string"
  15399. },
  15400. "wrstandardname": {
  15401. "description": "品类名称",
  15402. "type": "string"
  15403. }
  15404. }
  15405. },
  15406. "models.Ermcp3AreaStockApply": {
  15407. "type": "object",
  15408. "properties": {
  15409. "applyid": {
  15410. "description": "申请人",
  15411. "type": "integer"
  15412. },
  15413. "applyname": {
  15414. "description": "申请人名称",
  15415. "type": "string"
  15416. },
  15417. "applyremark": {
  15418. "description": "申请备注",
  15419. "type": "string"
  15420. },
  15421. "applysrc": {
  15422. "description": "申请来源 - 1:管理端 2:终端",
  15423. "type": "integer"
  15424. },
  15425. "applystatus": {
  15426. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15427. "type": "integer"
  15428. },
  15429. "applytime": {
  15430. "description": "申请时间",
  15431. "type": "string"
  15432. },
  15433. "auditid": {
  15434. "description": "审核人",
  15435. "type": "integer"
  15436. },
  15437. "auditname": {
  15438. "description": "审核人名称",
  15439. "type": "string"
  15440. },
  15441. "auditremark": {
  15442. "description": "审核备注",
  15443. "type": "string"
  15444. },
  15445. "auditsrc": {
  15446. "description": "审核来源 - 1:管理端 2:终端",
  15447. "type": "integer"
  15448. },
  15449. "audittime": {
  15450. "description": "审核时间",
  15451. "type": "string"
  15452. },
  15453. "audittradedate": {
  15454. "description": "审核交易日(yyyyMMdd)",
  15455. "type": "string"
  15456. },
  15457. "brandname": {
  15458. "description": "品牌名称",
  15459. "type": "string"
  15460. },
  15461. "buynickname": {
  15462. "description": "采购方昵称",
  15463. "type": "string"
  15464. },
  15465. "buyuserid": {
  15466. "description": "采购方userid",
  15467. "type": "integer"
  15468. },
  15469. "buyusername": {
  15470. "description": "采购方名称",
  15471. "type": "string"
  15472. },
  15473. "contractno": {
  15474. "description": "合同编号",
  15475. "type": "string"
  15476. },
  15477. "contractqty": {
  15478. "description": "合同量",
  15479. "type": "number"
  15480. },
  15481. "contracttype": {
  15482. "description": "现货合同类型 - 1:采购 -1:销售",
  15483. "type": "integer"
  15484. },
  15485. "deliverygoodscode": {
  15486. "description": "现货品种代码",
  15487. "type": "string"
  15488. },
  15489. "deliverygoodsid": {
  15490. "description": "现货品种id",
  15491. "type": "integer"
  15492. },
  15493. "deliverygoodsname": {
  15494. "description": "现货品种名称",
  15495. "type": "string"
  15496. },
  15497. "detailjson": {
  15498. "description": "明细数据",
  15499. "type": "string"
  15500. },
  15501. "enumdicname": {
  15502. "description": "现货商品单位名称",
  15503. "type": "string"
  15504. },
  15505. "inoutapplyid": {
  15506. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15507. "type": "string"
  15508. },
  15509. "inouttype": {
  15510. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15511. "type": "integer"
  15512. },
  15513. "pricetype": {
  15514. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15515. "type": "integer"
  15516. },
  15517. "qty": {
  15518. "description": "数量",
  15519. "type": "number"
  15520. },
  15521. "sellnickname": {
  15522. "description": "销售方昵称",
  15523. "type": "string"
  15524. },
  15525. "selluserid": {
  15526. "description": "销售方userid",
  15527. "type": "integer"
  15528. },
  15529. "sellusername": {
  15530. "description": "销售方名称",
  15531. "type": "string"
  15532. },
  15533. "spotcontractid": {
  15534. "description": "关联现货合同ID",
  15535. "type": "string"
  15536. },
  15537. "spotgoodsbrandid": {
  15538. "description": "现货品牌ID",
  15539. "type": "integer"
  15540. },
  15541. "unitid": {
  15542. "description": "单位id",
  15543. "type": "integer"
  15544. },
  15545. "userid": {
  15546. "description": "机构ID",
  15547. "type": "integer"
  15548. },
  15549. "warehousecode": {
  15550. "description": "仓库代码",
  15551. "type": "string"
  15552. },
  15553. "warehouseinfoid": {
  15554. "description": "现货仓库ID",
  15555. "type": "string"
  15556. },
  15557. "warehousename": {
  15558. "description": "仓库名称",
  15559. "type": "string"
  15560. },
  15561. "warehousetype": {
  15562. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15563. "type": "integer"
  15564. },
  15565. "wrstandardcode": {
  15566. "description": "品类代码",
  15567. "type": "string"
  15568. },
  15569. "wrstandardid": {
  15570. "description": "品类ID",
  15571. "type": "integer"
  15572. },
  15573. "wrstandardname": {
  15574. "description": "品类名称",
  15575. "type": "string"
  15576. }
  15577. }
  15578. },
  15579. "models.Ermcp3AreaStockApplySum": {
  15580. "type": "object",
  15581. "properties": {
  15582. "brandname": {
  15583. "description": "品牌名称",
  15584. "type": "string"
  15585. },
  15586. "inouttype": {
  15587. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15588. "type": "integer"
  15589. },
  15590. "spotcontractid": {
  15591. "description": "关联现货合同ID",
  15592. "type": "string"
  15593. },
  15594. "spotgoodsbrandid": {
  15595. "description": "品牌id",
  15596. "type": "integer"
  15597. },
  15598. "totalqty": {
  15599. "description": "总数量",
  15600. "type": "number"
  15601. },
  15602. "wrstandardid": {
  15603. "description": "品类id",
  15604. "type": "integer"
  15605. },
  15606. "wrstandardname": {
  15607. "description": "品类名称",
  15608. "type": "string"
  15609. }
  15610. }
  15611. },
  15612. "models.Ermcp3AreaStockReportEx": {
  15613. "type": "object",
  15614. "properties": {
  15615. "begindate": {
  15616. "description": "开始交易日",
  15617. "type": "string"
  15618. },
  15619. "brandname": {
  15620. "description": "品牌名称",
  15621. "type": "string"
  15622. },
  15623. "curstock": {
  15624. "description": "期末库存量",
  15625. "type": "number"
  15626. },
  15627. "cycletime": {
  15628. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15629. "type": "string"
  15630. },
  15631. "cycletype": {
  15632. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15633. "type": "integer"
  15634. },
  15635. "deliverygoodscode": {
  15636. "description": "现货品种代码",
  15637. "type": "string"
  15638. },
  15639. "deliverygoodsid": {
  15640. "description": "现货品种id",
  15641. "type": "integer"
  15642. },
  15643. "deliverygoodsname": {
  15644. "description": "现货品种名称",
  15645. "type": "string"
  15646. },
  15647. "diffqty": {
  15648. "description": "库存变化量 = 期末 - 期初",
  15649. "type": "number"
  15650. },
  15651. "enddate": {
  15652. "description": "结束交易日",
  15653. "type": "string"
  15654. },
  15655. "enumdicname": {
  15656. "description": "单位名称",
  15657. "type": "string"
  15658. },
  15659. "goodsunitid": {
  15660. "description": "现货单位id",
  15661. "type": "integer"
  15662. },
  15663. "oristock": {
  15664. "description": "期初库存量",
  15665. "type": "number"
  15666. },
  15667. "reckondate": {
  15668. "description": "日照时期(yyyyMMdd)",
  15669. "type": "string"
  15670. },
  15671. "spotgoodsbrandid": {
  15672. "description": "现货品牌ID",
  15673. "type": "integer"
  15674. },
  15675. "todaybuyinqty": {
  15676. "description": "今采购入库量",
  15677. "type": "number"
  15678. },
  15679. "todayproduceinqty": {
  15680. "description": "今内部入库量",
  15681. "type": "number"
  15682. },
  15683. "todayproduceoutqty": {
  15684. "description": "今内部出库量",
  15685. "type": "number"
  15686. },
  15687. "todayselloutqty": {
  15688. "description": "今销售出库量",
  15689. "type": "number"
  15690. },
  15691. "unbuyinqty": {
  15692. "description": "采购未入库量(数据库未找到相关字段?)",
  15693. "type": "number"
  15694. },
  15695. "unitid": {
  15696. "description": "品类单位id",
  15697. "type": "integer"
  15698. },
  15699. "unselloutqty": {
  15700. "description": "销售未出库量(数据库未找到相关字段?)",
  15701. "type": "number"
  15702. },
  15703. "updatetime": {
  15704. "description": "更新时间",
  15705. "type": "string"
  15706. },
  15707. "userid": {
  15708. "description": "机构ID",
  15709. "type": "integer"
  15710. },
  15711. "username": {
  15712. "description": "机构名称",
  15713. "type": "string"
  15714. },
  15715. "warehousecode": {
  15716. "description": "仓库代码",
  15717. "type": "string"
  15718. },
  15719. "warehouseinfoid": {
  15720. "description": "仓库ID",
  15721. "type": "string"
  15722. },
  15723. "warehousename": {
  15724. "description": "仓库名称",
  15725. "type": "string"
  15726. },
  15727. "warehousetype": {
  15728. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15729. "type": "integer"
  15730. },
  15731. "wrstandardcode": {
  15732. "description": "品类代码",
  15733. "type": "string"
  15734. },
  15735. "wrstandardid": {
  15736. "description": "品类ID",
  15737. "type": "integer"
  15738. },
  15739. "wrstandardname": {
  15740. "description": "品类名称",
  15741. "type": "string"
  15742. }
  15743. }
  15744. },
  15745. "models.Ermcp3ArealSumPL": {
  15746. "type": "object",
  15747. "properties": {
  15748. "accountname": {
  15749. "description": "机构名称",
  15750. "type": "string"
  15751. },
  15752. "areauserid": {
  15753. "description": "所属机构\\交易用户ID",
  15754. "type": "integer"
  15755. },
  15756. "begindate": {
  15757. "description": "开始交易日",
  15758. "type": "string"
  15759. },
  15760. "currencyid": {
  15761. "description": "结算币种ID",
  15762. "type": "integer"
  15763. },
  15764. "currencyname": {
  15765. "description": "币种名称",
  15766. "type": "string"
  15767. },
  15768. "cycletime": {
  15769. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15770. "type": "string"
  15771. },
  15772. "cycletype": {
  15773. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15774. "type": "integer"
  15775. },
  15776. "enddate": {
  15777. "description": "结束交易日",
  15778. "type": "string"
  15779. },
  15780. "enumdicname": {
  15781. "description": "单位名称(套保品种)",
  15782. "type": "string"
  15783. },
  15784. "futureactualpl": {
  15785. "description": "期货损益",
  15786. "type": "number"
  15787. },
  15788. "futurefloatpl": {
  15789. "description": "期货浮动损益",
  15790. "type": "number"
  15791. },
  15792. "goodsunitid": {
  15793. "description": "套保品种单位id",
  15794. "type": "integer"
  15795. },
  15796. "middlegoodscode": {
  15797. "description": "套保品种代码",
  15798. "type": "string"
  15799. },
  15800. "middlegoodsid": {
  15801. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15802. "type": "integer"
  15803. },
  15804. "middlegoodsname": {
  15805. "description": "套保品种名称",
  15806. "type": "string"
  15807. },
  15808. "reckondate": {
  15809. "description": "日照时期(yyyyMMdd)",
  15810. "type": "string"
  15811. },
  15812. "spotactualpl": {
  15813. "description": "现货损益",
  15814. "type": "number"
  15815. },
  15816. "spotfloatpl": {
  15817. "description": "现货浮动损益",
  15818. "type": "number"
  15819. },
  15820. "sumactualpl": {
  15821. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15822. "type": "number"
  15823. },
  15824. "sumpl": {
  15825. "description": "汇总损益",
  15826. "type": "number"
  15827. },
  15828. "updatetime": {
  15829. "description": "更新时间",
  15830. "type": "string"
  15831. }
  15832. }
  15833. },
  15834. "models.Ermcp3Brand": {
  15835. "type": "object",
  15836. "properties": {
  15837. "areauserid": {
  15838. "description": "用户id",
  15839. "type": "integer"
  15840. },
  15841. "brandid": {
  15842. "description": "品牌id",
  15843. "type": "integer"
  15844. },
  15845. "brandname": {
  15846. "description": "品牌名称",
  15847. "type": "string"
  15848. },
  15849. "deliverygoodsid": {
  15850. "description": "品种ID",
  15851. "type": "integer"
  15852. }
  15853. }
  15854. },
  15855. "models.Ermcp3Contract": {
  15856. "type": "object",
  15857. "properties": {
  15858. "accountid": {
  15859. "description": "期货账户id",
  15860. "type": "string"
  15861. },
  15862. "amount": {
  15863. "description": "金额 [1:一口价、3:暂定价]",
  15864. "type": "number"
  15865. },
  15866. "attachment": {
  15867. "description": "附件",
  15868. "type": "string"
  15869. },
  15870. "auditremark": {
  15871. "description": "审核意见",
  15872. "type": "string"
  15873. },
  15874. "audittime": {
  15875. "description": "审核时间",
  15876. "type": "string"
  15877. },
  15878. "biztype": {
  15879. "description": "业务类型 1-套保 2-套利",
  15880. "type": "integer"
  15881. },
  15882. "brandname": {
  15883. "description": "品牌名称",
  15884. "type": "string"
  15885. },
  15886. "buynickname": {
  15887. "description": "销售方昵称",
  15888. "type": "string"
  15889. },
  15890. "buyuserid": {
  15891. "description": "采购方ID",
  15892. "type": "integer"
  15893. },
  15894. "buyusername": {
  15895. "description": "采购方名称",
  15896. "type": "string"
  15897. },
  15898. "contracctstatus": {
  15899. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15900. "type": "integer"
  15901. },
  15902. "contractmargin": {
  15903. "description": "合同保证金",
  15904. "type": "number"
  15905. },
  15906. "contractno": {
  15907. "description": "现货合同编号",
  15908. "type": "string"
  15909. },
  15910. "contracttype": {
  15911. "description": "现货合同类型 - 1:采购 -1:销售",
  15912. "type": "integer"
  15913. },
  15914. "convertfactor": {
  15915. "description": "标仓系数(品类)",
  15916. "type": "number"
  15917. },
  15918. "createtime": {
  15919. "description": "创建时间",
  15920. "type": "string"
  15921. },
  15922. "currencyid": {
  15923. "description": "币种id",
  15924. "type": "integer"
  15925. },
  15926. "currencyname": {
  15927. "description": "币种名称",
  15928. "type": "string"
  15929. },
  15930. "deliveryenddate": {
  15931. "description": "交收期(结束)",
  15932. "type": "string"
  15933. },
  15934. "deliverygoodscode": {
  15935. "description": "现货品种代码",
  15936. "type": "string"
  15937. },
  15938. "deliverygoodsid": {
  15939. "description": "现货品种ID",
  15940. "type": "integer"
  15941. },
  15942. "deliverygoodsname": {
  15943. "description": "现货品种名称",
  15944. "type": "string"
  15945. },
  15946. "deliverystartdate": {
  15947. "description": "交收期(开始)",
  15948. "type": "string"
  15949. },
  15950. "enddate": {
  15951. "description": "点价结束日期 [2:点价 3:暂定价]",
  15952. "type": "string"
  15953. },
  15954. "enumdicname": {
  15955. "description": "单位名称",
  15956. "type": "string"
  15957. },
  15958. "goodscode": {
  15959. "description": "点价合约代码",
  15960. "type": "string"
  15961. },
  15962. "goodsid": {
  15963. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  15964. "type": "integer"
  15965. },
  15966. "goodsname": {
  15967. "description": "点价商品名称",
  15968. "type": "string"
  15969. },
  15970. "margin": {
  15971. "description": "当前保证金",
  15972. "type": "number"
  15973. },
  15974. "meruserid": {
  15975. "description": "跟单员id",
  15976. "type": "integer"
  15977. },
  15978. "meruserlogincode": {
  15979. "description": "跟单员登录代码",
  15980. "type": "string"
  15981. },
  15982. "price": {
  15983. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  15984. "type": "number"
  15985. },
  15986. "pricemove": {
  15987. "description": "升贴水 [2:点价 3:暂定价]",
  15988. "type": "number"
  15989. },
  15990. "pricetype": {
  15991. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15992. "type": "integer"
  15993. },
  15994. "producttype": {
  15995. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15996. "type": "integer"
  15997. },
  15998. "qty": {
  15999. "description": "数量",
  16000. "type": "number"
  16001. },
  16002. "remark": {
  16003. "description": "备注",
  16004. "type": "string"
  16005. },
  16006. "saleuserid": {
  16007. "description": "业务员id",
  16008. "type": "integer"
  16009. },
  16010. "saleuserlogincode": {
  16011. "description": "业务员登录代码",
  16012. "type": "string"
  16013. },
  16014. "sellnickname": {
  16015. "description": "采购方昵称",
  16016. "type": "string"
  16017. },
  16018. "selluserid": {
  16019. "description": "销售方ID",
  16020. "type": "integer"
  16021. },
  16022. "sellusername": {
  16023. "description": "销售方名称",
  16024. "type": "string"
  16025. },
  16026. "spotcontractid": {
  16027. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16028. "type": "string"
  16029. },
  16030. "spotgoodsbrandid": {
  16031. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16032. "type": "integer"
  16033. },
  16034. "spotgoodsdesc": {
  16035. "description": "商品型号",
  16036. "type": "string"
  16037. },
  16038. "startdate": {
  16039. "description": "点价开始日期 [2:点价 3:暂定价]",
  16040. "type": "string"
  16041. },
  16042. "tradeuserid": {
  16043. "description": "交易员id",
  16044. "type": "integer"
  16045. },
  16046. "tradeuserlogincode": {
  16047. "description": "交易员登录代码",
  16048. "type": "string"
  16049. },
  16050. "tradeusername": {
  16051. "description": "交易员名称",
  16052. "type": "string"
  16053. },
  16054. "unitid": {
  16055. "description": "单位id(取品类上的单位id)",
  16056. "type": "integer"
  16057. },
  16058. "updatetime": {
  16059. "description": "更新时间",
  16060. "type": "string"
  16061. },
  16062. "userid": {
  16063. "description": "所属机构ID",
  16064. "type": "integer"
  16065. },
  16066. "wrstandardcode": {
  16067. "description": "品类代码",
  16068. "type": "string"
  16069. },
  16070. "wrstandardid": {
  16071. "description": "品类ID",
  16072. "type": "integer"
  16073. },
  16074. "wrstandardname": {
  16075. "description": "品类名称",
  16076. "type": "string"
  16077. }
  16078. }
  16079. },
  16080. "models.Ermcp3ExposureContractDetail": {
  16081. "type": "object",
  16082. "properties": {
  16083. "biztype": {
  16084. "description": "业务类型 1-套保 2-套利",
  16085. "type": "integer"
  16086. },
  16087. "brandname": {
  16088. "description": "品牌名称",
  16089. "type": "string"
  16090. },
  16091. "buyuserid": {
  16092. "description": "采购方id",
  16093. "type": "integer"
  16094. },
  16095. "buyusername": {
  16096. "description": "采购方名称",
  16097. "type": "string"
  16098. },
  16099. "contractno": {
  16100. "description": "合同编号",
  16101. "type": "string"
  16102. },
  16103. "contracttype": {
  16104. "description": "现货合同类型 - 1:采购 -1:销售",
  16105. "type": "integer"
  16106. },
  16107. "convertfactor": {
  16108. "description": "标仓系数",
  16109. "type": "number"
  16110. },
  16111. "convertratio": {
  16112. "description": "折算系数(套保品种)",
  16113. "type": "number"
  16114. },
  16115. "curqty": {
  16116. "description": "今定价量",
  16117. "type": "number"
  16118. },
  16119. "deliverygoodscode": {
  16120. "description": "现货商品代码",
  16121. "type": "string"
  16122. },
  16123. "deliverygoodsid": {
  16124. "description": "现货商品id",
  16125. "type": "integer"
  16126. },
  16127. "deliverygoodsname": {
  16128. "description": "现货商品名称",
  16129. "type": "string"
  16130. },
  16131. "diffhedgeqty": {
  16132. "description": "套保变动量",
  16133. "type": "number"
  16134. },
  16135. "diffneedhedgeqty": {
  16136. "description": "应套保变动量",
  16137. "type": "number"
  16138. },
  16139. "diffqty": {
  16140. "description": "套保品种今变动量",
  16141. "type": "number"
  16142. },
  16143. "enumdicname": {
  16144. "description": "单位名称",
  16145. "type": "string"
  16146. },
  16147. "middlegoodscode": {
  16148. "description": "套保品种代码",
  16149. "type": "string"
  16150. },
  16151. "middlegoodsid": {
  16152. "description": "套保品种id",
  16153. "type": "integer"
  16154. },
  16155. "middlegoodsname": {
  16156. "description": "套保品种名称",
  16157. "type": "string"
  16158. },
  16159. "needarbitrageratio": {
  16160. "description": "应套利比例",
  16161. "type": "number"
  16162. },
  16163. "needhedgeratio": {
  16164. "description": "应套保比例",
  16165. "type": "number"
  16166. },
  16167. "pricedqty": {
  16168. "description": "已定价量",
  16169. "type": "number"
  16170. },
  16171. "qty": {
  16172. "description": "合同量",
  16173. "type": "number"
  16174. },
  16175. "selluserid": {
  16176. "description": "销售方id",
  16177. "type": "integer"
  16178. },
  16179. "sellusername": {
  16180. "description": "销售方名称",
  16181. "type": "string"
  16182. },
  16183. "spotcontractid": {
  16184. "description": "合同id",
  16185. "type": "string"
  16186. },
  16187. "todaypricedqty": {
  16188. "description": "今定价量",
  16189. "type": "number"
  16190. },
  16191. "tradedate": {
  16192. "description": "交易日",
  16193. "type": "string"
  16194. },
  16195. "unitid": {
  16196. "description": "品类单位id",
  16197. "type": "integer"
  16198. },
  16199. "userid": {
  16200. "description": "机构id",
  16201. "type": "integer"
  16202. },
  16203. "wrstandardcode": {
  16204. "description": "品类代码",
  16205. "type": "string"
  16206. },
  16207. "wrstandardid": {
  16208. "description": "品类id",
  16209. "type": "integer"
  16210. },
  16211. "wrstandardname": {
  16212. "description": "品类名称",
  16213. "type": "string"
  16214. }
  16215. }
  16216. },
  16217. "models.Ermcp3ExposureDetail": {
  16218. "type": "object",
  16219. "properties": {
  16220. "areauserid": {
  16221. "description": "机构ID",
  16222. "type": "integer"
  16223. },
  16224. "changeQty": {
  16225. "description": "套保变动量",
  16226. "type": "number"
  16227. },
  16228. "contracttype": {
  16229. "description": "现货合同类型 - 1:采购 -1:销售",
  16230. "type": "integer"
  16231. },
  16232. "convertfactor": {
  16233. "description": "标仓系数",
  16234. "type": "number"
  16235. },
  16236. "convertratio": {
  16237. "description": "套保系数",
  16238. "type": "number"
  16239. },
  16240. "createtime": {
  16241. "description": "时间",
  16242. "type": "string"
  16243. },
  16244. "deliverygoodscode": {
  16245. "description": "现货品种代码",
  16246. "type": "string"
  16247. },
  16248. "deliverygoodsid": {
  16249. "description": "现货品种id",
  16250. "type": "integer"
  16251. },
  16252. "deliverygoodsname": {
  16253. "description": "现货品种名称",
  16254. "type": "string"
  16255. },
  16256. "enumdicname": {
  16257. "description": "现货商品单位名称",
  16258. "type": "string"
  16259. },
  16260. "logtype": {
  16261. "description": "类型 - 1:套保计划 2:现货合同",
  16262. "type": "integer"
  16263. },
  16264. "mgunitid": {
  16265. "description": "套保品种单位id",
  16266. "type": "integer"
  16267. },
  16268. "mgunitidname": {
  16269. "description": "套保品种单位名称",
  16270. "type": "string"
  16271. },
  16272. "middlegoodsId": {
  16273. "description": "套保商品id",
  16274. "type": "integer"
  16275. },
  16276. "middlegoodscode": {
  16277. "description": "套保商品代码",
  16278. "type": "string"
  16279. },
  16280. "middlegoodsname": {
  16281. "description": "套保商品名称",
  16282. "type": "string"
  16283. },
  16284. "qty": {
  16285. "description": "数量",
  16286. "type": "number"
  16287. },
  16288. "relateNo": {
  16289. "description": "现货合同/套保计划编号",
  16290. "type": "string"
  16291. }
  16292. }
  16293. },
  16294. "models.Ermcp3ExposureFutuDetail": {
  16295. "type": "object",
  16296. "properties": {
  16297. "accountid": {
  16298. "description": "交易账户id",
  16299. "type": "integer"
  16300. },
  16301. "accountname": {
  16302. "description": "交易账户",
  16303. "type": "string"
  16304. },
  16305. "begindate": {
  16306. "description": "开始交易日",
  16307. "type": "string"
  16308. },
  16309. "buyorsell": {
  16310. "description": "方向 0-买 1-卖",
  16311. "type": "integer"
  16312. },
  16313. "diffmgqty": {
  16314. "description": "套保品种今变化量",
  16315. "type": "number"
  16316. },
  16317. "diffneedqty": {
  16318. "description": "应套保总量变化量",
  16319. "type": "number"
  16320. },
  16321. "difftradeqty": {
  16322. "description": "交易品种今变化量",
  16323. "type": "number"
  16324. },
  16325. "enddate": {
  16326. "description": "结束交易日",
  16327. "type": "string"
  16328. },
  16329. "enumdicname": {
  16330. "description": "单位名称",
  16331. "type": "string"
  16332. },
  16333. "goodscode": {
  16334. "description": "商品代码",
  16335. "type": "string"
  16336. },
  16337. "goodsid": {
  16338. "description": "商品id",
  16339. "type": "integer"
  16340. },
  16341. "goodsname": {
  16342. "description": "商品名称",
  16343. "type": "string"
  16344. },
  16345. "holdqty": {
  16346. "description": "期末持仓量",
  16347. "type": "number"
  16348. },
  16349. "middlegoodscode": {
  16350. "description": "套保商品代码",
  16351. "type": "string"
  16352. },
  16353. "middlegoodsid": {
  16354. "description": "套保商品id",
  16355. "type": "integer"
  16356. },
  16357. "middlegoodsname": {
  16358. "description": "套保商品名称",
  16359. "type": "string"
  16360. },
  16361. "oriholdqty": {
  16362. "description": "期初持仓量",
  16363. "type": "number"
  16364. },
  16365. "todaycloseqty": {
  16366. "description": "今平仓量",
  16367. "type": "number"
  16368. },
  16369. "todayopenqty": {
  16370. "description": "今开仓量",
  16371. "type": "number"
  16372. },
  16373. "tradedate": {
  16374. "description": "交易日",
  16375. "type": "string"
  16376. }
  16377. }
  16378. },
  16379. "models.Ermcp3ExposureHedgeplanDetail": {
  16380. "type": "object",
  16381. "properties": {
  16382. "biztype": {
  16383. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16384. "type": "integer"
  16385. },
  16386. "changqty": {
  16387. "description": "应套保总量变化量",
  16388. "type": "number"
  16389. },
  16390. "contracttype": {
  16391. "description": "计划类型 - 1:采购 -1:销售",
  16392. "type": "integer"
  16393. },
  16394. "convertratio": {
  16395. "description": "折算系数(套保品种)",
  16396. "type": "number"
  16397. },
  16398. "deliverygoodscode": {
  16399. "description": "现货商品代码",
  16400. "type": "string"
  16401. },
  16402. "deliverygoodsid": {
  16403. "description": "现货商品id",
  16404. "type": "integer"
  16405. },
  16406. "deliverygoodsname": {
  16407. "description": "现货商吕名称",
  16408. "type": "string"
  16409. },
  16410. "dgunitid": {
  16411. "description": "现货商品单位id",
  16412. "type": "integer"
  16413. },
  16414. "dgunitidname": {
  16415. "description": "单位名称(现货商品)",
  16416. "type": "string"
  16417. },
  16418. "diffqty": {
  16419. "description": "套保品种今变动量",
  16420. "type": "number"
  16421. },
  16422. "enumdicname": {
  16423. "description": "单位名称(品类)",
  16424. "type": "string"
  16425. },
  16426. "hedgeplanid": {
  16427. "description": "套保计划id",
  16428. "type": "string"
  16429. },
  16430. "hedgeplanno": {
  16431. "description": "套保计划名称",
  16432. "type": "string"
  16433. },
  16434. "hedgeplanstatus": {
  16435. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16436. "type": "integer"
  16437. },
  16438. "mgunitidname": {
  16439. "description": "单位名称(套保商品)",
  16440. "type": "string"
  16441. },
  16442. "middlegoodscode": {
  16443. "description": "套保品种代码",
  16444. "type": "string"
  16445. },
  16446. "middlegoodsid": {
  16447. "description": "套保品种id",
  16448. "type": "integer"
  16449. },
  16450. "middlegoodsname": {
  16451. "description": "套保品种名称",
  16452. "type": "string"
  16453. },
  16454. "needarbitrageratio": {
  16455. "description": "应套利比例",
  16456. "type": "number"
  16457. },
  16458. "needhedgeratio": {
  16459. "description": "应套保比例",
  16460. "type": "number"
  16461. },
  16462. "pricedqty": {
  16463. "description": "已定价量",
  16464. "type": "number"
  16465. },
  16466. "qty": {
  16467. "description": "合同量",
  16468. "type": "number"
  16469. },
  16470. "tradedate": {
  16471. "description": "交易日(登记日)",
  16472. "type": "string"
  16473. },
  16474. "unitid": {
  16475. "description": "品类单位id",
  16476. "type": "integer"
  16477. },
  16478. "userid": {
  16479. "description": "机构id",
  16480. "type": "integer"
  16481. },
  16482. "wrstandardcode": {
  16483. "description": "品类代码",
  16484. "type": "string"
  16485. },
  16486. "wrstandardid": {
  16487. "description": "品类id",
  16488. "type": "integer"
  16489. },
  16490. "wrstandardname": {
  16491. "description": "品类名称",
  16492. "type": "string"
  16493. }
  16494. }
  16495. },
  16496. "models.Ermcp3ExposureParamChLog": {
  16497. "type": "object",
  16498. "properties": {
  16499. "accountid": {
  16500. "description": "期货账户ID (作废, 默认为0)",
  16501. "type": "integer"
  16502. },
  16503. "aftervalue": {
  16504. "description": "应套保\\套利量变更后(调整后应套保总量)",
  16505. "type": "number"
  16506. },
  16507. "areauserid": {
  16508. "description": "所属机构\\交易用户ID",
  16509. "type": "integer"
  16510. },
  16511. "beforevalue": {
  16512. "description": "应套保\\套利量变更前(调整前应套保总量)",
  16513. "type": "number"
  16514. },
  16515. "begindate": {
  16516. "description": "开始交易日",
  16517. "type": "string"
  16518. },
  16519. "changelogtype": {
  16520. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  16521. "type": "integer"
  16522. },
  16523. "curvalue": {
  16524. "description": "当前套保\\套利量(套保总量|套利总量)",
  16525. "type": "number"
  16526. },
  16527. "diffvalue": {
  16528. "description": "应套保总量变化量",
  16529. "type": "number"
  16530. },
  16531. "enddate": {
  16532. "description": "结束交易日",
  16533. "type": "string"
  16534. },
  16535. "logdatetime": {
  16536. "description": "流水日期",
  16537. "type": "string"
  16538. },
  16539. "logid": {
  16540. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  16541. "type": "string"
  16542. },
  16543. "middlegoodscode": {
  16544. "description": "套保品种代码",
  16545. "type": "string"
  16546. },
  16547. "middlegoodsid": {
  16548. "description": "套保品种",
  16549. "type": "integer"
  16550. },
  16551. "middlegoodsname": {
  16552. "description": "套保品种名称",
  16553. "type": "string"
  16554. },
  16555. "paramaftervalue": {
  16556. "description": "参数变更后(调整后参数值)",
  16557. "type": "number"
  16558. },
  16559. "parambeforevalue": {
  16560. "description": "参数变更前(调整前参数值)",
  16561. "type": "number"
  16562. },
  16563. "tradedate": {
  16564. "description": "交易日(yyyyMMdd)",
  16565. "type": "string"
  16566. }
  16567. }
  16568. },
  16569. "models.Ermcp3ExpourseReport": {
  16570. "type": "object",
  16571. "properties": {
  16572. "accountid": {
  16573. "description": "期货账户ID (作废, 默认为0)",
  16574. "type": "integer"
  16575. },
  16576. "accountname": {
  16577. "description": "机构名称",
  16578. "type": "string"
  16579. },
  16580. "arbitrageqty": {
  16581. "description": "套利量",
  16582. "type": "number"
  16583. },
  16584. "areauserid": {
  16585. "description": "所属机构\\交易用户ID",
  16586. "type": "integer"
  16587. },
  16588. "begindate": {
  16589. "description": "开始交易日",
  16590. "type": "string"
  16591. },
  16592. "buyfutureqty": {
  16593. "description": "买入期货数量",
  16594. "type": "number"
  16595. },
  16596. "buyplanqty": {
  16597. "description": "采购计划数量",
  16598. "type": "number"
  16599. },
  16600. "buypricedqty": {
  16601. "description": "采购合同已定价数量",
  16602. "type": "number"
  16603. },
  16604. "cycletime": {
  16605. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16606. "type": "string"
  16607. },
  16608. "cycletype": {
  16609. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16610. "type": "integer"
  16611. },
  16612. "diffexposure": {
  16613. "description": "变动量(套保敞口)",
  16614. "type": "number"
  16615. },
  16616. "difffutuqty": {
  16617. "description": "变动量(期货)",
  16618. "type": "number"
  16619. },
  16620. "diffhedgeqty": {
  16621. "description": "变动量(现货应套保总量)",
  16622. "type": "number"
  16623. },
  16624. "diffmgqtya": {
  16625. "description": "套保变动量",
  16626. "type": "number"
  16627. },
  16628. "diffmgqtyb": {
  16629. "description": "套利变动量",
  16630. "type": "number"
  16631. },
  16632. "diffqty": {
  16633. "description": "变动量(总敞口)",
  16634. "type": "number"
  16635. },
  16636. "diffspotqty": {
  16637. "description": "变动量(现货)",
  16638. "type": "number"
  16639. },
  16640. "enddate": {
  16641. "description": "结束交易日",
  16642. "type": "string"
  16643. },
  16644. "enumdicname": {
  16645. "description": "单位名称",
  16646. "type": "string"
  16647. },
  16648. "hedgeqty": {
  16649. "description": "套保量",
  16650. "type": "number"
  16651. },
  16652. "mgneedhedgeratio": {
  16653. "description": "套保比例(套保品的)",
  16654. "type": "number"
  16655. },
  16656. "middlegoodsid": {
  16657. "description": "套保品种ID",
  16658. "type": "integer"
  16659. },
  16660. "middlegoodsname": {
  16661. "description": "套保商品名称",
  16662. "type": "string"
  16663. },
  16664. "middlgoodscode": {
  16665. "description": "套保商品代码",
  16666. "type": "string"
  16667. },
  16668. "needarbitrageqty": {
  16669. "description": "应套利量",
  16670. "type": "number"
  16671. },
  16672. "needarbitrageratio": {
  16673. "description": "套利比例(套保品的)",
  16674. "type": "number"
  16675. },
  16676. "needhedgeexposoure": {
  16677. "description": "应套保敞口(套保敞口)",
  16678. "type": "number"
  16679. },
  16680. "needhedgeqty": {
  16681. "description": "应套保量",
  16682. "type": "number"
  16683. },
  16684. "needhedgeratio": {
  16685. "description": "应套保敞口比例",
  16686. "type": "number"
  16687. },
  16688. "oriarbitrageqty": {
  16689. "description": "期初套利量",
  16690. "type": "number"
  16691. },
  16692. "oribuyfutureqty": {
  16693. "description": "期初买入期货数量",
  16694. "type": "number"
  16695. },
  16696. "oribuyplanqty": {
  16697. "description": "期初采购计划数量",
  16698. "type": "number"
  16699. },
  16700. "oribuypricedqty": {
  16701. "description": "期初采购合同已定价数量",
  16702. "type": "number"
  16703. },
  16704. "orihedgeqty": {
  16705. "description": "期初套保量",
  16706. "type": "number"
  16707. },
  16708. "orineedarbitrageqty": {
  16709. "description": "期初应套利量",
  16710. "type": "number"
  16711. },
  16712. "orineedhedgeexposoure": {
  16713. "description": "期初应套保敞口",
  16714. "type": "number"
  16715. },
  16716. "orineedhedgeqty": {
  16717. "description": "期初应套保量",
  16718. "type": "number"
  16719. },
  16720. "orisellfutureqty": {
  16721. "description": "期初卖出期货数量",
  16722. "type": "number"
  16723. },
  16724. "orisellplanqty": {
  16725. "description": "期初销售计划数量",
  16726. "type": "number"
  16727. },
  16728. "orisellpricedqty": {
  16729. "description": "期初销售合同已定价数量",
  16730. "type": "number"
  16731. },
  16732. "oritotalexposure": {
  16733. "description": "期初实时总敞口",
  16734. "type": "number"
  16735. },
  16736. "oritotalfutureqty": {
  16737. "description": "期初期货头寸总量",
  16738. "type": "number"
  16739. },
  16740. "oritotalneedhedgeqty": {
  16741. "description": "期初应套保总量",
  16742. "type": "number"
  16743. },
  16744. "oritotalspotqty": {
  16745. "description": "期初现货头寸总量",
  16746. "type": "number"
  16747. },
  16748. "reckondate": {
  16749. "description": "日照时期(yyyyMMdd)",
  16750. "type": "string"
  16751. },
  16752. "sellfutureqty": {
  16753. "description": "卖出期货数量",
  16754. "type": "number"
  16755. },
  16756. "sellplanqty": {
  16757. "description": "销售计划数量",
  16758. "type": "number"
  16759. },
  16760. "sellpricedqty": {
  16761. "description": "销售合同已定价数量",
  16762. "type": "number"
  16763. },
  16764. "totalexposure": {
  16765. "description": "实时总敞口(总敞口)",
  16766. "type": "number"
  16767. },
  16768. "totalfutureqty": {
  16769. "description": "期货头寸总量(期货总量)",
  16770. "type": "number"
  16771. },
  16772. "totalhedgeratio": {
  16773. "description": "敞口比例",
  16774. "type": "number"
  16775. },
  16776. "totalneedhedgeqty": {
  16777. "description": "应套保总量(现货应套保总量)",
  16778. "type": "number"
  16779. },
  16780. "totalspotqty": {
  16781. "description": "现货头寸总量",
  16782. "type": "number"
  16783. },
  16784. "unitid": {
  16785. "description": "单位id",
  16786. "type": "integer"
  16787. },
  16788. "updatetime": {
  16789. "description": "更新时间",
  16790. "type": "string"
  16791. }
  16792. }
  16793. },
  16794. "models.Ermcp3FinanceReport": {
  16795. "type": "object",
  16796. "properties": {
  16797. "accountname": {
  16798. "description": "机构名称",
  16799. "type": "string"
  16800. },
  16801. "areauserid": {
  16802. "description": "所属机构\\交易用户ID",
  16803. "type": "integer"
  16804. },
  16805. "begindate": {
  16806. "description": "开始交易日",
  16807. "type": "string"
  16808. },
  16809. "biztype": {
  16810. "description": "业务类型 - 1:套保 2:套利",
  16811. "type": "integer"
  16812. },
  16813. "brandname": {
  16814. "description": "品牌名称",
  16815. "type": "string"
  16816. },
  16817. "buypreinvoicedamount": {
  16818. "description": "采购预收票额(预收票额)",
  16819. "type": "number"
  16820. },
  16821. "buyprepaidamount": {
  16822. "description": "采购预付款额(预付货款额)",
  16823. "type": "number"
  16824. },
  16825. "buytodayinvoiceamount": {
  16826. "description": "采购今收票额(今收票额)",
  16827. "type": "number"
  16828. },
  16829. "buytodayrefundamount": {
  16830. "description": "采购今收退款额(今收退款额)",
  16831. "type": "number"
  16832. },
  16833. "buytodaysettleamount": {
  16834. "description": "采购今付款额(今付货款额)",
  16835. "type": "number"
  16836. },
  16837. "buyuninvoicedamount": {
  16838. "description": "采购应收票额(应收票额)",
  16839. "type": "number"
  16840. },
  16841. "buyunpaidamount": {
  16842. "description": "采购应付款额(应付货款额)",
  16843. "type": "number"
  16844. },
  16845. "currencyid": {
  16846. "description": "结算币种ID",
  16847. "type": "integer"
  16848. },
  16849. "currencyname": {
  16850. "description": "币种名称",
  16851. "type": "string"
  16852. },
  16853. "cycletime": {
  16854. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16855. "type": "string"
  16856. },
  16857. "cycletype": {
  16858. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16859. "type": "integer"
  16860. },
  16861. "deliverygoodscode": {
  16862. "description": "现货品种代码",
  16863. "type": "string"
  16864. },
  16865. "deliverygoodsid": {
  16866. "description": "现货品种ID",
  16867. "type": "integer"
  16868. },
  16869. "deliverygoodsname": {
  16870. "description": "现货品种名称",
  16871. "type": "string"
  16872. },
  16873. "enddate": {
  16874. "description": "结束交易日",
  16875. "type": "string"
  16876. },
  16877. "reckondate": {
  16878. "description": "日照时期(yyyyMMdd)",
  16879. "type": "string"
  16880. },
  16881. "sellpreinvoicedamount": {
  16882. "description": "销售预开票额(预开票额)",
  16883. "type": "number"
  16884. },
  16885. "sellprepaidamount": {
  16886. "description": "销售预收款额(预收货款额)",
  16887. "type": "number"
  16888. },
  16889. "selltodayinvoiceamount": {
  16890. "description": "销售今开票额(今开票额)",
  16891. "type": "number"
  16892. },
  16893. "selltodayrefundamount": {
  16894. "description": "销售今付退款额(今付退款额)",
  16895. "type": "number"
  16896. },
  16897. "selltodaysettleamount": {
  16898. "description": "销售今收款额(今收货款额)",
  16899. "type": "number"
  16900. },
  16901. "selluninvoicedamount": {
  16902. "description": "销售应开票额(应开票额)",
  16903. "type": "number"
  16904. },
  16905. "sellunpaidamount": {
  16906. "description": "销售应收款额(应收货款额)",
  16907. "type": "number"
  16908. },
  16909. "spotgoodsbrandid": {
  16910. "description": "现货品牌ID",
  16911. "type": "integer"
  16912. },
  16913. "todaypaysum": {
  16914. "description": "今付款合计",
  16915. "type": "number"
  16916. },
  16917. "todayreceivesum": {
  16918. "description": "今收款合计",
  16919. "type": "number"
  16920. },
  16921. "updatetime": {
  16922. "description": "更新时间",
  16923. "type": "string"
  16924. },
  16925. "wrfactortypeid": {
  16926. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16927. "type": "integer"
  16928. },
  16929. "wrstandardcode": {
  16930. "description": "品类代码",
  16931. "type": "string"
  16932. },
  16933. "wrstandardid": {
  16934. "description": "现货商品ID",
  16935. "type": "integer"
  16936. },
  16937. "wrstandardname": {
  16938. "description": "品类名称",
  16939. "type": "string"
  16940. }
  16941. }
  16942. },
  16943. "models.Ermcp3Goods": {
  16944. "type": "object",
  16945. "properties": {
  16946. "agreeunit": {
  16947. "description": "合约单位(合约乘数)",
  16948. "type": "number"
  16949. },
  16950. "enumdicname": {
  16951. "description": "单位名称",
  16952. "type": "string"
  16953. },
  16954. "exexchangecode": {
  16955. "description": "交易所代码",
  16956. "type": "string"
  16957. },
  16958. "goodscode": {
  16959. "description": "期货商品代码",
  16960. "type": "string"
  16961. },
  16962. "goodsid": {
  16963. "description": "期货商品id",
  16964. "type": "integer"
  16965. },
  16966. "goodsname": {
  16967. "description": "期货商品名称",
  16968. "type": "string"
  16969. }
  16970. }
  16971. },
  16972. "models.Ermcp3GoodsGroup": {
  16973. "type": "object",
  16974. "required": [
  16975. "areauserid"
  16976. ],
  16977. "properties": {
  16978. "agreeunit": {
  16979. "description": "合约单位",
  16980. "type": "number"
  16981. },
  16982. "areauserid": {
  16983. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  16984. "type": "integer"
  16985. },
  16986. "canshort": {
  16987. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16988. "type": "integer"
  16989. },
  16990. "closepricemode": {
  16991. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16992. "type": "integer"
  16993. },
  16994. "createtime": {
  16995. "description": "创建时间",
  16996. "type": "string"
  16997. },
  16998. "creatorid": {
  16999. "description": "创建人",
  17000. "type": "integer"
  17001. },
  17002. "currencyid": {
  17003. "description": "报价货币ID",
  17004. "type": "integer"
  17005. },
  17006. "decimalplace": {
  17007. "description": "报价小数位",
  17008. "type": "integer"
  17009. },
  17010. "enumdicname": {
  17011. "description": "单位名称",
  17012. "type": "string"
  17013. },
  17014. "exchangefullname": {
  17015. "description": "交易所全称",
  17016. "type": "string"
  17017. },
  17018. "excludecfg": {
  17019. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17020. "type": "integer"
  17021. },
  17022. "exexchangecode": {
  17023. "description": "交易所代码",
  17024. "type": "string"
  17025. },
  17026. "exexchangeid": {
  17027. "description": "外部交易所ID[通道交易]",
  17028. "type": "integer"
  17029. },
  17030. "exexchangename": {
  17031. "description": "交易所名称",
  17032. "type": "string"
  17033. },
  17034. "goodsgroupid": {
  17035. "description": "商品组ID(自增ID)",
  17036. "type": "integer"
  17037. },
  17038. "goodsgroupname": {
  17039. "description": "商品组名称",
  17040. "type": "string"
  17041. },
  17042. "goodsgroupstatus": {
  17043. "description": "商品组状态 - 1:正常 2:注销",
  17044. "type": "integer"
  17045. },
  17046. "goodunitid": {
  17047. "description": "报价单位ID",
  17048. "type": "integer"
  17049. },
  17050. "groupcategroyid": {
  17051. "description": "品种分类ID",
  17052. "type": "integer"
  17053. },
  17054. "innerdealmode": {
  17055. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17056. "type": "integer"
  17057. },
  17058. "marketid": {
  17059. "description": "所属市场ID",
  17060. "type": "integer"
  17061. },
  17062. "modifierid": {
  17063. "description": "修改人",
  17064. "type": "integer"
  17065. },
  17066. "modifytime": {
  17067. "description": "修改时间",
  17068. "type": "string"
  17069. },
  17070. "outerdealmode": {
  17071. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17072. "type": "integer"
  17073. },
  17074. "outergroupcode": {
  17075. "description": "外部商品组代码[通道交易]",
  17076. "type": "string"
  17077. },
  17078. "quoteminunit": {
  17079. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17080. "type": "integer"
  17081. },
  17082. "quotesourcegroupid": {
  17083. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17084. "type": "integer"
  17085. },
  17086. "syncgoodsqty": {
  17087. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17088. "type": "integer"
  17089. }
  17090. }
  17091. },
  17092. "models.Ermcp3GoodsGroupEx": {
  17093. "type": "object",
  17094. "properties": {
  17095. "convertratio": {
  17096. "description": "折算系数(品种系数)",
  17097. "type": "number"
  17098. },
  17099. "enumdicname": {
  17100. "description": "单位名称",
  17101. "type": "string"
  17102. },
  17103. "exexchangecode": {
  17104. "description": "交易所代码",
  17105. "type": "string"
  17106. },
  17107. "glist": {
  17108. "description": "合约列表",
  17109. "type": "array",
  17110. "items": {
  17111. "$ref": "#/definitions/models.Ermcp3Goods"
  17112. }
  17113. },
  17114. "goodsgroupid": {
  17115. "description": "商品组id",
  17116. "type": "integer"
  17117. },
  17118. "goodsgroupname": {
  17119. "description": "商品组名称",
  17120. "type": "string"
  17121. },
  17122. "goodsunitid": {
  17123. "description": "单位id",
  17124. "type": "integer"
  17125. },
  17126. "middlegoodsid": {
  17127. "description": "套保商品id",
  17128. "type": "integer"
  17129. }
  17130. }
  17131. },
  17132. "models.Ermcp3HedgePlan": {
  17133. "type": "object",
  17134. "properties": {
  17135. "accountid": {
  17136. "description": "资金账号",
  17137. "type": "integer"
  17138. },
  17139. "areauserid": {
  17140. "description": "用户ID",
  17141. "type": "integer"
  17142. },
  17143. "audittime": {
  17144. "description": "审核时间",
  17145. "type": "string"
  17146. },
  17147. "contracttype": {
  17148. "description": "计划类型 - 1:采购 -1:销售",
  17149. "type": "integer"
  17150. },
  17151. "convertfactor": {
  17152. "description": "标仓系数",
  17153. "type": "number"
  17154. },
  17155. "createtime": {
  17156. "description": "创建时间",
  17157. "type": "string"
  17158. },
  17159. "currencyid": {
  17160. "description": "币种id",
  17161. "type": "integer"
  17162. },
  17163. "currencyname": {
  17164. "description": "币种名称",
  17165. "type": "string"
  17166. },
  17167. "deliverygoodscode": {
  17168. "description": "现货品种代码",
  17169. "type": "string"
  17170. },
  17171. "deliverygoodsid": {
  17172. "description": "现货品种ID",
  17173. "type": "integer"
  17174. },
  17175. "deliverygoodsname": {
  17176. "description": "现货品种名称",
  17177. "type": "string"
  17178. },
  17179. "enumdicname": {
  17180. "description": "单位名称(现货商品)",
  17181. "type": "string"
  17182. },
  17183. "hedgeplanid": {
  17184. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17185. "type": "string"
  17186. },
  17187. "hedgeplanno": {
  17188. "description": "套保计划编号(名称)",
  17189. "type": "string"
  17190. },
  17191. "hedgeplanstatus": {
  17192. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17193. "type": "integer"
  17194. },
  17195. "planqty": {
  17196. "description": "计划数量",
  17197. "type": "number"
  17198. },
  17199. "plantime": {
  17200. "description": "计划时间",
  17201. "type": "string"
  17202. },
  17203. "producttype": {
  17204. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17205. "type": "integer"
  17206. },
  17207. "remark": {
  17208. "description": "备注",
  17209. "type": "string"
  17210. },
  17211. "spotgoodsdesc": {
  17212. "description": "商品型号",
  17213. "type": "string"
  17214. },
  17215. "taaccountname": {
  17216. "description": "资金账号名称",
  17217. "type": "string"
  17218. },
  17219. "tradeuserid": {
  17220. "description": "交易用户id",
  17221. "type": "integer"
  17222. },
  17223. "tradeusername": {
  17224. "description": "交易用户名称",
  17225. "type": "string"
  17226. },
  17227. "unitid": {
  17228. "description": "单位id(现货商品)",
  17229. "type": "integer"
  17230. },
  17231. "updatetime": {
  17232. "description": "更新时间",
  17233. "type": "string"
  17234. },
  17235. "wrstandardcode": {
  17236. "description": "品类代码",
  17237. "type": "string"
  17238. },
  17239. "wrstandardid": {
  17240. "description": "品类id",
  17241. "type": "integer"
  17242. },
  17243. "wrstandardname": {
  17244. "description": "品类名称",
  17245. "type": "string"
  17246. },
  17247. "wrunitid": {
  17248. "description": "品类单位id",
  17249. "type": "integer"
  17250. },
  17251. "wrunitidame": {
  17252. "description": "品类单位名称",
  17253. "type": "string"
  17254. }
  17255. }
  17256. },
  17257. "models.Ermcp3MiddleGoodsDetail2": {
  17258. "type": "object",
  17259. "properties": {
  17260. "convertratio": {
  17261. "description": "套保系数(折算系数)",
  17262. "type": "number"
  17263. },
  17264. "gplist": {
  17265. "description": "关联商品组列表",
  17266. "type": "array",
  17267. "items": {
  17268. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17269. }
  17270. },
  17271. "mg": {
  17272. "description": "套保商品信息",
  17273. "type": "object",
  17274. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17275. }
  17276. }
  17277. },
  17278. "models.Ermcp3MiddleGoodsDetailEx": {
  17279. "type": "object",
  17280. "properties": {
  17281. "dglist": {
  17282. "description": "关联的现货品种列表",
  17283. "type": "array",
  17284. "items": {
  17285. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17286. }
  17287. },
  17288. "gplist": {
  17289. "description": "关联商品组列表",
  17290. "type": "array",
  17291. "items": {
  17292. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17293. }
  17294. },
  17295. "mg": {
  17296. "description": "套保商品信息",
  17297. "type": "object",
  17298. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17299. }
  17300. }
  17301. },
  17302. "models.Ermcp3RootUserAccount": {
  17303. "type": "object",
  17304. "properties": {
  17305. "accountname": {
  17306. "description": "账户名称(机构名称)",
  17307. "type": "string"
  17308. },
  17309. "accountstatus": {
  17310. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17311. "type": "integer"
  17312. },
  17313. "applysrc": {
  17314. "description": "申请来源 - 1:管理端 2:终端",
  17315. "type": "integer"
  17316. },
  17317. "auditremark": {
  17318. "description": "审核备注",
  17319. "type": "string"
  17320. },
  17321. "auditsrc": {
  17322. "description": "审核来源 - 1:管理端 2:终端",
  17323. "type": "integer"
  17324. },
  17325. "audittime": {
  17326. "description": "审核时间",
  17327. "type": "string"
  17328. },
  17329. "audituserid": {
  17330. "description": "审核人",
  17331. "type": "integer"
  17332. },
  17333. "broker": {
  17334. "description": "所属经纪人ID",
  17335. "type": "integer"
  17336. },
  17337. "canceltime": {
  17338. "description": "销户时间",
  17339. "type": "string"
  17340. },
  17341. "canceluserid": {
  17342. "description": "销户人",
  17343. "type": "integer"
  17344. },
  17345. "canrecommend": {
  17346. "description": "是否可推荐 - 0:不可 1;可",
  17347. "type": "integer"
  17348. },
  17349. "createtime": {
  17350. "description": "创建时间",
  17351. "type": "string"
  17352. },
  17353. "creatorid": {
  17354. "description": "创建人",
  17355. "type": "integer"
  17356. },
  17357. "hasauth": {
  17358. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17359. "type": "integer"
  17360. },
  17361. "isanonymous": {
  17362. "description": "是否匿名下单 - 0:否 1:是",
  17363. "type": "integer"
  17364. },
  17365. "maxinvestornum": {
  17366. "description": "最大用户数(经纪会员下投资者个数)",
  17367. "type": "integer"
  17368. },
  17369. "memberuserid": {
  17370. "description": "所属会员ID",
  17371. "type": "integer"
  17372. },
  17373. "modifierid": {
  17374. "description": "修改人",
  17375. "type": "integer"
  17376. },
  17377. "modifyremark": {
  17378. "description": "变更备注",
  17379. "type": "string"
  17380. },
  17381. "modifystatus": {
  17382. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17383. "type": "integer"
  17384. },
  17385. "modifytime": {
  17386. "description": "修改时间",
  17387. "type": "string"
  17388. },
  17389. "parenttopuser": {
  17390. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  17391. "type": "string"
  17392. },
  17393. "parentuserid": {
  17394. "description": "所属机构ID",
  17395. "type": "integer"
  17396. },
  17397. "reckonaccountid": {
  17398. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17399. "type": "integer"
  17400. },
  17401. "refercount": {
  17402. "description": "推荐总人数",
  17403. "type": "integer"
  17404. },
  17405. "refereeuserid": {
  17406. "description": "推荐人ID",
  17407. "type": "integer"
  17408. },
  17409. "refernum": {
  17410. "description": "推荐码",
  17411. "type": "string"
  17412. },
  17413. "rootuserid": {
  17414. "description": "根用户ID",
  17415. "type": "integer"
  17416. },
  17417. "subaccountlevel": {
  17418. "description": "子账户层数",
  17419. "type": "integer"
  17420. },
  17421. "subarealevelpath": {
  17422. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17423. "type": "string"
  17424. },
  17425. "userid": {
  17426. "description": "用户ID",
  17427. "type": "integer"
  17428. },
  17429. "usertype": {
  17430. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17431. "type": "integer"
  17432. }
  17433. }
  17434. },
  17435. "models.Ermcp3SellBuyContract": {
  17436. "type": "object",
  17437. "properties": {
  17438. "accountid": {
  17439. "description": "期货账户id",
  17440. "type": "string"
  17441. },
  17442. "accountname": {
  17443. "description": "账户名称",
  17444. "type": "string"
  17445. },
  17446. "attachment": {
  17447. "description": "附件",
  17448. "type": "string"
  17449. },
  17450. "audittime": {
  17451. "description": "审核时间",
  17452. "type": "string"
  17453. },
  17454. "biztype": {
  17455. "description": "业务类型 1-套保 2-套利",
  17456. "type": "integer"
  17457. },
  17458. "brandname": {
  17459. "description": "品牌名称",
  17460. "type": "string"
  17461. },
  17462. "contracctstatus": {
  17463. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17464. "type": "integer"
  17465. },
  17466. "contractmargin": {
  17467. "description": "合同保证金",
  17468. "type": "number"
  17469. },
  17470. "contractno": {
  17471. "description": "合同编号",
  17472. "type": "string"
  17473. },
  17474. "contracttype": {
  17475. "description": "合同类型 1-采购, -1-销售",
  17476. "type": "integer"
  17477. },
  17478. "convertfactor": {
  17479. "description": "标仓系数(品类)",
  17480. "type": "number"
  17481. },
  17482. "createtime": {
  17483. "description": "创建时间",
  17484. "type": "string"
  17485. },
  17486. "currencyid": {
  17487. "description": "币种id",
  17488. "type": "integer"
  17489. },
  17490. "currencyname": {
  17491. "description": "币种名称",
  17492. "type": "string"
  17493. },
  17494. "daikaiamount": {
  17495. "description": "应收(开)票额",
  17496. "type": "number"
  17497. },
  17498. "deliveryenddate": {
  17499. "description": "交割结束日",
  17500. "type": "string"
  17501. },
  17502. "deliverygoodscode": {
  17503. "description": "现货品种代码",
  17504. "type": "string"
  17505. },
  17506. "deliverygoodsid": {
  17507. "description": "现货商品ID",
  17508. "type": "integer"
  17509. },
  17510. "deliverygoodsname": {
  17511. "description": "现货品种名称",
  17512. "type": "string"
  17513. },
  17514. "deliverystartdate": {
  17515. "description": "交割开始日",
  17516. "type": "string"
  17517. },
  17518. "enddate": {
  17519. "description": "点价结束日",
  17520. "type": "string"
  17521. },
  17522. "enumdicname": {
  17523. "description": "单位名称",
  17524. "type": "string"
  17525. },
  17526. "goodscode": {
  17527. "description": "点价商品代码",
  17528. "type": "string"
  17529. },
  17530. "goodsid": {
  17531. "description": "点价商品ID",
  17532. "type": "integer"
  17533. },
  17534. "goodsname": {
  17535. "description": "点价商品名称",
  17536. "type": "string"
  17537. },
  17538. "invoiceamount": {
  17539. "description": "已开票额",
  17540. "type": "number"
  17541. },
  17542. "loanamount": {
  17543. "description": "贷款总额=已定价额+调整金额",
  17544. "type": "number"
  17545. },
  17546. "margin": {
  17547. "description": "保证金",
  17548. "type": "number"
  17549. },
  17550. "meruserid": {
  17551. "description": "跟单员id",
  17552. "type": "integer"
  17553. },
  17554. "meruserlogincode": {
  17555. "description": "跟单员登录代码",
  17556. "type": "string"
  17557. },
  17558. "nickname": {
  17559. "description": "账户昵称",
  17560. "type": "string"
  17561. },
  17562. "payamount": {
  17563. "description": "已收付额(收款或付款)",
  17564. "type": "number"
  17565. },
  17566. "preinvoiceamount": {
  17567. "description": "预收(开)票额",
  17568. "type": "number"
  17569. },
  17570. "prepayamount": {
  17571. "description": "预收付额",
  17572. "type": "number"
  17573. },
  17574. "price": {
  17575. "description": "价格",
  17576. "type": "number"
  17577. },
  17578. "pricedamount": {
  17579. "description": "已定价额",
  17580. "type": "number"
  17581. },
  17582. "pricedavg": {
  17583. "description": "已点均价",
  17584. "type": "number"
  17585. },
  17586. "pricedqty": {
  17587. "description": "已定价量",
  17588. "type": "number"
  17589. },
  17590. "pricemove": {
  17591. "description": "升贴水",
  17592. "type": "number"
  17593. },
  17594. "pricetype": {
  17595. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17596. "type": "integer"
  17597. },
  17598. "producttype": {
  17599. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17600. "type": "integer"
  17601. },
  17602. "qty": {
  17603. "description": "合同量",
  17604. "type": "number"
  17605. },
  17606. "reckonadjustamount": {
  17607. "description": "调整金额",
  17608. "type": "number"
  17609. },
  17610. "reckonedamount": {
  17611. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17612. "type": "number"
  17613. },
  17614. "reckonotheramount": {
  17615. "description": "其它费用",
  17616. "type": "number"
  17617. },
  17618. "reckonrealqty": {
  17619. "description": "已确定量",
  17620. "type": "number"
  17621. },
  17622. "remark": {
  17623. "description": "备注",
  17624. "type": "string"
  17625. },
  17626. "saleuserid": {
  17627. "description": "业务员id",
  17628. "type": "integer"
  17629. },
  17630. "saleuserlogincode": {
  17631. "description": "业务员登录代码",
  17632. "type": "string"
  17633. },
  17634. "spotcontractid": {
  17635. "description": "合同ID",
  17636. "type": "string"
  17637. },
  17638. "spotgoodsbrandid": {
  17639. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17640. "type": "integer"
  17641. },
  17642. "spotgoodsdesc": {
  17643. "description": "商品型号(商品规格)",
  17644. "type": "string"
  17645. },
  17646. "startdate": {
  17647. "description": "点价开始日",
  17648. "type": "string"
  17649. },
  17650. "totalamount": {
  17651. "description": "合计总额",
  17652. "type": "number"
  17653. },
  17654. "tradeuserid": {
  17655. "description": "交易员id",
  17656. "type": "integer"
  17657. },
  17658. "tradeuserlogincode": {
  17659. "description": "交易员登录代码",
  17660. "type": "string"
  17661. },
  17662. "tradeusername": {
  17663. "description": "交易员名称",
  17664. "type": "string"
  17665. },
  17666. "unpayamount": {
  17667. "description": "应收付款额(应支付或应收款)",
  17668. "type": "number"
  17669. },
  17670. "unpricedqty": {
  17671. "description": "未定价量",
  17672. "type": "number"
  17673. },
  17674. "unsureqty": {
  17675. "description": "未确定量",
  17676. "type": "number"
  17677. },
  17678. "userid": {
  17679. "description": "机构ID",
  17680. "type": "integer"
  17681. },
  17682. "wrstandardcode": {
  17683. "description": "品类代码",
  17684. "type": "string"
  17685. },
  17686. "wrstandardid": {
  17687. "description": "品类ID",
  17688. "type": "integer"
  17689. },
  17690. "wrstandardname": {
  17691. "description": "品类名称",
  17692. "type": "string"
  17693. }
  17694. }
  17695. },
  17696. "models.Ermcp3SpotGoodsPrice": {
  17697. "type": "object",
  17698. "properties": {
  17699. "areauserid": {
  17700. "description": "所属机构id",
  17701. "type": "integer"
  17702. },
  17703. "brandname": {
  17704. "description": "品牌名称",
  17705. "type": "string"
  17706. },
  17707. "currencyid": {
  17708. "description": "报价货币ID",
  17709. "type": "integer"
  17710. },
  17711. "currencyname": {
  17712. "description": "币种名称",
  17713. "type": "string"
  17714. },
  17715. "deliverygoodscode": {
  17716. "description": "现货商品代码",
  17717. "type": "string"
  17718. },
  17719. "deliverygoodsid": {
  17720. "description": "现货商品id",
  17721. "type": "integer"
  17722. },
  17723. "deliverygoodsname": {
  17724. "description": "现货商品名称",
  17725. "type": "string"
  17726. },
  17727. "enumdicname": {
  17728. "description": "现货商品单位名称",
  17729. "type": "string"
  17730. },
  17731. "gbenumdicname": {
  17732. "description": "品类单位名称",
  17733. "type": "string"
  17734. },
  17735. "gmunitid": {
  17736. "description": "品类单位id",
  17737. "type": "integer"
  17738. },
  17739. "isvalid": {
  17740. "description": "是否有效 - 0:无效 1:有效",
  17741. "type": "integer"
  17742. },
  17743. "operateid": {
  17744. "description": "最后操作人",
  17745. "type": "integer"
  17746. },
  17747. "operatesrc": {
  17748. "description": "最后操作来源 - 1:管理端 2:终端",
  17749. "type": "integer"
  17750. },
  17751. "operatetime": {
  17752. "description": "最后操作时间",
  17753. "type": "string"
  17754. },
  17755. "operatorname": {
  17756. "description": "操作人名称",
  17757. "type": "string"
  17758. },
  17759. "spotgoodsbrandid": {
  17760. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17761. "type": "integer"
  17762. },
  17763. "spotgoodsprice": {
  17764. "description": "现货价格",
  17765. "type": "number"
  17766. },
  17767. "tradedate": {
  17768. "description": "交易日(yyyyMMdd)",
  17769. "type": "string"
  17770. },
  17771. "unitid": {
  17772. "description": "现货商品单位id",
  17773. "type": "integer"
  17774. },
  17775. "wrstandardcode": {
  17776. "description": "品类代码",
  17777. "type": "string"
  17778. },
  17779. "wrstandardid": {
  17780. "description": "现货品类ID(通用则为0)",
  17781. "type": "integer"
  17782. },
  17783. "wrstandardname": {
  17784. "description": "品类名称",
  17785. "type": "string"
  17786. }
  17787. }
  17788. },
  17789. "models.Ermcp3SpotGoodsPriceLog": {
  17790. "type": "object",
  17791. "properties": {
  17792. "areauserid": {
  17793. "description": "所属机构id",
  17794. "type": "integer"
  17795. },
  17796. "brandname": {
  17797. "description": "品牌名称",
  17798. "type": "string"
  17799. },
  17800. "currencyid": {
  17801. "description": "报价货币ID",
  17802. "type": "integer"
  17803. },
  17804. "deliverygoodscode": {
  17805. "description": "现货商品代码",
  17806. "type": "string"
  17807. },
  17808. "deliverygoodsid": {
  17809. "description": "现货商品id",
  17810. "type": "integer"
  17811. },
  17812. "deliverygoodsname": {
  17813. "description": "现货商品名称",
  17814. "type": "string"
  17815. },
  17816. "enumdicname": {
  17817. "description": "现货商品单位名称",
  17818. "type": "string"
  17819. },
  17820. "gbenumdicname": {
  17821. "description": "品类单位名称",
  17822. "type": "string"
  17823. },
  17824. "gmunitid": {
  17825. "description": "品类单位id",
  17826. "type": "integer"
  17827. },
  17828. "logid": {
  17829. "description": "日志id",
  17830. "type": "integer"
  17831. },
  17832. "operateid": {
  17833. "description": "最后操作人",
  17834. "type": "integer"
  17835. },
  17836. "operatesrc": {
  17837. "description": "最后操作来源 - 1:管理端 2:终端",
  17838. "type": "integer"
  17839. },
  17840. "operatetime": {
  17841. "description": "最后操作时间",
  17842. "type": "string"
  17843. },
  17844. "operatorname": {
  17845. "description": "操作人名称",
  17846. "type": "string"
  17847. },
  17848. "spotgoodsbrandid": {
  17849. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17850. "type": "integer"
  17851. },
  17852. "spotgoodsprice": {
  17853. "description": "现货价格",
  17854. "type": "number"
  17855. },
  17856. "tradedate": {
  17857. "description": "交易日(yyyyMMdd)",
  17858. "type": "string"
  17859. },
  17860. "unitid": {
  17861. "description": "现货商品单位id",
  17862. "type": "integer"
  17863. },
  17864. "wrstandardcode": {
  17865. "description": "品类代码",
  17866. "type": "string"
  17867. },
  17868. "wrstandardid": {
  17869. "description": "现货品类ID(通用则为0)",
  17870. "type": "integer"
  17871. },
  17872. "wrstandardname": {
  17873. "description": "品类名称",
  17874. "type": "string"
  17875. }
  17876. }
  17877. },
  17878. "models.Ermcp3TaFutuReDataReport": {
  17879. "type": "object",
  17880. "properties": {
  17881. "accountid": {
  17882. "description": "交易账户",
  17883. "type": "integer"
  17884. },
  17885. "accountname": {
  17886. "description": "交易账号名称",
  17887. "type": "string"
  17888. },
  17889. "begindate": {
  17890. "description": "开始交易日",
  17891. "type": "string"
  17892. },
  17893. "buyorsell": {
  17894. "description": "持仓方向",
  17895. "type": "integer"
  17896. },
  17897. "charge": {
  17898. "description": "手续费",
  17899. "type": "number"
  17900. },
  17901. "closeavgprice": {
  17902. "description": "平仓均价",
  17903. "type": "number"
  17904. },
  17905. "closepl": {
  17906. "description": "平仓损益",
  17907. "type": "number"
  17908. },
  17909. "currencyid": {
  17910. "description": "结算币种ID",
  17911. "type": "integer"
  17912. },
  17913. "cycletime": {
  17914. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17915. "type": "string"
  17916. },
  17917. "cycletype": {
  17918. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17919. "type": "integer"
  17920. },
  17921. "enddate": {
  17922. "description": "结束交易日",
  17923. "type": "string"
  17924. },
  17925. "enumdicname": {
  17926. "description": "单位名称(现货商品)",
  17927. "type": "string"
  17928. },
  17929. "floatpl": {
  17930. "description": "浮动损益",
  17931. "type": "number"
  17932. },
  17933. "goodscode": {
  17934. "description": "交易合约代码",
  17935. "type": "string"
  17936. },
  17937. "goodsgroupid": {
  17938. "description": "交易品种",
  17939. "type": "integer"
  17940. },
  17941. "goodsgroupname": {
  17942. "description": "交易品种名称",
  17943. "type": "string"
  17944. },
  17945. "goodsgroupspotqty": {
  17946. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  17947. "type": "number"
  17948. },
  17949. "goodsid": {
  17950. "description": "交易合约",
  17951. "type": "integer"
  17952. },
  17953. "goodsname": {
  17954. "description": "交易合约名称",
  17955. "type": "string"
  17956. },
  17957. "goodunitid": {
  17958. "description": "交易合约单位id",
  17959. "type": "integer"
  17960. },
  17961. "holdamount": {
  17962. "description": "期末持仓额",
  17963. "type": "number"
  17964. },
  17965. "holdqty": {
  17966. "description": "期末持仓量",
  17967. "type": "number"
  17968. },
  17969. "lastholdamount": {
  17970. "description": "当前持仓额",
  17971. "type": "number"
  17972. },
  17973. "lastprice": {
  17974. "description": "最新价",
  17975. "type": "number"
  17976. },
  17977. "middlegoodsqty": {
  17978. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  17979. "type": "number"
  17980. },
  17981. "openamount": {
  17982. "description": "期末开仓额",
  17983. "type": "number"
  17984. },
  17985. "openavgprice": {
  17986. "description": "开仓均价",
  17987. "type": "number"
  17988. },
  17989. "oriholdamount": {
  17990. "description": "期初持仓额",
  17991. "type": "number"
  17992. },
  17993. "oriholdqty": {
  17994. "description": "期初持仓量",
  17995. "type": "number"
  17996. },
  17997. "oriopenamount": {
  17998. "description": "期初开仓额",
  17999. "type": "number"
  18000. },
  18001. "outergroupcode": {
  18002. "description": "交易品种代码",
  18003. "type": "string"
  18004. },
  18005. "reckondate": {
  18006. "description": "日照时期(yyyyMMdd)",
  18007. "type": "string"
  18008. },
  18009. "reckonholdamount": {
  18010. "description": "结算持仓额",
  18011. "type": "number"
  18012. },
  18013. "reckonpl": {
  18014. "description": "结算损益",
  18015. "type": "number"
  18016. },
  18017. "reckonpl2": {
  18018. "description": "结算逐笔盈亏",
  18019. "type": "number"
  18020. },
  18021. "reckonprice": {
  18022. "description": "结算价",
  18023. "type": "number"
  18024. },
  18025. "relateduserid": {
  18026. "description": "账户关联用户ID",
  18027. "type": "integer"
  18028. },
  18029. "todaycloseamount": {
  18030. "description": "今平仓额",
  18031. "type": "number"
  18032. },
  18033. "todaycloseqty": {
  18034. "description": "今平仓量",
  18035. "type": "number"
  18036. },
  18037. "todaygoodsgroupspotqty": {
  18038. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18039. "type": "number"
  18040. },
  18041. "todaymiddlegoodsqty": {
  18042. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18043. "type": "number"
  18044. },
  18045. "todayopenamount": {
  18046. "description": "今开仓额",
  18047. "type": "number"
  18048. },
  18049. "todayopenqty": {
  18050. "description": "今开仓量",
  18051. "type": "number"
  18052. },
  18053. "userid": {
  18054. "description": "账户所属用户ID",
  18055. "type": "integer"
  18056. }
  18057. }
  18058. },
  18059. "models.Ermcp3Wrstandard": {
  18060. "type": "object",
  18061. "properties": {
  18062. "areauserid": {
  18063. "description": "所属机构",
  18064. "type": "integer"
  18065. },
  18066. "convertfactor": {
  18067. "description": "标仓系数",
  18068. "type": "number"
  18069. },
  18070. "createtime": {
  18071. "description": "创建时间",
  18072. "type": "string"
  18073. },
  18074. "creatorid": {
  18075. "description": "创建人",
  18076. "type": "integer"
  18077. },
  18078. "deliverygoodsid": {
  18079. "description": "现货品种ID",
  18080. "type": "integer"
  18081. },
  18082. "enumdicname": {
  18083. "description": "品类单位名称",
  18084. "type": "string"
  18085. },
  18086. "isvalid": {
  18087. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18088. "type": "integer"
  18089. },
  18090. "minivalue": {
  18091. "description": "最小变动值",
  18092. "type": "integer"
  18093. },
  18094. "minivaluedp": {
  18095. "description": "最小变动值小数位",
  18096. "type": "integer"
  18097. },
  18098. "realminivalue": {
  18099. "description": "实际最小变动值",
  18100. "type": "integer"
  18101. },
  18102. "realminivaluedp": {
  18103. "description": "实际最小变动值小数位",
  18104. "type": "integer"
  18105. },
  18106. "remark": {
  18107. "description": "备注",
  18108. "type": "string"
  18109. },
  18110. "unitid": {
  18111. "description": "品类单位ID",
  18112. "type": "integer"
  18113. },
  18114. "updatetime": {
  18115. "description": "更新时间",
  18116. "type": "string"
  18117. },
  18118. "wrstandardcode": {
  18119. "description": "品类代码",
  18120. "type": "string"
  18121. },
  18122. "wrstandardid": {
  18123. "description": "品类ID(SEQ_WRSTANDARD)",
  18124. "type": "integer"
  18125. },
  18126. "wrstandardname": {
  18127. "description": "品类名称",
  18128. "type": "string"
  18129. }
  18130. }
  18131. },
  18132. "models.ErmcpAreaSpotDetailModel": {
  18133. "type": "object",
  18134. "properties": {
  18135. "contracttype": {
  18136. "description": "合同类型 1-采购 -1-销售",
  18137. "type": "integer"
  18138. },
  18139. "createtime": {
  18140. "description": "创建时间",
  18141. "type": "string"
  18142. },
  18143. "enumdicname": {
  18144. "description": "现货商品单位名称",
  18145. "type": "string"
  18146. },
  18147. "logtype": {
  18148. "description": "记录类型 1-套保 2-现货合同",
  18149. "type": "integer"
  18150. },
  18151. "qty": {
  18152. "description": "数量",
  18153. "type": "number"
  18154. },
  18155. "recordname": {
  18156. "description": "类型名称",
  18157. "type": "string"
  18158. },
  18159. "relatedid": {
  18160. "description": "套保计划ID/现货合同ID",
  18161. "type": "string"
  18162. },
  18163. "relatedno": {
  18164. "description": "编号",
  18165. "type": "string"
  18166. },
  18167. "strtime": {
  18168. "description": "时间",
  18169. "type": "string"
  18170. },
  18171. "wrstandardcode": {
  18172. "description": "现货商品代码",
  18173. "type": "string"
  18174. },
  18175. "wrstandardname": {
  18176. "description": "现货商品名称",
  18177. "type": "string"
  18178. }
  18179. }
  18180. },
  18181. "models.ErmcpAvalidGoodsGroupModel": {
  18182. "type": "object",
  18183. "properties": {
  18184. "goodsgroupid": {
  18185. "description": "期货品种id",
  18186. "type": "integer"
  18187. },
  18188. "goodsgroupname": {
  18189. "description": "期货品种名称",
  18190. "type": "string"
  18191. },
  18192. "goodunitid": {
  18193. "description": "品种单位id",
  18194. "type": "integer"
  18195. },
  18196. "goodunitname": {
  18197. "description": "品种单位名称",
  18198. "type": "string"
  18199. },
  18200. "outergroupcode": {
  18201. "description": "期货品种代码",
  18202. "type": "string"
  18203. }
  18204. }
  18205. },
  18206. "models.ErmcpBizGroupEx": {
  18207. "type": "object",
  18208. "properties": {
  18209. "acclist": {
  18210. "description": "账号列表",
  18211. "type": "array",
  18212. "items": {
  18213. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18214. }
  18215. },
  18216. "bizgroupid": {
  18217. "description": "业务分组id",
  18218. "type": "integer"
  18219. },
  18220. "biztype": {
  18221. "description": "业务类型 1-套保 2-套利",
  18222. "type": "integer"
  18223. },
  18224. "wrlist": {
  18225. "description": "现货商品表",
  18226. "type": "array",
  18227. "items": {
  18228. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18229. }
  18230. }
  18231. }
  18232. },
  18233. "models.ErmcpBizGroupSpotGoods": {
  18234. "type": "object",
  18235. "properties": {
  18236. "areauserid": {
  18237. "description": "所属机构id",
  18238. "type": "integer"
  18239. },
  18240. "bizgroupid": {
  18241. "description": "分组id",
  18242. "type": "integer"
  18243. },
  18244. "biztype": {
  18245. "description": "业务类型 1-套保 2-套利",
  18246. "type": "integer"
  18247. },
  18248. "deliverygoodscode": {
  18249. "description": "现货商品代码",
  18250. "type": "string"
  18251. },
  18252. "deliverygoodsid": {
  18253. "description": "现货商品id",
  18254. "type": "integer"
  18255. },
  18256. "deliverygoodsname": {
  18257. "description": "现货商品名称",
  18258. "type": "string"
  18259. },
  18260. "unitid": {
  18261. "description": "现货商品单位id",
  18262. "type": "integer"
  18263. }
  18264. }
  18265. },
  18266. "models.ErmcpBizGroupTaAccount": {
  18267. "type": "object",
  18268. "properties": {
  18269. "accountid": {
  18270. "description": "账号id",
  18271. "type": "integer"
  18272. },
  18273. "accountname": {
  18274. "description": "账号名称",
  18275. "type": "string"
  18276. },
  18277. "areauserid": {
  18278. "description": "所属机构id",
  18279. "type": "integer"
  18280. },
  18281. "bizgroupid": {
  18282. "description": "业务分组id",
  18283. "type": "integer"
  18284. },
  18285. "ismain": {
  18286. "description": "是否主账号 1-是 0-否",
  18287. "type": "integer"
  18288. }
  18289. }
  18290. },
  18291. "models.ErmcpDGFactoryItem": {
  18292. "type": "object",
  18293. "properties": {
  18294. "areauserid": {
  18295. "description": "用户id",
  18296. "type": "integer"
  18297. },
  18298. "deliverygoodsid": {
  18299. "description": "现货品种ID",
  18300. "type": "integer"
  18301. },
  18302. "dgfactoryitemid": {
  18303. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18304. "type": "integer"
  18305. },
  18306. "dgfactoryitemtypeid": {
  18307. "description": "要素项类型",
  18308. "type": "integer"
  18309. },
  18310. "dgfactoryitemvalue": {
  18311. "description": "要素项值(类型为仓库时填写仓库名称)",
  18312. "type": "string"
  18313. },
  18314. "isvalid": {
  18315. "description": "是否有效 - 0:无效 1:有效",
  18316. "type": "integer"
  18317. },
  18318. "orderindex": {
  18319. "description": "顺序",
  18320. "type": "integer"
  18321. },
  18322. "warehouseid": {
  18323. "description": "仓库ID(类型为仓库时填写)",
  18324. "type": "integer"
  18325. }
  18326. }
  18327. },
  18328. "models.ErmcpDeliveryGoods": {
  18329. "type": "object",
  18330. "properties": {
  18331. "agreeunit": {
  18332. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18333. "type": "integer"
  18334. },
  18335. "areauserid": {
  18336. "description": "所属机构",
  18337. "type": "integer"
  18338. },
  18339. "auditflag": {
  18340. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18341. "type": "integer"
  18342. },
  18343. "categoryid": {
  18344. "description": "类别ID(SEQ_WRCATEGORY)",
  18345. "type": "integer"
  18346. },
  18347. "deliverygoodscode": {
  18348. "description": "现货品种代码",
  18349. "type": "string"
  18350. },
  18351. "deliverygoodsid": {
  18352. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18353. "type": "integer"
  18354. },
  18355. "deliverygoodsname": {
  18356. "description": "现货品种名称",
  18357. "type": "string"
  18358. },
  18359. "deliverygoodstype": {
  18360. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  18361. "type": "integer"
  18362. },
  18363. "dgstatus": {
  18364. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  18365. "type": "integer"
  18366. },
  18367. "enumdicname": {
  18368. "description": "现货品种单位名称",
  18369. "type": "string"
  18370. },
  18371. "goodsunitid": {
  18372. "description": "现货品种单位ID",
  18373. "type": "integer"
  18374. },
  18375. "isvalid": {
  18376. "description": "是否有效 - 0:无效 1:有效",
  18377. "type": "integer"
  18378. },
  18379. "qtydecimalplace": {
  18380. "description": "成交量小数位",
  18381. "type": "integer"
  18382. },
  18383. "remark": {
  18384. "description": "备注",
  18385. "type": "string"
  18386. },
  18387. "standardqty": {
  18388. "description": "标准数量(库位数量) [标准品特有]",
  18389. "type": "integer"
  18390. },
  18391. "standardqtyrange": {
  18392. "description": "标准数量偏差范围 [标准品特有]",
  18393. "type": "integer"
  18394. }
  18395. }
  18396. },
  18397. "models.ErmcpDeliveryGoodsDetail2": {
  18398. "type": "object",
  18399. "properties": {
  18400. "convertratio": {
  18401. "description": "套保系数(折算系数)",
  18402. "type": "number"
  18403. },
  18404. "data": {
  18405. "description": "现货商品基本信息(交割品种)",
  18406. "type": "object",
  18407. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18408. },
  18409. "gblist": {
  18410. "description": "品牌列表",
  18411. "type": "array",
  18412. "items": {
  18413. "$ref": "#/definitions/models.Ermcp3Brand"
  18414. }
  18415. },
  18416. "gmlist": {
  18417. "description": "品类列表(仓单标准)",
  18418. "type": "array",
  18419. "items": {
  18420. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18421. }
  18422. }
  18423. }
  18424. },
  18425. "models.ErmcpDeliveryGoodsDetailEx": {
  18426. "type": "object",
  18427. "properties": {
  18428. "data": {
  18429. "description": "现货商品基本信息(交割品种)",
  18430. "type": "object",
  18431. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18432. },
  18433. "gblist": {
  18434. "description": "品牌列表",
  18435. "type": "array",
  18436. "items": {
  18437. "$ref": "#/definitions/models.Ermcp3Brand"
  18438. }
  18439. },
  18440. "gmlist": {
  18441. "description": "品类列表(仓单标准)",
  18442. "type": "array",
  18443. "items": {
  18444. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18445. }
  18446. },
  18447. "mgList": {
  18448. "description": "套保列表",
  18449. "type": "array",
  18450. "items": {
  18451. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18452. }
  18453. }
  18454. }
  18455. },
  18456. "models.ErmcpExposureDetailModel": {
  18457. "type": "object",
  18458. "properties": {
  18459. "areauserid": {
  18460. "description": "机构ID",
  18461. "type": "integer"
  18462. },
  18463. "changeQty": {
  18464. "description": "套保变动量",
  18465. "type": "number"
  18466. },
  18467. "contracttype": {
  18468. "description": "现货合同类型 - 1:采购 -1:销售",
  18469. "type": "integer"
  18470. },
  18471. "convertfactor": {
  18472. "description": "标仓系数",
  18473. "type": "number"
  18474. },
  18475. "convertratio": {
  18476. "description": "套保系数",
  18477. "type": "number"
  18478. },
  18479. "createtime": {
  18480. "description": "时间",
  18481. "type": "string"
  18482. },
  18483. "enumdicname": {
  18484. "description": "现货商品单位名称",
  18485. "type": "string"
  18486. },
  18487. "logtype": {
  18488. "description": "类型 - 1:套保计划 2:现货合同",
  18489. "type": "integer"
  18490. },
  18491. "middlegoodsId": {
  18492. "description": "套保商品id",
  18493. "type": "integer"
  18494. },
  18495. "middlegoodscode": {
  18496. "description": "套保商品代码",
  18497. "type": "string"
  18498. },
  18499. "middlegoodsname": {
  18500. "description": "套保商品名称",
  18501. "type": "string"
  18502. },
  18503. "qty": {
  18504. "description": "数量",
  18505. "type": "number"
  18506. },
  18507. "relateNo": {
  18508. "description": "现货合同/套保计划编号",
  18509. "type": "string"
  18510. },
  18511. "wrstandardcode": {
  18512. "description": "现货商品代码",
  18513. "type": "string"
  18514. },
  18515. "wrstandardid": {
  18516. "description": "现货商品ID",
  18517. "type": "integer"
  18518. },
  18519. "wrstandardname": {
  18520. "description": "现货商品名称",
  18521. "type": "string"
  18522. }
  18523. }
  18524. },
  18525. "models.ErmcpExposurePostion": {
  18526. "type": "object",
  18527. "properties": {
  18528. "agreeunit": {
  18529. "description": "合约单位",
  18530. "type": "string"
  18531. },
  18532. "areauserid": {
  18533. "description": "所属机构id",
  18534. "type": "integer"
  18535. },
  18536. "convertratio": {
  18537. "description": "期货品种系数(折算系数)",
  18538. "type": "number"
  18539. },
  18540. "curqty": {
  18541. "description": "当前持仓",
  18542. "type": "integer"
  18543. },
  18544. "diffhedgeqty": {
  18545. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18546. "type": "number"
  18547. },
  18548. "diffqty": {
  18549. "description": "持仓变动量=当前持仓-昨日持仓",
  18550. "type": "integer"
  18551. },
  18552. "goodscode": {
  18553. "description": "商品代码",
  18554. "type": "string"
  18555. },
  18556. "goodsid": {
  18557. "description": "商品id",
  18558. "type": "integer"
  18559. },
  18560. "goodsname": {
  18561. "description": "商品名称",
  18562. "type": "string"
  18563. },
  18564. "middlegoodsid": {
  18565. "description": "套保商品id",
  18566. "type": "integer"
  18567. },
  18568. "ydqty": {
  18569. "description": "昨日持仓",
  18570. "type": "integer"
  18571. }
  18572. }
  18573. },
  18574. "models.ErmcpFuturesCompany": {
  18575. "type": "object",
  18576. "properties": {
  18577. "brokerid": {
  18578. "description": "经纪公司代码",
  18579. "type": "string"
  18580. },
  18581. "channeladdress": {
  18582. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18583. "type": "string"
  18584. },
  18585. "channelid": {
  18586. "description": "对冲渠道ID",
  18587. "type": "string"
  18588. },
  18589. "createtime": {
  18590. "description": "创建时间",
  18591. "type": "string"
  18592. },
  18593. "creatorid": {
  18594. "description": "创建人",
  18595. "type": "string"
  18596. },
  18597. "fcid": {
  18598. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18599. "type": "integer"
  18600. },
  18601. "fcname": {
  18602. "description": "期货公司名称",
  18603. "type": "string"
  18604. },
  18605. "isvalid": {
  18606. "description": "是否有效 - 0:无效 1:有效",
  18607. "type": "integer"
  18608. },
  18609. "mhpaddress": {
  18610. "description": "MHP服务地址(IP:Port)",
  18611. "type": "string"
  18612. },
  18613. "riskrulegroupid": {
  18614. "description": "风控规则组ID",
  18615. "type": "string"
  18616. },
  18617. "tradefeetmpid": {
  18618. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18619. "type": "string"
  18620. },
  18621. "trademargintmpid": {
  18622. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18623. "type": "string"
  18624. },
  18625. "traderatetmpid": {
  18626. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18627. "type": "string"
  18628. },
  18629. "updatetime": {
  18630. "description": "更新时间",
  18631. "type": "string"
  18632. },
  18633. "updatorid": {
  18634. "description": "更新人",
  18635. "type": "string"
  18636. }
  18637. }
  18638. },
  18639. "models.ErmcpGGConvertCfg": {
  18640. "type": "object",
  18641. "properties": {
  18642. "convertratio": {
  18643. "description": "折算系数",
  18644. "type": "number"
  18645. },
  18646. "destgoodsgroupid": {
  18647. "description": "目标品种ID",
  18648. "type": "integer"
  18649. },
  18650. "dstcode": {
  18651. "description": "目录品种代码",
  18652. "type": "string"
  18653. },
  18654. "dstexchangecode": {
  18655. "description": "目标期货交易所",
  18656. "type": "string"
  18657. },
  18658. "dstname": {
  18659. "description": "目标品种名称",
  18660. "type": "string"
  18661. },
  18662. "dstunitid": {
  18663. "description": "目标品种单位ID",
  18664. "type": "integer"
  18665. },
  18666. "dstunitidname": {
  18667. "description": "目标品种单位名称",
  18668. "type": "string"
  18669. },
  18670. "modifytime": {
  18671. "description": "修改时间",
  18672. "type": "string"
  18673. },
  18674. "srccode": {
  18675. "description": "源品种代码",
  18676. "type": "string"
  18677. },
  18678. "srcexchangecode": {
  18679. "description": "源期货交易所",
  18680. "type": "string"
  18681. },
  18682. "srcgoodsgroupid": {
  18683. "description": "源品种ID",
  18684. "type": "integer"
  18685. },
  18686. "srcname": {
  18687. "description": "源品种名称",
  18688. "type": "string"
  18689. },
  18690. "srcunitid": {
  18691. "description": "源品种单位ID",
  18692. "type": "integer"
  18693. },
  18694. "srcunitidname": {
  18695. "description": "源品种单位名称",
  18696. "type": "string"
  18697. }
  18698. }
  18699. },
  18700. "models.ErmcpGoods": {
  18701. "type": "object",
  18702. "required": [
  18703. "goodscode",
  18704. "goodsid",
  18705. "goodsname",
  18706. "marketid"
  18707. ],
  18708. "properties": {
  18709. "agreeunit": {
  18710. "description": "合约单位",
  18711. "type": "number"
  18712. },
  18713. "areauserid": {
  18714. "description": "所属机构",
  18715. "type": "integer"
  18716. },
  18717. "auditaccountid": {
  18718. "description": "审核操作员账号",
  18719. "type": "integer"
  18720. },
  18721. "audittime": {
  18722. "description": "审核时间",
  18723. "type": "string"
  18724. },
  18725. "cancelaccountid": {
  18726. "description": "注销操作员账号",
  18727. "type": "integer"
  18728. },
  18729. "canceltime": {
  18730. "description": "注销时间",
  18731. "type": "string"
  18732. },
  18733. "closepricemode": {
  18734. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18735. "type": "integer"
  18736. },
  18737. "closepriceparam": {
  18738. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18739. "type": "number"
  18740. },
  18741. "createtime": {
  18742. "description": "创建时间",
  18743. "type": "string"
  18744. },
  18745. "creatorid": {
  18746. "description": "创建人",
  18747. "type": "integer"
  18748. },
  18749. "currencyid": {
  18750. "description": "报价货币ID",
  18751. "type": "integer"
  18752. },
  18753. "cutmode": {
  18754. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18755. "type": "integer"
  18756. },
  18757. "decimalplace": {
  18758. "description": "报价小数位",
  18759. "type": "integer"
  18760. },
  18761. "delistingdate": {
  18762. "description": "商品退市时间(状态:退市) -- 已作废",
  18763. "type": "string"
  18764. },
  18765. "delistingmode": {
  18766. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18767. "type": "integer"
  18768. },
  18769. "deliveryflag": {
  18770. "description": "交割标志 - 0:不可交割 1:可交割",
  18771. "type": "integer"
  18772. },
  18773. "enumdicname": {
  18774. "description": "单位名称",
  18775. "type": "string"
  18776. },
  18777. "forceclosemode": {
  18778. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18779. "type": "integer"
  18780. },
  18781. "forceclosevalue": {
  18782. "description": "定期强平参数 [收益权]",
  18783. "type": "integer"
  18784. },
  18785. "goodscode": {
  18786. "description": "商品代码(内部)",
  18787. "type": "string"
  18788. },
  18789. "goodscurrencyid": {
  18790. "description": "合约货币ID",
  18791. "type": "integer"
  18792. },
  18793. "goodsgroupid": {
  18794. "description": "所属商品组ID",
  18795. "type": "integer"
  18796. },
  18797. "goodsid": {
  18798. "description": "商品ID(自增ID SEQ_GOODS)",
  18799. "type": "integer"
  18800. },
  18801. "goodsname": {
  18802. "description": "商品名称",
  18803. "type": "string"
  18804. },
  18805. "goodsquotetype": {
  18806. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18807. "type": "integer"
  18808. },
  18809. "goodsstatus": {
  18810. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18811. "type": "integer"
  18812. },
  18813. "goodstradetype": {
  18814. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18815. "type": "integer"
  18816. },
  18817. "goodunitid": {
  18818. "description": "报价单位ID",
  18819. "type": "integer"
  18820. },
  18821. "hasquoter": {
  18822. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18823. "type": "integer"
  18824. },
  18825. "hqprotecttime": {
  18826. "description": "行情保护时间(秒)",
  18827. "type": "integer"
  18828. },
  18829. "innerdealmode": {
  18830. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18831. "type": "integer"
  18832. },
  18833. "isbuylimited": {
  18834. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18835. "type": "integer"
  18836. },
  18837. "isvisible": {
  18838. "description": "游客是否可见 - 0:不可见 1:可见",
  18839. "type": "integer"
  18840. },
  18841. "lasttradedate": {
  18842. "description": "最后交易日期(状态:待退市)",
  18843. "type": "string"
  18844. },
  18845. "listingdate": {
  18846. "description": "交易开始日期",
  18847. "type": "string"
  18848. },
  18849. "marketid": {
  18850. "description": "所属市场ID",
  18851. "type": "integer"
  18852. },
  18853. "modifierid": {
  18854. "description": "修改人",
  18855. "type": "integer"
  18856. },
  18857. "modifystatus": {
  18858. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18859. "type": "integer"
  18860. },
  18861. "modifytime": {
  18862. "description": "修改时间",
  18863. "type": "string"
  18864. },
  18865. "outerdealmode": {
  18866. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18867. "type": "integer"
  18868. },
  18869. "outgoodscode": {
  18870. "description": "商品代码(外部)",
  18871. "type": "string"
  18872. },
  18873. "pictureurl": {
  18874. "description": "商品图片",
  18875. "type": "string"
  18876. },
  18877. "qtydecimalplace": {
  18878. "description": "成交量小数位",
  18879. "type": "integer"
  18880. },
  18881. "quotegear": {
  18882. "description": "行情档位(1-10)",
  18883. "type": "integer"
  18884. },
  18885. "quoteminunit": {
  18886. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18887. "type": "integer"
  18888. },
  18889. "quoteshowtype": {
  18890. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  18891. "type": "integer"
  18892. },
  18893. "quoteshowtypeinterval": {
  18894. "description": "行情报价间隔时间(秒)(成交价时为0)",
  18895. "type": "integer"
  18896. },
  18897. "relatedgoodsid": {
  18898. "description": "关联参考商品ID",
  18899. "type": "integer"
  18900. },
  18901. "remark": {
  18902. "description": "备注",
  18903. "type": "string"
  18904. },
  18905. "trademode": {
  18906. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18907. "type": "integer"
  18908. }
  18909. }
  18910. },
  18911. "models.ErmcpGoodsBrand": {
  18912. "type": "object",
  18913. "properties": {
  18914. "areauserid": {
  18915. "description": "所属机构",
  18916. "type": "integer"
  18917. },
  18918. "brandid": {
  18919. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  18920. "type": "integer"
  18921. },
  18922. "brandname": {
  18923. "description": "品牌名称",
  18924. "type": "string"
  18925. },
  18926. "createtime": {
  18927. "description": "创建时间",
  18928. "type": "string"
  18929. },
  18930. "creatorid": {
  18931. "description": "创建人",
  18932. "type": "integer"
  18933. },
  18934. "creatorsrc": {
  18935. "description": "创建人来源 - 1:管理端 2:终端",
  18936. "type": "integer"
  18937. },
  18938. "deliverygoodsid": {
  18939. "description": "现货品种ID",
  18940. "type": "integer"
  18941. },
  18942. "isvalid": {
  18943. "description": "是否有效 - 0:无效 1:有效",
  18944. "type": "integer"
  18945. },
  18946. "updatetime": {
  18947. "description": "更新时间",
  18948. "type": "string"
  18949. },
  18950. "updatorid": {
  18951. "description": "更新人",
  18952. "type": "integer"
  18953. },
  18954. "updatorsrc": {
  18955. "description": "更新人来源 - 1:管理端 2:终端",
  18956. "type": "integer"
  18957. },
  18958. "wrstandardid": {
  18959. "description": "现货商品ID",
  18960. "type": "integer"
  18961. }
  18962. }
  18963. },
  18964. "models.ErmcpGoodsModel": {
  18965. "type": "object",
  18966. "properties": {
  18967. "areauserid": {
  18968. "description": "所属机构",
  18969. "type": "integer"
  18970. },
  18971. "convertfactor": {
  18972. "description": "标仓系数",
  18973. "type": "number"
  18974. },
  18975. "createtime": {
  18976. "description": "创建时间",
  18977. "type": "string"
  18978. },
  18979. "creatorid": {
  18980. "description": "创建人",
  18981. "type": "integer"
  18982. },
  18983. "creatorsrc": {
  18984. "description": "创建人来源 - 1:管理端 2:终端",
  18985. "type": "integer"
  18986. },
  18987. "deliverygoodsid": {
  18988. "description": "现货品种ID",
  18989. "type": "integer"
  18990. },
  18991. "isvalid": {
  18992. "description": "是否有效 - 0:无效 1:有效",
  18993. "type": "integer"
  18994. },
  18995. "modelid": {
  18996. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  18997. "type": "integer"
  18998. },
  18999. "modelname": {
  19000. "description": "型号名称",
  19001. "type": "string"
  19002. },
  19003. "updatetime": {
  19004. "description": "更新时间",
  19005. "type": "string"
  19006. },
  19007. "updatorid": {
  19008. "description": "更新人",
  19009. "type": "integer"
  19010. },
  19011. "updatorsrc": {
  19012. "description": "更新人来源 - 1:管理端 2:终端",
  19013. "type": "integer"
  19014. },
  19015. "wrstandardid": {
  19016. "description": "现货商品ID",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "models.ErmcpHedgePosition": {
  19022. "type": "object",
  19023. "properties": {
  19024. "accountid": {
  19025. "description": "资金账号[外部母账户]",
  19026. "type": "integer"
  19027. },
  19028. "curbuyposition": {
  19029. "description": "期末买头寸",
  19030. "type": "integer"
  19031. },
  19032. "cursellposition": {
  19033. "description": "期末卖头寸",
  19034. "type": "integer"
  19035. },
  19036. "curtdbuyposition": {
  19037. "description": "期末今日买头寸",
  19038. "type": "integer"
  19039. },
  19040. "curtdsellposition": {
  19041. "description": "期末今日卖头寸",
  19042. "type": "integer"
  19043. },
  19044. "curydbuyposition": {
  19045. "description": "期末上日买头寸",
  19046. "type": "integer"
  19047. },
  19048. "curydsellposition": {
  19049. "description": "期末上日卖头寸",
  19050. "type": "integer"
  19051. },
  19052. "decreaseqty": {
  19053. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19054. "type": "integer"
  19055. },
  19056. "fretdbuyposition": {
  19057. "description": "冻结今日买头寸",
  19058. "type": "integer"
  19059. },
  19060. "fretdsellposition": {
  19061. "description": "冻结今日卖头寸",
  19062. "type": "integer"
  19063. },
  19064. "freydbuyposition": {
  19065. "description": "冻结上日买头寸",
  19066. "type": "integer"
  19067. },
  19068. "freydsellposition": {
  19069. "description": "冻结上日卖头寸",
  19070. "type": "integer"
  19071. },
  19072. "goodscode": {
  19073. "description": "商品代码",
  19074. "type": "string"
  19075. },
  19076. "goodsid": {
  19077. "description": "商品id",
  19078. "type": "integer"
  19079. },
  19080. "goodsname": {
  19081. "description": "商品名称",
  19082. "type": "string"
  19083. },
  19084. "hedgeaccountcode": {
  19085. "description": "对冲账号",
  19086. "type": "string"
  19087. },
  19088. "hedgegoodsid": {
  19089. "description": "对冲合约ID",
  19090. "type": "integer"
  19091. },
  19092. "increaseqty": {
  19093. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19094. "type": "integer"
  19095. },
  19096. "marketid": {
  19097. "description": "市场ID",
  19098. "type": "integer"
  19099. },
  19100. "relateduserid": {
  19101. "description": "关联用户id",
  19102. "type": "integer"
  19103. },
  19104. "totalcurqty": {
  19105. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19106. "type": "integer"
  19107. },
  19108. "totalydqty": {
  19109. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19110. "type": "integer"
  19111. },
  19112. "tradedate": {
  19113. "description": "交易日(yyyyMMdd)",
  19114. "type": "string"
  19115. },
  19116. "ydbuyposition": {
  19117. "description": "期初买头寸",
  19118. "type": "integer"
  19119. },
  19120. "ydsellposition": {
  19121. "description": "期初卖头寸",
  19122. "type": "integer"
  19123. }
  19124. }
  19125. },
  19126. "models.ErmcpHedgePositionDetail": {
  19127. "type": "object",
  19128. "properties": {
  19129. "buyorsell": {
  19130. "description": "买卖方向 0-买 1-卖",
  19131. "type": "integer"
  19132. },
  19133. "channelbuildtype": {
  19134. "description": "开平方向 1-建仓 2-平仓",
  19135. "type": "integer"
  19136. },
  19137. "goodscode": {
  19138. "description": "商品代码",
  19139. "type": "string"
  19140. },
  19141. "goodsname": {
  19142. "description": "商品名称",
  19143. "type": "string"
  19144. },
  19145. "hedgegoodsid": {
  19146. "description": "商品id",
  19147. "type": "integer"
  19148. },
  19149. "tradeqty": {
  19150. "description": "数量(成交数量)",
  19151. "type": "integer"
  19152. },
  19153. "tradetime": {
  19154. "description": "时间(成交时间)",
  19155. "type": "string"
  19156. }
  19157. }
  19158. },
  19159. "models.ErmcpHisExposure": {
  19160. "type": "object",
  19161. "properties": {
  19162. "needhedgeexposoure": {
  19163. "description": "应套保敞口",
  19164. "type": "number"
  19165. },
  19166. "reckondate": {
  19167. "description": "日照时期(yyyyMMdd)",
  19168. "type": "string"
  19169. },
  19170. "totalexposure": {
  19171. "description": "总敞口",
  19172. "type": "number"
  19173. }
  19174. }
  19175. },
  19176. "models.ErmcpHisExposureS": {
  19177. "type": "object",
  19178. "properties": {
  19179. "data": {
  19180. "description": "历史敞口",
  19181. "type": "array",
  19182. "items": {
  19183. "$ref": "#/definitions/models.ErmcpHisExposure"
  19184. }
  19185. },
  19186. "enumdicname": {
  19187. "description": "单位名称",
  19188. "type": "string"
  19189. },
  19190. "middlegoodscode": {
  19191. "description": "套保品种代码",
  19192. "type": "string"
  19193. },
  19194. "middlegoodsid": {
  19195. "description": "套保品种ID",
  19196. "type": "integer"
  19197. },
  19198. "middlegoodsname": {
  19199. "description": "套保品种名称",
  19200. "type": "string"
  19201. }
  19202. }
  19203. },
  19204. "models.ErmcpLoginTaAccount": {
  19205. "type": "object",
  19206. "properties": {
  19207. "accountid": {
  19208. "description": "账号id",
  19209. "type": "integer"
  19210. },
  19211. "accountname": {
  19212. "description": "账号名称",
  19213. "type": "string"
  19214. }
  19215. }
  19216. },
  19217. "models.ErmcpLoginUser": {
  19218. "type": "object",
  19219. "properties": {
  19220. "acclist": {
  19221. "description": "关联资金账号",
  19222. "type": "array",
  19223. "items": {
  19224. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19225. }
  19226. },
  19227. "accountname": {
  19228. "description": "用户名称",
  19229. "type": "string"
  19230. },
  19231. "clientroleid": {
  19232. "description": "角色id(usertype=2)",
  19233. "type": "integer"
  19234. },
  19235. "createtime": {
  19236. "description": "创建时间",
  19237. "type": "string"
  19238. },
  19239. "logincode": {
  19240. "description": "登录代码",
  19241. "type": "string"
  19242. },
  19243. "loginid": {
  19244. "description": "登录id(LOGINID)",
  19245. "type": "integer"
  19246. },
  19247. "loginname": {
  19248. "description": "登录名称(loginaccount表中的accountname字段)",
  19249. "type": "string"
  19250. },
  19251. "loginstatus": {
  19252. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19253. "type": "integer"
  19254. },
  19255. "memberuserid": {
  19256. "description": "所属会员id",
  19257. "type": "integer"
  19258. },
  19259. "mobile": {
  19260. "description": "手机号",
  19261. "type": "string"
  19262. },
  19263. "modifytime": {
  19264. "description": "修改时间",
  19265. "type": "string"
  19266. },
  19267. "password": {
  19268. "description": "密码(不可解密)",
  19269. "type": "string"
  19270. },
  19271. "rolename": {
  19272. "description": "角色名称",
  19273. "type": "string"
  19274. },
  19275. "rolestatus": {
  19276. "description": "角色状态 1-启用 2-停用",
  19277. "type": "integer"
  19278. },
  19279. "roletype": {
  19280. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19281. "type": "string"
  19282. },
  19283. "userid": {
  19284. "description": "用户id",
  19285. "type": "integer"
  19286. },
  19287. "usertype": {
  19288. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19289. "type": "integer"
  19290. }
  19291. }
  19292. },
  19293. "models.ErmcpLoginUserEx": {
  19294. "type": "object",
  19295. "properties": {
  19296. "accountstatus": {
  19297. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19298. "type": "integer"
  19299. },
  19300. "mobile": {
  19301. "description": "手机号",
  19302. "type": "string"
  19303. },
  19304. "querytype": {
  19305. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19306. "type": "integer"
  19307. },
  19308. "roleid": {
  19309. "description": "角色id(交易账户-\u003e用户id)",
  19310. "type": "integer"
  19311. },
  19312. "rolename": {
  19313. "description": "角色名称(交易账户-\u003e用户名称)",
  19314. "type": "string"
  19315. },
  19316. "userlist": {
  19317. "description": "用户列表",
  19318. "type": "array",
  19319. "items": {
  19320. "$ref": "#/definitions/models.ErmcpLoginUser"
  19321. }
  19322. },
  19323. "usertype": {
  19324. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19325. "type": "integer"
  19326. }
  19327. }
  19328. },
  19329. "models.ErmcpMiddleGoodsChangeLog": {
  19330. "type": "object",
  19331. "properties": {
  19332. "aftervalue": {
  19333. "description": "变更后",
  19334. "type": "number"
  19335. },
  19336. "applyid": {
  19337. "description": "操作人",
  19338. "type": "integer"
  19339. },
  19340. "applyname": {
  19341. "description": "操作人名称",
  19342. "type": "string"
  19343. },
  19344. "applysrc": {
  19345. "description": "操作来源 - 1:管理端 2:终端",
  19346. "type": "integer"
  19347. },
  19348. "beforevalue": {
  19349. "description": "变更前",
  19350. "type": "number"
  19351. },
  19352. "changelogtype": {
  19353. "description": "变更流水类型 - 1:套保比率变更",
  19354. "type": "integer"
  19355. },
  19356. "handlestatus": {
  19357. "description": "处理状态",
  19358. "type": "integer"
  19359. },
  19360. "logdatetime": {
  19361. "description": "流水日期",
  19362. "type": "string"
  19363. },
  19364. "logid": {
  19365. "description": "流水ID",
  19366. "type": "integer"
  19367. },
  19368. "logremark": {
  19369. "description": "流水备注",
  19370. "type": "string"
  19371. },
  19372. "middlegoodsid": {
  19373. "description": "套保品种ID",
  19374. "type": "integer"
  19375. },
  19376. "tradedate": {
  19377. "description": "交易日(yyyyMMdd)",
  19378. "type": "string"
  19379. },
  19380. "updatetime": {
  19381. "description": "更新时间",
  19382. "type": "string"
  19383. }
  19384. }
  19385. },
  19386. "models.ErmcpMiddleGoodsDetail": {
  19387. "type": "object",
  19388. "properties": {
  19389. "cvList": {
  19390. "description": "期货品种折算列表",
  19391. "type": "array",
  19392. "items": {
  19393. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19394. }
  19395. },
  19396. "mg": {
  19397. "description": "套保品种基本信息",
  19398. "type": "object",
  19399. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19400. },
  19401. "wrcList": {
  19402. "description": "现货品种列表(现货商品折算配置)",
  19403. "type": "array",
  19404. "items": {
  19405. "$ref": "#/definitions/models.WRSConverTDetail"
  19406. }
  19407. }
  19408. }
  19409. },
  19410. "models.ErmcpMiddleGoodsModel": {
  19411. "type": "object",
  19412. "properties": {
  19413. "areauserid": {
  19414. "description": "机构用户ID",
  19415. "type": "integer"
  19416. },
  19417. "createtime": {
  19418. "description": "修改时间",
  19419. "type": "string"
  19420. },
  19421. "enumdicname": {
  19422. "description": "单位名称",
  19423. "type": "string"
  19424. },
  19425. "evaluateratio": {
  19426. "description": "估价系数",
  19427. "type": "number"
  19428. },
  19429. "goodsgroupid": {
  19430. "description": "关联期货品种ID",
  19431. "type": "integer"
  19432. },
  19433. "goodsunitid": {
  19434. "description": "单位ID",
  19435. "type": "integer"
  19436. },
  19437. "isvalid": {
  19438. "description": "状态 0-无效(停用) 1-有效(正常)",
  19439. "type": "integer"
  19440. },
  19441. "middlegoodscode": {
  19442. "description": "套保品种代码",
  19443. "type": "string"
  19444. },
  19445. "middlegoodsid": {
  19446. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19447. "type": "integer"
  19448. },
  19449. "middlegoodsname": {
  19450. "description": "套保品种名称",
  19451. "type": "string"
  19452. },
  19453. "modifytime": {
  19454. "description": "修改时间",
  19455. "type": "string"
  19456. },
  19457. "needarbitrageratio": {
  19458. "description": "套利比例",
  19459. "type": "number"
  19460. },
  19461. "needhedgeratio": {
  19462. "description": "套保比率",
  19463. "type": "number"
  19464. },
  19465. "qtydecimalplace": {
  19466. "description": "数量小数位",
  19467. "type": "integer"
  19468. },
  19469. "relatedgoodsid": {
  19470. "description": "关联交易商品ID",
  19471. "type": "integer"
  19472. },
  19473. "relatedgoodstype": {
  19474. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19475. "type": "integer"
  19476. },
  19477. "remark": {
  19478. "description": "备注",
  19479. "type": "string"
  19480. }
  19481. }
  19482. },
  19483. "models.ErmcpMiddlegoodsRelateGoods": {
  19484. "type": "object",
  19485. "properties": {
  19486. "agreeunit": {
  19487. "description": "合约乘数",
  19488. "type": "number"
  19489. },
  19490. "convertratio": {
  19491. "description": "折算系数",
  19492. "type": "number"
  19493. },
  19494. "enumdicname": {
  19495. "description": "单位名称(交易商品)",
  19496. "type": "string"
  19497. },
  19498. "goodscode": {
  19499. "description": "交易商品代码",
  19500. "type": "string"
  19501. },
  19502. "goodsgroupid": {
  19503. "description": "交易品种id",
  19504. "type": "integer"
  19505. },
  19506. "goodsid": {
  19507. "description": "商品Id",
  19508. "type": "integer"
  19509. },
  19510. "goodsname": {
  19511. "description": "交易商品名称",
  19512. "type": "string"
  19513. },
  19514. "goodunitid": {
  19515. "description": "交易商品单位id",
  19516. "type": "integer"
  19517. },
  19518. "middlegoodsid": {
  19519. "description": "套保商品id",
  19520. "type": "integer"
  19521. },
  19522. "middlegoodsname": {
  19523. "description": "套保商品名称",
  19524. "type": "string"
  19525. },
  19526. "middlegoodsswcode": {
  19527. "description": "套保商品代码",
  19528. "type": "string"
  19529. },
  19530. "needarbitrageratio": {
  19531. "description": "应套利比例",
  19532. "type": "number"
  19533. },
  19534. "needhedgeratio": {
  19535. "description": "应套保比例",
  19536. "type": "number"
  19537. }
  19538. }
  19539. },
  19540. "models.ErmcpOPLogModel": {
  19541. "type": "object",
  19542. "properties": {
  19543. "aftervalue": {
  19544. "description": "变更后",
  19545. "type": "number"
  19546. },
  19547. "applyid": {
  19548. "description": "操作人ID",
  19549. "type": "string"
  19550. },
  19551. "applyname": {
  19552. "description": "操作人名称",
  19553. "type": "string"
  19554. },
  19555. "beforevalue": {
  19556. "description": "变更前",
  19557. "type": "number"
  19558. },
  19559. "biztype": {
  19560. "description": "业务类型 - 1:套保计划 2:现货合同",
  19561. "type": "integer"
  19562. },
  19563. "contracttype": {
  19564. "description": "现货合同类型 - 1:采购 -1:销售",
  19565. "type": "integer"
  19566. },
  19567. "logvalue": {
  19568. "description": "数值",
  19569. "type": "number"
  19570. },
  19571. "operatelogtype": {
  19572. "description": "操作流水类型",
  19573. "type": "integer"
  19574. },
  19575. "operatelogtypedesc": {
  19576. "description": "操作流水类型名称",
  19577. "type": "string"
  19578. },
  19579. "relatedid": {
  19580. "description": "现货合同ID\\套保计划",
  19581. "type": "string"
  19582. },
  19583. "updatetime": {
  19584. "description": "更新时间",
  19585. "type": "string"
  19586. }
  19587. }
  19588. },
  19589. "models.ErmcpPendingAudit": {
  19590. "type": "object",
  19591. "properties": {
  19592. "areastockqty": {
  19593. "description": "待审核数量: 库存申请",
  19594. "type": "integer"
  19595. },
  19596. "businessdjqty": {
  19597. "description": "待审核数量: 点价",
  19598. "type": "integer"
  19599. },
  19600. "businessfpqty": {
  19601. "description": "待审核数量: 发票",
  19602. "type": "integer"
  19603. },
  19604. "businessjsqty": {
  19605. "description": "待审核数量: 结算",
  19606. "type": "integer"
  19607. },
  19608. "businesskxqty": {
  19609. "description": "待审核数量: 款项",
  19610. "type": "integer"
  19611. },
  19612. "hedgeplanqty": {
  19613. "description": "待审核数量: 套保计划",
  19614. "type": "integer"
  19615. },
  19616. "spotcontractqty": {
  19617. "description": "待审核数量: 现货合同",
  19618. "type": "integer"
  19619. },
  19620. "userqty": {
  19621. "description": "待审核数量: 用户",
  19622. "type": "integer"
  19623. }
  19624. }
  19625. },
  19626. "models.ErmcpRealExposureModel": {
  19627. "type": "object",
  19628. "properties": {
  19629. "AreaUserID": {
  19630. "description": "所属机构",
  19631. "type": "integer"
  19632. },
  19633. "BuyFutureQty": {
  19634. "description": "买入期货数量",
  19635. "type": "number"
  19636. },
  19637. "BuyPlanQty": {
  19638. "description": "采购计划数量",
  19639. "type": "number"
  19640. },
  19641. "BuyPricedQty": {
  19642. "description": "采购合同已定价数量",
  19643. "type": "number"
  19644. },
  19645. "MiddleGoodsCode": {
  19646. "description": "套保品种代码",
  19647. "type": "string"
  19648. },
  19649. "MiddleGoodsHedgeRatio": {
  19650. "description": "套保比例",
  19651. "type": "number"
  19652. },
  19653. "MiddleGoodsID": {
  19654. "description": "套保品种",
  19655. "type": "integer"
  19656. },
  19657. "MiddleGoodsName": {
  19658. "description": "套保品种名称",
  19659. "type": "string"
  19660. },
  19661. "NeedHedgeExposoure": {
  19662. "description": "应套保敞口(套保敞口)",
  19663. "type": "number"
  19664. },
  19665. "NeedHedgeRatio": {
  19666. "description": "应套保敞口比例",
  19667. "type": "number"
  19668. },
  19669. "OriBuyFutureQty": {
  19670. "description": "期初买入期货数量",
  19671. "type": "number"
  19672. },
  19673. "OriBuyPlanQty": {
  19674. "description": "期初采购计划数量",
  19675. "type": "number"
  19676. },
  19677. "OriBuyPricedQty": {
  19678. "description": "期初采购合同已定价数量",
  19679. "type": "number"
  19680. },
  19681. "OriSellFutureQty": {
  19682. "description": "期初卖出期货数量",
  19683. "type": "number"
  19684. },
  19685. "OriSellPlanQty": {
  19686. "description": "期初销售计划数量",
  19687. "type": "number"
  19688. },
  19689. "OriSellPricedQty": {
  19690. "description": "期初销售合同已定价数量",
  19691. "type": "number"
  19692. },
  19693. "SellFutureQty": {
  19694. "description": "卖出期货数量",
  19695. "type": "number"
  19696. },
  19697. "SellPlanQty": {
  19698. "description": "销售计划数量",
  19699. "type": "number"
  19700. },
  19701. "SellPricedQty": {
  19702. "description": "销售合同已定价数量",
  19703. "type": "number"
  19704. },
  19705. "TotalExposure": {
  19706. "description": "总敞口",
  19707. "type": "number"
  19708. },
  19709. "TotalFutureQty": {
  19710. "description": "期货总量",
  19711. "type": "number"
  19712. },
  19713. "TotalHedgeRatio": {
  19714. "description": "敞口比例",
  19715. "type": "number"
  19716. },
  19717. "TotalNeedHedgeQty": {
  19718. "description": "应套保总量(现货应套保总量)",
  19719. "type": "number"
  19720. },
  19721. "TotalSpotQty": {
  19722. "description": "现货总量",
  19723. "type": "number"
  19724. },
  19725. "arbitrageqty": {
  19726. "description": "套利量",
  19727. "type": "number"
  19728. },
  19729. "diffArbitrageQty": {
  19730. "description": "套利变动量",
  19731. "type": "number"
  19732. },
  19733. "diffExposoureQty": {
  19734. "description": "变动量(套保敞口)",
  19735. "type": "number"
  19736. },
  19737. "diffFutuQty": {
  19738. "description": "变动量(期货总量)",
  19739. "type": "number"
  19740. },
  19741. "diffHedgeQty": {
  19742. "description": "套保变动量",
  19743. "type": "number"
  19744. },
  19745. "diffQty": {
  19746. "description": "变动量(总敞口)",
  19747. "type": "number"
  19748. },
  19749. "diffSpotHedgeQty": {
  19750. "description": "变动量(现货应套保总量)",
  19751. "type": "number"
  19752. },
  19753. "diffSpotQty": {
  19754. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19755. "type": "number"
  19756. },
  19757. "enumdicname": {
  19758. "description": "单位名称",
  19759. "type": "string"
  19760. },
  19761. "hedgeqty": {
  19762. "description": "套保量",
  19763. "type": "number"
  19764. },
  19765. "needarbitrageqty": {
  19766. "description": "应套利量",
  19767. "type": "number"
  19768. },
  19769. "needarbitrageratio": {
  19770. "description": "套利比例",
  19771. "type": "number"
  19772. },
  19773. "needhedgeqty": {
  19774. "description": "应套保量",
  19775. "type": "number"
  19776. },
  19777. "oriTotalFutuQty": {
  19778. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19779. "type": "number"
  19780. },
  19781. "oriTotalSpotQty": {
  19782. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19783. "type": "number"
  19784. },
  19785. "oriarbitrageqty": {
  19786. "description": "期初套利量",
  19787. "type": "number"
  19788. },
  19789. "orihedgeqty": {
  19790. "description": "期初套保量",
  19791. "type": "number"
  19792. },
  19793. "orineedhedgeexposoure": {
  19794. "description": "期初套保敞口",
  19795. "type": "number"
  19796. },
  19797. "oritotalexposure": {
  19798. "description": "期初总敞口",
  19799. "type": "number"
  19800. },
  19801. "oritotalfutureqty": {
  19802. "description": "期初期货总量",
  19803. "type": "number"
  19804. },
  19805. "oritotalneedhedgeqty": {
  19806. "description": "期初现货应套保量",
  19807. "type": "number"
  19808. }
  19809. }
  19810. },
  19811. "models.ErmcpRole": {
  19812. "type": "object",
  19813. "properties": {
  19814. "areauserid": {
  19815. "description": "所属机构",
  19816. "type": "integer"
  19817. },
  19818. "autoid": {
  19819. "description": "角色ID(自增ID)",
  19820. "type": "integer"
  19821. },
  19822. "modifierid": {
  19823. "description": "修改人(创建人)",
  19824. "type": "integer"
  19825. },
  19826. "modifiername": {
  19827. "description": "修改人名称",
  19828. "type": "string"
  19829. },
  19830. "modifytime": {
  19831. "description": "修改时间(创建时间)",
  19832. "type": "string"
  19833. },
  19834. "rolename": {
  19835. "description": "角色名称",
  19836. "type": "string"
  19837. },
  19838. "rolestatus": {
  19839. "description": "角色状态 - 1:启用 2:停用",
  19840. "type": "integer"
  19841. },
  19842. "roletype": {
  19843. "description": "角色类型 - 1- 管理端 2- 交易端",
  19844. "type": "integer"
  19845. }
  19846. }
  19847. },
  19848. "models.ErmcpRoleMenu": {
  19849. "type": "object",
  19850. "properties": {
  19851. "iconame": {
  19852. "description": "菜单图标",
  19853. "type": "string"
  19854. },
  19855. "ishadrole": {
  19856. "description": "是否有权限",
  19857. "type": "boolean"
  19858. },
  19859. "menutype": {
  19860. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19861. "type": "integer"
  19862. },
  19863. "parentcode": {
  19864. "description": "上级资源代码",
  19865. "type": "string"
  19866. },
  19867. "remark": {
  19868. "description": "菜单备注",
  19869. "type": "string"
  19870. },
  19871. "resourcecode": {
  19872. "description": "菜单代码",
  19873. "type": "string"
  19874. },
  19875. "resourcelevel": {
  19876. "description": "级别",
  19877. "type": "integer"
  19878. },
  19879. "resourcename": {
  19880. "description": "菜单名称",
  19881. "type": "string"
  19882. },
  19883. "roleid": {
  19884. "description": "角色id",
  19885. "type": "integer"
  19886. },
  19887. "sort": {
  19888. "description": "排序",
  19889. "type": "integer"
  19890. },
  19891. "url": {
  19892. "description": "URL",
  19893. "type": "string"
  19894. },
  19895. "userid": {
  19896. "description": "用户id",
  19897. "type": "integer"
  19898. }
  19899. }
  19900. },
  19901. "models.ErmcpRoleMenuEx": {
  19902. "type": "object",
  19903. "properties": {
  19904. "menu": {
  19905. "description": "父级菜单",
  19906. "type": "object",
  19907. "$ref": "#/definitions/models.ErmcpRoleMenu"
  19908. },
  19909. "subMenu": {
  19910. "description": "子级菜单",
  19911. "type": "array",
  19912. "items": {
  19913. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  19914. }
  19915. }
  19916. }
  19917. },
  19918. "models.ErmcpTaAccount": {
  19919. "type": "object",
  19920. "properties": {
  19921. "accountid": {
  19922. "description": "账户id",
  19923. "type": "integer"
  19924. },
  19925. "accountname": {
  19926. "description": "账户名称",
  19927. "type": "string"
  19928. },
  19929. "currencyid": {
  19930. "description": "币种id",
  19931. "type": "integer"
  19932. },
  19933. "hedgeaccountcode": {
  19934. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  19935. "type": "string"
  19936. },
  19937. "ismain": {
  19938. "description": "是否主账户 0-否 1-是",
  19939. "type": "integer"
  19940. },
  19941. "parentaccountid": {
  19942. "description": "父账户id",
  19943. "type": "integer"
  19944. },
  19945. "relateduserid": {
  19946. "description": "关联userid",
  19947. "type": "integer"
  19948. },
  19949. "tradefeetmpid": {
  19950. "description": "手续费模板id",
  19951. "type": "integer"
  19952. },
  19953. "tradefeetmpname": {
  19954. "description": "手续费模板名称",
  19955. "type": "string"
  19956. },
  19957. "trademargintmpid": {
  19958. "description": "保证金模板id",
  19959. "type": "integer"
  19960. },
  19961. "trademargintmpname": {
  19962. "description": "保证金模板名称",
  19963. "type": "string"
  19964. },
  19965. "traderatetmpid": {
  19966. "description": "汇率模板id",
  19967. "type": "integer"
  19968. },
  19969. "traderatetmpname": {
  19970. "description": "汇率模板名称",
  19971. "type": "string"
  19972. },
  19973. "tradestatus": {
  19974. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19975. "type": "integer"
  19976. },
  19977. "userid": {
  19978. "description": "用户id",
  19979. "type": "integer"
  19980. }
  19981. }
  19982. },
  19983. "models.ErmcpTaAccountEx": {
  19984. "type": "object",
  19985. "properties": {
  19986. "mainAcc": {
  19987. "description": "主账号",
  19988. "type": "object",
  19989. "$ref": "#/definitions/models.ErmcpTaAccountM"
  19990. },
  19991. "subacclist": {
  19992. "description": "子账号列表",
  19993. "type": "array",
  19994. "items": {
  19995. "$ref": "#/definitions/models.ErmcpTaAccount"
  19996. }
  19997. }
  19998. }
  19999. },
  20000. "models.ErmcpTaAccountInfo": {
  20001. "type": "object",
  20002. "properties": {
  20003. "accountid": {
  20004. "description": "资金账户ID",
  20005. "type": "integer"
  20006. },
  20007. "accountname": {
  20008. "description": "账户名称",
  20009. "type": "string"
  20010. },
  20011. "balance": {
  20012. "description": "期初余额",
  20013. "type": "number"
  20014. },
  20015. "capitalbalance": {
  20016. "description": "本金余额[外部子账户实际出入金余额]",
  20017. "type": "number"
  20018. },
  20019. "closepl": {
  20020. "description": "今日平仓盈亏",
  20021. "type": "number"
  20022. },
  20023. "creditdecrease": {
  20024. "description": "今日授信减少",
  20025. "type": "number"
  20026. },
  20027. "creditincrease": {
  20028. "description": "今日授信增加",
  20029. "type": "number"
  20030. },
  20031. "curdebt": {
  20032. "description": "期末欠款",
  20033. "type": "number"
  20034. },
  20035. "currencyid": {
  20036. "description": "货币ID",
  20037. "type": "integer"
  20038. },
  20039. "currentbalance": {
  20040. "description": "期末余额",
  20041. "type": "number"
  20042. },
  20043. "freezecharge": {
  20044. "description": "手续费冻结",
  20045. "type": "number"
  20046. },
  20047. "freezemargin": {
  20048. "description": "冻结保证金",
  20049. "type": "number"
  20050. },
  20051. "fromaccountid": {
  20052. "description": "所属上级账户",
  20053. "type": "integer"
  20054. },
  20055. "inamount": {
  20056. "description": "今日入金金额(包括三方入金)",
  20057. "type": "number"
  20058. },
  20059. "ismain": {
  20060. "description": "是否母账号 0:不是母账户 1:是母账户",
  20061. "type": "integer"
  20062. },
  20063. "mortgagecredit": {
  20064. "description": "授信金额",
  20065. "type": "number"
  20066. },
  20067. "oridebt": {
  20068. "description": "期初欠款",
  20069. "type": "number"
  20070. },
  20071. "orifreezecharge": {
  20072. "description": "期初手续费冻结",
  20073. "type": "number"
  20074. },
  20075. "orifreezemargin": {
  20076. "description": "期初冻结保证金",
  20077. "type": "number"
  20078. },
  20079. "orimortgagecredit": {
  20080. "description": "期初授信金额",
  20081. "type": "number"
  20082. },
  20083. "oriothercredit": {
  20084. "description": "期初其它授信金额",
  20085. "type": "number"
  20086. },
  20087. "oriotherfreezemargin": {
  20088. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20089. "type": "number"
  20090. },
  20091. "orioutamountfreeze": {
  20092. "description": "期初出金冻结",
  20093. "type": "number"
  20094. },
  20095. "oriusedmargin": {
  20096. "description": "期初占用保证金",
  20097. "type": "number"
  20098. },
  20099. "othercredit": {
  20100. "description": "其它授信金额",
  20101. "type": "number"
  20102. },
  20103. "othercreditdecrease": {
  20104. "description": "今日其它授信减少",
  20105. "type": "number"
  20106. },
  20107. "othercreditincrease": {
  20108. "description": "今日其它授信增加",
  20109. "type": "number"
  20110. },
  20111. "otherfreezemargin": {
  20112. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20113. "type": "number"
  20114. },
  20115. "outamount": {
  20116. "description": "今日出金金额(包括三方出金)",
  20117. "type": "number"
  20118. },
  20119. "outamountfreeze": {
  20120. "description": "出金冻结",
  20121. "type": "number"
  20122. },
  20123. "outthreshold": {
  20124. "description": "出金阈值",
  20125. "type": "number"
  20126. },
  20127. "parentaccountid": {
  20128. "description": "所属根账号",
  20129. "type": "integer"
  20130. },
  20131. "paycharge": {
  20132. "description": "今日手续费支出",
  20133. "type": "number"
  20134. },
  20135. "relateduserid": {
  20136. "description": "关联用户",
  20137. "type": "integer"
  20138. },
  20139. "signstatus": {
  20140. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20141. "type": "integer"
  20142. },
  20143. "sublevelpath": {
  20144. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20145. "type": "string"
  20146. },
  20147. "taaccounttype": {
  20148. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20149. "type": "integer"
  20150. },
  20151. "thirdinamount": {
  20152. "description": "今日三方入金",
  20153. "type": "number"
  20154. },
  20155. "thirdoutamount": {
  20156. "description": "今日三方出金",
  20157. "type": "number"
  20158. },
  20159. "tradestatus": {
  20160. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20161. "type": "integer"
  20162. },
  20163. "transferamount": {
  20164. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20165. "type": "number"
  20166. },
  20167. "usedmargin": {
  20168. "description": "占用保证金",
  20169. "type": "number"
  20170. },
  20171. "userid": {
  20172. "description": "用户ID",
  20173. "type": "integer"
  20174. }
  20175. }
  20176. },
  20177. "models.ErmcpTaAccountM": {
  20178. "type": "object",
  20179. "properties": {
  20180. "accountid": {
  20181. "description": "账户id",
  20182. "type": "integer"
  20183. },
  20184. "accountname": {
  20185. "description": "账户名称",
  20186. "type": "string"
  20187. },
  20188. "currencyid": {
  20189. "description": "币种id",
  20190. "type": "integer"
  20191. },
  20192. "fcid": {
  20193. "description": "期货公司id",
  20194. "type": "integer"
  20195. },
  20196. "fcname": {
  20197. "description": "期货公司代码",
  20198. "type": "string"
  20199. },
  20200. "hedgeaccountcode": {
  20201. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20202. "type": "string"
  20203. },
  20204. "ismain": {
  20205. "description": "是否主账户 0-否 1-是",
  20206. "type": "integer"
  20207. },
  20208. "parentaccountid": {
  20209. "description": "父账户id",
  20210. "type": "integer"
  20211. },
  20212. "relateduserid": {
  20213. "description": "关联userid",
  20214. "type": "integer"
  20215. },
  20216. "tradefeetmpid": {
  20217. "description": "手续费模板id",
  20218. "type": "integer"
  20219. },
  20220. "tradefeetmpname": {
  20221. "description": "手续费模板名称",
  20222. "type": "string"
  20223. },
  20224. "trademargintmpid": {
  20225. "description": "保证金模板id",
  20226. "type": "integer"
  20227. },
  20228. "trademargintmpname": {
  20229. "description": "保证金模板名称",
  20230. "type": "string"
  20231. },
  20232. "traderatetmpid": {
  20233. "description": "汇率模板id",
  20234. "type": "integer"
  20235. },
  20236. "traderatetmpname": {
  20237. "description": "汇率模板名称",
  20238. "type": "string"
  20239. },
  20240. "tradestatus": {
  20241. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20242. "type": "integer"
  20243. },
  20244. "userid": {
  20245. "description": "用户id",
  20246. "type": "integer"
  20247. }
  20248. }
  20249. },
  20250. "models.ErmcpTradeConfigTMP": {
  20251. "type": "object",
  20252. "properties": {
  20253. "areauserid": {
  20254. "description": "所属机构",
  20255. "type": "integer"
  20256. },
  20257. "basiccurrencyid": {
  20258. "description": "基本币种ID[汇率] - 目标币种",
  20259. "type": "integer"
  20260. },
  20261. "mainaccountid": {
  20262. "description": "主账户ID",
  20263. "type": "integer"
  20264. },
  20265. "modifierid": {
  20266. "description": "修改人",
  20267. "type": "integer"
  20268. },
  20269. "remark": {
  20270. "description": "备注",
  20271. "type": "string"
  20272. },
  20273. "tradeconfigtmpid": {
  20274. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20275. "type": "integer"
  20276. },
  20277. "tradeconfigtmpname": {
  20278. "description": "交易配置模板名称",
  20279. "type": "string"
  20280. },
  20281. "tradeconfigtmptype": {
  20282. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20283. "type": "integer"
  20284. },
  20285. "updatetime": {
  20286. "description": "更新时间",
  20287. "type": "string"
  20288. }
  20289. }
  20290. },
  20291. "models.ErmcpUserModel": {
  20292. "type": "object",
  20293. "properties": {
  20294. "address": {
  20295. "description": "通讯地址",
  20296. "type": "string"
  20297. },
  20298. "attachment1": {
  20299. "description": "附件1",
  20300. "type": "string"
  20301. },
  20302. "audittime": {
  20303. "description": "审核时间",
  20304. "type": "string"
  20305. },
  20306. "cardbackphotourl": {
  20307. "description": "证件反面图片地址",
  20308. "type": "string"
  20309. },
  20310. "cardfrontphotourl": {
  20311. "description": "证件正面图片地址",
  20312. "type": "string"
  20313. },
  20314. "cardnum": {
  20315. "description": "证件号码",
  20316. "type": "string"
  20317. },
  20318. "cardtype": {
  20319. "description": "证件类型",
  20320. "type": "integer"
  20321. },
  20322. "cardtypename": {
  20323. "description": "证件类型名称",
  20324. "type": "string"
  20325. },
  20326. "cityid": {
  20327. "description": "市",
  20328. "type": "integer"
  20329. },
  20330. "contactname": {
  20331. "description": "联系人",
  20332. "type": "string"
  20333. },
  20334. "countryid": {
  20335. "description": "国家",
  20336. "type": "integer"
  20337. },
  20338. "createtime": {
  20339. "description": "创建时间",
  20340. "type": "string"
  20341. },
  20342. "customername": {
  20343. "description": "企业名称",
  20344. "type": "string"
  20345. },
  20346. "districtid": {
  20347. "description": "区域",
  20348. "type": "integer"
  20349. },
  20350. "email": {
  20351. "description": "邮件",
  20352. "type": "string"
  20353. },
  20354. "legalpersonname": {
  20355. "description": "法人姓名(企业)",
  20356. "type": "string"
  20357. },
  20358. "memberuserid": {
  20359. "description": "所属机构ID",
  20360. "type": "integer"
  20361. },
  20362. "mobile": {
  20363. "description": "手机号码",
  20364. "type": "string"
  20365. },
  20366. "modifytime": {
  20367. "description": "修改时间",
  20368. "type": "string"
  20369. },
  20370. "nickname": {
  20371. "description": "昵称",
  20372. "type": "string"
  20373. },
  20374. "provinceid": {
  20375. "description": "省",
  20376. "type": "integer"
  20377. },
  20378. "remark": {
  20379. "description": "备注",
  20380. "type": "string"
  20381. },
  20382. "status": {
  20383. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20384. "type": "integer"
  20385. },
  20386. "statusdesc": {
  20387. "description": "账户状态中文描述",
  20388. "type": "string"
  20389. },
  20390. "taxpayernum": {
  20391. "description": "纳税人识别号",
  20392. "type": "string"
  20393. },
  20394. "telphone": {
  20395. "description": "联系电话",
  20396. "type": "string"
  20397. },
  20398. "userid": {
  20399. "description": "用户ID",
  20400. "type": "integer"
  20401. },
  20402. "userinfotype": {
  20403. "description": "客户类型",
  20404. "type": "string"
  20405. }
  20406. }
  20407. },
  20408. "models.ErmcpWareHouseInfo": {
  20409. "type": "object",
  20410. "properties": {
  20411. "address": {
  20412. "description": "详细地址",
  20413. "type": "string"
  20414. },
  20415. "areauserid": {
  20416. "description": "所属机构",
  20417. "type": "integer"
  20418. },
  20419. "autoid": {
  20420. "description": "自增ID(仓库ID)",
  20421. "type": "integer"
  20422. },
  20423. "cityid": {
  20424. "description": "市",
  20425. "type": "integer"
  20426. },
  20427. "contactname": {
  20428. "description": "联系人",
  20429. "type": "string"
  20430. },
  20431. "contactnum": {
  20432. "description": "联系电话",
  20433. "type": "string"
  20434. },
  20435. "countryid": {
  20436. "description": "国家",
  20437. "type": "integer"
  20438. },
  20439. "createtime": {
  20440. "description": "创建时间",
  20441. "type": "string"
  20442. },
  20443. "districtid": {
  20444. "description": "区",
  20445. "type": "integer"
  20446. },
  20447. "hasvideo": {
  20448. "description": "是否有视频 - 0:无 1:有",
  20449. "type": "integer"
  20450. },
  20451. "provinceid": {
  20452. "description": "省",
  20453. "type": "integer"
  20454. },
  20455. "remark": {
  20456. "description": "审核备注",
  20457. "type": "string"
  20458. },
  20459. "videourl": {
  20460. "description": "视频地址",
  20461. "type": "string"
  20462. },
  20463. "warehousecode": {
  20464. "description": "仓库代码",
  20465. "type": "string"
  20466. },
  20467. "warehousename": {
  20468. "description": "仓库名称",
  20469. "type": "string"
  20470. },
  20471. "warehousestatus": {
  20472. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20473. "type": "integer"
  20474. },
  20475. "warehousetype": {
  20476. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20477. "type": "integer"
  20478. }
  20479. }
  20480. },
  20481. "models.Externalexchange": {
  20482. "type": "object",
  20483. "required": [
  20484. "autoid"
  20485. ],
  20486. "properties": {
  20487. "autoid": {
  20488. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20489. "type": "integer"
  20490. },
  20491. "exchangefullname": {
  20492. "description": "外部交易所全称",
  20493. "type": "string"
  20494. },
  20495. "exexchangecode": {
  20496. "description": "外部交易所代码",
  20497. "type": "string"
  20498. },
  20499. "exexchangename": {
  20500. "description": "外部交易所名称(简称)",
  20501. "type": "string"
  20502. },
  20503. "ismarketprice": {
  20504. "description": "是否支持市价 - 0:不支持 1:支持",
  20505. "type": "integer"
  20506. },
  20507. "quotegear": {
  20508. "description": "行情档位(1-10)",
  20509. "type": "integer"
  20510. },
  20511. "showbrokerflag": {
  20512. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20513. "type": "integer"
  20514. },
  20515. "updatetime": {
  20516. "description": "更新时间",
  20517. "type": "string"
  20518. }
  20519. }
  20520. },
  20521. "models.Funcmenulist": {
  20522. "type": "object",
  20523. "required": [
  20524. "resourcecode"
  20525. ],
  20526. "properties": {
  20527. "iconame": {
  20528. "description": "菜单图标",
  20529. "type": "string"
  20530. },
  20531. "menutype": {
  20532. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20533. "type": "integer"
  20534. },
  20535. "parentcode": {
  20536. "description": "上级资源代码",
  20537. "type": "string"
  20538. },
  20539. "remark": {
  20540. "description": "备注",
  20541. "type": "string"
  20542. },
  20543. "resourcecode": {
  20544. "description": "资源代码",
  20545. "type": "string"
  20546. },
  20547. "resourcelevel": {
  20548. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20549. "type": "integer"
  20550. },
  20551. "resourcename": {
  20552. "description": "资源名",
  20553. "type": "string"
  20554. },
  20555. "sort": {
  20556. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20557. "type": "integer"
  20558. },
  20559. "url": {
  20560. "description": "URL",
  20561. "type": "string"
  20562. }
  20563. }
  20564. },
  20565. "models.Goods": {
  20566. "type": "object",
  20567. "required": [
  20568. "goodscode",
  20569. "goodsid",
  20570. "goodsname",
  20571. "marketid"
  20572. ],
  20573. "properties": {
  20574. "agreeunit": {
  20575. "description": "合约单位",
  20576. "type": "number"
  20577. },
  20578. "areauserid": {
  20579. "description": "所属机构",
  20580. "type": "integer"
  20581. },
  20582. "auditaccountid": {
  20583. "description": "审核操作员账号",
  20584. "type": "integer"
  20585. },
  20586. "audittime": {
  20587. "description": "审核时间",
  20588. "type": "string"
  20589. },
  20590. "cancelaccountid": {
  20591. "description": "注销操作员账号",
  20592. "type": "integer"
  20593. },
  20594. "canceltime": {
  20595. "description": "注销时间",
  20596. "type": "string"
  20597. },
  20598. "closepricemode": {
  20599. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20600. "type": "integer"
  20601. },
  20602. "closepriceparam": {
  20603. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20604. "type": "number"
  20605. },
  20606. "createtime": {
  20607. "description": "创建时间",
  20608. "type": "string"
  20609. },
  20610. "creatorid": {
  20611. "description": "创建人",
  20612. "type": "integer"
  20613. },
  20614. "currencyid": {
  20615. "description": "报价货币ID",
  20616. "type": "integer"
  20617. },
  20618. "cutmode": {
  20619. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20620. "type": "integer"
  20621. },
  20622. "decimalplace": {
  20623. "description": "报价小数位",
  20624. "type": "integer"
  20625. },
  20626. "delistingdate": {
  20627. "description": "商品退市时间(状态:退市) -- 已作废",
  20628. "type": "string"
  20629. },
  20630. "delistingmode": {
  20631. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20632. "type": "integer"
  20633. },
  20634. "deliveryflag": {
  20635. "description": "交割标志 - 0:不可交割 1:可交割",
  20636. "type": "integer"
  20637. },
  20638. "forceclosemode": {
  20639. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20640. "type": "integer"
  20641. },
  20642. "forceclosevalue": {
  20643. "description": "定期强平参数 [收益权]",
  20644. "type": "integer"
  20645. },
  20646. "goodscode": {
  20647. "description": "商品代码(内部)",
  20648. "type": "string"
  20649. },
  20650. "goodscurrencyid": {
  20651. "description": "合约货币ID",
  20652. "type": "integer"
  20653. },
  20654. "goodsgroupid": {
  20655. "description": "所属商品组ID",
  20656. "type": "integer"
  20657. },
  20658. "goodsid": {
  20659. "description": "商品ID(自增ID SEQ_GOODS)",
  20660. "type": "integer"
  20661. },
  20662. "goodsname": {
  20663. "description": "商品名称",
  20664. "type": "string"
  20665. },
  20666. "goodsquotetype": {
  20667. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20668. "type": "integer"
  20669. },
  20670. "goodsstatus": {
  20671. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20672. "type": "integer"
  20673. },
  20674. "goodstradetype": {
  20675. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20676. "type": "integer"
  20677. },
  20678. "goodunitid": {
  20679. "description": "报价单位ID",
  20680. "type": "integer"
  20681. },
  20682. "hasquoter": {
  20683. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20684. "type": "integer"
  20685. },
  20686. "hqprotecttime": {
  20687. "description": "行情保护时间(秒)",
  20688. "type": "integer"
  20689. },
  20690. "innerdealmode": {
  20691. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20692. "type": "integer"
  20693. },
  20694. "isbuylimited": {
  20695. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20696. "type": "integer"
  20697. },
  20698. "isvisible": {
  20699. "description": "游客是否可见 - 0:不可见 1:可见",
  20700. "type": "integer"
  20701. },
  20702. "lasttradedate": {
  20703. "description": "最后交易日期(状态:待退市)",
  20704. "type": "string"
  20705. },
  20706. "listingdate": {
  20707. "description": "交易开始日期",
  20708. "type": "string"
  20709. },
  20710. "marketid": {
  20711. "description": "所属市场ID",
  20712. "type": "integer"
  20713. },
  20714. "modifierid": {
  20715. "description": "修改人",
  20716. "type": "integer"
  20717. },
  20718. "modifystatus": {
  20719. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20720. "type": "integer"
  20721. },
  20722. "modifytime": {
  20723. "description": "修改时间",
  20724. "type": "string"
  20725. },
  20726. "outerdealmode": {
  20727. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20728. "type": "integer"
  20729. },
  20730. "outgoodscode": {
  20731. "description": "商品代码(外部)",
  20732. "type": "string"
  20733. },
  20734. "pictureurl": {
  20735. "description": "商品图片",
  20736. "type": "string"
  20737. },
  20738. "qtydecimalplace": {
  20739. "description": "成交量小数位",
  20740. "type": "integer"
  20741. },
  20742. "quotegear": {
  20743. "description": "行情档位(1-10)",
  20744. "type": "integer"
  20745. },
  20746. "quoteminunit": {
  20747. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20748. "type": "integer"
  20749. },
  20750. "quoteshowtype": {
  20751. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20752. "type": "integer"
  20753. },
  20754. "quoteshowtypeinterval": {
  20755. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20756. "type": "integer"
  20757. },
  20758. "remark": {
  20759. "description": "备注",
  20760. "type": "string"
  20761. }
  20762. }
  20763. },
  20764. "models.GoodsIDAndName": {
  20765. "type": "object",
  20766. "required": [
  20767. "goodscode",
  20768. "goodsid",
  20769. "goodsname",
  20770. "marketid"
  20771. ],
  20772. "properties": {
  20773. "goodscode": {
  20774. "description": "商品代码(内部)",
  20775. "type": "string"
  20776. },
  20777. "goodsid": {
  20778. "description": "商品ID(自增ID SEQ_GOODS)",
  20779. "type": "integer"
  20780. },
  20781. "goodsname": {
  20782. "description": "商品名称",
  20783. "type": "string"
  20784. },
  20785. "marketid": {
  20786. "description": "所属市场ID",
  20787. "type": "integer"
  20788. }
  20789. }
  20790. },
  20791. "models.Goodsgroup": {
  20792. "type": "object",
  20793. "required": [
  20794. "goodsgroupid",
  20795. "goodsgroupname",
  20796. "goodsgroupstatus",
  20797. "marketid"
  20798. ],
  20799. "properties": {
  20800. "agreeunit": {
  20801. "description": "合约单位",
  20802. "type": "number"
  20803. },
  20804. "canshort": {
  20805. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20806. "type": "integer"
  20807. },
  20808. "closepricemode": {
  20809. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20810. "type": "integer"
  20811. },
  20812. "closepriceparam": {
  20813. "description": "强平最新价浮动比例 - 方式为2时使用",
  20814. "type": "number"
  20815. },
  20816. "createtime": {
  20817. "description": "创建时间",
  20818. "type": "string"
  20819. },
  20820. "creatorid": {
  20821. "description": "创建人",
  20822. "type": "integer"
  20823. },
  20824. "currencyid": {
  20825. "description": "报价货币ID",
  20826. "type": "integer"
  20827. },
  20828. "decimalplace": {
  20829. "description": "报价小数位",
  20830. "type": "integer"
  20831. },
  20832. "exercisetype": {
  20833. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20834. "type": "integer"
  20835. },
  20836. "exexchangeid": {
  20837. "description": "外部交易所ID[通道交易]",
  20838. "type": "integer"
  20839. },
  20840. "goodsgroupid": {
  20841. "description": "商品组ID(自增ID)",
  20842. "type": "integer"
  20843. },
  20844. "goodsgroupname": {
  20845. "description": "商品组名称",
  20846. "type": "string"
  20847. },
  20848. "goodsgroupstatus": {
  20849. "description": "商品组状态 - 1:正常 2:注销",
  20850. "type": "integer"
  20851. },
  20852. "goodunitid": {
  20853. "description": "报价单位ID",
  20854. "type": "integer"
  20855. },
  20856. "innerdealmode": {
  20857. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20858. "type": "integer"
  20859. },
  20860. "isbuylimited": {
  20861. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20862. "type": "integer"
  20863. },
  20864. "marketid": {
  20865. "description": "所属市场ID",
  20866. "type": "integer"
  20867. },
  20868. "modifierid": {
  20869. "description": "修改人",
  20870. "type": "integer"
  20871. },
  20872. "modifytime": {
  20873. "description": "修改时间",
  20874. "type": "string"
  20875. },
  20876. "outerdealmode": {
  20877. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20878. "type": "integer"
  20879. },
  20880. "outergroupcode": {
  20881. "description": "外部商品组代码[通道交易]",
  20882. "type": "string"
  20883. },
  20884. "premiumdecimalplace": {
  20885. "description": "权利金小数位[场外期权]",
  20886. "type": "integer"
  20887. },
  20888. "premiumspreadalgorithm": {
  20889. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  20890. "type": "integer"
  20891. },
  20892. "premiumspreadvalue": {
  20893. "description": "权利金点差值[场外期权]",
  20894. "type": "number"
  20895. },
  20896. "qtydecimalplace": {
  20897. "description": "成交量小数位",
  20898. "type": "integer"
  20899. },
  20900. "quotegear": {
  20901. "description": "行情档位(1-10)",
  20902. "type": "integer"
  20903. },
  20904. "quoteminunit": {
  20905. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20906. "type": "integer"
  20907. },
  20908. "quoterid": {
  20909. "description": "报价商ID[场外期权]",
  20910. "type": "integer"
  20911. },
  20912. "quotesourcegroupid": {
  20913. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  20914. "type": "integer"
  20915. },
  20916. "syncgoodsqty": {
  20917. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  20918. "type": "integer"
  20919. }
  20920. }
  20921. },
  20922. "models.Goodssortbypreposition": {
  20923. "type": "object",
  20924. "required": [
  20925. "goodscode",
  20926. "tradedate"
  20927. ],
  20928. "properties": {
  20929. "goodscode": {
  20930. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  20931. "type": "string"
  20932. },
  20933. "goodsgroupcode": {
  20934. "description": "品种代码",
  20935. "type": "string"
  20936. },
  20937. "prepositionqty": {
  20938. "description": "昨持仓量",
  20939. "type": "integer"
  20940. },
  20941. "sortindex": {
  20942. "description": "排序",
  20943. "type": "integer"
  20944. },
  20945. "tradedate": {
  20946. "description": "交易日",
  20947. "type": "string"
  20948. },
  20949. "updatetime": {
  20950. "description": "更新时间",
  20951. "type": "string"
  20952. }
  20953. }
  20954. },
  20955. "models.Hedgeinnerholderdetail": {
  20956. "type": "object",
  20957. "required": [
  20958. "buyorsell",
  20959. "tradeid"
  20960. ],
  20961. "properties": {
  20962. "accountid": {
  20963. "description": "账号ID",
  20964. "type": "integer"
  20965. },
  20966. "buyorsell": {
  20967. "description": "方向 - 0:买 1:卖",
  20968. "type": "integer"
  20969. },
  20970. "freezeqty": {
  20971. "description": "冻结数量 - 按单平使用",
  20972. "type": "integer"
  20973. },
  20974. "goodsid": {
  20975. "description": "商品ID",
  20976. "type": "integer"
  20977. },
  20978. "holderamount": {
  20979. "description": "持仓金额 [商品币种]",
  20980. "type": "number"
  20981. },
  20982. "holderdays": {
  20983. "description": "剩余冻结天数",
  20984. "type": "integer"
  20985. },
  20986. "holderprice": {
  20987. "description": "持仓价格",
  20988. "type": "number"
  20989. },
  20990. "holderqty": {
  20991. "description": "持仓数量",
  20992. "type": "integer"
  20993. },
  20994. "marketid": {
  20995. "description": "市场ID",
  20996. "type": "integer"
  20997. },
  20998. "openprice": {
  20999. "description": "建仓价格",
  21000. "type": "number"
  21001. },
  21002. "openqty": {
  21003. "description": "建仓数量",
  21004. "type": "integer"
  21005. },
  21006. "parentaccountid": {
  21007. "description": "所属母账户",
  21008. "type": "integer"
  21009. },
  21010. "releaseamount": {
  21011. "description": "释放持仓金额[商品币种]",
  21012. "type": "number"
  21013. },
  21014. "tradeamount": {
  21015. "description": "成交金额[账户]",
  21016. "type": "number"
  21017. },
  21018. "tradedate": {
  21019. "description": "交易日(yyyyMMdd)",
  21020. "type": "string"
  21021. },
  21022. "tradeid": {
  21023. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21024. "type": "string"
  21025. },
  21026. "tradetime": {
  21027. "description": "交易时间",
  21028. "type": "string"
  21029. }
  21030. }
  21031. },
  21032. "models.Hedgemarketopenlog": {
  21033. "type": "object",
  21034. "required": [
  21035. "accountid"
  21036. ],
  21037. "properties": {
  21038. "accountid": {
  21039. "description": "资金账号[外部母账户]",
  21040. "type": "integer"
  21041. },
  21042. "fcname": {
  21043. "description": "期货公司名称",
  21044. "type": "string"
  21045. },
  21046. "handlestatus": {
  21047. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21048. "type": "integer"
  21049. },
  21050. "marketid": {
  21051. "description": "市场ID",
  21052. "type": "integer"
  21053. },
  21054. "status": {
  21055. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21056. "type": "integer"
  21057. },
  21058. "tradedate": {
  21059. "description": "交易日(yyyyMMdd)",
  21060. "type": "string"
  21061. },
  21062. "updatetime": {
  21063. "description": "更新时间",
  21064. "type": "string"
  21065. }
  21066. }
  21067. },
  21068. "models.HsbyBuyMyPayOrder": {
  21069. "type": "object",
  21070. "required": [
  21071. "goodscode",
  21072. "goodsname",
  21073. "tradeid",
  21074. "trademode"
  21075. ],
  21076. "properties": {
  21077. "agreeunit": {
  21078. "description": "合约单位",
  21079. "type": "number"
  21080. },
  21081. "buyaccountid": {
  21082. "description": "买方账号ID[报价币种]",
  21083. "type": "integer"
  21084. },
  21085. "buyorderid": {
  21086. "description": "买方委托单号",
  21087. "type": "string"
  21088. },
  21089. "createtime": {
  21090. "description": "创建时间",
  21091. "type": "string"
  21092. },
  21093. "currencysign": {
  21094. "description": "货币符号",
  21095. "type": "string"
  21096. },
  21097. "decimalplace": {
  21098. "description": "报价小数位",
  21099. "type": "integer"
  21100. },
  21101. "goodscode": {
  21102. "description": "商品代码(内部)",
  21103. "type": "string"
  21104. },
  21105. "goodsid": {
  21106. "description": "商品ID",
  21107. "type": "integer"
  21108. },
  21109. "goodsname": {
  21110. "description": "商品名称",
  21111. "type": "string"
  21112. },
  21113. "marketid": {
  21114. "description": "市场ID",
  21115. "type": "integer"
  21116. },
  21117. "offamount": {
  21118. "description": "优惠金额",
  21119. "type": "number"
  21120. },
  21121. "originalamount": {
  21122. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21123. "type": "number"
  21124. },
  21125. "payamount": {
  21126. "description": "支付金额 = TradeAmount + TradeCharge",
  21127. "type": "number"
  21128. },
  21129. "payflag": {
  21130. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21131. "type": "integer"
  21132. },
  21133. "paylimitedtime": {
  21134. "description": "支付期限",
  21135. "type": "string"
  21136. },
  21137. "paytime": {
  21138. "description": "付款时间",
  21139. "type": "string"
  21140. },
  21141. "picurls1": {
  21142. "description": "预售商品介绍图片[多张用逗号分隔]",
  21143. "type": "string"
  21144. },
  21145. "picurls2": {
  21146. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21147. "type": "string"
  21148. },
  21149. "sellaccountid": {
  21150. "description": "卖方账号ID[报价币种]",
  21151. "type": "integer"
  21152. },
  21153. "sellorderid": {
  21154. "description": "卖方委托单号",
  21155. "type": "string"
  21156. },
  21157. "tradeamount": {
  21158. "description": "成交金额",
  21159. "type": "number"
  21160. },
  21161. "tradecharge": {
  21162. "description": "成交手续费(买方)",
  21163. "type": "number"
  21164. },
  21165. "tradedate": {
  21166. "description": "交易日(yyyyMMdd)",
  21167. "type": "string"
  21168. },
  21169. "tradeid": {
  21170. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21171. "type": "string"
  21172. },
  21173. "trademode": {
  21174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21175. "type": "integer"
  21176. },
  21177. "tradeprice": {
  21178. "description": "成交价格",
  21179. "type": "number"
  21180. },
  21181. "tradeqty": {
  21182. "description": "成交数量",
  21183. "type": "integer"
  21184. },
  21185. "vendorname1": {
  21186. "description": "预售商品供应商名称",
  21187. "type": "string"
  21188. },
  21189. "vendorname2": {
  21190. "description": "挂牌商品供应商名称",
  21191. "type": "string"
  21192. }
  21193. }
  21194. },
  21195. "models.HsbyBuyMyTradeDetail": {
  21196. "type": "object",
  21197. "required": [
  21198. "accountid",
  21199. "buyorsell",
  21200. "goodscode",
  21201. "goodsid",
  21202. "goodsname",
  21203. "marketid",
  21204. "orderid",
  21205. "qty",
  21206. "time",
  21207. "trademode"
  21208. ],
  21209. "properties": {
  21210. "accountid": {
  21211. "description": "账户ID[报价币种]",
  21212. "type": "integer"
  21213. },
  21214. "agreeunit": {
  21215. "description": "合约单位",
  21216. "type": "number"
  21217. },
  21218. "amount": {
  21219. "description": "金额 = 价格 * 数量 * 合约单位",
  21220. "type": "number"
  21221. },
  21222. "buyorsell": {
  21223. "description": "买卖 - 0:买 1:卖",
  21224. "type": "integer"
  21225. },
  21226. "currencysign": {
  21227. "description": "货币符号",
  21228. "type": "string"
  21229. },
  21230. "decimalplace": {
  21231. "description": "报价小数位",
  21232. "type": "integer"
  21233. },
  21234. "goodscode": {
  21235. "description": "商品代码(内部)",
  21236. "type": "string"
  21237. },
  21238. "goodsid": {
  21239. "description": "商品ID",
  21240. "type": "integer"
  21241. },
  21242. "goodsname": {
  21243. "description": "商品名称",
  21244. "type": "string"
  21245. },
  21246. "marketid": {
  21247. "description": "市场ID",
  21248. "type": "integer"
  21249. },
  21250. "orderamount": {
  21251. "description": "委托金额",
  21252. "type": "number"
  21253. },
  21254. "orderid": {
  21255. "description": "单号(成交单号)",
  21256. "type": "string"
  21257. },
  21258. "picurls1": {
  21259. "description": "预售商品介绍图片[多张用逗号分隔]",
  21260. "type": "string"
  21261. },
  21262. "picurls2": {
  21263. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21264. "type": "string"
  21265. },
  21266. "price": {
  21267. "description": "价格",
  21268. "type": "number"
  21269. },
  21270. "qty": {
  21271. "description": "数量",
  21272. "type": "integer"
  21273. },
  21274. "time": {
  21275. "description": "时间",
  21276. "type": "string"
  21277. },
  21278. "trademode": {
  21279. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21280. "type": "integer"
  21281. },
  21282. "vendorname1": {
  21283. "description": "预售商品供应商名称",
  21284. "type": "string"
  21285. },
  21286. "vendorname2": {
  21287. "description": "挂牌商品供应商名称",
  21288. "type": "string"
  21289. }
  21290. }
  21291. },
  21292. "models.HsbyGoodsOrderDetail": {
  21293. "type": "object",
  21294. "required": [
  21295. "buyorsell",
  21296. "orderid",
  21297. "ordertime"
  21298. ],
  21299. "properties": {
  21300. "buyorsell": {
  21301. "description": "买卖 - 0:买 1:卖",
  21302. "type": "integer"
  21303. },
  21304. "currencysign": {
  21305. "description": "货币符号",
  21306. "type": "string"
  21307. },
  21308. "customername": {
  21309. "description": "客户名称(企业名称),已脱敏",
  21310. "type": "string"
  21311. },
  21312. "enableqty": {
  21313. "description": "可用数量",
  21314. "type": "integer"
  21315. },
  21316. "goodunit": {
  21317. "description": "报价单位",
  21318. "type": "string"
  21319. },
  21320. "orderid": {
  21321. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21322. "type": "string"
  21323. },
  21324. "orderprice": {
  21325. "description": "委托价格",
  21326. "type": "number"
  21327. },
  21328. "ordertime": {
  21329. "description": "委托时间",
  21330. "type": "string"
  21331. }
  21332. }
  21333. },
  21334. "models.HsbyListingGoodsDetail": {
  21335. "type": "object",
  21336. "required": [
  21337. "goodscode",
  21338. "goodsid",
  21339. "goodsname",
  21340. "marketid",
  21341. "trademode"
  21342. ],
  21343. "properties": {
  21344. "agreeunit": {
  21345. "description": "合约单位",
  21346. "type": "number"
  21347. },
  21348. "buymaxqty": {
  21349. "description": "购买上限 [71] - 0为不限",
  21350. "type": "integer"
  21351. },
  21352. "currency": {
  21353. "description": "货币",
  21354. "type": "string"
  21355. },
  21356. "currencysign": {
  21357. "description": "货币符号",
  21358. "type": "string"
  21359. },
  21360. "decimalplace": {
  21361. "description": "报价小数位",
  21362. "type": "integer"
  21363. },
  21364. "desccityid": {
  21365. "description": "目的地(市)ID",
  21366. "type": "integer"
  21367. },
  21368. "descprovinceid": {
  21369. "description": "目的地(省)ID",
  21370. "type": "integer"
  21371. },
  21372. "goodscode": {
  21373. "description": "商品代码(内部)",
  21374. "type": "string"
  21375. },
  21376. "goodsdesc": {
  21377. "description": "商品详情",
  21378. "type": "string"
  21379. },
  21380. "goodsid": {
  21381. "description": "商品ID(自增ID SEQ_GOODS)",
  21382. "type": "integer"
  21383. },
  21384. "goodsname": {
  21385. "description": "商品名称",
  21386. "type": "string"
  21387. },
  21388. "goodsprice": {
  21389. "description": "商品价格",
  21390. "type": "number"
  21391. },
  21392. "hotindex": {
  21393. "description": "景点热度",
  21394. "type": "integer"
  21395. },
  21396. "last": {
  21397. "description": "现价",
  21398. "type": "number"
  21399. },
  21400. "limitdown": {
  21401. "description": "跌停价",
  21402. "type": "number"
  21403. },
  21404. "limitup": {
  21405. "description": "涨停价",
  21406. "type": "number"
  21407. },
  21408. "lotsize": {
  21409. "description": "手数最小变动单位",
  21410. "type": "integer"
  21411. },
  21412. "marketid": {
  21413. "description": "所属市场ID",
  21414. "type": "integer"
  21415. },
  21416. "picurls": {
  21417. "description": "介绍图片[多张用逗号分隔]",
  21418. "type": "string"
  21419. },
  21420. "quoteminunit": {
  21421. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21422. "type": "integer"
  21423. },
  21424. "stepvalue": {
  21425. "description": "价格最小变动单位",
  21426. "type": "number"
  21427. },
  21428. "trademode": {
  21429. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21430. "type": "integer"
  21431. },
  21432. "vendorattr": {
  21433. "description": "供应商附件(多张,逗号分隔)",
  21434. "type": "string"
  21435. },
  21436. "vendorname": {
  21437. "description": "供应商名称",
  21438. "type": "string"
  21439. },
  21440. "vendorphone": {
  21441. "description": "供应商客服电话",
  21442. "type": "string"
  21443. },
  21444. "videourls": {
  21445. "description": "介绍视频[多张用逗号分隔]",
  21446. "type": "string"
  21447. }
  21448. }
  21449. },
  21450. "models.HsbyMarketGoods": {
  21451. "type": "object",
  21452. "required": [
  21453. "accountid",
  21454. "buyorsell",
  21455. "goodscode",
  21456. "goodsid",
  21457. "goodsname",
  21458. "marketid",
  21459. "orderid",
  21460. "trademode"
  21461. ],
  21462. "properties": {
  21463. "accountid": {
  21464. "description": "账户ID[报价币种]",
  21465. "type": "integer"
  21466. },
  21467. "agreeunit": {
  21468. "description": "合约单位",
  21469. "type": "number"
  21470. },
  21471. "buyorsell": {
  21472. "description": "买卖 - 0:买 1:卖",
  21473. "type": "integer"
  21474. },
  21475. "categoryid": {
  21476. "description": "类别ID(WRCATEGORY)",
  21477. "type": "integer"
  21478. },
  21479. "currency": {
  21480. "description": "货币",
  21481. "type": "string"
  21482. },
  21483. "currencysign": {
  21484. "description": "货币符号",
  21485. "type": "string"
  21486. },
  21487. "customername": {
  21488. "description": "卖家名称",
  21489. "type": "string"
  21490. },
  21491. "decimalplace": {
  21492. "description": "报价小数位",
  21493. "type": "integer"
  21494. },
  21495. "goodscode": {
  21496. "description": "商品代码(内部)",
  21497. "type": "string"
  21498. },
  21499. "goodsid": {
  21500. "description": "商品ID",
  21501. "type": "integer"
  21502. },
  21503. "goodsname": {
  21504. "description": "商品名称",
  21505. "type": "string"
  21506. },
  21507. "goodsprice": {
  21508. "description": "商品价格",
  21509. "type": "number"
  21510. },
  21511. "hascoupon": {
  21512. "description": "是否可用优惠卷",
  21513. "type": "boolean"
  21514. },
  21515. "hotindex": {
  21516. "description": "景点热度",
  21517. "type": "integer"
  21518. },
  21519. "marketid": {
  21520. "description": "市场ID",
  21521. "type": "integer"
  21522. },
  21523. "orderid": {
  21524. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21525. "type": "string"
  21526. },
  21527. "orderprice": {
  21528. "description": "委托价格",
  21529. "type": "number"
  21530. },
  21531. "orderstatus": {
  21532. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21533. "type": "integer"
  21534. },
  21535. "picurls": {
  21536. "description": "介绍图片[多张用逗号分隔]",
  21537. "type": "string"
  21538. },
  21539. "quoteminunit": {
  21540. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21541. "type": "integer"
  21542. },
  21543. "sellUserID": {
  21544. "description": "卖方UserID",
  21545. "type": "integer"
  21546. },
  21547. "trademode": {
  21548. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21549. "type": "integer"
  21550. },
  21551. "videourls": {
  21552. "description": "介绍视频[多张用逗号分隔]",
  21553. "type": "string"
  21554. }
  21555. }
  21556. },
  21557. "models.HsbyMarketGoodsDetail": {
  21558. "type": "object",
  21559. "required": [
  21560. "accountid",
  21561. "buyorsell",
  21562. "goodscode",
  21563. "goodsid",
  21564. "goodsname",
  21565. "marketid",
  21566. "orderid",
  21567. "orderqty",
  21568. "trademode"
  21569. ],
  21570. "properties": {
  21571. "accountid": {
  21572. "description": "账户ID[报价币种]",
  21573. "type": "integer"
  21574. },
  21575. "agreeunit": {
  21576. "description": "合约单位",
  21577. "type": "number"
  21578. },
  21579. "buymaxqty": {
  21580. "description": "购买上限 [71] - 0为不限",
  21581. "type": "integer"
  21582. },
  21583. "buyorsell": {
  21584. "description": "买卖 - 0:买 1:卖",
  21585. "type": "integer"
  21586. },
  21587. "cancelqty": {
  21588. "description": "撤单数量",
  21589. "type": "integer"
  21590. },
  21591. "categoryid": {
  21592. "description": "类别ID(WRCATEGORY)",
  21593. "type": "integer"
  21594. },
  21595. "currency": {
  21596. "description": "货币",
  21597. "type": "string"
  21598. },
  21599. "currencysign": {
  21600. "description": "货币符号",
  21601. "type": "string"
  21602. },
  21603. "customername": {
  21604. "description": "卖家名称",
  21605. "type": "string"
  21606. },
  21607. "decimalplace": {
  21608. "description": "报价小数位",
  21609. "type": "integer"
  21610. },
  21611. "goodscode": {
  21612. "description": "商品代码(内部)",
  21613. "type": "string"
  21614. },
  21615. "goodsdesc": {
  21616. "description": "商品详情",
  21617. "type": "string"
  21618. },
  21619. "goodsid": {
  21620. "description": "商品ID",
  21621. "type": "integer"
  21622. },
  21623. "goodsname": {
  21624. "description": "商品名称",
  21625. "type": "string"
  21626. },
  21627. "goodsprice": {
  21628. "description": "商品价格",
  21629. "type": "number"
  21630. },
  21631. "hotindex": {
  21632. "description": "景点热度",
  21633. "type": "integer"
  21634. },
  21635. "lotsize": {
  21636. "description": "手数最小变动单位",
  21637. "type": "integer"
  21638. },
  21639. "marketid": {
  21640. "description": "市场ID",
  21641. "type": "integer"
  21642. },
  21643. "orderid": {
  21644. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21645. "type": "string"
  21646. },
  21647. "orderprice": {
  21648. "description": "委托价格",
  21649. "type": "number"
  21650. },
  21651. "orderqty": {
  21652. "description": "委托数量",
  21653. "type": "integer"
  21654. },
  21655. "orderstatus": {
  21656. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21657. "type": "integer"
  21658. },
  21659. "picurls": {
  21660. "description": "介绍图片[多张用逗号分隔]",
  21661. "type": "string"
  21662. },
  21663. "quoteminunit": {
  21664. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21665. "type": "integer"
  21666. },
  21667. "sellUserID": {
  21668. "description": "卖方UserID",
  21669. "type": "integer"
  21670. },
  21671. "trademode": {
  21672. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21673. "type": "integer"
  21674. },
  21675. "tradeqty": {
  21676. "description": "成交数量",
  21677. "type": "integer"
  21678. },
  21679. "vendorattr": {
  21680. "description": "供应商附件(多张,逗号分隔)",
  21681. "type": "string"
  21682. },
  21683. "vendorname": {
  21684. "description": "供应商名称",
  21685. "type": "string"
  21686. },
  21687. "vendorphone": {
  21688. "description": "供应商客服电话",
  21689. "type": "string"
  21690. },
  21691. "videourls": {
  21692. "description": "介绍视频[多张用逗号分隔]",
  21693. "type": "string"
  21694. }
  21695. }
  21696. },
  21697. "models.HsbyMarketInfo": {
  21698. "type": "object",
  21699. "required": [
  21700. "marketid",
  21701. "marketstatus",
  21702. "trademode"
  21703. ],
  21704. "properties": {
  21705. "marketid": {
  21706. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21707. "type": "integer"
  21708. },
  21709. "marketname": {
  21710. "description": "市场名称",
  21711. "type": "string"
  21712. },
  21713. "marketstatus": {
  21714. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21715. "type": "integer"
  21716. },
  21717. "trademode": {
  21718. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21719. "type": "integer"
  21720. }
  21721. }
  21722. },
  21723. "models.HsbyMyGoods": {
  21724. "type": "object",
  21725. "required": [
  21726. "accountid",
  21727. "goodscode",
  21728. "goodsid",
  21729. "goodsname",
  21730. "marketid",
  21731. "trademode"
  21732. ],
  21733. "properties": {
  21734. "accountid": {
  21735. "description": "账号Id",
  21736. "type": "integer"
  21737. },
  21738. "agreeunit": {
  21739. "description": "合约单位",
  21740. "type": "number"
  21741. },
  21742. "buyaverageprice": {
  21743. "description": "持仓均价",
  21744. "type": "number"
  21745. },
  21746. "buycurholderamount": {
  21747. "description": "买当前持仓总金额[商品币种]",
  21748. "type": "number"
  21749. },
  21750. "buycurpositionqty": {
  21751. "description": "买当前持仓总数量",
  21752. "type": "integer"
  21753. },
  21754. "buymaxqty": {
  21755. "description": "购买上限 [71] - 0为不限",
  21756. "type": "integer"
  21757. },
  21758. "currencysign": {
  21759. "description": "货币符号",
  21760. "type": "string"
  21761. },
  21762. "decimalplace": {
  21763. "description": "报价小数位",
  21764. "type": "integer"
  21765. },
  21766. "enableqty": {
  21767. "description": "可用数量",
  21768. "type": "integer"
  21769. },
  21770. "goodscode": {
  21771. "description": "商品代码(内部)",
  21772. "type": "string"
  21773. },
  21774. "goodsid": {
  21775. "description": "商品Id",
  21776. "type": "integer"
  21777. },
  21778. "goodsname": {
  21779. "description": "商品名称",
  21780. "type": "string"
  21781. },
  21782. "goodsprice": {
  21783. "description": "商品价格",
  21784. "type": "number"
  21785. },
  21786. "goodsstatus": {
  21787. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21788. "type": "integer"
  21789. },
  21790. "last": {
  21791. "description": "现价(仅使用于挂牌点选)",
  21792. "type": "number"
  21793. },
  21794. "limitdown": {
  21795. "description": "跌停价(仅使用于挂牌点选)",
  21796. "type": "number"
  21797. },
  21798. "limitup": {
  21799. "description": "涨停价(仅使用于挂牌点选)",
  21800. "type": "number"
  21801. },
  21802. "lotsize": {
  21803. "description": "手数最小变动单位",
  21804. "type": "integer"
  21805. },
  21806. "marketid": {
  21807. "description": "所属市场ID",
  21808. "type": "integer"
  21809. },
  21810. "picurls": {
  21811. "description": "介绍图片[多张用逗号分隔]",
  21812. "type": "string"
  21813. },
  21814. "quoteminunit": {
  21815. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21816. "type": "integer"
  21817. },
  21818. "stepvalue": {
  21819. "description": "价格最小变动单位",
  21820. "type": "number"
  21821. },
  21822. "trademode": {
  21823. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21824. "type": "integer"
  21825. }
  21826. }
  21827. },
  21828. "models.HsbyMyPackage": {
  21829. "type": "object",
  21830. "required": [
  21831. "goodscode",
  21832. "goodsname",
  21833. "takeorderid",
  21834. "trademode"
  21835. ],
  21836. "properties": {
  21837. "accountid": {
  21838. "description": "账户ID",
  21839. "type": "integer"
  21840. },
  21841. "address": {
  21842. "description": "提货人详细地址",
  21843. "type": "string"
  21844. },
  21845. "agreeunit": {
  21846. "description": "合约单位",
  21847. "type": "number"
  21848. },
  21849. "amount": {
  21850. "description": "提货金额",
  21851. "type": "number"
  21852. },
  21853. "auditer": {
  21854. "description": "审核人",
  21855. "type": "integer"
  21856. },
  21857. "audittime": {
  21858. "description": "审核时间",
  21859. "type": "string"
  21860. },
  21861. "averageprice": {
  21862. "description": "均价",
  21863. "type": "number"
  21864. },
  21865. "cardnum": {
  21866. "description": "提货人证件号码",
  21867. "type": "string"
  21868. },
  21869. "cardtypeid": {
  21870. "description": "提货人证件类型",
  21871. "type": "integer"
  21872. },
  21873. "checkremark": {
  21874. "description": "审核备注",
  21875. "type": "string"
  21876. },
  21877. "currencysign": {
  21878. "description": "货币符号",
  21879. "type": "string"
  21880. },
  21881. "decimalplace": {
  21882. "description": "报价小数位",
  21883. "type": "integer"
  21884. },
  21885. "goodscode": {
  21886. "description": "商品代码(内部)",
  21887. "type": "string"
  21888. },
  21889. "goodsid": {
  21890. "description": "商品ID",
  21891. "type": "integer"
  21892. },
  21893. "goodsname": {
  21894. "description": "商品名称",
  21895. "type": "string"
  21896. },
  21897. "handlestatus": {
  21898. "description": "处理状态",
  21899. "type": "integer"
  21900. },
  21901. "marketid": {
  21902. "description": "市场ID",
  21903. "type": "integer"
  21904. },
  21905. "phonenum": {
  21906. "description": "提货人联系方式",
  21907. "type": "string"
  21908. },
  21909. "picurls": {
  21910. "description": "介绍图片[多张用逗号分隔]",
  21911. "type": "string"
  21912. },
  21913. "qty": {
  21914. "description": "提货数量",
  21915. "type": "number"
  21916. },
  21917. "recivername": {
  21918. "description": "提货人姓名",
  21919. "type": "string"
  21920. },
  21921. "reqtime": {
  21922. "description": "更新时间",
  21923. "type": "string"
  21924. },
  21925. "takemode": {
  21926. "description": "提货方式 - 2:自提 3:配送",
  21927. "type": "integer"
  21928. },
  21929. "takeorderid": {
  21930. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21931. "type": "string"
  21932. },
  21933. "takeorderstatus": {
  21934. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21935. "type": "integer"
  21936. },
  21937. "takeremark": {
  21938. "description": "提货备注",
  21939. "type": "string"
  21940. },
  21941. "tradedate": {
  21942. "description": "交易日(yyyyMMdd)",
  21943. "type": "string"
  21944. },
  21945. "trademode": {
  21946. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21947. "type": "integer"
  21948. },
  21949. "userid": {
  21950. "description": "用户ID",
  21951. "type": "integer"
  21952. },
  21953. "vendorname": {
  21954. "description": "供应商名称",
  21955. "type": "string"
  21956. }
  21957. }
  21958. },
  21959. "models.HsbyPreGoods": {
  21960. "type": "object",
  21961. "required": [
  21962. "goodscode",
  21963. "goodsid",
  21964. "goodsname",
  21965. "marketid",
  21966. "trademode"
  21967. ],
  21968. "properties": {
  21969. "agreeunit": {
  21970. "description": "合约单位",
  21971. "type": "number"
  21972. },
  21973. "currency": {
  21974. "description": "货币",
  21975. "type": "string"
  21976. },
  21977. "currencysign": {
  21978. "description": "货币符号",
  21979. "type": "string"
  21980. },
  21981. "decimalplace": {
  21982. "description": "报价小数位",
  21983. "type": "integer"
  21984. },
  21985. "desccityid": {
  21986. "description": "目的地(市)",
  21987. "type": "integer"
  21988. },
  21989. "descprovinceid": {
  21990. "description": "目的地(省)",
  21991. "type": "integer"
  21992. },
  21993. "enableqty": {
  21994. "description": "剩余数量",
  21995. "type": "integer"
  21996. },
  21997. "goodscode": {
  21998. "description": "商品代码(内部)",
  21999. "type": "string"
  22000. },
  22001. "goodsid": {
  22002. "description": "商品ID(自增ID SEQ_GOODS)",
  22003. "type": "integer"
  22004. },
  22005. "goodsname": {
  22006. "description": "商品名称",
  22007. "type": "string"
  22008. },
  22009. "goodsstatus": {
  22010. "description": "商品状态- 2:未上市 3:上市",
  22011. "type": "integer"
  22012. },
  22013. "lasttradedate": {
  22014. "description": "最后交易日期(状态:待退市)",
  22015. "type": "string"
  22016. },
  22017. "listingdate": {
  22018. "description": "交易开始日期",
  22019. "type": "string"
  22020. },
  22021. "marketid": {
  22022. "description": "所属市场ID",
  22023. "type": "integer"
  22024. },
  22025. "picurls": {
  22026. "description": "介绍图片[多张用逗号分隔]",
  22027. "type": "string"
  22028. },
  22029. "presaledqty": {
  22030. "description": "已预售量(预售结束时更新)",
  22031. "type": "integer"
  22032. },
  22033. "presaleqty": {
  22034. "description": "预售数量",
  22035. "type": "integer"
  22036. },
  22037. "quoteminunit": {
  22038. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22039. "type": "integer"
  22040. },
  22041. "refprice": {
  22042. "description": "参考价格[一口价]",
  22043. "type": "number"
  22044. },
  22045. "relatedgoodsid": {
  22046. "description": "关联交易合约ID",
  22047. "type": "integer"
  22048. },
  22049. "trademode": {
  22050. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22051. "type": "integer"
  22052. },
  22053. "videourls": {
  22054. "description": "介绍视频[多张用逗号分隔]",
  22055. "type": "string"
  22056. }
  22057. }
  22058. },
  22059. "models.HsbyPreGoodsDetail": {
  22060. "type": "object",
  22061. "required": [
  22062. "goodscode",
  22063. "goodsid",
  22064. "goodsname",
  22065. "marketid",
  22066. "trademode"
  22067. ],
  22068. "properties": {
  22069. "agreeunit": {
  22070. "description": "合约单位",
  22071. "type": "number"
  22072. },
  22073. "buymaxqty": {
  22074. "description": "购买上限 [71] - 0为不限",
  22075. "type": "integer"
  22076. },
  22077. "currency": {
  22078. "description": "货币",
  22079. "type": "string"
  22080. },
  22081. "currencysign": {
  22082. "description": "货币符号",
  22083. "type": "string"
  22084. },
  22085. "customername": {
  22086. "description": "发行单位",
  22087. "type": "string"
  22088. },
  22089. "decimalplace": {
  22090. "description": "报价小数位",
  22091. "type": "integer"
  22092. },
  22093. "desccityid": {
  22094. "description": "目的地(市)ID",
  22095. "type": "integer"
  22096. },
  22097. "descprovinceid": {
  22098. "description": "目的地(省)ID",
  22099. "type": "integer"
  22100. },
  22101. "enableqty": {
  22102. "description": "剩余数量",
  22103. "type": "integer"
  22104. },
  22105. "goodscode": {
  22106. "description": "商品代码(内部)",
  22107. "type": "string"
  22108. },
  22109. "goodsdesc": {
  22110. "description": "商品详情",
  22111. "type": "string"
  22112. },
  22113. "goodsid": {
  22114. "description": "商品ID(自增ID SEQ_GOODS)",
  22115. "type": "integer"
  22116. },
  22117. "goodsname": {
  22118. "description": "商品名称",
  22119. "type": "string"
  22120. },
  22121. "goodsstatus": {
  22122. "description": "商品状态- 2:未上市 3:上市",
  22123. "type": "integer"
  22124. },
  22125. "goodunit": {
  22126. "description": "报价单位",
  22127. "type": "string"
  22128. },
  22129. "lasttradedate": {
  22130. "description": "最后交易日期(状态:待退市)",
  22131. "type": "string"
  22132. },
  22133. "listingdate": {
  22134. "description": "交易开始日期",
  22135. "type": "string"
  22136. },
  22137. "lotsize": {
  22138. "description": "手数最小变动单位",
  22139. "type": "integer"
  22140. },
  22141. "marketid": {
  22142. "description": "所属市场ID",
  22143. "type": "integer"
  22144. },
  22145. "picurls": {
  22146. "description": "介绍图片[多张用逗号分隔]",
  22147. "type": "string"
  22148. },
  22149. "presaledqty": {
  22150. "description": "已预售量(预售结束时更新)",
  22151. "type": "integer"
  22152. },
  22153. "presaleqty": {
  22154. "description": "预售数量",
  22155. "type": "integer"
  22156. },
  22157. "quoteminunit": {
  22158. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22159. "type": "integer"
  22160. },
  22161. "refprice": {
  22162. "description": "参考价格[一口价]",
  22163. "type": "number"
  22164. },
  22165. "relatedgoodsid": {
  22166. "description": "关联交易合约ID",
  22167. "type": "integer"
  22168. },
  22169. "stepvalue": {
  22170. "description": "价格最小变动单位",
  22171. "type": "number"
  22172. },
  22173. "trademode": {
  22174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22175. "type": "integer"
  22176. },
  22177. "vendorattr": {
  22178. "description": "供应商附件(多张,逗号分隔)",
  22179. "type": "string"
  22180. },
  22181. "vendorname": {
  22182. "description": "供应商名称",
  22183. "type": "string"
  22184. },
  22185. "vendorphone": {
  22186. "description": "供应商客服电话",
  22187. "type": "string"
  22188. },
  22189. "videourls": {
  22190. "description": "介绍视频[多张用逗号分隔]",
  22191. "type": "string"
  22192. }
  22193. }
  22194. },
  22195. "models.HsbySellCollectionOrder": {
  22196. "type": "object",
  22197. "required": [
  22198. "goodscode",
  22199. "goodsname",
  22200. "tradeid",
  22201. "trademode"
  22202. ],
  22203. "properties": {
  22204. "agreeunit": {
  22205. "description": "合约单位",
  22206. "type": "number"
  22207. },
  22208. "buyaccountid": {
  22209. "description": "买方账号ID[报价币种]",
  22210. "type": "integer"
  22211. },
  22212. "buyorderid": {
  22213. "description": "买方委托单号",
  22214. "type": "string"
  22215. },
  22216. "createtime": {
  22217. "description": "创建时间",
  22218. "type": "string"
  22219. },
  22220. "currencysign": {
  22221. "description": "货币符号",
  22222. "type": "string"
  22223. },
  22224. "decimalplace": {
  22225. "description": "报价小数位",
  22226. "type": "integer"
  22227. },
  22228. "goodscode": {
  22229. "description": "商品代码(内部)",
  22230. "type": "string"
  22231. },
  22232. "goodsid": {
  22233. "description": "商品ID",
  22234. "type": "integer"
  22235. },
  22236. "goodsname": {
  22237. "description": "商品名称",
  22238. "type": "string"
  22239. },
  22240. "marketid": {
  22241. "description": "市场ID",
  22242. "type": "integer"
  22243. },
  22244. "offamount": {
  22245. "description": "优惠金额",
  22246. "type": "number"
  22247. },
  22248. "payamount": {
  22249. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22250. "type": "number"
  22251. },
  22252. "payflag": {
  22253. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22254. "type": "integer"
  22255. },
  22256. "paylimitedtime": {
  22257. "description": "支付期限",
  22258. "type": "string"
  22259. },
  22260. "paytime": {
  22261. "description": "付款时间",
  22262. "type": "string"
  22263. },
  22264. "picurls": {
  22265. "description": "商品介绍图片[多张用逗号分隔]",
  22266. "type": "string"
  22267. },
  22268. "sellaccountid": {
  22269. "description": "卖方账号ID[报价币种]",
  22270. "type": "integer"
  22271. },
  22272. "sellorderid": {
  22273. "description": "卖方委托单号",
  22274. "type": "string"
  22275. },
  22276. "tradeamount": {
  22277. "description": "成交金额",
  22278. "type": "number"
  22279. },
  22280. "tradecharge": {
  22281. "description": "成交手续费(买方)",
  22282. "type": "number"
  22283. },
  22284. "tradedate": {
  22285. "description": "交易日(yyyyMMdd)",
  22286. "type": "string"
  22287. },
  22288. "tradeid": {
  22289. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22290. "type": "string"
  22291. },
  22292. "trademode": {
  22293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22294. "type": "integer"
  22295. },
  22296. "tradeprice": {
  22297. "description": "成交价格",
  22298. "type": "number"
  22299. },
  22300. "tradeqty": {
  22301. "description": "成交数量",
  22302. "type": "integer"
  22303. }
  22304. }
  22305. },
  22306. "models.HsbySellMyDetail": {
  22307. "type": "object",
  22308. "required": [
  22309. "accountid",
  22310. "buyorsell",
  22311. "goodscode",
  22312. "goodsid",
  22313. "goodsname",
  22314. "marketid",
  22315. "orderid",
  22316. "time",
  22317. "trademode"
  22318. ],
  22319. "properties": {
  22320. "accountid": {
  22321. "description": "账户ID[报价币种]",
  22322. "type": "integer"
  22323. },
  22324. "agreeunit": {
  22325. "description": "合约单位",
  22326. "type": "number"
  22327. },
  22328. "buyorsell": {
  22329. "description": "买卖 - 0:买 1:卖",
  22330. "type": "integer"
  22331. },
  22332. "currencysign": {
  22333. "description": "货币符号",
  22334. "type": "string"
  22335. },
  22336. "decimalplace": {
  22337. "description": "报价小数位",
  22338. "type": "integer"
  22339. },
  22340. "goodscode": {
  22341. "description": "商品代码(内部)",
  22342. "type": "string"
  22343. },
  22344. "goodsid": {
  22345. "description": "商品ID",
  22346. "type": "integer"
  22347. },
  22348. "goodsname": {
  22349. "description": "商品名称",
  22350. "type": "string"
  22351. },
  22352. "marketid": {
  22353. "description": "市场ID",
  22354. "type": "integer"
  22355. },
  22356. "orderid": {
  22357. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22358. "type": "string"
  22359. },
  22360. "ordertype": {
  22361. "description": "单据类型:0 - 发布中, 1 - 已完成",
  22362. "type": "integer"
  22363. },
  22364. "picurls": {
  22365. "description": "介绍图片[多张用逗号分隔]",
  22366. "type": "string"
  22367. },
  22368. "price": {
  22369. "description": "价格",
  22370. "type": "number"
  22371. },
  22372. "qty": {
  22373. "description": "数量",
  22374. "type": "integer"
  22375. },
  22376. "time": {
  22377. "description": "时间",
  22378. "type": "string"
  22379. },
  22380. "trademode": {
  22381. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22382. "type": "integer"
  22383. },
  22384. "vendorname": {
  22385. "description": "供应商名称",
  22386. "type": "string"
  22387. }
  22388. }
  22389. },
  22390. "models.HsbyTopGoods": {
  22391. "type": "object",
  22392. "required": [
  22393. "goodscode",
  22394. "goodsid",
  22395. "goodsname",
  22396. "marketid",
  22397. "trademode"
  22398. ],
  22399. "properties": {
  22400. "agreeunit": {
  22401. "description": "合约单位",
  22402. "type": "number"
  22403. },
  22404. "currency": {
  22405. "description": "货币",
  22406. "type": "string"
  22407. },
  22408. "currencysign": {
  22409. "description": "货币符号",
  22410. "type": "string"
  22411. },
  22412. "decimalplace": {
  22413. "description": "报价小数位",
  22414. "type": "integer"
  22415. },
  22416. "desccityid": {
  22417. "description": "目的地(市)",
  22418. "type": "integer"
  22419. },
  22420. "descprovinceid": {
  22421. "description": "目的地(省)",
  22422. "type": "integer"
  22423. },
  22424. "goodscode": {
  22425. "description": "商品代码(内部)",
  22426. "type": "string"
  22427. },
  22428. "goodsid": {
  22429. "description": "商品ID(自增ID SEQ_GOODS)",
  22430. "type": "integer"
  22431. },
  22432. "goodsname": {
  22433. "description": "商品名称",
  22434. "type": "string"
  22435. },
  22436. "hotindex": {
  22437. "description": "景点热度",
  22438. "type": "integer"
  22439. },
  22440. "last": {
  22441. "description": "现价",
  22442. "type": "number"
  22443. },
  22444. "marketid": {
  22445. "description": "所属市场ID",
  22446. "type": "integer"
  22447. },
  22448. "picurls": {
  22449. "description": "介绍图片[多张用逗号分隔]",
  22450. "type": "string"
  22451. },
  22452. "quoteminunit": {
  22453. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22454. "type": "integer"
  22455. },
  22456. "trademode": {
  22457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22458. "type": "integer"
  22459. },
  22460. "videourls": {
  22461. "description": "介绍视频[多张用逗号分隔]",
  22462. "type": "string"
  22463. }
  22464. }
  22465. },
  22466. "models.HybsMyBuyOrderDetail": {
  22467. "type": "object",
  22468. "required": [
  22469. "accountid",
  22470. "buyorsell",
  22471. "goodscode",
  22472. "goodsid",
  22473. "goodsname",
  22474. "marketid",
  22475. "orderid",
  22476. "orderqty",
  22477. "ordertime",
  22478. "trademode"
  22479. ],
  22480. "properties": {
  22481. "accountid": {
  22482. "description": "账户ID[报价币种]",
  22483. "type": "integer"
  22484. },
  22485. "agreeunit": {
  22486. "description": "合约单位",
  22487. "type": "number"
  22488. },
  22489. "buyorsell": {
  22490. "description": "买卖 - 0:买 1:卖",
  22491. "type": "integer"
  22492. },
  22493. "cancelqty": {
  22494. "description": "撤单数量",
  22495. "type": "integer"
  22496. },
  22497. "currencysign": {
  22498. "description": "货币符号",
  22499. "type": "string"
  22500. },
  22501. "decimalplace": {
  22502. "description": "报价小数位",
  22503. "type": "integer"
  22504. },
  22505. "goodscode": {
  22506. "description": "商品代码(内部)",
  22507. "type": "string"
  22508. },
  22509. "goodsid": {
  22510. "description": "商品ID",
  22511. "type": "integer"
  22512. },
  22513. "goodsname": {
  22514. "description": "商品名称",
  22515. "type": "string"
  22516. },
  22517. "listingselecttype": {
  22518. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22519. "type": "integer"
  22520. },
  22521. "marketid": {
  22522. "description": "市场ID",
  22523. "type": "integer"
  22524. },
  22525. "mybuystatus": {
  22526. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22527. "type": "integer"
  22528. },
  22529. "orderamount": {
  22530. "description": "委托金额",
  22531. "type": "number"
  22532. },
  22533. "orderid": {
  22534. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22535. "type": "string"
  22536. },
  22537. "orderprice": {
  22538. "description": "委托价格",
  22539. "type": "number"
  22540. },
  22541. "orderqty": {
  22542. "description": "委托数量",
  22543. "type": "integer"
  22544. },
  22545. "orderstatus": {
  22546. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22547. "type": "integer"
  22548. },
  22549. "ordertime": {
  22550. "description": "委托时间",
  22551. "type": "string"
  22552. },
  22553. "picurls1": {
  22554. "description": "预售商品介绍图片[多张用逗号分隔]",
  22555. "type": "string"
  22556. },
  22557. "picurls2": {
  22558. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22559. "type": "string"
  22560. },
  22561. "trademode": {
  22562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22563. "type": "integer"
  22564. },
  22565. "tradeqty": {
  22566. "description": "成交数量",
  22567. "type": "integer"
  22568. },
  22569. "vendorname1": {
  22570. "description": "预售商品供应商名称",
  22571. "type": "string"
  22572. },
  22573. "vendorname2": {
  22574. "description": "挂牌商品供应商名称",
  22575. "type": "string"
  22576. }
  22577. }
  22578. },
  22579. "models.Loginaccount": {
  22580. "type": "object",
  22581. "required": [
  22582. "loginid"
  22583. ],
  22584. "properties": {
  22585. "canoutin": {
  22586. "description": "是否可出入金 - 0:不可 1:可",
  22587. "type": "integer"
  22588. },
  22589. "clientroleid": {
  22590. "description": "终端角色ID",
  22591. "type": "integer"
  22592. },
  22593. "haslogined": {
  22594. "description": "是否已登录 - 0:未登录 1:已登录",
  22595. "type": "integer"
  22596. },
  22597. "hasupdatedpwd": {
  22598. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22599. "type": "integer"
  22600. },
  22601. "lastloginip": {
  22602. "description": "最新登录地址",
  22603. "type": "string"
  22604. },
  22605. "lastloginmode": {
  22606. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22607. "type": "integer"
  22608. },
  22609. "lastloginremark": {
  22610. "description": "最新登录描述",
  22611. "type": "string"
  22612. },
  22613. "lastlogintime": {
  22614. "description": "最新登录时间",
  22615. "type": "string"
  22616. },
  22617. "logincode": {
  22618. "description": "登录代码",
  22619. "type": "string"
  22620. },
  22621. "loginfailnum": {
  22622. "description": "连续登录失败次数(登录成功时清零)",
  22623. "type": "integer"
  22624. },
  22625. "loginid": {
  22626. "description": "登陆账号",
  22627. "type": "integer"
  22628. },
  22629. "loginport": {
  22630. "description": "最新登录端口",
  22631. "type": "integer"
  22632. },
  22633. "loginstatus": {
  22634. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  22635. "type": "integer"
  22636. },
  22637. "loginusertype": {
  22638. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22639. "type": "integer"
  22640. },
  22641. "modifierid": {
  22642. "description": "修改人",
  22643. "type": "integer"
  22644. },
  22645. "modifytime": {
  22646. "description": "修改时间",
  22647. "type": "string"
  22648. },
  22649. "pwdwrongcount": {
  22650. "description": "密码错误次数",
  22651. "type": "integer"
  22652. },
  22653. "taaccountrighttype": {
  22654. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22655. "type": "integer"
  22656. },
  22657. "unfreezetime": {
  22658. "description": "账户解冻时间",
  22659. "type": "string"
  22660. },
  22661. "userid": {
  22662. "description": "用户ID",
  22663. "type": "integer"
  22664. }
  22665. }
  22666. },
  22667. "models.MainAccountInfo": {
  22668. "type": "object",
  22669. "properties": {
  22670. "accountid": {
  22671. "description": "账号id",
  22672. "type": "integer"
  22673. },
  22674. "accountname": {
  22675. "description": "账号名称(taaccount表中的名称)",
  22676. "type": "string"
  22677. },
  22678. "appid": {
  22679. "description": "AppID",
  22680. "type": "string"
  22681. },
  22682. "authcode": {
  22683. "description": "授权码",
  22684. "type": "string"
  22685. },
  22686. "brokerid": {
  22687. "description": "经纪商id",
  22688. "type": "string"
  22689. },
  22690. "fcid": {
  22691. "description": "期货公司id",
  22692. "type": "integer"
  22693. },
  22694. "fcname": {
  22695. "description": "期货公司代码",
  22696. "type": "string"
  22697. },
  22698. "hedgeaccountcode": {
  22699. "description": "外部账号代码(主账号登录代码)",
  22700. "type": "string"
  22701. },
  22702. "hedgeaccountpwd": {
  22703. "description": "密码",
  22704. "type": "string"
  22705. },
  22706. "ismain": {
  22707. "description": "是否主账号",
  22708. "type": "integer"
  22709. },
  22710. "relateduserid": {
  22711. "description": "关联用户id",
  22712. "type": "integer"
  22713. },
  22714. "userid": {
  22715. "description": "关联用户id",
  22716. "type": "integer"
  22717. }
  22718. }
  22719. },
  22720. "models.Market": {
  22721. "type": "object",
  22722. "required": [
  22723. "marketid",
  22724. "marketstatus",
  22725. "openmethod",
  22726. "reckonpricealgorithm",
  22727. "trademode",
  22728. "tradeproperty"
  22729. ],
  22730. "properties": {
  22731. "auctionwrtype": {
  22732. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22733. "type": "integer"
  22734. },
  22735. "canacceptquote": {
  22736. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22737. "type": "integer"
  22738. },
  22739. "cangoodsexercise": {
  22740. "description": "[期权]是否可现货行权- 0:否 1:是",
  22741. "type": "integer"
  22742. },
  22743. "cangoodsexercisetype": {
  22744. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22745. "type": "integer"
  22746. },
  22747. "canmanualquotestrike": {
  22748. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22749. "type": "integer"
  22750. },
  22751. "canmutistage": {
  22752. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22753. "type": "integer"
  22754. },
  22755. "canpreexercise": {
  22756. "description": "[期权]是否可预申报- 0:否 1:是",
  22757. "type": "integer"
  22758. },
  22759. "clearinterval": {
  22760. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22761. "type": "integer"
  22762. },
  22763. "contracttmp": {
  22764. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22765. "type": "string"
  22766. },
  22767. "exchareaid": {
  22768. "description": "所属交易所,可以没有",
  22769. "type": "integer"
  22770. },
  22771. "goodstype": {
  22772. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22773. "type": "integer"
  22774. },
  22775. "hasrebate": {
  22776. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22777. "type": "integer"
  22778. },
  22779. "hastradecredit": {
  22780. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22781. "type": "integer"
  22782. },
  22783. "haswr": {
  22784. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22785. "type": "integer"
  22786. },
  22787. "isdeductmargin": {
  22788. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22789. "type": "integer"
  22790. },
  22791. "isrecordsource": {
  22792. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22793. "type": "integer"
  22794. },
  22795. "isreleasemargin": {
  22796. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22797. "type": "integer"
  22798. },
  22799. "marginformula": {
  22800. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22801. "type": "integer"
  22802. },
  22803. "marginformula2": {
  22804. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22805. "type": "integer"
  22806. },
  22807. "marketid": {
  22808. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22809. "type": "integer"
  22810. },
  22811. "marketname": {
  22812. "description": "市场名称",
  22813. "type": "string"
  22814. },
  22815. "marketserviceid": {
  22816. "description": "市场服务ID",
  22817. "type": "integer"
  22818. },
  22819. "marketstatus": {
  22820. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22821. "type": "integer"
  22822. },
  22823. "markettype": {
  22824. "description": "市场类型- 1:非交易服务 2:交易服务",
  22825. "type": "integer"
  22826. },
  22827. "matchermode": {
  22828. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22829. "type": "integer"
  22830. },
  22831. "openmethod": {
  22832. "description": "开盘模式 - 0 自动 1手动",
  22833. "type": "integer"
  22834. },
  22835. "otcuserid": {
  22836. "description": "场外期权做市商[场外期权]",
  22837. "type": "integer"
  22838. },
  22839. "outersynctime": {
  22840. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22841. "type": "string"
  22842. },
  22843. "pendingflag": {
  22844. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22845. "type": "integer"
  22846. },
  22847. "pendingtime": {
  22848. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22849. "type": "string"
  22850. },
  22851. "performancetempid": {
  22852. "description": "履约计划模板ID - 作废",
  22853. "type": "integer"
  22854. },
  22855. "premiumquotemode": {
  22856. "description": "权利金报价方式 - 1:自动 2:手动",
  22857. "type": "integer"
  22858. },
  22859. "rebateratio": {
  22860. "description": "返利比率[竞价式]",
  22861. "type": "number"
  22862. },
  22863. "reckonorder": {
  22864. "description": "结算顺序",
  22865. "type": "integer"
  22866. },
  22867. "reckonpricealgorithm": {
  22868. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  22869. "type": "integer"
  22870. },
  22871. "reckonpriceparam": {
  22872. "description": "结算价参数",
  22873. "type": "integer"
  22874. },
  22875. "reckontime": {
  22876. "description": "结算时间[通道交易-对冲](HH:mm)",
  22877. "type": "string"
  22878. },
  22879. "roleprioritytype": {
  22880. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  22881. "type": "integer"
  22882. },
  22883. "selllistingauditflag": {
  22884. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  22885. "type": "integer"
  22886. },
  22887. "trademarkettype": {
  22888. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  22889. "type": "integer"
  22890. },
  22891. "trademode": {
  22892. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22893. "type": "integer"
  22894. },
  22895. "tradeproperty": {
  22896. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  22897. "type": "integer"
  22898. },
  22899. "tradetype": {
  22900. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  22901. "type": "integer"
  22902. }
  22903. }
  22904. },
  22905. "models.Marketrun": {
  22906. "type": "object",
  22907. "required": [
  22908. "marketid",
  22909. "nexttradedate",
  22910. "reckonflag",
  22911. "runstatus",
  22912. "tradedate",
  22913. "tradedate2"
  22914. ],
  22915. "properties": {
  22916. "afternexttradedate": {
  22917. "description": "下下交易日",
  22918. "type": "string"
  22919. },
  22920. "clearquoteflag": {
  22921. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  22922. "type": "integer"
  22923. },
  22924. "lastreckondate": {
  22925. "description": "最新交易日(结算成功)",
  22926. "type": "string"
  22927. },
  22928. "machinedate": {
  22929. "description": "机器时间",
  22930. "type": "string"
  22931. },
  22932. "manualflag": {
  22933. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  22934. "type": "integer"
  22935. },
  22936. "marketid": {
  22937. "description": "市场ID",
  22938. "type": "integer"
  22939. },
  22940. "nexttradedate": {
  22941. "description": "下一交易日",
  22942. "type": "string"
  22943. },
  22944. "pretradedate": {
  22945. "description": "上一交易日",
  22946. "type": "string"
  22947. },
  22948. "reckonflag": {
  22949. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  22950. "type": "integer"
  22951. },
  22952. "runstatus": {
  22953. "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.今日免清算",
  22954. "type": "integer"
  22955. },
  22956. "sectionid": {
  22957. "description": "时间段号[多时段时用]",
  22958. "type": "integer"
  22959. },
  22960. "tradedate": {
  22961. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  22962. "type": "string"
  22963. },
  22964. "tradedate2": {
  22965. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  22966. "type": "string"
  22967. },
  22968. "updatetime": {
  22969. "description": "更新时间",
  22970. "type": "string"
  22971. }
  22972. }
  22973. },
  22974. "models.Messageboard": {
  22975. "type": "object",
  22976. "required": [
  22977. "messageboardid"
  22978. ],
  22979. "properties": {
  22980. "contactnum": {
  22981. "description": "联系电话",
  22982. "type": "string"
  22983. },
  22984. "createtime": {
  22985. "description": "创建时间",
  22986. "type": "string"
  22987. },
  22988. "message": {
  22989. "description": "留言信息",
  22990. "type": "string"
  22991. },
  22992. "messageboardid": {
  22993. "description": "留言簿ID(SEQ_MessageBoard)",
  22994. "type": "integer"
  22995. },
  22996. "userid": {
  22997. "description": "用户ID",
  22998. "type": "integer"
  22999. }
  23000. }
  23001. },
  23002. "models.MyCoupon": {
  23003. "type": "object",
  23004. "required": [
  23005. "accountid",
  23006. "coupontypeid"
  23007. ],
  23008. "properties": {
  23009. "accountid": {
  23010. "description": "资金账户ID",
  23011. "type": "integer"
  23012. },
  23013. "areauserid": {
  23014. "description": "所属机构",
  23015. "type": "integer"
  23016. },
  23017. "conditionvalue": {
  23018. "description": "条件阈值(可为0)",
  23019. "type": "number"
  23020. },
  23021. "couponcategroy": {
  23022. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23023. "type": "integer"
  23024. },
  23025. "couponname": {
  23026. "description": "优惠券名称",
  23027. "type": "string"
  23028. },
  23029. "coupontypeid": {
  23030. "description": "优惠券类型ID",
  23031. "type": "string"
  23032. },
  23033. "couponvalue": {
  23034. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23035. "type": "number"
  23036. },
  23037. "curfreezeqty": {
  23038. "description": "期末冻结数量",
  23039. "type": "integer"
  23040. },
  23041. "curqty": {
  23042. "description": "期末数量",
  23043. "type": "integer"
  23044. },
  23045. "isgeneral": {
  23046. "description": "是否通用券 - 0:否 1:是",
  23047. "type": "integer"
  23048. },
  23049. "isunusable": {
  23050. "description": "是否不可用",
  23051. "type": "boolean"
  23052. },
  23053. "limitedflag": {
  23054. "description": "是否指定商品 - 0:不限 1:限制",
  23055. "type": "integer"
  23056. },
  23057. "limitedgoodsids": {
  23058. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23059. "type": "string"
  23060. },
  23061. "orifreezeqty": {
  23062. "description": "期初冻结数量",
  23063. "type": "integer"
  23064. },
  23065. "oriqty": {
  23066. "description": "期初数量",
  23067. "type": "integer"
  23068. },
  23069. "reasontype": {
  23070. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23071. "type": "integer"
  23072. },
  23073. "todaydecrease": {
  23074. "description": "今日减少",
  23075. "type": "integer"
  23076. },
  23077. "todayincrease": {
  23078. "description": "今日增加",
  23079. "type": "integer"
  23080. },
  23081. "userid": {
  23082. "description": "用户ID",
  23083. "type": "integer"
  23084. },
  23085. "userscope": {
  23086. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23087. "type": "string"
  23088. }
  23089. }
  23090. },
  23091. "models.MyCouponHold": {
  23092. "type": "object",
  23093. "required": [
  23094. "couponholdid"
  23095. ],
  23096. "properties": {
  23097. "accountid": {
  23098. "description": "资金账户ID",
  23099. "type": "integer"
  23100. },
  23101. "conditionvalue": {
  23102. "description": "条件阈值(可为0)",
  23103. "type": "number"
  23104. },
  23105. "couponcategroy": {
  23106. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23107. "type": "integer"
  23108. },
  23109. "couponholdid": {
  23110. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23111. "type": "string"
  23112. },
  23113. "couponname": {
  23114. "description": "优惠券名称",
  23115. "type": "string"
  23116. },
  23117. "coupontypeid": {
  23118. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23119. "type": "string"
  23120. },
  23121. "couponvalue": {
  23122. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23123. "type": "number"
  23124. },
  23125. "createtime": {
  23126. "description": "创建时间",
  23127. "type": "string"
  23128. },
  23129. "enddate": {
  23130. "description": "结束日期",
  23131. "type": "string"
  23132. },
  23133. "giveapplyid": {
  23134. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23135. "type": "integer"
  23136. },
  23137. "holdstatus": {
  23138. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23139. "type": "integer"
  23140. },
  23141. "isgeneral": {
  23142. "description": "是否通用券 - 0:否 1:是",
  23143. "type": "integer"
  23144. },
  23145. "limitedflag": {
  23146. "description": "是否指定商品 - 0:不限 1:限制",
  23147. "type": "integer"
  23148. },
  23149. "limitedgoodsids": {
  23150. "description": "指定商品IDs[逗号分隔]",
  23151. "type": "string"
  23152. },
  23153. "qty": {
  23154. "description": "数量(按1平铺)",
  23155. "type": "integer"
  23156. },
  23157. "startdate": {
  23158. "description": "开始日期",
  23159. "type": "string"
  23160. },
  23161. "userid": {
  23162. "description": "用户ID",
  23163. "type": "integer"
  23164. },
  23165. "userscope": {
  23166. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23167. "type": "string"
  23168. }
  23169. }
  23170. },
  23171. "models.MyUsedCoupon": {
  23172. "type": "object",
  23173. "required": [
  23174. "coupontypeid",
  23175. "orderid"
  23176. ],
  23177. "properties": {
  23178. "accountid": {
  23179. "description": "资金账户ID(买方)",
  23180. "type": "integer"
  23181. },
  23182. "conditionvalue": {
  23183. "description": "条件阈值(可为0)",
  23184. "type": "number"
  23185. },
  23186. "couponcategroy": {
  23187. "description": "种类 - 1:现金券 2:折扣券",
  23188. "type": "integer"
  23189. },
  23190. "couponname": {
  23191. "description": "优惠券名称",
  23192. "type": "string"
  23193. },
  23194. "coupontypeid": {
  23195. "description": "优惠券类型ID(买方)",
  23196. "type": "string"
  23197. },
  23198. "couponvalue": {
  23199. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23200. "type": "number"
  23201. },
  23202. "createtime": {
  23203. "description": "创建时间",
  23204. "type": "string"
  23205. },
  23206. "goodsid": {
  23207. "description": "商品ID",
  23208. "type": "integer"
  23209. },
  23210. "handlestatus": {
  23211. "description": "处理状态",
  23212. "type": "integer"
  23213. },
  23214. "marketid": {
  23215. "description": "市场ID",
  23216. "type": "integer"
  23217. },
  23218. "offamount": {
  23219. "description": "优惠金额",
  23220. "type": "number"
  23221. },
  23222. "orderid": {
  23223. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23224. "type": "string"
  23225. },
  23226. "sellaccountid": {
  23227. "description": "资金账户ID(卖方)",
  23228. "type": "integer"
  23229. },
  23230. "tradeamount": {
  23231. "description": "成交金额",
  23232. "type": "number"
  23233. },
  23234. "tradeid": {
  23235. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23236. "type": "string"
  23237. },
  23238. "usedqty": {
  23239. "description": "使用数量",
  23240. "type": "integer"
  23241. }
  23242. }
  23243. },
  23244. "models.OperationPrimaryMenu": {
  23245. "type": "object",
  23246. "properties": {
  23247. "Children": {
  23248. "description": "二级功能菜单",
  23249. "type": "array",
  23250. "items": {
  23251. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23252. }
  23253. },
  23254. "Key": {
  23255. "description": "菜单KEY",
  23256. "type": "string"
  23257. },
  23258. "Label": {
  23259. "description": "菜单标题",
  23260. "type": "string"
  23261. }
  23262. }
  23263. },
  23264. "models.OperationSecondaryMenu": {
  23265. "type": "object",
  23266. "properties": {
  23267. "Key": {
  23268. "description": "菜单KEY",
  23269. "type": "string"
  23270. },
  23271. "Label": {
  23272. "description": "菜单标题",
  23273. "type": "string"
  23274. },
  23275. "TabList": {
  23276. "description": "三级功能菜单",
  23277. "type": "array",
  23278. "items": {
  23279. "$ref": "#/definitions/models.OperationTabMenu"
  23280. }
  23281. }
  23282. }
  23283. },
  23284. "models.OperationTabMenu": {
  23285. "type": "object",
  23286. "properties": {
  23287. "Key": {
  23288. "description": "菜单KEY",
  23289. "type": "string"
  23290. },
  23291. "Label": {
  23292. "description": "菜单标题",
  23293. "type": "string"
  23294. }
  23295. }
  23296. },
  23297. "models.PendingAuditBizModel": {
  23298. "type": "object",
  23299. "properties": {
  23300. "accountid": {
  23301. "description": "现货账户",
  23302. "type": "string"
  23303. },
  23304. "areaname": {
  23305. "description": "所属部门",
  23306. "type": "string"
  23307. },
  23308. "bizid": {
  23309. "description": "业务ID",
  23310. "type": "string"
  23311. },
  23312. "bizname": {
  23313. "description": "业务名称",
  23314. "type": "string"
  23315. },
  23316. "status": {
  23317. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23318. "type": "integer"
  23319. },
  23320. "type": {
  23321. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23322. "type": "integer"
  23323. }
  23324. }
  23325. },
  23326. "models.QhjAccountOutInApply": {
  23327. "type": "object",
  23328. "properties": {
  23329. "accountcode": {
  23330. "description": "资金账号",
  23331. "type": "string"
  23332. },
  23333. "accountname": {
  23334. "description": "用户名称(名称)",
  23335. "type": "string"
  23336. },
  23337. "accountpwd": {
  23338. "description": "资金密码",
  23339. "type": "string"
  23340. },
  23341. "accountticket": {
  23342. "description": "最新账户服务流水号",
  23343. "type": "string"
  23344. },
  23345. "amount": {
  23346. "description": "金额",
  23347. "type": "number"
  23348. },
  23349. "applyremark": {
  23350. "description": "申请备注",
  23351. "type": "string"
  23352. },
  23353. "applystatus": {
  23354. "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: 复审通过,账户冻结金额检查中;",
  23355. "type": "integer"
  23356. },
  23357. "auditid": {
  23358. "description": "审核人",
  23359. "type": "integer"
  23360. },
  23361. "audittime": {
  23362. "description": "审核时间",
  23363. "type": "string"
  23364. },
  23365. "bank_apply_ticket": {
  23366. "description": "银行申请流水",
  23367. "type": "string"
  23368. },
  23369. "bankaccountname": {
  23370. "description": "银行账户名",
  23371. "type": "string"
  23372. },
  23373. "bankaccountno": {
  23374. "description": "银行卡号",
  23375. "type": "string"
  23376. },
  23377. "bankid": {
  23378. "description": "银行编号",
  23379. "type": "string"
  23380. },
  23381. "bankticket": {
  23382. "description": "银行流水",
  23383. "type": "string"
  23384. },
  23385. "branchbankid": {
  23386. "description": "银行支行号",
  23387. "type": "string"
  23388. },
  23389. "branchbankname": {
  23390. "description": "银行支行名称",
  23391. "type": "string"
  23392. },
  23393. "capamountout": {
  23394. "description": "出金(劣后本金) - 外部子账户",
  23395. "type": "number"
  23396. },
  23397. "certificatephotourl": {
  23398. "description": "凭证地址",
  23399. "type": "string"
  23400. },
  23401. "charge": {
  23402. "description": "手续费",
  23403. "type": "number"
  23404. },
  23405. "checkerrorflag": {
  23406. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23407. "type": "integer"
  23408. },
  23409. "currency": {
  23410. "description": "币种",
  23411. "type": "string"
  23412. },
  23413. "cusbankid": {
  23414. "description": "托管银行编号",
  23415. "type": "string"
  23416. },
  23417. "exchticket": {
  23418. "description": "银行服务流水号",
  23419. "type": "string"
  23420. },
  23421. "executetype": {
  23422. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23423. "type": "integer"
  23424. },
  23425. "extendinfo": {
  23426. "description": "扩展信息",
  23427. "type": "string"
  23428. },
  23429. "extoperateid": {
  23430. "description": "交易服务流水号",
  23431. "type": "integer"
  23432. },
  23433. "infamount": {
  23434. "description": "劣后金额(自有)",
  23435. "type": "number"
  23436. },
  23437. "logincode": {
  23438. "description": "登录账号(账号)",
  23439. "type": "string"
  23440. },
  23441. "netaddr": {
  23442. "description": "调转网址",
  23443. "type": "string"
  23444. },
  23445. "priamount": {
  23446. "description": "优先金额(授信)",
  23447. "type": "number"
  23448. },
  23449. "reauditid": {
  23450. "description": "复审人",
  23451. "type": "integer"
  23452. },
  23453. "reauditremark": {
  23454. "description": "复审备注",
  23455. "type": "string"
  23456. },
  23457. "reaudittime": {
  23458. "description": "复审时间",
  23459. "type": "string"
  23460. },
  23461. "relatedorderid": {
  23462. "description": "三方关联ID",
  23463. "type": "string"
  23464. },
  23465. "remark": {
  23466. "description": "备注",
  23467. "type": "string"
  23468. },
  23469. "remark2": {
  23470. "description": "备注(失败原因)",
  23471. "type": "string"
  23472. },
  23473. "soucreamount": {
  23474. "description": "原始出入金金额",
  23475. "type": "number"
  23476. },
  23477. "soucrecurrencyid": {
  23478. "description": "原始出入金币种",
  23479. "type": "integer"
  23480. },
  23481. "tradedate": {
  23482. "description": "交易日(yyyyMMdd)",
  23483. "type": "string"
  23484. },
  23485. "updatetime": {
  23486. "description": "更新时间(申请时间)",
  23487. "type": "string"
  23488. },
  23489. "userid": {
  23490. "description": "用户id",
  23491. "type": "integer"
  23492. },
  23493. "userinfotype": {
  23494. "description": "账户类型 1-个人 2-企业",
  23495. "type": "integer"
  23496. }
  23497. }
  23498. },
  23499. "models.QhjAgreementChangeLog": {
  23500. "type": "object",
  23501. "properties": {
  23502. "agreementcontent": {
  23503. "description": "协议内容",
  23504. "type": "string"
  23505. },
  23506. "agreementfrequency": {
  23507. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23508. "type": "integer"
  23509. },
  23510. "agreementid": {
  23511. "description": "协议ID",
  23512. "type": "integer"
  23513. },
  23514. "agreementname": {
  23515. "description": "协议名称",
  23516. "type": "string"
  23517. },
  23518. "agreementno": {
  23519. "description": "协议编号",
  23520. "type": "string"
  23521. },
  23522. "agreementtype": {
  23523. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23524. "type": "integer"
  23525. },
  23526. "agreementversion": {
  23527. "description": "协议版本号",
  23528. "type": "integer"
  23529. },
  23530. "logid": {
  23531. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23532. "type": "integer"
  23533. },
  23534. "reviserid": {
  23535. "description": "修改人",
  23536. "type": "integer"
  23537. },
  23538. "revisersrc": {
  23539. "description": "修改来源 - 1:管理端 2:终端",
  23540. "type": "integer"
  23541. },
  23542. "updatetime": {
  23543. "description": "更新时间",
  23544. "type": "string"
  23545. }
  23546. }
  23547. },
  23548. "models.QhjAgreementConfig": {
  23549. "type": "object",
  23550. "properties": {
  23551. "agreementcontent": {
  23552. "description": "协议内容",
  23553. "type": "string"
  23554. },
  23555. "agreementfrequency": {
  23556. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23557. "type": "integer"
  23558. },
  23559. "agreementid": {
  23560. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23561. "type": "integer"
  23562. },
  23563. "agreementname": {
  23564. "description": "协议名称",
  23565. "type": "string"
  23566. },
  23567. "agreementno": {
  23568. "description": "协议编号",
  23569. "type": "string"
  23570. },
  23571. "agreementtype": {
  23572. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23573. "type": "integer"
  23574. },
  23575. "agreementversion": {
  23576. "description": "协议版本号(从1开始每次修改加1)",
  23577. "type": "integer"
  23578. },
  23579. "createtime": {
  23580. "description": "创建时间",
  23581. "type": "string"
  23582. },
  23583. "creatorid": {
  23584. "description": "创建人",
  23585. "type": "integer"
  23586. },
  23587. "creatorsrc": {
  23588. "description": "创建来源 - 1:管理端 2:终端",
  23589. "type": "integer"
  23590. },
  23591. "isvalid": {
  23592. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  23593. "type": "integer"
  23594. },
  23595. "reviserid": {
  23596. "description": "修改人",
  23597. "type": "integer"
  23598. },
  23599. "revisersrc": {
  23600. "description": "修改来源 - 1:管理端 2:终端",
  23601. "type": "integer"
  23602. },
  23603. "updatetime": {
  23604. "description": "更新时间",
  23605. "type": "string"
  23606. }
  23607. }
  23608. },
  23609. "models.QhjAreaFinanceConfig": {
  23610. "type": "object",
  23611. "properties": {
  23612. "additionalratio": {
  23613. "description": "追加款比例",
  23614. "type": "number"
  23615. },
  23616. "advanceratio": {
  23617. "description": "预付款比例",
  23618. "type": "number"
  23619. },
  23620. "alarmratio": {
  23621. "description": "告警比例",
  23622. "type": "number"
  23623. },
  23624. "consumptiondirectreward": {
  23625. "description": "消费直推奖励值",
  23626. "type": "number"
  23627. },
  23628. "consumptionenabled": {
  23629. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23630. "type": "integer"
  23631. },
  23632. "consumptionindirectreward": {
  23633. "description": "消费间推奖励值",
  23634. "type": "number"
  23635. },
  23636. "consumptionmodel": {
  23637. "description": "消费奖励方式 - 1:比率 2:固定",
  23638. "type": "integer"
  23639. },
  23640. "customerservicenum": {
  23641. "description": "客服电话",
  23642. "type": "string"
  23643. },
  23644. "dayinterestrate": {
  23645. "description": "日利率",
  23646. "type": "number"
  23647. },
  23648. "disableconsumptiontips": {
  23649. "description": "关闭消费奖励提示",
  23650. "type": "string"
  23651. },
  23652. "modifierid": {
  23653. "description": "修改人ID",
  23654. "type": "integer"
  23655. },
  23656. "modifysrc": {
  23657. "description": "审核来源 - 1:管理端 2:终端",
  23658. "type": "integer"
  23659. },
  23660. "modifytime": {
  23661. "description": "修改时间",
  23662. "type": "string"
  23663. },
  23664. "promotionvalue": {
  23665. "description": "推广奖励值(固定)",
  23666. "type": "number"
  23667. },
  23668. "scoreconfigvalue1": {
  23669. "description": "提货积分配置1",
  23670. "type": "integer"
  23671. },
  23672. "scoreconfigvalue2": {
  23673. "description": "提货积分配置2",
  23674. "type": "integer"
  23675. },
  23676. "userid": {
  23677. "description": "机构用户ID其他做市关系,都设置为 1",
  23678. "type": "integer"
  23679. },
  23680. "username": {
  23681. "description": "用户名称",
  23682. "type": "string"
  23683. }
  23684. }
  23685. },
  23686. "models.QhjBankAccountSign": {
  23687. "type": "object",
  23688. "properties": {
  23689. "accountcode": {
  23690. "description": "资金账号",
  23691. "type": "string"
  23692. },
  23693. "accountname": {
  23694. "description": "资金账号对应的账号名(UserName)",
  23695. "type": "string"
  23696. },
  23697. "accountname2": {
  23698. "description": "资金账号对应的账号名(UserName) - 密文",
  23699. "type": "string"
  23700. },
  23701. "accounttype": {
  23702. "description": "账户类型(UserType)",
  23703. "type": "integer"
  23704. },
  23705. "applicationtime": {
  23706. "description": "最后一次更新的时间",
  23707. "type": "string"
  23708. },
  23709. "applyexchticket": {
  23710. "description": "申请流水",
  23711. "type": "string"
  23712. },
  23713. "auditid": {
  23714. "description": "审核人",
  23715. "type": "integer"
  23716. },
  23717. "audittime": {
  23718. "description": "审核时间",
  23719. "type": "string"
  23720. },
  23721. "bankaccountname": {
  23722. "description": "签约银行卡账号名",
  23723. "type": "string"
  23724. },
  23725. "bankaccountname2": {
  23726. "description": "签约银行卡账号名 - 密文",
  23727. "type": "string"
  23728. },
  23729. "bankaccountno": {
  23730. "description": "银行卡号",
  23731. "type": "string"
  23732. },
  23733. "bankaccountno2": {
  23734. "description": "银行卡号 - 密文",
  23735. "type": "string"
  23736. },
  23737. "bankaccounttype": {
  23738. "description": "银行账户类型 - 1-对私; 2-对公",
  23739. "type": "integer"
  23740. },
  23741. "bankcardtype": {
  23742. "description": "银行卡类型",
  23743. "type": "integer"
  23744. },
  23745. "bankchildaccount": {
  23746. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23747. "type": "string"
  23748. },
  23749. "bankcity": {
  23750. "description": "开户行城市",
  23751. "type": "string"
  23752. },
  23753. "bankid": {
  23754. "description": "签约银行ID",
  23755. "type": "string"
  23756. },
  23757. "bankname": {
  23758. "description": "签约银行名称",
  23759. "type": "string"
  23760. },
  23761. "bankprovince": {
  23762. "description": "开户行省份",
  23763. "type": "string"
  23764. },
  23765. "branchbankid": {
  23766. "description": "签约银行支行号",
  23767. "type": "string"
  23768. },
  23769. "branchbankname": {
  23770. "description": "签约银行支行名称",
  23771. "type": "string"
  23772. },
  23773. "cardno": {
  23774. "description": "证件号码",
  23775. "type": "string"
  23776. },
  23777. "cardno2": {
  23778. "description": "证件号码 - 密文",
  23779. "type": "string"
  23780. },
  23781. "cardtype": {
  23782. "description": "证件类型",
  23783. "type": "string"
  23784. },
  23785. "currency": {
  23786. "description": "币种",
  23787. "type": "string"
  23788. },
  23789. "cusbankid": {
  23790. "description": "托管银行编号",
  23791. "type": "string"
  23792. },
  23793. "direct": {
  23794. "description": "方向(可以判断那方先发起的签约)",
  23795. "type": "integer"
  23796. },
  23797. "exchticket": {
  23798. "description": "最后一次签约成功的流水号",
  23799. "type": "string"
  23800. },
  23801. "extendinfo": {
  23802. "description": "扩展信息(JSON字符串)",
  23803. "type": "string"
  23804. },
  23805. "mobilephone": {
  23806. "description": "手机号",
  23807. "type": "string"
  23808. },
  23809. "mobilephone2": {
  23810. "description": "手机号 - 密文",
  23811. "type": "string"
  23812. },
  23813. "netaddr": {
  23814. "description": "调转网址",
  23815. "type": "string"
  23816. },
  23817. "relateduserid": {
  23818. "description": "关联使用者userid",
  23819. "type": "integer"
  23820. },
  23821. "signstatus": {
  23822. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23823. "type": "integer"
  23824. },
  23825. "updatetime": {
  23826. "description": "更新时间(签解约更新时间)",
  23827. "type": "string"
  23828. }
  23829. }
  23830. },
  23831. "models.QhjBankInfo": {
  23832. "type": "object",
  23833. "properties": {
  23834. "bankid": {
  23835. "description": "银行ID",
  23836. "type": "string"
  23837. },
  23838. "bankname": {
  23839. "description": "银行名称",
  23840. "type": "string"
  23841. },
  23842. "clearbankno": {
  23843. "description": "清算系统银行编号",
  23844. "type": "string"
  23845. },
  23846. "orderindex": {
  23847. "description": "排序顺序",
  23848. "type": "integer"
  23849. },
  23850. "status": {
  23851. "description": "状态 - 0:正常 1:注销",
  23852. "type": "integer"
  23853. }
  23854. }
  23855. },
  23856. "models.QhjBrokerApply": {
  23857. "type": "object",
  23858. "properties": {
  23859. "applicantid": {
  23860. "description": "申请人",
  23861. "type": "integer"
  23862. },
  23863. "applysrc": {
  23864. "description": "申请来源 - 1:管理端 2:终端",
  23865. "type": "integer"
  23866. },
  23867. "applystatus": {
  23868. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23869. "type": "integer"
  23870. },
  23871. "applytime": {
  23872. "description": "申请时间",
  23873. "type": "string"
  23874. },
  23875. "auditorid": {
  23876. "description": "审核人",
  23877. "type": "integer"
  23878. },
  23879. "auditremark": {
  23880. "description": "审核备注",
  23881. "type": "string"
  23882. },
  23883. "auditsrc": {
  23884. "description": "审核来源 - 1:管理端 2:终端",
  23885. "type": "integer"
  23886. },
  23887. "audittime": {
  23888. "description": "审核时间",
  23889. "type": "string"
  23890. },
  23891. "audittradedate": {
  23892. "description": "审核交易日(yyyyMMdd)",
  23893. "type": "string"
  23894. },
  23895. "brokerapplyid": {
  23896. "description": "申请ID(SEQ_BROKERAPPLY)",
  23897. "type": "integer"
  23898. },
  23899. "cardbackphotourl": {
  23900. "description": "证件背面图片地址",
  23901. "type": "string"
  23902. },
  23903. "cardfrontphotourl": {
  23904. "description": "证件正面图片地址",
  23905. "type": "string"
  23906. },
  23907. "cardnum": {
  23908. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  23909. "type": "string"
  23910. },
  23911. "customername": {
  23912. "description": "姓名",
  23913. "type": "string"
  23914. },
  23915. "logincode": {
  23916. "description": "登录代码",
  23917. "type": "string"
  23918. },
  23919. "mobile": {
  23920. "description": "手机号码",
  23921. "type": "string"
  23922. },
  23923. "parentuserid": {
  23924. "description": "所属机构id",
  23925. "type": "integer"
  23926. },
  23927. "parentusername": {
  23928. "description": "所属机构名称",
  23929. "type": "string"
  23930. },
  23931. "refereeuserid": {
  23932. "description": "推荐人id(经纪人)",
  23933. "type": "integer"
  23934. },
  23935. "refernum": {
  23936. "description": "推荐码",
  23937. "type": "string"
  23938. },
  23939. "remark": {
  23940. "description": "备注",
  23941. "type": "string"
  23942. },
  23943. "subarealevelpath": {
  23944. "description": "层级路径",
  23945. "type": "string"
  23946. },
  23947. "tradedate": {
  23948. "description": "交易日(yyyyMMdd)",
  23949. "type": "string"
  23950. },
  23951. "userid": {
  23952. "description": "申请人用户ID",
  23953. "type": "integer"
  23954. },
  23955. "userinfotype": {
  23956. "description": "用户类型 1-个人 2-企业",
  23957. "type": "integer"
  23958. },
  23959. "username": {
  23960. "description": "用户名称",
  23961. "type": "string"
  23962. }
  23963. }
  23964. },
  23965. "models.QhjBrokerRewardLog": {
  23966. "type": "object",
  23967. "properties": {
  23968. "accountid": {
  23969. "description": "资金账号ID",
  23970. "type": "integer"
  23971. },
  23972. "createtime": {
  23973. "description": "创建时间(时间)",
  23974. "type": "string"
  23975. },
  23976. "handlestatus": {
  23977. "description": "处理状态",
  23978. "type": "integer"
  23979. },
  23980. "logid": {
  23981. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23982. "type": "string"
  23983. },
  23984. "marketid": {
  23985. "description": "市场ID",
  23986. "type": "integer"
  23987. },
  23988. "mmaccountid": {
  23989. "description": "做市商资金账号ID",
  23990. "type": "string"
  23991. },
  23992. "mmuserid": {
  23993. "description": "做市商用户ID",
  23994. "type": "string"
  23995. },
  23996. "rewardamount": {
  23997. "description": "奖励金额",
  23998. "type": "number"
  23999. },
  24000. "rewardmodel": {
  24001. "description": "消费奖励方式 - 1:比率 2:固定",
  24002. "type": "integer"
  24003. },
  24004. "rewardtype": {
  24005. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24006. "type": "integer"
  24007. },
  24008. "rewardvalue": {
  24009. "description": "配置奖励值",
  24010. "type": "number"
  24011. },
  24012. "srcamount": {
  24013. "description": "成交金额 [消费奖励] (金额)",
  24014. "type": "number"
  24015. },
  24016. "srcgoodsid": {
  24017. "description": "来源商品ID [消费奖励]",
  24018. "type": "string"
  24019. },
  24020. "srctime": {
  24021. "description": "来源时间 (成交时间) [消费奖励]",
  24022. "type": "string"
  24023. },
  24024. "srctradeid": {
  24025. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24026. "type": "string"
  24027. },
  24028. "srcuserid": {
  24029. "description": "来源用户ID(推广账户)",
  24030. "type": "string"
  24031. },
  24032. "srcusername": {
  24033. "description": "推广账户名称",
  24034. "type": "string"
  24035. },
  24036. "tradedate": {
  24037. "description": "交易日(yyyyMMdd)",
  24038. "type": "string"
  24039. },
  24040. "userid": {
  24041. "description": "经纪人用户ID",
  24042. "type": "integer"
  24043. }
  24044. }
  24045. },
  24046. "models.QhjContract": {
  24047. "type": "object",
  24048. "properties": {
  24049. "contractconfirmtime": {
  24050. "description": "合同确认时间(时间)",
  24051. "type": "string"
  24052. },
  24053. "currisklevel": {
  24054. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24055. "type": "integer"
  24056. },
  24057. "decimalplace": {
  24058. "description": "商品报价小数位",
  24059. "type": "integer"
  24060. },
  24061. "enumdicname": {
  24062. "description": "单位名称",
  24063. "type": "string"
  24064. },
  24065. "goodscode": {
  24066. "description": "商品代码",
  24067. "type": "string"
  24068. },
  24069. "goodsid": {
  24070. "description": "商品ID [5:融资单]",
  24071. "type": "integer"
  24072. },
  24073. "goodsname": {
  24074. "description": "商品名称",
  24075. "type": "string"
  24076. },
  24077. "goodunitid": {
  24078. "description": "商品单位id",
  24079. "type": "integer"
  24080. },
  24081. "initmargin": {
  24082. "description": "初始保证金(首付款)",
  24083. "type": "number"
  24084. },
  24085. "lenderamount": {
  24086. "description": "贷款金额(总额|订单总额)",
  24087. "type": "number"
  24088. },
  24089. "marginratio": {
  24090. "description": "保证金比率(首付比例)",
  24091. "type": "number"
  24092. },
  24093. "payamount": {
  24094. "description": "已付(已付货款)",
  24095. "type": "number"
  24096. },
  24097. "reckonrecovermargin": {
  24098. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24099. "type": "number"
  24100. },
  24101. "recoveredmargin": {
  24102. "description": "已追缴保证金",
  24103. "type": "number"
  24104. },
  24105. "remainamount": {
  24106. "description": "合同剩余金额(融资额)",
  24107. "type": "number"
  24108. },
  24109. "scfcontractid": {
  24110. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24111. "type": "string"
  24112. },
  24113. "scfcontractstatus": {
  24114. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24115. "type": "integer"
  24116. },
  24117. "scfcontracttype": {
  24118. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24119. "type": "integer"
  24120. },
  24121. "totalinterest": {
  24122. "description": "已计总利息(利息)",
  24123. "type": "number"
  24124. },
  24125. "tradeprice": {
  24126. "description": "成交价格(成本价格)",
  24127. "type": "number"
  24128. },
  24129. "userid": {
  24130. "description": "用户ID",
  24131. "type": "integer"
  24132. },
  24133. "username": {
  24134. "description": "用户名称",
  24135. "type": "string"
  24136. },
  24137. "wrqty": {
  24138. "description": "仓单数量(数量)",
  24139. "type": "number"
  24140. }
  24141. }
  24142. },
  24143. "models.QhjContractLog": {
  24144. "type": "object",
  24145. "properties": {
  24146. "amount": {
  24147. "description": "支付金额",
  24148. "type": "number"
  24149. },
  24150. "amounttype": {
  24151. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24152. "type": "integer"
  24153. },
  24154. "logid": {
  24155. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24156. "type": "string"
  24157. },
  24158. "remainamount": {
  24159. "description": "剩余货款",
  24160. "type": "number"
  24161. },
  24162. "scfcontractid": {
  24163. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24164. "type": "integer"
  24165. },
  24166. "updatetime": {
  24167. "description": "更新时间",
  24168. "type": "string"
  24169. }
  24170. }
  24171. },
  24172. "models.QhjCusBankSignBankEx": {
  24173. "type": "object",
  24174. "properties": {
  24175. "banklst": {
  24176. "description": "银行列表",
  24177. "type": "array",
  24178. "items": {
  24179. "$ref": "#/definitions/models.QhjBankInfo"
  24180. }
  24181. },
  24182. "canallot": {
  24183. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  24184. "type": "integer"
  24185. },
  24186. "canallotquery": {
  24187. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  24188. "type": "integer"
  24189. },
  24190. "canbindcard": {
  24191. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  24192. "type": "integer"
  24193. },
  24194. "caninamount": {
  24195. "description": "是否可入金 - 0:不可 1:可以",
  24196. "type": "integer"
  24197. },
  24198. "caninamount2": {
  24199. "description": "是否可入金(网银端) - 0:不可 1:可以",
  24200. "type": "integer"
  24201. },
  24202. "canmodifybankcard": {
  24203. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  24204. "type": "integer"
  24205. },
  24206. "canmodifyphone": {
  24207. "description": "是否可修改手机号 - 0:不可 1:可以",
  24208. "type": "integer"
  24209. },
  24210. "canmodifysigninfo": {
  24211. "description": "是否可修改签约信息 - 0:不可 1:可以",
  24212. "type": "integer"
  24213. },
  24214. "canoutamount": {
  24215. "description": "是否可出金 - 0:不可 1:可以",
  24216. "type": "integer"
  24217. },
  24218. "canoutamount2": {
  24219. "description": "是否可出金(网银端) - 0:不可 1:可以",
  24220. "type": "integer"
  24221. },
  24222. "canrelease": {
  24223. "description": "是否可解约 - 0:不可 1:可以",
  24224. "type": "integer"
  24225. },
  24226. "canrelease2": {
  24227. "description": "是否可解约(网银端) - 0:不可 1:可以",
  24228. "type": "integer"
  24229. },
  24230. "cansign": {
  24231. "description": "是否可签约 - 0:不可 1:可以",
  24232. "type": "integer"
  24233. },
  24234. "cansign2": {
  24235. "description": "是否可签约(网银端) - 0:不可 1:可以",
  24236. "type": "integer"
  24237. },
  24238. "currency": {
  24239. "description": "币种",
  24240. "type": "string"
  24241. },
  24242. "cusbankid": {
  24243. "description": "托管银行编号(对应清算中心TRAN_NO)",
  24244. "type": "string"
  24245. },
  24246. "cusbankname": {
  24247. "description": "银行业务名称",
  24248. "type": "string"
  24249. },
  24250. "cusbankshortname": {
  24251. "description": "银行业务简称",
  24252. "type": "string"
  24253. },
  24254. "exchbankid": {
  24255. "description": "交易所开户银行ID",
  24256. "type": "string"
  24257. },
  24258. "exchpaybankaccname": {
  24259. "description": "交易所支出结算账户户名",
  24260. "type": "string"
  24261. },
  24262. "exchpaybankaccno": {
  24263. "description": "交易所支出结算账户",
  24264. "type": "string"
  24265. },
  24266. "isneedcheck": {
  24267. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  24268. "type": "integer"
  24269. },
  24270. "isneedclear": {
  24271. "description": "是否需要清算 - 0:不需要 1:需要",
  24272. "type": "integer"
  24273. },
  24274. "lastcheckstatus": {
  24275. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  24276. "type": "integer"
  24277. },
  24278. "lastchecktime": {
  24279. "description": "最后对账时间",
  24280. "type": "string"
  24281. },
  24282. "lastclearstatus": {
  24283. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  24284. "type": "integer"
  24285. },
  24286. "lastcleartime": {
  24287. "description": "最后清算时间",
  24288. "type": "string"
  24289. },
  24290. "lastsignintime": {
  24291. "description": "最后签到时间",
  24292. "type": "string"
  24293. },
  24294. "lastsignouttime": {
  24295. "description": "最后签退时间",
  24296. "type": "string"
  24297. },
  24298. "riskinfo": {
  24299. "description": "签约风险提示书",
  24300. "type": "string"
  24301. },
  24302. "signstatus": {
  24303. "description": "当前签到/签退状态 - 1:签到 2:签退",
  24304. "type": "integer"
  24305. },
  24306. "tradedate": {
  24307. "description": "交易日(yyyyMMdd)",
  24308. "type": "string"
  24309. },
  24310. "updatetime": {
  24311. "description": "当前签到/签退更新时间",
  24312. "type": "string"
  24313. }
  24314. }
  24315. },
  24316. "models.QhjCustomer": {
  24317. "type": "object",
  24318. "properties": {
  24319. "address": {
  24320. "description": "通讯地址",
  24321. "type": "string"
  24322. },
  24323. "attachment1": {
  24324. "description": "附件1",
  24325. "type": "string"
  24326. },
  24327. "audittime": {
  24328. "description": "审核时间",
  24329. "type": "string"
  24330. },
  24331. "cardbackphotourl": {
  24332. "description": "证件反面图片地址",
  24333. "type": "string"
  24334. },
  24335. "cardfrontphotourl": {
  24336. "description": "证件正面图片地址",
  24337. "type": "string"
  24338. },
  24339. "cardnum": {
  24340. "description": "证件号码",
  24341. "type": "string"
  24342. },
  24343. "cardtype": {
  24344. "description": "证件类型",
  24345. "type": "integer"
  24346. },
  24347. "cardtypename": {
  24348. "description": "证件类型名称",
  24349. "type": "string"
  24350. },
  24351. "cityid": {
  24352. "description": "市",
  24353. "type": "integer"
  24354. },
  24355. "cityname": {
  24356. "description": "城市名称",
  24357. "type": "string"
  24358. },
  24359. "contactname": {
  24360. "description": "联系人",
  24361. "type": "string"
  24362. },
  24363. "countryid": {
  24364. "description": "国家",
  24365. "type": "integer"
  24366. },
  24367. "countryname": {
  24368. "description": "国家名称",
  24369. "type": "string"
  24370. },
  24371. "createtime": {
  24372. "description": "创建时间",
  24373. "type": "string"
  24374. },
  24375. "customername": {
  24376. "description": "客户名称",
  24377. "type": "string"
  24378. },
  24379. "districtid": {
  24380. "description": "区域",
  24381. "type": "integer"
  24382. },
  24383. "districtname": {
  24384. "description": "地区名称",
  24385. "type": "string"
  24386. },
  24387. "email": {
  24388. "description": "邮件",
  24389. "type": "string"
  24390. },
  24391. "legalpersonname": {
  24392. "description": "法人姓名(企业)",
  24393. "type": "string"
  24394. },
  24395. "logincode": {
  24396. "description": "登录账号(代码)",
  24397. "type": "string"
  24398. },
  24399. "memberuserid": {
  24400. "description": "所属机构ID(所属会员)",
  24401. "type": "integer"
  24402. },
  24403. "memberusername": {
  24404. "description": "所属会员名称",
  24405. "type": "string"
  24406. },
  24407. "mobile": {
  24408. "description": "手机号码",
  24409. "type": "string"
  24410. },
  24411. "modifytime": {
  24412. "description": "修改时间",
  24413. "type": "string"
  24414. },
  24415. "nickname": {
  24416. "description": "昵称",
  24417. "type": "string"
  24418. },
  24419. "parentuserid": {
  24420. "description": "上级机构(所属机构)",
  24421. "type": "integer"
  24422. },
  24423. "parentusername": {
  24424. "description": "所属机构名称",
  24425. "type": "string"
  24426. },
  24427. "provinceid": {
  24428. "description": "省",
  24429. "type": "integer"
  24430. },
  24431. "provincename": {
  24432. "description": "省名称",
  24433. "type": "string"
  24434. },
  24435. "proxystatementurl": {
  24436. "description": "授权委托书",
  24437. "type": "string"
  24438. },
  24439. "remark": {
  24440. "description": "备注",
  24441. "type": "string"
  24442. },
  24443. "status": {
  24444. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  24445. "type": "integer"
  24446. },
  24447. "statusdesc": {
  24448. "description": "账户状态中文描述",
  24449. "type": "string"
  24450. },
  24451. "taxpayernum": {
  24452. "description": "纳税人识别号",
  24453. "type": "string"
  24454. },
  24455. "telphone": {
  24456. "description": "联系电话",
  24457. "type": "string"
  24458. },
  24459. "userid": {
  24460. "description": "用户ID",
  24461. "type": "integer"
  24462. },
  24463. "userinfotype": {
  24464. "description": "客户类型 1-个人 2-企业",
  24465. "type": "integer"
  24466. },
  24467. "username": {
  24468. "description": "用户名称",
  24469. "type": "string"
  24470. }
  24471. }
  24472. },
  24473. "models.QhjCustomerSignLog": {
  24474. "type": "object",
  24475. "properties": {
  24476. "agreementcontent": {
  24477. "description": "协议内容",
  24478. "type": "string"
  24479. },
  24480. "agreementid": {
  24481. "description": "协议ID",
  24482. "type": "integer"
  24483. },
  24484. "agreementname": {
  24485. "description": "协议名称",
  24486. "type": "string"
  24487. },
  24488. "agreementno": {
  24489. "description": "协议编号",
  24490. "type": "string"
  24491. },
  24492. "agreementtype": {
  24493. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24494. "type": "integer"
  24495. },
  24496. "agreementversion": {
  24497. "description": "协议版本号",
  24498. "type": "integer"
  24499. },
  24500. "createtime": {
  24501. "description": "创建时间",
  24502. "type": "string"
  24503. },
  24504. "goodscode": {
  24505. "description": "商品代码",
  24506. "type": "string"
  24507. },
  24508. "goodsid": {
  24509. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24510. "type": "integer"
  24511. },
  24512. "goodsname": {
  24513. "description": "商品名称",
  24514. "type": "string"
  24515. },
  24516. "logid": {
  24517. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  24518. "type": "integer"
  24519. },
  24520. "nodetype": {
  24521. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24522. "type": "integer"
  24523. },
  24524. "signadressurl": {
  24525. "description": "签约文件地址",
  24526. "type": "string"
  24527. },
  24528. "signtimestamp": {
  24529. "description": "签约状态时间戳",
  24530. "type": "string"
  24531. },
  24532. "userid": {
  24533. "description": "客户ID",
  24534. "type": "integer"
  24535. },
  24536. "username": {
  24537. "description": "客户名称",
  24538. "type": "string"
  24539. }
  24540. }
  24541. },
  24542. "models.QhjCustomerSignStatus": {
  24543. "type": "object",
  24544. "properties": {
  24545. "createtime": {
  24546. "description": "创建时间",
  24547. "type": "string"
  24548. },
  24549. "goodscode": {
  24550. "description": "商品代码",
  24551. "type": "string"
  24552. },
  24553. "goodsid": {
  24554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24555. "type": "integer"
  24556. },
  24557. "goodsname": {
  24558. "description": "商品名称",
  24559. "type": "string"
  24560. },
  24561. "nodetype": {
  24562. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  24563. "type": "integer"
  24564. },
  24565. "signtimestamp": {
  24566. "description": "签约状态时间戳",
  24567. "type": "string"
  24568. },
  24569. "tradedate": {
  24570. "description": "创建交易日(yyyyMMdd)",
  24571. "type": "string"
  24572. },
  24573. "updatetime": {
  24574. "description": "更新时间",
  24575. "type": "string"
  24576. },
  24577. "userid": {
  24578. "description": "客户ID",
  24579. "type": "integer"
  24580. },
  24581. "username": {
  24582. "description": "客户名称",
  24583. "type": "string"
  24584. }
  24585. }
  24586. },
  24587. "models.QhjMgrAccountOutInApply": {
  24588. "type": "object",
  24589. "properties": {
  24590. "accountcode": {
  24591. "description": "资金账号",
  24592. "type": "string"
  24593. },
  24594. "accountname": {
  24595. "description": "用户名称(名称)",
  24596. "type": "string"
  24597. },
  24598. "accountpwd": {
  24599. "description": "资金密码",
  24600. "type": "string"
  24601. },
  24602. "accountticket": {
  24603. "description": "最新账户服务流水号",
  24604. "type": "string"
  24605. },
  24606. "amount": {
  24607. "description": "金额",
  24608. "type": "number"
  24609. },
  24610. "applyremark": {
  24611. "description": "申请备注",
  24612. "type": "string"
  24613. },
  24614. "applystatus": {
  24615. "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: 复审通过,账户冻结金额检查中;",
  24616. "type": "integer"
  24617. },
  24618. "auditid": {
  24619. "description": "审核人",
  24620. "type": "integer"
  24621. },
  24622. "audittime": {
  24623. "description": "审核时间",
  24624. "type": "string"
  24625. },
  24626. "bank_apply_ticket": {
  24627. "description": "银行申请流水",
  24628. "type": "string"
  24629. },
  24630. "bankaccountname": {
  24631. "description": "银行账户名",
  24632. "type": "string"
  24633. },
  24634. "bankaccountno": {
  24635. "description": "银行卡号",
  24636. "type": "string"
  24637. },
  24638. "bankid": {
  24639. "description": "银行编号",
  24640. "type": "string"
  24641. },
  24642. "bankname": {
  24643. "description": "银行名称",
  24644. "type": "string"
  24645. },
  24646. "bankticket": {
  24647. "description": "银行流水",
  24648. "type": "string"
  24649. },
  24650. "branchbankid": {
  24651. "description": "银行支行号",
  24652. "type": "string"
  24653. },
  24654. "branchbankname": {
  24655. "description": "银行支行名称",
  24656. "type": "string"
  24657. },
  24658. "capamountout": {
  24659. "description": "出金(劣后本金) - 外部子账户",
  24660. "type": "number"
  24661. },
  24662. "certificatephotourl": {
  24663. "description": "凭证地址",
  24664. "type": "string"
  24665. },
  24666. "charge": {
  24667. "description": "手续费",
  24668. "type": "number"
  24669. },
  24670. "checkerrorflag": {
  24671. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24672. "type": "integer"
  24673. },
  24674. "currency": {
  24675. "description": "币种",
  24676. "type": "string"
  24677. },
  24678. "cusbankid": {
  24679. "description": "托管银行编号",
  24680. "type": "string"
  24681. },
  24682. "exchticket": {
  24683. "description": "银行服务流水号",
  24684. "type": "string"
  24685. },
  24686. "executetype": {
  24687. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24688. "type": "integer"
  24689. },
  24690. "extendinfo": {
  24691. "description": "扩展信息",
  24692. "type": "string"
  24693. },
  24694. "extoperateid": {
  24695. "description": "交易服务流水号",
  24696. "type": "integer"
  24697. },
  24698. "infamount": {
  24699. "description": "劣后金额(自有)",
  24700. "type": "number"
  24701. },
  24702. "logincode": {
  24703. "description": "登录账号(账号)",
  24704. "type": "string"
  24705. },
  24706. "netaddr": {
  24707. "description": "调转网址",
  24708. "type": "string"
  24709. },
  24710. "priamount": {
  24711. "description": "优先金额(授信)",
  24712. "type": "number"
  24713. },
  24714. "reauditid": {
  24715. "description": "复审人",
  24716. "type": "integer"
  24717. },
  24718. "reauditremark": {
  24719. "description": "复审备注",
  24720. "type": "string"
  24721. },
  24722. "reaudittime": {
  24723. "description": "复审时间",
  24724. "type": "string"
  24725. },
  24726. "relatedorderid": {
  24727. "description": "三方关联ID",
  24728. "type": "string"
  24729. },
  24730. "remark": {
  24731. "description": "备注",
  24732. "type": "string"
  24733. },
  24734. "remark2": {
  24735. "description": "备注(失败原因)",
  24736. "type": "string"
  24737. },
  24738. "soucreamount": {
  24739. "description": "原始出入金金额",
  24740. "type": "number"
  24741. },
  24742. "soucrecurrencyid": {
  24743. "description": "原始出入金币种",
  24744. "type": "integer"
  24745. },
  24746. "tradedate": {
  24747. "description": "交易日(yyyyMMdd)",
  24748. "type": "string"
  24749. },
  24750. "updatetime": {
  24751. "description": "更新时间(申请时间)",
  24752. "type": "string"
  24753. },
  24754. "userid": {
  24755. "description": "用户id",
  24756. "type": "integer"
  24757. },
  24758. "userinfotype": {
  24759. "description": "账户类型 1-个人 2-企业",
  24760. "type": "integer"
  24761. }
  24762. }
  24763. },
  24764. "models.QhjMgrBrokerApply": {
  24765. "type": "object",
  24766. "properties": {
  24767. "applicantid": {
  24768. "description": "申请人",
  24769. "type": "integer"
  24770. },
  24771. "applysrc": {
  24772. "description": "申请来源 - 1:管理端 2:终端",
  24773. "type": "integer"
  24774. },
  24775. "applystatus": {
  24776. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24777. "type": "integer"
  24778. },
  24779. "applytime": {
  24780. "description": "申请时间",
  24781. "type": "string"
  24782. },
  24783. "auditorid": {
  24784. "description": "审核人",
  24785. "type": "integer"
  24786. },
  24787. "auditremark": {
  24788. "description": "审核备注",
  24789. "type": "string"
  24790. },
  24791. "auditsrc": {
  24792. "description": "审核来源 - 1:管理端 2:终端",
  24793. "type": "integer"
  24794. },
  24795. "audittime": {
  24796. "description": "审核时间",
  24797. "type": "string"
  24798. },
  24799. "audittradedate": {
  24800. "description": "审核交易日(yyyyMMdd)",
  24801. "type": "string"
  24802. },
  24803. "brokerapplyid": {
  24804. "description": "申请ID(SEQ_BROKERAPPLY)",
  24805. "type": "integer"
  24806. },
  24807. "cardbackphotourl": {
  24808. "description": "证件背面图片地址",
  24809. "type": "string"
  24810. },
  24811. "cardfrontphotourl": {
  24812. "description": "证件正面图片地址",
  24813. "type": "string"
  24814. },
  24815. "cardnum": {
  24816. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24817. "type": "string"
  24818. },
  24819. "customername": {
  24820. "description": "姓名",
  24821. "type": "string"
  24822. },
  24823. "filterstatus": {
  24824. "description": "筛选条件",
  24825. "type": "string"
  24826. },
  24827. "logincode": {
  24828. "description": "登录代码",
  24829. "type": "string"
  24830. },
  24831. "mobile": {
  24832. "description": "手机号码",
  24833. "type": "string"
  24834. },
  24835. "parentuserid": {
  24836. "description": "所属机构id",
  24837. "type": "integer"
  24838. },
  24839. "parentusername": {
  24840. "description": "所属机构名称",
  24841. "type": "string"
  24842. },
  24843. "refereeuserid": {
  24844. "description": "推荐人id(经纪人)",
  24845. "type": "integer"
  24846. },
  24847. "refernum": {
  24848. "description": "推荐码",
  24849. "type": "string"
  24850. },
  24851. "remark": {
  24852. "description": "备注",
  24853. "type": "string"
  24854. },
  24855. "subarealevelpath": {
  24856. "description": "层级路径",
  24857. "type": "string"
  24858. },
  24859. "tradedate": {
  24860. "description": "交易日(yyyyMMdd)",
  24861. "type": "string"
  24862. },
  24863. "userid": {
  24864. "description": "申请人用户ID",
  24865. "type": "integer"
  24866. },
  24867. "userinfotype": {
  24868. "description": "用户类型 1-个人 2-企业",
  24869. "type": "integer"
  24870. },
  24871. "username": {
  24872. "description": "用户名称",
  24873. "type": "string"
  24874. }
  24875. }
  24876. },
  24877. "models.QhjMgrBrokerRewardReport": {
  24878. "type": "object",
  24879. "properties": {
  24880. "createtime": {
  24881. "description": "创建时间(注册时间)",
  24882. "type": "string"
  24883. },
  24884. "cycletime": {
  24885. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  24886. "type": "string"
  24887. },
  24888. "cycletype": {
  24889. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24890. "type": "integer"
  24891. },
  24892. "directtotalnum": {
  24893. "description": "直推总人数【期末】",
  24894. "type": "integer"
  24895. },
  24896. "indirecttotalnum": {
  24897. "description": "间推总人数【期末】",
  24898. "type": "integer"
  24899. },
  24900. "mobile": {
  24901. "description": "电话号码",
  24902. "type": "string"
  24903. },
  24904. "refereeuserid": {
  24905. "description": "推荐人id(经纪人id)",
  24906. "type": "integer"
  24907. },
  24908. "refereeusername": {
  24909. "description": "推荐人名称(经纪人) 上级经纪人名称",
  24910. "type": "string"
  24911. },
  24912. "refernum": {
  24913. "description": "推荐码",
  24914. "type": "string"
  24915. },
  24916. "subarealevelpath": {
  24917. "description": "用户层级路径",
  24918. "type": "string"
  24919. },
  24920. "todayrewardamount": {
  24921. "description": "奖励总金额【汇总】",
  24922. "type": "number"
  24923. },
  24924. "updatetime": {
  24925. "description": "更新时间",
  24926. "type": "string"
  24927. },
  24928. "userid": {
  24929. "description": "经纪人用户ID",
  24930. "type": "integer"
  24931. },
  24932. "userinfotype": {
  24933. "description": "用户类型 1-个人 2-企业",
  24934. "type": "integer"
  24935. },
  24936. "username": {
  24937. "description": "用户名称",
  24938. "type": "string"
  24939. }
  24940. }
  24941. },
  24942. "models.QhjMgrContract": {
  24943. "type": "object",
  24944. "properties": {
  24945. "contractconfirmtime": {
  24946. "description": "合同确认时间(时间)",
  24947. "type": "string"
  24948. },
  24949. "currisklevel": {
  24950. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24951. "type": "integer"
  24952. },
  24953. "decimalplace": {
  24954. "description": "商品报价小数位",
  24955. "type": "integer"
  24956. },
  24957. "enumdicname": {
  24958. "description": "单位名称",
  24959. "type": "string"
  24960. },
  24961. "goodscode": {
  24962. "description": "商品代码",
  24963. "type": "string"
  24964. },
  24965. "goodsid": {
  24966. "description": "商品ID [5:融资单]",
  24967. "type": "integer"
  24968. },
  24969. "goodsname": {
  24970. "description": "商品名称",
  24971. "type": "string"
  24972. },
  24973. "goodunitid": {
  24974. "description": "商品单位id",
  24975. "type": "integer"
  24976. },
  24977. "initmargin": {
  24978. "description": "初始保证金(首付款)",
  24979. "type": "number"
  24980. },
  24981. "lenderamount": {
  24982. "description": "贷款金额(总额|订单总额)",
  24983. "type": "number"
  24984. },
  24985. "logincode": {
  24986. "description": "账号(登录代码)",
  24987. "type": "string"
  24988. },
  24989. "marginratio": {
  24990. "description": "保证金比率(首付比例)",
  24991. "type": "number"
  24992. },
  24993. "mobile": {
  24994. "description": "电话号码(用户资料里的电话)",
  24995. "type": "string"
  24996. },
  24997. "payamount": {
  24998. "description": "已付(已付货款)",
  24999. "type": "number"
  25000. },
  25001. "reckonrecovermargin": {
  25002. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25003. "type": "number"
  25004. },
  25005. "recoveredmargin": {
  25006. "description": "已追缴保证金",
  25007. "type": "number"
  25008. },
  25009. "remainamount": {
  25010. "description": "合同剩余金额(融资额)",
  25011. "type": "number"
  25012. },
  25013. "scfcontractid": {
  25014. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25015. "type": "string"
  25016. },
  25017. "scfcontractstatus": {
  25018. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25019. "type": "integer"
  25020. },
  25021. "scfcontracttype": {
  25022. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25023. "type": "integer"
  25024. },
  25025. "totalinterest": {
  25026. "description": "已计总利息(利息)",
  25027. "type": "number"
  25028. },
  25029. "tradedate": {
  25030. "description": "交易日",
  25031. "type": "string"
  25032. },
  25033. "tradeprice": {
  25034. "description": "成交价格(成本价格)",
  25035. "type": "number"
  25036. },
  25037. "userid": {
  25038. "description": "用户ID",
  25039. "type": "integer"
  25040. },
  25041. "userinfotype": {
  25042. "description": "用户类型 1-个人 2-企业",
  25043. "type": "integer"
  25044. },
  25045. "username": {
  25046. "description": "用户名称",
  25047. "type": "string"
  25048. },
  25049. "wrqty": {
  25050. "description": "仓单数量(数量)",
  25051. "type": "number"
  25052. }
  25053. }
  25054. },
  25055. "models.QhjMgrCustomer": {
  25056. "type": "object",
  25057. "properties": {
  25058. "address": {
  25059. "description": "通讯地址",
  25060. "type": "string"
  25061. },
  25062. "attachment1": {
  25063. "description": "附件1",
  25064. "type": "string"
  25065. },
  25066. "audittime": {
  25067. "description": "审核时间",
  25068. "type": "string"
  25069. },
  25070. "cardbackphotourl": {
  25071. "description": "证件反面图片地址",
  25072. "type": "string"
  25073. },
  25074. "cardfrontphotourl": {
  25075. "description": "证件正面图片地址",
  25076. "type": "string"
  25077. },
  25078. "cardnum": {
  25079. "description": "证件号码",
  25080. "type": "string"
  25081. },
  25082. "cardtype": {
  25083. "description": "证件类型",
  25084. "type": "integer"
  25085. },
  25086. "cardtypename": {
  25087. "description": "证件类型名称",
  25088. "type": "string"
  25089. },
  25090. "cityid": {
  25091. "description": "市",
  25092. "type": "integer"
  25093. },
  25094. "cityname": {
  25095. "description": "城市名称",
  25096. "type": "string"
  25097. },
  25098. "contactname": {
  25099. "description": "联系人",
  25100. "type": "string"
  25101. },
  25102. "countryid": {
  25103. "description": "国家",
  25104. "type": "integer"
  25105. },
  25106. "countryname": {
  25107. "description": "国家名称",
  25108. "type": "string"
  25109. },
  25110. "createtime": {
  25111. "description": "创建时间",
  25112. "type": "string"
  25113. },
  25114. "customername": {
  25115. "description": "客户名称",
  25116. "type": "string"
  25117. },
  25118. "districtid": {
  25119. "description": "区域",
  25120. "type": "integer"
  25121. },
  25122. "districtname": {
  25123. "description": "地区名称",
  25124. "type": "string"
  25125. },
  25126. "email": {
  25127. "description": "邮件",
  25128. "type": "string"
  25129. },
  25130. "legalpersonname": {
  25131. "description": "法人姓名(企业)",
  25132. "type": "string"
  25133. },
  25134. "logincode": {
  25135. "description": "登录账号(代码)",
  25136. "type": "string"
  25137. },
  25138. "memberuserid": {
  25139. "description": "所属机构ID(所属会员)",
  25140. "type": "integer"
  25141. },
  25142. "memberusername": {
  25143. "description": "所属会员名称",
  25144. "type": "string"
  25145. },
  25146. "mobile": {
  25147. "description": "手机号码",
  25148. "type": "string"
  25149. },
  25150. "modifytime": {
  25151. "description": "修改时间",
  25152. "type": "string"
  25153. },
  25154. "nickname": {
  25155. "description": "昵称",
  25156. "type": "string"
  25157. },
  25158. "parentuserid": {
  25159. "description": "上级机构(所属机构)",
  25160. "type": "integer"
  25161. },
  25162. "parentusername": {
  25163. "description": "所属机构名称",
  25164. "type": "string"
  25165. },
  25166. "provinceid": {
  25167. "description": "省",
  25168. "type": "integer"
  25169. },
  25170. "provincename": {
  25171. "description": "省名称",
  25172. "type": "string"
  25173. },
  25174. "proxystatementurl": {
  25175. "description": "授权委托书",
  25176. "type": "string"
  25177. },
  25178. "querytype": {
  25179. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  25180. "type": "integer"
  25181. },
  25182. "remark": {
  25183. "description": "备注",
  25184. "type": "string"
  25185. },
  25186. "status": {
  25187. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25188. "type": "integer"
  25189. },
  25190. "statusdesc": {
  25191. "description": "账户状态中文描述",
  25192. "type": "string"
  25193. },
  25194. "taxpayernum": {
  25195. "description": "纳税人识别号",
  25196. "type": "string"
  25197. },
  25198. "telphone": {
  25199. "description": "联系电话",
  25200. "type": "string"
  25201. },
  25202. "userid": {
  25203. "description": "用户ID",
  25204. "type": "integer"
  25205. },
  25206. "userinfotype": {
  25207. "description": "客户类型 1-个人 2-企业",
  25208. "type": "integer"
  25209. },
  25210. "username": {
  25211. "description": "用户名称",
  25212. "type": "string"
  25213. }
  25214. }
  25215. },
  25216. "models.QhjMgrPositionRsp": {
  25217. "type": "object",
  25218. "properties": {
  25219. "accountid": {
  25220. "description": "账号Id",
  25221. "type": "integer"
  25222. },
  25223. "accountname": {
  25224. "description": "用户名称",
  25225. "type": "string"
  25226. },
  25227. "agreeunit": {
  25228. "description": "合约乘数",
  25229. "type": "number"
  25230. },
  25231. "averageprice": {
  25232. "description": "均价",
  25233. "type": "number"
  25234. },
  25235. "avialqty": {
  25236. "description": "可用数量",
  25237. "type": "number"
  25238. },
  25239. "decimalplace": {
  25240. "description": "报价小数位",
  25241. "type": "integer"
  25242. },
  25243. "enumdicname": {
  25244. "description": "单位名称(商品)",
  25245. "type": "string"
  25246. },
  25247. "frozenqty": {
  25248. "description": "冻结数量",
  25249. "type": "number"
  25250. },
  25251. "goodscode": {
  25252. "description": "商品代码(内部)",
  25253. "type": "string"
  25254. },
  25255. "goodsid": {
  25256. "description": "商品Id",
  25257. "type": "integer"
  25258. },
  25259. "goodsname": {
  25260. "description": "商品名称",
  25261. "type": "string"
  25262. },
  25263. "goodunitid": {
  25264. "description": "报价单位ID",
  25265. "type": "integer"
  25266. },
  25267. "holderamount": {
  25268. "description": "金额",
  25269. "type": "number"
  25270. },
  25271. "holderqty": {
  25272. "description": "持有数量",
  25273. "type": "number"
  25274. },
  25275. "holdertype": {
  25276. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  25277. "type": "integer"
  25278. },
  25279. "logincode": {
  25280. "description": "登录代码(账户)",
  25281. "type": "string"
  25282. },
  25283. "marketid": {
  25284. "description": "市场id",
  25285. "type": "integer"
  25286. },
  25287. "qtydecimalplace": {
  25288. "description": "成交量小数位",
  25289. "type": "integer"
  25290. },
  25291. "trademode": {
  25292. "description": "交易模式",
  25293. "type": "integer"
  25294. },
  25295. "userid": {
  25296. "description": "用户id",
  25297. "type": "integer"
  25298. },
  25299. "userinfotype": {
  25300. "description": "账户类型 1-个人 2-企业",
  25301. "type": "integer"
  25302. }
  25303. }
  25304. },
  25305. "models.QhjMgrSubArea": {
  25306. "type": "object",
  25307. "properties": {
  25308. "accountname": {
  25309. "description": "账户名称(机构名称)",
  25310. "type": "string"
  25311. },
  25312. "memberuserid": {
  25313. "description": "所属会员ID",
  25314. "type": "integer"
  25315. },
  25316. "parenttopuser": {
  25317. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25318. "type": "string"
  25319. },
  25320. "parentuserid": {
  25321. "description": "所属机构ID",
  25322. "type": "integer"
  25323. },
  25324. "rootuserid": {
  25325. "description": "根用户ID",
  25326. "type": "string"
  25327. },
  25328. "subaccountlevel": {
  25329. "description": "子账户层数",
  25330. "type": "integer"
  25331. },
  25332. "subarealevelpath": {
  25333. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25334. "type": "string"
  25335. },
  25336. "userid": {
  25337. "description": "用户ID",
  25338. "type": "integer"
  25339. },
  25340. "usertype": {
  25341. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25342. "type": "integer"
  25343. }
  25344. }
  25345. },
  25346. "models.QhjMgrTradeDetailRsp": {
  25347. "type": "object",
  25348. "properties": {
  25349. "accountid": {
  25350. "description": "资金账号",
  25351. "type": "integer"
  25352. },
  25353. "accountname": {
  25354. "description": "用户名称",
  25355. "type": "string"
  25356. },
  25357. "agreeunit": {
  25358. "description": "合约乘数",
  25359. "type": "number"
  25360. },
  25361. "buyorsell": {
  25362. "description": "成交类型(方向) 0:买 1:卖",
  25363. "type": "integer"
  25364. },
  25365. "decimalplace": {
  25366. "description": "报价小数位",
  25367. "type": "integer"
  25368. },
  25369. "enumdicname": {
  25370. "description": "单位名称(商品)",
  25371. "type": "string"
  25372. },
  25373. "goodscode": {
  25374. "description": "商品代码(内部)",
  25375. "type": "string"
  25376. },
  25377. "goodsid": {
  25378. "description": "商品id",
  25379. "type": "integer"
  25380. },
  25381. "goodsname": {
  25382. "description": "商品名称",
  25383. "type": "string"
  25384. },
  25385. "goodunitid": {
  25386. "description": "报价单位ID",
  25387. "type": "integer"
  25388. },
  25389. "logincode": {
  25390. "description": "登录代码(账户)",
  25391. "type": "string"
  25392. },
  25393. "marketid": {
  25394. "description": "市场id",
  25395. "type": "integer"
  25396. },
  25397. "orderid": {
  25398. "description": "关联委托单号",
  25399. "type": "string"
  25400. },
  25401. "qtydecimalplace": {
  25402. "description": "成交量小数位",
  25403. "type": "integer"
  25404. },
  25405. "tradeamount": {
  25406. "description": "金额",
  25407. "type": "number"
  25408. },
  25409. "tradedate": {
  25410. "description": "交易日",
  25411. "type": "string"
  25412. },
  25413. "tradeid": {
  25414. "description": "成交单号",
  25415. "type": "string"
  25416. },
  25417. "trademode": {
  25418. "description": "交易模式",
  25419. "type": "integer"
  25420. },
  25421. "tradeprice": {
  25422. "description": "价格",
  25423. "type": "number"
  25424. },
  25425. "tradeqty": {
  25426. "description": "数量",
  25427. "type": "number"
  25428. },
  25429. "tradetime": {
  25430. "description": "成交时间",
  25431. "type": "string"
  25432. },
  25433. "userid": {
  25434. "description": "用户id",
  25435. "type": "integer"
  25436. },
  25437. "userinfotype": {
  25438. "description": "账户类型 1-个人 2-企业",
  25439. "type": "integer"
  25440. }
  25441. }
  25442. },
  25443. "models.QhjMgrTradeOrderDetailRsp": {
  25444. "type": "object",
  25445. "properties": {
  25446. "accountid": {
  25447. "description": "资金账号",
  25448. "type": "integer"
  25449. },
  25450. "accountname": {
  25451. "description": "用户名称",
  25452. "type": "string"
  25453. },
  25454. "agreeunit": {
  25455. "description": "合约乘数",
  25456. "type": "number"
  25457. },
  25458. "amount": {
  25459. "description": "金额",
  25460. "type": "number"
  25461. },
  25462. "decimalplace": {
  25463. "description": "报价小数位",
  25464. "type": "integer"
  25465. },
  25466. "enumdicname": {
  25467. "description": "单位名称(商品)",
  25468. "type": "string"
  25469. },
  25470. "goodscode": {
  25471. "description": "商品代码(内部)",
  25472. "type": "string"
  25473. },
  25474. "goodsid": {
  25475. "description": "商品id",
  25476. "type": "integer"
  25477. },
  25478. "goodsname": {
  25479. "description": "商品名称",
  25480. "type": "string"
  25481. },
  25482. "goodunitid": {
  25483. "description": "报价单位ID",
  25484. "type": "integer"
  25485. },
  25486. "logincode": {
  25487. "description": "登录代码(账户)",
  25488. "type": "string"
  25489. },
  25490. "marketid": {
  25491. "description": "市场id",
  25492. "type": "integer"
  25493. },
  25494. "orderid": {
  25495. "description": "关联委托单号",
  25496. "type": "string"
  25497. },
  25498. "orderprice": {
  25499. "description": "价格",
  25500. "type": "number"
  25501. },
  25502. "orderqty": {
  25503. "description": "数量",
  25504. "type": "number"
  25505. },
  25506. "orderstatus": {
  25507. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25508. "type": "integer"
  25509. },
  25510. "ordertime": {
  25511. "description": "委托时间",
  25512. "type": "string"
  25513. },
  25514. "qtydecimalplace": {
  25515. "description": "成交量小数位",
  25516. "type": "integer"
  25517. },
  25518. "tradedate": {
  25519. "description": "交易日",
  25520. "type": "string"
  25521. },
  25522. "trademode": {
  25523. "description": "交易模式",
  25524. "type": "integer"
  25525. },
  25526. "userid": {
  25527. "description": "用户id",
  25528. "type": "integer"
  25529. },
  25530. "userinfotype": {
  25531. "description": "账户类型 1-个人 2-企业",
  25532. "type": "integer"
  25533. }
  25534. }
  25535. },
  25536. "models.QhjMgrTradePayOrder": {
  25537. "type": "object",
  25538. "properties": {
  25539. "accountname": {
  25540. "description": "用户名称",
  25541. "type": "string"
  25542. },
  25543. "advanceratio": {
  25544. "description": "首付比率",
  25545. "type": "number"
  25546. },
  25547. "agreeunit": {
  25548. "description": "合约乘数",
  25549. "type": "number"
  25550. },
  25551. "buyaccountid": {
  25552. "description": "买方账号ID[报价币种]",
  25553. "type": "integer"
  25554. },
  25555. "buyorderid": {
  25556. "description": "买方委托单号(关联单号)",
  25557. "type": "string"
  25558. },
  25559. "createtime": {
  25560. "description": "创建时间",
  25561. "type": "string"
  25562. },
  25563. "decimalplace": {
  25564. "description": "报价小数位",
  25565. "type": "integer"
  25566. },
  25567. "enumdicname": {
  25568. "description": "单位名称(商品)",
  25569. "type": "string"
  25570. },
  25571. "goodscode": {
  25572. "description": "商品代码(内部)",
  25573. "type": "string"
  25574. },
  25575. "goodsid": {
  25576. "description": "商品ID",
  25577. "type": "integer"
  25578. },
  25579. "goodsname": {
  25580. "description": "商品名称",
  25581. "type": "string"
  25582. },
  25583. "goodunitid": {
  25584. "description": "报价单位ID",
  25585. "type": "integer"
  25586. },
  25587. "logincode": {
  25588. "description": "登录代码(账户)",
  25589. "type": "string"
  25590. },
  25591. "marketid": {
  25592. "description": "市场id",
  25593. "type": "integer"
  25594. },
  25595. "offamount": {
  25596. "description": "优惠金额",
  25597. "type": "number"
  25598. },
  25599. "operatetype": {
  25600. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25601. "type": "integer"
  25602. },
  25603. "payamount": {
  25604. "description": "支付金额(金额)",
  25605. "type": "number"
  25606. },
  25607. "payflag": {
  25608. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25609. "type": "integer"
  25610. },
  25611. "paylimitedtime": {
  25612. "description": "支付期限",
  25613. "type": "string"
  25614. },
  25615. "paytime": {
  25616. "description": "付款时间",
  25617. "type": "string"
  25618. },
  25619. "qtydecimalplace": {
  25620. "description": "成交量小数位",
  25621. "type": "integer"
  25622. },
  25623. "sellaccountid": {
  25624. "description": "卖方账号ID[报价币种]",
  25625. "type": "integer"
  25626. },
  25627. "sellorderid": {
  25628. "description": "卖方委托单号",
  25629. "type": "string"
  25630. },
  25631. "tradeamount": {
  25632. "description": "成交金额(优惠后金额)",
  25633. "type": "number"
  25634. },
  25635. "tradecharge": {
  25636. "description": "成交手续费(买方)",
  25637. "type": "number"
  25638. },
  25639. "tradedate": {
  25640. "description": "交易日(yyyyMMdd)",
  25641. "type": "string"
  25642. },
  25643. "tradeid": {
  25644. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25645. "type": "string"
  25646. },
  25647. "trademode": {
  25648. "description": "交易模式",
  25649. "type": "integer"
  25650. },
  25651. "tradeprice": {
  25652. "description": "成交价格(价格)",
  25653. "type": "number"
  25654. },
  25655. "tradeqty": {
  25656. "description": "成交数量(数量)",
  25657. "type": "number"
  25658. },
  25659. "tradetime": {
  25660. "description": "成交时间",
  25661. "type": "string"
  25662. },
  25663. "userid": {
  25664. "description": "用户id",
  25665. "type": "integer"
  25666. },
  25667. "userinfotype": {
  25668. "description": "账户类型 1-个人 2-企业",
  25669. "type": "integer"
  25670. }
  25671. }
  25672. },
  25673. "models.QhjMyTeamEx": {
  25674. "type": "object",
  25675. "properties": {
  25676. "accountname": {
  25677. "description": "用户名称",
  25678. "type": "string"
  25679. },
  25680. "accountstatus": {
  25681. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25682. "type": "integer"
  25683. },
  25684. "createtime": {
  25685. "description": "创建时间",
  25686. "type": "string"
  25687. },
  25688. "mobile": {
  25689. "description": "手机号码",
  25690. "type": "string"
  25691. },
  25692. "refereeuserid": {
  25693. "description": "推荐人id",
  25694. "type": "integer"
  25695. },
  25696. "refernum": {
  25697. "description": "推荐码",
  25698. "type": "string"
  25699. },
  25700. "subList": {
  25701. "type": "array",
  25702. "items": {
  25703. "$ref": "#/definitions/models.QhjMyTeamEx"
  25704. }
  25705. },
  25706. "userid": {
  25707. "description": "用户id",
  25708. "type": "integer"
  25709. },
  25710. "userinfotype": {
  25711. "description": "用户类型 1-个人 2-企业",
  25712. "type": "integer"
  25713. }
  25714. }
  25715. },
  25716. "models.QhjNodeAgreementConfig": {
  25717. "type": "object",
  25718. "properties": {
  25719. "agreementcontent": {
  25720. "description": "协议内容",
  25721. "type": "string"
  25722. },
  25723. "agreementid": {
  25724. "description": "协议ID",
  25725. "type": "integer"
  25726. },
  25727. "agreementname": {
  25728. "description": "协议名称",
  25729. "type": "string"
  25730. },
  25731. "agreementno": {
  25732. "description": "协议编号",
  25733. "type": "string"
  25734. },
  25735. "agreementtype": {
  25736. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25737. "type": "integer"
  25738. },
  25739. "agreementversion": {
  25740. "description": "协议版本号",
  25741. "type": "integer"
  25742. },
  25743. "configid": {
  25744. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25745. "type": "integer"
  25746. },
  25747. "createtime": {
  25748. "description": "创建时间",
  25749. "type": "string"
  25750. },
  25751. "goodsid": {
  25752. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25753. "type": "integer"
  25754. },
  25755. "nodetype": {
  25756. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25757. "type": "integer"
  25758. }
  25759. }
  25760. },
  25761. "models.QhjParentAreaList": {
  25762. "type": "object",
  25763. "properties": {
  25764. "accountname": {
  25765. "description": "账户名称(机构名称)",
  25766. "type": "string"
  25767. },
  25768. "userid": {
  25769. "description": "用户ID",
  25770. "type": "integer"
  25771. },
  25772. "usertype": {
  25773. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25774. "type": "integer"
  25775. }
  25776. }
  25777. },
  25778. "models.QhjPayOrder": {
  25779. "type": "object",
  25780. "properties": {
  25781. "advanceratio": {
  25782. "description": "首付比率",
  25783. "type": "number"
  25784. },
  25785. "buyaccountid": {
  25786. "description": "买方账号ID[报价币种]",
  25787. "type": "integer"
  25788. },
  25789. "buyorderid": {
  25790. "description": "买方委托单号",
  25791. "type": "string"
  25792. },
  25793. "createtime": {
  25794. "description": "创建时间",
  25795. "type": "string"
  25796. },
  25797. "decimalplace": {
  25798. "description": "商品报价小数位",
  25799. "type": "integer"
  25800. },
  25801. "enumdicname": {
  25802. "description": "单位名称",
  25803. "type": "string"
  25804. },
  25805. "goodscode": {
  25806. "description": "商品代码",
  25807. "type": "string"
  25808. },
  25809. "goodsid": {
  25810. "description": "商品ID",
  25811. "type": "integer"
  25812. },
  25813. "goodsname": {
  25814. "description": "商品名称",
  25815. "type": "string"
  25816. },
  25817. "goodunitid": {
  25818. "description": "商品单位id",
  25819. "type": "integer"
  25820. },
  25821. "marketid": {
  25822. "description": "市场ID",
  25823. "type": "integer"
  25824. },
  25825. "offamount": {
  25826. "description": "优惠金额",
  25827. "type": "number"
  25828. },
  25829. "operatetype": {
  25830. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25831. "type": "integer"
  25832. },
  25833. "payamount": {
  25834. "description": "支付金额",
  25835. "type": "number"
  25836. },
  25837. "payflag": {
  25838. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25839. "type": "integer"
  25840. },
  25841. "paylimitedtime": {
  25842. "description": "支付期限",
  25843. "type": "string"
  25844. },
  25845. "paytime": {
  25846. "description": "付款时间",
  25847. "type": "string"
  25848. },
  25849. "qtydecimalplace": {
  25850. "description": "成交量小数位",
  25851. "type": "integer"
  25852. },
  25853. "sellaccountid": {
  25854. "description": "卖方账号ID[报价币种]",
  25855. "type": "integer"
  25856. },
  25857. "sellorderid": {
  25858. "description": "卖方委托单号",
  25859. "type": "string"
  25860. },
  25861. "tradeamount": {
  25862. "description": "成交金额(优惠后金额)",
  25863. "type": "number"
  25864. },
  25865. "tradecharge": {
  25866. "description": "成交手续费(买方)",
  25867. "type": "number"
  25868. },
  25869. "tradedate": {
  25870. "description": "交易日(yyyyMMdd)",
  25871. "type": "string"
  25872. },
  25873. "tradeid": {
  25874. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25875. "type": "string"
  25876. },
  25877. "tradeprice": {
  25878. "description": "成交价格",
  25879. "type": "number"
  25880. },
  25881. "tradeqty": {
  25882. "description": "成交数量",
  25883. "type": "number"
  25884. }
  25885. }
  25886. },
  25887. "models.QhjPickArea": {
  25888. "type": "object",
  25889. "properties": {
  25890. "address": {
  25891. "description": "详细地址",
  25892. "type": "string"
  25893. },
  25894. "cityid": {
  25895. "description": "市",
  25896. "type": "integer"
  25897. },
  25898. "cityname": {
  25899. "description": "城市名称",
  25900. "type": "string"
  25901. },
  25902. "countryid": {
  25903. "description": "国家",
  25904. "type": "integer"
  25905. },
  25906. "countryname": {
  25907. "description": "国家名称",
  25908. "type": "string"
  25909. },
  25910. "districtid": {
  25911. "description": "地区",
  25912. "type": "integer"
  25913. },
  25914. "districtname": {
  25915. "description": "地区名称",
  25916. "type": "string"
  25917. },
  25918. "fromuserid": {
  25919. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  25920. "type": "integer"
  25921. },
  25922. "fromusername": {
  25923. "description": "所属机构名称",
  25924. "type": "string"
  25925. },
  25926. "provinceid": {
  25927. "description": "省",
  25928. "type": "integer"
  25929. },
  25930. "provincename": {
  25931. "description": "省名称",
  25932. "type": "string"
  25933. },
  25934. "suborgtype": {
  25935. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  25936. "type": "integer"
  25937. },
  25938. "userid": {
  25939. "description": "机构用户ID 其他做市关系,都设置为 1",
  25940. "type": "integer"
  25941. },
  25942. "username": {
  25943. "description": "机构用户名称(门店门称)",
  25944. "type": "string"
  25945. }
  25946. }
  25947. },
  25948. "models.QhjPickGoods": {
  25949. "type": "object",
  25950. "properties": {
  25951. "enumdicname": {
  25952. "description": "单位名称(提货商品)",
  25953. "type": "string"
  25954. },
  25955. "goodsid": {
  25956. "description": "商品id",
  25957. "type": "integer"
  25958. },
  25959. "imageaddress": {
  25960. "description": "图片",
  25961. "type": "string"
  25962. },
  25963. "modifierid": {
  25964. "description": "修改人",
  25965. "type": "integer"
  25966. },
  25967. "modifiername": {
  25968. "description": "修改人名称",
  25969. "type": "string"
  25970. },
  25971. "modifysrc": {
  25972. "description": "修改来源 - 1:管理端 2:终端",
  25973. "type": "integer"
  25974. },
  25975. "pickupgoodsagreeunit": {
  25976. "description": "合约乘数",
  25977. "type": "number"
  25978. },
  25979. "pickupgoodsdesc": {
  25980. "description": "描述",
  25981. "type": "string"
  25982. },
  25983. "pickupgoodsid": {
  25984. "description": "提货商品ID",
  25985. "type": "string"
  25986. },
  25987. "pickupgoodsname": {
  25988. "description": "提货商品名称",
  25989. "type": "string"
  25990. },
  25991. "pickupgoodsstatus": {
  25992. "description": "状态 - 1:正常 2:停用 3:注销",
  25993. "type": "integer"
  25994. },
  25995. "pickupgoodsunitid": {
  25996. "description": "单位ID",
  25997. "type": "integer"
  25998. },
  25999. "pickupratio": {
  26000. "description": "提货系数",
  26001. "type": "number"
  26002. },
  26003. "preparedays": {
  26004. "description": "备货期(天)",
  26005. "type": "integer"
  26006. },
  26007. "remark": {
  26008. "description": "备注",
  26009. "type": "string"
  26010. },
  26011. "updatetime": {
  26012. "description": "更新时间",
  26013. "type": "string"
  26014. }
  26015. }
  26016. },
  26017. "models.QhjRSTriggerLog": {
  26018. "type": "object",
  26019. "properties": {
  26020. "accountid": {
  26021. "description": "用户资金账户",
  26022. "type": "integer"
  26023. },
  26024. "accountname": {
  26025. "description": "账号名称(ACCOUNTID对应的名称)",
  26026. "type": "string"
  26027. },
  26028. "currencyid": {
  26029. "description": "币种id",
  26030. "type": "integer"
  26031. },
  26032. "currencyname": {
  26033. "description": "币种名称",
  26034. "type": "string"
  26035. },
  26036. "decimalplace": {
  26037. "description": "商品报价小数位",
  26038. "type": "integer"
  26039. },
  26040. "enumdicname": {
  26041. "description": "单位名称",
  26042. "type": "string"
  26043. },
  26044. "goodscode": {
  26045. "description": "定投商品代码",
  26046. "type": "string"
  26047. },
  26048. "goodsid": {
  26049. "description": "定投商品ID",
  26050. "type": "integer"
  26051. },
  26052. "goodsname": {
  26053. "description": "定投商品名称",
  26054. "type": "string"
  26055. },
  26056. "goodunitid": {
  26057. "description": "定投商品单位id",
  26058. "type": "integer"
  26059. },
  26060. "logid": {
  26061. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26062. "type": "string"
  26063. },
  26064. "logincode": {
  26065. "description": "账号(登录代码)",
  26066. "type": "string"
  26067. },
  26068. "qtydecimalplace": {
  26069. "description": "成交量小数位",
  26070. "type": "integer"
  26071. },
  26072. "regularlycycle": {
  26073. "description": "定投频率 - 1:每周 2:每月",
  26074. "type": "integer"
  26075. },
  26076. "regularlycyclevalue": {
  26077. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26078. "type": "string"
  26079. },
  26080. "regularlymode": {
  26081. "description": "定投方式 - 1:按数量 2:按金额",
  26082. "type": "integer"
  26083. },
  26084. "regularlymodevalue": {
  26085. "description": "定投方式值 - 数量或金额",
  26086. "type": "number"
  26087. },
  26088. "regularlystrategyid": {
  26089. "description": "定投策略ID",
  26090. "type": "integer"
  26091. },
  26092. "retcode": {
  26093. "description": "错误码",
  26094. "type": "string"
  26095. },
  26096. "tradeid": {
  26097. "description": "成交单ID",
  26098. "type": "string"
  26099. },
  26100. "triggeramount": {
  26101. "description": "触发金额",
  26102. "type": "number"
  26103. },
  26104. "triggerqty": {
  26105. "description": "触发数量",
  26106. "type": "number"
  26107. },
  26108. "triggerstatus": {
  26109. "description": "触发状态 - 1:成功 2:失败",
  26110. "type": "integer"
  26111. },
  26112. "triggertime": {
  26113. "description": "触发时间",
  26114. "type": "string"
  26115. },
  26116. "triggertradedate": {
  26117. "description": "触发交易日",
  26118. "type": "string"
  26119. },
  26120. "userid": {
  26121. "description": "所属用户ID",
  26122. "type": "integer"
  26123. },
  26124. "userinfotype": {
  26125. "description": "用户类型 1-个人 2-企业",
  26126. "type": "integer"
  26127. },
  26128. "username": {
  26129. "description": "用户名称(userid对应的名称)",
  26130. "type": "string"
  26131. }
  26132. }
  26133. },
  26134. "models.QhjRStrategy": {
  26135. "type": "object",
  26136. "properties": {
  26137. "accountid": {
  26138. "description": "用户资金账户",
  26139. "type": "integer"
  26140. },
  26141. "accountname": {
  26142. "description": "账号名称(ACCOUNTID对应的名称)",
  26143. "type": "string"
  26144. },
  26145. "currencyid": {
  26146. "description": "币种id",
  26147. "type": "integer"
  26148. },
  26149. "currencyname": {
  26150. "description": "币种名称",
  26151. "type": "string"
  26152. },
  26153. "decimalplace": {
  26154. "description": "商品报价小数位",
  26155. "type": "integer"
  26156. },
  26157. "enumdicname": {
  26158. "description": "单位名称",
  26159. "type": "string"
  26160. },
  26161. "goodscode": {
  26162. "description": "定投商品代码",
  26163. "type": "string"
  26164. },
  26165. "goodsid": {
  26166. "description": "定投商品ID",
  26167. "type": "integer"
  26168. },
  26169. "goodsname": {
  26170. "description": "定投商品名称",
  26171. "type": "string"
  26172. },
  26173. "goodunitid": {
  26174. "description": "定投商品单位id",
  26175. "type": "integer"
  26176. },
  26177. "lasteffecttradedate": {
  26178. "description": "最新生效交易日",
  26179. "type": "string"
  26180. },
  26181. "laststoptradedate": {
  26182. "description": "最新暂停交易日",
  26183. "type": "string"
  26184. },
  26185. "lasttriggertradedate": {
  26186. "description": "最新触发交易日",
  26187. "type": "string"
  26188. },
  26189. "logincode": {
  26190. "description": "账号(登录代码)",
  26191. "type": "string"
  26192. },
  26193. "nexttriggeramount": {
  26194. "description": "下次触发金额",
  26195. "type": "number"
  26196. },
  26197. "nexttriggerdate": {
  26198. "description": "下次触发日期",
  26199. "type": "string"
  26200. },
  26201. "nexttriggerqty": {
  26202. "description": "下次触发数量 [按小数位放大值]",
  26203. "type": "number"
  26204. },
  26205. "qtydecimalplace": {
  26206. "description": "成交量小数位",
  26207. "type": "integer"
  26208. },
  26209. "regularlycycle": {
  26210. "description": "定投频率 - 1:每周 2:每月",
  26211. "type": "integer"
  26212. },
  26213. "regularlycyclevalue": {
  26214. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26215. "type": "string"
  26216. },
  26217. "regularlymode": {
  26218. "description": "定投方式 - 1:按数量 2:按金额",
  26219. "type": "integer"
  26220. },
  26221. "regularlymodevalue": {
  26222. "description": "定投方式值 - 数量或金额",
  26223. "type": "number"
  26224. },
  26225. "regularlystrategyid": {
  26226. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  26227. "type": "integer"
  26228. },
  26229. "regularlystrategystatus": {
  26230. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  26231. "type": "integer"
  26232. },
  26233. "remark": {
  26234. "description": "备注",
  26235. "type": "string"
  26236. },
  26237. "triggersuccesstimes": {
  26238. "description": "累计定投成功次数",
  26239. "type": "string"
  26240. },
  26241. "triggertotalamount": {
  26242. "description": "累计定投金额(成功)",
  26243. "type": "number"
  26244. },
  26245. "triggertotalqty": {
  26246. "description": "累计定投数量(成功) [按小数位放大值]",
  26247. "type": "number"
  26248. },
  26249. "triggertotaltimes": {
  26250. "description": "累计定投总次数",
  26251. "type": "string"
  26252. },
  26253. "updatesrc": {
  26254. "description": "更新来源 - 1:管理端 2:终端",
  26255. "type": "integer"
  26256. },
  26257. "updatetime": {
  26258. "description": "更新时间",
  26259. "type": "string"
  26260. },
  26261. "updatorid": {
  26262. "description": "更新人",
  26263. "type": "string"
  26264. },
  26265. "userid": {
  26266. "description": "所属用户ID",
  26267. "type": "integer"
  26268. },
  26269. "userinfotype": {
  26270. "description": "用户类型 1-个人 2-企业",
  26271. "type": "integer"
  26272. },
  26273. "username": {
  26274. "description": "用户名称(userid对应的名称)",
  26275. "type": "string"
  26276. }
  26277. }
  26278. },
  26279. "models.QhjReckonPriceLog": {
  26280. "type": "object",
  26281. "properties": {
  26282. "decimalplace": {
  26283. "description": "商品报价小数位",
  26284. "type": "integer"
  26285. },
  26286. "goodscode": {
  26287. "description": "商品代码",
  26288. "type": "string"
  26289. },
  26290. "goodsid": {
  26291. "description": "商品ID",
  26292. "type": "integer"
  26293. },
  26294. "goodsname": {
  26295. "description": "商品名称",
  26296. "type": "string"
  26297. },
  26298. "lastreckonprice": {
  26299. "description": "上日结算价",
  26300. "type": "number"
  26301. },
  26302. "nextdnlimitprice": {
  26303. "description": "下个交易日跌停价",
  26304. "type": "number"
  26305. },
  26306. "nexttrade": {
  26307. "description": "下个交易日",
  26308. "type": "string"
  26309. },
  26310. "nextuplimitprice": {
  26311. "description": "下个交易日涨停价",
  26312. "type": "number"
  26313. },
  26314. "reckonprice": {
  26315. "description": "今日结算价(定投价)",
  26316. "type": "number"
  26317. },
  26318. "reckontime": {
  26319. "description": "结算时间",
  26320. "type": "string"
  26321. },
  26322. "totalholderqty": {
  26323. "description": "总持仓数",
  26324. "type": "integer"
  26325. },
  26326. "totalstock": {
  26327. "description": "总库存",
  26328. "type": "integer"
  26329. },
  26330. "tradedate": {
  26331. "description": "交易日",
  26332. "type": "string"
  26333. },
  26334. "updowncount": {
  26335. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  26336. "type": "integer"
  26337. },
  26338. "updownflag": {
  26339. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  26340. "type": "integer"
  26341. },
  26342. "updownrate": {
  26343. "description": "今日涨跌幅",
  26344. "type": "number"
  26345. },
  26346. "updownrate_2d": {
  26347. "description": "连续两日涨跌幅",
  26348. "type": "number"
  26349. },
  26350. "updownrate_3d": {
  26351. "description": "连续三日涨跌幅",
  26352. "type": "number"
  26353. }
  26354. }
  26355. },
  26356. "models.QhjScoreLog": {
  26357. "type": "object",
  26358. "properties": {
  26359. "accountid": {
  26360. "description": "账户ID",
  26361. "type": "integer"
  26362. },
  26363. "createtime": {
  26364. "description": "创建时间(时间)",
  26365. "type": "string"
  26366. },
  26367. "goodsid": {
  26368. "description": "商品ID",
  26369. "type": "integer"
  26370. },
  26371. "hasuploaded": {
  26372. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  26373. "type": "integer"
  26374. },
  26375. "logid": {
  26376. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26377. "type": "string"
  26378. },
  26379. "marketid": {
  26380. "description": "市场ID",
  26381. "type": "integer"
  26382. },
  26383. "relatedamount": {
  26384. "description": "关联金额",
  26385. "type": "number"
  26386. },
  26387. "relatedorderid": {
  26388. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  26389. "type": "string"
  26390. },
  26391. "scoreconfigvalue1": {
  26392. "description": "积分配置1",
  26393. "type": "integer"
  26394. },
  26395. "scoreconfigvalue2": {
  26396. "description": "积分配置1",
  26397. "type": "integer"
  26398. },
  26399. "scoretype": {
  26400. "description": "积分类型 - 1:提货积分",
  26401. "type": "integer"
  26402. },
  26403. "scorevalue": {
  26404. "description": "积分",
  26405. "type": "number"
  26406. },
  26407. "tradedate": {
  26408. "description": "交易日(yyyyMMdd)",
  26409. "type": "string"
  26410. },
  26411. "uploadedtime": {
  26412. "description": "同步时间",
  26413. "type": "string"
  26414. },
  26415. "userid": {
  26416. "description": "用户ID",
  26417. "type": "integer"
  26418. }
  26419. }
  26420. },
  26421. "models.QhjSiteColumnDetail": {
  26422. "type": "object",
  26423. "properties": {
  26424. "author": {
  26425. "description": "作者",
  26426. "type": "string"
  26427. },
  26428. "brief": {
  26429. "description": "简介",
  26430. "type": "string"
  26431. },
  26432. "columnid": {
  26433. "description": "所属栏目",
  26434. "type": "integer"
  26435. },
  26436. "context": {
  26437. "description": "内容",
  26438. "type": "string"
  26439. },
  26440. "coverimage": {
  26441. "description": "封面图片",
  26442. "type": "string"
  26443. },
  26444. "creaedate": {
  26445. "description": "创建时间",
  26446. "type": "string"
  26447. },
  26448. "creatorid": {
  26449. "description": "创建人",
  26450. "type": "integer"
  26451. },
  26452. "hits": {
  26453. "description": "点击数",
  26454. "type": "integer"
  26455. },
  26456. "id": {
  26457. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  26458. "type": "integer"
  26459. },
  26460. "isshow": {
  26461. "description": "是否展示 - 0:不展示 1:展示",
  26462. "type": "integer"
  26463. },
  26464. "istop": {
  26465. "description": "是否置顶 - 0:不置 1:置顶",
  26466. "type": "integer"
  26467. },
  26468. "modifierid": {
  26469. "description": "操作人",
  26470. "type": "integer"
  26471. },
  26472. "publishdate": {
  26473. "description": "发布日期",
  26474. "type": "string"
  26475. },
  26476. "status": {
  26477. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  26478. "type": "integer"
  26479. },
  26480. "title": {
  26481. "description": "标题",
  26482. "type": "string"
  26483. },
  26484. "updatedate": {
  26485. "description": "修改时间",
  26486. "type": "string"
  26487. },
  26488. "userid": {
  26489. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  26490. "type": "integer"
  26491. },
  26492. "username": {
  26493. "description": "用户名称",
  26494. "type": "string"
  26495. }
  26496. }
  26497. },
  26498. "models.QhjTeamOrder": {
  26499. "type": "object",
  26500. "properties": {
  26501. "accountid": {
  26502. "description": "账户ID[报价币种]",
  26503. "type": "integer"
  26504. },
  26505. "accountname": {
  26506. "description": "账户名称",
  26507. "type": "string"
  26508. },
  26509. "agreeunit": {
  26510. "description": "合约乘数",
  26511. "type": "number"
  26512. },
  26513. "buyorsell": {
  26514. "description": "方向 - 0:买 1:卖",
  26515. "type": "integer"
  26516. },
  26517. "decimalplace": {
  26518. "description": "报价小数位",
  26519. "type": "integer"
  26520. },
  26521. "enumdicname": {
  26522. "description": "单位名称",
  26523. "type": "string"
  26524. },
  26525. "goodscode": {
  26526. "description": "商品代码(内部)",
  26527. "type": "string"
  26528. },
  26529. "goodsid": {
  26530. "description": "商品ID",
  26531. "type": "integer"
  26532. },
  26533. "goodsname": {
  26534. "description": "商品名称",
  26535. "type": "string"
  26536. },
  26537. "goodunitid": {
  26538. "description": "报价单位ID",
  26539. "type": "integer"
  26540. },
  26541. "marketid": {
  26542. "description": "市场ID",
  26543. "type": "integer"
  26544. },
  26545. "marketname": {
  26546. "description": "市场名称",
  26547. "type": "string"
  26548. },
  26549. "qtydecimalplace": {
  26550. "description": "成交量小数位",
  26551. "type": "integer"
  26552. },
  26553. "refereeuserid": {
  26554. "description": "推荐人ID",
  26555. "type": "integer"
  26556. },
  26557. "tradeamount": {
  26558. "description": "成交金额[账户币种,用于所有权]",
  26559. "type": "number"
  26560. },
  26561. "tradedate": {
  26562. "description": "交易日(yyyyMMdd)",
  26563. "type": "string"
  26564. },
  26565. "trademode": {
  26566. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26567. "type": "integer"
  26568. },
  26569. "tradeprice": {
  26570. "description": "成交价格",
  26571. "type": "number"
  26572. },
  26573. "tradeqty": {
  26574. "description": "成交数量",
  26575. "type": "number"
  26576. },
  26577. "tradetime": {
  26578. "description": "成交时间",
  26579. "type": "string"
  26580. },
  26581. "userid": {
  26582. "description": "用户ID",
  26583. "type": "integer"
  26584. }
  26585. }
  26586. },
  26587. "models.QhjTradeGoodsPickup": {
  26588. "type": "object",
  26589. "properties": {
  26590. "accountid": {
  26591. "description": "账户ID",
  26592. "type": "integer"
  26593. },
  26594. "address": {
  26595. "description": "提货人详细地址",
  26596. "type": "string"
  26597. },
  26598. "amount": {
  26599. "description": "提货金额",
  26600. "type": "number"
  26601. },
  26602. "artradedate": {
  26603. "description": "自动收货交易日(yyyyMMdd)",
  26604. "type": "string"
  26605. },
  26606. "auditer": {
  26607. "description": "审核人",
  26608. "type": "integer"
  26609. },
  26610. "auditsrc": {
  26611. "description": "更新来源 - 1:管理端 2:终端",
  26612. "type": "integer"
  26613. },
  26614. "audittime": {
  26615. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  26616. "type": "string"
  26617. },
  26618. "audittradedate": {
  26619. "description": "审核交易日(yyyyMMdd)",
  26620. "type": "string"
  26621. },
  26622. "cardnum": {
  26623. "description": "提货人证件号码",
  26624. "type": "string"
  26625. },
  26626. "cardtypeid": {
  26627. "description": "提货人证件类型",
  26628. "type": "integer"
  26629. },
  26630. "checkremark": {
  26631. "description": "审核备注",
  26632. "type": "string"
  26633. },
  26634. "cityid": {
  26635. "description": "市",
  26636. "type": "integer"
  26637. },
  26638. "cityname": {
  26639. "description": "城市名称",
  26640. "type": "string"
  26641. },
  26642. "confirmtime": {
  26643. "description": "取货时间 或 收货时间",
  26644. "type": "string"
  26645. },
  26646. "countryid": {
  26647. "description": "国家",
  26648. "type": "integer"
  26649. },
  26650. "countryname": {
  26651. "description": "国家名称",
  26652. "type": "string"
  26653. },
  26654. "decimalplace": {
  26655. "description": "商品报价小数位",
  26656. "type": "integer"
  26657. },
  26658. "districtid": {
  26659. "description": "地区",
  26660. "type": "integer"
  26661. },
  26662. "districtname": {
  26663. "description": "地区名称",
  26664. "type": "string"
  26665. },
  26666. "enumdicname": {
  26667. "description": "单位名称(提货商品)",
  26668. "type": "string"
  26669. },
  26670. "expresscompany": {
  26671. "description": "物流公司",
  26672. "type": "string"
  26673. },
  26674. "expressnum": {
  26675. "description": "物流单号",
  26676. "type": "string"
  26677. },
  26678. "goodsagreeunit": {
  26679. "description": "交易商品乘数",
  26680. "type": "number"
  26681. },
  26682. "goodscode": {
  26683. "description": "商品代码",
  26684. "type": "string"
  26685. },
  26686. "goodsid": {
  26687. "description": "商品ID",
  26688. "type": "integer"
  26689. },
  26690. "goodsname": {
  26691. "description": "商品名称",
  26692. "type": "string"
  26693. },
  26694. "goodsqty": {
  26695. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  26696. "type": "number"
  26697. },
  26698. "handlestatus": {
  26699. "description": "处理状态",
  26700. "type": "integer"
  26701. },
  26702. "logincode": {
  26703. "description": "账号(登录代码, 有可能为空)",
  26704. "type": "string"
  26705. },
  26706. "marketid": {
  26707. "description": "市场ID",
  26708. "type": "integer"
  26709. },
  26710. "phonenum": {
  26711. "description": "提货人联系方式",
  26712. "type": "string"
  26713. },
  26714. "pickupgoodsagreeunit": {
  26715. "description": "提货商品合约乘数",
  26716. "type": "number"
  26717. },
  26718. "pickupgoodsid": {
  26719. "description": "提货商品ID",
  26720. "type": "string"
  26721. },
  26722. "pickupgoodsname": {
  26723. "description": "提货商品名称",
  26724. "type": "string"
  26725. },
  26726. "pickupgoodsqty": {
  26727. "description": "提货商品手数(数量)",
  26728. "type": "number"
  26729. },
  26730. "pickupgoodsunitid": {
  26731. "description": "单位ID(提货商品)",
  26732. "type": "integer"
  26733. },
  26734. "pickupratio": {
  26735. "description": "提货系数",
  26736. "type": "number"
  26737. },
  26738. "preparedays": {
  26739. "description": "备货期(天)-提货单明细表",
  26740. "type": "integer"
  26741. },
  26742. "provinceid": {
  26743. "description": "省",
  26744. "type": "integer"
  26745. },
  26746. "provincename": {
  26747. "description": "省名称",
  26748. "type": "string"
  26749. },
  26750. "qty": {
  26751. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  26752. "type": "number"
  26753. },
  26754. "qtydecimalplace": {
  26755. "description": "商品数量小数位",
  26756. "type": "integer"
  26757. },
  26758. "recivername": {
  26759. "description": "提货人姓名",
  26760. "type": "string"
  26761. },
  26762. "reqtime": {
  26763. "description": "提货申请时间",
  26764. "type": "string"
  26765. },
  26766. "storeuserid": {
  26767. "description": "门店用户ID (千海金)",
  26768. "type": "integer"
  26769. },
  26770. "storeusername": {
  26771. "description": "门店用户名称",
  26772. "type": "string"
  26773. },
  26774. "takemode": {
  26775. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  26776. "type": "integer"
  26777. },
  26778. "takeorderid": {
  26779. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  26780. "type": "string"
  26781. },
  26782. "takeorderstatus": {
  26783. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  26784. "type": "integer"
  26785. },
  26786. "takeremark": {
  26787. "description": "提货备注",
  26788. "type": "string"
  26789. },
  26790. "tradedate": {
  26791. "description": "交易日(yyyyMMdd)",
  26792. "type": "string"
  26793. },
  26794. "updatetime": {
  26795. "description": "更新时间",
  26796. "type": "string"
  26797. },
  26798. "userid": {
  26799. "description": "用户ID",
  26800. "type": "integer"
  26801. },
  26802. "userinfotype": {
  26803. "description": "客户类型 1-个人 2-企业",
  26804. "type": "integer"
  26805. },
  26806. "username": {
  26807. "description": "用户名称",
  26808. "type": "string"
  26809. }
  26810. }
  26811. },
  26812. "models.QhjUserNodeCfgAndStatus": {
  26813. "type": "object",
  26814. "properties": {
  26815. "agreementcontent": {
  26816. "description": "协议内容",
  26817. "type": "string"
  26818. },
  26819. "agreementid": {
  26820. "description": "协议ID",
  26821. "type": "integer"
  26822. },
  26823. "agreementname": {
  26824. "description": "协议名称",
  26825. "type": "string"
  26826. },
  26827. "agreementno": {
  26828. "description": "协议编号",
  26829. "type": "string"
  26830. },
  26831. "agreementtype": {
  26832. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26833. "type": "integer"
  26834. },
  26835. "agreementversion": {
  26836. "description": "协议版本号",
  26837. "type": "integer"
  26838. },
  26839. "configid": {
  26840. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26841. "type": "integer"
  26842. },
  26843. "createtime": {
  26844. "description": "创建时间",
  26845. "type": "string"
  26846. },
  26847. "goodsid": {
  26848. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26849. "type": "integer"
  26850. },
  26851. "nodetype": {
  26852. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26853. "type": "integer"
  26854. },
  26855. "signtimestamp": {
  26856. "description": "签约状态时间戳(最近一次)",
  26857. "type": "string"
  26858. },
  26859. "tradedate": {
  26860. "description": "签约交易日(yyyyMMdd)",
  26861. "type": "string"
  26862. },
  26863. "userid": {
  26864. "description": "客户ID",
  26865. "type": "integer"
  26866. }
  26867. }
  26868. },
  26869. "models.Qhjgoodsex": {
  26870. "type": "object",
  26871. "properties": {
  26872. "canfinance": {
  26873. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  26874. "type": "integer"
  26875. },
  26876. "canregularlybuy": {
  26877. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  26878. "type": "integer"
  26879. },
  26880. "defaulttradeuserid": {
  26881. "description": "默认交易用户ID",
  26882. "type": "integer"
  26883. },
  26884. "deliverygoodsid": {
  26885. "description": "现货品种ID",
  26886. "type": "integer"
  26887. },
  26888. "goodsid": {
  26889. "description": "商品ID(自增ID SEQ_GOODS)",
  26890. "type": "integer"
  26891. },
  26892. "minamount": {
  26893. "description": "最小购买金额",
  26894. "type": "number"
  26895. },
  26896. "regularlybuyminamount": {
  26897. "description": "定投最小金额",
  26898. "type": "number"
  26899. },
  26900. "regularlybuyminqty": {
  26901. "description": "定投最小数量",
  26902. "type": "number"
  26903. },
  26904. "spotgoodsbrandid": {
  26905. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  26906. "type": "integer"
  26907. },
  26908. "visibilityforenterprise": {
  26909. "description": "企业客户是否可见 - 0:不可见 1:可见",
  26910. "type": "integer"
  26911. },
  26912. "visibilityforpersonal": {
  26913. "description": "个人客户是否可见 - 0:不可见 1:可见",
  26914. "type": "integer"
  26915. },
  26916. "wrstandardid": {
  26917. "description": "现货商品ID",
  26918. "type": "integer"
  26919. }
  26920. }
  26921. },
  26922. "models.QueryErrorInfosRsp": {
  26923. "type": "object",
  26924. "required": [
  26925. "errorid"
  26926. ],
  26927. "properties": {
  26928. "description": {
  26929. "description": "异常描述",
  26930. "type": "string"
  26931. },
  26932. "errorcode": {
  26933. "description": "异常代码",
  26934. "type": "string"
  26935. },
  26936. "errorid": {
  26937. "description": "异常ID",
  26938. "type": "integer"
  26939. },
  26940. "modulecode": {
  26941. "description": "所属模块",
  26942. "type": "string"
  26943. },
  26944. "operatecode": {
  26945. "description": "所属操作",
  26946. "type": "string"
  26947. },
  26948. "rownumber": {
  26949. "description": "行号",
  26950. "type": "string"
  26951. }
  26952. }
  26953. },
  26954. "models.QueryHedgeOrderDetailRsp": {
  26955. "type": "object",
  26956. "properties": {
  26957. "accountid": {
  26958. "description": "账户ID",
  26959. "type": "integer"
  26960. },
  26961. "buyorsell": {
  26962. "description": "买卖 - 0:买 1:卖",
  26963. "type": "integer"
  26964. },
  26965. "cancellogincode": {
  26966. "description": "撤单人",
  26967. "type": "string"
  26968. },
  26969. "channelbuildtype": {
  26970. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  26971. "type": "integer"
  26972. },
  26973. "channelinnerorderstatus": {
  26974. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  26975. "type": "integer"
  26976. },
  26977. "channeloperatetype": {
  26978. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  26979. "type": "integer"
  26980. },
  26981. "closetype": {
  26982. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26983. "type": "integer"
  26984. },
  26985. "curexchangerate": {
  26986. "description": "当前汇率",
  26987. "type": "number"
  26988. },
  26989. "exchangefullname": {
  26990. "description": "外部交易所全称",
  26991. "type": "string"
  26992. },
  26993. "goodscode": {
  26994. "description": "商品代码(内部)",
  26995. "type": "string"
  26996. },
  26997. "goodsid": {
  26998. "description": "商品ID",
  26999. "type": "integer"
  27000. },
  27001. "goodsname": {
  27002. "description": "商品名称",
  27003. "type": "string"
  27004. },
  27005. "marketid": {
  27006. "description": "市场ID",
  27007. "type": "integer"
  27008. },
  27009. "openfreezemargin": {
  27010. "description": "冻结保证金(冻结交易金额)",
  27011. "type": "number"
  27012. },
  27013. "orderid": {
  27014. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27015. "type": "string"
  27016. },
  27017. "orderlogincode": {
  27018. "description": "委托人",
  27019. "type": "string"
  27020. },
  27021. "orderprice": {
  27022. "description": "委托价格(账户)",
  27023. "type": "number"
  27024. },
  27025. "orderqty": {
  27026. "description": "委托数量",
  27027. "type": "integer"
  27028. },
  27029. "ordertime": {
  27030. "description": "委托时间",
  27031. "type": "string"
  27032. },
  27033. "pricemode": {
  27034. "description": "取价方式 - 1:市价 2: 限价",
  27035. "type": "integer"
  27036. },
  27037. "tradedate": {
  27038. "description": "交易日(yyyyMMdd)",
  27039. "type": "string"
  27040. },
  27041. "tradeqty": {
  27042. "description": "成交数量",
  27043. "type": "integer"
  27044. }
  27045. }
  27046. },
  27047. "models.QueryHedgeTradeDetailRsp": {
  27048. "type": "object",
  27049. "properties": {
  27050. "accountid": {
  27051. "description": "账号ID",
  27052. "type": "integer"
  27053. },
  27054. "buyorsell": {
  27055. "description": "方向 - 0:买 1:卖",
  27056. "type": "integer"
  27057. },
  27058. "channelbuildtype": {
  27059. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27060. "type": "integer"
  27061. },
  27062. "closecharge": {
  27063. "description": "平仓手续费(账户)",
  27064. "type": "number"
  27065. },
  27066. "closecharge2": {
  27067. "description": "平仓手续费(商品)",
  27068. "type": "number"
  27069. },
  27070. "closepl": {
  27071. "description": "平仓盈亏(账户)",
  27072. "type": "number"
  27073. },
  27074. "closepl2": {
  27075. "description": "平仓盈亏(商品)",
  27076. "type": "number"
  27077. },
  27078. "closepl3": {
  27079. "description": "平仓盈亏(账户)(逐笔)",
  27080. "type": "number"
  27081. },
  27082. "closepl4": {
  27083. "description": "平仓盈亏(商品)(逐笔)",
  27084. "type": "number"
  27085. },
  27086. "closetype": {
  27087. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27088. "type": "integer"
  27089. },
  27090. "curexchangerate": {
  27091. "description": "当前汇率",
  27092. "type": "number"
  27093. },
  27094. "exchangefullname": {
  27095. "description": "外部交易所全称",
  27096. "type": "string"
  27097. },
  27098. "goodscode": {
  27099. "description": "商品代码(内部)",
  27100. "type": "string"
  27101. },
  27102. "goodsid": {
  27103. "description": "商品ID",
  27104. "type": "integer"
  27105. },
  27106. "goodsname": {
  27107. "description": "商品名称",
  27108. "type": "string"
  27109. },
  27110. "marketid": {
  27111. "description": "市场ID",
  27112. "type": "integer"
  27113. },
  27114. "opencharge": {
  27115. "description": "建仓手续费(账户)",
  27116. "type": "number"
  27117. },
  27118. "opencharge2": {
  27119. "description": "建仓手续费(商品)",
  27120. "type": "number"
  27121. },
  27122. "orderid": {
  27123. "description": "委托单号",
  27124. "type": "string"
  27125. },
  27126. "orderlogincode": {
  27127. "description": "委托人",
  27128. "type": "string"
  27129. },
  27130. "tradeamount": {
  27131. "description": "成交金额(账户)",
  27132. "type": "number"
  27133. },
  27134. "tradedate": {
  27135. "description": "交易日(yyyyMMdd)",
  27136. "type": "string"
  27137. },
  27138. "tradeid": {
  27139. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27140. "type": "string"
  27141. },
  27142. "tradeprice": {
  27143. "description": "成交价格",
  27144. "type": "number"
  27145. },
  27146. "tradeqty": {
  27147. "description": "成交数量",
  27148. "type": "integer"
  27149. },
  27150. "tradetime": {
  27151. "description": "成交时间",
  27152. "type": "string"
  27153. },
  27154. "tradetype": {
  27155. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  27156. "type": "integer"
  27157. }
  27158. }
  27159. },
  27160. "models.QuotePrimaryMenu": {
  27161. "type": "object",
  27162. "properties": {
  27163. "Index": {
  27164. "description": "序号",
  27165. "type": "integer"
  27166. },
  27167. "Key": {
  27168. "description": "键名",
  27169. "type": "string"
  27170. },
  27171. "Name": {
  27172. "description": "菜单名称",
  27173. "type": "string"
  27174. },
  27175. "SubMenus": {
  27176. "description": "子菜单",
  27177. "type": "array",
  27178. "items": {
  27179. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  27180. }
  27181. },
  27182. "SubTitleType": {
  27183. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  27184. "type": "integer"
  27185. },
  27186. "TradeModes": {
  27187. "description": "包含市场交易类型",
  27188. "type": "string"
  27189. }
  27190. }
  27191. },
  27192. "models.QuoteSecondaryMenu": {
  27193. "type": "object",
  27194. "properties": {
  27195. "ExExchangeCode": {
  27196. "description": "外部交易所代码",
  27197. "type": "string"
  27198. },
  27199. "ExExchangeID": {
  27200. "description": "外部交易所ID",
  27201. "type": "integer"
  27202. },
  27203. "GoodsGroupIDs": {
  27204. "description": "商品组ID列表",
  27205. "type": "array",
  27206. "items": {
  27207. "type": "integer"
  27208. }
  27209. },
  27210. "Index": {
  27211. "description": "序号",
  27212. "type": "integer"
  27213. },
  27214. "MarketID": {
  27215. "description": "市场ID",
  27216. "type": "integer"
  27217. },
  27218. "MenuTitle": {
  27219. "description": "菜单标题(市场名称或外部交易所名称)",
  27220. "type": "string"
  27221. },
  27222. "TradeMode": {
  27223. "description": "交易模式",
  27224. "type": "integer"
  27225. }
  27226. }
  27227. },
  27228. "models.SearchGoods": {
  27229. "type": "object",
  27230. "required": [
  27231. "goodscode",
  27232. "goodsid",
  27233. "goodsname",
  27234. "marketid",
  27235. "trademode"
  27236. ],
  27237. "properties": {
  27238. "goodscode": {
  27239. "description": "商品代码(内部)",
  27240. "type": "string"
  27241. },
  27242. "goodsid": {
  27243. "description": "商品ID(自增ID SEQ_GOODS)",
  27244. "type": "integer"
  27245. },
  27246. "goodsname": {
  27247. "description": "商品名称",
  27248. "type": "string"
  27249. },
  27250. "marketid": {
  27251. "description": "所属市场ID",
  27252. "type": "integer"
  27253. },
  27254. "marketname": {
  27255. "description": "市场名称",
  27256. "type": "string"
  27257. },
  27258. "trademode": {
  27259. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27260. "type": "integer"
  27261. }
  27262. }
  27263. },
  27264. "models.Systemparam": {
  27265. "type": "object",
  27266. "required": [
  27267. "paramcode"
  27268. ],
  27269. "properties": {
  27270. "loginid": {
  27271. "description": "更新用户账号,登录账号",
  27272. "type": "string"
  27273. },
  27274. "modifyflag": {
  27275. "description": "修改标志0 不允许修改 1 允许修改",
  27276. "type": "integer"
  27277. },
  27278. "paramcode": {
  27279. "description": "参数代码",
  27280. "type": "string"
  27281. },
  27282. "paramname": {
  27283. "description": "参数名",
  27284. "type": "string"
  27285. },
  27286. "paramtype": {
  27287. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  27288. "type": "integer"
  27289. },
  27290. "paramvalue": {
  27291. "description": "参数值",
  27292. "type": "string"
  27293. },
  27294. "paramvalue2": {
  27295. "description": "参数值(CLOB)",
  27296. "type": "string"
  27297. },
  27298. "regexpress": {
  27299. "description": "正则表达式",
  27300. "type": "string"
  27301. },
  27302. "remark": {
  27303. "description": "备注",
  27304. "type": "string"
  27305. },
  27306. "serverip": {
  27307. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  27308. "type": "string"
  27309. },
  27310. "showflag": {
  27311. "description": "是否显示0 不显示 1 显示",
  27312. "type": "integer"
  27313. },
  27314. "updatetime": {
  27315. "description": "更新时间",
  27316. "type": "string"
  27317. },
  27318. "userid": {
  27319. "description": "更新用户ID",
  27320. "type": "integer"
  27321. }
  27322. }
  27323. },
  27324. "models.Szdz3convertconfig": {
  27325. "type": "object",
  27326. "required": [
  27327. "converttype",
  27328. "innergoodsid",
  27329. "outergoodscode"
  27330. ],
  27331. "properties": {
  27332. "canin": {
  27333. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  27334. "type": "integer"
  27335. },
  27336. "canout": {
  27337. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  27338. "type": "integer"
  27339. },
  27340. "converttype": {
  27341. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  27342. "type": "integer"
  27343. },
  27344. "createtime": {
  27345. "description": "创建时间",
  27346. "type": "string"
  27347. },
  27348. "creatorid": {
  27349. "description": "创建人",
  27350. "type": "integer"
  27351. },
  27352. "daymaxvalue": {
  27353. "description": "当日最大转入限制",
  27354. "type": "number"
  27355. },
  27356. "freezedays": {
  27357. "description": "冻结天数 [5:花生米转交易]",
  27358. "type": "integer"
  27359. },
  27360. "innergoodsid": {
  27361. "description": "内部商品ID[交易]",
  27362. "type": "integer"
  27363. },
  27364. "inratio": {
  27365. "description": "目标值",
  27366. "type": "integer"
  27367. },
  27368. "modifierid": {
  27369. "description": "修改人",
  27370. "type": "integer"
  27371. },
  27372. "modifytime": {
  27373. "description": "修改时间",
  27374. "type": "string"
  27375. },
  27376. "outergoodscode": {
  27377. "description": "外部商品代码[JD\\PD]",
  27378. "type": "string"
  27379. },
  27380. "outratio": {
  27381. "description": "源值",
  27382. "type": "integer"
  27383. },
  27384. "pddecimalplace": {
  27385. "description": "PD小数位",
  27386. "type": "integer"
  27387. },
  27388. "timemaxvalue": {
  27389. "description": "单次最大转入限制",
  27390. "type": "number"
  27391. },
  27392. "timeminvalue": {
  27393. "description": "单次最小转入限制",
  27394. "type": "number"
  27395. }
  27396. }
  27397. },
  27398. "models.Szdz3searchwhitelist": {
  27399. "type": "object",
  27400. "required": [
  27401. "userid"
  27402. ],
  27403. "properties": {
  27404. "createtime": {
  27405. "description": "创建时间",
  27406. "type": "string"
  27407. },
  27408. "creatorid": {
  27409. "description": "创建人",
  27410. "type": "integer"
  27411. },
  27412. "modifierid": {
  27413. "description": "修改人",
  27414. "type": "integer"
  27415. },
  27416. "modifytime": {
  27417. "description": "修改时间",
  27418. "type": "string"
  27419. },
  27420. "userid": {
  27421. "description": "用户ID",
  27422. "type": "integer"
  27423. }
  27424. }
  27425. },
  27426. "models.Taaccount": {
  27427. "type": "object",
  27428. "required": [
  27429. "accountid",
  27430. "userid"
  27431. ],
  27432. "properties": {
  27433. "accountflag": {
  27434. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  27435. "type": "integer"
  27436. },
  27437. "accountid": {
  27438. "description": "资金账户ID",
  27439. "type": "integer"
  27440. },
  27441. "accountname": {
  27442. "description": "账户名称",
  27443. "type": "string"
  27444. },
  27445. "balance": {
  27446. "description": "期初余额",
  27447. "type": "number"
  27448. },
  27449. "capitalbalance": {
  27450. "description": "本金余额[外部子账户实际出入金余额]",
  27451. "type": "number"
  27452. },
  27453. "changeflag": {
  27454. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  27455. "type": "integer"
  27456. },
  27457. "changetime": {
  27458. "description": "账户状态变更时间",
  27459. "type": "string"
  27460. },
  27461. "closepl": {
  27462. "description": "今日平仓盈亏",
  27463. "type": "number"
  27464. },
  27465. "creditdecrease": {
  27466. "description": "今日授信减少",
  27467. "type": "number"
  27468. },
  27469. "creditincrease": {
  27470. "description": "今日授信增加",
  27471. "type": "number"
  27472. },
  27473. "curamount": {
  27474. "description": "总市值(从持仓中统计)",
  27475. "type": "number"
  27476. },
  27477. "currencyid": {
  27478. "description": "货币ID",
  27479. "type": "integer"
  27480. },
  27481. "currentbalance": {
  27482. "description": "期末余额",
  27483. "type": "number"
  27484. },
  27485. "freezecharge": {
  27486. "description": "手续费冻结",
  27487. "type": "number"
  27488. },
  27489. "freezemargin": {
  27490. "description": "冻结保证金",
  27491. "type": "number"
  27492. },
  27493. "fromaccountid": {
  27494. "description": "所属上级账户",
  27495. "type": "integer"
  27496. },
  27497. "inamount": {
  27498. "description": "今日入金金额(包括三方入金)",
  27499. "type": "number"
  27500. },
  27501. "ismain": {
  27502. "description": "是否母账号 0:不是母账户 1:是母账户",
  27503. "type": "integer"
  27504. },
  27505. "ismarketaccount": {
  27506. "description": "是否机构接单账号 0:不是 1:是",
  27507. "type": "integer"
  27508. },
  27509. "isreckonaccount": {
  27510. "description": "是否机构分润账号 0:不是 1:是",
  27511. "type": "integer"
  27512. },
  27513. "mortgagecredit": {
  27514. "description": "授信金额",
  27515. "type": "number"
  27516. },
  27517. "orifreezecharge": {
  27518. "description": "期初手续费冻结",
  27519. "type": "number"
  27520. },
  27521. "orifreezemargin": {
  27522. "description": "期初冻结保证金",
  27523. "type": "number"
  27524. },
  27525. "orimortgagecredit": {
  27526. "description": "期初授信金额",
  27527. "type": "number"
  27528. },
  27529. "oriothercredit": {
  27530. "description": "期初其它授信金额",
  27531. "type": "number"
  27532. },
  27533. "oriotherfreezemargin": {
  27534. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27535. "type": "number"
  27536. },
  27537. "orioutamountfreeze": {
  27538. "description": "期初出金冻结",
  27539. "type": "number"
  27540. },
  27541. "oriusedmargin": {
  27542. "description": "期初占用保证金",
  27543. "type": "number"
  27544. },
  27545. "othercredit": {
  27546. "description": "其它授信金额",
  27547. "type": "number"
  27548. },
  27549. "othercreditdecrease": {
  27550. "description": "今日其它授信减少",
  27551. "type": "number"
  27552. },
  27553. "othercreditincrease": {
  27554. "description": "今日其它授信增加",
  27555. "type": "number"
  27556. },
  27557. "otherfreezemargin": {
  27558. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27559. "type": "number"
  27560. },
  27561. "otherincome": {
  27562. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  27563. "type": "number"
  27564. },
  27565. "otherpay": {
  27566. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  27567. "type": "number"
  27568. },
  27569. "outamount": {
  27570. "description": "今日出金金额(包括三方出金)",
  27571. "type": "number"
  27572. },
  27573. "outamountfreeze": {
  27574. "description": "出金冻结",
  27575. "type": "number"
  27576. },
  27577. "outthreshold": {
  27578. "description": "出金阈值",
  27579. "type": "number"
  27580. },
  27581. "parentaccountid": {
  27582. "description": "所属根账号",
  27583. "type": "integer"
  27584. },
  27585. "paycharge": {
  27586. "description": "今日手续费支出",
  27587. "type": "number"
  27588. },
  27589. "relatedaccountstatus": {
  27590. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  27591. "type": "integer"
  27592. },
  27593. "relateduserid": {
  27594. "description": "关联用户",
  27595. "type": "integer"
  27596. },
  27597. "remainamount": {
  27598. "description": "融资额(从融资合同中统计)",
  27599. "type": "number"
  27600. },
  27601. "serivcegroup": {
  27602. "description": "服务分组",
  27603. "type": "integer"
  27604. },
  27605. "signstatus": {
  27606. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27607. "type": "integer"
  27608. },
  27609. "sublevelpath": {
  27610. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27611. "type": "string"
  27612. },
  27613. "taaccounttype": {
  27614. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27615. "type": "integer"
  27616. },
  27617. "thirdinamount": {
  27618. "description": "今日三方入金",
  27619. "type": "number"
  27620. },
  27621. "thirdoutamount": {
  27622. "description": "今日三方出金",
  27623. "type": "number"
  27624. },
  27625. "tradestatus": {
  27626. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27627. "type": "integer"
  27628. },
  27629. "tradestatuschangetime": {
  27630. "description": "激活时间",
  27631. "type": "string"
  27632. },
  27633. "transferamount": {
  27634. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27635. "type": "number"
  27636. },
  27637. "usedmargin": {
  27638. "description": "占用保证金",
  27639. "type": "number"
  27640. },
  27641. "userid": {
  27642. "description": "用户ID",
  27643. "type": "integer"
  27644. }
  27645. }
  27646. },
  27647. "models.Tablecolumnconfig": {
  27648. "type": "object",
  27649. "required": [
  27650. "autoid"
  27651. ],
  27652. "properties": {
  27653. "aligntype": {
  27654. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  27655. "type": "integer"
  27656. },
  27657. "autoid": {
  27658. "description": "AutoID",
  27659. "type": "integer"
  27660. },
  27661. "columnfield": {
  27662. "description": "列字段",
  27663. "type": "string"
  27664. },
  27665. "columntitle": {
  27666. "description": "列Title",
  27667. "type": "string"
  27668. },
  27669. "columnwidth": {
  27670. "description": "列宽",
  27671. "type": "string"
  27672. },
  27673. "formatterstring": {
  27674. "description": "格式化字符",
  27675. "type": "string"
  27676. },
  27677. "formattertype": {
  27678. "description": "格式化类型",
  27679. "type": "string"
  27680. },
  27681. "groupname": {
  27682. "description": "表头分组名称",
  27683. "type": "string"
  27684. },
  27685. "isshow": {
  27686. "description": "是否显示 - 0:不显示 1:显示",
  27687. "type": "integer"
  27688. },
  27689. "needsummary": {
  27690. "description": "是否需要汇总 - 0:不需要 1:需要",
  27691. "type": "integer"
  27692. },
  27693. "orderindex": {
  27694. "description": "顺序",
  27695. "type": "integer"
  27696. },
  27697. "remark": {
  27698. "description": "备注",
  27699. "type": "string"
  27700. },
  27701. "summarytype": {
  27702. "description": "汇总类型 - 1:加总 2:最后一个",
  27703. "type": "integer"
  27704. },
  27705. "tablekey": {
  27706. "description": "列表Key",
  27707. "type": "string"
  27708. }
  27709. }
  27710. },
  27711. "models.UserCollectConfig": {
  27712. "type": "object",
  27713. "properties": {
  27714. "accountstatus": {
  27715. "description": "账户状态 - 1:正常 2:停用 3:注销",
  27716. "type": "integer"
  27717. },
  27718. "collectaccountname": {
  27719. "description": "收款人账户名称",
  27720. "type": "string"
  27721. },
  27722. "collectaccountno": {
  27723. "description": "收款人账户",
  27724. "type": "string"
  27725. },
  27726. "collectbankname": {
  27727. "description": "收款人开户行",
  27728. "type": "string"
  27729. },
  27730. "collectbranchbankname": {
  27731. "description": "收款人开户支行",
  27732. "type": "string"
  27733. },
  27734. "collectconfigid": {
  27735. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  27736. "type": "string"
  27737. },
  27738. "remark": {
  27739. "description": "备注",
  27740. "type": "string"
  27741. },
  27742. "userid": {
  27743. "description": "收款人用户ID",
  27744. "type": "integer"
  27745. }
  27746. }
  27747. },
  27748. "models.UserReceiveInfo": {
  27749. "type": "object",
  27750. "properties": {
  27751. "address": {
  27752. "description": "提货人详细地址",
  27753. "type": "string"
  27754. },
  27755. "autoid": {
  27756. "description": "AutoID",
  27757. "type": "integer"
  27758. },
  27759. "cardnum": {
  27760. "description": "证件号码(加密存储)",
  27761. "type": "string"
  27762. },
  27763. "cardtypeid": {
  27764. "description": "证件类型",
  27765. "type": "integer"
  27766. },
  27767. "cityid": {
  27768. "description": "市",
  27769. "type": "integer"
  27770. },
  27771. "cityname": {
  27772. "description": "城市名称",
  27773. "type": "string"
  27774. },
  27775. "countryid": {
  27776. "description": "国家",
  27777. "type": "integer"
  27778. },
  27779. "countryname": {
  27780. "description": "国家名称",
  27781. "type": "string"
  27782. },
  27783. "districtid": {
  27784. "description": "地区",
  27785. "type": "integer"
  27786. },
  27787. "districtname": {
  27788. "description": "地区名称",
  27789. "type": "string"
  27790. },
  27791. "hasencrypt": {
  27792. "description": "数据是否已加密 - 0:未加密 1:已加密",
  27793. "type": "integer"
  27794. },
  27795. "isdefault": {
  27796. "description": "是否默认地址 - 0:否 1:是",
  27797. "type": "integer"
  27798. },
  27799. "phonenum": {
  27800. "description": "提货人联系方式(加密存储)",
  27801. "type": "string"
  27802. },
  27803. "provinceid": {
  27804. "description": "省",
  27805. "type": "integer"
  27806. },
  27807. "provincename": {
  27808. "description": "省名称",
  27809. "type": "string"
  27810. },
  27811. "receivername": {
  27812. "description": "提货人姓名",
  27813. "type": "string"
  27814. },
  27815. "takeremark": {
  27816. "description": "提货备注",
  27817. "type": "string"
  27818. },
  27819. "userid": {
  27820. "description": "用户ID",
  27821. "type": "integer"
  27822. }
  27823. }
  27824. },
  27825. "models.Useraccount": {
  27826. "type": "object",
  27827. "required": [
  27828. "userid"
  27829. ],
  27830. "properties": {
  27831. "accountname": {
  27832. "description": "账户名称(机构名称)",
  27833. "type": "string"
  27834. },
  27835. "accountstatus": {
  27836. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27837. "type": "integer"
  27838. },
  27839. "applysrc": {
  27840. "description": "申请来源 - 1:管理端 2:终端",
  27841. "type": "integer"
  27842. },
  27843. "auditremark": {
  27844. "description": "审核备注",
  27845. "type": "string"
  27846. },
  27847. "auditsrc": {
  27848. "description": "审核来源 - 1:管理端 2:终端",
  27849. "type": "integer"
  27850. },
  27851. "audittime": {
  27852. "description": "审核时间",
  27853. "type": "string"
  27854. },
  27855. "audituserid": {
  27856. "description": "审核人",
  27857. "type": "integer"
  27858. },
  27859. "broker": {
  27860. "description": "所属经纪人ID",
  27861. "type": "integer"
  27862. },
  27863. "canceltime": {
  27864. "description": "销户时间",
  27865. "type": "string"
  27866. },
  27867. "canceluserid": {
  27868. "description": "销户人",
  27869. "type": "integer"
  27870. },
  27871. "canrecommend": {
  27872. "description": "是否可推荐 - 0:不可 1;可",
  27873. "type": "integer"
  27874. },
  27875. "createtime": {
  27876. "description": "创建时间",
  27877. "type": "string"
  27878. },
  27879. "creatorid": {
  27880. "description": "创建人",
  27881. "type": "integer"
  27882. },
  27883. "hasauth": {
  27884. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27885. "type": "integer"
  27886. },
  27887. "isanonymous": {
  27888. "description": "是否匿名下单 - 0:否 1:是",
  27889. "type": "integer"
  27890. },
  27891. "maxinvestornum": {
  27892. "description": "最大用户数(经纪会员下投资者个数)",
  27893. "type": "integer"
  27894. },
  27895. "memberuserid": {
  27896. "description": "所属会员ID",
  27897. "type": "integer"
  27898. },
  27899. "modifierid": {
  27900. "description": "修改人",
  27901. "type": "integer"
  27902. },
  27903. "modifyremark": {
  27904. "description": "变更备注",
  27905. "type": "string"
  27906. },
  27907. "modifystatus": {
  27908. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27909. "type": "integer"
  27910. },
  27911. "modifytime": {
  27912. "description": "修改时间",
  27913. "type": "string"
  27914. },
  27915. "parenttopuser": {
  27916. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27917. "type": "string"
  27918. },
  27919. "parentuserid": {
  27920. "description": "所属机构ID",
  27921. "type": "integer"
  27922. },
  27923. "reckonaccountid": {
  27924. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27925. "type": "integer"
  27926. },
  27927. "refercount": {
  27928. "description": "推荐总人数",
  27929. "type": "integer"
  27930. },
  27931. "refereeuserid": {
  27932. "description": "推荐人ID",
  27933. "type": "integer"
  27934. },
  27935. "refernum": {
  27936. "description": "推荐码",
  27937. "type": "string"
  27938. },
  27939. "rootuserid": {
  27940. "description": "根用户ID",
  27941. "type": "integer"
  27942. },
  27943. "subaccountlevel": {
  27944. "description": "子账户层数",
  27945. "type": "integer"
  27946. },
  27947. "subarealevelpath": {
  27948. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27949. "type": "string"
  27950. },
  27951. "userid": {
  27952. "description": "用户ID",
  27953. "type": "integer"
  27954. },
  27955. "usertype": {
  27956. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27957. "type": "integer"
  27958. }
  27959. }
  27960. },
  27961. "models.Userfavoritegoods": {
  27962. "type": "object",
  27963. "required": [
  27964. "goodsid"
  27965. ],
  27966. "properties": {
  27967. "goodsid": {
  27968. "description": "商品ID",
  27969. "type": "integer"
  27970. }
  27971. }
  27972. },
  27973. "models.Userinfo": {
  27974. "type": "object",
  27975. "required": [
  27976. "userid"
  27977. ],
  27978. "properties": {
  27979. "address": {
  27980. "description": "地址",
  27981. "type": "string"
  27982. },
  27983. "attachment1": {
  27984. "description": "附件1",
  27985. "type": "string"
  27986. },
  27987. "attachment2": {
  27988. "description": "附件2",
  27989. "type": "string"
  27990. },
  27991. "bankaccount": {
  27992. "description": "银行帐号 (加密存储)",
  27993. "type": "string"
  27994. },
  27995. "bankaccountname": {
  27996. "description": "收款人名称",
  27997. "type": "string"
  27998. },
  27999. "bankcardfrontphotourl": {
  28000. "description": "银行卡正面照地址",
  28001. "type": "string"
  28002. },
  28003. "bankid": {
  28004. "description": "银行编码",
  28005. "type": "string"
  28006. },
  28007. "bankname": {
  28008. "description": "银行名称",
  28009. "type": "string"
  28010. },
  28011. "biznature": {
  28012. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28013. "type": "integer"
  28014. },
  28015. "bizscope": {
  28016. "description": "企业经营范围(企业)",
  28017. "type": "string"
  28018. },
  28019. "cardbackphotourl": {
  28020. "description": "证件背面图片地址",
  28021. "type": "string"
  28022. },
  28023. "cardfrontphotourl": {
  28024. "description": "证件正面图片地址",
  28025. "type": "string"
  28026. },
  28027. "cardnum": {
  28028. "description": "证件号码(加密存储)",
  28029. "type": "string"
  28030. },
  28031. "cardtypeid": {
  28032. "description": "证件类型ID",
  28033. "type": "integer"
  28034. },
  28035. "cityid": {
  28036. "description": "市",
  28037. "type": "integer"
  28038. },
  28039. "company": {
  28040. "description": "公司(个人)",
  28041. "type": "string"
  28042. },
  28043. "contactname": {
  28044. "description": "联系人",
  28045. "type": "string"
  28046. },
  28047. "countryid": {
  28048. "description": "国家",
  28049. "type": "integer"
  28050. },
  28051. "createtime": {
  28052. "description": "创建时间",
  28053. "type": "string"
  28054. },
  28055. "creatorid": {
  28056. "description": "创建人",
  28057. "type": "integer"
  28058. },
  28059. "customername": {
  28060. "description": "客户名称(企业名称)",
  28061. "type": "string"
  28062. },
  28063. "districtid": {
  28064. "description": "地区",
  28065. "type": "integer"
  28066. },
  28067. "email": {
  28068. "description": "邮件(加密存储)",
  28069. "type": "string"
  28070. },
  28071. "fax": {
  28072. "description": "传真(加密存储)",
  28073. "type": "string"
  28074. },
  28075. "halfbodyphotourl": {
  28076. "description": "半身照地址",
  28077. "type": "string"
  28078. },
  28079. "hasencrypt": {
  28080. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28081. "type": "integer"
  28082. },
  28083. "headurl": {
  28084. "description": "头像地址",
  28085. "type": "string"
  28086. },
  28087. "legalcardbackphotourl": {
  28088. "description": "法人身份证背面照地址",
  28089. "type": "string"
  28090. },
  28091. "legalcardfrontphotourl": {
  28092. "description": "法人身份证正面照地址",
  28093. "type": "string"
  28094. },
  28095. "legalpersonname": {
  28096. "description": "法人姓名(企业)",
  28097. "type": "string"
  28098. },
  28099. "mobile": {
  28100. "description": "手机号码(加密存储)",
  28101. "type": "string"
  28102. },
  28103. "mobile2": {
  28104. "description": "手机号码[明文-尚志]",
  28105. "type": "string"
  28106. },
  28107. "modifierid": {
  28108. "description": "修改人",
  28109. "type": "integer"
  28110. },
  28111. "modifiertime": {
  28112. "description": "修改时间",
  28113. "type": "string"
  28114. },
  28115. "needinvoice": {
  28116. "description": "是否需要发票 - 0:不需要 1:需要",
  28117. "type": "integer"
  28118. },
  28119. "nickname": {
  28120. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  28121. "type": "string"
  28122. },
  28123. "openmode": {
  28124. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  28125. "type": "integer"
  28126. },
  28127. "otherurl": {
  28128. "description": "其它图片地址[使用分号分隔]",
  28129. "type": "string"
  28130. },
  28131. "postalcode": {
  28132. "description": "邮政编码",
  28133. "type": "string"
  28134. },
  28135. "provinceid": {
  28136. "description": "省",
  28137. "type": "integer"
  28138. },
  28139. "qq": {
  28140. "description": "QQ(加密存储",
  28141. "type": "string"
  28142. },
  28143. "remark": {
  28144. "description": "备注",
  28145. "type": "string"
  28146. },
  28147. "sex": {
  28148. "description": "用户性别 0: 女 1: 男",
  28149. "type": "integer"
  28150. },
  28151. "signpdfurl": {
  28152. "description": "签约pdf文件",
  28153. "type": "string"
  28154. },
  28155. "telphone": {
  28156. "description": "联系电话(加密存储)",
  28157. "type": "string"
  28158. },
  28159. "userid": {
  28160. "description": "用户ID",
  28161. "type": "integer"
  28162. },
  28163. "userinfotype": {
  28164. "description": "用户信息类型 - 1:个人 2:企业",
  28165. "type": "integer"
  28166. },
  28167. "userstatus": {
  28168. "description": "用户状态 - 1:正常 2:注销",
  28169. "type": "integer"
  28170. },
  28171. "usertype": {
  28172. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  28173. "type": "integer"
  28174. },
  28175. "wechat": {
  28176. "description": "微信(加密存储)",
  28177. "type": "string"
  28178. },
  28179. "wskhinfo": {
  28180. "description": "开户申请信息(JSON)",
  28181. "type": "string"
  28182. }
  28183. }
  28184. },
  28185. "models.WRSConverTDetail": {
  28186. "type": "object",
  28187. "properties": {
  28188. "convertratio": {
  28189. "description": "套保系数",
  28190. "type": "number"
  28191. },
  28192. "deliverygoodscode": {
  28193. "description": "现货商品代码",
  28194. "type": "string"
  28195. },
  28196. "deliverygoodsid": {
  28197. "description": "现货品种ID",
  28198. "type": "integer"
  28199. },
  28200. "deliverygoodsname": {
  28201. "description": "现货商品名称",
  28202. "type": "string"
  28203. },
  28204. "enumdicname": {
  28205. "description": "单位名称",
  28206. "type": "string"
  28207. },
  28208. "goodsunitid": {
  28209. "description": "套保品种单位id",
  28210. "type": "integer"
  28211. },
  28212. "middlegoodscode": {
  28213. "description": "套保品种代码",
  28214. "type": "string"
  28215. },
  28216. "middlegoodsid": {
  28217. "description": "套保品种ID",
  28218. "type": "integer"
  28219. },
  28220. "middlegoodsname": {
  28221. "description": "套保品种名称",
  28222. "type": "string"
  28223. },
  28224. "modifytime": {
  28225. "description": "修改时间",
  28226. "type": "string"
  28227. },
  28228. "wrstandardid": {
  28229. "description": "品类ID",
  28230. "type": "integer"
  28231. }
  28232. }
  28233. },
  28234. "models.WRStandardInfo": {
  28235. "type": "object",
  28236. "required": [
  28237. "wrstandardid"
  28238. ],
  28239. "properties": {
  28240. "areauserid": {
  28241. "description": "所属机构",
  28242. "type": "integer"
  28243. },
  28244. "convertfactor": {
  28245. "description": "标仓系数",
  28246. "type": "number"
  28247. },
  28248. "createtime": {
  28249. "description": "创建时间",
  28250. "type": "string"
  28251. },
  28252. "creatorid": {
  28253. "description": "创建人",
  28254. "type": "integer"
  28255. },
  28256. "deliverygoodsid": {
  28257. "description": "品种ID",
  28258. "type": "integer"
  28259. },
  28260. "deliverygoodsname": {
  28261. "description": "交割商品名称",
  28262. "type": "string"
  28263. },
  28264. "factoryitemjson": {
  28265. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  28266. "type": "string"
  28267. },
  28268. "isvalid": {
  28269. "description": "是否有效 - 0:无效 1:有效",
  28270. "type": "integer"
  28271. },
  28272. "minivalue": {
  28273. "description": "最小变动值",
  28274. "type": "integer"
  28275. },
  28276. "minivaluedp": {
  28277. "description": "最小变动值小数位",
  28278. "type": "integer"
  28279. },
  28280. "realminivalue": {
  28281. "description": "实际最小变动值",
  28282. "type": "integer"
  28283. },
  28284. "realminivaluedp": {
  28285. "description": "实际最小变动值小数位",
  28286. "type": "integer"
  28287. },
  28288. "remark": {
  28289. "description": "备注",
  28290. "type": "string"
  28291. },
  28292. "unitid": {
  28293. "description": "单位ID",
  28294. "type": "integer"
  28295. },
  28296. "unitname": {
  28297. "description": "单位",
  28298. "type": "string"
  28299. },
  28300. "updatetime": {
  28301. "description": "更新时间",
  28302. "type": "string"
  28303. },
  28304. "updatorid": {
  28305. "description": "更新人",
  28306. "type": "integer"
  28307. },
  28308. "wrsstatus": {
  28309. "description": "状态 - 作废 - 0:未激活 1:正常",
  28310. "type": "integer"
  28311. },
  28312. "wrstandardcode": {
  28313. "description": "现货品类代码",
  28314. "type": "string"
  28315. },
  28316. "wrstandardid": {
  28317. "description": "现货品类ID(SEQ_WRSTANDARD)",
  28318. "type": "integer"
  28319. },
  28320. "wrstandardname": {
  28321. "description": "现货品类名称",
  28322. "type": "string"
  28323. }
  28324. }
  28325. },
  28326. "models.Warehouseinfo": {
  28327. "type": "object",
  28328. "required": [
  28329. "autoid",
  28330. "warehousecode"
  28331. ],
  28332. "properties": {
  28333. "address": {
  28334. "description": "详细地址",
  28335. "type": "string"
  28336. },
  28337. "areauserid": {
  28338. "description": "所属机构",
  28339. "type": "integer"
  28340. },
  28341. "autoid": {
  28342. "description": "自增ID",
  28343. "type": "integer"
  28344. },
  28345. "cityid": {
  28346. "description": "市",
  28347. "type": "integer"
  28348. },
  28349. "contactname": {
  28350. "description": "联系人",
  28351. "type": "string"
  28352. },
  28353. "contactnum": {
  28354. "description": "联系电话",
  28355. "type": "string"
  28356. },
  28357. "countryid": {
  28358. "description": "国家",
  28359. "type": "integer"
  28360. },
  28361. "createtime": {
  28362. "description": "创建时间",
  28363. "type": "string"
  28364. },
  28365. "districtid": {
  28366. "description": "区",
  28367. "type": "integer"
  28368. },
  28369. "hasvideo": {
  28370. "description": "是否有视频 - 0:无 1:有",
  28371. "type": "integer"
  28372. },
  28373. "provinceid": {
  28374. "description": "省",
  28375. "type": "integer"
  28376. },
  28377. "remark": {
  28378. "description": "审核备注",
  28379. "type": "string"
  28380. },
  28381. "videourl": {
  28382. "description": "视频地址",
  28383. "type": "string"
  28384. },
  28385. "warehousecode": {
  28386. "description": "仓库代码",
  28387. "type": "string"
  28388. },
  28389. "warehousename": {
  28390. "description": "仓库名称",
  28391. "type": "string"
  28392. },
  28393. "warehousestatus": {
  28394. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  28395. "type": "integer"
  28396. },
  28397. "warehousetype": {
  28398. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  28399. "type": "integer"
  28400. }
  28401. }
  28402. },
  28403. "order.QueryHisTradeDetailRsp": {
  28404. "type": "object",
  28405. "required": [
  28406. "accountid",
  28407. "buyorsell",
  28408. "goodsid",
  28409. "histradedate",
  28410. "marketid",
  28411. "memberuserid",
  28412. "orderid",
  28413. "tradeamount",
  28414. "tradedate",
  28415. "tradeid",
  28416. "tradeprice",
  28417. "tradeqty",
  28418. "tradetime"
  28419. ],
  28420. "properties": {
  28421. "accountid": {
  28422. "description": "账户ID[报价币种]",
  28423. "type": "integer"
  28424. },
  28425. "advanceratio": {
  28426. "description": "首付比率",
  28427. "type": "number"
  28428. },
  28429. "buildtype": {
  28430. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28431. "type": "integer"
  28432. },
  28433. "buyorsell": {
  28434. "description": "方向 - 0:买 1:卖",
  28435. "type": "integer"
  28436. },
  28437. "charge": {
  28438. "description": "手续费",
  28439. "type": "number"
  28440. },
  28441. "closecharge": {
  28442. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28443. "type": "number"
  28444. },
  28445. "closeexchagechargevalue": {
  28446. "description": "平仓交易所手续费设置值",
  28447. "type": "number"
  28448. },
  28449. "closefeealgorithm": {
  28450. "description": "平仓手续费收取方式 1:比率 2:固定",
  28451. "type": "integer"
  28452. },
  28453. "closememberchargevalue": {
  28454. "description": "平仓会员手续费设置值",
  28455. "type": "number"
  28456. },
  28457. "closepl": {
  28458. "description": "平仓盈亏",
  28459. "type": "number"
  28460. },
  28461. "closepl2": {
  28462. "description": "平仓盈亏[逐笔]",
  28463. "type": "number"
  28464. },
  28465. "closeqty": {
  28466. "description": "平仓数量(先建后平操作 需要记录)",
  28467. "type": "number"
  28468. },
  28469. "creditamount": {
  28470. "description": "授信金额",
  28471. "type": "number"
  28472. },
  28473. "decimalplace": {
  28474. "description": "商品报价小数位",
  28475. "type": "integer"
  28476. },
  28477. "enumdicname": {
  28478. "description": "单位名称",
  28479. "type": "string"
  28480. },
  28481. "gcaccountid": {
  28482. "description": "账户ID[合约币种]",
  28483. "type": "integer"
  28484. },
  28485. "goodscode": {
  28486. "description": "商品代码",
  28487. "type": "string"
  28488. },
  28489. "goodsid": {
  28490. "description": "商品ID",
  28491. "type": "integer"
  28492. },
  28493. "goodsname": {
  28494. "description": "商品名称",
  28495. "type": "string"
  28496. },
  28497. "goodunitid": {
  28498. "description": "商品单位id",
  28499. "type": "integer"
  28500. },
  28501. "histradedate": {
  28502. "description": "历史交易日",
  28503. "type": "string"
  28504. },
  28505. "intclosepl": {
  28506. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28507. "type": "integer"
  28508. },
  28509. "isconfirmexercise": {
  28510. "description": "是否确认行权- 0:否 1:是",
  28511. "type": "integer"
  28512. },
  28513. "ismain": {
  28514. "description": "是否主单 - 0:不是 1:是",
  28515. "type": "integer"
  28516. },
  28517. "ispreexercise": {
  28518. "description": "是否预申报- 0:否 1:是",
  28519. "type": "integer"
  28520. },
  28521. "isreckoned": {
  28522. "description": "是否结算 - 0:未结算 1:已结算",
  28523. "type": "integer"
  28524. },
  28525. "isvaliddata": {
  28526. "description": "是否有效 - 0:无效 1:有效",
  28527. "type": "integer"
  28528. },
  28529. "listingselecttype": {
  28530. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28531. "type": "integer"
  28532. },
  28533. "marketid": {
  28534. "description": "市场ID",
  28535. "type": "integer"
  28536. },
  28537. "marketname": {
  28538. "description": "市场名称",
  28539. "type": "string"
  28540. },
  28541. "matchaccountid": {
  28542. "description": "对手账号id",
  28543. "type": "integer"
  28544. },
  28545. "memberuserid": {
  28546. "description": "会员id 个人投资者 需要填写",
  28547. "type": "integer"
  28548. },
  28549. "opencharge": {
  28550. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28551. "type": "number"
  28552. },
  28553. "openexchagechargevalue": {
  28554. "description": "建仓交易所手续费设置值",
  28555. "type": "number"
  28556. },
  28557. "openfeealgorithm": {
  28558. "description": "建仓手续费收取方式 1:比率 2:固定",
  28559. "type": "integer"
  28560. },
  28561. "openmemberchargevalue": {
  28562. "description": "建仓会员手续费设置值",
  28563. "type": "number"
  28564. },
  28565. "openqty": {
  28566. "description": "开仓数量(先建后平操作 需要记录)",
  28567. "type": "number"
  28568. },
  28569. "optiontype": {
  28570. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28571. "type": "integer"
  28572. },
  28573. "orderid": {
  28574. "description": "委托单号",
  28575. "type": "string"
  28576. },
  28577. "payamount": {
  28578. "description": "支付金额(付款金额)",
  28579. "type": "number"
  28580. },
  28581. "performanceplanid": {
  28582. "description": "履约计划ID[期权]",
  28583. "type": "integer"
  28584. },
  28585. "performancestatus": {
  28586. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28587. "type": "integer"
  28588. },
  28589. "preexerciseprice": {
  28590. "description": "预申报价格",
  28591. "type": "number"
  28592. },
  28593. "premium": {
  28594. "description": "权利金 - [持仓单的权利金]",
  28595. "type": "number"
  28596. },
  28597. "qtydecimalplace": {
  28598. "description": "商品报价小数位",
  28599. "type": "integer"
  28600. },
  28601. "recvamount": {
  28602. "description": "到账金额 = 成交金额 - 手续费",
  28603. "type": "number"
  28604. },
  28605. "relatedouttradeid": {
  28606. "description": "关联外部成交单ID",
  28607. "type": "integer"
  28608. },
  28609. "status": {
  28610. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28611. "type": "integer"
  28612. },
  28613. "totalamount": {
  28614. "description": "订单总额 = 成交金额 + 手续费",
  28615. "type": "number"
  28616. },
  28617. "tradeamount": {
  28618. "description": "成交金额[账户币种,用于所有权]",
  28619. "type": "number"
  28620. },
  28621. "tradedate": {
  28622. "description": "交易日(yyyyMMdd)",
  28623. "type": "string"
  28624. },
  28625. "tradeid": {
  28626. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28627. "type": "string"
  28628. },
  28629. "trademode": {
  28630. "description": "交易模式",
  28631. "type": "integer"
  28632. },
  28633. "tradeprice": {
  28634. "description": "成交价格",
  28635. "type": "number"
  28636. },
  28637. "tradeproperty": {
  28638. "description": "交易属性",
  28639. "type": "integer"
  28640. },
  28641. "tradeqty": {
  28642. "description": "成交数量",
  28643. "type": "number"
  28644. },
  28645. "tradetime": {
  28646. "description": "成交时间",
  28647. "type": "string"
  28648. },
  28649. "tradetype": {
  28650. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28651. "type": "integer"
  28652. }
  28653. }
  28654. },
  28655. "order.QueryHisTradeOrderDetailRsp": {
  28656. "type": "object",
  28657. "required": [
  28658. "accountid",
  28659. "buildtype",
  28660. "buyorsell",
  28661. "goodsid",
  28662. "histradedate",
  28663. "marketid",
  28664. "memberuserid",
  28665. "operatetype",
  28666. "orderid",
  28667. "orderqty",
  28668. "ordertime",
  28669. "pricemode",
  28670. "tradedate",
  28671. "validtype"
  28672. ],
  28673. "properties": {
  28674. "accountid": {
  28675. "description": "账户ID[报价币种]",
  28676. "type": "integer"
  28677. },
  28678. "buildtype": {
  28679. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28680. "type": "integer"
  28681. },
  28682. "buyorsell": {
  28683. "description": "买卖 - 0:买 1:卖",
  28684. "type": "integer"
  28685. },
  28686. "cancelorderid": {
  28687. "description": "撤单单号(撤单时填写)",
  28688. "type": "string"
  28689. },
  28690. "cancelqty": {
  28691. "description": "撤单数量",
  28692. "type": "number"
  28693. },
  28694. "clientordertime": {
  28695. "description": "客户端委托时间",
  28696. "type": "string"
  28697. },
  28698. "clientticket": {
  28699. "description": "客户端流水号",
  28700. "type": "string"
  28701. },
  28702. "clienttype": {
  28703. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  28704. "type": "integer"
  28705. },
  28706. "closeexchagechargevalue": {
  28707. "description": "平仓交易所手续费设置值",
  28708. "type": "number"
  28709. },
  28710. "closefeealgorithm": {
  28711. "description": "平仓手续费收取方式 1:比率 2:固定",
  28712. "type": "integer"
  28713. },
  28714. "closefreezecharge": {
  28715. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  28716. "type": "number"
  28717. },
  28718. "closememberchargevalue": {
  28719. "description": "平仓会员手续费设置值",
  28720. "type": "number"
  28721. },
  28722. "closeqty": {
  28723. "description": "平仓数量(先建后平操作 需要记录)",
  28724. "type": "number"
  28725. },
  28726. "closetradeqty": {
  28727. "description": "平仓成交数量(先建后平操作,需要记录)",
  28728. "type": "number"
  28729. },
  28730. "closeunfreezecharge": {
  28731. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  28732. "type": "number"
  28733. },
  28734. "decimalplace": {
  28735. "description": "商品报价小数位",
  28736. "type": "integer"
  28737. },
  28738. "delistingtype": {
  28739. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  28740. "type": "integer"
  28741. },
  28742. "enumdicname": {
  28743. "description": "单位名称",
  28744. "type": "string"
  28745. },
  28746. "freezecharge": {
  28747. "description": "冻结手续费",
  28748. "type": "number"
  28749. },
  28750. "freezemargin": {
  28751. "description": "冻结保证金(冻结交易金额)",
  28752. "type": "number"
  28753. },
  28754. "gcaccountid": {
  28755. "description": "账户ID[合约币种]",
  28756. "type": "integer"
  28757. },
  28758. "goodscode": {
  28759. "description": "商品代码",
  28760. "type": "string"
  28761. },
  28762. "goodsid": {
  28763. "description": "商品ID",
  28764. "type": "integer"
  28765. },
  28766. "goodsname": {
  28767. "description": "商品名称",
  28768. "type": "string"
  28769. },
  28770. "goodunitid": {
  28771. "description": "商品单位id",
  28772. "type": "integer"
  28773. },
  28774. "histradedate": {
  28775. "description": "历史交易日",
  28776. "type": "string"
  28777. },
  28778. "isconfirmexercise": {
  28779. "description": "是否确认行权- 0:否 1:是",
  28780. "type": "integer"
  28781. },
  28782. "ispreexercise": {
  28783. "description": "是否预申报- 0:否 1:是",
  28784. "type": "integer"
  28785. },
  28786. "isvaliddata": {
  28787. "description": "是否有效 - 0:无效 1:有效",
  28788. "type": "integer"
  28789. },
  28790. "listingselecttype": {
  28791. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28792. "type": "integer"
  28793. },
  28794. "marginalgorithm": {
  28795. "description": "保证金收取方式 1:比率 2:固定",
  28796. "type": "integer"
  28797. },
  28798. "marginvalue": {
  28799. "description": "即市保证金设置值",
  28800. "type": "number"
  28801. },
  28802. "marketid": {
  28803. "description": "市场ID",
  28804. "type": "integer"
  28805. },
  28806. "marketmaxsub": {
  28807. "description": "市价最大偏移范围",
  28808. "type": "number"
  28809. },
  28810. "marketname": {
  28811. "description": "市场名称",
  28812. "type": "string"
  28813. },
  28814. "memberuserid": {
  28815. "description": "所属会员UserID",
  28816. "type": "integer"
  28817. },
  28818. "openexchagechargevalue": {
  28819. "description": "建仓交易所手续费设置值",
  28820. "type": "number"
  28821. },
  28822. "openfeealgorithm": {
  28823. "description": "建仓手续费收取方式 1:比率 2:固定",
  28824. "type": "integer"
  28825. },
  28826. "openfreezecharge": {
  28827. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  28828. "type": "number"
  28829. },
  28830. "openmemberchargevalue": {
  28831. "description": "建仓会员手续费设置值",
  28832. "type": "number"
  28833. },
  28834. "openqty": {
  28835. "description": "开仓数量(先建后平操作,需要记录)",
  28836. "type": "number"
  28837. },
  28838. "opentradeqty": {
  28839. "description": "开仓成交数量(先建后平操作,需要记录)",
  28840. "type": "number"
  28841. },
  28842. "openunfreezecharge": {
  28843. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  28844. "type": "number"
  28845. },
  28846. "operatetype": {
  28847. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  28848. "type": "integer"
  28849. },
  28850. "operatorid": {
  28851. "description": "登录账号(LoginID)",
  28852. "type": "integer"
  28853. },
  28854. "optiontype": {
  28855. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28856. "type": "integer"
  28857. },
  28858. "orderid": {
  28859. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28860. "type": "string"
  28861. },
  28862. "orderprice": {
  28863. "description": "委托价格",
  28864. "type": "number"
  28865. },
  28866. "orderqty": {
  28867. "description": "委托数量",
  28868. "type": "number"
  28869. },
  28870. "ordersrc": {
  28871. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  28872. "type": "integer"
  28873. },
  28874. "orderstatus": {
  28875. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  28876. "type": "integer"
  28877. },
  28878. "ordertime": {
  28879. "description": "委托时间",
  28880. "type": "string"
  28881. },
  28882. "preexerciseprice": {
  28883. "description": "预申报价格",
  28884. "type": "number"
  28885. },
  28886. "premium": {
  28887. "description": "权利金",
  28888. "type": "number"
  28889. },
  28890. "preorderid": {
  28891. "description": "关联预埋单号(止盈止损单时填写)",
  28892. "type": "string"
  28893. },
  28894. "pricemode": {
  28895. "description": "取价方式 - 1:市价 2: 限价",
  28896. "type": "integer"
  28897. },
  28898. "qtydecimalplace": {
  28899. "description": "成交量小数位",
  28900. "type": "integer"
  28901. },
  28902. "quoteid": {
  28903. "description": "报价单ID",
  28904. "type": "integer"
  28905. },
  28906. "relatedid": {
  28907. "description": "关联单号(交割单)",
  28908. "type": "string"
  28909. },
  28910. "retcode": {
  28911. "description": "错误代码",
  28912. "type": "integer"
  28913. },
  28914. "sessionid": {
  28915. "description": "会话ID",
  28916. "type": "integer"
  28917. },
  28918. "tradedate": {
  28919. "description": "交易日(yyyyMMdd)",
  28920. "type": "string"
  28921. },
  28922. "trademode": {
  28923. "description": "交易模式",
  28924. "type": "integer"
  28925. },
  28926. "tradeproperty": {
  28927. "description": "交易属性",
  28928. "type": "integer"
  28929. },
  28930. "tradeqty": {
  28931. "description": "成交数量",
  28932. "type": "number"
  28933. },
  28934. "unfreezecharge": {
  28935. "description": "解冻手续费",
  28936. "type": "number"
  28937. },
  28938. "unfreezemargin": {
  28939. "description": "解冻保证金",
  28940. "type": "number"
  28941. },
  28942. "updatetime": {
  28943. "description": "更新时间",
  28944. "type": "string"
  28945. },
  28946. "uuid": {
  28947. "description": "发起端唯一id",
  28948. "type": "string"
  28949. },
  28950. "validtime": {
  28951. "description": "有效期限",
  28952. "type": "string"
  28953. },
  28954. "validtype": {
  28955. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  28956. "type": "integer"
  28957. },
  28958. "volumetype": {
  28959. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  28960. "type": "integer"
  28961. }
  28962. }
  28963. },
  28964. "order.QueryTradeDetailRsp": {
  28965. "type": "object",
  28966. "required": [
  28967. "accountid",
  28968. "buyorsell",
  28969. "goodsid",
  28970. "marketid",
  28971. "memberuserid",
  28972. "orderid",
  28973. "tradeamount",
  28974. "tradedate",
  28975. "tradeid",
  28976. "tradeprice",
  28977. "tradeqty",
  28978. "tradetime"
  28979. ],
  28980. "properties": {
  28981. "accountid": {
  28982. "description": "账户ID[报价币种]",
  28983. "type": "integer"
  28984. },
  28985. "advanceratio": {
  28986. "description": "首付比率",
  28987. "type": "number"
  28988. },
  28989. "buildtype": {
  28990. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28991. "type": "integer"
  28992. },
  28993. "buyorsell": {
  28994. "description": "方向 - 0:买 1:卖",
  28995. "type": "integer"
  28996. },
  28997. "charge": {
  28998. "description": "手续费",
  28999. "type": "number"
  29000. },
  29001. "closecharge": {
  29002. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29003. "type": "number"
  29004. },
  29005. "closeexchagechargevalue": {
  29006. "description": "平仓交易所手续费设置值",
  29007. "type": "number"
  29008. },
  29009. "closefeealgorithm": {
  29010. "description": "平仓手续费收取方式 1:比率 2:固定",
  29011. "type": "integer"
  29012. },
  29013. "closememberchargevalue": {
  29014. "description": "平仓会员手续费设置值",
  29015. "type": "number"
  29016. },
  29017. "closepl": {
  29018. "description": "平仓盈亏",
  29019. "type": "number"
  29020. },
  29021. "closepl2": {
  29022. "description": "平仓盈亏[逐笔]",
  29023. "type": "number"
  29024. },
  29025. "closeqty": {
  29026. "description": "平仓数量(先建后平操作 需要记录)",
  29027. "type": "number"
  29028. },
  29029. "creditamount": {
  29030. "description": "授信金额",
  29031. "type": "number"
  29032. },
  29033. "decimalplace": {
  29034. "description": "商品报价小数位",
  29035. "type": "integer"
  29036. },
  29037. "enumdicname": {
  29038. "description": "单位名称",
  29039. "type": "string"
  29040. },
  29041. "gcaccountid": {
  29042. "description": "账户ID[合约币种]",
  29043. "type": "integer"
  29044. },
  29045. "goodscode": {
  29046. "description": "商品代码",
  29047. "type": "string"
  29048. },
  29049. "goodsid": {
  29050. "description": "商品ID",
  29051. "type": "integer"
  29052. },
  29053. "goodsname": {
  29054. "description": "商品名称",
  29055. "type": "string"
  29056. },
  29057. "goodunitid": {
  29058. "description": "商品单位id",
  29059. "type": "integer"
  29060. },
  29061. "intclosepl": {
  29062. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  29063. "type": "integer"
  29064. },
  29065. "isconfirmexercise": {
  29066. "description": "是否确认行权- 0:否 1:是",
  29067. "type": "integer"
  29068. },
  29069. "ismain": {
  29070. "description": "是否主单 - 0:不是 1:是",
  29071. "type": "integer"
  29072. },
  29073. "ispreexercise": {
  29074. "description": "是否预申报- 0:否 1:是",
  29075. "type": "integer"
  29076. },
  29077. "isreckoned": {
  29078. "description": "是否结算 - 0:未结算 1:已结算",
  29079. "type": "integer"
  29080. },
  29081. "listingselecttype": {
  29082. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29083. "type": "integer"
  29084. },
  29085. "marketid": {
  29086. "description": "市场ID",
  29087. "type": "integer"
  29088. },
  29089. "marketname": {
  29090. "description": "市场名称",
  29091. "type": "string"
  29092. },
  29093. "matchaccountid": {
  29094. "description": "对手账号id",
  29095. "type": "integer"
  29096. },
  29097. "memberuserid": {
  29098. "description": "会员id 个人投资者 需要填写",
  29099. "type": "integer"
  29100. },
  29101. "opencharge": {
  29102. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29103. "type": "number"
  29104. },
  29105. "openexchagechargevalue": {
  29106. "description": "建仓交易所手续费设置值",
  29107. "type": "number"
  29108. },
  29109. "openfeealgorithm": {
  29110. "description": "建仓手续费收取方式 1:比率 2:固定",
  29111. "type": "integer"
  29112. },
  29113. "openmemberchargevalue": {
  29114. "description": "建仓会员手续费设置值",
  29115. "type": "number"
  29116. },
  29117. "openqty": {
  29118. "description": "开仓数量(先建后平操作 需要记录)",
  29119. "type": "number"
  29120. },
  29121. "optiontype": {
  29122. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  29123. "type": "integer"
  29124. },
  29125. "orderid": {
  29126. "description": "委托单号",
  29127. "type": "string"
  29128. },
  29129. "payamount": {
  29130. "description": "支付金额(付款金额)",
  29131. "type": "number"
  29132. },
  29133. "performanceplanid": {
  29134. "description": "履约计划ID[期权]",
  29135. "type": "integer"
  29136. },
  29137. "performancestatus": {
  29138. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  29139. "type": "integer"
  29140. },
  29141. "preexerciseprice": {
  29142. "description": "预申报价格",
  29143. "type": "number"
  29144. },
  29145. "premium": {
  29146. "description": "权利金 - [持仓单的权利金]",
  29147. "type": "number"
  29148. },
  29149. "qtydecimalplace": {
  29150. "description": "商品报价小数位",
  29151. "type": "integer"
  29152. },
  29153. "recvamount": {
  29154. "description": "到账金额 = 成交金额 - 手续费",
  29155. "type": "number"
  29156. },
  29157. "relatedouttradeid": {
  29158. "description": "关联外部成交单ID",
  29159. "type": "integer"
  29160. },
  29161. "status": {
  29162. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  29163. "type": "integer"
  29164. },
  29165. "totalamount": {
  29166. "description": "订单总额 = 成交金额 + 手续费",
  29167. "type": "number"
  29168. },
  29169. "tradeamount": {
  29170. "description": "成交金额[账户币种,用于所有权]",
  29171. "type": "number"
  29172. },
  29173. "tradedate": {
  29174. "description": "交易日(yyyyMMdd)",
  29175. "type": "string"
  29176. },
  29177. "tradeid": {
  29178. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29179. "type": "string"
  29180. },
  29181. "trademode": {
  29182. "description": "交易模式",
  29183. "type": "integer"
  29184. },
  29185. "tradeprice": {
  29186. "description": "成交价格",
  29187. "type": "number"
  29188. },
  29189. "tradeproperty": {
  29190. "description": "交易属性",
  29191. "type": "integer"
  29192. },
  29193. "tradeqty": {
  29194. "description": "成交数量",
  29195. "type": "number"
  29196. },
  29197. "tradetime": {
  29198. "description": "成交时间",
  29199. "type": "string"
  29200. },
  29201. "tradetype": {
  29202. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  29203. "type": "integer"
  29204. }
  29205. }
  29206. },
  29207. "order.QueryTradeOrderDetailRsp": {
  29208. "type": "object",
  29209. "required": [
  29210. "accountid",
  29211. "buildtype",
  29212. "buyorsell",
  29213. "goodsid",
  29214. "marketid",
  29215. "operatetype",
  29216. "orderqty",
  29217. "ordertime",
  29218. "pricemode",
  29219. "tradedate",
  29220. "validtype"
  29221. ],
  29222. "properties": {
  29223. "accountid": {
  29224. "description": "账户ID[报价币种]",
  29225. "type": "integer"
  29226. },
  29227. "buildtype": {
  29228. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  29229. "type": "integer"
  29230. },
  29231. "buyorsell": {
  29232. "description": "买卖 - 0:买 1:卖",
  29233. "type": "integer"
  29234. },
  29235. "cancelorderid": {
  29236. "description": "撤单单号(撤单时填写)",
  29237. "type": "string"
  29238. },
  29239. "cancelqty": {
  29240. "description": "撤单数量",
  29241. "type": "number"
  29242. },
  29243. "clienttype": {
  29244. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29245. "type": "integer"
  29246. },
  29247. "closefreezecharge": {
  29248. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  29249. "type": "number"
  29250. },
  29251. "closeqty": {
  29252. "description": "平仓数量(先建后平操作 需要记录)",
  29253. "type": "number"
  29254. },
  29255. "closetradeqty": {
  29256. "description": "平仓成交数量(先建后平操作,需要记录)",
  29257. "type": "number"
  29258. },
  29259. "closeunfreezecharge": {
  29260. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  29261. "type": "number"
  29262. },
  29263. "decimalplace": {
  29264. "description": "商品报价小数位",
  29265. "type": "integer"
  29266. },
  29267. "delistingtype": {
  29268. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  29269. "type": "integer"
  29270. },
  29271. "enableqty": {
  29272. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  29273. "type": "number"
  29274. },
  29275. "enumdicname": {
  29276. "description": "单位名称",
  29277. "type": "string"
  29278. },
  29279. "freezecharge": {
  29280. "description": "冻结手续费",
  29281. "type": "number"
  29282. },
  29283. "freezemargin": {
  29284. "description": "冻结保证金(冻结交易金额)",
  29285. "type": "number"
  29286. },
  29287. "goodscode": {
  29288. "description": "商品代码",
  29289. "type": "string"
  29290. },
  29291. "goodsid": {
  29292. "description": "商品ID",
  29293. "type": "integer"
  29294. },
  29295. "goodsname": {
  29296. "description": "商品名称",
  29297. "type": "string"
  29298. },
  29299. "goodunitid": {
  29300. "description": "商品单位id",
  29301. "type": "integer"
  29302. },
  29303. "listingselecttype": {
  29304. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29305. "type": "integer"
  29306. },
  29307. "marketid": {
  29308. "description": "市场ID",
  29309. "type": "integer"
  29310. },
  29311. "marketname": {
  29312. "description": "市场名称",
  29313. "type": "string"
  29314. },
  29315. "openfreezecharge": {
  29316. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  29317. "type": "number"
  29318. },
  29319. "openqty": {
  29320. "description": "开仓数量(先建后平操作,需要记录)",
  29321. "type": "number"
  29322. },
  29323. "opentradeqty": {
  29324. "description": "开仓成交数量(先建后平操作,需要记录)",
  29325. "type": "number"
  29326. },
  29327. "openunfreezecharge": {
  29328. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  29329. "type": "number"
  29330. },
  29331. "operatetype": {
  29332. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  29333. "type": "integer"
  29334. },
  29335. "operatorid": {
  29336. "description": "登录账号(LoginID)",
  29337. "type": "integer"
  29338. },
  29339. "orderid": {
  29340. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29341. "type": "string"
  29342. },
  29343. "orderprice": {
  29344. "description": "委托价格",
  29345. "type": "number"
  29346. },
  29347. "orderqty": {
  29348. "description": "委托数量",
  29349. "type": "number"
  29350. },
  29351. "ordersrc": {
  29352. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  29353. "type": "integer"
  29354. },
  29355. "orderstatus": {
  29356. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29357. "type": "integer"
  29358. },
  29359. "ordertime": {
  29360. "description": "委托时间",
  29361. "type": "string"
  29362. },
  29363. "preorderid": {
  29364. "description": "关联预埋单号(止盈止损单时填写)",
  29365. "type": "string"
  29366. },
  29367. "pricemode": {
  29368. "description": "取价方式 - 1:市价 2: 限价",
  29369. "type": "integer"
  29370. },
  29371. "qtydecimalplace": {
  29372. "description": "商品报价小数位",
  29373. "type": "integer"
  29374. },
  29375. "relatedid": {
  29376. "description": "关联单号(交割单)",
  29377. "type": "string"
  29378. },
  29379. "tradedate": {
  29380. "description": "交易日(yyyyMMdd)",
  29381. "type": "string"
  29382. },
  29383. "trademode": {
  29384. "description": "交易模式",
  29385. "type": "integer"
  29386. },
  29387. "tradeqty": {
  29388. "description": "成交数量",
  29389. "type": "number"
  29390. },
  29391. "unfreezecharge": {
  29392. "description": "解冻手续费",
  29393. "type": "number"
  29394. },
  29395. "unfreezemargin": {
  29396. "description": "解冻保证金",
  29397. "type": "number"
  29398. },
  29399. "validtime": {
  29400. "description": "有效期限",
  29401. "type": "string"
  29402. },
  29403. "validtype": {
  29404. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  29405. "type": "integer"
  29406. },
  29407. "volumetype": {
  29408. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  29409. "type": "integer"
  29410. }
  29411. }
  29412. },
  29413. "order.QueryTradePositionRsp": {
  29414. "type": "object",
  29415. "required": [
  29416. "goodsid"
  29417. ],
  29418. "properties": {
  29419. "accountid": {
  29420. "description": "资金账户",
  29421. "type": "integer"
  29422. },
  29423. "agreeunit": {
  29424. "description": "合约单位",
  29425. "type": "number"
  29426. },
  29427. "averageprice": {
  29428. "description": "持仓均价",
  29429. "type": "number"
  29430. },
  29431. "buyorsell": {
  29432. "description": "方向 - 0:买 1:卖",
  29433. "type": "integer"
  29434. },
  29435. "closetotalqty": {
  29436. "description": "平仓总数量",
  29437. "type": "number"
  29438. },
  29439. "curholderamount": {
  29440. "description": "当前持仓总金额[商品币种]",
  29441. "type": "number"
  29442. },
  29443. "curpositionqty": {
  29444. "description": "当前持仓总数量",
  29445. "type": "number"
  29446. },
  29447. "currencyid": {
  29448. "description": "报价货币ID",
  29449. "type": "integer"
  29450. },
  29451. "curtdposition": {
  29452. "description": "期末今日头寸",
  29453. "type": "number"
  29454. },
  29455. "decimalplace": {
  29456. "description": "报价小数位",
  29457. "type": "integer"
  29458. },
  29459. "enableqty": {
  29460. "description": "可用量",
  29461. "type": "number"
  29462. },
  29463. "fretdposition": {
  29464. "description": "冻结今日头寸",
  29465. "type": "number"
  29466. },
  29467. "frozenqty": {
  29468. "description": "持仓冻结数量",
  29469. "type": "number"
  29470. },
  29471. "goodscode": {
  29472. "description": "商品代码",
  29473. "type": "string"
  29474. },
  29475. "goodsid": {
  29476. "description": "商品Id",
  29477. "type": "integer"
  29478. },
  29479. "goodsname": {
  29480. "description": "商品名称",
  29481. "type": "string"
  29482. },
  29483. "goodunit": {
  29484. "description": "报价单位",
  29485. "type": "string"
  29486. },
  29487. "goodunitid": {
  29488. "description": "报价单位ID",
  29489. "type": "integer"
  29490. },
  29491. "holderamount": {
  29492. "description": "期初持仓总金额[商品币种]",
  29493. "type": "number"
  29494. },
  29495. "lastprice": {
  29496. "description": "最新价",
  29497. "type": "number"
  29498. },
  29499. "marketamount": {
  29500. "description": "市值",
  29501. "type": "number"
  29502. },
  29503. "marketid": {
  29504. "description": "所属市场ID",
  29505. "type": "integer"
  29506. },
  29507. "openreqqty": {
  29508. "description": "开仓申请数量(用于比较最大持仓数量)",
  29509. "type": "number"
  29510. },
  29511. "opentotalqty": {
  29512. "description": "开仓总数量",
  29513. "type": "number"
  29514. },
  29515. "otherfrozenqty": {
  29516. "description": "持仓其他冻结数量(交割冻结)",
  29517. "type": "number"
  29518. },
  29519. "positionpl": {
  29520. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  29521. "type": "number"
  29522. },
  29523. "positionplrate": {
  29524. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  29525. "type": "number"
  29526. },
  29527. "positionqty": {
  29528. "description": "期初持仓数量",
  29529. "type": "number"
  29530. },
  29531. "qtydecimalplace": {
  29532. "description": "成交量小数位",
  29533. "type": "integer"
  29534. },
  29535. "tnqty": {
  29536. "description": "T+N冻结总量",
  29537. "type": "number"
  29538. },
  29539. "tnusedqty": {
  29540. "description": "T+N使用量(可以使用T+N的冻结数量)",
  29541. "type": "number"
  29542. },
  29543. "trademode": {
  29544. "description": "交易模式",
  29545. "type": "integer"
  29546. },
  29547. "usedmargin": {
  29548. "description": "占用保证金[商品币种]",
  29549. "type": "number"
  29550. }
  29551. }
  29552. },
  29553. "quote.HistoryData": {
  29554. "type": "object",
  29555. "properties": {
  29556. "c": {
  29557. "description": "收盘价",
  29558. "type": "number"
  29559. },
  29560. "f": {
  29561. "description": "是否补充数据",
  29562. "type": "boolean"
  29563. },
  29564. "h": {
  29565. "description": "最高价",
  29566. "type": "number"
  29567. },
  29568. "hv": {
  29569. "description": "持仓量",
  29570. "type": "integer"
  29571. },
  29572. "l": {
  29573. "description": "最低价",
  29574. "type": "number"
  29575. },
  29576. "o": {
  29577. "description": "开盘价",
  29578. "type": "number"
  29579. },
  29580. "s": {
  29581. "description": "结算价,日线周期(包括)以上才有",
  29582. "type": "number"
  29583. },
  29584. "ts": {
  29585. "description": "时间",
  29586. "type": "string"
  29587. },
  29588. "tt": {
  29589. "description": "总金额",
  29590. "type": "number"
  29591. },
  29592. "tv": {
  29593. "description": "总量",
  29594. "type": "integer"
  29595. }
  29596. }
  29597. },
  29598. "quote.HistoryTikData": {
  29599. "type": "object",
  29600. "properties": {
  29601. "AV": {
  29602. "description": "卖量",
  29603. "type": "integer"
  29604. },
  29605. "Ask": {
  29606. "description": "卖价",
  29607. "type": "number"
  29608. },
  29609. "BV": {
  29610. "description": "买量",
  29611. "type": "integer"
  29612. },
  29613. "Bid": {
  29614. "description": "买价",
  29615. "type": "number"
  29616. },
  29617. "HI": {
  29618. "description": "单笔持仓",
  29619. "type": "integer"
  29620. },
  29621. "HV": {
  29622. "description": "持仓量",
  29623. "type": "integer"
  29624. },
  29625. "PE": {
  29626. "description": "现价",
  29627. "type": "number"
  29628. },
  29629. "TDR": {
  29630. "description": "交易方向,0:买 1:卖",
  29631. "type": "integer"
  29632. },
  29633. "TK": {
  29634. "description": "交易类型",
  29635. "type": "integer"
  29636. },
  29637. "TS": {
  29638. "description": "行情时间文本",
  29639. "type": "string"
  29640. },
  29641. "TT": {
  29642. "description": "现金额",
  29643. "type": "number"
  29644. },
  29645. "Vol": {
  29646. "description": "现量",
  29647. "type": "integer"
  29648. }
  29649. }
  29650. },
  29651. "quote.QueryQuoteDayRsp": {
  29652. "type": "object",
  29653. "properties": {
  29654. "ask": {
  29655. "description": "卖1",
  29656. "type": "number"
  29657. },
  29658. "ask10": {
  29659. "description": "卖10",
  29660. "type": "number"
  29661. },
  29662. "ask2": {
  29663. "description": "卖2",
  29664. "type": "number"
  29665. },
  29666. "ask3": {
  29667. "description": "卖3",
  29668. "type": "number"
  29669. },
  29670. "ask4": {
  29671. "description": "卖4",
  29672. "type": "number"
  29673. },
  29674. "ask5": {
  29675. "description": "卖5",
  29676. "type": "number"
  29677. },
  29678. "ask6": {
  29679. "description": "卖6",
  29680. "type": "number"
  29681. },
  29682. "ask7": {
  29683. "description": "卖7",
  29684. "type": "number"
  29685. },
  29686. "ask8": {
  29687. "description": "卖8",
  29688. "type": "number"
  29689. },
  29690. "ask9": {
  29691. "description": "卖9",
  29692. "type": "number"
  29693. },
  29694. "askorderid": {
  29695. "description": "卖单号1",
  29696. "type": "integer"
  29697. },
  29698. "askorderid2": {
  29699. "description": "卖单号2",
  29700. "type": "integer"
  29701. },
  29702. "askorderid3": {
  29703. "description": "卖单号3",
  29704. "type": "integer"
  29705. },
  29706. "askorderid4": {
  29707. "description": "卖单号4",
  29708. "type": "integer"
  29709. },
  29710. "askorderid5": {
  29711. "description": "卖单号5",
  29712. "type": "integer"
  29713. },
  29714. "askordervolume": {
  29715. "description": "卖单量1",
  29716. "type": "integer"
  29717. },
  29718. "askordervolume10": {
  29719. "description": "卖单量10",
  29720. "type": "integer"
  29721. },
  29722. "askordervolume2": {
  29723. "description": "卖单量2",
  29724. "type": "integer"
  29725. },
  29726. "askordervolume3": {
  29727. "description": "卖单量3",
  29728. "type": "integer"
  29729. },
  29730. "askordervolume4": {
  29731. "description": "卖单量4",
  29732. "type": "integer"
  29733. },
  29734. "askordervolume5": {
  29735. "description": "卖单量5",
  29736. "type": "integer"
  29737. },
  29738. "askordervolume6": {
  29739. "description": "卖单量6",
  29740. "type": "integer"
  29741. },
  29742. "askordervolume7": {
  29743. "description": "卖单量7",
  29744. "type": "integer"
  29745. },
  29746. "askordervolume8": {
  29747. "description": "卖单量8",
  29748. "type": "integer"
  29749. },
  29750. "askordervolume9": {
  29751. "description": "卖单量9",
  29752. "type": "integer"
  29753. },
  29754. "askqueueinfo": {
  29755. "description": "大利市卖港股用",
  29756. "type": "string"
  29757. },
  29758. "askvolume": {
  29759. "description": "卖量1",
  29760. "type": "integer"
  29761. },
  29762. "askvolume10": {
  29763. "description": "卖量10",
  29764. "type": "integer"
  29765. },
  29766. "askvolume2": {
  29767. "description": "卖量2",
  29768. "type": "integer"
  29769. },
  29770. "askvolume3": {
  29771. "description": "卖量3",
  29772. "type": "integer"
  29773. },
  29774. "askvolume4": {
  29775. "description": "卖量4",
  29776. "type": "integer"
  29777. },
  29778. "askvolume5": {
  29779. "description": "卖量5",
  29780. "type": "integer"
  29781. },
  29782. "askvolume6": {
  29783. "description": "卖量6",
  29784. "type": "integer"
  29785. },
  29786. "askvolume7": {
  29787. "description": "卖量7",
  29788. "type": "integer"
  29789. },
  29790. "askvolume8": {
  29791. "description": "卖量8",
  29792. "type": "integer"
  29793. },
  29794. "askvolume9": {
  29795. "description": "卖量9",
  29796. "type": "integer"
  29797. },
  29798. "averageprice": {
  29799. "description": "均价",
  29800. "type": "number"
  29801. },
  29802. "bid": {
  29803. "description": "买1",
  29804. "type": "number"
  29805. },
  29806. "bid10": {
  29807. "description": "买10",
  29808. "type": "number"
  29809. },
  29810. "bid2": {
  29811. "description": "买2",
  29812. "type": "number"
  29813. },
  29814. "bid3": {
  29815. "description": "买3",
  29816. "type": "number"
  29817. },
  29818. "bid4": {
  29819. "description": "买4",
  29820. "type": "number"
  29821. },
  29822. "bid5": {
  29823. "description": "买5",
  29824. "type": "number"
  29825. },
  29826. "bid6": {
  29827. "description": "买6",
  29828. "type": "number"
  29829. },
  29830. "bid7": {
  29831. "description": "买7",
  29832. "type": "number"
  29833. },
  29834. "bid8": {
  29835. "description": "买8",
  29836. "type": "number"
  29837. },
  29838. "bid9": {
  29839. "description": "买9",
  29840. "type": "number"
  29841. },
  29842. "bidorderid": {
  29843. "description": "买单号1",
  29844. "type": "integer"
  29845. },
  29846. "bidorderid2": {
  29847. "description": "买单号2",
  29848. "type": "integer"
  29849. },
  29850. "bidorderid3": {
  29851. "description": "买单号3",
  29852. "type": "integer"
  29853. },
  29854. "bidorderid4": {
  29855. "description": "买单号4",
  29856. "type": "integer"
  29857. },
  29858. "bidorderid5": {
  29859. "description": "买单号5",
  29860. "type": "integer"
  29861. },
  29862. "bidordervolume": {
  29863. "description": "买单量1",
  29864. "type": "integer"
  29865. },
  29866. "bidordervolume10": {
  29867. "description": "买单量10",
  29868. "type": "integer"
  29869. },
  29870. "bidordervolume2": {
  29871. "description": "买单量2",
  29872. "type": "integer"
  29873. },
  29874. "bidordervolume3": {
  29875. "description": "买单量3",
  29876. "type": "integer"
  29877. },
  29878. "bidordervolume4": {
  29879. "description": "买单量4",
  29880. "type": "integer"
  29881. },
  29882. "bidordervolume5": {
  29883. "description": "买单量5",
  29884. "type": "integer"
  29885. },
  29886. "bidordervolume6": {
  29887. "description": "买单量6",
  29888. "type": "integer"
  29889. },
  29890. "bidordervolume7": {
  29891. "description": "买单量7",
  29892. "type": "integer"
  29893. },
  29894. "bidordervolume8": {
  29895. "description": "买单量8",
  29896. "type": "integer"
  29897. },
  29898. "bidordervolume9": {
  29899. "description": "买单量9",
  29900. "type": "integer"
  29901. },
  29902. "bidqueueinfo": {
  29903. "description": "大利市买港股用",
  29904. "type": "string"
  29905. },
  29906. "bidvolume": {
  29907. "description": "买量1",
  29908. "type": "integer"
  29909. },
  29910. "bidvolume10": {
  29911. "description": "买量10",
  29912. "type": "integer"
  29913. },
  29914. "bidvolume2": {
  29915. "description": "买量2",
  29916. "type": "integer"
  29917. },
  29918. "bidvolume3": {
  29919. "description": "买量3",
  29920. "type": "integer"
  29921. },
  29922. "bidvolume4": {
  29923. "description": "买量4",
  29924. "type": "integer"
  29925. },
  29926. "bidvolume5": {
  29927. "description": "买量5",
  29928. "type": "integer"
  29929. },
  29930. "bidvolume6": {
  29931. "description": "买量6",
  29932. "type": "integer"
  29933. },
  29934. "bidvolume7": {
  29935. "description": "买量7",
  29936. "type": "integer"
  29937. },
  29938. "bidvolume8": {
  29939. "description": "买量8",
  29940. "type": "integer"
  29941. },
  29942. "bidvolume9": {
  29943. "description": "买量9",
  29944. "type": "integer"
  29945. },
  29946. "calloptionpremiums": {
  29947. "description": "认购期权1",
  29948. "type": "integer"
  29949. },
  29950. "calloptionpremiums2": {
  29951. "description": "认购期权2",
  29952. "type": "integer"
  29953. },
  29954. "calloptionpremiums3": {
  29955. "description": "认购期权3",
  29956. "type": "integer"
  29957. },
  29958. "calloptionpremiums4": {
  29959. "description": "认购期权4",
  29960. "type": "integer"
  29961. },
  29962. "calloptionpremiums5": {
  29963. "description": "认购期权5",
  29964. "type": "integer"
  29965. },
  29966. "cleartime": {
  29967. "description": "清盘时间",
  29968. "type": "integer"
  29969. },
  29970. "exchangecode": {
  29971. "description": "交易所代码",
  29972. "type": "integer"
  29973. },
  29974. "exchangedate": {
  29975. "description": "交易日",
  29976. "type": "integer"
  29977. },
  29978. "goodscode": {
  29979. "description": "商品代码",
  29980. "type": "string"
  29981. },
  29982. "grepmarketprice": {
  29983. "description": "暗盘价 港股专用",
  29984. "type": "number"
  29985. },
  29986. "highest": {
  29987. "description": "最高价",
  29988. "type": "number"
  29989. },
  29990. "holdincrement": {
  29991. "description": "单笔持仓",
  29992. "type": "integer"
  29993. },
  29994. "holdvolume": {
  29995. "description": "持仓",
  29996. "type": "integer"
  29997. },
  29998. "iep": {
  29999. "description": "平衡价 港股专用",
  30000. "type": "number"
  30001. },
  30002. "iev": {
  30003. "description": "平衡量 港股专用",
  30004. "type": "number"
  30005. },
  30006. "inventory": {
  30007. "description": "库存",
  30008. "type": "integer"
  30009. },
  30010. "iscleared": {
  30011. "description": "是否清盘标志",
  30012. "type": "integer"
  30013. },
  30014. "issettled": {
  30015. "description": "是否结算标志",
  30016. "type": "integer"
  30017. },
  30018. "last": {
  30019. "description": "最新价",
  30020. "type": "number"
  30021. },
  30022. "lastlot": {
  30023. "description": "最新成交手数",
  30024. "type": "integer"
  30025. },
  30026. "lasttime": {
  30027. "description": "行情时间(只有现价变化行情时间才变化)",
  30028. "type": "string"
  30029. },
  30030. "lastturnover": {
  30031. "description": "最新成交金额",
  30032. "type": "number"
  30033. },
  30034. "lastvolume": {
  30035. "description": "最新成交量",
  30036. "type": "integer"
  30037. },
  30038. "limitdown": {
  30039. "description": "跌停价",
  30040. "type": "number"
  30041. },
  30042. "limitup": {
  30043. "description": "涨停价",
  30044. "type": "number"
  30045. },
  30046. "lowest": {
  30047. "description": "最低价",
  30048. "type": "number"
  30049. },
  30050. "nontotalholdervolume": {
  30051. "description": "非交易持仓量",
  30052. "type": "integer"
  30053. },
  30054. "nontotallot": {
  30055. "description": "非交易总手数",
  30056. "type": "integer"
  30057. },
  30058. "nontotalturnover": {
  30059. "description": "非交易总金额",
  30060. "type": "integer"
  30061. },
  30062. "nontotalvolume": {
  30063. "description": "非交易总量",
  30064. "type": "integer"
  30065. },
  30066. "opened": {
  30067. "description": "开盘价",
  30068. "type": "number"
  30069. },
  30070. "opentime": {
  30071. "description": "开盘时间",
  30072. "type": "string"
  30073. },
  30074. "orderid": {
  30075. "description": "序号",
  30076. "type": "integer"
  30077. },
  30078. "preclose": {
  30079. "description": "昨收",
  30080. "type": "number"
  30081. },
  30082. "preholdvolume": {
  30083. "description": "昨持仓",
  30084. "type": "integer"
  30085. },
  30086. "presettle": {
  30087. "description": "昨结价",
  30088. "type": "number"
  30089. },
  30090. "publictradetype": {
  30091. "description": "公共交易标志类型 港股专用",
  30092. "type": "string"
  30093. },
  30094. "putoptionpremiums": {
  30095. "description": "认沽期权1",
  30096. "type": "integer"
  30097. },
  30098. "putoptionpremiums2": {
  30099. "description": "认沽期权2",
  30100. "type": "integer"
  30101. },
  30102. "putoptionpremiums3": {
  30103. "description": "认沽期权3",
  30104. "type": "integer"
  30105. },
  30106. "putoptionpremiums4": {
  30107. "description": "认沽期权4",
  30108. "type": "integer"
  30109. },
  30110. "putoptionpremiums5": {
  30111. "description": "认沽期权5",
  30112. "type": "integer"
  30113. },
  30114. "settle": {
  30115. "description": "结算价",
  30116. "type": "number"
  30117. },
  30118. "strikeprice": {
  30119. "description": "发行价",
  30120. "type": "number"
  30121. },
  30122. "totalaskvolume": {
  30123. "description": "内盘",
  30124. "type": "integer"
  30125. },
  30126. "totalbidvolume": {
  30127. "description": "外盘",
  30128. "type": "integer"
  30129. },
  30130. "totallot": {
  30131. "description": "总手数",
  30132. "type": "integer"
  30133. },
  30134. "totalturnover": {
  30135. "description": "总金额",
  30136. "type": "number"
  30137. },
  30138. "totalvolume": {
  30139. "description": "总量",
  30140. "type": "integer"
  30141. },
  30142. "utclasttime": {
  30143. "description": "utc的行情时间",
  30144. "type": "string"
  30145. }
  30146. }
  30147. },
  30148. "quote.QueryTSDataRsp": {
  30149. "type": "object",
  30150. "properties": {
  30151. "Count": {
  30152. "description": "交易日应有数据个数",
  30153. "type": "integer"
  30154. },
  30155. "decimalPlace": {
  30156. "description": "小数位",
  30157. "type": "integer"
  30158. },
  30159. "endTime": {
  30160. "description": "结束时间",
  30161. "type": "string"
  30162. },
  30163. "goodsCode": {
  30164. "description": "商品代码",
  30165. "type": "string"
  30166. },
  30167. "historyDatas": {
  30168. "description": "历史数据",
  30169. "type": "array",
  30170. "items": {
  30171. "$ref": "#/definitions/quote.HistoryData"
  30172. }
  30173. },
  30174. "outGoodsCode": {
  30175. "description": "外部商品代码",
  30176. "type": "string"
  30177. },
  30178. "preSettle": {
  30179. "description": "昨结价",
  30180. "type": "number"
  30181. },
  30182. "runSteps": {
  30183. "description": "交易日开休市计划",
  30184. "type": "array",
  30185. "items": {
  30186. "$ref": "#/definitions/quote.TSDataRunStep"
  30187. }
  30188. },
  30189. "startTime": {
  30190. "description": "开始时间",
  30191. "type": "string"
  30192. },
  30193. "tradeDate": {
  30194. "description": "交易日",
  30195. "type": "string"
  30196. }
  30197. }
  30198. },
  30199. "quote.TSDataRunStep": {
  30200. "type": "object",
  30201. "properties": {
  30202. "end": {
  30203. "description": "真实结束时间",
  30204. "type": "string"
  30205. },
  30206. "endflag": {
  30207. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  30208. "type": "integer"
  30209. },
  30210. "endtime": {
  30211. "description": "结束时间(HH:mm)",
  30212. "type": "string"
  30213. },
  30214. "endweekday": {
  30215. "description": "结束周几",
  30216. "type": "integer"
  30217. },
  30218. "groupid": {
  30219. "description": "分组ID",
  30220. "type": "integer"
  30221. },
  30222. "runstep": {
  30223. "description": "运行阶段 - 2:连续交易",
  30224. "type": "integer"
  30225. },
  30226. "sectionid": {
  30227. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  30228. "type": "integer"
  30229. },
  30230. "start": {
  30231. "description": "真实开始时间",
  30232. "type": "string"
  30233. },
  30234. "startflag": {
  30235. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  30236. "type": "integer"
  30237. },
  30238. "starttime": {
  30239. "description": "起始时间(HH:mm)",
  30240. "type": "string"
  30241. },
  30242. "startweekday": {
  30243. "description": "起始周几",
  30244. "type": "integer"
  30245. },
  30246. "tradeweekday": {
  30247. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  30248. "type": "integer"
  30249. }
  30250. }
  30251. },
  30252. "szdz.QueryConvertLogRsp": {
  30253. "type": "object",
  30254. "required": [
  30255. "logid"
  30256. ],
  30257. "properties": {
  30258. "accountid": {
  30259. "description": "资金账户ID",
  30260. "type": "integer"
  30261. },
  30262. "clientticket": {
  30263. "description": "客户端流水号",
  30264. "type": "string"
  30265. },
  30266. "converttype": {
  30267. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  30268. "type": "integer"
  30269. },
  30270. "createtime": {
  30271. "description": "记账时间",
  30272. "type": "string"
  30273. },
  30274. "daymaxvalue": {
  30275. "description": "配置当日最大转入限制",
  30276. "type": "number"
  30277. },
  30278. "daymaxvalue2": {
  30279. "description": "配置当日最大转入限制(转入)",
  30280. "type": "number"
  30281. },
  30282. "goodscode": {
  30283. "description": "商品代码",
  30284. "type": "string"
  30285. },
  30286. "goodsname": {
  30287. "description": "商品名称",
  30288. "type": "string"
  30289. },
  30290. "handlestatus": {
  30291. "description": "处理状态",
  30292. "type": "integer"
  30293. },
  30294. "innergoodsid": {
  30295. "description": "内部商品ID",
  30296. "type": "integer"
  30297. },
  30298. "inratio": {
  30299. "description": "配置转入比值",
  30300. "type": "integer"
  30301. },
  30302. "invalue": {
  30303. "description": "目标值",
  30304. "type": "number"
  30305. },
  30306. "logid": {
  30307. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30308. "type": "integer"
  30309. },
  30310. "mobile": {
  30311. "description": "手机号码(加密存储)",
  30312. "type": "string"
  30313. },
  30314. "outergoodscode": {
  30315. "description": "外部商品代码[JD\\PD]",
  30316. "type": "string"
  30317. },
  30318. "outratio": {
  30319. "description": "配置转出比值",
  30320. "type": "integer"
  30321. },
  30322. "outvalue": {
  30323. "description": "源值",
  30324. "type": "number"
  30325. },
  30326. "pddecimalplace": {
  30327. "description": "PD小数位",
  30328. "type": "integer"
  30329. },
  30330. "qty": {
  30331. "description": "数量",
  30332. "type": "string"
  30333. },
  30334. "remark": {
  30335. "description": "备注",
  30336. "type": "string"
  30337. },
  30338. "sessionid": {
  30339. "description": "会话ID",
  30340. "type": "integer"
  30341. },
  30342. "timemaxvalue": {
  30343. "description": "配置单次最大转入限制",
  30344. "type": "number"
  30345. },
  30346. "timemaxvalue2": {
  30347. "description": "配置单次最大转入限制(转入)",
  30348. "type": "number"
  30349. },
  30350. "timeminvalue": {
  30351. "description": "配置单次最小数量限制",
  30352. "type": "number"
  30353. },
  30354. "timeminvalue2": {
  30355. "description": "配置单次最小数量限制(转入)",
  30356. "type": "number"
  30357. },
  30358. "tradedate": {
  30359. "description": "交易日(yyyyMMdd)",
  30360. "type": "string"
  30361. },
  30362. "userid": {
  30363. "description": "用户ID",
  30364. "type": "integer"
  30365. }
  30366. }
  30367. },
  30368. "szdz.QueryGoodsPickupRsp": {
  30369. "type": "object",
  30370. "required": [
  30371. "takeorderid"
  30372. ],
  30373. "properties": {
  30374. "accountid": {
  30375. "description": "账户ID",
  30376. "type": "integer"
  30377. },
  30378. "address": {
  30379. "description": "提货人详细地址",
  30380. "type": "string"
  30381. },
  30382. "auditer": {
  30383. "description": "审核人",
  30384. "type": "integer"
  30385. },
  30386. "audittime": {
  30387. "description": "审核时间",
  30388. "type": "string"
  30389. },
  30390. "cardnum": {
  30391. "description": "提货人证件号码",
  30392. "type": "string"
  30393. },
  30394. "cardtypeid": {
  30395. "description": "提货人证件类型",
  30396. "type": "integer"
  30397. },
  30398. "checkremark": {
  30399. "description": "审核备注",
  30400. "type": "string"
  30401. },
  30402. "goodscode": {
  30403. "description": "商品代码",
  30404. "type": "string"
  30405. },
  30406. "goodsid": {
  30407. "description": "商品ID",
  30408. "type": "integer"
  30409. },
  30410. "goodsname": {
  30411. "description": "商品名称",
  30412. "type": "string"
  30413. },
  30414. "handlestatus": {
  30415. "description": "处理状态",
  30416. "type": "integer"
  30417. },
  30418. "marketid": {
  30419. "description": "市场ID",
  30420. "type": "integer"
  30421. },
  30422. "phonenum": {
  30423. "description": "提货人联系方式",
  30424. "type": "string"
  30425. },
  30426. "qty": {
  30427. "description": "提货数量",
  30428. "type": "number"
  30429. },
  30430. "recivername": {
  30431. "description": "提货人姓名",
  30432. "type": "string"
  30433. },
  30434. "reqtime": {
  30435. "description": "更新时间",
  30436. "type": "string"
  30437. },
  30438. "takemode": {
  30439. "description": "提货方式 - 2:自提 3:配送",
  30440. "type": "integer"
  30441. },
  30442. "takeorderid": {
  30443. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30444. "type": "string"
  30445. },
  30446. "takeorderstatus": {
  30447. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30448. "type": "integer"
  30449. },
  30450. "takeremark": {
  30451. "description": "提货备注",
  30452. "type": "string"
  30453. },
  30454. "tradedate": {
  30455. "description": "交易日(yyyyMMdd)",
  30456. "type": "string"
  30457. },
  30458. "userid": {
  30459. "description": "用户ID",
  30460. "type": "integer"
  30461. }
  30462. }
  30463. },
  30464. "szdz.QueryRecieptOrderRsp": {
  30465. "type": "object",
  30466. "required": [
  30467. "ordertime"
  30468. ],
  30469. "properties": {
  30470. "accountName": {
  30471. "description": "所属账号名称(已脱敏)",
  30472. "type": "string"
  30473. },
  30474. "accountid": {
  30475. "description": "资金账号",
  30476. "type": "integer"
  30477. },
  30478. "buyorsell": {
  30479. "description": "方向 - 0:买 1:卖",
  30480. "type": "integer"
  30481. },
  30482. "enableqty": {
  30483. "description": "可摘数量",
  30484. "type": "integer"
  30485. },
  30486. "goodscode": {
  30487. "description": "商品代码",
  30488. "type": "string"
  30489. },
  30490. "goodsid": {
  30491. "description": "商品ID",
  30492. "type": "integer"
  30493. },
  30494. "goodsname": {
  30495. "description": "商品名称",
  30496. "type": "string"
  30497. },
  30498. "orderid": {
  30499. "description": "委托单号",
  30500. "type": "string"
  30501. },
  30502. "orderprice": {
  30503. "description": "委托价格",
  30504. "type": "number"
  30505. },
  30506. "ordertime": {
  30507. "description": "委托时间",
  30508. "type": "string"
  30509. },
  30510. "tradedate": {
  30511. "description": "交易日(yyyyMMdd)",
  30512. "type": "string"
  30513. }
  30514. }
  30515. },
  30516. "szdz.QuerySZDZTradePositionRsp": {
  30517. "type": "object",
  30518. "properties": {
  30519. "accountid": {
  30520. "description": "账号Id",
  30521. "type": "integer"
  30522. },
  30523. "agreeunit": {
  30524. "description": "合约单位",
  30525. "type": "number"
  30526. },
  30527. "averageprice": {
  30528. "description": "持仓均价",
  30529. "type": "number"
  30530. },
  30531. "buyorsell": {
  30532. "description": "方向 - 0:买 1:卖",
  30533. "type": "integer"
  30534. },
  30535. "closetotalqty": {
  30536. "description": "平仓总数量",
  30537. "type": "integer"
  30538. },
  30539. "curholderamount": {
  30540. "description": "当前持仓总金额",
  30541. "type": "number"
  30542. },
  30543. "curpositionqty": {
  30544. "description": "当前持仓总数量",
  30545. "type": "integer"
  30546. },
  30547. "currencyid": {
  30548. "description": "报价货币ID",
  30549. "type": "integer"
  30550. },
  30551. "curtdposition": {
  30552. "description": "期末今日头寸",
  30553. "type": "integer"
  30554. },
  30555. "decimalplace": {
  30556. "description": "报价小数位",
  30557. "type": "integer"
  30558. },
  30559. "enableqty": {
  30560. "description": "可用量",
  30561. "type": "integer"
  30562. },
  30563. "fretdposition": {
  30564. "description": "冻结今日头寸",
  30565. "type": "integer"
  30566. },
  30567. "frozenqty": {
  30568. "description": "持仓冻结数量",
  30569. "type": "integer"
  30570. },
  30571. "goodscode": {
  30572. "description": "商品代码(内部)",
  30573. "type": "string"
  30574. },
  30575. "goodsid": {
  30576. "description": "商品Id",
  30577. "type": "integer"
  30578. },
  30579. "goodsname": {
  30580. "description": "商品名称",
  30581. "type": "string"
  30582. },
  30583. "goodunit": {
  30584. "description": "报价单位",
  30585. "type": "string"
  30586. },
  30587. "goodunitid": {
  30588. "description": "报价单位ID",
  30589. "type": "integer"
  30590. },
  30591. "holderamount": {
  30592. "description": "期初持仓总金额",
  30593. "type": "number"
  30594. },
  30595. "marketid": {
  30596. "description": "市场ID",
  30597. "type": "integer"
  30598. },
  30599. "openreqqty": {
  30600. "description": "开仓申请数量",
  30601. "type": "integer"
  30602. },
  30603. "opentotalqty": {
  30604. "description": "开仓总数量",
  30605. "type": "integer"
  30606. },
  30607. "otherfrozenqty": {
  30608. "description": "持仓其他冻结数量(交割冻结)",
  30609. "type": "integer"
  30610. },
  30611. "positionqty": {
  30612. "description": "期初持仓数量",
  30613. "type": "integer"
  30614. },
  30615. "szdz3freezqty": {
  30616. "description": "尚志大宗转换冻结总数量",
  30617. "type": "integer"
  30618. },
  30619. "tnqty": {
  30620. "description": "T+N冻结总量",
  30621. "type": "integer"
  30622. },
  30623. "tnusedqty": {
  30624. "description": "T+N使用量",
  30625. "type": "integer"
  30626. },
  30627. "trademode": {
  30628. "description": "交易模式",
  30629. "type": "integer"
  30630. },
  30631. "usedmargin": {
  30632. "description": "占用保证金",
  30633. "type": "number"
  30634. }
  30635. }
  30636. },
  30637. "taaccount.QueryAmountLogRsp": {
  30638. "type": "object",
  30639. "required": [
  30640. "accountid",
  30641. "amount",
  30642. "amountadjusttype",
  30643. "autoid",
  30644. "balance",
  30645. "createtime",
  30646. "currentbalance",
  30647. "operatetype"
  30648. ],
  30649. "properties": {
  30650. "OPERATETYPENAME": {
  30651. "description": "资金操作类型名称",
  30652. "type": "string"
  30653. },
  30654. "accountid": {
  30655. "description": "资金账户ID",
  30656. "type": "integer"
  30657. },
  30658. "agoodscode": {
  30659. "description": "竞拍商品代码",
  30660. "type": "string"
  30661. },
  30662. "agoodsname": {
  30663. "description": "竞拍商品名称",
  30664. "type": "string"
  30665. },
  30666. "amount": {
  30667. "description": "资金金额",
  30668. "type": "number"
  30669. },
  30670. "amountadjusttype": {
  30671. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30672. "type": "integer"
  30673. },
  30674. "autoid": {
  30675. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30676. "type": "integer"
  30677. },
  30678. "balance": {
  30679. "description": "期初余额",
  30680. "type": "number"
  30681. },
  30682. "businesscode": {
  30683. "description": "业务编号",
  30684. "type": "integer"
  30685. },
  30686. "createtime": {
  30687. "description": "发生时间",
  30688. "type": "string"
  30689. },
  30690. "currencyid": {
  30691. "description": "币种ID",
  30692. "type": "integer"
  30693. },
  30694. "currentbalance": {
  30695. "description": "期末余额(变动后金额)",
  30696. "type": "number"
  30697. },
  30698. "dgoodscode": {
  30699. "description": "交割商品代码",
  30700. "type": "string"
  30701. },
  30702. "dgoodsname": {
  30703. "description": "交割商品名称",
  30704. "type": "string"
  30705. },
  30706. "goodscode": {
  30707. "description": "商品代码",
  30708. "type": "string"
  30709. },
  30710. "goodsid": {
  30711. "description": "商品ID",
  30712. "type": "integer"
  30713. },
  30714. "goodsname": {
  30715. "description": "商品名称",
  30716. "type": "string"
  30717. },
  30718. "marketid": {
  30719. "description": "市场ID",
  30720. "type": "integer"
  30721. },
  30722. "marketname": {
  30723. "description": "市场名称",
  30724. "type": "string"
  30725. },
  30726. "moneyticket": {
  30727. "description": "资金流水号:银行端流水号",
  30728. "type": "integer"
  30729. },
  30730. "operatetype": {
  30731. "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:营销收款",
  30732. "type": "integer"
  30733. },
  30734. "relationorderid": {
  30735. "description": "关联单号",
  30736. "type": "string"
  30737. },
  30738. "remark": {
  30739. "description": "备注",
  30740. "type": "string"
  30741. },
  30742. "trademode": {
  30743. "description": "交易模式",
  30744. "type": "integer"
  30745. }
  30746. }
  30747. },
  30748. "taaccount.QueryHisAmountLogRsp": {
  30749. "type": "object",
  30750. "required": [
  30751. "accountid",
  30752. "amount",
  30753. "amountadjusttype",
  30754. "autoid",
  30755. "balance",
  30756. "createtime",
  30757. "currentbalance",
  30758. "histradedate",
  30759. "operatetype"
  30760. ],
  30761. "properties": {
  30762. "OPERATETYPENAME": {
  30763. "description": "资金操作类型名称",
  30764. "type": "string"
  30765. },
  30766. "accountid": {
  30767. "description": "资金账户ID",
  30768. "type": "integer"
  30769. },
  30770. "agoodscode": {
  30771. "description": "竞拍商品代码",
  30772. "type": "string"
  30773. },
  30774. "agoodsname": {
  30775. "description": "竞拍商品名称",
  30776. "type": "string"
  30777. },
  30778. "amount": {
  30779. "description": "资金金额",
  30780. "type": "number"
  30781. },
  30782. "amountadjusttype": {
  30783. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30784. "type": "integer"
  30785. },
  30786. "autoid": {
  30787. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30788. "type": "integer"
  30789. },
  30790. "balance": {
  30791. "description": "期初余额",
  30792. "type": "number"
  30793. },
  30794. "businesscode": {
  30795. "description": "业务编号",
  30796. "type": "integer"
  30797. },
  30798. "createtime": {
  30799. "description": "发生时间",
  30800. "type": "string"
  30801. },
  30802. "currencyid": {
  30803. "description": "币种ID",
  30804. "type": "integer"
  30805. },
  30806. "currentbalance": {
  30807. "description": "期末余额(变动后金额)",
  30808. "type": "number"
  30809. },
  30810. "dgoodscode": {
  30811. "description": "交割商品代码",
  30812. "type": "string"
  30813. },
  30814. "dgoodsname": {
  30815. "description": "交割商品名称",
  30816. "type": "string"
  30817. },
  30818. "goodscode": {
  30819. "description": "商品代码",
  30820. "type": "string"
  30821. },
  30822. "goodsid": {
  30823. "description": "商品ID",
  30824. "type": "integer"
  30825. },
  30826. "goodsname": {
  30827. "description": "商品名称",
  30828. "type": "string"
  30829. },
  30830. "histradedate": {
  30831. "description": "历史交易日",
  30832. "type": "string"
  30833. },
  30834. "isvaliddata": {
  30835. "description": "是否有效 - 0:无效 1:有效",
  30836. "type": "integer"
  30837. },
  30838. "marketid": {
  30839. "description": "市场ID",
  30840. "type": "integer"
  30841. },
  30842. "marketname": {
  30843. "description": "市场名称",
  30844. "type": "string"
  30845. },
  30846. "moneyticket": {
  30847. "description": "资金流水号:银行端流水号",
  30848. "type": "integer"
  30849. },
  30850. "operatetype": {
  30851. "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:营销收款",
  30852. "type": "integer"
  30853. },
  30854. "relationorderid": {
  30855. "description": "关联单号",
  30856. "type": "string"
  30857. },
  30858. "remark": {
  30859. "description": "备注",
  30860. "type": "string"
  30861. },
  30862. "trademode": {
  30863. "description": "交易模式",
  30864. "type": "integer"
  30865. }
  30866. }
  30867. },
  30868. "trade.QueryRecieptOrderRsp": {
  30869. "type": "object",
  30870. "required": [
  30871. "ordertime"
  30872. ],
  30873. "properties": {
  30874. "accountName": {
  30875. "description": "所属账号名称(已脱敏)",
  30876. "type": "string"
  30877. },
  30878. "accountid": {
  30879. "description": "资金账号",
  30880. "type": "integer"
  30881. },
  30882. "buyorsell": {
  30883. "description": "方向 - 0:买 1:卖",
  30884. "type": "integer"
  30885. },
  30886. "enableqty": {
  30887. "description": "可摘数量",
  30888. "type": "integer"
  30889. },
  30890. "goodscode": {
  30891. "description": "商品代码",
  30892. "type": "string"
  30893. },
  30894. "goodsid": {
  30895. "description": "商品ID",
  30896. "type": "integer"
  30897. },
  30898. "goodsname": {
  30899. "description": "商品名称",
  30900. "type": "string"
  30901. },
  30902. "orderid": {
  30903. "description": "委托单号",
  30904. "type": "string"
  30905. },
  30906. "orderprice": {
  30907. "description": "委托价格",
  30908. "type": "number"
  30909. },
  30910. "ordertime": {
  30911. "description": "委托时间",
  30912. "type": "string"
  30913. },
  30914. "tradedate": {
  30915. "description": "交易日(yyyyMMdd)",
  30916. "type": "string"
  30917. }
  30918. }
  30919. },
  30920. "user.LoginQueryRsp": {
  30921. "type": "object",
  30922. "properties": {
  30923. "areaRoles": {
  30924. "description": "所属角色信息",
  30925. "type": "array",
  30926. "items": {
  30927. "$ref": "#/definitions/models.Arearole"
  30928. }
  30929. },
  30930. "externalExchanges": {
  30931. "description": "外部交易所",
  30932. "type": "array",
  30933. "items": {
  30934. "$ref": "#/definitions/models.Externalexchange"
  30935. }
  30936. },
  30937. "goodsgroups": {
  30938. "description": "商品组",
  30939. "type": "array",
  30940. "items": {
  30941. "$ref": "#/definitions/models.Goodsgroup"
  30942. }
  30943. },
  30944. "loginAccount": {
  30945. "description": "登录账号",
  30946. "type": "object",
  30947. "$ref": "#/definitions/models.Loginaccount"
  30948. },
  30949. "markets": {
  30950. "description": "市场",
  30951. "type": "array",
  30952. "items": {
  30953. "$ref": "#/definitions/models.Market"
  30954. }
  30955. },
  30956. "systemParams": {
  30957. "description": "系统参数",
  30958. "type": "array",
  30959. "items": {
  30960. "$ref": "#/definitions/models.Systemparam"
  30961. }
  30962. },
  30963. "userAccount": {
  30964. "description": "用户账号",
  30965. "type": "object",
  30966. "$ref": "#/definitions/models.Useraccount"
  30967. },
  30968. "userInfo": {
  30969. "description": "用户信息",
  30970. "type": "object",
  30971. "$ref": "#/definitions/models.Userinfo"
  30972. },
  30973. "username": {
  30974. "description": "用户姓名",
  30975. "type": "string"
  30976. }
  30977. }
  30978. }
  30979. },
  30980. "securityDefinitions": {
  30981. "ApiKeyAuth": {
  30982. "type": "apiKey",
  30983. "name": "Authorization",
  30984. "in": "header"
  30985. }
  30986. }
  30987. }`
  30988. type swaggerInfo struct {
  30989. Version string
  30990. Host string
  30991. BasePath string
  30992. Schemes []string
  30993. Title string
  30994. Description string
  30995. }
  30996. // SwaggerInfo holds exported Swagger Info so clients can modify it
  30997. var SwaggerInfo = swaggerInfo{
  30998. Version: "1.0",
  30999. Host: "",
  31000. BasePath: "/api",
  31001. Schemes: []string{},
  31002. Title: "MTP2.0 查询服务 API",
  31003. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  31004. }
  31005. type s struct{}
  31006. func (s *s) ReadDoc() string {
  31007. sInfo := SwaggerInfo
  31008. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  31009. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  31010. "marshal": func(v interface{}) string {
  31011. a, _ := json.Marshal(v)
  31012. return string(a)
  31013. },
  31014. }).Parse(doc)
  31015. if err != nil {
  31016. return doc
  31017. }
  31018. var tpl bytes.Buffer
  31019. if err := t.Execute(&tpl, sInfo); err != nil {
  31020. return doc
  31021. }
  31022. return tpl.String()
  31023. }
  31024. func init() {
  31025. swag.Register(swag.Name, &s{})
  31026. }