docs.go 1.1 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577
  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. "required": true
  3843. }
  3844. ],
  3845. "responses": {
  3846. "200": {
  3847. "description": "OK",
  3848. "schema": {
  3849. "type": "array",
  3850. "items": {
  3851. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3852. }
  3853. }
  3854. },
  3855. "500": {
  3856. "description": "Internal Server Error",
  3857. "schema": {
  3858. "$ref": "#/definitions/app.Response"
  3859. }
  3860. }
  3861. }
  3862. }
  3863. },
  3864. "/Ermcp3/QueryDGFactoryItem": {
  3865. "get": {
  3866. "security": [
  3867. {
  3868. "ApiKeyAuth": []
  3869. }
  3870. ],
  3871. "produces": [
  3872. "application/json"
  3873. ],
  3874. "tags": [
  3875. "企业风险管理v3(app)"
  3876. ],
  3877. "summary": "查询品种要素定义项",
  3878. "parameters": [
  3879. {
  3880. "type": "integer",
  3881. "description": "用户id",
  3882. "name": "userid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "用户类型 2-机构 7-企业成员",
  3888. "name": "usertype",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3894. "name": "dgfactoryitemid",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "现货品种ID",
  3900. "name": "deliverygoodsid",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "要素项类型",
  3906. "name": "dgfactoryitemtypeid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "顺序",
  3912. "name": "orderindex",
  3913. "in": "query"
  3914. }
  3915. ],
  3916. "responses": {
  3917. "200": {
  3918. "description": "OK",
  3919. "schema": {
  3920. "type": "array",
  3921. "items": {
  3922. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3923. }
  3924. }
  3925. },
  3926. "500": {
  3927. "description": "Internal Server Error",
  3928. "schema": {
  3929. "$ref": "#/definitions/app.Response"
  3930. }
  3931. }
  3932. }
  3933. }
  3934. },
  3935. "/Ermcp3/QueryDeliveryGoods": {
  3936. "get": {
  3937. "security": [
  3938. {
  3939. "ApiKeyAuth": []
  3940. }
  3941. ],
  3942. "produces": [
  3943. "application/json"
  3944. ],
  3945. "tags": [
  3946. "企业风险管理v3(app)"
  3947. ],
  3948. "summary": "查询现货商品",
  3949. "parameters": [
  3950. {
  3951. "type": "integer",
  3952. "description": "用户id",
  3953. "name": "userid",
  3954. "in": "query",
  3955. "required": true
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "用户类型 2-机构 7-企业成员",
  3960. "name": "usertype",
  3961. "in": "query"
  3962. },
  3963. {
  3964. "type": "integer",
  3965. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3966. "name": "excludecfg",
  3967. "in": "query"
  3968. }
  3969. ],
  3970. "responses": {
  3971. "200": {
  3972. "description": "OK",
  3973. "schema": {
  3974. "type": "array",
  3975. "items": {
  3976. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3977. }
  3978. }
  3979. },
  3980. "500": {
  3981. "description": "Internal Server Error",
  3982. "schema": {
  3983. "$ref": "#/definitions/app.Response"
  3984. }
  3985. }
  3986. }
  3987. }
  3988. },
  3989. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3990. "get": {
  3991. "security": [
  3992. {
  3993. "ApiKeyAuth": []
  3994. }
  3995. ],
  3996. "produces": [
  3997. "application/json"
  3998. ],
  3999. "tags": [
  4000. "企业风险管理v3(app)"
  4001. ],
  4002. "summary": "查询现货商品详情",
  4003. "parameters": [
  4004. {
  4005. "type": "integer",
  4006. "description": "用户id",
  4007. "name": "userid",
  4008. "in": "query",
  4009. "required": true
  4010. },
  4011. {
  4012. "type": "integer",
  4013. "description": "用户类型 2-机构 7-企业成员",
  4014. "name": "usertype",
  4015. "in": "query"
  4016. },
  4017. {
  4018. "type": "integer",
  4019. "description": "现货商品id",
  4020. "name": "deliverygoodsid",
  4021. "in": "query"
  4022. }
  4023. ],
  4024. "responses": {
  4025. "200": {
  4026. "description": "OK",
  4027. "schema": {
  4028. "type": "array",
  4029. "items": {
  4030. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4031. }
  4032. }
  4033. },
  4034. "500": {
  4035. "description": "Internal Server Error",
  4036. "schema": {
  4037. "$ref": "#/definitions/app.Response"
  4038. }
  4039. }
  4040. }
  4041. }
  4042. },
  4043. "/Ermcp3/QueryExposureDetail": {
  4044. "get": {
  4045. "security": [
  4046. {
  4047. "ApiKeyAuth": []
  4048. }
  4049. ],
  4050. "produces": [
  4051. "application/json"
  4052. ],
  4053. "tags": [
  4054. "企业风险管理v3(app)"
  4055. ],
  4056. "summary": "查询敞口现货明细",
  4057. "parameters": [
  4058. {
  4059. "type": "integer",
  4060. "description": "用户id",
  4061. "name": "userid",
  4062. "in": "query",
  4063. "required": true
  4064. },
  4065. {
  4066. "type": "integer",
  4067. "description": "用户类型 2-机构 7-企业成员",
  4068. "name": "usertype",
  4069. "in": "query"
  4070. },
  4071. {
  4072. "type": "integer",
  4073. "description": "套保商品",
  4074. "name": "middlegoodsid",
  4075. "in": "query",
  4076. "required": true
  4077. }
  4078. ],
  4079. "responses": {
  4080. "200": {
  4081. "description": "OK",
  4082. "schema": {
  4083. "type": "array",
  4084. "items": {
  4085. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4086. }
  4087. }
  4088. },
  4089. "500": {
  4090. "description": "Internal Server Error",
  4091. "schema": {
  4092. "$ref": "#/definitions/app.Response"
  4093. }
  4094. }
  4095. }
  4096. }
  4097. },
  4098. "/Ermcp3/QueryExposureSpot": {
  4099. "get": {
  4100. "security": [
  4101. {
  4102. "ApiKeyAuth": []
  4103. }
  4104. ],
  4105. "produces": [
  4106. "application/json"
  4107. ],
  4108. "tags": [
  4109. "企业风险管理v3(app)"
  4110. ],
  4111. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4112. "parameters": [
  4113. {
  4114. "type": "integer",
  4115. "description": "用户id",
  4116. "name": "userid",
  4117. "in": "query",
  4118. "required": true
  4119. },
  4120. {
  4121. "type": "integer",
  4122. "description": "用户类型 2-机构 7-企业成员",
  4123. "name": "usertype",
  4124. "in": "query"
  4125. }
  4126. ],
  4127. "responses": {
  4128. "200": {
  4129. "description": "OK",
  4130. "schema": {
  4131. "type": "array",
  4132. "items": {
  4133. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4134. }
  4135. }
  4136. },
  4137. "500": {
  4138. "description": "Internal Server Error",
  4139. "schema": {
  4140. "$ref": "#/definitions/app.Response"
  4141. }
  4142. }
  4143. }
  4144. }
  4145. },
  4146. "/Ermcp3/QueryExposureSpotDetail": {
  4147. "get": {
  4148. "security": [
  4149. {
  4150. "ApiKeyAuth": []
  4151. }
  4152. ],
  4153. "produces": [
  4154. "application/json"
  4155. ],
  4156. "tags": [
  4157. "企业风险管理v3(app)"
  4158. ],
  4159. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4160. "parameters": [
  4161. {
  4162. "type": "integer",
  4163. "description": "用户id",
  4164. "name": "userid",
  4165. "in": "query",
  4166. "required": true
  4167. },
  4168. {
  4169. "type": "integer",
  4170. "description": "用户类型 2-机构 7-企业成员",
  4171. "name": "usertype",
  4172. "in": "query"
  4173. },
  4174. {
  4175. "type": "integer",
  4176. "description": "现货品种ID",
  4177. "name": "deliverygoodsid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryGoodsGroup": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询期货商品组",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户id",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "排除套保品中已关联的商品组 1-排除",
  4232. "name": "excludecfg",
  4233. "in": "query"
  4234. }
  4235. ],
  4236. "responses": {
  4237. "200": {
  4238. "description": "OK",
  4239. "schema": {
  4240. "type": "array",
  4241. "items": {
  4242. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4243. }
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Ermcp3/QueryGoodsWrstandard": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "企业风险管理v3(app)"
  4267. ],
  4268. "summary": "查询商品品类",
  4269. "parameters": [
  4270. {
  4271. "type": "integer",
  4272. "description": "用户id",
  4273. "name": "userid",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "用户类型 2-机构 7-企业成员",
  4280. "name": "usertype",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "现货商品id",
  4286. "name": "deliverygoodsid",
  4287. "in": "query"
  4288. }
  4289. ],
  4290. "responses": {
  4291. "200": {
  4292. "description": "OK",
  4293. "schema": {
  4294. "type": "array",
  4295. "items": {
  4296. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4297. }
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/Ermcp3/QueryGoodsbrand": {
  4310. "get": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "企业风险管理v3(app)"
  4321. ],
  4322. "summary": "查询商品品牌",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "用户id",
  4327. "name": "userid",
  4328. "in": "query",
  4329. "required": true
  4330. },
  4331. {
  4332. "type": "integer",
  4333. "description": "用户类型 2-机构 7-企业成员",
  4334. "name": "usertype",
  4335. "in": "query"
  4336. }
  4337. ],
  4338. "responses": {
  4339. "200": {
  4340. "description": "OK",
  4341. "schema": {
  4342. "type": "array",
  4343. "items": {
  4344. "$ref": "#/definitions/models.Ermcp3Brand"
  4345. }
  4346. }
  4347. },
  4348. "500": {
  4349. "description": "Internal Server Error",
  4350. "schema": {
  4351. "$ref": "#/definitions/app.Response"
  4352. }
  4353. }
  4354. }
  4355. }
  4356. },
  4357. "/Ermcp3/QueryHedgePlan": {
  4358. "get": {
  4359. "security": [
  4360. {
  4361. "ApiKeyAuth": []
  4362. }
  4363. ],
  4364. "produces": [
  4365. "application/json"
  4366. ],
  4367. "tags": [
  4368. "企业风险管理v3(app)"
  4369. ],
  4370. "summary": "查询套保计划",
  4371. "parameters": [
  4372. {
  4373. "type": "integer",
  4374. "description": "用户ID",
  4375. "name": "userid",
  4376. "in": "query",
  4377. "required": true
  4378. },
  4379. {
  4380. "type": "integer",
  4381. "description": "用户类型 2-机构 7-企业成员",
  4382. "name": "usertype",
  4383. "in": "query"
  4384. },
  4385. {
  4386. "type": "string",
  4387. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4388. "name": "hedgeplanstatus",
  4389. "in": "query",
  4390. "required": true
  4391. }
  4392. ],
  4393. "responses": {
  4394. "200": {
  4395. "description": "OK",
  4396. "schema": {
  4397. "type": "array",
  4398. "items": {
  4399. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4400. }
  4401. }
  4402. },
  4403. "500": {
  4404. "description": "Internal Server Error",
  4405. "schema": {
  4406. "$ref": "#/definitions/app.Response"
  4407. }
  4408. }
  4409. }
  4410. }
  4411. },
  4412. "/Ermcp3/QueryMiddleGoodsDetail": {
  4413. "get": {
  4414. "security": [
  4415. {
  4416. "ApiKeyAuth": []
  4417. }
  4418. ],
  4419. "produces": [
  4420. "application/json"
  4421. ],
  4422. "tags": [
  4423. "企业风险管理v3(app)"
  4424. ],
  4425. "summary": "查询套保品种详情(套保品种/商品详情)",
  4426. "parameters": [
  4427. {
  4428. "type": "integer",
  4429. "description": "用户id",
  4430. "name": "userid",
  4431. "in": "query",
  4432. "required": true
  4433. },
  4434. {
  4435. "type": "integer",
  4436. "description": "用户类型 2-机构 7-企业成员",
  4437. "name": "usertype",
  4438. "in": "query"
  4439. },
  4440. {
  4441. "type": "integer",
  4442. "description": "套保品种id",
  4443. "name": "middlegoodsid",
  4444. "in": "query"
  4445. }
  4446. ],
  4447. "responses": {
  4448. "200": {
  4449. "description": "OK",
  4450. "schema": {
  4451. "type": "array",
  4452. "items": {
  4453. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4454. }
  4455. }
  4456. },
  4457. "500": {
  4458. "description": "Internal Server Error",
  4459. "schema": {
  4460. "$ref": "#/definitions/app.Response"
  4461. }
  4462. }
  4463. }
  4464. }
  4465. },
  4466. "/Ermcp3/QueryRootUserAccount": {
  4467. "get": {
  4468. "security": [
  4469. {
  4470. "ApiKeyAuth": []
  4471. }
  4472. ],
  4473. "produces": [
  4474. "application/json"
  4475. ],
  4476. "tags": [
  4477. "企业风险管理v3(app)"
  4478. ],
  4479. "summary": "查询顶级用户信息",
  4480. "parameters": [
  4481. {
  4482. "type": "integer",
  4483. "description": "用户ID",
  4484. "name": "userid",
  4485. "in": "query",
  4486. "required": true
  4487. }
  4488. ],
  4489. "responses": {
  4490. "200": {
  4491. "description": "OK",
  4492. "schema": {
  4493. "type": "array",
  4494. "items": {
  4495. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4496. }
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Ermcp3/QuerySpotContract": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "produces": [
  4516. "application/json"
  4517. ],
  4518. "tags": [
  4519. "企业风险管理v3(app)"
  4520. ],
  4521. "summary": "查询现货合同",
  4522. "parameters": [
  4523. {
  4524. "type": "integer",
  4525. "description": "用户id",
  4526. "name": "userid",
  4527. "in": "query",
  4528. "required": true
  4529. },
  4530. {
  4531. "type": "integer",
  4532. "description": "用户类型 2-机构 7-企业成员",
  4533. "name": "usertype",
  4534. "in": "query"
  4535. },
  4536. {
  4537. "type": "integer",
  4538. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4539. "name": "querytype",
  4540. "in": "query",
  4541. "required": true
  4542. },
  4543. {
  4544. "type": "string",
  4545. "description": "合同ID(SpotContractId)",
  4546. "name": "contractid",
  4547. "in": "query"
  4548. }
  4549. ],
  4550. "responses": {
  4551. "200": {
  4552. "description": "OK",
  4553. "schema": {
  4554. "type": "array",
  4555. "items": {
  4556. "$ref": "#/definitions/models.Ermcp3Contract"
  4557. }
  4558. }
  4559. },
  4560. "500": {
  4561. "description": "Internal Server Error",
  4562. "schema": {
  4563. "$ref": "#/definitions/app.Response"
  4564. }
  4565. }
  4566. }
  4567. }
  4568. },
  4569. "/Ermcp3/QuerySpotContractBS": {
  4570. "get": {
  4571. "security": [
  4572. {
  4573. "ApiKeyAuth": []
  4574. }
  4575. ],
  4576. "produces": [
  4577. "application/json"
  4578. ],
  4579. "tags": [
  4580. "企业风险管理v3(app)"
  4581. ],
  4582. "summary": "查询合同(采购/销售)",
  4583. "parameters": [
  4584. {
  4585. "type": "integer",
  4586. "description": "用户id",
  4587. "name": "userid",
  4588. "in": "query",
  4589. "required": true
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "用户类型 2-机构 7-企业成员",
  4594. "name": "usertype",
  4595. "in": "query"
  4596. },
  4597. {
  4598. "type": "integer",
  4599. "description": "合同类型 1-采购, -1-销售",
  4600. "name": "contracttype",
  4601. "in": "query",
  4602. "required": true
  4603. },
  4604. {
  4605. "type": "integer",
  4606. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4607. "name": "querytype",
  4608. "in": "query",
  4609. "required": true
  4610. },
  4611. {
  4612. "type": "string",
  4613. "description": "合同ID(SpotContractId)",
  4614. "name": "contractid",
  4615. "in": "query"
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "type": "array",
  4623. "items": {
  4624. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4625. }
  4626. }
  4627. },
  4628. "500": {
  4629. "description": "Internal Server Error",
  4630. "schema": {
  4631. "$ref": "#/definitions/app.Response"
  4632. }
  4633. }
  4634. }
  4635. }
  4636. },
  4637. "/Ermcp3/QuerySpotGoodsPrice": {
  4638. "get": {
  4639. "security": [
  4640. {
  4641. "ApiKeyAuth": []
  4642. }
  4643. ],
  4644. "produces": [
  4645. "application/json"
  4646. ],
  4647. "tags": [
  4648. "企业风险管理v3(app)"
  4649. ],
  4650. "summary": "查询现货市价(现货市价)",
  4651. "parameters": [
  4652. {
  4653. "type": "integer",
  4654. "description": "用户ID",
  4655. "name": "userid",
  4656. "in": "query",
  4657. "required": true
  4658. }
  4659. ],
  4660. "responses": {
  4661. "200": {
  4662. "description": "OK",
  4663. "schema": {
  4664. "type": "array",
  4665. "items": {
  4666. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4667. }
  4668. }
  4669. },
  4670. "500": {
  4671. "description": "Internal Server Error",
  4672. "schema": {
  4673. "$ref": "#/definitions/app.Response"
  4674. }
  4675. }
  4676. }
  4677. }
  4678. },
  4679. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4680. "get": {
  4681. "security": [
  4682. {
  4683. "ApiKeyAuth": []
  4684. }
  4685. ],
  4686. "produces": [
  4687. "application/json"
  4688. ],
  4689. "tags": [
  4690. "企业风险管理v3(app)"
  4691. ],
  4692. "summary": "查询现货市价详情(现货市价/详情)",
  4693. "parameters": [
  4694. {
  4695. "type": "integer",
  4696. "description": "用户ID",
  4697. "name": "userid",
  4698. "in": "query",
  4699. "required": true
  4700. },
  4701. {
  4702. "type": "integer",
  4703. "description": "现货商品ID",
  4704. "name": "deliverygoodsid",
  4705. "in": "query",
  4706. "required": true
  4707. },
  4708. {
  4709. "type": "integer",
  4710. "description": "品牌ID",
  4711. "name": "brandid",
  4712. "in": "query"
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "品类ID",
  4717. "name": "wrstandardid",
  4718. "in": "query"
  4719. }
  4720. ],
  4721. "responses": {
  4722. "200": {
  4723. "description": "OK",
  4724. "schema": {
  4725. "type": "array",
  4726. "items": {
  4727. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4728. }
  4729. }
  4730. },
  4731. "500": {
  4732. "description": "Internal Server Error",
  4733. "schema": {
  4734. "$ref": "#/definitions/app.Response"
  4735. }
  4736. }
  4737. }
  4738. }
  4739. },
  4740. "/Erms2/QueryArbitrageStrategy": {
  4741. "get": {
  4742. "security": [
  4743. {
  4744. "ApiKeyAuth": []
  4745. }
  4746. ],
  4747. "produces": [
  4748. "application/json"
  4749. ],
  4750. "tags": [
  4751. "风险管理"
  4752. ],
  4753. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4754. "parameters": [
  4755. {
  4756. "type": "integer",
  4757. "description": "账户ID",
  4758. "name": "userid",
  4759. "in": "query",
  4760. "required": true
  4761. },
  4762. {
  4763. "type": "string",
  4764. "description": "商品组ID(品种ID)",
  4765. "name": "goodsgroupid",
  4766. "in": "query"
  4767. }
  4768. ],
  4769. "responses": {
  4770. "200": {
  4771. "description": "OK",
  4772. "schema": {
  4773. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4774. }
  4775. },
  4776. "500": {
  4777. "description": "Internal Server Error",
  4778. "schema": {
  4779. "$ref": "#/definitions/app.Response"
  4780. }
  4781. }
  4782. }
  4783. }
  4784. },
  4785. "/Erms2/QueryInnerTradeDetail": {
  4786. "get": {
  4787. "security": [
  4788. {
  4789. "ApiKeyAuth": []
  4790. }
  4791. ],
  4792. "produces": [
  4793. "application/json"
  4794. ],
  4795. "tags": [
  4796. "风险管理"
  4797. ],
  4798. "summary": "查询内部成交单信息",
  4799. "parameters": [
  4800. {
  4801. "type": "integer",
  4802. "description": "资金账户",
  4803. "name": "accountid",
  4804. "in": "query",
  4805. "required": true
  4806. }
  4807. ],
  4808. "responses": {
  4809. "200": {
  4810. "description": "OK",
  4811. "schema": {
  4812. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4813. }
  4814. },
  4815. "500": {
  4816. "description": "Internal Server Error",
  4817. "schema": {
  4818. "$ref": "#/definitions/app.Response"
  4819. }
  4820. }
  4821. }
  4822. }
  4823. },
  4824. "/Erms2/QuerySpotContract": {
  4825. "get": {
  4826. "security": [
  4827. {
  4828. "ApiKeyAuth": []
  4829. }
  4830. ],
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "风险管理"
  4836. ],
  4837. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4838. "parameters": [
  4839. {
  4840. "type": "integer",
  4841. "description": "策略申请ID",
  4842. "name": "asapplyid",
  4843. "in": "query",
  4844. "required": true
  4845. },
  4846. {
  4847. "type": "integer",
  4848. "description": "现货合同ID",
  4849. "name": "spotcontractid",
  4850. "in": "query"
  4851. }
  4852. ],
  4853. "responses": {
  4854. "200": {
  4855. "description": "OK",
  4856. "schema": {
  4857. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4858. }
  4859. },
  4860. "500": {
  4861. "description": "Internal Server Error",
  4862. "schema": {
  4863. "$ref": "#/definitions/app.Response"
  4864. }
  4865. }
  4866. }
  4867. }
  4868. },
  4869. "/Erms3/AddErms2ASApply": {
  4870. "post": {
  4871. "security": [
  4872. {
  4873. "ApiKeyAuth": []
  4874. }
  4875. ],
  4876. "produces": [
  4877. "application/json"
  4878. ],
  4879. "tags": [
  4880. "风险管理v3"
  4881. ],
  4882. "summary": "新增期现套利业务申请",
  4883. "parameters": [
  4884. {
  4885. "description": "申请参数",
  4886. "name": "jsonBody",
  4887. "in": "body",
  4888. "required": true,
  4889. "schema": {
  4890. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4891. }
  4892. }
  4893. ],
  4894. "responses": {
  4895. "200": {
  4896. "description": "OK",
  4897. "schema": {
  4898. "$ref": "#/definitions/app.Response"
  4899. }
  4900. },
  4901. "500": {
  4902. "description": "Internal Server Error",
  4903. "schema": {
  4904. "$ref": "#/definitions/app.Response"
  4905. }
  4906. }
  4907. }
  4908. }
  4909. },
  4910. "/Erms3/AddErms2SpotTradeApply": {
  4911. "post": {
  4912. "security": [
  4913. {
  4914. "ApiKeyAuth": []
  4915. }
  4916. ],
  4917. "produces": [
  4918. "application/json"
  4919. ],
  4920. "tags": [
  4921. "风险管理v3"
  4922. ],
  4923. "summary": "新增现货贸易业务申请",
  4924. "parameters": [
  4925. {
  4926. "description": "申请参数",
  4927. "name": "jsonBody",
  4928. "in": "body",
  4929. "required": true,
  4930. "schema": {
  4931. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4932. }
  4933. }
  4934. ],
  4935. "responses": {
  4936. "200": {
  4937. "description": "OK",
  4938. "schema": {
  4939. "$ref": "#/definitions/app.Response"
  4940. }
  4941. },
  4942. "500": {
  4943. "description": "Internal Server Error",
  4944. "schema": {
  4945. "$ref": "#/definitions/app.Response"
  4946. }
  4947. }
  4948. }
  4949. }
  4950. },
  4951. "/Erms3/AddSpotContractApply": {
  4952. "post": {
  4953. "security": [
  4954. {
  4955. "ApiKeyAuth": []
  4956. }
  4957. ],
  4958. "produces": [
  4959. "application/json"
  4960. ],
  4961. "tags": [
  4962. "风险管理v3"
  4963. ],
  4964. "summary": "新增现货合同申请",
  4965. "parameters": [
  4966. {
  4967. "description": "申请参数",
  4968. "name": "jsonBody",
  4969. "in": "body",
  4970. "required": true,
  4971. "schema": {
  4972. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4973. }
  4974. }
  4975. ],
  4976. "responses": {
  4977. "200": {
  4978. "description": "OK",
  4979. "schema": {
  4980. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4981. }
  4982. },
  4983. "500": {
  4984. "description": "Internal Server Error",
  4985. "schema": {
  4986. "$ref": "#/definitions/app.Response"
  4987. }
  4988. }
  4989. }
  4990. }
  4991. },
  4992. "/Erms3/AddUserInfoApply": {
  4993. "post": {
  4994. "security": [
  4995. {
  4996. "ApiKeyAuth": []
  4997. }
  4998. ],
  4999. "produces": [
  5000. "application/json"
  5001. ],
  5002. "tags": [
  5003. "风险管理v3"
  5004. ],
  5005. "summary": "新增客户申请",
  5006. "parameters": [
  5007. {
  5008. "description": "用户信息",
  5009. "name": "jsonBody",
  5010. "in": "body",
  5011. "required": true,
  5012. "schema": {
  5013. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5014. }
  5015. }
  5016. ],
  5017. "responses": {
  5018. "200": {
  5019. "description": "OK",
  5020. "schema": {
  5021. "$ref": "#/definitions/app.Response"
  5022. }
  5023. },
  5024. "500": {
  5025. "description": "Internal Server Error",
  5026. "schema": {
  5027. "$ref": "#/definitions/app.Response"
  5028. }
  5029. }
  5030. }
  5031. }
  5032. },
  5033. "/Erms3/DeleteUserInfoApply": {
  5034. "get": {
  5035. "security": [
  5036. {
  5037. "ApiKeyAuth": []
  5038. }
  5039. ],
  5040. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "风险管理v3"
  5046. ],
  5047. "summary": "删除客户申请",
  5048. "parameters": [
  5049. {
  5050. "type": "integer",
  5051. "description": "用户ID",
  5052. "name": "userID",
  5053. "in": "query",
  5054. "required": true
  5055. }
  5056. ],
  5057. "responses": {
  5058. "200": {
  5059. "description": "OK",
  5060. "schema": {
  5061. "$ref": "#/definitions/app.Response"
  5062. }
  5063. },
  5064. "500": {
  5065. "description": "Internal Server Error",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. }
  5070. }
  5071. }
  5072. },
  5073. "/Erms3/ModifyUserInfoApply": {
  5074. "post": {
  5075. "security": [
  5076. {
  5077. "ApiKeyAuth": []
  5078. }
  5079. ],
  5080. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "风险管理v3"
  5086. ],
  5087. "summary": "修改客户申请",
  5088. "parameters": [
  5089. {
  5090. "description": "用户信息",
  5091. "name": "jsonBody",
  5092. "in": "body",
  5093. "required": true,
  5094. "schema": {
  5095. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5096. }
  5097. }
  5098. ],
  5099. "responses": {
  5100. "200": {
  5101. "description": "OK",
  5102. "schema": {
  5103. "$ref": "#/definitions/app.Response"
  5104. }
  5105. },
  5106. "500": {
  5107. "description": "Internal Server Error",
  5108. "schema": {
  5109. "$ref": "#/definitions/app.Response"
  5110. }
  5111. }
  5112. }
  5113. }
  5114. },
  5115. "/Erms3/QueryBusinessInfo": {
  5116. "get": {
  5117. "security": [
  5118. {
  5119. "ApiKeyAuth": []
  5120. }
  5121. ],
  5122. "produces": [
  5123. "application/json"
  5124. ],
  5125. "tags": [
  5126. "风险管理v3"
  5127. ],
  5128. "summary": "查询业务表单数据",
  5129. "parameters": [
  5130. {
  5131. "type": "string",
  5132. "description": "资金账号ID列表,用逗号分隔",
  5133. "name": "accountids",
  5134. "in": "query",
  5135. "required": true
  5136. },
  5137. {
  5138. "type": "integer",
  5139. "description": "状态,0为未结束 1为已结束",
  5140. "name": "status",
  5141. "in": "query",
  5142. "required": true
  5143. }
  5144. ],
  5145. "responses": {
  5146. "200": {
  5147. "description": "OK",
  5148. "schema": {
  5149. "type": "array",
  5150. "items": {
  5151. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5152. }
  5153. }
  5154. },
  5155. "500": {
  5156. "description": "Internal Server Error",
  5157. "schema": {
  5158. "$ref": "#/definitions/app.Response"
  5159. }
  5160. }
  5161. }
  5162. }
  5163. },
  5164. "/Erms3/QueryPendingAuditContract": {
  5165. "get": {
  5166. "security": [
  5167. {
  5168. "ApiKeyAuth": []
  5169. }
  5170. ],
  5171. "produces": [
  5172. "application/json"
  5173. ],
  5174. "tags": [
  5175. "风险管理v3"
  5176. ],
  5177. "summary": "查询待审核合同",
  5178. "parameters": [
  5179. {
  5180. "type": "string",
  5181. "description": "资金账号ID列表,逗号隔开",
  5182. "name": "accountids",
  5183. "in": "query",
  5184. "required": true
  5185. },
  5186. {
  5187. "type": "integer",
  5188. "description": "合同类型 1-采购 -1-销售",
  5189. "name": "contracttype",
  5190. "in": "query",
  5191. "required": true
  5192. },
  5193. {
  5194. "type": "integer",
  5195. "description": "合同模式 1-普通 2-回购",
  5196. "name": "contractmode",
  5197. "in": "query",
  5198. "required": true
  5199. }
  5200. ],
  5201. "responses": {
  5202. "200": {
  5203. "description": "OK",
  5204. "schema": {
  5205. "type": "array",
  5206. "items": {
  5207. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5208. }
  5209. }
  5210. },
  5211. "500": {
  5212. "description": "Internal Server Error",
  5213. "schema": {
  5214. "$ref": "#/definitions/app.Response"
  5215. }
  5216. }
  5217. }
  5218. }
  5219. },
  5220. "/Erms3/QueryPendingBusiness": {
  5221. "get": {
  5222. "security": [
  5223. {
  5224. "ApiKeyAuth": []
  5225. }
  5226. ],
  5227. "produces": [
  5228. "application/json"
  5229. ],
  5230. "tags": [
  5231. "风险管理v3"
  5232. ],
  5233. "summary": "查询待审核基差贸易业务",
  5234. "parameters": [
  5235. {
  5236. "type": "string",
  5237. "description": "资金账号ID列表,逗号隔开",
  5238. "name": "accountids",
  5239. "in": "query",
  5240. "required": true
  5241. }
  5242. ],
  5243. "responses": {
  5244. "200": {
  5245. "description": "OK",
  5246. "schema": {
  5247. "type": "array",
  5248. "items": {
  5249. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5250. }
  5251. }
  5252. },
  5253. "500": {
  5254. "description": "Internal Server Error",
  5255. "schema": {
  5256. "$ref": "#/definitions/app.Response"
  5257. }
  5258. }
  5259. }
  5260. }
  5261. },
  5262. "/Erms3/QuerySpotContractAppleForm": {
  5263. "get": {
  5264. "security": [
  5265. {
  5266. "ApiKeyAuth": []
  5267. }
  5268. ],
  5269. "produces": [
  5270. "application/json"
  5271. ],
  5272. "tags": [
  5273. "风险管理v3"
  5274. ],
  5275. "summary": "查询合同申请表单数据",
  5276. "parameters": [
  5277. {
  5278. "type": "integer",
  5279. "description": "登录账号",
  5280. "name": "loginID",
  5281. "in": "query",
  5282. "required": true
  5283. }
  5284. ],
  5285. "responses": {
  5286. "200": {
  5287. "description": "OK",
  5288. "schema": {
  5289. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5290. }
  5291. },
  5292. "500": {
  5293. "description": "Internal Server Error",
  5294. "schema": {
  5295. "$ref": "#/definitions/app.Response"
  5296. }
  5297. }
  5298. }
  5299. }
  5300. },
  5301. "/Erms3/QuerySpotContractDetail": {
  5302. "get": {
  5303. "security": [
  5304. {
  5305. "ApiKeyAuth": []
  5306. }
  5307. ],
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "风险管理v3"
  5313. ],
  5314. "summary": "查询合同详细信息",
  5315. "parameters": [
  5316. {
  5317. "type": "string",
  5318. "description": "资金账号ID列表,用逗号分隔",
  5319. "name": "accountids",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "合同类型,1为采购合同 -1为销售合同",
  5326. "name": "contracttype",
  5327. "in": "query",
  5328. "required": true
  5329. },
  5330. {
  5331. "type": "integer",
  5332. "description": "合同模式,1为普通合同 2为回购销售合同",
  5333. "name": "contractmode",
  5334. "in": "query",
  5335. "required": true
  5336. },
  5337. {
  5338. "type": "integer",
  5339. "description": "状态,0为履约中 1为已完成",
  5340. "name": "status",
  5341. "in": "query",
  5342. "required": true
  5343. }
  5344. ],
  5345. "responses": {
  5346. "200": {
  5347. "description": "OK",
  5348. "schema": {
  5349. "type": "array",
  5350. "items": {
  5351. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5352. }
  5353. }
  5354. },
  5355. "500": {
  5356. "description": "Internal Server Error",
  5357. "schema": {
  5358. "$ref": "#/definitions/app.Response"
  5359. }
  5360. }
  5361. }
  5362. }
  5363. },
  5364. "/Erms3/QueryUserInfoApplies": {
  5365. "get": {
  5366. "security": [
  5367. {
  5368. "ApiKeyAuth": []
  5369. }
  5370. ],
  5371. "produces": [
  5372. "application/json"
  5373. ],
  5374. "tags": [
  5375. "风险管理v3"
  5376. ],
  5377. "summary": "客户申请信息查询",
  5378. "parameters": [
  5379. {
  5380. "type": "integer",
  5381. "description": "页码",
  5382. "name": "page",
  5383. "in": "query"
  5384. },
  5385. {
  5386. "type": "integer",
  5387. "description": "每页条数",
  5388. "name": "pagesize",
  5389. "in": "query"
  5390. },
  5391. {
  5392. "type": "string",
  5393. "description": "客户名称,支持模糊查询",
  5394. "name": "userName",
  5395. "in": "query"
  5396. }
  5397. ],
  5398. "responses": {
  5399. "200": {
  5400. "description": "OK",
  5401. "schema": {
  5402. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5403. }
  5404. },
  5405. "500": {
  5406. "description": "Internal Server Error",
  5407. "schema": {
  5408. "$ref": "#/definitions/app.Response"
  5409. }
  5410. }
  5411. }
  5412. }
  5413. },
  5414. "/Erms3/QueryUserInfos": {
  5415. "get": {
  5416. "security": [
  5417. {
  5418. "ApiKeyAuth": []
  5419. }
  5420. ],
  5421. "produces": [
  5422. "application/json"
  5423. ],
  5424. "tags": [
  5425. "风险管理v3"
  5426. ],
  5427. "summary": "客户信息查询",
  5428. "parameters": [
  5429. {
  5430. "type": "integer",
  5431. "description": "页码",
  5432. "name": "page",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "每页条数",
  5438. "name": "pagesize",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "string",
  5443. "description": "客户名称,支持模糊查询",
  5444. "name": "userName",
  5445. "in": "query"
  5446. }
  5447. ],
  5448. "responses": {
  5449. "200": {
  5450. "description": "OK",
  5451. "schema": {
  5452. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5453. }
  5454. },
  5455. "500": {
  5456. "description": "Internal Server Error",
  5457. "schema": {
  5458. "$ref": "#/definitions/app.Response"
  5459. }
  5460. }
  5461. }
  5462. }
  5463. },
  5464. "/HSBY/GetHsbyMyCount": {
  5465. "get": {
  5466. "security": [
  5467. {
  5468. "ApiKeyAuth": []
  5469. }
  5470. ],
  5471. "description": "说明: 不包括已完成的数量。",
  5472. "produces": [
  5473. "application/json"
  5474. ],
  5475. "tags": [
  5476. "定制【海商报业】"
  5477. ],
  5478. "summary": "获取我的订单与包裹数量",
  5479. "parameters": [
  5480. {
  5481. "type": "string",
  5482. "description": "资金账户列表,格式:1,2,3",
  5483. "name": "accountIDs",
  5484. "in": "query",
  5485. "required": true
  5486. }
  5487. ],
  5488. "responses": {
  5489. "200": {
  5490. "description": "OK",
  5491. "schema": {
  5492. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5493. }
  5494. },
  5495. "500": {
  5496. "description": "Internal Server Error",
  5497. "schema": {
  5498. "$ref": "#/definitions/app.Response"
  5499. }
  5500. }
  5501. }
  5502. }
  5503. },
  5504. "/HSBY/QueryClientFixedADConfigs": {
  5505. "get": {
  5506. "security": [
  5507. {
  5508. "ApiKeyAuth": []
  5509. }
  5510. ],
  5511. "produces": [
  5512. "application/json"
  5513. ],
  5514. "tags": [
  5515. "定制【海商报业】"
  5516. ],
  5517. "summary": "获取终端固定广告配置",
  5518. "responses": {
  5519. "200": {
  5520. "description": "OK",
  5521. "schema": {
  5522. "$ref": "#/definitions/models.Clientfixedadconfig"
  5523. }
  5524. },
  5525. "500": {
  5526. "description": "Internal Server Error",
  5527. "schema": {
  5528. "$ref": "#/definitions/app.Response"
  5529. }
  5530. }
  5531. }
  5532. }
  5533. },
  5534. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5535. "get": {
  5536. "security": [
  5537. {
  5538. "ApiKeyAuth": []
  5539. }
  5540. ],
  5541. "produces": [
  5542. "application/json"
  5543. ],
  5544. "tags": [
  5545. "定制【海商报业】"
  5546. ],
  5547. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5548. "parameters": [
  5549. {
  5550. "type": "integer",
  5551. "description": "页码",
  5552. "name": "page",
  5553. "in": "query"
  5554. },
  5555. {
  5556. "type": "integer",
  5557. "description": "每页条数",
  5558. "name": "pagesize",
  5559. "in": "query"
  5560. },
  5561. {
  5562. "type": "string",
  5563. "description": "资金账户列表,格式:1,2,3",
  5564. "name": "accountIDs",
  5565. "in": "query",
  5566. "required": true
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5586. "get": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "description": "说明:查询结果已按委托价格和委托时间排序",
  5593. "produces": [
  5594. "application/json"
  5595. ],
  5596. "tags": [
  5597. "定制【海商报业】"
  5598. ],
  5599. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5600. "parameters": [
  5601. {
  5602. "type": "integer",
  5603. "description": "商品ID",
  5604. "name": "goodsID",
  5605. "in": "query",
  5606. "required": true
  5607. },
  5608. {
  5609. "type": "string",
  5610. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5611. "name": "accountIDs",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "integer",
  5616. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5617. "name": "buyOrSell",
  5618. "in": "query"
  5619. },
  5620. {
  5621. "type": "number",
  5622. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5623. "name": "price",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "档位,不传则默认为3档",
  5629. "name": "speed",
  5630. "in": "query"
  5631. }
  5632. ],
  5633. "responses": {
  5634. "200": {
  5635. "description": "OK",
  5636. "schema": {
  5637. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5638. }
  5639. },
  5640. "500": {
  5641. "description": "Internal Server Error",
  5642. "schema": {
  5643. "$ref": "#/definitions/app.Response"
  5644. }
  5645. }
  5646. }
  5647. }
  5648. },
  5649. "/HSBY/QueryHsbyListingGoodsDetail": {
  5650. "get": {
  5651. "security": [
  5652. {
  5653. "ApiKeyAuth": []
  5654. }
  5655. ],
  5656. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5657. "produces": [
  5658. "application/json"
  5659. ],
  5660. "tags": [
  5661. "定制【海商报业】"
  5662. ],
  5663. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5664. "parameters": [
  5665. {
  5666. "type": "integer",
  5667. "description": "商品ID",
  5668. "name": "goodsID",
  5669. "in": "query",
  5670. "required": true
  5671. },
  5672. {
  5673. "type": "integer",
  5674. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5675. "name": "accountID",
  5676. "in": "query"
  5677. }
  5678. ],
  5679. "responses": {
  5680. "200": {
  5681. "description": "OK",
  5682. "schema": {
  5683. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5684. }
  5685. },
  5686. "500": {
  5687. "description": "Internal Server Error",
  5688. "schema": {
  5689. "$ref": "#/definitions/app.Response"
  5690. }
  5691. }
  5692. }
  5693. }
  5694. },
  5695. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5696. "get": {
  5697. "security": [
  5698. {
  5699. "ApiKeyAuth": []
  5700. }
  5701. ],
  5702. "produces": [
  5703. "application/json"
  5704. ],
  5705. "tags": [
  5706. "定制【海商报业】"
  5707. ],
  5708. "summary": "查询三级市场(商城)商品信息详情",
  5709. "parameters": [
  5710. {
  5711. "type": "integer",
  5712. "description": "委托单号",
  5713. "name": "orderID",
  5714. "in": "query",
  5715. "required": true
  5716. },
  5717. {
  5718. "type": "integer",
  5719. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5720. "name": "accountID",
  5721. "in": "query"
  5722. }
  5723. ],
  5724. "responses": {
  5725. "200": {
  5726. "description": "OK",
  5727. "schema": {
  5728. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5729. }
  5730. },
  5731. "500": {
  5732. "description": "Internal Server Error",
  5733. "schema": {
  5734. "$ref": "#/definitions/app.Response"
  5735. }
  5736. }
  5737. }
  5738. }
  5739. },
  5740. "/HSBY/QueryHsbyMarketGoodses": {
  5741. "get": {
  5742. "security": [
  5743. {
  5744. "ApiKeyAuth": []
  5745. }
  5746. ],
  5747. "produces": [
  5748. "application/json"
  5749. ],
  5750. "tags": [
  5751. "定制【海商报业】"
  5752. ],
  5753. "summary": "查询特卖商品列表(三级商城)",
  5754. "parameters": [
  5755. {
  5756. "type": "integer",
  5757. "description": "页码",
  5758. "name": "page",
  5759. "in": "query"
  5760. },
  5761. {
  5762. "type": "integer",
  5763. "description": "每页条数",
  5764. "name": "pagesize",
  5765. "in": "query"
  5766. },
  5767. {
  5768. "type": "string",
  5769. "description": "市场ID列表,格式:1,2,3",
  5770. "name": "marketIDs",
  5771. "in": "query",
  5772. "required": true
  5773. },
  5774. {
  5775. "type": "integer",
  5776. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5777. "name": "accountID",
  5778. "in": "query",
  5779. "required": true
  5780. },
  5781. {
  5782. "type": "integer",
  5783. "description": "类别ID",
  5784. "name": "categoryID",
  5785. "in": "query"
  5786. },
  5787. {
  5788. "type": "string",
  5789. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5790. "name": "goodsIDs",
  5791. "in": "query"
  5792. },
  5793. {
  5794. "type": "integer",
  5795. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5796. "name": "couponTypeID",
  5797. "in": "query"
  5798. }
  5799. ],
  5800. "responses": {
  5801. "200": {
  5802. "description": "OK",
  5803. "schema": {
  5804. "$ref": "#/definitions/models.HsbyMarketGoods"
  5805. }
  5806. },
  5807. "500": {
  5808. "description": "Internal Server Error",
  5809. "schema": {
  5810. "$ref": "#/definitions/app.Response"
  5811. }
  5812. }
  5813. }
  5814. }
  5815. },
  5816. "/HSBY/QueryHsbyMarkets": {
  5817. "get": {
  5818. "security": [
  5819. {
  5820. "ApiKeyAuth": []
  5821. }
  5822. ],
  5823. "produces": [
  5824. "application/json"
  5825. ],
  5826. "tags": [
  5827. "定制【海商报业】"
  5828. ],
  5829. "summary": "查询海商报业相关市场信息",
  5830. "responses": {
  5831. "200": {
  5832. "description": "OK",
  5833. "schema": {
  5834. "$ref": "#/definitions/models.HsbyMarketInfo"
  5835. }
  5836. },
  5837. "500": {
  5838. "description": "Internal Server Error",
  5839. "schema": {
  5840. "$ref": "#/definitions/app.Response"
  5841. }
  5842. }
  5843. }
  5844. }
  5845. },
  5846. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5847. "get": {
  5848. "security": [
  5849. {
  5850. "ApiKeyAuth": []
  5851. }
  5852. ],
  5853. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5854. "produces": [
  5855. "application/json"
  5856. ],
  5857. "tags": [
  5858. "定制【海商报业】"
  5859. ],
  5860. "summary": "查询“我的订单”信息",
  5861. "parameters": [
  5862. {
  5863. "type": "string",
  5864. "description": "资金账户列表,格式:1,2,3",
  5865. "name": "accountIDs",
  5866. "in": "query",
  5867. "required": true
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5875. }
  5876. },
  5877. "500": {
  5878. "description": "Internal Server Error",
  5879. "schema": {
  5880. "$ref": "#/definitions/app.Response"
  5881. }
  5882. }
  5883. }
  5884. }
  5885. },
  5886. "/HSBY/QueryHsbyMyGoods": {
  5887. "get": {
  5888. "security": [
  5889. {
  5890. "ApiKeyAuth": []
  5891. }
  5892. ],
  5893. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5894. "produces": [
  5895. "application/json"
  5896. ],
  5897. "tags": [
  5898. "定制【海商报业】"
  5899. ],
  5900. "summary": "查询“我的商品”信息",
  5901. "parameters": [
  5902. {
  5903. "type": "string",
  5904. "description": "资金账户列表,格式:1,2,3",
  5905. "name": "accountIDs",
  5906. "in": "query",
  5907. "required": true
  5908. }
  5909. ],
  5910. "responses": {
  5911. "200": {
  5912. "description": "OK",
  5913. "schema": {
  5914. "$ref": "#/definitions/models.HsbyMyGoods"
  5915. }
  5916. },
  5917. "500": {
  5918. "description": "Internal Server Error",
  5919. "schema": {
  5920. "$ref": "#/definitions/app.Response"
  5921. }
  5922. }
  5923. }
  5924. }
  5925. },
  5926. "/HSBY/QueryHsbyMyPackages": {
  5927. "get": {
  5928. "security": [
  5929. {
  5930. "ApiKeyAuth": []
  5931. }
  5932. ],
  5933. "produces": [
  5934. "application/json"
  5935. ],
  5936. "tags": [
  5937. "定制【海商报业】"
  5938. ],
  5939. "summary": "查询我的包裹信息",
  5940. "parameters": [
  5941. {
  5942. "type": "string",
  5943. "description": "资金账户列表,格式:1,2,3",
  5944. "name": "accountIDs",
  5945. "in": "query",
  5946. "required": true
  5947. },
  5948. {
  5949. "type": "integer",
  5950. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5951. "name": "takeOrderStatus",
  5952. "in": "query"
  5953. }
  5954. ],
  5955. "responses": {
  5956. "200": {
  5957. "description": "OK",
  5958. "schema": {
  5959. "$ref": "#/definitions/models.HsbyMyPackage"
  5960. }
  5961. },
  5962. "500": {
  5963. "description": "Internal Server Error",
  5964. "schema": {
  5965. "$ref": "#/definitions/app.Response"
  5966. }
  5967. }
  5968. }
  5969. }
  5970. },
  5971. "/HSBY/QueryHsbyPreGoodsDetail": {
  5972. "get": {
  5973. "security": [
  5974. {
  5975. "ApiKeyAuth": []
  5976. }
  5977. ],
  5978. "produces": [
  5979. "application/json"
  5980. ],
  5981. "tags": [
  5982. "定制【海商报业】"
  5983. ],
  5984. "summary": "查询一级市场(预售)商品信息详情",
  5985. "parameters": [
  5986. {
  5987. "type": "integer",
  5988. "description": "商品ID",
  5989. "name": "goodsID",
  5990. "in": "query",
  5991. "required": true
  5992. },
  5993. {
  5994. "type": "integer",
  5995. "description": "资金账户,主要用于获取预售商品购买上限",
  5996. "name": "accountID",
  5997. "in": "query"
  5998. }
  5999. ],
  6000. "responses": {
  6001. "200": {
  6002. "description": "OK",
  6003. "schema": {
  6004. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6005. }
  6006. },
  6007. "500": {
  6008. "description": "Internal Server Error",
  6009. "schema": {
  6010. "$ref": "#/definitions/app.Response"
  6011. }
  6012. }
  6013. }
  6014. }
  6015. },
  6016. "/HSBY/QueryHsbyPreGoodses": {
  6017. "get": {
  6018. "security": [
  6019. {
  6020. "ApiKeyAuth": []
  6021. }
  6022. ],
  6023. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6024. "produces": [
  6025. "application/json"
  6026. ],
  6027. "tags": [
  6028. "定制【海商报业】"
  6029. ],
  6030. "summary": "查询新品上市商品列表(一级市场预售)",
  6031. "parameters": [
  6032. {
  6033. "type": "integer",
  6034. "description": "页码",
  6035. "name": "page",
  6036. "in": "query"
  6037. },
  6038. {
  6039. "type": "integer",
  6040. "description": "每页条数",
  6041. "name": "pagesize",
  6042. "in": "query"
  6043. },
  6044. {
  6045. "type": "string",
  6046. "description": "市场ID列表,格式:1,2,3",
  6047. "name": "marketIDs",
  6048. "in": "query",
  6049. "required": true
  6050. },
  6051. {
  6052. "type": "integer",
  6053. "description": "目的地(省)ID",
  6054. "name": "descProvinceID",
  6055. "in": "query"
  6056. },
  6057. {
  6058. "type": "integer",
  6059. "description": "目的地(市)ID",
  6060. "name": "descCityID",
  6061. "in": "query"
  6062. }
  6063. ],
  6064. "responses": {
  6065. "200": {
  6066. "description": "OK",
  6067. "schema": {
  6068. "$ref": "#/definitions/models.HsbyPreGoods"
  6069. }
  6070. },
  6071. "500": {
  6072. "description": "Internal Server Error",
  6073. "schema": {
  6074. "$ref": "#/definitions/app.Response"
  6075. }
  6076. }
  6077. }
  6078. }
  6079. },
  6080. "/HSBY/QueryHsbySellMyDetails": {
  6081. "get": {
  6082. "security": [
  6083. {
  6084. "ApiKeyAuth": []
  6085. }
  6086. ],
  6087. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6088. "produces": [
  6089. "application/json"
  6090. ],
  6091. "tags": [
  6092. "定制【海商报业】"
  6093. ],
  6094. "summary": "查询\"我的闲置\"单据信息",
  6095. "parameters": [
  6096. {
  6097. "type": "integer",
  6098. "description": "页码",
  6099. "name": "page",
  6100. "in": "query"
  6101. },
  6102. {
  6103. "type": "integer",
  6104. "description": "每页条数",
  6105. "name": "pagesize",
  6106. "in": "query"
  6107. },
  6108. {
  6109. "type": "string",
  6110. "description": "资金账户列表,格式:1,2,3",
  6111. "name": "accountIDs",
  6112. "in": "query",
  6113. "required": true
  6114. },
  6115. {
  6116. "type": "integer",
  6117. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6118. "name": "orderType",
  6119. "in": "query"
  6120. }
  6121. ],
  6122. "responses": {
  6123. "200": {
  6124. "description": "OK",
  6125. "schema": {
  6126. "$ref": "#/definitions/models.HsbySellMyDetail"
  6127. }
  6128. },
  6129. "500": {
  6130. "description": "Internal Server Error",
  6131. "schema": {
  6132. "$ref": "#/definitions/app.Response"
  6133. }
  6134. }
  6135. }
  6136. }
  6137. },
  6138. "/HSBY/QueryHsbyTopGoodses": {
  6139. "get": {
  6140. "security": [
  6141. {
  6142. "ApiKeyAuth": []
  6143. }
  6144. ],
  6145. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6146. "produces": [
  6147. "application/json"
  6148. ],
  6149. "tags": [
  6150. "定制【海商报业】"
  6151. ],
  6152. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6153. "parameters": [
  6154. {
  6155. "type": "integer",
  6156. "description": "页码",
  6157. "name": "page",
  6158. "in": "query"
  6159. },
  6160. {
  6161. "type": "integer",
  6162. "description": "每页条数",
  6163. "name": "pagesize",
  6164. "in": "query"
  6165. },
  6166. {
  6167. "type": "string",
  6168. "description": "市场ID列表,格式:1,2,3",
  6169. "name": "marketIDs",
  6170. "in": "query",
  6171. "required": true
  6172. },
  6173. {
  6174. "type": "integer",
  6175. "description": "目的地(省)ID",
  6176. "name": "descProvinceID",
  6177. "in": "query"
  6178. },
  6179. {
  6180. "type": "integer",
  6181. "description": "目的地(市)ID",
  6182. "name": "descCityID",
  6183. "in": "query"
  6184. }
  6185. ],
  6186. "responses": {
  6187. "200": {
  6188. "description": "OK",
  6189. "schema": {
  6190. "$ref": "#/definitions/models.HsbyTopGoods"
  6191. }
  6192. },
  6193. "500": {
  6194. "description": "Internal Server Error",
  6195. "schema": {
  6196. "$ref": "#/definitions/app.Response"
  6197. }
  6198. }
  6199. }
  6200. }
  6201. },
  6202. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6203. "get": {
  6204. "security": [
  6205. {
  6206. "ApiKeyAuth": []
  6207. }
  6208. ],
  6209. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6210. "produces": [
  6211. "application/json"
  6212. ],
  6213. "tags": [
  6214. "定制【海商报业】"
  6215. ],
  6216. "summary": "查询游客三级市场(商城)商品信息详情",
  6217. "parameters": [
  6218. {
  6219. "type": "integer",
  6220. "description": "商品ID",
  6221. "name": "goodsID",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6231. }
  6232. },
  6233. "500": {
  6234. "description": "Internal Server Error",
  6235. "schema": {
  6236. "$ref": "#/definitions/app.Response"
  6237. }
  6238. }
  6239. }
  6240. }
  6241. },
  6242. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6243. "get": {
  6244. "security": [
  6245. {
  6246. "ApiKeyAuth": []
  6247. }
  6248. ],
  6249. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6250. "produces": [
  6251. "application/json"
  6252. ],
  6253. "tags": [
  6254. "定制【海商报业】"
  6255. ],
  6256. "summary": "查询游客特卖商品列表(三级商城)",
  6257. "parameters": [
  6258. {
  6259. "type": "integer",
  6260. "description": "页码",
  6261. "name": "page",
  6262. "in": "query"
  6263. },
  6264. {
  6265. "type": "integer",
  6266. "description": "每页条数",
  6267. "name": "pagesize",
  6268. "in": "query"
  6269. },
  6270. {
  6271. "type": "string",
  6272. "description": "市场ID列表,格式:1,2,3",
  6273. "name": "marketIDs",
  6274. "in": "query",
  6275. "required": true
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "类别ID",
  6280. "name": "categoryID",
  6281. "in": "query"
  6282. },
  6283. {
  6284. "type": "string",
  6285. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6286. "name": "goodsIDs",
  6287. "in": "query"
  6288. }
  6289. ],
  6290. "responses": {
  6291. "200": {
  6292. "description": "OK",
  6293. "schema": {
  6294. "$ref": "#/definitions/models.HsbyMarketGoods"
  6295. }
  6296. },
  6297. "500": {
  6298. "description": "Internal Server Error",
  6299. "schema": {
  6300. "$ref": "#/definitions/app.Response"
  6301. }
  6302. }
  6303. }
  6304. }
  6305. },
  6306. "/HSBY/QueryMyCollectionOrders": {
  6307. "get": {
  6308. "security": [
  6309. {
  6310. "ApiKeyAuth": []
  6311. }
  6312. ],
  6313. "produces": [
  6314. "application/json"
  6315. ],
  6316. "tags": [
  6317. "定制【海商报业】"
  6318. ],
  6319. "summary": "我的闲置中收款信息查询",
  6320. "parameters": [
  6321. {
  6322. "type": "integer",
  6323. "description": "页码",
  6324. "name": "page",
  6325. "in": "query"
  6326. },
  6327. {
  6328. "type": "integer",
  6329. "description": "每页条数",
  6330. "name": "pagesize",
  6331. "in": "query"
  6332. },
  6333. {
  6334. "type": "string",
  6335. "description": "资金账户,格式:1,2,3",
  6336. "name": "accountIDs",
  6337. "in": "query",
  6338. "required": true
  6339. }
  6340. ],
  6341. "responses": {
  6342. "200": {
  6343. "description": "OK",
  6344. "schema": {
  6345. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6346. }
  6347. },
  6348. "500": {
  6349. "description": "Internal Server Error",
  6350. "schema": {
  6351. "$ref": "#/definitions/app.Response"
  6352. }
  6353. }
  6354. }
  6355. }
  6356. },
  6357. "/HSBY/QueryMyCouponHolds": {
  6358. "get": {
  6359. "security": [
  6360. {
  6361. "ApiKeyAuth": []
  6362. }
  6363. ],
  6364. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6365. "produces": [
  6366. "application/json"
  6367. ],
  6368. "tags": [
  6369. "定制【海商报业】"
  6370. ],
  6371. "summary": "我的优惠卷持仓查询",
  6372. "parameters": [
  6373. {
  6374. "type": "string",
  6375. "description": "资金账户列表,格式:1,2,3",
  6376. "name": "accountIDs",
  6377. "in": "query",
  6378. "required": true
  6379. },
  6380. {
  6381. "type": "string",
  6382. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6383. "name": "holdStatus",
  6384. "in": "query"
  6385. }
  6386. ],
  6387. "responses": {
  6388. "200": {
  6389. "description": "OK",
  6390. "schema": {
  6391. "$ref": "#/definitions/models.MyCouponHold"
  6392. }
  6393. },
  6394. "500": {
  6395. "description": "Internal Server Error",
  6396. "schema": {
  6397. "$ref": "#/definitions/app.Response"
  6398. }
  6399. }
  6400. }
  6401. }
  6402. },
  6403. "/HSBY/QueryMyCoupons": {
  6404. "get": {
  6405. "security": [
  6406. {
  6407. "ApiKeyAuth": []
  6408. }
  6409. ],
  6410. "produces": [
  6411. "application/json"
  6412. ],
  6413. "tags": [
  6414. "定制【海商报业】"
  6415. ],
  6416. "summary": "我的优惠卷查询",
  6417. "parameters": [
  6418. {
  6419. "type": "string",
  6420. "description": "资金账户列表,格式:1,2,3",
  6421. "name": "accountIDs",
  6422. "in": "query",
  6423. "required": true
  6424. },
  6425. {
  6426. "type": "integer",
  6427. "description": "商品ID, 一般与sellUserID配套传入",
  6428. "name": "goodsID",
  6429. "in": "query"
  6430. },
  6431. {
  6432. "type": "integer",
  6433. "description": "卖方UserID",
  6434. "name": "sellUserID",
  6435. "in": "query"
  6436. }
  6437. ],
  6438. "responses": {
  6439. "200": {
  6440. "description": "OK",
  6441. "schema": {
  6442. "$ref": "#/definitions/models.MyCoupon"
  6443. }
  6444. },
  6445. "500": {
  6446. "description": "Internal Server Error",
  6447. "schema": {
  6448. "$ref": "#/definitions/app.Response"
  6449. }
  6450. }
  6451. }
  6452. }
  6453. },
  6454. "/HSBY/QueryMyPayOrders": {
  6455. "get": {
  6456. "security": [
  6457. {
  6458. "ApiKeyAuth": []
  6459. }
  6460. ],
  6461. "produces": [
  6462. "application/json"
  6463. ],
  6464. "tags": [
  6465. "定制【海商报业】"
  6466. ],
  6467. "summary": "获取我的订单中待付款信息",
  6468. "parameters": [
  6469. {
  6470. "type": "integer",
  6471. "description": "页码",
  6472. "name": "page",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "integer",
  6477. "description": "每页条数",
  6478. "name": "pagesize",
  6479. "in": "query"
  6480. },
  6481. {
  6482. "type": "string",
  6483. "description": "资金账户列表,格式:1,2,3",
  6484. "name": "accountIDs",
  6485. "in": "query",
  6486. "required": true
  6487. },
  6488. {
  6489. "type": "integer",
  6490. "description": "买方委托单号",
  6491. "name": "buyOrderID",
  6492. "in": "query"
  6493. },
  6494. {
  6495. "type": "integer",
  6496. "description": "卖方委托单号",
  6497. "name": "sellOrderID",
  6498. "in": "query"
  6499. }
  6500. ],
  6501. "responses": {
  6502. "200": {
  6503. "description": "OK",
  6504. "schema": {
  6505. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6506. }
  6507. },
  6508. "500": {
  6509. "description": "Internal Server Error",
  6510. "schema": {
  6511. "$ref": "#/definitions/app.Response"
  6512. }
  6513. }
  6514. }
  6515. }
  6516. },
  6517. "/HSBY/QueryMyUsedCoupon": {
  6518. "get": {
  6519. "security": [
  6520. {
  6521. "ApiKeyAuth": []
  6522. }
  6523. ],
  6524. "produces": [
  6525. "application/json"
  6526. ],
  6527. "tags": [
  6528. "定制【海商报业】"
  6529. ],
  6530. "summary": "已使用优惠卷查询",
  6531. "parameters": [
  6532. {
  6533. "type": "string",
  6534. "description": "资金账户列表,格式:1,2,3",
  6535. "name": "accountIDs",
  6536. "in": "query",
  6537. "required": true
  6538. }
  6539. ],
  6540. "responses": {
  6541. "200": {
  6542. "description": "OK",
  6543. "schema": {
  6544. "$ref": "#/definitions/models.MyUsedCoupon"
  6545. }
  6546. },
  6547. "500": {
  6548. "description": "Internal Server Error",
  6549. "schema": {
  6550. "$ref": "#/definitions/app.Response"
  6551. }
  6552. }
  6553. }
  6554. }
  6555. },
  6556. "/HSBY/QueryProvincesAndCities": {
  6557. "get": {
  6558. "security": [
  6559. {
  6560. "ApiKeyAuth": []
  6561. }
  6562. ],
  6563. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6564. "produces": [
  6565. "application/json"
  6566. ],
  6567. "tags": [
  6568. "定制【海商报业】"
  6569. ],
  6570. "summary": "查询省市信息(不包括区)",
  6571. "parameters": [
  6572. {
  6573. "type": "integer",
  6574. "description": "省ID",
  6575. "name": "provinceID",
  6576. "in": "query"
  6577. }
  6578. ],
  6579. "responses": {
  6580. "200": {
  6581. "description": "OK",
  6582. "schema": {
  6583. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6584. }
  6585. },
  6586. "500": {
  6587. "description": "Internal Server Error",
  6588. "schema": {
  6589. "$ref": "#/definitions/app.Response"
  6590. }
  6591. }
  6592. }
  6593. }
  6594. },
  6595. "/HSBY/SetHsbyMyPackagesStatus": {
  6596. "post": {
  6597. "security": [
  6598. {
  6599. "ApiKeyAuth": []
  6600. }
  6601. ],
  6602. "produces": [
  6603. "application/json"
  6604. ],
  6605. "tags": [
  6606. "定制【海商报业】"
  6607. ],
  6608. "summary": "设置我的包裹已收货状态",
  6609. "parameters": [
  6610. {
  6611. "type": "string",
  6612. "description": "提货单号",
  6613. "name": "takeOrderID",
  6614. "in": "query",
  6615. "required": true
  6616. },
  6617. {
  6618. "type": "integer",
  6619. "description": "资金账号",
  6620. "name": "accountID",
  6621. "in": "query",
  6622. "required": true
  6623. }
  6624. ],
  6625. "responses": {
  6626. "200": {
  6627. "description": "OK",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. },
  6632. "500": {
  6633. "description": "Internal Server Error",
  6634. "schema": {
  6635. "$ref": "#/definitions/app.Response"
  6636. }
  6637. }
  6638. }
  6639. }
  6640. },
  6641. "/Market/GetAllExExchanges": {
  6642. "get": {
  6643. "security": [
  6644. {
  6645. "ApiKeyAuth": []
  6646. }
  6647. ],
  6648. "produces": [
  6649. "application/json"
  6650. ],
  6651. "tags": [
  6652. "通用市场"
  6653. ],
  6654. "summary": "获取所有外部交易所信息",
  6655. "responses": {
  6656. "200": {
  6657. "description": "OK",
  6658. "schema": {
  6659. "$ref": "#/definitions/models.Goods"
  6660. }
  6661. },
  6662. "500": {
  6663. "description": "Internal Server Error",
  6664. "schema": {
  6665. "$ref": "#/definitions/app.Response"
  6666. }
  6667. }
  6668. }
  6669. }
  6670. },
  6671. "/Market/QueryGoodsesByLoginID": {
  6672. "get": {
  6673. "security": [
  6674. {
  6675. "ApiKeyAuth": []
  6676. }
  6677. ],
  6678. "produces": [
  6679. "application/json"
  6680. ],
  6681. "tags": [
  6682. "通用市场"
  6683. ],
  6684. "summary": "获取登录账号有权限的商品信息",
  6685. "parameters": [
  6686. {
  6687. "type": "integer",
  6688. "description": "登录账号",
  6689. "name": "loginID",
  6690. "in": "query",
  6691. "required": true
  6692. },
  6693. {
  6694. "type": "string",
  6695. "description": "市场ID列表,格式:1,2,3",
  6696. "name": "marketIDs",
  6697. "in": "query"
  6698. }
  6699. ],
  6700. "responses": {
  6701. "200": {
  6702. "description": "OK",
  6703. "schema": {
  6704. "$ref": "#/definitions/models.Goods"
  6705. }
  6706. },
  6707. "500": {
  6708. "description": "Internal Server Error",
  6709. "schema": {
  6710. "$ref": "#/definitions/app.Response"
  6711. }
  6712. }
  6713. }
  6714. }
  6715. },
  6716. "/Market/QueryMarketRun": {
  6717. "get": {
  6718. "security": [
  6719. {
  6720. "ApiKeyAuth": []
  6721. }
  6722. ],
  6723. "produces": [
  6724. "application/json"
  6725. ],
  6726. "tags": [
  6727. "通用市场"
  6728. ],
  6729. "summary": "查询市场运行信息",
  6730. "parameters": [
  6731. {
  6732. "type": "integer",
  6733. "description": "市场ID,不传返回所有",
  6734. "name": "marketID",
  6735. "in": "query"
  6736. }
  6737. ],
  6738. "responses": {
  6739. "200": {
  6740. "description": "OK",
  6741. "schema": {
  6742. "$ref": "#/definitions/models.Marketrun"
  6743. }
  6744. },
  6745. "500": {
  6746. "description": "Internal Server Error",
  6747. "schema": {
  6748. "$ref": "#/definitions/app.Response"
  6749. }
  6750. }
  6751. }
  6752. }
  6753. },
  6754. "/Market/QueryMarketsByLoginID": {
  6755. "get": {
  6756. "security": [
  6757. {
  6758. "ApiKeyAuth": []
  6759. }
  6760. ],
  6761. "produces": [
  6762. "application/json"
  6763. ],
  6764. "tags": [
  6765. "通用市场"
  6766. ],
  6767. "summary": "获取登录账号有权限的市场信息",
  6768. "parameters": [
  6769. {
  6770. "type": "integer",
  6771. "description": "登录账号",
  6772. "name": "loginID",
  6773. "in": "query",
  6774. "required": true
  6775. }
  6776. ],
  6777. "responses": {
  6778. "200": {
  6779. "description": "OK",
  6780. "schema": {
  6781. "$ref": "#/definitions/models.Market"
  6782. }
  6783. },
  6784. "500": {
  6785. "description": "Internal Server Error",
  6786. "schema": {
  6787. "$ref": "#/definitions/app.Response"
  6788. }
  6789. }
  6790. }
  6791. }
  6792. },
  6793. "/Order/QueryHisTradeDetail": {
  6794. "get": {
  6795. "security": [
  6796. {
  6797. "ApiKeyAuth": []
  6798. }
  6799. ],
  6800. "produces": [
  6801. "application/json"
  6802. ],
  6803. "tags": [
  6804. "通用单据"
  6805. ],
  6806. "summary": "历史成交单查询(合约市场)",
  6807. "parameters": [
  6808. {
  6809. "type": "string",
  6810. "description": "资金账户 - 格式:1,2,3",
  6811. "name": "accountID",
  6812. "in": "query",
  6813. "required": true
  6814. },
  6815. {
  6816. "type": "integer",
  6817. "description": "成交单号",
  6818. "name": "tradeID",
  6819. "in": "query"
  6820. },
  6821. {
  6822. "type": "integer",
  6823. "description": "委托单号",
  6824. "name": "orderID",
  6825. "in": "query"
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "商品ID",
  6830. "name": "goodsID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "string",
  6835. "description": "交易模式 - 格式:1,2,3",
  6836. "name": "tradeMode",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "委托单据类型",
  6842. "name": "buildType",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "string",
  6847. "description": "成交类别 - 格式:1,2,3",
  6848. "name": "tradeType",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "string",
  6853. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6854. "name": "startDate",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6860. "name": "endDate",
  6861. "in": "query"
  6862. }
  6863. ],
  6864. "responses": {
  6865. "200": {
  6866. "description": "OK",
  6867. "schema": {
  6868. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6869. }
  6870. },
  6871. "500": {
  6872. "description": "Internal Server Error",
  6873. "schema": {
  6874. "$ref": "#/definitions/app.Response"
  6875. }
  6876. }
  6877. }
  6878. }
  6879. },
  6880. "/Order/QueryHisTradeOrderDetail": {
  6881. "get": {
  6882. "security": [
  6883. {
  6884. "ApiKeyAuth": []
  6885. }
  6886. ],
  6887. "produces": [
  6888. "application/json"
  6889. ],
  6890. "tags": [
  6891. "通用单据"
  6892. ],
  6893. "summary": "历史委托单查询请求(合约市场)",
  6894. "parameters": [
  6895. {
  6896. "type": "string",
  6897. "description": "资金账户 - 格式:1,2,3",
  6898. "name": "accountID",
  6899. "in": "query",
  6900. "required": true
  6901. },
  6902. {
  6903. "type": "string",
  6904. "description": "交易模式 - 格式:1,2,3",
  6905. "name": "tradeMode",
  6906. "in": "query"
  6907. },
  6908. {
  6909. "type": "string",
  6910. "description": "委托状态 - 格式:1,2,3",
  6911. "name": "orderStatus",
  6912. "in": "query"
  6913. },
  6914. {
  6915. "type": "integer",
  6916. "description": "委托单号",
  6917. "name": "orderID",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6923. "name": "startDate",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "string",
  6928. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6929. "name": "endDate",
  6930. "in": "query"
  6931. }
  6932. ],
  6933. "responses": {
  6934. "200": {
  6935. "description": "OK",
  6936. "schema": {
  6937. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6938. }
  6939. },
  6940. "500": {
  6941. "description": "Internal Server Error",
  6942. "schema": {
  6943. "$ref": "#/definitions/app.Response"
  6944. }
  6945. }
  6946. }
  6947. }
  6948. },
  6949. "/Order/QueryTradeDetail": {
  6950. "get": {
  6951. "security": [
  6952. {
  6953. "ApiKeyAuth": []
  6954. }
  6955. ],
  6956. "produces": [
  6957. "application/json"
  6958. ],
  6959. "tags": [
  6960. "通用单据"
  6961. ],
  6962. "summary": "成交单查询(合约市场)",
  6963. "parameters": [
  6964. {
  6965. "type": "string",
  6966. "description": "资金账户 - 格式:1,2,3",
  6967. "name": "accountID",
  6968. "in": "query",
  6969. "required": true
  6970. },
  6971. {
  6972. "type": "integer",
  6973. "description": "成交单号",
  6974. "name": "tradeID",
  6975. "in": "query"
  6976. },
  6977. {
  6978. "type": "integer",
  6979. "description": "委托单号",
  6980. "name": "orderID",
  6981. "in": "query"
  6982. },
  6983. {
  6984. "type": "string",
  6985. "description": "交易模式 - 格式:1,2,3",
  6986. "name": "tradeMode",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "委托单据类型",
  6992. "name": "buildType",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "成交类别 - 格式:1,2,3",
  6998. "name": "tradeType",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "商品ID",
  7004. "name": "goodsID",
  7005. "in": "query"
  7006. }
  7007. ],
  7008. "responses": {
  7009. "200": {
  7010. "description": "OK",
  7011. "schema": {
  7012. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7013. }
  7014. },
  7015. "500": {
  7016. "description": "Internal Server Error",
  7017. "schema": {
  7018. "$ref": "#/definitions/app.Response"
  7019. }
  7020. }
  7021. }
  7022. }
  7023. },
  7024. "/Order/QueryTradeOrderDetail": {
  7025. "get": {
  7026. "security": [
  7027. {
  7028. "ApiKeyAuth": []
  7029. }
  7030. ],
  7031. "produces": [
  7032. "application/json"
  7033. ],
  7034. "tags": [
  7035. "通用单据"
  7036. ],
  7037. "summary": "委托单查询请求(合约市场)",
  7038. "parameters": [
  7039. {
  7040. "type": "string",
  7041. "description": "资金账户 - 格式:1,2,3",
  7042. "name": "accountID",
  7043. "in": "query",
  7044. "required": true
  7045. },
  7046. {
  7047. "type": "string",
  7048. "description": "交易模式 - 格式:1,2,3",
  7049. "name": "tradeMode",
  7050. "in": "query"
  7051. },
  7052. {
  7053. "type": "string",
  7054. "description": "委托状态 - 格式:1,2,3",
  7055. "name": "orderStatus",
  7056. "in": "query"
  7057. },
  7058. {
  7059. "type": "integer",
  7060. "description": "委托单号",
  7061. "name": "orderID",
  7062. "in": "query"
  7063. }
  7064. ],
  7065. "responses": {
  7066. "200": {
  7067. "description": "OK",
  7068. "schema": {
  7069. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7070. }
  7071. },
  7072. "500": {
  7073. "description": "Internal Server Error",
  7074. "schema": {
  7075. "$ref": "#/definitions/app.Response"
  7076. }
  7077. }
  7078. }
  7079. }
  7080. },
  7081. "/Order/QueryTradePosition": {
  7082. "get": {
  7083. "security": [
  7084. {
  7085. "ApiKeyAuth": []
  7086. }
  7087. ],
  7088. "produces": [
  7089. "application/json"
  7090. ],
  7091. "tags": [
  7092. "通用单据"
  7093. ],
  7094. "summary": "持仓汇总查询(合约市场)",
  7095. "parameters": [
  7096. {
  7097. "type": "string",
  7098. "description": "资金账户 - 格式:1,2,3",
  7099. "name": "accountID",
  7100. "in": "query",
  7101. "required": true
  7102. },
  7103. {
  7104. "type": "string",
  7105. "description": "交易模式 - 格式:1,2,3",
  7106. "name": "tradeMode",
  7107. "in": "query"
  7108. }
  7109. ],
  7110. "responses": {
  7111. "200": {
  7112. "description": "OK",
  7113. "schema": {
  7114. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7115. }
  7116. },
  7117. "500": {
  7118. "description": "Internal Server Error",
  7119. "schema": {
  7120. "$ref": "#/definitions/app.Response"
  7121. }
  7122. }
  7123. }
  7124. }
  7125. },
  7126. "/Qhj/QueryAccountInOutApply": {
  7127. "get": {
  7128. "security": [
  7129. {
  7130. "ApiKeyAuth": []
  7131. }
  7132. ],
  7133. "produces": [
  7134. "application/json"
  7135. ],
  7136. "tags": [
  7137. "大连千海金"
  7138. ],
  7139. "summary": "查询充值提现",
  7140. "parameters": [
  7141. {
  7142. "type": "integer",
  7143. "description": "用户ID",
  7144. "name": "userid",
  7145. "in": "query",
  7146. "required": true
  7147. },
  7148. {
  7149. "type": "string",
  7150. "description": "申请起始日期(格式yyyymmdd)",
  7151. "name": "begindate",
  7152. "in": "query"
  7153. },
  7154. {
  7155. "type": "string",
  7156. "description": "申请截止日期(格式yyyymmdd)",
  7157. "name": "enddate",
  7158. "in": "query"
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "模糊搜索名称",
  7163. "name": "likename",
  7164. "in": "query"
  7165. }
  7166. ],
  7167. "responses": {
  7168. "200": {
  7169. "description": "OK",
  7170. "schema": {
  7171. "type": "array",
  7172. "items": {
  7173. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7174. }
  7175. }
  7176. },
  7177. "500": {
  7178. "description": "Internal Server Error",
  7179. "schema": {
  7180. "$ref": "#/definitions/app.Response"
  7181. }
  7182. }
  7183. }
  7184. }
  7185. },
  7186. "/Qhj/QueryAreaFinanceConfig": {
  7187. "get": {
  7188. "security": [
  7189. {
  7190. "ApiKeyAuth": []
  7191. }
  7192. ],
  7193. "produces": [
  7194. "application/json"
  7195. ],
  7196. "tags": [
  7197. "大连千海金"
  7198. ],
  7199. "summary": "查询企业配置表",
  7200. "parameters": [
  7201. {
  7202. "type": "integer",
  7203. "description": "机构用户ID 其他做市关系,都设置为 1",
  7204. "name": "userid",
  7205. "in": "query"
  7206. }
  7207. ],
  7208. "responses": {
  7209. "200": {
  7210. "description": "OK",
  7211. "schema": {
  7212. "type": "array",
  7213. "items": {
  7214. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7215. }
  7216. }
  7217. },
  7218. "500": {
  7219. "description": "Internal Server Error",
  7220. "schema": {
  7221. "$ref": "#/definitions/app.Response"
  7222. }
  7223. }
  7224. }
  7225. }
  7226. },
  7227. "/Qhj/QueryBankAccountSign": {
  7228. "get": {
  7229. "security": [
  7230. {
  7231. "ApiKeyAuth": []
  7232. }
  7233. ],
  7234. "produces": [
  7235. "application/json"
  7236. ],
  7237. "tags": [
  7238. "大连千海金"
  7239. ],
  7240. "summary": "查询签约银行信息(提现账户管理)",
  7241. "parameters": [
  7242. {
  7243. "type": "integer",
  7244. "description": "用户ID",
  7245. "name": "userid",
  7246. "in": "query",
  7247. "required": true
  7248. }
  7249. ],
  7250. "responses": {
  7251. "200": {
  7252. "description": "OK",
  7253. "schema": {
  7254. "type": "array",
  7255. "items": {
  7256. "$ref": "#/definitions/models.QhjBankAccountSign"
  7257. }
  7258. }
  7259. },
  7260. "500": {
  7261. "description": "Internal Server Error",
  7262. "schema": {
  7263. "$ref": "#/definitions/app.Response"
  7264. }
  7265. }
  7266. }
  7267. }
  7268. },
  7269. "/Qhj/QueryBankInfo": {
  7270. "get": {
  7271. "security": [
  7272. {
  7273. "ApiKeyAuth": []
  7274. }
  7275. ],
  7276. "produces": [
  7277. "application/json"
  7278. ],
  7279. "tags": [
  7280. "大连千海金"
  7281. ],
  7282. "summary": "查询开户行",
  7283. "responses": {
  7284. "200": {
  7285. "description": "OK",
  7286. "schema": {
  7287. "type": "array",
  7288. "items": {
  7289. "$ref": "#/definitions/models.QhjBankInfo"
  7290. }
  7291. }
  7292. },
  7293. "500": {
  7294. "description": "Internal Server Error",
  7295. "schema": {
  7296. "$ref": "#/definitions/app.Response"
  7297. }
  7298. }
  7299. }
  7300. }
  7301. },
  7302. "/Qhj/QueryBrokerApply": {
  7303. "get": {
  7304. "security": [
  7305. {
  7306. "ApiKeyAuth": []
  7307. }
  7308. ],
  7309. "produces": [
  7310. "application/json"
  7311. ],
  7312. "tags": [
  7313. "大连千海金"
  7314. ],
  7315. "summary": "查询经纪人申请",
  7316. "parameters": [
  7317. {
  7318. "type": "integer",
  7319. "description": "所属机构ID",
  7320. "name": "userid",
  7321. "in": "query"
  7322. },
  7323. {
  7324. "type": "string",
  7325. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7326. "name": "filterstatus",
  7327. "in": "query"
  7328. }
  7329. ],
  7330. "responses": {
  7331. "200": {
  7332. "description": "OK",
  7333. "schema": {
  7334. "type": "array",
  7335. "items": {
  7336. "$ref": "#/definitions/models.QhjBrokerApply"
  7337. }
  7338. }
  7339. },
  7340. "500": {
  7341. "description": "Internal Server Error",
  7342. "schema": {
  7343. "$ref": "#/definitions/app.Response"
  7344. }
  7345. }
  7346. }
  7347. }
  7348. },
  7349. "/Qhj/QueryBrokerApplyEx": {
  7350. "get": {
  7351. "security": [
  7352. {
  7353. "ApiKeyAuth": []
  7354. }
  7355. ],
  7356. "produces": [
  7357. "application/json"
  7358. ],
  7359. "tags": [
  7360. "大连千海金"
  7361. ],
  7362. "summary": "查询经纪人信息和申请记录",
  7363. "parameters": [
  7364. {
  7365. "type": "integer",
  7366. "description": "所属机构ID",
  7367. "name": "userid",
  7368. "in": "query"
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "type": "array",
  7376. "items": {
  7377. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7378. }
  7379. }
  7380. },
  7381. "500": {
  7382. "description": "Internal Server Error",
  7383. "schema": {
  7384. "$ref": "#/definitions/app.Response"
  7385. }
  7386. }
  7387. }
  7388. }
  7389. },
  7390. "/Qhj/QueryBrokerRewardLog": {
  7391. "get": {
  7392. "security": [
  7393. {
  7394. "ApiKeyAuth": []
  7395. }
  7396. ],
  7397. "produces": [
  7398. "application/json"
  7399. ],
  7400. "tags": [
  7401. "大连千海金"
  7402. ],
  7403. "summary": "查询奖励流水(我的奖励)",
  7404. "parameters": [
  7405. {
  7406. "type": "integer",
  7407. "description": "用户ID",
  7408. "name": "userid",
  7409. "in": "query",
  7410. "required": true
  7411. },
  7412. {
  7413. "type": "string",
  7414. "description": "开始交易日(yyyymmdd)",
  7415. "name": "begindate",
  7416. "in": "query"
  7417. },
  7418. {
  7419. "type": "string",
  7420. "description": "结束交易日(yyyymmdd)",
  7421. "name": "enddate",
  7422. "in": "query"
  7423. }
  7424. ],
  7425. "responses": {
  7426. "200": {
  7427. "description": "OK",
  7428. "schema": {
  7429. "type": "array",
  7430. "items": {
  7431. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7432. }
  7433. }
  7434. },
  7435. "500": {
  7436. "description": "Internal Server Error",
  7437. "schema": {
  7438. "$ref": "#/definitions/app.Response"
  7439. }
  7440. }
  7441. }
  7442. }
  7443. },
  7444. "/Qhj/QueryContract": {
  7445. "get": {
  7446. "security": [
  7447. {
  7448. "ApiKeyAuth": []
  7449. }
  7450. ],
  7451. "produces": [
  7452. "application/json"
  7453. ],
  7454. "tags": [
  7455. "大连千海金"
  7456. ],
  7457. "summary": "查询融资明细(合同)",
  7458. "parameters": [
  7459. {
  7460. "type": "integer",
  7461. "description": "用户ID",
  7462. "name": "userid",
  7463. "in": "query"
  7464. },
  7465. {
  7466. "type": "integer",
  7467. "description": "scf合同id",
  7468. "name": "scfcontractid",
  7469. "in": "query"
  7470. }
  7471. ],
  7472. "responses": {
  7473. "200": {
  7474. "description": "OK",
  7475. "schema": {
  7476. "type": "array",
  7477. "items": {
  7478. "$ref": "#/definitions/models.QhjContract"
  7479. }
  7480. }
  7481. },
  7482. "500": {
  7483. "description": "Internal Server Error",
  7484. "schema": {
  7485. "$ref": "#/definitions/app.Response"
  7486. }
  7487. }
  7488. }
  7489. }
  7490. },
  7491. "/Qhj/QueryContractLog": {
  7492. "get": {
  7493. "security": [
  7494. {
  7495. "ApiKeyAuth": []
  7496. }
  7497. ],
  7498. "produces": [
  7499. "application/json"
  7500. ],
  7501. "tags": [
  7502. "大连千海金"
  7503. ],
  7504. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7505. "parameters": [
  7506. {
  7507. "type": "integer",
  7508. "description": "scf合同id",
  7509. "name": "scfcontractid",
  7510. "in": "query",
  7511. "required": true
  7512. },
  7513. {
  7514. "type": "string",
  7515. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7516. "name": "amounttype",
  7517. "in": "query"
  7518. }
  7519. ],
  7520. "responses": {
  7521. "200": {
  7522. "description": "OK",
  7523. "schema": {
  7524. "type": "array",
  7525. "items": {
  7526. "$ref": "#/definitions/models.QhjContractLog"
  7527. }
  7528. }
  7529. },
  7530. "500": {
  7531. "description": "Internal Server Error",
  7532. "schema": {
  7533. "$ref": "#/definitions/app.Response"
  7534. }
  7535. }
  7536. }
  7537. }
  7538. },
  7539. "/Qhj/QueryCusBankSignBank": {
  7540. "get": {
  7541. "security": [
  7542. {
  7543. "ApiKeyAuth": []
  7544. }
  7545. ],
  7546. "produces": [
  7547. "application/json"
  7548. ],
  7549. "tags": [
  7550. "大连千海金"
  7551. ],
  7552. "summary": "查询托管银行",
  7553. "responses": {
  7554. "200": {
  7555. "description": "OK",
  7556. "schema": {
  7557. "type": "array",
  7558. "items": {
  7559. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7560. }
  7561. }
  7562. },
  7563. "500": {
  7564. "description": "Internal Server Error",
  7565. "schema": {
  7566. "$ref": "#/definitions/app.Response"
  7567. }
  7568. }
  7569. }
  7570. }
  7571. },
  7572. "/Qhj/QueryCustomerInfo": {
  7573. "get": {
  7574. "security": [
  7575. {
  7576. "ApiKeyAuth": []
  7577. }
  7578. ],
  7579. "produces": [
  7580. "application/json"
  7581. ],
  7582. "tags": [
  7583. "大连千海金"
  7584. ],
  7585. "summary": "查询客户资料",
  7586. "parameters": [
  7587. {
  7588. "type": "integer",
  7589. "description": "用户ID",
  7590. "name": "userid",
  7591. "in": "query",
  7592. "required": true
  7593. },
  7594. {
  7595. "type": "integer",
  7596. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7597. "name": "querytype",
  7598. "in": "query",
  7599. "required": true
  7600. },
  7601. {
  7602. "type": "integer",
  7603. "description": "客户类型 1-个人 2-企业",
  7604. "name": "userinfotype",
  7605. "in": "query"
  7606. },
  7607. {
  7608. "type": "string",
  7609. "description": "客户名称(模糊匹配)",
  7610. "name": "customername",
  7611. "in": "query"
  7612. },
  7613. {
  7614. "type": "string",
  7615. "description": "昵称(模糊匹配)",
  7616. "name": "nickname",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "是否包含子级 1-包含",
  7622. "name": "includesub",
  7623. "in": "query"
  7624. }
  7625. ],
  7626. "responses": {
  7627. "200": {
  7628. "description": "OK",
  7629. "schema": {
  7630. "type": "array",
  7631. "items": {
  7632. "$ref": "#/definitions/models.QhjCustomer"
  7633. }
  7634. }
  7635. },
  7636. "500": {
  7637. "description": "Internal Server Error",
  7638. "schema": {
  7639. "$ref": "#/definitions/app.Response"
  7640. }
  7641. }
  7642. }
  7643. }
  7644. },
  7645. "/Qhj/QueryGoodsEx": {
  7646. "get": {
  7647. "security": [
  7648. {
  7649. "ApiKeyAuth": []
  7650. }
  7651. ],
  7652. "produces": [
  7653. "application/json"
  7654. ],
  7655. "tags": [
  7656. "大连千海金"
  7657. ],
  7658. "summary": "交易商品扩展表",
  7659. "parameters": [
  7660. {
  7661. "type": "integer",
  7662. "description": "商品id",
  7663. "name": "goodsid",
  7664. "in": "query"
  7665. }
  7666. ],
  7667. "responses": {
  7668. "200": {
  7669. "description": "OK",
  7670. "schema": {
  7671. "type": "array",
  7672. "items": {
  7673. "$ref": "#/definitions/models.Qhjgoodsex"
  7674. }
  7675. }
  7676. },
  7677. "500": {
  7678. "description": "Internal Server Error",
  7679. "schema": {
  7680. "$ref": "#/definitions/app.Response"
  7681. }
  7682. }
  7683. }
  7684. }
  7685. },
  7686. "/Qhj/QueryMyTeam": {
  7687. "get": {
  7688. "security": [
  7689. {
  7690. "ApiKeyAuth": []
  7691. }
  7692. ],
  7693. "produces": [
  7694. "application/json"
  7695. ],
  7696. "tags": [
  7697. "大连千海金"
  7698. ],
  7699. "summary": "查询我的团队",
  7700. "parameters": [
  7701. {
  7702. "type": "integer",
  7703. "description": "用户ID",
  7704. "name": "userid",
  7705. "in": "query",
  7706. "required": true
  7707. }
  7708. ],
  7709. "responses": {
  7710. "200": {
  7711. "description": "OK",
  7712. "schema": {
  7713. "type": "array",
  7714. "items": {
  7715. "$ref": "#/definitions/models.QhjMyTeamEx"
  7716. }
  7717. }
  7718. },
  7719. "500": {
  7720. "description": "Internal Server Error",
  7721. "schema": {
  7722. "$ref": "#/definitions/app.Response"
  7723. }
  7724. }
  7725. }
  7726. }
  7727. },
  7728. "/Qhj/QueryMyTeamOrder": {
  7729. "get": {
  7730. "security": [
  7731. {
  7732. "ApiKeyAuth": []
  7733. }
  7734. ],
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "大连千海金"
  7740. ],
  7741. "summary": "查询团队订单(我的团队/团队订单)",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "页码",
  7746. "name": "page",
  7747. "in": "query"
  7748. },
  7749. {
  7750. "type": "integer",
  7751. "description": "每页条数",
  7752. "name": "pagesize",
  7753. "in": "query"
  7754. },
  7755. {
  7756. "type": "integer",
  7757. "description": "用户ID",
  7758. "name": "userid",
  7759. "in": "query",
  7760. "required": true
  7761. },
  7762. {
  7763. "type": "integer",
  7764. "description": "交易模式",
  7765. "name": "trademode",
  7766. "in": "query"
  7767. },
  7768. {
  7769. "type": "string",
  7770. "description": "名称(模糊搜索账户)",
  7771. "name": "filtername",
  7772. "in": "query"
  7773. }
  7774. ],
  7775. "responses": {
  7776. "200": {
  7777. "description": "OK",
  7778. "schema": {
  7779. "type": "array",
  7780. "items": {
  7781. "$ref": "#/definitions/models.QhjTeamOrder"
  7782. }
  7783. }
  7784. },
  7785. "500": {
  7786. "description": "Internal Server Error",
  7787. "schema": {
  7788. "$ref": "#/definitions/app.Response"
  7789. }
  7790. }
  7791. }
  7792. }
  7793. },
  7794. "/Qhj/QueryParentAreaList": {
  7795. "get": {
  7796. "security": [
  7797. {
  7798. "ApiKeyAuth": []
  7799. }
  7800. ],
  7801. "produces": [
  7802. "application/json"
  7803. ],
  7804. "tags": [
  7805. "大连千海金"
  7806. ],
  7807. "summary": "查询所属机构列表",
  7808. "parameters": [
  7809. {
  7810. "type": "integer",
  7811. "description": "用户ID",
  7812. "name": "userid",
  7813. "in": "query",
  7814. "required": true
  7815. }
  7816. ],
  7817. "responses": {
  7818. "200": {
  7819. "description": "OK",
  7820. "schema": {
  7821. "type": "array",
  7822. "items": {
  7823. "$ref": "#/definitions/models.QhjParentAreaList"
  7824. }
  7825. }
  7826. },
  7827. "500": {
  7828. "description": "Internal Server Error",
  7829. "schema": {
  7830. "$ref": "#/definitions/app.Response"
  7831. }
  7832. }
  7833. }
  7834. }
  7835. },
  7836. "/Qhj/QueryPayOrder": {
  7837. "get": {
  7838. "security": [
  7839. {
  7840. "ApiKeyAuth": []
  7841. }
  7842. ],
  7843. "produces": [
  7844. "application/json"
  7845. ],
  7846. "tags": [
  7847. "大连千海金"
  7848. ],
  7849. "summary": "查询待付款单据",
  7850. "parameters": [
  7851. {
  7852. "type": "integer",
  7853. "description": "资金账号id",
  7854. "name": "accountid",
  7855. "in": "query",
  7856. "required": true
  7857. },
  7858. {
  7859. "type": "integer",
  7860. "description": "成交单号",
  7861. "name": "tradeid",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7867. "name": "payflag",
  7868. "in": "query"
  7869. }
  7870. ],
  7871. "responses": {
  7872. "200": {
  7873. "description": "OK",
  7874. "schema": {
  7875. "type": "array",
  7876. "items": {
  7877. "$ref": "#/definitions/models.QhjPayOrder"
  7878. }
  7879. }
  7880. },
  7881. "500": {
  7882. "description": "Internal Server Error",
  7883. "schema": {
  7884. "$ref": "#/definitions/app.Response"
  7885. }
  7886. }
  7887. }
  7888. }
  7889. },
  7890. "/Qhj/QueryPickArea": {
  7891. "get": {
  7892. "security": [
  7893. {
  7894. "ApiKeyAuth": []
  7895. }
  7896. ],
  7897. "produces": [
  7898. "application/json"
  7899. ],
  7900. "tags": [
  7901. "大连千海金"
  7902. ],
  7903. "summary": "查询提货门店",
  7904. "parameters": [
  7905. {
  7906. "type": "integer",
  7907. "description": "用户ID",
  7908. "name": "userid",
  7909. "in": "query"
  7910. }
  7911. ],
  7912. "responses": {
  7913. "200": {
  7914. "description": "OK",
  7915. "schema": {
  7916. "type": "array",
  7917. "items": {
  7918. "$ref": "#/definitions/models.QhjPickArea"
  7919. }
  7920. }
  7921. },
  7922. "500": {
  7923. "description": "Internal Server Error",
  7924. "schema": {
  7925. "$ref": "#/definitions/app.Response"
  7926. }
  7927. }
  7928. }
  7929. }
  7930. },
  7931. "/Qhj/QueryPickGoods": {
  7932. "get": {
  7933. "security": [
  7934. {
  7935. "ApiKeyAuth": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "大连千海金"
  7943. ],
  7944. "summary": "查询提货商品",
  7945. "parameters": [
  7946. {
  7947. "type": "integer",
  7948. "description": "交易商品id",
  7949. "name": "goodsid",
  7950. "in": "query",
  7951. "required": true
  7952. },
  7953. {
  7954. "type": "string",
  7955. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7956. "name": "status",
  7957. "in": "query"
  7958. }
  7959. ],
  7960. "responses": {
  7961. "200": {
  7962. "description": "OK",
  7963. "schema": {
  7964. "type": "array",
  7965. "items": {
  7966. "$ref": "#/definitions/models.QhjPickGoods"
  7967. }
  7968. }
  7969. },
  7970. "500": {
  7971. "description": "Internal Server Error",
  7972. "schema": {
  7973. "$ref": "#/definitions/app.Response"
  7974. }
  7975. }
  7976. }
  7977. }
  7978. },
  7979. "/Qhj/QueryRSTriggerLog": {
  7980. "get": {
  7981. "security": [
  7982. {
  7983. "ApiKeyAuth": []
  7984. }
  7985. ],
  7986. "produces": [
  7987. "application/json"
  7988. ],
  7989. "tags": [
  7990. "大连千海金"
  7991. ],
  7992. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7993. "parameters": [
  7994. {
  7995. "type": "integer",
  7996. "description": "用户ID",
  7997. "name": "userid",
  7998. "in": "query"
  7999. },
  8000. {
  8001. "type": "integer",
  8002. "description": "定投策略id",
  8003. "name": "regularlystrategyid",
  8004. "in": "query"
  8005. },
  8006. {
  8007. "type": "integer",
  8008. "description": "商品id",
  8009. "name": "goodsid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "string",
  8014. "description": "开始交易日(yyyymmdd)",
  8015. "name": "begindate",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "string",
  8020. "description": "结束交易日(yyyymmdd)",
  8021. "name": "enddate",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "名称(模糊搜索账户)",
  8027. "name": "filtername",
  8028. "in": "query"
  8029. }
  8030. ],
  8031. "responses": {
  8032. "200": {
  8033. "description": "OK",
  8034. "schema": {
  8035. "type": "array",
  8036. "items": {
  8037. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8038. }
  8039. }
  8040. },
  8041. "500": {
  8042. "description": "Internal Server Error",
  8043. "schema": {
  8044. "$ref": "#/definitions/app.Response"
  8045. }
  8046. }
  8047. }
  8048. }
  8049. },
  8050. "/Qhj/QueryRStrategy": {
  8051. "get": {
  8052. "security": [
  8053. {
  8054. "ApiKeyAuth": []
  8055. }
  8056. ],
  8057. "produces": [
  8058. "application/json"
  8059. ],
  8060. "tags": [
  8061. "大连千海金"
  8062. ],
  8063. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8064. "parameters": [
  8065. {
  8066. "type": "integer",
  8067. "description": "用户ID",
  8068. "name": "userid",
  8069. "in": "query"
  8070. },
  8071. {
  8072. "type": "integer",
  8073. "description": "商品id",
  8074. "name": "goodsid",
  8075. "in": "query"
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8080. "name": "status",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "string",
  8085. "description": "名称(模糊搜索账户)",
  8086. "name": "filtername",
  8087. "in": "query"
  8088. }
  8089. ],
  8090. "responses": {
  8091. "200": {
  8092. "description": "OK",
  8093. "schema": {
  8094. "type": "array",
  8095. "items": {
  8096. "$ref": "#/definitions/models.QhjRStrategy"
  8097. }
  8098. }
  8099. },
  8100. "500": {
  8101. "description": "Internal Server Error",
  8102. "schema": {
  8103. "$ref": "#/definitions/app.Response"
  8104. }
  8105. }
  8106. }
  8107. }
  8108. },
  8109. "/Qhj/QueryReckonPriceLog": {
  8110. "get": {
  8111. "security": [
  8112. {
  8113. "ApiKeyAuth": []
  8114. }
  8115. ],
  8116. "produces": [
  8117. "application/json"
  8118. ],
  8119. "tags": [
  8120. "大连千海金"
  8121. ],
  8122. "summary": "查询定投价(结算价)",
  8123. "parameters": [
  8124. {
  8125. "type": "integer",
  8126. "description": "商品ID",
  8127. "name": "goodsid",
  8128. "in": "query"
  8129. },
  8130. {
  8131. "type": "string",
  8132. "description": "交易日 格式(yyyymmdd)",
  8133. "name": "tradedate",
  8134. "in": "query"
  8135. }
  8136. ],
  8137. "responses": {
  8138. "200": {
  8139. "description": "OK",
  8140. "schema": {
  8141. "type": "array",
  8142. "items": {
  8143. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8144. }
  8145. }
  8146. },
  8147. "500": {
  8148. "description": "Internal Server Error",
  8149. "schema": {
  8150. "$ref": "#/definitions/app.Response"
  8151. }
  8152. }
  8153. }
  8154. }
  8155. },
  8156. "/Qhj/QueryScoreLog": {
  8157. "get": {
  8158. "security": [
  8159. {
  8160. "ApiKeyAuth": []
  8161. }
  8162. ],
  8163. "produces": [
  8164. "application/json"
  8165. ],
  8166. "tags": [
  8167. "大连千海金"
  8168. ],
  8169. "summary": "查询积分流水(我的积分)",
  8170. "parameters": [
  8171. {
  8172. "type": "integer",
  8173. "description": "用户ID",
  8174. "name": "userid",
  8175. "in": "query",
  8176. "required": true
  8177. },
  8178. {
  8179. "type": "string",
  8180. "description": "开始交易日(yyyymmdd)",
  8181. "name": "begindate",
  8182. "in": "query"
  8183. },
  8184. {
  8185. "type": "string",
  8186. "description": "结束交易日(yyyymmdd)",
  8187. "name": "enddate",
  8188. "in": "query"
  8189. },
  8190. {
  8191. "type": "integer",
  8192. "description": "最近多少条",
  8193. "name": "lastnum",
  8194. "in": "query"
  8195. }
  8196. ],
  8197. "responses": {
  8198. "200": {
  8199. "description": "OK",
  8200. "schema": {
  8201. "type": "array",
  8202. "items": {
  8203. "$ref": "#/definitions/models.QhjScoreLog"
  8204. }
  8205. }
  8206. },
  8207. "500": {
  8208. "description": "Internal Server Error",
  8209. "schema": {
  8210. "$ref": "#/definitions/app.Response"
  8211. }
  8212. }
  8213. }
  8214. }
  8215. },
  8216. "/Qhj/QuerySiteColumnDetail": {
  8217. "get": {
  8218. "security": [
  8219. {
  8220. "ApiKeyAuth": []
  8221. }
  8222. ],
  8223. "produces": [
  8224. "application/json"
  8225. ],
  8226. "tags": [
  8227. "大连千海金"
  8228. ],
  8229. "summary": "查询资讯",
  8230. "parameters": [
  8231. {
  8232. "type": "integer",
  8233. "description": "用户ID",
  8234. "name": "userid",
  8235. "in": "query",
  8236. "required": true
  8237. }
  8238. ],
  8239. "responses": {
  8240. "200": {
  8241. "description": "OK",
  8242. "schema": {
  8243. "type": "array",
  8244. "items": {
  8245. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8246. }
  8247. }
  8248. },
  8249. "500": {
  8250. "description": "Internal Server Error",
  8251. "schema": {
  8252. "$ref": "#/definitions/app.Response"
  8253. }
  8254. }
  8255. }
  8256. }
  8257. },
  8258. "/Qhj/QueryTradeGoodsPickup": {
  8259. "get": {
  8260. "security": [
  8261. {
  8262. "ApiKeyAuth": []
  8263. }
  8264. ],
  8265. "produces": [
  8266. "application/json"
  8267. ],
  8268. "tags": [
  8269. "大连千海金"
  8270. ],
  8271. "summary": "查询提货",
  8272. "parameters": [
  8273. {
  8274. "type": "integer",
  8275. "description": "用户ID",
  8276. "name": "userid",
  8277. "in": "query",
  8278. "required": true
  8279. },
  8280. {
  8281. "type": "integer",
  8282. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8283. "name": "takeorderstatus",
  8284. "in": "query"
  8285. }
  8286. ],
  8287. "responses": {
  8288. "200": {
  8289. "description": "OK",
  8290. "schema": {
  8291. "type": "array",
  8292. "items": {
  8293. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8294. }
  8295. }
  8296. },
  8297. "500": {
  8298. "description": "Internal Server Error",
  8299. "schema": {
  8300. "$ref": "#/definitions/app.Response"
  8301. }
  8302. }
  8303. }
  8304. }
  8305. },
  8306. "/Qhj/QueryUserCollectConfig": {
  8307. "get": {
  8308. "security": [
  8309. {
  8310. "ApiKeyAuth": []
  8311. }
  8312. ],
  8313. "produces": [
  8314. "application/json"
  8315. ],
  8316. "tags": [
  8317. "大连千海金"
  8318. ],
  8319. "summary": "查询提现账户设置",
  8320. "parameters": [
  8321. {
  8322. "type": "integer",
  8323. "description": "用户ID",
  8324. "name": "userid",
  8325. "in": "query",
  8326. "required": true
  8327. }
  8328. ],
  8329. "responses": {
  8330. "200": {
  8331. "description": "OK",
  8332. "schema": {
  8333. "type": "array",
  8334. "items": {
  8335. "$ref": "#/definitions/models.UserCollectConfig"
  8336. }
  8337. }
  8338. },
  8339. "500": {
  8340. "description": "Internal Server Error",
  8341. "schema": {
  8342. "$ref": "#/definitions/app.Response"
  8343. }
  8344. }
  8345. }
  8346. }
  8347. },
  8348. "/Qhj/QueryUserReceiveInfo": {
  8349. "get": {
  8350. "security": [
  8351. {
  8352. "ApiKeyAuth": []
  8353. }
  8354. ],
  8355. "produces": [
  8356. "application/json"
  8357. ],
  8358. "tags": [
  8359. "大连千海金"
  8360. ],
  8361. "summary": "查询收货地址信息",
  8362. "parameters": [
  8363. {
  8364. "type": "integer",
  8365. "description": "用户ID",
  8366. "name": "userid",
  8367. "in": "query",
  8368. "required": true
  8369. }
  8370. ],
  8371. "responses": {
  8372. "200": {
  8373. "description": "OK",
  8374. "schema": {
  8375. "type": "array",
  8376. "items": {
  8377. "$ref": "#/definitions/models.UserReceiveInfo"
  8378. }
  8379. }
  8380. },
  8381. "500": {
  8382. "description": "Internal Server Error",
  8383. "schema": {
  8384. "$ref": "#/definitions/app.Response"
  8385. }
  8386. }
  8387. }
  8388. }
  8389. },
  8390. "/QhjMgr/QueryAccountInOutApply": {
  8391. "get": {
  8392. "security": [
  8393. {
  8394. "ApiKeyAuth": []
  8395. }
  8396. ],
  8397. "produces": [
  8398. "application/json"
  8399. ],
  8400. "tags": [
  8401. "大连千海金(PCWeb)"
  8402. ],
  8403. "summary": "查询充值提现",
  8404. "parameters": [
  8405. {
  8406. "type": "integer",
  8407. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8408. "name": "querytype",
  8409. "in": "query",
  8410. "required": true
  8411. },
  8412. {
  8413. "type": "integer",
  8414. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8415. "name": "applystatus",
  8416. "in": "query"
  8417. },
  8418. {
  8419. "type": "string",
  8420. "description": "申请起始日期(格式yyyymmdd)",
  8421. "name": "begindate",
  8422. "in": "query"
  8423. },
  8424. {
  8425. "type": "string",
  8426. "description": "申请截止日期(格式yyyymmdd)",
  8427. "name": "enddate",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "模糊搜索名称",
  8433. "name": "likename",
  8434. "in": "query"
  8435. }
  8436. ],
  8437. "responses": {
  8438. "200": {
  8439. "description": "OK",
  8440. "schema": {
  8441. "type": "array",
  8442. "items": {
  8443. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8444. }
  8445. }
  8446. },
  8447. "500": {
  8448. "description": "Internal Server Error",
  8449. "schema": {
  8450. "$ref": "#/definitions/app.Response"
  8451. }
  8452. }
  8453. }
  8454. }
  8455. },
  8456. "/QhjMgr/QueryBrokerApply": {
  8457. "get": {
  8458. "security": [
  8459. {
  8460. "ApiKeyAuth": []
  8461. }
  8462. ],
  8463. "produces": [
  8464. "application/json"
  8465. ],
  8466. "tags": [
  8467. "大连千海金(PCWeb)"
  8468. ],
  8469. "summary": "查询经纪人申请",
  8470. "parameters": [
  8471. {
  8472. "type": "integer",
  8473. "description": "所属机构ID",
  8474. "name": "userid",
  8475. "in": "query"
  8476. },
  8477. {
  8478. "type": "string",
  8479. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8480. "name": "filterstatus",
  8481. "in": "query"
  8482. },
  8483. {
  8484. "type": "string",
  8485. "description": "名称(模糊匹配)",
  8486. "name": "filtername",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "integer",
  8491. "description": "是否包含子级 1-包含",
  8492. "name": "includesub",
  8493. "in": "query"
  8494. }
  8495. ],
  8496. "responses": {
  8497. "200": {
  8498. "description": "OK",
  8499. "schema": {
  8500. "type": "array",
  8501. "items": {
  8502. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8503. }
  8504. }
  8505. },
  8506. "500": {
  8507. "description": "Internal Server Error",
  8508. "schema": {
  8509. "$ref": "#/definitions/app.Response"
  8510. }
  8511. }
  8512. }
  8513. }
  8514. },
  8515. "/QhjMgr/QueryBrokerRewardReport": {
  8516. "get": {
  8517. "security": [
  8518. {
  8519. "ApiKeyAuth": []
  8520. }
  8521. ],
  8522. "produces": [
  8523. "application/json"
  8524. ],
  8525. "tags": [
  8526. "大连千海金(PCWeb)"
  8527. ],
  8528. "summary": "查询经纪人奖励报表(废弃)",
  8529. "parameters": [
  8530. {
  8531. "type": "integer",
  8532. "description": "所属机构ID",
  8533. "name": "userid",
  8534. "in": "query",
  8535. "required": true
  8536. },
  8537. {
  8538. "type": "integer",
  8539. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8540. "name": "cycletype",
  8541. "in": "query",
  8542. "required": true
  8543. },
  8544. {
  8545. "type": "string",
  8546. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8547. "name": "cycletime",
  8548. "in": "query",
  8549. "required": true
  8550. },
  8551. {
  8552. "type": "string",
  8553. "description": "名称(模糊匹配)",
  8554. "name": "filtername",
  8555. "in": "query"
  8556. },
  8557. {
  8558. "type": "integer",
  8559. "description": "是否包含子级 1-包含",
  8560. "name": "includesub",
  8561. "in": "query"
  8562. }
  8563. ],
  8564. "responses": {
  8565. "200": {
  8566. "description": "OK",
  8567. "schema": {
  8568. "type": "array",
  8569. "items": {
  8570. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8571. }
  8572. }
  8573. },
  8574. "500": {
  8575. "description": "Internal Server Error",
  8576. "schema": {
  8577. "$ref": "#/definitions/app.Response"
  8578. }
  8579. }
  8580. }
  8581. }
  8582. },
  8583. "/QhjMgr/QueryContract": {
  8584. "get": {
  8585. "security": [
  8586. {
  8587. "ApiKeyAuth": []
  8588. }
  8589. ],
  8590. "produces": [
  8591. "application/json"
  8592. ],
  8593. "tags": [
  8594. "大连千海金(PCWeb)"
  8595. ],
  8596. "summary": "查询融资信息(合同)",
  8597. "parameters": [
  8598. {
  8599. "type": "integer",
  8600. "description": "用户ID",
  8601. "name": "userid",
  8602. "in": "query"
  8603. },
  8604. {
  8605. "type": "integer",
  8606. "description": "商品id",
  8607. "name": "goodsid",
  8608. "in": "query"
  8609. },
  8610. {
  8611. "type": "string",
  8612. "description": "名称(模糊搜索账户)",
  8613. "name": "filtername",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "string",
  8618. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8619. "name": "risklevel",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "开始交易日(yyyymmdd)",
  8625. "name": "begindate",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "结束交易日(yyyymmdd)",
  8631. "name": "enddate",
  8632. "in": "query"
  8633. }
  8634. ],
  8635. "responses": {
  8636. "200": {
  8637. "description": "OK",
  8638. "schema": {
  8639. "type": "array",
  8640. "items": {
  8641. "$ref": "#/definitions/models.QhjMgrContract"
  8642. }
  8643. }
  8644. },
  8645. "500": {
  8646. "description": "Internal Server Error",
  8647. "schema": {
  8648. "$ref": "#/definitions/app.Response"
  8649. }
  8650. }
  8651. }
  8652. }
  8653. },
  8654. "/QhjMgr/QueryCustomerInfo": {
  8655. "get": {
  8656. "security": [
  8657. {
  8658. "ApiKeyAuth": []
  8659. }
  8660. ],
  8661. "produces": [
  8662. "application/json"
  8663. ],
  8664. "tags": [
  8665. "大连千海金(PCWeb)"
  8666. ],
  8667. "summary": "查询客户资料",
  8668. "parameters": [
  8669. {
  8670. "type": "integer",
  8671. "description": "用户ID",
  8672. "name": "userid",
  8673. "in": "query",
  8674. "required": true
  8675. },
  8676. {
  8677. "type": "integer",
  8678. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8679. "name": "querytype",
  8680. "in": "query",
  8681. "required": true
  8682. },
  8683. {
  8684. "type": "integer",
  8685. "description": "客户类型 1-个人 2-企业",
  8686. "name": "userinfotype",
  8687. "in": "query"
  8688. },
  8689. {
  8690. "type": "string",
  8691. "description": "客户名称(模糊匹配)",
  8692. "name": "customername",
  8693. "in": "query"
  8694. },
  8695. {
  8696. "type": "string",
  8697. "description": "昵称(模糊匹配)",
  8698. "name": "nickname",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "integer",
  8703. "description": "是否包含子级 1-包含",
  8704. "name": "includesub",
  8705. "in": "query"
  8706. }
  8707. ],
  8708. "responses": {
  8709. "200": {
  8710. "description": "OK",
  8711. "schema": {
  8712. "type": "array",
  8713. "items": {
  8714. "$ref": "#/definitions/models.QhjMgrCustomer"
  8715. }
  8716. }
  8717. },
  8718. "500": {
  8719. "description": "Internal Server Error",
  8720. "schema": {
  8721. "$ref": "#/definitions/app.Response"
  8722. }
  8723. }
  8724. }
  8725. }
  8726. },
  8727. "/QhjMgr/QueryPickGoods": {
  8728. "get": {
  8729. "security": [
  8730. {
  8731. "ApiKeyAuth": []
  8732. }
  8733. ],
  8734. "produces": [
  8735. "application/json"
  8736. ],
  8737. "tags": [
  8738. "大连千海金(PCWeb)"
  8739. ],
  8740. "summary": "查询提货商品",
  8741. "parameters": [
  8742. {
  8743. "type": "string",
  8744. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8745. "name": "status",
  8746. "in": "query"
  8747. }
  8748. ],
  8749. "responses": {
  8750. "200": {
  8751. "description": "OK",
  8752. "schema": {
  8753. "type": "array",
  8754. "items": {
  8755. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8756. }
  8757. }
  8758. },
  8759. "500": {
  8760. "description": "Internal Server Error",
  8761. "schema": {
  8762. "$ref": "#/definitions/app.Response"
  8763. }
  8764. }
  8765. }
  8766. }
  8767. },
  8768. "/QhjMgr/QuerySubArea": {
  8769. "get": {
  8770. "security": [
  8771. {
  8772. "ApiKeyAuth": []
  8773. }
  8774. ],
  8775. "produces": [
  8776. "application/json"
  8777. ],
  8778. "tags": [
  8779. "大连千海金(PCWeb)"
  8780. ],
  8781. "summary": "查询子机构列表",
  8782. "parameters": [
  8783. {
  8784. "type": "integer",
  8785. "description": "用户ID",
  8786. "name": "userid",
  8787. "in": "query",
  8788. "required": true
  8789. }
  8790. ],
  8791. "responses": {
  8792. "200": {
  8793. "description": "OK",
  8794. "schema": {
  8795. "type": "array",
  8796. "items": {
  8797. "$ref": "#/definitions/models.QhjMgrSubArea"
  8798. }
  8799. }
  8800. },
  8801. "500": {
  8802. "description": "Internal Server Error",
  8803. "schema": {
  8804. "$ref": "#/definitions/app.Response"
  8805. }
  8806. }
  8807. }
  8808. }
  8809. },
  8810. "/QhjMgr/QueryTradeDetail": {
  8811. "get": {
  8812. "security": [
  8813. {
  8814. "ApiKeyAuth": []
  8815. }
  8816. ],
  8817. "produces": [
  8818. "application/json"
  8819. ],
  8820. "tags": [
  8821. "大连千海金(PCWeb)"
  8822. ],
  8823. "summary": "查询成交明细",
  8824. "parameters": [
  8825. {
  8826. "type": "integer",
  8827. "description": "用户ID",
  8828. "name": "userid",
  8829. "in": "query",
  8830. "required": true
  8831. },
  8832. {
  8833. "type": "integer",
  8834. "description": "用户类型 1-个人 2-企业",
  8835. "name": "userinfotype",
  8836. "in": "query"
  8837. },
  8838. {
  8839. "type": "integer",
  8840. "description": "交易模式",
  8841. "name": "trademode",
  8842. "in": "query"
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "商品id",
  8847. "name": "goodsid",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "string",
  8852. "description": "名称(模糊搜索账户)",
  8853. "name": "filtername",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "string",
  8858. "description": "开始交易日(yyyymmdd)",
  8859. "name": "begindate",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "结束交易日(yyyymmdd)",
  8865. "name": "enddate",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "integer",
  8870. "description": "是否包含子级 1-包含",
  8871. "name": "includesub",
  8872. "in": "query"
  8873. }
  8874. ],
  8875. "responses": {
  8876. "200": {
  8877. "description": "OK",
  8878. "schema": {
  8879. "type": "array",
  8880. "items": {
  8881. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8882. }
  8883. }
  8884. },
  8885. "500": {
  8886. "description": "Internal Server Error",
  8887. "schema": {
  8888. "$ref": "#/definitions/app.Response"
  8889. }
  8890. }
  8891. }
  8892. }
  8893. },
  8894. "/QhjMgr/QueryTradeOrderDetail": {
  8895. "get": {
  8896. "security": [
  8897. {
  8898. "ApiKeyAuth": []
  8899. }
  8900. ],
  8901. "produces": [
  8902. "application/json"
  8903. ],
  8904. "tags": [
  8905. "大连千海金(PCWeb)"
  8906. ],
  8907. "summary": "查询委托明细",
  8908. "parameters": [
  8909. {
  8910. "type": "integer",
  8911. "description": "用户ID",
  8912. "name": "userid",
  8913. "in": "query",
  8914. "required": true
  8915. },
  8916. {
  8917. "type": "integer",
  8918. "description": "用户类型 1-个人 2-企业",
  8919. "name": "userinfotype",
  8920. "in": "query"
  8921. },
  8922. {
  8923. "type": "integer",
  8924. "description": "交易模式",
  8925. "name": "trademode",
  8926. "in": "query"
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "商品id",
  8931. "name": "goodsid",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "string",
  8936. "description": "名称(模糊搜索账户)",
  8937. "name": "filtername",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "string",
  8942. "description": "开始交易日(yyyymmdd)",
  8943. "name": "begindate",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "结束交易日(yyyymmdd)",
  8949. "name": "enddate",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "integer",
  8954. "description": "是否包含子级 1-包含",
  8955. "name": "includesub",
  8956. "in": "query"
  8957. }
  8958. ],
  8959. "responses": {
  8960. "200": {
  8961. "description": "OK",
  8962. "schema": {
  8963. "type": "array",
  8964. "items": {
  8965. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8966. }
  8967. }
  8968. },
  8969. "500": {
  8970. "description": "Internal Server Error",
  8971. "schema": {
  8972. "$ref": "#/definitions/app.Response"
  8973. }
  8974. }
  8975. }
  8976. }
  8977. },
  8978. "/QhjMgr/QueryTradePayOrder": {
  8979. "get": {
  8980. "security": [
  8981. {
  8982. "ApiKeyAuth": []
  8983. }
  8984. ],
  8985. "produces": [
  8986. "application/json"
  8987. ],
  8988. "tags": [
  8989. "大连千海金(PCWeb)"
  8990. ],
  8991. "summary": "查询待付款单",
  8992. "parameters": [
  8993. {
  8994. "type": "integer",
  8995. "description": "用户ID",
  8996. "name": "userid",
  8997. "in": "query",
  8998. "required": true
  8999. },
  9000. {
  9001. "type": "string",
  9002. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9003. "name": "payflag",
  9004. "in": "query"
  9005. },
  9006. {
  9007. "type": "integer",
  9008. "description": "用户类型 1-个人 2-企业",
  9009. "name": "userinfotype",
  9010. "in": "query"
  9011. },
  9012. {
  9013. "type": "integer",
  9014. "description": "交易模式",
  9015. "name": "trademode",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "商品id",
  9021. "name": "goodsid",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "string",
  9026. "description": "名称(模糊搜索账户)",
  9027. "name": "filtername",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "string",
  9032. "description": "开始交易日(yyyymmdd)",
  9033. "name": "begindate",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "结束交易日(yyyymmdd)",
  9039. "name": "enddate",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "integer",
  9044. "description": "是否包含子级 1-包含",
  9045. "name": "includesub",
  9046. "in": "query"
  9047. }
  9048. ],
  9049. "responses": {
  9050. "200": {
  9051. "description": "OK",
  9052. "schema": {
  9053. "type": "array",
  9054. "items": {
  9055. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9056. }
  9057. }
  9058. },
  9059. "500": {
  9060. "description": "Internal Server Error",
  9061. "schema": {
  9062. "$ref": "#/definitions/app.Response"
  9063. }
  9064. }
  9065. }
  9066. }
  9067. },
  9068. "/QhjMgr/QueryTradePosition": {
  9069. "get": {
  9070. "security": [
  9071. {
  9072. "ApiKeyAuth": []
  9073. }
  9074. ],
  9075. "produces": [
  9076. "application/json"
  9077. ],
  9078. "tags": [
  9079. "大连千海金(PCWeb)"
  9080. ],
  9081. "summary": "查询持仓汇总",
  9082. "parameters": [
  9083. {
  9084. "type": "integer",
  9085. "description": "用户ID",
  9086. "name": "userid",
  9087. "in": "query",
  9088. "required": true
  9089. },
  9090. {
  9091. "type": "integer",
  9092. "description": "用户类型 1-个人 2-企业",
  9093. "name": "userinfotype",
  9094. "in": "query"
  9095. },
  9096. {
  9097. "type": "integer",
  9098. "description": "交易模式",
  9099. "name": "trademode",
  9100. "in": "query"
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "商品id",
  9105. "name": "goodsid",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "string",
  9110. "description": "名称(模糊搜索账户)",
  9111. "name": "filtername",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "是否包含子级 1-包含",
  9117. "name": "includesub",
  9118. "in": "query"
  9119. }
  9120. ],
  9121. "responses": {
  9122. "200": {
  9123. "description": "OK",
  9124. "schema": {
  9125. "type": "array",
  9126. "items": {
  9127. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9128. }
  9129. }
  9130. },
  9131. "500": {
  9132. "description": "Internal Server Error",
  9133. "schema": {
  9134. "$ref": "#/definitions/app.Response"
  9135. }
  9136. }
  9137. }
  9138. }
  9139. },
  9140. "/QhjSys/QueryAgreementChangeLog": {
  9141. "get": {
  9142. "security": [
  9143. {
  9144. "ApiKeyAuth": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "大连千海金(协议和签约信息)"
  9152. ],
  9153. "summary": "查询协议配置变更流水",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "协议ID",
  9158. "name": "agreementid",
  9159. "in": "query"
  9160. },
  9161. {
  9162. "type": "integer",
  9163. "description": "协议版本号",
  9164. "name": "agreementversion",
  9165. "in": "query"
  9166. },
  9167. {
  9168. "type": "integer",
  9169. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9170. "name": "agreementtype",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "string",
  9175. "description": "协议编号(模糊匹配)",
  9176. "name": "agreementno",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "string",
  9181. "description": "协议名称(模糊匹配)",
  9182. "name": "agreementname",
  9183. "in": "query"
  9184. }
  9185. ],
  9186. "responses": {
  9187. "200": {
  9188. "description": "OK",
  9189. "schema": {
  9190. "type": "array",
  9191. "items": {
  9192. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9193. }
  9194. }
  9195. },
  9196. "500": {
  9197. "description": "Internal Server Error",
  9198. "schema": {
  9199. "$ref": "#/definitions/app.Response"
  9200. }
  9201. }
  9202. }
  9203. }
  9204. },
  9205. "/QhjSys/QueryAgreementConfig": {
  9206. "get": {
  9207. "security": [
  9208. {
  9209. "ApiKeyAuth": []
  9210. }
  9211. ],
  9212. "produces": [
  9213. "application/json"
  9214. ],
  9215. "tags": [
  9216. "大连千海金(协议和签约信息)"
  9217. ],
  9218. "summary": "查询协议配置",
  9219. "parameters": [
  9220. {
  9221. "type": "integer",
  9222. "description": "协议ID",
  9223. "name": "agreementid",
  9224. "in": "query"
  9225. },
  9226. {
  9227. "type": "integer",
  9228. "description": "协议版本号",
  9229. "name": "agreementversion",
  9230. "in": "query"
  9231. },
  9232. {
  9233. "type": "integer",
  9234. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9235. "name": "agreementtype",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9241. "name": "isvalid",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "string",
  9246. "description": "协议编号(模糊匹配)",
  9247. "name": "agreementno",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "string",
  9252. "description": "协议名称(模糊匹配)",
  9253. "name": "agreementname",
  9254. "in": "query"
  9255. }
  9256. ],
  9257. "responses": {
  9258. "200": {
  9259. "description": "OK",
  9260. "schema": {
  9261. "type": "array",
  9262. "items": {
  9263. "$ref": "#/definitions/models.QhjAgreementConfig"
  9264. }
  9265. }
  9266. },
  9267. "500": {
  9268. "description": "Internal Server Error",
  9269. "schema": {
  9270. "$ref": "#/definitions/app.Response"
  9271. }
  9272. }
  9273. }
  9274. }
  9275. },
  9276. "/QhjSys/QueryCustomerSignStatus": {
  9277. "get": {
  9278. "security": [
  9279. {
  9280. "ApiKeyAuth": []
  9281. }
  9282. ],
  9283. "produces": [
  9284. "application/json"
  9285. ],
  9286. "tags": [
  9287. "大连千海金(协议和签约信息)"
  9288. ],
  9289. "summary": "查询客户协议签约状态",
  9290. "parameters": [
  9291. {
  9292. "type": "integer",
  9293. "description": "客户ID",
  9294. "name": "userid",
  9295. "in": "query"
  9296. },
  9297. {
  9298. "type": "integer",
  9299. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9300. "name": "nodetype",
  9301. "in": "query"
  9302. },
  9303. {
  9304. "type": "integer",
  9305. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9306. "name": "goodsid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "string",
  9311. "description": "创建交易日(yyyyMMdd)",
  9312. "name": "tradedate",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "string",
  9317. "description": "用户名称(模糊匹配)",
  9318. "name": "username",
  9319. "in": "query"
  9320. }
  9321. ],
  9322. "responses": {
  9323. "200": {
  9324. "description": "OK",
  9325. "schema": {
  9326. "type": "array",
  9327. "items": {
  9328. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9329. }
  9330. }
  9331. },
  9332. "500": {
  9333. "description": "Internal Server Error",
  9334. "schema": {
  9335. "$ref": "#/definitions/app.Response"
  9336. }
  9337. }
  9338. }
  9339. }
  9340. },
  9341. "/QhjSys/QueryNodeAgreementConfig": {
  9342. "get": {
  9343. "security": [
  9344. {
  9345. "ApiKeyAuth": []
  9346. }
  9347. ],
  9348. "produces": [
  9349. "application/json"
  9350. ],
  9351. "tags": [
  9352. "大连千海金(协议和签约信息)"
  9353. ],
  9354. "summary": "查询协议节点配置",
  9355. "parameters": [
  9356. {
  9357. "type": "integer",
  9358. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9359. "name": "configid",
  9360. "in": "query"
  9361. },
  9362. {
  9363. "type": "integer",
  9364. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9365. "name": "nodetype",
  9366. "in": "query"
  9367. },
  9368. {
  9369. "type": "integer",
  9370. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9371. "name": "goodsid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "协议ID",
  9377. "name": "agreementid",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9383. "name": "agreementtype",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议版本号",
  9389. "name": "agreementversion",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "string",
  9394. "description": "协议编号(模糊匹配)",
  9395. "name": "agreementno",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "string",
  9400. "description": "协议名称(模糊匹配)",
  9401. "name": "agreementname",
  9402. "in": "query"
  9403. }
  9404. ],
  9405. "responses": {
  9406. "200": {
  9407. "description": "OK",
  9408. "schema": {
  9409. "type": "array",
  9410. "items": {
  9411. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9412. }
  9413. }
  9414. },
  9415. "500": {
  9416. "description": "Internal Server Error",
  9417. "schema": {
  9418. "$ref": "#/definitions/app.Response"
  9419. }
  9420. }
  9421. }
  9422. }
  9423. },
  9424. "/QhjSys/QueryQhjCustomerSignLog": {
  9425. "get": {
  9426. "security": [
  9427. {
  9428. "ApiKeyAuth": []
  9429. }
  9430. ],
  9431. "produces": [
  9432. "application/json"
  9433. ],
  9434. "tags": [
  9435. "大连千海金(协议和签约信息)"
  9436. ],
  9437. "summary": "查询客户协议签约流水",
  9438. "parameters": [
  9439. {
  9440. "type": "integer",
  9441. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9442. "name": "logid",
  9443. "in": "query"
  9444. },
  9445. {
  9446. "type": "integer",
  9447. "description": "客户ID",
  9448. "name": "userid",
  9449. "in": "query"
  9450. },
  9451. {
  9452. "type": "integer",
  9453. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9454. "name": "nodetype",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9460. "name": "goodsid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "协议ID",
  9466. "name": "agreementid",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "string",
  9471. "description": "用户名称(模糊匹配)",
  9472. "name": "username",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "string",
  9477. "description": "协议编号(模糊匹配)",
  9478. "name": "agreementno",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "协议名称(模糊匹配)",
  9484. "name": "agreementname",
  9485. "in": "query"
  9486. }
  9487. ],
  9488. "responses": {
  9489. "200": {
  9490. "description": "OK",
  9491. "schema": {
  9492. "type": "array",
  9493. "items": {
  9494. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9495. }
  9496. }
  9497. },
  9498. "500": {
  9499. "description": "Internal Server Error",
  9500. "schema": {
  9501. "$ref": "#/definitions/app.Response"
  9502. }
  9503. }
  9504. }
  9505. }
  9506. },
  9507. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9508. "get": {
  9509. "security": [
  9510. {
  9511. "ApiKeyAuth": []
  9512. }
  9513. ],
  9514. "produces": [
  9515. "application/json"
  9516. ],
  9517. "tags": [
  9518. "大连千海金(协议和签约信息)"
  9519. ],
  9520. "summary": "查询用户协议节点配置和状态",
  9521. "parameters": [
  9522. {
  9523. "type": "integer",
  9524. "description": "客户ID",
  9525. "name": "userid",
  9526. "in": "query"
  9527. },
  9528. {
  9529. "type": "integer",
  9530. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9531. "name": "configid",
  9532. "in": "query"
  9533. },
  9534. {
  9535. "type": "string",
  9536. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9537. "name": "nodetype",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9543. "name": "goodsid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "integer",
  9548. "description": "协议ID",
  9549. "name": "agreementid",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9555. "name": "agreementtype",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议版本号",
  9561. "name": "agreementversion",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "string",
  9566. "description": "协议编号(模糊匹配)",
  9567. "name": "agreementno",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "string",
  9572. "description": "协议名称(模糊匹配)",
  9573. "name": "agreementname",
  9574. "in": "query"
  9575. }
  9576. ],
  9577. "responses": {
  9578. "200": {
  9579. "description": "OK",
  9580. "schema": {
  9581. "type": "array",
  9582. "items": {
  9583. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9584. }
  9585. }
  9586. },
  9587. "500": {
  9588. "description": "Internal Server Error",
  9589. "schema": {
  9590. "$ref": "#/definitions/app.Response"
  9591. }
  9592. }
  9593. }
  9594. }
  9595. },
  9596. "/Quote/QueryHistoryDatas": {
  9597. "get": {
  9598. "security": [
  9599. {
  9600. "ApiKeyAuth": []
  9601. }
  9602. ],
  9603. "produces": [
  9604. "application/json"
  9605. ],
  9606. "tags": [
  9607. "行情服务"
  9608. ],
  9609. "summary": "查询行情历史数据",
  9610. "parameters": [
  9611. {
  9612. "type": "integer",
  9613. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9614. "name": "cycleType",
  9615. "in": "query",
  9616. "required": true
  9617. },
  9618. {
  9619. "type": "string",
  9620. "description": "商品代码",
  9621. "name": "goodsCode",
  9622. "in": "query",
  9623. "required": true
  9624. },
  9625. {
  9626. "type": "string",
  9627. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9628. "name": "startTime",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "string",
  9633. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9634. "name": "endTime",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "integer",
  9639. "description": "条数",
  9640. "name": "count",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "boolean",
  9645. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9646. "name": "isAsc",
  9647. "in": "query"
  9648. }
  9649. ],
  9650. "responses": {
  9651. "200": {
  9652. "description": "OK",
  9653. "schema": {
  9654. "$ref": "#/definitions/quote.HistoryData"
  9655. }
  9656. },
  9657. "500": {
  9658. "description": "Internal Server Error",
  9659. "schema": {
  9660. "$ref": "#/definitions/app.Response"
  9661. }
  9662. }
  9663. }
  9664. }
  9665. },
  9666. "/Quote/QueryHistoryTikDatas": {
  9667. "get": {
  9668. "security": [
  9669. {
  9670. "ApiKeyAuth": []
  9671. }
  9672. ],
  9673. "produces": [
  9674. "application/json"
  9675. ],
  9676. "tags": [
  9677. "行情服务"
  9678. ],
  9679. "summary": "查询行情Tik数据",
  9680. "parameters": [
  9681. {
  9682. "type": "string",
  9683. "description": "商品代码",
  9684. "name": "goodsCode",
  9685. "in": "query",
  9686. "required": true
  9687. },
  9688. {
  9689. "type": "string",
  9690. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9691. "name": "startTime",
  9692. "in": "query"
  9693. },
  9694. {
  9695. "type": "string",
  9696. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9697. "name": "endTime",
  9698. "in": "query"
  9699. },
  9700. {
  9701. "type": "integer",
  9702. "description": "条数",
  9703. "name": "count",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "boolean",
  9708. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9709. "name": "isAsc",
  9710. "in": "query"
  9711. }
  9712. ],
  9713. "responses": {
  9714. "200": {
  9715. "description": "OK",
  9716. "schema": {
  9717. "$ref": "#/definitions/quote.HistoryTikData"
  9718. }
  9719. },
  9720. "500": {
  9721. "description": "Internal Server Error",
  9722. "schema": {
  9723. "$ref": "#/definitions/app.Response"
  9724. }
  9725. }
  9726. }
  9727. }
  9728. },
  9729. "/Quote/QueryQuoteDay": {
  9730. "get": {
  9731. "security": [
  9732. {
  9733. "ApiKeyAuth": []
  9734. }
  9735. ],
  9736. "produces": [
  9737. "application/json"
  9738. ],
  9739. "tags": [
  9740. "行情服务"
  9741. ],
  9742. "summary": "获取商品盘面信息",
  9743. "parameters": [
  9744. {
  9745. "type": "string",
  9746. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9747. "name": "goodsCodes",
  9748. "in": "query",
  9749. "required": true
  9750. }
  9751. ],
  9752. "responses": {
  9753. "200": {
  9754. "description": "OK",
  9755. "schema": {
  9756. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9757. }
  9758. },
  9759. "500": {
  9760. "description": "Internal Server Error",
  9761. "schema": {
  9762. "$ref": "#/definitions/app.Response"
  9763. }
  9764. }
  9765. }
  9766. }
  9767. },
  9768. "/Quote/QueryTSData": {
  9769. "get": {
  9770. "security": [
  9771. {
  9772. "ApiKeyAuth": []
  9773. }
  9774. ],
  9775. "produces": [
  9776. "application/json"
  9777. ],
  9778. "tags": [
  9779. "行情服务"
  9780. ],
  9781. "summary": "分时图数据查询",
  9782. "parameters": [
  9783. {
  9784. "type": "string",
  9785. "description": "商品代码",
  9786. "name": "goodsCode",
  9787. "in": "query",
  9788. "required": true
  9789. }
  9790. ],
  9791. "responses": {
  9792. "200": {
  9793. "description": "OK",
  9794. "schema": {
  9795. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9796. }
  9797. },
  9798. "500": {
  9799. "description": "Internal Server Error",
  9800. "schema": {
  9801. "$ref": "#/definitions/app.Response"
  9802. }
  9803. }
  9804. }
  9805. }
  9806. },
  9807. "/SZDZ/QueryConvertConfig": {
  9808. "get": {
  9809. "security": [
  9810. {
  9811. "ApiKeyAuth": []
  9812. }
  9813. ],
  9814. "produces": [
  9815. "application/json"
  9816. ],
  9817. "tags": [
  9818. "定制【尚志大宗】"
  9819. ],
  9820. "summary": "查询交易系统转换设置",
  9821. "parameters": [
  9822. {
  9823. "type": "integer",
  9824. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9825. "name": "convertType",
  9826. "in": "query"
  9827. },
  9828. {
  9829. "type": "string",
  9830. "description": "外部商品代码[JD\\PD]",
  9831. "name": "outerGoodsCode",
  9832. "in": "query"
  9833. },
  9834. {
  9835. "type": "string",
  9836. "description": "内部商品ID列表[交易],格式:1,2,3",
  9837. "name": "innerGoodsIDs",
  9838. "in": "query"
  9839. }
  9840. ],
  9841. "responses": {
  9842. "200": {
  9843. "description": "OK",
  9844. "schema": {
  9845. "$ref": "#/definitions/models.Szdz3convertconfig"
  9846. }
  9847. },
  9848. "500": {
  9849. "description": "Internal Server Error",
  9850. "schema": {
  9851. "$ref": "#/definitions/app.Response"
  9852. }
  9853. }
  9854. }
  9855. }
  9856. },
  9857. "/SZDZ/QueryConvertLog": {
  9858. "get": {
  9859. "security": [
  9860. {
  9861. "ApiKeyAuth": []
  9862. }
  9863. ],
  9864. "produces": [
  9865. "application/json"
  9866. ],
  9867. "tags": [
  9868. "定制【尚志大宗】"
  9869. ],
  9870. "summary": "交易系统转换流水查询",
  9871. "parameters": [
  9872. {
  9873. "type": "string",
  9874. "description": "资金账户 - 格式:1,2,3",
  9875. "name": "accountID",
  9876. "in": "query",
  9877. "required": true
  9878. },
  9879. {
  9880. "type": "string",
  9881. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9882. "name": "startDate",
  9883. "in": "query"
  9884. },
  9885. {
  9886. "type": "string",
  9887. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9888. "name": "endDate",
  9889. "in": "query"
  9890. }
  9891. ],
  9892. "responses": {
  9893. "200": {
  9894. "description": "OK",
  9895. "schema": {
  9896. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9897. }
  9898. },
  9899. "500": {
  9900. "description": "Internal Server Error",
  9901. "schema": {
  9902. "$ref": "#/definitions/app.Response"
  9903. }
  9904. }
  9905. }
  9906. }
  9907. },
  9908. "/SZDZ/QueryGoodsPickup": {
  9909. "get": {
  9910. "security": [
  9911. {
  9912. "ApiKeyAuth": []
  9913. }
  9914. ],
  9915. "produces": [
  9916. "application/json"
  9917. ],
  9918. "tags": [
  9919. "定制【尚志大宗】"
  9920. ],
  9921. "summary": "商品提货单查询",
  9922. "parameters": [
  9923. {
  9924. "type": "string",
  9925. "description": "资金账户 - 格式:1,2,3",
  9926. "name": "accountID",
  9927. "in": "query",
  9928. "required": true
  9929. },
  9930. {
  9931. "type": "integer",
  9932. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9933. "name": "takeOrderStatus",
  9934. "in": "query"
  9935. }
  9936. ],
  9937. "responses": {
  9938. "200": {
  9939. "description": "OK",
  9940. "schema": {
  9941. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9942. }
  9943. },
  9944. "500": {
  9945. "description": "Internal Server Error",
  9946. "schema": {
  9947. "$ref": "#/definitions/app.Response"
  9948. }
  9949. }
  9950. }
  9951. }
  9952. },
  9953. "/SZDZ/QueryRecieptOrder": {
  9954. "get": {
  9955. "security": [
  9956. {
  9957. "ApiKeyAuth": []
  9958. }
  9959. ],
  9960. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9961. "produces": [
  9962. "application/json"
  9963. ],
  9964. "tags": [
  9965. "定制【尚志大宗】"
  9966. ],
  9967. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9968. "parameters": [
  9969. {
  9970. "type": "integer",
  9971. "description": "页码",
  9972. "name": "page",
  9973. "in": "query"
  9974. },
  9975. {
  9976. "type": "integer",
  9977. "description": "每页条数",
  9978. "name": "pagesize",
  9979. "in": "query"
  9980. },
  9981. {
  9982. "type": "integer",
  9983. "description": "商品ID",
  9984. "name": "goodsID",
  9985. "in": "query",
  9986. "required": true
  9987. },
  9988. {
  9989. "type": "string",
  9990. "description": "所属账户名称",
  9991. "name": "accountName",
  9992. "in": "query"
  9993. },
  9994. {
  9995. "type": "integer",
  9996. "description": "市场ID",
  9997. "name": "marketID",
  9998. "in": "query"
  9999. },
  10000. {
  10001. "type": "integer",
  10002. "description": "方向 - 0:买 1:卖",
  10003. "name": "buyorsell",
  10004. "in": "query",
  10005. "required": true
  10006. }
  10007. ],
  10008. "responses": {
  10009. "200": {
  10010. "description": "OK",
  10011. "schema": {
  10012. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10013. }
  10014. },
  10015. "500": {
  10016. "description": "Internal Server Error",
  10017. "schema": {
  10018. "$ref": "#/definitions/app.Response"
  10019. }
  10020. }
  10021. }
  10022. }
  10023. },
  10024. "/SZDZ/QuerySZDZTradePosition": {
  10025. "get": {
  10026. "security": [
  10027. {
  10028. "ApiKeyAuth": []
  10029. }
  10030. ],
  10031. "produces": [
  10032. "application/json"
  10033. ],
  10034. "tags": [
  10035. "定制【尚志大宗】"
  10036. ],
  10037. "summary": "持仓汇总查询(尚志大宗)",
  10038. "parameters": [
  10039. {
  10040. "type": "integer",
  10041. "description": "资金账户",
  10042. "name": "accountID",
  10043. "in": "query",
  10044. "required": true
  10045. }
  10046. ],
  10047. "responses": {
  10048. "200": {
  10049. "description": "OK",
  10050. "schema": {
  10051. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10052. }
  10053. },
  10054. "500": {
  10055. "description": "Internal Server Error",
  10056. "schema": {
  10057. "$ref": "#/definitions/app.Response"
  10058. }
  10059. }
  10060. }
  10061. }
  10062. },
  10063. "/SZDZ/SearchWhite": {
  10064. "get": {
  10065. "security": [
  10066. {
  10067. "ApiKeyAuth": []
  10068. }
  10069. ],
  10070. "produces": [
  10071. "application/json"
  10072. ],
  10073. "tags": [
  10074. "定制【尚志大宗】"
  10075. ],
  10076. "summary": "搜索白名单",
  10077. "parameters": [
  10078. {
  10079. "type": "integer",
  10080. "description": "用户ID",
  10081. "name": "userID",
  10082. "in": "query",
  10083. "required": true
  10084. }
  10085. ],
  10086. "responses": {
  10087. "200": {
  10088. "description": "OK",
  10089. "schema": {
  10090. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10091. }
  10092. },
  10093. "500": {
  10094. "description": "Internal Server Error",
  10095. "schema": {
  10096. "$ref": "#/definitions/app.Response"
  10097. }
  10098. }
  10099. }
  10100. }
  10101. },
  10102. "/Search/SearchGoodses": {
  10103. "get": {
  10104. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10105. "produces": [
  10106. "application/json"
  10107. ],
  10108. "tags": [
  10109. "检索服务"
  10110. ],
  10111. "summary": "检索商品信息",
  10112. "parameters": [
  10113. {
  10114. "type": "string",
  10115. "description": "检索内容",
  10116. "name": "content",
  10117. "in": "query",
  10118. "required": true
  10119. },
  10120. {
  10121. "type": "string",
  10122. "description": "交易模式,格式:1,2,3",
  10123. "name": "tradeModes",
  10124. "in": "query"
  10125. }
  10126. ],
  10127. "responses": {
  10128. "200": {
  10129. "description": "OK",
  10130. "schema": {
  10131. "$ref": "#/definitions/models.SearchGoods"
  10132. }
  10133. },
  10134. "500": {
  10135. "description": "Internal Server Error",
  10136. "schema": {
  10137. "$ref": "#/definitions/app.Response"
  10138. }
  10139. }
  10140. }
  10141. }
  10142. },
  10143. "/TaAccount/GetTaAccounts": {
  10144. "get": {
  10145. "security": [
  10146. {
  10147. "ApiKeyAuth": []
  10148. }
  10149. ],
  10150. "produces": [
  10151. "application/json"
  10152. ],
  10153. "tags": [
  10154. "资金账户"
  10155. ],
  10156. "summary": "获取资金账户信息",
  10157. "parameters": [
  10158. {
  10159. "type": "integer",
  10160. "description": "登录账户",
  10161. "name": "loginID",
  10162. "in": "query",
  10163. "required": true
  10164. },
  10165. {
  10166. "type": "integer",
  10167. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10168. "name": "taAccountType",
  10169. "in": "query"
  10170. }
  10171. ],
  10172. "responses": {
  10173. "200": {
  10174. "description": "OK",
  10175. "schema": {
  10176. "$ref": "#/definitions/models.Taaccount"
  10177. }
  10178. },
  10179. "500": {
  10180. "description": "Internal Server Error",
  10181. "schema": {
  10182. "$ref": "#/definitions/app.Response"
  10183. }
  10184. }
  10185. }
  10186. }
  10187. },
  10188. "/TaAccount/QueryAmountLog": {
  10189. "get": {
  10190. "security": [
  10191. {
  10192. "ApiKeyAuth": []
  10193. }
  10194. ],
  10195. "produces": [
  10196. "application/json"
  10197. ],
  10198. "tags": [
  10199. "资金账户"
  10200. ],
  10201. "summary": "资金流水查询(当前)",
  10202. "parameters": [
  10203. {
  10204. "type": "integer",
  10205. "description": "页码",
  10206. "name": "page",
  10207. "in": "query"
  10208. },
  10209. {
  10210. "type": "integer",
  10211. "description": "每页条数",
  10212. "name": "pagesize",
  10213. "in": "query"
  10214. },
  10215. {
  10216. "type": "string",
  10217. "description": "资金账户 - 格式:1,2,3",
  10218. "name": "accountID",
  10219. "in": "query",
  10220. "required": true
  10221. },
  10222. {
  10223. "type": "string",
  10224. "description": "资金操作类型 - 格式:1,2,3",
  10225. "name": "OperateType",
  10226. "in": "query"
  10227. }
  10228. ],
  10229. "responses": {
  10230. "200": {
  10231. "description": "OK",
  10232. "schema": {
  10233. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10234. }
  10235. },
  10236. "500": {
  10237. "description": "Internal Server Error",
  10238. "schema": {
  10239. "$ref": "#/definitions/app.Response"
  10240. }
  10241. }
  10242. }
  10243. }
  10244. },
  10245. "/TaAccount/QueryHisAmountLog": {
  10246. "get": {
  10247. "security": [
  10248. {
  10249. "ApiKeyAuth": []
  10250. }
  10251. ],
  10252. "produces": [
  10253. "application/json"
  10254. ],
  10255. "tags": [
  10256. "资金账户"
  10257. ],
  10258. "summary": "资金流水查询(历史)",
  10259. "parameters": [
  10260. {
  10261. "type": "integer",
  10262. "description": "页码",
  10263. "name": "page",
  10264. "in": "query"
  10265. },
  10266. {
  10267. "type": "integer",
  10268. "description": "每页条数",
  10269. "name": "pagesize",
  10270. "in": "query"
  10271. },
  10272. {
  10273. "type": "string",
  10274. "description": "资金账户 - 格式:1,2,3",
  10275. "name": "accountID",
  10276. "in": "query",
  10277. "required": true
  10278. },
  10279. {
  10280. "type": "string",
  10281. "description": "资金操作类型 - 格式:1,2,3",
  10282. "name": "OperateType",
  10283. "in": "query"
  10284. },
  10285. {
  10286. "type": "string",
  10287. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10288. "name": "startDate",
  10289. "in": "query"
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10294. "name": "endDate",
  10295. "in": "query"
  10296. }
  10297. ],
  10298. "responses": {
  10299. "200": {
  10300. "description": "OK",
  10301. "schema": {
  10302. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10303. }
  10304. },
  10305. "500": {
  10306. "description": "Internal Server Error",
  10307. "schema": {
  10308. "$ref": "#/definitions/app.Response"
  10309. }
  10310. }
  10311. }
  10312. }
  10313. },
  10314. "/Trade/QueryRecieptOrder": {
  10315. "get": {
  10316. "security": [
  10317. {
  10318. "ApiKeyAuth": []
  10319. }
  10320. ],
  10321. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10322. "produces": [
  10323. "application/json"
  10324. ],
  10325. "tags": [
  10326. "通用交易"
  10327. ],
  10328. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10329. "parameters": [
  10330. {
  10331. "type": "integer",
  10332. "description": "页码",
  10333. "name": "page",
  10334. "in": "query"
  10335. },
  10336. {
  10337. "type": "integer",
  10338. "description": "每页条数",
  10339. "name": "pagesize",
  10340. "in": "query"
  10341. },
  10342. {
  10343. "type": "integer",
  10344. "description": "商品ID",
  10345. "name": "goodsID",
  10346. "in": "query",
  10347. "required": true
  10348. },
  10349. {
  10350. "type": "string",
  10351. "description": "所属账户名称",
  10352. "name": "accountName",
  10353. "in": "query"
  10354. },
  10355. {
  10356. "type": "integer",
  10357. "description": "市场ID",
  10358. "name": "marketID",
  10359. "in": "query"
  10360. },
  10361. {
  10362. "type": "integer",
  10363. "description": "方向 - 0:买 1:卖",
  10364. "name": "buyorsell",
  10365. "in": "query",
  10366. "required": true
  10367. }
  10368. ],
  10369. "responses": {
  10370. "200": {
  10371. "description": "OK",
  10372. "schema": {
  10373. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10374. }
  10375. },
  10376. "500": {
  10377. "description": "Internal Server Error",
  10378. "schema": {
  10379. "$ref": "#/definitions/app.Response"
  10380. }
  10381. }
  10382. }
  10383. }
  10384. },
  10385. "/User/AddMessageBoard": {
  10386. "post": {
  10387. "security": [
  10388. {
  10389. "ApiKeyAuth": []
  10390. }
  10391. ],
  10392. "produces": [
  10393. "application/json"
  10394. ],
  10395. "tags": [
  10396. "用户信息"
  10397. ],
  10398. "summary": "添加用户留言板信息",
  10399. "parameters": [
  10400. {
  10401. "type": "integer",
  10402. "description": "用户ID",
  10403. "name": "userID",
  10404. "in": "query",
  10405. "required": true
  10406. },
  10407. {
  10408. "type": "string",
  10409. "description": "留言信息",
  10410. "name": "message",
  10411. "in": "query",
  10412. "required": true
  10413. },
  10414. {
  10415. "type": "string",
  10416. "description": "联系电话",
  10417. "name": "contactNum",
  10418. "in": "query",
  10419. "required": true
  10420. }
  10421. ],
  10422. "responses": {
  10423. "200": {
  10424. "description": "OK",
  10425. "schema": {
  10426. "$ref": "#/definitions/app.Response"
  10427. }
  10428. },
  10429. "500": {
  10430. "description": "Internal Server Error",
  10431. "schema": {
  10432. "$ref": "#/definitions/app.Response"
  10433. }
  10434. }
  10435. }
  10436. }
  10437. },
  10438. "/User/AddUserFavoriteGoods": {
  10439. "post": {
  10440. "security": [
  10441. {
  10442. "ApiKeyAuth": []
  10443. }
  10444. ],
  10445. "produces": [
  10446. "application/json"
  10447. ],
  10448. "tags": [
  10449. "用户信息"
  10450. ],
  10451. "summary": "添加用户商品收藏信息",
  10452. "parameters": [
  10453. {
  10454. "type": "integer",
  10455. "description": "用户ID",
  10456. "name": "userID",
  10457. "in": "query",
  10458. "required": true
  10459. },
  10460. {
  10461. "type": "integer",
  10462. "description": "商品ID",
  10463. "name": "goodsID",
  10464. "in": "query",
  10465. "required": true
  10466. }
  10467. ],
  10468. "responses": {
  10469. "200": {
  10470. "description": "OK",
  10471. "schema": {
  10472. "$ref": "#/definitions/app.Response"
  10473. }
  10474. },
  10475. "500": {
  10476. "description": "Internal Server Error",
  10477. "schema": {
  10478. "$ref": "#/definitions/app.Response"
  10479. }
  10480. }
  10481. }
  10482. }
  10483. },
  10484. "/User/GetLoginID": {
  10485. "get": {
  10486. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10487. "produces": [
  10488. "application/json"
  10489. ],
  10490. "tags": [
  10491. "用户信息"
  10492. ],
  10493. "summary": "获取登录ID",
  10494. "parameters": [
  10495. {
  10496. "type": "string",
  10497. "description": "登录代码",
  10498. "name": "username",
  10499. "in": "query",
  10500. "required": true
  10501. }
  10502. ],
  10503. "responses": {
  10504. "200": {
  10505. "description": "OK",
  10506. "schema": {
  10507. "$ref": "#/definitions/app.Response"
  10508. }
  10509. },
  10510. "500": {
  10511. "description": "Internal Server Error",
  10512. "schema": {
  10513. "$ref": "#/definitions/app.Response"
  10514. }
  10515. }
  10516. }
  10517. }
  10518. },
  10519. "/User/GetUserAccount": {
  10520. "get": {
  10521. "security": [
  10522. {
  10523. "ApiKeyAuth": []
  10524. }
  10525. ],
  10526. "produces": [
  10527. "application/json"
  10528. ],
  10529. "tags": [
  10530. "用户信息"
  10531. ],
  10532. "summary": "获取用户账号信息",
  10533. "parameters": [
  10534. {
  10535. "type": "integer",
  10536. "description": "用户ID",
  10537. "name": "userID",
  10538. "in": "query",
  10539. "required": true
  10540. }
  10541. ],
  10542. "responses": {
  10543. "200": {
  10544. "description": "OK",
  10545. "schema": {
  10546. "$ref": "#/definitions/models.Useraccount"
  10547. }
  10548. },
  10549. "500": {
  10550. "description": "Internal Server Error",
  10551. "schema": {
  10552. "$ref": "#/definitions/app.Response"
  10553. }
  10554. }
  10555. }
  10556. }
  10557. },
  10558. "/User/GetUserAuthStatus": {
  10559. "get": {
  10560. "security": [
  10561. {
  10562. "ApiKeyAuth": []
  10563. }
  10564. ],
  10565. "produces": [
  10566. "application/json"
  10567. ],
  10568. "tags": [
  10569. "用户信息"
  10570. ],
  10571. "summary": "获取用户实名认证状态",
  10572. "parameters": [
  10573. {
  10574. "type": "integer",
  10575. "description": "用户ID",
  10576. "name": "userID",
  10577. "in": "query",
  10578. "required": true
  10579. }
  10580. ],
  10581. "responses": {
  10582. "200": {
  10583. "description": "OK",
  10584. "schema": {
  10585. "$ref": "#/definitions/app.Response"
  10586. }
  10587. },
  10588. "500": {
  10589. "description": "Internal Server Error",
  10590. "schema": {
  10591. "$ref": "#/definitions/app.Response"
  10592. }
  10593. }
  10594. }
  10595. }
  10596. },
  10597. "/User/LoginQuery": {
  10598. "get": {
  10599. "security": [
  10600. {
  10601. "ApiKeyAuth": []
  10602. }
  10603. ],
  10604. "produces": [
  10605. "application/json"
  10606. ],
  10607. "tags": [
  10608. "用户信息"
  10609. ],
  10610. "summary": "账户登录后信息查询",
  10611. "parameters": [
  10612. {
  10613. "type": "integer",
  10614. "description": "登录账号",
  10615. "name": "loginID",
  10616. "in": "query",
  10617. "required": true
  10618. }
  10619. ],
  10620. "responses": {
  10621. "200": {
  10622. "description": "OK",
  10623. "schema": {
  10624. "$ref": "#/definitions/user.LoginQueryRsp"
  10625. }
  10626. },
  10627. "500": {
  10628. "description": "Internal Server Error",
  10629. "schema": {
  10630. "$ref": "#/definitions/app.Response"
  10631. }
  10632. }
  10633. }
  10634. }
  10635. },
  10636. "/User/QueryMessageBoard": {
  10637. "get": {
  10638. "security": [
  10639. {
  10640. "ApiKeyAuth": []
  10641. }
  10642. ],
  10643. "produces": [
  10644. "application/json"
  10645. ],
  10646. "tags": [
  10647. "用户信息"
  10648. ],
  10649. "summary": "获取用户留言板信息",
  10650. "parameters": [
  10651. {
  10652. "type": "integer",
  10653. "description": "用户ID",
  10654. "name": "userID",
  10655. "in": "query",
  10656. "required": true
  10657. }
  10658. ],
  10659. "responses": {
  10660. "200": {
  10661. "description": "OK",
  10662. "schema": {
  10663. "$ref": "#/definitions/models.Messageboard"
  10664. }
  10665. },
  10666. "500": {
  10667. "description": "Internal Server Error",
  10668. "schema": {
  10669. "$ref": "#/definitions/app.Response"
  10670. }
  10671. }
  10672. }
  10673. }
  10674. },
  10675. "/User/QueryUserFavoriteGoodses": {
  10676. "get": {
  10677. "security": [
  10678. {
  10679. "ApiKeyAuth": []
  10680. }
  10681. ],
  10682. "produces": [
  10683. "application/json"
  10684. ],
  10685. "tags": [
  10686. "用户信息"
  10687. ],
  10688. "summary": "获取用户商品收藏信息",
  10689. "parameters": [
  10690. {
  10691. "type": "integer",
  10692. "description": "用户ID",
  10693. "name": "userID",
  10694. "in": "query",
  10695. "required": true
  10696. }
  10697. ],
  10698. "responses": {
  10699. "200": {
  10700. "description": "OK",
  10701. "schema": {
  10702. "$ref": "#/definitions/models.Userfavoritegoods"
  10703. }
  10704. },
  10705. "500": {
  10706. "description": "Internal Server Error",
  10707. "schema": {
  10708. "$ref": "#/definitions/app.Response"
  10709. }
  10710. }
  10711. }
  10712. }
  10713. },
  10714. "/User/QueryUserInfo": {
  10715. "get": {
  10716. "security": [
  10717. {
  10718. "ApiKeyAuth": []
  10719. }
  10720. ],
  10721. "produces": [
  10722. "application/json"
  10723. ],
  10724. "tags": [
  10725. "用户信息"
  10726. ],
  10727. "summary": "获取用户信息",
  10728. "parameters": [
  10729. {
  10730. "type": "integer",
  10731. "description": "用户ID",
  10732. "name": "userID",
  10733. "in": "query",
  10734. "required": true
  10735. },
  10736. {
  10737. "type": "boolean",
  10738. "description": "是否解密",
  10739. "name": "isDecrypt",
  10740. "in": "query"
  10741. }
  10742. ],
  10743. "responses": {
  10744. "200": {
  10745. "description": "OK",
  10746. "schema": {
  10747. "$ref": "#/definitions/models.Userinfo"
  10748. }
  10749. },
  10750. "500": {
  10751. "description": "Internal Server Error",
  10752. "schema": {
  10753. "$ref": "#/definitions/app.Response"
  10754. }
  10755. }
  10756. }
  10757. }
  10758. },
  10759. "/User/QueryUserReferNum": {
  10760. "get": {
  10761. "produces": [
  10762. "application/json"
  10763. ],
  10764. "tags": [
  10765. "用户信息"
  10766. ],
  10767. "summary": "获取用户邀请码",
  10768. "parameters": [
  10769. {
  10770. "type": "integer",
  10771. "description": "用户ID",
  10772. "name": "userID",
  10773. "in": "query",
  10774. "required": true
  10775. }
  10776. ],
  10777. "responses": {
  10778. "200": {
  10779. "description": "OK",
  10780. "schema": {
  10781. "$ref": "#/definitions/app.Response"
  10782. }
  10783. },
  10784. "500": {
  10785. "description": "Internal Server Error",
  10786. "schema": {
  10787. "$ref": "#/definitions/app.Response"
  10788. }
  10789. }
  10790. }
  10791. }
  10792. },
  10793. "/User/RemoveUserFavoriteGoods": {
  10794. "post": {
  10795. "security": [
  10796. {
  10797. "ApiKeyAuth": []
  10798. }
  10799. ],
  10800. "produces": [
  10801. "application/json"
  10802. ],
  10803. "tags": [
  10804. "用户信息"
  10805. ],
  10806. "summary": "移除用户商品收藏信息",
  10807. "parameters": [
  10808. {
  10809. "type": "integer",
  10810. "description": "用户ID",
  10811. "name": "userID",
  10812. "in": "query",
  10813. "required": true
  10814. },
  10815. {
  10816. "type": "integer",
  10817. "description": "商品ID",
  10818. "name": "goodsID",
  10819. "in": "query",
  10820. "required": true
  10821. }
  10822. ],
  10823. "responses": {
  10824. "200": {
  10825. "description": "OK",
  10826. "schema": {
  10827. "$ref": "#/definitions/app.Response"
  10828. }
  10829. },
  10830. "500": {
  10831. "description": "Internal Server Error",
  10832. "schema": {
  10833. "$ref": "#/definitions/app.Response"
  10834. }
  10835. }
  10836. }
  10837. }
  10838. },
  10839. "/User/UpdateUserAccountStatus": {
  10840. "post": {
  10841. "security": [
  10842. {
  10843. "ApiKeyAuth": []
  10844. }
  10845. ],
  10846. "produces": [
  10847. "application/json"
  10848. ],
  10849. "tags": [
  10850. "用户信息"
  10851. ],
  10852. "summary": "更新用户状态",
  10853. "parameters": [
  10854. {
  10855. "type": "integer",
  10856. "description": "用户ID",
  10857. "name": "userID",
  10858. "in": "query",
  10859. "required": true
  10860. },
  10861. {
  10862. "type": "integer",
  10863. "description": "账户状态 - 4:正常 6:注销(停用)",
  10864. "name": "accountStatus",
  10865. "in": "query",
  10866. "required": true
  10867. }
  10868. ],
  10869. "responses": {
  10870. "200": {
  10871. "description": "OK",
  10872. "schema": {
  10873. "$ref": "#/definitions/app.Response"
  10874. }
  10875. },
  10876. "500": {
  10877. "description": "Internal Server Error",
  10878. "schema": {
  10879. "$ref": "#/definitions/app.Response"
  10880. }
  10881. }
  10882. }
  10883. }
  10884. },
  10885. "/WRTrade/GetAllDeliveryGoods": {
  10886. "get": {
  10887. "security": [
  10888. {
  10889. "ApiKeyAuth": []
  10890. },
  10891. {
  10892. "ApiKeyAuth": []
  10893. }
  10894. ],
  10895. "produces": [
  10896. "application/json",
  10897. "application/json"
  10898. ],
  10899. "tags": [
  10900. "仓单贸易",
  10901. "仓单贸易"
  10902. ],
  10903. "summary": "获取带仓单分类的种类信息",
  10904. "responses": {
  10905. "200": {
  10906. "description": "OK",
  10907. "schema": {
  10908. "$ref": "#/definitions/app.Response"
  10909. }
  10910. },
  10911. "500": {
  10912. "description": "Internal Server Error",
  10913. "schema": {
  10914. "$ref": "#/definitions/app.Response"
  10915. }
  10916. }
  10917. }
  10918. }
  10919. },
  10920. "/WrTrade2/QueryOrderQuote": {
  10921. "get": {
  10922. "security": [
  10923. {
  10924. "ApiKeyAuth": []
  10925. }
  10926. ],
  10927. "produces": [
  10928. "application/json"
  10929. ],
  10930. "tags": [
  10931. "仓单贸易v2"
  10932. ],
  10933. "summary": "查询大厅行情列表",
  10934. "parameters": [
  10935. {
  10936. "type": "integer",
  10937. "description": "页码",
  10938. "name": "page",
  10939. "in": "query"
  10940. },
  10941. {
  10942. "type": "integer",
  10943. "description": "每页条数",
  10944. "name": "pagesize",
  10945. "in": "query"
  10946. },
  10947. {
  10948. "type": "integer",
  10949. "description": "仓单贸易市场id",
  10950. "name": "marketid",
  10951. "in": "query"
  10952. },
  10953. {
  10954. "type": "integer",
  10955. "description": "价格方式 - 1:固定价 2-浮动价",
  10956. "name": "wrpricetype",
  10957. "in": "query",
  10958. "required": true
  10959. },
  10960. {
  10961. "type": "integer",
  10962. "description": "0:仓单预售 1:仓单贸易",
  10963. "name": "haswr",
  10964. "in": "query",
  10965. "required": true
  10966. },
  10967. {
  10968. "type": "string",
  10969. "description": "商品名称(筛选条件)",
  10970. "name": "wrstandardname",
  10971. "in": "query"
  10972. },
  10973. {
  10974. "type": "string",
  10975. "description": "品牌名称(筛选条件)",
  10976. "name": "brandname",
  10977. "in": "query"
  10978. },
  10979. {
  10980. "type": "integer",
  10981. "description": "仓库id(筛选条件)",
  10982. "name": "warehouseid",
  10983. "in": "query"
  10984. }
  10985. ],
  10986. "responses": {
  10987. "200": {
  10988. "description": "OK",
  10989. "schema": {
  10990. "type": "array",
  10991. "items": {
  10992. "$ref": "#/definitions/models.WrOrderQuote"
  10993. }
  10994. }
  10995. },
  10996. "500": {
  10997. "description": "Internal Server Error",
  10998. "schema": {
  10999. "$ref": "#/definitions/app.Response"
  11000. }
  11001. }
  11002. }
  11003. }
  11004. },
  11005. "/WrTrade2/QueryOrderQuoteDetail": {
  11006. "get": {
  11007. "security": [
  11008. {
  11009. "ApiKeyAuth": []
  11010. }
  11011. ],
  11012. "produces": [
  11013. "application/json"
  11014. ],
  11015. "tags": [
  11016. "仓单贸易v2"
  11017. ],
  11018. "summary": "查询买卖大厅",
  11019. "parameters": [
  11020. {
  11021. "type": "integer",
  11022. "description": "页码",
  11023. "name": "page",
  11024. "in": "query"
  11025. },
  11026. {
  11027. "type": "integer",
  11028. "description": "每页条数",
  11029. "name": "pagesize",
  11030. "in": "query"
  11031. },
  11032. {
  11033. "type": "integer",
  11034. "description": "仓单贸易市场id",
  11035. "name": "marketid",
  11036. "in": "query"
  11037. },
  11038. {
  11039. "type": "integer",
  11040. "description": "价格方式 - 1:固定价 2-浮动价",
  11041. "name": "wrpricetype",
  11042. "in": "query",
  11043. "required": true
  11044. },
  11045. {
  11046. "type": "integer",
  11047. "description": "0:仓单预售 1:仓单贸易",
  11048. "name": "haswr",
  11049. "in": "query",
  11050. "required": true
  11051. },
  11052. {
  11053. "type": "integer",
  11054. "description": "仓单要素id",
  11055. "name": "wrfactortypeid",
  11056. "in": "query",
  11057. "required": true
  11058. },
  11059. {
  11060. "type": "integer",
  11061. "description": "期货商品id",
  11062. "name": "goodsid",
  11063. "in": "query",
  11064. "required": true
  11065. },
  11066. {
  11067. "type": "integer",
  11068. "description": "买卖方向 0-买 1-卖",
  11069. "name": "buyorsell",
  11070. "in": "query",
  11071. "required": true
  11072. }
  11073. ],
  11074. "responses": {
  11075. "200": {
  11076. "description": "OK",
  11077. "schema": {
  11078. "type": "array",
  11079. "items": {
  11080. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11081. }
  11082. }
  11083. },
  11084. "500": {
  11085. "description": "Internal Server Error",
  11086. "schema": {
  11087. "$ref": "#/definitions/app.Response"
  11088. }
  11089. }
  11090. }
  11091. }
  11092. },
  11093. "/WrTrade2/QueryWrGoodsInfo": {
  11094. "get": {
  11095. "security": [
  11096. {
  11097. "ApiKeyAuth": []
  11098. }
  11099. ],
  11100. "produces": [
  11101. "application/json"
  11102. ],
  11103. "tags": [
  11104. "仓单贸易v2"
  11105. ],
  11106. "summary": "查询仓单商品信息",
  11107. "parameters": [
  11108. {
  11109. "type": "integer",
  11110. "description": "仓单贸易市场id",
  11111. "name": "marketid",
  11112. "in": "query"
  11113. },
  11114. {
  11115. "type": "integer",
  11116. "description": "0:仓单预售 1:仓单贸易",
  11117. "name": "haswr",
  11118. "in": "query",
  11119. "required": true
  11120. },
  11121. {
  11122. "type": "integer",
  11123. "description": "仓单要素id",
  11124. "name": "wrfactortypeid",
  11125. "in": "query",
  11126. "required": true
  11127. }
  11128. ],
  11129. "responses": {
  11130. "200": {
  11131. "description": "OK",
  11132. "schema": {
  11133. "type": "array",
  11134. "items": {
  11135. "$ref": "#/definitions/models.WrGoodsInfo"
  11136. }
  11137. }
  11138. },
  11139. "500": {
  11140. "description": "Internal Server Error",
  11141. "schema": {
  11142. "$ref": "#/definitions/app.Response"
  11143. }
  11144. }
  11145. }
  11146. }
  11147. },
  11148. "/WrTrade2/QueryWrOrderDetail": {
  11149. "get": {
  11150. "security": [
  11151. {
  11152. "ApiKeyAuth": []
  11153. }
  11154. ],
  11155. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11156. "produces": [
  11157. "application/json"
  11158. ],
  11159. "tags": [
  11160. "仓单贸易v2"
  11161. ],
  11162. "summary": "查询仓单委托单(挂单)",
  11163. "parameters": [
  11164. {
  11165. "type": "integer",
  11166. "description": "页码",
  11167. "name": "page",
  11168. "in": "query"
  11169. },
  11170. {
  11171. "type": "integer",
  11172. "description": "每页条数",
  11173. "name": "pagesize",
  11174. "in": "query"
  11175. },
  11176. {
  11177. "type": "integer",
  11178. "description": "用户id",
  11179. "name": "userid",
  11180. "in": "query",
  11181. "required": true
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓单贸易市场id",
  11186. "name": "marketid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "0:仓单预售 1:仓单贸易",
  11192. "name": "haswr",
  11193. "in": "query",
  11194. "required": true
  11195. }
  11196. ],
  11197. "responses": {
  11198. "200": {
  11199. "description": "OK",
  11200. "schema": {
  11201. "type": "array",
  11202. "items": {
  11203. "$ref": "#/definitions/models.WrOrderDetail"
  11204. }
  11205. }
  11206. },
  11207. "500": {
  11208. "description": "Internal Server Error",
  11209. "schema": {
  11210. "$ref": "#/definitions/app.Response"
  11211. }
  11212. }
  11213. }
  11214. }
  11215. },
  11216. "/WrTrade2/QueryWrPosition": {
  11217. "get": {
  11218. "security": [
  11219. {
  11220. "ApiKeyAuth": []
  11221. }
  11222. ],
  11223. "description": "页面 现货仓单-\u003e现货汇总/库存汇总/现货明细 ; 预售仓单-\u003e订单汇总",
  11224. "produces": [
  11225. "application/json"
  11226. ],
  11227. "tags": [
  11228. "仓单贸易v2"
  11229. ],
  11230. "summary": "查询现货(预售)仓单持仓",
  11231. "parameters": [
  11232. {
  11233. "type": "integer",
  11234. "description": "用户id",
  11235. "name": "userid",
  11236. "in": "query",
  11237. "required": true
  11238. },
  11239. {
  11240. "type": "integer",
  11241. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细",
  11242. "name": "querytype",
  11243. "in": "query",
  11244. "required": true
  11245. }
  11246. ],
  11247. "responses": {
  11248. "200": {
  11249. "description": "OK",
  11250. "schema": {
  11251. "type": "array",
  11252. "items": {
  11253. "$ref": "#/definitions/models.WrPosition"
  11254. }
  11255. }
  11256. },
  11257. "500": {
  11258. "description": "Internal Server Error",
  11259. "schema": {
  11260. "$ref": "#/definitions/app.Response"
  11261. }
  11262. }
  11263. }
  11264. }
  11265. },
  11266. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11267. "get": {
  11268. "security": [
  11269. {
  11270. "ApiKeyAuth": []
  11271. }
  11272. ],
  11273. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11274. "produces": [
  11275. "application/json"
  11276. ],
  11277. "tags": [
  11278. "仓单贸易v2"
  11279. ],
  11280. "summary": "查询指定成交",
  11281. "parameters": [
  11282. {
  11283. "type": "integer",
  11284. "description": "页码",
  11285. "name": "page",
  11286. "in": "query"
  11287. },
  11288. {
  11289. "type": "integer",
  11290. "description": "每页条数",
  11291. "name": "pagesize",
  11292. "in": "query"
  11293. },
  11294. {
  11295. "type": "integer",
  11296. "description": "用户id",
  11297. "name": "userid",
  11298. "in": "query",
  11299. "required": true
  11300. },
  11301. {
  11302. "type": "integer",
  11303. "description": "仓单贸易市场id",
  11304. "name": "marketid",
  11305. "in": "query"
  11306. },
  11307. {
  11308. "type": "integer",
  11309. "description": "0:仓单预售 1:仓单贸易",
  11310. "name": "haswr",
  11311. "in": "query",
  11312. "required": true
  11313. }
  11314. ],
  11315. "responses": {
  11316. "200": {
  11317. "description": "OK",
  11318. "schema": {
  11319. "type": "array",
  11320. "items": {
  11321. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11322. }
  11323. }
  11324. },
  11325. "500": {
  11326. "description": "Internal Server Error",
  11327. "schema": {
  11328. "$ref": "#/definitions/app.Response"
  11329. }
  11330. }
  11331. }
  11332. }
  11333. },
  11334. "/WrTrade2/QueryWrTradeDetail": {
  11335. "get": {
  11336. "security": [
  11337. {
  11338. "ApiKeyAuth": []
  11339. }
  11340. ],
  11341. "produces": [
  11342. "application/json"
  11343. ],
  11344. "tags": [
  11345. "仓单贸易v2"
  11346. ],
  11347. "summary": "查询仓单成交明细",
  11348. "parameters": [
  11349. {
  11350. "type": "integer",
  11351. "description": "页码",
  11352. "name": "page",
  11353. "in": "query"
  11354. },
  11355. {
  11356. "type": "integer",
  11357. "description": "每页条数",
  11358. "name": "pagesize",
  11359. "in": "query"
  11360. },
  11361. {
  11362. "type": "integer",
  11363. "description": "用户id",
  11364. "name": "userid",
  11365. "in": "query",
  11366. "required": true
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "仓单贸易市场id",
  11371. "name": "marketid",
  11372. "in": "query"
  11373. },
  11374. {
  11375. "type": "integer",
  11376. "description": "0:仓单预售 1:仓单贸易",
  11377. "name": "haswr",
  11378. "in": "query",
  11379. "required": true
  11380. }
  11381. ],
  11382. "responses": {
  11383. "200": {
  11384. "description": "OK",
  11385. "schema": {
  11386. "type": "array",
  11387. "items": {
  11388. "$ref": "#/definitions/models.WrTradeDetail"
  11389. }
  11390. }
  11391. },
  11392. "500": {
  11393. "description": "Internal Server Error",
  11394. "schema": {
  11395. "$ref": "#/definitions/app.Response"
  11396. }
  11397. }
  11398. }
  11399. }
  11400. }
  11401. },
  11402. "definitions": {
  11403. "app.Response": {
  11404. "type": "object",
  11405. "properties": {
  11406. "code": {
  11407. "type": "integer"
  11408. },
  11409. "data": {
  11410. "type": "object"
  11411. },
  11412. "msg": {
  11413. "type": "string"
  11414. },
  11415. "page": {
  11416. "description": "页码",
  11417. "type": "integer"
  11418. },
  11419. "pagesize": {
  11420. "description": "每页条数",
  11421. "type": "integer"
  11422. },
  11423. "total": {
  11424. "description": "总条数",
  11425. "type": "integer"
  11426. }
  11427. }
  11428. },
  11429. "common.ClientMenu": {
  11430. "type": "object",
  11431. "properties": {
  11432. "children": {
  11433. "description": "子菜单列表",
  11434. "type": "array",
  11435. "items": {
  11436. "$ref": "#/definitions/common.ClientMenu"
  11437. }
  11438. },
  11439. "code": {
  11440. "description": "ID",
  11441. "type": "string"
  11442. },
  11443. "isshow": {
  11444. "description": "是否显示",
  11445. "type": "boolean"
  11446. },
  11447. "remark": {
  11448. "description": "备注",
  11449. "type": "string"
  11450. },
  11451. "rulekey": {
  11452. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11453. "type": "string"
  11454. },
  11455. "sort": {
  11456. "description": "排序",
  11457. "type": "integer"
  11458. },
  11459. "title": {
  11460. "description": "标题",
  11461. "type": "string"
  11462. },
  11463. "type": {
  11464. "description": "类型,1:菜单 2:按钮",
  11465. "type": "integer"
  11466. },
  11467. "url": {
  11468. "description": "URL",
  11469. "type": "string"
  11470. }
  11471. }
  11472. },
  11473. "common.QueryImageConfigsRsp": {
  11474. "type": "object",
  11475. "required": [
  11476. "configid"
  11477. ],
  11478. "properties": {
  11479. "areauserid": {
  11480. "description": "所属机构ID",
  11481. "type": "integer"
  11482. },
  11483. "configid": {
  11484. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11485. "type": "integer"
  11486. },
  11487. "createdate": {
  11488. "description": "创建时间",
  11489. "type": "string"
  11490. },
  11491. "creatorid": {
  11492. "description": "创建人",
  11493. "type": "integer"
  11494. },
  11495. "imagepath": {
  11496. "description": "图片",
  11497. "type": "string"
  11498. },
  11499. "imagetype": {
  11500. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11501. "type": "integer"
  11502. },
  11503. "isshow": {
  11504. "description": "是否展示 - 0:不展示 1:展示",
  11505. "type": "integer"
  11506. },
  11507. "marketid": {
  11508. "description": "市场ID",
  11509. "type": "integer"
  11510. },
  11511. "modifierid": {
  11512. "description": "操作人",
  11513. "type": "integer"
  11514. },
  11515. "sort": {
  11516. "description": "排序",
  11517. "type": "integer"
  11518. },
  11519. "title": {
  11520. "description": "标题",
  11521. "type": "string"
  11522. },
  11523. "trademode": {
  11524. "description": "交易模式",
  11525. "type": "integer"
  11526. },
  11527. "updatedate": {
  11528. "description": "修改时间",
  11529. "type": "string"
  11530. },
  11531. "url": {
  11532. "description": "链接(地址或商品ID)",
  11533. "type": "string"
  11534. },
  11535. "urltype": {
  11536. "description": "链接类型 - 1:直接地址 2:商品ID",
  11537. "type": "integer"
  11538. }
  11539. }
  11540. },
  11541. "common.QueryNoticeRsp": {
  11542. "type": "object",
  11543. "required": [
  11544. "autoid"
  11545. ],
  11546. "properties": {
  11547. "auditoruserid": {
  11548. "description": "审核人",
  11549. "type": "integer"
  11550. },
  11551. "auditremark": {
  11552. "description": "审核备注",
  11553. "type": "string"
  11554. },
  11555. "audittime": {
  11556. "description": "审核日期",
  11557. "type": "string"
  11558. },
  11559. "autoid": {
  11560. "description": "自增ID",
  11561. "type": "integer"
  11562. },
  11563. "content": {
  11564. "description": "内容",
  11565. "type": "string"
  11566. },
  11567. "createtime": {
  11568. "description": "创建时间",
  11569. "type": "string"
  11570. },
  11571. "creatorid": {
  11572. "description": "建仓人",
  11573. "type": "integer"
  11574. },
  11575. "endtime": {
  11576. "description": "结束时间",
  11577. "type": "string"
  11578. },
  11579. "istop": {
  11580. "description": "是否置顶 - 0:不置顶 1:置顶",
  11581. "type": "integer"
  11582. },
  11583. "msgiconurl": {
  11584. "description": "消息图标Url",
  11585. "type": "string"
  11586. },
  11587. "msgtype": {
  11588. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11589. "type": "integer"
  11590. },
  11591. "publisher": {
  11592. "description": "消息发布者",
  11593. "type": "string"
  11594. },
  11595. "readed": {
  11596. "description": "是否已读",
  11597. "type": "boolean"
  11598. },
  11599. "scheduletime": {
  11600. "description": "计划发送时间",
  11601. "type": "string"
  11602. },
  11603. "sendtype": {
  11604. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11605. "type": "integer"
  11606. },
  11607. "sentstatus": {
  11608. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11609. "type": "integer"
  11610. },
  11611. "title": {
  11612. "description": "标题",
  11613. "type": "string"
  11614. },
  11615. "userid": {
  11616. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11617. "type": "integer"
  11618. }
  11619. }
  11620. },
  11621. "common.QueryProvincesAndCitiesRsp": {
  11622. "type": "object",
  11623. "properties": {
  11624. "cities": {
  11625. "description": "市",
  11626. "type": "array",
  11627. "items": {
  11628. "$ref": "#/definitions/models.Division"
  11629. }
  11630. },
  11631. "province": {
  11632. "description": "省",
  11633. "type": "object",
  11634. "$ref": "#/definitions/models.Division"
  11635. }
  11636. }
  11637. },
  11638. "common.QueryTableDefineRsp": {
  11639. "type": "object",
  11640. "required": [
  11641. "tablekey"
  11642. ],
  11643. "properties": {
  11644. "columns": {
  11645. "description": "列头信息数组",
  11646. "type": "array",
  11647. "items": {
  11648. "$ref": "#/definitions/models.Tablecolumnconfig"
  11649. }
  11650. },
  11651. "remark": {
  11652. "description": "Remark",
  11653. "type": "string"
  11654. },
  11655. "tabelmenu": {
  11656. "description": "列表菜单",
  11657. "type": "string"
  11658. },
  11659. "tablekey": {
  11660. "description": "列表Key",
  11661. "type": "string"
  11662. },
  11663. "tablename": {
  11664. "description": "列表名称",
  11665. "type": "string"
  11666. },
  11667. "tabletype": {
  11668. "description": "列表类型 - 1:管理端 2:终端",
  11669. "type": "integer"
  11670. }
  11671. }
  11672. },
  11673. "common.QueryTraderMenuRsp": {
  11674. "type": "object",
  11675. "properties": {
  11676. "OperationMenu": {
  11677. "description": "功能菜单",
  11678. "type": "array",
  11679. "items": {
  11680. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11681. }
  11682. },
  11683. "QuoteMenu": {
  11684. "description": "报价牌分类菜单",
  11685. "type": "array",
  11686. "items": {
  11687. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11688. }
  11689. }
  11690. }
  11691. },
  11692. "cptrade.Cptradepositioncancel": {
  11693. "type": "object",
  11694. "required": [
  11695. "cancelid"
  11696. ],
  11697. "properties": {
  11698. "accountid": {
  11699. "description": "申请人账户ID",
  11700. "type": "integer"
  11701. },
  11702. "applystatus": {
  11703. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11704. "type": "integer"
  11705. },
  11706. "applytime": {
  11707. "description": "申请时间",
  11708. "type": "string"
  11709. },
  11710. "cancelid": {
  11711. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11712. "type": "integer"
  11713. },
  11714. "cancelqty": {
  11715. "description": "注销数量",
  11716. "type": "integer"
  11717. },
  11718. "createtime": {
  11719. "description": "创建时间",
  11720. "type": "string"
  11721. },
  11722. "creatorid": {
  11723. "description": "创建人ID",
  11724. "type": "integer"
  11725. },
  11726. "creatorname": {
  11727. "description": "创建人",
  11728. "type": "string"
  11729. },
  11730. "goodscode": {
  11731. "description": "订单商品代码",
  11732. "type": "string"
  11733. },
  11734. "goodsid": {
  11735. "description": "商品ID",
  11736. "type": "integer"
  11737. },
  11738. "goodsname": {
  11739. "description": "订单商品名称",
  11740. "type": "string"
  11741. },
  11742. "goodunit": {
  11743. "description": "报价单位",
  11744. "type": "string"
  11745. },
  11746. "handlestatus": {
  11747. "description": "处理状态",
  11748. "type": "integer"
  11749. },
  11750. "marketid": {
  11751. "description": "市场ID",
  11752. "type": "integer"
  11753. },
  11754. "marketname": {
  11755. "description": "市场名称",
  11756. "type": "string"
  11757. },
  11758. "tradedate": {
  11759. "description": "交易日(yyyyMMdd)",
  11760. "type": "string"
  11761. },
  11762. "userid": {
  11763. "description": "申请人ID",
  11764. "type": "integer"
  11765. }
  11766. }
  11767. },
  11768. "cptrade.Cptradepresaleapply": {
  11769. "type": "object",
  11770. "required": [
  11771. "applyid"
  11772. ],
  11773. "properties": {
  11774. "accountid": {
  11775. "description": "申请人账户ID",
  11776. "type": "integer"
  11777. },
  11778. "applyid": {
  11779. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11780. "type": "integer"
  11781. },
  11782. "applyremark": {
  11783. "description": "申请备注",
  11784. "type": "string"
  11785. },
  11786. "applystatus": {
  11787. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11788. "type": "integer"
  11789. },
  11790. "applytime": {
  11791. "description": "申请时间",
  11792. "type": "string"
  11793. },
  11794. "attachmenturl": {
  11795. "description": "附件地址",
  11796. "type": "string"
  11797. },
  11798. "endtime": {
  11799. "description": "预售结束时间",
  11800. "type": "string"
  11801. },
  11802. "goodscode": {
  11803. "description": "商品代码",
  11804. "type": "string"
  11805. },
  11806. "goodsid": {
  11807. "description": "商品ID",
  11808. "type": "integer"
  11809. },
  11810. "goodsname": {
  11811. "description": "商品名称",
  11812. "type": "string"
  11813. },
  11814. "goodunit": {
  11815. "description": "报价单位",
  11816. "type": "string"
  11817. },
  11818. "handlestatus": {
  11819. "description": "处理状态",
  11820. "type": "integer"
  11821. },
  11822. "marketid": {
  11823. "description": "预售市场ID",
  11824. "type": "integer"
  11825. },
  11826. "marketname": {
  11827. "description": "预售市场名称",
  11828. "type": "string"
  11829. },
  11830. "presaleqty": {
  11831. "description": "预售数量",
  11832. "type": "integer"
  11833. },
  11834. "relatedgoodscode": {
  11835. "description": "关联交易合约代码",
  11836. "type": "string"
  11837. },
  11838. "relatedgoodsid": {
  11839. "description": "关联交易合约ID",
  11840. "type": "integer"
  11841. },
  11842. "relatedgoodsname": {
  11843. "description": "关联交易合约名称",
  11844. "type": "string"
  11845. },
  11846. "starttime": {
  11847. "description": "预售开始时间",
  11848. "type": "string"
  11849. },
  11850. "tradedate": {
  11851. "description": "交易日(yyyyMMdd)",
  11852. "type": "string"
  11853. },
  11854. "trademode": {
  11855. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11856. "type": "integer"
  11857. },
  11858. "userid": {
  11859. "description": "申请人ID",
  11860. "type": "integer"
  11861. }
  11862. }
  11863. },
  11864. "cptrade.Cptradeusergoodsdata": {
  11865. "type": "object",
  11866. "required": [
  11867. "accountid",
  11868. "goodsid"
  11869. ],
  11870. "properties": {
  11871. "EnabledQty": {
  11872. "description": "可用量",
  11873. "type": "integer"
  11874. },
  11875. "GoodsCode": {
  11876. "description": "订单商品代码",
  11877. "type": "string"
  11878. },
  11879. "GoodsName": {
  11880. "description": "订单商品名称",
  11881. "type": "string"
  11882. },
  11883. "WRStandardCode": {
  11884. "description": "仓单标准代码",
  11885. "type": "string"
  11886. },
  11887. "WRStandardName": {
  11888. "description": "仓单标准名称",
  11889. "type": "string"
  11890. },
  11891. "accountid": {
  11892. "description": "账户ID",
  11893. "type": "integer"
  11894. },
  11895. "cancelqty": {
  11896. "description": "注销量",
  11897. "type": "integer"
  11898. },
  11899. "curpresaleqty": {
  11900. "description": "当前预售量",
  11901. "type": "integer"
  11902. },
  11903. "deliveryqty": {
  11904. "description": "交割量",
  11905. "type": "integer"
  11906. },
  11907. "freezeamount": {
  11908. "description": "冻结金额",
  11909. "type": "number"
  11910. },
  11911. "goodsid": {
  11912. "description": "商品ID",
  11913. "type": "integer"
  11914. },
  11915. "goodunit": {
  11916. "description": "报价单位",
  11917. "type": "string"
  11918. },
  11919. "hasspotfreeze": {
  11920. "description": "是否有现货冻结 - 0:否 1:有",
  11921. "type": "integer"
  11922. },
  11923. "inqty": {
  11924. "description": "转入量(总数量)",
  11925. "type": "integer"
  11926. },
  11927. "marketid": {
  11928. "description": "市场ID",
  11929. "type": "integer"
  11930. },
  11931. "presaledamount": {
  11932. "description": "已预售总金额",
  11933. "type": "integer"
  11934. },
  11935. "presaledqty": {
  11936. "description": "已预售量",
  11937. "type": "integer"
  11938. },
  11939. "userid": {
  11940. "description": "用户ID",
  11941. "type": "integer"
  11942. },
  11943. "wrstandardid": {
  11944. "description": "仓单标准ID",
  11945. "type": "integer"
  11946. }
  11947. }
  11948. },
  11949. "cptrade.QueryCPTradeMyBidRsp": {
  11950. "type": "object",
  11951. "required": [
  11952. "accountid",
  11953. "goodsid",
  11954. "marketid",
  11955. "orderid",
  11956. "orderqty",
  11957. "ordertime",
  11958. "tradeprice",
  11959. "tradeqty"
  11960. ],
  11961. "properties": {
  11962. "accountid": {
  11963. "description": "账户ID[报价币种]",
  11964. "type": "integer"
  11965. },
  11966. "goodsid": {
  11967. "description": "商品ID",
  11968. "type": "integer"
  11969. },
  11970. "goodunit": {
  11971. "description": "报价单位",
  11972. "type": "string"
  11973. },
  11974. "marketid": {
  11975. "description": "市场ID",
  11976. "type": "integer"
  11977. },
  11978. "orderid": {
  11979. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11980. "type": "integer"
  11981. },
  11982. "orderprice": {
  11983. "description": "委托价格",
  11984. "type": "number"
  11985. },
  11986. "orderqty": {
  11987. "description": "委托数量",
  11988. "type": "integer"
  11989. },
  11990. "ordertime": {
  11991. "description": "委托时间",
  11992. "type": "string"
  11993. },
  11994. "ordertotalprice": {
  11995. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  11996. "type": "number"
  11997. },
  11998. "ordertotalweight": {
  11999. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12000. "type": "integer"
  12001. },
  12002. "totaltotalprice": {
  12003. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12004. "type": "number"
  12005. },
  12006. "tradeprice": {
  12007. "description": "成交价格",
  12008. "type": "number"
  12009. },
  12010. "tradeqty": {
  12011. "description": "成交数量",
  12012. "type": "integer"
  12013. }
  12014. }
  12015. },
  12016. "cptrade.QueryCPTradeOrderDetailRsq": {
  12017. "type": "object",
  12018. "required": [
  12019. "accountid",
  12020. "buildtype",
  12021. "buyorsell",
  12022. "goodsid",
  12023. "marketid",
  12024. "memberuserid",
  12025. "operatetype",
  12026. "orderqty",
  12027. "ordertime",
  12028. "pricemode",
  12029. "strorderid",
  12030. "tradedate",
  12031. "validtype"
  12032. ],
  12033. "properties": {
  12034. "accountid": {
  12035. "description": "账户ID[报价币种]",
  12036. "type": "integer"
  12037. },
  12038. "buildtype": {
  12039. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12040. "type": "integer"
  12041. },
  12042. "buyorsell": {
  12043. "description": "买卖 - 0:买 1:卖",
  12044. "type": "integer"
  12045. },
  12046. "cancelorderid": {
  12047. "description": "撤单单号(撤单时填写)",
  12048. "type": "integer"
  12049. },
  12050. "cancelqty": {
  12051. "description": "撤单数量",
  12052. "type": "integer"
  12053. },
  12054. "clientordertime": {
  12055. "description": "客户端委托时间",
  12056. "type": "string"
  12057. },
  12058. "clientticket": {
  12059. "description": "客户端流水号",
  12060. "type": "string"
  12061. },
  12062. "clienttype": {
  12063. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12064. "type": "integer"
  12065. },
  12066. "closeexchagechargevalue": {
  12067. "description": "平仓交易所手续费设置值",
  12068. "type": "number"
  12069. },
  12070. "closefeealgorithm": {
  12071. "description": "平仓手续费收取方式 1:比率 2:固定",
  12072. "type": "integer"
  12073. },
  12074. "closefreezecharge": {
  12075. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12076. "type": "number"
  12077. },
  12078. "closememberchargevalue": {
  12079. "description": "平仓会员手续费设置值",
  12080. "type": "number"
  12081. },
  12082. "closeqty": {
  12083. "description": "平仓数量(先建后平操作 需要记录)",
  12084. "type": "integer"
  12085. },
  12086. "closetradeqty": {
  12087. "description": "平仓成交数量(先建后平操作,需要记录)",
  12088. "type": "integer"
  12089. },
  12090. "closeunfreezecharge": {
  12091. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12092. "type": "number"
  12093. },
  12094. "delistingtype": {
  12095. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12096. "type": "integer"
  12097. },
  12098. "freezecharge": {
  12099. "description": "冻结手续费",
  12100. "type": "number"
  12101. },
  12102. "freezemargin": {
  12103. "description": "冻结保证金(冻结交易金额)",
  12104. "type": "number"
  12105. },
  12106. "gcaccountid": {
  12107. "description": "账户ID[合约币种]",
  12108. "type": "integer"
  12109. },
  12110. "goodsid": {
  12111. "description": "商品ID",
  12112. "type": "integer"
  12113. },
  12114. "isconfirmexercise": {
  12115. "description": "是否确认行权- 0:否 1:是",
  12116. "type": "integer"
  12117. },
  12118. "ispreexercise": {
  12119. "description": "是否预申报- 0:否 1:是",
  12120. "type": "integer"
  12121. },
  12122. "listingselecttype": {
  12123. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12124. "type": "integer"
  12125. },
  12126. "marginalgorithm": {
  12127. "description": "保证金收取方式 1:比率 2:固定",
  12128. "type": "integer"
  12129. },
  12130. "marginvalue": {
  12131. "description": "即市保证金设置值",
  12132. "type": "number"
  12133. },
  12134. "marketid": {
  12135. "description": "市场ID",
  12136. "type": "integer"
  12137. },
  12138. "marketmaxsub": {
  12139. "description": "市价最大偏移范围",
  12140. "type": "number"
  12141. },
  12142. "memberuserid": {
  12143. "description": "所属会员UserID",
  12144. "type": "integer"
  12145. },
  12146. "openexchagechargevalue": {
  12147. "description": "建仓交易所手续费设置值",
  12148. "type": "number"
  12149. },
  12150. "openfeealgorithm": {
  12151. "description": "建仓手续费收取方式 1:比率 2:固定",
  12152. "type": "integer"
  12153. },
  12154. "openfreezecharge": {
  12155. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12156. "type": "number"
  12157. },
  12158. "openmemberchargevalue": {
  12159. "description": "建仓会员手续费设置值",
  12160. "type": "number"
  12161. },
  12162. "openqty": {
  12163. "description": "开仓数量(先建后平操作,需要记录)",
  12164. "type": "integer"
  12165. },
  12166. "opentradeqty": {
  12167. "description": "开仓成交数量(先建后平操作,需要记录)",
  12168. "type": "integer"
  12169. },
  12170. "openunfreezecharge": {
  12171. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12172. "type": "number"
  12173. },
  12174. "operatetype": {
  12175. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12176. "type": "integer"
  12177. },
  12178. "operatorid": {
  12179. "description": "登录账号(LoginID)",
  12180. "type": "integer"
  12181. },
  12182. "optiontype": {
  12183. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12184. "type": "integer"
  12185. },
  12186. "orderprice": {
  12187. "description": "委托价格",
  12188. "type": "number"
  12189. },
  12190. "orderqty": {
  12191. "description": "委托数量",
  12192. "type": "integer"
  12193. },
  12194. "ordersrc": {
  12195. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12196. "type": "integer"
  12197. },
  12198. "orderstatus": {
  12199. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12200. "type": "integer"
  12201. },
  12202. "ordertime": {
  12203. "description": "委托时间",
  12204. "type": "string"
  12205. },
  12206. "preexerciseprice": {
  12207. "description": "预申报价格",
  12208. "type": "number"
  12209. },
  12210. "premium": {
  12211. "description": "权利金",
  12212. "type": "number"
  12213. },
  12214. "preorderid": {
  12215. "description": "关联预埋单号(止盈止损单时填写)",
  12216. "type": "integer"
  12217. },
  12218. "pricemode": {
  12219. "description": "取价方式 - 1:市价 2: 限价",
  12220. "type": "integer"
  12221. },
  12222. "quoteid": {
  12223. "description": "报价单ID",
  12224. "type": "integer"
  12225. },
  12226. "relatedid": {
  12227. "description": "关联单号(交割单)",
  12228. "type": "integer"
  12229. },
  12230. "retcode": {
  12231. "description": "错误代码",
  12232. "type": "integer"
  12233. },
  12234. "sessionid": {
  12235. "description": "会话ID",
  12236. "type": "integer"
  12237. },
  12238. "strorderid": {
  12239. "description": "委托单号",
  12240. "type": "string"
  12241. },
  12242. "tradedate": {
  12243. "description": "交易日(yyyyMMdd)",
  12244. "type": "string"
  12245. },
  12246. "tradeproperty": {
  12247. "description": "交易属性",
  12248. "type": "integer"
  12249. },
  12250. "tradeqty": {
  12251. "description": "成交数量",
  12252. "type": "integer"
  12253. },
  12254. "unfreezecharge": {
  12255. "description": "解冻手续费",
  12256. "type": "number"
  12257. },
  12258. "unfreezemargin": {
  12259. "description": "解冻保证金",
  12260. "type": "number"
  12261. },
  12262. "updatetime": {
  12263. "description": "更新时间",
  12264. "type": "string"
  12265. },
  12266. "uuid": {
  12267. "description": "发起端唯一id",
  12268. "type": "string"
  12269. },
  12270. "validtime": {
  12271. "description": "有效期限",
  12272. "type": "string"
  12273. },
  12274. "validtype": {
  12275. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12276. "type": "integer"
  12277. },
  12278. "volumetype": {
  12279. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12280. "type": "integer"
  12281. }
  12282. }
  12283. },
  12284. "cptrade.QueryMyCPTradeGoodsRsp": {
  12285. "type": "object",
  12286. "required": [
  12287. "goodscode",
  12288. "goodsid",
  12289. "goodsname",
  12290. "marketid",
  12291. "relatedgoodscode",
  12292. "relatedgoodsname"
  12293. ],
  12294. "properties": {
  12295. "accountid": {
  12296. "description": "卖方账户ID",
  12297. "type": "integer"
  12298. },
  12299. "agreeunit": {
  12300. "description": "合约单位",
  12301. "type": "number"
  12302. },
  12303. "applyid": {
  12304. "description": "关联申请ID",
  12305. "type": "integer"
  12306. },
  12307. "attachmenturl": {
  12308. "description": "附件地址",
  12309. "type": "string"
  12310. },
  12311. "createtime": {
  12312. "description": "创建时间",
  12313. "type": "string"
  12314. },
  12315. "currencyid": {
  12316. "description": "报价货币ID",
  12317. "type": "integer"
  12318. },
  12319. "decimalplace": {
  12320. "description": "报价小数位",
  12321. "type": "integer"
  12322. },
  12323. "endtime": {
  12324. "description": "预售结束时间",
  12325. "type": "string"
  12326. },
  12327. "floorprice": {
  12328. "description": "底价[大宗式竞拍]",
  12329. "type": "number"
  12330. },
  12331. "goodscode": {
  12332. "description": "商品代码(预售)",
  12333. "type": "string"
  12334. },
  12335. "goodsdetail": {
  12336. "description": "详情[大宗]",
  12337. "type": "string"
  12338. },
  12339. "goodsid": {
  12340. "description": "商品ID(自增ID SEQ_GOODS)",
  12341. "type": "integer"
  12342. },
  12343. "goodsname": {
  12344. "description": "商品名称(预售)",
  12345. "type": "string"
  12346. },
  12347. "goodunit": {
  12348. "description": "报价单位",
  12349. "type": "string"
  12350. },
  12351. "goodunitid": {
  12352. "description": "报价单位ID",
  12353. "type": "integer"
  12354. },
  12355. "marketid": {
  12356. "description": "所属市场ID",
  12357. "type": "integer"
  12358. },
  12359. "marketname": {
  12360. "description": "预售市场名称",
  12361. "type": "string"
  12362. },
  12363. "presaledamount": {
  12364. "description": "已预售总金额(预售结束时更新)",
  12365. "type": "number"
  12366. },
  12367. "presaledqty": {
  12368. "description": "已预售量(预售结束时更新)",
  12369. "type": "integer"
  12370. },
  12371. "presalemode": {
  12372. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12373. "type": "integer"
  12374. },
  12375. "presaleqty": {
  12376. "description": "预售数量",
  12377. "type": "integer"
  12378. },
  12379. "refprice": {
  12380. "description": "参考价格[一口价]",
  12381. "type": "number"
  12382. },
  12383. "relatedgoodscode": {
  12384. "description": "商品代码(订单)",
  12385. "type": "string"
  12386. },
  12387. "relatedgoodsid": {
  12388. "description": "关联交易合约ID",
  12389. "type": "integer"
  12390. },
  12391. "relatedgoodsname": {
  12392. "description": "商品名称(订单)",
  12393. "type": "string"
  12394. },
  12395. "relatedmarketid": {
  12396. "description": "关联交易合约市场ID",
  12397. "type": "integer"
  12398. },
  12399. "sellstatus": {
  12400. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12401. "type": "integer"
  12402. },
  12403. "startprice": {
  12404. "description": "起拍价[大宗式竞拍]",
  12405. "type": "number"
  12406. },
  12407. "starttime": {
  12408. "description": "预售开始时间",
  12409. "type": "string"
  12410. },
  12411. "tradedate": {
  12412. "description": "交易日(yyyyMMdd)",
  12413. "type": "string"
  12414. },
  12415. "tradeprice": {
  12416. "description": "成交价[大宗]",
  12417. "type": "number"
  12418. },
  12419. "userid": {
  12420. "description": "卖方用户ID",
  12421. "type": "integer"
  12422. }
  12423. }
  12424. },
  12425. "cptrade.QueryPresaleGoodsExRsp": {
  12426. "type": "object",
  12427. "required": [
  12428. "goodsid"
  12429. ],
  12430. "properties": {
  12431. "attachmenturl": {
  12432. "description": "附件地址",
  12433. "type": "string"
  12434. },
  12435. "createtime": {
  12436. "description": "创建时间",
  12437. "type": "string"
  12438. },
  12439. "endtime": {
  12440. "description": "预售结束时间",
  12441. "type": "string"
  12442. },
  12443. "floorprice": {
  12444. "description": "底价[大宗式竞拍]",
  12445. "type": "number"
  12446. },
  12447. "goodsdetail": {
  12448. "description": "详情[大宗]",
  12449. "type": "string"
  12450. },
  12451. "goodsid": {
  12452. "description": "商品ID(预售)",
  12453. "type": "integer"
  12454. },
  12455. "goodunit": {
  12456. "description": "报价单位",
  12457. "type": "string"
  12458. },
  12459. "marketid": {
  12460. "description": "预售市场ID - 根据预售模式选择市场",
  12461. "type": "integer"
  12462. },
  12463. "presaledamount": {
  12464. "description": "已预售总金额(预售结束时更新)",
  12465. "type": "number"
  12466. },
  12467. "presaledqty": {
  12468. "description": "已预售量(预售结束时更新)",
  12469. "type": "integer"
  12470. },
  12471. "presalemode": {
  12472. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12473. "type": "integer"
  12474. },
  12475. "presaleqty": {
  12476. "description": "预售数量",
  12477. "type": "integer"
  12478. },
  12479. "refprice": {
  12480. "description": "参考价格[一口价]",
  12481. "type": "number"
  12482. },
  12483. "relatedgoodsid": {
  12484. "description": "关联交易合约ID",
  12485. "type": "integer"
  12486. },
  12487. "relatedmarketid": {
  12488. "description": "关联交易合约市场ID",
  12489. "type": "integer"
  12490. },
  12491. "sellstatus": {
  12492. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12493. "type": "integer"
  12494. },
  12495. "startprice": {
  12496. "description": "起拍价[大宗式竞拍]",
  12497. "type": "number"
  12498. },
  12499. "starttime": {
  12500. "description": "预售开始时间",
  12501. "type": "string"
  12502. },
  12503. "tradedate": {
  12504. "description": "交易日(yyyyMMdd)",
  12505. "type": "string"
  12506. },
  12507. "tradeprice": {
  12508. "description": "成交价[大宗]",
  12509. "type": "number"
  12510. }
  12511. }
  12512. },
  12513. "delivery.QueryDeliveryRelationRsp": {
  12514. "type": "object",
  12515. "required": [
  12516. "begindate",
  12517. "enddate",
  12518. "goodsid",
  12519. "mindeliveryqty",
  12520. "xdeliveryratio"
  12521. ],
  12522. "properties": {
  12523. "begindate": {
  12524. "description": "起始日期(yyyyMMdd)",
  12525. "type": "string"
  12526. },
  12527. "buytemplateid": {
  12528. "description": "买履约计划模板ID",
  12529. "type": "integer"
  12530. },
  12531. "deliverygoodscode": {
  12532. "description": "品种代码",
  12533. "type": "string"
  12534. },
  12535. "deliverygoodsid": {
  12536. "description": "交割商品",
  12537. "type": "integer"
  12538. },
  12539. "deliverygoodsname": {
  12540. "description": "品种名称",
  12541. "type": "string"
  12542. },
  12543. "deliverymode": {
  12544. "description": "交割方式 - 1:点选式 2:申报式",
  12545. "type": "integer"
  12546. },
  12547. "deliverypricerule": {
  12548. "description": "交割价规则- 1:行情价 2:建仓价",
  12549. "type": "integer"
  12550. },
  12551. "deliverytype": {
  12552. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12553. "type": "integer"
  12554. },
  12555. "enddate": {
  12556. "description": "结束日期(yyyyMMdd)",
  12557. "type": "string"
  12558. },
  12559. "goodscode": {
  12560. "description": "商品代码",
  12561. "type": "string"
  12562. },
  12563. "goodsid": {
  12564. "description": "交易合约ID",
  12565. "type": "integer"
  12566. },
  12567. "goodsname": {
  12568. "description": "商品名称",
  12569. "type": "string"
  12570. },
  12571. "marketid": {
  12572. "description": "市场ID",
  12573. "type": "integer"
  12574. },
  12575. "mindeliveryqty": {
  12576. "description": "最小交割系数(K)",
  12577. "type": "integer"
  12578. },
  12579. "p2deliveryprice": {
  12580. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12581. "type": "number"
  12582. },
  12583. "p2deliveryratio": {
  12584. "description": "P2合约系数(p)",
  12585. "type": "integer"
  12586. },
  12587. "p2goodsid": {
  12588. "description": "P2合约ID",
  12589. "type": "integer"
  12590. },
  12591. "p2pricemode": {
  12592. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12593. "type": "integer"
  12594. },
  12595. "pdeliveryprice": {
  12596. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12597. "type": "number"
  12598. },
  12599. "pdeliveryratio": {
  12600. "description": "P合约系数(n)",
  12601. "type": "integer"
  12602. },
  12603. "pgoodsid": {
  12604. "description": "P合约ID",
  12605. "type": "integer"
  12606. },
  12607. "ppricemode": {
  12608. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12609. "type": "integer"
  12610. },
  12611. "rratio": {
  12612. "description": "兑换系数(R)",
  12613. "type": "integer"
  12614. },
  12615. "rratio1": {
  12616. "description": "兑换系数(交易合约)(R1)",
  12617. "type": "integer"
  12618. },
  12619. "rratio2": {
  12620. "description": "兑换系数(仓单标准)(R2)",
  12621. "type": "integer"
  12622. },
  12623. "selltemplateid": {
  12624. "description": "卖履约计划模板ID",
  12625. "type": "integer"
  12626. },
  12627. "wrstandardid": {
  12628. "description": "仓单标准ID",
  12629. "type": "integer"
  12630. },
  12631. "xdeliveryratio": {
  12632. "description": "交易合约系数(m)",
  12633. "type": "integer"
  12634. }
  12635. }
  12636. },
  12637. "ermcp.ExposureDetailRsp": {
  12638. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12639. },
  12640. "ermcp.ExposureHedgePosDetailRsp": {
  12641. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12642. },
  12643. "ermcp.ExposureHedgePositionRsp": {
  12644. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12645. },
  12646. "ermcp.ExposureSpotDetailRsp": {
  12647. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12648. },
  12649. "ermcp.ExposureSpotRsp": {
  12650. "$ref": "#/definitions/models.AreaSpotModel"
  12651. },
  12652. "ermcp.HisExposureRsp": {
  12653. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12654. },
  12655. "ermcp.PendingAuditCntRsp": {
  12656. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12657. },
  12658. "ermcp.QryAvalidGPRsp": {
  12659. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12660. },
  12661. "ermcp.QryBusinessDjRsp": {
  12662. "type": "object",
  12663. "properties": {
  12664. "amount": {
  12665. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12666. "type": "number"
  12667. },
  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. "deliverygoodscode": {
  12717. "description": "现货品种代码",
  12718. "type": "string"
  12719. },
  12720. "deliverygoodsid": {
  12721. "description": "现货商品ID",
  12722. "type": "integer"
  12723. },
  12724. "deliverygoodsname": {
  12725. "description": "现货品种名称",
  12726. "type": "string"
  12727. },
  12728. "enumdicname": {
  12729. "description": "单位名称",
  12730. "type": "string"
  12731. },
  12732. "goodscode": {
  12733. "description": "点价合约",
  12734. "type": "string"
  12735. },
  12736. "goodsname": {
  12737. "description": "商品名称",
  12738. "type": "string"
  12739. },
  12740. "operateapplyid": {
  12741. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12742. "type": "string"
  12743. },
  12744. "operateapplytype": {
  12745. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12746. "type": "integer"
  12747. },
  12748. "pricedPrice": {
  12749. "description": "点价价格(非必填)",
  12750. "type": "number"
  12751. },
  12752. "pricedQty": {
  12753. "description": "点价数量(非必填)",
  12754. "type": "number"
  12755. },
  12756. "pricemove": {
  12757. "description": "升贴水",
  12758. "type": "number"
  12759. },
  12760. "pricetype": {
  12761. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12762. "type": "integer"
  12763. },
  12764. "relatedid": {
  12765. "description": "现货合同ID",
  12766. "type": "string"
  12767. },
  12768. "sellusername": {
  12769. "description": "销售方名字",
  12770. "type": "string"
  12771. },
  12772. "userid": {
  12773. "description": "用户ID",
  12774. "type": "integer"
  12775. },
  12776. "wrstandardcode": {
  12777. "description": "品类代码",
  12778. "type": "string"
  12779. },
  12780. "wrstandardid": {
  12781. "description": "品类id",
  12782. "type": "integer"
  12783. },
  12784. "wrstandardname": {
  12785. "description": "品类名称",
  12786. "type": "string"
  12787. }
  12788. }
  12789. },
  12790. "ermcp.QryBussinessFpRsp": {
  12791. "type": "object",
  12792. "properties": {
  12793. "applyid": {
  12794. "description": "申请人",
  12795. "type": "string"
  12796. },
  12797. "applyname": {
  12798. "description": "申请人名称",
  12799. "type": "string"
  12800. },
  12801. "applystatus": {
  12802. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12803. "type": "integer"
  12804. },
  12805. "applytime": {
  12806. "description": "申请时间",
  12807. "type": "string"
  12808. },
  12809. "attachurl": {
  12810. "description": "附件",
  12811. "type": "string"
  12812. },
  12813. "auditid": {
  12814. "description": "审核人ID",
  12815. "type": "string"
  12816. },
  12817. "auditname": {
  12818. "description": "审核人名称",
  12819. "type": "string"
  12820. },
  12821. "audittime": {
  12822. "description": "审核时间",
  12823. "type": "string"
  12824. },
  12825. "buyusername": {
  12826. "description": "采购方名称",
  12827. "type": "string"
  12828. },
  12829. "contractno": {
  12830. "description": "合同编号",
  12831. "type": "string"
  12832. },
  12833. "contractstatus": {
  12834. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12835. "type": "integer"
  12836. },
  12837. "contracttype": {
  12838. "description": "现货合同类型 - 1:采购 -1:销售",
  12839. "type": "integer"
  12840. },
  12841. "deliverygoodscode": {
  12842. "description": "现货品种代码",
  12843. "type": "string"
  12844. },
  12845. "deliverygoodsid": {
  12846. "description": "现货商品ID",
  12847. "type": "integer"
  12848. },
  12849. "deliverygoodsname": {
  12850. "description": "现货品种名称",
  12851. "type": "string"
  12852. },
  12853. "enumdicname": {
  12854. "description": "单位名称",
  12855. "type": "string"
  12856. },
  12857. "goodscode": {
  12858. "description": "点价合约",
  12859. "type": "string"
  12860. },
  12861. "goodsname": {
  12862. "description": "商品名称",
  12863. "type": "string"
  12864. },
  12865. "invoiceAmount": {
  12866. "description": "已开收票金额(销售为开票,采购为收票)",
  12867. "type": "number"
  12868. },
  12869. "operateapplyid": {
  12870. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12871. "type": "string"
  12872. },
  12873. "operateapplytype": {
  12874. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12875. "type": "integer"
  12876. },
  12877. "pricemove": {
  12878. "description": "升贴水",
  12879. "type": "number"
  12880. },
  12881. "pricetype": {
  12882. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12883. "type": "integer"
  12884. },
  12885. "relatedid": {
  12886. "description": "现货合同ID",
  12887. "type": "string"
  12888. },
  12889. "sellusername": {
  12890. "description": "销售方名字",
  12891. "type": "string"
  12892. },
  12893. "userid": {
  12894. "description": "用户ID",
  12895. "type": "integer"
  12896. },
  12897. "wrstandardcode": {
  12898. "description": "品类代码",
  12899. "type": "string"
  12900. },
  12901. "wrstandardid": {
  12902. "description": "品类id",
  12903. "type": "integer"
  12904. },
  12905. "wrstandardname": {
  12906. "description": "品类名称",
  12907. "type": "string"
  12908. }
  12909. }
  12910. },
  12911. "ermcp.QryBussinessJsExRsp": {
  12912. "type": "object",
  12913. "properties": {
  12914. "applyid": {
  12915. "description": "申请人",
  12916. "type": "string"
  12917. },
  12918. "applyname": {
  12919. "description": "申请人名称",
  12920. "type": "string"
  12921. },
  12922. "applystatus": {
  12923. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12924. "type": "integer"
  12925. },
  12926. "applytime": {
  12927. "description": "申请时间",
  12928. "type": "string"
  12929. },
  12930. "attachurl": {
  12931. "description": "附件",
  12932. "type": "string"
  12933. },
  12934. "auditid": {
  12935. "description": "审核人ID",
  12936. "type": "string"
  12937. },
  12938. "auditname": {
  12939. "description": "审核人名称",
  12940. "type": "string"
  12941. },
  12942. "audittime": {
  12943. "description": "审核时间",
  12944. "type": "string"
  12945. },
  12946. "buyusername": {
  12947. "description": "采购方名称",
  12948. "type": "string"
  12949. },
  12950. "contractno": {
  12951. "description": "合同编号",
  12952. "type": "string"
  12953. },
  12954. "contractstatus": {
  12955. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12956. "type": "integer"
  12957. },
  12958. "contracttype": {
  12959. "description": "现货合同类型 - 1:采购 -1:销售",
  12960. "type": "integer"
  12961. },
  12962. "deliverygoodscode": {
  12963. "description": "现货品种代码",
  12964. "type": "string"
  12965. },
  12966. "deliverygoodsid": {
  12967. "description": "现货商品ID",
  12968. "type": "integer"
  12969. },
  12970. "deliverygoodsname": {
  12971. "description": "现货品种名称",
  12972. "type": "string"
  12973. },
  12974. "enumdicname": {
  12975. "description": "单位名称",
  12976. "type": "string"
  12977. },
  12978. "goodscode": {
  12979. "description": "点价合约",
  12980. "type": "string"
  12981. },
  12982. "goodsname": {
  12983. "description": "商品名称",
  12984. "type": "string"
  12985. },
  12986. "operateapplyid": {
  12987. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12988. "type": "string"
  12989. },
  12990. "operateapplytype": {
  12991. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12992. "type": "integer"
  12993. },
  12994. "pricemove": {
  12995. "description": "升贴水",
  12996. "type": "number"
  12997. },
  12998. "pricetype": {
  12999. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13000. "type": "integer"
  13001. },
  13002. "reckontype": {
  13003. "description": "结算类型",
  13004. "type": "string"
  13005. },
  13006. "reckonvalue": {
  13007. "description": "值",
  13008. "type": "number"
  13009. },
  13010. "relatedid": {
  13011. "description": "现货合同ID",
  13012. "type": "string"
  13013. },
  13014. "sellusername": {
  13015. "description": "销售方名字",
  13016. "type": "string"
  13017. },
  13018. "userid": {
  13019. "description": "用户ID",
  13020. "type": "integer"
  13021. },
  13022. "wrstandardcode": {
  13023. "description": "品类代码",
  13024. "type": "string"
  13025. },
  13026. "wrstandardid": {
  13027. "description": "品类id",
  13028. "type": "integer"
  13029. },
  13030. "wrstandardname": {
  13031. "description": "品类名称",
  13032. "type": "string"
  13033. }
  13034. }
  13035. },
  13036. "ermcp.QryBussinessJsRsp": {
  13037. "type": "object",
  13038. "properties": {
  13039. "addmargin": {
  13040. "description": "追加保证金(非必填)",
  13041. "type": "number"
  13042. },
  13043. "applyid": {
  13044. "description": "申请人",
  13045. "type": "string"
  13046. },
  13047. "applyname": {
  13048. "description": "申请人名称",
  13049. "type": "string"
  13050. },
  13051. "applystatus": {
  13052. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13053. "type": "integer"
  13054. },
  13055. "applytime": {
  13056. "description": "申请时间",
  13057. "type": "string"
  13058. },
  13059. "attachurl": {
  13060. "description": "附件",
  13061. "type": "string"
  13062. },
  13063. "auditid": {
  13064. "description": "审核人ID",
  13065. "type": "string"
  13066. },
  13067. "auditname": {
  13068. "description": "审核人名称",
  13069. "type": "string"
  13070. },
  13071. "audittime": {
  13072. "description": "审核时间",
  13073. "type": "string"
  13074. },
  13075. "buyusername": {
  13076. "description": "采购方名称",
  13077. "type": "string"
  13078. },
  13079. "contractno": {
  13080. "description": "合同编号",
  13081. "type": "string"
  13082. },
  13083. "contractstatus": {
  13084. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13085. "type": "integer"
  13086. },
  13087. "contracttype": {
  13088. "description": "现货合同类型 - 1:采购 -1:销售",
  13089. "type": "integer"
  13090. },
  13091. "decmargin": {
  13092. "description": "减少保证金(非必填)",
  13093. "type": "number"
  13094. },
  13095. "deliverygoodscode": {
  13096. "description": "现货品种代码",
  13097. "type": "string"
  13098. },
  13099. "deliverygoodsid": {
  13100. "description": "现货商品ID",
  13101. "type": "integer"
  13102. },
  13103. "deliverygoodsname": {
  13104. "description": "现货品种名称",
  13105. "type": "string"
  13106. },
  13107. "enumdicname": {
  13108. "description": "单位名称",
  13109. "type": "string"
  13110. },
  13111. "goodscode": {
  13112. "description": "点价合约",
  13113. "type": "string"
  13114. },
  13115. "goodsname": {
  13116. "description": "商品名称",
  13117. "type": "string"
  13118. },
  13119. "operateapplyid": {
  13120. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13121. "type": "string"
  13122. },
  13123. "operateapplytype": {
  13124. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13125. "type": "integer"
  13126. },
  13127. "pricemove": {
  13128. "description": "升贴水",
  13129. "type": "number"
  13130. },
  13131. "pricetype": {
  13132. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13133. "type": "integer"
  13134. },
  13135. "reckonadjustamount": {
  13136. "description": "结算调整金额(非必填)",
  13137. "type": "number"
  13138. },
  13139. "reckonosamount": {
  13140. "description": "结算溢短金额(非必填)",
  13141. "type": "number"
  13142. },
  13143. "reckonotheramount": {
  13144. "description": "结算其他费用(非必填)",
  13145. "type": "number"
  13146. },
  13147. "reckonrealqty": {
  13148. "description": "结算实际数量(非必填)",
  13149. "type": "number"
  13150. },
  13151. "relatedid": {
  13152. "description": "现货合同ID",
  13153. "type": "string"
  13154. },
  13155. "sellusername": {
  13156. "description": "销售方名字",
  13157. "type": "string"
  13158. },
  13159. "userid": {
  13160. "description": "用户ID",
  13161. "type": "integer"
  13162. },
  13163. "wrstandardcode": {
  13164. "description": "品类代码",
  13165. "type": "string"
  13166. },
  13167. "wrstandardid": {
  13168. "description": "品类id",
  13169. "type": "integer"
  13170. },
  13171. "wrstandardname": {
  13172. "description": "品类名称",
  13173. "type": "string"
  13174. }
  13175. }
  13176. },
  13177. "ermcp.QryBussinessKxRsp": {
  13178. "type": "object",
  13179. "properties": {
  13180. "applyid": {
  13181. "description": "申请人",
  13182. "type": "string"
  13183. },
  13184. "applyname": {
  13185. "description": "申请人名称",
  13186. "type": "string"
  13187. },
  13188. "applystatus": {
  13189. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13190. "type": "integer"
  13191. },
  13192. "applytime": {
  13193. "description": "申请时间",
  13194. "type": "string"
  13195. },
  13196. "attachurl": {
  13197. "description": "附件",
  13198. "type": "string"
  13199. },
  13200. "auditid": {
  13201. "description": "审核人ID",
  13202. "type": "string"
  13203. },
  13204. "auditname": {
  13205. "description": "审核人名称",
  13206. "type": "string"
  13207. },
  13208. "audittime": {
  13209. "description": "审核时间",
  13210. "type": "string"
  13211. },
  13212. "buyusername": {
  13213. "description": "采购方名称",
  13214. "type": "string"
  13215. },
  13216. "contractno": {
  13217. "description": "合同编号",
  13218. "type": "string"
  13219. },
  13220. "contractstatus": {
  13221. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13222. "type": "integer"
  13223. },
  13224. "contracttype": {
  13225. "description": "现货合同类型 - 1:采购 -1:销售",
  13226. "type": "integer"
  13227. },
  13228. "deductamount": {
  13229. "description": "退款(非必填)",
  13230. "type": "number"
  13231. },
  13232. "deliverygoodscode": {
  13233. "description": "现货品种代码",
  13234. "type": "string"
  13235. },
  13236. "deliverygoodsid": {
  13237. "description": "现货商品ID",
  13238. "type": "integer"
  13239. },
  13240. "deliverygoodsname": {
  13241. "description": "现货品种名称",
  13242. "type": "string"
  13243. },
  13244. "enumdicname": {
  13245. "description": "单位名称",
  13246. "type": "string"
  13247. },
  13248. "goodscode": {
  13249. "description": "点价合约",
  13250. "type": "string"
  13251. },
  13252. "goodsname": {
  13253. "description": "商品名称",
  13254. "type": "string"
  13255. },
  13256. "kxtype": {
  13257. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13258. "type": "integer"
  13259. },
  13260. "operateapplyid": {
  13261. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13262. "type": "string"
  13263. },
  13264. "operateapplytype": {
  13265. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13266. "type": "integer"
  13267. },
  13268. "payamount": {
  13269. "description": "收付款(非必填)",
  13270. "type": "number"
  13271. },
  13272. "pricemove": {
  13273. "description": "升贴水",
  13274. "type": "number"
  13275. },
  13276. "pricetype": {
  13277. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13278. "type": "integer"
  13279. },
  13280. "relatedid": {
  13281. "description": "现货合同ID",
  13282. "type": "string"
  13283. },
  13284. "sellusername": {
  13285. "description": "销售方名字",
  13286. "type": "string"
  13287. },
  13288. "userid": {
  13289. "description": "用户ID",
  13290. "type": "integer"
  13291. },
  13292. "wrstandardcode": {
  13293. "description": "品类代码",
  13294. "type": "string"
  13295. },
  13296. "wrstandardid": {
  13297. "description": "品类id",
  13298. "type": "integer"
  13299. },
  13300. "wrstandardname": {
  13301. "description": "品类名称",
  13302. "type": "string"
  13303. }
  13304. }
  13305. },
  13306. "ermcp.QryGGCovertCfgRsp": {
  13307. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13308. },
  13309. "ermcp.QryMGChangeLogRsp": {
  13310. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13311. },
  13312. "ermcp.QryMiddleGoodsDetailRsp": {
  13313. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13314. },
  13315. "ermcp.QryMiddleGoodsRsp": {
  13316. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13317. },
  13318. "ermcp.QryOPLogRsp": {
  13319. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13320. },
  13321. "ermcp.QryUserInfoRsp": {
  13322. "$ref": "#/definitions/models.ErmcpUserModel"
  13323. },
  13324. "ermcp.QryWarehouseRsp": {
  13325. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13326. },
  13327. "ermcp.QueryErmcpTradePositionRsp": {
  13328. "type": "object",
  13329. "properties": {
  13330. "agreeunit": {
  13331. "description": "合约单位",
  13332. "type": "number"
  13333. },
  13334. "buyorsell": {
  13335. "description": "方向 - 0:买 1:卖",
  13336. "type": "integer"
  13337. },
  13338. "curpositionqty": {
  13339. "description": "持仓(总仓数量, 期末头寸)",
  13340. "type": "integer"
  13341. },
  13342. "curtdposition": {
  13343. "description": "今仓数量(期末今日头寸)",
  13344. "type": "integer"
  13345. },
  13346. "curtdpositionenabled": {
  13347. "description": "今仓可用",
  13348. "type": "integer"
  13349. },
  13350. "decimalplace": {
  13351. "description": "报价小数位",
  13352. "type": "integer"
  13353. },
  13354. "enableqty": {
  13355. "description": "可用(总仓可用)",
  13356. "type": "integer"
  13357. },
  13358. "exexchangename": {
  13359. "description": "外部交易所名称",
  13360. "type": "string"
  13361. },
  13362. "goodscode": {
  13363. "description": "商品代码(内部)",
  13364. "type": "string"
  13365. },
  13366. "goodsid": {
  13367. "description": "商品ID(自增ID SEQ_GOODS)",
  13368. "type": "integer"
  13369. },
  13370. "goodsname": {
  13371. "description": "商品名称",
  13372. "type": "string"
  13373. },
  13374. "last": {
  13375. "description": "现价",
  13376. "type": "number"
  13377. },
  13378. "marketid": {
  13379. "description": "所属市场ID",
  13380. "type": "integer"
  13381. },
  13382. "openaverageprice": {
  13383. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13384. "type": "number"
  13385. },
  13386. "opencost": {
  13387. "description": "开仓成本",
  13388. "type": "number"
  13389. },
  13390. "openpl": {
  13391. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13392. "type": "number"
  13393. },
  13394. "outgoodscode": {
  13395. "description": "商品代码(外部)",
  13396. "type": "string"
  13397. },
  13398. "positionaverageprice": {
  13399. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13400. "type": "number"
  13401. },
  13402. "positioncost": {
  13403. "description": "持仓成本",
  13404. "type": "number"
  13405. },
  13406. "positionpl": {
  13407. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13408. "type": "number"
  13409. },
  13410. "positionplrate": {
  13411. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13412. "type": "number"
  13413. },
  13414. "usedmargin": {
  13415. "description": "占用保证金",
  13416. "type": "number"
  13417. }
  13418. }
  13419. },
  13420. "ermcp.RealtimeExposurePositionRsp": {
  13421. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13422. },
  13423. "ermcp.RealtimeExposureRsp": {
  13424. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13425. },
  13426. "erms2.QueryArbitrageStrategyRsp": {
  13427. "type": "object",
  13428. "required": [
  13429. "asapplyid"
  13430. ],
  13431. "properties": {
  13432. "applybasis": {
  13433. "description": "申请基差",
  13434. "type": "number"
  13435. },
  13436. "asapplyid": {
  13437. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13438. "type": "string"
  13439. },
  13440. "asname": {
  13441. "description": "策略名称",
  13442. "type": "string"
  13443. },
  13444. "asno": {
  13445. "description": "策略编号",
  13446. "type": "string"
  13447. },
  13448. "basischangepl": {
  13449. "description": "基差变动损益[结算更新]",
  13450. "type": "number"
  13451. },
  13452. "biztype": {
  13453. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13454. "type": "integer"
  13455. },
  13456. "closetradedate": {
  13457. "description": "完结交易日(yyyyMMdd)",
  13458. "type": "string"
  13459. },
  13460. "curbasis": {
  13461. "description": "当前基差[结算更新]",
  13462. "type": "number"
  13463. },
  13464. "deliverygoodsid": {
  13465. "description": "现货品种ID",
  13466. "type": "integer"
  13467. },
  13468. "futureavgprice": {
  13469. "description": "期货建仓均价",
  13470. "type": "number"
  13471. },
  13472. "futurecloseamount": {
  13473. "description": "期货平仓金额",
  13474. "type": "number"
  13475. },
  13476. "futurecloseqty": {
  13477. "description": "期货平仓数量",
  13478. "type": "number"
  13479. },
  13480. "futureopenamount": {
  13481. "description": "期货开仓金额",
  13482. "type": "number"
  13483. },
  13484. "futureopenqty": {
  13485. "description": "期货开仓数量",
  13486. "type": "number"
  13487. },
  13488. "futurepl": {
  13489. "description": "期货总盈亏[结算更新]",
  13490. "type": "number"
  13491. },
  13492. "futureqty": {
  13493. "description": "期货持仓数量",
  13494. "type": "number"
  13495. },
  13496. "futurequote": {
  13497. "description": "期货额度",
  13498. "type": "number"
  13499. },
  13500. "goodsgroupid": {
  13501. "description": "期货品种ID",
  13502. "type": "integer"
  13503. },
  13504. "marketid": {
  13505. "description": "市场ID",
  13506. "type": "integer"
  13507. },
  13508. "netexposure": {
  13509. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13510. "type": "number"
  13511. },
  13512. "netexposurepl": {
  13513. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13514. "type": "number"
  13515. },
  13516. "netexposurerate": {
  13517. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13518. "type": "number"
  13519. },
  13520. "openbasis": {
  13521. "description": "建仓基差",
  13522. "type": "number"
  13523. },
  13524. "pricedspotqty": {
  13525. "description": "已定价现货数量",
  13526. "type": "number"
  13527. },
  13528. "pricedspotqtynotax": {
  13529. "description": "已定价现货不含税数量",
  13530. "type": "number"
  13531. },
  13532. "remark": {
  13533. "description": "备注",
  13534. "type": "string"
  13535. },
  13536. "spotavgprice": {
  13537. "description": "现货均价",
  13538. "type": "number"
  13539. },
  13540. "spotbuyamount": {
  13541. "description": "现货采购金额",
  13542. "type": "number"
  13543. },
  13544. "spotbuyqty": {
  13545. "description": "现货采购数量",
  13546. "type": "number"
  13547. },
  13548. "spotpl": {
  13549. "description": "现货总盈亏[结算更新]",
  13550. "type": "number"
  13551. },
  13552. "spotquota": {
  13553. "description": "现货额度",
  13554. "type": "number"
  13555. },
  13556. "spotsellamount": {
  13557. "description": "现货销售金额",
  13558. "type": "number"
  13559. },
  13560. "spotsellqty": {
  13561. "description": "现货销售数量",
  13562. "type": "number"
  13563. },
  13564. "spotusedquota": {
  13565. "description": "现货占用资金",
  13566. "type": "number"
  13567. },
  13568. "strategystatus": {
  13569. "description": "策略状态 - 0:未结束 1:已结束",
  13570. "type": "integer"
  13571. },
  13572. "totalpl": {
  13573. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13574. "type": "number"
  13575. },
  13576. "tradedate": {
  13577. "description": "交易日(yyyyMMdd)",
  13578. "type": "string"
  13579. },
  13580. "updatetime": {
  13581. "description": "更新时间",
  13582. "type": "string"
  13583. },
  13584. "usedquota": {
  13585. "description": "已占用资金",
  13586. "type": "number"
  13587. },
  13588. "userid": {
  13589. "description": "所属机构",
  13590. "type": "integer"
  13591. }
  13592. }
  13593. },
  13594. "erms2.QueryInnerTradeDetailRsp": {
  13595. "type": "object",
  13596. "required": [
  13597. "asapplyid",
  13598. "buyorsell",
  13599. "goodscode",
  13600. "goodsgroupid",
  13601. "goodsgroupname",
  13602. "goodsname",
  13603. "tradeid"
  13604. ],
  13605. "properties": {
  13606. "accountid": {
  13607. "description": "账号ID",
  13608. "type": "integer"
  13609. },
  13610. "agreeunit": {
  13611. "description": "合约单位",
  13612. "type": "number"
  13613. },
  13614. "asapplyid": {
  13615. "description": "策略申请ID",
  13616. "type": "integer"
  13617. },
  13618. "asname": {
  13619. "description": "策略名称",
  13620. "type": "string"
  13621. },
  13622. "asno": {
  13623. "description": "策略编号",
  13624. "type": "string"
  13625. },
  13626. "buyorsell": {
  13627. "description": "方向 - 0:买 1:卖",
  13628. "type": "integer"
  13629. },
  13630. "channelbuildtype": {
  13631. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13632. "type": "integer"
  13633. },
  13634. "closetype": {
  13635. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13636. "type": "integer"
  13637. },
  13638. "decimalplace": {
  13639. "description": "报价小数位",
  13640. "type": "integer"
  13641. },
  13642. "detailtype": {
  13643. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13644. "type": "integer"
  13645. },
  13646. "exexchangecode": {
  13647. "description": "外部交易所代码",
  13648. "type": "string"
  13649. },
  13650. "exexchangename": {
  13651. "description": "外部交易所名称",
  13652. "type": "string"
  13653. },
  13654. "goodscode": {
  13655. "description": "商品代码(合约)",
  13656. "type": "string"
  13657. },
  13658. "goodsgroupid": {
  13659. "description": "商品组ID(品种ID)",
  13660. "type": "integer"
  13661. },
  13662. "goodsgroupname": {
  13663. "description": "商品组名称(品种)",
  13664. "type": "string"
  13665. },
  13666. "goodsid": {
  13667. "description": "商品ID",
  13668. "type": "integer"
  13669. },
  13670. "goodsname": {
  13671. "description": "商品名称(合约)",
  13672. "type": "string"
  13673. },
  13674. "goodunit": {
  13675. "description": "报价单位",
  13676. "type": "string"
  13677. },
  13678. "marketid": {
  13679. "description": "市场ID",
  13680. "type": "integer"
  13681. },
  13682. "orderid": {
  13683. "description": "委托单号",
  13684. "type": "string"
  13685. },
  13686. "outgoodscode": {
  13687. "description": "商品代码(外部)",
  13688. "type": "string"
  13689. },
  13690. "relatedouttradeid": {
  13691. "description": "关联外部成交单ID",
  13692. "type": "string"
  13693. },
  13694. "remark": {
  13695. "description": "备注",
  13696. "type": "string"
  13697. },
  13698. "spotcontractid": {
  13699. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13700. "type": "integer"
  13701. },
  13702. "spotcontractno": {
  13703. "description": "现货合同编号",
  13704. "type": "string"
  13705. },
  13706. "tradeid": {
  13707. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13708. "type": "string"
  13709. },
  13710. "tradeprice": {
  13711. "description": "成交价格",
  13712. "type": "number"
  13713. },
  13714. "tradeqty": {
  13715. "description": "成交数量",
  13716. "type": "integer"
  13717. },
  13718. "tradetime": {
  13719. "description": "成交时间",
  13720. "type": "string"
  13721. },
  13722. "updatetime": {
  13723. "description": "更新时间",
  13724. "type": "string"
  13725. }
  13726. }
  13727. },
  13728. "erms2.QuerySpotContractRsp": {
  13729. "type": "object",
  13730. "required": [
  13731. "spotcontractid"
  13732. ],
  13733. "properties": {
  13734. "accountid": {
  13735. "description": "资金账户ID",
  13736. "type": "integer"
  13737. },
  13738. "areauserid": {
  13739. "description": "所属机构",
  13740. "type": "integer"
  13741. },
  13742. "closedate": {
  13743. "description": "终止日期",
  13744. "type": "string"
  13745. },
  13746. "closeremark": {
  13747. "description": "结束备注",
  13748. "type": "string"
  13749. },
  13750. "closetradedate": {
  13751. "description": "完结交易日(yyyyMMdd)",
  13752. "type": "string"
  13753. },
  13754. "closetype": {
  13755. "description": "终止类型 - 1:违约 2:提前终止",
  13756. "type": "integer"
  13757. },
  13758. "contractamount": {
  13759. "description": "合同金额",
  13760. "type": "number"
  13761. },
  13762. "contractattachment": {
  13763. "description": "合同附件",
  13764. "type": "string"
  13765. },
  13766. "contractno": {
  13767. "description": "现货合同编号",
  13768. "type": "string"
  13769. },
  13770. "contractqty": {
  13771. "description": "合同数量(数值) (用于计算)",
  13772. "type": "number"
  13773. },
  13774. "contractqtychar": {
  13775. "description": "合同数量\\已订价数量 (用于显示)",
  13776. "type": "string"
  13777. },
  13778. "contractstatus": {
  13779. "description": "合同状态 - 0:未结束 1:已结束",
  13780. "type": "integer"
  13781. },
  13782. "contracttype": {
  13783. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13784. "type": "integer"
  13785. },
  13786. "customeraccountid": {
  13787. "description": "客户资金账户ID",
  13788. "type": "integer"
  13789. },
  13790. "customeruserid": {
  13791. "description": "客户ID",
  13792. "type": "integer"
  13793. },
  13794. "deliverygoodsdesc": {
  13795. "description": "品种说明",
  13796. "type": "string"
  13797. },
  13798. "deliverygoodsid": {
  13799. "description": "现货品种ID",
  13800. "type": "integer"
  13801. },
  13802. "handlestatus": {
  13803. "description": "处理状态",
  13804. "type": "integer"
  13805. },
  13806. "invoiceatt": {
  13807. "description": "发票附件",
  13808. "type": "string"
  13809. },
  13810. "invoicedatetime": {
  13811. "description": "开收票更新时间",
  13812. "type": "string"
  13813. },
  13814. "invoiceopentime": {
  13815. "description": "开票时间",
  13816. "type": "string"
  13817. },
  13818. "invoiceremark": {
  13819. "description": "发票备注",
  13820. "type": "string"
  13821. },
  13822. "invoicestatus": {
  13823. "description": "开收票状态 - 0:未开票 1:已开票",
  13824. "type": "integer"
  13825. },
  13826. "lastdate": {
  13827. "description": "交货时间",
  13828. "type": "string"
  13829. },
  13830. "marketid": {
  13831. "description": "市场ID",
  13832. "type": "integer"
  13833. },
  13834. "paydatetime": {
  13835. "description": "收付款更新时间",
  13836. "type": "string"
  13837. },
  13838. "payremark": {
  13839. "description": "收付款备注",
  13840. "type": "string"
  13841. },
  13842. "paystatus": {
  13843. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13844. "type": "integer"
  13845. },
  13846. "positionqty": {
  13847. "description": "头寸数量 - 合同数量去小数部分",
  13848. "type": "integer"
  13849. },
  13850. "producttype": {
  13851. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13852. "type": "integer"
  13853. },
  13854. "relatedqty": {
  13855. "description": "已关联数量",
  13856. "type": "number"
  13857. },
  13858. "relatedstatus": {
  13859. "description": "关联完结状态 - 0:未结束 1:已结束",
  13860. "type": "integer"
  13861. },
  13862. "remark": {
  13863. "description": "备注",
  13864. "type": "string"
  13865. },
  13866. "signdate": {
  13867. "description": "签订日期",
  13868. "type": "string"
  13869. },
  13870. "spotcontractid": {
  13871. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13872. "type": "string"
  13873. },
  13874. "spotdatetime": {
  13875. "description": "收发货更新时间",
  13876. "type": "string"
  13877. },
  13878. "spotprice": {
  13879. "description": "价格",
  13880. "type": "number"
  13881. },
  13882. "spotremark": {
  13883. "description": "收发货备注",
  13884. "type": "string"
  13885. },
  13886. "spotstatus": {
  13887. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13888. "type": "integer"
  13889. },
  13890. "tradedate": {
  13891. "description": "交易日(yyyyMMdd)",
  13892. "type": "string"
  13893. },
  13894. "userid": {
  13895. "description": "业务员用户ID",
  13896. "type": "integer"
  13897. },
  13898. "warehouseid": {
  13899. "description": "仓库ID",
  13900. "type": "integer"
  13901. },
  13902. "wrfactortypeid": {
  13903. "description": "仓单要素类型ID",
  13904. "type": "integer"
  13905. },
  13906. "wrstandardid": {
  13907. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13908. "type": "integer"
  13909. }
  13910. }
  13911. },
  13912. "erms3.AddErms2ASApplyReq": {
  13913. "type": "object",
  13914. "required": [
  13915. "asapplyid"
  13916. ],
  13917. "properties": {
  13918. "applybasis": {
  13919. "description": "申请基差",
  13920. "type": "number"
  13921. },
  13922. "applystatus": {
  13923. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13924. "type": "integer"
  13925. },
  13926. "asapplyid": {
  13927. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  13928. "type": "integer"
  13929. },
  13930. "asname": {
  13931. "description": "策略名称",
  13932. "type": "string"
  13933. },
  13934. "asno": {
  13935. "description": "策略编号",
  13936. "type": "string"
  13937. },
  13938. "auditid": {
  13939. "description": "审核人",
  13940. "type": "integer"
  13941. },
  13942. "auditremark": {
  13943. "description": "审核备注",
  13944. "type": "string"
  13945. },
  13946. "audittime": {
  13947. "description": "审核时间",
  13948. "type": "string"
  13949. },
  13950. "biztype": {
  13951. "description": "业务类型 - 1:正向套利 2:反向套利",
  13952. "type": "integer"
  13953. },
  13954. "createtime": {
  13955. "description": "创建时间",
  13956. "type": "string"
  13957. },
  13958. "creatorid": {
  13959. "description": "创建人",
  13960. "type": "integer"
  13961. },
  13962. "deliverygoodsid": {
  13963. "description": "现货品种ID",
  13964. "type": "integer"
  13965. },
  13966. "futurequote": {
  13967. "description": "期货额度",
  13968. "type": "number"
  13969. },
  13970. "goodsgroupid": {
  13971. "description": "期货品种ID",
  13972. "type": "integer"
  13973. },
  13974. "marketid": {
  13975. "description": "市场ID",
  13976. "type": "integer"
  13977. },
  13978. "remark": {
  13979. "description": "备注",
  13980. "type": "string"
  13981. },
  13982. "spotquota": {
  13983. "description": "现货额度",
  13984. "type": "number"
  13985. },
  13986. "tradedate": {
  13987. "description": "交易日(yyyyMMdd)",
  13988. "type": "string"
  13989. },
  13990. "userid": {
  13991. "description": "所属机构",
  13992. "type": "integer"
  13993. }
  13994. }
  13995. },
  13996. "erms3.AddErms2SpotTradeApplyReq": {
  13997. "type": "object",
  13998. "required": [
  13999. "spottradeid"
  14000. ],
  14001. "properties": {
  14002. "applyjsondetail": {
  14003. "description": "申请明细(JSON)",
  14004. "type": "string"
  14005. },
  14006. "applystatus": {
  14007. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14008. "type": "integer"
  14009. },
  14010. "areauserid": {
  14011. "description": "所属机构",
  14012. "type": "integer"
  14013. },
  14014. "auditid": {
  14015. "description": "审核人",
  14016. "type": "integer"
  14017. },
  14018. "auditremark": {
  14019. "description": "审核备注",
  14020. "type": "string"
  14021. },
  14022. "audittime": {
  14023. "description": "审核时间",
  14024. "type": "string"
  14025. },
  14026. "createtime": {
  14027. "description": "创建时间",
  14028. "type": "string"
  14029. },
  14030. "creatorid": {
  14031. "description": "创建人",
  14032. "type": "integer"
  14033. },
  14034. "deliverygoodsid": {
  14035. "description": "现货品种ID",
  14036. "type": "integer"
  14037. },
  14038. "futureaccountid": {
  14039. "description": "期货资金账户",
  14040. "type": "integer"
  14041. },
  14042. "goodsgroupid": {
  14043. "description": "期货品种",
  14044. "type": "integer"
  14045. },
  14046. "marketid": {
  14047. "description": "市场ID",
  14048. "type": "integer"
  14049. },
  14050. "remark": {
  14051. "description": "备注",
  14052. "type": "string"
  14053. },
  14054. "spotaccountid": {
  14055. "description": "现货资金账户",
  14056. "type": "integer"
  14057. },
  14058. "spottradeid": {
  14059. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14060. "type": "integer"
  14061. },
  14062. "spottradename": {
  14063. "description": "业务名称",
  14064. "type": "string"
  14065. },
  14066. "spottradeno": {
  14067. "description": "业务编号",
  14068. "type": "string"
  14069. },
  14070. "tradedate": {
  14071. "description": "交易日(yyyyMMdd)",
  14072. "type": "string"
  14073. },
  14074. "wrstandardid": {
  14075. "description": "仓单标准ID",
  14076. "type": "integer"
  14077. }
  14078. }
  14079. },
  14080. "erms3.AddSpotContractApplyReq": {
  14081. "type": "object",
  14082. "required": [
  14083. "accountid",
  14084. "areauserid",
  14085. "contractno",
  14086. "contracttype",
  14087. "customeraccountid",
  14088. "customeruserid",
  14089. "details",
  14090. "orimargin",
  14091. "signdate"
  14092. ],
  14093. "properties": {
  14094. "accountid": {
  14095. "description": "资金账户ID",
  14096. "type": "integer"
  14097. },
  14098. "areauserid": {
  14099. "description": "所属机构",
  14100. "type": "integer"
  14101. },
  14102. "contractattachment": {
  14103. "description": "合同附件",
  14104. "type": "string"
  14105. },
  14106. "contractno": {
  14107. "description": "现货合同编号",
  14108. "type": "string"
  14109. },
  14110. "contracttype": {
  14111. "description": "现货合同类型 - 1:采购 -1:销售",
  14112. "type": "integer"
  14113. },
  14114. "creatorid": {
  14115. "description": "申请人",
  14116. "type": "integer"
  14117. },
  14118. "customeraccountid": {
  14119. "description": "客户资金账户ID",
  14120. "type": "integer"
  14121. },
  14122. "customeruserid": {
  14123. "description": "客户ID",
  14124. "type": "integer"
  14125. },
  14126. "details": {
  14127. "description": "明细",
  14128. "type": "array",
  14129. "items": {
  14130. "$ref": "#/definitions/erms3.SoptContractDetail"
  14131. }
  14132. },
  14133. "orimargin": {
  14134. "description": "初始保证金",
  14135. "type": "number"
  14136. },
  14137. "remark": {
  14138. "description": "备注",
  14139. "type": "string"
  14140. },
  14141. "signdate": {
  14142. "description": "签订日期",
  14143. "type": "string"
  14144. }
  14145. }
  14146. },
  14147. "erms3.AddSpotContractApplyRsp": {
  14148. "type": "object",
  14149. "required": [
  14150. "contractno"
  14151. ],
  14152. "properties": {
  14153. "contractno": {
  14154. "description": "现货合同编号",
  14155. "type": "string"
  14156. },
  14157. "spotcontractid": {
  14158. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14159. "type": "integer"
  14160. }
  14161. }
  14162. },
  14163. "erms3.AddUserInfoApplyReq": {
  14164. "type": "object",
  14165. "required": [
  14166. "userid"
  14167. ],
  14168. "properties": {
  14169. "accountid": {
  14170. "description": "交易系统帐号Id (加密存储)",
  14171. "type": "integer"
  14172. },
  14173. "areacode": {
  14174. "description": "机构代码",
  14175. "type": "string"
  14176. },
  14177. "areaid": {
  14178. "description": "机构Id",
  14179. "type": "integer"
  14180. },
  14181. "attachment1": {
  14182. "description": "附件1",
  14183. "type": "string"
  14184. },
  14185. "attachment2": {
  14186. "description": "附件2",
  14187. "type": "string"
  14188. },
  14189. "attachment3": {
  14190. "description": "附件3",
  14191. "type": "string"
  14192. },
  14193. "attachment4": {
  14194. "description": "附件4",
  14195. "type": "string"
  14196. },
  14197. "attachment5": {
  14198. "description": "附件5",
  14199. "type": "string"
  14200. },
  14201. "auditedby": {
  14202. "description": "审核人",
  14203. "type": "string"
  14204. },
  14205. "auditime": {
  14206. "description": "审核时间",
  14207. "type": "string"
  14208. },
  14209. "auditsrc": {
  14210. "description": "审核来源 - 1:管理端 2:终端",
  14211. "type": "integer"
  14212. },
  14213. "bankaccount": {
  14214. "description": "银行帐号 (加密存储)",
  14215. "type": "string"
  14216. },
  14217. "bankaccountname": {
  14218. "description": "收款人名称",
  14219. "type": "string"
  14220. },
  14221. "bankcardbackphotourl": {
  14222. "description": "银行卡背面照地址",
  14223. "type": "string"
  14224. },
  14225. "bankcardfrontphotourl": {
  14226. "description": "银行卡正面照地址",
  14227. "type": "string"
  14228. },
  14229. "bankid": {
  14230. "description": "银行编码",
  14231. "type": "string"
  14232. },
  14233. "bankname": {
  14234. "description": "银行名称",
  14235. "type": "string"
  14236. },
  14237. "bankpictureurl": {
  14238. "description": "银行卡正面地址",
  14239. "type": "string"
  14240. },
  14241. "biznature": {
  14242. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14243. "type": "integer"
  14244. },
  14245. "bizscope": {
  14246. "description": "企业经营范围(企业)",
  14247. "type": "string"
  14248. },
  14249. "biztype": {
  14250. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14251. "type": "integer"
  14252. },
  14253. "brokerid": {
  14254. "description": "经纪人ID(加密存储)",
  14255. "type": "string"
  14256. },
  14257. "cardaddress": {
  14258. "description": "证件地址 (加密存储)",
  14259. "type": "string"
  14260. },
  14261. "cardbackphotourl": {
  14262. "description": "背面证件照地址",
  14263. "type": "string"
  14264. },
  14265. "cardfrontphotourl": {
  14266. "description": "正面证件照地址",
  14267. "type": "string"
  14268. },
  14269. "cardnum": {
  14270. "description": "证件号码 (加密存储)",
  14271. "type": "string"
  14272. },
  14273. "cardtype": {
  14274. "description": "证件类型",
  14275. "type": "integer"
  14276. },
  14277. "cityid": {
  14278. "description": "市",
  14279. "type": "integer"
  14280. },
  14281. "company": {
  14282. "description": "公司(个人)",
  14283. "type": "string"
  14284. },
  14285. "contactcardbackphotourl": {
  14286. "description": "联系人证件背面图片地址",
  14287. "type": "string"
  14288. },
  14289. "contactcardfrontphotourl": {
  14290. "description": "联系人证件正面图片地址",
  14291. "type": "string"
  14292. },
  14293. "contactname": {
  14294. "description": "联系人",
  14295. "type": "string"
  14296. },
  14297. "countryid": {
  14298. "description": "国家",
  14299. "type": "integer"
  14300. },
  14301. "createtime": {
  14302. "description": "开户申请时间",
  14303. "type": "string"
  14304. },
  14305. "cusbankid": {
  14306. "description": "签约类型",
  14307. "type": "string"
  14308. },
  14309. "cusbankname": {
  14310. "description": "签约类型名称",
  14311. "type": "string"
  14312. },
  14313. "customername": {
  14314. "description": "客户名称(企业名称)",
  14315. "type": "string"
  14316. },
  14317. "districtid": {
  14318. "description": "地区",
  14319. "type": "integer"
  14320. },
  14321. "email": {
  14322. "description": "Email地址(加密存储)",
  14323. "type": "string"
  14324. },
  14325. "halfbodyphotourl": {
  14326. "description": "半身照地址",
  14327. "type": "string"
  14328. },
  14329. "headurl": {
  14330. "description": "头像地址",
  14331. "type": "string"
  14332. },
  14333. "ipaddress": {
  14334. "description": "IP地址",
  14335. "type": "string"
  14336. },
  14337. "isvalidate": {
  14338. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14339. "type": "string"
  14340. },
  14341. "legalcardbackphotourl": {
  14342. "description": "法人身份证背面照地址",
  14343. "type": "string"
  14344. },
  14345. "legalcardfrontphotourl": {
  14346. "description": "法人身份证正面照地址",
  14347. "type": "string"
  14348. },
  14349. "legalpersonname": {
  14350. "description": "法人姓名(企业)",
  14351. "type": "string"
  14352. },
  14353. "logincode": {
  14354. "description": "登录帐号 (加密存储)",
  14355. "type": "string"
  14356. },
  14357. "memberareaid": {
  14358. "description": "所属会员ID",
  14359. "type": "integer"
  14360. },
  14361. "mobile2": {
  14362. "description": "手机号码[明文-尚志]",
  14363. "type": "string"
  14364. },
  14365. "mobilephone": {
  14366. "description": "手机号码 (加密存储)",
  14367. "type": "string"
  14368. },
  14369. "modifiedby": {
  14370. "description": "修改人帐号",
  14371. "type": "integer"
  14372. },
  14373. "modifiedtime": {
  14374. "description": "修改时间",
  14375. "type": "string"
  14376. },
  14377. "nickname": {
  14378. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14379. "type": "string"
  14380. },
  14381. "openmode": {
  14382. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14383. "type": "integer"
  14384. },
  14385. "otherurl": {
  14386. "description": "其它图片地址[使用分号分隔]",
  14387. "type": "string"
  14388. },
  14389. "postalcode": {
  14390. "description": "邮政编码",
  14391. "type": "string"
  14392. },
  14393. "provinceid": {
  14394. "description": "省",
  14395. "type": "integer"
  14396. },
  14397. "proxystatementurl": {
  14398. "description": "授权委托书",
  14399. "type": "string"
  14400. },
  14401. "qq": {
  14402. "description": "QQ(加密存储",
  14403. "type": "string"
  14404. },
  14405. "referral": {
  14406. "description": "推荐人编码",
  14407. "type": "string"
  14408. },
  14409. "remark": {
  14410. "description": "备注",
  14411. "type": "string"
  14412. },
  14413. "removebeforestatus": {
  14414. "description": "REMOVEBEFORESTATUS",
  14415. "type": "integer"
  14416. },
  14417. "sex": {
  14418. "description": "性别 - 0:女 1:男",
  14419. "type": "integer"
  14420. },
  14421. "signedstatus": {
  14422. "description": "账户一号签签约状态",
  14423. "type": "integer"
  14424. },
  14425. "signpdfurl": {
  14426. "description": "签约pdf文件",
  14427. "type": "string"
  14428. },
  14429. "subbranch": {
  14430. "description": "开户支行",
  14431. "type": "string"
  14432. },
  14433. "taxpayernum": {
  14434. "description": "纳税人识别号",
  14435. "type": "string"
  14436. },
  14437. "telphone": {
  14438. "description": "联系电话(加密存储)",
  14439. "type": "string"
  14440. },
  14441. "userid": {
  14442. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14443. "type": "integer"
  14444. },
  14445. "userinfotype": {
  14446. "description": "用户信息类型 - 1:个人 2:企业",
  14447. "type": "integer"
  14448. },
  14449. "username": {
  14450. "description": "用户姓名",
  14451. "type": "string"
  14452. },
  14453. "userstate": {
  14454. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14455. "type": "integer"
  14456. },
  14457. "usertype": {
  14458. "description": "用户类型 - 1:投资者 2:机构",
  14459. "type": "integer"
  14460. },
  14461. "videourl": {
  14462. "description": "视频地址",
  14463. "type": "string"
  14464. },
  14465. "wechat": {
  14466. "description": "微信号 (加密存储)",
  14467. "type": "string"
  14468. }
  14469. }
  14470. },
  14471. "erms3.CustomerInfo": {
  14472. "type": "object",
  14473. "required": [
  14474. "userid"
  14475. ],
  14476. "properties": {
  14477. "accountids": {
  14478. "description": "资金账户ID列表",
  14479. "type": "array",
  14480. "items": {
  14481. "type": "integer"
  14482. }
  14483. },
  14484. "customername": {
  14485. "description": "名称(企业名称)",
  14486. "type": "string"
  14487. },
  14488. "mobile": {
  14489. "description": "手机号码",
  14490. "type": "string"
  14491. },
  14492. "userid": {
  14493. "description": "用户ID",
  14494. "type": "integer"
  14495. }
  14496. }
  14497. },
  14498. "erms3.ModifyUserInfoApplyReq": {
  14499. "type": "object",
  14500. "required": [
  14501. "userid"
  14502. ],
  14503. "properties": {
  14504. "accountid": {
  14505. "description": "交易系统帐号Id (加密存储)",
  14506. "type": "integer"
  14507. },
  14508. "areacode": {
  14509. "description": "机构代码",
  14510. "type": "string"
  14511. },
  14512. "areaid": {
  14513. "description": "机构Id",
  14514. "type": "integer"
  14515. },
  14516. "attachment1": {
  14517. "description": "附件1",
  14518. "type": "string"
  14519. },
  14520. "attachment2": {
  14521. "description": "附件2",
  14522. "type": "string"
  14523. },
  14524. "attachment3": {
  14525. "description": "附件3",
  14526. "type": "string"
  14527. },
  14528. "attachment4": {
  14529. "description": "附件4",
  14530. "type": "string"
  14531. },
  14532. "attachment5": {
  14533. "description": "附件5",
  14534. "type": "string"
  14535. },
  14536. "auditedby": {
  14537. "description": "审核人",
  14538. "type": "string"
  14539. },
  14540. "auditime": {
  14541. "description": "审核时间",
  14542. "type": "string"
  14543. },
  14544. "auditsrc": {
  14545. "description": "审核来源 - 1:管理端 2:终端",
  14546. "type": "integer"
  14547. },
  14548. "bankaccount": {
  14549. "description": "银行帐号 (加密存储)",
  14550. "type": "string"
  14551. },
  14552. "bankaccountname": {
  14553. "description": "收款人名称",
  14554. "type": "string"
  14555. },
  14556. "bankcardbackphotourl": {
  14557. "description": "银行卡背面照地址",
  14558. "type": "string"
  14559. },
  14560. "bankcardfrontphotourl": {
  14561. "description": "银行卡正面照地址",
  14562. "type": "string"
  14563. },
  14564. "bankid": {
  14565. "description": "银行编码",
  14566. "type": "string"
  14567. },
  14568. "bankname": {
  14569. "description": "银行名称",
  14570. "type": "string"
  14571. },
  14572. "bankpictureurl": {
  14573. "description": "银行卡正面地址",
  14574. "type": "string"
  14575. },
  14576. "biznature": {
  14577. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14578. "type": "integer"
  14579. },
  14580. "bizscope": {
  14581. "description": "企业经营范围(企业)",
  14582. "type": "string"
  14583. },
  14584. "biztype": {
  14585. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14586. "type": "integer"
  14587. },
  14588. "brokerid": {
  14589. "description": "经纪人ID(加密存储)",
  14590. "type": "string"
  14591. },
  14592. "cardaddress": {
  14593. "description": "证件地址 (加密存储)",
  14594. "type": "string"
  14595. },
  14596. "cardbackphotourl": {
  14597. "description": "背面证件照地址",
  14598. "type": "string"
  14599. },
  14600. "cardfrontphotourl": {
  14601. "description": "正面证件照地址",
  14602. "type": "string"
  14603. },
  14604. "cardnum": {
  14605. "description": "证件号码 (加密存储)",
  14606. "type": "string"
  14607. },
  14608. "cardtype": {
  14609. "description": "证件类型",
  14610. "type": "integer"
  14611. },
  14612. "cityid": {
  14613. "description": "市",
  14614. "type": "integer"
  14615. },
  14616. "company": {
  14617. "description": "公司(个人)",
  14618. "type": "string"
  14619. },
  14620. "contactcardbackphotourl": {
  14621. "description": "联系人证件背面图片地址",
  14622. "type": "string"
  14623. },
  14624. "contactcardfrontphotourl": {
  14625. "description": "联系人证件正面图片地址",
  14626. "type": "string"
  14627. },
  14628. "contactname": {
  14629. "description": "联系人",
  14630. "type": "string"
  14631. },
  14632. "countryid": {
  14633. "description": "国家",
  14634. "type": "integer"
  14635. },
  14636. "createtime": {
  14637. "description": "开户申请时间",
  14638. "type": "string"
  14639. },
  14640. "cusbankid": {
  14641. "description": "签约类型",
  14642. "type": "string"
  14643. },
  14644. "cusbankname": {
  14645. "description": "签约类型名称",
  14646. "type": "string"
  14647. },
  14648. "customername": {
  14649. "description": "客户名称(企业名称)",
  14650. "type": "string"
  14651. },
  14652. "districtid": {
  14653. "description": "地区",
  14654. "type": "integer"
  14655. },
  14656. "email": {
  14657. "description": "Email地址(加密存储)",
  14658. "type": "string"
  14659. },
  14660. "halfbodyphotourl": {
  14661. "description": "半身照地址",
  14662. "type": "string"
  14663. },
  14664. "headurl": {
  14665. "description": "头像地址",
  14666. "type": "string"
  14667. },
  14668. "ipaddress": {
  14669. "description": "IP地址",
  14670. "type": "string"
  14671. },
  14672. "isvalidate": {
  14673. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14674. "type": "string"
  14675. },
  14676. "legalcardbackphotourl": {
  14677. "description": "法人身份证背面照地址",
  14678. "type": "string"
  14679. },
  14680. "legalcardfrontphotourl": {
  14681. "description": "法人身份证正面照地址",
  14682. "type": "string"
  14683. },
  14684. "legalpersonname": {
  14685. "description": "法人姓名(企业)",
  14686. "type": "string"
  14687. },
  14688. "logincode": {
  14689. "description": "登录帐号 (加密存储)",
  14690. "type": "string"
  14691. },
  14692. "memberareaid": {
  14693. "description": "所属会员ID",
  14694. "type": "integer"
  14695. },
  14696. "mobile2": {
  14697. "description": "手机号码[明文-尚志]",
  14698. "type": "string"
  14699. },
  14700. "mobilephone": {
  14701. "description": "手机号码 (加密存储)",
  14702. "type": "string"
  14703. },
  14704. "modifiedby": {
  14705. "description": "修改人帐号",
  14706. "type": "integer"
  14707. },
  14708. "modifiedtime": {
  14709. "description": "修改时间",
  14710. "type": "string"
  14711. },
  14712. "nickname": {
  14713. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14714. "type": "string"
  14715. },
  14716. "openmode": {
  14717. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14718. "type": "integer"
  14719. },
  14720. "otherurl": {
  14721. "description": "其它图片地址[使用分号分隔]",
  14722. "type": "string"
  14723. },
  14724. "postalcode": {
  14725. "description": "邮政编码",
  14726. "type": "string"
  14727. },
  14728. "provinceid": {
  14729. "description": "省",
  14730. "type": "integer"
  14731. },
  14732. "proxystatementurl": {
  14733. "description": "授权委托书",
  14734. "type": "string"
  14735. },
  14736. "qq": {
  14737. "description": "QQ(加密存储",
  14738. "type": "string"
  14739. },
  14740. "referral": {
  14741. "description": "推荐人编码",
  14742. "type": "string"
  14743. },
  14744. "remark": {
  14745. "description": "备注",
  14746. "type": "string"
  14747. },
  14748. "removebeforestatus": {
  14749. "description": "REMOVEBEFORESTATUS",
  14750. "type": "integer"
  14751. },
  14752. "sex": {
  14753. "description": "性别 - 0:女 1:男",
  14754. "type": "integer"
  14755. },
  14756. "signedstatus": {
  14757. "description": "账户一号签签约状态",
  14758. "type": "integer"
  14759. },
  14760. "signpdfurl": {
  14761. "description": "签约pdf文件",
  14762. "type": "string"
  14763. },
  14764. "subbranch": {
  14765. "description": "开户支行",
  14766. "type": "string"
  14767. },
  14768. "taxpayernum": {
  14769. "description": "纳税人识别号",
  14770. "type": "string"
  14771. },
  14772. "telphone": {
  14773. "description": "联系电话(加密存储)",
  14774. "type": "string"
  14775. },
  14776. "userid": {
  14777. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14778. "type": "integer"
  14779. },
  14780. "userinfotype": {
  14781. "description": "用户信息类型 - 1:个人 2:企业",
  14782. "type": "integer"
  14783. },
  14784. "username": {
  14785. "description": "用户姓名",
  14786. "type": "string"
  14787. },
  14788. "userstate": {
  14789. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14790. "type": "integer"
  14791. },
  14792. "usertype": {
  14793. "description": "用户类型 - 1:投资者 2:机构",
  14794. "type": "integer"
  14795. },
  14796. "videourl": {
  14797. "description": "视频地址",
  14798. "type": "string"
  14799. },
  14800. "wechat": {
  14801. "description": "微信号 (加密存储)",
  14802. "type": "string"
  14803. }
  14804. }
  14805. },
  14806. "erms3.QryAuditContractRsp": {
  14807. "type": "object",
  14808. "required": [
  14809. "matchcustomername",
  14810. "spotcontractid"
  14811. ],
  14812. "properties": {
  14813. "accountid": {
  14814. "description": "交易员ID",
  14815. "type": "string"
  14816. },
  14817. "applystatus": {
  14818. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14819. "type": "integer"
  14820. },
  14821. "curdeliveryqty": {
  14822. "description": "未交收量",
  14823. "type": "integer"
  14824. },
  14825. "customername": {
  14826. "description": "采购方ID",
  14827. "type": "string"
  14828. },
  14829. "deliverygoodsid": {
  14830. "description": "品种ID",
  14831. "type": "string"
  14832. },
  14833. "deliveryqty": {
  14834. "description": "交收量",
  14835. "type": "integer"
  14836. },
  14837. "enumdicname": {
  14838. "description": "单位名称",
  14839. "type": "string"
  14840. },
  14841. "matchaccountid": {
  14842. "description": "业务员ID",
  14843. "type": "string"
  14844. },
  14845. "matchcustomername": {
  14846. "description": "销售方ID",
  14847. "type": "string"
  14848. },
  14849. "pricedqty": {
  14850. "description": "定价量",
  14851. "type": "number"
  14852. },
  14853. "signdate": {
  14854. "description": "签订日期",
  14855. "type": "string"
  14856. },
  14857. "spotcontractid": {
  14858. "description": "合同ID",
  14859. "type": "string"
  14860. },
  14861. "totaldqty": {
  14862. "description": "合同量",
  14863. "type": "number"
  14864. },
  14865. "unpricedqty": {
  14866. "description": "未定价量",
  14867. "type": "number"
  14868. },
  14869. "wrstandardname": {
  14870. "description": "商品名称",
  14871. "type": "string"
  14872. }
  14873. }
  14874. },
  14875. "erms3.QryPendingBizRsp": {
  14876. "$ref": "#/definitions/models.PendingAuditBizModel"
  14877. },
  14878. "erms3.QueryBusinessInfoRsp": {
  14879. "type": "object",
  14880. "properties": {
  14881. "businessid": {
  14882. "description": "业务ID.",
  14883. "type": "integer"
  14884. },
  14885. "buyamount": {
  14886. "description": "采购额.",
  14887. "type": "number"
  14888. },
  14889. "buyqty": {
  14890. "description": "采购量.",
  14891. "type": "string"
  14892. },
  14893. "futurepl": {
  14894. "description": "期货盈亏.",
  14895. "type": "number"
  14896. },
  14897. "futureqty": {
  14898. "description": "期货敞口.",
  14899. "type": "string"
  14900. },
  14901. "goodsid": {
  14902. "description": "商品名称/商品代码.",
  14903. "type": "string"
  14904. },
  14905. "hedgingqty": {
  14906. "description": "套保量.",
  14907. "type": "string"
  14908. },
  14909. "sellamount": {
  14910. "description": "销售额.",
  14911. "type": "number"
  14912. },
  14913. "sellqty": {
  14914. "description": "销售量.",
  14915. "type": "string"
  14916. },
  14917. "spotmarketvalue": {
  14918. "description": "现货市值.",
  14919. "type": "number"
  14920. },
  14921. "spotpl": {
  14922. "description": "浮动权益.",
  14923. "type": "number"
  14924. },
  14925. "spotqty": {
  14926. "description": "现货量.",
  14927. "type": "string"
  14928. },
  14929. "statu": {
  14930. "description": "状态,0-未结束 1-已结束.",
  14931. "type": "integer"
  14932. },
  14933. "totalpl": {
  14934. "description": "总盈亏.",
  14935. "type": "number"
  14936. },
  14937. "totalqty": {
  14938. "description": "总敞口.",
  14939. "type": "string"
  14940. },
  14941. "type": {
  14942. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  14943. "type": "integer"
  14944. }
  14945. }
  14946. },
  14947. "erms3.QuerySpotContractAppleFormRsp": {
  14948. "type": "object",
  14949. "properties": {
  14950. "goodses": {
  14951. "description": "合约列表",
  14952. "type": "array",
  14953. "items": {
  14954. "$ref": "#/definitions/models.GoodsIDAndName"
  14955. }
  14956. },
  14957. "oppositeusers": {
  14958. "description": "对方账号列表",
  14959. "type": "array",
  14960. "items": {
  14961. "$ref": "#/definitions/erms3.CustomerInfo"
  14962. }
  14963. },
  14964. "ouruser": {
  14965. "description": "我方账号",
  14966. "type": "object",
  14967. "$ref": "#/definitions/erms3.CustomerInfo"
  14968. },
  14969. "warehouseinfos": {
  14970. "description": "仓库信息列表",
  14971. "type": "array",
  14972. "items": {
  14973. "$ref": "#/definitions/models.Warehouseinfo"
  14974. }
  14975. },
  14976. "wrstandards": {
  14977. "description": "仓单标准列表",
  14978. "type": "array",
  14979. "items": {
  14980. "$ref": "#/definitions/models.WRStandardInfo"
  14981. }
  14982. }
  14983. }
  14984. },
  14985. "erms3.QuerySpotContractInfoRsp": {
  14986. "type": "object",
  14987. "properties": {
  14988. "accountid": {
  14989. "description": "表示交易员ID.",
  14990. "type": "integer"
  14991. },
  14992. "curdeliveryqty": {
  14993. "description": "表示未交收量.",
  14994. "type": "number"
  14995. },
  14996. "customername": {
  14997. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  14998. "type": "string"
  14999. },
  15000. "deliverygoodsid": {
  15001. "description": "表示品种ID.",
  15002. "type": "string"
  15003. },
  15004. "deliveryqty": {
  15005. "description": "表示交收量.",
  15006. "type": "number"
  15007. },
  15008. "matchaccountid": {
  15009. "description": "表示业务员ID.",
  15010. "type": "integer"
  15011. },
  15012. "matchcustomername": {
  15013. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15014. "type": "string"
  15015. },
  15016. "priceqty": {
  15017. "description": "表示定价量.",
  15018. "type": "number"
  15019. },
  15020. "relatedbizid": {
  15021. "description": "表示业务ID.",
  15022. "type": "string"
  15023. },
  15024. "signdate": {
  15025. "description": "表示签订日期.",
  15026. "type": "string"
  15027. },
  15028. "spotcontractid": {
  15029. "description": "合同ID",
  15030. "type": "string"
  15031. },
  15032. "status": {
  15033. "description": "表示状态,0-履约中 1-已完成.",
  15034. "type": "integer"
  15035. },
  15036. "totalqty": {
  15037. "description": "表示合同量.",
  15038. "type": "number"
  15039. },
  15040. "unpricedqty": {
  15041. "description": "表示未定价量.",
  15042. "type": "number"
  15043. },
  15044. "wrstandardname": {
  15045. "description": "表示商品ID.",
  15046. "type": "string"
  15047. }
  15048. }
  15049. },
  15050. "erms3.QueryUserInfoAppliesRsp": {
  15051. "type": "object",
  15052. "required": [
  15053. "userid"
  15054. ],
  15055. "properties": {
  15056. "biznature": {
  15057. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15058. "type": "integer"
  15059. },
  15060. "contactname": {
  15061. "description": "联系人",
  15062. "type": "string"
  15063. },
  15064. "createtime": {
  15065. "description": "开户申请时间",
  15066. "type": "string"
  15067. },
  15068. "userid": {
  15069. "description": "用户ID(自增ID)",
  15070. "type": "integer"
  15071. },
  15072. "userinfotype": {
  15073. "description": "用户信息类型 - 1:个人 2:企业",
  15074. "type": "integer"
  15075. },
  15076. "username": {
  15077. "description": "用户姓名",
  15078. "type": "string"
  15079. },
  15080. "userstate": {
  15081. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15082. "type": "integer"
  15083. }
  15084. }
  15085. },
  15086. "erms3.QueryUserInfosRsp": {
  15087. "type": "object",
  15088. "required": [
  15089. "userid"
  15090. ],
  15091. "properties": {
  15092. "biznature": {
  15093. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15094. "type": "integer"
  15095. },
  15096. "contactname": {
  15097. "description": "联系人",
  15098. "type": "string"
  15099. },
  15100. "customername": {
  15101. "description": "客户名称(企业名称)",
  15102. "type": "string"
  15103. },
  15104. "userid": {
  15105. "description": "用户ID",
  15106. "type": "integer"
  15107. },
  15108. "userinfotype": {
  15109. "description": "用户信息类型 - 1:个人 2:企业",
  15110. "type": "integer"
  15111. },
  15112. "userstatus": {
  15113. "description": "用户状态 - 1:正常 2:注销",
  15114. "type": "integer"
  15115. }
  15116. }
  15117. },
  15118. "erms3.SoptContractDetail": {
  15119. "type": "object",
  15120. "required": [
  15121. "deliverygoodsid",
  15122. "producttype",
  15123. "unitname",
  15124. "warehouseid",
  15125. "wrstandardid",
  15126. "wrstandardname"
  15127. ],
  15128. "properties": {
  15129. "deliverygoodsdesc": {
  15130. "description": "现货品种说明",
  15131. "type": "string"
  15132. },
  15133. "deliverygoodsid": {
  15134. "description": "现货品种ID",
  15135. "type": "integer"
  15136. },
  15137. "deliverygoodsname": {
  15138. "description": "现货品种名称",
  15139. "type": "string"
  15140. },
  15141. "pointdesc": {
  15142. "description": "点价描述",
  15143. "type": "string"
  15144. },
  15145. "producttype": {
  15146. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15147. "type": "integer"
  15148. },
  15149. "producttypename": {
  15150. "description": "产品类型名称",
  15151. "type": "string"
  15152. },
  15153. "spotPointOrderVoList": {
  15154. "description": "点价列表",
  15155. "type": "array",
  15156. "items": {
  15157. "$ref": "#/definitions/erms3.SpotPointOrder"
  15158. }
  15159. },
  15160. "spotPriceOrderList": {
  15161. "description": "定价列表",
  15162. "type": "array",
  15163. "items": {
  15164. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15165. }
  15166. },
  15167. "unitname": {
  15168. "description": "单位名称",
  15169. "type": "string"
  15170. },
  15171. "warehouseid": {
  15172. "description": "仓库ID",
  15173. "type": "integer"
  15174. },
  15175. "warehousename": {
  15176. "description": "仓库名称",
  15177. "type": "string"
  15178. },
  15179. "wrstandardid": {
  15180. "description": "交易标的ID",
  15181. "type": "integer"
  15182. },
  15183. "wrstandardname": {
  15184. "description": "交易标的名称",
  15185. "type": "string"
  15186. }
  15187. }
  15188. },
  15189. "erms3.SpotPointOrder": {
  15190. "type": "object",
  15191. "required": [
  15192. "basic",
  15193. "goodsid",
  15194. "qty"
  15195. ],
  15196. "properties": {
  15197. "basic": {
  15198. "description": "基差",
  15199. "type": "number"
  15200. },
  15201. "deliveryenddate": {
  15202. "description": "交收结束日期",
  15203. "type": "string"
  15204. },
  15205. "deliverystartdate": {
  15206. "description": "交收开始日期",
  15207. "type": "string"
  15208. },
  15209. "enddate": {
  15210. "description": "点价结束日期",
  15211. "type": "string"
  15212. },
  15213. "goodsid": {
  15214. "description": "商品ID",
  15215. "type": "integer"
  15216. },
  15217. "goodsname": {
  15218. "description": "商品名称",
  15219. "type": "string"
  15220. },
  15221. "qty": {
  15222. "description": "数量",
  15223. "type": "number"
  15224. },
  15225. "startdate": {
  15226. "description": "点价开始日期",
  15227. "type": "string"
  15228. }
  15229. }
  15230. },
  15231. "erms3.SpotPriceOrder": {
  15232. "type": "object",
  15233. "required": [
  15234. "amount",
  15235. "price",
  15236. "qty"
  15237. ],
  15238. "properties": {
  15239. "amount": {
  15240. "description": "金额",
  15241. "type": "number"
  15242. },
  15243. "deliveryenddate": {
  15244. "description": "交收结束日期",
  15245. "type": "string"
  15246. },
  15247. "deliverystartdate": {
  15248. "description": "交收开始日期",
  15249. "type": "string"
  15250. },
  15251. "price": {
  15252. "description": "价格",
  15253. "type": "number"
  15254. },
  15255. "qty": {
  15256. "description": "数量",
  15257. "type": "number"
  15258. }
  15259. }
  15260. },
  15261. "hsby.GetHsbyMyCountRsp": {
  15262. "type": "object",
  15263. "properties": {
  15264. "myCouponCount": {
  15265. "description": "我的优惠卷数量",
  15266. "type": "integer"
  15267. },
  15268. "myOrderDetailListingCount": {
  15269. "description": "我的订单求购中数量",
  15270. "type": "integer"
  15271. },
  15272. "myOrderDetailPreCount": {
  15273. "description": "我的订单抢购中数量",
  15274. "type": "integer"
  15275. },
  15276. "myPackageUnReceiveCount": {
  15277. "description": "我的包裹待收货数量",
  15278. "type": "integer"
  15279. },
  15280. "myPackageUnSendCount": {
  15281. "description": "我的包裹待发货数量",
  15282. "type": "integer"
  15283. },
  15284. "myPayOrderCount": {
  15285. "description": "我的订单待付款数量",
  15286. "type": "integer"
  15287. }
  15288. }
  15289. },
  15290. "hsby.QueryProvincesAndCitiesRsp": {
  15291. "type": "object",
  15292. "properties": {
  15293. "cities": {
  15294. "description": "市",
  15295. "type": "array",
  15296. "items": {
  15297. "$ref": "#/definitions/models.Division"
  15298. }
  15299. },
  15300. "province": {
  15301. "description": "省",
  15302. "type": "object",
  15303. "$ref": "#/definitions/models.Division"
  15304. }
  15305. }
  15306. },
  15307. "models.AreaSpotModel": {
  15308. "type": "object",
  15309. "properties": {
  15310. "areauserid": {
  15311. "description": "所属机构",
  15312. "type": "integer"
  15313. },
  15314. "decreaseqty": {
  15315. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15316. "type": "number"
  15317. },
  15318. "increaseqty": {
  15319. "description": "增加数量=销售计划数量+采购已定价数量",
  15320. "type": "number"
  15321. },
  15322. "oritoalspotqty": {
  15323. "description": "昨日数量",
  15324. "type": "number"
  15325. },
  15326. "totalspotqty": {
  15327. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15328. "type": "number"
  15329. },
  15330. "updatetime": {
  15331. "description": "更新时间",
  15332. "type": "string"
  15333. },
  15334. "wrstandardcode": {
  15335. "description": "现货品种代码",
  15336. "type": "string"
  15337. },
  15338. "wrstandardid": {
  15339. "description": "现货商品ID",
  15340. "type": "integer"
  15341. },
  15342. "wrstandardname": {
  15343. "description": "现货品种",
  15344. "type": "string"
  15345. }
  15346. }
  15347. },
  15348. "models.Arearole": {
  15349. "type": "object",
  15350. "required": [
  15351. "roletype",
  15352. "userid"
  15353. ],
  15354. "properties": {
  15355. "createtime": {
  15356. "description": "创建时间",
  15357. "type": "string"
  15358. },
  15359. "creatorid": {
  15360. "description": "创建人ID",
  15361. "type": "integer"
  15362. },
  15363. "fromuserid": {
  15364. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15365. "type": "integer"
  15366. },
  15367. "isreturnscore": {
  15368. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15369. "type": "integer"
  15370. },
  15371. "modifierid": {
  15372. "description": "修改人ID",
  15373. "type": "integer"
  15374. },
  15375. "modifytime": {
  15376. "description": "修改时间",
  15377. "type": "string"
  15378. },
  15379. "orgtype": {
  15380. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15381. "type": "integer"
  15382. },
  15383. "outuserid": {
  15384. "description": "外部账户[场外期权做市商]",
  15385. "type": "string"
  15386. },
  15387. "parentuserid": {
  15388. "description": "上级组织机构(组织机构)",
  15389. "type": "integer"
  15390. },
  15391. "roletype": {
  15392. "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:门店",
  15393. "type": "integer"
  15394. },
  15395. "rootuserid": {
  15396. "description": "顶级组织机构用户ID(组织机构)",
  15397. "type": "integer"
  15398. },
  15399. "shoppassword": {
  15400. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15401. "type": "string"
  15402. },
  15403. "sublevelpath": {
  15404. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15405. "type": "string"
  15406. },
  15407. "suborgtype": {
  15408. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15409. "type": "integer"
  15410. },
  15411. "tradeaccountid": {
  15412. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15413. "type": "integer"
  15414. },
  15415. "transurl": {
  15416. "description": "物流地址(物流机构)",
  15417. "type": "string"
  15418. },
  15419. "userid": {
  15420. "description": "机构用户ID其他做市关系,都设置为 1",
  15421. "type": "integer"
  15422. }
  15423. }
  15424. },
  15425. "models.Clientfixedadconfig": {
  15426. "type": "object",
  15427. "required": [
  15428. "adsort",
  15429. "adtype"
  15430. ],
  15431. "properties": {
  15432. "adsort": {
  15433. "description": "排序",
  15434. "type": "integer"
  15435. },
  15436. "adtype": {
  15437. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15438. "type": "integer"
  15439. },
  15440. "areauserid": {
  15441. "description": "所属机构ID",
  15442. "type": "integer"
  15443. },
  15444. "createdate": {
  15445. "description": "创建时间",
  15446. "type": "string"
  15447. },
  15448. "creatorid": {
  15449. "description": "创建人",
  15450. "type": "integer"
  15451. },
  15452. "imagepath": {
  15453. "description": "图片",
  15454. "type": "string"
  15455. },
  15456. "isshow": {
  15457. "description": "是否展示 - 0:不展示 1:展示",
  15458. "type": "integer"
  15459. },
  15460. "modifierid": {
  15461. "description": "操作人",
  15462. "type": "integer"
  15463. },
  15464. "recsize": {
  15465. "description": "推荐尺寸",
  15466. "type": "string"
  15467. },
  15468. "title": {
  15469. "description": "标题",
  15470. "type": "string"
  15471. },
  15472. "updatedate": {
  15473. "description": "更新时间",
  15474. "type": "string"
  15475. },
  15476. "urlcontent": {
  15477. "description": "链接(地址或商品ID)",
  15478. "type": "string"
  15479. },
  15480. "urltype": {
  15481. "description": "链接类型 - 1:直接地址 2:商品ID",
  15482. "type": "integer"
  15483. }
  15484. }
  15485. },
  15486. "models.Division": {
  15487. "type": "object",
  15488. "required": [
  15489. "autoid",
  15490. "divisioncode"
  15491. ],
  15492. "properties": {
  15493. "autoid": {
  15494. "description": "自增ID",
  15495. "type": "integer"
  15496. },
  15497. "divisioncode": {
  15498. "description": "行政代码",
  15499. "type": "string"
  15500. },
  15501. "divisionlevel": {
  15502. "description": "行政级别",
  15503. "type": "string"
  15504. },
  15505. "divisionname": {
  15506. "description": "行政名称",
  15507. "type": "string"
  15508. },
  15509. "modifierid": {
  15510. "description": "修改人",
  15511. "type": "integer"
  15512. },
  15513. "modifytime": {
  15514. "description": "修改时间",
  15515. "type": "string"
  15516. },
  15517. "parentcode": {
  15518. "description": "上级行政代码",
  15519. "type": "string"
  15520. },
  15521. "pathname": {
  15522. "description": "路径名称",
  15523. "type": "string"
  15524. },
  15525. "postcode": {
  15526. "description": "邮政编码",
  15527. "type": "string"
  15528. },
  15529. "separablename": {
  15530. "description": "可拆分的全称",
  15531. "type": "string"
  15532. },
  15533. "shortcode": {
  15534. "description": "地区简码",
  15535. "type": "string"
  15536. }
  15537. }
  15538. },
  15539. "models.Enumdicitem": {
  15540. "type": "object",
  15541. "required": [
  15542. "autoid",
  15543. "enumdiccode",
  15544. "enumdicid",
  15545. "enumitemname"
  15546. ],
  15547. "properties": {
  15548. "autoid": {
  15549. "description": "自增ID",
  15550. "type": "integer"
  15551. },
  15552. "bankmappedvalue": {
  15553. "description": "银行服务对应值",
  15554. "type": "string"
  15555. },
  15556. "enumdiccode": {
  15557. "description": "所属枚举代码",
  15558. "type": "string"
  15559. },
  15560. "enumdicid": {
  15561. "description": "所属枚举ID",
  15562. "type": "integer"
  15563. },
  15564. "enumdicname": {
  15565. "description": "枚举项名称",
  15566. "type": "string"
  15567. },
  15568. "enumitemname": {
  15569. "description": "枚举项值",
  15570. "type": "integer"
  15571. },
  15572. "enumitemstatus": {
  15573. "description": "枚举项状态 - 1.启用 2.不启用",
  15574. "type": "integer"
  15575. },
  15576. "enumitemvalue": {
  15577. "description": "通用值 - [币种通用简写]",
  15578. "type": "string"
  15579. },
  15580. "param1": {
  15581. "description": "参数1[币种:币种小数位]",
  15582. "type": "string"
  15583. },
  15584. "param2": {
  15585. "description": "参数1[币种:币种显示单位]",
  15586. "type": "string"
  15587. },
  15588. "remark": {
  15589. "description": "备注",
  15590. "type": "string"
  15591. }
  15592. }
  15593. },
  15594. "models.Ermcp3AreaSpot": {
  15595. "type": "object",
  15596. "properties": {
  15597. "areauserid": {
  15598. "description": "所属机构",
  15599. "type": "integer"
  15600. },
  15601. "decreaseqty": {
  15602. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15603. "type": "number"
  15604. },
  15605. "deliverygoodscode": {
  15606. "description": "现货品种代码",
  15607. "type": "string"
  15608. },
  15609. "deliverygoodsid": {
  15610. "description": "现货品种id",
  15611. "type": "integer"
  15612. },
  15613. "deliverygoodsname": {
  15614. "description": "现货品种名称",
  15615. "type": "string"
  15616. },
  15617. "enumdicname": {
  15618. "description": "单位名称",
  15619. "type": "string"
  15620. },
  15621. "goodsunitid": {
  15622. "description": "现货品种单位id",
  15623. "type": "integer"
  15624. },
  15625. "increaseqty": {
  15626. "description": "增加数量=销售计划数量+采购已定价数量",
  15627. "type": "number"
  15628. },
  15629. "oritoalspotqty": {
  15630. "description": "昨日数量",
  15631. "type": "number"
  15632. },
  15633. "totalspotqty": {
  15634. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15635. "type": "number"
  15636. },
  15637. "updatetime": {
  15638. "description": "更新时间",
  15639. "type": "string"
  15640. }
  15641. }
  15642. },
  15643. "models.Ermcp3AreaSpotDetail": {
  15644. "type": "object",
  15645. "properties": {
  15646. "contracttype": {
  15647. "description": "合同类型 1-采购 -1-销售",
  15648. "type": "integer"
  15649. },
  15650. "createtime": {
  15651. "description": "创建时间",
  15652. "type": "string"
  15653. },
  15654. "deliverygoodscode": {
  15655. "description": "现货品种代码",
  15656. "type": "string"
  15657. },
  15658. "deliverygoodsid": {
  15659. "description": "现货品种id",
  15660. "type": "integer"
  15661. },
  15662. "deliverygoodsname": {
  15663. "description": "现货品种名称",
  15664. "type": "string"
  15665. },
  15666. "enumdicname": {
  15667. "description": "现货商品单位名称",
  15668. "type": "string"
  15669. },
  15670. "logtype": {
  15671. "description": "记录类型 1-套保 2-现货合同",
  15672. "type": "integer"
  15673. },
  15674. "qty": {
  15675. "description": "数量",
  15676. "type": "number"
  15677. },
  15678. "recordname": {
  15679. "description": "类型名称",
  15680. "type": "string"
  15681. },
  15682. "relatedid": {
  15683. "description": "套保计划ID/现货合同ID",
  15684. "type": "string"
  15685. },
  15686. "relatedno": {
  15687. "description": "编号",
  15688. "type": "string"
  15689. },
  15690. "strtime": {
  15691. "description": "时间",
  15692. "type": "string"
  15693. }
  15694. }
  15695. },
  15696. "models.Ermcp3AreaSpotPLReport": {
  15697. "type": "object",
  15698. "properties": {
  15699. "accountid": {
  15700. "description": "期货账户ID (作废, 默认为0)",
  15701. "type": "integer"
  15702. },
  15703. "accountname": {
  15704. "description": "机构名称",
  15705. "type": "string"
  15706. },
  15707. "actualpl": {
  15708. "description": "现货损益",
  15709. "type": "number"
  15710. },
  15711. "areauserid": {
  15712. "description": "所属机构\\交易用户ID",
  15713. "type": "integer"
  15714. },
  15715. "begindate": {
  15716. "description": "开始交易日",
  15717. "type": "string"
  15718. },
  15719. "biztype": {
  15720. "description": "业务类型 - 1:套保 2:套利",
  15721. "type": "integer"
  15722. },
  15723. "brandname": {
  15724. "description": "品牌名称",
  15725. "type": "string"
  15726. },
  15727. "curamount": {
  15728. "description": "期末额",
  15729. "type": "number"
  15730. },
  15731. "curaverageprice": {
  15732. "description": "期末均价",
  15733. "type": "number"
  15734. },
  15735. "curbuyamount": {
  15736. "description": "期末采购总额",
  15737. "type": "number"
  15738. },
  15739. "curbuyqty": {
  15740. "description": "期末采购总量",
  15741. "type": "number"
  15742. },
  15743. "curmarketvalue": {
  15744. "description": "参考市值(期末市值)",
  15745. "type": "number"
  15746. },
  15747. "curqty": {
  15748. "description": "期末量",
  15749. "type": "number"
  15750. },
  15751. "currencyid": {
  15752. "description": "结算币种ID【原值】",
  15753. "type": "integer"
  15754. },
  15755. "currencyname": {
  15756. "description": "币种名称",
  15757. "type": "string"
  15758. },
  15759. "cursellamount": {
  15760. "description": "期末销售总额",
  15761. "type": "number"
  15762. },
  15763. "cursellqty": {
  15764. "description": "期末销售总量",
  15765. "type": "number"
  15766. },
  15767. "curspotprice": {
  15768. "description": "参考市价(最新价)",
  15769. "type": "number"
  15770. },
  15771. "cycletime": {
  15772. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15773. "type": "string"
  15774. },
  15775. "cycletype": {
  15776. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15777. "type": "integer"
  15778. },
  15779. "deliverygoodscode": {
  15780. "description": "现货商品代码",
  15781. "type": "string"
  15782. },
  15783. "deliverygoodsid": {
  15784. "description": "现货品种ID",
  15785. "type": "integer"
  15786. },
  15787. "deliverygoodsname": {
  15788. "description": "现货商品名称",
  15789. "type": "string"
  15790. },
  15791. "enddate": {
  15792. "description": "结束交易日",
  15793. "type": "string"
  15794. },
  15795. "enumdicname": {
  15796. "description": "现货商品单位名称",
  15797. "type": "string"
  15798. },
  15799. "floatpl": {
  15800. "description": "浮动损益",
  15801. "type": "number"
  15802. },
  15803. "goodsunitid": {
  15804. "description": "现货商品单位id",
  15805. "type": "integer"
  15806. },
  15807. "oriamount": {
  15808. "description": "期初额",
  15809. "type": "number"
  15810. },
  15811. "oriaverageprice": {
  15812. "description": "期初均价",
  15813. "type": "number"
  15814. },
  15815. "oribuyamount": {
  15816. "description": "期初采购总额",
  15817. "type": "number"
  15818. },
  15819. "oribuyqty": {
  15820. "description": "期初采购总量",
  15821. "type": "number"
  15822. },
  15823. "oriqty": {
  15824. "description": "期初量",
  15825. "type": "number"
  15826. },
  15827. "orisellamount": {
  15828. "description": "期初销售总额",
  15829. "type": "number"
  15830. },
  15831. "orisellqty": {
  15832. "description": "期初销售总量",
  15833. "type": "number"
  15834. },
  15835. "reckondate": {
  15836. "description": "日照时期(yyyyMMdd)",
  15837. "type": "string"
  15838. },
  15839. "spotgoodsbrandid": {
  15840. "description": "现货品牌ID",
  15841. "type": "integer"
  15842. },
  15843. "todaybuyamount": {
  15844. "description": "今日采购额(今采购额)",
  15845. "type": "number"
  15846. },
  15847. "todaybuyaverageprice": {
  15848. "description": "今日采购均价",
  15849. "type": "number"
  15850. },
  15851. "todaybuyqty": {
  15852. "description": "今日采购量(今采购量)",
  15853. "type": "number"
  15854. },
  15855. "todayinqty": {
  15856. "description": "今日入库量(今入库量)",
  15857. "type": "number"
  15858. },
  15859. "todayoutqty": {
  15860. "description": "今日出库量(今出库量)",
  15861. "type": "number"
  15862. },
  15863. "todaysellamount": {
  15864. "description": "今日销售额(今销售额)",
  15865. "type": "number"
  15866. },
  15867. "todaysellaverageprice": {
  15868. "description": "今日销售均价",
  15869. "type": "number"
  15870. },
  15871. "todaysellqty": {
  15872. "description": "今日销售量(今销售量)",
  15873. "type": "number"
  15874. },
  15875. "unitid": {
  15876. "description": "品类单位id",
  15877. "type": "integer"
  15878. },
  15879. "unitidname": {
  15880. "description": "品类单位名称",
  15881. "type": "string"
  15882. },
  15883. "updatetime": {
  15884. "description": "更新时间",
  15885. "type": "string"
  15886. },
  15887. "wrfactortypeid": {
  15888. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15889. "type": "integer"
  15890. },
  15891. "wrstandardcode": {
  15892. "description": "品类代码",
  15893. "type": "string"
  15894. },
  15895. "wrstandardid": {
  15896. "description": "现货品类ID",
  15897. "type": "integer"
  15898. },
  15899. "wrstandardname": {
  15900. "description": "品类名称",
  15901. "type": "string"
  15902. }
  15903. }
  15904. },
  15905. "models.Ermcp3AreaStock": {
  15906. "type": "object",
  15907. "required": [
  15908. "userid"
  15909. ],
  15910. "properties": {
  15911. "brandname": {
  15912. "description": "品牌名称",
  15913. "type": "string"
  15914. },
  15915. "curstock": {
  15916. "description": "期末库存量(今日量)",
  15917. "type": "number"
  15918. },
  15919. "deliverygoodscode": {
  15920. "description": "现货品种代码",
  15921. "type": "string"
  15922. },
  15923. "deliverygoodsid": {
  15924. "description": "现货品种id",
  15925. "type": "integer"
  15926. },
  15927. "deliverygoodsname": {
  15928. "description": "现货品种名称",
  15929. "type": "string"
  15930. },
  15931. "enumdicname": {
  15932. "description": "单位名称",
  15933. "type": "string"
  15934. },
  15935. "goodsunitid": {
  15936. "description": "现货商品单位id",
  15937. "type": "integer"
  15938. },
  15939. "oristock": {
  15940. "description": "期初库存量(昨日量)",
  15941. "type": "number"
  15942. },
  15943. "spotgoodsbrandid": {
  15944. "description": "现货品牌ID",
  15945. "type": "integer"
  15946. },
  15947. "todaybuyinqty": {
  15948. "description": "今日采购入库量",
  15949. "type": "number"
  15950. },
  15951. "todayproduceinqty": {
  15952. "description": "今日生产入库量",
  15953. "type": "number"
  15954. },
  15955. "todayproduceoutqty": {
  15956. "description": "今日生产出库量",
  15957. "type": "number"
  15958. },
  15959. "todayselloutqty": {
  15960. "description": "今日销售出库量",
  15961. "type": "number"
  15962. },
  15963. "unitid": {
  15964. "description": "单位id",
  15965. "type": "integer"
  15966. },
  15967. "updatetime": {
  15968. "description": "更新时间",
  15969. "type": "string"
  15970. },
  15971. "userid": {
  15972. "description": "机构ID",
  15973. "type": "integer"
  15974. },
  15975. "username": {
  15976. "description": "机构名称",
  15977. "type": "string"
  15978. },
  15979. "warehousecode": {
  15980. "description": "仓库代码",
  15981. "type": "string"
  15982. },
  15983. "warehouseinfoid": {
  15984. "description": "仓库ID",
  15985. "type": "string"
  15986. },
  15987. "warehousename": {
  15988. "description": "仓库名称",
  15989. "type": "string"
  15990. },
  15991. "warehousetype": {
  15992. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15993. "type": "integer"
  15994. },
  15995. "wrstandardcode": {
  15996. "description": "品类代码",
  15997. "type": "string"
  15998. },
  15999. "wrstandardid": {
  16000. "description": "品类ID",
  16001. "type": "string"
  16002. },
  16003. "wrstandardname": {
  16004. "description": "品类名称",
  16005. "type": "string"
  16006. }
  16007. }
  16008. },
  16009. "models.Ermcp3AreaStockApply": {
  16010. "type": "object",
  16011. "properties": {
  16012. "applyid": {
  16013. "description": "申请人",
  16014. "type": "integer"
  16015. },
  16016. "applyname": {
  16017. "description": "申请人名称",
  16018. "type": "string"
  16019. },
  16020. "applyremark": {
  16021. "description": "申请备注",
  16022. "type": "string"
  16023. },
  16024. "applysrc": {
  16025. "description": "申请来源 - 1:管理端 2:终端",
  16026. "type": "integer"
  16027. },
  16028. "applystatus": {
  16029. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16030. "type": "integer"
  16031. },
  16032. "applytime": {
  16033. "description": "申请时间",
  16034. "type": "string"
  16035. },
  16036. "auditid": {
  16037. "description": "审核人",
  16038. "type": "integer"
  16039. },
  16040. "auditname": {
  16041. "description": "审核人名称",
  16042. "type": "string"
  16043. },
  16044. "auditremark": {
  16045. "description": "审核备注",
  16046. "type": "string"
  16047. },
  16048. "auditsrc": {
  16049. "description": "审核来源 - 1:管理端 2:终端",
  16050. "type": "integer"
  16051. },
  16052. "audittime": {
  16053. "description": "审核时间",
  16054. "type": "string"
  16055. },
  16056. "audittradedate": {
  16057. "description": "审核交易日(yyyyMMdd)",
  16058. "type": "string"
  16059. },
  16060. "brandname": {
  16061. "description": "品牌名称",
  16062. "type": "string"
  16063. },
  16064. "buynickname": {
  16065. "description": "采购方昵称",
  16066. "type": "string"
  16067. },
  16068. "buyuserid": {
  16069. "description": "采购方userid",
  16070. "type": "integer"
  16071. },
  16072. "buyusername": {
  16073. "description": "采购方名称",
  16074. "type": "string"
  16075. },
  16076. "contractno": {
  16077. "description": "合同编号",
  16078. "type": "string"
  16079. },
  16080. "contractqty": {
  16081. "description": "合同量",
  16082. "type": "number"
  16083. },
  16084. "contracttype": {
  16085. "description": "现货合同类型 - 1:采购 -1:销售",
  16086. "type": "integer"
  16087. },
  16088. "deliverygoodscode": {
  16089. "description": "现货品种代码",
  16090. "type": "string"
  16091. },
  16092. "deliverygoodsid": {
  16093. "description": "现货品种id",
  16094. "type": "integer"
  16095. },
  16096. "deliverygoodsname": {
  16097. "description": "现货品种名称",
  16098. "type": "string"
  16099. },
  16100. "detailjson": {
  16101. "description": "明细数据",
  16102. "type": "string"
  16103. },
  16104. "enumdicname": {
  16105. "description": "现货商品单位名称",
  16106. "type": "string"
  16107. },
  16108. "inoutapplyid": {
  16109. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16110. "type": "string"
  16111. },
  16112. "inouttype": {
  16113. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16114. "type": "integer"
  16115. },
  16116. "pricetype": {
  16117. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16118. "type": "integer"
  16119. },
  16120. "qty": {
  16121. "description": "数量",
  16122. "type": "number"
  16123. },
  16124. "sellnickname": {
  16125. "description": "销售方昵称",
  16126. "type": "string"
  16127. },
  16128. "selluserid": {
  16129. "description": "销售方userid",
  16130. "type": "integer"
  16131. },
  16132. "sellusername": {
  16133. "description": "销售方名称",
  16134. "type": "string"
  16135. },
  16136. "spotcontractid": {
  16137. "description": "关联现货合同ID",
  16138. "type": "string"
  16139. },
  16140. "spotgoodsbrandid": {
  16141. "description": "现货品牌ID",
  16142. "type": "integer"
  16143. },
  16144. "unitid": {
  16145. "description": "单位id",
  16146. "type": "integer"
  16147. },
  16148. "userid": {
  16149. "description": "机构ID",
  16150. "type": "integer"
  16151. },
  16152. "warehousecode": {
  16153. "description": "仓库代码",
  16154. "type": "string"
  16155. },
  16156. "warehouseinfoid": {
  16157. "description": "现货仓库ID",
  16158. "type": "string"
  16159. },
  16160. "warehousename": {
  16161. "description": "仓库名称",
  16162. "type": "string"
  16163. },
  16164. "warehousetype": {
  16165. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16166. "type": "integer"
  16167. },
  16168. "wrstandardcode": {
  16169. "description": "品类代码",
  16170. "type": "string"
  16171. },
  16172. "wrstandardid": {
  16173. "description": "品类ID",
  16174. "type": "integer"
  16175. },
  16176. "wrstandardname": {
  16177. "description": "品类名称",
  16178. "type": "string"
  16179. }
  16180. }
  16181. },
  16182. "models.Ermcp3AreaStockApplySum": {
  16183. "type": "object",
  16184. "properties": {
  16185. "brandname": {
  16186. "description": "品牌名称",
  16187. "type": "string"
  16188. },
  16189. "inouttype": {
  16190. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16191. "type": "integer"
  16192. },
  16193. "spotcontractid": {
  16194. "description": "关联现货合同ID",
  16195. "type": "string"
  16196. },
  16197. "spotgoodsbrandid": {
  16198. "description": "品牌id",
  16199. "type": "integer"
  16200. },
  16201. "totalqty": {
  16202. "description": "总数量",
  16203. "type": "number"
  16204. },
  16205. "wrstandardid": {
  16206. "description": "品类id",
  16207. "type": "integer"
  16208. },
  16209. "wrstandardname": {
  16210. "description": "品类名称",
  16211. "type": "string"
  16212. }
  16213. }
  16214. },
  16215. "models.Ermcp3AreaStockReportEx": {
  16216. "type": "object",
  16217. "properties": {
  16218. "begindate": {
  16219. "description": "开始交易日",
  16220. "type": "string"
  16221. },
  16222. "brandname": {
  16223. "description": "品牌名称",
  16224. "type": "string"
  16225. },
  16226. "curstock": {
  16227. "description": "期末库存量",
  16228. "type": "number"
  16229. },
  16230. "cycletime": {
  16231. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16232. "type": "string"
  16233. },
  16234. "cycletype": {
  16235. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16236. "type": "integer"
  16237. },
  16238. "deliverygoodscode": {
  16239. "description": "现货品种代码",
  16240. "type": "string"
  16241. },
  16242. "deliverygoodsid": {
  16243. "description": "现货品种id",
  16244. "type": "integer"
  16245. },
  16246. "deliverygoodsname": {
  16247. "description": "现货品种名称",
  16248. "type": "string"
  16249. },
  16250. "diffqty": {
  16251. "description": "库存变化量 = 期末 - 期初",
  16252. "type": "number"
  16253. },
  16254. "enddate": {
  16255. "description": "结束交易日",
  16256. "type": "string"
  16257. },
  16258. "enumdicname": {
  16259. "description": "单位名称",
  16260. "type": "string"
  16261. },
  16262. "goodsunitid": {
  16263. "description": "现货单位id",
  16264. "type": "integer"
  16265. },
  16266. "oristock": {
  16267. "description": "期初库存量",
  16268. "type": "number"
  16269. },
  16270. "reckondate": {
  16271. "description": "日照时期(yyyyMMdd)",
  16272. "type": "string"
  16273. },
  16274. "spotgoodsbrandid": {
  16275. "description": "现货品牌ID",
  16276. "type": "integer"
  16277. },
  16278. "todaybuyinqty": {
  16279. "description": "今采购入库量",
  16280. "type": "number"
  16281. },
  16282. "todayproduceinqty": {
  16283. "description": "今内部入库量",
  16284. "type": "number"
  16285. },
  16286. "todayproduceoutqty": {
  16287. "description": "今内部出库量",
  16288. "type": "number"
  16289. },
  16290. "todayselloutqty": {
  16291. "description": "今销售出库量",
  16292. "type": "number"
  16293. },
  16294. "unbuyinqty": {
  16295. "description": "采购未入库量(数据库未找到相关字段?)",
  16296. "type": "number"
  16297. },
  16298. "unitid": {
  16299. "description": "品类单位id",
  16300. "type": "integer"
  16301. },
  16302. "unselloutqty": {
  16303. "description": "销售未出库量(数据库未找到相关字段?)",
  16304. "type": "number"
  16305. },
  16306. "updatetime": {
  16307. "description": "更新时间",
  16308. "type": "string"
  16309. },
  16310. "userid": {
  16311. "description": "机构ID",
  16312. "type": "integer"
  16313. },
  16314. "username": {
  16315. "description": "机构名称",
  16316. "type": "string"
  16317. },
  16318. "warehousecode": {
  16319. "description": "仓库代码",
  16320. "type": "string"
  16321. },
  16322. "warehouseinfoid": {
  16323. "description": "仓库ID",
  16324. "type": "string"
  16325. },
  16326. "warehousename": {
  16327. "description": "仓库名称",
  16328. "type": "string"
  16329. },
  16330. "warehousetype": {
  16331. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16332. "type": "integer"
  16333. },
  16334. "wrstandardcode": {
  16335. "description": "品类代码",
  16336. "type": "string"
  16337. },
  16338. "wrstandardid": {
  16339. "description": "品类ID",
  16340. "type": "integer"
  16341. },
  16342. "wrstandardname": {
  16343. "description": "品类名称",
  16344. "type": "string"
  16345. }
  16346. }
  16347. },
  16348. "models.Ermcp3ArealSumPL": {
  16349. "type": "object",
  16350. "properties": {
  16351. "accountname": {
  16352. "description": "机构名称",
  16353. "type": "string"
  16354. },
  16355. "areauserid": {
  16356. "description": "所属机构\\交易用户ID",
  16357. "type": "integer"
  16358. },
  16359. "begindate": {
  16360. "description": "开始交易日",
  16361. "type": "string"
  16362. },
  16363. "currencyid": {
  16364. "description": "结算币种ID",
  16365. "type": "integer"
  16366. },
  16367. "currencyname": {
  16368. "description": "币种名称",
  16369. "type": "string"
  16370. },
  16371. "cycletime": {
  16372. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16373. "type": "string"
  16374. },
  16375. "cycletype": {
  16376. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16377. "type": "integer"
  16378. },
  16379. "enddate": {
  16380. "description": "结束交易日",
  16381. "type": "string"
  16382. },
  16383. "enumdicname": {
  16384. "description": "单位名称(套保品种)",
  16385. "type": "string"
  16386. },
  16387. "futureactualpl": {
  16388. "description": "期货损益",
  16389. "type": "number"
  16390. },
  16391. "futurefloatpl": {
  16392. "description": "期货浮动损益",
  16393. "type": "number"
  16394. },
  16395. "goodsunitid": {
  16396. "description": "套保品种单位id",
  16397. "type": "integer"
  16398. },
  16399. "middlegoodscode": {
  16400. "description": "套保品种代码",
  16401. "type": "string"
  16402. },
  16403. "middlegoodsid": {
  16404. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16405. "type": "integer"
  16406. },
  16407. "middlegoodsname": {
  16408. "description": "套保品种名称",
  16409. "type": "string"
  16410. },
  16411. "reckondate": {
  16412. "description": "日照时期(yyyyMMdd)",
  16413. "type": "string"
  16414. },
  16415. "spotactualpl": {
  16416. "description": "现货损益",
  16417. "type": "number"
  16418. },
  16419. "spotfloatpl": {
  16420. "description": "现货浮动损益",
  16421. "type": "number"
  16422. },
  16423. "sumactualpl": {
  16424. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16425. "type": "number"
  16426. },
  16427. "sumpl": {
  16428. "description": "汇总损益",
  16429. "type": "number"
  16430. },
  16431. "updatetime": {
  16432. "description": "更新时间",
  16433. "type": "string"
  16434. }
  16435. }
  16436. },
  16437. "models.Ermcp3Brand": {
  16438. "type": "object",
  16439. "properties": {
  16440. "areauserid": {
  16441. "description": "用户id",
  16442. "type": "integer"
  16443. },
  16444. "brandid": {
  16445. "description": "品牌id",
  16446. "type": "integer"
  16447. },
  16448. "brandname": {
  16449. "description": "品牌名称",
  16450. "type": "string"
  16451. },
  16452. "deliverygoodsid": {
  16453. "description": "品种ID",
  16454. "type": "integer"
  16455. }
  16456. }
  16457. },
  16458. "models.Ermcp3Contract": {
  16459. "type": "object",
  16460. "properties": {
  16461. "accountid": {
  16462. "description": "期货账户id",
  16463. "type": "string"
  16464. },
  16465. "amount": {
  16466. "description": "金额 [1:一口价、3:暂定价]",
  16467. "type": "number"
  16468. },
  16469. "attachment": {
  16470. "description": "附件",
  16471. "type": "string"
  16472. },
  16473. "auditremark": {
  16474. "description": "审核意见",
  16475. "type": "string"
  16476. },
  16477. "audittime": {
  16478. "description": "审核时间",
  16479. "type": "string"
  16480. },
  16481. "biztype": {
  16482. "description": "业务类型 1-套保 2-套利",
  16483. "type": "integer"
  16484. },
  16485. "brandname": {
  16486. "description": "品牌名称",
  16487. "type": "string"
  16488. },
  16489. "buynickname": {
  16490. "description": "销售方昵称",
  16491. "type": "string"
  16492. },
  16493. "buyuserid": {
  16494. "description": "采购方ID",
  16495. "type": "integer"
  16496. },
  16497. "buyusername": {
  16498. "description": "采购方名称",
  16499. "type": "string"
  16500. },
  16501. "contracctstatus": {
  16502. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16503. "type": "integer"
  16504. },
  16505. "contractmargin": {
  16506. "description": "合同保证金",
  16507. "type": "number"
  16508. },
  16509. "contractno": {
  16510. "description": "现货合同编号",
  16511. "type": "string"
  16512. },
  16513. "contracttype": {
  16514. "description": "现货合同类型 - 1:采购 -1:销售",
  16515. "type": "integer"
  16516. },
  16517. "convertfactor": {
  16518. "description": "标仓系数(品类)",
  16519. "type": "number"
  16520. },
  16521. "createtime": {
  16522. "description": "创建时间",
  16523. "type": "string"
  16524. },
  16525. "currencyid": {
  16526. "description": "币种id",
  16527. "type": "integer"
  16528. },
  16529. "currencyname": {
  16530. "description": "币种名称",
  16531. "type": "string"
  16532. },
  16533. "deliveryenddate": {
  16534. "description": "交收期(结束)",
  16535. "type": "string"
  16536. },
  16537. "deliverygoodscode": {
  16538. "description": "现货品种代码",
  16539. "type": "string"
  16540. },
  16541. "deliverygoodsid": {
  16542. "description": "现货品种ID",
  16543. "type": "integer"
  16544. },
  16545. "deliverygoodsname": {
  16546. "description": "现货品种名称",
  16547. "type": "string"
  16548. },
  16549. "deliverystartdate": {
  16550. "description": "交收期(开始)",
  16551. "type": "string"
  16552. },
  16553. "enddate": {
  16554. "description": "点价结束日期 [2:点价 3:暂定价]",
  16555. "type": "string"
  16556. },
  16557. "enumdicname": {
  16558. "description": "单位名称",
  16559. "type": "string"
  16560. },
  16561. "goodscode": {
  16562. "description": "点价合约代码",
  16563. "type": "string"
  16564. },
  16565. "goodsid": {
  16566. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16567. "type": "integer"
  16568. },
  16569. "goodsname": {
  16570. "description": "点价商品名称",
  16571. "type": "string"
  16572. },
  16573. "margin": {
  16574. "description": "当前保证金",
  16575. "type": "number"
  16576. },
  16577. "meruserid": {
  16578. "description": "跟单员id",
  16579. "type": "integer"
  16580. },
  16581. "meruserlogincode": {
  16582. "description": "跟单员登录代码",
  16583. "type": "string"
  16584. },
  16585. "merusername": {
  16586. "description": "跟单员名称",
  16587. "type": "string"
  16588. },
  16589. "price": {
  16590. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16591. "type": "number"
  16592. },
  16593. "pricemove": {
  16594. "description": "升贴水 [2:点价 3:暂定价]",
  16595. "type": "number"
  16596. },
  16597. "pricetype": {
  16598. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16599. "type": "integer"
  16600. },
  16601. "producttype": {
  16602. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16603. "type": "integer"
  16604. },
  16605. "qty": {
  16606. "description": "数量",
  16607. "type": "number"
  16608. },
  16609. "remark": {
  16610. "description": "备注",
  16611. "type": "string"
  16612. },
  16613. "saleuserid": {
  16614. "description": "业务员id",
  16615. "type": "integer"
  16616. },
  16617. "saleuserlogincode": {
  16618. "description": "业务员登录代码",
  16619. "type": "string"
  16620. },
  16621. "saleusername": {
  16622. "description": "业务员名称",
  16623. "type": "string"
  16624. },
  16625. "sellnickname": {
  16626. "description": "采购方昵称",
  16627. "type": "string"
  16628. },
  16629. "selluserid": {
  16630. "description": "销售方ID",
  16631. "type": "integer"
  16632. },
  16633. "sellusername": {
  16634. "description": "销售方名称",
  16635. "type": "string"
  16636. },
  16637. "spotcontractid": {
  16638. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16639. "type": "string"
  16640. },
  16641. "spotgoodsbrandid": {
  16642. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16643. "type": "integer"
  16644. },
  16645. "spotgoodsdesc": {
  16646. "description": "商品型号",
  16647. "type": "string"
  16648. },
  16649. "startdate": {
  16650. "description": "点价开始日期 [2:点价 3:暂定价]",
  16651. "type": "string"
  16652. },
  16653. "tradeuserid": {
  16654. "description": "交易员id",
  16655. "type": "integer"
  16656. },
  16657. "tradeuserlogincode": {
  16658. "description": "交易员登录代码",
  16659. "type": "string"
  16660. },
  16661. "tradeusername": {
  16662. "description": "交易员名称",
  16663. "type": "string"
  16664. },
  16665. "unitid": {
  16666. "description": "单位id(取品类上的单位id)",
  16667. "type": "integer"
  16668. },
  16669. "updatetime": {
  16670. "description": "更新时间",
  16671. "type": "string"
  16672. },
  16673. "userid": {
  16674. "description": "所属机构ID",
  16675. "type": "integer"
  16676. },
  16677. "wrstandardcode": {
  16678. "description": "品类代码",
  16679. "type": "string"
  16680. },
  16681. "wrstandardid": {
  16682. "description": "品类ID",
  16683. "type": "integer"
  16684. },
  16685. "wrstandardname": {
  16686. "description": "品类名称",
  16687. "type": "string"
  16688. }
  16689. }
  16690. },
  16691. "models.Ermcp3ExposureContractDetail": {
  16692. "type": "object",
  16693. "properties": {
  16694. "biztype": {
  16695. "description": "业务类型 1-套保 2-套利",
  16696. "type": "integer"
  16697. },
  16698. "brandname": {
  16699. "description": "品牌名称",
  16700. "type": "string"
  16701. },
  16702. "buyuserid": {
  16703. "description": "采购方id",
  16704. "type": "integer"
  16705. },
  16706. "buyusername": {
  16707. "description": "采购方名称",
  16708. "type": "string"
  16709. },
  16710. "contractno": {
  16711. "description": "合同编号",
  16712. "type": "string"
  16713. },
  16714. "contracttype": {
  16715. "description": "现货合同类型 - 1:采购 -1:销售",
  16716. "type": "integer"
  16717. },
  16718. "convertfactor": {
  16719. "description": "标仓系数",
  16720. "type": "number"
  16721. },
  16722. "convertratio": {
  16723. "description": "折算系数(套保品种)",
  16724. "type": "number"
  16725. },
  16726. "curqty": {
  16727. "description": "今定价量",
  16728. "type": "number"
  16729. },
  16730. "deliverygoodscode": {
  16731. "description": "现货商品代码",
  16732. "type": "string"
  16733. },
  16734. "deliverygoodsid": {
  16735. "description": "现货商品id",
  16736. "type": "integer"
  16737. },
  16738. "deliverygoodsname": {
  16739. "description": "现货商品名称",
  16740. "type": "string"
  16741. },
  16742. "diffhedgeqty": {
  16743. "description": "套保变动量",
  16744. "type": "number"
  16745. },
  16746. "diffneedhedgeqty": {
  16747. "description": "应套保变动量",
  16748. "type": "number"
  16749. },
  16750. "diffqty": {
  16751. "description": "套保品种今变动量",
  16752. "type": "number"
  16753. },
  16754. "enumdicname": {
  16755. "description": "单位名称",
  16756. "type": "string"
  16757. },
  16758. "middlegoodscode": {
  16759. "description": "套保品种代码",
  16760. "type": "string"
  16761. },
  16762. "middlegoodsid": {
  16763. "description": "套保品种id",
  16764. "type": "integer"
  16765. },
  16766. "middlegoodsname": {
  16767. "description": "套保品种名称",
  16768. "type": "string"
  16769. },
  16770. "needarbitrageratio": {
  16771. "description": "应套利比例",
  16772. "type": "number"
  16773. },
  16774. "needhedgeratio": {
  16775. "description": "应套保比例",
  16776. "type": "number"
  16777. },
  16778. "pricedqty": {
  16779. "description": "已定价量",
  16780. "type": "number"
  16781. },
  16782. "qty": {
  16783. "description": "合同量",
  16784. "type": "number"
  16785. },
  16786. "selluserid": {
  16787. "description": "销售方id",
  16788. "type": "integer"
  16789. },
  16790. "sellusername": {
  16791. "description": "销售方名称",
  16792. "type": "string"
  16793. },
  16794. "spotcontractid": {
  16795. "description": "合同id",
  16796. "type": "string"
  16797. },
  16798. "todaypricedqty": {
  16799. "description": "今定价量",
  16800. "type": "number"
  16801. },
  16802. "tradedate": {
  16803. "description": "交易日",
  16804. "type": "string"
  16805. },
  16806. "unitid": {
  16807. "description": "品类单位id",
  16808. "type": "integer"
  16809. },
  16810. "userid": {
  16811. "description": "机构id",
  16812. "type": "integer"
  16813. },
  16814. "wrstandardcode": {
  16815. "description": "品类代码",
  16816. "type": "string"
  16817. },
  16818. "wrstandardid": {
  16819. "description": "品类id",
  16820. "type": "integer"
  16821. },
  16822. "wrstandardname": {
  16823. "description": "品类名称",
  16824. "type": "string"
  16825. }
  16826. }
  16827. },
  16828. "models.Ermcp3ExposureDetail": {
  16829. "type": "object",
  16830. "properties": {
  16831. "areauserid": {
  16832. "description": "机构ID",
  16833. "type": "integer"
  16834. },
  16835. "changeQty": {
  16836. "description": "套保变动量",
  16837. "type": "number"
  16838. },
  16839. "contracttype": {
  16840. "description": "现货合同类型 - 1:采购 -1:销售",
  16841. "type": "integer"
  16842. },
  16843. "convertfactor": {
  16844. "description": "标仓系数",
  16845. "type": "number"
  16846. },
  16847. "convertratio": {
  16848. "description": "套保系数",
  16849. "type": "number"
  16850. },
  16851. "createtime": {
  16852. "description": "时间",
  16853. "type": "string"
  16854. },
  16855. "deliverygoodscode": {
  16856. "description": "现货品种代码",
  16857. "type": "string"
  16858. },
  16859. "deliverygoodsid": {
  16860. "description": "现货品种id",
  16861. "type": "integer"
  16862. },
  16863. "deliverygoodsname": {
  16864. "description": "现货品种名称",
  16865. "type": "string"
  16866. },
  16867. "enumdicname": {
  16868. "description": "现货商品单位名称",
  16869. "type": "string"
  16870. },
  16871. "logtype": {
  16872. "description": "类型 - 1:套保计划 2:现货合同",
  16873. "type": "integer"
  16874. },
  16875. "mgunitid": {
  16876. "description": "套保品种单位id",
  16877. "type": "integer"
  16878. },
  16879. "mgunitidname": {
  16880. "description": "套保品种单位名称",
  16881. "type": "string"
  16882. },
  16883. "middlegoodsId": {
  16884. "description": "套保商品id",
  16885. "type": "integer"
  16886. },
  16887. "middlegoodscode": {
  16888. "description": "套保商品代码",
  16889. "type": "string"
  16890. },
  16891. "middlegoodsname": {
  16892. "description": "套保商品名称",
  16893. "type": "string"
  16894. },
  16895. "qty": {
  16896. "description": "数量",
  16897. "type": "number"
  16898. },
  16899. "relateNo": {
  16900. "description": "现货合同/套保计划编号",
  16901. "type": "string"
  16902. }
  16903. }
  16904. },
  16905. "models.Ermcp3ExposureFutuDetail": {
  16906. "type": "object",
  16907. "properties": {
  16908. "accountid": {
  16909. "description": "交易账户id",
  16910. "type": "integer"
  16911. },
  16912. "accountname": {
  16913. "description": "交易账户",
  16914. "type": "string"
  16915. },
  16916. "begindate": {
  16917. "description": "开始交易日",
  16918. "type": "string"
  16919. },
  16920. "buyorsell": {
  16921. "description": "方向 0-买 1-卖",
  16922. "type": "integer"
  16923. },
  16924. "diffmgqty": {
  16925. "description": "套保品种今变化量",
  16926. "type": "number"
  16927. },
  16928. "diffneedqty": {
  16929. "description": "应套保总量变化量",
  16930. "type": "number"
  16931. },
  16932. "difftradeqty": {
  16933. "description": "交易品种今变化量",
  16934. "type": "number"
  16935. },
  16936. "enddate": {
  16937. "description": "结束交易日",
  16938. "type": "string"
  16939. },
  16940. "enumdicname": {
  16941. "description": "单位名称",
  16942. "type": "string"
  16943. },
  16944. "goodscode": {
  16945. "description": "商品代码",
  16946. "type": "string"
  16947. },
  16948. "goodsid": {
  16949. "description": "商品id",
  16950. "type": "integer"
  16951. },
  16952. "goodsname": {
  16953. "description": "商品名称",
  16954. "type": "string"
  16955. },
  16956. "holdqty": {
  16957. "description": "期末持仓量",
  16958. "type": "number"
  16959. },
  16960. "middlegoodscode": {
  16961. "description": "套保商品代码",
  16962. "type": "string"
  16963. },
  16964. "middlegoodsid": {
  16965. "description": "套保商品id",
  16966. "type": "integer"
  16967. },
  16968. "middlegoodsname": {
  16969. "description": "套保商品名称",
  16970. "type": "string"
  16971. },
  16972. "oriholdqty": {
  16973. "description": "期初持仓量",
  16974. "type": "number"
  16975. },
  16976. "todaycloseqty": {
  16977. "description": "今平仓量",
  16978. "type": "number"
  16979. },
  16980. "todayopenqty": {
  16981. "description": "今开仓量",
  16982. "type": "number"
  16983. },
  16984. "tradedate": {
  16985. "description": "交易日",
  16986. "type": "string"
  16987. }
  16988. }
  16989. },
  16990. "models.Ermcp3ExposureHedgeplanDetail": {
  16991. "type": "object",
  16992. "properties": {
  16993. "biztype": {
  16994. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  16995. "type": "integer"
  16996. },
  16997. "changqty": {
  16998. "description": "应套保总量变化量",
  16999. "type": "number"
  17000. },
  17001. "contracttype": {
  17002. "description": "计划类型 - 1:采购 -1:销售",
  17003. "type": "integer"
  17004. },
  17005. "convertratio": {
  17006. "description": "折算系数(套保品种)",
  17007. "type": "number"
  17008. },
  17009. "deliverygoodscode": {
  17010. "description": "现货商品代码",
  17011. "type": "string"
  17012. },
  17013. "deliverygoodsid": {
  17014. "description": "现货商品id",
  17015. "type": "integer"
  17016. },
  17017. "deliverygoodsname": {
  17018. "description": "现货商吕名称",
  17019. "type": "string"
  17020. },
  17021. "dgunitid": {
  17022. "description": "现货商品单位id",
  17023. "type": "integer"
  17024. },
  17025. "dgunitidname": {
  17026. "description": "单位名称(现货商品)",
  17027. "type": "string"
  17028. },
  17029. "diffqty": {
  17030. "description": "套保品种今变动量",
  17031. "type": "number"
  17032. },
  17033. "enumdicname": {
  17034. "description": "单位名称(品类)",
  17035. "type": "string"
  17036. },
  17037. "hedgeplanid": {
  17038. "description": "套保计划id",
  17039. "type": "string"
  17040. },
  17041. "hedgeplanno": {
  17042. "description": "套保计划名称",
  17043. "type": "string"
  17044. },
  17045. "hedgeplanstatus": {
  17046. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17047. "type": "integer"
  17048. },
  17049. "mgunitidname": {
  17050. "description": "单位名称(套保商品)",
  17051. "type": "string"
  17052. },
  17053. "middlegoodscode": {
  17054. "description": "套保品种代码",
  17055. "type": "string"
  17056. },
  17057. "middlegoodsid": {
  17058. "description": "套保品种id",
  17059. "type": "integer"
  17060. },
  17061. "middlegoodsname": {
  17062. "description": "套保品种名称",
  17063. "type": "string"
  17064. },
  17065. "needarbitrageratio": {
  17066. "description": "应套利比例",
  17067. "type": "number"
  17068. },
  17069. "needhedgeratio": {
  17070. "description": "应套保比例",
  17071. "type": "number"
  17072. },
  17073. "pricedqty": {
  17074. "description": "已定价量",
  17075. "type": "number"
  17076. },
  17077. "qty": {
  17078. "description": "合同量",
  17079. "type": "number"
  17080. },
  17081. "tradedate": {
  17082. "description": "交易日(登记日)",
  17083. "type": "string"
  17084. },
  17085. "unitid": {
  17086. "description": "品类单位id",
  17087. "type": "integer"
  17088. },
  17089. "userid": {
  17090. "description": "机构id",
  17091. "type": "integer"
  17092. },
  17093. "wrstandardcode": {
  17094. "description": "品类代码",
  17095. "type": "string"
  17096. },
  17097. "wrstandardid": {
  17098. "description": "品类id",
  17099. "type": "integer"
  17100. },
  17101. "wrstandardname": {
  17102. "description": "品类名称",
  17103. "type": "string"
  17104. }
  17105. }
  17106. },
  17107. "models.Ermcp3ExposureParamChLog": {
  17108. "type": "object",
  17109. "properties": {
  17110. "accountid": {
  17111. "description": "期货账户ID (作废, 默认为0)",
  17112. "type": "integer"
  17113. },
  17114. "aftervalue": {
  17115. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17116. "type": "number"
  17117. },
  17118. "areauserid": {
  17119. "description": "所属机构\\交易用户ID",
  17120. "type": "integer"
  17121. },
  17122. "beforevalue": {
  17123. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17124. "type": "number"
  17125. },
  17126. "begindate": {
  17127. "description": "开始交易日",
  17128. "type": "string"
  17129. },
  17130. "changelogtype": {
  17131. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17132. "type": "integer"
  17133. },
  17134. "curvalue": {
  17135. "description": "当前套保\\套利量(套保总量|套利总量)",
  17136. "type": "number"
  17137. },
  17138. "diffvalue": {
  17139. "description": "应套保总量变化量",
  17140. "type": "number"
  17141. },
  17142. "enddate": {
  17143. "description": "结束交易日",
  17144. "type": "string"
  17145. },
  17146. "logdatetime": {
  17147. "description": "流水日期",
  17148. "type": "string"
  17149. },
  17150. "logid": {
  17151. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17152. "type": "string"
  17153. },
  17154. "middlegoodscode": {
  17155. "description": "套保品种代码",
  17156. "type": "string"
  17157. },
  17158. "middlegoodsid": {
  17159. "description": "套保品种",
  17160. "type": "integer"
  17161. },
  17162. "middlegoodsname": {
  17163. "description": "套保品种名称",
  17164. "type": "string"
  17165. },
  17166. "paramaftervalue": {
  17167. "description": "参数变更后(调整后参数值)",
  17168. "type": "number"
  17169. },
  17170. "parambeforevalue": {
  17171. "description": "参数变更前(调整前参数值)",
  17172. "type": "number"
  17173. },
  17174. "tradedate": {
  17175. "description": "交易日(yyyyMMdd)",
  17176. "type": "string"
  17177. }
  17178. }
  17179. },
  17180. "models.Ermcp3ExpourseReport": {
  17181. "type": "object",
  17182. "properties": {
  17183. "accountid": {
  17184. "description": "期货账户ID (作废, 默认为0)",
  17185. "type": "integer"
  17186. },
  17187. "accountname": {
  17188. "description": "机构名称",
  17189. "type": "string"
  17190. },
  17191. "arbitrageqty": {
  17192. "description": "套利量",
  17193. "type": "number"
  17194. },
  17195. "areauserid": {
  17196. "description": "所属机构\\交易用户ID",
  17197. "type": "integer"
  17198. },
  17199. "begindate": {
  17200. "description": "开始交易日",
  17201. "type": "string"
  17202. },
  17203. "buyfutureqty": {
  17204. "description": "买入期货数量",
  17205. "type": "number"
  17206. },
  17207. "buyplanqty": {
  17208. "description": "采购计划数量",
  17209. "type": "number"
  17210. },
  17211. "buypricedqty": {
  17212. "description": "采购合同已定价数量",
  17213. "type": "number"
  17214. },
  17215. "cycletime": {
  17216. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17217. "type": "string"
  17218. },
  17219. "cycletype": {
  17220. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17221. "type": "integer"
  17222. },
  17223. "diffexposure": {
  17224. "description": "变动量(套保敞口)",
  17225. "type": "number"
  17226. },
  17227. "difffutuqty": {
  17228. "description": "变动量(期货)",
  17229. "type": "number"
  17230. },
  17231. "diffhedgeqty": {
  17232. "description": "变动量(现货应套保总量)",
  17233. "type": "number"
  17234. },
  17235. "diffmgqtya": {
  17236. "description": "套保变动量",
  17237. "type": "number"
  17238. },
  17239. "diffmgqtyb": {
  17240. "description": "套利变动量",
  17241. "type": "number"
  17242. },
  17243. "diffqty": {
  17244. "description": "变动量(总敞口)",
  17245. "type": "number"
  17246. },
  17247. "diffspotqty": {
  17248. "description": "变动量(现货)",
  17249. "type": "number"
  17250. },
  17251. "enddate": {
  17252. "description": "结束交易日",
  17253. "type": "string"
  17254. },
  17255. "enumdicname": {
  17256. "description": "单位名称",
  17257. "type": "string"
  17258. },
  17259. "hedgeqty": {
  17260. "description": "套保量",
  17261. "type": "number"
  17262. },
  17263. "mgneedhedgeratio": {
  17264. "description": "套保比例(套保品的)",
  17265. "type": "number"
  17266. },
  17267. "middlegoodsid": {
  17268. "description": "套保品种ID",
  17269. "type": "integer"
  17270. },
  17271. "middlegoodsname": {
  17272. "description": "套保商品名称",
  17273. "type": "string"
  17274. },
  17275. "middlgoodscode": {
  17276. "description": "套保商品代码",
  17277. "type": "string"
  17278. },
  17279. "needarbitrageqty": {
  17280. "description": "应套利量",
  17281. "type": "number"
  17282. },
  17283. "needarbitrageratio": {
  17284. "description": "套利比例(套保品的)",
  17285. "type": "number"
  17286. },
  17287. "needhedgeexposoure": {
  17288. "description": "应套保敞口(套保敞口)",
  17289. "type": "number"
  17290. },
  17291. "needhedgeqty": {
  17292. "description": "应套保量",
  17293. "type": "number"
  17294. },
  17295. "needhedgeratio": {
  17296. "description": "应套保敞口比例",
  17297. "type": "number"
  17298. },
  17299. "oriarbitrageqty": {
  17300. "description": "期初套利量",
  17301. "type": "number"
  17302. },
  17303. "oribuyfutureqty": {
  17304. "description": "期初买入期货数量",
  17305. "type": "number"
  17306. },
  17307. "oribuyplanqty": {
  17308. "description": "期初采购计划数量",
  17309. "type": "number"
  17310. },
  17311. "oribuypricedqty": {
  17312. "description": "期初采购合同已定价数量",
  17313. "type": "number"
  17314. },
  17315. "orihedgeqty": {
  17316. "description": "期初套保量",
  17317. "type": "number"
  17318. },
  17319. "orineedarbitrageqty": {
  17320. "description": "期初应套利量",
  17321. "type": "number"
  17322. },
  17323. "orineedhedgeexposoure": {
  17324. "description": "期初应套保敞口",
  17325. "type": "number"
  17326. },
  17327. "orineedhedgeqty": {
  17328. "description": "期初应套保量",
  17329. "type": "number"
  17330. },
  17331. "orisellfutureqty": {
  17332. "description": "期初卖出期货数量",
  17333. "type": "number"
  17334. },
  17335. "orisellplanqty": {
  17336. "description": "期初销售计划数量",
  17337. "type": "number"
  17338. },
  17339. "orisellpricedqty": {
  17340. "description": "期初销售合同已定价数量",
  17341. "type": "number"
  17342. },
  17343. "oritotalexposure": {
  17344. "description": "期初实时总敞口",
  17345. "type": "number"
  17346. },
  17347. "oritotalfutureqty": {
  17348. "description": "期初期货头寸总量",
  17349. "type": "number"
  17350. },
  17351. "oritotalneedhedgeqty": {
  17352. "description": "期初应套保总量",
  17353. "type": "number"
  17354. },
  17355. "oritotalspotqty": {
  17356. "description": "期初现货头寸总量",
  17357. "type": "number"
  17358. },
  17359. "reckondate": {
  17360. "description": "日照时期(yyyyMMdd)",
  17361. "type": "string"
  17362. },
  17363. "sellfutureqty": {
  17364. "description": "卖出期货数量",
  17365. "type": "number"
  17366. },
  17367. "sellplanqty": {
  17368. "description": "销售计划数量",
  17369. "type": "number"
  17370. },
  17371. "sellpricedqty": {
  17372. "description": "销售合同已定价数量",
  17373. "type": "number"
  17374. },
  17375. "totalexposure": {
  17376. "description": "实时总敞口(总敞口)",
  17377. "type": "number"
  17378. },
  17379. "totalfutureqty": {
  17380. "description": "期货头寸总量(期货总量)",
  17381. "type": "number"
  17382. },
  17383. "totalhedgeratio": {
  17384. "description": "敞口比例",
  17385. "type": "number"
  17386. },
  17387. "totalneedhedgeqty": {
  17388. "description": "应套保总量(现货应套保总量)",
  17389. "type": "number"
  17390. },
  17391. "totalspotqty": {
  17392. "description": "现货头寸总量",
  17393. "type": "number"
  17394. },
  17395. "unitid": {
  17396. "description": "单位id",
  17397. "type": "integer"
  17398. },
  17399. "updatetime": {
  17400. "description": "更新时间",
  17401. "type": "string"
  17402. }
  17403. }
  17404. },
  17405. "models.Ermcp3FinanceReport": {
  17406. "type": "object",
  17407. "properties": {
  17408. "accountname": {
  17409. "description": "机构名称",
  17410. "type": "string"
  17411. },
  17412. "areauserid": {
  17413. "description": "所属机构\\交易用户ID",
  17414. "type": "integer"
  17415. },
  17416. "begindate": {
  17417. "description": "开始交易日",
  17418. "type": "string"
  17419. },
  17420. "biztype": {
  17421. "description": "业务类型 - 1:套保 2:套利",
  17422. "type": "integer"
  17423. },
  17424. "brandname": {
  17425. "description": "品牌名称",
  17426. "type": "string"
  17427. },
  17428. "buypreinvoicedamount": {
  17429. "description": "采购预收票额(预收票额)",
  17430. "type": "number"
  17431. },
  17432. "buyprepaidamount": {
  17433. "description": "采购预付款额(预付货款额)",
  17434. "type": "number"
  17435. },
  17436. "buytodayinvoiceamount": {
  17437. "description": "采购今收票额(今收票额)",
  17438. "type": "number"
  17439. },
  17440. "buytodayrefundamount": {
  17441. "description": "采购今收退款额(今收退款额)",
  17442. "type": "number"
  17443. },
  17444. "buytodaysettleamount": {
  17445. "description": "采购今付款额(今付货款额)",
  17446. "type": "number"
  17447. },
  17448. "buyuninvoicedamount": {
  17449. "description": "采购应收票额(应收票额)",
  17450. "type": "number"
  17451. },
  17452. "buyunpaidamount": {
  17453. "description": "采购应付款额(应付货款额)",
  17454. "type": "number"
  17455. },
  17456. "currencyid": {
  17457. "description": "结算币种ID",
  17458. "type": "integer"
  17459. },
  17460. "currencyname": {
  17461. "description": "币种名称",
  17462. "type": "string"
  17463. },
  17464. "cycletime": {
  17465. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17466. "type": "string"
  17467. },
  17468. "cycletype": {
  17469. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17470. "type": "integer"
  17471. },
  17472. "deliverygoodscode": {
  17473. "description": "现货品种代码",
  17474. "type": "string"
  17475. },
  17476. "deliverygoodsid": {
  17477. "description": "现货品种ID",
  17478. "type": "integer"
  17479. },
  17480. "deliverygoodsname": {
  17481. "description": "现货品种名称",
  17482. "type": "string"
  17483. },
  17484. "enddate": {
  17485. "description": "结束交易日",
  17486. "type": "string"
  17487. },
  17488. "reckondate": {
  17489. "description": "日照时期(yyyyMMdd)",
  17490. "type": "string"
  17491. },
  17492. "sellpreinvoicedamount": {
  17493. "description": "销售预开票额(预开票额)",
  17494. "type": "number"
  17495. },
  17496. "sellprepaidamount": {
  17497. "description": "销售预收款额(预收货款额)",
  17498. "type": "number"
  17499. },
  17500. "selltodayinvoiceamount": {
  17501. "description": "销售今开票额(今开票额)",
  17502. "type": "number"
  17503. },
  17504. "selltodayrefundamount": {
  17505. "description": "销售今付退款额(今付退款额)",
  17506. "type": "number"
  17507. },
  17508. "selltodaysettleamount": {
  17509. "description": "销售今收款额(今收货款额)",
  17510. "type": "number"
  17511. },
  17512. "selluninvoicedamount": {
  17513. "description": "销售应开票额(应开票额)",
  17514. "type": "number"
  17515. },
  17516. "sellunpaidamount": {
  17517. "description": "销售应收款额(应收货款额)",
  17518. "type": "number"
  17519. },
  17520. "spotgoodsbrandid": {
  17521. "description": "现货品牌ID",
  17522. "type": "integer"
  17523. },
  17524. "todaypaysum": {
  17525. "description": "今付款合计",
  17526. "type": "number"
  17527. },
  17528. "todayreceivesum": {
  17529. "description": "今收款合计",
  17530. "type": "number"
  17531. },
  17532. "updatetime": {
  17533. "description": "更新时间",
  17534. "type": "string"
  17535. },
  17536. "wrfactortypeid": {
  17537. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17538. "type": "integer"
  17539. },
  17540. "wrstandardcode": {
  17541. "description": "品类代码",
  17542. "type": "string"
  17543. },
  17544. "wrstandardid": {
  17545. "description": "现货商品ID",
  17546. "type": "integer"
  17547. },
  17548. "wrstandardname": {
  17549. "description": "品类名称",
  17550. "type": "string"
  17551. }
  17552. }
  17553. },
  17554. "models.Ermcp3Goods": {
  17555. "type": "object",
  17556. "properties": {
  17557. "agreeunit": {
  17558. "description": "合约单位(合约乘数)",
  17559. "type": "number"
  17560. },
  17561. "enumdicname": {
  17562. "description": "单位名称",
  17563. "type": "string"
  17564. },
  17565. "exexchangecode": {
  17566. "description": "交易所代码",
  17567. "type": "string"
  17568. },
  17569. "goodscode": {
  17570. "description": "期货商品代码",
  17571. "type": "string"
  17572. },
  17573. "goodsid": {
  17574. "description": "期货商品id",
  17575. "type": "integer"
  17576. },
  17577. "goodsname": {
  17578. "description": "期货商品名称",
  17579. "type": "string"
  17580. }
  17581. }
  17582. },
  17583. "models.Ermcp3GoodsGroup": {
  17584. "type": "object",
  17585. "required": [
  17586. "areauserid"
  17587. ],
  17588. "properties": {
  17589. "agreeunit": {
  17590. "description": "合约单位",
  17591. "type": "number"
  17592. },
  17593. "areauserid": {
  17594. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17595. "type": "integer"
  17596. },
  17597. "canshort": {
  17598. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17599. "type": "integer"
  17600. },
  17601. "closepricemode": {
  17602. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17603. "type": "integer"
  17604. },
  17605. "createtime": {
  17606. "description": "创建时间",
  17607. "type": "string"
  17608. },
  17609. "creatorid": {
  17610. "description": "创建人",
  17611. "type": "integer"
  17612. },
  17613. "currencyid": {
  17614. "description": "报价货币ID",
  17615. "type": "integer"
  17616. },
  17617. "decimalplace": {
  17618. "description": "报价小数位",
  17619. "type": "integer"
  17620. },
  17621. "enumdicname": {
  17622. "description": "单位名称",
  17623. "type": "string"
  17624. },
  17625. "exchangefullname": {
  17626. "description": "交易所全称",
  17627. "type": "string"
  17628. },
  17629. "excludecfg": {
  17630. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17631. "type": "integer"
  17632. },
  17633. "exexchangecode": {
  17634. "description": "交易所代码",
  17635. "type": "string"
  17636. },
  17637. "exexchangeid": {
  17638. "description": "外部交易所ID[通道交易]",
  17639. "type": "integer"
  17640. },
  17641. "exexchangename": {
  17642. "description": "交易所名称",
  17643. "type": "string"
  17644. },
  17645. "goodsgroupid": {
  17646. "description": "商品组ID(自增ID)",
  17647. "type": "integer"
  17648. },
  17649. "goodsgroupname": {
  17650. "description": "商品组名称",
  17651. "type": "string"
  17652. },
  17653. "goodsgroupstatus": {
  17654. "description": "商品组状态 - 1:正常 2:注销",
  17655. "type": "integer"
  17656. },
  17657. "goodunitid": {
  17658. "description": "报价单位ID",
  17659. "type": "integer"
  17660. },
  17661. "groupcategroyid": {
  17662. "description": "品种分类ID",
  17663. "type": "integer"
  17664. },
  17665. "innerdealmode": {
  17666. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17667. "type": "integer"
  17668. },
  17669. "marketid": {
  17670. "description": "所属市场ID",
  17671. "type": "integer"
  17672. },
  17673. "modifierid": {
  17674. "description": "修改人",
  17675. "type": "integer"
  17676. },
  17677. "modifytime": {
  17678. "description": "修改时间",
  17679. "type": "string"
  17680. },
  17681. "outerdealmode": {
  17682. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17683. "type": "integer"
  17684. },
  17685. "outergroupcode": {
  17686. "description": "外部商品组代码[通道交易]",
  17687. "type": "string"
  17688. },
  17689. "quoteminunit": {
  17690. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17691. "type": "integer"
  17692. },
  17693. "quotesourcegroupid": {
  17694. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17695. "type": "integer"
  17696. },
  17697. "syncgoodsqty": {
  17698. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17699. "type": "integer"
  17700. }
  17701. }
  17702. },
  17703. "models.Ermcp3GoodsGroupEx": {
  17704. "type": "object",
  17705. "properties": {
  17706. "convertratio": {
  17707. "description": "折算系数(品种系数)",
  17708. "type": "number"
  17709. },
  17710. "enumdicname": {
  17711. "description": "单位名称",
  17712. "type": "string"
  17713. },
  17714. "exexchangecode": {
  17715. "description": "交易所代码",
  17716. "type": "string"
  17717. },
  17718. "glist": {
  17719. "description": "合约列表",
  17720. "type": "array",
  17721. "items": {
  17722. "$ref": "#/definitions/models.Ermcp3Goods"
  17723. }
  17724. },
  17725. "goodsgroupid": {
  17726. "description": "商品组id",
  17727. "type": "integer"
  17728. },
  17729. "goodsgroupname": {
  17730. "description": "商品组名称",
  17731. "type": "string"
  17732. },
  17733. "goodsunitid": {
  17734. "description": "单位id",
  17735. "type": "integer"
  17736. },
  17737. "middlegoodsid": {
  17738. "description": "套保商品id",
  17739. "type": "integer"
  17740. }
  17741. }
  17742. },
  17743. "models.Ermcp3HedgePlan": {
  17744. "type": "object",
  17745. "properties": {
  17746. "accountid": {
  17747. "description": "资金账号",
  17748. "type": "integer"
  17749. },
  17750. "areauserid": {
  17751. "description": "用户ID",
  17752. "type": "integer"
  17753. },
  17754. "auditid": {
  17755. "description": "审核id",
  17756. "type": "integer"
  17757. },
  17758. "auditname": {
  17759. "description": "审核人名称",
  17760. "type": "string"
  17761. },
  17762. "auditremark": {
  17763. "description": "审核备注",
  17764. "type": "string"
  17765. },
  17766. "auditsrc": {
  17767. "description": "审核来源 1-管理端 2-终端",
  17768. "type": "integer"
  17769. },
  17770. "audittime": {
  17771. "description": "审核时间",
  17772. "type": "string"
  17773. },
  17774. "contracttype": {
  17775. "description": "计划类型 - 1:采购 -1:销售",
  17776. "type": "integer"
  17777. },
  17778. "convertfactor": {
  17779. "description": "标仓系数",
  17780. "type": "number"
  17781. },
  17782. "createtime": {
  17783. "description": "创建时间",
  17784. "type": "string"
  17785. },
  17786. "currencyid": {
  17787. "description": "币种id",
  17788. "type": "integer"
  17789. },
  17790. "currencyname": {
  17791. "description": "币种名称",
  17792. "type": "string"
  17793. },
  17794. "deliverygoodscode": {
  17795. "description": "现货品种代码",
  17796. "type": "string"
  17797. },
  17798. "deliverygoodsid": {
  17799. "description": "现货品种ID",
  17800. "type": "integer"
  17801. },
  17802. "deliverygoodsname": {
  17803. "description": "现货品种名称",
  17804. "type": "string"
  17805. },
  17806. "enumdicname": {
  17807. "description": "单位名称(现货商品)",
  17808. "type": "string"
  17809. },
  17810. "hedgeplanid": {
  17811. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17812. "type": "string"
  17813. },
  17814. "hedgeplanno": {
  17815. "description": "套保计划编号(名称)",
  17816. "type": "string"
  17817. },
  17818. "hedgeplanstatus": {
  17819. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17820. "type": "integer"
  17821. },
  17822. "planqty": {
  17823. "description": "计划数量",
  17824. "type": "number"
  17825. },
  17826. "plantime": {
  17827. "description": "计划时间",
  17828. "type": "string"
  17829. },
  17830. "producttype": {
  17831. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17832. "type": "integer"
  17833. },
  17834. "remark": {
  17835. "description": "备注",
  17836. "type": "string"
  17837. },
  17838. "spotgoodsdesc": {
  17839. "description": "商品型号",
  17840. "type": "string"
  17841. },
  17842. "taaccountname": {
  17843. "description": "资金账号名称",
  17844. "type": "string"
  17845. },
  17846. "tradeuserid": {
  17847. "description": "交易用户id",
  17848. "type": "integer"
  17849. },
  17850. "tradeusername": {
  17851. "description": "交易用户名称",
  17852. "type": "string"
  17853. },
  17854. "unitid": {
  17855. "description": "单位id(现货商品)",
  17856. "type": "integer"
  17857. },
  17858. "updatetime": {
  17859. "description": "更新时间",
  17860. "type": "string"
  17861. },
  17862. "wrstandardcode": {
  17863. "description": "品类代码",
  17864. "type": "string"
  17865. },
  17866. "wrstandardid": {
  17867. "description": "品类id",
  17868. "type": "integer"
  17869. },
  17870. "wrstandardname": {
  17871. "description": "品类名称",
  17872. "type": "string"
  17873. },
  17874. "wrunitid": {
  17875. "description": "品类单位id",
  17876. "type": "integer"
  17877. },
  17878. "wrunitidame": {
  17879. "description": "品类单位名称",
  17880. "type": "string"
  17881. }
  17882. }
  17883. },
  17884. "models.Ermcp3MiddleGoodsDetail2": {
  17885. "type": "object",
  17886. "properties": {
  17887. "convertratio": {
  17888. "description": "套保系数(折算系数)",
  17889. "type": "number"
  17890. },
  17891. "gplist": {
  17892. "description": "关联商品组列表",
  17893. "type": "array",
  17894. "items": {
  17895. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17896. }
  17897. },
  17898. "mg": {
  17899. "description": "套保商品信息",
  17900. "type": "object",
  17901. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17902. }
  17903. }
  17904. },
  17905. "models.Ermcp3MiddleGoodsDetailEx": {
  17906. "type": "object",
  17907. "properties": {
  17908. "dglist": {
  17909. "description": "关联的现货品种列表",
  17910. "type": "array",
  17911. "items": {
  17912. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  17913. }
  17914. },
  17915. "gplist": {
  17916. "description": "关联商品组列表",
  17917. "type": "array",
  17918. "items": {
  17919. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17920. }
  17921. },
  17922. "mg": {
  17923. "description": "套保商品信息",
  17924. "type": "object",
  17925. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17926. }
  17927. }
  17928. },
  17929. "models.Ermcp3RootUserAccount": {
  17930. "type": "object",
  17931. "properties": {
  17932. "accountname": {
  17933. "description": "账户名称(机构名称)",
  17934. "type": "string"
  17935. },
  17936. "accountstatus": {
  17937. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17938. "type": "integer"
  17939. },
  17940. "applysrc": {
  17941. "description": "申请来源 - 1:管理端 2:终端",
  17942. "type": "integer"
  17943. },
  17944. "auditremark": {
  17945. "description": "审核备注",
  17946. "type": "string"
  17947. },
  17948. "auditsrc": {
  17949. "description": "审核来源 - 1:管理端 2:终端",
  17950. "type": "integer"
  17951. },
  17952. "audittime": {
  17953. "description": "审核时间",
  17954. "type": "string"
  17955. },
  17956. "audituserid": {
  17957. "description": "审核人",
  17958. "type": "integer"
  17959. },
  17960. "broker": {
  17961. "description": "所属经纪人ID",
  17962. "type": "integer"
  17963. },
  17964. "canceltime": {
  17965. "description": "销户时间",
  17966. "type": "string"
  17967. },
  17968. "canceluserid": {
  17969. "description": "销户人",
  17970. "type": "integer"
  17971. },
  17972. "canrecommend": {
  17973. "description": "是否可推荐 - 0:不可 1;可",
  17974. "type": "integer"
  17975. },
  17976. "createtime": {
  17977. "description": "创建时间",
  17978. "type": "string"
  17979. },
  17980. "creatorid": {
  17981. "description": "创建人",
  17982. "type": "integer"
  17983. },
  17984. "hasauth": {
  17985. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  17986. "type": "integer"
  17987. },
  17988. "isanonymous": {
  17989. "description": "是否匿名下单 - 0:否 1:是",
  17990. "type": "integer"
  17991. },
  17992. "maxinvestornum": {
  17993. "description": "最大用户数(经纪会员下投资者个数)",
  17994. "type": "integer"
  17995. },
  17996. "memberuserid": {
  17997. "description": "所属会员ID",
  17998. "type": "integer"
  17999. },
  18000. "modifierid": {
  18001. "description": "修改人",
  18002. "type": "integer"
  18003. },
  18004. "modifyremark": {
  18005. "description": "变更备注",
  18006. "type": "string"
  18007. },
  18008. "modifystatus": {
  18009. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18010. "type": "integer"
  18011. },
  18012. "modifytime": {
  18013. "description": "修改时间",
  18014. "type": "string"
  18015. },
  18016. "parenttopuser": {
  18017. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18018. "type": "string"
  18019. },
  18020. "parentuserid": {
  18021. "description": "所属机构ID",
  18022. "type": "integer"
  18023. },
  18024. "reckonaccountid": {
  18025. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18026. "type": "integer"
  18027. },
  18028. "refercount": {
  18029. "description": "推荐总人数",
  18030. "type": "integer"
  18031. },
  18032. "refereeuserid": {
  18033. "description": "推荐人ID",
  18034. "type": "integer"
  18035. },
  18036. "refernum": {
  18037. "description": "推荐码",
  18038. "type": "string"
  18039. },
  18040. "rootuserid": {
  18041. "description": "根用户ID",
  18042. "type": "integer"
  18043. },
  18044. "subaccountlevel": {
  18045. "description": "子账户层数",
  18046. "type": "integer"
  18047. },
  18048. "subarealevelpath": {
  18049. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18050. "type": "string"
  18051. },
  18052. "userid": {
  18053. "description": "用户ID",
  18054. "type": "integer"
  18055. },
  18056. "usertype": {
  18057. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18058. "type": "integer"
  18059. }
  18060. }
  18061. },
  18062. "models.Ermcp3SellBuyContract": {
  18063. "type": "object",
  18064. "properties": {
  18065. "accountid": {
  18066. "description": "期货账户id",
  18067. "type": "string"
  18068. },
  18069. "accountname": {
  18070. "description": "账户名称",
  18071. "type": "string"
  18072. },
  18073. "attachment": {
  18074. "description": "附件",
  18075. "type": "string"
  18076. },
  18077. "audittime": {
  18078. "description": "审核时间",
  18079. "type": "string"
  18080. },
  18081. "biztype": {
  18082. "description": "业务类型 1-套保 2-套利",
  18083. "type": "integer"
  18084. },
  18085. "brandname": {
  18086. "description": "品牌名称",
  18087. "type": "string"
  18088. },
  18089. "contracctstatus": {
  18090. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18091. "type": "integer"
  18092. },
  18093. "contractmargin": {
  18094. "description": "合同保证金",
  18095. "type": "number"
  18096. },
  18097. "contractno": {
  18098. "description": "合同编号",
  18099. "type": "string"
  18100. },
  18101. "contracttype": {
  18102. "description": "合同类型 1-采购, -1-销售",
  18103. "type": "integer"
  18104. },
  18105. "convertfactor": {
  18106. "description": "标仓系数(品类)",
  18107. "type": "number"
  18108. },
  18109. "createtime": {
  18110. "description": "创建时间",
  18111. "type": "string"
  18112. },
  18113. "currencyid": {
  18114. "description": "币种id",
  18115. "type": "integer"
  18116. },
  18117. "currencyname": {
  18118. "description": "币种名称",
  18119. "type": "string"
  18120. },
  18121. "daikaiamount": {
  18122. "description": "应收(开)票额",
  18123. "type": "number"
  18124. },
  18125. "deliveryenddate": {
  18126. "description": "交割结束日",
  18127. "type": "string"
  18128. },
  18129. "deliverygoodscode": {
  18130. "description": "现货品种代码",
  18131. "type": "string"
  18132. },
  18133. "deliverygoodsid": {
  18134. "description": "现货商品ID",
  18135. "type": "integer"
  18136. },
  18137. "deliverygoodsname": {
  18138. "description": "现货品种名称",
  18139. "type": "string"
  18140. },
  18141. "deliverystartdate": {
  18142. "description": "交割开始日",
  18143. "type": "string"
  18144. },
  18145. "enddate": {
  18146. "description": "点价结束日",
  18147. "type": "string"
  18148. },
  18149. "enumdicname": {
  18150. "description": "单位名称",
  18151. "type": "string"
  18152. },
  18153. "goodscode": {
  18154. "description": "点价商品代码",
  18155. "type": "string"
  18156. },
  18157. "goodsid": {
  18158. "description": "点价商品ID",
  18159. "type": "integer"
  18160. },
  18161. "goodsname": {
  18162. "description": "点价商品名称",
  18163. "type": "string"
  18164. },
  18165. "invoiceamount": {
  18166. "description": "已开票额",
  18167. "type": "number"
  18168. },
  18169. "loanamount": {
  18170. "description": "贷款总额=已定价额+调整金额",
  18171. "type": "number"
  18172. },
  18173. "margin": {
  18174. "description": "保证金",
  18175. "type": "number"
  18176. },
  18177. "meruserid": {
  18178. "description": "跟单员id",
  18179. "type": "integer"
  18180. },
  18181. "meruserlogincode": {
  18182. "description": "跟单员登录代码",
  18183. "type": "string"
  18184. },
  18185. "merusername": {
  18186. "description": "跟单员名称",
  18187. "type": "string"
  18188. },
  18189. "nickname": {
  18190. "description": "账户昵称",
  18191. "type": "string"
  18192. },
  18193. "payamount": {
  18194. "description": "已收付额(收款或付款)",
  18195. "type": "number"
  18196. },
  18197. "preinvoiceamount": {
  18198. "description": "预收(开)票额",
  18199. "type": "number"
  18200. },
  18201. "prepayamount": {
  18202. "description": "预收付额",
  18203. "type": "number"
  18204. },
  18205. "price": {
  18206. "description": "价格",
  18207. "type": "number"
  18208. },
  18209. "pricedamount": {
  18210. "description": "已定价额",
  18211. "type": "number"
  18212. },
  18213. "pricedavg": {
  18214. "description": "已点均价",
  18215. "type": "number"
  18216. },
  18217. "pricedqty": {
  18218. "description": "已定价量",
  18219. "type": "number"
  18220. },
  18221. "pricemove": {
  18222. "description": "升贴水",
  18223. "type": "number"
  18224. },
  18225. "pricetype": {
  18226. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18227. "type": "integer"
  18228. },
  18229. "producttype": {
  18230. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18231. "type": "integer"
  18232. },
  18233. "qty": {
  18234. "description": "合同量",
  18235. "type": "number"
  18236. },
  18237. "reckonadjustamount": {
  18238. "description": "调整金额",
  18239. "type": "number"
  18240. },
  18241. "reckonedamount": {
  18242. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18243. "type": "number"
  18244. },
  18245. "reckonotheramount": {
  18246. "description": "其它费用",
  18247. "type": "number"
  18248. },
  18249. "reckonrealqty": {
  18250. "description": "已确定量",
  18251. "type": "number"
  18252. },
  18253. "remark": {
  18254. "description": "备注",
  18255. "type": "string"
  18256. },
  18257. "saleuserid": {
  18258. "description": "业务员id",
  18259. "type": "integer"
  18260. },
  18261. "saleuserlogincode": {
  18262. "description": "业务员登录代码",
  18263. "type": "string"
  18264. },
  18265. "saleusername": {
  18266. "description": "业务员名称",
  18267. "type": "string"
  18268. },
  18269. "spotcontractid": {
  18270. "description": "合同ID",
  18271. "type": "string"
  18272. },
  18273. "spotgoodsbrandid": {
  18274. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18275. "type": "integer"
  18276. },
  18277. "spotgoodsdesc": {
  18278. "description": "商品型号(商品规格)",
  18279. "type": "string"
  18280. },
  18281. "startdate": {
  18282. "description": "点价开始日",
  18283. "type": "string"
  18284. },
  18285. "totalamount": {
  18286. "description": "合计总额",
  18287. "type": "number"
  18288. },
  18289. "tradeuserid": {
  18290. "description": "交易员id",
  18291. "type": "integer"
  18292. },
  18293. "tradeuserlogincode": {
  18294. "description": "交易员登录代码",
  18295. "type": "string"
  18296. },
  18297. "tradeusername": {
  18298. "description": "交易员名称",
  18299. "type": "string"
  18300. },
  18301. "unpayamount": {
  18302. "description": "应收付款额(应支付或应收款)",
  18303. "type": "number"
  18304. },
  18305. "unpricedqty": {
  18306. "description": "未定价量",
  18307. "type": "number"
  18308. },
  18309. "unsureqty": {
  18310. "description": "未确定量",
  18311. "type": "number"
  18312. },
  18313. "userid": {
  18314. "description": "机构ID",
  18315. "type": "integer"
  18316. },
  18317. "wrstandardcode": {
  18318. "description": "品类代码",
  18319. "type": "string"
  18320. },
  18321. "wrstandardid": {
  18322. "description": "品类ID",
  18323. "type": "integer"
  18324. },
  18325. "wrstandardname": {
  18326. "description": "品类名称",
  18327. "type": "string"
  18328. }
  18329. }
  18330. },
  18331. "models.Ermcp3SpotGoodsPrice": {
  18332. "type": "object",
  18333. "properties": {
  18334. "areauserid": {
  18335. "description": "所属机构id",
  18336. "type": "integer"
  18337. },
  18338. "brandname": {
  18339. "description": "品牌名称",
  18340. "type": "string"
  18341. },
  18342. "currencyid": {
  18343. "description": "报价货币ID",
  18344. "type": "integer"
  18345. },
  18346. "currencyname": {
  18347. "description": "币种名称",
  18348. "type": "string"
  18349. },
  18350. "deliverygoodscode": {
  18351. "description": "现货商品代码",
  18352. "type": "string"
  18353. },
  18354. "deliverygoodsid": {
  18355. "description": "现货商品id",
  18356. "type": "integer"
  18357. },
  18358. "deliverygoodsname": {
  18359. "description": "现货商品名称",
  18360. "type": "string"
  18361. },
  18362. "enumdicname": {
  18363. "description": "现货商品单位名称",
  18364. "type": "string"
  18365. },
  18366. "gbenumdicname": {
  18367. "description": "品类单位名称",
  18368. "type": "string"
  18369. },
  18370. "gmunitid": {
  18371. "description": "品类单位id",
  18372. "type": "integer"
  18373. },
  18374. "isvalid": {
  18375. "description": "是否有效 - 0:无效 1:有效",
  18376. "type": "integer"
  18377. },
  18378. "operateid": {
  18379. "description": "最后操作人",
  18380. "type": "integer"
  18381. },
  18382. "operatesrc": {
  18383. "description": "最后操作来源 - 1:管理端 2:终端",
  18384. "type": "integer"
  18385. },
  18386. "operatetime": {
  18387. "description": "最后操作时间",
  18388. "type": "string"
  18389. },
  18390. "operatorname": {
  18391. "description": "操作人名称",
  18392. "type": "string"
  18393. },
  18394. "spotgoodsbrandid": {
  18395. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18396. "type": "integer"
  18397. },
  18398. "spotgoodsprice": {
  18399. "description": "现货价格",
  18400. "type": "number"
  18401. },
  18402. "tradedate": {
  18403. "description": "交易日(yyyyMMdd)",
  18404. "type": "string"
  18405. },
  18406. "unitid": {
  18407. "description": "现货商品单位id",
  18408. "type": "integer"
  18409. },
  18410. "wrstandardcode": {
  18411. "description": "品类代码",
  18412. "type": "string"
  18413. },
  18414. "wrstandardid": {
  18415. "description": "现货品类ID(通用则为0)",
  18416. "type": "integer"
  18417. },
  18418. "wrstandardname": {
  18419. "description": "品类名称",
  18420. "type": "string"
  18421. }
  18422. }
  18423. },
  18424. "models.Ermcp3SpotGoodsPriceLog": {
  18425. "type": "object",
  18426. "properties": {
  18427. "areauserid": {
  18428. "description": "所属机构id",
  18429. "type": "integer"
  18430. },
  18431. "brandname": {
  18432. "description": "品牌名称",
  18433. "type": "string"
  18434. },
  18435. "currencyid": {
  18436. "description": "报价货币ID",
  18437. "type": "integer"
  18438. },
  18439. "deliverygoodscode": {
  18440. "description": "现货商品代码",
  18441. "type": "string"
  18442. },
  18443. "deliverygoodsid": {
  18444. "description": "现货商品id",
  18445. "type": "integer"
  18446. },
  18447. "deliverygoodsname": {
  18448. "description": "现货商品名称",
  18449. "type": "string"
  18450. },
  18451. "enumdicname": {
  18452. "description": "现货商品单位名称",
  18453. "type": "string"
  18454. },
  18455. "gbenumdicname": {
  18456. "description": "品类单位名称",
  18457. "type": "string"
  18458. },
  18459. "gmunitid": {
  18460. "description": "品类单位id",
  18461. "type": "integer"
  18462. },
  18463. "logid": {
  18464. "description": "日志id",
  18465. "type": "integer"
  18466. },
  18467. "operateid": {
  18468. "description": "最后操作人",
  18469. "type": "integer"
  18470. },
  18471. "operatesrc": {
  18472. "description": "最后操作来源 - 1:管理端 2:终端",
  18473. "type": "integer"
  18474. },
  18475. "operatetime": {
  18476. "description": "最后操作时间",
  18477. "type": "string"
  18478. },
  18479. "operatorname": {
  18480. "description": "操作人名称",
  18481. "type": "string"
  18482. },
  18483. "spotgoodsbrandid": {
  18484. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18485. "type": "integer"
  18486. },
  18487. "spotgoodsprice": {
  18488. "description": "现货价格",
  18489. "type": "number"
  18490. },
  18491. "tradedate": {
  18492. "description": "交易日(yyyyMMdd)",
  18493. "type": "string"
  18494. },
  18495. "unitid": {
  18496. "description": "现货商品单位id",
  18497. "type": "integer"
  18498. },
  18499. "wrstandardcode": {
  18500. "description": "品类代码",
  18501. "type": "string"
  18502. },
  18503. "wrstandardid": {
  18504. "description": "现货品类ID(通用则为0)",
  18505. "type": "integer"
  18506. },
  18507. "wrstandardname": {
  18508. "description": "品类名称",
  18509. "type": "string"
  18510. }
  18511. }
  18512. },
  18513. "models.Ermcp3TaFutuReDataReport": {
  18514. "type": "object",
  18515. "properties": {
  18516. "accountid": {
  18517. "description": "交易账户",
  18518. "type": "integer"
  18519. },
  18520. "accountname": {
  18521. "description": "交易账号名称",
  18522. "type": "string"
  18523. },
  18524. "begindate": {
  18525. "description": "开始交易日",
  18526. "type": "string"
  18527. },
  18528. "buyorsell": {
  18529. "description": "持仓方向",
  18530. "type": "integer"
  18531. },
  18532. "charge": {
  18533. "description": "手续费",
  18534. "type": "number"
  18535. },
  18536. "closeavgprice": {
  18537. "description": "平仓均价",
  18538. "type": "number"
  18539. },
  18540. "closepl": {
  18541. "description": "平仓损益",
  18542. "type": "number"
  18543. },
  18544. "currencyid": {
  18545. "description": "结算币种ID",
  18546. "type": "integer"
  18547. },
  18548. "currencyname": {
  18549. "description": "币种名称",
  18550. "type": "string"
  18551. },
  18552. "cycletime": {
  18553. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18554. "type": "string"
  18555. },
  18556. "cycletype": {
  18557. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18558. "type": "integer"
  18559. },
  18560. "enddate": {
  18561. "description": "结束交易日",
  18562. "type": "string"
  18563. },
  18564. "enumdicname": {
  18565. "description": "单位名称",
  18566. "type": "string"
  18567. },
  18568. "floatpl": {
  18569. "description": "浮动损益",
  18570. "type": "number"
  18571. },
  18572. "goodscode": {
  18573. "description": "交易合约代码",
  18574. "type": "string"
  18575. },
  18576. "goodsgroupid": {
  18577. "description": "交易品种",
  18578. "type": "integer"
  18579. },
  18580. "goodsgroupname": {
  18581. "description": "交易品种名称",
  18582. "type": "string"
  18583. },
  18584. "goodsgroupspotqty": {
  18585. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18586. "type": "number"
  18587. },
  18588. "goodsid": {
  18589. "description": "交易合约",
  18590. "type": "integer"
  18591. },
  18592. "goodsname": {
  18593. "description": "交易合约名称",
  18594. "type": "string"
  18595. },
  18596. "goodunitid": {
  18597. "description": "交易合约单位id",
  18598. "type": "integer"
  18599. },
  18600. "holdamount": {
  18601. "description": "期末持仓额",
  18602. "type": "number"
  18603. },
  18604. "holdqty": {
  18605. "description": "期末持仓量",
  18606. "type": "number"
  18607. },
  18608. "lastholdamount": {
  18609. "description": "当前持仓额",
  18610. "type": "number"
  18611. },
  18612. "lastprice": {
  18613. "description": "最新价",
  18614. "type": "number"
  18615. },
  18616. "middlegoodsqty": {
  18617. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18618. "type": "number"
  18619. },
  18620. "openamount": {
  18621. "description": "期末开仓额",
  18622. "type": "number"
  18623. },
  18624. "openavgprice": {
  18625. "description": "开仓均价",
  18626. "type": "number"
  18627. },
  18628. "oriholdamount": {
  18629. "description": "期初持仓额",
  18630. "type": "number"
  18631. },
  18632. "oriholdqty": {
  18633. "description": "期初持仓量",
  18634. "type": "number"
  18635. },
  18636. "oriopenamount": {
  18637. "description": "期初开仓额",
  18638. "type": "number"
  18639. },
  18640. "outergroupcode": {
  18641. "description": "交易品种代码",
  18642. "type": "string"
  18643. },
  18644. "reckondate": {
  18645. "description": "日照时期(yyyyMMdd)",
  18646. "type": "string"
  18647. },
  18648. "reckonholdamount": {
  18649. "description": "结算持仓额",
  18650. "type": "number"
  18651. },
  18652. "reckonpl": {
  18653. "description": "结算损益",
  18654. "type": "number"
  18655. },
  18656. "reckonpl2": {
  18657. "description": "结算逐笔盈亏",
  18658. "type": "number"
  18659. },
  18660. "reckonprice": {
  18661. "description": "结算价",
  18662. "type": "number"
  18663. },
  18664. "relateduserid": {
  18665. "description": "账户关联用户ID",
  18666. "type": "integer"
  18667. },
  18668. "todaycloseamount": {
  18669. "description": "今平仓额",
  18670. "type": "number"
  18671. },
  18672. "todaycloseqty": {
  18673. "description": "今平仓量",
  18674. "type": "number"
  18675. },
  18676. "todaygoodsgroupspotqty": {
  18677. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18678. "type": "number"
  18679. },
  18680. "todaymiddlegoodsqty": {
  18681. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18682. "type": "number"
  18683. },
  18684. "todayopenamount": {
  18685. "description": "今开仓额",
  18686. "type": "number"
  18687. },
  18688. "todayopenqty": {
  18689. "description": "今开仓量",
  18690. "type": "number"
  18691. },
  18692. "userid": {
  18693. "description": "账户所属用户ID",
  18694. "type": "integer"
  18695. }
  18696. }
  18697. },
  18698. "models.Ermcp3Wrstandard": {
  18699. "type": "object",
  18700. "properties": {
  18701. "areauserid": {
  18702. "description": "所属机构",
  18703. "type": "integer"
  18704. },
  18705. "convertfactor": {
  18706. "description": "标仓系数",
  18707. "type": "number"
  18708. },
  18709. "createtime": {
  18710. "description": "创建时间",
  18711. "type": "string"
  18712. },
  18713. "creatorid": {
  18714. "description": "创建人",
  18715. "type": "integer"
  18716. },
  18717. "deliverygoodsid": {
  18718. "description": "现货品种ID",
  18719. "type": "integer"
  18720. },
  18721. "enumdicname": {
  18722. "description": "品类单位名称",
  18723. "type": "string"
  18724. },
  18725. "isvalid": {
  18726. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18727. "type": "integer"
  18728. },
  18729. "minivalue": {
  18730. "description": "最小变动值",
  18731. "type": "integer"
  18732. },
  18733. "minivaluedp": {
  18734. "description": "最小变动值小数位",
  18735. "type": "integer"
  18736. },
  18737. "realminivalue": {
  18738. "description": "实际最小变动值",
  18739. "type": "integer"
  18740. },
  18741. "realminivaluedp": {
  18742. "description": "实际最小变动值小数位",
  18743. "type": "integer"
  18744. },
  18745. "remark": {
  18746. "description": "备注",
  18747. "type": "string"
  18748. },
  18749. "unitid": {
  18750. "description": "品类单位ID",
  18751. "type": "integer"
  18752. },
  18753. "updatetime": {
  18754. "description": "更新时间",
  18755. "type": "string"
  18756. },
  18757. "wrstandardcode": {
  18758. "description": "品类代码",
  18759. "type": "string"
  18760. },
  18761. "wrstandardid": {
  18762. "description": "品类ID(SEQ_WRSTANDARD)",
  18763. "type": "integer"
  18764. },
  18765. "wrstandardname": {
  18766. "description": "品类名称",
  18767. "type": "string"
  18768. }
  18769. }
  18770. },
  18771. "models.ErmcpAreaSpotDetailModel": {
  18772. "type": "object",
  18773. "properties": {
  18774. "contracttype": {
  18775. "description": "合同类型 1-采购 -1-销售",
  18776. "type": "integer"
  18777. },
  18778. "createtime": {
  18779. "description": "创建时间",
  18780. "type": "string"
  18781. },
  18782. "enumdicname": {
  18783. "description": "现货商品单位名称",
  18784. "type": "string"
  18785. },
  18786. "logtype": {
  18787. "description": "记录类型 1-套保 2-现货合同",
  18788. "type": "integer"
  18789. },
  18790. "qty": {
  18791. "description": "数量",
  18792. "type": "number"
  18793. },
  18794. "recordname": {
  18795. "description": "类型名称",
  18796. "type": "string"
  18797. },
  18798. "relatedid": {
  18799. "description": "套保计划ID/现货合同ID",
  18800. "type": "string"
  18801. },
  18802. "relatedno": {
  18803. "description": "编号",
  18804. "type": "string"
  18805. },
  18806. "strtime": {
  18807. "description": "时间",
  18808. "type": "string"
  18809. },
  18810. "wrstandardcode": {
  18811. "description": "现货商品代码",
  18812. "type": "string"
  18813. },
  18814. "wrstandardname": {
  18815. "description": "现货商品名称",
  18816. "type": "string"
  18817. }
  18818. }
  18819. },
  18820. "models.ErmcpAvalidGoodsGroupModel": {
  18821. "type": "object",
  18822. "properties": {
  18823. "goodsgroupid": {
  18824. "description": "期货品种id",
  18825. "type": "integer"
  18826. },
  18827. "goodsgroupname": {
  18828. "description": "期货品种名称",
  18829. "type": "string"
  18830. },
  18831. "goodunitid": {
  18832. "description": "品种单位id",
  18833. "type": "integer"
  18834. },
  18835. "goodunitname": {
  18836. "description": "品种单位名称",
  18837. "type": "string"
  18838. },
  18839. "outergroupcode": {
  18840. "description": "期货品种代码",
  18841. "type": "string"
  18842. }
  18843. }
  18844. },
  18845. "models.ErmcpBizGroupEx": {
  18846. "type": "object",
  18847. "properties": {
  18848. "acclist": {
  18849. "description": "账号列表",
  18850. "type": "array",
  18851. "items": {
  18852. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18853. }
  18854. },
  18855. "bizgroupid": {
  18856. "description": "业务分组id",
  18857. "type": "integer"
  18858. },
  18859. "biztype": {
  18860. "description": "业务类型 1-套保 2-套利",
  18861. "type": "integer"
  18862. },
  18863. "wrlist": {
  18864. "description": "现货商品表",
  18865. "type": "array",
  18866. "items": {
  18867. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18868. }
  18869. }
  18870. }
  18871. },
  18872. "models.ErmcpBizGroupSpotGoods": {
  18873. "type": "object",
  18874. "properties": {
  18875. "areauserid": {
  18876. "description": "所属机构id",
  18877. "type": "integer"
  18878. },
  18879. "bizgroupid": {
  18880. "description": "分组id",
  18881. "type": "integer"
  18882. },
  18883. "biztype": {
  18884. "description": "业务类型 1-套保 2-套利",
  18885. "type": "integer"
  18886. },
  18887. "deliverygoodscode": {
  18888. "description": "现货商品代码",
  18889. "type": "string"
  18890. },
  18891. "deliverygoodsid": {
  18892. "description": "现货商品id",
  18893. "type": "integer"
  18894. },
  18895. "deliverygoodsname": {
  18896. "description": "现货商品名称",
  18897. "type": "string"
  18898. },
  18899. "unitid": {
  18900. "description": "现货商品单位id",
  18901. "type": "integer"
  18902. }
  18903. }
  18904. },
  18905. "models.ErmcpBizGroupTaAccount": {
  18906. "type": "object",
  18907. "properties": {
  18908. "accountid": {
  18909. "description": "账号id",
  18910. "type": "integer"
  18911. },
  18912. "accountname": {
  18913. "description": "账号名称",
  18914. "type": "string"
  18915. },
  18916. "areauserid": {
  18917. "description": "所属机构id",
  18918. "type": "integer"
  18919. },
  18920. "bizgroupid": {
  18921. "description": "业务分组id",
  18922. "type": "integer"
  18923. },
  18924. "ismain": {
  18925. "description": "是否主账号 1-是 0-否",
  18926. "type": "integer"
  18927. }
  18928. }
  18929. },
  18930. "models.ErmcpDGFactoryItem": {
  18931. "type": "object",
  18932. "properties": {
  18933. "areauserid": {
  18934. "description": "用户id",
  18935. "type": "integer"
  18936. },
  18937. "deliverygoodsid": {
  18938. "description": "现货品种ID",
  18939. "type": "integer"
  18940. },
  18941. "dgfactoryitemid": {
  18942. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  18943. "type": "integer"
  18944. },
  18945. "dgfactoryitemtypeid": {
  18946. "description": "要素项类型",
  18947. "type": "integer"
  18948. },
  18949. "dgfactoryitemvalue": {
  18950. "description": "要素项值(类型为仓库时填写仓库名称)",
  18951. "type": "string"
  18952. },
  18953. "isvalid": {
  18954. "description": "是否有效 - 0:无效 1:有效",
  18955. "type": "integer"
  18956. },
  18957. "orderindex": {
  18958. "description": "顺序",
  18959. "type": "integer"
  18960. },
  18961. "warehouseid": {
  18962. "description": "仓库ID(类型为仓库时填写)",
  18963. "type": "integer"
  18964. }
  18965. }
  18966. },
  18967. "models.ErmcpDeliveryGoods": {
  18968. "type": "object",
  18969. "properties": {
  18970. "agreeunit": {
  18971. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  18972. "type": "integer"
  18973. },
  18974. "areauserid": {
  18975. "description": "所属机构",
  18976. "type": "integer"
  18977. },
  18978. "auditflag": {
  18979. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  18980. "type": "integer"
  18981. },
  18982. "categoryid": {
  18983. "description": "类别ID(SEQ_WRCATEGORY)",
  18984. "type": "integer"
  18985. },
  18986. "deliverygoodscode": {
  18987. "description": "现货品种代码",
  18988. "type": "string"
  18989. },
  18990. "deliverygoodsid": {
  18991. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  18992. "type": "integer"
  18993. },
  18994. "deliverygoodsname": {
  18995. "description": "现货品种名称",
  18996. "type": "string"
  18997. },
  18998. "deliverygoodstype": {
  18999. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19000. "type": "integer"
  19001. },
  19002. "dgstatus": {
  19003. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19004. "type": "integer"
  19005. },
  19006. "enumdicname": {
  19007. "description": "现货品种单位名称",
  19008. "type": "string"
  19009. },
  19010. "goodsunitid": {
  19011. "description": "现货品种单位ID",
  19012. "type": "integer"
  19013. },
  19014. "isvalid": {
  19015. "description": "是否有效 - 0:无效 1:有效",
  19016. "type": "integer"
  19017. },
  19018. "qtydecimalplace": {
  19019. "description": "成交量小数位",
  19020. "type": "integer"
  19021. },
  19022. "remark": {
  19023. "description": "备注",
  19024. "type": "string"
  19025. },
  19026. "standardqty": {
  19027. "description": "标准数量(库位数量) [标准品特有]",
  19028. "type": "integer"
  19029. },
  19030. "standardqtyrange": {
  19031. "description": "标准数量偏差范围 [标准品特有]",
  19032. "type": "integer"
  19033. }
  19034. }
  19035. },
  19036. "models.ErmcpDeliveryGoodsDetail2": {
  19037. "type": "object",
  19038. "properties": {
  19039. "convertratio": {
  19040. "description": "套保系数(折算系数)",
  19041. "type": "number"
  19042. },
  19043. "data": {
  19044. "description": "现货商品基本信息(交割品种)",
  19045. "type": "object",
  19046. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19047. },
  19048. "gblist": {
  19049. "description": "品牌列表",
  19050. "type": "array",
  19051. "items": {
  19052. "$ref": "#/definitions/models.Ermcp3Brand"
  19053. }
  19054. },
  19055. "gmlist": {
  19056. "description": "品类列表(仓单标准)",
  19057. "type": "array",
  19058. "items": {
  19059. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19060. }
  19061. }
  19062. }
  19063. },
  19064. "models.ErmcpDeliveryGoodsDetailEx": {
  19065. "type": "object",
  19066. "properties": {
  19067. "data": {
  19068. "description": "现货商品基本信息(交割品种)",
  19069. "type": "object",
  19070. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19071. },
  19072. "gblist": {
  19073. "description": "品牌列表",
  19074. "type": "array",
  19075. "items": {
  19076. "$ref": "#/definitions/models.Ermcp3Brand"
  19077. }
  19078. },
  19079. "gmlist": {
  19080. "description": "品类列表(仓单标准)",
  19081. "type": "array",
  19082. "items": {
  19083. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19084. }
  19085. },
  19086. "mgList": {
  19087. "description": "套保列表",
  19088. "type": "array",
  19089. "items": {
  19090. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19091. }
  19092. }
  19093. }
  19094. },
  19095. "models.ErmcpExposureDetailModel": {
  19096. "type": "object",
  19097. "properties": {
  19098. "areauserid": {
  19099. "description": "机构ID",
  19100. "type": "integer"
  19101. },
  19102. "changeQty": {
  19103. "description": "套保变动量",
  19104. "type": "number"
  19105. },
  19106. "contracttype": {
  19107. "description": "现货合同类型 - 1:采购 -1:销售",
  19108. "type": "integer"
  19109. },
  19110. "convertfactor": {
  19111. "description": "标仓系数",
  19112. "type": "number"
  19113. },
  19114. "convertratio": {
  19115. "description": "套保系数",
  19116. "type": "number"
  19117. },
  19118. "createtime": {
  19119. "description": "时间",
  19120. "type": "string"
  19121. },
  19122. "enumdicname": {
  19123. "description": "现货商品单位名称",
  19124. "type": "string"
  19125. },
  19126. "logtype": {
  19127. "description": "类型 - 1:套保计划 2:现货合同",
  19128. "type": "integer"
  19129. },
  19130. "middlegoodsId": {
  19131. "description": "套保商品id",
  19132. "type": "integer"
  19133. },
  19134. "middlegoodscode": {
  19135. "description": "套保商品代码",
  19136. "type": "string"
  19137. },
  19138. "middlegoodsname": {
  19139. "description": "套保商品名称",
  19140. "type": "string"
  19141. },
  19142. "qty": {
  19143. "description": "数量",
  19144. "type": "number"
  19145. },
  19146. "relateNo": {
  19147. "description": "现货合同/套保计划编号",
  19148. "type": "string"
  19149. },
  19150. "wrstandardcode": {
  19151. "description": "现货商品代码",
  19152. "type": "string"
  19153. },
  19154. "wrstandardid": {
  19155. "description": "现货商品ID",
  19156. "type": "integer"
  19157. },
  19158. "wrstandardname": {
  19159. "description": "现货商品名称",
  19160. "type": "string"
  19161. }
  19162. }
  19163. },
  19164. "models.ErmcpExposurePostion": {
  19165. "type": "object",
  19166. "properties": {
  19167. "agreeunit": {
  19168. "description": "合约单位",
  19169. "type": "string"
  19170. },
  19171. "areauserid": {
  19172. "description": "所属机构id",
  19173. "type": "integer"
  19174. },
  19175. "convertratio": {
  19176. "description": "期货品种系数(折算系数)",
  19177. "type": "number"
  19178. },
  19179. "curqty": {
  19180. "description": "当前持仓",
  19181. "type": "integer"
  19182. },
  19183. "diffhedgeqty": {
  19184. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19185. "type": "number"
  19186. },
  19187. "diffqty": {
  19188. "description": "持仓变动量=当前持仓-昨日持仓",
  19189. "type": "integer"
  19190. },
  19191. "goodscode": {
  19192. "description": "商品代码",
  19193. "type": "string"
  19194. },
  19195. "goodsid": {
  19196. "description": "商品id",
  19197. "type": "integer"
  19198. },
  19199. "goodsname": {
  19200. "description": "商品名称",
  19201. "type": "string"
  19202. },
  19203. "middlegoodsid": {
  19204. "description": "套保商品id",
  19205. "type": "integer"
  19206. },
  19207. "ydqty": {
  19208. "description": "昨日持仓",
  19209. "type": "integer"
  19210. }
  19211. }
  19212. },
  19213. "models.ErmcpFuturesCompany": {
  19214. "type": "object",
  19215. "properties": {
  19216. "brokerid": {
  19217. "description": "经纪公司代码",
  19218. "type": "string"
  19219. },
  19220. "channeladdress": {
  19221. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19222. "type": "string"
  19223. },
  19224. "channelid": {
  19225. "description": "对冲渠道ID",
  19226. "type": "string"
  19227. },
  19228. "createtime": {
  19229. "description": "创建时间",
  19230. "type": "string"
  19231. },
  19232. "creatorid": {
  19233. "description": "创建人",
  19234. "type": "string"
  19235. },
  19236. "fcid": {
  19237. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19238. "type": "integer"
  19239. },
  19240. "fcname": {
  19241. "description": "期货公司名称",
  19242. "type": "string"
  19243. },
  19244. "isvalid": {
  19245. "description": "是否有效 - 0:无效 1:有效",
  19246. "type": "integer"
  19247. },
  19248. "mhpaddress": {
  19249. "description": "MHP服务地址(IP:Port)",
  19250. "type": "string"
  19251. },
  19252. "riskrulegroupid": {
  19253. "description": "风控规则组ID",
  19254. "type": "string"
  19255. },
  19256. "tradefeetmpid": {
  19257. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19258. "type": "string"
  19259. },
  19260. "trademargintmpid": {
  19261. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19262. "type": "string"
  19263. },
  19264. "traderatetmpid": {
  19265. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19266. "type": "string"
  19267. },
  19268. "updatetime": {
  19269. "description": "更新时间",
  19270. "type": "string"
  19271. },
  19272. "updatorid": {
  19273. "description": "更新人",
  19274. "type": "string"
  19275. }
  19276. }
  19277. },
  19278. "models.ErmcpGGConvertCfg": {
  19279. "type": "object",
  19280. "properties": {
  19281. "convertratio": {
  19282. "description": "折算系数",
  19283. "type": "number"
  19284. },
  19285. "destgoodsgroupid": {
  19286. "description": "目标品种ID",
  19287. "type": "integer"
  19288. },
  19289. "dstcode": {
  19290. "description": "目录品种代码",
  19291. "type": "string"
  19292. },
  19293. "dstexchangecode": {
  19294. "description": "目标期货交易所",
  19295. "type": "string"
  19296. },
  19297. "dstname": {
  19298. "description": "目标品种名称",
  19299. "type": "string"
  19300. },
  19301. "dstunitid": {
  19302. "description": "目标品种单位ID",
  19303. "type": "integer"
  19304. },
  19305. "dstunitidname": {
  19306. "description": "目标品种单位名称",
  19307. "type": "string"
  19308. },
  19309. "modifytime": {
  19310. "description": "修改时间",
  19311. "type": "string"
  19312. },
  19313. "srccode": {
  19314. "description": "源品种代码",
  19315. "type": "string"
  19316. },
  19317. "srcexchangecode": {
  19318. "description": "源期货交易所",
  19319. "type": "string"
  19320. },
  19321. "srcgoodsgroupid": {
  19322. "description": "源品种ID",
  19323. "type": "integer"
  19324. },
  19325. "srcname": {
  19326. "description": "源品种名称",
  19327. "type": "string"
  19328. },
  19329. "srcunitid": {
  19330. "description": "源品种单位ID",
  19331. "type": "integer"
  19332. },
  19333. "srcunitidname": {
  19334. "description": "源品种单位名称",
  19335. "type": "string"
  19336. }
  19337. }
  19338. },
  19339. "models.ErmcpGoods": {
  19340. "type": "object",
  19341. "required": [
  19342. "goodscode",
  19343. "goodsid",
  19344. "goodsname",
  19345. "marketid"
  19346. ],
  19347. "properties": {
  19348. "agreeunit": {
  19349. "description": "合约单位",
  19350. "type": "number"
  19351. },
  19352. "areauserid": {
  19353. "description": "所属机构",
  19354. "type": "integer"
  19355. },
  19356. "auditaccountid": {
  19357. "description": "审核操作员账号",
  19358. "type": "integer"
  19359. },
  19360. "audittime": {
  19361. "description": "审核时间",
  19362. "type": "string"
  19363. },
  19364. "cancelaccountid": {
  19365. "description": "注销操作员账号",
  19366. "type": "integer"
  19367. },
  19368. "canceltime": {
  19369. "description": "注销时间",
  19370. "type": "string"
  19371. },
  19372. "closepricemode": {
  19373. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19374. "type": "integer"
  19375. },
  19376. "closepriceparam": {
  19377. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19378. "type": "number"
  19379. },
  19380. "createtime": {
  19381. "description": "创建时间",
  19382. "type": "string"
  19383. },
  19384. "creatorid": {
  19385. "description": "创建人",
  19386. "type": "integer"
  19387. },
  19388. "currencyid": {
  19389. "description": "报价货币ID",
  19390. "type": "integer"
  19391. },
  19392. "cutmode": {
  19393. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19394. "type": "integer"
  19395. },
  19396. "decimalplace": {
  19397. "description": "报价小数位",
  19398. "type": "integer"
  19399. },
  19400. "delistingdate": {
  19401. "description": "商品退市时间(状态:退市) -- 已作废",
  19402. "type": "string"
  19403. },
  19404. "delistingmode": {
  19405. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19406. "type": "integer"
  19407. },
  19408. "deliveryflag": {
  19409. "description": "交割标志 - 0:不可交割 1:可交割",
  19410. "type": "integer"
  19411. },
  19412. "enumdicname": {
  19413. "description": "单位名称",
  19414. "type": "string"
  19415. },
  19416. "forceclosemode": {
  19417. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19418. "type": "integer"
  19419. },
  19420. "forceclosevalue": {
  19421. "description": "定期强平参数 [收益权]",
  19422. "type": "integer"
  19423. },
  19424. "goodscode": {
  19425. "description": "商品代码(内部)",
  19426. "type": "string"
  19427. },
  19428. "goodscurrencyid": {
  19429. "description": "合约货币ID",
  19430. "type": "integer"
  19431. },
  19432. "goodsgroupid": {
  19433. "description": "所属商品组ID",
  19434. "type": "integer"
  19435. },
  19436. "goodsid": {
  19437. "description": "商品ID(自增ID SEQ_GOODS)",
  19438. "type": "integer"
  19439. },
  19440. "goodsname": {
  19441. "description": "商品名称",
  19442. "type": "string"
  19443. },
  19444. "goodsquotetype": {
  19445. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19446. "type": "integer"
  19447. },
  19448. "goodsstatus": {
  19449. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19450. "type": "integer"
  19451. },
  19452. "goodstradetype": {
  19453. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19454. "type": "integer"
  19455. },
  19456. "goodunitid": {
  19457. "description": "报价单位ID",
  19458. "type": "integer"
  19459. },
  19460. "hasquoter": {
  19461. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19462. "type": "integer"
  19463. },
  19464. "hqprotecttime": {
  19465. "description": "行情保护时间(秒)",
  19466. "type": "integer"
  19467. },
  19468. "innerdealmode": {
  19469. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19470. "type": "integer"
  19471. },
  19472. "isbuylimited": {
  19473. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19474. "type": "integer"
  19475. },
  19476. "isvisible": {
  19477. "description": "游客是否可见 - 0:不可见 1:可见",
  19478. "type": "integer"
  19479. },
  19480. "lasttradedate": {
  19481. "description": "最后交易日期(状态:待退市)",
  19482. "type": "string"
  19483. },
  19484. "listingdate": {
  19485. "description": "交易开始日期",
  19486. "type": "string"
  19487. },
  19488. "marketid": {
  19489. "description": "所属市场ID",
  19490. "type": "integer"
  19491. },
  19492. "modifierid": {
  19493. "description": "修改人",
  19494. "type": "integer"
  19495. },
  19496. "modifystatus": {
  19497. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19498. "type": "integer"
  19499. },
  19500. "modifytime": {
  19501. "description": "修改时间",
  19502. "type": "string"
  19503. },
  19504. "outerdealmode": {
  19505. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19506. "type": "integer"
  19507. },
  19508. "outgoodscode": {
  19509. "description": "商品代码(外部)",
  19510. "type": "string"
  19511. },
  19512. "pictureurl": {
  19513. "description": "商品图片",
  19514. "type": "string"
  19515. },
  19516. "qtydecimalplace": {
  19517. "description": "成交量小数位",
  19518. "type": "integer"
  19519. },
  19520. "quotegear": {
  19521. "description": "行情档位(1-10)",
  19522. "type": "integer"
  19523. },
  19524. "quoteminunit": {
  19525. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19526. "type": "integer"
  19527. },
  19528. "quoteshowtype": {
  19529. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19530. "type": "integer"
  19531. },
  19532. "quoteshowtypeinterval": {
  19533. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19534. "type": "integer"
  19535. },
  19536. "relatedgoodsid": {
  19537. "description": "关联参考商品ID",
  19538. "type": "integer"
  19539. },
  19540. "remark": {
  19541. "description": "备注",
  19542. "type": "string"
  19543. },
  19544. "trademode": {
  19545. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19546. "type": "integer"
  19547. }
  19548. }
  19549. },
  19550. "models.ErmcpGoodsBrand": {
  19551. "type": "object",
  19552. "properties": {
  19553. "areauserid": {
  19554. "description": "所属机构",
  19555. "type": "integer"
  19556. },
  19557. "brandid": {
  19558. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19559. "type": "integer"
  19560. },
  19561. "brandname": {
  19562. "description": "品牌名称",
  19563. "type": "string"
  19564. },
  19565. "createtime": {
  19566. "description": "创建时间",
  19567. "type": "string"
  19568. },
  19569. "creatorid": {
  19570. "description": "创建人",
  19571. "type": "integer"
  19572. },
  19573. "creatorsrc": {
  19574. "description": "创建人来源 - 1:管理端 2:终端",
  19575. "type": "integer"
  19576. },
  19577. "deliverygoodsid": {
  19578. "description": "现货品种ID",
  19579. "type": "integer"
  19580. },
  19581. "isvalid": {
  19582. "description": "是否有效 - 0:无效 1:有效",
  19583. "type": "integer"
  19584. },
  19585. "updatetime": {
  19586. "description": "更新时间",
  19587. "type": "string"
  19588. },
  19589. "updatorid": {
  19590. "description": "更新人",
  19591. "type": "integer"
  19592. },
  19593. "updatorsrc": {
  19594. "description": "更新人来源 - 1:管理端 2:终端",
  19595. "type": "integer"
  19596. },
  19597. "wrstandardid": {
  19598. "description": "现货商品ID",
  19599. "type": "integer"
  19600. }
  19601. }
  19602. },
  19603. "models.ErmcpGoodsModel": {
  19604. "type": "object",
  19605. "properties": {
  19606. "areauserid": {
  19607. "description": "所属机构",
  19608. "type": "integer"
  19609. },
  19610. "convertfactor": {
  19611. "description": "标仓系数",
  19612. "type": "number"
  19613. },
  19614. "createtime": {
  19615. "description": "创建时间",
  19616. "type": "string"
  19617. },
  19618. "creatorid": {
  19619. "description": "创建人",
  19620. "type": "integer"
  19621. },
  19622. "creatorsrc": {
  19623. "description": "创建人来源 - 1:管理端 2:终端",
  19624. "type": "integer"
  19625. },
  19626. "deliverygoodsid": {
  19627. "description": "现货品种ID",
  19628. "type": "integer"
  19629. },
  19630. "isvalid": {
  19631. "description": "是否有效 - 0:无效 1:有效",
  19632. "type": "integer"
  19633. },
  19634. "modelid": {
  19635. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19636. "type": "integer"
  19637. },
  19638. "modelname": {
  19639. "description": "型号名称",
  19640. "type": "string"
  19641. },
  19642. "updatetime": {
  19643. "description": "更新时间",
  19644. "type": "string"
  19645. },
  19646. "updatorid": {
  19647. "description": "更新人",
  19648. "type": "integer"
  19649. },
  19650. "updatorsrc": {
  19651. "description": "更新人来源 - 1:管理端 2:终端",
  19652. "type": "integer"
  19653. },
  19654. "wrstandardid": {
  19655. "description": "现货商品ID",
  19656. "type": "integer"
  19657. }
  19658. }
  19659. },
  19660. "models.ErmcpHedgePosition": {
  19661. "type": "object",
  19662. "properties": {
  19663. "accountid": {
  19664. "description": "资金账号[外部母账户]",
  19665. "type": "integer"
  19666. },
  19667. "curbuyposition": {
  19668. "description": "期末买头寸",
  19669. "type": "integer"
  19670. },
  19671. "cursellposition": {
  19672. "description": "期末卖头寸",
  19673. "type": "integer"
  19674. },
  19675. "curtdbuyposition": {
  19676. "description": "期末今日买头寸",
  19677. "type": "integer"
  19678. },
  19679. "curtdsellposition": {
  19680. "description": "期末今日卖头寸",
  19681. "type": "integer"
  19682. },
  19683. "curydbuyposition": {
  19684. "description": "期末上日买头寸",
  19685. "type": "integer"
  19686. },
  19687. "curydsellposition": {
  19688. "description": "期末上日卖头寸",
  19689. "type": "integer"
  19690. },
  19691. "decreaseqty": {
  19692. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19693. "type": "integer"
  19694. },
  19695. "fretdbuyposition": {
  19696. "description": "冻结今日买头寸",
  19697. "type": "integer"
  19698. },
  19699. "fretdsellposition": {
  19700. "description": "冻结今日卖头寸",
  19701. "type": "integer"
  19702. },
  19703. "freydbuyposition": {
  19704. "description": "冻结上日买头寸",
  19705. "type": "integer"
  19706. },
  19707. "freydsellposition": {
  19708. "description": "冻结上日卖头寸",
  19709. "type": "integer"
  19710. },
  19711. "goodscode": {
  19712. "description": "商品代码",
  19713. "type": "string"
  19714. },
  19715. "goodsid": {
  19716. "description": "商品id",
  19717. "type": "integer"
  19718. },
  19719. "goodsname": {
  19720. "description": "商品名称",
  19721. "type": "string"
  19722. },
  19723. "hedgeaccountcode": {
  19724. "description": "对冲账号",
  19725. "type": "string"
  19726. },
  19727. "hedgegoodsid": {
  19728. "description": "对冲合约ID",
  19729. "type": "integer"
  19730. },
  19731. "increaseqty": {
  19732. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19733. "type": "integer"
  19734. },
  19735. "marketid": {
  19736. "description": "市场ID",
  19737. "type": "integer"
  19738. },
  19739. "relateduserid": {
  19740. "description": "关联用户id",
  19741. "type": "integer"
  19742. },
  19743. "totalcurqty": {
  19744. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19745. "type": "integer"
  19746. },
  19747. "totalydqty": {
  19748. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19749. "type": "integer"
  19750. },
  19751. "tradedate": {
  19752. "description": "交易日(yyyyMMdd)",
  19753. "type": "string"
  19754. },
  19755. "ydbuyposition": {
  19756. "description": "期初买头寸",
  19757. "type": "integer"
  19758. },
  19759. "ydsellposition": {
  19760. "description": "期初卖头寸",
  19761. "type": "integer"
  19762. }
  19763. }
  19764. },
  19765. "models.ErmcpHedgePositionDetail": {
  19766. "type": "object",
  19767. "properties": {
  19768. "buyorsell": {
  19769. "description": "买卖方向 0-买 1-卖",
  19770. "type": "integer"
  19771. },
  19772. "channelbuildtype": {
  19773. "description": "开平方向 1-建仓 2-平仓",
  19774. "type": "integer"
  19775. },
  19776. "goodscode": {
  19777. "description": "商品代码",
  19778. "type": "string"
  19779. },
  19780. "goodsname": {
  19781. "description": "商品名称",
  19782. "type": "string"
  19783. },
  19784. "hedgegoodsid": {
  19785. "description": "商品id",
  19786. "type": "integer"
  19787. },
  19788. "tradeqty": {
  19789. "description": "数量(成交数量)",
  19790. "type": "integer"
  19791. },
  19792. "tradetime": {
  19793. "description": "时间(成交时间)",
  19794. "type": "string"
  19795. }
  19796. }
  19797. },
  19798. "models.ErmcpHisExposure": {
  19799. "type": "object",
  19800. "properties": {
  19801. "needhedgeexposoure": {
  19802. "description": "应套保敞口",
  19803. "type": "number"
  19804. },
  19805. "reckondate": {
  19806. "description": "日照时期(yyyyMMdd)",
  19807. "type": "string"
  19808. },
  19809. "totalexposure": {
  19810. "description": "总敞口",
  19811. "type": "number"
  19812. }
  19813. }
  19814. },
  19815. "models.ErmcpHisExposureS": {
  19816. "type": "object",
  19817. "properties": {
  19818. "data": {
  19819. "description": "历史敞口",
  19820. "type": "array",
  19821. "items": {
  19822. "$ref": "#/definitions/models.ErmcpHisExposure"
  19823. }
  19824. },
  19825. "enumdicname": {
  19826. "description": "单位名称",
  19827. "type": "string"
  19828. },
  19829. "middlegoodscode": {
  19830. "description": "套保品种代码",
  19831. "type": "string"
  19832. },
  19833. "middlegoodsid": {
  19834. "description": "套保品种ID",
  19835. "type": "integer"
  19836. },
  19837. "middlegoodsname": {
  19838. "description": "套保品种名称",
  19839. "type": "string"
  19840. }
  19841. }
  19842. },
  19843. "models.ErmcpLoginTaAccount": {
  19844. "type": "object",
  19845. "properties": {
  19846. "accountid": {
  19847. "description": "账号id",
  19848. "type": "integer"
  19849. },
  19850. "accountname": {
  19851. "description": "账号名称",
  19852. "type": "string"
  19853. }
  19854. }
  19855. },
  19856. "models.ErmcpLoginUser": {
  19857. "type": "object",
  19858. "properties": {
  19859. "acclist": {
  19860. "description": "关联资金账号",
  19861. "type": "array",
  19862. "items": {
  19863. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19864. }
  19865. },
  19866. "accountname": {
  19867. "description": "用户名称",
  19868. "type": "string"
  19869. },
  19870. "clientroleid": {
  19871. "description": "角色id(usertype=2)",
  19872. "type": "integer"
  19873. },
  19874. "createtime": {
  19875. "description": "创建时间",
  19876. "type": "string"
  19877. },
  19878. "logincode": {
  19879. "description": "登录代码",
  19880. "type": "string"
  19881. },
  19882. "loginid": {
  19883. "description": "登录id(LOGINID)",
  19884. "type": "integer"
  19885. },
  19886. "loginname": {
  19887. "description": "登录名称(loginaccount表中的accountname字段)",
  19888. "type": "string"
  19889. },
  19890. "loginstatus": {
  19891. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19892. "type": "integer"
  19893. },
  19894. "memberuserid": {
  19895. "description": "所属会员id",
  19896. "type": "integer"
  19897. },
  19898. "mobile": {
  19899. "description": "手机号",
  19900. "type": "string"
  19901. },
  19902. "modifytime": {
  19903. "description": "修改时间",
  19904. "type": "string"
  19905. },
  19906. "password": {
  19907. "description": "密码(不可解密)",
  19908. "type": "string"
  19909. },
  19910. "rolename": {
  19911. "description": "角色名称",
  19912. "type": "string"
  19913. },
  19914. "rolestatus": {
  19915. "description": "角色状态 1-启用 2-停用",
  19916. "type": "integer"
  19917. },
  19918. "roletype": {
  19919. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  19920. "type": "string"
  19921. },
  19922. "userid": {
  19923. "description": "用户id",
  19924. "type": "integer"
  19925. },
  19926. "usertype": {
  19927. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  19928. "type": "integer"
  19929. }
  19930. }
  19931. },
  19932. "models.ErmcpLoginUserEx": {
  19933. "type": "object",
  19934. "properties": {
  19935. "accountstatus": {
  19936. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  19937. "type": "integer"
  19938. },
  19939. "mobile": {
  19940. "description": "手机号",
  19941. "type": "string"
  19942. },
  19943. "querytype": {
  19944. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  19945. "type": "integer"
  19946. },
  19947. "roleid": {
  19948. "description": "角色id(交易账户-\u003e用户id)",
  19949. "type": "integer"
  19950. },
  19951. "rolename": {
  19952. "description": "角色名称(交易账户-\u003e用户名称)",
  19953. "type": "string"
  19954. },
  19955. "userlist": {
  19956. "description": "用户列表",
  19957. "type": "array",
  19958. "items": {
  19959. "$ref": "#/definitions/models.ErmcpLoginUser"
  19960. }
  19961. },
  19962. "usertype": {
  19963. "description": "用户类型 2-机构 7-企业成员(云平台)",
  19964. "type": "integer"
  19965. }
  19966. }
  19967. },
  19968. "models.ErmcpMiddleGoodsChangeLog": {
  19969. "type": "object",
  19970. "properties": {
  19971. "aftervalue": {
  19972. "description": "变更后",
  19973. "type": "number"
  19974. },
  19975. "applyid": {
  19976. "description": "操作人",
  19977. "type": "integer"
  19978. },
  19979. "applyname": {
  19980. "description": "操作人名称",
  19981. "type": "string"
  19982. },
  19983. "applysrc": {
  19984. "description": "操作来源 - 1:管理端 2:终端",
  19985. "type": "integer"
  19986. },
  19987. "beforevalue": {
  19988. "description": "变更前",
  19989. "type": "number"
  19990. },
  19991. "changelogtype": {
  19992. "description": "变更流水类型 - 1:套保比率变更",
  19993. "type": "integer"
  19994. },
  19995. "handlestatus": {
  19996. "description": "处理状态",
  19997. "type": "integer"
  19998. },
  19999. "logdatetime": {
  20000. "description": "流水日期",
  20001. "type": "string"
  20002. },
  20003. "logid": {
  20004. "description": "流水ID",
  20005. "type": "integer"
  20006. },
  20007. "logremark": {
  20008. "description": "流水备注",
  20009. "type": "string"
  20010. },
  20011. "middlegoodsid": {
  20012. "description": "套保品种ID",
  20013. "type": "integer"
  20014. },
  20015. "tradedate": {
  20016. "description": "交易日(yyyyMMdd)",
  20017. "type": "string"
  20018. },
  20019. "updatetime": {
  20020. "description": "更新时间",
  20021. "type": "string"
  20022. }
  20023. }
  20024. },
  20025. "models.ErmcpMiddleGoodsDetail": {
  20026. "type": "object",
  20027. "properties": {
  20028. "cvList": {
  20029. "description": "期货品种折算列表",
  20030. "type": "array",
  20031. "items": {
  20032. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20033. }
  20034. },
  20035. "mg": {
  20036. "description": "套保品种基本信息",
  20037. "type": "object",
  20038. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20039. },
  20040. "wrcList": {
  20041. "description": "现货品种列表(现货商品折算配置)",
  20042. "type": "array",
  20043. "items": {
  20044. "$ref": "#/definitions/models.WRSConverTDetail"
  20045. }
  20046. }
  20047. }
  20048. },
  20049. "models.ErmcpMiddleGoodsModel": {
  20050. "type": "object",
  20051. "properties": {
  20052. "areauserid": {
  20053. "description": "机构用户ID",
  20054. "type": "integer"
  20055. },
  20056. "createtime": {
  20057. "description": "修改时间",
  20058. "type": "string"
  20059. },
  20060. "enumdicname": {
  20061. "description": "单位名称",
  20062. "type": "string"
  20063. },
  20064. "evaluateratio": {
  20065. "description": "估价系数",
  20066. "type": "number"
  20067. },
  20068. "goodsgroupid": {
  20069. "description": "关联期货品种ID",
  20070. "type": "integer"
  20071. },
  20072. "goodsunitid": {
  20073. "description": "单位ID",
  20074. "type": "integer"
  20075. },
  20076. "isvalid": {
  20077. "description": "状态 0-无效(停用) 1-有效(正常)",
  20078. "type": "integer"
  20079. },
  20080. "middlegoodscode": {
  20081. "description": "套保品种代码",
  20082. "type": "string"
  20083. },
  20084. "middlegoodsid": {
  20085. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20086. "type": "integer"
  20087. },
  20088. "middlegoodsname": {
  20089. "description": "套保品种名称",
  20090. "type": "string"
  20091. },
  20092. "modifytime": {
  20093. "description": "修改时间",
  20094. "type": "string"
  20095. },
  20096. "needarbitrageratio": {
  20097. "description": "套利比例",
  20098. "type": "number"
  20099. },
  20100. "needhedgeratio": {
  20101. "description": "套保比率",
  20102. "type": "number"
  20103. },
  20104. "qtydecimalplace": {
  20105. "description": "数量小数位",
  20106. "type": "integer"
  20107. },
  20108. "relatedgoodsid": {
  20109. "description": "关联交易商品ID",
  20110. "type": "integer"
  20111. },
  20112. "relatedgoodstype": {
  20113. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20114. "type": "integer"
  20115. },
  20116. "remark": {
  20117. "description": "备注",
  20118. "type": "string"
  20119. }
  20120. }
  20121. },
  20122. "models.ErmcpMiddlegoodsRelateGoods": {
  20123. "type": "object",
  20124. "properties": {
  20125. "agreeunit": {
  20126. "description": "合约乘数",
  20127. "type": "number"
  20128. },
  20129. "convertratio": {
  20130. "description": "折算系数",
  20131. "type": "number"
  20132. },
  20133. "enumdicname": {
  20134. "description": "单位名称(交易商品)",
  20135. "type": "string"
  20136. },
  20137. "goodscode": {
  20138. "description": "交易商品代码",
  20139. "type": "string"
  20140. },
  20141. "goodsgroupid": {
  20142. "description": "交易品种id",
  20143. "type": "integer"
  20144. },
  20145. "goodsid": {
  20146. "description": "商品Id",
  20147. "type": "integer"
  20148. },
  20149. "goodsname": {
  20150. "description": "交易商品名称",
  20151. "type": "string"
  20152. },
  20153. "goodunitid": {
  20154. "description": "交易商品单位id",
  20155. "type": "integer"
  20156. },
  20157. "middlegoodsid": {
  20158. "description": "套保商品id",
  20159. "type": "integer"
  20160. },
  20161. "middlegoodsname": {
  20162. "description": "套保商品名称",
  20163. "type": "string"
  20164. },
  20165. "middlegoodsswcode": {
  20166. "description": "套保商品代码",
  20167. "type": "string"
  20168. },
  20169. "needarbitrageratio": {
  20170. "description": "应套利比例",
  20171. "type": "number"
  20172. },
  20173. "needhedgeratio": {
  20174. "description": "应套保比例",
  20175. "type": "number"
  20176. }
  20177. }
  20178. },
  20179. "models.ErmcpOPLogModel": {
  20180. "type": "object",
  20181. "properties": {
  20182. "aftervalue": {
  20183. "description": "变更后",
  20184. "type": "number"
  20185. },
  20186. "applyid": {
  20187. "description": "操作人ID",
  20188. "type": "string"
  20189. },
  20190. "applyname": {
  20191. "description": "操作人名称",
  20192. "type": "string"
  20193. },
  20194. "beforevalue": {
  20195. "description": "变更前",
  20196. "type": "number"
  20197. },
  20198. "biztype": {
  20199. "description": "业务类型 - 1:套保计划 2:现货合同",
  20200. "type": "integer"
  20201. },
  20202. "contracttype": {
  20203. "description": "现货合同类型 - 1:采购 -1:销售",
  20204. "type": "integer"
  20205. },
  20206. "logvalue": {
  20207. "description": "数值",
  20208. "type": "number"
  20209. },
  20210. "operatelogtype": {
  20211. "description": "操作流水类型",
  20212. "type": "integer"
  20213. },
  20214. "operatelogtypedesc": {
  20215. "description": "操作流水类型名称",
  20216. "type": "string"
  20217. },
  20218. "relatedid": {
  20219. "description": "现货合同ID\\套保计划",
  20220. "type": "string"
  20221. },
  20222. "updatetime": {
  20223. "description": "更新时间",
  20224. "type": "string"
  20225. }
  20226. }
  20227. },
  20228. "models.ErmcpPendingAudit": {
  20229. "type": "object",
  20230. "properties": {
  20231. "areastockqty": {
  20232. "description": "待审核数量: 库存申请",
  20233. "type": "integer"
  20234. },
  20235. "businessdjqty": {
  20236. "description": "待审核数量: 点价",
  20237. "type": "integer"
  20238. },
  20239. "businessfpqty": {
  20240. "description": "待审核数量: 发票",
  20241. "type": "integer"
  20242. },
  20243. "businessjsqty": {
  20244. "description": "待审核数量: 结算",
  20245. "type": "integer"
  20246. },
  20247. "businesskxqty": {
  20248. "description": "待审核数量: 款项",
  20249. "type": "integer"
  20250. },
  20251. "hedgeplanqty": {
  20252. "description": "待审核数量: 套保计划",
  20253. "type": "integer"
  20254. },
  20255. "spotcontractqty": {
  20256. "description": "待审核数量: 现货合同",
  20257. "type": "integer"
  20258. },
  20259. "userqty": {
  20260. "description": "待审核数量: 用户",
  20261. "type": "integer"
  20262. }
  20263. }
  20264. },
  20265. "models.ErmcpRealExposureModel": {
  20266. "type": "object",
  20267. "properties": {
  20268. "AreaUserID": {
  20269. "description": "所属机构",
  20270. "type": "integer"
  20271. },
  20272. "BuyFutureQty": {
  20273. "description": "买入期货数量",
  20274. "type": "number"
  20275. },
  20276. "BuyPlanQty": {
  20277. "description": "采购计划数量",
  20278. "type": "number"
  20279. },
  20280. "BuyPricedQty": {
  20281. "description": "采购合同已定价数量",
  20282. "type": "number"
  20283. },
  20284. "MiddleGoodsCode": {
  20285. "description": "套保品种代码",
  20286. "type": "string"
  20287. },
  20288. "MiddleGoodsHedgeRatio": {
  20289. "description": "套保比例",
  20290. "type": "number"
  20291. },
  20292. "MiddleGoodsID": {
  20293. "description": "套保品种",
  20294. "type": "integer"
  20295. },
  20296. "MiddleGoodsName": {
  20297. "description": "套保品种名称",
  20298. "type": "string"
  20299. },
  20300. "NeedHedgeExposoure": {
  20301. "description": "应套保敞口(套保敞口)",
  20302. "type": "number"
  20303. },
  20304. "NeedHedgeRatio": {
  20305. "description": "应套保敞口比例",
  20306. "type": "number"
  20307. },
  20308. "OriBuyFutureQty": {
  20309. "description": "期初买入期货数量",
  20310. "type": "number"
  20311. },
  20312. "OriBuyPlanQty": {
  20313. "description": "期初采购计划数量",
  20314. "type": "number"
  20315. },
  20316. "OriBuyPricedQty": {
  20317. "description": "期初采购合同已定价数量",
  20318. "type": "number"
  20319. },
  20320. "OriSellFutureQty": {
  20321. "description": "期初卖出期货数量",
  20322. "type": "number"
  20323. },
  20324. "OriSellPlanQty": {
  20325. "description": "期初销售计划数量",
  20326. "type": "number"
  20327. },
  20328. "OriSellPricedQty": {
  20329. "description": "期初销售合同已定价数量",
  20330. "type": "number"
  20331. },
  20332. "SellFutureQty": {
  20333. "description": "卖出期货数量",
  20334. "type": "number"
  20335. },
  20336. "SellPlanQty": {
  20337. "description": "销售计划数量",
  20338. "type": "number"
  20339. },
  20340. "SellPricedQty": {
  20341. "description": "销售合同已定价数量",
  20342. "type": "number"
  20343. },
  20344. "TotalExposure": {
  20345. "description": "总敞口",
  20346. "type": "number"
  20347. },
  20348. "TotalFutureQty": {
  20349. "description": "期货总量",
  20350. "type": "number"
  20351. },
  20352. "TotalHedgeRatio": {
  20353. "description": "敞口比例",
  20354. "type": "number"
  20355. },
  20356. "TotalNeedHedgeQty": {
  20357. "description": "应套保总量(现货应套保总量)",
  20358. "type": "number"
  20359. },
  20360. "TotalSpotQty": {
  20361. "description": "现货总量",
  20362. "type": "number"
  20363. },
  20364. "arbitrageqty": {
  20365. "description": "套利量",
  20366. "type": "number"
  20367. },
  20368. "diffArbitrageQty": {
  20369. "description": "套利变动量",
  20370. "type": "number"
  20371. },
  20372. "diffExposoureQty": {
  20373. "description": "变动量(套保敞口)",
  20374. "type": "number"
  20375. },
  20376. "diffFutuQty": {
  20377. "description": "变动量(期货总量)",
  20378. "type": "number"
  20379. },
  20380. "diffHedgeQty": {
  20381. "description": "套保变动量",
  20382. "type": "number"
  20383. },
  20384. "diffQty": {
  20385. "description": "变动量(总敞口)",
  20386. "type": "number"
  20387. },
  20388. "diffSpotHedgeQty": {
  20389. "description": "变动量(现货应套保总量)",
  20390. "type": "number"
  20391. },
  20392. "diffSpotQty": {
  20393. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20394. "type": "number"
  20395. },
  20396. "enumdicname": {
  20397. "description": "单位名称",
  20398. "type": "string"
  20399. },
  20400. "hedgeqty": {
  20401. "description": "套保量",
  20402. "type": "number"
  20403. },
  20404. "needarbitrageqty": {
  20405. "description": "应套利量",
  20406. "type": "number"
  20407. },
  20408. "needarbitrageratio": {
  20409. "description": "套利比例",
  20410. "type": "number"
  20411. },
  20412. "needhedgeqty": {
  20413. "description": "应套保量",
  20414. "type": "number"
  20415. },
  20416. "oriTotalFutuQty": {
  20417. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20418. "type": "number"
  20419. },
  20420. "oriTotalSpotQty": {
  20421. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20422. "type": "number"
  20423. },
  20424. "oriarbitrageqty": {
  20425. "description": "期初套利量",
  20426. "type": "number"
  20427. },
  20428. "orihedgeqty": {
  20429. "description": "期初套保量",
  20430. "type": "number"
  20431. },
  20432. "orineedhedgeexposoure": {
  20433. "description": "期初套保敞口",
  20434. "type": "number"
  20435. },
  20436. "oritotalexposure": {
  20437. "description": "期初总敞口",
  20438. "type": "number"
  20439. },
  20440. "oritotalfutureqty": {
  20441. "description": "期初期货总量",
  20442. "type": "number"
  20443. },
  20444. "oritotalneedhedgeqty": {
  20445. "description": "期初现货应套保量",
  20446. "type": "number"
  20447. }
  20448. }
  20449. },
  20450. "models.ErmcpRole": {
  20451. "type": "object",
  20452. "properties": {
  20453. "areauserid": {
  20454. "description": "所属机构",
  20455. "type": "integer"
  20456. },
  20457. "autoid": {
  20458. "description": "角色ID(自增ID)",
  20459. "type": "integer"
  20460. },
  20461. "modifierid": {
  20462. "description": "修改人(创建人)",
  20463. "type": "integer"
  20464. },
  20465. "modifiername": {
  20466. "description": "修改人名称",
  20467. "type": "string"
  20468. },
  20469. "modifytime": {
  20470. "description": "修改时间(创建时间)",
  20471. "type": "string"
  20472. },
  20473. "rolename": {
  20474. "description": "角色名称",
  20475. "type": "string"
  20476. },
  20477. "rolestatus": {
  20478. "description": "角色状态 - 1:启用 2:停用",
  20479. "type": "integer"
  20480. },
  20481. "roletype": {
  20482. "description": "角色类型 - 1- 管理端 2- 交易端",
  20483. "type": "integer"
  20484. }
  20485. }
  20486. },
  20487. "models.ErmcpRoleMenu": {
  20488. "type": "object",
  20489. "properties": {
  20490. "iconame": {
  20491. "description": "菜单图标",
  20492. "type": "string"
  20493. },
  20494. "ishadrole": {
  20495. "description": "是否有权限",
  20496. "type": "boolean"
  20497. },
  20498. "menutype": {
  20499. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20500. "type": "integer"
  20501. },
  20502. "parentcode": {
  20503. "description": "上级资源代码",
  20504. "type": "string"
  20505. },
  20506. "remark": {
  20507. "description": "菜单备注",
  20508. "type": "string"
  20509. },
  20510. "resourcecode": {
  20511. "description": "菜单代码",
  20512. "type": "string"
  20513. },
  20514. "resourcelevel": {
  20515. "description": "级别",
  20516. "type": "integer"
  20517. },
  20518. "resourcename": {
  20519. "description": "菜单名称",
  20520. "type": "string"
  20521. },
  20522. "roleid": {
  20523. "description": "角色id",
  20524. "type": "integer"
  20525. },
  20526. "sort": {
  20527. "description": "排序",
  20528. "type": "integer"
  20529. },
  20530. "url": {
  20531. "description": "URL",
  20532. "type": "string"
  20533. },
  20534. "userid": {
  20535. "description": "用户id",
  20536. "type": "integer"
  20537. }
  20538. }
  20539. },
  20540. "models.ErmcpRoleMenuEx": {
  20541. "type": "object",
  20542. "properties": {
  20543. "menu": {
  20544. "description": "父级菜单",
  20545. "type": "object",
  20546. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20547. },
  20548. "subMenu": {
  20549. "description": "子级菜单",
  20550. "type": "array",
  20551. "items": {
  20552. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20553. }
  20554. }
  20555. }
  20556. },
  20557. "models.ErmcpTaAccount": {
  20558. "type": "object",
  20559. "properties": {
  20560. "accountid": {
  20561. "description": "账户id",
  20562. "type": "integer"
  20563. },
  20564. "accountname": {
  20565. "description": "账户名称",
  20566. "type": "string"
  20567. },
  20568. "currencyid": {
  20569. "description": "币种id",
  20570. "type": "integer"
  20571. },
  20572. "hedgeaccountcode": {
  20573. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20574. "type": "string"
  20575. },
  20576. "ismain": {
  20577. "description": "是否主账户 0-否 1-是",
  20578. "type": "integer"
  20579. },
  20580. "parentaccountid": {
  20581. "description": "父账户id",
  20582. "type": "integer"
  20583. },
  20584. "relateduserid": {
  20585. "description": "关联userid",
  20586. "type": "integer"
  20587. },
  20588. "tradefeetmpid": {
  20589. "description": "手续费模板id",
  20590. "type": "integer"
  20591. },
  20592. "tradefeetmpname": {
  20593. "description": "手续费模板名称",
  20594. "type": "string"
  20595. },
  20596. "trademargintmpid": {
  20597. "description": "保证金模板id",
  20598. "type": "integer"
  20599. },
  20600. "trademargintmpname": {
  20601. "description": "保证金模板名称",
  20602. "type": "string"
  20603. },
  20604. "traderatetmpid": {
  20605. "description": "汇率模板id",
  20606. "type": "integer"
  20607. },
  20608. "traderatetmpname": {
  20609. "description": "汇率模板名称",
  20610. "type": "string"
  20611. },
  20612. "tradestatus": {
  20613. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20614. "type": "integer"
  20615. },
  20616. "userid": {
  20617. "description": "用户id",
  20618. "type": "integer"
  20619. }
  20620. }
  20621. },
  20622. "models.ErmcpTaAccountEx": {
  20623. "type": "object",
  20624. "properties": {
  20625. "mainAcc": {
  20626. "description": "主账号",
  20627. "type": "object",
  20628. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20629. },
  20630. "subacclist": {
  20631. "description": "子账号列表",
  20632. "type": "array",
  20633. "items": {
  20634. "$ref": "#/definitions/models.ErmcpTaAccount"
  20635. }
  20636. }
  20637. }
  20638. },
  20639. "models.ErmcpTaAccountInfo": {
  20640. "type": "object",
  20641. "properties": {
  20642. "accountid": {
  20643. "description": "资金账户ID",
  20644. "type": "integer"
  20645. },
  20646. "accountname": {
  20647. "description": "账户名称",
  20648. "type": "string"
  20649. },
  20650. "balance": {
  20651. "description": "期初余额",
  20652. "type": "number"
  20653. },
  20654. "capitalbalance": {
  20655. "description": "本金余额[外部子账户实际出入金余额]",
  20656. "type": "number"
  20657. },
  20658. "closepl": {
  20659. "description": "今日平仓盈亏",
  20660. "type": "number"
  20661. },
  20662. "creditdecrease": {
  20663. "description": "今日授信减少",
  20664. "type": "number"
  20665. },
  20666. "creditincrease": {
  20667. "description": "今日授信增加",
  20668. "type": "number"
  20669. },
  20670. "curdebt": {
  20671. "description": "期末欠款",
  20672. "type": "number"
  20673. },
  20674. "currencyid": {
  20675. "description": "货币ID",
  20676. "type": "integer"
  20677. },
  20678. "currentbalance": {
  20679. "description": "期末余额",
  20680. "type": "number"
  20681. },
  20682. "freezecharge": {
  20683. "description": "手续费冻结",
  20684. "type": "number"
  20685. },
  20686. "freezemargin": {
  20687. "description": "冻结保证金",
  20688. "type": "number"
  20689. },
  20690. "fromaccountid": {
  20691. "description": "所属上级账户",
  20692. "type": "integer"
  20693. },
  20694. "inamount": {
  20695. "description": "今日入金金额(包括三方入金)",
  20696. "type": "number"
  20697. },
  20698. "ismain": {
  20699. "description": "是否母账号 0:不是母账户 1:是母账户",
  20700. "type": "integer"
  20701. },
  20702. "mortgagecredit": {
  20703. "description": "授信金额",
  20704. "type": "number"
  20705. },
  20706. "oridebt": {
  20707. "description": "期初欠款",
  20708. "type": "number"
  20709. },
  20710. "orifreezecharge": {
  20711. "description": "期初手续费冻结",
  20712. "type": "number"
  20713. },
  20714. "orifreezemargin": {
  20715. "description": "期初冻结保证金",
  20716. "type": "number"
  20717. },
  20718. "orimortgagecredit": {
  20719. "description": "期初授信金额",
  20720. "type": "number"
  20721. },
  20722. "oriothercredit": {
  20723. "description": "期初其它授信金额",
  20724. "type": "number"
  20725. },
  20726. "oriotherfreezemargin": {
  20727. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20728. "type": "number"
  20729. },
  20730. "orioutamountfreeze": {
  20731. "description": "期初出金冻结",
  20732. "type": "number"
  20733. },
  20734. "oriusedmargin": {
  20735. "description": "期初占用保证金",
  20736. "type": "number"
  20737. },
  20738. "othercredit": {
  20739. "description": "其它授信金额",
  20740. "type": "number"
  20741. },
  20742. "othercreditdecrease": {
  20743. "description": "今日其它授信减少",
  20744. "type": "number"
  20745. },
  20746. "othercreditincrease": {
  20747. "description": "今日其它授信增加",
  20748. "type": "number"
  20749. },
  20750. "otherfreezemargin": {
  20751. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20752. "type": "number"
  20753. },
  20754. "outamount": {
  20755. "description": "今日出金金额(包括三方出金)",
  20756. "type": "number"
  20757. },
  20758. "outamountfreeze": {
  20759. "description": "出金冻结",
  20760. "type": "number"
  20761. },
  20762. "outthreshold": {
  20763. "description": "出金阈值",
  20764. "type": "number"
  20765. },
  20766. "parentaccountid": {
  20767. "description": "所属根账号",
  20768. "type": "integer"
  20769. },
  20770. "paycharge": {
  20771. "description": "今日手续费支出",
  20772. "type": "number"
  20773. },
  20774. "relateduserid": {
  20775. "description": "关联用户",
  20776. "type": "integer"
  20777. },
  20778. "signstatus": {
  20779. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20780. "type": "integer"
  20781. },
  20782. "sublevelpath": {
  20783. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20784. "type": "string"
  20785. },
  20786. "taaccounttype": {
  20787. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20788. "type": "integer"
  20789. },
  20790. "thirdinamount": {
  20791. "description": "今日三方入金",
  20792. "type": "number"
  20793. },
  20794. "thirdoutamount": {
  20795. "description": "今日三方出金",
  20796. "type": "number"
  20797. },
  20798. "tradestatus": {
  20799. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20800. "type": "integer"
  20801. },
  20802. "transferamount": {
  20803. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20804. "type": "number"
  20805. },
  20806. "usedmargin": {
  20807. "description": "占用保证金",
  20808. "type": "number"
  20809. },
  20810. "userid": {
  20811. "description": "用户ID",
  20812. "type": "integer"
  20813. }
  20814. }
  20815. },
  20816. "models.ErmcpTaAccountM": {
  20817. "type": "object",
  20818. "properties": {
  20819. "accountid": {
  20820. "description": "账户id",
  20821. "type": "integer"
  20822. },
  20823. "accountname": {
  20824. "description": "账户名称",
  20825. "type": "string"
  20826. },
  20827. "currencyid": {
  20828. "description": "币种id",
  20829. "type": "integer"
  20830. },
  20831. "fcid": {
  20832. "description": "期货公司id",
  20833. "type": "integer"
  20834. },
  20835. "fcname": {
  20836. "description": "期货公司代码",
  20837. "type": "string"
  20838. },
  20839. "hedgeaccountcode": {
  20840. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20841. "type": "string"
  20842. },
  20843. "ismain": {
  20844. "description": "是否主账户 0-否 1-是",
  20845. "type": "integer"
  20846. },
  20847. "parentaccountid": {
  20848. "description": "父账户id",
  20849. "type": "integer"
  20850. },
  20851. "relateduserid": {
  20852. "description": "关联userid",
  20853. "type": "integer"
  20854. },
  20855. "tradefeetmpid": {
  20856. "description": "手续费模板id",
  20857. "type": "integer"
  20858. },
  20859. "tradefeetmpname": {
  20860. "description": "手续费模板名称",
  20861. "type": "string"
  20862. },
  20863. "trademargintmpid": {
  20864. "description": "保证金模板id",
  20865. "type": "integer"
  20866. },
  20867. "trademargintmpname": {
  20868. "description": "保证金模板名称",
  20869. "type": "string"
  20870. },
  20871. "traderatetmpid": {
  20872. "description": "汇率模板id",
  20873. "type": "integer"
  20874. },
  20875. "traderatetmpname": {
  20876. "description": "汇率模板名称",
  20877. "type": "string"
  20878. },
  20879. "tradestatus": {
  20880. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20881. "type": "integer"
  20882. },
  20883. "userid": {
  20884. "description": "用户id",
  20885. "type": "integer"
  20886. }
  20887. }
  20888. },
  20889. "models.ErmcpTradeConfigTMP": {
  20890. "type": "object",
  20891. "properties": {
  20892. "areauserid": {
  20893. "description": "所属机构",
  20894. "type": "integer"
  20895. },
  20896. "basiccurrencyid": {
  20897. "description": "基本币种ID[汇率] - 目标币种",
  20898. "type": "integer"
  20899. },
  20900. "mainaccountid": {
  20901. "description": "主账户ID",
  20902. "type": "integer"
  20903. },
  20904. "modifierid": {
  20905. "description": "修改人",
  20906. "type": "integer"
  20907. },
  20908. "remark": {
  20909. "description": "备注",
  20910. "type": "string"
  20911. },
  20912. "tradeconfigtmpid": {
  20913. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  20914. "type": "integer"
  20915. },
  20916. "tradeconfigtmpname": {
  20917. "description": "交易配置模板名称",
  20918. "type": "string"
  20919. },
  20920. "tradeconfigtmptype": {
  20921. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  20922. "type": "integer"
  20923. },
  20924. "updatetime": {
  20925. "description": "更新时间",
  20926. "type": "string"
  20927. }
  20928. }
  20929. },
  20930. "models.ErmcpUserModel": {
  20931. "type": "object",
  20932. "properties": {
  20933. "address": {
  20934. "description": "通讯地址",
  20935. "type": "string"
  20936. },
  20937. "attachment1": {
  20938. "description": "附件1",
  20939. "type": "string"
  20940. },
  20941. "audittime": {
  20942. "description": "审核时间",
  20943. "type": "string"
  20944. },
  20945. "cardbackphotourl": {
  20946. "description": "证件反面图片地址",
  20947. "type": "string"
  20948. },
  20949. "cardfrontphotourl": {
  20950. "description": "证件正面图片地址",
  20951. "type": "string"
  20952. },
  20953. "cardnum": {
  20954. "description": "证件号码",
  20955. "type": "string"
  20956. },
  20957. "cardtype": {
  20958. "description": "证件类型",
  20959. "type": "integer"
  20960. },
  20961. "cardtypename": {
  20962. "description": "证件类型名称",
  20963. "type": "string"
  20964. },
  20965. "cityid": {
  20966. "description": "市",
  20967. "type": "integer"
  20968. },
  20969. "contactname": {
  20970. "description": "联系人",
  20971. "type": "string"
  20972. },
  20973. "countryid": {
  20974. "description": "国家",
  20975. "type": "integer"
  20976. },
  20977. "createtime": {
  20978. "description": "创建时间",
  20979. "type": "string"
  20980. },
  20981. "customername": {
  20982. "description": "企业名称",
  20983. "type": "string"
  20984. },
  20985. "districtid": {
  20986. "description": "区域",
  20987. "type": "integer"
  20988. },
  20989. "email": {
  20990. "description": "邮件",
  20991. "type": "string"
  20992. },
  20993. "legalpersonname": {
  20994. "description": "法人姓名(企业)",
  20995. "type": "string"
  20996. },
  20997. "memberuserid": {
  20998. "description": "所属机构ID",
  20999. "type": "integer"
  21000. },
  21001. "mobile": {
  21002. "description": "手机号码",
  21003. "type": "string"
  21004. },
  21005. "modifytime": {
  21006. "description": "修改时间",
  21007. "type": "string"
  21008. },
  21009. "nickname": {
  21010. "description": "昵称",
  21011. "type": "string"
  21012. },
  21013. "provinceid": {
  21014. "description": "省",
  21015. "type": "integer"
  21016. },
  21017. "remark": {
  21018. "description": "备注",
  21019. "type": "string"
  21020. },
  21021. "status": {
  21022. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21023. "type": "integer"
  21024. },
  21025. "statusdesc": {
  21026. "description": "账户状态中文描述",
  21027. "type": "string"
  21028. },
  21029. "taxpayernum": {
  21030. "description": "纳税人识别号",
  21031. "type": "string"
  21032. },
  21033. "telphone": {
  21034. "description": "联系电话",
  21035. "type": "string"
  21036. },
  21037. "userid": {
  21038. "description": "用户ID",
  21039. "type": "integer"
  21040. },
  21041. "userinfotype": {
  21042. "description": "客户类型",
  21043. "type": "string"
  21044. }
  21045. }
  21046. },
  21047. "models.ErmcpWareHouseInfo": {
  21048. "type": "object",
  21049. "properties": {
  21050. "address": {
  21051. "description": "详细地址",
  21052. "type": "string"
  21053. },
  21054. "areauserid": {
  21055. "description": "所属机构",
  21056. "type": "integer"
  21057. },
  21058. "autoid": {
  21059. "description": "自增ID(仓库ID)",
  21060. "type": "integer"
  21061. },
  21062. "cityid": {
  21063. "description": "市",
  21064. "type": "integer"
  21065. },
  21066. "contactname": {
  21067. "description": "联系人",
  21068. "type": "string"
  21069. },
  21070. "contactnum": {
  21071. "description": "联系电话",
  21072. "type": "string"
  21073. },
  21074. "countryid": {
  21075. "description": "国家",
  21076. "type": "integer"
  21077. },
  21078. "createtime": {
  21079. "description": "创建时间",
  21080. "type": "string"
  21081. },
  21082. "districtid": {
  21083. "description": "区",
  21084. "type": "integer"
  21085. },
  21086. "hasvideo": {
  21087. "description": "是否有视频 - 0:无 1:有",
  21088. "type": "integer"
  21089. },
  21090. "provinceid": {
  21091. "description": "省",
  21092. "type": "integer"
  21093. },
  21094. "remark": {
  21095. "description": "审核备注",
  21096. "type": "string"
  21097. },
  21098. "videourl": {
  21099. "description": "视频地址",
  21100. "type": "string"
  21101. },
  21102. "warehousecode": {
  21103. "description": "仓库代码",
  21104. "type": "string"
  21105. },
  21106. "warehousename": {
  21107. "description": "仓库名称",
  21108. "type": "string"
  21109. },
  21110. "warehousestatus": {
  21111. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21112. "type": "integer"
  21113. },
  21114. "warehousetype": {
  21115. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21116. "type": "integer"
  21117. }
  21118. }
  21119. },
  21120. "models.Externalexchange": {
  21121. "type": "object",
  21122. "required": [
  21123. "autoid"
  21124. ],
  21125. "properties": {
  21126. "autoid": {
  21127. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21128. "type": "integer"
  21129. },
  21130. "exchangefullname": {
  21131. "description": "外部交易所全称",
  21132. "type": "string"
  21133. },
  21134. "exexchangecode": {
  21135. "description": "外部交易所代码",
  21136. "type": "string"
  21137. },
  21138. "exexchangename": {
  21139. "description": "外部交易所名称(简称)",
  21140. "type": "string"
  21141. },
  21142. "ismarketprice": {
  21143. "description": "是否支持市价 - 0:不支持 1:支持",
  21144. "type": "integer"
  21145. },
  21146. "quotegear": {
  21147. "description": "行情档位(1-10)",
  21148. "type": "integer"
  21149. },
  21150. "showbrokerflag": {
  21151. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21152. "type": "integer"
  21153. },
  21154. "updatetime": {
  21155. "description": "更新时间",
  21156. "type": "string"
  21157. }
  21158. }
  21159. },
  21160. "models.Funcmenulist": {
  21161. "type": "object",
  21162. "required": [
  21163. "resourcecode"
  21164. ],
  21165. "properties": {
  21166. "iconame": {
  21167. "description": "菜单图标",
  21168. "type": "string"
  21169. },
  21170. "menutype": {
  21171. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21172. "type": "integer"
  21173. },
  21174. "parentcode": {
  21175. "description": "上级资源代码",
  21176. "type": "string"
  21177. },
  21178. "remark": {
  21179. "description": "备注",
  21180. "type": "string"
  21181. },
  21182. "resourcecode": {
  21183. "description": "资源代码",
  21184. "type": "string"
  21185. },
  21186. "resourcelevel": {
  21187. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21188. "type": "integer"
  21189. },
  21190. "resourcename": {
  21191. "description": "资源名",
  21192. "type": "string"
  21193. },
  21194. "sort": {
  21195. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21196. "type": "integer"
  21197. },
  21198. "url": {
  21199. "description": "URL",
  21200. "type": "string"
  21201. }
  21202. }
  21203. },
  21204. "models.Goods": {
  21205. "type": "object",
  21206. "required": [
  21207. "goodscode",
  21208. "goodsid",
  21209. "goodsname",
  21210. "marketid"
  21211. ],
  21212. "properties": {
  21213. "agreeunit": {
  21214. "description": "合约单位",
  21215. "type": "number"
  21216. },
  21217. "areauserid": {
  21218. "description": "所属机构",
  21219. "type": "integer"
  21220. },
  21221. "auditaccountid": {
  21222. "description": "审核操作员账号",
  21223. "type": "integer"
  21224. },
  21225. "audittime": {
  21226. "description": "审核时间",
  21227. "type": "string"
  21228. },
  21229. "cancelaccountid": {
  21230. "description": "注销操作员账号",
  21231. "type": "integer"
  21232. },
  21233. "canceltime": {
  21234. "description": "注销时间",
  21235. "type": "string"
  21236. },
  21237. "closepricemode": {
  21238. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21239. "type": "integer"
  21240. },
  21241. "closepriceparam": {
  21242. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21243. "type": "number"
  21244. },
  21245. "createtime": {
  21246. "description": "创建时间",
  21247. "type": "string"
  21248. },
  21249. "creatorid": {
  21250. "description": "创建人",
  21251. "type": "integer"
  21252. },
  21253. "currencyid": {
  21254. "description": "报价货币ID",
  21255. "type": "integer"
  21256. },
  21257. "cutmode": {
  21258. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21259. "type": "integer"
  21260. },
  21261. "decimalplace": {
  21262. "description": "报价小数位",
  21263. "type": "integer"
  21264. },
  21265. "delistingdate": {
  21266. "description": "商品退市时间(状态:退市) -- 已作废",
  21267. "type": "string"
  21268. },
  21269. "delistingmode": {
  21270. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21271. "type": "integer"
  21272. },
  21273. "deliveryflag": {
  21274. "description": "交割标志 - 0:不可交割 1:可交割",
  21275. "type": "integer"
  21276. },
  21277. "forceclosemode": {
  21278. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21279. "type": "integer"
  21280. },
  21281. "forceclosevalue": {
  21282. "description": "定期强平参数 [收益权]",
  21283. "type": "integer"
  21284. },
  21285. "goodscode": {
  21286. "description": "商品代码(内部)",
  21287. "type": "string"
  21288. },
  21289. "goodscurrencyid": {
  21290. "description": "合约货币ID",
  21291. "type": "integer"
  21292. },
  21293. "goodsgroupid": {
  21294. "description": "所属商品组ID",
  21295. "type": "integer"
  21296. },
  21297. "goodsid": {
  21298. "description": "商品ID(自增ID SEQ_GOODS)",
  21299. "type": "integer"
  21300. },
  21301. "goodsname": {
  21302. "description": "商品名称",
  21303. "type": "string"
  21304. },
  21305. "goodsquotetype": {
  21306. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21307. "type": "integer"
  21308. },
  21309. "goodsstatus": {
  21310. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21311. "type": "integer"
  21312. },
  21313. "goodstradetype": {
  21314. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21315. "type": "integer"
  21316. },
  21317. "goodunitid": {
  21318. "description": "报价单位ID",
  21319. "type": "integer"
  21320. },
  21321. "hasquoter": {
  21322. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21323. "type": "integer"
  21324. },
  21325. "hqprotecttime": {
  21326. "description": "行情保护时间(秒)",
  21327. "type": "integer"
  21328. },
  21329. "innerdealmode": {
  21330. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21331. "type": "integer"
  21332. },
  21333. "isbuylimited": {
  21334. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21335. "type": "integer"
  21336. },
  21337. "isvisible": {
  21338. "description": "游客是否可见 - 0:不可见 1:可见",
  21339. "type": "integer"
  21340. },
  21341. "lasttradedate": {
  21342. "description": "最后交易日期(状态:待退市)",
  21343. "type": "string"
  21344. },
  21345. "listingdate": {
  21346. "description": "交易开始日期",
  21347. "type": "string"
  21348. },
  21349. "marketid": {
  21350. "description": "所属市场ID",
  21351. "type": "integer"
  21352. },
  21353. "modifierid": {
  21354. "description": "修改人",
  21355. "type": "integer"
  21356. },
  21357. "modifystatus": {
  21358. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21359. "type": "integer"
  21360. },
  21361. "modifytime": {
  21362. "description": "修改时间",
  21363. "type": "string"
  21364. },
  21365. "outerdealmode": {
  21366. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21367. "type": "integer"
  21368. },
  21369. "outgoodscode": {
  21370. "description": "商品代码(外部)",
  21371. "type": "string"
  21372. },
  21373. "pictureurl": {
  21374. "description": "商品图片",
  21375. "type": "string"
  21376. },
  21377. "qtydecimalplace": {
  21378. "description": "成交量小数位",
  21379. "type": "integer"
  21380. },
  21381. "quotegear": {
  21382. "description": "行情档位(1-10)",
  21383. "type": "integer"
  21384. },
  21385. "quoteminunit": {
  21386. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21387. "type": "integer"
  21388. },
  21389. "quoteshowtype": {
  21390. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21391. "type": "integer"
  21392. },
  21393. "quoteshowtypeinterval": {
  21394. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21395. "type": "integer"
  21396. },
  21397. "remark": {
  21398. "description": "备注",
  21399. "type": "string"
  21400. }
  21401. }
  21402. },
  21403. "models.GoodsIDAndName": {
  21404. "type": "object",
  21405. "required": [
  21406. "goodscode",
  21407. "goodsid",
  21408. "goodsname",
  21409. "marketid"
  21410. ],
  21411. "properties": {
  21412. "goodscode": {
  21413. "description": "商品代码(内部)",
  21414. "type": "string"
  21415. },
  21416. "goodsid": {
  21417. "description": "商品ID(自增ID SEQ_GOODS)",
  21418. "type": "integer"
  21419. },
  21420. "goodsname": {
  21421. "description": "商品名称",
  21422. "type": "string"
  21423. },
  21424. "marketid": {
  21425. "description": "所属市场ID",
  21426. "type": "integer"
  21427. }
  21428. }
  21429. },
  21430. "models.Goodsgroup": {
  21431. "type": "object",
  21432. "required": [
  21433. "goodsgroupid",
  21434. "goodsgroupname",
  21435. "goodsgroupstatus",
  21436. "marketid"
  21437. ],
  21438. "properties": {
  21439. "agreeunit": {
  21440. "description": "合约单位",
  21441. "type": "number"
  21442. },
  21443. "canshort": {
  21444. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21445. "type": "integer"
  21446. },
  21447. "closepricemode": {
  21448. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21449. "type": "integer"
  21450. },
  21451. "closepriceparam": {
  21452. "description": "强平最新价浮动比例 - 方式为2时使用",
  21453. "type": "number"
  21454. },
  21455. "createtime": {
  21456. "description": "创建时间",
  21457. "type": "string"
  21458. },
  21459. "creatorid": {
  21460. "description": "创建人",
  21461. "type": "integer"
  21462. },
  21463. "currencyid": {
  21464. "description": "报价货币ID",
  21465. "type": "integer"
  21466. },
  21467. "decimalplace": {
  21468. "description": "报价小数位",
  21469. "type": "integer"
  21470. },
  21471. "exercisetype": {
  21472. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21473. "type": "integer"
  21474. },
  21475. "exexchangeid": {
  21476. "description": "外部交易所ID[通道交易]",
  21477. "type": "integer"
  21478. },
  21479. "goodsgroupid": {
  21480. "description": "商品组ID(自增ID)",
  21481. "type": "integer"
  21482. },
  21483. "goodsgroupname": {
  21484. "description": "商品组名称",
  21485. "type": "string"
  21486. },
  21487. "goodsgroupstatus": {
  21488. "description": "商品组状态 - 1:正常 2:注销",
  21489. "type": "integer"
  21490. },
  21491. "goodunitid": {
  21492. "description": "报价单位ID",
  21493. "type": "integer"
  21494. },
  21495. "innerdealmode": {
  21496. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21497. "type": "integer"
  21498. },
  21499. "isbuylimited": {
  21500. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21501. "type": "integer"
  21502. },
  21503. "marketid": {
  21504. "description": "所属市场ID",
  21505. "type": "integer"
  21506. },
  21507. "modifierid": {
  21508. "description": "修改人",
  21509. "type": "integer"
  21510. },
  21511. "modifytime": {
  21512. "description": "修改时间",
  21513. "type": "string"
  21514. },
  21515. "outerdealmode": {
  21516. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21517. "type": "integer"
  21518. },
  21519. "outergroupcode": {
  21520. "description": "外部商品组代码[通道交易]",
  21521. "type": "string"
  21522. },
  21523. "premiumdecimalplace": {
  21524. "description": "权利金小数位[场外期权]",
  21525. "type": "integer"
  21526. },
  21527. "premiumspreadalgorithm": {
  21528. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21529. "type": "integer"
  21530. },
  21531. "premiumspreadvalue": {
  21532. "description": "权利金点差值[场外期权]",
  21533. "type": "number"
  21534. },
  21535. "qtydecimalplace": {
  21536. "description": "成交量小数位",
  21537. "type": "integer"
  21538. },
  21539. "quotegear": {
  21540. "description": "行情档位(1-10)",
  21541. "type": "integer"
  21542. },
  21543. "quoteminunit": {
  21544. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21545. "type": "integer"
  21546. },
  21547. "quoterid": {
  21548. "description": "报价商ID[场外期权]",
  21549. "type": "integer"
  21550. },
  21551. "quotesourcegroupid": {
  21552. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21553. "type": "integer"
  21554. },
  21555. "syncgoodsqty": {
  21556. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21557. "type": "integer"
  21558. }
  21559. }
  21560. },
  21561. "models.Goodssortbypreposition": {
  21562. "type": "object",
  21563. "required": [
  21564. "goodscode",
  21565. "tradedate"
  21566. ],
  21567. "properties": {
  21568. "goodscode": {
  21569. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21570. "type": "string"
  21571. },
  21572. "goodsgroupcode": {
  21573. "description": "品种代码",
  21574. "type": "string"
  21575. },
  21576. "prepositionqty": {
  21577. "description": "昨持仓量",
  21578. "type": "integer"
  21579. },
  21580. "sortindex": {
  21581. "description": "排序",
  21582. "type": "integer"
  21583. },
  21584. "tradedate": {
  21585. "description": "交易日",
  21586. "type": "string"
  21587. },
  21588. "updatetime": {
  21589. "description": "更新时间",
  21590. "type": "string"
  21591. }
  21592. }
  21593. },
  21594. "models.Hedgeinnerholderdetail": {
  21595. "type": "object",
  21596. "required": [
  21597. "buyorsell",
  21598. "tradeid"
  21599. ],
  21600. "properties": {
  21601. "accountid": {
  21602. "description": "账号ID",
  21603. "type": "integer"
  21604. },
  21605. "buyorsell": {
  21606. "description": "方向 - 0:买 1:卖",
  21607. "type": "integer"
  21608. },
  21609. "freezeqty": {
  21610. "description": "冻结数量 - 按单平使用",
  21611. "type": "integer"
  21612. },
  21613. "goodsid": {
  21614. "description": "商品ID",
  21615. "type": "integer"
  21616. },
  21617. "holderamount": {
  21618. "description": "持仓金额 [商品币种]",
  21619. "type": "number"
  21620. },
  21621. "holderdays": {
  21622. "description": "剩余冻结天数",
  21623. "type": "integer"
  21624. },
  21625. "holderprice": {
  21626. "description": "持仓价格",
  21627. "type": "number"
  21628. },
  21629. "holderqty": {
  21630. "description": "持仓数量",
  21631. "type": "integer"
  21632. },
  21633. "marketid": {
  21634. "description": "市场ID",
  21635. "type": "integer"
  21636. },
  21637. "openprice": {
  21638. "description": "建仓价格",
  21639. "type": "number"
  21640. },
  21641. "openqty": {
  21642. "description": "建仓数量",
  21643. "type": "integer"
  21644. },
  21645. "parentaccountid": {
  21646. "description": "所属母账户",
  21647. "type": "integer"
  21648. },
  21649. "releaseamount": {
  21650. "description": "释放持仓金额[商品币种]",
  21651. "type": "number"
  21652. },
  21653. "tradeamount": {
  21654. "description": "成交金额[账户]",
  21655. "type": "number"
  21656. },
  21657. "tradedate": {
  21658. "description": "交易日(yyyyMMdd)",
  21659. "type": "string"
  21660. },
  21661. "tradeid": {
  21662. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21663. "type": "string"
  21664. },
  21665. "tradetime": {
  21666. "description": "交易时间",
  21667. "type": "string"
  21668. }
  21669. }
  21670. },
  21671. "models.Hedgemarketopenlog": {
  21672. "type": "object",
  21673. "required": [
  21674. "accountid"
  21675. ],
  21676. "properties": {
  21677. "accountid": {
  21678. "description": "资金账号[外部母账户]",
  21679. "type": "integer"
  21680. },
  21681. "fcname": {
  21682. "description": "期货公司名称",
  21683. "type": "string"
  21684. },
  21685. "handlestatus": {
  21686. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21687. "type": "integer"
  21688. },
  21689. "marketid": {
  21690. "description": "市场ID",
  21691. "type": "integer"
  21692. },
  21693. "status": {
  21694. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21695. "type": "integer"
  21696. },
  21697. "tradedate": {
  21698. "description": "交易日(yyyyMMdd)",
  21699. "type": "string"
  21700. },
  21701. "updatetime": {
  21702. "description": "更新时间",
  21703. "type": "string"
  21704. }
  21705. }
  21706. },
  21707. "models.HsbyBuyMyPayOrder": {
  21708. "type": "object",
  21709. "required": [
  21710. "goodscode",
  21711. "goodsname",
  21712. "tradeid",
  21713. "trademode"
  21714. ],
  21715. "properties": {
  21716. "agreeunit": {
  21717. "description": "合约单位",
  21718. "type": "number"
  21719. },
  21720. "buyaccountid": {
  21721. "description": "买方账号ID[报价币种]",
  21722. "type": "integer"
  21723. },
  21724. "buyorderid": {
  21725. "description": "买方委托单号",
  21726. "type": "string"
  21727. },
  21728. "createtime": {
  21729. "description": "创建时间",
  21730. "type": "string"
  21731. },
  21732. "currencysign": {
  21733. "description": "货币符号",
  21734. "type": "string"
  21735. },
  21736. "decimalplace": {
  21737. "description": "报价小数位",
  21738. "type": "integer"
  21739. },
  21740. "goodscode": {
  21741. "description": "商品代码(内部)",
  21742. "type": "string"
  21743. },
  21744. "goodsid": {
  21745. "description": "商品ID",
  21746. "type": "integer"
  21747. },
  21748. "goodsname": {
  21749. "description": "商品名称",
  21750. "type": "string"
  21751. },
  21752. "marketid": {
  21753. "description": "市场ID",
  21754. "type": "integer"
  21755. },
  21756. "offamount": {
  21757. "description": "优惠金额",
  21758. "type": "number"
  21759. },
  21760. "originalamount": {
  21761. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21762. "type": "number"
  21763. },
  21764. "payamount": {
  21765. "description": "支付金额 = TradeAmount + TradeCharge",
  21766. "type": "number"
  21767. },
  21768. "payflag": {
  21769. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21770. "type": "integer"
  21771. },
  21772. "paylimitedtime": {
  21773. "description": "支付期限",
  21774. "type": "string"
  21775. },
  21776. "paytime": {
  21777. "description": "付款时间",
  21778. "type": "string"
  21779. },
  21780. "picurls1": {
  21781. "description": "预售商品介绍图片[多张用逗号分隔]",
  21782. "type": "string"
  21783. },
  21784. "picurls2": {
  21785. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21786. "type": "string"
  21787. },
  21788. "sellaccountid": {
  21789. "description": "卖方账号ID[报价币种]",
  21790. "type": "integer"
  21791. },
  21792. "sellorderid": {
  21793. "description": "卖方委托单号",
  21794. "type": "string"
  21795. },
  21796. "tradeamount": {
  21797. "description": "成交金额",
  21798. "type": "number"
  21799. },
  21800. "tradecharge": {
  21801. "description": "成交手续费(买方)",
  21802. "type": "number"
  21803. },
  21804. "tradedate": {
  21805. "description": "交易日(yyyyMMdd)",
  21806. "type": "string"
  21807. },
  21808. "tradeid": {
  21809. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21810. "type": "string"
  21811. },
  21812. "trademode": {
  21813. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21814. "type": "integer"
  21815. },
  21816. "tradeprice": {
  21817. "description": "成交价格",
  21818. "type": "number"
  21819. },
  21820. "tradeqty": {
  21821. "description": "成交数量",
  21822. "type": "integer"
  21823. },
  21824. "vendorname1": {
  21825. "description": "预售商品供应商名称",
  21826. "type": "string"
  21827. },
  21828. "vendorname2": {
  21829. "description": "挂牌商品供应商名称",
  21830. "type": "string"
  21831. }
  21832. }
  21833. },
  21834. "models.HsbyBuyMyTradeDetail": {
  21835. "type": "object",
  21836. "required": [
  21837. "accountid",
  21838. "buyorsell",
  21839. "goodscode",
  21840. "goodsid",
  21841. "goodsname",
  21842. "marketid",
  21843. "orderid",
  21844. "qty",
  21845. "time",
  21846. "trademode"
  21847. ],
  21848. "properties": {
  21849. "accountid": {
  21850. "description": "账户ID[报价币种]",
  21851. "type": "integer"
  21852. },
  21853. "agreeunit": {
  21854. "description": "合约单位",
  21855. "type": "number"
  21856. },
  21857. "amount": {
  21858. "description": "金额 = 价格 * 数量 * 合约单位",
  21859. "type": "number"
  21860. },
  21861. "buyorsell": {
  21862. "description": "买卖 - 0:买 1:卖",
  21863. "type": "integer"
  21864. },
  21865. "currencysign": {
  21866. "description": "货币符号",
  21867. "type": "string"
  21868. },
  21869. "decimalplace": {
  21870. "description": "报价小数位",
  21871. "type": "integer"
  21872. },
  21873. "goodscode": {
  21874. "description": "商品代码(内部)",
  21875. "type": "string"
  21876. },
  21877. "goodsid": {
  21878. "description": "商品ID",
  21879. "type": "integer"
  21880. },
  21881. "goodsname": {
  21882. "description": "商品名称",
  21883. "type": "string"
  21884. },
  21885. "marketid": {
  21886. "description": "市场ID",
  21887. "type": "integer"
  21888. },
  21889. "orderamount": {
  21890. "description": "委托金额",
  21891. "type": "number"
  21892. },
  21893. "orderid": {
  21894. "description": "单号(成交单号)",
  21895. "type": "string"
  21896. },
  21897. "picurls1": {
  21898. "description": "预售商品介绍图片[多张用逗号分隔]",
  21899. "type": "string"
  21900. },
  21901. "picurls2": {
  21902. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21903. "type": "string"
  21904. },
  21905. "price": {
  21906. "description": "价格",
  21907. "type": "number"
  21908. },
  21909. "qty": {
  21910. "description": "数量",
  21911. "type": "integer"
  21912. },
  21913. "time": {
  21914. "description": "时间",
  21915. "type": "string"
  21916. },
  21917. "trademode": {
  21918. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21919. "type": "integer"
  21920. },
  21921. "vendorname1": {
  21922. "description": "预售商品供应商名称",
  21923. "type": "string"
  21924. },
  21925. "vendorname2": {
  21926. "description": "挂牌商品供应商名称",
  21927. "type": "string"
  21928. }
  21929. }
  21930. },
  21931. "models.HsbyGoodsOrderDetail": {
  21932. "type": "object",
  21933. "required": [
  21934. "buyorsell",
  21935. "orderid",
  21936. "ordertime"
  21937. ],
  21938. "properties": {
  21939. "buyorsell": {
  21940. "description": "买卖 - 0:买 1:卖",
  21941. "type": "integer"
  21942. },
  21943. "currencysign": {
  21944. "description": "货币符号",
  21945. "type": "string"
  21946. },
  21947. "customername": {
  21948. "description": "客户名称(企业名称),已脱敏",
  21949. "type": "string"
  21950. },
  21951. "enableqty": {
  21952. "description": "可用数量",
  21953. "type": "integer"
  21954. },
  21955. "goodunit": {
  21956. "description": "报价单位",
  21957. "type": "string"
  21958. },
  21959. "orderid": {
  21960. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21961. "type": "string"
  21962. },
  21963. "orderprice": {
  21964. "description": "委托价格",
  21965. "type": "number"
  21966. },
  21967. "ordertime": {
  21968. "description": "委托时间",
  21969. "type": "string"
  21970. }
  21971. }
  21972. },
  21973. "models.HsbyListingGoodsDetail": {
  21974. "type": "object",
  21975. "required": [
  21976. "goodscode",
  21977. "goodsid",
  21978. "goodsname",
  21979. "marketid",
  21980. "trademode"
  21981. ],
  21982. "properties": {
  21983. "agreeunit": {
  21984. "description": "合约单位",
  21985. "type": "number"
  21986. },
  21987. "buymaxqty": {
  21988. "description": "购买上限 [71] - 0为不限",
  21989. "type": "integer"
  21990. },
  21991. "currency": {
  21992. "description": "货币",
  21993. "type": "string"
  21994. },
  21995. "currencysign": {
  21996. "description": "货币符号",
  21997. "type": "string"
  21998. },
  21999. "decimalplace": {
  22000. "description": "报价小数位",
  22001. "type": "integer"
  22002. },
  22003. "desccityid": {
  22004. "description": "目的地(市)ID",
  22005. "type": "integer"
  22006. },
  22007. "descprovinceid": {
  22008. "description": "目的地(省)ID",
  22009. "type": "integer"
  22010. },
  22011. "goodscode": {
  22012. "description": "商品代码(内部)",
  22013. "type": "string"
  22014. },
  22015. "goodsdesc": {
  22016. "description": "商品详情",
  22017. "type": "string"
  22018. },
  22019. "goodsid": {
  22020. "description": "商品ID(自增ID SEQ_GOODS)",
  22021. "type": "integer"
  22022. },
  22023. "goodsname": {
  22024. "description": "商品名称",
  22025. "type": "string"
  22026. },
  22027. "goodsprice": {
  22028. "description": "商品价格",
  22029. "type": "number"
  22030. },
  22031. "hotindex": {
  22032. "description": "景点热度",
  22033. "type": "integer"
  22034. },
  22035. "last": {
  22036. "description": "现价",
  22037. "type": "number"
  22038. },
  22039. "limitdown": {
  22040. "description": "跌停价",
  22041. "type": "number"
  22042. },
  22043. "limitup": {
  22044. "description": "涨停价",
  22045. "type": "number"
  22046. },
  22047. "lotsize": {
  22048. "description": "手数最小变动单位",
  22049. "type": "integer"
  22050. },
  22051. "marketid": {
  22052. "description": "所属市场ID",
  22053. "type": "integer"
  22054. },
  22055. "picurls": {
  22056. "description": "介绍图片[多张用逗号分隔]",
  22057. "type": "string"
  22058. },
  22059. "quoteminunit": {
  22060. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22061. "type": "integer"
  22062. },
  22063. "stepvalue": {
  22064. "description": "价格最小变动单位",
  22065. "type": "number"
  22066. },
  22067. "trademode": {
  22068. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22069. "type": "integer"
  22070. },
  22071. "vendorattr": {
  22072. "description": "供应商附件(多张,逗号分隔)",
  22073. "type": "string"
  22074. },
  22075. "vendorname": {
  22076. "description": "供应商名称",
  22077. "type": "string"
  22078. },
  22079. "vendorphone": {
  22080. "description": "供应商客服电话",
  22081. "type": "string"
  22082. },
  22083. "videourls": {
  22084. "description": "介绍视频[多张用逗号分隔]",
  22085. "type": "string"
  22086. }
  22087. }
  22088. },
  22089. "models.HsbyMarketGoods": {
  22090. "type": "object",
  22091. "required": [
  22092. "accountid",
  22093. "buyorsell",
  22094. "goodscode",
  22095. "goodsid",
  22096. "goodsname",
  22097. "marketid",
  22098. "orderid",
  22099. "trademode"
  22100. ],
  22101. "properties": {
  22102. "accountid": {
  22103. "description": "账户ID[报价币种]",
  22104. "type": "integer"
  22105. },
  22106. "agreeunit": {
  22107. "description": "合约单位",
  22108. "type": "number"
  22109. },
  22110. "buyorsell": {
  22111. "description": "买卖 - 0:买 1:卖",
  22112. "type": "integer"
  22113. },
  22114. "categoryid": {
  22115. "description": "类别ID(WRCATEGORY)",
  22116. "type": "integer"
  22117. },
  22118. "currency": {
  22119. "description": "货币",
  22120. "type": "string"
  22121. },
  22122. "currencysign": {
  22123. "description": "货币符号",
  22124. "type": "string"
  22125. },
  22126. "customername": {
  22127. "description": "卖家名称",
  22128. "type": "string"
  22129. },
  22130. "decimalplace": {
  22131. "description": "报价小数位",
  22132. "type": "integer"
  22133. },
  22134. "goodscode": {
  22135. "description": "商品代码(内部)",
  22136. "type": "string"
  22137. },
  22138. "goodsid": {
  22139. "description": "商品ID",
  22140. "type": "integer"
  22141. },
  22142. "goodsname": {
  22143. "description": "商品名称",
  22144. "type": "string"
  22145. },
  22146. "goodsprice": {
  22147. "description": "商品价格",
  22148. "type": "number"
  22149. },
  22150. "hascoupon": {
  22151. "description": "是否可用优惠卷",
  22152. "type": "boolean"
  22153. },
  22154. "hotindex": {
  22155. "description": "景点热度",
  22156. "type": "integer"
  22157. },
  22158. "marketid": {
  22159. "description": "市场ID",
  22160. "type": "integer"
  22161. },
  22162. "orderid": {
  22163. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22164. "type": "string"
  22165. },
  22166. "orderprice": {
  22167. "description": "委托价格",
  22168. "type": "number"
  22169. },
  22170. "orderstatus": {
  22171. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22172. "type": "integer"
  22173. },
  22174. "picurls": {
  22175. "description": "介绍图片[多张用逗号分隔]",
  22176. "type": "string"
  22177. },
  22178. "quoteminunit": {
  22179. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22180. "type": "integer"
  22181. },
  22182. "sellUserID": {
  22183. "description": "卖方UserID",
  22184. "type": "integer"
  22185. },
  22186. "trademode": {
  22187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22188. "type": "integer"
  22189. },
  22190. "videourls": {
  22191. "description": "介绍视频[多张用逗号分隔]",
  22192. "type": "string"
  22193. }
  22194. }
  22195. },
  22196. "models.HsbyMarketGoodsDetail": {
  22197. "type": "object",
  22198. "required": [
  22199. "accountid",
  22200. "buyorsell",
  22201. "goodscode",
  22202. "goodsid",
  22203. "goodsname",
  22204. "marketid",
  22205. "orderid",
  22206. "orderqty",
  22207. "trademode"
  22208. ],
  22209. "properties": {
  22210. "accountid": {
  22211. "description": "账户ID[报价币种]",
  22212. "type": "integer"
  22213. },
  22214. "agreeunit": {
  22215. "description": "合约单位",
  22216. "type": "number"
  22217. },
  22218. "buymaxqty": {
  22219. "description": "购买上限 [71] - 0为不限",
  22220. "type": "integer"
  22221. },
  22222. "buyorsell": {
  22223. "description": "买卖 - 0:买 1:卖",
  22224. "type": "integer"
  22225. },
  22226. "cancelqty": {
  22227. "description": "撤单数量",
  22228. "type": "integer"
  22229. },
  22230. "categoryid": {
  22231. "description": "类别ID(WRCATEGORY)",
  22232. "type": "integer"
  22233. },
  22234. "currency": {
  22235. "description": "货币",
  22236. "type": "string"
  22237. },
  22238. "currencysign": {
  22239. "description": "货币符号",
  22240. "type": "string"
  22241. },
  22242. "customername": {
  22243. "description": "卖家名称",
  22244. "type": "string"
  22245. },
  22246. "decimalplace": {
  22247. "description": "报价小数位",
  22248. "type": "integer"
  22249. },
  22250. "goodscode": {
  22251. "description": "商品代码(内部)",
  22252. "type": "string"
  22253. },
  22254. "goodsdesc": {
  22255. "description": "商品详情",
  22256. "type": "string"
  22257. },
  22258. "goodsid": {
  22259. "description": "商品ID",
  22260. "type": "integer"
  22261. },
  22262. "goodsname": {
  22263. "description": "商品名称",
  22264. "type": "string"
  22265. },
  22266. "goodsprice": {
  22267. "description": "商品价格",
  22268. "type": "number"
  22269. },
  22270. "hotindex": {
  22271. "description": "景点热度",
  22272. "type": "integer"
  22273. },
  22274. "lotsize": {
  22275. "description": "手数最小变动单位",
  22276. "type": "integer"
  22277. },
  22278. "marketid": {
  22279. "description": "市场ID",
  22280. "type": "integer"
  22281. },
  22282. "orderid": {
  22283. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22284. "type": "string"
  22285. },
  22286. "orderprice": {
  22287. "description": "委托价格",
  22288. "type": "number"
  22289. },
  22290. "orderqty": {
  22291. "description": "委托数量",
  22292. "type": "integer"
  22293. },
  22294. "orderstatus": {
  22295. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22296. "type": "integer"
  22297. },
  22298. "picurls": {
  22299. "description": "介绍图片[多张用逗号分隔]",
  22300. "type": "string"
  22301. },
  22302. "quoteminunit": {
  22303. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22304. "type": "integer"
  22305. },
  22306. "sellUserID": {
  22307. "description": "卖方UserID",
  22308. "type": "integer"
  22309. },
  22310. "trademode": {
  22311. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22312. "type": "integer"
  22313. },
  22314. "tradeqty": {
  22315. "description": "成交数量",
  22316. "type": "integer"
  22317. },
  22318. "vendorattr": {
  22319. "description": "供应商附件(多张,逗号分隔)",
  22320. "type": "string"
  22321. },
  22322. "vendorname": {
  22323. "description": "供应商名称",
  22324. "type": "string"
  22325. },
  22326. "vendorphone": {
  22327. "description": "供应商客服电话",
  22328. "type": "string"
  22329. },
  22330. "videourls": {
  22331. "description": "介绍视频[多张用逗号分隔]",
  22332. "type": "string"
  22333. }
  22334. }
  22335. },
  22336. "models.HsbyMarketInfo": {
  22337. "type": "object",
  22338. "required": [
  22339. "marketid",
  22340. "marketstatus",
  22341. "trademode"
  22342. ],
  22343. "properties": {
  22344. "marketid": {
  22345. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22346. "type": "integer"
  22347. },
  22348. "marketname": {
  22349. "description": "市场名称",
  22350. "type": "string"
  22351. },
  22352. "marketstatus": {
  22353. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22354. "type": "integer"
  22355. },
  22356. "trademode": {
  22357. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22358. "type": "integer"
  22359. }
  22360. }
  22361. },
  22362. "models.HsbyMyGoods": {
  22363. "type": "object",
  22364. "required": [
  22365. "accountid",
  22366. "goodscode",
  22367. "goodsid",
  22368. "goodsname",
  22369. "marketid",
  22370. "trademode"
  22371. ],
  22372. "properties": {
  22373. "accountid": {
  22374. "description": "账号Id",
  22375. "type": "integer"
  22376. },
  22377. "agreeunit": {
  22378. "description": "合约单位",
  22379. "type": "number"
  22380. },
  22381. "buyaverageprice": {
  22382. "description": "持仓均价",
  22383. "type": "number"
  22384. },
  22385. "buycurholderamount": {
  22386. "description": "买当前持仓总金额[商品币种]",
  22387. "type": "number"
  22388. },
  22389. "buycurpositionqty": {
  22390. "description": "买当前持仓总数量",
  22391. "type": "integer"
  22392. },
  22393. "buymaxqty": {
  22394. "description": "购买上限 [71] - 0为不限",
  22395. "type": "integer"
  22396. },
  22397. "currencysign": {
  22398. "description": "货币符号",
  22399. "type": "string"
  22400. },
  22401. "decimalplace": {
  22402. "description": "报价小数位",
  22403. "type": "integer"
  22404. },
  22405. "enableqty": {
  22406. "description": "可用数量",
  22407. "type": "integer"
  22408. },
  22409. "goodscode": {
  22410. "description": "商品代码(内部)",
  22411. "type": "string"
  22412. },
  22413. "goodsid": {
  22414. "description": "商品Id",
  22415. "type": "integer"
  22416. },
  22417. "goodsname": {
  22418. "description": "商品名称",
  22419. "type": "string"
  22420. },
  22421. "goodsprice": {
  22422. "description": "商品价格",
  22423. "type": "number"
  22424. },
  22425. "goodsstatus": {
  22426. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22427. "type": "integer"
  22428. },
  22429. "last": {
  22430. "description": "现价(仅使用于挂牌点选)",
  22431. "type": "number"
  22432. },
  22433. "limitdown": {
  22434. "description": "跌停价(仅使用于挂牌点选)",
  22435. "type": "number"
  22436. },
  22437. "limitup": {
  22438. "description": "涨停价(仅使用于挂牌点选)",
  22439. "type": "number"
  22440. },
  22441. "lotsize": {
  22442. "description": "手数最小变动单位",
  22443. "type": "integer"
  22444. },
  22445. "marketid": {
  22446. "description": "所属市场ID",
  22447. "type": "integer"
  22448. },
  22449. "picurls": {
  22450. "description": "介绍图片[多张用逗号分隔]",
  22451. "type": "string"
  22452. },
  22453. "quoteminunit": {
  22454. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22455. "type": "integer"
  22456. },
  22457. "stepvalue": {
  22458. "description": "价格最小变动单位",
  22459. "type": "number"
  22460. },
  22461. "trademode": {
  22462. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22463. "type": "integer"
  22464. }
  22465. }
  22466. },
  22467. "models.HsbyMyPackage": {
  22468. "type": "object",
  22469. "required": [
  22470. "goodscode",
  22471. "goodsname",
  22472. "takeorderid",
  22473. "trademode"
  22474. ],
  22475. "properties": {
  22476. "accountid": {
  22477. "description": "账户ID",
  22478. "type": "integer"
  22479. },
  22480. "address": {
  22481. "description": "提货人详细地址",
  22482. "type": "string"
  22483. },
  22484. "agreeunit": {
  22485. "description": "合约单位",
  22486. "type": "number"
  22487. },
  22488. "amount": {
  22489. "description": "提货金额",
  22490. "type": "number"
  22491. },
  22492. "auditer": {
  22493. "description": "审核人",
  22494. "type": "integer"
  22495. },
  22496. "audittime": {
  22497. "description": "审核时间",
  22498. "type": "string"
  22499. },
  22500. "averageprice": {
  22501. "description": "均价",
  22502. "type": "number"
  22503. },
  22504. "cardnum": {
  22505. "description": "提货人证件号码",
  22506. "type": "string"
  22507. },
  22508. "cardtypeid": {
  22509. "description": "提货人证件类型",
  22510. "type": "integer"
  22511. },
  22512. "checkremark": {
  22513. "description": "审核备注",
  22514. "type": "string"
  22515. },
  22516. "currencysign": {
  22517. "description": "货币符号",
  22518. "type": "string"
  22519. },
  22520. "decimalplace": {
  22521. "description": "报价小数位",
  22522. "type": "integer"
  22523. },
  22524. "goodscode": {
  22525. "description": "商品代码(内部)",
  22526. "type": "string"
  22527. },
  22528. "goodsid": {
  22529. "description": "商品ID",
  22530. "type": "integer"
  22531. },
  22532. "goodsname": {
  22533. "description": "商品名称",
  22534. "type": "string"
  22535. },
  22536. "handlestatus": {
  22537. "description": "处理状态",
  22538. "type": "integer"
  22539. },
  22540. "marketid": {
  22541. "description": "市场ID",
  22542. "type": "integer"
  22543. },
  22544. "phonenum": {
  22545. "description": "提货人联系方式",
  22546. "type": "string"
  22547. },
  22548. "picurls": {
  22549. "description": "介绍图片[多张用逗号分隔]",
  22550. "type": "string"
  22551. },
  22552. "qty": {
  22553. "description": "提货数量",
  22554. "type": "number"
  22555. },
  22556. "recivername": {
  22557. "description": "提货人姓名",
  22558. "type": "string"
  22559. },
  22560. "reqtime": {
  22561. "description": "更新时间",
  22562. "type": "string"
  22563. },
  22564. "takemode": {
  22565. "description": "提货方式 - 2:自提 3:配送",
  22566. "type": "integer"
  22567. },
  22568. "takeorderid": {
  22569. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22570. "type": "string"
  22571. },
  22572. "takeorderstatus": {
  22573. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22574. "type": "integer"
  22575. },
  22576. "takeremark": {
  22577. "description": "提货备注",
  22578. "type": "string"
  22579. },
  22580. "tradedate": {
  22581. "description": "交易日(yyyyMMdd)",
  22582. "type": "string"
  22583. },
  22584. "trademode": {
  22585. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22586. "type": "integer"
  22587. },
  22588. "userid": {
  22589. "description": "用户ID",
  22590. "type": "integer"
  22591. },
  22592. "vendorname": {
  22593. "description": "供应商名称",
  22594. "type": "string"
  22595. }
  22596. }
  22597. },
  22598. "models.HsbyPreGoods": {
  22599. "type": "object",
  22600. "required": [
  22601. "goodscode",
  22602. "goodsid",
  22603. "goodsname",
  22604. "marketid",
  22605. "trademode"
  22606. ],
  22607. "properties": {
  22608. "agreeunit": {
  22609. "description": "合约单位",
  22610. "type": "number"
  22611. },
  22612. "currency": {
  22613. "description": "货币",
  22614. "type": "string"
  22615. },
  22616. "currencysign": {
  22617. "description": "货币符号",
  22618. "type": "string"
  22619. },
  22620. "decimalplace": {
  22621. "description": "报价小数位",
  22622. "type": "integer"
  22623. },
  22624. "desccityid": {
  22625. "description": "目的地(市)",
  22626. "type": "integer"
  22627. },
  22628. "descprovinceid": {
  22629. "description": "目的地(省)",
  22630. "type": "integer"
  22631. },
  22632. "enableqty": {
  22633. "description": "剩余数量",
  22634. "type": "integer"
  22635. },
  22636. "goodscode": {
  22637. "description": "商品代码(内部)",
  22638. "type": "string"
  22639. },
  22640. "goodsid": {
  22641. "description": "商品ID(自增ID SEQ_GOODS)",
  22642. "type": "integer"
  22643. },
  22644. "goodsname": {
  22645. "description": "商品名称",
  22646. "type": "string"
  22647. },
  22648. "goodsstatus": {
  22649. "description": "商品状态- 2:未上市 3:上市",
  22650. "type": "integer"
  22651. },
  22652. "lasttradedate": {
  22653. "description": "最后交易日期(状态:待退市)",
  22654. "type": "string"
  22655. },
  22656. "listingdate": {
  22657. "description": "交易开始日期",
  22658. "type": "string"
  22659. },
  22660. "marketid": {
  22661. "description": "所属市场ID",
  22662. "type": "integer"
  22663. },
  22664. "picurls": {
  22665. "description": "介绍图片[多张用逗号分隔]",
  22666. "type": "string"
  22667. },
  22668. "presaledqty": {
  22669. "description": "已预售量(预售结束时更新)",
  22670. "type": "integer"
  22671. },
  22672. "presaleqty": {
  22673. "description": "预售数量",
  22674. "type": "integer"
  22675. },
  22676. "quoteminunit": {
  22677. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22678. "type": "integer"
  22679. },
  22680. "refprice": {
  22681. "description": "参考价格[一口价]",
  22682. "type": "number"
  22683. },
  22684. "relatedgoodsid": {
  22685. "description": "关联交易合约ID",
  22686. "type": "integer"
  22687. },
  22688. "trademode": {
  22689. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22690. "type": "integer"
  22691. },
  22692. "videourls": {
  22693. "description": "介绍视频[多张用逗号分隔]",
  22694. "type": "string"
  22695. }
  22696. }
  22697. },
  22698. "models.HsbyPreGoodsDetail": {
  22699. "type": "object",
  22700. "required": [
  22701. "goodscode",
  22702. "goodsid",
  22703. "goodsname",
  22704. "marketid",
  22705. "trademode"
  22706. ],
  22707. "properties": {
  22708. "agreeunit": {
  22709. "description": "合约单位",
  22710. "type": "number"
  22711. },
  22712. "buymaxqty": {
  22713. "description": "购买上限 [71] - 0为不限",
  22714. "type": "integer"
  22715. },
  22716. "currency": {
  22717. "description": "货币",
  22718. "type": "string"
  22719. },
  22720. "currencysign": {
  22721. "description": "货币符号",
  22722. "type": "string"
  22723. },
  22724. "customername": {
  22725. "description": "发行单位",
  22726. "type": "string"
  22727. },
  22728. "decimalplace": {
  22729. "description": "报价小数位",
  22730. "type": "integer"
  22731. },
  22732. "desccityid": {
  22733. "description": "目的地(市)ID",
  22734. "type": "integer"
  22735. },
  22736. "descprovinceid": {
  22737. "description": "目的地(省)ID",
  22738. "type": "integer"
  22739. },
  22740. "enableqty": {
  22741. "description": "剩余数量",
  22742. "type": "integer"
  22743. },
  22744. "goodscode": {
  22745. "description": "商品代码(内部)",
  22746. "type": "string"
  22747. },
  22748. "goodsdesc": {
  22749. "description": "商品详情",
  22750. "type": "string"
  22751. },
  22752. "goodsid": {
  22753. "description": "商品ID(自增ID SEQ_GOODS)",
  22754. "type": "integer"
  22755. },
  22756. "goodsname": {
  22757. "description": "商品名称",
  22758. "type": "string"
  22759. },
  22760. "goodsstatus": {
  22761. "description": "商品状态- 2:未上市 3:上市",
  22762. "type": "integer"
  22763. },
  22764. "goodunit": {
  22765. "description": "报价单位",
  22766. "type": "string"
  22767. },
  22768. "lasttradedate": {
  22769. "description": "最后交易日期(状态:待退市)",
  22770. "type": "string"
  22771. },
  22772. "listingdate": {
  22773. "description": "交易开始日期",
  22774. "type": "string"
  22775. },
  22776. "lotsize": {
  22777. "description": "手数最小变动单位",
  22778. "type": "integer"
  22779. },
  22780. "marketid": {
  22781. "description": "所属市场ID",
  22782. "type": "integer"
  22783. },
  22784. "picurls": {
  22785. "description": "介绍图片[多张用逗号分隔]",
  22786. "type": "string"
  22787. },
  22788. "presaledqty": {
  22789. "description": "已预售量(预售结束时更新)",
  22790. "type": "integer"
  22791. },
  22792. "presaleqty": {
  22793. "description": "预售数量",
  22794. "type": "integer"
  22795. },
  22796. "quoteminunit": {
  22797. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22798. "type": "integer"
  22799. },
  22800. "refprice": {
  22801. "description": "参考价格[一口价]",
  22802. "type": "number"
  22803. },
  22804. "relatedgoodsid": {
  22805. "description": "关联交易合约ID",
  22806. "type": "integer"
  22807. },
  22808. "stepvalue": {
  22809. "description": "价格最小变动单位",
  22810. "type": "number"
  22811. },
  22812. "trademode": {
  22813. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22814. "type": "integer"
  22815. },
  22816. "vendorattr": {
  22817. "description": "供应商附件(多张,逗号分隔)",
  22818. "type": "string"
  22819. },
  22820. "vendorname": {
  22821. "description": "供应商名称",
  22822. "type": "string"
  22823. },
  22824. "vendorphone": {
  22825. "description": "供应商客服电话",
  22826. "type": "string"
  22827. },
  22828. "videourls": {
  22829. "description": "介绍视频[多张用逗号分隔]",
  22830. "type": "string"
  22831. }
  22832. }
  22833. },
  22834. "models.HsbySellCollectionOrder": {
  22835. "type": "object",
  22836. "required": [
  22837. "goodscode",
  22838. "goodsname",
  22839. "tradeid",
  22840. "trademode"
  22841. ],
  22842. "properties": {
  22843. "agreeunit": {
  22844. "description": "合约单位",
  22845. "type": "number"
  22846. },
  22847. "buyaccountid": {
  22848. "description": "买方账号ID[报价币种]",
  22849. "type": "integer"
  22850. },
  22851. "buyorderid": {
  22852. "description": "买方委托单号",
  22853. "type": "string"
  22854. },
  22855. "createtime": {
  22856. "description": "创建时间",
  22857. "type": "string"
  22858. },
  22859. "currencysign": {
  22860. "description": "货币符号",
  22861. "type": "string"
  22862. },
  22863. "decimalplace": {
  22864. "description": "报价小数位",
  22865. "type": "integer"
  22866. },
  22867. "goodscode": {
  22868. "description": "商品代码(内部)",
  22869. "type": "string"
  22870. },
  22871. "goodsid": {
  22872. "description": "商品ID",
  22873. "type": "integer"
  22874. },
  22875. "goodsname": {
  22876. "description": "商品名称",
  22877. "type": "string"
  22878. },
  22879. "marketid": {
  22880. "description": "市场ID",
  22881. "type": "integer"
  22882. },
  22883. "offamount": {
  22884. "description": "优惠金额",
  22885. "type": "number"
  22886. },
  22887. "payamount": {
  22888. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22889. "type": "number"
  22890. },
  22891. "payflag": {
  22892. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22893. "type": "integer"
  22894. },
  22895. "paylimitedtime": {
  22896. "description": "支付期限",
  22897. "type": "string"
  22898. },
  22899. "paytime": {
  22900. "description": "付款时间",
  22901. "type": "string"
  22902. },
  22903. "picurls": {
  22904. "description": "商品介绍图片[多张用逗号分隔]",
  22905. "type": "string"
  22906. },
  22907. "sellaccountid": {
  22908. "description": "卖方账号ID[报价币种]",
  22909. "type": "integer"
  22910. },
  22911. "sellorderid": {
  22912. "description": "卖方委托单号",
  22913. "type": "string"
  22914. },
  22915. "tradeamount": {
  22916. "description": "成交金额",
  22917. "type": "number"
  22918. },
  22919. "tradecharge": {
  22920. "description": "成交手续费(买方)",
  22921. "type": "number"
  22922. },
  22923. "tradedate": {
  22924. "description": "交易日(yyyyMMdd)",
  22925. "type": "string"
  22926. },
  22927. "tradeid": {
  22928. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22929. "type": "string"
  22930. },
  22931. "trademode": {
  22932. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22933. "type": "integer"
  22934. },
  22935. "tradeprice": {
  22936. "description": "成交价格",
  22937. "type": "number"
  22938. },
  22939. "tradeqty": {
  22940. "description": "成交数量",
  22941. "type": "integer"
  22942. }
  22943. }
  22944. },
  22945. "models.HsbySellMyDetail": {
  22946. "type": "object",
  22947. "required": [
  22948. "accountid",
  22949. "buyorsell",
  22950. "goodscode",
  22951. "goodsid",
  22952. "goodsname",
  22953. "marketid",
  22954. "orderid",
  22955. "time",
  22956. "trademode"
  22957. ],
  22958. "properties": {
  22959. "accountid": {
  22960. "description": "账户ID[报价币种]",
  22961. "type": "integer"
  22962. },
  22963. "agreeunit": {
  22964. "description": "合约单位",
  22965. "type": "number"
  22966. },
  22967. "buyorsell": {
  22968. "description": "买卖 - 0:买 1:卖",
  22969. "type": "integer"
  22970. },
  22971. "currencysign": {
  22972. "description": "货币符号",
  22973. "type": "string"
  22974. },
  22975. "decimalplace": {
  22976. "description": "报价小数位",
  22977. "type": "integer"
  22978. },
  22979. "goodscode": {
  22980. "description": "商品代码(内部)",
  22981. "type": "string"
  22982. },
  22983. "goodsid": {
  22984. "description": "商品ID",
  22985. "type": "integer"
  22986. },
  22987. "goodsname": {
  22988. "description": "商品名称",
  22989. "type": "string"
  22990. },
  22991. "marketid": {
  22992. "description": "市场ID",
  22993. "type": "integer"
  22994. },
  22995. "orderid": {
  22996. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  22997. "type": "string"
  22998. },
  22999. "ordertype": {
  23000. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23001. "type": "integer"
  23002. },
  23003. "picurls": {
  23004. "description": "介绍图片[多张用逗号分隔]",
  23005. "type": "string"
  23006. },
  23007. "price": {
  23008. "description": "价格",
  23009. "type": "number"
  23010. },
  23011. "qty": {
  23012. "description": "数量",
  23013. "type": "integer"
  23014. },
  23015. "time": {
  23016. "description": "时间",
  23017. "type": "string"
  23018. },
  23019. "trademode": {
  23020. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23021. "type": "integer"
  23022. },
  23023. "vendorname": {
  23024. "description": "供应商名称",
  23025. "type": "string"
  23026. }
  23027. }
  23028. },
  23029. "models.HsbyTopGoods": {
  23030. "type": "object",
  23031. "required": [
  23032. "goodscode",
  23033. "goodsid",
  23034. "goodsname",
  23035. "marketid",
  23036. "trademode"
  23037. ],
  23038. "properties": {
  23039. "agreeunit": {
  23040. "description": "合约单位",
  23041. "type": "number"
  23042. },
  23043. "currency": {
  23044. "description": "货币",
  23045. "type": "string"
  23046. },
  23047. "currencysign": {
  23048. "description": "货币符号",
  23049. "type": "string"
  23050. },
  23051. "decimalplace": {
  23052. "description": "报价小数位",
  23053. "type": "integer"
  23054. },
  23055. "desccityid": {
  23056. "description": "目的地(市)",
  23057. "type": "integer"
  23058. },
  23059. "descprovinceid": {
  23060. "description": "目的地(省)",
  23061. "type": "integer"
  23062. },
  23063. "goodscode": {
  23064. "description": "商品代码(内部)",
  23065. "type": "string"
  23066. },
  23067. "goodsid": {
  23068. "description": "商品ID(自增ID SEQ_GOODS)",
  23069. "type": "integer"
  23070. },
  23071. "goodsname": {
  23072. "description": "商品名称",
  23073. "type": "string"
  23074. },
  23075. "hotindex": {
  23076. "description": "景点热度",
  23077. "type": "integer"
  23078. },
  23079. "last": {
  23080. "description": "现价",
  23081. "type": "number"
  23082. },
  23083. "marketid": {
  23084. "description": "所属市场ID",
  23085. "type": "integer"
  23086. },
  23087. "picurls": {
  23088. "description": "介绍图片[多张用逗号分隔]",
  23089. "type": "string"
  23090. },
  23091. "quoteminunit": {
  23092. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23093. "type": "integer"
  23094. },
  23095. "trademode": {
  23096. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23097. "type": "integer"
  23098. },
  23099. "videourls": {
  23100. "description": "介绍视频[多张用逗号分隔]",
  23101. "type": "string"
  23102. }
  23103. }
  23104. },
  23105. "models.HybsMyBuyOrderDetail": {
  23106. "type": "object",
  23107. "required": [
  23108. "accountid",
  23109. "buyorsell",
  23110. "goodscode",
  23111. "goodsid",
  23112. "goodsname",
  23113. "marketid",
  23114. "orderid",
  23115. "orderqty",
  23116. "ordertime",
  23117. "trademode"
  23118. ],
  23119. "properties": {
  23120. "accountid": {
  23121. "description": "账户ID[报价币种]",
  23122. "type": "integer"
  23123. },
  23124. "agreeunit": {
  23125. "description": "合约单位",
  23126. "type": "number"
  23127. },
  23128. "buyorsell": {
  23129. "description": "买卖 - 0:买 1:卖",
  23130. "type": "integer"
  23131. },
  23132. "cancelqty": {
  23133. "description": "撤单数量",
  23134. "type": "integer"
  23135. },
  23136. "currencysign": {
  23137. "description": "货币符号",
  23138. "type": "string"
  23139. },
  23140. "decimalplace": {
  23141. "description": "报价小数位",
  23142. "type": "integer"
  23143. },
  23144. "goodscode": {
  23145. "description": "商品代码(内部)",
  23146. "type": "string"
  23147. },
  23148. "goodsid": {
  23149. "description": "商品ID",
  23150. "type": "integer"
  23151. },
  23152. "goodsname": {
  23153. "description": "商品名称",
  23154. "type": "string"
  23155. },
  23156. "listingselecttype": {
  23157. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23158. "type": "integer"
  23159. },
  23160. "marketid": {
  23161. "description": "市场ID",
  23162. "type": "integer"
  23163. },
  23164. "mybuystatus": {
  23165. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23166. "type": "integer"
  23167. },
  23168. "orderamount": {
  23169. "description": "委托金额",
  23170. "type": "number"
  23171. },
  23172. "orderid": {
  23173. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23174. "type": "string"
  23175. },
  23176. "orderprice": {
  23177. "description": "委托价格",
  23178. "type": "number"
  23179. },
  23180. "orderqty": {
  23181. "description": "委托数量",
  23182. "type": "integer"
  23183. },
  23184. "orderstatus": {
  23185. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23186. "type": "integer"
  23187. },
  23188. "ordertime": {
  23189. "description": "委托时间",
  23190. "type": "string"
  23191. },
  23192. "picurls1": {
  23193. "description": "预售商品介绍图片[多张用逗号分隔]",
  23194. "type": "string"
  23195. },
  23196. "picurls2": {
  23197. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23198. "type": "string"
  23199. },
  23200. "trademode": {
  23201. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23202. "type": "integer"
  23203. },
  23204. "tradeqty": {
  23205. "description": "成交数量",
  23206. "type": "integer"
  23207. },
  23208. "vendorname1": {
  23209. "description": "预售商品供应商名称",
  23210. "type": "string"
  23211. },
  23212. "vendorname2": {
  23213. "description": "挂牌商品供应商名称",
  23214. "type": "string"
  23215. }
  23216. }
  23217. },
  23218. "models.Loginaccount": {
  23219. "type": "object",
  23220. "required": [
  23221. "loginid"
  23222. ],
  23223. "properties": {
  23224. "accountname": {
  23225. "description": "账户名称",
  23226. "type": "string"
  23227. },
  23228. "canoutin": {
  23229. "description": "是否可出入金 - 0:不可 1:可",
  23230. "type": "integer"
  23231. },
  23232. "clientroleid": {
  23233. "description": "终端角色ID",
  23234. "type": "integer"
  23235. },
  23236. "haslogined": {
  23237. "description": "是否已登录 - 0:未登录 1:已登录",
  23238. "type": "integer"
  23239. },
  23240. "hasupdatedpwd": {
  23241. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23242. "type": "integer"
  23243. },
  23244. "lastloginip": {
  23245. "description": "最新登录地址",
  23246. "type": "string"
  23247. },
  23248. "lastloginmode": {
  23249. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23250. "type": "integer"
  23251. },
  23252. "lastloginremark": {
  23253. "description": "最新登录描述",
  23254. "type": "string"
  23255. },
  23256. "lastlogintime": {
  23257. "description": "最新登录时间",
  23258. "type": "string"
  23259. },
  23260. "logincode": {
  23261. "description": "登录代码",
  23262. "type": "string"
  23263. },
  23264. "loginfailnum": {
  23265. "description": "连续登录失败次数(登录成功时清零)",
  23266. "type": "integer"
  23267. },
  23268. "loginid": {
  23269. "description": "登陆账号",
  23270. "type": "integer"
  23271. },
  23272. "loginport": {
  23273. "description": "最新登录端口",
  23274. "type": "integer"
  23275. },
  23276. "loginstatus": {
  23277. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23278. "type": "integer"
  23279. },
  23280. "loginusertype": {
  23281. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23282. "type": "integer"
  23283. },
  23284. "mobile": {
  23285. "description": "手机号码(加密存储)",
  23286. "type": "string"
  23287. },
  23288. "modifierid": {
  23289. "description": "修改人",
  23290. "type": "integer"
  23291. },
  23292. "modifysrc": {
  23293. "description": "审核来源 - 1:管理端 2:终端",
  23294. "type": "integer"
  23295. },
  23296. "modifytime": {
  23297. "description": "修改时间",
  23298. "type": "string"
  23299. },
  23300. "password": {
  23301. "description": "登陆密码",
  23302. "type": "string"
  23303. },
  23304. "pwdwrongcount": {
  23305. "description": "密码错误次数",
  23306. "type": "integer"
  23307. },
  23308. "relateduserid": {
  23309. "description": "关联用户ID(机构)",
  23310. "type": "integer"
  23311. },
  23312. "taaccountrighttype": {
  23313. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23314. "type": "integer"
  23315. },
  23316. "unfreezetime": {
  23317. "description": "账户解冻时间",
  23318. "type": "string"
  23319. },
  23320. "userid": {
  23321. "description": "用户ID",
  23322. "type": "integer"
  23323. }
  23324. }
  23325. },
  23326. "models.MainAccountInfo": {
  23327. "type": "object",
  23328. "properties": {
  23329. "accountid": {
  23330. "description": "账号id",
  23331. "type": "integer"
  23332. },
  23333. "accountname": {
  23334. "description": "账号名称(taaccount表中的名称)",
  23335. "type": "string"
  23336. },
  23337. "appid": {
  23338. "description": "AppID",
  23339. "type": "string"
  23340. },
  23341. "authcode": {
  23342. "description": "授权码",
  23343. "type": "string"
  23344. },
  23345. "brokerid": {
  23346. "description": "经纪商id",
  23347. "type": "string"
  23348. },
  23349. "fcid": {
  23350. "description": "期货公司id",
  23351. "type": "integer"
  23352. },
  23353. "fcname": {
  23354. "description": "期货公司代码",
  23355. "type": "string"
  23356. },
  23357. "hedgeaccountcode": {
  23358. "description": "外部账号代码(主账号登录代码)",
  23359. "type": "string"
  23360. },
  23361. "hedgeaccountpwd": {
  23362. "description": "密码",
  23363. "type": "string"
  23364. },
  23365. "ismain": {
  23366. "description": "是否主账号",
  23367. "type": "integer"
  23368. },
  23369. "relateduserid": {
  23370. "description": "关联用户id",
  23371. "type": "integer"
  23372. },
  23373. "userid": {
  23374. "description": "关联用户id",
  23375. "type": "integer"
  23376. }
  23377. }
  23378. },
  23379. "models.Market": {
  23380. "type": "object",
  23381. "required": [
  23382. "marketid",
  23383. "marketstatus",
  23384. "openmethod",
  23385. "reckonpricealgorithm",
  23386. "trademode",
  23387. "tradeproperty"
  23388. ],
  23389. "properties": {
  23390. "auctionwrtype": {
  23391. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23392. "type": "integer"
  23393. },
  23394. "canacceptquote": {
  23395. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23396. "type": "integer"
  23397. },
  23398. "cangoodsexercise": {
  23399. "description": "[期权]是否可现货行权- 0:否 1:是",
  23400. "type": "integer"
  23401. },
  23402. "cangoodsexercisetype": {
  23403. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23404. "type": "integer"
  23405. },
  23406. "canmanualquotestrike": {
  23407. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23408. "type": "integer"
  23409. },
  23410. "canmutistage": {
  23411. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23412. "type": "integer"
  23413. },
  23414. "canpreexercise": {
  23415. "description": "[期权]是否可预申报- 0:否 1:是",
  23416. "type": "integer"
  23417. },
  23418. "clearinterval": {
  23419. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23420. "type": "integer"
  23421. },
  23422. "contracttmp": {
  23423. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23424. "type": "string"
  23425. },
  23426. "exchareaid": {
  23427. "description": "所属交易所,可以没有",
  23428. "type": "integer"
  23429. },
  23430. "goodstype": {
  23431. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23432. "type": "integer"
  23433. },
  23434. "hasrebate": {
  23435. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23436. "type": "integer"
  23437. },
  23438. "hastradecredit": {
  23439. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23440. "type": "integer"
  23441. },
  23442. "haswr": {
  23443. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23444. "type": "integer"
  23445. },
  23446. "isdeductmargin": {
  23447. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23448. "type": "integer"
  23449. },
  23450. "isrecordsource": {
  23451. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23452. "type": "integer"
  23453. },
  23454. "isreleasemargin": {
  23455. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23456. "type": "integer"
  23457. },
  23458. "marginformula": {
  23459. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23460. "type": "integer"
  23461. },
  23462. "marginformula2": {
  23463. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23464. "type": "integer"
  23465. },
  23466. "marketid": {
  23467. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23468. "type": "integer"
  23469. },
  23470. "marketname": {
  23471. "description": "市场名称",
  23472. "type": "string"
  23473. },
  23474. "marketserviceid": {
  23475. "description": "市场服务ID",
  23476. "type": "integer"
  23477. },
  23478. "marketstatus": {
  23479. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23480. "type": "integer"
  23481. },
  23482. "markettype": {
  23483. "description": "市场类型- 1:非交易服务 2:交易服务",
  23484. "type": "integer"
  23485. },
  23486. "matchermode": {
  23487. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23488. "type": "integer"
  23489. },
  23490. "openmethod": {
  23491. "description": "开盘模式 - 0 自动 1手动",
  23492. "type": "integer"
  23493. },
  23494. "otcuserid": {
  23495. "description": "场外期权做市商[场外期权]",
  23496. "type": "integer"
  23497. },
  23498. "outersynctime": {
  23499. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23500. "type": "string"
  23501. },
  23502. "pendingflag": {
  23503. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23504. "type": "integer"
  23505. },
  23506. "pendingtime": {
  23507. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23508. "type": "string"
  23509. },
  23510. "performancetempid": {
  23511. "description": "履约计划模板ID - 作废",
  23512. "type": "integer"
  23513. },
  23514. "premiumquotemode": {
  23515. "description": "权利金报价方式 - 1:自动 2:手动",
  23516. "type": "integer"
  23517. },
  23518. "rebateratio": {
  23519. "description": "返利比率[竞价式]",
  23520. "type": "number"
  23521. },
  23522. "reckonorder": {
  23523. "description": "结算顺序",
  23524. "type": "integer"
  23525. },
  23526. "reckonpricealgorithm": {
  23527. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23528. "type": "integer"
  23529. },
  23530. "reckonpriceparam": {
  23531. "description": "结算价参数",
  23532. "type": "integer"
  23533. },
  23534. "reckontime": {
  23535. "description": "结算时间[通道交易-对冲](HH:mm)",
  23536. "type": "string"
  23537. },
  23538. "roleprioritytype": {
  23539. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23540. "type": "integer"
  23541. },
  23542. "selllistingauditflag": {
  23543. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23544. "type": "integer"
  23545. },
  23546. "trademarkettype": {
  23547. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23548. "type": "integer"
  23549. },
  23550. "trademode": {
  23551. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23552. "type": "integer"
  23553. },
  23554. "tradeproperty": {
  23555. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23556. "type": "integer"
  23557. },
  23558. "tradetype": {
  23559. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23560. "type": "integer"
  23561. }
  23562. }
  23563. },
  23564. "models.Marketrun": {
  23565. "type": "object",
  23566. "required": [
  23567. "marketid",
  23568. "nexttradedate",
  23569. "reckonflag",
  23570. "runstatus",
  23571. "tradedate",
  23572. "tradedate2"
  23573. ],
  23574. "properties": {
  23575. "afternexttradedate": {
  23576. "description": "下下交易日",
  23577. "type": "string"
  23578. },
  23579. "clearquoteflag": {
  23580. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23581. "type": "integer"
  23582. },
  23583. "lastreckondate": {
  23584. "description": "最新交易日(结算成功)",
  23585. "type": "string"
  23586. },
  23587. "machinedate": {
  23588. "description": "机器时间",
  23589. "type": "string"
  23590. },
  23591. "manualflag": {
  23592. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23593. "type": "integer"
  23594. },
  23595. "marketid": {
  23596. "description": "市场ID",
  23597. "type": "integer"
  23598. },
  23599. "nexttradedate": {
  23600. "description": "下一交易日",
  23601. "type": "string"
  23602. },
  23603. "pretradedate": {
  23604. "description": "上一交易日",
  23605. "type": "string"
  23606. },
  23607. "reckonflag": {
  23608. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23609. "type": "integer"
  23610. },
  23611. "runstatus": {
  23612. "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.今日免清算",
  23613. "type": "integer"
  23614. },
  23615. "sectionid": {
  23616. "description": "时间段号[多时段时用]",
  23617. "type": "integer"
  23618. },
  23619. "tradedate": {
  23620. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23621. "type": "string"
  23622. },
  23623. "tradedate2": {
  23624. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23625. "type": "string"
  23626. },
  23627. "updatetime": {
  23628. "description": "更新时间",
  23629. "type": "string"
  23630. }
  23631. }
  23632. },
  23633. "models.Messageboard": {
  23634. "type": "object",
  23635. "required": [
  23636. "messageboardid"
  23637. ],
  23638. "properties": {
  23639. "contactnum": {
  23640. "description": "联系电话",
  23641. "type": "string"
  23642. },
  23643. "createtime": {
  23644. "description": "创建时间",
  23645. "type": "string"
  23646. },
  23647. "message": {
  23648. "description": "留言信息",
  23649. "type": "string"
  23650. },
  23651. "messageboardid": {
  23652. "description": "留言簿ID(SEQ_MessageBoard)",
  23653. "type": "integer"
  23654. },
  23655. "userid": {
  23656. "description": "用户ID",
  23657. "type": "integer"
  23658. }
  23659. }
  23660. },
  23661. "models.MyCoupon": {
  23662. "type": "object",
  23663. "required": [
  23664. "accountid",
  23665. "coupontypeid"
  23666. ],
  23667. "properties": {
  23668. "accountid": {
  23669. "description": "资金账户ID",
  23670. "type": "integer"
  23671. },
  23672. "areauserid": {
  23673. "description": "所属机构",
  23674. "type": "integer"
  23675. },
  23676. "conditionvalue": {
  23677. "description": "条件阈值(可为0)",
  23678. "type": "number"
  23679. },
  23680. "couponcategroy": {
  23681. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23682. "type": "integer"
  23683. },
  23684. "couponname": {
  23685. "description": "优惠券名称",
  23686. "type": "string"
  23687. },
  23688. "coupontypeid": {
  23689. "description": "优惠券类型ID",
  23690. "type": "string"
  23691. },
  23692. "couponvalue": {
  23693. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23694. "type": "number"
  23695. },
  23696. "curfreezeqty": {
  23697. "description": "期末冻结数量",
  23698. "type": "integer"
  23699. },
  23700. "curqty": {
  23701. "description": "期末数量",
  23702. "type": "integer"
  23703. },
  23704. "isgeneral": {
  23705. "description": "是否通用券 - 0:否 1:是",
  23706. "type": "integer"
  23707. },
  23708. "isunusable": {
  23709. "description": "是否不可用",
  23710. "type": "boolean"
  23711. },
  23712. "limitedflag": {
  23713. "description": "是否指定商品 - 0:不限 1:限制",
  23714. "type": "integer"
  23715. },
  23716. "limitedgoodsids": {
  23717. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23718. "type": "string"
  23719. },
  23720. "orifreezeqty": {
  23721. "description": "期初冻结数量",
  23722. "type": "integer"
  23723. },
  23724. "oriqty": {
  23725. "description": "期初数量",
  23726. "type": "integer"
  23727. },
  23728. "reasontype": {
  23729. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23730. "type": "integer"
  23731. },
  23732. "todaydecrease": {
  23733. "description": "今日减少",
  23734. "type": "integer"
  23735. },
  23736. "todayincrease": {
  23737. "description": "今日增加",
  23738. "type": "integer"
  23739. },
  23740. "userid": {
  23741. "description": "用户ID",
  23742. "type": "integer"
  23743. },
  23744. "userscope": {
  23745. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23746. "type": "string"
  23747. }
  23748. }
  23749. },
  23750. "models.MyCouponHold": {
  23751. "type": "object",
  23752. "required": [
  23753. "couponholdid"
  23754. ],
  23755. "properties": {
  23756. "accountid": {
  23757. "description": "资金账户ID",
  23758. "type": "integer"
  23759. },
  23760. "conditionvalue": {
  23761. "description": "条件阈值(可为0)",
  23762. "type": "number"
  23763. },
  23764. "couponcategroy": {
  23765. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23766. "type": "integer"
  23767. },
  23768. "couponholdid": {
  23769. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23770. "type": "string"
  23771. },
  23772. "couponname": {
  23773. "description": "优惠券名称",
  23774. "type": "string"
  23775. },
  23776. "coupontypeid": {
  23777. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23778. "type": "string"
  23779. },
  23780. "couponvalue": {
  23781. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23782. "type": "number"
  23783. },
  23784. "createtime": {
  23785. "description": "创建时间",
  23786. "type": "string"
  23787. },
  23788. "enddate": {
  23789. "description": "结束日期",
  23790. "type": "string"
  23791. },
  23792. "giveapplyid": {
  23793. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23794. "type": "integer"
  23795. },
  23796. "holdstatus": {
  23797. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23798. "type": "integer"
  23799. },
  23800. "isgeneral": {
  23801. "description": "是否通用券 - 0:否 1:是",
  23802. "type": "integer"
  23803. },
  23804. "limitedflag": {
  23805. "description": "是否指定商品 - 0:不限 1:限制",
  23806. "type": "integer"
  23807. },
  23808. "limitedgoodsids": {
  23809. "description": "指定商品IDs[逗号分隔]",
  23810. "type": "string"
  23811. },
  23812. "qty": {
  23813. "description": "数量(按1平铺)",
  23814. "type": "integer"
  23815. },
  23816. "startdate": {
  23817. "description": "开始日期",
  23818. "type": "string"
  23819. },
  23820. "userid": {
  23821. "description": "用户ID",
  23822. "type": "integer"
  23823. },
  23824. "userscope": {
  23825. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23826. "type": "string"
  23827. }
  23828. }
  23829. },
  23830. "models.MyUsedCoupon": {
  23831. "type": "object",
  23832. "required": [
  23833. "coupontypeid",
  23834. "orderid"
  23835. ],
  23836. "properties": {
  23837. "accountid": {
  23838. "description": "资金账户ID(买方)",
  23839. "type": "integer"
  23840. },
  23841. "conditionvalue": {
  23842. "description": "条件阈值(可为0)",
  23843. "type": "number"
  23844. },
  23845. "couponcategroy": {
  23846. "description": "种类 - 1:现金券 2:折扣券",
  23847. "type": "integer"
  23848. },
  23849. "couponname": {
  23850. "description": "优惠券名称",
  23851. "type": "string"
  23852. },
  23853. "coupontypeid": {
  23854. "description": "优惠券类型ID(买方)",
  23855. "type": "string"
  23856. },
  23857. "couponvalue": {
  23858. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23859. "type": "number"
  23860. },
  23861. "createtime": {
  23862. "description": "创建时间",
  23863. "type": "string"
  23864. },
  23865. "goodsid": {
  23866. "description": "商品ID",
  23867. "type": "integer"
  23868. },
  23869. "handlestatus": {
  23870. "description": "处理状态",
  23871. "type": "integer"
  23872. },
  23873. "marketid": {
  23874. "description": "市场ID",
  23875. "type": "integer"
  23876. },
  23877. "offamount": {
  23878. "description": "优惠金额",
  23879. "type": "number"
  23880. },
  23881. "orderid": {
  23882. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23883. "type": "string"
  23884. },
  23885. "sellaccountid": {
  23886. "description": "资金账户ID(卖方)",
  23887. "type": "integer"
  23888. },
  23889. "tradeamount": {
  23890. "description": "成交金额",
  23891. "type": "number"
  23892. },
  23893. "tradeid": {
  23894. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23895. "type": "string"
  23896. },
  23897. "usedqty": {
  23898. "description": "使用数量",
  23899. "type": "integer"
  23900. }
  23901. }
  23902. },
  23903. "models.OperationPrimaryMenu": {
  23904. "type": "object",
  23905. "properties": {
  23906. "Children": {
  23907. "description": "二级功能菜单",
  23908. "type": "array",
  23909. "items": {
  23910. "$ref": "#/definitions/models.OperationSecondaryMenu"
  23911. }
  23912. },
  23913. "Key": {
  23914. "description": "菜单KEY",
  23915. "type": "string"
  23916. },
  23917. "Label": {
  23918. "description": "菜单标题",
  23919. "type": "string"
  23920. }
  23921. }
  23922. },
  23923. "models.OperationSecondaryMenu": {
  23924. "type": "object",
  23925. "properties": {
  23926. "Key": {
  23927. "description": "菜单KEY",
  23928. "type": "string"
  23929. },
  23930. "Label": {
  23931. "description": "菜单标题",
  23932. "type": "string"
  23933. },
  23934. "TabList": {
  23935. "description": "三级功能菜单",
  23936. "type": "array",
  23937. "items": {
  23938. "$ref": "#/definitions/models.OperationTabMenu"
  23939. }
  23940. }
  23941. }
  23942. },
  23943. "models.OperationTabMenu": {
  23944. "type": "object",
  23945. "properties": {
  23946. "Key": {
  23947. "description": "菜单KEY",
  23948. "type": "string"
  23949. },
  23950. "Label": {
  23951. "description": "菜单标题",
  23952. "type": "string"
  23953. }
  23954. }
  23955. },
  23956. "models.PendingAuditBizModel": {
  23957. "type": "object",
  23958. "properties": {
  23959. "accountid": {
  23960. "description": "现货账户",
  23961. "type": "string"
  23962. },
  23963. "areaname": {
  23964. "description": "所属部门",
  23965. "type": "string"
  23966. },
  23967. "bizid": {
  23968. "description": "业务ID",
  23969. "type": "string"
  23970. },
  23971. "bizname": {
  23972. "description": "业务名称",
  23973. "type": "string"
  23974. },
  23975. "status": {
  23976. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  23977. "type": "integer"
  23978. },
  23979. "type": {
  23980. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  23981. "type": "integer"
  23982. }
  23983. }
  23984. },
  23985. "models.QhjAccountOutInApply": {
  23986. "type": "object",
  23987. "properties": {
  23988. "accountcode": {
  23989. "description": "资金账号",
  23990. "type": "string"
  23991. },
  23992. "accountname": {
  23993. "description": "用户名称(名称)",
  23994. "type": "string"
  23995. },
  23996. "accountpwd": {
  23997. "description": "资金密码",
  23998. "type": "string"
  23999. },
  24000. "accountticket": {
  24001. "description": "最新账户服务流水号",
  24002. "type": "string"
  24003. },
  24004. "amount": {
  24005. "description": "金额",
  24006. "type": "number"
  24007. },
  24008. "applyremark": {
  24009. "description": "申请备注",
  24010. "type": "string"
  24011. },
  24012. "applystatus": {
  24013. "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: 复审通过,账户冻结金额检查中;",
  24014. "type": "integer"
  24015. },
  24016. "auditid": {
  24017. "description": "审核人",
  24018. "type": "integer"
  24019. },
  24020. "audittime": {
  24021. "description": "审核时间",
  24022. "type": "string"
  24023. },
  24024. "bank_apply_ticket": {
  24025. "description": "银行申请流水",
  24026. "type": "string"
  24027. },
  24028. "bankaccountname": {
  24029. "description": "银行账户名",
  24030. "type": "string"
  24031. },
  24032. "bankaccountno": {
  24033. "description": "银行卡号",
  24034. "type": "string"
  24035. },
  24036. "bankid": {
  24037. "description": "银行编号",
  24038. "type": "string"
  24039. },
  24040. "bankticket": {
  24041. "description": "银行流水",
  24042. "type": "string"
  24043. },
  24044. "branchbankid": {
  24045. "description": "银行支行号",
  24046. "type": "string"
  24047. },
  24048. "branchbankname": {
  24049. "description": "银行支行名称",
  24050. "type": "string"
  24051. },
  24052. "capamountout": {
  24053. "description": "出金(劣后本金) - 外部子账户",
  24054. "type": "number"
  24055. },
  24056. "certificatephotourl": {
  24057. "description": "凭证地址",
  24058. "type": "string"
  24059. },
  24060. "charge": {
  24061. "description": "手续费",
  24062. "type": "number"
  24063. },
  24064. "checkerrorflag": {
  24065. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24066. "type": "integer"
  24067. },
  24068. "currency": {
  24069. "description": "币种",
  24070. "type": "string"
  24071. },
  24072. "cusbankid": {
  24073. "description": "托管银行编号",
  24074. "type": "string"
  24075. },
  24076. "exchticket": {
  24077. "description": "银行服务流水号",
  24078. "type": "string"
  24079. },
  24080. "executetype": {
  24081. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24082. "type": "integer"
  24083. },
  24084. "extendinfo": {
  24085. "description": "扩展信息",
  24086. "type": "string"
  24087. },
  24088. "extoperateid": {
  24089. "description": "交易服务流水号",
  24090. "type": "integer"
  24091. },
  24092. "infamount": {
  24093. "description": "劣后金额(自有)",
  24094. "type": "number"
  24095. },
  24096. "logincode": {
  24097. "description": "登录账号(账号)",
  24098. "type": "string"
  24099. },
  24100. "netaddr": {
  24101. "description": "调转网址",
  24102. "type": "string"
  24103. },
  24104. "priamount": {
  24105. "description": "优先金额(授信)",
  24106. "type": "number"
  24107. },
  24108. "reauditid": {
  24109. "description": "复审人",
  24110. "type": "integer"
  24111. },
  24112. "reauditremark": {
  24113. "description": "复审备注",
  24114. "type": "string"
  24115. },
  24116. "reaudittime": {
  24117. "description": "复审时间",
  24118. "type": "string"
  24119. },
  24120. "relatedorderid": {
  24121. "description": "三方关联ID",
  24122. "type": "string"
  24123. },
  24124. "remark": {
  24125. "description": "备注",
  24126. "type": "string"
  24127. },
  24128. "remark2": {
  24129. "description": "备注(失败原因)",
  24130. "type": "string"
  24131. },
  24132. "soucreamount": {
  24133. "description": "原始出入金金额",
  24134. "type": "number"
  24135. },
  24136. "soucrecurrencyid": {
  24137. "description": "原始出入金币种",
  24138. "type": "integer"
  24139. },
  24140. "tradedate": {
  24141. "description": "交易日(yyyyMMdd)",
  24142. "type": "string"
  24143. },
  24144. "updatetime": {
  24145. "description": "更新时间(申请时间)",
  24146. "type": "string"
  24147. },
  24148. "userid": {
  24149. "description": "用户id",
  24150. "type": "integer"
  24151. },
  24152. "userinfotype": {
  24153. "description": "账户类型 1-个人 2-企业",
  24154. "type": "integer"
  24155. }
  24156. }
  24157. },
  24158. "models.QhjAgreementChangeLog": {
  24159. "type": "object",
  24160. "properties": {
  24161. "agreementcontent": {
  24162. "description": "协议内容",
  24163. "type": "string"
  24164. },
  24165. "agreementfrequency": {
  24166. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24167. "type": "integer"
  24168. },
  24169. "agreementid": {
  24170. "description": "协议ID",
  24171. "type": "integer"
  24172. },
  24173. "agreementname": {
  24174. "description": "协议名称",
  24175. "type": "string"
  24176. },
  24177. "agreementno": {
  24178. "description": "协议编号",
  24179. "type": "string"
  24180. },
  24181. "agreementtype": {
  24182. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24183. "type": "integer"
  24184. },
  24185. "agreementversion": {
  24186. "description": "协议版本号",
  24187. "type": "integer"
  24188. },
  24189. "logid": {
  24190. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24191. "type": "integer"
  24192. },
  24193. "reviserid": {
  24194. "description": "修改人",
  24195. "type": "integer"
  24196. },
  24197. "revisersrc": {
  24198. "description": "修改来源 - 1:管理端 2:终端",
  24199. "type": "integer"
  24200. },
  24201. "updatetime": {
  24202. "description": "更新时间",
  24203. "type": "string"
  24204. }
  24205. }
  24206. },
  24207. "models.QhjAgreementConfig": {
  24208. "type": "object",
  24209. "properties": {
  24210. "agreementcontent": {
  24211. "description": "协议内容",
  24212. "type": "string"
  24213. },
  24214. "agreementfrequency": {
  24215. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24216. "type": "integer"
  24217. },
  24218. "agreementid": {
  24219. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24220. "type": "integer"
  24221. },
  24222. "agreementname": {
  24223. "description": "协议名称",
  24224. "type": "string"
  24225. },
  24226. "agreementno": {
  24227. "description": "协议编号",
  24228. "type": "string"
  24229. },
  24230. "agreementtype": {
  24231. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24232. "type": "integer"
  24233. },
  24234. "agreementversion": {
  24235. "description": "协议版本号(从1开始每次修改加1)",
  24236. "type": "integer"
  24237. },
  24238. "createtime": {
  24239. "description": "创建时间",
  24240. "type": "string"
  24241. },
  24242. "creatorid": {
  24243. "description": "创建人",
  24244. "type": "integer"
  24245. },
  24246. "creatorsrc": {
  24247. "description": "创建来源 - 1:管理端 2:终端",
  24248. "type": "integer"
  24249. },
  24250. "isvalid": {
  24251. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24252. "type": "integer"
  24253. },
  24254. "reviserid": {
  24255. "description": "修改人",
  24256. "type": "integer"
  24257. },
  24258. "revisersrc": {
  24259. "description": "修改来源 - 1:管理端 2:终端",
  24260. "type": "integer"
  24261. },
  24262. "updatetime": {
  24263. "description": "更新时间",
  24264. "type": "string"
  24265. }
  24266. }
  24267. },
  24268. "models.QhjAreaFinanceConfig": {
  24269. "type": "object",
  24270. "properties": {
  24271. "additionalratio": {
  24272. "description": "追加款比例",
  24273. "type": "number"
  24274. },
  24275. "advanceratio": {
  24276. "description": "预付款比例",
  24277. "type": "number"
  24278. },
  24279. "alarmratio": {
  24280. "description": "告警比例",
  24281. "type": "number"
  24282. },
  24283. "consumptiondirectreward": {
  24284. "description": "消费直推奖励值",
  24285. "type": "number"
  24286. },
  24287. "consumptionenabled": {
  24288. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24289. "type": "integer"
  24290. },
  24291. "consumptionindirectreward": {
  24292. "description": "消费间推奖励值",
  24293. "type": "number"
  24294. },
  24295. "consumptionmodel": {
  24296. "description": "消费奖励方式 - 1:比率 2:固定",
  24297. "type": "integer"
  24298. },
  24299. "customerservicenum": {
  24300. "description": "客服电话",
  24301. "type": "string"
  24302. },
  24303. "dayinterestrate": {
  24304. "description": "日利率",
  24305. "type": "number"
  24306. },
  24307. "disableconsumptiontips": {
  24308. "description": "关闭消费奖励提示",
  24309. "type": "string"
  24310. },
  24311. "modifierid": {
  24312. "description": "修改人ID",
  24313. "type": "integer"
  24314. },
  24315. "modifysrc": {
  24316. "description": "审核来源 - 1:管理端 2:终端",
  24317. "type": "integer"
  24318. },
  24319. "modifytime": {
  24320. "description": "修改时间",
  24321. "type": "string"
  24322. },
  24323. "promotionvalue": {
  24324. "description": "推广奖励值(固定)",
  24325. "type": "number"
  24326. },
  24327. "scoreconfigvalue1": {
  24328. "description": "提货积分配置1",
  24329. "type": "integer"
  24330. },
  24331. "scoreconfigvalue2": {
  24332. "description": "提货积分配置2",
  24333. "type": "integer"
  24334. },
  24335. "userid": {
  24336. "description": "机构用户ID其他做市关系,都设置为 1",
  24337. "type": "integer"
  24338. },
  24339. "username": {
  24340. "description": "用户名称",
  24341. "type": "string"
  24342. }
  24343. }
  24344. },
  24345. "models.QhjBankAccountSign": {
  24346. "type": "object",
  24347. "properties": {
  24348. "accountcode": {
  24349. "description": "资金账号",
  24350. "type": "string"
  24351. },
  24352. "accountname": {
  24353. "description": "资金账号对应的账号名(UserName)",
  24354. "type": "string"
  24355. },
  24356. "accountname2": {
  24357. "description": "资金账号对应的账号名(UserName) - 密文",
  24358. "type": "string"
  24359. },
  24360. "accounttype": {
  24361. "description": "账户类型(UserType)",
  24362. "type": "integer"
  24363. },
  24364. "applicationtime": {
  24365. "description": "最后一次更新的时间",
  24366. "type": "string"
  24367. },
  24368. "applyexchticket": {
  24369. "description": "申请流水",
  24370. "type": "string"
  24371. },
  24372. "auditid": {
  24373. "description": "审核人",
  24374. "type": "integer"
  24375. },
  24376. "audittime": {
  24377. "description": "审核时间",
  24378. "type": "string"
  24379. },
  24380. "bankaccountname": {
  24381. "description": "签约银行卡账号名",
  24382. "type": "string"
  24383. },
  24384. "bankaccountname2": {
  24385. "description": "签约银行卡账号名 - 密文",
  24386. "type": "string"
  24387. },
  24388. "bankaccountno": {
  24389. "description": "银行卡号",
  24390. "type": "string"
  24391. },
  24392. "bankaccountno2": {
  24393. "description": "银行卡号 - 密文",
  24394. "type": "string"
  24395. },
  24396. "bankaccounttype": {
  24397. "description": "银行账户类型 - 1-对私; 2-对公",
  24398. "type": "integer"
  24399. },
  24400. "bankcardtype": {
  24401. "description": "银行卡类型",
  24402. "type": "integer"
  24403. },
  24404. "bankchildaccount": {
  24405. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24406. "type": "string"
  24407. },
  24408. "bankcity": {
  24409. "description": "开户行城市",
  24410. "type": "string"
  24411. },
  24412. "bankid": {
  24413. "description": "签约银行ID",
  24414. "type": "string"
  24415. },
  24416. "bankname": {
  24417. "description": "签约银行名称",
  24418. "type": "string"
  24419. },
  24420. "bankprovince": {
  24421. "description": "开户行省份",
  24422. "type": "string"
  24423. },
  24424. "branchbankid": {
  24425. "description": "签约银行支行号",
  24426. "type": "string"
  24427. },
  24428. "branchbankname": {
  24429. "description": "签约银行支行名称",
  24430. "type": "string"
  24431. },
  24432. "cardno": {
  24433. "description": "证件号码",
  24434. "type": "string"
  24435. },
  24436. "cardno2": {
  24437. "description": "证件号码 - 密文",
  24438. "type": "string"
  24439. },
  24440. "cardtype": {
  24441. "description": "证件类型",
  24442. "type": "string"
  24443. },
  24444. "currency": {
  24445. "description": "币种",
  24446. "type": "string"
  24447. },
  24448. "cusbankid": {
  24449. "description": "托管银行编号",
  24450. "type": "string"
  24451. },
  24452. "direct": {
  24453. "description": "方向(可以判断那方先发起的签约)",
  24454. "type": "integer"
  24455. },
  24456. "exchticket": {
  24457. "description": "最后一次签约成功的流水号",
  24458. "type": "string"
  24459. },
  24460. "extendinfo": {
  24461. "description": "扩展信息(JSON字符串)",
  24462. "type": "string"
  24463. },
  24464. "mobilephone": {
  24465. "description": "手机号",
  24466. "type": "string"
  24467. },
  24468. "mobilephone2": {
  24469. "description": "手机号 - 密文",
  24470. "type": "string"
  24471. },
  24472. "netaddr": {
  24473. "description": "调转网址",
  24474. "type": "string"
  24475. },
  24476. "relateduserid": {
  24477. "description": "关联使用者userid",
  24478. "type": "integer"
  24479. },
  24480. "signstatus": {
  24481. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24482. "type": "integer"
  24483. },
  24484. "updatetime": {
  24485. "description": "更新时间(签解约更新时间)",
  24486. "type": "string"
  24487. }
  24488. }
  24489. },
  24490. "models.QhjBankInfo": {
  24491. "type": "object",
  24492. "properties": {
  24493. "bankid": {
  24494. "description": "银行ID",
  24495. "type": "string"
  24496. },
  24497. "bankname": {
  24498. "description": "银行名称",
  24499. "type": "string"
  24500. },
  24501. "clearbankno": {
  24502. "description": "清算系统银行编号",
  24503. "type": "string"
  24504. },
  24505. "orderindex": {
  24506. "description": "排序顺序",
  24507. "type": "integer"
  24508. },
  24509. "status": {
  24510. "description": "状态 - 0:正常 1:注销",
  24511. "type": "integer"
  24512. }
  24513. }
  24514. },
  24515. "models.QhjBrokerApply": {
  24516. "type": "object",
  24517. "properties": {
  24518. "applicantid": {
  24519. "description": "申请人",
  24520. "type": "integer"
  24521. },
  24522. "applysrc": {
  24523. "description": "申请来源 - 1:管理端 2:终端",
  24524. "type": "integer"
  24525. },
  24526. "applystatus": {
  24527. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24528. "type": "integer"
  24529. },
  24530. "applytime": {
  24531. "description": "申请时间",
  24532. "type": "string"
  24533. },
  24534. "auditorid": {
  24535. "description": "审核人",
  24536. "type": "integer"
  24537. },
  24538. "auditremark": {
  24539. "description": "审核备注",
  24540. "type": "string"
  24541. },
  24542. "auditsrc": {
  24543. "description": "审核来源 - 1:管理端 2:终端",
  24544. "type": "integer"
  24545. },
  24546. "audittime": {
  24547. "description": "审核时间",
  24548. "type": "string"
  24549. },
  24550. "audittradedate": {
  24551. "description": "审核交易日(yyyyMMdd)",
  24552. "type": "string"
  24553. },
  24554. "brokerapplyid": {
  24555. "description": "申请ID(SEQ_BROKERAPPLY)",
  24556. "type": "integer"
  24557. },
  24558. "cardbackphotourl": {
  24559. "description": "证件背面图片地址",
  24560. "type": "string"
  24561. },
  24562. "cardfrontphotourl": {
  24563. "description": "证件正面图片地址",
  24564. "type": "string"
  24565. },
  24566. "cardnum": {
  24567. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24568. "type": "string"
  24569. },
  24570. "customername": {
  24571. "description": "姓名",
  24572. "type": "string"
  24573. },
  24574. "logincode": {
  24575. "description": "登录代码",
  24576. "type": "string"
  24577. },
  24578. "mobile": {
  24579. "description": "手机号码",
  24580. "type": "string"
  24581. },
  24582. "parentuserid": {
  24583. "description": "所属机构id",
  24584. "type": "integer"
  24585. },
  24586. "parentusername": {
  24587. "description": "所属机构名称",
  24588. "type": "string"
  24589. },
  24590. "refereeuserid": {
  24591. "description": "推荐人id(经纪人)",
  24592. "type": "integer"
  24593. },
  24594. "refernum": {
  24595. "description": "推荐码",
  24596. "type": "string"
  24597. },
  24598. "remark": {
  24599. "description": "备注",
  24600. "type": "string"
  24601. },
  24602. "subarealevelpath": {
  24603. "description": "层级路径",
  24604. "type": "string"
  24605. },
  24606. "tradedate": {
  24607. "description": "交易日(yyyyMMdd)",
  24608. "type": "string"
  24609. },
  24610. "userid": {
  24611. "description": "申请人用户ID",
  24612. "type": "integer"
  24613. },
  24614. "userinfotype": {
  24615. "description": "用户类型 1-个人 2-企业",
  24616. "type": "integer"
  24617. },
  24618. "username": {
  24619. "description": "用户名称",
  24620. "type": "string"
  24621. }
  24622. }
  24623. },
  24624. "models.QhjBrokerApplyEx": {
  24625. "type": "object",
  24626. "properties": {
  24627. "applylist": {
  24628. "description": "经纪人申请记录(只返回最新一条)",
  24629. "type": "array",
  24630. "items": {
  24631. "$ref": "#/definitions/models.QhjBrokerApply"
  24632. }
  24633. },
  24634. "canrecommend": {
  24635. "description": "是否经纪人 0-不是 1-是",
  24636. "type": "integer"
  24637. },
  24638. "refernum": {
  24639. "description": "推荐码",
  24640. "type": "string"
  24641. },
  24642. "userid": {
  24643. "description": "用户id",
  24644. "type": "integer"
  24645. },
  24646. "userinfotype": {
  24647. "description": "用户类型 1-个人 2-企业",
  24648. "type": "integer"
  24649. }
  24650. }
  24651. },
  24652. "models.QhjBrokerRewardLog": {
  24653. "type": "object",
  24654. "properties": {
  24655. "accountid": {
  24656. "description": "资金账号ID",
  24657. "type": "integer"
  24658. },
  24659. "createtime": {
  24660. "description": "创建时间(时间)",
  24661. "type": "string"
  24662. },
  24663. "handlestatus": {
  24664. "description": "处理状态",
  24665. "type": "integer"
  24666. },
  24667. "logid": {
  24668. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24669. "type": "string"
  24670. },
  24671. "marketid": {
  24672. "description": "市场ID",
  24673. "type": "integer"
  24674. },
  24675. "mmaccountid": {
  24676. "description": "做市商资金账号ID",
  24677. "type": "string"
  24678. },
  24679. "mmuserid": {
  24680. "description": "做市商用户ID",
  24681. "type": "string"
  24682. },
  24683. "rewardamount": {
  24684. "description": "奖励金额",
  24685. "type": "number"
  24686. },
  24687. "rewardmodel": {
  24688. "description": "消费奖励方式 - 1:比率 2:固定",
  24689. "type": "integer"
  24690. },
  24691. "rewardtype": {
  24692. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24693. "type": "integer"
  24694. },
  24695. "rewardvalue": {
  24696. "description": "配置奖励值",
  24697. "type": "number"
  24698. },
  24699. "srcamount": {
  24700. "description": "成交金额 [消费奖励] (金额)",
  24701. "type": "number"
  24702. },
  24703. "srcgoodsid": {
  24704. "description": "来源商品ID [消费奖励]",
  24705. "type": "string"
  24706. },
  24707. "srctime": {
  24708. "description": "来源时间 (成交时间) [消费奖励]",
  24709. "type": "string"
  24710. },
  24711. "srctradeid": {
  24712. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24713. "type": "string"
  24714. },
  24715. "srcuserid": {
  24716. "description": "来源用户ID(推广账户)",
  24717. "type": "string"
  24718. },
  24719. "srcusername": {
  24720. "description": "推广账户名称",
  24721. "type": "string"
  24722. },
  24723. "tradedate": {
  24724. "description": "交易日(yyyyMMdd)",
  24725. "type": "string"
  24726. },
  24727. "userid": {
  24728. "description": "经纪人用户ID",
  24729. "type": "integer"
  24730. }
  24731. }
  24732. },
  24733. "models.QhjContract": {
  24734. "type": "object",
  24735. "properties": {
  24736. "contractconfirmtime": {
  24737. "description": "合同确认时间(时间)",
  24738. "type": "string"
  24739. },
  24740. "currisklevel": {
  24741. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24742. "type": "integer"
  24743. },
  24744. "decimalplace": {
  24745. "description": "商品报价小数位",
  24746. "type": "integer"
  24747. },
  24748. "enumdicname": {
  24749. "description": "单位名称",
  24750. "type": "string"
  24751. },
  24752. "goodscode": {
  24753. "description": "商品代码",
  24754. "type": "string"
  24755. },
  24756. "goodsid": {
  24757. "description": "商品ID [5:融资单]",
  24758. "type": "integer"
  24759. },
  24760. "goodsname": {
  24761. "description": "商品名称",
  24762. "type": "string"
  24763. },
  24764. "goodunitid": {
  24765. "description": "商品单位id",
  24766. "type": "integer"
  24767. },
  24768. "initmargin": {
  24769. "description": "初始保证金(首付款)",
  24770. "type": "number"
  24771. },
  24772. "lenderamount": {
  24773. "description": "贷款金额(总额|订单总额)",
  24774. "type": "number"
  24775. },
  24776. "marginratio": {
  24777. "description": "保证金比率(首付比例)",
  24778. "type": "number"
  24779. },
  24780. "payamount": {
  24781. "description": "已付(已付货款)",
  24782. "type": "number"
  24783. },
  24784. "reckonrecovermargin": {
  24785. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24786. "type": "number"
  24787. },
  24788. "recoveredmargin": {
  24789. "description": "已追缴保证金",
  24790. "type": "number"
  24791. },
  24792. "remainamount": {
  24793. "description": "合同剩余金额(融资额)",
  24794. "type": "number"
  24795. },
  24796. "scfcontractid": {
  24797. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24798. "type": "string"
  24799. },
  24800. "scfcontractstatus": {
  24801. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24802. "type": "integer"
  24803. },
  24804. "scfcontracttype": {
  24805. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24806. "type": "integer"
  24807. },
  24808. "totalinterest": {
  24809. "description": "已计总利息(利息)",
  24810. "type": "number"
  24811. },
  24812. "tradeprice": {
  24813. "description": "成交价格(成本价格)",
  24814. "type": "number"
  24815. },
  24816. "userid": {
  24817. "description": "用户ID",
  24818. "type": "integer"
  24819. },
  24820. "username": {
  24821. "description": "用户名称",
  24822. "type": "string"
  24823. },
  24824. "wrqty": {
  24825. "description": "仓单数量(数量)",
  24826. "type": "number"
  24827. }
  24828. }
  24829. },
  24830. "models.QhjContractLog": {
  24831. "type": "object",
  24832. "properties": {
  24833. "amount": {
  24834. "description": "支付金额",
  24835. "type": "number"
  24836. },
  24837. "amounttype": {
  24838. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24839. "type": "integer"
  24840. },
  24841. "logid": {
  24842. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24843. "type": "string"
  24844. },
  24845. "remainamount": {
  24846. "description": "剩余货款",
  24847. "type": "number"
  24848. },
  24849. "scfcontractid": {
  24850. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24851. "type": "integer"
  24852. },
  24853. "updatetime": {
  24854. "description": "更新时间",
  24855. "type": "string"
  24856. }
  24857. }
  24858. },
  24859. "models.QhjCusBankSignBankEx": {
  24860. "type": "object",
  24861. "properties": {
  24862. "banklst": {
  24863. "description": "银行列表",
  24864. "type": "array",
  24865. "items": {
  24866. "$ref": "#/definitions/models.QhjBankInfo"
  24867. }
  24868. },
  24869. "canallot": {
  24870. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  24871. "type": "integer"
  24872. },
  24873. "canallotquery": {
  24874. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  24875. "type": "integer"
  24876. },
  24877. "canbindcard": {
  24878. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  24879. "type": "integer"
  24880. },
  24881. "caninamount": {
  24882. "description": "是否可入金 - 0:不可 1:可以",
  24883. "type": "integer"
  24884. },
  24885. "caninamount2": {
  24886. "description": "是否可入金(网银端) - 0:不可 1:可以",
  24887. "type": "integer"
  24888. },
  24889. "canmodifybankcard": {
  24890. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  24891. "type": "integer"
  24892. },
  24893. "canmodifyphone": {
  24894. "description": "是否可修改手机号 - 0:不可 1:可以",
  24895. "type": "integer"
  24896. },
  24897. "canmodifysigninfo": {
  24898. "description": "是否可修改签约信息 - 0:不可 1:可以",
  24899. "type": "integer"
  24900. },
  24901. "canoutamount": {
  24902. "description": "是否可出金 - 0:不可 1:可以",
  24903. "type": "integer"
  24904. },
  24905. "canoutamount2": {
  24906. "description": "是否可出金(网银端) - 0:不可 1:可以",
  24907. "type": "integer"
  24908. },
  24909. "canrelease": {
  24910. "description": "是否可解约 - 0:不可 1:可以",
  24911. "type": "integer"
  24912. },
  24913. "canrelease2": {
  24914. "description": "是否可解约(网银端) - 0:不可 1:可以",
  24915. "type": "integer"
  24916. },
  24917. "cansign": {
  24918. "description": "是否可签约 - 0:不可 1:可以",
  24919. "type": "integer"
  24920. },
  24921. "cansign2": {
  24922. "description": "是否可签约(网银端) - 0:不可 1:可以",
  24923. "type": "integer"
  24924. },
  24925. "currency": {
  24926. "description": "币种",
  24927. "type": "string"
  24928. },
  24929. "cusbankid": {
  24930. "description": "托管银行编号(对应清算中心TRAN_NO)",
  24931. "type": "string"
  24932. },
  24933. "cusbankname": {
  24934. "description": "银行业务名称",
  24935. "type": "string"
  24936. },
  24937. "cusbankshortname": {
  24938. "description": "银行业务简称",
  24939. "type": "string"
  24940. },
  24941. "exchbankid": {
  24942. "description": "交易所开户银行ID",
  24943. "type": "string"
  24944. },
  24945. "exchpaybankaccname": {
  24946. "description": "交易所支出结算账户户名",
  24947. "type": "string"
  24948. },
  24949. "exchpaybankaccno": {
  24950. "description": "交易所支出结算账户",
  24951. "type": "string"
  24952. },
  24953. "isneedcheck": {
  24954. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  24955. "type": "integer"
  24956. },
  24957. "isneedclear": {
  24958. "description": "是否需要清算 - 0:不需要 1:需要",
  24959. "type": "integer"
  24960. },
  24961. "lastcheckstatus": {
  24962. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  24963. "type": "integer"
  24964. },
  24965. "lastchecktime": {
  24966. "description": "最后对账时间",
  24967. "type": "string"
  24968. },
  24969. "lastclearstatus": {
  24970. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  24971. "type": "integer"
  24972. },
  24973. "lastcleartime": {
  24974. "description": "最后清算时间",
  24975. "type": "string"
  24976. },
  24977. "lastsignintime": {
  24978. "description": "最后签到时间",
  24979. "type": "string"
  24980. },
  24981. "lastsignouttime": {
  24982. "description": "最后签退时间",
  24983. "type": "string"
  24984. },
  24985. "riskinfo": {
  24986. "description": "签约风险提示书",
  24987. "type": "string"
  24988. },
  24989. "signstatus": {
  24990. "description": "当前签到/签退状态 - 1:签到 2:签退",
  24991. "type": "integer"
  24992. },
  24993. "tradedate": {
  24994. "description": "交易日(yyyyMMdd)",
  24995. "type": "string"
  24996. },
  24997. "updatetime": {
  24998. "description": "当前签到/签退更新时间",
  24999. "type": "string"
  25000. }
  25001. }
  25002. },
  25003. "models.QhjCustomer": {
  25004. "type": "object",
  25005. "properties": {
  25006. "address": {
  25007. "description": "通讯地址",
  25008. "type": "string"
  25009. },
  25010. "attachment1": {
  25011. "description": "附件1",
  25012. "type": "string"
  25013. },
  25014. "audittime": {
  25015. "description": "审核时间",
  25016. "type": "string"
  25017. },
  25018. "cardbackphotourl": {
  25019. "description": "证件反面图片地址",
  25020. "type": "string"
  25021. },
  25022. "cardfrontphotourl": {
  25023. "description": "证件正面图片地址",
  25024. "type": "string"
  25025. },
  25026. "cardnum": {
  25027. "description": "证件号码",
  25028. "type": "string"
  25029. },
  25030. "cardtype": {
  25031. "description": "证件类型",
  25032. "type": "integer"
  25033. },
  25034. "cardtypename": {
  25035. "description": "证件类型名称",
  25036. "type": "string"
  25037. },
  25038. "cityid": {
  25039. "description": "市",
  25040. "type": "integer"
  25041. },
  25042. "cityname": {
  25043. "description": "城市名称",
  25044. "type": "string"
  25045. },
  25046. "contactname": {
  25047. "description": "联系人",
  25048. "type": "string"
  25049. },
  25050. "countryid": {
  25051. "description": "国家",
  25052. "type": "integer"
  25053. },
  25054. "countryname": {
  25055. "description": "国家名称",
  25056. "type": "string"
  25057. },
  25058. "createtime": {
  25059. "description": "创建时间",
  25060. "type": "string"
  25061. },
  25062. "customername": {
  25063. "description": "客户名称",
  25064. "type": "string"
  25065. },
  25066. "districtid": {
  25067. "description": "区域",
  25068. "type": "integer"
  25069. },
  25070. "districtname": {
  25071. "description": "地区名称",
  25072. "type": "string"
  25073. },
  25074. "email": {
  25075. "description": "邮件",
  25076. "type": "string"
  25077. },
  25078. "legalpersonname": {
  25079. "description": "法人姓名(企业)",
  25080. "type": "string"
  25081. },
  25082. "logincode": {
  25083. "description": "登录账号(代码)",
  25084. "type": "string"
  25085. },
  25086. "memberuserid": {
  25087. "description": "所属机构ID(所属会员)",
  25088. "type": "integer"
  25089. },
  25090. "memberusername": {
  25091. "description": "所属会员名称",
  25092. "type": "string"
  25093. },
  25094. "mobile": {
  25095. "description": "手机号码",
  25096. "type": "string"
  25097. },
  25098. "modifytime": {
  25099. "description": "修改时间",
  25100. "type": "string"
  25101. },
  25102. "nickname": {
  25103. "description": "昵称",
  25104. "type": "string"
  25105. },
  25106. "parentuserid": {
  25107. "description": "上级机构(所属机构)",
  25108. "type": "integer"
  25109. },
  25110. "parentusername": {
  25111. "description": "所属机构名称",
  25112. "type": "string"
  25113. },
  25114. "provinceid": {
  25115. "description": "省",
  25116. "type": "integer"
  25117. },
  25118. "provincename": {
  25119. "description": "省名称",
  25120. "type": "string"
  25121. },
  25122. "proxystatementurl": {
  25123. "description": "授权委托书",
  25124. "type": "string"
  25125. },
  25126. "remark": {
  25127. "description": "备注",
  25128. "type": "string"
  25129. },
  25130. "status": {
  25131. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25132. "type": "integer"
  25133. },
  25134. "statusdesc": {
  25135. "description": "账户状态中文描述",
  25136. "type": "string"
  25137. },
  25138. "taxpayernum": {
  25139. "description": "纳税人识别号",
  25140. "type": "string"
  25141. },
  25142. "telphone": {
  25143. "description": "联系电话",
  25144. "type": "string"
  25145. },
  25146. "userid": {
  25147. "description": "用户ID",
  25148. "type": "integer"
  25149. },
  25150. "userinfotype": {
  25151. "description": "客户类型 1-个人 2-企业",
  25152. "type": "integer"
  25153. },
  25154. "username": {
  25155. "description": "用户名称",
  25156. "type": "string"
  25157. }
  25158. }
  25159. },
  25160. "models.QhjCustomerSignLog": {
  25161. "type": "object",
  25162. "properties": {
  25163. "agreementcontent": {
  25164. "description": "协议内容",
  25165. "type": "string"
  25166. },
  25167. "agreementid": {
  25168. "description": "协议ID",
  25169. "type": "integer"
  25170. },
  25171. "agreementname": {
  25172. "description": "协议名称",
  25173. "type": "string"
  25174. },
  25175. "agreementno": {
  25176. "description": "协议编号",
  25177. "type": "string"
  25178. },
  25179. "agreementtype": {
  25180. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25181. "type": "integer"
  25182. },
  25183. "agreementversion": {
  25184. "description": "协议版本号",
  25185. "type": "integer"
  25186. },
  25187. "createtime": {
  25188. "description": "创建时间",
  25189. "type": "string"
  25190. },
  25191. "goodscode": {
  25192. "description": "商品代码",
  25193. "type": "string"
  25194. },
  25195. "goodsid": {
  25196. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25197. "type": "integer"
  25198. },
  25199. "goodsname": {
  25200. "description": "商品名称",
  25201. "type": "string"
  25202. },
  25203. "logid": {
  25204. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25205. "type": "integer"
  25206. },
  25207. "nodetype": {
  25208. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25209. "type": "integer"
  25210. },
  25211. "signadressurl": {
  25212. "description": "签约文件地址",
  25213. "type": "string"
  25214. },
  25215. "signtimestamp": {
  25216. "description": "签约状态时间戳",
  25217. "type": "string"
  25218. },
  25219. "userid": {
  25220. "description": "客户ID",
  25221. "type": "integer"
  25222. },
  25223. "username": {
  25224. "description": "客户名称",
  25225. "type": "string"
  25226. }
  25227. }
  25228. },
  25229. "models.QhjCustomerSignStatus": {
  25230. "type": "object",
  25231. "properties": {
  25232. "createtime": {
  25233. "description": "创建时间",
  25234. "type": "string"
  25235. },
  25236. "goodscode": {
  25237. "description": "商品代码",
  25238. "type": "string"
  25239. },
  25240. "goodsid": {
  25241. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25242. "type": "integer"
  25243. },
  25244. "goodsname": {
  25245. "description": "商品名称",
  25246. "type": "string"
  25247. },
  25248. "nodetype": {
  25249. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25250. "type": "integer"
  25251. },
  25252. "signtimestamp": {
  25253. "description": "签约状态时间戳",
  25254. "type": "string"
  25255. },
  25256. "tradedate": {
  25257. "description": "创建交易日(yyyyMMdd)",
  25258. "type": "string"
  25259. },
  25260. "updatetime": {
  25261. "description": "更新时间",
  25262. "type": "string"
  25263. },
  25264. "userid": {
  25265. "description": "客户ID",
  25266. "type": "integer"
  25267. },
  25268. "username": {
  25269. "description": "客户名称",
  25270. "type": "string"
  25271. }
  25272. }
  25273. },
  25274. "models.QhjMgrAccountOutInApply": {
  25275. "type": "object",
  25276. "properties": {
  25277. "accountcode": {
  25278. "description": "资金账号",
  25279. "type": "string"
  25280. },
  25281. "accountname": {
  25282. "description": "用户名称(名称)",
  25283. "type": "string"
  25284. },
  25285. "accountpwd": {
  25286. "description": "资金密码",
  25287. "type": "string"
  25288. },
  25289. "accountticket": {
  25290. "description": "最新账户服务流水号",
  25291. "type": "string"
  25292. },
  25293. "amount": {
  25294. "description": "金额",
  25295. "type": "number"
  25296. },
  25297. "applyremark": {
  25298. "description": "申请备注",
  25299. "type": "string"
  25300. },
  25301. "applystatus": {
  25302. "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: 复审通过,账户冻结金额检查中;",
  25303. "type": "integer"
  25304. },
  25305. "auditid": {
  25306. "description": "审核人",
  25307. "type": "integer"
  25308. },
  25309. "audittime": {
  25310. "description": "审核时间",
  25311. "type": "string"
  25312. },
  25313. "bank_apply_ticket": {
  25314. "description": "银行申请流水",
  25315. "type": "string"
  25316. },
  25317. "bankaccountname": {
  25318. "description": "银行账户名",
  25319. "type": "string"
  25320. },
  25321. "bankaccountno": {
  25322. "description": "银行卡号",
  25323. "type": "string"
  25324. },
  25325. "bankid": {
  25326. "description": "银行编号",
  25327. "type": "string"
  25328. },
  25329. "bankname": {
  25330. "description": "银行名称",
  25331. "type": "string"
  25332. },
  25333. "bankticket": {
  25334. "description": "银行流水",
  25335. "type": "string"
  25336. },
  25337. "branchbankid": {
  25338. "description": "银行支行号",
  25339. "type": "string"
  25340. },
  25341. "branchbankname": {
  25342. "description": "银行支行名称",
  25343. "type": "string"
  25344. },
  25345. "capamountout": {
  25346. "description": "出金(劣后本金) - 外部子账户",
  25347. "type": "number"
  25348. },
  25349. "certificatephotourl": {
  25350. "description": "凭证地址",
  25351. "type": "string"
  25352. },
  25353. "charge": {
  25354. "description": "手续费",
  25355. "type": "number"
  25356. },
  25357. "checkerrorflag": {
  25358. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25359. "type": "integer"
  25360. },
  25361. "currency": {
  25362. "description": "币种",
  25363. "type": "string"
  25364. },
  25365. "cusbankid": {
  25366. "description": "托管银行编号",
  25367. "type": "string"
  25368. },
  25369. "exchticket": {
  25370. "description": "银行服务流水号",
  25371. "type": "string"
  25372. },
  25373. "executetype": {
  25374. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25375. "type": "integer"
  25376. },
  25377. "extendinfo": {
  25378. "description": "扩展信息",
  25379. "type": "string"
  25380. },
  25381. "extoperateid": {
  25382. "description": "交易服务流水号",
  25383. "type": "integer"
  25384. },
  25385. "infamount": {
  25386. "description": "劣后金额(自有)",
  25387. "type": "number"
  25388. },
  25389. "logincode": {
  25390. "description": "登录账号(账号)",
  25391. "type": "string"
  25392. },
  25393. "netaddr": {
  25394. "description": "调转网址",
  25395. "type": "string"
  25396. },
  25397. "priamount": {
  25398. "description": "优先金额(授信)",
  25399. "type": "number"
  25400. },
  25401. "reauditid": {
  25402. "description": "复审人",
  25403. "type": "integer"
  25404. },
  25405. "reauditremark": {
  25406. "description": "复审备注",
  25407. "type": "string"
  25408. },
  25409. "reaudittime": {
  25410. "description": "复审时间",
  25411. "type": "string"
  25412. },
  25413. "relatedorderid": {
  25414. "description": "三方关联ID",
  25415. "type": "string"
  25416. },
  25417. "remark": {
  25418. "description": "备注",
  25419. "type": "string"
  25420. },
  25421. "remark2": {
  25422. "description": "备注(失败原因)",
  25423. "type": "string"
  25424. },
  25425. "soucreamount": {
  25426. "description": "原始出入金金额",
  25427. "type": "number"
  25428. },
  25429. "soucrecurrencyid": {
  25430. "description": "原始出入金币种",
  25431. "type": "integer"
  25432. },
  25433. "tradedate": {
  25434. "description": "交易日(yyyyMMdd)",
  25435. "type": "string"
  25436. },
  25437. "updatetime": {
  25438. "description": "更新时间(申请时间)",
  25439. "type": "string"
  25440. },
  25441. "userid": {
  25442. "description": "用户id",
  25443. "type": "integer"
  25444. },
  25445. "userinfotype": {
  25446. "description": "账户类型 1-个人 2-企业",
  25447. "type": "integer"
  25448. }
  25449. }
  25450. },
  25451. "models.QhjMgrBrokerApply": {
  25452. "type": "object",
  25453. "properties": {
  25454. "applicantid": {
  25455. "description": "申请人",
  25456. "type": "integer"
  25457. },
  25458. "applysrc": {
  25459. "description": "申请来源 - 1:管理端 2:终端",
  25460. "type": "integer"
  25461. },
  25462. "applystatus": {
  25463. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25464. "type": "integer"
  25465. },
  25466. "applytime": {
  25467. "description": "申请时间",
  25468. "type": "string"
  25469. },
  25470. "auditorid": {
  25471. "description": "审核人",
  25472. "type": "integer"
  25473. },
  25474. "auditremark": {
  25475. "description": "审核备注",
  25476. "type": "string"
  25477. },
  25478. "auditsrc": {
  25479. "description": "审核来源 - 1:管理端 2:终端",
  25480. "type": "integer"
  25481. },
  25482. "audittime": {
  25483. "description": "审核时间",
  25484. "type": "string"
  25485. },
  25486. "audittradedate": {
  25487. "description": "审核交易日(yyyyMMdd)",
  25488. "type": "string"
  25489. },
  25490. "brokerapplyid": {
  25491. "description": "申请ID(SEQ_BROKERAPPLY)",
  25492. "type": "integer"
  25493. },
  25494. "cardbackphotourl": {
  25495. "description": "证件背面图片地址",
  25496. "type": "string"
  25497. },
  25498. "cardfrontphotourl": {
  25499. "description": "证件正面图片地址",
  25500. "type": "string"
  25501. },
  25502. "cardnum": {
  25503. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25504. "type": "string"
  25505. },
  25506. "customername": {
  25507. "description": "姓名",
  25508. "type": "string"
  25509. },
  25510. "filterstatus": {
  25511. "description": "筛选条件",
  25512. "type": "string"
  25513. },
  25514. "logincode": {
  25515. "description": "登录代码",
  25516. "type": "string"
  25517. },
  25518. "mobile": {
  25519. "description": "手机号码",
  25520. "type": "string"
  25521. },
  25522. "parentuserid": {
  25523. "description": "所属机构id",
  25524. "type": "integer"
  25525. },
  25526. "parentusername": {
  25527. "description": "所属机构名称",
  25528. "type": "string"
  25529. },
  25530. "refereeuserid": {
  25531. "description": "推荐人id(经纪人)",
  25532. "type": "integer"
  25533. },
  25534. "refernum": {
  25535. "description": "推荐码",
  25536. "type": "string"
  25537. },
  25538. "remark": {
  25539. "description": "备注",
  25540. "type": "string"
  25541. },
  25542. "subarealevelpath": {
  25543. "description": "层级路径",
  25544. "type": "string"
  25545. },
  25546. "tradedate": {
  25547. "description": "交易日(yyyyMMdd)",
  25548. "type": "string"
  25549. },
  25550. "userid": {
  25551. "description": "申请人用户ID",
  25552. "type": "integer"
  25553. },
  25554. "userinfotype": {
  25555. "description": "用户类型 1-个人 2-企业",
  25556. "type": "integer"
  25557. },
  25558. "username": {
  25559. "description": "用户名称",
  25560. "type": "string"
  25561. }
  25562. }
  25563. },
  25564. "models.QhjMgrBrokerRewardReport": {
  25565. "type": "object",
  25566. "properties": {
  25567. "createtime": {
  25568. "description": "创建时间(注册时间)",
  25569. "type": "string"
  25570. },
  25571. "cycletime": {
  25572. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25573. "type": "string"
  25574. },
  25575. "cycletype": {
  25576. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25577. "type": "integer"
  25578. },
  25579. "directtotalnum": {
  25580. "description": "直推总人数【期末】",
  25581. "type": "integer"
  25582. },
  25583. "indirecttotalnum": {
  25584. "description": "间推总人数【期末】",
  25585. "type": "integer"
  25586. },
  25587. "mobile": {
  25588. "description": "电话号码",
  25589. "type": "string"
  25590. },
  25591. "refereeuserid": {
  25592. "description": "推荐人id(经纪人id)",
  25593. "type": "integer"
  25594. },
  25595. "refereeusername": {
  25596. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25597. "type": "string"
  25598. },
  25599. "refernum": {
  25600. "description": "推荐码",
  25601. "type": "string"
  25602. },
  25603. "subarealevelpath": {
  25604. "description": "用户层级路径",
  25605. "type": "string"
  25606. },
  25607. "todayrewardamount": {
  25608. "description": "奖励总金额【汇总】",
  25609. "type": "number"
  25610. },
  25611. "updatetime": {
  25612. "description": "更新时间",
  25613. "type": "string"
  25614. },
  25615. "userid": {
  25616. "description": "经纪人用户ID",
  25617. "type": "integer"
  25618. },
  25619. "userinfotype": {
  25620. "description": "用户类型 1-个人 2-企业",
  25621. "type": "integer"
  25622. },
  25623. "username": {
  25624. "description": "用户名称",
  25625. "type": "string"
  25626. }
  25627. }
  25628. },
  25629. "models.QhjMgrContract": {
  25630. "type": "object",
  25631. "properties": {
  25632. "contractconfirmtime": {
  25633. "description": "合同确认时间(时间)",
  25634. "type": "string"
  25635. },
  25636. "currisklevel": {
  25637. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25638. "type": "integer"
  25639. },
  25640. "decimalplace": {
  25641. "description": "商品报价小数位",
  25642. "type": "integer"
  25643. },
  25644. "enumdicname": {
  25645. "description": "单位名称",
  25646. "type": "string"
  25647. },
  25648. "goodscode": {
  25649. "description": "商品代码",
  25650. "type": "string"
  25651. },
  25652. "goodsid": {
  25653. "description": "商品ID [5:融资单]",
  25654. "type": "integer"
  25655. },
  25656. "goodsname": {
  25657. "description": "商品名称",
  25658. "type": "string"
  25659. },
  25660. "goodunitid": {
  25661. "description": "商品单位id",
  25662. "type": "integer"
  25663. },
  25664. "initmargin": {
  25665. "description": "初始保证金(首付款)",
  25666. "type": "number"
  25667. },
  25668. "lenderamount": {
  25669. "description": "贷款金额(总额|订单总额)",
  25670. "type": "number"
  25671. },
  25672. "logincode": {
  25673. "description": "账号(登录代码)",
  25674. "type": "string"
  25675. },
  25676. "marginratio": {
  25677. "description": "保证金比率(首付比例)",
  25678. "type": "number"
  25679. },
  25680. "mobile": {
  25681. "description": "电话号码(用户资料里的电话)",
  25682. "type": "string"
  25683. },
  25684. "payamount": {
  25685. "description": "已付(已付货款)",
  25686. "type": "number"
  25687. },
  25688. "reckonrecovermargin": {
  25689. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25690. "type": "number"
  25691. },
  25692. "recoveredmargin": {
  25693. "description": "已追缴保证金",
  25694. "type": "number"
  25695. },
  25696. "remainamount": {
  25697. "description": "合同剩余金额(融资额)",
  25698. "type": "number"
  25699. },
  25700. "scfcontractid": {
  25701. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25702. "type": "string"
  25703. },
  25704. "scfcontractstatus": {
  25705. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25706. "type": "integer"
  25707. },
  25708. "scfcontracttype": {
  25709. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25710. "type": "integer"
  25711. },
  25712. "totalinterest": {
  25713. "description": "已计总利息(利息)",
  25714. "type": "number"
  25715. },
  25716. "tradedate": {
  25717. "description": "交易日",
  25718. "type": "string"
  25719. },
  25720. "tradeprice": {
  25721. "description": "成交价格(成本价格)",
  25722. "type": "number"
  25723. },
  25724. "userid": {
  25725. "description": "用户ID",
  25726. "type": "integer"
  25727. },
  25728. "userinfotype": {
  25729. "description": "用户类型 1-个人 2-企业",
  25730. "type": "integer"
  25731. },
  25732. "username": {
  25733. "description": "用户名称",
  25734. "type": "string"
  25735. },
  25736. "wrqty": {
  25737. "description": "仓单数量(数量)",
  25738. "type": "number"
  25739. }
  25740. }
  25741. },
  25742. "models.QhjMgrCustomer": {
  25743. "type": "object",
  25744. "properties": {
  25745. "address": {
  25746. "description": "通讯地址",
  25747. "type": "string"
  25748. },
  25749. "attachment1": {
  25750. "description": "附件1",
  25751. "type": "string"
  25752. },
  25753. "audittime": {
  25754. "description": "审核时间",
  25755. "type": "string"
  25756. },
  25757. "cardbackphotourl": {
  25758. "description": "证件反面图片地址",
  25759. "type": "string"
  25760. },
  25761. "cardfrontphotourl": {
  25762. "description": "证件正面图片地址",
  25763. "type": "string"
  25764. },
  25765. "cardnum": {
  25766. "description": "证件号码",
  25767. "type": "string"
  25768. },
  25769. "cardtype": {
  25770. "description": "证件类型",
  25771. "type": "integer"
  25772. },
  25773. "cardtypename": {
  25774. "description": "证件类型名称",
  25775. "type": "string"
  25776. },
  25777. "cityid": {
  25778. "description": "市",
  25779. "type": "integer"
  25780. },
  25781. "cityname": {
  25782. "description": "城市名称",
  25783. "type": "string"
  25784. },
  25785. "contactname": {
  25786. "description": "联系人",
  25787. "type": "string"
  25788. },
  25789. "countryid": {
  25790. "description": "国家",
  25791. "type": "integer"
  25792. },
  25793. "countryname": {
  25794. "description": "国家名称",
  25795. "type": "string"
  25796. },
  25797. "createtime": {
  25798. "description": "创建时间",
  25799. "type": "string"
  25800. },
  25801. "customername": {
  25802. "description": "客户名称",
  25803. "type": "string"
  25804. },
  25805. "districtid": {
  25806. "description": "区域",
  25807. "type": "integer"
  25808. },
  25809. "districtname": {
  25810. "description": "地区名称",
  25811. "type": "string"
  25812. },
  25813. "email": {
  25814. "description": "邮件",
  25815. "type": "string"
  25816. },
  25817. "legalpersonname": {
  25818. "description": "法人姓名(企业)",
  25819. "type": "string"
  25820. },
  25821. "logincode": {
  25822. "description": "登录账号(代码)",
  25823. "type": "string"
  25824. },
  25825. "memberuserid": {
  25826. "description": "所属机构ID(所属会员)",
  25827. "type": "integer"
  25828. },
  25829. "memberusername": {
  25830. "description": "所属会员名称",
  25831. "type": "string"
  25832. },
  25833. "mobile": {
  25834. "description": "手机号码",
  25835. "type": "string"
  25836. },
  25837. "modifytime": {
  25838. "description": "修改时间",
  25839. "type": "string"
  25840. },
  25841. "nickname": {
  25842. "description": "昵称",
  25843. "type": "string"
  25844. },
  25845. "parentuserid": {
  25846. "description": "上级机构(所属机构)",
  25847. "type": "integer"
  25848. },
  25849. "parentusername": {
  25850. "description": "所属机构名称",
  25851. "type": "string"
  25852. },
  25853. "provinceid": {
  25854. "description": "省",
  25855. "type": "integer"
  25856. },
  25857. "provincename": {
  25858. "description": "省名称",
  25859. "type": "string"
  25860. },
  25861. "proxystatementurl": {
  25862. "description": "授权委托书",
  25863. "type": "string"
  25864. },
  25865. "querytype": {
  25866. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  25867. "type": "integer"
  25868. },
  25869. "remark": {
  25870. "description": "备注",
  25871. "type": "string"
  25872. },
  25873. "status": {
  25874. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25875. "type": "integer"
  25876. },
  25877. "statusdesc": {
  25878. "description": "账户状态中文描述",
  25879. "type": "string"
  25880. },
  25881. "taxpayernum": {
  25882. "description": "纳税人识别号",
  25883. "type": "string"
  25884. },
  25885. "telphone": {
  25886. "description": "联系电话",
  25887. "type": "string"
  25888. },
  25889. "userid": {
  25890. "description": "用户ID",
  25891. "type": "integer"
  25892. },
  25893. "userinfotype": {
  25894. "description": "客户类型 1-个人 2-企业",
  25895. "type": "integer"
  25896. },
  25897. "username": {
  25898. "description": "用户名称",
  25899. "type": "string"
  25900. }
  25901. }
  25902. },
  25903. "models.QhjMgrPickGoods": {
  25904. "type": "object",
  25905. "properties": {
  25906. "enumdicname": {
  25907. "description": "单位名称(提货商品)",
  25908. "type": "string"
  25909. },
  25910. "goodsid": {
  25911. "description": "商品id",
  25912. "type": "integer"
  25913. },
  25914. "imageaddress": {
  25915. "description": "图片",
  25916. "type": "string"
  25917. },
  25918. "modifierid": {
  25919. "description": "修改人",
  25920. "type": "integer"
  25921. },
  25922. "modifiername": {
  25923. "description": "修改人名称",
  25924. "type": "string"
  25925. },
  25926. "modifysrc": {
  25927. "description": "修改来源 - 1:管理端 2:终端",
  25928. "type": "integer"
  25929. },
  25930. "pickupgoodsagreeunit": {
  25931. "description": "合约乘数",
  25932. "type": "number"
  25933. },
  25934. "pickupgoodsdesc": {
  25935. "description": "描述",
  25936. "type": "string"
  25937. },
  25938. "pickupgoodsid": {
  25939. "description": "提货商品ID",
  25940. "type": "string"
  25941. },
  25942. "pickupgoodsname": {
  25943. "description": "提货商品名称",
  25944. "type": "string"
  25945. },
  25946. "pickupgoodsstatus": {
  25947. "description": "状态 - 1:正常 2:停用 3:注销",
  25948. "type": "integer"
  25949. },
  25950. "pickupgoodsunitid": {
  25951. "description": "单位ID",
  25952. "type": "integer"
  25953. },
  25954. "pickupratio": {
  25955. "description": "提货系数",
  25956. "type": "number"
  25957. },
  25958. "preparedays": {
  25959. "description": "备货期(天)",
  25960. "type": "integer"
  25961. },
  25962. "remark": {
  25963. "description": "备注",
  25964. "type": "string"
  25965. },
  25966. "updatetime": {
  25967. "description": "更新时间",
  25968. "type": "string"
  25969. }
  25970. }
  25971. },
  25972. "models.QhjMgrPositionRsp": {
  25973. "type": "object",
  25974. "properties": {
  25975. "accountid": {
  25976. "description": "账号Id",
  25977. "type": "integer"
  25978. },
  25979. "accountname": {
  25980. "description": "用户名称",
  25981. "type": "string"
  25982. },
  25983. "agreeunit": {
  25984. "description": "合约乘数",
  25985. "type": "number"
  25986. },
  25987. "averageprice": {
  25988. "description": "均价",
  25989. "type": "number"
  25990. },
  25991. "avialqty": {
  25992. "description": "可用数量",
  25993. "type": "number"
  25994. },
  25995. "decimalplace": {
  25996. "description": "报价小数位",
  25997. "type": "integer"
  25998. },
  25999. "enumdicname": {
  26000. "description": "单位名称(商品)",
  26001. "type": "string"
  26002. },
  26003. "frozenqty": {
  26004. "description": "冻结数量",
  26005. "type": "number"
  26006. },
  26007. "goodscode": {
  26008. "description": "商品代码(内部)",
  26009. "type": "string"
  26010. },
  26011. "goodsid": {
  26012. "description": "商品Id",
  26013. "type": "integer"
  26014. },
  26015. "goodsname": {
  26016. "description": "商品名称",
  26017. "type": "string"
  26018. },
  26019. "goodunitid": {
  26020. "description": "报价单位ID",
  26021. "type": "integer"
  26022. },
  26023. "holderamount": {
  26024. "description": "金额",
  26025. "type": "number"
  26026. },
  26027. "holderqty": {
  26028. "description": "持有数量",
  26029. "type": "number"
  26030. },
  26031. "holdertype": {
  26032. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26033. "type": "integer"
  26034. },
  26035. "logincode": {
  26036. "description": "登录代码(账户)",
  26037. "type": "string"
  26038. },
  26039. "marketid": {
  26040. "description": "市场id",
  26041. "type": "integer"
  26042. },
  26043. "qtydecimalplace": {
  26044. "description": "成交量小数位",
  26045. "type": "integer"
  26046. },
  26047. "trademode": {
  26048. "description": "交易模式",
  26049. "type": "integer"
  26050. },
  26051. "userid": {
  26052. "description": "用户id",
  26053. "type": "integer"
  26054. },
  26055. "userinfotype": {
  26056. "description": "账户类型 1-个人 2-企业",
  26057. "type": "integer"
  26058. }
  26059. }
  26060. },
  26061. "models.QhjMgrSubArea": {
  26062. "type": "object",
  26063. "properties": {
  26064. "accountname": {
  26065. "description": "账户名称(机构名称)",
  26066. "type": "string"
  26067. },
  26068. "memberuserid": {
  26069. "description": "所属会员ID",
  26070. "type": "integer"
  26071. },
  26072. "parenttopuser": {
  26073. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26074. "type": "string"
  26075. },
  26076. "parentuserid": {
  26077. "description": "所属机构ID",
  26078. "type": "integer"
  26079. },
  26080. "rootuserid": {
  26081. "description": "根用户ID",
  26082. "type": "string"
  26083. },
  26084. "subaccountlevel": {
  26085. "description": "子账户层数",
  26086. "type": "integer"
  26087. },
  26088. "subarealevelpath": {
  26089. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26090. "type": "string"
  26091. },
  26092. "userid": {
  26093. "description": "用户ID",
  26094. "type": "integer"
  26095. },
  26096. "usertype": {
  26097. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26098. "type": "integer"
  26099. }
  26100. }
  26101. },
  26102. "models.QhjMgrTradeDetailRsp": {
  26103. "type": "object",
  26104. "properties": {
  26105. "accountid": {
  26106. "description": "资金账号",
  26107. "type": "integer"
  26108. },
  26109. "accountname": {
  26110. "description": "用户名称",
  26111. "type": "string"
  26112. },
  26113. "agreeunit": {
  26114. "description": "合约乘数",
  26115. "type": "number"
  26116. },
  26117. "buyorsell": {
  26118. "description": "成交类型(方向) 0:买 1:卖",
  26119. "type": "integer"
  26120. },
  26121. "decimalplace": {
  26122. "description": "报价小数位",
  26123. "type": "integer"
  26124. },
  26125. "enumdicname": {
  26126. "description": "单位名称(商品)",
  26127. "type": "string"
  26128. },
  26129. "goodscode": {
  26130. "description": "商品代码(内部)",
  26131. "type": "string"
  26132. },
  26133. "goodsid": {
  26134. "description": "商品id",
  26135. "type": "integer"
  26136. },
  26137. "goodsname": {
  26138. "description": "商品名称",
  26139. "type": "string"
  26140. },
  26141. "goodunitid": {
  26142. "description": "报价单位ID",
  26143. "type": "integer"
  26144. },
  26145. "logincode": {
  26146. "description": "登录代码(账户)",
  26147. "type": "string"
  26148. },
  26149. "marketid": {
  26150. "description": "市场id",
  26151. "type": "integer"
  26152. },
  26153. "orderid": {
  26154. "description": "关联委托单号",
  26155. "type": "string"
  26156. },
  26157. "qtydecimalplace": {
  26158. "description": "成交量小数位",
  26159. "type": "integer"
  26160. },
  26161. "tradeamount": {
  26162. "description": "金额",
  26163. "type": "number"
  26164. },
  26165. "tradedate": {
  26166. "description": "交易日",
  26167. "type": "string"
  26168. },
  26169. "tradeid": {
  26170. "description": "成交单号",
  26171. "type": "string"
  26172. },
  26173. "trademode": {
  26174. "description": "交易模式",
  26175. "type": "integer"
  26176. },
  26177. "tradeprice": {
  26178. "description": "价格",
  26179. "type": "number"
  26180. },
  26181. "tradeqty": {
  26182. "description": "数量",
  26183. "type": "number"
  26184. },
  26185. "tradetime": {
  26186. "description": "成交时间",
  26187. "type": "string"
  26188. },
  26189. "userid": {
  26190. "description": "用户id",
  26191. "type": "integer"
  26192. },
  26193. "userinfotype": {
  26194. "description": "账户类型 1-个人 2-企业",
  26195. "type": "integer"
  26196. }
  26197. }
  26198. },
  26199. "models.QhjMgrTradeOrderDetailRsp": {
  26200. "type": "object",
  26201. "properties": {
  26202. "accountid": {
  26203. "description": "资金账号",
  26204. "type": "integer"
  26205. },
  26206. "accountname": {
  26207. "description": "用户名称",
  26208. "type": "string"
  26209. },
  26210. "agreeunit": {
  26211. "description": "合约乘数",
  26212. "type": "number"
  26213. },
  26214. "amount": {
  26215. "description": "金额",
  26216. "type": "number"
  26217. },
  26218. "decimalplace": {
  26219. "description": "报价小数位",
  26220. "type": "integer"
  26221. },
  26222. "enumdicname": {
  26223. "description": "单位名称(商品)",
  26224. "type": "string"
  26225. },
  26226. "goodscode": {
  26227. "description": "商品代码(内部)",
  26228. "type": "string"
  26229. },
  26230. "goodsid": {
  26231. "description": "商品id",
  26232. "type": "integer"
  26233. },
  26234. "goodsname": {
  26235. "description": "商品名称",
  26236. "type": "string"
  26237. },
  26238. "goodunitid": {
  26239. "description": "报价单位ID",
  26240. "type": "integer"
  26241. },
  26242. "logincode": {
  26243. "description": "登录代码(账户)",
  26244. "type": "string"
  26245. },
  26246. "marketid": {
  26247. "description": "市场id",
  26248. "type": "integer"
  26249. },
  26250. "orderid": {
  26251. "description": "关联委托单号",
  26252. "type": "string"
  26253. },
  26254. "orderprice": {
  26255. "description": "价格",
  26256. "type": "number"
  26257. },
  26258. "orderqty": {
  26259. "description": "数量",
  26260. "type": "number"
  26261. },
  26262. "orderstatus": {
  26263. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26264. "type": "integer"
  26265. },
  26266. "ordertime": {
  26267. "description": "委托时间",
  26268. "type": "string"
  26269. },
  26270. "qtydecimalplace": {
  26271. "description": "成交量小数位",
  26272. "type": "integer"
  26273. },
  26274. "tradedate": {
  26275. "description": "交易日",
  26276. "type": "string"
  26277. },
  26278. "trademode": {
  26279. "description": "交易模式",
  26280. "type": "integer"
  26281. },
  26282. "userid": {
  26283. "description": "用户id",
  26284. "type": "integer"
  26285. },
  26286. "userinfotype": {
  26287. "description": "账户类型 1-个人 2-企业",
  26288. "type": "integer"
  26289. }
  26290. }
  26291. },
  26292. "models.QhjMgrTradePayOrder": {
  26293. "type": "object",
  26294. "properties": {
  26295. "accountname": {
  26296. "description": "用户名称",
  26297. "type": "string"
  26298. },
  26299. "advanceratio": {
  26300. "description": "首付比率",
  26301. "type": "number"
  26302. },
  26303. "agreeunit": {
  26304. "description": "合约乘数",
  26305. "type": "number"
  26306. },
  26307. "buyaccountid": {
  26308. "description": "买方账号ID[报价币种]",
  26309. "type": "integer"
  26310. },
  26311. "buyorderid": {
  26312. "description": "买方委托单号(关联单号)",
  26313. "type": "string"
  26314. },
  26315. "createtime": {
  26316. "description": "创建时间",
  26317. "type": "string"
  26318. },
  26319. "decimalplace": {
  26320. "description": "报价小数位",
  26321. "type": "integer"
  26322. },
  26323. "enumdicname": {
  26324. "description": "单位名称(商品)",
  26325. "type": "string"
  26326. },
  26327. "goodscode": {
  26328. "description": "商品代码(内部)",
  26329. "type": "string"
  26330. },
  26331. "goodsid": {
  26332. "description": "商品ID",
  26333. "type": "integer"
  26334. },
  26335. "goodsname": {
  26336. "description": "商品名称",
  26337. "type": "string"
  26338. },
  26339. "goodunitid": {
  26340. "description": "报价单位ID",
  26341. "type": "integer"
  26342. },
  26343. "logincode": {
  26344. "description": "登录代码(账户)",
  26345. "type": "string"
  26346. },
  26347. "marketid": {
  26348. "description": "市场id",
  26349. "type": "integer"
  26350. },
  26351. "offamount": {
  26352. "description": "优惠金额",
  26353. "type": "number"
  26354. },
  26355. "operatetype": {
  26356. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26357. "type": "integer"
  26358. },
  26359. "payamount": {
  26360. "description": "支付金额(金额)",
  26361. "type": "number"
  26362. },
  26363. "payflag": {
  26364. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26365. "type": "integer"
  26366. },
  26367. "paylimitedtime": {
  26368. "description": "支付期限",
  26369. "type": "string"
  26370. },
  26371. "paytime": {
  26372. "description": "付款时间",
  26373. "type": "string"
  26374. },
  26375. "qtydecimalplace": {
  26376. "description": "成交量小数位",
  26377. "type": "integer"
  26378. },
  26379. "sellaccountid": {
  26380. "description": "卖方账号ID[报价币种]",
  26381. "type": "integer"
  26382. },
  26383. "sellorderid": {
  26384. "description": "卖方委托单号",
  26385. "type": "string"
  26386. },
  26387. "tradeamount": {
  26388. "description": "成交金额(优惠后金额)",
  26389. "type": "number"
  26390. },
  26391. "tradecharge": {
  26392. "description": "成交手续费(买方)",
  26393. "type": "number"
  26394. },
  26395. "tradedate": {
  26396. "description": "交易日(yyyyMMdd)",
  26397. "type": "string"
  26398. },
  26399. "tradeid": {
  26400. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26401. "type": "string"
  26402. },
  26403. "trademode": {
  26404. "description": "交易模式",
  26405. "type": "integer"
  26406. },
  26407. "tradeprice": {
  26408. "description": "成交价格(价格)",
  26409. "type": "number"
  26410. },
  26411. "tradeqty": {
  26412. "description": "成交数量(数量)",
  26413. "type": "number"
  26414. },
  26415. "tradetime": {
  26416. "description": "成交时间",
  26417. "type": "string"
  26418. },
  26419. "userid": {
  26420. "description": "用户id",
  26421. "type": "integer"
  26422. },
  26423. "userinfotype": {
  26424. "description": "账户类型 1-个人 2-企业",
  26425. "type": "integer"
  26426. }
  26427. }
  26428. },
  26429. "models.QhjMyTeamEx": {
  26430. "type": "object",
  26431. "properties": {
  26432. "accountname": {
  26433. "description": "用户名称",
  26434. "type": "string"
  26435. },
  26436. "accountstatus": {
  26437. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26438. "type": "integer"
  26439. },
  26440. "createtime": {
  26441. "description": "创建时间",
  26442. "type": "string"
  26443. },
  26444. "mobile": {
  26445. "description": "手机号码",
  26446. "type": "string"
  26447. },
  26448. "refereeuserid": {
  26449. "description": "推荐人id",
  26450. "type": "integer"
  26451. },
  26452. "refernum": {
  26453. "description": "推荐码",
  26454. "type": "string"
  26455. },
  26456. "subList": {
  26457. "type": "array",
  26458. "items": {
  26459. "$ref": "#/definitions/models.QhjMyTeamEx"
  26460. }
  26461. },
  26462. "userid": {
  26463. "description": "用户id",
  26464. "type": "integer"
  26465. },
  26466. "userinfotype": {
  26467. "description": "用户类型 1-个人 2-企业",
  26468. "type": "integer"
  26469. }
  26470. }
  26471. },
  26472. "models.QhjNodeAgreementConfig": {
  26473. "type": "object",
  26474. "properties": {
  26475. "agreementcontent": {
  26476. "description": "协议内容",
  26477. "type": "string"
  26478. },
  26479. "agreementid": {
  26480. "description": "协议ID",
  26481. "type": "integer"
  26482. },
  26483. "agreementname": {
  26484. "description": "协议名称",
  26485. "type": "string"
  26486. },
  26487. "agreementno": {
  26488. "description": "协议编号",
  26489. "type": "string"
  26490. },
  26491. "agreementtype": {
  26492. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26493. "type": "integer"
  26494. },
  26495. "agreementversion": {
  26496. "description": "协议版本号",
  26497. "type": "integer"
  26498. },
  26499. "configid": {
  26500. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26501. "type": "integer"
  26502. },
  26503. "createtime": {
  26504. "description": "创建时间",
  26505. "type": "string"
  26506. },
  26507. "goodsid": {
  26508. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26509. "type": "integer"
  26510. },
  26511. "nodetype": {
  26512. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26513. "type": "integer"
  26514. }
  26515. }
  26516. },
  26517. "models.QhjParentAreaList": {
  26518. "type": "object",
  26519. "properties": {
  26520. "accountname": {
  26521. "description": "账户名称(机构名称)",
  26522. "type": "string"
  26523. },
  26524. "userid": {
  26525. "description": "用户ID",
  26526. "type": "integer"
  26527. },
  26528. "usertype": {
  26529. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26530. "type": "integer"
  26531. }
  26532. }
  26533. },
  26534. "models.QhjPayOrder": {
  26535. "type": "object",
  26536. "properties": {
  26537. "advanceratio": {
  26538. "description": "首付比率",
  26539. "type": "number"
  26540. },
  26541. "buyaccountid": {
  26542. "description": "买方账号ID[报价币种]",
  26543. "type": "integer"
  26544. },
  26545. "buyorderid": {
  26546. "description": "买方委托单号",
  26547. "type": "string"
  26548. },
  26549. "createtime": {
  26550. "description": "创建时间",
  26551. "type": "string"
  26552. },
  26553. "decimalplace": {
  26554. "description": "商品报价小数位",
  26555. "type": "integer"
  26556. },
  26557. "enumdicname": {
  26558. "description": "单位名称",
  26559. "type": "string"
  26560. },
  26561. "goodscode": {
  26562. "description": "商品代码",
  26563. "type": "string"
  26564. },
  26565. "goodsid": {
  26566. "description": "商品ID",
  26567. "type": "integer"
  26568. },
  26569. "goodsname": {
  26570. "description": "商品名称",
  26571. "type": "string"
  26572. },
  26573. "goodunitid": {
  26574. "description": "商品单位id",
  26575. "type": "integer"
  26576. },
  26577. "marketid": {
  26578. "description": "市场ID",
  26579. "type": "integer"
  26580. },
  26581. "offamount": {
  26582. "description": "优惠金额",
  26583. "type": "number"
  26584. },
  26585. "operatetype": {
  26586. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26587. "type": "integer"
  26588. },
  26589. "payamount": {
  26590. "description": "支付金额",
  26591. "type": "number"
  26592. },
  26593. "payflag": {
  26594. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26595. "type": "integer"
  26596. },
  26597. "paylimitedtime": {
  26598. "description": "支付期限",
  26599. "type": "string"
  26600. },
  26601. "paytime": {
  26602. "description": "付款时间",
  26603. "type": "string"
  26604. },
  26605. "qtydecimalplace": {
  26606. "description": "成交量小数位",
  26607. "type": "integer"
  26608. },
  26609. "sellaccountid": {
  26610. "description": "卖方账号ID[报价币种]",
  26611. "type": "integer"
  26612. },
  26613. "sellorderid": {
  26614. "description": "卖方委托单号",
  26615. "type": "string"
  26616. },
  26617. "tradeamount": {
  26618. "description": "成交金额(优惠后金额)",
  26619. "type": "number"
  26620. },
  26621. "tradecharge": {
  26622. "description": "成交手续费(买方)",
  26623. "type": "number"
  26624. },
  26625. "tradedate": {
  26626. "description": "交易日(yyyyMMdd)",
  26627. "type": "string"
  26628. },
  26629. "tradeid": {
  26630. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26631. "type": "string"
  26632. },
  26633. "tradeprice": {
  26634. "description": "成交价格",
  26635. "type": "number"
  26636. },
  26637. "tradeqty": {
  26638. "description": "成交数量",
  26639. "type": "number"
  26640. }
  26641. }
  26642. },
  26643. "models.QhjPickArea": {
  26644. "type": "object",
  26645. "properties": {
  26646. "address": {
  26647. "description": "详细地址",
  26648. "type": "string"
  26649. },
  26650. "cityid": {
  26651. "description": "市",
  26652. "type": "integer"
  26653. },
  26654. "cityname": {
  26655. "description": "城市名称",
  26656. "type": "string"
  26657. },
  26658. "countryid": {
  26659. "description": "国家",
  26660. "type": "integer"
  26661. },
  26662. "countryname": {
  26663. "description": "国家名称",
  26664. "type": "string"
  26665. },
  26666. "districtid": {
  26667. "description": "地区",
  26668. "type": "integer"
  26669. },
  26670. "districtname": {
  26671. "description": "地区名称",
  26672. "type": "string"
  26673. },
  26674. "fromuserid": {
  26675. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26676. "type": "integer"
  26677. },
  26678. "fromusername": {
  26679. "description": "所属机构名称",
  26680. "type": "string"
  26681. },
  26682. "provinceid": {
  26683. "description": "省",
  26684. "type": "integer"
  26685. },
  26686. "provincename": {
  26687. "description": "省名称",
  26688. "type": "string"
  26689. },
  26690. "suborgtype": {
  26691. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26692. "type": "integer"
  26693. },
  26694. "userid": {
  26695. "description": "机构用户ID 其他做市关系,都设置为 1",
  26696. "type": "integer"
  26697. },
  26698. "username": {
  26699. "description": "机构用户名称(门店门称)",
  26700. "type": "string"
  26701. }
  26702. }
  26703. },
  26704. "models.QhjPickGoods": {
  26705. "type": "object",
  26706. "properties": {
  26707. "enumdicname": {
  26708. "description": "单位名称(提货商品)",
  26709. "type": "string"
  26710. },
  26711. "goodsid": {
  26712. "description": "商品id",
  26713. "type": "integer"
  26714. },
  26715. "imageaddress": {
  26716. "description": "图片",
  26717. "type": "string"
  26718. },
  26719. "modifierid": {
  26720. "description": "修改人",
  26721. "type": "integer"
  26722. },
  26723. "modifiername": {
  26724. "description": "修改人名称",
  26725. "type": "string"
  26726. },
  26727. "modifysrc": {
  26728. "description": "修改来源 - 1:管理端 2:终端",
  26729. "type": "integer"
  26730. },
  26731. "pickupgoodsagreeunit": {
  26732. "description": "合约乘数",
  26733. "type": "number"
  26734. },
  26735. "pickupgoodsdesc": {
  26736. "description": "描述",
  26737. "type": "string"
  26738. },
  26739. "pickupgoodsid": {
  26740. "description": "提货商品ID",
  26741. "type": "string"
  26742. },
  26743. "pickupgoodsname": {
  26744. "description": "提货商品名称",
  26745. "type": "string"
  26746. },
  26747. "pickupgoodsstatus": {
  26748. "description": "状态 - 1:正常 2:停用 3:注销",
  26749. "type": "integer"
  26750. },
  26751. "pickupgoodsunitid": {
  26752. "description": "单位ID",
  26753. "type": "integer"
  26754. },
  26755. "pickupratio": {
  26756. "description": "提货系数",
  26757. "type": "number"
  26758. },
  26759. "preparedays": {
  26760. "description": "备货期(天)",
  26761. "type": "integer"
  26762. },
  26763. "remark": {
  26764. "description": "备注",
  26765. "type": "string"
  26766. },
  26767. "updatetime": {
  26768. "description": "更新时间",
  26769. "type": "string"
  26770. }
  26771. }
  26772. },
  26773. "models.QhjRSTriggerLog": {
  26774. "type": "object",
  26775. "properties": {
  26776. "accountid": {
  26777. "description": "用户资金账户",
  26778. "type": "integer"
  26779. },
  26780. "accountname": {
  26781. "description": "账号名称(ACCOUNTID对应的名称)",
  26782. "type": "string"
  26783. },
  26784. "currencyid": {
  26785. "description": "币种id",
  26786. "type": "integer"
  26787. },
  26788. "currencyname": {
  26789. "description": "币种名称",
  26790. "type": "string"
  26791. },
  26792. "decimalplace": {
  26793. "description": "商品报价小数位",
  26794. "type": "integer"
  26795. },
  26796. "enumdicname": {
  26797. "description": "单位名称",
  26798. "type": "string"
  26799. },
  26800. "goodscode": {
  26801. "description": "定投商品代码",
  26802. "type": "string"
  26803. },
  26804. "goodsid": {
  26805. "description": "定投商品ID",
  26806. "type": "integer"
  26807. },
  26808. "goodsname": {
  26809. "description": "定投商品名称",
  26810. "type": "string"
  26811. },
  26812. "goodunitid": {
  26813. "description": "定投商品单位id",
  26814. "type": "integer"
  26815. },
  26816. "logid": {
  26817. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26818. "type": "string"
  26819. },
  26820. "logincode": {
  26821. "description": "账号(登录代码)",
  26822. "type": "string"
  26823. },
  26824. "qtydecimalplace": {
  26825. "description": "成交量小数位",
  26826. "type": "integer"
  26827. },
  26828. "regularlycycle": {
  26829. "description": "定投频率 - 1:每周 2:每月",
  26830. "type": "integer"
  26831. },
  26832. "regularlycyclevalue": {
  26833. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26834. "type": "string"
  26835. },
  26836. "regularlymode": {
  26837. "description": "定投方式 - 1:按数量 2:按金额",
  26838. "type": "integer"
  26839. },
  26840. "regularlymodevalue": {
  26841. "description": "定投方式值 - 数量或金额",
  26842. "type": "number"
  26843. },
  26844. "regularlystrategyid": {
  26845. "description": "定投策略ID",
  26846. "type": "integer"
  26847. },
  26848. "retcode": {
  26849. "description": "错误码",
  26850. "type": "string"
  26851. },
  26852. "tradeid": {
  26853. "description": "成交单ID",
  26854. "type": "string"
  26855. },
  26856. "triggeramount": {
  26857. "description": "触发金额",
  26858. "type": "number"
  26859. },
  26860. "triggerqty": {
  26861. "description": "触发数量",
  26862. "type": "number"
  26863. },
  26864. "triggerstatus": {
  26865. "description": "触发状态 - 1:成功 2:失败",
  26866. "type": "integer"
  26867. },
  26868. "triggertime": {
  26869. "description": "触发时间",
  26870. "type": "string"
  26871. },
  26872. "triggertradedate": {
  26873. "description": "触发交易日",
  26874. "type": "string"
  26875. },
  26876. "userid": {
  26877. "description": "所属用户ID",
  26878. "type": "integer"
  26879. },
  26880. "userinfotype": {
  26881. "description": "用户类型 1-个人 2-企业",
  26882. "type": "integer"
  26883. },
  26884. "username": {
  26885. "description": "用户名称(userid对应的名称)",
  26886. "type": "string"
  26887. }
  26888. }
  26889. },
  26890. "models.QhjRStrategy": {
  26891. "type": "object",
  26892. "properties": {
  26893. "accountid": {
  26894. "description": "用户资金账户",
  26895. "type": "integer"
  26896. },
  26897. "accountname": {
  26898. "description": "账号名称(ACCOUNTID对应的名称)",
  26899. "type": "string"
  26900. },
  26901. "currencyid": {
  26902. "description": "币种id",
  26903. "type": "integer"
  26904. },
  26905. "currencyname": {
  26906. "description": "币种名称",
  26907. "type": "string"
  26908. },
  26909. "decimalplace": {
  26910. "description": "商品报价小数位",
  26911. "type": "integer"
  26912. },
  26913. "enumdicname": {
  26914. "description": "单位名称",
  26915. "type": "string"
  26916. },
  26917. "goodscode": {
  26918. "description": "定投商品代码",
  26919. "type": "string"
  26920. },
  26921. "goodsid": {
  26922. "description": "定投商品ID",
  26923. "type": "integer"
  26924. },
  26925. "goodsname": {
  26926. "description": "定投商品名称",
  26927. "type": "string"
  26928. },
  26929. "goodunitid": {
  26930. "description": "定投商品单位id",
  26931. "type": "integer"
  26932. },
  26933. "lasteffecttradedate": {
  26934. "description": "最新生效交易日",
  26935. "type": "string"
  26936. },
  26937. "laststoptradedate": {
  26938. "description": "最新暂停交易日",
  26939. "type": "string"
  26940. },
  26941. "lasttriggertradedate": {
  26942. "description": "最新触发交易日",
  26943. "type": "string"
  26944. },
  26945. "logincode": {
  26946. "description": "账号(登录代码)",
  26947. "type": "string"
  26948. },
  26949. "nexttriggeramount": {
  26950. "description": "下次触发金额",
  26951. "type": "number"
  26952. },
  26953. "nexttriggerdate": {
  26954. "description": "下次触发日期",
  26955. "type": "string"
  26956. },
  26957. "nexttriggerqty": {
  26958. "description": "下次触发数量 [按小数位放大值]",
  26959. "type": "number"
  26960. },
  26961. "qtydecimalplace": {
  26962. "description": "成交量小数位",
  26963. "type": "integer"
  26964. },
  26965. "regularlycycle": {
  26966. "description": "定投频率 - 1:每周 2:每月",
  26967. "type": "integer"
  26968. },
  26969. "regularlycyclevalue": {
  26970. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26971. "type": "string"
  26972. },
  26973. "regularlymode": {
  26974. "description": "定投方式 - 1:按数量 2:按金额",
  26975. "type": "integer"
  26976. },
  26977. "regularlymodevalue": {
  26978. "description": "定投方式值 - 数量或金额",
  26979. "type": "number"
  26980. },
  26981. "regularlystrategyid": {
  26982. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  26983. "type": "integer"
  26984. },
  26985. "regularlystrategystatus": {
  26986. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  26987. "type": "integer"
  26988. },
  26989. "remark": {
  26990. "description": "备注",
  26991. "type": "string"
  26992. },
  26993. "triggersuccesstimes": {
  26994. "description": "累计定投成功次数",
  26995. "type": "string"
  26996. },
  26997. "triggertotalamount": {
  26998. "description": "累计定投金额(成功)",
  26999. "type": "number"
  27000. },
  27001. "triggertotalqty": {
  27002. "description": "累计定投数量(成功) [按小数位放大值]",
  27003. "type": "number"
  27004. },
  27005. "triggertotaltimes": {
  27006. "description": "累计定投总次数",
  27007. "type": "string"
  27008. },
  27009. "updatesrc": {
  27010. "description": "更新来源 - 1:管理端 2:终端",
  27011. "type": "integer"
  27012. },
  27013. "updatetime": {
  27014. "description": "更新时间",
  27015. "type": "string"
  27016. },
  27017. "updatorid": {
  27018. "description": "更新人",
  27019. "type": "string"
  27020. },
  27021. "userid": {
  27022. "description": "所属用户ID",
  27023. "type": "integer"
  27024. },
  27025. "userinfotype": {
  27026. "description": "用户类型 1-个人 2-企业",
  27027. "type": "integer"
  27028. },
  27029. "username": {
  27030. "description": "用户名称(userid对应的名称)",
  27031. "type": "string"
  27032. }
  27033. }
  27034. },
  27035. "models.QhjReckonPriceLog": {
  27036. "type": "object",
  27037. "properties": {
  27038. "decimalplace": {
  27039. "description": "商品报价小数位",
  27040. "type": "integer"
  27041. },
  27042. "goodscode": {
  27043. "description": "商品代码",
  27044. "type": "string"
  27045. },
  27046. "goodsid": {
  27047. "description": "商品ID",
  27048. "type": "integer"
  27049. },
  27050. "goodsname": {
  27051. "description": "商品名称",
  27052. "type": "string"
  27053. },
  27054. "lastreckonprice": {
  27055. "description": "上日结算价",
  27056. "type": "number"
  27057. },
  27058. "nextdnlimitprice": {
  27059. "description": "下个交易日跌停价",
  27060. "type": "number"
  27061. },
  27062. "nexttrade": {
  27063. "description": "下个交易日",
  27064. "type": "string"
  27065. },
  27066. "nextuplimitprice": {
  27067. "description": "下个交易日涨停价",
  27068. "type": "number"
  27069. },
  27070. "reckonprice": {
  27071. "description": "今日结算价(定投价)",
  27072. "type": "number"
  27073. },
  27074. "reckontime": {
  27075. "description": "结算时间",
  27076. "type": "string"
  27077. },
  27078. "totalholderqty": {
  27079. "description": "总持仓数",
  27080. "type": "integer"
  27081. },
  27082. "totalstock": {
  27083. "description": "总库存",
  27084. "type": "integer"
  27085. },
  27086. "tradedate": {
  27087. "description": "交易日",
  27088. "type": "string"
  27089. },
  27090. "updowncount": {
  27091. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27092. "type": "integer"
  27093. },
  27094. "updownflag": {
  27095. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27096. "type": "integer"
  27097. },
  27098. "updownrate": {
  27099. "description": "今日涨跌幅",
  27100. "type": "number"
  27101. },
  27102. "updownrate_2d": {
  27103. "description": "连续两日涨跌幅",
  27104. "type": "number"
  27105. },
  27106. "updownrate_3d": {
  27107. "description": "连续三日涨跌幅",
  27108. "type": "number"
  27109. }
  27110. }
  27111. },
  27112. "models.QhjScoreLog": {
  27113. "type": "object",
  27114. "properties": {
  27115. "accountid": {
  27116. "description": "账户ID",
  27117. "type": "integer"
  27118. },
  27119. "createtime": {
  27120. "description": "创建时间(时间)",
  27121. "type": "string"
  27122. },
  27123. "goodsid": {
  27124. "description": "商品ID",
  27125. "type": "integer"
  27126. },
  27127. "hasuploaded": {
  27128. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27129. "type": "integer"
  27130. },
  27131. "logid": {
  27132. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27133. "type": "string"
  27134. },
  27135. "marketid": {
  27136. "description": "市场ID",
  27137. "type": "integer"
  27138. },
  27139. "relatedamount": {
  27140. "description": "关联金额",
  27141. "type": "number"
  27142. },
  27143. "relatedorderid": {
  27144. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27145. "type": "string"
  27146. },
  27147. "scoreconfigvalue1": {
  27148. "description": "积分配置1",
  27149. "type": "integer"
  27150. },
  27151. "scoreconfigvalue2": {
  27152. "description": "积分配置1",
  27153. "type": "integer"
  27154. },
  27155. "scoretype": {
  27156. "description": "积分类型 - 1:提货积分",
  27157. "type": "integer"
  27158. },
  27159. "scorevalue": {
  27160. "description": "积分",
  27161. "type": "number"
  27162. },
  27163. "tradedate": {
  27164. "description": "交易日(yyyyMMdd)",
  27165. "type": "string"
  27166. },
  27167. "uploadedtime": {
  27168. "description": "同步时间",
  27169. "type": "string"
  27170. },
  27171. "userid": {
  27172. "description": "用户ID",
  27173. "type": "integer"
  27174. }
  27175. }
  27176. },
  27177. "models.QhjSiteColumnDetail": {
  27178. "type": "object",
  27179. "properties": {
  27180. "author": {
  27181. "description": "作者",
  27182. "type": "string"
  27183. },
  27184. "brief": {
  27185. "description": "简介",
  27186. "type": "string"
  27187. },
  27188. "columnid": {
  27189. "description": "所属栏目",
  27190. "type": "integer"
  27191. },
  27192. "context": {
  27193. "description": "内容",
  27194. "type": "string"
  27195. },
  27196. "coverimage": {
  27197. "description": "封面图片",
  27198. "type": "string"
  27199. },
  27200. "creaedate": {
  27201. "description": "创建时间",
  27202. "type": "string"
  27203. },
  27204. "creatorid": {
  27205. "description": "创建人",
  27206. "type": "integer"
  27207. },
  27208. "hits": {
  27209. "description": "点击数",
  27210. "type": "integer"
  27211. },
  27212. "id": {
  27213. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27214. "type": "integer"
  27215. },
  27216. "isshow": {
  27217. "description": "是否展示 - 0:不展示 1:展示",
  27218. "type": "integer"
  27219. },
  27220. "istop": {
  27221. "description": "是否置顶 - 0:不置 1:置顶",
  27222. "type": "integer"
  27223. },
  27224. "modifierid": {
  27225. "description": "操作人",
  27226. "type": "integer"
  27227. },
  27228. "publishdate": {
  27229. "description": "发布日期",
  27230. "type": "string"
  27231. },
  27232. "status": {
  27233. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27234. "type": "integer"
  27235. },
  27236. "title": {
  27237. "description": "标题",
  27238. "type": "string"
  27239. },
  27240. "updatedate": {
  27241. "description": "修改时间",
  27242. "type": "string"
  27243. },
  27244. "userid": {
  27245. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27246. "type": "integer"
  27247. },
  27248. "username": {
  27249. "description": "用户名称",
  27250. "type": "string"
  27251. }
  27252. }
  27253. },
  27254. "models.QhjTeamOrder": {
  27255. "type": "object",
  27256. "properties": {
  27257. "accountid": {
  27258. "description": "账户ID[报价币种]",
  27259. "type": "integer"
  27260. },
  27261. "accountname": {
  27262. "description": "账户名称",
  27263. "type": "string"
  27264. },
  27265. "agreeunit": {
  27266. "description": "合约乘数",
  27267. "type": "number"
  27268. },
  27269. "buyorsell": {
  27270. "description": "方向 - 0:买 1:卖",
  27271. "type": "integer"
  27272. },
  27273. "decimalplace": {
  27274. "description": "报价小数位",
  27275. "type": "integer"
  27276. },
  27277. "enumdicname": {
  27278. "description": "单位名称",
  27279. "type": "string"
  27280. },
  27281. "goodscode": {
  27282. "description": "商品代码(内部)",
  27283. "type": "string"
  27284. },
  27285. "goodsid": {
  27286. "description": "商品ID",
  27287. "type": "integer"
  27288. },
  27289. "goodsname": {
  27290. "description": "商品名称",
  27291. "type": "string"
  27292. },
  27293. "goodunitid": {
  27294. "description": "报价单位ID",
  27295. "type": "integer"
  27296. },
  27297. "marketid": {
  27298. "description": "市场ID",
  27299. "type": "integer"
  27300. },
  27301. "marketname": {
  27302. "description": "市场名称",
  27303. "type": "string"
  27304. },
  27305. "qtydecimalplace": {
  27306. "description": "成交量小数位",
  27307. "type": "integer"
  27308. },
  27309. "refereeuserid": {
  27310. "description": "推荐人ID",
  27311. "type": "integer"
  27312. },
  27313. "tradeamount": {
  27314. "description": "成交金额[账户币种,用于所有权]",
  27315. "type": "number"
  27316. },
  27317. "tradedate": {
  27318. "description": "交易日(yyyyMMdd)",
  27319. "type": "string"
  27320. },
  27321. "trademode": {
  27322. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27323. "type": "integer"
  27324. },
  27325. "tradeprice": {
  27326. "description": "成交价格",
  27327. "type": "number"
  27328. },
  27329. "tradeqty": {
  27330. "description": "成交数量",
  27331. "type": "number"
  27332. },
  27333. "tradetime": {
  27334. "description": "成交时间",
  27335. "type": "string"
  27336. },
  27337. "userid": {
  27338. "description": "用户ID",
  27339. "type": "integer"
  27340. }
  27341. }
  27342. },
  27343. "models.QhjTradeGoodsPickup": {
  27344. "type": "object",
  27345. "properties": {
  27346. "accountid": {
  27347. "description": "账户ID",
  27348. "type": "integer"
  27349. },
  27350. "address": {
  27351. "description": "提货人详细地址",
  27352. "type": "string"
  27353. },
  27354. "amount": {
  27355. "description": "提货金额",
  27356. "type": "number"
  27357. },
  27358. "artradedate": {
  27359. "description": "自动收货交易日(yyyyMMdd)",
  27360. "type": "string"
  27361. },
  27362. "auditer": {
  27363. "description": "审核人",
  27364. "type": "integer"
  27365. },
  27366. "auditsrc": {
  27367. "description": "更新来源 - 1:管理端 2:终端",
  27368. "type": "integer"
  27369. },
  27370. "audittime": {
  27371. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27372. "type": "string"
  27373. },
  27374. "audittradedate": {
  27375. "description": "审核交易日(yyyyMMdd)",
  27376. "type": "string"
  27377. },
  27378. "cardnum": {
  27379. "description": "提货人证件号码",
  27380. "type": "string"
  27381. },
  27382. "cardtypeid": {
  27383. "description": "提货人证件类型",
  27384. "type": "integer"
  27385. },
  27386. "checkremark": {
  27387. "description": "审核备注",
  27388. "type": "string"
  27389. },
  27390. "cityid": {
  27391. "description": "市",
  27392. "type": "integer"
  27393. },
  27394. "cityname": {
  27395. "description": "城市名称",
  27396. "type": "string"
  27397. },
  27398. "confirmtime": {
  27399. "description": "取货时间 或 收货时间",
  27400. "type": "string"
  27401. },
  27402. "countryid": {
  27403. "description": "国家",
  27404. "type": "integer"
  27405. },
  27406. "countryname": {
  27407. "description": "国家名称",
  27408. "type": "string"
  27409. },
  27410. "decimalplace": {
  27411. "description": "商品报价小数位",
  27412. "type": "integer"
  27413. },
  27414. "districtid": {
  27415. "description": "地区",
  27416. "type": "integer"
  27417. },
  27418. "districtname": {
  27419. "description": "地区名称",
  27420. "type": "string"
  27421. },
  27422. "enumdicname": {
  27423. "description": "单位名称(提货商品)",
  27424. "type": "string"
  27425. },
  27426. "expresscompany": {
  27427. "description": "物流公司",
  27428. "type": "string"
  27429. },
  27430. "expressnum": {
  27431. "description": "物流单号",
  27432. "type": "string"
  27433. },
  27434. "goodsagreeunit": {
  27435. "description": "交易商品乘数",
  27436. "type": "number"
  27437. },
  27438. "goodscode": {
  27439. "description": "商品代码",
  27440. "type": "string"
  27441. },
  27442. "goodsid": {
  27443. "description": "商品ID",
  27444. "type": "integer"
  27445. },
  27446. "goodsname": {
  27447. "description": "商品名称",
  27448. "type": "string"
  27449. },
  27450. "goodsqty": {
  27451. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27452. "type": "number"
  27453. },
  27454. "handlestatus": {
  27455. "description": "处理状态",
  27456. "type": "integer"
  27457. },
  27458. "logincode": {
  27459. "description": "账号(登录代码, 有可能为空)",
  27460. "type": "string"
  27461. },
  27462. "marketid": {
  27463. "description": "市场ID",
  27464. "type": "integer"
  27465. },
  27466. "phonenum": {
  27467. "description": "提货人联系方式",
  27468. "type": "string"
  27469. },
  27470. "pickupgoodsagreeunit": {
  27471. "description": "提货商品合约乘数",
  27472. "type": "number"
  27473. },
  27474. "pickupgoodsid": {
  27475. "description": "提货商品ID",
  27476. "type": "string"
  27477. },
  27478. "pickupgoodsname": {
  27479. "description": "提货商品名称",
  27480. "type": "string"
  27481. },
  27482. "pickupgoodsqty": {
  27483. "description": "提货商品手数(数量)",
  27484. "type": "number"
  27485. },
  27486. "pickupgoodsunitid": {
  27487. "description": "单位ID(提货商品)",
  27488. "type": "integer"
  27489. },
  27490. "pickupratio": {
  27491. "description": "提货系数",
  27492. "type": "number"
  27493. },
  27494. "preparedays": {
  27495. "description": "备货期(天)-提货单明细表",
  27496. "type": "integer"
  27497. },
  27498. "provinceid": {
  27499. "description": "省",
  27500. "type": "integer"
  27501. },
  27502. "provincename": {
  27503. "description": "省名称",
  27504. "type": "string"
  27505. },
  27506. "qty": {
  27507. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27508. "type": "number"
  27509. },
  27510. "qtydecimalplace": {
  27511. "description": "商品数量小数位",
  27512. "type": "integer"
  27513. },
  27514. "recivername": {
  27515. "description": "提货人姓名",
  27516. "type": "string"
  27517. },
  27518. "reqtime": {
  27519. "description": "提货申请时间",
  27520. "type": "string"
  27521. },
  27522. "storeuserid": {
  27523. "description": "门店用户ID (千海金)",
  27524. "type": "integer"
  27525. },
  27526. "storeusername": {
  27527. "description": "门店用户名称",
  27528. "type": "string"
  27529. },
  27530. "takemode": {
  27531. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27532. "type": "integer"
  27533. },
  27534. "takeorderid": {
  27535. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27536. "type": "string"
  27537. },
  27538. "takeorderstatus": {
  27539. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27540. "type": "integer"
  27541. },
  27542. "takeremark": {
  27543. "description": "提货备注",
  27544. "type": "string"
  27545. },
  27546. "tradedate": {
  27547. "description": "交易日(yyyyMMdd)",
  27548. "type": "string"
  27549. },
  27550. "updatetime": {
  27551. "description": "更新时间",
  27552. "type": "string"
  27553. },
  27554. "userid": {
  27555. "description": "用户ID",
  27556. "type": "integer"
  27557. },
  27558. "userinfotype": {
  27559. "description": "客户类型 1-个人 2-企业",
  27560. "type": "integer"
  27561. },
  27562. "username": {
  27563. "description": "用户名称",
  27564. "type": "string"
  27565. }
  27566. }
  27567. },
  27568. "models.QhjUserNodeCfgAndStatus": {
  27569. "type": "object",
  27570. "properties": {
  27571. "agreementcontent": {
  27572. "description": "协议内容",
  27573. "type": "string"
  27574. },
  27575. "agreementid": {
  27576. "description": "协议ID",
  27577. "type": "integer"
  27578. },
  27579. "agreementname": {
  27580. "description": "协议名称",
  27581. "type": "string"
  27582. },
  27583. "agreementno": {
  27584. "description": "协议编号",
  27585. "type": "string"
  27586. },
  27587. "agreementtype": {
  27588. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27589. "type": "integer"
  27590. },
  27591. "agreementversion": {
  27592. "description": "协议版本号",
  27593. "type": "integer"
  27594. },
  27595. "configid": {
  27596. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27597. "type": "integer"
  27598. },
  27599. "createtime": {
  27600. "description": "创建时间",
  27601. "type": "string"
  27602. },
  27603. "goodsid": {
  27604. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27605. "type": "integer"
  27606. },
  27607. "nodetype": {
  27608. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27609. "type": "integer"
  27610. },
  27611. "signtimestamp": {
  27612. "description": "签约状态时间戳(最近一次)",
  27613. "type": "string"
  27614. },
  27615. "tradedate": {
  27616. "description": "签约交易日(yyyyMMdd)",
  27617. "type": "string"
  27618. },
  27619. "userid": {
  27620. "description": "客户ID",
  27621. "type": "integer"
  27622. }
  27623. }
  27624. },
  27625. "models.Qhjgoodsex": {
  27626. "type": "object",
  27627. "properties": {
  27628. "canfinance": {
  27629. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27630. "type": "integer"
  27631. },
  27632. "canregularlybuy": {
  27633. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27634. "type": "integer"
  27635. },
  27636. "defaulttradeuserid": {
  27637. "description": "默认交易用户ID",
  27638. "type": "integer"
  27639. },
  27640. "deliverygoodsid": {
  27641. "description": "现货品种ID",
  27642. "type": "integer"
  27643. },
  27644. "goodsid": {
  27645. "description": "商品ID(自增ID SEQ_GOODS)",
  27646. "type": "integer"
  27647. },
  27648. "minamount": {
  27649. "description": "最小购买金额",
  27650. "type": "number"
  27651. },
  27652. "regularlybuyminamount": {
  27653. "description": "定投最小金额",
  27654. "type": "number"
  27655. },
  27656. "regularlybuyminqty": {
  27657. "description": "定投最小数量",
  27658. "type": "number"
  27659. },
  27660. "spotgoodsbrandid": {
  27661. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27662. "type": "integer"
  27663. },
  27664. "visibilityforenterprise": {
  27665. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27666. "type": "integer"
  27667. },
  27668. "visibilityforpersonal": {
  27669. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27670. "type": "integer"
  27671. },
  27672. "wrstandardid": {
  27673. "description": "现货商品ID",
  27674. "type": "integer"
  27675. }
  27676. }
  27677. },
  27678. "models.QueryErrorInfosRsp": {
  27679. "type": "object",
  27680. "required": [
  27681. "errorid"
  27682. ],
  27683. "properties": {
  27684. "description": {
  27685. "description": "异常描述",
  27686. "type": "string"
  27687. },
  27688. "errorcode": {
  27689. "description": "异常代码",
  27690. "type": "string"
  27691. },
  27692. "errorid": {
  27693. "description": "异常ID",
  27694. "type": "integer"
  27695. },
  27696. "modulecode": {
  27697. "description": "所属模块",
  27698. "type": "string"
  27699. },
  27700. "operatecode": {
  27701. "description": "所属操作",
  27702. "type": "string"
  27703. },
  27704. "rownumber": {
  27705. "description": "行号",
  27706. "type": "string"
  27707. }
  27708. }
  27709. },
  27710. "models.QueryHedgeOrderDetailRsp": {
  27711. "type": "object",
  27712. "properties": {
  27713. "accountid": {
  27714. "description": "账户ID",
  27715. "type": "integer"
  27716. },
  27717. "buyorsell": {
  27718. "description": "买卖 - 0:买 1:卖",
  27719. "type": "integer"
  27720. },
  27721. "cancellogincode": {
  27722. "description": "撤单人",
  27723. "type": "string"
  27724. },
  27725. "channelbuildtype": {
  27726. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  27727. "type": "integer"
  27728. },
  27729. "channelinnerorderstatus": {
  27730. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  27731. "type": "integer"
  27732. },
  27733. "channeloperatetype": {
  27734. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  27735. "type": "integer"
  27736. },
  27737. "closetype": {
  27738. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27739. "type": "integer"
  27740. },
  27741. "curexchangerate": {
  27742. "description": "当前汇率",
  27743. "type": "number"
  27744. },
  27745. "exchangefullname": {
  27746. "description": "外部交易所全称",
  27747. "type": "string"
  27748. },
  27749. "goodscode": {
  27750. "description": "商品代码(内部)",
  27751. "type": "string"
  27752. },
  27753. "goodsid": {
  27754. "description": "商品ID",
  27755. "type": "integer"
  27756. },
  27757. "goodsname": {
  27758. "description": "商品名称",
  27759. "type": "string"
  27760. },
  27761. "marketid": {
  27762. "description": "市场ID",
  27763. "type": "integer"
  27764. },
  27765. "openfreezemargin": {
  27766. "description": "冻结保证金(冻结交易金额)",
  27767. "type": "number"
  27768. },
  27769. "orderid": {
  27770. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27771. "type": "string"
  27772. },
  27773. "orderlogincode": {
  27774. "description": "委托人",
  27775. "type": "string"
  27776. },
  27777. "orderprice": {
  27778. "description": "委托价格(账户)",
  27779. "type": "number"
  27780. },
  27781. "orderqty": {
  27782. "description": "委托数量",
  27783. "type": "integer"
  27784. },
  27785. "ordertime": {
  27786. "description": "委托时间",
  27787. "type": "string"
  27788. },
  27789. "pricemode": {
  27790. "description": "取价方式 - 1:市价 2: 限价",
  27791. "type": "integer"
  27792. },
  27793. "tradedate": {
  27794. "description": "交易日(yyyyMMdd)",
  27795. "type": "string"
  27796. },
  27797. "tradeqty": {
  27798. "description": "成交数量",
  27799. "type": "integer"
  27800. }
  27801. }
  27802. },
  27803. "models.QueryHedgeTradeDetailRsp": {
  27804. "type": "object",
  27805. "properties": {
  27806. "accountid": {
  27807. "description": "账号ID",
  27808. "type": "integer"
  27809. },
  27810. "buyorsell": {
  27811. "description": "方向 - 0:买 1:卖",
  27812. "type": "integer"
  27813. },
  27814. "channelbuildtype": {
  27815. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27816. "type": "integer"
  27817. },
  27818. "closecharge": {
  27819. "description": "平仓手续费(账户)",
  27820. "type": "number"
  27821. },
  27822. "closecharge2": {
  27823. "description": "平仓手续费(商品)",
  27824. "type": "number"
  27825. },
  27826. "closepl": {
  27827. "description": "平仓盈亏(账户)",
  27828. "type": "number"
  27829. },
  27830. "closepl2": {
  27831. "description": "平仓盈亏(商品)",
  27832. "type": "number"
  27833. },
  27834. "closepl3": {
  27835. "description": "平仓盈亏(账户)(逐笔)",
  27836. "type": "number"
  27837. },
  27838. "closepl4": {
  27839. "description": "平仓盈亏(商品)(逐笔)",
  27840. "type": "number"
  27841. },
  27842. "closetype": {
  27843. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27844. "type": "integer"
  27845. },
  27846. "curexchangerate": {
  27847. "description": "当前汇率",
  27848. "type": "number"
  27849. },
  27850. "exchangefullname": {
  27851. "description": "外部交易所全称",
  27852. "type": "string"
  27853. },
  27854. "goodscode": {
  27855. "description": "商品代码(内部)",
  27856. "type": "string"
  27857. },
  27858. "goodsid": {
  27859. "description": "商品ID",
  27860. "type": "integer"
  27861. },
  27862. "goodsname": {
  27863. "description": "商品名称",
  27864. "type": "string"
  27865. },
  27866. "marketid": {
  27867. "description": "市场ID",
  27868. "type": "integer"
  27869. },
  27870. "opencharge": {
  27871. "description": "建仓手续费(账户)",
  27872. "type": "number"
  27873. },
  27874. "opencharge2": {
  27875. "description": "建仓手续费(商品)",
  27876. "type": "number"
  27877. },
  27878. "orderid": {
  27879. "description": "委托单号",
  27880. "type": "string"
  27881. },
  27882. "orderlogincode": {
  27883. "description": "委托人",
  27884. "type": "string"
  27885. },
  27886. "tradeamount": {
  27887. "description": "成交金额(账户)",
  27888. "type": "number"
  27889. },
  27890. "tradedate": {
  27891. "description": "交易日(yyyyMMdd)",
  27892. "type": "string"
  27893. },
  27894. "tradeid": {
  27895. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27896. "type": "string"
  27897. },
  27898. "tradeprice": {
  27899. "description": "成交价格",
  27900. "type": "number"
  27901. },
  27902. "tradeqty": {
  27903. "description": "成交数量",
  27904. "type": "integer"
  27905. },
  27906. "tradetime": {
  27907. "description": "成交时间",
  27908. "type": "string"
  27909. },
  27910. "tradetype": {
  27911. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  27912. "type": "integer"
  27913. }
  27914. }
  27915. },
  27916. "models.QuotePrimaryMenu": {
  27917. "type": "object",
  27918. "properties": {
  27919. "Index": {
  27920. "description": "序号",
  27921. "type": "integer"
  27922. },
  27923. "Key": {
  27924. "description": "键名",
  27925. "type": "string"
  27926. },
  27927. "Name": {
  27928. "description": "菜单名称",
  27929. "type": "string"
  27930. },
  27931. "SubMenus": {
  27932. "description": "子菜单",
  27933. "type": "array",
  27934. "items": {
  27935. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  27936. }
  27937. },
  27938. "SubTitleType": {
  27939. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  27940. "type": "integer"
  27941. },
  27942. "TradeModes": {
  27943. "description": "包含市场交易类型",
  27944. "type": "string"
  27945. }
  27946. }
  27947. },
  27948. "models.QuoteSecondaryMenu": {
  27949. "type": "object",
  27950. "properties": {
  27951. "ExExchangeCode": {
  27952. "description": "外部交易所代码",
  27953. "type": "string"
  27954. },
  27955. "ExExchangeID": {
  27956. "description": "外部交易所ID",
  27957. "type": "integer"
  27958. },
  27959. "GoodsGroupIDs": {
  27960. "description": "商品组ID列表",
  27961. "type": "array",
  27962. "items": {
  27963. "type": "integer"
  27964. }
  27965. },
  27966. "Index": {
  27967. "description": "序号",
  27968. "type": "integer"
  27969. },
  27970. "MarketID": {
  27971. "description": "市场ID",
  27972. "type": "integer"
  27973. },
  27974. "MenuTitle": {
  27975. "description": "菜单标题(市场名称或外部交易所名称)",
  27976. "type": "string"
  27977. },
  27978. "TradeMode": {
  27979. "description": "交易模式",
  27980. "type": "integer"
  27981. }
  27982. }
  27983. },
  27984. "models.RoleMenu": {
  27985. "type": "object",
  27986. "properties": {
  27987. "hasright": {
  27988. "description": "是否有权限 0-没有权限 1-有权限",
  27989. "type": "integer"
  27990. },
  27991. "iconame": {
  27992. "description": "菜单图标",
  27993. "type": "string"
  27994. },
  27995. "menutype": {
  27996. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  27997. "type": "integer"
  27998. },
  27999. "parentcode": {
  28000. "description": "上级资源代码",
  28001. "type": "string"
  28002. },
  28003. "remark": {
  28004. "description": "菜单备注",
  28005. "type": "string"
  28006. },
  28007. "resourcecode": {
  28008. "description": "菜单代码",
  28009. "type": "string"
  28010. },
  28011. "resourcelevel": {
  28012. "description": "级别",
  28013. "type": "integer"
  28014. },
  28015. "resourcename": {
  28016. "description": "菜单名称",
  28017. "type": "string"
  28018. },
  28019. "roleid": {
  28020. "description": "角色id",
  28021. "type": "integer"
  28022. },
  28023. "sort": {
  28024. "description": "排序",
  28025. "type": "integer"
  28026. },
  28027. "subMenu": {
  28028. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28029. "type": "array",
  28030. "items": {
  28031. "$ref": "#/definitions/models.RoleMenu"
  28032. }
  28033. },
  28034. "url": {
  28035. "description": "URL",
  28036. "type": "string"
  28037. },
  28038. "userid": {
  28039. "description": "用户id",
  28040. "type": "integer"
  28041. }
  28042. }
  28043. },
  28044. "models.SearchGoods": {
  28045. "type": "object",
  28046. "required": [
  28047. "goodscode",
  28048. "goodsid",
  28049. "goodsname",
  28050. "marketid",
  28051. "trademode"
  28052. ],
  28053. "properties": {
  28054. "goodscode": {
  28055. "description": "商品代码(内部)",
  28056. "type": "string"
  28057. },
  28058. "goodsid": {
  28059. "description": "商品ID(自增ID SEQ_GOODS)",
  28060. "type": "integer"
  28061. },
  28062. "goodsname": {
  28063. "description": "商品名称",
  28064. "type": "string"
  28065. },
  28066. "marketid": {
  28067. "description": "所属市场ID",
  28068. "type": "integer"
  28069. },
  28070. "marketname": {
  28071. "description": "市场名称",
  28072. "type": "string"
  28073. },
  28074. "trademode": {
  28075. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28076. "type": "integer"
  28077. }
  28078. }
  28079. },
  28080. "models.Systemparam": {
  28081. "type": "object",
  28082. "required": [
  28083. "paramcode"
  28084. ],
  28085. "properties": {
  28086. "loginid": {
  28087. "description": "更新用户账号,登录账号",
  28088. "type": "string"
  28089. },
  28090. "modifyflag": {
  28091. "description": "修改标志0 不允许修改 1 允许修改",
  28092. "type": "integer"
  28093. },
  28094. "paramcode": {
  28095. "description": "参数代码",
  28096. "type": "string"
  28097. },
  28098. "paramname": {
  28099. "description": "参数名",
  28100. "type": "string"
  28101. },
  28102. "paramtype": {
  28103. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28104. "type": "integer"
  28105. },
  28106. "paramvalue": {
  28107. "description": "参数值",
  28108. "type": "string"
  28109. },
  28110. "paramvalue2": {
  28111. "description": "参数值(CLOB)",
  28112. "type": "string"
  28113. },
  28114. "regexpress": {
  28115. "description": "正则表达式",
  28116. "type": "string"
  28117. },
  28118. "remark": {
  28119. "description": "备注",
  28120. "type": "string"
  28121. },
  28122. "serverip": {
  28123. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28124. "type": "string"
  28125. },
  28126. "showflag": {
  28127. "description": "是否显示0 不显示 1 显示",
  28128. "type": "integer"
  28129. },
  28130. "updatetime": {
  28131. "description": "更新时间",
  28132. "type": "string"
  28133. },
  28134. "userid": {
  28135. "description": "更新用户ID",
  28136. "type": "integer"
  28137. }
  28138. }
  28139. },
  28140. "models.Szdz3convertconfig": {
  28141. "type": "object",
  28142. "required": [
  28143. "converttype",
  28144. "innergoodsid",
  28145. "outergoodscode"
  28146. ],
  28147. "properties": {
  28148. "canin": {
  28149. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28150. "type": "integer"
  28151. },
  28152. "canout": {
  28153. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28154. "type": "integer"
  28155. },
  28156. "converttype": {
  28157. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28158. "type": "integer"
  28159. },
  28160. "createtime": {
  28161. "description": "创建时间",
  28162. "type": "string"
  28163. },
  28164. "creatorid": {
  28165. "description": "创建人",
  28166. "type": "integer"
  28167. },
  28168. "daymaxvalue": {
  28169. "description": "当日最大转入限制",
  28170. "type": "number"
  28171. },
  28172. "freezedays": {
  28173. "description": "冻结天数 [5:花生米转交易]",
  28174. "type": "integer"
  28175. },
  28176. "innergoodsid": {
  28177. "description": "内部商品ID[交易]",
  28178. "type": "integer"
  28179. },
  28180. "inratio": {
  28181. "description": "目标值",
  28182. "type": "integer"
  28183. },
  28184. "modifierid": {
  28185. "description": "修改人",
  28186. "type": "integer"
  28187. },
  28188. "modifytime": {
  28189. "description": "修改时间",
  28190. "type": "string"
  28191. },
  28192. "outergoodscode": {
  28193. "description": "外部商品代码[JD\\PD]",
  28194. "type": "string"
  28195. },
  28196. "outratio": {
  28197. "description": "源值",
  28198. "type": "integer"
  28199. },
  28200. "pddecimalplace": {
  28201. "description": "PD小数位",
  28202. "type": "integer"
  28203. },
  28204. "timemaxvalue": {
  28205. "description": "单次最大转入限制",
  28206. "type": "number"
  28207. },
  28208. "timeminvalue": {
  28209. "description": "单次最小转入限制",
  28210. "type": "number"
  28211. }
  28212. }
  28213. },
  28214. "models.Szdz3searchwhitelist": {
  28215. "type": "object",
  28216. "required": [
  28217. "userid"
  28218. ],
  28219. "properties": {
  28220. "createtime": {
  28221. "description": "创建时间",
  28222. "type": "string"
  28223. },
  28224. "creatorid": {
  28225. "description": "创建人",
  28226. "type": "integer"
  28227. },
  28228. "modifierid": {
  28229. "description": "修改人",
  28230. "type": "integer"
  28231. },
  28232. "modifytime": {
  28233. "description": "修改时间",
  28234. "type": "string"
  28235. },
  28236. "userid": {
  28237. "description": "用户ID",
  28238. "type": "integer"
  28239. }
  28240. }
  28241. },
  28242. "models.Taaccount": {
  28243. "type": "object",
  28244. "required": [
  28245. "accountid",
  28246. "userid"
  28247. ],
  28248. "properties": {
  28249. "accountflag": {
  28250. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28251. "type": "integer"
  28252. },
  28253. "accountid": {
  28254. "description": "资金账户ID",
  28255. "type": "integer"
  28256. },
  28257. "accountname": {
  28258. "description": "账户名称",
  28259. "type": "string"
  28260. },
  28261. "balance": {
  28262. "description": "期初余额",
  28263. "type": "number"
  28264. },
  28265. "capitalbalance": {
  28266. "description": "本金余额[外部子账户实际出入金余额]",
  28267. "type": "number"
  28268. },
  28269. "changeflag": {
  28270. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28271. "type": "integer"
  28272. },
  28273. "changetime": {
  28274. "description": "账户状态变更时间",
  28275. "type": "string"
  28276. },
  28277. "closepl": {
  28278. "description": "今日平仓盈亏",
  28279. "type": "number"
  28280. },
  28281. "creditdecrease": {
  28282. "description": "今日授信减少",
  28283. "type": "number"
  28284. },
  28285. "creditincrease": {
  28286. "description": "今日授信增加",
  28287. "type": "number"
  28288. },
  28289. "curamount": {
  28290. "description": "总市值(从持仓中统计)",
  28291. "type": "number"
  28292. },
  28293. "currencyid": {
  28294. "description": "货币ID",
  28295. "type": "integer"
  28296. },
  28297. "currentbalance": {
  28298. "description": "期末余额",
  28299. "type": "number"
  28300. },
  28301. "freezecharge": {
  28302. "description": "手续费冻结",
  28303. "type": "number"
  28304. },
  28305. "freezemargin": {
  28306. "description": "冻结保证金",
  28307. "type": "number"
  28308. },
  28309. "fromaccountid": {
  28310. "description": "所属上级账户",
  28311. "type": "integer"
  28312. },
  28313. "inamount": {
  28314. "description": "今日入金金额(包括三方入金)",
  28315. "type": "number"
  28316. },
  28317. "ismain": {
  28318. "description": "是否母账号 0:不是母账户 1:是母账户",
  28319. "type": "integer"
  28320. },
  28321. "ismarketaccount": {
  28322. "description": "是否机构接单账号 0:不是 1:是",
  28323. "type": "integer"
  28324. },
  28325. "isreckonaccount": {
  28326. "description": "是否机构分润账号 0:不是 1:是",
  28327. "type": "integer"
  28328. },
  28329. "mortgagecredit": {
  28330. "description": "授信金额",
  28331. "type": "number"
  28332. },
  28333. "orifreezecharge": {
  28334. "description": "期初手续费冻结",
  28335. "type": "number"
  28336. },
  28337. "orifreezemargin": {
  28338. "description": "期初冻结保证金",
  28339. "type": "number"
  28340. },
  28341. "orimortgagecredit": {
  28342. "description": "期初授信金额",
  28343. "type": "number"
  28344. },
  28345. "oriothercredit": {
  28346. "description": "期初其它授信金额",
  28347. "type": "number"
  28348. },
  28349. "oriotherfreezemargin": {
  28350. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28351. "type": "number"
  28352. },
  28353. "orioutamountfreeze": {
  28354. "description": "期初出金冻结",
  28355. "type": "number"
  28356. },
  28357. "oriusedmargin": {
  28358. "description": "期初占用保证金",
  28359. "type": "number"
  28360. },
  28361. "othercredit": {
  28362. "description": "其它授信金额",
  28363. "type": "number"
  28364. },
  28365. "othercreditdecrease": {
  28366. "description": "今日其它授信减少",
  28367. "type": "number"
  28368. },
  28369. "othercreditincrease": {
  28370. "description": "今日其它授信增加",
  28371. "type": "number"
  28372. },
  28373. "otherfreezemargin": {
  28374. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28375. "type": "number"
  28376. },
  28377. "otherincome": {
  28378. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28379. "type": "number"
  28380. },
  28381. "otherpay": {
  28382. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28383. "type": "number"
  28384. },
  28385. "outamount": {
  28386. "description": "今日出金金额(包括三方出金)",
  28387. "type": "number"
  28388. },
  28389. "outamountfreeze": {
  28390. "description": "出金冻结",
  28391. "type": "number"
  28392. },
  28393. "outthreshold": {
  28394. "description": "出金阈值",
  28395. "type": "number"
  28396. },
  28397. "parentaccountid": {
  28398. "description": "所属根账号",
  28399. "type": "integer"
  28400. },
  28401. "paycharge": {
  28402. "description": "今日手续费支出",
  28403. "type": "number"
  28404. },
  28405. "relatedaccountstatus": {
  28406. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28407. "type": "integer"
  28408. },
  28409. "relateduserid": {
  28410. "description": "关联用户",
  28411. "type": "integer"
  28412. },
  28413. "remainamount": {
  28414. "description": "融资额(从融资合同中统计)",
  28415. "type": "number"
  28416. },
  28417. "serivcegroup": {
  28418. "description": "服务分组",
  28419. "type": "integer"
  28420. },
  28421. "signstatus": {
  28422. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28423. "type": "integer"
  28424. },
  28425. "sublevelpath": {
  28426. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28427. "type": "string"
  28428. },
  28429. "taaccounttype": {
  28430. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28431. "type": "integer"
  28432. },
  28433. "thirdinamount": {
  28434. "description": "今日三方入金",
  28435. "type": "number"
  28436. },
  28437. "thirdoutamount": {
  28438. "description": "今日三方出金",
  28439. "type": "number"
  28440. },
  28441. "tradestatus": {
  28442. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28443. "type": "integer"
  28444. },
  28445. "tradestatuschangetime": {
  28446. "description": "激活时间",
  28447. "type": "string"
  28448. },
  28449. "transferamount": {
  28450. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28451. "type": "number"
  28452. },
  28453. "usedmargin": {
  28454. "description": "占用保证金",
  28455. "type": "number"
  28456. },
  28457. "userid": {
  28458. "description": "用户ID",
  28459. "type": "integer"
  28460. }
  28461. }
  28462. },
  28463. "models.Tablecolumnconfig": {
  28464. "type": "object",
  28465. "required": [
  28466. "autoid"
  28467. ],
  28468. "properties": {
  28469. "aligntype": {
  28470. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28471. "type": "integer"
  28472. },
  28473. "autoid": {
  28474. "description": "AutoID",
  28475. "type": "integer"
  28476. },
  28477. "columnfield": {
  28478. "description": "列字段",
  28479. "type": "string"
  28480. },
  28481. "columntitle": {
  28482. "description": "列Title",
  28483. "type": "string"
  28484. },
  28485. "columnwidth": {
  28486. "description": "列宽",
  28487. "type": "string"
  28488. },
  28489. "formatterstring": {
  28490. "description": "格式化字符",
  28491. "type": "string"
  28492. },
  28493. "formattertype": {
  28494. "description": "格式化类型",
  28495. "type": "string"
  28496. },
  28497. "groupname": {
  28498. "description": "表头分组名称",
  28499. "type": "string"
  28500. },
  28501. "isshow": {
  28502. "description": "是否显示 - 0:不显示 1:显示",
  28503. "type": "integer"
  28504. },
  28505. "needsummary": {
  28506. "description": "是否需要汇总 - 0:不需要 1:需要",
  28507. "type": "integer"
  28508. },
  28509. "orderindex": {
  28510. "description": "顺序",
  28511. "type": "integer"
  28512. },
  28513. "remark": {
  28514. "description": "备注",
  28515. "type": "string"
  28516. },
  28517. "summarytype": {
  28518. "description": "汇总类型 - 1:加总 2:最后一个",
  28519. "type": "integer"
  28520. },
  28521. "tablekey": {
  28522. "description": "列表Key",
  28523. "type": "string"
  28524. }
  28525. }
  28526. },
  28527. "models.UserCollectConfig": {
  28528. "type": "object",
  28529. "properties": {
  28530. "accountstatus": {
  28531. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28532. "type": "integer"
  28533. },
  28534. "collectaccountname": {
  28535. "description": "收款人账户名称",
  28536. "type": "string"
  28537. },
  28538. "collectaccountno": {
  28539. "description": "收款人账户",
  28540. "type": "string"
  28541. },
  28542. "collectbankname": {
  28543. "description": "收款人开户行",
  28544. "type": "string"
  28545. },
  28546. "collectbranchbankname": {
  28547. "description": "收款人开户支行",
  28548. "type": "string"
  28549. },
  28550. "collectconfigid": {
  28551. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28552. "type": "string"
  28553. },
  28554. "remark": {
  28555. "description": "备注",
  28556. "type": "string"
  28557. },
  28558. "userid": {
  28559. "description": "收款人用户ID",
  28560. "type": "integer"
  28561. }
  28562. }
  28563. },
  28564. "models.UserReceiveInfo": {
  28565. "type": "object",
  28566. "properties": {
  28567. "address": {
  28568. "description": "提货人详细地址",
  28569. "type": "string"
  28570. },
  28571. "autoid": {
  28572. "description": "AutoID",
  28573. "type": "integer"
  28574. },
  28575. "cardnum": {
  28576. "description": "证件号码(加密存储)",
  28577. "type": "string"
  28578. },
  28579. "cardtypeid": {
  28580. "description": "证件类型",
  28581. "type": "integer"
  28582. },
  28583. "cityid": {
  28584. "description": "市",
  28585. "type": "integer"
  28586. },
  28587. "cityname": {
  28588. "description": "城市名称",
  28589. "type": "string"
  28590. },
  28591. "countryid": {
  28592. "description": "国家",
  28593. "type": "integer"
  28594. },
  28595. "countryname": {
  28596. "description": "国家名称",
  28597. "type": "string"
  28598. },
  28599. "districtid": {
  28600. "description": "地区",
  28601. "type": "integer"
  28602. },
  28603. "districtname": {
  28604. "description": "地区名称",
  28605. "type": "string"
  28606. },
  28607. "hasencrypt": {
  28608. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28609. "type": "integer"
  28610. },
  28611. "isdefault": {
  28612. "description": "是否默认地址 - 0:否 1:是",
  28613. "type": "integer"
  28614. },
  28615. "phonenum": {
  28616. "description": "提货人联系方式(加密存储)",
  28617. "type": "string"
  28618. },
  28619. "provinceid": {
  28620. "description": "省",
  28621. "type": "integer"
  28622. },
  28623. "provincename": {
  28624. "description": "省名称",
  28625. "type": "string"
  28626. },
  28627. "receivername": {
  28628. "description": "提货人姓名",
  28629. "type": "string"
  28630. },
  28631. "takeremark": {
  28632. "description": "提货备注",
  28633. "type": "string"
  28634. },
  28635. "userid": {
  28636. "description": "用户ID",
  28637. "type": "integer"
  28638. }
  28639. }
  28640. },
  28641. "models.Useraccount": {
  28642. "type": "object",
  28643. "required": [
  28644. "userid"
  28645. ],
  28646. "properties": {
  28647. "accountname": {
  28648. "description": "账户名称(机构名称)",
  28649. "type": "string"
  28650. },
  28651. "accountstatus": {
  28652. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28653. "type": "integer"
  28654. },
  28655. "applysrc": {
  28656. "description": "申请来源 - 1:管理端 2:终端",
  28657. "type": "integer"
  28658. },
  28659. "auditremark": {
  28660. "description": "审核备注",
  28661. "type": "string"
  28662. },
  28663. "auditsrc": {
  28664. "description": "审核来源 - 1:管理端 2:终端",
  28665. "type": "integer"
  28666. },
  28667. "audittime": {
  28668. "description": "审核时间",
  28669. "type": "string"
  28670. },
  28671. "audituserid": {
  28672. "description": "审核人",
  28673. "type": "integer"
  28674. },
  28675. "broker": {
  28676. "description": "所属经纪人ID",
  28677. "type": "integer"
  28678. },
  28679. "canceltime": {
  28680. "description": "销户时间",
  28681. "type": "string"
  28682. },
  28683. "canceluserid": {
  28684. "description": "销户人",
  28685. "type": "integer"
  28686. },
  28687. "canrecommend": {
  28688. "description": "是否可推荐 - 0:不可 1;可",
  28689. "type": "integer"
  28690. },
  28691. "createtime": {
  28692. "description": "创建时间",
  28693. "type": "string"
  28694. },
  28695. "creatorid": {
  28696. "description": "创建人",
  28697. "type": "integer"
  28698. },
  28699. "hasauth": {
  28700. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28701. "type": "integer"
  28702. },
  28703. "isanonymous": {
  28704. "description": "是否匿名下单 - 0:否 1:是",
  28705. "type": "integer"
  28706. },
  28707. "maxinvestornum": {
  28708. "description": "最大用户数(经纪会员下投资者个数)",
  28709. "type": "integer"
  28710. },
  28711. "memberuserid": {
  28712. "description": "所属会员ID",
  28713. "type": "integer"
  28714. },
  28715. "modifierid": {
  28716. "description": "修改人",
  28717. "type": "integer"
  28718. },
  28719. "modifyremark": {
  28720. "description": "变更备注",
  28721. "type": "string"
  28722. },
  28723. "modifystatus": {
  28724. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28725. "type": "integer"
  28726. },
  28727. "modifytime": {
  28728. "description": "修改时间",
  28729. "type": "string"
  28730. },
  28731. "parenttopuser": {
  28732. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28733. "type": "string"
  28734. },
  28735. "parentuserid": {
  28736. "description": "所属机构ID",
  28737. "type": "integer"
  28738. },
  28739. "reckonaccountid": {
  28740. "description": "默认结算资金账号ID(机构分润使用) 作废",
  28741. "type": "integer"
  28742. },
  28743. "refercount": {
  28744. "description": "推荐总人数",
  28745. "type": "integer"
  28746. },
  28747. "refereeuserid": {
  28748. "description": "推荐人ID",
  28749. "type": "integer"
  28750. },
  28751. "refernum": {
  28752. "description": "推荐码",
  28753. "type": "string"
  28754. },
  28755. "rootuserid": {
  28756. "description": "根用户ID",
  28757. "type": "integer"
  28758. },
  28759. "subaccountlevel": {
  28760. "description": "子账户层数",
  28761. "type": "integer"
  28762. },
  28763. "subarealevelpath": {
  28764. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28765. "type": "string"
  28766. },
  28767. "userid": {
  28768. "description": "用户ID",
  28769. "type": "integer"
  28770. },
  28771. "usertype": {
  28772. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28773. "type": "integer"
  28774. }
  28775. }
  28776. },
  28777. "models.Userfavoritegoods": {
  28778. "type": "object",
  28779. "required": [
  28780. "goodsid"
  28781. ],
  28782. "properties": {
  28783. "goodsid": {
  28784. "description": "商品ID",
  28785. "type": "integer"
  28786. }
  28787. }
  28788. },
  28789. "models.Userinfo": {
  28790. "type": "object",
  28791. "required": [
  28792. "userid"
  28793. ],
  28794. "properties": {
  28795. "address": {
  28796. "description": "地址",
  28797. "type": "string"
  28798. },
  28799. "attachment1": {
  28800. "description": "附件1",
  28801. "type": "string"
  28802. },
  28803. "attachment2": {
  28804. "description": "附件2",
  28805. "type": "string"
  28806. },
  28807. "bankaccount": {
  28808. "description": "银行帐号 (加密存储)",
  28809. "type": "string"
  28810. },
  28811. "bankaccountname": {
  28812. "description": "收款人名称",
  28813. "type": "string"
  28814. },
  28815. "bankcardfrontphotourl": {
  28816. "description": "银行卡正面照地址",
  28817. "type": "string"
  28818. },
  28819. "bankid": {
  28820. "description": "银行编码",
  28821. "type": "string"
  28822. },
  28823. "bankname": {
  28824. "description": "银行名称",
  28825. "type": "string"
  28826. },
  28827. "biznature": {
  28828. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28829. "type": "integer"
  28830. },
  28831. "bizscope": {
  28832. "description": "企业经营范围(企业)",
  28833. "type": "string"
  28834. },
  28835. "cardbackphotourl": {
  28836. "description": "证件背面图片地址",
  28837. "type": "string"
  28838. },
  28839. "cardfrontphotourl": {
  28840. "description": "证件正面图片地址",
  28841. "type": "string"
  28842. },
  28843. "cardnum": {
  28844. "description": "证件号码(加密存储)",
  28845. "type": "string"
  28846. },
  28847. "cardtypeid": {
  28848. "description": "证件类型ID",
  28849. "type": "integer"
  28850. },
  28851. "cityid": {
  28852. "description": "市",
  28853. "type": "integer"
  28854. },
  28855. "company": {
  28856. "description": "公司(个人)",
  28857. "type": "string"
  28858. },
  28859. "contactname": {
  28860. "description": "联系人",
  28861. "type": "string"
  28862. },
  28863. "countryid": {
  28864. "description": "国家",
  28865. "type": "integer"
  28866. },
  28867. "createtime": {
  28868. "description": "创建时间",
  28869. "type": "string"
  28870. },
  28871. "creatorid": {
  28872. "description": "创建人",
  28873. "type": "integer"
  28874. },
  28875. "customername": {
  28876. "description": "客户名称(企业名称)",
  28877. "type": "string"
  28878. },
  28879. "districtid": {
  28880. "description": "地区",
  28881. "type": "integer"
  28882. },
  28883. "email": {
  28884. "description": "邮件(加密存储)",
  28885. "type": "string"
  28886. },
  28887. "fax": {
  28888. "description": "传真(加密存储)",
  28889. "type": "string"
  28890. },
  28891. "halfbodyphotourl": {
  28892. "description": "半身照地址",
  28893. "type": "string"
  28894. },
  28895. "hasencrypt": {
  28896. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28897. "type": "integer"
  28898. },
  28899. "headurl": {
  28900. "description": "头像地址",
  28901. "type": "string"
  28902. },
  28903. "legalcardbackphotourl": {
  28904. "description": "法人身份证背面照地址",
  28905. "type": "string"
  28906. },
  28907. "legalcardfrontphotourl": {
  28908. "description": "法人身份证正面照地址",
  28909. "type": "string"
  28910. },
  28911. "legalpersonname": {
  28912. "description": "法人姓名(企业)",
  28913. "type": "string"
  28914. },
  28915. "mobile": {
  28916. "description": "手机号码(加密存储)",
  28917. "type": "string"
  28918. },
  28919. "mobile2": {
  28920. "description": "手机号码[明文-尚志]",
  28921. "type": "string"
  28922. },
  28923. "modifierid": {
  28924. "description": "修改人",
  28925. "type": "integer"
  28926. },
  28927. "modifiertime": {
  28928. "description": "修改时间",
  28929. "type": "string"
  28930. },
  28931. "needinvoice": {
  28932. "description": "是否需要发票 - 0:不需要 1:需要",
  28933. "type": "integer"
  28934. },
  28935. "nickname": {
  28936. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  28937. "type": "string"
  28938. },
  28939. "openmode": {
  28940. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  28941. "type": "integer"
  28942. },
  28943. "otherurl": {
  28944. "description": "其它图片地址[使用分号分隔]",
  28945. "type": "string"
  28946. },
  28947. "postalcode": {
  28948. "description": "邮政编码",
  28949. "type": "string"
  28950. },
  28951. "provinceid": {
  28952. "description": "省",
  28953. "type": "integer"
  28954. },
  28955. "qq": {
  28956. "description": "QQ(加密存储",
  28957. "type": "string"
  28958. },
  28959. "remark": {
  28960. "description": "备注",
  28961. "type": "string"
  28962. },
  28963. "sex": {
  28964. "description": "用户性别 0: 女 1: 男",
  28965. "type": "integer"
  28966. },
  28967. "signpdfurl": {
  28968. "description": "签约pdf文件",
  28969. "type": "string"
  28970. },
  28971. "telphone": {
  28972. "description": "联系电话(加密存储)",
  28973. "type": "string"
  28974. },
  28975. "userid": {
  28976. "description": "用户ID",
  28977. "type": "integer"
  28978. },
  28979. "userinfotype": {
  28980. "description": "用户信息类型 - 1:个人 2:企业",
  28981. "type": "integer"
  28982. },
  28983. "userstatus": {
  28984. "description": "用户状态 - 1:正常 2:注销",
  28985. "type": "integer"
  28986. },
  28987. "usertype": {
  28988. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  28989. "type": "integer"
  28990. },
  28991. "wechat": {
  28992. "description": "微信(加密存储)",
  28993. "type": "string"
  28994. },
  28995. "wskhinfo": {
  28996. "description": "开户申请信息(JSON)",
  28997. "type": "string"
  28998. }
  28999. }
  29000. },
  29001. "models.WRSConverTDetail": {
  29002. "type": "object",
  29003. "properties": {
  29004. "convertratio": {
  29005. "description": "套保系数",
  29006. "type": "number"
  29007. },
  29008. "deliverygoodscode": {
  29009. "description": "现货商品代码",
  29010. "type": "string"
  29011. },
  29012. "deliverygoodsid": {
  29013. "description": "现货品种ID",
  29014. "type": "integer"
  29015. },
  29016. "deliverygoodsname": {
  29017. "description": "现货商品名称",
  29018. "type": "string"
  29019. },
  29020. "enumdicname": {
  29021. "description": "单位名称",
  29022. "type": "string"
  29023. },
  29024. "goodsunitid": {
  29025. "description": "套保品种单位id",
  29026. "type": "integer"
  29027. },
  29028. "middlegoodscode": {
  29029. "description": "套保品种代码",
  29030. "type": "string"
  29031. },
  29032. "middlegoodsid": {
  29033. "description": "套保品种ID",
  29034. "type": "integer"
  29035. },
  29036. "middlegoodsname": {
  29037. "description": "套保品种名称",
  29038. "type": "string"
  29039. },
  29040. "modifytime": {
  29041. "description": "修改时间",
  29042. "type": "string"
  29043. },
  29044. "wrstandardid": {
  29045. "description": "品类ID",
  29046. "type": "integer"
  29047. }
  29048. }
  29049. },
  29050. "models.WRStandardInfo": {
  29051. "type": "object",
  29052. "required": [
  29053. "wrstandardid"
  29054. ],
  29055. "properties": {
  29056. "areauserid": {
  29057. "description": "所属机构",
  29058. "type": "integer"
  29059. },
  29060. "convertfactor": {
  29061. "description": "标仓系数",
  29062. "type": "number"
  29063. },
  29064. "createtime": {
  29065. "description": "创建时间",
  29066. "type": "string"
  29067. },
  29068. "creatorid": {
  29069. "description": "创建人",
  29070. "type": "integer"
  29071. },
  29072. "deliverygoodsid": {
  29073. "description": "品种ID",
  29074. "type": "integer"
  29075. },
  29076. "deliverygoodsname": {
  29077. "description": "交割商品名称",
  29078. "type": "string"
  29079. },
  29080. "factoryitemjson": {
  29081. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29082. "type": "string"
  29083. },
  29084. "isvalid": {
  29085. "description": "是否有效 - 0:无效 1:有效",
  29086. "type": "integer"
  29087. },
  29088. "minivalue": {
  29089. "description": "最小变动值",
  29090. "type": "integer"
  29091. },
  29092. "minivaluedp": {
  29093. "description": "最小变动值小数位",
  29094. "type": "integer"
  29095. },
  29096. "realminivalue": {
  29097. "description": "实际最小变动值",
  29098. "type": "integer"
  29099. },
  29100. "realminivaluedp": {
  29101. "description": "实际最小变动值小数位",
  29102. "type": "integer"
  29103. },
  29104. "remark": {
  29105. "description": "备注",
  29106. "type": "string"
  29107. },
  29108. "unitid": {
  29109. "description": "单位ID",
  29110. "type": "integer"
  29111. },
  29112. "unitname": {
  29113. "description": "单位",
  29114. "type": "string"
  29115. },
  29116. "updatetime": {
  29117. "description": "更新时间",
  29118. "type": "string"
  29119. },
  29120. "updatorid": {
  29121. "description": "更新人",
  29122. "type": "integer"
  29123. },
  29124. "wrsstatus": {
  29125. "description": "状态 - 作废 - 0:未激活 1:正常",
  29126. "type": "integer"
  29127. },
  29128. "wrstandardcode": {
  29129. "description": "现货品类代码",
  29130. "type": "string"
  29131. },
  29132. "wrstandardid": {
  29133. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29134. "type": "integer"
  29135. },
  29136. "wrstandardname": {
  29137. "description": "现货品类名称",
  29138. "type": "string"
  29139. }
  29140. }
  29141. },
  29142. "models.Warehouseinfo": {
  29143. "type": "object",
  29144. "required": [
  29145. "autoid",
  29146. "warehousecode"
  29147. ],
  29148. "properties": {
  29149. "address": {
  29150. "description": "详细地址",
  29151. "type": "string"
  29152. },
  29153. "areauserid": {
  29154. "description": "所属机构",
  29155. "type": "integer"
  29156. },
  29157. "autoid": {
  29158. "description": "自增ID",
  29159. "type": "integer"
  29160. },
  29161. "cityid": {
  29162. "description": "市",
  29163. "type": "integer"
  29164. },
  29165. "contactname": {
  29166. "description": "联系人",
  29167. "type": "string"
  29168. },
  29169. "contactnum": {
  29170. "description": "联系电话",
  29171. "type": "string"
  29172. },
  29173. "countryid": {
  29174. "description": "国家",
  29175. "type": "integer"
  29176. },
  29177. "createtime": {
  29178. "description": "创建时间",
  29179. "type": "string"
  29180. },
  29181. "districtid": {
  29182. "description": "区",
  29183. "type": "integer"
  29184. },
  29185. "hasvideo": {
  29186. "description": "是否有视频 - 0:无 1:有",
  29187. "type": "integer"
  29188. },
  29189. "provinceid": {
  29190. "description": "省",
  29191. "type": "integer"
  29192. },
  29193. "remark": {
  29194. "description": "审核备注",
  29195. "type": "string"
  29196. },
  29197. "videourl": {
  29198. "description": "视频地址",
  29199. "type": "string"
  29200. },
  29201. "warehousecode": {
  29202. "description": "仓库代码",
  29203. "type": "string"
  29204. },
  29205. "warehousename": {
  29206. "description": "仓库名称",
  29207. "type": "string"
  29208. },
  29209. "warehousestatus": {
  29210. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29211. "type": "integer"
  29212. },
  29213. "warehousetype": {
  29214. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29215. "type": "integer"
  29216. }
  29217. }
  29218. },
  29219. "models.WrGoodsInfo": {
  29220. "type": "object",
  29221. "properties": {
  29222. "haswr": {
  29223. "description": "0:仓单预售 1:仓单贸易",
  29224. "type": "integer"
  29225. },
  29226. "lstitem": {
  29227. "description": "商品信息项",
  29228. "type": "array",
  29229. "items": {
  29230. "$ref": "#/definitions/models.WrTypeItem"
  29231. }
  29232. },
  29233. "lststep": {
  29234. "description": "履约规则",
  29235. "type": "array",
  29236. "items": {
  29237. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29238. }
  29239. },
  29240. "marketid": {
  29241. "description": "市场id",
  29242. "type": "integer"
  29243. }
  29244. }
  29245. },
  29246. "models.WrGoodsPerformanceStep": {
  29247. "type": "object",
  29248. "properties": {
  29249. "autoid": {
  29250. "description": "AutoID",
  29251. "type": "integer"
  29252. },
  29253. "isauto": {
  29254. "description": "是否自动 - 0:不自动 1:自动",
  29255. "type": "integer"
  29256. },
  29257. "remark": {
  29258. "description": "备注",
  29259. "type": "string"
  29260. },
  29261. "stepdate": {
  29262. "description": "天数信息(T+N)",
  29263. "type": "string"
  29264. },
  29265. "stepdays": {
  29266. "description": "距离上一步天数",
  29267. "type": "integer"
  29268. },
  29269. "stepindex": {
  29270. "description": "步骤序号",
  29271. "type": "integer"
  29272. },
  29273. "stepinfo": {
  29274. "description": "步骤信息(步骤名称+步骤值)",
  29275. "type": "string"
  29276. },
  29277. "steptypeid": {
  29278. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29279. "type": "integer"
  29280. },
  29281. "steptypename": {
  29282. "description": "步骤名称",
  29283. "type": "string"
  29284. },
  29285. "stepvalue": {
  29286. "description": "步骤值",
  29287. "type": "number"
  29288. },
  29289. "templateid": {
  29290. "description": "履约计划模板ID",
  29291. "type": "integer"
  29292. }
  29293. }
  29294. },
  29295. "models.WrOrderDetail": {
  29296. "type": "object",
  29297. "properties": {
  29298. "buyorsell": {
  29299. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29300. "type": "integer"
  29301. },
  29302. "cancelqty": {
  29303. "description": "撤销数量",
  29304. "type": "number"
  29305. },
  29306. "deliverygoodscode": {
  29307. "description": "品种代码",
  29308. "type": "string"
  29309. },
  29310. "deliverygoodsid": {
  29311. "description": "品种ID",
  29312. "type": "integer"
  29313. },
  29314. "deliverygoodsname": {
  29315. "description": "品种名称",
  29316. "type": "string"
  29317. },
  29318. "deliverymonth": {
  29319. "description": "交收月",
  29320. "type": "string"
  29321. },
  29322. "enumdicname": {
  29323. "description": "单位名称",
  29324. "type": "string"
  29325. },
  29326. "fixedprice": {
  29327. "description": "固定价格 - [挂牌]",
  29328. "type": "number"
  29329. },
  29330. "futupricemove": {
  29331. "description": "期货升贴水",
  29332. "type": "number"
  29333. },
  29334. "futushow": {
  29335. "description": "期货合约/升贴水",
  29336. "type": "string"
  29337. },
  29338. "goodscode": {
  29339. "description": "期货合约",
  29340. "type": "string"
  29341. },
  29342. "goodsid": {
  29343. "description": "期货商品id",
  29344. "type": "integer"
  29345. },
  29346. "haswr": {
  29347. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29348. "type": "integer"
  29349. },
  29350. "marketid": {
  29351. "description": "市场ID",
  29352. "type": "integer"
  29353. },
  29354. "optioncompare": {
  29355. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29356. "type": "string"
  29357. },
  29358. "orderqty": {
  29359. "description": "委托数量",
  29360. "type": "number"
  29361. },
  29362. "ordertime": {
  29363. "description": "委托时间(挂牌时间)",
  29364. "type": "string"
  29365. },
  29366. "pricemove": {
  29367. "description": "升贴水(浮动价时填写) - [挂牌]",
  29368. "type": "number"
  29369. },
  29370. "tradedate": {
  29371. "description": "交易日(yyyyMMdd)",
  29372. "type": "string"
  29373. },
  29374. "tradeprice": {
  29375. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29376. "type": "number"
  29377. },
  29378. "tradeqty": {
  29379. "description": "成交数量",
  29380. "type": "number"
  29381. },
  29382. "userid": {
  29383. "description": "用户ID",
  29384. "type": "integer"
  29385. },
  29386. "warehouseid": {
  29387. "description": "仓库ID",
  29388. "type": "integer"
  29389. },
  29390. "warehousename": {
  29391. "description": "仓库名称",
  29392. "type": "string"
  29393. },
  29394. "wrfactortypeid": {
  29395. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29396. "type": "integer"
  29397. },
  29398. "wrfactortypename": {
  29399. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29400. "type": "string"
  29401. },
  29402. "wrpricetype": {
  29403. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29404. "type": "integer"
  29405. },
  29406. "wrstandardcode": {
  29407. "description": "现货商品代码",
  29408. "type": "string"
  29409. },
  29410. "wrstandardid": {
  29411. "description": "现货商品ID",
  29412. "type": "integer"
  29413. },
  29414. "wrstandardname": {
  29415. "description": "商品名称",
  29416. "type": "string"
  29417. },
  29418. "wrtradeorderid": {
  29419. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29420. "type": "string"
  29421. },
  29422. "wrtradeorderstatus": {
  29423. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29424. "type": "integer"
  29425. },
  29426. "wrtradetype": {
  29427. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29428. "type": "integer"
  29429. },
  29430. "wrtypename": {
  29431. "description": "商品",
  29432. "type": "string"
  29433. }
  29434. }
  29435. },
  29436. "models.WrOrderQuote": {
  29437. "type": "object",
  29438. "properties": {
  29439. "buyprice": {
  29440. "description": "买价",
  29441. "type": "number"
  29442. },
  29443. "buypricemove": {
  29444. "description": "买升贴水(基差)",
  29445. "type": "number"
  29446. },
  29447. "buyqty": {
  29448. "description": "买量",
  29449. "type": "number"
  29450. },
  29451. "deliverygoodscode": {
  29452. "description": "品种代码",
  29453. "type": "string"
  29454. },
  29455. "deliverygoodsid": {
  29456. "description": "品种id",
  29457. "type": "integer"
  29458. },
  29459. "deliverygoodsname": {
  29460. "description": "品种名称",
  29461. "type": "string"
  29462. },
  29463. "goodscode": {
  29464. "description": "商品合约(浮动价列表才有)",
  29465. "type": "string"
  29466. },
  29467. "goodsid": {
  29468. "description": "商品id(浮动价列表才有)",
  29469. "type": "integer"
  29470. },
  29471. "sellprice": {
  29472. "description": "卖价",
  29473. "type": "number"
  29474. },
  29475. "sellpricemove": {
  29476. "description": "卖升贴水(基差)",
  29477. "type": "number"
  29478. },
  29479. "sellqty": {
  29480. "description": "卖量",
  29481. "type": "number"
  29482. },
  29483. "warehousecode": {
  29484. "description": "仓库代码",
  29485. "type": "string"
  29486. },
  29487. "warehouseid": {
  29488. "description": "仓库id",
  29489. "type": "integer"
  29490. },
  29491. "warehousename": {
  29492. "description": "仓库名称",
  29493. "type": "string"
  29494. },
  29495. "wrfactortypeid": {
  29496. "description": "仓单要素id",
  29497. "type": "integer"
  29498. },
  29499. "wrfactortypename": {
  29500. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29501. "type": "string"
  29502. },
  29503. "wrgoodsname": {
  29504. "description": "商品(商品名称+仓库要素名称 拼接)",
  29505. "type": "string"
  29506. },
  29507. "wrstandardcode": {
  29508. "description": "商品代码",
  29509. "type": "string"
  29510. },
  29511. "wrstandardid": {
  29512. "description": "商品id",
  29513. "type": "integer"
  29514. },
  29515. "wrstandardname": {
  29516. "description": "商品名称",
  29517. "type": "string"
  29518. }
  29519. }
  29520. },
  29521. "models.WrOrderQuoteDetail": {
  29522. "type": "object",
  29523. "properties": {
  29524. "buyorsell": {
  29525. "description": "买卖 - 0:买 1:卖",
  29526. "type": "integer"
  29527. },
  29528. "fixedprice": {
  29529. "description": "买(卖)价",
  29530. "type": "number"
  29531. },
  29532. "orderqty": {
  29533. "description": "买(卖)量(=委托量-成交量)",
  29534. "type": "number"
  29535. },
  29536. "pricemove": {
  29537. "description": "买(卖)升贴水- 基差",
  29538. "type": "number"
  29539. },
  29540. "userid": {
  29541. "description": "购买方(销售方)用户ID",
  29542. "type": "integer"
  29543. },
  29544. "username": {
  29545. "description": "购买方(销售方)",
  29546. "type": "string"
  29547. },
  29548. "wrtradeorderid": {
  29549. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29550. "type": "string"
  29551. }
  29552. }
  29553. },
  29554. "models.WrPosition": {
  29555. "type": "object",
  29556. "properties": {
  29557. "accountid": {
  29558. "description": "帐户ID",
  29559. "type": "integer"
  29560. },
  29561. "buyexcuteqty": {
  29562. "description": "采购履约中数量",
  29563. "type": "number"
  29564. },
  29565. "creditcurqty": {
  29566. "description": "授信当前数量(预售仓单:预售当前量)",
  29567. "type": "number"
  29568. },
  29569. "creditenableqty": {
  29570. "description": "授信可用数量(预售仓单: 可用数量)",
  29571. "type": "number"
  29572. },
  29573. "creditfreezeqty": {
  29574. "description": "授信冻结数量(预售仓单: 当前数量)",
  29575. "type": "number"
  29576. },
  29577. "credittotalqty": {
  29578. "description": "授信总数量(预售仓单:预售总量)",
  29579. "type": "number"
  29580. },
  29581. "credittradeqty": {
  29582. "description": "授信成交数量(预售仓单:成交总量)",
  29583. "type": "number"
  29584. },
  29585. "deliverygoodscode": {
  29586. "description": "品种代码",
  29587. "type": "string"
  29588. },
  29589. "deliverygoodsid": {
  29590. "description": "品种ID",
  29591. "type": "integer"
  29592. },
  29593. "deliverygoodsname": {
  29594. "description": "品种名称",
  29595. "type": "string"
  29596. },
  29597. "enalbeqty": {
  29598. "description": "可用数量",
  29599. "type": "number"
  29600. },
  29601. "enumdicname": {
  29602. "description": "单位名称",
  29603. "type": "string"
  29604. },
  29605. "freezeqty": {
  29606. "description": "总冻结数量",
  29607. "type": "number"
  29608. },
  29609. "modifytime": {
  29610. "description": "修改时间(过户时间)",
  29611. "type": "string"
  29612. },
  29613. "optioncompare": {
  29614. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29615. "type": "string"
  29616. },
  29617. "pledgeqty": {
  29618. "description": "质押数量",
  29619. "type": "number"
  29620. },
  29621. "querytype": {
  29622. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细",
  29623. "type": "integer"
  29624. },
  29625. "sellexcuteqty": {
  29626. "description": "销售履约中数量",
  29627. "type": "number"
  29628. },
  29629. "totalqty": {
  29630. "description": "总数量(库存数量)",
  29631. "type": "number"
  29632. },
  29633. "warehouseid": {
  29634. "description": "仓库ID",
  29635. "type": "integer"
  29636. },
  29637. "warehousename": {
  29638. "description": "仓库名称",
  29639. "type": "string"
  29640. },
  29641. "wrfactortypeid": {
  29642. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29643. "type": "integer"
  29644. },
  29645. "wrfactortypename": {
  29646. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29647. "type": "string"
  29648. },
  29649. "wrpositionid": {
  29650. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  29651. "type": "integer"
  29652. },
  29653. "wrpositionno": {
  29654. "description": "仓单编号",
  29655. "type": "string"
  29656. },
  29657. "wrstandardcode": {
  29658. "description": "现货商品代码",
  29659. "type": "string"
  29660. },
  29661. "wrstandardid": {
  29662. "description": "现货商品ID",
  29663. "type": "integer"
  29664. },
  29665. "wrstandardname": {
  29666. "description": "商品名称",
  29667. "type": "string"
  29668. },
  29669. "wrtypename": {
  29670. "description": "商品",
  29671. "type": "string"
  29672. },
  29673. "wruserid": {
  29674. "description": "持有人ID",
  29675. "type": "integer"
  29676. }
  29677. }
  29678. },
  29679. "models.WrSpecialMatchOrder": {
  29680. "type": "object",
  29681. "properties": {
  29682. "amount": {
  29683. "description": "金额 = 数量 * 价格",
  29684. "type": "number"
  29685. },
  29686. "buyorsell": {
  29687. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29688. "type": "integer"
  29689. },
  29690. "cancelqty": {
  29691. "description": "撤销数量",
  29692. "type": "number"
  29693. },
  29694. "deliverygoodscode": {
  29695. "description": "品种代码",
  29696. "type": "string"
  29697. },
  29698. "deliverygoodsid": {
  29699. "description": "品种ID",
  29700. "type": "integer"
  29701. },
  29702. "deliverygoodsname": {
  29703. "description": "品种名称",
  29704. "type": "string"
  29705. },
  29706. "enumdicname": {
  29707. "description": "单位名称",
  29708. "type": "string"
  29709. },
  29710. "fixedprice": {
  29711. "description": "固定价格(价格)",
  29712. "type": "number"
  29713. },
  29714. "haswr": {
  29715. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29716. "type": "integer"
  29717. },
  29718. "marketid": {
  29719. "description": "市场ID",
  29720. "type": "integer"
  29721. },
  29722. "matchuserid": {
  29723. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  29724. "type": "integer"
  29725. },
  29726. "matchusername": {
  29727. "description": "指定方",
  29728. "type": "string"
  29729. },
  29730. "optioncompare": {
  29731. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29732. "type": "string"
  29733. },
  29734. "orderqty": {
  29735. "description": "委托数量",
  29736. "type": "number"
  29737. },
  29738. "ordertime": {
  29739. "description": "委托时间",
  29740. "type": "string"
  29741. },
  29742. "pricemove": {
  29743. "description": "升贴水(浮动价时填写) - [挂牌]",
  29744. "type": "number"
  29745. },
  29746. "tradedate": {
  29747. "description": "交易日(yyyyMMdd)",
  29748. "type": "string"
  29749. },
  29750. "tradeprice": {
  29751. "description": "成交价格",
  29752. "type": "number"
  29753. },
  29754. "tradeqty": {
  29755. "description": "成交数量",
  29756. "type": "number"
  29757. },
  29758. "userid": {
  29759. "description": "用户ID",
  29760. "type": "integer"
  29761. },
  29762. "username": {
  29763. "description": "发起方",
  29764. "type": "string"
  29765. },
  29766. "warehouseid": {
  29767. "description": "仓库ID",
  29768. "type": "integer"
  29769. },
  29770. "warehousename": {
  29771. "description": "仓库名称",
  29772. "type": "string"
  29773. },
  29774. "wrfactortypeid": {
  29775. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29776. "type": "integer"
  29777. },
  29778. "wrfactortypename": {
  29779. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29780. "type": "string"
  29781. },
  29782. "wrpricetype": {
  29783. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29784. "type": "integer"
  29785. },
  29786. "wrstandardcode": {
  29787. "description": "现货商品代码",
  29788. "type": "string"
  29789. },
  29790. "wrstandardid": {
  29791. "description": "现货商品ID",
  29792. "type": "integer"
  29793. },
  29794. "wrstandardname": {
  29795. "description": "商品名称",
  29796. "type": "string"
  29797. },
  29798. "wrtradeorderid": {
  29799. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29800. "type": "string"
  29801. },
  29802. "wrtradeorderstatus": {
  29803. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29804. "type": "integer"
  29805. },
  29806. "wrtradetype": {
  29807. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29808. "type": "integer"
  29809. },
  29810. "wrtypename": {
  29811. "description": "商品",
  29812. "type": "string"
  29813. }
  29814. }
  29815. },
  29816. "models.WrTradeDetail": {
  29817. "type": "object",
  29818. "properties": {
  29819. "accountid": {
  29820. "description": "资金账号",
  29821. "type": "integer"
  29822. },
  29823. "buyorsell": {
  29824. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29825. "type": "integer"
  29826. },
  29827. "deliverygoodscode": {
  29828. "description": "品种代码",
  29829. "type": "string"
  29830. },
  29831. "deliverygoodsid": {
  29832. "description": "品种ID",
  29833. "type": "integer"
  29834. },
  29835. "deliverygoodsname": {
  29836. "description": "品种名称",
  29837. "type": "string"
  29838. },
  29839. "deliverymonth": {
  29840. "description": "交收月",
  29841. "type": "string"
  29842. },
  29843. "enumdicname": {
  29844. "description": "单位名称",
  29845. "type": "string"
  29846. },
  29847. "haswr": {
  29848. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29849. "type": "integer"
  29850. },
  29851. "marketid": {
  29852. "description": "市场ID",
  29853. "type": "integer"
  29854. },
  29855. "matchaccountid": {
  29856. "description": "对手账号",
  29857. "type": "integer"
  29858. },
  29859. "matchusername": {
  29860. "description": "对手方",
  29861. "type": "string"
  29862. },
  29863. "optioncompare": {
  29864. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29865. "type": "string"
  29866. },
  29867. "tradedate": {
  29868. "description": "交易日(yyyyMMdd)",
  29869. "type": "string"
  29870. },
  29871. "tradeprice": {
  29872. "description": "成交价格",
  29873. "type": "number"
  29874. },
  29875. "tradeqty": {
  29876. "description": "成交数量",
  29877. "type": "number"
  29878. },
  29879. "tradetime": {
  29880. "description": "成交时间",
  29881. "type": "string"
  29882. },
  29883. "userid": {
  29884. "description": "用户ID",
  29885. "type": "integer"
  29886. },
  29887. "warehouseid": {
  29888. "description": "仓库ID",
  29889. "type": "integer"
  29890. },
  29891. "warehousename": {
  29892. "description": "仓库名称",
  29893. "type": "string"
  29894. },
  29895. "wrfactortypeid": {
  29896. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29897. "type": "integer"
  29898. },
  29899. "wrfactortypename": {
  29900. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29901. "type": "string"
  29902. },
  29903. "wrstandardcode": {
  29904. "description": "现货商品代码",
  29905. "type": "string"
  29906. },
  29907. "wrstandardid": {
  29908. "description": "现货商品ID",
  29909. "type": "integer"
  29910. },
  29911. "wrstandardname": {
  29912. "description": "商品名称",
  29913. "type": "string"
  29914. },
  29915. "wrtradedetailid": {
  29916. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  29917. "type": "string"
  29918. },
  29919. "wrtradetype": {
  29920. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29921. "type": "integer"
  29922. },
  29923. "wrtypename": {
  29924. "description": "商品",
  29925. "type": "string"
  29926. }
  29927. }
  29928. },
  29929. "models.WrTypeItem": {
  29930. "type": "object",
  29931. "properties": {
  29932. "name": {
  29933. "description": "名称",
  29934. "type": "string"
  29935. },
  29936. "value": {
  29937. "description": "值",
  29938. "type": "string"
  29939. }
  29940. }
  29941. },
  29942. "order.QueryHisTradeDetailRsp": {
  29943. "type": "object",
  29944. "required": [
  29945. "accountid",
  29946. "buyorsell",
  29947. "goodsid",
  29948. "histradedate",
  29949. "marketid",
  29950. "memberuserid",
  29951. "orderid",
  29952. "tradeamount",
  29953. "tradedate",
  29954. "tradeid",
  29955. "tradeprice",
  29956. "tradeqty",
  29957. "tradetime"
  29958. ],
  29959. "properties": {
  29960. "accountid": {
  29961. "description": "账户ID[报价币种]",
  29962. "type": "integer"
  29963. },
  29964. "advanceratio": {
  29965. "description": "首付比率",
  29966. "type": "number"
  29967. },
  29968. "buildtype": {
  29969. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  29970. "type": "integer"
  29971. },
  29972. "buyorsell": {
  29973. "description": "方向 - 0:买 1:卖",
  29974. "type": "integer"
  29975. },
  29976. "charge": {
  29977. "description": "手续费",
  29978. "type": "number"
  29979. },
  29980. "closecharge": {
  29981. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  29982. "type": "number"
  29983. },
  29984. "closeexchagechargevalue": {
  29985. "description": "平仓交易所手续费设置值",
  29986. "type": "number"
  29987. },
  29988. "closefeealgorithm": {
  29989. "description": "平仓手续费收取方式 1:比率 2:固定",
  29990. "type": "integer"
  29991. },
  29992. "closememberchargevalue": {
  29993. "description": "平仓会员手续费设置值",
  29994. "type": "number"
  29995. },
  29996. "closepl": {
  29997. "description": "平仓盈亏",
  29998. "type": "number"
  29999. },
  30000. "closepl2": {
  30001. "description": "平仓盈亏[逐笔]",
  30002. "type": "number"
  30003. },
  30004. "closeqty": {
  30005. "description": "平仓数量(先建后平操作 需要记录)",
  30006. "type": "number"
  30007. },
  30008. "creditamount": {
  30009. "description": "授信金额",
  30010. "type": "number"
  30011. },
  30012. "decimalplace": {
  30013. "description": "商品报价小数位",
  30014. "type": "integer"
  30015. },
  30016. "enumdicname": {
  30017. "description": "单位名称",
  30018. "type": "string"
  30019. },
  30020. "gcaccountid": {
  30021. "description": "账户ID[合约币种]",
  30022. "type": "integer"
  30023. },
  30024. "goodscode": {
  30025. "description": "商品代码",
  30026. "type": "string"
  30027. },
  30028. "goodsid": {
  30029. "description": "商品ID",
  30030. "type": "integer"
  30031. },
  30032. "goodsname": {
  30033. "description": "商品名称",
  30034. "type": "string"
  30035. },
  30036. "goodunitid": {
  30037. "description": "商品单位id",
  30038. "type": "integer"
  30039. },
  30040. "histradedate": {
  30041. "description": "历史交易日",
  30042. "type": "string"
  30043. },
  30044. "intclosepl": {
  30045. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30046. "type": "integer"
  30047. },
  30048. "isconfirmexercise": {
  30049. "description": "是否确认行权- 0:否 1:是",
  30050. "type": "integer"
  30051. },
  30052. "ismain": {
  30053. "description": "是否主单 - 0:不是 1:是",
  30054. "type": "integer"
  30055. },
  30056. "ispreexercise": {
  30057. "description": "是否预申报- 0:否 1:是",
  30058. "type": "integer"
  30059. },
  30060. "isreckoned": {
  30061. "description": "是否结算 - 0:未结算 1:已结算",
  30062. "type": "integer"
  30063. },
  30064. "isvaliddata": {
  30065. "description": "是否有效 - 0:无效 1:有效",
  30066. "type": "integer"
  30067. },
  30068. "listingselecttype": {
  30069. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30070. "type": "integer"
  30071. },
  30072. "marketid": {
  30073. "description": "市场ID",
  30074. "type": "integer"
  30075. },
  30076. "marketname": {
  30077. "description": "市场名称",
  30078. "type": "string"
  30079. },
  30080. "matchaccountid": {
  30081. "description": "对手账号id",
  30082. "type": "integer"
  30083. },
  30084. "memberuserid": {
  30085. "description": "会员id 个人投资者 需要填写",
  30086. "type": "integer"
  30087. },
  30088. "opencharge": {
  30089. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30090. "type": "number"
  30091. },
  30092. "openexchagechargevalue": {
  30093. "description": "建仓交易所手续费设置值",
  30094. "type": "number"
  30095. },
  30096. "openfeealgorithm": {
  30097. "description": "建仓手续费收取方式 1:比率 2:固定",
  30098. "type": "integer"
  30099. },
  30100. "openmemberchargevalue": {
  30101. "description": "建仓会员手续费设置值",
  30102. "type": "number"
  30103. },
  30104. "openqty": {
  30105. "description": "开仓数量(先建后平操作 需要记录)",
  30106. "type": "number"
  30107. },
  30108. "optiontype": {
  30109. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30110. "type": "integer"
  30111. },
  30112. "orderid": {
  30113. "description": "委托单号",
  30114. "type": "string"
  30115. },
  30116. "payamount": {
  30117. "description": "支付金额(付款金额)",
  30118. "type": "number"
  30119. },
  30120. "performanceplanid": {
  30121. "description": "履约计划ID[期权]",
  30122. "type": "integer"
  30123. },
  30124. "performancestatus": {
  30125. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30126. "type": "integer"
  30127. },
  30128. "preexerciseprice": {
  30129. "description": "预申报价格",
  30130. "type": "number"
  30131. },
  30132. "premium": {
  30133. "description": "权利金 - [持仓单的权利金]",
  30134. "type": "number"
  30135. },
  30136. "qtydecimalplace": {
  30137. "description": "商品报价小数位",
  30138. "type": "integer"
  30139. },
  30140. "recvamount": {
  30141. "description": "到账金额 = 成交金额 - 手续费",
  30142. "type": "number"
  30143. },
  30144. "relatedouttradeid": {
  30145. "description": "关联外部成交单ID",
  30146. "type": "integer"
  30147. },
  30148. "status": {
  30149. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30150. "type": "integer"
  30151. },
  30152. "totalamount": {
  30153. "description": "订单总额 = 成交金额 + 手续费",
  30154. "type": "number"
  30155. },
  30156. "tradeamount": {
  30157. "description": "成交金额[账户币种,用于所有权]",
  30158. "type": "number"
  30159. },
  30160. "tradedate": {
  30161. "description": "交易日(yyyyMMdd)",
  30162. "type": "string"
  30163. },
  30164. "tradeid": {
  30165. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30166. "type": "string"
  30167. },
  30168. "trademode": {
  30169. "description": "交易模式",
  30170. "type": "integer"
  30171. },
  30172. "tradeprice": {
  30173. "description": "成交价格",
  30174. "type": "number"
  30175. },
  30176. "tradeproperty": {
  30177. "description": "交易属性",
  30178. "type": "integer"
  30179. },
  30180. "tradeqty": {
  30181. "description": "成交数量",
  30182. "type": "number"
  30183. },
  30184. "tradetime": {
  30185. "description": "成交时间",
  30186. "type": "string"
  30187. },
  30188. "tradetype": {
  30189. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30190. "type": "integer"
  30191. }
  30192. }
  30193. },
  30194. "order.QueryHisTradeOrderDetailRsp": {
  30195. "type": "object",
  30196. "required": [
  30197. "accountid",
  30198. "buildtype",
  30199. "buyorsell",
  30200. "goodsid",
  30201. "histradedate",
  30202. "marketid",
  30203. "memberuserid",
  30204. "operatetype",
  30205. "orderid",
  30206. "orderqty",
  30207. "ordertime",
  30208. "pricemode",
  30209. "tradedate",
  30210. "validtype"
  30211. ],
  30212. "properties": {
  30213. "accountid": {
  30214. "description": "账户ID[报价币种]",
  30215. "type": "integer"
  30216. },
  30217. "buildtype": {
  30218. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  30219. "type": "integer"
  30220. },
  30221. "buyorsell": {
  30222. "description": "买卖 - 0:买 1:卖",
  30223. "type": "integer"
  30224. },
  30225. "cancelorderid": {
  30226. "description": "撤单单号(撤单时填写)",
  30227. "type": "string"
  30228. },
  30229. "cancelqty": {
  30230. "description": "撤单数量",
  30231. "type": "number"
  30232. },
  30233. "clientordertime": {
  30234. "description": "客户端委托时间",
  30235. "type": "string"
  30236. },
  30237. "clientticket": {
  30238. "description": "客户端流水号",
  30239. "type": "string"
  30240. },
  30241. "clienttype": {
  30242. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30243. "type": "integer"
  30244. },
  30245. "closeexchagechargevalue": {
  30246. "description": "平仓交易所手续费设置值",
  30247. "type": "number"
  30248. },
  30249. "closefeealgorithm": {
  30250. "description": "平仓手续费收取方式 1:比率 2:固定",
  30251. "type": "integer"
  30252. },
  30253. "closefreezecharge": {
  30254. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  30255. "type": "number"
  30256. },
  30257. "closememberchargevalue": {
  30258. "description": "平仓会员手续费设置值",
  30259. "type": "number"
  30260. },
  30261. "closeqty": {
  30262. "description": "平仓数量(先建后平操作 需要记录)",
  30263. "type": "number"
  30264. },
  30265. "closetradeqty": {
  30266. "description": "平仓成交数量(先建后平操作,需要记录)",
  30267. "type": "number"
  30268. },
  30269. "closeunfreezecharge": {
  30270. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  30271. "type": "number"
  30272. },
  30273. "decimalplace": {
  30274. "description": "商品报价小数位",
  30275. "type": "integer"
  30276. },
  30277. "delistingtype": {
  30278. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  30279. "type": "integer"
  30280. },
  30281. "enumdicname": {
  30282. "description": "单位名称",
  30283. "type": "string"
  30284. },
  30285. "freezecharge": {
  30286. "description": "冻结手续费",
  30287. "type": "number"
  30288. },
  30289. "freezemargin": {
  30290. "description": "冻结保证金(冻结交易金额)",
  30291. "type": "number"
  30292. },
  30293. "gcaccountid": {
  30294. "description": "账户ID[合约币种]",
  30295. "type": "integer"
  30296. },
  30297. "goodscode": {
  30298. "description": "商品代码",
  30299. "type": "string"
  30300. },
  30301. "goodsid": {
  30302. "description": "商品ID",
  30303. "type": "integer"
  30304. },
  30305. "goodsname": {
  30306. "description": "商品名称",
  30307. "type": "string"
  30308. },
  30309. "goodunitid": {
  30310. "description": "商品单位id",
  30311. "type": "integer"
  30312. },
  30313. "histradedate": {
  30314. "description": "历史交易日",
  30315. "type": "string"
  30316. },
  30317. "isconfirmexercise": {
  30318. "description": "是否确认行权- 0:否 1:是",
  30319. "type": "integer"
  30320. },
  30321. "ispreexercise": {
  30322. "description": "是否预申报- 0:否 1:是",
  30323. "type": "integer"
  30324. },
  30325. "isvaliddata": {
  30326. "description": "是否有效 - 0:无效 1:有效",
  30327. "type": "integer"
  30328. },
  30329. "listingselecttype": {
  30330. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30331. "type": "integer"
  30332. },
  30333. "marginalgorithm": {
  30334. "description": "保证金收取方式 1:比率 2:固定",
  30335. "type": "integer"
  30336. },
  30337. "marginvalue": {
  30338. "description": "即市保证金设置值",
  30339. "type": "number"
  30340. },
  30341. "marketid": {
  30342. "description": "市场ID",
  30343. "type": "integer"
  30344. },
  30345. "marketmaxsub": {
  30346. "description": "市价最大偏移范围",
  30347. "type": "number"
  30348. },
  30349. "marketname": {
  30350. "description": "市场名称",
  30351. "type": "string"
  30352. },
  30353. "memberuserid": {
  30354. "description": "所属会员UserID",
  30355. "type": "integer"
  30356. },
  30357. "openexchagechargevalue": {
  30358. "description": "建仓交易所手续费设置值",
  30359. "type": "number"
  30360. },
  30361. "openfeealgorithm": {
  30362. "description": "建仓手续费收取方式 1:比率 2:固定",
  30363. "type": "integer"
  30364. },
  30365. "openfreezecharge": {
  30366. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  30367. "type": "number"
  30368. },
  30369. "openmemberchargevalue": {
  30370. "description": "建仓会员手续费设置值",
  30371. "type": "number"
  30372. },
  30373. "openqty": {
  30374. "description": "开仓数量(先建后平操作,需要记录)",
  30375. "type": "number"
  30376. },
  30377. "opentradeqty": {
  30378. "description": "开仓成交数量(先建后平操作,需要记录)",
  30379. "type": "number"
  30380. },
  30381. "openunfreezecharge": {
  30382. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  30383. "type": "number"
  30384. },
  30385. "operatetype": {
  30386. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  30387. "type": "integer"
  30388. },
  30389. "operatorid": {
  30390. "description": "登录账号(LoginID)",
  30391. "type": "integer"
  30392. },
  30393. "optiontype": {
  30394. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30395. "type": "integer"
  30396. },
  30397. "orderid": {
  30398. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30399. "type": "string"
  30400. },
  30401. "orderprice": {
  30402. "description": "委托价格",
  30403. "type": "number"
  30404. },
  30405. "orderqty": {
  30406. "description": "委托数量",
  30407. "type": "number"
  30408. },
  30409. "ordersrc": {
  30410. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  30411. "type": "integer"
  30412. },
  30413. "orderstatus": {
  30414. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30415. "type": "integer"
  30416. },
  30417. "ordertime": {
  30418. "description": "委托时间",
  30419. "type": "string"
  30420. },
  30421. "preexerciseprice": {
  30422. "description": "预申报价格",
  30423. "type": "number"
  30424. },
  30425. "premium": {
  30426. "description": "权利金",
  30427. "type": "number"
  30428. },
  30429. "preorderid": {
  30430. "description": "关联预埋单号(止盈止损单时填写)",
  30431. "type": "string"
  30432. },
  30433. "pricemode": {
  30434. "description": "取价方式 - 1:市价 2: 限价",
  30435. "type": "integer"
  30436. },
  30437. "qtydecimalplace": {
  30438. "description": "成交量小数位",
  30439. "type": "integer"
  30440. },
  30441. "quoteid": {
  30442. "description": "报价单ID",
  30443. "type": "integer"
  30444. },
  30445. "relatedid": {
  30446. "description": "关联单号(交割单)",
  30447. "type": "string"
  30448. },
  30449. "retcode": {
  30450. "description": "错误代码",
  30451. "type": "integer"
  30452. },
  30453. "sessionid": {
  30454. "description": "会话ID",
  30455. "type": "integer"
  30456. },
  30457. "tradedate": {
  30458. "description": "交易日(yyyyMMdd)",
  30459. "type": "string"
  30460. },
  30461. "trademode": {
  30462. "description": "交易模式",
  30463. "type": "integer"
  30464. },
  30465. "tradeproperty": {
  30466. "description": "交易属性",
  30467. "type": "integer"
  30468. },
  30469. "tradeqty": {
  30470. "description": "成交数量",
  30471. "type": "number"
  30472. },
  30473. "unfreezecharge": {
  30474. "description": "解冻手续费",
  30475. "type": "number"
  30476. },
  30477. "unfreezemargin": {
  30478. "description": "解冻保证金",
  30479. "type": "number"
  30480. },
  30481. "updatetime": {
  30482. "description": "更新时间",
  30483. "type": "string"
  30484. },
  30485. "uuid": {
  30486. "description": "发起端唯一id",
  30487. "type": "string"
  30488. },
  30489. "validtime": {
  30490. "description": "有效期限",
  30491. "type": "string"
  30492. },
  30493. "validtype": {
  30494. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  30495. "type": "integer"
  30496. },
  30497. "volumetype": {
  30498. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  30499. "type": "integer"
  30500. }
  30501. }
  30502. },
  30503. "order.QueryTradeDetailRsp": {
  30504. "type": "object",
  30505. "required": [
  30506. "accountid",
  30507. "buyorsell",
  30508. "goodsid",
  30509. "marketid",
  30510. "memberuserid",
  30511. "orderid",
  30512. "tradeamount",
  30513. "tradedate",
  30514. "tradeid",
  30515. "tradeprice",
  30516. "tradeqty",
  30517. "tradetime"
  30518. ],
  30519. "properties": {
  30520. "accountid": {
  30521. "description": "账户ID[报价币种]",
  30522. "type": "integer"
  30523. },
  30524. "advanceratio": {
  30525. "description": "首付比率",
  30526. "type": "number"
  30527. },
  30528. "buildtype": {
  30529. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30530. "type": "integer"
  30531. },
  30532. "buyorsell": {
  30533. "description": "方向 - 0:买 1:卖",
  30534. "type": "integer"
  30535. },
  30536. "charge": {
  30537. "description": "手续费",
  30538. "type": "number"
  30539. },
  30540. "closecharge": {
  30541. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30542. "type": "number"
  30543. },
  30544. "closeexchagechargevalue": {
  30545. "description": "平仓交易所手续费设置值",
  30546. "type": "number"
  30547. },
  30548. "closefeealgorithm": {
  30549. "description": "平仓手续费收取方式 1:比率 2:固定",
  30550. "type": "integer"
  30551. },
  30552. "closememberchargevalue": {
  30553. "description": "平仓会员手续费设置值",
  30554. "type": "number"
  30555. },
  30556. "closepl": {
  30557. "description": "平仓盈亏",
  30558. "type": "number"
  30559. },
  30560. "closepl2": {
  30561. "description": "平仓盈亏[逐笔]",
  30562. "type": "number"
  30563. },
  30564. "closeqty": {
  30565. "description": "平仓数量(先建后平操作 需要记录)",
  30566. "type": "number"
  30567. },
  30568. "creditamount": {
  30569. "description": "授信金额",
  30570. "type": "number"
  30571. },
  30572. "decimalplace": {
  30573. "description": "商品报价小数位",
  30574. "type": "integer"
  30575. },
  30576. "enumdicname": {
  30577. "description": "单位名称",
  30578. "type": "string"
  30579. },
  30580. "gcaccountid": {
  30581. "description": "账户ID[合约币种]",
  30582. "type": "integer"
  30583. },
  30584. "goodscode": {
  30585. "description": "商品代码",
  30586. "type": "string"
  30587. },
  30588. "goodsid": {
  30589. "description": "商品ID",
  30590. "type": "integer"
  30591. },
  30592. "goodsname": {
  30593. "description": "商品名称",
  30594. "type": "string"
  30595. },
  30596. "goodunitid": {
  30597. "description": "商品单位id",
  30598. "type": "integer"
  30599. },
  30600. "intclosepl": {
  30601. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30602. "type": "integer"
  30603. },
  30604. "isconfirmexercise": {
  30605. "description": "是否确认行权- 0:否 1:是",
  30606. "type": "integer"
  30607. },
  30608. "ismain": {
  30609. "description": "是否主单 - 0:不是 1:是",
  30610. "type": "integer"
  30611. },
  30612. "ispreexercise": {
  30613. "description": "是否预申报- 0:否 1:是",
  30614. "type": "integer"
  30615. },
  30616. "isreckoned": {
  30617. "description": "是否结算 - 0:未结算 1:已结算",
  30618. "type": "integer"
  30619. },
  30620. "listingselecttype": {
  30621. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30622. "type": "integer"
  30623. },
  30624. "marketid": {
  30625. "description": "市场ID",
  30626. "type": "integer"
  30627. },
  30628. "marketname": {
  30629. "description": "市场名称",
  30630. "type": "string"
  30631. },
  30632. "matchaccountid": {
  30633. "description": "对手账号id",
  30634. "type": "integer"
  30635. },
  30636. "memberuserid": {
  30637. "description": "会员id 个人投资者 需要填写",
  30638. "type": "integer"
  30639. },
  30640. "opencharge": {
  30641. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30642. "type": "number"
  30643. },
  30644. "openexchagechargevalue": {
  30645. "description": "建仓交易所手续费设置值",
  30646. "type": "number"
  30647. },
  30648. "openfeealgorithm": {
  30649. "description": "建仓手续费收取方式 1:比率 2:固定",
  30650. "type": "integer"
  30651. },
  30652. "openmemberchargevalue": {
  30653. "description": "建仓会员手续费设置值",
  30654. "type": "number"
  30655. },
  30656. "openqty": {
  30657. "description": "开仓数量(先建后平操作 需要记录)",
  30658. "type": "number"
  30659. },
  30660. "optiontype": {
  30661. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30662. "type": "integer"
  30663. },
  30664. "orderid": {
  30665. "description": "委托单号",
  30666. "type": "string"
  30667. },
  30668. "payamount": {
  30669. "description": "支付金额(付款金额)",
  30670. "type": "number"
  30671. },
  30672. "performanceplanid": {
  30673. "description": "履约计划ID[期权]",
  30674. "type": "integer"
  30675. },
  30676. "performancestatus": {
  30677. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30678. "type": "integer"
  30679. },
  30680. "preexerciseprice": {
  30681. "description": "预申报价格",
  30682. "type": "number"
  30683. },
  30684. "premium": {
  30685. "description": "权利金 - [持仓单的权利金]",
  30686. "type": "number"
  30687. },
  30688. "qtydecimalplace": {
  30689. "description": "商品报价小数位",
  30690. "type": "integer"
  30691. },
  30692. "recvamount": {
  30693. "description": "到账金额 = 成交金额 - 手续费",
  30694. "type": "number"
  30695. },
  30696. "relatedouttradeid": {
  30697. "description": "关联外部成交单ID",
  30698. "type": "integer"
  30699. },
  30700. "status": {
  30701. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30702. "type": "integer"
  30703. },
  30704. "totalamount": {
  30705. "description": "订单总额 = 成交金额 + 手续费",
  30706. "type": "number"
  30707. },
  30708. "tradeamount": {
  30709. "description": "成交金额[账户币种,用于所有权]",
  30710. "type": "number"
  30711. },
  30712. "tradedate": {
  30713. "description": "交易日(yyyyMMdd)",
  30714. "type": "string"
  30715. },
  30716. "tradeid": {
  30717. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30718. "type": "string"
  30719. },
  30720. "trademode": {
  30721. "description": "交易模式",
  30722. "type": "integer"
  30723. },
  30724. "tradeprice": {
  30725. "description": "成交价格",
  30726. "type": "number"
  30727. },
  30728. "tradeproperty": {
  30729. "description": "交易属性",
  30730. "type": "integer"
  30731. },
  30732. "tradeqty": {
  30733. "description": "成交数量",
  30734. "type": "number"
  30735. },
  30736. "tradetime": {
  30737. "description": "成交时间",
  30738. "type": "string"
  30739. },
  30740. "tradetype": {
  30741. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30742. "type": "integer"
  30743. }
  30744. }
  30745. },
  30746. "order.QueryTradeOrderDetailRsp": {
  30747. "type": "object",
  30748. "required": [
  30749. "accountid",
  30750. "buildtype",
  30751. "buyorsell",
  30752. "goodsid",
  30753. "marketid",
  30754. "operatetype",
  30755. "orderqty",
  30756. "ordertime",
  30757. "pricemode",
  30758. "tradedate",
  30759. "validtype"
  30760. ],
  30761. "properties": {
  30762. "accountid": {
  30763. "description": "账户ID[报价币种]",
  30764. "type": "integer"
  30765. },
  30766. "buildtype": {
  30767. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  30768. "type": "integer"
  30769. },
  30770. "buyorsell": {
  30771. "description": "买卖 - 0:买 1:卖",
  30772. "type": "integer"
  30773. },
  30774. "cancelorderid": {
  30775. "description": "撤单单号(撤单时填写)",
  30776. "type": "string"
  30777. },
  30778. "cancelqty": {
  30779. "description": "撤单数量",
  30780. "type": "number"
  30781. },
  30782. "clienttype": {
  30783. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30784. "type": "integer"
  30785. },
  30786. "closefreezecharge": {
  30787. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  30788. "type": "number"
  30789. },
  30790. "closeqty": {
  30791. "description": "平仓数量(先建后平操作 需要记录)",
  30792. "type": "number"
  30793. },
  30794. "closetradeqty": {
  30795. "description": "平仓成交数量(先建后平操作,需要记录)",
  30796. "type": "number"
  30797. },
  30798. "closeunfreezecharge": {
  30799. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  30800. "type": "number"
  30801. },
  30802. "decimalplace": {
  30803. "description": "商品报价小数位",
  30804. "type": "integer"
  30805. },
  30806. "delistingtype": {
  30807. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  30808. "type": "integer"
  30809. },
  30810. "enableqty": {
  30811. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  30812. "type": "number"
  30813. },
  30814. "enumdicname": {
  30815. "description": "单位名称",
  30816. "type": "string"
  30817. },
  30818. "freezecharge": {
  30819. "description": "冻结手续费",
  30820. "type": "number"
  30821. },
  30822. "freezemargin": {
  30823. "description": "冻结保证金(冻结交易金额)",
  30824. "type": "number"
  30825. },
  30826. "goodscode": {
  30827. "description": "商品代码",
  30828. "type": "string"
  30829. },
  30830. "goodsid": {
  30831. "description": "商品ID",
  30832. "type": "integer"
  30833. },
  30834. "goodsname": {
  30835. "description": "商品名称",
  30836. "type": "string"
  30837. },
  30838. "goodunitid": {
  30839. "description": "商品单位id",
  30840. "type": "integer"
  30841. },
  30842. "listingselecttype": {
  30843. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30844. "type": "integer"
  30845. },
  30846. "marketid": {
  30847. "description": "市场ID",
  30848. "type": "integer"
  30849. },
  30850. "marketname": {
  30851. "description": "市场名称",
  30852. "type": "string"
  30853. },
  30854. "openfreezecharge": {
  30855. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  30856. "type": "number"
  30857. },
  30858. "openqty": {
  30859. "description": "开仓数量(先建后平操作,需要记录)",
  30860. "type": "number"
  30861. },
  30862. "opentradeqty": {
  30863. "description": "开仓成交数量(先建后平操作,需要记录)",
  30864. "type": "number"
  30865. },
  30866. "openunfreezecharge": {
  30867. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  30868. "type": "number"
  30869. },
  30870. "operatetype": {
  30871. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  30872. "type": "integer"
  30873. },
  30874. "operatorid": {
  30875. "description": "登录账号(LoginID)",
  30876. "type": "integer"
  30877. },
  30878. "orderid": {
  30879. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30880. "type": "string"
  30881. },
  30882. "orderprice": {
  30883. "description": "委托价格",
  30884. "type": "number"
  30885. },
  30886. "orderqty": {
  30887. "description": "委托数量",
  30888. "type": "number"
  30889. },
  30890. "ordersrc": {
  30891. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  30892. "type": "integer"
  30893. },
  30894. "orderstatus": {
  30895. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30896. "type": "integer"
  30897. },
  30898. "ordertime": {
  30899. "description": "委托时间",
  30900. "type": "string"
  30901. },
  30902. "preorderid": {
  30903. "description": "关联预埋单号(止盈止损单时填写)",
  30904. "type": "string"
  30905. },
  30906. "pricemode": {
  30907. "description": "取价方式 - 1:市价 2: 限价",
  30908. "type": "integer"
  30909. },
  30910. "qtydecimalplace": {
  30911. "description": "商品报价小数位",
  30912. "type": "integer"
  30913. },
  30914. "relatedid": {
  30915. "description": "关联单号(交割单)",
  30916. "type": "string"
  30917. },
  30918. "tradedate": {
  30919. "description": "交易日(yyyyMMdd)",
  30920. "type": "string"
  30921. },
  30922. "trademode": {
  30923. "description": "交易模式",
  30924. "type": "integer"
  30925. },
  30926. "tradeqty": {
  30927. "description": "成交数量",
  30928. "type": "number"
  30929. },
  30930. "unfreezecharge": {
  30931. "description": "解冻手续费",
  30932. "type": "number"
  30933. },
  30934. "unfreezemargin": {
  30935. "description": "解冻保证金",
  30936. "type": "number"
  30937. },
  30938. "validtime": {
  30939. "description": "有效期限",
  30940. "type": "string"
  30941. },
  30942. "validtype": {
  30943. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  30944. "type": "integer"
  30945. },
  30946. "volumetype": {
  30947. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  30948. "type": "integer"
  30949. }
  30950. }
  30951. },
  30952. "order.QueryTradePositionRsp": {
  30953. "type": "object",
  30954. "required": [
  30955. "goodsid"
  30956. ],
  30957. "properties": {
  30958. "accountid": {
  30959. "description": "资金账户",
  30960. "type": "integer"
  30961. },
  30962. "agreeunit": {
  30963. "description": "合约单位",
  30964. "type": "number"
  30965. },
  30966. "averageprice": {
  30967. "description": "持仓均价",
  30968. "type": "number"
  30969. },
  30970. "buyorsell": {
  30971. "description": "方向 - 0:买 1:卖",
  30972. "type": "integer"
  30973. },
  30974. "closetotalqty": {
  30975. "description": "平仓总数量",
  30976. "type": "number"
  30977. },
  30978. "curholderamount": {
  30979. "description": "当前持仓总金额[商品币种]",
  30980. "type": "number"
  30981. },
  30982. "curpositionqty": {
  30983. "description": "当前持仓总数量",
  30984. "type": "number"
  30985. },
  30986. "currencyid": {
  30987. "description": "报价货币ID",
  30988. "type": "integer"
  30989. },
  30990. "curtdposition": {
  30991. "description": "期末今日头寸",
  30992. "type": "number"
  30993. },
  30994. "decimalplace": {
  30995. "description": "报价小数位",
  30996. "type": "integer"
  30997. },
  30998. "enableqty": {
  30999. "description": "可用量",
  31000. "type": "number"
  31001. },
  31002. "fretdposition": {
  31003. "description": "冻结今日头寸",
  31004. "type": "number"
  31005. },
  31006. "frozenqty": {
  31007. "description": "持仓冻结数量",
  31008. "type": "number"
  31009. },
  31010. "goodscode": {
  31011. "description": "商品代码",
  31012. "type": "string"
  31013. },
  31014. "goodsid": {
  31015. "description": "商品Id",
  31016. "type": "integer"
  31017. },
  31018. "goodsname": {
  31019. "description": "商品名称",
  31020. "type": "string"
  31021. },
  31022. "goodunit": {
  31023. "description": "报价单位",
  31024. "type": "string"
  31025. },
  31026. "goodunitid": {
  31027. "description": "报价单位ID",
  31028. "type": "integer"
  31029. },
  31030. "holderamount": {
  31031. "description": "期初持仓总金额[商品币种]",
  31032. "type": "number"
  31033. },
  31034. "lastprice": {
  31035. "description": "最新价",
  31036. "type": "number"
  31037. },
  31038. "marketamount": {
  31039. "description": "市值",
  31040. "type": "number"
  31041. },
  31042. "marketid": {
  31043. "description": "所属市场ID",
  31044. "type": "integer"
  31045. },
  31046. "openreqqty": {
  31047. "description": "开仓申请数量(用于比较最大持仓数量)",
  31048. "type": "number"
  31049. },
  31050. "opentotalqty": {
  31051. "description": "开仓总数量",
  31052. "type": "number"
  31053. },
  31054. "otherfrozenqty": {
  31055. "description": "持仓其他冻结数量(交割冻结)",
  31056. "type": "number"
  31057. },
  31058. "positionpl": {
  31059. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  31060. "type": "number"
  31061. },
  31062. "positionplrate": {
  31063. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  31064. "type": "number"
  31065. },
  31066. "positionqty": {
  31067. "description": "期初持仓数量",
  31068. "type": "number"
  31069. },
  31070. "qtydecimalplace": {
  31071. "description": "成交量小数位",
  31072. "type": "integer"
  31073. },
  31074. "tnqty": {
  31075. "description": "T+N冻结总量",
  31076. "type": "number"
  31077. },
  31078. "tnusedqty": {
  31079. "description": "T+N使用量(可以使用T+N的冻结数量)",
  31080. "type": "number"
  31081. },
  31082. "trademode": {
  31083. "description": "交易模式",
  31084. "type": "integer"
  31085. },
  31086. "usedmargin": {
  31087. "description": "占用保证金[商品币种]",
  31088. "type": "number"
  31089. }
  31090. }
  31091. },
  31092. "quote.HistoryData": {
  31093. "type": "object",
  31094. "properties": {
  31095. "c": {
  31096. "description": "收盘价",
  31097. "type": "number"
  31098. },
  31099. "f": {
  31100. "description": "是否补充数据",
  31101. "type": "boolean"
  31102. },
  31103. "h": {
  31104. "description": "最高价",
  31105. "type": "number"
  31106. },
  31107. "hv": {
  31108. "description": "持仓量",
  31109. "type": "integer"
  31110. },
  31111. "l": {
  31112. "description": "最低价",
  31113. "type": "number"
  31114. },
  31115. "o": {
  31116. "description": "开盘价",
  31117. "type": "number"
  31118. },
  31119. "s": {
  31120. "description": "结算价,日线周期(包括)以上才有",
  31121. "type": "number"
  31122. },
  31123. "ts": {
  31124. "description": "时间",
  31125. "type": "string"
  31126. },
  31127. "tt": {
  31128. "description": "总金额",
  31129. "type": "number"
  31130. },
  31131. "tv": {
  31132. "description": "总量",
  31133. "type": "integer"
  31134. }
  31135. }
  31136. },
  31137. "quote.HistoryTikData": {
  31138. "type": "object",
  31139. "properties": {
  31140. "AV": {
  31141. "description": "卖量",
  31142. "type": "integer"
  31143. },
  31144. "Ask": {
  31145. "description": "卖价",
  31146. "type": "number"
  31147. },
  31148. "BV": {
  31149. "description": "买量",
  31150. "type": "integer"
  31151. },
  31152. "Bid": {
  31153. "description": "买价",
  31154. "type": "number"
  31155. },
  31156. "HI": {
  31157. "description": "单笔持仓",
  31158. "type": "integer"
  31159. },
  31160. "HV": {
  31161. "description": "持仓量",
  31162. "type": "integer"
  31163. },
  31164. "PE": {
  31165. "description": "现价",
  31166. "type": "number"
  31167. },
  31168. "TDR": {
  31169. "description": "交易方向,0:买 1:卖",
  31170. "type": "integer"
  31171. },
  31172. "TK": {
  31173. "description": "交易类型",
  31174. "type": "integer"
  31175. },
  31176. "TS": {
  31177. "description": "行情时间文本",
  31178. "type": "string"
  31179. },
  31180. "TT": {
  31181. "description": "现金额",
  31182. "type": "number"
  31183. },
  31184. "Vol": {
  31185. "description": "现量",
  31186. "type": "integer"
  31187. }
  31188. }
  31189. },
  31190. "quote.QueryQuoteDayRsp": {
  31191. "type": "object",
  31192. "properties": {
  31193. "ask": {
  31194. "description": "卖1",
  31195. "type": "number"
  31196. },
  31197. "ask10": {
  31198. "description": "卖10",
  31199. "type": "number"
  31200. },
  31201. "ask2": {
  31202. "description": "卖2",
  31203. "type": "number"
  31204. },
  31205. "ask3": {
  31206. "description": "卖3",
  31207. "type": "number"
  31208. },
  31209. "ask4": {
  31210. "description": "卖4",
  31211. "type": "number"
  31212. },
  31213. "ask5": {
  31214. "description": "卖5",
  31215. "type": "number"
  31216. },
  31217. "ask6": {
  31218. "description": "卖6",
  31219. "type": "number"
  31220. },
  31221. "ask7": {
  31222. "description": "卖7",
  31223. "type": "number"
  31224. },
  31225. "ask8": {
  31226. "description": "卖8",
  31227. "type": "number"
  31228. },
  31229. "ask9": {
  31230. "description": "卖9",
  31231. "type": "number"
  31232. },
  31233. "askorderid": {
  31234. "description": "卖单号1",
  31235. "type": "integer"
  31236. },
  31237. "askorderid2": {
  31238. "description": "卖单号2",
  31239. "type": "integer"
  31240. },
  31241. "askorderid3": {
  31242. "description": "卖单号3",
  31243. "type": "integer"
  31244. },
  31245. "askorderid4": {
  31246. "description": "卖单号4",
  31247. "type": "integer"
  31248. },
  31249. "askorderid5": {
  31250. "description": "卖单号5",
  31251. "type": "integer"
  31252. },
  31253. "askordervolume": {
  31254. "description": "卖单量1",
  31255. "type": "integer"
  31256. },
  31257. "askordervolume10": {
  31258. "description": "卖单量10",
  31259. "type": "integer"
  31260. },
  31261. "askordervolume2": {
  31262. "description": "卖单量2",
  31263. "type": "integer"
  31264. },
  31265. "askordervolume3": {
  31266. "description": "卖单量3",
  31267. "type": "integer"
  31268. },
  31269. "askordervolume4": {
  31270. "description": "卖单量4",
  31271. "type": "integer"
  31272. },
  31273. "askordervolume5": {
  31274. "description": "卖单量5",
  31275. "type": "integer"
  31276. },
  31277. "askordervolume6": {
  31278. "description": "卖单量6",
  31279. "type": "integer"
  31280. },
  31281. "askordervolume7": {
  31282. "description": "卖单量7",
  31283. "type": "integer"
  31284. },
  31285. "askordervolume8": {
  31286. "description": "卖单量8",
  31287. "type": "integer"
  31288. },
  31289. "askordervolume9": {
  31290. "description": "卖单量9",
  31291. "type": "integer"
  31292. },
  31293. "askqueueinfo": {
  31294. "description": "大利市卖港股用",
  31295. "type": "string"
  31296. },
  31297. "askvolume": {
  31298. "description": "卖量1",
  31299. "type": "integer"
  31300. },
  31301. "askvolume10": {
  31302. "description": "卖量10",
  31303. "type": "integer"
  31304. },
  31305. "askvolume2": {
  31306. "description": "卖量2",
  31307. "type": "integer"
  31308. },
  31309. "askvolume3": {
  31310. "description": "卖量3",
  31311. "type": "integer"
  31312. },
  31313. "askvolume4": {
  31314. "description": "卖量4",
  31315. "type": "integer"
  31316. },
  31317. "askvolume5": {
  31318. "description": "卖量5",
  31319. "type": "integer"
  31320. },
  31321. "askvolume6": {
  31322. "description": "卖量6",
  31323. "type": "integer"
  31324. },
  31325. "askvolume7": {
  31326. "description": "卖量7",
  31327. "type": "integer"
  31328. },
  31329. "askvolume8": {
  31330. "description": "卖量8",
  31331. "type": "integer"
  31332. },
  31333. "askvolume9": {
  31334. "description": "卖量9",
  31335. "type": "integer"
  31336. },
  31337. "averageprice": {
  31338. "description": "均价",
  31339. "type": "number"
  31340. },
  31341. "bid": {
  31342. "description": "买1",
  31343. "type": "number"
  31344. },
  31345. "bid10": {
  31346. "description": "买10",
  31347. "type": "number"
  31348. },
  31349. "bid2": {
  31350. "description": "买2",
  31351. "type": "number"
  31352. },
  31353. "bid3": {
  31354. "description": "买3",
  31355. "type": "number"
  31356. },
  31357. "bid4": {
  31358. "description": "买4",
  31359. "type": "number"
  31360. },
  31361. "bid5": {
  31362. "description": "买5",
  31363. "type": "number"
  31364. },
  31365. "bid6": {
  31366. "description": "买6",
  31367. "type": "number"
  31368. },
  31369. "bid7": {
  31370. "description": "买7",
  31371. "type": "number"
  31372. },
  31373. "bid8": {
  31374. "description": "买8",
  31375. "type": "number"
  31376. },
  31377. "bid9": {
  31378. "description": "买9",
  31379. "type": "number"
  31380. },
  31381. "bidorderid": {
  31382. "description": "买单号1",
  31383. "type": "integer"
  31384. },
  31385. "bidorderid2": {
  31386. "description": "买单号2",
  31387. "type": "integer"
  31388. },
  31389. "bidorderid3": {
  31390. "description": "买单号3",
  31391. "type": "integer"
  31392. },
  31393. "bidorderid4": {
  31394. "description": "买单号4",
  31395. "type": "integer"
  31396. },
  31397. "bidorderid5": {
  31398. "description": "买单号5",
  31399. "type": "integer"
  31400. },
  31401. "bidordervolume": {
  31402. "description": "买单量1",
  31403. "type": "integer"
  31404. },
  31405. "bidordervolume10": {
  31406. "description": "买单量10",
  31407. "type": "integer"
  31408. },
  31409. "bidordervolume2": {
  31410. "description": "买单量2",
  31411. "type": "integer"
  31412. },
  31413. "bidordervolume3": {
  31414. "description": "买单量3",
  31415. "type": "integer"
  31416. },
  31417. "bidordervolume4": {
  31418. "description": "买单量4",
  31419. "type": "integer"
  31420. },
  31421. "bidordervolume5": {
  31422. "description": "买单量5",
  31423. "type": "integer"
  31424. },
  31425. "bidordervolume6": {
  31426. "description": "买单量6",
  31427. "type": "integer"
  31428. },
  31429. "bidordervolume7": {
  31430. "description": "买单量7",
  31431. "type": "integer"
  31432. },
  31433. "bidordervolume8": {
  31434. "description": "买单量8",
  31435. "type": "integer"
  31436. },
  31437. "bidordervolume9": {
  31438. "description": "买单量9",
  31439. "type": "integer"
  31440. },
  31441. "bidqueueinfo": {
  31442. "description": "大利市买港股用",
  31443. "type": "string"
  31444. },
  31445. "bidvolume": {
  31446. "description": "买量1",
  31447. "type": "integer"
  31448. },
  31449. "bidvolume10": {
  31450. "description": "买量10",
  31451. "type": "integer"
  31452. },
  31453. "bidvolume2": {
  31454. "description": "买量2",
  31455. "type": "integer"
  31456. },
  31457. "bidvolume3": {
  31458. "description": "买量3",
  31459. "type": "integer"
  31460. },
  31461. "bidvolume4": {
  31462. "description": "买量4",
  31463. "type": "integer"
  31464. },
  31465. "bidvolume5": {
  31466. "description": "买量5",
  31467. "type": "integer"
  31468. },
  31469. "bidvolume6": {
  31470. "description": "买量6",
  31471. "type": "integer"
  31472. },
  31473. "bidvolume7": {
  31474. "description": "买量7",
  31475. "type": "integer"
  31476. },
  31477. "bidvolume8": {
  31478. "description": "买量8",
  31479. "type": "integer"
  31480. },
  31481. "bidvolume9": {
  31482. "description": "买量9",
  31483. "type": "integer"
  31484. },
  31485. "calloptionpremiums": {
  31486. "description": "认购期权1",
  31487. "type": "integer"
  31488. },
  31489. "calloptionpremiums2": {
  31490. "description": "认购期权2",
  31491. "type": "integer"
  31492. },
  31493. "calloptionpremiums3": {
  31494. "description": "认购期权3",
  31495. "type": "integer"
  31496. },
  31497. "calloptionpremiums4": {
  31498. "description": "认购期权4",
  31499. "type": "integer"
  31500. },
  31501. "calloptionpremiums5": {
  31502. "description": "认购期权5",
  31503. "type": "integer"
  31504. },
  31505. "cleartime": {
  31506. "description": "清盘时间",
  31507. "type": "integer"
  31508. },
  31509. "exchangecode": {
  31510. "description": "交易所代码",
  31511. "type": "integer"
  31512. },
  31513. "exchangedate": {
  31514. "description": "交易日",
  31515. "type": "integer"
  31516. },
  31517. "goodscode": {
  31518. "description": "商品代码",
  31519. "type": "string"
  31520. },
  31521. "grepmarketprice": {
  31522. "description": "暗盘价 港股专用",
  31523. "type": "number"
  31524. },
  31525. "highest": {
  31526. "description": "最高价",
  31527. "type": "number"
  31528. },
  31529. "holdincrement": {
  31530. "description": "单笔持仓",
  31531. "type": "integer"
  31532. },
  31533. "holdvolume": {
  31534. "description": "持仓",
  31535. "type": "integer"
  31536. },
  31537. "iep": {
  31538. "description": "平衡价 港股专用",
  31539. "type": "number"
  31540. },
  31541. "iev": {
  31542. "description": "平衡量 港股专用",
  31543. "type": "number"
  31544. },
  31545. "inventory": {
  31546. "description": "库存",
  31547. "type": "integer"
  31548. },
  31549. "iscleared": {
  31550. "description": "是否清盘标志",
  31551. "type": "integer"
  31552. },
  31553. "issettled": {
  31554. "description": "是否结算标志",
  31555. "type": "integer"
  31556. },
  31557. "last": {
  31558. "description": "最新价",
  31559. "type": "number"
  31560. },
  31561. "lastlot": {
  31562. "description": "最新成交手数",
  31563. "type": "integer"
  31564. },
  31565. "lasttime": {
  31566. "description": "行情时间(只有现价变化行情时间才变化)",
  31567. "type": "string"
  31568. },
  31569. "lastturnover": {
  31570. "description": "最新成交金额",
  31571. "type": "number"
  31572. },
  31573. "lastvolume": {
  31574. "description": "最新成交量",
  31575. "type": "integer"
  31576. },
  31577. "limitdown": {
  31578. "description": "跌停价",
  31579. "type": "number"
  31580. },
  31581. "limitup": {
  31582. "description": "涨停价",
  31583. "type": "number"
  31584. },
  31585. "lowest": {
  31586. "description": "最低价",
  31587. "type": "number"
  31588. },
  31589. "nontotalholdervolume": {
  31590. "description": "非交易持仓量",
  31591. "type": "integer"
  31592. },
  31593. "nontotallot": {
  31594. "description": "非交易总手数",
  31595. "type": "integer"
  31596. },
  31597. "nontotalturnover": {
  31598. "description": "非交易总金额",
  31599. "type": "integer"
  31600. },
  31601. "nontotalvolume": {
  31602. "description": "非交易总量",
  31603. "type": "integer"
  31604. },
  31605. "opened": {
  31606. "description": "开盘价",
  31607. "type": "number"
  31608. },
  31609. "opentime": {
  31610. "description": "开盘时间",
  31611. "type": "string"
  31612. },
  31613. "orderid": {
  31614. "description": "序号",
  31615. "type": "integer"
  31616. },
  31617. "preclose": {
  31618. "description": "昨收",
  31619. "type": "number"
  31620. },
  31621. "preholdvolume": {
  31622. "description": "昨持仓",
  31623. "type": "integer"
  31624. },
  31625. "presettle": {
  31626. "description": "昨结价",
  31627. "type": "number"
  31628. },
  31629. "publictradetype": {
  31630. "description": "公共交易标志类型 港股专用",
  31631. "type": "string"
  31632. },
  31633. "putoptionpremiums": {
  31634. "description": "认沽期权1",
  31635. "type": "integer"
  31636. },
  31637. "putoptionpremiums2": {
  31638. "description": "认沽期权2",
  31639. "type": "integer"
  31640. },
  31641. "putoptionpremiums3": {
  31642. "description": "认沽期权3",
  31643. "type": "integer"
  31644. },
  31645. "putoptionpremiums4": {
  31646. "description": "认沽期权4",
  31647. "type": "integer"
  31648. },
  31649. "putoptionpremiums5": {
  31650. "description": "认沽期权5",
  31651. "type": "integer"
  31652. },
  31653. "settle": {
  31654. "description": "结算价",
  31655. "type": "number"
  31656. },
  31657. "strikeprice": {
  31658. "description": "发行价",
  31659. "type": "number"
  31660. },
  31661. "totalaskvolume": {
  31662. "description": "内盘",
  31663. "type": "integer"
  31664. },
  31665. "totalbidvolume": {
  31666. "description": "外盘",
  31667. "type": "integer"
  31668. },
  31669. "totallot": {
  31670. "description": "总手数",
  31671. "type": "integer"
  31672. },
  31673. "totalturnover": {
  31674. "description": "总金额",
  31675. "type": "number"
  31676. },
  31677. "totalvolume": {
  31678. "description": "总量",
  31679. "type": "integer"
  31680. },
  31681. "utclasttime": {
  31682. "description": "utc的行情时间",
  31683. "type": "string"
  31684. }
  31685. }
  31686. },
  31687. "quote.QueryTSDataRsp": {
  31688. "type": "object",
  31689. "properties": {
  31690. "Count": {
  31691. "description": "交易日应有数据个数",
  31692. "type": "integer"
  31693. },
  31694. "decimalPlace": {
  31695. "description": "小数位",
  31696. "type": "integer"
  31697. },
  31698. "endTime": {
  31699. "description": "结束时间",
  31700. "type": "string"
  31701. },
  31702. "goodsCode": {
  31703. "description": "商品代码",
  31704. "type": "string"
  31705. },
  31706. "historyDatas": {
  31707. "description": "历史数据",
  31708. "type": "array",
  31709. "items": {
  31710. "$ref": "#/definitions/quote.HistoryData"
  31711. }
  31712. },
  31713. "outGoodsCode": {
  31714. "description": "外部商品代码",
  31715. "type": "string"
  31716. },
  31717. "preSettle": {
  31718. "description": "昨结价",
  31719. "type": "number"
  31720. },
  31721. "runSteps": {
  31722. "description": "交易日开休市计划",
  31723. "type": "array",
  31724. "items": {
  31725. "$ref": "#/definitions/quote.TSDataRunStep"
  31726. }
  31727. },
  31728. "startTime": {
  31729. "description": "开始时间",
  31730. "type": "string"
  31731. },
  31732. "tradeDate": {
  31733. "description": "交易日",
  31734. "type": "string"
  31735. }
  31736. }
  31737. },
  31738. "quote.TSDataRunStep": {
  31739. "type": "object",
  31740. "properties": {
  31741. "end": {
  31742. "description": "真实结束时间",
  31743. "type": "string"
  31744. },
  31745. "endflag": {
  31746. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  31747. "type": "integer"
  31748. },
  31749. "endtime": {
  31750. "description": "结束时间(HH:mm)",
  31751. "type": "string"
  31752. },
  31753. "endweekday": {
  31754. "description": "结束周几",
  31755. "type": "integer"
  31756. },
  31757. "groupid": {
  31758. "description": "分组ID",
  31759. "type": "integer"
  31760. },
  31761. "runstep": {
  31762. "description": "运行阶段 - 2:连续交易",
  31763. "type": "integer"
  31764. },
  31765. "sectionid": {
  31766. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  31767. "type": "integer"
  31768. },
  31769. "start": {
  31770. "description": "真实开始时间",
  31771. "type": "string"
  31772. },
  31773. "startflag": {
  31774. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  31775. "type": "integer"
  31776. },
  31777. "starttime": {
  31778. "description": "起始时间(HH:mm)",
  31779. "type": "string"
  31780. },
  31781. "startweekday": {
  31782. "description": "起始周几",
  31783. "type": "integer"
  31784. },
  31785. "tradeweekday": {
  31786. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  31787. "type": "integer"
  31788. }
  31789. }
  31790. },
  31791. "szdz.QueryConvertLogRsp": {
  31792. "type": "object",
  31793. "required": [
  31794. "logid"
  31795. ],
  31796. "properties": {
  31797. "accountid": {
  31798. "description": "资金账户ID",
  31799. "type": "integer"
  31800. },
  31801. "clientticket": {
  31802. "description": "客户端流水号",
  31803. "type": "string"
  31804. },
  31805. "converttype": {
  31806. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  31807. "type": "integer"
  31808. },
  31809. "createtime": {
  31810. "description": "记账时间",
  31811. "type": "string"
  31812. },
  31813. "daymaxvalue": {
  31814. "description": "配置当日最大转入限制",
  31815. "type": "number"
  31816. },
  31817. "daymaxvalue2": {
  31818. "description": "配置当日最大转入限制(转入)",
  31819. "type": "number"
  31820. },
  31821. "goodscode": {
  31822. "description": "商品代码",
  31823. "type": "string"
  31824. },
  31825. "goodsname": {
  31826. "description": "商品名称",
  31827. "type": "string"
  31828. },
  31829. "handlestatus": {
  31830. "description": "处理状态",
  31831. "type": "integer"
  31832. },
  31833. "innergoodsid": {
  31834. "description": "内部商品ID",
  31835. "type": "integer"
  31836. },
  31837. "inratio": {
  31838. "description": "配置转入比值",
  31839. "type": "integer"
  31840. },
  31841. "invalue": {
  31842. "description": "目标值",
  31843. "type": "number"
  31844. },
  31845. "logid": {
  31846. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31847. "type": "integer"
  31848. },
  31849. "mobile": {
  31850. "description": "手机号码(加密存储)",
  31851. "type": "string"
  31852. },
  31853. "outergoodscode": {
  31854. "description": "外部商品代码[JD\\PD]",
  31855. "type": "string"
  31856. },
  31857. "outratio": {
  31858. "description": "配置转出比值",
  31859. "type": "integer"
  31860. },
  31861. "outvalue": {
  31862. "description": "源值",
  31863. "type": "number"
  31864. },
  31865. "pddecimalplace": {
  31866. "description": "PD小数位",
  31867. "type": "integer"
  31868. },
  31869. "qty": {
  31870. "description": "数量",
  31871. "type": "string"
  31872. },
  31873. "remark": {
  31874. "description": "备注",
  31875. "type": "string"
  31876. },
  31877. "sessionid": {
  31878. "description": "会话ID",
  31879. "type": "integer"
  31880. },
  31881. "timemaxvalue": {
  31882. "description": "配置单次最大转入限制",
  31883. "type": "number"
  31884. },
  31885. "timemaxvalue2": {
  31886. "description": "配置单次最大转入限制(转入)",
  31887. "type": "number"
  31888. },
  31889. "timeminvalue": {
  31890. "description": "配置单次最小数量限制",
  31891. "type": "number"
  31892. },
  31893. "timeminvalue2": {
  31894. "description": "配置单次最小数量限制(转入)",
  31895. "type": "number"
  31896. },
  31897. "tradedate": {
  31898. "description": "交易日(yyyyMMdd)",
  31899. "type": "string"
  31900. },
  31901. "userid": {
  31902. "description": "用户ID",
  31903. "type": "integer"
  31904. }
  31905. }
  31906. },
  31907. "szdz.QueryGoodsPickupRsp": {
  31908. "type": "object",
  31909. "required": [
  31910. "takeorderid"
  31911. ],
  31912. "properties": {
  31913. "accountid": {
  31914. "description": "账户ID",
  31915. "type": "integer"
  31916. },
  31917. "address": {
  31918. "description": "提货人详细地址",
  31919. "type": "string"
  31920. },
  31921. "auditer": {
  31922. "description": "审核人",
  31923. "type": "integer"
  31924. },
  31925. "audittime": {
  31926. "description": "审核时间",
  31927. "type": "string"
  31928. },
  31929. "cardnum": {
  31930. "description": "提货人证件号码",
  31931. "type": "string"
  31932. },
  31933. "cardtypeid": {
  31934. "description": "提货人证件类型",
  31935. "type": "integer"
  31936. },
  31937. "checkremark": {
  31938. "description": "审核备注",
  31939. "type": "string"
  31940. },
  31941. "goodscode": {
  31942. "description": "商品代码",
  31943. "type": "string"
  31944. },
  31945. "goodsid": {
  31946. "description": "商品ID",
  31947. "type": "integer"
  31948. },
  31949. "goodsname": {
  31950. "description": "商品名称",
  31951. "type": "string"
  31952. },
  31953. "handlestatus": {
  31954. "description": "处理状态",
  31955. "type": "integer"
  31956. },
  31957. "marketid": {
  31958. "description": "市场ID",
  31959. "type": "integer"
  31960. },
  31961. "phonenum": {
  31962. "description": "提货人联系方式",
  31963. "type": "string"
  31964. },
  31965. "qty": {
  31966. "description": "提货数量",
  31967. "type": "number"
  31968. },
  31969. "recivername": {
  31970. "description": "提货人姓名",
  31971. "type": "string"
  31972. },
  31973. "reqtime": {
  31974. "description": "更新时间",
  31975. "type": "string"
  31976. },
  31977. "takemode": {
  31978. "description": "提货方式 - 2:自提 3:配送",
  31979. "type": "integer"
  31980. },
  31981. "takeorderid": {
  31982. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  31983. "type": "string"
  31984. },
  31985. "takeorderstatus": {
  31986. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  31987. "type": "integer"
  31988. },
  31989. "takeremark": {
  31990. "description": "提货备注",
  31991. "type": "string"
  31992. },
  31993. "tradedate": {
  31994. "description": "交易日(yyyyMMdd)",
  31995. "type": "string"
  31996. },
  31997. "userid": {
  31998. "description": "用户ID",
  31999. "type": "integer"
  32000. }
  32001. }
  32002. },
  32003. "szdz.QueryRecieptOrderRsp": {
  32004. "type": "object",
  32005. "required": [
  32006. "ordertime"
  32007. ],
  32008. "properties": {
  32009. "accountName": {
  32010. "description": "所属账号名称(已脱敏)",
  32011. "type": "string"
  32012. },
  32013. "accountid": {
  32014. "description": "资金账号",
  32015. "type": "integer"
  32016. },
  32017. "buyorsell": {
  32018. "description": "方向 - 0:买 1:卖",
  32019. "type": "integer"
  32020. },
  32021. "enableqty": {
  32022. "description": "可摘数量",
  32023. "type": "integer"
  32024. },
  32025. "goodscode": {
  32026. "description": "商品代码",
  32027. "type": "string"
  32028. },
  32029. "goodsid": {
  32030. "description": "商品ID",
  32031. "type": "integer"
  32032. },
  32033. "goodsname": {
  32034. "description": "商品名称",
  32035. "type": "string"
  32036. },
  32037. "orderid": {
  32038. "description": "委托单号",
  32039. "type": "string"
  32040. },
  32041. "orderprice": {
  32042. "description": "委托价格",
  32043. "type": "number"
  32044. },
  32045. "ordertime": {
  32046. "description": "委托时间",
  32047. "type": "string"
  32048. },
  32049. "tradedate": {
  32050. "description": "交易日(yyyyMMdd)",
  32051. "type": "string"
  32052. }
  32053. }
  32054. },
  32055. "szdz.QuerySZDZTradePositionRsp": {
  32056. "type": "object",
  32057. "properties": {
  32058. "accountid": {
  32059. "description": "账号Id",
  32060. "type": "integer"
  32061. },
  32062. "agreeunit": {
  32063. "description": "合约单位",
  32064. "type": "number"
  32065. },
  32066. "averageprice": {
  32067. "description": "持仓均价",
  32068. "type": "number"
  32069. },
  32070. "buyorsell": {
  32071. "description": "方向 - 0:买 1:卖",
  32072. "type": "integer"
  32073. },
  32074. "closetotalqty": {
  32075. "description": "平仓总数量",
  32076. "type": "integer"
  32077. },
  32078. "curholderamount": {
  32079. "description": "当前持仓总金额",
  32080. "type": "number"
  32081. },
  32082. "curpositionqty": {
  32083. "description": "当前持仓总数量",
  32084. "type": "integer"
  32085. },
  32086. "currencyid": {
  32087. "description": "报价货币ID",
  32088. "type": "integer"
  32089. },
  32090. "curtdposition": {
  32091. "description": "期末今日头寸",
  32092. "type": "integer"
  32093. },
  32094. "decimalplace": {
  32095. "description": "报价小数位",
  32096. "type": "integer"
  32097. },
  32098. "enableqty": {
  32099. "description": "可用量",
  32100. "type": "integer"
  32101. },
  32102. "fretdposition": {
  32103. "description": "冻结今日头寸",
  32104. "type": "integer"
  32105. },
  32106. "frozenqty": {
  32107. "description": "持仓冻结数量",
  32108. "type": "integer"
  32109. },
  32110. "goodscode": {
  32111. "description": "商品代码(内部)",
  32112. "type": "string"
  32113. },
  32114. "goodsid": {
  32115. "description": "商品Id",
  32116. "type": "integer"
  32117. },
  32118. "goodsname": {
  32119. "description": "商品名称",
  32120. "type": "string"
  32121. },
  32122. "goodunit": {
  32123. "description": "报价单位",
  32124. "type": "string"
  32125. },
  32126. "goodunitid": {
  32127. "description": "报价单位ID",
  32128. "type": "integer"
  32129. },
  32130. "holderamount": {
  32131. "description": "期初持仓总金额",
  32132. "type": "number"
  32133. },
  32134. "marketid": {
  32135. "description": "市场ID",
  32136. "type": "integer"
  32137. },
  32138. "openreqqty": {
  32139. "description": "开仓申请数量",
  32140. "type": "integer"
  32141. },
  32142. "opentotalqty": {
  32143. "description": "开仓总数量",
  32144. "type": "integer"
  32145. },
  32146. "otherfrozenqty": {
  32147. "description": "持仓其他冻结数量(交割冻结)",
  32148. "type": "integer"
  32149. },
  32150. "positionqty": {
  32151. "description": "期初持仓数量",
  32152. "type": "integer"
  32153. },
  32154. "szdz3freezqty": {
  32155. "description": "尚志大宗转换冻结总数量",
  32156. "type": "integer"
  32157. },
  32158. "tnqty": {
  32159. "description": "T+N冻结总量",
  32160. "type": "integer"
  32161. },
  32162. "tnusedqty": {
  32163. "description": "T+N使用量",
  32164. "type": "integer"
  32165. },
  32166. "trademode": {
  32167. "description": "交易模式",
  32168. "type": "integer"
  32169. },
  32170. "usedmargin": {
  32171. "description": "占用保证金",
  32172. "type": "number"
  32173. }
  32174. }
  32175. },
  32176. "taaccount.QueryAmountLogRsp": {
  32177. "type": "object",
  32178. "required": [
  32179. "accountid",
  32180. "amount",
  32181. "amountadjusttype",
  32182. "autoid",
  32183. "balance",
  32184. "createtime",
  32185. "currentbalance",
  32186. "operatetype"
  32187. ],
  32188. "properties": {
  32189. "OPERATETYPENAME": {
  32190. "description": "资金操作类型名称",
  32191. "type": "string"
  32192. },
  32193. "accountid": {
  32194. "description": "资金账户ID",
  32195. "type": "integer"
  32196. },
  32197. "agoodscode": {
  32198. "description": "竞拍商品代码",
  32199. "type": "string"
  32200. },
  32201. "agoodsname": {
  32202. "description": "竞拍商品名称",
  32203. "type": "string"
  32204. },
  32205. "amount": {
  32206. "description": "资金金额",
  32207. "type": "number"
  32208. },
  32209. "amountadjusttype": {
  32210. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32211. "type": "integer"
  32212. },
  32213. "autoid": {
  32214. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32215. "type": "integer"
  32216. },
  32217. "balance": {
  32218. "description": "期初余额",
  32219. "type": "number"
  32220. },
  32221. "businesscode": {
  32222. "description": "业务编号",
  32223. "type": "integer"
  32224. },
  32225. "createtime": {
  32226. "description": "发生时间",
  32227. "type": "string"
  32228. },
  32229. "currencyid": {
  32230. "description": "币种ID",
  32231. "type": "integer"
  32232. },
  32233. "currentbalance": {
  32234. "description": "期末余额(变动后金额)",
  32235. "type": "number"
  32236. },
  32237. "dgoodscode": {
  32238. "description": "交割商品代码",
  32239. "type": "string"
  32240. },
  32241. "dgoodsname": {
  32242. "description": "交割商品名称",
  32243. "type": "string"
  32244. },
  32245. "goodscode": {
  32246. "description": "商品代码",
  32247. "type": "string"
  32248. },
  32249. "goodsid": {
  32250. "description": "商品ID",
  32251. "type": "integer"
  32252. },
  32253. "goodsname": {
  32254. "description": "商品名称",
  32255. "type": "string"
  32256. },
  32257. "marketid": {
  32258. "description": "市场ID",
  32259. "type": "integer"
  32260. },
  32261. "marketname": {
  32262. "description": "市场名称",
  32263. "type": "string"
  32264. },
  32265. "moneyticket": {
  32266. "description": "资金流水号:银行端流水号",
  32267. "type": "integer"
  32268. },
  32269. "operatetype": {
  32270. "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:营销收款",
  32271. "type": "integer"
  32272. },
  32273. "relationorderid": {
  32274. "description": "关联单号",
  32275. "type": "string"
  32276. },
  32277. "remark": {
  32278. "description": "备注",
  32279. "type": "string"
  32280. },
  32281. "trademode": {
  32282. "description": "交易模式",
  32283. "type": "integer"
  32284. }
  32285. }
  32286. },
  32287. "taaccount.QueryHisAmountLogRsp": {
  32288. "type": "object",
  32289. "required": [
  32290. "accountid",
  32291. "amount",
  32292. "amountadjusttype",
  32293. "autoid",
  32294. "balance",
  32295. "createtime",
  32296. "currentbalance",
  32297. "histradedate",
  32298. "operatetype"
  32299. ],
  32300. "properties": {
  32301. "OPERATETYPENAME": {
  32302. "description": "资金操作类型名称",
  32303. "type": "string"
  32304. },
  32305. "accountid": {
  32306. "description": "资金账户ID",
  32307. "type": "integer"
  32308. },
  32309. "agoodscode": {
  32310. "description": "竞拍商品代码",
  32311. "type": "string"
  32312. },
  32313. "agoodsname": {
  32314. "description": "竞拍商品名称",
  32315. "type": "string"
  32316. },
  32317. "amount": {
  32318. "description": "资金金额",
  32319. "type": "number"
  32320. },
  32321. "amountadjusttype": {
  32322. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32323. "type": "integer"
  32324. },
  32325. "autoid": {
  32326. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32327. "type": "integer"
  32328. },
  32329. "balance": {
  32330. "description": "期初余额",
  32331. "type": "number"
  32332. },
  32333. "businesscode": {
  32334. "description": "业务编号",
  32335. "type": "integer"
  32336. },
  32337. "createtime": {
  32338. "description": "发生时间",
  32339. "type": "string"
  32340. },
  32341. "currencyid": {
  32342. "description": "币种ID",
  32343. "type": "integer"
  32344. },
  32345. "currentbalance": {
  32346. "description": "期末余额(变动后金额)",
  32347. "type": "number"
  32348. },
  32349. "dgoodscode": {
  32350. "description": "交割商品代码",
  32351. "type": "string"
  32352. },
  32353. "dgoodsname": {
  32354. "description": "交割商品名称",
  32355. "type": "string"
  32356. },
  32357. "goodscode": {
  32358. "description": "商品代码",
  32359. "type": "string"
  32360. },
  32361. "goodsid": {
  32362. "description": "商品ID",
  32363. "type": "integer"
  32364. },
  32365. "goodsname": {
  32366. "description": "商品名称",
  32367. "type": "string"
  32368. },
  32369. "histradedate": {
  32370. "description": "历史交易日",
  32371. "type": "string"
  32372. },
  32373. "isvaliddata": {
  32374. "description": "是否有效 - 0:无效 1:有效",
  32375. "type": "integer"
  32376. },
  32377. "marketid": {
  32378. "description": "市场ID",
  32379. "type": "integer"
  32380. },
  32381. "marketname": {
  32382. "description": "市场名称",
  32383. "type": "string"
  32384. },
  32385. "moneyticket": {
  32386. "description": "资金流水号:银行端流水号",
  32387. "type": "integer"
  32388. },
  32389. "operatetype": {
  32390. "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:营销收款",
  32391. "type": "integer"
  32392. },
  32393. "relationorderid": {
  32394. "description": "关联单号",
  32395. "type": "string"
  32396. },
  32397. "remark": {
  32398. "description": "备注",
  32399. "type": "string"
  32400. },
  32401. "trademode": {
  32402. "description": "交易模式",
  32403. "type": "integer"
  32404. }
  32405. }
  32406. },
  32407. "trade.QueryRecieptOrderRsp": {
  32408. "type": "object",
  32409. "required": [
  32410. "ordertime"
  32411. ],
  32412. "properties": {
  32413. "accountName": {
  32414. "description": "所属账号名称(已脱敏)",
  32415. "type": "string"
  32416. },
  32417. "accountid": {
  32418. "description": "资金账号",
  32419. "type": "integer"
  32420. },
  32421. "buyorsell": {
  32422. "description": "方向 - 0:买 1:卖",
  32423. "type": "integer"
  32424. },
  32425. "enableqty": {
  32426. "description": "可摘数量",
  32427. "type": "integer"
  32428. },
  32429. "goodscode": {
  32430. "description": "商品代码",
  32431. "type": "string"
  32432. },
  32433. "goodsid": {
  32434. "description": "商品ID",
  32435. "type": "integer"
  32436. },
  32437. "goodsname": {
  32438. "description": "商品名称",
  32439. "type": "string"
  32440. },
  32441. "orderid": {
  32442. "description": "委托单号",
  32443. "type": "string"
  32444. },
  32445. "orderprice": {
  32446. "description": "委托价格",
  32447. "type": "number"
  32448. },
  32449. "ordertime": {
  32450. "description": "委托时间",
  32451. "type": "string"
  32452. },
  32453. "tradedate": {
  32454. "description": "交易日(yyyyMMdd)",
  32455. "type": "string"
  32456. }
  32457. }
  32458. },
  32459. "user.LoginQueryRsp": {
  32460. "type": "object",
  32461. "properties": {
  32462. "areaRoles": {
  32463. "description": "所属角色信息",
  32464. "type": "array",
  32465. "items": {
  32466. "$ref": "#/definitions/models.Arearole"
  32467. }
  32468. },
  32469. "externalExchanges": {
  32470. "description": "外部交易所",
  32471. "type": "array",
  32472. "items": {
  32473. "$ref": "#/definitions/models.Externalexchange"
  32474. }
  32475. },
  32476. "goodsgroups": {
  32477. "description": "商品组",
  32478. "type": "array",
  32479. "items": {
  32480. "$ref": "#/definitions/models.Goodsgroup"
  32481. }
  32482. },
  32483. "loginAccount": {
  32484. "description": "登录账号",
  32485. "type": "object",
  32486. "$ref": "#/definitions/models.Loginaccount"
  32487. },
  32488. "markets": {
  32489. "description": "市场",
  32490. "type": "array",
  32491. "items": {
  32492. "$ref": "#/definitions/models.Market"
  32493. }
  32494. },
  32495. "systemParams": {
  32496. "description": "系统参数",
  32497. "type": "array",
  32498. "items": {
  32499. "$ref": "#/definitions/models.Systemparam"
  32500. }
  32501. },
  32502. "userAccount": {
  32503. "description": "用户账号",
  32504. "type": "object",
  32505. "$ref": "#/definitions/models.Useraccount"
  32506. },
  32507. "userInfo": {
  32508. "description": "用户信息",
  32509. "type": "object",
  32510. "$ref": "#/definitions/models.Userinfo"
  32511. },
  32512. "username": {
  32513. "description": "用户姓名",
  32514. "type": "string"
  32515. }
  32516. }
  32517. }
  32518. },
  32519. "securityDefinitions": {
  32520. "ApiKeyAuth": {
  32521. "type": "apiKey",
  32522. "name": "Authorization",
  32523. "in": "header"
  32524. }
  32525. }
  32526. }`
  32527. type swaggerInfo struct {
  32528. Version string
  32529. Host string
  32530. BasePath string
  32531. Schemes []string
  32532. Title string
  32533. Description string
  32534. }
  32535. // SwaggerInfo holds exported Swagger Info so clients can modify it
  32536. var SwaggerInfo = swaggerInfo{
  32537. Version: "1.0",
  32538. Host: "",
  32539. BasePath: "/api",
  32540. Schemes: []string{},
  32541. Title: "MTP2.0 查询服务 API",
  32542. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  32543. }
  32544. type s struct{}
  32545. func (s *s) ReadDoc() string {
  32546. sInfo := SwaggerInfo
  32547. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  32548. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  32549. "marshal": func(v interface{}) string {
  32550. a, _ := json.Marshal(v)
  32551. return string(a)
  32552. },
  32553. }).Parse(doc)
  32554. if err != nil {
  32555. return doc
  32556. }
  32557. var tpl bytes.Buffer
  32558. if err := t.Execute(&tpl, sInfo); err != nil {
  32559. return doc
  32560. }
  32561. return tpl.String()
  32562. }
  32563. func init() {
  32564. swag.Register(swag.Name, &s{})
  32565. }