docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985
  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/QueryHoldLB": {
  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": "accountid",
  10939. "in": "query",
  10940. "required": true
  10941. }
  10942. ],
  10943. "responses": {
  10944. "200": {
  10945. "description": "OK",
  10946. "schema": {
  10947. "type": "array",
  10948. "items": {
  10949. "$ref": "#/definitions/models.WrHoldLB"
  10950. }
  10951. }
  10952. },
  10953. "500": {
  10954. "description": "Internal Server Error",
  10955. "schema": {
  10956. "$ref": "#/definitions/app.Response"
  10957. }
  10958. }
  10959. }
  10960. }
  10961. },
  10962. "/WrTrade2/QueryOrderQuote": {
  10963. "get": {
  10964. "security": [
  10965. {
  10966. "ApiKeyAuth": []
  10967. }
  10968. ],
  10969. "produces": [
  10970. "application/json"
  10971. ],
  10972. "tags": [
  10973. "仓单贸易v2"
  10974. ],
  10975. "summary": "查询大厅行情列表",
  10976. "parameters": [
  10977. {
  10978. "type": "integer",
  10979. "description": "页码",
  10980. "name": "page",
  10981. "in": "query"
  10982. },
  10983. {
  10984. "type": "integer",
  10985. "description": "每页条数",
  10986. "name": "pagesize",
  10987. "in": "query"
  10988. },
  10989. {
  10990. "type": "integer",
  10991. "description": "仓单贸易市场id",
  10992. "name": "marketid",
  10993. "in": "query"
  10994. },
  10995. {
  10996. "type": "integer",
  10997. "description": "价格方式 - 1:固定价 2-浮动价",
  10998. "name": "wrpricetype",
  10999. "in": "query",
  11000. "required": true
  11001. },
  11002. {
  11003. "type": "integer",
  11004. "description": "0:仓单预售 1:仓单贸易",
  11005. "name": "haswr",
  11006. "in": "query",
  11007. "required": true
  11008. },
  11009. {
  11010. "type": "string",
  11011. "description": "商品名称(筛选条件)",
  11012. "name": "wrstandardname",
  11013. "in": "query"
  11014. },
  11015. {
  11016. "type": "string",
  11017. "description": "品牌名称(筛选条件)",
  11018. "name": "brandname",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "integer",
  11023. "description": "仓库id(筛选条件)",
  11024. "name": "warehouseid",
  11025. "in": "query"
  11026. }
  11027. ],
  11028. "responses": {
  11029. "200": {
  11030. "description": "OK",
  11031. "schema": {
  11032. "type": "array",
  11033. "items": {
  11034. "$ref": "#/definitions/models.WrOrderQuote"
  11035. }
  11036. }
  11037. },
  11038. "500": {
  11039. "description": "Internal Server Error",
  11040. "schema": {
  11041. "$ref": "#/definitions/app.Response"
  11042. }
  11043. }
  11044. }
  11045. }
  11046. },
  11047. "/WrTrade2/QueryOrderQuoteDetail": {
  11048. "get": {
  11049. "security": [
  11050. {
  11051. "ApiKeyAuth": []
  11052. }
  11053. ],
  11054. "produces": [
  11055. "application/json"
  11056. ],
  11057. "tags": [
  11058. "仓单贸易v2"
  11059. ],
  11060. "summary": "查询买卖大厅",
  11061. "parameters": [
  11062. {
  11063. "type": "integer",
  11064. "description": "页码",
  11065. "name": "page",
  11066. "in": "query"
  11067. },
  11068. {
  11069. "type": "integer",
  11070. "description": "每页条数",
  11071. "name": "pagesize",
  11072. "in": "query"
  11073. },
  11074. {
  11075. "type": "integer",
  11076. "description": "仓单贸易市场id",
  11077. "name": "marketid",
  11078. "in": "query"
  11079. },
  11080. {
  11081. "type": "integer",
  11082. "description": "价格方式 - 1:固定价 2-浮动价",
  11083. "name": "wrpricetype",
  11084. "in": "query",
  11085. "required": true
  11086. },
  11087. {
  11088. "type": "integer",
  11089. "description": "0:仓单预售 1:仓单贸易",
  11090. "name": "haswr",
  11091. "in": "query",
  11092. "required": true
  11093. },
  11094. {
  11095. "type": "integer",
  11096. "description": "仓单要素id",
  11097. "name": "wrfactortypeid",
  11098. "in": "query",
  11099. "required": true
  11100. },
  11101. {
  11102. "type": "integer",
  11103. "description": "期货商品id",
  11104. "name": "goodsid",
  11105. "in": "query",
  11106. "required": true
  11107. },
  11108. {
  11109. "type": "integer",
  11110. "description": "买卖方向 0-买 1-卖",
  11111. "name": "buyorsell",
  11112. "in": "query",
  11113. "required": true
  11114. }
  11115. ],
  11116. "responses": {
  11117. "200": {
  11118. "description": "OK",
  11119. "schema": {
  11120. "type": "array",
  11121. "items": {
  11122. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11123. }
  11124. }
  11125. },
  11126. "500": {
  11127. "description": "Internal Server Error",
  11128. "schema": {
  11129. "$ref": "#/definitions/app.Response"
  11130. }
  11131. }
  11132. }
  11133. }
  11134. },
  11135. "/WrTrade2/QueryPerformancePlan": {
  11136. "get": {
  11137. "security": [
  11138. {
  11139. "ApiKeyAuth": []
  11140. }
  11141. ],
  11142. "produces": [
  11143. "application/json"
  11144. ],
  11145. "tags": [
  11146. "仓单贸易v2"
  11147. ],
  11148. "summary": "查询履约信息",
  11149. "parameters": [
  11150. {
  11151. "type": "integer",
  11152. "description": "用户id",
  11153. "name": "userid",
  11154. "in": "query",
  11155. "required": true
  11156. },
  11157. {
  11158. "type": "integer",
  11159. "description": "买卖方向 0-买 1-卖",
  11160. "name": "buyorsell",
  11161. "in": "query",
  11162. "required": true
  11163. }
  11164. ],
  11165. "responses": {
  11166. "200": {
  11167. "description": "OK",
  11168. "schema": {
  11169. "type": "array",
  11170. "items": {
  11171. "$ref": "#/definitions/models.WrPerformancePlan"
  11172. }
  11173. }
  11174. },
  11175. "500": {
  11176. "description": "Internal Server Error",
  11177. "schema": {
  11178. "$ref": "#/definitions/app.Response"
  11179. }
  11180. }
  11181. }
  11182. }
  11183. },
  11184. "/WrTrade2/QueryWrGoodsInfo": {
  11185. "get": {
  11186. "security": [
  11187. {
  11188. "ApiKeyAuth": []
  11189. }
  11190. ],
  11191. "produces": [
  11192. "application/json"
  11193. ],
  11194. "tags": [
  11195. "仓单贸易v2"
  11196. ],
  11197. "summary": "查询仓单商品信息",
  11198. "parameters": [
  11199. {
  11200. "type": "integer",
  11201. "description": "仓单贸易市场id",
  11202. "name": "marketid",
  11203. "in": "query"
  11204. },
  11205. {
  11206. "type": "integer",
  11207. "description": "0:仓单预售 1:仓单贸易",
  11208. "name": "haswr",
  11209. "in": "query",
  11210. "required": true
  11211. },
  11212. {
  11213. "type": "integer",
  11214. "description": "仓单要素id",
  11215. "name": "wrfactortypeid",
  11216. "in": "query",
  11217. "required": true
  11218. }
  11219. ],
  11220. "responses": {
  11221. "200": {
  11222. "description": "OK",
  11223. "schema": {
  11224. "type": "array",
  11225. "items": {
  11226. "$ref": "#/definitions/models.WrGoodsInfo"
  11227. }
  11228. }
  11229. },
  11230. "500": {
  11231. "description": "Internal Server Error",
  11232. "schema": {
  11233. "$ref": "#/definitions/app.Response"
  11234. }
  11235. }
  11236. }
  11237. }
  11238. },
  11239. "/WrTrade2/QueryWrOrderDetail": {
  11240. "get": {
  11241. "security": [
  11242. {
  11243. "ApiKeyAuth": []
  11244. }
  11245. ],
  11246. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11247. "produces": [
  11248. "application/json"
  11249. ],
  11250. "tags": [
  11251. "仓单贸易v2"
  11252. ],
  11253. "summary": "查询仓单委托单(挂单)",
  11254. "parameters": [
  11255. {
  11256. "type": "integer",
  11257. "description": "页码",
  11258. "name": "page",
  11259. "in": "query"
  11260. },
  11261. {
  11262. "type": "integer",
  11263. "description": "每页条数",
  11264. "name": "pagesize",
  11265. "in": "query"
  11266. },
  11267. {
  11268. "type": "integer",
  11269. "description": "用户id",
  11270. "name": "userid",
  11271. "in": "query",
  11272. "required": true
  11273. },
  11274. {
  11275. "type": "integer",
  11276. "description": "仓单贸易市场id",
  11277. "name": "marketid",
  11278. "in": "query"
  11279. },
  11280. {
  11281. "type": "integer",
  11282. "description": "0:仓单预售 1:仓单贸易",
  11283. "name": "haswr",
  11284. "in": "query",
  11285. "required": true
  11286. }
  11287. ],
  11288. "responses": {
  11289. "200": {
  11290. "description": "OK",
  11291. "schema": {
  11292. "type": "array",
  11293. "items": {
  11294. "$ref": "#/definitions/models.WrOrderDetail"
  11295. }
  11296. }
  11297. },
  11298. "500": {
  11299. "description": "Internal Server Error",
  11300. "schema": {
  11301. "$ref": "#/definitions/app.Response"
  11302. }
  11303. }
  11304. }
  11305. }
  11306. },
  11307. "/WrTrade2/QueryWrPosition": {
  11308. "get": {
  11309. "security": [
  11310. {
  11311. "ApiKeyAuth": []
  11312. }
  11313. ],
  11314. "description": "页面 现货仓单-\u003e现货汇总/库存汇总/现货明细 ; 预售仓单-\u003e订单汇总",
  11315. "produces": [
  11316. "application/json"
  11317. ],
  11318. "tags": [
  11319. "仓单贸易v2"
  11320. ],
  11321. "summary": "查询现货(预售)仓单持仓",
  11322. "parameters": [
  11323. {
  11324. "type": "integer",
  11325. "description": "用户id",
  11326. "name": "userid",
  11327. "in": "query",
  11328. "required": true
  11329. },
  11330. {
  11331. "type": "integer",
  11332. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细",
  11333. "name": "querytype",
  11334. "in": "query",
  11335. "required": true
  11336. }
  11337. ],
  11338. "responses": {
  11339. "200": {
  11340. "description": "OK",
  11341. "schema": {
  11342. "type": "array",
  11343. "items": {
  11344. "$ref": "#/definitions/models.WrPosition"
  11345. }
  11346. }
  11347. },
  11348. "500": {
  11349. "description": "Internal Server Error",
  11350. "schema": {
  11351. "$ref": "#/definitions/app.Response"
  11352. }
  11353. }
  11354. }
  11355. }
  11356. },
  11357. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11358. "get": {
  11359. "security": [
  11360. {
  11361. "ApiKeyAuth": []
  11362. }
  11363. ],
  11364. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11365. "produces": [
  11366. "application/json"
  11367. ],
  11368. "tags": [
  11369. "仓单贸易v2"
  11370. ],
  11371. "summary": "查询指定成交",
  11372. "parameters": [
  11373. {
  11374. "type": "integer",
  11375. "description": "页码",
  11376. "name": "page",
  11377. "in": "query"
  11378. },
  11379. {
  11380. "type": "integer",
  11381. "description": "每页条数",
  11382. "name": "pagesize",
  11383. "in": "query"
  11384. },
  11385. {
  11386. "type": "integer",
  11387. "description": "用户id",
  11388. "name": "userid",
  11389. "in": "query",
  11390. "required": true
  11391. },
  11392. {
  11393. "type": "integer",
  11394. "description": "仓单贸易市场id",
  11395. "name": "marketid",
  11396. "in": "query"
  11397. },
  11398. {
  11399. "type": "integer",
  11400. "description": "0:仓单预售 1:仓单贸易",
  11401. "name": "haswr",
  11402. "in": "query",
  11403. "required": true
  11404. }
  11405. ],
  11406. "responses": {
  11407. "200": {
  11408. "description": "OK",
  11409. "schema": {
  11410. "type": "array",
  11411. "items": {
  11412. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11413. }
  11414. }
  11415. },
  11416. "500": {
  11417. "description": "Internal Server Error",
  11418. "schema": {
  11419. "$ref": "#/definitions/app.Response"
  11420. }
  11421. }
  11422. }
  11423. }
  11424. },
  11425. "/WrTrade2/QueryWrTradeDetail": {
  11426. "get": {
  11427. "security": [
  11428. {
  11429. "ApiKeyAuth": []
  11430. }
  11431. ],
  11432. "produces": [
  11433. "application/json"
  11434. ],
  11435. "tags": [
  11436. "仓单贸易v2"
  11437. ],
  11438. "summary": "查询仓单成交明细",
  11439. "parameters": [
  11440. {
  11441. "type": "integer",
  11442. "description": "页码",
  11443. "name": "page",
  11444. "in": "query"
  11445. },
  11446. {
  11447. "type": "integer",
  11448. "description": "每页条数",
  11449. "name": "pagesize",
  11450. "in": "query"
  11451. },
  11452. {
  11453. "type": "integer",
  11454. "description": "用户id",
  11455. "name": "userid",
  11456. "in": "query",
  11457. "required": true
  11458. },
  11459. {
  11460. "type": "integer",
  11461. "description": "仓单贸易市场id",
  11462. "name": "marketid",
  11463. "in": "query"
  11464. },
  11465. {
  11466. "type": "integer",
  11467. "description": "0:仓单预售 1:仓单贸易",
  11468. "name": "haswr",
  11469. "in": "query",
  11470. "required": true
  11471. }
  11472. ],
  11473. "responses": {
  11474. "200": {
  11475. "description": "OK",
  11476. "schema": {
  11477. "type": "array",
  11478. "items": {
  11479. "$ref": "#/definitions/models.WrTradeDetail"
  11480. }
  11481. }
  11482. },
  11483. "500": {
  11484. "description": "Internal Server Error",
  11485. "schema": {
  11486. "$ref": "#/definitions/app.Response"
  11487. }
  11488. }
  11489. }
  11490. }
  11491. }
  11492. },
  11493. "definitions": {
  11494. "app.Response": {
  11495. "type": "object",
  11496. "properties": {
  11497. "code": {
  11498. "type": "integer"
  11499. },
  11500. "data": {
  11501. "type": "object"
  11502. },
  11503. "msg": {
  11504. "type": "string"
  11505. },
  11506. "page": {
  11507. "description": "页码",
  11508. "type": "integer"
  11509. },
  11510. "pagesize": {
  11511. "description": "每页条数",
  11512. "type": "integer"
  11513. },
  11514. "total": {
  11515. "description": "总条数",
  11516. "type": "integer"
  11517. }
  11518. }
  11519. },
  11520. "common.ClientMenu": {
  11521. "type": "object",
  11522. "properties": {
  11523. "children": {
  11524. "description": "子菜单列表",
  11525. "type": "array",
  11526. "items": {
  11527. "$ref": "#/definitions/common.ClientMenu"
  11528. }
  11529. },
  11530. "code": {
  11531. "description": "ID",
  11532. "type": "string"
  11533. },
  11534. "isshow": {
  11535. "description": "是否显示",
  11536. "type": "boolean"
  11537. },
  11538. "remark": {
  11539. "description": "备注",
  11540. "type": "string"
  11541. },
  11542. "rulekey": {
  11543. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11544. "type": "string"
  11545. },
  11546. "sort": {
  11547. "description": "排序",
  11548. "type": "integer"
  11549. },
  11550. "title": {
  11551. "description": "标题",
  11552. "type": "string"
  11553. },
  11554. "type": {
  11555. "description": "类型,1:菜单 2:按钮",
  11556. "type": "integer"
  11557. },
  11558. "url": {
  11559. "description": "URL",
  11560. "type": "string"
  11561. }
  11562. }
  11563. },
  11564. "common.QueryImageConfigsRsp": {
  11565. "type": "object",
  11566. "required": [
  11567. "configid"
  11568. ],
  11569. "properties": {
  11570. "areauserid": {
  11571. "description": "所属机构ID",
  11572. "type": "integer"
  11573. },
  11574. "configid": {
  11575. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11576. "type": "integer"
  11577. },
  11578. "createdate": {
  11579. "description": "创建时间",
  11580. "type": "string"
  11581. },
  11582. "creatorid": {
  11583. "description": "创建人",
  11584. "type": "integer"
  11585. },
  11586. "imagepath": {
  11587. "description": "图片",
  11588. "type": "string"
  11589. },
  11590. "imagetype": {
  11591. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11592. "type": "integer"
  11593. },
  11594. "isshow": {
  11595. "description": "是否展示 - 0:不展示 1:展示",
  11596. "type": "integer"
  11597. },
  11598. "marketid": {
  11599. "description": "市场ID",
  11600. "type": "integer"
  11601. },
  11602. "modifierid": {
  11603. "description": "操作人",
  11604. "type": "integer"
  11605. },
  11606. "sort": {
  11607. "description": "排序",
  11608. "type": "integer"
  11609. },
  11610. "title": {
  11611. "description": "标题",
  11612. "type": "string"
  11613. },
  11614. "trademode": {
  11615. "description": "交易模式",
  11616. "type": "integer"
  11617. },
  11618. "updatedate": {
  11619. "description": "修改时间",
  11620. "type": "string"
  11621. },
  11622. "url": {
  11623. "description": "链接(地址或商品ID)",
  11624. "type": "string"
  11625. },
  11626. "urltype": {
  11627. "description": "链接类型 - 1:直接地址 2:商品ID",
  11628. "type": "integer"
  11629. }
  11630. }
  11631. },
  11632. "common.QueryNoticeRsp": {
  11633. "type": "object",
  11634. "required": [
  11635. "autoid"
  11636. ],
  11637. "properties": {
  11638. "auditoruserid": {
  11639. "description": "审核人",
  11640. "type": "integer"
  11641. },
  11642. "auditremark": {
  11643. "description": "审核备注",
  11644. "type": "string"
  11645. },
  11646. "audittime": {
  11647. "description": "审核日期",
  11648. "type": "string"
  11649. },
  11650. "autoid": {
  11651. "description": "自增ID",
  11652. "type": "integer"
  11653. },
  11654. "content": {
  11655. "description": "内容",
  11656. "type": "string"
  11657. },
  11658. "createtime": {
  11659. "description": "创建时间",
  11660. "type": "string"
  11661. },
  11662. "creatorid": {
  11663. "description": "建仓人",
  11664. "type": "integer"
  11665. },
  11666. "endtime": {
  11667. "description": "结束时间",
  11668. "type": "string"
  11669. },
  11670. "istop": {
  11671. "description": "是否置顶 - 0:不置顶 1:置顶",
  11672. "type": "integer"
  11673. },
  11674. "msgiconurl": {
  11675. "description": "消息图标Url",
  11676. "type": "string"
  11677. },
  11678. "msgtype": {
  11679. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11680. "type": "integer"
  11681. },
  11682. "publisher": {
  11683. "description": "消息发布者",
  11684. "type": "string"
  11685. },
  11686. "readed": {
  11687. "description": "是否已读",
  11688. "type": "boolean"
  11689. },
  11690. "scheduletime": {
  11691. "description": "计划发送时间",
  11692. "type": "string"
  11693. },
  11694. "sendtype": {
  11695. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11696. "type": "integer"
  11697. },
  11698. "sentstatus": {
  11699. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11700. "type": "integer"
  11701. },
  11702. "title": {
  11703. "description": "标题",
  11704. "type": "string"
  11705. },
  11706. "userid": {
  11707. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11708. "type": "integer"
  11709. }
  11710. }
  11711. },
  11712. "common.QueryProvincesAndCitiesRsp": {
  11713. "type": "object",
  11714. "properties": {
  11715. "cities": {
  11716. "description": "市",
  11717. "type": "array",
  11718. "items": {
  11719. "$ref": "#/definitions/models.Division"
  11720. }
  11721. },
  11722. "province": {
  11723. "description": "省",
  11724. "type": "object",
  11725. "$ref": "#/definitions/models.Division"
  11726. }
  11727. }
  11728. },
  11729. "common.QueryTableDefineRsp": {
  11730. "type": "object",
  11731. "required": [
  11732. "tablekey"
  11733. ],
  11734. "properties": {
  11735. "columns": {
  11736. "description": "列头信息数组",
  11737. "type": "array",
  11738. "items": {
  11739. "$ref": "#/definitions/models.Tablecolumnconfig"
  11740. }
  11741. },
  11742. "remark": {
  11743. "description": "Remark",
  11744. "type": "string"
  11745. },
  11746. "tabelmenu": {
  11747. "description": "列表菜单",
  11748. "type": "string"
  11749. },
  11750. "tablekey": {
  11751. "description": "列表Key",
  11752. "type": "string"
  11753. },
  11754. "tablename": {
  11755. "description": "列表名称",
  11756. "type": "string"
  11757. },
  11758. "tabletype": {
  11759. "description": "列表类型 - 1:管理端 2:终端",
  11760. "type": "integer"
  11761. }
  11762. }
  11763. },
  11764. "common.QueryTraderMenuRsp": {
  11765. "type": "object",
  11766. "properties": {
  11767. "OperationMenu": {
  11768. "description": "功能菜单",
  11769. "type": "array",
  11770. "items": {
  11771. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11772. }
  11773. },
  11774. "QuoteMenu": {
  11775. "description": "报价牌分类菜单",
  11776. "type": "array",
  11777. "items": {
  11778. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11779. }
  11780. }
  11781. }
  11782. },
  11783. "cptrade.Cptradepositioncancel": {
  11784. "type": "object",
  11785. "required": [
  11786. "cancelid"
  11787. ],
  11788. "properties": {
  11789. "accountid": {
  11790. "description": "申请人账户ID",
  11791. "type": "integer"
  11792. },
  11793. "applystatus": {
  11794. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11795. "type": "integer"
  11796. },
  11797. "applytime": {
  11798. "description": "申请时间",
  11799. "type": "string"
  11800. },
  11801. "cancelid": {
  11802. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11803. "type": "integer"
  11804. },
  11805. "cancelqty": {
  11806. "description": "注销数量",
  11807. "type": "integer"
  11808. },
  11809. "createtime": {
  11810. "description": "创建时间",
  11811. "type": "string"
  11812. },
  11813. "creatorid": {
  11814. "description": "创建人ID",
  11815. "type": "integer"
  11816. },
  11817. "creatorname": {
  11818. "description": "创建人",
  11819. "type": "string"
  11820. },
  11821. "goodscode": {
  11822. "description": "订单商品代码",
  11823. "type": "string"
  11824. },
  11825. "goodsid": {
  11826. "description": "商品ID",
  11827. "type": "integer"
  11828. },
  11829. "goodsname": {
  11830. "description": "订单商品名称",
  11831. "type": "string"
  11832. },
  11833. "goodunit": {
  11834. "description": "报价单位",
  11835. "type": "string"
  11836. },
  11837. "handlestatus": {
  11838. "description": "处理状态",
  11839. "type": "integer"
  11840. },
  11841. "marketid": {
  11842. "description": "市场ID",
  11843. "type": "integer"
  11844. },
  11845. "marketname": {
  11846. "description": "市场名称",
  11847. "type": "string"
  11848. },
  11849. "tradedate": {
  11850. "description": "交易日(yyyyMMdd)",
  11851. "type": "string"
  11852. },
  11853. "userid": {
  11854. "description": "申请人ID",
  11855. "type": "integer"
  11856. }
  11857. }
  11858. },
  11859. "cptrade.Cptradepresaleapply": {
  11860. "type": "object",
  11861. "required": [
  11862. "applyid"
  11863. ],
  11864. "properties": {
  11865. "accountid": {
  11866. "description": "申请人账户ID",
  11867. "type": "integer"
  11868. },
  11869. "applyid": {
  11870. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  11871. "type": "integer"
  11872. },
  11873. "applyremark": {
  11874. "description": "申请备注",
  11875. "type": "string"
  11876. },
  11877. "applystatus": {
  11878. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11879. "type": "integer"
  11880. },
  11881. "applytime": {
  11882. "description": "申请时间",
  11883. "type": "string"
  11884. },
  11885. "attachmenturl": {
  11886. "description": "附件地址",
  11887. "type": "string"
  11888. },
  11889. "endtime": {
  11890. "description": "预售结束时间",
  11891. "type": "string"
  11892. },
  11893. "goodscode": {
  11894. "description": "商品代码",
  11895. "type": "string"
  11896. },
  11897. "goodsid": {
  11898. "description": "商品ID",
  11899. "type": "integer"
  11900. },
  11901. "goodsname": {
  11902. "description": "商品名称",
  11903. "type": "string"
  11904. },
  11905. "goodunit": {
  11906. "description": "报价单位",
  11907. "type": "string"
  11908. },
  11909. "handlestatus": {
  11910. "description": "处理状态",
  11911. "type": "integer"
  11912. },
  11913. "marketid": {
  11914. "description": "预售市场ID",
  11915. "type": "integer"
  11916. },
  11917. "marketname": {
  11918. "description": "预售市场名称",
  11919. "type": "string"
  11920. },
  11921. "presaleqty": {
  11922. "description": "预售数量",
  11923. "type": "integer"
  11924. },
  11925. "relatedgoodscode": {
  11926. "description": "关联交易合约代码",
  11927. "type": "string"
  11928. },
  11929. "relatedgoodsid": {
  11930. "description": "关联交易合约ID",
  11931. "type": "integer"
  11932. },
  11933. "relatedgoodsname": {
  11934. "description": "关联交易合约名称",
  11935. "type": "string"
  11936. },
  11937. "starttime": {
  11938. "description": "预售开始时间",
  11939. "type": "string"
  11940. },
  11941. "tradedate": {
  11942. "description": "交易日(yyyyMMdd)",
  11943. "type": "string"
  11944. },
  11945. "trademode": {
  11946. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  11947. "type": "integer"
  11948. },
  11949. "userid": {
  11950. "description": "申请人ID",
  11951. "type": "integer"
  11952. }
  11953. }
  11954. },
  11955. "cptrade.Cptradeusergoodsdata": {
  11956. "type": "object",
  11957. "required": [
  11958. "accountid",
  11959. "goodsid"
  11960. ],
  11961. "properties": {
  11962. "EnabledQty": {
  11963. "description": "可用量",
  11964. "type": "integer"
  11965. },
  11966. "GoodsCode": {
  11967. "description": "订单商品代码",
  11968. "type": "string"
  11969. },
  11970. "GoodsName": {
  11971. "description": "订单商品名称",
  11972. "type": "string"
  11973. },
  11974. "WRStandardCode": {
  11975. "description": "仓单标准代码",
  11976. "type": "string"
  11977. },
  11978. "WRStandardName": {
  11979. "description": "仓单标准名称",
  11980. "type": "string"
  11981. },
  11982. "accountid": {
  11983. "description": "账户ID",
  11984. "type": "integer"
  11985. },
  11986. "cancelqty": {
  11987. "description": "注销量",
  11988. "type": "integer"
  11989. },
  11990. "curpresaleqty": {
  11991. "description": "当前预售量",
  11992. "type": "integer"
  11993. },
  11994. "deliveryqty": {
  11995. "description": "交割量",
  11996. "type": "integer"
  11997. },
  11998. "freezeamount": {
  11999. "description": "冻结金额",
  12000. "type": "number"
  12001. },
  12002. "goodsid": {
  12003. "description": "商品ID",
  12004. "type": "integer"
  12005. },
  12006. "goodunit": {
  12007. "description": "报价单位",
  12008. "type": "string"
  12009. },
  12010. "hasspotfreeze": {
  12011. "description": "是否有现货冻结 - 0:否 1:有",
  12012. "type": "integer"
  12013. },
  12014. "inqty": {
  12015. "description": "转入量(总数量)",
  12016. "type": "integer"
  12017. },
  12018. "marketid": {
  12019. "description": "市场ID",
  12020. "type": "integer"
  12021. },
  12022. "presaledamount": {
  12023. "description": "已预售总金额",
  12024. "type": "integer"
  12025. },
  12026. "presaledqty": {
  12027. "description": "已预售量",
  12028. "type": "integer"
  12029. },
  12030. "userid": {
  12031. "description": "用户ID",
  12032. "type": "integer"
  12033. },
  12034. "wrstandardid": {
  12035. "description": "仓单标准ID",
  12036. "type": "integer"
  12037. }
  12038. }
  12039. },
  12040. "cptrade.QueryCPTradeMyBidRsp": {
  12041. "type": "object",
  12042. "required": [
  12043. "accountid",
  12044. "goodsid",
  12045. "marketid",
  12046. "orderid",
  12047. "orderqty",
  12048. "ordertime",
  12049. "tradeprice",
  12050. "tradeqty"
  12051. ],
  12052. "properties": {
  12053. "accountid": {
  12054. "description": "账户ID[报价币种]",
  12055. "type": "integer"
  12056. },
  12057. "goodsid": {
  12058. "description": "商品ID",
  12059. "type": "integer"
  12060. },
  12061. "goodunit": {
  12062. "description": "报价单位",
  12063. "type": "string"
  12064. },
  12065. "marketid": {
  12066. "description": "市场ID",
  12067. "type": "integer"
  12068. },
  12069. "orderid": {
  12070. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12071. "type": "integer"
  12072. },
  12073. "orderprice": {
  12074. "description": "委托价格",
  12075. "type": "number"
  12076. },
  12077. "orderqty": {
  12078. "description": "委托数量",
  12079. "type": "integer"
  12080. },
  12081. "ordertime": {
  12082. "description": "委托时间",
  12083. "type": "string"
  12084. },
  12085. "ordertotalprice": {
  12086. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12087. "type": "number"
  12088. },
  12089. "ordertotalweight": {
  12090. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12091. "type": "integer"
  12092. },
  12093. "totaltotalprice": {
  12094. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12095. "type": "number"
  12096. },
  12097. "tradeprice": {
  12098. "description": "成交价格",
  12099. "type": "number"
  12100. },
  12101. "tradeqty": {
  12102. "description": "成交数量",
  12103. "type": "integer"
  12104. }
  12105. }
  12106. },
  12107. "cptrade.QueryCPTradeOrderDetailRsq": {
  12108. "type": "object",
  12109. "required": [
  12110. "accountid",
  12111. "buildtype",
  12112. "buyorsell",
  12113. "goodsid",
  12114. "marketid",
  12115. "memberuserid",
  12116. "operatetype",
  12117. "orderqty",
  12118. "ordertime",
  12119. "pricemode",
  12120. "strorderid",
  12121. "tradedate",
  12122. "validtype"
  12123. ],
  12124. "properties": {
  12125. "accountid": {
  12126. "description": "账户ID[报价币种]",
  12127. "type": "integer"
  12128. },
  12129. "buildtype": {
  12130. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12131. "type": "integer"
  12132. },
  12133. "buyorsell": {
  12134. "description": "买卖 - 0:买 1:卖",
  12135. "type": "integer"
  12136. },
  12137. "cancelorderid": {
  12138. "description": "撤单单号(撤单时填写)",
  12139. "type": "integer"
  12140. },
  12141. "cancelqty": {
  12142. "description": "撤单数量",
  12143. "type": "integer"
  12144. },
  12145. "clientordertime": {
  12146. "description": "客户端委托时间",
  12147. "type": "string"
  12148. },
  12149. "clientticket": {
  12150. "description": "客户端流水号",
  12151. "type": "string"
  12152. },
  12153. "clienttype": {
  12154. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12155. "type": "integer"
  12156. },
  12157. "closeexchagechargevalue": {
  12158. "description": "平仓交易所手续费设置值",
  12159. "type": "number"
  12160. },
  12161. "closefeealgorithm": {
  12162. "description": "平仓手续费收取方式 1:比率 2:固定",
  12163. "type": "integer"
  12164. },
  12165. "closefreezecharge": {
  12166. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12167. "type": "number"
  12168. },
  12169. "closememberchargevalue": {
  12170. "description": "平仓会员手续费设置值",
  12171. "type": "number"
  12172. },
  12173. "closeqty": {
  12174. "description": "平仓数量(先建后平操作 需要记录)",
  12175. "type": "integer"
  12176. },
  12177. "closetradeqty": {
  12178. "description": "平仓成交数量(先建后平操作,需要记录)",
  12179. "type": "integer"
  12180. },
  12181. "closeunfreezecharge": {
  12182. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12183. "type": "number"
  12184. },
  12185. "delistingtype": {
  12186. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12187. "type": "integer"
  12188. },
  12189. "freezecharge": {
  12190. "description": "冻结手续费",
  12191. "type": "number"
  12192. },
  12193. "freezemargin": {
  12194. "description": "冻结保证金(冻结交易金额)",
  12195. "type": "number"
  12196. },
  12197. "gcaccountid": {
  12198. "description": "账户ID[合约币种]",
  12199. "type": "integer"
  12200. },
  12201. "goodsid": {
  12202. "description": "商品ID",
  12203. "type": "integer"
  12204. },
  12205. "isconfirmexercise": {
  12206. "description": "是否确认行权- 0:否 1:是",
  12207. "type": "integer"
  12208. },
  12209. "ispreexercise": {
  12210. "description": "是否预申报- 0:否 1:是",
  12211. "type": "integer"
  12212. },
  12213. "listingselecttype": {
  12214. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12215. "type": "integer"
  12216. },
  12217. "marginalgorithm": {
  12218. "description": "保证金收取方式 1:比率 2:固定",
  12219. "type": "integer"
  12220. },
  12221. "marginvalue": {
  12222. "description": "即市保证金设置值",
  12223. "type": "number"
  12224. },
  12225. "marketid": {
  12226. "description": "市场ID",
  12227. "type": "integer"
  12228. },
  12229. "marketmaxsub": {
  12230. "description": "市价最大偏移范围",
  12231. "type": "number"
  12232. },
  12233. "memberuserid": {
  12234. "description": "所属会员UserID",
  12235. "type": "integer"
  12236. },
  12237. "openexchagechargevalue": {
  12238. "description": "建仓交易所手续费设置值",
  12239. "type": "number"
  12240. },
  12241. "openfeealgorithm": {
  12242. "description": "建仓手续费收取方式 1:比率 2:固定",
  12243. "type": "integer"
  12244. },
  12245. "openfreezecharge": {
  12246. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12247. "type": "number"
  12248. },
  12249. "openmemberchargevalue": {
  12250. "description": "建仓会员手续费设置值",
  12251. "type": "number"
  12252. },
  12253. "openqty": {
  12254. "description": "开仓数量(先建后平操作,需要记录)",
  12255. "type": "integer"
  12256. },
  12257. "opentradeqty": {
  12258. "description": "开仓成交数量(先建后平操作,需要记录)",
  12259. "type": "integer"
  12260. },
  12261. "openunfreezecharge": {
  12262. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12263. "type": "number"
  12264. },
  12265. "operatetype": {
  12266. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12267. "type": "integer"
  12268. },
  12269. "operatorid": {
  12270. "description": "登录账号(LoginID)",
  12271. "type": "integer"
  12272. },
  12273. "optiontype": {
  12274. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12275. "type": "integer"
  12276. },
  12277. "orderprice": {
  12278. "description": "委托价格",
  12279. "type": "number"
  12280. },
  12281. "orderqty": {
  12282. "description": "委托数量",
  12283. "type": "integer"
  12284. },
  12285. "ordersrc": {
  12286. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12287. "type": "integer"
  12288. },
  12289. "orderstatus": {
  12290. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12291. "type": "integer"
  12292. },
  12293. "ordertime": {
  12294. "description": "委托时间",
  12295. "type": "string"
  12296. },
  12297. "preexerciseprice": {
  12298. "description": "预申报价格",
  12299. "type": "number"
  12300. },
  12301. "premium": {
  12302. "description": "权利金",
  12303. "type": "number"
  12304. },
  12305. "preorderid": {
  12306. "description": "关联预埋单号(止盈止损单时填写)",
  12307. "type": "integer"
  12308. },
  12309. "pricemode": {
  12310. "description": "取价方式 - 1:市价 2: 限价",
  12311. "type": "integer"
  12312. },
  12313. "quoteid": {
  12314. "description": "报价单ID",
  12315. "type": "integer"
  12316. },
  12317. "relatedid": {
  12318. "description": "关联单号(交割单)",
  12319. "type": "integer"
  12320. },
  12321. "retcode": {
  12322. "description": "错误代码",
  12323. "type": "integer"
  12324. },
  12325. "sessionid": {
  12326. "description": "会话ID",
  12327. "type": "integer"
  12328. },
  12329. "strorderid": {
  12330. "description": "委托单号",
  12331. "type": "string"
  12332. },
  12333. "tradedate": {
  12334. "description": "交易日(yyyyMMdd)",
  12335. "type": "string"
  12336. },
  12337. "tradeproperty": {
  12338. "description": "交易属性",
  12339. "type": "integer"
  12340. },
  12341. "tradeqty": {
  12342. "description": "成交数量",
  12343. "type": "integer"
  12344. },
  12345. "unfreezecharge": {
  12346. "description": "解冻手续费",
  12347. "type": "number"
  12348. },
  12349. "unfreezemargin": {
  12350. "description": "解冻保证金",
  12351. "type": "number"
  12352. },
  12353. "updatetime": {
  12354. "description": "更新时间",
  12355. "type": "string"
  12356. },
  12357. "uuid": {
  12358. "description": "发起端唯一id",
  12359. "type": "string"
  12360. },
  12361. "validtime": {
  12362. "description": "有效期限",
  12363. "type": "string"
  12364. },
  12365. "validtype": {
  12366. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12367. "type": "integer"
  12368. },
  12369. "volumetype": {
  12370. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12371. "type": "integer"
  12372. }
  12373. }
  12374. },
  12375. "cptrade.QueryMyCPTradeGoodsRsp": {
  12376. "type": "object",
  12377. "required": [
  12378. "goodscode",
  12379. "goodsid",
  12380. "goodsname",
  12381. "marketid",
  12382. "relatedgoodscode",
  12383. "relatedgoodsname"
  12384. ],
  12385. "properties": {
  12386. "accountid": {
  12387. "description": "卖方账户ID",
  12388. "type": "integer"
  12389. },
  12390. "agreeunit": {
  12391. "description": "合约单位",
  12392. "type": "number"
  12393. },
  12394. "applyid": {
  12395. "description": "关联申请ID",
  12396. "type": "integer"
  12397. },
  12398. "attachmenturl": {
  12399. "description": "附件地址",
  12400. "type": "string"
  12401. },
  12402. "createtime": {
  12403. "description": "创建时间",
  12404. "type": "string"
  12405. },
  12406. "currencyid": {
  12407. "description": "报价货币ID",
  12408. "type": "integer"
  12409. },
  12410. "decimalplace": {
  12411. "description": "报价小数位",
  12412. "type": "integer"
  12413. },
  12414. "endtime": {
  12415. "description": "预售结束时间",
  12416. "type": "string"
  12417. },
  12418. "floorprice": {
  12419. "description": "底价[大宗式竞拍]",
  12420. "type": "number"
  12421. },
  12422. "goodscode": {
  12423. "description": "商品代码(预售)",
  12424. "type": "string"
  12425. },
  12426. "goodsdetail": {
  12427. "description": "详情[大宗]",
  12428. "type": "string"
  12429. },
  12430. "goodsid": {
  12431. "description": "商品ID(自增ID SEQ_GOODS)",
  12432. "type": "integer"
  12433. },
  12434. "goodsname": {
  12435. "description": "商品名称(预售)",
  12436. "type": "string"
  12437. },
  12438. "goodunit": {
  12439. "description": "报价单位",
  12440. "type": "string"
  12441. },
  12442. "goodunitid": {
  12443. "description": "报价单位ID",
  12444. "type": "integer"
  12445. },
  12446. "marketid": {
  12447. "description": "所属市场ID",
  12448. "type": "integer"
  12449. },
  12450. "marketname": {
  12451. "description": "预售市场名称",
  12452. "type": "string"
  12453. },
  12454. "presaledamount": {
  12455. "description": "已预售总金额(预售结束时更新)",
  12456. "type": "number"
  12457. },
  12458. "presaledqty": {
  12459. "description": "已预售量(预售结束时更新)",
  12460. "type": "integer"
  12461. },
  12462. "presalemode": {
  12463. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12464. "type": "integer"
  12465. },
  12466. "presaleqty": {
  12467. "description": "预售数量",
  12468. "type": "integer"
  12469. },
  12470. "refprice": {
  12471. "description": "参考价格[一口价]",
  12472. "type": "number"
  12473. },
  12474. "relatedgoodscode": {
  12475. "description": "商品代码(订单)",
  12476. "type": "string"
  12477. },
  12478. "relatedgoodsid": {
  12479. "description": "关联交易合约ID",
  12480. "type": "integer"
  12481. },
  12482. "relatedgoodsname": {
  12483. "description": "商品名称(订单)",
  12484. "type": "string"
  12485. },
  12486. "relatedmarketid": {
  12487. "description": "关联交易合约市场ID",
  12488. "type": "integer"
  12489. },
  12490. "sellstatus": {
  12491. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12492. "type": "integer"
  12493. },
  12494. "startprice": {
  12495. "description": "起拍价[大宗式竞拍]",
  12496. "type": "number"
  12497. },
  12498. "starttime": {
  12499. "description": "预售开始时间",
  12500. "type": "string"
  12501. },
  12502. "tradedate": {
  12503. "description": "交易日(yyyyMMdd)",
  12504. "type": "string"
  12505. },
  12506. "tradeprice": {
  12507. "description": "成交价[大宗]",
  12508. "type": "number"
  12509. },
  12510. "userid": {
  12511. "description": "卖方用户ID",
  12512. "type": "integer"
  12513. }
  12514. }
  12515. },
  12516. "cptrade.QueryPresaleGoodsExRsp": {
  12517. "type": "object",
  12518. "required": [
  12519. "goodsid"
  12520. ],
  12521. "properties": {
  12522. "attachmenturl": {
  12523. "description": "附件地址",
  12524. "type": "string"
  12525. },
  12526. "createtime": {
  12527. "description": "创建时间",
  12528. "type": "string"
  12529. },
  12530. "endtime": {
  12531. "description": "预售结束时间",
  12532. "type": "string"
  12533. },
  12534. "floorprice": {
  12535. "description": "底价[大宗式竞拍]",
  12536. "type": "number"
  12537. },
  12538. "goodsdetail": {
  12539. "description": "详情[大宗]",
  12540. "type": "string"
  12541. },
  12542. "goodsid": {
  12543. "description": "商品ID(预售)",
  12544. "type": "integer"
  12545. },
  12546. "goodunit": {
  12547. "description": "报价单位",
  12548. "type": "string"
  12549. },
  12550. "marketid": {
  12551. "description": "预售市场ID - 根据预售模式选择市场",
  12552. "type": "integer"
  12553. },
  12554. "presaledamount": {
  12555. "description": "已预售总金额(预售结束时更新)",
  12556. "type": "number"
  12557. },
  12558. "presaledqty": {
  12559. "description": "已预售量(预售结束时更新)",
  12560. "type": "integer"
  12561. },
  12562. "presalemode": {
  12563. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12564. "type": "integer"
  12565. },
  12566. "presaleqty": {
  12567. "description": "预售数量",
  12568. "type": "integer"
  12569. },
  12570. "refprice": {
  12571. "description": "参考价格[一口价]",
  12572. "type": "number"
  12573. },
  12574. "relatedgoodsid": {
  12575. "description": "关联交易合约ID",
  12576. "type": "integer"
  12577. },
  12578. "relatedmarketid": {
  12579. "description": "关联交易合约市场ID",
  12580. "type": "integer"
  12581. },
  12582. "sellstatus": {
  12583. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12584. "type": "integer"
  12585. },
  12586. "startprice": {
  12587. "description": "起拍价[大宗式竞拍]",
  12588. "type": "number"
  12589. },
  12590. "starttime": {
  12591. "description": "预售开始时间",
  12592. "type": "string"
  12593. },
  12594. "tradedate": {
  12595. "description": "交易日(yyyyMMdd)",
  12596. "type": "string"
  12597. },
  12598. "tradeprice": {
  12599. "description": "成交价[大宗]",
  12600. "type": "number"
  12601. }
  12602. }
  12603. },
  12604. "delivery.QueryDeliveryRelationRsp": {
  12605. "type": "object",
  12606. "required": [
  12607. "begindate",
  12608. "enddate",
  12609. "goodsid",
  12610. "mindeliveryqty",
  12611. "xdeliveryratio"
  12612. ],
  12613. "properties": {
  12614. "begindate": {
  12615. "description": "起始日期(yyyyMMdd)",
  12616. "type": "string"
  12617. },
  12618. "buytemplateid": {
  12619. "description": "买履约计划模板ID",
  12620. "type": "integer"
  12621. },
  12622. "deliverygoodscode": {
  12623. "description": "品种代码",
  12624. "type": "string"
  12625. },
  12626. "deliverygoodsid": {
  12627. "description": "交割商品",
  12628. "type": "integer"
  12629. },
  12630. "deliverygoodsname": {
  12631. "description": "品种名称",
  12632. "type": "string"
  12633. },
  12634. "deliverymode": {
  12635. "description": "交割方式 - 1:点选式 2:申报式",
  12636. "type": "integer"
  12637. },
  12638. "deliverypricerule": {
  12639. "description": "交割价规则- 1:行情价 2:建仓价",
  12640. "type": "integer"
  12641. },
  12642. "deliverytype": {
  12643. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12644. "type": "integer"
  12645. },
  12646. "enddate": {
  12647. "description": "结束日期(yyyyMMdd)",
  12648. "type": "string"
  12649. },
  12650. "goodscode": {
  12651. "description": "商品代码",
  12652. "type": "string"
  12653. },
  12654. "goodsid": {
  12655. "description": "交易合约ID",
  12656. "type": "integer"
  12657. },
  12658. "goodsname": {
  12659. "description": "商品名称",
  12660. "type": "string"
  12661. },
  12662. "marketid": {
  12663. "description": "市场ID",
  12664. "type": "integer"
  12665. },
  12666. "mindeliveryqty": {
  12667. "description": "最小交割系数(K)",
  12668. "type": "integer"
  12669. },
  12670. "p2deliveryprice": {
  12671. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12672. "type": "number"
  12673. },
  12674. "p2deliveryratio": {
  12675. "description": "P2合约系数(p)",
  12676. "type": "integer"
  12677. },
  12678. "p2goodsid": {
  12679. "description": "P2合约ID",
  12680. "type": "integer"
  12681. },
  12682. "p2pricemode": {
  12683. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12684. "type": "integer"
  12685. },
  12686. "pdeliveryprice": {
  12687. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12688. "type": "number"
  12689. },
  12690. "pdeliveryratio": {
  12691. "description": "P合约系数(n)",
  12692. "type": "integer"
  12693. },
  12694. "pgoodsid": {
  12695. "description": "P合约ID",
  12696. "type": "integer"
  12697. },
  12698. "ppricemode": {
  12699. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12700. "type": "integer"
  12701. },
  12702. "rratio": {
  12703. "description": "兑换系数(R)",
  12704. "type": "integer"
  12705. },
  12706. "rratio1": {
  12707. "description": "兑换系数(交易合约)(R1)",
  12708. "type": "integer"
  12709. },
  12710. "rratio2": {
  12711. "description": "兑换系数(仓单标准)(R2)",
  12712. "type": "integer"
  12713. },
  12714. "selltemplateid": {
  12715. "description": "卖履约计划模板ID",
  12716. "type": "integer"
  12717. },
  12718. "wrstandardid": {
  12719. "description": "仓单标准ID",
  12720. "type": "integer"
  12721. },
  12722. "xdeliveryratio": {
  12723. "description": "交易合约系数(m)",
  12724. "type": "integer"
  12725. }
  12726. }
  12727. },
  12728. "ermcp.ExposureDetailRsp": {
  12729. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12730. },
  12731. "ermcp.ExposureHedgePosDetailRsp": {
  12732. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12733. },
  12734. "ermcp.ExposureHedgePositionRsp": {
  12735. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12736. },
  12737. "ermcp.ExposureSpotDetailRsp": {
  12738. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12739. },
  12740. "ermcp.ExposureSpotRsp": {
  12741. "$ref": "#/definitions/models.AreaSpotModel"
  12742. },
  12743. "ermcp.HisExposureRsp": {
  12744. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12745. },
  12746. "ermcp.PendingAuditCntRsp": {
  12747. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12748. },
  12749. "ermcp.QryAvalidGPRsp": {
  12750. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12751. },
  12752. "ermcp.QryBusinessDjRsp": {
  12753. "type": "object",
  12754. "properties": {
  12755. "amount": {
  12756. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12757. "type": "number"
  12758. },
  12759. "applyid": {
  12760. "description": "申请人",
  12761. "type": "string"
  12762. },
  12763. "applyname": {
  12764. "description": "申请人名称",
  12765. "type": "string"
  12766. },
  12767. "applystatus": {
  12768. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12769. "type": "integer"
  12770. },
  12771. "applytime": {
  12772. "description": "申请时间",
  12773. "type": "string"
  12774. },
  12775. "attachurl": {
  12776. "description": "附件",
  12777. "type": "string"
  12778. },
  12779. "auditid": {
  12780. "description": "审核人ID",
  12781. "type": "string"
  12782. },
  12783. "auditname": {
  12784. "description": "审核人名称",
  12785. "type": "string"
  12786. },
  12787. "audittime": {
  12788. "description": "审核时间",
  12789. "type": "string"
  12790. },
  12791. "buyusername": {
  12792. "description": "采购方名称",
  12793. "type": "string"
  12794. },
  12795. "contractno": {
  12796. "description": "合同编号",
  12797. "type": "string"
  12798. },
  12799. "contractstatus": {
  12800. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12801. "type": "integer"
  12802. },
  12803. "contracttype": {
  12804. "description": "现货合同类型 - 1:采购 -1:销售",
  12805. "type": "integer"
  12806. },
  12807. "deliverygoodscode": {
  12808. "description": "现货品种代码",
  12809. "type": "string"
  12810. },
  12811. "deliverygoodsid": {
  12812. "description": "现货商品ID",
  12813. "type": "integer"
  12814. },
  12815. "deliverygoodsname": {
  12816. "description": "现货品种名称",
  12817. "type": "string"
  12818. },
  12819. "enumdicname": {
  12820. "description": "单位名称",
  12821. "type": "string"
  12822. },
  12823. "goodscode": {
  12824. "description": "点价合约",
  12825. "type": "string"
  12826. },
  12827. "goodsname": {
  12828. "description": "商品名称",
  12829. "type": "string"
  12830. },
  12831. "operateapplyid": {
  12832. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12833. "type": "string"
  12834. },
  12835. "operateapplytype": {
  12836. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12837. "type": "integer"
  12838. },
  12839. "pricedPrice": {
  12840. "description": "点价价格(非必填)",
  12841. "type": "number"
  12842. },
  12843. "pricedQty": {
  12844. "description": "点价数量(非必填)",
  12845. "type": "number"
  12846. },
  12847. "pricemove": {
  12848. "description": "升贴水",
  12849. "type": "number"
  12850. },
  12851. "pricetype": {
  12852. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12853. "type": "integer"
  12854. },
  12855. "relatedid": {
  12856. "description": "现货合同ID",
  12857. "type": "string"
  12858. },
  12859. "sellusername": {
  12860. "description": "销售方名字",
  12861. "type": "string"
  12862. },
  12863. "userid": {
  12864. "description": "用户ID",
  12865. "type": "integer"
  12866. },
  12867. "wrstandardcode": {
  12868. "description": "品类代码",
  12869. "type": "string"
  12870. },
  12871. "wrstandardid": {
  12872. "description": "品类id",
  12873. "type": "integer"
  12874. },
  12875. "wrstandardname": {
  12876. "description": "品类名称",
  12877. "type": "string"
  12878. }
  12879. }
  12880. },
  12881. "ermcp.QryBussinessFpRsp": {
  12882. "type": "object",
  12883. "properties": {
  12884. "applyid": {
  12885. "description": "申请人",
  12886. "type": "string"
  12887. },
  12888. "applyname": {
  12889. "description": "申请人名称",
  12890. "type": "string"
  12891. },
  12892. "applystatus": {
  12893. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12894. "type": "integer"
  12895. },
  12896. "applytime": {
  12897. "description": "申请时间",
  12898. "type": "string"
  12899. },
  12900. "attachurl": {
  12901. "description": "附件",
  12902. "type": "string"
  12903. },
  12904. "auditid": {
  12905. "description": "审核人ID",
  12906. "type": "string"
  12907. },
  12908. "auditname": {
  12909. "description": "审核人名称",
  12910. "type": "string"
  12911. },
  12912. "audittime": {
  12913. "description": "审核时间",
  12914. "type": "string"
  12915. },
  12916. "buyusername": {
  12917. "description": "采购方名称",
  12918. "type": "string"
  12919. },
  12920. "contractno": {
  12921. "description": "合同编号",
  12922. "type": "string"
  12923. },
  12924. "contractstatus": {
  12925. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12926. "type": "integer"
  12927. },
  12928. "contracttype": {
  12929. "description": "现货合同类型 - 1:采购 -1:销售",
  12930. "type": "integer"
  12931. },
  12932. "deliverygoodscode": {
  12933. "description": "现货品种代码",
  12934. "type": "string"
  12935. },
  12936. "deliverygoodsid": {
  12937. "description": "现货商品ID",
  12938. "type": "integer"
  12939. },
  12940. "deliverygoodsname": {
  12941. "description": "现货品种名称",
  12942. "type": "string"
  12943. },
  12944. "enumdicname": {
  12945. "description": "单位名称",
  12946. "type": "string"
  12947. },
  12948. "goodscode": {
  12949. "description": "点价合约",
  12950. "type": "string"
  12951. },
  12952. "goodsname": {
  12953. "description": "商品名称",
  12954. "type": "string"
  12955. },
  12956. "invoiceAmount": {
  12957. "description": "已开收票金额(销售为开票,采购为收票)",
  12958. "type": "number"
  12959. },
  12960. "operateapplyid": {
  12961. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  12962. "type": "string"
  12963. },
  12964. "operateapplytype": {
  12965. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  12966. "type": "integer"
  12967. },
  12968. "pricemove": {
  12969. "description": "升贴水",
  12970. "type": "number"
  12971. },
  12972. "pricetype": {
  12973. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12974. "type": "integer"
  12975. },
  12976. "relatedid": {
  12977. "description": "现货合同ID",
  12978. "type": "string"
  12979. },
  12980. "sellusername": {
  12981. "description": "销售方名字",
  12982. "type": "string"
  12983. },
  12984. "userid": {
  12985. "description": "用户ID",
  12986. "type": "integer"
  12987. },
  12988. "wrstandardcode": {
  12989. "description": "品类代码",
  12990. "type": "string"
  12991. },
  12992. "wrstandardid": {
  12993. "description": "品类id",
  12994. "type": "integer"
  12995. },
  12996. "wrstandardname": {
  12997. "description": "品类名称",
  12998. "type": "string"
  12999. }
  13000. }
  13001. },
  13002. "ermcp.QryBussinessJsExRsp": {
  13003. "type": "object",
  13004. "properties": {
  13005. "applyid": {
  13006. "description": "申请人",
  13007. "type": "string"
  13008. },
  13009. "applyname": {
  13010. "description": "申请人名称",
  13011. "type": "string"
  13012. },
  13013. "applystatus": {
  13014. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13015. "type": "integer"
  13016. },
  13017. "applytime": {
  13018. "description": "申请时间",
  13019. "type": "string"
  13020. },
  13021. "attachurl": {
  13022. "description": "附件",
  13023. "type": "string"
  13024. },
  13025. "auditid": {
  13026. "description": "审核人ID",
  13027. "type": "string"
  13028. },
  13029. "auditname": {
  13030. "description": "审核人名称",
  13031. "type": "string"
  13032. },
  13033. "audittime": {
  13034. "description": "审核时间",
  13035. "type": "string"
  13036. },
  13037. "buyusername": {
  13038. "description": "采购方名称",
  13039. "type": "string"
  13040. },
  13041. "contractno": {
  13042. "description": "合同编号",
  13043. "type": "string"
  13044. },
  13045. "contractstatus": {
  13046. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13047. "type": "integer"
  13048. },
  13049. "contracttype": {
  13050. "description": "现货合同类型 - 1:采购 -1:销售",
  13051. "type": "integer"
  13052. },
  13053. "deliverygoodscode": {
  13054. "description": "现货品种代码",
  13055. "type": "string"
  13056. },
  13057. "deliverygoodsid": {
  13058. "description": "现货商品ID",
  13059. "type": "integer"
  13060. },
  13061. "deliverygoodsname": {
  13062. "description": "现货品种名称",
  13063. "type": "string"
  13064. },
  13065. "enumdicname": {
  13066. "description": "单位名称",
  13067. "type": "string"
  13068. },
  13069. "goodscode": {
  13070. "description": "点价合约",
  13071. "type": "string"
  13072. },
  13073. "goodsname": {
  13074. "description": "商品名称",
  13075. "type": "string"
  13076. },
  13077. "operateapplyid": {
  13078. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13079. "type": "string"
  13080. },
  13081. "operateapplytype": {
  13082. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13083. "type": "integer"
  13084. },
  13085. "pricemove": {
  13086. "description": "升贴水",
  13087. "type": "number"
  13088. },
  13089. "pricetype": {
  13090. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13091. "type": "integer"
  13092. },
  13093. "reckontype": {
  13094. "description": "结算类型",
  13095. "type": "string"
  13096. },
  13097. "reckonvalue": {
  13098. "description": "值",
  13099. "type": "number"
  13100. },
  13101. "relatedid": {
  13102. "description": "现货合同ID",
  13103. "type": "string"
  13104. },
  13105. "sellusername": {
  13106. "description": "销售方名字",
  13107. "type": "string"
  13108. },
  13109. "userid": {
  13110. "description": "用户ID",
  13111. "type": "integer"
  13112. },
  13113. "wrstandardcode": {
  13114. "description": "品类代码",
  13115. "type": "string"
  13116. },
  13117. "wrstandardid": {
  13118. "description": "品类id",
  13119. "type": "integer"
  13120. },
  13121. "wrstandardname": {
  13122. "description": "品类名称",
  13123. "type": "string"
  13124. }
  13125. }
  13126. },
  13127. "ermcp.QryBussinessJsRsp": {
  13128. "type": "object",
  13129. "properties": {
  13130. "addmargin": {
  13131. "description": "追加保证金(非必填)",
  13132. "type": "number"
  13133. },
  13134. "applyid": {
  13135. "description": "申请人",
  13136. "type": "string"
  13137. },
  13138. "applyname": {
  13139. "description": "申请人名称",
  13140. "type": "string"
  13141. },
  13142. "applystatus": {
  13143. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13144. "type": "integer"
  13145. },
  13146. "applytime": {
  13147. "description": "申请时间",
  13148. "type": "string"
  13149. },
  13150. "attachurl": {
  13151. "description": "附件",
  13152. "type": "string"
  13153. },
  13154. "auditid": {
  13155. "description": "审核人ID",
  13156. "type": "string"
  13157. },
  13158. "auditname": {
  13159. "description": "审核人名称",
  13160. "type": "string"
  13161. },
  13162. "audittime": {
  13163. "description": "审核时间",
  13164. "type": "string"
  13165. },
  13166. "buyusername": {
  13167. "description": "采购方名称",
  13168. "type": "string"
  13169. },
  13170. "contractno": {
  13171. "description": "合同编号",
  13172. "type": "string"
  13173. },
  13174. "contractstatus": {
  13175. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13176. "type": "integer"
  13177. },
  13178. "contracttype": {
  13179. "description": "现货合同类型 - 1:采购 -1:销售",
  13180. "type": "integer"
  13181. },
  13182. "decmargin": {
  13183. "description": "减少保证金(非必填)",
  13184. "type": "number"
  13185. },
  13186. "deliverygoodscode": {
  13187. "description": "现货品种代码",
  13188. "type": "string"
  13189. },
  13190. "deliverygoodsid": {
  13191. "description": "现货商品ID",
  13192. "type": "integer"
  13193. },
  13194. "deliverygoodsname": {
  13195. "description": "现货品种名称",
  13196. "type": "string"
  13197. },
  13198. "enumdicname": {
  13199. "description": "单位名称",
  13200. "type": "string"
  13201. },
  13202. "goodscode": {
  13203. "description": "点价合约",
  13204. "type": "string"
  13205. },
  13206. "goodsname": {
  13207. "description": "商品名称",
  13208. "type": "string"
  13209. },
  13210. "operateapplyid": {
  13211. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13212. "type": "string"
  13213. },
  13214. "operateapplytype": {
  13215. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13216. "type": "integer"
  13217. },
  13218. "pricemove": {
  13219. "description": "升贴水",
  13220. "type": "number"
  13221. },
  13222. "pricetype": {
  13223. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13224. "type": "integer"
  13225. },
  13226. "reckonadjustamount": {
  13227. "description": "结算调整金额(非必填)",
  13228. "type": "number"
  13229. },
  13230. "reckonosamount": {
  13231. "description": "结算溢短金额(非必填)",
  13232. "type": "number"
  13233. },
  13234. "reckonotheramount": {
  13235. "description": "结算其他费用(非必填)",
  13236. "type": "number"
  13237. },
  13238. "reckonrealqty": {
  13239. "description": "结算实际数量(非必填)",
  13240. "type": "number"
  13241. },
  13242. "relatedid": {
  13243. "description": "现货合同ID",
  13244. "type": "string"
  13245. },
  13246. "sellusername": {
  13247. "description": "销售方名字",
  13248. "type": "string"
  13249. },
  13250. "userid": {
  13251. "description": "用户ID",
  13252. "type": "integer"
  13253. },
  13254. "wrstandardcode": {
  13255. "description": "品类代码",
  13256. "type": "string"
  13257. },
  13258. "wrstandardid": {
  13259. "description": "品类id",
  13260. "type": "integer"
  13261. },
  13262. "wrstandardname": {
  13263. "description": "品类名称",
  13264. "type": "string"
  13265. }
  13266. }
  13267. },
  13268. "ermcp.QryBussinessKxRsp": {
  13269. "type": "object",
  13270. "properties": {
  13271. "applyid": {
  13272. "description": "申请人",
  13273. "type": "string"
  13274. },
  13275. "applyname": {
  13276. "description": "申请人名称",
  13277. "type": "string"
  13278. },
  13279. "applystatus": {
  13280. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13281. "type": "integer"
  13282. },
  13283. "applytime": {
  13284. "description": "申请时间",
  13285. "type": "string"
  13286. },
  13287. "attachurl": {
  13288. "description": "附件",
  13289. "type": "string"
  13290. },
  13291. "auditid": {
  13292. "description": "审核人ID",
  13293. "type": "string"
  13294. },
  13295. "auditname": {
  13296. "description": "审核人名称",
  13297. "type": "string"
  13298. },
  13299. "audittime": {
  13300. "description": "审核时间",
  13301. "type": "string"
  13302. },
  13303. "buyusername": {
  13304. "description": "采购方名称",
  13305. "type": "string"
  13306. },
  13307. "contractno": {
  13308. "description": "合同编号",
  13309. "type": "string"
  13310. },
  13311. "contractstatus": {
  13312. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13313. "type": "integer"
  13314. },
  13315. "contracttype": {
  13316. "description": "现货合同类型 - 1:采购 -1:销售",
  13317. "type": "integer"
  13318. },
  13319. "deductamount": {
  13320. "description": "退款(非必填)",
  13321. "type": "number"
  13322. },
  13323. "deliverygoodscode": {
  13324. "description": "现货品种代码",
  13325. "type": "string"
  13326. },
  13327. "deliverygoodsid": {
  13328. "description": "现货商品ID",
  13329. "type": "integer"
  13330. },
  13331. "deliverygoodsname": {
  13332. "description": "现货品种名称",
  13333. "type": "string"
  13334. },
  13335. "enumdicname": {
  13336. "description": "单位名称",
  13337. "type": "string"
  13338. },
  13339. "goodscode": {
  13340. "description": "点价合约",
  13341. "type": "string"
  13342. },
  13343. "goodsname": {
  13344. "description": "商品名称",
  13345. "type": "string"
  13346. },
  13347. "kxtype": {
  13348. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13349. "type": "integer"
  13350. },
  13351. "operateapplyid": {
  13352. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13353. "type": "string"
  13354. },
  13355. "operateapplytype": {
  13356. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13357. "type": "integer"
  13358. },
  13359. "payamount": {
  13360. "description": "收付款(非必填)",
  13361. "type": "number"
  13362. },
  13363. "pricemove": {
  13364. "description": "升贴水",
  13365. "type": "number"
  13366. },
  13367. "pricetype": {
  13368. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13369. "type": "integer"
  13370. },
  13371. "relatedid": {
  13372. "description": "现货合同ID",
  13373. "type": "string"
  13374. },
  13375. "sellusername": {
  13376. "description": "销售方名字",
  13377. "type": "string"
  13378. },
  13379. "userid": {
  13380. "description": "用户ID",
  13381. "type": "integer"
  13382. },
  13383. "wrstandardcode": {
  13384. "description": "品类代码",
  13385. "type": "string"
  13386. },
  13387. "wrstandardid": {
  13388. "description": "品类id",
  13389. "type": "integer"
  13390. },
  13391. "wrstandardname": {
  13392. "description": "品类名称",
  13393. "type": "string"
  13394. }
  13395. }
  13396. },
  13397. "ermcp.QryGGCovertCfgRsp": {
  13398. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13399. },
  13400. "ermcp.QryMGChangeLogRsp": {
  13401. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13402. },
  13403. "ermcp.QryMiddleGoodsDetailRsp": {
  13404. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13405. },
  13406. "ermcp.QryMiddleGoodsRsp": {
  13407. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13408. },
  13409. "ermcp.QryOPLogRsp": {
  13410. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13411. },
  13412. "ermcp.QryUserInfoRsp": {
  13413. "$ref": "#/definitions/models.ErmcpUserModel"
  13414. },
  13415. "ermcp.QryWarehouseRsp": {
  13416. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13417. },
  13418. "ermcp.QueryErmcpTradePositionRsp": {
  13419. "type": "object",
  13420. "properties": {
  13421. "agreeunit": {
  13422. "description": "合约单位",
  13423. "type": "number"
  13424. },
  13425. "buyorsell": {
  13426. "description": "方向 - 0:买 1:卖",
  13427. "type": "integer"
  13428. },
  13429. "curpositionqty": {
  13430. "description": "持仓(总仓数量, 期末头寸)",
  13431. "type": "integer"
  13432. },
  13433. "curtdposition": {
  13434. "description": "今仓数量(期末今日头寸)",
  13435. "type": "integer"
  13436. },
  13437. "curtdpositionenabled": {
  13438. "description": "今仓可用",
  13439. "type": "integer"
  13440. },
  13441. "decimalplace": {
  13442. "description": "报价小数位",
  13443. "type": "integer"
  13444. },
  13445. "enableqty": {
  13446. "description": "可用(总仓可用)",
  13447. "type": "integer"
  13448. },
  13449. "exexchangename": {
  13450. "description": "外部交易所名称",
  13451. "type": "string"
  13452. },
  13453. "goodscode": {
  13454. "description": "商品代码(内部)",
  13455. "type": "string"
  13456. },
  13457. "goodsid": {
  13458. "description": "商品ID(自增ID SEQ_GOODS)",
  13459. "type": "integer"
  13460. },
  13461. "goodsname": {
  13462. "description": "商品名称",
  13463. "type": "string"
  13464. },
  13465. "last": {
  13466. "description": "现价",
  13467. "type": "number"
  13468. },
  13469. "marketid": {
  13470. "description": "所属市场ID",
  13471. "type": "integer"
  13472. },
  13473. "openaverageprice": {
  13474. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13475. "type": "number"
  13476. },
  13477. "opencost": {
  13478. "description": "开仓成本",
  13479. "type": "number"
  13480. },
  13481. "openpl": {
  13482. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13483. "type": "number"
  13484. },
  13485. "outgoodscode": {
  13486. "description": "商品代码(外部)",
  13487. "type": "string"
  13488. },
  13489. "positionaverageprice": {
  13490. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13491. "type": "number"
  13492. },
  13493. "positioncost": {
  13494. "description": "持仓成本",
  13495. "type": "number"
  13496. },
  13497. "positionpl": {
  13498. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13499. "type": "number"
  13500. },
  13501. "positionplrate": {
  13502. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13503. "type": "number"
  13504. },
  13505. "usedmargin": {
  13506. "description": "占用保证金",
  13507. "type": "number"
  13508. }
  13509. }
  13510. },
  13511. "ermcp.RealtimeExposurePositionRsp": {
  13512. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13513. },
  13514. "ermcp.RealtimeExposureRsp": {
  13515. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13516. },
  13517. "erms2.QueryArbitrageStrategyRsp": {
  13518. "type": "object",
  13519. "required": [
  13520. "asapplyid"
  13521. ],
  13522. "properties": {
  13523. "applybasis": {
  13524. "description": "申请基差",
  13525. "type": "number"
  13526. },
  13527. "asapplyid": {
  13528. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13529. "type": "string"
  13530. },
  13531. "asname": {
  13532. "description": "策略名称",
  13533. "type": "string"
  13534. },
  13535. "asno": {
  13536. "description": "策略编号",
  13537. "type": "string"
  13538. },
  13539. "basischangepl": {
  13540. "description": "基差变动损益[结算更新]",
  13541. "type": "number"
  13542. },
  13543. "biztype": {
  13544. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13545. "type": "integer"
  13546. },
  13547. "closetradedate": {
  13548. "description": "完结交易日(yyyyMMdd)",
  13549. "type": "string"
  13550. },
  13551. "curbasis": {
  13552. "description": "当前基差[结算更新]",
  13553. "type": "number"
  13554. },
  13555. "deliverygoodsid": {
  13556. "description": "现货品种ID",
  13557. "type": "integer"
  13558. },
  13559. "futureavgprice": {
  13560. "description": "期货建仓均价",
  13561. "type": "number"
  13562. },
  13563. "futurecloseamount": {
  13564. "description": "期货平仓金额",
  13565. "type": "number"
  13566. },
  13567. "futurecloseqty": {
  13568. "description": "期货平仓数量",
  13569. "type": "number"
  13570. },
  13571. "futureopenamount": {
  13572. "description": "期货开仓金额",
  13573. "type": "number"
  13574. },
  13575. "futureopenqty": {
  13576. "description": "期货开仓数量",
  13577. "type": "number"
  13578. },
  13579. "futurepl": {
  13580. "description": "期货总盈亏[结算更新]",
  13581. "type": "number"
  13582. },
  13583. "futureqty": {
  13584. "description": "期货持仓数量",
  13585. "type": "number"
  13586. },
  13587. "futurequote": {
  13588. "description": "期货额度",
  13589. "type": "number"
  13590. },
  13591. "goodsgroupid": {
  13592. "description": "期货品种ID",
  13593. "type": "integer"
  13594. },
  13595. "marketid": {
  13596. "description": "市场ID",
  13597. "type": "integer"
  13598. },
  13599. "netexposure": {
  13600. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13601. "type": "number"
  13602. },
  13603. "netexposurepl": {
  13604. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13605. "type": "number"
  13606. },
  13607. "netexposurerate": {
  13608. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13609. "type": "number"
  13610. },
  13611. "openbasis": {
  13612. "description": "建仓基差",
  13613. "type": "number"
  13614. },
  13615. "pricedspotqty": {
  13616. "description": "已定价现货数量",
  13617. "type": "number"
  13618. },
  13619. "pricedspotqtynotax": {
  13620. "description": "已定价现货不含税数量",
  13621. "type": "number"
  13622. },
  13623. "remark": {
  13624. "description": "备注",
  13625. "type": "string"
  13626. },
  13627. "spotavgprice": {
  13628. "description": "现货均价",
  13629. "type": "number"
  13630. },
  13631. "spotbuyamount": {
  13632. "description": "现货采购金额",
  13633. "type": "number"
  13634. },
  13635. "spotbuyqty": {
  13636. "description": "现货采购数量",
  13637. "type": "number"
  13638. },
  13639. "spotpl": {
  13640. "description": "现货总盈亏[结算更新]",
  13641. "type": "number"
  13642. },
  13643. "spotquota": {
  13644. "description": "现货额度",
  13645. "type": "number"
  13646. },
  13647. "spotsellamount": {
  13648. "description": "现货销售金额",
  13649. "type": "number"
  13650. },
  13651. "spotsellqty": {
  13652. "description": "现货销售数量",
  13653. "type": "number"
  13654. },
  13655. "spotusedquota": {
  13656. "description": "现货占用资金",
  13657. "type": "number"
  13658. },
  13659. "strategystatus": {
  13660. "description": "策略状态 - 0:未结束 1:已结束",
  13661. "type": "integer"
  13662. },
  13663. "totalpl": {
  13664. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13665. "type": "number"
  13666. },
  13667. "tradedate": {
  13668. "description": "交易日(yyyyMMdd)",
  13669. "type": "string"
  13670. },
  13671. "updatetime": {
  13672. "description": "更新时间",
  13673. "type": "string"
  13674. },
  13675. "usedquota": {
  13676. "description": "已占用资金",
  13677. "type": "number"
  13678. },
  13679. "userid": {
  13680. "description": "所属机构",
  13681. "type": "integer"
  13682. }
  13683. }
  13684. },
  13685. "erms2.QueryInnerTradeDetailRsp": {
  13686. "type": "object",
  13687. "required": [
  13688. "asapplyid",
  13689. "buyorsell",
  13690. "goodscode",
  13691. "goodsgroupid",
  13692. "goodsgroupname",
  13693. "goodsname",
  13694. "tradeid"
  13695. ],
  13696. "properties": {
  13697. "accountid": {
  13698. "description": "账号ID",
  13699. "type": "integer"
  13700. },
  13701. "agreeunit": {
  13702. "description": "合约单位",
  13703. "type": "number"
  13704. },
  13705. "asapplyid": {
  13706. "description": "策略申请ID",
  13707. "type": "integer"
  13708. },
  13709. "asname": {
  13710. "description": "策略名称",
  13711. "type": "string"
  13712. },
  13713. "asno": {
  13714. "description": "策略编号",
  13715. "type": "string"
  13716. },
  13717. "buyorsell": {
  13718. "description": "方向 - 0:买 1:卖",
  13719. "type": "integer"
  13720. },
  13721. "channelbuildtype": {
  13722. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13723. "type": "integer"
  13724. },
  13725. "closetype": {
  13726. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13727. "type": "integer"
  13728. },
  13729. "decimalplace": {
  13730. "description": "报价小数位",
  13731. "type": "integer"
  13732. },
  13733. "detailtype": {
  13734. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13735. "type": "integer"
  13736. },
  13737. "exexchangecode": {
  13738. "description": "外部交易所代码",
  13739. "type": "string"
  13740. },
  13741. "exexchangename": {
  13742. "description": "外部交易所名称",
  13743. "type": "string"
  13744. },
  13745. "goodscode": {
  13746. "description": "商品代码(合约)",
  13747. "type": "string"
  13748. },
  13749. "goodsgroupid": {
  13750. "description": "商品组ID(品种ID)",
  13751. "type": "integer"
  13752. },
  13753. "goodsgroupname": {
  13754. "description": "商品组名称(品种)",
  13755. "type": "string"
  13756. },
  13757. "goodsid": {
  13758. "description": "商品ID",
  13759. "type": "integer"
  13760. },
  13761. "goodsname": {
  13762. "description": "商品名称(合约)",
  13763. "type": "string"
  13764. },
  13765. "goodunit": {
  13766. "description": "报价单位",
  13767. "type": "string"
  13768. },
  13769. "marketid": {
  13770. "description": "市场ID",
  13771. "type": "integer"
  13772. },
  13773. "orderid": {
  13774. "description": "委托单号",
  13775. "type": "string"
  13776. },
  13777. "outgoodscode": {
  13778. "description": "商品代码(外部)",
  13779. "type": "string"
  13780. },
  13781. "relatedouttradeid": {
  13782. "description": "关联外部成交单ID",
  13783. "type": "string"
  13784. },
  13785. "remark": {
  13786. "description": "备注",
  13787. "type": "string"
  13788. },
  13789. "spotcontractid": {
  13790. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13791. "type": "integer"
  13792. },
  13793. "spotcontractno": {
  13794. "description": "现货合同编号",
  13795. "type": "string"
  13796. },
  13797. "tradeid": {
  13798. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13799. "type": "string"
  13800. },
  13801. "tradeprice": {
  13802. "description": "成交价格",
  13803. "type": "number"
  13804. },
  13805. "tradeqty": {
  13806. "description": "成交数量",
  13807. "type": "integer"
  13808. },
  13809. "tradetime": {
  13810. "description": "成交时间",
  13811. "type": "string"
  13812. },
  13813. "updatetime": {
  13814. "description": "更新时间",
  13815. "type": "string"
  13816. }
  13817. }
  13818. },
  13819. "erms2.QuerySpotContractRsp": {
  13820. "type": "object",
  13821. "required": [
  13822. "spotcontractid"
  13823. ],
  13824. "properties": {
  13825. "accountid": {
  13826. "description": "资金账户ID",
  13827. "type": "integer"
  13828. },
  13829. "areauserid": {
  13830. "description": "所属机构",
  13831. "type": "integer"
  13832. },
  13833. "closedate": {
  13834. "description": "终止日期",
  13835. "type": "string"
  13836. },
  13837. "closeremark": {
  13838. "description": "结束备注",
  13839. "type": "string"
  13840. },
  13841. "closetradedate": {
  13842. "description": "完结交易日(yyyyMMdd)",
  13843. "type": "string"
  13844. },
  13845. "closetype": {
  13846. "description": "终止类型 - 1:违约 2:提前终止",
  13847. "type": "integer"
  13848. },
  13849. "contractamount": {
  13850. "description": "合同金额",
  13851. "type": "number"
  13852. },
  13853. "contractattachment": {
  13854. "description": "合同附件",
  13855. "type": "string"
  13856. },
  13857. "contractno": {
  13858. "description": "现货合同编号",
  13859. "type": "string"
  13860. },
  13861. "contractqty": {
  13862. "description": "合同数量(数值) (用于计算)",
  13863. "type": "number"
  13864. },
  13865. "contractqtychar": {
  13866. "description": "合同数量\\已订价数量 (用于显示)",
  13867. "type": "string"
  13868. },
  13869. "contractstatus": {
  13870. "description": "合同状态 - 0:未结束 1:已结束",
  13871. "type": "integer"
  13872. },
  13873. "contracttype": {
  13874. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  13875. "type": "integer"
  13876. },
  13877. "customeraccountid": {
  13878. "description": "客户资金账户ID",
  13879. "type": "integer"
  13880. },
  13881. "customeruserid": {
  13882. "description": "客户ID",
  13883. "type": "integer"
  13884. },
  13885. "deliverygoodsdesc": {
  13886. "description": "品种说明",
  13887. "type": "string"
  13888. },
  13889. "deliverygoodsid": {
  13890. "description": "现货品种ID",
  13891. "type": "integer"
  13892. },
  13893. "handlestatus": {
  13894. "description": "处理状态",
  13895. "type": "integer"
  13896. },
  13897. "invoiceatt": {
  13898. "description": "发票附件",
  13899. "type": "string"
  13900. },
  13901. "invoicedatetime": {
  13902. "description": "开收票更新时间",
  13903. "type": "string"
  13904. },
  13905. "invoiceopentime": {
  13906. "description": "开票时间",
  13907. "type": "string"
  13908. },
  13909. "invoiceremark": {
  13910. "description": "发票备注",
  13911. "type": "string"
  13912. },
  13913. "invoicestatus": {
  13914. "description": "开收票状态 - 0:未开票 1:已开票",
  13915. "type": "integer"
  13916. },
  13917. "lastdate": {
  13918. "description": "交货时间",
  13919. "type": "string"
  13920. },
  13921. "marketid": {
  13922. "description": "市场ID",
  13923. "type": "integer"
  13924. },
  13925. "paydatetime": {
  13926. "description": "收付款更新时间",
  13927. "type": "string"
  13928. },
  13929. "payremark": {
  13930. "description": "收付款备注",
  13931. "type": "string"
  13932. },
  13933. "paystatus": {
  13934. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  13935. "type": "integer"
  13936. },
  13937. "positionqty": {
  13938. "description": "头寸数量 - 合同数量去小数部分",
  13939. "type": "integer"
  13940. },
  13941. "producttype": {
  13942. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13943. "type": "integer"
  13944. },
  13945. "relatedqty": {
  13946. "description": "已关联数量",
  13947. "type": "number"
  13948. },
  13949. "relatedstatus": {
  13950. "description": "关联完结状态 - 0:未结束 1:已结束",
  13951. "type": "integer"
  13952. },
  13953. "remark": {
  13954. "description": "备注",
  13955. "type": "string"
  13956. },
  13957. "signdate": {
  13958. "description": "签订日期",
  13959. "type": "string"
  13960. },
  13961. "spotcontractid": {
  13962. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  13963. "type": "string"
  13964. },
  13965. "spotdatetime": {
  13966. "description": "收发货更新时间",
  13967. "type": "string"
  13968. },
  13969. "spotprice": {
  13970. "description": "价格",
  13971. "type": "number"
  13972. },
  13973. "spotremark": {
  13974. "description": "收发货备注",
  13975. "type": "string"
  13976. },
  13977. "spotstatus": {
  13978. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  13979. "type": "integer"
  13980. },
  13981. "tradedate": {
  13982. "description": "交易日(yyyyMMdd)",
  13983. "type": "string"
  13984. },
  13985. "userid": {
  13986. "description": "业务员用户ID",
  13987. "type": "integer"
  13988. },
  13989. "warehouseid": {
  13990. "description": "仓库ID",
  13991. "type": "integer"
  13992. },
  13993. "wrfactortypeid": {
  13994. "description": "仓单要素类型ID",
  13995. "type": "integer"
  13996. },
  13997. "wrstandardid": {
  13998. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  13999. "type": "integer"
  14000. }
  14001. }
  14002. },
  14003. "erms3.AddErms2ASApplyReq": {
  14004. "type": "object",
  14005. "required": [
  14006. "asapplyid"
  14007. ],
  14008. "properties": {
  14009. "applybasis": {
  14010. "description": "申请基差",
  14011. "type": "number"
  14012. },
  14013. "applystatus": {
  14014. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14015. "type": "integer"
  14016. },
  14017. "asapplyid": {
  14018. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14019. "type": "integer"
  14020. },
  14021. "asname": {
  14022. "description": "策略名称",
  14023. "type": "string"
  14024. },
  14025. "asno": {
  14026. "description": "策略编号",
  14027. "type": "string"
  14028. },
  14029. "auditid": {
  14030. "description": "审核人",
  14031. "type": "integer"
  14032. },
  14033. "auditremark": {
  14034. "description": "审核备注",
  14035. "type": "string"
  14036. },
  14037. "audittime": {
  14038. "description": "审核时间",
  14039. "type": "string"
  14040. },
  14041. "biztype": {
  14042. "description": "业务类型 - 1:正向套利 2:反向套利",
  14043. "type": "integer"
  14044. },
  14045. "createtime": {
  14046. "description": "创建时间",
  14047. "type": "string"
  14048. },
  14049. "creatorid": {
  14050. "description": "创建人",
  14051. "type": "integer"
  14052. },
  14053. "deliverygoodsid": {
  14054. "description": "现货品种ID",
  14055. "type": "integer"
  14056. },
  14057. "futurequote": {
  14058. "description": "期货额度",
  14059. "type": "number"
  14060. },
  14061. "goodsgroupid": {
  14062. "description": "期货品种ID",
  14063. "type": "integer"
  14064. },
  14065. "marketid": {
  14066. "description": "市场ID",
  14067. "type": "integer"
  14068. },
  14069. "remark": {
  14070. "description": "备注",
  14071. "type": "string"
  14072. },
  14073. "spotquota": {
  14074. "description": "现货额度",
  14075. "type": "number"
  14076. },
  14077. "tradedate": {
  14078. "description": "交易日(yyyyMMdd)",
  14079. "type": "string"
  14080. },
  14081. "userid": {
  14082. "description": "所属机构",
  14083. "type": "integer"
  14084. }
  14085. }
  14086. },
  14087. "erms3.AddErms2SpotTradeApplyReq": {
  14088. "type": "object",
  14089. "required": [
  14090. "spottradeid"
  14091. ],
  14092. "properties": {
  14093. "applyjsondetail": {
  14094. "description": "申请明细(JSON)",
  14095. "type": "string"
  14096. },
  14097. "applystatus": {
  14098. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14099. "type": "integer"
  14100. },
  14101. "areauserid": {
  14102. "description": "所属机构",
  14103. "type": "integer"
  14104. },
  14105. "auditid": {
  14106. "description": "审核人",
  14107. "type": "integer"
  14108. },
  14109. "auditremark": {
  14110. "description": "审核备注",
  14111. "type": "string"
  14112. },
  14113. "audittime": {
  14114. "description": "审核时间",
  14115. "type": "string"
  14116. },
  14117. "createtime": {
  14118. "description": "创建时间",
  14119. "type": "string"
  14120. },
  14121. "creatorid": {
  14122. "description": "创建人",
  14123. "type": "integer"
  14124. },
  14125. "deliverygoodsid": {
  14126. "description": "现货品种ID",
  14127. "type": "integer"
  14128. },
  14129. "futureaccountid": {
  14130. "description": "期货资金账户",
  14131. "type": "integer"
  14132. },
  14133. "goodsgroupid": {
  14134. "description": "期货品种",
  14135. "type": "integer"
  14136. },
  14137. "marketid": {
  14138. "description": "市场ID",
  14139. "type": "integer"
  14140. },
  14141. "remark": {
  14142. "description": "备注",
  14143. "type": "string"
  14144. },
  14145. "spotaccountid": {
  14146. "description": "现货资金账户",
  14147. "type": "integer"
  14148. },
  14149. "spottradeid": {
  14150. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14151. "type": "integer"
  14152. },
  14153. "spottradename": {
  14154. "description": "业务名称",
  14155. "type": "string"
  14156. },
  14157. "spottradeno": {
  14158. "description": "业务编号",
  14159. "type": "string"
  14160. },
  14161. "tradedate": {
  14162. "description": "交易日(yyyyMMdd)",
  14163. "type": "string"
  14164. },
  14165. "wrstandardid": {
  14166. "description": "仓单标准ID",
  14167. "type": "integer"
  14168. }
  14169. }
  14170. },
  14171. "erms3.AddSpotContractApplyReq": {
  14172. "type": "object",
  14173. "required": [
  14174. "accountid",
  14175. "areauserid",
  14176. "contractno",
  14177. "contracttype",
  14178. "customeraccountid",
  14179. "customeruserid",
  14180. "details",
  14181. "orimargin",
  14182. "signdate"
  14183. ],
  14184. "properties": {
  14185. "accountid": {
  14186. "description": "资金账户ID",
  14187. "type": "integer"
  14188. },
  14189. "areauserid": {
  14190. "description": "所属机构",
  14191. "type": "integer"
  14192. },
  14193. "contractattachment": {
  14194. "description": "合同附件",
  14195. "type": "string"
  14196. },
  14197. "contractno": {
  14198. "description": "现货合同编号",
  14199. "type": "string"
  14200. },
  14201. "contracttype": {
  14202. "description": "现货合同类型 - 1:采购 -1:销售",
  14203. "type": "integer"
  14204. },
  14205. "creatorid": {
  14206. "description": "申请人",
  14207. "type": "integer"
  14208. },
  14209. "customeraccountid": {
  14210. "description": "客户资金账户ID",
  14211. "type": "integer"
  14212. },
  14213. "customeruserid": {
  14214. "description": "客户ID",
  14215. "type": "integer"
  14216. },
  14217. "details": {
  14218. "description": "明细",
  14219. "type": "array",
  14220. "items": {
  14221. "$ref": "#/definitions/erms3.SoptContractDetail"
  14222. }
  14223. },
  14224. "orimargin": {
  14225. "description": "初始保证金",
  14226. "type": "number"
  14227. },
  14228. "remark": {
  14229. "description": "备注",
  14230. "type": "string"
  14231. },
  14232. "signdate": {
  14233. "description": "签订日期",
  14234. "type": "string"
  14235. }
  14236. }
  14237. },
  14238. "erms3.AddSpotContractApplyRsp": {
  14239. "type": "object",
  14240. "required": [
  14241. "contractno"
  14242. ],
  14243. "properties": {
  14244. "contractno": {
  14245. "description": "现货合同编号",
  14246. "type": "string"
  14247. },
  14248. "spotcontractid": {
  14249. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14250. "type": "integer"
  14251. }
  14252. }
  14253. },
  14254. "erms3.AddUserInfoApplyReq": {
  14255. "type": "object",
  14256. "required": [
  14257. "userid"
  14258. ],
  14259. "properties": {
  14260. "accountid": {
  14261. "description": "交易系统帐号Id (加密存储)",
  14262. "type": "integer"
  14263. },
  14264. "areacode": {
  14265. "description": "机构代码",
  14266. "type": "string"
  14267. },
  14268. "areaid": {
  14269. "description": "机构Id",
  14270. "type": "integer"
  14271. },
  14272. "attachment1": {
  14273. "description": "附件1",
  14274. "type": "string"
  14275. },
  14276. "attachment2": {
  14277. "description": "附件2",
  14278. "type": "string"
  14279. },
  14280. "attachment3": {
  14281. "description": "附件3",
  14282. "type": "string"
  14283. },
  14284. "attachment4": {
  14285. "description": "附件4",
  14286. "type": "string"
  14287. },
  14288. "attachment5": {
  14289. "description": "附件5",
  14290. "type": "string"
  14291. },
  14292. "auditedby": {
  14293. "description": "审核人",
  14294. "type": "string"
  14295. },
  14296. "auditime": {
  14297. "description": "审核时间",
  14298. "type": "string"
  14299. },
  14300. "auditsrc": {
  14301. "description": "审核来源 - 1:管理端 2:终端",
  14302. "type": "integer"
  14303. },
  14304. "bankaccount": {
  14305. "description": "银行帐号 (加密存储)",
  14306. "type": "string"
  14307. },
  14308. "bankaccountname": {
  14309. "description": "收款人名称",
  14310. "type": "string"
  14311. },
  14312. "bankcardbackphotourl": {
  14313. "description": "银行卡背面照地址",
  14314. "type": "string"
  14315. },
  14316. "bankcardfrontphotourl": {
  14317. "description": "银行卡正面照地址",
  14318. "type": "string"
  14319. },
  14320. "bankid": {
  14321. "description": "银行编码",
  14322. "type": "string"
  14323. },
  14324. "bankname": {
  14325. "description": "银行名称",
  14326. "type": "string"
  14327. },
  14328. "bankpictureurl": {
  14329. "description": "银行卡正面地址",
  14330. "type": "string"
  14331. },
  14332. "biznature": {
  14333. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14334. "type": "integer"
  14335. },
  14336. "bizscope": {
  14337. "description": "企业经营范围(企业)",
  14338. "type": "string"
  14339. },
  14340. "biztype": {
  14341. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14342. "type": "integer"
  14343. },
  14344. "brokerid": {
  14345. "description": "经纪人ID(加密存储)",
  14346. "type": "string"
  14347. },
  14348. "cardaddress": {
  14349. "description": "证件地址 (加密存储)",
  14350. "type": "string"
  14351. },
  14352. "cardbackphotourl": {
  14353. "description": "背面证件照地址",
  14354. "type": "string"
  14355. },
  14356. "cardfrontphotourl": {
  14357. "description": "正面证件照地址",
  14358. "type": "string"
  14359. },
  14360. "cardnum": {
  14361. "description": "证件号码 (加密存储)",
  14362. "type": "string"
  14363. },
  14364. "cardtype": {
  14365. "description": "证件类型",
  14366. "type": "integer"
  14367. },
  14368. "cityid": {
  14369. "description": "市",
  14370. "type": "integer"
  14371. },
  14372. "company": {
  14373. "description": "公司(个人)",
  14374. "type": "string"
  14375. },
  14376. "contactcardbackphotourl": {
  14377. "description": "联系人证件背面图片地址",
  14378. "type": "string"
  14379. },
  14380. "contactcardfrontphotourl": {
  14381. "description": "联系人证件正面图片地址",
  14382. "type": "string"
  14383. },
  14384. "contactname": {
  14385. "description": "联系人",
  14386. "type": "string"
  14387. },
  14388. "countryid": {
  14389. "description": "国家",
  14390. "type": "integer"
  14391. },
  14392. "createtime": {
  14393. "description": "开户申请时间",
  14394. "type": "string"
  14395. },
  14396. "cusbankid": {
  14397. "description": "签约类型",
  14398. "type": "string"
  14399. },
  14400. "cusbankname": {
  14401. "description": "签约类型名称",
  14402. "type": "string"
  14403. },
  14404. "customername": {
  14405. "description": "客户名称(企业名称)",
  14406. "type": "string"
  14407. },
  14408. "districtid": {
  14409. "description": "地区",
  14410. "type": "integer"
  14411. },
  14412. "email": {
  14413. "description": "Email地址(加密存储)",
  14414. "type": "string"
  14415. },
  14416. "halfbodyphotourl": {
  14417. "description": "半身照地址",
  14418. "type": "string"
  14419. },
  14420. "headurl": {
  14421. "description": "头像地址",
  14422. "type": "string"
  14423. },
  14424. "ipaddress": {
  14425. "description": "IP地址",
  14426. "type": "string"
  14427. },
  14428. "isvalidate": {
  14429. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14430. "type": "string"
  14431. },
  14432. "legalcardbackphotourl": {
  14433. "description": "法人身份证背面照地址",
  14434. "type": "string"
  14435. },
  14436. "legalcardfrontphotourl": {
  14437. "description": "法人身份证正面照地址",
  14438. "type": "string"
  14439. },
  14440. "legalpersonname": {
  14441. "description": "法人姓名(企业)",
  14442. "type": "string"
  14443. },
  14444. "logincode": {
  14445. "description": "登录帐号 (加密存储)",
  14446. "type": "string"
  14447. },
  14448. "memberareaid": {
  14449. "description": "所属会员ID",
  14450. "type": "integer"
  14451. },
  14452. "mobile2": {
  14453. "description": "手机号码[明文-尚志]",
  14454. "type": "string"
  14455. },
  14456. "mobilephone": {
  14457. "description": "手机号码 (加密存储)",
  14458. "type": "string"
  14459. },
  14460. "modifiedby": {
  14461. "description": "修改人帐号",
  14462. "type": "integer"
  14463. },
  14464. "modifiedtime": {
  14465. "description": "修改时间",
  14466. "type": "string"
  14467. },
  14468. "nickname": {
  14469. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14470. "type": "string"
  14471. },
  14472. "openmode": {
  14473. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14474. "type": "integer"
  14475. },
  14476. "otherurl": {
  14477. "description": "其它图片地址[使用分号分隔]",
  14478. "type": "string"
  14479. },
  14480. "postalcode": {
  14481. "description": "邮政编码",
  14482. "type": "string"
  14483. },
  14484. "provinceid": {
  14485. "description": "省",
  14486. "type": "integer"
  14487. },
  14488. "proxystatementurl": {
  14489. "description": "授权委托书",
  14490. "type": "string"
  14491. },
  14492. "qq": {
  14493. "description": "QQ(加密存储",
  14494. "type": "string"
  14495. },
  14496. "referral": {
  14497. "description": "推荐人编码",
  14498. "type": "string"
  14499. },
  14500. "remark": {
  14501. "description": "备注",
  14502. "type": "string"
  14503. },
  14504. "removebeforestatus": {
  14505. "description": "REMOVEBEFORESTATUS",
  14506. "type": "integer"
  14507. },
  14508. "sex": {
  14509. "description": "性别 - 0:女 1:男",
  14510. "type": "integer"
  14511. },
  14512. "signedstatus": {
  14513. "description": "账户一号签签约状态",
  14514. "type": "integer"
  14515. },
  14516. "signpdfurl": {
  14517. "description": "签约pdf文件",
  14518. "type": "string"
  14519. },
  14520. "subbranch": {
  14521. "description": "开户支行",
  14522. "type": "string"
  14523. },
  14524. "taxpayernum": {
  14525. "description": "纳税人识别号",
  14526. "type": "string"
  14527. },
  14528. "telphone": {
  14529. "description": "联系电话(加密存储)",
  14530. "type": "string"
  14531. },
  14532. "userid": {
  14533. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14534. "type": "integer"
  14535. },
  14536. "userinfotype": {
  14537. "description": "用户信息类型 - 1:个人 2:企业",
  14538. "type": "integer"
  14539. },
  14540. "username": {
  14541. "description": "用户姓名",
  14542. "type": "string"
  14543. },
  14544. "userstate": {
  14545. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14546. "type": "integer"
  14547. },
  14548. "usertype": {
  14549. "description": "用户类型 - 1:投资者 2:机构",
  14550. "type": "integer"
  14551. },
  14552. "videourl": {
  14553. "description": "视频地址",
  14554. "type": "string"
  14555. },
  14556. "wechat": {
  14557. "description": "微信号 (加密存储)",
  14558. "type": "string"
  14559. }
  14560. }
  14561. },
  14562. "erms3.CustomerInfo": {
  14563. "type": "object",
  14564. "required": [
  14565. "userid"
  14566. ],
  14567. "properties": {
  14568. "accountids": {
  14569. "description": "资金账户ID列表",
  14570. "type": "array",
  14571. "items": {
  14572. "type": "integer"
  14573. }
  14574. },
  14575. "customername": {
  14576. "description": "名称(企业名称)",
  14577. "type": "string"
  14578. },
  14579. "mobile": {
  14580. "description": "手机号码",
  14581. "type": "string"
  14582. },
  14583. "userid": {
  14584. "description": "用户ID",
  14585. "type": "integer"
  14586. }
  14587. }
  14588. },
  14589. "erms3.ModifyUserInfoApplyReq": {
  14590. "type": "object",
  14591. "required": [
  14592. "userid"
  14593. ],
  14594. "properties": {
  14595. "accountid": {
  14596. "description": "交易系统帐号Id (加密存储)",
  14597. "type": "integer"
  14598. },
  14599. "areacode": {
  14600. "description": "机构代码",
  14601. "type": "string"
  14602. },
  14603. "areaid": {
  14604. "description": "机构Id",
  14605. "type": "integer"
  14606. },
  14607. "attachment1": {
  14608. "description": "附件1",
  14609. "type": "string"
  14610. },
  14611. "attachment2": {
  14612. "description": "附件2",
  14613. "type": "string"
  14614. },
  14615. "attachment3": {
  14616. "description": "附件3",
  14617. "type": "string"
  14618. },
  14619. "attachment4": {
  14620. "description": "附件4",
  14621. "type": "string"
  14622. },
  14623. "attachment5": {
  14624. "description": "附件5",
  14625. "type": "string"
  14626. },
  14627. "auditedby": {
  14628. "description": "审核人",
  14629. "type": "string"
  14630. },
  14631. "auditime": {
  14632. "description": "审核时间",
  14633. "type": "string"
  14634. },
  14635. "auditsrc": {
  14636. "description": "审核来源 - 1:管理端 2:终端",
  14637. "type": "integer"
  14638. },
  14639. "bankaccount": {
  14640. "description": "银行帐号 (加密存储)",
  14641. "type": "string"
  14642. },
  14643. "bankaccountname": {
  14644. "description": "收款人名称",
  14645. "type": "string"
  14646. },
  14647. "bankcardbackphotourl": {
  14648. "description": "银行卡背面照地址",
  14649. "type": "string"
  14650. },
  14651. "bankcardfrontphotourl": {
  14652. "description": "银行卡正面照地址",
  14653. "type": "string"
  14654. },
  14655. "bankid": {
  14656. "description": "银行编码",
  14657. "type": "string"
  14658. },
  14659. "bankname": {
  14660. "description": "银行名称",
  14661. "type": "string"
  14662. },
  14663. "bankpictureurl": {
  14664. "description": "银行卡正面地址",
  14665. "type": "string"
  14666. },
  14667. "biznature": {
  14668. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14669. "type": "integer"
  14670. },
  14671. "bizscope": {
  14672. "description": "企业经营范围(企业)",
  14673. "type": "string"
  14674. },
  14675. "biztype": {
  14676. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14677. "type": "integer"
  14678. },
  14679. "brokerid": {
  14680. "description": "经纪人ID(加密存储)",
  14681. "type": "string"
  14682. },
  14683. "cardaddress": {
  14684. "description": "证件地址 (加密存储)",
  14685. "type": "string"
  14686. },
  14687. "cardbackphotourl": {
  14688. "description": "背面证件照地址",
  14689. "type": "string"
  14690. },
  14691. "cardfrontphotourl": {
  14692. "description": "正面证件照地址",
  14693. "type": "string"
  14694. },
  14695. "cardnum": {
  14696. "description": "证件号码 (加密存储)",
  14697. "type": "string"
  14698. },
  14699. "cardtype": {
  14700. "description": "证件类型",
  14701. "type": "integer"
  14702. },
  14703. "cityid": {
  14704. "description": "市",
  14705. "type": "integer"
  14706. },
  14707. "company": {
  14708. "description": "公司(个人)",
  14709. "type": "string"
  14710. },
  14711. "contactcardbackphotourl": {
  14712. "description": "联系人证件背面图片地址",
  14713. "type": "string"
  14714. },
  14715. "contactcardfrontphotourl": {
  14716. "description": "联系人证件正面图片地址",
  14717. "type": "string"
  14718. },
  14719. "contactname": {
  14720. "description": "联系人",
  14721. "type": "string"
  14722. },
  14723. "countryid": {
  14724. "description": "国家",
  14725. "type": "integer"
  14726. },
  14727. "createtime": {
  14728. "description": "开户申请时间",
  14729. "type": "string"
  14730. },
  14731. "cusbankid": {
  14732. "description": "签约类型",
  14733. "type": "string"
  14734. },
  14735. "cusbankname": {
  14736. "description": "签约类型名称",
  14737. "type": "string"
  14738. },
  14739. "customername": {
  14740. "description": "客户名称(企业名称)",
  14741. "type": "string"
  14742. },
  14743. "districtid": {
  14744. "description": "地区",
  14745. "type": "integer"
  14746. },
  14747. "email": {
  14748. "description": "Email地址(加密存储)",
  14749. "type": "string"
  14750. },
  14751. "halfbodyphotourl": {
  14752. "description": "半身照地址",
  14753. "type": "string"
  14754. },
  14755. "headurl": {
  14756. "description": "头像地址",
  14757. "type": "string"
  14758. },
  14759. "ipaddress": {
  14760. "description": "IP地址",
  14761. "type": "string"
  14762. },
  14763. "isvalidate": {
  14764. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14765. "type": "string"
  14766. },
  14767. "legalcardbackphotourl": {
  14768. "description": "法人身份证背面照地址",
  14769. "type": "string"
  14770. },
  14771. "legalcardfrontphotourl": {
  14772. "description": "法人身份证正面照地址",
  14773. "type": "string"
  14774. },
  14775. "legalpersonname": {
  14776. "description": "法人姓名(企业)",
  14777. "type": "string"
  14778. },
  14779. "logincode": {
  14780. "description": "登录帐号 (加密存储)",
  14781. "type": "string"
  14782. },
  14783. "memberareaid": {
  14784. "description": "所属会员ID",
  14785. "type": "integer"
  14786. },
  14787. "mobile2": {
  14788. "description": "手机号码[明文-尚志]",
  14789. "type": "string"
  14790. },
  14791. "mobilephone": {
  14792. "description": "手机号码 (加密存储)",
  14793. "type": "string"
  14794. },
  14795. "modifiedby": {
  14796. "description": "修改人帐号",
  14797. "type": "integer"
  14798. },
  14799. "modifiedtime": {
  14800. "description": "修改时间",
  14801. "type": "string"
  14802. },
  14803. "nickname": {
  14804. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14805. "type": "string"
  14806. },
  14807. "openmode": {
  14808. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14809. "type": "integer"
  14810. },
  14811. "otherurl": {
  14812. "description": "其它图片地址[使用分号分隔]",
  14813. "type": "string"
  14814. },
  14815. "postalcode": {
  14816. "description": "邮政编码",
  14817. "type": "string"
  14818. },
  14819. "provinceid": {
  14820. "description": "省",
  14821. "type": "integer"
  14822. },
  14823. "proxystatementurl": {
  14824. "description": "授权委托书",
  14825. "type": "string"
  14826. },
  14827. "qq": {
  14828. "description": "QQ(加密存储",
  14829. "type": "string"
  14830. },
  14831. "referral": {
  14832. "description": "推荐人编码",
  14833. "type": "string"
  14834. },
  14835. "remark": {
  14836. "description": "备注",
  14837. "type": "string"
  14838. },
  14839. "removebeforestatus": {
  14840. "description": "REMOVEBEFORESTATUS",
  14841. "type": "integer"
  14842. },
  14843. "sex": {
  14844. "description": "性别 - 0:女 1:男",
  14845. "type": "integer"
  14846. },
  14847. "signedstatus": {
  14848. "description": "账户一号签签约状态",
  14849. "type": "integer"
  14850. },
  14851. "signpdfurl": {
  14852. "description": "签约pdf文件",
  14853. "type": "string"
  14854. },
  14855. "subbranch": {
  14856. "description": "开户支行",
  14857. "type": "string"
  14858. },
  14859. "taxpayernum": {
  14860. "description": "纳税人识别号",
  14861. "type": "string"
  14862. },
  14863. "telphone": {
  14864. "description": "联系电话(加密存储)",
  14865. "type": "string"
  14866. },
  14867. "userid": {
  14868. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14869. "type": "integer"
  14870. },
  14871. "userinfotype": {
  14872. "description": "用户信息类型 - 1:个人 2:企业",
  14873. "type": "integer"
  14874. },
  14875. "username": {
  14876. "description": "用户姓名",
  14877. "type": "string"
  14878. },
  14879. "userstate": {
  14880. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14881. "type": "integer"
  14882. },
  14883. "usertype": {
  14884. "description": "用户类型 - 1:投资者 2:机构",
  14885. "type": "integer"
  14886. },
  14887. "videourl": {
  14888. "description": "视频地址",
  14889. "type": "string"
  14890. },
  14891. "wechat": {
  14892. "description": "微信号 (加密存储)",
  14893. "type": "string"
  14894. }
  14895. }
  14896. },
  14897. "erms3.QryAuditContractRsp": {
  14898. "type": "object",
  14899. "required": [
  14900. "matchcustomername",
  14901. "spotcontractid"
  14902. ],
  14903. "properties": {
  14904. "accountid": {
  14905. "description": "交易员ID",
  14906. "type": "string"
  14907. },
  14908. "applystatus": {
  14909. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14910. "type": "integer"
  14911. },
  14912. "curdeliveryqty": {
  14913. "description": "未交收量",
  14914. "type": "integer"
  14915. },
  14916. "customername": {
  14917. "description": "采购方ID",
  14918. "type": "string"
  14919. },
  14920. "deliverygoodsid": {
  14921. "description": "品种ID",
  14922. "type": "string"
  14923. },
  14924. "deliveryqty": {
  14925. "description": "交收量",
  14926. "type": "integer"
  14927. },
  14928. "enumdicname": {
  14929. "description": "单位名称",
  14930. "type": "string"
  14931. },
  14932. "matchaccountid": {
  14933. "description": "业务员ID",
  14934. "type": "string"
  14935. },
  14936. "matchcustomername": {
  14937. "description": "销售方ID",
  14938. "type": "string"
  14939. },
  14940. "pricedqty": {
  14941. "description": "定价量",
  14942. "type": "number"
  14943. },
  14944. "signdate": {
  14945. "description": "签订日期",
  14946. "type": "string"
  14947. },
  14948. "spotcontractid": {
  14949. "description": "合同ID",
  14950. "type": "string"
  14951. },
  14952. "totaldqty": {
  14953. "description": "合同量",
  14954. "type": "number"
  14955. },
  14956. "unpricedqty": {
  14957. "description": "未定价量",
  14958. "type": "number"
  14959. },
  14960. "wrstandardname": {
  14961. "description": "商品名称",
  14962. "type": "string"
  14963. }
  14964. }
  14965. },
  14966. "erms3.QryPendingBizRsp": {
  14967. "$ref": "#/definitions/models.PendingAuditBizModel"
  14968. },
  14969. "erms3.QueryBusinessInfoRsp": {
  14970. "type": "object",
  14971. "properties": {
  14972. "businessid": {
  14973. "description": "业务ID.",
  14974. "type": "integer"
  14975. },
  14976. "buyamount": {
  14977. "description": "采购额.",
  14978. "type": "number"
  14979. },
  14980. "buyqty": {
  14981. "description": "采购量.",
  14982. "type": "string"
  14983. },
  14984. "futurepl": {
  14985. "description": "期货盈亏.",
  14986. "type": "number"
  14987. },
  14988. "futureqty": {
  14989. "description": "期货敞口.",
  14990. "type": "string"
  14991. },
  14992. "goodsid": {
  14993. "description": "商品名称/商品代码.",
  14994. "type": "string"
  14995. },
  14996. "hedgingqty": {
  14997. "description": "套保量.",
  14998. "type": "string"
  14999. },
  15000. "sellamount": {
  15001. "description": "销售额.",
  15002. "type": "number"
  15003. },
  15004. "sellqty": {
  15005. "description": "销售量.",
  15006. "type": "string"
  15007. },
  15008. "spotmarketvalue": {
  15009. "description": "现货市值.",
  15010. "type": "number"
  15011. },
  15012. "spotpl": {
  15013. "description": "浮动权益.",
  15014. "type": "number"
  15015. },
  15016. "spotqty": {
  15017. "description": "现货量.",
  15018. "type": "string"
  15019. },
  15020. "statu": {
  15021. "description": "状态,0-未结束 1-已结束.",
  15022. "type": "integer"
  15023. },
  15024. "totalpl": {
  15025. "description": "总盈亏.",
  15026. "type": "number"
  15027. },
  15028. "totalqty": {
  15029. "description": "总敞口.",
  15030. "type": "string"
  15031. },
  15032. "type": {
  15033. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15034. "type": "integer"
  15035. }
  15036. }
  15037. },
  15038. "erms3.QuerySpotContractAppleFormRsp": {
  15039. "type": "object",
  15040. "properties": {
  15041. "goodses": {
  15042. "description": "合约列表",
  15043. "type": "array",
  15044. "items": {
  15045. "$ref": "#/definitions/models.GoodsIDAndName"
  15046. }
  15047. },
  15048. "oppositeusers": {
  15049. "description": "对方账号列表",
  15050. "type": "array",
  15051. "items": {
  15052. "$ref": "#/definitions/erms3.CustomerInfo"
  15053. }
  15054. },
  15055. "ouruser": {
  15056. "description": "我方账号",
  15057. "type": "object",
  15058. "$ref": "#/definitions/erms3.CustomerInfo"
  15059. },
  15060. "warehouseinfos": {
  15061. "description": "仓库信息列表",
  15062. "type": "array",
  15063. "items": {
  15064. "$ref": "#/definitions/models.Warehouseinfo"
  15065. }
  15066. },
  15067. "wrstandards": {
  15068. "description": "仓单标准列表",
  15069. "type": "array",
  15070. "items": {
  15071. "$ref": "#/definitions/models.WRStandardInfo"
  15072. }
  15073. }
  15074. }
  15075. },
  15076. "erms3.QuerySpotContractInfoRsp": {
  15077. "type": "object",
  15078. "properties": {
  15079. "accountid": {
  15080. "description": "表示交易员ID.",
  15081. "type": "integer"
  15082. },
  15083. "curdeliveryqty": {
  15084. "description": "表示未交收量.",
  15085. "type": "number"
  15086. },
  15087. "customername": {
  15088. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15089. "type": "string"
  15090. },
  15091. "deliverygoodsid": {
  15092. "description": "表示品种ID.",
  15093. "type": "string"
  15094. },
  15095. "deliveryqty": {
  15096. "description": "表示交收量.",
  15097. "type": "number"
  15098. },
  15099. "matchaccountid": {
  15100. "description": "表示业务员ID.",
  15101. "type": "integer"
  15102. },
  15103. "matchcustomername": {
  15104. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15105. "type": "string"
  15106. },
  15107. "priceqty": {
  15108. "description": "表示定价量.",
  15109. "type": "number"
  15110. },
  15111. "relatedbizid": {
  15112. "description": "表示业务ID.",
  15113. "type": "string"
  15114. },
  15115. "signdate": {
  15116. "description": "表示签订日期.",
  15117. "type": "string"
  15118. },
  15119. "spotcontractid": {
  15120. "description": "合同ID",
  15121. "type": "string"
  15122. },
  15123. "status": {
  15124. "description": "表示状态,0-履约中 1-已完成.",
  15125. "type": "integer"
  15126. },
  15127. "totalqty": {
  15128. "description": "表示合同量.",
  15129. "type": "number"
  15130. },
  15131. "unpricedqty": {
  15132. "description": "表示未定价量.",
  15133. "type": "number"
  15134. },
  15135. "wrstandardname": {
  15136. "description": "表示商品ID.",
  15137. "type": "string"
  15138. }
  15139. }
  15140. },
  15141. "erms3.QueryUserInfoAppliesRsp": {
  15142. "type": "object",
  15143. "required": [
  15144. "userid"
  15145. ],
  15146. "properties": {
  15147. "biznature": {
  15148. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15149. "type": "integer"
  15150. },
  15151. "contactname": {
  15152. "description": "联系人",
  15153. "type": "string"
  15154. },
  15155. "createtime": {
  15156. "description": "开户申请时间",
  15157. "type": "string"
  15158. },
  15159. "userid": {
  15160. "description": "用户ID(自增ID)",
  15161. "type": "integer"
  15162. },
  15163. "userinfotype": {
  15164. "description": "用户信息类型 - 1:个人 2:企业",
  15165. "type": "integer"
  15166. },
  15167. "username": {
  15168. "description": "用户姓名",
  15169. "type": "string"
  15170. },
  15171. "userstate": {
  15172. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15173. "type": "integer"
  15174. }
  15175. }
  15176. },
  15177. "erms3.QueryUserInfosRsp": {
  15178. "type": "object",
  15179. "required": [
  15180. "userid"
  15181. ],
  15182. "properties": {
  15183. "biznature": {
  15184. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15185. "type": "integer"
  15186. },
  15187. "contactname": {
  15188. "description": "联系人",
  15189. "type": "string"
  15190. },
  15191. "customername": {
  15192. "description": "客户名称(企业名称)",
  15193. "type": "string"
  15194. },
  15195. "userid": {
  15196. "description": "用户ID",
  15197. "type": "integer"
  15198. },
  15199. "userinfotype": {
  15200. "description": "用户信息类型 - 1:个人 2:企业",
  15201. "type": "integer"
  15202. },
  15203. "userstatus": {
  15204. "description": "用户状态 - 1:正常 2:注销",
  15205. "type": "integer"
  15206. }
  15207. }
  15208. },
  15209. "erms3.SoptContractDetail": {
  15210. "type": "object",
  15211. "required": [
  15212. "deliverygoodsid",
  15213. "producttype",
  15214. "unitname",
  15215. "warehouseid",
  15216. "wrstandardid",
  15217. "wrstandardname"
  15218. ],
  15219. "properties": {
  15220. "deliverygoodsdesc": {
  15221. "description": "现货品种说明",
  15222. "type": "string"
  15223. },
  15224. "deliverygoodsid": {
  15225. "description": "现货品种ID",
  15226. "type": "integer"
  15227. },
  15228. "deliverygoodsname": {
  15229. "description": "现货品种名称",
  15230. "type": "string"
  15231. },
  15232. "pointdesc": {
  15233. "description": "点价描述",
  15234. "type": "string"
  15235. },
  15236. "producttype": {
  15237. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15238. "type": "integer"
  15239. },
  15240. "producttypename": {
  15241. "description": "产品类型名称",
  15242. "type": "string"
  15243. },
  15244. "spotPointOrderVoList": {
  15245. "description": "点价列表",
  15246. "type": "array",
  15247. "items": {
  15248. "$ref": "#/definitions/erms3.SpotPointOrder"
  15249. }
  15250. },
  15251. "spotPriceOrderList": {
  15252. "description": "定价列表",
  15253. "type": "array",
  15254. "items": {
  15255. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15256. }
  15257. },
  15258. "unitname": {
  15259. "description": "单位名称",
  15260. "type": "string"
  15261. },
  15262. "warehouseid": {
  15263. "description": "仓库ID",
  15264. "type": "integer"
  15265. },
  15266. "warehousename": {
  15267. "description": "仓库名称",
  15268. "type": "string"
  15269. },
  15270. "wrstandardid": {
  15271. "description": "交易标的ID",
  15272. "type": "integer"
  15273. },
  15274. "wrstandardname": {
  15275. "description": "交易标的名称",
  15276. "type": "string"
  15277. }
  15278. }
  15279. },
  15280. "erms3.SpotPointOrder": {
  15281. "type": "object",
  15282. "required": [
  15283. "basic",
  15284. "goodsid",
  15285. "qty"
  15286. ],
  15287. "properties": {
  15288. "basic": {
  15289. "description": "基差",
  15290. "type": "number"
  15291. },
  15292. "deliveryenddate": {
  15293. "description": "交收结束日期",
  15294. "type": "string"
  15295. },
  15296. "deliverystartdate": {
  15297. "description": "交收开始日期",
  15298. "type": "string"
  15299. },
  15300. "enddate": {
  15301. "description": "点价结束日期",
  15302. "type": "string"
  15303. },
  15304. "goodsid": {
  15305. "description": "商品ID",
  15306. "type": "integer"
  15307. },
  15308. "goodsname": {
  15309. "description": "商品名称",
  15310. "type": "string"
  15311. },
  15312. "qty": {
  15313. "description": "数量",
  15314. "type": "number"
  15315. },
  15316. "startdate": {
  15317. "description": "点价开始日期",
  15318. "type": "string"
  15319. }
  15320. }
  15321. },
  15322. "erms3.SpotPriceOrder": {
  15323. "type": "object",
  15324. "required": [
  15325. "amount",
  15326. "price",
  15327. "qty"
  15328. ],
  15329. "properties": {
  15330. "amount": {
  15331. "description": "金额",
  15332. "type": "number"
  15333. },
  15334. "deliveryenddate": {
  15335. "description": "交收结束日期",
  15336. "type": "string"
  15337. },
  15338. "deliverystartdate": {
  15339. "description": "交收开始日期",
  15340. "type": "string"
  15341. },
  15342. "price": {
  15343. "description": "价格",
  15344. "type": "number"
  15345. },
  15346. "qty": {
  15347. "description": "数量",
  15348. "type": "number"
  15349. }
  15350. }
  15351. },
  15352. "hsby.GetHsbyMyCountRsp": {
  15353. "type": "object",
  15354. "properties": {
  15355. "myCouponCount": {
  15356. "description": "我的优惠卷数量",
  15357. "type": "integer"
  15358. },
  15359. "myOrderDetailListingCount": {
  15360. "description": "我的订单求购中数量",
  15361. "type": "integer"
  15362. },
  15363. "myOrderDetailPreCount": {
  15364. "description": "我的订单抢购中数量",
  15365. "type": "integer"
  15366. },
  15367. "myPackageUnReceiveCount": {
  15368. "description": "我的包裹待收货数量",
  15369. "type": "integer"
  15370. },
  15371. "myPackageUnSendCount": {
  15372. "description": "我的包裹待发货数量",
  15373. "type": "integer"
  15374. },
  15375. "myPayOrderCount": {
  15376. "description": "我的订单待付款数量",
  15377. "type": "integer"
  15378. }
  15379. }
  15380. },
  15381. "hsby.QueryProvincesAndCitiesRsp": {
  15382. "type": "object",
  15383. "properties": {
  15384. "cities": {
  15385. "description": "市",
  15386. "type": "array",
  15387. "items": {
  15388. "$ref": "#/definitions/models.Division"
  15389. }
  15390. },
  15391. "province": {
  15392. "description": "省",
  15393. "type": "object",
  15394. "$ref": "#/definitions/models.Division"
  15395. }
  15396. }
  15397. },
  15398. "models.AreaSpotModel": {
  15399. "type": "object",
  15400. "properties": {
  15401. "areauserid": {
  15402. "description": "所属机构",
  15403. "type": "integer"
  15404. },
  15405. "decreaseqty": {
  15406. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15407. "type": "number"
  15408. },
  15409. "increaseqty": {
  15410. "description": "增加数量=销售计划数量+采购已定价数量",
  15411. "type": "number"
  15412. },
  15413. "oritoalspotqty": {
  15414. "description": "昨日数量",
  15415. "type": "number"
  15416. },
  15417. "totalspotqty": {
  15418. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15419. "type": "number"
  15420. },
  15421. "updatetime": {
  15422. "description": "更新时间",
  15423. "type": "string"
  15424. },
  15425. "wrstandardcode": {
  15426. "description": "现货品种代码",
  15427. "type": "string"
  15428. },
  15429. "wrstandardid": {
  15430. "description": "现货商品ID",
  15431. "type": "integer"
  15432. },
  15433. "wrstandardname": {
  15434. "description": "现货品种",
  15435. "type": "string"
  15436. }
  15437. }
  15438. },
  15439. "models.Arearole": {
  15440. "type": "object",
  15441. "required": [
  15442. "roletype",
  15443. "userid"
  15444. ],
  15445. "properties": {
  15446. "createtime": {
  15447. "description": "创建时间",
  15448. "type": "string"
  15449. },
  15450. "creatorid": {
  15451. "description": "创建人ID",
  15452. "type": "integer"
  15453. },
  15454. "fromuserid": {
  15455. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15456. "type": "integer"
  15457. },
  15458. "isreturnscore": {
  15459. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15460. "type": "integer"
  15461. },
  15462. "modifierid": {
  15463. "description": "修改人ID",
  15464. "type": "integer"
  15465. },
  15466. "modifytime": {
  15467. "description": "修改时间",
  15468. "type": "string"
  15469. },
  15470. "orgtype": {
  15471. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15472. "type": "integer"
  15473. },
  15474. "outuserid": {
  15475. "description": "外部账户[场外期权做市商]",
  15476. "type": "string"
  15477. },
  15478. "parentuserid": {
  15479. "description": "上级组织机构(组织机构)",
  15480. "type": "integer"
  15481. },
  15482. "roletype": {
  15483. "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:门店",
  15484. "type": "integer"
  15485. },
  15486. "rootuserid": {
  15487. "description": "顶级组织机构用户ID(组织机构)",
  15488. "type": "integer"
  15489. },
  15490. "shoppassword": {
  15491. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15492. "type": "string"
  15493. },
  15494. "sublevelpath": {
  15495. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15496. "type": "string"
  15497. },
  15498. "suborgtype": {
  15499. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15500. "type": "integer"
  15501. },
  15502. "tradeaccountid": {
  15503. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15504. "type": "integer"
  15505. },
  15506. "transurl": {
  15507. "description": "物流地址(物流机构)",
  15508. "type": "string"
  15509. },
  15510. "userid": {
  15511. "description": "机构用户ID其他做市关系,都设置为 1",
  15512. "type": "integer"
  15513. }
  15514. }
  15515. },
  15516. "models.Clientfixedadconfig": {
  15517. "type": "object",
  15518. "required": [
  15519. "adsort",
  15520. "adtype"
  15521. ],
  15522. "properties": {
  15523. "adsort": {
  15524. "description": "排序",
  15525. "type": "integer"
  15526. },
  15527. "adtype": {
  15528. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15529. "type": "integer"
  15530. },
  15531. "areauserid": {
  15532. "description": "所属机构ID",
  15533. "type": "integer"
  15534. },
  15535. "createdate": {
  15536. "description": "创建时间",
  15537. "type": "string"
  15538. },
  15539. "creatorid": {
  15540. "description": "创建人",
  15541. "type": "integer"
  15542. },
  15543. "imagepath": {
  15544. "description": "图片",
  15545. "type": "string"
  15546. },
  15547. "isshow": {
  15548. "description": "是否展示 - 0:不展示 1:展示",
  15549. "type": "integer"
  15550. },
  15551. "modifierid": {
  15552. "description": "操作人",
  15553. "type": "integer"
  15554. },
  15555. "recsize": {
  15556. "description": "推荐尺寸",
  15557. "type": "string"
  15558. },
  15559. "title": {
  15560. "description": "标题",
  15561. "type": "string"
  15562. },
  15563. "updatedate": {
  15564. "description": "更新时间",
  15565. "type": "string"
  15566. },
  15567. "urlcontent": {
  15568. "description": "链接(地址或商品ID)",
  15569. "type": "string"
  15570. },
  15571. "urltype": {
  15572. "description": "链接类型 - 1:直接地址 2:商品ID",
  15573. "type": "integer"
  15574. }
  15575. }
  15576. },
  15577. "models.Division": {
  15578. "type": "object",
  15579. "required": [
  15580. "autoid",
  15581. "divisioncode"
  15582. ],
  15583. "properties": {
  15584. "autoid": {
  15585. "description": "自增ID",
  15586. "type": "integer"
  15587. },
  15588. "divisioncode": {
  15589. "description": "行政代码",
  15590. "type": "string"
  15591. },
  15592. "divisionlevel": {
  15593. "description": "行政级别",
  15594. "type": "string"
  15595. },
  15596. "divisionname": {
  15597. "description": "行政名称",
  15598. "type": "string"
  15599. },
  15600. "modifierid": {
  15601. "description": "修改人",
  15602. "type": "integer"
  15603. },
  15604. "modifytime": {
  15605. "description": "修改时间",
  15606. "type": "string"
  15607. },
  15608. "parentcode": {
  15609. "description": "上级行政代码",
  15610. "type": "string"
  15611. },
  15612. "pathname": {
  15613. "description": "路径名称",
  15614. "type": "string"
  15615. },
  15616. "postcode": {
  15617. "description": "邮政编码",
  15618. "type": "string"
  15619. },
  15620. "separablename": {
  15621. "description": "可拆分的全称",
  15622. "type": "string"
  15623. },
  15624. "shortcode": {
  15625. "description": "地区简码",
  15626. "type": "string"
  15627. }
  15628. }
  15629. },
  15630. "models.Enumdicitem": {
  15631. "type": "object",
  15632. "required": [
  15633. "autoid",
  15634. "enumdiccode",
  15635. "enumdicid",
  15636. "enumitemname"
  15637. ],
  15638. "properties": {
  15639. "autoid": {
  15640. "description": "自增ID",
  15641. "type": "integer"
  15642. },
  15643. "bankmappedvalue": {
  15644. "description": "银行服务对应值",
  15645. "type": "string"
  15646. },
  15647. "enumdiccode": {
  15648. "description": "所属枚举代码",
  15649. "type": "string"
  15650. },
  15651. "enumdicid": {
  15652. "description": "所属枚举ID",
  15653. "type": "integer"
  15654. },
  15655. "enumdicname": {
  15656. "description": "枚举项名称",
  15657. "type": "string"
  15658. },
  15659. "enumitemname": {
  15660. "description": "枚举项值",
  15661. "type": "integer"
  15662. },
  15663. "enumitemstatus": {
  15664. "description": "枚举项状态 - 1.启用 2.不启用",
  15665. "type": "integer"
  15666. },
  15667. "enumitemvalue": {
  15668. "description": "通用值 - [币种通用简写]",
  15669. "type": "string"
  15670. },
  15671. "param1": {
  15672. "description": "参数1[币种:币种小数位]",
  15673. "type": "string"
  15674. },
  15675. "param2": {
  15676. "description": "参数1[币种:币种显示单位]",
  15677. "type": "string"
  15678. },
  15679. "remark": {
  15680. "description": "备注",
  15681. "type": "string"
  15682. }
  15683. }
  15684. },
  15685. "models.Ermcp3AreaSpot": {
  15686. "type": "object",
  15687. "properties": {
  15688. "areauserid": {
  15689. "description": "所属机构",
  15690. "type": "integer"
  15691. },
  15692. "decreaseqty": {
  15693. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15694. "type": "number"
  15695. },
  15696. "deliverygoodscode": {
  15697. "description": "现货品种代码",
  15698. "type": "string"
  15699. },
  15700. "deliverygoodsid": {
  15701. "description": "现货品种id",
  15702. "type": "integer"
  15703. },
  15704. "deliverygoodsname": {
  15705. "description": "现货品种名称",
  15706. "type": "string"
  15707. },
  15708. "enumdicname": {
  15709. "description": "单位名称",
  15710. "type": "string"
  15711. },
  15712. "goodsunitid": {
  15713. "description": "现货品种单位id",
  15714. "type": "integer"
  15715. },
  15716. "increaseqty": {
  15717. "description": "增加数量=销售计划数量+采购已定价数量",
  15718. "type": "number"
  15719. },
  15720. "oritoalspotqty": {
  15721. "description": "昨日数量",
  15722. "type": "number"
  15723. },
  15724. "totalspotqty": {
  15725. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15726. "type": "number"
  15727. },
  15728. "updatetime": {
  15729. "description": "更新时间",
  15730. "type": "string"
  15731. }
  15732. }
  15733. },
  15734. "models.Ermcp3AreaSpotDetail": {
  15735. "type": "object",
  15736. "properties": {
  15737. "contracttype": {
  15738. "description": "合同类型 1-采购 -1-销售",
  15739. "type": "integer"
  15740. },
  15741. "createtime": {
  15742. "description": "创建时间",
  15743. "type": "string"
  15744. },
  15745. "deliverygoodscode": {
  15746. "description": "现货品种代码",
  15747. "type": "string"
  15748. },
  15749. "deliverygoodsid": {
  15750. "description": "现货品种id",
  15751. "type": "integer"
  15752. },
  15753. "deliverygoodsname": {
  15754. "description": "现货品种名称",
  15755. "type": "string"
  15756. },
  15757. "enumdicname": {
  15758. "description": "现货商品单位名称",
  15759. "type": "string"
  15760. },
  15761. "logtype": {
  15762. "description": "记录类型 1-套保 2-现货合同",
  15763. "type": "integer"
  15764. },
  15765. "qty": {
  15766. "description": "数量",
  15767. "type": "number"
  15768. },
  15769. "recordname": {
  15770. "description": "类型名称",
  15771. "type": "string"
  15772. },
  15773. "relatedid": {
  15774. "description": "套保计划ID/现货合同ID",
  15775. "type": "string"
  15776. },
  15777. "relatedno": {
  15778. "description": "编号",
  15779. "type": "string"
  15780. },
  15781. "strtime": {
  15782. "description": "时间",
  15783. "type": "string"
  15784. }
  15785. }
  15786. },
  15787. "models.Ermcp3AreaSpotPLReport": {
  15788. "type": "object",
  15789. "properties": {
  15790. "accountid": {
  15791. "description": "期货账户ID (作废, 默认为0)",
  15792. "type": "integer"
  15793. },
  15794. "accountname": {
  15795. "description": "机构名称",
  15796. "type": "string"
  15797. },
  15798. "actualpl": {
  15799. "description": "现货损益",
  15800. "type": "number"
  15801. },
  15802. "areauserid": {
  15803. "description": "所属机构\\交易用户ID",
  15804. "type": "integer"
  15805. },
  15806. "begindate": {
  15807. "description": "开始交易日",
  15808. "type": "string"
  15809. },
  15810. "biztype": {
  15811. "description": "业务类型 - 1:套保 2:套利",
  15812. "type": "integer"
  15813. },
  15814. "brandname": {
  15815. "description": "品牌名称",
  15816. "type": "string"
  15817. },
  15818. "curamount": {
  15819. "description": "期末额",
  15820. "type": "number"
  15821. },
  15822. "curaverageprice": {
  15823. "description": "期末均价",
  15824. "type": "number"
  15825. },
  15826. "curbuyamount": {
  15827. "description": "期末采购总额",
  15828. "type": "number"
  15829. },
  15830. "curbuyqty": {
  15831. "description": "期末采购总量",
  15832. "type": "number"
  15833. },
  15834. "curmarketvalue": {
  15835. "description": "参考市值(期末市值)",
  15836. "type": "number"
  15837. },
  15838. "curqty": {
  15839. "description": "期末量",
  15840. "type": "number"
  15841. },
  15842. "currencyid": {
  15843. "description": "结算币种ID【原值】",
  15844. "type": "integer"
  15845. },
  15846. "currencyname": {
  15847. "description": "币种名称",
  15848. "type": "string"
  15849. },
  15850. "cursellamount": {
  15851. "description": "期末销售总额",
  15852. "type": "number"
  15853. },
  15854. "cursellqty": {
  15855. "description": "期末销售总量",
  15856. "type": "number"
  15857. },
  15858. "curspotprice": {
  15859. "description": "参考市价(最新价)",
  15860. "type": "number"
  15861. },
  15862. "cycletime": {
  15863. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15864. "type": "string"
  15865. },
  15866. "cycletype": {
  15867. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15868. "type": "integer"
  15869. },
  15870. "deliverygoodscode": {
  15871. "description": "现货商品代码",
  15872. "type": "string"
  15873. },
  15874. "deliverygoodsid": {
  15875. "description": "现货品种ID",
  15876. "type": "integer"
  15877. },
  15878. "deliverygoodsname": {
  15879. "description": "现货商品名称",
  15880. "type": "string"
  15881. },
  15882. "enddate": {
  15883. "description": "结束交易日",
  15884. "type": "string"
  15885. },
  15886. "enumdicname": {
  15887. "description": "现货商品单位名称",
  15888. "type": "string"
  15889. },
  15890. "floatpl": {
  15891. "description": "浮动损益",
  15892. "type": "number"
  15893. },
  15894. "goodsunitid": {
  15895. "description": "现货商品单位id",
  15896. "type": "integer"
  15897. },
  15898. "oriamount": {
  15899. "description": "期初额",
  15900. "type": "number"
  15901. },
  15902. "oriaverageprice": {
  15903. "description": "期初均价",
  15904. "type": "number"
  15905. },
  15906. "oribuyamount": {
  15907. "description": "期初采购总额",
  15908. "type": "number"
  15909. },
  15910. "oribuyqty": {
  15911. "description": "期初采购总量",
  15912. "type": "number"
  15913. },
  15914. "oriqty": {
  15915. "description": "期初量",
  15916. "type": "number"
  15917. },
  15918. "orisellamount": {
  15919. "description": "期初销售总额",
  15920. "type": "number"
  15921. },
  15922. "orisellqty": {
  15923. "description": "期初销售总量",
  15924. "type": "number"
  15925. },
  15926. "reckondate": {
  15927. "description": "日照时期(yyyyMMdd)",
  15928. "type": "string"
  15929. },
  15930. "spotgoodsbrandid": {
  15931. "description": "现货品牌ID",
  15932. "type": "integer"
  15933. },
  15934. "todaybuyamount": {
  15935. "description": "今日采购额(今采购额)",
  15936. "type": "number"
  15937. },
  15938. "todaybuyaverageprice": {
  15939. "description": "今日采购均价",
  15940. "type": "number"
  15941. },
  15942. "todaybuyqty": {
  15943. "description": "今日采购量(今采购量)",
  15944. "type": "number"
  15945. },
  15946. "todayinqty": {
  15947. "description": "今日入库量(今入库量)",
  15948. "type": "number"
  15949. },
  15950. "todayoutqty": {
  15951. "description": "今日出库量(今出库量)",
  15952. "type": "number"
  15953. },
  15954. "todaysellamount": {
  15955. "description": "今日销售额(今销售额)",
  15956. "type": "number"
  15957. },
  15958. "todaysellaverageprice": {
  15959. "description": "今日销售均价",
  15960. "type": "number"
  15961. },
  15962. "todaysellqty": {
  15963. "description": "今日销售量(今销售量)",
  15964. "type": "number"
  15965. },
  15966. "unitid": {
  15967. "description": "品类单位id",
  15968. "type": "integer"
  15969. },
  15970. "unitidname": {
  15971. "description": "品类单位名称",
  15972. "type": "string"
  15973. },
  15974. "updatetime": {
  15975. "description": "更新时间",
  15976. "type": "string"
  15977. },
  15978. "wrfactortypeid": {
  15979. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15980. "type": "integer"
  15981. },
  15982. "wrstandardcode": {
  15983. "description": "品类代码",
  15984. "type": "string"
  15985. },
  15986. "wrstandardid": {
  15987. "description": "现货品类ID",
  15988. "type": "integer"
  15989. },
  15990. "wrstandardname": {
  15991. "description": "品类名称",
  15992. "type": "string"
  15993. }
  15994. }
  15995. },
  15996. "models.Ermcp3AreaStock": {
  15997. "type": "object",
  15998. "required": [
  15999. "userid"
  16000. ],
  16001. "properties": {
  16002. "brandname": {
  16003. "description": "品牌名称",
  16004. "type": "string"
  16005. },
  16006. "curstock": {
  16007. "description": "期末库存量(今日量)",
  16008. "type": "number"
  16009. },
  16010. "deliverygoodscode": {
  16011. "description": "现货品种代码",
  16012. "type": "string"
  16013. },
  16014. "deliverygoodsid": {
  16015. "description": "现货品种id",
  16016. "type": "integer"
  16017. },
  16018. "deliverygoodsname": {
  16019. "description": "现货品种名称",
  16020. "type": "string"
  16021. },
  16022. "enumdicname": {
  16023. "description": "单位名称",
  16024. "type": "string"
  16025. },
  16026. "goodsunitid": {
  16027. "description": "现货商品单位id",
  16028. "type": "integer"
  16029. },
  16030. "oristock": {
  16031. "description": "期初库存量(昨日量)",
  16032. "type": "number"
  16033. },
  16034. "spotgoodsbrandid": {
  16035. "description": "现货品牌ID",
  16036. "type": "integer"
  16037. },
  16038. "todaybuyinqty": {
  16039. "description": "今日采购入库量",
  16040. "type": "number"
  16041. },
  16042. "todayproduceinqty": {
  16043. "description": "今日生产入库量",
  16044. "type": "number"
  16045. },
  16046. "todayproduceoutqty": {
  16047. "description": "今日生产出库量",
  16048. "type": "number"
  16049. },
  16050. "todayselloutqty": {
  16051. "description": "今日销售出库量",
  16052. "type": "number"
  16053. },
  16054. "unitid": {
  16055. "description": "单位id",
  16056. "type": "integer"
  16057. },
  16058. "updatetime": {
  16059. "description": "更新时间",
  16060. "type": "string"
  16061. },
  16062. "userid": {
  16063. "description": "机构ID",
  16064. "type": "integer"
  16065. },
  16066. "username": {
  16067. "description": "机构名称",
  16068. "type": "string"
  16069. },
  16070. "warehousecode": {
  16071. "description": "仓库代码",
  16072. "type": "string"
  16073. },
  16074. "warehouseinfoid": {
  16075. "description": "仓库ID",
  16076. "type": "string"
  16077. },
  16078. "warehousename": {
  16079. "description": "仓库名称",
  16080. "type": "string"
  16081. },
  16082. "warehousetype": {
  16083. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16084. "type": "integer"
  16085. },
  16086. "wrstandardcode": {
  16087. "description": "品类代码",
  16088. "type": "string"
  16089. },
  16090. "wrstandardid": {
  16091. "description": "品类ID",
  16092. "type": "string"
  16093. },
  16094. "wrstandardname": {
  16095. "description": "品类名称",
  16096. "type": "string"
  16097. }
  16098. }
  16099. },
  16100. "models.Ermcp3AreaStockApply": {
  16101. "type": "object",
  16102. "properties": {
  16103. "applyid": {
  16104. "description": "申请人",
  16105. "type": "integer"
  16106. },
  16107. "applyname": {
  16108. "description": "申请人名称",
  16109. "type": "string"
  16110. },
  16111. "applyremark": {
  16112. "description": "申请备注",
  16113. "type": "string"
  16114. },
  16115. "applysrc": {
  16116. "description": "申请来源 - 1:管理端 2:终端",
  16117. "type": "integer"
  16118. },
  16119. "applystatus": {
  16120. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16121. "type": "integer"
  16122. },
  16123. "applytime": {
  16124. "description": "申请时间",
  16125. "type": "string"
  16126. },
  16127. "auditid": {
  16128. "description": "审核人",
  16129. "type": "integer"
  16130. },
  16131. "auditname": {
  16132. "description": "审核人名称",
  16133. "type": "string"
  16134. },
  16135. "auditremark": {
  16136. "description": "审核备注",
  16137. "type": "string"
  16138. },
  16139. "auditsrc": {
  16140. "description": "审核来源 - 1:管理端 2:终端",
  16141. "type": "integer"
  16142. },
  16143. "audittime": {
  16144. "description": "审核时间",
  16145. "type": "string"
  16146. },
  16147. "audittradedate": {
  16148. "description": "审核交易日(yyyyMMdd)",
  16149. "type": "string"
  16150. },
  16151. "brandname": {
  16152. "description": "品牌名称",
  16153. "type": "string"
  16154. },
  16155. "buynickname": {
  16156. "description": "采购方昵称",
  16157. "type": "string"
  16158. },
  16159. "buyuserid": {
  16160. "description": "采购方userid",
  16161. "type": "integer"
  16162. },
  16163. "buyusername": {
  16164. "description": "采购方名称",
  16165. "type": "string"
  16166. },
  16167. "contractno": {
  16168. "description": "合同编号",
  16169. "type": "string"
  16170. },
  16171. "contractqty": {
  16172. "description": "合同量",
  16173. "type": "number"
  16174. },
  16175. "contracttype": {
  16176. "description": "现货合同类型 - 1:采购 -1:销售",
  16177. "type": "integer"
  16178. },
  16179. "deliverygoodscode": {
  16180. "description": "现货品种代码",
  16181. "type": "string"
  16182. },
  16183. "deliverygoodsid": {
  16184. "description": "现货品种id",
  16185. "type": "integer"
  16186. },
  16187. "deliverygoodsname": {
  16188. "description": "现货品种名称",
  16189. "type": "string"
  16190. },
  16191. "detailjson": {
  16192. "description": "明细数据",
  16193. "type": "string"
  16194. },
  16195. "enumdicname": {
  16196. "description": "现货商品单位名称",
  16197. "type": "string"
  16198. },
  16199. "inoutapplyid": {
  16200. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16201. "type": "string"
  16202. },
  16203. "inouttype": {
  16204. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16205. "type": "integer"
  16206. },
  16207. "pricetype": {
  16208. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16209. "type": "integer"
  16210. },
  16211. "qty": {
  16212. "description": "数量",
  16213. "type": "number"
  16214. },
  16215. "sellnickname": {
  16216. "description": "销售方昵称",
  16217. "type": "string"
  16218. },
  16219. "selluserid": {
  16220. "description": "销售方userid",
  16221. "type": "integer"
  16222. },
  16223. "sellusername": {
  16224. "description": "销售方名称",
  16225. "type": "string"
  16226. },
  16227. "spotcontractid": {
  16228. "description": "关联现货合同ID",
  16229. "type": "string"
  16230. },
  16231. "spotgoodsbrandid": {
  16232. "description": "现货品牌ID",
  16233. "type": "integer"
  16234. },
  16235. "unitid": {
  16236. "description": "单位id",
  16237. "type": "integer"
  16238. },
  16239. "userid": {
  16240. "description": "机构ID",
  16241. "type": "integer"
  16242. },
  16243. "warehousecode": {
  16244. "description": "仓库代码",
  16245. "type": "string"
  16246. },
  16247. "warehouseinfoid": {
  16248. "description": "现货仓库ID",
  16249. "type": "string"
  16250. },
  16251. "warehousename": {
  16252. "description": "仓库名称",
  16253. "type": "string"
  16254. },
  16255. "warehousetype": {
  16256. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16257. "type": "integer"
  16258. },
  16259. "wrstandardcode": {
  16260. "description": "品类代码",
  16261. "type": "string"
  16262. },
  16263. "wrstandardid": {
  16264. "description": "品类ID",
  16265. "type": "integer"
  16266. },
  16267. "wrstandardname": {
  16268. "description": "品类名称",
  16269. "type": "string"
  16270. }
  16271. }
  16272. },
  16273. "models.Ermcp3AreaStockApplySum": {
  16274. "type": "object",
  16275. "properties": {
  16276. "brandname": {
  16277. "description": "品牌名称",
  16278. "type": "string"
  16279. },
  16280. "inouttype": {
  16281. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16282. "type": "integer"
  16283. },
  16284. "spotcontractid": {
  16285. "description": "关联现货合同ID",
  16286. "type": "string"
  16287. },
  16288. "spotgoodsbrandid": {
  16289. "description": "品牌id",
  16290. "type": "integer"
  16291. },
  16292. "totalqty": {
  16293. "description": "总数量",
  16294. "type": "number"
  16295. },
  16296. "wrstandardid": {
  16297. "description": "品类id",
  16298. "type": "integer"
  16299. },
  16300. "wrstandardname": {
  16301. "description": "品类名称",
  16302. "type": "string"
  16303. }
  16304. }
  16305. },
  16306. "models.Ermcp3AreaStockReportEx": {
  16307. "type": "object",
  16308. "properties": {
  16309. "begindate": {
  16310. "description": "开始交易日",
  16311. "type": "string"
  16312. },
  16313. "brandname": {
  16314. "description": "品牌名称",
  16315. "type": "string"
  16316. },
  16317. "curstock": {
  16318. "description": "期末库存量",
  16319. "type": "number"
  16320. },
  16321. "cycletime": {
  16322. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16323. "type": "string"
  16324. },
  16325. "cycletype": {
  16326. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16327. "type": "integer"
  16328. },
  16329. "deliverygoodscode": {
  16330. "description": "现货品种代码",
  16331. "type": "string"
  16332. },
  16333. "deliverygoodsid": {
  16334. "description": "现货品种id",
  16335. "type": "integer"
  16336. },
  16337. "deliverygoodsname": {
  16338. "description": "现货品种名称",
  16339. "type": "string"
  16340. },
  16341. "diffqty": {
  16342. "description": "库存变化量 = 期末 - 期初",
  16343. "type": "number"
  16344. },
  16345. "enddate": {
  16346. "description": "结束交易日",
  16347. "type": "string"
  16348. },
  16349. "enumdicname": {
  16350. "description": "单位名称",
  16351. "type": "string"
  16352. },
  16353. "goodsunitid": {
  16354. "description": "现货单位id",
  16355. "type": "integer"
  16356. },
  16357. "oristock": {
  16358. "description": "期初库存量",
  16359. "type": "number"
  16360. },
  16361. "reckondate": {
  16362. "description": "日照时期(yyyyMMdd)",
  16363. "type": "string"
  16364. },
  16365. "spotgoodsbrandid": {
  16366. "description": "现货品牌ID",
  16367. "type": "integer"
  16368. },
  16369. "todaybuyinqty": {
  16370. "description": "今采购入库量",
  16371. "type": "number"
  16372. },
  16373. "todayproduceinqty": {
  16374. "description": "今内部入库量",
  16375. "type": "number"
  16376. },
  16377. "todayproduceoutqty": {
  16378. "description": "今内部出库量",
  16379. "type": "number"
  16380. },
  16381. "todayselloutqty": {
  16382. "description": "今销售出库量",
  16383. "type": "number"
  16384. },
  16385. "unbuyinqty": {
  16386. "description": "采购未入库量(数据库未找到相关字段?)",
  16387. "type": "number"
  16388. },
  16389. "unitid": {
  16390. "description": "品类单位id",
  16391. "type": "integer"
  16392. },
  16393. "unselloutqty": {
  16394. "description": "销售未出库量(数据库未找到相关字段?)",
  16395. "type": "number"
  16396. },
  16397. "updatetime": {
  16398. "description": "更新时间",
  16399. "type": "string"
  16400. },
  16401. "userid": {
  16402. "description": "机构ID",
  16403. "type": "integer"
  16404. },
  16405. "username": {
  16406. "description": "机构名称",
  16407. "type": "string"
  16408. },
  16409. "warehousecode": {
  16410. "description": "仓库代码",
  16411. "type": "string"
  16412. },
  16413. "warehouseinfoid": {
  16414. "description": "仓库ID",
  16415. "type": "string"
  16416. },
  16417. "warehousename": {
  16418. "description": "仓库名称",
  16419. "type": "string"
  16420. },
  16421. "warehousetype": {
  16422. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16423. "type": "integer"
  16424. },
  16425. "wrstandardcode": {
  16426. "description": "品类代码",
  16427. "type": "string"
  16428. },
  16429. "wrstandardid": {
  16430. "description": "品类ID",
  16431. "type": "integer"
  16432. },
  16433. "wrstandardname": {
  16434. "description": "品类名称",
  16435. "type": "string"
  16436. }
  16437. }
  16438. },
  16439. "models.Ermcp3ArealSumPL": {
  16440. "type": "object",
  16441. "properties": {
  16442. "accountname": {
  16443. "description": "机构名称",
  16444. "type": "string"
  16445. },
  16446. "areauserid": {
  16447. "description": "所属机构\\交易用户ID",
  16448. "type": "integer"
  16449. },
  16450. "begindate": {
  16451. "description": "开始交易日",
  16452. "type": "string"
  16453. },
  16454. "currencyid": {
  16455. "description": "结算币种ID",
  16456. "type": "integer"
  16457. },
  16458. "currencyname": {
  16459. "description": "币种名称",
  16460. "type": "string"
  16461. },
  16462. "cycletime": {
  16463. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16464. "type": "string"
  16465. },
  16466. "cycletype": {
  16467. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16468. "type": "integer"
  16469. },
  16470. "enddate": {
  16471. "description": "结束交易日",
  16472. "type": "string"
  16473. },
  16474. "enumdicname": {
  16475. "description": "单位名称(套保品种)",
  16476. "type": "string"
  16477. },
  16478. "futureactualpl": {
  16479. "description": "期货损益",
  16480. "type": "number"
  16481. },
  16482. "futurefloatpl": {
  16483. "description": "期货浮动损益",
  16484. "type": "number"
  16485. },
  16486. "goodsunitid": {
  16487. "description": "套保品种单位id",
  16488. "type": "integer"
  16489. },
  16490. "middlegoodscode": {
  16491. "description": "套保品种代码",
  16492. "type": "string"
  16493. },
  16494. "middlegoodsid": {
  16495. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16496. "type": "integer"
  16497. },
  16498. "middlegoodsname": {
  16499. "description": "套保品种名称",
  16500. "type": "string"
  16501. },
  16502. "reckondate": {
  16503. "description": "日照时期(yyyyMMdd)",
  16504. "type": "string"
  16505. },
  16506. "spotactualpl": {
  16507. "description": "现货损益",
  16508. "type": "number"
  16509. },
  16510. "spotfloatpl": {
  16511. "description": "现货浮动损益",
  16512. "type": "number"
  16513. },
  16514. "sumactualpl": {
  16515. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16516. "type": "number"
  16517. },
  16518. "sumpl": {
  16519. "description": "汇总损益",
  16520. "type": "number"
  16521. },
  16522. "updatetime": {
  16523. "description": "更新时间",
  16524. "type": "string"
  16525. }
  16526. }
  16527. },
  16528. "models.Ermcp3Brand": {
  16529. "type": "object",
  16530. "properties": {
  16531. "areauserid": {
  16532. "description": "用户id",
  16533. "type": "integer"
  16534. },
  16535. "brandid": {
  16536. "description": "品牌id",
  16537. "type": "integer"
  16538. },
  16539. "brandname": {
  16540. "description": "品牌名称",
  16541. "type": "string"
  16542. },
  16543. "deliverygoodsid": {
  16544. "description": "品种ID",
  16545. "type": "integer"
  16546. }
  16547. }
  16548. },
  16549. "models.Ermcp3Contract": {
  16550. "type": "object",
  16551. "properties": {
  16552. "accountid": {
  16553. "description": "期货账户id",
  16554. "type": "string"
  16555. },
  16556. "amount": {
  16557. "description": "金额 [1:一口价、3:暂定价]",
  16558. "type": "number"
  16559. },
  16560. "attachment": {
  16561. "description": "附件",
  16562. "type": "string"
  16563. },
  16564. "auditremark": {
  16565. "description": "审核意见",
  16566. "type": "string"
  16567. },
  16568. "audittime": {
  16569. "description": "审核时间",
  16570. "type": "string"
  16571. },
  16572. "biztype": {
  16573. "description": "业务类型 1-套保 2-套利",
  16574. "type": "integer"
  16575. },
  16576. "brandname": {
  16577. "description": "品牌名称",
  16578. "type": "string"
  16579. },
  16580. "buynickname": {
  16581. "description": "销售方昵称",
  16582. "type": "string"
  16583. },
  16584. "buyuserid": {
  16585. "description": "采购方ID",
  16586. "type": "integer"
  16587. },
  16588. "buyusername": {
  16589. "description": "采购方名称",
  16590. "type": "string"
  16591. },
  16592. "contracctstatus": {
  16593. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16594. "type": "integer"
  16595. },
  16596. "contractmargin": {
  16597. "description": "合同保证金",
  16598. "type": "number"
  16599. },
  16600. "contractno": {
  16601. "description": "现货合同编号",
  16602. "type": "string"
  16603. },
  16604. "contracttype": {
  16605. "description": "现货合同类型 - 1:采购 -1:销售",
  16606. "type": "integer"
  16607. },
  16608. "convertfactor": {
  16609. "description": "标仓系数(品类)",
  16610. "type": "number"
  16611. },
  16612. "createtime": {
  16613. "description": "创建时间",
  16614. "type": "string"
  16615. },
  16616. "currencyid": {
  16617. "description": "币种id",
  16618. "type": "integer"
  16619. },
  16620. "currencyname": {
  16621. "description": "币种名称",
  16622. "type": "string"
  16623. },
  16624. "deliveryenddate": {
  16625. "description": "交收期(结束)",
  16626. "type": "string"
  16627. },
  16628. "deliverygoodscode": {
  16629. "description": "现货品种代码",
  16630. "type": "string"
  16631. },
  16632. "deliverygoodsid": {
  16633. "description": "现货品种ID",
  16634. "type": "integer"
  16635. },
  16636. "deliverygoodsname": {
  16637. "description": "现货品种名称",
  16638. "type": "string"
  16639. },
  16640. "deliverystartdate": {
  16641. "description": "交收期(开始)",
  16642. "type": "string"
  16643. },
  16644. "enddate": {
  16645. "description": "点价结束日期 [2:点价 3:暂定价]",
  16646. "type": "string"
  16647. },
  16648. "enumdicname": {
  16649. "description": "单位名称",
  16650. "type": "string"
  16651. },
  16652. "goodscode": {
  16653. "description": "点价合约代码",
  16654. "type": "string"
  16655. },
  16656. "goodsid": {
  16657. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16658. "type": "integer"
  16659. },
  16660. "goodsname": {
  16661. "description": "点价商品名称",
  16662. "type": "string"
  16663. },
  16664. "margin": {
  16665. "description": "当前保证金",
  16666. "type": "number"
  16667. },
  16668. "meruserid": {
  16669. "description": "跟单员id",
  16670. "type": "integer"
  16671. },
  16672. "meruserlogincode": {
  16673. "description": "跟单员登录代码",
  16674. "type": "string"
  16675. },
  16676. "merusername": {
  16677. "description": "跟单员名称",
  16678. "type": "string"
  16679. },
  16680. "price": {
  16681. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16682. "type": "number"
  16683. },
  16684. "pricemove": {
  16685. "description": "升贴水 [2:点价 3:暂定价]",
  16686. "type": "number"
  16687. },
  16688. "pricetype": {
  16689. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16690. "type": "integer"
  16691. },
  16692. "producttype": {
  16693. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16694. "type": "integer"
  16695. },
  16696. "qty": {
  16697. "description": "数量",
  16698. "type": "number"
  16699. },
  16700. "remark": {
  16701. "description": "备注",
  16702. "type": "string"
  16703. },
  16704. "saleuserid": {
  16705. "description": "业务员id",
  16706. "type": "integer"
  16707. },
  16708. "saleuserlogincode": {
  16709. "description": "业务员登录代码",
  16710. "type": "string"
  16711. },
  16712. "saleusername": {
  16713. "description": "业务员名称",
  16714. "type": "string"
  16715. },
  16716. "sellnickname": {
  16717. "description": "采购方昵称",
  16718. "type": "string"
  16719. },
  16720. "selluserid": {
  16721. "description": "销售方ID",
  16722. "type": "integer"
  16723. },
  16724. "sellusername": {
  16725. "description": "销售方名称",
  16726. "type": "string"
  16727. },
  16728. "spotcontractid": {
  16729. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16730. "type": "string"
  16731. },
  16732. "spotgoodsbrandid": {
  16733. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16734. "type": "integer"
  16735. },
  16736. "spotgoodsdesc": {
  16737. "description": "商品型号",
  16738. "type": "string"
  16739. },
  16740. "startdate": {
  16741. "description": "点价开始日期 [2:点价 3:暂定价]",
  16742. "type": "string"
  16743. },
  16744. "tradeuserid": {
  16745. "description": "交易员id",
  16746. "type": "integer"
  16747. },
  16748. "tradeuserlogincode": {
  16749. "description": "交易员登录代码",
  16750. "type": "string"
  16751. },
  16752. "tradeusername": {
  16753. "description": "交易员名称",
  16754. "type": "string"
  16755. },
  16756. "unitid": {
  16757. "description": "单位id(取品类上的单位id)",
  16758. "type": "integer"
  16759. },
  16760. "updatetime": {
  16761. "description": "更新时间",
  16762. "type": "string"
  16763. },
  16764. "userid": {
  16765. "description": "所属机构ID",
  16766. "type": "integer"
  16767. },
  16768. "wrstandardcode": {
  16769. "description": "品类代码",
  16770. "type": "string"
  16771. },
  16772. "wrstandardid": {
  16773. "description": "品类ID",
  16774. "type": "integer"
  16775. },
  16776. "wrstandardname": {
  16777. "description": "品类名称",
  16778. "type": "string"
  16779. }
  16780. }
  16781. },
  16782. "models.Ermcp3ExposureContractDetail": {
  16783. "type": "object",
  16784. "properties": {
  16785. "biztype": {
  16786. "description": "业务类型 1-套保 2-套利",
  16787. "type": "integer"
  16788. },
  16789. "brandname": {
  16790. "description": "品牌名称",
  16791. "type": "string"
  16792. },
  16793. "buyuserid": {
  16794. "description": "采购方id",
  16795. "type": "integer"
  16796. },
  16797. "buyusername": {
  16798. "description": "采购方名称",
  16799. "type": "string"
  16800. },
  16801. "contractno": {
  16802. "description": "合同编号",
  16803. "type": "string"
  16804. },
  16805. "contracttype": {
  16806. "description": "现货合同类型 - 1:采购 -1:销售",
  16807. "type": "integer"
  16808. },
  16809. "convertfactor": {
  16810. "description": "标仓系数",
  16811. "type": "number"
  16812. },
  16813. "convertratio": {
  16814. "description": "折算系数(套保品种)",
  16815. "type": "number"
  16816. },
  16817. "curqty": {
  16818. "description": "今定价量",
  16819. "type": "number"
  16820. },
  16821. "deliverygoodscode": {
  16822. "description": "现货商品代码",
  16823. "type": "string"
  16824. },
  16825. "deliverygoodsid": {
  16826. "description": "现货商品id",
  16827. "type": "integer"
  16828. },
  16829. "deliverygoodsname": {
  16830. "description": "现货商品名称",
  16831. "type": "string"
  16832. },
  16833. "diffhedgeqty": {
  16834. "description": "套保变动量",
  16835. "type": "number"
  16836. },
  16837. "diffneedhedgeqty": {
  16838. "description": "应套保变动量",
  16839. "type": "number"
  16840. },
  16841. "diffqty": {
  16842. "description": "套保品种今变动量",
  16843. "type": "number"
  16844. },
  16845. "enumdicname": {
  16846. "description": "单位名称",
  16847. "type": "string"
  16848. },
  16849. "middlegoodscode": {
  16850. "description": "套保品种代码",
  16851. "type": "string"
  16852. },
  16853. "middlegoodsid": {
  16854. "description": "套保品种id",
  16855. "type": "integer"
  16856. },
  16857. "middlegoodsname": {
  16858. "description": "套保品种名称",
  16859. "type": "string"
  16860. },
  16861. "needarbitrageratio": {
  16862. "description": "应套利比例",
  16863. "type": "number"
  16864. },
  16865. "needhedgeratio": {
  16866. "description": "应套保比例",
  16867. "type": "number"
  16868. },
  16869. "pricedqty": {
  16870. "description": "已定价量",
  16871. "type": "number"
  16872. },
  16873. "qty": {
  16874. "description": "合同量",
  16875. "type": "number"
  16876. },
  16877. "selluserid": {
  16878. "description": "销售方id",
  16879. "type": "integer"
  16880. },
  16881. "sellusername": {
  16882. "description": "销售方名称",
  16883. "type": "string"
  16884. },
  16885. "spotcontractid": {
  16886. "description": "合同id",
  16887. "type": "string"
  16888. },
  16889. "todaypricedqty": {
  16890. "description": "今定价量",
  16891. "type": "number"
  16892. },
  16893. "tradedate": {
  16894. "description": "交易日",
  16895. "type": "string"
  16896. },
  16897. "unitid": {
  16898. "description": "品类单位id",
  16899. "type": "integer"
  16900. },
  16901. "userid": {
  16902. "description": "机构id",
  16903. "type": "integer"
  16904. },
  16905. "wrstandardcode": {
  16906. "description": "品类代码",
  16907. "type": "string"
  16908. },
  16909. "wrstandardid": {
  16910. "description": "品类id",
  16911. "type": "integer"
  16912. },
  16913. "wrstandardname": {
  16914. "description": "品类名称",
  16915. "type": "string"
  16916. }
  16917. }
  16918. },
  16919. "models.Ermcp3ExposureDetail": {
  16920. "type": "object",
  16921. "properties": {
  16922. "areauserid": {
  16923. "description": "机构ID",
  16924. "type": "integer"
  16925. },
  16926. "changeQty": {
  16927. "description": "套保变动量",
  16928. "type": "number"
  16929. },
  16930. "contracttype": {
  16931. "description": "现货合同类型 - 1:采购 -1:销售",
  16932. "type": "integer"
  16933. },
  16934. "convertfactor": {
  16935. "description": "标仓系数",
  16936. "type": "number"
  16937. },
  16938. "convertratio": {
  16939. "description": "套保系数",
  16940. "type": "number"
  16941. },
  16942. "createtime": {
  16943. "description": "时间",
  16944. "type": "string"
  16945. },
  16946. "deliverygoodscode": {
  16947. "description": "现货品种代码",
  16948. "type": "string"
  16949. },
  16950. "deliverygoodsid": {
  16951. "description": "现货品种id",
  16952. "type": "integer"
  16953. },
  16954. "deliverygoodsname": {
  16955. "description": "现货品种名称",
  16956. "type": "string"
  16957. },
  16958. "enumdicname": {
  16959. "description": "现货商品单位名称",
  16960. "type": "string"
  16961. },
  16962. "logtype": {
  16963. "description": "类型 - 1:套保计划 2:现货合同",
  16964. "type": "integer"
  16965. },
  16966. "mgunitid": {
  16967. "description": "套保品种单位id",
  16968. "type": "integer"
  16969. },
  16970. "mgunitidname": {
  16971. "description": "套保品种单位名称",
  16972. "type": "string"
  16973. },
  16974. "middlegoodsId": {
  16975. "description": "套保商品id",
  16976. "type": "integer"
  16977. },
  16978. "middlegoodscode": {
  16979. "description": "套保商品代码",
  16980. "type": "string"
  16981. },
  16982. "middlegoodsname": {
  16983. "description": "套保商品名称",
  16984. "type": "string"
  16985. },
  16986. "qty": {
  16987. "description": "数量",
  16988. "type": "number"
  16989. },
  16990. "relateNo": {
  16991. "description": "现货合同/套保计划编号",
  16992. "type": "string"
  16993. }
  16994. }
  16995. },
  16996. "models.Ermcp3ExposureFutuDetail": {
  16997. "type": "object",
  16998. "properties": {
  16999. "accountid": {
  17000. "description": "交易账户id",
  17001. "type": "integer"
  17002. },
  17003. "accountname": {
  17004. "description": "交易账户",
  17005. "type": "string"
  17006. },
  17007. "begindate": {
  17008. "description": "开始交易日",
  17009. "type": "string"
  17010. },
  17011. "buyorsell": {
  17012. "description": "方向 0-买 1-卖",
  17013. "type": "integer"
  17014. },
  17015. "diffmgqty": {
  17016. "description": "套保品种今变化量",
  17017. "type": "number"
  17018. },
  17019. "diffneedqty": {
  17020. "description": "应套保总量变化量",
  17021. "type": "number"
  17022. },
  17023. "difftradeqty": {
  17024. "description": "交易品种今变化量",
  17025. "type": "number"
  17026. },
  17027. "enddate": {
  17028. "description": "结束交易日",
  17029. "type": "string"
  17030. },
  17031. "enumdicname": {
  17032. "description": "单位名称",
  17033. "type": "string"
  17034. },
  17035. "goodscode": {
  17036. "description": "商品代码",
  17037. "type": "string"
  17038. },
  17039. "goodsid": {
  17040. "description": "商品id",
  17041. "type": "integer"
  17042. },
  17043. "goodsname": {
  17044. "description": "商品名称",
  17045. "type": "string"
  17046. },
  17047. "holdqty": {
  17048. "description": "期末持仓量",
  17049. "type": "number"
  17050. },
  17051. "middlegoodscode": {
  17052. "description": "套保商品代码",
  17053. "type": "string"
  17054. },
  17055. "middlegoodsid": {
  17056. "description": "套保商品id",
  17057. "type": "integer"
  17058. },
  17059. "middlegoodsname": {
  17060. "description": "套保商品名称",
  17061. "type": "string"
  17062. },
  17063. "oriholdqty": {
  17064. "description": "期初持仓量",
  17065. "type": "number"
  17066. },
  17067. "todaycloseqty": {
  17068. "description": "今平仓量",
  17069. "type": "number"
  17070. },
  17071. "todayopenqty": {
  17072. "description": "今开仓量",
  17073. "type": "number"
  17074. },
  17075. "tradedate": {
  17076. "description": "交易日",
  17077. "type": "string"
  17078. }
  17079. }
  17080. },
  17081. "models.Ermcp3ExposureHedgeplanDetail": {
  17082. "type": "object",
  17083. "properties": {
  17084. "biztype": {
  17085. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17086. "type": "integer"
  17087. },
  17088. "changqty": {
  17089. "description": "应套保总量变化量",
  17090. "type": "number"
  17091. },
  17092. "contracttype": {
  17093. "description": "计划类型 - 1:采购 -1:销售",
  17094. "type": "integer"
  17095. },
  17096. "convertratio": {
  17097. "description": "折算系数(套保品种)",
  17098. "type": "number"
  17099. },
  17100. "deliverygoodscode": {
  17101. "description": "现货商品代码",
  17102. "type": "string"
  17103. },
  17104. "deliverygoodsid": {
  17105. "description": "现货商品id",
  17106. "type": "integer"
  17107. },
  17108. "deliverygoodsname": {
  17109. "description": "现货商吕名称",
  17110. "type": "string"
  17111. },
  17112. "dgunitid": {
  17113. "description": "现货商品单位id",
  17114. "type": "integer"
  17115. },
  17116. "dgunitidname": {
  17117. "description": "单位名称(现货商品)",
  17118. "type": "string"
  17119. },
  17120. "diffqty": {
  17121. "description": "套保品种今变动量",
  17122. "type": "number"
  17123. },
  17124. "enumdicname": {
  17125. "description": "单位名称(品类)",
  17126. "type": "string"
  17127. },
  17128. "hedgeplanid": {
  17129. "description": "套保计划id",
  17130. "type": "string"
  17131. },
  17132. "hedgeplanno": {
  17133. "description": "套保计划名称",
  17134. "type": "string"
  17135. },
  17136. "hedgeplanstatus": {
  17137. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17138. "type": "integer"
  17139. },
  17140. "mgunitidname": {
  17141. "description": "单位名称(套保商品)",
  17142. "type": "string"
  17143. },
  17144. "middlegoodscode": {
  17145. "description": "套保品种代码",
  17146. "type": "string"
  17147. },
  17148. "middlegoodsid": {
  17149. "description": "套保品种id",
  17150. "type": "integer"
  17151. },
  17152. "middlegoodsname": {
  17153. "description": "套保品种名称",
  17154. "type": "string"
  17155. },
  17156. "needarbitrageratio": {
  17157. "description": "应套利比例",
  17158. "type": "number"
  17159. },
  17160. "needhedgeratio": {
  17161. "description": "应套保比例",
  17162. "type": "number"
  17163. },
  17164. "pricedqty": {
  17165. "description": "已定价量",
  17166. "type": "number"
  17167. },
  17168. "qty": {
  17169. "description": "合同量",
  17170. "type": "number"
  17171. },
  17172. "tradedate": {
  17173. "description": "交易日(登记日)",
  17174. "type": "string"
  17175. },
  17176. "unitid": {
  17177. "description": "品类单位id",
  17178. "type": "integer"
  17179. },
  17180. "userid": {
  17181. "description": "机构id",
  17182. "type": "integer"
  17183. },
  17184. "wrstandardcode": {
  17185. "description": "品类代码",
  17186. "type": "string"
  17187. },
  17188. "wrstandardid": {
  17189. "description": "品类id",
  17190. "type": "integer"
  17191. },
  17192. "wrstandardname": {
  17193. "description": "品类名称",
  17194. "type": "string"
  17195. }
  17196. }
  17197. },
  17198. "models.Ermcp3ExposureParamChLog": {
  17199. "type": "object",
  17200. "properties": {
  17201. "accountid": {
  17202. "description": "期货账户ID (作废, 默认为0)",
  17203. "type": "integer"
  17204. },
  17205. "aftervalue": {
  17206. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17207. "type": "number"
  17208. },
  17209. "areauserid": {
  17210. "description": "所属机构\\交易用户ID",
  17211. "type": "integer"
  17212. },
  17213. "beforevalue": {
  17214. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17215. "type": "number"
  17216. },
  17217. "begindate": {
  17218. "description": "开始交易日",
  17219. "type": "string"
  17220. },
  17221. "changelogtype": {
  17222. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17223. "type": "integer"
  17224. },
  17225. "curvalue": {
  17226. "description": "当前套保\\套利量(套保总量|套利总量)",
  17227. "type": "number"
  17228. },
  17229. "diffvalue": {
  17230. "description": "应套保总量变化量",
  17231. "type": "number"
  17232. },
  17233. "enddate": {
  17234. "description": "结束交易日",
  17235. "type": "string"
  17236. },
  17237. "logdatetime": {
  17238. "description": "流水日期",
  17239. "type": "string"
  17240. },
  17241. "logid": {
  17242. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17243. "type": "string"
  17244. },
  17245. "middlegoodscode": {
  17246. "description": "套保品种代码",
  17247. "type": "string"
  17248. },
  17249. "middlegoodsid": {
  17250. "description": "套保品种",
  17251. "type": "integer"
  17252. },
  17253. "middlegoodsname": {
  17254. "description": "套保品种名称",
  17255. "type": "string"
  17256. },
  17257. "paramaftervalue": {
  17258. "description": "参数变更后(调整后参数值)",
  17259. "type": "number"
  17260. },
  17261. "parambeforevalue": {
  17262. "description": "参数变更前(调整前参数值)",
  17263. "type": "number"
  17264. },
  17265. "tradedate": {
  17266. "description": "交易日(yyyyMMdd)",
  17267. "type": "string"
  17268. }
  17269. }
  17270. },
  17271. "models.Ermcp3ExpourseReport": {
  17272. "type": "object",
  17273. "properties": {
  17274. "accountid": {
  17275. "description": "期货账户ID (作废, 默认为0)",
  17276. "type": "integer"
  17277. },
  17278. "accountname": {
  17279. "description": "机构名称",
  17280. "type": "string"
  17281. },
  17282. "arbitrageqty": {
  17283. "description": "套利量",
  17284. "type": "number"
  17285. },
  17286. "areauserid": {
  17287. "description": "所属机构\\交易用户ID",
  17288. "type": "integer"
  17289. },
  17290. "begindate": {
  17291. "description": "开始交易日",
  17292. "type": "string"
  17293. },
  17294. "buyfutureqty": {
  17295. "description": "买入期货数量",
  17296. "type": "number"
  17297. },
  17298. "buyplanqty": {
  17299. "description": "采购计划数量",
  17300. "type": "number"
  17301. },
  17302. "buypricedqty": {
  17303. "description": "采购合同已定价数量",
  17304. "type": "number"
  17305. },
  17306. "cycletime": {
  17307. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17308. "type": "string"
  17309. },
  17310. "cycletype": {
  17311. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17312. "type": "integer"
  17313. },
  17314. "diffexposure": {
  17315. "description": "变动量(套保敞口)",
  17316. "type": "number"
  17317. },
  17318. "difffutuqty": {
  17319. "description": "变动量(期货)",
  17320. "type": "number"
  17321. },
  17322. "diffhedgeqty": {
  17323. "description": "变动量(现货应套保总量)",
  17324. "type": "number"
  17325. },
  17326. "diffmgqtya": {
  17327. "description": "套保变动量",
  17328. "type": "number"
  17329. },
  17330. "diffmgqtyb": {
  17331. "description": "套利变动量",
  17332. "type": "number"
  17333. },
  17334. "diffqty": {
  17335. "description": "变动量(总敞口)",
  17336. "type": "number"
  17337. },
  17338. "diffspotqty": {
  17339. "description": "变动量(现货)",
  17340. "type": "number"
  17341. },
  17342. "enddate": {
  17343. "description": "结束交易日",
  17344. "type": "string"
  17345. },
  17346. "enumdicname": {
  17347. "description": "单位名称",
  17348. "type": "string"
  17349. },
  17350. "hedgeqty": {
  17351. "description": "套保量",
  17352. "type": "number"
  17353. },
  17354. "mgneedhedgeratio": {
  17355. "description": "套保比例(套保品的)",
  17356. "type": "number"
  17357. },
  17358. "middlegoodsid": {
  17359. "description": "套保品种ID",
  17360. "type": "integer"
  17361. },
  17362. "middlegoodsname": {
  17363. "description": "套保商品名称",
  17364. "type": "string"
  17365. },
  17366. "middlgoodscode": {
  17367. "description": "套保商品代码",
  17368. "type": "string"
  17369. },
  17370. "needarbitrageqty": {
  17371. "description": "应套利量",
  17372. "type": "number"
  17373. },
  17374. "needarbitrageratio": {
  17375. "description": "套利比例(套保品的)",
  17376. "type": "number"
  17377. },
  17378. "needhedgeexposoure": {
  17379. "description": "应套保敞口(套保敞口)",
  17380. "type": "number"
  17381. },
  17382. "needhedgeqty": {
  17383. "description": "应套保量",
  17384. "type": "number"
  17385. },
  17386. "needhedgeratio": {
  17387. "description": "应套保敞口比例",
  17388. "type": "number"
  17389. },
  17390. "oriarbitrageqty": {
  17391. "description": "期初套利量",
  17392. "type": "number"
  17393. },
  17394. "oribuyfutureqty": {
  17395. "description": "期初买入期货数量",
  17396. "type": "number"
  17397. },
  17398. "oribuyplanqty": {
  17399. "description": "期初采购计划数量",
  17400. "type": "number"
  17401. },
  17402. "oribuypricedqty": {
  17403. "description": "期初采购合同已定价数量",
  17404. "type": "number"
  17405. },
  17406. "orihedgeqty": {
  17407. "description": "期初套保量",
  17408. "type": "number"
  17409. },
  17410. "orineedarbitrageqty": {
  17411. "description": "期初应套利量",
  17412. "type": "number"
  17413. },
  17414. "orineedhedgeexposoure": {
  17415. "description": "期初应套保敞口",
  17416. "type": "number"
  17417. },
  17418. "orineedhedgeqty": {
  17419. "description": "期初应套保量",
  17420. "type": "number"
  17421. },
  17422. "orisellfutureqty": {
  17423. "description": "期初卖出期货数量",
  17424. "type": "number"
  17425. },
  17426. "orisellplanqty": {
  17427. "description": "期初销售计划数量",
  17428. "type": "number"
  17429. },
  17430. "orisellpricedqty": {
  17431. "description": "期初销售合同已定价数量",
  17432. "type": "number"
  17433. },
  17434. "oritotalexposure": {
  17435. "description": "期初实时总敞口",
  17436. "type": "number"
  17437. },
  17438. "oritotalfutureqty": {
  17439. "description": "期初期货头寸总量",
  17440. "type": "number"
  17441. },
  17442. "oritotalneedhedgeqty": {
  17443. "description": "期初应套保总量",
  17444. "type": "number"
  17445. },
  17446. "oritotalspotqty": {
  17447. "description": "期初现货头寸总量",
  17448. "type": "number"
  17449. },
  17450. "reckondate": {
  17451. "description": "日照时期(yyyyMMdd)",
  17452. "type": "string"
  17453. },
  17454. "sellfutureqty": {
  17455. "description": "卖出期货数量",
  17456. "type": "number"
  17457. },
  17458. "sellplanqty": {
  17459. "description": "销售计划数量",
  17460. "type": "number"
  17461. },
  17462. "sellpricedqty": {
  17463. "description": "销售合同已定价数量",
  17464. "type": "number"
  17465. },
  17466. "totalexposure": {
  17467. "description": "实时总敞口(总敞口)",
  17468. "type": "number"
  17469. },
  17470. "totalfutureqty": {
  17471. "description": "期货头寸总量(期货总量)",
  17472. "type": "number"
  17473. },
  17474. "totalhedgeratio": {
  17475. "description": "敞口比例",
  17476. "type": "number"
  17477. },
  17478. "totalneedhedgeqty": {
  17479. "description": "应套保总量(现货应套保总量)",
  17480. "type": "number"
  17481. },
  17482. "totalspotqty": {
  17483. "description": "现货头寸总量",
  17484. "type": "number"
  17485. },
  17486. "unitid": {
  17487. "description": "单位id",
  17488. "type": "integer"
  17489. },
  17490. "updatetime": {
  17491. "description": "更新时间",
  17492. "type": "string"
  17493. }
  17494. }
  17495. },
  17496. "models.Ermcp3FinanceReport": {
  17497. "type": "object",
  17498. "properties": {
  17499. "accountname": {
  17500. "description": "机构名称",
  17501. "type": "string"
  17502. },
  17503. "areauserid": {
  17504. "description": "所属机构\\交易用户ID",
  17505. "type": "integer"
  17506. },
  17507. "begindate": {
  17508. "description": "开始交易日",
  17509. "type": "string"
  17510. },
  17511. "biztype": {
  17512. "description": "业务类型 - 1:套保 2:套利",
  17513. "type": "integer"
  17514. },
  17515. "brandname": {
  17516. "description": "品牌名称",
  17517. "type": "string"
  17518. },
  17519. "buypreinvoicedamount": {
  17520. "description": "采购预收票额(预收票额)",
  17521. "type": "number"
  17522. },
  17523. "buyprepaidamount": {
  17524. "description": "采购预付款额(预付货款额)",
  17525. "type": "number"
  17526. },
  17527. "buytodayinvoiceamount": {
  17528. "description": "采购今收票额(今收票额)",
  17529. "type": "number"
  17530. },
  17531. "buytodayrefundamount": {
  17532. "description": "采购今收退款额(今收退款额)",
  17533. "type": "number"
  17534. },
  17535. "buytodaysettleamount": {
  17536. "description": "采购今付款额(今付货款额)",
  17537. "type": "number"
  17538. },
  17539. "buyuninvoicedamount": {
  17540. "description": "采购应收票额(应收票额)",
  17541. "type": "number"
  17542. },
  17543. "buyunpaidamount": {
  17544. "description": "采购应付款额(应付货款额)",
  17545. "type": "number"
  17546. },
  17547. "currencyid": {
  17548. "description": "结算币种ID",
  17549. "type": "integer"
  17550. },
  17551. "currencyname": {
  17552. "description": "币种名称",
  17553. "type": "string"
  17554. },
  17555. "cycletime": {
  17556. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17557. "type": "string"
  17558. },
  17559. "cycletype": {
  17560. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17561. "type": "integer"
  17562. },
  17563. "deliverygoodscode": {
  17564. "description": "现货品种代码",
  17565. "type": "string"
  17566. },
  17567. "deliverygoodsid": {
  17568. "description": "现货品种ID",
  17569. "type": "integer"
  17570. },
  17571. "deliverygoodsname": {
  17572. "description": "现货品种名称",
  17573. "type": "string"
  17574. },
  17575. "enddate": {
  17576. "description": "结束交易日",
  17577. "type": "string"
  17578. },
  17579. "reckondate": {
  17580. "description": "日照时期(yyyyMMdd)",
  17581. "type": "string"
  17582. },
  17583. "sellpreinvoicedamount": {
  17584. "description": "销售预开票额(预开票额)",
  17585. "type": "number"
  17586. },
  17587. "sellprepaidamount": {
  17588. "description": "销售预收款额(预收货款额)",
  17589. "type": "number"
  17590. },
  17591. "selltodayinvoiceamount": {
  17592. "description": "销售今开票额(今开票额)",
  17593. "type": "number"
  17594. },
  17595. "selltodayrefundamount": {
  17596. "description": "销售今付退款额(今付退款额)",
  17597. "type": "number"
  17598. },
  17599. "selltodaysettleamount": {
  17600. "description": "销售今收款额(今收货款额)",
  17601. "type": "number"
  17602. },
  17603. "selluninvoicedamount": {
  17604. "description": "销售应开票额(应开票额)",
  17605. "type": "number"
  17606. },
  17607. "sellunpaidamount": {
  17608. "description": "销售应收款额(应收货款额)",
  17609. "type": "number"
  17610. },
  17611. "spotgoodsbrandid": {
  17612. "description": "现货品牌ID",
  17613. "type": "integer"
  17614. },
  17615. "todaypaysum": {
  17616. "description": "今付款合计",
  17617. "type": "number"
  17618. },
  17619. "todayreceivesum": {
  17620. "description": "今收款合计",
  17621. "type": "number"
  17622. },
  17623. "updatetime": {
  17624. "description": "更新时间",
  17625. "type": "string"
  17626. },
  17627. "wrfactortypeid": {
  17628. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17629. "type": "integer"
  17630. },
  17631. "wrstandardcode": {
  17632. "description": "品类代码",
  17633. "type": "string"
  17634. },
  17635. "wrstandardid": {
  17636. "description": "现货商品ID",
  17637. "type": "integer"
  17638. },
  17639. "wrstandardname": {
  17640. "description": "品类名称",
  17641. "type": "string"
  17642. }
  17643. }
  17644. },
  17645. "models.Ermcp3Goods": {
  17646. "type": "object",
  17647. "properties": {
  17648. "agreeunit": {
  17649. "description": "合约单位(合约乘数)",
  17650. "type": "number"
  17651. },
  17652. "enumdicname": {
  17653. "description": "单位名称",
  17654. "type": "string"
  17655. },
  17656. "exexchangecode": {
  17657. "description": "交易所代码",
  17658. "type": "string"
  17659. },
  17660. "goodscode": {
  17661. "description": "期货商品代码",
  17662. "type": "string"
  17663. },
  17664. "goodsid": {
  17665. "description": "期货商品id",
  17666. "type": "integer"
  17667. },
  17668. "goodsname": {
  17669. "description": "期货商品名称",
  17670. "type": "string"
  17671. }
  17672. }
  17673. },
  17674. "models.Ermcp3GoodsGroup": {
  17675. "type": "object",
  17676. "required": [
  17677. "areauserid"
  17678. ],
  17679. "properties": {
  17680. "agreeunit": {
  17681. "description": "合约单位",
  17682. "type": "number"
  17683. },
  17684. "areauserid": {
  17685. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17686. "type": "integer"
  17687. },
  17688. "canshort": {
  17689. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17690. "type": "integer"
  17691. },
  17692. "closepricemode": {
  17693. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17694. "type": "integer"
  17695. },
  17696. "createtime": {
  17697. "description": "创建时间",
  17698. "type": "string"
  17699. },
  17700. "creatorid": {
  17701. "description": "创建人",
  17702. "type": "integer"
  17703. },
  17704. "currencyid": {
  17705. "description": "报价货币ID",
  17706. "type": "integer"
  17707. },
  17708. "decimalplace": {
  17709. "description": "报价小数位",
  17710. "type": "integer"
  17711. },
  17712. "enumdicname": {
  17713. "description": "单位名称",
  17714. "type": "string"
  17715. },
  17716. "exchangefullname": {
  17717. "description": "交易所全称",
  17718. "type": "string"
  17719. },
  17720. "excludecfg": {
  17721. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17722. "type": "integer"
  17723. },
  17724. "exexchangecode": {
  17725. "description": "交易所代码",
  17726. "type": "string"
  17727. },
  17728. "exexchangeid": {
  17729. "description": "外部交易所ID[通道交易]",
  17730. "type": "integer"
  17731. },
  17732. "exexchangename": {
  17733. "description": "交易所名称",
  17734. "type": "string"
  17735. },
  17736. "goodsgroupid": {
  17737. "description": "商品组ID(自增ID)",
  17738. "type": "integer"
  17739. },
  17740. "goodsgroupname": {
  17741. "description": "商品组名称",
  17742. "type": "string"
  17743. },
  17744. "goodsgroupstatus": {
  17745. "description": "商品组状态 - 1:正常 2:注销",
  17746. "type": "integer"
  17747. },
  17748. "goodunitid": {
  17749. "description": "报价单位ID",
  17750. "type": "integer"
  17751. },
  17752. "groupcategroyid": {
  17753. "description": "品种分类ID",
  17754. "type": "integer"
  17755. },
  17756. "innerdealmode": {
  17757. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17758. "type": "integer"
  17759. },
  17760. "marketid": {
  17761. "description": "所属市场ID",
  17762. "type": "integer"
  17763. },
  17764. "modifierid": {
  17765. "description": "修改人",
  17766. "type": "integer"
  17767. },
  17768. "modifytime": {
  17769. "description": "修改时间",
  17770. "type": "string"
  17771. },
  17772. "outerdealmode": {
  17773. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17774. "type": "integer"
  17775. },
  17776. "outergroupcode": {
  17777. "description": "外部商品组代码[通道交易]",
  17778. "type": "string"
  17779. },
  17780. "quoteminunit": {
  17781. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17782. "type": "integer"
  17783. },
  17784. "quotesourcegroupid": {
  17785. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17786. "type": "integer"
  17787. },
  17788. "syncgoodsqty": {
  17789. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17790. "type": "integer"
  17791. }
  17792. }
  17793. },
  17794. "models.Ermcp3GoodsGroupEx": {
  17795. "type": "object",
  17796. "properties": {
  17797. "convertratio": {
  17798. "description": "折算系数(品种系数)",
  17799. "type": "number"
  17800. },
  17801. "enumdicname": {
  17802. "description": "单位名称",
  17803. "type": "string"
  17804. },
  17805. "exexchangecode": {
  17806. "description": "交易所代码",
  17807. "type": "string"
  17808. },
  17809. "glist": {
  17810. "description": "合约列表",
  17811. "type": "array",
  17812. "items": {
  17813. "$ref": "#/definitions/models.Ermcp3Goods"
  17814. }
  17815. },
  17816. "goodsgroupid": {
  17817. "description": "商品组id",
  17818. "type": "integer"
  17819. },
  17820. "goodsgroupname": {
  17821. "description": "商品组名称",
  17822. "type": "string"
  17823. },
  17824. "goodsunitid": {
  17825. "description": "单位id",
  17826. "type": "integer"
  17827. },
  17828. "middlegoodsid": {
  17829. "description": "套保商品id",
  17830. "type": "integer"
  17831. }
  17832. }
  17833. },
  17834. "models.Ermcp3HedgePlan": {
  17835. "type": "object",
  17836. "properties": {
  17837. "accountid": {
  17838. "description": "资金账号",
  17839. "type": "integer"
  17840. },
  17841. "areauserid": {
  17842. "description": "用户ID",
  17843. "type": "integer"
  17844. },
  17845. "auditid": {
  17846. "description": "审核id",
  17847. "type": "integer"
  17848. },
  17849. "auditname": {
  17850. "description": "审核人名称",
  17851. "type": "string"
  17852. },
  17853. "auditremark": {
  17854. "description": "审核备注",
  17855. "type": "string"
  17856. },
  17857. "auditsrc": {
  17858. "description": "审核来源 1-管理端 2-终端",
  17859. "type": "integer"
  17860. },
  17861. "audittime": {
  17862. "description": "审核时间",
  17863. "type": "string"
  17864. },
  17865. "contracttype": {
  17866. "description": "计划类型 - 1:采购 -1:销售",
  17867. "type": "integer"
  17868. },
  17869. "convertfactor": {
  17870. "description": "标仓系数",
  17871. "type": "number"
  17872. },
  17873. "createtime": {
  17874. "description": "创建时间",
  17875. "type": "string"
  17876. },
  17877. "currencyid": {
  17878. "description": "币种id",
  17879. "type": "integer"
  17880. },
  17881. "currencyname": {
  17882. "description": "币种名称",
  17883. "type": "string"
  17884. },
  17885. "deliverygoodscode": {
  17886. "description": "现货品种代码",
  17887. "type": "string"
  17888. },
  17889. "deliverygoodsid": {
  17890. "description": "现货品种ID",
  17891. "type": "integer"
  17892. },
  17893. "deliverygoodsname": {
  17894. "description": "现货品种名称",
  17895. "type": "string"
  17896. },
  17897. "enumdicname": {
  17898. "description": "单位名称(现货商品)",
  17899. "type": "string"
  17900. },
  17901. "hedgeplanid": {
  17902. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  17903. "type": "string"
  17904. },
  17905. "hedgeplanno": {
  17906. "description": "套保计划编号(名称)",
  17907. "type": "string"
  17908. },
  17909. "hedgeplanstatus": {
  17910. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17911. "type": "integer"
  17912. },
  17913. "planqty": {
  17914. "description": "计划数量",
  17915. "type": "number"
  17916. },
  17917. "plantime": {
  17918. "description": "计划时间",
  17919. "type": "string"
  17920. },
  17921. "producttype": {
  17922. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17923. "type": "integer"
  17924. },
  17925. "remark": {
  17926. "description": "备注",
  17927. "type": "string"
  17928. },
  17929. "spotgoodsdesc": {
  17930. "description": "商品型号",
  17931. "type": "string"
  17932. },
  17933. "taaccountname": {
  17934. "description": "资金账号名称",
  17935. "type": "string"
  17936. },
  17937. "tradeuserid": {
  17938. "description": "交易用户id",
  17939. "type": "integer"
  17940. },
  17941. "tradeusername": {
  17942. "description": "交易用户名称",
  17943. "type": "string"
  17944. },
  17945. "unitid": {
  17946. "description": "单位id(现货商品)",
  17947. "type": "integer"
  17948. },
  17949. "updatetime": {
  17950. "description": "更新时间",
  17951. "type": "string"
  17952. },
  17953. "wrstandardcode": {
  17954. "description": "品类代码",
  17955. "type": "string"
  17956. },
  17957. "wrstandardid": {
  17958. "description": "品类id",
  17959. "type": "integer"
  17960. },
  17961. "wrstandardname": {
  17962. "description": "品类名称",
  17963. "type": "string"
  17964. },
  17965. "wrunitid": {
  17966. "description": "品类单位id",
  17967. "type": "integer"
  17968. },
  17969. "wrunitidame": {
  17970. "description": "品类单位名称",
  17971. "type": "string"
  17972. }
  17973. }
  17974. },
  17975. "models.Ermcp3MiddleGoodsDetail2": {
  17976. "type": "object",
  17977. "properties": {
  17978. "convertratio": {
  17979. "description": "套保系数(折算系数)",
  17980. "type": "number"
  17981. },
  17982. "gplist": {
  17983. "description": "关联商品组列表",
  17984. "type": "array",
  17985. "items": {
  17986. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  17987. }
  17988. },
  17989. "mg": {
  17990. "description": "套保商品信息",
  17991. "type": "object",
  17992. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  17993. }
  17994. }
  17995. },
  17996. "models.Ermcp3MiddleGoodsDetailEx": {
  17997. "type": "object",
  17998. "properties": {
  17999. "dglist": {
  18000. "description": "关联的现货品种列表",
  18001. "type": "array",
  18002. "items": {
  18003. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18004. }
  18005. },
  18006. "gplist": {
  18007. "description": "关联商品组列表",
  18008. "type": "array",
  18009. "items": {
  18010. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18011. }
  18012. },
  18013. "mg": {
  18014. "description": "套保商品信息",
  18015. "type": "object",
  18016. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18017. }
  18018. }
  18019. },
  18020. "models.Ermcp3RootUserAccount": {
  18021. "type": "object",
  18022. "properties": {
  18023. "accountname": {
  18024. "description": "账户名称(机构名称)",
  18025. "type": "string"
  18026. },
  18027. "accountstatus": {
  18028. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18029. "type": "integer"
  18030. },
  18031. "applysrc": {
  18032. "description": "申请来源 - 1:管理端 2:终端",
  18033. "type": "integer"
  18034. },
  18035. "auditremark": {
  18036. "description": "审核备注",
  18037. "type": "string"
  18038. },
  18039. "auditsrc": {
  18040. "description": "审核来源 - 1:管理端 2:终端",
  18041. "type": "integer"
  18042. },
  18043. "audittime": {
  18044. "description": "审核时间",
  18045. "type": "string"
  18046. },
  18047. "audituserid": {
  18048. "description": "审核人",
  18049. "type": "integer"
  18050. },
  18051. "broker": {
  18052. "description": "所属经纪人ID",
  18053. "type": "integer"
  18054. },
  18055. "canceltime": {
  18056. "description": "销户时间",
  18057. "type": "string"
  18058. },
  18059. "canceluserid": {
  18060. "description": "销户人",
  18061. "type": "integer"
  18062. },
  18063. "canrecommend": {
  18064. "description": "是否可推荐 - 0:不可 1;可",
  18065. "type": "integer"
  18066. },
  18067. "createtime": {
  18068. "description": "创建时间",
  18069. "type": "string"
  18070. },
  18071. "creatorid": {
  18072. "description": "创建人",
  18073. "type": "integer"
  18074. },
  18075. "hasauth": {
  18076. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18077. "type": "integer"
  18078. },
  18079. "isanonymous": {
  18080. "description": "是否匿名下单 - 0:否 1:是",
  18081. "type": "integer"
  18082. },
  18083. "maxinvestornum": {
  18084. "description": "最大用户数(经纪会员下投资者个数)",
  18085. "type": "integer"
  18086. },
  18087. "memberuserid": {
  18088. "description": "所属会员ID",
  18089. "type": "integer"
  18090. },
  18091. "modifierid": {
  18092. "description": "修改人",
  18093. "type": "integer"
  18094. },
  18095. "modifyremark": {
  18096. "description": "变更备注",
  18097. "type": "string"
  18098. },
  18099. "modifystatus": {
  18100. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18101. "type": "integer"
  18102. },
  18103. "modifytime": {
  18104. "description": "修改时间",
  18105. "type": "string"
  18106. },
  18107. "parenttopuser": {
  18108. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18109. "type": "string"
  18110. },
  18111. "parentuserid": {
  18112. "description": "所属机构ID",
  18113. "type": "integer"
  18114. },
  18115. "reckonaccountid": {
  18116. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18117. "type": "integer"
  18118. },
  18119. "refercount": {
  18120. "description": "推荐总人数",
  18121. "type": "integer"
  18122. },
  18123. "refereeuserid": {
  18124. "description": "推荐人ID",
  18125. "type": "integer"
  18126. },
  18127. "refernum": {
  18128. "description": "推荐码",
  18129. "type": "string"
  18130. },
  18131. "rootuserid": {
  18132. "description": "根用户ID",
  18133. "type": "integer"
  18134. },
  18135. "subaccountlevel": {
  18136. "description": "子账户层数",
  18137. "type": "integer"
  18138. },
  18139. "subarealevelpath": {
  18140. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18141. "type": "string"
  18142. },
  18143. "userid": {
  18144. "description": "用户ID",
  18145. "type": "integer"
  18146. },
  18147. "usertype": {
  18148. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18149. "type": "integer"
  18150. }
  18151. }
  18152. },
  18153. "models.Ermcp3SellBuyContract": {
  18154. "type": "object",
  18155. "properties": {
  18156. "accountid": {
  18157. "description": "期货账户id",
  18158. "type": "string"
  18159. },
  18160. "accountname": {
  18161. "description": "账户名称",
  18162. "type": "string"
  18163. },
  18164. "attachment": {
  18165. "description": "附件",
  18166. "type": "string"
  18167. },
  18168. "audittime": {
  18169. "description": "审核时间",
  18170. "type": "string"
  18171. },
  18172. "biztype": {
  18173. "description": "业务类型 1-套保 2-套利",
  18174. "type": "integer"
  18175. },
  18176. "brandname": {
  18177. "description": "品牌名称",
  18178. "type": "string"
  18179. },
  18180. "contracctstatus": {
  18181. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18182. "type": "integer"
  18183. },
  18184. "contractmargin": {
  18185. "description": "合同保证金",
  18186. "type": "number"
  18187. },
  18188. "contractno": {
  18189. "description": "合同编号",
  18190. "type": "string"
  18191. },
  18192. "contracttype": {
  18193. "description": "合同类型 1-采购, -1-销售",
  18194. "type": "integer"
  18195. },
  18196. "convertfactor": {
  18197. "description": "标仓系数(品类)",
  18198. "type": "number"
  18199. },
  18200. "createtime": {
  18201. "description": "创建时间",
  18202. "type": "string"
  18203. },
  18204. "currencyid": {
  18205. "description": "币种id",
  18206. "type": "integer"
  18207. },
  18208. "currencyname": {
  18209. "description": "币种名称",
  18210. "type": "string"
  18211. },
  18212. "daikaiamount": {
  18213. "description": "应收(开)票额",
  18214. "type": "number"
  18215. },
  18216. "deliveryenddate": {
  18217. "description": "交割结束日",
  18218. "type": "string"
  18219. },
  18220. "deliverygoodscode": {
  18221. "description": "现货品种代码",
  18222. "type": "string"
  18223. },
  18224. "deliverygoodsid": {
  18225. "description": "现货商品ID",
  18226. "type": "integer"
  18227. },
  18228. "deliverygoodsname": {
  18229. "description": "现货品种名称",
  18230. "type": "string"
  18231. },
  18232. "deliverystartdate": {
  18233. "description": "交割开始日",
  18234. "type": "string"
  18235. },
  18236. "enddate": {
  18237. "description": "点价结束日",
  18238. "type": "string"
  18239. },
  18240. "enumdicname": {
  18241. "description": "单位名称",
  18242. "type": "string"
  18243. },
  18244. "goodscode": {
  18245. "description": "点价商品代码",
  18246. "type": "string"
  18247. },
  18248. "goodsid": {
  18249. "description": "点价商品ID",
  18250. "type": "integer"
  18251. },
  18252. "goodsname": {
  18253. "description": "点价商品名称",
  18254. "type": "string"
  18255. },
  18256. "invoiceamount": {
  18257. "description": "已开票额",
  18258. "type": "number"
  18259. },
  18260. "loanamount": {
  18261. "description": "贷款总额=已定价额+调整金额",
  18262. "type": "number"
  18263. },
  18264. "margin": {
  18265. "description": "保证金",
  18266. "type": "number"
  18267. },
  18268. "meruserid": {
  18269. "description": "跟单员id",
  18270. "type": "integer"
  18271. },
  18272. "meruserlogincode": {
  18273. "description": "跟单员登录代码",
  18274. "type": "string"
  18275. },
  18276. "merusername": {
  18277. "description": "跟单员名称",
  18278. "type": "string"
  18279. },
  18280. "nickname": {
  18281. "description": "账户昵称",
  18282. "type": "string"
  18283. },
  18284. "payamount": {
  18285. "description": "已收付额(收款或付款)",
  18286. "type": "number"
  18287. },
  18288. "preinvoiceamount": {
  18289. "description": "预收(开)票额",
  18290. "type": "number"
  18291. },
  18292. "prepayamount": {
  18293. "description": "预收付额",
  18294. "type": "number"
  18295. },
  18296. "price": {
  18297. "description": "价格",
  18298. "type": "number"
  18299. },
  18300. "pricedamount": {
  18301. "description": "已定价额",
  18302. "type": "number"
  18303. },
  18304. "pricedavg": {
  18305. "description": "已点均价",
  18306. "type": "number"
  18307. },
  18308. "pricedqty": {
  18309. "description": "已定价量",
  18310. "type": "number"
  18311. },
  18312. "pricemove": {
  18313. "description": "升贴水",
  18314. "type": "number"
  18315. },
  18316. "pricetype": {
  18317. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18318. "type": "integer"
  18319. },
  18320. "producttype": {
  18321. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18322. "type": "integer"
  18323. },
  18324. "qty": {
  18325. "description": "合同量",
  18326. "type": "number"
  18327. },
  18328. "reckonadjustamount": {
  18329. "description": "调整金额",
  18330. "type": "number"
  18331. },
  18332. "reckonedamount": {
  18333. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18334. "type": "number"
  18335. },
  18336. "reckonotheramount": {
  18337. "description": "其它费用",
  18338. "type": "number"
  18339. },
  18340. "reckonrealqty": {
  18341. "description": "已确定量",
  18342. "type": "number"
  18343. },
  18344. "remark": {
  18345. "description": "备注",
  18346. "type": "string"
  18347. },
  18348. "saleuserid": {
  18349. "description": "业务员id",
  18350. "type": "integer"
  18351. },
  18352. "saleuserlogincode": {
  18353. "description": "业务员登录代码",
  18354. "type": "string"
  18355. },
  18356. "saleusername": {
  18357. "description": "业务员名称",
  18358. "type": "string"
  18359. },
  18360. "spotcontractid": {
  18361. "description": "合同ID",
  18362. "type": "string"
  18363. },
  18364. "spotgoodsbrandid": {
  18365. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18366. "type": "integer"
  18367. },
  18368. "spotgoodsdesc": {
  18369. "description": "商品型号(商品规格)",
  18370. "type": "string"
  18371. },
  18372. "startdate": {
  18373. "description": "点价开始日",
  18374. "type": "string"
  18375. },
  18376. "totalamount": {
  18377. "description": "合计总额",
  18378. "type": "number"
  18379. },
  18380. "tradeuserid": {
  18381. "description": "交易员id",
  18382. "type": "integer"
  18383. },
  18384. "tradeuserlogincode": {
  18385. "description": "交易员登录代码",
  18386. "type": "string"
  18387. },
  18388. "tradeusername": {
  18389. "description": "交易员名称",
  18390. "type": "string"
  18391. },
  18392. "unpayamount": {
  18393. "description": "应收付款额(应支付或应收款)",
  18394. "type": "number"
  18395. },
  18396. "unpricedqty": {
  18397. "description": "未定价量",
  18398. "type": "number"
  18399. },
  18400. "unsureqty": {
  18401. "description": "未确定量",
  18402. "type": "number"
  18403. },
  18404. "userid": {
  18405. "description": "机构ID",
  18406. "type": "integer"
  18407. },
  18408. "wrstandardcode": {
  18409. "description": "品类代码",
  18410. "type": "string"
  18411. },
  18412. "wrstandardid": {
  18413. "description": "品类ID",
  18414. "type": "integer"
  18415. },
  18416. "wrstandardname": {
  18417. "description": "品类名称",
  18418. "type": "string"
  18419. }
  18420. }
  18421. },
  18422. "models.Ermcp3SpotGoodsPrice": {
  18423. "type": "object",
  18424. "properties": {
  18425. "areauserid": {
  18426. "description": "所属机构id",
  18427. "type": "integer"
  18428. },
  18429. "brandname": {
  18430. "description": "品牌名称",
  18431. "type": "string"
  18432. },
  18433. "currencyid": {
  18434. "description": "报价货币ID",
  18435. "type": "integer"
  18436. },
  18437. "currencyname": {
  18438. "description": "币种名称",
  18439. "type": "string"
  18440. },
  18441. "deliverygoodscode": {
  18442. "description": "现货商品代码",
  18443. "type": "string"
  18444. },
  18445. "deliverygoodsid": {
  18446. "description": "现货商品id",
  18447. "type": "integer"
  18448. },
  18449. "deliverygoodsname": {
  18450. "description": "现货商品名称",
  18451. "type": "string"
  18452. },
  18453. "enumdicname": {
  18454. "description": "现货商品单位名称",
  18455. "type": "string"
  18456. },
  18457. "gbenumdicname": {
  18458. "description": "品类单位名称",
  18459. "type": "string"
  18460. },
  18461. "gmunitid": {
  18462. "description": "品类单位id",
  18463. "type": "integer"
  18464. },
  18465. "isvalid": {
  18466. "description": "是否有效 - 0:无效 1:有效",
  18467. "type": "integer"
  18468. },
  18469. "operateid": {
  18470. "description": "最后操作人",
  18471. "type": "integer"
  18472. },
  18473. "operatesrc": {
  18474. "description": "最后操作来源 - 1:管理端 2:终端",
  18475. "type": "integer"
  18476. },
  18477. "operatetime": {
  18478. "description": "最后操作时间",
  18479. "type": "string"
  18480. },
  18481. "operatorname": {
  18482. "description": "操作人名称",
  18483. "type": "string"
  18484. },
  18485. "spotgoodsbrandid": {
  18486. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18487. "type": "integer"
  18488. },
  18489. "spotgoodsprice": {
  18490. "description": "现货价格",
  18491. "type": "number"
  18492. },
  18493. "tradedate": {
  18494. "description": "交易日(yyyyMMdd)",
  18495. "type": "string"
  18496. },
  18497. "unitid": {
  18498. "description": "现货商品单位id",
  18499. "type": "integer"
  18500. },
  18501. "wrstandardcode": {
  18502. "description": "品类代码",
  18503. "type": "string"
  18504. },
  18505. "wrstandardid": {
  18506. "description": "现货品类ID(通用则为0)",
  18507. "type": "integer"
  18508. },
  18509. "wrstandardname": {
  18510. "description": "品类名称",
  18511. "type": "string"
  18512. }
  18513. }
  18514. },
  18515. "models.Ermcp3SpotGoodsPriceLog": {
  18516. "type": "object",
  18517. "properties": {
  18518. "areauserid": {
  18519. "description": "所属机构id",
  18520. "type": "integer"
  18521. },
  18522. "brandname": {
  18523. "description": "品牌名称",
  18524. "type": "string"
  18525. },
  18526. "currencyid": {
  18527. "description": "报价货币ID",
  18528. "type": "integer"
  18529. },
  18530. "deliverygoodscode": {
  18531. "description": "现货商品代码",
  18532. "type": "string"
  18533. },
  18534. "deliverygoodsid": {
  18535. "description": "现货商品id",
  18536. "type": "integer"
  18537. },
  18538. "deliverygoodsname": {
  18539. "description": "现货商品名称",
  18540. "type": "string"
  18541. },
  18542. "enumdicname": {
  18543. "description": "现货商品单位名称",
  18544. "type": "string"
  18545. },
  18546. "gbenumdicname": {
  18547. "description": "品类单位名称",
  18548. "type": "string"
  18549. },
  18550. "gmunitid": {
  18551. "description": "品类单位id",
  18552. "type": "integer"
  18553. },
  18554. "logid": {
  18555. "description": "日志id",
  18556. "type": "integer"
  18557. },
  18558. "operateid": {
  18559. "description": "最后操作人",
  18560. "type": "integer"
  18561. },
  18562. "operatesrc": {
  18563. "description": "最后操作来源 - 1:管理端 2:终端",
  18564. "type": "integer"
  18565. },
  18566. "operatetime": {
  18567. "description": "最后操作时间",
  18568. "type": "string"
  18569. },
  18570. "operatorname": {
  18571. "description": "操作人名称",
  18572. "type": "string"
  18573. },
  18574. "spotgoodsbrandid": {
  18575. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18576. "type": "integer"
  18577. },
  18578. "spotgoodsprice": {
  18579. "description": "现货价格",
  18580. "type": "number"
  18581. },
  18582. "tradedate": {
  18583. "description": "交易日(yyyyMMdd)",
  18584. "type": "string"
  18585. },
  18586. "unitid": {
  18587. "description": "现货商品单位id",
  18588. "type": "integer"
  18589. },
  18590. "wrstandardcode": {
  18591. "description": "品类代码",
  18592. "type": "string"
  18593. },
  18594. "wrstandardid": {
  18595. "description": "现货品类ID(通用则为0)",
  18596. "type": "integer"
  18597. },
  18598. "wrstandardname": {
  18599. "description": "品类名称",
  18600. "type": "string"
  18601. }
  18602. }
  18603. },
  18604. "models.Ermcp3TaFutuReDataReport": {
  18605. "type": "object",
  18606. "properties": {
  18607. "accountid": {
  18608. "description": "交易账户",
  18609. "type": "integer"
  18610. },
  18611. "accountname": {
  18612. "description": "交易账号名称",
  18613. "type": "string"
  18614. },
  18615. "begindate": {
  18616. "description": "开始交易日",
  18617. "type": "string"
  18618. },
  18619. "buyorsell": {
  18620. "description": "持仓方向",
  18621. "type": "integer"
  18622. },
  18623. "charge": {
  18624. "description": "手续费",
  18625. "type": "number"
  18626. },
  18627. "closeavgprice": {
  18628. "description": "平仓均价",
  18629. "type": "number"
  18630. },
  18631. "closepl": {
  18632. "description": "平仓损益",
  18633. "type": "number"
  18634. },
  18635. "currencyid": {
  18636. "description": "结算币种ID",
  18637. "type": "integer"
  18638. },
  18639. "currencyname": {
  18640. "description": "币种名称",
  18641. "type": "string"
  18642. },
  18643. "cycletime": {
  18644. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18645. "type": "string"
  18646. },
  18647. "cycletype": {
  18648. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18649. "type": "integer"
  18650. },
  18651. "enddate": {
  18652. "description": "结束交易日",
  18653. "type": "string"
  18654. },
  18655. "enumdicname": {
  18656. "description": "单位名称",
  18657. "type": "string"
  18658. },
  18659. "floatpl": {
  18660. "description": "浮动损益",
  18661. "type": "number"
  18662. },
  18663. "goodscode": {
  18664. "description": "交易合约代码",
  18665. "type": "string"
  18666. },
  18667. "goodsgroupid": {
  18668. "description": "交易品种",
  18669. "type": "integer"
  18670. },
  18671. "goodsgroupname": {
  18672. "description": "交易品种名称",
  18673. "type": "string"
  18674. },
  18675. "goodsgroupspotqty": {
  18676. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18677. "type": "number"
  18678. },
  18679. "goodsid": {
  18680. "description": "交易合约",
  18681. "type": "integer"
  18682. },
  18683. "goodsname": {
  18684. "description": "交易合约名称",
  18685. "type": "string"
  18686. },
  18687. "goodunitid": {
  18688. "description": "交易合约单位id",
  18689. "type": "integer"
  18690. },
  18691. "holdamount": {
  18692. "description": "期末持仓额",
  18693. "type": "number"
  18694. },
  18695. "holdqty": {
  18696. "description": "期末持仓量",
  18697. "type": "number"
  18698. },
  18699. "lastholdamount": {
  18700. "description": "当前持仓额",
  18701. "type": "number"
  18702. },
  18703. "lastprice": {
  18704. "description": "最新价",
  18705. "type": "number"
  18706. },
  18707. "middlegoodsqty": {
  18708. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18709. "type": "number"
  18710. },
  18711. "openamount": {
  18712. "description": "期末开仓额",
  18713. "type": "number"
  18714. },
  18715. "openavgprice": {
  18716. "description": "开仓均价",
  18717. "type": "number"
  18718. },
  18719. "oriholdamount": {
  18720. "description": "期初持仓额",
  18721. "type": "number"
  18722. },
  18723. "oriholdqty": {
  18724. "description": "期初持仓量",
  18725. "type": "number"
  18726. },
  18727. "oriopenamount": {
  18728. "description": "期初开仓额",
  18729. "type": "number"
  18730. },
  18731. "outergroupcode": {
  18732. "description": "交易品种代码",
  18733. "type": "string"
  18734. },
  18735. "reckondate": {
  18736. "description": "日照时期(yyyyMMdd)",
  18737. "type": "string"
  18738. },
  18739. "reckonholdamount": {
  18740. "description": "结算持仓额",
  18741. "type": "number"
  18742. },
  18743. "reckonpl": {
  18744. "description": "结算损益",
  18745. "type": "number"
  18746. },
  18747. "reckonpl2": {
  18748. "description": "结算逐笔盈亏",
  18749. "type": "number"
  18750. },
  18751. "reckonprice": {
  18752. "description": "结算价",
  18753. "type": "number"
  18754. },
  18755. "relateduserid": {
  18756. "description": "账户关联用户ID",
  18757. "type": "integer"
  18758. },
  18759. "todaycloseamount": {
  18760. "description": "今平仓额",
  18761. "type": "number"
  18762. },
  18763. "todaycloseqty": {
  18764. "description": "今平仓量",
  18765. "type": "number"
  18766. },
  18767. "todaygoodsgroupspotqty": {
  18768. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18769. "type": "number"
  18770. },
  18771. "todaymiddlegoodsqty": {
  18772. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18773. "type": "number"
  18774. },
  18775. "todayopenamount": {
  18776. "description": "今开仓额",
  18777. "type": "number"
  18778. },
  18779. "todayopenqty": {
  18780. "description": "今开仓量",
  18781. "type": "number"
  18782. },
  18783. "userid": {
  18784. "description": "账户所属用户ID",
  18785. "type": "integer"
  18786. }
  18787. }
  18788. },
  18789. "models.Ermcp3Wrstandard": {
  18790. "type": "object",
  18791. "properties": {
  18792. "areauserid": {
  18793. "description": "所属机构",
  18794. "type": "integer"
  18795. },
  18796. "convertfactor": {
  18797. "description": "标仓系数",
  18798. "type": "number"
  18799. },
  18800. "createtime": {
  18801. "description": "创建时间",
  18802. "type": "string"
  18803. },
  18804. "creatorid": {
  18805. "description": "创建人",
  18806. "type": "integer"
  18807. },
  18808. "deliverygoodsid": {
  18809. "description": "现货品种ID",
  18810. "type": "integer"
  18811. },
  18812. "enumdicname": {
  18813. "description": "品类单位名称",
  18814. "type": "string"
  18815. },
  18816. "isvalid": {
  18817. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  18818. "type": "integer"
  18819. },
  18820. "minivalue": {
  18821. "description": "最小变动值",
  18822. "type": "integer"
  18823. },
  18824. "minivaluedp": {
  18825. "description": "最小变动值小数位",
  18826. "type": "integer"
  18827. },
  18828. "realminivalue": {
  18829. "description": "实际最小变动值",
  18830. "type": "integer"
  18831. },
  18832. "realminivaluedp": {
  18833. "description": "实际最小变动值小数位",
  18834. "type": "integer"
  18835. },
  18836. "remark": {
  18837. "description": "备注",
  18838. "type": "string"
  18839. },
  18840. "unitid": {
  18841. "description": "品类单位ID",
  18842. "type": "integer"
  18843. },
  18844. "updatetime": {
  18845. "description": "更新时间",
  18846. "type": "string"
  18847. },
  18848. "wrstandardcode": {
  18849. "description": "品类代码",
  18850. "type": "string"
  18851. },
  18852. "wrstandardid": {
  18853. "description": "品类ID(SEQ_WRSTANDARD)",
  18854. "type": "integer"
  18855. },
  18856. "wrstandardname": {
  18857. "description": "品类名称",
  18858. "type": "string"
  18859. }
  18860. }
  18861. },
  18862. "models.ErmcpAreaSpotDetailModel": {
  18863. "type": "object",
  18864. "properties": {
  18865. "contracttype": {
  18866. "description": "合同类型 1-采购 -1-销售",
  18867. "type": "integer"
  18868. },
  18869. "createtime": {
  18870. "description": "创建时间",
  18871. "type": "string"
  18872. },
  18873. "enumdicname": {
  18874. "description": "现货商品单位名称",
  18875. "type": "string"
  18876. },
  18877. "logtype": {
  18878. "description": "记录类型 1-套保 2-现货合同",
  18879. "type": "integer"
  18880. },
  18881. "qty": {
  18882. "description": "数量",
  18883. "type": "number"
  18884. },
  18885. "recordname": {
  18886. "description": "类型名称",
  18887. "type": "string"
  18888. },
  18889. "relatedid": {
  18890. "description": "套保计划ID/现货合同ID",
  18891. "type": "string"
  18892. },
  18893. "relatedno": {
  18894. "description": "编号",
  18895. "type": "string"
  18896. },
  18897. "strtime": {
  18898. "description": "时间",
  18899. "type": "string"
  18900. },
  18901. "wrstandardcode": {
  18902. "description": "现货商品代码",
  18903. "type": "string"
  18904. },
  18905. "wrstandardname": {
  18906. "description": "现货商品名称",
  18907. "type": "string"
  18908. }
  18909. }
  18910. },
  18911. "models.ErmcpAvalidGoodsGroupModel": {
  18912. "type": "object",
  18913. "properties": {
  18914. "goodsgroupid": {
  18915. "description": "期货品种id",
  18916. "type": "integer"
  18917. },
  18918. "goodsgroupname": {
  18919. "description": "期货品种名称",
  18920. "type": "string"
  18921. },
  18922. "goodunitid": {
  18923. "description": "品种单位id",
  18924. "type": "integer"
  18925. },
  18926. "goodunitname": {
  18927. "description": "品种单位名称",
  18928. "type": "string"
  18929. },
  18930. "outergroupcode": {
  18931. "description": "期货品种代码",
  18932. "type": "string"
  18933. }
  18934. }
  18935. },
  18936. "models.ErmcpBizGroupEx": {
  18937. "type": "object",
  18938. "properties": {
  18939. "acclist": {
  18940. "description": "账号列表",
  18941. "type": "array",
  18942. "items": {
  18943. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  18944. }
  18945. },
  18946. "bizgroupid": {
  18947. "description": "业务分组id",
  18948. "type": "integer"
  18949. },
  18950. "biztype": {
  18951. "description": "业务类型 1-套保 2-套利",
  18952. "type": "integer"
  18953. },
  18954. "wrlist": {
  18955. "description": "现货商品表",
  18956. "type": "array",
  18957. "items": {
  18958. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  18959. }
  18960. }
  18961. }
  18962. },
  18963. "models.ErmcpBizGroupSpotGoods": {
  18964. "type": "object",
  18965. "properties": {
  18966. "areauserid": {
  18967. "description": "所属机构id",
  18968. "type": "integer"
  18969. },
  18970. "bizgroupid": {
  18971. "description": "分组id",
  18972. "type": "integer"
  18973. },
  18974. "biztype": {
  18975. "description": "业务类型 1-套保 2-套利",
  18976. "type": "integer"
  18977. },
  18978. "deliverygoodscode": {
  18979. "description": "现货商品代码",
  18980. "type": "string"
  18981. },
  18982. "deliverygoodsid": {
  18983. "description": "现货商品id",
  18984. "type": "integer"
  18985. },
  18986. "deliverygoodsname": {
  18987. "description": "现货商品名称",
  18988. "type": "string"
  18989. },
  18990. "unitid": {
  18991. "description": "现货商品单位id",
  18992. "type": "integer"
  18993. }
  18994. }
  18995. },
  18996. "models.ErmcpBizGroupTaAccount": {
  18997. "type": "object",
  18998. "properties": {
  18999. "accountid": {
  19000. "description": "账号id",
  19001. "type": "integer"
  19002. },
  19003. "accountname": {
  19004. "description": "账号名称",
  19005. "type": "string"
  19006. },
  19007. "areauserid": {
  19008. "description": "所属机构id",
  19009. "type": "integer"
  19010. },
  19011. "bizgroupid": {
  19012. "description": "业务分组id",
  19013. "type": "integer"
  19014. },
  19015. "ismain": {
  19016. "description": "是否主账号 1-是 0-否",
  19017. "type": "integer"
  19018. }
  19019. }
  19020. },
  19021. "models.ErmcpDGFactoryItem": {
  19022. "type": "object",
  19023. "properties": {
  19024. "areauserid": {
  19025. "description": "用户id",
  19026. "type": "integer"
  19027. },
  19028. "deliverygoodsid": {
  19029. "description": "现货品种ID",
  19030. "type": "integer"
  19031. },
  19032. "dgfactoryitemid": {
  19033. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19034. "type": "integer"
  19035. },
  19036. "dgfactoryitemtypeid": {
  19037. "description": "要素项类型",
  19038. "type": "integer"
  19039. },
  19040. "dgfactoryitemvalue": {
  19041. "description": "要素项值(类型为仓库时填写仓库名称)",
  19042. "type": "string"
  19043. },
  19044. "isvalid": {
  19045. "description": "是否有效 - 0:无效 1:有效",
  19046. "type": "integer"
  19047. },
  19048. "orderindex": {
  19049. "description": "顺序",
  19050. "type": "integer"
  19051. },
  19052. "warehouseid": {
  19053. "description": "仓库ID(类型为仓库时填写)",
  19054. "type": "integer"
  19055. }
  19056. }
  19057. },
  19058. "models.ErmcpDeliveryGoods": {
  19059. "type": "object",
  19060. "properties": {
  19061. "agreeunit": {
  19062. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19063. "type": "integer"
  19064. },
  19065. "areauserid": {
  19066. "description": "所属机构",
  19067. "type": "integer"
  19068. },
  19069. "auditflag": {
  19070. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19071. "type": "integer"
  19072. },
  19073. "categoryid": {
  19074. "description": "类别ID(SEQ_WRCATEGORY)",
  19075. "type": "integer"
  19076. },
  19077. "deliverygoodscode": {
  19078. "description": "现货品种代码",
  19079. "type": "string"
  19080. },
  19081. "deliverygoodsid": {
  19082. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19083. "type": "integer"
  19084. },
  19085. "deliverygoodsname": {
  19086. "description": "现货品种名称",
  19087. "type": "string"
  19088. },
  19089. "deliverygoodstype": {
  19090. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19091. "type": "integer"
  19092. },
  19093. "dgstatus": {
  19094. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19095. "type": "integer"
  19096. },
  19097. "enumdicname": {
  19098. "description": "现货品种单位名称",
  19099. "type": "string"
  19100. },
  19101. "goodsunitid": {
  19102. "description": "现货品种单位ID",
  19103. "type": "integer"
  19104. },
  19105. "isvalid": {
  19106. "description": "是否有效 - 0:无效 1:有效",
  19107. "type": "integer"
  19108. },
  19109. "qtydecimalplace": {
  19110. "description": "成交量小数位",
  19111. "type": "integer"
  19112. },
  19113. "remark": {
  19114. "description": "备注",
  19115. "type": "string"
  19116. },
  19117. "standardqty": {
  19118. "description": "标准数量(库位数量) [标准品特有]",
  19119. "type": "integer"
  19120. },
  19121. "standardqtyrange": {
  19122. "description": "标准数量偏差范围 [标准品特有]",
  19123. "type": "integer"
  19124. }
  19125. }
  19126. },
  19127. "models.ErmcpDeliveryGoodsDetail2": {
  19128. "type": "object",
  19129. "properties": {
  19130. "convertratio": {
  19131. "description": "套保系数(折算系数)",
  19132. "type": "number"
  19133. },
  19134. "data": {
  19135. "description": "现货商品基本信息(交割品种)",
  19136. "type": "object",
  19137. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19138. },
  19139. "gblist": {
  19140. "description": "品牌列表",
  19141. "type": "array",
  19142. "items": {
  19143. "$ref": "#/definitions/models.Ermcp3Brand"
  19144. }
  19145. },
  19146. "gmlist": {
  19147. "description": "品类列表(仓单标准)",
  19148. "type": "array",
  19149. "items": {
  19150. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19151. }
  19152. }
  19153. }
  19154. },
  19155. "models.ErmcpDeliveryGoodsDetailEx": {
  19156. "type": "object",
  19157. "properties": {
  19158. "data": {
  19159. "description": "现货商品基本信息(交割品种)",
  19160. "type": "object",
  19161. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19162. },
  19163. "gblist": {
  19164. "description": "品牌列表",
  19165. "type": "array",
  19166. "items": {
  19167. "$ref": "#/definitions/models.Ermcp3Brand"
  19168. }
  19169. },
  19170. "gmlist": {
  19171. "description": "品类列表(仓单标准)",
  19172. "type": "array",
  19173. "items": {
  19174. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19175. }
  19176. },
  19177. "mgList": {
  19178. "description": "套保列表",
  19179. "type": "array",
  19180. "items": {
  19181. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19182. }
  19183. }
  19184. }
  19185. },
  19186. "models.ErmcpExposureDetailModel": {
  19187. "type": "object",
  19188. "properties": {
  19189. "areauserid": {
  19190. "description": "机构ID",
  19191. "type": "integer"
  19192. },
  19193. "changeQty": {
  19194. "description": "套保变动量",
  19195. "type": "number"
  19196. },
  19197. "contracttype": {
  19198. "description": "现货合同类型 - 1:采购 -1:销售",
  19199. "type": "integer"
  19200. },
  19201. "convertfactor": {
  19202. "description": "标仓系数",
  19203. "type": "number"
  19204. },
  19205. "convertratio": {
  19206. "description": "套保系数",
  19207. "type": "number"
  19208. },
  19209. "createtime": {
  19210. "description": "时间",
  19211. "type": "string"
  19212. },
  19213. "enumdicname": {
  19214. "description": "现货商品单位名称",
  19215. "type": "string"
  19216. },
  19217. "logtype": {
  19218. "description": "类型 - 1:套保计划 2:现货合同",
  19219. "type": "integer"
  19220. },
  19221. "middlegoodsId": {
  19222. "description": "套保商品id",
  19223. "type": "integer"
  19224. },
  19225. "middlegoodscode": {
  19226. "description": "套保商品代码",
  19227. "type": "string"
  19228. },
  19229. "middlegoodsname": {
  19230. "description": "套保商品名称",
  19231. "type": "string"
  19232. },
  19233. "qty": {
  19234. "description": "数量",
  19235. "type": "number"
  19236. },
  19237. "relateNo": {
  19238. "description": "现货合同/套保计划编号",
  19239. "type": "string"
  19240. },
  19241. "wrstandardcode": {
  19242. "description": "现货商品代码",
  19243. "type": "string"
  19244. },
  19245. "wrstandardid": {
  19246. "description": "现货商品ID",
  19247. "type": "integer"
  19248. },
  19249. "wrstandardname": {
  19250. "description": "现货商品名称",
  19251. "type": "string"
  19252. }
  19253. }
  19254. },
  19255. "models.ErmcpExposurePostion": {
  19256. "type": "object",
  19257. "properties": {
  19258. "agreeunit": {
  19259. "description": "合约单位",
  19260. "type": "string"
  19261. },
  19262. "areauserid": {
  19263. "description": "所属机构id",
  19264. "type": "integer"
  19265. },
  19266. "convertratio": {
  19267. "description": "期货品种系数(折算系数)",
  19268. "type": "number"
  19269. },
  19270. "curqty": {
  19271. "description": "当前持仓",
  19272. "type": "integer"
  19273. },
  19274. "diffhedgeqty": {
  19275. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19276. "type": "number"
  19277. },
  19278. "diffqty": {
  19279. "description": "持仓变动量=当前持仓-昨日持仓",
  19280. "type": "integer"
  19281. },
  19282. "goodscode": {
  19283. "description": "商品代码",
  19284. "type": "string"
  19285. },
  19286. "goodsid": {
  19287. "description": "商品id",
  19288. "type": "integer"
  19289. },
  19290. "goodsname": {
  19291. "description": "商品名称",
  19292. "type": "string"
  19293. },
  19294. "middlegoodsid": {
  19295. "description": "套保商品id",
  19296. "type": "integer"
  19297. },
  19298. "ydqty": {
  19299. "description": "昨日持仓",
  19300. "type": "integer"
  19301. }
  19302. }
  19303. },
  19304. "models.ErmcpFuturesCompany": {
  19305. "type": "object",
  19306. "properties": {
  19307. "brokerid": {
  19308. "description": "经纪公司代码",
  19309. "type": "string"
  19310. },
  19311. "channeladdress": {
  19312. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19313. "type": "string"
  19314. },
  19315. "channelid": {
  19316. "description": "对冲渠道ID",
  19317. "type": "string"
  19318. },
  19319. "createtime": {
  19320. "description": "创建时间",
  19321. "type": "string"
  19322. },
  19323. "creatorid": {
  19324. "description": "创建人",
  19325. "type": "string"
  19326. },
  19327. "fcid": {
  19328. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19329. "type": "integer"
  19330. },
  19331. "fcname": {
  19332. "description": "期货公司名称",
  19333. "type": "string"
  19334. },
  19335. "isvalid": {
  19336. "description": "是否有效 - 0:无效 1:有效",
  19337. "type": "integer"
  19338. },
  19339. "mhpaddress": {
  19340. "description": "MHP服务地址(IP:Port)",
  19341. "type": "string"
  19342. },
  19343. "riskrulegroupid": {
  19344. "description": "风控规则组ID",
  19345. "type": "string"
  19346. },
  19347. "tradefeetmpid": {
  19348. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19349. "type": "string"
  19350. },
  19351. "trademargintmpid": {
  19352. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19353. "type": "string"
  19354. },
  19355. "traderatetmpid": {
  19356. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19357. "type": "string"
  19358. },
  19359. "updatetime": {
  19360. "description": "更新时间",
  19361. "type": "string"
  19362. },
  19363. "updatorid": {
  19364. "description": "更新人",
  19365. "type": "string"
  19366. }
  19367. }
  19368. },
  19369. "models.ErmcpGGConvertCfg": {
  19370. "type": "object",
  19371. "properties": {
  19372. "convertratio": {
  19373. "description": "折算系数",
  19374. "type": "number"
  19375. },
  19376. "destgoodsgroupid": {
  19377. "description": "目标品种ID",
  19378. "type": "integer"
  19379. },
  19380. "dstcode": {
  19381. "description": "目录品种代码",
  19382. "type": "string"
  19383. },
  19384. "dstexchangecode": {
  19385. "description": "目标期货交易所",
  19386. "type": "string"
  19387. },
  19388. "dstname": {
  19389. "description": "目标品种名称",
  19390. "type": "string"
  19391. },
  19392. "dstunitid": {
  19393. "description": "目标品种单位ID",
  19394. "type": "integer"
  19395. },
  19396. "dstunitidname": {
  19397. "description": "目标品种单位名称",
  19398. "type": "string"
  19399. },
  19400. "modifytime": {
  19401. "description": "修改时间",
  19402. "type": "string"
  19403. },
  19404. "srccode": {
  19405. "description": "源品种代码",
  19406. "type": "string"
  19407. },
  19408. "srcexchangecode": {
  19409. "description": "源期货交易所",
  19410. "type": "string"
  19411. },
  19412. "srcgoodsgroupid": {
  19413. "description": "源品种ID",
  19414. "type": "integer"
  19415. },
  19416. "srcname": {
  19417. "description": "源品种名称",
  19418. "type": "string"
  19419. },
  19420. "srcunitid": {
  19421. "description": "源品种单位ID",
  19422. "type": "integer"
  19423. },
  19424. "srcunitidname": {
  19425. "description": "源品种单位名称",
  19426. "type": "string"
  19427. }
  19428. }
  19429. },
  19430. "models.ErmcpGoods": {
  19431. "type": "object",
  19432. "required": [
  19433. "goodscode",
  19434. "goodsid",
  19435. "goodsname",
  19436. "marketid"
  19437. ],
  19438. "properties": {
  19439. "agreeunit": {
  19440. "description": "合约单位",
  19441. "type": "number"
  19442. },
  19443. "areauserid": {
  19444. "description": "所属机构",
  19445. "type": "integer"
  19446. },
  19447. "auditaccountid": {
  19448. "description": "审核操作员账号",
  19449. "type": "integer"
  19450. },
  19451. "audittime": {
  19452. "description": "审核时间",
  19453. "type": "string"
  19454. },
  19455. "cancelaccountid": {
  19456. "description": "注销操作员账号",
  19457. "type": "integer"
  19458. },
  19459. "canceltime": {
  19460. "description": "注销时间",
  19461. "type": "string"
  19462. },
  19463. "closepricemode": {
  19464. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19465. "type": "integer"
  19466. },
  19467. "closepriceparam": {
  19468. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19469. "type": "number"
  19470. },
  19471. "createtime": {
  19472. "description": "创建时间",
  19473. "type": "string"
  19474. },
  19475. "creatorid": {
  19476. "description": "创建人",
  19477. "type": "integer"
  19478. },
  19479. "currencyid": {
  19480. "description": "报价货币ID",
  19481. "type": "integer"
  19482. },
  19483. "cutmode": {
  19484. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19485. "type": "integer"
  19486. },
  19487. "decimalplace": {
  19488. "description": "报价小数位",
  19489. "type": "integer"
  19490. },
  19491. "delistingdate": {
  19492. "description": "商品退市时间(状态:退市) -- 已作废",
  19493. "type": "string"
  19494. },
  19495. "delistingmode": {
  19496. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19497. "type": "integer"
  19498. },
  19499. "deliveryflag": {
  19500. "description": "交割标志 - 0:不可交割 1:可交割",
  19501. "type": "integer"
  19502. },
  19503. "enumdicname": {
  19504. "description": "单位名称",
  19505. "type": "string"
  19506. },
  19507. "forceclosemode": {
  19508. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19509. "type": "integer"
  19510. },
  19511. "forceclosevalue": {
  19512. "description": "定期强平参数 [收益权]",
  19513. "type": "integer"
  19514. },
  19515. "goodscode": {
  19516. "description": "商品代码(内部)",
  19517. "type": "string"
  19518. },
  19519. "goodscurrencyid": {
  19520. "description": "合约货币ID",
  19521. "type": "integer"
  19522. },
  19523. "goodsgroupid": {
  19524. "description": "所属商品组ID",
  19525. "type": "integer"
  19526. },
  19527. "goodsid": {
  19528. "description": "商品ID(自增ID SEQ_GOODS)",
  19529. "type": "integer"
  19530. },
  19531. "goodsname": {
  19532. "description": "商品名称",
  19533. "type": "string"
  19534. },
  19535. "goodsquotetype": {
  19536. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19537. "type": "integer"
  19538. },
  19539. "goodsstatus": {
  19540. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19541. "type": "integer"
  19542. },
  19543. "goodstradetype": {
  19544. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19545. "type": "integer"
  19546. },
  19547. "goodunitid": {
  19548. "description": "报价单位ID",
  19549. "type": "integer"
  19550. },
  19551. "hasquoter": {
  19552. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19553. "type": "integer"
  19554. },
  19555. "hqprotecttime": {
  19556. "description": "行情保护时间(秒)",
  19557. "type": "integer"
  19558. },
  19559. "innerdealmode": {
  19560. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19561. "type": "integer"
  19562. },
  19563. "isbuylimited": {
  19564. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19565. "type": "integer"
  19566. },
  19567. "isvisible": {
  19568. "description": "游客是否可见 - 0:不可见 1:可见",
  19569. "type": "integer"
  19570. },
  19571. "lasttradedate": {
  19572. "description": "最后交易日期(状态:待退市)",
  19573. "type": "string"
  19574. },
  19575. "listingdate": {
  19576. "description": "交易开始日期",
  19577. "type": "string"
  19578. },
  19579. "marketid": {
  19580. "description": "所属市场ID",
  19581. "type": "integer"
  19582. },
  19583. "modifierid": {
  19584. "description": "修改人",
  19585. "type": "integer"
  19586. },
  19587. "modifystatus": {
  19588. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19589. "type": "integer"
  19590. },
  19591. "modifytime": {
  19592. "description": "修改时间",
  19593. "type": "string"
  19594. },
  19595. "outerdealmode": {
  19596. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19597. "type": "integer"
  19598. },
  19599. "outgoodscode": {
  19600. "description": "商品代码(外部)",
  19601. "type": "string"
  19602. },
  19603. "pictureurl": {
  19604. "description": "商品图片",
  19605. "type": "string"
  19606. },
  19607. "qtydecimalplace": {
  19608. "description": "成交量小数位",
  19609. "type": "integer"
  19610. },
  19611. "quotegear": {
  19612. "description": "行情档位(1-10)",
  19613. "type": "integer"
  19614. },
  19615. "quoteminunit": {
  19616. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19617. "type": "integer"
  19618. },
  19619. "quoteshowtype": {
  19620. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19621. "type": "integer"
  19622. },
  19623. "quoteshowtypeinterval": {
  19624. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19625. "type": "integer"
  19626. },
  19627. "relatedgoodsid": {
  19628. "description": "关联参考商品ID",
  19629. "type": "integer"
  19630. },
  19631. "remark": {
  19632. "description": "备注",
  19633. "type": "string"
  19634. },
  19635. "trademode": {
  19636. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19637. "type": "integer"
  19638. }
  19639. }
  19640. },
  19641. "models.ErmcpGoodsBrand": {
  19642. "type": "object",
  19643. "properties": {
  19644. "areauserid": {
  19645. "description": "所属机构",
  19646. "type": "integer"
  19647. },
  19648. "brandid": {
  19649. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19650. "type": "integer"
  19651. },
  19652. "brandname": {
  19653. "description": "品牌名称",
  19654. "type": "string"
  19655. },
  19656. "createtime": {
  19657. "description": "创建时间",
  19658. "type": "string"
  19659. },
  19660. "creatorid": {
  19661. "description": "创建人",
  19662. "type": "integer"
  19663. },
  19664. "creatorsrc": {
  19665. "description": "创建人来源 - 1:管理端 2:终端",
  19666. "type": "integer"
  19667. },
  19668. "deliverygoodsid": {
  19669. "description": "现货品种ID",
  19670. "type": "integer"
  19671. },
  19672. "isvalid": {
  19673. "description": "是否有效 - 0:无效 1:有效",
  19674. "type": "integer"
  19675. },
  19676. "updatetime": {
  19677. "description": "更新时间",
  19678. "type": "string"
  19679. },
  19680. "updatorid": {
  19681. "description": "更新人",
  19682. "type": "integer"
  19683. },
  19684. "updatorsrc": {
  19685. "description": "更新人来源 - 1:管理端 2:终端",
  19686. "type": "integer"
  19687. },
  19688. "wrstandardid": {
  19689. "description": "现货商品ID",
  19690. "type": "integer"
  19691. }
  19692. }
  19693. },
  19694. "models.ErmcpGoodsModel": {
  19695. "type": "object",
  19696. "properties": {
  19697. "areauserid": {
  19698. "description": "所属机构",
  19699. "type": "integer"
  19700. },
  19701. "convertfactor": {
  19702. "description": "标仓系数",
  19703. "type": "number"
  19704. },
  19705. "createtime": {
  19706. "description": "创建时间",
  19707. "type": "string"
  19708. },
  19709. "creatorid": {
  19710. "description": "创建人",
  19711. "type": "integer"
  19712. },
  19713. "creatorsrc": {
  19714. "description": "创建人来源 - 1:管理端 2:终端",
  19715. "type": "integer"
  19716. },
  19717. "deliverygoodsid": {
  19718. "description": "现货品种ID",
  19719. "type": "integer"
  19720. },
  19721. "isvalid": {
  19722. "description": "是否有效 - 0:无效 1:有效",
  19723. "type": "integer"
  19724. },
  19725. "modelid": {
  19726. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19727. "type": "integer"
  19728. },
  19729. "modelname": {
  19730. "description": "型号名称",
  19731. "type": "string"
  19732. },
  19733. "updatetime": {
  19734. "description": "更新时间",
  19735. "type": "string"
  19736. },
  19737. "updatorid": {
  19738. "description": "更新人",
  19739. "type": "integer"
  19740. },
  19741. "updatorsrc": {
  19742. "description": "更新人来源 - 1:管理端 2:终端",
  19743. "type": "integer"
  19744. },
  19745. "wrstandardid": {
  19746. "description": "现货商品ID",
  19747. "type": "integer"
  19748. }
  19749. }
  19750. },
  19751. "models.ErmcpHedgePosition": {
  19752. "type": "object",
  19753. "properties": {
  19754. "accountid": {
  19755. "description": "资金账号[外部母账户]",
  19756. "type": "integer"
  19757. },
  19758. "curbuyposition": {
  19759. "description": "期末买头寸",
  19760. "type": "integer"
  19761. },
  19762. "cursellposition": {
  19763. "description": "期末卖头寸",
  19764. "type": "integer"
  19765. },
  19766. "curtdbuyposition": {
  19767. "description": "期末今日买头寸",
  19768. "type": "integer"
  19769. },
  19770. "curtdsellposition": {
  19771. "description": "期末今日卖头寸",
  19772. "type": "integer"
  19773. },
  19774. "curydbuyposition": {
  19775. "description": "期末上日买头寸",
  19776. "type": "integer"
  19777. },
  19778. "curydsellposition": {
  19779. "description": "期末上日卖头寸",
  19780. "type": "integer"
  19781. },
  19782. "decreaseqty": {
  19783. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19784. "type": "integer"
  19785. },
  19786. "fretdbuyposition": {
  19787. "description": "冻结今日买头寸",
  19788. "type": "integer"
  19789. },
  19790. "fretdsellposition": {
  19791. "description": "冻结今日卖头寸",
  19792. "type": "integer"
  19793. },
  19794. "freydbuyposition": {
  19795. "description": "冻结上日买头寸",
  19796. "type": "integer"
  19797. },
  19798. "freydsellposition": {
  19799. "description": "冻结上日卖头寸",
  19800. "type": "integer"
  19801. },
  19802. "goodscode": {
  19803. "description": "商品代码",
  19804. "type": "string"
  19805. },
  19806. "goodsid": {
  19807. "description": "商品id",
  19808. "type": "integer"
  19809. },
  19810. "goodsname": {
  19811. "description": "商品名称",
  19812. "type": "string"
  19813. },
  19814. "hedgeaccountcode": {
  19815. "description": "对冲账号",
  19816. "type": "string"
  19817. },
  19818. "hedgegoodsid": {
  19819. "description": "对冲合约ID",
  19820. "type": "integer"
  19821. },
  19822. "increaseqty": {
  19823. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19824. "type": "integer"
  19825. },
  19826. "marketid": {
  19827. "description": "市场ID",
  19828. "type": "integer"
  19829. },
  19830. "relateduserid": {
  19831. "description": "关联用户id",
  19832. "type": "integer"
  19833. },
  19834. "totalcurqty": {
  19835. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19836. "type": "integer"
  19837. },
  19838. "totalydqty": {
  19839. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19840. "type": "integer"
  19841. },
  19842. "tradedate": {
  19843. "description": "交易日(yyyyMMdd)",
  19844. "type": "string"
  19845. },
  19846. "ydbuyposition": {
  19847. "description": "期初买头寸",
  19848. "type": "integer"
  19849. },
  19850. "ydsellposition": {
  19851. "description": "期初卖头寸",
  19852. "type": "integer"
  19853. }
  19854. }
  19855. },
  19856. "models.ErmcpHedgePositionDetail": {
  19857. "type": "object",
  19858. "properties": {
  19859. "buyorsell": {
  19860. "description": "买卖方向 0-买 1-卖",
  19861. "type": "integer"
  19862. },
  19863. "channelbuildtype": {
  19864. "description": "开平方向 1-建仓 2-平仓",
  19865. "type": "integer"
  19866. },
  19867. "goodscode": {
  19868. "description": "商品代码",
  19869. "type": "string"
  19870. },
  19871. "goodsname": {
  19872. "description": "商品名称",
  19873. "type": "string"
  19874. },
  19875. "hedgegoodsid": {
  19876. "description": "商品id",
  19877. "type": "integer"
  19878. },
  19879. "tradeqty": {
  19880. "description": "数量(成交数量)",
  19881. "type": "integer"
  19882. },
  19883. "tradetime": {
  19884. "description": "时间(成交时间)",
  19885. "type": "string"
  19886. }
  19887. }
  19888. },
  19889. "models.ErmcpHisExposure": {
  19890. "type": "object",
  19891. "properties": {
  19892. "needhedgeexposoure": {
  19893. "description": "应套保敞口",
  19894. "type": "number"
  19895. },
  19896. "reckondate": {
  19897. "description": "日照时期(yyyyMMdd)",
  19898. "type": "string"
  19899. },
  19900. "totalexposure": {
  19901. "description": "总敞口",
  19902. "type": "number"
  19903. }
  19904. }
  19905. },
  19906. "models.ErmcpHisExposureS": {
  19907. "type": "object",
  19908. "properties": {
  19909. "data": {
  19910. "description": "历史敞口",
  19911. "type": "array",
  19912. "items": {
  19913. "$ref": "#/definitions/models.ErmcpHisExposure"
  19914. }
  19915. },
  19916. "enumdicname": {
  19917. "description": "单位名称",
  19918. "type": "string"
  19919. },
  19920. "middlegoodscode": {
  19921. "description": "套保品种代码",
  19922. "type": "string"
  19923. },
  19924. "middlegoodsid": {
  19925. "description": "套保品种ID",
  19926. "type": "integer"
  19927. },
  19928. "middlegoodsname": {
  19929. "description": "套保品种名称",
  19930. "type": "string"
  19931. }
  19932. }
  19933. },
  19934. "models.ErmcpLoginTaAccount": {
  19935. "type": "object",
  19936. "properties": {
  19937. "accountid": {
  19938. "description": "账号id",
  19939. "type": "integer"
  19940. },
  19941. "accountname": {
  19942. "description": "账号名称",
  19943. "type": "string"
  19944. }
  19945. }
  19946. },
  19947. "models.ErmcpLoginUser": {
  19948. "type": "object",
  19949. "properties": {
  19950. "acclist": {
  19951. "description": "关联资金账号",
  19952. "type": "array",
  19953. "items": {
  19954. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  19955. }
  19956. },
  19957. "accountname": {
  19958. "description": "用户名称",
  19959. "type": "string"
  19960. },
  19961. "clientroleid": {
  19962. "description": "角色id(usertype=2)",
  19963. "type": "integer"
  19964. },
  19965. "createtime": {
  19966. "description": "创建时间",
  19967. "type": "string"
  19968. },
  19969. "logincode": {
  19970. "description": "登录代码",
  19971. "type": "string"
  19972. },
  19973. "loginid": {
  19974. "description": "登录id(LOGINID)",
  19975. "type": "integer"
  19976. },
  19977. "loginname": {
  19978. "description": "登录名称(loginaccount表中的accountname字段)",
  19979. "type": "string"
  19980. },
  19981. "loginstatus": {
  19982. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  19983. "type": "integer"
  19984. },
  19985. "memberuserid": {
  19986. "description": "所属会员id",
  19987. "type": "integer"
  19988. },
  19989. "mobile": {
  19990. "description": "手机号",
  19991. "type": "string"
  19992. },
  19993. "modifytime": {
  19994. "description": "修改时间",
  19995. "type": "string"
  19996. },
  19997. "password": {
  19998. "description": "密码(不可解密)",
  19999. "type": "string"
  20000. },
  20001. "rolename": {
  20002. "description": "角色名称",
  20003. "type": "string"
  20004. },
  20005. "rolestatus": {
  20006. "description": "角色状态 1-启用 2-停用",
  20007. "type": "integer"
  20008. },
  20009. "roletype": {
  20010. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20011. "type": "string"
  20012. },
  20013. "userid": {
  20014. "description": "用户id",
  20015. "type": "integer"
  20016. },
  20017. "usertype": {
  20018. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20019. "type": "integer"
  20020. }
  20021. }
  20022. },
  20023. "models.ErmcpLoginUserEx": {
  20024. "type": "object",
  20025. "properties": {
  20026. "accountstatus": {
  20027. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20028. "type": "integer"
  20029. },
  20030. "mobile": {
  20031. "description": "手机号",
  20032. "type": "string"
  20033. },
  20034. "querytype": {
  20035. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20036. "type": "integer"
  20037. },
  20038. "roleid": {
  20039. "description": "角色id(交易账户-\u003e用户id)",
  20040. "type": "integer"
  20041. },
  20042. "rolename": {
  20043. "description": "角色名称(交易账户-\u003e用户名称)",
  20044. "type": "string"
  20045. },
  20046. "userlist": {
  20047. "description": "用户列表",
  20048. "type": "array",
  20049. "items": {
  20050. "$ref": "#/definitions/models.ErmcpLoginUser"
  20051. }
  20052. },
  20053. "usertype": {
  20054. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20055. "type": "integer"
  20056. }
  20057. }
  20058. },
  20059. "models.ErmcpMiddleGoodsChangeLog": {
  20060. "type": "object",
  20061. "properties": {
  20062. "aftervalue": {
  20063. "description": "变更后",
  20064. "type": "number"
  20065. },
  20066. "applyid": {
  20067. "description": "操作人",
  20068. "type": "integer"
  20069. },
  20070. "applyname": {
  20071. "description": "操作人名称",
  20072. "type": "string"
  20073. },
  20074. "applysrc": {
  20075. "description": "操作来源 - 1:管理端 2:终端",
  20076. "type": "integer"
  20077. },
  20078. "beforevalue": {
  20079. "description": "变更前",
  20080. "type": "number"
  20081. },
  20082. "changelogtype": {
  20083. "description": "变更流水类型 - 1:套保比率变更",
  20084. "type": "integer"
  20085. },
  20086. "handlestatus": {
  20087. "description": "处理状态",
  20088. "type": "integer"
  20089. },
  20090. "logdatetime": {
  20091. "description": "流水日期",
  20092. "type": "string"
  20093. },
  20094. "logid": {
  20095. "description": "流水ID",
  20096. "type": "integer"
  20097. },
  20098. "logremark": {
  20099. "description": "流水备注",
  20100. "type": "string"
  20101. },
  20102. "middlegoodsid": {
  20103. "description": "套保品种ID",
  20104. "type": "integer"
  20105. },
  20106. "tradedate": {
  20107. "description": "交易日(yyyyMMdd)",
  20108. "type": "string"
  20109. },
  20110. "updatetime": {
  20111. "description": "更新时间",
  20112. "type": "string"
  20113. }
  20114. }
  20115. },
  20116. "models.ErmcpMiddleGoodsDetail": {
  20117. "type": "object",
  20118. "properties": {
  20119. "cvList": {
  20120. "description": "期货品种折算列表",
  20121. "type": "array",
  20122. "items": {
  20123. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20124. }
  20125. },
  20126. "mg": {
  20127. "description": "套保品种基本信息",
  20128. "type": "object",
  20129. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20130. },
  20131. "wrcList": {
  20132. "description": "现货品种列表(现货商品折算配置)",
  20133. "type": "array",
  20134. "items": {
  20135. "$ref": "#/definitions/models.WRSConverTDetail"
  20136. }
  20137. }
  20138. }
  20139. },
  20140. "models.ErmcpMiddleGoodsModel": {
  20141. "type": "object",
  20142. "properties": {
  20143. "areauserid": {
  20144. "description": "机构用户ID",
  20145. "type": "integer"
  20146. },
  20147. "createtime": {
  20148. "description": "修改时间",
  20149. "type": "string"
  20150. },
  20151. "enumdicname": {
  20152. "description": "单位名称",
  20153. "type": "string"
  20154. },
  20155. "evaluateratio": {
  20156. "description": "估价系数",
  20157. "type": "number"
  20158. },
  20159. "goodsgroupid": {
  20160. "description": "关联期货品种ID",
  20161. "type": "integer"
  20162. },
  20163. "goodsunitid": {
  20164. "description": "单位ID",
  20165. "type": "integer"
  20166. },
  20167. "isvalid": {
  20168. "description": "状态 0-无效(停用) 1-有效(正常)",
  20169. "type": "integer"
  20170. },
  20171. "middlegoodscode": {
  20172. "description": "套保品种代码",
  20173. "type": "string"
  20174. },
  20175. "middlegoodsid": {
  20176. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20177. "type": "integer"
  20178. },
  20179. "middlegoodsname": {
  20180. "description": "套保品种名称",
  20181. "type": "string"
  20182. },
  20183. "modifytime": {
  20184. "description": "修改时间",
  20185. "type": "string"
  20186. },
  20187. "needarbitrageratio": {
  20188. "description": "套利比例",
  20189. "type": "number"
  20190. },
  20191. "needhedgeratio": {
  20192. "description": "套保比率",
  20193. "type": "number"
  20194. },
  20195. "qtydecimalplace": {
  20196. "description": "数量小数位",
  20197. "type": "integer"
  20198. },
  20199. "relatedgoodsid": {
  20200. "description": "关联交易商品ID",
  20201. "type": "integer"
  20202. },
  20203. "relatedgoodstype": {
  20204. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20205. "type": "integer"
  20206. },
  20207. "remark": {
  20208. "description": "备注",
  20209. "type": "string"
  20210. }
  20211. }
  20212. },
  20213. "models.ErmcpMiddlegoodsRelateGoods": {
  20214. "type": "object",
  20215. "properties": {
  20216. "agreeunit": {
  20217. "description": "合约乘数",
  20218. "type": "number"
  20219. },
  20220. "convertratio": {
  20221. "description": "折算系数",
  20222. "type": "number"
  20223. },
  20224. "enumdicname": {
  20225. "description": "单位名称(交易商品)",
  20226. "type": "string"
  20227. },
  20228. "goodscode": {
  20229. "description": "交易商品代码",
  20230. "type": "string"
  20231. },
  20232. "goodsgroupid": {
  20233. "description": "交易品种id",
  20234. "type": "integer"
  20235. },
  20236. "goodsid": {
  20237. "description": "商品Id",
  20238. "type": "integer"
  20239. },
  20240. "goodsname": {
  20241. "description": "交易商品名称",
  20242. "type": "string"
  20243. },
  20244. "goodunitid": {
  20245. "description": "交易商品单位id",
  20246. "type": "integer"
  20247. },
  20248. "middlegoodsid": {
  20249. "description": "套保商品id",
  20250. "type": "integer"
  20251. },
  20252. "middlegoodsname": {
  20253. "description": "套保商品名称",
  20254. "type": "string"
  20255. },
  20256. "middlegoodsswcode": {
  20257. "description": "套保商品代码",
  20258. "type": "string"
  20259. },
  20260. "needarbitrageratio": {
  20261. "description": "应套利比例",
  20262. "type": "number"
  20263. },
  20264. "needhedgeratio": {
  20265. "description": "应套保比例",
  20266. "type": "number"
  20267. }
  20268. }
  20269. },
  20270. "models.ErmcpOPLogModel": {
  20271. "type": "object",
  20272. "properties": {
  20273. "aftervalue": {
  20274. "description": "变更后",
  20275. "type": "number"
  20276. },
  20277. "applyid": {
  20278. "description": "操作人ID",
  20279. "type": "string"
  20280. },
  20281. "applyname": {
  20282. "description": "操作人名称",
  20283. "type": "string"
  20284. },
  20285. "beforevalue": {
  20286. "description": "变更前",
  20287. "type": "number"
  20288. },
  20289. "biztype": {
  20290. "description": "业务类型 - 1:套保计划 2:现货合同",
  20291. "type": "integer"
  20292. },
  20293. "contracttype": {
  20294. "description": "现货合同类型 - 1:采购 -1:销售",
  20295. "type": "integer"
  20296. },
  20297. "logvalue": {
  20298. "description": "数值",
  20299. "type": "number"
  20300. },
  20301. "operatelogtype": {
  20302. "description": "操作流水类型",
  20303. "type": "integer"
  20304. },
  20305. "operatelogtypedesc": {
  20306. "description": "操作流水类型名称",
  20307. "type": "string"
  20308. },
  20309. "relatedid": {
  20310. "description": "现货合同ID\\套保计划",
  20311. "type": "string"
  20312. },
  20313. "updatetime": {
  20314. "description": "更新时间",
  20315. "type": "string"
  20316. }
  20317. }
  20318. },
  20319. "models.ErmcpPendingAudit": {
  20320. "type": "object",
  20321. "properties": {
  20322. "areastockqty": {
  20323. "description": "待审核数量: 库存申请",
  20324. "type": "integer"
  20325. },
  20326. "businessdjqty": {
  20327. "description": "待审核数量: 点价",
  20328. "type": "integer"
  20329. },
  20330. "businessfpqty": {
  20331. "description": "待审核数量: 发票",
  20332. "type": "integer"
  20333. },
  20334. "businessjsqty": {
  20335. "description": "待审核数量: 结算",
  20336. "type": "integer"
  20337. },
  20338. "businesskxqty": {
  20339. "description": "待审核数量: 款项",
  20340. "type": "integer"
  20341. },
  20342. "hedgeplanqty": {
  20343. "description": "待审核数量: 套保计划",
  20344. "type": "integer"
  20345. },
  20346. "spotcontractqty": {
  20347. "description": "待审核数量: 现货合同",
  20348. "type": "integer"
  20349. },
  20350. "userqty": {
  20351. "description": "待审核数量: 用户",
  20352. "type": "integer"
  20353. }
  20354. }
  20355. },
  20356. "models.ErmcpRealExposureModel": {
  20357. "type": "object",
  20358. "properties": {
  20359. "AreaUserID": {
  20360. "description": "所属机构",
  20361. "type": "integer"
  20362. },
  20363. "BuyFutureQty": {
  20364. "description": "买入期货数量",
  20365. "type": "number"
  20366. },
  20367. "BuyPlanQty": {
  20368. "description": "采购计划数量",
  20369. "type": "number"
  20370. },
  20371. "BuyPricedQty": {
  20372. "description": "采购合同已定价数量",
  20373. "type": "number"
  20374. },
  20375. "MiddleGoodsCode": {
  20376. "description": "套保品种代码",
  20377. "type": "string"
  20378. },
  20379. "MiddleGoodsHedgeRatio": {
  20380. "description": "套保比例",
  20381. "type": "number"
  20382. },
  20383. "MiddleGoodsID": {
  20384. "description": "套保品种",
  20385. "type": "integer"
  20386. },
  20387. "MiddleGoodsName": {
  20388. "description": "套保品种名称",
  20389. "type": "string"
  20390. },
  20391. "NeedHedgeExposoure": {
  20392. "description": "应套保敞口(套保敞口)",
  20393. "type": "number"
  20394. },
  20395. "NeedHedgeRatio": {
  20396. "description": "应套保敞口比例",
  20397. "type": "number"
  20398. },
  20399. "OriBuyFutureQty": {
  20400. "description": "期初买入期货数量",
  20401. "type": "number"
  20402. },
  20403. "OriBuyPlanQty": {
  20404. "description": "期初采购计划数量",
  20405. "type": "number"
  20406. },
  20407. "OriBuyPricedQty": {
  20408. "description": "期初采购合同已定价数量",
  20409. "type": "number"
  20410. },
  20411. "OriSellFutureQty": {
  20412. "description": "期初卖出期货数量",
  20413. "type": "number"
  20414. },
  20415. "OriSellPlanQty": {
  20416. "description": "期初销售计划数量",
  20417. "type": "number"
  20418. },
  20419. "OriSellPricedQty": {
  20420. "description": "期初销售合同已定价数量",
  20421. "type": "number"
  20422. },
  20423. "SellFutureQty": {
  20424. "description": "卖出期货数量",
  20425. "type": "number"
  20426. },
  20427. "SellPlanQty": {
  20428. "description": "销售计划数量",
  20429. "type": "number"
  20430. },
  20431. "SellPricedQty": {
  20432. "description": "销售合同已定价数量",
  20433. "type": "number"
  20434. },
  20435. "TotalExposure": {
  20436. "description": "总敞口",
  20437. "type": "number"
  20438. },
  20439. "TotalFutureQty": {
  20440. "description": "期货总量",
  20441. "type": "number"
  20442. },
  20443. "TotalHedgeRatio": {
  20444. "description": "敞口比例",
  20445. "type": "number"
  20446. },
  20447. "TotalNeedHedgeQty": {
  20448. "description": "应套保总量(现货应套保总量)",
  20449. "type": "number"
  20450. },
  20451. "TotalSpotQty": {
  20452. "description": "现货总量",
  20453. "type": "number"
  20454. },
  20455. "arbitrageqty": {
  20456. "description": "套利量",
  20457. "type": "number"
  20458. },
  20459. "diffArbitrageQty": {
  20460. "description": "套利变动量",
  20461. "type": "number"
  20462. },
  20463. "diffExposoureQty": {
  20464. "description": "变动量(套保敞口)",
  20465. "type": "number"
  20466. },
  20467. "diffFutuQty": {
  20468. "description": "变动量(期货总量)",
  20469. "type": "number"
  20470. },
  20471. "diffHedgeQty": {
  20472. "description": "套保变动量",
  20473. "type": "number"
  20474. },
  20475. "diffQty": {
  20476. "description": "变动量(总敞口)",
  20477. "type": "number"
  20478. },
  20479. "diffSpotHedgeQty": {
  20480. "description": "变动量(现货应套保总量)",
  20481. "type": "number"
  20482. },
  20483. "diffSpotQty": {
  20484. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20485. "type": "number"
  20486. },
  20487. "enumdicname": {
  20488. "description": "单位名称",
  20489. "type": "string"
  20490. },
  20491. "hedgeqty": {
  20492. "description": "套保量",
  20493. "type": "number"
  20494. },
  20495. "needarbitrageqty": {
  20496. "description": "应套利量",
  20497. "type": "number"
  20498. },
  20499. "needarbitrageratio": {
  20500. "description": "套利比例",
  20501. "type": "number"
  20502. },
  20503. "needhedgeqty": {
  20504. "description": "应套保量",
  20505. "type": "number"
  20506. },
  20507. "oriTotalFutuQty": {
  20508. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20509. "type": "number"
  20510. },
  20511. "oriTotalSpotQty": {
  20512. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20513. "type": "number"
  20514. },
  20515. "oriarbitrageqty": {
  20516. "description": "期初套利量",
  20517. "type": "number"
  20518. },
  20519. "orihedgeqty": {
  20520. "description": "期初套保量",
  20521. "type": "number"
  20522. },
  20523. "orineedhedgeexposoure": {
  20524. "description": "期初套保敞口",
  20525. "type": "number"
  20526. },
  20527. "oritotalexposure": {
  20528. "description": "期初总敞口",
  20529. "type": "number"
  20530. },
  20531. "oritotalfutureqty": {
  20532. "description": "期初期货总量",
  20533. "type": "number"
  20534. },
  20535. "oritotalneedhedgeqty": {
  20536. "description": "期初现货应套保量",
  20537. "type": "number"
  20538. }
  20539. }
  20540. },
  20541. "models.ErmcpRole": {
  20542. "type": "object",
  20543. "properties": {
  20544. "areauserid": {
  20545. "description": "所属机构",
  20546. "type": "integer"
  20547. },
  20548. "autoid": {
  20549. "description": "角色ID(自增ID)",
  20550. "type": "integer"
  20551. },
  20552. "modifierid": {
  20553. "description": "修改人(创建人)",
  20554. "type": "integer"
  20555. },
  20556. "modifiername": {
  20557. "description": "修改人名称",
  20558. "type": "string"
  20559. },
  20560. "modifytime": {
  20561. "description": "修改时间(创建时间)",
  20562. "type": "string"
  20563. },
  20564. "rolename": {
  20565. "description": "角色名称",
  20566. "type": "string"
  20567. },
  20568. "rolestatus": {
  20569. "description": "角色状态 - 1:启用 2:停用",
  20570. "type": "integer"
  20571. },
  20572. "roletype": {
  20573. "description": "角色类型 - 1- 管理端 2- 交易端",
  20574. "type": "integer"
  20575. }
  20576. }
  20577. },
  20578. "models.ErmcpRoleMenu": {
  20579. "type": "object",
  20580. "properties": {
  20581. "iconame": {
  20582. "description": "菜单图标",
  20583. "type": "string"
  20584. },
  20585. "ishadrole": {
  20586. "description": "是否有权限",
  20587. "type": "boolean"
  20588. },
  20589. "menutype": {
  20590. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20591. "type": "integer"
  20592. },
  20593. "parentcode": {
  20594. "description": "上级资源代码",
  20595. "type": "string"
  20596. },
  20597. "remark": {
  20598. "description": "菜单备注",
  20599. "type": "string"
  20600. },
  20601. "resourcecode": {
  20602. "description": "菜单代码",
  20603. "type": "string"
  20604. },
  20605. "resourcelevel": {
  20606. "description": "级别",
  20607. "type": "integer"
  20608. },
  20609. "resourcename": {
  20610. "description": "菜单名称",
  20611. "type": "string"
  20612. },
  20613. "roleid": {
  20614. "description": "角色id",
  20615. "type": "integer"
  20616. },
  20617. "sort": {
  20618. "description": "排序",
  20619. "type": "integer"
  20620. },
  20621. "url": {
  20622. "description": "URL",
  20623. "type": "string"
  20624. },
  20625. "userid": {
  20626. "description": "用户id",
  20627. "type": "integer"
  20628. }
  20629. }
  20630. },
  20631. "models.ErmcpRoleMenuEx": {
  20632. "type": "object",
  20633. "properties": {
  20634. "menu": {
  20635. "description": "父级菜单",
  20636. "type": "object",
  20637. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20638. },
  20639. "subMenu": {
  20640. "description": "子级菜单",
  20641. "type": "array",
  20642. "items": {
  20643. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20644. }
  20645. }
  20646. }
  20647. },
  20648. "models.ErmcpTaAccount": {
  20649. "type": "object",
  20650. "properties": {
  20651. "accountid": {
  20652. "description": "账户id",
  20653. "type": "integer"
  20654. },
  20655. "accountname": {
  20656. "description": "账户名称",
  20657. "type": "string"
  20658. },
  20659. "currencyid": {
  20660. "description": "币种id",
  20661. "type": "integer"
  20662. },
  20663. "hedgeaccountcode": {
  20664. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20665. "type": "string"
  20666. },
  20667. "ismain": {
  20668. "description": "是否主账户 0-否 1-是",
  20669. "type": "integer"
  20670. },
  20671. "parentaccountid": {
  20672. "description": "父账户id",
  20673. "type": "integer"
  20674. },
  20675. "relateduserid": {
  20676. "description": "关联userid",
  20677. "type": "integer"
  20678. },
  20679. "tradefeetmpid": {
  20680. "description": "手续费模板id",
  20681. "type": "integer"
  20682. },
  20683. "tradefeetmpname": {
  20684. "description": "手续费模板名称",
  20685. "type": "string"
  20686. },
  20687. "trademargintmpid": {
  20688. "description": "保证金模板id",
  20689. "type": "integer"
  20690. },
  20691. "trademargintmpname": {
  20692. "description": "保证金模板名称",
  20693. "type": "string"
  20694. },
  20695. "traderatetmpid": {
  20696. "description": "汇率模板id",
  20697. "type": "integer"
  20698. },
  20699. "traderatetmpname": {
  20700. "description": "汇率模板名称",
  20701. "type": "string"
  20702. },
  20703. "tradestatus": {
  20704. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20705. "type": "integer"
  20706. },
  20707. "userid": {
  20708. "description": "用户id",
  20709. "type": "integer"
  20710. }
  20711. }
  20712. },
  20713. "models.ErmcpTaAccountEx": {
  20714. "type": "object",
  20715. "properties": {
  20716. "mainAcc": {
  20717. "description": "主账号",
  20718. "type": "object",
  20719. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20720. },
  20721. "subacclist": {
  20722. "description": "子账号列表",
  20723. "type": "array",
  20724. "items": {
  20725. "$ref": "#/definitions/models.ErmcpTaAccount"
  20726. }
  20727. }
  20728. }
  20729. },
  20730. "models.ErmcpTaAccountInfo": {
  20731. "type": "object",
  20732. "properties": {
  20733. "accountid": {
  20734. "description": "资金账户ID",
  20735. "type": "integer"
  20736. },
  20737. "accountname": {
  20738. "description": "账户名称",
  20739. "type": "string"
  20740. },
  20741. "balance": {
  20742. "description": "期初余额",
  20743. "type": "number"
  20744. },
  20745. "capitalbalance": {
  20746. "description": "本金余额[外部子账户实际出入金余额]",
  20747. "type": "number"
  20748. },
  20749. "closepl": {
  20750. "description": "今日平仓盈亏",
  20751. "type": "number"
  20752. },
  20753. "creditdecrease": {
  20754. "description": "今日授信减少",
  20755. "type": "number"
  20756. },
  20757. "creditincrease": {
  20758. "description": "今日授信增加",
  20759. "type": "number"
  20760. },
  20761. "curdebt": {
  20762. "description": "期末欠款",
  20763. "type": "number"
  20764. },
  20765. "currencyid": {
  20766. "description": "货币ID",
  20767. "type": "integer"
  20768. },
  20769. "currentbalance": {
  20770. "description": "期末余额",
  20771. "type": "number"
  20772. },
  20773. "freezecharge": {
  20774. "description": "手续费冻结",
  20775. "type": "number"
  20776. },
  20777. "freezemargin": {
  20778. "description": "冻结保证金",
  20779. "type": "number"
  20780. },
  20781. "fromaccountid": {
  20782. "description": "所属上级账户",
  20783. "type": "integer"
  20784. },
  20785. "inamount": {
  20786. "description": "今日入金金额(包括三方入金)",
  20787. "type": "number"
  20788. },
  20789. "ismain": {
  20790. "description": "是否母账号 0:不是母账户 1:是母账户",
  20791. "type": "integer"
  20792. },
  20793. "mortgagecredit": {
  20794. "description": "授信金额",
  20795. "type": "number"
  20796. },
  20797. "oridebt": {
  20798. "description": "期初欠款",
  20799. "type": "number"
  20800. },
  20801. "orifreezecharge": {
  20802. "description": "期初手续费冻结",
  20803. "type": "number"
  20804. },
  20805. "orifreezemargin": {
  20806. "description": "期初冻结保证金",
  20807. "type": "number"
  20808. },
  20809. "orimortgagecredit": {
  20810. "description": "期初授信金额",
  20811. "type": "number"
  20812. },
  20813. "oriothercredit": {
  20814. "description": "期初其它授信金额",
  20815. "type": "number"
  20816. },
  20817. "oriotherfreezemargin": {
  20818. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20819. "type": "number"
  20820. },
  20821. "orioutamountfreeze": {
  20822. "description": "期初出金冻结",
  20823. "type": "number"
  20824. },
  20825. "oriusedmargin": {
  20826. "description": "期初占用保证金",
  20827. "type": "number"
  20828. },
  20829. "othercredit": {
  20830. "description": "其它授信金额",
  20831. "type": "number"
  20832. },
  20833. "othercreditdecrease": {
  20834. "description": "今日其它授信减少",
  20835. "type": "number"
  20836. },
  20837. "othercreditincrease": {
  20838. "description": "今日其它授信增加",
  20839. "type": "number"
  20840. },
  20841. "otherfreezemargin": {
  20842. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20843. "type": "number"
  20844. },
  20845. "outamount": {
  20846. "description": "今日出金金额(包括三方出金)",
  20847. "type": "number"
  20848. },
  20849. "outamountfreeze": {
  20850. "description": "出金冻结",
  20851. "type": "number"
  20852. },
  20853. "outthreshold": {
  20854. "description": "出金阈值",
  20855. "type": "number"
  20856. },
  20857. "parentaccountid": {
  20858. "description": "所属根账号",
  20859. "type": "integer"
  20860. },
  20861. "paycharge": {
  20862. "description": "今日手续费支出",
  20863. "type": "number"
  20864. },
  20865. "relateduserid": {
  20866. "description": "关联用户",
  20867. "type": "integer"
  20868. },
  20869. "signstatus": {
  20870. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20871. "type": "integer"
  20872. },
  20873. "sublevelpath": {
  20874. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20875. "type": "string"
  20876. },
  20877. "taaccounttype": {
  20878. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20879. "type": "integer"
  20880. },
  20881. "thirdinamount": {
  20882. "description": "今日三方入金",
  20883. "type": "number"
  20884. },
  20885. "thirdoutamount": {
  20886. "description": "今日三方出金",
  20887. "type": "number"
  20888. },
  20889. "tradestatus": {
  20890. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20891. "type": "integer"
  20892. },
  20893. "transferamount": {
  20894. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20895. "type": "number"
  20896. },
  20897. "usedmargin": {
  20898. "description": "占用保证金",
  20899. "type": "number"
  20900. },
  20901. "userid": {
  20902. "description": "用户ID",
  20903. "type": "integer"
  20904. }
  20905. }
  20906. },
  20907. "models.ErmcpTaAccountM": {
  20908. "type": "object",
  20909. "properties": {
  20910. "accountid": {
  20911. "description": "账户id",
  20912. "type": "integer"
  20913. },
  20914. "accountname": {
  20915. "description": "账户名称",
  20916. "type": "string"
  20917. },
  20918. "currencyid": {
  20919. "description": "币种id",
  20920. "type": "integer"
  20921. },
  20922. "fcid": {
  20923. "description": "期货公司id",
  20924. "type": "integer"
  20925. },
  20926. "fcname": {
  20927. "description": "期货公司代码",
  20928. "type": "string"
  20929. },
  20930. "hedgeaccountcode": {
  20931. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20932. "type": "string"
  20933. },
  20934. "ismain": {
  20935. "description": "是否主账户 0-否 1-是",
  20936. "type": "integer"
  20937. },
  20938. "parentaccountid": {
  20939. "description": "父账户id",
  20940. "type": "integer"
  20941. },
  20942. "relateduserid": {
  20943. "description": "关联userid",
  20944. "type": "integer"
  20945. },
  20946. "tradefeetmpid": {
  20947. "description": "手续费模板id",
  20948. "type": "integer"
  20949. },
  20950. "tradefeetmpname": {
  20951. "description": "手续费模板名称",
  20952. "type": "string"
  20953. },
  20954. "trademargintmpid": {
  20955. "description": "保证金模板id",
  20956. "type": "integer"
  20957. },
  20958. "trademargintmpname": {
  20959. "description": "保证金模板名称",
  20960. "type": "string"
  20961. },
  20962. "traderatetmpid": {
  20963. "description": "汇率模板id",
  20964. "type": "integer"
  20965. },
  20966. "traderatetmpname": {
  20967. "description": "汇率模板名称",
  20968. "type": "string"
  20969. },
  20970. "tradestatus": {
  20971. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20972. "type": "integer"
  20973. },
  20974. "userid": {
  20975. "description": "用户id",
  20976. "type": "integer"
  20977. }
  20978. }
  20979. },
  20980. "models.ErmcpTradeConfigTMP": {
  20981. "type": "object",
  20982. "properties": {
  20983. "areauserid": {
  20984. "description": "所属机构",
  20985. "type": "integer"
  20986. },
  20987. "basiccurrencyid": {
  20988. "description": "基本币种ID[汇率] - 目标币种",
  20989. "type": "integer"
  20990. },
  20991. "mainaccountid": {
  20992. "description": "主账户ID",
  20993. "type": "integer"
  20994. },
  20995. "modifierid": {
  20996. "description": "修改人",
  20997. "type": "integer"
  20998. },
  20999. "remark": {
  21000. "description": "备注",
  21001. "type": "string"
  21002. },
  21003. "tradeconfigtmpid": {
  21004. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21005. "type": "integer"
  21006. },
  21007. "tradeconfigtmpname": {
  21008. "description": "交易配置模板名称",
  21009. "type": "string"
  21010. },
  21011. "tradeconfigtmptype": {
  21012. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21013. "type": "integer"
  21014. },
  21015. "updatetime": {
  21016. "description": "更新时间",
  21017. "type": "string"
  21018. }
  21019. }
  21020. },
  21021. "models.ErmcpUserModel": {
  21022. "type": "object",
  21023. "properties": {
  21024. "address": {
  21025. "description": "通讯地址",
  21026. "type": "string"
  21027. },
  21028. "attachment1": {
  21029. "description": "附件1",
  21030. "type": "string"
  21031. },
  21032. "audittime": {
  21033. "description": "审核时间",
  21034. "type": "string"
  21035. },
  21036. "cardbackphotourl": {
  21037. "description": "证件反面图片地址",
  21038. "type": "string"
  21039. },
  21040. "cardfrontphotourl": {
  21041. "description": "证件正面图片地址",
  21042. "type": "string"
  21043. },
  21044. "cardnum": {
  21045. "description": "证件号码",
  21046. "type": "string"
  21047. },
  21048. "cardtype": {
  21049. "description": "证件类型",
  21050. "type": "integer"
  21051. },
  21052. "cardtypename": {
  21053. "description": "证件类型名称",
  21054. "type": "string"
  21055. },
  21056. "cityid": {
  21057. "description": "市",
  21058. "type": "integer"
  21059. },
  21060. "contactname": {
  21061. "description": "联系人",
  21062. "type": "string"
  21063. },
  21064. "countryid": {
  21065. "description": "国家",
  21066. "type": "integer"
  21067. },
  21068. "createtime": {
  21069. "description": "创建时间",
  21070. "type": "string"
  21071. },
  21072. "customername": {
  21073. "description": "企业名称",
  21074. "type": "string"
  21075. },
  21076. "districtid": {
  21077. "description": "区域",
  21078. "type": "integer"
  21079. },
  21080. "email": {
  21081. "description": "邮件",
  21082. "type": "string"
  21083. },
  21084. "legalpersonname": {
  21085. "description": "法人姓名(企业)",
  21086. "type": "string"
  21087. },
  21088. "memberuserid": {
  21089. "description": "所属机构ID",
  21090. "type": "integer"
  21091. },
  21092. "mobile": {
  21093. "description": "手机号码",
  21094. "type": "string"
  21095. },
  21096. "modifytime": {
  21097. "description": "修改时间",
  21098. "type": "string"
  21099. },
  21100. "nickname": {
  21101. "description": "昵称",
  21102. "type": "string"
  21103. },
  21104. "provinceid": {
  21105. "description": "省",
  21106. "type": "integer"
  21107. },
  21108. "remark": {
  21109. "description": "备注",
  21110. "type": "string"
  21111. },
  21112. "status": {
  21113. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21114. "type": "integer"
  21115. },
  21116. "statusdesc": {
  21117. "description": "账户状态中文描述",
  21118. "type": "string"
  21119. },
  21120. "taxpayernum": {
  21121. "description": "纳税人识别号",
  21122. "type": "string"
  21123. },
  21124. "telphone": {
  21125. "description": "联系电话",
  21126. "type": "string"
  21127. },
  21128. "userid": {
  21129. "description": "用户ID",
  21130. "type": "integer"
  21131. },
  21132. "userinfotype": {
  21133. "description": "客户类型",
  21134. "type": "string"
  21135. }
  21136. }
  21137. },
  21138. "models.ErmcpWareHouseInfo": {
  21139. "type": "object",
  21140. "properties": {
  21141. "address": {
  21142. "description": "详细地址",
  21143. "type": "string"
  21144. },
  21145. "areauserid": {
  21146. "description": "所属机构",
  21147. "type": "integer"
  21148. },
  21149. "autoid": {
  21150. "description": "自增ID(仓库ID)",
  21151. "type": "integer"
  21152. },
  21153. "cityid": {
  21154. "description": "市",
  21155. "type": "integer"
  21156. },
  21157. "contactname": {
  21158. "description": "联系人",
  21159. "type": "string"
  21160. },
  21161. "contactnum": {
  21162. "description": "联系电话",
  21163. "type": "string"
  21164. },
  21165. "countryid": {
  21166. "description": "国家",
  21167. "type": "integer"
  21168. },
  21169. "createtime": {
  21170. "description": "创建时间",
  21171. "type": "string"
  21172. },
  21173. "districtid": {
  21174. "description": "区",
  21175. "type": "integer"
  21176. },
  21177. "hasvideo": {
  21178. "description": "是否有视频 - 0:无 1:有",
  21179. "type": "integer"
  21180. },
  21181. "provinceid": {
  21182. "description": "省",
  21183. "type": "integer"
  21184. },
  21185. "remark": {
  21186. "description": "审核备注",
  21187. "type": "string"
  21188. },
  21189. "videourl": {
  21190. "description": "视频地址",
  21191. "type": "string"
  21192. },
  21193. "warehousecode": {
  21194. "description": "仓库代码",
  21195. "type": "string"
  21196. },
  21197. "warehousename": {
  21198. "description": "仓库名称",
  21199. "type": "string"
  21200. },
  21201. "warehousestatus": {
  21202. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21203. "type": "integer"
  21204. },
  21205. "warehousetype": {
  21206. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21207. "type": "integer"
  21208. }
  21209. }
  21210. },
  21211. "models.Externalexchange": {
  21212. "type": "object",
  21213. "required": [
  21214. "autoid"
  21215. ],
  21216. "properties": {
  21217. "autoid": {
  21218. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21219. "type": "integer"
  21220. },
  21221. "exchangefullname": {
  21222. "description": "外部交易所全称",
  21223. "type": "string"
  21224. },
  21225. "exexchangecode": {
  21226. "description": "外部交易所代码",
  21227. "type": "string"
  21228. },
  21229. "exexchangename": {
  21230. "description": "外部交易所名称(简称)",
  21231. "type": "string"
  21232. },
  21233. "ismarketprice": {
  21234. "description": "是否支持市价 - 0:不支持 1:支持",
  21235. "type": "integer"
  21236. },
  21237. "quotegear": {
  21238. "description": "行情档位(1-10)",
  21239. "type": "integer"
  21240. },
  21241. "showbrokerflag": {
  21242. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21243. "type": "integer"
  21244. },
  21245. "updatetime": {
  21246. "description": "更新时间",
  21247. "type": "string"
  21248. }
  21249. }
  21250. },
  21251. "models.Funcmenulist": {
  21252. "type": "object",
  21253. "required": [
  21254. "resourcecode"
  21255. ],
  21256. "properties": {
  21257. "iconame": {
  21258. "description": "菜单图标",
  21259. "type": "string"
  21260. },
  21261. "menutype": {
  21262. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21263. "type": "integer"
  21264. },
  21265. "parentcode": {
  21266. "description": "上级资源代码",
  21267. "type": "string"
  21268. },
  21269. "remark": {
  21270. "description": "备注",
  21271. "type": "string"
  21272. },
  21273. "resourcecode": {
  21274. "description": "资源代码",
  21275. "type": "string"
  21276. },
  21277. "resourcelevel": {
  21278. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21279. "type": "integer"
  21280. },
  21281. "resourcename": {
  21282. "description": "资源名",
  21283. "type": "string"
  21284. },
  21285. "sort": {
  21286. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21287. "type": "integer"
  21288. },
  21289. "url": {
  21290. "description": "URL",
  21291. "type": "string"
  21292. }
  21293. }
  21294. },
  21295. "models.Goods": {
  21296. "type": "object",
  21297. "required": [
  21298. "goodscode",
  21299. "goodsid",
  21300. "goodsname",
  21301. "marketid"
  21302. ],
  21303. "properties": {
  21304. "agreeunit": {
  21305. "description": "合约单位",
  21306. "type": "number"
  21307. },
  21308. "areauserid": {
  21309. "description": "所属机构",
  21310. "type": "integer"
  21311. },
  21312. "auditaccountid": {
  21313. "description": "审核操作员账号",
  21314. "type": "integer"
  21315. },
  21316. "audittime": {
  21317. "description": "审核时间",
  21318. "type": "string"
  21319. },
  21320. "cancelaccountid": {
  21321. "description": "注销操作员账号",
  21322. "type": "integer"
  21323. },
  21324. "canceltime": {
  21325. "description": "注销时间",
  21326. "type": "string"
  21327. },
  21328. "closepricemode": {
  21329. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21330. "type": "integer"
  21331. },
  21332. "closepriceparam": {
  21333. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21334. "type": "number"
  21335. },
  21336. "createtime": {
  21337. "description": "创建时间",
  21338. "type": "string"
  21339. },
  21340. "creatorid": {
  21341. "description": "创建人",
  21342. "type": "integer"
  21343. },
  21344. "currencyid": {
  21345. "description": "报价货币ID",
  21346. "type": "integer"
  21347. },
  21348. "cutmode": {
  21349. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21350. "type": "integer"
  21351. },
  21352. "decimalplace": {
  21353. "description": "报价小数位",
  21354. "type": "integer"
  21355. },
  21356. "delistingdate": {
  21357. "description": "商品退市时间(状态:退市) -- 已作废",
  21358. "type": "string"
  21359. },
  21360. "delistingmode": {
  21361. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21362. "type": "integer"
  21363. },
  21364. "deliveryflag": {
  21365. "description": "交割标志 - 0:不可交割 1:可交割",
  21366. "type": "integer"
  21367. },
  21368. "forceclosemode": {
  21369. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21370. "type": "integer"
  21371. },
  21372. "forceclosevalue": {
  21373. "description": "定期强平参数 [收益权]",
  21374. "type": "integer"
  21375. },
  21376. "goodscode": {
  21377. "description": "商品代码(内部)",
  21378. "type": "string"
  21379. },
  21380. "goodscurrencyid": {
  21381. "description": "合约货币ID",
  21382. "type": "integer"
  21383. },
  21384. "goodsgroupid": {
  21385. "description": "所属商品组ID",
  21386. "type": "integer"
  21387. },
  21388. "goodsid": {
  21389. "description": "商品ID(自增ID SEQ_GOODS)",
  21390. "type": "integer"
  21391. },
  21392. "goodsname": {
  21393. "description": "商品名称",
  21394. "type": "string"
  21395. },
  21396. "goodsquotetype": {
  21397. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21398. "type": "integer"
  21399. },
  21400. "goodsstatus": {
  21401. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21402. "type": "integer"
  21403. },
  21404. "goodstradetype": {
  21405. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21406. "type": "integer"
  21407. },
  21408. "goodunitid": {
  21409. "description": "报价单位ID",
  21410. "type": "integer"
  21411. },
  21412. "hasquoter": {
  21413. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21414. "type": "integer"
  21415. },
  21416. "hqprotecttime": {
  21417. "description": "行情保护时间(秒)",
  21418. "type": "integer"
  21419. },
  21420. "innerdealmode": {
  21421. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21422. "type": "integer"
  21423. },
  21424. "isbuylimited": {
  21425. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21426. "type": "integer"
  21427. },
  21428. "isvisible": {
  21429. "description": "游客是否可见 - 0:不可见 1:可见",
  21430. "type": "integer"
  21431. },
  21432. "lasttradedate": {
  21433. "description": "最后交易日期(状态:待退市)",
  21434. "type": "string"
  21435. },
  21436. "listingdate": {
  21437. "description": "交易开始日期",
  21438. "type": "string"
  21439. },
  21440. "marketid": {
  21441. "description": "所属市场ID",
  21442. "type": "integer"
  21443. },
  21444. "modifierid": {
  21445. "description": "修改人",
  21446. "type": "integer"
  21447. },
  21448. "modifystatus": {
  21449. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21450. "type": "integer"
  21451. },
  21452. "modifytime": {
  21453. "description": "修改时间",
  21454. "type": "string"
  21455. },
  21456. "outerdealmode": {
  21457. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21458. "type": "integer"
  21459. },
  21460. "outgoodscode": {
  21461. "description": "商品代码(外部)",
  21462. "type": "string"
  21463. },
  21464. "pictureurl": {
  21465. "description": "商品图片",
  21466. "type": "string"
  21467. },
  21468. "qtydecimalplace": {
  21469. "description": "成交量小数位",
  21470. "type": "integer"
  21471. },
  21472. "quotegear": {
  21473. "description": "行情档位(1-10)",
  21474. "type": "integer"
  21475. },
  21476. "quoteminunit": {
  21477. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21478. "type": "integer"
  21479. },
  21480. "quoteshowtype": {
  21481. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21482. "type": "integer"
  21483. },
  21484. "quoteshowtypeinterval": {
  21485. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21486. "type": "integer"
  21487. },
  21488. "remark": {
  21489. "description": "备注",
  21490. "type": "string"
  21491. }
  21492. }
  21493. },
  21494. "models.GoodsIDAndName": {
  21495. "type": "object",
  21496. "required": [
  21497. "goodscode",
  21498. "goodsid",
  21499. "goodsname",
  21500. "marketid"
  21501. ],
  21502. "properties": {
  21503. "goodscode": {
  21504. "description": "商品代码(内部)",
  21505. "type": "string"
  21506. },
  21507. "goodsid": {
  21508. "description": "商品ID(自增ID SEQ_GOODS)",
  21509. "type": "integer"
  21510. },
  21511. "goodsname": {
  21512. "description": "商品名称",
  21513. "type": "string"
  21514. },
  21515. "marketid": {
  21516. "description": "所属市场ID",
  21517. "type": "integer"
  21518. }
  21519. }
  21520. },
  21521. "models.Goodsgroup": {
  21522. "type": "object",
  21523. "required": [
  21524. "goodsgroupid",
  21525. "goodsgroupname",
  21526. "goodsgroupstatus",
  21527. "marketid"
  21528. ],
  21529. "properties": {
  21530. "agreeunit": {
  21531. "description": "合约单位",
  21532. "type": "number"
  21533. },
  21534. "canshort": {
  21535. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21536. "type": "integer"
  21537. },
  21538. "closepricemode": {
  21539. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21540. "type": "integer"
  21541. },
  21542. "closepriceparam": {
  21543. "description": "强平最新价浮动比例 - 方式为2时使用",
  21544. "type": "number"
  21545. },
  21546. "createtime": {
  21547. "description": "创建时间",
  21548. "type": "string"
  21549. },
  21550. "creatorid": {
  21551. "description": "创建人",
  21552. "type": "integer"
  21553. },
  21554. "currencyid": {
  21555. "description": "报价货币ID",
  21556. "type": "integer"
  21557. },
  21558. "decimalplace": {
  21559. "description": "报价小数位",
  21560. "type": "integer"
  21561. },
  21562. "exercisetype": {
  21563. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21564. "type": "integer"
  21565. },
  21566. "exexchangeid": {
  21567. "description": "外部交易所ID[通道交易]",
  21568. "type": "integer"
  21569. },
  21570. "goodsgroupid": {
  21571. "description": "商品组ID(自增ID)",
  21572. "type": "integer"
  21573. },
  21574. "goodsgroupname": {
  21575. "description": "商品组名称",
  21576. "type": "string"
  21577. },
  21578. "goodsgroupstatus": {
  21579. "description": "商品组状态 - 1:正常 2:注销",
  21580. "type": "integer"
  21581. },
  21582. "goodunitid": {
  21583. "description": "报价单位ID",
  21584. "type": "integer"
  21585. },
  21586. "innerdealmode": {
  21587. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21588. "type": "integer"
  21589. },
  21590. "isbuylimited": {
  21591. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21592. "type": "integer"
  21593. },
  21594. "marketid": {
  21595. "description": "所属市场ID",
  21596. "type": "integer"
  21597. },
  21598. "modifierid": {
  21599. "description": "修改人",
  21600. "type": "integer"
  21601. },
  21602. "modifytime": {
  21603. "description": "修改时间",
  21604. "type": "string"
  21605. },
  21606. "outerdealmode": {
  21607. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21608. "type": "integer"
  21609. },
  21610. "outergroupcode": {
  21611. "description": "外部商品组代码[通道交易]",
  21612. "type": "string"
  21613. },
  21614. "premiumdecimalplace": {
  21615. "description": "权利金小数位[场外期权]",
  21616. "type": "integer"
  21617. },
  21618. "premiumspreadalgorithm": {
  21619. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21620. "type": "integer"
  21621. },
  21622. "premiumspreadvalue": {
  21623. "description": "权利金点差值[场外期权]",
  21624. "type": "number"
  21625. },
  21626. "qtydecimalplace": {
  21627. "description": "成交量小数位",
  21628. "type": "integer"
  21629. },
  21630. "quotegear": {
  21631. "description": "行情档位(1-10)",
  21632. "type": "integer"
  21633. },
  21634. "quoteminunit": {
  21635. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21636. "type": "integer"
  21637. },
  21638. "quoterid": {
  21639. "description": "报价商ID[场外期权]",
  21640. "type": "integer"
  21641. },
  21642. "quotesourcegroupid": {
  21643. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21644. "type": "integer"
  21645. },
  21646. "syncgoodsqty": {
  21647. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21648. "type": "integer"
  21649. }
  21650. }
  21651. },
  21652. "models.Goodssortbypreposition": {
  21653. "type": "object",
  21654. "required": [
  21655. "goodscode",
  21656. "tradedate"
  21657. ],
  21658. "properties": {
  21659. "goodscode": {
  21660. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21661. "type": "string"
  21662. },
  21663. "goodsgroupcode": {
  21664. "description": "品种代码",
  21665. "type": "string"
  21666. },
  21667. "prepositionqty": {
  21668. "description": "昨持仓量",
  21669. "type": "integer"
  21670. },
  21671. "sortindex": {
  21672. "description": "排序",
  21673. "type": "integer"
  21674. },
  21675. "tradedate": {
  21676. "description": "交易日",
  21677. "type": "string"
  21678. },
  21679. "updatetime": {
  21680. "description": "更新时间",
  21681. "type": "string"
  21682. }
  21683. }
  21684. },
  21685. "models.Hedgeinnerholderdetail": {
  21686. "type": "object",
  21687. "required": [
  21688. "buyorsell",
  21689. "tradeid"
  21690. ],
  21691. "properties": {
  21692. "accountid": {
  21693. "description": "账号ID",
  21694. "type": "integer"
  21695. },
  21696. "buyorsell": {
  21697. "description": "方向 - 0:买 1:卖",
  21698. "type": "integer"
  21699. },
  21700. "freezeqty": {
  21701. "description": "冻结数量 - 按单平使用",
  21702. "type": "integer"
  21703. },
  21704. "goodsid": {
  21705. "description": "商品ID",
  21706. "type": "integer"
  21707. },
  21708. "holderamount": {
  21709. "description": "持仓金额 [商品币种]",
  21710. "type": "number"
  21711. },
  21712. "holderdays": {
  21713. "description": "剩余冻结天数",
  21714. "type": "integer"
  21715. },
  21716. "holderprice": {
  21717. "description": "持仓价格",
  21718. "type": "number"
  21719. },
  21720. "holderqty": {
  21721. "description": "持仓数量",
  21722. "type": "integer"
  21723. },
  21724. "marketid": {
  21725. "description": "市场ID",
  21726. "type": "integer"
  21727. },
  21728. "openprice": {
  21729. "description": "建仓价格",
  21730. "type": "number"
  21731. },
  21732. "openqty": {
  21733. "description": "建仓数量",
  21734. "type": "integer"
  21735. },
  21736. "parentaccountid": {
  21737. "description": "所属母账户",
  21738. "type": "integer"
  21739. },
  21740. "releaseamount": {
  21741. "description": "释放持仓金额[商品币种]",
  21742. "type": "number"
  21743. },
  21744. "tradeamount": {
  21745. "description": "成交金额[账户]",
  21746. "type": "number"
  21747. },
  21748. "tradedate": {
  21749. "description": "交易日(yyyyMMdd)",
  21750. "type": "string"
  21751. },
  21752. "tradeid": {
  21753. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21754. "type": "string"
  21755. },
  21756. "tradetime": {
  21757. "description": "交易时间",
  21758. "type": "string"
  21759. }
  21760. }
  21761. },
  21762. "models.Hedgemarketopenlog": {
  21763. "type": "object",
  21764. "required": [
  21765. "accountid"
  21766. ],
  21767. "properties": {
  21768. "accountid": {
  21769. "description": "资金账号[外部母账户]",
  21770. "type": "integer"
  21771. },
  21772. "fcname": {
  21773. "description": "期货公司名称",
  21774. "type": "string"
  21775. },
  21776. "handlestatus": {
  21777. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21778. "type": "integer"
  21779. },
  21780. "marketid": {
  21781. "description": "市场ID",
  21782. "type": "integer"
  21783. },
  21784. "status": {
  21785. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21786. "type": "integer"
  21787. },
  21788. "tradedate": {
  21789. "description": "交易日(yyyyMMdd)",
  21790. "type": "string"
  21791. },
  21792. "updatetime": {
  21793. "description": "更新时间",
  21794. "type": "string"
  21795. }
  21796. }
  21797. },
  21798. "models.HsbyBuyMyPayOrder": {
  21799. "type": "object",
  21800. "required": [
  21801. "goodscode",
  21802. "goodsname",
  21803. "tradeid",
  21804. "trademode"
  21805. ],
  21806. "properties": {
  21807. "agreeunit": {
  21808. "description": "合约单位",
  21809. "type": "number"
  21810. },
  21811. "buyaccountid": {
  21812. "description": "买方账号ID[报价币种]",
  21813. "type": "integer"
  21814. },
  21815. "buyorderid": {
  21816. "description": "买方委托单号",
  21817. "type": "string"
  21818. },
  21819. "createtime": {
  21820. "description": "创建时间",
  21821. "type": "string"
  21822. },
  21823. "currencysign": {
  21824. "description": "货币符号",
  21825. "type": "string"
  21826. },
  21827. "decimalplace": {
  21828. "description": "报价小数位",
  21829. "type": "integer"
  21830. },
  21831. "goodscode": {
  21832. "description": "商品代码(内部)",
  21833. "type": "string"
  21834. },
  21835. "goodsid": {
  21836. "description": "商品ID",
  21837. "type": "integer"
  21838. },
  21839. "goodsname": {
  21840. "description": "商品名称",
  21841. "type": "string"
  21842. },
  21843. "marketid": {
  21844. "description": "市场ID",
  21845. "type": "integer"
  21846. },
  21847. "offamount": {
  21848. "description": "优惠金额",
  21849. "type": "number"
  21850. },
  21851. "originalamount": {
  21852. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  21853. "type": "number"
  21854. },
  21855. "payamount": {
  21856. "description": "支付金额 = TradeAmount + TradeCharge",
  21857. "type": "number"
  21858. },
  21859. "payflag": {
  21860. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  21861. "type": "integer"
  21862. },
  21863. "paylimitedtime": {
  21864. "description": "支付期限",
  21865. "type": "string"
  21866. },
  21867. "paytime": {
  21868. "description": "付款时间",
  21869. "type": "string"
  21870. },
  21871. "picurls1": {
  21872. "description": "预售商品介绍图片[多张用逗号分隔]",
  21873. "type": "string"
  21874. },
  21875. "picurls2": {
  21876. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21877. "type": "string"
  21878. },
  21879. "sellaccountid": {
  21880. "description": "卖方账号ID[报价币种]",
  21881. "type": "integer"
  21882. },
  21883. "sellorderid": {
  21884. "description": "卖方委托单号",
  21885. "type": "string"
  21886. },
  21887. "tradeamount": {
  21888. "description": "成交金额",
  21889. "type": "number"
  21890. },
  21891. "tradecharge": {
  21892. "description": "成交手续费(买方)",
  21893. "type": "number"
  21894. },
  21895. "tradedate": {
  21896. "description": "交易日(yyyyMMdd)",
  21897. "type": "string"
  21898. },
  21899. "tradeid": {
  21900. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21901. "type": "string"
  21902. },
  21903. "trademode": {
  21904. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21905. "type": "integer"
  21906. },
  21907. "tradeprice": {
  21908. "description": "成交价格",
  21909. "type": "number"
  21910. },
  21911. "tradeqty": {
  21912. "description": "成交数量",
  21913. "type": "integer"
  21914. },
  21915. "vendorname1": {
  21916. "description": "预售商品供应商名称",
  21917. "type": "string"
  21918. },
  21919. "vendorname2": {
  21920. "description": "挂牌商品供应商名称",
  21921. "type": "string"
  21922. }
  21923. }
  21924. },
  21925. "models.HsbyBuyMyTradeDetail": {
  21926. "type": "object",
  21927. "required": [
  21928. "accountid",
  21929. "buyorsell",
  21930. "goodscode",
  21931. "goodsid",
  21932. "goodsname",
  21933. "marketid",
  21934. "orderid",
  21935. "qty",
  21936. "time",
  21937. "trademode"
  21938. ],
  21939. "properties": {
  21940. "accountid": {
  21941. "description": "账户ID[报价币种]",
  21942. "type": "integer"
  21943. },
  21944. "agreeunit": {
  21945. "description": "合约单位",
  21946. "type": "number"
  21947. },
  21948. "amount": {
  21949. "description": "金额 = 价格 * 数量 * 合约单位",
  21950. "type": "number"
  21951. },
  21952. "buyorsell": {
  21953. "description": "买卖 - 0:买 1:卖",
  21954. "type": "integer"
  21955. },
  21956. "currencysign": {
  21957. "description": "货币符号",
  21958. "type": "string"
  21959. },
  21960. "decimalplace": {
  21961. "description": "报价小数位",
  21962. "type": "integer"
  21963. },
  21964. "goodscode": {
  21965. "description": "商品代码(内部)",
  21966. "type": "string"
  21967. },
  21968. "goodsid": {
  21969. "description": "商品ID",
  21970. "type": "integer"
  21971. },
  21972. "goodsname": {
  21973. "description": "商品名称",
  21974. "type": "string"
  21975. },
  21976. "marketid": {
  21977. "description": "市场ID",
  21978. "type": "integer"
  21979. },
  21980. "orderamount": {
  21981. "description": "委托金额",
  21982. "type": "number"
  21983. },
  21984. "orderid": {
  21985. "description": "单号(成交单号)",
  21986. "type": "string"
  21987. },
  21988. "picurls1": {
  21989. "description": "预售商品介绍图片[多张用逗号分隔]",
  21990. "type": "string"
  21991. },
  21992. "picurls2": {
  21993. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  21994. "type": "string"
  21995. },
  21996. "price": {
  21997. "description": "价格",
  21998. "type": "number"
  21999. },
  22000. "qty": {
  22001. "description": "数量",
  22002. "type": "integer"
  22003. },
  22004. "time": {
  22005. "description": "时间",
  22006. "type": "string"
  22007. },
  22008. "trademode": {
  22009. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22010. "type": "integer"
  22011. },
  22012. "vendorname1": {
  22013. "description": "预售商品供应商名称",
  22014. "type": "string"
  22015. },
  22016. "vendorname2": {
  22017. "description": "挂牌商品供应商名称",
  22018. "type": "string"
  22019. }
  22020. }
  22021. },
  22022. "models.HsbyGoodsOrderDetail": {
  22023. "type": "object",
  22024. "required": [
  22025. "buyorsell",
  22026. "orderid",
  22027. "ordertime"
  22028. ],
  22029. "properties": {
  22030. "buyorsell": {
  22031. "description": "买卖 - 0:买 1:卖",
  22032. "type": "integer"
  22033. },
  22034. "currencysign": {
  22035. "description": "货币符号",
  22036. "type": "string"
  22037. },
  22038. "customername": {
  22039. "description": "客户名称(企业名称),已脱敏",
  22040. "type": "string"
  22041. },
  22042. "enableqty": {
  22043. "description": "可用数量",
  22044. "type": "integer"
  22045. },
  22046. "goodunit": {
  22047. "description": "报价单位",
  22048. "type": "string"
  22049. },
  22050. "orderid": {
  22051. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22052. "type": "string"
  22053. },
  22054. "orderprice": {
  22055. "description": "委托价格",
  22056. "type": "number"
  22057. },
  22058. "ordertime": {
  22059. "description": "委托时间",
  22060. "type": "string"
  22061. }
  22062. }
  22063. },
  22064. "models.HsbyListingGoodsDetail": {
  22065. "type": "object",
  22066. "required": [
  22067. "goodscode",
  22068. "goodsid",
  22069. "goodsname",
  22070. "marketid",
  22071. "trademode"
  22072. ],
  22073. "properties": {
  22074. "agreeunit": {
  22075. "description": "合约单位",
  22076. "type": "number"
  22077. },
  22078. "buymaxqty": {
  22079. "description": "购买上限 [71] - 0为不限",
  22080. "type": "integer"
  22081. },
  22082. "currency": {
  22083. "description": "货币",
  22084. "type": "string"
  22085. },
  22086. "currencysign": {
  22087. "description": "货币符号",
  22088. "type": "string"
  22089. },
  22090. "decimalplace": {
  22091. "description": "报价小数位",
  22092. "type": "integer"
  22093. },
  22094. "desccityid": {
  22095. "description": "目的地(市)ID",
  22096. "type": "integer"
  22097. },
  22098. "descprovinceid": {
  22099. "description": "目的地(省)ID",
  22100. "type": "integer"
  22101. },
  22102. "goodscode": {
  22103. "description": "商品代码(内部)",
  22104. "type": "string"
  22105. },
  22106. "goodsdesc": {
  22107. "description": "商品详情",
  22108. "type": "string"
  22109. },
  22110. "goodsid": {
  22111. "description": "商品ID(自增ID SEQ_GOODS)",
  22112. "type": "integer"
  22113. },
  22114. "goodsname": {
  22115. "description": "商品名称",
  22116. "type": "string"
  22117. },
  22118. "goodsprice": {
  22119. "description": "商品价格",
  22120. "type": "number"
  22121. },
  22122. "hotindex": {
  22123. "description": "景点热度",
  22124. "type": "integer"
  22125. },
  22126. "last": {
  22127. "description": "现价",
  22128. "type": "number"
  22129. },
  22130. "limitdown": {
  22131. "description": "跌停价",
  22132. "type": "number"
  22133. },
  22134. "limitup": {
  22135. "description": "涨停价",
  22136. "type": "number"
  22137. },
  22138. "lotsize": {
  22139. "description": "手数最小变动单位",
  22140. "type": "integer"
  22141. },
  22142. "marketid": {
  22143. "description": "所属市场ID",
  22144. "type": "integer"
  22145. },
  22146. "picurls": {
  22147. "description": "介绍图片[多张用逗号分隔]",
  22148. "type": "string"
  22149. },
  22150. "quoteminunit": {
  22151. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22152. "type": "integer"
  22153. },
  22154. "stepvalue": {
  22155. "description": "价格最小变动单位",
  22156. "type": "number"
  22157. },
  22158. "trademode": {
  22159. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22160. "type": "integer"
  22161. },
  22162. "vendorattr": {
  22163. "description": "供应商附件(多张,逗号分隔)",
  22164. "type": "string"
  22165. },
  22166. "vendorname": {
  22167. "description": "供应商名称",
  22168. "type": "string"
  22169. },
  22170. "vendorphone": {
  22171. "description": "供应商客服电话",
  22172. "type": "string"
  22173. },
  22174. "videourls": {
  22175. "description": "介绍视频[多张用逗号分隔]",
  22176. "type": "string"
  22177. }
  22178. }
  22179. },
  22180. "models.HsbyMarketGoods": {
  22181. "type": "object",
  22182. "required": [
  22183. "accountid",
  22184. "buyorsell",
  22185. "goodscode",
  22186. "goodsid",
  22187. "goodsname",
  22188. "marketid",
  22189. "orderid",
  22190. "trademode"
  22191. ],
  22192. "properties": {
  22193. "accountid": {
  22194. "description": "账户ID[报价币种]",
  22195. "type": "integer"
  22196. },
  22197. "agreeunit": {
  22198. "description": "合约单位",
  22199. "type": "number"
  22200. },
  22201. "buyorsell": {
  22202. "description": "买卖 - 0:买 1:卖",
  22203. "type": "integer"
  22204. },
  22205. "categoryid": {
  22206. "description": "类别ID(WRCATEGORY)",
  22207. "type": "integer"
  22208. },
  22209. "currency": {
  22210. "description": "货币",
  22211. "type": "string"
  22212. },
  22213. "currencysign": {
  22214. "description": "货币符号",
  22215. "type": "string"
  22216. },
  22217. "customername": {
  22218. "description": "卖家名称",
  22219. "type": "string"
  22220. },
  22221. "decimalplace": {
  22222. "description": "报价小数位",
  22223. "type": "integer"
  22224. },
  22225. "goodscode": {
  22226. "description": "商品代码(内部)",
  22227. "type": "string"
  22228. },
  22229. "goodsid": {
  22230. "description": "商品ID",
  22231. "type": "integer"
  22232. },
  22233. "goodsname": {
  22234. "description": "商品名称",
  22235. "type": "string"
  22236. },
  22237. "goodsprice": {
  22238. "description": "商品价格",
  22239. "type": "number"
  22240. },
  22241. "hascoupon": {
  22242. "description": "是否可用优惠卷",
  22243. "type": "boolean"
  22244. },
  22245. "hotindex": {
  22246. "description": "景点热度",
  22247. "type": "integer"
  22248. },
  22249. "marketid": {
  22250. "description": "市场ID",
  22251. "type": "integer"
  22252. },
  22253. "orderid": {
  22254. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22255. "type": "string"
  22256. },
  22257. "orderprice": {
  22258. "description": "委托价格",
  22259. "type": "number"
  22260. },
  22261. "orderstatus": {
  22262. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22263. "type": "integer"
  22264. },
  22265. "picurls": {
  22266. "description": "介绍图片[多张用逗号分隔]",
  22267. "type": "string"
  22268. },
  22269. "quoteminunit": {
  22270. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22271. "type": "integer"
  22272. },
  22273. "sellUserID": {
  22274. "description": "卖方UserID",
  22275. "type": "integer"
  22276. },
  22277. "trademode": {
  22278. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22279. "type": "integer"
  22280. },
  22281. "videourls": {
  22282. "description": "介绍视频[多张用逗号分隔]",
  22283. "type": "string"
  22284. }
  22285. }
  22286. },
  22287. "models.HsbyMarketGoodsDetail": {
  22288. "type": "object",
  22289. "required": [
  22290. "accountid",
  22291. "buyorsell",
  22292. "goodscode",
  22293. "goodsid",
  22294. "goodsname",
  22295. "marketid",
  22296. "orderid",
  22297. "orderqty",
  22298. "trademode"
  22299. ],
  22300. "properties": {
  22301. "accountid": {
  22302. "description": "账户ID[报价币种]",
  22303. "type": "integer"
  22304. },
  22305. "agreeunit": {
  22306. "description": "合约单位",
  22307. "type": "number"
  22308. },
  22309. "buymaxqty": {
  22310. "description": "购买上限 [71] - 0为不限",
  22311. "type": "integer"
  22312. },
  22313. "buyorsell": {
  22314. "description": "买卖 - 0:买 1:卖",
  22315. "type": "integer"
  22316. },
  22317. "cancelqty": {
  22318. "description": "撤单数量",
  22319. "type": "integer"
  22320. },
  22321. "categoryid": {
  22322. "description": "类别ID(WRCATEGORY)",
  22323. "type": "integer"
  22324. },
  22325. "currency": {
  22326. "description": "货币",
  22327. "type": "string"
  22328. },
  22329. "currencysign": {
  22330. "description": "货币符号",
  22331. "type": "string"
  22332. },
  22333. "customername": {
  22334. "description": "卖家名称",
  22335. "type": "string"
  22336. },
  22337. "decimalplace": {
  22338. "description": "报价小数位",
  22339. "type": "integer"
  22340. },
  22341. "goodscode": {
  22342. "description": "商品代码(内部)",
  22343. "type": "string"
  22344. },
  22345. "goodsdesc": {
  22346. "description": "商品详情",
  22347. "type": "string"
  22348. },
  22349. "goodsid": {
  22350. "description": "商品ID",
  22351. "type": "integer"
  22352. },
  22353. "goodsname": {
  22354. "description": "商品名称",
  22355. "type": "string"
  22356. },
  22357. "goodsprice": {
  22358. "description": "商品价格",
  22359. "type": "number"
  22360. },
  22361. "hotindex": {
  22362. "description": "景点热度",
  22363. "type": "integer"
  22364. },
  22365. "lotsize": {
  22366. "description": "手数最小变动单位",
  22367. "type": "integer"
  22368. },
  22369. "marketid": {
  22370. "description": "市场ID",
  22371. "type": "integer"
  22372. },
  22373. "orderid": {
  22374. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22375. "type": "string"
  22376. },
  22377. "orderprice": {
  22378. "description": "委托价格",
  22379. "type": "number"
  22380. },
  22381. "orderqty": {
  22382. "description": "委托数量",
  22383. "type": "integer"
  22384. },
  22385. "orderstatus": {
  22386. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22387. "type": "integer"
  22388. },
  22389. "picurls": {
  22390. "description": "介绍图片[多张用逗号分隔]",
  22391. "type": "string"
  22392. },
  22393. "quoteminunit": {
  22394. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22395. "type": "integer"
  22396. },
  22397. "sellUserID": {
  22398. "description": "卖方UserID",
  22399. "type": "integer"
  22400. },
  22401. "trademode": {
  22402. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22403. "type": "integer"
  22404. },
  22405. "tradeqty": {
  22406. "description": "成交数量",
  22407. "type": "integer"
  22408. },
  22409. "vendorattr": {
  22410. "description": "供应商附件(多张,逗号分隔)",
  22411. "type": "string"
  22412. },
  22413. "vendorname": {
  22414. "description": "供应商名称",
  22415. "type": "string"
  22416. },
  22417. "vendorphone": {
  22418. "description": "供应商客服电话",
  22419. "type": "string"
  22420. },
  22421. "videourls": {
  22422. "description": "介绍视频[多张用逗号分隔]",
  22423. "type": "string"
  22424. }
  22425. }
  22426. },
  22427. "models.HsbyMarketInfo": {
  22428. "type": "object",
  22429. "required": [
  22430. "marketid",
  22431. "marketstatus",
  22432. "trademode"
  22433. ],
  22434. "properties": {
  22435. "marketid": {
  22436. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22437. "type": "integer"
  22438. },
  22439. "marketname": {
  22440. "description": "市场名称",
  22441. "type": "string"
  22442. },
  22443. "marketstatus": {
  22444. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22445. "type": "integer"
  22446. },
  22447. "trademode": {
  22448. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22449. "type": "integer"
  22450. }
  22451. }
  22452. },
  22453. "models.HsbyMyGoods": {
  22454. "type": "object",
  22455. "required": [
  22456. "accountid",
  22457. "goodscode",
  22458. "goodsid",
  22459. "goodsname",
  22460. "marketid",
  22461. "trademode"
  22462. ],
  22463. "properties": {
  22464. "accountid": {
  22465. "description": "账号Id",
  22466. "type": "integer"
  22467. },
  22468. "agreeunit": {
  22469. "description": "合约单位",
  22470. "type": "number"
  22471. },
  22472. "buyaverageprice": {
  22473. "description": "持仓均价",
  22474. "type": "number"
  22475. },
  22476. "buycurholderamount": {
  22477. "description": "买当前持仓总金额[商品币种]",
  22478. "type": "number"
  22479. },
  22480. "buycurpositionqty": {
  22481. "description": "买当前持仓总数量",
  22482. "type": "integer"
  22483. },
  22484. "buymaxqty": {
  22485. "description": "购买上限 [71] - 0为不限",
  22486. "type": "integer"
  22487. },
  22488. "currencysign": {
  22489. "description": "货币符号",
  22490. "type": "string"
  22491. },
  22492. "decimalplace": {
  22493. "description": "报价小数位",
  22494. "type": "integer"
  22495. },
  22496. "enableqty": {
  22497. "description": "可用数量",
  22498. "type": "integer"
  22499. },
  22500. "goodscode": {
  22501. "description": "商品代码(内部)",
  22502. "type": "string"
  22503. },
  22504. "goodsid": {
  22505. "description": "商品Id",
  22506. "type": "integer"
  22507. },
  22508. "goodsname": {
  22509. "description": "商品名称",
  22510. "type": "string"
  22511. },
  22512. "goodsprice": {
  22513. "description": "商品价格",
  22514. "type": "number"
  22515. },
  22516. "goodsstatus": {
  22517. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22518. "type": "integer"
  22519. },
  22520. "last": {
  22521. "description": "现价(仅使用于挂牌点选)",
  22522. "type": "number"
  22523. },
  22524. "limitdown": {
  22525. "description": "跌停价(仅使用于挂牌点选)",
  22526. "type": "number"
  22527. },
  22528. "limitup": {
  22529. "description": "涨停价(仅使用于挂牌点选)",
  22530. "type": "number"
  22531. },
  22532. "lotsize": {
  22533. "description": "手数最小变动单位",
  22534. "type": "integer"
  22535. },
  22536. "marketid": {
  22537. "description": "所属市场ID",
  22538. "type": "integer"
  22539. },
  22540. "picurls": {
  22541. "description": "介绍图片[多张用逗号分隔]",
  22542. "type": "string"
  22543. },
  22544. "quoteminunit": {
  22545. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22546. "type": "integer"
  22547. },
  22548. "stepvalue": {
  22549. "description": "价格最小变动单位",
  22550. "type": "number"
  22551. },
  22552. "trademode": {
  22553. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22554. "type": "integer"
  22555. }
  22556. }
  22557. },
  22558. "models.HsbyMyPackage": {
  22559. "type": "object",
  22560. "required": [
  22561. "goodscode",
  22562. "goodsname",
  22563. "takeorderid",
  22564. "trademode"
  22565. ],
  22566. "properties": {
  22567. "accountid": {
  22568. "description": "账户ID",
  22569. "type": "integer"
  22570. },
  22571. "address": {
  22572. "description": "提货人详细地址",
  22573. "type": "string"
  22574. },
  22575. "agreeunit": {
  22576. "description": "合约单位",
  22577. "type": "number"
  22578. },
  22579. "amount": {
  22580. "description": "提货金额",
  22581. "type": "number"
  22582. },
  22583. "auditer": {
  22584. "description": "审核人",
  22585. "type": "integer"
  22586. },
  22587. "audittime": {
  22588. "description": "审核时间",
  22589. "type": "string"
  22590. },
  22591. "averageprice": {
  22592. "description": "均价",
  22593. "type": "number"
  22594. },
  22595. "cardnum": {
  22596. "description": "提货人证件号码",
  22597. "type": "string"
  22598. },
  22599. "cardtypeid": {
  22600. "description": "提货人证件类型",
  22601. "type": "integer"
  22602. },
  22603. "checkremark": {
  22604. "description": "审核备注",
  22605. "type": "string"
  22606. },
  22607. "currencysign": {
  22608. "description": "货币符号",
  22609. "type": "string"
  22610. },
  22611. "decimalplace": {
  22612. "description": "报价小数位",
  22613. "type": "integer"
  22614. },
  22615. "goodscode": {
  22616. "description": "商品代码(内部)",
  22617. "type": "string"
  22618. },
  22619. "goodsid": {
  22620. "description": "商品ID",
  22621. "type": "integer"
  22622. },
  22623. "goodsname": {
  22624. "description": "商品名称",
  22625. "type": "string"
  22626. },
  22627. "handlestatus": {
  22628. "description": "处理状态",
  22629. "type": "integer"
  22630. },
  22631. "marketid": {
  22632. "description": "市场ID",
  22633. "type": "integer"
  22634. },
  22635. "phonenum": {
  22636. "description": "提货人联系方式",
  22637. "type": "string"
  22638. },
  22639. "picurls": {
  22640. "description": "介绍图片[多张用逗号分隔]",
  22641. "type": "string"
  22642. },
  22643. "qty": {
  22644. "description": "提货数量",
  22645. "type": "number"
  22646. },
  22647. "recivername": {
  22648. "description": "提货人姓名",
  22649. "type": "string"
  22650. },
  22651. "reqtime": {
  22652. "description": "更新时间",
  22653. "type": "string"
  22654. },
  22655. "takemode": {
  22656. "description": "提货方式 - 2:自提 3:配送",
  22657. "type": "integer"
  22658. },
  22659. "takeorderid": {
  22660. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22661. "type": "string"
  22662. },
  22663. "takeorderstatus": {
  22664. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22665. "type": "integer"
  22666. },
  22667. "takeremark": {
  22668. "description": "提货备注",
  22669. "type": "string"
  22670. },
  22671. "tradedate": {
  22672. "description": "交易日(yyyyMMdd)",
  22673. "type": "string"
  22674. },
  22675. "trademode": {
  22676. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22677. "type": "integer"
  22678. },
  22679. "userid": {
  22680. "description": "用户ID",
  22681. "type": "integer"
  22682. },
  22683. "vendorname": {
  22684. "description": "供应商名称",
  22685. "type": "string"
  22686. }
  22687. }
  22688. },
  22689. "models.HsbyPreGoods": {
  22690. "type": "object",
  22691. "required": [
  22692. "goodscode",
  22693. "goodsid",
  22694. "goodsname",
  22695. "marketid",
  22696. "trademode"
  22697. ],
  22698. "properties": {
  22699. "agreeunit": {
  22700. "description": "合约单位",
  22701. "type": "number"
  22702. },
  22703. "currency": {
  22704. "description": "货币",
  22705. "type": "string"
  22706. },
  22707. "currencysign": {
  22708. "description": "货币符号",
  22709. "type": "string"
  22710. },
  22711. "decimalplace": {
  22712. "description": "报价小数位",
  22713. "type": "integer"
  22714. },
  22715. "desccityid": {
  22716. "description": "目的地(市)",
  22717. "type": "integer"
  22718. },
  22719. "descprovinceid": {
  22720. "description": "目的地(省)",
  22721. "type": "integer"
  22722. },
  22723. "enableqty": {
  22724. "description": "剩余数量",
  22725. "type": "integer"
  22726. },
  22727. "goodscode": {
  22728. "description": "商品代码(内部)",
  22729. "type": "string"
  22730. },
  22731. "goodsid": {
  22732. "description": "商品ID(自增ID SEQ_GOODS)",
  22733. "type": "integer"
  22734. },
  22735. "goodsname": {
  22736. "description": "商品名称",
  22737. "type": "string"
  22738. },
  22739. "goodsstatus": {
  22740. "description": "商品状态- 2:未上市 3:上市",
  22741. "type": "integer"
  22742. },
  22743. "lasttradedate": {
  22744. "description": "最后交易日期(状态:待退市)",
  22745. "type": "string"
  22746. },
  22747. "listingdate": {
  22748. "description": "交易开始日期",
  22749. "type": "string"
  22750. },
  22751. "marketid": {
  22752. "description": "所属市场ID",
  22753. "type": "integer"
  22754. },
  22755. "picurls": {
  22756. "description": "介绍图片[多张用逗号分隔]",
  22757. "type": "string"
  22758. },
  22759. "presaledqty": {
  22760. "description": "已预售量(预售结束时更新)",
  22761. "type": "integer"
  22762. },
  22763. "presaleqty": {
  22764. "description": "预售数量",
  22765. "type": "integer"
  22766. },
  22767. "quoteminunit": {
  22768. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22769. "type": "integer"
  22770. },
  22771. "refprice": {
  22772. "description": "参考价格[一口价]",
  22773. "type": "number"
  22774. },
  22775. "relatedgoodsid": {
  22776. "description": "关联交易合约ID",
  22777. "type": "integer"
  22778. },
  22779. "trademode": {
  22780. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22781. "type": "integer"
  22782. },
  22783. "videourls": {
  22784. "description": "介绍视频[多张用逗号分隔]",
  22785. "type": "string"
  22786. }
  22787. }
  22788. },
  22789. "models.HsbyPreGoodsDetail": {
  22790. "type": "object",
  22791. "required": [
  22792. "goodscode",
  22793. "goodsid",
  22794. "goodsname",
  22795. "marketid",
  22796. "trademode"
  22797. ],
  22798. "properties": {
  22799. "agreeunit": {
  22800. "description": "合约单位",
  22801. "type": "number"
  22802. },
  22803. "buymaxqty": {
  22804. "description": "购买上限 [71] - 0为不限",
  22805. "type": "integer"
  22806. },
  22807. "currency": {
  22808. "description": "货币",
  22809. "type": "string"
  22810. },
  22811. "currencysign": {
  22812. "description": "货币符号",
  22813. "type": "string"
  22814. },
  22815. "customername": {
  22816. "description": "发行单位",
  22817. "type": "string"
  22818. },
  22819. "decimalplace": {
  22820. "description": "报价小数位",
  22821. "type": "integer"
  22822. },
  22823. "desccityid": {
  22824. "description": "目的地(市)ID",
  22825. "type": "integer"
  22826. },
  22827. "descprovinceid": {
  22828. "description": "目的地(省)ID",
  22829. "type": "integer"
  22830. },
  22831. "enableqty": {
  22832. "description": "剩余数量",
  22833. "type": "integer"
  22834. },
  22835. "goodscode": {
  22836. "description": "商品代码(内部)",
  22837. "type": "string"
  22838. },
  22839. "goodsdesc": {
  22840. "description": "商品详情",
  22841. "type": "string"
  22842. },
  22843. "goodsid": {
  22844. "description": "商品ID(自增ID SEQ_GOODS)",
  22845. "type": "integer"
  22846. },
  22847. "goodsname": {
  22848. "description": "商品名称",
  22849. "type": "string"
  22850. },
  22851. "goodsstatus": {
  22852. "description": "商品状态- 2:未上市 3:上市",
  22853. "type": "integer"
  22854. },
  22855. "goodunit": {
  22856. "description": "报价单位",
  22857. "type": "string"
  22858. },
  22859. "lasttradedate": {
  22860. "description": "最后交易日期(状态:待退市)",
  22861. "type": "string"
  22862. },
  22863. "listingdate": {
  22864. "description": "交易开始日期",
  22865. "type": "string"
  22866. },
  22867. "lotsize": {
  22868. "description": "手数最小变动单位",
  22869. "type": "integer"
  22870. },
  22871. "marketid": {
  22872. "description": "所属市场ID",
  22873. "type": "integer"
  22874. },
  22875. "picurls": {
  22876. "description": "介绍图片[多张用逗号分隔]",
  22877. "type": "string"
  22878. },
  22879. "presaledqty": {
  22880. "description": "已预售量(预售结束时更新)",
  22881. "type": "integer"
  22882. },
  22883. "presaleqty": {
  22884. "description": "预售数量",
  22885. "type": "integer"
  22886. },
  22887. "quoteminunit": {
  22888. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22889. "type": "integer"
  22890. },
  22891. "refprice": {
  22892. "description": "参考价格[一口价]",
  22893. "type": "number"
  22894. },
  22895. "relatedgoodsid": {
  22896. "description": "关联交易合约ID",
  22897. "type": "integer"
  22898. },
  22899. "stepvalue": {
  22900. "description": "价格最小变动单位",
  22901. "type": "number"
  22902. },
  22903. "trademode": {
  22904. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22905. "type": "integer"
  22906. },
  22907. "vendorattr": {
  22908. "description": "供应商附件(多张,逗号分隔)",
  22909. "type": "string"
  22910. },
  22911. "vendorname": {
  22912. "description": "供应商名称",
  22913. "type": "string"
  22914. },
  22915. "vendorphone": {
  22916. "description": "供应商客服电话",
  22917. "type": "string"
  22918. },
  22919. "videourls": {
  22920. "description": "介绍视频[多张用逗号分隔]",
  22921. "type": "string"
  22922. }
  22923. }
  22924. },
  22925. "models.HsbySellCollectionOrder": {
  22926. "type": "object",
  22927. "required": [
  22928. "goodscode",
  22929. "goodsname",
  22930. "tradeid",
  22931. "trademode"
  22932. ],
  22933. "properties": {
  22934. "agreeunit": {
  22935. "description": "合约单位",
  22936. "type": "number"
  22937. },
  22938. "buyaccountid": {
  22939. "description": "买方账号ID[报价币种]",
  22940. "type": "integer"
  22941. },
  22942. "buyorderid": {
  22943. "description": "买方委托单号",
  22944. "type": "string"
  22945. },
  22946. "createtime": {
  22947. "description": "创建时间",
  22948. "type": "string"
  22949. },
  22950. "currencysign": {
  22951. "description": "货币符号",
  22952. "type": "string"
  22953. },
  22954. "decimalplace": {
  22955. "description": "报价小数位",
  22956. "type": "integer"
  22957. },
  22958. "goodscode": {
  22959. "description": "商品代码(内部)",
  22960. "type": "string"
  22961. },
  22962. "goodsid": {
  22963. "description": "商品ID",
  22964. "type": "integer"
  22965. },
  22966. "goodsname": {
  22967. "description": "商品名称",
  22968. "type": "string"
  22969. },
  22970. "marketid": {
  22971. "description": "市场ID",
  22972. "type": "integer"
  22973. },
  22974. "offamount": {
  22975. "description": "优惠金额",
  22976. "type": "number"
  22977. },
  22978. "payamount": {
  22979. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  22980. "type": "number"
  22981. },
  22982. "payflag": {
  22983. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22984. "type": "integer"
  22985. },
  22986. "paylimitedtime": {
  22987. "description": "支付期限",
  22988. "type": "string"
  22989. },
  22990. "paytime": {
  22991. "description": "付款时间",
  22992. "type": "string"
  22993. },
  22994. "picurls": {
  22995. "description": "商品介绍图片[多张用逗号分隔]",
  22996. "type": "string"
  22997. },
  22998. "sellaccountid": {
  22999. "description": "卖方账号ID[报价币种]",
  23000. "type": "integer"
  23001. },
  23002. "sellorderid": {
  23003. "description": "卖方委托单号",
  23004. "type": "string"
  23005. },
  23006. "tradeamount": {
  23007. "description": "成交金额",
  23008. "type": "number"
  23009. },
  23010. "tradecharge": {
  23011. "description": "成交手续费(买方)",
  23012. "type": "number"
  23013. },
  23014. "tradedate": {
  23015. "description": "交易日(yyyyMMdd)",
  23016. "type": "string"
  23017. },
  23018. "tradeid": {
  23019. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23020. "type": "string"
  23021. },
  23022. "trademode": {
  23023. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23024. "type": "integer"
  23025. },
  23026. "tradeprice": {
  23027. "description": "成交价格",
  23028. "type": "number"
  23029. },
  23030. "tradeqty": {
  23031. "description": "成交数量",
  23032. "type": "integer"
  23033. }
  23034. }
  23035. },
  23036. "models.HsbySellMyDetail": {
  23037. "type": "object",
  23038. "required": [
  23039. "accountid",
  23040. "buyorsell",
  23041. "goodscode",
  23042. "goodsid",
  23043. "goodsname",
  23044. "marketid",
  23045. "orderid",
  23046. "time",
  23047. "trademode"
  23048. ],
  23049. "properties": {
  23050. "accountid": {
  23051. "description": "账户ID[报价币种]",
  23052. "type": "integer"
  23053. },
  23054. "agreeunit": {
  23055. "description": "合约单位",
  23056. "type": "number"
  23057. },
  23058. "buyorsell": {
  23059. "description": "买卖 - 0:买 1:卖",
  23060. "type": "integer"
  23061. },
  23062. "currencysign": {
  23063. "description": "货币符号",
  23064. "type": "string"
  23065. },
  23066. "decimalplace": {
  23067. "description": "报价小数位",
  23068. "type": "integer"
  23069. },
  23070. "goodscode": {
  23071. "description": "商品代码(内部)",
  23072. "type": "string"
  23073. },
  23074. "goodsid": {
  23075. "description": "商品ID",
  23076. "type": "integer"
  23077. },
  23078. "goodsname": {
  23079. "description": "商品名称",
  23080. "type": "string"
  23081. },
  23082. "marketid": {
  23083. "description": "市场ID",
  23084. "type": "integer"
  23085. },
  23086. "orderid": {
  23087. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23088. "type": "string"
  23089. },
  23090. "ordertype": {
  23091. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23092. "type": "integer"
  23093. },
  23094. "picurls": {
  23095. "description": "介绍图片[多张用逗号分隔]",
  23096. "type": "string"
  23097. },
  23098. "price": {
  23099. "description": "价格",
  23100. "type": "number"
  23101. },
  23102. "qty": {
  23103. "description": "数量",
  23104. "type": "integer"
  23105. },
  23106. "time": {
  23107. "description": "时间",
  23108. "type": "string"
  23109. },
  23110. "trademode": {
  23111. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23112. "type": "integer"
  23113. },
  23114. "vendorname": {
  23115. "description": "供应商名称",
  23116. "type": "string"
  23117. }
  23118. }
  23119. },
  23120. "models.HsbyTopGoods": {
  23121. "type": "object",
  23122. "required": [
  23123. "goodscode",
  23124. "goodsid",
  23125. "goodsname",
  23126. "marketid",
  23127. "trademode"
  23128. ],
  23129. "properties": {
  23130. "agreeunit": {
  23131. "description": "合约单位",
  23132. "type": "number"
  23133. },
  23134. "currency": {
  23135. "description": "货币",
  23136. "type": "string"
  23137. },
  23138. "currencysign": {
  23139. "description": "货币符号",
  23140. "type": "string"
  23141. },
  23142. "decimalplace": {
  23143. "description": "报价小数位",
  23144. "type": "integer"
  23145. },
  23146. "desccityid": {
  23147. "description": "目的地(市)",
  23148. "type": "integer"
  23149. },
  23150. "descprovinceid": {
  23151. "description": "目的地(省)",
  23152. "type": "integer"
  23153. },
  23154. "goodscode": {
  23155. "description": "商品代码(内部)",
  23156. "type": "string"
  23157. },
  23158. "goodsid": {
  23159. "description": "商品ID(自增ID SEQ_GOODS)",
  23160. "type": "integer"
  23161. },
  23162. "goodsname": {
  23163. "description": "商品名称",
  23164. "type": "string"
  23165. },
  23166. "hotindex": {
  23167. "description": "景点热度",
  23168. "type": "integer"
  23169. },
  23170. "last": {
  23171. "description": "现价",
  23172. "type": "number"
  23173. },
  23174. "marketid": {
  23175. "description": "所属市场ID",
  23176. "type": "integer"
  23177. },
  23178. "picurls": {
  23179. "description": "介绍图片[多张用逗号分隔]",
  23180. "type": "string"
  23181. },
  23182. "quoteminunit": {
  23183. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23184. "type": "integer"
  23185. },
  23186. "trademode": {
  23187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23188. "type": "integer"
  23189. },
  23190. "videourls": {
  23191. "description": "介绍视频[多张用逗号分隔]",
  23192. "type": "string"
  23193. }
  23194. }
  23195. },
  23196. "models.HybsMyBuyOrderDetail": {
  23197. "type": "object",
  23198. "required": [
  23199. "accountid",
  23200. "buyorsell",
  23201. "goodscode",
  23202. "goodsid",
  23203. "goodsname",
  23204. "marketid",
  23205. "orderid",
  23206. "orderqty",
  23207. "ordertime",
  23208. "trademode"
  23209. ],
  23210. "properties": {
  23211. "accountid": {
  23212. "description": "账户ID[报价币种]",
  23213. "type": "integer"
  23214. },
  23215. "agreeunit": {
  23216. "description": "合约单位",
  23217. "type": "number"
  23218. },
  23219. "buyorsell": {
  23220. "description": "买卖 - 0:买 1:卖",
  23221. "type": "integer"
  23222. },
  23223. "cancelqty": {
  23224. "description": "撤单数量",
  23225. "type": "integer"
  23226. },
  23227. "currencysign": {
  23228. "description": "货币符号",
  23229. "type": "string"
  23230. },
  23231. "decimalplace": {
  23232. "description": "报价小数位",
  23233. "type": "integer"
  23234. },
  23235. "goodscode": {
  23236. "description": "商品代码(内部)",
  23237. "type": "string"
  23238. },
  23239. "goodsid": {
  23240. "description": "商品ID",
  23241. "type": "integer"
  23242. },
  23243. "goodsname": {
  23244. "description": "商品名称",
  23245. "type": "string"
  23246. },
  23247. "listingselecttype": {
  23248. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23249. "type": "integer"
  23250. },
  23251. "marketid": {
  23252. "description": "市场ID",
  23253. "type": "integer"
  23254. },
  23255. "mybuystatus": {
  23256. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23257. "type": "integer"
  23258. },
  23259. "orderamount": {
  23260. "description": "委托金额",
  23261. "type": "number"
  23262. },
  23263. "orderid": {
  23264. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23265. "type": "string"
  23266. },
  23267. "orderprice": {
  23268. "description": "委托价格",
  23269. "type": "number"
  23270. },
  23271. "orderqty": {
  23272. "description": "委托数量",
  23273. "type": "integer"
  23274. },
  23275. "orderstatus": {
  23276. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23277. "type": "integer"
  23278. },
  23279. "ordertime": {
  23280. "description": "委托时间",
  23281. "type": "string"
  23282. },
  23283. "picurls1": {
  23284. "description": "预售商品介绍图片[多张用逗号分隔]",
  23285. "type": "string"
  23286. },
  23287. "picurls2": {
  23288. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23289. "type": "string"
  23290. },
  23291. "trademode": {
  23292. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23293. "type": "integer"
  23294. },
  23295. "tradeqty": {
  23296. "description": "成交数量",
  23297. "type": "integer"
  23298. },
  23299. "vendorname1": {
  23300. "description": "预售商品供应商名称",
  23301. "type": "string"
  23302. },
  23303. "vendorname2": {
  23304. "description": "挂牌商品供应商名称",
  23305. "type": "string"
  23306. }
  23307. }
  23308. },
  23309. "models.Loginaccount": {
  23310. "type": "object",
  23311. "required": [
  23312. "loginid"
  23313. ],
  23314. "properties": {
  23315. "accountname": {
  23316. "description": "账户名称",
  23317. "type": "string"
  23318. },
  23319. "canoutin": {
  23320. "description": "是否可出入金 - 0:不可 1:可",
  23321. "type": "integer"
  23322. },
  23323. "clientroleid": {
  23324. "description": "终端角色ID",
  23325. "type": "integer"
  23326. },
  23327. "haslogined": {
  23328. "description": "是否已登录 - 0:未登录 1:已登录",
  23329. "type": "integer"
  23330. },
  23331. "hasupdatedpwd": {
  23332. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23333. "type": "integer"
  23334. },
  23335. "lastloginip": {
  23336. "description": "最新登录地址",
  23337. "type": "string"
  23338. },
  23339. "lastloginmode": {
  23340. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23341. "type": "integer"
  23342. },
  23343. "lastloginremark": {
  23344. "description": "最新登录描述",
  23345. "type": "string"
  23346. },
  23347. "lastlogintime": {
  23348. "description": "最新登录时间",
  23349. "type": "string"
  23350. },
  23351. "logincode": {
  23352. "description": "登录代码",
  23353. "type": "string"
  23354. },
  23355. "loginfailnum": {
  23356. "description": "连续登录失败次数(登录成功时清零)",
  23357. "type": "integer"
  23358. },
  23359. "loginid": {
  23360. "description": "登陆账号",
  23361. "type": "integer"
  23362. },
  23363. "loginport": {
  23364. "description": "最新登录端口",
  23365. "type": "integer"
  23366. },
  23367. "loginstatus": {
  23368. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23369. "type": "integer"
  23370. },
  23371. "loginusertype": {
  23372. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23373. "type": "integer"
  23374. },
  23375. "mobile": {
  23376. "description": "手机号码(加密存储)",
  23377. "type": "string"
  23378. },
  23379. "modifierid": {
  23380. "description": "修改人",
  23381. "type": "integer"
  23382. },
  23383. "modifysrc": {
  23384. "description": "审核来源 - 1:管理端 2:终端",
  23385. "type": "integer"
  23386. },
  23387. "modifytime": {
  23388. "description": "修改时间",
  23389. "type": "string"
  23390. },
  23391. "password": {
  23392. "description": "登陆密码",
  23393. "type": "string"
  23394. },
  23395. "pwdwrongcount": {
  23396. "description": "密码错误次数",
  23397. "type": "integer"
  23398. },
  23399. "relateduserid": {
  23400. "description": "关联用户ID(机构)",
  23401. "type": "integer"
  23402. },
  23403. "taaccountrighttype": {
  23404. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23405. "type": "integer"
  23406. },
  23407. "unfreezetime": {
  23408. "description": "账户解冻时间",
  23409. "type": "string"
  23410. },
  23411. "userid": {
  23412. "description": "用户ID",
  23413. "type": "integer"
  23414. }
  23415. }
  23416. },
  23417. "models.MainAccountInfo": {
  23418. "type": "object",
  23419. "properties": {
  23420. "accountid": {
  23421. "description": "账号id",
  23422. "type": "integer"
  23423. },
  23424. "accountname": {
  23425. "description": "账号名称(taaccount表中的名称)",
  23426. "type": "string"
  23427. },
  23428. "appid": {
  23429. "description": "AppID",
  23430. "type": "string"
  23431. },
  23432. "authcode": {
  23433. "description": "授权码",
  23434. "type": "string"
  23435. },
  23436. "brokerid": {
  23437. "description": "经纪商id",
  23438. "type": "string"
  23439. },
  23440. "fcid": {
  23441. "description": "期货公司id",
  23442. "type": "integer"
  23443. },
  23444. "fcname": {
  23445. "description": "期货公司代码",
  23446. "type": "string"
  23447. },
  23448. "hedgeaccountcode": {
  23449. "description": "外部账号代码(主账号登录代码)",
  23450. "type": "string"
  23451. },
  23452. "hedgeaccountpwd": {
  23453. "description": "密码",
  23454. "type": "string"
  23455. },
  23456. "ismain": {
  23457. "description": "是否主账号",
  23458. "type": "integer"
  23459. },
  23460. "relateduserid": {
  23461. "description": "关联用户id",
  23462. "type": "integer"
  23463. },
  23464. "userid": {
  23465. "description": "关联用户id",
  23466. "type": "integer"
  23467. }
  23468. }
  23469. },
  23470. "models.Market": {
  23471. "type": "object",
  23472. "required": [
  23473. "marketid",
  23474. "marketstatus",
  23475. "openmethod",
  23476. "reckonpricealgorithm",
  23477. "trademode",
  23478. "tradeproperty"
  23479. ],
  23480. "properties": {
  23481. "auctionwrtype": {
  23482. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23483. "type": "integer"
  23484. },
  23485. "canacceptquote": {
  23486. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23487. "type": "integer"
  23488. },
  23489. "cangoodsexercise": {
  23490. "description": "[期权]是否可现货行权- 0:否 1:是",
  23491. "type": "integer"
  23492. },
  23493. "cangoodsexercisetype": {
  23494. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23495. "type": "integer"
  23496. },
  23497. "canmanualquotestrike": {
  23498. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23499. "type": "integer"
  23500. },
  23501. "canmutistage": {
  23502. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23503. "type": "integer"
  23504. },
  23505. "canpreexercise": {
  23506. "description": "[期权]是否可预申报- 0:否 1:是",
  23507. "type": "integer"
  23508. },
  23509. "clearinterval": {
  23510. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23511. "type": "integer"
  23512. },
  23513. "contracttmp": {
  23514. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23515. "type": "string"
  23516. },
  23517. "exchareaid": {
  23518. "description": "所属交易所,可以没有",
  23519. "type": "integer"
  23520. },
  23521. "goodstype": {
  23522. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23523. "type": "integer"
  23524. },
  23525. "hasrebate": {
  23526. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23527. "type": "integer"
  23528. },
  23529. "hastradecredit": {
  23530. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23531. "type": "integer"
  23532. },
  23533. "haswr": {
  23534. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23535. "type": "integer"
  23536. },
  23537. "isdeductmargin": {
  23538. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23539. "type": "integer"
  23540. },
  23541. "isrecordsource": {
  23542. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23543. "type": "integer"
  23544. },
  23545. "isreleasemargin": {
  23546. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23547. "type": "integer"
  23548. },
  23549. "marginformula": {
  23550. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23551. "type": "integer"
  23552. },
  23553. "marginformula2": {
  23554. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23555. "type": "integer"
  23556. },
  23557. "marketid": {
  23558. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23559. "type": "integer"
  23560. },
  23561. "marketname": {
  23562. "description": "市场名称",
  23563. "type": "string"
  23564. },
  23565. "marketserviceid": {
  23566. "description": "市场服务ID",
  23567. "type": "integer"
  23568. },
  23569. "marketstatus": {
  23570. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23571. "type": "integer"
  23572. },
  23573. "markettype": {
  23574. "description": "市场类型- 1:非交易服务 2:交易服务",
  23575. "type": "integer"
  23576. },
  23577. "matchermode": {
  23578. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23579. "type": "integer"
  23580. },
  23581. "openmethod": {
  23582. "description": "开盘模式 - 0 自动 1手动",
  23583. "type": "integer"
  23584. },
  23585. "otcuserid": {
  23586. "description": "场外期权做市商[场外期权]",
  23587. "type": "integer"
  23588. },
  23589. "outersynctime": {
  23590. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23591. "type": "string"
  23592. },
  23593. "pendingflag": {
  23594. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23595. "type": "integer"
  23596. },
  23597. "pendingtime": {
  23598. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23599. "type": "string"
  23600. },
  23601. "performancetempid": {
  23602. "description": "履约计划模板ID - 作废",
  23603. "type": "integer"
  23604. },
  23605. "premiumquotemode": {
  23606. "description": "权利金报价方式 - 1:自动 2:手动",
  23607. "type": "integer"
  23608. },
  23609. "rebateratio": {
  23610. "description": "返利比率[竞价式]",
  23611. "type": "number"
  23612. },
  23613. "reckonorder": {
  23614. "description": "结算顺序",
  23615. "type": "integer"
  23616. },
  23617. "reckonpricealgorithm": {
  23618. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23619. "type": "integer"
  23620. },
  23621. "reckonpriceparam": {
  23622. "description": "结算价参数",
  23623. "type": "integer"
  23624. },
  23625. "reckontime": {
  23626. "description": "结算时间[通道交易-对冲](HH:mm)",
  23627. "type": "string"
  23628. },
  23629. "roleprioritytype": {
  23630. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23631. "type": "integer"
  23632. },
  23633. "selllistingauditflag": {
  23634. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23635. "type": "integer"
  23636. },
  23637. "trademarkettype": {
  23638. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23639. "type": "integer"
  23640. },
  23641. "trademode": {
  23642. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23643. "type": "integer"
  23644. },
  23645. "tradeproperty": {
  23646. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23647. "type": "integer"
  23648. },
  23649. "tradetype": {
  23650. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23651. "type": "integer"
  23652. }
  23653. }
  23654. },
  23655. "models.Marketrun": {
  23656. "type": "object",
  23657. "required": [
  23658. "marketid",
  23659. "nexttradedate",
  23660. "reckonflag",
  23661. "runstatus",
  23662. "tradedate",
  23663. "tradedate2"
  23664. ],
  23665. "properties": {
  23666. "afternexttradedate": {
  23667. "description": "下下交易日",
  23668. "type": "string"
  23669. },
  23670. "clearquoteflag": {
  23671. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23672. "type": "integer"
  23673. },
  23674. "lastreckondate": {
  23675. "description": "最新交易日(结算成功)",
  23676. "type": "string"
  23677. },
  23678. "machinedate": {
  23679. "description": "机器时间",
  23680. "type": "string"
  23681. },
  23682. "manualflag": {
  23683. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23684. "type": "integer"
  23685. },
  23686. "marketid": {
  23687. "description": "市场ID",
  23688. "type": "integer"
  23689. },
  23690. "nexttradedate": {
  23691. "description": "下一交易日",
  23692. "type": "string"
  23693. },
  23694. "pretradedate": {
  23695. "description": "上一交易日",
  23696. "type": "string"
  23697. },
  23698. "reckonflag": {
  23699. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23700. "type": "integer"
  23701. },
  23702. "runstatus": {
  23703. "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.今日免清算",
  23704. "type": "integer"
  23705. },
  23706. "sectionid": {
  23707. "description": "时间段号[多时段时用]",
  23708. "type": "integer"
  23709. },
  23710. "tradedate": {
  23711. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23712. "type": "string"
  23713. },
  23714. "tradedate2": {
  23715. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23716. "type": "string"
  23717. },
  23718. "updatetime": {
  23719. "description": "更新时间",
  23720. "type": "string"
  23721. }
  23722. }
  23723. },
  23724. "models.Messageboard": {
  23725. "type": "object",
  23726. "required": [
  23727. "messageboardid"
  23728. ],
  23729. "properties": {
  23730. "contactnum": {
  23731. "description": "联系电话",
  23732. "type": "string"
  23733. },
  23734. "createtime": {
  23735. "description": "创建时间",
  23736. "type": "string"
  23737. },
  23738. "message": {
  23739. "description": "留言信息",
  23740. "type": "string"
  23741. },
  23742. "messageboardid": {
  23743. "description": "留言簿ID(SEQ_MessageBoard)",
  23744. "type": "integer"
  23745. },
  23746. "userid": {
  23747. "description": "用户ID",
  23748. "type": "integer"
  23749. }
  23750. }
  23751. },
  23752. "models.MyCoupon": {
  23753. "type": "object",
  23754. "required": [
  23755. "accountid",
  23756. "coupontypeid"
  23757. ],
  23758. "properties": {
  23759. "accountid": {
  23760. "description": "资金账户ID",
  23761. "type": "integer"
  23762. },
  23763. "areauserid": {
  23764. "description": "所属机构",
  23765. "type": "integer"
  23766. },
  23767. "conditionvalue": {
  23768. "description": "条件阈值(可为0)",
  23769. "type": "number"
  23770. },
  23771. "couponcategroy": {
  23772. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23773. "type": "integer"
  23774. },
  23775. "couponname": {
  23776. "description": "优惠券名称",
  23777. "type": "string"
  23778. },
  23779. "coupontypeid": {
  23780. "description": "优惠券类型ID",
  23781. "type": "string"
  23782. },
  23783. "couponvalue": {
  23784. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23785. "type": "number"
  23786. },
  23787. "curfreezeqty": {
  23788. "description": "期末冻结数量",
  23789. "type": "integer"
  23790. },
  23791. "curqty": {
  23792. "description": "期末数量",
  23793. "type": "integer"
  23794. },
  23795. "isgeneral": {
  23796. "description": "是否通用券 - 0:否 1:是",
  23797. "type": "integer"
  23798. },
  23799. "isunusable": {
  23800. "description": "是否不可用",
  23801. "type": "boolean"
  23802. },
  23803. "limitedflag": {
  23804. "description": "是否指定商品 - 0:不限 1:限制",
  23805. "type": "integer"
  23806. },
  23807. "limitedgoodsids": {
  23808. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23809. "type": "string"
  23810. },
  23811. "orifreezeqty": {
  23812. "description": "期初冻结数量",
  23813. "type": "integer"
  23814. },
  23815. "oriqty": {
  23816. "description": "期初数量",
  23817. "type": "integer"
  23818. },
  23819. "reasontype": {
  23820. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  23821. "type": "integer"
  23822. },
  23823. "todaydecrease": {
  23824. "description": "今日减少",
  23825. "type": "integer"
  23826. },
  23827. "todayincrease": {
  23828. "description": "今日增加",
  23829. "type": "integer"
  23830. },
  23831. "userid": {
  23832. "description": "用户ID",
  23833. "type": "integer"
  23834. },
  23835. "userscope": {
  23836. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  23837. "type": "string"
  23838. }
  23839. }
  23840. },
  23841. "models.MyCouponHold": {
  23842. "type": "object",
  23843. "required": [
  23844. "couponholdid"
  23845. ],
  23846. "properties": {
  23847. "accountid": {
  23848. "description": "资金账户ID",
  23849. "type": "integer"
  23850. },
  23851. "conditionvalue": {
  23852. "description": "条件阈值(可为0)",
  23853. "type": "number"
  23854. },
  23855. "couponcategroy": {
  23856. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  23857. "type": "integer"
  23858. },
  23859. "couponholdid": {
  23860. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  23861. "type": "string"
  23862. },
  23863. "couponname": {
  23864. "description": "优惠券名称",
  23865. "type": "string"
  23866. },
  23867. "coupontypeid": {
  23868. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  23869. "type": "string"
  23870. },
  23871. "couponvalue": {
  23872. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23873. "type": "number"
  23874. },
  23875. "createtime": {
  23876. "description": "创建时间",
  23877. "type": "string"
  23878. },
  23879. "enddate": {
  23880. "description": "结束日期",
  23881. "type": "string"
  23882. },
  23883. "giveapplyid": {
  23884. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  23885. "type": "integer"
  23886. },
  23887. "holdstatus": {
  23888. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  23889. "type": "integer"
  23890. },
  23891. "isgeneral": {
  23892. "description": "是否通用券 - 0:否 1:是",
  23893. "type": "integer"
  23894. },
  23895. "limitedflag": {
  23896. "description": "是否指定商品 - 0:不限 1:限制",
  23897. "type": "integer"
  23898. },
  23899. "limitedgoodsids": {
  23900. "description": "指定商品IDs[逗号分隔]",
  23901. "type": "string"
  23902. },
  23903. "qty": {
  23904. "description": "数量(按1平铺)",
  23905. "type": "integer"
  23906. },
  23907. "startdate": {
  23908. "description": "开始日期",
  23909. "type": "string"
  23910. },
  23911. "userid": {
  23912. "description": "用户ID",
  23913. "type": "integer"
  23914. },
  23915. "userscope": {
  23916. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  23917. "type": "string"
  23918. }
  23919. }
  23920. },
  23921. "models.MyUsedCoupon": {
  23922. "type": "object",
  23923. "required": [
  23924. "coupontypeid",
  23925. "orderid"
  23926. ],
  23927. "properties": {
  23928. "accountid": {
  23929. "description": "资金账户ID(买方)",
  23930. "type": "integer"
  23931. },
  23932. "conditionvalue": {
  23933. "description": "条件阈值(可为0)",
  23934. "type": "number"
  23935. },
  23936. "couponcategroy": {
  23937. "description": "种类 - 1:现金券 2:折扣券",
  23938. "type": "integer"
  23939. },
  23940. "couponname": {
  23941. "description": "优惠券名称",
  23942. "type": "string"
  23943. },
  23944. "coupontypeid": {
  23945. "description": "优惠券类型ID(买方)",
  23946. "type": "string"
  23947. },
  23948. "couponvalue": {
  23949. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  23950. "type": "number"
  23951. },
  23952. "createtime": {
  23953. "description": "创建时间",
  23954. "type": "string"
  23955. },
  23956. "goodsid": {
  23957. "description": "商品ID",
  23958. "type": "integer"
  23959. },
  23960. "handlestatus": {
  23961. "description": "处理状态",
  23962. "type": "integer"
  23963. },
  23964. "marketid": {
  23965. "description": "市场ID",
  23966. "type": "integer"
  23967. },
  23968. "offamount": {
  23969. "description": "优惠金额",
  23970. "type": "number"
  23971. },
  23972. "orderid": {
  23973. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23974. "type": "string"
  23975. },
  23976. "sellaccountid": {
  23977. "description": "资金账户ID(卖方)",
  23978. "type": "integer"
  23979. },
  23980. "tradeamount": {
  23981. "description": "成交金额",
  23982. "type": "number"
  23983. },
  23984. "tradeid": {
  23985. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23986. "type": "string"
  23987. },
  23988. "usedqty": {
  23989. "description": "使用数量",
  23990. "type": "integer"
  23991. }
  23992. }
  23993. },
  23994. "models.OperationPrimaryMenu": {
  23995. "type": "object",
  23996. "properties": {
  23997. "Children": {
  23998. "description": "二级功能菜单",
  23999. "type": "array",
  24000. "items": {
  24001. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24002. }
  24003. },
  24004. "Key": {
  24005. "description": "菜单KEY",
  24006. "type": "string"
  24007. },
  24008. "Label": {
  24009. "description": "菜单标题",
  24010. "type": "string"
  24011. }
  24012. }
  24013. },
  24014. "models.OperationSecondaryMenu": {
  24015. "type": "object",
  24016. "properties": {
  24017. "Key": {
  24018. "description": "菜单KEY",
  24019. "type": "string"
  24020. },
  24021. "Label": {
  24022. "description": "菜单标题",
  24023. "type": "string"
  24024. },
  24025. "TabList": {
  24026. "description": "三级功能菜单",
  24027. "type": "array",
  24028. "items": {
  24029. "$ref": "#/definitions/models.OperationTabMenu"
  24030. }
  24031. }
  24032. }
  24033. },
  24034. "models.OperationTabMenu": {
  24035. "type": "object",
  24036. "properties": {
  24037. "Key": {
  24038. "description": "菜单KEY",
  24039. "type": "string"
  24040. },
  24041. "Label": {
  24042. "description": "菜单标题",
  24043. "type": "string"
  24044. }
  24045. }
  24046. },
  24047. "models.PendingAuditBizModel": {
  24048. "type": "object",
  24049. "properties": {
  24050. "accountid": {
  24051. "description": "现货账户",
  24052. "type": "string"
  24053. },
  24054. "areaname": {
  24055. "description": "所属部门",
  24056. "type": "string"
  24057. },
  24058. "bizid": {
  24059. "description": "业务ID",
  24060. "type": "string"
  24061. },
  24062. "bizname": {
  24063. "description": "业务名称",
  24064. "type": "string"
  24065. },
  24066. "status": {
  24067. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24068. "type": "integer"
  24069. },
  24070. "type": {
  24071. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24072. "type": "integer"
  24073. }
  24074. }
  24075. },
  24076. "models.QhjAccountOutInApply": {
  24077. "type": "object",
  24078. "properties": {
  24079. "accountcode": {
  24080. "description": "资金账号",
  24081. "type": "string"
  24082. },
  24083. "accountname": {
  24084. "description": "用户名称(名称)",
  24085. "type": "string"
  24086. },
  24087. "accountpwd": {
  24088. "description": "资金密码",
  24089. "type": "string"
  24090. },
  24091. "accountticket": {
  24092. "description": "最新账户服务流水号",
  24093. "type": "string"
  24094. },
  24095. "amount": {
  24096. "description": "金额",
  24097. "type": "number"
  24098. },
  24099. "applyremark": {
  24100. "description": "申请备注",
  24101. "type": "string"
  24102. },
  24103. "applystatus": {
  24104. "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: 复审通过,账户冻结金额检查中;",
  24105. "type": "integer"
  24106. },
  24107. "auditid": {
  24108. "description": "审核人",
  24109. "type": "integer"
  24110. },
  24111. "audittime": {
  24112. "description": "审核时间",
  24113. "type": "string"
  24114. },
  24115. "bank_apply_ticket": {
  24116. "description": "银行申请流水",
  24117. "type": "string"
  24118. },
  24119. "bankaccountname": {
  24120. "description": "银行账户名",
  24121. "type": "string"
  24122. },
  24123. "bankaccountno": {
  24124. "description": "银行卡号",
  24125. "type": "string"
  24126. },
  24127. "bankid": {
  24128. "description": "银行编号",
  24129. "type": "string"
  24130. },
  24131. "bankticket": {
  24132. "description": "银行流水",
  24133. "type": "string"
  24134. },
  24135. "branchbankid": {
  24136. "description": "银行支行号",
  24137. "type": "string"
  24138. },
  24139. "branchbankname": {
  24140. "description": "银行支行名称",
  24141. "type": "string"
  24142. },
  24143. "capamountout": {
  24144. "description": "出金(劣后本金) - 外部子账户",
  24145. "type": "number"
  24146. },
  24147. "certificatephotourl": {
  24148. "description": "凭证地址",
  24149. "type": "string"
  24150. },
  24151. "charge": {
  24152. "description": "手续费",
  24153. "type": "number"
  24154. },
  24155. "checkerrorflag": {
  24156. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24157. "type": "integer"
  24158. },
  24159. "currency": {
  24160. "description": "币种",
  24161. "type": "string"
  24162. },
  24163. "cusbankid": {
  24164. "description": "托管银行编号",
  24165. "type": "string"
  24166. },
  24167. "exchticket": {
  24168. "description": "银行服务流水号",
  24169. "type": "string"
  24170. },
  24171. "executetype": {
  24172. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24173. "type": "integer"
  24174. },
  24175. "extendinfo": {
  24176. "description": "扩展信息",
  24177. "type": "string"
  24178. },
  24179. "extoperateid": {
  24180. "description": "交易服务流水号",
  24181. "type": "integer"
  24182. },
  24183. "infamount": {
  24184. "description": "劣后金额(自有)",
  24185. "type": "number"
  24186. },
  24187. "logincode": {
  24188. "description": "登录账号(账号)",
  24189. "type": "string"
  24190. },
  24191. "netaddr": {
  24192. "description": "调转网址",
  24193. "type": "string"
  24194. },
  24195. "priamount": {
  24196. "description": "优先金额(授信)",
  24197. "type": "number"
  24198. },
  24199. "reauditid": {
  24200. "description": "复审人",
  24201. "type": "integer"
  24202. },
  24203. "reauditremark": {
  24204. "description": "复审备注",
  24205. "type": "string"
  24206. },
  24207. "reaudittime": {
  24208. "description": "复审时间",
  24209. "type": "string"
  24210. },
  24211. "relatedorderid": {
  24212. "description": "三方关联ID",
  24213. "type": "string"
  24214. },
  24215. "remark": {
  24216. "description": "备注",
  24217. "type": "string"
  24218. },
  24219. "remark2": {
  24220. "description": "备注(失败原因)",
  24221. "type": "string"
  24222. },
  24223. "soucreamount": {
  24224. "description": "原始出入金金额",
  24225. "type": "number"
  24226. },
  24227. "soucrecurrencyid": {
  24228. "description": "原始出入金币种",
  24229. "type": "integer"
  24230. },
  24231. "tradedate": {
  24232. "description": "交易日(yyyyMMdd)",
  24233. "type": "string"
  24234. },
  24235. "updatetime": {
  24236. "description": "更新时间(申请时间)",
  24237. "type": "string"
  24238. },
  24239. "userid": {
  24240. "description": "用户id",
  24241. "type": "integer"
  24242. },
  24243. "userinfotype": {
  24244. "description": "账户类型 1-个人 2-企业",
  24245. "type": "integer"
  24246. }
  24247. }
  24248. },
  24249. "models.QhjAgreementChangeLog": {
  24250. "type": "object",
  24251. "properties": {
  24252. "agreementcontent": {
  24253. "description": "协议内容",
  24254. "type": "string"
  24255. },
  24256. "agreementfrequency": {
  24257. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24258. "type": "integer"
  24259. },
  24260. "agreementid": {
  24261. "description": "协议ID",
  24262. "type": "integer"
  24263. },
  24264. "agreementname": {
  24265. "description": "协议名称",
  24266. "type": "string"
  24267. },
  24268. "agreementno": {
  24269. "description": "协议编号",
  24270. "type": "string"
  24271. },
  24272. "agreementtype": {
  24273. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24274. "type": "integer"
  24275. },
  24276. "agreementversion": {
  24277. "description": "协议版本号",
  24278. "type": "integer"
  24279. },
  24280. "logid": {
  24281. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24282. "type": "integer"
  24283. },
  24284. "reviserid": {
  24285. "description": "修改人",
  24286. "type": "integer"
  24287. },
  24288. "revisersrc": {
  24289. "description": "修改来源 - 1:管理端 2:终端",
  24290. "type": "integer"
  24291. },
  24292. "updatetime": {
  24293. "description": "更新时间",
  24294. "type": "string"
  24295. }
  24296. }
  24297. },
  24298. "models.QhjAgreementConfig": {
  24299. "type": "object",
  24300. "properties": {
  24301. "agreementcontent": {
  24302. "description": "协议内容",
  24303. "type": "string"
  24304. },
  24305. "agreementfrequency": {
  24306. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24307. "type": "integer"
  24308. },
  24309. "agreementid": {
  24310. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24311. "type": "integer"
  24312. },
  24313. "agreementname": {
  24314. "description": "协议名称",
  24315. "type": "string"
  24316. },
  24317. "agreementno": {
  24318. "description": "协议编号",
  24319. "type": "string"
  24320. },
  24321. "agreementtype": {
  24322. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24323. "type": "integer"
  24324. },
  24325. "agreementversion": {
  24326. "description": "协议版本号(从1开始每次修改加1)",
  24327. "type": "integer"
  24328. },
  24329. "createtime": {
  24330. "description": "创建时间",
  24331. "type": "string"
  24332. },
  24333. "creatorid": {
  24334. "description": "创建人",
  24335. "type": "integer"
  24336. },
  24337. "creatorsrc": {
  24338. "description": "创建来源 - 1:管理端 2:终端",
  24339. "type": "integer"
  24340. },
  24341. "isvalid": {
  24342. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24343. "type": "integer"
  24344. },
  24345. "reviserid": {
  24346. "description": "修改人",
  24347. "type": "integer"
  24348. },
  24349. "revisersrc": {
  24350. "description": "修改来源 - 1:管理端 2:终端",
  24351. "type": "integer"
  24352. },
  24353. "updatetime": {
  24354. "description": "更新时间",
  24355. "type": "string"
  24356. }
  24357. }
  24358. },
  24359. "models.QhjAreaFinanceConfig": {
  24360. "type": "object",
  24361. "properties": {
  24362. "additionalratio": {
  24363. "description": "追加款比例",
  24364. "type": "number"
  24365. },
  24366. "advanceratio": {
  24367. "description": "预付款比例",
  24368. "type": "number"
  24369. },
  24370. "alarmratio": {
  24371. "description": "告警比例",
  24372. "type": "number"
  24373. },
  24374. "consumptiondirectreward": {
  24375. "description": "消费直推奖励值",
  24376. "type": "number"
  24377. },
  24378. "consumptionenabled": {
  24379. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24380. "type": "integer"
  24381. },
  24382. "consumptionindirectreward": {
  24383. "description": "消费间推奖励值",
  24384. "type": "number"
  24385. },
  24386. "consumptionmodel": {
  24387. "description": "消费奖励方式 - 1:比率 2:固定",
  24388. "type": "integer"
  24389. },
  24390. "customerservicenum": {
  24391. "description": "客服电话",
  24392. "type": "string"
  24393. },
  24394. "dayinterestrate": {
  24395. "description": "日利率",
  24396. "type": "number"
  24397. },
  24398. "disableconsumptiontips": {
  24399. "description": "关闭消费奖励提示",
  24400. "type": "string"
  24401. },
  24402. "modifierid": {
  24403. "description": "修改人ID",
  24404. "type": "integer"
  24405. },
  24406. "modifysrc": {
  24407. "description": "审核来源 - 1:管理端 2:终端",
  24408. "type": "integer"
  24409. },
  24410. "modifytime": {
  24411. "description": "修改时间",
  24412. "type": "string"
  24413. },
  24414. "promotionvalue": {
  24415. "description": "推广奖励值(固定)",
  24416. "type": "number"
  24417. },
  24418. "scoreconfigvalue1": {
  24419. "description": "提货积分配置1",
  24420. "type": "integer"
  24421. },
  24422. "scoreconfigvalue2": {
  24423. "description": "提货积分配置2",
  24424. "type": "integer"
  24425. },
  24426. "userid": {
  24427. "description": "机构用户ID其他做市关系,都设置为 1",
  24428. "type": "integer"
  24429. },
  24430. "username": {
  24431. "description": "用户名称",
  24432. "type": "string"
  24433. }
  24434. }
  24435. },
  24436. "models.QhjBankAccountSign": {
  24437. "type": "object",
  24438. "properties": {
  24439. "accountcode": {
  24440. "description": "资金账号",
  24441. "type": "string"
  24442. },
  24443. "accountname": {
  24444. "description": "资金账号对应的账号名(UserName)",
  24445. "type": "string"
  24446. },
  24447. "accountname2": {
  24448. "description": "资金账号对应的账号名(UserName) - 密文",
  24449. "type": "string"
  24450. },
  24451. "accounttype": {
  24452. "description": "账户类型(UserType)",
  24453. "type": "integer"
  24454. },
  24455. "applicationtime": {
  24456. "description": "最后一次更新的时间",
  24457. "type": "string"
  24458. },
  24459. "applyexchticket": {
  24460. "description": "申请流水",
  24461. "type": "string"
  24462. },
  24463. "auditid": {
  24464. "description": "审核人",
  24465. "type": "integer"
  24466. },
  24467. "audittime": {
  24468. "description": "审核时间",
  24469. "type": "string"
  24470. },
  24471. "bankaccountname": {
  24472. "description": "签约银行卡账号名",
  24473. "type": "string"
  24474. },
  24475. "bankaccountname2": {
  24476. "description": "签约银行卡账号名 - 密文",
  24477. "type": "string"
  24478. },
  24479. "bankaccountno": {
  24480. "description": "银行卡号",
  24481. "type": "string"
  24482. },
  24483. "bankaccountno2": {
  24484. "description": "银行卡号 - 密文",
  24485. "type": "string"
  24486. },
  24487. "bankaccounttype": {
  24488. "description": "银行账户类型 - 1-对私; 2-对公",
  24489. "type": "integer"
  24490. },
  24491. "bankcardtype": {
  24492. "description": "银行卡类型",
  24493. "type": "integer"
  24494. },
  24495. "bankchildaccount": {
  24496. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24497. "type": "string"
  24498. },
  24499. "bankcity": {
  24500. "description": "开户行城市",
  24501. "type": "string"
  24502. },
  24503. "bankid": {
  24504. "description": "签约银行ID",
  24505. "type": "string"
  24506. },
  24507. "bankname": {
  24508. "description": "签约银行名称",
  24509. "type": "string"
  24510. },
  24511. "bankprovince": {
  24512. "description": "开户行省份",
  24513. "type": "string"
  24514. },
  24515. "branchbankid": {
  24516. "description": "签约银行支行号",
  24517. "type": "string"
  24518. },
  24519. "branchbankname": {
  24520. "description": "签约银行支行名称",
  24521. "type": "string"
  24522. },
  24523. "cardno": {
  24524. "description": "证件号码",
  24525. "type": "string"
  24526. },
  24527. "cardno2": {
  24528. "description": "证件号码 - 密文",
  24529. "type": "string"
  24530. },
  24531. "cardtype": {
  24532. "description": "证件类型",
  24533. "type": "string"
  24534. },
  24535. "currency": {
  24536. "description": "币种",
  24537. "type": "string"
  24538. },
  24539. "cusbankid": {
  24540. "description": "托管银行编号",
  24541. "type": "string"
  24542. },
  24543. "direct": {
  24544. "description": "方向(可以判断那方先发起的签约)",
  24545. "type": "integer"
  24546. },
  24547. "exchticket": {
  24548. "description": "最后一次签约成功的流水号",
  24549. "type": "string"
  24550. },
  24551. "extendinfo": {
  24552. "description": "扩展信息(JSON字符串)",
  24553. "type": "string"
  24554. },
  24555. "mobilephone": {
  24556. "description": "手机号",
  24557. "type": "string"
  24558. },
  24559. "mobilephone2": {
  24560. "description": "手机号 - 密文",
  24561. "type": "string"
  24562. },
  24563. "netaddr": {
  24564. "description": "调转网址",
  24565. "type": "string"
  24566. },
  24567. "relateduserid": {
  24568. "description": "关联使用者userid",
  24569. "type": "integer"
  24570. },
  24571. "signstatus": {
  24572. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24573. "type": "integer"
  24574. },
  24575. "updatetime": {
  24576. "description": "更新时间(签解约更新时间)",
  24577. "type": "string"
  24578. }
  24579. }
  24580. },
  24581. "models.QhjBankInfo": {
  24582. "type": "object",
  24583. "properties": {
  24584. "bankid": {
  24585. "description": "银行ID",
  24586. "type": "string"
  24587. },
  24588. "bankname": {
  24589. "description": "银行名称",
  24590. "type": "string"
  24591. },
  24592. "clearbankno": {
  24593. "description": "清算系统银行编号",
  24594. "type": "string"
  24595. },
  24596. "orderindex": {
  24597. "description": "排序顺序",
  24598. "type": "integer"
  24599. },
  24600. "status": {
  24601. "description": "状态 - 0:正常 1:注销",
  24602. "type": "integer"
  24603. }
  24604. }
  24605. },
  24606. "models.QhjBrokerApply": {
  24607. "type": "object",
  24608. "properties": {
  24609. "applicantid": {
  24610. "description": "申请人",
  24611. "type": "integer"
  24612. },
  24613. "applysrc": {
  24614. "description": "申请来源 - 1:管理端 2:终端",
  24615. "type": "integer"
  24616. },
  24617. "applystatus": {
  24618. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24619. "type": "integer"
  24620. },
  24621. "applytime": {
  24622. "description": "申请时间",
  24623. "type": "string"
  24624. },
  24625. "auditorid": {
  24626. "description": "审核人",
  24627. "type": "integer"
  24628. },
  24629. "auditremark": {
  24630. "description": "审核备注",
  24631. "type": "string"
  24632. },
  24633. "auditsrc": {
  24634. "description": "审核来源 - 1:管理端 2:终端",
  24635. "type": "integer"
  24636. },
  24637. "audittime": {
  24638. "description": "审核时间",
  24639. "type": "string"
  24640. },
  24641. "audittradedate": {
  24642. "description": "审核交易日(yyyyMMdd)",
  24643. "type": "string"
  24644. },
  24645. "brokerapplyid": {
  24646. "description": "申请ID(SEQ_BROKERAPPLY)",
  24647. "type": "integer"
  24648. },
  24649. "cardbackphotourl": {
  24650. "description": "证件背面图片地址",
  24651. "type": "string"
  24652. },
  24653. "cardfrontphotourl": {
  24654. "description": "证件正面图片地址",
  24655. "type": "string"
  24656. },
  24657. "cardnum": {
  24658. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24659. "type": "string"
  24660. },
  24661. "customername": {
  24662. "description": "姓名",
  24663. "type": "string"
  24664. },
  24665. "logincode": {
  24666. "description": "登录代码",
  24667. "type": "string"
  24668. },
  24669. "mobile": {
  24670. "description": "手机号码",
  24671. "type": "string"
  24672. },
  24673. "parentuserid": {
  24674. "description": "所属机构id",
  24675. "type": "integer"
  24676. },
  24677. "parentusername": {
  24678. "description": "所属机构名称",
  24679. "type": "string"
  24680. },
  24681. "refereeuserid": {
  24682. "description": "推荐人id(经纪人)",
  24683. "type": "integer"
  24684. },
  24685. "refernum": {
  24686. "description": "推荐码",
  24687. "type": "string"
  24688. },
  24689. "remark": {
  24690. "description": "备注",
  24691. "type": "string"
  24692. },
  24693. "subarealevelpath": {
  24694. "description": "层级路径",
  24695. "type": "string"
  24696. },
  24697. "tradedate": {
  24698. "description": "交易日(yyyyMMdd)",
  24699. "type": "string"
  24700. },
  24701. "userid": {
  24702. "description": "申请人用户ID",
  24703. "type": "integer"
  24704. },
  24705. "userinfotype": {
  24706. "description": "用户类型 1-个人 2-企业",
  24707. "type": "integer"
  24708. },
  24709. "username": {
  24710. "description": "用户名称",
  24711. "type": "string"
  24712. }
  24713. }
  24714. },
  24715. "models.QhjBrokerApplyEx": {
  24716. "type": "object",
  24717. "properties": {
  24718. "applylist": {
  24719. "description": "经纪人申请记录(只返回最新一条)",
  24720. "type": "array",
  24721. "items": {
  24722. "$ref": "#/definitions/models.QhjBrokerApply"
  24723. }
  24724. },
  24725. "canrecommend": {
  24726. "description": "是否经纪人 0-不是 1-是",
  24727. "type": "integer"
  24728. },
  24729. "refernum": {
  24730. "description": "推荐码",
  24731. "type": "string"
  24732. },
  24733. "userid": {
  24734. "description": "用户id",
  24735. "type": "integer"
  24736. },
  24737. "userinfotype": {
  24738. "description": "用户类型 1-个人 2-企业",
  24739. "type": "integer"
  24740. }
  24741. }
  24742. },
  24743. "models.QhjBrokerRewardLog": {
  24744. "type": "object",
  24745. "properties": {
  24746. "accountid": {
  24747. "description": "资金账号ID",
  24748. "type": "integer"
  24749. },
  24750. "createtime": {
  24751. "description": "创建时间(时间)",
  24752. "type": "string"
  24753. },
  24754. "handlestatus": {
  24755. "description": "处理状态",
  24756. "type": "integer"
  24757. },
  24758. "logid": {
  24759. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24760. "type": "string"
  24761. },
  24762. "marketid": {
  24763. "description": "市场ID",
  24764. "type": "integer"
  24765. },
  24766. "mmaccountid": {
  24767. "description": "做市商资金账号ID",
  24768. "type": "string"
  24769. },
  24770. "mmuserid": {
  24771. "description": "做市商用户ID",
  24772. "type": "string"
  24773. },
  24774. "rewardamount": {
  24775. "description": "奖励金额",
  24776. "type": "number"
  24777. },
  24778. "rewardmodel": {
  24779. "description": "消费奖励方式 - 1:比率 2:固定",
  24780. "type": "integer"
  24781. },
  24782. "rewardtype": {
  24783. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24784. "type": "integer"
  24785. },
  24786. "rewardvalue": {
  24787. "description": "配置奖励值",
  24788. "type": "number"
  24789. },
  24790. "srcamount": {
  24791. "description": "成交金额 [消费奖励] (金额)",
  24792. "type": "number"
  24793. },
  24794. "srcgoodsid": {
  24795. "description": "来源商品ID [消费奖励]",
  24796. "type": "string"
  24797. },
  24798. "srctime": {
  24799. "description": "来源时间 (成交时间) [消费奖励]",
  24800. "type": "string"
  24801. },
  24802. "srctradeid": {
  24803. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24804. "type": "string"
  24805. },
  24806. "srcuserid": {
  24807. "description": "来源用户ID(推广账户)",
  24808. "type": "string"
  24809. },
  24810. "srcusername": {
  24811. "description": "推广账户名称",
  24812. "type": "string"
  24813. },
  24814. "tradedate": {
  24815. "description": "交易日(yyyyMMdd)",
  24816. "type": "string"
  24817. },
  24818. "userid": {
  24819. "description": "经纪人用户ID",
  24820. "type": "integer"
  24821. }
  24822. }
  24823. },
  24824. "models.QhjContract": {
  24825. "type": "object",
  24826. "properties": {
  24827. "contractconfirmtime": {
  24828. "description": "合同确认时间(时间)",
  24829. "type": "string"
  24830. },
  24831. "currisklevel": {
  24832. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  24833. "type": "integer"
  24834. },
  24835. "decimalplace": {
  24836. "description": "商品报价小数位",
  24837. "type": "integer"
  24838. },
  24839. "enumdicname": {
  24840. "description": "单位名称",
  24841. "type": "string"
  24842. },
  24843. "goodscode": {
  24844. "description": "商品代码",
  24845. "type": "string"
  24846. },
  24847. "goodsid": {
  24848. "description": "商品ID [5:融资单]",
  24849. "type": "integer"
  24850. },
  24851. "goodsname": {
  24852. "description": "商品名称",
  24853. "type": "string"
  24854. },
  24855. "goodunitid": {
  24856. "description": "商品单位id",
  24857. "type": "integer"
  24858. },
  24859. "initmargin": {
  24860. "description": "初始保证金(首付款)",
  24861. "type": "number"
  24862. },
  24863. "lenderamount": {
  24864. "description": "贷款金额(总额|订单总额)",
  24865. "type": "number"
  24866. },
  24867. "marginratio": {
  24868. "description": "保证金比率(首付比例)",
  24869. "type": "number"
  24870. },
  24871. "payamount": {
  24872. "description": "已付(已付货款)",
  24873. "type": "number"
  24874. },
  24875. "reckonrecovermargin": {
  24876. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  24877. "type": "number"
  24878. },
  24879. "recoveredmargin": {
  24880. "description": "已追缴保证金",
  24881. "type": "number"
  24882. },
  24883. "remainamount": {
  24884. "description": "合同剩余金额(融资额)",
  24885. "type": "number"
  24886. },
  24887. "scfcontractid": {
  24888. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24889. "type": "string"
  24890. },
  24891. "scfcontractstatus": {
  24892. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  24893. "type": "integer"
  24894. },
  24895. "scfcontracttype": {
  24896. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  24897. "type": "integer"
  24898. },
  24899. "totalinterest": {
  24900. "description": "已计总利息(利息)",
  24901. "type": "number"
  24902. },
  24903. "tradeprice": {
  24904. "description": "成交价格(成本价格)",
  24905. "type": "number"
  24906. },
  24907. "userid": {
  24908. "description": "用户ID",
  24909. "type": "integer"
  24910. },
  24911. "username": {
  24912. "description": "用户名称",
  24913. "type": "string"
  24914. },
  24915. "wrqty": {
  24916. "description": "仓单数量(数量)",
  24917. "type": "number"
  24918. }
  24919. }
  24920. },
  24921. "models.QhjContractLog": {
  24922. "type": "object",
  24923. "properties": {
  24924. "amount": {
  24925. "description": "支付金额",
  24926. "type": "number"
  24927. },
  24928. "amounttype": {
  24929. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  24930. "type": "integer"
  24931. },
  24932. "logid": {
  24933. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24934. "type": "string"
  24935. },
  24936. "remainamount": {
  24937. "description": "剩余货款",
  24938. "type": "number"
  24939. },
  24940. "scfcontractid": {
  24941. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  24942. "type": "integer"
  24943. },
  24944. "updatetime": {
  24945. "description": "更新时间",
  24946. "type": "string"
  24947. }
  24948. }
  24949. },
  24950. "models.QhjCusBankSignBankEx": {
  24951. "type": "object",
  24952. "properties": {
  24953. "banklst": {
  24954. "description": "银行列表",
  24955. "type": "array",
  24956. "items": {
  24957. "$ref": "#/definitions/models.QhjBankInfo"
  24958. }
  24959. },
  24960. "canallot": {
  24961. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  24962. "type": "integer"
  24963. },
  24964. "canallotquery": {
  24965. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  24966. "type": "integer"
  24967. },
  24968. "canbindcard": {
  24969. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  24970. "type": "integer"
  24971. },
  24972. "caninamount": {
  24973. "description": "是否可入金 - 0:不可 1:可以",
  24974. "type": "integer"
  24975. },
  24976. "caninamount2": {
  24977. "description": "是否可入金(网银端) - 0:不可 1:可以",
  24978. "type": "integer"
  24979. },
  24980. "canmodifybankcard": {
  24981. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  24982. "type": "integer"
  24983. },
  24984. "canmodifyphone": {
  24985. "description": "是否可修改手机号 - 0:不可 1:可以",
  24986. "type": "integer"
  24987. },
  24988. "canmodifysigninfo": {
  24989. "description": "是否可修改签约信息 - 0:不可 1:可以",
  24990. "type": "integer"
  24991. },
  24992. "canoutamount": {
  24993. "description": "是否可出金 - 0:不可 1:可以",
  24994. "type": "integer"
  24995. },
  24996. "canoutamount2": {
  24997. "description": "是否可出金(网银端) - 0:不可 1:可以",
  24998. "type": "integer"
  24999. },
  25000. "canrelease": {
  25001. "description": "是否可解约 - 0:不可 1:可以",
  25002. "type": "integer"
  25003. },
  25004. "canrelease2": {
  25005. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25006. "type": "integer"
  25007. },
  25008. "cansign": {
  25009. "description": "是否可签约 - 0:不可 1:可以",
  25010. "type": "integer"
  25011. },
  25012. "cansign2": {
  25013. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25014. "type": "integer"
  25015. },
  25016. "currency": {
  25017. "description": "币种",
  25018. "type": "string"
  25019. },
  25020. "cusbankid": {
  25021. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25022. "type": "string"
  25023. },
  25024. "cusbankname": {
  25025. "description": "银行业务名称",
  25026. "type": "string"
  25027. },
  25028. "cusbankshortname": {
  25029. "description": "银行业务简称",
  25030. "type": "string"
  25031. },
  25032. "exchbankid": {
  25033. "description": "交易所开户银行ID",
  25034. "type": "string"
  25035. },
  25036. "exchpaybankaccname": {
  25037. "description": "交易所支出结算账户户名",
  25038. "type": "string"
  25039. },
  25040. "exchpaybankaccno": {
  25041. "description": "交易所支出结算账户",
  25042. "type": "string"
  25043. },
  25044. "isneedcheck": {
  25045. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25046. "type": "integer"
  25047. },
  25048. "isneedclear": {
  25049. "description": "是否需要清算 - 0:不需要 1:需要",
  25050. "type": "integer"
  25051. },
  25052. "lastcheckstatus": {
  25053. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25054. "type": "integer"
  25055. },
  25056. "lastchecktime": {
  25057. "description": "最后对账时间",
  25058. "type": "string"
  25059. },
  25060. "lastclearstatus": {
  25061. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25062. "type": "integer"
  25063. },
  25064. "lastcleartime": {
  25065. "description": "最后清算时间",
  25066. "type": "string"
  25067. },
  25068. "lastsignintime": {
  25069. "description": "最后签到时间",
  25070. "type": "string"
  25071. },
  25072. "lastsignouttime": {
  25073. "description": "最后签退时间",
  25074. "type": "string"
  25075. },
  25076. "riskinfo": {
  25077. "description": "签约风险提示书",
  25078. "type": "string"
  25079. },
  25080. "signstatus": {
  25081. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25082. "type": "integer"
  25083. },
  25084. "tradedate": {
  25085. "description": "交易日(yyyyMMdd)",
  25086. "type": "string"
  25087. },
  25088. "updatetime": {
  25089. "description": "当前签到/签退更新时间",
  25090. "type": "string"
  25091. }
  25092. }
  25093. },
  25094. "models.QhjCustomer": {
  25095. "type": "object",
  25096. "properties": {
  25097. "address": {
  25098. "description": "通讯地址",
  25099. "type": "string"
  25100. },
  25101. "attachment1": {
  25102. "description": "附件1",
  25103. "type": "string"
  25104. },
  25105. "audittime": {
  25106. "description": "审核时间",
  25107. "type": "string"
  25108. },
  25109. "cardbackphotourl": {
  25110. "description": "证件反面图片地址",
  25111. "type": "string"
  25112. },
  25113. "cardfrontphotourl": {
  25114. "description": "证件正面图片地址",
  25115. "type": "string"
  25116. },
  25117. "cardnum": {
  25118. "description": "证件号码",
  25119. "type": "string"
  25120. },
  25121. "cardtype": {
  25122. "description": "证件类型",
  25123. "type": "integer"
  25124. },
  25125. "cardtypename": {
  25126. "description": "证件类型名称",
  25127. "type": "string"
  25128. },
  25129. "cityid": {
  25130. "description": "市",
  25131. "type": "integer"
  25132. },
  25133. "cityname": {
  25134. "description": "城市名称",
  25135. "type": "string"
  25136. },
  25137. "contactname": {
  25138. "description": "联系人",
  25139. "type": "string"
  25140. },
  25141. "countryid": {
  25142. "description": "国家",
  25143. "type": "integer"
  25144. },
  25145. "countryname": {
  25146. "description": "国家名称",
  25147. "type": "string"
  25148. },
  25149. "createtime": {
  25150. "description": "创建时间",
  25151. "type": "string"
  25152. },
  25153. "customername": {
  25154. "description": "客户名称",
  25155. "type": "string"
  25156. },
  25157. "districtid": {
  25158. "description": "区域",
  25159. "type": "integer"
  25160. },
  25161. "districtname": {
  25162. "description": "地区名称",
  25163. "type": "string"
  25164. },
  25165. "email": {
  25166. "description": "邮件",
  25167. "type": "string"
  25168. },
  25169. "legalpersonname": {
  25170. "description": "法人姓名(企业)",
  25171. "type": "string"
  25172. },
  25173. "logincode": {
  25174. "description": "登录账号(代码)",
  25175. "type": "string"
  25176. },
  25177. "memberuserid": {
  25178. "description": "所属机构ID(所属会员)",
  25179. "type": "integer"
  25180. },
  25181. "memberusername": {
  25182. "description": "所属会员名称",
  25183. "type": "string"
  25184. },
  25185. "mobile": {
  25186. "description": "手机号码",
  25187. "type": "string"
  25188. },
  25189. "modifytime": {
  25190. "description": "修改时间",
  25191. "type": "string"
  25192. },
  25193. "nickname": {
  25194. "description": "昵称",
  25195. "type": "string"
  25196. },
  25197. "parentuserid": {
  25198. "description": "上级机构(所属机构)",
  25199. "type": "integer"
  25200. },
  25201. "parentusername": {
  25202. "description": "所属机构名称",
  25203. "type": "string"
  25204. },
  25205. "provinceid": {
  25206. "description": "省",
  25207. "type": "integer"
  25208. },
  25209. "provincename": {
  25210. "description": "省名称",
  25211. "type": "string"
  25212. },
  25213. "proxystatementurl": {
  25214. "description": "授权委托书",
  25215. "type": "string"
  25216. },
  25217. "remark": {
  25218. "description": "备注",
  25219. "type": "string"
  25220. },
  25221. "status": {
  25222. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25223. "type": "integer"
  25224. },
  25225. "statusdesc": {
  25226. "description": "账户状态中文描述",
  25227. "type": "string"
  25228. },
  25229. "taxpayernum": {
  25230. "description": "纳税人识别号",
  25231. "type": "string"
  25232. },
  25233. "telphone": {
  25234. "description": "联系电话",
  25235. "type": "string"
  25236. },
  25237. "userid": {
  25238. "description": "用户ID",
  25239. "type": "integer"
  25240. },
  25241. "userinfotype": {
  25242. "description": "客户类型 1-个人 2-企业",
  25243. "type": "integer"
  25244. },
  25245. "username": {
  25246. "description": "用户名称",
  25247. "type": "string"
  25248. }
  25249. }
  25250. },
  25251. "models.QhjCustomerSignLog": {
  25252. "type": "object",
  25253. "properties": {
  25254. "agreementcontent": {
  25255. "description": "协议内容",
  25256. "type": "string"
  25257. },
  25258. "agreementid": {
  25259. "description": "协议ID",
  25260. "type": "integer"
  25261. },
  25262. "agreementname": {
  25263. "description": "协议名称",
  25264. "type": "string"
  25265. },
  25266. "agreementno": {
  25267. "description": "协议编号",
  25268. "type": "string"
  25269. },
  25270. "agreementtype": {
  25271. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25272. "type": "integer"
  25273. },
  25274. "agreementversion": {
  25275. "description": "协议版本号",
  25276. "type": "integer"
  25277. },
  25278. "createtime": {
  25279. "description": "创建时间",
  25280. "type": "string"
  25281. },
  25282. "goodscode": {
  25283. "description": "商品代码",
  25284. "type": "string"
  25285. },
  25286. "goodsid": {
  25287. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25288. "type": "integer"
  25289. },
  25290. "goodsname": {
  25291. "description": "商品名称",
  25292. "type": "string"
  25293. },
  25294. "logid": {
  25295. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25296. "type": "integer"
  25297. },
  25298. "nodetype": {
  25299. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25300. "type": "integer"
  25301. },
  25302. "signadressurl": {
  25303. "description": "签约文件地址",
  25304. "type": "string"
  25305. },
  25306. "signtimestamp": {
  25307. "description": "签约状态时间戳",
  25308. "type": "string"
  25309. },
  25310. "userid": {
  25311. "description": "客户ID",
  25312. "type": "integer"
  25313. },
  25314. "username": {
  25315. "description": "客户名称",
  25316. "type": "string"
  25317. }
  25318. }
  25319. },
  25320. "models.QhjCustomerSignStatus": {
  25321. "type": "object",
  25322. "properties": {
  25323. "createtime": {
  25324. "description": "创建时间",
  25325. "type": "string"
  25326. },
  25327. "goodscode": {
  25328. "description": "商品代码",
  25329. "type": "string"
  25330. },
  25331. "goodsid": {
  25332. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25333. "type": "integer"
  25334. },
  25335. "goodsname": {
  25336. "description": "商品名称",
  25337. "type": "string"
  25338. },
  25339. "nodetype": {
  25340. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25341. "type": "integer"
  25342. },
  25343. "signtimestamp": {
  25344. "description": "签约状态时间戳",
  25345. "type": "string"
  25346. },
  25347. "tradedate": {
  25348. "description": "创建交易日(yyyyMMdd)",
  25349. "type": "string"
  25350. },
  25351. "updatetime": {
  25352. "description": "更新时间",
  25353. "type": "string"
  25354. },
  25355. "userid": {
  25356. "description": "客户ID",
  25357. "type": "integer"
  25358. },
  25359. "username": {
  25360. "description": "客户名称",
  25361. "type": "string"
  25362. }
  25363. }
  25364. },
  25365. "models.QhjMgrAccountOutInApply": {
  25366. "type": "object",
  25367. "properties": {
  25368. "accountcode": {
  25369. "description": "资金账号",
  25370. "type": "string"
  25371. },
  25372. "accountname": {
  25373. "description": "用户名称(名称)",
  25374. "type": "string"
  25375. },
  25376. "accountpwd": {
  25377. "description": "资金密码",
  25378. "type": "string"
  25379. },
  25380. "accountticket": {
  25381. "description": "最新账户服务流水号",
  25382. "type": "string"
  25383. },
  25384. "amount": {
  25385. "description": "金额",
  25386. "type": "number"
  25387. },
  25388. "applyremark": {
  25389. "description": "申请备注",
  25390. "type": "string"
  25391. },
  25392. "applystatus": {
  25393. "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: 复审通过,账户冻结金额检查中;",
  25394. "type": "integer"
  25395. },
  25396. "auditid": {
  25397. "description": "审核人",
  25398. "type": "integer"
  25399. },
  25400. "audittime": {
  25401. "description": "审核时间",
  25402. "type": "string"
  25403. },
  25404. "bank_apply_ticket": {
  25405. "description": "银行申请流水",
  25406. "type": "string"
  25407. },
  25408. "bankaccountname": {
  25409. "description": "银行账户名",
  25410. "type": "string"
  25411. },
  25412. "bankaccountno": {
  25413. "description": "银行卡号",
  25414. "type": "string"
  25415. },
  25416. "bankid": {
  25417. "description": "银行编号",
  25418. "type": "string"
  25419. },
  25420. "bankname": {
  25421. "description": "银行名称",
  25422. "type": "string"
  25423. },
  25424. "bankticket": {
  25425. "description": "银行流水",
  25426. "type": "string"
  25427. },
  25428. "branchbankid": {
  25429. "description": "银行支行号",
  25430. "type": "string"
  25431. },
  25432. "branchbankname": {
  25433. "description": "银行支行名称",
  25434. "type": "string"
  25435. },
  25436. "capamountout": {
  25437. "description": "出金(劣后本金) - 外部子账户",
  25438. "type": "number"
  25439. },
  25440. "certificatephotourl": {
  25441. "description": "凭证地址",
  25442. "type": "string"
  25443. },
  25444. "charge": {
  25445. "description": "手续费",
  25446. "type": "number"
  25447. },
  25448. "checkerrorflag": {
  25449. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25450. "type": "integer"
  25451. },
  25452. "currency": {
  25453. "description": "币种",
  25454. "type": "string"
  25455. },
  25456. "cusbankid": {
  25457. "description": "托管银行编号",
  25458. "type": "string"
  25459. },
  25460. "exchticket": {
  25461. "description": "银行服务流水号",
  25462. "type": "string"
  25463. },
  25464. "executetype": {
  25465. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25466. "type": "integer"
  25467. },
  25468. "extendinfo": {
  25469. "description": "扩展信息",
  25470. "type": "string"
  25471. },
  25472. "extoperateid": {
  25473. "description": "交易服务流水号",
  25474. "type": "integer"
  25475. },
  25476. "infamount": {
  25477. "description": "劣后金额(自有)",
  25478. "type": "number"
  25479. },
  25480. "logincode": {
  25481. "description": "登录账号(账号)",
  25482. "type": "string"
  25483. },
  25484. "netaddr": {
  25485. "description": "调转网址",
  25486. "type": "string"
  25487. },
  25488. "priamount": {
  25489. "description": "优先金额(授信)",
  25490. "type": "number"
  25491. },
  25492. "reauditid": {
  25493. "description": "复审人",
  25494. "type": "integer"
  25495. },
  25496. "reauditremark": {
  25497. "description": "复审备注",
  25498. "type": "string"
  25499. },
  25500. "reaudittime": {
  25501. "description": "复审时间",
  25502. "type": "string"
  25503. },
  25504. "relatedorderid": {
  25505. "description": "三方关联ID",
  25506. "type": "string"
  25507. },
  25508. "remark": {
  25509. "description": "备注",
  25510. "type": "string"
  25511. },
  25512. "remark2": {
  25513. "description": "备注(失败原因)",
  25514. "type": "string"
  25515. },
  25516. "soucreamount": {
  25517. "description": "原始出入金金额",
  25518. "type": "number"
  25519. },
  25520. "soucrecurrencyid": {
  25521. "description": "原始出入金币种",
  25522. "type": "integer"
  25523. },
  25524. "tradedate": {
  25525. "description": "交易日(yyyyMMdd)",
  25526. "type": "string"
  25527. },
  25528. "updatetime": {
  25529. "description": "更新时间(申请时间)",
  25530. "type": "string"
  25531. },
  25532. "userid": {
  25533. "description": "用户id",
  25534. "type": "integer"
  25535. },
  25536. "userinfotype": {
  25537. "description": "账户类型 1-个人 2-企业",
  25538. "type": "integer"
  25539. }
  25540. }
  25541. },
  25542. "models.QhjMgrBrokerApply": {
  25543. "type": "object",
  25544. "properties": {
  25545. "applicantid": {
  25546. "description": "申请人",
  25547. "type": "integer"
  25548. },
  25549. "applysrc": {
  25550. "description": "申请来源 - 1:管理端 2:终端",
  25551. "type": "integer"
  25552. },
  25553. "applystatus": {
  25554. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25555. "type": "integer"
  25556. },
  25557. "applytime": {
  25558. "description": "申请时间",
  25559. "type": "string"
  25560. },
  25561. "auditorid": {
  25562. "description": "审核人",
  25563. "type": "integer"
  25564. },
  25565. "auditremark": {
  25566. "description": "审核备注",
  25567. "type": "string"
  25568. },
  25569. "auditsrc": {
  25570. "description": "审核来源 - 1:管理端 2:终端",
  25571. "type": "integer"
  25572. },
  25573. "audittime": {
  25574. "description": "审核时间",
  25575. "type": "string"
  25576. },
  25577. "audittradedate": {
  25578. "description": "审核交易日(yyyyMMdd)",
  25579. "type": "string"
  25580. },
  25581. "brokerapplyid": {
  25582. "description": "申请ID(SEQ_BROKERAPPLY)",
  25583. "type": "integer"
  25584. },
  25585. "cardbackphotourl": {
  25586. "description": "证件背面图片地址",
  25587. "type": "string"
  25588. },
  25589. "cardfrontphotourl": {
  25590. "description": "证件正面图片地址",
  25591. "type": "string"
  25592. },
  25593. "cardnum": {
  25594. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25595. "type": "string"
  25596. },
  25597. "customername": {
  25598. "description": "姓名",
  25599. "type": "string"
  25600. },
  25601. "filterstatus": {
  25602. "description": "筛选条件",
  25603. "type": "string"
  25604. },
  25605. "logincode": {
  25606. "description": "登录代码",
  25607. "type": "string"
  25608. },
  25609. "mobile": {
  25610. "description": "手机号码",
  25611. "type": "string"
  25612. },
  25613. "parentuserid": {
  25614. "description": "所属机构id",
  25615. "type": "integer"
  25616. },
  25617. "parentusername": {
  25618. "description": "所属机构名称",
  25619. "type": "string"
  25620. },
  25621. "refereeuserid": {
  25622. "description": "推荐人id(经纪人)",
  25623. "type": "integer"
  25624. },
  25625. "refernum": {
  25626. "description": "推荐码",
  25627. "type": "string"
  25628. },
  25629. "remark": {
  25630. "description": "备注",
  25631. "type": "string"
  25632. },
  25633. "subarealevelpath": {
  25634. "description": "层级路径",
  25635. "type": "string"
  25636. },
  25637. "tradedate": {
  25638. "description": "交易日(yyyyMMdd)",
  25639. "type": "string"
  25640. },
  25641. "userid": {
  25642. "description": "申请人用户ID",
  25643. "type": "integer"
  25644. },
  25645. "userinfotype": {
  25646. "description": "用户类型 1-个人 2-企业",
  25647. "type": "integer"
  25648. },
  25649. "username": {
  25650. "description": "用户名称",
  25651. "type": "string"
  25652. }
  25653. }
  25654. },
  25655. "models.QhjMgrBrokerRewardReport": {
  25656. "type": "object",
  25657. "properties": {
  25658. "createtime": {
  25659. "description": "创建时间(注册时间)",
  25660. "type": "string"
  25661. },
  25662. "cycletime": {
  25663. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25664. "type": "string"
  25665. },
  25666. "cycletype": {
  25667. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25668. "type": "integer"
  25669. },
  25670. "directtotalnum": {
  25671. "description": "直推总人数【期末】",
  25672. "type": "integer"
  25673. },
  25674. "indirecttotalnum": {
  25675. "description": "间推总人数【期末】",
  25676. "type": "integer"
  25677. },
  25678. "mobile": {
  25679. "description": "电话号码",
  25680. "type": "string"
  25681. },
  25682. "refereeuserid": {
  25683. "description": "推荐人id(经纪人id)",
  25684. "type": "integer"
  25685. },
  25686. "refereeusername": {
  25687. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25688. "type": "string"
  25689. },
  25690. "refernum": {
  25691. "description": "推荐码",
  25692. "type": "string"
  25693. },
  25694. "subarealevelpath": {
  25695. "description": "用户层级路径",
  25696. "type": "string"
  25697. },
  25698. "todayrewardamount": {
  25699. "description": "奖励总金额【汇总】",
  25700. "type": "number"
  25701. },
  25702. "updatetime": {
  25703. "description": "更新时间",
  25704. "type": "string"
  25705. },
  25706. "userid": {
  25707. "description": "经纪人用户ID",
  25708. "type": "integer"
  25709. },
  25710. "userinfotype": {
  25711. "description": "用户类型 1-个人 2-企业",
  25712. "type": "integer"
  25713. },
  25714. "username": {
  25715. "description": "用户名称",
  25716. "type": "string"
  25717. }
  25718. }
  25719. },
  25720. "models.QhjMgrContract": {
  25721. "type": "object",
  25722. "properties": {
  25723. "contractconfirmtime": {
  25724. "description": "合同确认时间(时间)",
  25725. "type": "string"
  25726. },
  25727. "currisklevel": {
  25728. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25729. "type": "integer"
  25730. },
  25731. "decimalplace": {
  25732. "description": "商品报价小数位",
  25733. "type": "integer"
  25734. },
  25735. "enumdicname": {
  25736. "description": "单位名称",
  25737. "type": "string"
  25738. },
  25739. "goodscode": {
  25740. "description": "商品代码",
  25741. "type": "string"
  25742. },
  25743. "goodsid": {
  25744. "description": "商品ID [5:融资单]",
  25745. "type": "integer"
  25746. },
  25747. "goodsname": {
  25748. "description": "商品名称",
  25749. "type": "string"
  25750. },
  25751. "goodunitid": {
  25752. "description": "商品单位id",
  25753. "type": "integer"
  25754. },
  25755. "initmargin": {
  25756. "description": "初始保证金(首付款)",
  25757. "type": "number"
  25758. },
  25759. "lenderamount": {
  25760. "description": "贷款金额(总额|订单总额)",
  25761. "type": "number"
  25762. },
  25763. "logincode": {
  25764. "description": "账号(登录代码)",
  25765. "type": "string"
  25766. },
  25767. "marginratio": {
  25768. "description": "保证金比率(首付比例)",
  25769. "type": "number"
  25770. },
  25771. "mobile": {
  25772. "description": "电话号码(用户资料里的电话)",
  25773. "type": "string"
  25774. },
  25775. "payamount": {
  25776. "description": "已付(已付货款)",
  25777. "type": "number"
  25778. },
  25779. "reckonrecovermargin": {
  25780. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25781. "type": "number"
  25782. },
  25783. "recoveredmargin": {
  25784. "description": "已追缴保证金",
  25785. "type": "number"
  25786. },
  25787. "remainamount": {
  25788. "description": "合同剩余金额(融资额)",
  25789. "type": "number"
  25790. },
  25791. "scfcontractid": {
  25792. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25793. "type": "string"
  25794. },
  25795. "scfcontractstatus": {
  25796. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25797. "type": "integer"
  25798. },
  25799. "scfcontracttype": {
  25800. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25801. "type": "integer"
  25802. },
  25803. "totalinterest": {
  25804. "description": "已计总利息(利息)",
  25805. "type": "number"
  25806. },
  25807. "tradedate": {
  25808. "description": "交易日",
  25809. "type": "string"
  25810. },
  25811. "tradeprice": {
  25812. "description": "成交价格(成本价格)",
  25813. "type": "number"
  25814. },
  25815. "userid": {
  25816. "description": "用户ID",
  25817. "type": "integer"
  25818. },
  25819. "userinfotype": {
  25820. "description": "用户类型 1-个人 2-企业",
  25821. "type": "integer"
  25822. },
  25823. "username": {
  25824. "description": "用户名称",
  25825. "type": "string"
  25826. },
  25827. "wrqty": {
  25828. "description": "仓单数量(数量)",
  25829. "type": "number"
  25830. }
  25831. }
  25832. },
  25833. "models.QhjMgrCustomer": {
  25834. "type": "object",
  25835. "properties": {
  25836. "address": {
  25837. "description": "通讯地址",
  25838. "type": "string"
  25839. },
  25840. "attachment1": {
  25841. "description": "附件1",
  25842. "type": "string"
  25843. },
  25844. "audittime": {
  25845. "description": "审核时间",
  25846. "type": "string"
  25847. },
  25848. "cardbackphotourl": {
  25849. "description": "证件反面图片地址",
  25850. "type": "string"
  25851. },
  25852. "cardfrontphotourl": {
  25853. "description": "证件正面图片地址",
  25854. "type": "string"
  25855. },
  25856. "cardnum": {
  25857. "description": "证件号码",
  25858. "type": "string"
  25859. },
  25860. "cardtype": {
  25861. "description": "证件类型",
  25862. "type": "integer"
  25863. },
  25864. "cardtypename": {
  25865. "description": "证件类型名称",
  25866. "type": "string"
  25867. },
  25868. "cityid": {
  25869. "description": "市",
  25870. "type": "integer"
  25871. },
  25872. "cityname": {
  25873. "description": "城市名称",
  25874. "type": "string"
  25875. },
  25876. "contactname": {
  25877. "description": "联系人",
  25878. "type": "string"
  25879. },
  25880. "countryid": {
  25881. "description": "国家",
  25882. "type": "integer"
  25883. },
  25884. "countryname": {
  25885. "description": "国家名称",
  25886. "type": "string"
  25887. },
  25888. "createtime": {
  25889. "description": "创建时间",
  25890. "type": "string"
  25891. },
  25892. "customername": {
  25893. "description": "客户名称",
  25894. "type": "string"
  25895. },
  25896. "districtid": {
  25897. "description": "区域",
  25898. "type": "integer"
  25899. },
  25900. "districtname": {
  25901. "description": "地区名称",
  25902. "type": "string"
  25903. },
  25904. "email": {
  25905. "description": "邮件",
  25906. "type": "string"
  25907. },
  25908. "legalpersonname": {
  25909. "description": "法人姓名(企业)",
  25910. "type": "string"
  25911. },
  25912. "logincode": {
  25913. "description": "登录账号(代码)",
  25914. "type": "string"
  25915. },
  25916. "memberuserid": {
  25917. "description": "所属机构ID(所属会员)",
  25918. "type": "integer"
  25919. },
  25920. "memberusername": {
  25921. "description": "所属会员名称",
  25922. "type": "string"
  25923. },
  25924. "mobile": {
  25925. "description": "手机号码",
  25926. "type": "string"
  25927. },
  25928. "modifytime": {
  25929. "description": "修改时间",
  25930. "type": "string"
  25931. },
  25932. "nickname": {
  25933. "description": "昵称",
  25934. "type": "string"
  25935. },
  25936. "parentuserid": {
  25937. "description": "上级机构(所属机构)",
  25938. "type": "integer"
  25939. },
  25940. "parentusername": {
  25941. "description": "所属机构名称",
  25942. "type": "string"
  25943. },
  25944. "provinceid": {
  25945. "description": "省",
  25946. "type": "integer"
  25947. },
  25948. "provincename": {
  25949. "description": "省名称",
  25950. "type": "string"
  25951. },
  25952. "proxystatementurl": {
  25953. "description": "授权委托书",
  25954. "type": "string"
  25955. },
  25956. "querytype": {
  25957. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  25958. "type": "integer"
  25959. },
  25960. "remark": {
  25961. "description": "备注",
  25962. "type": "string"
  25963. },
  25964. "status": {
  25965. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25966. "type": "integer"
  25967. },
  25968. "statusdesc": {
  25969. "description": "账户状态中文描述",
  25970. "type": "string"
  25971. },
  25972. "taxpayernum": {
  25973. "description": "纳税人识别号",
  25974. "type": "string"
  25975. },
  25976. "telphone": {
  25977. "description": "联系电话",
  25978. "type": "string"
  25979. },
  25980. "userid": {
  25981. "description": "用户ID",
  25982. "type": "integer"
  25983. },
  25984. "userinfotype": {
  25985. "description": "客户类型 1-个人 2-企业",
  25986. "type": "integer"
  25987. },
  25988. "username": {
  25989. "description": "用户名称",
  25990. "type": "string"
  25991. }
  25992. }
  25993. },
  25994. "models.QhjMgrPickGoods": {
  25995. "type": "object",
  25996. "properties": {
  25997. "enumdicname": {
  25998. "description": "单位名称(提货商品)",
  25999. "type": "string"
  26000. },
  26001. "goodsid": {
  26002. "description": "商品id",
  26003. "type": "integer"
  26004. },
  26005. "imageaddress": {
  26006. "description": "图片",
  26007. "type": "string"
  26008. },
  26009. "modifierid": {
  26010. "description": "修改人",
  26011. "type": "integer"
  26012. },
  26013. "modifiername": {
  26014. "description": "修改人名称",
  26015. "type": "string"
  26016. },
  26017. "modifysrc": {
  26018. "description": "修改来源 - 1:管理端 2:终端",
  26019. "type": "integer"
  26020. },
  26021. "pickupgoodsagreeunit": {
  26022. "description": "合约乘数",
  26023. "type": "number"
  26024. },
  26025. "pickupgoodsdesc": {
  26026. "description": "描述",
  26027. "type": "string"
  26028. },
  26029. "pickupgoodsid": {
  26030. "description": "提货商品ID",
  26031. "type": "string"
  26032. },
  26033. "pickupgoodsname": {
  26034. "description": "提货商品名称",
  26035. "type": "string"
  26036. },
  26037. "pickupgoodsstatus": {
  26038. "description": "状态 - 1:正常 2:停用 3:注销",
  26039. "type": "integer"
  26040. },
  26041. "pickupgoodsunitid": {
  26042. "description": "单位ID",
  26043. "type": "integer"
  26044. },
  26045. "pickupratio": {
  26046. "description": "提货系数",
  26047. "type": "number"
  26048. },
  26049. "preparedays": {
  26050. "description": "备货期(天)",
  26051. "type": "integer"
  26052. },
  26053. "remark": {
  26054. "description": "备注",
  26055. "type": "string"
  26056. },
  26057. "updatetime": {
  26058. "description": "更新时间",
  26059. "type": "string"
  26060. }
  26061. }
  26062. },
  26063. "models.QhjMgrPositionRsp": {
  26064. "type": "object",
  26065. "properties": {
  26066. "accountid": {
  26067. "description": "账号Id",
  26068. "type": "integer"
  26069. },
  26070. "accountname": {
  26071. "description": "用户名称",
  26072. "type": "string"
  26073. },
  26074. "agreeunit": {
  26075. "description": "合约乘数",
  26076. "type": "number"
  26077. },
  26078. "averageprice": {
  26079. "description": "均价",
  26080. "type": "number"
  26081. },
  26082. "avialqty": {
  26083. "description": "可用数量",
  26084. "type": "number"
  26085. },
  26086. "decimalplace": {
  26087. "description": "报价小数位",
  26088. "type": "integer"
  26089. },
  26090. "enumdicname": {
  26091. "description": "单位名称(商品)",
  26092. "type": "string"
  26093. },
  26094. "frozenqty": {
  26095. "description": "冻结数量",
  26096. "type": "number"
  26097. },
  26098. "goodscode": {
  26099. "description": "商品代码(内部)",
  26100. "type": "string"
  26101. },
  26102. "goodsid": {
  26103. "description": "商品Id",
  26104. "type": "integer"
  26105. },
  26106. "goodsname": {
  26107. "description": "商品名称",
  26108. "type": "string"
  26109. },
  26110. "goodunitid": {
  26111. "description": "报价单位ID",
  26112. "type": "integer"
  26113. },
  26114. "holderamount": {
  26115. "description": "金额",
  26116. "type": "number"
  26117. },
  26118. "holderqty": {
  26119. "description": "持有数量",
  26120. "type": "number"
  26121. },
  26122. "holdertype": {
  26123. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26124. "type": "integer"
  26125. },
  26126. "logincode": {
  26127. "description": "登录代码(账户)",
  26128. "type": "string"
  26129. },
  26130. "marketid": {
  26131. "description": "市场id",
  26132. "type": "integer"
  26133. },
  26134. "qtydecimalplace": {
  26135. "description": "成交量小数位",
  26136. "type": "integer"
  26137. },
  26138. "trademode": {
  26139. "description": "交易模式",
  26140. "type": "integer"
  26141. },
  26142. "userid": {
  26143. "description": "用户id",
  26144. "type": "integer"
  26145. },
  26146. "userinfotype": {
  26147. "description": "账户类型 1-个人 2-企业",
  26148. "type": "integer"
  26149. }
  26150. }
  26151. },
  26152. "models.QhjMgrSubArea": {
  26153. "type": "object",
  26154. "properties": {
  26155. "accountname": {
  26156. "description": "账户名称(机构名称)",
  26157. "type": "string"
  26158. },
  26159. "memberuserid": {
  26160. "description": "所属会员ID",
  26161. "type": "integer"
  26162. },
  26163. "parenttopuser": {
  26164. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26165. "type": "string"
  26166. },
  26167. "parentuserid": {
  26168. "description": "所属机构ID",
  26169. "type": "integer"
  26170. },
  26171. "rootuserid": {
  26172. "description": "根用户ID",
  26173. "type": "string"
  26174. },
  26175. "subaccountlevel": {
  26176. "description": "子账户层数",
  26177. "type": "integer"
  26178. },
  26179. "subarealevelpath": {
  26180. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26181. "type": "string"
  26182. },
  26183. "userid": {
  26184. "description": "用户ID",
  26185. "type": "integer"
  26186. },
  26187. "usertype": {
  26188. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26189. "type": "integer"
  26190. }
  26191. }
  26192. },
  26193. "models.QhjMgrTradeDetailRsp": {
  26194. "type": "object",
  26195. "properties": {
  26196. "accountid": {
  26197. "description": "资金账号",
  26198. "type": "integer"
  26199. },
  26200. "accountname": {
  26201. "description": "用户名称",
  26202. "type": "string"
  26203. },
  26204. "agreeunit": {
  26205. "description": "合约乘数",
  26206. "type": "number"
  26207. },
  26208. "buyorsell": {
  26209. "description": "成交类型(方向) 0:买 1:卖",
  26210. "type": "integer"
  26211. },
  26212. "decimalplace": {
  26213. "description": "报价小数位",
  26214. "type": "integer"
  26215. },
  26216. "enumdicname": {
  26217. "description": "单位名称(商品)",
  26218. "type": "string"
  26219. },
  26220. "goodscode": {
  26221. "description": "商品代码(内部)",
  26222. "type": "string"
  26223. },
  26224. "goodsid": {
  26225. "description": "商品id",
  26226. "type": "integer"
  26227. },
  26228. "goodsname": {
  26229. "description": "商品名称",
  26230. "type": "string"
  26231. },
  26232. "goodunitid": {
  26233. "description": "报价单位ID",
  26234. "type": "integer"
  26235. },
  26236. "logincode": {
  26237. "description": "登录代码(账户)",
  26238. "type": "string"
  26239. },
  26240. "marketid": {
  26241. "description": "市场id",
  26242. "type": "integer"
  26243. },
  26244. "orderid": {
  26245. "description": "关联委托单号",
  26246. "type": "string"
  26247. },
  26248. "qtydecimalplace": {
  26249. "description": "成交量小数位",
  26250. "type": "integer"
  26251. },
  26252. "tradeamount": {
  26253. "description": "金额",
  26254. "type": "number"
  26255. },
  26256. "tradedate": {
  26257. "description": "交易日",
  26258. "type": "string"
  26259. },
  26260. "tradeid": {
  26261. "description": "成交单号",
  26262. "type": "string"
  26263. },
  26264. "trademode": {
  26265. "description": "交易模式",
  26266. "type": "integer"
  26267. },
  26268. "tradeprice": {
  26269. "description": "价格",
  26270. "type": "number"
  26271. },
  26272. "tradeqty": {
  26273. "description": "数量",
  26274. "type": "number"
  26275. },
  26276. "tradetime": {
  26277. "description": "成交时间",
  26278. "type": "string"
  26279. },
  26280. "userid": {
  26281. "description": "用户id",
  26282. "type": "integer"
  26283. },
  26284. "userinfotype": {
  26285. "description": "账户类型 1-个人 2-企业",
  26286. "type": "integer"
  26287. }
  26288. }
  26289. },
  26290. "models.QhjMgrTradeOrderDetailRsp": {
  26291. "type": "object",
  26292. "properties": {
  26293. "accountid": {
  26294. "description": "资金账号",
  26295. "type": "integer"
  26296. },
  26297. "accountname": {
  26298. "description": "用户名称",
  26299. "type": "string"
  26300. },
  26301. "agreeunit": {
  26302. "description": "合约乘数",
  26303. "type": "number"
  26304. },
  26305. "amount": {
  26306. "description": "金额",
  26307. "type": "number"
  26308. },
  26309. "decimalplace": {
  26310. "description": "报价小数位",
  26311. "type": "integer"
  26312. },
  26313. "enumdicname": {
  26314. "description": "单位名称(商品)",
  26315. "type": "string"
  26316. },
  26317. "goodscode": {
  26318. "description": "商品代码(内部)",
  26319. "type": "string"
  26320. },
  26321. "goodsid": {
  26322. "description": "商品id",
  26323. "type": "integer"
  26324. },
  26325. "goodsname": {
  26326. "description": "商品名称",
  26327. "type": "string"
  26328. },
  26329. "goodunitid": {
  26330. "description": "报价单位ID",
  26331. "type": "integer"
  26332. },
  26333. "logincode": {
  26334. "description": "登录代码(账户)",
  26335. "type": "string"
  26336. },
  26337. "marketid": {
  26338. "description": "市场id",
  26339. "type": "integer"
  26340. },
  26341. "orderid": {
  26342. "description": "关联委托单号",
  26343. "type": "string"
  26344. },
  26345. "orderprice": {
  26346. "description": "价格",
  26347. "type": "number"
  26348. },
  26349. "orderqty": {
  26350. "description": "数量",
  26351. "type": "number"
  26352. },
  26353. "orderstatus": {
  26354. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26355. "type": "integer"
  26356. },
  26357. "ordertime": {
  26358. "description": "委托时间",
  26359. "type": "string"
  26360. },
  26361. "qtydecimalplace": {
  26362. "description": "成交量小数位",
  26363. "type": "integer"
  26364. },
  26365. "tradedate": {
  26366. "description": "交易日",
  26367. "type": "string"
  26368. },
  26369. "trademode": {
  26370. "description": "交易模式",
  26371. "type": "integer"
  26372. },
  26373. "userid": {
  26374. "description": "用户id",
  26375. "type": "integer"
  26376. },
  26377. "userinfotype": {
  26378. "description": "账户类型 1-个人 2-企业",
  26379. "type": "integer"
  26380. }
  26381. }
  26382. },
  26383. "models.QhjMgrTradePayOrder": {
  26384. "type": "object",
  26385. "properties": {
  26386. "accountname": {
  26387. "description": "用户名称",
  26388. "type": "string"
  26389. },
  26390. "advanceratio": {
  26391. "description": "首付比率",
  26392. "type": "number"
  26393. },
  26394. "agreeunit": {
  26395. "description": "合约乘数",
  26396. "type": "number"
  26397. },
  26398. "buyaccountid": {
  26399. "description": "买方账号ID[报价币种]",
  26400. "type": "integer"
  26401. },
  26402. "buyorderid": {
  26403. "description": "买方委托单号(关联单号)",
  26404. "type": "string"
  26405. },
  26406. "createtime": {
  26407. "description": "创建时间",
  26408. "type": "string"
  26409. },
  26410. "decimalplace": {
  26411. "description": "报价小数位",
  26412. "type": "integer"
  26413. },
  26414. "enumdicname": {
  26415. "description": "单位名称(商品)",
  26416. "type": "string"
  26417. },
  26418. "goodscode": {
  26419. "description": "商品代码(内部)",
  26420. "type": "string"
  26421. },
  26422. "goodsid": {
  26423. "description": "商品ID",
  26424. "type": "integer"
  26425. },
  26426. "goodsname": {
  26427. "description": "商品名称",
  26428. "type": "string"
  26429. },
  26430. "goodunitid": {
  26431. "description": "报价单位ID",
  26432. "type": "integer"
  26433. },
  26434. "logincode": {
  26435. "description": "登录代码(账户)",
  26436. "type": "string"
  26437. },
  26438. "marketid": {
  26439. "description": "市场id",
  26440. "type": "integer"
  26441. },
  26442. "offamount": {
  26443. "description": "优惠金额",
  26444. "type": "number"
  26445. },
  26446. "operatetype": {
  26447. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26448. "type": "integer"
  26449. },
  26450. "payamount": {
  26451. "description": "支付金额(金额)",
  26452. "type": "number"
  26453. },
  26454. "payflag": {
  26455. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26456. "type": "integer"
  26457. },
  26458. "paylimitedtime": {
  26459. "description": "支付期限",
  26460. "type": "string"
  26461. },
  26462. "paytime": {
  26463. "description": "付款时间",
  26464. "type": "string"
  26465. },
  26466. "qtydecimalplace": {
  26467. "description": "成交量小数位",
  26468. "type": "integer"
  26469. },
  26470. "sellaccountid": {
  26471. "description": "卖方账号ID[报价币种]",
  26472. "type": "integer"
  26473. },
  26474. "sellorderid": {
  26475. "description": "卖方委托单号",
  26476. "type": "string"
  26477. },
  26478. "tradeamount": {
  26479. "description": "成交金额(优惠后金额)",
  26480. "type": "number"
  26481. },
  26482. "tradecharge": {
  26483. "description": "成交手续费(买方)",
  26484. "type": "number"
  26485. },
  26486. "tradedate": {
  26487. "description": "交易日(yyyyMMdd)",
  26488. "type": "string"
  26489. },
  26490. "tradeid": {
  26491. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26492. "type": "string"
  26493. },
  26494. "trademode": {
  26495. "description": "交易模式",
  26496. "type": "integer"
  26497. },
  26498. "tradeprice": {
  26499. "description": "成交价格(价格)",
  26500. "type": "number"
  26501. },
  26502. "tradeqty": {
  26503. "description": "成交数量(数量)",
  26504. "type": "number"
  26505. },
  26506. "tradetime": {
  26507. "description": "成交时间",
  26508. "type": "string"
  26509. },
  26510. "userid": {
  26511. "description": "用户id",
  26512. "type": "integer"
  26513. },
  26514. "userinfotype": {
  26515. "description": "账户类型 1-个人 2-企业",
  26516. "type": "integer"
  26517. }
  26518. }
  26519. },
  26520. "models.QhjMyTeamEx": {
  26521. "type": "object",
  26522. "properties": {
  26523. "accountname": {
  26524. "description": "用户名称",
  26525. "type": "string"
  26526. },
  26527. "accountstatus": {
  26528. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26529. "type": "integer"
  26530. },
  26531. "createtime": {
  26532. "description": "创建时间",
  26533. "type": "string"
  26534. },
  26535. "mobile": {
  26536. "description": "手机号码",
  26537. "type": "string"
  26538. },
  26539. "refereeuserid": {
  26540. "description": "推荐人id",
  26541. "type": "integer"
  26542. },
  26543. "refernum": {
  26544. "description": "推荐码",
  26545. "type": "string"
  26546. },
  26547. "subList": {
  26548. "type": "array",
  26549. "items": {
  26550. "$ref": "#/definitions/models.QhjMyTeamEx"
  26551. }
  26552. },
  26553. "userid": {
  26554. "description": "用户id",
  26555. "type": "integer"
  26556. },
  26557. "userinfotype": {
  26558. "description": "用户类型 1-个人 2-企业",
  26559. "type": "integer"
  26560. }
  26561. }
  26562. },
  26563. "models.QhjNodeAgreementConfig": {
  26564. "type": "object",
  26565. "properties": {
  26566. "agreementcontent": {
  26567. "description": "协议内容",
  26568. "type": "string"
  26569. },
  26570. "agreementid": {
  26571. "description": "协议ID",
  26572. "type": "integer"
  26573. },
  26574. "agreementname": {
  26575. "description": "协议名称",
  26576. "type": "string"
  26577. },
  26578. "agreementno": {
  26579. "description": "协议编号",
  26580. "type": "string"
  26581. },
  26582. "agreementtype": {
  26583. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26584. "type": "integer"
  26585. },
  26586. "agreementversion": {
  26587. "description": "协议版本号",
  26588. "type": "integer"
  26589. },
  26590. "configid": {
  26591. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26592. "type": "integer"
  26593. },
  26594. "createtime": {
  26595. "description": "创建时间",
  26596. "type": "string"
  26597. },
  26598. "goodsid": {
  26599. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26600. "type": "integer"
  26601. },
  26602. "nodetype": {
  26603. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26604. "type": "integer"
  26605. }
  26606. }
  26607. },
  26608. "models.QhjParentAreaList": {
  26609. "type": "object",
  26610. "properties": {
  26611. "accountname": {
  26612. "description": "账户名称(机构名称)",
  26613. "type": "string"
  26614. },
  26615. "userid": {
  26616. "description": "用户ID",
  26617. "type": "integer"
  26618. },
  26619. "usertype": {
  26620. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26621. "type": "integer"
  26622. }
  26623. }
  26624. },
  26625. "models.QhjPayOrder": {
  26626. "type": "object",
  26627. "properties": {
  26628. "advanceratio": {
  26629. "description": "首付比率",
  26630. "type": "number"
  26631. },
  26632. "buyaccountid": {
  26633. "description": "买方账号ID[报价币种]",
  26634. "type": "integer"
  26635. },
  26636. "buyorderid": {
  26637. "description": "买方委托单号",
  26638. "type": "string"
  26639. },
  26640. "createtime": {
  26641. "description": "创建时间",
  26642. "type": "string"
  26643. },
  26644. "decimalplace": {
  26645. "description": "商品报价小数位",
  26646. "type": "integer"
  26647. },
  26648. "enumdicname": {
  26649. "description": "单位名称",
  26650. "type": "string"
  26651. },
  26652. "goodscode": {
  26653. "description": "商品代码",
  26654. "type": "string"
  26655. },
  26656. "goodsid": {
  26657. "description": "商品ID",
  26658. "type": "integer"
  26659. },
  26660. "goodsname": {
  26661. "description": "商品名称",
  26662. "type": "string"
  26663. },
  26664. "goodunitid": {
  26665. "description": "商品单位id",
  26666. "type": "integer"
  26667. },
  26668. "marketid": {
  26669. "description": "市场ID",
  26670. "type": "integer"
  26671. },
  26672. "offamount": {
  26673. "description": "优惠金额",
  26674. "type": "number"
  26675. },
  26676. "operatetype": {
  26677. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26678. "type": "integer"
  26679. },
  26680. "payamount": {
  26681. "description": "支付金额",
  26682. "type": "number"
  26683. },
  26684. "payflag": {
  26685. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26686. "type": "integer"
  26687. },
  26688. "paylimitedtime": {
  26689. "description": "支付期限",
  26690. "type": "string"
  26691. },
  26692. "paytime": {
  26693. "description": "付款时间",
  26694. "type": "string"
  26695. },
  26696. "qtydecimalplace": {
  26697. "description": "成交量小数位",
  26698. "type": "integer"
  26699. },
  26700. "sellaccountid": {
  26701. "description": "卖方账号ID[报价币种]",
  26702. "type": "integer"
  26703. },
  26704. "sellorderid": {
  26705. "description": "卖方委托单号",
  26706. "type": "string"
  26707. },
  26708. "tradeamount": {
  26709. "description": "成交金额(优惠后金额)",
  26710. "type": "number"
  26711. },
  26712. "tradecharge": {
  26713. "description": "成交手续费(买方)",
  26714. "type": "number"
  26715. },
  26716. "tradedate": {
  26717. "description": "交易日(yyyyMMdd)",
  26718. "type": "string"
  26719. },
  26720. "tradeid": {
  26721. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26722. "type": "string"
  26723. },
  26724. "tradeprice": {
  26725. "description": "成交价格",
  26726. "type": "number"
  26727. },
  26728. "tradeqty": {
  26729. "description": "成交数量",
  26730. "type": "number"
  26731. }
  26732. }
  26733. },
  26734. "models.QhjPickArea": {
  26735. "type": "object",
  26736. "properties": {
  26737. "address": {
  26738. "description": "详细地址",
  26739. "type": "string"
  26740. },
  26741. "cityid": {
  26742. "description": "市",
  26743. "type": "integer"
  26744. },
  26745. "cityname": {
  26746. "description": "城市名称",
  26747. "type": "string"
  26748. },
  26749. "countryid": {
  26750. "description": "国家",
  26751. "type": "integer"
  26752. },
  26753. "countryname": {
  26754. "description": "国家名称",
  26755. "type": "string"
  26756. },
  26757. "districtid": {
  26758. "description": "地区",
  26759. "type": "integer"
  26760. },
  26761. "districtname": {
  26762. "description": "地区名称",
  26763. "type": "string"
  26764. },
  26765. "fromuserid": {
  26766. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26767. "type": "integer"
  26768. },
  26769. "fromusername": {
  26770. "description": "所属机构名称",
  26771. "type": "string"
  26772. },
  26773. "provinceid": {
  26774. "description": "省",
  26775. "type": "integer"
  26776. },
  26777. "provincename": {
  26778. "description": "省名称",
  26779. "type": "string"
  26780. },
  26781. "suborgtype": {
  26782. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26783. "type": "integer"
  26784. },
  26785. "userid": {
  26786. "description": "机构用户ID 其他做市关系,都设置为 1",
  26787. "type": "integer"
  26788. },
  26789. "username": {
  26790. "description": "机构用户名称(门店门称)",
  26791. "type": "string"
  26792. }
  26793. }
  26794. },
  26795. "models.QhjPickGoods": {
  26796. "type": "object",
  26797. "properties": {
  26798. "enumdicname": {
  26799. "description": "单位名称(提货商品)",
  26800. "type": "string"
  26801. },
  26802. "goodsid": {
  26803. "description": "商品id",
  26804. "type": "integer"
  26805. },
  26806. "imageaddress": {
  26807. "description": "图片",
  26808. "type": "string"
  26809. },
  26810. "modifierid": {
  26811. "description": "修改人",
  26812. "type": "integer"
  26813. },
  26814. "modifiername": {
  26815. "description": "修改人名称",
  26816. "type": "string"
  26817. },
  26818. "modifysrc": {
  26819. "description": "修改来源 - 1:管理端 2:终端",
  26820. "type": "integer"
  26821. },
  26822. "pickupgoodsagreeunit": {
  26823. "description": "合约乘数",
  26824. "type": "number"
  26825. },
  26826. "pickupgoodsdesc": {
  26827. "description": "描述",
  26828. "type": "string"
  26829. },
  26830. "pickupgoodsid": {
  26831. "description": "提货商品ID",
  26832. "type": "string"
  26833. },
  26834. "pickupgoodsname": {
  26835. "description": "提货商品名称",
  26836. "type": "string"
  26837. },
  26838. "pickupgoodsstatus": {
  26839. "description": "状态 - 1:正常 2:停用 3:注销",
  26840. "type": "integer"
  26841. },
  26842. "pickupgoodsunitid": {
  26843. "description": "单位ID",
  26844. "type": "integer"
  26845. },
  26846. "pickupratio": {
  26847. "description": "提货系数",
  26848. "type": "number"
  26849. },
  26850. "preparedays": {
  26851. "description": "备货期(天)",
  26852. "type": "integer"
  26853. },
  26854. "remark": {
  26855. "description": "备注",
  26856. "type": "string"
  26857. },
  26858. "updatetime": {
  26859. "description": "更新时间",
  26860. "type": "string"
  26861. }
  26862. }
  26863. },
  26864. "models.QhjRSTriggerLog": {
  26865. "type": "object",
  26866. "properties": {
  26867. "accountid": {
  26868. "description": "用户资金账户",
  26869. "type": "integer"
  26870. },
  26871. "accountname": {
  26872. "description": "账号名称(ACCOUNTID对应的名称)",
  26873. "type": "string"
  26874. },
  26875. "currencyid": {
  26876. "description": "币种id",
  26877. "type": "integer"
  26878. },
  26879. "currencyname": {
  26880. "description": "币种名称",
  26881. "type": "string"
  26882. },
  26883. "decimalplace": {
  26884. "description": "商品报价小数位",
  26885. "type": "integer"
  26886. },
  26887. "enumdicname": {
  26888. "description": "单位名称",
  26889. "type": "string"
  26890. },
  26891. "goodscode": {
  26892. "description": "定投商品代码",
  26893. "type": "string"
  26894. },
  26895. "goodsid": {
  26896. "description": "定投商品ID",
  26897. "type": "integer"
  26898. },
  26899. "goodsname": {
  26900. "description": "定投商品名称",
  26901. "type": "string"
  26902. },
  26903. "goodunitid": {
  26904. "description": "定投商品单位id",
  26905. "type": "integer"
  26906. },
  26907. "logid": {
  26908. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  26909. "type": "string"
  26910. },
  26911. "logincode": {
  26912. "description": "账号(登录代码)",
  26913. "type": "string"
  26914. },
  26915. "qtydecimalplace": {
  26916. "description": "成交量小数位",
  26917. "type": "integer"
  26918. },
  26919. "regularlycycle": {
  26920. "description": "定投频率 - 1:每周 2:每月",
  26921. "type": "integer"
  26922. },
  26923. "regularlycyclevalue": {
  26924. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  26925. "type": "string"
  26926. },
  26927. "regularlymode": {
  26928. "description": "定投方式 - 1:按数量 2:按金额",
  26929. "type": "integer"
  26930. },
  26931. "regularlymodevalue": {
  26932. "description": "定投方式值 - 数量或金额",
  26933. "type": "number"
  26934. },
  26935. "regularlystrategyid": {
  26936. "description": "定投策略ID",
  26937. "type": "integer"
  26938. },
  26939. "retcode": {
  26940. "description": "错误码",
  26941. "type": "string"
  26942. },
  26943. "tradeid": {
  26944. "description": "成交单ID",
  26945. "type": "string"
  26946. },
  26947. "triggeramount": {
  26948. "description": "触发金额",
  26949. "type": "number"
  26950. },
  26951. "triggerqty": {
  26952. "description": "触发数量",
  26953. "type": "number"
  26954. },
  26955. "triggerstatus": {
  26956. "description": "触发状态 - 1:成功 2:失败",
  26957. "type": "integer"
  26958. },
  26959. "triggertime": {
  26960. "description": "触发时间",
  26961. "type": "string"
  26962. },
  26963. "triggertradedate": {
  26964. "description": "触发交易日",
  26965. "type": "string"
  26966. },
  26967. "userid": {
  26968. "description": "所属用户ID",
  26969. "type": "integer"
  26970. },
  26971. "userinfotype": {
  26972. "description": "用户类型 1-个人 2-企业",
  26973. "type": "integer"
  26974. },
  26975. "username": {
  26976. "description": "用户名称(userid对应的名称)",
  26977. "type": "string"
  26978. }
  26979. }
  26980. },
  26981. "models.QhjRStrategy": {
  26982. "type": "object",
  26983. "properties": {
  26984. "accountid": {
  26985. "description": "用户资金账户",
  26986. "type": "integer"
  26987. },
  26988. "accountname": {
  26989. "description": "账号名称(ACCOUNTID对应的名称)",
  26990. "type": "string"
  26991. },
  26992. "currencyid": {
  26993. "description": "币种id",
  26994. "type": "integer"
  26995. },
  26996. "currencyname": {
  26997. "description": "币种名称",
  26998. "type": "string"
  26999. },
  27000. "decimalplace": {
  27001. "description": "商品报价小数位",
  27002. "type": "integer"
  27003. },
  27004. "enumdicname": {
  27005. "description": "单位名称",
  27006. "type": "string"
  27007. },
  27008. "goodscode": {
  27009. "description": "定投商品代码",
  27010. "type": "string"
  27011. },
  27012. "goodsid": {
  27013. "description": "定投商品ID",
  27014. "type": "integer"
  27015. },
  27016. "goodsname": {
  27017. "description": "定投商品名称",
  27018. "type": "string"
  27019. },
  27020. "goodunitid": {
  27021. "description": "定投商品单位id",
  27022. "type": "integer"
  27023. },
  27024. "lasteffecttradedate": {
  27025. "description": "最新生效交易日",
  27026. "type": "string"
  27027. },
  27028. "laststoptradedate": {
  27029. "description": "最新暂停交易日",
  27030. "type": "string"
  27031. },
  27032. "lasttriggertradedate": {
  27033. "description": "最新触发交易日",
  27034. "type": "string"
  27035. },
  27036. "logincode": {
  27037. "description": "账号(登录代码)",
  27038. "type": "string"
  27039. },
  27040. "nexttriggeramount": {
  27041. "description": "下次触发金额",
  27042. "type": "number"
  27043. },
  27044. "nexttriggerdate": {
  27045. "description": "下次触发日期",
  27046. "type": "string"
  27047. },
  27048. "nexttriggerqty": {
  27049. "description": "下次触发数量 [按小数位放大值]",
  27050. "type": "number"
  27051. },
  27052. "qtydecimalplace": {
  27053. "description": "成交量小数位",
  27054. "type": "integer"
  27055. },
  27056. "regularlycycle": {
  27057. "description": "定投频率 - 1:每周 2:每月",
  27058. "type": "integer"
  27059. },
  27060. "regularlycyclevalue": {
  27061. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27062. "type": "string"
  27063. },
  27064. "regularlymode": {
  27065. "description": "定投方式 - 1:按数量 2:按金额",
  27066. "type": "integer"
  27067. },
  27068. "regularlymodevalue": {
  27069. "description": "定投方式值 - 数量或金额",
  27070. "type": "number"
  27071. },
  27072. "regularlystrategyid": {
  27073. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27074. "type": "integer"
  27075. },
  27076. "regularlystrategystatus": {
  27077. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27078. "type": "integer"
  27079. },
  27080. "remark": {
  27081. "description": "备注",
  27082. "type": "string"
  27083. },
  27084. "triggersuccesstimes": {
  27085. "description": "累计定投成功次数",
  27086. "type": "string"
  27087. },
  27088. "triggertotalamount": {
  27089. "description": "累计定投金额(成功)",
  27090. "type": "number"
  27091. },
  27092. "triggertotalqty": {
  27093. "description": "累计定投数量(成功) [按小数位放大值]",
  27094. "type": "number"
  27095. },
  27096. "triggertotaltimes": {
  27097. "description": "累计定投总次数",
  27098. "type": "string"
  27099. },
  27100. "updatesrc": {
  27101. "description": "更新来源 - 1:管理端 2:终端",
  27102. "type": "integer"
  27103. },
  27104. "updatetime": {
  27105. "description": "更新时间",
  27106. "type": "string"
  27107. },
  27108. "updatorid": {
  27109. "description": "更新人",
  27110. "type": "string"
  27111. },
  27112. "userid": {
  27113. "description": "所属用户ID",
  27114. "type": "integer"
  27115. },
  27116. "userinfotype": {
  27117. "description": "用户类型 1-个人 2-企业",
  27118. "type": "integer"
  27119. },
  27120. "username": {
  27121. "description": "用户名称(userid对应的名称)",
  27122. "type": "string"
  27123. }
  27124. }
  27125. },
  27126. "models.QhjReckonPriceLog": {
  27127. "type": "object",
  27128. "properties": {
  27129. "decimalplace": {
  27130. "description": "商品报价小数位",
  27131. "type": "integer"
  27132. },
  27133. "goodscode": {
  27134. "description": "商品代码",
  27135. "type": "string"
  27136. },
  27137. "goodsid": {
  27138. "description": "商品ID",
  27139. "type": "integer"
  27140. },
  27141. "goodsname": {
  27142. "description": "商品名称",
  27143. "type": "string"
  27144. },
  27145. "lastreckonprice": {
  27146. "description": "上日结算价",
  27147. "type": "number"
  27148. },
  27149. "nextdnlimitprice": {
  27150. "description": "下个交易日跌停价",
  27151. "type": "number"
  27152. },
  27153. "nexttrade": {
  27154. "description": "下个交易日",
  27155. "type": "string"
  27156. },
  27157. "nextuplimitprice": {
  27158. "description": "下个交易日涨停价",
  27159. "type": "number"
  27160. },
  27161. "reckonprice": {
  27162. "description": "今日结算价(定投价)",
  27163. "type": "number"
  27164. },
  27165. "reckontime": {
  27166. "description": "结算时间",
  27167. "type": "string"
  27168. },
  27169. "totalholderqty": {
  27170. "description": "总持仓数",
  27171. "type": "integer"
  27172. },
  27173. "totalstock": {
  27174. "description": "总库存",
  27175. "type": "integer"
  27176. },
  27177. "tradedate": {
  27178. "description": "交易日",
  27179. "type": "string"
  27180. },
  27181. "updowncount": {
  27182. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27183. "type": "integer"
  27184. },
  27185. "updownflag": {
  27186. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27187. "type": "integer"
  27188. },
  27189. "updownrate": {
  27190. "description": "今日涨跌幅",
  27191. "type": "number"
  27192. },
  27193. "updownrate_2d": {
  27194. "description": "连续两日涨跌幅",
  27195. "type": "number"
  27196. },
  27197. "updownrate_3d": {
  27198. "description": "连续三日涨跌幅",
  27199. "type": "number"
  27200. }
  27201. }
  27202. },
  27203. "models.QhjScoreLog": {
  27204. "type": "object",
  27205. "properties": {
  27206. "accountid": {
  27207. "description": "账户ID",
  27208. "type": "integer"
  27209. },
  27210. "createtime": {
  27211. "description": "创建时间(时间)",
  27212. "type": "string"
  27213. },
  27214. "goodsid": {
  27215. "description": "商品ID",
  27216. "type": "integer"
  27217. },
  27218. "hasuploaded": {
  27219. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27220. "type": "integer"
  27221. },
  27222. "logid": {
  27223. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27224. "type": "string"
  27225. },
  27226. "marketid": {
  27227. "description": "市场ID",
  27228. "type": "integer"
  27229. },
  27230. "relatedamount": {
  27231. "description": "关联金额",
  27232. "type": "number"
  27233. },
  27234. "relatedorderid": {
  27235. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27236. "type": "string"
  27237. },
  27238. "scoreconfigvalue1": {
  27239. "description": "积分配置1",
  27240. "type": "integer"
  27241. },
  27242. "scoreconfigvalue2": {
  27243. "description": "积分配置1",
  27244. "type": "integer"
  27245. },
  27246. "scoretype": {
  27247. "description": "积分类型 - 1:提货积分",
  27248. "type": "integer"
  27249. },
  27250. "scorevalue": {
  27251. "description": "积分",
  27252. "type": "number"
  27253. },
  27254. "tradedate": {
  27255. "description": "交易日(yyyyMMdd)",
  27256. "type": "string"
  27257. },
  27258. "uploadedtime": {
  27259. "description": "同步时间",
  27260. "type": "string"
  27261. },
  27262. "userid": {
  27263. "description": "用户ID",
  27264. "type": "integer"
  27265. }
  27266. }
  27267. },
  27268. "models.QhjSiteColumnDetail": {
  27269. "type": "object",
  27270. "properties": {
  27271. "author": {
  27272. "description": "作者",
  27273. "type": "string"
  27274. },
  27275. "brief": {
  27276. "description": "简介",
  27277. "type": "string"
  27278. },
  27279. "columnid": {
  27280. "description": "所属栏目",
  27281. "type": "integer"
  27282. },
  27283. "context": {
  27284. "description": "内容",
  27285. "type": "string"
  27286. },
  27287. "coverimage": {
  27288. "description": "封面图片",
  27289. "type": "string"
  27290. },
  27291. "creaedate": {
  27292. "description": "创建时间",
  27293. "type": "string"
  27294. },
  27295. "creatorid": {
  27296. "description": "创建人",
  27297. "type": "integer"
  27298. },
  27299. "hits": {
  27300. "description": "点击数",
  27301. "type": "integer"
  27302. },
  27303. "id": {
  27304. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27305. "type": "integer"
  27306. },
  27307. "isshow": {
  27308. "description": "是否展示 - 0:不展示 1:展示",
  27309. "type": "integer"
  27310. },
  27311. "istop": {
  27312. "description": "是否置顶 - 0:不置 1:置顶",
  27313. "type": "integer"
  27314. },
  27315. "modifierid": {
  27316. "description": "操作人",
  27317. "type": "integer"
  27318. },
  27319. "publishdate": {
  27320. "description": "发布日期",
  27321. "type": "string"
  27322. },
  27323. "status": {
  27324. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27325. "type": "integer"
  27326. },
  27327. "title": {
  27328. "description": "标题",
  27329. "type": "string"
  27330. },
  27331. "updatedate": {
  27332. "description": "修改时间",
  27333. "type": "string"
  27334. },
  27335. "userid": {
  27336. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27337. "type": "integer"
  27338. },
  27339. "username": {
  27340. "description": "用户名称",
  27341. "type": "string"
  27342. }
  27343. }
  27344. },
  27345. "models.QhjTeamOrder": {
  27346. "type": "object",
  27347. "properties": {
  27348. "accountid": {
  27349. "description": "账户ID[报价币种]",
  27350. "type": "integer"
  27351. },
  27352. "accountname": {
  27353. "description": "账户名称",
  27354. "type": "string"
  27355. },
  27356. "agreeunit": {
  27357. "description": "合约乘数",
  27358. "type": "number"
  27359. },
  27360. "buyorsell": {
  27361. "description": "方向 - 0:买 1:卖",
  27362. "type": "integer"
  27363. },
  27364. "decimalplace": {
  27365. "description": "报价小数位",
  27366. "type": "integer"
  27367. },
  27368. "enumdicname": {
  27369. "description": "单位名称",
  27370. "type": "string"
  27371. },
  27372. "goodscode": {
  27373. "description": "商品代码(内部)",
  27374. "type": "string"
  27375. },
  27376. "goodsid": {
  27377. "description": "商品ID",
  27378. "type": "integer"
  27379. },
  27380. "goodsname": {
  27381. "description": "商品名称",
  27382. "type": "string"
  27383. },
  27384. "goodunitid": {
  27385. "description": "报价单位ID",
  27386. "type": "integer"
  27387. },
  27388. "marketid": {
  27389. "description": "市场ID",
  27390. "type": "integer"
  27391. },
  27392. "marketname": {
  27393. "description": "市场名称",
  27394. "type": "string"
  27395. },
  27396. "qtydecimalplace": {
  27397. "description": "成交量小数位",
  27398. "type": "integer"
  27399. },
  27400. "refereeuserid": {
  27401. "description": "推荐人ID",
  27402. "type": "integer"
  27403. },
  27404. "tradeamount": {
  27405. "description": "成交金额[账户币种,用于所有权]",
  27406. "type": "number"
  27407. },
  27408. "tradedate": {
  27409. "description": "交易日(yyyyMMdd)",
  27410. "type": "string"
  27411. },
  27412. "trademode": {
  27413. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27414. "type": "integer"
  27415. },
  27416. "tradeprice": {
  27417. "description": "成交价格",
  27418. "type": "number"
  27419. },
  27420. "tradeqty": {
  27421. "description": "成交数量",
  27422. "type": "number"
  27423. },
  27424. "tradetime": {
  27425. "description": "成交时间",
  27426. "type": "string"
  27427. },
  27428. "userid": {
  27429. "description": "用户ID",
  27430. "type": "integer"
  27431. }
  27432. }
  27433. },
  27434. "models.QhjTradeGoodsPickup": {
  27435. "type": "object",
  27436. "properties": {
  27437. "accountid": {
  27438. "description": "账户ID",
  27439. "type": "integer"
  27440. },
  27441. "address": {
  27442. "description": "提货人详细地址",
  27443. "type": "string"
  27444. },
  27445. "amount": {
  27446. "description": "提货金额",
  27447. "type": "number"
  27448. },
  27449. "artradedate": {
  27450. "description": "自动收货交易日(yyyyMMdd)",
  27451. "type": "string"
  27452. },
  27453. "auditer": {
  27454. "description": "审核人",
  27455. "type": "integer"
  27456. },
  27457. "auditsrc": {
  27458. "description": "更新来源 - 1:管理端 2:终端",
  27459. "type": "integer"
  27460. },
  27461. "audittime": {
  27462. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27463. "type": "string"
  27464. },
  27465. "audittradedate": {
  27466. "description": "审核交易日(yyyyMMdd)",
  27467. "type": "string"
  27468. },
  27469. "cardnum": {
  27470. "description": "提货人证件号码",
  27471. "type": "string"
  27472. },
  27473. "cardtypeid": {
  27474. "description": "提货人证件类型",
  27475. "type": "integer"
  27476. },
  27477. "checkremark": {
  27478. "description": "审核备注",
  27479. "type": "string"
  27480. },
  27481. "cityid": {
  27482. "description": "市",
  27483. "type": "integer"
  27484. },
  27485. "cityname": {
  27486. "description": "城市名称",
  27487. "type": "string"
  27488. },
  27489. "confirmtime": {
  27490. "description": "取货时间 或 收货时间",
  27491. "type": "string"
  27492. },
  27493. "countryid": {
  27494. "description": "国家",
  27495. "type": "integer"
  27496. },
  27497. "countryname": {
  27498. "description": "国家名称",
  27499. "type": "string"
  27500. },
  27501. "decimalplace": {
  27502. "description": "商品报价小数位",
  27503. "type": "integer"
  27504. },
  27505. "districtid": {
  27506. "description": "地区",
  27507. "type": "integer"
  27508. },
  27509. "districtname": {
  27510. "description": "地区名称",
  27511. "type": "string"
  27512. },
  27513. "enumdicname": {
  27514. "description": "单位名称(提货商品)",
  27515. "type": "string"
  27516. },
  27517. "expresscompany": {
  27518. "description": "物流公司",
  27519. "type": "string"
  27520. },
  27521. "expressnum": {
  27522. "description": "物流单号",
  27523. "type": "string"
  27524. },
  27525. "goodsagreeunit": {
  27526. "description": "交易商品乘数",
  27527. "type": "number"
  27528. },
  27529. "goodscode": {
  27530. "description": "商品代码",
  27531. "type": "string"
  27532. },
  27533. "goodsid": {
  27534. "description": "商品ID",
  27535. "type": "integer"
  27536. },
  27537. "goodsname": {
  27538. "description": "商品名称",
  27539. "type": "string"
  27540. },
  27541. "goodsqty": {
  27542. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27543. "type": "number"
  27544. },
  27545. "handlestatus": {
  27546. "description": "处理状态",
  27547. "type": "integer"
  27548. },
  27549. "logincode": {
  27550. "description": "账号(登录代码, 有可能为空)",
  27551. "type": "string"
  27552. },
  27553. "marketid": {
  27554. "description": "市场ID",
  27555. "type": "integer"
  27556. },
  27557. "phonenum": {
  27558. "description": "提货人联系方式",
  27559. "type": "string"
  27560. },
  27561. "pickupgoodsagreeunit": {
  27562. "description": "提货商品合约乘数",
  27563. "type": "number"
  27564. },
  27565. "pickupgoodsid": {
  27566. "description": "提货商品ID",
  27567. "type": "string"
  27568. },
  27569. "pickupgoodsname": {
  27570. "description": "提货商品名称",
  27571. "type": "string"
  27572. },
  27573. "pickupgoodsqty": {
  27574. "description": "提货商品手数(数量)",
  27575. "type": "number"
  27576. },
  27577. "pickupgoodsunitid": {
  27578. "description": "单位ID(提货商品)",
  27579. "type": "integer"
  27580. },
  27581. "pickupratio": {
  27582. "description": "提货系数",
  27583. "type": "number"
  27584. },
  27585. "preparedays": {
  27586. "description": "备货期(天)-提货单明细表",
  27587. "type": "integer"
  27588. },
  27589. "provinceid": {
  27590. "description": "省",
  27591. "type": "integer"
  27592. },
  27593. "provincename": {
  27594. "description": "省名称",
  27595. "type": "string"
  27596. },
  27597. "qty": {
  27598. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27599. "type": "number"
  27600. },
  27601. "qtydecimalplace": {
  27602. "description": "商品数量小数位",
  27603. "type": "integer"
  27604. },
  27605. "recivername": {
  27606. "description": "提货人姓名",
  27607. "type": "string"
  27608. },
  27609. "reqtime": {
  27610. "description": "提货申请时间",
  27611. "type": "string"
  27612. },
  27613. "storeuserid": {
  27614. "description": "门店用户ID (千海金)",
  27615. "type": "integer"
  27616. },
  27617. "storeusername": {
  27618. "description": "门店用户名称",
  27619. "type": "string"
  27620. },
  27621. "takemode": {
  27622. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27623. "type": "integer"
  27624. },
  27625. "takeorderid": {
  27626. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27627. "type": "string"
  27628. },
  27629. "takeorderstatus": {
  27630. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27631. "type": "integer"
  27632. },
  27633. "takeremark": {
  27634. "description": "提货备注",
  27635. "type": "string"
  27636. },
  27637. "tradedate": {
  27638. "description": "交易日(yyyyMMdd)",
  27639. "type": "string"
  27640. },
  27641. "updatetime": {
  27642. "description": "更新时间",
  27643. "type": "string"
  27644. },
  27645. "userid": {
  27646. "description": "用户ID",
  27647. "type": "integer"
  27648. },
  27649. "userinfotype": {
  27650. "description": "客户类型 1-个人 2-企业",
  27651. "type": "integer"
  27652. },
  27653. "username": {
  27654. "description": "用户名称",
  27655. "type": "string"
  27656. }
  27657. }
  27658. },
  27659. "models.QhjUserNodeCfgAndStatus": {
  27660. "type": "object",
  27661. "properties": {
  27662. "agreementcontent": {
  27663. "description": "协议内容",
  27664. "type": "string"
  27665. },
  27666. "agreementid": {
  27667. "description": "协议ID",
  27668. "type": "integer"
  27669. },
  27670. "agreementname": {
  27671. "description": "协议名称",
  27672. "type": "string"
  27673. },
  27674. "agreementno": {
  27675. "description": "协议编号",
  27676. "type": "string"
  27677. },
  27678. "agreementtype": {
  27679. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27680. "type": "integer"
  27681. },
  27682. "agreementversion": {
  27683. "description": "协议版本号",
  27684. "type": "integer"
  27685. },
  27686. "configid": {
  27687. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27688. "type": "integer"
  27689. },
  27690. "createtime": {
  27691. "description": "创建时间",
  27692. "type": "string"
  27693. },
  27694. "goodsid": {
  27695. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27696. "type": "integer"
  27697. },
  27698. "nodetype": {
  27699. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27700. "type": "integer"
  27701. },
  27702. "signtimestamp": {
  27703. "description": "签约状态时间戳(最近一次)",
  27704. "type": "string"
  27705. },
  27706. "tradedate": {
  27707. "description": "签约交易日(yyyyMMdd)",
  27708. "type": "string"
  27709. },
  27710. "userid": {
  27711. "description": "客户ID",
  27712. "type": "integer"
  27713. }
  27714. }
  27715. },
  27716. "models.Qhjgoodsex": {
  27717. "type": "object",
  27718. "properties": {
  27719. "canfinance": {
  27720. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27721. "type": "integer"
  27722. },
  27723. "canregularlybuy": {
  27724. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27725. "type": "integer"
  27726. },
  27727. "defaulttradeuserid": {
  27728. "description": "默认交易用户ID",
  27729. "type": "integer"
  27730. },
  27731. "deliverygoodsid": {
  27732. "description": "现货品种ID",
  27733. "type": "integer"
  27734. },
  27735. "goodsid": {
  27736. "description": "商品ID(自增ID SEQ_GOODS)",
  27737. "type": "integer"
  27738. },
  27739. "minamount": {
  27740. "description": "最小购买金额",
  27741. "type": "number"
  27742. },
  27743. "regularlybuyminamount": {
  27744. "description": "定投最小金额",
  27745. "type": "number"
  27746. },
  27747. "regularlybuyminqty": {
  27748. "description": "定投最小数量",
  27749. "type": "number"
  27750. },
  27751. "spotgoodsbrandid": {
  27752. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27753. "type": "integer"
  27754. },
  27755. "visibilityforenterprise": {
  27756. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27757. "type": "integer"
  27758. },
  27759. "visibilityforpersonal": {
  27760. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27761. "type": "integer"
  27762. },
  27763. "wrstandardid": {
  27764. "description": "现货商品ID",
  27765. "type": "integer"
  27766. }
  27767. }
  27768. },
  27769. "models.QueryErrorInfosRsp": {
  27770. "type": "object",
  27771. "required": [
  27772. "errorid"
  27773. ],
  27774. "properties": {
  27775. "description": {
  27776. "description": "异常描述",
  27777. "type": "string"
  27778. },
  27779. "errorcode": {
  27780. "description": "异常代码",
  27781. "type": "string"
  27782. },
  27783. "errorid": {
  27784. "description": "异常ID",
  27785. "type": "integer"
  27786. },
  27787. "modulecode": {
  27788. "description": "所属模块",
  27789. "type": "string"
  27790. },
  27791. "operatecode": {
  27792. "description": "所属操作",
  27793. "type": "string"
  27794. },
  27795. "rownumber": {
  27796. "description": "行号",
  27797. "type": "string"
  27798. }
  27799. }
  27800. },
  27801. "models.QueryHedgeOrderDetailRsp": {
  27802. "type": "object",
  27803. "properties": {
  27804. "accountid": {
  27805. "description": "账户ID",
  27806. "type": "integer"
  27807. },
  27808. "buyorsell": {
  27809. "description": "买卖 - 0:买 1:卖",
  27810. "type": "integer"
  27811. },
  27812. "cancellogincode": {
  27813. "description": "撤单人",
  27814. "type": "string"
  27815. },
  27816. "channelbuildtype": {
  27817. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  27818. "type": "integer"
  27819. },
  27820. "channelinnerorderstatus": {
  27821. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  27822. "type": "integer"
  27823. },
  27824. "channeloperatetype": {
  27825. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  27826. "type": "integer"
  27827. },
  27828. "closetype": {
  27829. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27830. "type": "integer"
  27831. },
  27832. "curexchangerate": {
  27833. "description": "当前汇率",
  27834. "type": "number"
  27835. },
  27836. "exchangefullname": {
  27837. "description": "外部交易所全称",
  27838. "type": "string"
  27839. },
  27840. "goodscode": {
  27841. "description": "商品代码(内部)",
  27842. "type": "string"
  27843. },
  27844. "goodsid": {
  27845. "description": "商品ID",
  27846. "type": "integer"
  27847. },
  27848. "goodsname": {
  27849. "description": "商品名称",
  27850. "type": "string"
  27851. },
  27852. "marketid": {
  27853. "description": "市场ID",
  27854. "type": "integer"
  27855. },
  27856. "openfreezemargin": {
  27857. "description": "冻结保证金(冻结交易金额)",
  27858. "type": "number"
  27859. },
  27860. "orderid": {
  27861. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27862. "type": "string"
  27863. },
  27864. "orderlogincode": {
  27865. "description": "委托人",
  27866. "type": "string"
  27867. },
  27868. "orderprice": {
  27869. "description": "委托价格(账户)",
  27870. "type": "number"
  27871. },
  27872. "orderqty": {
  27873. "description": "委托数量",
  27874. "type": "integer"
  27875. },
  27876. "ordertime": {
  27877. "description": "委托时间",
  27878. "type": "string"
  27879. },
  27880. "pricemode": {
  27881. "description": "取价方式 - 1:市价 2: 限价",
  27882. "type": "integer"
  27883. },
  27884. "tradedate": {
  27885. "description": "交易日(yyyyMMdd)",
  27886. "type": "string"
  27887. },
  27888. "tradeqty": {
  27889. "description": "成交数量",
  27890. "type": "integer"
  27891. }
  27892. }
  27893. },
  27894. "models.QueryHedgeTradeDetailRsp": {
  27895. "type": "object",
  27896. "properties": {
  27897. "accountid": {
  27898. "description": "账号ID",
  27899. "type": "integer"
  27900. },
  27901. "buyorsell": {
  27902. "description": "方向 - 0:买 1:卖",
  27903. "type": "integer"
  27904. },
  27905. "channelbuildtype": {
  27906. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27907. "type": "integer"
  27908. },
  27909. "closecharge": {
  27910. "description": "平仓手续费(账户)",
  27911. "type": "number"
  27912. },
  27913. "closecharge2": {
  27914. "description": "平仓手续费(商品)",
  27915. "type": "number"
  27916. },
  27917. "closepl": {
  27918. "description": "平仓盈亏(账户)",
  27919. "type": "number"
  27920. },
  27921. "closepl2": {
  27922. "description": "平仓盈亏(商品)",
  27923. "type": "number"
  27924. },
  27925. "closepl3": {
  27926. "description": "平仓盈亏(账户)(逐笔)",
  27927. "type": "number"
  27928. },
  27929. "closepl4": {
  27930. "description": "平仓盈亏(商品)(逐笔)",
  27931. "type": "number"
  27932. },
  27933. "closetype": {
  27934. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  27935. "type": "integer"
  27936. },
  27937. "curexchangerate": {
  27938. "description": "当前汇率",
  27939. "type": "number"
  27940. },
  27941. "exchangefullname": {
  27942. "description": "外部交易所全称",
  27943. "type": "string"
  27944. },
  27945. "goodscode": {
  27946. "description": "商品代码(内部)",
  27947. "type": "string"
  27948. },
  27949. "goodsid": {
  27950. "description": "商品ID",
  27951. "type": "integer"
  27952. },
  27953. "goodsname": {
  27954. "description": "商品名称",
  27955. "type": "string"
  27956. },
  27957. "marketid": {
  27958. "description": "市场ID",
  27959. "type": "integer"
  27960. },
  27961. "opencharge": {
  27962. "description": "建仓手续费(账户)",
  27963. "type": "number"
  27964. },
  27965. "opencharge2": {
  27966. "description": "建仓手续费(商品)",
  27967. "type": "number"
  27968. },
  27969. "orderid": {
  27970. "description": "委托单号",
  27971. "type": "string"
  27972. },
  27973. "orderlogincode": {
  27974. "description": "委托人",
  27975. "type": "string"
  27976. },
  27977. "tradeamount": {
  27978. "description": "成交金额(账户)",
  27979. "type": "number"
  27980. },
  27981. "tradedate": {
  27982. "description": "交易日(yyyyMMdd)",
  27983. "type": "string"
  27984. },
  27985. "tradeid": {
  27986. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27987. "type": "string"
  27988. },
  27989. "tradeprice": {
  27990. "description": "成交价格",
  27991. "type": "number"
  27992. },
  27993. "tradeqty": {
  27994. "description": "成交数量",
  27995. "type": "integer"
  27996. },
  27997. "tradetime": {
  27998. "description": "成交时间",
  27999. "type": "string"
  28000. },
  28001. "tradetype": {
  28002. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28003. "type": "integer"
  28004. }
  28005. }
  28006. },
  28007. "models.QuotePrimaryMenu": {
  28008. "type": "object",
  28009. "properties": {
  28010. "Index": {
  28011. "description": "序号",
  28012. "type": "integer"
  28013. },
  28014. "Key": {
  28015. "description": "键名",
  28016. "type": "string"
  28017. },
  28018. "Name": {
  28019. "description": "菜单名称",
  28020. "type": "string"
  28021. },
  28022. "SubMenus": {
  28023. "description": "子菜单",
  28024. "type": "array",
  28025. "items": {
  28026. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28027. }
  28028. },
  28029. "SubTitleType": {
  28030. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28031. "type": "integer"
  28032. },
  28033. "TradeModes": {
  28034. "description": "包含市场交易类型",
  28035. "type": "string"
  28036. }
  28037. }
  28038. },
  28039. "models.QuoteSecondaryMenu": {
  28040. "type": "object",
  28041. "properties": {
  28042. "ExExchangeCode": {
  28043. "description": "外部交易所代码",
  28044. "type": "string"
  28045. },
  28046. "ExExchangeID": {
  28047. "description": "外部交易所ID",
  28048. "type": "integer"
  28049. },
  28050. "GoodsGroupIDs": {
  28051. "description": "商品组ID列表",
  28052. "type": "array",
  28053. "items": {
  28054. "type": "integer"
  28055. }
  28056. },
  28057. "Index": {
  28058. "description": "序号",
  28059. "type": "integer"
  28060. },
  28061. "MarketID": {
  28062. "description": "市场ID",
  28063. "type": "integer"
  28064. },
  28065. "MenuTitle": {
  28066. "description": "菜单标题(市场名称或外部交易所名称)",
  28067. "type": "string"
  28068. },
  28069. "TradeMode": {
  28070. "description": "交易模式",
  28071. "type": "integer"
  28072. }
  28073. }
  28074. },
  28075. "models.RoleMenu": {
  28076. "type": "object",
  28077. "properties": {
  28078. "hasright": {
  28079. "description": "是否有权限 0-没有权限 1-有权限",
  28080. "type": "integer"
  28081. },
  28082. "iconame": {
  28083. "description": "菜单图标",
  28084. "type": "string"
  28085. },
  28086. "menutype": {
  28087. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28088. "type": "integer"
  28089. },
  28090. "parentcode": {
  28091. "description": "上级资源代码",
  28092. "type": "string"
  28093. },
  28094. "remark": {
  28095. "description": "菜单备注",
  28096. "type": "string"
  28097. },
  28098. "resourcecode": {
  28099. "description": "菜单代码",
  28100. "type": "string"
  28101. },
  28102. "resourcelevel": {
  28103. "description": "级别",
  28104. "type": "integer"
  28105. },
  28106. "resourcename": {
  28107. "description": "菜单名称",
  28108. "type": "string"
  28109. },
  28110. "roleid": {
  28111. "description": "角色id",
  28112. "type": "integer"
  28113. },
  28114. "sort": {
  28115. "description": "排序",
  28116. "type": "integer"
  28117. },
  28118. "subMenu": {
  28119. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28120. "type": "array",
  28121. "items": {
  28122. "$ref": "#/definitions/models.RoleMenu"
  28123. }
  28124. },
  28125. "url": {
  28126. "description": "URL",
  28127. "type": "string"
  28128. },
  28129. "userid": {
  28130. "description": "用户id",
  28131. "type": "integer"
  28132. }
  28133. }
  28134. },
  28135. "models.SearchGoods": {
  28136. "type": "object",
  28137. "required": [
  28138. "goodscode",
  28139. "goodsid",
  28140. "goodsname",
  28141. "marketid",
  28142. "trademode"
  28143. ],
  28144. "properties": {
  28145. "goodscode": {
  28146. "description": "商品代码(内部)",
  28147. "type": "string"
  28148. },
  28149. "goodsid": {
  28150. "description": "商品ID(自增ID SEQ_GOODS)",
  28151. "type": "integer"
  28152. },
  28153. "goodsname": {
  28154. "description": "商品名称",
  28155. "type": "string"
  28156. },
  28157. "marketid": {
  28158. "description": "所属市场ID",
  28159. "type": "integer"
  28160. },
  28161. "marketname": {
  28162. "description": "市场名称",
  28163. "type": "string"
  28164. },
  28165. "trademode": {
  28166. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28167. "type": "integer"
  28168. }
  28169. }
  28170. },
  28171. "models.Systemparam": {
  28172. "type": "object",
  28173. "required": [
  28174. "paramcode"
  28175. ],
  28176. "properties": {
  28177. "loginid": {
  28178. "description": "更新用户账号,登录账号",
  28179. "type": "string"
  28180. },
  28181. "modifyflag": {
  28182. "description": "修改标志0 不允许修改 1 允许修改",
  28183. "type": "integer"
  28184. },
  28185. "paramcode": {
  28186. "description": "参数代码",
  28187. "type": "string"
  28188. },
  28189. "paramname": {
  28190. "description": "参数名",
  28191. "type": "string"
  28192. },
  28193. "paramtype": {
  28194. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28195. "type": "integer"
  28196. },
  28197. "paramvalue": {
  28198. "description": "参数值",
  28199. "type": "string"
  28200. },
  28201. "paramvalue2": {
  28202. "description": "参数值(CLOB)",
  28203. "type": "string"
  28204. },
  28205. "regexpress": {
  28206. "description": "正则表达式",
  28207. "type": "string"
  28208. },
  28209. "remark": {
  28210. "description": "备注",
  28211. "type": "string"
  28212. },
  28213. "serverip": {
  28214. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28215. "type": "string"
  28216. },
  28217. "showflag": {
  28218. "description": "是否显示0 不显示 1 显示",
  28219. "type": "integer"
  28220. },
  28221. "updatetime": {
  28222. "description": "更新时间",
  28223. "type": "string"
  28224. },
  28225. "userid": {
  28226. "description": "更新用户ID",
  28227. "type": "integer"
  28228. }
  28229. }
  28230. },
  28231. "models.Szdz3convertconfig": {
  28232. "type": "object",
  28233. "required": [
  28234. "converttype",
  28235. "innergoodsid",
  28236. "outergoodscode"
  28237. ],
  28238. "properties": {
  28239. "canin": {
  28240. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28241. "type": "integer"
  28242. },
  28243. "canout": {
  28244. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28245. "type": "integer"
  28246. },
  28247. "converttype": {
  28248. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28249. "type": "integer"
  28250. },
  28251. "createtime": {
  28252. "description": "创建时间",
  28253. "type": "string"
  28254. },
  28255. "creatorid": {
  28256. "description": "创建人",
  28257. "type": "integer"
  28258. },
  28259. "daymaxvalue": {
  28260. "description": "当日最大转入限制",
  28261. "type": "number"
  28262. },
  28263. "freezedays": {
  28264. "description": "冻结天数 [5:花生米转交易]",
  28265. "type": "integer"
  28266. },
  28267. "innergoodsid": {
  28268. "description": "内部商品ID[交易]",
  28269. "type": "integer"
  28270. },
  28271. "inratio": {
  28272. "description": "目标值",
  28273. "type": "integer"
  28274. },
  28275. "modifierid": {
  28276. "description": "修改人",
  28277. "type": "integer"
  28278. },
  28279. "modifytime": {
  28280. "description": "修改时间",
  28281. "type": "string"
  28282. },
  28283. "outergoodscode": {
  28284. "description": "外部商品代码[JD\\PD]",
  28285. "type": "string"
  28286. },
  28287. "outratio": {
  28288. "description": "源值",
  28289. "type": "integer"
  28290. },
  28291. "pddecimalplace": {
  28292. "description": "PD小数位",
  28293. "type": "integer"
  28294. },
  28295. "timemaxvalue": {
  28296. "description": "单次最大转入限制",
  28297. "type": "number"
  28298. },
  28299. "timeminvalue": {
  28300. "description": "单次最小转入限制",
  28301. "type": "number"
  28302. }
  28303. }
  28304. },
  28305. "models.Szdz3searchwhitelist": {
  28306. "type": "object",
  28307. "required": [
  28308. "userid"
  28309. ],
  28310. "properties": {
  28311. "createtime": {
  28312. "description": "创建时间",
  28313. "type": "string"
  28314. },
  28315. "creatorid": {
  28316. "description": "创建人",
  28317. "type": "integer"
  28318. },
  28319. "modifierid": {
  28320. "description": "修改人",
  28321. "type": "integer"
  28322. },
  28323. "modifytime": {
  28324. "description": "修改时间",
  28325. "type": "string"
  28326. },
  28327. "userid": {
  28328. "description": "用户ID",
  28329. "type": "integer"
  28330. }
  28331. }
  28332. },
  28333. "models.Taaccount": {
  28334. "type": "object",
  28335. "required": [
  28336. "accountid",
  28337. "userid"
  28338. ],
  28339. "properties": {
  28340. "accountflag": {
  28341. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28342. "type": "integer"
  28343. },
  28344. "accountid": {
  28345. "description": "资金账户ID",
  28346. "type": "integer"
  28347. },
  28348. "accountname": {
  28349. "description": "账户名称",
  28350. "type": "string"
  28351. },
  28352. "balance": {
  28353. "description": "期初余额",
  28354. "type": "number"
  28355. },
  28356. "capitalbalance": {
  28357. "description": "本金余额[外部子账户实际出入金余额]",
  28358. "type": "number"
  28359. },
  28360. "changeflag": {
  28361. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28362. "type": "integer"
  28363. },
  28364. "changetime": {
  28365. "description": "账户状态变更时间",
  28366. "type": "string"
  28367. },
  28368. "closepl": {
  28369. "description": "今日平仓盈亏",
  28370. "type": "number"
  28371. },
  28372. "creditdecrease": {
  28373. "description": "今日授信减少",
  28374. "type": "number"
  28375. },
  28376. "creditincrease": {
  28377. "description": "今日授信增加",
  28378. "type": "number"
  28379. },
  28380. "curamount": {
  28381. "description": "总市值(从持仓中统计)",
  28382. "type": "number"
  28383. },
  28384. "currencyid": {
  28385. "description": "货币ID",
  28386. "type": "integer"
  28387. },
  28388. "currentbalance": {
  28389. "description": "期末余额",
  28390. "type": "number"
  28391. },
  28392. "freezecharge": {
  28393. "description": "手续费冻结",
  28394. "type": "number"
  28395. },
  28396. "freezemargin": {
  28397. "description": "冻结保证金",
  28398. "type": "number"
  28399. },
  28400. "fromaccountid": {
  28401. "description": "所属上级账户",
  28402. "type": "integer"
  28403. },
  28404. "inamount": {
  28405. "description": "今日入金金额(包括三方入金)",
  28406. "type": "number"
  28407. },
  28408. "ismain": {
  28409. "description": "是否母账号 0:不是母账户 1:是母账户",
  28410. "type": "integer"
  28411. },
  28412. "ismarketaccount": {
  28413. "description": "是否机构接单账号 0:不是 1:是",
  28414. "type": "integer"
  28415. },
  28416. "isreckonaccount": {
  28417. "description": "是否机构分润账号 0:不是 1:是",
  28418. "type": "integer"
  28419. },
  28420. "mortgagecredit": {
  28421. "description": "授信金额",
  28422. "type": "number"
  28423. },
  28424. "orifreezecharge": {
  28425. "description": "期初手续费冻结",
  28426. "type": "number"
  28427. },
  28428. "orifreezemargin": {
  28429. "description": "期初冻结保证金",
  28430. "type": "number"
  28431. },
  28432. "orimortgagecredit": {
  28433. "description": "期初授信金额",
  28434. "type": "number"
  28435. },
  28436. "oriothercredit": {
  28437. "description": "期初其它授信金额",
  28438. "type": "number"
  28439. },
  28440. "oriotherfreezemargin": {
  28441. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28442. "type": "number"
  28443. },
  28444. "orioutamountfreeze": {
  28445. "description": "期初出金冻结",
  28446. "type": "number"
  28447. },
  28448. "oriusedmargin": {
  28449. "description": "期初占用保证金",
  28450. "type": "number"
  28451. },
  28452. "othercredit": {
  28453. "description": "其它授信金额",
  28454. "type": "number"
  28455. },
  28456. "othercreditdecrease": {
  28457. "description": "今日其它授信减少",
  28458. "type": "number"
  28459. },
  28460. "othercreditincrease": {
  28461. "description": "今日其它授信增加",
  28462. "type": "number"
  28463. },
  28464. "otherfreezemargin": {
  28465. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28466. "type": "number"
  28467. },
  28468. "otherincome": {
  28469. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28470. "type": "number"
  28471. },
  28472. "otherpay": {
  28473. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28474. "type": "number"
  28475. },
  28476. "outamount": {
  28477. "description": "今日出金金额(包括三方出金)",
  28478. "type": "number"
  28479. },
  28480. "outamountfreeze": {
  28481. "description": "出金冻结",
  28482. "type": "number"
  28483. },
  28484. "outthreshold": {
  28485. "description": "出金阈值",
  28486. "type": "number"
  28487. },
  28488. "parentaccountid": {
  28489. "description": "所属根账号",
  28490. "type": "integer"
  28491. },
  28492. "paycharge": {
  28493. "description": "今日手续费支出",
  28494. "type": "number"
  28495. },
  28496. "relatedaccountstatus": {
  28497. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28498. "type": "integer"
  28499. },
  28500. "relateduserid": {
  28501. "description": "关联用户",
  28502. "type": "integer"
  28503. },
  28504. "remainamount": {
  28505. "description": "融资额(从融资合同中统计)",
  28506. "type": "number"
  28507. },
  28508. "serivcegroup": {
  28509. "description": "服务分组",
  28510. "type": "integer"
  28511. },
  28512. "signstatus": {
  28513. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28514. "type": "integer"
  28515. },
  28516. "sublevelpath": {
  28517. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28518. "type": "string"
  28519. },
  28520. "taaccounttype": {
  28521. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28522. "type": "integer"
  28523. },
  28524. "thirdinamount": {
  28525. "description": "今日三方入金",
  28526. "type": "number"
  28527. },
  28528. "thirdoutamount": {
  28529. "description": "今日三方出金",
  28530. "type": "number"
  28531. },
  28532. "tradestatus": {
  28533. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28534. "type": "integer"
  28535. },
  28536. "tradestatuschangetime": {
  28537. "description": "激活时间",
  28538. "type": "string"
  28539. },
  28540. "transferamount": {
  28541. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28542. "type": "number"
  28543. },
  28544. "usedmargin": {
  28545. "description": "占用保证金",
  28546. "type": "number"
  28547. },
  28548. "userid": {
  28549. "description": "用户ID",
  28550. "type": "integer"
  28551. }
  28552. }
  28553. },
  28554. "models.Tablecolumnconfig": {
  28555. "type": "object",
  28556. "required": [
  28557. "autoid"
  28558. ],
  28559. "properties": {
  28560. "aligntype": {
  28561. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28562. "type": "integer"
  28563. },
  28564. "autoid": {
  28565. "description": "AutoID",
  28566. "type": "integer"
  28567. },
  28568. "columnfield": {
  28569. "description": "列字段",
  28570. "type": "string"
  28571. },
  28572. "columntitle": {
  28573. "description": "列Title",
  28574. "type": "string"
  28575. },
  28576. "columnwidth": {
  28577. "description": "列宽",
  28578. "type": "string"
  28579. },
  28580. "formatterstring": {
  28581. "description": "格式化字符",
  28582. "type": "string"
  28583. },
  28584. "formattertype": {
  28585. "description": "格式化类型",
  28586. "type": "string"
  28587. },
  28588. "groupname": {
  28589. "description": "表头分组名称",
  28590. "type": "string"
  28591. },
  28592. "isshow": {
  28593. "description": "是否显示 - 0:不显示 1:显示",
  28594. "type": "integer"
  28595. },
  28596. "needsummary": {
  28597. "description": "是否需要汇总 - 0:不需要 1:需要",
  28598. "type": "integer"
  28599. },
  28600. "orderindex": {
  28601. "description": "顺序",
  28602. "type": "integer"
  28603. },
  28604. "remark": {
  28605. "description": "备注",
  28606. "type": "string"
  28607. },
  28608. "summarytype": {
  28609. "description": "汇总类型 - 1:加总 2:最后一个",
  28610. "type": "integer"
  28611. },
  28612. "tablekey": {
  28613. "description": "列表Key",
  28614. "type": "string"
  28615. }
  28616. }
  28617. },
  28618. "models.UserCollectConfig": {
  28619. "type": "object",
  28620. "properties": {
  28621. "accountstatus": {
  28622. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28623. "type": "integer"
  28624. },
  28625. "collectaccountname": {
  28626. "description": "收款人账户名称",
  28627. "type": "string"
  28628. },
  28629. "collectaccountno": {
  28630. "description": "收款人账户",
  28631. "type": "string"
  28632. },
  28633. "collectbankname": {
  28634. "description": "收款人开户行",
  28635. "type": "string"
  28636. },
  28637. "collectbranchbankname": {
  28638. "description": "收款人开户支行",
  28639. "type": "string"
  28640. },
  28641. "collectconfigid": {
  28642. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28643. "type": "string"
  28644. },
  28645. "remark": {
  28646. "description": "备注",
  28647. "type": "string"
  28648. },
  28649. "userid": {
  28650. "description": "收款人用户ID",
  28651. "type": "integer"
  28652. }
  28653. }
  28654. },
  28655. "models.UserReceiveInfo": {
  28656. "type": "object",
  28657. "properties": {
  28658. "address": {
  28659. "description": "提货人详细地址",
  28660. "type": "string"
  28661. },
  28662. "autoid": {
  28663. "description": "AutoID",
  28664. "type": "integer"
  28665. },
  28666. "cardnum": {
  28667. "description": "证件号码(加密存储)",
  28668. "type": "string"
  28669. },
  28670. "cardtypeid": {
  28671. "description": "证件类型",
  28672. "type": "integer"
  28673. },
  28674. "cityid": {
  28675. "description": "市",
  28676. "type": "integer"
  28677. },
  28678. "cityname": {
  28679. "description": "城市名称",
  28680. "type": "string"
  28681. },
  28682. "countryid": {
  28683. "description": "国家",
  28684. "type": "integer"
  28685. },
  28686. "countryname": {
  28687. "description": "国家名称",
  28688. "type": "string"
  28689. },
  28690. "districtid": {
  28691. "description": "地区",
  28692. "type": "integer"
  28693. },
  28694. "districtname": {
  28695. "description": "地区名称",
  28696. "type": "string"
  28697. },
  28698. "hasencrypt": {
  28699. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28700. "type": "integer"
  28701. },
  28702. "isdefault": {
  28703. "description": "是否默认地址 - 0:否 1:是",
  28704. "type": "integer"
  28705. },
  28706. "phonenum": {
  28707. "description": "提货人联系方式(加密存储)",
  28708. "type": "string"
  28709. },
  28710. "provinceid": {
  28711. "description": "省",
  28712. "type": "integer"
  28713. },
  28714. "provincename": {
  28715. "description": "省名称",
  28716. "type": "string"
  28717. },
  28718. "receivername": {
  28719. "description": "提货人姓名",
  28720. "type": "string"
  28721. },
  28722. "takeremark": {
  28723. "description": "提货备注",
  28724. "type": "string"
  28725. },
  28726. "userid": {
  28727. "description": "用户ID",
  28728. "type": "integer"
  28729. }
  28730. }
  28731. },
  28732. "models.Useraccount": {
  28733. "type": "object",
  28734. "required": [
  28735. "userid"
  28736. ],
  28737. "properties": {
  28738. "accountname": {
  28739. "description": "账户名称(机构名称)",
  28740. "type": "string"
  28741. },
  28742. "accountstatus": {
  28743. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28744. "type": "integer"
  28745. },
  28746. "applysrc": {
  28747. "description": "申请来源 - 1:管理端 2:终端",
  28748. "type": "integer"
  28749. },
  28750. "auditremark": {
  28751. "description": "审核备注",
  28752. "type": "string"
  28753. },
  28754. "auditsrc": {
  28755. "description": "审核来源 - 1:管理端 2:终端",
  28756. "type": "integer"
  28757. },
  28758. "audittime": {
  28759. "description": "审核时间",
  28760. "type": "string"
  28761. },
  28762. "audituserid": {
  28763. "description": "审核人",
  28764. "type": "integer"
  28765. },
  28766. "broker": {
  28767. "description": "所属经纪人ID",
  28768. "type": "integer"
  28769. },
  28770. "canceltime": {
  28771. "description": "销户时间",
  28772. "type": "string"
  28773. },
  28774. "canceluserid": {
  28775. "description": "销户人",
  28776. "type": "integer"
  28777. },
  28778. "canrecommend": {
  28779. "description": "是否可推荐 - 0:不可 1;可",
  28780. "type": "integer"
  28781. },
  28782. "createtime": {
  28783. "description": "创建时间",
  28784. "type": "string"
  28785. },
  28786. "creatorid": {
  28787. "description": "创建人",
  28788. "type": "integer"
  28789. },
  28790. "hasauth": {
  28791. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28792. "type": "integer"
  28793. },
  28794. "isanonymous": {
  28795. "description": "是否匿名下单 - 0:否 1:是",
  28796. "type": "integer"
  28797. },
  28798. "maxinvestornum": {
  28799. "description": "最大用户数(经纪会员下投资者个数)",
  28800. "type": "integer"
  28801. },
  28802. "memberuserid": {
  28803. "description": "所属会员ID",
  28804. "type": "integer"
  28805. },
  28806. "modifierid": {
  28807. "description": "修改人",
  28808. "type": "integer"
  28809. },
  28810. "modifyremark": {
  28811. "description": "变更备注",
  28812. "type": "string"
  28813. },
  28814. "modifystatus": {
  28815. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28816. "type": "integer"
  28817. },
  28818. "modifytime": {
  28819. "description": "修改时间",
  28820. "type": "string"
  28821. },
  28822. "parenttopuser": {
  28823. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  28824. "type": "string"
  28825. },
  28826. "parentuserid": {
  28827. "description": "所属机构ID",
  28828. "type": "integer"
  28829. },
  28830. "reckonaccountid": {
  28831. "description": "默认结算资金账号ID(机构分润使用) 作废",
  28832. "type": "integer"
  28833. },
  28834. "refercount": {
  28835. "description": "推荐总人数",
  28836. "type": "integer"
  28837. },
  28838. "refereeuserid": {
  28839. "description": "推荐人ID",
  28840. "type": "integer"
  28841. },
  28842. "refernum": {
  28843. "description": "推荐码",
  28844. "type": "string"
  28845. },
  28846. "rootuserid": {
  28847. "description": "根用户ID",
  28848. "type": "integer"
  28849. },
  28850. "subaccountlevel": {
  28851. "description": "子账户层数",
  28852. "type": "integer"
  28853. },
  28854. "subarealevelpath": {
  28855. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  28856. "type": "string"
  28857. },
  28858. "userid": {
  28859. "description": "用户ID",
  28860. "type": "integer"
  28861. },
  28862. "usertype": {
  28863. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28864. "type": "integer"
  28865. }
  28866. }
  28867. },
  28868. "models.Userfavoritegoods": {
  28869. "type": "object",
  28870. "required": [
  28871. "goodsid"
  28872. ],
  28873. "properties": {
  28874. "goodsid": {
  28875. "description": "商品ID",
  28876. "type": "integer"
  28877. }
  28878. }
  28879. },
  28880. "models.Userinfo": {
  28881. "type": "object",
  28882. "required": [
  28883. "userid"
  28884. ],
  28885. "properties": {
  28886. "address": {
  28887. "description": "地址",
  28888. "type": "string"
  28889. },
  28890. "attachment1": {
  28891. "description": "附件1",
  28892. "type": "string"
  28893. },
  28894. "attachment2": {
  28895. "description": "附件2",
  28896. "type": "string"
  28897. },
  28898. "bankaccount": {
  28899. "description": "银行帐号 (加密存储)",
  28900. "type": "string"
  28901. },
  28902. "bankaccountname": {
  28903. "description": "收款人名称",
  28904. "type": "string"
  28905. },
  28906. "bankcardfrontphotourl": {
  28907. "description": "银行卡正面照地址",
  28908. "type": "string"
  28909. },
  28910. "bankid": {
  28911. "description": "银行编码",
  28912. "type": "string"
  28913. },
  28914. "bankname": {
  28915. "description": "银行名称",
  28916. "type": "string"
  28917. },
  28918. "biznature": {
  28919. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  28920. "type": "integer"
  28921. },
  28922. "bizscope": {
  28923. "description": "企业经营范围(企业)",
  28924. "type": "string"
  28925. },
  28926. "cardbackphotourl": {
  28927. "description": "证件背面图片地址",
  28928. "type": "string"
  28929. },
  28930. "cardfrontphotourl": {
  28931. "description": "证件正面图片地址",
  28932. "type": "string"
  28933. },
  28934. "cardnum": {
  28935. "description": "证件号码(加密存储)",
  28936. "type": "string"
  28937. },
  28938. "cardtypeid": {
  28939. "description": "证件类型ID",
  28940. "type": "integer"
  28941. },
  28942. "cityid": {
  28943. "description": "市",
  28944. "type": "integer"
  28945. },
  28946. "company": {
  28947. "description": "公司(个人)",
  28948. "type": "string"
  28949. },
  28950. "contactname": {
  28951. "description": "联系人",
  28952. "type": "string"
  28953. },
  28954. "countryid": {
  28955. "description": "国家",
  28956. "type": "integer"
  28957. },
  28958. "createtime": {
  28959. "description": "创建时间",
  28960. "type": "string"
  28961. },
  28962. "creatorid": {
  28963. "description": "创建人",
  28964. "type": "integer"
  28965. },
  28966. "customername": {
  28967. "description": "客户名称(企业名称)",
  28968. "type": "string"
  28969. },
  28970. "districtid": {
  28971. "description": "地区",
  28972. "type": "integer"
  28973. },
  28974. "email": {
  28975. "description": "邮件(加密存储)",
  28976. "type": "string"
  28977. },
  28978. "fax": {
  28979. "description": "传真(加密存储)",
  28980. "type": "string"
  28981. },
  28982. "halfbodyphotourl": {
  28983. "description": "半身照地址",
  28984. "type": "string"
  28985. },
  28986. "hasencrypt": {
  28987. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28988. "type": "integer"
  28989. },
  28990. "headurl": {
  28991. "description": "头像地址",
  28992. "type": "string"
  28993. },
  28994. "legalcardbackphotourl": {
  28995. "description": "法人身份证背面照地址",
  28996. "type": "string"
  28997. },
  28998. "legalcardfrontphotourl": {
  28999. "description": "法人身份证正面照地址",
  29000. "type": "string"
  29001. },
  29002. "legalpersonname": {
  29003. "description": "法人姓名(企业)",
  29004. "type": "string"
  29005. },
  29006. "mobile": {
  29007. "description": "手机号码(加密存储)",
  29008. "type": "string"
  29009. },
  29010. "mobile2": {
  29011. "description": "手机号码[明文-尚志]",
  29012. "type": "string"
  29013. },
  29014. "modifierid": {
  29015. "description": "修改人",
  29016. "type": "integer"
  29017. },
  29018. "modifiertime": {
  29019. "description": "修改时间",
  29020. "type": "string"
  29021. },
  29022. "needinvoice": {
  29023. "description": "是否需要发票 - 0:不需要 1:需要",
  29024. "type": "integer"
  29025. },
  29026. "nickname": {
  29027. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29028. "type": "string"
  29029. },
  29030. "openmode": {
  29031. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29032. "type": "integer"
  29033. },
  29034. "otherurl": {
  29035. "description": "其它图片地址[使用分号分隔]",
  29036. "type": "string"
  29037. },
  29038. "postalcode": {
  29039. "description": "邮政编码",
  29040. "type": "string"
  29041. },
  29042. "provinceid": {
  29043. "description": "省",
  29044. "type": "integer"
  29045. },
  29046. "qq": {
  29047. "description": "QQ(加密存储",
  29048. "type": "string"
  29049. },
  29050. "remark": {
  29051. "description": "备注",
  29052. "type": "string"
  29053. },
  29054. "sex": {
  29055. "description": "用户性别 0: 女 1: 男",
  29056. "type": "integer"
  29057. },
  29058. "signpdfurl": {
  29059. "description": "签约pdf文件",
  29060. "type": "string"
  29061. },
  29062. "telphone": {
  29063. "description": "联系电话(加密存储)",
  29064. "type": "string"
  29065. },
  29066. "userid": {
  29067. "description": "用户ID",
  29068. "type": "integer"
  29069. },
  29070. "userinfotype": {
  29071. "description": "用户信息类型 - 1:个人 2:企业",
  29072. "type": "integer"
  29073. },
  29074. "userstatus": {
  29075. "description": "用户状态 - 1:正常 2:注销",
  29076. "type": "integer"
  29077. },
  29078. "usertype": {
  29079. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29080. "type": "integer"
  29081. },
  29082. "wechat": {
  29083. "description": "微信(加密存储)",
  29084. "type": "string"
  29085. },
  29086. "wskhinfo": {
  29087. "description": "开户申请信息(JSON)",
  29088. "type": "string"
  29089. }
  29090. }
  29091. },
  29092. "models.WRSConverTDetail": {
  29093. "type": "object",
  29094. "properties": {
  29095. "convertratio": {
  29096. "description": "套保系数",
  29097. "type": "number"
  29098. },
  29099. "deliverygoodscode": {
  29100. "description": "现货商品代码",
  29101. "type": "string"
  29102. },
  29103. "deliverygoodsid": {
  29104. "description": "现货品种ID",
  29105. "type": "integer"
  29106. },
  29107. "deliverygoodsname": {
  29108. "description": "现货商品名称",
  29109. "type": "string"
  29110. },
  29111. "enumdicname": {
  29112. "description": "单位名称",
  29113. "type": "string"
  29114. },
  29115. "goodsunitid": {
  29116. "description": "套保品种单位id",
  29117. "type": "integer"
  29118. },
  29119. "middlegoodscode": {
  29120. "description": "套保品种代码",
  29121. "type": "string"
  29122. },
  29123. "middlegoodsid": {
  29124. "description": "套保品种ID",
  29125. "type": "integer"
  29126. },
  29127. "middlegoodsname": {
  29128. "description": "套保品种名称",
  29129. "type": "string"
  29130. },
  29131. "modifytime": {
  29132. "description": "修改时间",
  29133. "type": "string"
  29134. },
  29135. "wrstandardid": {
  29136. "description": "品类ID",
  29137. "type": "integer"
  29138. }
  29139. }
  29140. },
  29141. "models.WRStandardInfo": {
  29142. "type": "object",
  29143. "required": [
  29144. "wrstandardid"
  29145. ],
  29146. "properties": {
  29147. "areauserid": {
  29148. "description": "所属机构",
  29149. "type": "integer"
  29150. },
  29151. "convertfactor": {
  29152. "description": "标仓系数",
  29153. "type": "number"
  29154. },
  29155. "createtime": {
  29156. "description": "创建时间",
  29157. "type": "string"
  29158. },
  29159. "creatorid": {
  29160. "description": "创建人",
  29161. "type": "integer"
  29162. },
  29163. "deliverygoodsid": {
  29164. "description": "品种ID",
  29165. "type": "integer"
  29166. },
  29167. "deliverygoodsname": {
  29168. "description": "交割商品名称",
  29169. "type": "string"
  29170. },
  29171. "factoryitemjson": {
  29172. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29173. "type": "string"
  29174. },
  29175. "isvalid": {
  29176. "description": "是否有效 - 0:无效 1:有效",
  29177. "type": "integer"
  29178. },
  29179. "minivalue": {
  29180. "description": "最小变动值",
  29181. "type": "integer"
  29182. },
  29183. "minivaluedp": {
  29184. "description": "最小变动值小数位",
  29185. "type": "integer"
  29186. },
  29187. "realminivalue": {
  29188. "description": "实际最小变动值",
  29189. "type": "integer"
  29190. },
  29191. "realminivaluedp": {
  29192. "description": "实际最小变动值小数位",
  29193. "type": "integer"
  29194. },
  29195. "remark": {
  29196. "description": "备注",
  29197. "type": "string"
  29198. },
  29199. "unitid": {
  29200. "description": "单位ID",
  29201. "type": "integer"
  29202. },
  29203. "unitname": {
  29204. "description": "单位",
  29205. "type": "string"
  29206. },
  29207. "updatetime": {
  29208. "description": "更新时间",
  29209. "type": "string"
  29210. },
  29211. "updatorid": {
  29212. "description": "更新人",
  29213. "type": "integer"
  29214. },
  29215. "wrsstatus": {
  29216. "description": "状态 - 作废 - 0:未激活 1:正常",
  29217. "type": "integer"
  29218. },
  29219. "wrstandardcode": {
  29220. "description": "现货品类代码",
  29221. "type": "string"
  29222. },
  29223. "wrstandardid": {
  29224. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29225. "type": "integer"
  29226. },
  29227. "wrstandardname": {
  29228. "description": "现货品类名称",
  29229. "type": "string"
  29230. }
  29231. }
  29232. },
  29233. "models.Warehouseinfo": {
  29234. "type": "object",
  29235. "required": [
  29236. "autoid",
  29237. "warehousecode"
  29238. ],
  29239. "properties": {
  29240. "address": {
  29241. "description": "详细地址",
  29242. "type": "string"
  29243. },
  29244. "areauserid": {
  29245. "description": "所属机构",
  29246. "type": "integer"
  29247. },
  29248. "autoid": {
  29249. "description": "自增ID",
  29250. "type": "integer"
  29251. },
  29252. "cityid": {
  29253. "description": "市",
  29254. "type": "integer"
  29255. },
  29256. "contactname": {
  29257. "description": "联系人",
  29258. "type": "string"
  29259. },
  29260. "contactnum": {
  29261. "description": "联系电话",
  29262. "type": "string"
  29263. },
  29264. "countryid": {
  29265. "description": "国家",
  29266. "type": "integer"
  29267. },
  29268. "createtime": {
  29269. "description": "创建时间",
  29270. "type": "string"
  29271. },
  29272. "districtid": {
  29273. "description": "区",
  29274. "type": "integer"
  29275. },
  29276. "hasvideo": {
  29277. "description": "是否有视频 - 0:无 1:有",
  29278. "type": "integer"
  29279. },
  29280. "provinceid": {
  29281. "description": "省",
  29282. "type": "integer"
  29283. },
  29284. "remark": {
  29285. "description": "审核备注",
  29286. "type": "string"
  29287. },
  29288. "videourl": {
  29289. "description": "视频地址",
  29290. "type": "string"
  29291. },
  29292. "warehousecode": {
  29293. "description": "仓库代码",
  29294. "type": "string"
  29295. },
  29296. "warehousename": {
  29297. "description": "仓库名称",
  29298. "type": "string"
  29299. },
  29300. "warehousestatus": {
  29301. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29302. "type": "integer"
  29303. },
  29304. "warehousetype": {
  29305. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29306. "type": "integer"
  29307. }
  29308. }
  29309. },
  29310. "models.WrGoodsInfo": {
  29311. "type": "object",
  29312. "properties": {
  29313. "haswr": {
  29314. "description": "0:仓单预售 1:仓单贸易",
  29315. "type": "integer"
  29316. },
  29317. "lstitem": {
  29318. "description": "商品信息项",
  29319. "type": "array",
  29320. "items": {
  29321. "$ref": "#/definitions/models.WrTypeItem"
  29322. }
  29323. },
  29324. "lststep": {
  29325. "description": "履约规则",
  29326. "type": "array",
  29327. "items": {
  29328. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29329. }
  29330. },
  29331. "marketid": {
  29332. "description": "市场id",
  29333. "type": "integer"
  29334. }
  29335. }
  29336. },
  29337. "models.WrGoodsPerformanceStep": {
  29338. "type": "object",
  29339. "properties": {
  29340. "autoid": {
  29341. "description": "AutoID",
  29342. "type": "integer"
  29343. },
  29344. "isauto": {
  29345. "description": "是否自动 - 0:不自动 1:自动",
  29346. "type": "integer"
  29347. },
  29348. "remark": {
  29349. "description": "备注",
  29350. "type": "string"
  29351. },
  29352. "stepdate": {
  29353. "description": "天数信息(T+N)",
  29354. "type": "string"
  29355. },
  29356. "stepdays": {
  29357. "description": "距离上一步天数",
  29358. "type": "integer"
  29359. },
  29360. "stepindex": {
  29361. "description": "步骤序号",
  29362. "type": "integer"
  29363. },
  29364. "stepinfo": {
  29365. "description": "步骤信息(步骤名称+步骤值)",
  29366. "type": "string"
  29367. },
  29368. "steptypeid": {
  29369. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29370. "type": "integer"
  29371. },
  29372. "steptypename": {
  29373. "description": "步骤名称",
  29374. "type": "string"
  29375. },
  29376. "stepvalue": {
  29377. "description": "步骤值",
  29378. "type": "number"
  29379. },
  29380. "templateid": {
  29381. "description": "履约计划模板ID",
  29382. "type": "integer"
  29383. }
  29384. }
  29385. },
  29386. "models.WrHoldLB": {
  29387. "type": "object",
  29388. "properties": {
  29389. "accountid": {
  29390. "description": "持有人帐户ID",
  29391. "type": "integer"
  29392. },
  29393. "createtime": {
  29394. "description": "创建时间(过户时间)",
  29395. "type": "string"
  29396. },
  29397. "deliverygoodscode": {
  29398. "description": "品种代码",
  29399. "type": "string"
  29400. },
  29401. "deliverygoodsid": {
  29402. "description": "品种ID",
  29403. "type": "integer"
  29404. },
  29405. "deliverygoodsname": {
  29406. "description": "品种名称",
  29407. "type": "string"
  29408. },
  29409. "enableqty": {
  29410. "description": "可用数量",
  29411. "type": "number"
  29412. },
  29413. "enumdicname": {
  29414. "description": "单位名称",
  29415. "type": "string"
  29416. },
  29417. "freezerqty": {
  29418. "description": "冻结数量",
  29419. "type": "number"
  29420. },
  29421. "ladingbillid": {
  29422. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29423. "type": "integer"
  29424. },
  29425. "optioncompare": {
  29426. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29427. "type": "string"
  29428. },
  29429. "parentsubnum": {
  29430. "description": "拆分父子单号",
  29431. "type": "integer"
  29432. },
  29433. "qty": {
  29434. "description": "数量",
  29435. "type": "number"
  29436. },
  29437. "subnum": {
  29438. "description": "提单子单号",
  29439. "type": "integer"
  29440. },
  29441. "tradedate": {
  29442. "description": "交易日(yyyyMMdd)",
  29443. "type": "string"
  29444. },
  29445. "userid": {
  29446. "description": "持有人ID",
  29447. "type": "integer"
  29448. },
  29449. "warehouseid": {
  29450. "description": "仓库ID",
  29451. "type": "integer"
  29452. },
  29453. "warehousename": {
  29454. "description": "仓库名称",
  29455. "type": "string"
  29456. },
  29457. "wrfactortypeid": {
  29458. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29459. "type": "integer"
  29460. },
  29461. "wrfactortypename": {
  29462. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29463. "type": "string"
  29464. },
  29465. "wrholdeno": {
  29466. "description": "仓单编号",
  29467. "type": "string"
  29468. },
  29469. "wrid": {
  29470. "description": "仓单变更ID",
  29471. "type": "integer"
  29472. },
  29473. "wrstandardcode": {
  29474. "description": "现货商品代码",
  29475. "type": "string"
  29476. },
  29477. "wrstandardid": {
  29478. "description": "现货商品ID",
  29479. "type": "integer"
  29480. },
  29481. "wrstandardname": {
  29482. "description": "商品名称",
  29483. "type": "string"
  29484. },
  29485. "wrtypename": {
  29486. "description": "商品",
  29487. "type": "string"
  29488. }
  29489. }
  29490. },
  29491. "models.WrOrderDetail": {
  29492. "type": "object",
  29493. "properties": {
  29494. "buyorsell": {
  29495. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29496. "type": "integer"
  29497. },
  29498. "cancelqty": {
  29499. "description": "撤销数量",
  29500. "type": "number"
  29501. },
  29502. "deliverygoodscode": {
  29503. "description": "品种代码",
  29504. "type": "string"
  29505. },
  29506. "deliverygoodsid": {
  29507. "description": "品种ID",
  29508. "type": "integer"
  29509. },
  29510. "deliverygoodsname": {
  29511. "description": "品种名称",
  29512. "type": "string"
  29513. },
  29514. "deliverymonth": {
  29515. "description": "交收月",
  29516. "type": "string"
  29517. },
  29518. "enumdicname": {
  29519. "description": "单位名称",
  29520. "type": "string"
  29521. },
  29522. "fixedprice": {
  29523. "description": "固定价格 - [挂牌]",
  29524. "type": "number"
  29525. },
  29526. "futupricemove": {
  29527. "description": "期货升贴水",
  29528. "type": "number"
  29529. },
  29530. "futushow": {
  29531. "description": "期货合约/升贴水",
  29532. "type": "string"
  29533. },
  29534. "goodscode": {
  29535. "description": "期货合约",
  29536. "type": "string"
  29537. },
  29538. "goodsid": {
  29539. "description": "期货商品id",
  29540. "type": "integer"
  29541. },
  29542. "haswr": {
  29543. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29544. "type": "integer"
  29545. },
  29546. "marketid": {
  29547. "description": "市场ID",
  29548. "type": "integer"
  29549. },
  29550. "optioncompare": {
  29551. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29552. "type": "string"
  29553. },
  29554. "orderqty": {
  29555. "description": "委托数量",
  29556. "type": "number"
  29557. },
  29558. "ordertime": {
  29559. "description": "委托时间(挂牌时间)",
  29560. "type": "string"
  29561. },
  29562. "pricemove": {
  29563. "description": "升贴水(浮动价时填写) - [挂牌]",
  29564. "type": "number"
  29565. },
  29566. "tradedate": {
  29567. "description": "交易日(yyyyMMdd)",
  29568. "type": "string"
  29569. },
  29570. "tradeprice": {
  29571. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29572. "type": "number"
  29573. },
  29574. "tradeqty": {
  29575. "description": "成交数量",
  29576. "type": "number"
  29577. },
  29578. "userid": {
  29579. "description": "用户ID",
  29580. "type": "integer"
  29581. },
  29582. "warehouseid": {
  29583. "description": "仓库ID",
  29584. "type": "integer"
  29585. },
  29586. "warehousename": {
  29587. "description": "仓库名称",
  29588. "type": "string"
  29589. },
  29590. "wrfactortypeid": {
  29591. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29592. "type": "integer"
  29593. },
  29594. "wrfactortypename": {
  29595. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29596. "type": "string"
  29597. },
  29598. "wrpricetype": {
  29599. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29600. "type": "integer"
  29601. },
  29602. "wrstandardcode": {
  29603. "description": "现货商品代码",
  29604. "type": "string"
  29605. },
  29606. "wrstandardid": {
  29607. "description": "现货商品ID",
  29608. "type": "integer"
  29609. },
  29610. "wrstandardname": {
  29611. "description": "商品名称",
  29612. "type": "string"
  29613. },
  29614. "wrtradeorderid": {
  29615. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29616. "type": "string"
  29617. },
  29618. "wrtradeorderstatus": {
  29619. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29620. "type": "integer"
  29621. },
  29622. "wrtradetype": {
  29623. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29624. "type": "integer"
  29625. },
  29626. "wrtypename": {
  29627. "description": "商品",
  29628. "type": "string"
  29629. }
  29630. }
  29631. },
  29632. "models.WrOrderQuote": {
  29633. "type": "object",
  29634. "properties": {
  29635. "buyprice": {
  29636. "description": "买价",
  29637. "type": "number"
  29638. },
  29639. "buypricemove": {
  29640. "description": "买升贴水(基差)",
  29641. "type": "number"
  29642. },
  29643. "buyqty": {
  29644. "description": "买量",
  29645. "type": "number"
  29646. },
  29647. "deliverygoodscode": {
  29648. "description": "品种代码",
  29649. "type": "string"
  29650. },
  29651. "deliverygoodsid": {
  29652. "description": "品种id",
  29653. "type": "integer"
  29654. },
  29655. "deliverygoodsname": {
  29656. "description": "品种名称",
  29657. "type": "string"
  29658. },
  29659. "deliverymonth": {
  29660. "description": "交收月",
  29661. "type": "string"
  29662. },
  29663. "goodscode": {
  29664. "description": "商品合约(浮动价列表才有)",
  29665. "type": "string"
  29666. },
  29667. "goodsid": {
  29668. "description": "商品id(浮动价列表才有)",
  29669. "type": "integer"
  29670. },
  29671. "sellprice": {
  29672. "description": "卖价",
  29673. "type": "number"
  29674. },
  29675. "sellpricemove": {
  29676. "description": "卖升贴水(基差)",
  29677. "type": "number"
  29678. },
  29679. "sellqty": {
  29680. "description": "卖量",
  29681. "type": "number"
  29682. },
  29683. "warehousecode": {
  29684. "description": "仓库代码",
  29685. "type": "string"
  29686. },
  29687. "warehouseid": {
  29688. "description": "仓库id",
  29689. "type": "integer"
  29690. },
  29691. "warehousename": {
  29692. "description": "仓库名称",
  29693. "type": "string"
  29694. },
  29695. "wrfactortypeid": {
  29696. "description": "仓单要素id",
  29697. "type": "integer"
  29698. },
  29699. "wrfactortypename": {
  29700. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29701. "type": "string"
  29702. },
  29703. "wrgoodsname": {
  29704. "description": "商品(商品名称+仓库要素名称 拼接)",
  29705. "type": "string"
  29706. },
  29707. "wrstandardcode": {
  29708. "description": "商品代码",
  29709. "type": "string"
  29710. },
  29711. "wrstandardid": {
  29712. "description": "商品id",
  29713. "type": "integer"
  29714. },
  29715. "wrstandardname": {
  29716. "description": "商品名称",
  29717. "type": "string"
  29718. }
  29719. }
  29720. },
  29721. "models.WrOrderQuoteDetail": {
  29722. "type": "object",
  29723. "properties": {
  29724. "buyorsell": {
  29725. "description": "买卖 - 0:买 1:卖",
  29726. "type": "integer"
  29727. },
  29728. "fixedprice": {
  29729. "description": "买(卖)价",
  29730. "type": "number"
  29731. },
  29732. "orderqty": {
  29733. "description": "买(卖)量(=委托量-成交量)",
  29734. "type": "number"
  29735. },
  29736. "pricemove": {
  29737. "description": "买(卖)升贴水- 基差",
  29738. "type": "number"
  29739. },
  29740. "userid": {
  29741. "description": "购买方(销售方)用户ID",
  29742. "type": "integer"
  29743. },
  29744. "username": {
  29745. "description": "购买方(销售方)",
  29746. "type": "string"
  29747. },
  29748. "wrtradeorderid": {
  29749. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29750. "type": "string"
  29751. }
  29752. }
  29753. },
  29754. "models.WrPerformancePlan": {
  29755. "type": "object",
  29756. "required": [
  29757. "userid"
  29758. ],
  29759. "properties": {
  29760. "amount": {
  29761. "description": "履约金额(总金额)",
  29762. "type": "number"
  29763. },
  29764. "buyaccountid": {
  29765. "description": "买方账号",
  29766. "type": "integer"
  29767. },
  29768. "buyerfreezeamount": {
  29769. "description": "履约冻结(买履约)",
  29770. "type": "number"
  29771. },
  29772. "buyerfreezeamountremain": {
  29773. "description": "履约冻结剩余(买履约)",
  29774. "type": "number"
  29775. },
  29776. "buyorsell": {
  29777. "description": "买卖方向 0-买 1-卖",
  29778. "type": "integer"
  29779. },
  29780. "buypaidamount": {
  29781. "description": "买方已冻/已扣金额 (已付金额)",
  29782. "type": "number"
  29783. },
  29784. "buyusername": {
  29785. "description": "买方名字",
  29786. "type": "string"
  29787. },
  29788. "contractid": {
  29789. "description": "合同ID",
  29790. "type": "integer"
  29791. },
  29792. "createtime": {
  29793. "description": "创建时间(开始时间)",
  29794. "type": "string"
  29795. },
  29796. "creatorid": {
  29797. "description": "创建人",
  29798. "type": "integer"
  29799. },
  29800. "curstepdeadline": {
  29801. "description": "当前步骤到期时间",
  29802. "type": "string"
  29803. },
  29804. "curstepid": {
  29805. "description": "当前步骤ID",
  29806. "type": "integer"
  29807. },
  29808. "curstepname": {
  29809. "description": "当前步骤名称",
  29810. "type": "string"
  29811. },
  29812. "deliverygoodscode": {
  29813. "description": "品种代码",
  29814. "type": "string"
  29815. },
  29816. "deliverygoodsid": {
  29817. "description": "品种ID",
  29818. "type": "integer"
  29819. },
  29820. "deliverygoodsname": {
  29821. "description": "品种名称",
  29822. "type": "string"
  29823. },
  29824. "enumdicname": {
  29825. "description": "单位名称",
  29826. "type": "string"
  29827. },
  29828. "expressfee": {
  29829. "description": "运费",
  29830. "type": "number"
  29831. },
  29832. "expressfeeconfirmed": {
  29833. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  29834. "type": "integer"
  29835. },
  29836. "hasovershort": {
  29837. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  29838. "type": "integer"
  29839. },
  29840. "haswr": {
  29841. "description": "类型 0-仓单预售 1-仓单贸易",
  29842. "type": "integer"
  29843. },
  29844. "marketid": {
  29845. "description": "市场ID",
  29846. "type": "integer"
  29847. },
  29848. "middleaccountid": {
  29849. "description": "中间商资金账号ID",
  29850. "type": "integer"
  29851. },
  29852. "middleuserid": {
  29853. "description": "中间商用户ID",
  29854. "type": "integer"
  29855. },
  29856. "optioncompare": {
  29857. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29858. "type": "string"
  29859. },
  29860. "overshortamount": {
  29861. "description": "溢短金额",
  29862. "type": "number"
  29863. },
  29864. "overshortqty": {
  29865. "description": "溢短数量",
  29866. "type": "number"
  29867. },
  29868. "paymenttype": {
  29869. "description": "付款方式 - 1:冻结 2:扣款",
  29870. "type": "integer"
  29871. },
  29872. "performanceplanid": {
  29873. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  29874. "type": "integer"
  29875. },
  29876. "performancestatus": {
  29877. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  29878. "type": "integer"
  29879. },
  29880. "performancetype": {
  29881. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  29882. "type": "integer"
  29883. },
  29884. "qty": {
  29885. "description": "履约数量",
  29886. "type": "number"
  29887. },
  29888. "relatedorderid": {
  29889. "description": "关联单号(履约类型的关联单号)",
  29890. "type": "string"
  29891. },
  29892. "remark": {
  29893. "description": "备注",
  29894. "type": "string"
  29895. },
  29896. "sellaccountid": {
  29897. "description": "卖方账号",
  29898. "type": "integer"
  29899. },
  29900. "sellerfreezeamount": {
  29901. "description": "履约冻结(卖履约)",
  29902. "type": "number"
  29903. },
  29904. "sellerfreezeamountremain": {
  29905. "description": "履约冻结剩余(卖履约)",
  29906. "type": "number"
  29907. },
  29908. "sellreceivedamount": {
  29909. "description": "卖方已收金额",
  29910. "type": "number"
  29911. },
  29912. "sellusername": {
  29913. "description": "卖方名字",
  29914. "type": "string"
  29915. },
  29916. "shipremark": {
  29917. "description": "发货备注[物流单号]",
  29918. "type": "string"
  29919. },
  29920. "userid": {
  29921. "description": "用户id",
  29922. "type": "integer"
  29923. },
  29924. "warehouseid": {
  29925. "description": "仓库ID",
  29926. "type": "integer"
  29927. },
  29928. "warehousename": {
  29929. "description": "仓库名称",
  29930. "type": "string"
  29931. },
  29932. "wrfactortypeid": {
  29933. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29934. "type": "integer"
  29935. },
  29936. "wrfactortypename": {
  29937. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29938. "type": "string"
  29939. },
  29940. "wrstandardcode": {
  29941. "description": "现货商品代码",
  29942. "type": "string"
  29943. },
  29944. "wrstandardid": {
  29945. "description": "现货商品ID",
  29946. "type": "integer"
  29947. },
  29948. "wrstandardname": {
  29949. "description": "商品名称",
  29950. "type": "string"
  29951. },
  29952. "wrtransferuserid": {
  29953. "description": "仓单受让用户",
  29954. "type": "integer"
  29955. },
  29956. "wrtypename": {
  29957. "description": "商品",
  29958. "type": "string"
  29959. }
  29960. }
  29961. },
  29962. "models.WrPosition": {
  29963. "type": "object",
  29964. "properties": {
  29965. "accountid": {
  29966. "description": "帐户ID",
  29967. "type": "integer"
  29968. },
  29969. "buyexcuteqty": {
  29970. "description": "采购履约中数量",
  29971. "type": "number"
  29972. },
  29973. "creditcurqty": {
  29974. "description": "授信当前数量(预售仓单:预售当前量)",
  29975. "type": "number"
  29976. },
  29977. "creditenableqty": {
  29978. "description": "授信可用数量(预售仓单: 可用数量)",
  29979. "type": "number"
  29980. },
  29981. "creditfreezeqty": {
  29982. "description": "授信冻结数量(预售仓单: 当前数量)",
  29983. "type": "number"
  29984. },
  29985. "credittotalqty": {
  29986. "description": "授信总数量(预售仓单:预售总量)",
  29987. "type": "number"
  29988. },
  29989. "credittradeqty": {
  29990. "description": "授信成交数量(预售仓单:成交总量)",
  29991. "type": "number"
  29992. },
  29993. "deliverygoodscode": {
  29994. "description": "品种代码",
  29995. "type": "string"
  29996. },
  29997. "deliverygoodsid": {
  29998. "description": "品种ID",
  29999. "type": "integer"
  30000. },
  30001. "deliverygoodsname": {
  30002. "description": "品种名称",
  30003. "type": "string"
  30004. },
  30005. "enalbeqty": {
  30006. "description": "可用数量",
  30007. "type": "number"
  30008. },
  30009. "enumdicname": {
  30010. "description": "单位名称",
  30011. "type": "string"
  30012. },
  30013. "freezeqty": {
  30014. "description": "总冻结数量",
  30015. "type": "number"
  30016. },
  30017. "modifytime": {
  30018. "description": "修改时间(过户时间)",
  30019. "type": "string"
  30020. },
  30021. "optioncompare": {
  30022. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30023. "type": "string"
  30024. },
  30025. "pledgeqty": {
  30026. "description": "质押数量",
  30027. "type": "number"
  30028. },
  30029. "querytype": {
  30030. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细",
  30031. "type": "integer"
  30032. },
  30033. "sellexcuteqty": {
  30034. "description": "销售履约中数量",
  30035. "type": "number"
  30036. },
  30037. "totalqty": {
  30038. "description": "总数量(库存数量)",
  30039. "type": "number"
  30040. },
  30041. "warehouseid": {
  30042. "description": "仓库ID",
  30043. "type": "integer"
  30044. },
  30045. "warehousename": {
  30046. "description": "仓库名称",
  30047. "type": "string"
  30048. },
  30049. "wrfactortypeid": {
  30050. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30051. "type": "integer"
  30052. },
  30053. "wrfactortypename": {
  30054. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30055. "type": "string"
  30056. },
  30057. "wrpositionid": {
  30058. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30059. "type": "integer"
  30060. },
  30061. "wrpositionno": {
  30062. "description": "仓单编号",
  30063. "type": "string"
  30064. },
  30065. "wrstandardcode": {
  30066. "description": "现货商品代码",
  30067. "type": "string"
  30068. },
  30069. "wrstandardid": {
  30070. "description": "现货商品ID",
  30071. "type": "integer"
  30072. },
  30073. "wrstandardname": {
  30074. "description": "商品名称",
  30075. "type": "string"
  30076. },
  30077. "wrtypename": {
  30078. "description": "商品",
  30079. "type": "string"
  30080. },
  30081. "wruserid": {
  30082. "description": "持有人ID",
  30083. "type": "integer"
  30084. }
  30085. }
  30086. },
  30087. "models.WrSpecialMatchOrder": {
  30088. "type": "object",
  30089. "properties": {
  30090. "amount": {
  30091. "description": "金额 = 数量 * 价格",
  30092. "type": "number"
  30093. },
  30094. "buyorsell": {
  30095. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30096. "type": "integer"
  30097. },
  30098. "cancelqty": {
  30099. "description": "撤销数量",
  30100. "type": "number"
  30101. },
  30102. "deliverygoodscode": {
  30103. "description": "品种代码",
  30104. "type": "string"
  30105. },
  30106. "deliverygoodsid": {
  30107. "description": "品种ID",
  30108. "type": "integer"
  30109. },
  30110. "deliverygoodsname": {
  30111. "description": "品种名称",
  30112. "type": "string"
  30113. },
  30114. "enumdicname": {
  30115. "description": "单位名称",
  30116. "type": "string"
  30117. },
  30118. "fixedprice": {
  30119. "description": "固定价格(价格)",
  30120. "type": "number"
  30121. },
  30122. "haswr": {
  30123. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30124. "type": "integer"
  30125. },
  30126. "marketid": {
  30127. "description": "市场ID",
  30128. "type": "integer"
  30129. },
  30130. "matchuserid": {
  30131. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  30132. "type": "integer"
  30133. },
  30134. "matchusername": {
  30135. "description": "指定方",
  30136. "type": "string"
  30137. },
  30138. "optioncompare": {
  30139. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30140. "type": "string"
  30141. },
  30142. "orderqty": {
  30143. "description": "委托数量",
  30144. "type": "number"
  30145. },
  30146. "ordertime": {
  30147. "description": "委托时间",
  30148. "type": "string"
  30149. },
  30150. "pricemove": {
  30151. "description": "升贴水(浮动价时填写) - [挂牌]",
  30152. "type": "number"
  30153. },
  30154. "tradedate": {
  30155. "description": "交易日(yyyyMMdd)",
  30156. "type": "string"
  30157. },
  30158. "tradeprice": {
  30159. "description": "成交价格",
  30160. "type": "number"
  30161. },
  30162. "tradeqty": {
  30163. "description": "成交数量",
  30164. "type": "number"
  30165. },
  30166. "userid": {
  30167. "description": "用户ID",
  30168. "type": "integer"
  30169. },
  30170. "username": {
  30171. "description": "发起方",
  30172. "type": "string"
  30173. },
  30174. "warehouseid": {
  30175. "description": "仓库ID",
  30176. "type": "integer"
  30177. },
  30178. "warehousename": {
  30179. "description": "仓库名称",
  30180. "type": "string"
  30181. },
  30182. "wrfactortypeid": {
  30183. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30184. "type": "integer"
  30185. },
  30186. "wrfactortypename": {
  30187. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30188. "type": "string"
  30189. },
  30190. "wrpricetype": {
  30191. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30192. "type": "integer"
  30193. },
  30194. "wrstandardcode": {
  30195. "description": "现货商品代码",
  30196. "type": "string"
  30197. },
  30198. "wrstandardid": {
  30199. "description": "现货商品ID",
  30200. "type": "integer"
  30201. },
  30202. "wrstandardname": {
  30203. "description": "商品名称",
  30204. "type": "string"
  30205. },
  30206. "wrtradeorderid": {
  30207. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30208. "type": "string"
  30209. },
  30210. "wrtradeorderstatus": {
  30211. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30212. "type": "integer"
  30213. },
  30214. "wrtradetype": {
  30215. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30216. "type": "integer"
  30217. },
  30218. "wrtypename": {
  30219. "description": "商品",
  30220. "type": "string"
  30221. }
  30222. }
  30223. },
  30224. "models.WrTradeDetail": {
  30225. "type": "object",
  30226. "properties": {
  30227. "accountid": {
  30228. "description": "资金账号",
  30229. "type": "integer"
  30230. },
  30231. "buyorsell": {
  30232. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30233. "type": "integer"
  30234. },
  30235. "deliverygoodscode": {
  30236. "description": "品种代码",
  30237. "type": "string"
  30238. },
  30239. "deliverygoodsid": {
  30240. "description": "品种ID",
  30241. "type": "integer"
  30242. },
  30243. "deliverygoodsname": {
  30244. "description": "品种名称",
  30245. "type": "string"
  30246. },
  30247. "deliverymonth": {
  30248. "description": "交收月",
  30249. "type": "string"
  30250. },
  30251. "enumdicname": {
  30252. "description": "单位名称",
  30253. "type": "string"
  30254. },
  30255. "haswr": {
  30256. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30257. "type": "integer"
  30258. },
  30259. "marketid": {
  30260. "description": "市场ID",
  30261. "type": "integer"
  30262. },
  30263. "matchaccountid": {
  30264. "description": "对手账号",
  30265. "type": "integer"
  30266. },
  30267. "matchusername": {
  30268. "description": "对手方",
  30269. "type": "string"
  30270. },
  30271. "optioncompare": {
  30272. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30273. "type": "string"
  30274. },
  30275. "tradedate": {
  30276. "description": "交易日(yyyyMMdd)",
  30277. "type": "string"
  30278. },
  30279. "tradeprice": {
  30280. "description": "成交价格",
  30281. "type": "number"
  30282. },
  30283. "tradeqty": {
  30284. "description": "成交数量",
  30285. "type": "number"
  30286. },
  30287. "tradetime": {
  30288. "description": "成交时间",
  30289. "type": "string"
  30290. },
  30291. "userid": {
  30292. "description": "用户ID",
  30293. "type": "integer"
  30294. },
  30295. "warehouseid": {
  30296. "description": "仓库ID",
  30297. "type": "integer"
  30298. },
  30299. "warehousename": {
  30300. "description": "仓库名称",
  30301. "type": "string"
  30302. },
  30303. "wrfactortypeid": {
  30304. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30305. "type": "integer"
  30306. },
  30307. "wrfactortypename": {
  30308. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30309. "type": "string"
  30310. },
  30311. "wrstandardcode": {
  30312. "description": "现货商品代码",
  30313. "type": "string"
  30314. },
  30315. "wrstandardid": {
  30316. "description": "现货商品ID",
  30317. "type": "integer"
  30318. },
  30319. "wrstandardname": {
  30320. "description": "商品名称",
  30321. "type": "string"
  30322. },
  30323. "wrtradedetailid": {
  30324. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30325. "type": "string"
  30326. },
  30327. "wrtradetype": {
  30328. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30329. "type": "integer"
  30330. },
  30331. "wrtypename": {
  30332. "description": "商品",
  30333. "type": "string"
  30334. }
  30335. }
  30336. },
  30337. "models.WrTypeItem": {
  30338. "type": "object",
  30339. "properties": {
  30340. "name": {
  30341. "description": "名称",
  30342. "type": "string"
  30343. },
  30344. "value": {
  30345. "description": "值",
  30346. "type": "string"
  30347. }
  30348. }
  30349. },
  30350. "order.QueryHisTradeDetailRsp": {
  30351. "type": "object",
  30352. "required": [
  30353. "accountid",
  30354. "buyorsell",
  30355. "goodsid",
  30356. "histradedate",
  30357. "marketid",
  30358. "memberuserid",
  30359. "orderid",
  30360. "tradeamount",
  30361. "tradedate",
  30362. "tradeid",
  30363. "tradeprice",
  30364. "tradeqty",
  30365. "tradetime"
  30366. ],
  30367. "properties": {
  30368. "accountid": {
  30369. "description": "账户ID[报价币种]",
  30370. "type": "integer"
  30371. },
  30372. "advanceratio": {
  30373. "description": "首付比率",
  30374. "type": "number"
  30375. },
  30376. "buildtype": {
  30377. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30378. "type": "integer"
  30379. },
  30380. "buyorsell": {
  30381. "description": "方向 - 0:买 1:卖",
  30382. "type": "integer"
  30383. },
  30384. "charge": {
  30385. "description": "手续费",
  30386. "type": "number"
  30387. },
  30388. "closecharge": {
  30389. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30390. "type": "number"
  30391. },
  30392. "closeexchagechargevalue": {
  30393. "description": "平仓交易所手续费设置值",
  30394. "type": "number"
  30395. },
  30396. "closefeealgorithm": {
  30397. "description": "平仓手续费收取方式 1:比率 2:固定",
  30398. "type": "integer"
  30399. },
  30400. "closememberchargevalue": {
  30401. "description": "平仓会员手续费设置值",
  30402. "type": "number"
  30403. },
  30404. "closepl": {
  30405. "description": "平仓盈亏",
  30406. "type": "number"
  30407. },
  30408. "closepl2": {
  30409. "description": "平仓盈亏[逐笔]",
  30410. "type": "number"
  30411. },
  30412. "closeqty": {
  30413. "description": "平仓数量(先建后平操作 需要记录)",
  30414. "type": "number"
  30415. },
  30416. "creditamount": {
  30417. "description": "授信金额",
  30418. "type": "number"
  30419. },
  30420. "decimalplace": {
  30421. "description": "商品报价小数位",
  30422. "type": "integer"
  30423. },
  30424. "enumdicname": {
  30425. "description": "单位名称",
  30426. "type": "string"
  30427. },
  30428. "gcaccountid": {
  30429. "description": "账户ID[合约币种]",
  30430. "type": "integer"
  30431. },
  30432. "goodscode": {
  30433. "description": "商品代码",
  30434. "type": "string"
  30435. },
  30436. "goodsid": {
  30437. "description": "商品ID",
  30438. "type": "integer"
  30439. },
  30440. "goodsname": {
  30441. "description": "商品名称",
  30442. "type": "string"
  30443. },
  30444. "goodunitid": {
  30445. "description": "商品单位id",
  30446. "type": "integer"
  30447. },
  30448. "histradedate": {
  30449. "description": "历史交易日",
  30450. "type": "string"
  30451. },
  30452. "intclosepl": {
  30453. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30454. "type": "integer"
  30455. },
  30456. "isconfirmexercise": {
  30457. "description": "是否确认行权- 0:否 1:是",
  30458. "type": "integer"
  30459. },
  30460. "ismain": {
  30461. "description": "是否主单 - 0:不是 1:是",
  30462. "type": "integer"
  30463. },
  30464. "ispreexercise": {
  30465. "description": "是否预申报- 0:否 1:是",
  30466. "type": "integer"
  30467. },
  30468. "isreckoned": {
  30469. "description": "是否结算 - 0:未结算 1:已结算",
  30470. "type": "integer"
  30471. },
  30472. "isvaliddata": {
  30473. "description": "是否有效 - 0:无效 1:有效",
  30474. "type": "integer"
  30475. },
  30476. "listingselecttype": {
  30477. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30478. "type": "integer"
  30479. },
  30480. "marketid": {
  30481. "description": "市场ID",
  30482. "type": "integer"
  30483. },
  30484. "marketname": {
  30485. "description": "市场名称",
  30486. "type": "string"
  30487. },
  30488. "matchaccountid": {
  30489. "description": "对手账号id",
  30490. "type": "integer"
  30491. },
  30492. "memberuserid": {
  30493. "description": "会员id 个人投资者 需要填写",
  30494. "type": "integer"
  30495. },
  30496. "opencharge": {
  30497. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30498. "type": "number"
  30499. },
  30500. "openexchagechargevalue": {
  30501. "description": "建仓交易所手续费设置值",
  30502. "type": "number"
  30503. },
  30504. "openfeealgorithm": {
  30505. "description": "建仓手续费收取方式 1:比率 2:固定",
  30506. "type": "integer"
  30507. },
  30508. "openmemberchargevalue": {
  30509. "description": "建仓会员手续费设置值",
  30510. "type": "number"
  30511. },
  30512. "openqty": {
  30513. "description": "开仓数量(先建后平操作 需要记录)",
  30514. "type": "number"
  30515. },
  30516. "optiontype": {
  30517. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30518. "type": "integer"
  30519. },
  30520. "orderid": {
  30521. "description": "委托单号",
  30522. "type": "string"
  30523. },
  30524. "payamount": {
  30525. "description": "支付金额(付款金额)",
  30526. "type": "number"
  30527. },
  30528. "performanceplanid": {
  30529. "description": "履约计划ID[期权]",
  30530. "type": "integer"
  30531. },
  30532. "performancestatus": {
  30533. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30534. "type": "integer"
  30535. },
  30536. "preexerciseprice": {
  30537. "description": "预申报价格",
  30538. "type": "number"
  30539. },
  30540. "premium": {
  30541. "description": "权利金 - [持仓单的权利金]",
  30542. "type": "number"
  30543. },
  30544. "qtydecimalplace": {
  30545. "description": "商品报价小数位",
  30546. "type": "integer"
  30547. },
  30548. "recvamount": {
  30549. "description": "到账金额 = 成交金额 - 手续费",
  30550. "type": "number"
  30551. },
  30552. "relatedouttradeid": {
  30553. "description": "关联外部成交单ID",
  30554. "type": "integer"
  30555. },
  30556. "status": {
  30557. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30558. "type": "integer"
  30559. },
  30560. "totalamount": {
  30561. "description": "订单总额 = 成交金额 + 手续费",
  30562. "type": "number"
  30563. },
  30564. "tradeamount": {
  30565. "description": "成交金额[账户币种,用于所有权]",
  30566. "type": "number"
  30567. },
  30568. "tradedate": {
  30569. "description": "交易日(yyyyMMdd)",
  30570. "type": "string"
  30571. },
  30572. "tradeid": {
  30573. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30574. "type": "string"
  30575. },
  30576. "trademode": {
  30577. "description": "交易模式",
  30578. "type": "integer"
  30579. },
  30580. "tradeprice": {
  30581. "description": "成交价格",
  30582. "type": "number"
  30583. },
  30584. "tradeproperty": {
  30585. "description": "交易属性",
  30586. "type": "integer"
  30587. },
  30588. "tradeqty": {
  30589. "description": "成交数量",
  30590. "type": "number"
  30591. },
  30592. "tradetime": {
  30593. "description": "成交时间",
  30594. "type": "string"
  30595. },
  30596. "tradetype": {
  30597. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30598. "type": "integer"
  30599. }
  30600. }
  30601. },
  30602. "order.QueryHisTradeOrderDetailRsp": {
  30603. "type": "object",
  30604. "required": [
  30605. "accountid",
  30606. "buildtype",
  30607. "buyorsell",
  30608. "goodsid",
  30609. "histradedate",
  30610. "marketid",
  30611. "memberuserid",
  30612. "operatetype",
  30613. "orderid",
  30614. "orderqty",
  30615. "ordertime",
  30616. "pricemode",
  30617. "tradedate",
  30618. "validtype"
  30619. ],
  30620. "properties": {
  30621. "accountid": {
  30622. "description": "账户ID[报价币种]",
  30623. "type": "integer"
  30624. },
  30625. "buildtype": {
  30626. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  30627. "type": "integer"
  30628. },
  30629. "buyorsell": {
  30630. "description": "买卖 - 0:买 1:卖",
  30631. "type": "integer"
  30632. },
  30633. "cancelorderid": {
  30634. "description": "撤单单号(撤单时填写)",
  30635. "type": "string"
  30636. },
  30637. "cancelqty": {
  30638. "description": "撤单数量",
  30639. "type": "number"
  30640. },
  30641. "clientordertime": {
  30642. "description": "客户端委托时间",
  30643. "type": "string"
  30644. },
  30645. "clientticket": {
  30646. "description": "客户端流水号",
  30647. "type": "string"
  30648. },
  30649. "clienttype": {
  30650. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30651. "type": "integer"
  30652. },
  30653. "closeexchagechargevalue": {
  30654. "description": "平仓交易所手续费设置值",
  30655. "type": "number"
  30656. },
  30657. "closefeealgorithm": {
  30658. "description": "平仓手续费收取方式 1:比率 2:固定",
  30659. "type": "integer"
  30660. },
  30661. "closefreezecharge": {
  30662. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  30663. "type": "number"
  30664. },
  30665. "closememberchargevalue": {
  30666. "description": "平仓会员手续费设置值",
  30667. "type": "number"
  30668. },
  30669. "closeqty": {
  30670. "description": "平仓数量(先建后平操作 需要记录)",
  30671. "type": "number"
  30672. },
  30673. "closetradeqty": {
  30674. "description": "平仓成交数量(先建后平操作,需要记录)",
  30675. "type": "number"
  30676. },
  30677. "closeunfreezecharge": {
  30678. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  30679. "type": "number"
  30680. },
  30681. "decimalplace": {
  30682. "description": "商品报价小数位",
  30683. "type": "integer"
  30684. },
  30685. "delistingtype": {
  30686. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  30687. "type": "integer"
  30688. },
  30689. "enumdicname": {
  30690. "description": "单位名称",
  30691. "type": "string"
  30692. },
  30693. "freezecharge": {
  30694. "description": "冻结手续费",
  30695. "type": "number"
  30696. },
  30697. "freezemargin": {
  30698. "description": "冻结保证金(冻结交易金额)",
  30699. "type": "number"
  30700. },
  30701. "gcaccountid": {
  30702. "description": "账户ID[合约币种]",
  30703. "type": "integer"
  30704. },
  30705. "goodscode": {
  30706. "description": "商品代码",
  30707. "type": "string"
  30708. },
  30709. "goodsid": {
  30710. "description": "商品ID",
  30711. "type": "integer"
  30712. },
  30713. "goodsname": {
  30714. "description": "商品名称",
  30715. "type": "string"
  30716. },
  30717. "goodunitid": {
  30718. "description": "商品单位id",
  30719. "type": "integer"
  30720. },
  30721. "histradedate": {
  30722. "description": "历史交易日",
  30723. "type": "string"
  30724. },
  30725. "isconfirmexercise": {
  30726. "description": "是否确认行权- 0:否 1:是",
  30727. "type": "integer"
  30728. },
  30729. "ispreexercise": {
  30730. "description": "是否预申报- 0:否 1:是",
  30731. "type": "integer"
  30732. },
  30733. "isvaliddata": {
  30734. "description": "是否有效 - 0:无效 1:有效",
  30735. "type": "integer"
  30736. },
  30737. "listingselecttype": {
  30738. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30739. "type": "integer"
  30740. },
  30741. "marginalgorithm": {
  30742. "description": "保证金收取方式 1:比率 2:固定",
  30743. "type": "integer"
  30744. },
  30745. "marginvalue": {
  30746. "description": "即市保证金设置值",
  30747. "type": "number"
  30748. },
  30749. "marketid": {
  30750. "description": "市场ID",
  30751. "type": "integer"
  30752. },
  30753. "marketmaxsub": {
  30754. "description": "市价最大偏移范围",
  30755. "type": "number"
  30756. },
  30757. "marketname": {
  30758. "description": "市场名称",
  30759. "type": "string"
  30760. },
  30761. "memberuserid": {
  30762. "description": "所属会员UserID",
  30763. "type": "integer"
  30764. },
  30765. "openexchagechargevalue": {
  30766. "description": "建仓交易所手续费设置值",
  30767. "type": "number"
  30768. },
  30769. "openfeealgorithm": {
  30770. "description": "建仓手续费收取方式 1:比率 2:固定",
  30771. "type": "integer"
  30772. },
  30773. "openfreezecharge": {
  30774. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  30775. "type": "number"
  30776. },
  30777. "openmemberchargevalue": {
  30778. "description": "建仓会员手续费设置值",
  30779. "type": "number"
  30780. },
  30781. "openqty": {
  30782. "description": "开仓数量(先建后平操作,需要记录)",
  30783. "type": "number"
  30784. },
  30785. "opentradeqty": {
  30786. "description": "开仓成交数量(先建后平操作,需要记录)",
  30787. "type": "number"
  30788. },
  30789. "openunfreezecharge": {
  30790. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  30791. "type": "number"
  30792. },
  30793. "operatetype": {
  30794. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  30795. "type": "integer"
  30796. },
  30797. "operatorid": {
  30798. "description": "登录账号(LoginID)",
  30799. "type": "integer"
  30800. },
  30801. "optiontype": {
  30802. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30803. "type": "integer"
  30804. },
  30805. "orderid": {
  30806. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30807. "type": "string"
  30808. },
  30809. "orderprice": {
  30810. "description": "委托价格",
  30811. "type": "number"
  30812. },
  30813. "orderqty": {
  30814. "description": "委托数量",
  30815. "type": "number"
  30816. },
  30817. "ordersrc": {
  30818. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  30819. "type": "integer"
  30820. },
  30821. "orderstatus": {
  30822. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  30823. "type": "integer"
  30824. },
  30825. "ordertime": {
  30826. "description": "委托时间",
  30827. "type": "string"
  30828. },
  30829. "preexerciseprice": {
  30830. "description": "预申报价格",
  30831. "type": "number"
  30832. },
  30833. "premium": {
  30834. "description": "权利金",
  30835. "type": "number"
  30836. },
  30837. "preorderid": {
  30838. "description": "关联预埋单号(止盈止损单时填写)",
  30839. "type": "string"
  30840. },
  30841. "pricemode": {
  30842. "description": "取价方式 - 1:市价 2: 限价",
  30843. "type": "integer"
  30844. },
  30845. "qtydecimalplace": {
  30846. "description": "成交量小数位",
  30847. "type": "integer"
  30848. },
  30849. "quoteid": {
  30850. "description": "报价单ID",
  30851. "type": "integer"
  30852. },
  30853. "relatedid": {
  30854. "description": "关联单号(交割单)",
  30855. "type": "string"
  30856. },
  30857. "retcode": {
  30858. "description": "错误代码",
  30859. "type": "integer"
  30860. },
  30861. "sessionid": {
  30862. "description": "会话ID",
  30863. "type": "integer"
  30864. },
  30865. "tradedate": {
  30866. "description": "交易日(yyyyMMdd)",
  30867. "type": "string"
  30868. },
  30869. "trademode": {
  30870. "description": "交易模式",
  30871. "type": "integer"
  30872. },
  30873. "tradeproperty": {
  30874. "description": "交易属性",
  30875. "type": "integer"
  30876. },
  30877. "tradeqty": {
  30878. "description": "成交数量",
  30879. "type": "number"
  30880. },
  30881. "unfreezecharge": {
  30882. "description": "解冻手续费",
  30883. "type": "number"
  30884. },
  30885. "unfreezemargin": {
  30886. "description": "解冻保证金",
  30887. "type": "number"
  30888. },
  30889. "updatetime": {
  30890. "description": "更新时间",
  30891. "type": "string"
  30892. },
  30893. "uuid": {
  30894. "description": "发起端唯一id",
  30895. "type": "string"
  30896. },
  30897. "validtime": {
  30898. "description": "有效期限",
  30899. "type": "string"
  30900. },
  30901. "validtype": {
  30902. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  30903. "type": "integer"
  30904. },
  30905. "volumetype": {
  30906. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  30907. "type": "integer"
  30908. }
  30909. }
  30910. },
  30911. "order.QueryTradeDetailRsp": {
  30912. "type": "object",
  30913. "required": [
  30914. "accountid",
  30915. "buyorsell",
  30916. "goodsid",
  30917. "marketid",
  30918. "memberuserid",
  30919. "orderid",
  30920. "tradeamount",
  30921. "tradedate",
  30922. "tradeid",
  30923. "tradeprice",
  30924. "tradeqty",
  30925. "tradetime"
  30926. ],
  30927. "properties": {
  30928. "accountid": {
  30929. "description": "账户ID[报价币种]",
  30930. "type": "integer"
  30931. },
  30932. "advanceratio": {
  30933. "description": "首付比率",
  30934. "type": "number"
  30935. },
  30936. "buildtype": {
  30937. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30938. "type": "integer"
  30939. },
  30940. "buyorsell": {
  30941. "description": "方向 - 0:买 1:卖",
  30942. "type": "integer"
  30943. },
  30944. "charge": {
  30945. "description": "手续费",
  30946. "type": "number"
  30947. },
  30948. "closecharge": {
  30949. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30950. "type": "number"
  30951. },
  30952. "closeexchagechargevalue": {
  30953. "description": "平仓交易所手续费设置值",
  30954. "type": "number"
  30955. },
  30956. "closefeealgorithm": {
  30957. "description": "平仓手续费收取方式 1:比率 2:固定",
  30958. "type": "integer"
  30959. },
  30960. "closememberchargevalue": {
  30961. "description": "平仓会员手续费设置值",
  30962. "type": "number"
  30963. },
  30964. "closepl": {
  30965. "description": "平仓盈亏",
  30966. "type": "number"
  30967. },
  30968. "closepl2": {
  30969. "description": "平仓盈亏[逐笔]",
  30970. "type": "number"
  30971. },
  30972. "closeqty": {
  30973. "description": "平仓数量(先建后平操作 需要记录)",
  30974. "type": "number"
  30975. },
  30976. "creditamount": {
  30977. "description": "授信金额",
  30978. "type": "number"
  30979. },
  30980. "decimalplace": {
  30981. "description": "商品报价小数位",
  30982. "type": "integer"
  30983. },
  30984. "enumdicname": {
  30985. "description": "单位名称",
  30986. "type": "string"
  30987. },
  30988. "gcaccountid": {
  30989. "description": "账户ID[合约币种]",
  30990. "type": "integer"
  30991. },
  30992. "goodscode": {
  30993. "description": "商品代码",
  30994. "type": "string"
  30995. },
  30996. "goodsid": {
  30997. "description": "商品ID",
  30998. "type": "integer"
  30999. },
  31000. "goodsname": {
  31001. "description": "商品名称",
  31002. "type": "string"
  31003. },
  31004. "goodunitid": {
  31005. "description": "商品单位id",
  31006. "type": "integer"
  31007. },
  31008. "intclosepl": {
  31009. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31010. "type": "integer"
  31011. },
  31012. "isconfirmexercise": {
  31013. "description": "是否确认行权- 0:否 1:是",
  31014. "type": "integer"
  31015. },
  31016. "ismain": {
  31017. "description": "是否主单 - 0:不是 1:是",
  31018. "type": "integer"
  31019. },
  31020. "ispreexercise": {
  31021. "description": "是否预申报- 0:否 1:是",
  31022. "type": "integer"
  31023. },
  31024. "isreckoned": {
  31025. "description": "是否结算 - 0:未结算 1:已结算",
  31026. "type": "integer"
  31027. },
  31028. "listingselecttype": {
  31029. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31030. "type": "integer"
  31031. },
  31032. "marketid": {
  31033. "description": "市场ID",
  31034. "type": "integer"
  31035. },
  31036. "marketname": {
  31037. "description": "市场名称",
  31038. "type": "string"
  31039. },
  31040. "matchaccountid": {
  31041. "description": "对手账号id",
  31042. "type": "integer"
  31043. },
  31044. "memberuserid": {
  31045. "description": "会员id 个人投资者 需要填写",
  31046. "type": "integer"
  31047. },
  31048. "opencharge": {
  31049. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31050. "type": "number"
  31051. },
  31052. "openexchagechargevalue": {
  31053. "description": "建仓交易所手续费设置值",
  31054. "type": "number"
  31055. },
  31056. "openfeealgorithm": {
  31057. "description": "建仓手续费收取方式 1:比率 2:固定",
  31058. "type": "integer"
  31059. },
  31060. "openmemberchargevalue": {
  31061. "description": "建仓会员手续费设置值",
  31062. "type": "number"
  31063. },
  31064. "openqty": {
  31065. "description": "开仓数量(先建后平操作 需要记录)",
  31066. "type": "number"
  31067. },
  31068. "optiontype": {
  31069. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31070. "type": "integer"
  31071. },
  31072. "orderid": {
  31073. "description": "委托单号",
  31074. "type": "string"
  31075. },
  31076. "payamount": {
  31077. "description": "支付金额(付款金额)",
  31078. "type": "number"
  31079. },
  31080. "performanceplanid": {
  31081. "description": "履约计划ID[期权]",
  31082. "type": "integer"
  31083. },
  31084. "performancestatus": {
  31085. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31086. "type": "integer"
  31087. },
  31088. "preexerciseprice": {
  31089. "description": "预申报价格",
  31090. "type": "number"
  31091. },
  31092. "premium": {
  31093. "description": "权利金 - [持仓单的权利金]",
  31094. "type": "number"
  31095. },
  31096. "qtydecimalplace": {
  31097. "description": "商品报价小数位",
  31098. "type": "integer"
  31099. },
  31100. "recvamount": {
  31101. "description": "到账金额 = 成交金额 - 手续费",
  31102. "type": "number"
  31103. },
  31104. "relatedouttradeid": {
  31105. "description": "关联外部成交单ID",
  31106. "type": "integer"
  31107. },
  31108. "status": {
  31109. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31110. "type": "integer"
  31111. },
  31112. "totalamount": {
  31113. "description": "订单总额 = 成交金额 + 手续费",
  31114. "type": "number"
  31115. },
  31116. "tradeamount": {
  31117. "description": "成交金额[账户币种,用于所有权]",
  31118. "type": "number"
  31119. },
  31120. "tradedate": {
  31121. "description": "交易日(yyyyMMdd)",
  31122. "type": "string"
  31123. },
  31124. "tradeid": {
  31125. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31126. "type": "string"
  31127. },
  31128. "trademode": {
  31129. "description": "交易模式",
  31130. "type": "integer"
  31131. },
  31132. "tradeprice": {
  31133. "description": "成交价格",
  31134. "type": "number"
  31135. },
  31136. "tradeproperty": {
  31137. "description": "交易属性",
  31138. "type": "integer"
  31139. },
  31140. "tradeqty": {
  31141. "description": "成交数量",
  31142. "type": "number"
  31143. },
  31144. "tradetime": {
  31145. "description": "成交时间",
  31146. "type": "string"
  31147. },
  31148. "tradetype": {
  31149. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31150. "type": "integer"
  31151. }
  31152. }
  31153. },
  31154. "order.QueryTradeOrderDetailRsp": {
  31155. "type": "object",
  31156. "required": [
  31157. "accountid",
  31158. "buildtype",
  31159. "buyorsell",
  31160. "goodsid",
  31161. "marketid",
  31162. "operatetype",
  31163. "orderqty",
  31164. "ordertime",
  31165. "pricemode",
  31166. "tradedate",
  31167. "validtype"
  31168. ],
  31169. "properties": {
  31170. "accountid": {
  31171. "description": "账户ID[报价币种]",
  31172. "type": "integer"
  31173. },
  31174. "buildtype": {
  31175. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31176. "type": "integer"
  31177. },
  31178. "buyorsell": {
  31179. "description": "买卖 - 0:买 1:卖",
  31180. "type": "integer"
  31181. },
  31182. "cancelorderid": {
  31183. "description": "撤单单号(撤单时填写)",
  31184. "type": "string"
  31185. },
  31186. "cancelqty": {
  31187. "description": "撤单数量",
  31188. "type": "number"
  31189. },
  31190. "clienttype": {
  31191. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31192. "type": "integer"
  31193. },
  31194. "closefreezecharge": {
  31195. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31196. "type": "number"
  31197. },
  31198. "closeqty": {
  31199. "description": "平仓数量(先建后平操作 需要记录)",
  31200. "type": "number"
  31201. },
  31202. "closetradeqty": {
  31203. "description": "平仓成交数量(先建后平操作,需要记录)",
  31204. "type": "number"
  31205. },
  31206. "closeunfreezecharge": {
  31207. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31208. "type": "number"
  31209. },
  31210. "decimalplace": {
  31211. "description": "商品报价小数位",
  31212. "type": "integer"
  31213. },
  31214. "delistingtype": {
  31215. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31216. "type": "integer"
  31217. },
  31218. "enableqty": {
  31219. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  31220. "type": "number"
  31221. },
  31222. "enumdicname": {
  31223. "description": "单位名称",
  31224. "type": "string"
  31225. },
  31226. "freezecharge": {
  31227. "description": "冻结手续费",
  31228. "type": "number"
  31229. },
  31230. "freezemargin": {
  31231. "description": "冻结保证金(冻结交易金额)",
  31232. "type": "number"
  31233. },
  31234. "goodscode": {
  31235. "description": "商品代码",
  31236. "type": "string"
  31237. },
  31238. "goodsid": {
  31239. "description": "商品ID",
  31240. "type": "integer"
  31241. },
  31242. "goodsname": {
  31243. "description": "商品名称",
  31244. "type": "string"
  31245. },
  31246. "goodunitid": {
  31247. "description": "商品单位id",
  31248. "type": "integer"
  31249. },
  31250. "listingselecttype": {
  31251. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31252. "type": "integer"
  31253. },
  31254. "marketid": {
  31255. "description": "市场ID",
  31256. "type": "integer"
  31257. },
  31258. "marketname": {
  31259. "description": "市场名称",
  31260. "type": "string"
  31261. },
  31262. "openfreezecharge": {
  31263. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31264. "type": "number"
  31265. },
  31266. "openqty": {
  31267. "description": "开仓数量(先建后平操作,需要记录)",
  31268. "type": "number"
  31269. },
  31270. "opentradeqty": {
  31271. "description": "开仓成交数量(先建后平操作,需要记录)",
  31272. "type": "number"
  31273. },
  31274. "openunfreezecharge": {
  31275. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31276. "type": "number"
  31277. },
  31278. "operatetype": {
  31279. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31280. "type": "integer"
  31281. },
  31282. "operatorid": {
  31283. "description": "登录账号(LoginID)",
  31284. "type": "integer"
  31285. },
  31286. "orderid": {
  31287. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31288. "type": "string"
  31289. },
  31290. "orderprice": {
  31291. "description": "委托价格",
  31292. "type": "number"
  31293. },
  31294. "orderqty": {
  31295. "description": "委托数量",
  31296. "type": "number"
  31297. },
  31298. "ordersrc": {
  31299. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31300. "type": "integer"
  31301. },
  31302. "orderstatus": {
  31303. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31304. "type": "integer"
  31305. },
  31306. "ordertime": {
  31307. "description": "委托时间",
  31308. "type": "string"
  31309. },
  31310. "preorderid": {
  31311. "description": "关联预埋单号(止盈止损单时填写)",
  31312. "type": "string"
  31313. },
  31314. "pricemode": {
  31315. "description": "取价方式 - 1:市价 2: 限价",
  31316. "type": "integer"
  31317. },
  31318. "qtydecimalplace": {
  31319. "description": "商品报价小数位",
  31320. "type": "integer"
  31321. },
  31322. "relatedid": {
  31323. "description": "关联单号(交割单)",
  31324. "type": "string"
  31325. },
  31326. "tradedate": {
  31327. "description": "交易日(yyyyMMdd)",
  31328. "type": "string"
  31329. },
  31330. "trademode": {
  31331. "description": "交易模式",
  31332. "type": "integer"
  31333. },
  31334. "tradeqty": {
  31335. "description": "成交数量",
  31336. "type": "number"
  31337. },
  31338. "unfreezecharge": {
  31339. "description": "解冻手续费",
  31340. "type": "number"
  31341. },
  31342. "unfreezemargin": {
  31343. "description": "解冻保证金",
  31344. "type": "number"
  31345. },
  31346. "validtime": {
  31347. "description": "有效期限",
  31348. "type": "string"
  31349. },
  31350. "validtype": {
  31351. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31352. "type": "integer"
  31353. },
  31354. "volumetype": {
  31355. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31356. "type": "integer"
  31357. }
  31358. }
  31359. },
  31360. "order.QueryTradePositionRsp": {
  31361. "type": "object",
  31362. "required": [
  31363. "goodsid"
  31364. ],
  31365. "properties": {
  31366. "accountid": {
  31367. "description": "资金账户",
  31368. "type": "integer"
  31369. },
  31370. "agreeunit": {
  31371. "description": "合约单位",
  31372. "type": "number"
  31373. },
  31374. "averageprice": {
  31375. "description": "持仓均价",
  31376. "type": "number"
  31377. },
  31378. "buyorsell": {
  31379. "description": "方向 - 0:买 1:卖",
  31380. "type": "integer"
  31381. },
  31382. "closetotalqty": {
  31383. "description": "平仓总数量",
  31384. "type": "number"
  31385. },
  31386. "curholderamount": {
  31387. "description": "当前持仓总金额[商品币种]",
  31388. "type": "number"
  31389. },
  31390. "curpositionqty": {
  31391. "description": "当前持仓总数量",
  31392. "type": "number"
  31393. },
  31394. "currencyid": {
  31395. "description": "报价货币ID",
  31396. "type": "integer"
  31397. },
  31398. "curtdposition": {
  31399. "description": "期末今日头寸",
  31400. "type": "number"
  31401. },
  31402. "decimalplace": {
  31403. "description": "报价小数位",
  31404. "type": "integer"
  31405. },
  31406. "enableqty": {
  31407. "description": "可用量",
  31408. "type": "number"
  31409. },
  31410. "fretdposition": {
  31411. "description": "冻结今日头寸",
  31412. "type": "number"
  31413. },
  31414. "frozenqty": {
  31415. "description": "持仓冻结数量",
  31416. "type": "number"
  31417. },
  31418. "goodscode": {
  31419. "description": "商品代码",
  31420. "type": "string"
  31421. },
  31422. "goodsid": {
  31423. "description": "商品Id",
  31424. "type": "integer"
  31425. },
  31426. "goodsname": {
  31427. "description": "商品名称",
  31428. "type": "string"
  31429. },
  31430. "goodunit": {
  31431. "description": "报价单位",
  31432. "type": "string"
  31433. },
  31434. "goodunitid": {
  31435. "description": "报价单位ID",
  31436. "type": "integer"
  31437. },
  31438. "holderamount": {
  31439. "description": "期初持仓总金额[商品币种]",
  31440. "type": "number"
  31441. },
  31442. "lastprice": {
  31443. "description": "最新价",
  31444. "type": "number"
  31445. },
  31446. "marketamount": {
  31447. "description": "市值",
  31448. "type": "number"
  31449. },
  31450. "marketid": {
  31451. "description": "所属市场ID",
  31452. "type": "integer"
  31453. },
  31454. "openreqqty": {
  31455. "description": "开仓申请数量(用于比较最大持仓数量)",
  31456. "type": "number"
  31457. },
  31458. "opentotalqty": {
  31459. "description": "开仓总数量",
  31460. "type": "number"
  31461. },
  31462. "otherfrozenqty": {
  31463. "description": "持仓其他冻结数量(交割冻结)",
  31464. "type": "number"
  31465. },
  31466. "positionpl": {
  31467. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  31468. "type": "number"
  31469. },
  31470. "positionplrate": {
  31471. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  31472. "type": "number"
  31473. },
  31474. "positionqty": {
  31475. "description": "期初持仓数量",
  31476. "type": "number"
  31477. },
  31478. "qtydecimalplace": {
  31479. "description": "成交量小数位",
  31480. "type": "integer"
  31481. },
  31482. "tnqty": {
  31483. "description": "T+N冻结总量",
  31484. "type": "number"
  31485. },
  31486. "tnusedqty": {
  31487. "description": "T+N使用量(可以使用T+N的冻结数量)",
  31488. "type": "number"
  31489. },
  31490. "trademode": {
  31491. "description": "交易模式",
  31492. "type": "integer"
  31493. },
  31494. "usedmargin": {
  31495. "description": "占用保证金[商品币种]",
  31496. "type": "number"
  31497. }
  31498. }
  31499. },
  31500. "quote.HistoryData": {
  31501. "type": "object",
  31502. "properties": {
  31503. "c": {
  31504. "description": "收盘价",
  31505. "type": "number"
  31506. },
  31507. "f": {
  31508. "description": "是否补充数据",
  31509. "type": "boolean"
  31510. },
  31511. "h": {
  31512. "description": "最高价",
  31513. "type": "number"
  31514. },
  31515. "hv": {
  31516. "description": "持仓量",
  31517. "type": "integer"
  31518. },
  31519. "l": {
  31520. "description": "最低价",
  31521. "type": "number"
  31522. },
  31523. "o": {
  31524. "description": "开盘价",
  31525. "type": "number"
  31526. },
  31527. "s": {
  31528. "description": "结算价,日线周期(包括)以上才有",
  31529. "type": "number"
  31530. },
  31531. "ts": {
  31532. "description": "时间",
  31533. "type": "string"
  31534. },
  31535. "tt": {
  31536. "description": "总金额",
  31537. "type": "number"
  31538. },
  31539. "tv": {
  31540. "description": "总量",
  31541. "type": "integer"
  31542. }
  31543. }
  31544. },
  31545. "quote.HistoryTikData": {
  31546. "type": "object",
  31547. "properties": {
  31548. "AV": {
  31549. "description": "卖量",
  31550. "type": "integer"
  31551. },
  31552. "Ask": {
  31553. "description": "卖价",
  31554. "type": "number"
  31555. },
  31556. "BV": {
  31557. "description": "买量",
  31558. "type": "integer"
  31559. },
  31560. "Bid": {
  31561. "description": "买价",
  31562. "type": "number"
  31563. },
  31564. "HI": {
  31565. "description": "单笔持仓",
  31566. "type": "integer"
  31567. },
  31568. "HV": {
  31569. "description": "持仓量",
  31570. "type": "integer"
  31571. },
  31572. "PE": {
  31573. "description": "现价",
  31574. "type": "number"
  31575. },
  31576. "TDR": {
  31577. "description": "交易方向,0:买 1:卖",
  31578. "type": "integer"
  31579. },
  31580. "TK": {
  31581. "description": "交易类型",
  31582. "type": "integer"
  31583. },
  31584. "TS": {
  31585. "description": "行情时间文本",
  31586. "type": "string"
  31587. },
  31588. "TT": {
  31589. "description": "现金额",
  31590. "type": "number"
  31591. },
  31592. "Vol": {
  31593. "description": "现量",
  31594. "type": "integer"
  31595. }
  31596. }
  31597. },
  31598. "quote.QueryQuoteDayRsp": {
  31599. "type": "object",
  31600. "properties": {
  31601. "ask": {
  31602. "description": "卖1",
  31603. "type": "number"
  31604. },
  31605. "ask10": {
  31606. "description": "卖10",
  31607. "type": "number"
  31608. },
  31609. "ask2": {
  31610. "description": "卖2",
  31611. "type": "number"
  31612. },
  31613. "ask3": {
  31614. "description": "卖3",
  31615. "type": "number"
  31616. },
  31617. "ask4": {
  31618. "description": "卖4",
  31619. "type": "number"
  31620. },
  31621. "ask5": {
  31622. "description": "卖5",
  31623. "type": "number"
  31624. },
  31625. "ask6": {
  31626. "description": "卖6",
  31627. "type": "number"
  31628. },
  31629. "ask7": {
  31630. "description": "卖7",
  31631. "type": "number"
  31632. },
  31633. "ask8": {
  31634. "description": "卖8",
  31635. "type": "number"
  31636. },
  31637. "ask9": {
  31638. "description": "卖9",
  31639. "type": "number"
  31640. },
  31641. "askorderid": {
  31642. "description": "卖单号1",
  31643. "type": "integer"
  31644. },
  31645. "askorderid2": {
  31646. "description": "卖单号2",
  31647. "type": "integer"
  31648. },
  31649. "askorderid3": {
  31650. "description": "卖单号3",
  31651. "type": "integer"
  31652. },
  31653. "askorderid4": {
  31654. "description": "卖单号4",
  31655. "type": "integer"
  31656. },
  31657. "askorderid5": {
  31658. "description": "卖单号5",
  31659. "type": "integer"
  31660. },
  31661. "askordervolume": {
  31662. "description": "卖单量1",
  31663. "type": "integer"
  31664. },
  31665. "askordervolume10": {
  31666. "description": "卖单量10",
  31667. "type": "integer"
  31668. },
  31669. "askordervolume2": {
  31670. "description": "卖单量2",
  31671. "type": "integer"
  31672. },
  31673. "askordervolume3": {
  31674. "description": "卖单量3",
  31675. "type": "integer"
  31676. },
  31677. "askordervolume4": {
  31678. "description": "卖单量4",
  31679. "type": "integer"
  31680. },
  31681. "askordervolume5": {
  31682. "description": "卖单量5",
  31683. "type": "integer"
  31684. },
  31685. "askordervolume6": {
  31686. "description": "卖单量6",
  31687. "type": "integer"
  31688. },
  31689. "askordervolume7": {
  31690. "description": "卖单量7",
  31691. "type": "integer"
  31692. },
  31693. "askordervolume8": {
  31694. "description": "卖单量8",
  31695. "type": "integer"
  31696. },
  31697. "askordervolume9": {
  31698. "description": "卖单量9",
  31699. "type": "integer"
  31700. },
  31701. "askqueueinfo": {
  31702. "description": "大利市卖港股用",
  31703. "type": "string"
  31704. },
  31705. "askvolume": {
  31706. "description": "卖量1",
  31707. "type": "integer"
  31708. },
  31709. "askvolume10": {
  31710. "description": "卖量10",
  31711. "type": "integer"
  31712. },
  31713. "askvolume2": {
  31714. "description": "卖量2",
  31715. "type": "integer"
  31716. },
  31717. "askvolume3": {
  31718. "description": "卖量3",
  31719. "type": "integer"
  31720. },
  31721. "askvolume4": {
  31722. "description": "卖量4",
  31723. "type": "integer"
  31724. },
  31725. "askvolume5": {
  31726. "description": "卖量5",
  31727. "type": "integer"
  31728. },
  31729. "askvolume6": {
  31730. "description": "卖量6",
  31731. "type": "integer"
  31732. },
  31733. "askvolume7": {
  31734. "description": "卖量7",
  31735. "type": "integer"
  31736. },
  31737. "askvolume8": {
  31738. "description": "卖量8",
  31739. "type": "integer"
  31740. },
  31741. "askvolume9": {
  31742. "description": "卖量9",
  31743. "type": "integer"
  31744. },
  31745. "averageprice": {
  31746. "description": "均价",
  31747. "type": "number"
  31748. },
  31749. "bid": {
  31750. "description": "买1",
  31751. "type": "number"
  31752. },
  31753. "bid10": {
  31754. "description": "买10",
  31755. "type": "number"
  31756. },
  31757. "bid2": {
  31758. "description": "买2",
  31759. "type": "number"
  31760. },
  31761. "bid3": {
  31762. "description": "买3",
  31763. "type": "number"
  31764. },
  31765. "bid4": {
  31766. "description": "买4",
  31767. "type": "number"
  31768. },
  31769. "bid5": {
  31770. "description": "买5",
  31771. "type": "number"
  31772. },
  31773. "bid6": {
  31774. "description": "买6",
  31775. "type": "number"
  31776. },
  31777. "bid7": {
  31778. "description": "买7",
  31779. "type": "number"
  31780. },
  31781. "bid8": {
  31782. "description": "买8",
  31783. "type": "number"
  31784. },
  31785. "bid9": {
  31786. "description": "买9",
  31787. "type": "number"
  31788. },
  31789. "bidorderid": {
  31790. "description": "买单号1",
  31791. "type": "integer"
  31792. },
  31793. "bidorderid2": {
  31794. "description": "买单号2",
  31795. "type": "integer"
  31796. },
  31797. "bidorderid3": {
  31798. "description": "买单号3",
  31799. "type": "integer"
  31800. },
  31801. "bidorderid4": {
  31802. "description": "买单号4",
  31803. "type": "integer"
  31804. },
  31805. "bidorderid5": {
  31806. "description": "买单号5",
  31807. "type": "integer"
  31808. },
  31809. "bidordervolume": {
  31810. "description": "买单量1",
  31811. "type": "integer"
  31812. },
  31813. "bidordervolume10": {
  31814. "description": "买单量10",
  31815. "type": "integer"
  31816. },
  31817. "bidordervolume2": {
  31818. "description": "买单量2",
  31819. "type": "integer"
  31820. },
  31821. "bidordervolume3": {
  31822. "description": "买单量3",
  31823. "type": "integer"
  31824. },
  31825. "bidordervolume4": {
  31826. "description": "买单量4",
  31827. "type": "integer"
  31828. },
  31829. "bidordervolume5": {
  31830. "description": "买单量5",
  31831. "type": "integer"
  31832. },
  31833. "bidordervolume6": {
  31834. "description": "买单量6",
  31835. "type": "integer"
  31836. },
  31837. "bidordervolume7": {
  31838. "description": "买单量7",
  31839. "type": "integer"
  31840. },
  31841. "bidordervolume8": {
  31842. "description": "买单量8",
  31843. "type": "integer"
  31844. },
  31845. "bidordervolume9": {
  31846. "description": "买单量9",
  31847. "type": "integer"
  31848. },
  31849. "bidqueueinfo": {
  31850. "description": "大利市买港股用",
  31851. "type": "string"
  31852. },
  31853. "bidvolume": {
  31854. "description": "买量1",
  31855. "type": "integer"
  31856. },
  31857. "bidvolume10": {
  31858. "description": "买量10",
  31859. "type": "integer"
  31860. },
  31861. "bidvolume2": {
  31862. "description": "买量2",
  31863. "type": "integer"
  31864. },
  31865. "bidvolume3": {
  31866. "description": "买量3",
  31867. "type": "integer"
  31868. },
  31869. "bidvolume4": {
  31870. "description": "买量4",
  31871. "type": "integer"
  31872. },
  31873. "bidvolume5": {
  31874. "description": "买量5",
  31875. "type": "integer"
  31876. },
  31877. "bidvolume6": {
  31878. "description": "买量6",
  31879. "type": "integer"
  31880. },
  31881. "bidvolume7": {
  31882. "description": "买量7",
  31883. "type": "integer"
  31884. },
  31885. "bidvolume8": {
  31886. "description": "买量8",
  31887. "type": "integer"
  31888. },
  31889. "bidvolume9": {
  31890. "description": "买量9",
  31891. "type": "integer"
  31892. },
  31893. "calloptionpremiums": {
  31894. "description": "认购期权1",
  31895. "type": "integer"
  31896. },
  31897. "calloptionpremiums2": {
  31898. "description": "认购期权2",
  31899. "type": "integer"
  31900. },
  31901. "calloptionpremiums3": {
  31902. "description": "认购期权3",
  31903. "type": "integer"
  31904. },
  31905. "calloptionpremiums4": {
  31906. "description": "认购期权4",
  31907. "type": "integer"
  31908. },
  31909. "calloptionpremiums5": {
  31910. "description": "认购期权5",
  31911. "type": "integer"
  31912. },
  31913. "cleartime": {
  31914. "description": "清盘时间",
  31915. "type": "integer"
  31916. },
  31917. "exchangecode": {
  31918. "description": "交易所代码",
  31919. "type": "integer"
  31920. },
  31921. "exchangedate": {
  31922. "description": "交易日",
  31923. "type": "integer"
  31924. },
  31925. "goodscode": {
  31926. "description": "商品代码",
  31927. "type": "string"
  31928. },
  31929. "grepmarketprice": {
  31930. "description": "暗盘价 港股专用",
  31931. "type": "number"
  31932. },
  31933. "highest": {
  31934. "description": "最高价",
  31935. "type": "number"
  31936. },
  31937. "holdincrement": {
  31938. "description": "单笔持仓",
  31939. "type": "integer"
  31940. },
  31941. "holdvolume": {
  31942. "description": "持仓",
  31943. "type": "integer"
  31944. },
  31945. "iep": {
  31946. "description": "平衡价 港股专用",
  31947. "type": "number"
  31948. },
  31949. "iev": {
  31950. "description": "平衡量 港股专用",
  31951. "type": "number"
  31952. },
  31953. "inventory": {
  31954. "description": "库存",
  31955. "type": "integer"
  31956. },
  31957. "iscleared": {
  31958. "description": "是否清盘标志",
  31959. "type": "integer"
  31960. },
  31961. "issettled": {
  31962. "description": "是否结算标志",
  31963. "type": "integer"
  31964. },
  31965. "last": {
  31966. "description": "最新价",
  31967. "type": "number"
  31968. },
  31969. "lastlot": {
  31970. "description": "最新成交手数",
  31971. "type": "integer"
  31972. },
  31973. "lasttime": {
  31974. "description": "行情时间(只有现价变化行情时间才变化)",
  31975. "type": "string"
  31976. },
  31977. "lastturnover": {
  31978. "description": "最新成交金额",
  31979. "type": "number"
  31980. },
  31981. "lastvolume": {
  31982. "description": "最新成交量",
  31983. "type": "integer"
  31984. },
  31985. "limitdown": {
  31986. "description": "跌停价",
  31987. "type": "number"
  31988. },
  31989. "limitup": {
  31990. "description": "涨停价",
  31991. "type": "number"
  31992. },
  31993. "lowest": {
  31994. "description": "最低价",
  31995. "type": "number"
  31996. },
  31997. "nontotalholdervolume": {
  31998. "description": "非交易持仓量",
  31999. "type": "integer"
  32000. },
  32001. "nontotallot": {
  32002. "description": "非交易总手数",
  32003. "type": "integer"
  32004. },
  32005. "nontotalturnover": {
  32006. "description": "非交易总金额",
  32007. "type": "integer"
  32008. },
  32009. "nontotalvolume": {
  32010. "description": "非交易总量",
  32011. "type": "integer"
  32012. },
  32013. "opened": {
  32014. "description": "开盘价",
  32015. "type": "number"
  32016. },
  32017. "opentime": {
  32018. "description": "开盘时间",
  32019. "type": "string"
  32020. },
  32021. "orderid": {
  32022. "description": "序号",
  32023. "type": "integer"
  32024. },
  32025. "preclose": {
  32026. "description": "昨收",
  32027. "type": "number"
  32028. },
  32029. "preholdvolume": {
  32030. "description": "昨持仓",
  32031. "type": "integer"
  32032. },
  32033. "presettle": {
  32034. "description": "昨结价",
  32035. "type": "number"
  32036. },
  32037. "publictradetype": {
  32038. "description": "公共交易标志类型 港股专用",
  32039. "type": "string"
  32040. },
  32041. "putoptionpremiums": {
  32042. "description": "认沽期权1",
  32043. "type": "integer"
  32044. },
  32045. "putoptionpremiums2": {
  32046. "description": "认沽期权2",
  32047. "type": "integer"
  32048. },
  32049. "putoptionpremiums3": {
  32050. "description": "认沽期权3",
  32051. "type": "integer"
  32052. },
  32053. "putoptionpremiums4": {
  32054. "description": "认沽期权4",
  32055. "type": "integer"
  32056. },
  32057. "putoptionpremiums5": {
  32058. "description": "认沽期权5",
  32059. "type": "integer"
  32060. },
  32061. "settle": {
  32062. "description": "结算价",
  32063. "type": "number"
  32064. },
  32065. "strikeprice": {
  32066. "description": "发行价",
  32067. "type": "number"
  32068. },
  32069. "totalaskvolume": {
  32070. "description": "内盘",
  32071. "type": "integer"
  32072. },
  32073. "totalbidvolume": {
  32074. "description": "外盘",
  32075. "type": "integer"
  32076. },
  32077. "totallot": {
  32078. "description": "总手数",
  32079. "type": "integer"
  32080. },
  32081. "totalturnover": {
  32082. "description": "总金额",
  32083. "type": "number"
  32084. },
  32085. "totalvolume": {
  32086. "description": "总量",
  32087. "type": "integer"
  32088. },
  32089. "utclasttime": {
  32090. "description": "utc的行情时间",
  32091. "type": "string"
  32092. }
  32093. }
  32094. },
  32095. "quote.QueryTSDataRsp": {
  32096. "type": "object",
  32097. "properties": {
  32098. "Count": {
  32099. "description": "交易日应有数据个数",
  32100. "type": "integer"
  32101. },
  32102. "decimalPlace": {
  32103. "description": "小数位",
  32104. "type": "integer"
  32105. },
  32106. "endTime": {
  32107. "description": "结束时间",
  32108. "type": "string"
  32109. },
  32110. "goodsCode": {
  32111. "description": "商品代码",
  32112. "type": "string"
  32113. },
  32114. "historyDatas": {
  32115. "description": "历史数据",
  32116. "type": "array",
  32117. "items": {
  32118. "$ref": "#/definitions/quote.HistoryData"
  32119. }
  32120. },
  32121. "outGoodsCode": {
  32122. "description": "外部商品代码",
  32123. "type": "string"
  32124. },
  32125. "preSettle": {
  32126. "description": "昨结价",
  32127. "type": "number"
  32128. },
  32129. "runSteps": {
  32130. "description": "交易日开休市计划",
  32131. "type": "array",
  32132. "items": {
  32133. "$ref": "#/definitions/quote.TSDataRunStep"
  32134. }
  32135. },
  32136. "startTime": {
  32137. "description": "开始时间",
  32138. "type": "string"
  32139. },
  32140. "tradeDate": {
  32141. "description": "交易日",
  32142. "type": "string"
  32143. }
  32144. }
  32145. },
  32146. "quote.TSDataRunStep": {
  32147. "type": "object",
  32148. "properties": {
  32149. "end": {
  32150. "description": "真实结束时间",
  32151. "type": "string"
  32152. },
  32153. "endflag": {
  32154. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  32155. "type": "integer"
  32156. },
  32157. "endtime": {
  32158. "description": "结束时间(HH:mm)",
  32159. "type": "string"
  32160. },
  32161. "endweekday": {
  32162. "description": "结束周几",
  32163. "type": "integer"
  32164. },
  32165. "groupid": {
  32166. "description": "分组ID",
  32167. "type": "integer"
  32168. },
  32169. "runstep": {
  32170. "description": "运行阶段 - 2:连续交易",
  32171. "type": "integer"
  32172. },
  32173. "sectionid": {
  32174. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  32175. "type": "integer"
  32176. },
  32177. "start": {
  32178. "description": "真实开始时间",
  32179. "type": "string"
  32180. },
  32181. "startflag": {
  32182. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  32183. "type": "integer"
  32184. },
  32185. "starttime": {
  32186. "description": "起始时间(HH:mm)",
  32187. "type": "string"
  32188. },
  32189. "startweekday": {
  32190. "description": "起始周几",
  32191. "type": "integer"
  32192. },
  32193. "tradeweekday": {
  32194. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  32195. "type": "integer"
  32196. }
  32197. }
  32198. },
  32199. "szdz.QueryConvertLogRsp": {
  32200. "type": "object",
  32201. "required": [
  32202. "logid"
  32203. ],
  32204. "properties": {
  32205. "accountid": {
  32206. "description": "资金账户ID",
  32207. "type": "integer"
  32208. },
  32209. "clientticket": {
  32210. "description": "客户端流水号",
  32211. "type": "string"
  32212. },
  32213. "converttype": {
  32214. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  32215. "type": "integer"
  32216. },
  32217. "createtime": {
  32218. "description": "记账时间",
  32219. "type": "string"
  32220. },
  32221. "daymaxvalue": {
  32222. "description": "配置当日最大转入限制",
  32223. "type": "number"
  32224. },
  32225. "daymaxvalue2": {
  32226. "description": "配置当日最大转入限制(转入)",
  32227. "type": "number"
  32228. },
  32229. "goodscode": {
  32230. "description": "商品代码",
  32231. "type": "string"
  32232. },
  32233. "goodsname": {
  32234. "description": "商品名称",
  32235. "type": "string"
  32236. },
  32237. "handlestatus": {
  32238. "description": "处理状态",
  32239. "type": "integer"
  32240. },
  32241. "innergoodsid": {
  32242. "description": "内部商品ID",
  32243. "type": "integer"
  32244. },
  32245. "inratio": {
  32246. "description": "配置转入比值",
  32247. "type": "integer"
  32248. },
  32249. "invalue": {
  32250. "description": "目标值",
  32251. "type": "number"
  32252. },
  32253. "logid": {
  32254. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32255. "type": "integer"
  32256. },
  32257. "mobile": {
  32258. "description": "手机号码(加密存储)",
  32259. "type": "string"
  32260. },
  32261. "outergoodscode": {
  32262. "description": "外部商品代码[JD\\PD]",
  32263. "type": "string"
  32264. },
  32265. "outratio": {
  32266. "description": "配置转出比值",
  32267. "type": "integer"
  32268. },
  32269. "outvalue": {
  32270. "description": "源值",
  32271. "type": "number"
  32272. },
  32273. "pddecimalplace": {
  32274. "description": "PD小数位",
  32275. "type": "integer"
  32276. },
  32277. "qty": {
  32278. "description": "数量",
  32279. "type": "string"
  32280. },
  32281. "remark": {
  32282. "description": "备注",
  32283. "type": "string"
  32284. },
  32285. "sessionid": {
  32286. "description": "会话ID",
  32287. "type": "integer"
  32288. },
  32289. "timemaxvalue": {
  32290. "description": "配置单次最大转入限制",
  32291. "type": "number"
  32292. },
  32293. "timemaxvalue2": {
  32294. "description": "配置单次最大转入限制(转入)",
  32295. "type": "number"
  32296. },
  32297. "timeminvalue": {
  32298. "description": "配置单次最小数量限制",
  32299. "type": "number"
  32300. },
  32301. "timeminvalue2": {
  32302. "description": "配置单次最小数量限制(转入)",
  32303. "type": "number"
  32304. },
  32305. "tradedate": {
  32306. "description": "交易日(yyyyMMdd)",
  32307. "type": "string"
  32308. },
  32309. "userid": {
  32310. "description": "用户ID",
  32311. "type": "integer"
  32312. }
  32313. }
  32314. },
  32315. "szdz.QueryGoodsPickupRsp": {
  32316. "type": "object",
  32317. "required": [
  32318. "takeorderid"
  32319. ],
  32320. "properties": {
  32321. "accountid": {
  32322. "description": "账户ID",
  32323. "type": "integer"
  32324. },
  32325. "address": {
  32326. "description": "提货人详细地址",
  32327. "type": "string"
  32328. },
  32329. "auditer": {
  32330. "description": "审核人",
  32331. "type": "integer"
  32332. },
  32333. "audittime": {
  32334. "description": "审核时间",
  32335. "type": "string"
  32336. },
  32337. "cardnum": {
  32338. "description": "提货人证件号码",
  32339. "type": "string"
  32340. },
  32341. "cardtypeid": {
  32342. "description": "提货人证件类型",
  32343. "type": "integer"
  32344. },
  32345. "checkremark": {
  32346. "description": "审核备注",
  32347. "type": "string"
  32348. },
  32349. "goodscode": {
  32350. "description": "商品代码",
  32351. "type": "string"
  32352. },
  32353. "goodsid": {
  32354. "description": "商品ID",
  32355. "type": "integer"
  32356. },
  32357. "goodsname": {
  32358. "description": "商品名称",
  32359. "type": "string"
  32360. },
  32361. "handlestatus": {
  32362. "description": "处理状态",
  32363. "type": "integer"
  32364. },
  32365. "marketid": {
  32366. "description": "市场ID",
  32367. "type": "integer"
  32368. },
  32369. "phonenum": {
  32370. "description": "提货人联系方式",
  32371. "type": "string"
  32372. },
  32373. "qty": {
  32374. "description": "提货数量",
  32375. "type": "number"
  32376. },
  32377. "recivername": {
  32378. "description": "提货人姓名",
  32379. "type": "string"
  32380. },
  32381. "reqtime": {
  32382. "description": "更新时间",
  32383. "type": "string"
  32384. },
  32385. "takemode": {
  32386. "description": "提货方式 - 2:自提 3:配送",
  32387. "type": "integer"
  32388. },
  32389. "takeorderid": {
  32390. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32391. "type": "string"
  32392. },
  32393. "takeorderstatus": {
  32394. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  32395. "type": "integer"
  32396. },
  32397. "takeremark": {
  32398. "description": "提货备注",
  32399. "type": "string"
  32400. },
  32401. "tradedate": {
  32402. "description": "交易日(yyyyMMdd)",
  32403. "type": "string"
  32404. },
  32405. "userid": {
  32406. "description": "用户ID",
  32407. "type": "integer"
  32408. }
  32409. }
  32410. },
  32411. "szdz.QueryRecieptOrderRsp": {
  32412. "type": "object",
  32413. "required": [
  32414. "ordertime"
  32415. ],
  32416. "properties": {
  32417. "accountName": {
  32418. "description": "所属账号名称(已脱敏)",
  32419. "type": "string"
  32420. },
  32421. "accountid": {
  32422. "description": "资金账号",
  32423. "type": "integer"
  32424. },
  32425. "buyorsell": {
  32426. "description": "方向 - 0:买 1:卖",
  32427. "type": "integer"
  32428. },
  32429. "enableqty": {
  32430. "description": "可摘数量",
  32431. "type": "integer"
  32432. },
  32433. "goodscode": {
  32434. "description": "商品代码",
  32435. "type": "string"
  32436. },
  32437. "goodsid": {
  32438. "description": "商品ID",
  32439. "type": "integer"
  32440. },
  32441. "goodsname": {
  32442. "description": "商品名称",
  32443. "type": "string"
  32444. },
  32445. "orderid": {
  32446. "description": "委托单号",
  32447. "type": "string"
  32448. },
  32449. "orderprice": {
  32450. "description": "委托价格",
  32451. "type": "number"
  32452. },
  32453. "ordertime": {
  32454. "description": "委托时间",
  32455. "type": "string"
  32456. },
  32457. "tradedate": {
  32458. "description": "交易日(yyyyMMdd)",
  32459. "type": "string"
  32460. }
  32461. }
  32462. },
  32463. "szdz.QuerySZDZTradePositionRsp": {
  32464. "type": "object",
  32465. "properties": {
  32466. "accountid": {
  32467. "description": "账号Id",
  32468. "type": "integer"
  32469. },
  32470. "agreeunit": {
  32471. "description": "合约单位",
  32472. "type": "number"
  32473. },
  32474. "averageprice": {
  32475. "description": "持仓均价",
  32476. "type": "number"
  32477. },
  32478. "buyorsell": {
  32479. "description": "方向 - 0:买 1:卖",
  32480. "type": "integer"
  32481. },
  32482. "closetotalqty": {
  32483. "description": "平仓总数量",
  32484. "type": "integer"
  32485. },
  32486. "curholderamount": {
  32487. "description": "当前持仓总金额",
  32488. "type": "number"
  32489. },
  32490. "curpositionqty": {
  32491. "description": "当前持仓总数量",
  32492. "type": "integer"
  32493. },
  32494. "currencyid": {
  32495. "description": "报价货币ID",
  32496. "type": "integer"
  32497. },
  32498. "curtdposition": {
  32499. "description": "期末今日头寸",
  32500. "type": "integer"
  32501. },
  32502. "decimalplace": {
  32503. "description": "报价小数位",
  32504. "type": "integer"
  32505. },
  32506. "enableqty": {
  32507. "description": "可用量",
  32508. "type": "integer"
  32509. },
  32510. "fretdposition": {
  32511. "description": "冻结今日头寸",
  32512. "type": "integer"
  32513. },
  32514. "frozenqty": {
  32515. "description": "持仓冻结数量",
  32516. "type": "integer"
  32517. },
  32518. "goodscode": {
  32519. "description": "商品代码(内部)",
  32520. "type": "string"
  32521. },
  32522. "goodsid": {
  32523. "description": "商品Id",
  32524. "type": "integer"
  32525. },
  32526. "goodsname": {
  32527. "description": "商品名称",
  32528. "type": "string"
  32529. },
  32530. "goodunit": {
  32531. "description": "报价单位",
  32532. "type": "string"
  32533. },
  32534. "goodunitid": {
  32535. "description": "报价单位ID",
  32536. "type": "integer"
  32537. },
  32538. "holderamount": {
  32539. "description": "期初持仓总金额",
  32540. "type": "number"
  32541. },
  32542. "marketid": {
  32543. "description": "市场ID",
  32544. "type": "integer"
  32545. },
  32546. "openreqqty": {
  32547. "description": "开仓申请数量",
  32548. "type": "integer"
  32549. },
  32550. "opentotalqty": {
  32551. "description": "开仓总数量",
  32552. "type": "integer"
  32553. },
  32554. "otherfrozenqty": {
  32555. "description": "持仓其他冻结数量(交割冻结)",
  32556. "type": "integer"
  32557. },
  32558. "positionqty": {
  32559. "description": "期初持仓数量",
  32560. "type": "integer"
  32561. },
  32562. "szdz3freezqty": {
  32563. "description": "尚志大宗转换冻结总数量",
  32564. "type": "integer"
  32565. },
  32566. "tnqty": {
  32567. "description": "T+N冻结总量",
  32568. "type": "integer"
  32569. },
  32570. "tnusedqty": {
  32571. "description": "T+N使用量",
  32572. "type": "integer"
  32573. },
  32574. "trademode": {
  32575. "description": "交易模式",
  32576. "type": "integer"
  32577. },
  32578. "usedmargin": {
  32579. "description": "占用保证金",
  32580. "type": "number"
  32581. }
  32582. }
  32583. },
  32584. "taaccount.QueryAmountLogRsp": {
  32585. "type": "object",
  32586. "required": [
  32587. "accountid",
  32588. "amount",
  32589. "amountadjusttype",
  32590. "autoid",
  32591. "balance",
  32592. "createtime",
  32593. "currentbalance",
  32594. "operatetype"
  32595. ],
  32596. "properties": {
  32597. "OPERATETYPENAME": {
  32598. "description": "资金操作类型名称",
  32599. "type": "string"
  32600. },
  32601. "accountid": {
  32602. "description": "资金账户ID",
  32603. "type": "integer"
  32604. },
  32605. "agoodscode": {
  32606. "description": "竞拍商品代码",
  32607. "type": "string"
  32608. },
  32609. "agoodsname": {
  32610. "description": "竞拍商品名称",
  32611. "type": "string"
  32612. },
  32613. "amount": {
  32614. "description": "资金金额",
  32615. "type": "number"
  32616. },
  32617. "amountadjusttype": {
  32618. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32619. "type": "integer"
  32620. },
  32621. "autoid": {
  32622. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32623. "type": "integer"
  32624. },
  32625. "balance": {
  32626. "description": "期初余额",
  32627. "type": "number"
  32628. },
  32629. "businesscode": {
  32630. "description": "业务编号",
  32631. "type": "integer"
  32632. },
  32633. "createtime": {
  32634. "description": "发生时间",
  32635. "type": "string"
  32636. },
  32637. "currencyid": {
  32638. "description": "币种ID",
  32639. "type": "integer"
  32640. },
  32641. "currentbalance": {
  32642. "description": "期末余额(变动后金额)",
  32643. "type": "number"
  32644. },
  32645. "dgoodscode": {
  32646. "description": "交割商品代码",
  32647. "type": "string"
  32648. },
  32649. "dgoodsname": {
  32650. "description": "交割商品名称",
  32651. "type": "string"
  32652. },
  32653. "goodscode": {
  32654. "description": "商品代码",
  32655. "type": "string"
  32656. },
  32657. "goodsid": {
  32658. "description": "商品ID",
  32659. "type": "integer"
  32660. },
  32661. "goodsname": {
  32662. "description": "商品名称",
  32663. "type": "string"
  32664. },
  32665. "marketid": {
  32666. "description": "市场ID",
  32667. "type": "integer"
  32668. },
  32669. "marketname": {
  32670. "description": "市场名称",
  32671. "type": "string"
  32672. },
  32673. "moneyticket": {
  32674. "description": "资金流水号:银行端流水号",
  32675. "type": "integer"
  32676. },
  32677. "operatetype": {
  32678. "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:营销收款",
  32679. "type": "integer"
  32680. },
  32681. "relationorderid": {
  32682. "description": "关联单号",
  32683. "type": "string"
  32684. },
  32685. "remark": {
  32686. "description": "备注",
  32687. "type": "string"
  32688. },
  32689. "trademode": {
  32690. "description": "交易模式",
  32691. "type": "integer"
  32692. }
  32693. }
  32694. },
  32695. "taaccount.QueryHisAmountLogRsp": {
  32696. "type": "object",
  32697. "required": [
  32698. "accountid",
  32699. "amount",
  32700. "amountadjusttype",
  32701. "autoid",
  32702. "balance",
  32703. "createtime",
  32704. "currentbalance",
  32705. "histradedate",
  32706. "operatetype"
  32707. ],
  32708. "properties": {
  32709. "OPERATETYPENAME": {
  32710. "description": "资金操作类型名称",
  32711. "type": "string"
  32712. },
  32713. "accountid": {
  32714. "description": "资金账户ID",
  32715. "type": "integer"
  32716. },
  32717. "agoodscode": {
  32718. "description": "竞拍商品代码",
  32719. "type": "string"
  32720. },
  32721. "agoodsname": {
  32722. "description": "竞拍商品名称",
  32723. "type": "string"
  32724. },
  32725. "amount": {
  32726. "description": "资金金额",
  32727. "type": "number"
  32728. },
  32729. "amountadjusttype": {
  32730. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  32731. "type": "integer"
  32732. },
  32733. "autoid": {
  32734. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  32735. "type": "integer"
  32736. },
  32737. "balance": {
  32738. "description": "期初余额",
  32739. "type": "number"
  32740. },
  32741. "businesscode": {
  32742. "description": "业务编号",
  32743. "type": "integer"
  32744. },
  32745. "createtime": {
  32746. "description": "发生时间",
  32747. "type": "string"
  32748. },
  32749. "currencyid": {
  32750. "description": "币种ID",
  32751. "type": "integer"
  32752. },
  32753. "currentbalance": {
  32754. "description": "期末余额(变动后金额)",
  32755. "type": "number"
  32756. },
  32757. "dgoodscode": {
  32758. "description": "交割商品代码",
  32759. "type": "string"
  32760. },
  32761. "dgoodsname": {
  32762. "description": "交割商品名称",
  32763. "type": "string"
  32764. },
  32765. "goodscode": {
  32766. "description": "商品代码",
  32767. "type": "string"
  32768. },
  32769. "goodsid": {
  32770. "description": "商品ID",
  32771. "type": "integer"
  32772. },
  32773. "goodsname": {
  32774. "description": "商品名称",
  32775. "type": "string"
  32776. },
  32777. "histradedate": {
  32778. "description": "历史交易日",
  32779. "type": "string"
  32780. },
  32781. "isvaliddata": {
  32782. "description": "是否有效 - 0:无效 1:有效",
  32783. "type": "integer"
  32784. },
  32785. "marketid": {
  32786. "description": "市场ID",
  32787. "type": "integer"
  32788. },
  32789. "marketname": {
  32790. "description": "市场名称",
  32791. "type": "string"
  32792. },
  32793. "moneyticket": {
  32794. "description": "资金流水号:银行端流水号",
  32795. "type": "integer"
  32796. },
  32797. "operatetype": {
  32798. "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:营销收款",
  32799. "type": "integer"
  32800. },
  32801. "relationorderid": {
  32802. "description": "关联单号",
  32803. "type": "string"
  32804. },
  32805. "remark": {
  32806. "description": "备注",
  32807. "type": "string"
  32808. },
  32809. "trademode": {
  32810. "description": "交易模式",
  32811. "type": "integer"
  32812. }
  32813. }
  32814. },
  32815. "trade.QueryRecieptOrderRsp": {
  32816. "type": "object",
  32817. "required": [
  32818. "ordertime"
  32819. ],
  32820. "properties": {
  32821. "accountName": {
  32822. "description": "所属账号名称(已脱敏)",
  32823. "type": "string"
  32824. },
  32825. "accountid": {
  32826. "description": "资金账号",
  32827. "type": "integer"
  32828. },
  32829. "buyorsell": {
  32830. "description": "方向 - 0:买 1:卖",
  32831. "type": "integer"
  32832. },
  32833. "enableqty": {
  32834. "description": "可摘数量",
  32835. "type": "integer"
  32836. },
  32837. "goodscode": {
  32838. "description": "商品代码",
  32839. "type": "string"
  32840. },
  32841. "goodsid": {
  32842. "description": "商品ID",
  32843. "type": "integer"
  32844. },
  32845. "goodsname": {
  32846. "description": "商品名称",
  32847. "type": "string"
  32848. },
  32849. "orderid": {
  32850. "description": "委托单号",
  32851. "type": "string"
  32852. },
  32853. "orderprice": {
  32854. "description": "委托价格",
  32855. "type": "number"
  32856. },
  32857. "ordertime": {
  32858. "description": "委托时间",
  32859. "type": "string"
  32860. },
  32861. "tradedate": {
  32862. "description": "交易日(yyyyMMdd)",
  32863. "type": "string"
  32864. }
  32865. }
  32866. },
  32867. "user.LoginQueryRsp": {
  32868. "type": "object",
  32869. "properties": {
  32870. "areaRoles": {
  32871. "description": "所属角色信息",
  32872. "type": "array",
  32873. "items": {
  32874. "$ref": "#/definitions/models.Arearole"
  32875. }
  32876. },
  32877. "externalExchanges": {
  32878. "description": "外部交易所",
  32879. "type": "array",
  32880. "items": {
  32881. "$ref": "#/definitions/models.Externalexchange"
  32882. }
  32883. },
  32884. "goodsgroups": {
  32885. "description": "商品组",
  32886. "type": "array",
  32887. "items": {
  32888. "$ref": "#/definitions/models.Goodsgroup"
  32889. }
  32890. },
  32891. "loginAccount": {
  32892. "description": "登录账号",
  32893. "type": "object",
  32894. "$ref": "#/definitions/models.Loginaccount"
  32895. },
  32896. "markets": {
  32897. "description": "市场",
  32898. "type": "array",
  32899. "items": {
  32900. "$ref": "#/definitions/models.Market"
  32901. }
  32902. },
  32903. "systemParams": {
  32904. "description": "系统参数",
  32905. "type": "array",
  32906. "items": {
  32907. "$ref": "#/definitions/models.Systemparam"
  32908. }
  32909. },
  32910. "userAccount": {
  32911. "description": "用户账号",
  32912. "type": "object",
  32913. "$ref": "#/definitions/models.Useraccount"
  32914. },
  32915. "userInfo": {
  32916. "description": "用户信息",
  32917. "type": "object",
  32918. "$ref": "#/definitions/models.Userinfo"
  32919. },
  32920. "username": {
  32921. "description": "用户姓名",
  32922. "type": "string"
  32923. }
  32924. }
  32925. }
  32926. },
  32927. "securityDefinitions": {
  32928. "ApiKeyAuth": {
  32929. "type": "apiKey",
  32930. "name": "Authorization",
  32931. "in": "header"
  32932. }
  32933. }
  32934. }`
  32935. type swaggerInfo struct {
  32936. Version string
  32937. Host string
  32938. BasePath string
  32939. Schemes []string
  32940. Title string
  32941. Description string
  32942. }
  32943. // SwaggerInfo holds exported Swagger Info so clients can modify it
  32944. var SwaggerInfo = swaggerInfo{
  32945. Version: "1.0",
  32946. Host: "",
  32947. BasePath: "/api",
  32948. Schemes: []string{},
  32949. Title: "MTP2.0 查询服务 API",
  32950. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  32951. }
  32952. type s struct{}
  32953. func (s *s) ReadDoc() string {
  32954. sInfo := SwaggerInfo
  32955. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  32956. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  32957. "marshal": func(v interface{}) string {
  32958. a, _ := json.Marshal(v)
  32959. return string(a)
  32960. },
  32961. }).Parse(doc)
  32962. if err != nil {
  32963. return doc
  32964. }
  32965. var tpl bytes.Buffer
  32966. if err := t.Execute(&tpl, sInfo); err != nil {
  32967. return doc
  32968. }
  32969. return tpl.String()
  32970. }
  32971. func init() {
  32972. swag.Register(swag.Name, &s{})
  32973. }