docs.go 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338
  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/QueryRoleMenu": {
  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": "loginid",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/models.RoleMenu"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryTradeConfigTMP": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询交易模板配置",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "所属机构id",
  2856. "name": "areauserid",
  2857. "in": "query"
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "OK",
  2863. "schema": {
  2864. "type": "array",
  2865. "items": {
  2866. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2867. }
  2868. }
  2869. },
  2870. "500": {
  2871. "description": "Internal Server Error",
  2872. "schema": {
  2873. "$ref": "#/definitions/app.Response"
  2874. }
  2875. }
  2876. }
  2877. }
  2878. },
  2879. "/Ermcp/QueryUserInfo": {
  2880. "get": {
  2881. "security": [
  2882. {
  2883. "ApiKeyAuth": []
  2884. }
  2885. ],
  2886. "produces": [
  2887. "application/json"
  2888. ],
  2889. "tags": [
  2890. "企业风险管理(app)"
  2891. ],
  2892. "summary": "查询客户资料",
  2893. "parameters": [
  2894. {
  2895. "type": "integer",
  2896. "description": "所属机构用户ID",
  2897. "name": "MemberUserID",
  2898. "in": "query",
  2899. "required": true
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2904. "name": "queryType",
  2905. "in": "query",
  2906. "required": true
  2907. }
  2908. ],
  2909. "responses": {
  2910. "200": {
  2911. "description": "OK",
  2912. "schema": {
  2913. "type": "array",
  2914. "items": {
  2915. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2916. }
  2917. }
  2918. },
  2919. "500": {
  2920. "description": "Internal Server Error",
  2921. "schema": {
  2922. "$ref": "#/definitions/app.Response"
  2923. }
  2924. }
  2925. }
  2926. }
  2927. },
  2928. "/Ermcp/QueryWarehouseInfo": {
  2929. "get": {
  2930. "security": [
  2931. {
  2932. "ApiKeyAuth": []
  2933. }
  2934. ],
  2935. "produces": [
  2936. "application/json"
  2937. ],
  2938. "tags": [
  2939. "企业风险管理(app)"
  2940. ],
  2941. "summary": "查询仓库信息",
  2942. "parameters": [
  2943. {
  2944. "type": "integer",
  2945. "description": "用户ID",
  2946. "name": "userid",
  2947. "in": "query",
  2948. "required": true
  2949. },
  2950. {
  2951. "type": "string",
  2952. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2953. "name": "status",
  2954. "in": "query"
  2955. }
  2956. ],
  2957. "responses": {
  2958. "200": {
  2959. "description": "OK",
  2960. "schema": {
  2961. "type": "array",
  2962. "items": {
  2963. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2964. }
  2965. }
  2966. },
  2967. "500": {
  2968. "description": "Internal Server Error",
  2969. "schema": {
  2970. "$ref": "#/definitions/app.Response"
  2971. }
  2972. }
  2973. }
  2974. }
  2975. },
  2976. "/Ermcp3/QryAreaExpourseContractDetail": {
  2977. "get": {
  2978. "security": [
  2979. {
  2980. "ApiKeyAuth": []
  2981. }
  2982. ],
  2983. "produces": [
  2984. "application/json"
  2985. ],
  2986. "tags": [
  2987. "企业风险管理v3(app)"
  2988. ],
  2989. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2990. "parameters": [
  2991. {
  2992. "type": "integer",
  2993. "description": "用户ID",
  2994. "name": "userid",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "套保商品id",
  3001. "name": "middlegoodsid",
  3002. "in": "query",
  3003. "required": true
  3004. },
  3005. {
  3006. "type": "integer",
  3007. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3008. "name": "cycletype",
  3009. "in": "query",
  3010. "required": true
  3011. },
  3012. {
  3013. "type": "string",
  3014. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3015. "name": "cycletime",
  3016. "in": "query",
  3017. "required": true
  3018. }
  3019. ],
  3020. "responses": {
  3021. "200": {
  3022. "description": "OK",
  3023. "schema": {
  3024. "type": "array",
  3025. "items": {
  3026. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3027. }
  3028. }
  3029. },
  3030. "500": {
  3031. "description": "Internal Server Error",
  3032. "schema": {
  3033. "$ref": "#/definitions/app.Response"
  3034. }
  3035. }
  3036. }
  3037. }
  3038. },
  3039. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3040. "get": {
  3041. "security": [
  3042. {
  3043. "ApiKeyAuth": []
  3044. }
  3045. ],
  3046. "produces": [
  3047. "application/json"
  3048. ],
  3049. "tags": [
  3050. "企业风险管理v3(app)"
  3051. ],
  3052. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3053. "parameters": [
  3054. {
  3055. "type": "integer",
  3056. "description": "用户ID",
  3057. "name": "userid",
  3058. "in": "query",
  3059. "required": true
  3060. },
  3061. {
  3062. "type": "integer",
  3063. "description": "套保商品id",
  3064. "name": "middlegoodsid",
  3065. "in": "query",
  3066. "required": true
  3067. },
  3068. {
  3069. "type": "integer",
  3070. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3071. "name": "cycletype",
  3072. "in": "query",
  3073. "required": true
  3074. },
  3075. {
  3076. "type": "string",
  3077. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3078. "name": "cycletime",
  3079. "in": "query",
  3080. "required": true
  3081. }
  3082. ],
  3083. "responses": {
  3084. "200": {
  3085. "description": "OK",
  3086. "schema": {
  3087. "type": "array",
  3088. "items": {
  3089. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3090. }
  3091. }
  3092. },
  3093. "500": {
  3094. "description": "Internal Server Error",
  3095. "schema": {
  3096. "$ref": "#/definitions/app.Response"
  3097. }
  3098. }
  3099. }
  3100. }
  3101. },
  3102. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3103. "get": {
  3104. "security": [
  3105. {
  3106. "ApiKeyAuth": []
  3107. }
  3108. ],
  3109. "produces": [
  3110. "application/json"
  3111. ],
  3112. "tags": [
  3113. "企业风险管理v3(app)"
  3114. ],
  3115. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3116. "parameters": [
  3117. {
  3118. "type": "integer",
  3119. "description": "用户ID",
  3120. "name": "userid",
  3121. "in": "query",
  3122. "required": true
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "套保商品id",
  3127. "name": "middlegoodsid",
  3128. "in": "query",
  3129. "required": true
  3130. },
  3131. {
  3132. "type": "integer",
  3133. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3134. "name": "cycletype",
  3135. "in": "query",
  3136. "required": true
  3137. },
  3138. {
  3139. "type": "string",
  3140. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3141. "name": "cycletime",
  3142. "in": "query",
  3143. "required": true
  3144. }
  3145. ],
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理v3(app)"
  3177. ],
  3178. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "用户ID",
  3183. "name": "userid",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "integer",
  3189. "description": "套保商品id",
  3190. "name": "middlegoodsid",
  3191. "in": "query",
  3192. "required": true
  3193. },
  3194. {
  3195. "type": "integer",
  3196. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3197. "name": "cycletype",
  3198. "in": "query",
  3199. "required": true
  3200. },
  3201. {
  3202. "type": "string",
  3203. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3204. "name": "cycletime",
  3205. "in": "query",
  3206. "required": true
  3207. }
  3208. ],
  3209. "responses": {
  3210. "200": {
  3211. "description": "OK",
  3212. "schema": {
  3213. "type": "array",
  3214. "items": {
  3215. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3216. }
  3217. }
  3218. },
  3219. "500": {
  3220. "description": "Internal Server Error",
  3221. "schema": {
  3222. "$ref": "#/definitions/app.Response"
  3223. }
  3224. }
  3225. }
  3226. }
  3227. },
  3228. "/Ermcp3/QryAreaExpourseReport": {
  3229. "get": {
  3230. "security": [
  3231. {
  3232. "ApiKeyAuth": []
  3233. }
  3234. ],
  3235. "produces": [
  3236. "application/json"
  3237. ],
  3238. "tags": [
  3239. "企业风险管理v3(app)"
  3240. ],
  3241. "summary": "查询敞口报表",
  3242. "parameters": [
  3243. {
  3244. "type": "integer",
  3245. "description": "用户ID",
  3246. "name": "userid",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3253. "name": "querytype",
  3254. "in": "query",
  3255. "required": true
  3256. },
  3257. {
  3258. "type": "integer",
  3259. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3260. "name": "cycletype",
  3261. "in": "query",
  3262. "required": true
  3263. },
  3264. {
  3265. "type": "string",
  3266. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3267. "name": "cycletime",
  3268. "in": "query",
  3269. "required": true
  3270. }
  3271. ],
  3272. "responses": {
  3273. "200": {
  3274. "description": "OK",
  3275. "schema": {
  3276. "type": "array",
  3277. "items": {
  3278. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3279. }
  3280. }
  3281. },
  3282. "500": {
  3283. "description": "Internal Server Error",
  3284. "schema": {
  3285. "$ref": "#/definitions/app.Response"
  3286. }
  3287. }
  3288. }
  3289. }
  3290. },
  3291. "/Ermcp3/QryAreaSpotplReport": {
  3292. "get": {
  3293. "security": [
  3294. {
  3295. "ApiKeyAuth": []
  3296. }
  3297. ],
  3298. "produces": [
  3299. "application/json"
  3300. ],
  3301. "tags": [
  3302. "企业风险管理v3(app)"
  3303. ],
  3304. "summary": "查询现货报表",
  3305. "parameters": [
  3306. {
  3307. "type": "integer",
  3308. "description": "用户ID",
  3309. "name": "userid",
  3310. "in": "query",
  3311. "required": true
  3312. },
  3313. {
  3314. "type": "integer",
  3315. "description": "查询类型 1-报表 2-报表明细",
  3316. "name": "querytype",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "integer",
  3322. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3323. "name": "cycletype",
  3324. "in": "query",
  3325. "required": true
  3326. },
  3327. {
  3328. "type": "string",
  3329. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3330. "name": "cycletime",
  3331. "in": "query",
  3332. "required": true
  3333. },
  3334. {
  3335. "type": "integer",
  3336. "description": "现货品种id(明细必填)",
  3337. "name": "deliverygoodsid",
  3338. "in": "query"
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "币种id(明细必填)",
  3343. "name": "currencyid",
  3344. "in": "query"
  3345. }
  3346. ],
  3347. "responses": {
  3348. "200": {
  3349. "description": "OK",
  3350. "schema": {
  3351. "type": "array",
  3352. "items": {
  3353. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3354. }
  3355. }
  3356. },
  3357. "500": {
  3358. "description": "Internal Server Error",
  3359. "schema": {
  3360. "$ref": "#/definitions/app.Response"
  3361. }
  3362. }
  3363. }
  3364. }
  3365. },
  3366. "/Ermcp3/QryAreaStockReport": {
  3367. "get": {
  3368. "security": [
  3369. {
  3370. "ApiKeyAuth": []
  3371. }
  3372. ],
  3373. "produces": [
  3374. "application/json"
  3375. ],
  3376. "tags": [
  3377. "企业风险管理v3(app)"
  3378. ],
  3379. "summary": "查询库存报表",
  3380. "parameters": [
  3381. {
  3382. "type": "integer",
  3383. "description": "用户ID",
  3384. "name": "userid",
  3385. "in": "query",
  3386. "required": true
  3387. },
  3388. {
  3389. "type": "integer",
  3390. "description": "查询类型 1-报表 2-报表明细",
  3391. "name": "querytype",
  3392. "in": "query",
  3393. "required": true
  3394. },
  3395. {
  3396. "type": "integer",
  3397. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3398. "name": "cycletype",
  3399. "in": "query",
  3400. "required": true
  3401. },
  3402. {
  3403. "type": "string",
  3404. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3405. "name": "cycletime",
  3406. "in": "query",
  3407. "required": true
  3408. },
  3409. {
  3410. "type": "string",
  3411. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3412. "name": "sumfields",
  3413. "in": "query"
  3414. },
  3415. {
  3416. "type": "integer",
  3417. "description": "品种ID",
  3418. "name": "deliverygoodsid",
  3419. "in": "query"
  3420. },
  3421. {
  3422. "type": "integer",
  3423. "description": "品类ID",
  3424. "name": "wrstandardid",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品牌ID",
  3430. "name": "spotgoodsbrandid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "仓库ID",
  3436. "name": "warehouseinfoid",
  3437. "in": "query"
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "type": "array",
  3445. "items": {
  3446. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3447. }
  3448. }
  3449. },
  3450. "500": {
  3451. "description": "Internal Server Error",
  3452. "schema": {
  3453. "$ref": "#/definitions/app.Response"
  3454. }
  3455. }
  3456. }
  3457. }
  3458. },
  3459. "/Ermcp3/QryAreaSumPL": {
  3460. "get": {
  3461. "security": [
  3462. {
  3463. "ApiKeyAuth": []
  3464. }
  3465. ],
  3466. "produces": [
  3467. "application/json"
  3468. ],
  3469. "tags": [
  3470. "企业风险管理v3(app)"
  3471. ],
  3472. "summary": "查询汇总损益表",
  3473. "parameters": [
  3474. {
  3475. "type": "integer",
  3476. "description": "用户ID",
  3477. "name": "userid",
  3478. "in": "query",
  3479. "required": true
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "查询类型 1-报表 2-报表明细",
  3484. "name": "querytype",
  3485. "in": "query",
  3486. "required": true
  3487. },
  3488. {
  3489. "type": "integer",
  3490. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3491. "name": "cycletype",
  3492. "in": "query",
  3493. "required": true
  3494. },
  3495. {
  3496. "type": "string",
  3497. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3498. "name": "cycletime",
  3499. "in": "query",
  3500. "required": true
  3501. },
  3502. {
  3503. "type": "integer",
  3504. "description": "币种id(明细必填)",
  3505. "name": "currencyid",
  3506. "in": "query"
  3507. }
  3508. ],
  3509. "responses": {
  3510. "200": {
  3511. "description": "OK",
  3512. "schema": {
  3513. "type": "array",
  3514. "items": {
  3515. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3516. }
  3517. }
  3518. },
  3519. "500": {
  3520. "description": "Internal Server Error",
  3521. "schema": {
  3522. "$ref": "#/definitions/app.Response"
  3523. }
  3524. }
  3525. }
  3526. }
  3527. },
  3528. "/Ermcp3/QryFinanceReport": {
  3529. "get": {
  3530. "security": [
  3531. {
  3532. "ApiKeyAuth": []
  3533. }
  3534. ],
  3535. "produces": [
  3536. "application/json"
  3537. ],
  3538. "tags": [
  3539. "企业风险管理v3(app)"
  3540. ],
  3541. "summary": "查询财务报表",
  3542. "parameters": [
  3543. {
  3544. "type": "integer",
  3545. "description": "用户ID",
  3546. "name": "userid",
  3547. "in": "query",
  3548. "required": true
  3549. },
  3550. {
  3551. "type": "integer",
  3552. "description": "查询类型 1-报表 2-报表明细",
  3553. "name": "querytype",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3560. "name": "cycletype",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "string",
  3566. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3567. "name": "cycletime",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "integer",
  3573. "description": "币种id(报表明细必填)",
  3574. "name": "currencyid",
  3575. "in": "query"
  3576. },
  3577. {
  3578. "type": "string",
  3579. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3580. "name": "sumfields",
  3581. "in": "query"
  3582. }
  3583. ],
  3584. "responses": {
  3585. "200": {
  3586. "description": "OK",
  3587. "schema": {
  3588. "type": "array",
  3589. "items": {
  3590. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3591. }
  3592. }
  3593. },
  3594. "500": {
  3595. "description": "Internal Server Error",
  3596. "schema": {
  3597. "$ref": "#/definitions/app.Response"
  3598. }
  3599. }
  3600. }
  3601. }
  3602. },
  3603. "/Ermcp3/QryTaFutureDataReport": {
  3604. "get": {
  3605. "security": [
  3606. {
  3607. "ApiKeyAuth": []
  3608. }
  3609. ],
  3610. "produces": [
  3611. "application/json"
  3612. ],
  3613. "tags": [
  3614. "企业风险管理v3(app)"
  3615. ],
  3616. "summary": "查询期货报表",
  3617. "parameters": [
  3618. {
  3619. "type": "integer",
  3620. "description": "用户ID",
  3621. "name": "userid",
  3622. "in": "query",
  3623. "required": true
  3624. },
  3625. {
  3626. "type": "integer",
  3627. "description": "查询类型 1-报表 2-报表明细",
  3628. "name": "querytype",
  3629. "in": "query",
  3630. "required": true
  3631. },
  3632. {
  3633. "type": "integer",
  3634. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3635. "name": "cycletype",
  3636. "in": "query",
  3637. "required": true
  3638. },
  3639. {
  3640. "type": "string",
  3641. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3642. "name": "cycletime",
  3643. "in": "query",
  3644. "required": true
  3645. },
  3646. {
  3647. "type": "integer",
  3648. "description": "币种id(查明细必填)",
  3649. "name": "currencyid",
  3650. "in": "query"
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "品种id(查明细必填)",
  3655. "name": "goodsgroupid",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "商品id(查明细必填)",
  3661. "name": "goodsid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "买卖方向(查明细必填)",
  3667. "name": "buyorsell",
  3668. "in": "query"
  3669. }
  3670. ],
  3671. "responses": {
  3672. "200": {
  3673. "description": "OK",
  3674. "schema": {
  3675. "type": "array",
  3676. "items": {
  3677. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3678. }
  3679. }
  3680. },
  3681. "500": {
  3682. "description": "Internal Server Error",
  3683. "schema": {
  3684. "$ref": "#/definitions/app.Response"
  3685. }
  3686. }
  3687. }
  3688. }
  3689. },
  3690. "/Ermcp3/QueryAreaStock": {
  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. "responses": {
  3714. "200": {
  3715. "description": "OK",
  3716. "schema": {
  3717. "type": "array",
  3718. "items": {
  3719. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3720. }
  3721. }
  3722. },
  3723. "500": {
  3724. "description": "Internal Server Error",
  3725. "schema": {
  3726. "$ref": "#/definitions/app.Response"
  3727. }
  3728. }
  3729. }
  3730. }
  3731. },
  3732. "/Ermcp3/QueryAreaStockApply": {
  3733. "get": {
  3734. "security": [
  3735. {
  3736. "ApiKeyAuth": []
  3737. }
  3738. ],
  3739. "produces": [
  3740. "application/json"
  3741. ],
  3742. "tags": [
  3743. "企业风险管理v3(app)"
  3744. ],
  3745. "summary": "查询库存申请(出入库记录|库存审核)",
  3746. "parameters": [
  3747. {
  3748. "type": "integer",
  3749. "description": "用户ID",
  3750. "name": "userid",
  3751. "in": "query",
  3752. "required": true
  3753. },
  3754. {
  3755. "type": "integer",
  3756. "description": "用户类型 2-机构 7-企业成员",
  3757. "name": "usertype",
  3758. "in": "query"
  3759. },
  3760. {
  3761. "type": "integer",
  3762. "description": "现货商品ID",
  3763. "name": "deliverygoodsid",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "string",
  3768. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3769. "name": "inouttype",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "合同ID",
  3775. "name": "spotcontractid",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "品类ID",
  3781. "name": "wrstandardid",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "品牌ID",
  3787. "name": "spotgoodsbrandid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "仓库ID",
  3793. "name": "warehouseinfoid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "string",
  3798. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3799. "name": "applystatus",
  3800. "in": "query"
  3801. }
  3802. ],
  3803. "responses": {
  3804. "200": {
  3805. "description": "OK",
  3806. "schema": {
  3807. "type": "array",
  3808. "items": {
  3809. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3810. }
  3811. }
  3812. },
  3813. "500": {
  3814. "description": "Internal Server Error",
  3815. "schema": {
  3816. "$ref": "#/definitions/app.Response"
  3817. }
  3818. }
  3819. }
  3820. }
  3821. },
  3822. "/Ermcp3/QueryAreaStockApplySum": {
  3823. "get": {
  3824. "security": [
  3825. {
  3826. "ApiKeyAuth": []
  3827. }
  3828. ],
  3829. "produces": [
  3830. "application/json"
  3831. ],
  3832. "tags": [
  3833. "企业风险管理v3(app)"
  3834. ],
  3835. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3836. "parameters": [
  3837. {
  3838. "type": "integer",
  3839. "description": "合同ID",
  3840. "name": "spotcontractid",
  3841. "in": "query"
  3842. }
  3843. ],
  3844. "responses": {
  3845. "200": {
  3846. "description": "OK",
  3847. "schema": {
  3848. "type": "array",
  3849. "items": {
  3850. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3851. }
  3852. }
  3853. },
  3854. "500": {
  3855. "description": "Internal Server Error",
  3856. "schema": {
  3857. "$ref": "#/definitions/app.Response"
  3858. }
  3859. }
  3860. }
  3861. }
  3862. },
  3863. "/Ermcp3/QueryDGFactoryItem": {
  3864. "get": {
  3865. "security": [
  3866. {
  3867. "ApiKeyAuth": []
  3868. }
  3869. ],
  3870. "produces": [
  3871. "application/json"
  3872. ],
  3873. "tags": [
  3874. "企业风险管理v3(app)"
  3875. ],
  3876. "summary": "查询品种要素定义项",
  3877. "parameters": [
  3878. {
  3879. "type": "integer",
  3880. "description": "用户id",
  3881. "name": "userid",
  3882. "in": "query"
  3883. },
  3884. {
  3885. "type": "integer",
  3886. "description": "用户类型 2-机构 7-企业成员",
  3887. "name": "usertype",
  3888. "in": "query"
  3889. },
  3890. {
  3891. "type": "integer",
  3892. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3893. "name": "dgfactoryitemid",
  3894. "in": "query"
  3895. },
  3896. {
  3897. "type": "integer",
  3898. "description": "现货品种ID",
  3899. "name": "deliverygoodsid",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "integer",
  3904. "description": "要素项类型",
  3905. "name": "dgfactoryitemtypeid",
  3906. "in": "query"
  3907. },
  3908. {
  3909. "type": "integer",
  3910. "description": "顺序",
  3911. "name": "orderindex",
  3912. "in": "query"
  3913. }
  3914. ],
  3915. "responses": {
  3916. "200": {
  3917. "description": "OK",
  3918. "schema": {
  3919. "type": "array",
  3920. "items": {
  3921. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3922. }
  3923. }
  3924. },
  3925. "500": {
  3926. "description": "Internal Server Error",
  3927. "schema": {
  3928. "$ref": "#/definitions/app.Response"
  3929. }
  3930. }
  3931. }
  3932. }
  3933. },
  3934. "/Ermcp3/QueryDeliveryGoods": {
  3935. "get": {
  3936. "security": [
  3937. {
  3938. "ApiKeyAuth": []
  3939. }
  3940. ],
  3941. "produces": [
  3942. "application/json"
  3943. ],
  3944. "tags": [
  3945. "企业风险管理v3(app)"
  3946. ],
  3947. "summary": "查询现货商品",
  3948. "parameters": [
  3949. {
  3950. "type": "integer",
  3951. "description": "用户id",
  3952. "name": "userid",
  3953. "in": "query",
  3954. "required": true
  3955. },
  3956. {
  3957. "type": "integer",
  3958. "description": "用户类型 2-机构 7-企业成员",
  3959. "name": "usertype",
  3960. "in": "query"
  3961. },
  3962. {
  3963. "type": "integer",
  3964. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3965. "name": "excludecfg",
  3966. "in": "query"
  3967. }
  3968. ],
  3969. "responses": {
  3970. "200": {
  3971. "description": "OK",
  3972. "schema": {
  3973. "type": "array",
  3974. "items": {
  3975. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3976. }
  3977. }
  3978. },
  3979. "500": {
  3980. "description": "Internal Server Error",
  3981. "schema": {
  3982. "$ref": "#/definitions/app.Response"
  3983. }
  3984. }
  3985. }
  3986. }
  3987. },
  3988. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3989. "get": {
  3990. "security": [
  3991. {
  3992. "ApiKeyAuth": []
  3993. }
  3994. ],
  3995. "produces": [
  3996. "application/json"
  3997. ],
  3998. "tags": [
  3999. "企业风险管理v3(app)"
  4000. ],
  4001. "summary": "查询现货商品详情",
  4002. "parameters": [
  4003. {
  4004. "type": "integer",
  4005. "description": "用户id",
  4006. "name": "userid",
  4007. "in": "query",
  4008. "required": true
  4009. },
  4010. {
  4011. "type": "integer",
  4012. "description": "用户类型 2-机构 7-企业成员",
  4013. "name": "usertype",
  4014. "in": "query"
  4015. },
  4016. {
  4017. "type": "integer",
  4018. "description": "现货商品id",
  4019. "name": "deliverygoodsid",
  4020. "in": "query"
  4021. }
  4022. ],
  4023. "responses": {
  4024. "200": {
  4025. "description": "OK",
  4026. "schema": {
  4027. "type": "array",
  4028. "items": {
  4029. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4030. }
  4031. }
  4032. },
  4033. "500": {
  4034. "description": "Internal Server Error",
  4035. "schema": {
  4036. "$ref": "#/definitions/app.Response"
  4037. }
  4038. }
  4039. }
  4040. }
  4041. },
  4042. "/Ermcp3/QueryExposureDetail": {
  4043. "get": {
  4044. "security": [
  4045. {
  4046. "ApiKeyAuth": []
  4047. }
  4048. ],
  4049. "produces": [
  4050. "application/json"
  4051. ],
  4052. "tags": [
  4053. "企业风险管理v3(app)"
  4054. ],
  4055. "summary": "查询敞口现货明细",
  4056. "parameters": [
  4057. {
  4058. "type": "integer",
  4059. "description": "用户id",
  4060. "name": "userid",
  4061. "in": "query",
  4062. "required": true
  4063. },
  4064. {
  4065. "type": "integer",
  4066. "description": "用户类型 2-机构 7-企业成员",
  4067. "name": "usertype",
  4068. "in": "query"
  4069. },
  4070. {
  4071. "type": "integer",
  4072. "description": "套保商品",
  4073. "name": "middlegoodsid",
  4074. "in": "query",
  4075. "required": true
  4076. }
  4077. ],
  4078. "responses": {
  4079. "200": {
  4080. "description": "OK",
  4081. "schema": {
  4082. "type": "array",
  4083. "items": {
  4084. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4085. }
  4086. }
  4087. },
  4088. "500": {
  4089. "description": "Internal Server Error",
  4090. "schema": {
  4091. "$ref": "#/definitions/app.Response"
  4092. }
  4093. }
  4094. }
  4095. }
  4096. },
  4097. "/Ermcp3/QueryExposureSpot": {
  4098. "get": {
  4099. "security": [
  4100. {
  4101. "ApiKeyAuth": []
  4102. }
  4103. ],
  4104. "produces": [
  4105. "application/json"
  4106. ],
  4107. "tags": [
  4108. "企业风险管理v3(app)"
  4109. ],
  4110. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4111. "parameters": [
  4112. {
  4113. "type": "integer",
  4114. "description": "用户id",
  4115. "name": "userid",
  4116. "in": "query",
  4117. "required": true
  4118. },
  4119. {
  4120. "type": "integer",
  4121. "description": "用户类型 2-机构 7-企业成员",
  4122. "name": "usertype",
  4123. "in": "query"
  4124. }
  4125. ],
  4126. "responses": {
  4127. "200": {
  4128. "description": "OK",
  4129. "schema": {
  4130. "type": "array",
  4131. "items": {
  4132. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4133. }
  4134. }
  4135. },
  4136. "500": {
  4137. "description": "Internal Server Error",
  4138. "schema": {
  4139. "$ref": "#/definitions/app.Response"
  4140. }
  4141. }
  4142. }
  4143. }
  4144. },
  4145. "/Ermcp3/QueryExposureSpotDetail": {
  4146. "get": {
  4147. "security": [
  4148. {
  4149. "ApiKeyAuth": []
  4150. }
  4151. ],
  4152. "produces": [
  4153. "application/json"
  4154. ],
  4155. "tags": [
  4156. "企业风险管理v3(app)"
  4157. ],
  4158. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4159. "parameters": [
  4160. {
  4161. "type": "integer",
  4162. "description": "用户id",
  4163. "name": "userid",
  4164. "in": "query",
  4165. "required": true
  4166. },
  4167. {
  4168. "type": "integer",
  4169. "description": "用户类型 2-机构 7-企业成员",
  4170. "name": "usertype",
  4171. "in": "query"
  4172. },
  4173. {
  4174. "type": "integer",
  4175. "description": "现货品种ID",
  4176. "name": "deliverygoodsid",
  4177. "in": "query",
  4178. "required": true
  4179. }
  4180. ],
  4181. "responses": {
  4182. "200": {
  4183. "description": "OK",
  4184. "schema": {
  4185. "type": "array",
  4186. "items": {
  4187. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4188. }
  4189. }
  4190. },
  4191. "500": {
  4192. "description": "Internal Server Error",
  4193. "schema": {
  4194. "$ref": "#/definitions/app.Response"
  4195. }
  4196. }
  4197. }
  4198. }
  4199. },
  4200. "/Ermcp3/QueryGoodsGroup": {
  4201. "get": {
  4202. "security": [
  4203. {
  4204. "ApiKeyAuth": []
  4205. }
  4206. ],
  4207. "produces": [
  4208. "application/json"
  4209. ],
  4210. "tags": [
  4211. "企业风险管理v3(app)"
  4212. ],
  4213. "summary": "查询期货商品组",
  4214. "parameters": [
  4215. {
  4216. "type": "integer",
  4217. "description": "用户id",
  4218. "name": "userid",
  4219. "in": "query",
  4220. "required": true
  4221. },
  4222. {
  4223. "type": "integer",
  4224. "description": "用户类型 2-机构 7-企业成员",
  4225. "name": "usertype",
  4226. "in": "query"
  4227. },
  4228. {
  4229. "type": "integer",
  4230. "description": "排除套保品中已关联的商品组 1-排除",
  4231. "name": "excludecfg",
  4232. "in": "query"
  4233. }
  4234. ],
  4235. "responses": {
  4236. "200": {
  4237. "description": "OK",
  4238. "schema": {
  4239. "type": "array",
  4240. "items": {
  4241. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4242. }
  4243. }
  4244. },
  4245. "500": {
  4246. "description": "Internal Server Error",
  4247. "schema": {
  4248. "$ref": "#/definitions/app.Response"
  4249. }
  4250. }
  4251. }
  4252. }
  4253. },
  4254. "/Ermcp3/QueryGoodsWrstandard": {
  4255. "get": {
  4256. "security": [
  4257. {
  4258. "ApiKeyAuth": []
  4259. }
  4260. ],
  4261. "produces": [
  4262. "application/json"
  4263. ],
  4264. "tags": [
  4265. "企业风险管理v3(app)"
  4266. ],
  4267. "summary": "查询商品品类",
  4268. "parameters": [
  4269. {
  4270. "type": "integer",
  4271. "description": "用户id",
  4272. "name": "userid",
  4273. "in": "query",
  4274. "required": true
  4275. },
  4276. {
  4277. "type": "integer",
  4278. "description": "用户类型 2-机构 7-企业成员",
  4279. "name": "usertype",
  4280. "in": "query"
  4281. },
  4282. {
  4283. "type": "integer",
  4284. "description": "现货商品id",
  4285. "name": "deliverygoodsid",
  4286. "in": "query"
  4287. }
  4288. ],
  4289. "responses": {
  4290. "200": {
  4291. "description": "OK",
  4292. "schema": {
  4293. "type": "array",
  4294. "items": {
  4295. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4296. }
  4297. }
  4298. },
  4299. "500": {
  4300. "description": "Internal Server Error",
  4301. "schema": {
  4302. "$ref": "#/definitions/app.Response"
  4303. }
  4304. }
  4305. }
  4306. }
  4307. },
  4308. "/Ermcp3/QueryGoodsbrand": {
  4309. "get": {
  4310. "security": [
  4311. {
  4312. "ApiKeyAuth": []
  4313. }
  4314. ],
  4315. "produces": [
  4316. "application/json"
  4317. ],
  4318. "tags": [
  4319. "企业风险管理v3(app)"
  4320. ],
  4321. "summary": "查询商品品牌",
  4322. "parameters": [
  4323. {
  4324. "type": "integer",
  4325. "description": "用户id",
  4326. "name": "userid",
  4327. "in": "query",
  4328. "required": true
  4329. },
  4330. {
  4331. "type": "integer",
  4332. "description": "用户类型 2-机构 7-企业成员",
  4333. "name": "usertype",
  4334. "in": "query"
  4335. }
  4336. ],
  4337. "responses": {
  4338. "200": {
  4339. "description": "OK",
  4340. "schema": {
  4341. "type": "array",
  4342. "items": {
  4343. "$ref": "#/definitions/models.Ermcp3Brand"
  4344. }
  4345. }
  4346. },
  4347. "500": {
  4348. "description": "Internal Server Error",
  4349. "schema": {
  4350. "$ref": "#/definitions/app.Response"
  4351. }
  4352. }
  4353. }
  4354. }
  4355. },
  4356. "/Ermcp3/QueryHedgePlan": {
  4357. "get": {
  4358. "security": [
  4359. {
  4360. "ApiKeyAuth": []
  4361. }
  4362. ],
  4363. "produces": [
  4364. "application/json"
  4365. ],
  4366. "tags": [
  4367. "企业风险管理v3(app)"
  4368. ],
  4369. "summary": "查询套保计划",
  4370. "parameters": [
  4371. {
  4372. "type": "integer",
  4373. "description": "用户ID",
  4374. "name": "userid",
  4375. "in": "query",
  4376. "required": true
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "用户类型 2-机构 7-企业成员",
  4381. "name": "usertype",
  4382. "in": "query"
  4383. },
  4384. {
  4385. "type": "string",
  4386. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4387. "name": "hedgeplanstatus",
  4388. "in": "query",
  4389. "required": true
  4390. }
  4391. ],
  4392. "responses": {
  4393. "200": {
  4394. "description": "OK",
  4395. "schema": {
  4396. "type": "array",
  4397. "items": {
  4398. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4399. }
  4400. }
  4401. },
  4402. "500": {
  4403. "description": "Internal Server Error",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. }
  4408. }
  4409. }
  4410. },
  4411. "/Ermcp3/QueryMiddleGoodsDetail": {
  4412. "get": {
  4413. "security": [
  4414. {
  4415. "ApiKeyAuth": []
  4416. }
  4417. ],
  4418. "produces": [
  4419. "application/json"
  4420. ],
  4421. "tags": [
  4422. "企业风险管理v3(app)"
  4423. ],
  4424. "summary": "查询套保品种详情(套保品种/商品详情)",
  4425. "parameters": [
  4426. {
  4427. "type": "integer",
  4428. "description": "用户id",
  4429. "name": "userid",
  4430. "in": "query",
  4431. "required": true
  4432. },
  4433. {
  4434. "type": "integer",
  4435. "description": "用户类型 2-机构 7-企业成员",
  4436. "name": "usertype",
  4437. "in": "query"
  4438. },
  4439. {
  4440. "type": "integer",
  4441. "description": "套保品种id",
  4442. "name": "middlegoodsid",
  4443. "in": "query"
  4444. }
  4445. ],
  4446. "responses": {
  4447. "200": {
  4448. "description": "OK",
  4449. "schema": {
  4450. "type": "array",
  4451. "items": {
  4452. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4453. }
  4454. }
  4455. },
  4456. "500": {
  4457. "description": "Internal Server Error",
  4458. "schema": {
  4459. "$ref": "#/definitions/app.Response"
  4460. }
  4461. }
  4462. }
  4463. }
  4464. },
  4465. "/Ermcp3/QueryRootUserAccount": {
  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. "responses": {
  4489. "200": {
  4490. "description": "OK",
  4491. "schema": {
  4492. "type": "array",
  4493. "items": {
  4494. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4495. }
  4496. }
  4497. },
  4498. "500": {
  4499. "description": "Internal Server Error",
  4500. "schema": {
  4501. "$ref": "#/definitions/app.Response"
  4502. }
  4503. }
  4504. }
  4505. }
  4506. },
  4507. "/Ermcp3/QuerySpotContract": {
  4508. "get": {
  4509. "security": [
  4510. {
  4511. "ApiKeyAuth": []
  4512. }
  4513. ],
  4514. "produces": [
  4515. "application/json"
  4516. ],
  4517. "tags": [
  4518. "企业风险管理v3(app)"
  4519. ],
  4520. "summary": "查询现货合同",
  4521. "parameters": [
  4522. {
  4523. "type": "integer",
  4524. "description": "用户id",
  4525. "name": "userid",
  4526. "in": "query",
  4527. "required": true
  4528. },
  4529. {
  4530. "type": "integer",
  4531. "description": "用户类型 2-机构 7-企业成员",
  4532. "name": "usertype",
  4533. "in": "query"
  4534. },
  4535. {
  4536. "type": "integer",
  4537. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4538. "name": "querytype",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "string",
  4544. "description": "合同ID(SpotContractId)",
  4545. "name": "contractid",
  4546. "in": "query"
  4547. }
  4548. ],
  4549. "responses": {
  4550. "200": {
  4551. "description": "OK",
  4552. "schema": {
  4553. "type": "array",
  4554. "items": {
  4555. "$ref": "#/definitions/models.Ermcp3Contract"
  4556. }
  4557. }
  4558. },
  4559. "500": {
  4560. "description": "Internal Server Error",
  4561. "schema": {
  4562. "$ref": "#/definitions/app.Response"
  4563. }
  4564. }
  4565. }
  4566. }
  4567. },
  4568. "/Ermcp3/QuerySpotContractBS": {
  4569. "get": {
  4570. "security": [
  4571. {
  4572. "ApiKeyAuth": []
  4573. }
  4574. ],
  4575. "produces": [
  4576. "application/json"
  4577. ],
  4578. "tags": [
  4579. "企业风险管理v3(app)"
  4580. ],
  4581. "summary": "查询合同(采购/销售)",
  4582. "parameters": [
  4583. {
  4584. "type": "integer",
  4585. "description": "用户id",
  4586. "name": "userid",
  4587. "in": "query",
  4588. "required": true
  4589. },
  4590. {
  4591. "type": "integer",
  4592. "description": "用户类型 2-机构 7-企业成员",
  4593. "name": "usertype",
  4594. "in": "query"
  4595. },
  4596. {
  4597. "type": "integer",
  4598. "description": "合同类型 1-采购, -1-销售",
  4599. "name": "contracttype",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4606. "name": "querytype",
  4607. "in": "query",
  4608. "required": true
  4609. },
  4610. {
  4611. "type": "string",
  4612. "description": "合同ID(SpotContractId)",
  4613. "name": "contractid",
  4614. "in": "query"
  4615. }
  4616. ],
  4617. "responses": {
  4618. "200": {
  4619. "description": "OK",
  4620. "schema": {
  4621. "type": "array",
  4622. "items": {
  4623. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4624. }
  4625. }
  4626. },
  4627. "500": {
  4628. "description": "Internal Server Error",
  4629. "schema": {
  4630. "$ref": "#/definitions/app.Response"
  4631. }
  4632. }
  4633. }
  4634. }
  4635. },
  4636. "/Ermcp3/QuerySpotGoodsPrice": {
  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. "responses": {
  4660. "200": {
  4661. "description": "OK",
  4662. "schema": {
  4663. "type": "array",
  4664. "items": {
  4665. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4666. }
  4667. }
  4668. },
  4669. "500": {
  4670. "description": "Internal Server Error",
  4671. "schema": {
  4672. "$ref": "#/definitions/app.Response"
  4673. }
  4674. }
  4675. }
  4676. }
  4677. },
  4678. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4679. "get": {
  4680. "security": [
  4681. {
  4682. "ApiKeyAuth": []
  4683. }
  4684. ],
  4685. "produces": [
  4686. "application/json"
  4687. ],
  4688. "tags": [
  4689. "企业风险管理v3(app)"
  4690. ],
  4691. "summary": "查询现货市价详情(现货市价/详情)",
  4692. "parameters": [
  4693. {
  4694. "type": "integer",
  4695. "description": "用户ID",
  4696. "name": "userid",
  4697. "in": "query",
  4698. "required": true
  4699. },
  4700. {
  4701. "type": "integer",
  4702. "description": "现货商品ID",
  4703. "name": "deliverygoodsid",
  4704. "in": "query",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "品牌ID",
  4710. "name": "brandid",
  4711. "in": "query"
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "品类ID",
  4716. "name": "wrstandardid",
  4717. "in": "query"
  4718. }
  4719. ],
  4720. "responses": {
  4721. "200": {
  4722. "description": "OK",
  4723. "schema": {
  4724. "type": "array",
  4725. "items": {
  4726. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4727. }
  4728. }
  4729. },
  4730. "500": {
  4731. "description": "Internal Server Error",
  4732. "schema": {
  4733. "$ref": "#/definitions/app.Response"
  4734. }
  4735. }
  4736. }
  4737. }
  4738. },
  4739. "/Erms2/QueryArbitrageStrategy": {
  4740. "get": {
  4741. "security": [
  4742. {
  4743. "ApiKeyAuth": []
  4744. }
  4745. ],
  4746. "produces": [
  4747. "application/json"
  4748. ],
  4749. "tags": [
  4750. "风险管理"
  4751. ],
  4752. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4753. "parameters": [
  4754. {
  4755. "type": "integer",
  4756. "description": "账户ID",
  4757. "name": "userid",
  4758. "in": "query",
  4759. "required": true
  4760. },
  4761. {
  4762. "type": "string",
  4763. "description": "商品组ID(品种ID)",
  4764. "name": "goodsgroupid",
  4765. "in": "query"
  4766. }
  4767. ],
  4768. "responses": {
  4769. "200": {
  4770. "description": "OK",
  4771. "schema": {
  4772. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4773. }
  4774. },
  4775. "500": {
  4776. "description": "Internal Server Error",
  4777. "schema": {
  4778. "$ref": "#/definitions/app.Response"
  4779. }
  4780. }
  4781. }
  4782. }
  4783. },
  4784. "/Erms2/QueryInnerTradeDetail": {
  4785. "get": {
  4786. "security": [
  4787. {
  4788. "ApiKeyAuth": []
  4789. }
  4790. ],
  4791. "produces": [
  4792. "application/json"
  4793. ],
  4794. "tags": [
  4795. "风险管理"
  4796. ],
  4797. "summary": "查询内部成交单信息",
  4798. "parameters": [
  4799. {
  4800. "type": "integer",
  4801. "description": "资金账户",
  4802. "name": "accountid",
  4803. "in": "query",
  4804. "required": true
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4812. }
  4813. },
  4814. "500": {
  4815. "description": "Internal Server Error",
  4816. "schema": {
  4817. "$ref": "#/definitions/app.Response"
  4818. }
  4819. }
  4820. }
  4821. }
  4822. },
  4823. "/Erms2/QuerySpotContract": {
  4824. "get": {
  4825. "security": [
  4826. {
  4827. "ApiKeyAuth": []
  4828. }
  4829. ],
  4830. "produces": [
  4831. "application/json"
  4832. ],
  4833. "tags": [
  4834. "风险管理"
  4835. ],
  4836. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4837. "parameters": [
  4838. {
  4839. "type": "integer",
  4840. "description": "策略申请ID",
  4841. "name": "asapplyid",
  4842. "in": "query",
  4843. "required": true
  4844. },
  4845. {
  4846. "type": "integer",
  4847. "description": "现货合同ID",
  4848. "name": "spotcontractid",
  4849. "in": "query"
  4850. }
  4851. ],
  4852. "responses": {
  4853. "200": {
  4854. "description": "OK",
  4855. "schema": {
  4856. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4857. }
  4858. },
  4859. "500": {
  4860. "description": "Internal Server Error",
  4861. "schema": {
  4862. "$ref": "#/definitions/app.Response"
  4863. }
  4864. }
  4865. }
  4866. }
  4867. },
  4868. "/Erms3/AddErms2ASApply": {
  4869. "post": {
  4870. "security": [
  4871. {
  4872. "ApiKeyAuth": []
  4873. }
  4874. ],
  4875. "produces": [
  4876. "application/json"
  4877. ],
  4878. "tags": [
  4879. "风险管理v3"
  4880. ],
  4881. "summary": "新增期现套利业务申请",
  4882. "parameters": [
  4883. {
  4884. "description": "申请参数",
  4885. "name": "jsonBody",
  4886. "in": "body",
  4887. "required": true,
  4888. "schema": {
  4889. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4890. }
  4891. }
  4892. ],
  4893. "responses": {
  4894. "200": {
  4895. "description": "OK",
  4896. "schema": {
  4897. "$ref": "#/definitions/app.Response"
  4898. }
  4899. },
  4900. "500": {
  4901. "description": "Internal Server Error",
  4902. "schema": {
  4903. "$ref": "#/definitions/app.Response"
  4904. }
  4905. }
  4906. }
  4907. }
  4908. },
  4909. "/Erms3/AddErms2SpotTradeApply": {
  4910. "post": {
  4911. "security": [
  4912. {
  4913. "ApiKeyAuth": []
  4914. }
  4915. ],
  4916. "produces": [
  4917. "application/json"
  4918. ],
  4919. "tags": [
  4920. "风险管理v3"
  4921. ],
  4922. "summary": "新增现货贸易业务申请",
  4923. "parameters": [
  4924. {
  4925. "description": "申请参数",
  4926. "name": "jsonBody",
  4927. "in": "body",
  4928. "required": true,
  4929. "schema": {
  4930. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4931. }
  4932. }
  4933. ],
  4934. "responses": {
  4935. "200": {
  4936. "description": "OK",
  4937. "schema": {
  4938. "$ref": "#/definitions/app.Response"
  4939. }
  4940. },
  4941. "500": {
  4942. "description": "Internal Server Error",
  4943. "schema": {
  4944. "$ref": "#/definitions/app.Response"
  4945. }
  4946. }
  4947. }
  4948. }
  4949. },
  4950. "/Erms3/AddSpotContractApply": {
  4951. "post": {
  4952. "security": [
  4953. {
  4954. "ApiKeyAuth": []
  4955. }
  4956. ],
  4957. "produces": [
  4958. "application/json"
  4959. ],
  4960. "tags": [
  4961. "风险管理v3"
  4962. ],
  4963. "summary": "新增现货合同申请",
  4964. "parameters": [
  4965. {
  4966. "description": "申请参数",
  4967. "name": "jsonBody",
  4968. "in": "body",
  4969. "required": true,
  4970. "schema": {
  4971. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4972. }
  4973. }
  4974. ],
  4975. "responses": {
  4976. "200": {
  4977. "description": "OK",
  4978. "schema": {
  4979. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4980. }
  4981. },
  4982. "500": {
  4983. "description": "Internal Server Error",
  4984. "schema": {
  4985. "$ref": "#/definitions/app.Response"
  4986. }
  4987. }
  4988. }
  4989. }
  4990. },
  4991. "/Erms3/AddUserInfoApply": {
  4992. "post": {
  4993. "security": [
  4994. {
  4995. "ApiKeyAuth": []
  4996. }
  4997. ],
  4998. "produces": [
  4999. "application/json"
  5000. ],
  5001. "tags": [
  5002. "风险管理v3"
  5003. ],
  5004. "summary": "新增客户申请",
  5005. "parameters": [
  5006. {
  5007. "description": "用户信息",
  5008. "name": "jsonBody",
  5009. "in": "body",
  5010. "required": true,
  5011. "schema": {
  5012. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5013. }
  5014. }
  5015. ],
  5016. "responses": {
  5017. "200": {
  5018. "description": "OK",
  5019. "schema": {
  5020. "$ref": "#/definitions/app.Response"
  5021. }
  5022. },
  5023. "500": {
  5024. "description": "Internal Server Error",
  5025. "schema": {
  5026. "$ref": "#/definitions/app.Response"
  5027. }
  5028. }
  5029. }
  5030. }
  5031. },
  5032. "/Erms3/DeleteUserInfoApply": {
  5033. "get": {
  5034. "security": [
  5035. {
  5036. "ApiKeyAuth": []
  5037. }
  5038. ],
  5039. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5040. "produces": [
  5041. "application/json"
  5042. ],
  5043. "tags": [
  5044. "风险管理v3"
  5045. ],
  5046. "summary": "删除客户申请",
  5047. "parameters": [
  5048. {
  5049. "type": "integer",
  5050. "description": "用户ID",
  5051. "name": "userID",
  5052. "in": "query",
  5053. "required": true
  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/ModifyUserInfoApply": {
  5073. "post": {
  5074. "security": [
  5075. {
  5076. "ApiKeyAuth": []
  5077. }
  5078. ],
  5079. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5080. "produces": [
  5081. "application/json"
  5082. ],
  5083. "tags": [
  5084. "风险管理v3"
  5085. ],
  5086. "summary": "修改客户申请",
  5087. "parameters": [
  5088. {
  5089. "description": "用户信息",
  5090. "name": "jsonBody",
  5091. "in": "body",
  5092. "required": true,
  5093. "schema": {
  5094. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5095. }
  5096. }
  5097. ],
  5098. "responses": {
  5099. "200": {
  5100. "description": "OK",
  5101. "schema": {
  5102. "$ref": "#/definitions/app.Response"
  5103. }
  5104. },
  5105. "500": {
  5106. "description": "Internal Server Error",
  5107. "schema": {
  5108. "$ref": "#/definitions/app.Response"
  5109. }
  5110. }
  5111. }
  5112. }
  5113. },
  5114. "/Erms3/QueryBusinessInfo": {
  5115. "get": {
  5116. "security": [
  5117. {
  5118. "ApiKeyAuth": []
  5119. }
  5120. ],
  5121. "produces": [
  5122. "application/json"
  5123. ],
  5124. "tags": [
  5125. "风险管理v3"
  5126. ],
  5127. "summary": "查询业务表单数据",
  5128. "parameters": [
  5129. {
  5130. "type": "string",
  5131. "description": "资金账号ID列表,用逗号分隔",
  5132. "name": "accountids",
  5133. "in": "query",
  5134. "required": true
  5135. },
  5136. {
  5137. "type": "integer",
  5138. "description": "状态,0为未结束 1为已结束",
  5139. "name": "status",
  5140. "in": "query",
  5141. "required": true
  5142. }
  5143. ],
  5144. "responses": {
  5145. "200": {
  5146. "description": "OK",
  5147. "schema": {
  5148. "type": "array",
  5149. "items": {
  5150. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5151. }
  5152. }
  5153. },
  5154. "500": {
  5155. "description": "Internal Server Error",
  5156. "schema": {
  5157. "$ref": "#/definitions/app.Response"
  5158. }
  5159. }
  5160. }
  5161. }
  5162. },
  5163. "/Erms3/QueryPendingAuditContract": {
  5164. "get": {
  5165. "security": [
  5166. {
  5167. "ApiKeyAuth": []
  5168. }
  5169. ],
  5170. "produces": [
  5171. "application/json"
  5172. ],
  5173. "tags": [
  5174. "风险管理v3"
  5175. ],
  5176. "summary": "查询待审核合同",
  5177. "parameters": [
  5178. {
  5179. "type": "string",
  5180. "description": "资金账号ID列表,逗号隔开",
  5181. "name": "accountids",
  5182. "in": "query",
  5183. "required": true
  5184. },
  5185. {
  5186. "type": "integer",
  5187. "description": "合同类型 1-采购 -1-销售",
  5188. "name": "contracttype",
  5189. "in": "query",
  5190. "required": true
  5191. },
  5192. {
  5193. "type": "integer",
  5194. "description": "合同模式 1-普通 2-回购",
  5195. "name": "contractmode",
  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.QryAuditContractRsp"
  5207. }
  5208. }
  5209. },
  5210. "500": {
  5211. "description": "Internal Server Error",
  5212. "schema": {
  5213. "$ref": "#/definitions/app.Response"
  5214. }
  5215. }
  5216. }
  5217. }
  5218. },
  5219. "/Erms3/QueryPendingBusiness": {
  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": "string",
  5236. "description": "资金账号ID列表,逗号隔开",
  5237. "name": "accountids",
  5238. "in": "query",
  5239. "required": true
  5240. }
  5241. ],
  5242. "responses": {
  5243. "200": {
  5244. "description": "OK",
  5245. "schema": {
  5246. "type": "array",
  5247. "items": {
  5248. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5249. }
  5250. }
  5251. },
  5252. "500": {
  5253. "description": "Internal Server Error",
  5254. "schema": {
  5255. "$ref": "#/definitions/app.Response"
  5256. }
  5257. }
  5258. }
  5259. }
  5260. },
  5261. "/Erms3/QuerySpotContractAppleForm": {
  5262. "get": {
  5263. "security": [
  5264. {
  5265. "ApiKeyAuth": []
  5266. }
  5267. ],
  5268. "produces": [
  5269. "application/json"
  5270. ],
  5271. "tags": [
  5272. "风险管理v3"
  5273. ],
  5274. "summary": "查询合同申请表单数据",
  5275. "parameters": [
  5276. {
  5277. "type": "integer",
  5278. "description": "登录账号",
  5279. "name": "loginID",
  5280. "in": "query",
  5281. "required": true
  5282. }
  5283. ],
  5284. "responses": {
  5285. "200": {
  5286. "description": "OK",
  5287. "schema": {
  5288. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Erms3/QuerySpotContractDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "produces": [
  5308. "application/json"
  5309. ],
  5310. "tags": [
  5311. "风险管理v3"
  5312. ],
  5313. "summary": "查询合同详细信息",
  5314. "parameters": [
  5315. {
  5316. "type": "string",
  5317. "description": "资金账号ID列表,用逗号分隔",
  5318. "name": "accountids",
  5319. "in": "query",
  5320. "required": true
  5321. },
  5322. {
  5323. "type": "integer",
  5324. "description": "合同类型,1为采购合同 -1为销售合同",
  5325. "name": "contracttype",
  5326. "in": "query",
  5327. "required": true
  5328. },
  5329. {
  5330. "type": "integer",
  5331. "description": "合同模式,1为普通合同 2为回购销售合同",
  5332. "name": "contractmode",
  5333. "in": "query",
  5334. "required": true
  5335. },
  5336. {
  5337. "type": "integer",
  5338. "description": "状态,0为履约中 1为已完成",
  5339. "name": "status",
  5340. "in": "query",
  5341. "required": true
  5342. }
  5343. ],
  5344. "responses": {
  5345. "200": {
  5346. "description": "OK",
  5347. "schema": {
  5348. "type": "array",
  5349. "items": {
  5350. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5351. }
  5352. }
  5353. },
  5354. "500": {
  5355. "description": "Internal Server Error",
  5356. "schema": {
  5357. "$ref": "#/definitions/app.Response"
  5358. }
  5359. }
  5360. }
  5361. }
  5362. },
  5363. "/Erms3/QueryUserInfoApplies": {
  5364. "get": {
  5365. "security": [
  5366. {
  5367. "ApiKeyAuth": []
  5368. }
  5369. ],
  5370. "produces": [
  5371. "application/json"
  5372. ],
  5373. "tags": [
  5374. "风险管理v3"
  5375. ],
  5376. "summary": "客户申请信息查询",
  5377. "parameters": [
  5378. {
  5379. "type": "integer",
  5380. "description": "页码",
  5381. "name": "page",
  5382. "in": "query"
  5383. },
  5384. {
  5385. "type": "integer",
  5386. "description": "每页条数",
  5387. "name": "pagesize",
  5388. "in": "query"
  5389. },
  5390. {
  5391. "type": "string",
  5392. "description": "客户名称,支持模糊查询",
  5393. "name": "userName",
  5394. "in": "query"
  5395. }
  5396. ],
  5397. "responses": {
  5398. "200": {
  5399. "description": "OK",
  5400. "schema": {
  5401. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5402. }
  5403. },
  5404. "500": {
  5405. "description": "Internal Server Error",
  5406. "schema": {
  5407. "$ref": "#/definitions/app.Response"
  5408. }
  5409. }
  5410. }
  5411. }
  5412. },
  5413. "/Erms3/QueryUserInfos": {
  5414. "get": {
  5415. "security": [
  5416. {
  5417. "ApiKeyAuth": []
  5418. }
  5419. ],
  5420. "produces": [
  5421. "application/json"
  5422. ],
  5423. "tags": [
  5424. "风险管理v3"
  5425. ],
  5426. "summary": "客户信息查询",
  5427. "parameters": [
  5428. {
  5429. "type": "integer",
  5430. "description": "页码",
  5431. "name": "page",
  5432. "in": "query"
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "每页条数",
  5437. "name": "pagesize",
  5438. "in": "query"
  5439. },
  5440. {
  5441. "type": "string",
  5442. "description": "客户名称,支持模糊查询",
  5443. "name": "userName",
  5444. "in": "query"
  5445. }
  5446. ],
  5447. "responses": {
  5448. "200": {
  5449. "description": "OK",
  5450. "schema": {
  5451. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5452. }
  5453. },
  5454. "500": {
  5455. "description": "Internal Server Error",
  5456. "schema": {
  5457. "$ref": "#/definitions/app.Response"
  5458. }
  5459. }
  5460. }
  5461. }
  5462. },
  5463. "/HSBY/GetHsbyMyCount": {
  5464. "get": {
  5465. "security": [
  5466. {
  5467. "ApiKeyAuth": []
  5468. }
  5469. ],
  5470. "description": "说明: 不包括已完成的数量。",
  5471. "produces": [
  5472. "application/json"
  5473. ],
  5474. "tags": [
  5475. "定制【海商报业】"
  5476. ],
  5477. "summary": "获取我的订单与包裹数量",
  5478. "parameters": [
  5479. {
  5480. "type": "string",
  5481. "description": "资金账户列表,格式:1,2,3",
  5482. "name": "accountIDs",
  5483. "in": "query",
  5484. "required": true
  5485. }
  5486. ],
  5487. "responses": {
  5488. "200": {
  5489. "description": "OK",
  5490. "schema": {
  5491. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5492. }
  5493. },
  5494. "500": {
  5495. "description": "Internal Server Error",
  5496. "schema": {
  5497. "$ref": "#/definitions/app.Response"
  5498. }
  5499. }
  5500. }
  5501. }
  5502. },
  5503. "/HSBY/QueryClientFixedADConfigs": {
  5504. "get": {
  5505. "security": [
  5506. {
  5507. "ApiKeyAuth": []
  5508. }
  5509. ],
  5510. "produces": [
  5511. "application/json"
  5512. ],
  5513. "tags": [
  5514. "定制【海商报业】"
  5515. ],
  5516. "summary": "获取终端固定广告配置",
  5517. "responses": {
  5518. "200": {
  5519. "description": "OK",
  5520. "schema": {
  5521. "$ref": "#/definitions/models.Clientfixedadconfig"
  5522. }
  5523. },
  5524. "500": {
  5525. "description": "Internal Server Error",
  5526. "schema": {
  5527. "$ref": "#/definitions/app.Response"
  5528. }
  5529. }
  5530. }
  5531. }
  5532. },
  5533. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5534. "get": {
  5535. "security": [
  5536. {
  5537. "ApiKeyAuth": []
  5538. }
  5539. ],
  5540. "produces": [
  5541. "application/json"
  5542. ],
  5543. "tags": [
  5544. "定制【海商报业】"
  5545. ],
  5546. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5547. "parameters": [
  5548. {
  5549. "type": "integer",
  5550. "description": "页码",
  5551. "name": "page",
  5552. "in": "query"
  5553. },
  5554. {
  5555. "type": "integer",
  5556. "description": "每页条数",
  5557. "name": "pagesize",
  5558. "in": "query"
  5559. },
  5560. {
  5561. "type": "string",
  5562. "description": "资金账户列表,格式:1,2,3",
  5563. "name": "accountIDs",
  5564. "in": "query",
  5565. "required": true
  5566. }
  5567. ],
  5568. "responses": {
  5569. "200": {
  5570. "description": "OK",
  5571. "schema": {
  5572. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5573. }
  5574. },
  5575. "500": {
  5576. "description": "Internal Server Error",
  5577. "schema": {
  5578. "$ref": "#/definitions/app.Response"
  5579. }
  5580. }
  5581. }
  5582. }
  5583. },
  5584. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5585. "get": {
  5586. "security": [
  5587. {
  5588. "ApiKeyAuth": []
  5589. }
  5590. ],
  5591. "description": "说明:查询结果已按委托价格和委托时间排序",
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "定制【海商报业】"
  5597. ],
  5598. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5599. "parameters": [
  5600. {
  5601. "type": "integer",
  5602. "description": "商品ID",
  5603. "name": "goodsID",
  5604. "in": "query",
  5605. "required": true
  5606. },
  5607. {
  5608. "type": "string",
  5609. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5610. "name": "accountIDs",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5616. "name": "buyOrSell",
  5617. "in": "query"
  5618. },
  5619. {
  5620. "type": "number",
  5621. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5622. "name": "price",
  5623. "in": "query"
  5624. },
  5625. {
  5626. "type": "integer",
  5627. "description": "档位,不传则默认为3档",
  5628. "name": "speed",
  5629. "in": "query"
  5630. }
  5631. ],
  5632. "responses": {
  5633. "200": {
  5634. "description": "OK",
  5635. "schema": {
  5636. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5637. }
  5638. },
  5639. "500": {
  5640. "description": "Internal Server Error",
  5641. "schema": {
  5642. "$ref": "#/definitions/app.Response"
  5643. }
  5644. }
  5645. }
  5646. }
  5647. },
  5648. "/HSBY/QueryHsbyListingGoodsDetail": {
  5649. "get": {
  5650. "security": [
  5651. {
  5652. "ApiKeyAuth": []
  5653. }
  5654. ],
  5655. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5656. "produces": [
  5657. "application/json"
  5658. ],
  5659. "tags": [
  5660. "定制【海商报业】"
  5661. ],
  5662. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5663. "parameters": [
  5664. {
  5665. "type": "integer",
  5666. "description": "商品ID",
  5667. "name": "goodsID",
  5668. "in": "query",
  5669. "required": true
  5670. },
  5671. {
  5672. "type": "integer",
  5673. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5674. "name": "accountID",
  5675. "in": "query"
  5676. }
  5677. ],
  5678. "responses": {
  5679. "200": {
  5680. "description": "OK",
  5681. "schema": {
  5682. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5683. }
  5684. },
  5685. "500": {
  5686. "description": "Internal Server Error",
  5687. "schema": {
  5688. "$ref": "#/definitions/app.Response"
  5689. }
  5690. }
  5691. }
  5692. }
  5693. },
  5694. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5695. "get": {
  5696. "security": [
  5697. {
  5698. "ApiKeyAuth": []
  5699. }
  5700. ],
  5701. "produces": [
  5702. "application/json"
  5703. ],
  5704. "tags": [
  5705. "定制【海商报业】"
  5706. ],
  5707. "summary": "查询三级市场(商城)商品信息详情",
  5708. "parameters": [
  5709. {
  5710. "type": "integer",
  5711. "description": "委托单号",
  5712. "name": "orderID",
  5713. "in": "query",
  5714. "required": true
  5715. },
  5716. {
  5717. "type": "integer",
  5718. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5719. "name": "accountID",
  5720. "in": "query"
  5721. }
  5722. ],
  5723. "responses": {
  5724. "200": {
  5725. "description": "OK",
  5726. "schema": {
  5727. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5728. }
  5729. },
  5730. "500": {
  5731. "description": "Internal Server Error",
  5732. "schema": {
  5733. "$ref": "#/definitions/app.Response"
  5734. }
  5735. }
  5736. }
  5737. }
  5738. },
  5739. "/HSBY/QueryHsbyMarketGoodses": {
  5740. "get": {
  5741. "security": [
  5742. {
  5743. "ApiKeyAuth": []
  5744. }
  5745. ],
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "定制【海商报业】"
  5751. ],
  5752. "summary": "查询特卖商品列表(三级商城)",
  5753. "parameters": [
  5754. {
  5755. "type": "integer",
  5756. "description": "页码",
  5757. "name": "page",
  5758. "in": "query"
  5759. },
  5760. {
  5761. "type": "integer",
  5762. "description": "每页条数",
  5763. "name": "pagesize",
  5764. "in": "query"
  5765. },
  5766. {
  5767. "type": "string",
  5768. "description": "市场ID列表,格式:1,2,3",
  5769. "name": "marketIDs",
  5770. "in": "query",
  5771. "required": true
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5776. "name": "accountID",
  5777. "in": "query",
  5778. "required": true
  5779. },
  5780. {
  5781. "type": "integer",
  5782. "description": "类别ID",
  5783. "name": "categoryID",
  5784. "in": "query"
  5785. },
  5786. {
  5787. "type": "string",
  5788. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5789. "name": "goodsIDs",
  5790. "in": "query"
  5791. },
  5792. {
  5793. "type": "integer",
  5794. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5795. "name": "couponTypeID",
  5796. "in": "query"
  5797. }
  5798. ],
  5799. "responses": {
  5800. "200": {
  5801. "description": "OK",
  5802. "schema": {
  5803. "$ref": "#/definitions/models.HsbyMarketGoods"
  5804. }
  5805. },
  5806. "500": {
  5807. "description": "Internal Server Error",
  5808. "schema": {
  5809. "$ref": "#/definitions/app.Response"
  5810. }
  5811. }
  5812. }
  5813. }
  5814. },
  5815. "/HSBY/QueryHsbyMarkets": {
  5816. "get": {
  5817. "security": [
  5818. {
  5819. "ApiKeyAuth": []
  5820. }
  5821. ],
  5822. "produces": [
  5823. "application/json"
  5824. ],
  5825. "tags": [
  5826. "定制【海商报业】"
  5827. ],
  5828. "summary": "查询海商报业相关市场信息",
  5829. "responses": {
  5830. "200": {
  5831. "description": "OK",
  5832. "schema": {
  5833. "$ref": "#/definitions/models.HsbyMarketInfo"
  5834. }
  5835. },
  5836. "500": {
  5837. "description": "Internal Server Error",
  5838. "schema": {
  5839. "$ref": "#/definitions/app.Response"
  5840. }
  5841. }
  5842. }
  5843. }
  5844. },
  5845. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5846. "get": {
  5847. "security": [
  5848. {
  5849. "ApiKeyAuth": []
  5850. }
  5851. ],
  5852. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5853. "produces": [
  5854. "application/json"
  5855. ],
  5856. "tags": [
  5857. "定制【海商报业】"
  5858. ],
  5859. "summary": "查询“我的订单”信息",
  5860. "parameters": [
  5861. {
  5862. "type": "string",
  5863. "description": "资金账户列表,格式:1,2,3",
  5864. "name": "accountIDs",
  5865. "in": "query",
  5866. "required": true
  5867. }
  5868. ],
  5869. "responses": {
  5870. "200": {
  5871. "description": "OK",
  5872. "schema": {
  5873. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5874. }
  5875. },
  5876. "500": {
  5877. "description": "Internal Server Error",
  5878. "schema": {
  5879. "$ref": "#/definitions/app.Response"
  5880. }
  5881. }
  5882. }
  5883. }
  5884. },
  5885. "/HSBY/QueryHsbyMyGoods": {
  5886. "get": {
  5887. "security": [
  5888. {
  5889. "ApiKeyAuth": []
  5890. }
  5891. ],
  5892. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5893. "produces": [
  5894. "application/json"
  5895. ],
  5896. "tags": [
  5897. "定制【海商报业】"
  5898. ],
  5899. "summary": "查询“我的商品”信息",
  5900. "parameters": [
  5901. {
  5902. "type": "string",
  5903. "description": "资金账户列表,格式:1,2,3",
  5904. "name": "accountIDs",
  5905. "in": "query",
  5906. "required": true
  5907. }
  5908. ],
  5909. "responses": {
  5910. "200": {
  5911. "description": "OK",
  5912. "schema": {
  5913. "$ref": "#/definitions/models.HsbyMyGoods"
  5914. }
  5915. },
  5916. "500": {
  5917. "description": "Internal Server Error",
  5918. "schema": {
  5919. "$ref": "#/definitions/app.Response"
  5920. }
  5921. }
  5922. }
  5923. }
  5924. },
  5925. "/HSBY/QueryHsbyMyPackages": {
  5926. "get": {
  5927. "security": [
  5928. {
  5929. "ApiKeyAuth": []
  5930. }
  5931. ],
  5932. "produces": [
  5933. "application/json"
  5934. ],
  5935. "tags": [
  5936. "定制【海商报业】"
  5937. ],
  5938. "summary": "查询我的包裹信息",
  5939. "parameters": [
  5940. {
  5941. "type": "string",
  5942. "description": "资金账户列表,格式:1,2,3",
  5943. "name": "accountIDs",
  5944. "in": "query",
  5945. "required": true
  5946. },
  5947. {
  5948. "type": "integer",
  5949. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5950. "name": "takeOrderStatus",
  5951. "in": "query"
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "$ref": "#/definitions/models.HsbyMyPackage"
  5959. }
  5960. },
  5961. "500": {
  5962. "description": "Internal Server Error",
  5963. "schema": {
  5964. "$ref": "#/definitions/app.Response"
  5965. }
  5966. }
  5967. }
  5968. }
  5969. },
  5970. "/HSBY/QueryHsbyPreGoodsDetail": {
  5971. "get": {
  5972. "security": [
  5973. {
  5974. "ApiKeyAuth": []
  5975. }
  5976. ],
  5977. "produces": [
  5978. "application/json"
  5979. ],
  5980. "tags": [
  5981. "定制【海商报业】"
  5982. ],
  5983. "summary": "查询一级市场(预售)商品信息详情",
  5984. "parameters": [
  5985. {
  5986. "type": "integer",
  5987. "description": "商品ID",
  5988. "name": "goodsID",
  5989. "in": "query",
  5990. "required": true
  5991. },
  5992. {
  5993. "type": "integer",
  5994. "description": "资金账户,主要用于获取预售商品购买上限",
  5995. "name": "accountID",
  5996. "in": "query"
  5997. }
  5998. ],
  5999. "responses": {
  6000. "200": {
  6001. "description": "OK",
  6002. "schema": {
  6003. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/HSBY/QueryHsbyPreGoodses": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6023. "produces": [
  6024. "application/json"
  6025. ],
  6026. "tags": [
  6027. "定制【海商报业】"
  6028. ],
  6029. "summary": "查询新品上市商品列表(一级市场预售)",
  6030. "parameters": [
  6031. {
  6032. "type": "integer",
  6033. "description": "页码",
  6034. "name": "page",
  6035. "in": "query"
  6036. },
  6037. {
  6038. "type": "integer",
  6039. "description": "每页条数",
  6040. "name": "pagesize",
  6041. "in": "query"
  6042. },
  6043. {
  6044. "type": "string",
  6045. "description": "市场ID列表,格式:1,2,3",
  6046. "name": "marketIDs",
  6047. "in": "query",
  6048. "required": true
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "目的地(省)ID",
  6053. "name": "descProvinceID",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "integer",
  6058. "description": "目的地(市)ID",
  6059. "name": "descCityID",
  6060. "in": "query"
  6061. }
  6062. ],
  6063. "responses": {
  6064. "200": {
  6065. "description": "OK",
  6066. "schema": {
  6067. "$ref": "#/definitions/models.HsbyPreGoods"
  6068. }
  6069. },
  6070. "500": {
  6071. "description": "Internal Server Error",
  6072. "schema": {
  6073. "$ref": "#/definitions/app.Response"
  6074. }
  6075. }
  6076. }
  6077. }
  6078. },
  6079. "/HSBY/QueryHsbySellMyDetails": {
  6080. "get": {
  6081. "security": [
  6082. {
  6083. "ApiKeyAuth": []
  6084. }
  6085. ],
  6086. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6087. "produces": [
  6088. "application/json"
  6089. ],
  6090. "tags": [
  6091. "定制【海商报业】"
  6092. ],
  6093. "summary": "查询\"我的闲置\"单据信息",
  6094. "parameters": [
  6095. {
  6096. "type": "integer",
  6097. "description": "页码",
  6098. "name": "page",
  6099. "in": "query"
  6100. },
  6101. {
  6102. "type": "integer",
  6103. "description": "每页条数",
  6104. "name": "pagesize",
  6105. "in": "query"
  6106. },
  6107. {
  6108. "type": "string",
  6109. "description": "资金账户列表,格式:1,2,3",
  6110. "name": "accountIDs",
  6111. "in": "query",
  6112. "required": true
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6117. "name": "orderType",
  6118. "in": "query"
  6119. }
  6120. ],
  6121. "responses": {
  6122. "200": {
  6123. "description": "OK",
  6124. "schema": {
  6125. "$ref": "#/definitions/models.HsbySellMyDetail"
  6126. }
  6127. },
  6128. "500": {
  6129. "description": "Internal Server Error",
  6130. "schema": {
  6131. "$ref": "#/definitions/app.Response"
  6132. }
  6133. }
  6134. }
  6135. }
  6136. },
  6137. "/HSBY/QueryHsbyTopGoodses": {
  6138. "get": {
  6139. "security": [
  6140. {
  6141. "ApiKeyAuth": []
  6142. }
  6143. ],
  6144. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6145. "produces": [
  6146. "application/json"
  6147. ],
  6148. "tags": [
  6149. "定制【海商报业】"
  6150. ],
  6151. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6152. "parameters": [
  6153. {
  6154. "type": "integer",
  6155. "description": "页码",
  6156. "name": "page",
  6157. "in": "query"
  6158. },
  6159. {
  6160. "type": "integer",
  6161. "description": "每页条数",
  6162. "name": "pagesize",
  6163. "in": "query"
  6164. },
  6165. {
  6166. "type": "string",
  6167. "description": "市场ID列表,格式:1,2,3",
  6168. "name": "marketIDs",
  6169. "in": "query",
  6170. "required": true
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "目的地(省)ID",
  6175. "name": "descProvinceID",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "integer",
  6180. "description": "目的地(市)ID",
  6181. "name": "descCityID",
  6182. "in": "query"
  6183. }
  6184. ],
  6185. "responses": {
  6186. "200": {
  6187. "description": "OK",
  6188. "schema": {
  6189. "$ref": "#/definitions/models.HsbyTopGoods"
  6190. }
  6191. },
  6192. "500": {
  6193. "description": "Internal Server Error",
  6194. "schema": {
  6195. "$ref": "#/definitions/app.Response"
  6196. }
  6197. }
  6198. }
  6199. }
  6200. },
  6201. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6202. "get": {
  6203. "security": [
  6204. {
  6205. "ApiKeyAuth": []
  6206. }
  6207. ],
  6208. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6209. "produces": [
  6210. "application/json"
  6211. ],
  6212. "tags": [
  6213. "定制【海商报业】"
  6214. ],
  6215. "summary": "查询游客三级市场(商城)商品信息详情",
  6216. "parameters": [
  6217. {
  6218. "type": "integer",
  6219. "description": "商品ID",
  6220. "name": "goodsID",
  6221. "in": "query",
  6222. "required": true
  6223. }
  6224. ],
  6225. "responses": {
  6226. "200": {
  6227. "description": "OK",
  6228. "schema": {
  6229. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6230. }
  6231. },
  6232. "500": {
  6233. "description": "Internal Server Error",
  6234. "schema": {
  6235. "$ref": "#/definitions/app.Response"
  6236. }
  6237. }
  6238. }
  6239. }
  6240. },
  6241. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6242. "get": {
  6243. "security": [
  6244. {
  6245. "ApiKeyAuth": []
  6246. }
  6247. ],
  6248. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6249. "produces": [
  6250. "application/json"
  6251. ],
  6252. "tags": [
  6253. "定制【海商报业】"
  6254. ],
  6255. "summary": "查询游客特卖商品列表(三级商城)",
  6256. "parameters": [
  6257. {
  6258. "type": "integer",
  6259. "description": "页码",
  6260. "name": "page",
  6261. "in": "query"
  6262. },
  6263. {
  6264. "type": "integer",
  6265. "description": "每页条数",
  6266. "name": "pagesize",
  6267. "in": "query"
  6268. },
  6269. {
  6270. "type": "string",
  6271. "description": "市场ID列表,格式:1,2,3",
  6272. "name": "marketIDs",
  6273. "in": "query",
  6274. "required": true
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "类别ID",
  6279. "name": "categoryID",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6285. "name": "goodsIDs",
  6286. "in": "query"
  6287. }
  6288. ],
  6289. "responses": {
  6290. "200": {
  6291. "description": "OK",
  6292. "schema": {
  6293. "$ref": "#/definitions/models.HsbyMarketGoods"
  6294. }
  6295. },
  6296. "500": {
  6297. "description": "Internal Server Error",
  6298. "schema": {
  6299. "$ref": "#/definitions/app.Response"
  6300. }
  6301. }
  6302. }
  6303. }
  6304. },
  6305. "/HSBY/QueryMyCollectionOrders": {
  6306. "get": {
  6307. "security": [
  6308. {
  6309. "ApiKeyAuth": []
  6310. }
  6311. ],
  6312. "produces": [
  6313. "application/json"
  6314. ],
  6315. "tags": [
  6316. "定制【海商报业】"
  6317. ],
  6318. "summary": "我的闲置中收款信息查询",
  6319. "parameters": [
  6320. {
  6321. "type": "integer",
  6322. "description": "页码",
  6323. "name": "page",
  6324. "in": "query"
  6325. },
  6326. {
  6327. "type": "integer",
  6328. "description": "每页条数",
  6329. "name": "pagesize",
  6330. "in": "query"
  6331. },
  6332. {
  6333. "type": "string",
  6334. "description": "资金账户,格式:1,2,3",
  6335. "name": "accountIDs",
  6336. "in": "query",
  6337. "required": true
  6338. }
  6339. ],
  6340. "responses": {
  6341. "200": {
  6342. "description": "OK",
  6343. "schema": {
  6344. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6345. }
  6346. },
  6347. "500": {
  6348. "description": "Internal Server Error",
  6349. "schema": {
  6350. "$ref": "#/definitions/app.Response"
  6351. }
  6352. }
  6353. }
  6354. }
  6355. },
  6356. "/HSBY/QueryMyCouponHolds": {
  6357. "get": {
  6358. "security": [
  6359. {
  6360. "ApiKeyAuth": []
  6361. }
  6362. ],
  6363. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6364. "produces": [
  6365. "application/json"
  6366. ],
  6367. "tags": [
  6368. "定制【海商报业】"
  6369. ],
  6370. "summary": "我的优惠卷持仓查询",
  6371. "parameters": [
  6372. {
  6373. "type": "string",
  6374. "description": "资金账户列表,格式:1,2,3",
  6375. "name": "accountIDs",
  6376. "in": "query",
  6377. "required": true
  6378. },
  6379. {
  6380. "type": "string",
  6381. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6382. "name": "holdStatus",
  6383. "in": "query"
  6384. }
  6385. ],
  6386. "responses": {
  6387. "200": {
  6388. "description": "OK",
  6389. "schema": {
  6390. "$ref": "#/definitions/models.MyCouponHold"
  6391. }
  6392. },
  6393. "500": {
  6394. "description": "Internal Server Error",
  6395. "schema": {
  6396. "$ref": "#/definitions/app.Response"
  6397. }
  6398. }
  6399. }
  6400. }
  6401. },
  6402. "/HSBY/QueryMyCoupons": {
  6403. "get": {
  6404. "security": [
  6405. {
  6406. "ApiKeyAuth": []
  6407. }
  6408. ],
  6409. "produces": [
  6410. "application/json"
  6411. ],
  6412. "tags": [
  6413. "定制【海商报业】"
  6414. ],
  6415. "summary": "我的优惠卷查询",
  6416. "parameters": [
  6417. {
  6418. "type": "string",
  6419. "description": "资金账户列表,格式:1,2,3",
  6420. "name": "accountIDs",
  6421. "in": "query",
  6422. "required": true
  6423. },
  6424. {
  6425. "type": "integer",
  6426. "description": "商品ID, 一般与sellUserID配套传入",
  6427. "name": "goodsID",
  6428. "in": "query"
  6429. },
  6430. {
  6431. "type": "integer",
  6432. "description": "卖方UserID",
  6433. "name": "sellUserID",
  6434. "in": "query"
  6435. }
  6436. ],
  6437. "responses": {
  6438. "200": {
  6439. "description": "OK",
  6440. "schema": {
  6441. "$ref": "#/definitions/models.MyCoupon"
  6442. }
  6443. },
  6444. "500": {
  6445. "description": "Internal Server Error",
  6446. "schema": {
  6447. "$ref": "#/definitions/app.Response"
  6448. }
  6449. }
  6450. }
  6451. }
  6452. },
  6453. "/HSBY/QueryMyPayOrders": {
  6454. "get": {
  6455. "security": [
  6456. {
  6457. "ApiKeyAuth": []
  6458. }
  6459. ],
  6460. "produces": [
  6461. "application/json"
  6462. ],
  6463. "tags": [
  6464. "定制【海商报业】"
  6465. ],
  6466. "summary": "获取我的订单中待付款信息",
  6467. "parameters": [
  6468. {
  6469. "type": "integer",
  6470. "description": "页码",
  6471. "name": "page",
  6472. "in": "query"
  6473. },
  6474. {
  6475. "type": "integer",
  6476. "description": "每页条数",
  6477. "name": "pagesize",
  6478. "in": "query"
  6479. },
  6480. {
  6481. "type": "string",
  6482. "description": "资金账户列表,格式:1,2,3",
  6483. "name": "accountIDs",
  6484. "in": "query",
  6485. "required": true
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "买方委托单号",
  6490. "name": "buyOrderID",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "integer",
  6495. "description": "卖方委托单号",
  6496. "name": "sellOrderID",
  6497. "in": "query"
  6498. }
  6499. ],
  6500. "responses": {
  6501. "200": {
  6502. "description": "OK",
  6503. "schema": {
  6504. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6505. }
  6506. },
  6507. "500": {
  6508. "description": "Internal Server Error",
  6509. "schema": {
  6510. "$ref": "#/definitions/app.Response"
  6511. }
  6512. }
  6513. }
  6514. }
  6515. },
  6516. "/HSBY/QueryMyUsedCoupon": {
  6517. "get": {
  6518. "security": [
  6519. {
  6520. "ApiKeyAuth": []
  6521. }
  6522. ],
  6523. "produces": [
  6524. "application/json"
  6525. ],
  6526. "tags": [
  6527. "定制【海商报业】"
  6528. ],
  6529. "summary": "已使用优惠卷查询",
  6530. "parameters": [
  6531. {
  6532. "type": "string",
  6533. "description": "资金账户列表,格式:1,2,3",
  6534. "name": "accountIDs",
  6535. "in": "query",
  6536. "required": true
  6537. }
  6538. ],
  6539. "responses": {
  6540. "200": {
  6541. "description": "OK",
  6542. "schema": {
  6543. "$ref": "#/definitions/models.MyUsedCoupon"
  6544. }
  6545. },
  6546. "500": {
  6547. "description": "Internal Server Error",
  6548. "schema": {
  6549. "$ref": "#/definitions/app.Response"
  6550. }
  6551. }
  6552. }
  6553. }
  6554. },
  6555. "/HSBY/QueryProvincesAndCities": {
  6556. "get": {
  6557. "security": [
  6558. {
  6559. "ApiKeyAuth": []
  6560. }
  6561. ],
  6562. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6563. "produces": [
  6564. "application/json"
  6565. ],
  6566. "tags": [
  6567. "定制【海商报业】"
  6568. ],
  6569. "summary": "查询省市信息(不包括区)",
  6570. "parameters": [
  6571. {
  6572. "type": "integer",
  6573. "description": "省ID",
  6574. "name": "provinceID",
  6575. "in": "query"
  6576. }
  6577. ],
  6578. "responses": {
  6579. "200": {
  6580. "description": "OK",
  6581. "schema": {
  6582. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6583. }
  6584. },
  6585. "500": {
  6586. "description": "Internal Server Error",
  6587. "schema": {
  6588. "$ref": "#/definitions/app.Response"
  6589. }
  6590. }
  6591. }
  6592. }
  6593. },
  6594. "/HSBY/SetHsbyMyPackagesStatus": {
  6595. "post": {
  6596. "security": [
  6597. {
  6598. "ApiKeyAuth": []
  6599. }
  6600. ],
  6601. "produces": [
  6602. "application/json"
  6603. ],
  6604. "tags": [
  6605. "定制【海商报业】"
  6606. ],
  6607. "summary": "设置我的包裹已收货状态",
  6608. "parameters": [
  6609. {
  6610. "type": "string",
  6611. "description": "提货单号",
  6612. "name": "takeOrderID",
  6613. "in": "query",
  6614. "required": true
  6615. },
  6616. {
  6617. "type": "integer",
  6618. "description": "资金账号",
  6619. "name": "accountID",
  6620. "in": "query",
  6621. "required": true
  6622. }
  6623. ],
  6624. "responses": {
  6625. "200": {
  6626. "description": "OK",
  6627. "schema": {
  6628. "$ref": "#/definitions/app.Response"
  6629. }
  6630. },
  6631. "500": {
  6632. "description": "Internal Server Error",
  6633. "schema": {
  6634. "$ref": "#/definitions/app.Response"
  6635. }
  6636. }
  6637. }
  6638. }
  6639. },
  6640. "/Market/QueryGoodsesByLoginID": {
  6641. "get": {
  6642. "security": [
  6643. {
  6644. "ApiKeyAuth": []
  6645. }
  6646. ],
  6647. "produces": [
  6648. "application/json"
  6649. ],
  6650. "tags": [
  6651. "通用市场"
  6652. ],
  6653. "summary": "获取登录账号有权限的商品信息",
  6654. "parameters": [
  6655. {
  6656. "type": "integer",
  6657. "description": "登录账号",
  6658. "name": "loginID",
  6659. "in": "query",
  6660. "required": true
  6661. },
  6662. {
  6663. "type": "string",
  6664. "description": "市场ID列表,格式:1,2,3",
  6665. "name": "marketIDs",
  6666. "in": "query"
  6667. }
  6668. ],
  6669. "responses": {
  6670. "200": {
  6671. "description": "OK",
  6672. "schema": {
  6673. "$ref": "#/definitions/models.Goods"
  6674. }
  6675. },
  6676. "500": {
  6677. "description": "Internal Server Error",
  6678. "schema": {
  6679. "$ref": "#/definitions/app.Response"
  6680. }
  6681. }
  6682. }
  6683. }
  6684. },
  6685. "/Market/QueryMarketRun": {
  6686. "get": {
  6687. "security": [
  6688. {
  6689. "ApiKeyAuth": []
  6690. }
  6691. ],
  6692. "produces": [
  6693. "application/json"
  6694. ],
  6695. "tags": [
  6696. "通用市场"
  6697. ],
  6698. "summary": "查询市场运行信息",
  6699. "parameters": [
  6700. {
  6701. "type": "integer",
  6702. "description": "市场ID,不传返回所有",
  6703. "name": "marketID",
  6704. "in": "query"
  6705. }
  6706. ],
  6707. "responses": {
  6708. "200": {
  6709. "description": "OK",
  6710. "schema": {
  6711. "$ref": "#/definitions/models.Marketrun"
  6712. }
  6713. },
  6714. "500": {
  6715. "description": "Internal Server Error",
  6716. "schema": {
  6717. "$ref": "#/definitions/app.Response"
  6718. }
  6719. }
  6720. }
  6721. }
  6722. },
  6723. "/Market/QueryMarketsByLoginID": {
  6724. "get": {
  6725. "security": [
  6726. {
  6727. "ApiKeyAuth": []
  6728. }
  6729. ],
  6730. "produces": [
  6731. "application/json"
  6732. ],
  6733. "tags": [
  6734. "通用市场"
  6735. ],
  6736. "summary": "获取登录账号有权限的市场信息",
  6737. "parameters": [
  6738. {
  6739. "type": "integer",
  6740. "description": "登录账号",
  6741. "name": "loginID",
  6742. "in": "query",
  6743. "required": true
  6744. }
  6745. ],
  6746. "responses": {
  6747. "200": {
  6748. "description": "OK",
  6749. "schema": {
  6750. "$ref": "#/definitions/models.Market"
  6751. }
  6752. },
  6753. "500": {
  6754. "description": "Internal Server Error",
  6755. "schema": {
  6756. "$ref": "#/definitions/app.Response"
  6757. }
  6758. }
  6759. }
  6760. }
  6761. },
  6762. "/Order/QueryHisTradeDetail": {
  6763. "get": {
  6764. "security": [
  6765. {
  6766. "ApiKeyAuth": []
  6767. }
  6768. ],
  6769. "produces": [
  6770. "application/json"
  6771. ],
  6772. "tags": [
  6773. "通用单据"
  6774. ],
  6775. "summary": "历史成交单查询(合约市场)",
  6776. "parameters": [
  6777. {
  6778. "type": "string",
  6779. "description": "资金账户 - 格式:1,2,3",
  6780. "name": "accountID",
  6781. "in": "query",
  6782. "required": true
  6783. },
  6784. {
  6785. "type": "integer",
  6786. "description": "成交单号",
  6787. "name": "tradeID",
  6788. "in": "query"
  6789. },
  6790. {
  6791. "type": "integer",
  6792. "description": "委托单号",
  6793. "name": "orderID",
  6794. "in": "query"
  6795. },
  6796. {
  6797. "type": "integer",
  6798. "description": "商品ID",
  6799. "name": "goodsID",
  6800. "in": "query"
  6801. },
  6802. {
  6803. "type": "string",
  6804. "description": "交易模式 - 格式:1,2,3",
  6805. "name": "tradeMode",
  6806. "in": "query"
  6807. },
  6808. {
  6809. "type": "integer",
  6810. "description": "委托单据类型",
  6811. "name": "buildType",
  6812. "in": "query"
  6813. },
  6814. {
  6815. "type": "string",
  6816. "description": "成交类别 - 格式:1,2,3",
  6817. "name": "tradeType",
  6818. "in": "query"
  6819. },
  6820. {
  6821. "type": "string",
  6822. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6823. "name": "startDate",
  6824. "in": "query"
  6825. },
  6826. {
  6827. "type": "string",
  6828. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6829. "name": "endDate",
  6830. "in": "query"
  6831. }
  6832. ],
  6833. "responses": {
  6834. "200": {
  6835. "description": "OK",
  6836. "schema": {
  6837. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6838. }
  6839. },
  6840. "500": {
  6841. "description": "Internal Server Error",
  6842. "schema": {
  6843. "$ref": "#/definitions/app.Response"
  6844. }
  6845. }
  6846. }
  6847. }
  6848. },
  6849. "/Order/QueryHisTradeOrderDetail": {
  6850. "get": {
  6851. "security": [
  6852. {
  6853. "ApiKeyAuth": []
  6854. }
  6855. ],
  6856. "produces": [
  6857. "application/json"
  6858. ],
  6859. "tags": [
  6860. "通用单据"
  6861. ],
  6862. "summary": "历史委托单查询请求(合约市场)",
  6863. "parameters": [
  6864. {
  6865. "type": "string",
  6866. "description": "资金账户 - 格式:1,2,3",
  6867. "name": "accountID",
  6868. "in": "query",
  6869. "required": true
  6870. },
  6871. {
  6872. "type": "string",
  6873. "description": "交易模式 - 格式:1,2,3",
  6874. "name": "tradeMode",
  6875. "in": "query"
  6876. },
  6877. {
  6878. "type": "string",
  6879. "description": "委托状态 - 格式:1,2,3",
  6880. "name": "orderStatus",
  6881. "in": "query"
  6882. },
  6883. {
  6884. "type": "integer",
  6885. "description": "委托单号",
  6886. "name": "orderID",
  6887. "in": "query"
  6888. },
  6889. {
  6890. "type": "string",
  6891. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6892. "name": "startDate",
  6893. "in": "query"
  6894. },
  6895. {
  6896. "type": "string",
  6897. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6898. "name": "endDate",
  6899. "in": "query"
  6900. }
  6901. ],
  6902. "responses": {
  6903. "200": {
  6904. "description": "OK",
  6905. "schema": {
  6906. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6907. }
  6908. },
  6909. "500": {
  6910. "description": "Internal Server Error",
  6911. "schema": {
  6912. "$ref": "#/definitions/app.Response"
  6913. }
  6914. }
  6915. }
  6916. }
  6917. },
  6918. "/Order/QueryTradeDetail": {
  6919. "get": {
  6920. "security": [
  6921. {
  6922. "ApiKeyAuth": []
  6923. }
  6924. ],
  6925. "produces": [
  6926. "application/json"
  6927. ],
  6928. "tags": [
  6929. "通用单据"
  6930. ],
  6931. "summary": "成交单查询(合约市场)",
  6932. "parameters": [
  6933. {
  6934. "type": "string",
  6935. "description": "资金账户 - 格式:1,2,3",
  6936. "name": "accountID",
  6937. "in": "query",
  6938. "required": true
  6939. },
  6940. {
  6941. "type": "integer",
  6942. "description": "成交单号",
  6943. "name": "tradeID",
  6944. "in": "query"
  6945. },
  6946. {
  6947. "type": "integer",
  6948. "description": "委托单号",
  6949. "name": "orderID",
  6950. "in": "query"
  6951. },
  6952. {
  6953. "type": "string",
  6954. "description": "交易模式 - 格式:1,2,3",
  6955. "name": "tradeMode",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "integer",
  6960. "description": "委托单据类型",
  6961. "name": "buildType",
  6962. "in": "query"
  6963. },
  6964. {
  6965. "type": "string",
  6966. "description": "成交类别 - 格式:1,2,3",
  6967. "name": "tradeType",
  6968. "in": "query"
  6969. },
  6970. {
  6971. "type": "integer",
  6972. "description": "商品ID",
  6973. "name": "goodsID",
  6974. "in": "query"
  6975. }
  6976. ],
  6977. "responses": {
  6978. "200": {
  6979. "description": "OK",
  6980. "schema": {
  6981. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6982. }
  6983. },
  6984. "500": {
  6985. "description": "Internal Server Error",
  6986. "schema": {
  6987. "$ref": "#/definitions/app.Response"
  6988. }
  6989. }
  6990. }
  6991. }
  6992. },
  6993. "/Order/QueryTradeOrderDetail": {
  6994. "get": {
  6995. "security": [
  6996. {
  6997. "ApiKeyAuth": []
  6998. }
  6999. ],
  7000. "produces": [
  7001. "application/json"
  7002. ],
  7003. "tags": [
  7004. "通用单据"
  7005. ],
  7006. "summary": "委托单查询请求(合约市场)",
  7007. "parameters": [
  7008. {
  7009. "type": "string",
  7010. "description": "资金账户 - 格式:1,2,3",
  7011. "name": "accountID",
  7012. "in": "query",
  7013. "required": true
  7014. },
  7015. {
  7016. "type": "string",
  7017. "description": "交易模式 - 格式:1,2,3",
  7018. "name": "tradeMode",
  7019. "in": "query"
  7020. },
  7021. {
  7022. "type": "string",
  7023. "description": "委托状态 - 格式:1,2,3",
  7024. "name": "orderStatus",
  7025. "in": "query"
  7026. },
  7027. {
  7028. "type": "integer",
  7029. "description": "委托单号",
  7030. "name": "orderID",
  7031. "in": "query"
  7032. }
  7033. ],
  7034. "responses": {
  7035. "200": {
  7036. "description": "OK",
  7037. "schema": {
  7038. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7039. }
  7040. },
  7041. "500": {
  7042. "description": "Internal Server Error",
  7043. "schema": {
  7044. "$ref": "#/definitions/app.Response"
  7045. }
  7046. }
  7047. }
  7048. }
  7049. },
  7050. "/Order/QueryTradePosition": {
  7051. "get": {
  7052. "security": [
  7053. {
  7054. "ApiKeyAuth": []
  7055. }
  7056. ],
  7057. "produces": [
  7058. "application/json"
  7059. ],
  7060. "tags": [
  7061. "通用单据"
  7062. ],
  7063. "summary": "持仓汇总查询(合约市场)",
  7064. "parameters": [
  7065. {
  7066. "type": "string",
  7067. "description": "资金账户 - 格式:1,2,3",
  7068. "name": "accountID",
  7069. "in": "query",
  7070. "required": true
  7071. },
  7072. {
  7073. "type": "string",
  7074. "description": "交易模式 - 格式:1,2,3",
  7075. "name": "tradeMode",
  7076. "in": "query"
  7077. }
  7078. ],
  7079. "responses": {
  7080. "200": {
  7081. "description": "OK",
  7082. "schema": {
  7083. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7084. }
  7085. },
  7086. "500": {
  7087. "description": "Internal Server Error",
  7088. "schema": {
  7089. "$ref": "#/definitions/app.Response"
  7090. }
  7091. }
  7092. }
  7093. }
  7094. },
  7095. "/Qhj/QueryAccountInOutApply": {
  7096. "get": {
  7097. "security": [
  7098. {
  7099. "ApiKeyAuth": []
  7100. }
  7101. ],
  7102. "produces": [
  7103. "application/json"
  7104. ],
  7105. "tags": [
  7106. "大连千海金"
  7107. ],
  7108. "summary": "查询充值提现",
  7109. "parameters": [
  7110. {
  7111. "type": "integer",
  7112. "description": "用户ID",
  7113. "name": "userid",
  7114. "in": "query",
  7115. "required": true
  7116. },
  7117. {
  7118. "type": "string",
  7119. "description": "申请起始日期(格式yyyymmdd)",
  7120. "name": "begindate",
  7121. "in": "query"
  7122. },
  7123. {
  7124. "type": "string",
  7125. "description": "申请截止日期(格式yyyymmdd)",
  7126. "name": "enddate",
  7127. "in": "query"
  7128. },
  7129. {
  7130. "type": "string",
  7131. "description": "模糊搜索名称",
  7132. "name": "likename",
  7133. "in": "query"
  7134. }
  7135. ],
  7136. "responses": {
  7137. "200": {
  7138. "description": "OK",
  7139. "schema": {
  7140. "type": "array",
  7141. "items": {
  7142. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7143. }
  7144. }
  7145. },
  7146. "500": {
  7147. "description": "Internal Server Error",
  7148. "schema": {
  7149. "$ref": "#/definitions/app.Response"
  7150. }
  7151. }
  7152. }
  7153. }
  7154. },
  7155. "/Qhj/QueryAreaFinanceConfig": {
  7156. "get": {
  7157. "security": [
  7158. {
  7159. "ApiKeyAuth": []
  7160. }
  7161. ],
  7162. "produces": [
  7163. "application/json"
  7164. ],
  7165. "tags": [
  7166. "大连千海金"
  7167. ],
  7168. "summary": "查询企业配置表",
  7169. "parameters": [
  7170. {
  7171. "type": "integer",
  7172. "description": "机构用户ID 其他做市关系,都设置为 1",
  7173. "name": "userid",
  7174. "in": "query"
  7175. }
  7176. ],
  7177. "responses": {
  7178. "200": {
  7179. "description": "OK",
  7180. "schema": {
  7181. "type": "array",
  7182. "items": {
  7183. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7184. }
  7185. }
  7186. },
  7187. "500": {
  7188. "description": "Internal Server Error",
  7189. "schema": {
  7190. "$ref": "#/definitions/app.Response"
  7191. }
  7192. }
  7193. }
  7194. }
  7195. },
  7196. "/Qhj/QueryBankAccountSign": {
  7197. "get": {
  7198. "security": [
  7199. {
  7200. "ApiKeyAuth": []
  7201. }
  7202. ],
  7203. "produces": [
  7204. "application/json"
  7205. ],
  7206. "tags": [
  7207. "大连千海金"
  7208. ],
  7209. "summary": "查询签约银行信息(提现账户管理)",
  7210. "parameters": [
  7211. {
  7212. "type": "integer",
  7213. "description": "用户ID",
  7214. "name": "userid",
  7215. "in": "query",
  7216. "required": true
  7217. }
  7218. ],
  7219. "responses": {
  7220. "200": {
  7221. "description": "OK",
  7222. "schema": {
  7223. "type": "array",
  7224. "items": {
  7225. "$ref": "#/definitions/models.QhjBankAccountSign"
  7226. }
  7227. }
  7228. },
  7229. "500": {
  7230. "description": "Internal Server Error",
  7231. "schema": {
  7232. "$ref": "#/definitions/app.Response"
  7233. }
  7234. }
  7235. }
  7236. }
  7237. },
  7238. "/Qhj/QueryBankInfo": {
  7239. "get": {
  7240. "security": [
  7241. {
  7242. "ApiKeyAuth": []
  7243. }
  7244. ],
  7245. "produces": [
  7246. "application/json"
  7247. ],
  7248. "tags": [
  7249. "大连千海金"
  7250. ],
  7251. "summary": "查询开户行",
  7252. "responses": {
  7253. "200": {
  7254. "description": "OK",
  7255. "schema": {
  7256. "type": "array",
  7257. "items": {
  7258. "$ref": "#/definitions/models.QhjBankInfo"
  7259. }
  7260. }
  7261. },
  7262. "500": {
  7263. "description": "Internal Server Error",
  7264. "schema": {
  7265. "$ref": "#/definitions/app.Response"
  7266. }
  7267. }
  7268. }
  7269. }
  7270. },
  7271. "/Qhj/QueryBrokerApply": {
  7272. "get": {
  7273. "security": [
  7274. {
  7275. "ApiKeyAuth": []
  7276. }
  7277. ],
  7278. "produces": [
  7279. "application/json"
  7280. ],
  7281. "tags": [
  7282. "大连千海金"
  7283. ],
  7284. "summary": "查询经纪人申请",
  7285. "parameters": [
  7286. {
  7287. "type": "integer",
  7288. "description": "所属机构ID",
  7289. "name": "userid",
  7290. "in": "query"
  7291. },
  7292. {
  7293. "type": "string",
  7294. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7295. "name": "filterstatus",
  7296. "in": "query"
  7297. }
  7298. ],
  7299. "responses": {
  7300. "200": {
  7301. "description": "OK",
  7302. "schema": {
  7303. "type": "array",
  7304. "items": {
  7305. "$ref": "#/definitions/models.QhjBrokerApply"
  7306. }
  7307. }
  7308. },
  7309. "500": {
  7310. "description": "Internal Server Error",
  7311. "schema": {
  7312. "$ref": "#/definitions/app.Response"
  7313. }
  7314. }
  7315. }
  7316. }
  7317. },
  7318. "/Qhj/QueryBrokerApplyEx": {
  7319. "get": {
  7320. "security": [
  7321. {
  7322. "ApiKeyAuth": []
  7323. }
  7324. ],
  7325. "produces": [
  7326. "application/json"
  7327. ],
  7328. "tags": [
  7329. "大连千海金"
  7330. ],
  7331. "summary": "查询经纪人信息和申请记录",
  7332. "parameters": [
  7333. {
  7334. "type": "integer",
  7335. "description": "所属机构ID",
  7336. "name": "userid",
  7337. "in": "query"
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "type": "array",
  7345. "items": {
  7346. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7347. }
  7348. }
  7349. },
  7350. "500": {
  7351. "description": "Internal Server Error",
  7352. "schema": {
  7353. "$ref": "#/definitions/app.Response"
  7354. }
  7355. }
  7356. }
  7357. }
  7358. },
  7359. "/Qhj/QueryBrokerRewardLog": {
  7360. "get": {
  7361. "security": [
  7362. {
  7363. "ApiKeyAuth": []
  7364. }
  7365. ],
  7366. "produces": [
  7367. "application/json"
  7368. ],
  7369. "tags": [
  7370. "大连千海金"
  7371. ],
  7372. "summary": "查询奖励流水(我的奖励)",
  7373. "parameters": [
  7374. {
  7375. "type": "integer",
  7376. "description": "用户ID",
  7377. "name": "userid",
  7378. "in": "query",
  7379. "required": true
  7380. },
  7381. {
  7382. "type": "string",
  7383. "description": "开始交易日(yyyymmdd)",
  7384. "name": "begindate",
  7385. "in": "query"
  7386. },
  7387. {
  7388. "type": "string",
  7389. "description": "结束交易日(yyyymmdd)",
  7390. "name": "enddate",
  7391. "in": "query"
  7392. }
  7393. ],
  7394. "responses": {
  7395. "200": {
  7396. "description": "OK",
  7397. "schema": {
  7398. "type": "array",
  7399. "items": {
  7400. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7401. }
  7402. }
  7403. },
  7404. "500": {
  7405. "description": "Internal Server Error",
  7406. "schema": {
  7407. "$ref": "#/definitions/app.Response"
  7408. }
  7409. }
  7410. }
  7411. }
  7412. },
  7413. "/Qhj/QueryContract": {
  7414. "get": {
  7415. "security": [
  7416. {
  7417. "ApiKeyAuth": []
  7418. }
  7419. ],
  7420. "produces": [
  7421. "application/json"
  7422. ],
  7423. "tags": [
  7424. "大连千海金"
  7425. ],
  7426. "summary": "查询融资明细(合同)",
  7427. "parameters": [
  7428. {
  7429. "type": "integer",
  7430. "description": "用户ID",
  7431. "name": "userid",
  7432. "in": "query"
  7433. },
  7434. {
  7435. "type": "integer",
  7436. "description": "scf合同id",
  7437. "name": "scfcontractid",
  7438. "in": "query"
  7439. }
  7440. ],
  7441. "responses": {
  7442. "200": {
  7443. "description": "OK",
  7444. "schema": {
  7445. "type": "array",
  7446. "items": {
  7447. "$ref": "#/definitions/models.QhjContract"
  7448. }
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/Qhj/QueryContractLog": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "produces": [
  7468. "application/json"
  7469. ],
  7470. "tags": [
  7471. "大连千海金"
  7472. ],
  7473. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7474. "parameters": [
  7475. {
  7476. "type": "integer",
  7477. "description": "scf合同id",
  7478. "name": "scfcontractid",
  7479. "in": "query",
  7480. "required": true
  7481. },
  7482. {
  7483. "type": "string",
  7484. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7485. "name": "amounttype",
  7486. "in": "query"
  7487. }
  7488. ],
  7489. "responses": {
  7490. "200": {
  7491. "description": "OK",
  7492. "schema": {
  7493. "type": "array",
  7494. "items": {
  7495. "$ref": "#/definitions/models.QhjContractLog"
  7496. }
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/Qhj/QueryCusBankSignBank": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "大连千海金"
  7520. ],
  7521. "summary": "查询托管银行",
  7522. "responses": {
  7523. "200": {
  7524. "description": "OK",
  7525. "schema": {
  7526. "type": "array",
  7527. "items": {
  7528. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7529. }
  7530. }
  7531. },
  7532. "500": {
  7533. "description": "Internal Server Error",
  7534. "schema": {
  7535. "$ref": "#/definitions/app.Response"
  7536. }
  7537. }
  7538. }
  7539. }
  7540. },
  7541. "/Qhj/QueryCustomerInfo": {
  7542. "get": {
  7543. "security": [
  7544. {
  7545. "ApiKeyAuth": []
  7546. }
  7547. ],
  7548. "produces": [
  7549. "application/json"
  7550. ],
  7551. "tags": [
  7552. "大连千海金"
  7553. ],
  7554. "summary": "查询客户资料",
  7555. "parameters": [
  7556. {
  7557. "type": "integer",
  7558. "description": "用户ID",
  7559. "name": "userid",
  7560. "in": "query",
  7561. "required": true
  7562. },
  7563. {
  7564. "type": "integer",
  7565. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7566. "name": "querytype",
  7567. "in": "query",
  7568. "required": true
  7569. },
  7570. {
  7571. "type": "integer",
  7572. "description": "客户类型 1-个人 2-企业",
  7573. "name": "userinfotype",
  7574. "in": "query"
  7575. },
  7576. {
  7577. "type": "string",
  7578. "description": "客户名称(模糊匹配)",
  7579. "name": "customername",
  7580. "in": "query"
  7581. },
  7582. {
  7583. "type": "string",
  7584. "description": "昵称(模糊匹配)",
  7585. "name": "nickname",
  7586. "in": "query"
  7587. },
  7588. {
  7589. "type": "integer",
  7590. "description": "是否包含子级 1-包含",
  7591. "name": "includesub",
  7592. "in": "query"
  7593. }
  7594. ],
  7595. "responses": {
  7596. "200": {
  7597. "description": "OK",
  7598. "schema": {
  7599. "type": "array",
  7600. "items": {
  7601. "$ref": "#/definitions/models.QhjCustomer"
  7602. }
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/Qhj/QueryGoodsEx": {
  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": "商品id",
  7632. "name": "goodsid",
  7633. "in": "query"
  7634. }
  7635. ],
  7636. "responses": {
  7637. "200": {
  7638. "description": "OK",
  7639. "schema": {
  7640. "type": "array",
  7641. "items": {
  7642. "$ref": "#/definitions/models.Qhjgoodsex"
  7643. }
  7644. }
  7645. },
  7646. "500": {
  7647. "description": "Internal Server Error",
  7648. "schema": {
  7649. "$ref": "#/definitions/app.Response"
  7650. }
  7651. }
  7652. }
  7653. }
  7654. },
  7655. "/Qhj/QueryMyTeam": {
  7656. "get": {
  7657. "security": [
  7658. {
  7659. "ApiKeyAuth": []
  7660. }
  7661. ],
  7662. "produces": [
  7663. "application/json"
  7664. ],
  7665. "tags": [
  7666. "大连千海金"
  7667. ],
  7668. "summary": "查询我的团队",
  7669. "parameters": [
  7670. {
  7671. "type": "integer",
  7672. "description": "用户ID",
  7673. "name": "userid",
  7674. "in": "query",
  7675. "required": true
  7676. }
  7677. ],
  7678. "responses": {
  7679. "200": {
  7680. "description": "OK",
  7681. "schema": {
  7682. "type": "array",
  7683. "items": {
  7684. "$ref": "#/definitions/models.QhjMyTeamEx"
  7685. }
  7686. }
  7687. },
  7688. "500": {
  7689. "description": "Internal Server Error",
  7690. "schema": {
  7691. "$ref": "#/definitions/app.Response"
  7692. }
  7693. }
  7694. }
  7695. }
  7696. },
  7697. "/Qhj/QueryMyTeamOrder": {
  7698. "get": {
  7699. "security": [
  7700. {
  7701. "ApiKeyAuth": []
  7702. }
  7703. ],
  7704. "produces": [
  7705. "application/json"
  7706. ],
  7707. "tags": [
  7708. "大连千海金"
  7709. ],
  7710. "summary": "查询团队订单(我的团队/团队订单)",
  7711. "parameters": [
  7712. {
  7713. "type": "integer",
  7714. "description": "页码",
  7715. "name": "page",
  7716. "in": "query"
  7717. },
  7718. {
  7719. "type": "integer",
  7720. "description": "每页条数",
  7721. "name": "pagesize",
  7722. "in": "query"
  7723. },
  7724. {
  7725. "type": "integer",
  7726. "description": "用户ID",
  7727. "name": "userid",
  7728. "in": "query",
  7729. "required": true
  7730. },
  7731. {
  7732. "type": "integer",
  7733. "description": "交易模式",
  7734. "name": "trademode",
  7735. "in": "query"
  7736. },
  7737. {
  7738. "type": "string",
  7739. "description": "名称(模糊搜索账户)",
  7740. "name": "filtername",
  7741. "in": "query"
  7742. }
  7743. ],
  7744. "responses": {
  7745. "200": {
  7746. "description": "OK",
  7747. "schema": {
  7748. "type": "array",
  7749. "items": {
  7750. "$ref": "#/definitions/models.QhjTeamOrder"
  7751. }
  7752. }
  7753. },
  7754. "500": {
  7755. "description": "Internal Server Error",
  7756. "schema": {
  7757. "$ref": "#/definitions/app.Response"
  7758. }
  7759. }
  7760. }
  7761. }
  7762. },
  7763. "/Qhj/QueryParentAreaList": {
  7764. "get": {
  7765. "security": [
  7766. {
  7767. "ApiKeyAuth": []
  7768. }
  7769. ],
  7770. "produces": [
  7771. "application/json"
  7772. ],
  7773. "tags": [
  7774. "大连千海金"
  7775. ],
  7776. "summary": "查询所属机构列表",
  7777. "parameters": [
  7778. {
  7779. "type": "integer",
  7780. "description": "用户ID",
  7781. "name": "userid",
  7782. "in": "query",
  7783. "required": true
  7784. }
  7785. ],
  7786. "responses": {
  7787. "200": {
  7788. "description": "OK",
  7789. "schema": {
  7790. "type": "array",
  7791. "items": {
  7792. "$ref": "#/definitions/models.QhjParentAreaList"
  7793. }
  7794. }
  7795. },
  7796. "500": {
  7797. "description": "Internal Server Error",
  7798. "schema": {
  7799. "$ref": "#/definitions/app.Response"
  7800. }
  7801. }
  7802. }
  7803. }
  7804. },
  7805. "/Qhj/QueryPayOrder": {
  7806. "get": {
  7807. "security": [
  7808. {
  7809. "ApiKeyAuth": []
  7810. }
  7811. ],
  7812. "produces": [
  7813. "application/json"
  7814. ],
  7815. "tags": [
  7816. "大连千海金"
  7817. ],
  7818. "summary": "查询待付款单据",
  7819. "parameters": [
  7820. {
  7821. "type": "integer",
  7822. "description": "资金账号id",
  7823. "name": "accountid",
  7824. "in": "query",
  7825. "required": true
  7826. },
  7827. {
  7828. "type": "integer",
  7829. "description": "成交单号",
  7830. "name": "tradeid",
  7831. "in": "query"
  7832. },
  7833. {
  7834. "type": "string",
  7835. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7836. "name": "payflag",
  7837. "in": "query"
  7838. }
  7839. ],
  7840. "responses": {
  7841. "200": {
  7842. "description": "OK",
  7843. "schema": {
  7844. "type": "array",
  7845. "items": {
  7846. "$ref": "#/definitions/models.QhjPayOrder"
  7847. }
  7848. }
  7849. },
  7850. "500": {
  7851. "description": "Internal Server Error",
  7852. "schema": {
  7853. "$ref": "#/definitions/app.Response"
  7854. }
  7855. }
  7856. }
  7857. }
  7858. },
  7859. "/Qhj/QueryPickArea": {
  7860. "get": {
  7861. "security": [
  7862. {
  7863. "ApiKeyAuth": []
  7864. }
  7865. ],
  7866. "produces": [
  7867. "application/json"
  7868. ],
  7869. "tags": [
  7870. "大连千海金"
  7871. ],
  7872. "summary": "查询提货门店",
  7873. "parameters": [
  7874. {
  7875. "type": "integer",
  7876. "description": "用户ID",
  7877. "name": "userid",
  7878. "in": "query"
  7879. }
  7880. ],
  7881. "responses": {
  7882. "200": {
  7883. "description": "OK",
  7884. "schema": {
  7885. "type": "array",
  7886. "items": {
  7887. "$ref": "#/definitions/models.QhjPickArea"
  7888. }
  7889. }
  7890. },
  7891. "500": {
  7892. "description": "Internal Server Error",
  7893. "schema": {
  7894. "$ref": "#/definitions/app.Response"
  7895. }
  7896. }
  7897. }
  7898. }
  7899. },
  7900. "/Qhj/QueryPickGoods": {
  7901. "get": {
  7902. "security": [
  7903. {
  7904. "ApiKeyAuth": []
  7905. }
  7906. ],
  7907. "produces": [
  7908. "application/json"
  7909. ],
  7910. "tags": [
  7911. "大连千海金"
  7912. ],
  7913. "summary": "查询提货商品",
  7914. "parameters": [
  7915. {
  7916. "type": "integer",
  7917. "description": "交易商品id",
  7918. "name": "goodsid",
  7919. "in": "query",
  7920. "required": true
  7921. },
  7922. {
  7923. "type": "string",
  7924. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7925. "name": "status",
  7926. "in": "query"
  7927. }
  7928. ],
  7929. "responses": {
  7930. "200": {
  7931. "description": "OK",
  7932. "schema": {
  7933. "type": "array",
  7934. "items": {
  7935. "$ref": "#/definitions/models.QhjPickGoods"
  7936. }
  7937. }
  7938. },
  7939. "500": {
  7940. "description": "Internal Server Error",
  7941. "schema": {
  7942. "$ref": "#/definitions/app.Response"
  7943. }
  7944. }
  7945. }
  7946. }
  7947. },
  7948. "/Qhj/QueryRSTriggerLog": {
  7949. "get": {
  7950. "security": [
  7951. {
  7952. "ApiKeyAuth": []
  7953. }
  7954. ],
  7955. "produces": [
  7956. "application/json"
  7957. ],
  7958. "tags": [
  7959. "大连千海金"
  7960. ],
  7961. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7962. "parameters": [
  7963. {
  7964. "type": "integer",
  7965. "description": "用户ID",
  7966. "name": "userid",
  7967. "in": "query"
  7968. },
  7969. {
  7970. "type": "integer",
  7971. "description": "定投策略id",
  7972. "name": "regularlystrategyid",
  7973. "in": "query"
  7974. },
  7975. {
  7976. "type": "integer",
  7977. "description": "商品id",
  7978. "name": "goodsid",
  7979. "in": "query"
  7980. },
  7981. {
  7982. "type": "string",
  7983. "description": "开始交易日(yyyymmdd)",
  7984. "name": "begindate",
  7985. "in": "query"
  7986. },
  7987. {
  7988. "type": "string",
  7989. "description": "结束交易日(yyyymmdd)",
  7990. "name": "enddate",
  7991. "in": "query"
  7992. },
  7993. {
  7994. "type": "string",
  7995. "description": "名称(模糊搜索账户)",
  7996. "name": "filtername",
  7997. "in": "query"
  7998. }
  7999. ],
  8000. "responses": {
  8001. "200": {
  8002. "description": "OK",
  8003. "schema": {
  8004. "type": "array",
  8005. "items": {
  8006. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8007. }
  8008. }
  8009. },
  8010. "500": {
  8011. "description": "Internal Server Error",
  8012. "schema": {
  8013. "$ref": "#/definitions/app.Response"
  8014. }
  8015. }
  8016. }
  8017. }
  8018. },
  8019. "/Qhj/QueryRStrategy": {
  8020. "get": {
  8021. "security": [
  8022. {
  8023. "ApiKeyAuth": []
  8024. }
  8025. ],
  8026. "produces": [
  8027. "application/json"
  8028. ],
  8029. "tags": [
  8030. "大连千海金"
  8031. ],
  8032. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8033. "parameters": [
  8034. {
  8035. "type": "integer",
  8036. "description": "用户ID",
  8037. "name": "userid",
  8038. "in": "query"
  8039. },
  8040. {
  8041. "type": "integer",
  8042. "description": "商品id",
  8043. "name": "goodsid",
  8044. "in": "query"
  8045. },
  8046. {
  8047. "type": "string",
  8048. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8049. "name": "status",
  8050. "in": "query"
  8051. },
  8052. {
  8053. "type": "string",
  8054. "description": "名称(模糊搜索账户)",
  8055. "name": "filtername",
  8056. "in": "query"
  8057. }
  8058. ],
  8059. "responses": {
  8060. "200": {
  8061. "description": "OK",
  8062. "schema": {
  8063. "type": "array",
  8064. "items": {
  8065. "$ref": "#/definitions/models.QhjRStrategy"
  8066. }
  8067. }
  8068. },
  8069. "500": {
  8070. "description": "Internal Server Error",
  8071. "schema": {
  8072. "$ref": "#/definitions/app.Response"
  8073. }
  8074. }
  8075. }
  8076. }
  8077. },
  8078. "/Qhj/QueryReckonPriceLog": {
  8079. "get": {
  8080. "security": [
  8081. {
  8082. "ApiKeyAuth": []
  8083. }
  8084. ],
  8085. "produces": [
  8086. "application/json"
  8087. ],
  8088. "tags": [
  8089. "大连千海金"
  8090. ],
  8091. "summary": "查询定投价(结算价)",
  8092. "parameters": [
  8093. {
  8094. "type": "integer",
  8095. "description": "商品ID",
  8096. "name": "goodsid",
  8097. "in": "query"
  8098. },
  8099. {
  8100. "type": "string",
  8101. "description": "交易日 格式(yyyymmdd)",
  8102. "name": "tradedate",
  8103. "in": "query"
  8104. }
  8105. ],
  8106. "responses": {
  8107. "200": {
  8108. "description": "OK",
  8109. "schema": {
  8110. "type": "array",
  8111. "items": {
  8112. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8113. }
  8114. }
  8115. },
  8116. "500": {
  8117. "description": "Internal Server Error",
  8118. "schema": {
  8119. "$ref": "#/definitions/app.Response"
  8120. }
  8121. }
  8122. }
  8123. }
  8124. },
  8125. "/Qhj/QueryScoreLog": {
  8126. "get": {
  8127. "security": [
  8128. {
  8129. "ApiKeyAuth": []
  8130. }
  8131. ],
  8132. "produces": [
  8133. "application/json"
  8134. ],
  8135. "tags": [
  8136. "大连千海金"
  8137. ],
  8138. "summary": "查询积分流水(我的积分)",
  8139. "parameters": [
  8140. {
  8141. "type": "integer",
  8142. "description": "用户ID",
  8143. "name": "userid",
  8144. "in": "query",
  8145. "required": true
  8146. },
  8147. {
  8148. "type": "string",
  8149. "description": "开始交易日(yyyymmdd)",
  8150. "name": "begindate",
  8151. "in": "query"
  8152. },
  8153. {
  8154. "type": "string",
  8155. "description": "结束交易日(yyyymmdd)",
  8156. "name": "enddate",
  8157. "in": "query"
  8158. },
  8159. {
  8160. "type": "integer",
  8161. "description": "最近多少条",
  8162. "name": "lastnum",
  8163. "in": "query"
  8164. }
  8165. ],
  8166. "responses": {
  8167. "200": {
  8168. "description": "OK",
  8169. "schema": {
  8170. "type": "array",
  8171. "items": {
  8172. "$ref": "#/definitions/models.QhjScoreLog"
  8173. }
  8174. }
  8175. },
  8176. "500": {
  8177. "description": "Internal Server Error",
  8178. "schema": {
  8179. "$ref": "#/definitions/app.Response"
  8180. }
  8181. }
  8182. }
  8183. }
  8184. },
  8185. "/Qhj/QuerySiteColumnDetail": {
  8186. "get": {
  8187. "security": [
  8188. {
  8189. "ApiKeyAuth": []
  8190. }
  8191. ],
  8192. "produces": [
  8193. "application/json"
  8194. ],
  8195. "tags": [
  8196. "大连千海金"
  8197. ],
  8198. "summary": "查询资讯",
  8199. "parameters": [
  8200. {
  8201. "type": "integer",
  8202. "description": "用户ID",
  8203. "name": "userid",
  8204. "in": "query",
  8205. "required": true
  8206. }
  8207. ],
  8208. "responses": {
  8209. "200": {
  8210. "description": "OK",
  8211. "schema": {
  8212. "type": "array",
  8213. "items": {
  8214. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8215. }
  8216. }
  8217. },
  8218. "500": {
  8219. "description": "Internal Server Error",
  8220. "schema": {
  8221. "$ref": "#/definitions/app.Response"
  8222. }
  8223. }
  8224. }
  8225. }
  8226. },
  8227. "/Qhj/QueryTradeGoodsPickup": {
  8228. "get": {
  8229. "security": [
  8230. {
  8231. "ApiKeyAuth": []
  8232. }
  8233. ],
  8234. "produces": [
  8235. "application/json"
  8236. ],
  8237. "tags": [
  8238. "大连千海金"
  8239. ],
  8240. "summary": "查询提货",
  8241. "parameters": [
  8242. {
  8243. "type": "integer",
  8244. "description": "用户ID",
  8245. "name": "userid",
  8246. "in": "query",
  8247. "required": true
  8248. },
  8249. {
  8250. "type": "integer",
  8251. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8252. "name": "takeorderstatus",
  8253. "in": "query"
  8254. }
  8255. ],
  8256. "responses": {
  8257. "200": {
  8258. "description": "OK",
  8259. "schema": {
  8260. "type": "array",
  8261. "items": {
  8262. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8263. }
  8264. }
  8265. },
  8266. "500": {
  8267. "description": "Internal Server Error",
  8268. "schema": {
  8269. "$ref": "#/definitions/app.Response"
  8270. }
  8271. }
  8272. }
  8273. }
  8274. },
  8275. "/Qhj/QueryUserCollectConfig": {
  8276. "get": {
  8277. "security": [
  8278. {
  8279. "ApiKeyAuth": []
  8280. }
  8281. ],
  8282. "produces": [
  8283. "application/json"
  8284. ],
  8285. "tags": [
  8286. "大连千海金"
  8287. ],
  8288. "summary": "查询提现账户设置",
  8289. "parameters": [
  8290. {
  8291. "type": "integer",
  8292. "description": "用户ID",
  8293. "name": "userid",
  8294. "in": "query",
  8295. "required": true
  8296. }
  8297. ],
  8298. "responses": {
  8299. "200": {
  8300. "description": "OK",
  8301. "schema": {
  8302. "type": "array",
  8303. "items": {
  8304. "$ref": "#/definitions/models.UserCollectConfig"
  8305. }
  8306. }
  8307. },
  8308. "500": {
  8309. "description": "Internal Server Error",
  8310. "schema": {
  8311. "$ref": "#/definitions/app.Response"
  8312. }
  8313. }
  8314. }
  8315. }
  8316. },
  8317. "/Qhj/QueryUserReceiveInfo": {
  8318. "get": {
  8319. "security": [
  8320. {
  8321. "ApiKeyAuth": []
  8322. }
  8323. ],
  8324. "produces": [
  8325. "application/json"
  8326. ],
  8327. "tags": [
  8328. "大连千海金"
  8329. ],
  8330. "summary": "查询收货地址信息",
  8331. "parameters": [
  8332. {
  8333. "type": "integer",
  8334. "description": "用户ID",
  8335. "name": "userid",
  8336. "in": "query",
  8337. "required": true
  8338. }
  8339. ],
  8340. "responses": {
  8341. "200": {
  8342. "description": "OK",
  8343. "schema": {
  8344. "type": "array",
  8345. "items": {
  8346. "$ref": "#/definitions/models.UserReceiveInfo"
  8347. }
  8348. }
  8349. },
  8350. "500": {
  8351. "description": "Internal Server Error",
  8352. "schema": {
  8353. "$ref": "#/definitions/app.Response"
  8354. }
  8355. }
  8356. }
  8357. }
  8358. },
  8359. "/QhjMgr/QueryAccountInOutApply": {
  8360. "get": {
  8361. "security": [
  8362. {
  8363. "ApiKeyAuth": []
  8364. }
  8365. ],
  8366. "produces": [
  8367. "application/json"
  8368. ],
  8369. "tags": [
  8370. "大连千海金(PCWeb)"
  8371. ],
  8372. "summary": "查询充值提现",
  8373. "parameters": [
  8374. {
  8375. "type": "integer",
  8376. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8377. "name": "querytype",
  8378. "in": "query",
  8379. "required": true
  8380. },
  8381. {
  8382. "type": "integer",
  8383. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8384. "name": "applystatus",
  8385. "in": "query"
  8386. },
  8387. {
  8388. "type": "string",
  8389. "description": "申请起始日期(格式yyyymmdd)",
  8390. "name": "begindate",
  8391. "in": "query"
  8392. },
  8393. {
  8394. "type": "string",
  8395. "description": "申请截止日期(格式yyyymmdd)",
  8396. "name": "enddate",
  8397. "in": "query"
  8398. },
  8399. {
  8400. "type": "string",
  8401. "description": "模糊搜索名称",
  8402. "name": "likename",
  8403. "in": "query"
  8404. }
  8405. ],
  8406. "responses": {
  8407. "200": {
  8408. "description": "OK",
  8409. "schema": {
  8410. "type": "array",
  8411. "items": {
  8412. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8413. }
  8414. }
  8415. },
  8416. "500": {
  8417. "description": "Internal Server Error",
  8418. "schema": {
  8419. "$ref": "#/definitions/app.Response"
  8420. }
  8421. }
  8422. }
  8423. }
  8424. },
  8425. "/QhjMgr/QueryBrokerApply": {
  8426. "get": {
  8427. "security": [
  8428. {
  8429. "ApiKeyAuth": []
  8430. }
  8431. ],
  8432. "produces": [
  8433. "application/json"
  8434. ],
  8435. "tags": [
  8436. "大连千海金(PCWeb)"
  8437. ],
  8438. "summary": "查询经纪人申请",
  8439. "parameters": [
  8440. {
  8441. "type": "integer",
  8442. "description": "所属机构ID",
  8443. "name": "userid",
  8444. "in": "query"
  8445. },
  8446. {
  8447. "type": "string",
  8448. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8449. "name": "filterstatus",
  8450. "in": "query"
  8451. },
  8452. {
  8453. "type": "string",
  8454. "description": "名称(模糊匹配)",
  8455. "name": "filtername",
  8456. "in": "query"
  8457. },
  8458. {
  8459. "type": "integer",
  8460. "description": "是否包含子级 1-包含",
  8461. "name": "includesub",
  8462. "in": "query"
  8463. }
  8464. ],
  8465. "responses": {
  8466. "200": {
  8467. "description": "OK",
  8468. "schema": {
  8469. "type": "array",
  8470. "items": {
  8471. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8472. }
  8473. }
  8474. },
  8475. "500": {
  8476. "description": "Internal Server Error",
  8477. "schema": {
  8478. "$ref": "#/definitions/app.Response"
  8479. }
  8480. }
  8481. }
  8482. }
  8483. },
  8484. "/QhjMgr/QueryBrokerRewardReport": {
  8485. "get": {
  8486. "security": [
  8487. {
  8488. "ApiKeyAuth": []
  8489. }
  8490. ],
  8491. "produces": [
  8492. "application/json"
  8493. ],
  8494. "tags": [
  8495. "大连千海金(PCWeb)"
  8496. ],
  8497. "summary": "查询经纪人奖励报表(废弃)",
  8498. "parameters": [
  8499. {
  8500. "type": "integer",
  8501. "description": "所属机构ID",
  8502. "name": "userid",
  8503. "in": "query",
  8504. "required": true
  8505. },
  8506. {
  8507. "type": "integer",
  8508. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8509. "name": "cycletype",
  8510. "in": "query",
  8511. "required": true
  8512. },
  8513. {
  8514. "type": "string",
  8515. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8516. "name": "cycletime",
  8517. "in": "query",
  8518. "required": true
  8519. },
  8520. {
  8521. "type": "string",
  8522. "description": "名称(模糊匹配)",
  8523. "name": "filtername",
  8524. "in": "query"
  8525. },
  8526. {
  8527. "type": "integer",
  8528. "description": "是否包含子级 1-包含",
  8529. "name": "includesub",
  8530. "in": "query"
  8531. }
  8532. ],
  8533. "responses": {
  8534. "200": {
  8535. "description": "OK",
  8536. "schema": {
  8537. "type": "array",
  8538. "items": {
  8539. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8540. }
  8541. }
  8542. },
  8543. "500": {
  8544. "description": "Internal Server Error",
  8545. "schema": {
  8546. "$ref": "#/definitions/app.Response"
  8547. }
  8548. }
  8549. }
  8550. }
  8551. },
  8552. "/QhjMgr/QueryContract": {
  8553. "get": {
  8554. "security": [
  8555. {
  8556. "ApiKeyAuth": []
  8557. }
  8558. ],
  8559. "produces": [
  8560. "application/json"
  8561. ],
  8562. "tags": [
  8563. "大连千海金(PCWeb)"
  8564. ],
  8565. "summary": "查询融资信息(合同)",
  8566. "parameters": [
  8567. {
  8568. "type": "integer",
  8569. "description": "用户ID",
  8570. "name": "userid",
  8571. "in": "query"
  8572. },
  8573. {
  8574. "type": "integer",
  8575. "description": "商品id",
  8576. "name": "goodsid",
  8577. "in": "query"
  8578. },
  8579. {
  8580. "type": "string",
  8581. "description": "名称(模糊搜索账户)",
  8582. "name": "filtername",
  8583. "in": "query"
  8584. },
  8585. {
  8586. "type": "string",
  8587. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8588. "name": "risklevel",
  8589. "in": "query"
  8590. },
  8591. {
  8592. "type": "string",
  8593. "description": "开始交易日(yyyymmdd)",
  8594. "name": "begindate",
  8595. "in": "query"
  8596. },
  8597. {
  8598. "type": "string",
  8599. "description": "结束交易日(yyyymmdd)",
  8600. "name": "enddate",
  8601. "in": "query"
  8602. }
  8603. ],
  8604. "responses": {
  8605. "200": {
  8606. "description": "OK",
  8607. "schema": {
  8608. "type": "array",
  8609. "items": {
  8610. "$ref": "#/definitions/models.QhjMgrContract"
  8611. }
  8612. }
  8613. },
  8614. "500": {
  8615. "description": "Internal Server Error",
  8616. "schema": {
  8617. "$ref": "#/definitions/app.Response"
  8618. }
  8619. }
  8620. }
  8621. }
  8622. },
  8623. "/QhjMgr/QueryCustomerInfo": {
  8624. "get": {
  8625. "security": [
  8626. {
  8627. "ApiKeyAuth": []
  8628. }
  8629. ],
  8630. "produces": [
  8631. "application/json"
  8632. ],
  8633. "tags": [
  8634. "大连千海金(PCWeb)"
  8635. ],
  8636. "summary": "查询客户资料",
  8637. "parameters": [
  8638. {
  8639. "type": "integer",
  8640. "description": "用户ID",
  8641. "name": "userid",
  8642. "in": "query",
  8643. "required": true
  8644. },
  8645. {
  8646. "type": "integer",
  8647. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8648. "name": "querytype",
  8649. "in": "query",
  8650. "required": true
  8651. },
  8652. {
  8653. "type": "integer",
  8654. "description": "客户类型 1-个人 2-企业",
  8655. "name": "userinfotype",
  8656. "in": "query"
  8657. },
  8658. {
  8659. "type": "string",
  8660. "description": "客户名称(模糊匹配)",
  8661. "name": "customername",
  8662. "in": "query"
  8663. },
  8664. {
  8665. "type": "string",
  8666. "description": "昵称(模糊匹配)",
  8667. "name": "nickname",
  8668. "in": "query"
  8669. },
  8670. {
  8671. "type": "integer",
  8672. "description": "是否包含子级 1-包含",
  8673. "name": "includesub",
  8674. "in": "query"
  8675. }
  8676. ],
  8677. "responses": {
  8678. "200": {
  8679. "description": "OK",
  8680. "schema": {
  8681. "type": "array",
  8682. "items": {
  8683. "$ref": "#/definitions/models.QhjMgrCustomer"
  8684. }
  8685. }
  8686. },
  8687. "500": {
  8688. "description": "Internal Server Error",
  8689. "schema": {
  8690. "$ref": "#/definitions/app.Response"
  8691. }
  8692. }
  8693. }
  8694. }
  8695. },
  8696. "/QhjMgr/QueryPickGoods": {
  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": "string",
  8713. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8714. "name": "status",
  8715. "in": "query"
  8716. }
  8717. ],
  8718. "responses": {
  8719. "200": {
  8720. "description": "OK",
  8721. "schema": {
  8722. "type": "array",
  8723. "items": {
  8724. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8725. }
  8726. }
  8727. },
  8728. "500": {
  8729. "description": "Internal Server Error",
  8730. "schema": {
  8731. "$ref": "#/definitions/app.Response"
  8732. }
  8733. }
  8734. }
  8735. }
  8736. },
  8737. "/QhjMgr/QuerySubArea": {
  8738. "get": {
  8739. "security": [
  8740. {
  8741. "ApiKeyAuth": []
  8742. }
  8743. ],
  8744. "produces": [
  8745. "application/json"
  8746. ],
  8747. "tags": [
  8748. "大连千海金(PCWeb)"
  8749. ],
  8750. "summary": "查询子机构列表",
  8751. "parameters": [
  8752. {
  8753. "type": "integer",
  8754. "description": "用户ID",
  8755. "name": "userid",
  8756. "in": "query",
  8757. "required": true
  8758. }
  8759. ],
  8760. "responses": {
  8761. "200": {
  8762. "description": "OK",
  8763. "schema": {
  8764. "type": "array",
  8765. "items": {
  8766. "$ref": "#/definitions/models.QhjMgrSubArea"
  8767. }
  8768. }
  8769. },
  8770. "500": {
  8771. "description": "Internal Server Error",
  8772. "schema": {
  8773. "$ref": "#/definitions/app.Response"
  8774. }
  8775. }
  8776. }
  8777. }
  8778. },
  8779. "/QhjMgr/QueryTradeDetail": {
  8780. "get": {
  8781. "security": [
  8782. {
  8783. "ApiKeyAuth": []
  8784. }
  8785. ],
  8786. "produces": [
  8787. "application/json"
  8788. ],
  8789. "tags": [
  8790. "大连千海金(PCWeb)"
  8791. ],
  8792. "summary": "查询成交明细",
  8793. "parameters": [
  8794. {
  8795. "type": "integer",
  8796. "description": "用户ID",
  8797. "name": "userid",
  8798. "in": "query",
  8799. "required": true
  8800. },
  8801. {
  8802. "type": "integer",
  8803. "description": "用户类型 1-个人 2-企业",
  8804. "name": "userinfotype",
  8805. "in": "query"
  8806. },
  8807. {
  8808. "type": "integer",
  8809. "description": "交易模式",
  8810. "name": "trademode",
  8811. "in": "query"
  8812. },
  8813. {
  8814. "type": "integer",
  8815. "description": "商品id",
  8816. "name": "goodsid",
  8817. "in": "query"
  8818. },
  8819. {
  8820. "type": "string",
  8821. "description": "名称(模糊搜索账户)",
  8822. "name": "filtername",
  8823. "in": "query"
  8824. },
  8825. {
  8826. "type": "string",
  8827. "description": "开始交易日(yyyymmdd)",
  8828. "name": "begindate",
  8829. "in": "query"
  8830. },
  8831. {
  8832. "type": "string",
  8833. "description": "结束交易日(yyyymmdd)",
  8834. "name": "enddate",
  8835. "in": "query"
  8836. },
  8837. {
  8838. "type": "integer",
  8839. "description": "是否包含子级 1-包含",
  8840. "name": "includesub",
  8841. "in": "query"
  8842. }
  8843. ],
  8844. "responses": {
  8845. "200": {
  8846. "description": "OK",
  8847. "schema": {
  8848. "type": "array",
  8849. "items": {
  8850. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8851. }
  8852. }
  8853. },
  8854. "500": {
  8855. "description": "Internal Server Error",
  8856. "schema": {
  8857. "$ref": "#/definitions/app.Response"
  8858. }
  8859. }
  8860. }
  8861. }
  8862. },
  8863. "/QhjMgr/QueryTradeOrderDetail": {
  8864. "get": {
  8865. "security": [
  8866. {
  8867. "ApiKeyAuth": []
  8868. }
  8869. ],
  8870. "produces": [
  8871. "application/json"
  8872. ],
  8873. "tags": [
  8874. "大连千海金(PCWeb)"
  8875. ],
  8876. "summary": "查询委托明细",
  8877. "parameters": [
  8878. {
  8879. "type": "integer",
  8880. "description": "用户ID",
  8881. "name": "userid",
  8882. "in": "query",
  8883. "required": true
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "用户类型 1-个人 2-企业",
  8888. "name": "userinfotype",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "integer",
  8893. "description": "交易模式",
  8894. "name": "trademode",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "商品id",
  8900. "name": "goodsid",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "名称(模糊搜索账户)",
  8906. "name": "filtername",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "string",
  8911. "description": "开始交易日(yyyymmdd)",
  8912. "name": "begindate",
  8913. "in": "query"
  8914. },
  8915. {
  8916. "type": "string",
  8917. "description": "结束交易日(yyyymmdd)",
  8918. "name": "enddate",
  8919. "in": "query"
  8920. },
  8921. {
  8922. "type": "integer",
  8923. "description": "是否包含子级 1-包含",
  8924. "name": "includesub",
  8925. "in": "query"
  8926. }
  8927. ],
  8928. "responses": {
  8929. "200": {
  8930. "description": "OK",
  8931. "schema": {
  8932. "type": "array",
  8933. "items": {
  8934. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8935. }
  8936. }
  8937. },
  8938. "500": {
  8939. "description": "Internal Server Error",
  8940. "schema": {
  8941. "$ref": "#/definitions/app.Response"
  8942. }
  8943. }
  8944. }
  8945. }
  8946. },
  8947. "/QhjMgr/QueryTradePayOrder": {
  8948. "get": {
  8949. "security": [
  8950. {
  8951. "ApiKeyAuth": []
  8952. }
  8953. ],
  8954. "produces": [
  8955. "application/json"
  8956. ],
  8957. "tags": [
  8958. "大连千海金(PCWeb)"
  8959. ],
  8960. "summary": "查询待付款单",
  8961. "parameters": [
  8962. {
  8963. "type": "integer",
  8964. "description": "用户ID",
  8965. "name": "userid",
  8966. "in": "query",
  8967. "required": true
  8968. },
  8969. {
  8970. "type": "string",
  8971. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8972. "name": "payflag",
  8973. "in": "query"
  8974. },
  8975. {
  8976. "type": "integer",
  8977. "description": "用户类型 1-个人 2-企业",
  8978. "name": "userinfotype",
  8979. "in": "query"
  8980. },
  8981. {
  8982. "type": "integer",
  8983. "description": "交易模式",
  8984. "name": "trademode",
  8985. "in": "query"
  8986. },
  8987. {
  8988. "type": "integer",
  8989. "description": "商品id",
  8990. "name": "goodsid",
  8991. "in": "query"
  8992. },
  8993. {
  8994. "type": "string",
  8995. "description": "名称(模糊搜索账户)",
  8996. "name": "filtername",
  8997. "in": "query"
  8998. },
  8999. {
  9000. "type": "string",
  9001. "description": "开始交易日(yyyymmdd)",
  9002. "name": "begindate",
  9003. "in": "query"
  9004. },
  9005. {
  9006. "type": "string",
  9007. "description": "结束交易日(yyyymmdd)",
  9008. "name": "enddate",
  9009. "in": "query"
  9010. },
  9011. {
  9012. "type": "integer",
  9013. "description": "是否包含子级 1-包含",
  9014. "name": "includesub",
  9015. "in": "query"
  9016. }
  9017. ],
  9018. "responses": {
  9019. "200": {
  9020. "description": "OK",
  9021. "schema": {
  9022. "type": "array",
  9023. "items": {
  9024. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9025. }
  9026. }
  9027. },
  9028. "500": {
  9029. "description": "Internal Server Error",
  9030. "schema": {
  9031. "$ref": "#/definitions/app.Response"
  9032. }
  9033. }
  9034. }
  9035. }
  9036. },
  9037. "/QhjMgr/QueryTradePosition": {
  9038. "get": {
  9039. "security": [
  9040. {
  9041. "ApiKeyAuth": []
  9042. }
  9043. ],
  9044. "produces": [
  9045. "application/json"
  9046. ],
  9047. "tags": [
  9048. "大连千海金(PCWeb)"
  9049. ],
  9050. "summary": "查询持仓汇总",
  9051. "parameters": [
  9052. {
  9053. "type": "integer",
  9054. "description": "用户ID",
  9055. "name": "userid",
  9056. "in": "query",
  9057. "required": true
  9058. },
  9059. {
  9060. "type": "integer",
  9061. "description": "用户类型 1-个人 2-企业",
  9062. "name": "userinfotype",
  9063. "in": "query"
  9064. },
  9065. {
  9066. "type": "integer",
  9067. "description": "交易模式",
  9068. "name": "trademode",
  9069. "in": "query"
  9070. },
  9071. {
  9072. "type": "integer",
  9073. "description": "商品id",
  9074. "name": "goodsid",
  9075. "in": "query"
  9076. },
  9077. {
  9078. "type": "string",
  9079. "description": "名称(模糊搜索账户)",
  9080. "name": "filtername",
  9081. "in": "query"
  9082. },
  9083. {
  9084. "type": "integer",
  9085. "description": "是否包含子级 1-包含",
  9086. "name": "includesub",
  9087. "in": "query"
  9088. }
  9089. ],
  9090. "responses": {
  9091. "200": {
  9092. "description": "OK",
  9093. "schema": {
  9094. "type": "array",
  9095. "items": {
  9096. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9097. }
  9098. }
  9099. },
  9100. "500": {
  9101. "description": "Internal Server Error",
  9102. "schema": {
  9103. "$ref": "#/definitions/app.Response"
  9104. }
  9105. }
  9106. }
  9107. }
  9108. },
  9109. "/QhjSys/QueryAgreementChangeLog": {
  9110. "get": {
  9111. "security": [
  9112. {
  9113. "ApiKeyAuth": []
  9114. }
  9115. ],
  9116. "produces": [
  9117. "application/json"
  9118. ],
  9119. "tags": [
  9120. "大连千海金(协议和签约信息)"
  9121. ],
  9122. "summary": "查询协议配置变更流水",
  9123. "parameters": [
  9124. {
  9125. "type": "integer",
  9126. "description": "协议ID",
  9127. "name": "agreementid",
  9128. "in": "query"
  9129. },
  9130. {
  9131. "type": "integer",
  9132. "description": "协议版本号",
  9133. "name": "agreementversion",
  9134. "in": "query"
  9135. },
  9136. {
  9137. "type": "integer",
  9138. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9139. "name": "agreementtype",
  9140. "in": "query"
  9141. },
  9142. {
  9143. "type": "string",
  9144. "description": "协议编号(模糊匹配)",
  9145. "name": "agreementno",
  9146. "in": "query"
  9147. },
  9148. {
  9149. "type": "string",
  9150. "description": "协议名称(模糊匹配)",
  9151. "name": "agreementname",
  9152. "in": "query"
  9153. }
  9154. ],
  9155. "responses": {
  9156. "200": {
  9157. "description": "OK",
  9158. "schema": {
  9159. "type": "array",
  9160. "items": {
  9161. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9162. }
  9163. }
  9164. },
  9165. "500": {
  9166. "description": "Internal Server Error",
  9167. "schema": {
  9168. "$ref": "#/definitions/app.Response"
  9169. }
  9170. }
  9171. }
  9172. }
  9173. },
  9174. "/QhjSys/QueryAgreementConfig": {
  9175. "get": {
  9176. "security": [
  9177. {
  9178. "ApiKeyAuth": []
  9179. }
  9180. ],
  9181. "produces": [
  9182. "application/json"
  9183. ],
  9184. "tags": [
  9185. "大连千海金(协议和签约信息)"
  9186. ],
  9187. "summary": "查询协议配置",
  9188. "parameters": [
  9189. {
  9190. "type": "integer",
  9191. "description": "协议ID",
  9192. "name": "agreementid",
  9193. "in": "query"
  9194. },
  9195. {
  9196. "type": "integer",
  9197. "description": "协议版本号",
  9198. "name": "agreementversion",
  9199. "in": "query"
  9200. },
  9201. {
  9202. "type": "integer",
  9203. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9204. "name": "agreementtype",
  9205. "in": "query"
  9206. },
  9207. {
  9208. "type": "integer",
  9209. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9210. "name": "isvalid",
  9211. "in": "query"
  9212. },
  9213. {
  9214. "type": "string",
  9215. "description": "协议编号(模糊匹配)",
  9216. "name": "agreementno",
  9217. "in": "query"
  9218. },
  9219. {
  9220. "type": "string",
  9221. "description": "协议名称(模糊匹配)",
  9222. "name": "agreementname",
  9223. "in": "query"
  9224. }
  9225. ],
  9226. "responses": {
  9227. "200": {
  9228. "description": "OK",
  9229. "schema": {
  9230. "type": "array",
  9231. "items": {
  9232. "$ref": "#/definitions/models.QhjAgreementConfig"
  9233. }
  9234. }
  9235. },
  9236. "500": {
  9237. "description": "Internal Server Error",
  9238. "schema": {
  9239. "$ref": "#/definitions/app.Response"
  9240. }
  9241. }
  9242. }
  9243. }
  9244. },
  9245. "/QhjSys/QueryCustomerSignStatus": {
  9246. "get": {
  9247. "security": [
  9248. {
  9249. "ApiKeyAuth": []
  9250. }
  9251. ],
  9252. "produces": [
  9253. "application/json"
  9254. ],
  9255. "tags": [
  9256. "大连千海金(协议和签约信息)"
  9257. ],
  9258. "summary": "查询客户协议签约状态",
  9259. "parameters": [
  9260. {
  9261. "type": "integer",
  9262. "description": "客户ID",
  9263. "name": "userid",
  9264. "in": "query"
  9265. },
  9266. {
  9267. "type": "integer",
  9268. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9269. "name": "nodetype",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "integer",
  9274. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9275. "name": "goodsid",
  9276. "in": "query"
  9277. },
  9278. {
  9279. "type": "string",
  9280. "description": "创建交易日(yyyyMMdd)",
  9281. "name": "tradedate",
  9282. "in": "query"
  9283. },
  9284. {
  9285. "type": "string",
  9286. "description": "用户名称(模糊匹配)",
  9287. "name": "username",
  9288. "in": "query"
  9289. }
  9290. ],
  9291. "responses": {
  9292. "200": {
  9293. "description": "OK",
  9294. "schema": {
  9295. "type": "array",
  9296. "items": {
  9297. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9298. }
  9299. }
  9300. },
  9301. "500": {
  9302. "description": "Internal Server Error",
  9303. "schema": {
  9304. "$ref": "#/definitions/app.Response"
  9305. }
  9306. }
  9307. }
  9308. }
  9309. },
  9310. "/QhjSys/QueryNodeAgreementConfig": {
  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_NODEAGREEMENTCONFIG)",
  9328. "name": "configid",
  9329. "in": "query"
  9330. },
  9331. {
  9332. "type": "integer",
  9333. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9334. "name": "nodetype",
  9335. "in": "query"
  9336. },
  9337. {
  9338. "type": "integer",
  9339. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9340. "name": "goodsid",
  9341. "in": "query"
  9342. },
  9343. {
  9344. "type": "integer",
  9345. "description": "协议ID",
  9346. "name": "agreementid",
  9347. "in": "query"
  9348. },
  9349. {
  9350. "type": "integer",
  9351. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9352. "name": "agreementtype",
  9353. "in": "query"
  9354. },
  9355. {
  9356. "type": "integer",
  9357. "description": "协议版本号",
  9358. "name": "agreementversion",
  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.QhjNodeAgreementConfig"
  9381. }
  9382. }
  9383. },
  9384. "500": {
  9385. "description": "Internal Server Error",
  9386. "schema": {
  9387. "$ref": "#/definitions/app.Response"
  9388. }
  9389. }
  9390. }
  9391. }
  9392. },
  9393. "/QhjSys/QueryQhjCustomerSignLog": {
  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(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9411. "name": "logid",
  9412. "in": "query"
  9413. },
  9414. {
  9415. "type": "integer",
  9416. "description": "客户ID",
  9417. "name": "userid",
  9418. "in": "query"
  9419. },
  9420. {
  9421. "type": "integer",
  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": "string",
  9440. "description": "用户名称(模糊匹配)",
  9441. "name": "username",
  9442. "in": "query"
  9443. },
  9444. {
  9445. "type": "string",
  9446. "description": "协议编号(模糊匹配)",
  9447. "name": "agreementno",
  9448. "in": "query"
  9449. },
  9450. {
  9451. "type": "string",
  9452. "description": "协议名称(模糊匹配)",
  9453. "name": "agreementname",
  9454. "in": "query"
  9455. }
  9456. ],
  9457. "responses": {
  9458. "200": {
  9459. "description": "OK",
  9460. "schema": {
  9461. "type": "array",
  9462. "items": {
  9463. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9464. }
  9465. }
  9466. },
  9467. "500": {
  9468. "description": "Internal Server Error",
  9469. "schema": {
  9470. "$ref": "#/definitions/app.Response"
  9471. }
  9472. }
  9473. }
  9474. }
  9475. },
  9476. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9477. "get": {
  9478. "security": [
  9479. {
  9480. "ApiKeyAuth": []
  9481. }
  9482. ],
  9483. "produces": [
  9484. "application/json"
  9485. ],
  9486. "tags": [
  9487. "大连千海金(协议和签约信息)"
  9488. ],
  9489. "summary": "查询用户协议节点配置和状态",
  9490. "parameters": [
  9491. {
  9492. "type": "integer",
  9493. "description": "客户ID",
  9494. "name": "userid",
  9495. "in": "query"
  9496. },
  9497. {
  9498. "type": "integer",
  9499. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9500. "name": "configid",
  9501. "in": "query"
  9502. },
  9503. {
  9504. "type": "string",
  9505. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9506. "name": "nodetype",
  9507. "in": "query"
  9508. },
  9509. {
  9510. "type": "integer",
  9511. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9512. "name": "goodsid",
  9513. "in": "query"
  9514. },
  9515. {
  9516. "type": "integer",
  9517. "description": "协议ID",
  9518. "name": "agreementid",
  9519. "in": "query"
  9520. },
  9521. {
  9522. "type": "integer",
  9523. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9524. "name": "agreementtype",
  9525. "in": "query"
  9526. },
  9527. {
  9528. "type": "integer",
  9529. "description": "协议版本号",
  9530. "name": "agreementversion",
  9531. "in": "query"
  9532. },
  9533. {
  9534. "type": "string",
  9535. "description": "协议编号(模糊匹配)",
  9536. "name": "agreementno",
  9537. "in": "query"
  9538. },
  9539. {
  9540. "type": "string",
  9541. "description": "协议名称(模糊匹配)",
  9542. "name": "agreementname",
  9543. "in": "query"
  9544. }
  9545. ],
  9546. "responses": {
  9547. "200": {
  9548. "description": "OK",
  9549. "schema": {
  9550. "type": "array",
  9551. "items": {
  9552. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9553. }
  9554. }
  9555. },
  9556. "500": {
  9557. "description": "Internal Server Error",
  9558. "schema": {
  9559. "$ref": "#/definitions/app.Response"
  9560. }
  9561. }
  9562. }
  9563. }
  9564. },
  9565. "/Quote/QueryHistoryDatas": {
  9566. "get": {
  9567. "security": [
  9568. {
  9569. "ApiKeyAuth": []
  9570. }
  9571. ],
  9572. "produces": [
  9573. "application/json"
  9574. ],
  9575. "tags": [
  9576. "行情服务"
  9577. ],
  9578. "summary": "查询行情历史数据",
  9579. "parameters": [
  9580. {
  9581. "type": "integer",
  9582. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9583. "name": "cycleType",
  9584. "in": "query",
  9585. "required": true
  9586. },
  9587. {
  9588. "type": "string",
  9589. "description": "商品代码",
  9590. "name": "goodsCode",
  9591. "in": "query",
  9592. "required": true
  9593. },
  9594. {
  9595. "type": "string",
  9596. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9597. "name": "startTime",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "string",
  9602. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9603. "name": "endTime",
  9604. "in": "query"
  9605. },
  9606. {
  9607. "type": "integer",
  9608. "description": "条数",
  9609. "name": "count",
  9610. "in": "query"
  9611. },
  9612. {
  9613. "type": "boolean",
  9614. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9615. "name": "isAsc",
  9616. "in": "query"
  9617. }
  9618. ],
  9619. "responses": {
  9620. "200": {
  9621. "description": "OK",
  9622. "schema": {
  9623. "$ref": "#/definitions/quote.HistoryData"
  9624. }
  9625. },
  9626. "500": {
  9627. "description": "Internal Server Error",
  9628. "schema": {
  9629. "$ref": "#/definitions/app.Response"
  9630. }
  9631. }
  9632. }
  9633. }
  9634. },
  9635. "/Quote/QueryHistoryTikDatas": {
  9636. "get": {
  9637. "security": [
  9638. {
  9639. "ApiKeyAuth": []
  9640. }
  9641. ],
  9642. "produces": [
  9643. "application/json"
  9644. ],
  9645. "tags": [
  9646. "行情服务"
  9647. ],
  9648. "summary": "查询行情Tik数据",
  9649. "parameters": [
  9650. {
  9651. "type": "string",
  9652. "description": "商品代码",
  9653. "name": "goodsCode",
  9654. "in": "query",
  9655. "required": true
  9656. },
  9657. {
  9658. "type": "string",
  9659. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9660. "name": "startTime",
  9661. "in": "query"
  9662. },
  9663. {
  9664. "type": "string",
  9665. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9666. "name": "endTime",
  9667. "in": "query"
  9668. },
  9669. {
  9670. "type": "integer",
  9671. "description": "条数",
  9672. "name": "count",
  9673. "in": "query"
  9674. },
  9675. {
  9676. "type": "boolean",
  9677. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9678. "name": "isAsc",
  9679. "in": "query"
  9680. }
  9681. ],
  9682. "responses": {
  9683. "200": {
  9684. "description": "OK",
  9685. "schema": {
  9686. "$ref": "#/definitions/quote.HistoryTikData"
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/Quote/QueryQuoteDay": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "行情服务"
  9710. ],
  9711. "summary": "获取商品盘面信息",
  9712. "parameters": [
  9713. {
  9714. "type": "string",
  9715. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9716. "name": "goodsCodes",
  9717. "in": "query",
  9718. "required": true
  9719. }
  9720. ],
  9721. "responses": {
  9722. "200": {
  9723. "description": "OK",
  9724. "schema": {
  9725. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9726. }
  9727. },
  9728. "500": {
  9729. "description": "Internal Server Error",
  9730. "schema": {
  9731. "$ref": "#/definitions/app.Response"
  9732. }
  9733. }
  9734. }
  9735. }
  9736. },
  9737. "/Quote/QueryTSData": {
  9738. "get": {
  9739. "security": [
  9740. {
  9741. "ApiKeyAuth": []
  9742. }
  9743. ],
  9744. "produces": [
  9745. "application/json"
  9746. ],
  9747. "tags": [
  9748. "行情服务"
  9749. ],
  9750. "summary": "分时图数据查询",
  9751. "parameters": [
  9752. {
  9753. "type": "string",
  9754. "description": "商品代码",
  9755. "name": "goodsCode",
  9756. "in": "query",
  9757. "required": true
  9758. }
  9759. ],
  9760. "responses": {
  9761. "200": {
  9762. "description": "OK",
  9763. "schema": {
  9764. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9765. }
  9766. },
  9767. "500": {
  9768. "description": "Internal Server Error",
  9769. "schema": {
  9770. "$ref": "#/definitions/app.Response"
  9771. }
  9772. }
  9773. }
  9774. }
  9775. },
  9776. "/SZDZ/QueryConvertConfig": {
  9777. "get": {
  9778. "security": [
  9779. {
  9780. "ApiKeyAuth": []
  9781. }
  9782. ],
  9783. "produces": [
  9784. "application/json"
  9785. ],
  9786. "tags": [
  9787. "定制【尚志大宗】"
  9788. ],
  9789. "summary": "查询交易系统转换设置",
  9790. "parameters": [
  9791. {
  9792. "type": "integer",
  9793. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9794. "name": "convertType",
  9795. "in": "query"
  9796. },
  9797. {
  9798. "type": "string",
  9799. "description": "外部商品代码[JD\\PD]",
  9800. "name": "outerGoodsCode",
  9801. "in": "query"
  9802. },
  9803. {
  9804. "type": "string",
  9805. "description": "内部商品ID列表[交易],格式:1,2,3",
  9806. "name": "innerGoodsIDs",
  9807. "in": "query"
  9808. }
  9809. ],
  9810. "responses": {
  9811. "200": {
  9812. "description": "OK",
  9813. "schema": {
  9814. "$ref": "#/definitions/models.Szdz3convertconfig"
  9815. }
  9816. },
  9817. "500": {
  9818. "description": "Internal Server Error",
  9819. "schema": {
  9820. "$ref": "#/definitions/app.Response"
  9821. }
  9822. }
  9823. }
  9824. }
  9825. },
  9826. "/SZDZ/QueryConvertLog": {
  9827. "get": {
  9828. "security": [
  9829. {
  9830. "ApiKeyAuth": []
  9831. }
  9832. ],
  9833. "produces": [
  9834. "application/json"
  9835. ],
  9836. "tags": [
  9837. "定制【尚志大宗】"
  9838. ],
  9839. "summary": "交易系统转换流水查询",
  9840. "parameters": [
  9841. {
  9842. "type": "string",
  9843. "description": "资金账户 - 格式:1,2,3",
  9844. "name": "accountID",
  9845. "in": "query",
  9846. "required": true
  9847. },
  9848. {
  9849. "type": "string",
  9850. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9851. "name": "startDate",
  9852. "in": "query"
  9853. },
  9854. {
  9855. "type": "string",
  9856. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9857. "name": "endDate",
  9858. "in": "query"
  9859. }
  9860. ],
  9861. "responses": {
  9862. "200": {
  9863. "description": "OK",
  9864. "schema": {
  9865. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9866. }
  9867. },
  9868. "500": {
  9869. "description": "Internal Server Error",
  9870. "schema": {
  9871. "$ref": "#/definitions/app.Response"
  9872. }
  9873. }
  9874. }
  9875. }
  9876. },
  9877. "/SZDZ/QueryGoodsPickup": {
  9878. "get": {
  9879. "security": [
  9880. {
  9881. "ApiKeyAuth": []
  9882. }
  9883. ],
  9884. "produces": [
  9885. "application/json"
  9886. ],
  9887. "tags": [
  9888. "定制【尚志大宗】"
  9889. ],
  9890. "summary": "商品提货单查询",
  9891. "parameters": [
  9892. {
  9893. "type": "string",
  9894. "description": "资金账户 - 格式:1,2,3",
  9895. "name": "accountID",
  9896. "in": "query",
  9897. "required": true
  9898. },
  9899. {
  9900. "type": "integer",
  9901. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9902. "name": "takeOrderStatus",
  9903. "in": "query"
  9904. }
  9905. ],
  9906. "responses": {
  9907. "200": {
  9908. "description": "OK",
  9909. "schema": {
  9910. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9911. }
  9912. },
  9913. "500": {
  9914. "description": "Internal Server Error",
  9915. "schema": {
  9916. "$ref": "#/definitions/app.Response"
  9917. }
  9918. }
  9919. }
  9920. }
  9921. },
  9922. "/SZDZ/QueryRecieptOrder": {
  9923. "get": {
  9924. "security": [
  9925. {
  9926. "ApiKeyAuth": []
  9927. }
  9928. ],
  9929. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9930. "produces": [
  9931. "application/json"
  9932. ],
  9933. "tags": [
  9934. "定制【尚志大宗】"
  9935. ],
  9936. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9937. "parameters": [
  9938. {
  9939. "type": "integer",
  9940. "description": "页码",
  9941. "name": "page",
  9942. "in": "query"
  9943. },
  9944. {
  9945. "type": "integer",
  9946. "description": "每页条数",
  9947. "name": "pagesize",
  9948. "in": "query"
  9949. },
  9950. {
  9951. "type": "integer",
  9952. "description": "商品ID",
  9953. "name": "goodsID",
  9954. "in": "query",
  9955. "required": true
  9956. },
  9957. {
  9958. "type": "string",
  9959. "description": "所属账户名称",
  9960. "name": "accountName",
  9961. "in": "query"
  9962. },
  9963. {
  9964. "type": "integer",
  9965. "description": "市场ID",
  9966. "name": "marketID",
  9967. "in": "query"
  9968. },
  9969. {
  9970. "type": "integer",
  9971. "description": "方向 - 0:买 1:卖",
  9972. "name": "buyorsell",
  9973. "in": "query",
  9974. "required": true
  9975. }
  9976. ],
  9977. "responses": {
  9978. "200": {
  9979. "description": "OK",
  9980. "schema": {
  9981. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  9982. }
  9983. },
  9984. "500": {
  9985. "description": "Internal Server Error",
  9986. "schema": {
  9987. "$ref": "#/definitions/app.Response"
  9988. }
  9989. }
  9990. }
  9991. }
  9992. },
  9993. "/SZDZ/QuerySZDZTradePosition": {
  9994. "get": {
  9995. "security": [
  9996. {
  9997. "ApiKeyAuth": []
  9998. }
  9999. ],
  10000. "produces": [
  10001. "application/json"
  10002. ],
  10003. "tags": [
  10004. "定制【尚志大宗】"
  10005. ],
  10006. "summary": "持仓汇总查询(尚志大宗)",
  10007. "parameters": [
  10008. {
  10009. "type": "integer",
  10010. "description": "资金账户",
  10011. "name": "accountID",
  10012. "in": "query",
  10013. "required": true
  10014. }
  10015. ],
  10016. "responses": {
  10017. "200": {
  10018. "description": "OK",
  10019. "schema": {
  10020. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10021. }
  10022. },
  10023. "500": {
  10024. "description": "Internal Server Error",
  10025. "schema": {
  10026. "$ref": "#/definitions/app.Response"
  10027. }
  10028. }
  10029. }
  10030. }
  10031. },
  10032. "/SZDZ/SearchWhite": {
  10033. "get": {
  10034. "security": [
  10035. {
  10036. "ApiKeyAuth": []
  10037. }
  10038. ],
  10039. "produces": [
  10040. "application/json"
  10041. ],
  10042. "tags": [
  10043. "定制【尚志大宗】"
  10044. ],
  10045. "summary": "搜索白名单",
  10046. "parameters": [
  10047. {
  10048. "type": "integer",
  10049. "description": "用户ID",
  10050. "name": "userID",
  10051. "in": "query",
  10052. "required": true
  10053. }
  10054. ],
  10055. "responses": {
  10056. "200": {
  10057. "description": "OK",
  10058. "schema": {
  10059. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10060. }
  10061. },
  10062. "500": {
  10063. "description": "Internal Server Error",
  10064. "schema": {
  10065. "$ref": "#/definitions/app.Response"
  10066. }
  10067. }
  10068. }
  10069. }
  10070. },
  10071. "/Search/SearchGoodses": {
  10072. "get": {
  10073. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10074. "produces": [
  10075. "application/json"
  10076. ],
  10077. "tags": [
  10078. "检索服务"
  10079. ],
  10080. "summary": "检索商品信息",
  10081. "parameters": [
  10082. {
  10083. "type": "string",
  10084. "description": "检索内容",
  10085. "name": "content",
  10086. "in": "query",
  10087. "required": true
  10088. },
  10089. {
  10090. "type": "string",
  10091. "description": "交易模式,格式:1,2,3",
  10092. "name": "tradeModes",
  10093. "in": "query"
  10094. }
  10095. ],
  10096. "responses": {
  10097. "200": {
  10098. "description": "OK",
  10099. "schema": {
  10100. "$ref": "#/definitions/models.SearchGoods"
  10101. }
  10102. },
  10103. "500": {
  10104. "description": "Internal Server Error",
  10105. "schema": {
  10106. "$ref": "#/definitions/app.Response"
  10107. }
  10108. }
  10109. }
  10110. }
  10111. },
  10112. "/TaAccount/GetTaAccounts": {
  10113. "get": {
  10114. "security": [
  10115. {
  10116. "ApiKeyAuth": []
  10117. }
  10118. ],
  10119. "produces": [
  10120. "application/json"
  10121. ],
  10122. "tags": [
  10123. "资金账户"
  10124. ],
  10125. "summary": "获取资金账户信息",
  10126. "parameters": [
  10127. {
  10128. "type": "integer",
  10129. "description": "登录账户",
  10130. "name": "loginID",
  10131. "in": "query",
  10132. "required": true
  10133. },
  10134. {
  10135. "type": "integer",
  10136. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10137. "name": "taAccountType",
  10138. "in": "query"
  10139. }
  10140. ],
  10141. "responses": {
  10142. "200": {
  10143. "description": "OK",
  10144. "schema": {
  10145. "$ref": "#/definitions/models.Taaccount"
  10146. }
  10147. },
  10148. "500": {
  10149. "description": "Internal Server Error",
  10150. "schema": {
  10151. "$ref": "#/definitions/app.Response"
  10152. }
  10153. }
  10154. }
  10155. }
  10156. },
  10157. "/TaAccount/QueryAmountLog": {
  10158. "get": {
  10159. "security": [
  10160. {
  10161. "ApiKeyAuth": []
  10162. }
  10163. ],
  10164. "produces": [
  10165. "application/json"
  10166. ],
  10167. "tags": [
  10168. "资金账户"
  10169. ],
  10170. "summary": "资金流水查询(当前)",
  10171. "parameters": [
  10172. {
  10173. "type": "integer",
  10174. "description": "页码",
  10175. "name": "page",
  10176. "in": "query"
  10177. },
  10178. {
  10179. "type": "integer",
  10180. "description": "每页条数",
  10181. "name": "pagesize",
  10182. "in": "query"
  10183. },
  10184. {
  10185. "type": "string",
  10186. "description": "资金账户 - 格式:1,2,3",
  10187. "name": "accountID",
  10188. "in": "query",
  10189. "required": true
  10190. },
  10191. {
  10192. "type": "string",
  10193. "description": "资金操作类型 - 格式:1,2,3",
  10194. "name": "OperateType",
  10195. "in": "query"
  10196. }
  10197. ],
  10198. "responses": {
  10199. "200": {
  10200. "description": "OK",
  10201. "schema": {
  10202. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10203. }
  10204. },
  10205. "500": {
  10206. "description": "Internal Server Error",
  10207. "schema": {
  10208. "$ref": "#/definitions/app.Response"
  10209. }
  10210. }
  10211. }
  10212. }
  10213. },
  10214. "/TaAccount/QueryHisAmountLog": {
  10215. "get": {
  10216. "security": [
  10217. {
  10218. "ApiKeyAuth": []
  10219. }
  10220. ],
  10221. "produces": [
  10222. "application/json"
  10223. ],
  10224. "tags": [
  10225. "资金账户"
  10226. ],
  10227. "summary": "资金流水查询(历史)",
  10228. "parameters": [
  10229. {
  10230. "type": "integer",
  10231. "description": "页码",
  10232. "name": "page",
  10233. "in": "query"
  10234. },
  10235. {
  10236. "type": "integer",
  10237. "description": "每页条数",
  10238. "name": "pagesize",
  10239. "in": "query"
  10240. },
  10241. {
  10242. "type": "string",
  10243. "description": "资金账户 - 格式:1,2,3",
  10244. "name": "accountID",
  10245. "in": "query",
  10246. "required": true
  10247. },
  10248. {
  10249. "type": "string",
  10250. "description": "资金操作类型 - 格式:1,2,3",
  10251. "name": "OperateType",
  10252. "in": "query"
  10253. },
  10254. {
  10255. "type": "string",
  10256. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10257. "name": "startDate",
  10258. "in": "query"
  10259. },
  10260. {
  10261. "type": "string",
  10262. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10263. "name": "endDate",
  10264. "in": "query"
  10265. }
  10266. ],
  10267. "responses": {
  10268. "200": {
  10269. "description": "OK",
  10270. "schema": {
  10271. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10272. }
  10273. },
  10274. "500": {
  10275. "description": "Internal Server Error",
  10276. "schema": {
  10277. "$ref": "#/definitions/app.Response"
  10278. }
  10279. }
  10280. }
  10281. }
  10282. },
  10283. "/Trade/QueryRecieptOrder": {
  10284. "get": {
  10285. "security": [
  10286. {
  10287. "ApiKeyAuth": []
  10288. }
  10289. ],
  10290. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10291. "produces": [
  10292. "application/json"
  10293. ],
  10294. "tags": [
  10295. "通用交易"
  10296. ],
  10297. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10298. "parameters": [
  10299. {
  10300. "type": "integer",
  10301. "description": "页码",
  10302. "name": "page",
  10303. "in": "query"
  10304. },
  10305. {
  10306. "type": "integer",
  10307. "description": "每页条数",
  10308. "name": "pagesize",
  10309. "in": "query"
  10310. },
  10311. {
  10312. "type": "integer",
  10313. "description": "商品ID",
  10314. "name": "goodsID",
  10315. "in": "query",
  10316. "required": true
  10317. },
  10318. {
  10319. "type": "string",
  10320. "description": "所属账户名称",
  10321. "name": "accountName",
  10322. "in": "query"
  10323. },
  10324. {
  10325. "type": "integer",
  10326. "description": "市场ID",
  10327. "name": "marketID",
  10328. "in": "query"
  10329. },
  10330. {
  10331. "type": "integer",
  10332. "description": "方向 - 0:买 1:卖",
  10333. "name": "buyorsell",
  10334. "in": "query",
  10335. "required": true
  10336. }
  10337. ],
  10338. "responses": {
  10339. "200": {
  10340. "description": "OK",
  10341. "schema": {
  10342. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10343. }
  10344. },
  10345. "500": {
  10346. "description": "Internal Server Error",
  10347. "schema": {
  10348. "$ref": "#/definitions/app.Response"
  10349. }
  10350. }
  10351. }
  10352. }
  10353. },
  10354. "/User/AddMessageBoard": {
  10355. "post": {
  10356. "security": [
  10357. {
  10358. "ApiKeyAuth": []
  10359. }
  10360. ],
  10361. "produces": [
  10362. "application/json"
  10363. ],
  10364. "tags": [
  10365. "用户信息"
  10366. ],
  10367. "summary": "添加用户留言板信息",
  10368. "parameters": [
  10369. {
  10370. "type": "integer",
  10371. "description": "用户ID",
  10372. "name": "userID",
  10373. "in": "query",
  10374. "required": true
  10375. },
  10376. {
  10377. "type": "string",
  10378. "description": "留言信息",
  10379. "name": "message",
  10380. "in": "query",
  10381. "required": true
  10382. },
  10383. {
  10384. "type": "string",
  10385. "description": "联系电话",
  10386. "name": "contactNum",
  10387. "in": "query",
  10388. "required": true
  10389. }
  10390. ],
  10391. "responses": {
  10392. "200": {
  10393. "description": "OK",
  10394. "schema": {
  10395. "$ref": "#/definitions/app.Response"
  10396. }
  10397. },
  10398. "500": {
  10399. "description": "Internal Server Error",
  10400. "schema": {
  10401. "$ref": "#/definitions/app.Response"
  10402. }
  10403. }
  10404. }
  10405. }
  10406. },
  10407. "/User/AddUserFavoriteGoods": {
  10408. "post": {
  10409. "security": [
  10410. {
  10411. "ApiKeyAuth": []
  10412. }
  10413. ],
  10414. "produces": [
  10415. "application/json"
  10416. ],
  10417. "tags": [
  10418. "用户信息"
  10419. ],
  10420. "summary": "添加用户商品收藏信息",
  10421. "parameters": [
  10422. {
  10423. "type": "integer",
  10424. "description": "用户ID",
  10425. "name": "userID",
  10426. "in": "query",
  10427. "required": true
  10428. },
  10429. {
  10430. "type": "integer",
  10431. "description": "商品ID",
  10432. "name": "goodsID",
  10433. "in": "query",
  10434. "required": true
  10435. }
  10436. ],
  10437. "responses": {
  10438. "200": {
  10439. "description": "OK",
  10440. "schema": {
  10441. "$ref": "#/definitions/app.Response"
  10442. }
  10443. },
  10444. "500": {
  10445. "description": "Internal Server Error",
  10446. "schema": {
  10447. "$ref": "#/definitions/app.Response"
  10448. }
  10449. }
  10450. }
  10451. }
  10452. },
  10453. "/User/GetLoginID": {
  10454. "get": {
  10455. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10456. "produces": [
  10457. "application/json"
  10458. ],
  10459. "tags": [
  10460. "用户信息"
  10461. ],
  10462. "summary": "获取登录ID",
  10463. "parameters": [
  10464. {
  10465. "type": "string",
  10466. "description": "登录代码",
  10467. "name": "username",
  10468. "in": "query",
  10469. "required": true
  10470. }
  10471. ],
  10472. "responses": {
  10473. "200": {
  10474. "description": "OK",
  10475. "schema": {
  10476. "$ref": "#/definitions/app.Response"
  10477. }
  10478. },
  10479. "500": {
  10480. "description": "Internal Server Error",
  10481. "schema": {
  10482. "$ref": "#/definitions/app.Response"
  10483. }
  10484. }
  10485. }
  10486. }
  10487. },
  10488. "/User/GetUserAccount": {
  10489. "get": {
  10490. "security": [
  10491. {
  10492. "ApiKeyAuth": []
  10493. }
  10494. ],
  10495. "produces": [
  10496. "application/json"
  10497. ],
  10498. "tags": [
  10499. "用户信息"
  10500. ],
  10501. "summary": "获取用户账号信息",
  10502. "parameters": [
  10503. {
  10504. "type": "integer",
  10505. "description": "用户ID",
  10506. "name": "userID",
  10507. "in": "query",
  10508. "required": true
  10509. }
  10510. ],
  10511. "responses": {
  10512. "200": {
  10513. "description": "OK",
  10514. "schema": {
  10515. "$ref": "#/definitions/models.Useraccount"
  10516. }
  10517. },
  10518. "500": {
  10519. "description": "Internal Server Error",
  10520. "schema": {
  10521. "$ref": "#/definitions/app.Response"
  10522. }
  10523. }
  10524. }
  10525. }
  10526. },
  10527. "/User/GetUserAuthStatus": {
  10528. "get": {
  10529. "security": [
  10530. {
  10531. "ApiKeyAuth": []
  10532. }
  10533. ],
  10534. "produces": [
  10535. "application/json"
  10536. ],
  10537. "tags": [
  10538. "用户信息"
  10539. ],
  10540. "summary": "获取用户实名认证状态",
  10541. "parameters": [
  10542. {
  10543. "type": "integer",
  10544. "description": "用户ID",
  10545. "name": "userID",
  10546. "in": "query",
  10547. "required": true
  10548. }
  10549. ],
  10550. "responses": {
  10551. "200": {
  10552. "description": "OK",
  10553. "schema": {
  10554. "$ref": "#/definitions/app.Response"
  10555. }
  10556. },
  10557. "500": {
  10558. "description": "Internal Server Error",
  10559. "schema": {
  10560. "$ref": "#/definitions/app.Response"
  10561. }
  10562. }
  10563. }
  10564. }
  10565. },
  10566. "/User/LoginQuery": {
  10567. "get": {
  10568. "security": [
  10569. {
  10570. "ApiKeyAuth": []
  10571. }
  10572. ],
  10573. "produces": [
  10574. "application/json"
  10575. ],
  10576. "tags": [
  10577. "用户信息"
  10578. ],
  10579. "summary": "账户登录后信息查询",
  10580. "parameters": [
  10581. {
  10582. "type": "integer",
  10583. "description": "登录账号",
  10584. "name": "loginID",
  10585. "in": "query",
  10586. "required": true
  10587. }
  10588. ],
  10589. "responses": {
  10590. "200": {
  10591. "description": "OK",
  10592. "schema": {
  10593. "$ref": "#/definitions/user.LoginQueryRsp"
  10594. }
  10595. },
  10596. "500": {
  10597. "description": "Internal Server Error",
  10598. "schema": {
  10599. "$ref": "#/definitions/app.Response"
  10600. }
  10601. }
  10602. }
  10603. }
  10604. },
  10605. "/User/QueryMessageBoard": {
  10606. "get": {
  10607. "security": [
  10608. {
  10609. "ApiKeyAuth": []
  10610. }
  10611. ],
  10612. "produces": [
  10613. "application/json"
  10614. ],
  10615. "tags": [
  10616. "用户信息"
  10617. ],
  10618. "summary": "获取用户留言板信息",
  10619. "parameters": [
  10620. {
  10621. "type": "integer",
  10622. "description": "用户ID",
  10623. "name": "userID",
  10624. "in": "query",
  10625. "required": true
  10626. }
  10627. ],
  10628. "responses": {
  10629. "200": {
  10630. "description": "OK",
  10631. "schema": {
  10632. "$ref": "#/definitions/models.Messageboard"
  10633. }
  10634. },
  10635. "500": {
  10636. "description": "Internal Server Error",
  10637. "schema": {
  10638. "$ref": "#/definitions/app.Response"
  10639. }
  10640. }
  10641. }
  10642. }
  10643. },
  10644. "/User/QueryUserFavoriteGoodses": {
  10645. "get": {
  10646. "security": [
  10647. {
  10648. "ApiKeyAuth": []
  10649. }
  10650. ],
  10651. "produces": [
  10652. "application/json"
  10653. ],
  10654. "tags": [
  10655. "用户信息"
  10656. ],
  10657. "summary": "获取用户商品收藏信息",
  10658. "parameters": [
  10659. {
  10660. "type": "integer",
  10661. "description": "用户ID",
  10662. "name": "userID",
  10663. "in": "query",
  10664. "required": true
  10665. }
  10666. ],
  10667. "responses": {
  10668. "200": {
  10669. "description": "OK",
  10670. "schema": {
  10671. "$ref": "#/definitions/models.Userfavoritegoods"
  10672. }
  10673. },
  10674. "500": {
  10675. "description": "Internal Server Error",
  10676. "schema": {
  10677. "$ref": "#/definitions/app.Response"
  10678. }
  10679. }
  10680. }
  10681. }
  10682. },
  10683. "/User/QueryUserInfo": {
  10684. "get": {
  10685. "security": [
  10686. {
  10687. "ApiKeyAuth": []
  10688. }
  10689. ],
  10690. "produces": [
  10691. "application/json"
  10692. ],
  10693. "tags": [
  10694. "用户信息"
  10695. ],
  10696. "summary": "获取用户信息",
  10697. "parameters": [
  10698. {
  10699. "type": "integer",
  10700. "description": "用户ID",
  10701. "name": "userID",
  10702. "in": "query",
  10703. "required": true
  10704. },
  10705. {
  10706. "type": "boolean",
  10707. "description": "是否解密",
  10708. "name": "isDecrypt",
  10709. "in": "query"
  10710. }
  10711. ],
  10712. "responses": {
  10713. "200": {
  10714. "description": "OK",
  10715. "schema": {
  10716. "$ref": "#/definitions/models.Userinfo"
  10717. }
  10718. },
  10719. "500": {
  10720. "description": "Internal Server Error",
  10721. "schema": {
  10722. "$ref": "#/definitions/app.Response"
  10723. }
  10724. }
  10725. }
  10726. }
  10727. },
  10728. "/User/QueryUserReferNum": {
  10729. "get": {
  10730. "produces": [
  10731. "application/json"
  10732. ],
  10733. "tags": [
  10734. "用户信息"
  10735. ],
  10736. "summary": "获取用户邀请码",
  10737. "parameters": [
  10738. {
  10739. "type": "integer",
  10740. "description": "用户ID",
  10741. "name": "userID",
  10742. "in": "query",
  10743. "required": true
  10744. }
  10745. ],
  10746. "responses": {
  10747. "200": {
  10748. "description": "OK",
  10749. "schema": {
  10750. "$ref": "#/definitions/app.Response"
  10751. }
  10752. },
  10753. "500": {
  10754. "description": "Internal Server Error",
  10755. "schema": {
  10756. "$ref": "#/definitions/app.Response"
  10757. }
  10758. }
  10759. }
  10760. }
  10761. },
  10762. "/User/RemoveUserFavoriteGoods": {
  10763. "post": {
  10764. "security": [
  10765. {
  10766. "ApiKeyAuth": []
  10767. }
  10768. ],
  10769. "produces": [
  10770. "application/json"
  10771. ],
  10772. "tags": [
  10773. "用户信息"
  10774. ],
  10775. "summary": "移除用户商品收藏信息",
  10776. "parameters": [
  10777. {
  10778. "type": "integer",
  10779. "description": "用户ID",
  10780. "name": "userID",
  10781. "in": "query",
  10782. "required": true
  10783. },
  10784. {
  10785. "type": "integer",
  10786. "description": "商品ID",
  10787. "name": "goodsID",
  10788. "in": "query",
  10789. "required": true
  10790. }
  10791. ],
  10792. "responses": {
  10793. "200": {
  10794. "description": "OK",
  10795. "schema": {
  10796. "$ref": "#/definitions/app.Response"
  10797. }
  10798. },
  10799. "500": {
  10800. "description": "Internal Server Error",
  10801. "schema": {
  10802. "$ref": "#/definitions/app.Response"
  10803. }
  10804. }
  10805. }
  10806. }
  10807. },
  10808. "/User/UpdateUserAccountStatus": {
  10809. "post": {
  10810. "security": [
  10811. {
  10812. "ApiKeyAuth": []
  10813. }
  10814. ],
  10815. "produces": [
  10816. "application/json"
  10817. ],
  10818. "tags": [
  10819. "用户信息"
  10820. ],
  10821. "summary": "更新用户状态",
  10822. "parameters": [
  10823. {
  10824. "type": "integer",
  10825. "description": "用户ID",
  10826. "name": "userID",
  10827. "in": "query",
  10828. "required": true
  10829. },
  10830. {
  10831. "type": "integer",
  10832. "description": "账户状态 - 4:正常 6:注销(停用)",
  10833. "name": "accountStatus",
  10834. "in": "query",
  10835. "required": true
  10836. }
  10837. ],
  10838. "responses": {
  10839. "200": {
  10840. "description": "OK",
  10841. "schema": {
  10842. "$ref": "#/definitions/app.Response"
  10843. }
  10844. },
  10845. "500": {
  10846. "description": "Internal Server Error",
  10847. "schema": {
  10848. "$ref": "#/definitions/app.Response"
  10849. }
  10850. }
  10851. }
  10852. }
  10853. },
  10854. "/WRTrade/GetAllDeliveryGoods": {
  10855. "get": {
  10856. "security": [
  10857. {
  10858. "ApiKeyAuth": []
  10859. },
  10860. {
  10861. "ApiKeyAuth": []
  10862. }
  10863. ],
  10864. "produces": [
  10865. "application/json",
  10866. "application/json"
  10867. ],
  10868. "tags": [
  10869. "仓单贸易",
  10870. "仓单贸易"
  10871. ],
  10872. "summary": "获取带仓单分类的种类信息",
  10873. "responses": {
  10874. "200": {
  10875. "description": "OK",
  10876. "schema": {
  10877. "$ref": "#/definitions/app.Response"
  10878. }
  10879. },
  10880. "500": {
  10881. "description": "Internal Server Error",
  10882. "schema": {
  10883. "$ref": "#/definitions/app.Response"
  10884. }
  10885. }
  10886. }
  10887. }
  10888. }
  10889. },
  10890. "definitions": {
  10891. "app.Response": {
  10892. "type": "object",
  10893. "properties": {
  10894. "code": {
  10895. "type": "integer"
  10896. },
  10897. "data": {
  10898. "type": "object"
  10899. },
  10900. "msg": {
  10901. "type": "string"
  10902. },
  10903. "page": {
  10904. "description": "页码",
  10905. "type": "integer"
  10906. },
  10907. "pagesize": {
  10908. "description": "每页条数",
  10909. "type": "integer"
  10910. },
  10911. "total": {
  10912. "description": "总条数",
  10913. "type": "integer"
  10914. }
  10915. }
  10916. },
  10917. "common.ClientMenu": {
  10918. "type": "object",
  10919. "properties": {
  10920. "children": {
  10921. "description": "子菜单列表",
  10922. "type": "array",
  10923. "items": {
  10924. "$ref": "#/definitions/common.ClientMenu"
  10925. }
  10926. },
  10927. "code": {
  10928. "description": "ID",
  10929. "type": "string"
  10930. },
  10931. "isshow": {
  10932. "description": "是否显示",
  10933. "type": "boolean"
  10934. },
  10935. "remark": {
  10936. "description": "备注",
  10937. "type": "string"
  10938. },
  10939. "rulekey": {
  10940. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  10941. "type": "string"
  10942. },
  10943. "sort": {
  10944. "description": "排序",
  10945. "type": "integer"
  10946. },
  10947. "title": {
  10948. "description": "标题",
  10949. "type": "string"
  10950. },
  10951. "type": {
  10952. "description": "类型,1:菜单 2:按钮",
  10953. "type": "integer"
  10954. },
  10955. "url": {
  10956. "description": "URL",
  10957. "type": "string"
  10958. }
  10959. }
  10960. },
  10961. "common.QueryImageConfigsRsp": {
  10962. "type": "object",
  10963. "required": [
  10964. "configid"
  10965. ],
  10966. "properties": {
  10967. "areauserid": {
  10968. "description": "所属机构ID",
  10969. "type": "integer"
  10970. },
  10971. "configid": {
  10972. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  10973. "type": "integer"
  10974. },
  10975. "createdate": {
  10976. "description": "创建时间",
  10977. "type": "string"
  10978. },
  10979. "creatorid": {
  10980. "description": "创建人",
  10981. "type": "integer"
  10982. },
  10983. "imagepath": {
  10984. "description": "图片",
  10985. "type": "string"
  10986. },
  10987. "imagetype": {
  10988. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  10989. "type": "integer"
  10990. },
  10991. "isshow": {
  10992. "description": "是否展示 - 0:不展示 1:展示",
  10993. "type": "integer"
  10994. },
  10995. "marketid": {
  10996. "description": "市场ID",
  10997. "type": "integer"
  10998. },
  10999. "modifierid": {
  11000. "description": "操作人",
  11001. "type": "integer"
  11002. },
  11003. "sort": {
  11004. "description": "排序",
  11005. "type": "integer"
  11006. },
  11007. "title": {
  11008. "description": "标题",
  11009. "type": "string"
  11010. },
  11011. "trademode": {
  11012. "description": "交易模式",
  11013. "type": "integer"
  11014. },
  11015. "updatedate": {
  11016. "description": "修改时间",
  11017. "type": "string"
  11018. },
  11019. "url": {
  11020. "description": "链接(地址或商品ID)",
  11021. "type": "string"
  11022. },
  11023. "urltype": {
  11024. "description": "链接类型 - 1:直接地址 2:商品ID",
  11025. "type": "integer"
  11026. }
  11027. }
  11028. },
  11029. "common.QueryNoticeRsp": {
  11030. "type": "object",
  11031. "required": [
  11032. "autoid"
  11033. ],
  11034. "properties": {
  11035. "auditoruserid": {
  11036. "description": "审核人",
  11037. "type": "integer"
  11038. },
  11039. "auditremark": {
  11040. "description": "审核备注",
  11041. "type": "string"
  11042. },
  11043. "audittime": {
  11044. "description": "审核日期",
  11045. "type": "string"
  11046. },
  11047. "autoid": {
  11048. "description": "自增ID",
  11049. "type": "integer"
  11050. },
  11051. "content": {
  11052. "description": "内容",
  11053. "type": "string"
  11054. },
  11055. "createtime": {
  11056. "description": "创建时间",
  11057. "type": "string"
  11058. },
  11059. "creatorid": {
  11060. "description": "建仓人",
  11061. "type": "integer"
  11062. },
  11063. "endtime": {
  11064. "description": "结束时间",
  11065. "type": "string"
  11066. },
  11067. "istop": {
  11068. "description": "是否置顶 - 0:不置顶 1:置顶",
  11069. "type": "integer"
  11070. },
  11071. "msgiconurl": {
  11072. "description": "消息图标Url",
  11073. "type": "string"
  11074. },
  11075. "msgtype": {
  11076. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11077. "type": "integer"
  11078. },
  11079. "publisher": {
  11080. "description": "消息发布者",
  11081. "type": "string"
  11082. },
  11083. "readed": {
  11084. "description": "是否已读",
  11085. "type": "boolean"
  11086. },
  11087. "scheduletime": {
  11088. "description": "计划发送时间",
  11089. "type": "string"
  11090. },
  11091. "sendtype": {
  11092. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11093. "type": "integer"
  11094. },
  11095. "sentstatus": {
  11096. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11097. "type": "integer"
  11098. },
  11099. "title": {
  11100. "description": "标题",
  11101. "type": "string"
  11102. },
  11103. "userid": {
  11104. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11105. "type": "integer"
  11106. }
  11107. }
  11108. },
  11109. "common.QueryProvincesAndCitiesRsp": {
  11110. "type": "object",
  11111. "properties": {
  11112. "cities": {
  11113. "description": "市",
  11114. "type": "array",
  11115. "items": {
  11116. "$ref": "#/definitions/models.Division"
  11117. }
  11118. },
  11119. "province": {
  11120. "description": "省",
  11121. "type": "object",
  11122. "$ref": "#/definitions/models.Division"
  11123. }
  11124. }
  11125. },
  11126. "common.QueryTableDefineRsp": {
  11127. "type": "object",
  11128. "required": [
  11129. "tablekey"
  11130. ],
  11131. "properties": {
  11132. "columns": {
  11133. "description": "列头信息数组",
  11134. "type": "array",
  11135. "items": {
  11136. "$ref": "#/definitions/models.Tablecolumnconfig"
  11137. }
  11138. },
  11139. "remark": {
  11140. "description": "Remark",
  11141. "type": "string"
  11142. },
  11143. "tabelmenu": {
  11144. "description": "列表菜单",
  11145. "type": "string"
  11146. },
  11147. "tablekey": {
  11148. "description": "列表Key",
  11149. "type": "string"
  11150. },
  11151. "tablename": {
  11152. "description": "列表名称",
  11153. "type": "string"
  11154. },
  11155. "tabletype": {
  11156. "description": "列表类型 - 1:管理端 2:终端",
  11157. "type": "integer"
  11158. }
  11159. }
  11160. },
  11161. "common.QueryTraderMenuRsp": {
  11162. "type": "object",
  11163. "properties": {
  11164. "OperationMenu": {
  11165. "description": "功能菜单",
  11166. "type": "array",
  11167. "items": {
  11168. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11169. }
  11170. },
  11171. "QuoteMenu": {
  11172. "description": "报价牌分类菜单",
  11173. "type": "array",
  11174. "items": {
  11175. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11176. }
  11177. }
  11178. }
  11179. },
  11180. "cptrade.Cptradepositioncancel": {
  11181. "type": "object",
  11182. "required": [
  11183. "cancelid"
  11184. ],
  11185. "properties": {
  11186. "accountid": {
  11187. "description": "申请人账户ID",
  11188. "type": "integer"
  11189. },
  11190. "applystatus": {
  11191. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11192. "type": "integer"
  11193. },
  11194. "applytime": {
  11195. "description": "申请时间",
  11196. "type": "string"
  11197. },
  11198. "cancelid": {
  11199. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11200. "type": "integer"
  11201. },
  11202. "cancelqty": {
  11203. "description": "注销数量",
  11204. "type": "integer"
  11205. },
  11206. "createtime": {
  11207. "description": "创建时间",
  11208. "type": "string"
  11209. },
  11210. "creatorid": {
  11211. "description": "创建人ID",
  11212. "type": "integer"
  11213. },
  11214. "creatorname": {
  11215. "description": "创建人",
  11216. "type": "string"
  11217. },
  11218. "goodscode": {
  11219. "description": "订单商品代码",
  11220. "type": "string"
  11221. },
  11222. "goodsid": {
  11223. "description": "商品ID",
  11224. "type": "integer"
  11225. },
  11226. "goodsname": {
  11227. "description": "订单商品名称",
  11228. "type": "string"
  11229. },
  11230. "goodunit": {
  11231. "description": "报价单位",
  11232. "type": "string"
  11233. },
  11234. "handlestatus": {
  11235. "description": "处理状态",
  11236. "type": "integer"
  11237. },
  11238. "marketid": {
  11239. "description": "市场ID",
  11240. "type": "integer"
  11241. },
  11242. "marketname": {
  11243. "description": "市场名称",
  11244. "type": "string"
  11245. },
  11246. "tradedate": {
  11247. "description": "交易日(yyyyMMdd)",
  11248. "type": "string"
  11249. },
  11250. "userid": {
  11251. "description": "申请人ID",
  11252. "type": "integer"
  11253. }
  11254. }
  11255. },
  11256. "cptrade.Cptradepresaleapply": {
  11257. "type": "object",
  11258. "required": [
  11259. "applyid"
  11260. ],
  11261. "properties": {
  11262. "accountid": {
  11263. "description": "申请人账户ID",
  11264. "type": "integer"
  11265. },
  11266. "applyid": {
  11267. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11268. "type": "integer"
  11269. },
  11270. "applyremark": {
  11271. "description": "申请备注",
  11272. "type": "string"
  11273. },
  11274. "applystatus": {
  11275. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11276. "type": "integer"
  11277. },
  11278. "applytime": {
  11279. "description": "申请时间",
  11280. "type": "string"
  11281. },
  11282. "attachmenturl": {
  11283. "description": "附件地址",
  11284. "type": "string"
  11285. },
  11286. "endtime": {
  11287. "description": "预售结束时间",
  11288. "type": "string"
  11289. },
  11290. "goodscode": {
  11291. "description": "商品代码",
  11292. "type": "string"
  11293. },
  11294. "goodsid": {
  11295. "description": "商品ID",
  11296. "type": "integer"
  11297. },
  11298. "goodsname": {
  11299. "description": "商品名称",
  11300. "type": "string"
  11301. },
  11302. "goodunit": {
  11303. "description": "报价单位",
  11304. "type": "string"
  11305. },
  11306. "handlestatus": {
  11307. "description": "处理状态",
  11308. "type": "integer"
  11309. },
  11310. "marketid": {
  11311. "description": "预售市场ID",
  11312. "type": "integer"
  11313. },
  11314. "marketname": {
  11315. "description": "预售市场名称",
  11316. "type": "string"
  11317. },
  11318. "presaleqty": {
  11319. "description": "预售数量",
  11320. "type": "integer"
  11321. },
  11322. "relatedgoodscode": {
  11323. "description": "关联交易合约代码",
  11324. "type": "string"
  11325. },
  11326. "relatedgoodsid": {
  11327. "description": "关联交易合约ID",
  11328. "type": "integer"
  11329. },
  11330. "relatedgoodsname": {
  11331. "description": "关联交易合约名称",
  11332. "type": "string"
  11333. },
  11334. "starttime": {
  11335. "description": "预售开始时间",
  11336. "type": "string"
  11337. },
  11338. "tradedate": {
  11339. "description": "交易日(yyyyMMdd)",
  11340. "type": "string"
  11341. },
  11342. "trademode": {
  11343. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11344. "type": "integer"
  11345. },
  11346. "userid": {
  11347. "description": "申请人ID",
  11348. "type": "integer"
  11349. }
  11350. }
  11351. },
  11352. "cptrade.Cptradeusergoodsdata": {
  11353. "type": "object",
  11354. "required": [
  11355. "accountid",
  11356. "goodsid"
  11357. ],
  11358. "properties": {
  11359. "EnabledQty": {
  11360. "description": "可用量",
  11361. "type": "integer"
  11362. },
  11363. "GoodsCode": {
  11364. "description": "订单商品代码",
  11365. "type": "string"
  11366. },
  11367. "GoodsName": {
  11368. "description": "订单商品名称",
  11369. "type": "string"
  11370. },
  11371. "WRStandardCode": {
  11372. "description": "仓单标准代码",
  11373. "type": "string"
  11374. },
  11375. "WRStandardName": {
  11376. "description": "仓单标准名称",
  11377. "type": "string"
  11378. },
  11379. "accountid": {
  11380. "description": "账户ID",
  11381. "type": "integer"
  11382. },
  11383. "cancelqty": {
  11384. "description": "注销量",
  11385. "type": "integer"
  11386. },
  11387. "curpresaleqty": {
  11388. "description": "当前预售量",
  11389. "type": "integer"
  11390. },
  11391. "deliveryqty": {
  11392. "description": "交割量",
  11393. "type": "integer"
  11394. },
  11395. "freezeamount": {
  11396. "description": "冻结金额",
  11397. "type": "number"
  11398. },
  11399. "goodsid": {
  11400. "description": "商品ID",
  11401. "type": "integer"
  11402. },
  11403. "goodunit": {
  11404. "description": "报价单位",
  11405. "type": "string"
  11406. },
  11407. "hasspotfreeze": {
  11408. "description": "是否有现货冻结 - 0:否 1:有",
  11409. "type": "integer"
  11410. },
  11411. "inqty": {
  11412. "description": "转入量(总数量)",
  11413. "type": "integer"
  11414. },
  11415. "marketid": {
  11416. "description": "市场ID",
  11417. "type": "integer"
  11418. },
  11419. "presaledamount": {
  11420. "description": "已预售总金额",
  11421. "type": "integer"
  11422. },
  11423. "presaledqty": {
  11424. "description": "已预售量",
  11425. "type": "integer"
  11426. },
  11427. "userid": {
  11428. "description": "用户ID",
  11429. "type": "integer"
  11430. },
  11431. "wrstandardid": {
  11432. "description": "仓单标准ID",
  11433. "type": "integer"
  11434. }
  11435. }
  11436. },
  11437. "cptrade.QueryCPTradeMyBidRsp": {
  11438. "type": "object",
  11439. "required": [
  11440. "accountid",
  11441. "goodsid",
  11442. "marketid",
  11443. "orderid",
  11444. "orderqty",
  11445. "ordertime",
  11446. "tradeprice",
  11447. "tradeqty"
  11448. ],
  11449. "properties": {
  11450. "accountid": {
  11451. "description": "账户ID[报价币种]",
  11452. "type": "integer"
  11453. },
  11454. "goodsid": {
  11455. "description": "商品ID",
  11456. "type": "integer"
  11457. },
  11458. "goodunit": {
  11459. "description": "报价单位",
  11460. "type": "string"
  11461. },
  11462. "marketid": {
  11463. "description": "市场ID",
  11464. "type": "integer"
  11465. },
  11466. "orderid": {
  11467. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11468. "type": "integer"
  11469. },
  11470. "orderprice": {
  11471. "description": "委托价格",
  11472. "type": "number"
  11473. },
  11474. "orderqty": {
  11475. "description": "委托数量",
  11476. "type": "integer"
  11477. },
  11478. "ordertime": {
  11479. "description": "委托时间",
  11480. "type": "string"
  11481. },
  11482. "ordertotalprice": {
  11483. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11484. "type": "number"
  11485. },
  11486. "ordertotalweight": {
  11487. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  11488. "type": "integer"
  11489. },
  11490. "totaltotalprice": {
  11491. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  11492. "type": "number"
  11493. },
  11494. "tradeprice": {
  11495. "description": "成交价格",
  11496. "type": "number"
  11497. },
  11498. "tradeqty": {
  11499. "description": "成交数量",
  11500. "type": "integer"
  11501. }
  11502. }
  11503. },
  11504. "cptrade.QueryCPTradeOrderDetailRsq": {
  11505. "type": "object",
  11506. "required": [
  11507. "accountid",
  11508. "buildtype",
  11509. "buyorsell",
  11510. "goodsid",
  11511. "marketid",
  11512. "memberuserid",
  11513. "operatetype",
  11514. "orderqty",
  11515. "ordertime",
  11516. "pricemode",
  11517. "strorderid",
  11518. "tradedate",
  11519. "validtype"
  11520. ],
  11521. "properties": {
  11522. "accountid": {
  11523. "description": "账户ID[报价币种]",
  11524. "type": "integer"
  11525. },
  11526. "buildtype": {
  11527. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11528. "type": "integer"
  11529. },
  11530. "buyorsell": {
  11531. "description": "买卖 - 0:买 1:卖",
  11532. "type": "integer"
  11533. },
  11534. "cancelorderid": {
  11535. "description": "撤单单号(撤单时填写)",
  11536. "type": "integer"
  11537. },
  11538. "cancelqty": {
  11539. "description": "撤单数量",
  11540. "type": "integer"
  11541. },
  11542. "clientordertime": {
  11543. "description": "客户端委托时间",
  11544. "type": "string"
  11545. },
  11546. "clientticket": {
  11547. "description": "客户端流水号",
  11548. "type": "string"
  11549. },
  11550. "clienttype": {
  11551. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11552. "type": "integer"
  11553. },
  11554. "closeexchagechargevalue": {
  11555. "description": "平仓交易所手续费设置值",
  11556. "type": "number"
  11557. },
  11558. "closefeealgorithm": {
  11559. "description": "平仓手续费收取方式 1:比率 2:固定",
  11560. "type": "integer"
  11561. },
  11562. "closefreezecharge": {
  11563. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11564. "type": "number"
  11565. },
  11566. "closememberchargevalue": {
  11567. "description": "平仓会员手续费设置值",
  11568. "type": "number"
  11569. },
  11570. "closeqty": {
  11571. "description": "平仓数量(先建后平操作 需要记录)",
  11572. "type": "integer"
  11573. },
  11574. "closetradeqty": {
  11575. "description": "平仓成交数量(先建后平操作,需要记录)",
  11576. "type": "integer"
  11577. },
  11578. "closeunfreezecharge": {
  11579. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11580. "type": "number"
  11581. },
  11582. "delistingtype": {
  11583. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11584. "type": "integer"
  11585. },
  11586. "freezecharge": {
  11587. "description": "冻结手续费",
  11588. "type": "number"
  11589. },
  11590. "freezemargin": {
  11591. "description": "冻结保证金(冻结交易金额)",
  11592. "type": "number"
  11593. },
  11594. "gcaccountid": {
  11595. "description": "账户ID[合约币种]",
  11596. "type": "integer"
  11597. },
  11598. "goodsid": {
  11599. "description": "商品ID",
  11600. "type": "integer"
  11601. },
  11602. "isconfirmexercise": {
  11603. "description": "是否确认行权- 0:否 1:是",
  11604. "type": "integer"
  11605. },
  11606. "ispreexercise": {
  11607. "description": "是否预申报- 0:否 1:是",
  11608. "type": "integer"
  11609. },
  11610. "listingselecttype": {
  11611. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11612. "type": "integer"
  11613. },
  11614. "marginalgorithm": {
  11615. "description": "保证金收取方式 1:比率 2:固定",
  11616. "type": "integer"
  11617. },
  11618. "marginvalue": {
  11619. "description": "即市保证金设置值",
  11620. "type": "number"
  11621. },
  11622. "marketid": {
  11623. "description": "市场ID",
  11624. "type": "integer"
  11625. },
  11626. "marketmaxsub": {
  11627. "description": "市价最大偏移范围",
  11628. "type": "number"
  11629. },
  11630. "memberuserid": {
  11631. "description": "所属会员UserID",
  11632. "type": "integer"
  11633. },
  11634. "openexchagechargevalue": {
  11635. "description": "建仓交易所手续费设置值",
  11636. "type": "number"
  11637. },
  11638. "openfeealgorithm": {
  11639. "description": "建仓手续费收取方式 1:比率 2:固定",
  11640. "type": "integer"
  11641. },
  11642. "openfreezecharge": {
  11643. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11644. "type": "number"
  11645. },
  11646. "openmemberchargevalue": {
  11647. "description": "建仓会员手续费设置值",
  11648. "type": "number"
  11649. },
  11650. "openqty": {
  11651. "description": "开仓数量(先建后平操作,需要记录)",
  11652. "type": "integer"
  11653. },
  11654. "opentradeqty": {
  11655. "description": "开仓成交数量(先建后平操作,需要记录)",
  11656. "type": "integer"
  11657. },
  11658. "openunfreezecharge": {
  11659. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11660. "type": "number"
  11661. },
  11662. "operatetype": {
  11663. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11664. "type": "integer"
  11665. },
  11666. "operatorid": {
  11667. "description": "登录账号(LoginID)",
  11668. "type": "integer"
  11669. },
  11670. "optiontype": {
  11671. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11672. "type": "integer"
  11673. },
  11674. "orderprice": {
  11675. "description": "委托价格",
  11676. "type": "number"
  11677. },
  11678. "orderqty": {
  11679. "description": "委托数量",
  11680. "type": "integer"
  11681. },
  11682. "ordersrc": {
  11683. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11684. "type": "integer"
  11685. },
  11686. "orderstatus": {
  11687. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11688. "type": "integer"
  11689. },
  11690. "ordertime": {
  11691. "description": "委托时间",
  11692. "type": "string"
  11693. },
  11694. "preexerciseprice": {
  11695. "description": "预申报价格",
  11696. "type": "number"
  11697. },
  11698. "premium": {
  11699. "description": "权利金",
  11700. "type": "number"
  11701. },
  11702. "preorderid": {
  11703. "description": "关联预埋单号(止盈止损单时填写)",
  11704. "type": "integer"
  11705. },
  11706. "pricemode": {
  11707. "description": "取价方式 - 1:市价 2: 限价",
  11708. "type": "integer"
  11709. },
  11710. "quoteid": {
  11711. "description": "报价单ID",
  11712. "type": "integer"
  11713. },
  11714. "relatedid": {
  11715. "description": "关联单号(交割单)",
  11716. "type": "integer"
  11717. },
  11718. "retcode": {
  11719. "description": "错误代码",
  11720. "type": "integer"
  11721. },
  11722. "sessionid": {
  11723. "description": "会话ID",
  11724. "type": "integer"
  11725. },
  11726. "strorderid": {
  11727. "description": "委托单号",
  11728. "type": "string"
  11729. },
  11730. "tradedate": {
  11731. "description": "交易日(yyyyMMdd)",
  11732. "type": "string"
  11733. },
  11734. "tradeproperty": {
  11735. "description": "交易属性",
  11736. "type": "integer"
  11737. },
  11738. "tradeqty": {
  11739. "description": "成交数量",
  11740. "type": "integer"
  11741. },
  11742. "unfreezecharge": {
  11743. "description": "解冻手续费",
  11744. "type": "number"
  11745. },
  11746. "unfreezemargin": {
  11747. "description": "解冻保证金",
  11748. "type": "number"
  11749. },
  11750. "updatetime": {
  11751. "description": "更新时间",
  11752. "type": "string"
  11753. },
  11754. "uuid": {
  11755. "description": "发起端唯一id",
  11756. "type": "string"
  11757. },
  11758. "validtime": {
  11759. "description": "有效期限",
  11760. "type": "string"
  11761. },
  11762. "validtype": {
  11763. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11764. "type": "integer"
  11765. },
  11766. "volumetype": {
  11767. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11768. "type": "integer"
  11769. }
  11770. }
  11771. },
  11772. "cptrade.QueryMyCPTradeGoodsRsp": {
  11773. "type": "object",
  11774. "required": [
  11775. "goodscode",
  11776. "goodsid",
  11777. "goodsname",
  11778. "marketid",
  11779. "relatedgoodscode",
  11780. "relatedgoodsname"
  11781. ],
  11782. "properties": {
  11783. "accountid": {
  11784. "description": "卖方账户ID",
  11785. "type": "integer"
  11786. },
  11787. "agreeunit": {
  11788. "description": "合约单位",
  11789. "type": "number"
  11790. },
  11791. "applyid": {
  11792. "description": "关联申请ID",
  11793. "type": "integer"
  11794. },
  11795. "attachmenturl": {
  11796. "description": "附件地址",
  11797. "type": "string"
  11798. },
  11799. "createtime": {
  11800. "description": "创建时间",
  11801. "type": "string"
  11802. },
  11803. "currencyid": {
  11804. "description": "报价货币ID",
  11805. "type": "integer"
  11806. },
  11807. "decimalplace": {
  11808. "description": "报价小数位",
  11809. "type": "integer"
  11810. },
  11811. "endtime": {
  11812. "description": "预售结束时间",
  11813. "type": "string"
  11814. },
  11815. "floorprice": {
  11816. "description": "底价[大宗式竞拍]",
  11817. "type": "number"
  11818. },
  11819. "goodscode": {
  11820. "description": "商品代码(预售)",
  11821. "type": "string"
  11822. },
  11823. "goodsdetail": {
  11824. "description": "详情[大宗]",
  11825. "type": "string"
  11826. },
  11827. "goodsid": {
  11828. "description": "商品ID(自增ID SEQ_GOODS)",
  11829. "type": "integer"
  11830. },
  11831. "goodsname": {
  11832. "description": "商品名称(预售)",
  11833. "type": "string"
  11834. },
  11835. "goodunit": {
  11836. "description": "报价单位",
  11837. "type": "string"
  11838. },
  11839. "goodunitid": {
  11840. "description": "报价单位ID",
  11841. "type": "integer"
  11842. },
  11843. "marketid": {
  11844. "description": "所属市场ID",
  11845. "type": "integer"
  11846. },
  11847. "marketname": {
  11848. "description": "预售市场名称",
  11849. "type": "string"
  11850. },
  11851. "presaledamount": {
  11852. "description": "已预售总金额(预售结束时更新)",
  11853. "type": "number"
  11854. },
  11855. "presaledqty": {
  11856. "description": "已预售量(预售结束时更新)",
  11857. "type": "integer"
  11858. },
  11859. "presalemode": {
  11860. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11861. "type": "integer"
  11862. },
  11863. "presaleqty": {
  11864. "description": "预售数量",
  11865. "type": "integer"
  11866. },
  11867. "refprice": {
  11868. "description": "参考价格[一口价]",
  11869. "type": "number"
  11870. },
  11871. "relatedgoodscode": {
  11872. "description": "商品代码(订单)",
  11873. "type": "string"
  11874. },
  11875. "relatedgoodsid": {
  11876. "description": "关联交易合约ID",
  11877. "type": "integer"
  11878. },
  11879. "relatedgoodsname": {
  11880. "description": "商品名称(订单)",
  11881. "type": "string"
  11882. },
  11883. "relatedmarketid": {
  11884. "description": "关联交易合约市场ID",
  11885. "type": "integer"
  11886. },
  11887. "sellstatus": {
  11888. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11889. "type": "integer"
  11890. },
  11891. "startprice": {
  11892. "description": "起拍价[大宗式竞拍]",
  11893. "type": "number"
  11894. },
  11895. "starttime": {
  11896. "description": "预售开始时间",
  11897. "type": "string"
  11898. },
  11899. "tradedate": {
  11900. "description": "交易日(yyyyMMdd)",
  11901. "type": "string"
  11902. },
  11903. "tradeprice": {
  11904. "description": "成交价[大宗]",
  11905. "type": "number"
  11906. },
  11907. "userid": {
  11908. "description": "卖方用户ID",
  11909. "type": "integer"
  11910. }
  11911. }
  11912. },
  11913. "cptrade.QueryPresaleGoodsExRsp": {
  11914. "type": "object",
  11915. "required": [
  11916. "goodsid"
  11917. ],
  11918. "properties": {
  11919. "attachmenturl": {
  11920. "description": "附件地址",
  11921. "type": "string"
  11922. },
  11923. "createtime": {
  11924. "description": "创建时间",
  11925. "type": "string"
  11926. },
  11927. "endtime": {
  11928. "description": "预售结束时间",
  11929. "type": "string"
  11930. },
  11931. "floorprice": {
  11932. "description": "底价[大宗式竞拍]",
  11933. "type": "number"
  11934. },
  11935. "goodsdetail": {
  11936. "description": "详情[大宗]",
  11937. "type": "string"
  11938. },
  11939. "goodsid": {
  11940. "description": "商品ID(预售)",
  11941. "type": "integer"
  11942. },
  11943. "goodunit": {
  11944. "description": "报价单位",
  11945. "type": "string"
  11946. },
  11947. "marketid": {
  11948. "description": "预售市场ID - 根据预售模式选择市场",
  11949. "type": "integer"
  11950. },
  11951. "presaledamount": {
  11952. "description": "已预售总金额(预售结束时更新)",
  11953. "type": "number"
  11954. },
  11955. "presaledqty": {
  11956. "description": "已预售量(预售结束时更新)",
  11957. "type": "integer"
  11958. },
  11959. "presalemode": {
  11960. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  11961. "type": "integer"
  11962. },
  11963. "presaleqty": {
  11964. "description": "预售数量",
  11965. "type": "integer"
  11966. },
  11967. "refprice": {
  11968. "description": "参考价格[一口价]",
  11969. "type": "number"
  11970. },
  11971. "relatedgoodsid": {
  11972. "description": "关联交易合约ID",
  11973. "type": "integer"
  11974. },
  11975. "relatedmarketid": {
  11976. "description": "关联交易合约市场ID",
  11977. "type": "integer"
  11978. },
  11979. "sellstatus": {
  11980. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  11981. "type": "integer"
  11982. },
  11983. "startprice": {
  11984. "description": "起拍价[大宗式竞拍]",
  11985. "type": "number"
  11986. },
  11987. "starttime": {
  11988. "description": "预售开始时间",
  11989. "type": "string"
  11990. },
  11991. "tradedate": {
  11992. "description": "交易日(yyyyMMdd)",
  11993. "type": "string"
  11994. },
  11995. "tradeprice": {
  11996. "description": "成交价[大宗]",
  11997. "type": "number"
  11998. }
  11999. }
  12000. },
  12001. "delivery.QueryDeliveryRelationRsp": {
  12002. "type": "object",
  12003. "required": [
  12004. "begindate",
  12005. "enddate",
  12006. "goodsid",
  12007. "mindeliveryqty",
  12008. "xdeliveryratio"
  12009. ],
  12010. "properties": {
  12011. "begindate": {
  12012. "description": "起始日期(yyyyMMdd)",
  12013. "type": "string"
  12014. },
  12015. "buytemplateid": {
  12016. "description": "买履约计划模板ID",
  12017. "type": "integer"
  12018. },
  12019. "deliverygoodscode": {
  12020. "description": "品种代码",
  12021. "type": "string"
  12022. },
  12023. "deliverygoodsid": {
  12024. "description": "交割商品",
  12025. "type": "integer"
  12026. },
  12027. "deliverygoodsname": {
  12028. "description": "品种名称",
  12029. "type": "string"
  12030. },
  12031. "deliverymode": {
  12032. "description": "交割方式 - 1:点选式 2:申报式",
  12033. "type": "integer"
  12034. },
  12035. "deliverypricerule": {
  12036. "description": "交割价规则- 1:行情价 2:建仓价",
  12037. "type": "integer"
  12038. },
  12039. "deliverytype": {
  12040. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12041. "type": "integer"
  12042. },
  12043. "enddate": {
  12044. "description": "结束日期(yyyyMMdd)",
  12045. "type": "string"
  12046. },
  12047. "goodscode": {
  12048. "description": "商品代码",
  12049. "type": "string"
  12050. },
  12051. "goodsid": {
  12052. "description": "交易合约ID",
  12053. "type": "integer"
  12054. },
  12055. "goodsname": {
  12056. "description": "商品名称",
  12057. "type": "string"
  12058. },
  12059. "marketid": {
  12060. "description": "市场ID",
  12061. "type": "integer"
  12062. },
  12063. "mindeliveryqty": {
  12064. "description": "最小交割系数(K)",
  12065. "type": "integer"
  12066. },
  12067. "p2deliveryprice": {
  12068. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12069. "type": "number"
  12070. },
  12071. "p2deliveryratio": {
  12072. "description": "P2合约系数(p)",
  12073. "type": "integer"
  12074. },
  12075. "p2goodsid": {
  12076. "description": "P2合约ID",
  12077. "type": "integer"
  12078. },
  12079. "p2pricemode": {
  12080. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12081. "type": "integer"
  12082. },
  12083. "pdeliveryprice": {
  12084. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12085. "type": "number"
  12086. },
  12087. "pdeliveryratio": {
  12088. "description": "P合约系数(n)",
  12089. "type": "integer"
  12090. },
  12091. "pgoodsid": {
  12092. "description": "P合约ID",
  12093. "type": "integer"
  12094. },
  12095. "ppricemode": {
  12096. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12097. "type": "integer"
  12098. },
  12099. "rratio": {
  12100. "description": "兑换系数(R)",
  12101. "type": "integer"
  12102. },
  12103. "rratio1": {
  12104. "description": "兑换系数(交易合约)(R1)",
  12105. "type": "integer"
  12106. },
  12107. "rratio2": {
  12108. "description": "兑换系数(仓单标准)(R2)",
  12109. "type": "integer"
  12110. },
  12111. "selltemplateid": {
  12112. "description": "卖履约计划模板ID",
  12113. "type": "integer"
  12114. },
  12115. "wrstandardid": {
  12116. "description": "仓单标准ID",
  12117. "type": "integer"
  12118. },
  12119. "xdeliveryratio": {
  12120. "description": "交易合约系数(m)",
  12121. "type": "integer"
  12122. }
  12123. }
  12124. },
  12125. "ermcp.ExposureDetailRsp": {
  12126. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12127. },
  12128. "ermcp.ExposureHedgePosDetailRsp": {
  12129. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12130. },
  12131. "ermcp.ExposureHedgePositionRsp": {
  12132. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12133. },
  12134. "ermcp.ExposureSpotDetailRsp": {
  12135. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12136. },
  12137. "ermcp.ExposureSpotRsp": {
  12138. "$ref": "#/definitions/models.AreaSpotModel"
  12139. },
  12140. "ermcp.HisExposureRsp": {
  12141. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12142. },
  12143. "ermcp.PendingAuditCntRsp": {
  12144. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12145. },
  12146. "ermcp.QryAvalidGPRsp": {
  12147. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12148. },
  12149. "ermcp.QryBusinessDjRsp": {
  12150. "type": "object",
  12151. "properties": {
  12152. "amount": {
  12153. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12154. "type": "number"
  12155. },
  12156. "applyid": {
  12157. "description": "申请人",
  12158. "type": "string"
  12159. },
  12160. "applyname": {
  12161. "description": "申请人名称",
  12162. "type": "string"
  12163. },
  12164. "applystatus": {
  12165. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12166. "type": "integer"
  12167. },
  12168. "applytime": {
  12169. "description": "申请时间",
  12170. "type": "string"
  12171. },
  12172. "attachurl": {
  12173. "description": "附件",
  12174. "type": "string"
  12175. },
  12176. "auditid": {
  12177. "description": "审核人ID",
  12178. "type": "string"
  12179. },
  12180. "auditname": {
  12181. "description": "审核人名称",
  12182. "type": "string"
  12183. },
  12184. "audittime": {
  12185. "description": "审核时间",
  12186. "type": "string"
  12187. },
  12188. "buyusername": {
  12189. "description": "采购方名称",
  12190. "type": "string"
  12191. },
  12192. "contractno": {
  12193. "description": "合同编号",
  12194. "type": "string"
  12195. },
  12196. "contractstatus": {
  12197. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12198. "type": "integer"
  12199. },
  12200. "contracttype": {
  12201. "description": "现货合同类型 - 1:采购 -1:销售",
  12202. "type": "integer"
  12203. },
  12204. "deliverygoodscode": {
  12205. "description": "现货品种代码",
  12206. "type": "string"
  12207. },
  12208. "deliverygoodsid": {
  12209. "description": "现货商品ID",
  12210. "type": "integer"
  12211. },
  12212. "deliverygoodsname": {
  12213. "description": "现货品种名称",
  12214. "type": "string"
  12215. },
  12216. "enumdicname": {
  12217. "description": "单位名称",
  12218. "type": "string"
  12219. },
  12220. "goodscode": {
  12221. "description": "点价合约",
  12222. "type": "string"
  12223. },
  12224. "goodsname": {
  12225. "description": "商品名称",
  12226. "type": "string"
  12227. },
  12228. "operateapplyid": {
  12229. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12230. "type": "string"
  12231. },
  12232. "operateapplytype": {
  12233. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12234. "type": "integer"
  12235. },
  12236. "pricedPrice": {
  12237. "description": "点价价格(非必填)",
  12238. "type": "number"
  12239. },
  12240. "pricedQty": {
  12241. "description": "点价数量(非必填)",
  12242. "type": "number"
  12243. },
  12244. "pricemove": {
  12245. "description": "升贴水",
  12246. "type": "number"
  12247. },
  12248. "pricetype": {
  12249. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12250. "type": "integer"
  12251. },
  12252. "relatedid": {
  12253. "description": "现货合同ID",
  12254. "type": "string"
  12255. },
  12256. "sellusername": {
  12257. "description": "销售方名字",
  12258. "type": "string"
  12259. },
  12260. "userid": {
  12261. "description": "用户ID",
  12262. "type": "integer"
  12263. },
  12264. "wrstandardcode": {
  12265. "description": "品类代码",
  12266. "type": "string"
  12267. },
  12268. "wrstandardid": {
  12269. "description": "品类id",
  12270. "type": "integer"
  12271. },
  12272. "wrstandardname": {
  12273. "description": "品类名称",
  12274. "type": "string"
  12275. }
  12276. }
  12277. },
  12278. "ermcp.QryBussinessFpRsp": {
  12279. "type": "object",
  12280. "properties": {
  12281. "applyid": {
  12282. "description": "申请人",
  12283. "type": "string"
  12284. },
  12285. "applyname": {
  12286. "description": "申请人名称",
  12287. "type": "string"
  12288. },
  12289. "applystatus": {
  12290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12291. "type": "integer"
  12292. },
  12293. "applytime": {
  12294. "description": "申请时间",
  12295. "type": "string"
  12296. },
  12297. "attachurl": {
  12298. "description": "附件",
  12299. "type": "string"
  12300. },
  12301. "auditid": {
  12302. "description": "审核人ID",
  12303. "type": "string"
  12304. },
  12305. "auditname": {
  12306. "description": "审核人名称",
  12307. "type": "string"
  12308. },
  12309. "audittime": {
  12310. "description": "审核时间",
  12311. "type": "string"
  12312. },
  12313. "buyusername": {
  12314. "description": "采购方名称",
  12315. "type": "string"
  12316. },
  12317. "contractno": {
  12318. "description": "合同编号",
  12319. "type": "string"
  12320. },
  12321. "contractstatus": {
  12322. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12323. "type": "integer"
  12324. },
  12325. "contracttype": {
  12326. "description": "现货合同类型 - 1:采购 -1:销售",
  12327. "type": "integer"
  12328. },
  12329. "deliverygoodscode": {
  12330. "description": "现货品种代码",
  12331. "type": "string"
  12332. },
  12333. "deliverygoodsid": {
  12334. "description": "现货商品ID",
  12335. "type": "integer"
  12336. },
  12337. "deliverygoodsname": {
  12338. "description": "现货品种名称",
  12339. "type": "string"
  12340. },
  12341. "enumdicname": {
  12342. "description": "单位名称",
  12343. "type": "string"
  12344. },
  12345. "goodscode": {
  12346. "description": "点价合约",
  12347. "type": "string"
  12348. },
  12349. "goodsname": {
  12350. "description": "商品名称",
  12351. "type": "string"
  12352. },
  12353. "invoiceAmount": {
  12354. "description": "已开收票金额(销售为开票,采购为收票)",
  12355. "type": "number"
  12356. },
  12357. "operateapplyid": {
  12358. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12359. "type": "string"
  12360. },
  12361. "operateapplytype": {
  12362. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12363. "type": "integer"
  12364. },
  12365. "pricemove": {
  12366. "description": "升贴水",
  12367. "type": "number"
  12368. },
  12369. "pricetype": {
  12370. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12371. "type": "integer"
  12372. },
  12373. "relatedid": {
  12374. "description": "现货合同ID",
  12375. "type": "string"
  12376. },
  12377. "sellusername": {
  12378. "description": "销售方名字",
  12379. "type": "string"
  12380. },
  12381. "userid": {
  12382. "description": "用户ID",
  12383. "type": "integer"
  12384. },
  12385. "wrstandardcode": {
  12386. "description": "品类代码",
  12387. "type": "string"
  12388. },
  12389. "wrstandardid": {
  12390. "description": "品类id",
  12391. "type": "integer"
  12392. },
  12393. "wrstandardname": {
  12394. "description": "品类名称",
  12395. "type": "string"
  12396. }
  12397. }
  12398. },
  12399. "ermcp.QryBussinessJsExRsp": {
  12400. "type": "object",
  12401. "properties": {
  12402. "applyid": {
  12403. "description": "申请人",
  12404. "type": "string"
  12405. },
  12406. "applyname": {
  12407. "description": "申请人名称",
  12408. "type": "string"
  12409. },
  12410. "applystatus": {
  12411. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12412. "type": "integer"
  12413. },
  12414. "applytime": {
  12415. "description": "申请时间",
  12416. "type": "string"
  12417. },
  12418. "attachurl": {
  12419. "description": "附件",
  12420. "type": "string"
  12421. },
  12422. "auditid": {
  12423. "description": "审核人ID",
  12424. "type": "string"
  12425. },
  12426. "auditname": {
  12427. "description": "审核人名称",
  12428. "type": "string"
  12429. },
  12430. "audittime": {
  12431. "description": "审核时间",
  12432. "type": "string"
  12433. },
  12434. "buyusername": {
  12435. "description": "采购方名称",
  12436. "type": "string"
  12437. },
  12438. "contractno": {
  12439. "description": "合同编号",
  12440. "type": "string"
  12441. },
  12442. "contractstatus": {
  12443. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12444. "type": "integer"
  12445. },
  12446. "contracttype": {
  12447. "description": "现货合同类型 - 1:采购 -1:销售",
  12448. "type": "integer"
  12449. },
  12450. "deliverygoodscode": {
  12451. "description": "现货品种代码",
  12452. "type": "string"
  12453. },
  12454. "deliverygoodsid": {
  12455. "description": "现货商品ID",
  12456. "type": "integer"
  12457. },
  12458. "deliverygoodsname": {
  12459. "description": "现货品种名称",
  12460. "type": "string"
  12461. },
  12462. "enumdicname": {
  12463. "description": "单位名称",
  12464. "type": "string"
  12465. },
  12466. "goodscode": {
  12467. "description": "点价合约",
  12468. "type": "string"
  12469. },
  12470. "goodsname": {
  12471. "description": "商品名称",
  12472. "type": "string"
  12473. },
  12474. "operateapplyid": {
  12475. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12476. "type": "string"
  12477. },
  12478. "operateapplytype": {
  12479. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12480. "type": "integer"
  12481. },
  12482. "pricemove": {
  12483. "description": "升贴水",
  12484. "type": "number"
  12485. },
  12486. "pricetype": {
  12487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12488. "type": "integer"
  12489. },
  12490. "reckontype": {
  12491. "description": "结算类型",
  12492. "type": "string"
  12493. },
  12494. "reckonvalue": {
  12495. "description": "值",
  12496. "type": "number"
  12497. },
  12498. "relatedid": {
  12499. "description": "现货合同ID",
  12500. "type": "string"
  12501. },
  12502. "sellusername": {
  12503. "description": "销售方名字",
  12504. "type": "string"
  12505. },
  12506. "userid": {
  12507. "description": "用户ID",
  12508. "type": "integer"
  12509. },
  12510. "wrstandardcode": {
  12511. "description": "品类代码",
  12512. "type": "string"
  12513. },
  12514. "wrstandardid": {
  12515. "description": "品类id",
  12516. "type": "integer"
  12517. },
  12518. "wrstandardname": {
  12519. "description": "品类名称",
  12520. "type": "string"
  12521. }
  12522. }
  12523. },
  12524. "ermcp.QryBussinessJsRsp": {
  12525. "type": "object",
  12526. "properties": {
  12527. "addmargin": {
  12528. "description": "追加保证金(非必填)",
  12529. "type": "number"
  12530. },
  12531. "applyid": {
  12532. "description": "申请人",
  12533. "type": "string"
  12534. },
  12535. "applyname": {
  12536. "description": "申请人名称",
  12537. "type": "string"
  12538. },
  12539. "applystatus": {
  12540. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12541. "type": "integer"
  12542. },
  12543. "applytime": {
  12544. "description": "申请时间",
  12545. "type": "string"
  12546. },
  12547. "attachurl": {
  12548. "description": "附件",
  12549. "type": "string"
  12550. },
  12551. "auditid": {
  12552. "description": "审核人ID",
  12553. "type": "string"
  12554. },
  12555. "auditname": {
  12556. "description": "审核人名称",
  12557. "type": "string"
  12558. },
  12559. "audittime": {
  12560. "description": "审核时间",
  12561. "type": "string"
  12562. },
  12563. "buyusername": {
  12564. "description": "采购方名称",
  12565. "type": "string"
  12566. },
  12567. "contractno": {
  12568. "description": "合同编号",
  12569. "type": "string"
  12570. },
  12571. "contractstatus": {
  12572. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12573. "type": "integer"
  12574. },
  12575. "contracttype": {
  12576. "description": "现货合同类型 - 1:采购 -1:销售",
  12577. "type": "integer"
  12578. },
  12579. "decmargin": {
  12580. "description": "减少保证金(非必填)",
  12581. "type": "number"
  12582. },
  12583. "deliverygoodscode": {
  12584. "description": "现货品种代码",
  12585. "type": "string"
  12586. },
  12587. "deliverygoodsid": {
  12588. "description": "现货商品ID",
  12589. "type": "integer"
  12590. },
  12591. "deliverygoodsname": {
  12592. "description": "现货品种名称",
  12593. "type": "string"
  12594. },
  12595. "enumdicname": {
  12596. "description": "单位名称",
  12597. "type": "string"
  12598. },
  12599. "goodscode": {
  12600. "description": "点价合约",
  12601. "type": "string"
  12602. },
  12603. "goodsname": {
  12604. "description": "商品名称",
  12605. "type": "string"
  12606. },
  12607. "operateapplyid": {
  12608. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12609. "type": "string"
  12610. },
  12611. "operateapplytype": {
  12612. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12613. "type": "integer"
  12614. },
  12615. "pricemove": {
  12616. "description": "升贴水",
  12617. "type": "number"
  12618. },
  12619. "pricetype": {
  12620. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12621. "type": "integer"
  12622. },
  12623. "reckonadjustamount": {
  12624. "description": "结算调整金额(非必填)",
  12625. "type": "number"
  12626. },
  12627. "reckonosamount": {
  12628. "description": "结算溢短金额(非必填)",
  12629. "type": "number"
  12630. },
  12631. "reckonotheramount": {
  12632. "description": "结算其他费用(非必填)",
  12633. "type": "number"
  12634. },
  12635. "reckonrealqty": {
  12636. "description": "结算实际数量(非必填)",
  12637. "type": "number"
  12638. },
  12639. "relatedid": {
  12640. "description": "现货合同ID",
  12641. "type": "string"
  12642. },
  12643. "sellusername": {
  12644. "description": "销售方名字",
  12645. "type": "string"
  12646. },
  12647. "userid": {
  12648. "description": "用户ID",
  12649. "type": "integer"
  12650. },
  12651. "wrstandardcode": {
  12652. "description": "品类代码",
  12653. "type": "string"
  12654. },
  12655. "wrstandardid": {
  12656. "description": "品类id",
  12657. "type": "integer"
  12658. },
  12659. "wrstandardname": {
  12660. "description": "品类名称",
  12661. "type": "string"
  12662. }
  12663. }
  12664. },
  12665. "ermcp.QryBussinessKxRsp": {
  12666. "type": "object",
  12667. "properties": {
  12668. "applyid": {
  12669. "description": "申请人",
  12670. "type": "string"
  12671. },
  12672. "applyname": {
  12673. "description": "申请人名称",
  12674. "type": "string"
  12675. },
  12676. "applystatus": {
  12677. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12678. "type": "integer"
  12679. },
  12680. "applytime": {
  12681. "description": "申请时间",
  12682. "type": "string"
  12683. },
  12684. "attachurl": {
  12685. "description": "附件",
  12686. "type": "string"
  12687. },
  12688. "auditid": {
  12689. "description": "审核人ID",
  12690. "type": "string"
  12691. },
  12692. "auditname": {
  12693. "description": "审核人名称",
  12694. "type": "string"
  12695. },
  12696. "audittime": {
  12697. "description": "审核时间",
  12698. "type": "string"
  12699. },
  12700. "buyusername": {
  12701. "description": "采购方名称",
  12702. "type": "string"
  12703. },
  12704. "contractno": {
  12705. "description": "合同编号",
  12706. "type": "string"
  12707. },
  12708. "contractstatus": {
  12709. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12710. "type": "integer"
  12711. },
  12712. "contracttype": {
  12713. "description": "现货合同类型 - 1:采购 -1:销售",
  12714. "type": "integer"
  12715. },
  12716. "deductamount": {
  12717. "description": "退款(非必填)",
  12718. "type": "number"
  12719. },
  12720. "deliverygoodscode": {
  12721. "description": "现货品种代码",
  12722. "type": "string"
  12723. },
  12724. "deliverygoodsid": {
  12725. "description": "现货商品ID",
  12726. "type": "integer"
  12727. },
  12728. "deliverygoodsname": {
  12729. "description": "现货品种名称",
  12730. "type": "string"
  12731. },
  12732. "enumdicname": {
  12733. "description": "单位名称",
  12734. "type": "string"
  12735. },
  12736. "goodscode": {
  12737. "description": "点价合约",
  12738. "type": "string"
  12739. },
  12740. "goodsname": {
  12741. "description": "商品名称",
  12742. "type": "string"
  12743. },
  12744. "kxtype": {
  12745. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  12746. "type": "integer"
  12747. },
  12748. "operateapplyid": {
  12749. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12750. "type": "string"
  12751. },
  12752. "operateapplytype": {
  12753. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12754. "type": "integer"
  12755. },
  12756. "payamount": {
  12757. "description": "收付款(非必填)",
  12758. "type": "number"
  12759. },
  12760. "pricemove": {
  12761. "description": "升贴水",
  12762. "type": "number"
  12763. },
  12764. "pricetype": {
  12765. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12766. "type": "integer"
  12767. },
  12768. "relatedid": {
  12769. "description": "现货合同ID",
  12770. "type": "string"
  12771. },
  12772. "sellusername": {
  12773. "description": "销售方名字",
  12774. "type": "string"
  12775. },
  12776. "userid": {
  12777. "description": "用户ID",
  12778. "type": "integer"
  12779. },
  12780. "wrstandardcode": {
  12781. "description": "品类代码",
  12782. "type": "string"
  12783. },
  12784. "wrstandardid": {
  12785. "description": "品类id",
  12786. "type": "integer"
  12787. },
  12788. "wrstandardname": {
  12789. "description": "品类名称",
  12790. "type": "string"
  12791. }
  12792. }
  12793. },
  12794. "ermcp.QryGGCovertCfgRsp": {
  12795. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12796. },
  12797. "ermcp.QryMGChangeLogRsp": {
  12798. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  12799. },
  12800. "ermcp.QryMiddleGoodsDetailRsp": {
  12801. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  12802. },
  12803. "ermcp.QryMiddleGoodsRsp": {
  12804. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12805. },
  12806. "ermcp.QryOPLogRsp": {
  12807. "$ref": "#/definitions/models.ErmcpOPLogModel"
  12808. },
  12809. "ermcp.QryUserInfoRsp": {
  12810. "$ref": "#/definitions/models.ErmcpUserModel"
  12811. },
  12812. "ermcp.QryWarehouseRsp": {
  12813. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  12814. },
  12815. "ermcp.QueryErmcpTradePositionRsp": {
  12816. "type": "object",
  12817. "properties": {
  12818. "agreeunit": {
  12819. "description": "合约单位",
  12820. "type": "number"
  12821. },
  12822. "buyorsell": {
  12823. "description": "方向 - 0:买 1:卖",
  12824. "type": "integer"
  12825. },
  12826. "curpositionqty": {
  12827. "description": "持仓(总仓数量, 期末头寸)",
  12828. "type": "integer"
  12829. },
  12830. "curtdposition": {
  12831. "description": "今仓数量(期末今日头寸)",
  12832. "type": "integer"
  12833. },
  12834. "curtdpositionenabled": {
  12835. "description": "今仓可用",
  12836. "type": "integer"
  12837. },
  12838. "decimalplace": {
  12839. "description": "报价小数位",
  12840. "type": "integer"
  12841. },
  12842. "enableqty": {
  12843. "description": "可用(总仓可用)",
  12844. "type": "integer"
  12845. },
  12846. "exexchangename": {
  12847. "description": "外部交易所名称",
  12848. "type": "string"
  12849. },
  12850. "goodscode": {
  12851. "description": "商品代码(内部)",
  12852. "type": "string"
  12853. },
  12854. "goodsid": {
  12855. "description": "商品ID(自增ID SEQ_GOODS)",
  12856. "type": "integer"
  12857. },
  12858. "goodsname": {
  12859. "description": "商品名称",
  12860. "type": "string"
  12861. },
  12862. "last": {
  12863. "description": "现价",
  12864. "type": "number"
  12865. },
  12866. "marketid": {
  12867. "description": "所属市场ID",
  12868. "type": "integer"
  12869. },
  12870. "openaverageprice": {
  12871. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  12872. "type": "number"
  12873. },
  12874. "opencost": {
  12875. "description": "开仓成本",
  12876. "type": "number"
  12877. },
  12878. "openpl": {
  12879. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12880. "type": "number"
  12881. },
  12882. "outgoodscode": {
  12883. "description": "商品代码(外部)",
  12884. "type": "string"
  12885. },
  12886. "positionaverageprice": {
  12887. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  12888. "type": "number"
  12889. },
  12890. "positioncost": {
  12891. "description": "持仓成本",
  12892. "type": "number"
  12893. },
  12894. "positionpl": {
  12895. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  12896. "type": "number"
  12897. },
  12898. "positionplrate": {
  12899. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  12900. "type": "number"
  12901. },
  12902. "usedmargin": {
  12903. "description": "占用保证金",
  12904. "type": "number"
  12905. }
  12906. }
  12907. },
  12908. "ermcp.RealtimeExposurePositionRsp": {
  12909. "$ref": "#/definitions/models.ErmcpExposurePostion"
  12910. },
  12911. "ermcp.RealtimeExposureRsp": {
  12912. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  12913. },
  12914. "erms2.QueryArbitrageStrategyRsp": {
  12915. "type": "object",
  12916. "required": [
  12917. "asapplyid"
  12918. ],
  12919. "properties": {
  12920. "applybasis": {
  12921. "description": "申请基差",
  12922. "type": "number"
  12923. },
  12924. "asapplyid": {
  12925. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  12926. "type": "string"
  12927. },
  12928. "asname": {
  12929. "description": "策略名称",
  12930. "type": "string"
  12931. },
  12932. "asno": {
  12933. "description": "策略编号",
  12934. "type": "string"
  12935. },
  12936. "basischangepl": {
  12937. "description": "基差变动损益[结算更新]",
  12938. "type": "number"
  12939. },
  12940. "biztype": {
  12941. "description": "业务类型 - 1:正向套利 -1:反向套利",
  12942. "type": "integer"
  12943. },
  12944. "closetradedate": {
  12945. "description": "完结交易日(yyyyMMdd)",
  12946. "type": "string"
  12947. },
  12948. "curbasis": {
  12949. "description": "当前基差[结算更新]",
  12950. "type": "number"
  12951. },
  12952. "deliverygoodsid": {
  12953. "description": "现货品种ID",
  12954. "type": "integer"
  12955. },
  12956. "futureavgprice": {
  12957. "description": "期货建仓均价",
  12958. "type": "number"
  12959. },
  12960. "futurecloseamount": {
  12961. "description": "期货平仓金额",
  12962. "type": "number"
  12963. },
  12964. "futurecloseqty": {
  12965. "description": "期货平仓数量",
  12966. "type": "number"
  12967. },
  12968. "futureopenamount": {
  12969. "description": "期货开仓金额",
  12970. "type": "number"
  12971. },
  12972. "futureopenqty": {
  12973. "description": "期货开仓数量",
  12974. "type": "number"
  12975. },
  12976. "futurepl": {
  12977. "description": "期货总盈亏[结算更新]",
  12978. "type": "number"
  12979. },
  12980. "futureqty": {
  12981. "description": "期货持仓数量",
  12982. "type": "number"
  12983. },
  12984. "futurequote": {
  12985. "description": "期货额度",
  12986. "type": "number"
  12987. },
  12988. "goodsgroupid": {
  12989. "description": "期货品种ID",
  12990. "type": "integer"
  12991. },
  12992. "marketid": {
  12993. "description": "市场ID",
  12994. "type": "integer"
  12995. },
  12996. "netexposure": {
  12997. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  12998. "type": "number"
  12999. },
  13000. "netexposurepl": {
  13001. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13002. "type": "number"
  13003. },
  13004. "netexposurerate": {
  13005. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13006. "type": "number"
  13007. },
  13008. "openbasis": {
  13009. "description": "建仓基差",
  13010. "type": "number"
  13011. },
  13012. "pricedspotqty": {
  13013. "description": "已定价现货数量",
  13014. "type": "number"
  13015. },
  13016. "pricedspotqtynotax": {
  13017. "description": "已定价现货不含税数量",
  13018. "type": "number"
  13019. },
  13020. "remark": {
  13021. "description": "备注",
  13022. "type": "string"
  13023. },
  13024. "spotavgprice": {
  13025. "description": "现货均价",
  13026. "type": "number"
  13027. },
  13028. "spotbuyamount": {
  13029. "description": "现货采购金额",
  13030. "type": "number"
  13031. },
  13032. "spotbuyqty": {
  13033. "description": "现货采购数量",
  13034. "type": "number"
  13035. },
  13036. "spotpl": {
  13037. "description": "现货总盈亏[结算更新]",
  13038. "type": "number"
  13039. },
  13040. "spotquota": {
  13041. "description": "现货额度",
  13042. "type": "number"
  13043. },
  13044. "spotsellamount": {
  13045. "description": "现货销售金额",
  13046. "type": "number"
  13047. },
  13048. "spotsellqty": {
  13049. "description": "现货销售数量",
  13050. "type": "number"
  13051. },
  13052. "spotusedquota": {
  13053. "description": "现货占用资金",
  13054. "type": "number"
  13055. },
  13056. "strategystatus": {
  13057. "description": "策略状态 - 0:未结束 1:已结束",
  13058. "type": "integer"
  13059. },
  13060. "totalpl": {
  13061. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13062. "type": "number"
  13063. },
  13064. "tradedate": {
  13065. "description": "交易日(yyyyMMdd)",
  13066. "type": "string"
  13067. },
  13068. "updatetime": {
  13069. "description": "更新时间",
  13070. "type": "string"
  13071. },
  13072. "usedquota": {
  13073. "description": "已占用资金",
  13074. "type": "number"
  13075. },
  13076. "userid": {
  13077. "description": "所属机构",
  13078. "type": "integer"
  13079. }
  13080. }
  13081. },
  13082. "erms2.QueryInnerTradeDetailRsp": {
  13083. "type": "object",
  13084. "required": [
  13085. "asapplyid",
  13086. "buyorsell",
  13087. "goodscode",
  13088. "goodsgroupid",
  13089. "goodsgroupname",
  13090. "goodsname",
  13091. "tradeid"
  13092. ],
  13093. "properties": {
  13094. "accountid": {
  13095. "description": "账号ID",
  13096. "type": "integer"
  13097. },
  13098. "agreeunit": {
  13099. "description": "合约单位",
  13100. "type": "number"
  13101. },
  13102. "asapplyid": {
  13103. "description": "策略申请ID",
  13104. "type": "integer"
  13105. },
  13106. "asname": {
  13107. "description": "策略名称",
  13108. "type": "string"
  13109. },
  13110. "asno": {
  13111. "description": "策略编号",
  13112. "type": "string"
  13113. },
  13114. "buyorsell": {
  13115. "description": "方向 - 0:买 1:卖",
  13116. "type": "integer"
  13117. },
  13118. "channelbuildtype": {
  13119. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13120. "type": "integer"
  13121. },
  13122. "closetype": {
  13123. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13124. "type": "integer"
  13125. },
  13126. "decimalplace": {
  13127. "description": "报价小数位",
  13128. "type": "integer"
  13129. },
  13130. "detailtype": {
  13131. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13132. "type": "integer"
  13133. },
  13134. "exexchangecode": {
  13135. "description": "外部交易所代码",
  13136. "type": "string"
  13137. },
  13138. "exexchangename": {
  13139. "description": "外部交易所名称",
  13140. "type": "string"
  13141. },
  13142. "goodscode": {
  13143. "description": "商品代码(合约)",
  13144. "type": "string"
  13145. },
  13146. "goodsgroupid": {
  13147. "description": "商品组ID(品种ID)",
  13148. "type": "integer"
  13149. },
  13150. "goodsgroupname": {
  13151. "description": "商品组名称(品种)",
  13152. "type": "string"
  13153. },
  13154. "goodsid": {
  13155. "description": "商品ID",
  13156. "type": "integer"
  13157. },
  13158. "goodsname": {
  13159. "description": "商品名称(合约)",
  13160. "type": "string"
  13161. },
  13162. "goodunit": {
  13163. "description": "报价单位",
  13164. "type": "string"
  13165. },
  13166. "marketid": {
  13167. "description": "市场ID",
  13168. "type": "integer"
  13169. },
  13170. "orderid": {
  13171. "description": "委托单号",
  13172. "type": "string"
  13173. },
  13174. "outgoodscode": {
  13175. "description": "商品代码(外部)",
  13176. "type": "string"
  13177. },
  13178. "relatedouttradeid": {
  13179. "description": "关联外部成交单ID",
  13180. "type": "string"
  13181. },
  13182. "remark": {
  13183. "description": "备注",
  13184. "type": "string"
  13185. },
  13186. "spotcontractid": {
  13187. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13188. "type": "integer"
  13189. },
  13190. "spotcontractno": {
  13191. "description": "现货合同编号",
  13192. "type": "string"
  13193. },
  13194. "tradeid": {
  13195. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13196. "type": "string"
  13197. },
  13198. "tradeprice": {
  13199. "description": "成交价格",
  13200. "type": "number"
  13201. },
  13202. "tradeqty": {
  13203. "description": "成交数量",
  13204. "type": "integer"
  13205. },
  13206. "tradetime": {
  13207. "description": "成交时间",
  13208. "type": "string"
  13209. },
  13210. "updatetime": {
  13211. "description": "更新时间",
  13212. "type": "string"
  13213. }
  13214. }
  13215. },
  13216. "erms2.QuerySpotContractRsp": {
  13217. "type": "object",
  13218. "required": [
  13219. "spotcontractid"
  13220. ],
  13221. "properties": {
  13222. "accountid": {
  13223. "description": "资金账户ID",
  13224. "type": "integer"
  13225. },
  13226. "areauserid": {
  13227. "description": "所属机构",
  13228. "type": "integer"
  13229. },
  13230. "closedate": {
  13231. "description": "终止日期",
  13232. "type": "string"
  13233. },
  13234. "closeremark": {
  13235. "description": "结束备注",
  13236. "type": "string"
  13237. },
  13238. "closetradedate": {
  13239. "description": "完结交易日(yyyyMMdd)",
  13240. "type": "string"
  13241. },
  13242. "closetype": {
  13243. "description": "终止类型 - 1:违约 2:提前终止",
  13244. "type": "integer"
  13245. },
  13246. "contractamount": {
  13247. "description": "合同金额",
  13248. "type": "number"
  13249. },
  13250. "contractattachment": {
  13251. "description": "合同附件",
  13252. "type": "string"
  13253. },
  13254. "contractno": {
  13255. "description": "现货合同编号",
  13256. "type": "string"
  13257. },
  13258. "contractqty": {
  13259. "description": "合同数量(数值) (用于计算)",
  13260. "type": "number"
  13261. },
  13262. "contractqtychar": {
  13263. "description": "合同数量\\已订价数量 (用于显示)",
  13264. "type": "string"
  13265. },
  13266. "contractstatus": {
  13267. "description": "合同状态 - 0:未结束 1:已结束",
  13268. "type": "integer"
  13269. },
  13270. "contracttype": {
  13271. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13272. "type": "integer"
  13273. },
  13274. "customeraccountid": {
  13275. "description": "客户资金账户ID",
  13276. "type": "integer"
  13277. },
  13278. "customeruserid": {
  13279. "description": "客户ID",
  13280. "type": "integer"
  13281. },
  13282. "deliverygoodsdesc": {
  13283. "description": "品种说明",
  13284. "type": "string"
  13285. },
  13286. "deliverygoodsid": {
  13287. "description": "现货品种ID",
  13288. "type": "integer"
  13289. },
  13290. "handlestatus": {
  13291. "description": "处理状态",
  13292. "type": "integer"
  13293. },
  13294. "invoiceatt": {
  13295. "description": "发票附件",
  13296. "type": "string"
  13297. },
  13298. "invoicedatetime": {
  13299. "description": "开收票更新时间",
  13300. "type": "string"
  13301. },
  13302. "invoiceopentime": {
  13303. "description": "开票时间",
  13304. "type": "string"
  13305. },
  13306. "invoiceremark": {
  13307. "description": "发票备注",
  13308. "type": "string"
  13309. },
  13310. "invoicestatus": {
  13311. "description": "开收票状态 - 0:未开票 1:已开票",
  13312. "type": "integer"
  13313. },
  13314. "lastdate": {
  13315. "description": "交货时间",
  13316. "type": "string"
  13317. },
  13318. "marketid": {
  13319. "description": "市场ID",
  13320. "type": "integer"
  13321. },
  13322. "paydatetime": {
  13323. "description": "收付款更新时间",
  13324. "type": "string"
  13325. },
  13326. "payremark": {
  13327. "description": "收付款备注",
  13328. "type": "string"
  13329. },
  13330. "paystatus": {
  13331. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13332. "type": "integer"
  13333. },
  13334. "positionqty": {
  13335. "description": "头寸数量 - 合同数量去小数部分",
  13336. "type": "integer"
  13337. },
  13338. "producttype": {
  13339. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13340. "type": "integer"
  13341. },
  13342. "relatedqty": {
  13343. "description": "已关联数量",
  13344. "type": "number"
  13345. },
  13346. "relatedstatus": {
  13347. "description": "关联完结状态 - 0:未结束 1:已结束",
  13348. "type": "integer"
  13349. },
  13350. "remark": {
  13351. "description": "备注",
  13352. "type": "string"
  13353. },
  13354. "signdate": {
  13355. "description": "签订日期",
  13356. "type": "string"
  13357. },
  13358. "spotcontractid": {
  13359. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13360. "type": "string"
  13361. },
  13362. "spotdatetime": {
  13363. "description": "收发货更新时间",
  13364. "type": "string"
  13365. },
  13366. "spotprice": {
  13367. "description": "价格",
  13368. "type": "number"
  13369. },
  13370. "spotremark": {
  13371. "description": "收发货备注",
  13372. "type": "string"
  13373. },
  13374. "spotstatus": {
  13375. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13376. "type": "integer"
  13377. },
  13378. "tradedate": {
  13379. "description": "交易日(yyyyMMdd)",
  13380. "type": "string"
  13381. },
  13382. "userid": {
  13383. "description": "业务员用户ID",
  13384. "type": "integer"
  13385. },
  13386. "warehouseid": {
  13387. "description": "仓库ID",
  13388. "type": "integer"
  13389. },
  13390. "wrfactortypeid": {
  13391. "description": "仓单要素类型ID",
  13392. "type": "integer"
  13393. },
  13394. "wrstandardid": {
  13395. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13396. "type": "integer"
  13397. }
  13398. }
  13399. },
  13400. "erms3.AddErms2ASApplyReq": {
  13401. "type": "object",
  13402. "required": [
  13403. "asapplyid"
  13404. ],
  13405. "properties": {
  13406. "applybasis": {
  13407. "description": "申请基差",
  13408. "type": "number"
  13409. },
  13410. "applystatus": {
  13411. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13412. "type": "integer"
  13413. },
  13414. "asapplyid": {
  13415. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13416. "type": "integer"
  13417. },
  13418. "asname": {
  13419. "description": "策略名称",
  13420. "type": "string"
  13421. },
  13422. "asno": {
  13423. "description": "策略编号",
  13424. "type": "string"
  13425. },
  13426. "auditid": {
  13427. "description": "审核人",
  13428. "type": "integer"
  13429. },
  13430. "auditremark": {
  13431. "description": "审核备注",
  13432. "type": "string"
  13433. },
  13434. "audittime": {
  13435. "description": "审核时间",
  13436. "type": "string"
  13437. },
  13438. "biztype": {
  13439. "description": "业务类型 - 1:正向套利 2:反向套利",
  13440. "type": "integer"
  13441. },
  13442. "createtime": {
  13443. "description": "创建时间",
  13444. "type": "string"
  13445. },
  13446. "creatorid": {
  13447. "description": "创建人",
  13448. "type": "integer"
  13449. },
  13450. "deliverygoodsid": {
  13451. "description": "现货品种ID",
  13452. "type": "integer"
  13453. },
  13454. "futurequote": {
  13455. "description": "期货额度",
  13456. "type": "number"
  13457. },
  13458. "goodsgroupid": {
  13459. "description": "期货品种ID",
  13460. "type": "integer"
  13461. },
  13462. "marketid": {
  13463. "description": "市场ID",
  13464. "type": "integer"
  13465. },
  13466. "remark": {
  13467. "description": "备注",
  13468. "type": "string"
  13469. },
  13470. "spotquota": {
  13471. "description": "现货额度",
  13472. "type": "number"
  13473. },
  13474. "tradedate": {
  13475. "description": "交易日(yyyyMMdd)",
  13476. "type": "string"
  13477. },
  13478. "userid": {
  13479. "description": "所属机构",
  13480. "type": "integer"
  13481. }
  13482. }
  13483. },
  13484. "erms3.AddErms2SpotTradeApplyReq": {
  13485. "type": "object",
  13486. "required": [
  13487. "spottradeid"
  13488. ],
  13489. "properties": {
  13490. "applyjsondetail": {
  13491. "description": "申请明细(JSON)",
  13492. "type": "string"
  13493. },
  13494. "applystatus": {
  13495. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13496. "type": "integer"
  13497. },
  13498. "areauserid": {
  13499. "description": "所属机构",
  13500. "type": "integer"
  13501. },
  13502. "auditid": {
  13503. "description": "审核人",
  13504. "type": "integer"
  13505. },
  13506. "auditremark": {
  13507. "description": "审核备注",
  13508. "type": "string"
  13509. },
  13510. "audittime": {
  13511. "description": "审核时间",
  13512. "type": "string"
  13513. },
  13514. "createtime": {
  13515. "description": "创建时间",
  13516. "type": "string"
  13517. },
  13518. "creatorid": {
  13519. "description": "创建人",
  13520. "type": "integer"
  13521. },
  13522. "deliverygoodsid": {
  13523. "description": "现货品种ID",
  13524. "type": "integer"
  13525. },
  13526. "futureaccountid": {
  13527. "description": "期货资金账户",
  13528. "type": "integer"
  13529. },
  13530. "goodsgroupid": {
  13531. "description": "期货品种",
  13532. "type": "integer"
  13533. },
  13534. "marketid": {
  13535. "description": "市场ID",
  13536. "type": "integer"
  13537. },
  13538. "remark": {
  13539. "description": "备注",
  13540. "type": "string"
  13541. },
  13542. "spotaccountid": {
  13543. "description": "现货资金账户",
  13544. "type": "integer"
  13545. },
  13546. "spottradeid": {
  13547. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  13548. "type": "integer"
  13549. },
  13550. "spottradename": {
  13551. "description": "业务名称",
  13552. "type": "string"
  13553. },
  13554. "spottradeno": {
  13555. "description": "业务编号",
  13556. "type": "string"
  13557. },
  13558. "tradedate": {
  13559. "description": "交易日(yyyyMMdd)",
  13560. "type": "string"
  13561. },
  13562. "wrstandardid": {
  13563. "description": "仓单标准ID",
  13564. "type": "integer"
  13565. }
  13566. }
  13567. },
  13568. "erms3.AddSpotContractApplyReq": {
  13569. "type": "object",
  13570. "required": [
  13571. "accountid",
  13572. "areauserid",
  13573. "contractno",
  13574. "contracttype",
  13575. "customeraccountid",
  13576. "customeruserid",
  13577. "details",
  13578. "orimargin",
  13579. "signdate"
  13580. ],
  13581. "properties": {
  13582. "accountid": {
  13583. "description": "资金账户ID",
  13584. "type": "integer"
  13585. },
  13586. "areauserid": {
  13587. "description": "所属机构",
  13588. "type": "integer"
  13589. },
  13590. "contractattachment": {
  13591. "description": "合同附件",
  13592. "type": "string"
  13593. },
  13594. "contractno": {
  13595. "description": "现货合同编号",
  13596. "type": "string"
  13597. },
  13598. "contracttype": {
  13599. "description": "现货合同类型 - 1:采购 -1:销售",
  13600. "type": "integer"
  13601. },
  13602. "creatorid": {
  13603. "description": "申请人",
  13604. "type": "integer"
  13605. },
  13606. "customeraccountid": {
  13607. "description": "客户资金账户ID",
  13608. "type": "integer"
  13609. },
  13610. "customeruserid": {
  13611. "description": "客户ID",
  13612. "type": "integer"
  13613. },
  13614. "details": {
  13615. "description": "明细",
  13616. "type": "array",
  13617. "items": {
  13618. "$ref": "#/definitions/erms3.SoptContractDetail"
  13619. }
  13620. },
  13621. "orimargin": {
  13622. "description": "初始保证金",
  13623. "type": "number"
  13624. },
  13625. "remark": {
  13626. "description": "备注",
  13627. "type": "string"
  13628. },
  13629. "signdate": {
  13630. "description": "签订日期",
  13631. "type": "string"
  13632. }
  13633. }
  13634. },
  13635. "erms3.AddSpotContractApplyRsp": {
  13636. "type": "object",
  13637. "required": [
  13638. "contractno"
  13639. ],
  13640. "properties": {
  13641. "contractno": {
  13642. "description": "现货合同编号",
  13643. "type": "string"
  13644. },
  13645. "spotcontractid": {
  13646. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  13647. "type": "integer"
  13648. }
  13649. }
  13650. },
  13651. "erms3.AddUserInfoApplyReq": {
  13652. "type": "object",
  13653. "required": [
  13654. "userid"
  13655. ],
  13656. "properties": {
  13657. "accountid": {
  13658. "description": "交易系统帐号Id (加密存储)",
  13659. "type": "integer"
  13660. },
  13661. "areacode": {
  13662. "description": "机构代码",
  13663. "type": "string"
  13664. },
  13665. "areaid": {
  13666. "description": "机构Id",
  13667. "type": "integer"
  13668. },
  13669. "attachment1": {
  13670. "description": "附件1",
  13671. "type": "string"
  13672. },
  13673. "attachment2": {
  13674. "description": "附件2",
  13675. "type": "string"
  13676. },
  13677. "attachment3": {
  13678. "description": "附件3",
  13679. "type": "string"
  13680. },
  13681. "attachment4": {
  13682. "description": "附件4",
  13683. "type": "string"
  13684. },
  13685. "attachment5": {
  13686. "description": "附件5",
  13687. "type": "string"
  13688. },
  13689. "auditedby": {
  13690. "description": "审核人",
  13691. "type": "string"
  13692. },
  13693. "auditime": {
  13694. "description": "审核时间",
  13695. "type": "string"
  13696. },
  13697. "auditsrc": {
  13698. "description": "审核来源 - 1:管理端 2:终端",
  13699. "type": "integer"
  13700. },
  13701. "bankaccount": {
  13702. "description": "银行帐号 (加密存储)",
  13703. "type": "string"
  13704. },
  13705. "bankaccountname": {
  13706. "description": "收款人名称",
  13707. "type": "string"
  13708. },
  13709. "bankcardbackphotourl": {
  13710. "description": "银行卡背面照地址",
  13711. "type": "string"
  13712. },
  13713. "bankcardfrontphotourl": {
  13714. "description": "银行卡正面照地址",
  13715. "type": "string"
  13716. },
  13717. "bankid": {
  13718. "description": "银行编码",
  13719. "type": "string"
  13720. },
  13721. "bankname": {
  13722. "description": "银行名称",
  13723. "type": "string"
  13724. },
  13725. "bankpictureurl": {
  13726. "description": "银行卡正面地址",
  13727. "type": "string"
  13728. },
  13729. "biznature": {
  13730. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13731. "type": "integer"
  13732. },
  13733. "bizscope": {
  13734. "description": "企业经营范围(企业)",
  13735. "type": "string"
  13736. },
  13737. "biztype": {
  13738. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  13739. "type": "integer"
  13740. },
  13741. "brokerid": {
  13742. "description": "经纪人ID(加密存储)",
  13743. "type": "string"
  13744. },
  13745. "cardaddress": {
  13746. "description": "证件地址 (加密存储)",
  13747. "type": "string"
  13748. },
  13749. "cardbackphotourl": {
  13750. "description": "背面证件照地址",
  13751. "type": "string"
  13752. },
  13753. "cardfrontphotourl": {
  13754. "description": "正面证件照地址",
  13755. "type": "string"
  13756. },
  13757. "cardnum": {
  13758. "description": "证件号码 (加密存储)",
  13759. "type": "string"
  13760. },
  13761. "cardtype": {
  13762. "description": "证件类型",
  13763. "type": "integer"
  13764. },
  13765. "cityid": {
  13766. "description": "市",
  13767. "type": "integer"
  13768. },
  13769. "company": {
  13770. "description": "公司(个人)",
  13771. "type": "string"
  13772. },
  13773. "contactcardbackphotourl": {
  13774. "description": "联系人证件背面图片地址",
  13775. "type": "string"
  13776. },
  13777. "contactcardfrontphotourl": {
  13778. "description": "联系人证件正面图片地址",
  13779. "type": "string"
  13780. },
  13781. "contactname": {
  13782. "description": "联系人",
  13783. "type": "string"
  13784. },
  13785. "countryid": {
  13786. "description": "国家",
  13787. "type": "integer"
  13788. },
  13789. "createtime": {
  13790. "description": "开户申请时间",
  13791. "type": "string"
  13792. },
  13793. "cusbankid": {
  13794. "description": "签约类型",
  13795. "type": "string"
  13796. },
  13797. "cusbankname": {
  13798. "description": "签约类型名称",
  13799. "type": "string"
  13800. },
  13801. "customername": {
  13802. "description": "客户名称(企业名称)",
  13803. "type": "string"
  13804. },
  13805. "districtid": {
  13806. "description": "地区",
  13807. "type": "integer"
  13808. },
  13809. "email": {
  13810. "description": "Email地址(加密存储)",
  13811. "type": "string"
  13812. },
  13813. "halfbodyphotourl": {
  13814. "description": "半身照地址",
  13815. "type": "string"
  13816. },
  13817. "headurl": {
  13818. "description": "头像地址",
  13819. "type": "string"
  13820. },
  13821. "ipaddress": {
  13822. "description": "IP地址",
  13823. "type": "string"
  13824. },
  13825. "isvalidate": {
  13826. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  13827. "type": "string"
  13828. },
  13829. "legalcardbackphotourl": {
  13830. "description": "法人身份证背面照地址",
  13831. "type": "string"
  13832. },
  13833. "legalcardfrontphotourl": {
  13834. "description": "法人身份证正面照地址",
  13835. "type": "string"
  13836. },
  13837. "legalpersonname": {
  13838. "description": "法人姓名(企业)",
  13839. "type": "string"
  13840. },
  13841. "logincode": {
  13842. "description": "登录帐号 (加密存储)",
  13843. "type": "string"
  13844. },
  13845. "memberareaid": {
  13846. "description": "所属会员ID",
  13847. "type": "integer"
  13848. },
  13849. "mobile2": {
  13850. "description": "手机号码[明文-尚志]",
  13851. "type": "string"
  13852. },
  13853. "mobilephone": {
  13854. "description": "手机号码 (加密存储)",
  13855. "type": "string"
  13856. },
  13857. "modifiedby": {
  13858. "description": "修改人帐号",
  13859. "type": "integer"
  13860. },
  13861. "modifiedtime": {
  13862. "description": "修改时间",
  13863. "type": "string"
  13864. },
  13865. "nickname": {
  13866. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  13867. "type": "string"
  13868. },
  13869. "openmode": {
  13870. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  13871. "type": "integer"
  13872. },
  13873. "otherurl": {
  13874. "description": "其它图片地址[使用分号分隔]",
  13875. "type": "string"
  13876. },
  13877. "postalcode": {
  13878. "description": "邮政编码",
  13879. "type": "string"
  13880. },
  13881. "provinceid": {
  13882. "description": "省",
  13883. "type": "integer"
  13884. },
  13885. "proxystatementurl": {
  13886. "description": "授权委托书",
  13887. "type": "string"
  13888. },
  13889. "qq": {
  13890. "description": "QQ(加密存储",
  13891. "type": "string"
  13892. },
  13893. "referral": {
  13894. "description": "推荐人编码",
  13895. "type": "string"
  13896. },
  13897. "remark": {
  13898. "description": "备注",
  13899. "type": "string"
  13900. },
  13901. "removebeforestatus": {
  13902. "description": "REMOVEBEFORESTATUS",
  13903. "type": "integer"
  13904. },
  13905. "sex": {
  13906. "description": "性别 - 0:女 1:男",
  13907. "type": "integer"
  13908. },
  13909. "signedstatus": {
  13910. "description": "账户一号签签约状态",
  13911. "type": "integer"
  13912. },
  13913. "signpdfurl": {
  13914. "description": "签约pdf文件",
  13915. "type": "string"
  13916. },
  13917. "subbranch": {
  13918. "description": "开户支行",
  13919. "type": "string"
  13920. },
  13921. "taxpayernum": {
  13922. "description": "纳税人识别号",
  13923. "type": "string"
  13924. },
  13925. "telphone": {
  13926. "description": "联系电话(加密存储)",
  13927. "type": "string"
  13928. },
  13929. "userid": {
  13930. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  13931. "type": "integer"
  13932. },
  13933. "userinfotype": {
  13934. "description": "用户信息类型 - 1:个人 2:企业",
  13935. "type": "integer"
  13936. },
  13937. "username": {
  13938. "description": "用户姓名",
  13939. "type": "string"
  13940. },
  13941. "userstate": {
  13942. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13943. "type": "integer"
  13944. },
  13945. "usertype": {
  13946. "description": "用户类型 - 1:投资者 2:机构",
  13947. "type": "integer"
  13948. },
  13949. "videourl": {
  13950. "description": "视频地址",
  13951. "type": "string"
  13952. },
  13953. "wechat": {
  13954. "description": "微信号 (加密存储)",
  13955. "type": "string"
  13956. }
  13957. }
  13958. },
  13959. "erms3.CustomerInfo": {
  13960. "type": "object",
  13961. "required": [
  13962. "userid"
  13963. ],
  13964. "properties": {
  13965. "accountids": {
  13966. "description": "资金账户ID列表",
  13967. "type": "array",
  13968. "items": {
  13969. "type": "integer"
  13970. }
  13971. },
  13972. "customername": {
  13973. "description": "名称(企业名称)",
  13974. "type": "string"
  13975. },
  13976. "mobile": {
  13977. "description": "手机号码",
  13978. "type": "string"
  13979. },
  13980. "userid": {
  13981. "description": "用户ID",
  13982. "type": "integer"
  13983. }
  13984. }
  13985. },
  13986. "erms3.ModifyUserInfoApplyReq": {
  13987. "type": "object",
  13988. "required": [
  13989. "userid"
  13990. ],
  13991. "properties": {
  13992. "accountid": {
  13993. "description": "交易系统帐号Id (加密存储)",
  13994. "type": "integer"
  13995. },
  13996. "areacode": {
  13997. "description": "机构代码",
  13998. "type": "string"
  13999. },
  14000. "areaid": {
  14001. "description": "机构Id",
  14002. "type": "integer"
  14003. },
  14004. "attachment1": {
  14005. "description": "附件1",
  14006. "type": "string"
  14007. },
  14008. "attachment2": {
  14009. "description": "附件2",
  14010. "type": "string"
  14011. },
  14012. "attachment3": {
  14013. "description": "附件3",
  14014. "type": "string"
  14015. },
  14016. "attachment4": {
  14017. "description": "附件4",
  14018. "type": "string"
  14019. },
  14020. "attachment5": {
  14021. "description": "附件5",
  14022. "type": "string"
  14023. },
  14024. "auditedby": {
  14025. "description": "审核人",
  14026. "type": "string"
  14027. },
  14028. "auditime": {
  14029. "description": "审核时间",
  14030. "type": "string"
  14031. },
  14032. "auditsrc": {
  14033. "description": "审核来源 - 1:管理端 2:终端",
  14034. "type": "integer"
  14035. },
  14036. "bankaccount": {
  14037. "description": "银行帐号 (加密存储)",
  14038. "type": "string"
  14039. },
  14040. "bankaccountname": {
  14041. "description": "收款人名称",
  14042. "type": "string"
  14043. },
  14044. "bankcardbackphotourl": {
  14045. "description": "银行卡背面照地址",
  14046. "type": "string"
  14047. },
  14048. "bankcardfrontphotourl": {
  14049. "description": "银行卡正面照地址",
  14050. "type": "string"
  14051. },
  14052. "bankid": {
  14053. "description": "银行编码",
  14054. "type": "string"
  14055. },
  14056. "bankname": {
  14057. "description": "银行名称",
  14058. "type": "string"
  14059. },
  14060. "bankpictureurl": {
  14061. "description": "银行卡正面地址",
  14062. "type": "string"
  14063. },
  14064. "biznature": {
  14065. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14066. "type": "integer"
  14067. },
  14068. "bizscope": {
  14069. "description": "企业经营范围(企业)",
  14070. "type": "string"
  14071. },
  14072. "biztype": {
  14073. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14074. "type": "integer"
  14075. },
  14076. "brokerid": {
  14077. "description": "经纪人ID(加密存储)",
  14078. "type": "string"
  14079. },
  14080. "cardaddress": {
  14081. "description": "证件地址 (加密存储)",
  14082. "type": "string"
  14083. },
  14084. "cardbackphotourl": {
  14085. "description": "背面证件照地址",
  14086. "type": "string"
  14087. },
  14088. "cardfrontphotourl": {
  14089. "description": "正面证件照地址",
  14090. "type": "string"
  14091. },
  14092. "cardnum": {
  14093. "description": "证件号码 (加密存储)",
  14094. "type": "string"
  14095. },
  14096. "cardtype": {
  14097. "description": "证件类型",
  14098. "type": "integer"
  14099. },
  14100. "cityid": {
  14101. "description": "市",
  14102. "type": "integer"
  14103. },
  14104. "company": {
  14105. "description": "公司(个人)",
  14106. "type": "string"
  14107. },
  14108. "contactcardbackphotourl": {
  14109. "description": "联系人证件背面图片地址",
  14110. "type": "string"
  14111. },
  14112. "contactcardfrontphotourl": {
  14113. "description": "联系人证件正面图片地址",
  14114. "type": "string"
  14115. },
  14116. "contactname": {
  14117. "description": "联系人",
  14118. "type": "string"
  14119. },
  14120. "countryid": {
  14121. "description": "国家",
  14122. "type": "integer"
  14123. },
  14124. "createtime": {
  14125. "description": "开户申请时间",
  14126. "type": "string"
  14127. },
  14128. "cusbankid": {
  14129. "description": "签约类型",
  14130. "type": "string"
  14131. },
  14132. "cusbankname": {
  14133. "description": "签约类型名称",
  14134. "type": "string"
  14135. },
  14136. "customername": {
  14137. "description": "客户名称(企业名称)",
  14138. "type": "string"
  14139. },
  14140. "districtid": {
  14141. "description": "地区",
  14142. "type": "integer"
  14143. },
  14144. "email": {
  14145. "description": "Email地址(加密存储)",
  14146. "type": "string"
  14147. },
  14148. "halfbodyphotourl": {
  14149. "description": "半身照地址",
  14150. "type": "string"
  14151. },
  14152. "headurl": {
  14153. "description": "头像地址",
  14154. "type": "string"
  14155. },
  14156. "ipaddress": {
  14157. "description": "IP地址",
  14158. "type": "string"
  14159. },
  14160. "isvalidate": {
  14161. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14162. "type": "string"
  14163. },
  14164. "legalcardbackphotourl": {
  14165. "description": "法人身份证背面照地址",
  14166. "type": "string"
  14167. },
  14168. "legalcardfrontphotourl": {
  14169. "description": "法人身份证正面照地址",
  14170. "type": "string"
  14171. },
  14172. "legalpersonname": {
  14173. "description": "法人姓名(企业)",
  14174. "type": "string"
  14175. },
  14176. "logincode": {
  14177. "description": "登录帐号 (加密存储)",
  14178. "type": "string"
  14179. },
  14180. "memberareaid": {
  14181. "description": "所属会员ID",
  14182. "type": "integer"
  14183. },
  14184. "mobile2": {
  14185. "description": "手机号码[明文-尚志]",
  14186. "type": "string"
  14187. },
  14188. "mobilephone": {
  14189. "description": "手机号码 (加密存储)",
  14190. "type": "string"
  14191. },
  14192. "modifiedby": {
  14193. "description": "修改人帐号",
  14194. "type": "integer"
  14195. },
  14196. "modifiedtime": {
  14197. "description": "修改时间",
  14198. "type": "string"
  14199. },
  14200. "nickname": {
  14201. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14202. "type": "string"
  14203. },
  14204. "openmode": {
  14205. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14206. "type": "integer"
  14207. },
  14208. "otherurl": {
  14209. "description": "其它图片地址[使用分号分隔]",
  14210. "type": "string"
  14211. },
  14212. "postalcode": {
  14213. "description": "邮政编码",
  14214. "type": "string"
  14215. },
  14216. "provinceid": {
  14217. "description": "省",
  14218. "type": "integer"
  14219. },
  14220. "proxystatementurl": {
  14221. "description": "授权委托书",
  14222. "type": "string"
  14223. },
  14224. "qq": {
  14225. "description": "QQ(加密存储",
  14226. "type": "string"
  14227. },
  14228. "referral": {
  14229. "description": "推荐人编码",
  14230. "type": "string"
  14231. },
  14232. "remark": {
  14233. "description": "备注",
  14234. "type": "string"
  14235. },
  14236. "removebeforestatus": {
  14237. "description": "REMOVEBEFORESTATUS",
  14238. "type": "integer"
  14239. },
  14240. "sex": {
  14241. "description": "性别 - 0:女 1:男",
  14242. "type": "integer"
  14243. },
  14244. "signedstatus": {
  14245. "description": "账户一号签签约状态",
  14246. "type": "integer"
  14247. },
  14248. "signpdfurl": {
  14249. "description": "签约pdf文件",
  14250. "type": "string"
  14251. },
  14252. "subbranch": {
  14253. "description": "开户支行",
  14254. "type": "string"
  14255. },
  14256. "taxpayernum": {
  14257. "description": "纳税人识别号",
  14258. "type": "string"
  14259. },
  14260. "telphone": {
  14261. "description": "联系电话(加密存储)",
  14262. "type": "string"
  14263. },
  14264. "userid": {
  14265. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14266. "type": "integer"
  14267. },
  14268. "userinfotype": {
  14269. "description": "用户信息类型 - 1:个人 2:企业",
  14270. "type": "integer"
  14271. },
  14272. "username": {
  14273. "description": "用户姓名",
  14274. "type": "string"
  14275. },
  14276. "userstate": {
  14277. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14278. "type": "integer"
  14279. },
  14280. "usertype": {
  14281. "description": "用户类型 - 1:投资者 2:机构",
  14282. "type": "integer"
  14283. },
  14284. "videourl": {
  14285. "description": "视频地址",
  14286. "type": "string"
  14287. },
  14288. "wechat": {
  14289. "description": "微信号 (加密存储)",
  14290. "type": "string"
  14291. }
  14292. }
  14293. },
  14294. "erms3.QryAuditContractRsp": {
  14295. "type": "object",
  14296. "required": [
  14297. "matchcustomername",
  14298. "spotcontractid"
  14299. ],
  14300. "properties": {
  14301. "accountid": {
  14302. "description": "交易员ID",
  14303. "type": "string"
  14304. },
  14305. "applystatus": {
  14306. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14307. "type": "integer"
  14308. },
  14309. "curdeliveryqty": {
  14310. "description": "未交收量",
  14311. "type": "integer"
  14312. },
  14313. "customername": {
  14314. "description": "采购方ID",
  14315. "type": "string"
  14316. },
  14317. "deliverygoodsid": {
  14318. "description": "品种ID",
  14319. "type": "string"
  14320. },
  14321. "deliveryqty": {
  14322. "description": "交收量",
  14323. "type": "integer"
  14324. },
  14325. "enumdicname": {
  14326. "description": "单位名称",
  14327. "type": "string"
  14328. },
  14329. "matchaccountid": {
  14330. "description": "业务员ID",
  14331. "type": "string"
  14332. },
  14333. "matchcustomername": {
  14334. "description": "销售方ID",
  14335. "type": "string"
  14336. },
  14337. "pricedqty": {
  14338. "description": "定价量",
  14339. "type": "number"
  14340. },
  14341. "signdate": {
  14342. "description": "签订日期",
  14343. "type": "string"
  14344. },
  14345. "spotcontractid": {
  14346. "description": "合同ID",
  14347. "type": "string"
  14348. },
  14349. "totaldqty": {
  14350. "description": "合同量",
  14351. "type": "number"
  14352. },
  14353. "unpricedqty": {
  14354. "description": "未定价量",
  14355. "type": "number"
  14356. },
  14357. "wrstandardname": {
  14358. "description": "商品名称",
  14359. "type": "string"
  14360. }
  14361. }
  14362. },
  14363. "erms3.QryPendingBizRsp": {
  14364. "$ref": "#/definitions/models.PendingAuditBizModel"
  14365. },
  14366. "erms3.QueryBusinessInfoRsp": {
  14367. "type": "object",
  14368. "properties": {
  14369. "businessid": {
  14370. "description": "业务ID.",
  14371. "type": "integer"
  14372. },
  14373. "buyamount": {
  14374. "description": "采购额.",
  14375. "type": "number"
  14376. },
  14377. "buyqty": {
  14378. "description": "采购量.",
  14379. "type": "string"
  14380. },
  14381. "futurepl": {
  14382. "description": "期货盈亏.",
  14383. "type": "number"
  14384. },
  14385. "futureqty": {
  14386. "description": "期货敞口.",
  14387. "type": "string"
  14388. },
  14389. "goodsid": {
  14390. "description": "商品名称/商品代码.",
  14391. "type": "string"
  14392. },
  14393. "hedgingqty": {
  14394. "description": "套保量.",
  14395. "type": "string"
  14396. },
  14397. "sellamount": {
  14398. "description": "销售额.",
  14399. "type": "number"
  14400. },
  14401. "sellqty": {
  14402. "description": "销售量.",
  14403. "type": "string"
  14404. },
  14405. "spotmarketvalue": {
  14406. "description": "现货市值.",
  14407. "type": "number"
  14408. },
  14409. "spotpl": {
  14410. "description": "浮动权益.",
  14411. "type": "number"
  14412. },
  14413. "spotqty": {
  14414. "description": "现货量.",
  14415. "type": "string"
  14416. },
  14417. "statu": {
  14418. "description": "状态,0-未结束 1-已结束.",
  14419. "type": "integer"
  14420. },
  14421. "totalpl": {
  14422. "description": "总盈亏.",
  14423. "type": "number"
  14424. },
  14425. "totalqty": {
  14426. "description": "总敞口.",
  14427. "type": "string"
  14428. },
  14429. "type": {
  14430. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14431. "type": "integer"
  14432. }
  14433. }
  14434. },
  14435. "erms3.QuerySpotContractAppleFormRsp": {
  14436. "type": "object",
  14437. "properties": {
  14438. "goodses": {
  14439. "description": "合约列表",
  14440. "type": "array",
  14441. "items": {
  14442. "$ref": "#/definitions/models.GoodsIDAndName"
  14443. }
  14444. },
  14445. "oppositeusers": {
  14446. "description": "对方账号列表",
  14447. "type": "array",
  14448. "items": {
  14449. "$ref": "#/definitions/erms3.CustomerInfo"
  14450. }
  14451. },
  14452. "ouruser": {
  14453. "description": "我方账号",
  14454. "type": "object",
  14455. "$ref": "#/definitions/erms3.CustomerInfo"
  14456. },
  14457. "warehouseinfos": {
  14458. "description": "仓库信息列表",
  14459. "type": "array",
  14460. "items": {
  14461. "$ref": "#/definitions/models.Warehouseinfo"
  14462. }
  14463. },
  14464. "wrstandards": {
  14465. "description": "仓单标准列表",
  14466. "type": "array",
  14467. "items": {
  14468. "$ref": "#/definitions/models.WRStandardInfo"
  14469. }
  14470. }
  14471. }
  14472. },
  14473. "erms3.QuerySpotContractInfoRsp": {
  14474. "type": "object",
  14475. "properties": {
  14476. "accountid": {
  14477. "description": "表示交易员ID.",
  14478. "type": "integer"
  14479. },
  14480. "curdeliveryqty": {
  14481. "description": "表示未交收量.",
  14482. "type": "number"
  14483. },
  14484. "customername": {
  14485. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14486. "type": "string"
  14487. },
  14488. "deliverygoodsid": {
  14489. "description": "表示品种ID.",
  14490. "type": "string"
  14491. },
  14492. "deliveryqty": {
  14493. "description": "表示交收量.",
  14494. "type": "number"
  14495. },
  14496. "matchaccountid": {
  14497. "description": "表示业务员ID.",
  14498. "type": "integer"
  14499. },
  14500. "matchcustomername": {
  14501. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  14502. "type": "string"
  14503. },
  14504. "priceqty": {
  14505. "description": "表示定价量.",
  14506. "type": "number"
  14507. },
  14508. "relatedbizid": {
  14509. "description": "表示业务ID.",
  14510. "type": "string"
  14511. },
  14512. "signdate": {
  14513. "description": "表示签订日期.",
  14514. "type": "string"
  14515. },
  14516. "spotcontractid": {
  14517. "description": "合同ID",
  14518. "type": "string"
  14519. },
  14520. "status": {
  14521. "description": "表示状态,0-履约中 1-已完成.",
  14522. "type": "integer"
  14523. },
  14524. "totalqty": {
  14525. "description": "表示合同量.",
  14526. "type": "number"
  14527. },
  14528. "unpricedqty": {
  14529. "description": "表示未定价量.",
  14530. "type": "number"
  14531. },
  14532. "wrstandardname": {
  14533. "description": "表示商品ID.",
  14534. "type": "string"
  14535. }
  14536. }
  14537. },
  14538. "erms3.QueryUserInfoAppliesRsp": {
  14539. "type": "object",
  14540. "required": [
  14541. "userid"
  14542. ],
  14543. "properties": {
  14544. "biznature": {
  14545. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14546. "type": "integer"
  14547. },
  14548. "contactname": {
  14549. "description": "联系人",
  14550. "type": "string"
  14551. },
  14552. "createtime": {
  14553. "description": "开户申请时间",
  14554. "type": "string"
  14555. },
  14556. "userid": {
  14557. "description": "用户ID(自增ID)",
  14558. "type": "integer"
  14559. },
  14560. "userinfotype": {
  14561. "description": "用户信息类型 - 1:个人 2:企业",
  14562. "type": "integer"
  14563. },
  14564. "username": {
  14565. "description": "用户姓名",
  14566. "type": "string"
  14567. },
  14568. "userstate": {
  14569. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14570. "type": "integer"
  14571. }
  14572. }
  14573. },
  14574. "erms3.QueryUserInfosRsp": {
  14575. "type": "object",
  14576. "required": [
  14577. "userid"
  14578. ],
  14579. "properties": {
  14580. "biznature": {
  14581. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14582. "type": "integer"
  14583. },
  14584. "contactname": {
  14585. "description": "联系人",
  14586. "type": "string"
  14587. },
  14588. "customername": {
  14589. "description": "客户名称(企业名称)",
  14590. "type": "string"
  14591. },
  14592. "userid": {
  14593. "description": "用户ID",
  14594. "type": "integer"
  14595. },
  14596. "userinfotype": {
  14597. "description": "用户信息类型 - 1:个人 2:企业",
  14598. "type": "integer"
  14599. },
  14600. "userstatus": {
  14601. "description": "用户状态 - 1:正常 2:注销",
  14602. "type": "integer"
  14603. }
  14604. }
  14605. },
  14606. "erms3.SoptContractDetail": {
  14607. "type": "object",
  14608. "required": [
  14609. "deliverygoodsid",
  14610. "producttype",
  14611. "unitname",
  14612. "warehouseid",
  14613. "wrstandardid",
  14614. "wrstandardname"
  14615. ],
  14616. "properties": {
  14617. "deliverygoodsdesc": {
  14618. "description": "现货品种说明",
  14619. "type": "string"
  14620. },
  14621. "deliverygoodsid": {
  14622. "description": "现货品种ID",
  14623. "type": "integer"
  14624. },
  14625. "deliverygoodsname": {
  14626. "description": "现货品种名称",
  14627. "type": "string"
  14628. },
  14629. "pointdesc": {
  14630. "description": "点价描述",
  14631. "type": "string"
  14632. },
  14633. "producttype": {
  14634. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  14635. "type": "integer"
  14636. },
  14637. "producttypename": {
  14638. "description": "产品类型名称",
  14639. "type": "string"
  14640. },
  14641. "spotPointOrderVoList": {
  14642. "description": "点价列表",
  14643. "type": "array",
  14644. "items": {
  14645. "$ref": "#/definitions/erms3.SpotPointOrder"
  14646. }
  14647. },
  14648. "spotPriceOrderList": {
  14649. "description": "定价列表",
  14650. "type": "array",
  14651. "items": {
  14652. "$ref": "#/definitions/erms3.SpotPriceOrder"
  14653. }
  14654. },
  14655. "unitname": {
  14656. "description": "单位名称",
  14657. "type": "string"
  14658. },
  14659. "warehouseid": {
  14660. "description": "仓库ID",
  14661. "type": "integer"
  14662. },
  14663. "warehousename": {
  14664. "description": "仓库名称",
  14665. "type": "string"
  14666. },
  14667. "wrstandardid": {
  14668. "description": "交易标的ID",
  14669. "type": "integer"
  14670. },
  14671. "wrstandardname": {
  14672. "description": "交易标的名称",
  14673. "type": "string"
  14674. }
  14675. }
  14676. },
  14677. "erms3.SpotPointOrder": {
  14678. "type": "object",
  14679. "required": [
  14680. "basic",
  14681. "goodsid",
  14682. "qty"
  14683. ],
  14684. "properties": {
  14685. "basic": {
  14686. "description": "基差",
  14687. "type": "number"
  14688. },
  14689. "deliveryenddate": {
  14690. "description": "交收结束日期",
  14691. "type": "string"
  14692. },
  14693. "deliverystartdate": {
  14694. "description": "交收开始日期",
  14695. "type": "string"
  14696. },
  14697. "enddate": {
  14698. "description": "点价结束日期",
  14699. "type": "string"
  14700. },
  14701. "goodsid": {
  14702. "description": "商品ID",
  14703. "type": "integer"
  14704. },
  14705. "goodsname": {
  14706. "description": "商品名称",
  14707. "type": "string"
  14708. },
  14709. "qty": {
  14710. "description": "数量",
  14711. "type": "number"
  14712. },
  14713. "startdate": {
  14714. "description": "点价开始日期",
  14715. "type": "string"
  14716. }
  14717. }
  14718. },
  14719. "erms3.SpotPriceOrder": {
  14720. "type": "object",
  14721. "required": [
  14722. "amount",
  14723. "price",
  14724. "qty"
  14725. ],
  14726. "properties": {
  14727. "amount": {
  14728. "description": "金额",
  14729. "type": "number"
  14730. },
  14731. "deliveryenddate": {
  14732. "description": "交收结束日期",
  14733. "type": "string"
  14734. },
  14735. "deliverystartdate": {
  14736. "description": "交收开始日期",
  14737. "type": "string"
  14738. },
  14739. "price": {
  14740. "description": "价格",
  14741. "type": "number"
  14742. },
  14743. "qty": {
  14744. "description": "数量",
  14745. "type": "number"
  14746. }
  14747. }
  14748. },
  14749. "hsby.GetHsbyMyCountRsp": {
  14750. "type": "object",
  14751. "properties": {
  14752. "myCouponCount": {
  14753. "description": "我的优惠卷数量",
  14754. "type": "integer"
  14755. },
  14756. "myOrderDetailListingCount": {
  14757. "description": "我的订单求购中数量",
  14758. "type": "integer"
  14759. },
  14760. "myOrderDetailPreCount": {
  14761. "description": "我的订单抢购中数量",
  14762. "type": "integer"
  14763. },
  14764. "myPackageUnReceiveCount": {
  14765. "description": "我的包裹待收货数量",
  14766. "type": "integer"
  14767. },
  14768. "myPackageUnSendCount": {
  14769. "description": "我的包裹待发货数量",
  14770. "type": "integer"
  14771. },
  14772. "myPayOrderCount": {
  14773. "description": "我的订单待付款数量",
  14774. "type": "integer"
  14775. }
  14776. }
  14777. },
  14778. "hsby.QueryProvincesAndCitiesRsp": {
  14779. "type": "object",
  14780. "properties": {
  14781. "cities": {
  14782. "description": "市",
  14783. "type": "array",
  14784. "items": {
  14785. "$ref": "#/definitions/models.Division"
  14786. }
  14787. },
  14788. "province": {
  14789. "description": "省",
  14790. "type": "object",
  14791. "$ref": "#/definitions/models.Division"
  14792. }
  14793. }
  14794. },
  14795. "models.AreaSpotModel": {
  14796. "type": "object",
  14797. "properties": {
  14798. "areauserid": {
  14799. "description": "所属机构",
  14800. "type": "integer"
  14801. },
  14802. "decreaseqty": {
  14803. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  14804. "type": "number"
  14805. },
  14806. "increaseqty": {
  14807. "description": "增加数量=销售计划数量+采购已定价数量",
  14808. "type": "number"
  14809. },
  14810. "oritoalspotqty": {
  14811. "description": "昨日数量",
  14812. "type": "number"
  14813. },
  14814. "totalspotqty": {
  14815. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  14816. "type": "number"
  14817. },
  14818. "updatetime": {
  14819. "description": "更新时间",
  14820. "type": "string"
  14821. },
  14822. "wrstandardcode": {
  14823. "description": "现货品种代码",
  14824. "type": "string"
  14825. },
  14826. "wrstandardid": {
  14827. "description": "现货商品ID",
  14828. "type": "integer"
  14829. },
  14830. "wrstandardname": {
  14831. "description": "现货品种",
  14832. "type": "string"
  14833. }
  14834. }
  14835. },
  14836. "models.Arearole": {
  14837. "type": "object",
  14838. "required": [
  14839. "roletype",
  14840. "userid"
  14841. ],
  14842. "properties": {
  14843. "createtime": {
  14844. "description": "创建时间",
  14845. "type": "string"
  14846. },
  14847. "creatorid": {
  14848. "description": "创建人ID",
  14849. "type": "integer"
  14850. },
  14851. "fromuserid": {
  14852. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  14853. "type": "integer"
  14854. },
  14855. "isreturnscore": {
  14856. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  14857. "type": "integer"
  14858. },
  14859. "modifierid": {
  14860. "description": "修改人ID",
  14861. "type": "integer"
  14862. },
  14863. "modifytime": {
  14864. "description": "修改时间",
  14865. "type": "string"
  14866. },
  14867. "orgtype": {
  14868. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  14869. "type": "integer"
  14870. },
  14871. "outuserid": {
  14872. "description": "外部账户[场外期权做市商]",
  14873. "type": "string"
  14874. },
  14875. "parentuserid": {
  14876. "description": "上级组织机构(组织机构)",
  14877. "type": "integer"
  14878. },
  14879. "roletype": {
  14880. "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:门店",
  14881. "type": "integer"
  14882. },
  14883. "rootuserid": {
  14884. "description": "顶级组织机构用户ID(组织机构)",
  14885. "type": "integer"
  14886. },
  14887. "shoppassword": {
  14888. "description": "商城店铺登陆密码(商城店铺角色使用)",
  14889. "type": "string"
  14890. },
  14891. "sublevelpath": {
  14892. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  14893. "type": "string"
  14894. },
  14895. "suborgtype": {
  14896. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  14897. "type": "integer"
  14898. },
  14899. "tradeaccountid": {
  14900. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  14901. "type": "integer"
  14902. },
  14903. "transurl": {
  14904. "description": "物流地址(物流机构)",
  14905. "type": "string"
  14906. },
  14907. "userid": {
  14908. "description": "机构用户ID其他做市关系,都设置为 1",
  14909. "type": "integer"
  14910. }
  14911. }
  14912. },
  14913. "models.Clientfixedadconfig": {
  14914. "type": "object",
  14915. "required": [
  14916. "adsort",
  14917. "adtype"
  14918. ],
  14919. "properties": {
  14920. "adsort": {
  14921. "description": "排序",
  14922. "type": "integer"
  14923. },
  14924. "adtype": {
  14925. "description": "广告位类型 - 1:新品抢购(HSBY)",
  14926. "type": "integer"
  14927. },
  14928. "areauserid": {
  14929. "description": "所属机构ID",
  14930. "type": "integer"
  14931. },
  14932. "createdate": {
  14933. "description": "创建时间",
  14934. "type": "string"
  14935. },
  14936. "creatorid": {
  14937. "description": "创建人",
  14938. "type": "integer"
  14939. },
  14940. "imagepath": {
  14941. "description": "图片",
  14942. "type": "string"
  14943. },
  14944. "isshow": {
  14945. "description": "是否展示 - 0:不展示 1:展示",
  14946. "type": "integer"
  14947. },
  14948. "modifierid": {
  14949. "description": "操作人",
  14950. "type": "integer"
  14951. },
  14952. "recsize": {
  14953. "description": "推荐尺寸",
  14954. "type": "string"
  14955. },
  14956. "title": {
  14957. "description": "标题",
  14958. "type": "string"
  14959. },
  14960. "updatedate": {
  14961. "description": "更新时间",
  14962. "type": "string"
  14963. },
  14964. "urlcontent": {
  14965. "description": "链接(地址或商品ID)",
  14966. "type": "string"
  14967. },
  14968. "urltype": {
  14969. "description": "链接类型 - 1:直接地址 2:商品ID",
  14970. "type": "integer"
  14971. }
  14972. }
  14973. },
  14974. "models.Division": {
  14975. "type": "object",
  14976. "required": [
  14977. "autoid",
  14978. "divisioncode"
  14979. ],
  14980. "properties": {
  14981. "autoid": {
  14982. "description": "自增ID",
  14983. "type": "integer"
  14984. },
  14985. "divisioncode": {
  14986. "description": "行政代码",
  14987. "type": "string"
  14988. },
  14989. "divisionlevel": {
  14990. "description": "行政级别",
  14991. "type": "string"
  14992. },
  14993. "divisionname": {
  14994. "description": "行政名称",
  14995. "type": "string"
  14996. },
  14997. "modifierid": {
  14998. "description": "修改人",
  14999. "type": "integer"
  15000. },
  15001. "modifytime": {
  15002. "description": "修改时间",
  15003. "type": "string"
  15004. },
  15005. "parentcode": {
  15006. "description": "上级行政代码",
  15007. "type": "string"
  15008. },
  15009. "pathname": {
  15010. "description": "路径名称",
  15011. "type": "string"
  15012. },
  15013. "postcode": {
  15014. "description": "邮政编码",
  15015. "type": "string"
  15016. },
  15017. "separablename": {
  15018. "description": "可拆分的全称",
  15019. "type": "string"
  15020. },
  15021. "shortcode": {
  15022. "description": "地区简码",
  15023. "type": "string"
  15024. }
  15025. }
  15026. },
  15027. "models.Enumdicitem": {
  15028. "type": "object",
  15029. "required": [
  15030. "autoid",
  15031. "enumdiccode",
  15032. "enumdicid",
  15033. "enumitemname"
  15034. ],
  15035. "properties": {
  15036. "autoid": {
  15037. "description": "自增ID",
  15038. "type": "integer"
  15039. },
  15040. "bankmappedvalue": {
  15041. "description": "银行服务对应值",
  15042. "type": "string"
  15043. },
  15044. "enumdiccode": {
  15045. "description": "所属枚举代码",
  15046. "type": "string"
  15047. },
  15048. "enumdicid": {
  15049. "description": "所属枚举ID",
  15050. "type": "integer"
  15051. },
  15052. "enumdicname": {
  15053. "description": "枚举项名称",
  15054. "type": "string"
  15055. },
  15056. "enumitemname": {
  15057. "description": "枚举项值",
  15058. "type": "integer"
  15059. },
  15060. "enumitemstatus": {
  15061. "description": "枚举项状态 - 1.启用 2.不启用",
  15062. "type": "integer"
  15063. },
  15064. "enumitemvalue": {
  15065. "description": "通用值 - [币种通用简写]",
  15066. "type": "string"
  15067. },
  15068. "param1": {
  15069. "description": "参数1[币种:币种小数位]",
  15070. "type": "string"
  15071. },
  15072. "param2": {
  15073. "description": "参数1[币种:币种显示单位]",
  15074. "type": "string"
  15075. },
  15076. "remark": {
  15077. "description": "备注",
  15078. "type": "string"
  15079. }
  15080. }
  15081. },
  15082. "models.Ermcp3AreaSpot": {
  15083. "type": "object",
  15084. "properties": {
  15085. "areauserid": {
  15086. "description": "所属机构",
  15087. "type": "integer"
  15088. },
  15089. "decreaseqty": {
  15090. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15091. "type": "number"
  15092. },
  15093. "deliverygoodscode": {
  15094. "description": "现货品种代码",
  15095. "type": "string"
  15096. },
  15097. "deliverygoodsid": {
  15098. "description": "现货品种id",
  15099. "type": "integer"
  15100. },
  15101. "deliverygoodsname": {
  15102. "description": "现货品种名称",
  15103. "type": "string"
  15104. },
  15105. "enumdicname": {
  15106. "description": "单位名称",
  15107. "type": "string"
  15108. },
  15109. "goodsunitid": {
  15110. "description": "现货品种单位id",
  15111. "type": "integer"
  15112. },
  15113. "increaseqty": {
  15114. "description": "增加数量=销售计划数量+采购已定价数量",
  15115. "type": "number"
  15116. },
  15117. "oritoalspotqty": {
  15118. "description": "昨日数量",
  15119. "type": "number"
  15120. },
  15121. "totalspotqty": {
  15122. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15123. "type": "number"
  15124. },
  15125. "updatetime": {
  15126. "description": "更新时间",
  15127. "type": "string"
  15128. }
  15129. }
  15130. },
  15131. "models.Ermcp3AreaSpotDetail": {
  15132. "type": "object",
  15133. "properties": {
  15134. "contracttype": {
  15135. "description": "合同类型 1-采购 -1-销售",
  15136. "type": "integer"
  15137. },
  15138. "createtime": {
  15139. "description": "创建时间",
  15140. "type": "string"
  15141. },
  15142. "deliverygoodscode": {
  15143. "description": "现货品种代码",
  15144. "type": "string"
  15145. },
  15146. "deliverygoodsid": {
  15147. "description": "现货品种id",
  15148. "type": "integer"
  15149. },
  15150. "deliverygoodsname": {
  15151. "description": "现货品种名称",
  15152. "type": "string"
  15153. },
  15154. "enumdicname": {
  15155. "description": "现货商品单位名称",
  15156. "type": "string"
  15157. },
  15158. "logtype": {
  15159. "description": "记录类型 1-套保 2-现货合同",
  15160. "type": "integer"
  15161. },
  15162. "qty": {
  15163. "description": "数量",
  15164. "type": "number"
  15165. },
  15166. "recordname": {
  15167. "description": "类型名称",
  15168. "type": "string"
  15169. },
  15170. "relatedid": {
  15171. "description": "套保计划ID/现货合同ID",
  15172. "type": "string"
  15173. },
  15174. "relatedno": {
  15175. "description": "编号",
  15176. "type": "string"
  15177. },
  15178. "strtime": {
  15179. "description": "时间",
  15180. "type": "string"
  15181. }
  15182. }
  15183. },
  15184. "models.Ermcp3AreaSpotPLReport": {
  15185. "type": "object",
  15186. "properties": {
  15187. "accountid": {
  15188. "description": "期货账户ID (作废, 默认为0)",
  15189. "type": "integer"
  15190. },
  15191. "accountname": {
  15192. "description": "机构名称",
  15193. "type": "string"
  15194. },
  15195. "actualpl": {
  15196. "description": "现货损益",
  15197. "type": "number"
  15198. },
  15199. "areauserid": {
  15200. "description": "所属机构\\交易用户ID",
  15201. "type": "integer"
  15202. },
  15203. "begindate": {
  15204. "description": "开始交易日",
  15205. "type": "string"
  15206. },
  15207. "biztype": {
  15208. "description": "业务类型 - 1:套保 2:套利",
  15209. "type": "integer"
  15210. },
  15211. "brandname": {
  15212. "description": "品牌名称",
  15213. "type": "string"
  15214. },
  15215. "curamount": {
  15216. "description": "期末额",
  15217. "type": "number"
  15218. },
  15219. "curaverageprice": {
  15220. "description": "期末均价",
  15221. "type": "number"
  15222. },
  15223. "curbuyamount": {
  15224. "description": "期末采购总额",
  15225. "type": "number"
  15226. },
  15227. "curbuyqty": {
  15228. "description": "期末采购总量",
  15229. "type": "number"
  15230. },
  15231. "curmarketvalue": {
  15232. "description": "参考市值(期末市值)",
  15233. "type": "number"
  15234. },
  15235. "curqty": {
  15236. "description": "期末量",
  15237. "type": "number"
  15238. },
  15239. "currencyid": {
  15240. "description": "结算币种ID【原值】",
  15241. "type": "integer"
  15242. },
  15243. "currencyname": {
  15244. "description": "币种名称",
  15245. "type": "string"
  15246. },
  15247. "cursellamount": {
  15248. "description": "期末销售总额",
  15249. "type": "number"
  15250. },
  15251. "cursellqty": {
  15252. "description": "期末销售总量",
  15253. "type": "number"
  15254. },
  15255. "curspotprice": {
  15256. "description": "参考市价(最新价)",
  15257. "type": "number"
  15258. },
  15259. "cycletime": {
  15260. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15261. "type": "string"
  15262. },
  15263. "cycletype": {
  15264. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15265. "type": "integer"
  15266. },
  15267. "deliverygoodscode": {
  15268. "description": "现货商品代码",
  15269. "type": "string"
  15270. },
  15271. "deliverygoodsid": {
  15272. "description": "现货品种ID",
  15273. "type": "integer"
  15274. },
  15275. "deliverygoodsname": {
  15276. "description": "现货商品名称",
  15277. "type": "string"
  15278. },
  15279. "enddate": {
  15280. "description": "结束交易日",
  15281. "type": "string"
  15282. },
  15283. "enumdicname": {
  15284. "description": "现货商品单位名称",
  15285. "type": "string"
  15286. },
  15287. "floatpl": {
  15288. "description": "浮动损益",
  15289. "type": "number"
  15290. },
  15291. "goodsunitid": {
  15292. "description": "现货商品单位id",
  15293. "type": "integer"
  15294. },
  15295. "oriamount": {
  15296. "description": "期初额",
  15297. "type": "number"
  15298. },
  15299. "oriaverageprice": {
  15300. "description": "期初均价",
  15301. "type": "number"
  15302. },
  15303. "oribuyamount": {
  15304. "description": "期初采购总额",
  15305. "type": "number"
  15306. },
  15307. "oribuyqty": {
  15308. "description": "期初采购总量",
  15309. "type": "number"
  15310. },
  15311. "oriqty": {
  15312. "description": "期初量",
  15313. "type": "number"
  15314. },
  15315. "orisellamount": {
  15316. "description": "期初销售总额",
  15317. "type": "number"
  15318. },
  15319. "orisellqty": {
  15320. "description": "期初销售总量",
  15321. "type": "number"
  15322. },
  15323. "reckondate": {
  15324. "description": "日照时期(yyyyMMdd)",
  15325. "type": "string"
  15326. },
  15327. "spotgoodsbrandid": {
  15328. "description": "现货品牌ID",
  15329. "type": "integer"
  15330. },
  15331. "todaybuyamount": {
  15332. "description": "今日采购额(今采购额)",
  15333. "type": "number"
  15334. },
  15335. "todaybuyaverageprice": {
  15336. "description": "今日采购均价",
  15337. "type": "number"
  15338. },
  15339. "todaybuyqty": {
  15340. "description": "今日采购量(今采购量)",
  15341. "type": "number"
  15342. },
  15343. "todayinqty": {
  15344. "description": "今日入库量(今入库量)",
  15345. "type": "number"
  15346. },
  15347. "todayoutqty": {
  15348. "description": "今日出库量(今出库量)",
  15349. "type": "number"
  15350. },
  15351. "todaysellamount": {
  15352. "description": "今日销售额(今销售额)",
  15353. "type": "number"
  15354. },
  15355. "todaysellaverageprice": {
  15356. "description": "今日销售均价",
  15357. "type": "number"
  15358. },
  15359. "todaysellqty": {
  15360. "description": "今日销售量(今销售量)",
  15361. "type": "number"
  15362. },
  15363. "unitid": {
  15364. "description": "品类单位id",
  15365. "type": "integer"
  15366. },
  15367. "unitidname": {
  15368. "description": "品类单位名称",
  15369. "type": "string"
  15370. },
  15371. "updatetime": {
  15372. "description": "更新时间",
  15373. "type": "string"
  15374. },
  15375. "wrfactortypeid": {
  15376. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15377. "type": "integer"
  15378. },
  15379. "wrstandardcode": {
  15380. "description": "品类代码",
  15381. "type": "string"
  15382. },
  15383. "wrstandardid": {
  15384. "description": "现货品类ID",
  15385. "type": "integer"
  15386. },
  15387. "wrstandardname": {
  15388. "description": "品类名称",
  15389. "type": "string"
  15390. }
  15391. }
  15392. },
  15393. "models.Ermcp3AreaStock": {
  15394. "type": "object",
  15395. "required": [
  15396. "userid"
  15397. ],
  15398. "properties": {
  15399. "brandname": {
  15400. "description": "品牌名称",
  15401. "type": "string"
  15402. },
  15403. "curstock": {
  15404. "description": "期末库存量(今日量)",
  15405. "type": "number"
  15406. },
  15407. "deliverygoodscode": {
  15408. "description": "现货品种代码",
  15409. "type": "string"
  15410. },
  15411. "deliverygoodsid": {
  15412. "description": "现货品种id",
  15413. "type": "integer"
  15414. },
  15415. "deliverygoodsname": {
  15416. "description": "现货品种名称",
  15417. "type": "string"
  15418. },
  15419. "enumdicname": {
  15420. "description": "单位名称",
  15421. "type": "string"
  15422. },
  15423. "goodsunitid": {
  15424. "description": "现货商品单位id",
  15425. "type": "integer"
  15426. },
  15427. "oristock": {
  15428. "description": "期初库存量(昨日量)",
  15429. "type": "number"
  15430. },
  15431. "spotgoodsbrandid": {
  15432. "description": "现货品牌ID",
  15433. "type": "integer"
  15434. },
  15435. "todaybuyinqty": {
  15436. "description": "今日采购入库量",
  15437. "type": "number"
  15438. },
  15439. "todayproduceinqty": {
  15440. "description": "今日生产入库量",
  15441. "type": "number"
  15442. },
  15443. "todayproduceoutqty": {
  15444. "description": "今日生产出库量",
  15445. "type": "number"
  15446. },
  15447. "todayselloutqty": {
  15448. "description": "今日销售出库量",
  15449. "type": "number"
  15450. },
  15451. "unitid": {
  15452. "description": "单位id",
  15453. "type": "integer"
  15454. },
  15455. "updatetime": {
  15456. "description": "更新时间",
  15457. "type": "string"
  15458. },
  15459. "userid": {
  15460. "description": "机构ID",
  15461. "type": "integer"
  15462. },
  15463. "username": {
  15464. "description": "机构名称",
  15465. "type": "string"
  15466. },
  15467. "warehousecode": {
  15468. "description": "仓库代码",
  15469. "type": "string"
  15470. },
  15471. "warehouseinfoid": {
  15472. "description": "仓库ID",
  15473. "type": "string"
  15474. },
  15475. "warehousename": {
  15476. "description": "仓库名称",
  15477. "type": "string"
  15478. },
  15479. "warehousetype": {
  15480. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15481. "type": "integer"
  15482. },
  15483. "wrstandardcode": {
  15484. "description": "品类代码",
  15485. "type": "string"
  15486. },
  15487. "wrstandardid": {
  15488. "description": "品类ID",
  15489. "type": "string"
  15490. },
  15491. "wrstandardname": {
  15492. "description": "品类名称",
  15493. "type": "string"
  15494. }
  15495. }
  15496. },
  15497. "models.Ermcp3AreaStockApply": {
  15498. "type": "object",
  15499. "properties": {
  15500. "applyid": {
  15501. "description": "申请人",
  15502. "type": "integer"
  15503. },
  15504. "applyname": {
  15505. "description": "申请人名称",
  15506. "type": "string"
  15507. },
  15508. "applyremark": {
  15509. "description": "申请备注",
  15510. "type": "string"
  15511. },
  15512. "applysrc": {
  15513. "description": "申请来源 - 1:管理端 2:终端",
  15514. "type": "integer"
  15515. },
  15516. "applystatus": {
  15517. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  15518. "type": "integer"
  15519. },
  15520. "applytime": {
  15521. "description": "申请时间",
  15522. "type": "string"
  15523. },
  15524. "auditid": {
  15525. "description": "审核人",
  15526. "type": "integer"
  15527. },
  15528. "auditname": {
  15529. "description": "审核人名称",
  15530. "type": "string"
  15531. },
  15532. "auditremark": {
  15533. "description": "审核备注",
  15534. "type": "string"
  15535. },
  15536. "auditsrc": {
  15537. "description": "审核来源 - 1:管理端 2:终端",
  15538. "type": "integer"
  15539. },
  15540. "audittime": {
  15541. "description": "审核时间",
  15542. "type": "string"
  15543. },
  15544. "audittradedate": {
  15545. "description": "审核交易日(yyyyMMdd)",
  15546. "type": "string"
  15547. },
  15548. "brandname": {
  15549. "description": "品牌名称",
  15550. "type": "string"
  15551. },
  15552. "buynickname": {
  15553. "description": "采购方昵称",
  15554. "type": "string"
  15555. },
  15556. "buyuserid": {
  15557. "description": "采购方userid",
  15558. "type": "integer"
  15559. },
  15560. "buyusername": {
  15561. "description": "采购方名称",
  15562. "type": "string"
  15563. },
  15564. "contractno": {
  15565. "description": "合同编号",
  15566. "type": "string"
  15567. },
  15568. "contractqty": {
  15569. "description": "合同量",
  15570. "type": "number"
  15571. },
  15572. "contracttype": {
  15573. "description": "现货合同类型 - 1:采购 -1:销售",
  15574. "type": "integer"
  15575. },
  15576. "deliverygoodscode": {
  15577. "description": "现货品种代码",
  15578. "type": "string"
  15579. },
  15580. "deliverygoodsid": {
  15581. "description": "现货品种id",
  15582. "type": "integer"
  15583. },
  15584. "deliverygoodsname": {
  15585. "description": "现货品种名称",
  15586. "type": "string"
  15587. },
  15588. "detailjson": {
  15589. "description": "明细数据",
  15590. "type": "string"
  15591. },
  15592. "enumdicname": {
  15593. "description": "现货商品单位名称",
  15594. "type": "string"
  15595. },
  15596. "inoutapplyid": {
  15597. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  15598. "type": "string"
  15599. },
  15600. "inouttype": {
  15601. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  15602. "type": "integer"
  15603. },
  15604. "pricetype": {
  15605. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  15606. "type": "integer"
  15607. },
  15608. "qty": {
  15609. "description": "数量",
  15610. "type": "number"
  15611. },
  15612. "sellnickname": {
  15613. "description": "销售方昵称",
  15614. "type": "string"
  15615. },
  15616. "selluserid": {
  15617. "description": "销售方userid",
  15618. "type": "integer"
  15619. },
  15620. "sellusername": {
  15621. "description": "销售方名称",
  15622. "type": "string"
  15623. },
  15624. "spotcontractid": {
  15625. "description": "关联现货合同ID",
  15626. "type": "string"
  15627. },
  15628. "spotgoodsbrandid": {
  15629. "description": "现货品牌ID",
  15630. "type": "integer"
  15631. },
  15632. "unitid": {
  15633. "description": "单位id",
  15634. "type": "integer"
  15635. },
  15636. "userid": {
  15637. "description": "机构ID",
  15638. "type": "integer"
  15639. },
  15640. "warehousecode": {
  15641. "description": "仓库代码",
  15642. "type": "string"
  15643. },
  15644. "warehouseinfoid": {
  15645. "description": "现货仓库ID",
  15646. "type": "string"
  15647. },
  15648. "warehousename": {
  15649. "description": "仓库名称",
  15650. "type": "string"
  15651. },
  15652. "warehousetype": {
  15653. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15654. "type": "integer"
  15655. },
  15656. "wrstandardcode": {
  15657. "description": "品类代码",
  15658. "type": "string"
  15659. },
  15660. "wrstandardid": {
  15661. "description": "品类ID",
  15662. "type": "integer"
  15663. },
  15664. "wrstandardname": {
  15665. "description": "品类名称",
  15666. "type": "string"
  15667. }
  15668. }
  15669. },
  15670. "models.Ermcp3AreaStockApplySum": {
  15671. "type": "object",
  15672. "properties": {
  15673. "brandname": {
  15674. "description": "品牌名称",
  15675. "type": "string"
  15676. },
  15677. "inouttype": {
  15678. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  15679. "type": "integer"
  15680. },
  15681. "spotcontractid": {
  15682. "description": "关联现货合同ID",
  15683. "type": "string"
  15684. },
  15685. "spotgoodsbrandid": {
  15686. "description": "品牌id",
  15687. "type": "integer"
  15688. },
  15689. "totalqty": {
  15690. "description": "总数量",
  15691. "type": "number"
  15692. },
  15693. "wrstandardid": {
  15694. "description": "品类id",
  15695. "type": "integer"
  15696. },
  15697. "wrstandardname": {
  15698. "description": "品类名称",
  15699. "type": "string"
  15700. }
  15701. }
  15702. },
  15703. "models.Ermcp3AreaStockReportEx": {
  15704. "type": "object",
  15705. "properties": {
  15706. "begindate": {
  15707. "description": "开始交易日",
  15708. "type": "string"
  15709. },
  15710. "brandname": {
  15711. "description": "品牌名称",
  15712. "type": "string"
  15713. },
  15714. "curstock": {
  15715. "description": "期末库存量",
  15716. "type": "number"
  15717. },
  15718. "cycletime": {
  15719. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15720. "type": "string"
  15721. },
  15722. "cycletype": {
  15723. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15724. "type": "integer"
  15725. },
  15726. "deliverygoodscode": {
  15727. "description": "现货品种代码",
  15728. "type": "string"
  15729. },
  15730. "deliverygoodsid": {
  15731. "description": "现货品种id",
  15732. "type": "integer"
  15733. },
  15734. "deliverygoodsname": {
  15735. "description": "现货品种名称",
  15736. "type": "string"
  15737. },
  15738. "diffqty": {
  15739. "description": "库存变化量 = 期末 - 期初",
  15740. "type": "number"
  15741. },
  15742. "enddate": {
  15743. "description": "结束交易日",
  15744. "type": "string"
  15745. },
  15746. "enumdicname": {
  15747. "description": "单位名称",
  15748. "type": "string"
  15749. },
  15750. "goodsunitid": {
  15751. "description": "现货单位id",
  15752. "type": "integer"
  15753. },
  15754. "oristock": {
  15755. "description": "期初库存量",
  15756. "type": "number"
  15757. },
  15758. "reckondate": {
  15759. "description": "日照时期(yyyyMMdd)",
  15760. "type": "string"
  15761. },
  15762. "spotgoodsbrandid": {
  15763. "description": "现货品牌ID",
  15764. "type": "integer"
  15765. },
  15766. "todaybuyinqty": {
  15767. "description": "今采购入库量",
  15768. "type": "number"
  15769. },
  15770. "todayproduceinqty": {
  15771. "description": "今内部入库量",
  15772. "type": "number"
  15773. },
  15774. "todayproduceoutqty": {
  15775. "description": "今内部出库量",
  15776. "type": "number"
  15777. },
  15778. "todayselloutqty": {
  15779. "description": "今销售出库量",
  15780. "type": "number"
  15781. },
  15782. "unbuyinqty": {
  15783. "description": "采购未入库量(数据库未找到相关字段?)",
  15784. "type": "number"
  15785. },
  15786. "unitid": {
  15787. "description": "品类单位id",
  15788. "type": "integer"
  15789. },
  15790. "unselloutqty": {
  15791. "description": "销售未出库量(数据库未找到相关字段?)",
  15792. "type": "number"
  15793. },
  15794. "updatetime": {
  15795. "description": "更新时间",
  15796. "type": "string"
  15797. },
  15798. "userid": {
  15799. "description": "机构ID",
  15800. "type": "integer"
  15801. },
  15802. "username": {
  15803. "description": "机构名称",
  15804. "type": "string"
  15805. },
  15806. "warehousecode": {
  15807. "description": "仓库代码",
  15808. "type": "string"
  15809. },
  15810. "warehouseinfoid": {
  15811. "description": "仓库ID",
  15812. "type": "string"
  15813. },
  15814. "warehousename": {
  15815. "description": "仓库名称",
  15816. "type": "string"
  15817. },
  15818. "warehousetype": {
  15819. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15820. "type": "integer"
  15821. },
  15822. "wrstandardcode": {
  15823. "description": "品类代码",
  15824. "type": "string"
  15825. },
  15826. "wrstandardid": {
  15827. "description": "品类ID",
  15828. "type": "integer"
  15829. },
  15830. "wrstandardname": {
  15831. "description": "品类名称",
  15832. "type": "string"
  15833. }
  15834. }
  15835. },
  15836. "models.Ermcp3ArealSumPL": {
  15837. "type": "object",
  15838. "properties": {
  15839. "accountname": {
  15840. "description": "机构名称",
  15841. "type": "string"
  15842. },
  15843. "areauserid": {
  15844. "description": "所属机构\\交易用户ID",
  15845. "type": "integer"
  15846. },
  15847. "begindate": {
  15848. "description": "开始交易日",
  15849. "type": "string"
  15850. },
  15851. "currencyid": {
  15852. "description": "结算币种ID",
  15853. "type": "integer"
  15854. },
  15855. "currencyname": {
  15856. "description": "币种名称",
  15857. "type": "string"
  15858. },
  15859. "cycletime": {
  15860. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15861. "type": "string"
  15862. },
  15863. "cycletype": {
  15864. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15865. "type": "integer"
  15866. },
  15867. "enddate": {
  15868. "description": "结束交易日",
  15869. "type": "string"
  15870. },
  15871. "enumdicname": {
  15872. "description": "单位名称(套保品种)",
  15873. "type": "string"
  15874. },
  15875. "futureactualpl": {
  15876. "description": "期货损益",
  15877. "type": "number"
  15878. },
  15879. "futurefloatpl": {
  15880. "description": "期货浮动损益",
  15881. "type": "number"
  15882. },
  15883. "goodsunitid": {
  15884. "description": "套保品种单位id",
  15885. "type": "integer"
  15886. },
  15887. "middlegoodscode": {
  15888. "description": "套保品种代码",
  15889. "type": "string"
  15890. },
  15891. "middlegoodsid": {
  15892. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15893. "type": "integer"
  15894. },
  15895. "middlegoodsname": {
  15896. "description": "套保品种名称",
  15897. "type": "string"
  15898. },
  15899. "reckondate": {
  15900. "description": "日照时期(yyyyMMdd)",
  15901. "type": "string"
  15902. },
  15903. "spotactualpl": {
  15904. "description": "现货损益",
  15905. "type": "number"
  15906. },
  15907. "spotfloatpl": {
  15908. "description": "现货浮动损益",
  15909. "type": "number"
  15910. },
  15911. "sumactualpl": {
  15912. "description": "实际损益 = (ActualPL + FutureActualPL)",
  15913. "type": "number"
  15914. },
  15915. "sumpl": {
  15916. "description": "汇总损益",
  15917. "type": "number"
  15918. },
  15919. "updatetime": {
  15920. "description": "更新时间",
  15921. "type": "string"
  15922. }
  15923. }
  15924. },
  15925. "models.Ermcp3Brand": {
  15926. "type": "object",
  15927. "properties": {
  15928. "areauserid": {
  15929. "description": "用户id",
  15930. "type": "integer"
  15931. },
  15932. "brandid": {
  15933. "description": "品牌id",
  15934. "type": "integer"
  15935. },
  15936. "brandname": {
  15937. "description": "品牌名称",
  15938. "type": "string"
  15939. },
  15940. "deliverygoodsid": {
  15941. "description": "品种ID",
  15942. "type": "integer"
  15943. }
  15944. }
  15945. },
  15946. "models.Ermcp3Contract": {
  15947. "type": "object",
  15948. "properties": {
  15949. "accountid": {
  15950. "description": "期货账户id",
  15951. "type": "string"
  15952. },
  15953. "amount": {
  15954. "description": "金额 [1:一口价、3:暂定价]",
  15955. "type": "number"
  15956. },
  15957. "attachment": {
  15958. "description": "附件",
  15959. "type": "string"
  15960. },
  15961. "auditremark": {
  15962. "description": "审核意见",
  15963. "type": "string"
  15964. },
  15965. "audittime": {
  15966. "description": "审核时间",
  15967. "type": "string"
  15968. },
  15969. "biztype": {
  15970. "description": "业务类型 1-套保 2-套利",
  15971. "type": "integer"
  15972. },
  15973. "brandname": {
  15974. "description": "品牌名称",
  15975. "type": "string"
  15976. },
  15977. "buynickname": {
  15978. "description": "销售方昵称",
  15979. "type": "string"
  15980. },
  15981. "buyuserid": {
  15982. "description": "采购方ID",
  15983. "type": "integer"
  15984. },
  15985. "buyusername": {
  15986. "description": "采购方名称",
  15987. "type": "string"
  15988. },
  15989. "contracctstatus": {
  15990. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15991. "type": "integer"
  15992. },
  15993. "contractmargin": {
  15994. "description": "合同保证金",
  15995. "type": "number"
  15996. },
  15997. "contractno": {
  15998. "description": "现货合同编号",
  15999. "type": "string"
  16000. },
  16001. "contracttype": {
  16002. "description": "现货合同类型 - 1:采购 -1:销售",
  16003. "type": "integer"
  16004. },
  16005. "convertfactor": {
  16006. "description": "标仓系数(品类)",
  16007. "type": "number"
  16008. },
  16009. "createtime": {
  16010. "description": "创建时间",
  16011. "type": "string"
  16012. },
  16013. "currencyid": {
  16014. "description": "币种id",
  16015. "type": "integer"
  16016. },
  16017. "currencyname": {
  16018. "description": "币种名称",
  16019. "type": "string"
  16020. },
  16021. "deliveryenddate": {
  16022. "description": "交收期(结束)",
  16023. "type": "string"
  16024. },
  16025. "deliverygoodscode": {
  16026. "description": "现货品种代码",
  16027. "type": "string"
  16028. },
  16029. "deliverygoodsid": {
  16030. "description": "现货品种ID",
  16031. "type": "integer"
  16032. },
  16033. "deliverygoodsname": {
  16034. "description": "现货品种名称",
  16035. "type": "string"
  16036. },
  16037. "deliverystartdate": {
  16038. "description": "交收期(开始)",
  16039. "type": "string"
  16040. },
  16041. "enddate": {
  16042. "description": "点价结束日期 [2:点价 3:暂定价]",
  16043. "type": "string"
  16044. },
  16045. "enumdicname": {
  16046. "description": "单位名称",
  16047. "type": "string"
  16048. },
  16049. "goodscode": {
  16050. "description": "点价合约代码",
  16051. "type": "string"
  16052. },
  16053. "goodsid": {
  16054. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16055. "type": "integer"
  16056. },
  16057. "goodsname": {
  16058. "description": "点价商品名称",
  16059. "type": "string"
  16060. },
  16061. "margin": {
  16062. "description": "当前保证金",
  16063. "type": "number"
  16064. },
  16065. "meruserid": {
  16066. "description": "跟单员id",
  16067. "type": "integer"
  16068. },
  16069. "meruserlogincode": {
  16070. "description": "跟单员登录代码",
  16071. "type": "string"
  16072. },
  16073. "merusername": {
  16074. "description": "跟单员名称",
  16075. "type": "string"
  16076. },
  16077. "price": {
  16078. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16079. "type": "number"
  16080. },
  16081. "pricemove": {
  16082. "description": "升贴水 [2:点价 3:暂定价]",
  16083. "type": "number"
  16084. },
  16085. "pricetype": {
  16086. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16087. "type": "integer"
  16088. },
  16089. "producttype": {
  16090. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16091. "type": "integer"
  16092. },
  16093. "qty": {
  16094. "description": "数量",
  16095. "type": "number"
  16096. },
  16097. "remark": {
  16098. "description": "备注",
  16099. "type": "string"
  16100. },
  16101. "saleuserid": {
  16102. "description": "业务员id",
  16103. "type": "integer"
  16104. },
  16105. "saleuserlogincode": {
  16106. "description": "业务员登录代码",
  16107. "type": "string"
  16108. },
  16109. "saleusername": {
  16110. "description": "业务员名称",
  16111. "type": "string"
  16112. },
  16113. "sellnickname": {
  16114. "description": "采购方昵称",
  16115. "type": "string"
  16116. },
  16117. "selluserid": {
  16118. "description": "销售方ID",
  16119. "type": "integer"
  16120. },
  16121. "sellusername": {
  16122. "description": "销售方名称",
  16123. "type": "string"
  16124. },
  16125. "spotcontractid": {
  16126. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16127. "type": "string"
  16128. },
  16129. "spotgoodsbrandid": {
  16130. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16131. "type": "integer"
  16132. },
  16133. "spotgoodsdesc": {
  16134. "description": "商品型号",
  16135. "type": "string"
  16136. },
  16137. "startdate": {
  16138. "description": "点价开始日期 [2:点价 3:暂定价]",
  16139. "type": "string"
  16140. },
  16141. "tradeuserid": {
  16142. "description": "交易员id",
  16143. "type": "integer"
  16144. },
  16145. "tradeuserlogincode": {
  16146. "description": "交易员登录代码",
  16147. "type": "string"
  16148. },
  16149. "tradeusername": {
  16150. "description": "交易员名称",
  16151. "type": "string"
  16152. },
  16153. "unitid": {
  16154. "description": "单位id(取品类上的单位id)",
  16155. "type": "integer"
  16156. },
  16157. "updatetime": {
  16158. "description": "更新时间",
  16159. "type": "string"
  16160. },
  16161. "userid": {
  16162. "description": "所属机构ID",
  16163. "type": "integer"
  16164. },
  16165. "wrstandardcode": {
  16166. "description": "品类代码",
  16167. "type": "string"
  16168. },
  16169. "wrstandardid": {
  16170. "description": "品类ID",
  16171. "type": "integer"
  16172. },
  16173. "wrstandardname": {
  16174. "description": "品类名称",
  16175. "type": "string"
  16176. }
  16177. }
  16178. },
  16179. "models.Ermcp3ExposureContractDetail": {
  16180. "type": "object",
  16181. "properties": {
  16182. "biztype": {
  16183. "description": "业务类型 1-套保 2-套利",
  16184. "type": "integer"
  16185. },
  16186. "brandname": {
  16187. "description": "品牌名称",
  16188. "type": "string"
  16189. },
  16190. "buyuserid": {
  16191. "description": "采购方id",
  16192. "type": "integer"
  16193. },
  16194. "buyusername": {
  16195. "description": "采购方名称",
  16196. "type": "string"
  16197. },
  16198. "contractno": {
  16199. "description": "合同编号",
  16200. "type": "string"
  16201. },
  16202. "contracttype": {
  16203. "description": "现货合同类型 - 1:采购 -1:销售",
  16204. "type": "integer"
  16205. },
  16206. "convertfactor": {
  16207. "description": "标仓系数",
  16208. "type": "number"
  16209. },
  16210. "convertratio": {
  16211. "description": "折算系数(套保品种)",
  16212. "type": "number"
  16213. },
  16214. "curqty": {
  16215. "description": "今定价量",
  16216. "type": "number"
  16217. },
  16218. "deliverygoodscode": {
  16219. "description": "现货商品代码",
  16220. "type": "string"
  16221. },
  16222. "deliverygoodsid": {
  16223. "description": "现货商品id",
  16224. "type": "integer"
  16225. },
  16226. "deliverygoodsname": {
  16227. "description": "现货商品名称",
  16228. "type": "string"
  16229. },
  16230. "diffhedgeqty": {
  16231. "description": "套保变动量",
  16232. "type": "number"
  16233. },
  16234. "diffneedhedgeqty": {
  16235. "description": "应套保变动量",
  16236. "type": "number"
  16237. },
  16238. "diffqty": {
  16239. "description": "套保品种今变动量",
  16240. "type": "number"
  16241. },
  16242. "enumdicname": {
  16243. "description": "单位名称",
  16244. "type": "string"
  16245. },
  16246. "middlegoodscode": {
  16247. "description": "套保品种代码",
  16248. "type": "string"
  16249. },
  16250. "middlegoodsid": {
  16251. "description": "套保品种id",
  16252. "type": "integer"
  16253. },
  16254. "middlegoodsname": {
  16255. "description": "套保品种名称",
  16256. "type": "string"
  16257. },
  16258. "needarbitrageratio": {
  16259. "description": "应套利比例",
  16260. "type": "number"
  16261. },
  16262. "needhedgeratio": {
  16263. "description": "应套保比例",
  16264. "type": "number"
  16265. },
  16266. "pricedqty": {
  16267. "description": "已定价量",
  16268. "type": "number"
  16269. },
  16270. "qty": {
  16271. "description": "合同量",
  16272. "type": "number"
  16273. },
  16274. "selluserid": {
  16275. "description": "销售方id",
  16276. "type": "integer"
  16277. },
  16278. "sellusername": {
  16279. "description": "销售方名称",
  16280. "type": "string"
  16281. },
  16282. "spotcontractid": {
  16283. "description": "合同id",
  16284. "type": "string"
  16285. },
  16286. "todaypricedqty": {
  16287. "description": "今定价量",
  16288. "type": "number"
  16289. },
  16290. "tradedate": {
  16291. "description": "交易日",
  16292. "type": "string"
  16293. },
  16294. "unitid": {
  16295. "description": "品类单位id",
  16296. "type": "integer"
  16297. },
  16298. "userid": {
  16299. "description": "机构id",
  16300. "type": "integer"
  16301. },
  16302. "wrstandardcode": {
  16303. "description": "品类代码",
  16304. "type": "string"
  16305. },
  16306. "wrstandardid": {
  16307. "description": "品类id",
  16308. "type": "integer"
  16309. },
  16310. "wrstandardname": {
  16311. "description": "品类名称",
  16312. "type": "string"
  16313. }
  16314. }
  16315. },
  16316. "models.Ermcp3ExposureDetail": {
  16317. "type": "object",
  16318. "properties": {
  16319. "areauserid": {
  16320. "description": "机构ID",
  16321. "type": "integer"
  16322. },
  16323. "changeQty": {
  16324. "description": "套保变动量",
  16325. "type": "number"
  16326. },
  16327. "contracttype": {
  16328. "description": "现货合同类型 - 1:采购 -1:销售",
  16329. "type": "integer"
  16330. },
  16331. "convertfactor": {
  16332. "description": "标仓系数",
  16333. "type": "number"
  16334. },
  16335. "convertratio": {
  16336. "description": "套保系数",
  16337. "type": "number"
  16338. },
  16339. "createtime": {
  16340. "description": "时间",
  16341. "type": "string"
  16342. },
  16343. "deliverygoodscode": {
  16344. "description": "现货品种代码",
  16345. "type": "string"
  16346. },
  16347. "deliverygoodsid": {
  16348. "description": "现货品种id",
  16349. "type": "integer"
  16350. },
  16351. "deliverygoodsname": {
  16352. "description": "现货品种名称",
  16353. "type": "string"
  16354. },
  16355. "enumdicname": {
  16356. "description": "现货商品单位名称",
  16357. "type": "string"
  16358. },
  16359. "logtype": {
  16360. "description": "类型 - 1:套保计划 2:现货合同",
  16361. "type": "integer"
  16362. },
  16363. "mgunitid": {
  16364. "description": "套保品种单位id",
  16365. "type": "integer"
  16366. },
  16367. "mgunitidname": {
  16368. "description": "套保品种单位名称",
  16369. "type": "string"
  16370. },
  16371. "middlegoodsId": {
  16372. "description": "套保商品id",
  16373. "type": "integer"
  16374. },
  16375. "middlegoodscode": {
  16376. "description": "套保商品代码",
  16377. "type": "string"
  16378. },
  16379. "middlegoodsname": {
  16380. "description": "套保商品名称",
  16381. "type": "string"
  16382. },
  16383. "qty": {
  16384. "description": "数量",
  16385. "type": "number"
  16386. },
  16387. "relateNo": {
  16388. "description": "现货合同/套保计划编号",
  16389. "type": "string"
  16390. }
  16391. }
  16392. },
  16393. "models.Ermcp3ExposureFutuDetail": {
  16394. "type": "object",
  16395. "properties": {
  16396. "accountid": {
  16397. "description": "交易账户id",
  16398. "type": "integer"
  16399. },
  16400. "accountname": {
  16401. "description": "交易账户",
  16402. "type": "string"
  16403. },
  16404. "begindate": {
  16405. "description": "开始交易日",
  16406. "type": "string"
  16407. },
  16408. "buyorsell": {
  16409. "description": "方向 0-买 1-卖",
  16410. "type": "integer"
  16411. },
  16412. "diffmgqty": {
  16413. "description": "套保品种今变化量",
  16414. "type": "number"
  16415. },
  16416. "diffneedqty": {
  16417. "description": "应套保总量变化量",
  16418. "type": "number"
  16419. },
  16420. "difftradeqty": {
  16421. "description": "交易品种今变化量",
  16422. "type": "number"
  16423. },
  16424. "enddate": {
  16425. "description": "结束交易日",
  16426. "type": "string"
  16427. },
  16428. "enumdicname": {
  16429. "description": "单位名称",
  16430. "type": "string"
  16431. },
  16432. "goodscode": {
  16433. "description": "商品代码",
  16434. "type": "string"
  16435. },
  16436. "goodsid": {
  16437. "description": "商品id",
  16438. "type": "integer"
  16439. },
  16440. "goodsname": {
  16441. "description": "商品名称",
  16442. "type": "string"
  16443. },
  16444. "holdqty": {
  16445. "description": "期末持仓量",
  16446. "type": "number"
  16447. },
  16448. "middlegoodscode": {
  16449. "description": "套保商品代码",
  16450. "type": "string"
  16451. },
  16452. "middlegoodsid": {
  16453. "description": "套保商品id",
  16454. "type": "integer"
  16455. },
  16456. "middlegoodsname": {
  16457. "description": "套保商品名称",
  16458. "type": "string"
  16459. },
  16460. "oriholdqty": {
  16461. "description": "期初持仓量",
  16462. "type": "number"
  16463. },
  16464. "todaycloseqty": {
  16465. "description": "今平仓量",
  16466. "type": "number"
  16467. },
  16468. "todayopenqty": {
  16469. "description": "今开仓量",
  16470. "type": "number"
  16471. },
  16472. "tradedate": {
  16473. "description": "交易日",
  16474. "type": "string"
  16475. }
  16476. }
  16477. },
  16478. "models.Ermcp3ExposureHedgeplanDetail": {
  16479. "type": "object",
  16480. "properties": {
  16481. "biztype": {
  16482. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16483. "type": "integer"
  16484. },
  16485. "changqty": {
  16486. "description": "应套保总量变化量",
  16487. "type": "number"
  16488. },
  16489. "contracttype": {
  16490. "description": "计划类型 - 1:采购 -1:销售",
  16491. "type": "integer"
  16492. },
  16493. "convertratio": {
  16494. "description": "折算系数(套保品种)",
  16495. "type": "number"
  16496. },
  16497. "deliverygoodscode": {
  16498. "description": "现货商品代码",
  16499. "type": "string"
  16500. },
  16501. "deliverygoodsid": {
  16502. "description": "现货商品id",
  16503. "type": "integer"
  16504. },
  16505. "deliverygoodsname": {
  16506. "description": "现货商吕名称",
  16507. "type": "string"
  16508. },
  16509. "dgunitid": {
  16510. "description": "现货商品单位id",
  16511. "type": "integer"
  16512. },
  16513. "dgunitidname": {
  16514. "description": "单位名称(现货商品)",
  16515. "type": "string"
  16516. },
  16517. "diffqty": {
  16518. "description": "套保品种今变动量",
  16519. "type": "number"
  16520. },
  16521. "enumdicname": {
  16522. "description": "单位名称(品类)",
  16523. "type": "string"
  16524. },
  16525. "hedgeplanid": {
  16526. "description": "套保计划id",
  16527. "type": "string"
  16528. },
  16529. "hedgeplanno": {
  16530. "description": "套保计划名称",
  16531. "type": "string"
  16532. },
  16533. "hedgeplanstatus": {
  16534. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16535. "type": "integer"
  16536. },
  16537. "mgunitidname": {
  16538. "description": "单位名称(套保商品)",
  16539. "type": "string"
  16540. },
  16541. "middlegoodscode": {
  16542. "description": "套保品种代码",
  16543. "type": "string"
  16544. },
  16545. "middlegoodsid": {
  16546. "description": "套保品种id",
  16547. "type": "integer"
  16548. },
  16549. "middlegoodsname": {
  16550. "description": "套保品种名称",
  16551. "type": "string"
  16552. },
  16553. "needarbitrageratio": {
  16554. "description": "应套利比例",
  16555. "type": "number"
  16556. },
  16557. "needhedgeratio": {
  16558. "description": "应套保比例",
  16559. "type": "number"
  16560. },
  16561. "pricedqty": {
  16562. "description": "已定价量",
  16563. "type": "number"
  16564. },
  16565. "qty": {
  16566. "description": "合同量",
  16567. "type": "number"
  16568. },
  16569. "tradedate": {
  16570. "description": "交易日(登记日)",
  16571. "type": "string"
  16572. },
  16573. "unitid": {
  16574. "description": "品类单位id",
  16575. "type": "integer"
  16576. },
  16577. "userid": {
  16578. "description": "机构id",
  16579. "type": "integer"
  16580. },
  16581. "wrstandardcode": {
  16582. "description": "品类代码",
  16583. "type": "string"
  16584. },
  16585. "wrstandardid": {
  16586. "description": "品类id",
  16587. "type": "integer"
  16588. },
  16589. "wrstandardname": {
  16590. "description": "品类名称",
  16591. "type": "string"
  16592. }
  16593. }
  16594. },
  16595. "models.Ermcp3ExposureParamChLog": {
  16596. "type": "object",
  16597. "properties": {
  16598. "accountid": {
  16599. "description": "期货账户ID (作废, 默认为0)",
  16600. "type": "integer"
  16601. },
  16602. "aftervalue": {
  16603. "description": "应套保\\套利量变更后(调整后应套保总量)",
  16604. "type": "number"
  16605. },
  16606. "areauserid": {
  16607. "description": "所属机构\\交易用户ID",
  16608. "type": "integer"
  16609. },
  16610. "beforevalue": {
  16611. "description": "应套保\\套利量变更前(调整前应套保总量)",
  16612. "type": "number"
  16613. },
  16614. "begindate": {
  16615. "description": "开始交易日",
  16616. "type": "string"
  16617. },
  16618. "changelogtype": {
  16619. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  16620. "type": "integer"
  16621. },
  16622. "curvalue": {
  16623. "description": "当前套保\\套利量(套保总量|套利总量)",
  16624. "type": "number"
  16625. },
  16626. "diffvalue": {
  16627. "description": "应套保总量变化量",
  16628. "type": "number"
  16629. },
  16630. "enddate": {
  16631. "description": "结束交易日",
  16632. "type": "string"
  16633. },
  16634. "logdatetime": {
  16635. "description": "流水日期",
  16636. "type": "string"
  16637. },
  16638. "logid": {
  16639. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  16640. "type": "string"
  16641. },
  16642. "middlegoodscode": {
  16643. "description": "套保品种代码",
  16644. "type": "string"
  16645. },
  16646. "middlegoodsid": {
  16647. "description": "套保品种",
  16648. "type": "integer"
  16649. },
  16650. "middlegoodsname": {
  16651. "description": "套保品种名称",
  16652. "type": "string"
  16653. },
  16654. "paramaftervalue": {
  16655. "description": "参数变更后(调整后参数值)",
  16656. "type": "number"
  16657. },
  16658. "parambeforevalue": {
  16659. "description": "参数变更前(调整前参数值)",
  16660. "type": "number"
  16661. },
  16662. "tradedate": {
  16663. "description": "交易日(yyyyMMdd)",
  16664. "type": "string"
  16665. }
  16666. }
  16667. },
  16668. "models.Ermcp3ExpourseReport": {
  16669. "type": "object",
  16670. "properties": {
  16671. "accountid": {
  16672. "description": "期货账户ID (作废, 默认为0)",
  16673. "type": "integer"
  16674. },
  16675. "accountname": {
  16676. "description": "机构名称",
  16677. "type": "string"
  16678. },
  16679. "arbitrageqty": {
  16680. "description": "套利量",
  16681. "type": "number"
  16682. },
  16683. "areauserid": {
  16684. "description": "所属机构\\交易用户ID",
  16685. "type": "integer"
  16686. },
  16687. "begindate": {
  16688. "description": "开始交易日",
  16689. "type": "string"
  16690. },
  16691. "buyfutureqty": {
  16692. "description": "买入期货数量",
  16693. "type": "number"
  16694. },
  16695. "buyplanqty": {
  16696. "description": "采购计划数量",
  16697. "type": "number"
  16698. },
  16699. "buypricedqty": {
  16700. "description": "采购合同已定价数量",
  16701. "type": "number"
  16702. },
  16703. "cycletime": {
  16704. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16705. "type": "string"
  16706. },
  16707. "cycletype": {
  16708. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16709. "type": "integer"
  16710. },
  16711. "diffexposure": {
  16712. "description": "变动量(套保敞口)",
  16713. "type": "number"
  16714. },
  16715. "difffutuqty": {
  16716. "description": "变动量(期货)",
  16717. "type": "number"
  16718. },
  16719. "diffhedgeqty": {
  16720. "description": "变动量(现货应套保总量)",
  16721. "type": "number"
  16722. },
  16723. "diffmgqtya": {
  16724. "description": "套保变动量",
  16725. "type": "number"
  16726. },
  16727. "diffmgqtyb": {
  16728. "description": "套利变动量",
  16729. "type": "number"
  16730. },
  16731. "diffqty": {
  16732. "description": "变动量(总敞口)",
  16733. "type": "number"
  16734. },
  16735. "diffspotqty": {
  16736. "description": "变动量(现货)",
  16737. "type": "number"
  16738. },
  16739. "enddate": {
  16740. "description": "结束交易日",
  16741. "type": "string"
  16742. },
  16743. "enumdicname": {
  16744. "description": "单位名称",
  16745. "type": "string"
  16746. },
  16747. "hedgeqty": {
  16748. "description": "套保量",
  16749. "type": "number"
  16750. },
  16751. "mgneedhedgeratio": {
  16752. "description": "套保比例(套保品的)",
  16753. "type": "number"
  16754. },
  16755. "middlegoodsid": {
  16756. "description": "套保品种ID",
  16757. "type": "integer"
  16758. },
  16759. "middlegoodsname": {
  16760. "description": "套保商品名称",
  16761. "type": "string"
  16762. },
  16763. "middlgoodscode": {
  16764. "description": "套保商品代码",
  16765. "type": "string"
  16766. },
  16767. "needarbitrageqty": {
  16768. "description": "应套利量",
  16769. "type": "number"
  16770. },
  16771. "needarbitrageratio": {
  16772. "description": "套利比例(套保品的)",
  16773. "type": "number"
  16774. },
  16775. "needhedgeexposoure": {
  16776. "description": "应套保敞口(套保敞口)",
  16777. "type": "number"
  16778. },
  16779. "needhedgeqty": {
  16780. "description": "应套保量",
  16781. "type": "number"
  16782. },
  16783. "needhedgeratio": {
  16784. "description": "应套保敞口比例",
  16785. "type": "number"
  16786. },
  16787. "oriarbitrageqty": {
  16788. "description": "期初套利量",
  16789. "type": "number"
  16790. },
  16791. "oribuyfutureqty": {
  16792. "description": "期初买入期货数量",
  16793. "type": "number"
  16794. },
  16795. "oribuyplanqty": {
  16796. "description": "期初采购计划数量",
  16797. "type": "number"
  16798. },
  16799. "oribuypricedqty": {
  16800. "description": "期初采购合同已定价数量",
  16801. "type": "number"
  16802. },
  16803. "orihedgeqty": {
  16804. "description": "期初套保量",
  16805. "type": "number"
  16806. },
  16807. "orineedarbitrageqty": {
  16808. "description": "期初应套利量",
  16809. "type": "number"
  16810. },
  16811. "orineedhedgeexposoure": {
  16812. "description": "期初应套保敞口",
  16813. "type": "number"
  16814. },
  16815. "orineedhedgeqty": {
  16816. "description": "期初应套保量",
  16817. "type": "number"
  16818. },
  16819. "orisellfutureqty": {
  16820. "description": "期初卖出期货数量",
  16821. "type": "number"
  16822. },
  16823. "orisellplanqty": {
  16824. "description": "期初销售计划数量",
  16825. "type": "number"
  16826. },
  16827. "orisellpricedqty": {
  16828. "description": "期初销售合同已定价数量",
  16829. "type": "number"
  16830. },
  16831. "oritotalexposure": {
  16832. "description": "期初实时总敞口",
  16833. "type": "number"
  16834. },
  16835. "oritotalfutureqty": {
  16836. "description": "期初期货头寸总量",
  16837. "type": "number"
  16838. },
  16839. "oritotalneedhedgeqty": {
  16840. "description": "期初应套保总量",
  16841. "type": "number"
  16842. },
  16843. "oritotalspotqty": {
  16844. "description": "期初现货头寸总量",
  16845. "type": "number"
  16846. },
  16847. "reckondate": {
  16848. "description": "日照时期(yyyyMMdd)",
  16849. "type": "string"
  16850. },
  16851. "sellfutureqty": {
  16852. "description": "卖出期货数量",
  16853. "type": "number"
  16854. },
  16855. "sellplanqty": {
  16856. "description": "销售计划数量",
  16857. "type": "number"
  16858. },
  16859. "sellpricedqty": {
  16860. "description": "销售合同已定价数量",
  16861. "type": "number"
  16862. },
  16863. "totalexposure": {
  16864. "description": "实时总敞口(总敞口)",
  16865. "type": "number"
  16866. },
  16867. "totalfutureqty": {
  16868. "description": "期货头寸总量(期货总量)",
  16869. "type": "number"
  16870. },
  16871. "totalhedgeratio": {
  16872. "description": "敞口比例",
  16873. "type": "number"
  16874. },
  16875. "totalneedhedgeqty": {
  16876. "description": "应套保总量(现货应套保总量)",
  16877. "type": "number"
  16878. },
  16879. "totalspotqty": {
  16880. "description": "现货头寸总量",
  16881. "type": "number"
  16882. },
  16883. "unitid": {
  16884. "description": "单位id",
  16885. "type": "integer"
  16886. },
  16887. "updatetime": {
  16888. "description": "更新时间",
  16889. "type": "string"
  16890. }
  16891. }
  16892. },
  16893. "models.Ermcp3FinanceReport": {
  16894. "type": "object",
  16895. "properties": {
  16896. "accountname": {
  16897. "description": "机构名称",
  16898. "type": "string"
  16899. },
  16900. "areauserid": {
  16901. "description": "所属机构\\交易用户ID",
  16902. "type": "integer"
  16903. },
  16904. "begindate": {
  16905. "description": "开始交易日",
  16906. "type": "string"
  16907. },
  16908. "biztype": {
  16909. "description": "业务类型 - 1:套保 2:套利",
  16910. "type": "integer"
  16911. },
  16912. "brandname": {
  16913. "description": "品牌名称",
  16914. "type": "string"
  16915. },
  16916. "buypreinvoicedamount": {
  16917. "description": "采购预收票额(预收票额)",
  16918. "type": "number"
  16919. },
  16920. "buyprepaidamount": {
  16921. "description": "采购预付款额(预付货款额)",
  16922. "type": "number"
  16923. },
  16924. "buytodayinvoiceamount": {
  16925. "description": "采购今收票额(今收票额)",
  16926. "type": "number"
  16927. },
  16928. "buytodayrefundamount": {
  16929. "description": "采购今收退款额(今收退款额)",
  16930. "type": "number"
  16931. },
  16932. "buytodaysettleamount": {
  16933. "description": "采购今付款额(今付货款额)",
  16934. "type": "number"
  16935. },
  16936. "buyuninvoicedamount": {
  16937. "description": "采购应收票额(应收票额)",
  16938. "type": "number"
  16939. },
  16940. "buyunpaidamount": {
  16941. "description": "采购应付款额(应付货款额)",
  16942. "type": "number"
  16943. },
  16944. "currencyid": {
  16945. "description": "结算币种ID",
  16946. "type": "integer"
  16947. },
  16948. "currencyname": {
  16949. "description": "币种名称",
  16950. "type": "string"
  16951. },
  16952. "cycletime": {
  16953. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16954. "type": "string"
  16955. },
  16956. "cycletype": {
  16957. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16958. "type": "integer"
  16959. },
  16960. "deliverygoodscode": {
  16961. "description": "现货品种代码",
  16962. "type": "string"
  16963. },
  16964. "deliverygoodsid": {
  16965. "description": "现货品种ID",
  16966. "type": "integer"
  16967. },
  16968. "deliverygoodsname": {
  16969. "description": "现货品种名称",
  16970. "type": "string"
  16971. },
  16972. "enddate": {
  16973. "description": "结束交易日",
  16974. "type": "string"
  16975. },
  16976. "reckondate": {
  16977. "description": "日照时期(yyyyMMdd)",
  16978. "type": "string"
  16979. },
  16980. "sellpreinvoicedamount": {
  16981. "description": "销售预开票额(预开票额)",
  16982. "type": "number"
  16983. },
  16984. "sellprepaidamount": {
  16985. "description": "销售预收款额(预收货款额)",
  16986. "type": "number"
  16987. },
  16988. "selltodayinvoiceamount": {
  16989. "description": "销售今开票额(今开票额)",
  16990. "type": "number"
  16991. },
  16992. "selltodayrefundamount": {
  16993. "description": "销售今付退款额(今付退款额)",
  16994. "type": "number"
  16995. },
  16996. "selltodaysettleamount": {
  16997. "description": "销售今收款额(今收货款额)",
  16998. "type": "number"
  16999. },
  17000. "selluninvoicedamount": {
  17001. "description": "销售应开票额(应开票额)",
  17002. "type": "number"
  17003. },
  17004. "sellunpaidamount": {
  17005. "description": "销售应收款额(应收货款额)",
  17006. "type": "number"
  17007. },
  17008. "spotgoodsbrandid": {
  17009. "description": "现货品牌ID",
  17010. "type": "integer"
  17011. },
  17012. "todaypaysum": {
  17013. "description": "今付款合计",
  17014. "type": "number"
  17015. },
  17016. "todayreceivesum": {
  17017. "description": "今收款合计",
  17018. "type": "number"
  17019. },
  17020. "updatetime": {
  17021. "description": "更新时间",
  17022. "type": "string"
  17023. },
  17024. "wrfactortypeid": {
  17025. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17026. "type": "integer"
  17027. },
  17028. "wrstandardcode": {
  17029. "description": "品类代码",
  17030. "type": "string"
  17031. },
  17032. "wrstandardid": {
  17033. "description": "现货商品ID",
  17034. "type": "integer"
  17035. },
  17036. "wrstandardname": {
  17037. "description": "品类名称",
  17038. "type": "string"
  17039. }
  17040. }
  17041. },
  17042. "models.Ermcp3Goods": {
  17043. "type": "object",
  17044. "properties": {
  17045. "agreeunit": {
  17046. "description": "合约单位(合约乘数)",
  17047. "type": "number"
  17048. },
  17049. "enumdicname": {
  17050. "description": "单位名称",
  17051. "type": "string"
  17052. },
  17053. "exexchangecode": {
  17054. "description": "交易所代码",
  17055. "type": "string"
  17056. },
  17057. "goodscode": {
  17058. "description": "期货商品代码",
  17059. "type": "string"
  17060. },
  17061. "goodsid": {
  17062. "description": "期货商品id",
  17063. "type": "integer"
  17064. },
  17065. "goodsname": {
  17066. "description": "期货商品名称",
  17067. "type": "string"
  17068. }
  17069. }
  17070. },
  17071. "models.Ermcp3GoodsGroup": {
  17072. "type": "object",
  17073. "required": [
  17074. "areauserid"
  17075. ],
  17076. "properties": {
  17077. "agreeunit": {
  17078. "description": "合约单位",
  17079. "type": "number"
  17080. },
  17081. "areauserid": {
  17082. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17083. "type": "integer"
  17084. },
  17085. "canshort": {
  17086. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17087. "type": "integer"
  17088. },
  17089. "closepricemode": {
  17090. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17091. "type": "integer"
  17092. },
  17093. "createtime": {
  17094. "description": "创建时间",
  17095. "type": "string"
  17096. },
  17097. "creatorid": {
  17098. "description": "创建人",
  17099. "type": "integer"
  17100. },
  17101. "currencyid": {
  17102. "description": "报价货币ID",
  17103. "type": "integer"
  17104. },
  17105. "decimalplace": {
  17106. "description": "报价小数位",
  17107. "type": "integer"
  17108. },
  17109. "enumdicname": {
  17110. "description": "单位名称",
  17111. "type": "string"
  17112. },
  17113. "exchangefullname": {
  17114. "description": "交易所全称",
  17115. "type": "string"
  17116. },
  17117. "excludecfg": {
  17118. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17119. "type": "integer"
  17120. },
  17121. "exexchangecode": {
  17122. "description": "交易所代码",
  17123. "type": "string"
  17124. },
  17125. "exexchangeid": {
  17126. "description": "外部交易所ID[通道交易]",
  17127. "type": "integer"
  17128. },
  17129. "exexchangename": {
  17130. "description": "交易所名称",
  17131. "type": "string"
  17132. },
  17133. "goodsgroupid": {
  17134. "description": "商品组ID(自增ID)",
  17135. "type": "integer"
  17136. },
  17137. "goodsgroupname": {
  17138. "description": "商品组名称",
  17139. "type": "string"
  17140. },
  17141. "goodsgroupstatus": {
  17142. "description": "商品组状态 - 1:正常 2:注销",
  17143. "type": "integer"
  17144. },
  17145. "goodunitid": {
  17146. "description": "报价单位ID",
  17147. "type": "integer"
  17148. },
  17149. "groupcategroyid": {
  17150. "description": "品种分类ID",
  17151. "type": "integer"
  17152. },
  17153. "innerdealmode": {
  17154. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17155. "type": "integer"
  17156. },
  17157. "marketid": {
  17158. "description": "所属市场ID",
  17159. "type": "integer"
  17160. },
  17161. "modifierid": {
  17162. "description": "修改人",
  17163. "type": "integer"
  17164. },
  17165. "modifytime": {
  17166. "description": "修改时间",
  17167. "type": "string"
  17168. },
  17169. "outerdealmode": {
  17170. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17171. "type": "integer"
  17172. },
  17173. "outergroupcode": {
  17174. "description": "外部商品组代码[通道交易]",
  17175. "type": "string"
  17176. },
  17177. "quoteminunit": {
  17178. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17179. "type": "integer"
  17180. },
  17181. "quotesourcegroupid": {
  17182. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17183. "type": "integer"
  17184. },
  17185. "syncgoodsqty": {
  17186. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17187. "type": "integer"
  17188. }
  17189. }
  17190. },
  17191. "models.Ermcp3GoodsGroupEx": {
  17192. "type": "object",
  17193. "properties": {
  17194. "convertratio": {
  17195. "description": "折算系数(品种系数)",
  17196. "type": "number"
  17197. },
  17198. "enumdicname": {
  17199. "description": "单位名称",
  17200. "type": "string"
  17201. },
  17202. "exexchangecode": {
  17203. "description": "交易所代码",
  17204. "type": "string"
  17205. },
  17206. "glist": {
  17207. "description": "合约列表",
  17208. "type": "array",
  17209. "items": {
  17210. "$ref": "#/definitions/models.Ermcp3Goods"
  17211. }
  17212. },
  17213. "goodsgroupid": {
  17214. "description": "商品组id",
  17215. "type": "integer"
  17216. },
  17217. "goodsgroupname": {
  17218. "description": "商品组名称",
  17219. "type": "string"
  17220. },
  17221. "goodsunitid": {
  17222. "description": "单位id",
  17223. "type": "integer"
  17224. },
  17225. "middlegoodsid": {
  17226. "description": "套保商品id",
  17227. "type": "integer"
  17228. }
  17229. }
  17230. },
  17231. "models.Ermcp3HedgePlan": {
  17232. "type": "object",
  17233. "properties": {
  17234. "accountid": {
  17235. "description": "资金账号",
  17236. "type": "integer"
  17237. },
  17238. "areauserid": {
  17239. "description": "用户ID",
  17240. "type": "integer"
  17241. },
  17242. "auditid": {
  17243. "description": "审核id",
  17244. "type": "integer"
  17245. },
  17246. "auditname": {
  17247. "description": "审核人名称",
  17248. "type": "string"
  17249. },
  17250. "auditremark": {
  17251. "description": "审核备注",
  17252. "type": "string"
  17253. },
  17254. "auditsrc": {
  17255. "description": "审核来源 1-管理端 2-终端",
  17256. "type": "integer"
  17257. },
  17258. "audittime": {
  17259. "description": "审核时间",
  17260. "type": "string"
  17261. },
  17262. "contracttype": {
  17263. "description": "计划类型 - 1:采购 -1:销售",
  17264. "type": "integer"
  17265. },
  17266. "convertfactor": {
  17267. "description": "标仓系数",
  17268. "type": "number"
  17269. },
  17270. "createtime": {
  17271. "description": "创建时间",
  17272. "type": "string"
  17273. },
  17274. "currencyid": {
  17275. "description": "币种id",
  17276. "type": "integer"
  17277. },
  17278. "currencyname": {
  17279. "description": "币种名称",
  17280. "type": "string"
  17281. },
  17282. "deliverygoodscode": {
  17283. "description": "现货品种代码",
  17284. "type": "string"
  17285. },
  17286. "deliverygoodsid": {
  17287. "description": "现货品种ID",
  17288. "type": "integer"
  17289. },
  17290. "deliverygoodsname": {
  17291. "description": "现货品种名称",
  17292. "type": "string"
  17293. },
  17294. "enumdicname": {
  17295. "description": "单位名称(现货商品)",
  17296. "type": "string"
  17297. },
  17298. "hedgeplanid": {
  17299. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17300. "type": "string"
  17301. },
  17302. "hedgeplanno": {
  17303. "description": "套保计划编号(名称)",
  17304. "type": "string"
  17305. },
  17306. "hedgeplanstatus": {
  17307. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17308. "type": "integer"
  17309. },
  17310. "planqty": {
  17311. "description": "计划数量",
  17312. "type": "number"
  17313. },
  17314. "plantime": {
  17315. "description": "计划时间",
  17316. "type": "string"
  17317. },
  17318. "producttype": {
  17319. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17320. "type": "integer"
  17321. },
  17322. "remark": {
  17323. "description": "备注",
  17324. "type": "string"
  17325. },
  17326. "spotgoodsdesc": {
  17327. "description": "商品型号",
  17328. "type": "string"
  17329. },
  17330. "taaccountname": {
  17331. "description": "资金账号名称",
  17332. "type": "string"
  17333. },
  17334. "tradeuserid": {
  17335. "description": "交易用户id",
  17336. "type": "integer"
  17337. },
  17338. "tradeusername": {
  17339. "description": "交易用户名称",
  17340. "type": "string"
  17341. },
  17342. "unitid": {
  17343. "description": "单位id(现货商品)",
  17344. "type": "integer"
  17345. },
  17346. "updatetime": {
  17347. "description": "更新时间",
  17348. "type": "string"
  17349. },
  17350. "wrstandardcode": {
  17351. "description": "品类代码",
  17352. "type": "string"
  17353. },
  17354. "wrstandardid": {
  17355. "description": "品类id",
  17356. "type": "integer"
  17357. },
  17358. "wrstandardname": {
  17359. "description": "品类名称",
  17360. "type": "string"
  17361. },
  17362. "wrunitid": {
  17363. "description": "品类单位id",
  17364. "type": "integer"
  17365. },
  17366. "wrunitidame": {
  17367. "description": "品类单位名称",
  17368. "type": "string"
  17369. }
  17370. }
  17371. },
  17372. "models.Ermcp3MiddleGoodsDetail2": {
  17373. "type": "object",
  17374. "properties": {
  17375. "convertratio": {
  17376. "description": "套保系数(折算系数)",
  17377. "type": "number"
  17378. },
  17379. "gplist": {
  17380. "description": "关联商品组列表",
  17381. "type": "array",
  17382. "items": {
  17383. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17384. }
  17385. },
  17386. "mg": {
  17387. "description": "套保商品信息",
  17388. "type": "object",
  17389. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17390. }
  17391. }
  17392. },
  17393. "models.Ermcp3MiddleGoodsDetailEx": {
  17394. "type": "object",
  17395. "properties": {
  17396. "dglist": {
  17397. "description": "关联的现货品种列表",
  17398. "type": "array",
  17399. "items": {
  17400. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17401. }
  17402. },
  17403. "gplist": {
  17404. "description": "关联商品组列表",
  17405. "type": "array",
  17406. "items": {
  17407. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17408. }
  17409. },
  17410. "mg": {
  17411. "description": "套保商品信息",
  17412. "type": "object",
  17413. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17414. }
  17415. }
  17416. },
  17417. "models.Ermcp3RootUserAccount": {
  17418. "type": "object",
  17419. "properties": {
  17420. "accountname": {
  17421. "description": "账户名称(机构名称)",
  17422. "type": "string"
  17423. },
  17424. "accountstatus": {
  17425. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17426. "type": "integer"
  17427. },
  17428. "applysrc": {
  17429. "description": "申请来源 - 1:管理端 2:终端",
  17430. "type": "integer"
  17431. },
  17432. "auditremark": {
  17433. "description": "审核备注",
  17434. "type": "string"
  17435. },
  17436. "auditsrc": {
  17437. "description": "审核来源 - 1:管理端 2:终端",
  17438. "type": "integer"
  17439. },
  17440. "audittime": {
  17441. "description": "审核时间",
  17442. "type": "string"
  17443. },
  17444. "audituserid": {
  17445. "description": "审核人",
  17446. "type": "integer"
  17447. },
  17448. "broker": {
  17449. "description": "所属经纪人ID",
  17450. "type": "integer"
  17451. },
  17452. "canceltime": {
  17453. "description": "销户时间",
  17454. "type": "string"
  17455. },
  17456. "canceluserid": {
  17457. "description": "销户人",
  17458. "type": "integer"
  17459. },
  17460. "canrecommend": {
  17461. "description": "是否可推荐 - 0:不可 1;可",
  17462. "type": "integer"
  17463. },
  17464. "createtime": {
  17465. "description": "创建时间",
  17466. "type": "string"
  17467. },
  17468. "creatorid": {
  17469. "description": "创建人",
  17470. "type": "integer"
  17471. },
  17472. "hasauth": {
  17473. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17474. "type": "integer"
  17475. },
  17476. "isanonymous": {
  17477. "description": "是否匿名下单 - 0:否 1:是",
  17478. "type": "integer"
  17479. },
  17480. "maxinvestornum": {
  17481. "description": "最大用户数(经纪会员下投资者个数)",
  17482. "type": "integer"
  17483. },
  17484. "memberuserid": {
  17485. "description": "所属会员ID",
  17486. "type": "integer"
  17487. },
  17488. "modifierid": {
  17489. "description": "修改人",
  17490. "type": "integer"
  17491. },
  17492. "modifyremark": {
  17493. "description": "变更备注",
  17494. "type": "string"
  17495. },
  17496. "modifystatus": {
  17497. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  17498. "type": "integer"
  17499. },
  17500. "modifytime": {
  17501. "description": "修改时间",
  17502. "type": "string"
  17503. },
  17504. "parenttopuser": {
  17505. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  17506. "type": "string"
  17507. },
  17508. "parentuserid": {
  17509. "description": "所属机构ID",
  17510. "type": "integer"
  17511. },
  17512. "reckonaccountid": {
  17513. "description": "默认结算资金账号ID(机构分润使用) 作废",
  17514. "type": "integer"
  17515. },
  17516. "refercount": {
  17517. "description": "推荐总人数",
  17518. "type": "integer"
  17519. },
  17520. "refereeuserid": {
  17521. "description": "推荐人ID",
  17522. "type": "integer"
  17523. },
  17524. "refernum": {
  17525. "description": "推荐码",
  17526. "type": "string"
  17527. },
  17528. "rootuserid": {
  17529. "description": "根用户ID",
  17530. "type": "integer"
  17531. },
  17532. "subaccountlevel": {
  17533. "description": "子账户层数",
  17534. "type": "integer"
  17535. },
  17536. "subarealevelpath": {
  17537. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  17538. "type": "string"
  17539. },
  17540. "userid": {
  17541. "description": "用户ID",
  17542. "type": "integer"
  17543. },
  17544. "usertype": {
  17545. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17546. "type": "integer"
  17547. }
  17548. }
  17549. },
  17550. "models.Ermcp3SellBuyContract": {
  17551. "type": "object",
  17552. "properties": {
  17553. "accountid": {
  17554. "description": "期货账户id",
  17555. "type": "string"
  17556. },
  17557. "accountname": {
  17558. "description": "账户名称",
  17559. "type": "string"
  17560. },
  17561. "attachment": {
  17562. "description": "附件",
  17563. "type": "string"
  17564. },
  17565. "audittime": {
  17566. "description": "审核时间",
  17567. "type": "string"
  17568. },
  17569. "biztype": {
  17570. "description": "业务类型 1-套保 2-套利",
  17571. "type": "integer"
  17572. },
  17573. "brandname": {
  17574. "description": "品牌名称",
  17575. "type": "string"
  17576. },
  17577. "contracctstatus": {
  17578. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17579. "type": "integer"
  17580. },
  17581. "contractmargin": {
  17582. "description": "合同保证金",
  17583. "type": "number"
  17584. },
  17585. "contractno": {
  17586. "description": "合同编号",
  17587. "type": "string"
  17588. },
  17589. "contracttype": {
  17590. "description": "合同类型 1-采购, -1-销售",
  17591. "type": "integer"
  17592. },
  17593. "convertfactor": {
  17594. "description": "标仓系数(品类)",
  17595. "type": "number"
  17596. },
  17597. "createtime": {
  17598. "description": "创建时间",
  17599. "type": "string"
  17600. },
  17601. "currencyid": {
  17602. "description": "币种id",
  17603. "type": "integer"
  17604. },
  17605. "currencyname": {
  17606. "description": "币种名称",
  17607. "type": "string"
  17608. },
  17609. "daikaiamount": {
  17610. "description": "应收(开)票额",
  17611. "type": "number"
  17612. },
  17613. "deliveryenddate": {
  17614. "description": "交割结束日",
  17615. "type": "string"
  17616. },
  17617. "deliverygoodscode": {
  17618. "description": "现货品种代码",
  17619. "type": "string"
  17620. },
  17621. "deliverygoodsid": {
  17622. "description": "现货商品ID",
  17623. "type": "integer"
  17624. },
  17625. "deliverygoodsname": {
  17626. "description": "现货品种名称",
  17627. "type": "string"
  17628. },
  17629. "deliverystartdate": {
  17630. "description": "交割开始日",
  17631. "type": "string"
  17632. },
  17633. "enddate": {
  17634. "description": "点价结束日",
  17635. "type": "string"
  17636. },
  17637. "enumdicname": {
  17638. "description": "单位名称",
  17639. "type": "string"
  17640. },
  17641. "goodscode": {
  17642. "description": "点价商品代码",
  17643. "type": "string"
  17644. },
  17645. "goodsid": {
  17646. "description": "点价商品ID",
  17647. "type": "integer"
  17648. },
  17649. "goodsname": {
  17650. "description": "点价商品名称",
  17651. "type": "string"
  17652. },
  17653. "invoiceamount": {
  17654. "description": "已开票额",
  17655. "type": "number"
  17656. },
  17657. "loanamount": {
  17658. "description": "贷款总额=已定价额+调整金额",
  17659. "type": "number"
  17660. },
  17661. "margin": {
  17662. "description": "保证金",
  17663. "type": "number"
  17664. },
  17665. "meruserid": {
  17666. "description": "跟单员id",
  17667. "type": "integer"
  17668. },
  17669. "meruserlogincode": {
  17670. "description": "跟单员登录代码",
  17671. "type": "string"
  17672. },
  17673. "merusername": {
  17674. "description": "跟单员名称",
  17675. "type": "string"
  17676. },
  17677. "nickname": {
  17678. "description": "账户昵称",
  17679. "type": "string"
  17680. },
  17681. "payamount": {
  17682. "description": "已收付额(收款或付款)",
  17683. "type": "number"
  17684. },
  17685. "preinvoiceamount": {
  17686. "description": "预收(开)票额",
  17687. "type": "number"
  17688. },
  17689. "prepayamount": {
  17690. "description": "预收付额",
  17691. "type": "number"
  17692. },
  17693. "price": {
  17694. "description": "价格",
  17695. "type": "number"
  17696. },
  17697. "pricedamount": {
  17698. "description": "已定价额",
  17699. "type": "number"
  17700. },
  17701. "pricedavg": {
  17702. "description": "已点均价",
  17703. "type": "number"
  17704. },
  17705. "pricedqty": {
  17706. "description": "已定价量",
  17707. "type": "number"
  17708. },
  17709. "pricemove": {
  17710. "description": "升贴水",
  17711. "type": "number"
  17712. },
  17713. "pricetype": {
  17714. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17715. "type": "integer"
  17716. },
  17717. "producttype": {
  17718. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17719. "type": "integer"
  17720. },
  17721. "qty": {
  17722. "description": "合同量",
  17723. "type": "number"
  17724. },
  17725. "reckonadjustamount": {
  17726. "description": "调整金额",
  17727. "type": "number"
  17728. },
  17729. "reckonedamount": {
  17730. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  17731. "type": "number"
  17732. },
  17733. "reckonotheramount": {
  17734. "description": "其它费用",
  17735. "type": "number"
  17736. },
  17737. "reckonrealqty": {
  17738. "description": "已确定量",
  17739. "type": "number"
  17740. },
  17741. "remark": {
  17742. "description": "备注",
  17743. "type": "string"
  17744. },
  17745. "saleuserid": {
  17746. "description": "业务员id",
  17747. "type": "integer"
  17748. },
  17749. "saleuserlogincode": {
  17750. "description": "业务员登录代码",
  17751. "type": "string"
  17752. },
  17753. "saleusername": {
  17754. "description": "业务员名称",
  17755. "type": "string"
  17756. },
  17757. "spotcontractid": {
  17758. "description": "合同ID",
  17759. "type": "string"
  17760. },
  17761. "spotgoodsbrandid": {
  17762. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17763. "type": "integer"
  17764. },
  17765. "spotgoodsdesc": {
  17766. "description": "商品型号(商品规格)",
  17767. "type": "string"
  17768. },
  17769. "startdate": {
  17770. "description": "点价开始日",
  17771. "type": "string"
  17772. },
  17773. "totalamount": {
  17774. "description": "合计总额",
  17775. "type": "number"
  17776. },
  17777. "tradeuserid": {
  17778. "description": "交易员id",
  17779. "type": "integer"
  17780. },
  17781. "tradeuserlogincode": {
  17782. "description": "交易员登录代码",
  17783. "type": "string"
  17784. },
  17785. "tradeusername": {
  17786. "description": "交易员名称",
  17787. "type": "string"
  17788. },
  17789. "unpayamount": {
  17790. "description": "应收付款额(应支付或应收款)",
  17791. "type": "number"
  17792. },
  17793. "unpricedqty": {
  17794. "description": "未定价量",
  17795. "type": "number"
  17796. },
  17797. "unsureqty": {
  17798. "description": "未确定量",
  17799. "type": "number"
  17800. },
  17801. "userid": {
  17802. "description": "机构ID",
  17803. "type": "integer"
  17804. },
  17805. "wrstandardcode": {
  17806. "description": "品类代码",
  17807. "type": "string"
  17808. },
  17809. "wrstandardid": {
  17810. "description": "品类ID",
  17811. "type": "integer"
  17812. },
  17813. "wrstandardname": {
  17814. "description": "品类名称",
  17815. "type": "string"
  17816. }
  17817. }
  17818. },
  17819. "models.Ermcp3SpotGoodsPrice": {
  17820. "type": "object",
  17821. "properties": {
  17822. "areauserid": {
  17823. "description": "所属机构id",
  17824. "type": "integer"
  17825. },
  17826. "brandname": {
  17827. "description": "品牌名称",
  17828. "type": "string"
  17829. },
  17830. "currencyid": {
  17831. "description": "报价货币ID",
  17832. "type": "integer"
  17833. },
  17834. "currencyname": {
  17835. "description": "币种名称",
  17836. "type": "string"
  17837. },
  17838. "deliverygoodscode": {
  17839. "description": "现货商品代码",
  17840. "type": "string"
  17841. },
  17842. "deliverygoodsid": {
  17843. "description": "现货商品id",
  17844. "type": "integer"
  17845. },
  17846. "deliverygoodsname": {
  17847. "description": "现货商品名称",
  17848. "type": "string"
  17849. },
  17850. "enumdicname": {
  17851. "description": "现货商品单位名称",
  17852. "type": "string"
  17853. },
  17854. "gbenumdicname": {
  17855. "description": "品类单位名称",
  17856. "type": "string"
  17857. },
  17858. "gmunitid": {
  17859. "description": "品类单位id",
  17860. "type": "integer"
  17861. },
  17862. "isvalid": {
  17863. "description": "是否有效 - 0:无效 1:有效",
  17864. "type": "integer"
  17865. },
  17866. "operateid": {
  17867. "description": "最后操作人",
  17868. "type": "integer"
  17869. },
  17870. "operatesrc": {
  17871. "description": "最后操作来源 - 1:管理端 2:终端",
  17872. "type": "integer"
  17873. },
  17874. "operatetime": {
  17875. "description": "最后操作时间",
  17876. "type": "string"
  17877. },
  17878. "operatorname": {
  17879. "description": "操作人名称",
  17880. "type": "string"
  17881. },
  17882. "spotgoodsbrandid": {
  17883. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17884. "type": "integer"
  17885. },
  17886. "spotgoodsprice": {
  17887. "description": "现货价格",
  17888. "type": "number"
  17889. },
  17890. "tradedate": {
  17891. "description": "交易日(yyyyMMdd)",
  17892. "type": "string"
  17893. },
  17894. "unitid": {
  17895. "description": "现货商品单位id",
  17896. "type": "integer"
  17897. },
  17898. "wrstandardcode": {
  17899. "description": "品类代码",
  17900. "type": "string"
  17901. },
  17902. "wrstandardid": {
  17903. "description": "现货品类ID(通用则为0)",
  17904. "type": "integer"
  17905. },
  17906. "wrstandardname": {
  17907. "description": "品类名称",
  17908. "type": "string"
  17909. }
  17910. }
  17911. },
  17912. "models.Ermcp3SpotGoodsPriceLog": {
  17913. "type": "object",
  17914. "properties": {
  17915. "areauserid": {
  17916. "description": "所属机构id",
  17917. "type": "integer"
  17918. },
  17919. "brandname": {
  17920. "description": "品牌名称",
  17921. "type": "string"
  17922. },
  17923. "currencyid": {
  17924. "description": "报价货币ID",
  17925. "type": "integer"
  17926. },
  17927. "deliverygoodscode": {
  17928. "description": "现货商品代码",
  17929. "type": "string"
  17930. },
  17931. "deliverygoodsid": {
  17932. "description": "现货商品id",
  17933. "type": "integer"
  17934. },
  17935. "deliverygoodsname": {
  17936. "description": "现货商品名称",
  17937. "type": "string"
  17938. },
  17939. "enumdicname": {
  17940. "description": "现货商品单位名称",
  17941. "type": "string"
  17942. },
  17943. "gbenumdicname": {
  17944. "description": "品类单位名称",
  17945. "type": "string"
  17946. },
  17947. "gmunitid": {
  17948. "description": "品类单位id",
  17949. "type": "integer"
  17950. },
  17951. "logid": {
  17952. "description": "日志id",
  17953. "type": "integer"
  17954. },
  17955. "operateid": {
  17956. "description": "最后操作人",
  17957. "type": "integer"
  17958. },
  17959. "operatesrc": {
  17960. "description": "最后操作来源 - 1:管理端 2:终端",
  17961. "type": "integer"
  17962. },
  17963. "operatetime": {
  17964. "description": "最后操作时间",
  17965. "type": "string"
  17966. },
  17967. "operatorname": {
  17968. "description": "操作人名称",
  17969. "type": "string"
  17970. },
  17971. "spotgoodsbrandid": {
  17972. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  17973. "type": "integer"
  17974. },
  17975. "spotgoodsprice": {
  17976. "description": "现货价格",
  17977. "type": "number"
  17978. },
  17979. "tradedate": {
  17980. "description": "交易日(yyyyMMdd)",
  17981. "type": "string"
  17982. },
  17983. "unitid": {
  17984. "description": "现货商品单位id",
  17985. "type": "integer"
  17986. },
  17987. "wrstandardcode": {
  17988. "description": "品类代码",
  17989. "type": "string"
  17990. },
  17991. "wrstandardid": {
  17992. "description": "现货品类ID(通用则为0)",
  17993. "type": "integer"
  17994. },
  17995. "wrstandardname": {
  17996. "description": "品类名称",
  17997. "type": "string"
  17998. }
  17999. }
  18000. },
  18001. "models.Ermcp3TaFutuReDataReport": {
  18002. "type": "object",
  18003. "properties": {
  18004. "accountid": {
  18005. "description": "交易账户",
  18006. "type": "integer"
  18007. },
  18008. "accountname": {
  18009. "description": "交易账号名称",
  18010. "type": "string"
  18011. },
  18012. "begindate": {
  18013. "description": "开始交易日",
  18014. "type": "string"
  18015. },
  18016. "buyorsell": {
  18017. "description": "持仓方向",
  18018. "type": "integer"
  18019. },
  18020. "charge": {
  18021. "description": "手续费",
  18022. "type": "number"
  18023. },
  18024. "closeavgprice": {
  18025. "description": "平仓均价",
  18026. "type": "number"
  18027. },
  18028. "closepl": {
  18029. "description": "平仓损益",
  18030. "type": "number"
  18031. },
  18032. "currencyid": {
  18033. "description": "结算币种ID",
  18034. "type": "integer"
  18035. },
  18036. "cycletime": {
  18037. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18038. "type": "string"
  18039. },
  18040. "cycletype": {
  18041. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18042. "type": "integer"
  18043. },
  18044. "enddate": {
  18045. "description": "结束交易日",
  18046. "type": "string"
  18047. },
  18048. "enumdicname": {
  18049. "description": "单位名称",
  18050. "type": "string"
  18051. },
  18052. "floatpl": {
  18053. "description": "浮动损益",
  18054. "type": "number"
  18055. },
  18056. "goodscode": {
  18057. "description": "交易合约代码",
  18058. "type": "string"
  18059. },
  18060. "goodsgroupid": {
  18061. "description": "交易品种",
  18062. "type": "integer"
  18063. },
  18064. "goodsgroupname": {
  18065. "description": "交易品种名称",
  18066. "type": "string"
  18067. },
  18068. "goodsgroupspotqty": {
  18069. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18070. "type": "number"
  18071. },
  18072. "goodsid": {
  18073. "description": "交易合约",
  18074. "type": "integer"
  18075. },
  18076. "goodsname": {
  18077. "description": "交易合约名称",
  18078. "type": "string"
  18079. },
  18080. "goodunitid": {
  18081. "description": "交易合约单位id",
  18082. "type": "integer"
  18083. },
  18084. "holdamount": {
  18085. "description": "期末持仓额",
  18086. "type": "number"
  18087. },
  18088. "holdqty": {
  18089. "description": "期末持仓量",
  18090. "type": "number"
  18091. },
  18092. "lastholdamount": {
  18093. "description": "当前持仓额",
  18094. "type": "number"
  18095. },
  18096. "lastprice": {
  18097. "description": "最新价",
  18098. "type": "number"
  18099. },
  18100. "middlegoodsqty": {
  18101. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18102. "type": "number"
  18103. },
  18104. "openamount": {
  18105. "description": "期末开仓额",
  18106. "type": "number"
  18107. },
  18108. "openavgprice": {
  18109. "description": "开仓均价",
  18110. "type": "number"
  18111. },
  18112. "oriholdamount": {
  18113. "description": "期初持仓额",
  18114. "type": "number"
  18115. },
  18116. "oriholdqty": {
  18117. "description": "期初持仓量",
  18118. "type": "number"
  18119. },
  18120. "oriopenamount": {
  18121. "description": "期初开仓额",
  18122. "type": "number"
  18123. },
  18124. "outergroupcode": {
  18125. "description": "交易品种代码",
  18126. "type": "string"
  18127. },
  18128. "reckondate": {
  18129. "description": "日照时期(yyyyMMdd)",
  18130. "type": "string"
  18131. },
  18132. "reckonholdamount": {
  18133. "description": "结算持仓额",
  18134. "type": "number"
  18135. },
  18136. "reckonpl": {
  18137. "description": "结算损益",
  18138. "type": "number"
  18139. },
  18140. "reckonpl2": {
  18141. "description": "结算逐笔盈亏",
  18142. "type": "number"
  18143. },
  18144. "reckonprice": {
  18145. "description": "结算价",
  18146. "type": "number"
  18147. },
  18148. "relateduserid": {
  18149. "description": "账户关联用户ID",
  18150. "type": "integer"
  18151. },
  18152. "todaycloseamount": {
  18153. "description": "今平仓额",
  18154. "type": "number"
  18155. },
  18156. "todaycloseqty": {
  18157. "description": "今平仓量",
  18158. "type": "number"
  18159. },
  18160. "todaygoodsgroupspotqty": {
  18161. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18162. "type": "number"
  18163. },
  18164. "todaymiddlegoodsqty": {
  18165. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18166. "type": "number"
  18167. },
  18168. "todayopenamount": {
  18169. "description": "今开仓额",
  18170. "type": "number"
  18171. },
  18172. "todayopenqty": {
  18173. "description": "今开仓量",
  18174. "type": "number"
  18175. },
  18176. "userid": {
  18177. "description": "账户所属用户ID",
  18178. "type": "integer"
  18179. }
  18180. }
  18181. },
  18182. "models.Ermcp3Wrstandard": {
  18183. "type": "object",
  18184. "properties": {
  18185. "areauserid": {
  18186. "description": "所属机构",
  18187. "type": "integer"
  18188. },
  18189. "convertfactor": {
  18190. "description": "标仓系数",
  18191. "type": "number"
  18192. },
  18193. "createtime": {
  18194. "description": "创建时间",
  18195. "type": "string"
  18196. },
  18197. "creatorid": {
  18198. "description": "创建人",
  18199. "type": "integer"
  18200. },
  18201. "deliverygoodsid": {
  18202. "description": "现货品种ID",
  18203. "type": "integer"
  18204. },
  18205. "enumdicname": {
  18206. "description": "品类单位名称",
  18207. "type": "string"
  18208. },
  18209. "isvalid": {
  18210. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18211. "type": "integer"
  18212. },
  18213. "minivalue": {
  18214. "description": "最小变动值",
  18215. "type": "integer"
  18216. },
  18217. "minivaluedp": {
  18218. "description": "最小变动值小数位",
  18219. "type": "integer"
  18220. },
  18221. "realminivalue": {
  18222. "description": "实际最小变动值",
  18223. "type": "integer"
  18224. },
  18225. "realminivaluedp": {
  18226. "description": "实际最小变动值小数位",
  18227. "type": "integer"
  18228. },
  18229. "remark": {
  18230. "description": "备注",
  18231. "type": "string"
  18232. },
  18233. "unitid": {
  18234. "description": "品类单位ID",
  18235. "type": "integer"
  18236. },
  18237. "updatetime": {
  18238. "description": "更新时间",
  18239. "type": "string"
  18240. },
  18241. "wrstandardcode": {
  18242. "description": "品类代码",
  18243. "type": "string"
  18244. },
  18245. "wrstandardid": {
  18246. "description": "品类ID(SEQ_WRSTANDARD)",
  18247. "type": "integer"
  18248. },
  18249. "wrstandardname": {
  18250. "description": "品类名称",
  18251. "type": "string"
  18252. }
  18253. }
  18254. },
  18255. "models.ErmcpAreaSpotDetailModel": {
  18256. "type": "object",
  18257. "properties": {
  18258. "contracttype": {
  18259. "description": "合同类型 1-采购 -1-销售",
  18260. "type": "integer"
  18261. },
  18262. "createtime": {
  18263. "description": "创建时间",
  18264. "type": "string"
  18265. },
  18266. "enumdicname": {
  18267. "description": "现货商品单位名称",
  18268. "type": "string"
  18269. },
  18270. "logtype": {
  18271. "description": "记录类型 1-套保 2-现货合同",
  18272. "type": "integer"
  18273. },
  18274. "qty": {
  18275. "description": "数量",
  18276. "type": "number"
  18277. },
  18278. "recordname": {
  18279. "description": "类型名称",
  18280. "type": "string"
  18281. },
  18282. "relatedid": {
  18283. "description": "套保计划ID/现货合同ID",
  18284. "type": "string"
  18285. },
  18286. "relatedno": {
  18287. "description": "编号",
  18288. "type": "string"
  18289. },
  18290. "strtime": {
  18291. "description": "时间",
  18292. "type": "string"
  18293. },
  18294. "wrstandardcode": {
  18295. "description": "现货商品代码",
  18296. "type": "string"
  18297. },
  18298. "wrstandardname": {
  18299. "description": "现货商品名称",
  18300. "type": "string"
  18301. }
  18302. }
  18303. },
  18304. "models.ErmcpAvalidGoodsGroupModel": {
  18305. "type": "object",
  18306. "properties": {
  18307. "goodsgroupid": {
  18308. "description": "期货品种id",
  18309. "type": "integer"
  18310. },
  18311. "goodsgroupname": {
  18312. "description": "期货品种名称",
  18313. "type": "string"
  18314. },
  18315. "goodunitid": {
  18316. "description": "品种单位id",
  18317. "type": "integer"
  18318. },
  18319. "goodunitname": {
  18320. "description": "品种单位名称",
  18321. "type": "string"
  18322. },
  18323. "outergroupcode": {
  18324. "description": "期货品种代码",
  18325. "type": "string"
  18326. }
  18327. }
  18328. },
  18329. "models.ErmcpBizGroupEx": {
  18330. "type": "object",
  18331. "properties": {
  18332. "acclist": {
  18333. "description": "账号列表",
  18334. "type": "array",
  18335. "items": {
  18336. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18337. }
  18338. },
  18339. "bizgroupid": {
  18340. "description": "业务分组id",
  18341. "type": "integer"
  18342. },
  18343. "biztype": {
  18344. "description": "业务类型 1-套保 2-套利",
  18345. "type": "integer"
  18346. },
  18347. "wrlist": {
  18348. "description": "现货商品表",
  18349. "type": "array",
  18350. "items": {
  18351. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18352. }
  18353. }
  18354. }
  18355. },
  18356. "models.ErmcpBizGroupSpotGoods": {
  18357. "type": "object",
  18358. "properties": {
  18359. "areauserid": {
  18360. "description": "所属机构id",
  18361. "type": "integer"
  18362. },
  18363. "bizgroupid": {
  18364. "description": "分组id",
  18365. "type": "integer"
  18366. },
  18367. "biztype": {
  18368. "description": "业务类型 1-套保 2-套利",
  18369. "type": "integer"
  18370. },
  18371. "deliverygoodscode": {
  18372. "description": "现货商品代码",
  18373. "type": "string"
  18374. },
  18375. "deliverygoodsid": {
  18376. "description": "现货商品id",
  18377. "type": "integer"
  18378. },
  18379. "deliverygoodsname": {
  18380. "description": "现货商品名称",
  18381. "type": "string"
  18382. },
  18383. "unitid": {
  18384. "description": "现货商品单位id",
  18385. "type": "integer"
  18386. }
  18387. }
  18388. },
  18389. "models.ErmcpBizGroupTaAccount": {
  18390. "type": "object",
  18391. "properties": {
  18392. "accountid": {
  18393. "description": "账号id",
  18394. "type": "integer"
  18395. },
  18396. "accountname": {
  18397. "description": "账号名称",
  18398. "type": "string"
  18399. },
  18400. "areauserid": {
  18401. "description": "所属机构id",
  18402. "type": "integer"
  18403. },
  18404. "bizgroupid": {
  18405. "description": "业务分组id",
  18406. "type": "integer"
  18407. },
  18408. "ismain": {
  18409. "description": "是否主账号 1-是 0-否",
  18410. "type": "integer"
  18411. }
  18412. }
  18413. },
  18414. "models.ErmcpDGFactoryItem": {
  18415. "type": "object",
  18416. "properties": {
  18417. "areauserid": {
  18418. "description": "用户id",
  18419. "type": "integer"
  18420. },
  18421. "deliverygoodsid": {
  18422. "description": "现货品种ID",
  18423. "type": "integer"
  18424. },
  18425. "dgfactoryitemid": {
  18426. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18427. "type": "integer"
  18428. },
  18429. "dgfactoryitemtypeid": {
  18430. "description": "要素项类型",
  18431. "type": "integer"
  18432. },
  18433. "dgfactoryitemvalue": {
  18434. "description": "要素项值(类型为仓库时填写仓库名称)",
  18435. "type": "string"
  18436. },
  18437. "isvalid": {
  18438. "description": "是否有效 - 0:无效 1:有效",
  18439. "type": "integer"
  18440. },
  18441. "orderindex": {
  18442. "description": "顺序",
  18443. "type": "integer"
  18444. },
  18445. "warehouseid": {
  18446. "description": "仓库ID(类型为仓库时填写)",
  18447. "type": "integer"
  18448. }
  18449. }
  18450. },
  18451. "models.ErmcpDeliveryGoods": {
  18452. "type": "object",
  18453. "properties": {
  18454. "agreeunit": {
  18455. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18456. "type": "integer"
  18457. },
  18458. "areauserid": {
  18459. "description": "所属机构",
  18460. "type": "integer"
  18461. },
  18462. "auditflag": {
  18463. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18464. "type": "integer"
  18465. },
  18466. "categoryid": {
  18467. "description": "类别ID(SEQ_WRCATEGORY)",
  18468. "type": "integer"
  18469. },
  18470. "deliverygoodscode": {
  18471. "description": "现货品种代码",
  18472. "type": "string"
  18473. },
  18474. "deliverygoodsid": {
  18475. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18476. "type": "integer"
  18477. },
  18478. "deliverygoodsname": {
  18479. "description": "现货品种名称",
  18480. "type": "string"
  18481. },
  18482. "deliverygoodstype": {
  18483. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  18484. "type": "integer"
  18485. },
  18486. "dgstatus": {
  18487. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  18488. "type": "integer"
  18489. },
  18490. "enumdicname": {
  18491. "description": "现货品种单位名称",
  18492. "type": "string"
  18493. },
  18494. "goodsunitid": {
  18495. "description": "现货品种单位ID",
  18496. "type": "integer"
  18497. },
  18498. "isvalid": {
  18499. "description": "是否有效 - 0:无效 1:有效",
  18500. "type": "integer"
  18501. },
  18502. "qtydecimalplace": {
  18503. "description": "成交量小数位",
  18504. "type": "integer"
  18505. },
  18506. "remark": {
  18507. "description": "备注",
  18508. "type": "string"
  18509. },
  18510. "standardqty": {
  18511. "description": "标准数量(库位数量) [标准品特有]",
  18512. "type": "integer"
  18513. },
  18514. "standardqtyrange": {
  18515. "description": "标准数量偏差范围 [标准品特有]",
  18516. "type": "integer"
  18517. }
  18518. }
  18519. },
  18520. "models.ErmcpDeliveryGoodsDetail2": {
  18521. "type": "object",
  18522. "properties": {
  18523. "convertratio": {
  18524. "description": "套保系数(折算系数)",
  18525. "type": "number"
  18526. },
  18527. "data": {
  18528. "description": "现货商品基本信息(交割品种)",
  18529. "type": "object",
  18530. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18531. },
  18532. "gblist": {
  18533. "description": "品牌列表",
  18534. "type": "array",
  18535. "items": {
  18536. "$ref": "#/definitions/models.Ermcp3Brand"
  18537. }
  18538. },
  18539. "gmlist": {
  18540. "description": "品类列表(仓单标准)",
  18541. "type": "array",
  18542. "items": {
  18543. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18544. }
  18545. }
  18546. }
  18547. },
  18548. "models.ErmcpDeliveryGoodsDetailEx": {
  18549. "type": "object",
  18550. "properties": {
  18551. "data": {
  18552. "description": "现货商品基本信息(交割品种)",
  18553. "type": "object",
  18554. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  18555. },
  18556. "gblist": {
  18557. "description": "品牌列表",
  18558. "type": "array",
  18559. "items": {
  18560. "$ref": "#/definitions/models.Ermcp3Brand"
  18561. }
  18562. },
  18563. "gmlist": {
  18564. "description": "品类列表(仓单标准)",
  18565. "type": "array",
  18566. "items": {
  18567. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  18568. }
  18569. },
  18570. "mgList": {
  18571. "description": "套保列表",
  18572. "type": "array",
  18573. "items": {
  18574. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  18575. }
  18576. }
  18577. }
  18578. },
  18579. "models.ErmcpExposureDetailModel": {
  18580. "type": "object",
  18581. "properties": {
  18582. "areauserid": {
  18583. "description": "机构ID",
  18584. "type": "integer"
  18585. },
  18586. "changeQty": {
  18587. "description": "套保变动量",
  18588. "type": "number"
  18589. },
  18590. "contracttype": {
  18591. "description": "现货合同类型 - 1:采购 -1:销售",
  18592. "type": "integer"
  18593. },
  18594. "convertfactor": {
  18595. "description": "标仓系数",
  18596. "type": "number"
  18597. },
  18598. "convertratio": {
  18599. "description": "套保系数",
  18600. "type": "number"
  18601. },
  18602. "createtime": {
  18603. "description": "时间",
  18604. "type": "string"
  18605. },
  18606. "enumdicname": {
  18607. "description": "现货商品单位名称",
  18608. "type": "string"
  18609. },
  18610. "logtype": {
  18611. "description": "类型 - 1:套保计划 2:现货合同",
  18612. "type": "integer"
  18613. },
  18614. "middlegoodsId": {
  18615. "description": "套保商品id",
  18616. "type": "integer"
  18617. },
  18618. "middlegoodscode": {
  18619. "description": "套保商品代码",
  18620. "type": "string"
  18621. },
  18622. "middlegoodsname": {
  18623. "description": "套保商品名称",
  18624. "type": "string"
  18625. },
  18626. "qty": {
  18627. "description": "数量",
  18628. "type": "number"
  18629. },
  18630. "relateNo": {
  18631. "description": "现货合同/套保计划编号",
  18632. "type": "string"
  18633. },
  18634. "wrstandardcode": {
  18635. "description": "现货商品代码",
  18636. "type": "string"
  18637. },
  18638. "wrstandardid": {
  18639. "description": "现货商品ID",
  18640. "type": "integer"
  18641. },
  18642. "wrstandardname": {
  18643. "description": "现货商品名称",
  18644. "type": "string"
  18645. }
  18646. }
  18647. },
  18648. "models.ErmcpExposurePostion": {
  18649. "type": "object",
  18650. "properties": {
  18651. "agreeunit": {
  18652. "description": "合约单位",
  18653. "type": "string"
  18654. },
  18655. "areauserid": {
  18656. "description": "所属机构id",
  18657. "type": "integer"
  18658. },
  18659. "convertratio": {
  18660. "description": "期货品种系数(折算系数)",
  18661. "type": "number"
  18662. },
  18663. "curqty": {
  18664. "description": "当前持仓",
  18665. "type": "integer"
  18666. },
  18667. "diffhedgeqty": {
  18668. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18669. "type": "number"
  18670. },
  18671. "diffqty": {
  18672. "description": "持仓变动量=当前持仓-昨日持仓",
  18673. "type": "integer"
  18674. },
  18675. "goodscode": {
  18676. "description": "商品代码",
  18677. "type": "string"
  18678. },
  18679. "goodsid": {
  18680. "description": "商品id",
  18681. "type": "integer"
  18682. },
  18683. "goodsname": {
  18684. "description": "商品名称",
  18685. "type": "string"
  18686. },
  18687. "middlegoodsid": {
  18688. "description": "套保商品id",
  18689. "type": "integer"
  18690. },
  18691. "ydqty": {
  18692. "description": "昨日持仓",
  18693. "type": "integer"
  18694. }
  18695. }
  18696. },
  18697. "models.ErmcpFuturesCompany": {
  18698. "type": "object",
  18699. "properties": {
  18700. "brokerid": {
  18701. "description": "经纪公司代码",
  18702. "type": "string"
  18703. },
  18704. "channeladdress": {
  18705. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  18706. "type": "string"
  18707. },
  18708. "channelid": {
  18709. "description": "对冲渠道ID",
  18710. "type": "string"
  18711. },
  18712. "createtime": {
  18713. "description": "创建时间",
  18714. "type": "string"
  18715. },
  18716. "creatorid": {
  18717. "description": "创建人",
  18718. "type": "string"
  18719. },
  18720. "fcid": {
  18721. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  18722. "type": "integer"
  18723. },
  18724. "fcname": {
  18725. "description": "期货公司名称",
  18726. "type": "string"
  18727. },
  18728. "isvalid": {
  18729. "description": "是否有效 - 0:无效 1:有效",
  18730. "type": "integer"
  18731. },
  18732. "mhpaddress": {
  18733. "description": "MHP服务地址(IP:Port)",
  18734. "type": "string"
  18735. },
  18736. "riskrulegroupid": {
  18737. "description": "风控规则组ID",
  18738. "type": "string"
  18739. },
  18740. "tradefeetmpid": {
  18741. "description": "手续费模板ID[TradeConfigTmpType为2]",
  18742. "type": "string"
  18743. },
  18744. "trademargintmpid": {
  18745. "description": "保证金模板ID [TradeConfigTmpType为1]",
  18746. "type": "string"
  18747. },
  18748. "traderatetmpid": {
  18749. "description": "汇率模板ID[TradeConfigTmpType为3]",
  18750. "type": "string"
  18751. },
  18752. "updatetime": {
  18753. "description": "更新时间",
  18754. "type": "string"
  18755. },
  18756. "updatorid": {
  18757. "description": "更新人",
  18758. "type": "string"
  18759. }
  18760. }
  18761. },
  18762. "models.ErmcpGGConvertCfg": {
  18763. "type": "object",
  18764. "properties": {
  18765. "convertratio": {
  18766. "description": "折算系数",
  18767. "type": "number"
  18768. },
  18769. "destgoodsgroupid": {
  18770. "description": "目标品种ID",
  18771. "type": "integer"
  18772. },
  18773. "dstcode": {
  18774. "description": "目录品种代码",
  18775. "type": "string"
  18776. },
  18777. "dstexchangecode": {
  18778. "description": "目标期货交易所",
  18779. "type": "string"
  18780. },
  18781. "dstname": {
  18782. "description": "目标品种名称",
  18783. "type": "string"
  18784. },
  18785. "dstunitid": {
  18786. "description": "目标品种单位ID",
  18787. "type": "integer"
  18788. },
  18789. "dstunitidname": {
  18790. "description": "目标品种单位名称",
  18791. "type": "string"
  18792. },
  18793. "modifytime": {
  18794. "description": "修改时间",
  18795. "type": "string"
  18796. },
  18797. "srccode": {
  18798. "description": "源品种代码",
  18799. "type": "string"
  18800. },
  18801. "srcexchangecode": {
  18802. "description": "源期货交易所",
  18803. "type": "string"
  18804. },
  18805. "srcgoodsgroupid": {
  18806. "description": "源品种ID",
  18807. "type": "integer"
  18808. },
  18809. "srcname": {
  18810. "description": "源品种名称",
  18811. "type": "string"
  18812. },
  18813. "srcunitid": {
  18814. "description": "源品种单位ID",
  18815. "type": "integer"
  18816. },
  18817. "srcunitidname": {
  18818. "description": "源品种单位名称",
  18819. "type": "string"
  18820. }
  18821. }
  18822. },
  18823. "models.ErmcpGoods": {
  18824. "type": "object",
  18825. "required": [
  18826. "goodscode",
  18827. "goodsid",
  18828. "goodsname",
  18829. "marketid"
  18830. ],
  18831. "properties": {
  18832. "agreeunit": {
  18833. "description": "合约单位",
  18834. "type": "number"
  18835. },
  18836. "areauserid": {
  18837. "description": "所属机构",
  18838. "type": "integer"
  18839. },
  18840. "auditaccountid": {
  18841. "description": "审核操作员账号",
  18842. "type": "integer"
  18843. },
  18844. "audittime": {
  18845. "description": "审核时间",
  18846. "type": "string"
  18847. },
  18848. "cancelaccountid": {
  18849. "description": "注销操作员账号",
  18850. "type": "integer"
  18851. },
  18852. "canceltime": {
  18853. "description": "注销时间",
  18854. "type": "string"
  18855. },
  18856. "closepricemode": {
  18857. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18858. "type": "integer"
  18859. },
  18860. "closepriceparam": {
  18861. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  18862. "type": "number"
  18863. },
  18864. "createtime": {
  18865. "description": "创建时间",
  18866. "type": "string"
  18867. },
  18868. "creatorid": {
  18869. "description": "创建人",
  18870. "type": "integer"
  18871. },
  18872. "currencyid": {
  18873. "description": "报价货币ID",
  18874. "type": "integer"
  18875. },
  18876. "cutmode": {
  18877. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  18878. "type": "integer"
  18879. },
  18880. "decimalplace": {
  18881. "description": "报价小数位",
  18882. "type": "integer"
  18883. },
  18884. "delistingdate": {
  18885. "description": "商品退市时间(状态:退市) -- 已作废",
  18886. "type": "string"
  18887. },
  18888. "delistingmode": {
  18889. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  18890. "type": "integer"
  18891. },
  18892. "deliveryflag": {
  18893. "description": "交割标志 - 0:不可交割 1:可交割",
  18894. "type": "integer"
  18895. },
  18896. "enumdicname": {
  18897. "description": "单位名称",
  18898. "type": "string"
  18899. },
  18900. "forceclosemode": {
  18901. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  18902. "type": "integer"
  18903. },
  18904. "forceclosevalue": {
  18905. "description": "定期强平参数 [收益权]",
  18906. "type": "integer"
  18907. },
  18908. "goodscode": {
  18909. "description": "商品代码(内部)",
  18910. "type": "string"
  18911. },
  18912. "goodscurrencyid": {
  18913. "description": "合约货币ID",
  18914. "type": "integer"
  18915. },
  18916. "goodsgroupid": {
  18917. "description": "所属商品组ID",
  18918. "type": "integer"
  18919. },
  18920. "goodsid": {
  18921. "description": "商品ID(自增ID SEQ_GOODS)",
  18922. "type": "integer"
  18923. },
  18924. "goodsname": {
  18925. "description": "商品名称",
  18926. "type": "string"
  18927. },
  18928. "goodsquotetype": {
  18929. "description": "合约报价类型: 1-直接报价 2-间接报价",
  18930. "type": "integer"
  18931. },
  18932. "goodsstatus": {
  18933. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18934. "type": "integer"
  18935. },
  18936. "goodstradetype": {
  18937. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  18938. "type": "integer"
  18939. },
  18940. "goodunitid": {
  18941. "description": "报价单位ID",
  18942. "type": "integer"
  18943. },
  18944. "hasquoter": {
  18945. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  18946. "type": "integer"
  18947. },
  18948. "hqprotecttime": {
  18949. "description": "行情保护时间(秒)",
  18950. "type": "integer"
  18951. },
  18952. "innerdealmode": {
  18953. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18954. "type": "integer"
  18955. },
  18956. "isbuylimited": {
  18957. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18958. "type": "integer"
  18959. },
  18960. "isvisible": {
  18961. "description": "游客是否可见 - 0:不可见 1:可见",
  18962. "type": "integer"
  18963. },
  18964. "lasttradedate": {
  18965. "description": "最后交易日期(状态:待退市)",
  18966. "type": "string"
  18967. },
  18968. "listingdate": {
  18969. "description": "交易开始日期",
  18970. "type": "string"
  18971. },
  18972. "marketid": {
  18973. "description": "所属市场ID",
  18974. "type": "integer"
  18975. },
  18976. "modifierid": {
  18977. "description": "修改人",
  18978. "type": "integer"
  18979. },
  18980. "modifystatus": {
  18981. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  18982. "type": "integer"
  18983. },
  18984. "modifytime": {
  18985. "description": "修改时间",
  18986. "type": "string"
  18987. },
  18988. "outerdealmode": {
  18989. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18990. "type": "integer"
  18991. },
  18992. "outgoodscode": {
  18993. "description": "商品代码(外部)",
  18994. "type": "string"
  18995. },
  18996. "pictureurl": {
  18997. "description": "商品图片",
  18998. "type": "string"
  18999. },
  19000. "qtydecimalplace": {
  19001. "description": "成交量小数位",
  19002. "type": "integer"
  19003. },
  19004. "quotegear": {
  19005. "description": "行情档位(1-10)",
  19006. "type": "integer"
  19007. },
  19008. "quoteminunit": {
  19009. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19010. "type": "integer"
  19011. },
  19012. "quoteshowtype": {
  19013. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19014. "type": "integer"
  19015. },
  19016. "quoteshowtypeinterval": {
  19017. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19018. "type": "integer"
  19019. },
  19020. "relatedgoodsid": {
  19021. "description": "关联参考商品ID",
  19022. "type": "integer"
  19023. },
  19024. "remark": {
  19025. "description": "备注",
  19026. "type": "string"
  19027. },
  19028. "trademode": {
  19029. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19030. "type": "integer"
  19031. }
  19032. }
  19033. },
  19034. "models.ErmcpGoodsBrand": {
  19035. "type": "object",
  19036. "properties": {
  19037. "areauserid": {
  19038. "description": "所属机构",
  19039. "type": "integer"
  19040. },
  19041. "brandid": {
  19042. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19043. "type": "integer"
  19044. },
  19045. "brandname": {
  19046. "description": "品牌名称",
  19047. "type": "string"
  19048. },
  19049. "createtime": {
  19050. "description": "创建时间",
  19051. "type": "string"
  19052. },
  19053. "creatorid": {
  19054. "description": "创建人",
  19055. "type": "integer"
  19056. },
  19057. "creatorsrc": {
  19058. "description": "创建人来源 - 1:管理端 2:终端",
  19059. "type": "integer"
  19060. },
  19061. "deliverygoodsid": {
  19062. "description": "现货品种ID",
  19063. "type": "integer"
  19064. },
  19065. "isvalid": {
  19066. "description": "是否有效 - 0:无效 1:有效",
  19067. "type": "integer"
  19068. },
  19069. "updatetime": {
  19070. "description": "更新时间",
  19071. "type": "string"
  19072. },
  19073. "updatorid": {
  19074. "description": "更新人",
  19075. "type": "integer"
  19076. },
  19077. "updatorsrc": {
  19078. "description": "更新人来源 - 1:管理端 2:终端",
  19079. "type": "integer"
  19080. },
  19081. "wrstandardid": {
  19082. "description": "现货商品ID",
  19083. "type": "integer"
  19084. }
  19085. }
  19086. },
  19087. "models.ErmcpGoodsModel": {
  19088. "type": "object",
  19089. "properties": {
  19090. "areauserid": {
  19091. "description": "所属机构",
  19092. "type": "integer"
  19093. },
  19094. "convertfactor": {
  19095. "description": "标仓系数",
  19096. "type": "number"
  19097. },
  19098. "createtime": {
  19099. "description": "创建时间",
  19100. "type": "string"
  19101. },
  19102. "creatorid": {
  19103. "description": "创建人",
  19104. "type": "integer"
  19105. },
  19106. "creatorsrc": {
  19107. "description": "创建人来源 - 1:管理端 2:终端",
  19108. "type": "integer"
  19109. },
  19110. "deliverygoodsid": {
  19111. "description": "现货品种ID",
  19112. "type": "integer"
  19113. },
  19114. "isvalid": {
  19115. "description": "是否有效 - 0:无效 1:有效",
  19116. "type": "integer"
  19117. },
  19118. "modelid": {
  19119. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19120. "type": "integer"
  19121. },
  19122. "modelname": {
  19123. "description": "型号名称",
  19124. "type": "string"
  19125. },
  19126. "updatetime": {
  19127. "description": "更新时间",
  19128. "type": "string"
  19129. },
  19130. "updatorid": {
  19131. "description": "更新人",
  19132. "type": "integer"
  19133. },
  19134. "updatorsrc": {
  19135. "description": "更新人来源 - 1:管理端 2:终端",
  19136. "type": "integer"
  19137. },
  19138. "wrstandardid": {
  19139. "description": "现货商品ID",
  19140. "type": "integer"
  19141. }
  19142. }
  19143. },
  19144. "models.ErmcpHedgePosition": {
  19145. "type": "object",
  19146. "properties": {
  19147. "accountid": {
  19148. "description": "资金账号[外部母账户]",
  19149. "type": "integer"
  19150. },
  19151. "curbuyposition": {
  19152. "description": "期末买头寸",
  19153. "type": "integer"
  19154. },
  19155. "cursellposition": {
  19156. "description": "期末卖头寸",
  19157. "type": "integer"
  19158. },
  19159. "curtdbuyposition": {
  19160. "description": "期末今日买头寸",
  19161. "type": "integer"
  19162. },
  19163. "curtdsellposition": {
  19164. "description": "期末今日卖头寸",
  19165. "type": "integer"
  19166. },
  19167. "curydbuyposition": {
  19168. "description": "期末上日买头寸",
  19169. "type": "integer"
  19170. },
  19171. "curydsellposition": {
  19172. "description": "期末上日卖头寸",
  19173. "type": "integer"
  19174. },
  19175. "decreaseqty": {
  19176. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19177. "type": "integer"
  19178. },
  19179. "fretdbuyposition": {
  19180. "description": "冻结今日买头寸",
  19181. "type": "integer"
  19182. },
  19183. "fretdsellposition": {
  19184. "description": "冻结今日卖头寸",
  19185. "type": "integer"
  19186. },
  19187. "freydbuyposition": {
  19188. "description": "冻结上日买头寸",
  19189. "type": "integer"
  19190. },
  19191. "freydsellposition": {
  19192. "description": "冻结上日卖头寸",
  19193. "type": "integer"
  19194. },
  19195. "goodscode": {
  19196. "description": "商品代码",
  19197. "type": "string"
  19198. },
  19199. "goodsid": {
  19200. "description": "商品id",
  19201. "type": "integer"
  19202. },
  19203. "goodsname": {
  19204. "description": "商品名称",
  19205. "type": "string"
  19206. },
  19207. "hedgeaccountcode": {
  19208. "description": "对冲账号",
  19209. "type": "string"
  19210. },
  19211. "hedgegoodsid": {
  19212. "description": "对冲合约ID",
  19213. "type": "integer"
  19214. },
  19215. "increaseqty": {
  19216. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19217. "type": "integer"
  19218. },
  19219. "marketid": {
  19220. "description": "市场ID",
  19221. "type": "integer"
  19222. },
  19223. "relateduserid": {
  19224. "description": "关联用户id",
  19225. "type": "integer"
  19226. },
  19227. "totalcurqty": {
  19228. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19229. "type": "integer"
  19230. },
  19231. "totalydqty": {
  19232. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19233. "type": "integer"
  19234. },
  19235. "tradedate": {
  19236. "description": "交易日(yyyyMMdd)",
  19237. "type": "string"
  19238. },
  19239. "ydbuyposition": {
  19240. "description": "期初买头寸",
  19241. "type": "integer"
  19242. },
  19243. "ydsellposition": {
  19244. "description": "期初卖头寸",
  19245. "type": "integer"
  19246. }
  19247. }
  19248. },
  19249. "models.ErmcpHedgePositionDetail": {
  19250. "type": "object",
  19251. "properties": {
  19252. "buyorsell": {
  19253. "description": "买卖方向 0-买 1-卖",
  19254. "type": "integer"
  19255. },
  19256. "channelbuildtype": {
  19257. "description": "开平方向 1-建仓 2-平仓",
  19258. "type": "integer"
  19259. },
  19260. "goodscode": {
  19261. "description": "商品代码",
  19262. "type": "string"
  19263. },
  19264. "goodsname": {
  19265. "description": "商品名称",
  19266. "type": "string"
  19267. },
  19268. "hedgegoodsid": {
  19269. "description": "商品id",
  19270. "type": "integer"
  19271. },
  19272. "tradeqty": {
  19273. "description": "数量(成交数量)",
  19274. "type": "integer"
  19275. },
  19276. "tradetime": {
  19277. "description": "时间(成交时间)",
  19278. "type": "string"
  19279. }
  19280. }
  19281. },
  19282. "models.ErmcpHisExposure": {
  19283. "type": "object",
  19284. "properties": {
  19285. "needhedgeexposoure": {
  19286. "description": "应套保敞口",
  19287. "type": "number"
  19288. },
  19289. "reckondate": {
  19290. "description": "日照时期(yyyyMMdd)",
  19291. "type": "string"
  19292. },
  19293. "totalexposure": {
  19294. "description": "总敞口",
  19295. "type": "number"
  19296. }
  19297. }
  19298. },
  19299. "models.ErmcpHisExposureS": {
  19300. "type": "object",
  19301. "properties": {
  19302. "data": {
  19303. "description": "历史敞口",
  19304. "type": "array",
  19305. "items": {
  19306. "$ref": "#/definitions/models.ErmcpHisExposure"
  19307. }
  19308. },
  19309. "enumdicname": {
  19310. "description": "单位名称",
  19311. "type": "string"
  19312. },
  19313. "middlegoodscode": {
  19314. "description": "套保品种代码",
  19315. "type": "string"
  19316. },
  19317. "middlegoodsid": {
  19318. "description": "套保品种ID",
  19319. "type": "integer"
  19320. },
  19321. "middlegoodsname": {
  19322. "description": "套保品种名称",
  19323. "type": "string"
  19324. }
  19325. }
  19326. },
  19327. "models.ErmcpLoginTaAccount": {
  19328. "type": "object",
  19329. "properties": {
  19330. "accountid": {
  19331. "description": "账号id",
  19332. "type": "integer"
  19333. },
  19334. "accountname": {
  19335. "description": "账号名称",
  19336. "type": "string"
  19337. }
  19338. }
  19339. },
  19340. "models.ErmcpLoginUser": {
  19341. "type": "object",
  19342. "properties": {
  19343. "acclist": {
  19344. "description": "关联资金账号",
  19345. "type": "array",
  19346. "items": {
  19347. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19348. }
  19349. },
  19350. "accountname": {
  19351. "description": "用户名称",
  19352. "type": "string"
  19353. },
  19354. "clientroleid": {
  19355. "description": "角色id(usertype=2)",
  19356. "type": "integer"
  19357. },
  19358. "createtime": {
  19359. "description": "创建时间",
  19360. "type": "string"
  19361. },
  19362. "logincode": {
  19363. "description": "登录代码",
  19364. "type": "string"
  19365. },
  19366. "loginid": {
  19367. "description": "登录id(LOGINID)",
  19368. "type": "integer"
  19369. },
  19370. "loginname": {
  19371. "description": "登录名称(loginaccount表中的accountname字段)",
  19372. "type": "string"
  19373. },
  19374. "loginstatus": {
  19375. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19376. "type": "integer"
  19377. },
  19378. "memberuserid": {
  19379. "description": "所属会员id",
  19380. "type": "integer"
  19381. },
  19382. "mobile": {
  19383. "description": "手机号",
  19384. "type": "string"
  19385. },
  19386. "modifytime": {
  19387. "description": "修改时间",
  19388. "type": "string"
  19389. },
  19390. "password": {
  19391. "description": "密码(不可解密)",
  19392. "type": "string"
  19393. },
  19394. "rolename": {
  19395. "description": "角色名称",
  19396. "type": "string"
  19397. },
  19398. "rolestatus": {
  19399. "description": "角色状态 1-启用 2-停用",
  19400. "type": "integer"
  19401. },
  19402. "roletype": {
  19403. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19404. "type": "string"
  19405. },
  19406. "userid": {
  19407. "description": "用户id",
  19408. "type": "integer"
  19409. },
  19410. "usertype": {
  19411. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19412. "type": "integer"
  19413. }
  19414. }
  19415. },
  19416. "models.ErmcpLoginUserEx": {
  19417. "type": "object",
  19418. "properties": {
  19419. "accountstatus": {
  19420. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19421. "type": "integer"
  19422. },
  19423. "mobile": {
  19424. "description": "手机号",
  19425. "type": "string"
  19426. },
  19427. "querytype": {
  19428. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19429. "type": "integer"
  19430. },
  19431. "roleid": {
  19432. "description": "角色id(交易账户-\u003e用户id)",
  19433. "type": "integer"
  19434. },
  19435. "rolename": {
  19436. "description": "角色名称(交易账户-\u003e用户名称)",
  19437. "type": "string"
  19438. },
  19439. "userlist": {
  19440. "description": "用户列表",
  19441. "type": "array",
  19442. "items": {
  19443. "$ref": "#/definitions/models.ErmcpLoginUser"
  19444. }
  19445. },
  19446. "usertype": {
  19447. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19448. "type": "integer"
  19449. }
  19450. }
  19451. },
  19452. "models.ErmcpMiddleGoodsChangeLog": {
  19453. "type": "object",
  19454. "properties": {
  19455. "aftervalue": {
  19456. "description": "变更后",
  19457. "type": "number"
  19458. },
  19459. "applyid": {
  19460. "description": "操作人",
  19461. "type": "integer"
  19462. },
  19463. "applyname": {
  19464. "description": "操作人名称",
  19465. "type": "string"
  19466. },
  19467. "applysrc": {
  19468. "description": "操作来源 - 1:管理端 2:终端",
  19469. "type": "integer"
  19470. },
  19471. "beforevalue": {
  19472. "description": "变更前",
  19473. "type": "number"
  19474. },
  19475. "changelogtype": {
  19476. "description": "变更流水类型 - 1:套保比率变更",
  19477. "type": "integer"
  19478. },
  19479. "handlestatus": {
  19480. "description": "处理状态",
  19481. "type": "integer"
  19482. },
  19483. "logdatetime": {
  19484. "description": "流水日期",
  19485. "type": "string"
  19486. },
  19487. "logid": {
  19488. "description": "流水ID",
  19489. "type": "integer"
  19490. },
  19491. "logremark": {
  19492. "description": "流水备注",
  19493. "type": "string"
  19494. },
  19495. "middlegoodsid": {
  19496. "description": "套保品种ID",
  19497. "type": "integer"
  19498. },
  19499. "tradedate": {
  19500. "description": "交易日(yyyyMMdd)",
  19501. "type": "string"
  19502. },
  19503. "updatetime": {
  19504. "description": "更新时间",
  19505. "type": "string"
  19506. }
  19507. }
  19508. },
  19509. "models.ErmcpMiddleGoodsDetail": {
  19510. "type": "object",
  19511. "properties": {
  19512. "cvList": {
  19513. "description": "期货品种折算列表",
  19514. "type": "array",
  19515. "items": {
  19516. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19517. }
  19518. },
  19519. "mg": {
  19520. "description": "套保品种基本信息",
  19521. "type": "object",
  19522. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19523. },
  19524. "wrcList": {
  19525. "description": "现货品种列表(现货商品折算配置)",
  19526. "type": "array",
  19527. "items": {
  19528. "$ref": "#/definitions/models.WRSConverTDetail"
  19529. }
  19530. }
  19531. }
  19532. },
  19533. "models.ErmcpMiddleGoodsModel": {
  19534. "type": "object",
  19535. "properties": {
  19536. "areauserid": {
  19537. "description": "机构用户ID",
  19538. "type": "integer"
  19539. },
  19540. "createtime": {
  19541. "description": "修改时间",
  19542. "type": "string"
  19543. },
  19544. "enumdicname": {
  19545. "description": "单位名称",
  19546. "type": "string"
  19547. },
  19548. "evaluateratio": {
  19549. "description": "估价系数",
  19550. "type": "number"
  19551. },
  19552. "goodsgroupid": {
  19553. "description": "关联期货品种ID",
  19554. "type": "integer"
  19555. },
  19556. "goodsunitid": {
  19557. "description": "单位ID",
  19558. "type": "integer"
  19559. },
  19560. "isvalid": {
  19561. "description": "状态 0-无效(停用) 1-有效(正常)",
  19562. "type": "integer"
  19563. },
  19564. "middlegoodscode": {
  19565. "description": "套保品种代码",
  19566. "type": "string"
  19567. },
  19568. "middlegoodsid": {
  19569. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19570. "type": "integer"
  19571. },
  19572. "middlegoodsname": {
  19573. "description": "套保品种名称",
  19574. "type": "string"
  19575. },
  19576. "modifytime": {
  19577. "description": "修改时间",
  19578. "type": "string"
  19579. },
  19580. "needarbitrageratio": {
  19581. "description": "套利比例",
  19582. "type": "number"
  19583. },
  19584. "needhedgeratio": {
  19585. "description": "套保比率",
  19586. "type": "number"
  19587. },
  19588. "qtydecimalplace": {
  19589. "description": "数量小数位",
  19590. "type": "integer"
  19591. },
  19592. "relatedgoodsid": {
  19593. "description": "关联交易商品ID",
  19594. "type": "integer"
  19595. },
  19596. "relatedgoodstype": {
  19597. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19598. "type": "integer"
  19599. },
  19600. "remark": {
  19601. "description": "备注",
  19602. "type": "string"
  19603. }
  19604. }
  19605. },
  19606. "models.ErmcpMiddlegoodsRelateGoods": {
  19607. "type": "object",
  19608. "properties": {
  19609. "agreeunit": {
  19610. "description": "合约乘数",
  19611. "type": "number"
  19612. },
  19613. "convertratio": {
  19614. "description": "折算系数",
  19615. "type": "number"
  19616. },
  19617. "enumdicname": {
  19618. "description": "单位名称(交易商品)",
  19619. "type": "string"
  19620. },
  19621. "goodscode": {
  19622. "description": "交易商品代码",
  19623. "type": "string"
  19624. },
  19625. "goodsgroupid": {
  19626. "description": "交易品种id",
  19627. "type": "integer"
  19628. },
  19629. "goodsid": {
  19630. "description": "商品Id",
  19631. "type": "integer"
  19632. },
  19633. "goodsname": {
  19634. "description": "交易商品名称",
  19635. "type": "string"
  19636. },
  19637. "goodunitid": {
  19638. "description": "交易商品单位id",
  19639. "type": "integer"
  19640. },
  19641. "middlegoodsid": {
  19642. "description": "套保商品id",
  19643. "type": "integer"
  19644. },
  19645. "middlegoodsname": {
  19646. "description": "套保商品名称",
  19647. "type": "string"
  19648. },
  19649. "middlegoodsswcode": {
  19650. "description": "套保商品代码",
  19651. "type": "string"
  19652. },
  19653. "needarbitrageratio": {
  19654. "description": "应套利比例",
  19655. "type": "number"
  19656. },
  19657. "needhedgeratio": {
  19658. "description": "应套保比例",
  19659. "type": "number"
  19660. }
  19661. }
  19662. },
  19663. "models.ErmcpOPLogModel": {
  19664. "type": "object",
  19665. "properties": {
  19666. "aftervalue": {
  19667. "description": "变更后",
  19668. "type": "number"
  19669. },
  19670. "applyid": {
  19671. "description": "操作人ID",
  19672. "type": "string"
  19673. },
  19674. "applyname": {
  19675. "description": "操作人名称",
  19676. "type": "string"
  19677. },
  19678. "beforevalue": {
  19679. "description": "变更前",
  19680. "type": "number"
  19681. },
  19682. "biztype": {
  19683. "description": "业务类型 - 1:套保计划 2:现货合同",
  19684. "type": "integer"
  19685. },
  19686. "contracttype": {
  19687. "description": "现货合同类型 - 1:采购 -1:销售",
  19688. "type": "integer"
  19689. },
  19690. "logvalue": {
  19691. "description": "数值",
  19692. "type": "number"
  19693. },
  19694. "operatelogtype": {
  19695. "description": "操作流水类型",
  19696. "type": "integer"
  19697. },
  19698. "operatelogtypedesc": {
  19699. "description": "操作流水类型名称",
  19700. "type": "string"
  19701. },
  19702. "relatedid": {
  19703. "description": "现货合同ID\\套保计划",
  19704. "type": "string"
  19705. },
  19706. "updatetime": {
  19707. "description": "更新时间",
  19708. "type": "string"
  19709. }
  19710. }
  19711. },
  19712. "models.ErmcpPendingAudit": {
  19713. "type": "object",
  19714. "properties": {
  19715. "areastockqty": {
  19716. "description": "待审核数量: 库存申请",
  19717. "type": "integer"
  19718. },
  19719. "businessdjqty": {
  19720. "description": "待审核数量: 点价",
  19721. "type": "integer"
  19722. },
  19723. "businessfpqty": {
  19724. "description": "待审核数量: 发票",
  19725. "type": "integer"
  19726. },
  19727. "businessjsqty": {
  19728. "description": "待审核数量: 结算",
  19729. "type": "integer"
  19730. },
  19731. "businesskxqty": {
  19732. "description": "待审核数量: 款项",
  19733. "type": "integer"
  19734. },
  19735. "hedgeplanqty": {
  19736. "description": "待审核数量: 套保计划",
  19737. "type": "integer"
  19738. },
  19739. "spotcontractqty": {
  19740. "description": "待审核数量: 现货合同",
  19741. "type": "integer"
  19742. },
  19743. "userqty": {
  19744. "description": "待审核数量: 用户",
  19745. "type": "integer"
  19746. }
  19747. }
  19748. },
  19749. "models.ErmcpRealExposureModel": {
  19750. "type": "object",
  19751. "properties": {
  19752. "AreaUserID": {
  19753. "description": "所属机构",
  19754. "type": "integer"
  19755. },
  19756. "BuyFutureQty": {
  19757. "description": "买入期货数量",
  19758. "type": "number"
  19759. },
  19760. "BuyPlanQty": {
  19761. "description": "采购计划数量",
  19762. "type": "number"
  19763. },
  19764. "BuyPricedQty": {
  19765. "description": "采购合同已定价数量",
  19766. "type": "number"
  19767. },
  19768. "MiddleGoodsCode": {
  19769. "description": "套保品种代码",
  19770. "type": "string"
  19771. },
  19772. "MiddleGoodsHedgeRatio": {
  19773. "description": "套保比例",
  19774. "type": "number"
  19775. },
  19776. "MiddleGoodsID": {
  19777. "description": "套保品种",
  19778. "type": "integer"
  19779. },
  19780. "MiddleGoodsName": {
  19781. "description": "套保品种名称",
  19782. "type": "string"
  19783. },
  19784. "NeedHedgeExposoure": {
  19785. "description": "应套保敞口(套保敞口)",
  19786. "type": "number"
  19787. },
  19788. "NeedHedgeRatio": {
  19789. "description": "应套保敞口比例",
  19790. "type": "number"
  19791. },
  19792. "OriBuyFutureQty": {
  19793. "description": "期初买入期货数量",
  19794. "type": "number"
  19795. },
  19796. "OriBuyPlanQty": {
  19797. "description": "期初采购计划数量",
  19798. "type": "number"
  19799. },
  19800. "OriBuyPricedQty": {
  19801. "description": "期初采购合同已定价数量",
  19802. "type": "number"
  19803. },
  19804. "OriSellFutureQty": {
  19805. "description": "期初卖出期货数量",
  19806. "type": "number"
  19807. },
  19808. "OriSellPlanQty": {
  19809. "description": "期初销售计划数量",
  19810. "type": "number"
  19811. },
  19812. "OriSellPricedQty": {
  19813. "description": "期初销售合同已定价数量",
  19814. "type": "number"
  19815. },
  19816. "SellFutureQty": {
  19817. "description": "卖出期货数量",
  19818. "type": "number"
  19819. },
  19820. "SellPlanQty": {
  19821. "description": "销售计划数量",
  19822. "type": "number"
  19823. },
  19824. "SellPricedQty": {
  19825. "description": "销售合同已定价数量",
  19826. "type": "number"
  19827. },
  19828. "TotalExposure": {
  19829. "description": "总敞口",
  19830. "type": "number"
  19831. },
  19832. "TotalFutureQty": {
  19833. "description": "期货总量",
  19834. "type": "number"
  19835. },
  19836. "TotalHedgeRatio": {
  19837. "description": "敞口比例",
  19838. "type": "number"
  19839. },
  19840. "TotalNeedHedgeQty": {
  19841. "description": "应套保总量(现货应套保总量)",
  19842. "type": "number"
  19843. },
  19844. "TotalSpotQty": {
  19845. "description": "现货总量",
  19846. "type": "number"
  19847. },
  19848. "arbitrageqty": {
  19849. "description": "套利量",
  19850. "type": "number"
  19851. },
  19852. "diffArbitrageQty": {
  19853. "description": "套利变动量",
  19854. "type": "number"
  19855. },
  19856. "diffExposoureQty": {
  19857. "description": "变动量(套保敞口)",
  19858. "type": "number"
  19859. },
  19860. "diffFutuQty": {
  19861. "description": "变动量(期货总量)",
  19862. "type": "number"
  19863. },
  19864. "diffHedgeQty": {
  19865. "description": "套保变动量",
  19866. "type": "number"
  19867. },
  19868. "diffQty": {
  19869. "description": "变动量(总敞口)",
  19870. "type": "number"
  19871. },
  19872. "diffSpotHedgeQty": {
  19873. "description": "变动量(现货应套保总量)",
  19874. "type": "number"
  19875. },
  19876. "diffSpotQty": {
  19877. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  19878. "type": "number"
  19879. },
  19880. "enumdicname": {
  19881. "description": "单位名称",
  19882. "type": "string"
  19883. },
  19884. "hedgeqty": {
  19885. "description": "套保量",
  19886. "type": "number"
  19887. },
  19888. "needarbitrageqty": {
  19889. "description": "应套利量",
  19890. "type": "number"
  19891. },
  19892. "needarbitrageratio": {
  19893. "description": "套利比例",
  19894. "type": "number"
  19895. },
  19896. "needhedgeqty": {
  19897. "description": "应套保量",
  19898. "type": "number"
  19899. },
  19900. "oriTotalFutuQty": {
  19901. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  19902. "type": "number"
  19903. },
  19904. "oriTotalSpotQty": {
  19905. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  19906. "type": "number"
  19907. },
  19908. "oriarbitrageqty": {
  19909. "description": "期初套利量",
  19910. "type": "number"
  19911. },
  19912. "orihedgeqty": {
  19913. "description": "期初套保量",
  19914. "type": "number"
  19915. },
  19916. "orineedhedgeexposoure": {
  19917. "description": "期初套保敞口",
  19918. "type": "number"
  19919. },
  19920. "oritotalexposure": {
  19921. "description": "期初总敞口",
  19922. "type": "number"
  19923. },
  19924. "oritotalfutureqty": {
  19925. "description": "期初期货总量",
  19926. "type": "number"
  19927. },
  19928. "oritotalneedhedgeqty": {
  19929. "description": "期初现货应套保量",
  19930. "type": "number"
  19931. }
  19932. }
  19933. },
  19934. "models.ErmcpRole": {
  19935. "type": "object",
  19936. "properties": {
  19937. "areauserid": {
  19938. "description": "所属机构",
  19939. "type": "integer"
  19940. },
  19941. "autoid": {
  19942. "description": "角色ID(自增ID)",
  19943. "type": "integer"
  19944. },
  19945. "modifierid": {
  19946. "description": "修改人(创建人)",
  19947. "type": "integer"
  19948. },
  19949. "modifiername": {
  19950. "description": "修改人名称",
  19951. "type": "string"
  19952. },
  19953. "modifytime": {
  19954. "description": "修改时间(创建时间)",
  19955. "type": "string"
  19956. },
  19957. "rolename": {
  19958. "description": "角色名称",
  19959. "type": "string"
  19960. },
  19961. "rolestatus": {
  19962. "description": "角色状态 - 1:启用 2:停用",
  19963. "type": "integer"
  19964. },
  19965. "roletype": {
  19966. "description": "角色类型 - 1- 管理端 2- 交易端",
  19967. "type": "integer"
  19968. }
  19969. }
  19970. },
  19971. "models.ErmcpRoleMenu": {
  19972. "type": "object",
  19973. "properties": {
  19974. "iconame": {
  19975. "description": "菜单图标",
  19976. "type": "string"
  19977. },
  19978. "ishadrole": {
  19979. "description": "是否有权限",
  19980. "type": "boolean"
  19981. },
  19982. "menutype": {
  19983. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  19984. "type": "integer"
  19985. },
  19986. "parentcode": {
  19987. "description": "上级资源代码",
  19988. "type": "string"
  19989. },
  19990. "remark": {
  19991. "description": "菜单备注",
  19992. "type": "string"
  19993. },
  19994. "resourcecode": {
  19995. "description": "菜单代码",
  19996. "type": "string"
  19997. },
  19998. "resourcelevel": {
  19999. "description": "级别",
  20000. "type": "integer"
  20001. },
  20002. "resourcename": {
  20003. "description": "菜单名称",
  20004. "type": "string"
  20005. },
  20006. "roleid": {
  20007. "description": "角色id",
  20008. "type": "integer"
  20009. },
  20010. "sort": {
  20011. "description": "排序",
  20012. "type": "integer"
  20013. },
  20014. "url": {
  20015. "description": "URL",
  20016. "type": "string"
  20017. },
  20018. "userid": {
  20019. "description": "用户id",
  20020. "type": "integer"
  20021. }
  20022. }
  20023. },
  20024. "models.ErmcpRoleMenuEx": {
  20025. "type": "object",
  20026. "properties": {
  20027. "menu": {
  20028. "description": "父级菜单",
  20029. "type": "object",
  20030. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20031. },
  20032. "subMenu": {
  20033. "description": "子级菜单",
  20034. "type": "array",
  20035. "items": {
  20036. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20037. }
  20038. }
  20039. }
  20040. },
  20041. "models.ErmcpTaAccount": {
  20042. "type": "object",
  20043. "properties": {
  20044. "accountid": {
  20045. "description": "账户id",
  20046. "type": "integer"
  20047. },
  20048. "accountname": {
  20049. "description": "账户名称",
  20050. "type": "string"
  20051. },
  20052. "currencyid": {
  20053. "description": "币种id",
  20054. "type": "integer"
  20055. },
  20056. "hedgeaccountcode": {
  20057. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20058. "type": "string"
  20059. },
  20060. "ismain": {
  20061. "description": "是否主账户 0-否 1-是",
  20062. "type": "integer"
  20063. },
  20064. "parentaccountid": {
  20065. "description": "父账户id",
  20066. "type": "integer"
  20067. },
  20068. "relateduserid": {
  20069. "description": "关联userid",
  20070. "type": "integer"
  20071. },
  20072. "tradefeetmpid": {
  20073. "description": "手续费模板id",
  20074. "type": "integer"
  20075. },
  20076. "tradefeetmpname": {
  20077. "description": "手续费模板名称",
  20078. "type": "string"
  20079. },
  20080. "trademargintmpid": {
  20081. "description": "保证金模板id",
  20082. "type": "integer"
  20083. },
  20084. "trademargintmpname": {
  20085. "description": "保证金模板名称",
  20086. "type": "string"
  20087. },
  20088. "traderatetmpid": {
  20089. "description": "汇率模板id",
  20090. "type": "integer"
  20091. },
  20092. "traderatetmpname": {
  20093. "description": "汇率模板名称",
  20094. "type": "string"
  20095. },
  20096. "tradestatus": {
  20097. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20098. "type": "integer"
  20099. },
  20100. "userid": {
  20101. "description": "用户id",
  20102. "type": "integer"
  20103. }
  20104. }
  20105. },
  20106. "models.ErmcpTaAccountEx": {
  20107. "type": "object",
  20108. "properties": {
  20109. "mainAcc": {
  20110. "description": "主账号",
  20111. "type": "object",
  20112. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20113. },
  20114. "subacclist": {
  20115. "description": "子账号列表",
  20116. "type": "array",
  20117. "items": {
  20118. "$ref": "#/definitions/models.ErmcpTaAccount"
  20119. }
  20120. }
  20121. }
  20122. },
  20123. "models.ErmcpTaAccountInfo": {
  20124. "type": "object",
  20125. "properties": {
  20126. "accountid": {
  20127. "description": "资金账户ID",
  20128. "type": "integer"
  20129. },
  20130. "accountname": {
  20131. "description": "账户名称",
  20132. "type": "string"
  20133. },
  20134. "balance": {
  20135. "description": "期初余额",
  20136. "type": "number"
  20137. },
  20138. "capitalbalance": {
  20139. "description": "本金余额[外部子账户实际出入金余额]",
  20140. "type": "number"
  20141. },
  20142. "closepl": {
  20143. "description": "今日平仓盈亏",
  20144. "type": "number"
  20145. },
  20146. "creditdecrease": {
  20147. "description": "今日授信减少",
  20148. "type": "number"
  20149. },
  20150. "creditincrease": {
  20151. "description": "今日授信增加",
  20152. "type": "number"
  20153. },
  20154. "curdebt": {
  20155. "description": "期末欠款",
  20156. "type": "number"
  20157. },
  20158. "currencyid": {
  20159. "description": "货币ID",
  20160. "type": "integer"
  20161. },
  20162. "currentbalance": {
  20163. "description": "期末余额",
  20164. "type": "number"
  20165. },
  20166. "freezecharge": {
  20167. "description": "手续费冻结",
  20168. "type": "number"
  20169. },
  20170. "freezemargin": {
  20171. "description": "冻结保证金",
  20172. "type": "number"
  20173. },
  20174. "fromaccountid": {
  20175. "description": "所属上级账户",
  20176. "type": "integer"
  20177. },
  20178. "inamount": {
  20179. "description": "今日入金金额(包括三方入金)",
  20180. "type": "number"
  20181. },
  20182. "ismain": {
  20183. "description": "是否母账号 0:不是母账户 1:是母账户",
  20184. "type": "integer"
  20185. },
  20186. "mortgagecredit": {
  20187. "description": "授信金额",
  20188. "type": "number"
  20189. },
  20190. "oridebt": {
  20191. "description": "期初欠款",
  20192. "type": "number"
  20193. },
  20194. "orifreezecharge": {
  20195. "description": "期初手续费冻结",
  20196. "type": "number"
  20197. },
  20198. "orifreezemargin": {
  20199. "description": "期初冻结保证金",
  20200. "type": "number"
  20201. },
  20202. "orimortgagecredit": {
  20203. "description": "期初授信金额",
  20204. "type": "number"
  20205. },
  20206. "oriothercredit": {
  20207. "description": "期初其它授信金额",
  20208. "type": "number"
  20209. },
  20210. "oriotherfreezemargin": {
  20211. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20212. "type": "number"
  20213. },
  20214. "orioutamountfreeze": {
  20215. "description": "期初出金冻结",
  20216. "type": "number"
  20217. },
  20218. "oriusedmargin": {
  20219. "description": "期初占用保证金",
  20220. "type": "number"
  20221. },
  20222. "othercredit": {
  20223. "description": "其它授信金额",
  20224. "type": "number"
  20225. },
  20226. "othercreditdecrease": {
  20227. "description": "今日其它授信减少",
  20228. "type": "number"
  20229. },
  20230. "othercreditincrease": {
  20231. "description": "今日其它授信增加",
  20232. "type": "number"
  20233. },
  20234. "otherfreezemargin": {
  20235. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20236. "type": "number"
  20237. },
  20238. "outamount": {
  20239. "description": "今日出金金额(包括三方出金)",
  20240. "type": "number"
  20241. },
  20242. "outamountfreeze": {
  20243. "description": "出金冻结",
  20244. "type": "number"
  20245. },
  20246. "outthreshold": {
  20247. "description": "出金阈值",
  20248. "type": "number"
  20249. },
  20250. "parentaccountid": {
  20251. "description": "所属根账号",
  20252. "type": "integer"
  20253. },
  20254. "paycharge": {
  20255. "description": "今日手续费支出",
  20256. "type": "number"
  20257. },
  20258. "relateduserid": {
  20259. "description": "关联用户",
  20260. "type": "integer"
  20261. },
  20262. "signstatus": {
  20263. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20264. "type": "integer"
  20265. },
  20266. "sublevelpath": {
  20267. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20268. "type": "string"
  20269. },
  20270. "taaccounttype": {
  20271. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20272. "type": "integer"
  20273. },
  20274. "thirdinamount": {
  20275. "description": "今日三方入金",
  20276. "type": "number"
  20277. },
  20278. "thirdoutamount": {
  20279. "description": "今日三方出金",
  20280. "type": "number"
  20281. },
  20282. "tradestatus": {
  20283. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20284. "type": "integer"
  20285. },
  20286. "transferamount": {
  20287. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20288. "type": "number"
  20289. },
  20290. "usedmargin": {
  20291. "description": "占用保证金",
  20292. "type": "number"
  20293. },
  20294. "userid": {
  20295. "description": "用户ID",
  20296. "type": "integer"
  20297. }
  20298. }
  20299. },
  20300. "models.ErmcpTaAccountM": {
  20301. "type": "object",
  20302. "properties": {
  20303. "accountid": {
  20304. "description": "账户id",
  20305. "type": "integer"
  20306. },
  20307. "accountname": {
  20308. "description": "账户名称",
  20309. "type": "string"
  20310. },
  20311. "currencyid": {
  20312. "description": "币种id",
  20313. "type": "integer"
  20314. },
  20315. "fcid": {
  20316. "description": "期货公司id",
  20317. "type": "integer"
  20318. },
  20319. "fcname": {
  20320. "description": "期货公司代码",
  20321. "type": "string"
  20322. },
  20323. "hedgeaccountcode": {
  20324. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20325. "type": "string"
  20326. },
  20327. "ismain": {
  20328. "description": "是否主账户 0-否 1-是",
  20329. "type": "integer"
  20330. },
  20331. "parentaccountid": {
  20332. "description": "父账户id",
  20333. "type": "integer"
  20334. },
  20335. "relateduserid": {
  20336. "description": "关联userid",
  20337. "type": "integer"
  20338. },
  20339. "tradefeetmpid": {
  20340. "description": "手续费模板id",
  20341. "type": "integer"
  20342. },
  20343. "tradefeetmpname": {
  20344. "description": "手续费模板名称",
  20345. "type": "string"
  20346. },
  20347. "trademargintmpid": {
  20348. "description": "保证金模板id",
  20349. "type": "integer"
  20350. },
  20351. "trademargintmpname": {
  20352. "description": "保证金模板名称",
  20353. "type": "string"
  20354. },
  20355. "traderatetmpid": {
  20356. "description": "汇率模板id",
  20357. "type": "integer"
  20358. },
  20359. "traderatetmpname": {
  20360. "description": "汇率模板名称",
  20361. "type": "string"
  20362. },
  20363. "tradestatus": {
  20364. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20365. "type": "integer"
  20366. },
  20367. "userid": {
  20368. "description": "用户id",
  20369. "type": "integer"
  20370. }
  20371. }
  20372. },
  20373. "models.ErmcpTradeConfigTMP": {
  20374. "type": "object",
  20375. "properties": {
  20376. "areauserid": {
  20377. "description": "所属机构",
  20378. "type": "integer"
  20379. },
  20380. "basiccurrencyid": {
  20381. "description": "基本币种ID[汇率] - 目标币种",
  20382. "type": "integer"
  20383. },
  20384. "mainaccountid": {
  20385. "description": "主账户ID",
  20386. "type": "integer"
  20387. },
  20388. "modifierid": {
  20389. "description": "修改人",
  20390. "type": "integer"
  20391. },
  20392. "remark": {
  20393. "description": "备注",
  20394. "type": "string"
  20395. },
  20396. "tradeconfigtmpid": {
  20397. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20398. "type": "integer"
  20399. },
  20400. "tradeconfigtmpname": {
  20401. "description": "交易配置模板名称",
  20402. "type": "string"
  20403. },
  20404. "tradeconfigtmptype": {
  20405. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20406. "type": "integer"
  20407. },
  20408. "updatetime": {
  20409. "description": "更新时间",
  20410. "type": "string"
  20411. }
  20412. }
  20413. },
  20414. "models.ErmcpUserModel": {
  20415. "type": "object",
  20416. "properties": {
  20417. "address": {
  20418. "description": "通讯地址",
  20419. "type": "string"
  20420. },
  20421. "attachment1": {
  20422. "description": "附件1",
  20423. "type": "string"
  20424. },
  20425. "audittime": {
  20426. "description": "审核时间",
  20427. "type": "string"
  20428. },
  20429. "cardbackphotourl": {
  20430. "description": "证件反面图片地址",
  20431. "type": "string"
  20432. },
  20433. "cardfrontphotourl": {
  20434. "description": "证件正面图片地址",
  20435. "type": "string"
  20436. },
  20437. "cardnum": {
  20438. "description": "证件号码",
  20439. "type": "string"
  20440. },
  20441. "cardtype": {
  20442. "description": "证件类型",
  20443. "type": "integer"
  20444. },
  20445. "cardtypename": {
  20446. "description": "证件类型名称",
  20447. "type": "string"
  20448. },
  20449. "cityid": {
  20450. "description": "市",
  20451. "type": "integer"
  20452. },
  20453. "contactname": {
  20454. "description": "联系人",
  20455. "type": "string"
  20456. },
  20457. "countryid": {
  20458. "description": "国家",
  20459. "type": "integer"
  20460. },
  20461. "createtime": {
  20462. "description": "创建时间",
  20463. "type": "string"
  20464. },
  20465. "customername": {
  20466. "description": "企业名称",
  20467. "type": "string"
  20468. },
  20469. "districtid": {
  20470. "description": "区域",
  20471. "type": "integer"
  20472. },
  20473. "email": {
  20474. "description": "邮件",
  20475. "type": "string"
  20476. },
  20477. "legalpersonname": {
  20478. "description": "法人姓名(企业)",
  20479. "type": "string"
  20480. },
  20481. "memberuserid": {
  20482. "description": "所属机构ID",
  20483. "type": "integer"
  20484. },
  20485. "mobile": {
  20486. "description": "手机号码",
  20487. "type": "string"
  20488. },
  20489. "modifytime": {
  20490. "description": "修改时间",
  20491. "type": "string"
  20492. },
  20493. "nickname": {
  20494. "description": "昵称",
  20495. "type": "string"
  20496. },
  20497. "provinceid": {
  20498. "description": "省",
  20499. "type": "integer"
  20500. },
  20501. "remark": {
  20502. "description": "备注",
  20503. "type": "string"
  20504. },
  20505. "status": {
  20506. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20507. "type": "integer"
  20508. },
  20509. "statusdesc": {
  20510. "description": "账户状态中文描述",
  20511. "type": "string"
  20512. },
  20513. "taxpayernum": {
  20514. "description": "纳税人识别号",
  20515. "type": "string"
  20516. },
  20517. "telphone": {
  20518. "description": "联系电话",
  20519. "type": "string"
  20520. },
  20521. "userid": {
  20522. "description": "用户ID",
  20523. "type": "integer"
  20524. },
  20525. "userinfotype": {
  20526. "description": "客户类型",
  20527. "type": "string"
  20528. }
  20529. }
  20530. },
  20531. "models.ErmcpWareHouseInfo": {
  20532. "type": "object",
  20533. "properties": {
  20534. "address": {
  20535. "description": "详细地址",
  20536. "type": "string"
  20537. },
  20538. "areauserid": {
  20539. "description": "所属机构",
  20540. "type": "integer"
  20541. },
  20542. "autoid": {
  20543. "description": "自增ID(仓库ID)",
  20544. "type": "integer"
  20545. },
  20546. "cityid": {
  20547. "description": "市",
  20548. "type": "integer"
  20549. },
  20550. "contactname": {
  20551. "description": "联系人",
  20552. "type": "string"
  20553. },
  20554. "contactnum": {
  20555. "description": "联系电话",
  20556. "type": "string"
  20557. },
  20558. "countryid": {
  20559. "description": "国家",
  20560. "type": "integer"
  20561. },
  20562. "createtime": {
  20563. "description": "创建时间",
  20564. "type": "string"
  20565. },
  20566. "districtid": {
  20567. "description": "区",
  20568. "type": "integer"
  20569. },
  20570. "hasvideo": {
  20571. "description": "是否有视频 - 0:无 1:有",
  20572. "type": "integer"
  20573. },
  20574. "provinceid": {
  20575. "description": "省",
  20576. "type": "integer"
  20577. },
  20578. "remark": {
  20579. "description": "审核备注",
  20580. "type": "string"
  20581. },
  20582. "videourl": {
  20583. "description": "视频地址",
  20584. "type": "string"
  20585. },
  20586. "warehousecode": {
  20587. "description": "仓库代码",
  20588. "type": "string"
  20589. },
  20590. "warehousename": {
  20591. "description": "仓库名称",
  20592. "type": "string"
  20593. },
  20594. "warehousestatus": {
  20595. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20596. "type": "integer"
  20597. },
  20598. "warehousetype": {
  20599. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20600. "type": "integer"
  20601. }
  20602. }
  20603. },
  20604. "models.Externalexchange": {
  20605. "type": "object",
  20606. "required": [
  20607. "autoid"
  20608. ],
  20609. "properties": {
  20610. "autoid": {
  20611. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  20612. "type": "integer"
  20613. },
  20614. "exchangefullname": {
  20615. "description": "外部交易所全称",
  20616. "type": "string"
  20617. },
  20618. "exexchangecode": {
  20619. "description": "外部交易所代码",
  20620. "type": "string"
  20621. },
  20622. "exexchangename": {
  20623. "description": "外部交易所名称(简称)",
  20624. "type": "string"
  20625. },
  20626. "ismarketprice": {
  20627. "description": "是否支持市价 - 0:不支持 1:支持",
  20628. "type": "integer"
  20629. },
  20630. "quotegear": {
  20631. "description": "行情档位(1-10)",
  20632. "type": "integer"
  20633. },
  20634. "showbrokerflag": {
  20635. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  20636. "type": "integer"
  20637. },
  20638. "updatetime": {
  20639. "description": "更新时间",
  20640. "type": "string"
  20641. }
  20642. }
  20643. },
  20644. "models.Funcmenulist": {
  20645. "type": "object",
  20646. "required": [
  20647. "resourcecode"
  20648. ],
  20649. "properties": {
  20650. "iconame": {
  20651. "description": "菜单图标",
  20652. "type": "string"
  20653. },
  20654. "menutype": {
  20655. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  20656. "type": "integer"
  20657. },
  20658. "parentcode": {
  20659. "description": "上级资源代码",
  20660. "type": "string"
  20661. },
  20662. "remark": {
  20663. "description": "备注",
  20664. "type": "string"
  20665. },
  20666. "resourcecode": {
  20667. "description": "资源代码",
  20668. "type": "string"
  20669. },
  20670. "resourcelevel": {
  20671. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  20672. "type": "integer"
  20673. },
  20674. "resourcename": {
  20675. "description": "资源名",
  20676. "type": "string"
  20677. },
  20678. "sort": {
  20679. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  20680. "type": "integer"
  20681. },
  20682. "url": {
  20683. "description": "URL",
  20684. "type": "string"
  20685. }
  20686. }
  20687. },
  20688. "models.Goods": {
  20689. "type": "object",
  20690. "required": [
  20691. "goodscode",
  20692. "goodsid",
  20693. "goodsname",
  20694. "marketid"
  20695. ],
  20696. "properties": {
  20697. "agreeunit": {
  20698. "description": "合约单位",
  20699. "type": "number"
  20700. },
  20701. "areauserid": {
  20702. "description": "所属机构",
  20703. "type": "integer"
  20704. },
  20705. "auditaccountid": {
  20706. "description": "审核操作员账号",
  20707. "type": "integer"
  20708. },
  20709. "audittime": {
  20710. "description": "审核时间",
  20711. "type": "string"
  20712. },
  20713. "cancelaccountid": {
  20714. "description": "注销操作员账号",
  20715. "type": "integer"
  20716. },
  20717. "canceltime": {
  20718. "description": "注销时间",
  20719. "type": "string"
  20720. },
  20721. "closepricemode": {
  20722. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20723. "type": "integer"
  20724. },
  20725. "closepriceparam": {
  20726. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  20727. "type": "number"
  20728. },
  20729. "createtime": {
  20730. "description": "创建时间",
  20731. "type": "string"
  20732. },
  20733. "creatorid": {
  20734. "description": "创建人",
  20735. "type": "integer"
  20736. },
  20737. "currencyid": {
  20738. "description": "报价货币ID",
  20739. "type": "integer"
  20740. },
  20741. "cutmode": {
  20742. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  20743. "type": "integer"
  20744. },
  20745. "decimalplace": {
  20746. "description": "报价小数位",
  20747. "type": "integer"
  20748. },
  20749. "delistingdate": {
  20750. "description": "商品退市时间(状态:退市) -- 已作废",
  20751. "type": "string"
  20752. },
  20753. "delistingmode": {
  20754. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  20755. "type": "integer"
  20756. },
  20757. "deliveryflag": {
  20758. "description": "交割标志 - 0:不可交割 1:可交割",
  20759. "type": "integer"
  20760. },
  20761. "forceclosemode": {
  20762. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  20763. "type": "integer"
  20764. },
  20765. "forceclosevalue": {
  20766. "description": "定期强平参数 [收益权]",
  20767. "type": "integer"
  20768. },
  20769. "goodscode": {
  20770. "description": "商品代码(内部)",
  20771. "type": "string"
  20772. },
  20773. "goodscurrencyid": {
  20774. "description": "合约货币ID",
  20775. "type": "integer"
  20776. },
  20777. "goodsgroupid": {
  20778. "description": "所属商品组ID",
  20779. "type": "integer"
  20780. },
  20781. "goodsid": {
  20782. "description": "商品ID(自增ID SEQ_GOODS)",
  20783. "type": "integer"
  20784. },
  20785. "goodsname": {
  20786. "description": "商品名称",
  20787. "type": "string"
  20788. },
  20789. "goodsquotetype": {
  20790. "description": "合约报价类型: 1-直接报价 2-间接报价",
  20791. "type": "integer"
  20792. },
  20793. "goodsstatus": {
  20794. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  20795. "type": "integer"
  20796. },
  20797. "goodstradetype": {
  20798. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  20799. "type": "integer"
  20800. },
  20801. "goodunitid": {
  20802. "description": "报价单位ID",
  20803. "type": "integer"
  20804. },
  20805. "hasquoter": {
  20806. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  20807. "type": "integer"
  20808. },
  20809. "hqprotecttime": {
  20810. "description": "行情保护时间(秒)",
  20811. "type": "integer"
  20812. },
  20813. "innerdealmode": {
  20814. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20815. "type": "integer"
  20816. },
  20817. "isbuylimited": {
  20818. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20819. "type": "integer"
  20820. },
  20821. "isvisible": {
  20822. "description": "游客是否可见 - 0:不可见 1:可见",
  20823. "type": "integer"
  20824. },
  20825. "lasttradedate": {
  20826. "description": "最后交易日期(状态:待退市)",
  20827. "type": "string"
  20828. },
  20829. "listingdate": {
  20830. "description": "交易开始日期",
  20831. "type": "string"
  20832. },
  20833. "marketid": {
  20834. "description": "所属市场ID",
  20835. "type": "integer"
  20836. },
  20837. "modifierid": {
  20838. "description": "修改人",
  20839. "type": "integer"
  20840. },
  20841. "modifystatus": {
  20842. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  20843. "type": "integer"
  20844. },
  20845. "modifytime": {
  20846. "description": "修改时间",
  20847. "type": "string"
  20848. },
  20849. "outerdealmode": {
  20850. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  20851. "type": "integer"
  20852. },
  20853. "outgoodscode": {
  20854. "description": "商品代码(外部)",
  20855. "type": "string"
  20856. },
  20857. "pictureurl": {
  20858. "description": "商品图片",
  20859. "type": "string"
  20860. },
  20861. "qtydecimalplace": {
  20862. "description": "成交量小数位",
  20863. "type": "integer"
  20864. },
  20865. "quotegear": {
  20866. "description": "行情档位(1-10)",
  20867. "type": "integer"
  20868. },
  20869. "quoteminunit": {
  20870. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  20871. "type": "integer"
  20872. },
  20873. "quoteshowtype": {
  20874. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  20875. "type": "integer"
  20876. },
  20877. "quoteshowtypeinterval": {
  20878. "description": "行情报价间隔时间(秒)(成交价时为0)",
  20879. "type": "integer"
  20880. },
  20881. "remark": {
  20882. "description": "备注",
  20883. "type": "string"
  20884. }
  20885. }
  20886. },
  20887. "models.GoodsIDAndName": {
  20888. "type": "object",
  20889. "required": [
  20890. "goodscode",
  20891. "goodsid",
  20892. "goodsname",
  20893. "marketid"
  20894. ],
  20895. "properties": {
  20896. "goodscode": {
  20897. "description": "商品代码(内部)",
  20898. "type": "string"
  20899. },
  20900. "goodsid": {
  20901. "description": "商品ID(自增ID SEQ_GOODS)",
  20902. "type": "integer"
  20903. },
  20904. "goodsname": {
  20905. "description": "商品名称",
  20906. "type": "string"
  20907. },
  20908. "marketid": {
  20909. "description": "所属市场ID",
  20910. "type": "integer"
  20911. }
  20912. }
  20913. },
  20914. "models.Goodsgroup": {
  20915. "type": "object",
  20916. "required": [
  20917. "goodsgroupid",
  20918. "goodsgroupname",
  20919. "goodsgroupstatus",
  20920. "marketid"
  20921. ],
  20922. "properties": {
  20923. "agreeunit": {
  20924. "description": "合约单位",
  20925. "type": "number"
  20926. },
  20927. "canshort": {
  20928. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  20929. "type": "integer"
  20930. },
  20931. "closepricemode": {
  20932. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  20933. "type": "integer"
  20934. },
  20935. "closepriceparam": {
  20936. "description": "强平最新价浮动比例 - 方式为2时使用",
  20937. "type": "number"
  20938. },
  20939. "createtime": {
  20940. "description": "创建时间",
  20941. "type": "string"
  20942. },
  20943. "creatorid": {
  20944. "description": "创建人",
  20945. "type": "integer"
  20946. },
  20947. "currencyid": {
  20948. "description": "报价货币ID",
  20949. "type": "integer"
  20950. },
  20951. "decimalplace": {
  20952. "description": "报价小数位",
  20953. "type": "integer"
  20954. },
  20955. "exercisetype": {
  20956. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  20957. "type": "integer"
  20958. },
  20959. "exexchangeid": {
  20960. "description": "外部交易所ID[通道交易]",
  20961. "type": "integer"
  20962. },
  20963. "goodsgroupid": {
  20964. "description": "商品组ID(自增ID)",
  20965. "type": "integer"
  20966. },
  20967. "goodsgroupname": {
  20968. "description": "商品组名称",
  20969. "type": "string"
  20970. },
  20971. "goodsgroupstatus": {
  20972. "description": "商品组状态 - 1:正常 2:注销",
  20973. "type": "integer"
  20974. },
  20975. "goodunitid": {
  20976. "description": "报价单位ID",
  20977. "type": "integer"
  20978. },
  20979. "innerdealmode": {
  20980. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  20981. "type": "integer"
  20982. },
  20983. "isbuylimited": {
  20984. "description": "是否限制建仓量 - 0:不限制 1:限制",
  20985. "type": "integer"
  20986. },
  20987. "marketid": {
  20988. "description": "所属市场ID",
  20989. "type": "integer"
  20990. },
  20991. "modifierid": {
  20992. "description": "修改人",
  20993. "type": "integer"
  20994. },
  20995. "modifytime": {
  20996. "description": "修改时间",
  20997. "type": "string"
  20998. },
  20999. "outerdealmode": {
  21000. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21001. "type": "integer"
  21002. },
  21003. "outergroupcode": {
  21004. "description": "外部商品组代码[通道交易]",
  21005. "type": "string"
  21006. },
  21007. "premiumdecimalplace": {
  21008. "description": "权利金小数位[场外期权]",
  21009. "type": "integer"
  21010. },
  21011. "premiumspreadalgorithm": {
  21012. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21013. "type": "integer"
  21014. },
  21015. "premiumspreadvalue": {
  21016. "description": "权利金点差值[场外期权]",
  21017. "type": "number"
  21018. },
  21019. "qtydecimalplace": {
  21020. "description": "成交量小数位",
  21021. "type": "integer"
  21022. },
  21023. "quotegear": {
  21024. "description": "行情档位(1-10)",
  21025. "type": "integer"
  21026. },
  21027. "quoteminunit": {
  21028. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21029. "type": "integer"
  21030. },
  21031. "quoterid": {
  21032. "description": "报价商ID[场外期权]",
  21033. "type": "integer"
  21034. },
  21035. "quotesourcegroupid": {
  21036. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21037. "type": "integer"
  21038. },
  21039. "syncgoodsqty": {
  21040. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21041. "type": "integer"
  21042. }
  21043. }
  21044. },
  21045. "models.Goodssortbypreposition": {
  21046. "type": "object",
  21047. "required": [
  21048. "goodscode",
  21049. "tradedate"
  21050. ],
  21051. "properties": {
  21052. "goodscode": {
  21053. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21054. "type": "string"
  21055. },
  21056. "goodsgroupcode": {
  21057. "description": "品种代码",
  21058. "type": "string"
  21059. },
  21060. "prepositionqty": {
  21061. "description": "昨持仓量",
  21062. "type": "integer"
  21063. },
  21064. "sortindex": {
  21065. "description": "排序",
  21066. "type": "integer"
  21067. },
  21068. "tradedate": {
  21069. "description": "交易日",
  21070. "type": "string"
  21071. },
  21072. "updatetime": {
  21073. "description": "更新时间",
  21074. "type": "string"
  21075. }
  21076. }
  21077. },
  21078. "models.Hedgeinnerholderdetail": {
  21079. "type": "object",
  21080. "required": [
  21081. "buyorsell",
  21082. "tradeid"
  21083. ],
  21084. "properties": {
  21085. "accountid": {
  21086. "description": "账号ID",
  21087. "type": "integer"
  21088. },
  21089. "buyorsell": {
  21090. "description": "方向 - 0:买 1:卖",
  21091. "type": "integer"
  21092. },
  21093. "freezeqty": {
  21094. "description": "冻结数量 - 按单平使用",
  21095. "type": "integer"
  21096. },
  21097. "goodsid": {
  21098. "description": "商品ID",
  21099. "type": "integer"
  21100. },
  21101. "holderamount": {
  21102. "description": "持仓金额 [商品币种]",
  21103. "type": "number"
  21104. },
  21105. "holderdays": {
  21106. "description": "剩余冻结天数",
  21107. "type": "integer"
  21108. },
  21109. "holderprice": {
  21110. "description": "持仓价格",
  21111. "type": "number"
  21112. },
  21113. "holderqty": {
  21114. "description": "持仓数量",
  21115. "type": "integer"
  21116. },
  21117. "marketid": {
  21118. "description": "市场ID",
  21119. "type": "integer"
  21120. },
  21121. "openprice": {
  21122. "description": "建仓价格",
  21123. "type": "number"
  21124. },
  21125. "openqty": {
  21126. "description": "建仓数量",
  21127. "type": "integer"
  21128. },
  21129. "parentaccountid": {
  21130. "description": "所属母账户",
  21131. "type": "integer"
  21132. },
  21133. "releaseamount": {
  21134. "description": "释放持仓金额[商品币种]",
  21135. "type": "number"
  21136. },
  21137. "tradeamount": {
  21138. "description": "成交金额[账户]",
  21139. "type": "number"
  21140. },
  21141. "tradedate": {
  21142. "description": "交易日(yyyyMMdd)",
  21143. "type": "string"
  21144. },
  21145. "tradeid": {
  21146. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21147. "type": "string"
  21148. },
  21149. "tradetime": {
  21150. "description": "交易时间",
  21151. "type": "string"
  21152. }
  21153. }
  21154. },
  21155. "models.Hedgemarketopenlog": {
  21156. "type": "object",
  21157. "required": [
  21158. "accountid"
  21159. ],
  21160. "properties": {
  21161. "accountid": {
  21162. "description": "资金账号[外部母账户]",
  21163. "type": "integer"
  21164. },
  21165. "fcname": {
  21166. "description": "期货公司名称",
  21167. "type": "string"
  21168. },
  21169. "handlestatus": {
  21170. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21171. "type": "integer"
  21172. },
  21173. "marketid": {
  21174. "description": "市场ID",
  21175. "type": "integer"
  21176. },
  21177. "status": {
  21178. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21179. "type": "integer"
  21180. },
  21181. "tradedate": {
  21182. "description": "交易日(yyyyMMdd)",
  21183. "type": "string"
  21184. },
  21185. "updatetime": {
  21186. "description": "更新时间",
  21187. "type": "string"
  21188. }
  21189. }
  21190. },
  21191. "models.HsbyBuyMyPayOrder": {
  21192. "type": "object",
  21193. "required": [
  21194. "goodscode",
  21195. "goodsname",
  21196. "tradeid",
  21197. "trademode"
  21198. ],
  21199. "properties": {
  21200. "agreeunit": {
  21201. "description": "合约单位",
  21202. "type": "number"
  21203. },
  21204. "buyaccountid": {
  21205. "description": "买方账号ID[报价币种]",
  21206. "type": "integer"
  21207. },
  21208. "buyorderid": {
  21209. "description": "买方委托单号",
  21210. "type": "string"
  21211. },
  21212. "createtime": {
  21213. "description": "创建时间",
  21214. "type": "string"
  21215. },
  21216. "currencysign": {
  21217. "description": "货币符号",
  21218. "type": "string"
  21219. },
  21220. "decimalplace": {
  21221. "description": "报价小数位",
  21222. "type": "integer"
  21223. },
  21224. "goodscode": {
  21225. "description": "商品代码(内部)",
  21226. "type": "string"
  21227. },
  21228. "goodsid": {
  21229. "description": "商品ID",
  21230. "type": "integer"
  21231. },
  21232. "goodsname": {
  21233. "description": "商品名称",
  21234. "type": "string"
  21235. },
  21236. "marketid": {
  21237. "description": "市场ID",
  21238. "type": "integer"
  21239. },
  21240. "offamount": {
  21241. "description": "优惠金额",
  21242. "type": "number"
  21243. },
  21244. "originalamount": {
  21245. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21246. "type": "number"
  21247. },
  21248. "payamount": {
  21249. "description": "支付金额 = TradeAmount + TradeCharge",
  21250. "type": "number"
  21251. },
  21252. "payflag": {
  21253. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21254. "type": "integer"
  21255. },
  21256. "paylimitedtime": {
  21257. "description": "支付期限",
  21258. "type": "string"
  21259. },
  21260. "paytime": {
  21261. "description": "付款时间",
  21262. "type": "string"
  21263. },
  21264. "picurls1": {
  21265. "description": "预售商品介绍图片[多张用逗号分隔]",
  21266. "type": "string"
  21267. },
  21268. "picurls2": {
  21269. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21270. "type": "string"
  21271. },
  21272. "sellaccountid": {
  21273. "description": "卖方账号ID[报价币种]",
  21274. "type": "integer"
  21275. },
  21276. "sellorderid": {
  21277. "description": "卖方委托单号",
  21278. "type": "string"
  21279. },
  21280. "tradeamount": {
  21281. "description": "成交金额",
  21282. "type": "number"
  21283. },
  21284. "tradecharge": {
  21285. "description": "成交手续费(买方)",
  21286. "type": "number"
  21287. },
  21288. "tradedate": {
  21289. "description": "交易日(yyyyMMdd)",
  21290. "type": "string"
  21291. },
  21292. "tradeid": {
  21293. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21294. "type": "string"
  21295. },
  21296. "trademode": {
  21297. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21298. "type": "integer"
  21299. },
  21300. "tradeprice": {
  21301. "description": "成交价格",
  21302. "type": "number"
  21303. },
  21304. "tradeqty": {
  21305. "description": "成交数量",
  21306. "type": "integer"
  21307. },
  21308. "vendorname1": {
  21309. "description": "预售商品供应商名称",
  21310. "type": "string"
  21311. },
  21312. "vendorname2": {
  21313. "description": "挂牌商品供应商名称",
  21314. "type": "string"
  21315. }
  21316. }
  21317. },
  21318. "models.HsbyBuyMyTradeDetail": {
  21319. "type": "object",
  21320. "required": [
  21321. "accountid",
  21322. "buyorsell",
  21323. "goodscode",
  21324. "goodsid",
  21325. "goodsname",
  21326. "marketid",
  21327. "orderid",
  21328. "qty",
  21329. "time",
  21330. "trademode"
  21331. ],
  21332. "properties": {
  21333. "accountid": {
  21334. "description": "账户ID[报价币种]",
  21335. "type": "integer"
  21336. },
  21337. "agreeunit": {
  21338. "description": "合约单位",
  21339. "type": "number"
  21340. },
  21341. "amount": {
  21342. "description": "金额 = 价格 * 数量 * 合约单位",
  21343. "type": "number"
  21344. },
  21345. "buyorsell": {
  21346. "description": "买卖 - 0:买 1:卖",
  21347. "type": "integer"
  21348. },
  21349. "currencysign": {
  21350. "description": "货币符号",
  21351. "type": "string"
  21352. },
  21353. "decimalplace": {
  21354. "description": "报价小数位",
  21355. "type": "integer"
  21356. },
  21357. "goodscode": {
  21358. "description": "商品代码(内部)",
  21359. "type": "string"
  21360. },
  21361. "goodsid": {
  21362. "description": "商品ID",
  21363. "type": "integer"
  21364. },
  21365. "goodsname": {
  21366. "description": "商品名称",
  21367. "type": "string"
  21368. },
  21369. "marketid": {
  21370. "description": "市场ID",
  21371. "type": "integer"
  21372. },
  21373. "orderamount": {
  21374. "description": "委托金额",
  21375. "type": "number"
  21376. },
  21377. "orderid": {
  21378. "description": "单号(成交单号)",
  21379. "type": "string"
  21380. },
  21381. "picurls1": {
  21382. "description": "预售商品介绍图片[多张用逗号分隔]",
  21383. "type": "string"
  21384. },
  21385. "picurls2": {
  21386. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21387. "type": "string"
  21388. },
  21389. "price": {
  21390. "description": "价格",
  21391. "type": "number"
  21392. },
  21393. "qty": {
  21394. "description": "数量",
  21395. "type": "integer"
  21396. },
  21397. "time": {
  21398. "description": "时间",
  21399. "type": "string"
  21400. },
  21401. "trademode": {
  21402. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21403. "type": "integer"
  21404. },
  21405. "vendorname1": {
  21406. "description": "预售商品供应商名称",
  21407. "type": "string"
  21408. },
  21409. "vendorname2": {
  21410. "description": "挂牌商品供应商名称",
  21411. "type": "string"
  21412. }
  21413. }
  21414. },
  21415. "models.HsbyGoodsOrderDetail": {
  21416. "type": "object",
  21417. "required": [
  21418. "buyorsell",
  21419. "orderid",
  21420. "ordertime"
  21421. ],
  21422. "properties": {
  21423. "buyorsell": {
  21424. "description": "买卖 - 0:买 1:卖",
  21425. "type": "integer"
  21426. },
  21427. "currencysign": {
  21428. "description": "货币符号",
  21429. "type": "string"
  21430. },
  21431. "customername": {
  21432. "description": "客户名称(企业名称),已脱敏",
  21433. "type": "string"
  21434. },
  21435. "enableqty": {
  21436. "description": "可用数量",
  21437. "type": "integer"
  21438. },
  21439. "goodunit": {
  21440. "description": "报价单位",
  21441. "type": "string"
  21442. },
  21443. "orderid": {
  21444. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21445. "type": "string"
  21446. },
  21447. "orderprice": {
  21448. "description": "委托价格",
  21449. "type": "number"
  21450. },
  21451. "ordertime": {
  21452. "description": "委托时间",
  21453. "type": "string"
  21454. }
  21455. }
  21456. },
  21457. "models.HsbyListingGoodsDetail": {
  21458. "type": "object",
  21459. "required": [
  21460. "goodscode",
  21461. "goodsid",
  21462. "goodsname",
  21463. "marketid",
  21464. "trademode"
  21465. ],
  21466. "properties": {
  21467. "agreeunit": {
  21468. "description": "合约单位",
  21469. "type": "number"
  21470. },
  21471. "buymaxqty": {
  21472. "description": "购买上限 [71] - 0为不限",
  21473. "type": "integer"
  21474. },
  21475. "currency": {
  21476. "description": "货币",
  21477. "type": "string"
  21478. },
  21479. "currencysign": {
  21480. "description": "货币符号",
  21481. "type": "string"
  21482. },
  21483. "decimalplace": {
  21484. "description": "报价小数位",
  21485. "type": "integer"
  21486. },
  21487. "desccityid": {
  21488. "description": "目的地(市)ID",
  21489. "type": "integer"
  21490. },
  21491. "descprovinceid": {
  21492. "description": "目的地(省)ID",
  21493. "type": "integer"
  21494. },
  21495. "goodscode": {
  21496. "description": "商品代码(内部)",
  21497. "type": "string"
  21498. },
  21499. "goodsdesc": {
  21500. "description": "商品详情",
  21501. "type": "string"
  21502. },
  21503. "goodsid": {
  21504. "description": "商品ID(自增ID SEQ_GOODS)",
  21505. "type": "integer"
  21506. },
  21507. "goodsname": {
  21508. "description": "商品名称",
  21509. "type": "string"
  21510. },
  21511. "goodsprice": {
  21512. "description": "商品价格",
  21513. "type": "number"
  21514. },
  21515. "hotindex": {
  21516. "description": "景点热度",
  21517. "type": "integer"
  21518. },
  21519. "last": {
  21520. "description": "现价",
  21521. "type": "number"
  21522. },
  21523. "limitdown": {
  21524. "description": "跌停价",
  21525. "type": "number"
  21526. },
  21527. "limitup": {
  21528. "description": "涨停价",
  21529. "type": "number"
  21530. },
  21531. "lotsize": {
  21532. "description": "手数最小变动单位",
  21533. "type": "integer"
  21534. },
  21535. "marketid": {
  21536. "description": "所属市场ID",
  21537. "type": "integer"
  21538. },
  21539. "picurls": {
  21540. "description": "介绍图片[多张用逗号分隔]",
  21541. "type": "string"
  21542. },
  21543. "quoteminunit": {
  21544. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21545. "type": "integer"
  21546. },
  21547. "stepvalue": {
  21548. "description": "价格最小变动单位",
  21549. "type": "number"
  21550. },
  21551. "trademode": {
  21552. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21553. "type": "integer"
  21554. },
  21555. "vendorattr": {
  21556. "description": "供应商附件(多张,逗号分隔)",
  21557. "type": "string"
  21558. },
  21559. "vendorname": {
  21560. "description": "供应商名称",
  21561. "type": "string"
  21562. },
  21563. "vendorphone": {
  21564. "description": "供应商客服电话",
  21565. "type": "string"
  21566. },
  21567. "videourls": {
  21568. "description": "介绍视频[多张用逗号分隔]",
  21569. "type": "string"
  21570. }
  21571. }
  21572. },
  21573. "models.HsbyMarketGoods": {
  21574. "type": "object",
  21575. "required": [
  21576. "accountid",
  21577. "buyorsell",
  21578. "goodscode",
  21579. "goodsid",
  21580. "goodsname",
  21581. "marketid",
  21582. "orderid",
  21583. "trademode"
  21584. ],
  21585. "properties": {
  21586. "accountid": {
  21587. "description": "账户ID[报价币种]",
  21588. "type": "integer"
  21589. },
  21590. "agreeunit": {
  21591. "description": "合约单位",
  21592. "type": "number"
  21593. },
  21594. "buyorsell": {
  21595. "description": "买卖 - 0:买 1:卖",
  21596. "type": "integer"
  21597. },
  21598. "categoryid": {
  21599. "description": "类别ID(WRCATEGORY)",
  21600. "type": "integer"
  21601. },
  21602. "currency": {
  21603. "description": "货币",
  21604. "type": "string"
  21605. },
  21606. "currencysign": {
  21607. "description": "货币符号",
  21608. "type": "string"
  21609. },
  21610. "customername": {
  21611. "description": "卖家名称",
  21612. "type": "string"
  21613. },
  21614. "decimalplace": {
  21615. "description": "报价小数位",
  21616. "type": "integer"
  21617. },
  21618. "goodscode": {
  21619. "description": "商品代码(内部)",
  21620. "type": "string"
  21621. },
  21622. "goodsid": {
  21623. "description": "商品ID",
  21624. "type": "integer"
  21625. },
  21626. "goodsname": {
  21627. "description": "商品名称",
  21628. "type": "string"
  21629. },
  21630. "goodsprice": {
  21631. "description": "商品价格",
  21632. "type": "number"
  21633. },
  21634. "hascoupon": {
  21635. "description": "是否可用优惠卷",
  21636. "type": "boolean"
  21637. },
  21638. "hotindex": {
  21639. "description": "景点热度",
  21640. "type": "integer"
  21641. },
  21642. "marketid": {
  21643. "description": "市场ID",
  21644. "type": "integer"
  21645. },
  21646. "orderid": {
  21647. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21648. "type": "string"
  21649. },
  21650. "orderprice": {
  21651. "description": "委托价格",
  21652. "type": "number"
  21653. },
  21654. "orderstatus": {
  21655. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21656. "type": "integer"
  21657. },
  21658. "picurls": {
  21659. "description": "介绍图片[多张用逗号分隔]",
  21660. "type": "string"
  21661. },
  21662. "quoteminunit": {
  21663. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21664. "type": "integer"
  21665. },
  21666. "sellUserID": {
  21667. "description": "卖方UserID",
  21668. "type": "integer"
  21669. },
  21670. "trademode": {
  21671. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21672. "type": "integer"
  21673. },
  21674. "videourls": {
  21675. "description": "介绍视频[多张用逗号分隔]",
  21676. "type": "string"
  21677. }
  21678. }
  21679. },
  21680. "models.HsbyMarketGoodsDetail": {
  21681. "type": "object",
  21682. "required": [
  21683. "accountid",
  21684. "buyorsell",
  21685. "goodscode",
  21686. "goodsid",
  21687. "goodsname",
  21688. "marketid",
  21689. "orderid",
  21690. "orderqty",
  21691. "trademode"
  21692. ],
  21693. "properties": {
  21694. "accountid": {
  21695. "description": "账户ID[报价币种]",
  21696. "type": "integer"
  21697. },
  21698. "agreeunit": {
  21699. "description": "合约单位",
  21700. "type": "number"
  21701. },
  21702. "buymaxqty": {
  21703. "description": "购买上限 [71] - 0为不限",
  21704. "type": "integer"
  21705. },
  21706. "buyorsell": {
  21707. "description": "买卖 - 0:买 1:卖",
  21708. "type": "integer"
  21709. },
  21710. "cancelqty": {
  21711. "description": "撤单数量",
  21712. "type": "integer"
  21713. },
  21714. "categoryid": {
  21715. "description": "类别ID(WRCATEGORY)",
  21716. "type": "integer"
  21717. },
  21718. "currency": {
  21719. "description": "货币",
  21720. "type": "string"
  21721. },
  21722. "currencysign": {
  21723. "description": "货币符号",
  21724. "type": "string"
  21725. },
  21726. "customername": {
  21727. "description": "卖家名称",
  21728. "type": "string"
  21729. },
  21730. "decimalplace": {
  21731. "description": "报价小数位",
  21732. "type": "integer"
  21733. },
  21734. "goodscode": {
  21735. "description": "商品代码(内部)",
  21736. "type": "string"
  21737. },
  21738. "goodsdesc": {
  21739. "description": "商品详情",
  21740. "type": "string"
  21741. },
  21742. "goodsid": {
  21743. "description": "商品ID",
  21744. "type": "integer"
  21745. },
  21746. "goodsname": {
  21747. "description": "商品名称",
  21748. "type": "string"
  21749. },
  21750. "goodsprice": {
  21751. "description": "商品价格",
  21752. "type": "number"
  21753. },
  21754. "hotindex": {
  21755. "description": "景点热度",
  21756. "type": "integer"
  21757. },
  21758. "lotsize": {
  21759. "description": "手数最小变动单位",
  21760. "type": "integer"
  21761. },
  21762. "marketid": {
  21763. "description": "市场ID",
  21764. "type": "integer"
  21765. },
  21766. "orderid": {
  21767. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21768. "type": "string"
  21769. },
  21770. "orderprice": {
  21771. "description": "委托价格",
  21772. "type": "number"
  21773. },
  21774. "orderqty": {
  21775. "description": "委托数量",
  21776. "type": "integer"
  21777. },
  21778. "orderstatus": {
  21779. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21780. "type": "integer"
  21781. },
  21782. "picurls": {
  21783. "description": "介绍图片[多张用逗号分隔]",
  21784. "type": "string"
  21785. },
  21786. "quoteminunit": {
  21787. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21788. "type": "integer"
  21789. },
  21790. "sellUserID": {
  21791. "description": "卖方UserID",
  21792. "type": "integer"
  21793. },
  21794. "trademode": {
  21795. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21796. "type": "integer"
  21797. },
  21798. "tradeqty": {
  21799. "description": "成交数量",
  21800. "type": "integer"
  21801. },
  21802. "vendorattr": {
  21803. "description": "供应商附件(多张,逗号分隔)",
  21804. "type": "string"
  21805. },
  21806. "vendorname": {
  21807. "description": "供应商名称",
  21808. "type": "string"
  21809. },
  21810. "vendorphone": {
  21811. "description": "供应商客服电话",
  21812. "type": "string"
  21813. },
  21814. "videourls": {
  21815. "description": "介绍视频[多张用逗号分隔]",
  21816. "type": "string"
  21817. }
  21818. }
  21819. },
  21820. "models.HsbyMarketInfo": {
  21821. "type": "object",
  21822. "required": [
  21823. "marketid",
  21824. "marketstatus",
  21825. "trademode"
  21826. ],
  21827. "properties": {
  21828. "marketid": {
  21829. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  21830. "type": "integer"
  21831. },
  21832. "marketname": {
  21833. "description": "市场名称",
  21834. "type": "string"
  21835. },
  21836. "marketstatus": {
  21837. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  21838. "type": "integer"
  21839. },
  21840. "trademode": {
  21841. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21842. "type": "integer"
  21843. }
  21844. }
  21845. },
  21846. "models.HsbyMyGoods": {
  21847. "type": "object",
  21848. "required": [
  21849. "accountid",
  21850. "goodscode",
  21851. "goodsid",
  21852. "goodsname",
  21853. "marketid",
  21854. "trademode"
  21855. ],
  21856. "properties": {
  21857. "accountid": {
  21858. "description": "账号Id",
  21859. "type": "integer"
  21860. },
  21861. "agreeunit": {
  21862. "description": "合约单位",
  21863. "type": "number"
  21864. },
  21865. "buyaverageprice": {
  21866. "description": "持仓均价",
  21867. "type": "number"
  21868. },
  21869. "buycurholderamount": {
  21870. "description": "买当前持仓总金额[商品币种]",
  21871. "type": "number"
  21872. },
  21873. "buycurpositionqty": {
  21874. "description": "买当前持仓总数量",
  21875. "type": "integer"
  21876. },
  21877. "buymaxqty": {
  21878. "description": "购买上限 [71] - 0为不限",
  21879. "type": "integer"
  21880. },
  21881. "currencysign": {
  21882. "description": "货币符号",
  21883. "type": "string"
  21884. },
  21885. "decimalplace": {
  21886. "description": "报价小数位",
  21887. "type": "integer"
  21888. },
  21889. "enableqty": {
  21890. "description": "可用数量",
  21891. "type": "integer"
  21892. },
  21893. "goodscode": {
  21894. "description": "商品代码(内部)",
  21895. "type": "string"
  21896. },
  21897. "goodsid": {
  21898. "description": "商品Id",
  21899. "type": "integer"
  21900. },
  21901. "goodsname": {
  21902. "description": "商品名称",
  21903. "type": "string"
  21904. },
  21905. "goodsprice": {
  21906. "description": "商品价格",
  21907. "type": "number"
  21908. },
  21909. "goodsstatus": {
  21910. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21911. "type": "integer"
  21912. },
  21913. "last": {
  21914. "description": "现价(仅使用于挂牌点选)",
  21915. "type": "number"
  21916. },
  21917. "limitdown": {
  21918. "description": "跌停价(仅使用于挂牌点选)",
  21919. "type": "number"
  21920. },
  21921. "limitup": {
  21922. "description": "涨停价(仅使用于挂牌点选)",
  21923. "type": "number"
  21924. },
  21925. "lotsize": {
  21926. "description": "手数最小变动单位",
  21927. "type": "integer"
  21928. },
  21929. "marketid": {
  21930. "description": "所属市场ID",
  21931. "type": "integer"
  21932. },
  21933. "picurls": {
  21934. "description": "介绍图片[多张用逗号分隔]",
  21935. "type": "string"
  21936. },
  21937. "quoteminunit": {
  21938. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21939. "type": "integer"
  21940. },
  21941. "stepvalue": {
  21942. "description": "价格最小变动单位",
  21943. "type": "number"
  21944. },
  21945. "trademode": {
  21946. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21947. "type": "integer"
  21948. }
  21949. }
  21950. },
  21951. "models.HsbyMyPackage": {
  21952. "type": "object",
  21953. "required": [
  21954. "goodscode",
  21955. "goodsname",
  21956. "takeorderid",
  21957. "trademode"
  21958. ],
  21959. "properties": {
  21960. "accountid": {
  21961. "description": "账户ID",
  21962. "type": "integer"
  21963. },
  21964. "address": {
  21965. "description": "提货人详细地址",
  21966. "type": "string"
  21967. },
  21968. "agreeunit": {
  21969. "description": "合约单位",
  21970. "type": "number"
  21971. },
  21972. "amount": {
  21973. "description": "提货金额",
  21974. "type": "number"
  21975. },
  21976. "auditer": {
  21977. "description": "审核人",
  21978. "type": "integer"
  21979. },
  21980. "audittime": {
  21981. "description": "审核时间",
  21982. "type": "string"
  21983. },
  21984. "averageprice": {
  21985. "description": "均价",
  21986. "type": "number"
  21987. },
  21988. "cardnum": {
  21989. "description": "提货人证件号码",
  21990. "type": "string"
  21991. },
  21992. "cardtypeid": {
  21993. "description": "提货人证件类型",
  21994. "type": "integer"
  21995. },
  21996. "checkremark": {
  21997. "description": "审核备注",
  21998. "type": "string"
  21999. },
  22000. "currencysign": {
  22001. "description": "货币符号",
  22002. "type": "string"
  22003. },
  22004. "decimalplace": {
  22005. "description": "报价小数位",
  22006. "type": "integer"
  22007. },
  22008. "goodscode": {
  22009. "description": "商品代码(内部)",
  22010. "type": "string"
  22011. },
  22012. "goodsid": {
  22013. "description": "商品ID",
  22014. "type": "integer"
  22015. },
  22016. "goodsname": {
  22017. "description": "商品名称",
  22018. "type": "string"
  22019. },
  22020. "handlestatus": {
  22021. "description": "处理状态",
  22022. "type": "integer"
  22023. },
  22024. "marketid": {
  22025. "description": "市场ID",
  22026. "type": "integer"
  22027. },
  22028. "phonenum": {
  22029. "description": "提货人联系方式",
  22030. "type": "string"
  22031. },
  22032. "picurls": {
  22033. "description": "介绍图片[多张用逗号分隔]",
  22034. "type": "string"
  22035. },
  22036. "qty": {
  22037. "description": "提货数量",
  22038. "type": "number"
  22039. },
  22040. "recivername": {
  22041. "description": "提货人姓名",
  22042. "type": "string"
  22043. },
  22044. "reqtime": {
  22045. "description": "更新时间",
  22046. "type": "string"
  22047. },
  22048. "takemode": {
  22049. "description": "提货方式 - 2:自提 3:配送",
  22050. "type": "integer"
  22051. },
  22052. "takeorderid": {
  22053. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22054. "type": "string"
  22055. },
  22056. "takeorderstatus": {
  22057. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22058. "type": "integer"
  22059. },
  22060. "takeremark": {
  22061. "description": "提货备注",
  22062. "type": "string"
  22063. },
  22064. "tradedate": {
  22065. "description": "交易日(yyyyMMdd)",
  22066. "type": "string"
  22067. },
  22068. "trademode": {
  22069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22070. "type": "integer"
  22071. },
  22072. "userid": {
  22073. "description": "用户ID",
  22074. "type": "integer"
  22075. },
  22076. "vendorname": {
  22077. "description": "供应商名称",
  22078. "type": "string"
  22079. }
  22080. }
  22081. },
  22082. "models.HsbyPreGoods": {
  22083. "type": "object",
  22084. "required": [
  22085. "goodscode",
  22086. "goodsid",
  22087. "goodsname",
  22088. "marketid",
  22089. "trademode"
  22090. ],
  22091. "properties": {
  22092. "agreeunit": {
  22093. "description": "合约单位",
  22094. "type": "number"
  22095. },
  22096. "currency": {
  22097. "description": "货币",
  22098. "type": "string"
  22099. },
  22100. "currencysign": {
  22101. "description": "货币符号",
  22102. "type": "string"
  22103. },
  22104. "decimalplace": {
  22105. "description": "报价小数位",
  22106. "type": "integer"
  22107. },
  22108. "desccityid": {
  22109. "description": "目的地(市)",
  22110. "type": "integer"
  22111. },
  22112. "descprovinceid": {
  22113. "description": "目的地(省)",
  22114. "type": "integer"
  22115. },
  22116. "enableqty": {
  22117. "description": "剩余数量",
  22118. "type": "integer"
  22119. },
  22120. "goodscode": {
  22121. "description": "商品代码(内部)",
  22122. "type": "string"
  22123. },
  22124. "goodsid": {
  22125. "description": "商品ID(自增ID SEQ_GOODS)",
  22126. "type": "integer"
  22127. },
  22128. "goodsname": {
  22129. "description": "商品名称",
  22130. "type": "string"
  22131. },
  22132. "goodsstatus": {
  22133. "description": "商品状态- 2:未上市 3:上市",
  22134. "type": "integer"
  22135. },
  22136. "lasttradedate": {
  22137. "description": "最后交易日期(状态:待退市)",
  22138. "type": "string"
  22139. },
  22140. "listingdate": {
  22141. "description": "交易开始日期",
  22142. "type": "string"
  22143. },
  22144. "marketid": {
  22145. "description": "所属市场ID",
  22146. "type": "integer"
  22147. },
  22148. "picurls": {
  22149. "description": "介绍图片[多张用逗号分隔]",
  22150. "type": "string"
  22151. },
  22152. "presaledqty": {
  22153. "description": "已预售量(预售结束时更新)",
  22154. "type": "integer"
  22155. },
  22156. "presaleqty": {
  22157. "description": "预售数量",
  22158. "type": "integer"
  22159. },
  22160. "quoteminunit": {
  22161. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22162. "type": "integer"
  22163. },
  22164. "refprice": {
  22165. "description": "参考价格[一口价]",
  22166. "type": "number"
  22167. },
  22168. "relatedgoodsid": {
  22169. "description": "关联交易合约ID",
  22170. "type": "integer"
  22171. },
  22172. "trademode": {
  22173. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22174. "type": "integer"
  22175. },
  22176. "videourls": {
  22177. "description": "介绍视频[多张用逗号分隔]",
  22178. "type": "string"
  22179. }
  22180. }
  22181. },
  22182. "models.HsbyPreGoodsDetail": {
  22183. "type": "object",
  22184. "required": [
  22185. "goodscode",
  22186. "goodsid",
  22187. "goodsname",
  22188. "marketid",
  22189. "trademode"
  22190. ],
  22191. "properties": {
  22192. "agreeunit": {
  22193. "description": "合约单位",
  22194. "type": "number"
  22195. },
  22196. "buymaxqty": {
  22197. "description": "购买上限 [71] - 0为不限",
  22198. "type": "integer"
  22199. },
  22200. "currency": {
  22201. "description": "货币",
  22202. "type": "string"
  22203. },
  22204. "currencysign": {
  22205. "description": "货币符号",
  22206. "type": "string"
  22207. },
  22208. "customername": {
  22209. "description": "发行单位",
  22210. "type": "string"
  22211. },
  22212. "decimalplace": {
  22213. "description": "报价小数位",
  22214. "type": "integer"
  22215. },
  22216. "desccityid": {
  22217. "description": "目的地(市)ID",
  22218. "type": "integer"
  22219. },
  22220. "descprovinceid": {
  22221. "description": "目的地(省)ID",
  22222. "type": "integer"
  22223. },
  22224. "enableqty": {
  22225. "description": "剩余数量",
  22226. "type": "integer"
  22227. },
  22228. "goodscode": {
  22229. "description": "商品代码(内部)",
  22230. "type": "string"
  22231. },
  22232. "goodsdesc": {
  22233. "description": "商品详情",
  22234. "type": "string"
  22235. },
  22236. "goodsid": {
  22237. "description": "商品ID(自增ID SEQ_GOODS)",
  22238. "type": "integer"
  22239. },
  22240. "goodsname": {
  22241. "description": "商品名称",
  22242. "type": "string"
  22243. },
  22244. "goodsstatus": {
  22245. "description": "商品状态- 2:未上市 3:上市",
  22246. "type": "integer"
  22247. },
  22248. "goodunit": {
  22249. "description": "报价单位",
  22250. "type": "string"
  22251. },
  22252. "lasttradedate": {
  22253. "description": "最后交易日期(状态:待退市)",
  22254. "type": "string"
  22255. },
  22256. "listingdate": {
  22257. "description": "交易开始日期",
  22258. "type": "string"
  22259. },
  22260. "lotsize": {
  22261. "description": "手数最小变动单位",
  22262. "type": "integer"
  22263. },
  22264. "marketid": {
  22265. "description": "所属市场ID",
  22266. "type": "integer"
  22267. },
  22268. "picurls": {
  22269. "description": "介绍图片[多张用逗号分隔]",
  22270. "type": "string"
  22271. },
  22272. "presaledqty": {
  22273. "description": "已预售量(预售结束时更新)",
  22274. "type": "integer"
  22275. },
  22276. "presaleqty": {
  22277. "description": "预售数量",
  22278. "type": "integer"
  22279. },
  22280. "quoteminunit": {
  22281. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22282. "type": "integer"
  22283. },
  22284. "refprice": {
  22285. "description": "参考价格[一口价]",
  22286. "type": "number"
  22287. },
  22288. "relatedgoodsid": {
  22289. "description": "关联交易合约ID",
  22290. "type": "integer"
  22291. },
  22292. "stepvalue": {
  22293. "description": "价格最小变动单位",
  22294. "type": "number"
  22295. },
  22296. "trademode": {
  22297. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22298. "type": "integer"
  22299. },
  22300. "vendorattr": {
  22301. "description": "供应商附件(多张,逗号分隔)",
  22302. "type": "string"
  22303. },
  22304. "vendorname": {
  22305. "description": "供应商名称",
  22306. "type": "string"
  22307. },
  22308. "vendorphone": {
  22309. "description": "供应商客服电话",
  22310. "type": "string"
  22311. },
  22312. "videourls": {
  22313. "description": "介绍视频[多张用逗号分隔]",
  22314. "type": "string"
  22315. }
  22316. }
  22317. },
  22318. "models.HsbySellCollectionOrder": {
  22319. "type": "object",
  22320. "required": [
  22321. "goodscode",
  22322. "goodsname",
  22323. "tradeid",
  22324. "trademode"
  22325. ],
  22326. "properties": {
  22327. "agreeunit": {
  22328. "description": "合约单位",
  22329. "type": "number"
  22330. },
  22331. "buyaccountid": {
  22332. "description": "买方账号ID[报价币种]",
  22333. "type": "integer"
  22334. },
  22335. "buyorderid": {
  22336. "description": "买方委托单号",
  22337. "type": "string"
  22338. },
  22339. "createtime": {
  22340. "description": "创建时间",
  22341. "type": "string"
  22342. },
  22343. "currencysign": {
  22344. "description": "货币符号",
  22345. "type": "string"
  22346. },
  22347. "decimalplace": {
  22348. "description": "报价小数位",
  22349. "type": "integer"
  22350. },
  22351. "goodscode": {
  22352. "description": "商品代码(内部)",
  22353. "type": "string"
  22354. },
  22355. "goodsid": {
  22356. "description": "商品ID",
  22357. "type": "integer"
  22358. },
  22359. "goodsname": {
  22360. "description": "商品名称",
  22361. "type": "string"
  22362. },
  22363. "marketid": {
  22364. "description": "市场ID",
  22365. "type": "integer"
  22366. },
  22367. "offamount": {
  22368. "description": "优惠金额",
  22369. "type": "number"
  22370. },
  22371. "payamount": {
  22372. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22373. "type": "number"
  22374. },
  22375. "payflag": {
  22376. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22377. "type": "integer"
  22378. },
  22379. "paylimitedtime": {
  22380. "description": "支付期限",
  22381. "type": "string"
  22382. },
  22383. "paytime": {
  22384. "description": "付款时间",
  22385. "type": "string"
  22386. },
  22387. "picurls": {
  22388. "description": "商品介绍图片[多张用逗号分隔]",
  22389. "type": "string"
  22390. },
  22391. "sellaccountid": {
  22392. "description": "卖方账号ID[报价币种]",
  22393. "type": "integer"
  22394. },
  22395. "sellorderid": {
  22396. "description": "卖方委托单号",
  22397. "type": "string"
  22398. },
  22399. "tradeamount": {
  22400. "description": "成交金额",
  22401. "type": "number"
  22402. },
  22403. "tradecharge": {
  22404. "description": "成交手续费(买方)",
  22405. "type": "number"
  22406. },
  22407. "tradedate": {
  22408. "description": "交易日(yyyyMMdd)",
  22409. "type": "string"
  22410. },
  22411. "tradeid": {
  22412. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22413. "type": "string"
  22414. },
  22415. "trademode": {
  22416. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22417. "type": "integer"
  22418. },
  22419. "tradeprice": {
  22420. "description": "成交价格",
  22421. "type": "number"
  22422. },
  22423. "tradeqty": {
  22424. "description": "成交数量",
  22425. "type": "integer"
  22426. }
  22427. }
  22428. },
  22429. "models.HsbySellMyDetail": {
  22430. "type": "object",
  22431. "required": [
  22432. "accountid",
  22433. "buyorsell",
  22434. "goodscode",
  22435. "goodsid",
  22436. "goodsname",
  22437. "marketid",
  22438. "orderid",
  22439. "time",
  22440. "trademode"
  22441. ],
  22442. "properties": {
  22443. "accountid": {
  22444. "description": "账户ID[报价币种]",
  22445. "type": "integer"
  22446. },
  22447. "agreeunit": {
  22448. "description": "合约单位",
  22449. "type": "number"
  22450. },
  22451. "buyorsell": {
  22452. "description": "买卖 - 0:买 1:卖",
  22453. "type": "integer"
  22454. },
  22455. "currencysign": {
  22456. "description": "货币符号",
  22457. "type": "string"
  22458. },
  22459. "decimalplace": {
  22460. "description": "报价小数位",
  22461. "type": "integer"
  22462. },
  22463. "goodscode": {
  22464. "description": "商品代码(内部)",
  22465. "type": "string"
  22466. },
  22467. "goodsid": {
  22468. "description": "商品ID",
  22469. "type": "integer"
  22470. },
  22471. "goodsname": {
  22472. "description": "商品名称",
  22473. "type": "string"
  22474. },
  22475. "marketid": {
  22476. "description": "市场ID",
  22477. "type": "integer"
  22478. },
  22479. "orderid": {
  22480. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22481. "type": "string"
  22482. },
  22483. "ordertype": {
  22484. "description": "单据类型:0 - 发布中, 1 - 已完成",
  22485. "type": "integer"
  22486. },
  22487. "picurls": {
  22488. "description": "介绍图片[多张用逗号分隔]",
  22489. "type": "string"
  22490. },
  22491. "price": {
  22492. "description": "价格",
  22493. "type": "number"
  22494. },
  22495. "qty": {
  22496. "description": "数量",
  22497. "type": "integer"
  22498. },
  22499. "time": {
  22500. "description": "时间",
  22501. "type": "string"
  22502. },
  22503. "trademode": {
  22504. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22505. "type": "integer"
  22506. },
  22507. "vendorname": {
  22508. "description": "供应商名称",
  22509. "type": "string"
  22510. }
  22511. }
  22512. },
  22513. "models.HsbyTopGoods": {
  22514. "type": "object",
  22515. "required": [
  22516. "goodscode",
  22517. "goodsid",
  22518. "goodsname",
  22519. "marketid",
  22520. "trademode"
  22521. ],
  22522. "properties": {
  22523. "agreeunit": {
  22524. "description": "合约单位",
  22525. "type": "number"
  22526. },
  22527. "currency": {
  22528. "description": "货币",
  22529. "type": "string"
  22530. },
  22531. "currencysign": {
  22532. "description": "货币符号",
  22533. "type": "string"
  22534. },
  22535. "decimalplace": {
  22536. "description": "报价小数位",
  22537. "type": "integer"
  22538. },
  22539. "desccityid": {
  22540. "description": "目的地(市)",
  22541. "type": "integer"
  22542. },
  22543. "descprovinceid": {
  22544. "description": "目的地(省)",
  22545. "type": "integer"
  22546. },
  22547. "goodscode": {
  22548. "description": "商品代码(内部)",
  22549. "type": "string"
  22550. },
  22551. "goodsid": {
  22552. "description": "商品ID(自增ID SEQ_GOODS)",
  22553. "type": "integer"
  22554. },
  22555. "goodsname": {
  22556. "description": "商品名称",
  22557. "type": "string"
  22558. },
  22559. "hotindex": {
  22560. "description": "景点热度",
  22561. "type": "integer"
  22562. },
  22563. "last": {
  22564. "description": "现价",
  22565. "type": "number"
  22566. },
  22567. "marketid": {
  22568. "description": "所属市场ID",
  22569. "type": "integer"
  22570. },
  22571. "picurls": {
  22572. "description": "介绍图片[多张用逗号分隔]",
  22573. "type": "string"
  22574. },
  22575. "quoteminunit": {
  22576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22577. "type": "integer"
  22578. },
  22579. "trademode": {
  22580. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22581. "type": "integer"
  22582. },
  22583. "videourls": {
  22584. "description": "介绍视频[多张用逗号分隔]",
  22585. "type": "string"
  22586. }
  22587. }
  22588. },
  22589. "models.HybsMyBuyOrderDetail": {
  22590. "type": "object",
  22591. "required": [
  22592. "accountid",
  22593. "buyorsell",
  22594. "goodscode",
  22595. "goodsid",
  22596. "goodsname",
  22597. "marketid",
  22598. "orderid",
  22599. "orderqty",
  22600. "ordertime",
  22601. "trademode"
  22602. ],
  22603. "properties": {
  22604. "accountid": {
  22605. "description": "账户ID[报价币种]",
  22606. "type": "integer"
  22607. },
  22608. "agreeunit": {
  22609. "description": "合约单位",
  22610. "type": "number"
  22611. },
  22612. "buyorsell": {
  22613. "description": "买卖 - 0:买 1:卖",
  22614. "type": "integer"
  22615. },
  22616. "cancelqty": {
  22617. "description": "撤单数量",
  22618. "type": "integer"
  22619. },
  22620. "currencysign": {
  22621. "description": "货币符号",
  22622. "type": "string"
  22623. },
  22624. "decimalplace": {
  22625. "description": "报价小数位",
  22626. "type": "integer"
  22627. },
  22628. "goodscode": {
  22629. "description": "商品代码(内部)",
  22630. "type": "string"
  22631. },
  22632. "goodsid": {
  22633. "description": "商品ID",
  22634. "type": "integer"
  22635. },
  22636. "goodsname": {
  22637. "description": "商品名称",
  22638. "type": "string"
  22639. },
  22640. "listingselecttype": {
  22641. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22642. "type": "integer"
  22643. },
  22644. "marketid": {
  22645. "description": "市场ID",
  22646. "type": "integer"
  22647. },
  22648. "mybuystatus": {
  22649. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  22650. "type": "integer"
  22651. },
  22652. "orderamount": {
  22653. "description": "委托金额",
  22654. "type": "number"
  22655. },
  22656. "orderid": {
  22657. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22658. "type": "string"
  22659. },
  22660. "orderprice": {
  22661. "description": "委托价格",
  22662. "type": "number"
  22663. },
  22664. "orderqty": {
  22665. "description": "委托数量",
  22666. "type": "integer"
  22667. },
  22668. "orderstatus": {
  22669. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22670. "type": "integer"
  22671. },
  22672. "ordertime": {
  22673. "description": "委托时间",
  22674. "type": "string"
  22675. },
  22676. "picurls1": {
  22677. "description": "预售商品介绍图片[多张用逗号分隔]",
  22678. "type": "string"
  22679. },
  22680. "picurls2": {
  22681. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22682. "type": "string"
  22683. },
  22684. "trademode": {
  22685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22686. "type": "integer"
  22687. },
  22688. "tradeqty": {
  22689. "description": "成交数量",
  22690. "type": "integer"
  22691. },
  22692. "vendorname1": {
  22693. "description": "预售商品供应商名称",
  22694. "type": "string"
  22695. },
  22696. "vendorname2": {
  22697. "description": "挂牌商品供应商名称",
  22698. "type": "string"
  22699. }
  22700. }
  22701. },
  22702. "models.Loginaccount": {
  22703. "type": "object",
  22704. "required": [
  22705. "loginid"
  22706. ],
  22707. "properties": {
  22708. "accountname": {
  22709. "description": "账户名称",
  22710. "type": "string"
  22711. },
  22712. "canoutin": {
  22713. "description": "是否可出入金 - 0:不可 1:可",
  22714. "type": "integer"
  22715. },
  22716. "clientroleid": {
  22717. "description": "终端角色ID",
  22718. "type": "integer"
  22719. },
  22720. "haslogined": {
  22721. "description": "是否已登录 - 0:未登录 1:已登录",
  22722. "type": "integer"
  22723. },
  22724. "hasupdatedpwd": {
  22725. "description": "是否已更改密码 - 0:未修改 1:已修改",
  22726. "type": "integer"
  22727. },
  22728. "lastloginip": {
  22729. "description": "最新登录地址",
  22730. "type": "string"
  22731. },
  22732. "lastloginmode": {
  22733. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22734. "type": "integer"
  22735. },
  22736. "lastloginremark": {
  22737. "description": "最新登录描述",
  22738. "type": "string"
  22739. },
  22740. "lastlogintime": {
  22741. "description": "最新登录时间",
  22742. "type": "string"
  22743. },
  22744. "logincode": {
  22745. "description": "登录代码",
  22746. "type": "string"
  22747. },
  22748. "loginfailnum": {
  22749. "description": "连续登录失败次数(登录成功时清零)",
  22750. "type": "integer"
  22751. },
  22752. "loginid": {
  22753. "description": "登陆账号",
  22754. "type": "integer"
  22755. },
  22756. "loginport": {
  22757. "description": "最新登录端口",
  22758. "type": "integer"
  22759. },
  22760. "loginstatus": {
  22761. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  22762. "type": "integer"
  22763. },
  22764. "loginusertype": {
  22765. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  22766. "type": "integer"
  22767. },
  22768. "mobile": {
  22769. "description": "手机号码(加密存储)",
  22770. "type": "string"
  22771. },
  22772. "modifierid": {
  22773. "description": "修改人",
  22774. "type": "integer"
  22775. },
  22776. "modifysrc": {
  22777. "description": "审核来源 - 1:管理端 2:终端",
  22778. "type": "integer"
  22779. },
  22780. "modifytime": {
  22781. "description": "修改时间",
  22782. "type": "string"
  22783. },
  22784. "password": {
  22785. "description": "登陆密码",
  22786. "type": "string"
  22787. },
  22788. "pwdwrongcount": {
  22789. "description": "密码错误次数",
  22790. "type": "integer"
  22791. },
  22792. "relateduserid": {
  22793. "description": "关联用户ID(机构)",
  22794. "type": "integer"
  22795. },
  22796. "taaccountrighttype": {
  22797. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  22798. "type": "integer"
  22799. },
  22800. "unfreezetime": {
  22801. "description": "账户解冻时间",
  22802. "type": "string"
  22803. },
  22804. "userid": {
  22805. "description": "用户ID",
  22806. "type": "integer"
  22807. }
  22808. }
  22809. },
  22810. "models.MainAccountInfo": {
  22811. "type": "object",
  22812. "properties": {
  22813. "accountid": {
  22814. "description": "账号id",
  22815. "type": "integer"
  22816. },
  22817. "accountname": {
  22818. "description": "账号名称(taaccount表中的名称)",
  22819. "type": "string"
  22820. },
  22821. "appid": {
  22822. "description": "AppID",
  22823. "type": "string"
  22824. },
  22825. "authcode": {
  22826. "description": "授权码",
  22827. "type": "string"
  22828. },
  22829. "brokerid": {
  22830. "description": "经纪商id",
  22831. "type": "string"
  22832. },
  22833. "fcid": {
  22834. "description": "期货公司id",
  22835. "type": "integer"
  22836. },
  22837. "fcname": {
  22838. "description": "期货公司代码",
  22839. "type": "string"
  22840. },
  22841. "hedgeaccountcode": {
  22842. "description": "外部账号代码(主账号登录代码)",
  22843. "type": "string"
  22844. },
  22845. "hedgeaccountpwd": {
  22846. "description": "密码",
  22847. "type": "string"
  22848. },
  22849. "ismain": {
  22850. "description": "是否主账号",
  22851. "type": "integer"
  22852. },
  22853. "relateduserid": {
  22854. "description": "关联用户id",
  22855. "type": "integer"
  22856. },
  22857. "userid": {
  22858. "description": "关联用户id",
  22859. "type": "integer"
  22860. }
  22861. }
  22862. },
  22863. "models.Market": {
  22864. "type": "object",
  22865. "required": [
  22866. "marketid",
  22867. "marketstatus",
  22868. "openmethod",
  22869. "reckonpricealgorithm",
  22870. "trademode",
  22871. "tradeproperty"
  22872. ],
  22873. "properties": {
  22874. "auctionwrtype": {
  22875. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  22876. "type": "integer"
  22877. },
  22878. "canacceptquote": {
  22879. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  22880. "type": "integer"
  22881. },
  22882. "cangoodsexercise": {
  22883. "description": "[期权]是否可现货行权- 0:否 1:是",
  22884. "type": "integer"
  22885. },
  22886. "cangoodsexercisetype": {
  22887. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  22888. "type": "integer"
  22889. },
  22890. "canmanualquotestrike": {
  22891. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  22892. "type": "integer"
  22893. },
  22894. "canmutistage": {
  22895. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  22896. "type": "integer"
  22897. },
  22898. "canpreexercise": {
  22899. "description": "[期权]是否可预申报- 0:否 1:是",
  22900. "type": "integer"
  22901. },
  22902. "clearinterval": {
  22903. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  22904. "type": "integer"
  22905. },
  22906. "contracttmp": {
  22907. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  22908. "type": "string"
  22909. },
  22910. "exchareaid": {
  22911. "description": "所属交易所,可以没有",
  22912. "type": "integer"
  22913. },
  22914. "goodstype": {
  22915. "description": "商品类型 - 1:交易商品 2:仓单商品",
  22916. "type": "integer"
  22917. },
  22918. "hasrebate": {
  22919. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  22920. "type": "integer"
  22921. },
  22922. "hastradecredit": {
  22923. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  22924. "type": "integer"
  22925. },
  22926. "haswr": {
  22927. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  22928. "type": "integer"
  22929. },
  22930. "isdeductmargin": {
  22931. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  22932. "type": "integer"
  22933. },
  22934. "isrecordsource": {
  22935. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  22936. "type": "integer"
  22937. },
  22938. "isreleasemargin": {
  22939. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  22940. "type": "integer"
  22941. },
  22942. "marginformula": {
  22943. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22944. "type": "integer"
  22945. },
  22946. "marginformula2": {
  22947. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  22948. "type": "integer"
  22949. },
  22950. "marketid": {
  22951. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22952. "type": "integer"
  22953. },
  22954. "marketname": {
  22955. "description": "市场名称",
  22956. "type": "string"
  22957. },
  22958. "marketserviceid": {
  22959. "description": "市场服务ID",
  22960. "type": "integer"
  22961. },
  22962. "marketstatus": {
  22963. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22964. "type": "integer"
  22965. },
  22966. "markettype": {
  22967. "description": "市场类型- 1:非交易服务 2:交易服务",
  22968. "type": "integer"
  22969. },
  22970. "matchermode": {
  22971. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  22972. "type": "integer"
  22973. },
  22974. "openmethod": {
  22975. "description": "开盘模式 - 0 自动 1手动",
  22976. "type": "integer"
  22977. },
  22978. "otcuserid": {
  22979. "description": "场外期权做市商[场外期权]",
  22980. "type": "integer"
  22981. },
  22982. "outersynctime": {
  22983. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  22984. "type": "string"
  22985. },
  22986. "pendingflag": {
  22987. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  22988. "type": "integer"
  22989. },
  22990. "pendingtime": {
  22991. "description": "待开市时间[通道交易-对冲](HH:mm)",
  22992. "type": "string"
  22993. },
  22994. "performancetempid": {
  22995. "description": "履约计划模板ID - 作废",
  22996. "type": "integer"
  22997. },
  22998. "premiumquotemode": {
  22999. "description": "权利金报价方式 - 1:自动 2:手动",
  23000. "type": "integer"
  23001. },
  23002. "rebateratio": {
  23003. "description": "返利比率[竞价式]",
  23004. "type": "number"
  23005. },
  23006. "reckonorder": {
  23007. "description": "结算顺序",
  23008. "type": "integer"
  23009. },
  23010. "reckonpricealgorithm": {
  23011. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23012. "type": "integer"
  23013. },
  23014. "reckonpriceparam": {
  23015. "description": "结算价参数",
  23016. "type": "integer"
  23017. },
  23018. "reckontime": {
  23019. "description": "结算时间[通道交易-对冲](HH:mm)",
  23020. "type": "string"
  23021. },
  23022. "roleprioritytype": {
  23023. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23024. "type": "integer"
  23025. },
  23026. "selllistingauditflag": {
  23027. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23028. "type": "integer"
  23029. },
  23030. "trademarkettype": {
  23031. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23032. "type": "integer"
  23033. },
  23034. "trademode": {
  23035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23036. "type": "integer"
  23037. },
  23038. "tradeproperty": {
  23039. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23040. "type": "integer"
  23041. },
  23042. "tradetype": {
  23043. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23044. "type": "integer"
  23045. }
  23046. }
  23047. },
  23048. "models.Marketrun": {
  23049. "type": "object",
  23050. "required": [
  23051. "marketid",
  23052. "nexttradedate",
  23053. "reckonflag",
  23054. "runstatus",
  23055. "tradedate",
  23056. "tradedate2"
  23057. ],
  23058. "properties": {
  23059. "afternexttradedate": {
  23060. "description": "下下交易日",
  23061. "type": "string"
  23062. },
  23063. "clearquoteflag": {
  23064. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23065. "type": "integer"
  23066. },
  23067. "lastreckondate": {
  23068. "description": "最新交易日(结算成功)",
  23069. "type": "string"
  23070. },
  23071. "machinedate": {
  23072. "description": "机器时间",
  23073. "type": "string"
  23074. },
  23075. "manualflag": {
  23076. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23077. "type": "integer"
  23078. },
  23079. "marketid": {
  23080. "description": "市场ID",
  23081. "type": "integer"
  23082. },
  23083. "nexttradedate": {
  23084. "description": "下一交易日",
  23085. "type": "string"
  23086. },
  23087. "pretradedate": {
  23088. "description": "上一交易日",
  23089. "type": "string"
  23090. },
  23091. "reckonflag": {
  23092. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23093. "type": "integer"
  23094. },
  23095. "runstatus": {
  23096. "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.今日免清算",
  23097. "type": "integer"
  23098. },
  23099. "sectionid": {
  23100. "description": "时间段号[多时段时用]",
  23101. "type": "integer"
  23102. },
  23103. "tradedate": {
  23104. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23105. "type": "string"
  23106. },
  23107. "tradedate2": {
  23108. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23109. "type": "string"
  23110. },
  23111. "updatetime": {
  23112. "description": "更新时间",
  23113. "type": "string"
  23114. }
  23115. }
  23116. },
  23117. "models.Messageboard": {
  23118. "type": "object",
  23119. "required": [
  23120. "messageboardid"
  23121. ],
  23122. "properties": {
  23123. "contactnum": {
  23124. "description": "联系电话",
  23125. "type": "string"
  23126. },
  23127. "createtime": {
  23128. "description": "创建时间",
  23129. "type": "string"
  23130. },
  23131. "message": {
  23132. "description": "留言信息",
  23133. "type": "string"
  23134. },
  23135. "messageboardid": {
  23136. "description": "留言簿ID(SEQ_MessageBoard)",
  23137. "type": "integer"
  23138. },
  23139. "userid": {
  23140. "description": "用户ID",
  23141. "type": "integer"
  23142. }
  23143. }
  23144. },
  23145. "models.MyCoupon": {
  23146. "type": "object",
  23147. "required": [
  23148. "accountid",
  23149. "coupontypeid"
  23150. ],
  23151. "properties": {
  23152. "accountid": {
  23153. "description": "资金账户ID",
  23154. "type": "integer"
  23155. },
  23156. "areauserid": {
  23157. "description": "所属机构",
  23158. "type": "integer"
  23159. },
  23160. "conditionvalue": {
  23161. "description": "条件阈值(可为0)",
  23162. "type": "number"
  23163. },
  23164. "couponcategroy": {
  23165. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23166. "type": "integer"
  23167. },
  23168. "couponname": {
  23169. "description": "优惠券名称",
  23170. "type": "string"
  23171. },
  23172. "coupontypeid": {
  23173. "description": "优惠券类型ID",
  23174. "type": "string"
  23175. },
  23176. "couponvalue": {
  23177. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23178. "type": "number"
  23179. },
  23180. "curfreezeqty": {
  23181. "description": "期末冻结数量",
  23182. "type": "integer"
  23183. },
  23184. "curqty": {
  23185. "description": "期末数量",
  23186. "type": "integer"
  23187. },
  23188. "isgeneral": {
  23189. "description": "是否通用券 - 0:否 1:是",
  23190. "type": "integer"
  23191. },
  23192. "isunusable": {
  23193. "description": "是否不可用",
  23194. "type": "boolean"
  23195. },
  23196. "limitedflag": {
  23197. "description": "是否指定商品 - 0:不限 1:限制",
  23198. "type": "integer"
  23199. },
  23200. "limitedgoodsids": {
  23201. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23202. "type": "string"
  23203. },
  23204. "orifreezeqty": {
  23205. "description": "期初冻结数量",
  23206. "type": "integer"
  23207. },
  23208. "oriqty": {
  23209. "description": "期初数量",
  23210. "type": "integer"
  23211. },
  23212. "reasontype": {
  23213. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23214. "type": "integer"
  23215. },
  23216. "todaydecrease": {
  23217. "description": "今日减少",
  23218. "type": "integer"
  23219. },
  23220. "todayincrease": {
  23221. "description": "今日增加",
  23222. "type": "integer"
  23223. },
  23224. "userid": {
  23225. "description": "用户ID",
  23226. "type": "integer"
  23227. },
  23228. "userscope": {
  23229. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23230. "type": "string"
  23231. }
  23232. }
  23233. },
  23234. "models.MyCouponHold": {
  23235. "type": "object",
  23236. "required": [
  23237. "couponholdid"
  23238. ],
  23239. "properties": {
  23240. "accountid": {
  23241. "description": "资金账户ID",
  23242. "type": "integer"
  23243. },
  23244. "conditionvalue": {
  23245. "description": "条件阈值(可为0)",
  23246. "type": "number"
  23247. },
  23248. "couponcategroy": {
  23249. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23250. "type": "integer"
  23251. },
  23252. "couponholdid": {
  23253. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23254. "type": "string"
  23255. },
  23256. "couponname": {
  23257. "description": "优惠券名称",
  23258. "type": "string"
  23259. },
  23260. "coupontypeid": {
  23261. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23262. "type": "string"
  23263. },
  23264. "couponvalue": {
  23265. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23266. "type": "number"
  23267. },
  23268. "createtime": {
  23269. "description": "创建时间",
  23270. "type": "string"
  23271. },
  23272. "enddate": {
  23273. "description": "结束日期",
  23274. "type": "string"
  23275. },
  23276. "giveapplyid": {
  23277. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23278. "type": "integer"
  23279. },
  23280. "holdstatus": {
  23281. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23282. "type": "integer"
  23283. },
  23284. "isgeneral": {
  23285. "description": "是否通用券 - 0:否 1:是",
  23286. "type": "integer"
  23287. },
  23288. "limitedflag": {
  23289. "description": "是否指定商品 - 0:不限 1:限制",
  23290. "type": "integer"
  23291. },
  23292. "limitedgoodsids": {
  23293. "description": "指定商品IDs[逗号分隔]",
  23294. "type": "string"
  23295. },
  23296. "qty": {
  23297. "description": "数量(按1平铺)",
  23298. "type": "integer"
  23299. },
  23300. "startdate": {
  23301. "description": "开始日期",
  23302. "type": "string"
  23303. },
  23304. "userid": {
  23305. "description": "用户ID",
  23306. "type": "integer"
  23307. },
  23308. "userscope": {
  23309. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23310. "type": "string"
  23311. }
  23312. }
  23313. },
  23314. "models.MyUsedCoupon": {
  23315. "type": "object",
  23316. "required": [
  23317. "coupontypeid",
  23318. "orderid"
  23319. ],
  23320. "properties": {
  23321. "accountid": {
  23322. "description": "资金账户ID(买方)",
  23323. "type": "integer"
  23324. },
  23325. "conditionvalue": {
  23326. "description": "条件阈值(可为0)",
  23327. "type": "number"
  23328. },
  23329. "couponcategroy": {
  23330. "description": "种类 - 1:现金券 2:折扣券",
  23331. "type": "integer"
  23332. },
  23333. "couponname": {
  23334. "description": "优惠券名称",
  23335. "type": "string"
  23336. },
  23337. "coupontypeid": {
  23338. "description": "优惠券类型ID(买方)",
  23339. "type": "string"
  23340. },
  23341. "couponvalue": {
  23342. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23343. "type": "number"
  23344. },
  23345. "createtime": {
  23346. "description": "创建时间",
  23347. "type": "string"
  23348. },
  23349. "goodsid": {
  23350. "description": "商品ID",
  23351. "type": "integer"
  23352. },
  23353. "handlestatus": {
  23354. "description": "处理状态",
  23355. "type": "integer"
  23356. },
  23357. "marketid": {
  23358. "description": "市场ID",
  23359. "type": "integer"
  23360. },
  23361. "offamount": {
  23362. "description": "优惠金额",
  23363. "type": "number"
  23364. },
  23365. "orderid": {
  23366. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23367. "type": "string"
  23368. },
  23369. "sellaccountid": {
  23370. "description": "资金账户ID(卖方)",
  23371. "type": "integer"
  23372. },
  23373. "tradeamount": {
  23374. "description": "成交金额",
  23375. "type": "number"
  23376. },
  23377. "tradeid": {
  23378. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23379. "type": "string"
  23380. },
  23381. "usedqty": {
  23382. "description": "使用数量",
  23383. "type": "integer"
  23384. }
  23385. }
  23386. },
  23387. "models.OperationPrimaryMenu": {
  23388. "type": "object",
  23389. "properties": {
  23390. "Children": {
  23391. "description": "二级功能菜单",
  23392. "type": "array",
  23393. "items": {
  23394. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23395. }
  23396. },
  23397. "Key": {
  23398. "description": "菜单KEY",
  23399. "type": "string"
  23400. },
  23401. "Label": {
  23402. "description": "菜单标题",
  23403. "type": "string"
  23404. }
  23405. }
  23406. },
  23407. "models.OperationSecondaryMenu": {
  23408. "type": "object",
  23409. "properties": {
  23410. "Key": {
  23411. "description": "菜单KEY",
  23412. "type": "string"
  23413. },
  23414. "Label": {
  23415. "description": "菜单标题",
  23416. "type": "string"
  23417. },
  23418. "TabList": {
  23419. "description": "三级功能菜单",
  23420. "type": "array",
  23421. "items": {
  23422. "$ref": "#/definitions/models.OperationTabMenu"
  23423. }
  23424. }
  23425. }
  23426. },
  23427. "models.OperationTabMenu": {
  23428. "type": "object",
  23429. "properties": {
  23430. "Key": {
  23431. "description": "菜单KEY",
  23432. "type": "string"
  23433. },
  23434. "Label": {
  23435. "description": "菜单标题",
  23436. "type": "string"
  23437. }
  23438. }
  23439. },
  23440. "models.PendingAuditBizModel": {
  23441. "type": "object",
  23442. "properties": {
  23443. "accountid": {
  23444. "description": "现货账户",
  23445. "type": "string"
  23446. },
  23447. "areaname": {
  23448. "description": "所属部门",
  23449. "type": "string"
  23450. },
  23451. "bizid": {
  23452. "description": "业务ID",
  23453. "type": "string"
  23454. },
  23455. "bizname": {
  23456. "description": "业务名称",
  23457. "type": "string"
  23458. },
  23459. "status": {
  23460. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23461. "type": "integer"
  23462. },
  23463. "type": {
  23464. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23465. "type": "integer"
  23466. }
  23467. }
  23468. },
  23469. "models.QhjAccountOutInApply": {
  23470. "type": "object",
  23471. "properties": {
  23472. "accountcode": {
  23473. "description": "资金账号",
  23474. "type": "string"
  23475. },
  23476. "accountname": {
  23477. "description": "用户名称(名称)",
  23478. "type": "string"
  23479. },
  23480. "accountpwd": {
  23481. "description": "资金密码",
  23482. "type": "string"
  23483. },
  23484. "accountticket": {
  23485. "description": "最新账户服务流水号",
  23486. "type": "string"
  23487. },
  23488. "amount": {
  23489. "description": "金额",
  23490. "type": "number"
  23491. },
  23492. "applyremark": {
  23493. "description": "申请备注",
  23494. "type": "string"
  23495. },
  23496. "applystatus": {
  23497. "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: 复审通过,账户冻结金额检查中;",
  23498. "type": "integer"
  23499. },
  23500. "auditid": {
  23501. "description": "审核人",
  23502. "type": "integer"
  23503. },
  23504. "audittime": {
  23505. "description": "审核时间",
  23506. "type": "string"
  23507. },
  23508. "bank_apply_ticket": {
  23509. "description": "银行申请流水",
  23510. "type": "string"
  23511. },
  23512. "bankaccountname": {
  23513. "description": "银行账户名",
  23514. "type": "string"
  23515. },
  23516. "bankaccountno": {
  23517. "description": "银行卡号",
  23518. "type": "string"
  23519. },
  23520. "bankid": {
  23521. "description": "银行编号",
  23522. "type": "string"
  23523. },
  23524. "bankticket": {
  23525. "description": "银行流水",
  23526. "type": "string"
  23527. },
  23528. "branchbankid": {
  23529. "description": "银行支行号",
  23530. "type": "string"
  23531. },
  23532. "branchbankname": {
  23533. "description": "银行支行名称",
  23534. "type": "string"
  23535. },
  23536. "capamountout": {
  23537. "description": "出金(劣后本金) - 外部子账户",
  23538. "type": "number"
  23539. },
  23540. "certificatephotourl": {
  23541. "description": "凭证地址",
  23542. "type": "string"
  23543. },
  23544. "charge": {
  23545. "description": "手续费",
  23546. "type": "number"
  23547. },
  23548. "checkerrorflag": {
  23549. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  23550. "type": "integer"
  23551. },
  23552. "currency": {
  23553. "description": "币种",
  23554. "type": "string"
  23555. },
  23556. "cusbankid": {
  23557. "description": "托管银行编号",
  23558. "type": "string"
  23559. },
  23560. "exchticket": {
  23561. "description": "银行服务流水号",
  23562. "type": "string"
  23563. },
  23564. "executetype": {
  23565. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  23566. "type": "integer"
  23567. },
  23568. "extendinfo": {
  23569. "description": "扩展信息",
  23570. "type": "string"
  23571. },
  23572. "extoperateid": {
  23573. "description": "交易服务流水号",
  23574. "type": "integer"
  23575. },
  23576. "infamount": {
  23577. "description": "劣后金额(自有)",
  23578. "type": "number"
  23579. },
  23580. "logincode": {
  23581. "description": "登录账号(账号)",
  23582. "type": "string"
  23583. },
  23584. "netaddr": {
  23585. "description": "调转网址",
  23586. "type": "string"
  23587. },
  23588. "priamount": {
  23589. "description": "优先金额(授信)",
  23590. "type": "number"
  23591. },
  23592. "reauditid": {
  23593. "description": "复审人",
  23594. "type": "integer"
  23595. },
  23596. "reauditremark": {
  23597. "description": "复审备注",
  23598. "type": "string"
  23599. },
  23600. "reaudittime": {
  23601. "description": "复审时间",
  23602. "type": "string"
  23603. },
  23604. "relatedorderid": {
  23605. "description": "三方关联ID",
  23606. "type": "string"
  23607. },
  23608. "remark": {
  23609. "description": "备注",
  23610. "type": "string"
  23611. },
  23612. "remark2": {
  23613. "description": "备注(失败原因)",
  23614. "type": "string"
  23615. },
  23616. "soucreamount": {
  23617. "description": "原始出入金金额",
  23618. "type": "number"
  23619. },
  23620. "soucrecurrencyid": {
  23621. "description": "原始出入金币种",
  23622. "type": "integer"
  23623. },
  23624. "tradedate": {
  23625. "description": "交易日(yyyyMMdd)",
  23626. "type": "string"
  23627. },
  23628. "updatetime": {
  23629. "description": "更新时间(申请时间)",
  23630. "type": "string"
  23631. },
  23632. "userid": {
  23633. "description": "用户id",
  23634. "type": "integer"
  23635. },
  23636. "userinfotype": {
  23637. "description": "账户类型 1-个人 2-企业",
  23638. "type": "integer"
  23639. }
  23640. }
  23641. },
  23642. "models.QhjAgreementChangeLog": {
  23643. "type": "object",
  23644. "properties": {
  23645. "agreementcontent": {
  23646. "description": "协议内容",
  23647. "type": "string"
  23648. },
  23649. "agreementfrequency": {
  23650. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23651. "type": "integer"
  23652. },
  23653. "agreementid": {
  23654. "description": "协议ID",
  23655. "type": "integer"
  23656. },
  23657. "agreementname": {
  23658. "description": "协议名称",
  23659. "type": "string"
  23660. },
  23661. "agreementno": {
  23662. "description": "协议编号",
  23663. "type": "string"
  23664. },
  23665. "agreementtype": {
  23666. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23667. "type": "integer"
  23668. },
  23669. "agreementversion": {
  23670. "description": "协议版本号",
  23671. "type": "integer"
  23672. },
  23673. "logid": {
  23674. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  23675. "type": "integer"
  23676. },
  23677. "reviserid": {
  23678. "description": "修改人",
  23679. "type": "integer"
  23680. },
  23681. "revisersrc": {
  23682. "description": "修改来源 - 1:管理端 2:终端",
  23683. "type": "integer"
  23684. },
  23685. "updatetime": {
  23686. "description": "更新时间",
  23687. "type": "string"
  23688. }
  23689. }
  23690. },
  23691. "models.QhjAgreementConfig": {
  23692. "type": "object",
  23693. "properties": {
  23694. "agreementcontent": {
  23695. "description": "协议内容",
  23696. "type": "string"
  23697. },
  23698. "agreementfrequency": {
  23699. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  23700. "type": "integer"
  23701. },
  23702. "agreementid": {
  23703. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  23704. "type": "integer"
  23705. },
  23706. "agreementname": {
  23707. "description": "协议名称",
  23708. "type": "string"
  23709. },
  23710. "agreementno": {
  23711. "description": "协议编号",
  23712. "type": "string"
  23713. },
  23714. "agreementtype": {
  23715. "description": "协议类型 - 1:注册 2:登录 3:交易",
  23716. "type": "integer"
  23717. },
  23718. "agreementversion": {
  23719. "description": "协议版本号(从1开始每次修改加1)",
  23720. "type": "integer"
  23721. },
  23722. "createtime": {
  23723. "description": "创建时间",
  23724. "type": "string"
  23725. },
  23726. "creatorid": {
  23727. "description": "创建人",
  23728. "type": "integer"
  23729. },
  23730. "creatorsrc": {
  23731. "description": "创建来源 - 1:管理端 2:终端",
  23732. "type": "integer"
  23733. },
  23734. "isvalid": {
  23735. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  23736. "type": "integer"
  23737. },
  23738. "reviserid": {
  23739. "description": "修改人",
  23740. "type": "integer"
  23741. },
  23742. "revisersrc": {
  23743. "description": "修改来源 - 1:管理端 2:终端",
  23744. "type": "integer"
  23745. },
  23746. "updatetime": {
  23747. "description": "更新时间",
  23748. "type": "string"
  23749. }
  23750. }
  23751. },
  23752. "models.QhjAreaFinanceConfig": {
  23753. "type": "object",
  23754. "properties": {
  23755. "additionalratio": {
  23756. "description": "追加款比例",
  23757. "type": "number"
  23758. },
  23759. "advanceratio": {
  23760. "description": "预付款比例",
  23761. "type": "number"
  23762. },
  23763. "alarmratio": {
  23764. "description": "告警比例",
  23765. "type": "number"
  23766. },
  23767. "consumptiondirectreward": {
  23768. "description": "消费直推奖励值",
  23769. "type": "number"
  23770. },
  23771. "consumptionenabled": {
  23772. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  23773. "type": "integer"
  23774. },
  23775. "consumptionindirectreward": {
  23776. "description": "消费间推奖励值",
  23777. "type": "number"
  23778. },
  23779. "consumptionmodel": {
  23780. "description": "消费奖励方式 - 1:比率 2:固定",
  23781. "type": "integer"
  23782. },
  23783. "customerservicenum": {
  23784. "description": "客服电话",
  23785. "type": "string"
  23786. },
  23787. "dayinterestrate": {
  23788. "description": "日利率",
  23789. "type": "number"
  23790. },
  23791. "disableconsumptiontips": {
  23792. "description": "关闭消费奖励提示",
  23793. "type": "string"
  23794. },
  23795. "modifierid": {
  23796. "description": "修改人ID",
  23797. "type": "integer"
  23798. },
  23799. "modifysrc": {
  23800. "description": "审核来源 - 1:管理端 2:终端",
  23801. "type": "integer"
  23802. },
  23803. "modifytime": {
  23804. "description": "修改时间",
  23805. "type": "string"
  23806. },
  23807. "promotionvalue": {
  23808. "description": "推广奖励值(固定)",
  23809. "type": "number"
  23810. },
  23811. "scoreconfigvalue1": {
  23812. "description": "提货积分配置1",
  23813. "type": "integer"
  23814. },
  23815. "scoreconfigvalue2": {
  23816. "description": "提货积分配置2",
  23817. "type": "integer"
  23818. },
  23819. "userid": {
  23820. "description": "机构用户ID其他做市关系,都设置为 1",
  23821. "type": "integer"
  23822. },
  23823. "username": {
  23824. "description": "用户名称",
  23825. "type": "string"
  23826. }
  23827. }
  23828. },
  23829. "models.QhjBankAccountSign": {
  23830. "type": "object",
  23831. "properties": {
  23832. "accountcode": {
  23833. "description": "资金账号",
  23834. "type": "string"
  23835. },
  23836. "accountname": {
  23837. "description": "资金账号对应的账号名(UserName)",
  23838. "type": "string"
  23839. },
  23840. "accountname2": {
  23841. "description": "资金账号对应的账号名(UserName) - 密文",
  23842. "type": "string"
  23843. },
  23844. "accounttype": {
  23845. "description": "账户类型(UserType)",
  23846. "type": "integer"
  23847. },
  23848. "applicationtime": {
  23849. "description": "最后一次更新的时间",
  23850. "type": "string"
  23851. },
  23852. "applyexchticket": {
  23853. "description": "申请流水",
  23854. "type": "string"
  23855. },
  23856. "auditid": {
  23857. "description": "审核人",
  23858. "type": "integer"
  23859. },
  23860. "audittime": {
  23861. "description": "审核时间",
  23862. "type": "string"
  23863. },
  23864. "bankaccountname": {
  23865. "description": "签约银行卡账号名",
  23866. "type": "string"
  23867. },
  23868. "bankaccountname2": {
  23869. "description": "签约银行卡账号名 - 密文",
  23870. "type": "string"
  23871. },
  23872. "bankaccountno": {
  23873. "description": "银行卡号",
  23874. "type": "string"
  23875. },
  23876. "bankaccountno2": {
  23877. "description": "银行卡号 - 密文",
  23878. "type": "string"
  23879. },
  23880. "bankaccounttype": {
  23881. "description": "银行账户类型 - 1-对私; 2-对公",
  23882. "type": "integer"
  23883. },
  23884. "bankcardtype": {
  23885. "description": "银行卡类型",
  23886. "type": "integer"
  23887. },
  23888. "bankchildaccount": {
  23889. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  23890. "type": "string"
  23891. },
  23892. "bankcity": {
  23893. "description": "开户行城市",
  23894. "type": "string"
  23895. },
  23896. "bankid": {
  23897. "description": "签约银行ID",
  23898. "type": "string"
  23899. },
  23900. "bankname": {
  23901. "description": "签约银行名称",
  23902. "type": "string"
  23903. },
  23904. "bankprovince": {
  23905. "description": "开户行省份",
  23906. "type": "string"
  23907. },
  23908. "branchbankid": {
  23909. "description": "签约银行支行号",
  23910. "type": "string"
  23911. },
  23912. "branchbankname": {
  23913. "description": "签约银行支行名称",
  23914. "type": "string"
  23915. },
  23916. "cardno": {
  23917. "description": "证件号码",
  23918. "type": "string"
  23919. },
  23920. "cardno2": {
  23921. "description": "证件号码 - 密文",
  23922. "type": "string"
  23923. },
  23924. "cardtype": {
  23925. "description": "证件类型",
  23926. "type": "string"
  23927. },
  23928. "currency": {
  23929. "description": "币种",
  23930. "type": "string"
  23931. },
  23932. "cusbankid": {
  23933. "description": "托管银行编号",
  23934. "type": "string"
  23935. },
  23936. "direct": {
  23937. "description": "方向(可以判断那方先发起的签约)",
  23938. "type": "integer"
  23939. },
  23940. "exchticket": {
  23941. "description": "最后一次签约成功的流水号",
  23942. "type": "string"
  23943. },
  23944. "extendinfo": {
  23945. "description": "扩展信息(JSON字符串)",
  23946. "type": "string"
  23947. },
  23948. "mobilephone": {
  23949. "description": "手机号",
  23950. "type": "string"
  23951. },
  23952. "mobilephone2": {
  23953. "description": "手机号 - 密文",
  23954. "type": "string"
  23955. },
  23956. "netaddr": {
  23957. "description": "调转网址",
  23958. "type": "string"
  23959. },
  23960. "relateduserid": {
  23961. "description": "关联使用者userid",
  23962. "type": "integer"
  23963. },
  23964. "signstatus": {
  23965. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  23966. "type": "integer"
  23967. },
  23968. "updatetime": {
  23969. "description": "更新时间(签解约更新时间)",
  23970. "type": "string"
  23971. }
  23972. }
  23973. },
  23974. "models.QhjBankInfo": {
  23975. "type": "object",
  23976. "properties": {
  23977. "bankid": {
  23978. "description": "银行ID",
  23979. "type": "string"
  23980. },
  23981. "bankname": {
  23982. "description": "银行名称",
  23983. "type": "string"
  23984. },
  23985. "clearbankno": {
  23986. "description": "清算系统银行编号",
  23987. "type": "string"
  23988. },
  23989. "orderindex": {
  23990. "description": "排序顺序",
  23991. "type": "integer"
  23992. },
  23993. "status": {
  23994. "description": "状态 - 0:正常 1:注销",
  23995. "type": "integer"
  23996. }
  23997. }
  23998. },
  23999. "models.QhjBrokerApply": {
  24000. "type": "object",
  24001. "properties": {
  24002. "applicantid": {
  24003. "description": "申请人",
  24004. "type": "integer"
  24005. },
  24006. "applysrc": {
  24007. "description": "申请来源 - 1:管理端 2:终端",
  24008. "type": "integer"
  24009. },
  24010. "applystatus": {
  24011. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24012. "type": "integer"
  24013. },
  24014. "applytime": {
  24015. "description": "申请时间",
  24016. "type": "string"
  24017. },
  24018. "auditorid": {
  24019. "description": "审核人",
  24020. "type": "integer"
  24021. },
  24022. "auditremark": {
  24023. "description": "审核备注",
  24024. "type": "string"
  24025. },
  24026. "auditsrc": {
  24027. "description": "审核来源 - 1:管理端 2:终端",
  24028. "type": "integer"
  24029. },
  24030. "audittime": {
  24031. "description": "审核时间",
  24032. "type": "string"
  24033. },
  24034. "audittradedate": {
  24035. "description": "审核交易日(yyyyMMdd)",
  24036. "type": "string"
  24037. },
  24038. "brokerapplyid": {
  24039. "description": "申请ID(SEQ_BROKERAPPLY)",
  24040. "type": "integer"
  24041. },
  24042. "cardbackphotourl": {
  24043. "description": "证件背面图片地址",
  24044. "type": "string"
  24045. },
  24046. "cardfrontphotourl": {
  24047. "description": "证件正面图片地址",
  24048. "type": "string"
  24049. },
  24050. "cardnum": {
  24051. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24052. "type": "string"
  24053. },
  24054. "customername": {
  24055. "description": "姓名",
  24056. "type": "string"
  24057. },
  24058. "logincode": {
  24059. "description": "登录代码",
  24060. "type": "string"
  24061. },
  24062. "mobile": {
  24063. "description": "手机号码",
  24064. "type": "string"
  24065. },
  24066. "parentuserid": {
  24067. "description": "所属机构id",
  24068. "type": "integer"
  24069. },
  24070. "parentusername": {
  24071. "description": "所属机构名称",
  24072. "type": "string"
  24073. },
  24074. "refereeuserid": {
  24075. "description": "推荐人id(经纪人)",
  24076. "type": "integer"
  24077. },
  24078. "refernum": {
  24079. "description": "推荐码",
  24080. "type": "string"
  24081. },
  24082. "remark": {
  24083. "description": "备注",
  24084. "type": "string"
  24085. },
  24086. "subarealevelpath": {
  24087. "description": "层级路径",
  24088. "type": "string"
  24089. },
  24090. "tradedate": {
  24091. "description": "交易日(yyyyMMdd)",
  24092. "type": "string"
  24093. },
  24094. "userid": {
  24095. "description": "申请人用户ID",
  24096. "type": "integer"
  24097. },
  24098. "userinfotype": {
  24099. "description": "用户类型 1-个人 2-企业",
  24100. "type": "integer"
  24101. },
  24102. "username": {
  24103. "description": "用户名称",
  24104. "type": "string"
  24105. }
  24106. }
  24107. },
  24108. "models.QhjBrokerApplyEx": {
  24109. "type": "object",
  24110. "properties": {
  24111. "applylist": {
  24112. "description": "经纪人申请记录(只返回最新一条)",
  24113. "type": "array",
  24114. "items": {
  24115. "$ref": "#/definitions/models.QhjBrokerApply"
  24116. }
  24117. },
  24118. "canrecommend": {
  24119. "description": "是否经纪人 0-不是 1-是",
  24120. "type": "integer"
  24121. },
  24122. "refernum": {
  24123. "description": "推荐码",
  24124. "type": "string"
  24125. },
  24126. "userid": {
  24127. "description": "用户id",
  24128. "type": "integer"
  24129. },
  24130. "userinfotype": {
  24131. "description": "用户类型 1-个人 2-企业",
  24132. "type": "integer"
  24133. }
  24134. }
  24135. },
  24136. "models.QhjBrokerRewardLog": {
  24137. "type": "object",
  24138. "properties": {
  24139. "accountid": {
  24140. "description": "资金账号ID",
  24141. "type": "integer"
  24142. },
  24143. "createtime": {
  24144. "description": "创建时间(时间)",
  24145. "type": "string"
  24146. },
  24147. "handlestatus": {
  24148. "description": "处理状态",
  24149. "type": "integer"
  24150. },
  24151. "logid": {
  24152. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24153. "type": "string"
  24154. },
  24155. "marketid": {
  24156. "description": "市场ID",
  24157. "type": "integer"
  24158. },
  24159. "mmaccountid": {
  24160. "description": "做市商资金账号ID",
  24161. "type": "string"
  24162. },
  24163. "mmuserid": {
  24164. "description": "做市商用户ID",
  24165. "type": "string"
  24166. },
  24167. "rewardamount": {
  24168. "description": "奖励金额",
  24169. "type": "number"
  24170. },
  24171. "rewardmodel": {
  24172. "description": "消费奖励方式 - 1:比率 2:固定",
  24173. "type": "integer"
  24174. },
  24175. "rewardtype": {
  24176. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24177. "type": "integer"
  24178. },
  24179. "rewardvalue": {
  24180. "description": "配置奖励值",
  24181. "type": "number"
  24182. },
  24183. "srcamount": {
  24184. "description": "成交金额 [消费奖励] (金额)",
  24185. "type": "number"
  24186. },
  24187. "srcgoodsid": {
  24188. "description": "来源商品ID [消费奖励]",
  24189. "type": "string"
  24190. },
  24191. "srctime": {
  24192. "description": "来源时间 (成交时间) [消费奖励]",
  24193. "type": "string"
  24194. },
  24195. "srctradeid": {
  24196. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24197. "type": "string"
  24198. },
  24199. "srcuserid": {
  24200. "description": "来源用户ID(推广账户)",
  24201. "type": "string"
  24202. },
  24203. "srcusername": {
  24204. "description": "推广账户名称",
  24205. "type": "string"
  24206. },
  24207. "tradedate": {
  24208. "description": "交易日(yyyyMMdd)",
  24209. "type": "string"
  24210. },
  24211. "userid": {
  24212. "description": "经纪人用户ID",
  24213. "type": "integer"
  24214. }
  24215. }
  24216. },
  24217. "models.QhjContract": {
  24218. "type": "object",
  24219. "properties": {
  24220. "contractconfirmtime": {
  24221. "description": "合同确认时间(时间)",
  24222. "type": "string"
  24223. },
  24224. "currisklevel": {
  24225. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24226. "type": "integer"
  24227. },
  24228. "decimalplace": {
  24229. "description": "商品报价小数位",
  24230. "type": "integer"
  24231. },
  24232. "enumdicname": {
  24233. "description": "单位名称",
  24234. "type": "string"
  24235. },
  24236. "goodscode": {
  24237. "description": "商品代码",
  24238. "type": "string"
  24239. },
  24240. "goodsid": {
  24241. "description": "商品ID [5:融资单]",
  24242. "type": "integer"
  24243. },
  24244. "goodsname": {
  24245. "description": "商品名称",
  24246. "type": "string"
  24247. },
  24248. "goodunitid": {
  24249. "description": "商品单位id",
  24250. "type": "integer"
  24251. },
  24252. "initmargin": {
  24253. "description": "初始保证金(首付款)",
  24254. "type": "number"
  24255. },
  24256. "lenderamount": {
  24257. "description": "贷款金额(总额|订单总额)",
  24258. "type": "number"
  24259. },
  24260. "marginratio": {
  24261. "description": "保证金比率(首付比例)",
  24262. "type": "number"
  24263. },
  24264. "payamount": {
  24265. "description": "已付(已付货款)",
  24266. "type": "number"
  24267. },
  24268. "reckonrecovermargin": {
  24269. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24270. "type": "number"
  24271. },
  24272. "recoveredmargin": {
  24273. "description": "已追缴保证金",
  24274. "type": "number"
  24275. },
  24276. "remainamount": {
  24277. "description": "合同剩余金额(融资额)",
  24278. "type": "number"
  24279. },
  24280. "scfcontractid": {
  24281. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24282. "type": "string"
  24283. },
  24284. "scfcontractstatus": {
  24285. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24286. "type": "integer"
  24287. },
  24288. "scfcontracttype": {
  24289. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24290. "type": "integer"
  24291. },
  24292. "totalinterest": {
  24293. "description": "已计总利息(利息)",
  24294. "type": "number"
  24295. },
  24296. "tradeprice": {
  24297. "description": "成交价格(成本价格)",
  24298. "type": "number"
  24299. },
  24300. "userid": {
  24301. "description": "用户ID",
  24302. "type": "integer"
  24303. },
  24304. "username": {
  24305. "description": "用户名称",
  24306. "type": "string"
  24307. },
  24308. "wrqty": {
  24309. "description": "仓单数量(数量)",
  24310. "type": "number"
  24311. }
  24312. }
  24313. },
  24314. "models.QhjContractLog": {
  24315. "type": "object",
  24316. "properties": {
  24317. "amount": {
  24318. "description": "支付金额",
  24319. "type": "number"
  24320. },
  24321. "amounttype": {
  24322. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24323. "type": "integer"
  24324. },
  24325. "logid": {
  24326. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24327. "type": "string"
  24328. },
  24329. "remainamount": {
  24330. "description": "剩余货款",
  24331. "type": "number"
  24332. },
  24333. "scfcontractid": {
  24334. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24335. "type": "integer"
  24336. },
  24337. "updatetime": {
  24338. "description": "更新时间",
  24339. "type": "string"
  24340. }
  24341. }
  24342. },
  24343. "models.QhjCusBankSignBankEx": {
  24344. "type": "object",
  24345. "properties": {
  24346. "banklst": {
  24347. "description": "银行列表",
  24348. "type": "array",
  24349. "items": {
  24350. "$ref": "#/definitions/models.QhjBankInfo"
  24351. }
  24352. },
  24353. "canallot": {
  24354. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  24355. "type": "integer"
  24356. },
  24357. "canallotquery": {
  24358. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  24359. "type": "integer"
  24360. },
  24361. "canbindcard": {
  24362. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  24363. "type": "integer"
  24364. },
  24365. "caninamount": {
  24366. "description": "是否可入金 - 0:不可 1:可以",
  24367. "type": "integer"
  24368. },
  24369. "caninamount2": {
  24370. "description": "是否可入金(网银端) - 0:不可 1:可以",
  24371. "type": "integer"
  24372. },
  24373. "canmodifybankcard": {
  24374. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  24375. "type": "integer"
  24376. },
  24377. "canmodifyphone": {
  24378. "description": "是否可修改手机号 - 0:不可 1:可以",
  24379. "type": "integer"
  24380. },
  24381. "canmodifysigninfo": {
  24382. "description": "是否可修改签约信息 - 0:不可 1:可以",
  24383. "type": "integer"
  24384. },
  24385. "canoutamount": {
  24386. "description": "是否可出金 - 0:不可 1:可以",
  24387. "type": "integer"
  24388. },
  24389. "canoutamount2": {
  24390. "description": "是否可出金(网银端) - 0:不可 1:可以",
  24391. "type": "integer"
  24392. },
  24393. "canrelease": {
  24394. "description": "是否可解约 - 0:不可 1:可以",
  24395. "type": "integer"
  24396. },
  24397. "canrelease2": {
  24398. "description": "是否可解约(网银端) - 0:不可 1:可以",
  24399. "type": "integer"
  24400. },
  24401. "cansign": {
  24402. "description": "是否可签约 - 0:不可 1:可以",
  24403. "type": "integer"
  24404. },
  24405. "cansign2": {
  24406. "description": "是否可签约(网银端) - 0:不可 1:可以",
  24407. "type": "integer"
  24408. },
  24409. "currency": {
  24410. "description": "币种",
  24411. "type": "string"
  24412. },
  24413. "cusbankid": {
  24414. "description": "托管银行编号(对应清算中心TRAN_NO)",
  24415. "type": "string"
  24416. },
  24417. "cusbankname": {
  24418. "description": "银行业务名称",
  24419. "type": "string"
  24420. },
  24421. "cusbankshortname": {
  24422. "description": "银行业务简称",
  24423. "type": "string"
  24424. },
  24425. "exchbankid": {
  24426. "description": "交易所开户银行ID",
  24427. "type": "string"
  24428. },
  24429. "exchpaybankaccname": {
  24430. "description": "交易所支出结算账户户名",
  24431. "type": "string"
  24432. },
  24433. "exchpaybankaccno": {
  24434. "description": "交易所支出结算账户",
  24435. "type": "string"
  24436. },
  24437. "isneedcheck": {
  24438. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  24439. "type": "integer"
  24440. },
  24441. "isneedclear": {
  24442. "description": "是否需要清算 - 0:不需要 1:需要",
  24443. "type": "integer"
  24444. },
  24445. "lastcheckstatus": {
  24446. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  24447. "type": "integer"
  24448. },
  24449. "lastchecktime": {
  24450. "description": "最后对账时间",
  24451. "type": "string"
  24452. },
  24453. "lastclearstatus": {
  24454. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  24455. "type": "integer"
  24456. },
  24457. "lastcleartime": {
  24458. "description": "最后清算时间",
  24459. "type": "string"
  24460. },
  24461. "lastsignintime": {
  24462. "description": "最后签到时间",
  24463. "type": "string"
  24464. },
  24465. "lastsignouttime": {
  24466. "description": "最后签退时间",
  24467. "type": "string"
  24468. },
  24469. "riskinfo": {
  24470. "description": "签约风险提示书",
  24471. "type": "string"
  24472. },
  24473. "signstatus": {
  24474. "description": "当前签到/签退状态 - 1:签到 2:签退",
  24475. "type": "integer"
  24476. },
  24477. "tradedate": {
  24478. "description": "交易日(yyyyMMdd)",
  24479. "type": "string"
  24480. },
  24481. "updatetime": {
  24482. "description": "当前签到/签退更新时间",
  24483. "type": "string"
  24484. }
  24485. }
  24486. },
  24487. "models.QhjCustomer": {
  24488. "type": "object",
  24489. "properties": {
  24490. "address": {
  24491. "description": "通讯地址",
  24492. "type": "string"
  24493. },
  24494. "attachment1": {
  24495. "description": "附件1",
  24496. "type": "string"
  24497. },
  24498. "audittime": {
  24499. "description": "审核时间",
  24500. "type": "string"
  24501. },
  24502. "cardbackphotourl": {
  24503. "description": "证件反面图片地址",
  24504. "type": "string"
  24505. },
  24506. "cardfrontphotourl": {
  24507. "description": "证件正面图片地址",
  24508. "type": "string"
  24509. },
  24510. "cardnum": {
  24511. "description": "证件号码",
  24512. "type": "string"
  24513. },
  24514. "cardtype": {
  24515. "description": "证件类型",
  24516. "type": "integer"
  24517. },
  24518. "cardtypename": {
  24519. "description": "证件类型名称",
  24520. "type": "string"
  24521. },
  24522. "cityid": {
  24523. "description": "市",
  24524. "type": "integer"
  24525. },
  24526. "cityname": {
  24527. "description": "城市名称",
  24528. "type": "string"
  24529. },
  24530. "contactname": {
  24531. "description": "联系人",
  24532. "type": "string"
  24533. },
  24534. "countryid": {
  24535. "description": "国家",
  24536. "type": "integer"
  24537. },
  24538. "countryname": {
  24539. "description": "国家名称",
  24540. "type": "string"
  24541. },
  24542. "createtime": {
  24543. "description": "创建时间",
  24544. "type": "string"
  24545. },
  24546. "customername": {
  24547. "description": "客户名称",
  24548. "type": "string"
  24549. },
  24550. "districtid": {
  24551. "description": "区域",
  24552. "type": "integer"
  24553. },
  24554. "districtname": {
  24555. "description": "地区名称",
  24556. "type": "string"
  24557. },
  24558. "email": {
  24559. "description": "邮件",
  24560. "type": "string"
  24561. },
  24562. "legalpersonname": {
  24563. "description": "法人姓名(企业)",
  24564. "type": "string"
  24565. },
  24566. "logincode": {
  24567. "description": "登录账号(代码)",
  24568. "type": "string"
  24569. },
  24570. "memberuserid": {
  24571. "description": "所属机构ID(所属会员)",
  24572. "type": "integer"
  24573. },
  24574. "memberusername": {
  24575. "description": "所属会员名称",
  24576. "type": "string"
  24577. },
  24578. "mobile": {
  24579. "description": "手机号码",
  24580. "type": "string"
  24581. },
  24582. "modifytime": {
  24583. "description": "修改时间",
  24584. "type": "string"
  24585. },
  24586. "nickname": {
  24587. "description": "昵称",
  24588. "type": "string"
  24589. },
  24590. "parentuserid": {
  24591. "description": "上级机构(所属机构)",
  24592. "type": "integer"
  24593. },
  24594. "parentusername": {
  24595. "description": "所属机构名称",
  24596. "type": "string"
  24597. },
  24598. "provinceid": {
  24599. "description": "省",
  24600. "type": "integer"
  24601. },
  24602. "provincename": {
  24603. "description": "省名称",
  24604. "type": "string"
  24605. },
  24606. "proxystatementurl": {
  24607. "description": "授权委托书",
  24608. "type": "string"
  24609. },
  24610. "remark": {
  24611. "description": "备注",
  24612. "type": "string"
  24613. },
  24614. "status": {
  24615. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  24616. "type": "integer"
  24617. },
  24618. "statusdesc": {
  24619. "description": "账户状态中文描述",
  24620. "type": "string"
  24621. },
  24622. "taxpayernum": {
  24623. "description": "纳税人识别号",
  24624. "type": "string"
  24625. },
  24626. "telphone": {
  24627. "description": "联系电话",
  24628. "type": "string"
  24629. },
  24630. "userid": {
  24631. "description": "用户ID",
  24632. "type": "integer"
  24633. },
  24634. "userinfotype": {
  24635. "description": "客户类型 1-个人 2-企业",
  24636. "type": "integer"
  24637. },
  24638. "username": {
  24639. "description": "用户名称",
  24640. "type": "string"
  24641. }
  24642. }
  24643. },
  24644. "models.QhjCustomerSignLog": {
  24645. "type": "object",
  24646. "properties": {
  24647. "agreementcontent": {
  24648. "description": "协议内容",
  24649. "type": "string"
  24650. },
  24651. "agreementid": {
  24652. "description": "协议ID",
  24653. "type": "integer"
  24654. },
  24655. "agreementname": {
  24656. "description": "协议名称",
  24657. "type": "string"
  24658. },
  24659. "agreementno": {
  24660. "description": "协议编号",
  24661. "type": "string"
  24662. },
  24663. "agreementtype": {
  24664. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24665. "type": "integer"
  24666. },
  24667. "agreementversion": {
  24668. "description": "协议版本号",
  24669. "type": "integer"
  24670. },
  24671. "createtime": {
  24672. "description": "创建时间",
  24673. "type": "string"
  24674. },
  24675. "goodscode": {
  24676. "description": "商品代码",
  24677. "type": "string"
  24678. },
  24679. "goodsid": {
  24680. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24681. "type": "integer"
  24682. },
  24683. "goodsname": {
  24684. "description": "商品名称",
  24685. "type": "string"
  24686. },
  24687. "logid": {
  24688. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  24689. "type": "integer"
  24690. },
  24691. "nodetype": {
  24692. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  24693. "type": "integer"
  24694. },
  24695. "signadressurl": {
  24696. "description": "签约文件地址",
  24697. "type": "string"
  24698. },
  24699. "signtimestamp": {
  24700. "description": "签约状态时间戳",
  24701. "type": "string"
  24702. },
  24703. "userid": {
  24704. "description": "客户ID",
  24705. "type": "integer"
  24706. },
  24707. "username": {
  24708. "description": "客户名称",
  24709. "type": "string"
  24710. }
  24711. }
  24712. },
  24713. "models.QhjCustomerSignStatus": {
  24714. "type": "object",
  24715. "properties": {
  24716. "createtime": {
  24717. "description": "创建时间",
  24718. "type": "string"
  24719. },
  24720. "goodscode": {
  24721. "description": "商品代码",
  24722. "type": "string"
  24723. },
  24724. "goodsid": {
  24725. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  24726. "type": "integer"
  24727. },
  24728. "goodsname": {
  24729. "description": "商品名称",
  24730. "type": "string"
  24731. },
  24732. "nodetype": {
  24733. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  24734. "type": "integer"
  24735. },
  24736. "signtimestamp": {
  24737. "description": "签约状态时间戳",
  24738. "type": "string"
  24739. },
  24740. "tradedate": {
  24741. "description": "创建交易日(yyyyMMdd)",
  24742. "type": "string"
  24743. },
  24744. "updatetime": {
  24745. "description": "更新时间",
  24746. "type": "string"
  24747. },
  24748. "userid": {
  24749. "description": "客户ID",
  24750. "type": "integer"
  24751. },
  24752. "username": {
  24753. "description": "客户名称",
  24754. "type": "string"
  24755. }
  24756. }
  24757. },
  24758. "models.QhjMgrAccountOutInApply": {
  24759. "type": "object",
  24760. "properties": {
  24761. "accountcode": {
  24762. "description": "资金账号",
  24763. "type": "string"
  24764. },
  24765. "accountname": {
  24766. "description": "用户名称(名称)",
  24767. "type": "string"
  24768. },
  24769. "accountpwd": {
  24770. "description": "资金密码",
  24771. "type": "string"
  24772. },
  24773. "accountticket": {
  24774. "description": "最新账户服务流水号",
  24775. "type": "string"
  24776. },
  24777. "amount": {
  24778. "description": "金额",
  24779. "type": "number"
  24780. },
  24781. "applyremark": {
  24782. "description": "申请备注",
  24783. "type": "string"
  24784. },
  24785. "applystatus": {
  24786. "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: 复审通过,账户冻结金额检查中;",
  24787. "type": "integer"
  24788. },
  24789. "auditid": {
  24790. "description": "审核人",
  24791. "type": "integer"
  24792. },
  24793. "audittime": {
  24794. "description": "审核时间",
  24795. "type": "string"
  24796. },
  24797. "bank_apply_ticket": {
  24798. "description": "银行申请流水",
  24799. "type": "string"
  24800. },
  24801. "bankaccountname": {
  24802. "description": "银行账户名",
  24803. "type": "string"
  24804. },
  24805. "bankaccountno": {
  24806. "description": "银行卡号",
  24807. "type": "string"
  24808. },
  24809. "bankid": {
  24810. "description": "银行编号",
  24811. "type": "string"
  24812. },
  24813. "bankname": {
  24814. "description": "银行名称",
  24815. "type": "string"
  24816. },
  24817. "bankticket": {
  24818. "description": "银行流水",
  24819. "type": "string"
  24820. },
  24821. "branchbankid": {
  24822. "description": "银行支行号",
  24823. "type": "string"
  24824. },
  24825. "branchbankname": {
  24826. "description": "银行支行名称",
  24827. "type": "string"
  24828. },
  24829. "capamountout": {
  24830. "description": "出金(劣后本金) - 外部子账户",
  24831. "type": "number"
  24832. },
  24833. "certificatephotourl": {
  24834. "description": "凭证地址",
  24835. "type": "string"
  24836. },
  24837. "charge": {
  24838. "description": "手续费",
  24839. "type": "number"
  24840. },
  24841. "checkerrorflag": {
  24842. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24843. "type": "integer"
  24844. },
  24845. "currency": {
  24846. "description": "币种",
  24847. "type": "string"
  24848. },
  24849. "cusbankid": {
  24850. "description": "托管银行编号",
  24851. "type": "string"
  24852. },
  24853. "exchticket": {
  24854. "description": "银行服务流水号",
  24855. "type": "string"
  24856. },
  24857. "executetype": {
  24858. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24859. "type": "integer"
  24860. },
  24861. "extendinfo": {
  24862. "description": "扩展信息",
  24863. "type": "string"
  24864. },
  24865. "extoperateid": {
  24866. "description": "交易服务流水号",
  24867. "type": "integer"
  24868. },
  24869. "infamount": {
  24870. "description": "劣后金额(自有)",
  24871. "type": "number"
  24872. },
  24873. "logincode": {
  24874. "description": "登录账号(账号)",
  24875. "type": "string"
  24876. },
  24877. "netaddr": {
  24878. "description": "调转网址",
  24879. "type": "string"
  24880. },
  24881. "priamount": {
  24882. "description": "优先金额(授信)",
  24883. "type": "number"
  24884. },
  24885. "reauditid": {
  24886. "description": "复审人",
  24887. "type": "integer"
  24888. },
  24889. "reauditremark": {
  24890. "description": "复审备注",
  24891. "type": "string"
  24892. },
  24893. "reaudittime": {
  24894. "description": "复审时间",
  24895. "type": "string"
  24896. },
  24897. "relatedorderid": {
  24898. "description": "三方关联ID",
  24899. "type": "string"
  24900. },
  24901. "remark": {
  24902. "description": "备注",
  24903. "type": "string"
  24904. },
  24905. "remark2": {
  24906. "description": "备注(失败原因)",
  24907. "type": "string"
  24908. },
  24909. "soucreamount": {
  24910. "description": "原始出入金金额",
  24911. "type": "number"
  24912. },
  24913. "soucrecurrencyid": {
  24914. "description": "原始出入金币种",
  24915. "type": "integer"
  24916. },
  24917. "tradedate": {
  24918. "description": "交易日(yyyyMMdd)",
  24919. "type": "string"
  24920. },
  24921. "updatetime": {
  24922. "description": "更新时间(申请时间)",
  24923. "type": "string"
  24924. },
  24925. "userid": {
  24926. "description": "用户id",
  24927. "type": "integer"
  24928. },
  24929. "userinfotype": {
  24930. "description": "账户类型 1-个人 2-企业",
  24931. "type": "integer"
  24932. }
  24933. }
  24934. },
  24935. "models.QhjMgrBrokerApply": {
  24936. "type": "object",
  24937. "properties": {
  24938. "applicantid": {
  24939. "description": "申请人",
  24940. "type": "integer"
  24941. },
  24942. "applysrc": {
  24943. "description": "申请来源 - 1:管理端 2:终端",
  24944. "type": "integer"
  24945. },
  24946. "applystatus": {
  24947. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24948. "type": "integer"
  24949. },
  24950. "applytime": {
  24951. "description": "申请时间",
  24952. "type": "string"
  24953. },
  24954. "auditorid": {
  24955. "description": "审核人",
  24956. "type": "integer"
  24957. },
  24958. "auditremark": {
  24959. "description": "审核备注",
  24960. "type": "string"
  24961. },
  24962. "auditsrc": {
  24963. "description": "审核来源 - 1:管理端 2:终端",
  24964. "type": "integer"
  24965. },
  24966. "audittime": {
  24967. "description": "审核时间",
  24968. "type": "string"
  24969. },
  24970. "audittradedate": {
  24971. "description": "审核交易日(yyyyMMdd)",
  24972. "type": "string"
  24973. },
  24974. "brokerapplyid": {
  24975. "description": "申请ID(SEQ_BROKERAPPLY)",
  24976. "type": "integer"
  24977. },
  24978. "cardbackphotourl": {
  24979. "description": "证件背面图片地址",
  24980. "type": "string"
  24981. },
  24982. "cardfrontphotourl": {
  24983. "description": "证件正面图片地址",
  24984. "type": "string"
  24985. },
  24986. "cardnum": {
  24987. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24988. "type": "string"
  24989. },
  24990. "customername": {
  24991. "description": "姓名",
  24992. "type": "string"
  24993. },
  24994. "filterstatus": {
  24995. "description": "筛选条件",
  24996. "type": "string"
  24997. },
  24998. "logincode": {
  24999. "description": "登录代码",
  25000. "type": "string"
  25001. },
  25002. "mobile": {
  25003. "description": "手机号码",
  25004. "type": "string"
  25005. },
  25006. "parentuserid": {
  25007. "description": "所属机构id",
  25008. "type": "integer"
  25009. },
  25010. "parentusername": {
  25011. "description": "所属机构名称",
  25012. "type": "string"
  25013. },
  25014. "refereeuserid": {
  25015. "description": "推荐人id(经纪人)",
  25016. "type": "integer"
  25017. },
  25018. "refernum": {
  25019. "description": "推荐码",
  25020. "type": "string"
  25021. },
  25022. "remark": {
  25023. "description": "备注",
  25024. "type": "string"
  25025. },
  25026. "subarealevelpath": {
  25027. "description": "层级路径",
  25028. "type": "string"
  25029. },
  25030. "tradedate": {
  25031. "description": "交易日(yyyyMMdd)",
  25032. "type": "string"
  25033. },
  25034. "userid": {
  25035. "description": "申请人用户ID",
  25036. "type": "integer"
  25037. },
  25038. "userinfotype": {
  25039. "description": "用户类型 1-个人 2-企业",
  25040. "type": "integer"
  25041. },
  25042. "username": {
  25043. "description": "用户名称",
  25044. "type": "string"
  25045. }
  25046. }
  25047. },
  25048. "models.QhjMgrBrokerRewardReport": {
  25049. "type": "object",
  25050. "properties": {
  25051. "createtime": {
  25052. "description": "创建时间(注册时间)",
  25053. "type": "string"
  25054. },
  25055. "cycletime": {
  25056. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25057. "type": "string"
  25058. },
  25059. "cycletype": {
  25060. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25061. "type": "integer"
  25062. },
  25063. "directtotalnum": {
  25064. "description": "直推总人数【期末】",
  25065. "type": "integer"
  25066. },
  25067. "indirecttotalnum": {
  25068. "description": "间推总人数【期末】",
  25069. "type": "integer"
  25070. },
  25071. "mobile": {
  25072. "description": "电话号码",
  25073. "type": "string"
  25074. },
  25075. "refereeuserid": {
  25076. "description": "推荐人id(经纪人id)",
  25077. "type": "integer"
  25078. },
  25079. "refereeusername": {
  25080. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25081. "type": "string"
  25082. },
  25083. "refernum": {
  25084. "description": "推荐码",
  25085. "type": "string"
  25086. },
  25087. "subarealevelpath": {
  25088. "description": "用户层级路径",
  25089. "type": "string"
  25090. },
  25091. "todayrewardamount": {
  25092. "description": "奖励总金额【汇总】",
  25093. "type": "number"
  25094. },
  25095. "updatetime": {
  25096. "description": "更新时间",
  25097. "type": "string"
  25098. },
  25099. "userid": {
  25100. "description": "经纪人用户ID",
  25101. "type": "integer"
  25102. },
  25103. "userinfotype": {
  25104. "description": "用户类型 1-个人 2-企业",
  25105. "type": "integer"
  25106. },
  25107. "username": {
  25108. "description": "用户名称",
  25109. "type": "string"
  25110. }
  25111. }
  25112. },
  25113. "models.QhjMgrContract": {
  25114. "type": "object",
  25115. "properties": {
  25116. "contractconfirmtime": {
  25117. "description": "合同确认时间(时间)",
  25118. "type": "string"
  25119. },
  25120. "currisklevel": {
  25121. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25122. "type": "integer"
  25123. },
  25124. "decimalplace": {
  25125. "description": "商品报价小数位",
  25126. "type": "integer"
  25127. },
  25128. "enumdicname": {
  25129. "description": "单位名称",
  25130. "type": "string"
  25131. },
  25132. "goodscode": {
  25133. "description": "商品代码",
  25134. "type": "string"
  25135. },
  25136. "goodsid": {
  25137. "description": "商品ID [5:融资单]",
  25138. "type": "integer"
  25139. },
  25140. "goodsname": {
  25141. "description": "商品名称",
  25142. "type": "string"
  25143. },
  25144. "goodunitid": {
  25145. "description": "商品单位id",
  25146. "type": "integer"
  25147. },
  25148. "initmargin": {
  25149. "description": "初始保证金(首付款)",
  25150. "type": "number"
  25151. },
  25152. "lenderamount": {
  25153. "description": "贷款金额(总额|订单总额)",
  25154. "type": "number"
  25155. },
  25156. "logincode": {
  25157. "description": "账号(登录代码)",
  25158. "type": "string"
  25159. },
  25160. "marginratio": {
  25161. "description": "保证金比率(首付比例)",
  25162. "type": "number"
  25163. },
  25164. "mobile": {
  25165. "description": "电话号码(用户资料里的电话)",
  25166. "type": "string"
  25167. },
  25168. "payamount": {
  25169. "description": "已付(已付货款)",
  25170. "type": "number"
  25171. },
  25172. "reckonrecovermargin": {
  25173. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25174. "type": "number"
  25175. },
  25176. "recoveredmargin": {
  25177. "description": "已追缴保证金",
  25178. "type": "number"
  25179. },
  25180. "remainamount": {
  25181. "description": "合同剩余金额(融资额)",
  25182. "type": "number"
  25183. },
  25184. "scfcontractid": {
  25185. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25186. "type": "string"
  25187. },
  25188. "scfcontractstatus": {
  25189. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25190. "type": "integer"
  25191. },
  25192. "scfcontracttype": {
  25193. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25194. "type": "integer"
  25195. },
  25196. "totalinterest": {
  25197. "description": "已计总利息(利息)",
  25198. "type": "number"
  25199. },
  25200. "tradedate": {
  25201. "description": "交易日",
  25202. "type": "string"
  25203. },
  25204. "tradeprice": {
  25205. "description": "成交价格(成本价格)",
  25206. "type": "number"
  25207. },
  25208. "userid": {
  25209. "description": "用户ID",
  25210. "type": "integer"
  25211. },
  25212. "userinfotype": {
  25213. "description": "用户类型 1-个人 2-企业",
  25214. "type": "integer"
  25215. },
  25216. "username": {
  25217. "description": "用户名称",
  25218. "type": "string"
  25219. },
  25220. "wrqty": {
  25221. "description": "仓单数量(数量)",
  25222. "type": "number"
  25223. }
  25224. }
  25225. },
  25226. "models.QhjMgrCustomer": {
  25227. "type": "object",
  25228. "properties": {
  25229. "address": {
  25230. "description": "通讯地址",
  25231. "type": "string"
  25232. },
  25233. "attachment1": {
  25234. "description": "附件1",
  25235. "type": "string"
  25236. },
  25237. "audittime": {
  25238. "description": "审核时间",
  25239. "type": "string"
  25240. },
  25241. "cardbackphotourl": {
  25242. "description": "证件反面图片地址",
  25243. "type": "string"
  25244. },
  25245. "cardfrontphotourl": {
  25246. "description": "证件正面图片地址",
  25247. "type": "string"
  25248. },
  25249. "cardnum": {
  25250. "description": "证件号码",
  25251. "type": "string"
  25252. },
  25253. "cardtype": {
  25254. "description": "证件类型",
  25255. "type": "integer"
  25256. },
  25257. "cardtypename": {
  25258. "description": "证件类型名称",
  25259. "type": "string"
  25260. },
  25261. "cityid": {
  25262. "description": "市",
  25263. "type": "integer"
  25264. },
  25265. "cityname": {
  25266. "description": "城市名称",
  25267. "type": "string"
  25268. },
  25269. "contactname": {
  25270. "description": "联系人",
  25271. "type": "string"
  25272. },
  25273. "countryid": {
  25274. "description": "国家",
  25275. "type": "integer"
  25276. },
  25277. "countryname": {
  25278. "description": "国家名称",
  25279. "type": "string"
  25280. },
  25281. "createtime": {
  25282. "description": "创建时间",
  25283. "type": "string"
  25284. },
  25285. "customername": {
  25286. "description": "客户名称",
  25287. "type": "string"
  25288. },
  25289. "districtid": {
  25290. "description": "区域",
  25291. "type": "integer"
  25292. },
  25293. "districtname": {
  25294. "description": "地区名称",
  25295. "type": "string"
  25296. },
  25297. "email": {
  25298. "description": "邮件",
  25299. "type": "string"
  25300. },
  25301. "legalpersonname": {
  25302. "description": "法人姓名(企业)",
  25303. "type": "string"
  25304. },
  25305. "logincode": {
  25306. "description": "登录账号(代码)",
  25307. "type": "string"
  25308. },
  25309. "memberuserid": {
  25310. "description": "所属机构ID(所属会员)",
  25311. "type": "integer"
  25312. },
  25313. "memberusername": {
  25314. "description": "所属会员名称",
  25315. "type": "string"
  25316. },
  25317. "mobile": {
  25318. "description": "手机号码",
  25319. "type": "string"
  25320. },
  25321. "modifytime": {
  25322. "description": "修改时间",
  25323. "type": "string"
  25324. },
  25325. "nickname": {
  25326. "description": "昵称",
  25327. "type": "string"
  25328. },
  25329. "parentuserid": {
  25330. "description": "上级机构(所属机构)",
  25331. "type": "integer"
  25332. },
  25333. "parentusername": {
  25334. "description": "所属机构名称",
  25335. "type": "string"
  25336. },
  25337. "provinceid": {
  25338. "description": "省",
  25339. "type": "integer"
  25340. },
  25341. "provincename": {
  25342. "description": "省名称",
  25343. "type": "string"
  25344. },
  25345. "proxystatementurl": {
  25346. "description": "授权委托书",
  25347. "type": "string"
  25348. },
  25349. "querytype": {
  25350. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  25351. "type": "integer"
  25352. },
  25353. "remark": {
  25354. "description": "备注",
  25355. "type": "string"
  25356. },
  25357. "status": {
  25358. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25359. "type": "integer"
  25360. },
  25361. "statusdesc": {
  25362. "description": "账户状态中文描述",
  25363. "type": "string"
  25364. },
  25365. "taxpayernum": {
  25366. "description": "纳税人识别号",
  25367. "type": "string"
  25368. },
  25369. "telphone": {
  25370. "description": "联系电话",
  25371. "type": "string"
  25372. },
  25373. "userid": {
  25374. "description": "用户ID",
  25375. "type": "integer"
  25376. },
  25377. "userinfotype": {
  25378. "description": "客户类型 1-个人 2-企业",
  25379. "type": "integer"
  25380. },
  25381. "username": {
  25382. "description": "用户名称",
  25383. "type": "string"
  25384. }
  25385. }
  25386. },
  25387. "models.QhjMgrPickGoods": {
  25388. "type": "object",
  25389. "properties": {
  25390. "enumdicname": {
  25391. "description": "单位名称(提货商品)",
  25392. "type": "string"
  25393. },
  25394. "goodsid": {
  25395. "description": "商品id",
  25396. "type": "integer"
  25397. },
  25398. "imageaddress": {
  25399. "description": "图片",
  25400. "type": "string"
  25401. },
  25402. "modifierid": {
  25403. "description": "修改人",
  25404. "type": "integer"
  25405. },
  25406. "modifiername": {
  25407. "description": "修改人名称",
  25408. "type": "string"
  25409. },
  25410. "modifysrc": {
  25411. "description": "修改来源 - 1:管理端 2:终端",
  25412. "type": "integer"
  25413. },
  25414. "pickupgoodsagreeunit": {
  25415. "description": "合约乘数",
  25416. "type": "number"
  25417. },
  25418. "pickupgoodsdesc": {
  25419. "description": "描述",
  25420. "type": "string"
  25421. },
  25422. "pickupgoodsid": {
  25423. "description": "提货商品ID",
  25424. "type": "string"
  25425. },
  25426. "pickupgoodsname": {
  25427. "description": "提货商品名称",
  25428. "type": "string"
  25429. },
  25430. "pickupgoodsstatus": {
  25431. "description": "状态 - 1:正常 2:停用 3:注销",
  25432. "type": "integer"
  25433. },
  25434. "pickupgoodsunitid": {
  25435. "description": "单位ID",
  25436. "type": "integer"
  25437. },
  25438. "pickupratio": {
  25439. "description": "提货系数",
  25440. "type": "number"
  25441. },
  25442. "preparedays": {
  25443. "description": "备货期(天)",
  25444. "type": "integer"
  25445. },
  25446. "remark": {
  25447. "description": "备注",
  25448. "type": "string"
  25449. },
  25450. "updatetime": {
  25451. "description": "更新时间",
  25452. "type": "string"
  25453. }
  25454. }
  25455. },
  25456. "models.QhjMgrPositionRsp": {
  25457. "type": "object",
  25458. "properties": {
  25459. "accountid": {
  25460. "description": "账号Id",
  25461. "type": "integer"
  25462. },
  25463. "accountname": {
  25464. "description": "用户名称",
  25465. "type": "string"
  25466. },
  25467. "agreeunit": {
  25468. "description": "合约乘数",
  25469. "type": "number"
  25470. },
  25471. "averageprice": {
  25472. "description": "均价",
  25473. "type": "number"
  25474. },
  25475. "avialqty": {
  25476. "description": "可用数量",
  25477. "type": "number"
  25478. },
  25479. "decimalplace": {
  25480. "description": "报价小数位",
  25481. "type": "integer"
  25482. },
  25483. "enumdicname": {
  25484. "description": "单位名称(商品)",
  25485. "type": "string"
  25486. },
  25487. "frozenqty": {
  25488. "description": "冻结数量",
  25489. "type": "number"
  25490. },
  25491. "goodscode": {
  25492. "description": "商品代码(内部)",
  25493. "type": "string"
  25494. },
  25495. "goodsid": {
  25496. "description": "商品Id",
  25497. "type": "integer"
  25498. },
  25499. "goodsname": {
  25500. "description": "商品名称",
  25501. "type": "string"
  25502. },
  25503. "goodunitid": {
  25504. "description": "报价单位ID",
  25505. "type": "integer"
  25506. },
  25507. "holderamount": {
  25508. "description": "金额",
  25509. "type": "number"
  25510. },
  25511. "holderqty": {
  25512. "description": "持有数量",
  25513. "type": "number"
  25514. },
  25515. "holdertype": {
  25516. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  25517. "type": "integer"
  25518. },
  25519. "logincode": {
  25520. "description": "登录代码(账户)",
  25521. "type": "string"
  25522. },
  25523. "marketid": {
  25524. "description": "市场id",
  25525. "type": "integer"
  25526. },
  25527. "qtydecimalplace": {
  25528. "description": "成交量小数位",
  25529. "type": "integer"
  25530. },
  25531. "trademode": {
  25532. "description": "交易模式",
  25533. "type": "integer"
  25534. },
  25535. "userid": {
  25536. "description": "用户id",
  25537. "type": "integer"
  25538. },
  25539. "userinfotype": {
  25540. "description": "账户类型 1-个人 2-企业",
  25541. "type": "integer"
  25542. }
  25543. }
  25544. },
  25545. "models.QhjMgrSubArea": {
  25546. "type": "object",
  25547. "properties": {
  25548. "accountname": {
  25549. "description": "账户名称(机构名称)",
  25550. "type": "string"
  25551. },
  25552. "memberuserid": {
  25553. "description": "所属会员ID",
  25554. "type": "integer"
  25555. },
  25556. "parenttopuser": {
  25557. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25558. "type": "string"
  25559. },
  25560. "parentuserid": {
  25561. "description": "所属机构ID",
  25562. "type": "integer"
  25563. },
  25564. "rootuserid": {
  25565. "description": "根用户ID",
  25566. "type": "string"
  25567. },
  25568. "subaccountlevel": {
  25569. "description": "子账户层数",
  25570. "type": "integer"
  25571. },
  25572. "subarealevelpath": {
  25573. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25574. "type": "string"
  25575. },
  25576. "userid": {
  25577. "description": "用户ID",
  25578. "type": "integer"
  25579. },
  25580. "usertype": {
  25581. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25582. "type": "integer"
  25583. }
  25584. }
  25585. },
  25586. "models.QhjMgrTradeDetailRsp": {
  25587. "type": "object",
  25588. "properties": {
  25589. "accountid": {
  25590. "description": "资金账号",
  25591. "type": "integer"
  25592. },
  25593. "accountname": {
  25594. "description": "用户名称",
  25595. "type": "string"
  25596. },
  25597. "agreeunit": {
  25598. "description": "合约乘数",
  25599. "type": "number"
  25600. },
  25601. "buyorsell": {
  25602. "description": "成交类型(方向) 0:买 1:卖",
  25603. "type": "integer"
  25604. },
  25605. "decimalplace": {
  25606. "description": "报价小数位",
  25607. "type": "integer"
  25608. },
  25609. "enumdicname": {
  25610. "description": "单位名称(商品)",
  25611. "type": "string"
  25612. },
  25613. "goodscode": {
  25614. "description": "商品代码(内部)",
  25615. "type": "string"
  25616. },
  25617. "goodsid": {
  25618. "description": "商品id",
  25619. "type": "integer"
  25620. },
  25621. "goodsname": {
  25622. "description": "商品名称",
  25623. "type": "string"
  25624. },
  25625. "goodunitid": {
  25626. "description": "报价单位ID",
  25627. "type": "integer"
  25628. },
  25629. "logincode": {
  25630. "description": "登录代码(账户)",
  25631. "type": "string"
  25632. },
  25633. "marketid": {
  25634. "description": "市场id",
  25635. "type": "integer"
  25636. },
  25637. "orderid": {
  25638. "description": "关联委托单号",
  25639. "type": "string"
  25640. },
  25641. "qtydecimalplace": {
  25642. "description": "成交量小数位",
  25643. "type": "integer"
  25644. },
  25645. "tradeamount": {
  25646. "description": "金额",
  25647. "type": "number"
  25648. },
  25649. "tradedate": {
  25650. "description": "交易日",
  25651. "type": "string"
  25652. },
  25653. "tradeid": {
  25654. "description": "成交单号",
  25655. "type": "string"
  25656. },
  25657. "trademode": {
  25658. "description": "交易模式",
  25659. "type": "integer"
  25660. },
  25661. "tradeprice": {
  25662. "description": "价格",
  25663. "type": "number"
  25664. },
  25665. "tradeqty": {
  25666. "description": "数量",
  25667. "type": "number"
  25668. },
  25669. "tradetime": {
  25670. "description": "成交时间",
  25671. "type": "string"
  25672. },
  25673. "userid": {
  25674. "description": "用户id",
  25675. "type": "integer"
  25676. },
  25677. "userinfotype": {
  25678. "description": "账户类型 1-个人 2-企业",
  25679. "type": "integer"
  25680. }
  25681. }
  25682. },
  25683. "models.QhjMgrTradeOrderDetailRsp": {
  25684. "type": "object",
  25685. "properties": {
  25686. "accountid": {
  25687. "description": "资金账号",
  25688. "type": "integer"
  25689. },
  25690. "accountname": {
  25691. "description": "用户名称",
  25692. "type": "string"
  25693. },
  25694. "agreeunit": {
  25695. "description": "合约乘数",
  25696. "type": "number"
  25697. },
  25698. "amount": {
  25699. "description": "金额",
  25700. "type": "number"
  25701. },
  25702. "decimalplace": {
  25703. "description": "报价小数位",
  25704. "type": "integer"
  25705. },
  25706. "enumdicname": {
  25707. "description": "单位名称(商品)",
  25708. "type": "string"
  25709. },
  25710. "goodscode": {
  25711. "description": "商品代码(内部)",
  25712. "type": "string"
  25713. },
  25714. "goodsid": {
  25715. "description": "商品id",
  25716. "type": "integer"
  25717. },
  25718. "goodsname": {
  25719. "description": "商品名称",
  25720. "type": "string"
  25721. },
  25722. "goodunitid": {
  25723. "description": "报价单位ID",
  25724. "type": "integer"
  25725. },
  25726. "logincode": {
  25727. "description": "登录代码(账户)",
  25728. "type": "string"
  25729. },
  25730. "marketid": {
  25731. "description": "市场id",
  25732. "type": "integer"
  25733. },
  25734. "orderid": {
  25735. "description": "关联委托单号",
  25736. "type": "string"
  25737. },
  25738. "orderprice": {
  25739. "description": "价格",
  25740. "type": "number"
  25741. },
  25742. "orderqty": {
  25743. "description": "数量",
  25744. "type": "number"
  25745. },
  25746. "orderstatus": {
  25747. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  25748. "type": "integer"
  25749. },
  25750. "ordertime": {
  25751. "description": "委托时间",
  25752. "type": "string"
  25753. },
  25754. "qtydecimalplace": {
  25755. "description": "成交量小数位",
  25756. "type": "integer"
  25757. },
  25758. "tradedate": {
  25759. "description": "交易日",
  25760. "type": "string"
  25761. },
  25762. "trademode": {
  25763. "description": "交易模式",
  25764. "type": "integer"
  25765. },
  25766. "userid": {
  25767. "description": "用户id",
  25768. "type": "integer"
  25769. },
  25770. "userinfotype": {
  25771. "description": "账户类型 1-个人 2-企业",
  25772. "type": "integer"
  25773. }
  25774. }
  25775. },
  25776. "models.QhjMgrTradePayOrder": {
  25777. "type": "object",
  25778. "properties": {
  25779. "accountname": {
  25780. "description": "用户名称",
  25781. "type": "string"
  25782. },
  25783. "advanceratio": {
  25784. "description": "首付比率",
  25785. "type": "number"
  25786. },
  25787. "agreeunit": {
  25788. "description": "合约乘数",
  25789. "type": "number"
  25790. },
  25791. "buyaccountid": {
  25792. "description": "买方账号ID[报价币种]",
  25793. "type": "integer"
  25794. },
  25795. "buyorderid": {
  25796. "description": "买方委托单号(关联单号)",
  25797. "type": "string"
  25798. },
  25799. "createtime": {
  25800. "description": "创建时间",
  25801. "type": "string"
  25802. },
  25803. "decimalplace": {
  25804. "description": "报价小数位",
  25805. "type": "integer"
  25806. },
  25807. "enumdicname": {
  25808. "description": "单位名称(商品)",
  25809. "type": "string"
  25810. },
  25811. "goodscode": {
  25812. "description": "商品代码(内部)",
  25813. "type": "string"
  25814. },
  25815. "goodsid": {
  25816. "description": "商品ID",
  25817. "type": "integer"
  25818. },
  25819. "goodsname": {
  25820. "description": "商品名称",
  25821. "type": "string"
  25822. },
  25823. "goodunitid": {
  25824. "description": "报价单位ID",
  25825. "type": "integer"
  25826. },
  25827. "logincode": {
  25828. "description": "登录代码(账户)",
  25829. "type": "string"
  25830. },
  25831. "marketid": {
  25832. "description": "市场id",
  25833. "type": "integer"
  25834. },
  25835. "offamount": {
  25836. "description": "优惠金额",
  25837. "type": "number"
  25838. },
  25839. "operatetype": {
  25840. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  25841. "type": "integer"
  25842. },
  25843. "payamount": {
  25844. "description": "支付金额(金额)",
  25845. "type": "number"
  25846. },
  25847. "payflag": {
  25848. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  25849. "type": "integer"
  25850. },
  25851. "paylimitedtime": {
  25852. "description": "支付期限",
  25853. "type": "string"
  25854. },
  25855. "paytime": {
  25856. "description": "付款时间",
  25857. "type": "string"
  25858. },
  25859. "qtydecimalplace": {
  25860. "description": "成交量小数位",
  25861. "type": "integer"
  25862. },
  25863. "sellaccountid": {
  25864. "description": "卖方账号ID[报价币种]",
  25865. "type": "integer"
  25866. },
  25867. "sellorderid": {
  25868. "description": "卖方委托单号",
  25869. "type": "string"
  25870. },
  25871. "tradeamount": {
  25872. "description": "成交金额(优惠后金额)",
  25873. "type": "number"
  25874. },
  25875. "tradecharge": {
  25876. "description": "成交手续费(买方)",
  25877. "type": "number"
  25878. },
  25879. "tradedate": {
  25880. "description": "交易日(yyyyMMdd)",
  25881. "type": "string"
  25882. },
  25883. "tradeid": {
  25884. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25885. "type": "string"
  25886. },
  25887. "trademode": {
  25888. "description": "交易模式",
  25889. "type": "integer"
  25890. },
  25891. "tradeprice": {
  25892. "description": "成交价格(价格)",
  25893. "type": "number"
  25894. },
  25895. "tradeqty": {
  25896. "description": "成交数量(数量)",
  25897. "type": "number"
  25898. },
  25899. "tradetime": {
  25900. "description": "成交时间",
  25901. "type": "string"
  25902. },
  25903. "userid": {
  25904. "description": "用户id",
  25905. "type": "integer"
  25906. },
  25907. "userinfotype": {
  25908. "description": "账户类型 1-个人 2-企业",
  25909. "type": "integer"
  25910. }
  25911. }
  25912. },
  25913. "models.QhjMyTeamEx": {
  25914. "type": "object",
  25915. "properties": {
  25916. "accountname": {
  25917. "description": "用户名称",
  25918. "type": "string"
  25919. },
  25920. "accountstatus": {
  25921. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25922. "type": "integer"
  25923. },
  25924. "createtime": {
  25925. "description": "创建时间",
  25926. "type": "string"
  25927. },
  25928. "mobile": {
  25929. "description": "手机号码",
  25930. "type": "string"
  25931. },
  25932. "refereeuserid": {
  25933. "description": "推荐人id",
  25934. "type": "integer"
  25935. },
  25936. "refernum": {
  25937. "description": "推荐码",
  25938. "type": "string"
  25939. },
  25940. "subList": {
  25941. "type": "array",
  25942. "items": {
  25943. "$ref": "#/definitions/models.QhjMyTeamEx"
  25944. }
  25945. },
  25946. "userid": {
  25947. "description": "用户id",
  25948. "type": "integer"
  25949. },
  25950. "userinfotype": {
  25951. "description": "用户类型 1-个人 2-企业",
  25952. "type": "integer"
  25953. }
  25954. }
  25955. },
  25956. "models.QhjNodeAgreementConfig": {
  25957. "type": "object",
  25958. "properties": {
  25959. "agreementcontent": {
  25960. "description": "协议内容",
  25961. "type": "string"
  25962. },
  25963. "agreementid": {
  25964. "description": "协议ID",
  25965. "type": "integer"
  25966. },
  25967. "agreementname": {
  25968. "description": "协议名称",
  25969. "type": "string"
  25970. },
  25971. "agreementno": {
  25972. "description": "协议编号",
  25973. "type": "string"
  25974. },
  25975. "agreementtype": {
  25976. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25977. "type": "integer"
  25978. },
  25979. "agreementversion": {
  25980. "description": "协议版本号",
  25981. "type": "integer"
  25982. },
  25983. "configid": {
  25984. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  25985. "type": "integer"
  25986. },
  25987. "createtime": {
  25988. "description": "创建时间",
  25989. "type": "string"
  25990. },
  25991. "goodsid": {
  25992. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25993. "type": "integer"
  25994. },
  25995. "nodetype": {
  25996. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25997. "type": "integer"
  25998. }
  25999. }
  26000. },
  26001. "models.QhjParentAreaList": {
  26002. "type": "object",
  26003. "properties": {
  26004. "accountname": {
  26005. "description": "账户名称(机构名称)",
  26006. "type": "string"
  26007. },
  26008. "userid": {
  26009. "description": "用户ID",
  26010. "type": "integer"
  26011. },
  26012. "usertype": {
  26013. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26014. "type": "integer"
  26015. }
  26016. }
  26017. },
  26018. "models.QhjPayOrder": {
  26019. "type": "object",
  26020. "properties": {
  26021. "advanceratio": {
  26022. "description": "首付比率",
  26023. "type": "number"
  26024. },
  26025. "buyaccountid": {
  26026. "description": "买方账号ID[报价币种]",
  26027. "type": "integer"
  26028. },
  26029. "buyorderid": {
  26030. "description": "买方委托单号",
  26031. "type": "string"
  26032. },
  26033. "createtime": {
  26034. "description": "创建时间",
  26035. "type": "string"
  26036. },
  26037. "decimalplace": {
  26038. "description": "商品报价小数位",
  26039. "type": "integer"
  26040. },
  26041. "enumdicname": {
  26042. "description": "单位名称",
  26043. "type": "string"
  26044. },
  26045. "goodscode": {
  26046. "description": "商品代码",
  26047. "type": "string"
  26048. },
  26049. "goodsid": {
  26050. "description": "商品ID",
  26051. "type": "integer"
  26052. },
  26053. "goodsname": {
  26054. "description": "商品名称",
  26055. "type": "string"
  26056. },
  26057. "goodunitid": {
  26058. "description": "商品单位id",
  26059. "type": "integer"
  26060. },
  26061. "marketid": {
  26062. "description": "市场ID",
  26063. "type": "integer"
  26064. },
  26065. "offamount": {
  26066. "description": "优惠金额",
  26067. "type": "number"
  26068. },
  26069. "operatetype": {
  26070. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26071. "type": "integer"
  26072. },
  26073. "payamount": {
  26074. "description": "支付金额",
  26075. "type": "number"
  26076. },
  26077. "payflag": {
  26078. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26079. "type": "integer"
  26080. },
  26081. "paylimitedtime": {
  26082. "description": "支付期限",
  26083. "type": "string"
  26084. },
  26085. "paytime": {
  26086. "description": "付款时间",
  26087. "type": "string"
  26088. },
  26089. "qtydecimalplace": {
  26090. "description": "成交量小数位",
  26091. "type": "integer"
  26092. },
  26093. "sellaccountid": {
  26094. "description": "卖方账号ID[报价币种]",
  26095. "type": "integer"
  26096. },
  26097. "sellorderid": {
  26098. "description": "卖方委托单号",
  26099. "type": "string"
  26100. },
  26101. "tradeamount": {
  26102. "description": "成交金额(优惠后金额)",
  26103. "type": "number"
  26104. },
  26105. "tradecharge": {
  26106. "description": "成交手续费(买方)",
  26107. "type": "number"
  26108. },
  26109. "tradedate": {
  26110. "description": "交易日(yyyyMMdd)",
  26111. "type": "string"
  26112. },
  26113. "tradeid": {
  26114. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26115. "type": "string"
  26116. },
  26117. "tradeprice": {
  26118. "description": "成交价格",
  26119. "type": "number"
  26120. },
  26121. "tradeqty": {
  26122. "description": "成交数量",
  26123. "type": "number"
  26124. }
  26125. }
  26126. },
  26127. "models.QhjPickArea": {
  26128. "type": "object",
  26129. "properties": {
  26130. "address": {
  26131. "description": "详细地址",
  26132. "type": "string"
  26133. },
  26134. "cityid": {
  26135. "description": "市",
  26136. "type": "integer"
  26137. },
  26138. "cityname": {
  26139. "description": "城市名称",
  26140. "type": "string"
  26141. },
  26142. "countryid": {
  26143. "description": "国家",
  26144. "type": "integer"
  26145. },
  26146. "countryname": {
  26147. "description": "国家名称",
  26148. "type": "string"
  26149. },
  26150. "districtid": {
  26151. "description": "地区",
  26152. "type": "integer"
  26153. },
  26154. "districtname": {
  26155. "description": "地区名称",
  26156. "type": "string"
  26157. },
  26158. "fromuserid": {
  26159. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26160. "type": "integer"
  26161. },
  26162. "fromusername": {
  26163. "description": "所属机构名称",
  26164. "type": "string"
  26165. },
  26166. "provinceid": {
  26167. "description": "省",
  26168. "type": "integer"
  26169. },
  26170. "provincename": {
  26171. "description": "省名称",
  26172. "type": "string"
  26173. },
  26174. "suborgtype": {
  26175. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26176. "type": "integer"
  26177. },
  26178. "userid": {
  26179. "description": "机构用户ID 其他做市关系,都设置为 1",
  26180. "type": "integer"
  26181. },
  26182. "username": {
  26183. "description": "机构用户名称(门店门称)",
  26184. "type": "string"
  26185. }
  26186. }
  26187. },
  26188. "models.QhjPickGoods": {
  26189. "type": "object",
  26190. "properties": {
  26191. "enumdicname": {
  26192. "description": "单位名称(提货商品)",
  26193. "type": "string"
  26194. },
  26195. "goodsid": {
  26196. "description": "商品id",
  26197. "type": "integer"
  26198. },
  26199. "imageaddress": {
  26200. "description": "图片",
  26201. "type": "string"
  26202. },
  26203. "modifierid": {
  26204. "description": "修改人",
  26205. "type": "integer"
  26206. },
  26207. "modifiername": {
  26208. "description": "修改人名称",
  26209. "type": "string"
  26210. },
  26211. "modifysrc": {
  26212. "description": "修改来源 - 1:管理端 2:终端",
  26213. "type": "integer"
  26214. },
  26215. "pickupgoodsagreeunit": {
  26216. "description": "合约乘数",
  26217. "type": "number"
  26218. },
  26219. "pickupgoodsdesc": {
  26220. "description": "描述",
  26221. "type": "string"
  26222. },
  26223. "pickupgoodsid": {
  26224. "description": "提货商品ID",
  26225. "type": "string"
  26226. },
  26227. "pickupgoodsname": {
  26228. "description": "提货商品名称",
  26229. "type": "string"
  26230. },
  26231. "pickupgoodsstatus": {
  26232. "description": "状态 - 1:正常 2:停用 3:注销",
  26233. "type": "integer"
  26234. },
  26235. "pickupgoodsunitid": {
  26236. "description": "单位ID",
  26237. "type": "integer"
  26238. },
  26239. "pickupratio": {
  26240. "description": "提货系数",
  26241. "type": "number"
  26242. },
  26243. "preparedays": {
  26244. "description": "备货期(天)",
  26245. "type": "integer"
  26246. },
  26247. "remark": {
  26248. "description": "备注",
  26249. "type": "string"
  26250. },
  26251. "updatetime": {
  26252. "description": "更新时间",
  26253. "type": "string"
  26254. }
  26255. }
  26256. },
  26257. "models.QhjRSTriggerLog": {
  26258. "type": "object",
  26259. "properties": {
  26260. "accountid": {
  26261. "description": "用户资金账户",
  26262. "type": "integer"
  26263. },
  26264. "accountname": {
  26265. "description": "账号名称(ACCOUNTID对应的名称)",
  26266. "type": "string"
  26267. },
  26268. "currencyid": {
  26269. "description": "币种id",
  26270. "type": "integer"
  26271. },
  26272. "currencyname": {
  26273. "description": "币种名称",
  26274. "type": "string"
  26275. },
  26276. "decimalplace": {
  26277. "description": "商品报价小数位",
  26278. "type": "integer"
  26279. },
  26280. "enumdicname": {
  26281. "description": "单位名称",
  26282. "type": "string"
  26283. },
  26284. "goodscode": {
  26285. "description": "定投商品代码",
  26286. "type": "string"
  26287. },
  26288. "goodsid": {
  26289. "description": "定投商品ID",
  26290. "type": "integer"
  26291. },
  26292. "goodsname": {
  26293. "description": "定投商品名称",
  26294. "type": "string"
  26295. },
  26296. "goodunitid": {
  26297. "description": "定投商品单位id",
  26298. "type": "integer"
  26299. },
  26300. "logid": {
  26301. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26302. "type": "string"
  26303. },
  26304. "logincode": {
  26305. "description": "账号(登录代码)",
  26306. "type": "string"
  26307. },
  26308. "qtydecimalplace": {
  26309. "description": "成交量小数位",
  26310. "type": "integer"
  26311. },
  26312. "regularlycycle": {
  26313. "description": "定投频率 - 1:每周 2:每月",
  26314. "type": "integer"
  26315. },
  26316. "regularlycyclevalue": {
  26317. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26318. "type": "string"
  26319. },
  26320. "regularlymode": {
  26321. "description": "定投方式 - 1:按数量 2:按金额",
  26322. "type": "integer"
  26323. },
  26324. "regularlymodevalue": {
  26325. "description": "定投方式值 - 数量或金额",
  26326. "type": "number"
  26327. },
  26328. "regularlystrategyid": {
  26329. "description": "定投策略ID",
  26330. "type": "integer"
  26331. },
  26332. "retcode": {
  26333. "description": "错误码",
  26334. "type": "string"
  26335. },
  26336. "tradeid": {
  26337. "description": "成交单ID",
  26338. "type": "string"
  26339. },
  26340. "triggeramount": {
  26341. "description": "触发金额",
  26342. "type": "number"
  26343. },
  26344. "triggerqty": {
  26345. "description": "触发数量",
  26346. "type": "number"
  26347. },
  26348. "triggerstatus": {
  26349. "description": "触发状态 - 1:成功 2:失败",
  26350. "type": "integer"
  26351. },
  26352. "triggertime": {
  26353. "description": "触发时间",
  26354. "type": "string"
  26355. },
  26356. "triggertradedate": {
  26357. "description": "触发交易日",
  26358. "type": "string"
  26359. },
  26360. "userid": {
  26361. "description": "所属用户ID",
  26362. "type": "integer"
  26363. },
  26364. "userinfotype": {
  26365. "description": "用户类型 1-个人 2-企业",
  26366. "type": "integer"
  26367. },
  26368. "username": {
  26369. "description": "用户名称(userid对应的名称)",
  26370. "type": "string"
  26371. }
  26372. }
  26373. },
  26374. "models.QhjRStrategy": {
  26375. "type": "object",
  26376. "properties": {
  26377. "accountid": {
  26378. "description": "用户资金账户",
  26379. "type": "integer"
  26380. },
  26381. "accountname": {
  26382. "description": "账号名称(ACCOUNTID对应的名称)",
  26383. "type": "string"
  26384. },
  26385. "currencyid": {
  26386. "description": "币种id",
  26387. "type": "integer"
  26388. },
  26389. "currencyname": {
  26390. "description": "币种名称",
  26391. "type": "string"
  26392. },
  26393. "decimalplace": {
  26394. "description": "商品报价小数位",
  26395. "type": "integer"
  26396. },
  26397. "enumdicname": {
  26398. "description": "单位名称",
  26399. "type": "string"
  26400. },
  26401. "goodscode": {
  26402. "description": "定投商品代码",
  26403. "type": "string"
  26404. },
  26405. "goodsid": {
  26406. "description": "定投商品ID",
  26407. "type": "integer"
  26408. },
  26409. "goodsname": {
  26410. "description": "定投商品名称",
  26411. "type": "string"
  26412. },
  26413. "goodunitid": {
  26414. "description": "定投商品单位id",
  26415. "type": "integer"
  26416. },
  26417. "lasteffecttradedate": {
  26418. "description": "最新生效交易日",
  26419. "type": "string"
  26420. },
  26421. "laststoptradedate": {
  26422. "description": "最新暂停交易日",
  26423. "type": "string"
  26424. },
  26425. "lasttriggertradedate": {
  26426. "description": "最新触发交易日",
  26427. "type": "string"
  26428. },
  26429. "logincode": {
  26430. "description": "账号(登录代码)",
  26431. "type": "string"
  26432. },
  26433. "nexttriggeramount": {
  26434. "description": "下次触发金额",
  26435. "type": "number"
  26436. },
  26437. "nexttriggerdate": {
  26438. "description": "下次触发日期",
  26439. "type": "string"
  26440. },
  26441. "nexttriggerqty": {
  26442. "description": "下次触发数量 [按小数位放大值]",
  26443. "type": "number"
  26444. },
  26445. "qtydecimalplace": {
  26446. "description": "成交量小数位",
  26447. "type": "integer"
  26448. },
  26449. "regularlycycle": {
  26450. "description": "定投频率 - 1:每周 2:每月",
  26451. "type": "integer"
  26452. },
  26453. "regularlycyclevalue": {
  26454. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26455. "type": "string"
  26456. },
  26457. "regularlymode": {
  26458. "description": "定投方式 - 1:按数量 2:按金额",
  26459. "type": "integer"
  26460. },
  26461. "regularlymodevalue": {
  26462. "description": "定投方式值 - 数量或金额",
  26463. "type": "number"
  26464. },
  26465. "regularlystrategyid": {
  26466. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  26467. "type": "integer"
  26468. },
  26469. "regularlystrategystatus": {
  26470. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  26471. "type": "integer"
  26472. },
  26473. "remark": {
  26474. "description": "备注",
  26475. "type": "string"
  26476. },
  26477. "triggersuccesstimes": {
  26478. "description": "累计定投成功次数",
  26479. "type": "string"
  26480. },
  26481. "triggertotalamount": {
  26482. "description": "累计定投金额(成功)",
  26483. "type": "number"
  26484. },
  26485. "triggertotalqty": {
  26486. "description": "累计定投数量(成功) [按小数位放大值]",
  26487. "type": "number"
  26488. },
  26489. "triggertotaltimes": {
  26490. "description": "累计定投总次数",
  26491. "type": "string"
  26492. },
  26493. "updatesrc": {
  26494. "description": "更新来源 - 1:管理端 2:终端",
  26495. "type": "integer"
  26496. },
  26497. "updatetime": {
  26498. "description": "更新时间",
  26499. "type": "string"
  26500. },
  26501. "updatorid": {
  26502. "description": "更新人",
  26503. "type": "string"
  26504. },
  26505. "userid": {
  26506. "description": "所属用户ID",
  26507. "type": "integer"
  26508. },
  26509. "userinfotype": {
  26510. "description": "用户类型 1-个人 2-企业",
  26511. "type": "integer"
  26512. },
  26513. "username": {
  26514. "description": "用户名称(userid对应的名称)",
  26515. "type": "string"
  26516. }
  26517. }
  26518. },
  26519. "models.QhjReckonPriceLog": {
  26520. "type": "object",
  26521. "properties": {
  26522. "decimalplace": {
  26523. "description": "商品报价小数位",
  26524. "type": "integer"
  26525. },
  26526. "goodscode": {
  26527. "description": "商品代码",
  26528. "type": "string"
  26529. },
  26530. "goodsid": {
  26531. "description": "商品ID",
  26532. "type": "integer"
  26533. },
  26534. "goodsname": {
  26535. "description": "商品名称",
  26536. "type": "string"
  26537. },
  26538. "lastreckonprice": {
  26539. "description": "上日结算价",
  26540. "type": "number"
  26541. },
  26542. "nextdnlimitprice": {
  26543. "description": "下个交易日跌停价",
  26544. "type": "number"
  26545. },
  26546. "nexttrade": {
  26547. "description": "下个交易日",
  26548. "type": "string"
  26549. },
  26550. "nextuplimitprice": {
  26551. "description": "下个交易日涨停价",
  26552. "type": "number"
  26553. },
  26554. "reckonprice": {
  26555. "description": "今日结算价(定投价)",
  26556. "type": "number"
  26557. },
  26558. "reckontime": {
  26559. "description": "结算时间",
  26560. "type": "string"
  26561. },
  26562. "totalholderqty": {
  26563. "description": "总持仓数",
  26564. "type": "integer"
  26565. },
  26566. "totalstock": {
  26567. "description": "总库存",
  26568. "type": "integer"
  26569. },
  26570. "tradedate": {
  26571. "description": "交易日",
  26572. "type": "string"
  26573. },
  26574. "updowncount": {
  26575. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  26576. "type": "integer"
  26577. },
  26578. "updownflag": {
  26579. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  26580. "type": "integer"
  26581. },
  26582. "updownrate": {
  26583. "description": "今日涨跌幅",
  26584. "type": "number"
  26585. },
  26586. "updownrate_2d": {
  26587. "description": "连续两日涨跌幅",
  26588. "type": "number"
  26589. },
  26590. "updownrate_3d": {
  26591. "description": "连续三日涨跌幅",
  26592. "type": "number"
  26593. }
  26594. }
  26595. },
  26596. "models.QhjScoreLog": {
  26597. "type": "object",
  26598. "properties": {
  26599. "accountid": {
  26600. "description": "账户ID",
  26601. "type": "integer"
  26602. },
  26603. "createtime": {
  26604. "description": "创建时间(时间)",
  26605. "type": "string"
  26606. },
  26607. "goodsid": {
  26608. "description": "商品ID",
  26609. "type": "integer"
  26610. },
  26611. "hasuploaded": {
  26612. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  26613. "type": "integer"
  26614. },
  26615. "logid": {
  26616. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26617. "type": "string"
  26618. },
  26619. "marketid": {
  26620. "description": "市场ID",
  26621. "type": "integer"
  26622. },
  26623. "relatedamount": {
  26624. "description": "关联金额",
  26625. "type": "number"
  26626. },
  26627. "relatedorderid": {
  26628. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  26629. "type": "string"
  26630. },
  26631. "scoreconfigvalue1": {
  26632. "description": "积分配置1",
  26633. "type": "integer"
  26634. },
  26635. "scoreconfigvalue2": {
  26636. "description": "积分配置1",
  26637. "type": "integer"
  26638. },
  26639. "scoretype": {
  26640. "description": "积分类型 - 1:提货积分",
  26641. "type": "integer"
  26642. },
  26643. "scorevalue": {
  26644. "description": "积分",
  26645. "type": "number"
  26646. },
  26647. "tradedate": {
  26648. "description": "交易日(yyyyMMdd)",
  26649. "type": "string"
  26650. },
  26651. "uploadedtime": {
  26652. "description": "同步时间",
  26653. "type": "string"
  26654. },
  26655. "userid": {
  26656. "description": "用户ID",
  26657. "type": "integer"
  26658. }
  26659. }
  26660. },
  26661. "models.QhjSiteColumnDetail": {
  26662. "type": "object",
  26663. "properties": {
  26664. "author": {
  26665. "description": "作者",
  26666. "type": "string"
  26667. },
  26668. "brief": {
  26669. "description": "简介",
  26670. "type": "string"
  26671. },
  26672. "columnid": {
  26673. "description": "所属栏目",
  26674. "type": "integer"
  26675. },
  26676. "context": {
  26677. "description": "内容",
  26678. "type": "string"
  26679. },
  26680. "coverimage": {
  26681. "description": "封面图片",
  26682. "type": "string"
  26683. },
  26684. "creaedate": {
  26685. "description": "创建时间",
  26686. "type": "string"
  26687. },
  26688. "creatorid": {
  26689. "description": "创建人",
  26690. "type": "integer"
  26691. },
  26692. "hits": {
  26693. "description": "点击数",
  26694. "type": "integer"
  26695. },
  26696. "id": {
  26697. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  26698. "type": "integer"
  26699. },
  26700. "isshow": {
  26701. "description": "是否展示 - 0:不展示 1:展示",
  26702. "type": "integer"
  26703. },
  26704. "istop": {
  26705. "description": "是否置顶 - 0:不置 1:置顶",
  26706. "type": "integer"
  26707. },
  26708. "modifierid": {
  26709. "description": "操作人",
  26710. "type": "integer"
  26711. },
  26712. "publishdate": {
  26713. "description": "发布日期",
  26714. "type": "string"
  26715. },
  26716. "status": {
  26717. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  26718. "type": "integer"
  26719. },
  26720. "title": {
  26721. "description": "标题",
  26722. "type": "string"
  26723. },
  26724. "updatedate": {
  26725. "description": "修改时间",
  26726. "type": "string"
  26727. },
  26728. "userid": {
  26729. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  26730. "type": "integer"
  26731. },
  26732. "username": {
  26733. "description": "用户名称",
  26734. "type": "string"
  26735. }
  26736. }
  26737. },
  26738. "models.QhjTeamOrder": {
  26739. "type": "object",
  26740. "properties": {
  26741. "accountid": {
  26742. "description": "账户ID[报价币种]",
  26743. "type": "integer"
  26744. },
  26745. "accountname": {
  26746. "description": "账户名称",
  26747. "type": "string"
  26748. },
  26749. "agreeunit": {
  26750. "description": "合约乘数",
  26751. "type": "number"
  26752. },
  26753. "buyorsell": {
  26754. "description": "方向 - 0:买 1:卖",
  26755. "type": "integer"
  26756. },
  26757. "decimalplace": {
  26758. "description": "报价小数位",
  26759. "type": "integer"
  26760. },
  26761. "enumdicname": {
  26762. "description": "单位名称",
  26763. "type": "string"
  26764. },
  26765. "goodscode": {
  26766. "description": "商品代码(内部)",
  26767. "type": "string"
  26768. },
  26769. "goodsid": {
  26770. "description": "商品ID",
  26771. "type": "integer"
  26772. },
  26773. "goodsname": {
  26774. "description": "商品名称",
  26775. "type": "string"
  26776. },
  26777. "goodunitid": {
  26778. "description": "报价单位ID",
  26779. "type": "integer"
  26780. },
  26781. "marketid": {
  26782. "description": "市场ID",
  26783. "type": "integer"
  26784. },
  26785. "marketname": {
  26786. "description": "市场名称",
  26787. "type": "string"
  26788. },
  26789. "qtydecimalplace": {
  26790. "description": "成交量小数位",
  26791. "type": "integer"
  26792. },
  26793. "refereeuserid": {
  26794. "description": "推荐人ID",
  26795. "type": "integer"
  26796. },
  26797. "tradeamount": {
  26798. "description": "成交金额[账户币种,用于所有权]",
  26799. "type": "number"
  26800. },
  26801. "tradedate": {
  26802. "description": "交易日(yyyyMMdd)",
  26803. "type": "string"
  26804. },
  26805. "trademode": {
  26806. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  26807. "type": "integer"
  26808. },
  26809. "tradeprice": {
  26810. "description": "成交价格",
  26811. "type": "number"
  26812. },
  26813. "tradeqty": {
  26814. "description": "成交数量",
  26815. "type": "number"
  26816. },
  26817. "tradetime": {
  26818. "description": "成交时间",
  26819. "type": "string"
  26820. },
  26821. "userid": {
  26822. "description": "用户ID",
  26823. "type": "integer"
  26824. }
  26825. }
  26826. },
  26827. "models.QhjTradeGoodsPickup": {
  26828. "type": "object",
  26829. "properties": {
  26830. "accountid": {
  26831. "description": "账户ID",
  26832. "type": "integer"
  26833. },
  26834. "address": {
  26835. "description": "提货人详细地址",
  26836. "type": "string"
  26837. },
  26838. "amount": {
  26839. "description": "提货金额",
  26840. "type": "number"
  26841. },
  26842. "artradedate": {
  26843. "description": "自动收货交易日(yyyyMMdd)",
  26844. "type": "string"
  26845. },
  26846. "auditer": {
  26847. "description": "审核人",
  26848. "type": "integer"
  26849. },
  26850. "auditsrc": {
  26851. "description": "更新来源 - 1:管理端 2:终端",
  26852. "type": "integer"
  26853. },
  26854. "audittime": {
  26855. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  26856. "type": "string"
  26857. },
  26858. "audittradedate": {
  26859. "description": "审核交易日(yyyyMMdd)",
  26860. "type": "string"
  26861. },
  26862. "cardnum": {
  26863. "description": "提货人证件号码",
  26864. "type": "string"
  26865. },
  26866. "cardtypeid": {
  26867. "description": "提货人证件类型",
  26868. "type": "integer"
  26869. },
  26870. "checkremark": {
  26871. "description": "审核备注",
  26872. "type": "string"
  26873. },
  26874. "cityid": {
  26875. "description": "市",
  26876. "type": "integer"
  26877. },
  26878. "cityname": {
  26879. "description": "城市名称",
  26880. "type": "string"
  26881. },
  26882. "confirmtime": {
  26883. "description": "取货时间 或 收货时间",
  26884. "type": "string"
  26885. },
  26886. "countryid": {
  26887. "description": "国家",
  26888. "type": "integer"
  26889. },
  26890. "countryname": {
  26891. "description": "国家名称",
  26892. "type": "string"
  26893. },
  26894. "decimalplace": {
  26895. "description": "商品报价小数位",
  26896. "type": "integer"
  26897. },
  26898. "districtid": {
  26899. "description": "地区",
  26900. "type": "integer"
  26901. },
  26902. "districtname": {
  26903. "description": "地区名称",
  26904. "type": "string"
  26905. },
  26906. "enumdicname": {
  26907. "description": "单位名称(提货商品)",
  26908. "type": "string"
  26909. },
  26910. "expresscompany": {
  26911. "description": "物流公司",
  26912. "type": "string"
  26913. },
  26914. "expressnum": {
  26915. "description": "物流单号",
  26916. "type": "string"
  26917. },
  26918. "goodsagreeunit": {
  26919. "description": "交易商品乘数",
  26920. "type": "number"
  26921. },
  26922. "goodscode": {
  26923. "description": "商品代码",
  26924. "type": "string"
  26925. },
  26926. "goodsid": {
  26927. "description": "商品ID",
  26928. "type": "integer"
  26929. },
  26930. "goodsname": {
  26931. "description": "商品名称",
  26932. "type": "string"
  26933. },
  26934. "goodsqty": {
  26935. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  26936. "type": "number"
  26937. },
  26938. "handlestatus": {
  26939. "description": "处理状态",
  26940. "type": "integer"
  26941. },
  26942. "logincode": {
  26943. "description": "账号(登录代码, 有可能为空)",
  26944. "type": "string"
  26945. },
  26946. "marketid": {
  26947. "description": "市场ID",
  26948. "type": "integer"
  26949. },
  26950. "phonenum": {
  26951. "description": "提货人联系方式",
  26952. "type": "string"
  26953. },
  26954. "pickupgoodsagreeunit": {
  26955. "description": "提货商品合约乘数",
  26956. "type": "number"
  26957. },
  26958. "pickupgoodsid": {
  26959. "description": "提货商品ID",
  26960. "type": "string"
  26961. },
  26962. "pickupgoodsname": {
  26963. "description": "提货商品名称",
  26964. "type": "string"
  26965. },
  26966. "pickupgoodsqty": {
  26967. "description": "提货商品手数(数量)",
  26968. "type": "number"
  26969. },
  26970. "pickupgoodsunitid": {
  26971. "description": "单位ID(提货商品)",
  26972. "type": "integer"
  26973. },
  26974. "pickupratio": {
  26975. "description": "提货系数",
  26976. "type": "number"
  26977. },
  26978. "preparedays": {
  26979. "description": "备货期(天)-提货单明细表",
  26980. "type": "integer"
  26981. },
  26982. "provinceid": {
  26983. "description": "省",
  26984. "type": "integer"
  26985. },
  26986. "provincename": {
  26987. "description": "省名称",
  26988. "type": "string"
  26989. },
  26990. "qty": {
  26991. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  26992. "type": "number"
  26993. },
  26994. "qtydecimalplace": {
  26995. "description": "商品数量小数位",
  26996. "type": "integer"
  26997. },
  26998. "recivername": {
  26999. "description": "提货人姓名",
  27000. "type": "string"
  27001. },
  27002. "reqtime": {
  27003. "description": "提货申请时间",
  27004. "type": "string"
  27005. },
  27006. "storeuserid": {
  27007. "description": "门店用户ID (千海金)",
  27008. "type": "integer"
  27009. },
  27010. "storeusername": {
  27011. "description": "门店用户名称",
  27012. "type": "string"
  27013. },
  27014. "takemode": {
  27015. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27016. "type": "integer"
  27017. },
  27018. "takeorderid": {
  27019. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27020. "type": "string"
  27021. },
  27022. "takeorderstatus": {
  27023. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27024. "type": "integer"
  27025. },
  27026. "takeremark": {
  27027. "description": "提货备注",
  27028. "type": "string"
  27029. },
  27030. "tradedate": {
  27031. "description": "交易日(yyyyMMdd)",
  27032. "type": "string"
  27033. },
  27034. "updatetime": {
  27035. "description": "更新时间",
  27036. "type": "string"
  27037. },
  27038. "userid": {
  27039. "description": "用户ID",
  27040. "type": "integer"
  27041. },
  27042. "userinfotype": {
  27043. "description": "客户类型 1-个人 2-企业",
  27044. "type": "integer"
  27045. },
  27046. "username": {
  27047. "description": "用户名称",
  27048. "type": "string"
  27049. }
  27050. }
  27051. },
  27052. "models.QhjUserNodeCfgAndStatus": {
  27053. "type": "object",
  27054. "properties": {
  27055. "agreementcontent": {
  27056. "description": "协议内容",
  27057. "type": "string"
  27058. },
  27059. "agreementid": {
  27060. "description": "协议ID",
  27061. "type": "integer"
  27062. },
  27063. "agreementname": {
  27064. "description": "协议名称",
  27065. "type": "string"
  27066. },
  27067. "agreementno": {
  27068. "description": "协议编号",
  27069. "type": "string"
  27070. },
  27071. "agreementtype": {
  27072. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27073. "type": "integer"
  27074. },
  27075. "agreementversion": {
  27076. "description": "协议版本号",
  27077. "type": "integer"
  27078. },
  27079. "configid": {
  27080. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27081. "type": "integer"
  27082. },
  27083. "createtime": {
  27084. "description": "创建时间",
  27085. "type": "string"
  27086. },
  27087. "goodsid": {
  27088. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27089. "type": "integer"
  27090. },
  27091. "nodetype": {
  27092. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27093. "type": "integer"
  27094. },
  27095. "signtimestamp": {
  27096. "description": "签约状态时间戳(最近一次)",
  27097. "type": "string"
  27098. },
  27099. "tradedate": {
  27100. "description": "签约交易日(yyyyMMdd)",
  27101. "type": "string"
  27102. },
  27103. "userid": {
  27104. "description": "客户ID",
  27105. "type": "integer"
  27106. }
  27107. }
  27108. },
  27109. "models.Qhjgoodsex": {
  27110. "type": "object",
  27111. "properties": {
  27112. "canfinance": {
  27113. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27114. "type": "integer"
  27115. },
  27116. "canregularlybuy": {
  27117. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27118. "type": "integer"
  27119. },
  27120. "defaulttradeuserid": {
  27121. "description": "默认交易用户ID",
  27122. "type": "integer"
  27123. },
  27124. "deliverygoodsid": {
  27125. "description": "现货品种ID",
  27126. "type": "integer"
  27127. },
  27128. "goodsid": {
  27129. "description": "商品ID(自增ID SEQ_GOODS)",
  27130. "type": "integer"
  27131. },
  27132. "minamount": {
  27133. "description": "最小购买金额",
  27134. "type": "number"
  27135. },
  27136. "regularlybuyminamount": {
  27137. "description": "定投最小金额",
  27138. "type": "number"
  27139. },
  27140. "regularlybuyminqty": {
  27141. "description": "定投最小数量",
  27142. "type": "number"
  27143. },
  27144. "spotgoodsbrandid": {
  27145. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27146. "type": "integer"
  27147. },
  27148. "visibilityforenterprise": {
  27149. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27150. "type": "integer"
  27151. },
  27152. "visibilityforpersonal": {
  27153. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27154. "type": "integer"
  27155. },
  27156. "wrstandardid": {
  27157. "description": "现货商品ID",
  27158. "type": "integer"
  27159. }
  27160. }
  27161. },
  27162. "models.QueryErrorInfosRsp": {
  27163. "type": "object",
  27164. "required": [
  27165. "errorid"
  27166. ],
  27167. "properties": {
  27168. "description": {
  27169. "description": "异常描述",
  27170. "type": "string"
  27171. },
  27172. "errorcode": {
  27173. "description": "异常代码",
  27174. "type": "string"
  27175. },
  27176. "errorid": {
  27177. "description": "异常ID",
  27178. "type": "integer"
  27179. },
  27180. "modulecode": {
  27181. "description": "所属模块",
  27182. "type": "string"
  27183. },
  27184. "operatecode": {
  27185. "description": "所属操作",
  27186. "type": "string"
  27187. },
  27188. "rownumber": {
  27189. "description": "行号",
  27190. "type": "string"
  27191. }
  27192. }
  27193. },
  27194. "models.QueryHedgeOrderDetailRsp": {
  27195. "type": "object",
  27196. "properties": {
  27197. "accountid": {
  27198. "description": "账户ID",
  27199. "type": "integer"
  27200. },
  27201. "buyorsell": {
  27202. "description": "买卖 - 0:买 1:卖",
  27203. "type": "integer"
  27204. },
  27205. "cancellogincode": {
  27206. "description": "撤单人",
  27207. "type": "string"
  27208. },
  27209. "channelbuildtype": {
  27210. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  27211. "type": "integer"
  27212. },
  27213. "channelinnerorderstatus": {
  27214. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  27215. "type": "integer"
  27216. },
  27217. "channeloperatetype": {
  27218. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  27219. "type": "integer"
  27220. },
  27221. "closetype": {
  27222. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27223. "type": "integer"
  27224. },
  27225. "curexchangerate": {
  27226. "description": "当前汇率",
  27227. "type": "number"
  27228. },
  27229. "exchangefullname": {
  27230. "description": "外部交易所全称",
  27231. "type": "string"
  27232. },
  27233. "goodscode": {
  27234. "description": "商品代码(内部)",
  27235. "type": "string"
  27236. },
  27237. "goodsid": {
  27238. "description": "商品ID",
  27239. "type": "integer"
  27240. },
  27241. "goodsname": {
  27242. "description": "商品名称",
  27243. "type": "string"
  27244. },
  27245. "marketid": {
  27246. "description": "市场ID",
  27247. "type": "integer"
  27248. },
  27249. "openfreezemargin": {
  27250. "description": "冻结保证金(冻结交易金额)",
  27251. "type": "number"
  27252. },
  27253. "orderid": {
  27254. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27255. "type": "string"
  27256. },
  27257. "orderlogincode": {
  27258. "description": "委托人",
  27259. "type": "string"
  27260. },
  27261. "orderprice": {
  27262. "description": "委托价格(账户)",
  27263. "type": "number"
  27264. },
  27265. "orderqty": {
  27266. "description": "委托数量",
  27267. "type": "integer"
  27268. },
  27269. "ordertime": {
  27270. "description": "委托时间",
  27271. "type": "string"
  27272. },
  27273. "pricemode": {
  27274. "description": "取价方式 - 1:市价 2: 限价",
  27275. "type": "integer"
  27276. },
  27277. "tradedate": {
  27278. "description": "交易日(yyyyMMdd)",
  27279. "type": "string"
  27280. },
  27281. "tradeqty": {
  27282. "description": "成交数量",
  27283. "type": "integer"
  27284. }
  27285. }
  27286. },
  27287. "models.QueryHedgeTradeDetailRsp": {
  27288. "type": "object",
  27289. "properties": {
  27290. "accountid": {
  27291. "description": "账号ID",
  27292. "type": "integer"
  27293. },
  27294. "buyorsell": {
  27295. "description": "方向 - 0:买 1:卖",
  27296. "type": "integer"
  27297. },
  27298. "channelbuildtype": {
  27299. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27300. "type": "integer"
  27301. },
  27302. "closecharge": {
  27303. "description": "平仓手续费(账户)",
  27304. "type": "number"
  27305. },
  27306. "closecharge2": {
  27307. "description": "平仓手续费(商品)",
  27308. "type": "number"
  27309. },
  27310. "closepl": {
  27311. "description": "平仓盈亏(账户)",
  27312. "type": "number"
  27313. },
  27314. "closepl2": {
  27315. "description": "平仓盈亏(商品)",
  27316. "type": "number"
  27317. },
  27318. "closepl3": {
  27319. "description": "平仓盈亏(账户)(逐笔)",
  27320. "type": "number"
  27321. },
  27322. "closepl4": {
  27323. "description": "平仓盈亏(商品)(逐笔)",
  27324. "type": "number"
  27325. },
  27326. "closetype": {
  27327. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27328. "type": "integer"
  27329. },
  27330. "curexchangerate": {
  27331. "description": "当前汇率",
  27332. "type": "number"
  27333. },
  27334. "exchangefullname": {
  27335. "description": "外部交易所全称",
  27336. "type": "string"
  27337. },
  27338. "goodscode": {
  27339. "description": "商品代码(内部)",
  27340. "type": "string"
  27341. },
  27342. "goodsid": {
  27343. "description": "商品ID",
  27344. "type": "integer"
  27345. },
  27346. "goodsname": {
  27347. "description": "商品名称",
  27348. "type": "string"
  27349. },
  27350. "marketid": {
  27351. "description": "市场ID",
  27352. "type": "integer"
  27353. },
  27354. "opencharge": {
  27355. "description": "建仓手续费(账户)",
  27356. "type": "number"
  27357. },
  27358. "opencharge2": {
  27359. "description": "建仓手续费(商品)",
  27360. "type": "number"
  27361. },
  27362. "orderid": {
  27363. "description": "委托单号",
  27364. "type": "string"
  27365. },
  27366. "orderlogincode": {
  27367. "description": "委托人",
  27368. "type": "string"
  27369. },
  27370. "tradeamount": {
  27371. "description": "成交金额(账户)",
  27372. "type": "number"
  27373. },
  27374. "tradedate": {
  27375. "description": "交易日(yyyyMMdd)",
  27376. "type": "string"
  27377. },
  27378. "tradeid": {
  27379. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27380. "type": "string"
  27381. },
  27382. "tradeprice": {
  27383. "description": "成交价格",
  27384. "type": "number"
  27385. },
  27386. "tradeqty": {
  27387. "description": "成交数量",
  27388. "type": "integer"
  27389. },
  27390. "tradetime": {
  27391. "description": "成交时间",
  27392. "type": "string"
  27393. },
  27394. "tradetype": {
  27395. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  27396. "type": "integer"
  27397. }
  27398. }
  27399. },
  27400. "models.QuotePrimaryMenu": {
  27401. "type": "object",
  27402. "properties": {
  27403. "Index": {
  27404. "description": "序号",
  27405. "type": "integer"
  27406. },
  27407. "Key": {
  27408. "description": "键名",
  27409. "type": "string"
  27410. },
  27411. "Name": {
  27412. "description": "菜单名称",
  27413. "type": "string"
  27414. },
  27415. "SubMenus": {
  27416. "description": "子菜单",
  27417. "type": "array",
  27418. "items": {
  27419. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  27420. }
  27421. },
  27422. "SubTitleType": {
  27423. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  27424. "type": "integer"
  27425. },
  27426. "TradeModes": {
  27427. "description": "包含市场交易类型",
  27428. "type": "string"
  27429. }
  27430. }
  27431. },
  27432. "models.QuoteSecondaryMenu": {
  27433. "type": "object",
  27434. "properties": {
  27435. "ExExchangeCode": {
  27436. "description": "外部交易所代码",
  27437. "type": "string"
  27438. },
  27439. "ExExchangeID": {
  27440. "description": "外部交易所ID",
  27441. "type": "integer"
  27442. },
  27443. "GoodsGroupIDs": {
  27444. "description": "商品组ID列表",
  27445. "type": "array",
  27446. "items": {
  27447. "type": "integer"
  27448. }
  27449. },
  27450. "Index": {
  27451. "description": "序号",
  27452. "type": "integer"
  27453. },
  27454. "MarketID": {
  27455. "description": "市场ID",
  27456. "type": "integer"
  27457. },
  27458. "MenuTitle": {
  27459. "description": "菜单标题(市场名称或外部交易所名称)",
  27460. "type": "string"
  27461. },
  27462. "TradeMode": {
  27463. "description": "交易模式",
  27464. "type": "integer"
  27465. }
  27466. }
  27467. },
  27468. "models.RoleMenu": {
  27469. "type": "object",
  27470. "properties": {
  27471. "hasright": {
  27472. "description": "是否有权限 0-没有权限 1-有权限",
  27473. "type": "integer"
  27474. },
  27475. "iconame": {
  27476. "description": "菜单图标",
  27477. "type": "string"
  27478. },
  27479. "menutype": {
  27480. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  27481. "type": "integer"
  27482. },
  27483. "parentcode": {
  27484. "description": "上级资源代码",
  27485. "type": "string"
  27486. },
  27487. "remark": {
  27488. "description": "菜单备注",
  27489. "type": "string"
  27490. },
  27491. "resourcecode": {
  27492. "description": "菜单代码",
  27493. "type": "string"
  27494. },
  27495. "resourcelevel": {
  27496. "description": "级别",
  27497. "type": "integer"
  27498. },
  27499. "resourcename": {
  27500. "description": "菜单名称",
  27501. "type": "string"
  27502. },
  27503. "roleid": {
  27504. "description": "角色id",
  27505. "type": "integer"
  27506. },
  27507. "sort": {
  27508. "description": "排序",
  27509. "type": "integer"
  27510. },
  27511. "subMenu": {
  27512. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  27513. "type": "array",
  27514. "items": {
  27515. "$ref": "#/definitions/models.RoleMenu"
  27516. }
  27517. },
  27518. "url": {
  27519. "description": "URL",
  27520. "type": "string"
  27521. },
  27522. "userid": {
  27523. "description": "用户id",
  27524. "type": "integer"
  27525. }
  27526. }
  27527. },
  27528. "models.SearchGoods": {
  27529. "type": "object",
  27530. "required": [
  27531. "goodscode",
  27532. "goodsid",
  27533. "goodsname",
  27534. "marketid",
  27535. "trademode"
  27536. ],
  27537. "properties": {
  27538. "goodscode": {
  27539. "description": "商品代码(内部)",
  27540. "type": "string"
  27541. },
  27542. "goodsid": {
  27543. "description": "商品ID(自增ID SEQ_GOODS)",
  27544. "type": "integer"
  27545. },
  27546. "goodsname": {
  27547. "description": "商品名称",
  27548. "type": "string"
  27549. },
  27550. "marketid": {
  27551. "description": "所属市场ID",
  27552. "type": "integer"
  27553. },
  27554. "marketname": {
  27555. "description": "市场名称",
  27556. "type": "string"
  27557. },
  27558. "trademode": {
  27559. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27560. "type": "integer"
  27561. }
  27562. }
  27563. },
  27564. "models.Systemparam": {
  27565. "type": "object",
  27566. "required": [
  27567. "paramcode"
  27568. ],
  27569. "properties": {
  27570. "loginid": {
  27571. "description": "更新用户账号,登录账号",
  27572. "type": "string"
  27573. },
  27574. "modifyflag": {
  27575. "description": "修改标志0 不允许修改 1 允许修改",
  27576. "type": "integer"
  27577. },
  27578. "paramcode": {
  27579. "description": "参数代码",
  27580. "type": "string"
  27581. },
  27582. "paramname": {
  27583. "description": "参数名",
  27584. "type": "string"
  27585. },
  27586. "paramtype": {
  27587. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  27588. "type": "integer"
  27589. },
  27590. "paramvalue": {
  27591. "description": "参数值",
  27592. "type": "string"
  27593. },
  27594. "paramvalue2": {
  27595. "description": "参数值(CLOB)",
  27596. "type": "string"
  27597. },
  27598. "regexpress": {
  27599. "description": "正则表达式",
  27600. "type": "string"
  27601. },
  27602. "remark": {
  27603. "description": "备注",
  27604. "type": "string"
  27605. },
  27606. "serverip": {
  27607. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  27608. "type": "string"
  27609. },
  27610. "showflag": {
  27611. "description": "是否显示0 不显示 1 显示",
  27612. "type": "integer"
  27613. },
  27614. "updatetime": {
  27615. "description": "更新时间",
  27616. "type": "string"
  27617. },
  27618. "userid": {
  27619. "description": "更新用户ID",
  27620. "type": "integer"
  27621. }
  27622. }
  27623. },
  27624. "models.Szdz3convertconfig": {
  27625. "type": "object",
  27626. "required": [
  27627. "converttype",
  27628. "innergoodsid",
  27629. "outergoodscode"
  27630. ],
  27631. "properties": {
  27632. "canin": {
  27633. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  27634. "type": "integer"
  27635. },
  27636. "canout": {
  27637. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  27638. "type": "integer"
  27639. },
  27640. "converttype": {
  27641. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  27642. "type": "integer"
  27643. },
  27644. "createtime": {
  27645. "description": "创建时间",
  27646. "type": "string"
  27647. },
  27648. "creatorid": {
  27649. "description": "创建人",
  27650. "type": "integer"
  27651. },
  27652. "daymaxvalue": {
  27653. "description": "当日最大转入限制",
  27654. "type": "number"
  27655. },
  27656. "freezedays": {
  27657. "description": "冻结天数 [5:花生米转交易]",
  27658. "type": "integer"
  27659. },
  27660. "innergoodsid": {
  27661. "description": "内部商品ID[交易]",
  27662. "type": "integer"
  27663. },
  27664. "inratio": {
  27665. "description": "目标值",
  27666. "type": "integer"
  27667. },
  27668. "modifierid": {
  27669. "description": "修改人",
  27670. "type": "integer"
  27671. },
  27672. "modifytime": {
  27673. "description": "修改时间",
  27674. "type": "string"
  27675. },
  27676. "outergoodscode": {
  27677. "description": "外部商品代码[JD\\PD]",
  27678. "type": "string"
  27679. },
  27680. "outratio": {
  27681. "description": "源值",
  27682. "type": "integer"
  27683. },
  27684. "pddecimalplace": {
  27685. "description": "PD小数位",
  27686. "type": "integer"
  27687. },
  27688. "timemaxvalue": {
  27689. "description": "单次最大转入限制",
  27690. "type": "number"
  27691. },
  27692. "timeminvalue": {
  27693. "description": "单次最小转入限制",
  27694. "type": "number"
  27695. }
  27696. }
  27697. },
  27698. "models.Szdz3searchwhitelist": {
  27699. "type": "object",
  27700. "required": [
  27701. "userid"
  27702. ],
  27703. "properties": {
  27704. "createtime": {
  27705. "description": "创建时间",
  27706. "type": "string"
  27707. },
  27708. "creatorid": {
  27709. "description": "创建人",
  27710. "type": "integer"
  27711. },
  27712. "modifierid": {
  27713. "description": "修改人",
  27714. "type": "integer"
  27715. },
  27716. "modifytime": {
  27717. "description": "修改时间",
  27718. "type": "string"
  27719. },
  27720. "userid": {
  27721. "description": "用户ID",
  27722. "type": "integer"
  27723. }
  27724. }
  27725. },
  27726. "models.Taaccount": {
  27727. "type": "object",
  27728. "required": [
  27729. "accountid",
  27730. "userid"
  27731. ],
  27732. "properties": {
  27733. "accountflag": {
  27734. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  27735. "type": "integer"
  27736. },
  27737. "accountid": {
  27738. "description": "资金账户ID",
  27739. "type": "integer"
  27740. },
  27741. "accountname": {
  27742. "description": "账户名称",
  27743. "type": "string"
  27744. },
  27745. "balance": {
  27746. "description": "期初余额",
  27747. "type": "number"
  27748. },
  27749. "capitalbalance": {
  27750. "description": "本金余额[外部子账户实际出入金余额]",
  27751. "type": "number"
  27752. },
  27753. "changeflag": {
  27754. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  27755. "type": "integer"
  27756. },
  27757. "changetime": {
  27758. "description": "账户状态变更时间",
  27759. "type": "string"
  27760. },
  27761. "closepl": {
  27762. "description": "今日平仓盈亏",
  27763. "type": "number"
  27764. },
  27765. "creditdecrease": {
  27766. "description": "今日授信减少",
  27767. "type": "number"
  27768. },
  27769. "creditincrease": {
  27770. "description": "今日授信增加",
  27771. "type": "number"
  27772. },
  27773. "curamount": {
  27774. "description": "总市值(从持仓中统计)",
  27775. "type": "number"
  27776. },
  27777. "currencyid": {
  27778. "description": "货币ID",
  27779. "type": "integer"
  27780. },
  27781. "currentbalance": {
  27782. "description": "期末余额",
  27783. "type": "number"
  27784. },
  27785. "freezecharge": {
  27786. "description": "手续费冻结",
  27787. "type": "number"
  27788. },
  27789. "freezemargin": {
  27790. "description": "冻结保证金",
  27791. "type": "number"
  27792. },
  27793. "fromaccountid": {
  27794. "description": "所属上级账户",
  27795. "type": "integer"
  27796. },
  27797. "inamount": {
  27798. "description": "今日入金金额(包括三方入金)",
  27799. "type": "number"
  27800. },
  27801. "ismain": {
  27802. "description": "是否母账号 0:不是母账户 1:是母账户",
  27803. "type": "integer"
  27804. },
  27805. "ismarketaccount": {
  27806. "description": "是否机构接单账号 0:不是 1:是",
  27807. "type": "integer"
  27808. },
  27809. "isreckonaccount": {
  27810. "description": "是否机构分润账号 0:不是 1:是",
  27811. "type": "integer"
  27812. },
  27813. "mortgagecredit": {
  27814. "description": "授信金额",
  27815. "type": "number"
  27816. },
  27817. "orifreezecharge": {
  27818. "description": "期初手续费冻结",
  27819. "type": "number"
  27820. },
  27821. "orifreezemargin": {
  27822. "description": "期初冻结保证金",
  27823. "type": "number"
  27824. },
  27825. "orimortgagecredit": {
  27826. "description": "期初授信金额",
  27827. "type": "number"
  27828. },
  27829. "oriothercredit": {
  27830. "description": "期初其它授信金额",
  27831. "type": "number"
  27832. },
  27833. "oriotherfreezemargin": {
  27834. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  27835. "type": "number"
  27836. },
  27837. "orioutamountfreeze": {
  27838. "description": "期初出金冻结",
  27839. "type": "number"
  27840. },
  27841. "oriusedmargin": {
  27842. "description": "期初占用保证金",
  27843. "type": "number"
  27844. },
  27845. "othercredit": {
  27846. "description": "其它授信金额",
  27847. "type": "number"
  27848. },
  27849. "othercreditdecrease": {
  27850. "description": "今日其它授信减少",
  27851. "type": "number"
  27852. },
  27853. "othercreditincrease": {
  27854. "description": "今日其它授信增加",
  27855. "type": "number"
  27856. },
  27857. "otherfreezemargin": {
  27858. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  27859. "type": "number"
  27860. },
  27861. "otherincome": {
  27862. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  27863. "type": "number"
  27864. },
  27865. "otherpay": {
  27866. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  27867. "type": "number"
  27868. },
  27869. "outamount": {
  27870. "description": "今日出金金额(包括三方出金)",
  27871. "type": "number"
  27872. },
  27873. "outamountfreeze": {
  27874. "description": "出金冻结",
  27875. "type": "number"
  27876. },
  27877. "outthreshold": {
  27878. "description": "出金阈值",
  27879. "type": "number"
  27880. },
  27881. "parentaccountid": {
  27882. "description": "所属根账号",
  27883. "type": "integer"
  27884. },
  27885. "paycharge": {
  27886. "description": "今日手续费支出",
  27887. "type": "number"
  27888. },
  27889. "relatedaccountstatus": {
  27890. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  27891. "type": "integer"
  27892. },
  27893. "relateduserid": {
  27894. "description": "关联用户",
  27895. "type": "integer"
  27896. },
  27897. "remainamount": {
  27898. "description": "融资额(从融资合同中统计)",
  27899. "type": "number"
  27900. },
  27901. "serivcegroup": {
  27902. "description": "服务分组",
  27903. "type": "integer"
  27904. },
  27905. "signstatus": {
  27906. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  27907. "type": "integer"
  27908. },
  27909. "sublevelpath": {
  27910. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  27911. "type": "string"
  27912. },
  27913. "taaccounttype": {
  27914. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  27915. "type": "integer"
  27916. },
  27917. "thirdinamount": {
  27918. "description": "今日三方入金",
  27919. "type": "number"
  27920. },
  27921. "thirdoutamount": {
  27922. "description": "今日三方出金",
  27923. "type": "number"
  27924. },
  27925. "tradestatus": {
  27926. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  27927. "type": "integer"
  27928. },
  27929. "tradestatuschangetime": {
  27930. "description": "激活时间",
  27931. "type": "string"
  27932. },
  27933. "transferamount": {
  27934. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  27935. "type": "number"
  27936. },
  27937. "usedmargin": {
  27938. "description": "占用保证金",
  27939. "type": "number"
  27940. },
  27941. "userid": {
  27942. "description": "用户ID",
  27943. "type": "integer"
  27944. }
  27945. }
  27946. },
  27947. "models.Tablecolumnconfig": {
  27948. "type": "object",
  27949. "required": [
  27950. "autoid"
  27951. ],
  27952. "properties": {
  27953. "aligntype": {
  27954. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  27955. "type": "integer"
  27956. },
  27957. "autoid": {
  27958. "description": "AutoID",
  27959. "type": "integer"
  27960. },
  27961. "columnfield": {
  27962. "description": "列字段",
  27963. "type": "string"
  27964. },
  27965. "columntitle": {
  27966. "description": "列Title",
  27967. "type": "string"
  27968. },
  27969. "columnwidth": {
  27970. "description": "列宽",
  27971. "type": "string"
  27972. },
  27973. "formatterstring": {
  27974. "description": "格式化字符",
  27975. "type": "string"
  27976. },
  27977. "formattertype": {
  27978. "description": "格式化类型",
  27979. "type": "string"
  27980. },
  27981. "groupname": {
  27982. "description": "表头分组名称",
  27983. "type": "string"
  27984. },
  27985. "isshow": {
  27986. "description": "是否显示 - 0:不显示 1:显示",
  27987. "type": "integer"
  27988. },
  27989. "needsummary": {
  27990. "description": "是否需要汇总 - 0:不需要 1:需要",
  27991. "type": "integer"
  27992. },
  27993. "orderindex": {
  27994. "description": "顺序",
  27995. "type": "integer"
  27996. },
  27997. "remark": {
  27998. "description": "备注",
  27999. "type": "string"
  28000. },
  28001. "summarytype": {
  28002. "description": "汇总类型 - 1:加总 2:最后一个",
  28003. "type": "integer"
  28004. },
  28005. "tablekey": {
  28006. "description": "列表Key",
  28007. "type": "string"
  28008. }
  28009. }
  28010. },
  28011. "models.UserCollectConfig": {
  28012. "type": "object",
  28013. "properties": {
  28014. "accountstatus": {
  28015. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28016. "type": "integer"
  28017. },
  28018. "collectaccountname": {
  28019. "description": "收款人账户名称",
  28020. "type": "string"
  28021. },
  28022. "collectaccountno": {
  28023. "description": "收款人账户",
  28024. "type": "string"
  28025. },
  28026. "collectbankname": {
  28027. "description": "收款人开户行",
  28028. "type": "string"
  28029. },
  28030. "collectbranchbankname": {
  28031. "description": "收款人开户支行",
  28032. "type": "string"
  28033. },
  28034. "collectconfigid": {
  28035. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28036. "type": "string"
  28037. },
  28038. "remark": {
  28039. "description": "备注",
  28040. "type": "string"
  28041. },
  28042. "userid": {
  28043. "description": "收款人用户ID",
  28044. "type": "integer"
  28045. }
  28046. }
  28047. },
  28048. "models.UserReceiveInfo": {
  28049. "type": "object",
  28050. "properties": {
  28051. "address": {
  28052. "description": "提货人详细地址",
  28053. "type": "string"
  28054. },
  28055. "autoid": {
  28056. "description": "AutoID",
  28057. "type": "integer"
  28058. },
  28059. "cardnum": {
  28060. "description": "证件号码(加密存储)",
  28061. "type": "string"
  28062. },
  28063. "cardtypeid": {
  28064. "description": "证件类型",
  28065. "type": "integer"
  28066. },
  28067. "cityid": {
  28068. "description": "市",
  28069. "type": "integer"
  28070. },
  28071. "cityname": {
  28072. "description": "城市名称",
  28073. "type": "string"
  28074. },
  28075. "countryid": {
  28076. "description": "国家",
  28077. "type": "integer"
  28078. },
  28079. "countryname": {
  28080. "description": "国家名称",
  28081. "type": "string"
  28082. },
  28083. "districtid": {
  28084. "description": "地区",
  28085. "type": "integer"
  28086. },
  28087. "districtname": {
  28088. "description": "地区名称",
  28089. "type": "string"
  28090. },
  28091. "hasencrypt": {
  28092. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28093. "type": "integer"
  28094. },
  28095. "isdefault": {
  28096. "description": "是否默认地址 - 0:否 1:是",
  28097. "type": "integer"
  28098. },
  28099. "phonenum": {
  28100. "description": "提货人联系方式(加密存储)",
  28101. "type": "string"
  28102. },
  28103. "provinceid": {
  28104. "description": "省",
  28105. "type": "integer"
  28106. },
  28107. "provincename": {
  28108. "description": "省名称",
  28109. "type": "string"
  28110. },
  28111. "receivername": {
  28112. "description": "提货人姓名",
  28113. "type": "string"
  28114. },
  28115. "takeremark": {
  28116. "description": "提货备注",
  28117. "type": "string"
  28118. },
  28119. "userid": {
  28120. "description": "用户ID",
  28121. "type": "integer"
  28122. }
  28123. }
  28124. },
  28125. "models.Useraccount": {
  28126. "type": "object",
  28127. "required": [
  28128. "userid"
  28129. ],
  28130. "properties": {
  28131. "accountname": {
  28132. "description": "账户名称(机构名称)",
  28133. "type": "string"
  28134. },
  28135. "accountstatus": {
  28136. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28137. "type": "integer"
  28138. },
  28139. "applysrc": {
  28140. "description": "申请来源 - 1:管理端 2:终端",
  28141. "type": "integer"
  28142. },
  28143. "auditremark": {
  28144. "description": "审核备注",
  28145. "type": "string"
  28146. },
  28147. "auditsrc": {
  28148. "description": "审核来源 - 1:管理端 2:终端",
  28149. "type": "integer"
  28150. },
  28151. "audittime": {
  28152. "description": "审核时间",
  28153. "type": "string"
  28154. },
  28155. "audituserid": {
  28156. "description": "审核人",
  28157. "type": "integer"
  28158. },
  28159. "broker": {
  28160. "description": "所属经纪人ID",
  28161. "type": "integer"
  28162. },
  28163. "canceltime": {
  28164. "description": "销户时间",
  28165. "type": "string"
  28166. },
  28167. "canceluserid": {
  28168. "description": "销户人",
  28169. "type": "integer"
  28170. },
  28171. "canrecommend": {
  28172. "description": "是否可推荐 - 0:不可 1;可",
  28173. "type": "integer"
  28174. },
  28175. "createtime": {
  28176. "description": "创建时间",
  28177. "type": "string"
  28178. },
  28179. "creatorid": {
  28180. "description": "创建人",
  28181. "type": "integer"
  28182. },
  28183. "hasauth": {
  28184. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28185. "type": "integer"
  28186. },
  28187. "isanonymous": {
  28188. "description": "是否匿名下单 - 0:否 1:是",
  28189. "type": "integer"
  28190. },
  28191. "maxinvestornum": {
  28192. "description": "最大用户数(经纪会员下投资者个数)",
  28193. "type": "integer"
  28194. },
  28195. "memberuserid": {
  28196. "description": "所属会员ID",
  28197. "type": "integer"
  28198. },
  28199. "modifierid": {
  28200. "description": "修改人",
  28201. "type": "integer"
  28202. },
  28203. "modifyremark": {
  28204. "description": "变更备注",
  28205. "type": "string"
  28206. },
  28207. "modifystatus": {
  28208. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28209. "type": "integer"
  28210. },
  28211. "modifytime": {
  28212. "description": "修改时间",
  28213. "type": "string"
  28214. },
  28215. "parenttopuser": {
  28216. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28217. "type": "string"
  28218. },
  28219. "parentuserid": {
  28220. "description": "所属机构ID",
  28221. "type": "integer"
  28222. },
  28223. "reckonaccountid": {
  28224. "description": "默认结算资金账号ID(机构分润使用) 作废",
  28225. "type": "integer"
  28226. },
  28227. "refercount": {
  28228. "description": "推荐总人数",
  28229. "type": "integer"
  28230. },
  28231. "refereeuserid": {
  28232. "description": "推荐人ID",
  28233. "type": "integer"
  28234. },
  28235. "refernum": {
  28236. "description": "推荐码",
  28237. "type": "string"
  28238. },
  28239. "rootuserid": {
  28240. "description": "根用户ID",
  28241. "type": "integer"
  28242. },
  28243. "subaccountlevel": {
  28244. "description": "子账户层数",
  28245. "type": "integer"
  28246. },
  28247. "subarealevelpath": {
  28248. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28249. "type": "string"
  28250. },
  28251. "userid": {
  28252. "description": "用户ID",
  28253. "type": "integer"
  28254. },
  28255. "usertype": {
  28256. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28257. "type": "integer"
  28258. }
  28259. }
  28260. },
  28261. "models.Userfavoritegoods": {
  28262. "type": "object",
  28263. "required": [
  28264. "goodsid"
  28265. ],
  28266. "properties": {
  28267. "goodsid": {
  28268. "description": "商品ID",
  28269. "type": "integer"
  28270. }
  28271. }
  28272. },
  28273. "models.Userinfo": {
  28274. "type": "object",
  28275. "required": [
  28276. "userid"
  28277. ],
  28278. "properties": {
  28279. "address": {
  28280. "description": "地址",
  28281. "type": "string"
  28282. },
  28283. "attachment1": {
  28284. "description": "附件1",
  28285. "type": "string"
  28286. },
  28287. "attachment2": {
  28288. "description": "附件2",
  28289. "type": "string"
  28290. },
  28291. "bankaccount": {
  28292. "description": "银行帐号 (加密存储)",
  28293. "type": "string"
  28294. },
  28295. "bankaccountname": {
  28296. "description": "收款人名称",
  28297. "type": "string"
  28298. },
  28299. "bankcardfrontphotourl": {
  28300. "description": "银行卡正面照地址",
  28301. "type": "string"
  28302. },
  28303. "bankid": {
  28304. "description": "银行编码",
  28305. "type": "string"
  28306. },
  28307. "bankname": {
  28308. "description": "银行名称",
  28309. "type": "string"
  28310. },
  28311. "biznature": {
  28312. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28313. "type": "integer"
  28314. },
  28315. "bizscope": {
  28316. "description": "企业经营范围(企业)",
  28317. "type": "string"
  28318. },
  28319. "cardbackphotourl": {
  28320. "description": "证件背面图片地址",
  28321. "type": "string"
  28322. },
  28323. "cardfrontphotourl": {
  28324. "description": "证件正面图片地址",
  28325. "type": "string"
  28326. },
  28327. "cardnum": {
  28328. "description": "证件号码(加密存储)",
  28329. "type": "string"
  28330. },
  28331. "cardtypeid": {
  28332. "description": "证件类型ID",
  28333. "type": "integer"
  28334. },
  28335. "cityid": {
  28336. "description": "市",
  28337. "type": "integer"
  28338. },
  28339. "company": {
  28340. "description": "公司(个人)",
  28341. "type": "string"
  28342. },
  28343. "contactname": {
  28344. "description": "联系人",
  28345. "type": "string"
  28346. },
  28347. "countryid": {
  28348. "description": "国家",
  28349. "type": "integer"
  28350. },
  28351. "createtime": {
  28352. "description": "创建时间",
  28353. "type": "string"
  28354. },
  28355. "creatorid": {
  28356. "description": "创建人",
  28357. "type": "integer"
  28358. },
  28359. "customername": {
  28360. "description": "客户名称(企业名称)",
  28361. "type": "string"
  28362. },
  28363. "districtid": {
  28364. "description": "地区",
  28365. "type": "integer"
  28366. },
  28367. "email": {
  28368. "description": "邮件(加密存储)",
  28369. "type": "string"
  28370. },
  28371. "fax": {
  28372. "description": "传真(加密存储)",
  28373. "type": "string"
  28374. },
  28375. "halfbodyphotourl": {
  28376. "description": "半身照地址",
  28377. "type": "string"
  28378. },
  28379. "hasencrypt": {
  28380. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28381. "type": "integer"
  28382. },
  28383. "headurl": {
  28384. "description": "头像地址",
  28385. "type": "string"
  28386. },
  28387. "legalcardbackphotourl": {
  28388. "description": "法人身份证背面照地址",
  28389. "type": "string"
  28390. },
  28391. "legalcardfrontphotourl": {
  28392. "description": "法人身份证正面照地址",
  28393. "type": "string"
  28394. },
  28395. "legalpersonname": {
  28396. "description": "法人姓名(企业)",
  28397. "type": "string"
  28398. },
  28399. "mobile": {
  28400. "description": "手机号码(加密存储)",
  28401. "type": "string"
  28402. },
  28403. "mobile2": {
  28404. "description": "手机号码[明文-尚志]",
  28405. "type": "string"
  28406. },
  28407. "modifierid": {
  28408. "description": "修改人",
  28409. "type": "integer"
  28410. },
  28411. "modifiertime": {
  28412. "description": "修改时间",
  28413. "type": "string"
  28414. },
  28415. "needinvoice": {
  28416. "description": "是否需要发票 - 0:不需要 1:需要",
  28417. "type": "integer"
  28418. },
  28419. "nickname": {
  28420. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  28421. "type": "string"
  28422. },
  28423. "openmode": {
  28424. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  28425. "type": "integer"
  28426. },
  28427. "otherurl": {
  28428. "description": "其它图片地址[使用分号分隔]",
  28429. "type": "string"
  28430. },
  28431. "postalcode": {
  28432. "description": "邮政编码",
  28433. "type": "string"
  28434. },
  28435. "provinceid": {
  28436. "description": "省",
  28437. "type": "integer"
  28438. },
  28439. "qq": {
  28440. "description": "QQ(加密存储",
  28441. "type": "string"
  28442. },
  28443. "remark": {
  28444. "description": "备注",
  28445. "type": "string"
  28446. },
  28447. "sex": {
  28448. "description": "用户性别 0: 女 1: 男",
  28449. "type": "integer"
  28450. },
  28451. "signpdfurl": {
  28452. "description": "签约pdf文件",
  28453. "type": "string"
  28454. },
  28455. "telphone": {
  28456. "description": "联系电话(加密存储)",
  28457. "type": "string"
  28458. },
  28459. "userid": {
  28460. "description": "用户ID",
  28461. "type": "integer"
  28462. },
  28463. "userinfotype": {
  28464. "description": "用户信息类型 - 1:个人 2:企业",
  28465. "type": "integer"
  28466. },
  28467. "userstatus": {
  28468. "description": "用户状态 - 1:正常 2:注销",
  28469. "type": "integer"
  28470. },
  28471. "usertype": {
  28472. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  28473. "type": "integer"
  28474. },
  28475. "wechat": {
  28476. "description": "微信(加密存储)",
  28477. "type": "string"
  28478. },
  28479. "wskhinfo": {
  28480. "description": "开户申请信息(JSON)",
  28481. "type": "string"
  28482. }
  28483. }
  28484. },
  28485. "models.WRSConverTDetail": {
  28486. "type": "object",
  28487. "properties": {
  28488. "convertratio": {
  28489. "description": "套保系数",
  28490. "type": "number"
  28491. },
  28492. "deliverygoodscode": {
  28493. "description": "现货商品代码",
  28494. "type": "string"
  28495. },
  28496. "deliverygoodsid": {
  28497. "description": "现货品种ID",
  28498. "type": "integer"
  28499. },
  28500. "deliverygoodsname": {
  28501. "description": "现货商品名称",
  28502. "type": "string"
  28503. },
  28504. "enumdicname": {
  28505. "description": "单位名称",
  28506. "type": "string"
  28507. },
  28508. "goodsunitid": {
  28509. "description": "套保品种单位id",
  28510. "type": "integer"
  28511. },
  28512. "middlegoodscode": {
  28513. "description": "套保品种代码",
  28514. "type": "string"
  28515. },
  28516. "middlegoodsid": {
  28517. "description": "套保品种ID",
  28518. "type": "integer"
  28519. },
  28520. "middlegoodsname": {
  28521. "description": "套保品种名称",
  28522. "type": "string"
  28523. },
  28524. "modifytime": {
  28525. "description": "修改时间",
  28526. "type": "string"
  28527. },
  28528. "wrstandardid": {
  28529. "description": "品类ID",
  28530. "type": "integer"
  28531. }
  28532. }
  28533. },
  28534. "models.WRStandardInfo": {
  28535. "type": "object",
  28536. "required": [
  28537. "wrstandardid"
  28538. ],
  28539. "properties": {
  28540. "areauserid": {
  28541. "description": "所属机构",
  28542. "type": "integer"
  28543. },
  28544. "convertfactor": {
  28545. "description": "标仓系数",
  28546. "type": "number"
  28547. },
  28548. "createtime": {
  28549. "description": "创建时间",
  28550. "type": "string"
  28551. },
  28552. "creatorid": {
  28553. "description": "创建人",
  28554. "type": "integer"
  28555. },
  28556. "deliverygoodsid": {
  28557. "description": "品种ID",
  28558. "type": "integer"
  28559. },
  28560. "deliverygoodsname": {
  28561. "description": "交割商品名称",
  28562. "type": "string"
  28563. },
  28564. "factoryitemjson": {
  28565. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  28566. "type": "string"
  28567. },
  28568. "isvalid": {
  28569. "description": "是否有效 - 0:无效 1:有效",
  28570. "type": "integer"
  28571. },
  28572. "minivalue": {
  28573. "description": "最小变动值",
  28574. "type": "integer"
  28575. },
  28576. "minivaluedp": {
  28577. "description": "最小变动值小数位",
  28578. "type": "integer"
  28579. },
  28580. "realminivalue": {
  28581. "description": "实际最小变动值",
  28582. "type": "integer"
  28583. },
  28584. "realminivaluedp": {
  28585. "description": "实际最小变动值小数位",
  28586. "type": "integer"
  28587. },
  28588. "remark": {
  28589. "description": "备注",
  28590. "type": "string"
  28591. },
  28592. "unitid": {
  28593. "description": "单位ID",
  28594. "type": "integer"
  28595. },
  28596. "unitname": {
  28597. "description": "单位",
  28598. "type": "string"
  28599. },
  28600. "updatetime": {
  28601. "description": "更新时间",
  28602. "type": "string"
  28603. },
  28604. "updatorid": {
  28605. "description": "更新人",
  28606. "type": "integer"
  28607. },
  28608. "wrsstatus": {
  28609. "description": "状态 - 作废 - 0:未激活 1:正常",
  28610. "type": "integer"
  28611. },
  28612. "wrstandardcode": {
  28613. "description": "现货品类代码",
  28614. "type": "string"
  28615. },
  28616. "wrstandardid": {
  28617. "description": "现货品类ID(SEQ_WRSTANDARD)",
  28618. "type": "integer"
  28619. },
  28620. "wrstandardname": {
  28621. "description": "现货品类名称",
  28622. "type": "string"
  28623. }
  28624. }
  28625. },
  28626. "models.Warehouseinfo": {
  28627. "type": "object",
  28628. "required": [
  28629. "autoid",
  28630. "warehousecode"
  28631. ],
  28632. "properties": {
  28633. "address": {
  28634. "description": "详细地址",
  28635. "type": "string"
  28636. },
  28637. "areauserid": {
  28638. "description": "所属机构",
  28639. "type": "integer"
  28640. },
  28641. "autoid": {
  28642. "description": "自增ID",
  28643. "type": "integer"
  28644. },
  28645. "cityid": {
  28646. "description": "市",
  28647. "type": "integer"
  28648. },
  28649. "contactname": {
  28650. "description": "联系人",
  28651. "type": "string"
  28652. },
  28653. "contactnum": {
  28654. "description": "联系电话",
  28655. "type": "string"
  28656. },
  28657. "countryid": {
  28658. "description": "国家",
  28659. "type": "integer"
  28660. },
  28661. "createtime": {
  28662. "description": "创建时间",
  28663. "type": "string"
  28664. },
  28665. "districtid": {
  28666. "description": "区",
  28667. "type": "integer"
  28668. },
  28669. "hasvideo": {
  28670. "description": "是否有视频 - 0:无 1:有",
  28671. "type": "integer"
  28672. },
  28673. "provinceid": {
  28674. "description": "省",
  28675. "type": "integer"
  28676. },
  28677. "remark": {
  28678. "description": "审核备注",
  28679. "type": "string"
  28680. },
  28681. "videourl": {
  28682. "description": "视频地址",
  28683. "type": "string"
  28684. },
  28685. "warehousecode": {
  28686. "description": "仓库代码",
  28687. "type": "string"
  28688. },
  28689. "warehousename": {
  28690. "description": "仓库名称",
  28691. "type": "string"
  28692. },
  28693. "warehousestatus": {
  28694. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  28695. "type": "integer"
  28696. },
  28697. "warehousetype": {
  28698. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  28699. "type": "integer"
  28700. }
  28701. }
  28702. },
  28703. "order.QueryHisTradeDetailRsp": {
  28704. "type": "object",
  28705. "required": [
  28706. "accountid",
  28707. "buyorsell",
  28708. "goodsid",
  28709. "histradedate",
  28710. "marketid",
  28711. "memberuserid",
  28712. "orderid",
  28713. "tradeamount",
  28714. "tradedate",
  28715. "tradeid",
  28716. "tradeprice",
  28717. "tradeqty",
  28718. "tradetime"
  28719. ],
  28720. "properties": {
  28721. "accountid": {
  28722. "description": "账户ID[报价币种]",
  28723. "type": "integer"
  28724. },
  28725. "advanceratio": {
  28726. "description": "首付比率",
  28727. "type": "number"
  28728. },
  28729. "buildtype": {
  28730. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  28731. "type": "integer"
  28732. },
  28733. "buyorsell": {
  28734. "description": "方向 - 0:买 1:卖",
  28735. "type": "integer"
  28736. },
  28737. "charge": {
  28738. "description": "手续费",
  28739. "type": "number"
  28740. },
  28741. "closecharge": {
  28742. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28743. "type": "number"
  28744. },
  28745. "closeexchagechargevalue": {
  28746. "description": "平仓交易所手续费设置值",
  28747. "type": "number"
  28748. },
  28749. "closefeealgorithm": {
  28750. "description": "平仓手续费收取方式 1:比率 2:固定",
  28751. "type": "integer"
  28752. },
  28753. "closememberchargevalue": {
  28754. "description": "平仓会员手续费设置值",
  28755. "type": "number"
  28756. },
  28757. "closepl": {
  28758. "description": "平仓盈亏",
  28759. "type": "number"
  28760. },
  28761. "closepl2": {
  28762. "description": "平仓盈亏[逐笔]",
  28763. "type": "number"
  28764. },
  28765. "closeqty": {
  28766. "description": "平仓数量(先建后平操作 需要记录)",
  28767. "type": "number"
  28768. },
  28769. "creditamount": {
  28770. "description": "授信金额",
  28771. "type": "number"
  28772. },
  28773. "decimalplace": {
  28774. "description": "商品报价小数位",
  28775. "type": "integer"
  28776. },
  28777. "enumdicname": {
  28778. "description": "单位名称",
  28779. "type": "string"
  28780. },
  28781. "gcaccountid": {
  28782. "description": "账户ID[合约币种]",
  28783. "type": "integer"
  28784. },
  28785. "goodscode": {
  28786. "description": "商品代码",
  28787. "type": "string"
  28788. },
  28789. "goodsid": {
  28790. "description": "商品ID",
  28791. "type": "integer"
  28792. },
  28793. "goodsname": {
  28794. "description": "商品名称",
  28795. "type": "string"
  28796. },
  28797. "goodunitid": {
  28798. "description": "商品单位id",
  28799. "type": "integer"
  28800. },
  28801. "histradedate": {
  28802. "description": "历史交易日",
  28803. "type": "string"
  28804. },
  28805. "intclosepl": {
  28806. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  28807. "type": "integer"
  28808. },
  28809. "isconfirmexercise": {
  28810. "description": "是否确认行权- 0:否 1:是",
  28811. "type": "integer"
  28812. },
  28813. "ismain": {
  28814. "description": "是否主单 - 0:不是 1:是",
  28815. "type": "integer"
  28816. },
  28817. "ispreexercise": {
  28818. "description": "是否预申报- 0:否 1:是",
  28819. "type": "integer"
  28820. },
  28821. "isreckoned": {
  28822. "description": "是否结算 - 0:未结算 1:已结算",
  28823. "type": "integer"
  28824. },
  28825. "isvaliddata": {
  28826. "description": "是否有效 - 0:无效 1:有效",
  28827. "type": "integer"
  28828. },
  28829. "listingselecttype": {
  28830. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  28831. "type": "integer"
  28832. },
  28833. "marketid": {
  28834. "description": "市场ID",
  28835. "type": "integer"
  28836. },
  28837. "marketname": {
  28838. "description": "市场名称",
  28839. "type": "string"
  28840. },
  28841. "matchaccountid": {
  28842. "description": "对手账号id",
  28843. "type": "integer"
  28844. },
  28845. "memberuserid": {
  28846. "description": "会员id 个人投资者 需要填写",
  28847. "type": "integer"
  28848. },
  28849. "opencharge": {
  28850. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  28851. "type": "number"
  28852. },
  28853. "openexchagechargevalue": {
  28854. "description": "建仓交易所手续费设置值",
  28855. "type": "number"
  28856. },
  28857. "openfeealgorithm": {
  28858. "description": "建仓手续费收取方式 1:比率 2:固定",
  28859. "type": "integer"
  28860. },
  28861. "openmemberchargevalue": {
  28862. "description": "建仓会员手续费设置值",
  28863. "type": "number"
  28864. },
  28865. "openqty": {
  28866. "description": "开仓数量(先建后平操作 需要记录)",
  28867. "type": "number"
  28868. },
  28869. "optiontype": {
  28870. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  28871. "type": "integer"
  28872. },
  28873. "orderid": {
  28874. "description": "委托单号",
  28875. "type": "string"
  28876. },
  28877. "payamount": {
  28878. "description": "支付金额(付款金额)",
  28879. "type": "number"
  28880. },
  28881. "performanceplanid": {
  28882. "description": "履约计划ID[期权]",
  28883. "type": "integer"
  28884. },
  28885. "performancestatus": {
  28886. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  28887. "type": "integer"
  28888. },
  28889. "preexerciseprice": {
  28890. "description": "预申报价格",
  28891. "type": "number"
  28892. },
  28893. "premium": {
  28894. "description": "权利金 - [持仓单的权利金]",
  28895. "type": "number"
  28896. },
  28897. "qtydecimalplace": {
  28898. "description": "商品报价小数位",
  28899. "type": "integer"
  28900. },
  28901. "recvamount": {
  28902. "description": "到账金额 = 成交金额 - 手续费",
  28903. "type": "number"
  28904. },
  28905. "relatedouttradeid": {
  28906. "description": "关联外部成交单ID",
  28907. "type": "integer"
  28908. },
  28909. "status": {
  28910. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  28911. "type": "integer"
  28912. },
  28913. "totalamount": {
  28914. "description": "订单总额 = 成交金额 + 手续费",
  28915. "type": "number"
  28916. },
  28917. "tradeamount": {
  28918. "description": "成交金额[账户币种,用于所有权]",
  28919. "type": "number"
  28920. },
  28921. "tradedate": {
  28922. "description": "交易日(yyyyMMdd)",
  28923. "type": "string"
  28924. },
  28925. "tradeid": {
  28926. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28927. "type": "string"
  28928. },
  28929. "trademode": {
  28930. "description": "交易模式",
  28931. "type": "integer"
  28932. },
  28933. "tradeprice": {
  28934. "description": "成交价格",
  28935. "type": "number"
  28936. },
  28937. "tradeproperty": {
  28938. "description": "交易属性",
  28939. "type": "integer"
  28940. },
  28941. "tradeqty": {
  28942. "description": "成交数量",
  28943. "type": "number"
  28944. },
  28945. "tradetime": {
  28946. "description": "成交时间",
  28947. "type": "string"
  28948. },
  28949. "tradetype": {
  28950. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  28951. "type": "integer"
  28952. }
  28953. }
  28954. },
  28955. "order.QueryHisTradeOrderDetailRsp": {
  28956. "type": "object",
  28957. "required": [
  28958. "accountid",
  28959. "buildtype",
  28960. "buyorsell",
  28961. "goodsid",
  28962. "histradedate",
  28963. "marketid",
  28964. "memberuserid",
  28965. "operatetype",
  28966. "orderid",
  28967. "orderqty",
  28968. "ordertime",
  28969. "pricemode",
  28970. "tradedate",
  28971. "validtype"
  28972. ],
  28973. "properties": {
  28974. "accountid": {
  28975. "description": "账户ID[报价币种]",
  28976. "type": "integer"
  28977. },
  28978. "buildtype": {
  28979. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  28980. "type": "integer"
  28981. },
  28982. "buyorsell": {
  28983. "description": "买卖 - 0:买 1:卖",
  28984. "type": "integer"
  28985. },
  28986. "cancelorderid": {
  28987. "description": "撤单单号(撤单时填写)",
  28988. "type": "string"
  28989. },
  28990. "cancelqty": {
  28991. "description": "撤单数量",
  28992. "type": "number"
  28993. },
  28994. "clientordertime": {
  28995. "description": "客户端委托时间",
  28996. "type": "string"
  28997. },
  28998. "clientticket": {
  28999. "description": "客户端流水号",
  29000. "type": "string"
  29001. },
  29002. "clienttype": {
  29003. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29004. "type": "integer"
  29005. },
  29006. "closeexchagechargevalue": {
  29007. "description": "平仓交易所手续费设置值",
  29008. "type": "number"
  29009. },
  29010. "closefeealgorithm": {
  29011. "description": "平仓手续费收取方式 1:比率 2:固定",
  29012. "type": "integer"
  29013. },
  29014. "closefreezecharge": {
  29015. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  29016. "type": "number"
  29017. },
  29018. "closememberchargevalue": {
  29019. "description": "平仓会员手续费设置值",
  29020. "type": "number"
  29021. },
  29022. "closeqty": {
  29023. "description": "平仓数量(先建后平操作 需要记录)",
  29024. "type": "number"
  29025. },
  29026. "closetradeqty": {
  29027. "description": "平仓成交数量(先建后平操作,需要记录)",
  29028. "type": "number"
  29029. },
  29030. "closeunfreezecharge": {
  29031. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  29032. "type": "number"
  29033. },
  29034. "decimalplace": {
  29035. "description": "商品报价小数位",
  29036. "type": "integer"
  29037. },
  29038. "delistingtype": {
  29039. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  29040. "type": "integer"
  29041. },
  29042. "enumdicname": {
  29043. "description": "单位名称",
  29044. "type": "string"
  29045. },
  29046. "freezecharge": {
  29047. "description": "冻结手续费",
  29048. "type": "number"
  29049. },
  29050. "freezemargin": {
  29051. "description": "冻结保证金(冻结交易金额)",
  29052. "type": "number"
  29053. },
  29054. "gcaccountid": {
  29055. "description": "账户ID[合约币种]",
  29056. "type": "integer"
  29057. },
  29058. "goodscode": {
  29059. "description": "商品代码",
  29060. "type": "string"
  29061. },
  29062. "goodsid": {
  29063. "description": "商品ID",
  29064. "type": "integer"
  29065. },
  29066. "goodsname": {
  29067. "description": "商品名称",
  29068. "type": "string"
  29069. },
  29070. "goodunitid": {
  29071. "description": "商品单位id",
  29072. "type": "integer"
  29073. },
  29074. "histradedate": {
  29075. "description": "历史交易日",
  29076. "type": "string"
  29077. },
  29078. "isconfirmexercise": {
  29079. "description": "是否确认行权- 0:否 1:是",
  29080. "type": "integer"
  29081. },
  29082. "ispreexercise": {
  29083. "description": "是否预申报- 0:否 1:是",
  29084. "type": "integer"
  29085. },
  29086. "isvaliddata": {
  29087. "description": "是否有效 - 0:无效 1:有效",
  29088. "type": "integer"
  29089. },
  29090. "listingselecttype": {
  29091. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29092. "type": "integer"
  29093. },
  29094. "marginalgorithm": {
  29095. "description": "保证金收取方式 1:比率 2:固定",
  29096. "type": "integer"
  29097. },
  29098. "marginvalue": {
  29099. "description": "即市保证金设置值",
  29100. "type": "number"
  29101. },
  29102. "marketid": {
  29103. "description": "市场ID",
  29104. "type": "integer"
  29105. },
  29106. "marketmaxsub": {
  29107. "description": "市价最大偏移范围",
  29108. "type": "number"
  29109. },
  29110. "marketname": {
  29111. "description": "市场名称",
  29112. "type": "string"
  29113. },
  29114. "memberuserid": {
  29115. "description": "所属会员UserID",
  29116. "type": "integer"
  29117. },
  29118. "openexchagechargevalue": {
  29119. "description": "建仓交易所手续费设置值",
  29120. "type": "number"
  29121. },
  29122. "openfeealgorithm": {
  29123. "description": "建仓手续费收取方式 1:比率 2:固定",
  29124. "type": "integer"
  29125. },
  29126. "openfreezecharge": {
  29127. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  29128. "type": "number"
  29129. },
  29130. "openmemberchargevalue": {
  29131. "description": "建仓会员手续费设置值",
  29132. "type": "number"
  29133. },
  29134. "openqty": {
  29135. "description": "开仓数量(先建后平操作,需要记录)",
  29136. "type": "number"
  29137. },
  29138. "opentradeqty": {
  29139. "description": "开仓成交数量(先建后平操作,需要记录)",
  29140. "type": "number"
  29141. },
  29142. "openunfreezecharge": {
  29143. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  29144. "type": "number"
  29145. },
  29146. "operatetype": {
  29147. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  29148. "type": "integer"
  29149. },
  29150. "operatorid": {
  29151. "description": "登录账号(LoginID)",
  29152. "type": "integer"
  29153. },
  29154. "optiontype": {
  29155. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  29156. "type": "integer"
  29157. },
  29158. "orderid": {
  29159. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29160. "type": "string"
  29161. },
  29162. "orderprice": {
  29163. "description": "委托价格",
  29164. "type": "number"
  29165. },
  29166. "orderqty": {
  29167. "description": "委托数量",
  29168. "type": "number"
  29169. },
  29170. "ordersrc": {
  29171. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  29172. "type": "integer"
  29173. },
  29174. "orderstatus": {
  29175. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29176. "type": "integer"
  29177. },
  29178. "ordertime": {
  29179. "description": "委托时间",
  29180. "type": "string"
  29181. },
  29182. "preexerciseprice": {
  29183. "description": "预申报价格",
  29184. "type": "number"
  29185. },
  29186. "premium": {
  29187. "description": "权利金",
  29188. "type": "number"
  29189. },
  29190. "preorderid": {
  29191. "description": "关联预埋单号(止盈止损单时填写)",
  29192. "type": "string"
  29193. },
  29194. "pricemode": {
  29195. "description": "取价方式 - 1:市价 2: 限价",
  29196. "type": "integer"
  29197. },
  29198. "qtydecimalplace": {
  29199. "description": "成交量小数位",
  29200. "type": "integer"
  29201. },
  29202. "quoteid": {
  29203. "description": "报价单ID",
  29204. "type": "integer"
  29205. },
  29206. "relatedid": {
  29207. "description": "关联单号(交割单)",
  29208. "type": "string"
  29209. },
  29210. "retcode": {
  29211. "description": "错误代码",
  29212. "type": "integer"
  29213. },
  29214. "sessionid": {
  29215. "description": "会话ID",
  29216. "type": "integer"
  29217. },
  29218. "tradedate": {
  29219. "description": "交易日(yyyyMMdd)",
  29220. "type": "string"
  29221. },
  29222. "trademode": {
  29223. "description": "交易模式",
  29224. "type": "integer"
  29225. },
  29226. "tradeproperty": {
  29227. "description": "交易属性",
  29228. "type": "integer"
  29229. },
  29230. "tradeqty": {
  29231. "description": "成交数量",
  29232. "type": "number"
  29233. },
  29234. "unfreezecharge": {
  29235. "description": "解冻手续费",
  29236. "type": "number"
  29237. },
  29238. "unfreezemargin": {
  29239. "description": "解冻保证金",
  29240. "type": "number"
  29241. },
  29242. "updatetime": {
  29243. "description": "更新时间",
  29244. "type": "string"
  29245. },
  29246. "uuid": {
  29247. "description": "发起端唯一id",
  29248. "type": "string"
  29249. },
  29250. "validtime": {
  29251. "description": "有效期限",
  29252. "type": "string"
  29253. },
  29254. "validtype": {
  29255. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  29256. "type": "integer"
  29257. },
  29258. "volumetype": {
  29259. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  29260. "type": "integer"
  29261. }
  29262. }
  29263. },
  29264. "order.QueryTradeDetailRsp": {
  29265. "type": "object",
  29266. "required": [
  29267. "accountid",
  29268. "buyorsell",
  29269. "goodsid",
  29270. "marketid",
  29271. "memberuserid",
  29272. "orderid",
  29273. "tradeamount",
  29274. "tradedate",
  29275. "tradeid",
  29276. "tradeprice",
  29277. "tradeqty",
  29278. "tradetime"
  29279. ],
  29280. "properties": {
  29281. "accountid": {
  29282. "description": "账户ID[报价币种]",
  29283. "type": "integer"
  29284. },
  29285. "advanceratio": {
  29286. "description": "首付比率",
  29287. "type": "number"
  29288. },
  29289. "buildtype": {
  29290. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  29291. "type": "integer"
  29292. },
  29293. "buyorsell": {
  29294. "description": "方向 - 0:买 1:卖",
  29295. "type": "integer"
  29296. },
  29297. "charge": {
  29298. "description": "手续费",
  29299. "type": "number"
  29300. },
  29301. "closecharge": {
  29302. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29303. "type": "number"
  29304. },
  29305. "closeexchagechargevalue": {
  29306. "description": "平仓交易所手续费设置值",
  29307. "type": "number"
  29308. },
  29309. "closefeealgorithm": {
  29310. "description": "平仓手续费收取方式 1:比率 2:固定",
  29311. "type": "integer"
  29312. },
  29313. "closememberchargevalue": {
  29314. "description": "平仓会员手续费设置值",
  29315. "type": "number"
  29316. },
  29317. "closepl": {
  29318. "description": "平仓盈亏",
  29319. "type": "number"
  29320. },
  29321. "closepl2": {
  29322. "description": "平仓盈亏[逐笔]",
  29323. "type": "number"
  29324. },
  29325. "closeqty": {
  29326. "description": "平仓数量(先建后平操作 需要记录)",
  29327. "type": "number"
  29328. },
  29329. "creditamount": {
  29330. "description": "授信金额",
  29331. "type": "number"
  29332. },
  29333. "decimalplace": {
  29334. "description": "商品报价小数位",
  29335. "type": "integer"
  29336. },
  29337. "enumdicname": {
  29338. "description": "单位名称",
  29339. "type": "string"
  29340. },
  29341. "gcaccountid": {
  29342. "description": "账户ID[合约币种]",
  29343. "type": "integer"
  29344. },
  29345. "goodscode": {
  29346. "description": "商品代码",
  29347. "type": "string"
  29348. },
  29349. "goodsid": {
  29350. "description": "商品ID",
  29351. "type": "integer"
  29352. },
  29353. "goodsname": {
  29354. "description": "商品名称",
  29355. "type": "string"
  29356. },
  29357. "goodunitid": {
  29358. "description": "商品单位id",
  29359. "type": "integer"
  29360. },
  29361. "intclosepl": {
  29362. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  29363. "type": "integer"
  29364. },
  29365. "isconfirmexercise": {
  29366. "description": "是否确认行权- 0:否 1:是",
  29367. "type": "integer"
  29368. },
  29369. "ismain": {
  29370. "description": "是否主单 - 0:不是 1:是",
  29371. "type": "integer"
  29372. },
  29373. "ispreexercise": {
  29374. "description": "是否预申报- 0:否 1:是",
  29375. "type": "integer"
  29376. },
  29377. "isreckoned": {
  29378. "description": "是否结算 - 0:未结算 1:已结算",
  29379. "type": "integer"
  29380. },
  29381. "listingselecttype": {
  29382. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29383. "type": "integer"
  29384. },
  29385. "marketid": {
  29386. "description": "市场ID",
  29387. "type": "integer"
  29388. },
  29389. "marketname": {
  29390. "description": "市场名称",
  29391. "type": "string"
  29392. },
  29393. "matchaccountid": {
  29394. "description": "对手账号id",
  29395. "type": "integer"
  29396. },
  29397. "memberuserid": {
  29398. "description": "会员id 个人投资者 需要填写",
  29399. "type": "integer"
  29400. },
  29401. "opencharge": {
  29402. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29403. "type": "number"
  29404. },
  29405. "openexchagechargevalue": {
  29406. "description": "建仓交易所手续费设置值",
  29407. "type": "number"
  29408. },
  29409. "openfeealgorithm": {
  29410. "description": "建仓手续费收取方式 1:比率 2:固定",
  29411. "type": "integer"
  29412. },
  29413. "openmemberchargevalue": {
  29414. "description": "建仓会员手续费设置值",
  29415. "type": "number"
  29416. },
  29417. "openqty": {
  29418. "description": "开仓数量(先建后平操作 需要记录)",
  29419. "type": "number"
  29420. },
  29421. "optiontype": {
  29422. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  29423. "type": "integer"
  29424. },
  29425. "orderid": {
  29426. "description": "委托单号",
  29427. "type": "string"
  29428. },
  29429. "payamount": {
  29430. "description": "支付金额(付款金额)",
  29431. "type": "number"
  29432. },
  29433. "performanceplanid": {
  29434. "description": "履约计划ID[期权]",
  29435. "type": "integer"
  29436. },
  29437. "performancestatus": {
  29438. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  29439. "type": "integer"
  29440. },
  29441. "preexerciseprice": {
  29442. "description": "预申报价格",
  29443. "type": "number"
  29444. },
  29445. "premium": {
  29446. "description": "权利金 - [持仓单的权利金]",
  29447. "type": "number"
  29448. },
  29449. "qtydecimalplace": {
  29450. "description": "商品报价小数位",
  29451. "type": "integer"
  29452. },
  29453. "recvamount": {
  29454. "description": "到账金额 = 成交金额 - 手续费",
  29455. "type": "number"
  29456. },
  29457. "relatedouttradeid": {
  29458. "description": "关联外部成交单ID",
  29459. "type": "integer"
  29460. },
  29461. "status": {
  29462. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  29463. "type": "integer"
  29464. },
  29465. "totalamount": {
  29466. "description": "订单总额 = 成交金额 + 手续费",
  29467. "type": "number"
  29468. },
  29469. "tradeamount": {
  29470. "description": "成交金额[账户币种,用于所有权]",
  29471. "type": "number"
  29472. },
  29473. "tradedate": {
  29474. "description": "交易日(yyyyMMdd)",
  29475. "type": "string"
  29476. },
  29477. "tradeid": {
  29478. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29479. "type": "string"
  29480. },
  29481. "trademode": {
  29482. "description": "交易模式",
  29483. "type": "integer"
  29484. },
  29485. "tradeprice": {
  29486. "description": "成交价格",
  29487. "type": "number"
  29488. },
  29489. "tradeproperty": {
  29490. "description": "交易属性",
  29491. "type": "integer"
  29492. },
  29493. "tradeqty": {
  29494. "description": "成交数量",
  29495. "type": "number"
  29496. },
  29497. "tradetime": {
  29498. "description": "成交时间",
  29499. "type": "string"
  29500. },
  29501. "tradetype": {
  29502. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  29503. "type": "integer"
  29504. }
  29505. }
  29506. },
  29507. "order.QueryTradeOrderDetailRsp": {
  29508. "type": "object",
  29509. "required": [
  29510. "accountid",
  29511. "buildtype",
  29512. "buyorsell",
  29513. "goodsid",
  29514. "marketid",
  29515. "operatetype",
  29516. "orderqty",
  29517. "ordertime",
  29518. "pricemode",
  29519. "tradedate",
  29520. "validtype"
  29521. ],
  29522. "properties": {
  29523. "accountid": {
  29524. "description": "账户ID[报价币种]",
  29525. "type": "integer"
  29526. },
  29527. "buildtype": {
  29528. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  29529. "type": "integer"
  29530. },
  29531. "buyorsell": {
  29532. "description": "买卖 - 0:买 1:卖",
  29533. "type": "integer"
  29534. },
  29535. "cancelorderid": {
  29536. "description": "撤单单号(撤单时填写)",
  29537. "type": "string"
  29538. },
  29539. "cancelqty": {
  29540. "description": "撤单数量",
  29541. "type": "number"
  29542. },
  29543. "clienttype": {
  29544. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  29545. "type": "integer"
  29546. },
  29547. "closefreezecharge": {
  29548. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  29549. "type": "number"
  29550. },
  29551. "closeqty": {
  29552. "description": "平仓数量(先建后平操作 需要记录)",
  29553. "type": "number"
  29554. },
  29555. "closetradeqty": {
  29556. "description": "平仓成交数量(先建后平操作,需要记录)",
  29557. "type": "number"
  29558. },
  29559. "closeunfreezecharge": {
  29560. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  29561. "type": "number"
  29562. },
  29563. "decimalplace": {
  29564. "description": "商品报价小数位",
  29565. "type": "integer"
  29566. },
  29567. "delistingtype": {
  29568. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  29569. "type": "integer"
  29570. },
  29571. "enableqty": {
  29572. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  29573. "type": "number"
  29574. },
  29575. "enumdicname": {
  29576. "description": "单位名称",
  29577. "type": "string"
  29578. },
  29579. "freezecharge": {
  29580. "description": "冻结手续费",
  29581. "type": "number"
  29582. },
  29583. "freezemargin": {
  29584. "description": "冻结保证金(冻结交易金额)",
  29585. "type": "number"
  29586. },
  29587. "goodscode": {
  29588. "description": "商品代码",
  29589. "type": "string"
  29590. },
  29591. "goodsid": {
  29592. "description": "商品ID",
  29593. "type": "integer"
  29594. },
  29595. "goodsname": {
  29596. "description": "商品名称",
  29597. "type": "string"
  29598. },
  29599. "goodunitid": {
  29600. "description": "商品单位id",
  29601. "type": "integer"
  29602. },
  29603. "listingselecttype": {
  29604. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  29605. "type": "integer"
  29606. },
  29607. "marketid": {
  29608. "description": "市场ID",
  29609. "type": "integer"
  29610. },
  29611. "marketname": {
  29612. "description": "市场名称",
  29613. "type": "string"
  29614. },
  29615. "openfreezecharge": {
  29616. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  29617. "type": "number"
  29618. },
  29619. "openqty": {
  29620. "description": "开仓数量(先建后平操作,需要记录)",
  29621. "type": "number"
  29622. },
  29623. "opentradeqty": {
  29624. "description": "开仓成交数量(先建后平操作,需要记录)",
  29625. "type": "number"
  29626. },
  29627. "openunfreezecharge": {
  29628. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  29629. "type": "number"
  29630. },
  29631. "operatetype": {
  29632. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  29633. "type": "integer"
  29634. },
  29635. "operatorid": {
  29636. "description": "登录账号(LoginID)",
  29637. "type": "integer"
  29638. },
  29639. "orderid": {
  29640. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29641. "type": "string"
  29642. },
  29643. "orderprice": {
  29644. "description": "委托价格",
  29645. "type": "number"
  29646. },
  29647. "orderqty": {
  29648. "description": "委托数量",
  29649. "type": "number"
  29650. },
  29651. "ordersrc": {
  29652. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  29653. "type": "integer"
  29654. },
  29655. "orderstatus": {
  29656. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  29657. "type": "integer"
  29658. },
  29659. "ordertime": {
  29660. "description": "委托时间",
  29661. "type": "string"
  29662. },
  29663. "preorderid": {
  29664. "description": "关联预埋单号(止盈止损单时填写)",
  29665. "type": "string"
  29666. },
  29667. "pricemode": {
  29668. "description": "取价方式 - 1:市价 2: 限价",
  29669. "type": "integer"
  29670. },
  29671. "qtydecimalplace": {
  29672. "description": "商品报价小数位",
  29673. "type": "integer"
  29674. },
  29675. "relatedid": {
  29676. "description": "关联单号(交割单)",
  29677. "type": "string"
  29678. },
  29679. "tradedate": {
  29680. "description": "交易日(yyyyMMdd)",
  29681. "type": "string"
  29682. },
  29683. "trademode": {
  29684. "description": "交易模式",
  29685. "type": "integer"
  29686. },
  29687. "tradeqty": {
  29688. "description": "成交数量",
  29689. "type": "number"
  29690. },
  29691. "unfreezecharge": {
  29692. "description": "解冻手续费",
  29693. "type": "number"
  29694. },
  29695. "unfreezemargin": {
  29696. "description": "解冻保证金",
  29697. "type": "number"
  29698. },
  29699. "validtime": {
  29700. "description": "有效期限",
  29701. "type": "string"
  29702. },
  29703. "validtype": {
  29704. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  29705. "type": "integer"
  29706. },
  29707. "volumetype": {
  29708. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  29709. "type": "integer"
  29710. }
  29711. }
  29712. },
  29713. "order.QueryTradePositionRsp": {
  29714. "type": "object",
  29715. "required": [
  29716. "goodsid"
  29717. ],
  29718. "properties": {
  29719. "accountid": {
  29720. "description": "资金账户",
  29721. "type": "integer"
  29722. },
  29723. "agreeunit": {
  29724. "description": "合约单位",
  29725. "type": "number"
  29726. },
  29727. "averageprice": {
  29728. "description": "持仓均价",
  29729. "type": "number"
  29730. },
  29731. "buyorsell": {
  29732. "description": "方向 - 0:买 1:卖",
  29733. "type": "integer"
  29734. },
  29735. "closetotalqty": {
  29736. "description": "平仓总数量",
  29737. "type": "number"
  29738. },
  29739. "curholderamount": {
  29740. "description": "当前持仓总金额[商品币种]",
  29741. "type": "number"
  29742. },
  29743. "curpositionqty": {
  29744. "description": "当前持仓总数量",
  29745. "type": "number"
  29746. },
  29747. "currencyid": {
  29748. "description": "报价货币ID",
  29749. "type": "integer"
  29750. },
  29751. "curtdposition": {
  29752. "description": "期末今日头寸",
  29753. "type": "number"
  29754. },
  29755. "decimalplace": {
  29756. "description": "报价小数位",
  29757. "type": "integer"
  29758. },
  29759. "enableqty": {
  29760. "description": "可用量",
  29761. "type": "number"
  29762. },
  29763. "fretdposition": {
  29764. "description": "冻结今日头寸",
  29765. "type": "number"
  29766. },
  29767. "frozenqty": {
  29768. "description": "持仓冻结数量",
  29769. "type": "number"
  29770. },
  29771. "goodscode": {
  29772. "description": "商品代码",
  29773. "type": "string"
  29774. },
  29775. "goodsid": {
  29776. "description": "商品Id",
  29777. "type": "integer"
  29778. },
  29779. "goodsname": {
  29780. "description": "商品名称",
  29781. "type": "string"
  29782. },
  29783. "goodunit": {
  29784. "description": "报价单位",
  29785. "type": "string"
  29786. },
  29787. "goodunitid": {
  29788. "description": "报价单位ID",
  29789. "type": "integer"
  29790. },
  29791. "holderamount": {
  29792. "description": "期初持仓总金额[商品币种]",
  29793. "type": "number"
  29794. },
  29795. "lastprice": {
  29796. "description": "最新价",
  29797. "type": "number"
  29798. },
  29799. "marketamount": {
  29800. "description": "市值",
  29801. "type": "number"
  29802. },
  29803. "marketid": {
  29804. "description": "所属市场ID",
  29805. "type": "integer"
  29806. },
  29807. "openreqqty": {
  29808. "description": "开仓申请数量(用于比较最大持仓数量)",
  29809. "type": "number"
  29810. },
  29811. "opentotalqty": {
  29812. "description": "开仓总数量",
  29813. "type": "number"
  29814. },
  29815. "otherfrozenqty": {
  29816. "description": "持仓其他冻结数量(交割冻结)",
  29817. "type": "number"
  29818. },
  29819. "positionpl": {
  29820. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  29821. "type": "number"
  29822. },
  29823. "positionplrate": {
  29824. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  29825. "type": "number"
  29826. },
  29827. "positionqty": {
  29828. "description": "期初持仓数量",
  29829. "type": "number"
  29830. },
  29831. "qtydecimalplace": {
  29832. "description": "成交量小数位",
  29833. "type": "integer"
  29834. },
  29835. "tnqty": {
  29836. "description": "T+N冻结总量",
  29837. "type": "number"
  29838. },
  29839. "tnusedqty": {
  29840. "description": "T+N使用量(可以使用T+N的冻结数量)",
  29841. "type": "number"
  29842. },
  29843. "trademode": {
  29844. "description": "交易模式",
  29845. "type": "integer"
  29846. },
  29847. "usedmargin": {
  29848. "description": "占用保证金[商品币种]",
  29849. "type": "number"
  29850. }
  29851. }
  29852. },
  29853. "quote.HistoryData": {
  29854. "type": "object",
  29855. "properties": {
  29856. "c": {
  29857. "description": "收盘价",
  29858. "type": "number"
  29859. },
  29860. "f": {
  29861. "description": "是否补充数据",
  29862. "type": "boolean"
  29863. },
  29864. "h": {
  29865. "description": "最高价",
  29866. "type": "number"
  29867. },
  29868. "hv": {
  29869. "description": "持仓量",
  29870. "type": "integer"
  29871. },
  29872. "l": {
  29873. "description": "最低价",
  29874. "type": "number"
  29875. },
  29876. "o": {
  29877. "description": "开盘价",
  29878. "type": "number"
  29879. },
  29880. "s": {
  29881. "description": "结算价,日线周期(包括)以上才有",
  29882. "type": "number"
  29883. },
  29884. "ts": {
  29885. "description": "时间",
  29886. "type": "string"
  29887. },
  29888. "tt": {
  29889. "description": "总金额",
  29890. "type": "number"
  29891. },
  29892. "tv": {
  29893. "description": "总量",
  29894. "type": "integer"
  29895. }
  29896. }
  29897. },
  29898. "quote.HistoryTikData": {
  29899. "type": "object",
  29900. "properties": {
  29901. "AV": {
  29902. "description": "卖量",
  29903. "type": "integer"
  29904. },
  29905. "Ask": {
  29906. "description": "卖价",
  29907. "type": "number"
  29908. },
  29909. "BV": {
  29910. "description": "买量",
  29911. "type": "integer"
  29912. },
  29913. "Bid": {
  29914. "description": "买价",
  29915. "type": "number"
  29916. },
  29917. "HI": {
  29918. "description": "单笔持仓",
  29919. "type": "integer"
  29920. },
  29921. "HV": {
  29922. "description": "持仓量",
  29923. "type": "integer"
  29924. },
  29925. "PE": {
  29926. "description": "现价",
  29927. "type": "number"
  29928. },
  29929. "TDR": {
  29930. "description": "交易方向,0:买 1:卖",
  29931. "type": "integer"
  29932. },
  29933. "TK": {
  29934. "description": "交易类型",
  29935. "type": "integer"
  29936. },
  29937. "TS": {
  29938. "description": "行情时间文本",
  29939. "type": "string"
  29940. },
  29941. "TT": {
  29942. "description": "现金额",
  29943. "type": "number"
  29944. },
  29945. "Vol": {
  29946. "description": "现量",
  29947. "type": "integer"
  29948. }
  29949. }
  29950. },
  29951. "quote.QueryQuoteDayRsp": {
  29952. "type": "object",
  29953. "properties": {
  29954. "ask": {
  29955. "description": "卖1",
  29956. "type": "number"
  29957. },
  29958. "ask10": {
  29959. "description": "卖10",
  29960. "type": "number"
  29961. },
  29962. "ask2": {
  29963. "description": "卖2",
  29964. "type": "number"
  29965. },
  29966. "ask3": {
  29967. "description": "卖3",
  29968. "type": "number"
  29969. },
  29970. "ask4": {
  29971. "description": "卖4",
  29972. "type": "number"
  29973. },
  29974. "ask5": {
  29975. "description": "卖5",
  29976. "type": "number"
  29977. },
  29978. "ask6": {
  29979. "description": "卖6",
  29980. "type": "number"
  29981. },
  29982. "ask7": {
  29983. "description": "卖7",
  29984. "type": "number"
  29985. },
  29986. "ask8": {
  29987. "description": "卖8",
  29988. "type": "number"
  29989. },
  29990. "ask9": {
  29991. "description": "卖9",
  29992. "type": "number"
  29993. },
  29994. "askorderid": {
  29995. "description": "卖单号1",
  29996. "type": "integer"
  29997. },
  29998. "askorderid2": {
  29999. "description": "卖单号2",
  30000. "type": "integer"
  30001. },
  30002. "askorderid3": {
  30003. "description": "卖单号3",
  30004. "type": "integer"
  30005. },
  30006. "askorderid4": {
  30007. "description": "卖单号4",
  30008. "type": "integer"
  30009. },
  30010. "askorderid5": {
  30011. "description": "卖单号5",
  30012. "type": "integer"
  30013. },
  30014. "askordervolume": {
  30015. "description": "卖单量1",
  30016. "type": "integer"
  30017. },
  30018. "askordervolume10": {
  30019. "description": "卖单量10",
  30020. "type": "integer"
  30021. },
  30022. "askordervolume2": {
  30023. "description": "卖单量2",
  30024. "type": "integer"
  30025. },
  30026. "askordervolume3": {
  30027. "description": "卖单量3",
  30028. "type": "integer"
  30029. },
  30030. "askordervolume4": {
  30031. "description": "卖单量4",
  30032. "type": "integer"
  30033. },
  30034. "askordervolume5": {
  30035. "description": "卖单量5",
  30036. "type": "integer"
  30037. },
  30038. "askordervolume6": {
  30039. "description": "卖单量6",
  30040. "type": "integer"
  30041. },
  30042. "askordervolume7": {
  30043. "description": "卖单量7",
  30044. "type": "integer"
  30045. },
  30046. "askordervolume8": {
  30047. "description": "卖单量8",
  30048. "type": "integer"
  30049. },
  30050. "askordervolume9": {
  30051. "description": "卖单量9",
  30052. "type": "integer"
  30053. },
  30054. "askqueueinfo": {
  30055. "description": "大利市卖港股用",
  30056. "type": "string"
  30057. },
  30058. "askvolume": {
  30059. "description": "卖量1",
  30060. "type": "integer"
  30061. },
  30062. "askvolume10": {
  30063. "description": "卖量10",
  30064. "type": "integer"
  30065. },
  30066. "askvolume2": {
  30067. "description": "卖量2",
  30068. "type": "integer"
  30069. },
  30070. "askvolume3": {
  30071. "description": "卖量3",
  30072. "type": "integer"
  30073. },
  30074. "askvolume4": {
  30075. "description": "卖量4",
  30076. "type": "integer"
  30077. },
  30078. "askvolume5": {
  30079. "description": "卖量5",
  30080. "type": "integer"
  30081. },
  30082. "askvolume6": {
  30083. "description": "卖量6",
  30084. "type": "integer"
  30085. },
  30086. "askvolume7": {
  30087. "description": "卖量7",
  30088. "type": "integer"
  30089. },
  30090. "askvolume8": {
  30091. "description": "卖量8",
  30092. "type": "integer"
  30093. },
  30094. "askvolume9": {
  30095. "description": "卖量9",
  30096. "type": "integer"
  30097. },
  30098. "averageprice": {
  30099. "description": "均价",
  30100. "type": "number"
  30101. },
  30102. "bid": {
  30103. "description": "买1",
  30104. "type": "number"
  30105. },
  30106. "bid10": {
  30107. "description": "买10",
  30108. "type": "number"
  30109. },
  30110. "bid2": {
  30111. "description": "买2",
  30112. "type": "number"
  30113. },
  30114. "bid3": {
  30115. "description": "买3",
  30116. "type": "number"
  30117. },
  30118. "bid4": {
  30119. "description": "买4",
  30120. "type": "number"
  30121. },
  30122. "bid5": {
  30123. "description": "买5",
  30124. "type": "number"
  30125. },
  30126. "bid6": {
  30127. "description": "买6",
  30128. "type": "number"
  30129. },
  30130. "bid7": {
  30131. "description": "买7",
  30132. "type": "number"
  30133. },
  30134. "bid8": {
  30135. "description": "买8",
  30136. "type": "number"
  30137. },
  30138. "bid9": {
  30139. "description": "买9",
  30140. "type": "number"
  30141. },
  30142. "bidorderid": {
  30143. "description": "买单号1",
  30144. "type": "integer"
  30145. },
  30146. "bidorderid2": {
  30147. "description": "买单号2",
  30148. "type": "integer"
  30149. },
  30150. "bidorderid3": {
  30151. "description": "买单号3",
  30152. "type": "integer"
  30153. },
  30154. "bidorderid4": {
  30155. "description": "买单号4",
  30156. "type": "integer"
  30157. },
  30158. "bidorderid5": {
  30159. "description": "买单号5",
  30160. "type": "integer"
  30161. },
  30162. "bidordervolume": {
  30163. "description": "买单量1",
  30164. "type": "integer"
  30165. },
  30166. "bidordervolume10": {
  30167. "description": "买单量10",
  30168. "type": "integer"
  30169. },
  30170. "bidordervolume2": {
  30171. "description": "买单量2",
  30172. "type": "integer"
  30173. },
  30174. "bidordervolume3": {
  30175. "description": "买单量3",
  30176. "type": "integer"
  30177. },
  30178. "bidordervolume4": {
  30179. "description": "买单量4",
  30180. "type": "integer"
  30181. },
  30182. "bidordervolume5": {
  30183. "description": "买单量5",
  30184. "type": "integer"
  30185. },
  30186. "bidordervolume6": {
  30187. "description": "买单量6",
  30188. "type": "integer"
  30189. },
  30190. "bidordervolume7": {
  30191. "description": "买单量7",
  30192. "type": "integer"
  30193. },
  30194. "bidordervolume8": {
  30195. "description": "买单量8",
  30196. "type": "integer"
  30197. },
  30198. "bidordervolume9": {
  30199. "description": "买单量9",
  30200. "type": "integer"
  30201. },
  30202. "bidqueueinfo": {
  30203. "description": "大利市买港股用",
  30204. "type": "string"
  30205. },
  30206. "bidvolume": {
  30207. "description": "买量1",
  30208. "type": "integer"
  30209. },
  30210. "bidvolume10": {
  30211. "description": "买量10",
  30212. "type": "integer"
  30213. },
  30214. "bidvolume2": {
  30215. "description": "买量2",
  30216. "type": "integer"
  30217. },
  30218. "bidvolume3": {
  30219. "description": "买量3",
  30220. "type": "integer"
  30221. },
  30222. "bidvolume4": {
  30223. "description": "买量4",
  30224. "type": "integer"
  30225. },
  30226. "bidvolume5": {
  30227. "description": "买量5",
  30228. "type": "integer"
  30229. },
  30230. "bidvolume6": {
  30231. "description": "买量6",
  30232. "type": "integer"
  30233. },
  30234. "bidvolume7": {
  30235. "description": "买量7",
  30236. "type": "integer"
  30237. },
  30238. "bidvolume8": {
  30239. "description": "买量8",
  30240. "type": "integer"
  30241. },
  30242. "bidvolume9": {
  30243. "description": "买量9",
  30244. "type": "integer"
  30245. },
  30246. "calloptionpremiums": {
  30247. "description": "认购期权1",
  30248. "type": "integer"
  30249. },
  30250. "calloptionpremiums2": {
  30251. "description": "认购期权2",
  30252. "type": "integer"
  30253. },
  30254. "calloptionpremiums3": {
  30255. "description": "认购期权3",
  30256. "type": "integer"
  30257. },
  30258. "calloptionpremiums4": {
  30259. "description": "认购期权4",
  30260. "type": "integer"
  30261. },
  30262. "calloptionpremiums5": {
  30263. "description": "认购期权5",
  30264. "type": "integer"
  30265. },
  30266. "cleartime": {
  30267. "description": "清盘时间",
  30268. "type": "integer"
  30269. },
  30270. "exchangecode": {
  30271. "description": "交易所代码",
  30272. "type": "integer"
  30273. },
  30274. "exchangedate": {
  30275. "description": "交易日",
  30276. "type": "integer"
  30277. },
  30278. "goodscode": {
  30279. "description": "商品代码",
  30280. "type": "string"
  30281. },
  30282. "grepmarketprice": {
  30283. "description": "暗盘价 港股专用",
  30284. "type": "number"
  30285. },
  30286. "highest": {
  30287. "description": "最高价",
  30288. "type": "number"
  30289. },
  30290. "holdincrement": {
  30291. "description": "单笔持仓",
  30292. "type": "integer"
  30293. },
  30294. "holdvolume": {
  30295. "description": "持仓",
  30296. "type": "integer"
  30297. },
  30298. "iep": {
  30299. "description": "平衡价 港股专用",
  30300. "type": "number"
  30301. },
  30302. "iev": {
  30303. "description": "平衡量 港股专用",
  30304. "type": "number"
  30305. },
  30306. "inventory": {
  30307. "description": "库存",
  30308. "type": "integer"
  30309. },
  30310. "iscleared": {
  30311. "description": "是否清盘标志",
  30312. "type": "integer"
  30313. },
  30314. "issettled": {
  30315. "description": "是否结算标志",
  30316. "type": "integer"
  30317. },
  30318. "last": {
  30319. "description": "最新价",
  30320. "type": "number"
  30321. },
  30322. "lastlot": {
  30323. "description": "最新成交手数",
  30324. "type": "integer"
  30325. },
  30326. "lasttime": {
  30327. "description": "行情时间(只有现价变化行情时间才变化)",
  30328. "type": "string"
  30329. },
  30330. "lastturnover": {
  30331. "description": "最新成交金额",
  30332. "type": "number"
  30333. },
  30334. "lastvolume": {
  30335. "description": "最新成交量",
  30336. "type": "integer"
  30337. },
  30338. "limitdown": {
  30339. "description": "跌停价",
  30340. "type": "number"
  30341. },
  30342. "limitup": {
  30343. "description": "涨停价",
  30344. "type": "number"
  30345. },
  30346. "lowest": {
  30347. "description": "最低价",
  30348. "type": "number"
  30349. },
  30350. "nontotalholdervolume": {
  30351. "description": "非交易持仓量",
  30352. "type": "integer"
  30353. },
  30354. "nontotallot": {
  30355. "description": "非交易总手数",
  30356. "type": "integer"
  30357. },
  30358. "nontotalturnover": {
  30359. "description": "非交易总金额",
  30360. "type": "integer"
  30361. },
  30362. "nontotalvolume": {
  30363. "description": "非交易总量",
  30364. "type": "integer"
  30365. },
  30366. "opened": {
  30367. "description": "开盘价",
  30368. "type": "number"
  30369. },
  30370. "opentime": {
  30371. "description": "开盘时间",
  30372. "type": "string"
  30373. },
  30374. "orderid": {
  30375. "description": "序号",
  30376. "type": "integer"
  30377. },
  30378. "preclose": {
  30379. "description": "昨收",
  30380. "type": "number"
  30381. },
  30382. "preholdvolume": {
  30383. "description": "昨持仓",
  30384. "type": "integer"
  30385. },
  30386. "presettle": {
  30387. "description": "昨结价",
  30388. "type": "number"
  30389. },
  30390. "publictradetype": {
  30391. "description": "公共交易标志类型 港股专用",
  30392. "type": "string"
  30393. },
  30394. "putoptionpremiums": {
  30395. "description": "认沽期权1",
  30396. "type": "integer"
  30397. },
  30398. "putoptionpremiums2": {
  30399. "description": "认沽期权2",
  30400. "type": "integer"
  30401. },
  30402. "putoptionpremiums3": {
  30403. "description": "认沽期权3",
  30404. "type": "integer"
  30405. },
  30406. "putoptionpremiums4": {
  30407. "description": "认沽期权4",
  30408. "type": "integer"
  30409. },
  30410. "putoptionpremiums5": {
  30411. "description": "认沽期权5",
  30412. "type": "integer"
  30413. },
  30414. "settle": {
  30415. "description": "结算价",
  30416. "type": "number"
  30417. },
  30418. "strikeprice": {
  30419. "description": "发行价",
  30420. "type": "number"
  30421. },
  30422. "totalaskvolume": {
  30423. "description": "内盘",
  30424. "type": "integer"
  30425. },
  30426. "totalbidvolume": {
  30427. "description": "外盘",
  30428. "type": "integer"
  30429. },
  30430. "totallot": {
  30431. "description": "总手数",
  30432. "type": "integer"
  30433. },
  30434. "totalturnover": {
  30435. "description": "总金额",
  30436. "type": "number"
  30437. },
  30438. "totalvolume": {
  30439. "description": "总量",
  30440. "type": "integer"
  30441. },
  30442. "utclasttime": {
  30443. "description": "utc的行情时间",
  30444. "type": "string"
  30445. }
  30446. }
  30447. },
  30448. "quote.QueryTSDataRsp": {
  30449. "type": "object",
  30450. "properties": {
  30451. "Count": {
  30452. "description": "交易日应有数据个数",
  30453. "type": "integer"
  30454. },
  30455. "decimalPlace": {
  30456. "description": "小数位",
  30457. "type": "integer"
  30458. },
  30459. "endTime": {
  30460. "description": "结束时间",
  30461. "type": "string"
  30462. },
  30463. "goodsCode": {
  30464. "description": "商品代码",
  30465. "type": "string"
  30466. },
  30467. "historyDatas": {
  30468. "description": "历史数据",
  30469. "type": "array",
  30470. "items": {
  30471. "$ref": "#/definitions/quote.HistoryData"
  30472. }
  30473. },
  30474. "outGoodsCode": {
  30475. "description": "外部商品代码",
  30476. "type": "string"
  30477. },
  30478. "preSettle": {
  30479. "description": "昨结价",
  30480. "type": "number"
  30481. },
  30482. "runSteps": {
  30483. "description": "交易日开休市计划",
  30484. "type": "array",
  30485. "items": {
  30486. "$ref": "#/definitions/quote.TSDataRunStep"
  30487. }
  30488. },
  30489. "startTime": {
  30490. "description": "开始时间",
  30491. "type": "string"
  30492. },
  30493. "tradeDate": {
  30494. "description": "交易日",
  30495. "type": "string"
  30496. }
  30497. }
  30498. },
  30499. "quote.TSDataRunStep": {
  30500. "type": "object",
  30501. "properties": {
  30502. "end": {
  30503. "description": "真实结束时间",
  30504. "type": "string"
  30505. },
  30506. "endflag": {
  30507. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  30508. "type": "integer"
  30509. },
  30510. "endtime": {
  30511. "description": "结束时间(HH:mm)",
  30512. "type": "string"
  30513. },
  30514. "endweekday": {
  30515. "description": "结束周几",
  30516. "type": "integer"
  30517. },
  30518. "groupid": {
  30519. "description": "分组ID",
  30520. "type": "integer"
  30521. },
  30522. "runstep": {
  30523. "description": "运行阶段 - 2:连续交易",
  30524. "type": "integer"
  30525. },
  30526. "sectionid": {
  30527. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  30528. "type": "integer"
  30529. },
  30530. "start": {
  30531. "description": "真实开始时间",
  30532. "type": "string"
  30533. },
  30534. "startflag": {
  30535. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  30536. "type": "integer"
  30537. },
  30538. "starttime": {
  30539. "description": "起始时间(HH:mm)",
  30540. "type": "string"
  30541. },
  30542. "startweekday": {
  30543. "description": "起始周几",
  30544. "type": "integer"
  30545. },
  30546. "tradeweekday": {
  30547. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  30548. "type": "integer"
  30549. }
  30550. }
  30551. },
  30552. "szdz.QueryConvertLogRsp": {
  30553. "type": "object",
  30554. "required": [
  30555. "logid"
  30556. ],
  30557. "properties": {
  30558. "accountid": {
  30559. "description": "资金账户ID",
  30560. "type": "integer"
  30561. },
  30562. "clientticket": {
  30563. "description": "客户端流水号",
  30564. "type": "string"
  30565. },
  30566. "converttype": {
  30567. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  30568. "type": "integer"
  30569. },
  30570. "createtime": {
  30571. "description": "记账时间",
  30572. "type": "string"
  30573. },
  30574. "daymaxvalue": {
  30575. "description": "配置当日最大转入限制",
  30576. "type": "number"
  30577. },
  30578. "daymaxvalue2": {
  30579. "description": "配置当日最大转入限制(转入)",
  30580. "type": "number"
  30581. },
  30582. "goodscode": {
  30583. "description": "商品代码",
  30584. "type": "string"
  30585. },
  30586. "goodsname": {
  30587. "description": "商品名称",
  30588. "type": "string"
  30589. },
  30590. "handlestatus": {
  30591. "description": "处理状态",
  30592. "type": "integer"
  30593. },
  30594. "innergoodsid": {
  30595. "description": "内部商品ID",
  30596. "type": "integer"
  30597. },
  30598. "inratio": {
  30599. "description": "配置转入比值",
  30600. "type": "integer"
  30601. },
  30602. "invalue": {
  30603. "description": "目标值",
  30604. "type": "number"
  30605. },
  30606. "logid": {
  30607. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30608. "type": "integer"
  30609. },
  30610. "mobile": {
  30611. "description": "手机号码(加密存储)",
  30612. "type": "string"
  30613. },
  30614. "outergoodscode": {
  30615. "description": "外部商品代码[JD\\PD]",
  30616. "type": "string"
  30617. },
  30618. "outratio": {
  30619. "description": "配置转出比值",
  30620. "type": "integer"
  30621. },
  30622. "outvalue": {
  30623. "description": "源值",
  30624. "type": "number"
  30625. },
  30626. "pddecimalplace": {
  30627. "description": "PD小数位",
  30628. "type": "integer"
  30629. },
  30630. "qty": {
  30631. "description": "数量",
  30632. "type": "string"
  30633. },
  30634. "remark": {
  30635. "description": "备注",
  30636. "type": "string"
  30637. },
  30638. "sessionid": {
  30639. "description": "会话ID",
  30640. "type": "integer"
  30641. },
  30642. "timemaxvalue": {
  30643. "description": "配置单次最大转入限制",
  30644. "type": "number"
  30645. },
  30646. "timemaxvalue2": {
  30647. "description": "配置单次最大转入限制(转入)",
  30648. "type": "number"
  30649. },
  30650. "timeminvalue": {
  30651. "description": "配置单次最小数量限制",
  30652. "type": "number"
  30653. },
  30654. "timeminvalue2": {
  30655. "description": "配置单次最小数量限制(转入)",
  30656. "type": "number"
  30657. },
  30658. "tradedate": {
  30659. "description": "交易日(yyyyMMdd)",
  30660. "type": "string"
  30661. },
  30662. "userid": {
  30663. "description": "用户ID",
  30664. "type": "integer"
  30665. }
  30666. }
  30667. },
  30668. "szdz.QueryGoodsPickupRsp": {
  30669. "type": "object",
  30670. "required": [
  30671. "takeorderid"
  30672. ],
  30673. "properties": {
  30674. "accountid": {
  30675. "description": "账户ID",
  30676. "type": "integer"
  30677. },
  30678. "address": {
  30679. "description": "提货人详细地址",
  30680. "type": "string"
  30681. },
  30682. "auditer": {
  30683. "description": "审核人",
  30684. "type": "integer"
  30685. },
  30686. "audittime": {
  30687. "description": "审核时间",
  30688. "type": "string"
  30689. },
  30690. "cardnum": {
  30691. "description": "提货人证件号码",
  30692. "type": "string"
  30693. },
  30694. "cardtypeid": {
  30695. "description": "提货人证件类型",
  30696. "type": "integer"
  30697. },
  30698. "checkremark": {
  30699. "description": "审核备注",
  30700. "type": "string"
  30701. },
  30702. "goodscode": {
  30703. "description": "商品代码",
  30704. "type": "string"
  30705. },
  30706. "goodsid": {
  30707. "description": "商品ID",
  30708. "type": "integer"
  30709. },
  30710. "goodsname": {
  30711. "description": "商品名称",
  30712. "type": "string"
  30713. },
  30714. "handlestatus": {
  30715. "description": "处理状态",
  30716. "type": "integer"
  30717. },
  30718. "marketid": {
  30719. "description": "市场ID",
  30720. "type": "integer"
  30721. },
  30722. "phonenum": {
  30723. "description": "提货人联系方式",
  30724. "type": "string"
  30725. },
  30726. "qty": {
  30727. "description": "提货数量",
  30728. "type": "number"
  30729. },
  30730. "recivername": {
  30731. "description": "提货人姓名",
  30732. "type": "string"
  30733. },
  30734. "reqtime": {
  30735. "description": "更新时间",
  30736. "type": "string"
  30737. },
  30738. "takemode": {
  30739. "description": "提货方式 - 2:自提 3:配送",
  30740. "type": "integer"
  30741. },
  30742. "takeorderid": {
  30743. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  30744. "type": "string"
  30745. },
  30746. "takeorderstatus": {
  30747. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  30748. "type": "integer"
  30749. },
  30750. "takeremark": {
  30751. "description": "提货备注",
  30752. "type": "string"
  30753. },
  30754. "tradedate": {
  30755. "description": "交易日(yyyyMMdd)",
  30756. "type": "string"
  30757. },
  30758. "userid": {
  30759. "description": "用户ID",
  30760. "type": "integer"
  30761. }
  30762. }
  30763. },
  30764. "szdz.QueryRecieptOrderRsp": {
  30765. "type": "object",
  30766. "required": [
  30767. "ordertime"
  30768. ],
  30769. "properties": {
  30770. "accountName": {
  30771. "description": "所属账号名称(已脱敏)",
  30772. "type": "string"
  30773. },
  30774. "accountid": {
  30775. "description": "资金账号",
  30776. "type": "integer"
  30777. },
  30778. "buyorsell": {
  30779. "description": "方向 - 0:买 1:卖",
  30780. "type": "integer"
  30781. },
  30782. "enableqty": {
  30783. "description": "可摘数量",
  30784. "type": "integer"
  30785. },
  30786. "goodscode": {
  30787. "description": "商品代码",
  30788. "type": "string"
  30789. },
  30790. "goodsid": {
  30791. "description": "商品ID",
  30792. "type": "integer"
  30793. },
  30794. "goodsname": {
  30795. "description": "商品名称",
  30796. "type": "string"
  30797. },
  30798. "orderid": {
  30799. "description": "委托单号",
  30800. "type": "string"
  30801. },
  30802. "orderprice": {
  30803. "description": "委托价格",
  30804. "type": "number"
  30805. },
  30806. "ordertime": {
  30807. "description": "委托时间",
  30808. "type": "string"
  30809. },
  30810. "tradedate": {
  30811. "description": "交易日(yyyyMMdd)",
  30812. "type": "string"
  30813. }
  30814. }
  30815. },
  30816. "szdz.QuerySZDZTradePositionRsp": {
  30817. "type": "object",
  30818. "properties": {
  30819. "accountid": {
  30820. "description": "账号Id",
  30821. "type": "integer"
  30822. },
  30823. "agreeunit": {
  30824. "description": "合约单位",
  30825. "type": "number"
  30826. },
  30827. "averageprice": {
  30828. "description": "持仓均价",
  30829. "type": "number"
  30830. },
  30831. "buyorsell": {
  30832. "description": "方向 - 0:买 1:卖",
  30833. "type": "integer"
  30834. },
  30835. "closetotalqty": {
  30836. "description": "平仓总数量",
  30837. "type": "integer"
  30838. },
  30839. "curholderamount": {
  30840. "description": "当前持仓总金额",
  30841. "type": "number"
  30842. },
  30843. "curpositionqty": {
  30844. "description": "当前持仓总数量",
  30845. "type": "integer"
  30846. },
  30847. "currencyid": {
  30848. "description": "报价货币ID",
  30849. "type": "integer"
  30850. },
  30851. "curtdposition": {
  30852. "description": "期末今日头寸",
  30853. "type": "integer"
  30854. },
  30855. "decimalplace": {
  30856. "description": "报价小数位",
  30857. "type": "integer"
  30858. },
  30859. "enableqty": {
  30860. "description": "可用量",
  30861. "type": "integer"
  30862. },
  30863. "fretdposition": {
  30864. "description": "冻结今日头寸",
  30865. "type": "integer"
  30866. },
  30867. "frozenqty": {
  30868. "description": "持仓冻结数量",
  30869. "type": "integer"
  30870. },
  30871. "goodscode": {
  30872. "description": "商品代码(内部)",
  30873. "type": "string"
  30874. },
  30875. "goodsid": {
  30876. "description": "商品Id",
  30877. "type": "integer"
  30878. },
  30879. "goodsname": {
  30880. "description": "商品名称",
  30881. "type": "string"
  30882. },
  30883. "goodunit": {
  30884. "description": "报价单位",
  30885. "type": "string"
  30886. },
  30887. "goodunitid": {
  30888. "description": "报价单位ID",
  30889. "type": "integer"
  30890. },
  30891. "holderamount": {
  30892. "description": "期初持仓总金额",
  30893. "type": "number"
  30894. },
  30895. "marketid": {
  30896. "description": "市场ID",
  30897. "type": "integer"
  30898. },
  30899. "openreqqty": {
  30900. "description": "开仓申请数量",
  30901. "type": "integer"
  30902. },
  30903. "opentotalqty": {
  30904. "description": "开仓总数量",
  30905. "type": "integer"
  30906. },
  30907. "otherfrozenqty": {
  30908. "description": "持仓其他冻结数量(交割冻结)",
  30909. "type": "integer"
  30910. },
  30911. "positionqty": {
  30912. "description": "期初持仓数量",
  30913. "type": "integer"
  30914. },
  30915. "szdz3freezqty": {
  30916. "description": "尚志大宗转换冻结总数量",
  30917. "type": "integer"
  30918. },
  30919. "tnqty": {
  30920. "description": "T+N冻结总量",
  30921. "type": "integer"
  30922. },
  30923. "tnusedqty": {
  30924. "description": "T+N使用量",
  30925. "type": "integer"
  30926. },
  30927. "trademode": {
  30928. "description": "交易模式",
  30929. "type": "integer"
  30930. },
  30931. "usedmargin": {
  30932. "description": "占用保证金",
  30933. "type": "number"
  30934. }
  30935. }
  30936. },
  30937. "taaccount.QueryAmountLogRsp": {
  30938. "type": "object",
  30939. "required": [
  30940. "accountid",
  30941. "amount",
  30942. "amountadjusttype",
  30943. "autoid",
  30944. "balance",
  30945. "createtime",
  30946. "currentbalance",
  30947. "operatetype"
  30948. ],
  30949. "properties": {
  30950. "OPERATETYPENAME": {
  30951. "description": "资金操作类型名称",
  30952. "type": "string"
  30953. },
  30954. "accountid": {
  30955. "description": "资金账户ID",
  30956. "type": "integer"
  30957. },
  30958. "agoodscode": {
  30959. "description": "竞拍商品代码",
  30960. "type": "string"
  30961. },
  30962. "agoodsname": {
  30963. "description": "竞拍商品名称",
  30964. "type": "string"
  30965. },
  30966. "amount": {
  30967. "description": "资金金额",
  30968. "type": "number"
  30969. },
  30970. "amountadjusttype": {
  30971. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  30972. "type": "integer"
  30973. },
  30974. "autoid": {
  30975. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  30976. "type": "integer"
  30977. },
  30978. "balance": {
  30979. "description": "期初余额",
  30980. "type": "number"
  30981. },
  30982. "businesscode": {
  30983. "description": "业务编号",
  30984. "type": "integer"
  30985. },
  30986. "createtime": {
  30987. "description": "发生时间",
  30988. "type": "string"
  30989. },
  30990. "currencyid": {
  30991. "description": "币种ID",
  30992. "type": "integer"
  30993. },
  30994. "currentbalance": {
  30995. "description": "期末余额(变动后金额)",
  30996. "type": "number"
  30997. },
  30998. "dgoodscode": {
  30999. "description": "交割商品代码",
  31000. "type": "string"
  31001. },
  31002. "dgoodsname": {
  31003. "description": "交割商品名称",
  31004. "type": "string"
  31005. },
  31006. "goodscode": {
  31007. "description": "商品代码",
  31008. "type": "string"
  31009. },
  31010. "goodsid": {
  31011. "description": "商品ID",
  31012. "type": "integer"
  31013. },
  31014. "goodsname": {
  31015. "description": "商品名称",
  31016. "type": "string"
  31017. },
  31018. "marketid": {
  31019. "description": "市场ID",
  31020. "type": "integer"
  31021. },
  31022. "marketname": {
  31023. "description": "市场名称",
  31024. "type": "string"
  31025. },
  31026. "moneyticket": {
  31027. "description": "资金流水号:银行端流水号",
  31028. "type": "integer"
  31029. },
  31030. "operatetype": {
  31031. "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:营销收款",
  31032. "type": "integer"
  31033. },
  31034. "relationorderid": {
  31035. "description": "关联单号",
  31036. "type": "string"
  31037. },
  31038. "remark": {
  31039. "description": "备注",
  31040. "type": "string"
  31041. },
  31042. "trademode": {
  31043. "description": "交易模式",
  31044. "type": "integer"
  31045. }
  31046. }
  31047. },
  31048. "taaccount.QueryHisAmountLogRsp": {
  31049. "type": "object",
  31050. "required": [
  31051. "accountid",
  31052. "amount",
  31053. "amountadjusttype",
  31054. "autoid",
  31055. "balance",
  31056. "createtime",
  31057. "currentbalance",
  31058. "histradedate",
  31059. "operatetype"
  31060. ],
  31061. "properties": {
  31062. "OPERATETYPENAME": {
  31063. "description": "资金操作类型名称",
  31064. "type": "string"
  31065. },
  31066. "accountid": {
  31067. "description": "资金账户ID",
  31068. "type": "integer"
  31069. },
  31070. "agoodscode": {
  31071. "description": "竞拍商品代码",
  31072. "type": "string"
  31073. },
  31074. "agoodsname": {
  31075. "description": "竞拍商品名称",
  31076. "type": "string"
  31077. },
  31078. "amount": {
  31079. "description": "资金金额",
  31080. "type": "number"
  31081. },
  31082. "amountadjusttype": {
  31083. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  31084. "type": "integer"
  31085. },
  31086. "autoid": {
  31087. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  31088. "type": "integer"
  31089. },
  31090. "balance": {
  31091. "description": "期初余额",
  31092. "type": "number"
  31093. },
  31094. "businesscode": {
  31095. "description": "业务编号",
  31096. "type": "integer"
  31097. },
  31098. "createtime": {
  31099. "description": "发生时间",
  31100. "type": "string"
  31101. },
  31102. "currencyid": {
  31103. "description": "币种ID",
  31104. "type": "integer"
  31105. },
  31106. "currentbalance": {
  31107. "description": "期末余额(变动后金额)",
  31108. "type": "number"
  31109. },
  31110. "dgoodscode": {
  31111. "description": "交割商品代码",
  31112. "type": "string"
  31113. },
  31114. "dgoodsname": {
  31115. "description": "交割商品名称",
  31116. "type": "string"
  31117. },
  31118. "goodscode": {
  31119. "description": "商品代码",
  31120. "type": "string"
  31121. },
  31122. "goodsid": {
  31123. "description": "商品ID",
  31124. "type": "integer"
  31125. },
  31126. "goodsname": {
  31127. "description": "商品名称",
  31128. "type": "string"
  31129. },
  31130. "histradedate": {
  31131. "description": "历史交易日",
  31132. "type": "string"
  31133. },
  31134. "isvaliddata": {
  31135. "description": "是否有效 - 0:无效 1:有效",
  31136. "type": "integer"
  31137. },
  31138. "marketid": {
  31139. "description": "市场ID",
  31140. "type": "integer"
  31141. },
  31142. "marketname": {
  31143. "description": "市场名称",
  31144. "type": "string"
  31145. },
  31146. "moneyticket": {
  31147. "description": "资金流水号:银行端流水号",
  31148. "type": "integer"
  31149. },
  31150. "operatetype": {
  31151. "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:营销收款",
  31152. "type": "integer"
  31153. },
  31154. "relationorderid": {
  31155. "description": "关联单号",
  31156. "type": "string"
  31157. },
  31158. "remark": {
  31159. "description": "备注",
  31160. "type": "string"
  31161. },
  31162. "trademode": {
  31163. "description": "交易模式",
  31164. "type": "integer"
  31165. }
  31166. }
  31167. },
  31168. "trade.QueryRecieptOrderRsp": {
  31169. "type": "object",
  31170. "required": [
  31171. "ordertime"
  31172. ],
  31173. "properties": {
  31174. "accountName": {
  31175. "description": "所属账号名称(已脱敏)",
  31176. "type": "string"
  31177. },
  31178. "accountid": {
  31179. "description": "资金账号",
  31180. "type": "integer"
  31181. },
  31182. "buyorsell": {
  31183. "description": "方向 - 0:买 1:卖",
  31184. "type": "integer"
  31185. },
  31186. "enableqty": {
  31187. "description": "可摘数量",
  31188. "type": "integer"
  31189. },
  31190. "goodscode": {
  31191. "description": "商品代码",
  31192. "type": "string"
  31193. },
  31194. "goodsid": {
  31195. "description": "商品ID",
  31196. "type": "integer"
  31197. },
  31198. "goodsname": {
  31199. "description": "商品名称",
  31200. "type": "string"
  31201. },
  31202. "orderid": {
  31203. "description": "委托单号",
  31204. "type": "string"
  31205. },
  31206. "orderprice": {
  31207. "description": "委托价格",
  31208. "type": "number"
  31209. },
  31210. "ordertime": {
  31211. "description": "委托时间",
  31212. "type": "string"
  31213. },
  31214. "tradedate": {
  31215. "description": "交易日(yyyyMMdd)",
  31216. "type": "string"
  31217. }
  31218. }
  31219. },
  31220. "user.LoginQueryRsp": {
  31221. "type": "object",
  31222. "properties": {
  31223. "areaRoles": {
  31224. "description": "所属角色信息",
  31225. "type": "array",
  31226. "items": {
  31227. "$ref": "#/definitions/models.Arearole"
  31228. }
  31229. },
  31230. "externalExchanges": {
  31231. "description": "外部交易所",
  31232. "type": "array",
  31233. "items": {
  31234. "$ref": "#/definitions/models.Externalexchange"
  31235. }
  31236. },
  31237. "goodsgroups": {
  31238. "description": "商品组",
  31239. "type": "array",
  31240. "items": {
  31241. "$ref": "#/definitions/models.Goodsgroup"
  31242. }
  31243. },
  31244. "loginAccount": {
  31245. "description": "登录账号",
  31246. "type": "object",
  31247. "$ref": "#/definitions/models.Loginaccount"
  31248. },
  31249. "markets": {
  31250. "description": "市场",
  31251. "type": "array",
  31252. "items": {
  31253. "$ref": "#/definitions/models.Market"
  31254. }
  31255. },
  31256. "systemParams": {
  31257. "description": "系统参数",
  31258. "type": "array",
  31259. "items": {
  31260. "$ref": "#/definitions/models.Systemparam"
  31261. }
  31262. },
  31263. "userAccount": {
  31264. "description": "用户账号",
  31265. "type": "object",
  31266. "$ref": "#/definitions/models.Useraccount"
  31267. },
  31268. "userInfo": {
  31269. "description": "用户信息",
  31270. "type": "object",
  31271. "$ref": "#/definitions/models.Userinfo"
  31272. },
  31273. "username": {
  31274. "description": "用户姓名",
  31275. "type": "string"
  31276. }
  31277. }
  31278. }
  31279. },
  31280. "securityDefinitions": {
  31281. "ApiKeyAuth": {
  31282. "type": "apiKey",
  31283. "name": "Authorization",
  31284. "in": "header"
  31285. }
  31286. }
  31287. }`
  31288. type swaggerInfo struct {
  31289. Version string
  31290. Host string
  31291. BasePath string
  31292. Schemes []string
  31293. Title string
  31294. Description string
  31295. }
  31296. // SwaggerInfo holds exported Swagger Info so clients can modify it
  31297. var SwaggerInfo = swaggerInfo{
  31298. Version: "1.0",
  31299. Host: "",
  31300. BasePath: "/api",
  31301. Schemes: []string{},
  31302. Title: "MTP2.0 查询服务 API",
  31303. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  31304. }
  31305. type s struct{}
  31306. func (s *s) ReadDoc() string {
  31307. sInfo := SwaggerInfo
  31308. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  31309. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  31310. "marshal": func(v interface{}) string {
  31311. a, _ := json.Marshal(v)
  31312. return string(a)
  31313. },
  31314. }).Parse(doc)
  31315. if err != nil {
  31316. return doc
  31317. }
  31318. var tpl bytes.Buffer
  31319. if err := t.Execute(&tpl, sInfo); err != nil {
  31320. return doc
  31321. }
  31322. return tpl.String()
  31323. }
  31324. func init() {
  31325. swag.Register(swag.Name, &s{})
  31326. }