docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366
  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. "type": "integer",
  1220. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1221. "name": "menutype",
  1222. "in": "query"
  1223. }
  1224. ],
  1225. "responses": {
  1226. "200": {
  1227. "description": "OK",
  1228. "schema": {
  1229. "type": "array",
  1230. "items": {
  1231. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1232. }
  1233. }
  1234. },
  1235. "500": {
  1236. "description": "Internal Server Error",
  1237. "schema": {
  1238. "$ref": "#/definitions/app.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1245. "get": {
  1246. "security": [
  1247. {
  1248. "ApiKeyAuth": []
  1249. }
  1250. ],
  1251. "produces": [
  1252. "application/json"
  1253. ],
  1254. "tags": [
  1255. "企业风险管理(app)"
  1256. ],
  1257. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1258. "parameters": [
  1259. {
  1260. "type": "integer",
  1261. "description": "用户ID",
  1262. "name": "userid",
  1263. "in": "query",
  1264. "required": true
  1265. },
  1266. {
  1267. "type": "integer",
  1268. "description": "账号id",
  1269. "name": "accountid",
  1270. "in": "query"
  1271. }
  1272. ],
  1273. "responses": {
  1274. "200": {
  1275. "description": "OK",
  1276. "schema": {
  1277. "type": "array",
  1278. "items": {
  1279. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1280. }
  1281. }
  1282. },
  1283. "500": {
  1284. "description": "Internal Server Error",
  1285. "schema": {
  1286. "$ref": "#/definitions/app.Response"
  1287. }
  1288. }
  1289. }
  1290. }
  1291. },
  1292. "/Ermcp/QueryAccMgrTaaccount": {
  1293. "get": {
  1294. "security": [
  1295. {
  1296. "ApiKeyAuth": []
  1297. }
  1298. ],
  1299. "produces": [
  1300. "application/json"
  1301. ],
  1302. "tags": [
  1303. "企业风险管理(app)"
  1304. ],
  1305. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1306. "parameters": [
  1307. {
  1308. "type": "integer",
  1309. "description": "用户ID",
  1310. "name": "userid",
  1311. "in": "query",
  1312. "required": true
  1313. }
  1314. ],
  1315. "responses": {
  1316. "200": {
  1317. "description": "OK",
  1318. "schema": {
  1319. "type": "array",
  1320. "items": {
  1321. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1322. }
  1323. }
  1324. },
  1325. "500": {
  1326. "description": "Internal Server Error",
  1327. "schema": {
  1328. "$ref": "#/definitions/app.Response"
  1329. }
  1330. }
  1331. }
  1332. }
  1333. },
  1334. "/Ermcp/QueryAvaildGoodsGroup": {
  1335. "get": {
  1336. "security": [
  1337. {
  1338. "ApiKeyAuth": []
  1339. }
  1340. ],
  1341. "produces": [
  1342. "application/json"
  1343. ],
  1344. "tags": [
  1345. "企业风险管理(app)"
  1346. ],
  1347. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1348. "parameters": [
  1349. {
  1350. "type": "integer",
  1351. "description": "所属机构ID",
  1352. "name": "userid",
  1353. "in": "query",
  1354. "required": true
  1355. }
  1356. ],
  1357. "responses": {
  1358. "200": {
  1359. "description": "OK",
  1360. "schema": {
  1361. "type": "array",
  1362. "items": {
  1363. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1364. }
  1365. }
  1366. },
  1367. "500": {
  1368. "description": "Internal Server Error",
  1369. "schema": {
  1370. "$ref": "#/definitions/app.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/Ermcp/QueryBusinessDj": {
  1377. "get": {
  1378. "security": [
  1379. {
  1380. "ApiKeyAuth": []
  1381. }
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "企业风险管理(app)"
  1388. ],
  1389. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1390. "parameters": [
  1391. {
  1392. "type": "integer",
  1393. "description": "用户ID",
  1394. "name": "UserId",
  1395. "in": "query",
  1396. "required": true
  1397. },
  1398. {
  1399. "type": "integer",
  1400. "description": "用户类型 2-机构 7-企业成员",
  1401. "name": "usertype",
  1402. "in": "query"
  1403. },
  1404. {
  1405. "type": "string",
  1406. "description": "现货合同ID, 不填则查所有",
  1407. "name": "relatedid",
  1408. "in": "query"
  1409. },
  1410. {
  1411. "type": "string",
  1412. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1413. "name": "applystatus",
  1414. "in": "query"
  1415. }
  1416. ],
  1417. "responses": {
  1418. "200": {
  1419. "description": "OK",
  1420. "schema": {
  1421. "type": "array",
  1422. "items": {
  1423. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1424. }
  1425. }
  1426. },
  1427. "500": {
  1428. "description": "Internal Server Error",
  1429. "schema": {
  1430. "$ref": "#/definitions/app.Response"
  1431. }
  1432. }
  1433. }
  1434. }
  1435. },
  1436. "/Ermcp/QueryBusinessFp": {
  1437. "get": {
  1438. "security": [
  1439. {
  1440. "ApiKeyAuth": []
  1441. }
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "企业风险管理(app)"
  1448. ],
  1449. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1450. "parameters": [
  1451. {
  1452. "type": "integer",
  1453. "description": "用户ID",
  1454. "name": "UserId",
  1455. "in": "query",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "integer",
  1460. "description": "用户类型 2-机构 7-企业成员",
  1461. "name": "usertype",
  1462. "in": "query"
  1463. },
  1464. {
  1465. "type": "string",
  1466. "description": "现货合同ID, 不填则查所有",
  1467. "name": "relatedid",
  1468. "in": "query"
  1469. },
  1470. {
  1471. "type": "string",
  1472. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1473. "name": "applystatus",
  1474. "in": "query"
  1475. }
  1476. ],
  1477. "responses": {
  1478. "200": {
  1479. "description": "OK",
  1480. "schema": {
  1481. "type": "array",
  1482. "items": {
  1483. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1484. }
  1485. }
  1486. },
  1487. "500": {
  1488. "description": "Internal Server Error",
  1489. "schema": {
  1490. "$ref": "#/definitions/app.Response"
  1491. }
  1492. }
  1493. }
  1494. }
  1495. },
  1496. "/Ermcp/QueryBusinessJs": {
  1497. "get": {
  1498. "security": [
  1499. {
  1500. "ApiKeyAuth": []
  1501. }
  1502. ],
  1503. "produces": [
  1504. "application/json"
  1505. ],
  1506. "tags": [
  1507. "企业风险管理(app)"
  1508. ],
  1509. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1510. "parameters": [
  1511. {
  1512. "type": "integer",
  1513. "description": "用户ID",
  1514. "name": "UserId",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "integer",
  1520. "description": "用户类型 2-机构 7-企业成员",
  1521. "name": "usertype",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "现货合同ID, 不填则查所有",
  1527. "name": "relatedid",
  1528. "in": "query"
  1529. },
  1530. {
  1531. "type": "string",
  1532. "description": "操作申请id",
  1533. "name": "operateapplyid",
  1534. "in": "query"
  1535. },
  1536. {
  1537. "type": "string",
  1538. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1539. "name": "applystatus",
  1540. "in": "query"
  1541. }
  1542. ],
  1543. "responses": {
  1544. "200": {
  1545. "description": "OK",
  1546. "schema": {
  1547. "type": "array",
  1548. "items": {
  1549. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1550. }
  1551. }
  1552. },
  1553. "500": {
  1554. "description": "Internal Server Error",
  1555. "schema": {
  1556. "$ref": "#/definitions/app.Response"
  1557. }
  1558. }
  1559. }
  1560. }
  1561. },
  1562. "/Ermcp/QueryBusinessJsEx": {
  1563. "get": {
  1564. "security": [
  1565. {
  1566. "ApiKeyAuth": []
  1567. }
  1568. ],
  1569. "produces": [
  1570. "application/json"
  1571. ],
  1572. "tags": [
  1573. "企业风险管理(app)"
  1574. ],
  1575. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1576. "parameters": [
  1577. {
  1578. "type": "integer",
  1579. "description": "用户ID",
  1580. "name": "UserId",
  1581. "in": "query",
  1582. "required": true
  1583. },
  1584. {
  1585. "type": "integer",
  1586. "description": "用户类型 2-机构 7-企业成员",
  1587. "name": "usertype",
  1588. "in": "query"
  1589. },
  1590. {
  1591. "type": "string",
  1592. "description": "现货合同ID, 不填则查所有",
  1593. "name": "relatedid",
  1594. "in": "query"
  1595. },
  1596. {
  1597. "type": "string",
  1598. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1599. "name": "applystatus",
  1600. "in": "query"
  1601. }
  1602. ],
  1603. "responses": {
  1604. "200": {
  1605. "description": "OK",
  1606. "schema": {
  1607. "type": "array",
  1608. "items": {
  1609. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1610. }
  1611. }
  1612. },
  1613. "500": {
  1614. "description": "Internal Server Error",
  1615. "schema": {
  1616. "$ref": "#/definitions/app.Response"
  1617. }
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "/Ermcp/QueryBusinessKx": {
  1623. "get": {
  1624. "security": [
  1625. {
  1626. "ApiKeyAuth": []
  1627. }
  1628. ],
  1629. "produces": [
  1630. "application/json"
  1631. ],
  1632. "tags": [
  1633. "企业风险管理(app)"
  1634. ],
  1635. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1636. "parameters": [
  1637. {
  1638. "type": "integer",
  1639. "description": "用户ID",
  1640. "name": "UserId",
  1641. "in": "query",
  1642. "required": true
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "用户类型 2-机构 7-企业成员",
  1647. "name": "usertype",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "string",
  1652. "description": "现货合同ID, 不填则查所有",
  1653. "name": "relatedid",
  1654. "in": "query"
  1655. },
  1656. {
  1657. "type": "string",
  1658. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1659. "name": "applystatus",
  1660. "in": "query"
  1661. }
  1662. ],
  1663. "responses": {
  1664. "200": {
  1665. "description": "OK",
  1666. "schema": {
  1667. "type": "array",
  1668. "items": {
  1669. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1670. }
  1671. }
  1672. },
  1673. "500": {
  1674. "description": "Internal Server Error",
  1675. "schema": {
  1676. "$ref": "#/definitions/app.Response"
  1677. }
  1678. }
  1679. }
  1680. }
  1681. },
  1682. "/Ermcp/QueryChangeLog": {
  1683. "get": {
  1684. "security": [
  1685. {
  1686. "ApiKeyAuth": []
  1687. }
  1688. ],
  1689. "produces": [
  1690. "application/json"
  1691. ],
  1692. "tags": [
  1693. "企业风险管理(app)"
  1694. ],
  1695. "summary": "查询变更记录",
  1696. "parameters": [
  1697. {
  1698. "type": "string",
  1699. "description": "合同ID",
  1700. "name": "RelatedId",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "OK",
  1708. "schema": {
  1709. "type": "array",
  1710. "items": {
  1711. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1712. }
  1713. }
  1714. },
  1715. "500": {
  1716. "description": "Internal Server Error",
  1717. "schema": {
  1718. "$ref": "#/definitions/app.Response"
  1719. }
  1720. }
  1721. }
  1722. }
  1723. },
  1724. "/Ermcp/QueryErmcpHisOrderDetails": {
  1725. "get": {
  1726. "security": [
  1727. {
  1728. "ApiKeyAuth": []
  1729. }
  1730. ],
  1731. "produces": [
  1732. "application/json"
  1733. ],
  1734. "tags": [
  1735. "企业风险管理(app)"
  1736. ],
  1737. "summary": "获取企业风管期货历史委托单信息",
  1738. "parameters": [
  1739. {
  1740. "type": "integer",
  1741. "description": "资金账户ID",
  1742. "name": "accountID",
  1743. "in": "query",
  1744. "required": true
  1745. },
  1746. {
  1747. "type": "string",
  1748. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1749. "name": "startDate",
  1750. "in": "query"
  1751. },
  1752. {
  1753. "type": "string",
  1754. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1755. "name": "endDate",
  1756. "in": "query"
  1757. }
  1758. ],
  1759. "responses": {
  1760. "200": {
  1761. "description": "OK",
  1762. "schema": {
  1763. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1764. }
  1765. },
  1766. "500": {
  1767. "description": "Internal Server Error",
  1768. "schema": {
  1769. "$ref": "#/definitions/app.Response"
  1770. }
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "/Ermcp/QueryErmcpHisTradeDetails": {
  1776. "get": {
  1777. "security": [
  1778. {
  1779. "ApiKeyAuth": []
  1780. }
  1781. ],
  1782. "produces": [
  1783. "application/json"
  1784. ],
  1785. "tags": [
  1786. "企业风险管理(app)"
  1787. ],
  1788. "summary": "获取企业风管期货历史成交单信息",
  1789. "parameters": [
  1790. {
  1791. "type": "integer",
  1792. "description": "资金账户ID",
  1793. "name": "accountID",
  1794. "in": "query",
  1795. "required": true
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "商品ID",
  1800. "name": "goodsID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "integer",
  1805. "description": "买卖方向,0:买 1:卖",
  1806. "name": "buyOrSell",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "integer",
  1811. "description": "关联委托单号",
  1812. "name": "orderID",
  1813. "in": "query"
  1814. },
  1815. {
  1816. "type": "string",
  1817. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1818. "name": "startDate",
  1819. "in": "query"
  1820. },
  1821. {
  1822. "type": "string",
  1823. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1824. "name": "endDate",
  1825. "in": "query"
  1826. }
  1827. ],
  1828. "responses": {
  1829. "200": {
  1830. "description": "OK",
  1831. "schema": {
  1832. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1833. }
  1834. },
  1835. "500": {
  1836. "description": "Internal Server Error",
  1837. "schema": {
  1838. "$ref": "#/definitions/app.Response"
  1839. }
  1840. }
  1841. }
  1842. }
  1843. },
  1844. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1845. "get": {
  1846. "security": [
  1847. {
  1848. "ApiKeyAuth": []
  1849. }
  1850. ],
  1851. "produces": [
  1852. "application/json"
  1853. ],
  1854. "tags": [
  1855. "企业风险管理(app)"
  1856. ],
  1857. "summary": "获取企业风管期货内部持仓单信息",
  1858. "parameters": [
  1859. {
  1860. "type": "integer",
  1861. "description": "资金账户ID",
  1862. "name": "accountID",
  1863. "in": "query",
  1864. "required": true
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "商品ID",
  1869. "name": "goodsID",
  1870. "in": "query"
  1871. },
  1872. {
  1873. "type": "integer",
  1874. "description": "买卖方向,0:买 1:卖",
  1875. "name": "buyOrSell",
  1876. "in": "query"
  1877. }
  1878. ],
  1879. "responses": {
  1880. "200": {
  1881. "description": "OK",
  1882. "schema": {
  1883. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryErmcpOrderDetails": {
  1896. "get": {
  1897. "security": [
  1898. {
  1899. "ApiKeyAuth": []
  1900. }
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "企业风险管理(app)"
  1907. ],
  1908. "summary": "获取企业风管期货委托单信息",
  1909. "parameters": [
  1910. {
  1911. "type": "integer",
  1912. "description": "资金账户ID",
  1913. "name": "accountID",
  1914. "in": "query",
  1915. "required": true
  1916. }
  1917. ],
  1918. "responses": {
  1919. "200": {
  1920. "description": "OK",
  1921. "schema": {
  1922. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1923. }
  1924. },
  1925. "500": {
  1926. "description": "Internal Server Error",
  1927. "schema": {
  1928. "$ref": "#/definitions/app.Response"
  1929. }
  1930. }
  1931. }
  1932. }
  1933. },
  1934. "/Ermcp/QueryErmcpTradeDetails": {
  1935. "get": {
  1936. "security": [
  1937. {
  1938. "ApiKeyAuth": []
  1939. }
  1940. ],
  1941. "produces": [
  1942. "application/json"
  1943. ],
  1944. "tags": [
  1945. "企业风险管理(app)"
  1946. ],
  1947. "summary": "获取企业风管期货成交单信息",
  1948. "parameters": [
  1949. {
  1950. "type": "integer",
  1951. "description": "资金账户ID",
  1952. "name": "accountID",
  1953. "in": "query",
  1954. "required": true
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "商品ID",
  1959. "name": "goodsID",
  1960. "in": "query"
  1961. },
  1962. {
  1963. "type": "integer",
  1964. "description": "买卖方向,0:买 1:卖",
  1965. "name": "buyOrSell",
  1966. "in": "query"
  1967. },
  1968. {
  1969. "type": "integer",
  1970. "description": "关联委托单号",
  1971. "name": "orderID",
  1972. "in": "query"
  1973. }
  1974. ],
  1975. "responses": {
  1976. "200": {
  1977. "description": "OK",
  1978. "schema": {
  1979. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1980. }
  1981. },
  1982. "500": {
  1983. "description": "Internal Server Error",
  1984. "schema": {
  1985. "$ref": "#/definitions/app.Response"
  1986. }
  1987. }
  1988. }
  1989. }
  1990. },
  1991. "/Ermcp/QueryErmcpTradePosition": {
  1992. "get": {
  1993. "security": [
  1994. {
  1995. "ApiKeyAuth": []
  1996. }
  1997. ],
  1998. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1999. "produces": [
  2000. "application/json"
  2001. ],
  2002. "tags": [
  2003. "企业风险管理(app)"
  2004. ],
  2005. "summary": "获取企业风管期货持仓头寸信息",
  2006. "parameters": [
  2007. {
  2008. "type": "integer",
  2009. "description": "资金账户ID",
  2010. "name": "accountID",
  2011. "in": "query",
  2012. "required": true
  2013. },
  2014. {
  2015. "type": "integer",
  2016. "description": "所属市场ID",
  2017. "name": "marketID",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2026. }
  2027. },
  2028. "500": {
  2029. "description": "Internal Server Error",
  2030. "schema": {
  2031. "$ref": "#/definitions/app.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/Ermcp/QueryExposureDetail": {
  2038. "get": {
  2039. "security": [
  2040. {
  2041. "ApiKeyAuth": []
  2042. }
  2043. ],
  2044. "produces": [
  2045. "application/json"
  2046. ],
  2047. "tags": [
  2048. "企业风险管理(app)"
  2049. ],
  2050. "summary": "查询敞口现货明细",
  2051. "parameters": [
  2052. {
  2053. "type": "integer",
  2054. "description": "所属机构ID",
  2055. "name": "areaUserId",
  2056. "in": "query",
  2057. "required": true
  2058. },
  2059. {
  2060. "type": "integer",
  2061. "description": "套保商品",
  2062. "name": "middleGoodsId",
  2063. "in": "query",
  2064. "required": true
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "OK",
  2070. "schema": {
  2071. "type": "array",
  2072. "items": {
  2073. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2074. }
  2075. }
  2076. },
  2077. "500": {
  2078. "description": "Internal Server Error",
  2079. "schema": {
  2080. "$ref": "#/definitions/app.Response"
  2081. }
  2082. }
  2083. }
  2084. }
  2085. },
  2086. "/Ermcp/QueryExposureGoods": {
  2087. "get": {
  2088. "security": [
  2089. {
  2090. "ApiKeyAuth": []
  2091. }
  2092. ],
  2093. "produces": [
  2094. "application/json"
  2095. ],
  2096. "tags": [
  2097. "企业风险管理(app)"
  2098. ],
  2099. "summary": "查询敞口主力合约",
  2100. "parameters": [
  2101. {
  2102. "type": "integer",
  2103. "description": "套保商品id",
  2104. "name": "middlegoodsid",
  2105. "in": "query",
  2106. "required": true
  2107. }
  2108. ],
  2109. "responses": {
  2110. "200": {
  2111. "description": "OK",
  2112. "schema": {
  2113. "type": "array",
  2114. "items": {
  2115. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2116. }
  2117. }
  2118. },
  2119. "500": {
  2120. "description": "Internal Server Error",
  2121. "schema": {
  2122. "$ref": "#/definitions/app.Response"
  2123. }
  2124. }
  2125. }
  2126. }
  2127. },
  2128. "/Ermcp/QueryExposureHedgePosition": {
  2129. "get": {
  2130. "security": [
  2131. {
  2132. "ApiKeyAuth": []
  2133. }
  2134. ],
  2135. "produces": [
  2136. "application/json"
  2137. ],
  2138. "tags": [
  2139. "企业风险管理(app)"
  2140. ],
  2141. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2142. "parameters": [
  2143. {
  2144. "type": "integer",
  2145. "description": "用户id",
  2146. "name": "userid",
  2147. "in": "query",
  2148. "required": true
  2149. }
  2150. ],
  2151. "responses": {
  2152. "200": {
  2153. "description": "OK",
  2154. "schema": {
  2155. "type": "array",
  2156. "items": {
  2157. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2158. }
  2159. }
  2160. },
  2161. "500": {
  2162. "description": "Internal Server Error",
  2163. "schema": {
  2164. "$ref": "#/definitions/app.Response"
  2165. }
  2166. }
  2167. }
  2168. }
  2169. },
  2170. "/Ermcp/QueryExposureHedgePositionDetail": {
  2171. "get": {
  2172. "security": [
  2173. {
  2174. "ApiKeyAuth": []
  2175. }
  2176. ],
  2177. "produces": [
  2178. "application/json"
  2179. ],
  2180. "tags": [
  2181. "企业风险管理(app)"
  2182. ],
  2183. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2184. "parameters": [
  2185. {
  2186. "type": "integer",
  2187. "description": "所属机构ID",
  2188. "name": "userid",
  2189. "in": "query",
  2190. "required": true
  2191. },
  2192. {
  2193. "type": "integer",
  2194. "description": "商品id",
  2195. "name": "goodsId",
  2196. "in": "query",
  2197. "required": true
  2198. }
  2199. ],
  2200. "responses": {
  2201. "200": {
  2202. "description": "OK",
  2203. "schema": {
  2204. "type": "array",
  2205. "items": {
  2206. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2207. }
  2208. }
  2209. },
  2210. "500": {
  2211. "description": "Internal Server Error",
  2212. "schema": {
  2213. "$ref": "#/definitions/app.Response"
  2214. }
  2215. }
  2216. }
  2217. }
  2218. },
  2219. "/Ermcp/QueryExposureSpot": {
  2220. "get": {
  2221. "security": [
  2222. {
  2223. "ApiKeyAuth": []
  2224. }
  2225. ],
  2226. "produces": [
  2227. "application/json"
  2228. ],
  2229. "tags": [
  2230. "企业风险管理(app)"
  2231. ],
  2232. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2233. "parameters": [
  2234. {
  2235. "type": "integer",
  2236. "description": "所属机构ID",
  2237. "name": "areaUserId",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryExposureSpotDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "areaUserId",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "现货品种ID",
  2286. "name": "wrstandardId",
  2287. "in": "query",
  2288. "required": true
  2289. }
  2290. ],
  2291. "responses": {
  2292. "200": {
  2293. "description": "OK",
  2294. "schema": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2298. }
  2299. }
  2300. },
  2301. "500": {
  2302. "description": "Internal Server Error",
  2303. "schema": {
  2304. "$ref": "#/definitions/app.Response"
  2305. }
  2306. }
  2307. }
  2308. }
  2309. },
  2310. "/Ermcp/QueryFuturesCompany": {
  2311. "get": {
  2312. "security": [
  2313. {
  2314. "ApiKeyAuth": []
  2315. }
  2316. ],
  2317. "produces": [
  2318. "application/json"
  2319. ],
  2320. "tags": [
  2321. "企业风险管理(app)"
  2322. ],
  2323. "summary": "查询期货公司",
  2324. "responses": {
  2325. "200": {
  2326. "description": "OK",
  2327. "schema": {
  2328. "type": "array",
  2329. "items": {
  2330. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2331. }
  2332. }
  2333. },
  2334. "500": {
  2335. "description": "Internal Server Error",
  2336. "schema": {
  2337. "$ref": "#/definitions/app.Response"
  2338. }
  2339. }
  2340. }
  2341. }
  2342. },
  2343. "/Ermcp/QueryGGConvertConfig": {
  2344. "get": {
  2345. "security": [
  2346. {
  2347. "ApiKeyAuth": []
  2348. }
  2349. ],
  2350. "produces": [
  2351. "application/json"
  2352. ],
  2353. "tags": [
  2354. "企业风险管理(app)"
  2355. ],
  2356. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2357. "parameters": [
  2358. {
  2359. "type": "integer",
  2360. "description": "品种id(不填则查所有)",
  2361. "name": "goodsgroupid",
  2362. "in": "query"
  2363. }
  2364. ],
  2365. "responses": {
  2366. "200": {
  2367. "description": "OK",
  2368. "schema": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2372. }
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/Ermcp/QueryGoodsBrand": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "produces": [
  2392. "application/json"
  2393. ],
  2394. "tags": [
  2395. "企业风险管理(app)"
  2396. ],
  2397. "summary": "查询商品品牌",
  2398. "parameters": [
  2399. {
  2400. "type": "integer",
  2401. "description": "用户ID",
  2402. "name": "userid",
  2403. "in": "query",
  2404. "required": true
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "现货商品ID",
  2409. "name": "wrstandardid",
  2410. "in": "query"
  2411. }
  2412. ],
  2413. "responses": {
  2414. "200": {
  2415. "description": "OK",
  2416. "schema": {
  2417. "type": "array",
  2418. "items": {
  2419. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2420. }
  2421. }
  2422. },
  2423. "500": {
  2424. "description": "Internal Server Error",
  2425. "schema": {
  2426. "$ref": "#/definitions/app.Response"
  2427. }
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "/Ermcp/QueryGoodsModel": {
  2433. "get": {
  2434. "security": [
  2435. {
  2436. "ApiKeyAuth": []
  2437. }
  2438. ],
  2439. "produces": [
  2440. "application/json"
  2441. ],
  2442. "tags": [
  2443. "企业风险管理(app)"
  2444. ],
  2445. "summary": "查询商品型号",
  2446. "parameters": [
  2447. {
  2448. "type": "integer",
  2449. "description": "用户ID",
  2450. "name": "userid",
  2451. "in": "query",
  2452. "required": true
  2453. }
  2454. ],
  2455. "responses": {
  2456. "200": {
  2457. "description": "OK",
  2458. "schema": {
  2459. "type": "array",
  2460. "items": {
  2461. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2462. }
  2463. }
  2464. },
  2465. "500": {
  2466. "description": "Internal Server Error",
  2467. "schema": {
  2468. "$ref": "#/definitions/app.Response"
  2469. }
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "/Ermcp/QueryHisExposure": {
  2475. "get": {
  2476. "security": [
  2477. {
  2478. "ApiKeyAuth": []
  2479. }
  2480. ],
  2481. "produces": [
  2482. "application/json"
  2483. ],
  2484. "tags": [
  2485. "企业风险管理(app)"
  2486. ],
  2487. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2488. "parameters": [
  2489. {
  2490. "type": "integer",
  2491. "description": "用户id",
  2492. "name": "userid",
  2493. "in": "query",
  2494. "required": true
  2495. },
  2496. {
  2497. "type": "integer",
  2498. "description": "每个品种记录数",
  2499. "name": "lastNum",
  2500. "in": "query",
  2501. "required": true
  2502. }
  2503. ],
  2504. "responses": {
  2505. "200": {
  2506. "description": "OK",
  2507. "schema": {
  2508. "type": "array",
  2509. "items": {
  2510. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2511. }
  2512. }
  2513. },
  2514. "500": {
  2515. "description": "Internal Server Error",
  2516. "schema": {
  2517. "$ref": "#/definitions/app.Response"
  2518. }
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "/Ermcp/QueryMiddleGoods": {
  2524. "get": {
  2525. "security": [
  2526. {
  2527. "ApiKeyAuth": []
  2528. }
  2529. ],
  2530. "produces": [
  2531. "application/json"
  2532. ],
  2533. "tags": [
  2534. "企业风险管理(app)"
  2535. ],
  2536. "summary": "查询套保品种(菜单:套保品种)",
  2537. "parameters": [
  2538. {
  2539. "type": "integer",
  2540. "description": "所属机构ID",
  2541. "name": "userid",
  2542. "in": "query",
  2543. "required": true
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "状态 0-停用 1-正常",
  2548. "name": "status",
  2549. "in": "query",
  2550. "required": true
  2551. }
  2552. ],
  2553. "responses": {
  2554. "200": {
  2555. "description": "OK",
  2556. "schema": {
  2557. "type": "array",
  2558. "items": {
  2559. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2560. }
  2561. }
  2562. },
  2563. "500": {
  2564. "description": "Internal Server Error",
  2565. "schema": {
  2566. "$ref": "#/definitions/app.Response"
  2567. }
  2568. }
  2569. }
  2570. }
  2571. },
  2572. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2573. "get": {
  2574. "security": [
  2575. {
  2576. "ApiKeyAuth": []
  2577. }
  2578. ],
  2579. "produces": [
  2580. "application/json"
  2581. ],
  2582. "tags": [
  2583. "企业风险管理(app)"
  2584. ],
  2585. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2586. "parameters": [
  2587. {
  2588. "type": "integer",
  2589. "description": "所属机构ID",
  2590. "name": "userid",
  2591. "in": "query",
  2592. "required": true
  2593. },
  2594. {
  2595. "type": "integer",
  2596. "description": "套保品种id",
  2597. "name": "middlegoodsid",
  2598. "in": "query",
  2599. "required": true
  2600. }
  2601. ],
  2602. "responses": {
  2603. "200": {
  2604. "description": "OK",
  2605. "schema": {
  2606. "type": "array",
  2607. "items": {
  2608. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2609. }
  2610. }
  2611. },
  2612. "500": {
  2613. "description": "Internal Server Error",
  2614. "schema": {
  2615. "$ref": "#/definitions/app.Response"
  2616. }
  2617. }
  2618. }
  2619. }
  2620. },
  2621. "/Ermcp/QueryMiddleGoodsDetail": {
  2622. "get": {
  2623. "security": [
  2624. {
  2625. "ApiKeyAuth": []
  2626. }
  2627. ],
  2628. "produces": [
  2629. "application/json"
  2630. ],
  2631. "tags": [
  2632. "企业风险管理(app)"
  2633. ],
  2634. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2635. "parameters": [
  2636. {
  2637. "type": "integer",
  2638. "description": "所属机构ID",
  2639. "name": "userid",
  2640. "in": "query",
  2641. "required": true
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "套保品种id",
  2646. "name": "middlegoodsid",
  2647. "in": "query"
  2648. }
  2649. ],
  2650. "responses": {
  2651. "200": {
  2652. "description": "OK",
  2653. "schema": {
  2654. "type": "array",
  2655. "items": {
  2656. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2657. }
  2658. }
  2659. },
  2660. "500": {
  2661. "description": "Internal Server Error",
  2662. "schema": {
  2663. "$ref": "#/definitions/app.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/Ermcp/QueryPendingAuditInfo": {
  2670. "get": {
  2671. "security": [
  2672. {
  2673. "ApiKeyAuth": []
  2674. }
  2675. ],
  2676. "produces": [
  2677. "application/json"
  2678. ],
  2679. "tags": [
  2680. "企业风险管理(app)"
  2681. ],
  2682. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2683. "parameters": [
  2684. {
  2685. "type": "integer",
  2686. "description": "用户ID",
  2687. "name": "UserId",
  2688. "in": "query",
  2689. "required": true
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "type": "array",
  2697. "items": {
  2698. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2699. }
  2700. }
  2701. },
  2702. "500": {
  2703. "description": "Internal Server Error",
  2704. "schema": {
  2705. "$ref": "#/definitions/app.Response"
  2706. }
  2707. }
  2708. }
  2709. }
  2710. },
  2711. "/Ermcp/QueryRealtimeExposure": {
  2712. "get": {
  2713. "security": [
  2714. {
  2715. "ApiKeyAuth": []
  2716. }
  2717. ],
  2718. "produces": [
  2719. "application/json"
  2720. ],
  2721. "tags": [
  2722. "企业风险管理(app)"
  2723. ],
  2724. "summary": "查询实时敞口",
  2725. "parameters": [
  2726. {
  2727. "type": "integer",
  2728. "description": "所属机构ID",
  2729. "name": "userid",
  2730. "in": "query",
  2731. "required": true
  2732. }
  2733. ],
  2734. "responses": {
  2735. "200": {
  2736. "description": "OK",
  2737. "schema": {
  2738. "type": "array",
  2739. "items": {
  2740. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2741. }
  2742. }
  2743. },
  2744. "500": {
  2745. "description": "Internal Server Error",
  2746. "schema": {
  2747. "$ref": "#/definitions/app.Response"
  2748. }
  2749. }
  2750. }
  2751. }
  2752. },
  2753. "/Ermcp/QueryRealtimeExposurePosition": {
  2754. "get": {
  2755. "security": [
  2756. {
  2757. "ApiKeyAuth": []
  2758. }
  2759. ],
  2760. "produces": [
  2761. "application/json"
  2762. ],
  2763. "tags": [
  2764. "企业风险管理(app)"
  2765. ],
  2766. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2767. "parameters": [
  2768. {
  2769. "type": "integer",
  2770. "description": "用户id",
  2771. "name": "userid",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "套保商品ID",
  2778. "name": "middleGoodsId",
  2779. "in": "query",
  2780. "required": true
  2781. }
  2782. ],
  2783. "responses": {
  2784. "200": {
  2785. "description": "OK",
  2786. "schema": {
  2787. "type": "array",
  2788. "items": {
  2789. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2790. }
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Ermcp/QueryRoleMenu": {
  2803. "get": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "企业风险管理(app)"
  2814. ],
  2815. "summary": "查询角色菜单和权限",
  2816. "parameters": [
  2817. {
  2818. "type": "integer",
  2819. "description": "登录ID",
  2820. "name": "loginid",
  2821. "in": "query",
  2822. "required": true
  2823. },
  2824. {
  2825. "type": "integer",
  2826. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  2827. "name": "menutype",
  2828. "in": "query"
  2829. }
  2830. ],
  2831. "responses": {
  2832. "200": {
  2833. "description": "OK",
  2834. "schema": {
  2835. "type": "array",
  2836. "items": {
  2837. "$ref": "#/definitions/models.RoleMenu"
  2838. }
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp/QueryTradeConfigTMP": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理(app)"
  2862. ],
  2863. "summary": "查询交易模板配置",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "所属机构id",
  2868. "name": "areauserid",
  2869. "in": "query"
  2870. }
  2871. ],
  2872. "responses": {
  2873. "200": {
  2874. "description": "OK",
  2875. "schema": {
  2876. "type": "array",
  2877. "items": {
  2878. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2879. }
  2880. }
  2881. },
  2882. "500": {
  2883. "description": "Internal Server Error",
  2884. "schema": {
  2885. "$ref": "#/definitions/app.Response"
  2886. }
  2887. }
  2888. }
  2889. }
  2890. },
  2891. "/Ermcp/QueryUserInfo": {
  2892. "get": {
  2893. "security": [
  2894. {
  2895. "ApiKeyAuth": []
  2896. }
  2897. ],
  2898. "produces": [
  2899. "application/json"
  2900. ],
  2901. "tags": [
  2902. "企业风险管理(app)"
  2903. ],
  2904. "summary": "查询客户资料",
  2905. "parameters": [
  2906. {
  2907. "type": "integer",
  2908. "description": "所属机构用户ID",
  2909. "name": "MemberUserID",
  2910. "in": "query",
  2911. "required": true
  2912. },
  2913. {
  2914. "type": "integer",
  2915. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2916. "name": "queryType",
  2917. "in": "query",
  2918. "required": true
  2919. }
  2920. ],
  2921. "responses": {
  2922. "200": {
  2923. "description": "OK",
  2924. "schema": {
  2925. "type": "array",
  2926. "items": {
  2927. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2928. }
  2929. }
  2930. },
  2931. "500": {
  2932. "description": "Internal Server Error",
  2933. "schema": {
  2934. "$ref": "#/definitions/app.Response"
  2935. }
  2936. }
  2937. }
  2938. }
  2939. },
  2940. "/Ermcp/QueryWarehouseInfo": {
  2941. "get": {
  2942. "security": [
  2943. {
  2944. "ApiKeyAuth": []
  2945. }
  2946. ],
  2947. "produces": [
  2948. "application/json"
  2949. ],
  2950. "tags": [
  2951. "企业风险管理(app)"
  2952. ],
  2953. "summary": "查询仓库信息",
  2954. "parameters": [
  2955. {
  2956. "type": "integer",
  2957. "description": "用户ID",
  2958. "name": "userid",
  2959. "in": "query",
  2960. "required": true
  2961. },
  2962. {
  2963. "type": "string",
  2964. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2965. "name": "status",
  2966. "in": "query"
  2967. }
  2968. ],
  2969. "responses": {
  2970. "200": {
  2971. "description": "OK",
  2972. "schema": {
  2973. "type": "array",
  2974. "items": {
  2975. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2976. }
  2977. }
  2978. },
  2979. "500": {
  2980. "description": "Internal Server Error",
  2981. "schema": {
  2982. "$ref": "#/definitions/app.Response"
  2983. }
  2984. }
  2985. }
  2986. }
  2987. },
  2988. "/Ermcp3/QryAreaExpourseContractDetail": {
  2989. "get": {
  2990. "security": [
  2991. {
  2992. "ApiKeyAuth": []
  2993. }
  2994. ],
  2995. "produces": [
  2996. "application/json"
  2997. ],
  2998. "tags": [
  2999. "企业风险管理v3(app)"
  3000. ],
  3001. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3002. "parameters": [
  3003. {
  3004. "type": "integer",
  3005. "description": "用户ID",
  3006. "name": "userid",
  3007. "in": "query",
  3008. "required": true
  3009. },
  3010. {
  3011. "type": "integer",
  3012. "description": "套保商品id",
  3013. "name": "middlegoodsid",
  3014. "in": "query",
  3015. "required": true
  3016. },
  3017. {
  3018. "type": "integer",
  3019. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3020. "name": "cycletype",
  3021. "in": "query",
  3022. "required": true
  3023. },
  3024. {
  3025. "type": "string",
  3026. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3027. "name": "cycletime",
  3028. "in": "query",
  3029. "required": true
  3030. }
  3031. ],
  3032. "responses": {
  3033. "200": {
  3034. "description": "OK",
  3035. "schema": {
  3036. "type": "array",
  3037. "items": {
  3038. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3039. }
  3040. }
  3041. },
  3042. "500": {
  3043. "description": "Internal Server Error",
  3044. "schema": {
  3045. "$ref": "#/definitions/app.Response"
  3046. }
  3047. }
  3048. }
  3049. }
  3050. },
  3051. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3052. "get": {
  3053. "security": [
  3054. {
  3055. "ApiKeyAuth": []
  3056. }
  3057. ],
  3058. "produces": [
  3059. "application/json"
  3060. ],
  3061. "tags": [
  3062. "企业风险管理v3(app)"
  3063. ],
  3064. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3065. "parameters": [
  3066. {
  3067. "type": "integer",
  3068. "description": "用户ID",
  3069. "name": "userid",
  3070. "in": "query",
  3071. "required": true
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "套保商品id",
  3076. "name": "middlegoodsid",
  3077. "in": "query",
  3078. "required": true
  3079. },
  3080. {
  3081. "type": "integer",
  3082. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3083. "name": "cycletype",
  3084. "in": "query",
  3085. "required": true
  3086. },
  3087. {
  3088. "type": "string",
  3089. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3090. "name": "cycletime",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "企业风险管理v3(app)"
  3126. ],
  3127. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "用户ID",
  3132. "name": "userid",
  3133. "in": "query",
  3134. "required": true
  3135. },
  3136. {
  3137. "type": "integer",
  3138. "description": "套保商品id",
  3139. "name": "middlegoodsid",
  3140. "in": "query",
  3141. "required": true
  3142. },
  3143. {
  3144. "type": "integer",
  3145. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3146. "name": "cycletype",
  3147. "in": "query",
  3148. "required": true
  3149. },
  3150. {
  3151. "type": "string",
  3152. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3153. "name": "cycletime",
  3154. "in": "query",
  3155. "required": true
  3156. }
  3157. ],
  3158. "responses": {
  3159. "200": {
  3160. "description": "OK",
  3161. "schema": {
  3162. "type": "array",
  3163. "items": {
  3164. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3165. }
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "produces": [
  3185. "application/json"
  3186. ],
  3187. "tags": [
  3188. "企业风险管理v3(app)"
  3189. ],
  3190. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3191. "parameters": [
  3192. {
  3193. "type": "integer",
  3194. "description": "用户ID",
  3195. "name": "userid",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "套保商品id",
  3202. "name": "middlegoodsid",
  3203. "in": "query",
  3204. "required": true
  3205. },
  3206. {
  3207. "type": "integer",
  3208. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3209. "name": "cycletype",
  3210. "in": "query",
  3211. "required": true
  3212. },
  3213. {
  3214. "type": "string",
  3215. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3216. "name": "cycletime",
  3217. "in": "query",
  3218. "required": true
  3219. }
  3220. ],
  3221. "responses": {
  3222. "200": {
  3223. "description": "OK",
  3224. "schema": {
  3225. "type": "array",
  3226. "items": {
  3227. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3228. }
  3229. }
  3230. },
  3231. "500": {
  3232. "description": "Internal Server Error",
  3233. "schema": {
  3234. "$ref": "#/definitions/app.Response"
  3235. }
  3236. }
  3237. }
  3238. }
  3239. },
  3240. "/Ermcp3/QryAreaExpourseReport": {
  3241. "get": {
  3242. "security": [
  3243. {
  3244. "ApiKeyAuth": []
  3245. }
  3246. ],
  3247. "produces": [
  3248. "application/json"
  3249. ],
  3250. "tags": [
  3251. "企业风险管理v3(app)"
  3252. ],
  3253. "summary": "查询敞口报表",
  3254. "parameters": [
  3255. {
  3256. "type": "integer",
  3257. "description": "用户ID",
  3258. "name": "userid",
  3259. "in": "query",
  3260. "required": true
  3261. },
  3262. {
  3263. "type": "integer",
  3264. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3265. "name": "querytype",
  3266. "in": "query",
  3267. "required": true
  3268. },
  3269. {
  3270. "type": "integer",
  3271. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3272. "name": "cycletype",
  3273. "in": "query",
  3274. "required": true
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3279. "name": "cycletime",
  3280. "in": "query",
  3281. "required": true
  3282. }
  3283. ],
  3284. "responses": {
  3285. "200": {
  3286. "description": "OK",
  3287. "schema": {
  3288. "type": "array",
  3289. "items": {
  3290. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3291. }
  3292. }
  3293. },
  3294. "500": {
  3295. "description": "Internal Server Error",
  3296. "schema": {
  3297. "$ref": "#/definitions/app.Response"
  3298. }
  3299. }
  3300. }
  3301. }
  3302. },
  3303. "/Ermcp3/QryAreaSpotplReport": {
  3304. "get": {
  3305. "security": [
  3306. {
  3307. "ApiKeyAuth": []
  3308. }
  3309. ],
  3310. "produces": [
  3311. "application/json"
  3312. ],
  3313. "tags": [
  3314. "企业风险管理v3(app)"
  3315. ],
  3316. "summary": "查询现货报表",
  3317. "parameters": [
  3318. {
  3319. "type": "integer",
  3320. "description": "用户ID",
  3321. "name": "userid",
  3322. "in": "query",
  3323. "required": true
  3324. },
  3325. {
  3326. "type": "integer",
  3327. "description": "查询类型 1-报表 2-报表明细",
  3328. "name": "querytype",
  3329. "in": "query",
  3330. "required": true
  3331. },
  3332. {
  3333. "type": "integer",
  3334. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3335. "name": "cycletype",
  3336. "in": "query",
  3337. "required": true
  3338. },
  3339. {
  3340. "type": "string",
  3341. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3342. "name": "cycletime",
  3343. "in": "query",
  3344. "required": true
  3345. },
  3346. {
  3347. "type": "integer",
  3348. "description": "现货品种id(明细必填)",
  3349. "name": "deliverygoodsid",
  3350. "in": "query"
  3351. },
  3352. {
  3353. "type": "integer",
  3354. "description": "币种id(明细必填)",
  3355. "name": "currencyid",
  3356. "in": "query"
  3357. }
  3358. ],
  3359. "responses": {
  3360. "200": {
  3361. "description": "OK",
  3362. "schema": {
  3363. "type": "array",
  3364. "items": {
  3365. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3366. }
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/Ermcp3/QryAreaStockReport": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "企业风险管理v3(app)"
  3390. ],
  3391. "summary": "查询库存报表",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "用户ID",
  3396. "name": "userid",
  3397. "in": "query",
  3398. "required": true
  3399. },
  3400. {
  3401. "type": "integer",
  3402. "description": "查询类型 1-报表 2-报表明细",
  3403. "name": "querytype",
  3404. "in": "query",
  3405. "required": true
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3410. "name": "cycletype",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "string",
  3416. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3417. "name": "cycletime",
  3418. "in": "query",
  3419. "required": true
  3420. },
  3421. {
  3422. "type": "string",
  3423. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3424. "name": "sumfields",
  3425. "in": "query"
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "品种ID",
  3430. "name": "deliverygoodsid",
  3431. "in": "query"
  3432. },
  3433. {
  3434. "type": "integer",
  3435. "description": "品类ID",
  3436. "name": "wrstandardid",
  3437. "in": "query"
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "品牌ID",
  3442. "name": "spotgoodsbrandid",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "仓库ID",
  3448. "name": "warehouseinfoid",
  3449. "in": "query"
  3450. }
  3451. ],
  3452. "responses": {
  3453. "200": {
  3454. "description": "OK",
  3455. "schema": {
  3456. "type": "array",
  3457. "items": {
  3458. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3459. }
  3460. }
  3461. },
  3462. "500": {
  3463. "description": "Internal Server Error",
  3464. "schema": {
  3465. "$ref": "#/definitions/app.Response"
  3466. }
  3467. }
  3468. }
  3469. }
  3470. },
  3471. "/Ermcp3/QryAreaSumPL": {
  3472. "get": {
  3473. "security": [
  3474. {
  3475. "ApiKeyAuth": []
  3476. }
  3477. ],
  3478. "produces": [
  3479. "application/json"
  3480. ],
  3481. "tags": [
  3482. "企业风险管理v3(app)"
  3483. ],
  3484. "summary": "查询汇总损益表",
  3485. "parameters": [
  3486. {
  3487. "type": "integer",
  3488. "description": "用户ID",
  3489. "name": "userid",
  3490. "in": "query",
  3491. "required": true
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "查询类型 1-报表 2-报表明细",
  3496. "name": "querytype",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3503. "name": "cycletype",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "string",
  3509. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3510. "name": "cycletime",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "integer",
  3516. "description": "币种id(明细必填)",
  3517. "name": "currencyid",
  3518. "in": "query"
  3519. }
  3520. ],
  3521. "responses": {
  3522. "200": {
  3523. "description": "OK",
  3524. "schema": {
  3525. "type": "array",
  3526. "items": {
  3527. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3528. }
  3529. }
  3530. },
  3531. "500": {
  3532. "description": "Internal Server Error",
  3533. "schema": {
  3534. "$ref": "#/definitions/app.Response"
  3535. }
  3536. }
  3537. }
  3538. }
  3539. },
  3540. "/Ermcp3/QryFinanceReport": {
  3541. "get": {
  3542. "security": [
  3543. {
  3544. "ApiKeyAuth": []
  3545. }
  3546. ],
  3547. "produces": [
  3548. "application/json"
  3549. ],
  3550. "tags": [
  3551. "企业风险管理v3(app)"
  3552. ],
  3553. "summary": "查询财务报表",
  3554. "parameters": [
  3555. {
  3556. "type": "integer",
  3557. "description": "用户ID",
  3558. "name": "userid",
  3559. "in": "query",
  3560. "required": true
  3561. },
  3562. {
  3563. "type": "integer",
  3564. "description": "查询类型 1-报表 2-报表明细",
  3565. "name": "querytype",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3572. "name": "cycletype",
  3573. "in": "query",
  3574. "required": true
  3575. },
  3576. {
  3577. "type": "string",
  3578. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3579. "name": "cycletime",
  3580. "in": "query",
  3581. "required": true
  3582. },
  3583. {
  3584. "type": "integer",
  3585. "description": "币种id(报表明细必填)",
  3586. "name": "currencyid",
  3587. "in": "query"
  3588. },
  3589. {
  3590. "type": "string",
  3591. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3592. "name": "sumfields",
  3593. "in": "query"
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "type": "array",
  3601. "items": {
  3602. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3603. }
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/Ermcp3/QryTaFutureDataReport": {
  3616. "get": {
  3617. "security": [
  3618. {
  3619. "ApiKeyAuth": []
  3620. }
  3621. ],
  3622. "produces": [
  3623. "application/json"
  3624. ],
  3625. "tags": [
  3626. "企业风险管理v3(app)"
  3627. ],
  3628. "summary": "查询期货报表",
  3629. "parameters": [
  3630. {
  3631. "type": "integer",
  3632. "description": "用户ID",
  3633. "name": "userid",
  3634. "in": "query",
  3635. "required": true
  3636. },
  3637. {
  3638. "type": "integer",
  3639. "description": "查询类型 1-报表 2-报表明细",
  3640. "name": "querytype",
  3641. "in": "query",
  3642. "required": true
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3647. "name": "cycletype",
  3648. "in": "query",
  3649. "required": true
  3650. },
  3651. {
  3652. "type": "string",
  3653. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3654. "name": "cycletime",
  3655. "in": "query",
  3656. "required": true
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "币种id(查明细必填)",
  3661. "name": "currencyid",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "品种id(查明细必填)",
  3667. "name": "goodsgroupid",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "商品id(查明细必填)",
  3673. "name": "goodsid",
  3674. "in": "query"
  3675. },
  3676. {
  3677. "type": "integer",
  3678. "description": "买卖方向(查明细必填)",
  3679. "name": "buyorsell",
  3680. "in": "query"
  3681. }
  3682. ],
  3683. "responses": {
  3684. "200": {
  3685. "description": "OK",
  3686. "schema": {
  3687. "type": "array",
  3688. "items": {
  3689. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  3690. }
  3691. }
  3692. },
  3693. "500": {
  3694. "description": "Internal Server Error",
  3695. "schema": {
  3696. "$ref": "#/definitions/app.Response"
  3697. }
  3698. }
  3699. }
  3700. }
  3701. },
  3702. "/Ermcp3/QueryAreaStock": {
  3703. "get": {
  3704. "security": [
  3705. {
  3706. "ApiKeyAuth": []
  3707. }
  3708. ],
  3709. "produces": [
  3710. "application/json"
  3711. ],
  3712. "tags": [
  3713. "企业风险管理v3(app)"
  3714. ],
  3715. "summary": "查询机构库存(库存管理/当前库存)",
  3716. "parameters": [
  3717. {
  3718. "type": "integer",
  3719. "description": "用户ID",
  3720. "name": "userid",
  3721. "in": "query",
  3722. "required": true
  3723. }
  3724. ],
  3725. "responses": {
  3726. "200": {
  3727. "description": "OK",
  3728. "schema": {
  3729. "type": "array",
  3730. "items": {
  3731. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3732. }
  3733. }
  3734. },
  3735. "500": {
  3736. "description": "Internal Server Error",
  3737. "schema": {
  3738. "$ref": "#/definitions/app.Response"
  3739. }
  3740. }
  3741. }
  3742. }
  3743. },
  3744. "/Ermcp3/QueryAreaStockApply": {
  3745. "get": {
  3746. "security": [
  3747. {
  3748. "ApiKeyAuth": []
  3749. }
  3750. ],
  3751. "produces": [
  3752. "application/json"
  3753. ],
  3754. "tags": [
  3755. "企业风险管理v3(app)"
  3756. ],
  3757. "summary": "查询库存申请(出入库记录|库存审核)",
  3758. "parameters": [
  3759. {
  3760. "type": "integer",
  3761. "description": "用户ID",
  3762. "name": "userid",
  3763. "in": "query",
  3764. "required": true
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "用户类型 2-机构 7-企业成员",
  3769. "name": "usertype",
  3770. "in": "query"
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "现货商品ID",
  3775. "name": "deliverygoodsid",
  3776. "in": "query"
  3777. },
  3778. {
  3779. "type": "string",
  3780. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3781. "name": "inouttype",
  3782. "in": "query"
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "合同ID",
  3787. "name": "spotcontractid",
  3788. "in": "query"
  3789. },
  3790. {
  3791. "type": "integer",
  3792. "description": "品类ID",
  3793. "name": "wrstandardid",
  3794. "in": "query"
  3795. },
  3796. {
  3797. "type": "integer",
  3798. "description": "品牌ID",
  3799. "name": "spotgoodsbrandid",
  3800. "in": "query"
  3801. },
  3802. {
  3803. "type": "integer",
  3804. "description": "仓库ID",
  3805. "name": "warehouseinfoid",
  3806. "in": "query"
  3807. },
  3808. {
  3809. "type": "string",
  3810. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3811. "name": "applystatus",
  3812. "in": "query"
  3813. }
  3814. ],
  3815. "responses": {
  3816. "200": {
  3817. "description": "OK",
  3818. "schema": {
  3819. "type": "array",
  3820. "items": {
  3821. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3822. }
  3823. }
  3824. },
  3825. "500": {
  3826. "description": "Internal Server Error",
  3827. "schema": {
  3828. "$ref": "#/definitions/app.Response"
  3829. }
  3830. }
  3831. }
  3832. }
  3833. },
  3834. "/Ermcp3/QueryAreaStockApplySum": {
  3835. "get": {
  3836. "security": [
  3837. {
  3838. "ApiKeyAuth": []
  3839. }
  3840. ],
  3841. "produces": [
  3842. "application/json"
  3843. ],
  3844. "tags": [
  3845. "企业风险管理v3(app)"
  3846. ],
  3847. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3848. "parameters": [
  3849. {
  3850. "type": "integer",
  3851. "description": "合同ID",
  3852. "name": "spotcontractid",
  3853. "in": "query",
  3854. "required": true
  3855. }
  3856. ],
  3857. "responses": {
  3858. "200": {
  3859. "description": "OK",
  3860. "schema": {
  3861. "type": "array",
  3862. "items": {
  3863. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3864. }
  3865. }
  3866. },
  3867. "500": {
  3868. "description": "Internal Server Error",
  3869. "schema": {
  3870. "$ref": "#/definitions/app.Response"
  3871. }
  3872. }
  3873. }
  3874. }
  3875. },
  3876. "/Ermcp3/QueryDGFactoryItem": {
  3877. "get": {
  3878. "security": [
  3879. {
  3880. "ApiKeyAuth": []
  3881. }
  3882. ],
  3883. "produces": [
  3884. "application/json"
  3885. ],
  3886. "tags": [
  3887. "企业风险管理v3(app)"
  3888. ],
  3889. "summary": "查询品种要素定义项",
  3890. "parameters": [
  3891. {
  3892. "type": "integer",
  3893. "description": "用户id",
  3894. "name": "userid",
  3895. "in": "query"
  3896. },
  3897. {
  3898. "type": "integer",
  3899. "description": "用户类型 2-机构 7-企业成员",
  3900. "name": "usertype",
  3901. "in": "query"
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3906. "name": "dgfactoryitemid",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "现货品种ID",
  3912. "name": "deliverygoodsid",
  3913. "in": "query"
  3914. },
  3915. {
  3916. "type": "integer",
  3917. "description": "要素项类型",
  3918. "name": "dgfactoryitemtypeid",
  3919. "in": "query"
  3920. },
  3921. {
  3922. "type": "integer",
  3923. "description": "顺序",
  3924. "name": "orderindex",
  3925. "in": "query"
  3926. }
  3927. ],
  3928. "responses": {
  3929. "200": {
  3930. "description": "OK",
  3931. "schema": {
  3932. "type": "array",
  3933. "items": {
  3934. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3935. }
  3936. }
  3937. },
  3938. "500": {
  3939. "description": "Internal Server Error",
  3940. "schema": {
  3941. "$ref": "#/definitions/app.Response"
  3942. }
  3943. }
  3944. }
  3945. }
  3946. },
  3947. "/Ermcp3/QueryDeliveryGoods": {
  3948. "get": {
  3949. "security": [
  3950. {
  3951. "ApiKeyAuth": []
  3952. }
  3953. ],
  3954. "produces": [
  3955. "application/json"
  3956. ],
  3957. "tags": [
  3958. "企业风险管理v3(app)"
  3959. ],
  3960. "summary": "查询现货商品",
  3961. "parameters": [
  3962. {
  3963. "type": "integer",
  3964. "description": "用户id",
  3965. "name": "userid",
  3966. "in": "query",
  3967. "required": true
  3968. },
  3969. {
  3970. "type": "integer",
  3971. "description": "用户类型 2-机构 7-企业成员",
  3972. "name": "usertype",
  3973. "in": "query"
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3978. "name": "excludecfg",
  3979. "in": "query"
  3980. }
  3981. ],
  3982. "responses": {
  3983. "200": {
  3984. "description": "OK",
  3985. "schema": {
  3986. "type": "array",
  3987. "items": {
  3988. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3989. }
  3990. }
  3991. },
  3992. "500": {
  3993. "description": "Internal Server Error",
  3994. "schema": {
  3995. "$ref": "#/definitions/app.Response"
  3996. }
  3997. }
  3998. }
  3999. }
  4000. },
  4001. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4002. "get": {
  4003. "security": [
  4004. {
  4005. "ApiKeyAuth": []
  4006. }
  4007. ],
  4008. "produces": [
  4009. "application/json"
  4010. ],
  4011. "tags": [
  4012. "企业风险管理v3(app)"
  4013. ],
  4014. "summary": "查询现货商品详情",
  4015. "parameters": [
  4016. {
  4017. "type": "integer",
  4018. "description": "用户id",
  4019. "name": "userid",
  4020. "in": "query",
  4021. "required": true
  4022. },
  4023. {
  4024. "type": "integer",
  4025. "description": "用户类型 2-机构 7-企业成员",
  4026. "name": "usertype",
  4027. "in": "query"
  4028. },
  4029. {
  4030. "type": "integer",
  4031. "description": "现货商品id",
  4032. "name": "deliverygoodsid",
  4033. "in": "query"
  4034. }
  4035. ],
  4036. "responses": {
  4037. "200": {
  4038. "description": "OK",
  4039. "schema": {
  4040. "type": "array",
  4041. "items": {
  4042. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  4043. }
  4044. }
  4045. },
  4046. "500": {
  4047. "description": "Internal Server Error",
  4048. "schema": {
  4049. "$ref": "#/definitions/app.Response"
  4050. }
  4051. }
  4052. }
  4053. }
  4054. },
  4055. "/Ermcp3/QueryExposureDetail": {
  4056. "get": {
  4057. "security": [
  4058. {
  4059. "ApiKeyAuth": []
  4060. }
  4061. ],
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "企业风险管理v3(app)"
  4067. ],
  4068. "summary": "查询敞口现货明细",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "用户id",
  4073. "name": "userid",
  4074. "in": "query",
  4075. "required": true
  4076. },
  4077. {
  4078. "type": "integer",
  4079. "description": "用户类型 2-机构 7-企业成员",
  4080. "name": "usertype",
  4081. "in": "query"
  4082. },
  4083. {
  4084. "type": "integer",
  4085. "description": "套保商品",
  4086. "name": "middlegoodsid",
  4087. "in": "query",
  4088. "required": true
  4089. }
  4090. ],
  4091. "responses": {
  4092. "200": {
  4093. "description": "OK",
  4094. "schema": {
  4095. "type": "array",
  4096. "items": {
  4097. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4098. }
  4099. }
  4100. },
  4101. "500": {
  4102. "description": "Internal Server Error",
  4103. "schema": {
  4104. "$ref": "#/definitions/app.Response"
  4105. }
  4106. }
  4107. }
  4108. }
  4109. },
  4110. "/Ermcp3/QueryExposureSpot": {
  4111. "get": {
  4112. "security": [
  4113. {
  4114. "ApiKeyAuth": []
  4115. }
  4116. ],
  4117. "produces": [
  4118. "application/json"
  4119. ],
  4120. "tags": [
  4121. "企业风险管理v3(app)"
  4122. ],
  4123. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4124. "parameters": [
  4125. {
  4126. "type": "integer",
  4127. "description": "用户id",
  4128. "name": "userid",
  4129. "in": "query",
  4130. "required": true
  4131. },
  4132. {
  4133. "type": "integer",
  4134. "description": "用户类型 2-机构 7-企业成员",
  4135. "name": "usertype",
  4136. "in": "query"
  4137. }
  4138. ],
  4139. "responses": {
  4140. "200": {
  4141. "description": "OK",
  4142. "schema": {
  4143. "type": "array",
  4144. "items": {
  4145. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4146. }
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/Ermcp3/QueryExposureSpotDetail": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "企业风险管理v3(app)"
  4170. ],
  4171. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "用户id",
  4176. "name": "userid",
  4177. "in": "query",
  4178. "required": true
  4179. },
  4180. {
  4181. "type": "integer",
  4182. "description": "用户类型 2-机构 7-企业成员",
  4183. "name": "usertype",
  4184. "in": "query"
  4185. },
  4186. {
  4187. "type": "integer",
  4188. "description": "现货品种ID",
  4189. "name": "deliverygoodsid",
  4190. "in": "query",
  4191. "required": true
  4192. }
  4193. ],
  4194. "responses": {
  4195. "200": {
  4196. "description": "OK",
  4197. "schema": {
  4198. "type": "array",
  4199. "items": {
  4200. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4201. }
  4202. }
  4203. },
  4204. "500": {
  4205. "description": "Internal Server Error",
  4206. "schema": {
  4207. "$ref": "#/definitions/app.Response"
  4208. }
  4209. }
  4210. }
  4211. }
  4212. },
  4213. "/Ermcp3/QueryGoodsGroup": {
  4214. "get": {
  4215. "security": [
  4216. {
  4217. "ApiKeyAuth": []
  4218. }
  4219. ],
  4220. "produces": [
  4221. "application/json"
  4222. ],
  4223. "tags": [
  4224. "企业风险管理v3(app)"
  4225. ],
  4226. "summary": "查询期货商品组",
  4227. "parameters": [
  4228. {
  4229. "type": "integer",
  4230. "description": "用户id",
  4231. "name": "userid",
  4232. "in": "query",
  4233. "required": true
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "用户类型 2-机构 7-企业成员",
  4238. "name": "usertype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "排除套保品中已关联的商品组 1-排除",
  4244. "name": "excludecfg",
  4245. "in": "query"
  4246. }
  4247. ],
  4248. "responses": {
  4249. "200": {
  4250. "description": "OK",
  4251. "schema": {
  4252. "type": "array",
  4253. "items": {
  4254. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4255. }
  4256. }
  4257. },
  4258. "500": {
  4259. "description": "Internal Server Error",
  4260. "schema": {
  4261. "$ref": "#/definitions/app.Response"
  4262. }
  4263. }
  4264. }
  4265. }
  4266. },
  4267. "/Ermcp3/QueryGoodsWrstandard": {
  4268. "get": {
  4269. "security": [
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json"
  4276. ],
  4277. "tags": [
  4278. "企业风险管理v3(app)"
  4279. ],
  4280. "summary": "查询商品品类",
  4281. "parameters": [
  4282. {
  4283. "type": "integer",
  4284. "description": "用户id",
  4285. "name": "userid",
  4286. "in": "query",
  4287. "required": true
  4288. },
  4289. {
  4290. "type": "integer",
  4291. "description": "用户类型 2-机构 7-企业成员",
  4292. "name": "usertype",
  4293. "in": "query"
  4294. },
  4295. {
  4296. "type": "integer",
  4297. "description": "现货商品id",
  4298. "name": "deliverygoodsid",
  4299. "in": "query"
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "type": "array",
  4307. "items": {
  4308. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4309. }
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Ermcp3/QueryGoodsbrand": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "企业风险管理v3(app)"
  4333. ],
  4334. "summary": "查询商品品牌",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "用户id",
  4339. "name": "userid",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "integer",
  4345. "description": "用户类型 2-机构 7-企业成员",
  4346. "name": "usertype",
  4347. "in": "query"
  4348. }
  4349. ],
  4350. "responses": {
  4351. "200": {
  4352. "description": "OK",
  4353. "schema": {
  4354. "type": "array",
  4355. "items": {
  4356. "$ref": "#/definitions/models.Ermcp3Brand"
  4357. }
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/Ermcp3/QueryHedgePlan": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "企业风险管理v3(app)"
  4381. ],
  4382. "summary": "查询套保计划",
  4383. "parameters": [
  4384. {
  4385. "type": "integer",
  4386. "description": "用户ID",
  4387. "name": "userid",
  4388. "in": "query",
  4389. "required": true
  4390. },
  4391. {
  4392. "type": "integer",
  4393. "description": "用户类型 2-机构 7-企业成员",
  4394. "name": "usertype",
  4395. "in": "query"
  4396. },
  4397. {
  4398. "type": "string",
  4399. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4400. "name": "hedgeplanstatus",
  4401. "in": "query",
  4402. "required": true
  4403. }
  4404. ],
  4405. "responses": {
  4406. "200": {
  4407. "description": "OK",
  4408. "schema": {
  4409. "type": "array",
  4410. "items": {
  4411. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4412. }
  4413. }
  4414. },
  4415. "500": {
  4416. "description": "Internal Server Error",
  4417. "schema": {
  4418. "$ref": "#/definitions/app.Response"
  4419. }
  4420. }
  4421. }
  4422. }
  4423. },
  4424. "/Ermcp3/QueryMiddleGoodsDetail": {
  4425. "get": {
  4426. "security": [
  4427. {
  4428. "ApiKeyAuth": []
  4429. }
  4430. ],
  4431. "produces": [
  4432. "application/json"
  4433. ],
  4434. "tags": [
  4435. "企业风险管理v3(app)"
  4436. ],
  4437. "summary": "查询套保品种详情(套保品种/商品详情)",
  4438. "parameters": [
  4439. {
  4440. "type": "integer",
  4441. "description": "用户id",
  4442. "name": "userid",
  4443. "in": "query",
  4444. "required": true
  4445. },
  4446. {
  4447. "type": "integer",
  4448. "description": "用户类型 2-机构 7-企业成员",
  4449. "name": "usertype",
  4450. "in": "query"
  4451. },
  4452. {
  4453. "type": "integer",
  4454. "description": "套保品种id",
  4455. "name": "middlegoodsid",
  4456. "in": "query"
  4457. }
  4458. ],
  4459. "responses": {
  4460. "200": {
  4461. "description": "OK",
  4462. "schema": {
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4466. }
  4467. }
  4468. },
  4469. "500": {
  4470. "description": "Internal Server Error",
  4471. "schema": {
  4472. "$ref": "#/definitions/app.Response"
  4473. }
  4474. }
  4475. }
  4476. }
  4477. },
  4478. "/Ermcp3/QueryRootUserAccount": {
  4479. "get": {
  4480. "security": [
  4481. {
  4482. "ApiKeyAuth": []
  4483. }
  4484. ],
  4485. "produces": [
  4486. "application/json"
  4487. ],
  4488. "tags": [
  4489. "企业风险管理v3(app)"
  4490. ],
  4491. "summary": "查询顶级用户信息",
  4492. "parameters": [
  4493. {
  4494. "type": "integer",
  4495. "description": "用户ID",
  4496. "name": "userid",
  4497. "in": "query",
  4498. "required": true
  4499. }
  4500. ],
  4501. "responses": {
  4502. "200": {
  4503. "description": "OK",
  4504. "schema": {
  4505. "type": "array",
  4506. "items": {
  4507. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  4508. }
  4509. }
  4510. },
  4511. "500": {
  4512. "description": "Internal Server Error",
  4513. "schema": {
  4514. "$ref": "#/definitions/app.Response"
  4515. }
  4516. }
  4517. }
  4518. }
  4519. },
  4520. "/Ermcp3/QuerySpotContract": {
  4521. "get": {
  4522. "security": [
  4523. {
  4524. "ApiKeyAuth": []
  4525. }
  4526. ],
  4527. "produces": [
  4528. "application/json"
  4529. ],
  4530. "tags": [
  4531. "企业风险管理v3(app)"
  4532. ],
  4533. "summary": "查询现货合同",
  4534. "parameters": [
  4535. {
  4536. "type": "integer",
  4537. "description": "用户id",
  4538. "name": "userid",
  4539. "in": "query",
  4540. "required": true
  4541. },
  4542. {
  4543. "type": "integer",
  4544. "description": "用户类型 2-机构 7-企业成员",
  4545. "name": "usertype",
  4546. "in": "query"
  4547. },
  4548. {
  4549. "type": "integer",
  4550. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4551. "name": "querytype",
  4552. "in": "query",
  4553. "required": true
  4554. },
  4555. {
  4556. "type": "string",
  4557. "description": "合同ID(SpotContractId)",
  4558. "name": "contractid",
  4559. "in": "query"
  4560. }
  4561. ],
  4562. "responses": {
  4563. "200": {
  4564. "description": "OK",
  4565. "schema": {
  4566. "type": "array",
  4567. "items": {
  4568. "$ref": "#/definitions/models.Ermcp3Contract"
  4569. }
  4570. }
  4571. },
  4572. "500": {
  4573. "description": "Internal Server Error",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. }
  4578. }
  4579. }
  4580. },
  4581. "/Ermcp3/QuerySpotContractBS": {
  4582. "get": {
  4583. "security": [
  4584. {
  4585. "ApiKeyAuth": []
  4586. }
  4587. ],
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "企业风险管理v3(app)"
  4593. ],
  4594. "summary": "查询合同(采购/销售)",
  4595. "parameters": [
  4596. {
  4597. "type": "integer",
  4598. "description": "用户id",
  4599. "name": "userid",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "用户类型 2-机构 7-企业成员",
  4606. "name": "usertype",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "合同类型 1-采购, -1-销售",
  4612. "name": "contracttype",
  4613. "in": "query",
  4614. "required": true
  4615. },
  4616. {
  4617. "type": "integer",
  4618. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4619. "name": "querytype",
  4620. "in": "query",
  4621. "required": true
  4622. },
  4623. {
  4624. "type": "string",
  4625. "description": "合同ID(SpotContractId)",
  4626. "name": "contractid",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "type": "array",
  4635. "items": {
  4636. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4637. }
  4638. }
  4639. },
  4640. "500": {
  4641. "description": "Internal Server Error",
  4642. "schema": {
  4643. "$ref": "#/definitions/app.Response"
  4644. }
  4645. }
  4646. }
  4647. }
  4648. },
  4649. "/Ermcp3/QuerySpotGoodsPrice": {
  4650. "get": {
  4651. "security": [
  4652. {
  4653. "ApiKeyAuth": []
  4654. }
  4655. ],
  4656. "produces": [
  4657. "application/json"
  4658. ],
  4659. "tags": [
  4660. "企业风险管理v3(app)"
  4661. ],
  4662. "summary": "查询现货市价(现货市价)",
  4663. "parameters": [
  4664. {
  4665. "type": "integer",
  4666. "description": "用户ID",
  4667. "name": "userid",
  4668. "in": "query",
  4669. "required": true
  4670. }
  4671. ],
  4672. "responses": {
  4673. "200": {
  4674. "description": "OK",
  4675. "schema": {
  4676. "type": "array",
  4677. "items": {
  4678. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4679. }
  4680. }
  4681. },
  4682. "500": {
  4683. "description": "Internal Server Error",
  4684. "schema": {
  4685. "$ref": "#/definitions/app.Response"
  4686. }
  4687. }
  4688. }
  4689. }
  4690. },
  4691. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4692. "get": {
  4693. "security": [
  4694. {
  4695. "ApiKeyAuth": []
  4696. }
  4697. ],
  4698. "produces": [
  4699. "application/json"
  4700. ],
  4701. "tags": [
  4702. "企业风险管理v3(app)"
  4703. ],
  4704. "summary": "查询现货市价详情(现货市价/详情)",
  4705. "parameters": [
  4706. {
  4707. "type": "integer",
  4708. "description": "用户ID",
  4709. "name": "userid",
  4710. "in": "query",
  4711. "required": true
  4712. },
  4713. {
  4714. "type": "integer",
  4715. "description": "现货商品ID",
  4716. "name": "deliverygoodsid",
  4717. "in": "query",
  4718. "required": true
  4719. },
  4720. {
  4721. "type": "integer",
  4722. "description": "品牌ID",
  4723. "name": "brandid",
  4724. "in": "query"
  4725. },
  4726. {
  4727. "type": "integer",
  4728. "description": "品类ID",
  4729. "name": "wrstandardid",
  4730. "in": "query"
  4731. }
  4732. ],
  4733. "responses": {
  4734. "200": {
  4735. "description": "OK",
  4736. "schema": {
  4737. "type": "array",
  4738. "items": {
  4739. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4740. }
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Erms2/QueryArbitrageStrategy": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "风险管理"
  4764. ],
  4765. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "账户ID",
  4770. "name": "userid",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "商品组ID(品种ID)",
  4777. "name": "goodsgroupid",
  4778. "in": "query"
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/Erms2/QueryInnerTradeDetail": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "风险管理"
  4809. ],
  4810. "summary": "查询内部成交单信息",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "资金账户",
  4815. "name": "accountid",
  4816. "in": "query",
  4817. "required": true
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4825. }
  4826. },
  4827. "500": {
  4828. "description": "Internal Server Error",
  4829. "schema": {
  4830. "$ref": "#/definitions/app.Response"
  4831. }
  4832. }
  4833. }
  4834. }
  4835. },
  4836. "/Erms2/QuerySpotContract": {
  4837. "get": {
  4838. "security": [
  4839. {
  4840. "ApiKeyAuth": []
  4841. }
  4842. ],
  4843. "produces": [
  4844. "application/json"
  4845. ],
  4846. "tags": [
  4847. "风险管理"
  4848. ],
  4849. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4850. "parameters": [
  4851. {
  4852. "type": "integer",
  4853. "description": "策略申请ID",
  4854. "name": "asapplyid",
  4855. "in": "query",
  4856. "required": true
  4857. },
  4858. {
  4859. "type": "integer",
  4860. "description": "现货合同ID",
  4861. "name": "spotcontractid",
  4862. "in": "query"
  4863. }
  4864. ],
  4865. "responses": {
  4866. "200": {
  4867. "description": "OK",
  4868. "schema": {
  4869. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4870. }
  4871. },
  4872. "500": {
  4873. "description": "Internal Server Error",
  4874. "schema": {
  4875. "$ref": "#/definitions/app.Response"
  4876. }
  4877. }
  4878. }
  4879. }
  4880. },
  4881. "/Erms3/AddErms2ASApply": {
  4882. "post": {
  4883. "security": [
  4884. {
  4885. "ApiKeyAuth": []
  4886. }
  4887. ],
  4888. "produces": [
  4889. "application/json"
  4890. ],
  4891. "tags": [
  4892. "风险管理v3"
  4893. ],
  4894. "summary": "新增期现套利业务申请",
  4895. "parameters": [
  4896. {
  4897. "description": "申请参数",
  4898. "name": "jsonBody",
  4899. "in": "body",
  4900. "required": true,
  4901. "schema": {
  4902. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4903. }
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/app.Response"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/AddErms2SpotTradeApply": {
  4923. "post": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "新增现货贸易业务申请",
  4936. "parameters": [
  4937. {
  4938. "description": "申请参数",
  4939. "name": "jsonBody",
  4940. "in": "body",
  4941. "required": true,
  4942. "schema": {
  4943. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4944. }
  4945. }
  4946. ],
  4947. "responses": {
  4948. "200": {
  4949. "description": "OK",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. },
  4954. "500": {
  4955. "description": "Internal Server Error",
  4956. "schema": {
  4957. "$ref": "#/definitions/app.Response"
  4958. }
  4959. }
  4960. }
  4961. }
  4962. },
  4963. "/Erms3/AddSpotContractApply": {
  4964. "post": {
  4965. "security": [
  4966. {
  4967. "ApiKeyAuth": []
  4968. }
  4969. ],
  4970. "produces": [
  4971. "application/json"
  4972. ],
  4973. "tags": [
  4974. "风险管理v3"
  4975. ],
  4976. "summary": "新增现货合同申请",
  4977. "parameters": [
  4978. {
  4979. "description": "申请参数",
  4980. "name": "jsonBody",
  4981. "in": "body",
  4982. "required": true,
  4983. "schema": {
  4984. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4985. }
  4986. }
  4987. ],
  4988. "responses": {
  4989. "200": {
  4990. "description": "OK",
  4991. "schema": {
  4992. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4993. }
  4994. },
  4995. "500": {
  4996. "description": "Internal Server Error",
  4997. "schema": {
  4998. "$ref": "#/definitions/app.Response"
  4999. }
  5000. }
  5001. }
  5002. }
  5003. },
  5004. "/Erms3/AddUserInfoApply": {
  5005. "post": {
  5006. "security": [
  5007. {
  5008. "ApiKeyAuth": []
  5009. }
  5010. ],
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "风险管理v3"
  5016. ],
  5017. "summary": "新增客户申请",
  5018. "parameters": [
  5019. {
  5020. "description": "用户信息",
  5021. "name": "jsonBody",
  5022. "in": "body",
  5023. "required": true,
  5024. "schema": {
  5025. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  5026. }
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/app.Response"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/Erms3/DeleteUserInfoApply": {
  5046. "get": {
  5047. "security": [
  5048. {
  5049. "ApiKeyAuth": []
  5050. }
  5051. ],
  5052. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "风险管理v3"
  5058. ],
  5059. "summary": "删除客户申请",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户ID",
  5064. "name": "userID",
  5065. "in": "query",
  5066. "required": true
  5067. }
  5068. ],
  5069. "responses": {
  5070. "200": {
  5071. "description": "OK",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. },
  5076. "500": {
  5077. "description": "Internal Server Error",
  5078. "schema": {
  5079. "$ref": "#/definitions/app.Response"
  5080. }
  5081. }
  5082. }
  5083. }
  5084. },
  5085. "/Erms3/ModifyUserInfoApply": {
  5086. "post": {
  5087. "security": [
  5088. {
  5089. "ApiKeyAuth": []
  5090. }
  5091. ],
  5092. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  5093. "produces": [
  5094. "application/json"
  5095. ],
  5096. "tags": [
  5097. "风险管理v3"
  5098. ],
  5099. "summary": "修改客户申请",
  5100. "parameters": [
  5101. {
  5102. "description": "用户信息",
  5103. "name": "jsonBody",
  5104. "in": "body",
  5105. "required": true,
  5106. "schema": {
  5107. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  5108. }
  5109. }
  5110. ],
  5111. "responses": {
  5112. "200": {
  5113. "description": "OK",
  5114. "schema": {
  5115. "$ref": "#/definitions/app.Response"
  5116. }
  5117. },
  5118. "500": {
  5119. "description": "Internal Server Error",
  5120. "schema": {
  5121. "$ref": "#/definitions/app.Response"
  5122. }
  5123. }
  5124. }
  5125. }
  5126. },
  5127. "/Erms3/QueryBusinessInfo": {
  5128. "get": {
  5129. "security": [
  5130. {
  5131. "ApiKeyAuth": []
  5132. }
  5133. ],
  5134. "produces": [
  5135. "application/json"
  5136. ],
  5137. "tags": [
  5138. "风险管理v3"
  5139. ],
  5140. "summary": "查询业务表单数据",
  5141. "parameters": [
  5142. {
  5143. "type": "string",
  5144. "description": "资金账号ID列表,用逗号分隔",
  5145. "name": "accountids",
  5146. "in": "query",
  5147. "required": true
  5148. },
  5149. {
  5150. "type": "integer",
  5151. "description": "状态,0为未结束 1为已结束",
  5152. "name": "status",
  5153. "in": "query",
  5154. "required": true
  5155. }
  5156. ],
  5157. "responses": {
  5158. "200": {
  5159. "description": "OK",
  5160. "schema": {
  5161. "type": "array",
  5162. "items": {
  5163. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  5164. }
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/Erms3/QueryPendingAuditContract": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "风险管理v3"
  5188. ],
  5189. "summary": "查询待审核合同",
  5190. "parameters": [
  5191. {
  5192. "type": "string",
  5193. "description": "资金账号ID列表,逗号隔开",
  5194. "name": "accountids",
  5195. "in": "query",
  5196. "required": true
  5197. },
  5198. {
  5199. "type": "integer",
  5200. "description": "合同类型 1-采购 -1-销售",
  5201. "name": "contracttype",
  5202. "in": "query",
  5203. "required": true
  5204. },
  5205. {
  5206. "type": "integer",
  5207. "description": "合同模式 1-普通 2-回购",
  5208. "name": "contractmode",
  5209. "in": "query",
  5210. "required": true
  5211. }
  5212. ],
  5213. "responses": {
  5214. "200": {
  5215. "description": "OK",
  5216. "schema": {
  5217. "type": "array",
  5218. "items": {
  5219. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  5220. }
  5221. }
  5222. },
  5223. "500": {
  5224. "description": "Internal Server Error",
  5225. "schema": {
  5226. "$ref": "#/definitions/app.Response"
  5227. }
  5228. }
  5229. }
  5230. }
  5231. },
  5232. "/Erms3/QueryPendingBusiness": {
  5233. "get": {
  5234. "security": [
  5235. {
  5236. "ApiKeyAuth": []
  5237. }
  5238. ],
  5239. "produces": [
  5240. "application/json"
  5241. ],
  5242. "tags": [
  5243. "风险管理v3"
  5244. ],
  5245. "summary": "查询待审核基差贸易业务",
  5246. "parameters": [
  5247. {
  5248. "type": "string",
  5249. "description": "资金账号ID列表,逗号隔开",
  5250. "name": "accountids",
  5251. "in": "query",
  5252. "required": true
  5253. }
  5254. ],
  5255. "responses": {
  5256. "200": {
  5257. "description": "OK",
  5258. "schema": {
  5259. "type": "array",
  5260. "items": {
  5261. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  5262. }
  5263. }
  5264. },
  5265. "500": {
  5266. "description": "Internal Server Error",
  5267. "schema": {
  5268. "$ref": "#/definitions/app.Response"
  5269. }
  5270. }
  5271. }
  5272. }
  5273. },
  5274. "/Erms3/QuerySpotContractAppleForm": {
  5275. "get": {
  5276. "security": [
  5277. {
  5278. "ApiKeyAuth": []
  5279. }
  5280. ],
  5281. "produces": [
  5282. "application/json"
  5283. ],
  5284. "tags": [
  5285. "风险管理v3"
  5286. ],
  5287. "summary": "查询合同申请表单数据",
  5288. "parameters": [
  5289. {
  5290. "type": "integer",
  5291. "description": "登录账号",
  5292. "name": "loginID",
  5293. "in": "query",
  5294. "required": true
  5295. }
  5296. ],
  5297. "responses": {
  5298. "200": {
  5299. "description": "OK",
  5300. "schema": {
  5301. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  5302. }
  5303. },
  5304. "500": {
  5305. "description": "Internal Server Error",
  5306. "schema": {
  5307. "$ref": "#/definitions/app.Response"
  5308. }
  5309. }
  5310. }
  5311. }
  5312. },
  5313. "/Erms3/QuerySpotContractDetail": {
  5314. "get": {
  5315. "security": [
  5316. {
  5317. "ApiKeyAuth": []
  5318. }
  5319. ],
  5320. "produces": [
  5321. "application/json"
  5322. ],
  5323. "tags": [
  5324. "风险管理v3"
  5325. ],
  5326. "summary": "查询合同详细信息",
  5327. "parameters": [
  5328. {
  5329. "type": "string",
  5330. "description": "资金账号ID列表,用逗号分隔",
  5331. "name": "accountids",
  5332. "in": "query",
  5333. "required": true
  5334. },
  5335. {
  5336. "type": "integer",
  5337. "description": "合同类型,1为采购合同 -1为销售合同",
  5338. "name": "contracttype",
  5339. "in": "query",
  5340. "required": true
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "合同模式,1为普通合同 2为回购销售合同",
  5345. "name": "contractmode",
  5346. "in": "query",
  5347. "required": true
  5348. },
  5349. {
  5350. "type": "integer",
  5351. "description": "状态,0为履约中 1为已完成",
  5352. "name": "status",
  5353. "in": "query",
  5354. "required": true
  5355. }
  5356. ],
  5357. "responses": {
  5358. "200": {
  5359. "description": "OK",
  5360. "schema": {
  5361. "type": "array",
  5362. "items": {
  5363. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5364. }
  5365. }
  5366. },
  5367. "500": {
  5368. "description": "Internal Server Error",
  5369. "schema": {
  5370. "$ref": "#/definitions/app.Response"
  5371. }
  5372. }
  5373. }
  5374. }
  5375. },
  5376. "/Erms3/QueryUserInfoApplies": {
  5377. "get": {
  5378. "security": [
  5379. {
  5380. "ApiKeyAuth": []
  5381. }
  5382. ],
  5383. "produces": [
  5384. "application/json"
  5385. ],
  5386. "tags": [
  5387. "风险管理v3"
  5388. ],
  5389. "summary": "客户申请信息查询",
  5390. "parameters": [
  5391. {
  5392. "type": "integer",
  5393. "description": "页码",
  5394. "name": "page",
  5395. "in": "query"
  5396. },
  5397. {
  5398. "type": "integer",
  5399. "description": "每页条数",
  5400. "name": "pagesize",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "string",
  5405. "description": "客户名称,支持模糊查询",
  5406. "name": "userName",
  5407. "in": "query"
  5408. }
  5409. ],
  5410. "responses": {
  5411. "200": {
  5412. "description": "OK",
  5413. "schema": {
  5414. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5415. }
  5416. },
  5417. "500": {
  5418. "description": "Internal Server Error",
  5419. "schema": {
  5420. "$ref": "#/definitions/app.Response"
  5421. }
  5422. }
  5423. }
  5424. }
  5425. },
  5426. "/Erms3/QueryUserInfos": {
  5427. "get": {
  5428. "security": [
  5429. {
  5430. "ApiKeyAuth": []
  5431. }
  5432. ],
  5433. "produces": [
  5434. "application/json"
  5435. ],
  5436. "tags": [
  5437. "风险管理v3"
  5438. ],
  5439. "summary": "客户信息查询",
  5440. "parameters": [
  5441. {
  5442. "type": "integer",
  5443. "description": "页码",
  5444. "name": "page",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "integer",
  5449. "description": "每页条数",
  5450. "name": "pagesize",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "string",
  5455. "description": "客户名称,支持模糊查询",
  5456. "name": "userName",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/GetHsbyMyCount": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "description": "说明: 不包括已完成的数量。",
  5484. "produces": [
  5485. "application/json"
  5486. ],
  5487. "tags": [
  5488. "定制【海商报业】"
  5489. ],
  5490. "summary": "获取我的订单与包裹数量",
  5491. "parameters": [
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户列表,格式:1,2,3",
  5495. "name": "accountIDs",
  5496. "in": "query",
  5497. "required": true
  5498. }
  5499. ],
  5500. "responses": {
  5501. "200": {
  5502. "description": "OK",
  5503. "schema": {
  5504. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5505. }
  5506. },
  5507. "500": {
  5508. "description": "Internal Server Error",
  5509. "schema": {
  5510. "$ref": "#/definitions/app.Response"
  5511. }
  5512. }
  5513. }
  5514. }
  5515. },
  5516. "/HSBY/QueryClientFixedADConfigs": {
  5517. "get": {
  5518. "security": [
  5519. {
  5520. "ApiKeyAuth": []
  5521. }
  5522. ],
  5523. "produces": [
  5524. "application/json"
  5525. ],
  5526. "tags": [
  5527. "定制【海商报业】"
  5528. ],
  5529. "summary": "获取终端固定广告配置",
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.Clientfixedadconfig"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "produces": [
  5554. "application/json"
  5555. ],
  5556. "tags": [
  5557. "定制【海商报业】"
  5558. ],
  5559. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5560. "parameters": [
  5561. {
  5562. "type": "integer",
  5563. "description": "页码",
  5564. "name": "page",
  5565. "in": "query"
  5566. },
  5567. {
  5568. "type": "integer",
  5569. "description": "每页条数",
  5570. "name": "pagesize",
  5571. "in": "query"
  5572. },
  5573. {
  5574. "type": "string",
  5575. "description": "资金账户列表,格式:1,2,3",
  5576. "name": "accountIDs",
  5577. "in": "query",
  5578. "required": true
  5579. }
  5580. ],
  5581. "responses": {
  5582. "200": {
  5583. "description": "OK",
  5584. "schema": {
  5585. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5586. }
  5587. },
  5588. "500": {
  5589. "description": "Internal Server Error",
  5590. "schema": {
  5591. "$ref": "#/definitions/app.Response"
  5592. }
  5593. }
  5594. }
  5595. }
  5596. },
  5597. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5598. "get": {
  5599. "security": [
  5600. {
  5601. "ApiKeyAuth": []
  5602. }
  5603. ],
  5604. "description": "说明:查询结果已按委托价格和委托时间排序",
  5605. "produces": [
  5606. "application/json"
  5607. ],
  5608. "tags": [
  5609. "定制【海商报业】"
  5610. ],
  5611. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5612. "parameters": [
  5613. {
  5614. "type": "integer",
  5615. "description": "商品ID",
  5616. "name": "goodsID",
  5617. "in": "query",
  5618. "required": true
  5619. },
  5620. {
  5621. "type": "string",
  5622. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5623. "name": "accountIDs",
  5624. "in": "query"
  5625. },
  5626. {
  5627. "type": "integer",
  5628. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5629. "name": "buyOrSell",
  5630. "in": "query"
  5631. },
  5632. {
  5633. "type": "number",
  5634. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5635. "name": "price",
  5636. "in": "query"
  5637. },
  5638. {
  5639. "type": "integer",
  5640. "description": "档位,不传则默认为3档",
  5641. "name": "speed",
  5642. "in": "query"
  5643. }
  5644. ],
  5645. "responses": {
  5646. "200": {
  5647. "description": "OK",
  5648. "schema": {
  5649. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5650. }
  5651. },
  5652. "500": {
  5653. "description": "Internal Server Error",
  5654. "schema": {
  5655. "$ref": "#/definitions/app.Response"
  5656. }
  5657. }
  5658. }
  5659. }
  5660. },
  5661. "/HSBY/QueryHsbyListingGoodsDetail": {
  5662. "get": {
  5663. "security": [
  5664. {
  5665. "ApiKeyAuth": []
  5666. }
  5667. ],
  5668. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5669. "produces": [
  5670. "application/json"
  5671. ],
  5672. "tags": [
  5673. "定制【海商报业】"
  5674. ],
  5675. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5676. "parameters": [
  5677. {
  5678. "type": "integer",
  5679. "description": "商品ID",
  5680. "name": "goodsID",
  5681. "in": "query",
  5682. "required": true
  5683. },
  5684. {
  5685. "type": "integer",
  5686. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5687. "name": "accountID",
  5688. "in": "query"
  5689. }
  5690. ],
  5691. "responses": {
  5692. "200": {
  5693. "description": "OK",
  5694. "schema": {
  5695. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5696. }
  5697. },
  5698. "500": {
  5699. "description": "Internal Server Error",
  5700. "schema": {
  5701. "$ref": "#/definitions/app.Response"
  5702. }
  5703. }
  5704. }
  5705. }
  5706. },
  5707. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5708. "get": {
  5709. "security": [
  5710. {
  5711. "ApiKeyAuth": []
  5712. }
  5713. ],
  5714. "produces": [
  5715. "application/json"
  5716. ],
  5717. "tags": [
  5718. "定制【海商报业】"
  5719. ],
  5720. "summary": "查询三级市场(商城)商品信息详情",
  5721. "parameters": [
  5722. {
  5723. "type": "integer",
  5724. "description": "委托单号",
  5725. "name": "orderID",
  5726. "in": "query",
  5727. "required": true
  5728. },
  5729. {
  5730. "type": "integer",
  5731. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5732. "name": "accountID",
  5733. "in": "query"
  5734. }
  5735. ],
  5736. "responses": {
  5737. "200": {
  5738. "description": "OK",
  5739. "schema": {
  5740. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5741. }
  5742. },
  5743. "500": {
  5744. "description": "Internal Server Error",
  5745. "schema": {
  5746. "$ref": "#/definitions/app.Response"
  5747. }
  5748. }
  5749. }
  5750. }
  5751. },
  5752. "/HSBY/QueryHsbyMarketGoodses": {
  5753. "get": {
  5754. "security": [
  5755. {
  5756. "ApiKeyAuth": []
  5757. }
  5758. ],
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "定制【海商报业】"
  5764. ],
  5765. "summary": "查询特卖商品列表(三级商城)",
  5766. "parameters": [
  5767. {
  5768. "type": "integer",
  5769. "description": "页码",
  5770. "name": "page",
  5771. "in": "query"
  5772. },
  5773. {
  5774. "type": "integer",
  5775. "description": "每页条数",
  5776. "name": "pagesize",
  5777. "in": "query"
  5778. },
  5779. {
  5780. "type": "string",
  5781. "description": "市场ID列表,格式:1,2,3",
  5782. "name": "marketIDs",
  5783. "in": "query",
  5784. "required": true
  5785. },
  5786. {
  5787. "type": "integer",
  5788. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5789. "name": "accountID",
  5790. "in": "query",
  5791. "required": true
  5792. },
  5793. {
  5794. "type": "integer",
  5795. "description": "类别ID",
  5796. "name": "categoryID",
  5797. "in": "query"
  5798. },
  5799. {
  5800. "type": "string",
  5801. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5802. "name": "goodsIDs",
  5803. "in": "query"
  5804. },
  5805. {
  5806. "type": "integer",
  5807. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5808. "name": "couponTypeID",
  5809. "in": "query"
  5810. }
  5811. ],
  5812. "responses": {
  5813. "200": {
  5814. "description": "OK",
  5815. "schema": {
  5816. "$ref": "#/definitions/models.HsbyMarketGoods"
  5817. }
  5818. },
  5819. "500": {
  5820. "description": "Internal Server Error",
  5821. "schema": {
  5822. "$ref": "#/definitions/app.Response"
  5823. }
  5824. }
  5825. }
  5826. }
  5827. },
  5828. "/HSBY/QueryHsbyMarkets": {
  5829. "get": {
  5830. "security": [
  5831. {
  5832. "ApiKeyAuth": []
  5833. }
  5834. ],
  5835. "produces": [
  5836. "application/json"
  5837. ],
  5838. "tags": [
  5839. "定制【海商报业】"
  5840. ],
  5841. "summary": "查询海商报业相关市场信息",
  5842. "responses": {
  5843. "200": {
  5844. "description": "OK",
  5845. "schema": {
  5846. "$ref": "#/definitions/models.HsbyMarketInfo"
  5847. }
  5848. },
  5849. "500": {
  5850. "description": "Internal Server Error",
  5851. "schema": {
  5852. "$ref": "#/definitions/app.Response"
  5853. }
  5854. }
  5855. }
  5856. }
  5857. },
  5858. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5859. "get": {
  5860. "security": [
  5861. {
  5862. "ApiKeyAuth": []
  5863. }
  5864. ],
  5865. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5866. "produces": [
  5867. "application/json"
  5868. ],
  5869. "tags": [
  5870. "定制【海商报业】"
  5871. ],
  5872. "summary": "查询“我的订单”信息",
  5873. "parameters": [
  5874. {
  5875. "type": "string",
  5876. "description": "资金账户列表,格式:1,2,3",
  5877. "name": "accountIDs",
  5878. "in": "query",
  5879. "required": true
  5880. }
  5881. ],
  5882. "responses": {
  5883. "200": {
  5884. "description": "OK",
  5885. "schema": {
  5886. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5887. }
  5888. },
  5889. "500": {
  5890. "description": "Internal Server Error",
  5891. "schema": {
  5892. "$ref": "#/definitions/app.Response"
  5893. }
  5894. }
  5895. }
  5896. }
  5897. },
  5898. "/HSBY/QueryHsbyMyGoods": {
  5899. "get": {
  5900. "security": [
  5901. {
  5902. "ApiKeyAuth": []
  5903. }
  5904. ],
  5905. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5906. "produces": [
  5907. "application/json"
  5908. ],
  5909. "tags": [
  5910. "定制【海商报业】"
  5911. ],
  5912. "summary": "查询“我的商品”信息",
  5913. "parameters": [
  5914. {
  5915. "type": "string",
  5916. "description": "资金账户列表,格式:1,2,3",
  5917. "name": "accountIDs",
  5918. "in": "query",
  5919. "required": true
  5920. }
  5921. ],
  5922. "responses": {
  5923. "200": {
  5924. "description": "OK",
  5925. "schema": {
  5926. "$ref": "#/definitions/models.HsbyMyGoods"
  5927. }
  5928. },
  5929. "500": {
  5930. "description": "Internal Server Error",
  5931. "schema": {
  5932. "$ref": "#/definitions/app.Response"
  5933. }
  5934. }
  5935. }
  5936. }
  5937. },
  5938. "/HSBY/QueryHsbyMyPackages": {
  5939. "get": {
  5940. "security": [
  5941. {
  5942. "ApiKeyAuth": []
  5943. }
  5944. ],
  5945. "produces": [
  5946. "application/json"
  5947. ],
  5948. "tags": [
  5949. "定制【海商报业】"
  5950. ],
  5951. "summary": "查询我的包裹信息",
  5952. "parameters": [
  5953. {
  5954. "type": "string",
  5955. "description": "资金账户列表,格式:1,2,3",
  5956. "name": "accountIDs",
  5957. "in": "query",
  5958. "required": true
  5959. },
  5960. {
  5961. "type": "integer",
  5962. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5963. "name": "takeOrderStatus",
  5964. "in": "query"
  5965. }
  5966. ],
  5967. "responses": {
  5968. "200": {
  5969. "description": "OK",
  5970. "schema": {
  5971. "$ref": "#/definitions/models.HsbyMyPackage"
  5972. }
  5973. },
  5974. "500": {
  5975. "description": "Internal Server Error",
  5976. "schema": {
  5977. "$ref": "#/definitions/app.Response"
  5978. }
  5979. }
  5980. }
  5981. }
  5982. },
  5983. "/HSBY/QueryHsbyPreGoodsDetail": {
  5984. "get": {
  5985. "security": [
  5986. {
  5987. "ApiKeyAuth": []
  5988. }
  5989. ],
  5990. "produces": [
  5991. "application/json"
  5992. ],
  5993. "tags": [
  5994. "定制【海商报业】"
  5995. ],
  5996. "summary": "查询一级市场(预售)商品信息详情",
  5997. "parameters": [
  5998. {
  5999. "type": "integer",
  6000. "description": "商品ID",
  6001. "name": "goodsID",
  6002. "in": "query",
  6003. "required": true
  6004. },
  6005. {
  6006. "type": "integer",
  6007. "description": "资金账户,主要用于获取预售商品购买上限",
  6008. "name": "accountID",
  6009. "in": "query"
  6010. }
  6011. ],
  6012. "responses": {
  6013. "200": {
  6014. "description": "OK",
  6015. "schema": {
  6016. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  6017. }
  6018. },
  6019. "500": {
  6020. "description": "Internal Server Error",
  6021. "schema": {
  6022. "$ref": "#/definitions/app.Response"
  6023. }
  6024. }
  6025. }
  6026. }
  6027. },
  6028. "/HSBY/QueryHsbyPreGoodses": {
  6029. "get": {
  6030. "security": [
  6031. {
  6032. "ApiKeyAuth": []
  6033. }
  6034. ],
  6035. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  6036. "produces": [
  6037. "application/json"
  6038. ],
  6039. "tags": [
  6040. "定制【海商报业】"
  6041. ],
  6042. "summary": "查询新品上市商品列表(一级市场预售)",
  6043. "parameters": [
  6044. {
  6045. "type": "integer",
  6046. "description": "页码",
  6047. "name": "page",
  6048. "in": "query"
  6049. },
  6050. {
  6051. "type": "integer",
  6052. "description": "每页条数",
  6053. "name": "pagesize",
  6054. "in": "query"
  6055. },
  6056. {
  6057. "type": "string",
  6058. "description": "市场ID列表,格式:1,2,3",
  6059. "name": "marketIDs",
  6060. "in": "query",
  6061. "required": true
  6062. },
  6063. {
  6064. "type": "integer",
  6065. "description": "目的地(省)ID",
  6066. "name": "descProvinceID",
  6067. "in": "query"
  6068. },
  6069. {
  6070. "type": "integer",
  6071. "description": "目的地(市)ID",
  6072. "name": "descCityID",
  6073. "in": "query"
  6074. }
  6075. ],
  6076. "responses": {
  6077. "200": {
  6078. "description": "OK",
  6079. "schema": {
  6080. "$ref": "#/definitions/models.HsbyPreGoods"
  6081. }
  6082. },
  6083. "500": {
  6084. "description": "Internal Server Error",
  6085. "schema": {
  6086. "$ref": "#/definitions/app.Response"
  6087. }
  6088. }
  6089. }
  6090. }
  6091. },
  6092. "/HSBY/QueryHsbySellMyDetails": {
  6093. "get": {
  6094. "security": [
  6095. {
  6096. "ApiKeyAuth": []
  6097. }
  6098. ],
  6099. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  6100. "produces": [
  6101. "application/json"
  6102. ],
  6103. "tags": [
  6104. "定制【海商报业】"
  6105. ],
  6106. "summary": "查询\"我的闲置\"单据信息",
  6107. "parameters": [
  6108. {
  6109. "type": "integer",
  6110. "description": "页码",
  6111. "name": "page",
  6112. "in": "query"
  6113. },
  6114. {
  6115. "type": "integer",
  6116. "description": "每页条数",
  6117. "name": "pagesize",
  6118. "in": "query"
  6119. },
  6120. {
  6121. "type": "string",
  6122. "description": "资金账户列表,格式:1,2,3",
  6123. "name": "accountIDs",
  6124. "in": "query",
  6125. "required": true
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  6130. "name": "orderType",
  6131. "in": "query"
  6132. }
  6133. ],
  6134. "responses": {
  6135. "200": {
  6136. "description": "OK",
  6137. "schema": {
  6138. "$ref": "#/definitions/models.HsbySellMyDetail"
  6139. }
  6140. },
  6141. "500": {
  6142. "description": "Internal Server Error",
  6143. "schema": {
  6144. "$ref": "#/definitions/app.Response"
  6145. }
  6146. }
  6147. }
  6148. }
  6149. },
  6150. "/HSBY/QueryHsbyTopGoodses": {
  6151. "get": {
  6152. "security": [
  6153. {
  6154. "ApiKeyAuth": []
  6155. }
  6156. ],
  6157. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  6158. "produces": [
  6159. "application/json"
  6160. ],
  6161. "tags": [
  6162. "定制【海商报业】"
  6163. ],
  6164. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  6165. "parameters": [
  6166. {
  6167. "type": "integer",
  6168. "description": "页码",
  6169. "name": "page",
  6170. "in": "query"
  6171. },
  6172. {
  6173. "type": "integer",
  6174. "description": "每页条数",
  6175. "name": "pagesize",
  6176. "in": "query"
  6177. },
  6178. {
  6179. "type": "string",
  6180. "description": "市场ID列表,格式:1,2,3",
  6181. "name": "marketIDs",
  6182. "in": "query",
  6183. "required": true
  6184. },
  6185. {
  6186. "type": "integer",
  6187. "description": "目的地(省)ID",
  6188. "name": "descProvinceID",
  6189. "in": "query"
  6190. },
  6191. {
  6192. "type": "integer",
  6193. "description": "目的地(市)ID",
  6194. "name": "descCityID",
  6195. "in": "query"
  6196. }
  6197. ],
  6198. "responses": {
  6199. "200": {
  6200. "description": "OK",
  6201. "schema": {
  6202. "$ref": "#/definitions/models.HsbyTopGoods"
  6203. }
  6204. },
  6205. "500": {
  6206. "description": "Internal Server Error",
  6207. "schema": {
  6208. "$ref": "#/definitions/app.Response"
  6209. }
  6210. }
  6211. }
  6212. }
  6213. },
  6214. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  6215. "get": {
  6216. "security": [
  6217. {
  6218. "ApiKeyAuth": []
  6219. }
  6220. ],
  6221. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  6222. "produces": [
  6223. "application/json"
  6224. ],
  6225. "tags": [
  6226. "定制【海商报业】"
  6227. ],
  6228. "summary": "查询游客三级市场(商城)商品信息详情",
  6229. "parameters": [
  6230. {
  6231. "type": "integer",
  6232. "description": "商品ID",
  6233. "name": "goodsID",
  6234. "in": "query",
  6235. "required": true
  6236. }
  6237. ],
  6238. "responses": {
  6239. "200": {
  6240. "description": "OK",
  6241. "schema": {
  6242. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  6243. }
  6244. },
  6245. "500": {
  6246. "description": "Internal Server Error",
  6247. "schema": {
  6248. "$ref": "#/definitions/app.Response"
  6249. }
  6250. }
  6251. }
  6252. }
  6253. },
  6254. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  6255. "get": {
  6256. "security": [
  6257. {
  6258. "ApiKeyAuth": []
  6259. }
  6260. ],
  6261. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "查询游客特卖商品列表(三级商城)",
  6269. "parameters": [
  6270. {
  6271. "type": "integer",
  6272. "description": "页码",
  6273. "name": "page",
  6274. "in": "query"
  6275. },
  6276. {
  6277. "type": "integer",
  6278. "description": "每页条数",
  6279. "name": "pagesize",
  6280. "in": "query"
  6281. },
  6282. {
  6283. "type": "string",
  6284. "description": "市场ID列表,格式:1,2,3",
  6285. "name": "marketIDs",
  6286. "in": "query",
  6287. "required": true
  6288. },
  6289. {
  6290. "type": "integer",
  6291. "description": "类别ID",
  6292. "name": "categoryID",
  6293. "in": "query"
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  6298. "name": "goodsIDs",
  6299. "in": "query"
  6300. }
  6301. ],
  6302. "responses": {
  6303. "200": {
  6304. "description": "OK",
  6305. "schema": {
  6306. "$ref": "#/definitions/models.HsbyMarketGoods"
  6307. }
  6308. },
  6309. "500": {
  6310. "description": "Internal Server Error",
  6311. "schema": {
  6312. "$ref": "#/definitions/app.Response"
  6313. }
  6314. }
  6315. }
  6316. }
  6317. },
  6318. "/HSBY/QueryMyCollectionOrders": {
  6319. "get": {
  6320. "security": [
  6321. {
  6322. "ApiKeyAuth": []
  6323. }
  6324. ],
  6325. "produces": [
  6326. "application/json"
  6327. ],
  6328. "tags": [
  6329. "定制【海商报业】"
  6330. ],
  6331. "summary": "我的闲置中收款信息查询",
  6332. "parameters": [
  6333. {
  6334. "type": "integer",
  6335. "description": "页码",
  6336. "name": "page",
  6337. "in": "query"
  6338. },
  6339. {
  6340. "type": "integer",
  6341. "description": "每页条数",
  6342. "name": "pagesize",
  6343. "in": "query"
  6344. },
  6345. {
  6346. "type": "string",
  6347. "description": "资金账户,格式:1,2,3",
  6348. "name": "accountIDs",
  6349. "in": "query",
  6350. "required": true
  6351. }
  6352. ],
  6353. "responses": {
  6354. "200": {
  6355. "description": "OK",
  6356. "schema": {
  6357. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6358. }
  6359. },
  6360. "500": {
  6361. "description": "Internal Server Error",
  6362. "schema": {
  6363. "$ref": "#/definitions/app.Response"
  6364. }
  6365. }
  6366. }
  6367. }
  6368. },
  6369. "/HSBY/QueryMyCouponHolds": {
  6370. "get": {
  6371. "security": [
  6372. {
  6373. "ApiKeyAuth": []
  6374. }
  6375. ],
  6376. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6377. "produces": [
  6378. "application/json"
  6379. ],
  6380. "tags": [
  6381. "定制【海商报业】"
  6382. ],
  6383. "summary": "我的优惠卷持仓查询",
  6384. "parameters": [
  6385. {
  6386. "type": "string",
  6387. "description": "资金账户列表,格式:1,2,3",
  6388. "name": "accountIDs",
  6389. "in": "query",
  6390. "required": true
  6391. },
  6392. {
  6393. "type": "string",
  6394. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6395. "name": "holdStatus",
  6396. "in": "query"
  6397. }
  6398. ],
  6399. "responses": {
  6400. "200": {
  6401. "description": "OK",
  6402. "schema": {
  6403. "$ref": "#/definitions/models.MyCouponHold"
  6404. }
  6405. },
  6406. "500": {
  6407. "description": "Internal Server Error",
  6408. "schema": {
  6409. "$ref": "#/definitions/app.Response"
  6410. }
  6411. }
  6412. }
  6413. }
  6414. },
  6415. "/HSBY/QueryMyCoupons": {
  6416. "get": {
  6417. "security": [
  6418. {
  6419. "ApiKeyAuth": []
  6420. }
  6421. ],
  6422. "produces": [
  6423. "application/json"
  6424. ],
  6425. "tags": [
  6426. "定制【海商报业】"
  6427. ],
  6428. "summary": "我的优惠卷查询",
  6429. "parameters": [
  6430. {
  6431. "type": "string",
  6432. "description": "资金账户列表,格式:1,2,3",
  6433. "name": "accountIDs",
  6434. "in": "query",
  6435. "required": true
  6436. },
  6437. {
  6438. "type": "integer",
  6439. "description": "商品ID, 一般与sellUserID配套传入",
  6440. "name": "goodsID",
  6441. "in": "query"
  6442. },
  6443. {
  6444. "type": "integer",
  6445. "description": "卖方UserID",
  6446. "name": "sellUserID",
  6447. "in": "query"
  6448. }
  6449. ],
  6450. "responses": {
  6451. "200": {
  6452. "description": "OK",
  6453. "schema": {
  6454. "$ref": "#/definitions/models.MyCoupon"
  6455. }
  6456. },
  6457. "500": {
  6458. "description": "Internal Server Error",
  6459. "schema": {
  6460. "$ref": "#/definitions/app.Response"
  6461. }
  6462. }
  6463. }
  6464. }
  6465. },
  6466. "/HSBY/QueryMyPayOrders": {
  6467. "get": {
  6468. "security": [
  6469. {
  6470. "ApiKeyAuth": []
  6471. }
  6472. ],
  6473. "produces": [
  6474. "application/json"
  6475. ],
  6476. "tags": [
  6477. "定制【海商报业】"
  6478. ],
  6479. "summary": "获取我的订单中待付款信息",
  6480. "parameters": [
  6481. {
  6482. "type": "integer",
  6483. "description": "页码",
  6484. "name": "page",
  6485. "in": "query"
  6486. },
  6487. {
  6488. "type": "integer",
  6489. "description": "每页条数",
  6490. "name": "pagesize",
  6491. "in": "query"
  6492. },
  6493. {
  6494. "type": "string",
  6495. "description": "资金账户列表,格式:1,2,3",
  6496. "name": "accountIDs",
  6497. "in": "query",
  6498. "required": true
  6499. },
  6500. {
  6501. "type": "integer",
  6502. "description": "买方委托单号",
  6503. "name": "buyOrderID",
  6504. "in": "query"
  6505. },
  6506. {
  6507. "type": "integer",
  6508. "description": "卖方委托单号",
  6509. "name": "sellOrderID",
  6510. "in": "query"
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6518. }
  6519. },
  6520. "500": {
  6521. "description": "Internal Server Error",
  6522. "schema": {
  6523. "$ref": "#/definitions/app.Response"
  6524. }
  6525. }
  6526. }
  6527. }
  6528. },
  6529. "/HSBY/QueryMyUsedCoupon": {
  6530. "get": {
  6531. "security": [
  6532. {
  6533. "ApiKeyAuth": []
  6534. }
  6535. ],
  6536. "produces": [
  6537. "application/json"
  6538. ],
  6539. "tags": [
  6540. "定制【海商报业】"
  6541. ],
  6542. "summary": "已使用优惠卷查询",
  6543. "parameters": [
  6544. {
  6545. "type": "string",
  6546. "description": "资金账户列表,格式:1,2,3",
  6547. "name": "accountIDs",
  6548. "in": "query",
  6549. "required": true
  6550. }
  6551. ],
  6552. "responses": {
  6553. "200": {
  6554. "description": "OK",
  6555. "schema": {
  6556. "$ref": "#/definitions/models.MyUsedCoupon"
  6557. }
  6558. },
  6559. "500": {
  6560. "description": "Internal Server Error",
  6561. "schema": {
  6562. "$ref": "#/definitions/app.Response"
  6563. }
  6564. }
  6565. }
  6566. }
  6567. },
  6568. "/HSBY/QueryProvincesAndCities": {
  6569. "get": {
  6570. "security": [
  6571. {
  6572. "ApiKeyAuth": []
  6573. }
  6574. ],
  6575. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6576. "produces": [
  6577. "application/json"
  6578. ],
  6579. "tags": [
  6580. "定制【海商报业】"
  6581. ],
  6582. "summary": "查询省市信息(不包括区)",
  6583. "parameters": [
  6584. {
  6585. "type": "integer",
  6586. "description": "省ID",
  6587. "name": "provinceID",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6596. }
  6597. },
  6598. "500": {
  6599. "description": "Internal Server Error",
  6600. "schema": {
  6601. "$ref": "#/definitions/app.Response"
  6602. }
  6603. }
  6604. }
  6605. }
  6606. },
  6607. "/HSBY/SetHsbyMyPackagesStatus": {
  6608. "post": {
  6609. "security": [
  6610. {
  6611. "ApiKeyAuth": []
  6612. }
  6613. ],
  6614. "produces": [
  6615. "application/json"
  6616. ],
  6617. "tags": [
  6618. "定制【海商报业】"
  6619. ],
  6620. "summary": "设置我的包裹已收货状态",
  6621. "parameters": [
  6622. {
  6623. "type": "string",
  6624. "description": "提货单号",
  6625. "name": "takeOrderID",
  6626. "in": "query",
  6627. "required": true
  6628. },
  6629. {
  6630. "type": "integer",
  6631. "description": "资金账号",
  6632. "name": "accountID",
  6633. "in": "query",
  6634. "required": true
  6635. }
  6636. ],
  6637. "responses": {
  6638. "200": {
  6639. "description": "OK",
  6640. "schema": {
  6641. "$ref": "#/definitions/app.Response"
  6642. }
  6643. },
  6644. "500": {
  6645. "description": "Internal Server Error",
  6646. "schema": {
  6647. "$ref": "#/definitions/app.Response"
  6648. }
  6649. }
  6650. }
  6651. }
  6652. },
  6653. "/Market/GetAllExExchanges": {
  6654. "get": {
  6655. "security": [
  6656. {
  6657. "ApiKeyAuth": []
  6658. }
  6659. ],
  6660. "produces": [
  6661. "application/json"
  6662. ],
  6663. "tags": [
  6664. "通用市场"
  6665. ],
  6666. "summary": "获取所有外部交易所信息",
  6667. "responses": {
  6668. "200": {
  6669. "description": "OK",
  6670. "schema": {
  6671. "$ref": "#/definitions/models.Goods"
  6672. }
  6673. },
  6674. "500": {
  6675. "description": "Internal Server Error",
  6676. "schema": {
  6677. "$ref": "#/definitions/app.Response"
  6678. }
  6679. }
  6680. }
  6681. }
  6682. },
  6683. "/Market/QueryGoodsesByLoginID": {
  6684. "get": {
  6685. "security": [
  6686. {
  6687. "ApiKeyAuth": []
  6688. }
  6689. ],
  6690. "produces": [
  6691. "application/json"
  6692. ],
  6693. "tags": [
  6694. "通用市场"
  6695. ],
  6696. "summary": "获取登录账号有权限的商品信息",
  6697. "parameters": [
  6698. {
  6699. "type": "integer",
  6700. "description": "登录账号",
  6701. "name": "loginID",
  6702. "in": "query",
  6703. "required": true
  6704. },
  6705. {
  6706. "type": "string",
  6707. "description": "市场ID列表,格式:1,2,3",
  6708. "name": "marketIDs",
  6709. "in": "query"
  6710. }
  6711. ],
  6712. "responses": {
  6713. "200": {
  6714. "description": "OK",
  6715. "schema": {
  6716. "$ref": "#/definitions/models.Goods"
  6717. }
  6718. },
  6719. "500": {
  6720. "description": "Internal Server Error",
  6721. "schema": {
  6722. "$ref": "#/definitions/app.Response"
  6723. }
  6724. }
  6725. }
  6726. }
  6727. },
  6728. "/Market/QueryMarketRun": {
  6729. "get": {
  6730. "security": [
  6731. {
  6732. "ApiKeyAuth": []
  6733. }
  6734. ],
  6735. "produces": [
  6736. "application/json"
  6737. ],
  6738. "tags": [
  6739. "通用市场"
  6740. ],
  6741. "summary": "查询市场运行信息",
  6742. "parameters": [
  6743. {
  6744. "type": "integer",
  6745. "description": "市场ID,不传返回所有",
  6746. "name": "marketID",
  6747. "in": "query"
  6748. }
  6749. ],
  6750. "responses": {
  6751. "200": {
  6752. "description": "OK",
  6753. "schema": {
  6754. "$ref": "#/definitions/models.Marketrun"
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Market/QueryMarketsByLoginID": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "通用市场"
  6778. ],
  6779. "summary": "获取登录账号有权限的市场信息",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "登录账号",
  6784. "name": "loginID",
  6785. "in": "query",
  6786. "required": true
  6787. }
  6788. ],
  6789. "responses": {
  6790. "200": {
  6791. "description": "OK",
  6792. "schema": {
  6793. "$ref": "#/definitions/models.Market"
  6794. }
  6795. },
  6796. "500": {
  6797. "description": "Internal Server Error",
  6798. "schema": {
  6799. "$ref": "#/definitions/app.Response"
  6800. }
  6801. }
  6802. }
  6803. }
  6804. },
  6805. "/Order/QueryHisTradeDetail": {
  6806. "get": {
  6807. "security": [
  6808. {
  6809. "ApiKeyAuth": []
  6810. }
  6811. ],
  6812. "produces": [
  6813. "application/json"
  6814. ],
  6815. "tags": [
  6816. "通用单据"
  6817. ],
  6818. "summary": "历史成交单查询(合约市场)",
  6819. "parameters": [
  6820. {
  6821. "type": "string",
  6822. "description": "资金账户 - 格式:1,2,3",
  6823. "name": "accountID",
  6824. "in": "query",
  6825. "required": true
  6826. },
  6827. {
  6828. "type": "integer",
  6829. "description": "成交单号",
  6830. "name": "tradeID",
  6831. "in": "query"
  6832. },
  6833. {
  6834. "type": "integer",
  6835. "description": "委托单号",
  6836. "name": "orderID",
  6837. "in": "query"
  6838. },
  6839. {
  6840. "type": "integer",
  6841. "description": "商品ID",
  6842. "name": "goodsID",
  6843. "in": "query"
  6844. },
  6845. {
  6846. "type": "string",
  6847. "description": "交易模式 - 格式:1,2,3",
  6848. "name": "tradeMode",
  6849. "in": "query"
  6850. },
  6851. {
  6852. "type": "integer",
  6853. "description": "委托单据类型",
  6854. "name": "buildType",
  6855. "in": "query"
  6856. },
  6857. {
  6858. "type": "string",
  6859. "description": "成交类别 - 格式:1,2,3",
  6860. "name": "tradeType",
  6861. "in": "query"
  6862. },
  6863. {
  6864. "type": "string",
  6865. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6866. "name": "startDate",
  6867. "in": "query"
  6868. },
  6869. {
  6870. "type": "string",
  6871. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6872. "name": "endDate",
  6873. "in": "query"
  6874. }
  6875. ],
  6876. "responses": {
  6877. "200": {
  6878. "description": "OK",
  6879. "schema": {
  6880. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6881. }
  6882. },
  6883. "500": {
  6884. "description": "Internal Server Error",
  6885. "schema": {
  6886. "$ref": "#/definitions/app.Response"
  6887. }
  6888. }
  6889. }
  6890. }
  6891. },
  6892. "/Order/QueryHisTradeOrderDetail": {
  6893. "get": {
  6894. "security": [
  6895. {
  6896. "ApiKeyAuth": []
  6897. }
  6898. ],
  6899. "produces": [
  6900. "application/json"
  6901. ],
  6902. "tags": [
  6903. "通用单据"
  6904. ],
  6905. "summary": "历史委托单查询请求(合约市场)",
  6906. "parameters": [
  6907. {
  6908. "type": "string",
  6909. "description": "资金账户 - 格式:1,2,3",
  6910. "name": "accountID",
  6911. "in": "query",
  6912. "required": true
  6913. },
  6914. {
  6915. "type": "string",
  6916. "description": "交易模式 - 格式:1,2,3",
  6917. "name": "tradeMode",
  6918. "in": "query"
  6919. },
  6920. {
  6921. "type": "string",
  6922. "description": "委托状态 - 格式:1,2,3",
  6923. "name": "orderStatus",
  6924. "in": "query"
  6925. },
  6926. {
  6927. "type": "integer",
  6928. "description": "委托单号",
  6929. "name": "orderID",
  6930. "in": "query"
  6931. },
  6932. {
  6933. "type": "string",
  6934. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6935. "name": "startDate",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "string",
  6940. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6941. "name": "endDate",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Order/QueryTradeDetail": {
  6962. "get": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "通用单据"
  6973. ],
  6974. "summary": "成交单查询(合约市场)",
  6975. "parameters": [
  6976. {
  6977. "type": "string",
  6978. "description": "资金账户 - 格式:1,2,3",
  6979. "name": "accountID",
  6980. "in": "query",
  6981. "required": true
  6982. },
  6983. {
  6984. "type": "integer",
  6985. "description": "成交单号",
  6986. "name": "tradeID",
  6987. "in": "query"
  6988. },
  6989. {
  6990. "type": "integer",
  6991. "description": "委托单号",
  6992. "name": "orderID",
  6993. "in": "query"
  6994. },
  6995. {
  6996. "type": "string",
  6997. "description": "交易模式 - 格式:1,2,3",
  6998. "name": "tradeMode",
  6999. "in": "query"
  7000. },
  7001. {
  7002. "type": "integer",
  7003. "description": "委托单据类型",
  7004. "name": "buildType",
  7005. "in": "query"
  7006. },
  7007. {
  7008. "type": "string",
  7009. "description": "成交类别 - 格式:1,2,3",
  7010. "name": "tradeType",
  7011. "in": "query"
  7012. },
  7013. {
  7014. "type": "integer",
  7015. "description": "商品ID",
  7016. "name": "goodsID",
  7017. "in": "query"
  7018. }
  7019. ],
  7020. "responses": {
  7021. "200": {
  7022. "description": "OK",
  7023. "schema": {
  7024. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  7025. }
  7026. },
  7027. "500": {
  7028. "description": "Internal Server Error",
  7029. "schema": {
  7030. "$ref": "#/definitions/app.Response"
  7031. }
  7032. }
  7033. }
  7034. }
  7035. },
  7036. "/Order/QueryTradeOrderDetail": {
  7037. "get": {
  7038. "security": [
  7039. {
  7040. "ApiKeyAuth": []
  7041. }
  7042. ],
  7043. "produces": [
  7044. "application/json"
  7045. ],
  7046. "tags": [
  7047. "通用单据"
  7048. ],
  7049. "summary": "委托单查询请求(合约市场)",
  7050. "parameters": [
  7051. {
  7052. "type": "string",
  7053. "description": "资金账户 - 格式:1,2,3",
  7054. "name": "accountID",
  7055. "in": "query",
  7056. "required": true
  7057. },
  7058. {
  7059. "type": "string",
  7060. "description": "交易模式 - 格式:1,2,3",
  7061. "name": "tradeMode",
  7062. "in": "query"
  7063. },
  7064. {
  7065. "type": "string",
  7066. "description": "委托状态 - 格式:1,2,3",
  7067. "name": "orderStatus",
  7068. "in": "query"
  7069. },
  7070. {
  7071. "type": "integer",
  7072. "description": "委托单号",
  7073. "name": "orderID",
  7074. "in": "query"
  7075. }
  7076. ],
  7077. "responses": {
  7078. "200": {
  7079. "description": "OK",
  7080. "schema": {
  7081. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  7082. }
  7083. },
  7084. "500": {
  7085. "description": "Internal Server Error",
  7086. "schema": {
  7087. "$ref": "#/definitions/app.Response"
  7088. }
  7089. }
  7090. }
  7091. }
  7092. },
  7093. "/Order/QueryTradePosition": {
  7094. "get": {
  7095. "security": [
  7096. {
  7097. "ApiKeyAuth": []
  7098. }
  7099. ],
  7100. "produces": [
  7101. "application/json"
  7102. ],
  7103. "tags": [
  7104. "通用单据"
  7105. ],
  7106. "summary": "持仓汇总查询(合约市场)",
  7107. "parameters": [
  7108. {
  7109. "type": "string",
  7110. "description": "资金账户 - 格式:1,2,3",
  7111. "name": "accountID",
  7112. "in": "query",
  7113. "required": true
  7114. },
  7115. {
  7116. "type": "string",
  7117. "description": "交易模式 - 格式:1,2,3",
  7118. "name": "tradeMode",
  7119. "in": "query"
  7120. }
  7121. ],
  7122. "responses": {
  7123. "200": {
  7124. "description": "OK",
  7125. "schema": {
  7126. "$ref": "#/definitions/order.QueryTradePositionRsp"
  7127. }
  7128. },
  7129. "500": {
  7130. "description": "Internal Server Error",
  7131. "schema": {
  7132. "$ref": "#/definitions/app.Response"
  7133. }
  7134. }
  7135. }
  7136. }
  7137. },
  7138. "/Qhj/QueryAccountInOutApply": {
  7139. "get": {
  7140. "security": [
  7141. {
  7142. "ApiKeyAuth": []
  7143. }
  7144. ],
  7145. "produces": [
  7146. "application/json"
  7147. ],
  7148. "tags": [
  7149. "大连千海金"
  7150. ],
  7151. "summary": "查询充值提现",
  7152. "parameters": [
  7153. {
  7154. "type": "integer",
  7155. "description": "用户ID",
  7156. "name": "userid",
  7157. "in": "query",
  7158. "required": true
  7159. },
  7160. {
  7161. "type": "string",
  7162. "description": "申请起始日期(格式yyyymmdd)",
  7163. "name": "begindate",
  7164. "in": "query"
  7165. },
  7166. {
  7167. "type": "string",
  7168. "description": "申请截止日期(格式yyyymmdd)",
  7169. "name": "enddate",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "string",
  7174. "description": "模糊搜索名称",
  7175. "name": "likename",
  7176. "in": "query"
  7177. }
  7178. ],
  7179. "responses": {
  7180. "200": {
  7181. "description": "OK",
  7182. "schema": {
  7183. "type": "array",
  7184. "items": {
  7185. "$ref": "#/definitions/models.QhjAccountOutInApply"
  7186. }
  7187. }
  7188. },
  7189. "500": {
  7190. "description": "Internal Server Error",
  7191. "schema": {
  7192. "$ref": "#/definitions/app.Response"
  7193. }
  7194. }
  7195. }
  7196. }
  7197. },
  7198. "/Qhj/QueryAreaFinanceConfig": {
  7199. "get": {
  7200. "security": [
  7201. {
  7202. "ApiKeyAuth": []
  7203. }
  7204. ],
  7205. "produces": [
  7206. "application/json"
  7207. ],
  7208. "tags": [
  7209. "大连千海金"
  7210. ],
  7211. "summary": "查询企业配置表",
  7212. "parameters": [
  7213. {
  7214. "type": "integer",
  7215. "description": "机构用户ID 其他做市关系,都设置为 1",
  7216. "name": "userid",
  7217. "in": "query"
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "type": "array",
  7225. "items": {
  7226. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  7227. }
  7228. }
  7229. },
  7230. "500": {
  7231. "description": "Internal Server Error",
  7232. "schema": {
  7233. "$ref": "#/definitions/app.Response"
  7234. }
  7235. }
  7236. }
  7237. }
  7238. },
  7239. "/Qhj/QueryBankAccountSign": {
  7240. "get": {
  7241. "security": [
  7242. {
  7243. "ApiKeyAuth": []
  7244. }
  7245. ],
  7246. "produces": [
  7247. "application/json"
  7248. ],
  7249. "tags": [
  7250. "大连千海金"
  7251. ],
  7252. "summary": "查询签约银行信息(提现账户管理)",
  7253. "parameters": [
  7254. {
  7255. "type": "integer",
  7256. "description": "用户ID",
  7257. "name": "userid",
  7258. "in": "query",
  7259. "required": true
  7260. }
  7261. ],
  7262. "responses": {
  7263. "200": {
  7264. "description": "OK",
  7265. "schema": {
  7266. "type": "array",
  7267. "items": {
  7268. "$ref": "#/definitions/models.QhjBankAccountSign"
  7269. }
  7270. }
  7271. },
  7272. "500": {
  7273. "description": "Internal Server Error",
  7274. "schema": {
  7275. "$ref": "#/definitions/app.Response"
  7276. }
  7277. }
  7278. }
  7279. }
  7280. },
  7281. "/Qhj/QueryBankInfo": {
  7282. "get": {
  7283. "security": [
  7284. {
  7285. "ApiKeyAuth": []
  7286. }
  7287. ],
  7288. "produces": [
  7289. "application/json"
  7290. ],
  7291. "tags": [
  7292. "大连千海金"
  7293. ],
  7294. "summary": "查询开户行",
  7295. "responses": {
  7296. "200": {
  7297. "description": "OK",
  7298. "schema": {
  7299. "type": "array",
  7300. "items": {
  7301. "$ref": "#/definitions/models.QhjBankInfo"
  7302. }
  7303. }
  7304. },
  7305. "500": {
  7306. "description": "Internal Server Error",
  7307. "schema": {
  7308. "$ref": "#/definitions/app.Response"
  7309. }
  7310. }
  7311. }
  7312. }
  7313. },
  7314. "/Qhj/QueryBrokerApply": {
  7315. "get": {
  7316. "security": [
  7317. {
  7318. "ApiKeyAuth": []
  7319. }
  7320. ],
  7321. "produces": [
  7322. "application/json"
  7323. ],
  7324. "tags": [
  7325. "大连千海金"
  7326. ],
  7327. "summary": "查询经纪人申请",
  7328. "parameters": [
  7329. {
  7330. "type": "integer",
  7331. "description": "所属机构ID",
  7332. "name": "userid",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7338. "name": "filterstatus",
  7339. "in": "query"
  7340. }
  7341. ],
  7342. "responses": {
  7343. "200": {
  7344. "description": "OK",
  7345. "schema": {
  7346. "type": "array",
  7347. "items": {
  7348. "$ref": "#/definitions/models.QhjBrokerApply"
  7349. }
  7350. }
  7351. },
  7352. "500": {
  7353. "description": "Internal Server Error",
  7354. "schema": {
  7355. "$ref": "#/definitions/app.Response"
  7356. }
  7357. }
  7358. }
  7359. }
  7360. },
  7361. "/Qhj/QueryBrokerApplyEx": {
  7362. "get": {
  7363. "security": [
  7364. {
  7365. "ApiKeyAuth": []
  7366. }
  7367. ],
  7368. "produces": [
  7369. "application/json"
  7370. ],
  7371. "tags": [
  7372. "大连千海金"
  7373. ],
  7374. "summary": "查询经纪人信息和申请记录",
  7375. "parameters": [
  7376. {
  7377. "type": "integer",
  7378. "description": "所属机构ID",
  7379. "name": "userid",
  7380. "in": "query"
  7381. }
  7382. ],
  7383. "responses": {
  7384. "200": {
  7385. "description": "OK",
  7386. "schema": {
  7387. "type": "array",
  7388. "items": {
  7389. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  7390. }
  7391. }
  7392. },
  7393. "500": {
  7394. "description": "Internal Server Error",
  7395. "schema": {
  7396. "$ref": "#/definitions/app.Response"
  7397. }
  7398. }
  7399. }
  7400. }
  7401. },
  7402. "/Qhj/QueryBrokerRewardLog": {
  7403. "get": {
  7404. "security": [
  7405. {
  7406. "ApiKeyAuth": []
  7407. }
  7408. ],
  7409. "produces": [
  7410. "application/json"
  7411. ],
  7412. "tags": [
  7413. "大连千海金"
  7414. ],
  7415. "summary": "查询奖励流水(我的奖励)",
  7416. "parameters": [
  7417. {
  7418. "type": "integer",
  7419. "description": "用户ID",
  7420. "name": "userid",
  7421. "in": "query",
  7422. "required": true
  7423. },
  7424. {
  7425. "type": "string",
  7426. "description": "开始交易日(yyyymmdd)",
  7427. "name": "begindate",
  7428. "in": "query"
  7429. },
  7430. {
  7431. "type": "string",
  7432. "description": "结束交易日(yyyymmdd)",
  7433. "name": "enddate",
  7434. "in": "query"
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Qhj/QueryContract": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "大连千海金"
  7468. ],
  7469. "summary": "查询融资明细(合同)",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "用户ID",
  7474. "name": "userid",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "scf合同id",
  7480. "name": "scfcontractid",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "type": "array",
  7489. "items": {
  7490. "$ref": "#/definitions/models.QhjContract"
  7491. }
  7492. }
  7493. },
  7494. "500": {
  7495. "description": "Internal Server Error",
  7496. "schema": {
  7497. "$ref": "#/definitions/app.Response"
  7498. }
  7499. }
  7500. }
  7501. }
  7502. },
  7503. "/Qhj/QueryContractLog": {
  7504. "get": {
  7505. "security": [
  7506. {
  7507. "ApiKeyAuth": []
  7508. }
  7509. ],
  7510. "produces": [
  7511. "application/json"
  7512. ],
  7513. "tags": [
  7514. "大连千海金"
  7515. ],
  7516. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  7517. "parameters": [
  7518. {
  7519. "type": "integer",
  7520. "description": "scf合同id",
  7521. "name": "scfcontractid",
  7522. "in": "query",
  7523. "required": true
  7524. },
  7525. {
  7526. "type": "string",
  7527. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  7528. "name": "amounttype",
  7529. "in": "query"
  7530. }
  7531. ],
  7532. "responses": {
  7533. "200": {
  7534. "description": "OK",
  7535. "schema": {
  7536. "type": "array",
  7537. "items": {
  7538. "$ref": "#/definitions/models.QhjContractLog"
  7539. }
  7540. }
  7541. },
  7542. "500": {
  7543. "description": "Internal Server Error",
  7544. "schema": {
  7545. "$ref": "#/definitions/app.Response"
  7546. }
  7547. }
  7548. }
  7549. }
  7550. },
  7551. "/Qhj/QueryCusBankSignBank": {
  7552. "get": {
  7553. "security": [
  7554. {
  7555. "ApiKeyAuth": []
  7556. }
  7557. ],
  7558. "produces": [
  7559. "application/json"
  7560. ],
  7561. "tags": [
  7562. "大连千海金"
  7563. ],
  7564. "summary": "查询托管银行",
  7565. "responses": {
  7566. "200": {
  7567. "description": "OK",
  7568. "schema": {
  7569. "type": "array",
  7570. "items": {
  7571. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  7572. }
  7573. }
  7574. },
  7575. "500": {
  7576. "description": "Internal Server Error",
  7577. "schema": {
  7578. "$ref": "#/definitions/app.Response"
  7579. }
  7580. }
  7581. }
  7582. }
  7583. },
  7584. "/Qhj/QueryCustomerInfo": {
  7585. "get": {
  7586. "security": [
  7587. {
  7588. "ApiKeyAuth": []
  7589. }
  7590. ],
  7591. "produces": [
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "大连千海金"
  7596. ],
  7597. "summary": "查询客户资料",
  7598. "parameters": [
  7599. {
  7600. "type": "integer",
  7601. "description": "用户ID",
  7602. "name": "userid",
  7603. "in": "query",
  7604. "required": true
  7605. },
  7606. {
  7607. "type": "integer",
  7608. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  7609. "name": "querytype",
  7610. "in": "query",
  7611. "required": true
  7612. },
  7613. {
  7614. "type": "integer",
  7615. "description": "客户类型 1-个人 2-企业",
  7616. "name": "userinfotype",
  7617. "in": "query"
  7618. },
  7619. {
  7620. "type": "string",
  7621. "description": "客户名称(模糊匹配)",
  7622. "name": "customername",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "string",
  7627. "description": "昵称(模糊匹配)",
  7628. "name": "nickname",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "是否包含子级 1-包含",
  7634. "name": "includesub",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.QhjCustomer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Qhj/QueryGoodsEx": {
  7658. "get": {
  7659. "security": [
  7660. {
  7661. "ApiKeyAuth": []
  7662. }
  7663. ],
  7664. "produces": [
  7665. "application/json"
  7666. ],
  7667. "tags": [
  7668. "大连千海金"
  7669. ],
  7670. "summary": "交易商品扩展表",
  7671. "parameters": [
  7672. {
  7673. "type": "integer",
  7674. "description": "商品id",
  7675. "name": "goodsid",
  7676. "in": "query"
  7677. }
  7678. ],
  7679. "responses": {
  7680. "200": {
  7681. "description": "OK",
  7682. "schema": {
  7683. "type": "array",
  7684. "items": {
  7685. "$ref": "#/definitions/models.Qhjgoodsex"
  7686. }
  7687. }
  7688. },
  7689. "500": {
  7690. "description": "Internal Server Error",
  7691. "schema": {
  7692. "$ref": "#/definitions/app.Response"
  7693. }
  7694. }
  7695. }
  7696. }
  7697. },
  7698. "/Qhj/QueryMyTeam": {
  7699. "get": {
  7700. "security": [
  7701. {
  7702. "ApiKeyAuth": []
  7703. }
  7704. ],
  7705. "produces": [
  7706. "application/json"
  7707. ],
  7708. "tags": [
  7709. "大连千海金"
  7710. ],
  7711. "summary": "查询我的团队",
  7712. "parameters": [
  7713. {
  7714. "type": "integer",
  7715. "description": "用户ID",
  7716. "name": "userid",
  7717. "in": "query",
  7718. "required": true
  7719. }
  7720. ],
  7721. "responses": {
  7722. "200": {
  7723. "description": "OK",
  7724. "schema": {
  7725. "type": "array",
  7726. "items": {
  7727. "$ref": "#/definitions/models.QhjMyTeamEx"
  7728. }
  7729. }
  7730. },
  7731. "500": {
  7732. "description": "Internal Server Error",
  7733. "schema": {
  7734. "$ref": "#/definitions/app.Response"
  7735. }
  7736. }
  7737. }
  7738. }
  7739. },
  7740. "/Qhj/QueryMyTeamOrder": {
  7741. "get": {
  7742. "security": [
  7743. {
  7744. "ApiKeyAuth": []
  7745. }
  7746. ],
  7747. "produces": [
  7748. "application/json"
  7749. ],
  7750. "tags": [
  7751. "大连千海金"
  7752. ],
  7753. "summary": "查询团队订单(我的团队/团队订单)",
  7754. "parameters": [
  7755. {
  7756. "type": "integer",
  7757. "description": "页码",
  7758. "name": "page",
  7759. "in": "query"
  7760. },
  7761. {
  7762. "type": "integer",
  7763. "description": "每页条数",
  7764. "name": "pagesize",
  7765. "in": "query"
  7766. },
  7767. {
  7768. "type": "integer",
  7769. "description": "用户ID",
  7770. "name": "userid",
  7771. "in": "query",
  7772. "required": true
  7773. },
  7774. {
  7775. "type": "integer",
  7776. "description": "交易模式",
  7777. "name": "trademode",
  7778. "in": "query"
  7779. },
  7780. {
  7781. "type": "string",
  7782. "description": "名称(模糊搜索账户)",
  7783. "name": "filtername",
  7784. "in": "query"
  7785. }
  7786. ],
  7787. "responses": {
  7788. "200": {
  7789. "description": "OK",
  7790. "schema": {
  7791. "type": "array",
  7792. "items": {
  7793. "$ref": "#/definitions/models.QhjTeamOrder"
  7794. }
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/Qhj/QueryParentAreaList": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "大连千海金"
  7818. ],
  7819. "summary": "查询所属机构列表",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.QhjParentAreaList"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Qhj/QueryPayOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. }
  7854. ],
  7855. "produces": [
  7856. "application/json"
  7857. ],
  7858. "tags": [
  7859. "大连千海金"
  7860. ],
  7861. "summary": "查询待付款单据",
  7862. "parameters": [
  7863. {
  7864. "type": "integer",
  7865. "description": "资金账号id",
  7866. "name": "accountid",
  7867. "in": "query",
  7868. "required": true
  7869. },
  7870. {
  7871. "type": "integer",
  7872. "description": "成交单号",
  7873. "name": "tradeid",
  7874. "in": "query"
  7875. },
  7876. {
  7877. "type": "string",
  7878. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7879. "name": "payflag",
  7880. "in": "query"
  7881. }
  7882. ],
  7883. "responses": {
  7884. "200": {
  7885. "description": "OK",
  7886. "schema": {
  7887. "type": "array",
  7888. "items": {
  7889. "$ref": "#/definitions/models.QhjPayOrder"
  7890. }
  7891. }
  7892. },
  7893. "500": {
  7894. "description": "Internal Server Error",
  7895. "schema": {
  7896. "$ref": "#/definitions/app.Response"
  7897. }
  7898. }
  7899. }
  7900. }
  7901. },
  7902. "/Qhj/QueryPickArea": {
  7903. "get": {
  7904. "security": [
  7905. {
  7906. "ApiKeyAuth": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "大连千海金"
  7914. ],
  7915. "summary": "查询提货门店",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query"
  7922. }
  7923. ],
  7924. "responses": {
  7925. "200": {
  7926. "description": "OK",
  7927. "schema": {
  7928. "type": "array",
  7929. "items": {
  7930. "$ref": "#/definitions/models.QhjPickArea"
  7931. }
  7932. }
  7933. },
  7934. "500": {
  7935. "description": "Internal Server Error",
  7936. "schema": {
  7937. "$ref": "#/definitions/app.Response"
  7938. }
  7939. }
  7940. }
  7941. }
  7942. },
  7943. "/Qhj/QueryPickGoods": {
  7944. "get": {
  7945. "security": [
  7946. {
  7947. "ApiKeyAuth": []
  7948. }
  7949. ],
  7950. "produces": [
  7951. "application/json"
  7952. ],
  7953. "tags": [
  7954. "大连千海金"
  7955. ],
  7956. "summary": "查询提货商品",
  7957. "parameters": [
  7958. {
  7959. "type": "integer",
  7960. "description": "交易商品id",
  7961. "name": "goodsid",
  7962. "in": "query",
  7963. "required": true
  7964. },
  7965. {
  7966. "type": "string",
  7967. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  7968. "name": "status",
  7969. "in": "query"
  7970. }
  7971. ],
  7972. "responses": {
  7973. "200": {
  7974. "description": "OK",
  7975. "schema": {
  7976. "type": "array",
  7977. "items": {
  7978. "$ref": "#/definitions/models.QhjPickGoods"
  7979. }
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/Qhj/QueryRSTriggerLog": {
  7992. "get": {
  7993. "security": [
  7994. {
  7995. "ApiKeyAuth": []
  7996. }
  7997. ],
  7998. "produces": [
  7999. "application/json"
  8000. ],
  8001. "tags": [
  8002. "大连千海金"
  8003. ],
  8004. "summary": "查询定投记录(定投管理/详情/定投记录)",
  8005. "parameters": [
  8006. {
  8007. "type": "integer",
  8008. "description": "用户ID",
  8009. "name": "userid",
  8010. "in": "query"
  8011. },
  8012. {
  8013. "type": "integer",
  8014. "description": "定投策略id",
  8015. "name": "regularlystrategyid",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "商品id",
  8021. "name": "goodsid",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "string",
  8026. "description": "开始交易日(yyyymmdd)",
  8027. "name": "begindate",
  8028. "in": "query"
  8029. },
  8030. {
  8031. "type": "string",
  8032. "description": "结束交易日(yyyymmdd)",
  8033. "name": "enddate",
  8034. "in": "query"
  8035. },
  8036. {
  8037. "type": "string",
  8038. "description": "名称(模糊搜索账户)",
  8039. "name": "filtername",
  8040. "in": "query"
  8041. }
  8042. ],
  8043. "responses": {
  8044. "200": {
  8045. "description": "OK",
  8046. "schema": {
  8047. "type": "array",
  8048. "items": {
  8049. "$ref": "#/definitions/models.QhjRSTriggerLog"
  8050. }
  8051. }
  8052. },
  8053. "500": {
  8054. "description": "Internal Server Error",
  8055. "schema": {
  8056. "$ref": "#/definitions/app.Response"
  8057. }
  8058. }
  8059. }
  8060. }
  8061. },
  8062. "/Qhj/QueryRStrategy": {
  8063. "get": {
  8064. "security": [
  8065. {
  8066. "ApiKeyAuth": []
  8067. }
  8068. ],
  8069. "produces": [
  8070. "application/json"
  8071. ],
  8072. "tags": [
  8073. "大连千海金"
  8074. ],
  8075. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  8076. "parameters": [
  8077. {
  8078. "type": "integer",
  8079. "description": "用户ID",
  8080. "name": "userid",
  8081. "in": "query"
  8082. },
  8083. {
  8084. "type": "integer",
  8085. "description": "商品id",
  8086. "name": "goodsid",
  8087. "in": "query"
  8088. },
  8089. {
  8090. "type": "string",
  8091. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  8092. "name": "status",
  8093. "in": "query"
  8094. },
  8095. {
  8096. "type": "string",
  8097. "description": "名称(模糊搜索账户)",
  8098. "name": "filtername",
  8099. "in": "query"
  8100. }
  8101. ],
  8102. "responses": {
  8103. "200": {
  8104. "description": "OK",
  8105. "schema": {
  8106. "type": "array",
  8107. "items": {
  8108. "$ref": "#/definitions/models.QhjRStrategy"
  8109. }
  8110. }
  8111. },
  8112. "500": {
  8113. "description": "Internal Server Error",
  8114. "schema": {
  8115. "$ref": "#/definitions/app.Response"
  8116. }
  8117. }
  8118. }
  8119. }
  8120. },
  8121. "/Qhj/QueryReckonPriceLog": {
  8122. "get": {
  8123. "security": [
  8124. {
  8125. "ApiKeyAuth": []
  8126. }
  8127. ],
  8128. "produces": [
  8129. "application/json"
  8130. ],
  8131. "tags": [
  8132. "大连千海金"
  8133. ],
  8134. "summary": "查询定投价(结算价)",
  8135. "parameters": [
  8136. {
  8137. "type": "integer",
  8138. "description": "商品ID",
  8139. "name": "goodsid",
  8140. "in": "query"
  8141. },
  8142. {
  8143. "type": "string",
  8144. "description": "交易日 格式(yyyymmdd)",
  8145. "name": "tradedate",
  8146. "in": "query"
  8147. }
  8148. ],
  8149. "responses": {
  8150. "200": {
  8151. "description": "OK",
  8152. "schema": {
  8153. "type": "array",
  8154. "items": {
  8155. "$ref": "#/definitions/models.QhjReckonPriceLog"
  8156. }
  8157. }
  8158. },
  8159. "500": {
  8160. "description": "Internal Server Error",
  8161. "schema": {
  8162. "$ref": "#/definitions/app.Response"
  8163. }
  8164. }
  8165. }
  8166. }
  8167. },
  8168. "/Qhj/QueryScoreLog": {
  8169. "get": {
  8170. "security": [
  8171. {
  8172. "ApiKeyAuth": []
  8173. }
  8174. ],
  8175. "produces": [
  8176. "application/json"
  8177. ],
  8178. "tags": [
  8179. "大连千海金"
  8180. ],
  8181. "summary": "查询积分流水(我的积分)",
  8182. "parameters": [
  8183. {
  8184. "type": "integer",
  8185. "description": "用户ID",
  8186. "name": "userid",
  8187. "in": "query",
  8188. "required": true
  8189. },
  8190. {
  8191. "type": "string",
  8192. "description": "开始交易日(yyyymmdd)",
  8193. "name": "begindate",
  8194. "in": "query"
  8195. },
  8196. {
  8197. "type": "string",
  8198. "description": "结束交易日(yyyymmdd)",
  8199. "name": "enddate",
  8200. "in": "query"
  8201. },
  8202. {
  8203. "type": "integer",
  8204. "description": "最近多少条",
  8205. "name": "lastnum",
  8206. "in": "query"
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.QhjScoreLog"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/Qhj/QuerySiteColumnDetail": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "大连千海金"
  8240. ],
  8241. "summary": "查询资讯",
  8242. "parameters": [
  8243. {
  8244. "type": "integer",
  8245. "description": "用户ID",
  8246. "name": "userid",
  8247. "in": "query",
  8248. "required": true
  8249. }
  8250. ],
  8251. "responses": {
  8252. "200": {
  8253. "description": "OK",
  8254. "schema": {
  8255. "type": "array",
  8256. "items": {
  8257. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  8258. }
  8259. }
  8260. },
  8261. "500": {
  8262. "description": "Internal Server Error",
  8263. "schema": {
  8264. "$ref": "#/definitions/app.Response"
  8265. }
  8266. }
  8267. }
  8268. }
  8269. },
  8270. "/Qhj/QueryTradeGoodsPickup": {
  8271. "get": {
  8272. "security": [
  8273. {
  8274. "ApiKeyAuth": []
  8275. }
  8276. ],
  8277. "produces": [
  8278. "application/json"
  8279. ],
  8280. "tags": [
  8281. "大连千海金"
  8282. ],
  8283. "summary": "查询提货",
  8284. "parameters": [
  8285. {
  8286. "type": "integer",
  8287. "description": "用户ID",
  8288. "name": "userid",
  8289. "in": "query",
  8290. "required": true
  8291. },
  8292. {
  8293. "type": "integer",
  8294. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  8295. "name": "takeorderstatus",
  8296. "in": "query"
  8297. }
  8298. ],
  8299. "responses": {
  8300. "200": {
  8301. "description": "OK",
  8302. "schema": {
  8303. "type": "array",
  8304. "items": {
  8305. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  8306. }
  8307. }
  8308. },
  8309. "500": {
  8310. "description": "Internal Server Error",
  8311. "schema": {
  8312. "$ref": "#/definitions/app.Response"
  8313. }
  8314. }
  8315. }
  8316. }
  8317. },
  8318. "/Qhj/QueryUserCollectConfig": {
  8319. "get": {
  8320. "security": [
  8321. {
  8322. "ApiKeyAuth": []
  8323. }
  8324. ],
  8325. "produces": [
  8326. "application/json"
  8327. ],
  8328. "tags": [
  8329. "大连千海金"
  8330. ],
  8331. "summary": "查询提现账户设置",
  8332. "parameters": [
  8333. {
  8334. "type": "integer",
  8335. "description": "用户ID",
  8336. "name": "userid",
  8337. "in": "query",
  8338. "required": true
  8339. }
  8340. ],
  8341. "responses": {
  8342. "200": {
  8343. "description": "OK",
  8344. "schema": {
  8345. "type": "array",
  8346. "items": {
  8347. "$ref": "#/definitions/models.UserCollectConfig"
  8348. }
  8349. }
  8350. },
  8351. "500": {
  8352. "description": "Internal Server Error",
  8353. "schema": {
  8354. "$ref": "#/definitions/app.Response"
  8355. }
  8356. }
  8357. }
  8358. }
  8359. },
  8360. "/Qhj/QueryUserReceiveInfo": {
  8361. "get": {
  8362. "security": [
  8363. {
  8364. "ApiKeyAuth": []
  8365. }
  8366. ],
  8367. "produces": [
  8368. "application/json"
  8369. ],
  8370. "tags": [
  8371. "大连千海金"
  8372. ],
  8373. "summary": "查询收货地址信息",
  8374. "parameters": [
  8375. {
  8376. "type": "integer",
  8377. "description": "用户ID",
  8378. "name": "userid",
  8379. "in": "query",
  8380. "required": true
  8381. }
  8382. ],
  8383. "responses": {
  8384. "200": {
  8385. "description": "OK",
  8386. "schema": {
  8387. "type": "array",
  8388. "items": {
  8389. "$ref": "#/definitions/models.UserReceiveInfo"
  8390. }
  8391. }
  8392. },
  8393. "500": {
  8394. "description": "Internal Server Error",
  8395. "schema": {
  8396. "$ref": "#/definitions/app.Response"
  8397. }
  8398. }
  8399. }
  8400. }
  8401. },
  8402. "/QhjMgr/QueryAccountInOutApply": {
  8403. "get": {
  8404. "security": [
  8405. {
  8406. "ApiKeyAuth": []
  8407. }
  8408. ],
  8409. "produces": [
  8410. "application/json"
  8411. ],
  8412. "tags": [
  8413. "大连千海金(PCWeb)"
  8414. ],
  8415. "summary": "查询充值提现",
  8416. "parameters": [
  8417. {
  8418. "type": "integer",
  8419. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  8420. "name": "querytype",
  8421. "in": "query",
  8422. "required": true
  8423. },
  8424. {
  8425. "type": "integer",
  8426. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  8427. "name": "applystatus",
  8428. "in": "query"
  8429. },
  8430. {
  8431. "type": "string",
  8432. "description": "申请起始日期(格式yyyymmdd)",
  8433. "name": "begindate",
  8434. "in": "query"
  8435. },
  8436. {
  8437. "type": "string",
  8438. "description": "申请截止日期(格式yyyymmdd)",
  8439. "name": "enddate",
  8440. "in": "query"
  8441. },
  8442. {
  8443. "type": "string",
  8444. "description": "模糊搜索名称",
  8445. "name": "likename",
  8446. "in": "query"
  8447. }
  8448. ],
  8449. "responses": {
  8450. "200": {
  8451. "description": "OK",
  8452. "schema": {
  8453. "type": "array",
  8454. "items": {
  8455. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  8456. }
  8457. }
  8458. },
  8459. "500": {
  8460. "description": "Internal Server Error",
  8461. "schema": {
  8462. "$ref": "#/definitions/app.Response"
  8463. }
  8464. }
  8465. }
  8466. }
  8467. },
  8468. "/QhjMgr/QueryBrokerApply": {
  8469. "get": {
  8470. "security": [
  8471. {
  8472. "ApiKeyAuth": []
  8473. }
  8474. ],
  8475. "produces": [
  8476. "application/json"
  8477. ],
  8478. "tags": [
  8479. "大连千海金(PCWeb)"
  8480. ],
  8481. "summary": "查询经纪人申请",
  8482. "parameters": [
  8483. {
  8484. "type": "integer",
  8485. "description": "所属机构ID",
  8486. "name": "userid",
  8487. "in": "query"
  8488. },
  8489. {
  8490. "type": "string",
  8491. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8492. "name": "filterstatus",
  8493. "in": "query"
  8494. },
  8495. {
  8496. "type": "string",
  8497. "description": "名称(模糊匹配)",
  8498. "name": "filtername",
  8499. "in": "query"
  8500. },
  8501. {
  8502. "type": "integer",
  8503. "description": "是否包含子级 1-包含",
  8504. "name": "includesub",
  8505. "in": "query"
  8506. }
  8507. ],
  8508. "responses": {
  8509. "200": {
  8510. "description": "OK",
  8511. "schema": {
  8512. "type": "array",
  8513. "items": {
  8514. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  8515. }
  8516. }
  8517. },
  8518. "500": {
  8519. "description": "Internal Server Error",
  8520. "schema": {
  8521. "$ref": "#/definitions/app.Response"
  8522. }
  8523. }
  8524. }
  8525. }
  8526. },
  8527. "/QhjMgr/QueryBrokerRewardReport": {
  8528. "get": {
  8529. "security": [
  8530. {
  8531. "ApiKeyAuth": []
  8532. }
  8533. ],
  8534. "produces": [
  8535. "application/json"
  8536. ],
  8537. "tags": [
  8538. "大连千海金(PCWeb)"
  8539. ],
  8540. "summary": "查询经纪人奖励报表(废弃)",
  8541. "parameters": [
  8542. {
  8543. "type": "integer",
  8544. "description": "所属机构ID",
  8545. "name": "userid",
  8546. "in": "query",
  8547. "required": true
  8548. },
  8549. {
  8550. "type": "integer",
  8551. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8552. "name": "cycletype",
  8553. "in": "query",
  8554. "required": true
  8555. },
  8556. {
  8557. "type": "string",
  8558. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  8559. "name": "cycletime",
  8560. "in": "query",
  8561. "required": true
  8562. },
  8563. {
  8564. "type": "string",
  8565. "description": "名称(模糊匹配)",
  8566. "name": "filtername",
  8567. "in": "query"
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "是否包含子级 1-包含",
  8572. "name": "includesub",
  8573. "in": "query"
  8574. }
  8575. ],
  8576. "responses": {
  8577. "200": {
  8578. "description": "OK",
  8579. "schema": {
  8580. "type": "array",
  8581. "items": {
  8582. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  8583. }
  8584. }
  8585. },
  8586. "500": {
  8587. "description": "Internal Server Error",
  8588. "schema": {
  8589. "$ref": "#/definitions/app.Response"
  8590. }
  8591. }
  8592. }
  8593. }
  8594. },
  8595. "/QhjMgr/QueryContract": {
  8596. "get": {
  8597. "security": [
  8598. {
  8599. "ApiKeyAuth": []
  8600. }
  8601. ],
  8602. "produces": [
  8603. "application/json"
  8604. ],
  8605. "tags": [
  8606. "大连千海金(PCWeb)"
  8607. ],
  8608. "summary": "查询融资信息(合同)",
  8609. "parameters": [
  8610. {
  8611. "type": "integer",
  8612. "description": "用户ID",
  8613. "name": "userid",
  8614. "in": "query"
  8615. },
  8616. {
  8617. "type": "integer",
  8618. "description": "商品id",
  8619. "name": "goodsid",
  8620. "in": "query"
  8621. },
  8622. {
  8623. "type": "string",
  8624. "description": "名称(模糊搜索账户)",
  8625. "name": "filtername",
  8626. "in": "query"
  8627. },
  8628. {
  8629. "type": "string",
  8630. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  8631. "name": "risklevel",
  8632. "in": "query"
  8633. },
  8634. {
  8635. "type": "string",
  8636. "description": "开始交易日(yyyymmdd)",
  8637. "name": "begindate",
  8638. "in": "query"
  8639. },
  8640. {
  8641. "type": "string",
  8642. "description": "结束交易日(yyyymmdd)",
  8643. "name": "enddate",
  8644. "in": "query"
  8645. }
  8646. ],
  8647. "responses": {
  8648. "200": {
  8649. "description": "OK",
  8650. "schema": {
  8651. "type": "array",
  8652. "items": {
  8653. "$ref": "#/definitions/models.QhjMgrContract"
  8654. }
  8655. }
  8656. },
  8657. "500": {
  8658. "description": "Internal Server Error",
  8659. "schema": {
  8660. "$ref": "#/definitions/app.Response"
  8661. }
  8662. }
  8663. }
  8664. }
  8665. },
  8666. "/QhjMgr/QueryCustomerInfo": {
  8667. "get": {
  8668. "security": [
  8669. {
  8670. "ApiKeyAuth": []
  8671. }
  8672. ],
  8673. "produces": [
  8674. "application/json"
  8675. ],
  8676. "tags": [
  8677. "大连千海金(PCWeb)"
  8678. ],
  8679. "summary": "查询客户资料",
  8680. "parameters": [
  8681. {
  8682. "type": "integer",
  8683. "description": "用户ID",
  8684. "name": "userid",
  8685. "in": "query",
  8686. "required": true
  8687. },
  8688. {
  8689. "type": "integer",
  8690. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  8691. "name": "querytype",
  8692. "in": "query",
  8693. "required": true
  8694. },
  8695. {
  8696. "type": "integer",
  8697. "description": "客户类型 1-个人 2-企业",
  8698. "name": "userinfotype",
  8699. "in": "query"
  8700. },
  8701. {
  8702. "type": "string",
  8703. "description": "客户名称(模糊匹配)",
  8704. "name": "customername",
  8705. "in": "query"
  8706. },
  8707. {
  8708. "type": "string",
  8709. "description": "昵称(模糊匹配)",
  8710. "name": "nickname",
  8711. "in": "query"
  8712. },
  8713. {
  8714. "type": "integer",
  8715. "description": "是否包含子级 1-包含",
  8716. "name": "includesub",
  8717. "in": "query"
  8718. }
  8719. ],
  8720. "responses": {
  8721. "200": {
  8722. "description": "OK",
  8723. "schema": {
  8724. "type": "array",
  8725. "items": {
  8726. "$ref": "#/definitions/models.QhjMgrCustomer"
  8727. }
  8728. }
  8729. },
  8730. "500": {
  8731. "description": "Internal Server Error",
  8732. "schema": {
  8733. "$ref": "#/definitions/app.Response"
  8734. }
  8735. }
  8736. }
  8737. }
  8738. },
  8739. "/QhjMgr/QueryPickGoods": {
  8740. "get": {
  8741. "security": [
  8742. {
  8743. "ApiKeyAuth": []
  8744. }
  8745. ],
  8746. "produces": [
  8747. "application/json"
  8748. ],
  8749. "tags": [
  8750. "大连千海金(PCWeb)"
  8751. ],
  8752. "summary": "查询提货商品",
  8753. "parameters": [
  8754. {
  8755. "type": "string",
  8756. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  8757. "name": "status",
  8758. "in": "query"
  8759. }
  8760. ],
  8761. "responses": {
  8762. "200": {
  8763. "description": "OK",
  8764. "schema": {
  8765. "type": "array",
  8766. "items": {
  8767. "$ref": "#/definitions/models.QhjMgrPickGoods"
  8768. }
  8769. }
  8770. },
  8771. "500": {
  8772. "description": "Internal Server Error",
  8773. "schema": {
  8774. "$ref": "#/definitions/app.Response"
  8775. }
  8776. }
  8777. }
  8778. }
  8779. },
  8780. "/QhjMgr/QuerySubArea": {
  8781. "get": {
  8782. "security": [
  8783. {
  8784. "ApiKeyAuth": []
  8785. }
  8786. ],
  8787. "produces": [
  8788. "application/json"
  8789. ],
  8790. "tags": [
  8791. "大连千海金(PCWeb)"
  8792. ],
  8793. "summary": "查询子机构列表",
  8794. "parameters": [
  8795. {
  8796. "type": "integer",
  8797. "description": "用户ID",
  8798. "name": "userid",
  8799. "in": "query",
  8800. "required": true
  8801. }
  8802. ],
  8803. "responses": {
  8804. "200": {
  8805. "description": "OK",
  8806. "schema": {
  8807. "type": "array",
  8808. "items": {
  8809. "$ref": "#/definitions/models.QhjMgrSubArea"
  8810. }
  8811. }
  8812. },
  8813. "500": {
  8814. "description": "Internal Server Error",
  8815. "schema": {
  8816. "$ref": "#/definitions/app.Response"
  8817. }
  8818. }
  8819. }
  8820. }
  8821. },
  8822. "/QhjMgr/QueryTradeDetail": {
  8823. "get": {
  8824. "security": [
  8825. {
  8826. "ApiKeyAuth": []
  8827. }
  8828. ],
  8829. "produces": [
  8830. "application/json"
  8831. ],
  8832. "tags": [
  8833. "大连千海金(PCWeb)"
  8834. ],
  8835. "summary": "查询成交明细",
  8836. "parameters": [
  8837. {
  8838. "type": "integer",
  8839. "description": "用户ID",
  8840. "name": "userid",
  8841. "in": "query",
  8842. "required": true
  8843. },
  8844. {
  8845. "type": "integer",
  8846. "description": "用户类型 1-个人 2-企业",
  8847. "name": "userinfotype",
  8848. "in": "query"
  8849. },
  8850. {
  8851. "type": "integer",
  8852. "description": "交易模式",
  8853. "name": "trademode",
  8854. "in": "query"
  8855. },
  8856. {
  8857. "type": "integer",
  8858. "description": "商品id",
  8859. "name": "goodsid",
  8860. "in": "query"
  8861. },
  8862. {
  8863. "type": "string",
  8864. "description": "名称(模糊搜索账户)",
  8865. "name": "filtername",
  8866. "in": "query"
  8867. },
  8868. {
  8869. "type": "string",
  8870. "description": "开始交易日(yyyymmdd)",
  8871. "name": "begindate",
  8872. "in": "query"
  8873. },
  8874. {
  8875. "type": "string",
  8876. "description": "结束交易日(yyyymmdd)",
  8877. "name": "enddate",
  8878. "in": "query"
  8879. },
  8880. {
  8881. "type": "integer",
  8882. "description": "是否包含子级 1-包含",
  8883. "name": "includesub",
  8884. "in": "query"
  8885. }
  8886. ],
  8887. "responses": {
  8888. "200": {
  8889. "description": "OK",
  8890. "schema": {
  8891. "type": "array",
  8892. "items": {
  8893. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  8894. }
  8895. }
  8896. },
  8897. "500": {
  8898. "description": "Internal Server Error",
  8899. "schema": {
  8900. "$ref": "#/definitions/app.Response"
  8901. }
  8902. }
  8903. }
  8904. }
  8905. },
  8906. "/QhjMgr/QueryTradeOrderDetail": {
  8907. "get": {
  8908. "security": [
  8909. {
  8910. "ApiKeyAuth": []
  8911. }
  8912. ],
  8913. "produces": [
  8914. "application/json"
  8915. ],
  8916. "tags": [
  8917. "大连千海金(PCWeb)"
  8918. ],
  8919. "summary": "查询委托明细",
  8920. "parameters": [
  8921. {
  8922. "type": "integer",
  8923. "description": "用户ID",
  8924. "name": "userid",
  8925. "in": "query",
  8926. "required": true
  8927. },
  8928. {
  8929. "type": "integer",
  8930. "description": "用户类型 1-个人 2-企业",
  8931. "name": "userinfotype",
  8932. "in": "query"
  8933. },
  8934. {
  8935. "type": "integer",
  8936. "description": "交易模式",
  8937. "name": "trademode",
  8938. "in": "query"
  8939. },
  8940. {
  8941. "type": "integer",
  8942. "description": "商品id",
  8943. "name": "goodsid",
  8944. "in": "query"
  8945. },
  8946. {
  8947. "type": "string",
  8948. "description": "名称(模糊搜索账户)",
  8949. "name": "filtername",
  8950. "in": "query"
  8951. },
  8952. {
  8953. "type": "string",
  8954. "description": "开始交易日(yyyymmdd)",
  8955. "name": "begindate",
  8956. "in": "query"
  8957. },
  8958. {
  8959. "type": "string",
  8960. "description": "结束交易日(yyyymmdd)",
  8961. "name": "enddate",
  8962. "in": "query"
  8963. },
  8964. {
  8965. "type": "integer",
  8966. "description": "是否包含子级 1-包含",
  8967. "name": "includesub",
  8968. "in": "query"
  8969. }
  8970. ],
  8971. "responses": {
  8972. "200": {
  8973. "description": "OK",
  8974. "schema": {
  8975. "type": "array",
  8976. "items": {
  8977. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  8978. }
  8979. }
  8980. },
  8981. "500": {
  8982. "description": "Internal Server Error",
  8983. "schema": {
  8984. "$ref": "#/definitions/app.Response"
  8985. }
  8986. }
  8987. }
  8988. }
  8989. },
  8990. "/QhjMgr/QueryTradePayOrder": {
  8991. "get": {
  8992. "security": [
  8993. {
  8994. "ApiKeyAuth": []
  8995. }
  8996. ],
  8997. "produces": [
  8998. "application/json"
  8999. ],
  9000. "tags": [
  9001. "大连千海金(PCWeb)"
  9002. ],
  9003. "summary": "查询待付款单",
  9004. "parameters": [
  9005. {
  9006. "type": "integer",
  9007. "description": "用户ID",
  9008. "name": "userid",
  9009. "in": "query",
  9010. "required": true
  9011. },
  9012. {
  9013. "type": "string",
  9014. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9015. "name": "payflag",
  9016. "in": "query"
  9017. },
  9018. {
  9019. "type": "integer",
  9020. "description": "用户类型 1-个人 2-企业",
  9021. "name": "userinfotype",
  9022. "in": "query"
  9023. },
  9024. {
  9025. "type": "integer",
  9026. "description": "交易模式",
  9027. "name": "trademode",
  9028. "in": "query"
  9029. },
  9030. {
  9031. "type": "integer",
  9032. "description": "商品id",
  9033. "name": "goodsid",
  9034. "in": "query"
  9035. },
  9036. {
  9037. "type": "string",
  9038. "description": "名称(模糊搜索账户)",
  9039. "name": "filtername",
  9040. "in": "query"
  9041. },
  9042. {
  9043. "type": "string",
  9044. "description": "开始交易日(yyyymmdd)",
  9045. "name": "begindate",
  9046. "in": "query"
  9047. },
  9048. {
  9049. "type": "string",
  9050. "description": "结束交易日(yyyymmdd)",
  9051. "name": "enddate",
  9052. "in": "query"
  9053. },
  9054. {
  9055. "type": "integer",
  9056. "description": "是否包含子级 1-包含",
  9057. "name": "includesub",
  9058. "in": "query"
  9059. }
  9060. ],
  9061. "responses": {
  9062. "200": {
  9063. "description": "OK",
  9064. "schema": {
  9065. "type": "array",
  9066. "items": {
  9067. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  9068. }
  9069. }
  9070. },
  9071. "500": {
  9072. "description": "Internal Server Error",
  9073. "schema": {
  9074. "$ref": "#/definitions/app.Response"
  9075. }
  9076. }
  9077. }
  9078. }
  9079. },
  9080. "/QhjMgr/QueryTradePosition": {
  9081. "get": {
  9082. "security": [
  9083. {
  9084. "ApiKeyAuth": []
  9085. }
  9086. ],
  9087. "produces": [
  9088. "application/json"
  9089. ],
  9090. "tags": [
  9091. "大连千海金(PCWeb)"
  9092. ],
  9093. "summary": "查询持仓汇总",
  9094. "parameters": [
  9095. {
  9096. "type": "integer",
  9097. "description": "用户ID",
  9098. "name": "userid",
  9099. "in": "query",
  9100. "required": true
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "用户类型 1-个人 2-企业",
  9105. "name": "userinfotype",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "integer",
  9110. "description": "交易模式",
  9111. "name": "trademode",
  9112. "in": "query"
  9113. },
  9114. {
  9115. "type": "integer",
  9116. "description": "商品id",
  9117. "name": "goodsid",
  9118. "in": "query"
  9119. },
  9120. {
  9121. "type": "string",
  9122. "description": "名称(模糊搜索账户)",
  9123. "name": "filtername",
  9124. "in": "query"
  9125. },
  9126. {
  9127. "type": "integer",
  9128. "description": "是否包含子级 1-包含",
  9129. "name": "includesub",
  9130. "in": "query"
  9131. }
  9132. ],
  9133. "responses": {
  9134. "200": {
  9135. "description": "OK",
  9136. "schema": {
  9137. "type": "array",
  9138. "items": {
  9139. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  9140. }
  9141. }
  9142. },
  9143. "500": {
  9144. "description": "Internal Server Error",
  9145. "schema": {
  9146. "$ref": "#/definitions/app.Response"
  9147. }
  9148. }
  9149. }
  9150. }
  9151. },
  9152. "/QhjSys/QueryAgreementChangeLog": {
  9153. "get": {
  9154. "security": [
  9155. {
  9156. "ApiKeyAuth": []
  9157. }
  9158. ],
  9159. "produces": [
  9160. "application/json"
  9161. ],
  9162. "tags": [
  9163. "大连千海金(协议和签约信息)"
  9164. ],
  9165. "summary": "查询协议配置变更流水",
  9166. "parameters": [
  9167. {
  9168. "type": "integer",
  9169. "description": "协议ID",
  9170. "name": "agreementid",
  9171. "in": "query"
  9172. },
  9173. {
  9174. "type": "integer",
  9175. "description": "协议版本号",
  9176. "name": "agreementversion",
  9177. "in": "query"
  9178. },
  9179. {
  9180. "type": "integer",
  9181. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9182. "name": "agreementtype",
  9183. "in": "query"
  9184. },
  9185. {
  9186. "type": "string",
  9187. "description": "协议编号(模糊匹配)",
  9188. "name": "agreementno",
  9189. "in": "query"
  9190. },
  9191. {
  9192. "type": "string",
  9193. "description": "协议名称(模糊匹配)",
  9194. "name": "agreementname",
  9195. "in": "query"
  9196. }
  9197. ],
  9198. "responses": {
  9199. "200": {
  9200. "description": "OK",
  9201. "schema": {
  9202. "type": "array",
  9203. "items": {
  9204. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  9205. }
  9206. }
  9207. },
  9208. "500": {
  9209. "description": "Internal Server Error",
  9210. "schema": {
  9211. "$ref": "#/definitions/app.Response"
  9212. }
  9213. }
  9214. }
  9215. }
  9216. },
  9217. "/QhjSys/QueryAgreementConfig": {
  9218. "get": {
  9219. "security": [
  9220. {
  9221. "ApiKeyAuth": []
  9222. }
  9223. ],
  9224. "produces": [
  9225. "application/json"
  9226. ],
  9227. "tags": [
  9228. "大连千海金(协议和签约信息)"
  9229. ],
  9230. "summary": "查询协议配置",
  9231. "parameters": [
  9232. {
  9233. "type": "integer",
  9234. "description": "协议ID",
  9235. "name": "agreementid",
  9236. "in": "query"
  9237. },
  9238. {
  9239. "type": "integer",
  9240. "description": "协议版本号",
  9241. "name": "agreementversion",
  9242. "in": "query"
  9243. },
  9244. {
  9245. "type": "integer",
  9246. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9247. "name": "agreementtype",
  9248. "in": "query"
  9249. },
  9250. {
  9251. "type": "integer",
  9252. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  9253. "name": "isvalid",
  9254. "in": "query"
  9255. },
  9256. {
  9257. "type": "string",
  9258. "description": "协议编号(模糊匹配)",
  9259. "name": "agreementno",
  9260. "in": "query"
  9261. },
  9262. {
  9263. "type": "string",
  9264. "description": "协议名称(模糊匹配)",
  9265. "name": "agreementname",
  9266. "in": "query"
  9267. }
  9268. ],
  9269. "responses": {
  9270. "200": {
  9271. "description": "OK",
  9272. "schema": {
  9273. "type": "array",
  9274. "items": {
  9275. "$ref": "#/definitions/models.QhjAgreementConfig"
  9276. }
  9277. }
  9278. },
  9279. "500": {
  9280. "description": "Internal Server Error",
  9281. "schema": {
  9282. "$ref": "#/definitions/app.Response"
  9283. }
  9284. }
  9285. }
  9286. }
  9287. },
  9288. "/QhjSys/QueryCustomerSignStatus": {
  9289. "get": {
  9290. "security": [
  9291. {
  9292. "ApiKeyAuth": []
  9293. }
  9294. ],
  9295. "produces": [
  9296. "application/json"
  9297. ],
  9298. "tags": [
  9299. "大连千海金(协议和签约信息)"
  9300. ],
  9301. "summary": "查询客户协议签约状态",
  9302. "parameters": [
  9303. {
  9304. "type": "integer",
  9305. "description": "客户ID",
  9306. "name": "userid",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "integer",
  9311. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  9312. "name": "nodetype",
  9313. "in": "query"
  9314. },
  9315. {
  9316. "type": "integer",
  9317. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9318. "name": "goodsid",
  9319. "in": "query"
  9320. },
  9321. {
  9322. "type": "string",
  9323. "description": "创建交易日(yyyyMMdd)",
  9324. "name": "tradedate",
  9325. "in": "query"
  9326. },
  9327. {
  9328. "type": "string",
  9329. "description": "用户名称(模糊匹配)",
  9330. "name": "username",
  9331. "in": "query"
  9332. }
  9333. ],
  9334. "responses": {
  9335. "200": {
  9336. "description": "OK",
  9337. "schema": {
  9338. "type": "array",
  9339. "items": {
  9340. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  9341. }
  9342. }
  9343. },
  9344. "500": {
  9345. "description": "Internal Server Error",
  9346. "schema": {
  9347. "$ref": "#/definitions/app.Response"
  9348. }
  9349. }
  9350. }
  9351. }
  9352. },
  9353. "/QhjSys/QueryNodeAgreementConfig": {
  9354. "get": {
  9355. "security": [
  9356. {
  9357. "ApiKeyAuth": []
  9358. }
  9359. ],
  9360. "produces": [
  9361. "application/json"
  9362. ],
  9363. "tags": [
  9364. "大连千海金(协议和签约信息)"
  9365. ],
  9366. "summary": "查询协议节点配置",
  9367. "parameters": [
  9368. {
  9369. "type": "integer",
  9370. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9371. "name": "configid",
  9372. "in": "query"
  9373. },
  9374. {
  9375. "type": "integer",
  9376. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9377. "name": "nodetype",
  9378. "in": "query"
  9379. },
  9380. {
  9381. "type": "integer",
  9382. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9383. "name": "goodsid",
  9384. "in": "query"
  9385. },
  9386. {
  9387. "type": "integer",
  9388. "description": "协议ID",
  9389. "name": "agreementid",
  9390. "in": "query"
  9391. },
  9392. {
  9393. "type": "integer",
  9394. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9395. "name": "agreementtype",
  9396. "in": "query"
  9397. },
  9398. {
  9399. "type": "integer",
  9400. "description": "协议版本号",
  9401. "name": "agreementversion",
  9402. "in": "query"
  9403. },
  9404. {
  9405. "type": "string",
  9406. "description": "协议编号(模糊匹配)",
  9407. "name": "agreementno",
  9408. "in": "query"
  9409. },
  9410. {
  9411. "type": "string",
  9412. "description": "协议名称(模糊匹配)",
  9413. "name": "agreementname",
  9414. "in": "query"
  9415. }
  9416. ],
  9417. "responses": {
  9418. "200": {
  9419. "description": "OK",
  9420. "schema": {
  9421. "type": "array",
  9422. "items": {
  9423. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  9424. }
  9425. }
  9426. },
  9427. "500": {
  9428. "description": "Internal Server Error",
  9429. "schema": {
  9430. "$ref": "#/definitions/app.Response"
  9431. }
  9432. }
  9433. }
  9434. }
  9435. },
  9436. "/QhjSys/QueryQhjCustomerSignLog": {
  9437. "get": {
  9438. "security": [
  9439. {
  9440. "ApiKeyAuth": []
  9441. }
  9442. ],
  9443. "produces": [
  9444. "application/json"
  9445. ],
  9446. "tags": [
  9447. "大连千海金(协议和签约信息)"
  9448. ],
  9449. "summary": "查询客户协议签约流水",
  9450. "parameters": [
  9451. {
  9452. "type": "integer",
  9453. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  9454. "name": "logid",
  9455. "in": "query"
  9456. },
  9457. {
  9458. "type": "integer",
  9459. "description": "客户ID",
  9460. "name": "userid",
  9461. "in": "query"
  9462. },
  9463. {
  9464. "type": "integer",
  9465. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9466. "name": "nodetype",
  9467. "in": "query"
  9468. },
  9469. {
  9470. "type": "integer",
  9471. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9472. "name": "goodsid",
  9473. "in": "query"
  9474. },
  9475. {
  9476. "type": "integer",
  9477. "description": "协议ID",
  9478. "name": "agreementid",
  9479. "in": "query"
  9480. },
  9481. {
  9482. "type": "string",
  9483. "description": "用户名称(模糊匹配)",
  9484. "name": "username",
  9485. "in": "query"
  9486. },
  9487. {
  9488. "type": "string",
  9489. "description": "协议编号(模糊匹配)",
  9490. "name": "agreementno",
  9491. "in": "query"
  9492. },
  9493. {
  9494. "type": "string",
  9495. "description": "协议名称(模糊匹配)",
  9496. "name": "agreementname",
  9497. "in": "query"
  9498. }
  9499. ],
  9500. "responses": {
  9501. "200": {
  9502. "description": "OK",
  9503. "schema": {
  9504. "type": "array",
  9505. "items": {
  9506. "$ref": "#/definitions/models.QhjCustomerSignLog"
  9507. }
  9508. }
  9509. },
  9510. "500": {
  9511. "description": "Internal Server Error",
  9512. "schema": {
  9513. "$ref": "#/definitions/app.Response"
  9514. }
  9515. }
  9516. }
  9517. }
  9518. },
  9519. "/QhjSys/QueryUserNodeCfgAndStatus": {
  9520. "get": {
  9521. "security": [
  9522. {
  9523. "ApiKeyAuth": []
  9524. }
  9525. ],
  9526. "produces": [
  9527. "application/json"
  9528. ],
  9529. "tags": [
  9530. "大连千海金(协议和签约信息)"
  9531. ],
  9532. "summary": "查询用户协议节点配置和状态",
  9533. "parameters": [
  9534. {
  9535. "type": "integer",
  9536. "description": "客户ID",
  9537. "name": "userid",
  9538. "in": "query"
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  9543. "name": "configid",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "string",
  9548. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  9549. "name": "nodetype",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "integer",
  9554. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  9555. "name": "goodsid",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "integer",
  9560. "description": "协议ID",
  9561. "name": "agreementid",
  9562. "in": "query"
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "协议类型 - 1:注册 2:登录 3:交易",
  9567. "name": "agreementtype",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "协议版本号",
  9573. "name": "agreementversion",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "string",
  9578. "description": "协议编号(模糊匹配)",
  9579. "name": "agreementno",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "协议名称(模糊匹配)",
  9585. "name": "agreementname",
  9586. "in": "query"
  9587. }
  9588. ],
  9589. "responses": {
  9590. "200": {
  9591. "description": "OK",
  9592. "schema": {
  9593. "type": "array",
  9594. "items": {
  9595. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  9596. }
  9597. }
  9598. },
  9599. "500": {
  9600. "description": "Internal Server Error",
  9601. "schema": {
  9602. "$ref": "#/definitions/app.Response"
  9603. }
  9604. }
  9605. }
  9606. }
  9607. },
  9608. "/Quote/QueryHistoryDatas": {
  9609. "get": {
  9610. "security": [
  9611. {
  9612. "ApiKeyAuth": []
  9613. }
  9614. ],
  9615. "produces": [
  9616. "application/json"
  9617. ],
  9618. "tags": [
  9619. "行情服务"
  9620. ],
  9621. "summary": "查询行情历史数据",
  9622. "parameters": [
  9623. {
  9624. "type": "integer",
  9625. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  9626. "name": "cycleType",
  9627. "in": "query",
  9628. "required": true
  9629. },
  9630. {
  9631. "type": "string",
  9632. "description": "商品代码",
  9633. "name": "goodsCode",
  9634. "in": "query",
  9635. "required": true
  9636. },
  9637. {
  9638. "type": "string",
  9639. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9640. "name": "startTime",
  9641. "in": "query"
  9642. },
  9643. {
  9644. "type": "string",
  9645. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9646. "name": "endTime",
  9647. "in": "query"
  9648. },
  9649. {
  9650. "type": "integer",
  9651. "description": "条数",
  9652. "name": "count",
  9653. "in": "query"
  9654. },
  9655. {
  9656. "type": "boolean",
  9657. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9658. "name": "isAsc",
  9659. "in": "query"
  9660. }
  9661. ],
  9662. "responses": {
  9663. "200": {
  9664. "description": "OK",
  9665. "schema": {
  9666. "$ref": "#/definitions/quote.HistoryData"
  9667. }
  9668. },
  9669. "500": {
  9670. "description": "Internal Server Error",
  9671. "schema": {
  9672. "$ref": "#/definitions/app.Response"
  9673. }
  9674. }
  9675. }
  9676. }
  9677. },
  9678. "/Quote/QueryHistoryTikDatas": {
  9679. "get": {
  9680. "security": [
  9681. {
  9682. "ApiKeyAuth": []
  9683. }
  9684. ],
  9685. "produces": [
  9686. "application/json"
  9687. ],
  9688. "tags": [
  9689. "行情服务"
  9690. ],
  9691. "summary": "查询行情Tik数据",
  9692. "parameters": [
  9693. {
  9694. "type": "string",
  9695. "description": "商品代码",
  9696. "name": "goodsCode",
  9697. "in": "query",
  9698. "required": true
  9699. },
  9700. {
  9701. "type": "string",
  9702. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  9703. "name": "startTime",
  9704. "in": "query"
  9705. },
  9706. {
  9707. "type": "string",
  9708. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  9709. "name": "endTime",
  9710. "in": "query"
  9711. },
  9712. {
  9713. "type": "integer",
  9714. "description": "条数",
  9715. "name": "count",
  9716. "in": "query"
  9717. },
  9718. {
  9719. "type": "boolean",
  9720. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  9721. "name": "isAsc",
  9722. "in": "query"
  9723. }
  9724. ],
  9725. "responses": {
  9726. "200": {
  9727. "description": "OK",
  9728. "schema": {
  9729. "$ref": "#/definitions/quote.HistoryTikData"
  9730. }
  9731. },
  9732. "500": {
  9733. "description": "Internal Server Error",
  9734. "schema": {
  9735. "$ref": "#/definitions/app.Response"
  9736. }
  9737. }
  9738. }
  9739. }
  9740. },
  9741. "/Quote/QueryQuoteDay": {
  9742. "get": {
  9743. "security": [
  9744. {
  9745. "ApiKeyAuth": []
  9746. }
  9747. ],
  9748. "produces": [
  9749. "application/json"
  9750. ],
  9751. "tags": [
  9752. "行情服务"
  9753. ],
  9754. "summary": "获取商品盘面信息",
  9755. "parameters": [
  9756. {
  9757. "type": "string",
  9758. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  9759. "name": "goodsCodes",
  9760. "in": "query",
  9761. "required": true
  9762. }
  9763. ],
  9764. "responses": {
  9765. "200": {
  9766. "description": "OK",
  9767. "schema": {
  9768. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  9769. }
  9770. },
  9771. "500": {
  9772. "description": "Internal Server Error",
  9773. "schema": {
  9774. "$ref": "#/definitions/app.Response"
  9775. }
  9776. }
  9777. }
  9778. }
  9779. },
  9780. "/Quote/QueryTSData": {
  9781. "get": {
  9782. "security": [
  9783. {
  9784. "ApiKeyAuth": []
  9785. }
  9786. ],
  9787. "produces": [
  9788. "application/json"
  9789. ],
  9790. "tags": [
  9791. "行情服务"
  9792. ],
  9793. "summary": "分时图数据查询",
  9794. "parameters": [
  9795. {
  9796. "type": "string",
  9797. "description": "商品代码",
  9798. "name": "goodsCode",
  9799. "in": "query",
  9800. "required": true
  9801. }
  9802. ],
  9803. "responses": {
  9804. "200": {
  9805. "description": "OK",
  9806. "schema": {
  9807. "$ref": "#/definitions/quote.QueryTSDataRsp"
  9808. }
  9809. },
  9810. "500": {
  9811. "description": "Internal Server Error",
  9812. "schema": {
  9813. "$ref": "#/definitions/app.Response"
  9814. }
  9815. }
  9816. }
  9817. }
  9818. },
  9819. "/SZDZ/QueryConvertConfig": {
  9820. "get": {
  9821. "security": [
  9822. {
  9823. "ApiKeyAuth": []
  9824. }
  9825. ],
  9826. "produces": [
  9827. "application/json"
  9828. ],
  9829. "tags": [
  9830. "定制【尚志大宗】"
  9831. ],
  9832. "summary": "查询交易系统转换设置",
  9833. "parameters": [
  9834. {
  9835. "type": "integer",
  9836. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9837. "name": "convertType",
  9838. "in": "query"
  9839. },
  9840. {
  9841. "type": "string",
  9842. "description": "外部商品代码[JD\\PD]",
  9843. "name": "outerGoodsCode",
  9844. "in": "query"
  9845. },
  9846. {
  9847. "type": "string",
  9848. "description": "内部商品ID列表[交易],格式:1,2,3",
  9849. "name": "innerGoodsIDs",
  9850. "in": "query"
  9851. }
  9852. ],
  9853. "responses": {
  9854. "200": {
  9855. "description": "OK",
  9856. "schema": {
  9857. "$ref": "#/definitions/models.Szdz3convertconfig"
  9858. }
  9859. },
  9860. "500": {
  9861. "description": "Internal Server Error",
  9862. "schema": {
  9863. "$ref": "#/definitions/app.Response"
  9864. }
  9865. }
  9866. }
  9867. }
  9868. },
  9869. "/SZDZ/QueryConvertLog": {
  9870. "get": {
  9871. "security": [
  9872. {
  9873. "ApiKeyAuth": []
  9874. }
  9875. ],
  9876. "produces": [
  9877. "application/json"
  9878. ],
  9879. "tags": [
  9880. "定制【尚志大宗】"
  9881. ],
  9882. "summary": "交易系统转换流水查询",
  9883. "parameters": [
  9884. {
  9885. "type": "string",
  9886. "description": "资金账户 - 格式:1,2,3",
  9887. "name": "accountID",
  9888. "in": "query",
  9889. "required": true
  9890. },
  9891. {
  9892. "type": "string",
  9893. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9894. "name": "startDate",
  9895. "in": "query"
  9896. },
  9897. {
  9898. "type": "string",
  9899. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  9900. "name": "endDate",
  9901. "in": "query"
  9902. }
  9903. ],
  9904. "responses": {
  9905. "200": {
  9906. "description": "OK",
  9907. "schema": {
  9908. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  9909. }
  9910. },
  9911. "500": {
  9912. "description": "Internal Server Error",
  9913. "schema": {
  9914. "$ref": "#/definitions/app.Response"
  9915. }
  9916. }
  9917. }
  9918. }
  9919. },
  9920. "/SZDZ/QueryGoodsPickup": {
  9921. "get": {
  9922. "security": [
  9923. {
  9924. "ApiKeyAuth": []
  9925. }
  9926. ],
  9927. "produces": [
  9928. "application/json"
  9929. ],
  9930. "tags": [
  9931. "定制【尚志大宗】"
  9932. ],
  9933. "summary": "商品提货单查询",
  9934. "parameters": [
  9935. {
  9936. "type": "string",
  9937. "description": "资金账户 - 格式:1,2,3",
  9938. "name": "accountID",
  9939. "in": "query",
  9940. "required": true
  9941. },
  9942. {
  9943. "type": "integer",
  9944. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9945. "name": "takeOrderStatus",
  9946. "in": "query"
  9947. }
  9948. ],
  9949. "responses": {
  9950. "200": {
  9951. "description": "OK",
  9952. "schema": {
  9953. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  9954. }
  9955. },
  9956. "500": {
  9957. "description": "Internal Server Error",
  9958. "schema": {
  9959. "$ref": "#/definitions/app.Response"
  9960. }
  9961. }
  9962. }
  9963. }
  9964. },
  9965. "/SZDZ/QueryRecieptOrder": {
  9966. "get": {
  9967. "security": [
  9968. {
  9969. "ApiKeyAuth": []
  9970. }
  9971. ],
  9972. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  9973. "produces": [
  9974. "application/json"
  9975. ],
  9976. "tags": [
  9977. "定制【尚志大宗】"
  9978. ],
  9979. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  9980. "parameters": [
  9981. {
  9982. "type": "integer",
  9983. "description": "页码",
  9984. "name": "page",
  9985. "in": "query"
  9986. },
  9987. {
  9988. "type": "integer",
  9989. "description": "每页条数",
  9990. "name": "pagesize",
  9991. "in": "query"
  9992. },
  9993. {
  9994. "type": "integer",
  9995. "description": "商品ID",
  9996. "name": "goodsID",
  9997. "in": "query",
  9998. "required": true
  9999. },
  10000. {
  10001. "type": "string",
  10002. "description": "所属账户名称",
  10003. "name": "accountName",
  10004. "in": "query"
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "市场ID",
  10009. "name": "marketID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "方向 - 0:买 1:卖",
  10015. "name": "buyorsell",
  10016. "in": "query",
  10017. "required": true
  10018. }
  10019. ],
  10020. "responses": {
  10021. "200": {
  10022. "description": "OK",
  10023. "schema": {
  10024. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  10025. }
  10026. },
  10027. "500": {
  10028. "description": "Internal Server Error",
  10029. "schema": {
  10030. "$ref": "#/definitions/app.Response"
  10031. }
  10032. }
  10033. }
  10034. }
  10035. },
  10036. "/SZDZ/QuerySZDZTradePosition": {
  10037. "get": {
  10038. "security": [
  10039. {
  10040. "ApiKeyAuth": []
  10041. }
  10042. ],
  10043. "produces": [
  10044. "application/json"
  10045. ],
  10046. "tags": [
  10047. "定制【尚志大宗】"
  10048. ],
  10049. "summary": "持仓汇总查询(尚志大宗)",
  10050. "parameters": [
  10051. {
  10052. "type": "integer",
  10053. "description": "资金账户",
  10054. "name": "accountID",
  10055. "in": "query",
  10056. "required": true
  10057. }
  10058. ],
  10059. "responses": {
  10060. "200": {
  10061. "description": "OK",
  10062. "schema": {
  10063. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  10064. }
  10065. },
  10066. "500": {
  10067. "description": "Internal Server Error",
  10068. "schema": {
  10069. "$ref": "#/definitions/app.Response"
  10070. }
  10071. }
  10072. }
  10073. }
  10074. },
  10075. "/SZDZ/SearchWhite": {
  10076. "get": {
  10077. "security": [
  10078. {
  10079. "ApiKeyAuth": []
  10080. }
  10081. ],
  10082. "produces": [
  10083. "application/json"
  10084. ],
  10085. "tags": [
  10086. "定制【尚志大宗】"
  10087. ],
  10088. "summary": "搜索白名单",
  10089. "parameters": [
  10090. {
  10091. "type": "integer",
  10092. "description": "用户ID",
  10093. "name": "userID",
  10094. "in": "query",
  10095. "required": true
  10096. }
  10097. ],
  10098. "responses": {
  10099. "200": {
  10100. "description": "OK",
  10101. "schema": {
  10102. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  10103. }
  10104. },
  10105. "500": {
  10106. "description": "Internal Server Error",
  10107. "schema": {
  10108. "$ref": "#/definitions/app.Response"
  10109. }
  10110. }
  10111. }
  10112. }
  10113. },
  10114. "/Search/SearchGoodses": {
  10115. "get": {
  10116. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  10117. "produces": [
  10118. "application/json"
  10119. ],
  10120. "tags": [
  10121. "检索服务"
  10122. ],
  10123. "summary": "检索商品信息",
  10124. "parameters": [
  10125. {
  10126. "type": "string",
  10127. "description": "检索内容",
  10128. "name": "content",
  10129. "in": "query",
  10130. "required": true
  10131. },
  10132. {
  10133. "type": "string",
  10134. "description": "交易模式,格式:1,2,3",
  10135. "name": "tradeModes",
  10136. "in": "query"
  10137. }
  10138. ],
  10139. "responses": {
  10140. "200": {
  10141. "description": "OK",
  10142. "schema": {
  10143. "$ref": "#/definitions/models.SearchGoods"
  10144. }
  10145. },
  10146. "500": {
  10147. "description": "Internal Server Error",
  10148. "schema": {
  10149. "$ref": "#/definitions/app.Response"
  10150. }
  10151. }
  10152. }
  10153. }
  10154. },
  10155. "/TaAccount/GetTaAccounts": {
  10156. "get": {
  10157. "security": [
  10158. {
  10159. "ApiKeyAuth": []
  10160. }
  10161. ],
  10162. "produces": [
  10163. "application/json"
  10164. ],
  10165. "tags": [
  10166. "资金账户"
  10167. ],
  10168. "summary": "获取资金账户信息",
  10169. "parameters": [
  10170. {
  10171. "type": "integer",
  10172. "description": "登录账户",
  10173. "name": "loginID",
  10174. "in": "query",
  10175. "required": true
  10176. },
  10177. {
  10178. "type": "integer",
  10179. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  10180. "name": "taAccountType",
  10181. "in": "query"
  10182. }
  10183. ],
  10184. "responses": {
  10185. "200": {
  10186. "description": "OK",
  10187. "schema": {
  10188. "$ref": "#/definitions/models.Taaccount"
  10189. }
  10190. },
  10191. "500": {
  10192. "description": "Internal Server Error",
  10193. "schema": {
  10194. "$ref": "#/definitions/app.Response"
  10195. }
  10196. }
  10197. }
  10198. }
  10199. },
  10200. "/TaAccount/QueryAmountLog": {
  10201. "get": {
  10202. "security": [
  10203. {
  10204. "ApiKeyAuth": []
  10205. }
  10206. ],
  10207. "produces": [
  10208. "application/json"
  10209. ],
  10210. "tags": [
  10211. "资金账户"
  10212. ],
  10213. "summary": "资金流水查询(当前)",
  10214. "parameters": [
  10215. {
  10216. "type": "integer",
  10217. "description": "页码",
  10218. "name": "page",
  10219. "in": "query"
  10220. },
  10221. {
  10222. "type": "integer",
  10223. "description": "每页条数",
  10224. "name": "pagesize",
  10225. "in": "query"
  10226. },
  10227. {
  10228. "type": "string",
  10229. "description": "资金账户 - 格式:1,2,3",
  10230. "name": "accountID",
  10231. "in": "query",
  10232. "required": true
  10233. },
  10234. {
  10235. "type": "string",
  10236. "description": "资金操作类型 - 格式:1,2,3",
  10237. "name": "OperateType",
  10238. "in": "query"
  10239. }
  10240. ],
  10241. "responses": {
  10242. "200": {
  10243. "description": "OK",
  10244. "schema": {
  10245. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  10246. }
  10247. },
  10248. "500": {
  10249. "description": "Internal Server Error",
  10250. "schema": {
  10251. "$ref": "#/definitions/app.Response"
  10252. }
  10253. }
  10254. }
  10255. }
  10256. },
  10257. "/TaAccount/QueryHisAmountLog": {
  10258. "get": {
  10259. "security": [
  10260. {
  10261. "ApiKeyAuth": []
  10262. }
  10263. ],
  10264. "produces": [
  10265. "application/json"
  10266. ],
  10267. "tags": [
  10268. "资金账户"
  10269. ],
  10270. "summary": "资金流水查询(历史)",
  10271. "parameters": [
  10272. {
  10273. "type": "integer",
  10274. "description": "页码",
  10275. "name": "page",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "每页条数",
  10281. "name": "pagesize",
  10282. "in": "query"
  10283. },
  10284. {
  10285. "type": "string",
  10286. "description": "资金账户 - 格式:1,2,3",
  10287. "name": "accountID",
  10288. "in": "query",
  10289. "required": true
  10290. },
  10291. {
  10292. "type": "string",
  10293. "description": "资金操作类型 - 格式:1,2,3",
  10294. "name": "OperateType",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "string",
  10299. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10300. "name": "startDate",
  10301. "in": "query"
  10302. },
  10303. {
  10304. "type": "string",
  10305. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10306. "name": "endDate",
  10307. "in": "query"
  10308. }
  10309. ],
  10310. "responses": {
  10311. "200": {
  10312. "description": "OK",
  10313. "schema": {
  10314. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  10315. }
  10316. },
  10317. "500": {
  10318. "description": "Internal Server Error",
  10319. "schema": {
  10320. "$ref": "#/definitions/app.Response"
  10321. }
  10322. }
  10323. }
  10324. }
  10325. },
  10326. "/Trade/QueryRecieptOrder": {
  10327. "get": {
  10328. "security": [
  10329. {
  10330. "ApiKeyAuth": []
  10331. }
  10332. ],
  10333. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  10334. "produces": [
  10335. "application/json"
  10336. ],
  10337. "tags": [
  10338. "通用交易"
  10339. ],
  10340. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  10341. "parameters": [
  10342. {
  10343. "type": "integer",
  10344. "description": "页码",
  10345. "name": "page",
  10346. "in": "query"
  10347. },
  10348. {
  10349. "type": "integer",
  10350. "description": "每页条数",
  10351. "name": "pagesize",
  10352. "in": "query"
  10353. },
  10354. {
  10355. "type": "integer",
  10356. "description": "商品ID",
  10357. "name": "goodsID",
  10358. "in": "query",
  10359. "required": true
  10360. },
  10361. {
  10362. "type": "string",
  10363. "description": "所属账户名称",
  10364. "name": "accountName",
  10365. "in": "query"
  10366. },
  10367. {
  10368. "type": "integer",
  10369. "description": "市场ID",
  10370. "name": "marketID",
  10371. "in": "query"
  10372. },
  10373. {
  10374. "type": "integer",
  10375. "description": "方向 - 0:买 1:卖",
  10376. "name": "buyorsell",
  10377. "in": "query",
  10378. "required": true
  10379. }
  10380. ],
  10381. "responses": {
  10382. "200": {
  10383. "description": "OK",
  10384. "schema": {
  10385. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  10386. }
  10387. },
  10388. "500": {
  10389. "description": "Internal Server Error",
  10390. "schema": {
  10391. "$ref": "#/definitions/app.Response"
  10392. }
  10393. }
  10394. }
  10395. }
  10396. },
  10397. "/User/AddMessageBoard": {
  10398. "post": {
  10399. "security": [
  10400. {
  10401. "ApiKeyAuth": []
  10402. }
  10403. ],
  10404. "produces": [
  10405. "application/json"
  10406. ],
  10407. "tags": [
  10408. "用户信息"
  10409. ],
  10410. "summary": "添加用户留言板信息",
  10411. "parameters": [
  10412. {
  10413. "type": "integer",
  10414. "description": "用户ID",
  10415. "name": "userID",
  10416. "in": "query",
  10417. "required": true
  10418. },
  10419. {
  10420. "type": "string",
  10421. "description": "留言信息",
  10422. "name": "message",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "string",
  10428. "description": "联系电话",
  10429. "name": "contactNum",
  10430. "in": "query",
  10431. "required": true
  10432. }
  10433. ],
  10434. "responses": {
  10435. "200": {
  10436. "description": "OK",
  10437. "schema": {
  10438. "$ref": "#/definitions/app.Response"
  10439. }
  10440. },
  10441. "500": {
  10442. "description": "Internal Server Error",
  10443. "schema": {
  10444. "$ref": "#/definitions/app.Response"
  10445. }
  10446. }
  10447. }
  10448. }
  10449. },
  10450. "/User/AddUserFavoriteGoods": {
  10451. "post": {
  10452. "security": [
  10453. {
  10454. "ApiKeyAuth": []
  10455. }
  10456. ],
  10457. "produces": [
  10458. "application/json"
  10459. ],
  10460. "tags": [
  10461. "用户信息"
  10462. ],
  10463. "summary": "添加用户商品收藏信息",
  10464. "parameters": [
  10465. {
  10466. "type": "integer",
  10467. "description": "用户ID",
  10468. "name": "userID",
  10469. "in": "query",
  10470. "required": true
  10471. },
  10472. {
  10473. "type": "integer",
  10474. "description": "商品ID",
  10475. "name": "goodsID",
  10476. "in": "query",
  10477. "required": true
  10478. }
  10479. ],
  10480. "responses": {
  10481. "200": {
  10482. "description": "OK",
  10483. "schema": {
  10484. "$ref": "#/definitions/app.Response"
  10485. }
  10486. },
  10487. "500": {
  10488. "description": "Internal Server Error",
  10489. "schema": {
  10490. "$ref": "#/definitions/app.Response"
  10491. }
  10492. }
  10493. }
  10494. }
  10495. },
  10496. "/User/GetLoginID": {
  10497. "get": {
  10498. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  10499. "produces": [
  10500. "application/json"
  10501. ],
  10502. "tags": [
  10503. "用户信息"
  10504. ],
  10505. "summary": "获取登录ID",
  10506. "parameters": [
  10507. {
  10508. "type": "string",
  10509. "description": "登录代码",
  10510. "name": "username",
  10511. "in": "query",
  10512. "required": true
  10513. }
  10514. ],
  10515. "responses": {
  10516. "200": {
  10517. "description": "OK",
  10518. "schema": {
  10519. "$ref": "#/definitions/app.Response"
  10520. }
  10521. },
  10522. "500": {
  10523. "description": "Internal Server Error",
  10524. "schema": {
  10525. "$ref": "#/definitions/app.Response"
  10526. }
  10527. }
  10528. }
  10529. }
  10530. },
  10531. "/User/GetUserAccount": {
  10532. "get": {
  10533. "security": [
  10534. {
  10535. "ApiKeyAuth": []
  10536. }
  10537. ],
  10538. "produces": [
  10539. "application/json"
  10540. ],
  10541. "tags": [
  10542. "用户信息"
  10543. ],
  10544. "summary": "获取用户账号信息",
  10545. "parameters": [
  10546. {
  10547. "type": "integer",
  10548. "description": "用户ID",
  10549. "name": "userID",
  10550. "in": "query",
  10551. "required": true
  10552. }
  10553. ],
  10554. "responses": {
  10555. "200": {
  10556. "description": "OK",
  10557. "schema": {
  10558. "$ref": "#/definitions/models.Useraccount"
  10559. }
  10560. },
  10561. "500": {
  10562. "description": "Internal Server Error",
  10563. "schema": {
  10564. "$ref": "#/definitions/app.Response"
  10565. }
  10566. }
  10567. }
  10568. }
  10569. },
  10570. "/User/GetUserAuthStatus": {
  10571. "get": {
  10572. "security": [
  10573. {
  10574. "ApiKeyAuth": []
  10575. }
  10576. ],
  10577. "produces": [
  10578. "application/json"
  10579. ],
  10580. "tags": [
  10581. "用户信息"
  10582. ],
  10583. "summary": "获取用户实名认证状态",
  10584. "parameters": [
  10585. {
  10586. "type": "integer",
  10587. "description": "用户ID",
  10588. "name": "userID",
  10589. "in": "query",
  10590. "required": true
  10591. }
  10592. ],
  10593. "responses": {
  10594. "200": {
  10595. "description": "OK",
  10596. "schema": {
  10597. "$ref": "#/definitions/app.Response"
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/User/LoginQuery": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "用户信息"
  10621. ],
  10622. "summary": "账户登录后信息查询",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "登录账号",
  10627. "name": "loginID",
  10628. "in": "query",
  10629. "required": true
  10630. }
  10631. ],
  10632. "responses": {
  10633. "200": {
  10634. "description": "OK",
  10635. "schema": {
  10636. "$ref": "#/definitions/user.LoginQueryRsp"
  10637. }
  10638. },
  10639. "500": {
  10640. "description": "Internal Server Error",
  10641. "schema": {
  10642. "$ref": "#/definitions/app.Response"
  10643. }
  10644. }
  10645. }
  10646. }
  10647. },
  10648. "/User/QueryMessageBoard": {
  10649. "get": {
  10650. "security": [
  10651. {
  10652. "ApiKeyAuth": []
  10653. }
  10654. ],
  10655. "produces": [
  10656. "application/json"
  10657. ],
  10658. "tags": [
  10659. "用户信息"
  10660. ],
  10661. "summary": "获取用户留言板信息",
  10662. "parameters": [
  10663. {
  10664. "type": "integer",
  10665. "description": "用户ID",
  10666. "name": "userID",
  10667. "in": "query",
  10668. "required": true
  10669. }
  10670. ],
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "$ref": "#/definitions/models.Messageboard"
  10676. }
  10677. },
  10678. "500": {
  10679. "description": "Internal Server Error",
  10680. "schema": {
  10681. "$ref": "#/definitions/app.Response"
  10682. }
  10683. }
  10684. }
  10685. }
  10686. },
  10687. "/User/QueryUserFavoriteGoodses": {
  10688. "get": {
  10689. "security": [
  10690. {
  10691. "ApiKeyAuth": []
  10692. }
  10693. ],
  10694. "produces": [
  10695. "application/json"
  10696. ],
  10697. "tags": [
  10698. "用户信息"
  10699. ],
  10700. "summary": "获取用户商品收藏信息",
  10701. "parameters": [
  10702. {
  10703. "type": "integer",
  10704. "description": "用户ID",
  10705. "name": "userID",
  10706. "in": "query",
  10707. "required": true
  10708. }
  10709. ],
  10710. "responses": {
  10711. "200": {
  10712. "description": "OK",
  10713. "schema": {
  10714. "$ref": "#/definitions/models.Userfavoritegoods"
  10715. }
  10716. },
  10717. "500": {
  10718. "description": "Internal Server Error",
  10719. "schema": {
  10720. "$ref": "#/definitions/app.Response"
  10721. }
  10722. }
  10723. }
  10724. }
  10725. },
  10726. "/User/QueryUserInfo": {
  10727. "get": {
  10728. "security": [
  10729. {
  10730. "ApiKeyAuth": []
  10731. }
  10732. ],
  10733. "produces": [
  10734. "application/json"
  10735. ],
  10736. "tags": [
  10737. "用户信息"
  10738. ],
  10739. "summary": "获取用户信息",
  10740. "parameters": [
  10741. {
  10742. "type": "integer",
  10743. "description": "用户ID",
  10744. "name": "userID",
  10745. "in": "query",
  10746. "required": true
  10747. },
  10748. {
  10749. "type": "boolean",
  10750. "description": "是否解密",
  10751. "name": "isDecrypt",
  10752. "in": "query"
  10753. }
  10754. ],
  10755. "responses": {
  10756. "200": {
  10757. "description": "OK",
  10758. "schema": {
  10759. "$ref": "#/definitions/models.Userinfo"
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/User/QueryUserReferNum": {
  10772. "get": {
  10773. "produces": [
  10774. "application/json"
  10775. ],
  10776. "tags": [
  10777. "用户信息"
  10778. ],
  10779. "summary": "获取用户邀请码",
  10780. "parameters": [
  10781. {
  10782. "type": "integer",
  10783. "description": "用户ID",
  10784. "name": "userID",
  10785. "in": "query",
  10786. "required": true
  10787. }
  10788. ],
  10789. "responses": {
  10790. "200": {
  10791. "description": "OK",
  10792. "schema": {
  10793. "$ref": "#/definitions/app.Response"
  10794. }
  10795. },
  10796. "500": {
  10797. "description": "Internal Server Error",
  10798. "schema": {
  10799. "$ref": "#/definitions/app.Response"
  10800. }
  10801. }
  10802. }
  10803. }
  10804. },
  10805. "/User/RemoveUserFavoriteGoods": {
  10806. "post": {
  10807. "security": [
  10808. {
  10809. "ApiKeyAuth": []
  10810. }
  10811. ],
  10812. "produces": [
  10813. "application/json"
  10814. ],
  10815. "tags": [
  10816. "用户信息"
  10817. ],
  10818. "summary": "移除用户商品收藏信息",
  10819. "parameters": [
  10820. {
  10821. "type": "integer",
  10822. "description": "用户ID",
  10823. "name": "userID",
  10824. "in": "query",
  10825. "required": true
  10826. },
  10827. {
  10828. "type": "integer",
  10829. "description": "商品ID",
  10830. "name": "goodsID",
  10831. "in": "query",
  10832. "required": true
  10833. }
  10834. ],
  10835. "responses": {
  10836. "200": {
  10837. "description": "OK",
  10838. "schema": {
  10839. "$ref": "#/definitions/app.Response"
  10840. }
  10841. },
  10842. "500": {
  10843. "description": "Internal Server Error",
  10844. "schema": {
  10845. "$ref": "#/definitions/app.Response"
  10846. }
  10847. }
  10848. }
  10849. }
  10850. },
  10851. "/User/UpdateUserAccountStatus": {
  10852. "post": {
  10853. "security": [
  10854. {
  10855. "ApiKeyAuth": []
  10856. }
  10857. ],
  10858. "produces": [
  10859. "application/json"
  10860. ],
  10861. "tags": [
  10862. "用户信息"
  10863. ],
  10864. "summary": "更新用户状态",
  10865. "parameters": [
  10866. {
  10867. "type": "integer",
  10868. "description": "用户ID",
  10869. "name": "userID",
  10870. "in": "query",
  10871. "required": true
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "账户状态 - 4:正常 6:注销(停用)",
  10876. "name": "accountStatus",
  10877. "in": "query",
  10878. "required": true
  10879. }
  10880. ],
  10881. "responses": {
  10882. "200": {
  10883. "description": "OK",
  10884. "schema": {
  10885. "$ref": "#/definitions/app.Response"
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/WRTrade/GetAllDeliveryGoods": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. },
  10903. {
  10904. "ApiKeyAuth": []
  10905. }
  10906. ],
  10907. "produces": [
  10908. "application/json",
  10909. "application/json"
  10910. ],
  10911. "tags": [
  10912. "仓单贸易",
  10913. "仓单贸易"
  10914. ],
  10915. "summary": "获取带仓单分类的种类信息",
  10916. "responses": {
  10917. "200": {
  10918. "description": "OK",
  10919. "schema": {
  10920. "$ref": "#/definitions/app.Response"
  10921. }
  10922. },
  10923. "500": {
  10924. "description": "Internal Server Error",
  10925. "schema": {
  10926. "$ref": "#/definitions/app.Response"
  10927. }
  10928. }
  10929. }
  10930. }
  10931. },
  10932. "/WrTrade2/QueryFaProductDetail": {
  10933. "get": {
  10934. "security": [
  10935. {
  10936. "ApiKeyAuth": []
  10937. }
  10938. ],
  10939. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  10940. "produces": [
  10941. "application/json"
  10942. ],
  10943. "tags": [
  10944. "仓单贸易v2"
  10945. ],
  10946. "summary": "查询融资产品列表",
  10947. "parameters": [
  10948. {
  10949. "type": "integer",
  10950. "description": "仓单要素id",
  10951. "name": "wrfactortypeid",
  10952. "in": "query",
  10953. "required": true
  10954. }
  10955. ],
  10956. "responses": {
  10957. "200": {
  10958. "description": "OK",
  10959. "schema": {
  10960. "type": "array",
  10961. "items": {
  10962. "$ref": "#/definitions/models.WrFAProductDetail"
  10963. }
  10964. }
  10965. },
  10966. "500": {
  10967. "description": "Internal Server Error",
  10968. "schema": {
  10969. "$ref": "#/definitions/app.Response"
  10970. }
  10971. }
  10972. }
  10973. }
  10974. },
  10975. "/WrTrade2/QueryFilterItem": {
  10976. "get": {
  10977. "security": [
  10978. {
  10979. "ApiKeyAuth": []
  10980. }
  10981. ],
  10982. "produces": [
  10983. "application/json"
  10984. ],
  10985. "tags": [
  10986. "仓单贸易v2"
  10987. ],
  10988. "summary": "查询筛选框列表",
  10989. "parameters": [
  10990. {
  10991. "type": "string",
  10992. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  10993. "name": "itype",
  10994. "in": "query",
  10995. "required": true
  10996. }
  10997. ],
  10998. "responses": {
  10999. "200": {
  11000. "description": "OK",
  11001. "schema": {
  11002. "type": "array",
  11003. "items": {
  11004. "$ref": "#/definitions/models.WrFilterItem"
  11005. }
  11006. }
  11007. },
  11008. "500": {
  11009. "description": "Internal Server Error",
  11010. "schema": {
  11011. "$ref": "#/definitions/app.Response"
  11012. }
  11013. }
  11014. }
  11015. }
  11016. },
  11017. "/WrTrade2/QueryHoldLB": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11025. "produces": [
  11026. "application/json"
  11027. ],
  11028. "tags": [
  11029. "仓单贸易v2"
  11030. ],
  11031. "summary": "查询仓单持有记录",
  11032. "parameters": [
  11033. {
  11034. "type": "integer",
  11035. "description": "资金账号",
  11036. "name": "accountid",
  11037. "in": "query",
  11038. "required": true
  11039. },
  11040. {
  11041. "type": "integer",
  11042. "description": "仓库id",
  11043. "name": "warehouseid",
  11044. "in": "query"
  11045. },
  11046. {
  11047. "type": "integer",
  11048. "description": "品种id",
  11049. "name": "deliverygoodsid",
  11050. "in": "query"
  11051. },
  11052. {
  11053. "type": "integer",
  11054. "description": "品类id",
  11055. "name": "wrstandardid",
  11056. "in": "query"
  11057. }
  11058. ],
  11059. "responses": {
  11060. "200": {
  11061. "description": "OK",
  11062. "schema": {
  11063. "type": "array",
  11064. "items": {
  11065. "$ref": "#/definitions/models.WrHoldLB"
  11066. }
  11067. }
  11068. },
  11069. "500": {
  11070. "description": "Internal Server Error",
  11071. "schema": {
  11072. "$ref": "#/definitions/app.Response"
  11073. }
  11074. }
  11075. }
  11076. }
  11077. },
  11078. "/WrTrade2/QueryOrderQuote": {
  11079. "get": {
  11080. "security": [
  11081. {
  11082. "ApiKeyAuth": []
  11083. }
  11084. ],
  11085. "produces": [
  11086. "application/json"
  11087. ],
  11088. "tags": [
  11089. "仓单贸易v2"
  11090. ],
  11091. "summary": "查询大厅行情列表",
  11092. "parameters": [
  11093. {
  11094. "type": "integer",
  11095. "description": "页码",
  11096. "name": "page",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "integer",
  11101. "description": "每页条数",
  11102. "name": "pagesize",
  11103. "in": "query"
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "仓单贸易市场id",
  11108. "name": "marketid",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "价格方式 - 1:固定价 2-浮动价",
  11114. "name": "wrpricetype",
  11115. "in": "query",
  11116. "required": true
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "0:仓单预售 1:仓单贸易",
  11121. "name": "haswr",
  11122. "in": "query",
  11123. "required": true
  11124. },
  11125. {
  11126. "type": "string",
  11127. "description": "商品名称(筛选条件)",
  11128. "name": "wrstandardname",
  11129. "in": "query"
  11130. },
  11131. {
  11132. "type": "string",
  11133. "description": "品牌名称(筛选条件)",
  11134. "name": "brandname",
  11135. "in": "query"
  11136. },
  11137. {
  11138. "type": "integer",
  11139. "description": "仓库id(筛选条件)",
  11140. "name": "warehouseid",
  11141. "in": "query"
  11142. },
  11143. {
  11144. "type": "integer",
  11145. "description": "品种id",
  11146. "name": "deliverygoodsid",
  11147. "in": "query"
  11148. }
  11149. ],
  11150. "responses": {
  11151. "200": {
  11152. "description": "OK",
  11153. "schema": {
  11154. "type": "array",
  11155. "items": {
  11156. "$ref": "#/definitions/models.WrOrderQuote"
  11157. }
  11158. }
  11159. },
  11160. "500": {
  11161. "description": "Internal Server Error",
  11162. "schema": {
  11163. "$ref": "#/definitions/app.Response"
  11164. }
  11165. }
  11166. }
  11167. }
  11168. },
  11169. "/WrTrade2/QueryOrderQuoteDetail": {
  11170. "get": {
  11171. "security": [
  11172. {
  11173. "ApiKeyAuth": []
  11174. }
  11175. ],
  11176. "produces": [
  11177. "application/json"
  11178. ],
  11179. "tags": [
  11180. "仓单贸易v2"
  11181. ],
  11182. "summary": "查询买卖大厅",
  11183. "parameters": [
  11184. {
  11185. "type": "integer",
  11186. "description": "页码",
  11187. "name": "page",
  11188. "in": "query"
  11189. },
  11190. {
  11191. "type": "integer",
  11192. "description": "每页条数",
  11193. "name": "pagesize",
  11194. "in": "query"
  11195. },
  11196. {
  11197. "type": "integer",
  11198. "description": "仓单贸易市场id",
  11199. "name": "marketid",
  11200. "in": "query"
  11201. },
  11202. {
  11203. "type": "integer",
  11204. "description": "价格方式 - 1:固定价 2-浮动价",
  11205. "name": "wrpricetype",
  11206. "in": "query",
  11207. "required": true
  11208. },
  11209. {
  11210. "type": "integer",
  11211. "description": "0:仓单预售 1:仓单贸易",
  11212. "name": "haswr",
  11213. "in": "query",
  11214. "required": true
  11215. },
  11216. {
  11217. "type": "integer",
  11218. "description": "仓单要素id",
  11219. "name": "wrfactortypeid",
  11220. "in": "query",
  11221. "required": true
  11222. },
  11223. {
  11224. "type": "integer",
  11225. "description": "期货商品id(浮动价方式时填)",
  11226. "name": "goodsid",
  11227. "in": "query"
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "买卖方向 0-买 1-卖",
  11232. "name": "buyorsell",
  11233. "in": "query",
  11234. "required": true
  11235. }
  11236. ],
  11237. "responses": {
  11238. "200": {
  11239. "description": "OK",
  11240. "schema": {
  11241. "type": "array",
  11242. "items": {
  11243. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11244. }
  11245. }
  11246. },
  11247. "500": {
  11248. "description": "Internal Server Error",
  11249. "schema": {
  11250. "$ref": "#/definitions/app.Response"
  11251. }
  11252. }
  11253. }
  11254. }
  11255. },
  11256. "/WrTrade2/QueryPerformancePlan": {
  11257. "get": {
  11258. "security": [
  11259. {
  11260. "ApiKeyAuth": []
  11261. }
  11262. ],
  11263. "produces": [
  11264. "application/json"
  11265. ],
  11266. "tags": [
  11267. "仓单贸易v2"
  11268. ],
  11269. "summary": "查询履约信息",
  11270. "parameters": [
  11271. {
  11272. "type": "integer",
  11273. "description": "用户id",
  11274. "name": "userid",
  11275. "in": "query",
  11276. "required": true
  11277. },
  11278. {
  11279. "type": "integer",
  11280. "description": "买卖方向 0-买 1-卖",
  11281. "name": "buyorsell",
  11282. "in": "query",
  11283. "required": true
  11284. }
  11285. ],
  11286. "responses": {
  11287. "200": {
  11288. "description": "OK",
  11289. "schema": {
  11290. "type": "array",
  11291. "items": {
  11292. "$ref": "#/definitions/models.WrPerformancePlan"
  11293. }
  11294. }
  11295. },
  11296. "500": {
  11297. "description": "Internal Server Error",
  11298. "schema": {
  11299. "$ref": "#/definitions/app.Response"
  11300. }
  11301. }
  11302. }
  11303. }
  11304. },
  11305. "/WrTrade2/QueryWrFactorTypeInfo": {
  11306. "get": {
  11307. "security": [
  11308. {
  11309. "ApiKeyAuth": []
  11310. }
  11311. ],
  11312. "produces": [
  11313. "application/json"
  11314. ],
  11315. "tags": [
  11316. "仓单贸易v2"
  11317. ],
  11318. "summary": "查询仓单要素详细信息",
  11319. "parameters": [
  11320. {
  11321. "type": "integer",
  11322. "description": "仓单要素id",
  11323. "name": "wrfactortypeid",
  11324. "in": "query",
  11325. "required": true
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "type": "array",
  11333. "items": {
  11334. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11335. }
  11336. }
  11337. },
  11338. "500": {
  11339. "description": "Internal Server Error",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. }
  11344. }
  11345. }
  11346. },
  11347. "/WrTrade2/QueryWrGoodsInfo": {
  11348. "get": {
  11349. "security": [
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "仓单贸易v2"
  11359. ],
  11360. "summary": "查询仓单商品信息",
  11361. "parameters": [
  11362. {
  11363. "type": "integer",
  11364. "description": "仓单贸易市场id",
  11365. "name": "marketid",
  11366. "in": "query"
  11367. },
  11368. {
  11369. "type": "integer",
  11370. "description": "0:仓单预售 1:仓单贸易",
  11371. "name": "haswr",
  11372. "in": "query",
  11373. "required": true
  11374. },
  11375. {
  11376. "type": "integer",
  11377. "description": "仓单要素id",
  11378. "name": "wrfactortypeid",
  11379. "in": "query",
  11380. "required": true
  11381. }
  11382. ],
  11383. "responses": {
  11384. "200": {
  11385. "description": "OK",
  11386. "schema": {
  11387. "type": "array",
  11388. "items": {
  11389. "$ref": "#/definitions/models.WrGoodsInfo"
  11390. }
  11391. }
  11392. },
  11393. "500": {
  11394. "description": "Internal Server Error",
  11395. "schema": {
  11396. "$ref": "#/definitions/app.Response"
  11397. }
  11398. }
  11399. }
  11400. }
  11401. },
  11402. "/WrTrade2/QueryWrOrderDetail": {
  11403. "get": {
  11404. "security": [
  11405. {
  11406. "ApiKeyAuth": []
  11407. }
  11408. ],
  11409. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11410. "produces": [
  11411. "application/json"
  11412. ],
  11413. "tags": [
  11414. "仓单贸易v2"
  11415. ],
  11416. "summary": "查询仓单委托单(挂单)",
  11417. "parameters": [
  11418. {
  11419. "type": "integer",
  11420. "description": "页码",
  11421. "name": "page",
  11422. "in": "query"
  11423. },
  11424. {
  11425. "type": "integer",
  11426. "description": "每页条数",
  11427. "name": "pagesize",
  11428. "in": "query"
  11429. },
  11430. {
  11431. "type": "integer",
  11432. "description": "用户id",
  11433. "name": "userid",
  11434. "in": "query",
  11435. "required": true
  11436. },
  11437. {
  11438. "type": "integer",
  11439. "description": "仓单贸易市场id",
  11440. "name": "marketid",
  11441. "in": "query"
  11442. },
  11443. {
  11444. "type": "integer",
  11445. "description": "0:仓单预售 1:仓单贸易",
  11446. "name": "haswr",
  11447. "in": "query",
  11448. "required": true
  11449. }
  11450. ],
  11451. "responses": {
  11452. "200": {
  11453. "description": "OK",
  11454. "schema": {
  11455. "type": "array",
  11456. "items": {
  11457. "$ref": "#/definitions/models.WrOrderDetail"
  11458. }
  11459. }
  11460. },
  11461. "500": {
  11462. "description": "Internal Server Error",
  11463. "schema": {
  11464. "$ref": "#/definitions/app.Response"
  11465. }
  11466. }
  11467. }
  11468. }
  11469. },
  11470. "/WrTrade2/QueryWrPosition": {
  11471. "get": {
  11472. "security": [
  11473. {
  11474. "ApiKeyAuth": []
  11475. }
  11476. ],
  11477. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11478. "produces": [
  11479. "application/json"
  11480. ],
  11481. "tags": [
  11482. "仓单贸易v2"
  11483. ],
  11484. "summary": "查询现货(预售)仓单持仓",
  11485. "parameters": [
  11486. {
  11487. "type": "integer",
  11488. "description": "用户id",
  11489. "name": "userid",
  11490. "in": "query",
  11491. "required": true
  11492. },
  11493. {
  11494. "type": "integer",
  11495. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11496. "name": "querytype",
  11497. "in": "query",
  11498. "required": true
  11499. },
  11500. {
  11501. "type": "integer",
  11502. "description": "0:仓单预售 1:仓单贸易",
  11503. "name": "haswr",
  11504. "in": "query",
  11505. "required": true
  11506. }
  11507. ],
  11508. "responses": {
  11509. "200": {
  11510. "description": "OK",
  11511. "schema": {
  11512. "type": "array",
  11513. "items": {
  11514. "$ref": "#/definitions/models.WrPosition"
  11515. }
  11516. }
  11517. },
  11518. "500": {
  11519. "description": "Internal Server Error",
  11520. "schema": {
  11521. "$ref": "#/definitions/app.Response"
  11522. }
  11523. }
  11524. }
  11525. }
  11526. },
  11527. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11528. "get": {
  11529. "security": [
  11530. {
  11531. "ApiKeyAuth": []
  11532. }
  11533. ],
  11534. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11535. "produces": [
  11536. "application/json"
  11537. ],
  11538. "tags": [
  11539. "仓单贸易v2"
  11540. ],
  11541. "summary": "查询指定成交",
  11542. "parameters": [
  11543. {
  11544. "type": "integer",
  11545. "description": "页码",
  11546. "name": "page",
  11547. "in": "query"
  11548. },
  11549. {
  11550. "type": "integer",
  11551. "description": "每页条数",
  11552. "name": "pagesize",
  11553. "in": "query"
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "用户id",
  11558. "name": "userid",
  11559. "in": "query",
  11560. "required": true
  11561. },
  11562. {
  11563. "type": "integer",
  11564. "description": "仓单贸易市场id",
  11565. "name": "marketid",
  11566. "in": "query"
  11567. },
  11568. {
  11569. "type": "integer",
  11570. "description": "0:仓单预售 1:仓单贸易",
  11571. "name": "haswr",
  11572. "in": "query",
  11573. "required": true
  11574. }
  11575. ],
  11576. "responses": {
  11577. "200": {
  11578. "description": "OK",
  11579. "schema": {
  11580. "type": "array",
  11581. "items": {
  11582. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11583. }
  11584. }
  11585. },
  11586. "500": {
  11587. "description": "Internal Server Error",
  11588. "schema": {
  11589. "$ref": "#/definitions/app.Response"
  11590. }
  11591. }
  11592. }
  11593. }
  11594. },
  11595. "/WrTrade2/QueryWrTradeDetail": {
  11596. "get": {
  11597. "security": [
  11598. {
  11599. "ApiKeyAuth": []
  11600. }
  11601. ],
  11602. "produces": [
  11603. "application/json"
  11604. ],
  11605. "tags": [
  11606. "仓单贸易v2"
  11607. ],
  11608. "summary": "查询仓单成交明细",
  11609. "parameters": [
  11610. {
  11611. "type": "integer",
  11612. "description": "页码",
  11613. "name": "page",
  11614. "in": "query"
  11615. },
  11616. {
  11617. "type": "integer",
  11618. "description": "每页条数",
  11619. "name": "pagesize",
  11620. "in": "query"
  11621. },
  11622. {
  11623. "type": "integer",
  11624. "description": "用户id",
  11625. "name": "userid",
  11626. "in": "query",
  11627. "required": true
  11628. },
  11629. {
  11630. "type": "integer",
  11631. "description": "仓单贸易市场id",
  11632. "name": "marketid",
  11633. "in": "query"
  11634. },
  11635. {
  11636. "type": "integer",
  11637. "description": "0:仓单预售 1:仓单贸易",
  11638. "name": "haswr",
  11639. "in": "query",
  11640. "required": true
  11641. }
  11642. ],
  11643. "responses": {
  11644. "200": {
  11645. "description": "OK",
  11646. "schema": {
  11647. "type": "array",
  11648. "items": {
  11649. "$ref": "#/definitions/models.WrTradeDetail"
  11650. }
  11651. }
  11652. },
  11653. "500": {
  11654. "description": "Internal Server Error",
  11655. "schema": {
  11656. "$ref": "#/definitions/app.Response"
  11657. }
  11658. }
  11659. }
  11660. }
  11661. }
  11662. },
  11663. "definitions": {
  11664. "app.Response": {
  11665. "type": "object",
  11666. "properties": {
  11667. "code": {
  11668. "type": "integer"
  11669. },
  11670. "data": {
  11671. "type": "object"
  11672. },
  11673. "msg": {
  11674. "type": "string"
  11675. },
  11676. "page": {
  11677. "description": "页码",
  11678. "type": "integer"
  11679. },
  11680. "pagesize": {
  11681. "description": "每页条数",
  11682. "type": "integer"
  11683. },
  11684. "total": {
  11685. "description": "总条数",
  11686. "type": "integer"
  11687. }
  11688. }
  11689. },
  11690. "common.ClientMenu": {
  11691. "type": "object",
  11692. "properties": {
  11693. "children": {
  11694. "description": "子菜单列表",
  11695. "type": "array",
  11696. "items": {
  11697. "$ref": "#/definitions/common.ClientMenu"
  11698. }
  11699. },
  11700. "code": {
  11701. "description": "ID",
  11702. "type": "string"
  11703. },
  11704. "isshow": {
  11705. "description": "是否显示",
  11706. "type": "boolean"
  11707. },
  11708. "remark": {
  11709. "description": "备注",
  11710. "type": "string"
  11711. },
  11712. "rulekey": {
  11713. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11714. "type": "string"
  11715. },
  11716. "sort": {
  11717. "description": "排序",
  11718. "type": "integer"
  11719. },
  11720. "title": {
  11721. "description": "标题",
  11722. "type": "string"
  11723. },
  11724. "type": {
  11725. "description": "类型,1:菜单 2:按钮",
  11726. "type": "integer"
  11727. },
  11728. "url": {
  11729. "description": "URL",
  11730. "type": "string"
  11731. }
  11732. }
  11733. },
  11734. "common.QueryImageConfigsRsp": {
  11735. "type": "object",
  11736. "required": [
  11737. "configid"
  11738. ],
  11739. "properties": {
  11740. "areauserid": {
  11741. "description": "所属机构ID",
  11742. "type": "integer"
  11743. },
  11744. "configid": {
  11745. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11746. "type": "integer"
  11747. },
  11748. "createdate": {
  11749. "description": "创建时间",
  11750. "type": "string"
  11751. },
  11752. "creatorid": {
  11753. "description": "创建人",
  11754. "type": "integer"
  11755. },
  11756. "imagepath": {
  11757. "description": "图片",
  11758. "type": "string"
  11759. },
  11760. "imagetype": {
  11761. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11762. "type": "integer"
  11763. },
  11764. "isshow": {
  11765. "description": "是否展示 - 0:不展示 1:展示",
  11766. "type": "integer"
  11767. },
  11768. "marketid": {
  11769. "description": "市场ID",
  11770. "type": "integer"
  11771. },
  11772. "modifierid": {
  11773. "description": "操作人",
  11774. "type": "integer"
  11775. },
  11776. "sort": {
  11777. "description": "排序",
  11778. "type": "integer"
  11779. },
  11780. "title": {
  11781. "description": "标题",
  11782. "type": "string"
  11783. },
  11784. "trademode": {
  11785. "description": "交易模式",
  11786. "type": "integer"
  11787. },
  11788. "updatedate": {
  11789. "description": "修改时间",
  11790. "type": "string"
  11791. },
  11792. "url": {
  11793. "description": "链接(地址或商品ID)",
  11794. "type": "string"
  11795. },
  11796. "urltype": {
  11797. "description": "链接类型 - 1:直接地址 2:商品ID",
  11798. "type": "integer"
  11799. }
  11800. }
  11801. },
  11802. "common.QueryNoticeRsp": {
  11803. "type": "object",
  11804. "required": [
  11805. "autoid"
  11806. ],
  11807. "properties": {
  11808. "auditoruserid": {
  11809. "description": "审核人",
  11810. "type": "integer"
  11811. },
  11812. "auditremark": {
  11813. "description": "审核备注",
  11814. "type": "string"
  11815. },
  11816. "audittime": {
  11817. "description": "审核日期",
  11818. "type": "string"
  11819. },
  11820. "autoid": {
  11821. "description": "自增ID",
  11822. "type": "integer"
  11823. },
  11824. "content": {
  11825. "description": "内容",
  11826. "type": "string"
  11827. },
  11828. "createtime": {
  11829. "description": "创建时间",
  11830. "type": "string"
  11831. },
  11832. "creatorid": {
  11833. "description": "建仓人",
  11834. "type": "integer"
  11835. },
  11836. "endtime": {
  11837. "description": "结束时间",
  11838. "type": "string"
  11839. },
  11840. "istop": {
  11841. "description": "是否置顶 - 0:不置顶 1:置顶",
  11842. "type": "integer"
  11843. },
  11844. "msgiconurl": {
  11845. "description": "消息图标Url",
  11846. "type": "string"
  11847. },
  11848. "msgtype": {
  11849. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  11850. "type": "integer"
  11851. },
  11852. "publisher": {
  11853. "description": "消息发布者",
  11854. "type": "string"
  11855. },
  11856. "readed": {
  11857. "description": "是否已读",
  11858. "type": "boolean"
  11859. },
  11860. "scheduletime": {
  11861. "description": "计划发送时间",
  11862. "type": "string"
  11863. },
  11864. "sendtype": {
  11865. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  11866. "type": "integer"
  11867. },
  11868. "sentstatus": {
  11869. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  11870. "type": "integer"
  11871. },
  11872. "title": {
  11873. "description": "标题",
  11874. "type": "string"
  11875. },
  11876. "userid": {
  11877. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  11878. "type": "integer"
  11879. }
  11880. }
  11881. },
  11882. "common.QueryProvincesAndCitiesRsp": {
  11883. "type": "object",
  11884. "properties": {
  11885. "cities": {
  11886. "description": "市",
  11887. "type": "array",
  11888. "items": {
  11889. "$ref": "#/definitions/models.Division"
  11890. }
  11891. },
  11892. "province": {
  11893. "description": "省",
  11894. "type": "object",
  11895. "$ref": "#/definitions/models.Division"
  11896. }
  11897. }
  11898. },
  11899. "common.QueryTableDefineRsp": {
  11900. "type": "object",
  11901. "required": [
  11902. "tablekey"
  11903. ],
  11904. "properties": {
  11905. "columns": {
  11906. "description": "列头信息数组",
  11907. "type": "array",
  11908. "items": {
  11909. "$ref": "#/definitions/models.Tablecolumnconfig"
  11910. }
  11911. },
  11912. "remark": {
  11913. "description": "Remark",
  11914. "type": "string"
  11915. },
  11916. "tabelmenu": {
  11917. "description": "列表菜单",
  11918. "type": "string"
  11919. },
  11920. "tablekey": {
  11921. "description": "列表Key",
  11922. "type": "string"
  11923. },
  11924. "tablename": {
  11925. "description": "列表名称",
  11926. "type": "string"
  11927. },
  11928. "tabletype": {
  11929. "description": "列表类型 - 1:管理端 2:终端",
  11930. "type": "integer"
  11931. }
  11932. }
  11933. },
  11934. "common.QueryTraderMenuRsp": {
  11935. "type": "object",
  11936. "properties": {
  11937. "OperationMenu": {
  11938. "description": "功能菜单",
  11939. "type": "array",
  11940. "items": {
  11941. "$ref": "#/definitions/models.OperationPrimaryMenu"
  11942. }
  11943. },
  11944. "QuoteMenu": {
  11945. "description": "报价牌分类菜单",
  11946. "type": "array",
  11947. "items": {
  11948. "$ref": "#/definitions/models.QuotePrimaryMenu"
  11949. }
  11950. }
  11951. }
  11952. },
  11953. "cptrade.Cptradepositioncancel": {
  11954. "type": "object",
  11955. "required": [
  11956. "cancelid"
  11957. ],
  11958. "properties": {
  11959. "accountid": {
  11960. "description": "申请人账户ID",
  11961. "type": "integer"
  11962. },
  11963. "applystatus": {
  11964. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  11965. "type": "integer"
  11966. },
  11967. "applytime": {
  11968. "description": "申请时间",
  11969. "type": "string"
  11970. },
  11971. "cancelid": {
  11972. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  11973. "type": "integer"
  11974. },
  11975. "cancelqty": {
  11976. "description": "注销数量",
  11977. "type": "integer"
  11978. },
  11979. "createtime": {
  11980. "description": "创建时间",
  11981. "type": "string"
  11982. },
  11983. "creatorid": {
  11984. "description": "创建人ID",
  11985. "type": "integer"
  11986. },
  11987. "creatorname": {
  11988. "description": "创建人",
  11989. "type": "string"
  11990. },
  11991. "goodscode": {
  11992. "description": "订单商品代码",
  11993. "type": "string"
  11994. },
  11995. "goodsid": {
  11996. "description": "商品ID",
  11997. "type": "integer"
  11998. },
  11999. "goodsname": {
  12000. "description": "订单商品名称",
  12001. "type": "string"
  12002. },
  12003. "goodunit": {
  12004. "description": "报价单位",
  12005. "type": "string"
  12006. },
  12007. "handlestatus": {
  12008. "description": "处理状态",
  12009. "type": "integer"
  12010. },
  12011. "marketid": {
  12012. "description": "市场ID",
  12013. "type": "integer"
  12014. },
  12015. "marketname": {
  12016. "description": "市场名称",
  12017. "type": "string"
  12018. },
  12019. "tradedate": {
  12020. "description": "交易日(yyyyMMdd)",
  12021. "type": "string"
  12022. },
  12023. "userid": {
  12024. "description": "申请人ID",
  12025. "type": "integer"
  12026. }
  12027. }
  12028. },
  12029. "cptrade.Cptradepresaleapply": {
  12030. "type": "object",
  12031. "required": [
  12032. "applyid"
  12033. ],
  12034. "properties": {
  12035. "accountid": {
  12036. "description": "申请人账户ID",
  12037. "type": "integer"
  12038. },
  12039. "applyid": {
  12040. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12041. "type": "integer"
  12042. },
  12043. "applyremark": {
  12044. "description": "申请备注",
  12045. "type": "string"
  12046. },
  12047. "applystatus": {
  12048. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12049. "type": "integer"
  12050. },
  12051. "applytime": {
  12052. "description": "申请时间",
  12053. "type": "string"
  12054. },
  12055. "attachmenturl": {
  12056. "description": "附件地址",
  12057. "type": "string"
  12058. },
  12059. "endtime": {
  12060. "description": "预售结束时间",
  12061. "type": "string"
  12062. },
  12063. "goodscode": {
  12064. "description": "商品代码",
  12065. "type": "string"
  12066. },
  12067. "goodsid": {
  12068. "description": "商品ID",
  12069. "type": "integer"
  12070. },
  12071. "goodsname": {
  12072. "description": "商品名称",
  12073. "type": "string"
  12074. },
  12075. "goodunit": {
  12076. "description": "报价单位",
  12077. "type": "string"
  12078. },
  12079. "handlestatus": {
  12080. "description": "处理状态",
  12081. "type": "integer"
  12082. },
  12083. "marketid": {
  12084. "description": "预售市场ID",
  12085. "type": "integer"
  12086. },
  12087. "marketname": {
  12088. "description": "预售市场名称",
  12089. "type": "string"
  12090. },
  12091. "presaleqty": {
  12092. "description": "预售数量",
  12093. "type": "integer"
  12094. },
  12095. "relatedgoodscode": {
  12096. "description": "关联交易合约代码",
  12097. "type": "string"
  12098. },
  12099. "relatedgoodsid": {
  12100. "description": "关联交易合约ID",
  12101. "type": "integer"
  12102. },
  12103. "relatedgoodsname": {
  12104. "description": "关联交易合约名称",
  12105. "type": "string"
  12106. },
  12107. "starttime": {
  12108. "description": "预售开始时间",
  12109. "type": "string"
  12110. },
  12111. "tradedate": {
  12112. "description": "交易日(yyyyMMdd)",
  12113. "type": "string"
  12114. },
  12115. "trademode": {
  12116. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12117. "type": "integer"
  12118. },
  12119. "userid": {
  12120. "description": "申请人ID",
  12121. "type": "integer"
  12122. }
  12123. }
  12124. },
  12125. "cptrade.Cptradeusergoodsdata": {
  12126. "type": "object",
  12127. "required": [
  12128. "accountid",
  12129. "goodsid"
  12130. ],
  12131. "properties": {
  12132. "EnabledQty": {
  12133. "description": "可用量",
  12134. "type": "integer"
  12135. },
  12136. "GoodsCode": {
  12137. "description": "订单商品代码",
  12138. "type": "string"
  12139. },
  12140. "GoodsName": {
  12141. "description": "订单商品名称",
  12142. "type": "string"
  12143. },
  12144. "WRStandardCode": {
  12145. "description": "仓单标准代码",
  12146. "type": "string"
  12147. },
  12148. "WRStandardName": {
  12149. "description": "仓单标准名称",
  12150. "type": "string"
  12151. },
  12152. "accountid": {
  12153. "description": "账户ID",
  12154. "type": "integer"
  12155. },
  12156. "cancelqty": {
  12157. "description": "注销量",
  12158. "type": "integer"
  12159. },
  12160. "curpresaleqty": {
  12161. "description": "当前预售量",
  12162. "type": "integer"
  12163. },
  12164. "deliveryqty": {
  12165. "description": "交割量",
  12166. "type": "integer"
  12167. },
  12168. "freezeamount": {
  12169. "description": "冻结金额",
  12170. "type": "number"
  12171. },
  12172. "goodsid": {
  12173. "description": "商品ID",
  12174. "type": "integer"
  12175. },
  12176. "goodunit": {
  12177. "description": "报价单位",
  12178. "type": "string"
  12179. },
  12180. "hasspotfreeze": {
  12181. "description": "是否有现货冻结 - 0:否 1:有",
  12182. "type": "integer"
  12183. },
  12184. "inqty": {
  12185. "description": "转入量(总数量)",
  12186. "type": "integer"
  12187. },
  12188. "marketid": {
  12189. "description": "市场ID",
  12190. "type": "integer"
  12191. },
  12192. "presaledamount": {
  12193. "description": "已预售总金额",
  12194. "type": "integer"
  12195. },
  12196. "presaledqty": {
  12197. "description": "已预售量",
  12198. "type": "integer"
  12199. },
  12200. "userid": {
  12201. "description": "用户ID",
  12202. "type": "integer"
  12203. },
  12204. "wrstandardid": {
  12205. "description": "仓单标准ID",
  12206. "type": "integer"
  12207. }
  12208. }
  12209. },
  12210. "cptrade.QueryCPTradeMyBidRsp": {
  12211. "type": "object",
  12212. "required": [
  12213. "accountid",
  12214. "goodsid",
  12215. "marketid",
  12216. "orderid",
  12217. "orderqty",
  12218. "ordertime",
  12219. "tradeprice",
  12220. "tradeqty"
  12221. ],
  12222. "properties": {
  12223. "accountid": {
  12224. "description": "账户ID[报价币种]",
  12225. "type": "integer"
  12226. },
  12227. "goodsid": {
  12228. "description": "商品ID",
  12229. "type": "integer"
  12230. },
  12231. "goodunit": {
  12232. "description": "报价单位",
  12233. "type": "string"
  12234. },
  12235. "marketid": {
  12236. "description": "市场ID",
  12237. "type": "integer"
  12238. },
  12239. "orderid": {
  12240. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12241. "type": "integer"
  12242. },
  12243. "orderprice": {
  12244. "description": "委托价格",
  12245. "type": "number"
  12246. },
  12247. "orderqty": {
  12248. "description": "委托数量",
  12249. "type": "integer"
  12250. },
  12251. "ordertime": {
  12252. "description": "委托时间",
  12253. "type": "string"
  12254. },
  12255. "ordertotalprice": {
  12256. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12257. "type": "number"
  12258. },
  12259. "ordertotalweight": {
  12260. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12261. "type": "integer"
  12262. },
  12263. "totaltotalprice": {
  12264. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12265. "type": "number"
  12266. },
  12267. "tradeprice": {
  12268. "description": "成交价格",
  12269. "type": "number"
  12270. },
  12271. "tradeqty": {
  12272. "description": "成交数量",
  12273. "type": "integer"
  12274. }
  12275. }
  12276. },
  12277. "cptrade.QueryCPTradeOrderDetailRsq": {
  12278. "type": "object",
  12279. "required": [
  12280. "accountid",
  12281. "buildtype",
  12282. "buyorsell",
  12283. "goodsid",
  12284. "marketid",
  12285. "memberuserid",
  12286. "operatetype",
  12287. "orderqty",
  12288. "ordertime",
  12289. "pricemode",
  12290. "strorderid",
  12291. "tradedate",
  12292. "validtype"
  12293. ],
  12294. "properties": {
  12295. "accountid": {
  12296. "description": "账户ID[报价币种]",
  12297. "type": "integer"
  12298. },
  12299. "buildtype": {
  12300. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12301. "type": "integer"
  12302. },
  12303. "buyorsell": {
  12304. "description": "买卖 - 0:买 1:卖",
  12305. "type": "integer"
  12306. },
  12307. "cancelorderid": {
  12308. "description": "撤单单号(撤单时填写)",
  12309. "type": "integer"
  12310. },
  12311. "cancelqty": {
  12312. "description": "撤单数量",
  12313. "type": "integer"
  12314. },
  12315. "clientordertime": {
  12316. "description": "客户端委托时间",
  12317. "type": "string"
  12318. },
  12319. "clientticket": {
  12320. "description": "客户端流水号",
  12321. "type": "string"
  12322. },
  12323. "clienttype": {
  12324. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12325. "type": "integer"
  12326. },
  12327. "closeexchagechargevalue": {
  12328. "description": "平仓交易所手续费设置值",
  12329. "type": "number"
  12330. },
  12331. "closefeealgorithm": {
  12332. "description": "平仓手续费收取方式 1:比率 2:固定",
  12333. "type": "integer"
  12334. },
  12335. "closefreezecharge": {
  12336. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12337. "type": "number"
  12338. },
  12339. "closememberchargevalue": {
  12340. "description": "平仓会员手续费设置值",
  12341. "type": "number"
  12342. },
  12343. "closeqty": {
  12344. "description": "平仓数量(先建后平操作 需要记录)",
  12345. "type": "integer"
  12346. },
  12347. "closetradeqty": {
  12348. "description": "平仓成交数量(先建后平操作,需要记录)",
  12349. "type": "integer"
  12350. },
  12351. "closeunfreezecharge": {
  12352. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12353. "type": "number"
  12354. },
  12355. "delistingtype": {
  12356. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12357. "type": "integer"
  12358. },
  12359. "freezecharge": {
  12360. "description": "冻结手续费",
  12361. "type": "number"
  12362. },
  12363. "freezemargin": {
  12364. "description": "冻结保证金(冻结交易金额)",
  12365. "type": "number"
  12366. },
  12367. "gcaccountid": {
  12368. "description": "账户ID[合约币种]",
  12369. "type": "integer"
  12370. },
  12371. "goodsid": {
  12372. "description": "商品ID",
  12373. "type": "integer"
  12374. },
  12375. "isconfirmexercise": {
  12376. "description": "是否确认行权- 0:否 1:是",
  12377. "type": "integer"
  12378. },
  12379. "ispreexercise": {
  12380. "description": "是否预申报- 0:否 1:是",
  12381. "type": "integer"
  12382. },
  12383. "listingselecttype": {
  12384. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12385. "type": "integer"
  12386. },
  12387. "marginalgorithm": {
  12388. "description": "保证金收取方式 1:比率 2:固定",
  12389. "type": "integer"
  12390. },
  12391. "marginvalue": {
  12392. "description": "即市保证金设置值",
  12393. "type": "number"
  12394. },
  12395. "marketid": {
  12396. "description": "市场ID",
  12397. "type": "integer"
  12398. },
  12399. "marketmaxsub": {
  12400. "description": "市价最大偏移范围",
  12401. "type": "number"
  12402. },
  12403. "memberuserid": {
  12404. "description": "所属会员UserID",
  12405. "type": "integer"
  12406. },
  12407. "openexchagechargevalue": {
  12408. "description": "建仓交易所手续费设置值",
  12409. "type": "number"
  12410. },
  12411. "openfeealgorithm": {
  12412. "description": "建仓手续费收取方式 1:比率 2:固定",
  12413. "type": "integer"
  12414. },
  12415. "openfreezecharge": {
  12416. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12417. "type": "number"
  12418. },
  12419. "openmemberchargevalue": {
  12420. "description": "建仓会员手续费设置值",
  12421. "type": "number"
  12422. },
  12423. "openqty": {
  12424. "description": "开仓数量(先建后平操作,需要记录)",
  12425. "type": "integer"
  12426. },
  12427. "opentradeqty": {
  12428. "description": "开仓成交数量(先建后平操作,需要记录)",
  12429. "type": "integer"
  12430. },
  12431. "openunfreezecharge": {
  12432. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12433. "type": "number"
  12434. },
  12435. "operatetype": {
  12436. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12437. "type": "integer"
  12438. },
  12439. "operatorid": {
  12440. "description": "登录账号(LoginID)",
  12441. "type": "integer"
  12442. },
  12443. "optiontype": {
  12444. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12445. "type": "integer"
  12446. },
  12447. "orderprice": {
  12448. "description": "委托价格",
  12449. "type": "number"
  12450. },
  12451. "orderqty": {
  12452. "description": "委托数量",
  12453. "type": "integer"
  12454. },
  12455. "ordersrc": {
  12456. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12457. "type": "integer"
  12458. },
  12459. "orderstatus": {
  12460. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12461. "type": "integer"
  12462. },
  12463. "ordertime": {
  12464. "description": "委托时间",
  12465. "type": "string"
  12466. },
  12467. "preexerciseprice": {
  12468. "description": "预申报价格",
  12469. "type": "number"
  12470. },
  12471. "premium": {
  12472. "description": "权利金",
  12473. "type": "number"
  12474. },
  12475. "preorderid": {
  12476. "description": "关联预埋单号(止盈止损单时填写)",
  12477. "type": "integer"
  12478. },
  12479. "pricemode": {
  12480. "description": "取价方式 - 1:市价 2: 限价",
  12481. "type": "integer"
  12482. },
  12483. "quoteid": {
  12484. "description": "报价单ID",
  12485. "type": "integer"
  12486. },
  12487. "relatedid": {
  12488. "description": "关联单号(交割单)",
  12489. "type": "integer"
  12490. },
  12491. "retcode": {
  12492. "description": "错误代码",
  12493. "type": "integer"
  12494. },
  12495. "sessionid": {
  12496. "description": "会话ID",
  12497. "type": "integer"
  12498. },
  12499. "strorderid": {
  12500. "description": "委托单号",
  12501. "type": "string"
  12502. },
  12503. "tradedate": {
  12504. "description": "交易日(yyyyMMdd)",
  12505. "type": "string"
  12506. },
  12507. "tradeproperty": {
  12508. "description": "交易属性",
  12509. "type": "integer"
  12510. },
  12511. "tradeqty": {
  12512. "description": "成交数量",
  12513. "type": "integer"
  12514. },
  12515. "unfreezecharge": {
  12516. "description": "解冻手续费",
  12517. "type": "number"
  12518. },
  12519. "unfreezemargin": {
  12520. "description": "解冻保证金",
  12521. "type": "number"
  12522. },
  12523. "updatetime": {
  12524. "description": "更新时间",
  12525. "type": "string"
  12526. },
  12527. "uuid": {
  12528. "description": "发起端唯一id",
  12529. "type": "string"
  12530. },
  12531. "validtime": {
  12532. "description": "有效期限",
  12533. "type": "string"
  12534. },
  12535. "validtype": {
  12536. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12537. "type": "integer"
  12538. },
  12539. "volumetype": {
  12540. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12541. "type": "integer"
  12542. }
  12543. }
  12544. },
  12545. "cptrade.QueryMyCPTradeGoodsRsp": {
  12546. "type": "object",
  12547. "required": [
  12548. "goodscode",
  12549. "goodsid",
  12550. "goodsname",
  12551. "marketid",
  12552. "relatedgoodscode",
  12553. "relatedgoodsname"
  12554. ],
  12555. "properties": {
  12556. "accountid": {
  12557. "description": "卖方账户ID",
  12558. "type": "integer"
  12559. },
  12560. "agreeunit": {
  12561. "description": "合约单位",
  12562. "type": "number"
  12563. },
  12564. "applyid": {
  12565. "description": "关联申请ID",
  12566. "type": "integer"
  12567. },
  12568. "attachmenturl": {
  12569. "description": "附件地址",
  12570. "type": "string"
  12571. },
  12572. "createtime": {
  12573. "description": "创建时间",
  12574. "type": "string"
  12575. },
  12576. "currencyid": {
  12577. "description": "报价货币ID",
  12578. "type": "integer"
  12579. },
  12580. "decimalplace": {
  12581. "description": "报价小数位",
  12582. "type": "integer"
  12583. },
  12584. "endtime": {
  12585. "description": "预售结束时间",
  12586. "type": "string"
  12587. },
  12588. "floorprice": {
  12589. "description": "底价[大宗式竞拍]",
  12590. "type": "number"
  12591. },
  12592. "goodscode": {
  12593. "description": "商品代码(预售)",
  12594. "type": "string"
  12595. },
  12596. "goodsdetail": {
  12597. "description": "详情[大宗]",
  12598. "type": "string"
  12599. },
  12600. "goodsid": {
  12601. "description": "商品ID(自增ID SEQ_GOODS)",
  12602. "type": "integer"
  12603. },
  12604. "goodsname": {
  12605. "description": "商品名称(预售)",
  12606. "type": "string"
  12607. },
  12608. "goodunit": {
  12609. "description": "报价单位",
  12610. "type": "string"
  12611. },
  12612. "goodunitid": {
  12613. "description": "报价单位ID",
  12614. "type": "integer"
  12615. },
  12616. "marketid": {
  12617. "description": "所属市场ID",
  12618. "type": "integer"
  12619. },
  12620. "marketname": {
  12621. "description": "预售市场名称",
  12622. "type": "string"
  12623. },
  12624. "presaledamount": {
  12625. "description": "已预售总金额(预售结束时更新)",
  12626. "type": "number"
  12627. },
  12628. "presaledqty": {
  12629. "description": "已预售量(预售结束时更新)",
  12630. "type": "integer"
  12631. },
  12632. "presalemode": {
  12633. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12634. "type": "integer"
  12635. },
  12636. "presaleqty": {
  12637. "description": "预售数量",
  12638. "type": "integer"
  12639. },
  12640. "refprice": {
  12641. "description": "参考价格[一口价]",
  12642. "type": "number"
  12643. },
  12644. "relatedgoodscode": {
  12645. "description": "商品代码(订单)",
  12646. "type": "string"
  12647. },
  12648. "relatedgoodsid": {
  12649. "description": "关联交易合约ID",
  12650. "type": "integer"
  12651. },
  12652. "relatedgoodsname": {
  12653. "description": "商品名称(订单)",
  12654. "type": "string"
  12655. },
  12656. "relatedmarketid": {
  12657. "description": "关联交易合约市场ID",
  12658. "type": "integer"
  12659. },
  12660. "sellstatus": {
  12661. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12662. "type": "integer"
  12663. },
  12664. "startprice": {
  12665. "description": "起拍价[大宗式竞拍]",
  12666. "type": "number"
  12667. },
  12668. "starttime": {
  12669. "description": "预售开始时间",
  12670. "type": "string"
  12671. },
  12672. "tradedate": {
  12673. "description": "交易日(yyyyMMdd)",
  12674. "type": "string"
  12675. },
  12676. "tradeprice": {
  12677. "description": "成交价[大宗]",
  12678. "type": "number"
  12679. },
  12680. "userid": {
  12681. "description": "卖方用户ID",
  12682. "type": "integer"
  12683. }
  12684. }
  12685. },
  12686. "cptrade.QueryPresaleGoodsExRsp": {
  12687. "type": "object",
  12688. "required": [
  12689. "goodsid"
  12690. ],
  12691. "properties": {
  12692. "attachmenturl": {
  12693. "description": "附件地址",
  12694. "type": "string"
  12695. },
  12696. "createtime": {
  12697. "description": "创建时间",
  12698. "type": "string"
  12699. },
  12700. "endtime": {
  12701. "description": "预售结束时间",
  12702. "type": "string"
  12703. },
  12704. "floorprice": {
  12705. "description": "底价[大宗式竞拍]",
  12706. "type": "number"
  12707. },
  12708. "goodsdetail": {
  12709. "description": "详情[大宗]",
  12710. "type": "string"
  12711. },
  12712. "goodsid": {
  12713. "description": "商品ID(预售)",
  12714. "type": "integer"
  12715. },
  12716. "goodunit": {
  12717. "description": "报价单位",
  12718. "type": "string"
  12719. },
  12720. "marketid": {
  12721. "description": "预售市场ID - 根据预售模式选择市场",
  12722. "type": "integer"
  12723. },
  12724. "presaledamount": {
  12725. "description": "已预售总金额(预售结束时更新)",
  12726. "type": "number"
  12727. },
  12728. "presaledqty": {
  12729. "description": "已预售量(预售结束时更新)",
  12730. "type": "integer"
  12731. },
  12732. "presalemode": {
  12733. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12734. "type": "integer"
  12735. },
  12736. "presaleqty": {
  12737. "description": "预售数量",
  12738. "type": "integer"
  12739. },
  12740. "refprice": {
  12741. "description": "参考价格[一口价]",
  12742. "type": "number"
  12743. },
  12744. "relatedgoodsid": {
  12745. "description": "关联交易合约ID",
  12746. "type": "integer"
  12747. },
  12748. "relatedmarketid": {
  12749. "description": "关联交易合约市场ID",
  12750. "type": "integer"
  12751. },
  12752. "sellstatus": {
  12753. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12754. "type": "integer"
  12755. },
  12756. "startprice": {
  12757. "description": "起拍价[大宗式竞拍]",
  12758. "type": "number"
  12759. },
  12760. "starttime": {
  12761. "description": "预售开始时间",
  12762. "type": "string"
  12763. },
  12764. "tradedate": {
  12765. "description": "交易日(yyyyMMdd)",
  12766. "type": "string"
  12767. },
  12768. "tradeprice": {
  12769. "description": "成交价[大宗]",
  12770. "type": "number"
  12771. }
  12772. }
  12773. },
  12774. "delivery.QueryDeliveryRelationRsp": {
  12775. "type": "object",
  12776. "required": [
  12777. "begindate",
  12778. "enddate",
  12779. "goodsid",
  12780. "mindeliveryqty",
  12781. "xdeliveryratio"
  12782. ],
  12783. "properties": {
  12784. "begindate": {
  12785. "description": "起始日期(yyyyMMdd)",
  12786. "type": "string"
  12787. },
  12788. "buytemplateid": {
  12789. "description": "买履约计划模板ID",
  12790. "type": "integer"
  12791. },
  12792. "deliverygoodscode": {
  12793. "description": "品种代码",
  12794. "type": "string"
  12795. },
  12796. "deliverygoodsid": {
  12797. "description": "交割商品",
  12798. "type": "integer"
  12799. },
  12800. "deliverygoodsname": {
  12801. "description": "品种名称",
  12802. "type": "string"
  12803. },
  12804. "deliverymode": {
  12805. "description": "交割方式 - 1:点选式 2:申报式",
  12806. "type": "integer"
  12807. },
  12808. "deliverypricerule": {
  12809. "description": "交割价规则- 1:行情价 2:建仓价",
  12810. "type": "integer"
  12811. },
  12812. "deliverytype": {
  12813. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12814. "type": "integer"
  12815. },
  12816. "enddate": {
  12817. "description": "结束日期(yyyyMMdd)",
  12818. "type": "string"
  12819. },
  12820. "goodscode": {
  12821. "description": "商品代码",
  12822. "type": "string"
  12823. },
  12824. "goodsid": {
  12825. "description": "交易合约ID",
  12826. "type": "integer"
  12827. },
  12828. "goodsname": {
  12829. "description": "商品名称",
  12830. "type": "string"
  12831. },
  12832. "marketid": {
  12833. "description": "市场ID",
  12834. "type": "integer"
  12835. },
  12836. "mindeliveryqty": {
  12837. "description": "最小交割系数(K)",
  12838. "type": "integer"
  12839. },
  12840. "p2deliveryprice": {
  12841. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  12842. "type": "number"
  12843. },
  12844. "p2deliveryratio": {
  12845. "description": "P2合约系数(p)",
  12846. "type": "integer"
  12847. },
  12848. "p2goodsid": {
  12849. "description": "P2合约ID",
  12850. "type": "integer"
  12851. },
  12852. "p2pricemode": {
  12853. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  12854. "type": "integer"
  12855. },
  12856. "pdeliveryprice": {
  12857. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  12858. "type": "number"
  12859. },
  12860. "pdeliveryratio": {
  12861. "description": "P合约系数(n)",
  12862. "type": "integer"
  12863. },
  12864. "pgoodsid": {
  12865. "description": "P合约ID",
  12866. "type": "integer"
  12867. },
  12868. "ppricemode": {
  12869. "description": "P合约价格方式 - 1:商品价 2:固定值",
  12870. "type": "integer"
  12871. },
  12872. "rratio": {
  12873. "description": "兑换系数(R)",
  12874. "type": "integer"
  12875. },
  12876. "rratio1": {
  12877. "description": "兑换系数(交易合约)(R1)",
  12878. "type": "integer"
  12879. },
  12880. "rratio2": {
  12881. "description": "兑换系数(仓单标准)(R2)",
  12882. "type": "integer"
  12883. },
  12884. "selltemplateid": {
  12885. "description": "卖履约计划模板ID",
  12886. "type": "integer"
  12887. },
  12888. "wrstandardid": {
  12889. "description": "仓单标准ID",
  12890. "type": "integer"
  12891. },
  12892. "xdeliveryratio": {
  12893. "description": "交易合约系数(m)",
  12894. "type": "integer"
  12895. }
  12896. }
  12897. },
  12898. "ermcp.ExposureDetailRsp": {
  12899. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  12900. },
  12901. "ermcp.ExposureHedgePosDetailRsp": {
  12902. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  12903. },
  12904. "ermcp.ExposureHedgePositionRsp": {
  12905. "$ref": "#/definitions/models.ErmcpHedgePosition"
  12906. },
  12907. "ermcp.ExposureSpotDetailRsp": {
  12908. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  12909. },
  12910. "ermcp.ExposureSpotRsp": {
  12911. "$ref": "#/definitions/models.AreaSpotModel"
  12912. },
  12913. "ermcp.HisExposureRsp": {
  12914. "$ref": "#/definitions/models.ErmcpHisExposureS"
  12915. },
  12916. "ermcp.PendingAuditCntRsp": {
  12917. "$ref": "#/definitions/models.ErmcpPendingAudit"
  12918. },
  12919. "ermcp.QryAvalidGPRsp": {
  12920. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  12921. },
  12922. "ermcp.QryBusinessDjRsp": {
  12923. "type": "object",
  12924. "properties": {
  12925. "amount": {
  12926. "description": "点价金额=(点价价格+升贴水)*点价数量",
  12927. "type": "number"
  12928. },
  12929. "applyid": {
  12930. "description": "申请人",
  12931. "type": "string"
  12932. },
  12933. "applyname": {
  12934. "description": "申请人名称",
  12935. "type": "string"
  12936. },
  12937. "applystatus": {
  12938. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12939. "type": "integer"
  12940. },
  12941. "applytime": {
  12942. "description": "申请时间",
  12943. "type": "string"
  12944. },
  12945. "attachurl": {
  12946. "description": "附件",
  12947. "type": "string"
  12948. },
  12949. "auditid": {
  12950. "description": "审核人ID",
  12951. "type": "string"
  12952. },
  12953. "auditname": {
  12954. "description": "审核人名称",
  12955. "type": "string"
  12956. },
  12957. "audittime": {
  12958. "description": "审核时间",
  12959. "type": "string"
  12960. },
  12961. "buyusername": {
  12962. "description": "采购方名称",
  12963. "type": "string"
  12964. },
  12965. "contractno": {
  12966. "description": "合同编号",
  12967. "type": "string"
  12968. },
  12969. "contractstatus": {
  12970. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12971. "type": "integer"
  12972. },
  12973. "contracttype": {
  12974. "description": "现货合同类型 - 1:采购 -1:销售",
  12975. "type": "integer"
  12976. },
  12977. "deliverygoodscode": {
  12978. "description": "现货品种代码",
  12979. "type": "string"
  12980. },
  12981. "deliverygoodsid": {
  12982. "description": "现货商品ID",
  12983. "type": "integer"
  12984. },
  12985. "deliverygoodsname": {
  12986. "description": "现货品种名称",
  12987. "type": "string"
  12988. },
  12989. "enumdicname": {
  12990. "description": "单位名称",
  12991. "type": "string"
  12992. },
  12993. "goodscode": {
  12994. "description": "点价合约",
  12995. "type": "string"
  12996. },
  12997. "goodsname": {
  12998. "description": "商品名称",
  12999. "type": "string"
  13000. },
  13001. "operateapplyid": {
  13002. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13003. "type": "string"
  13004. },
  13005. "operateapplytype": {
  13006. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13007. "type": "integer"
  13008. },
  13009. "pricedPrice": {
  13010. "description": "点价价格(非必填)",
  13011. "type": "number"
  13012. },
  13013. "pricedQty": {
  13014. "description": "点价数量(非必填)",
  13015. "type": "number"
  13016. },
  13017. "pricemove": {
  13018. "description": "升贴水",
  13019. "type": "number"
  13020. },
  13021. "pricetype": {
  13022. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13023. "type": "integer"
  13024. },
  13025. "relatedid": {
  13026. "description": "现货合同ID",
  13027. "type": "string"
  13028. },
  13029. "sellusername": {
  13030. "description": "销售方名字",
  13031. "type": "string"
  13032. },
  13033. "userid": {
  13034. "description": "用户ID",
  13035. "type": "integer"
  13036. },
  13037. "wrstandardcode": {
  13038. "description": "品类代码",
  13039. "type": "string"
  13040. },
  13041. "wrstandardid": {
  13042. "description": "品类id",
  13043. "type": "integer"
  13044. },
  13045. "wrstandardname": {
  13046. "description": "品类名称",
  13047. "type": "string"
  13048. }
  13049. }
  13050. },
  13051. "ermcp.QryBussinessFpRsp": {
  13052. "type": "object",
  13053. "properties": {
  13054. "applyid": {
  13055. "description": "申请人",
  13056. "type": "string"
  13057. },
  13058. "applyname": {
  13059. "description": "申请人名称",
  13060. "type": "string"
  13061. },
  13062. "applystatus": {
  13063. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13064. "type": "integer"
  13065. },
  13066. "applytime": {
  13067. "description": "申请时间",
  13068. "type": "string"
  13069. },
  13070. "attachurl": {
  13071. "description": "附件",
  13072. "type": "string"
  13073. },
  13074. "auditid": {
  13075. "description": "审核人ID",
  13076. "type": "string"
  13077. },
  13078. "auditname": {
  13079. "description": "审核人名称",
  13080. "type": "string"
  13081. },
  13082. "audittime": {
  13083. "description": "审核时间",
  13084. "type": "string"
  13085. },
  13086. "buyusername": {
  13087. "description": "采购方名称",
  13088. "type": "string"
  13089. },
  13090. "contractno": {
  13091. "description": "合同编号",
  13092. "type": "string"
  13093. },
  13094. "contractstatus": {
  13095. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13096. "type": "integer"
  13097. },
  13098. "contracttype": {
  13099. "description": "现货合同类型 - 1:采购 -1:销售",
  13100. "type": "integer"
  13101. },
  13102. "deliverygoodscode": {
  13103. "description": "现货品种代码",
  13104. "type": "string"
  13105. },
  13106. "deliverygoodsid": {
  13107. "description": "现货商品ID",
  13108. "type": "integer"
  13109. },
  13110. "deliverygoodsname": {
  13111. "description": "现货品种名称",
  13112. "type": "string"
  13113. },
  13114. "enumdicname": {
  13115. "description": "单位名称",
  13116. "type": "string"
  13117. },
  13118. "goodscode": {
  13119. "description": "点价合约",
  13120. "type": "string"
  13121. },
  13122. "goodsname": {
  13123. "description": "商品名称",
  13124. "type": "string"
  13125. },
  13126. "invoiceAmount": {
  13127. "description": "已开收票金额(销售为开票,采购为收票)",
  13128. "type": "number"
  13129. },
  13130. "operateapplyid": {
  13131. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13132. "type": "string"
  13133. },
  13134. "operateapplytype": {
  13135. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13136. "type": "integer"
  13137. },
  13138. "pricemove": {
  13139. "description": "升贴水",
  13140. "type": "number"
  13141. },
  13142. "pricetype": {
  13143. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13144. "type": "integer"
  13145. },
  13146. "relatedid": {
  13147. "description": "现货合同ID",
  13148. "type": "string"
  13149. },
  13150. "sellusername": {
  13151. "description": "销售方名字",
  13152. "type": "string"
  13153. },
  13154. "userid": {
  13155. "description": "用户ID",
  13156. "type": "integer"
  13157. },
  13158. "wrstandardcode": {
  13159. "description": "品类代码",
  13160. "type": "string"
  13161. },
  13162. "wrstandardid": {
  13163. "description": "品类id",
  13164. "type": "integer"
  13165. },
  13166. "wrstandardname": {
  13167. "description": "品类名称",
  13168. "type": "string"
  13169. }
  13170. }
  13171. },
  13172. "ermcp.QryBussinessJsExRsp": {
  13173. "type": "object",
  13174. "properties": {
  13175. "applyid": {
  13176. "description": "申请人",
  13177. "type": "string"
  13178. },
  13179. "applyname": {
  13180. "description": "申请人名称",
  13181. "type": "string"
  13182. },
  13183. "applystatus": {
  13184. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13185. "type": "integer"
  13186. },
  13187. "applytime": {
  13188. "description": "申请时间",
  13189. "type": "string"
  13190. },
  13191. "attachurl": {
  13192. "description": "附件",
  13193. "type": "string"
  13194. },
  13195. "auditid": {
  13196. "description": "审核人ID",
  13197. "type": "string"
  13198. },
  13199. "auditname": {
  13200. "description": "审核人名称",
  13201. "type": "string"
  13202. },
  13203. "audittime": {
  13204. "description": "审核时间",
  13205. "type": "string"
  13206. },
  13207. "buyusername": {
  13208. "description": "采购方名称",
  13209. "type": "string"
  13210. },
  13211. "contractno": {
  13212. "description": "合同编号",
  13213. "type": "string"
  13214. },
  13215. "contractstatus": {
  13216. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13217. "type": "integer"
  13218. },
  13219. "contracttype": {
  13220. "description": "现货合同类型 - 1:采购 -1:销售",
  13221. "type": "integer"
  13222. },
  13223. "deliverygoodscode": {
  13224. "description": "现货品种代码",
  13225. "type": "string"
  13226. },
  13227. "deliverygoodsid": {
  13228. "description": "现货商品ID",
  13229. "type": "integer"
  13230. },
  13231. "deliverygoodsname": {
  13232. "description": "现货品种名称",
  13233. "type": "string"
  13234. },
  13235. "enumdicname": {
  13236. "description": "单位名称",
  13237. "type": "string"
  13238. },
  13239. "goodscode": {
  13240. "description": "点价合约",
  13241. "type": "string"
  13242. },
  13243. "goodsname": {
  13244. "description": "商品名称",
  13245. "type": "string"
  13246. },
  13247. "operateapplyid": {
  13248. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13249. "type": "string"
  13250. },
  13251. "operateapplytype": {
  13252. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13253. "type": "integer"
  13254. },
  13255. "pricemove": {
  13256. "description": "升贴水",
  13257. "type": "number"
  13258. },
  13259. "pricetype": {
  13260. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13261. "type": "integer"
  13262. },
  13263. "reckontype": {
  13264. "description": "结算类型",
  13265. "type": "string"
  13266. },
  13267. "reckonvalue": {
  13268. "description": "值",
  13269. "type": "number"
  13270. },
  13271. "relatedid": {
  13272. "description": "现货合同ID",
  13273. "type": "string"
  13274. },
  13275. "sellusername": {
  13276. "description": "销售方名字",
  13277. "type": "string"
  13278. },
  13279. "userid": {
  13280. "description": "用户ID",
  13281. "type": "integer"
  13282. },
  13283. "wrstandardcode": {
  13284. "description": "品类代码",
  13285. "type": "string"
  13286. },
  13287. "wrstandardid": {
  13288. "description": "品类id",
  13289. "type": "integer"
  13290. },
  13291. "wrstandardname": {
  13292. "description": "品类名称",
  13293. "type": "string"
  13294. }
  13295. }
  13296. },
  13297. "ermcp.QryBussinessJsRsp": {
  13298. "type": "object",
  13299. "properties": {
  13300. "addmargin": {
  13301. "description": "追加保证金(非必填)",
  13302. "type": "number"
  13303. },
  13304. "applyid": {
  13305. "description": "申请人",
  13306. "type": "string"
  13307. },
  13308. "applyname": {
  13309. "description": "申请人名称",
  13310. "type": "string"
  13311. },
  13312. "applystatus": {
  13313. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13314. "type": "integer"
  13315. },
  13316. "applytime": {
  13317. "description": "申请时间",
  13318. "type": "string"
  13319. },
  13320. "attachurl": {
  13321. "description": "附件",
  13322. "type": "string"
  13323. },
  13324. "auditid": {
  13325. "description": "审核人ID",
  13326. "type": "string"
  13327. },
  13328. "auditname": {
  13329. "description": "审核人名称",
  13330. "type": "string"
  13331. },
  13332. "audittime": {
  13333. "description": "审核时间",
  13334. "type": "string"
  13335. },
  13336. "buyusername": {
  13337. "description": "采购方名称",
  13338. "type": "string"
  13339. },
  13340. "contractno": {
  13341. "description": "合同编号",
  13342. "type": "string"
  13343. },
  13344. "contractstatus": {
  13345. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13346. "type": "integer"
  13347. },
  13348. "contracttype": {
  13349. "description": "现货合同类型 - 1:采购 -1:销售",
  13350. "type": "integer"
  13351. },
  13352. "decmargin": {
  13353. "description": "减少保证金(非必填)",
  13354. "type": "number"
  13355. },
  13356. "deliverygoodscode": {
  13357. "description": "现货品种代码",
  13358. "type": "string"
  13359. },
  13360. "deliverygoodsid": {
  13361. "description": "现货商品ID",
  13362. "type": "integer"
  13363. },
  13364. "deliverygoodsname": {
  13365. "description": "现货品种名称",
  13366. "type": "string"
  13367. },
  13368. "enumdicname": {
  13369. "description": "单位名称",
  13370. "type": "string"
  13371. },
  13372. "goodscode": {
  13373. "description": "点价合约",
  13374. "type": "string"
  13375. },
  13376. "goodsname": {
  13377. "description": "商品名称",
  13378. "type": "string"
  13379. },
  13380. "operateapplyid": {
  13381. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13382. "type": "string"
  13383. },
  13384. "operateapplytype": {
  13385. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13386. "type": "integer"
  13387. },
  13388. "pricemove": {
  13389. "description": "升贴水",
  13390. "type": "number"
  13391. },
  13392. "pricetype": {
  13393. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13394. "type": "integer"
  13395. },
  13396. "reckonadjustamount": {
  13397. "description": "结算调整金额(非必填)",
  13398. "type": "number"
  13399. },
  13400. "reckonosamount": {
  13401. "description": "结算溢短金额(非必填)",
  13402. "type": "number"
  13403. },
  13404. "reckonotheramount": {
  13405. "description": "结算其他费用(非必填)",
  13406. "type": "number"
  13407. },
  13408. "reckonrealqty": {
  13409. "description": "结算实际数量(非必填)",
  13410. "type": "number"
  13411. },
  13412. "relatedid": {
  13413. "description": "现货合同ID",
  13414. "type": "string"
  13415. },
  13416. "sellusername": {
  13417. "description": "销售方名字",
  13418. "type": "string"
  13419. },
  13420. "userid": {
  13421. "description": "用户ID",
  13422. "type": "integer"
  13423. },
  13424. "wrstandardcode": {
  13425. "description": "品类代码",
  13426. "type": "string"
  13427. },
  13428. "wrstandardid": {
  13429. "description": "品类id",
  13430. "type": "integer"
  13431. },
  13432. "wrstandardname": {
  13433. "description": "品类名称",
  13434. "type": "string"
  13435. }
  13436. }
  13437. },
  13438. "ermcp.QryBussinessKxRsp": {
  13439. "type": "object",
  13440. "properties": {
  13441. "applyid": {
  13442. "description": "申请人",
  13443. "type": "string"
  13444. },
  13445. "applyname": {
  13446. "description": "申请人名称",
  13447. "type": "string"
  13448. },
  13449. "applystatus": {
  13450. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13451. "type": "integer"
  13452. },
  13453. "applytime": {
  13454. "description": "申请时间",
  13455. "type": "string"
  13456. },
  13457. "attachurl": {
  13458. "description": "附件",
  13459. "type": "string"
  13460. },
  13461. "auditid": {
  13462. "description": "审核人ID",
  13463. "type": "string"
  13464. },
  13465. "auditname": {
  13466. "description": "审核人名称",
  13467. "type": "string"
  13468. },
  13469. "audittime": {
  13470. "description": "审核时间",
  13471. "type": "string"
  13472. },
  13473. "buyusername": {
  13474. "description": "采购方名称",
  13475. "type": "string"
  13476. },
  13477. "contractno": {
  13478. "description": "合同编号",
  13479. "type": "string"
  13480. },
  13481. "contractstatus": {
  13482. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13483. "type": "integer"
  13484. },
  13485. "contracttype": {
  13486. "description": "现货合同类型 - 1:采购 -1:销售",
  13487. "type": "integer"
  13488. },
  13489. "deductamount": {
  13490. "description": "退款(非必填)",
  13491. "type": "number"
  13492. },
  13493. "deliverygoodscode": {
  13494. "description": "现货品种代码",
  13495. "type": "string"
  13496. },
  13497. "deliverygoodsid": {
  13498. "description": "现货商品ID",
  13499. "type": "integer"
  13500. },
  13501. "deliverygoodsname": {
  13502. "description": "现货品种名称",
  13503. "type": "string"
  13504. },
  13505. "enumdicname": {
  13506. "description": "单位名称",
  13507. "type": "string"
  13508. },
  13509. "goodscode": {
  13510. "description": "点价合约",
  13511. "type": "string"
  13512. },
  13513. "goodsname": {
  13514. "description": "商品名称",
  13515. "type": "string"
  13516. },
  13517. "kxtype": {
  13518. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13519. "type": "integer"
  13520. },
  13521. "operateapplyid": {
  13522. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13523. "type": "string"
  13524. },
  13525. "operateapplytype": {
  13526. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13527. "type": "integer"
  13528. },
  13529. "payamount": {
  13530. "description": "收付款(非必填)",
  13531. "type": "number"
  13532. },
  13533. "pricemove": {
  13534. "description": "升贴水",
  13535. "type": "number"
  13536. },
  13537. "pricetype": {
  13538. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13539. "type": "integer"
  13540. },
  13541. "relatedid": {
  13542. "description": "现货合同ID",
  13543. "type": "string"
  13544. },
  13545. "sellusername": {
  13546. "description": "销售方名字",
  13547. "type": "string"
  13548. },
  13549. "userid": {
  13550. "description": "用户ID",
  13551. "type": "integer"
  13552. },
  13553. "wrstandardcode": {
  13554. "description": "品类代码",
  13555. "type": "string"
  13556. },
  13557. "wrstandardid": {
  13558. "description": "品类id",
  13559. "type": "integer"
  13560. },
  13561. "wrstandardname": {
  13562. "description": "品类名称",
  13563. "type": "string"
  13564. }
  13565. }
  13566. },
  13567. "ermcp.QryGGCovertCfgRsp": {
  13568. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13569. },
  13570. "ermcp.QryMGChangeLogRsp": {
  13571. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13572. },
  13573. "ermcp.QryMiddleGoodsDetailRsp": {
  13574. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13575. },
  13576. "ermcp.QryMiddleGoodsRsp": {
  13577. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13578. },
  13579. "ermcp.QryOPLogRsp": {
  13580. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13581. },
  13582. "ermcp.QryUserInfoRsp": {
  13583. "$ref": "#/definitions/models.ErmcpUserModel"
  13584. },
  13585. "ermcp.QryWarehouseRsp": {
  13586. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13587. },
  13588. "ermcp.QueryErmcpTradePositionRsp": {
  13589. "type": "object",
  13590. "properties": {
  13591. "agreeunit": {
  13592. "description": "合约单位",
  13593. "type": "number"
  13594. },
  13595. "buyorsell": {
  13596. "description": "方向 - 0:买 1:卖",
  13597. "type": "integer"
  13598. },
  13599. "curpositionqty": {
  13600. "description": "持仓(总仓数量, 期末头寸)",
  13601. "type": "integer"
  13602. },
  13603. "curtdposition": {
  13604. "description": "今仓数量(期末今日头寸)",
  13605. "type": "integer"
  13606. },
  13607. "curtdpositionenabled": {
  13608. "description": "今仓可用",
  13609. "type": "integer"
  13610. },
  13611. "decimalplace": {
  13612. "description": "报价小数位",
  13613. "type": "integer"
  13614. },
  13615. "enableqty": {
  13616. "description": "可用(总仓可用)",
  13617. "type": "integer"
  13618. },
  13619. "exexchangename": {
  13620. "description": "外部交易所名称",
  13621. "type": "string"
  13622. },
  13623. "goodscode": {
  13624. "description": "商品代码(内部)",
  13625. "type": "string"
  13626. },
  13627. "goodsid": {
  13628. "description": "商品ID(自增ID SEQ_GOODS)",
  13629. "type": "integer"
  13630. },
  13631. "goodsname": {
  13632. "description": "商品名称",
  13633. "type": "string"
  13634. },
  13635. "last": {
  13636. "description": "现价",
  13637. "type": "number"
  13638. },
  13639. "marketid": {
  13640. "description": "所属市场ID",
  13641. "type": "integer"
  13642. },
  13643. "openaverageprice": {
  13644. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13645. "type": "number"
  13646. },
  13647. "opencost": {
  13648. "description": "开仓成本",
  13649. "type": "number"
  13650. },
  13651. "openpl": {
  13652. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13653. "type": "number"
  13654. },
  13655. "outgoodscode": {
  13656. "description": "商品代码(外部)",
  13657. "type": "string"
  13658. },
  13659. "positionaverageprice": {
  13660. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13661. "type": "number"
  13662. },
  13663. "positioncost": {
  13664. "description": "持仓成本",
  13665. "type": "number"
  13666. },
  13667. "positionpl": {
  13668. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13669. "type": "number"
  13670. },
  13671. "positionplrate": {
  13672. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13673. "type": "number"
  13674. },
  13675. "usedmargin": {
  13676. "description": "占用保证金",
  13677. "type": "number"
  13678. }
  13679. }
  13680. },
  13681. "ermcp.RealtimeExposurePositionRsp": {
  13682. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13683. },
  13684. "ermcp.RealtimeExposureRsp": {
  13685. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13686. },
  13687. "erms2.QueryArbitrageStrategyRsp": {
  13688. "type": "object",
  13689. "required": [
  13690. "asapplyid"
  13691. ],
  13692. "properties": {
  13693. "applybasis": {
  13694. "description": "申请基差",
  13695. "type": "number"
  13696. },
  13697. "asapplyid": {
  13698. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13699. "type": "string"
  13700. },
  13701. "asname": {
  13702. "description": "策略名称",
  13703. "type": "string"
  13704. },
  13705. "asno": {
  13706. "description": "策略编号",
  13707. "type": "string"
  13708. },
  13709. "basischangepl": {
  13710. "description": "基差变动损益[结算更新]",
  13711. "type": "number"
  13712. },
  13713. "biztype": {
  13714. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13715. "type": "integer"
  13716. },
  13717. "closetradedate": {
  13718. "description": "完结交易日(yyyyMMdd)",
  13719. "type": "string"
  13720. },
  13721. "curbasis": {
  13722. "description": "当前基差[结算更新]",
  13723. "type": "number"
  13724. },
  13725. "deliverygoodsid": {
  13726. "description": "现货品种ID",
  13727. "type": "integer"
  13728. },
  13729. "futureavgprice": {
  13730. "description": "期货建仓均价",
  13731. "type": "number"
  13732. },
  13733. "futurecloseamount": {
  13734. "description": "期货平仓金额",
  13735. "type": "number"
  13736. },
  13737. "futurecloseqty": {
  13738. "description": "期货平仓数量",
  13739. "type": "number"
  13740. },
  13741. "futureopenamount": {
  13742. "description": "期货开仓金额",
  13743. "type": "number"
  13744. },
  13745. "futureopenqty": {
  13746. "description": "期货开仓数量",
  13747. "type": "number"
  13748. },
  13749. "futurepl": {
  13750. "description": "期货总盈亏[结算更新]",
  13751. "type": "number"
  13752. },
  13753. "futureqty": {
  13754. "description": "期货持仓数量",
  13755. "type": "number"
  13756. },
  13757. "futurequote": {
  13758. "description": "期货额度",
  13759. "type": "number"
  13760. },
  13761. "goodsgroupid": {
  13762. "description": "期货品种ID",
  13763. "type": "integer"
  13764. },
  13765. "marketid": {
  13766. "description": "市场ID",
  13767. "type": "integer"
  13768. },
  13769. "netexposure": {
  13770. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13771. "type": "number"
  13772. },
  13773. "netexposurepl": {
  13774. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13775. "type": "number"
  13776. },
  13777. "netexposurerate": {
  13778. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13779. "type": "number"
  13780. },
  13781. "openbasis": {
  13782. "description": "建仓基差",
  13783. "type": "number"
  13784. },
  13785. "pricedspotqty": {
  13786. "description": "已定价现货数量",
  13787. "type": "number"
  13788. },
  13789. "pricedspotqtynotax": {
  13790. "description": "已定价现货不含税数量",
  13791. "type": "number"
  13792. },
  13793. "remark": {
  13794. "description": "备注",
  13795. "type": "string"
  13796. },
  13797. "spotavgprice": {
  13798. "description": "现货均价",
  13799. "type": "number"
  13800. },
  13801. "spotbuyamount": {
  13802. "description": "现货采购金额",
  13803. "type": "number"
  13804. },
  13805. "spotbuyqty": {
  13806. "description": "现货采购数量",
  13807. "type": "number"
  13808. },
  13809. "spotpl": {
  13810. "description": "现货总盈亏[结算更新]",
  13811. "type": "number"
  13812. },
  13813. "spotquota": {
  13814. "description": "现货额度",
  13815. "type": "number"
  13816. },
  13817. "spotsellamount": {
  13818. "description": "现货销售金额",
  13819. "type": "number"
  13820. },
  13821. "spotsellqty": {
  13822. "description": "现货销售数量",
  13823. "type": "number"
  13824. },
  13825. "spotusedquota": {
  13826. "description": "现货占用资金",
  13827. "type": "number"
  13828. },
  13829. "strategystatus": {
  13830. "description": "策略状态 - 0:未结束 1:已结束",
  13831. "type": "integer"
  13832. },
  13833. "totalpl": {
  13834. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  13835. "type": "number"
  13836. },
  13837. "tradedate": {
  13838. "description": "交易日(yyyyMMdd)",
  13839. "type": "string"
  13840. },
  13841. "updatetime": {
  13842. "description": "更新时间",
  13843. "type": "string"
  13844. },
  13845. "usedquota": {
  13846. "description": "已占用资金",
  13847. "type": "number"
  13848. },
  13849. "userid": {
  13850. "description": "所属机构",
  13851. "type": "integer"
  13852. }
  13853. }
  13854. },
  13855. "erms2.QueryInnerTradeDetailRsp": {
  13856. "type": "object",
  13857. "required": [
  13858. "asapplyid",
  13859. "buyorsell",
  13860. "goodscode",
  13861. "goodsgroupid",
  13862. "goodsgroupname",
  13863. "goodsname",
  13864. "tradeid"
  13865. ],
  13866. "properties": {
  13867. "accountid": {
  13868. "description": "账号ID",
  13869. "type": "integer"
  13870. },
  13871. "agreeunit": {
  13872. "description": "合约单位",
  13873. "type": "number"
  13874. },
  13875. "asapplyid": {
  13876. "description": "策略申请ID",
  13877. "type": "integer"
  13878. },
  13879. "asname": {
  13880. "description": "策略名称",
  13881. "type": "string"
  13882. },
  13883. "asno": {
  13884. "description": "策略编号",
  13885. "type": "string"
  13886. },
  13887. "buyorsell": {
  13888. "description": "方向 - 0:买 1:卖",
  13889. "type": "integer"
  13890. },
  13891. "channelbuildtype": {
  13892. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  13893. "type": "integer"
  13894. },
  13895. "closetype": {
  13896. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  13897. "type": "integer"
  13898. },
  13899. "decimalplace": {
  13900. "description": "报价小数位",
  13901. "type": "integer"
  13902. },
  13903. "detailtype": {
  13904. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  13905. "type": "integer"
  13906. },
  13907. "exexchangecode": {
  13908. "description": "外部交易所代码",
  13909. "type": "string"
  13910. },
  13911. "exexchangename": {
  13912. "description": "外部交易所名称",
  13913. "type": "string"
  13914. },
  13915. "goodscode": {
  13916. "description": "商品代码(合约)",
  13917. "type": "string"
  13918. },
  13919. "goodsgroupid": {
  13920. "description": "商品组ID(品种ID)",
  13921. "type": "integer"
  13922. },
  13923. "goodsgroupname": {
  13924. "description": "商品组名称(品种)",
  13925. "type": "string"
  13926. },
  13927. "goodsid": {
  13928. "description": "商品ID",
  13929. "type": "integer"
  13930. },
  13931. "goodsname": {
  13932. "description": "商品名称(合约)",
  13933. "type": "string"
  13934. },
  13935. "goodunit": {
  13936. "description": "报价单位",
  13937. "type": "string"
  13938. },
  13939. "marketid": {
  13940. "description": "市场ID",
  13941. "type": "integer"
  13942. },
  13943. "orderid": {
  13944. "description": "委托单号",
  13945. "type": "string"
  13946. },
  13947. "outgoodscode": {
  13948. "description": "商品代码(外部)",
  13949. "type": "string"
  13950. },
  13951. "relatedouttradeid": {
  13952. "description": "关联外部成交单ID",
  13953. "type": "string"
  13954. },
  13955. "remark": {
  13956. "description": "备注",
  13957. "type": "string"
  13958. },
  13959. "spotcontractid": {
  13960. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  13961. "type": "integer"
  13962. },
  13963. "spotcontractno": {
  13964. "description": "现货合同编号",
  13965. "type": "string"
  13966. },
  13967. "tradeid": {
  13968. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13969. "type": "string"
  13970. },
  13971. "tradeprice": {
  13972. "description": "成交价格",
  13973. "type": "number"
  13974. },
  13975. "tradeqty": {
  13976. "description": "成交数量",
  13977. "type": "integer"
  13978. },
  13979. "tradetime": {
  13980. "description": "成交时间",
  13981. "type": "string"
  13982. },
  13983. "updatetime": {
  13984. "description": "更新时间",
  13985. "type": "string"
  13986. }
  13987. }
  13988. },
  13989. "erms2.QuerySpotContractRsp": {
  13990. "type": "object",
  13991. "required": [
  13992. "spotcontractid"
  13993. ],
  13994. "properties": {
  13995. "accountid": {
  13996. "description": "资金账户ID",
  13997. "type": "integer"
  13998. },
  13999. "areauserid": {
  14000. "description": "所属机构",
  14001. "type": "integer"
  14002. },
  14003. "closedate": {
  14004. "description": "终止日期",
  14005. "type": "string"
  14006. },
  14007. "closeremark": {
  14008. "description": "结束备注",
  14009. "type": "string"
  14010. },
  14011. "closetradedate": {
  14012. "description": "完结交易日(yyyyMMdd)",
  14013. "type": "string"
  14014. },
  14015. "closetype": {
  14016. "description": "终止类型 - 1:违约 2:提前终止",
  14017. "type": "integer"
  14018. },
  14019. "contractamount": {
  14020. "description": "合同金额",
  14021. "type": "number"
  14022. },
  14023. "contractattachment": {
  14024. "description": "合同附件",
  14025. "type": "string"
  14026. },
  14027. "contractno": {
  14028. "description": "现货合同编号",
  14029. "type": "string"
  14030. },
  14031. "contractqty": {
  14032. "description": "合同数量(数值) (用于计算)",
  14033. "type": "number"
  14034. },
  14035. "contractqtychar": {
  14036. "description": "合同数量\\已订价数量 (用于显示)",
  14037. "type": "string"
  14038. },
  14039. "contractstatus": {
  14040. "description": "合同状态 - 0:未结束 1:已结束",
  14041. "type": "integer"
  14042. },
  14043. "contracttype": {
  14044. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14045. "type": "integer"
  14046. },
  14047. "customeraccountid": {
  14048. "description": "客户资金账户ID",
  14049. "type": "integer"
  14050. },
  14051. "customeruserid": {
  14052. "description": "客户ID",
  14053. "type": "integer"
  14054. },
  14055. "deliverygoodsdesc": {
  14056. "description": "品种说明",
  14057. "type": "string"
  14058. },
  14059. "deliverygoodsid": {
  14060. "description": "现货品种ID",
  14061. "type": "integer"
  14062. },
  14063. "handlestatus": {
  14064. "description": "处理状态",
  14065. "type": "integer"
  14066. },
  14067. "invoiceatt": {
  14068. "description": "发票附件",
  14069. "type": "string"
  14070. },
  14071. "invoicedatetime": {
  14072. "description": "开收票更新时间",
  14073. "type": "string"
  14074. },
  14075. "invoiceopentime": {
  14076. "description": "开票时间",
  14077. "type": "string"
  14078. },
  14079. "invoiceremark": {
  14080. "description": "发票备注",
  14081. "type": "string"
  14082. },
  14083. "invoicestatus": {
  14084. "description": "开收票状态 - 0:未开票 1:已开票",
  14085. "type": "integer"
  14086. },
  14087. "lastdate": {
  14088. "description": "交货时间",
  14089. "type": "string"
  14090. },
  14091. "marketid": {
  14092. "description": "市场ID",
  14093. "type": "integer"
  14094. },
  14095. "paydatetime": {
  14096. "description": "收付款更新时间",
  14097. "type": "string"
  14098. },
  14099. "payremark": {
  14100. "description": "收付款备注",
  14101. "type": "string"
  14102. },
  14103. "paystatus": {
  14104. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14105. "type": "integer"
  14106. },
  14107. "positionqty": {
  14108. "description": "头寸数量 - 合同数量去小数部分",
  14109. "type": "integer"
  14110. },
  14111. "producttype": {
  14112. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14113. "type": "integer"
  14114. },
  14115. "relatedqty": {
  14116. "description": "已关联数量",
  14117. "type": "number"
  14118. },
  14119. "relatedstatus": {
  14120. "description": "关联完结状态 - 0:未结束 1:已结束",
  14121. "type": "integer"
  14122. },
  14123. "remark": {
  14124. "description": "备注",
  14125. "type": "string"
  14126. },
  14127. "signdate": {
  14128. "description": "签订日期",
  14129. "type": "string"
  14130. },
  14131. "spotcontractid": {
  14132. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14133. "type": "string"
  14134. },
  14135. "spotdatetime": {
  14136. "description": "收发货更新时间",
  14137. "type": "string"
  14138. },
  14139. "spotprice": {
  14140. "description": "价格",
  14141. "type": "number"
  14142. },
  14143. "spotremark": {
  14144. "description": "收发货备注",
  14145. "type": "string"
  14146. },
  14147. "spotstatus": {
  14148. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14149. "type": "integer"
  14150. },
  14151. "tradedate": {
  14152. "description": "交易日(yyyyMMdd)",
  14153. "type": "string"
  14154. },
  14155. "userid": {
  14156. "description": "业务员用户ID",
  14157. "type": "integer"
  14158. },
  14159. "warehouseid": {
  14160. "description": "仓库ID",
  14161. "type": "integer"
  14162. },
  14163. "wrfactortypeid": {
  14164. "description": "仓单要素类型ID",
  14165. "type": "integer"
  14166. },
  14167. "wrstandardid": {
  14168. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14169. "type": "integer"
  14170. }
  14171. }
  14172. },
  14173. "erms3.AddErms2ASApplyReq": {
  14174. "type": "object",
  14175. "required": [
  14176. "asapplyid"
  14177. ],
  14178. "properties": {
  14179. "applybasis": {
  14180. "description": "申请基差",
  14181. "type": "number"
  14182. },
  14183. "applystatus": {
  14184. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14185. "type": "integer"
  14186. },
  14187. "asapplyid": {
  14188. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14189. "type": "integer"
  14190. },
  14191. "asname": {
  14192. "description": "策略名称",
  14193. "type": "string"
  14194. },
  14195. "asno": {
  14196. "description": "策略编号",
  14197. "type": "string"
  14198. },
  14199. "auditid": {
  14200. "description": "审核人",
  14201. "type": "integer"
  14202. },
  14203. "auditremark": {
  14204. "description": "审核备注",
  14205. "type": "string"
  14206. },
  14207. "audittime": {
  14208. "description": "审核时间",
  14209. "type": "string"
  14210. },
  14211. "biztype": {
  14212. "description": "业务类型 - 1:正向套利 2:反向套利",
  14213. "type": "integer"
  14214. },
  14215. "createtime": {
  14216. "description": "创建时间",
  14217. "type": "string"
  14218. },
  14219. "creatorid": {
  14220. "description": "创建人",
  14221. "type": "integer"
  14222. },
  14223. "deliverygoodsid": {
  14224. "description": "现货品种ID",
  14225. "type": "integer"
  14226. },
  14227. "futurequote": {
  14228. "description": "期货额度",
  14229. "type": "number"
  14230. },
  14231. "goodsgroupid": {
  14232. "description": "期货品种ID",
  14233. "type": "integer"
  14234. },
  14235. "marketid": {
  14236. "description": "市场ID",
  14237. "type": "integer"
  14238. },
  14239. "remark": {
  14240. "description": "备注",
  14241. "type": "string"
  14242. },
  14243. "spotquota": {
  14244. "description": "现货额度",
  14245. "type": "number"
  14246. },
  14247. "tradedate": {
  14248. "description": "交易日(yyyyMMdd)",
  14249. "type": "string"
  14250. },
  14251. "userid": {
  14252. "description": "所属机构",
  14253. "type": "integer"
  14254. }
  14255. }
  14256. },
  14257. "erms3.AddErms2SpotTradeApplyReq": {
  14258. "type": "object",
  14259. "required": [
  14260. "spottradeid"
  14261. ],
  14262. "properties": {
  14263. "applyjsondetail": {
  14264. "description": "申请明细(JSON)",
  14265. "type": "string"
  14266. },
  14267. "applystatus": {
  14268. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14269. "type": "integer"
  14270. },
  14271. "areauserid": {
  14272. "description": "所属机构",
  14273. "type": "integer"
  14274. },
  14275. "auditid": {
  14276. "description": "审核人",
  14277. "type": "integer"
  14278. },
  14279. "auditremark": {
  14280. "description": "审核备注",
  14281. "type": "string"
  14282. },
  14283. "audittime": {
  14284. "description": "审核时间",
  14285. "type": "string"
  14286. },
  14287. "createtime": {
  14288. "description": "创建时间",
  14289. "type": "string"
  14290. },
  14291. "creatorid": {
  14292. "description": "创建人",
  14293. "type": "integer"
  14294. },
  14295. "deliverygoodsid": {
  14296. "description": "现货品种ID",
  14297. "type": "integer"
  14298. },
  14299. "futureaccountid": {
  14300. "description": "期货资金账户",
  14301. "type": "integer"
  14302. },
  14303. "goodsgroupid": {
  14304. "description": "期货品种",
  14305. "type": "integer"
  14306. },
  14307. "marketid": {
  14308. "description": "市场ID",
  14309. "type": "integer"
  14310. },
  14311. "remark": {
  14312. "description": "备注",
  14313. "type": "string"
  14314. },
  14315. "spotaccountid": {
  14316. "description": "现货资金账户",
  14317. "type": "integer"
  14318. },
  14319. "spottradeid": {
  14320. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14321. "type": "integer"
  14322. },
  14323. "spottradename": {
  14324. "description": "业务名称",
  14325. "type": "string"
  14326. },
  14327. "spottradeno": {
  14328. "description": "业务编号",
  14329. "type": "string"
  14330. },
  14331. "tradedate": {
  14332. "description": "交易日(yyyyMMdd)",
  14333. "type": "string"
  14334. },
  14335. "wrstandardid": {
  14336. "description": "仓单标准ID",
  14337. "type": "integer"
  14338. }
  14339. }
  14340. },
  14341. "erms3.AddSpotContractApplyReq": {
  14342. "type": "object",
  14343. "required": [
  14344. "accountid",
  14345. "areauserid",
  14346. "contractno",
  14347. "contracttype",
  14348. "customeraccountid",
  14349. "customeruserid",
  14350. "details",
  14351. "orimargin",
  14352. "signdate"
  14353. ],
  14354. "properties": {
  14355. "accountid": {
  14356. "description": "资金账户ID",
  14357. "type": "integer"
  14358. },
  14359. "areauserid": {
  14360. "description": "所属机构",
  14361. "type": "integer"
  14362. },
  14363. "contractattachment": {
  14364. "description": "合同附件",
  14365. "type": "string"
  14366. },
  14367. "contractno": {
  14368. "description": "现货合同编号",
  14369. "type": "string"
  14370. },
  14371. "contracttype": {
  14372. "description": "现货合同类型 - 1:采购 -1:销售",
  14373. "type": "integer"
  14374. },
  14375. "creatorid": {
  14376. "description": "申请人",
  14377. "type": "integer"
  14378. },
  14379. "customeraccountid": {
  14380. "description": "客户资金账户ID",
  14381. "type": "integer"
  14382. },
  14383. "customeruserid": {
  14384. "description": "客户ID",
  14385. "type": "integer"
  14386. },
  14387. "details": {
  14388. "description": "明细",
  14389. "type": "array",
  14390. "items": {
  14391. "$ref": "#/definitions/erms3.SoptContractDetail"
  14392. }
  14393. },
  14394. "orimargin": {
  14395. "description": "初始保证金",
  14396. "type": "number"
  14397. },
  14398. "remark": {
  14399. "description": "备注",
  14400. "type": "string"
  14401. },
  14402. "signdate": {
  14403. "description": "签订日期",
  14404. "type": "string"
  14405. }
  14406. }
  14407. },
  14408. "erms3.AddSpotContractApplyRsp": {
  14409. "type": "object",
  14410. "required": [
  14411. "contractno"
  14412. ],
  14413. "properties": {
  14414. "contractno": {
  14415. "description": "现货合同编号",
  14416. "type": "string"
  14417. },
  14418. "spotcontractid": {
  14419. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14420. "type": "integer"
  14421. }
  14422. }
  14423. },
  14424. "erms3.AddUserInfoApplyReq": {
  14425. "type": "object",
  14426. "required": [
  14427. "userid"
  14428. ],
  14429. "properties": {
  14430. "accountid": {
  14431. "description": "交易系统帐号Id (加密存储)",
  14432. "type": "integer"
  14433. },
  14434. "areacode": {
  14435. "description": "机构代码",
  14436. "type": "string"
  14437. },
  14438. "areaid": {
  14439. "description": "机构Id",
  14440. "type": "integer"
  14441. },
  14442. "attachment1": {
  14443. "description": "附件1",
  14444. "type": "string"
  14445. },
  14446. "attachment2": {
  14447. "description": "附件2",
  14448. "type": "string"
  14449. },
  14450. "attachment3": {
  14451. "description": "附件3",
  14452. "type": "string"
  14453. },
  14454. "attachment4": {
  14455. "description": "附件4",
  14456. "type": "string"
  14457. },
  14458. "attachment5": {
  14459. "description": "附件5",
  14460. "type": "string"
  14461. },
  14462. "auditedby": {
  14463. "description": "审核人",
  14464. "type": "string"
  14465. },
  14466. "auditime": {
  14467. "description": "审核时间",
  14468. "type": "string"
  14469. },
  14470. "auditsrc": {
  14471. "description": "审核来源 - 1:管理端 2:终端",
  14472. "type": "integer"
  14473. },
  14474. "bankaccount": {
  14475. "description": "银行帐号 (加密存储)",
  14476. "type": "string"
  14477. },
  14478. "bankaccountname": {
  14479. "description": "收款人名称",
  14480. "type": "string"
  14481. },
  14482. "bankcardbackphotourl": {
  14483. "description": "银行卡背面照地址",
  14484. "type": "string"
  14485. },
  14486. "bankcardfrontphotourl": {
  14487. "description": "银行卡正面照地址",
  14488. "type": "string"
  14489. },
  14490. "bankid": {
  14491. "description": "银行编码",
  14492. "type": "string"
  14493. },
  14494. "bankname": {
  14495. "description": "银行名称",
  14496. "type": "string"
  14497. },
  14498. "bankpictureurl": {
  14499. "description": "银行卡正面地址",
  14500. "type": "string"
  14501. },
  14502. "biznature": {
  14503. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14504. "type": "integer"
  14505. },
  14506. "bizscope": {
  14507. "description": "企业经营范围(企业)",
  14508. "type": "string"
  14509. },
  14510. "biztype": {
  14511. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14512. "type": "integer"
  14513. },
  14514. "brokerid": {
  14515. "description": "经纪人ID(加密存储)",
  14516. "type": "string"
  14517. },
  14518. "cardaddress": {
  14519. "description": "证件地址 (加密存储)",
  14520. "type": "string"
  14521. },
  14522. "cardbackphotourl": {
  14523. "description": "背面证件照地址",
  14524. "type": "string"
  14525. },
  14526. "cardfrontphotourl": {
  14527. "description": "正面证件照地址",
  14528. "type": "string"
  14529. },
  14530. "cardnum": {
  14531. "description": "证件号码 (加密存储)",
  14532. "type": "string"
  14533. },
  14534. "cardtype": {
  14535. "description": "证件类型",
  14536. "type": "integer"
  14537. },
  14538. "cityid": {
  14539. "description": "市",
  14540. "type": "integer"
  14541. },
  14542. "company": {
  14543. "description": "公司(个人)",
  14544. "type": "string"
  14545. },
  14546. "contactcardbackphotourl": {
  14547. "description": "联系人证件背面图片地址",
  14548. "type": "string"
  14549. },
  14550. "contactcardfrontphotourl": {
  14551. "description": "联系人证件正面图片地址",
  14552. "type": "string"
  14553. },
  14554. "contactname": {
  14555. "description": "联系人",
  14556. "type": "string"
  14557. },
  14558. "countryid": {
  14559. "description": "国家",
  14560. "type": "integer"
  14561. },
  14562. "createtime": {
  14563. "description": "开户申请时间",
  14564. "type": "string"
  14565. },
  14566. "cusbankid": {
  14567. "description": "签约类型",
  14568. "type": "string"
  14569. },
  14570. "cusbankname": {
  14571. "description": "签约类型名称",
  14572. "type": "string"
  14573. },
  14574. "customername": {
  14575. "description": "客户名称(企业名称)",
  14576. "type": "string"
  14577. },
  14578. "districtid": {
  14579. "description": "地区",
  14580. "type": "integer"
  14581. },
  14582. "email": {
  14583. "description": "Email地址(加密存储)",
  14584. "type": "string"
  14585. },
  14586. "halfbodyphotourl": {
  14587. "description": "半身照地址",
  14588. "type": "string"
  14589. },
  14590. "headurl": {
  14591. "description": "头像地址",
  14592. "type": "string"
  14593. },
  14594. "ipaddress": {
  14595. "description": "IP地址",
  14596. "type": "string"
  14597. },
  14598. "isvalidate": {
  14599. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14600. "type": "string"
  14601. },
  14602. "legalcardbackphotourl": {
  14603. "description": "法人身份证背面照地址",
  14604. "type": "string"
  14605. },
  14606. "legalcardfrontphotourl": {
  14607. "description": "法人身份证正面照地址",
  14608. "type": "string"
  14609. },
  14610. "legalpersonname": {
  14611. "description": "法人姓名(企业)",
  14612. "type": "string"
  14613. },
  14614. "logincode": {
  14615. "description": "登录帐号 (加密存储)",
  14616. "type": "string"
  14617. },
  14618. "memberareaid": {
  14619. "description": "所属会员ID",
  14620. "type": "integer"
  14621. },
  14622. "mobile2": {
  14623. "description": "手机号码[明文-尚志]",
  14624. "type": "string"
  14625. },
  14626. "mobilephone": {
  14627. "description": "手机号码 (加密存储)",
  14628. "type": "string"
  14629. },
  14630. "modifiedby": {
  14631. "description": "修改人帐号",
  14632. "type": "integer"
  14633. },
  14634. "modifiedtime": {
  14635. "description": "修改时间",
  14636. "type": "string"
  14637. },
  14638. "nickname": {
  14639. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14640. "type": "string"
  14641. },
  14642. "openmode": {
  14643. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14644. "type": "integer"
  14645. },
  14646. "otherurl": {
  14647. "description": "其它图片地址[使用分号分隔]",
  14648. "type": "string"
  14649. },
  14650. "postalcode": {
  14651. "description": "邮政编码",
  14652. "type": "string"
  14653. },
  14654. "provinceid": {
  14655. "description": "省",
  14656. "type": "integer"
  14657. },
  14658. "proxystatementurl": {
  14659. "description": "授权委托书",
  14660. "type": "string"
  14661. },
  14662. "qq": {
  14663. "description": "QQ(加密存储",
  14664. "type": "string"
  14665. },
  14666. "referral": {
  14667. "description": "推荐人编码",
  14668. "type": "string"
  14669. },
  14670. "remark": {
  14671. "description": "备注",
  14672. "type": "string"
  14673. },
  14674. "removebeforestatus": {
  14675. "description": "REMOVEBEFORESTATUS",
  14676. "type": "integer"
  14677. },
  14678. "sex": {
  14679. "description": "性别 - 0:女 1:男",
  14680. "type": "integer"
  14681. },
  14682. "signedstatus": {
  14683. "description": "账户一号签签约状态",
  14684. "type": "integer"
  14685. },
  14686. "signpdfurl": {
  14687. "description": "签约pdf文件",
  14688. "type": "string"
  14689. },
  14690. "subbranch": {
  14691. "description": "开户支行",
  14692. "type": "string"
  14693. },
  14694. "taxpayernum": {
  14695. "description": "纳税人识别号",
  14696. "type": "string"
  14697. },
  14698. "telphone": {
  14699. "description": "联系电话(加密存储)",
  14700. "type": "string"
  14701. },
  14702. "userid": {
  14703. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14704. "type": "integer"
  14705. },
  14706. "userinfotype": {
  14707. "description": "用户信息类型 - 1:个人 2:企业",
  14708. "type": "integer"
  14709. },
  14710. "username": {
  14711. "description": "用户姓名",
  14712. "type": "string"
  14713. },
  14714. "userstate": {
  14715. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14716. "type": "integer"
  14717. },
  14718. "usertype": {
  14719. "description": "用户类型 - 1:投资者 2:机构",
  14720. "type": "integer"
  14721. },
  14722. "videourl": {
  14723. "description": "视频地址",
  14724. "type": "string"
  14725. },
  14726. "wechat": {
  14727. "description": "微信号 (加密存储)",
  14728. "type": "string"
  14729. }
  14730. }
  14731. },
  14732. "erms3.CustomerInfo": {
  14733. "type": "object",
  14734. "required": [
  14735. "userid"
  14736. ],
  14737. "properties": {
  14738. "accountids": {
  14739. "description": "资金账户ID列表",
  14740. "type": "array",
  14741. "items": {
  14742. "type": "integer"
  14743. }
  14744. },
  14745. "customername": {
  14746. "description": "名称(企业名称)",
  14747. "type": "string"
  14748. },
  14749. "mobile": {
  14750. "description": "手机号码",
  14751. "type": "string"
  14752. },
  14753. "userid": {
  14754. "description": "用户ID",
  14755. "type": "integer"
  14756. }
  14757. }
  14758. },
  14759. "erms3.ModifyUserInfoApplyReq": {
  14760. "type": "object",
  14761. "required": [
  14762. "userid"
  14763. ],
  14764. "properties": {
  14765. "accountid": {
  14766. "description": "交易系统帐号Id (加密存储)",
  14767. "type": "integer"
  14768. },
  14769. "areacode": {
  14770. "description": "机构代码",
  14771. "type": "string"
  14772. },
  14773. "areaid": {
  14774. "description": "机构Id",
  14775. "type": "integer"
  14776. },
  14777. "attachment1": {
  14778. "description": "附件1",
  14779. "type": "string"
  14780. },
  14781. "attachment2": {
  14782. "description": "附件2",
  14783. "type": "string"
  14784. },
  14785. "attachment3": {
  14786. "description": "附件3",
  14787. "type": "string"
  14788. },
  14789. "attachment4": {
  14790. "description": "附件4",
  14791. "type": "string"
  14792. },
  14793. "attachment5": {
  14794. "description": "附件5",
  14795. "type": "string"
  14796. },
  14797. "auditedby": {
  14798. "description": "审核人",
  14799. "type": "string"
  14800. },
  14801. "auditime": {
  14802. "description": "审核时间",
  14803. "type": "string"
  14804. },
  14805. "auditsrc": {
  14806. "description": "审核来源 - 1:管理端 2:终端",
  14807. "type": "integer"
  14808. },
  14809. "bankaccount": {
  14810. "description": "银行帐号 (加密存储)",
  14811. "type": "string"
  14812. },
  14813. "bankaccountname": {
  14814. "description": "收款人名称",
  14815. "type": "string"
  14816. },
  14817. "bankcardbackphotourl": {
  14818. "description": "银行卡背面照地址",
  14819. "type": "string"
  14820. },
  14821. "bankcardfrontphotourl": {
  14822. "description": "银行卡正面照地址",
  14823. "type": "string"
  14824. },
  14825. "bankid": {
  14826. "description": "银行编码",
  14827. "type": "string"
  14828. },
  14829. "bankname": {
  14830. "description": "银行名称",
  14831. "type": "string"
  14832. },
  14833. "bankpictureurl": {
  14834. "description": "银行卡正面地址",
  14835. "type": "string"
  14836. },
  14837. "biznature": {
  14838. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14839. "type": "integer"
  14840. },
  14841. "bizscope": {
  14842. "description": "企业经营范围(企业)",
  14843. "type": "string"
  14844. },
  14845. "biztype": {
  14846. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14847. "type": "integer"
  14848. },
  14849. "brokerid": {
  14850. "description": "经纪人ID(加密存储)",
  14851. "type": "string"
  14852. },
  14853. "cardaddress": {
  14854. "description": "证件地址 (加密存储)",
  14855. "type": "string"
  14856. },
  14857. "cardbackphotourl": {
  14858. "description": "背面证件照地址",
  14859. "type": "string"
  14860. },
  14861. "cardfrontphotourl": {
  14862. "description": "正面证件照地址",
  14863. "type": "string"
  14864. },
  14865. "cardnum": {
  14866. "description": "证件号码 (加密存储)",
  14867. "type": "string"
  14868. },
  14869. "cardtype": {
  14870. "description": "证件类型",
  14871. "type": "integer"
  14872. },
  14873. "cityid": {
  14874. "description": "市",
  14875. "type": "integer"
  14876. },
  14877. "company": {
  14878. "description": "公司(个人)",
  14879. "type": "string"
  14880. },
  14881. "contactcardbackphotourl": {
  14882. "description": "联系人证件背面图片地址",
  14883. "type": "string"
  14884. },
  14885. "contactcardfrontphotourl": {
  14886. "description": "联系人证件正面图片地址",
  14887. "type": "string"
  14888. },
  14889. "contactname": {
  14890. "description": "联系人",
  14891. "type": "string"
  14892. },
  14893. "countryid": {
  14894. "description": "国家",
  14895. "type": "integer"
  14896. },
  14897. "createtime": {
  14898. "description": "开户申请时间",
  14899. "type": "string"
  14900. },
  14901. "cusbankid": {
  14902. "description": "签约类型",
  14903. "type": "string"
  14904. },
  14905. "cusbankname": {
  14906. "description": "签约类型名称",
  14907. "type": "string"
  14908. },
  14909. "customername": {
  14910. "description": "客户名称(企业名称)",
  14911. "type": "string"
  14912. },
  14913. "districtid": {
  14914. "description": "地区",
  14915. "type": "integer"
  14916. },
  14917. "email": {
  14918. "description": "Email地址(加密存储)",
  14919. "type": "string"
  14920. },
  14921. "halfbodyphotourl": {
  14922. "description": "半身照地址",
  14923. "type": "string"
  14924. },
  14925. "headurl": {
  14926. "description": "头像地址",
  14927. "type": "string"
  14928. },
  14929. "ipaddress": {
  14930. "description": "IP地址",
  14931. "type": "string"
  14932. },
  14933. "isvalidate": {
  14934. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14935. "type": "string"
  14936. },
  14937. "legalcardbackphotourl": {
  14938. "description": "法人身份证背面照地址",
  14939. "type": "string"
  14940. },
  14941. "legalcardfrontphotourl": {
  14942. "description": "法人身份证正面照地址",
  14943. "type": "string"
  14944. },
  14945. "legalpersonname": {
  14946. "description": "法人姓名(企业)",
  14947. "type": "string"
  14948. },
  14949. "logincode": {
  14950. "description": "登录帐号 (加密存储)",
  14951. "type": "string"
  14952. },
  14953. "memberareaid": {
  14954. "description": "所属会员ID",
  14955. "type": "integer"
  14956. },
  14957. "mobile2": {
  14958. "description": "手机号码[明文-尚志]",
  14959. "type": "string"
  14960. },
  14961. "mobilephone": {
  14962. "description": "手机号码 (加密存储)",
  14963. "type": "string"
  14964. },
  14965. "modifiedby": {
  14966. "description": "修改人帐号",
  14967. "type": "integer"
  14968. },
  14969. "modifiedtime": {
  14970. "description": "修改时间",
  14971. "type": "string"
  14972. },
  14973. "nickname": {
  14974. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14975. "type": "string"
  14976. },
  14977. "openmode": {
  14978. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14979. "type": "integer"
  14980. },
  14981. "otherurl": {
  14982. "description": "其它图片地址[使用分号分隔]",
  14983. "type": "string"
  14984. },
  14985. "postalcode": {
  14986. "description": "邮政编码",
  14987. "type": "string"
  14988. },
  14989. "provinceid": {
  14990. "description": "省",
  14991. "type": "integer"
  14992. },
  14993. "proxystatementurl": {
  14994. "description": "授权委托书",
  14995. "type": "string"
  14996. },
  14997. "qq": {
  14998. "description": "QQ(加密存储",
  14999. "type": "string"
  15000. },
  15001. "referral": {
  15002. "description": "推荐人编码",
  15003. "type": "string"
  15004. },
  15005. "remark": {
  15006. "description": "备注",
  15007. "type": "string"
  15008. },
  15009. "removebeforestatus": {
  15010. "description": "REMOVEBEFORESTATUS",
  15011. "type": "integer"
  15012. },
  15013. "sex": {
  15014. "description": "性别 - 0:女 1:男",
  15015. "type": "integer"
  15016. },
  15017. "signedstatus": {
  15018. "description": "账户一号签签约状态",
  15019. "type": "integer"
  15020. },
  15021. "signpdfurl": {
  15022. "description": "签约pdf文件",
  15023. "type": "string"
  15024. },
  15025. "subbranch": {
  15026. "description": "开户支行",
  15027. "type": "string"
  15028. },
  15029. "taxpayernum": {
  15030. "description": "纳税人识别号",
  15031. "type": "string"
  15032. },
  15033. "telphone": {
  15034. "description": "联系电话(加密存储)",
  15035. "type": "string"
  15036. },
  15037. "userid": {
  15038. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15039. "type": "integer"
  15040. },
  15041. "userinfotype": {
  15042. "description": "用户信息类型 - 1:个人 2:企业",
  15043. "type": "integer"
  15044. },
  15045. "username": {
  15046. "description": "用户姓名",
  15047. "type": "string"
  15048. },
  15049. "userstate": {
  15050. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15051. "type": "integer"
  15052. },
  15053. "usertype": {
  15054. "description": "用户类型 - 1:投资者 2:机构",
  15055. "type": "integer"
  15056. },
  15057. "videourl": {
  15058. "description": "视频地址",
  15059. "type": "string"
  15060. },
  15061. "wechat": {
  15062. "description": "微信号 (加密存储)",
  15063. "type": "string"
  15064. }
  15065. }
  15066. },
  15067. "erms3.QryAuditContractRsp": {
  15068. "type": "object",
  15069. "required": [
  15070. "matchcustomername",
  15071. "spotcontractid"
  15072. ],
  15073. "properties": {
  15074. "accountid": {
  15075. "description": "交易员ID",
  15076. "type": "string"
  15077. },
  15078. "applystatus": {
  15079. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15080. "type": "integer"
  15081. },
  15082. "curdeliveryqty": {
  15083. "description": "未交收量",
  15084. "type": "integer"
  15085. },
  15086. "customername": {
  15087. "description": "采购方ID",
  15088. "type": "string"
  15089. },
  15090. "deliverygoodsid": {
  15091. "description": "品种ID",
  15092. "type": "string"
  15093. },
  15094. "deliveryqty": {
  15095. "description": "交收量",
  15096. "type": "integer"
  15097. },
  15098. "enumdicname": {
  15099. "description": "单位名称",
  15100. "type": "string"
  15101. },
  15102. "matchaccountid": {
  15103. "description": "业务员ID",
  15104. "type": "string"
  15105. },
  15106. "matchcustomername": {
  15107. "description": "销售方ID",
  15108. "type": "string"
  15109. },
  15110. "pricedqty": {
  15111. "description": "定价量",
  15112. "type": "number"
  15113. },
  15114. "signdate": {
  15115. "description": "签订日期",
  15116. "type": "string"
  15117. },
  15118. "spotcontractid": {
  15119. "description": "合同ID",
  15120. "type": "string"
  15121. },
  15122. "totaldqty": {
  15123. "description": "合同量",
  15124. "type": "number"
  15125. },
  15126. "unpricedqty": {
  15127. "description": "未定价量",
  15128. "type": "number"
  15129. },
  15130. "wrstandardname": {
  15131. "description": "商品名称",
  15132. "type": "string"
  15133. }
  15134. }
  15135. },
  15136. "erms3.QryPendingBizRsp": {
  15137. "$ref": "#/definitions/models.PendingAuditBizModel"
  15138. },
  15139. "erms3.QueryBusinessInfoRsp": {
  15140. "type": "object",
  15141. "properties": {
  15142. "businessid": {
  15143. "description": "业务ID.",
  15144. "type": "integer"
  15145. },
  15146. "buyamount": {
  15147. "description": "采购额.",
  15148. "type": "number"
  15149. },
  15150. "buyqty": {
  15151. "description": "采购量.",
  15152. "type": "string"
  15153. },
  15154. "futurepl": {
  15155. "description": "期货盈亏.",
  15156. "type": "number"
  15157. },
  15158. "futureqty": {
  15159. "description": "期货敞口.",
  15160. "type": "string"
  15161. },
  15162. "goodsid": {
  15163. "description": "商品名称/商品代码.",
  15164. "type": "string"
  15165. },
  15166. "hedgingqty": {
  15167. "description": "套保量.",
  15168. "type": "string"
  15169. },
  15170. "sellamount": {
  15171. "description": "销售额.",
  15172. "type": "number"
  15173. },
  15174. "sellqty": {
  15175. "description": "销售量.",
  15176. "type": "string"
  15177. },
  15178. "spotmarketvalue": {
  15179. "description": "现货市值.",
  15180. "type": "number"
  15181. },
  15182. "spotpl": {
  15183. "description": "浮动权益.",
  15184. "type": "number"
  15185. },
  15186. "spotqty": {
  15187. "description": "现货量.",
  15188. "type": "string"
  15189. },
  15190. "statu": {
  15191. "description": "状态,0-未结束 1-已结束.",
  15192. "type": "integer"
  15193. },
  15194. "totalpl": {
  15195. "description": "总盈亏.",
  15196. "type": "number"
  15197. },
  15198. "totalqty": {
  15199. "description": "总敞口.",
  15200. "type": "string"
  15201. },
  15202. "type": {
  15203. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15204. "type": "integer"
  15205. }
  15206. }
  15207. },
  15208. "erms3.QuerySpotContractAppleFormRsp": {
  15209. "type": "object",
  15210. "properties": {
  15211. "goodses": {
  15212. "description": "合约列表",
  15213. "type": "array",
  15214. "items": {
  15215. "$ref": "#/definitions/models.GoodsIDAndName"
  15216. }
  15217. },
  15218. "oppositeusers": {
  15219. "description": "对方账号列表",
  15220. "type": "array",
  15221. "items": {
  15222. "$ref": "#/definitions/erms3.CustomerInfo"
  15223. }
  15224. },
  15225. "ouruser": {
  15226. "description": "我方账号",
  15227. "type": "object",
  15228. "$ref": "#/definitions/erms3.CustomerInfo"
  15229. },
  15230. "warehouseinfos": {
  15231. "description": "仓库信息列表",
  15232. "type": "array",
  15233. "items": {
  15234. "$ref": "#/definitions/models.Warehouseinfo"
  15235. }
  15236. },
  15237. "wrstandards": {
  15238. "description": "仓单标准列表",
  15239. "type": "array",
  15240. "items": {
  15241. "$ref": "#/definitions/models.WRStandardInfo"
  15242. }
  15243. }
  15244. }
  15245. },
  15246. "erms3.QuerySpotContractInfoRsp": {
  15247. "type": "object",
  15248. "properties": {
  15249. "accountid": {
  15250. "description": "表示交易员ID.",
  15251. "type": "integer"
  15252. },
  15253. "curdeliveryqty": {
  15254. "description": "表示未交收量.",
  15255. "type": "number"
  15256. },
  15257. "customername": {
  15258. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15259. "type": "string"
  15260. },
  15261. "deliverygoodsid": {
  15262. "description": "表示品种ID.",
  15263. "type": "string"
  15264. },
  15265. "deliveryqty": {
  15266. "description": "表示交收量.",
  15267. "type": "number"
  15268. },
  15269. "matchaccountid": {
  15270. "description": "表示业务员ID.",
  15271. "type": "integer"
  15272. },
  15273. "matchcustomername": {
  15274. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15275. "type": "string"
  15276. },
  15277. "priceqty": {
  15278. "description": "表示定价量.",
  15279. "type": "number"
  15280. },
  15281. "relatedbizid": {
  15282. "description": "表示业务ID.",
  15283. "type": "string"
  15284. },
  15285. "signdate": {
  15286. "description": "表示签订日期.",
  15287. "type": "string"
  15288. },
  15289. "spotcontractid": {
  15290. "description": "合同ID",
  15291. "type": "string"
  15292. },
  15293. "status": {
  15294. "description": "表示状态,0-履约中 1-已完成.",
  15295. "type": "integer"
  15296. },
  15297. "totalqty": {
  15298. "description": "表示合同量.",
  15299. "type": "number"
  15300. },
  15301. "unpricedqty": {
  15302. "description": "表示未定价量.",
  15303. "type": "number"
  15304. },
  15305. "wrstandardname": {
  15306. "description": "表示商品ID.",
  15307. "type": "string"
  15308. }
  15309. }
  15310. },
  15311. "erms3.QueryUserInfoAppliesRsp": {
  15312. "type": "object",
  15313. "required": [
  15314. "userid"
  15315. ],
  15316. "properties": {
  15317. "biznature": {
  15318. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15319. "type": "integer"
  15320. },
  15321. "contactname": {
  15322. "description": "联系人",
  15323. "type": "string"
  15324. },
  15325. "createtime": {
  15326. "description": "开户申请时间",
  15327. "type": "string"
  15328. },
  15329. "userid": {
  15330. "description": "用户ID(自增ID)",
  15331. "type": "integer"
  15332. },
  15333. "userinfotype": {
  15334. "description": "用户信息类型 - 1:个人 2:企业",
  15335. "type": "integer"
  15336. },
  15337. "username": {
  15338. "description": "用户姓名",
  15339. "type": "string"
  15340. },
  15341. "userstate": {
  15342. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15343. "type": "integer"
  15344. }
  15345. }
  15346. },
  15347. "erms3.QueryUserInfosRsp": {
  15348. "type": "object",
  15349. "required": [
  15350. "userid"
  15351. ],
  15352. "properties": {
  15353. "biznature": {
  15354. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15355. "type": "integer"
  15356. },
  15357. "contactname": {
  15358. "description": "联系人",
  15359. "type": "string"
  15360. },
  15361. "customername": {
  15362. "description": "客户名称(企业名称)",
  15363. "type": "string"
  15364. },
  15365. "userid": {
  15366. "description": "用户ID",
  15367. "type": "integer"
  15368. },
  15369. "userinfotype": {
  15370. "description": "用户信息类型 - 1:个人 2:企业",
  15371. "type": "integer"
  15372. },
  15373. "userstatus": {
  15374. "description": "用户状态 - 1:正常 2:注销",
  15375. "type": "integer"
  15376. }
  15377. }
  15378. },
  15379. "erms3.SoptContractDetail": {
  15380. "type": "object",
  15381. "required": [
  15382. "deliverygoodsid",
  15383. "producttype",
  15384. "unitname",
  15385. "warehouseid",
  15386. "wrstandardid",
  15387. "wrstandardname"
  15388. ],
  15389. "properties": {
  15390. "deliverygoodsdesc": {
  15391. "description": "现货品种说明",
  15392. "type": "string"
  15393. },
  15394. "deliverygoodsid": {
  15395. "description": "现货品种ID",
  15396. "type": "integer"
  15397. },
  15398. "deliverygoodsname": {
  15399. "description": "现货品种名称",
  15400. "type": "string"
  15401. },
  15402. "pointdesc": {
  15403. "description": "点价描述",
  15404. "type": "string"
  15405. },
  15406. "producttype": {
  15407. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15408. "type": "integer"
  15409. },
  15410. "producttypename": {
  15411. "description": "产品类型名称",
  15412. "type": "string"
  15413. },
  15414. "spotPointOrderVoList": {
  15415. "description": "点价列表",
  15416. "type": "array",
  15417. "items": {
  15418. "$ref": "#/definitions/erms3.SpotPointOrder"
  15419. }
  15420. },
  15421. "spotPriceOrderList": {
  15422. "description": "定价列表",
  15423. "type": "array",
  15424. "items": {
  15425. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15426. }
  15427. },
  15428. "unitname": {
  15429. "description": "单位名称",
  15430. "type": "string"
  15431. },
  15432. "warehouseid": {
  15433. "description": "仓库ID",
  15434. "type": "integer"
  15435. },
  15436. "warehousename": {
  15437. "description": "仓库名称",
  15438. "type": "string"
  15439. },
  15440. "wrstandardid": {
  15441. "description": "交易标的ID",
  15442. "type": "integer"
  15443. },
  15444. "wrstandardname": {
  15445. "description": "交易标的名称",
  15446. "type": "string"
  15447. }
  15448. }
  15449. },
  15450. "erms3.SpotPointOrder": {
  15451. "type": "object",
  15452. "required": [
  15453. "basic",
  15454. "goodsid",
  15455. "qty"
  15456. ],
  15457. "properties": {
  15458. "basic": {
  15459. "description": "基差",
  15460. "type": "number"
  15461. },
  15462. "deliveryenddate": {
  15463. "description": "交收结束日期",
  15464. "type": "string"
  15465. },
  15466. "deliverystartdate": {
  15467. "description": "交收开始日期",
  15468. "type": "string"
  15469. },
  15470. "enddate": {
  15471. "description": "点价结束日期",
  15472. "type": "string"
  15473. },
  15474. "goodsid": {
  15475. "description": "商品ID",
  15476. "type": "integer"
  15477. },
  15478. "goodsname": {
  15479. "description": "商品名称",
  15480. "type": "string"
  15481. },
  15482. "qty": {
  15483. "description": "数量",
  15484. "type": "number"
  15485. },
  15486. "startdate": {
  15487. "description": "点价开始日期",
  15488. "type": "string"
  15489. }
  15490. }
  15491. },
  15492. "erms3.SpotPriceOrder": {
  15493. "type": "object",
  15494. "required": [
  15495. "amount",
  15496. "price",
  15497. "qty"
  15498. ],
  15499. "properties": {
  15500. "amount": {
  15501. "description": "金额",
  15502. "type": "number"
  15503. },
  15504. "deliveryenddate": {
  15505. "description": "交收结束日期",
  15506. "type": "string"
  15507. },
  15508. "deliverystartdate": {
  15509. "description": "交收开始日期",
  15510. "type": "string"
  15511. },
  15512. "price": {
  15513. "description": "价格",
  15514. "type": "number"
  15515. },
  15516. "qty": {
  15517. "description": "数量",
  15518. "type": "number"
  15519. }
  15520. }
  15521. },
  15522. "hsby.GetHsbyMyCountRsp": {
  15523. "type": "object",
  15524. "properties": {
  15525. "myCouponCount": {
  15526. "description": "我的优惠卷数量",
  15527. "type": "integer"
  15528. },
  15529. "myOrderDetailListingCount": {
  15530. "description": "我的订单求购中数量",
  15531. "type": "integer"
  15532. },
  15533. "myOrderDetailPreCount": {
  15534. "description": "我的订单抢购中数量",
  15535. "type": "integer"
  15536. },
  15537. "myPackageUnReceiveCount": {
  15538. "description": "我的包裹待收货数量",
  15539. "type": "integer"
  15540. },
  15541. "myPackageUnSendCount": {
  15542. "description": "我的包裹待发货数量",
  15543. "type": "integer"
  15544. },
  15545. "myPayOrderCount": {
  15546. "description": "我的订单待付款数量",
  15547. "type": "integer"
  15548. }
  15549. }
  15550. },
  15551. "hsby.QueryProvincesAndCitiesRsp": {
  15552. "type": "object",
  15553. "properties": {
  15554. "cities": {
  15555. "description": "市",
  15556. "type": "array",
  15557. "items": {
  15558. "$ref": "#/definitions/models.Division"
  15559. }
  15560. },
  15561. "province": {
  15562. "description": "省",
  15563. "type": "object",
  15564. "$ref": "#/definitions/models.Division"
  15565. }
  15566. }
  15567. },
  15568. "models.AreaSpotModel": {
  15569. "type": "object",
  15570. "properties": {
  15571. "areauserid": {
  15572. "description": "所属机构",
  15573. "type": "integer"
  15574. },
  15575. "decreaseqty": {
  15576. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15577. "type": "number"
  15578. },
  15579. "increaseqty": {
  15580. "description": "增加数量=销售计划数量+采购已定价数量",
  15581. "type": "number"
  15582. },
  15583. "oritoalspotqty": {
  15584. "description": "昨日数量",
  15585. "type": "number"
  15586. },
  15587. "totalspotqty": {
  15588. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15589. "type": "number"
  15590. },
  15591. "updatetime": {
  15592. "description": "更新时间",
  15593. "type": "string"
  15594. },
  15595. "wrstandardcode": {
  15596. "description": "现货品种代码",
  15597. "type": "string"
  15598. },
  15599. "wrstandardid": {
  15600. "description": "现货商品ID",
  15601. "type": "integer"
  15602. },
  15603. "wrstandardname": {
  15604. "description": "现货品种",
  15605. "type": "string"
  15606. }
  15607. }
  15608. },
  15609. "models.Arearole": {
  15610. "type": "object",
  15611. "required": [
  15612. "roletype",
  15613. "userid"
  15614. ],
  15615. "properties": {
  15616. "createtime": {
  15617. "description": "创建时间",
  15618. "type": "string"
  15619. },
  15620. "creatorid": {
  15621. "description": "创建人ID",
  15622. "type": "integer"
  15623. },
  15624. "fromuserid": {
  15625. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15626. "type": "integer"
  15627. },
  15628. "isreturnscore": {
  15629. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15630. "type": "integer"
  15631. },
  15632. "modifierid": {
  15633. "description": "修改人ID",
  15634. "type": "integer"
  15635. },
  15636. "modifytime": {
  15637. "description": "修改时间",
  15638. "type": "string"
  15639. },
  15640. "orgtype": {
  15641. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15642. "type": "integer"
  15643. },
  15644. "outuserid": {
  15645. "description": "外部账户[场外期权做市商]",
  15646. "type": "string"
  15647. },
  15648. "parentuserid": {
  15649. "description": "上级组织机构(组织机构)",
  15650. "type": "integer"
  15651. },
  15652. "roletype": {
  15653. "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:门店",
  15654. "type": "integer"
  15655. },
  15656. "rootuserid": {
  15657. "description": "顶级组织机构用户ID(组织机构)",
  15658. "type": "integer"
  15659. },
  15660. "shoppassword": {
  15661. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15662. "type": "string"
  15663. },
  15664. "sublevelpath": {
  15665. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15666. "type": "string"
  15667. },
  15668. "suborgtype": {
  15669. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15670. "type": "integer"
  15671. },
  15672. "tradeaccountid": {
  15673. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15674. "type": "integer"
  15675. },
  15676. "transurl": {
  15677. "description": "物流地址(物流机构)",
  15678. "type": "string"
  15679. },
  15680. "userid": {
  15681. "description": "机构用户ID其他做市关系,都设置为 1",
  15682. "type": "integer"
  15683. }
  15684. }
  15685. },
  15686. "models.Clientfixedadconfig": {
  15687. "type": "object",
  15688. "required": [
  15689. "adsort",
  15690. "adtype"
  15691. ],
  15692. "properties": {
  15693. "adsort": {
  15694. "description": "排序",
  15695. "type": "integer"
  15696. },
  15697. "adtype": {
  15698. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15699. "type": "integer"
  15700. },
  15701. "areauserid": {
  15702. "description": "所属机构ID",
  15703. "type": "integer"
  15704. },
  15705. "createdate": {
  15706. "description": "创建时间",
  15707. "type": "string"
  15708. },
  15709. "creatorid": {
  15710. "description": "创建人",
  15711. "type": "integer"
  15712. },
  15713. "imagepath": {
  15714. "description": "图片",
  15715. "type": "string"
  15716. },
  15717. "isshow": {
  15718. "description": "是否展示 - 0:不展示 1:展示",
  15719. "type": "integer"
  15720. },
  15721. "modifierid": {
  15722. "description": "操作人",
  15723. "type": "integer"
  15724. },
  15725. "recsize": {
  15726. "description": "推荐尺寸",
  15727. "type": "string"
  15728. },
  15729. "title": {
  15730. "description": "标题",
  15731. "type": "string"
  15732. },
  15733. "updatedate": {
  15734. "description": "更新时间",
  15735. "type": "string"
  15736. },
  15737. "urlcontent": {
  15738. "description": "链接(地址或商品ID)",
  15739. "type": "string"
  15740. },
  15741. "urltype": {
  15742. "description": "链接类型 - 1:直接地址 2:商品ID",
  15743. "type": "integer"
  15744. }
  15745. }
  15746. },
  15747. "models.Division": {
  15748. "type": "object",
  15749. "required": [
  15750. "autoid",
  15751. "divisioncode"
  15752. ],
  15753. "properties": {
  15754. "autoid": {
  15755. "description": "自增ID",
  15756. "type": "integer"
  15757. },
  15758. "divisioncode": {
  15759. "description": "行政代码",
  15760. "type": "string"
  15761. },
  15762. "divisionlevel": {
  15763. "description": "行政级别",
  15764. "type": "string"
  15765. },
  15766. "divisionname": {
  15767. "description": "行政名称",
  15768. "type": "string"
  15769. },
  15770. "modifierid": {
  15771. "description": "修改人",
  15772. "type": "integer"
  15773. },
  15774. "modifytime": {
  15775. "description": "修改时间",
  15776. "type": "string"
  15777. },
  15778. "parentcode": {
  15779. "description": "上级行政代码",
  15780. "type": "string"
  15781. },
  15782. "pathname": {
  15783. "description": "路径名称",
  15784. "type": "string"
  15785. },
  15786. "postcode": {
  15787. "description": "邮政编码",
  15788. "type": "string"
  15789. },
  15790. "separablename": {
  15791. "description": "可拆分的全称",
  15792. "type": "string"
  15793. },
  15794. "shortcode": {
  15795. "description": "地区简码",
  15796. "type": "string"
  15797. }
  15798. }
  15799. },
  15800. "models.Enumdicitem": {
  15801. "type": "object",
  15802. "required": [
  15803. "autoid",
  15804. "enumdiccode",
  15805. "enumdicid",
  15806. "enumitemname"
  15807. ],
  15808. "properties": {
  15809. "autoid": {
  15810. "description": "自增ID",
  15811. "type": "integer"
  15812. },
  15813. "bankmappedvalue": {
  15814. "description": "银行服务对应值",
  15815. "type": "string"
  15816. },
  15817. "enumdiccode": {
  15818. "description": "所属枚举代码",
  15819. "type": "string"
  15820. },
  15821. "enumdicid": {
  15822. "description": "所属枚举ID",
  15823. "type": "integer"
  15824. },
  15825. "enumdicname": {
  15826. "description": "枚举项名称",
  15827. "type": "string"
  15828. },
  15829. "enumitemname": {
  15830. "description": "枚举项值",
  15831. "type": "integer"
  15832. },
  15833. "enumitemstatus": {
  15834. "description": "枚举项状态 - 1.启用 2.不启用",
  15835. "type": "integer"
  15836. },
  15837. "enumitemvalue": {
  15838. "description": "通用值 - [币种通用简写]",
  15839. "type": "string"
  15840. },
  15841. "param1": {
  15842. "description": "参数1[币种:币种小数位]",
  15843. "type": "string"
  15844. },
  15845. "param2": {
  15846. "description": "参数1[币种:币种显示单位]",
  15847. "type": "string"
  15848. },
  15849. "remark": {
  15850. "description": "备注",
  15851. "type": "string"
  15852. }
  15853. }
  15854. },
  15855. "models.Ermcp3AreaSpot": {
  15856. "type": "object",
  15857. "properties": {
  15858. "areauserid": {
  15859. "description": "所属机构",
  15860. "type": "integer"
  15861. },
  15862. "decreaseqty": {
  15863. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15864. "type": "number"
  15865. },
  15866. "deliverygoodscode": {
  15867. "description": "现货品种代码",
  15868. "type": "string"
  15869. },
  15870. "deliverygoodsid": {
  15871. "description": "现货品种id",
  15872. "type": "integer"
  15873. },
  15874. "deliverygoodsname": {
  15875. "description": "现货品种名称",
  15876. "type": "string"
  15877. },
  15878. "enumdicname": {
  15879. "description": "单位名称",
  15880. "type": "string"
  15881. },
  15882. "goodsunitid": {
  15883. "description": "现货品种单位id",
  15884. "type": "integer"
  15885. },
  15886. "increaseqty": {
  15887. "description": "增加数量=销售计划数量+采购已定价数量",
  15888. "type": "number"
  15889. },
  15890. "oritoalspotqty": {
  15891. "description": "昨日数量",
  15892. "type": "number"
  15893. },
  15894. "totalspotqty": {
  15895. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15896. "type": "number"
  15897. },
  15898. "updatetime": {
  15899. "description": "更新时间",
  15900. "type": "string"
  15901. }
  15902. }
  15903. },
  15904. "models.Ermcp3AreaSpotDetail": {
  15905. "type": "object",
  15906. "properties": {
  15907. "contracttype": {
  15908. "description": "合同类型 1-采购 -1-销售",
  15909. "type": "integer"
  15910. },
  15911. "createtime": {
  15912. "description": "创建时间",
  15913. "type": "string"
  15914. },
  15915. "deliverygoodscode": {
  15916. "description": "现货品种代码",
  15917. "type": "string"
  15918. },
  15919. "deliverygoodsid": {
  15920. "description": "现货品种id",
  15921. "type": "integer"
  15922. },
  15923. "deliverygoodsname": {
  15924. "description": "现货品种名称",
  15925. "type": "string"
  15926. },
  15927. "enumdicname": {
  15928. "description": "现货商品单位名称",
  15929. "type": "string"
  15930. },
  15931. "logtype": {
  15932. "description": "记录类型 1-套保 2-现货合同",
  15933. "type": "integer"
  15934. },
  15935. "qty": {
  15936. "description": "数量",
  15937. "type": "number"
  15938. },
  15939. "recordname": {
  15940. "description": "类型名称",
  15941. "type": "string"
  15942. },
  15943. "relatedid": {
  15944. "description": "套保计划ID/现货合同ID",
  15945. "type": "string"
  15946. },
  15947. "relatedno": {
  15948. "description": "编号",
  15949. "type": "string"
  15950. },
  15951. "strtime": {
  15952. "description": "时间",
  15953. "type": "string"
  15954. }
  15955. }
  15956. },
  15957. "models.Ermcp3AreaSpotPLReport": {
  15958. "type": "object",
  15959. "properties": {
  15960. "accountid": {
  15961. "description": "期货账户ID (作废, 默认为0)",
  15962. "type": "integer"
  15963. },
  15964. "accountname": {
  15965. "description": "机构名称",
  15966. "type": "string"
  15967. },
  15968. "actualpl": {
  15969. "description": "现货损益",
  15970. "type": "number"
  15971. },
  15972. "areauserid": {
  15973. "description": "所属机构\\交易用户ID",
  15974. "type": "integer"
  15975. },
  15976. "begindate": {
  15977. "description": "开始交易日",
  15978. "type": "string"
  15979. },
  15980. "biztype": {
  15981. "description": "业务类型 - 1:套保 2:套利",
  15982. "type": "integer"
  15983. },
  15984. "brandname": {
  15985. "description": "品牌名称",
  15986. "type": "string"
  15987. },
  15988. "curamount": {
  15989. "description": "期末额",
  15990. "type": "number"
  15991. },
  15992. "curaverageprice": {
  15993. "description": "期末均价",
  15994. "type": "number"
  15995. },
  15996. "curbuyamount": {
  15997. "description": "期末采购总额",
  15998. "type": "number"
  15999. },
  16000. "curbuyqty": {
  16001. "description": "期末采购总量",
  16002. "type": "number"
  16003. },
  16004. "curmarketvalue": {
  16005. "description": "参考市值(期末市值)",
  16006. "type": "number"
  16007. },
  16008. "curqty": {
  16009. "description": "期末量",
  16010. "type": "number"
  16011. },
  16012. "currencyid": {
  16013. "description": "结算币种ID【原值】",
  16014. "type": "integer"
  16015. },
  16016. "currencyname": {
  16017. "description": "币种名称",
  16018. "type": "string"
  16019. },
  16020. "cursellamount": {
  16021. "description": "期末销售总额",
  16022. "type": "number"
  16023. },
  16024. "cursellqty": {
  16025. "description": "期末销售总量",
  16026. "type": "number"
  16027. },
  16028. "curspotprice": {
  16029. "description": "参考市价(最新价)",
  16030. "type": "number"
  16031. },
  16032. "cycletime": {
  16033. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16034. "type": "string"
  16035. },
  16036. "cycletype": {
  16037. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16038. "type": "integer"
  16039. },
  16040. "deliverygoodscode": {
  16041. "description": "现货商品代码",
  16042. "type": "string"
  16043. },
  16044. "deliverygoodsid": {
  16045. "description": "现货品种ID",
  16046. "type": "integer"
  16047. },
  16048. "deliverygoodsname": {
  16049. "description": "现货商品名称",
  16050. "type": "string"
  16051. },
  16052. "enddate": {
  16053. "description": "结束交易日",
  16054. "type": "string"
  16055. },
  16056. "enumdicname": {
  16057. "description": "现货商品单位名称",
  16058. "type": "string"
  16059. },
  16060. "floatpl": {
  16061. "description": "浮动损益",
  16062. "type": "number"
  16063. },
  16064. "goodsunitid": {
  16065. "description": "现货商品单位id",
  16066. "type": "integer"
  16067. },
  16068. "oriamount": {
  16069. "description": "期初额",
  16070. "type": "number"
  16071. },
  16072. "oriaverageprice": {
  16073. "description": "期初均价",
  16074. "type": "number"
  16075. },
  16076. "oribuyamount": {
  16077. "description": "期初采购总额",
  16078. "type": "number"
  16079. },
  16080. "oribuyqty": {
  16081. "description": "期初采购总量",
  16082. "type": "number"
  16083. },
  16084. "oriqty": {
  16085. "description": "期初量",
  16086. "type": "number"
  16087. },
  16088. "orisellamount": {
  16089. "description": "期初销售总额",
  16090. "type": "number"
  16091. },
  16092. "orisellqty": {
  16093. "description": "期初销售总量",
  16094. "type": "number"
  16095. },
  16096. "reckondate": {
  16097. "description": "日照时期(yyyyMMdd)",
  16098. "type": "string"
  16099. },
  16100. "spotgoodsbrandid": {
  16101. "description": "现货品牌ID",
  16102. "type": "integer"
  16103. },
  16104. "todaybuyamount": {
  16105. "description": "今日采购额(今采购额)",
  16106. "type": "number"
  16107. },
  16108. "todaybuyaverageprice": {
  16109. "description": "今日采购均价",
  16110. "type": "number"
  16111. },
  16112. "todaybuyqty": {
  16113. "description": "今日采购量(今采购量)",
  16114. "type": "number"
  16115. },
  16116. "todayinqty": {
  16117. "description": "今日入库量(今入库量)",
  16118. "type": "number"
  16119. },
  16120. "todayoutqty": {
  16121. "description": "今日出库量(今出库量)",
  16122. "type": "number"
  16123. },
  16124. "todaysellamount": {
  16125. "description": "今日销售额(今销售额)",
  16126. "type": "number"
  16127. },
  16128. "todaysellaverageprice": {
  16129. "description": "今日销售均价",
  16130. "type": "number"
  16131. },
  16132. "todaysellqty": {
  16133. "description": "今日销售量(今销售量)",
  16134. "type": "number"
  16135. },
  16136. "unitid": {
  16137. "description": "品类单位id",
  16138. "type": "integer"
  16139. },
  16140. "unitidname": {
  16141. "description": "品类单位名称",
  16142. "type": "string"
  16143. },
  16144. "updatetime": {
  16145. "description": "更新时间",
  16146. "type": "string"
  16147. },
  16148. "wrfactortypeid": {
  16149. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16150. "type": "integer"
  16151. },
  16152. "wrstandardcode": {
  16153. "description": "品类代码",
  16154. "type": "string"
  16155. },
  16156. "wrstandardid": {
  16157. "description": "现货品类ID",
  16158. "type": "integer"
  16159. },
  16160. "wrstandardname": {
  16161. "description": "品类名称",
  16162. "type": "string"
  16163. }
  16164. }
  16165. },
  16166. "models.Ermcp3AreaStock": {
  16167. "type": "object",
  16168. "required": [
  16169. "userid"
  16170. ],
  16171. "properties": {
  16172. "brandname": {
  16173. "description": "品牌名称",
  16174. "type": "string"
  16175. },
  16176. "curstock": {
  16177. "description": "期末库存量(今日量)",
  16178. "type": "number"
  16179. },
  16180. "deliverygoodscode": {
  16181. "description": "现货品种代码",
  16182. "type": "string"
  16183. },
  16184. "deliverygoodsid": {
  16185. "description": "现货品种id",
  16186. "type": "integer"
  16187. },
  16188. "deliverygoodsname": {
  16189. "description": "现货品种名称",
  16190. "type": "string"
  16191. },
  16192. "enumdicname": {
  16193. "description": "单位名称",
  16194. "type": "string"
  16195. },
  16196. "goodsunitid": {
  16197. "description": "现货商品单位id",
  16198. "type": "integer"
  16199. },
  16200. "oristock": {
  16201. "description": "期初库存量(昨日量)",
  16202. "type": "number"
  16203. },
  16204. "spotgoodsbrandid": {
  16205. "description": "现货品牌ID",
  16206. "type": "integer"
  16207. },
  16208. "todaybuyinqty": {
  16209. "description": "今日采购入库量",
  16210. "type": "number"
  16211. },
  16212. "todayproduceinqty": {
  16213. "description": "今日生产入库量",
  16214. "type": "number"
  16215. },
  16216. "todayproduceoutqty": {
  16217. "description": "今日生产出库量",
  16218. "type": "number"
  16219. },
  16220. "todayselloutqty": {
  16221. "description": "今日销售出库量",
  16222. "type": "number"
  16223. },
  16224. "unitid": {
  16225. "description": "单位id",
  16226. "type": "integer"
  16227. },
  16228. "updatetime": {
  16229. "description": "更新时间",
  16230. "type": "string"
  16231. },
  16232. "userid": {
  16233. "description": "机构ID",
  16234. "type": "integer"
  16235. },
  16236. "username": {
  16237. "description": "机构名称",
  16238. "type": "string"
  16239. },
  16240. "warehousecode": {
  16241. "description": "仓库代码",
  16242. "type": "string"
  16243. },
  16244. "warehouseinfoid": {
  16245. "description": "仓库ID",
  16246. "type": "string"
  16247. },
  16248. "warehousename": {
  16249. "description": "仓库名称",
  16250. "type": "string"
  16251. },
  16252. "warehousetype": {
  16253. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16254. "type": "integer"
  16255. },
  16256. "wrstandardcode": {
  16257. "description": "品类代码",
  16258. "type": "string"
  16259. },
  16260. "wrstandardid": {
  16261. "description": "品类ID",
  16262. "type": "string"
  16263. },
  16264. "wrstandardname": {
  16265. "description": "品类名称",
  16266. "type": "string"
  16267. }
  16268. }
  16269. },
  16270. "models.Ermcp3AreaStockApply": {
  16271. "type": "object",
  16272. "properties": {
  16273. "applyid": {
  16274. "description": "申请人",
  16275. "type": "integer"
  16276. },
  16277. "applyname": {
  16278. "description": "申请人名称",
  16279. "type": "string"
  16280. },
  16281. "applyremark": {
  16282. "description": "申请备注",
  16283. "type": "string"
  16284. },
  16285. "applysrc": {
  16286. "description": "申请来源 - 1:管理端 2:终端",
  16287. "type": "integer"
  16288. },
  16289. "applystatus": {
  16290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16291. "type": "integer"
  16292. },
  16293. "applytime": {
  16294. "description": "申请时间",
  16295. "type": "string"
  16296. },
  16297. "auditid": {
  16298. "description": "审核人",
  16299. "type": "integer"
  16300. },
  16301. "auditname": {
  16302. "description": "审核人名称",
  16303. "type": "string"
  16304. },
  16305. "auditremark": {
  16306. "description": "审核备注",
  16307. "type": "string"
  16308. },
  16309. "auditsrc": {
  16310. "description": "审核来源 - 1:管理端 2:终端",
  16311. "type": "integer"
  16312. },
  16313. "audittime": {
  16314. "description": "审核时间",
  16315. "type": "string"
  16316. },
  16317. "audittradedate": {
  16318. "description": "审核交易日(yyyyMMdd)",
  16319. "type": "string"
  16320. },
  16321. "brandname": {
  16322. "description": "品牌名称",
  16323. "type": "string"
  16324. },
  16325. "buynickname": {
  16326. "description": "采购方昵称",
  16327. "type": "string"
  16328. },
  16329. "buyuserid": {
  16330. "description": "采购方userid",
  16331. "type": "integer"
  16332. },
  16333. "buyusername": {
  16334. "description": "采购方名称",
  16335. "type": "string"
  16336. },
  16337. "contractno": {
  16338. "description": "合同编号",
  16339. "type": "string"
  16340. },
  16341. "contractqty": {
  16342. "description": "合同量",
  16343. "type": "number"
  16344. },
  16345. "contracttype": {
  16346. "description": "现货合同类型 - 1:采购 -1:销售",
  16347. "type": "integer"
  16348. },
  16349. "deliverygoodscode": {
  16350. "description": "现货品种代码",
  16351. "type": "string"
  16352. },
  16353. "deliverygoodsid": {
  16354. "description": "现货品种id",
  16355. "type": "integer"
  16356. },
  16357. "deliverygoodsname": {
  16358. "description": "现货品种名称",
  16359. "type": "string"
  16360. },
  16361. "detailjson": {
  16362. "description": "明细数据",
  16363. "type": "string"
  16364. },
  16365. "enumdicname": {
  16366. "description": "现货商品单位名称",
  16367. "type": "string"
  16368. },
  16369. "inoutapplyid": {
  16370. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16371. "type": "string"
  16372. },
  16373. "inouttype": {
  16374. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16375. "type": "integer"
  16376. },
  16377. "pricetype": {
  16378. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16379. "type": "integer"
  16380. },
  16381. "qty": {
  16382. "description": "数量",
  16383. "type": "number"
  16384. },
  16385. "sellnickname": {
  16386. "description": "销售方昵称",
  16387. "type": "string"
  16388. },
  16389. "selluserid": {
  16390. "description": "销售方userid",
  16391. "type": "integer"
  16392. },
  16393. "sellusername": {
  16394. "description": "销售方名称",
  16395. "type": "string"
  16396. },
  16397. "spotcontractid": {
  16398. "description": "关联现货合同ID",
  16399. "type": "string"
  16400. },
  16401. "spotgoodsbrandid": {
  16402. "description": "现货品牌ID",
  16403. "type": "integer"
  16404. },
  16405. "unitid": {
  16406. "description": "单位id",
  16407. "type": "integer"
  16408. },
  16409. "userid": {
  16410. "description": "机构ID",
  16411. "type": "integer"
  16412. },
  16413. "warehousecode": {
  16414. "description": "仓库代码",
  16415. "type": "string"
  16416. },
  16417. "warehouseinfoid": {
  16418. "description": "现货仓库ID",
  16419. "type": "string"
  16420. },
  16421. "warehousename": {
  16422. "description": "仓库名称",
  16423. "type": "string"
  16424. },
  16425. "warehousetype": {
  16426. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16427. "type": "integer"
  16428. },
  16429. "wrstandardcode": {
  16430. "description": "品类代码",
  16431. "type": "string"
  16432. },
  16433. "wrstandardid": {
  16434. "description": "品类ID",
  16435. "type": "integer"
  16436. },
  16437. "wrstandardname": {
  16438. "description": "品类名称",
  16439. "type": "string"
  16440. }
  16441. }
  16442. },
  16443. "models.Ermcp3AreaStockApplySum": {
  16444. "type": "object",
  16445. "properties": {
  16446. "brandname": {
  16447. "description": "品牌名称",
  16448. "type": "string"
  16449. },
  16450. "inouttype": {
  16451. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16452. "type": "integer"
  16453. },
  16454. "spotcontractid": {
  16455. "description": "关联现货合同ID",
  16456. "type": "string"
  16457. },
  16458. "spotgoodsbrandid": {
  16459. "description": "品牌id",
  16460. "type": "integer"
  16461. },
  16462. "totalqty": {
  16463. "description": "总数量",
  16464. "type": "number"
  16465. },
  16466. "wrstandardid": {
  16467. "description": "品类id",
  16468. "type": "integer"
  16469. },
  16470. "wrstandardname": {
  16471. "description": "品类名称",
  16472. "type": "string"
  16473. }
  16474. }
  16475. },
  16476. "models.Ermcp3AreaStockReportEx": {
  16477. "type": "object",
  16478. "properties": {
  16479. "begindate": {
  16480. "description": "开始交易日",
  16481. "type": "string"
  16482. },
  16483. "brandname": {
  16484. "description": "品牌名称",
  16485. "type": "string"
  16486. },
  16487. "curstock": {
  16488. "description": "期末库存量",
  16489. "type": "number"
  16490. },
  16491. "cycletime": {
  16492. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16493. "type": "string"
  16494. },
  16495. "cycletype": {
  16496. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16497. "type": "integer"
  16498. },
  16499. "deliverygoodscode": {
  16500. "description": "现货品种代码",
  16501. "type": "string"
  16502. },
  16503. "deliverygoodsid": {
  16504. "description": "现货品种id",
  16505. "type": "integer"
  16506. },
  16507. "deliverygoodsname": {
  16508. "description": "现货品种名称",
  16509. "type": "string"
  16510. },
  16511. "diffqty": {
  16512. "description": "库存变化量 = 期末 - 期初",
  16513. "type": "number"
  16514. },
  16515. "enddate": {
  16516. "description": "结束交易日",
  16517. "type": "string"
  16518. },
  16519. "enumdicname": {
  16520. "description": "单位名称",
  16521. "type": "string"
  16522. },
  16523. "goodsunitid": {
  16524. "description": "现货单位id",
  16525. "type": "integer"
  16526. },
  16527. "oristock": {
  16528. "description": "期初库存量",
  16529. "type": "number"
  16530. },
  16531. "reckondate": {
  16532. "description": "日照时期(yyyyMMdd)",
  16533. "type": "string"
  16534. },
  16535. "spotgoodsbrandid": {
  16536. "description": "现货品牌ID",
  16537. "type": "integer"
  16538. },
  16539. "todaybuyinqty": {
  16540. "description": "今采购入库量",
  16541. "type": "number"
  16542. },
  16543. "todayproduceinqty": {
  16544. "description": "今内部入库量",
  16545. "type": "number"
  16546. },
  16547. "todayproduceoutqty": {
  16548. "description": "今内部出库量",
  16549. "type": "number"
  16550. },
  16551. "todayselloutqty": {
  16552. "description": "今销售出库量",
  16553. "type": "number"
  16554. },
  16555. "unbuyinqty": {
  16556. "description": "采购未入库量(数据库未找到相关字段?)",
  16557. "type": "number"
  16558. },
  16559. "unitid": {
  16560. "description": "品类单位id",
  16561. "type": "integer"
  16562. },
  16563. "unselloutqty": {
  16564. "description": "销售未出库量(数据库未找到相关字段?)",
  16565. "type": "number"
  16566. },
  16567. "updatetime": {
  16568. "description": "更新时间",
  16569. "type": "string"
  16570. },
  16571. "userid": {
  16572. "description": "机构ID",
  16573. "type": "integer"
  16574. },
  16575. "username": {
  16576. "description": "机构名称",
  16577. "type": "string"
  16578. },
  16579. "warehousecode": {
  16580. "description": "仓库代码",
  16581. "type": "string"
  16582. },
  16583. "warehouseinfoid": {
  16584. "description": "仓库ID",
  16585. "type": "string"
  16586. },
  16587. "warehousename": {
  16588. "description": "仓库名称",
  16589. "type": "string"
  16590. },
  16591. "warehousetype": {
  16592. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16593. "type": "integer"
  16594. },
  16595. "wrstandardcode": {
  16596. "description": "品类代码",
  16597. "type": "string"
  16598. },
  16599. "wrstandardid": {
  16600. "description": "品类ID",
  16601. "type": "integer"
  16602. },
  16603. "wrstandardname": {
  16604. "description": "品类名称",
  16605. "type": "string"
  16606. }
  16607. }
  16608. },
  16609. "models.Ermcp3ArealSumPL": {
  16610. "type": "object",
  16611. "properties": {
  16612. "accountname": {
  16613. "description": "机构名称",
  16614. "type": "string"
  16615. },
  16616. "areauserid": {
  16617. "description": "所属机构\\交易用户ID",
  16618. "type": "integer"
  16619. },
  16620. "begindate": {
  16621. "description": "开始交易日",
  16622. "type": "string"
  16623. },
  16624. "currencyid": {
  16625. "description": "结算币种ID",
  16626. "type": "integer"
  16627. },
  16628. "currencyname": {
  16629. "description": "币种名称",
  16630. "type": "string"
  16631. },
  16632. "cycletime": {
  16633. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16634. "type": "string"
  16635. },
  16636. "cycletype": {
  16637. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16638. "type": "integer"
  16639. },
  16640. "enddate": {
  16641. "description": "结束交易日",
  16642. "type": "string"
  16643. },
  16644. "enumdicname": {
  16645. "description": "单位名称(套保品种)",
  16646. "type": "string"
  16647. },
  16648. "futureactualpl": {
  16649. "description": "期货损益",
  16650. "type": "number"
  16651. },
  16652. "futurefloatpl": {
  16653. "description": "期货浮动损益",
  16654. "type": "number"
  16655. },
  16656. "goodsunitid": {
  16657. "description": "套保品种单位id",
  16658. "type": "integer"
  16659. },
  16660. "middlegoodscode": {
  16661. "description": "套保品种代码",
  16662. "type": "string"
  16663. },
  16664. "middlegoodsid": {
  16665. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16666. "type": "integer"
  16667. },
  16668. "middlegoodsname": {
  16669. "description": "套保品种名称",
  16670. "type": "string"
  16671. },
  16672. "reckondate": {
  16673. "description": "日照时期(yyyyMMdd)",
  16674. "type": "string"
  16675. },
  16676. "spotactualpl": {
  16677. "description": "现货损益",
  16678. "type": "number"
  16679. },
  16680. "spotfloatpl": {
  16681. "description": "现货浮动损益",
  16682. "type": "number"
  16683. },
  16684. "sumactualpl": {
  16685. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16686. "type": "number"
  16687. },
  16688. "sumpl": {
  16689. "description": "汇总损益",
  16690. "type": "number"
  16691. },
  16692. "updatetime": {
  16693. "description": "更新时间",
  16694. "type": "string"
  16695. }
  16696. }
  16697. },
  16698. "models.Ermcp3Brand": {
  16699. "type": "object",
  16700. "properties": {
  16701. "areauserid": {
  16702. "description": "用户id",
  16703. "type": "integer"
  16704. },
  16705. "brandid": {
  16706. "description": "品牌id",
  16707. "type": "integer"
  16708. },
  16709. "brandname": {
  16710. "description": "品牌名称",
  16711. "type": "string"
  16712. },
  16713. "deliverygoodsid": {
  16714. "description": "品种ID",
  16715. "type": "integer"
  16716. }
  16717. }
  16718. },
  16719. "models.Ermcp3Contract": {
  16720. "type": "object",
  16721. "properties": {
  16722. "accountid": {
  16723. "description": "期货账户id",
  16724. "type": "string"
  16725. },
  16726. "amount": {
  16727. "description": "金额 [1:一口价、3:暂定价]",
  16728. "type": "number"
  16729. },
  16730. "attachment": {
  16731. "description": "附件",
  16732. "type": "string"
  16733. },
  16734. "auditremark": {
  16735. "description": "审核意见",
  16736. "type": "string"
  16737. },
  16738. "audittime": {
  16739. "description": "审核时间",
  16740. "type": "string"
  16741. },
  16742. "biztype": {
  16743. "description": "业务类型 1-套保 2-套利",
  16744. "type": "integer"
  16745. },
  16746. "brandname": {
  16747. "description": "品牌名称",
  16748. "type": "string"
  16749. },
  16750. "buynickname": {
  16751. "description": "销售方昵称",
  16752. "type": "string"
  16753. },
  16754. "buyuserid": {
  16755. "description": "采购方ID",
  16756. "type": "integer"
  16757. },
  16758. "buyusername": {
  16759. "description": "采购方名称",
  16760. "type": "string"
  16761. },
  16762. "contracctstatus": {
  16763. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16764. "type": "integer"
  16765. },
  16766. "contractmargin": {
  16767. "description": "合同保证金",
  16768. "type": "number"
  16769. },
  16770. "contractno": {
  16771. "description": "现货合同编号",
  16772. "type": "string"
  16773. },
  16774. "contracttype": {
  16775. "description": "现货合同类型 - 1:采购 -1:销售",
  16776. "type": "integer"
  16777. },
  16778. "convertfactor": {
  16779. "description": "标仓系数(品类)",
  16780. "type": "number"
  16781. },
  16782. "createtime": {
  16783. "description": "创建时间",
  16784. "type": "string"
  16785. },
  16786. "currencyid": {
  16787. "description": "币种id",
  16788. "type": "integer"
  16789. },
  16790. "currencyname": {
  16791. "description": "币种名称",
  16792. "type": "string"
  16793. },
  16794. "deliveryenddate": {
  16795. "description": "交收期(结束)",
  16796. "type": "string"
  16797. },
  16798. "deliverygoodscode": {
  16799. "description": "现货品种代码",
  16800. "type": "string"
  16801. },
  16802. "deliverygoodsid": {
  16803. "description": "现货品种ID",
  16804. "type": "integer"
  16805. },
  16806. "deliverygoodsname": {
  16807. "description": "现货品种名称",
  16808. "type": "string"
  16809. },
  16810. "deliverystartdate": {
  16811. "description": "交收期(开始)",
  16812. "type": "string"
  16813. },
  16814. "enddate": {
  16815. "description": "点价结束日期 [2:点价 3:暂定价]",
  16816. "type": "string"
  16817. },
  16818. "enumdicname": {
  16819. "description": "单位名称",
  16820. "type": "string"
  16821. },
  16822. "goodscode": {
  16823. "description": "点价合约代码",
  16824. "type": "string"
  16825. },
  16826. "goodsid": {
  16827. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  16828. "type": "integer"
  16829. },
  16830. "goodsname": {
  16831. "description": "点价商品名称",
  16832. "type": "string"
  16833. },
  16834. "margin": {
  16835. "description": "当前保证金",
  16836. "type": "number"
  16837. },
  16838. "meruserid": {
  16839. "description": "跟单员id",
  16840. "type": "integer"
  16841. },
  16842. "meruserlogincode": {
  16843. "description": "跟单员登录代码",
  16844. "type": "string"
  16845. },
  16846. "merusername": {
  16847. "description": "跟单员名称",
  16848. "type": "string"
  16849. },
  16850. "price": {
  16851. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  16852. "type": "number"
  16853. },
  16854. "pricemove": {
  16855. "description": "升贴水 [2:点价 3:暂定价]",
  16856. "type": "number"
  16857. },
  16858. "pricetype": {
  16859. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16860. "type": "integer"
  16861. },
  16862. "producttype": {
  16863. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16864. "type": "integer"
  16865. },
  16866. "qty": {
  16867. "description": "数量",
  16868. "type": "number"
  16869. },
  16870. "remark": {
  16871. "description": "备注",
  16872. "type": "string"
  16873. },
  16874. "saleuserid": {
  16875. "description": "业务员id",
  16876. "type": "integer"
  16877. },
  16878. "saleuserlogincode": {
  16879. "description": "业务员登录代码",
  16880. "type": "string"
  16881. },
  16882. "saleusername": {
  16883. "description": "业务员名称",
  16884. "type": "string"
  16885. },
  16886. "sellnickname": {
  16887. "description": "采购方昵称",
  16888. "type": "string"
  16889. },
  16890. "selluserid": {
  16891. "description": "销售方ID",
  16892. "type": "integer"
  16893. },
  16894. "sellusername": {
  16895. "description": "销售方名称",
  16896. "type": "string"
  16897. },
  16898. "spotcontractid": {
  16899. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  16900. "type": "string"
  16901. },
  16902. "spotgoodsbrandid": {
  16903. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16904. "type": "integer"
  16905. },
  16906. "spotgoodsdesc": {
  16907. "description": "商品型号",
  16908. "type": "string"
  16909. },
  16910. "startdate": {
  16911. "description": "点价开始日期 [2:点价 3:暂定价]",
  16912. "type": "string"
  16913. },
  16914. "tradeuserid": {
  16915. "description": "交易员id",
  16916. "type": "integer"
  16917. },
  16918. "tradeuserlogincode": {
  16919. "description": "交易员登录代码",
  16920. "type": "string"
  16921. },
  16922. "tradeusername": {
  16923. "description": "交易员名称",
  16924. "type": "string"
  16925. },
  16926. "unitid": {
  16927. "description": "单位id(取品类上的单位id)",
  16928. "type": "integer"
  16929. },
  16930. "updatetime": {
  16931. "description": "更新时间",
  16932. "type": "string"
  16933. },
  16934. "userid": {
  16935. "description": "所属机构ID",
  16936. "type": "integer"
  16937. },
  16938. "wrstandardcode": {
  16939. "description": "品类代码",
  16940. "type": "string"
  16941. },
  16942. "wrstandardid": {
  16943. "description": "品类ID",
  16944. "type": "integer"
  16945. },
  16946. "wrstandardname": {
  16947. "description": "品类名称",
  16948. "type": "string"
  16949. }
  16950. }
  16951. },
  16952. "models.Ermcp3ExposureContractDetail": {
  16953. "type": "object",
  16954. "properties": {
  16955. "biztype": {
  16956. "description": "业务类型 1-套保 2-套利",
  16957. "type": "integer"
  16958. },
  16959. "brandname": {
  16960. "description": "品牌名称",
  16961. "type": "string"
  16962. },
  16963. "buyuserid": {
  16964. "description": "采购方id",
  16965. "type": "integer"
  16966. },
  16967. "buyusername": {
  16968. "description": "采购方名称",
  16969. "type": "string"
  16970. },
  16971. "contractno": {
  16972. "description": "合同编号",
  16973. "type": "string"
  16974. },
  16975. "contracttype": {
  16976. "description": "现货合同类型 - 1:采购 -1:销售",
  16977. "type": "integer"
  16978. },
  16979. "convertfactor": {
  16980. "description": "标仓系数",
  16981. "type": "number"
  16982. },
  16983. "convertratio": {
  16984. "description": "折算系数(套保品种)",
  16985. "type": "number"
  16986. },
  16987. "curqty": {
  16988. "description": "今定价量",
  16989. "type": "number"
  16990. },
  16991. "deliverygoodscode": {
  16992. "description": "现货商品代码",
  16993. "type": "string"
  16994. },
  16995. "deliverygoodsid": {
  16996. "description": "现货商品id",
  16997. "type": "integer"
  16998. },
  16999. "deliverygoodsname": {
  17000. "description": "现货商品名称",
  17001. "type": "string"
  17002. },
  17003. "diffhedgeqty": {
  17004. "description": "套保变动量",
  17005. "type": "number"
  17006. },
  17007. "diffneedhedgeqty": {
  17008. "description": "应套保变动量",
  17009. "type": "number"
  17010. },
  17011. "diffqty": {
  17012. "description": "套保品种今变动量",
  17013. "type": "number"
  17014. },
  17015. "enumdicname": {
  17016. "description": "单位名称",
  17017. "type": "string"
  17018. },
  17019. "middlegoodscode": {
  17020. "description": "套保品种代码",
  17021. "type": "string"
  17022. },
  17023. "middlegoodsid": {
  17024. "description": "套保品种id",
  17025. "type": "integer"
  17026. },
  17027. "middlegoodsname": {
  17028. "description": "套保品种名称",
  17029. "type": "string"
  17030. },
  17031. "needarbitrageratio": {
  17032. "description": "应套利比例",
  17033. "type": "number"
  17034. },
  17035. "needhedgeratio": {
  17036. "description": "应套保比例",
  17037. "type": "number"
  17038. },
  17039. "pricedqty": {
  17040. "description": "已定价量",
  17041. "type": "number"
  17042. },
  17043. "qty": {
  17044. "description": "合同量",
  17045. "type": "number"
  17046. },
  17047. "selluserid": {
  17048. "description": "销售方id",
  17049. "type": "integer"
  17050. },
  17051. "sellusername": {
  17052. "description": "销售方名称",
  17053. "type": "string"
  17054. },
  17055. "spotcontractid": {
  17056. "description": "合同id",
  17057. "type": "string"
  17058. },
  17059. "todaypricedqty": {
  17060. "description": "今定价量",
  17061. "type": "number"
  17062. },
  17063. "tradedate": {
  17064. "description": "交易日",
  17065. "type": "string"
  17066. },
  17067. "unitid": {
  17068. "description": "品类单位id",
  17069. "type": "integer"
  17070. },
  17071. "userid": {
  17072. "description": "机构id",
  17073. "type": "integer"
  17074. },
  17075. "wrstandardcode": {
  17076. "description": "品类代码",
  17077. "type": "string"
  17078. },
  17079. "wrstandardid": {
  17080. "description": "品类id",
  17081. "type": "integer"
  17082. },
  17083. "wrstandardname": {
  17084. "description": "品类名称",
  17085. "type": "string"
  17086. }
  17087. }
  17088. },
  17089. "models.Ermcp3ExposureDetail": {
  17090. "type": "object",
  17091. "properties": {
  17092. "areauserid": {
  17093. "description": "机构ID",
  17094. "type": "integer"
  17095. },
  17096. "changeQty": {
  17097. "description": "套保变动量",
  17098. "type": "number"
  17099. },
  17100. "contracttype": {
  17101. "description": "现货合同类型 - 1:采购 -1:销售",
  17102. "type": "integer"
  17103. },
  17104. "convertfactor": {
  17105. "description": "标仓系数",
  17106. "type": "number"
  17107. },
  17108. "convertratio": {
  17109. "description": "套保系数",
  17110. "type": "number"
  17111. },
  17112. "createtime": {
  17113. "description": "时间",
  17114. "type": "string"
  17115. },
  17116. "deliverygoodscode": {
  17117. "description": "现货品种代码",
  17118. "type": "string"
  17119. },
  17120. "deliverygoodsid": {
  17121. "description": "现货品种id",
  17122. "type": "integer"
  17123. },
  17124. "deliverygoodsname": {
  17125. "description": "现货品种名称",
  17126. "type": "string"
  17127. },
  17128. "enumdicname": {
  17129. "description": "现货商品单位名称",
  17130. "type": "string"
  17131. },
  17132. "logtype": {
  17133. "description": "类型 - 1:套保计划 2:现货合同",
  17134. "type": "integer"
  17135. },
  17136. "mgunitid": {
  17137. "description": "套保品种单位id",
  17138. "type": "integer"
  17139. },
  17140. "mgunitidname": {
  17141. "description": "套保品种单位名称",
  17142. "type": "string"
  17143. },
  17144. "middlegoodsId": {
  17145. "description": "套保商品id",
  17146. "type": "integer"
  17147. },
  17148. "middlegoodscode": {
  17149. "description": "套保商品代码",
  17150. "type": "string"
  17151. },
  17152. "middlegoodsname": {
  17153. "description": "套保商品名称",
  17154. "type": "string"
  17155. },
  17156. "qty": {
  17157. "description": "数量",
  17158. "type": "number"
  17159. },
  17160. "relateNo": {
  17161. "description": "现货合同/套保计划编号",
  17162. "type": "string"
  17163. }
  17164. }
  17165. },
  17166. "models.Ermcp3ExposureFutuDetail": {
  17167. "type": "object",
  17168. "properties": {
  17169. "accountid": {
  17170. "description": "交易账户id",
  17171. "type": "integer"
  17172. },
  17173. "accountname": {
  17174. "description": "交易账户",
  17175. "type": "string"
  17176. },
  17177. "begindate": {
  17178. "description": "开始交易日",
  17179. "type": "string"
  17180. },
  17181. "buyorsell": {
  17182. "description": "方向 0-买 1-卖",
  17183. "type": "integer"
  17184. },
  17185. "diffmgqty": {
  17186. "description": "套保品种今变化量",
  17187. "type": "number"
  17188. },
  17189. "diffneedqty": {
  17190. "description": "应套保总量变化量",
  17191. "type": "number"
  17192. },
  17193. "difftradeqty": {
  17194. "description": "交易品种今变化量",
  17195. "type": "number"
  17196. },
  17197. "enddate": {
  17198. "description": "结束交易日",
  17199. "type": "string"
  17200. },
  17201. "enumdicname": {
  17202. "description": "单位名称",
  17203. "type": "string"
  17204. },
  17205. "goodscode": {
  17206. "description": "商品代码",
  17207. "type": "string"
  17208. },
  17209. "goodsid": {
  17210. "description": "商品id",
  17211. "type": "integer"
  17212. },
  17213. "goodsname": {
  17214. "description": "商品名称",
  17215. "type": "string"
  17216. },
  17217. "holdqty": {
  17218. "description": "期末持仓量",
  17219. "type": "number"
  17220. },
  17221. "middlegoodscode": {
  17222. "description": "套保商品代码",
  17223. "type": "string"
  17224. },
  17225. "middlegoodsid": {
  17226. "description": "套保商品id",
  17227. "type": "integer"
  17228. },
  17229. "middlegoodsname": {
  17230. "description": "套保商品名称",
  17231. "type": "string"
  17232. },
  17233. "oriholdqty": {
  17234. "description": "期初持仓量",
  17235. "type": "number"
  17236. },
  17237. "todaycloseqty": {
  17238. "description": "今平仓量",
  17239. "type": "number"
  17240. },
  17241. "todayopenqty": {
  17242. "description": "今开仓量",
  17243. "type": "number"
  17244. },
  17245. "tradedate": {
  17246. "description": "交易日",
  17247. "type": "string"
  17248. }
  17249. }
  17250. },
  17251. "models.Ermcp3ExposureHedgeplanDetail": {
  17252. "type": "object",
  17253. "properties": {
  17254. "biztype": {
  17255. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17256. "type": "integer"
  17257. },
  17258. "changqty": {
  17259. "description": "应套保总量变化量",
  17260. "type": "number"
  17261. },
  17262. "contracttype": {
  17263. "description": "计划类型 - 1:采购 -1:销售",
  17264. "type": "integer"
  17265. },
  17266. "convertratio": {
  17267. "description": "折算系数(套保品种)",
  17268. "type": "number"
  17269. },
  17270. "deliverygoodscode": {
  17271. "description": "现货商品代码",
  17272. "type": "string"
  17273. },
  17274. "deliverygoodsid": {
  17275. "description": "现货商品id",
  17276. "type": "integer"
  17277. },
  17278. "deliverygoodsname": {
  17279. "description": "现货商吕名称",
  17280. "type": "string"
  17281. },
  17282. "dgunitid": {
  17283. "description": "现货商品单位id",
  17284. "type": "integer"
  17285. },
  17286. "dgunitidname": {
  17287. "description": "单位名称(现货商品)",
  17288. "type": "string"
  17289. },
  17290. "diffqty": {
  17291. "description": "套保品种今变动量",
  17292. "type": "number"
  17293. },
  17294. "enumdicname": {
  17295. "description": "单位名称(品类)",
  17296. "type": "string"
  17297. },
  17298. "hedgeplanid": {
  17299. "description": "套保计划id",
  17300. "type": "string"
  17301. },
  17302. "hedgeplanno": {
  17303. "description": "套保计划名称",
  17304. "type": "string"
  17305. },
  17306. "hedgeplanstatus": {
  17307. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17308. "type": "integer"
  17309. },
  17310. "mgunitidname": {
  17311. "description": "单位名称(套保商品)",
  17312. "type": "string"
  17313. },
  17314. "middlegoodscode": {
  17315. "description": "套保品种代码",
  17316. "type": "string"
  17317. },
  17318. "middlegoodsid": {
  17319. "description": "套保品种id",
  17320. "type": "integer"
  17321. },
  17322. "middlegoodsname": {
  17323. "description": "套保品种名称",
  17324. "type": "string"
  17325. },
  17326. "needarbitrageratio": {
  17327. "description": "应套利比例",
  17328. "type": "number"
  17329. },
  17330. "needhedgeratio": {
  17331. "description": "应套保比例",
  17332. "type": "number"
  17333. },
  17334. "pricedqty": {
  17335. "description": "已定价量",
  17336. "type": "number"
  17337. },
  17338. "qty": {
  17339. "description": "合同量",
  17340. "type": "number"
  17341. },
  17342. "tradedate": {
  17343. "description": "交易日(登记日)",
  17344. "type": "string"
  17345. },
  17346. "unitid": {
  17347. "description": "品类单位id",
  17348. "type": "integer"
  17349. },
  17350. "userid": {
  17351. "description": "机构id",
  17352. "type": "integer"
  17353. },
  17354. "wrstandardcode": {
  17355. "description": "品类代码",
  17356. "type": "string"
  17357. },
  17358. "wrstandardid": {
  17359. "description": "品类id",
  17360. "type": "integer"
  17361. },
  17362. "wrstandardname": {
  17363. "description": "品类名称",
  17364. "type": "string"
  17365. }
  17366. }
  17367. },
  17368. "models.Ermcp3ExposureParamChLog": {
  17369. "type": "object",
  17370. "properties": {
  17371. "accountid": {
  17372. "description": "期货账户ID (作废, 默认为0)",
  17373. "type": "integer"
  17374. },
  17375. "aftervalue": {
  17376. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17377. "type": "number"
  17378. },
  17379. "areauserid": {
  17380. "description": "所属机构\\交易用户ID",
  17381. "type": "integer"
  17382. },
  17383. "beforevalue": {
  17384. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17385. "type": "number"
  17386. },
  17387. "begindate": {
  17388. "description": "开始交易日",
  17389. "type": "string"
  17390. },
  17391. "changelogtype": {
  17392. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17393. "type": "integer"
  17394. },
  17395. "curvalue": {
  17396. "description": "当前套保\\套利量(套保总量|套利总量)",
  17397. "type": "number"
  17398. },
  17399. "diffvalue": {
  17400. "description": "应套保总量变化量",
  17401. "type": "number"
  17402. },
  17403. "enddate": {
  17404. "description": "结束交易日",
  17405. "type": "string"
  17406. },
  17407. "logdatetime": {
  17408. "description": "流水日期",
  17409. "type": "string"
  17410. },
  17411. "logid": {
  17412. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17413. "type": "string"
  17414. },
  17415. "middlegoodscode": {
  17416. "description": "套保品种代码",
  17417. "type": "string"
  17418. },
  17419. "middlegoodsid": {
  17420. "description": "套保品种",
  17421. "type": "integer"
  17422. },
  17423. "middlegoodsname": {
  17424. "description": "套保品种名称",
  17425. "type": "string"
  17426. },
  17427. "paramaftervalue": {
  17428. "description": "参数变更后(调整后参数值)",
  17429. "type": "number"
  17430. },
  17431. "parambeforevalue": {
  17432. "description": "参数变更前(调整前参数值)",
  17433. "type": "number"
  17434. },
  17435. "tradedate": {
  17436. "description": "交易日(yyyyMMdd)",
  17437. "type": "string"
  17438. }
  17439. }
  17440. },
  17441. "models.Ermcp3ExpourseReport": {
  17442. "type": "object",
  17443. "properties": {
  17444. "accountid": {
  17445. "description": "期货账户ID (作废, 默认为0)",
  17446. "type": "integer"
  17447. },
  17448. "accountname": {
  17449. "description": "机构名称",
  17450. "type": "string"
  17451. },
  17452. "arbitrageqty": {
  17453. "description": "套利量",
  17454. "type": "number"
  17455. },
  17456. "areauserid": {
  17457. "description": "所属机构\\交易用户ID",
  17458. "type": "integer"
  17459. },
  17460. "begindate": {
  17461. "description": "开始交易日",
  17462. "type": "string"
  17463. },
  17464. "buyfutureqty": {
  17465. "description": "买入期货数量",
  17466. "type": "number"
  17467. },
  17468. "buyplanqty": {
  17469. "description": "采购计划数量",
  17470. "type": "number"
  17471. },
  17472. "buypricedqty": {
  17473. "description": "采购合同已定价数量",
  17474. "type": "number"
  17475. },
  17476. "cycletime": {
  17477. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17478. "type": "string"
  17479. },
  17480. "cycletype": {
  17481. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17482. "type": "integer"
  17483. },
  17484. "diffexposure": {
  17485. "description": "变动量(套保敞口)",
  17486. "type": "number"
  17487. },
  17488. "difffutuqty": {
  17489. "description": "变动量(期货)",
  17490. "type": "number"
  17491. },
  17492. "diffhedgeqty": {
  17493. "description": "变动量(现货应套保总量)",
  17494. "type": "number"
  17495. },
  17496. "diffmgqtya": {
  17497. "description": "套保变动量",
  17498. "type": "number"
  17499. },
  17500. "diffmgqtyb": {
  17501. "description": "套利变动量",
  17502. "type": "number"
  17503. },
  17504. "diffqty": {
  17505. "description": "变动量(总敞口)",
  17506. "type": "number"
  17507. },
  17508. "diffspotqty": {
  17509. "description": "变动量(现货)",
  17510. "type": "number"
  17511. },
  17512. "enddate": {
  17513. "description": "结束交易日",
  17514. "type": "string"
  17515. },
  17516. "enumdicname": {
  17517. "description": "单位名称",
  17518. "type": "string"
  17519. },
  17520. "hedgeqty": {
  17521. "description": "套保量",
  17522. "type": "number"
  17523. },
  17524. "mgneedhedgeratio": {
  17525. "description": "套保比例(套保品的)",
  17526. "type": "number"
  17527. },
  17528. "middlegoodsid": {
  17529. "description": "套保品种ID",
  17530. "type": "integer"
  17531. },
  17532. "middlegoodsname": {
  17533. "description": "套保商品名称",
  17534. "type": "string"
  17535. },
  17536. "middlgoodscode": {
  17537. "description": "套保商品代码",
  17538. "type": "string"
  17539. },
  17540. "needarbitrageqty": {
  17541. "description": "应套利量",
  17542. "type": "number"
  17543. },
  17544. "needarbitrageratio": {
  17545. "description": "套利比例(套保品的)",
  17546. "type": "number"
  17547. },
  17548. "needhedgeexposoure": {
  17549. "description": "应套保敞口(套保敞口)",
  17550. "type": "number"
  17551. },
  17552. "needhedgeqty": {
  17553. "description": "应套保量",
  17554. "type": "number"
  17555. },
  17556. "needhedgeratio": {
  17557. "description": "应套保敞口比例",
  17558. "type": "number"
  17559. },
  17560. "oriarbitrageqty": {
  17561. "description": "期初套利量",
  17562. "type": "number"
  17563. },
  17564. "oribuyfutureqty": {
  17565. "description": "期初买入期货数量",
  17566. "type": "number"
  17567. },
  17568. "oribuyplanqty": {
  17569. "description": "期初采购计划数量",
  17570. "type": "number"
  17571. },
  17572. "oribuypricedqty": {
  17573. "description": "期初采购合同已定价数量",
  17574. "type": "number"
  17575. },
  17576. "orihedgeqty": {
  17577. "description": "期初套保量",
  17578. "type": "number"
  17579. },
  17580. "orineedarbitrageqty": {
  17581. "description": "期初应套利量",
  17582. "type": "number"
  17583. },
  17584. "orineedhedgeexposoure": {
  17585. "description": "期初应套保敞口",
  17586. "type": "number"
  17587. },
  17588. "orineedhedgeqty": {
  17589. "description": "期初应套保量",
  17590. "type": "number"
  17591. },
  17592. "orisellfutureqty": {
  17593. "description": "期初卖出期货数量",
  17594. "type": "number"
  17595. },
  17596. "orisellplanqty": {
  17597. "description": "期初销售计划数量",
  17598. "type": "number"
  17599. },
  17600. "orisellpricedqty": {
  17601. "description": "期初销售合同已定价数量",
  17602. "type": "number"
  17603. },
  17604. "oritotalexposure": {
  17605. "description": "期初实时总敞口",
  17606. "type": "number"
  17607. },
  17608. "oritotalfutureqty": {
  17609. "description": "期初期货头寸总量",
  17610. "type": "number"
  17611. },
  17612. "oritotalneedhedgeqty": {
  17613. "description": "期初应套保总量",
  17614. "type": "number"
  17615. },
  17616. "oritotalspotqty": {
  17617. "description": "期初现货头寸总量",
  17618. "type": "number"
  17619. },
  17620. "reckondate": {
  17621. "description": "日照时期(yyyyMMdd)",
  17622. "type": "string"
  17623. },
  17624. "sellfutureqty": {
  17625. "description": "卖出期货数量",
  17626. "type": "number"
  17627. },
  17628. "sellplanqty": {
  17629. "description": "销售计划数量",
  17630. "type": "number"
  17631. },
  17632. "sellpricedqty": {
  17633. "description": "销售合同已定价数量",
  17634. "type": "number"
  17635. },
  17636. "totalexposure": {
  17637. "description": "实时总敞口(总敞口)",
  17638. "type": "number"
  17639. },
  17640. "totalfutureqty": {
  17641. "description": "期货头寸总量(期货总量)",
  17642. "type": "number"
  17643. },
  17644. "totalhedgeratio": {
  17645. "description": "敞口比例",
  17646. "type": "number"
  17647. },
  17648. "totalneedhedgeqty": {
  17649. "description": "应套保总量(现货应套保总量)",
  17650. "type": "number"
  17651. },
  17652. "totalspotqty": {
  17653. "description": "现货头寸总量",
  17654. "type": "number"
  17655. },
  17656. "unitid": {
  17657. "description": "单位id",
  17658. "type": "integer"
  17659. },
  17660. "updatetime": {
  17661. "description": "更新时间",
  17662. "type": "string"
  17663. }
  17664. }
  17665. },
  17666. "models.Ermcp3FinanceReport": {
  17667. "type": "object",
  17668. "properties": {
  17669. "accountname": {
  17670. "description": "机构名称",
  17671. "type": "string"
  17672. },
  17673. "areauserid": {
  17674. "description": "所属机构\\交易用户ID",
  17675. "type": "integer"
  17676. },
  17677. "begindate": {
  17678. "description": "开始交易日",
  17679. "type": "string"
  17680. },
  17681. "biztype": {
  17682. "description": "业务类型 - 1:套保 2:套利",
  17683. "type": "integer"
  17684. },
  17685. "brandname": {
  17686. "description": "品牌名称",
  17687. "type": "string"
  17688. },
  17689. "buypreinvoicedamount": {
  17690. "description": "采购预收票额(预收票额)",
  17691. "type": "number"
  17692. },
  17693. "buyprepaidamount": {
  17694. "description": "采购预付款额(预付货款额)",
  17695. "type": "number"
  17696. },
  17697. "buytodayinvoiceamount": {
  17698. "description": "采购今收票额(今收票额)",
  17699. "type": "number"
  17700. },
  17701. "buytodayrefundamount": {
  17702. "description": "采购今收退款额(今收退款额)",
  17703. "type": "number"
  17704. },
  17705. "buytodaysettleamount": {
  17706. "description": "采购今付款额(今付货款额)",
  17707. "type": "number"
  17708. },
  17709. "buyuninvoicedamount": {
  17710. "description": "采购应收票额(应收票额)",
  17711. "type": "number"
  17712. },
  17713. "buyunpaidamount": {
  17714. "description": "采购应付款额(应付货款额)",
  17715. "type": "number"
  17716. },
  17717. "currencyid": {
  17718. "description": "结算币种ID",
  17719. "type": "integer"
  17720. },
  17721. "currencyname": {
  17722. "description": "币种名称",
  17723. "type": "string"
  17724. },
  17725. "cycletime": {
  17726. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17727. "type": "string"
  17728. },
  17729. "cycletype": {
  17730. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17731. "type": "integer"
  17732. },
  17733. "deliverygoodscode": {
  17734. "description": "现货品种代码",
  17735. "type": "string"
  17736. },
  17737. "deliverygoodsid": {
  17738. "description": "现货品种ID",
  17739. "type": "integer"
  17740. },
  17741. "deliverygoodsname": {
  17742. "description": "现货品种名称",
  17743. "type": "string"
  17744. },
  17745. "enddate": {
  17746. "description": "结束交易日",
  17747. "type": "string"
  17748. },
  17749. "reckondate": {
  17750. "description": "日照时期(yyyyMMdd)",
  17751. "type": "string"
  17752. },
  17753. "sellpreinvoicedamount": {
  17754. "description": "销售预开票额(预开票额)",
  17755. "type": "number"
  17756. },
  17757. "sellprepaidamount": {
  17758. "description": "销售预收款额(预收货款额)",
  17759. "type": "number"
  17760. },
  17761. "selltodayinvoiceamount": {
  17762. "description": "销售今开票额(今开票额)",
  17763. "type": "number"
  17764. },
  17765. "selltodayrefundamount": {
  17766. "description": "销售今付退款额(今付退款额)",
  17767. "type": "number"
  17768. },
  17769. "selltodaysettleamount": {
  17770. "description": "销售今收款额(今收货款额)",
  17771. "type": "number"
  17772. },
  17773. "selluninvoicedamount": {
  17774. "description": "销售应开票额(应开票额)",
  17775. "type": "number"
  17776. },
  17777. "sellunpaidamount": {
  17778. "description": "销售应收款额(应收货款额)",
  17779. "type": "number"
  17780. },
  17781. "spotgoodsbrandid": {
  17782. "description": "现货品牌ID",
  17783. "type": "integer"
  17784. },
  17785. "todaypaysum": {
  17786. "description": "今付款合计",
  17787. "type": "number"
  17788. },
  17789. "todayreceivesum": {
  17790. "description": "今收款合计",
  17791. "type": "number"
  17792. },
  17793. "updatetime": {
  17794. "description": "更新时间",
  17795. "type": "string"
  17796. },
  17797. "wrfactortypeid": {
  17798. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17799. "type": "integer"
  17800. },
  17801. "wrstandardcode": {
  17802. "description": "品类代码",
  17803. "type": "string"
  17804. },
  17805. "wrstandardid": {
  17806. "description": "现货商品ID",
  17807. "type": "integer"
  17808. },
  17809. "wrstandardname": {
  17810. "description": "品类名称",
  17811. "type": "string"
  17812. }
  17813. }
  17814. },
  17815. "models.Ermcp3Goods": {
  17816. "type": "object",
  17817. "properties": {
  17818. "agreeunit": {
  17819. "description": "合约单位(合约乘数)",
  17820. "type": "number"
  17821. },
  17822. "enumdicname": {
  17823. "description": "单位名称",
  17824. "type": "string"
  17825. },
  17826. "exexchangecode": {
  17827. "description": "交易所代码",
  17828. "type": "string"
  17829. },
  17830. "goodscode": {
  17831. "description": "期货商品代码",
  17832. "type": "string"
  17833. },
  17834. "goodsid": {
  17835. "description": "期货商品id",
  17836. "type": "integer"
  17837. },
  17838. "goodsname": {
  17839. "description": "期货商品名称",
  17840. "type": "string"
  17841. }
  17842. }
  17843. },
  17844. "models.Ermcp3GoodsGroup": {
  17845. "type": "object",
  17846. "required": [
  17847. "areauserid"
  17848. ],
  17849. "properties": {
  17850. "agreeunit": {
  17851. "description": "合约单位",
  17852. "type": "number"
  17853. },
  17854. "areauserid": {
  17855. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  17856. "type": "integer"
  17857. },
  17858. "canshort": {
  17859. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17860. "type": "integer"
  17861. },
  17862. "closepricemode": {
  17863. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17864. "type": "integer"
  17865. },
  17866. "createtime": {
  17867. "description": "创建时间",
  17868. "type": "string"
  17869. },
  17870. "creatorid": {
  17871. "description": "创建人",
  17872. "type": "integer"
  17873. },
  17874. "currencyid": {
  17875. "description": "报价货币ID",
  17876. "type": "integer"
  17877. },
  17878. "decimalplace": {
  17879. "description": "报价小数位",
  17880. "type": "integer"
  17881. },
  17882. "enumdicname": {
  17883. "description": "单位名称",
  17884. "type": "string"
  17885. },
  17886. "exchangefullname": {
  17887. "description": "交易所全称",
  17888. "type": "string"
  17889. },
  17890. "excludecfg": {
  17891. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  17892. "type": "integer"
  17893. },
  17894. "exexchangecode": {
  17895. "description": "交易所代码",
  17896. "type": "string"
  17897. },
  17898. "exexchangeid": {
  17899. "description": "外部交易所ID[通道交易]",
  17900. "type": "integer"
  17901. },
  17902. "exexchangename": {
  17903. "description": "交易所名称",
  17904. "type": "string"
  17905. },
  17906. "goodsgroupid": {
  17907. "description": "商品组ID(自增ID)",
  17908. "type": "integer"
  17909. },
  17910. "goodsgroupname": {
  17911. "description": "商品组名称",
  17912. "type": "string"
  17913. },
  17914. "goodsgroupstatus": {
  17915. "description": "商品组状态 - 1:正常 2:注销",
  17916. "type": "integer"
  17917. },
  17918. "goodunitid": {
  17919. "description": "报价单位ID",
  17920. "type": "integer"
  17921. },
  17922. "groupcategroyid": {
  17923. "description": "品种分类ID",
  17924. "type": "integer"
  17925. },
  17926. "innerdealmode": {
  17927. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17928. "type": "integer"
  17929. },
  17930. "marketid": {
  17931. "description": "所属市场ID",
  17932. "type": "integer"
  17933. },
  17934. "modifierid": {
  17935. "description": "修改人",
  17936. "type": "integer"
  17937. },
  17938. "modifytime": {
  17939. "description": "修改时间",
  17940. "type": "string"
  17941. },
  17942. "outerdealmode": {
  17943. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17944. "type": "integer"
  17945. },
  17946. "outergroupcode": {
  17947. "description": "外部商品组代码[通道交易]",
  17948. "type": "string"
  17949. },
  17950. "quoteminunit": {
  17951. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17952. "type": "integer"
  17953. },
  17954. "quotesourcegroupid": {
  17955. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17956. "type": "integer"
  17957. },
  17958. "syncgoodsqty": {
  17959. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17960. "type": "integer"
  17961. }
  17962. }
  17963. },
  17964. "models.Ermcp3GoodsGroupEx": {
  17965. "type": "object",
  17966. "properties": {
  17967. "convertratio": {
  17968. "description": "折算系数(品种系数)",
  17969. "type": "number"
  17970. },
  17971. "enumdicname": {
  17972. "description": "单位名称",
  17973. "type": "string"
  17974. },
  17975. "exexchangecode": {
  17976. "description": "交易所代码",
  17977. "type": "string"
  17978. },
  17979. "glist": {
  17980. "description": "合约列表",
  17981. "type": "array",
  17982. "items": {
  17983. "$ref": "#/definitions/models.Ermcp3Goods"
  17984. }
  17985. },
  17986. "goodsgroupid": {
  17987. "description": "商品组id",
  17988. "type": "integer"
  17989. },
  17990. "goodsgroupname": {
  17991. "description": "商品组名称",
  17992. "type": "string"
  17993. },
  17994. "goodsunitid": {
  17995. "description": "单位id",
  17996. "type": "integer"
  17997. },
  17998. "middlegoodsid": {
  17999. "description": "套保商品id",
  18000. "type": "integer"
  18001. }
  18002. }
  18003. },
  18004. "models.Ermcp3HedgePlan": {
  18005. "type": "object",
  18006. "properties": {
  18007. "accountid": {
  18008. "description": "资金账号",
  18009. "type": "integer"
  18010. },
  18011. "areauserid": {
  18012. "description": "用户ID",
  18013. "type": "integer"
  18014. },
  18015. "auditid": {
  18016. "description": "审核id",
  18017. "type": "integer"
  18018. },
  18019. "auditname": {
  18020. "description": "审核人名称",
  18021. "type": "string"
  18022. },
  18023. "auditremark": {
  18024. "description": "审核备注",
  18025. "type": "string"
  18026. },
  18027. "auditsrc": {
  18028. "description": "审核来源 1-管理端 2-终端",
  18029. "type": "integer"
  18030. },
  18031. "audittime": {
  18032. "description": "审核时间",
  18033. "type": "string"
  18034. },
  18035. "contracttype": {
  18036. "description": "计划类型 - 1:采购 -1:销售",
  18037. "type": "integer"
  18038. },
  18039. "convertfactor": {
  18040. "description": "标仓系数",
  18041. "type": "number"
  18042. },
  18043. "createtime": {
  18044. "description": "创建时间",
  18045. "type": "string"
  18046. },
  18047. "currencyid": {
  18048. "description": "币种id",
  18049. "type": "integer"
  18050. },
  18051. "currencyname": {
  18052. "description": "币种名称",
  18053. "type": "string"
  18054. },
  18055. "deliverygoodscode": {
  18056. "description": "现货品种代码",
  18057. "type": "string"
  18058. },
  18059. "deliverygoodsid": {
  18060. "description": "现货品种ID",
  18061. "type": "integer"
  18062. },
  18063. "deliverygoodsname": {
  18064. "description": "现货品种名称",
  18065. "type": "string"
  18066. },
  18067. "enumdicname": {
  18068. "description": "单位名称(现货商品)",
  18069. "type": "string"
  18070. },
  18071. "hedgeplanid": {
  18072. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18073. "type": "string"
  18074. },
  18075. "hedgeplanno": {
  18076. "description": "套保计划编号(名称)",
  18077. "type": "string"
  18078. },
  18079. "hedgeplanstatus": {
  18080. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18081. "type": "integer"
  18082. },
  18083. "planqty": {
  18084. "description": "计划数量",
  18085. "type": "number"
  18086. },
  18087. "plantime": {
  18088. "description": "计划时间",
  18089. "type": "string"
  18090. },
  18091. "producttype": {
  18092. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18093. "type": "integer"
  18094. },
  18095. "remark": {
  18096. "description": "备注",
  18097. "type": "string"
  18098. },
  18099. "spotgoodsdesc": {
  18100. "description": "商品型号",
  18101. "type": "string"
  18102. },
  18103. "taaccountname": {
  18104. "description": "资金账号名称",
  18105. "type": "string"
  18106. },
  18107. "tradeuserid": {
  18108. "description": "交易用户id",
  18109. "type": "integer"
  18110. },
  18111. "tradeusername": {
  18112. "description": "交易用户名称",
  18113. "type": "string"
  18114. },
  18115. "unitid": {
  18116. "description": "单位id(现货商品)",
  18117. "type": "integer"
  18118. },
  18119. "updatetime": {
  18120. "description": "更新时间",
  18121. "type": "string"
  18122. },
  18123. "wrstandardcode": {
  18124. "description": "品类代码",
  18125. "type": "string"
  18126. },
  18127. "wrstandardid": {
  18128. "description": "品类id",
  18129. "type": "integer"
  18130. },
  18131. "wrstandardname": {
  18132. "description": "品类名称",
  18133. "type": "string"
  18134. },
  18135. "wrunitid": {
  18136. "description": "品类单位id",
  18137. "type": "integer"
  18138. },
  18139. "wrunitidame": {
  18140. "description": "品类单位名称",
  18141. "type": "string"
  18142. }
  18143. }
  18144. },
  18145. "models.Ermcp3MiddleGoodsDetail2": {
  18146. "type": "object",
  18147. "properties": {
  18148. "convertratio": {
  18149. "description": "套保系数(折算系数)",
  18150. "type": "number"
  18151. },
  18152. "gplist": {
  18153. "description": "关联商品组列表",
  18154. "type": "array",
  18155. "items": {
  18156. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18157. }
  18158. },
  18159. "mg": {
  18160. "description": "套保商品信息",
  18161. "type": "object",
  18162. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18163. }
  18164. }
  18165. },
  18166. "models.Ermcp3MiddleGoodsDetailEx": {
  18167. "type": "object",
  18168. "properties": {
  18169. "dglist": {
  18170. "description": "关联的现货品种列表",
  18171. "type": "array",
  18172. "items": {
  18173. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18174. }
  18175. },
  18176. "gplist": {
  18177. "description": "关联商品组列表",
  18178. "type": "array",
  18179. "items": {
  18180. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18181. }
  18182. },
  18183. "mg": {
  18184. "description": "套保商品信息",
  18185. "type": "object",
  18186. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18187. }
  18188. }
  18189. },
  18190. "models.Ermcp3RootUserAccount": {
  18191. "type": "object",
  18192. "properties": {
  18193. "accountname": {
  18194. "description": "账户名称(机构名称)",
  18195. "type": "string"
  18196. },
  18197. "accountstatus": {
  18198. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18199. "type": "integer"
  18200. },
  18201. "applysrc": {
  18202. "description": "申请来源 - 1:管理端 2:终端",
  18203. "type": "integer"
  18204. },
  18205. "auditremark": {
  18206. "description": "审核备注",
  18207. "type": "string"
  18208. },
  18209. "auditsrc": {
  18210. "description": "审核来源 - 1:管理端 2:终端",
  18211. "type": "integer"
  18212. },
  18213. "audittime": {
  18214. "description": "审核时间",
  18215. "type": "string"
  18216. },
  18217. "audituserid": {
  18218. "description": "审核人",
  18219. "type": "integer"
  18220. },
  18221. "broker": {
  18222. "description": "所属经纪人ID",
  18223. "type": "integer"
  18224. },
  18225. "canceltime": {
  18226. "description": "销户时间",
  18227. "type": "string"
  18228. },
  18229. "canceluserid": {
  18230. "description": "销户人",
  18231. "type": "integer"
  18232. },
  18233. "canrecommend": {
  18234. "description": "是否可推荐 - 0:不可 1;可",
  18235. "type": "integer"
  18236. },
  18237. "createtime": {
  18238. "description": "创建时间",
  18239. "type": "string"
  18240. },
  18241. "creatorid": {
  18242. "description": "创建人",
  18243. "type": "integer"
  18244. },
  18245. "hasauth": {
  18246. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18247. "type": "integer"
  18248. },
  18249. "isanonymous": {
  18250. "description": "是否匿名下单 - 0:否 1:是",
  18251. "type": "integer"
  18252. },
  18253. "maxinvestornum": {
  18254. "description": "最大用户数(经纪会员下投资者个数)",
  18255. "type": "integer"
  18256. },
  18257. "memberuserid": {
  18258. "description": "所属会员ID",
  18259. "type": "integer"
  18260. },
  18261. "modifierid": {
  18262. "description": "修改人",
  18263. "type": "integer"
  18264. },
  18265. "modifyremark": {
  18266. "description": "变更备注",
  18267. "type": "string"
  18268. },
  18269. "modifystatus": {
  18270. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18271. "type": "integer"
  18272. },
  18273. "modifytime": {
  18274. "description": "修改时间",
  18275. "type": "string"
  18276. },
  18277. "parenttopuser": {
  18278. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18279. "type": "string"
  18280. },
  18281. "parentuserid": {
  18282. "description": "所属机构ID",
  18283. "type": "integer"
  18284. },
  18285. "reckonaccountid": {
  18286. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18287. "type": "integer"
  18288. },
  18289. "refercount": {
  18290. "description": "推荐总人数",
  18291. "type": "integer"
  18292. },
  18293. "refereeuserid": {
  18294. "description": "推荐人ID",
  18295. "type": "integer"
  18296. },
  18297. "refernum": {
  18298. "description": "推荐码",
  18299. "type": "string"
  18300. },
  18301. "rootuserid": {
  18302. "description": "根用户ID",
  18303. "type": "integer"
  18304. },
  18305. "subaccountlevel": {
  18306. "description": "子账户层数",
  18307. "type": "integer"
  18308. },
  18309. "subarealevelpath": {
  18310. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18311. "type": "string"
  18312. },
  18313. "userid": {
  18314. "description": "用户ID",
  18315. "type": "integer"
  18316. },
  18317. "usertype": {
  18318. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18319. "type": "integer"
  18320. }
  18321. }
  18322. },
  18323. "models.Ermcp3SellBuyContract": {
  18324. "type": "object",
  18325. "properties": {
  18326. "accountid": {
  18327. "description": "期货账户id",
  18328. "type": "string"
  18329. },
  18330. "accountname": {
  18331. "description": "账户名称",
  18332. "type": "string"
  18333. },
  18334. "attachment": {
  18335. "description": "附件",
  18336. "type": "string"
  18337. },
  18338. "audittime": {
  18339. "description": "审核时间",
  18340. "type": "string"
  18341. },
  18342. "biztype": {
  18343. "description": "业务类型 1-套保 2-套利",
  18344. "type": "integer"
  18345. },
  18346. "brandname": {
  18347. "description": "品牌名称",
  18348. "type": "string"
  18349. },
  18350. "contracctstatus": {
  18351. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18352. "type": "integer"
  18353. },
  18354. "contractmargin": {
  18355. "description": "合同保证金",
  18356. "type": "number"
  18357. },
  18358. "contractno": {
  18359. "description": "合同编号",
  18360. "type": "string"
  18361. },
  18362. "contracttype": {
  18363. "description": "合同类型 1-采购, -1-销售",
  18364. "type": "integer"
  18365. },
  18366. "convertfactor": {
  18367. "description": "标仓系数(品类)",
  18368. "type": "number"
  18369. },
  18370. "createtime": {
  18371. "description": "创建时间",
  18372. "type": "string"
  18373. },
  18374. "currencyid": {
  18375. "description": "币种id",
  18376. "type": "integer"
  18377. },
  18378. "currencyname": {
  18379. "description": "币种名称",
  18380. "type": "string"
  18381. },
  18382. "daikaiamount": {
  18383. "description": "应收(开)票额",
  18384. "type": "number"
  18385. },
  18386. "deliveryenddate": {
  18387. "description": "交割结束日",
  18388. "type": "string"
  18389. },
  18390. "deliverygoodscode": {
  18391. "description": "现货品种代码",
  18392. "type": "string"
  18393. },
  18394. "deliverygoodsid": {
  18395. "description": "现货商品ID",
  18396. "type": "integer"
  18397. },
  18398. "deliverygoodsname": {
  18399. "description": "现货品种名称",
  18400. "type": "string"
  18401. },
  18402. "deliverystartdate": {
  18403. "description": "交割开始日",
  18404. "type": "string"
  18405. },
  18406. "enddate": {
  18407. "description": "点价结束日",
  18408. "type": "string"
  18409. },
  18410. "enumdicname": {
  18411. "description": "单位名称",
  18412. "type": "string"
  18413. },
  18414. "goodscode": {
  18415. "description": "点价商品代码",
  18416. "type": "string"
  18417. },
  18418. "goodsid": {
  18419. "description": "点价商品ID",
  18420. "type": "integer"
  18421. },
  18422. "goodsname": {
  18423. "description": "点价商品名称",
  18424. "type": "string"
  18425. },
  18426. "invoiceamount": {
  18427. "description": "已开票额",
  18428. "type": "number"
  18429. },
  18430. "loanamount": {
  18431. "description": "贷款总额=已定价额+调整金额",
  18432. "type": "number"
  18433. },
  18434. "margin": {
  18435. "description": "保证金",
  18436. "type": "number"
  18437. },
  18438. "meruserid": {
  18439. "description": "跟单员id",
  18440. "type": "integer"
  18441. },
  18442. "meruserlogincode": {
  18443. "description": "跟单员登录代码",
  18444. "type": "string"
  18445. },
  18446. "merusername": {
  18447. "description": "跟单员名称",
  18448. "type": "string"
  18449. },
  18450. "nickname": {
  18451. "description": "账户昵称",
  18452. "type": "string"
  18453. },
  18454. "payamount": {
  18455. "description": "已收付额(收款或付款)",
  18456. "type": "number"
  18457. },
  18458. "preinvoiceamount": {
  18459. "description": "预收(开)票额",
  18460. "type": "number"
  18461. },
  18462. "prepayamount": {
  18463. "description": "预收付额",
  18464. "type": "number"
  18465. },
  18466. "price": {
  18467. "description": "价格",
  18468. "type": "number"
  18469. },
  18470. "pricedamount": {
  18471. "description": "已定价额",
  18472. "type": "number"
  18473. },
  18474. "pricedavg": {
  18475. "description": "已点均价",
  18476. "type": "number"
  18477. },
  18478. "pricedqty": {
  18479. "description": "已定价量",
  18480. "type": "number"
  18481. },
  18482. "pricemove": {
  18483. "description": "升贴水",
  18484. "type": "number"
  18485. },
  18486. "pricetype": {
  18487. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18488. "type": "integer"
  18489. },
  18490. "producttype": {
  18491. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18492. "type": "integer"
  18493. },
  18494. "qty": {
  18495. "description": "合同量",
  18496. "type": "number"
  18497. },
  18498. "reckonadjustamount": {
  18499. "description": "调整金额",
  18500. "type": "number"
  18501. },
  18502. "reckonedamount": {
  18503. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18504. "type": "number"
  18505. },
  18506. "reckonotheramount": {
  18507. "description": "其它费用",
  18508. "type": "number"
  18509. },
  18510. "reckonrealqty": {
  18511. "description": "已确定量",
  18512. "type": "number"
  18513. },
  18514. "remark": {
  18515. "description": "备注",
  18516. "type": "string"
  18517. },
  18518. "saleuserid": {
  18519. "description": "业务员id",
  18520. "type": "integer"
  18521. },
  18522. "saleuserlogincode": {
  18523. "description": "业务员登录代码",
  18524. "type": "string"
  18525. },
  18526. "saleusername": {
  18527. "description": "业务员名称",
  18528. "type": "string"
  18529. },
  18530. "spotcontractid": {
  18531. "description": "合同ID",
  18532. "type": "string"
  18533. },
  18534. "spotgoodsbrandid": {
  18535. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18536. "type": "integer"
  18537. },
  18538. "spotgoodsdesc": {
  18539. "description": "商品型号(商品规格)",
  18540. "type": "string"
  18541. },
  18542. "startdate": {
  18543. "description": "点价开始日",
  18544. "type": "string"
  18545. },
  18546. "totalamount": {
  18547. "description": "合计总额",
  18548. "type": "number"
  18549. },
  18550. "tradeuserid": {
  18551. "description": "交易员id",
  18552. "type": "integer"
  18553. },
  18554. "tradeuserlogincode": {
  18555. "description": "交易员登录代码",
  18556. "type": "string"
  18557. },
  18558. "tradeusername": {
  18559. "description": "交易员名称",
  18560. "type": "string"
  18561. },
  18562. "unpayamount": {
  18563. "description": "应收付款额(应支付或应收款)",
  18564. "type": "number"
  18565. },
  18566. "unpricedqty": {
  18567. "description": "未定价量",
  18568. "type": "number"
  18569. },
  18570. "unsureqty": {
  18571. "description": "未确定量",
  18572. "type": "number"
  18573. },
  18574. "userid": {
  18575. "description": "机构ID",
  18576. "type": "integer"
  18577. },
  18578. "wrstandardcode": {
  18579. "description": "品类代码",
  18580. "type": "string"
  18581. },
  18582. "wrstandardid": {
  18583. "description": "品类ID",
  18584. "type": "integer"
  18585. },
  18586. "wrstandardname": {
  18587. "description": "品类名称",
  18588. "type": "string"
  18589. }
  18590. }
  18591. },
  18592. "models.Ermcp3SpotGoodsPrice": {
  18593. "type": "object",
  18594. "properties": {
  18595. "areauserid": {
  18596. "description": "所属机构id",
  18597. "type": "integer"
  18598. },
  18599. "brandname": {
  18600. "description": "品牌名称",
  18601. "type": "string"
  18602. },
  18603. "currencyid": {
  18604. "description": "报价货币ID",
  18605. "type": "integer"
  18606. },
  18607. "currencyname": {
  18608. "description": "币种名称",
  18609. "type": "string"
  18610. },
  18611. "deliverygoodscode": {
  18612. "description": "现货商品代码",
  18613. "type": "string"
  18614. },
  18615. "deliverygoodsid": {
  18616. "description": "现货商品id",
  18617. "type": "integer"
  18618. },
  18619. "deliverygoodsname": {
  18620. "description": "现货商品名称",
  18621. "type": "string"
  18622. },
  18623. "enumdicname": {
  18624. "description": "现货商品单位名称",
  18625. "type": "string"
  18626. },
  18627. "gbenumdicname": {
  18628. "description": "品类单位名称",
  18629. "type": "string"
  18630. },
  18631. "gmunitid": {
  18632. "description": "品类单位id",
  18633. "type": "integer"
  18634. },
  18635. "isvalid": {
  18636. "description": "是否有效 - 0:无效 1:有效",
  18637. "type": "integer"
  18638. },
  18639. "operateid": {
  18640. "description": "最后操作人",
  18641. "type": "integer"
  18642. },
  18643. "operatesrc": {
  18644. "description": "最后操作来源 - 1:管理端 2:终端",
  18645. "type": "integer"
  18646. },
  18647. "operatetime": {
  18648. "description": "最后操作时间",
  18649. "type": "string"
  18650. },
  18651. "operatorname": {
  18652. "description": "操作人名称",
  18653. "type": "string"
  18654. },
  18655. "spotgoodsbrandid": {
  18656. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18657. "type": "integer"
  18658. },
  18659. "spotgoodsprice": {
  18660. "description": "现货价格",
  18661. "type": "number"
  18662. },
  18663. "tradedate": {
  18664. "description": "交易日(yyyyMMdd)",
  18665. "type": "string"
  18666. },
  18667. "unitid": {
  18668. "description": "现货商品单位id",
  18669. "type": "integer"
  18670. },
  18671. "wrstandardcode": {
  18672. "description": "品类代码",
  18673. "type": "string"
  18674. },
  18675. "wrstandardid": {
  18676. "description": "现货品类ID(通用则为0)",
  18677. "type": "integer"
  18678. },
  18679. "wrstandardname": {
  18680. "description": "品类名称",
  18681. "type": "string"
  18682. }
  18683. }
  18684. },
  18685. "models.Ermcp3SpotGoodsPriceLog": {
  18686. "type": "object",
  18687. "properties": {
  18688. "areauserid": {
  18689. "description": "所属机构id",
  18690. "type": "integer"
  18691. },
  18692. "brandname": {
  18693. "description": "品牌名称",
  18694. "type": "string"
  18695. },
  18696. "currencyid": {
  18697. "description": "报价货币ID",
  18698. "type": "integer"
  18699. },
  18700. "deliverygoodscode": {
  18701. "description": "现货商品代码",
  18702. "type": "string"
  18703. },
  18704. "deliverygoodsid": {
  18705. "description": "现货商品id",
  18706. "type": "integer"
  18707. },
  18708. "deliverygoodsname": {
  18709. "description": "现货商品名称",
  18710. "type": "string"
  18711. },
  18712. "enumdicname": {
  18713. "description": "现货商品单位名称",
  18714. "type": "string"
  18715. },
  18716. "gbenumdicname": {
  18717. "description": "品类单位名称",
  18718. "type": "string"
  18719. },
  18720. "gmunitid": {
  18721. "description": "品类单位id",
  18722. "type": "integer"
  18723. },
  18724. "logid": {
  18725. "description": "日志id",
  18726. "type": "integer"
  18727. },
  18728. "operateid": {
  18729. "description": "最后操作人",
  18730. "type": "integer"
  18731. },
  18732. "operatesrc": {
  18733. "description": "最后操作来源 - 1:管理端 2:终端",
  18734. "type": "integer"
  18735. },
  18736. "operatetime": {
  18737. "description": "最后操作时间",
  18738. "type": "string"
  18739. },
  18740. "operatorname": {
  18741. "description": "操作人名称",
  18742. "type": "string"
  18743. },
  18744. "spotgoodsbrandid": {
  18745. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18746. "type": "integer"
  18747. },
  18748. "spotgoodsprice": {
  18749. "description": "现货价格",
  18750. "type": "number"
  18751. },
  18752. "tradedate": {
  18753. "description": "交易日(yyyyMMdd)",
  18754. "type": "string"
  18755. },
  18756. "unitid": {
  18757. "description": "现货商品单位id",
  18758. "type": "integer"
  18759. },
  18760. "wrstandardcode": {
  18761. "description": "品类代码",
  18762. "type": "string"
  18763. },
  18764. "wrstandardid": {
  18765. "description": "现货品类ID(通用则为0)",
  18766. "type": "integer"
  18767. },
  18768. "wrstandardname": {
  18769. "description": "品类名称",
  18770. "type": "string"
  18771. }
  18772. }
  18773. },
  18774. "models.Ermcp3TaFutuReDataReport": {
  18775. "type": "object",
  18776. "properties": {
  18777. "accountid": {
  18778. "description": "交易账户",
  18779. "type": "integer"
  18780. },
  18781. "accountname": {
  18782. "description": "交易账号名称",
  18783. "type": "string"
  18784. },
  18785. "begindate": {
  18786. "description": "开始交易日",
  18787. "type": "string"
  18788. },
  18789. "buyorsell": {
  18790. "description": "持仓方向",
  18791. "type": "integer"
  18792. },
  18793. "charge": {
  18794. "description": "手续费",
  18795. "type": "number"
  18796. },
  18797. "closeavgprice": {
  18798. "description": "平仓均价",
  18799. "type": "number"
  18800. },
  18801. "closepl": {
  18802. "description": "平仓损益",
  18803. "type": "number"
  18804. },
  18805. "currencyid": {
  18806. "description": "结算币种ID",
  18807. "type": "integer"
  18808. },
  18809. "currencyname": {
  18810. "description": "币种名称",
  18811. "type": "string"
  18812. },
  18813. "cycletime": {
  18814. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18815. "type": "string"
  18816. },
  18817. "cycletype": {
  18818. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18819. "type": "integer"
  18820. },
  18821. "enddate": {
  18822. "description": "结束交易日",
  18823. "type": "string"
  18824. },
  18825. "enumdicname": {
  18826. "description": "单位名称",
  18827. "type": "string"
  18828. },
  18829. "floatpl": {
  18830. "description": "浮动损益",
  18831. "type": "number"
  18832. },
  18833. "goodscode": {
  18834. "description": "交易合约代码",
  18835. "type": "string"
  18836. },
  18837. "goodsgroupid": {
  18838. "description": "交易品种",
  18839. "type": "integer"
  18840. },
  18841. "goodsgroupname": {
  18842. "description": "交易品种名称",
  18843. "type": "string"
  18844. },
  18845. "goodsgroupspotqty": {
  18846. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  18847. "type": "number"
  18848. },
  18849. "goodsid": {
  18850. "description": "交易合约",
  18851. "type": "integer"
  18852. },
  18853. "goodsname": {
  18854. "description": "交易合约名称",
  18855. "type": "string"
  18856. },
  18857. "goodunitid": {
  18858. "description": "交易合约单位id",
  18859. "type": "integer"
  18860. },
  18861. "holdamount": {
  18862. "description": "期末持仓额",
  18863. "type": "number"
  18864. },
  18865. "holdqty": {
  18866. "description": "期末持仓量",
  18867. "type": "number"
  18868. },
  18869. "lastholdamount": {
  18870. "description": "当前持仓额",
  18871. "type": "number"
  18872. },
  18873. "lastprice": {
  18874. "description": "最新价",
  18875. "type": "number"
  18876. },
  18877. "middlegoodsid": {
  18878. "description": "套保品种id",
  18879. "type": "integer"
  18880. },
  18881. "middlegoodsname": {
  18882. "description": "套保商品名称",
  18883. "type": "string"
  18884. },
  18885. "middlegoodsqty": {
  18886. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  18887. "type": "number"
  18888. },
  18889. "middlgoodscode": {
  18890. "description": "套保商品代码",
  18891. "type": "string"
  18892. },
  18893. "openamount": {
  18894. "description": "期末开仓额",
  18895. "type": "number"
  18896. },
  18897. "openavgprice": {
  18898. "description": "开仓均价",
  18899. "type": "number"
  18900. },
  18901. "oriholdamount": {
  18902. "description": "期初持仓额",
  18903. "type": "number"
  18904. },
  18905. "oriholdqty": {
  18906. "description": "期初持仓量",
  18907. "type": "number"
  18908. },
  18909. "oriopenamount": {
  18910. "description": "期初开仓额",
  18911. "type": "number"
  18912. },
  18913. "outergroupcode": {
  18914. "description": "交易品种代码",
  18915. "type": "string"
  18916. },
  18917. "reckondate": {
  18918. "description": "日照时期(yyyyMMdd)",
  18919. "type": "string"
  18920. },
  18921. "reckonholdamount": {
  18922. "description": "结算持仓额",
  18923. "type": "number"
  18924. },
  18925. "reckonpl": {
  18926. "description": "结算损益",
  18927. "type": "number"
  18928. },
  18929. "reckonpl2": {
  18930. "description": "结算逐笔盈亏",
  18931. "type": "number"
  18932. },
  18933. "reckonprice": {
  18934. "description": "结算价",
  18935. "type": "number"
  18936. },
  18937. "relateduserid": {
  18938. "description": "账户关联用户ID",
  18939. "type": "integer"
  18940. },
  18941. "todaycloseamount": {
  18942. "description": "今平仓额",
  18943. "type": "number"
  18944. },
  18945. "todaycloseqty": {
  18946. "description": "今平仓量",
  18947. "type": "number"
  18948. },
  18949. "todaygoodsgroupspotqty": {
  18950. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  18951. "type": "number"
  18952. },
  18953. "todaymiddlegoodsqty": {
  18954. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  18955. "type": "number"
  18956. },
  18957. "todayopenamount": {
  18958. "description": "今开仓额",
  18959. "type": "number"
  18960. },
  18961. "todayopenqty": {
  18962. "description": "今开仓量",
  18963. "type": "number"
  18964. },
  18965. "userid": {
  18966. "description": "账户所属用户ID",
  18967. "type": "integer"
  18968. }
  18969. }
  18970. },
  18971. "models.Ermcp3Wrstandard": {
  18972. "type": "object",
  18973. "properties": {
  18974. "areauserid": {
  18975. "description": "所属机构",
  18976. "type": "integer"
  18977. },
  18978. "convertfactor": {
  18979. "description": "标仓系数",
  18980. "type": "number"
  18981. },
  18982. "createtime": {
  18983. "description": "创建时间",
  18984. "type": "string"
  18985. },
  18986. "creatorid": {
  18987. "description": "创建人",
  18988. "type": "integer"
  18989. },
  18990. "deliverygoodsid": {
  18991. "description": "现货品种ID",
  18992. "type": "integer"
  18993. },
  18994. "enumdicname": {
  18995. "description": "品类单位名称",
  18996. "type": "string"
  18997. },
  18998. "isvalid": {
  18999. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19000. "type": "integer"
  19001. },
  19002. "minivalue": {
  19003. "description": "最小变动值",
  19004. "type": "integer"
  19005. },
  19006. "minivaluedp": {
  19007. "description": "最小变动值小数位",
  19008. "type": "integer"
  19009. },
  19010. "realminivalue": {
  19011. "description": "实际最小变动值",
  19012. "type": "integer"
  19013. },
  19014. "realminivaluedp": {
  19015. "description": "实际最小变动值小数位",
  19016. "type": "integer"
  19017. },
  19018. "remark": {
  19019. "description": "备注",
  19020. "type": "string"
  19021. },
  19022. "unitid": {
  19023. "description": "品类单位ID",
  19024. "type": "integer"
  19025. },
  19026. "updatetime": {
  19027. "description": "更新时间",
  19028. "type": "string"
  19029. },
  19030. "wrstandardcode": {
  19031. "description": "品类代码",
  19032. "type": "string"
  19033. },
  19034. "wrstandardid": {
  19035. "description": "品类ID(SEQ_WRSTANDARD)",
  19036. "type": "integer"
  19037. },
  19038. "wrstandardname": {
  19039. "description": "品类名称",
  19040. "type": "string"
  19041. }
  19042. }
  19043. },
  19044. "models.ErmcpAreaSpotDetailModel": {
  19045. "type": "object",
  19046. "properties": {
  19047. "contracttype": {
  19048. "description": "合同类型 1-采购 -1-销售",
  19049. "type": "integer"
  19050. },
  19051. "createtime": {
  19052. "description": "创建时间",
  19053. "type": "string"
  19054. },
  19055. "enumdicname": {
  19056. "description": "现货商品单位名称",
  19057. "type": "string"
  19058. },
  19059. "logtype": {
  19060. "description": "记录类型 1-套保 2-现货合同",
  19061. "type": "integer"
  19062. },
  19063. "qty": {
  19064. "description": "数量",
  19065. "type": "number"
  19066. },
  19067. "recordname": {
  19068. "description": "类型名称",
  19069. "type": "string"
  19070. },
  19071. "relatedid": {
  19072. "description": "套保计划ID/现货合同ID",
  19073. "type": "string"
  19074. },
  19075. "relatedno": {
  19076. "description": "编号",
  19077. "type": "string"
  19078. },
  19079. "strtime": {
  19080. "description": "时间",
  19081. "type": "string"
  19082. },
  19083. "wrstandardcode": {
  19084. "description": "现货商品代码",
  19085. "type": "string"
  19086. },
  19087. "wrstandardname": {
  19088. "description": "现货商品名称",
  19089. "type": "string"
  19090. }
  19091. }
  19092. },
  19093. "models.ErmcpAvalidGoodsGroupModel": {
  19094. "type": "object",
  19095. "properties": {
  19096. "goodsgroupid": {
  19097. "description": "期货品种id",
  19098. "type": "integer"
  19099. },
  19100. "goodsgroupname": {
  19101. "description": "期货品种名称",
  19102. "type": "string"
  19103. },
  19104. "goodunitid": {
  19105. "description": "品种单位id",
  19106. "type": "integer"
  19107. },
  19108. "goodunitname": {
  19109. "description": "品种单位名称",
  19110. "type": "string"
  19111. },
  19112. "outergroupcode": {
  19113. "description": "期货品种代码",
  19114. "type": "string"
  19115. }
  19116. }
  19117. },
  19118. "models.ErmcpBizGroupEx": {
  19119. "type": "object",
  19120. "properties": {
  19121. "acclist": {
  19122. "description": "账号列表",
  19123. "type": "array",
  19124. "items": {
  19125. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19126. }
  19127. },
  19128. "bizgroupid": {
  19129. "description": "业务分组id",
  19130. "type": "integer"
  19131. },
  19132. "biztype": {
  19133. "description": "业务类型 1-套保 2-套利",
  19134. "type": "integer"
  19135. },
  19136. "wrlist": {
  19137. "description": "现货商品表",
  19138. "type": "array",
  19139. "items": {
  19140. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19141. }
  19142. }
  19143. }
  19144. },
  19145. "models.ErmcpBizGroupSpotGoods": {
  19146. "type": "object",
  19147. "properties": {
  19148. "areauserid": {
  19149. "description": "所属机构id",
  19150. "type": "integer"
  19151. },
  19152. "bizgroupid": {
  19153. "description": "分组id",
  19154. "type": "integer"
  19155. },
  19156. "biztype": {
  19157. "description": "业务类型 1-套保 2-套利",
  19158. "type": "integer"
  19159. },
  19160. "deliverygoodscode": {
  19161. "description": "现货商品代码",
  19162. "type": "string"
  19163. },
  19164. "deliverygoodsid": {
  19165. "description": "现货商品id",
  19166. "type": "integer"
  19167. },
  19168. "deliverygoodsname": {
  19169. "description": "现货商品名称",
  19170. "type": "string"
  19171. },
  19172. "unitid": {
  19173. "description": "现货商品单位id",
  19174. "type": "integer"
  19175. }
  19176. }
  19177. },
  19178. "models.ErmcpBizGroupTaAccount": {
  19179. "type": "object",
  19180. "properties": {
  19181. "accountid": {
  19182. "description": "账号id",
  19183. "type": "integer"
  19184. },
  19185. "accountname": {
  19186. "description": "账号名称",
  19187. "type": "string"
  19188. },
  19189. "areauserid": {
  19190. "description": "所属机构id",
  19191. "type": "integer"
  19192. },
  19193. "bizgroupid": {
  19194. "description": "业务分组id",
  19195. "type": "integer"
  19196. },
  19197. "ismain": {
  19198. "description": "是否主账号 1-是 0-否",
  19199. "type": "integer"
  19200. }
  19201. }
  19202. },
  19203. "models.ErmcpDGFactoryItem": {
  19204. "type": "object",
  19205. "properties": {
  19206. "areauserid": {
  19207. "description": "用户id",
  19208. "type": "integer"
  19209. },
  19210. "deliverygoodsid": {
  19211. "description": "现货品种ID",
  19212. "type": "integer"
  19213. },
  19214. "dgfactoryitemid": {
  19215. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19216. "type": "integer"
  19217. },
  19218. "dgfactoryitemtypeid": {
  19219. "description": "要素项类型",
  19220. "type": "integer"
  19221. },
  19222. "dgfactoryitemvalue": {
  19223. "description": "要素项值(类型为仓库时填写仓库名称)",
  19224. "type": "string"
  19225. },
  19226. "isvalid": {
  19227. "description": "是否有效 - 0:无效 1:有效",
  19228. "type": "integer"
  19229. },
  19230. "orderindex": {
  19231. "description": "顺序",
  19232. "type": "integer"
  19233. },
  19234. "warehouseid": {
  19235. "description": "仓库ID(类型为仓库时填写)",
  19236. "type": "integer"
  19237. }
  19238. }
  19239. },
  19240. "models.ErmcpDeliveryGoods": {
  19241. "type": "object",
  19242. "properties": {
  19243. "agreeunit": {
  19244. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19245. "type": "integer"
  19246. },
  19247. "areauserid": {
  19248. "description": "所属机构",
  19249. "type": "integer"
  19250. },
  19251. "auditflag": {
  19252. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19253. "type": "integer"
  19254. },
  19255. "categoryid": {
  19256. "description": "类别ID(SEQ_WRCATEGORY)",
  19257. "type": "integer"
  19258. },
  19259. "deliverygoodscode": {
  19260. "description": "现货品种代码",
  19261. "type": "string"
  19262. },
  19263. "deliverygoodsid": {
  19264. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19265. "type": "integer"
  19266. },
  19267. "deliverygoodsname": {
  19268. "description": "现货品种名称",
  19269. "type": "string"
  19270. },
  19271. "deliverygoodstype": {
  19272. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19273. "type": "integer"
  19274. },
  19275. "dgstatus": {
  19276. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19277. "type": "integer"
  19278. },
  19279. "enumdicname": {
  19280. "description": "现货品种单位名称",
  19281. "type": "string"
  19282. },
  19283. "goodsunitid": {
  19284. "description": "现货品种单位ID",
  19285. "type": "integer"
  19286. },
  19287. "isvalid": {
  19288. "description": "是否有效 - 0:无效 1:有效",
  19289. "type": "integer"
  19290. },
  19291. "qtydecimalplace": {
  19292. "description": "成交量小数位",
  19293. "type": "integer"
  19294. },
  19295. "remark": {
  19296. "description": "备注",
  19297. "type": "string"
  19298. },
  19299. "standardqty": {
  19300. "description": "标准数量(库位数量) [标准品特有]",
  19301. "type": "integer"
  19302. },
  19303. "standardqtyrange": {
  19304. "description": "标准数量偏差范围 [标准品特有]",
  19305. "type": "integer"
  19306. }
  19307. }
  19308. },
  19309. "models.ErmcpDeliveryGoodsDetail2": {
  19310. "type": "object",
  19311. "properties": {
  19312. "convertratio": {
  19313. "description": "套保系数(折算系数)",
  19314. "type": "number"
  19315. },
  19316. "data": {
  19317. "description": "现货商品基本信息(交割品种)",
  19318. "type": "object",
  19319. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19320. },
  19321. "gblist": {
  19322. "description": "品牌列表",
  19323. "type": "array",
  19324. "items": {
  19325. "$ref": "#/definitions/models.Ermcp3Brand"
  19326. }
  19327. },
  19328. "gmlist": {
  19329. "description": "品类列表(仓单标准)",
  19330. "type": "array",
  19331. "items": {
  19332. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19333. }
  19334. }
  19335. }
  19336. },
  19337. "models.ErmcpDeliveryGoodsDetailEx": {
  19338. "type": "object",
  19339. "properties": {
  19340. "data": {
  19341. "description": "现货商品基本信息(交割品种)",
  19342. "type": "object",
  19343. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19344. },
  19345. "gblist": {
  19346. "description": "品牌列表",
  19347. "type": "array",
  19348. "items": {
  19349. "$ref": "#/definitions/models.Ermcp3Brand"
  19350. }
  19351. },
  19352. "gmlist": {
  19353. "description": "品类列表(仓单标准)",
  19354. "type": "array",
  19355. "items": {
  19356. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19357. }
  19358. },
  19359. "mgList": {
  19360. "description": "套保列表",
  19361. "type": "array",
  19362. "items": {
  19363. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19364. }
  19365. }
  19366. }
  19367. },
  19368. "models.ErmcpExposureDetailModel": {
  19369. "type": "object",
  19370. "properties": {
  19371. "areauserid": {
  19372. "description": "机构ID",
  19373. "type": "integer"
  19374. },
  19375. "changeQty": {
  19376. "description": "套保变动量",
  19377. "type": "number"
  19378. },
  19379. "contracttype": {
  19380. "description": "现货合同类型 - 1:采购 -1:销售",
  19381. "type": "integer"
  19382. },
  19383. "convertfactor": {
  19384. "description": "标仓系数",
  19385. "type": "number"
  19386. },
  19387. "convertratio": {
  19388. "description": "套保系数",
  19389. "type": "number"
  19390. },
  19391. "createtime": {
  19392. "description": "时间",
  19393. "type": "string"
  19394. },
  19395. "enumdicname": {
  19396. "description": "现货商品单位名称",
  19397. "type": "string"
  19398. },
  19399. "logtype": {
  19400. "description": "类型 - 1:套保计划 2:现货合同",
  19401. "type": "integer"
  19402. },
  19403. "middlegoodsId": {
  19404. "description": "套保商品id",
  19405. "type": "integer"
  19406. },
  19407. "middlegoodscode": {
  19408. "description": "套保商品代码",
  19409. "type": "string"
  19410. },
  19411. "middlegoodsname": {
  19412. "description": "套保商品名称",
  19413. "type": "string"
  19414. },
  19415. "qty": {
  19416. "description": "数量",
  19417. "type": "number"
  19418. },
  19419. "relateNo": {
  19420. "description": "现货合同/套保计划编号",
  19421. "type": "string"
  19422. },
  19423. "wrstandardcode": {
  19424. "description": "现货商品代码",
  19425. "type": "string"
  19426. },
  19427. "wrstandardid": {
  19428. "description": "现货商品ID",
  19429. "type": "integer"
  19430. },
  19431. "wrstandardname": {
  19432. "description": "现货商品名称",
  19433. "type": "string"
  19434. }
  19435. }
  19436. },
  19437. "models.ErmcpExposurePostion": {
  19438. "type": "object",
  19439. "properties": {
  19440. "agreeunit": {
  19441. "description": "合约单位",
  19442. "type": "string"
  19443. },
  19444. "areauserid": {
  19445. "description": "所属机构id",
  19446. "type": "integer"
  19447. },
  19448. "convertratio": {
  19449. "description": "期货品种系数(折算系数)",
  19450. "type": "number"
  19451. },
  19452. "curqty": {
  19453. "description": "当前持仓",
  19454. "type": "integer"
  19455. },
  19456. "diffhedgeqty": {
  19457. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19458. "type": "number"
  19459. },
  19460. "diffqty": {
  19461. "description": "持仓变动量=当前持仓-昨日持仓",
  19462. "type": "integer"
  19463. },
  19464. "goodscode": {
  19465. "description": "商品代码",
  19466. "type": "string"
  19467. },
  19468. "goodsid": {
  19469. "description": "商品id",
  19470. "type": "integer"
  19471. },
  19472. "goodsname": {
  19473. "description": "商品名称",
  19474. "type": "string"
  19475. },
  19476. "middlegoodsid": {
  19477. "description": "套保商品id",
  19478. "type": "integer"
  19479. },
  19480. "ydqty": {
  19481. "description": "昨日持仓",
  19482. "type": "integer"
  19483. }
  19484. }
  19485. },
  19486. "models.ErmcpFuturesCompany": {
  19487. "type": "object",
  19488. "properties": {
  19489. "brokerid": {
  19490. "description": "经纪公司代码",
  19491. "type": "string"
  19492. },
  19493. "channeladdress": {
  19494. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19495. "type": "string"
  19496. },
  19497. "channelid": {
  19498. "description": "对冲渠道ID",
  19499. "type": "string"
  19500. },
  19501. "createtime": {
  19502. "description": "创建时间",
  19503. "type": "string"
  19504. },
  19505. "creatorid": {
  19506. "description": "创建人",
  19507. "type": "string"
  19508. },
  19509. "fcid": {
  19510. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19511. "type": "integer"
  19512. },
  19513. "fcname": {
  19514. "description": "期货公司名称",
  19515. "type": "string"
  19516. },
  19517. "isvalid": {
  19518. "description": "是否有效 - 0:无效 1:有效",
  19519. "type": "integer"
  19520. },
  19521. "mhpaddress": {
  19522. "description": "MHP服务地址(IP:Port)",
  19523. "type": "string"
  19524. },
  19525. "riskrulegroupid": {
  19526. "description": "风控规则组ID",
  19527. "type": "string"
  19528. },
  19529. "tradefeetmpid": {
  19530. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19531. "type": "string"
  19532. },
  19533. "trademargintmpid": {
  19534. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19535. "type": "string"
  19536. },
  19537. "traderatetmpid": {
  19538. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19539. "type": "string"
  19540. },
  19541. "updatetime": {
  19542. "description": "更新时间",
  19543. "type": "string"
  19544. },
  19545. "updatorid": {
  19546. "description": "更新人",
  19547. "type": "string"
  19548. }
  19549. }
  19550. },
  19551. "models.ErmcpGGConvertCfg": {
  19552. "type": "object",
  19553. "properties": {
  19554. "convertratio": {
  19555. "description": "折算系数",
  19556. "type": "number"
  19557. },
  19558. "destgoodsgroupid": {
  19559. "description": "目标品种ID",
  19560. "type": "integer"
  19561. },
  19562. "dstcode": {
  19563. "description": "目录品种代码",
  19564. "type": "string"
  19565. },
  19566. "dstexchangecode": {
  19567. "description": "目标期货交易所",
  19568. "type": "string"
  19569. },
  19570. "dstname": {
  19571. "description": "目标品种名称",
  19572. "type": "string"
  19573. },
  19574. "dstunitid": {
  19575. "description": "目标品种单位ID",
  19576. "type": "integer"
  19577. },
  19578. "dstunitidname": {
  19579. "description": "目标品种单位名称",
  19580. "type": "string"
  19581. },
  19582. "modifytime": {
  19583. "description": "修改时间",
  19584. "type": "string"
  19585. },
  19586. "srccode": {
  19587. "description": "源品种代码",
  19588. "type": "string"
  19589. },
  19590. "srcexchangecode": {
  19591. "description": "源期货交易所",
  19592. "type": "string"
  19593. },
  19594. "srcgoodsgroupid": {
  19595. "description": "源品种ID",
  19596. "type": "integer"
  19597. },
  19598. "srcname": {
  19599. "description": "源品种名称",
  19600. "type": "string"
  19601. },
  19602. "srcunitid": {
  19603. "description": "源品种单位ID",
  19604. "type": "integer"
  19605. },
  19606. "srcunitidname": {
  19607. "description": "源品种单位名称",
  19608. "type": "string"
  19609. }
  19610. }
  19611. },
  19612. "models.ErmcpGoods": {
  19613. "type": "object",
  19614. "required": [
  19615. "goodscode",
  19616. "goodsid",
  19617. "goodsname",
  19618. "marketid"
  19619. ],
  19620. "properties": {
  19621. "agreeunit": {
  19622. "description": "合约单位",
  19623. "type": "number"
  19624. },
  19625. "areauserid": {
  19626. "description": "所属机构",
  19627. "type": "integer"
  19628. },
  19629. "auditaccountid": {
  19630. "description": "审核操作员账号",
  19631. "type": "integer"
  19632. },
  19633. "audittime": {
  19634. "description": "审核时间",
  19635. "type": "string"
  19636. },
  19637. "cancelaccountid": {
  19638. "description": "注销操作员账号",
  19639. "type": "integer"
  19640. },
  19641. "canceltime": {
  19642. "description": "注销时间",
  19643. "type": "string"
  19644. },
  19645. "closepricemode": {
  19646. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19647. "type": "integer"
  19648. },
  19649. "closepriceparam": {
  19650. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19651. "type": "number"
  19652. },
  19653. "createtime": {
  19654. "description": "创建时间",
  19655. "type": "string"
  19656. },
  19657. "creatorid": {
  19658. "description": "创建人",
  19659. "type": "integer"
  19660. },
  19661. "currencyid": {
  19662. "description": "报价货币ID",
  19663. "type": "integer"
  19664. },
  19665. "cutmode": {
  19666. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19667. "type": "integer"
  19668. },
  19669. "decimalplace": {
  19670. "description": "报价小数位",
  19671. "type": "integer"
  19672. },
  19673. "delistingdate": {
  19674. "description": "商品退市时间(状态:退市) -- 已作废",
  19675. "type": "string"
  19676. },
  19677. "delistingmode": {
  19678. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19679. "type": "integer"
  19680. },
  19681. "deliveryflag": {
  19682. "description": "交割标志 - 0:不可交割 1:可交割",
  19683. "type": "integer"
  19684. },
  19685. "enumdicname": {
  19686. "description": "单位名称",
  19687. "type": "string"
  19688. },
  19689. "forceclosemode": {
  19690. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19691. "type": "integer"
  19692. },
  19693. "forceclosevalue": {
  19694. "description": "定期强平参数 [收益权]",
  19695. "type": "integer"
  19696. },
  19697. "goodscode": {
  19698. "description": "商品代码(内部)",
  19699. "type": "string"
  19700. },
  19701. "goodscurrencyid": {
  19702. "description": "合约货币ID",
  19703. "type": "integer"
  19704. },
  19705. "goodsgroupid": {
  19706. "description": "所属商品组ID",
  19707. "type": "integer"
  19708. },
  19709. "goodsid": {
  19710. "description": "商品ID(自增ID SEQ_GOODS)",
  19711. "type": "integer"
  19712. },
  19713. "goodsname": {
  19714. "description": "商品名称",
  19715. "type": "string"
  19716. },
  19717. "goodsquotetype": {
  19718. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19719. "type": "integer"
  19720. },
  19721. "goodsstatus": {
  19722. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19723. "type": "integer"
  19724. },
  19725. "goodstradetype": {
  19726. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19727. "type": "integer"
  19728. },
  19729. "goodunitid": {
  19730. "description": "报价单位ID",
  19731. "type": "integer"
  19732. },
  19733. "hasquoter": {
  19734. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19735. "type": "integer"
  19736. },
  19737. "hqprotecttime": {
  19738. "description": "行情保护时间(秒)",
  19739. "type": "integer"
  19740. },
  19741. "innerdealmode": {
  19742. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19743. "type": "integer"
  19744. },
  19745. "isbuylimited": {
  19746. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19747. "type": "integer"
  19748. },
  19749. "isvisible": {
  19750. "description": "游客是否可见 - 0:不可见 1:可见",
  19751. "type": "integer"
  19752. },
  19753. "lasttradedate": {
  19754. "description": "最后交易日期(状态:待退市)",
  19755. "type": "string"
  19756. },
  19757. "listingdate": {
  19758. "description": "交易开始日期",
  19759. "type": "string"
  19760. },
  19761. "marketid": {
  19762. "description": "所属市场ID",
  19763. "type": "integer"
  19764. },
  19765. "modifierid": {
  19766. "description": "修改人",
  19767. "type": "integer"
  19768. },
  19769. "modifystatus": {
  19770. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19771. "type": "integer"
  19772. },
  19773. "modifytime": {
  19774. "description": "修改时间",
  19775. "type": "string"
  19776. },
  19777. "outerdealmode": {
  19778. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19779. "type": "integer"
  19780. },
  19781. "outgoodscode": {
  19782. "description": "商品代码(外部)",
  19783. "type": "string"
  19784. },
  19785. "pictureurl": {
  19786. "description": "商品图片",
  19787. "type": "string"
  19788. },
  19789. "qtydecimalplace": {
  19790. "description": "成交量小数位",
  19791. "type": "integer"
  19792. },
  19793. "quotegear": {
  19794. "description": "行情档位(1-10)",
  19795. "type": "integer"
  19796. },
  19797. "quoteminunit": {
  19798. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19799. "type": "integer"
  19800. },
  19801. "quoteshowtype": {
  19802. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19803. "type": "integer"
  19804. },
  19805. "quoteshowtypeinterval": {
  19806. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19807. "type": "integer"
  19808. },
  19809. "relatedgoodsid": {
  19810. "description": "关联参考商品ID",
  19811. "type": "integer"
  19812. },
  19813. "remark": {
  19814. "description": "备注",
  19815. "type": "string"
  19816. },
  19817. "trademode": {
  19818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19819. "type": "integer"
  19820. }
  19821. }
  19822. },
  19823. "models.ErmcpGoodsBrand": {
  19824. "type": "object",
  19825. "properties": {
  19826. "areauserid": {
  19827. "description": "所属机构",
  19828. "type": "integer"
  19829. },
  19830. "brandid": {
  19831. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  19832. "type": "integer"
  19833. },
  19834. "brandname": {
  19835. "description": "品牌名称",
  19836. "type": "string"
  19837. },
  19838. "createtime": {
  19839. "description": "创建时间",
  19840. "type": "string"
  19841. },
  19842. "creatorid": {
  19843. "description": "创建人",
  19844. "type": "integer"
  19845. },
  19846. "creatorsrc": {
  19847. "description": "创建人来源 - 1:管理端 2:终端",
  19848. "type": "integer"
  19849. },
  19850. "deliverygoodsid": {
  19851. "description": "现货品种ID",
  19852. "type": "integer"
  19853. },
  19854. "isvalid": {
  19855. "description": "是否有效 - 0:无效 1:有效",
  19856. "type": "integer"
  19857. },
  19858. "updatetime": {
  19859. "description": "更新时间",
  19860. "type": "string"
  19861. },
  19862. "updatorid": {
  19863. "description": "更新人",
  19864. "type": "integer"
  19865. },
  19866. "updatorsrc": {
  19867. "description": "更新人来源 - 1:管理端 2:终端",
  19868. "type": "integer"
  19869. },
  19870. "wrstandardid": {
  19871. "description": "现货商品ID",
  19872. "type": "integer"
  19873. }
  19874. }
  19875. },
  19876. "models.ErmcpGoodsModel": {
  19877. "type": "object",
  19878. "properties": {
  19879. "areauserid": {
  19880. "description": "所属机构",
  19881. "type": "integer"
  19882. },
  19883. "convertfactor": {
  19884. "description": "标仓系数",
  19885. "type": "number"
  19886. },
  19887. "createtime": {
  19888. "description": "创建时间",
  19889. "type": "string"
  19890. },
  19891. "creatorid": {
  19892. "description": "创建人",
  19893. "type": "integer"
  19894. },
  19895. "creatorsrc": {
  19896. "description": "创建人来源 - 1:管理端 2:终端",
  19897. "type": "integer"
  19898. },
  19899. "deliverygoodsid": {
  19900. "description": "现货品种ID",
  19901. "type": "integer"
  19902. },
  19903. "isvalid": {
  19904. "description": "是否有效 - 0:无效 1:有效",
  19905. "type": "integer"
  19906. },
  19907. "modelid": {
  19908. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  19909. "type": "integer"
  19910. },
  19911. "modelname": {
  19912. "description": "型号名称",
  19913. "type": "string"
  19914. },
  19915. "updatetime": {
  19916. "description": "更新时间",
  19917. "type": "string"
  19918. },
  19919. "updatorid": {
  19920. "description": "更新人",
  19921. "type": "integer"
  19922. },
  19923. "updatorsrc": {
  19924. "description": "更新人来源 - 1:管理端 2:终端",
  19925. "type": "integer"
  19926. },
  19927. "wrstandardid": {
  19928. "description": "现货商品ID",
  19929. "type": "integer"
  19930. }
  19931. }
  19932. },
  19933. "models.ErmcpHedgePosition": {
  19934. "type": "object",
  19935. "properties": {
  19936. "accountid": {
  19937. "description": "资金账号[外部母账户]",
  19938. "type": "integer"
  19939. },
  19940. "curbuyposition": {
  19941. "description": "期末买头寸",
  19942. "type": "integer"
  19943. },
  19944. "cursellposition": {
  19945. "description": "期末卖头寸",
  19946. "type": "integer"
  19947. },
  19948. "curtdbuyposition": {
  19949. "description": "期末今日买头寸",
  19950. "type": "integer"
  19951. },
  19952. "curtdsellposition": {
  19953. "description": "期末今日卖头寸",
  19954. "type": "integer"
  19955. },
  19956. "curydbuyposition": {
  19957. "description": "期末上日买头寸",
  19958. "type": "integer"
  19959. },
  19960. "curydsellposition": {
  19961. "description": "期末上日卖头寸",
  19962. "type": "integer"
  19963. },
  19964. "decreaseqty": {
  19965. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19966. "type": "integer"
  19967. },
  19968. "fretdbuyposition": {
  19969. "description": "冻结今日买头寸",
  19970. "type": "integer"
  19971. },
  19972. "fretdsellposition": {
  19973. "description": "冻结今日卖头寸",
  19974. "type": "integer"
  19975. },
  19976. "freydbuyposition": {
  19977. "description": "冻结上日买头寸",
  19978. "type": "integer"
  19979. },
  19980. "freydsellposition": {
  19981. "description": "冻结上日卖头寸",
  19982. "type": "integer"
  19983. },
  19984. "goodscode": {
  19985. "description": "商品代码",
  19986. "type": "string"
  19987. },
  19988. "goodsid": {
  19989. "description": "商品id",
  19990. "type": "integer"
  19991. },
  19992. "goodsname": {
  19993. "description": "商品名称",
  19994. "type": "string"
  19995. },
  19996. "hedgeaccountcode": {
  19997. "description": "对冲账号",
  19998. "type": "string"
  19999. },
  20000. "hedgegoodsid": {
  20001. "description": "对冲合约ID",
  20002. "type": "integer"
  20003. },
  20004. "increaseqty": {
  20005. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20006. "type": "integer"
  20007. },
  20008. "marketid": {
  20009. "description": "市场ID",
  20010. "type": "integer"
  20011. },
  20012. "relateduserid": {
  20013. "description": "关联用户id",
  20014. "type": "integer"
  20015. },
  20016. "totalcurqty": {
  20017. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20018. "type": "integer"
  20019. },
  20020. "totalydqty": {
  20021. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20022. "type": "integer"
  20023. },
  20024. "tradedate": {
  20025. "description": "交易日(yyyyMMdd)",
  20026. "type": "string"
  20027. },
  20028. "ydbuyposition": {
  20029. "description": "期初买头寸",
  20030. "type": "integer"
  20031. },
  20032. "ydsellposition": {
  20033. "description": "期初卖头寸",
  20034. "type": "integer"
  20035. }
  20036. }
  20037. },
  20038. "models.ErmcpHedgePositionDetail": {
  20039. "type": "object",
  20040. "properties": {
  20041. "buyorsell": {
  20042. "description": "买卖方向 0-买 1-卖",
  20043. "type": "integer"
  20044. },
  20045. "channelbuildtype": {
  20046. "description": "开平方向 1-建仓 2-平仓",
  20047. "type": "integer"
  20048. },
  20049. "goodscode": {
  20050. "description": "商品代码",
  20051. "type": "string"
  20052. },
  20053. "goodsname": {
  20054. "description": "商品名称",
  20055. "type": "string"
  20056. },
  20057. "hedgegoodsid": {
  20058. "description": "商品id",
  20059. "type": "integer"
  20060. },
  20061. "tradeqty": {
  20062. "description": "数量(成交数量)",
  20063. "type": "integer"
  20064. },
  20065. "tradetime": {
  20066. "description": "时间(成交时间)",
  20067. "type": "string"
  20068. }
  20069. }
  20070. },
  20071. "models.ErmcpHisExposure": {
  20072. "type": "object",
  20073. "properties": {
  20074. "needhedgeexposoure": {
  20075. "description": "应套保敞口",
  20076. "type": "number"
  20077. },
  20078. "reckondate": {
  20079. "description": "日照时期(yyyyMMdd)",
  20080. "type": "string"
  20081. },
  20082. "totalexposure": {
  20083. "description": "总敞口",
  20084. "type": "number"
  20085. }
  20086. }
  20087. },
  20088. "models.ErmcpHisExposureS": {
  20089. "type": "object",
  20090. "properties": {
  20091. "data": {
  20092. "description": "历史敞口",
  20093. "type": "array",
  20094. "items": {
  20095. "$ref": "#/definitions/models.ErmcpHisExposure"
  20096. }
  20097. },
  20098. "enumdicname": {
  20099. "description": "单位名称",
  20100. "type": "string"
  20101. },
  20102. "middlegoodscode": {
  20103. "description": "套保品种代码",
  20104. "type": "string"
  20105. },
  20106. "middlegoodsid": {
  20107. "description": "套保品种ID",
  20108. "type": "integer"
  20109. },
  20110. "middlegoodsname": {
  20111. "description": "套保品种名称",
  20112. "type": "string"
  20113. }
  20114. }
  20115. },
  20116. "models.ErmcpLoginTaAccount": {
  20117. "type": "object",
  20118. "properties": {
  20119. "accountid": {
  20120. "description": "账号id",
  20121. "type": "integer"
  20122. },
  20123. "accountname": {
  20124. "description": "账号名称",
  20125. "type": "string"
  20126. }
  20127. }
  20128. },
  20129. "models.ErmcpLoginUser": {
  20130. "type": "object",
  20131. "properties": {
  20132. "acclist": {
  20133. "description": "关联资金账号",
  20134. "type": "array",
  20135. "items": {
  20136. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20137. }
  20138. },
  20139. "accountname": {
  20140. "description": "用户名称",
  20141. "type": "string"
  20142. },
  20143. "clientroleid": {
  20144. "description": "角色id(usertype=2)",
  20145. "type": "integer"
  20146. },
  20147. "createtime": {
  20148. "description": "创建时间",
  20149. "type": "string"
  20150. },
  20151. "logincode": {
  20152. "description": "登录代码",
  20153. "type": "string"
  20154. },
  20155. "loginid": {
  20156. "description": "登录id(LOGINID)",
  20157. "type": "integer"
  20158. },
  20159. "loginname": {
  20160. "description": "登录名称(loginaccount表中的accountname字段)",
  20161. "type": "string"
  20162. },
  20163. "loginstatus": {
  20164. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20165. "type": "integer"
  20166. },
  20167. "memberuserid": {
  20168. "description": "所属会员id",
  20169. "type": "integer"
  20170. },
  20171. "mobile": {
  20172. "description": "手机号",
  20173. "type": "string"
  20174. },
  20175. "modifytime": {
  20176. "description": "修改时间",
  20177. "type": "string"
  20178. },
  20179. "password": {
  20180. "description": "密码(不可解密)",
  20181. "type": "string"
  20182. },
  20183. "rolename": {
  20184. "description": "角色名称",
  20185. "type": "string"
  20186. },
  20187. "rolestatus": {
  20188. "description": "角色状态 1-启用 2-停用",
  20189. "type": "integer"
  20190. },
  20191. "roletype": {
  20192. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20193. "type": "string"
  20194. },
  20195. "userid": {
  20196. "description": "用户id",
  20197. "type": "integer"
  20198. },
  20199. "usertype": {
  20200. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20201. "type": "integer"
  20202. }
  20203. }
  20204. },
  20205. "models.ErmcpLoginUserEx": {
  20206. "type": "object",
  20207. "properties": {
  20208. "accountstatus": {
  20209. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20210. "type": "integer"
  20211. },
  20212. "mobile": {
  20213. "description": "手机号",
  20214. "type": "string"
  20215. },
  20216. "querytype": {
  20217. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20218. "type": "integer"
  20219. },
  20220. "roleid": {
  20221. "description": "角色id(交易账户-\u003e用户id)",
  20222. "type": "integer"
  20223. },
  20224. "rolename": {
  20225. "description": "角色名称(交易账户-\u003e用户名称)",
  20226. "type": "string"
  20227. },
  20228. "userlist": {
  20229. "description": "用户列表",
  20230. "type": "array",
  20231. "items": {
  20232. "$ref": "#/definitions/models.ErmcpLoginUser"
  20233. }
  20234. },
  20235. "usertype": {
  20236. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20237. "type": "integer"
  20238. }
  20239. }
  20240. },
  20241. "models.ErmcpMiddleGoodsChangeLog": {
  20242. "type": "object",
  20243. "properties": {
  20244. "aftervalue": {
  20245. "description": "变更后",
  20246. "type": "number"
  20247. },
  20248. "applyid": {
  20249. "description": "操作人",
  20250. "type": "integer"
  20251. },
  20252. "applyname": {
  20253. "description": "操作人名称",
  20254. "type": "string"
  20255. },
  20256. "applysrc": {
  20257. "description": "操作来源 - 1:管理端 2:终端",
  20258. "type": "integer"
  20259. },
  20260. "beforevalue": {
  20261. "description": "变更前",
  20262. "type": "number"
  20263. },
  20264. "changelogtype": {
  20265. "description": "变更流水类型 - 1:套保比率变更",
  20266. "type": "integer"
  20267. },
  20268. "handlestatus": {
  20269. "description": "处理状态",
  20270. "type": "integer"
  20271. },
  20272. "logdatetime": {
  20273. "description": "流水日期",
  20274. "type": "string"
  20275. },
  20276. "logid": {
  20277. "description": "流水ID",
  20278. "type": "integer"
  20279. },
  20280. "logremark": {
  20281. "description": "流水备注",
  20282. "type": "string"
  20283. },
  20284. "middlegoodsid": {
  20285. "description": "套保品种ID",
  20286. "type": "integer"
  20287. },
  20288. "tradedate": {
  20289. "description": "交易日(yyyyMMdd)",
  20290. "type": "string"
  20291. },
  20292. "updatetime": {
  20293. "description": "更新时间",
  20294. "type": "string"
  20295. }
  20296. }
  20297. },
  20298. "models.ErmcpMiddleGoodsDetail": {
  20299. "type": "object",
  20300. "properties": {
  20301. "cvList": {
  20302. "description": "期货品种折算列表",
  20303. "type": "array",
  20304. "items": {
  20305. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20306. }
  20307. },
  20308. "mg": {
  20309. "description": "套保品种基本信息",
  20310. "type": "object",
  20311. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20312. },
  20313. "wrcList": {
  20314. "description": "现货品种列表(现货商品折算配置)",
  20315. "type": "array",
  20316. "items": {
  20317. "$ref": "#/definitions/models.WRSConverTDetail"
  20318. }
  20319. }
  20320. }
  20321. },
  20322. "models.ErmcpMiddleGoodsModel": {
  20323. "type": "object",
  20324. "properties": {
  20325. "areauserid": {
  20326. "description": "机构用户ID",
  20327. "type": "integer"
  20328. },
  20329. "createtime": {
  20330. "description": "修改时间",
  20331. "type": "string"
  20332. },
  20333. "enumdicname": {
  20334. "description": "单位名称",
  20335. "type": "string"
  20336. },
  20337. "evaluateratio": {
  20338. "description": "估价系数",
  20339. "type": "number"
  20340. },
  20341. "goodsgroupid": {
  20342. "description": "关联期货品种ID",
  20343. "type": "integer"
  20344. },
  20345. "goodsunitid": {
  20346. "description": "单位ID",
  20347. "type": "integer"
  20348. },
  20349. "isvalid": {
  20350. "description": "状态 0-无效(停用) 1-有效(正常)",
  20351. "type": "integer"
  20352. },
  20353. "middlegoodscode": {
  20354. "description": "套保品种代码",
  20355. "type": "string"
  20356. },
  20357. "middlegoodsid": {
  20358. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20359. "type": "integer"
  20360. },
  20361. "middlegoodsname": {
  20362. "description": "套保品种名称",
  20363. "type": "string"
  20364. },
  20365. "modifytime": {
  20366. "description": "修改时间",
  20367. "type": "string"
  20368. },
  20369. "needarbitrageratio": {
  20370. "description": "套利比例",
  20371. "type": "number"
  20372. },
  20373. "needhedgeratio": {
  20374. "description": "套保比率",
  20375. "type": "number"
  20376. },
  20377. "qtydecimalplace": {
  20378. "description": "数量小数位",
  20379. "type": "integer"
  20380. },
  20381. "relatedgoodsid": {
  20382. "description": "关联交易商品ID",
  20383. "type": "integer"
  20384. },
  20385. "relatedgoodstype": {
  20386. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20387. "type": "integer"
  20388. },
  20389. "remark": {
  20390. "description": "备注",
  20391. "type": "string"
  20392. }
  20393. }
  20394. },
  20395. "models.ErmcpMiddlegoodsRelateGoods": {
  20396. "type": "object",
  20397. "properties": {
  20398. "agreeunit": {
  20399. "description": "合约乘数",
  20400. "type": "number"
  20401. },
  20402. "convertratio": {
  20403. "description": "折算系数",
  20404. "type": "number"
  20405. },
  20406. "enumdicname": {
  20407. "description": "单位名称(交易商品)",
  20408. "type": "string"
  20409. },
  20410. "goodscode": {
  20411. "description": "交易商品代码",
  20412. "type": "string"
  20413. },
  20414. "goodsgroupid": {
  20415. "description": "交易品种id",
  20416. "type": "integer"
  20417. },
  20418. "goodsid": {
  20419. "description": "商品Id",
  20420. "type": "integer"
  20421. },
  20422. "goodsname": {
  20423. "description": "交易商品名称",
  20424. "type": "string"
  20425. },
  20426. "goodunitid": {
  20427. "description": "交易商品单位id",
  20428. "type": "integer"
  20429. },
  20430. "middlegoodsid": {
  20431. "description": "套保商品id",
  20432. "type": "integer"
  20433. },
  20434. "middlegoodsname": {
  20435. "description": "套保商品名称",
  20436. "type": "string"
  20437. },
  20438. "middlegoodsswcode": {
  20439. "description": "套保商品代码",
  20440. "type": "string"
  20441. },
  20442. "needarbitrageratio": {
  20443. "description": "应套利比例",
  20444. "type": "number"
  20445. },
  20446. "needhedgeratio": {
  20447. "description": "应套保比例",
  20448. "type": "number"
  20449. }
  20450. }
  20451. },
  20452. "models.ErmcpOPLogModel": {
  20453. "type": "object",
  20454. "properties": {
  20455. "aftervalue": {
  20456. "description": "变更后",
  20457. "type": "number"
  20458. },
  20459. "applyid": {
  20460. "description": "操作人ID",
  20461. "type": "string"
  20462. },
  20463. "applyname": {
  20464. "description": "操作人名称",
  20465. "type": "string"
  20466. },
  20467. "beforevalue": {
  20468. "description": "变更前",
  20469. "type": "number"
  20470. },
  20471. "biztype": {
  20472. "description": "业务类型 - 1:套保计划 2:现货合同",
  20473. "type": "integer"
  20474. },
  20475. "contracttype": {
  20476. "description": "现货合同类型 - 1:采购 -1:销售",
  20477. "type": "integer"
  20478. },
  20479. "logvalue": {
  20480. "description": "数值",
  20481. "type": "number"
  20482. },
  20483. "operatelogtype": {
  20484. "description": "操作流水类型",
  20485. "type": "integer"
  20486. },
  20487. "operatelogtypedesc": {
  20488. "description": "操作流水类型名称",
  20489. "type": "string"
  20490. },
  20491. "relatedid": {
  20492. "description": "现货合同ID\\套保计划",
  20493. "type": "string"
  20494. },
  20495. "updatetime": {
  20496. "description": "更新时间",
  20497. "type": "string"
  20498. }
  20499. }
  20500. },
  20501. "models.ErmcpPendingAudit": {
  20502. "type": "object",
  20503. "properties": {
  20504. "areastockqty": {
  20505. "description": "待审核数量: 库存申请",
  20506. "type": "integer"
  20507. },
  20508. "businessdjqty": {
  20509. "description": "待审核数量: 点价",
  20510. "type": "integer"
  20511. },
  20512. "businessfpqty": {
  20513. "description": "待审核数量: 发票",
  20514. "type": "integer"
  20515. },
  20516. "businessjsqty": {
  20517. "description": "待审核数量: 结算",
  20518. "type": "integer"
  20519. },
  20520. "businesskxqty": {
  20521. "description": "待审核数量: 款项",
  20522. "type": "integer"
  20523. },
  20524. "hedgeplanqty": {
  20525. "description": "待审核数量: 套保计划",
  20526. "type": "integer"
  20527. },
  20528. "spotcontractqty": {
  20529. "description": "待审核数量: 现货合同",
  20530. "type": "integer"
  20531. },
  20532. "userqty": {
  20533. "description": "待审核数量: 用户",
  20534. "type": "integer"
  20535. }
  20536. }
  20537. },
  20538. "models.ErmcpRealExposureModel": {
  20539. "type": "object",
  20540. "properties": {
  20541. "AreaUserID": {
  20542. "description": "所属机构",
  20543. "type": "integer"
  20544. },
  20545. "BuyFutureQty": {
  20546. "description": "买入期货数量",
  20547. "type": "number"
  20548. },
  20549. "BuyPlanQty": {
  20550. "description": "采购计划数量",
  20551. "type": "number"
  20552. },
  20553. "BuyPricedQty": {
  20554. "description": "采购合同已定价数量",
  20555. "type": "number"
  20556. },
  20557. "MiddleGoodsCode": {
  20558. "description": "套保品种代码",
  20559. "type": "string"
  20560. },
  20561. "MiddleGoodsHedgeRatio": {
  20562. "description": "套保比例",
  20563. "type": "number"
  20564. },
  20565. "MiddleGoodsID": {
  20566. "description": "套保品种",
  20567. "type": "integer"
  20568. },
  20569. "MiddleGoodsName": {
  20570. "description": "套保品种名称",
  20571. "type": "string"
  20572. },
  20573. "NeedHedgeExposoure": {
  20574. "description": "应套保敞口(套保敞口)",
  20575. "type": "number"
  20576. },
  20577. "NeedHedgeRatio": {
  20578. "description": "应套保敞口比例",
  20579. "type": "number"
  20580. },
  20581. "OriBuyFutureQty": {
  20582. "description": "期初买入期货数量",
  20583. "type": "number"
  20584. },
  20585. "OriBuyPlanQty": {
  20586. "description": "期初采购计划数量",
  20587. "type": "number"
  20588. },
  20589. "OriBuyPricedQty": {
  20590. "description": "期初采购合同已定价数量",
  20591. "type": "number"
  20592. },
  20593. "OriSellFutureQty": {
  20594. "description": "期初卖出期货数量",
  20595. "type": "number"
  20596. },
  20597. "OriSellPlanQty": {
  20598. "description": "期初销售计划数量",
  20599. "type": "number"
  20600. },
  20601. "OriSellPricedQty": {
  20602. "description": "期初销售合同已定价数量",
  20603. "type": "number"
  20604. },
  20605. "SellFutureQty": {
  20606. "description": "卖出期货数量",
  20607. "type": "number"
  20608. },
  20609. "SellPlanQty": {
  20610. "description": "销售计划数量",
  20611. "type": "number"
  20612. },
  20613. "SellPricedQty": {
  20614. "description": "销售合同已定价数量",
  20615. "type": "number"
  20616. },
  20617. "TotalExposure": {
  20618. "description": "总敞口",
  20619. "type": "number"
  20620. },
  20621. "TotalFutureQty": {
  20622. "description": "期货总量",
  20623. "type": "number"
  20624. },
  20625. "TotalHedgeRatio": {
  20626. "description": "敞口比例",
  20627. "type": "number"
  20628. },
  20629. "TotalNeedHedgeQty": {
  20630. "description": "应套保总量(现货应套保总量)",
  20631. "type": "number"
  20632. },
  20633. "TotalSpotQty": {
  20634. "description": "现货总量",
  20635. "type": "number"
  20636. },
  20637. "arbitrageqty": {
  20638. "description": "套利量",
  20639. "type": "number"
  20640. },
  20641. "diffArbitrageQty": {
  20642. "description": "套利变动量",
  20643. "type": "number"
  20644. },
  20645. "diffExposoureQty": {
  20646. "description": "变动量(套保敞口)",
  20647. "type": "number"
  20648. },
  20649. "diffFutuQty": {
  20650. "description": "变动量(期货总量)",
  20651. "type": "number"
  20652. },
  20653. "diffHedgeQty": {
  20654. "description": "套保变动量",
  20655. "type": "number"
  20656. },
  20657. "diffQty": {
  20658. "description": "变动量(总敞口)",
  20659. "type": "number"
  20660. },
  20661. "diffSpotHedgeQty": {
  20662. "description": "变动量(现货应套保总量)",
  20663. "type": "number"
  20664. },
  20665. "diffSpotQty": {
  20666. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20667. "type": "number"
  20668. },
  20669. "enumdicname": {
  20670. "description": "单位名称",
  20671. "type": "string"
  20672. },
  20673. "hedgeqty": {
  20674. "description": "套保量",
  20675. "type": "number"
  20676. },
  20677. "needarbitrageqty": {
  20678. "description": "应套利量",
  20679. "type": "number"
  20680. },
  20681. "needarbitrageratio": {
  20682. "description": "套利比例",
  20683. "type": "number"
  20684. },
  20685. "needhedgeqty": {
  20686. "description": "应套保量",
  20687. "type": "number"
  20688. },
  20689. "oriTotalFutuQty": {
  20690. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20691. "type": "number"
  20692. },
  20693. "oriTotalSpotQty": {
  20694. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20695. "type": "number"
  20696. },
  20697. "oriarbitrageqty": {
  20698. "description": "期初套利量",
  20699. "type": "number"
  20700. },
  20701. "orihedgeqty": {
  20702. "description": "期初套保量",
  20703. "type": "number"
  20704. },
  20705. "orineedhedgeexposoure": {
  20706. "description": "期初套保敞口",
  20707. "type": "number"
  20708. },
  20709. "oritotalexposure": {
  20710. "description": "期初总敞口",
  20711. "type": "number"
  20712. },
  20713. "oritotalfutureqty": {
  20714. "description": "期初期货总量",
  20715. "type": "number"
  20716. },
  20717. "oritotalneedhedgeqty": {
  20718. "description": "期初现货应套保量",
  20719. "type": "number"
  20720. }
  20721. }
  20722. },
  20723. "models.ErmcpRole": {
  20724. "type": "object",
  20725. "properties": {
  20726. "areauserid": {
  20727. "description": "所属机构",
  20728. "type": "integer"
  20729. },
  20730. "autoid": {
  20731. "description": "角色ID(自增ID)",
  20732. "type": "integer"
  20733. },
  20734. "modifierid": {
  20735. "description": "修改人(创建人)",
  20736. "type": "integer"
  20737. },
  20738. "modifiername": {
  20739. "description": "修改人名称",
  20740. "type": "string"
  20741. },
  20742. "modifytime": {
  20743. "description": "修改时间(创建时间)",
  20744. "type": "string"
  20745. },
  20746. "rolename": {
  20747. "description": "角色名称",
  20748. "type": "string"
  20749. },
  20750. "rolestatus": {
  20751. "description": "角色状态 - 1:启用 2:停用",
  20752. "type": "integer"
  20753. },
  20754. "roletype": {
  20755. "description": "角色类型 - 1- 管理端 2- 交易端",
  20756. "type": "integer"
  20757. }
  20758. }
  20759. },
  20760. "models.ErmcpRoleMenu": {
  20761. "type": "object",
  20762. "properties": {
  20763. "iconame": {
  20764. "description": "菜单图标",
  20765. "type": "string"
  20766. },
  20767. "ishadrole": {
  20768. "description": "是否有权限",
  20769. "type": "boolean"
  20770. },
  20771. "menutype": {
  20772. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20773. "type": "integer"
  20774. },
  20775. "parentcode": {
  20776. "description": "上级资源代码",
  20777. "type": "string"
  20778. },
  20779. "remark": {
  20780. "description": "菜单备注",
  20781. "type": "string"
  20782. },
  20783. "resourcecode": {
  20784. "description": "菜单代码",
  20785. "type": "string"
  20786. },
  20787. "resourcelevel": {
  20788. "description": "级别",
  20789. "type": "integer"
  20790. },
  20791. "resourcename": {
  20792. "description": "菜单名称",
  20793. "type": "string"
  20794. },
  20795. "roleid": {
  20796. "description": "角色id",
  20797. "type": "integer"
  20798. },
  20799. "sort": {
  20800. "description": "排序",
  20801. "type": "integer"
  20802. },
  20803. "url": {
  20804. "description": "URL",
  20805. "type": "string"
  20806. },
  20807. "userid": {
  20808. "description": "用户id",
  20809. "type": "integer"
  20810. }
  20811. }
  20812. },
  20813. "models.ErmcpRoleMenuEx": {
  20814. "type": "object",
  20815. "properties": {
  20816. "menu": {
  20817. "description": "父级菜单",
  20818. "type": "object",
  20819. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20820. },
  20821. "subMenu": {
  20822. "description": "子级菜单",
  20823. "type": "array",
  20824. "items": {
  20825. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  20826. }
  20827. }
  20828. }
  20829. },
  20830. "models.ErmcpTaAccount": {
  20831. "type": "object",
  20832. "properties": {
  20833. "accountid": {
  20834. "description": "账户id",
  20835. "type": "integer"
  20836. },
  20837. "accountname": {
  20838. "description": "账户名称",
  20839. "type": "string"
  20840. },
  20841. "currencyid": {
  20842. "description": "币种id",
  20843. "type": "integer"
  20844. },
  20845. "hedgeaccountcode": {
  20846. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  20847. "type": "string"
  20848. },
  20849. "ismain": {
  20850. "description": "是否主账户 0-否 1-是",
  20851. "type": "integer"
  20852. },
  20853. "parentaccountid": {
  20854. "description": "父账户id",
  20855. "type": "integer"
  20856. },
  20857. "relateduserid": {
  20858. "description": "关联userid",
  20859. "type": "integer"
  20860. },
  20861. "tradefeetmpid": {
  20862. "description": "手续费模板id",
  20863. "type": "integer"
  20864. },
  20865. "tradefeetmpname": {
  20866. "description": "手续费模板名称",
  20867. "type": "string"
  20868. },
  20869. "trademargintmpid": {
  20870. "description": "保证金模板id",
  20871. "type": "integer"
  20872. },
  20873. "trademargintmpname": {
  20874. "description": "保证金模板名称",
  20875. "type": "string"
  20876. },
  20877. "traderatetmpid": {
  20878. "description": "汇率模板id",
  20879. "type": "integer"
  20880. },
  20881. "traderatetmpname": {
  20882. "description": "汇率模板名称",
  20883. "type": "string"
  20884. },
  20885. "tradestatus": {
  20886. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20887. "type": "integer"
  20888. },
  20889. "userid": {
  20890. "description": "用户id",
  20891. "type": "integer"
  20892. }
  20893. }
  20894. },
  20895. "models.ErmcpTaAccountEx": {
  20896. "type": "object",
  20897. "properties": {
  20898. "mainAcc": {
  20899. "description": "主账号",
  20900. "type": "object",
  20901. "$ref": "#/definitions/models.ErmcpTaAccountM"
  20902. },
  20903. "subacclist": {
  20904. "description": "子账号列表",
  20905. "type": "array",
  20906. "items": {
  20907. "$ref": "#/definitions/models.ErmcpTaAccount"
  20908. }
  20909. }
  20910. }
  20911. },
  20912. "models.ErmcpTaAccountInfo": {
  20913. "type": "object",
  20914. "properties": {
  20915. "accountid": {
  20916. "description": "资金账户ID",
  20917. "type": "integer"
  20918. },
  20919. "accountname": {
  20920. "description": "账户名称",
  20921. "type": "string"
  20922. },
  20923. "balance": {
  20924. "description": "期初余额",
  20925. "type": "number"
  20926. },
  20927. "capitalbalance": {
  20928. "description": "本金余额[外部子账户实际出入金余额]",
  20929. "type": "number"
  20930. },
  20931. "closepl": {
  20932. "description": "今日平仓盈亏",
  20933. "type": "number"
  20934. },
  20935. "creditdecrease": {
  20936. "description": "今日授信减少",
  20937. "type": "number"
  20938. },
  20939. "creditincrease": {
  20940. "description": "今日授信增加",
  20941. "type": "number"
  20942. },
  20943. "curdebt": {
  20944. "description": "期末欠款",
  20945. "type": "number"
  20946. },
  20947. "currencyid": {
  20948. "description": "货币ID",
  20949. "type": "integer"
  20950. },
  20951. "currentbalance": {
  20952. "description": "期末余额",
  20953. "type": "number"
  20954. },
  20955. "freezecharge": {
  20956. "description": "手续费冻结",
  20957. "type": "number"
  20958. },
  20959. "freezemargin": {
  20960. "description": "冻结保证金",
  20961. "type": "number"
  20962. },
  20963. "fromaccountid": {
  20964. "description": "所属上级账户",
  20965. "type": "integer"
  20966. },
  20967. "inamount": {
  20968. "description": "今日入金金额(包括三方入金)",
  20969. "type": "number"
  20970. },
  20971. "ismain": {
  20972. "description": "是否母账号 0:不是母账户 1:是母账户",
  20973. "type": "integer"
  20974. },
  20975. "mortgagecredit": {
  20976. "description": "授信金额",
  20977. "type": "number"
  20978. },
  20979. "oridebt": {
  20980. "description": "期初欠款",
  20981. "type": "number"
  20982. },
  20983. "orifreezecharge": {
  20984. "description": "期初手续费冻结",
  20985. "type": "number"
  20986. },
  20987. "orifreezemargin": {
  20988. "description": "期初冻结保证金",
  20989. "type": "number"
  20990. },
  20991. "orimortgagecredit": {
  20992. "description": "期初授信金额",
  20993. "type": "number"
  20994. },
  20995. "oriothercredit": {
  20996. "description": "期初其它授信金额",
  20997. "type": "number"
  20998. },
  20999. "oriotherfreezemargin": {
  21000. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21001. "type": "number"
  21002. },
  21003. "orioutamountfreeze": {
  21004. "description": "期初出金冻结",
  21005. "type": "number"
  21006. },
  21007. "oriusedmargin": {
  21008. "description": "期初占用保证金",
  21009. "type": "number"
  21010. },
  21011. "othercredit": {
  21012. "description": "其它授信金额",
  21013. "type": "number"
  21014. },
  21015. "othercreditdecrease": {
  21016. "description": "今日其它授信减少",
  21017. "type": "number"
  21018. },
  21019. "othercreditincrease": {
  21020. "description": "今日其它授信增加",
  21021. "type": "number"
  21022. },
  21023. "otherfreezemargin": {
  21024. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21025. "type": "number"
  21026. },
  21027. "outamount": {
  21028. "description": "今日出金金额(包括三方出金)",
  21029. "type": "number"
  21030. },
  21031. "outamountfreeze": {
  21032. "description": "出金冻结",
  21033. "type": "number"
  21034. },
  21035. "outthreshold": {
  21036. "description": "出金阈值",
  21037. "type": "number"
  21038. },
  21039. "parentaccountid": {
  21040. "description": "所属根账号",
  21041. "type": "integer"
  21042. },
  21043. "paycharge": {
  21044. "description": "今日手续费支出",
  21045. "type": "number"
  21046. },
  21047. "relateduserid": {
  21048. "description": "关联用户",
  21049. "type": "integer"
  21050. },
  21051. "signstatus": {
  21052. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21053. "type": "integer"
  21054. },
  21055. "sublevelpath": {
  21056. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21057. "type": "string"
  21058. },
  21059. "taaccounttype": {
  21060. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21061. "type": "integer"
  21062. },
  21063. "thirdinamount": {
  21064. "description": "今日三方入金",
  21065. "type": "number"
  21066. },
  21067. "thirdoutamount": {
  21068. "description": "今日三方出金",
  21069. "type": "number"
  21070. },
  21071. "tradestatus": {
  21072. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21073. "type": "integer"
  21074. },
  21075. "transferamount": {
  21076. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21077. "type": "number"
  21078. },
  21079. "usedmargin": {
  21080. "description": "占用保证金",
  21081. "type": "number"
  21082. },
  21083. "userid": {
  21084. "description": "用户ID",
  21085. "type": "integer"
  21086. }
  21087. }
  21088. },
  21089. "models.ErmcpTaAccountM": {
  21090. "type": "object",
  21091. "properties": {
  21092. "accountid": {
  21093. "description": "账户id",
  21094. "type": "integer"
  21095. },
  21096. "accountname": {
  21097. "description": "账户名称",
  21098. "type": "string"
  21099. },
  21100. "currencyid": {
  21101. "description": "币种id",
  21102. "type": "integer"
  21103. },
  21104. "fcid": {
  21105. "description": "期货公司id",
  21106. "type": "integer"
  21107. },
  21108. "fcname": {
  21109. "description": "期货公司代码",
  21110. "type": "string"
  21111. },
  21112. "hedgeaccountcode": {
  21113. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21114. "type": "string"
  21115. },
  21116. "ismain": {
  21117. "description": "是否主账户 0-否 1-是",
  21118. "type": "integer"
  21119. },
  21120. "parentaccountid": {
  21121. "description": "父账户id",
  21122. "type": "integer"
  21123. },
  21124. "relateduserid": {
  21125. "description": "关联userid",
  21126. "type": "integer"
  21127. },
  21128. "tradefeetmpid": {
  21129. "description": "手续费模板id",
  21130. "type": "integer"
  21131. },
  21132. "tradefeetmpname": {
  21133. "description": "手续费模板名称",
  21134. "type": "string"
  21135. },
  21136. "trademargintmpid": {
  21137. "description": "保证金模板id",
  21138. "type": "integer"
  21139. },
  21140. "trademargintmpname": {
  21141. "description": "保证金模板名称",
  21142. "type": "string"
  21143. },
  21144. "traderatetmpid": {
  21145. "description": "汇率模板id",
  21146. "type": "integer"
  21147. },
  21148. "traderatetmpname": {
  21149. "description": "汇率模板名称",
  21150. "type": "string"
  21151. },
  21152. "tradestatus": {
  21153. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21154. "type": "integer"
  21155. },
  21156. "userid": {
  21157. "description": "用户id",
  21158. "type": "integer"
  21159. }
  21160. }
  21161. },
  21162. "models.ErmcpTradeConfigTMP": {
  21163. "type": "object",
  21164. "properties": {
  21165. "areauserid": {
  21166. "description": "所属机构",
  21167. "type": "integer"
  21168. },
  21169. "basiccurrencyid": {
  21170. "description": "基本币种ID[汇率] - 目标币种",
  21171. "type": "integer"
  21172. },
  21173. "mainaccountid": {
  21174. "description": "主账户ID",
  21175. "type": "integer"
  21176. },
  21177. "modifierid": {
  21178. "description": "修改人",
  21179. "type": "integer"
  21180. },
  21181. "remark": {
  21182. "description": "备注",
  21183. "type": "string"
  21184. },
  21185. "tradeconfigtmpid": {
  21186. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21187. "type": "integer"
  21188. },
  21189. "tradeconfigtmpname": {
  21190. "description": "交易配置模板名称",
  21191. "type": "string"
  21192. },
  21193. "tradeconfigtmptype": {
  21194. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21195. "type": "integer"
  21196. },
  21197. "updatetime": {
  21198. "description": "更新时间",
  21199. "type": "string"
  21200. }
  21201. }
  21202. },
  21203. "models.ErmcpUserModel": {
  21204. "type": "object",
  21205. "properties": {
  21206. "address": {
  21207. "description": "通讯地址",
  21208. "type": "string"
  21209. },
  21210. "attachment1": {
  21211. "description": "附件1",
  21212. "type": "string"
  21213. },
  21214. "audittime": {
  21215. "description": "审核时间",
  21216. "type": "string"
  21217. },
  21218. "cardbackphotourl": {
  21219. "description": "证件反面图片地址",
  21220. "type": "string"
  21221. },
  21222. "cardfrontphotourl": {
  21223. "description": "证件正面图片地址",
  21224. "type": "string"
  21225. },
  21226. "cardnum": {
  21227. "description": "证件号码",
  21228. "type": "string"
  21229. },
  21230. "cardtype": {
  21231. "description": "证件类型",
  21232. "type": "integer"
  21233. },
  21234. "cardtypename": {
  21235. "description": "证件类型名称",
  21236. "type": "string"
  21237. },
  21238. "cityid": {
  21239. "description": "市",
  21240. "type": "integer"
  21241. },
  21242. "contactname": {
  21243. "description": "联系人",
  21244. "type": "string"
  21245. },
  21246. "countryid": {
  21247. "description": "国家",
  21248. "type": "integer"
  21249. },
  21250. "createtime": {
  21251. "description": "创建时间",
  21252. "type": "string"
  21253. },
  21254. "customername": {
  21255. "description": "企业名称",
  21256. "type": "string"
  21257. },
  21258. "districtid": {
  21259. "description": "区域",
  21260. "type": "integer"
  21261. },
  21262. "email": {
  21263. "description": "邮件",
  21264. "type": "string"
  21265. },
  21266. "legalpersonname": {
  21267. "description": "法人姓名(企业)",
  21268. "type": "string"
  21269. },
  21270. "memberuserid": {
  21271. "description": "所属机构ID",
  21272. "type": "integer"
  21273. },
  21274. "mobile": {
  21275. "description": "手机号码",
  21276. "type": "string"
  21277. },
  21278. "modifytime": {
  21279. "description": "修改时间",
  21280. "type": "string"
  21281. },
  21282. "nickname": {
  21283. "description": "昵称",
  21284. "type": "string"
  21285. },
  21286. "provinceid": {
  21287. "description": "省",
  21288. "type": "integer"
  21289. },
  21290. "remark": {
  21291. "description": "备注",
  21292. "type": "string"
  21293. },
  21294. "status": {
  21295. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21296. "type": "integer"
  21297. },
  21298. "statusdesc": {
  21299. "description": "账户状态中文描述",
  21300. "type": "string"
  21301. },
  21302. "taxpayernum": {
  21303. "description": "纳税人识别号",
  21304. "type": "string"
  21305. },
  21306. "telphone": {
  21307. "description": "联系电话",
  21308. "type": "string"
  21309. },
  21310. "userid": {
  21311. "description": "用户ID",
  21312. "type": "integer"
  21313. },
  21314. "userinfotype": {
  21315. "description": "客户类型",
  21316. "type": "string"
  21317. }
  21318. }
  21319. },
  21320. "models.ErmcpWareHouseInfo": {
  21321. "type": "object",
  21322. "properties": {
  21323. "address": {
  21324. "description": "详细地址",
  21325. "type": "string"
  21326. },
  21327. "areauserid": {
  21328. "description": "所属机构",
  21329. "type": "integer"
  21330. },
  21331. "autoid": {
  21332. "description": "自增ID(仓库ID)",
  21333. "type": "integer"
  21334. },
  21335. "cityid": {
  21336. "description": "市",
  21337. "type": "integer"
  21338. },
  21339. "contactname": {
  21340. "description": "联系人",
  21341. "type": "string"
  21342. },
  21343. "contactnum": {
  21344. "description": "联系电话",
  21345. "type": "string"
  21346. },
  21347. "countryid": {
  21348. "description": "国家",
  21349. "type": "integer"
  21350. },
  21351. "createtime": {
  21352. "description": "创建时间",
  21353. "type": "string"
  21354. },
  21355. "districtid": {
  21356. "description": "区",
  21357. "type": "integer"
  21358. },
  21359. "hasvideo": {
  21360. "description": "是否有视频 - 0:无 1:有",
  21361. "type": "integer"
  21362. },
  21363. "provinceid": {
  21364. "description": "省",
  21365. "type": "integer"
  21366. },
  21367. "remark": {
  21368. "description": "审核备注",
  21369. "type": "string"
  21370. },
  21371. "videourl": {
  21372. "description": "视频地址",
  21373. "type": "string"
  21374. },
  21375. "warehousecode": {
  21376. "description": "仓库代码",
  21377. "type": "string"
  21378. },
  21379. "warehousename": {
  21380. "description": "仓库名称",
  21381. "type": "string"
  21382. },
  21383. "warehousestatus": {
  21384. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21385. "type": "integer"
  21386. },
  21387. "warehousetype": {
  21388. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21389. "type": "integer"
  21390. }
  21391. }
  21392. },
  21393. "models.Externalexchange": {
  21394. "type": "object",
  21395. "required": [
  21396. "autoid"
  21397. ],
  21398. "properties": {
  21399. "autoid": {
  21400. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21401. "type": "integer"
  21402. },
  21403. "exchangefullname": {
  21404. "description": "外部交易所全称",
  21405. "type": "string"
  21406. },
  21407. "exexchangecode": {
  21408. "description": "外部交易所代码",
  21409. "type": "string"
  21410. },
  21411. "exexchangename": {
  21412. "description": "外部交易所名称(简称)",
  21413. "type": "string"
  21414. },
  21415. "ismarketprice": {
  21416. "description": "是否支持市价 - 0:不支持 1:支持",
  21417. "type": "integer"
  21418. },
  21419. "quotegear": {
  21420. "description": "行情档位(1-10)",
  21421. "type": "integer"
  21422. },
  21423. "showbrokerflag": {
  21424. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21425. "type": "integer"
  21426. },
  21427. "updatetime": {
  21428. "description": "更新时间",
  21429. "type": "string"
  21430. }
  21431. }
  21432. },
  21433. "models.Funcmenulist": {
  21434. "type": "object",
  21435. "required": [
  21436. "resourcecode"
  21437. ],
  21438. "properties": {
  21439. "iconame": {
  21440. "description": "菜单图标",
  21441. "type": "string"
  21442. },
  21443. "menutype": {
  21444. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21445. "type": "integer"
  21446. },
  21447. "parentcode": {
  21448. "description": "上级资源代码",
  21449. "type": "string"
  21450. },
  21451. "remark": {
  21452. "description": "备注",
  21453. "type": "string"
  21454. },
  21455. "resourcecode": {
  21456. "description": "资源代码",
  21457. "type": "string"
  21458. },
  21459. "resourcelevel": {
  21460. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21461. "type": "integer"
  21462. },
  21463. "resourcename": {
  21464. "description": "资源名",
  21465. "type": "string"
  21466. },
  21467. "sort": {
  21468. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21469. "type": "integer"
  21470. },
  21471. "url": {
  21472. "description": "URL",
  21473. "type": "string"
  21474. }
  21475. }
  21476. },
  21477. "models.Goods": {
  21478. "type": "object",
  21479. "required": [
  21480. "goodscode",
  21481. "goodsid",
  21482. "goodsname",
  21483. "marketid"
  21484. ],
  21485. "properties": {
  21486. "agreeunit": {
  21487. "description": "合约单位",
  21488. "type": "number"
  21489. },
  21490. "areauserid": {
  21491. "description": "所属机构",
  21492. "type": "integer"
  21493. },
  21494. "auditaccountid": {
  21495. "description": "审核操作员账号",
  21496. "type": "integer"
  21497. },
  21498. "audittime": {
  21499. "description": "审核时间",
  21500. "type": "string"
  21501. },
  21502. "cancelaccountid": {
  21503. "description": "注销操作员账号",
  21504. "type": "integer"
  21505. },
  21506. "canceltime": {
  21507. "description": "注销时间",
  21508. "type": "string"
  21509. },
  21510. "closepricemode": {
  21511. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21512. "type": "integer"
  21513. },
  21514. "closepriceparam": {
  21515. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21516. "type": "number"
  21517. },
  21518. "createtime": {
  21519. "description": "创建时间",
  21520. "type": "string"
  21521. },
  21522. "creatorid": {
  21523. "description": "创建人",
  21524. "type": "integer"
  21525. },
  21526. "currencyid": {
  21527. "description": "报价货币ID",
  21528. "type": "integer"
  21529. },
  21530. "cutmode": {
  21531. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21532. "type": "integer"
  21533. },
  21534. "decimalplace": {
  21535. "description": "报价小数位",
  21536. "type": "integer"
  21537. },
  21538. "delistingdate": {
  21539. "description": "商品退市时间(状态:退市) -- 已作废",
  21540. "type": "string"
  21541. },
  21542. "delistingmode": {
  21543. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21544. "type": "integer"
  21545. },
  21546. "deliveryflag": {
  21547. "description": "交割标志 - 0:不可交割 1:可交割",
  21548. "type": "integer"
  21549. },
  21550. "forceclosemode": {
  21551. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21552. "type": "integer"
  21553. },
  21554. "forceclosevalue": {
  21555. "description": "定期强平参数 [收益权]",
  21556. "type": "integer"
  21557. },
  21558. "goodscode": {
  21559. "description": "商品代码(内部)",
  21560. "type": "string"
  21561. },
  21562. "goodscurrencyid": {
  21563. "description": "合约货币ID",
  21564. "type": "integer"
  21565. },
  21566. "goodsgroupid": {
  21567. "description": "所属商品组ID",
  21568. "type": "integer"
  21569. },
  21570. "goodsid": {
  21571. "description": "商品ID(自增ID SEQ_GOODS)",
  21572. "type": "integer"
  21573. },
  21574. "goodsname": {
  21575. "description": "商品名称",
  21576. "type": "string"
  21577. },
  21578. "goodsquotetype": {
  21579. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21580. "type": "integer"
  21581. },
  21582. "goodsstatus": {
  21583. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21584. "type": "integer"
  21585. },
  21586. "goodstradetype": {
  21587. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21588. "type": "integer"
  21589. },
  21590. "goodunitid": {
  21591. "description": "报价单位ID",
  21592. "type": "integer"
  21593. },
  21594. "hasquoter": {
  21595. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21596. "type": "integer"
  21597. },
  21598. "hqprotecttime": {
  21599. "description": "行情保护时间(秒)",
  21600. "type": "integer"
  21601. },
  21602. "innerdealmode": {
  21603. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21604. "type": "integer"
  21605. },
  21606. "isbuylimited": {
  21607. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21608. "type": "integer"
  21609. },
  21610. "isvisible": {
  21611. "description": "游客是否可见 - 0:不可见 1:可见",
  21612. "type": "integer"
  21613. },
  21614. "lasttradedate": {
  21615. "description": "最后交易日期(状态:待退市)",
  21616. "type": "string"
  21617. },
  21618. "listingdate": {
  21619. "description": "交易开始日期",
  21620. "type": "string"
  21621. },
  21622. "marketid": {
  21623. "description": "所属市场ID",
  21624. "type": "integer"
  21625. },
  21626. "modifierid": {
  21627. "description": "修改人",
  21628. "type": "integer"
  21629. },
  21630. "modifystatus": {
  21631. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21632. "type": "integer"
  21633. },
  21634. "modifytime": {
  21635. "description": "修改时间",
  21636. "type": "string"
  21637. },
  21638. "outerdealmode": {
  21639. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21640. "type": "integer"
  21641. },
  21642. "outgoodscode": {
  21643. "description": "商品代码(外部)",
  21644. "type": "string"
  21645. },
  21646. "pictureurl": {
  21647. "description": "商品图片",
  21648. "type": "string"
  21649. },
  21650. "qtydecimalplace": {
  21651. "description": "成交量小数位",
  21652. "type": "integer"
  21653. },
  21654. "quotegear": {
  21655. "description": "行情档位(1-10)",
  21656. "type": "integer"
  21657. },
  21658. "quoteminunit": {
  21659. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21660. "type": "integer"
  21661. },
  21662. "quoteshowtype": {
  21663. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21664. "type": "integer"
  21665. },
  21666. "quoteshowtypeinterval": {
  21667. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21668. "type": "integer"
  21669. },
  21670. "remark": {
  21671. "description": "备注",
  21672. "type": "string"
  21673. }
  21674. }
  21675. },
  21676. "models.GoodsIDAndName": {
  21677. "type": "object",
  21678. "required": [
  21679. "goodscode",
  21680. "goodsid",
  21681. "goodsname",
  21682. "marketid"
  21683. ],
  21684. "properties": {
  21685. "goodscode": {
  21686. "description": "商品代码(内部)",
  21687. "type": "string"
  21688. },
  21689. "goodsid": {
  21690. "description": "商品ID(自增ID SEQ_GOODS)",
  21691. "type": "integer"
  21692. },
  21693. "goodsname": {
  21694. "description": "商品名称",
  21695. "type": "string"
  21696. },
  21697. "marketid": {
  21698. "description": "所属市场ID",
  21699. "type": "integer"
  21700. }
  21701. }
  21702. },
  21703. "models.Goodsgroup": {
  21704. "type": "object",
  21705. "required": [
  21706. "goodsgroupid",
  21707. "goodsgroupname",
  21708. "goodsgroupstatus",
  21709. "marketid"
  21710. ],
  21711. "properties": {
  21712. "agreeunit": {
  21713. "description": "合约单位",
  21714. "type": "number"
  21715. },
  21716. "canshort": {
  21717. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21718. "type": "integer"
  21719. },
  21720. "closepricemode": {
  21721. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21722. "type": "integer"
  21723. },
  21724. "closepriceparam": {
  21725. "description": "强平最新价浮动比例 - 方式为2时使用",
  21726. "type": "number"
  21727. },
  21728. "createtime": {
  21729. "description": "创建时间",
  21730. "type": "string"
  21731. },
  21732. "creatorid": {
  21733. "description": "创建人",
  21734. "type": "integer"
  21735. },
  21736. "currencyid": {
  21737. "description": "报价货币ID",
  21738. "type": "integer"
  21739. },
  21740. "decimalplace": {
  21741. "description": "报价小数位",
  21742. "type": "integer"
  21743. },
  21744. "exercisetype": {
  21745. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21746. "type": "integer"
  21747. },
  21748. "exexchangeid": {
  21749. "description": "外部交易所ID[通道交易]",
  21750. "type": "integer"
  21751. },
  21752. "goodsgroupid": {
  21753. "description": "商品组ID(自增ID)",
  21754. "type": "integer"
  21755. },
  21756. "goodsgroupname": {
  21757. "description": "商品组名称",
  21758. "type": "string"
  21759. },
  21760. "goodsgroupstatus": {
  21761. "description": "商品组状态 - 1:正常 2:注销",
  21762. "type": "integer"
  21763. },
  21764. "goodunitid": {
  21765. "description": "报价单位ID",
  21766. "type": "integer"
  21767. },
  21768. "innerdealmode": {
  21769. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21770. "type": "integer"
  21771. },
  21772. "isbuylimited": {
  21773. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21774. "type": "integer"
  21775. },
  21776. "marketid": {
  21777. "description": "所属市场ID",
  21778. "type": "integer"
  21779. },
  21780. "modifierid": {
  21781. "description": "修改人",
  21782. "type": "integer"
  21783. },
  21784. "modifytime": {
  21785. "description": "修改时间",
  21786. "type": "string"
  21787. },
  21788. "outerdealmode": {
  21789. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21790. "type": "integer"
  21791. },
  21792. "outergroupcode": {
  21793. "description": "外部商品组代码[通道交易]",
  21794. "type": "string"
  21795. },
  21796. "premiumdecimalplace": {
  21797. "description": "权利金小数位[场外期权]",
  21798. "type": "integer"
  21799. },
  21800. "premiumspreadalgorithm": {
  21801. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21802. "type": "integer"
  21803. },
  21804. "premiumspreadvalue": {
  21805. "description": "权利金点差值[场外期权]",
  21806. "type": "number"
  21807. },
  21808. "qtydecimalplace": {
  21809. "description": "成交量小数位",
  21810. "type": "integer"
  21811. },
  21812. "quotegear": {
  21813. "description": "行情档位(1-10)",
  21814. "type": "integer"
  21815. },
  21816. "quoteminunit": {
  21817. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21818. "type": "integer"
  21819. },
  21820. "quoterid": {
  21821. "description": "报价商ID[场外期权]",
  21822. "type": "integer"
  21823. },
  21824. "quotesourcegroupid": {
  21825. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  21826. "type": "integer"
  21827. },
  21828. "syncgoodsqty": {
  21829. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  21830. "type": "integer"
  21831. }
  21832. }
  21833. },
  21834. "models.Goodssortbypreposition": {
  21835. "type": "object",
  21836. "required": [
  21837. "goodscode",
  21838. "tradedate"
  21839. ],
  21840. "properties": {
  21841. "goodscode": {
  21842. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  21843. "type": "string"
  21844. },
  21845. "goodsgroupcode": {
  21846. "description": "品种代码",
  21847. "type": "string"
  21848. },
  21849. "prepositionqty": {
  21850. "description": "昨持仓量",
  21851. "type": "integer"
  21852. },
  21853. "sortindex": {
  21854. "description": "排序",
  21855. "type": "integer"
  21856. },
  21857. "tradedate": {
  21858. "description": "交易日",
  21859. "type": "string"
  21860. },
  21861. "updatetime": {
  21862. "description": "更新时间",
  21863. "type": "string"
  21864. }
  21865. }
  21866. },
  21867. "models.Hedgeinnerholderdetail": {
  21868. "type": "object",
  21869. "required": [
  21870. "buyorsell",
  21871. "tradeid"
  21872. ],
  21873. "properties": {
  21874. "accountid": {
  21875. "description": "账号ID",
  21876. "type": "integer"
  21877. },
  21878. "buyorsell": {
  21879. "description": "方向 - 0:买 1:卖",
  21880. "type": "integer"
  21881. },
  21882. "freezeqty": {
  21883. "description": "冻结数量 - 按单平使用",
  21884. "type": "integer"
  21885. },
  21886. "goodsid": {
  21887. "description": "商品ID",
  21888. "type": "integer"
  21889. },
  21890. "holderamount": {
  21891. "description": "持仓金额 [商品币种]",
  21892. "type": "number"
  21893. },
  21894. "holderdays": {
  21895. "description": "剩余冻结天数",
  21896. "type": "integer"
  21897. },
  21898. "holderprice": {
  21899. "description": "持仓价格",
  21900. "type": "number"
  21901. },
  21902. "holderqty": {
  21903. "description": "持仓数量",
  21904. "type": "integer"
  21905. },
  21906. "marketid": {
  21907. "description": "市场ID",
  21908. "type": "integer"
  21909. },
  21910. "openprice": {
  21911. "description": "建仓价格",
  21912. "type": "number"
  21913. },
  21914. "openqty": {
  21915. "description": "建仓数量",
  21916. "type": "integer"
  21917. },
  21918. "parentaccountid": {
  21919. "description": "所属母账户",
  21920. "type": "integer"
  21921. },
  21922. "releaseamount": {
  21923. "description": "释放持仓金额[商品币种]",
  21924. "type": "number"
  21925. },
  21926. "tradeamount": {
  21927. "description": "成交金额[账户]",
  21928. "type": "number"
  21929. },
  21930. "tradedate": {
  21931. "description": "交易日(yyyyMMdd)",
  21932. "type": "string"
  21933. },
  21934. "tradeid": {
  21935. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21936. "type": "string"
  21937. },
  21938. "tradetime": {
  21939. "description": "交易时间",
  21940. "type": "string"
  21941. }
  21942. }
  21943. },
  21944. "models.Hedgemarketopenlog": {
  21945. "type": "object",
  21946. "required": [
  21947. "accountid"
  21948. ],
  21949. "properties": {
  21950. "accountid": {
  21951. "description": "资金账号[外部母账户]",
  21952. "type": "integer"
  21953. },
  21954. "fcname": {
  21955. "description": "期货公司名称",
  21956. "type": "string"
  21957. },
  21958. "handlestatus": {
  21959. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  21960. "type": "integer"
  21961. },
  21962. "marketid": {
  21963. "description": "市场ID",
  21964. "type": "integer"
  21965. },
  21966. "status": {
  21967. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  21968. "type": "integer"
  21969. },
  21970. "tradedate": {
  21971. "description": "交易日(yyyyMMdd)",
  21972. "type": "string"
  21973. },
  21974. "updatetime": {
  21975. "description": "更新时间",
  21976. "type": "string"
  21977. }
  21978. }
  21979. },
  21980. "models.HsbyBuyMyPayOrder": {
  21981. "type": "object",
  21982. "required": [
  21983. "goodscode",
  21984. "goodsname",
  21985. "tradeid",
  21986. "trademode"
  21987. ],
  21988. "properties": {
  21989. "agreeunit": {
  21990. "description": "合约单位",
  21991. "type": "number"
  21992. },
  21993. "buyaccountid": {
  21994. "description": "买方账号ID[报价币种]",
  21995. "type": "integer"
  21996. },
  21997. "buyorderid": {
  21998. "description": "买方委托单号",
  21999. "type": "string"
  22000. },
  22001. "createtime": {
  22002. "description": "创建时间",
  22003. "type": "string"
  22004. },
  22005. "currencysign": {
  22006. "description": "货币符号",
  22007. "type": "string"
  22008. },
  22009. "decimalplace": {
  22010. "description": "报价小数位",
  22011. "type": "integer"
  22012. },
  22013. "goodscode": {
  22014. "description": "商品代码(内部)",
  22015. "type": "string"
  22016. },
  22017. "goodsid": {
  22018. "description": "商品ID",
  22019. "type": "integer"
  22020. },
  22021. "goodsname": {
  22022. "description": "商品名称",
  22023. "type": "string"
  22024. },
  22025. "marketid": {
  22026. "description": "市场ID",
  22027. "type": "integer"
  22028. },
  22029. "offamount": {
  22030. "description": "优惠金额",
  22031. "type": "number"
  22032. },
  22033. "originalamount": {
  22034. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22035. "type": "number"
  22036. },
  22037. "payamount": {
  22038. "description": "支付金额 = TradeAmount + TradeCharge",
  22039. "type": "number"
  22040. },
  22041. "payflag": {
  22042. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22043. "type": "integer"
  22044. },
  22045. "paylimitedtime": {
  22046. "description": "支付期限",
  22047. "type": "string"
  22048. },
  22049. "paytime": {
  22050. "description": "付款时间",
  22051. "type": "string"
  22052. },
  22053. "picurls1": {
  22054. "description": "预售商品介绍图片[多张用逗号分隔]",
  22055. "type": "string"
  22056. },
  22057. "picurls2": {
  22058. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22059. "type": "string"
  22060. },
  22061. "sellaccountid": {
  22062. "description": "卖方账号ID[报价币种]",
  22063. "type": "integer"
  22064. },
  22065. "sellorderid": {
  22066. "description": "卖方委托单号",
  22067. "type": "string"
  22068. },
  22069. "tradeamount": {
  22070. "description": "成交金额",
  22071. "type": "number"
  22072. },
  22073. "tradecharge": {
  22074. "description": "成交手续费(买方)",
  22075. "type": "number"
  22076. },
  22077. "tradedate": {
  22078. "description": "交易日(yyyyMMdd)",
  22079. "type": "string"
  22080. },
  22081. "tradeid": {
  22082. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22083. "type": "string"
  22084. },
  22085. "trademode": {
  22086. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22087. "type": "integer"
  22088. },
  22089. "tradeprice": {
  22090. "description": "成交价格",
  22091. "type": "number"
  22092. },
  22093. "tradeqty": {
  22094. "description": "成交数量",
  22095. "type": "integer"
  22096. },
  22097. "vendorname1": {
  22098. "description": "预售商品供应商名称",
  22099. "type": "string"
  22100. },
  22101. "vendorname2": {
  22102. "description": "挂牌商品供应商名称",
  22103. "type": "string"
  22104. }
  22105. }
  22106. },
  22107. "models.HsbyBuyMyTradeDetail": {
  22108. "type": "object",
  22109. "required": [
  22110. "accountid",
  22111. "buyorsell",
  22112. "goodscode",
  22113. "goodsid",
  22114. "goodsname",
  22115. "marketid",
  22116. "orderid",
  22117. "qty",
  22118. "time",
  22119. "trademode"
  22120. ],
  22121. "properties": {
  22122. "accountid": {
  22123. "description": "账户ID[报价币种]",
  22124. "type": "integer"
  22125. },
  22126. "agreeunit": {
  22127. "description": "合约单位",
  22128. "type": "number"
  22129. },
  22130. "amount": {
  22131. "description": "金额 = 价格 * 数量 * 合约单位",
  22132. "type": "number"
  22133. },
  22134. "buyorsell": {
  22135. "description": "买卖 - 0:买 1:卖",
  22136. "type": "integer"
  22137. },
  22138. "currencysign": {
  22139. "description": "货币符号",
  22140. "type": "string"
  22141. },
  22142. "decimalplace": {
  22143. "description": "报价小数位",
  22144. "type": "integer"
  22145. },
  22146. "goodscode": {
  22147. "description": "商品代码(内部)",
  22148. "type": "string"
  22149. },
  22150. "goodsid": {
  22151. "description": "商品ID",
  22152. "type": "integer"
  22153. },
  22154. "goodsname": {
  22155. "description": "商品名称",
  22156. "type": "string"
  22157. },
  22158. "marketid": {
  22159. "description": "市场ID",
  22160. "type": "integer"
  22161. },
  22162. "orderamount": {
  22163. "description": "委托金额",
  22164. "type": "number"
  22165. },
  22166. "orderid": {
  22167. "description": "单号(成交单号)",
  22168. "type": "string"
  22169. },
  22170. "picurls1": {
  22171. "description": "预售商品介绍图片[多张用逗号分隔]",
  22172. "type": "string"
  22173. },
  22174. "picurls2": {
  22175. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22176. "type": "string"
  22177. },
  22178. "price": {
  22179. "description": "价格",
  22180. "type": "number"
  22181. },
  22182. "qty": {
  22183. "description": "数量",
  22184. "type": "integer"
  22185. },
  22186. "time": {
  22187. "description": "时间",
  22188. "type": "string"
  22189. },
  22190. "trademode": {
  22191. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22192. "type": "integer"
  22193. },
  22194. "vendorname1": {
  22195. "description": "预售商品供应商名称",
  22196. "type": "string"
  22197. },
  22198. "vendorname2": {
  22199. "description": "挂牌商品供应商名称",
  22200. "type": "string"
  22201. }
  22202. }
  22203. },
  22204. "models.HsbyGoodsOrderDetail": {
  22205. "type": "object",
  22206. "required": [
  22207. "buyorsell",
  22208. "orderid",
  22209. "ordertime"
  22210. ],
  22211. "properties": {
  22212. "buyorsell": {
  22213. "description": "买卖 - 0:买 1:卖",
  22214. "type": "integer"
  22215. },
  22216. "currencysign": {
  22217. "description": "货币符号",
  22218. "type": "string"
  22219. },
  22220. "customername": {
  22221. "description": "客户名称(企业名称),已脱敏",
  22222. "type": "string"
  22223. },
  22224. "enableqty": {
  22225. "description": "可用数量",
  22226. "type": "integer"
  22227. },
  22228. "goodunit": {
  22229. "description": "报价单位",
  22230. "type": "string"
  22231. },
  22232. "orderid": {
  22233. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22234. "type": "string"
  22235. },
  22236. "orderprice": {
  22237. "description": "委托价格",
  22238. "type": "number"
  22239. },
  22240. "ordertime": {
  22241. "description": "委托时间",
  22242. "type": "string"
  22243. }
  22244. }
  22245. },
  22246. "models.HsbyListingGoodsDetail": {
  22247. "type": "object",
  22248. "required": [
  22249. "goodscode",
  22250. "goodsid",
  22251. "goodsname",
  22252. "marketid",
  22253. "trademode"
  22254. ],
  22255. "properties": {
  22256. "agreeunit": {
  22257. "description": "合约单位",
  22258. "type": "number"
  22259. },
  22260. "buymaxqty": {
  22261. "description": "购买上限 [71] - 0为不限",
  22262. "type": "integer"
  22263. },
  22264. "currency": {
  22265. "description": "货币",
  22266. "type": "string"
  22267. },
  22268. "currencysign": {
  22269. "description": "货币符号",
  22270. "type": "string"
  22271. },
  22272. "decimalplace": {
  22273. "description": "报价小数位",
  22274. "type": "integer"
  22275. },
  22276. "desccityid": {
  22277. "description": "目的地(市)ID",
  22278. "type": "integer"
  22279. },
  22280. "descprovinceid": {
  22281. "description": "目的地(省)ID",
  22282. "type": "integer"
  22283. },
  22284. "goodscode": {
  22285. "description": "商品代码(内部)",
  22286. "type": "string"
  22287. },
  22288. "goodsdesc": {
  22289. "description": "商品详情",
  22290. "type": "string"
  22291. },
  22292. "goodsid": {
  22293. "description": "商品ID(自增ID SEQ_GOODS)",
  22294. "type": "integer"
  22295. },
  22296. "goodsname": {
  22297. "description": "商品名称",
  22298. "type": "string"
  22299. },
  22300. "goodsprice": {
  22301. "description": "商品价格",
  22302. "type": "number"
  22303. },
  22304. "hotindex": {
  22305. "description": "景点热度",
  22306. "type": "integer"
  22307. },
  22308. "last": {
  22309. "description": "现价",
  22310. "type": "number"
  22311. },
  22312. "limitdown": {
  22313. "description": "跌停价",
  22314. "type": "number"
  22315. },
  22316. "limitup": {
  22317. "description": "涨停价",
  22318. "type": "number"
  22319. },
  22320. "lotsize": {
  22321. "description": "手数最小变动单位",
  22322. "type": "integer"
  22323. },
  22324. "marketid": {
  22325. "description": "所属市场ID",
  22326. "type": "integer"
  22327. },
  22328. "picurls": {
  22329. "description": "介绍图片[多张用逗号分隔]",
  22330. "type": "string"
  22331. },
  22332. "quoteminunit": {
  22333. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22334. "type": "integer"
  22335. },
  22336. "stepvalue": {
  22337. "description": "价格最小变动单位",
  22338. "type": "number"
  22339. },
  22340. "trademode": {
  22341. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22342. "type": "integer"
  22343. },
  22344. "vendorattr": {
  22345. "description": "供应商附件(多张,逗号分隔)",
  22346. "type": "string"
  22347. },
  22348. "vendorname": {
  22349. "description": "供应商名称",
  22350. "type": "string"
  22351. },
  22352. "vendorphone": {
  22353. "description": "供应商客服电话",
  22354. "type": "string"
  22355. },
  22356. "videourls": {
  22357. "description": "介绍视频[多张用逗号分隔]",
  22358. "type": "string"
  22359. }
  22360. }
  22361. },
  22362. "models.HsbyMarketGoods": {
  22363. "type": "object",
  22364. "required": [
  22365. "accountid",
  22366. "buyorsell",
  22367. "goodscode",
  22368. "goodsid",
  22369. "goodsname",
  22370. "marketid",
  22371. "orderid",
  22372. "trademode"
  22373. ],
  22374. "properties": {
  22375. "accountid": {
  22376. "description": "账户ID[报价币种]",
  22377. "type": "integer"
  22378. },
  22379. "agreeunit": {
  22380. "description": "合约单位",
  22381. "type": "number"
  22382. },
  22383. "buyorsell": {
  22384. "description": "买卖 - 0:买 1:卖",
  22385. "type": "integer"
  22386. },
  22387. "categoryid": {
  22388. "description": "类别ID(WRCATEGORY)",
  22389. "type": "integer"
  22390. },
  22391. "currency": {
  22392. "description": "货币",
  22393. "type": "string"
  22394. },
  22395. "currencysign": {
  22396. "description": "货币符号",
  22397. "type": "string"
  22398. },
  22399. "customername": {
  22400. "description": "卖家名称",
  22401. "type": "string"
  22402. },
  22403. "decimalplace": {
  22404. "description": "报价小数位",
  22405. "type": "integer"
  22406. },
  22407. "goodscode": {
  22408. "description": "商品代码(内部)",
  22409. "type": "string"
  22410. },
  22411. "goodsid": {
  22412. "description": "商品ID",
  22413. "type": "integer"
  22414. },
  22415. "goodsname": {
  22416. "description": "商品名称",
  22417. "type": "string"
  22418. },
  22419. "goodsprice": {
  22420. "description": "商品价格",
  22421. "type": "number"
  22422. },
  22423. "hascoupon": {
  22424. "description": "是否可用优惠卷",
  22425. "type": "boolean"
  22426. },
  22427. "hotindex": {
  22428. "description": "景点热度",
  22429. "type": "integer"
  22430. },
  22431. "marketid": {
  22432. "description": "市场ID",
  22433. "type": "integer"
  22434. },
  22435. "orderid": {
  22436. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22437. "type": "string"
  22438. },
  22439. "orderprice": {
  22440. "description": "委托价格",
  22441. "type": "number"
  22442. },
  22443. "orderstatus": {
  22444. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22445. "type": "integer"
  22446. },
  22447. "picurls": {
  22448. "description": "介绍图片[多张用逗号分隔]",
  22449. "type": "string"
  22450. },
  22451. "quoteminunit": {
  22452. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22453. "type": "integer"
  22454. },
  22455. "sellUserID": {
  22456. "description": "卖方UserID",
  22457. "type": "integer"
  22458. },
  22459. "trademode": {
  22460. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22461. "type": "integer"
  22462. },
  22463. "videourls": {
  22464. "description": "介绍视频[多张用逗号分隔]",
  22465. "type": "string"
  22466. }
  22467. }
  22468. },
  22469. "models.HsbyMarketGoodsDetail": {
  22470. "type": "object",
  22471. "required": [
  22472. "accountid",
  22473. "buyorsell",
  22474. "goodscode",
  22475. "goodsid",
  22476. "goodsname",
  22477. "marketid",
  22478. "orderid",
  22479. "orderqty",
  22480. "trademode"
  22481. ],
  22482. "properties": {
  22483. "accountid": {
  22484. "description": "账户ID[报价币种]",
  22485. "type": "integer"
  22486. },
  22487. "agreeunit": {
  22488. "description": "合约单位",
  22489. "type": "number"
  22490. },
  22491. "buymaxqty": {
  22492. "description": "购买上限 [71] - 0为不限",
  22493. "type": "integer"
  22494. },
  22495. "buyorsell": {
  22496. "description": "买卖 - 0:买 1:卖",
  22497. "type": "integer"
  22498. },
  22499. "cancelqty": {
  22500. "description": "撤单数量",
  22501. "type": "integer"
  22502. },
  22503. "categoryid": {
  22504. "description": "类别ID(WRCATEGORY)",
  22505. "type": "integer"
  22506. },
  22507. "currency": {
  22508. "description": "货币",
  22509. "type": "string"
  22510. },
  22511. "currencysign": {
  22512. "description": "货币符号",
  22513. "type": "string"
  22514. },
  22515. "customername": {
  22516. "description": "卖家名称",
  22517. "type": "string"
  22518. },
  22519. "decimalplace": {
  22520. "description": "报价小数位",
  22521. "type": "integer"
  22522. },
  22523. "goodscode": {
  22524. "description": "商品代码(内部)",
  22525. "type": "string"
  22526. },
  22527. "goodsdesc": {
  22528. "description": "商品详情",
  22529. "type": "string"
  22530. },
  22531. "goodsid": {
  22532. "description": "商品ID",
  22533. "type": "integer"
  22534. },
  22535. "goodsname": {
  22536. "description": "商品名称",
  22537. "type": "string"
  22538. },
  22539. "goodsprice": {
  22540. "description": "商品价格",
  22541. "type": "number"
  22542. },
  22543. "hotindex": {
  22544. "description": "景点热度",
  22545. "type": "integer"
  22546. },
  22547. "lotsize": {
  22548. "description": "手数最小变动单位",
  22549. "type": "integer"
  22550. },
  22551. "marketid": {
  22552. "description": "市场ID",
  22553. "type": "integer"
  22554. },
  22555. "orderid": {
  22556. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22557. "type": "string"
  22558. },
  22559. "orderprice": {
  22560. "description": "委托价格",
  22561. "type": "number"
  22562. },
  22563. "orderqty": {
  22564. "description": "委托数量",
  22565. "type": "integer"
  22566. },
  22567. "orderstatus": {
  22568. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22569. "type": "integer"
  22570. },
  22571. "picurls": {
  22572. "description": "介绍图片[多张用逗号分隔]",
  22573. "type": "string"
  22574. },
  22575. "quoteminunit": {
  22576. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22577. "type": "integer"
  22578. },
  22579. "sellUserID": {
  22580. "description": "卖方UserID",
  22581. "type": "integer"
  22582. },
  22583. "trademode": {
  22584. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22585. "type": "integer"
  22586. },
  22587. "tradeqty": {
  22588. "description": "成交数量",
  22589. "type": "integer"
  22590. },
  22591. "vendorattr": {
  22592. "description": "供应商附件(多张,逗号分隔)",
  22593. "type": "string"
  22594. },
  22595. "vendorname": {
  22596. "description": "供应商名称",
  22597. "type": "string"
  22598. },
  22599. "vendorphone": {
  22600. "description": "供应商客服电话",
  22601. "type": "string"
  22602. },
  22603. "videourls": {
  22604. "description": "介绍视频[多张用逗号分隔]",
  22605. "type": "string"
  22606. }
  22607. }
  22608. },
  22609. "models.HsbyMarketInfo": {
  22610. "type": "object",
  22611. "required": [
  22612. "marketid",
  22613. "marketstatus",
  22614. "trademode"
  22615. ],
  22616. "properties": {
  22617. "marketid": {
  22618. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22619. "type": "integer"
  22620. },
  22621. "marketname": {
  22622. "description": "市场名称",
  22623. "type": "string"
  22624. },
  22625. "marketstatus": {
  22626. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22627. "type": "integer"
  22628. },
  22629. "trademode": {
  22630. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22631. "type": "integer"
  22632. }
  22633. }
  22634. },
  22635. "models.HsbyMyGoods": {
  22636. "type": "object",
  22637. "required": [
  22638. "accountid",
  22639. "goodscode",
  22640. "goodsid",
  22641. "goodsname",
  22642. "marketid",
  22643. "trademode"
  22644. ],
  22645. "properties": {
  22646. "accountid": {
  22647. "description": "账号Id",
  22648. "type": "integer"
  22649. },
  22650. "agreeunit": {
  22651. "description": "合约单位",
  22652. "type": "number"
  22653. },
  22654. "buyaverageprice": {
  22655. "description": "持仓均价",
  22656. "type": "number"
  22657. },
  22658. "buycurholderamount": {
  22659. "description": "买当前持仓总金额[商品币种]",
  22660. "type": "number"
  22661. },
  22662. "buycurpositionqty": {
  22663. "description": "买当前持仓总数量",
  22664. "type": "integer"
  22665. },
  22666. "buymaxqty": {
  22667. "description": "购买上限 [71] - 0为不限",
  22668. "type": "integer"
  22669. },
  22670. "currencysign": {
  22671. "description": "货币符号",
  22672. "type": "string"
  22673. },
  22674. "decimalplace": {
  22675. "description": "报价小数位",
  22676. "type": "integer"
  22677. },
  22678. "enableqty": {
  22679. "description": "可用数量",
  22680. "type": "integer"
  22681. },
  22682. "goodscode": {
  22683. "description": "商品代码(内部)",
  22684. "type": "string"
  22685. },
  22686. "goodsid": {
  22687. "description": "商品Id",
  22688. "type": "integer"
  22689. },
  22690. "goodsname": {
  22691. "description": "商品名称",
  22692. "type": "string"
  22693. },
  22694. "goodsprice": {
  22695. "description": "商品价格",
  22696. "type": "number"
  22697. },
  22698. "goodsstatus": {
  22699. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22700. "type": "integer"
  22701. },
  22702. "last": {
  22703. "description": "现价(仅使用于挂牌点选)",
  22704. "type": "number"
  22705. },
  22706. "limitdown": {
  22707. "description": "跌停价(仅使用于挂牌点选)",
  22708. "type": "number"
  22709. },
  22710. "limitup": {
  22711. "description": "涨停价(仅使用于挂牌点选)",
  22712. "type": "number"
  22713. },
  22714. "lotsize": {
  22715. "description": "手数最小变动单位",
  22716. "type": "integer"
  22717. },
  22718. "marketid": {
  22719. "description": "所属市场ID",
  22720. "type": "integer"
  22721. },
  22722. "picurls": {
  22723. "description": "介绍图片[多张用逗号分隔]",
  22724. "type": "string"
  22725. },
  22726. "quoteminunit": {
  22727. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22728. "type": "integer"
  22729. },
  22730. "stepvalue": {
  22731. "description": "价格最小变动单位",
  22732. "type": "number"
  22733. },
  22734. "trademode": {
  22735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22736. "type": "integer"
  22737. }
  22738. }
  22739. },
  22740. "models.HsbyMyPackage": {
  22741. "type": "object",
  22742. "required": [
  22743. "goodscode",
  22744. "goodsname",
  22745. "takeorderid",
  22746. "trademode"
  22747. ],
  22748. "properties": {
  22749. "accountid": {
  22750. "description": "账户ID",
  22751. "type": "integer"
  22752. },
  22753. "address": {
  22754. "description": "提货人详细地址",
  22755. "type": "string"
  22756. },
  22757. "agreeunit": {
  22758. "description": "合约单位",
  22759. "type": "number"
  22760. },
  22761. "amount": {
  22762. "description": "提货金额",
  22763. "type": "number"
  22764. },
  22765. "auditer": {
  22766. "description": "审核人",
  22767. "type": "integer"
  22768. },
  22769. "audittime": {
  22770. "description": "审核时间",
  22771. "type": "string"
  22772. },
  22773. "averageprice": {
  22774. "description": "均价",
  22775. "type": "number"
  22776. },
  22777. "cardnum": {
  22778. "description": "提货人证件号码",
  22779. "type": "string"
  22780. },
  22781. "cardtypeid": {
  22782. "description": "提货人证件类型",
  22783. "type": "integer"
  22784. },
  22785. "checkremark": {
  22786. "description": "审核备注",
  22787. "type": "string"
  22788. },
  22789. "currencysign": {
  22790. "description": "货币符号",
  22791. "type": "string"
  22792. },
  22793. "decimalplace": {
  22794. "description": "报价小数位",
  22795. "type": "integer"
  22796. },
  22797. "goodscode": {
  22798. "description": "商品代码(内部)",
  22799. "type": "string"
  22800. },
  22801. "goodsid": {
  22802. "description": "商品ID",
  22803. "type": "integer"
  22804. },
  22805. "goodsname": {
  22806. "description": "商品名称",
  22807. "type": "string"
  22808. },
  22809. "handlestatus": {
  22810. "description": "处理状态",
  22811. "type": "integer"
  22812. },
  22813. "marketid": {
  22814. "description": "市场ID",
  22815. "type": "integer"
  22816. },
  22817. "phonenum": {
  22818. "description": "提货人联系方式",
  22819. "type": "string"
  22820. },
  22821. "picurls": {
  22822. "description": "介绍图片[多张用逗号分隔]",
  22823. "type": "string"
  22824. },
  22825. "qty": {
  22826. "description": "提货数量",
  22827. "type": "number"
  22828. },
  22829. "recivername": {
  22830. "description": "提货人姓名",
  22831. "type": "string"
  22832. },
  22833. "reqtime": {
  22834. "description": "更新时间",
  22835. "type": "string"
  22836. },
  22837. "takemode": {
  22838. "description": "提货方式 - 2:自提 3:配送",
  22839. "type": "integer"
  22840. },
  22841. "takeorderid": {
  22842. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22843. "type": "string"
  22844. },
  22845. "takeorderstatus": {
  22846. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22847. "type": "integer"
  22848. },
  22849. "takeremark": {
  22850. "description": "提货备注",
  22851. "type": "string"
  22852. },
  22853. "tradedate": {
  22854. "description": "交易日(yyyyMMdd)",
  22855. "type": "string"
  22856. },
  22857. "trademode": {
  22858. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22859. "type": "integer"
  22860. },
  22861. "userid": {
  22862. "description": "用户ID",
  22863. "type": "integer"
  22864. },
  22865. "vendorname": {
  22866. "description": "供应商名称",
  22867. "type": "string"
  22868. }
  22869. }
  22870. },
  22871. "models.HsbyPreGoods": {
  22872. "type": "object",
  22873. "required": [
  22874. "goodscode",
  22875. "goodsid",
  22876. "goodsname",
  22877. "marketid",
  22878. "trademode"
  22879. ],
  22880. "properties": {
  22881. "agreeunit": {
  22882. "description": "合约单位",
  22883. "type": "number"
  22884. },
  22885. "currency": {
  22886. "description": "货币",
  22887. "type": "string"
  22888. },
  22889. "currencysign": {
  22890. "description": "货币符号",
  22891. "type": "string"
  22892. },
  22893. "decimalplace": {
  22894. "description": "报价小数位",
  22895. "type": "integer"
  22896. },
  22897. "desccityid": {
  22898. "description": "目的地(市)",
  22899. "type": "integer"
  22900. },
  22901. "descprovinceid": {
  22902. "description": "目的地(省)",
  22903. "type": "integer"
  22904. },
  22905. "enableqty": {
  22906. "description": "剩余数量",
  22907. "type": "integer"
  22908. },
  22909. "goodscode": {
  22910. "description": "商品代码(内部)",
  22911. "type": "string"
  22912. },
  22913. "goodsid": {
  22914. "description": "商品ID(自增ID SEQ_GOODS)",
  22915. "type": "integer"
  22916. },
  22917. "goodsname": {
  22918. "description": "商品名称",
  22919. "type": "string"
  22920. },
  22921. "goodsstatus": {
  22922. "description": "商品状态- 2:未上市 3:上市",
  22923. "type": "integer"
  22924. },
  22925. "lasttradedate": {
  22926. "description": "最后交易日期(状态:待退市)",
  22927. "type": "string"
  22928. },
  22929. "listingdate": {
  22930. "description": "交易开始日期",
  22931. "type": "string"
  22932. },
  22933. "marketid": {
  22934. "description": "所属市场ID",
  22935. "type": "integer"
  22936. },
  22937. "picurls": {
  22938. "description": "介绍图片[多张用逗号分隔]",
  22939. "type": "string"
  22940. },
  22941. "presaledqty": {
  22942. "description": "已预售量(预售结束时更新)",
  22943. "type": "integer"
  22944. },
  22945. "presaleqty": {
  22946. "description": "预售数量",
  22947. "type": "integer"
  22948. },
  22949. "quoteminunit": {
  22950. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22951. "type": "integer"
  22952. },
  22953. "refprice": {
  22954. "description": "参考价格[一口价]",
  22955. "type": "number"
  22956. },
  22957. "relatedgoodsid": {
  22958. "description": "关联交易合约ID",
  22959. "type": "integer"
  22960. },
  22961. "trademode": {
  22962. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22963. "type": "integer"
  22964. },
  22965. "videourls": {
  22966. "description": "介绍视频[多张用逗号分隔]",
  22967. "type": "string"
  22968. }
  22969. }
  22970. },
  22971. "models.HsbyPreGoodsDetail": {
  22972. "type": "object",
  22973. "required": [
  22974. "goodscode",
  22975. "goodsid",
  22976. "goodsname",
  22977. "marketid",
  22978. "trademode"
  22979. ],
  22980. "properties": {
  22981. "agreeunit": {
  22982. "description": "合约单位",
  22983. "type": "number"
  22984. },
  22985. "buymaxqty": {
  22986. "description": "购买上限 [71] - 0为不限",
  22987. "type": "integer"
  22988. },
  22989. "currency": {
  22990. "description": "货币",
  22991. "type": "string"
  22992. },
  22993. "currencysign": {
  22994. "description": "货币符号",
  22995. "type": "string"
  22996. },
  22997. "customername": {
  22998. "description": "发行单位",
  22999. "type": "string"
  23000. },
  23001. "decimalplace": {
  23002. "description": "报价小数位",
  23003. "type": "integer"
  23004. },
  23005. "desccityid": {
  23006. "description": "目的地(市)ID",
  23007. "type": "integer"
  23008. },
  23009. "descprovinceid": {
  23010. "description": "目的地(省)ID",
  23011. "type": "integer"
  23012. },
  23013. "enableqty": {
  23014. "description": "剩余数量",
  23015. "type": "integer"
  23016. },
  23017. "goodscode": {
  23018. "description": "商品代码(内部)",
  23019. "type": "string"
  23020. },
  23021. "goodsdesc": {
  23022. "description": "商品详情",
  23023. "type": "string"
  23024. },
  23025. "goodsid": {
  23026. "description": "商品ID(自增ID SEQ_GOODS)",
  23027. "type": "integer"
  23028. },
  23029. "goodsname": {
  23030. "description": "商品名称",
  23031. "type": "string"
  23032. },
  23033. "goodsstatus": {
  23034. "description": "商品状态- 2:未上市 3:上市",
  23035. "type": "integer"
  23036. },
  23037. "goodunit": {
  23038. "description": "报价单位",
  23039. "type": "string"
  23040. },
  23041. "lasttradedate": {
  23042. "description": "最后交易日期(状态:待退市)",
  23043. "type": "string"
  23044. },
  23045. "listingdate": {
  23046. "description": "交易开始日期",
  23047. "type": "string"
  23048. },
  23049. "lotsize": {
  23050. "description": "手数最小变动单位",
  23051. "type": "integer"
  23052. },
  23053. "marketid": {
  23054. "description": "所属市场ID",
  23055. "type": "integer"
  23056. },
  23057. "picurls": {
  23058. "description": "介绍图片[多张用逗号分隔]",
  23059. "type": "string"
  23060. },
  23061. "presaledqty": {
  23062. "description": "已预售量(预售结束时更新)",
  23063. "type": "integer"
  23064. },
  23065. "presaleqty": {
  23066. "description": "预售数量",
  23067. "type": "integer"
  23068. },
  23069. "quoteminunit": {
  23070. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23071. "type": "integer"
  23072. },
  23073. "refprice": {
  23074. "description": "参考价格[一口价]",
  23075. "type": "number"
  23076. },
  23077. "relatedgoodsid": {
  23078. "description": "关联交易合约ID",
  23079. "type": "integer"
  23080. },
  23081. "stepvalue": {
  23082. "description": "价格最小变动单位",
  23083. "type": "number"
  23084. },
  23085. "trademode": {
  23086. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23087. "type": "integer"
  23088. },
  23089. "vendorattr": {
  23090. "description": "供应商附件(多张,逗号分隔)",
  23091. "type": "string"
  23092. },
  23093. "vendorname": {
  23094. "description": "供应商名称",
  23095. "type": "string"
  23096. },
  23097. "vendorphone": {
  23098. "description": "供应商客服电话",
  23099. "type": "string"
  23100. },
  23101. "videourls": {
  23102. "description": "介绍视频[多张用逗号分隔]",
  23103. "type": "string"
  23104. }
  23105. }
  23106. },
  23107. "models.HsbySellCollectionOrder": {
  23108. "type": "object",
  23109. "required": [
  23110. "goodscode",
  23111. "goodsname",
  23112. "tradeid",
  23113. "trademode"
  23114. ],
  23115. "properties": {
  23116. "agreeunit": {
  23117. "description": "合约单位",
  23118. "type": "number"
  23119. },
  23120. "buyaccountid": {
  23121. "description": "买方账号ID[报价币种]",
  23122. "type": "integer"
  23123. },
  23124. "buyorderid": {
  23125. "description": "买方委托单号",
  23126. "type": "string"
  23127. },
  23128. "createtime": {
  23129. "description": "创建时间",
  23130. "type": "string"
  23131. },
  23132. "currencysign": {
  23133. "description": "货币符号",
  23134. "type": "string"
  23135. },
  23136. "decimalplace": {
  23137. "description": "报价小数位",
  23138. "type": "integer"
  23139. },
  23140. "goodscode": {
  23141. "description": "商品代码(内部)",
  23142. "type": "string"
  23143. },
  23144. "goodsid": {
  23145. "description": "商品ID",
  23146. "type": "integer"
  23147. },
  23148. "goodsname": {
  23149. "description": "商品名称",
  23150. "type": "string"
  23151. },
  23152. "marketid": {
  23153. "description": "市场ID",
  23154. "type": "integer"
  23155. },
  23156. "offamount": {
  23157. "description": "优惠金额",
  23158. "type": "number"
  23159. },
  23160. "payamount": {
  23161. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23162. "type": "number"
  23163. },
  23164. "payflag": {
  23165. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23166. "type": "integer"
  23167. },
  23168. "paylimitedtime": {
  23169. "description": "支付期限",
  23170. "type": "string"
  23171. },
  23172. "paytime": {
  23173. "description": "付款时间",
  23174. "type": "string"
  23175. },
  23176. "picurls": {
  23177. "description": "商品介绍图片[多张用逗号分隔]",
  23178. "type": "string"
  23179. },
  23180. "sellaccountid": {
  23181. "description": "卖方账号ID[报价币种]",
  23182. "type": "integer"
  23183. },
  23184. "sellorderid": {
  23185. "description": "卖方委托单号",
  23186. "type": "string"
  23187. },
  23188. "tradeamount": {
  23189. "description": "成交金额",
  23190. "type": "number"
  23191. },
  23192. "tradecharge": {
  23193. "description": "成交手续费(买方)",
  23194. "type": "number"
  23195. },
  23196. "tradedate": {
  23197. "description": "交易日(yyyyMMdd)",
  23198. "type": "string"
  23199. },
  23200. "tradeid": {
  23201. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23202. "type": "string"
  23203. },
  23204. "trademode": {
  23205. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23206. "type": "integer"
  23207. },
  23208. "tradeprice": {
  23209. "description": "成交价格",
  23210. "type": "number"
  23211. },
  23212. "tradeqty": {
  23213. "description": "成交数量",
  23214. "type": "integer"
  23215. }
  23216. }
  23217. },
  23218. "models.HsbySellMyDetail": {
  23219. "type": "object",
  23220. "required": [
  23221. "accountid",
  23222. "buyorsell",
  23223. "goodscode",
  23224. "goodsid",
  23225. "goodsname",
  23226. "marketid",
  23227. "orderid",
  23228. "time",
  23229. "trademode"
  23230. ],
  23231. "properties": {
  23232. "accountid": {
  23233. "description": "账户ID[报价币种]",
  23234. "type": "integer"
  23235. },
  23236. "agreeunit": {
  23237. "description": "合约单位",
  23238. "type": "number"
  23239. },
  23240. "buyorsell": {
  23241. "description": "买卖 - 0:买 1:卖",
  23242. "type": "integer"
  23243. },
  23244. "currencysign": {
  23245. "description": "货币符号",
  23246. "type": "string"
  23247. },
  23248. "decimalplace": {
  23249. "description": "报价小数位",
  23250. "type": "integer"
  23251. },
  23252. "goodscode": {
  23253. "description": "商品代码(内部)",
  23254. "type": "string"
  23255. },
  23256. "goodsid": {
  23257. "description": "商品ID",
  23258. "type": "integer"
  23259. },
  23260. "goodsname": {
  23261. "description": "商品名称",
  23262. "type": "string"
  23263. },
  23264. "marketid": {
  23265. "description": "市场ID",
  23266. "type": "integer"
  23267. },
  23268. "orderid": {
  23269. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23270. "type": "string"
  23271. },
  23272. "ordertype": {
  23273. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23274. "type": "integer"
  23275. },
  23276. "picurls": {
  23277. "description": "介绍图片[多张用逗号分隔]",
  23278. "type": "string"
  23279. },
  23280. "price": {
  23281. "description": "价格",
  23282. "type": "number"
  23283. },
  23284. "qty": {
  23285. "description": "数量",
  23286. "type": "integer"
  23287. },
  23288. "time": {
  23289. "description": "时间",
  23290. "type": "string"
  23291. },
  23292. "trademode": {
  23293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23294. "type": "integer"
  23295. },
  23296. "vendorname": {
  23297. "description": "供应商名称",
  23298. "type": "string"
  23299. }
  23300. }
  23301. },
  23302. "models.HsbyTopGoods": {
  23303. "type": "object",
  23304. "required": [
  23305. "goodscode",
  23306. "goodsid",
  23307. "goodsname",
  23308. "marketid",
  23309. "trademode"
  23310. ],
  23311. "properties": {
  23312. "agreeunit": {
  23313. "description": "合约单位",
  23314. "type": "number"
  23315. },
  23316. "currency": {
  23317. "description": "货币",
  23318. "type": "string"
  23319. },
  23320. "currencysign": {
  23321. "description": "货币符号",
  23322. "type": "string"
  23323. },
  23324. "decimalplace": {
  23325. "description": "报价小数位",
  23326. "type": "integer"
  23327. },
  23328. "desccityid": {
  23329. "description": "目的地(市)",
  23330. "type": "integer"
  23331. },
  23332. "descprovinceid": {
  23333. "description": "目的地(省)",
  23334. "type": "integer"
  23335. },
  23336. "goodscode": {
  23337. "description": "商品代码(内部)",
  23338. "type": "string"
  23339. },
  23340. "goodsid": {
  23341. "description": "商品ID(自增ID SEQ_GOODS)",
  23342. "type": "integer"
  23343. },
  23344. "goodsname": {
  23345. "description": "商品名称",
  23346. "type": "string"
  23347. },
  23348. "hotindex": {
  23349. "description": "景点热度",
  23350. "type": "integer"
  23351. },
  23352. "last": {
  23353. "description": "现价",
  23354. "type": "number"
  23355. },
  23356. "marketid": {
  23357. "description": "所属市场ID",
  23358. "type": "integer"
  23359. },
  23360. "picurls": {
  23361. "description": "介绍图片[多张用逗号分隔]",
  23362. "type": "string"
  23363. },
  23364. "quoteminunit": {
  23365. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23366. "type": "integer"
  23367. },
  23368. "trademode": {
  23369. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23370. "type": "integer"
  23371. },
  23372. "videourls": {
  23373. "description": "介绍视频[多张用逗号分隔]",
  23374. "type": "string"
  23375. }
  23376. }
  23377. },
  23378. "models.HybsMyBuyOrderDetail": {
  23379. "type": "object",
  23380. "required": [
  23381. "accountid",
  23382. "buyorsell",
  23383. "goodscode",
  23384. "goodsid",
  23385. "goodsname",
  23386. "marketid",
  23387. "orderid",
  23388. "orderqty",
  23389. "ordertime",
  23390. "trademode"
  23391. ],
  23392. "properties": {
  23393. "accountid": {
  23394. "description": "账户ID[报价币种]",
  23395. "type": "integer"
  23396. },
  23397. "agreeunit": {
  23398. "description": "合约单位",
  23399. "type": "number"
  23400. },
  23401. "buyorsell": {
  23402. "description": "买卖 - 0:买 1:卖",
  23403. "type": "integer"
  23404. },
  23405. "cancelqty": {
  23406. "description": "撤单数量",
  23407. "type": "integer"
  23408. },
  23409. "currencysign": {
  23410. "description": "货币符号",
  23411. "type": "string"
  23412. },
  23413. "decimalplace": {
  23414. "description": "报价小数位",
  23415. "type": "integer"
  23416. },
  23417. "goodscode": {
  23418. "description": "商品代码(内部)",
  23419. "type": "string"
  23420. },
  23421. "goodsid": {
  23422. "description": "商品ID",
  23423. "type": "integer"
  23424. },
  23425. "goodsname": {
  23426. "description": "商品名称",
  23427. "type": "string"
  23428. },
  23429. "listingselecttype": {
  23430. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23431. "type": "integer"
  23432. },
  23433. "marketid": {
  23434. "description": "市场ID",
  23435. "type": "integer"
  23436. },
  23437. "mybuystatus": {
  23438. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23439. "type": "integer"
  23440. },
  23441. "orderamount": {
  23442. "description": "委托金额",
  23443. "type": "number"
  23444. },
  23445. "orderid": {
  23446. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23447. "type": "string"
  23448. },
  23449. "orderprice": {
  23450. "description": "委托价格",
  23451. "type": "number"
  23452. },
  23453. "orderqty": {
  23454. "description": "委托数量",
  23455. "type": "integer"
  23456. },
  23457. "orderstatus": {
  23458. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23459. "type": "integer"
  23460. },
  23461. "ordertime": {
  23462. "description": "委托时间",
  23463. "type": "string"
  23464. },
  23465. "picurls1": {
  23466. "description": "预售商品介绍图片[多张用逗号分隔]",
  23467. "type": "string"
  23468. },
  23469. "picurls2": {
  23470. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23471. "type": "string"
  23472. },
  23473. "trademode": {
  23474. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23475. "type": "integer"
  23476. },
  23477. "tradeqty": {
  23478. "description": "成交数量",
  23479. "type": "integer"
  23480. },
  23481. "vendorname1": {
  23482. "description": "预售商品供应商名称",
  23483. "type": "string"
  23484. },
  23485. "vendorname2": {
  23486. "description": "挂牌商品供应商名称",
  23487. "type": "string"
  23488. }
  23489. }
  23490. },
  23491. "models.Loginaccount": {
  23492. "type": "object",
  23493. "required": [
  23494. "loginid"
  23495. ],
  23496. "properties": {
  23497. "accountname": {
  23498. "description": "账户名称",
  23499. "type": "string"
  23500. },
  23501. "canoutin": {
  23502. "description": "是否可出入金 - 0:不可 1:可",
  23503. "type": "integer"
  23504. },
  23505. "clientroleid": {
  23506. "description": "终端角色ID",
  23507. "type": "integer"
  23508. },
  23509. "haslogined": {
  23510. "description": "是否已登录 - 0:未登录 1:已登录",
  23511. "type": "integer"
  23512. },
  23513. "hasupdatedpwd": {
  23514. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23515. "type": "integer"
  23516. },
  23517. "lastloginip": {
  23518. "description": "最新登录地址",
  23519. "type": "string"
  23520. },
  23521. "lastloginmode": {
  23522. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23523. "type": "integer"
  23524. },
  23525. "lastloginremark": {
  23526. "description": "最新登录描述",
  23527. "type": "string"
  23528. },
  23529. "lastlogintime": {
  23530. "description": "最新登录时间",
  23531. "type": "string"
  23532. },
  23533. "logincode": {
  23534. "description": "登录代码",
  23535. "type": "string"
  23536. },
  23537. "loginfailnum": {
  23538. "description": "连续登录失败次数(登录成功时清零)",
  23539. "type": "integer"
  23540. },
  23541. "loginid": {
  23542. "description": "登陆账号",
  23543. "type": "integer"
  23544. },
  23545. "loginport": {
  23546. "description": "最新登录端口",
  23547. "type": "integer"
  23548. },
  23549. "loginstatus": {
  23550. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23551. "type": "integer"
  23552. },
  23553. "loginusertype": {
  23554. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23555. "type": "integer"
  23556. },
  23557. "mobile": {
  23558. "description": "手机号码(加密存储)",
  23559. "type": "string"
  23560. },
  23561. "modifierid": {
  23562. "description": "修改人",
  23563. "type": "integer"
  23564. },
  23565. "modifysrc": {
  23566. "description": "审核来源 - 1:管理端 2:终端",
  23567. "type": "integer"
  23568. },
  23569. "modifytime": {
  23570. "description": "修改时间",
  23571. "type": "string"
  23572. },
  23573. "password": {
  23574. "description": "登陆密码",
  23575. "type": "string"
  23576. },
  23577. "pwdwrongcount": {
  23578. "description": "密码错误次数",
  23579. "type": "integer"
  23580. },
  23581. "relateduserid": {
  23582. "description": "关联用户ID(机构)",
  23583. "type": "integer"
  23584. },
  23585. "taaccountrighttype": {
  23586. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23587. "type": "integer"
  23588. },
  23589. "unfreezetime": {
  23590. "description": "账户解冻时间",
  23591. "type": "string"
  23592. },
  23593. "userid": {
  23594. "description": "用户ID",
  23595. "type": "integer"
  23596. }
  23597. }
  23598. },
  23599. "models.MainAccountInfo": {
  23600. "type": "object",
  23601. "properties": {
  23602. "accountid": {
  23603. "description": "账号id",
  23604. "type": "integer"
  23605. },
  23606. "accountname": {
  23607. "description": "账号名称(taaccount表中的名称)",
  23608. "type": "string"
  23609. },
  23610. "appid": {
  23611. "description": "AppID",
  23612. "type": "string"
  23613. },
  23614. "authcode": {
  23615. "description": "授权码",
  23616. "type": "string"
  23617. },
  23618. "brokerid": {
  23619. "description": "经纪商id",
  23620. "type": "string"
  23621. },
  23622. "fcid": {
  23623. "description": "期货公司id",
  23624. "type": "integer"
  23625. },
  23626. "fcname": {
  23627. "description": "期货公司代码",
  23628. "type": "string"
  23629. },
  23630. "hedgeaccountcode": {
  23631. "description": "外部账号代码(主账号登录代码)",
  23632. "type": "string"
  23633. },
  23634. "hedgeaccountpwd": {
  23635. "description": "密码",
  23636. "type": "string"
  23637. },
  23638. "ismain": {
  23639. "description": "是否主账号",
  23640. "type": "integer"
  23641. },
  23642. "relateduserid": {
  23643. "description": "关联用户id",
  23644. "type": "integer"
  23645. },
  23646. "userid": {
  23647. "description": "关联用户id",
  23648. "type": "integer"
  23649. }
  23650. }
  23651. },
  23652. "models.Market": {
  23653. "type": "object",
  23654. "required": [
  23655. "marketid",
  23656. "marketstatus",
  23657. "openmethod",
  23658. "reckonpricealgorithm",
  23659. "trademode",
  23660. "tradeproperty"
  23661. ],
  23662. "properties": {
  23663. "auctionwrtype": {
  23664. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23665. "type": "integer"
  23666. },
  23667. "canacceptquote": {
  23668. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23669. "type": "integer"
  23670. },
  23671. "cangoodsexercise": {
  23672. "description": "[期权]是否可现货行权- 0:否 1:是",
  23673. "type": "integer"
  23674. },
  23675. "cangoodsexercisetype": {
  23676. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23677. "type": "integer"
  23678. },
  23679. "canmanualquotestrike": {
  23680. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23681. "type": "integer"
  23682. },
  23683. "canmutistage": {
  23684. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23685. "type": "integer"
  23686. },
  23687. "canpreexercise": {
  23688. "description": "[期权]是否可预申报- 0:否 1:是",
  23689. "type": "integer"
  23690. },
  23691. "clearinterval": {
  23692. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23693. "type": "integer"
  23694. },
  23695. "contracttmp": {
  23696. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23697. "type": "string"
  23698. },
  23699. "exchareaid": {
  23700. "description": "所属交易所,可以没有",
  23701. "type": "integer"
  23702. },
  23703. "goodstype": {
  23704. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23705. "type": "integer"
  23706. },
  23707. "hasrebate": {
  23708. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23709. "type": "integer"
  23710. },
  23711. "hastradecredit": {
  23712. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23713. "type": "integer"
  23714. },
  23715. "haswr": {
  23716. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23717. "type": "integer"
  23718. },
  23719. "isdeductmargin": {
  23720. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23721. "type": "integer"
  23722. },
  23723. "isrecordsource": {
  23724. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23725. "type": "integer"
  23726. },
  23727. "isreleasemargin": {
  23728. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23729. "type": "integer"
  23730. },
  23731. "marginformula": {
  23732. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23733. "type": "integer"
  23734. },
  23735. "marginformula2": {
  23736. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23737. "type": "integer"
  23738. },
  23739. "marketid": {
  23740. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23741. "type": "integer"
  23742. },
  23743. "marketname": {
  23744. "description": "市场名称",
  23745. "type": "string"
  23746. },
  23747. "marketserviceid": {
  23748. "description": "市场服务ID",
  23749. "type": "integer"
  23750. },
  23751. "marketstatus": {
  23752. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23753. "type": "integer"
  23754. },
  23755. "markettype": {
  23756. "description": "市场类型- 1:非交易服务 2:交易服务",
  23757. "type": "integer"
  23758. },
  23759. "matchermode": {
  23760. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23761. "type": "integer"
  23762. },
  23763. "openmethod": {
  23764. "description": "开盘模式 - 0 自动 1手动",
  23765. "type": "integer"
  23766. },
  23767. "otcuserid": {
  23768. "description": "场外期权做市商[场外期权]",
  23769. "type": "integer"
  23770. },
  23771. "outersynctime": {
  23772. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23773. "type": "string"
  23774. },
  23775. "pendingflag": {
  23776. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23777. "type": "integer"
  23778. },
  23779. "pendingtime": {
  23780. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23781. "type": "string"
  23782. },
  23783. "performancetempid": {
  23784. "description": "履约计划模板ID - 作废",
  23785. "type": "integer"
  23786. },
  23787. "premiumquotemode": {
  23788. "description": "权利金报价方式 - 1:自动 2:手动",
  23789. "type": "integer"
  23790. },
  23791. "rebateratio": {
  23792. "description": "返利比率[竞价式]",
  23793. "type": "number"
  23794. },
  23795. "reckonorder": {
  23796. "description": "结算顺序",
  23797. "type": "integer"
  23798. },
  23799. "reckonpricealgorithm": {
  23800. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23801. "type": "integer"
  23802. },
  23803. "reckonpriceparam": {
  23804. "description": "结算价参数",
  23805. "type": "integer"
  23806. },
  23807. "reckontime": {
  23808. "description": "结算时间[通道交易-对冲](HH:mm)",
  23809. "type": "string"
  23810. },
  23811. "roleprioritytype": {
  23812. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23813. "type": "integer"
  23814. },
  23815. "selllistingauditflag": {
  23816. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23817. "type": "integer"
  23818. },
  23819. "trademarkettype": {
  23820. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23821. "type": "integer"
  23822. },
  23823. "trademode": {
  23824. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23825. "type": "integer"
  23826. },
  23827. "tradeproperty": {
  23828. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  23829. "type": "integer"
  23830. },
  23831. "tradetype": {
  23832. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  23833. "type": "integer"
  23834. }
  23835. }
  23836. },
  23837. "models.Marketrun": {
  23838. "type": "object",
  23839. "required": [
  23840. "marketid",
  23841. "nexttradedate",
  23842. "reckonflag",
  23843. "runstatus",
  23844. "tradedate",
  23845. "tradedate2"
  23846. ],
  23847. "properties": {
  23848. "afternexttradedate": {
  23849. "description": "下下交易日",
  23850. "type": "string"
  23851. },
  23852. "clearquoteflag": {
  23853. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  23854. "type": "integer"
  23855. },
  23856. "lastreckondate": {
  23857. "description": "最新交易日(结算成功)",
  23858. "type": "string"
  23859. },
  23860. "machinedate": {
  23861. "description": "机器时间",
  23862. "type": "string"
  23863. },
  23864. "manualflag": {
  23865. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  23866. "type": "integer"
  23867. },
  23868. "marketid": {
  23869. "description": "市场ID",
  23870. "type": "integer"
  23871. },
  23872. "nexttradedate": {
  23873. "description": "下一交易日",
  23874. "type": "string"
  23875. },
  23876. "pretradedate": {
  23877. "description": "上一交易日",
  23878. "type": "string"
  23879. },
  23880. "reckonflag": {
  23881. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  23882. "type": "integer"
  23883. },
  23884. "runstatus": {
  23885. "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.今日免清算",
  23886. "type": "integer"
  23887. },
  23888. "sectionid": {
  23889. "description": "时间段号[多时段时用]",
  23890. "type": "integer"
  23891. },
  23892. "tradedate": {
  23893. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  23894. "type": "string"
  23895. },
  23896. "tradedate2": {
  23897. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  23898. "type": "string"
  23899. },
  23900. "updatetime": {
  23901. "description": "更新时间",
  23902. "type": "string"
  23903. }
  23904. }
  23905. },
  23906. "models.Messageboard": {
  23907. "type": "object",
  23908. "required": [
  23909. "messageboardid"
  23910. ],
  23911. "properties": {
  23912. "contactnum": {
  23913. "description": "联系电话",
  23914. "type": "string"
  23915. },
  23916. "createtime": {
  23917. "description": "创建时间",
  23918. "type": "string"
  23919. },
  23920. "message": {
  23921. "description": "留言信息",
  23922. "type": "string"
  23923. },
  23924. "messageboardid": {
  23925. "description": "留言簿ID(SEQ_MessageBoard)",
  23926. "type": "integer"
  23927. },
  23928. "userid": {
  23929. "description": "用户ID",
  23930. "type": "integer"
  23931. }
  23932. }
  23933. },
  23934. "models.MyCoupon": {
  23935. "type": "object",
  23936. "required": [
  23937. "accountid",
  23938. "coupontypeid"
  23939. ],
  23940. "properties": {
  23941. "accountid": {
  23942. "description": "资金账户ID",
  23943. "type": "integer"
  23944. },
  23945. "areauserid": {
  23946. "description": "所属机构",
  23947. "type": "integer"
  23948. },
  23949. "conditionvalue": {
  23950. "description": "条件阈值(可为0)",
  23951. "type": "number"
  23952. },
  23953. "couponcategroy": {
  23954. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  23955. "type": "integer"
  23956. },
  23957. "couponname": {
  23958. "description": "优惠券名称",
  23959. "type": "string"
  23960. },
  23961. "coupontypeid": {
  23962. "description": "优惠券类型ID",
  23963. "type": "string"
  23964. },
  23965. "couponvalue": {
  23966. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  23967. "type": "number"
  23968. },
  23969. "curfreezeqty": {
  23970. "description": "期末冻结数量",
  23971. "type": "integer"
  23972. },
  23973. "curqty": {
  23974. "description": "期末数量",
  23975. "type": "integer"
  23976. },
  23977. "isgeneral": {
  23978. "description": "是否通用券 - 0:否 1:是",
  23979. "type": "integer"
  23980. },
  23981. "isunusable": {
  23982. "description": "是否不可用",
  23983. "type": "boolean"
  23984. },
  23985. "limitedflag": {
  23986. "description": "是否指定商品 - 0:不限 1:限制",
  23987. "type": "integer"
  23988. },
  23989. "limitedgoodsids": {
  23990. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  23991. "type": "string"
  23992. },
  23993. "orifreezeqty": {
  23994. "description": "期初冻结数量",
  23995. "type": "integer"
  23996. },
  23997. "oriqty": {
  23998. "description": "期初数量",
  23999. "type": "integer"
  24000. },
  24001. "reasontype": {
  24002. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24003. "type": "integer"
  24004. },
  24005. "todaydecrease": {
  24006. "description": "今日减少",
  24007. "type": "integer"
  24008. },
  24009. "todayincrease": {
  24010. "description": "今日增加",
  24011. "type": "integer"
  24012. },
  24013. "userid": {
  24014. "description": "用户ID",
  24015. "type": "integer"
  24016. },
  24017. "userscope": {
  24018. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24019. "type": "string"
  24020. }
  24021. }
  24022. },
  24023. "models.MyCouponHold": {
  24024. "type": "object",
  24025. "required": [
  24026. "couponholdid"
  24027. ],
  24028. "properties": {
  24029. "accountid": {
  24030. "description": "资金账户ID",
  24031. "type": "integer"
  24032. },
  24033. "conditionvalue": {
  24034. "description": "条件阈值(可为0)",
  24035. "type": "number"
  24036. },
  24037. "couponcategroy": {
  24038. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24039. "type": "integer"
  24040. },
  24041. "couponholdid": {
  24042. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24043. "type": "string"
  24044. },
  24045. "couponname": {
  24046. "description": "优惠券名称",
  24047. "type": "string"
  24048. },
  24049. "coupontypeid": {
  24050. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24051. "type": "string"
  24052. },
  24053. "couponvalue": {
  24054. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24055. "type": "number"
  24056. },
  24057. "createtime": {
  24058. "description": "创建时间",
  24059. "type": "string"
  24060. },
  24061. "enddate": {
  24062. "description": "结束日期",
  24063. "type": "string"
  24064. },
  24065. "giveapplyid": {
  24066. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24067. "type": "integer"
  24068. },
  24069. "holdstatus": {
  24070. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24071. "type": "integer"
  24072. },
  24073. "isgeneral": {
  24074. "description": "是否通用券 - 0:否 1:是",
  24075. "type": "integer"
  24076. },
  24077. "limitedflag": {
  24078. "description": "是否指定商品 - 0:不限 1:限制",
  24079. "type": "integer"
  24080. },
  24081. "limitedgoodsids": {
  24082. "description": "指定商品IDs[逗号分隔]",
  24083. "type": "string"
  24084. },
  24085. "qty": {
  24086. "description": "数量(按1平铺)",
  24087. "type": "integer"
  24088. },
  24089. "startdate": {
  24090. "description": "开始日期",
  24091. "type": "string"
  24092. },
  24093. "userid": {
  24094. "description": "用户ID",
  24095. "type": "integer"
  24096. },
  24097. "userscope": {
  24098. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24099. "type": "string"
  24100. }
  24101. }
  24102. },
  24103. "models.MyUsedCoupon": {
  24104. "type": "object",
  24105. "required": [
  24106. "coupontypeid",
  24107. "orderid"
  24108. ],
  24109. "properties": {
  24110. "accountid": {
  24111. "description": "资金账户ID(买方)",
  24112. "type": "integer"
  24113. },
  24114. "conditionvalue": {
  24115. "description": "条件阈值(可为0)",
  24116. "type": "number"
  24117. },
  24118. "couponcategroy": {
  24119. "description": "种类 - 1:现金券 2:折扣券",
  24120. "type": "integer"
  24121. },
  24122. "couponname": {
  24123. "description": "优惠券名称",
  24124. "type": "string"
  24125. },
  24126. "coupontypeid": {
  24127. "description": "优惠券类型ID(买方)",
  24128. "type": "string"
  24129. },
  24130. "couponvalue": {
  24131. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24132. "type": "number"
  24133. },
  24134. "createtime": {
  24135. "description": "创建时间",
  24136. "type": "string"
  24137. },
  24138. "goodsid": {
  24139. "description": "商品ID",
  24140. "type": "integer"
  24141. },
  24142. "handlestatus": {
  24143. "description": "处理状态",
  24144. "type": "integer"
  24145. },
  24146. "marketid": {
  24147. "description": "市场ID",
  24148. "type": "integer"
  24149. },
  24150. "offamount": {
  24151. "description": "优惠金额",
  24152. "type": "number"
  24153. },
  24154. "orderid": {
  24155. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24156. "type": "string"
  24157. },
  24158. "sellaccountid": {
  24159. "description": "资金账户ID(卖方)",
  24160. "type": "integer"
  24161. },
  24162. "tradeamount": {
  24163. "description": "成交金额",
  24164. "type": "number"
  24165. },
  24166. "tradeid": {
  24167. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24168. "type": "string"
  24169. },
  24170. "usedqty": {
  24171. "description": "使用数量",
  24172. "type": "integer"
  24173. }
  24174. }
  24175. },
  24176. "models.OperationPrimaryMenu": {
  24177. "type": "object",
  24178. "properties": {
  24179. "Children": {
  24180. "description": "二级功能菜单",
  24181. "type": "array",
  24182. "items": {
  24183. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24184. }
  24185. },
  24186. "Key": {
  24187. "description": "菜单KEY",
  24188. "type": "string"
  24189. },
  24190. "Label": {
  24191. "description": "菜单标题",
  24192. "type": "string"
  24193. }
  24194. }
  24195. },
  24196. "models.OperationSecondaryMenu": {
  24197. "type": "object",
  24198. "properties": {
  24199. "Key": {
  24200. "description": "菜单KEY",
  24201. "type": "string"
  24202. },
  24203. "Label": {
  24204. "description": "菜单标题",
  24205. "type": "string"
  24206. },
  24207. "TabList": {
  24208. "description": "三级功能菜单",
  24209. "type": "array",
  24210. "items": {
  24211. "$ref": "#/definitions/models.OperationTabMenu"
  24212. }
  24213. }
  24214. }
  24215. },
  24216. "models.OperationTabMenu": {
  24217. "type": "object",
  24218. "properties": {
  24219. "Key": {
  24220. "description": "菜单KEY",
  24221. "type": "string"
  24222. },
  24223. "Label": {
  24224. "description": "菜单标题",
  24225. "type": "string"
  24226. }
  24227. }
  24228. },
  24229. "models.PendingAuditBizModel": {
  24230. "type": "object",
  24231. "properties": {
  24232. "accountid": {
  24233. "description": "现货账户",
  24234. "type": "string"
  24235. },
  24236. "areaname": {
  24237. "description": "所属部门",
  24238. "type": "string"
  24239. },
  24240. "bizid": {
  24241. "description": "业务ID",
  24242. "type": "string"
  24243. },
  24244. "bizname": {
  24245. "description": "业务名称",
  24246. "type": "string"
  24247. },
  24248. "status": {
  24249. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24250. "type": "integer"
  24251. },
  24252. "type": {
  24253. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24254. "type": "integer"
  24255. }
  24256. }
  24257. },
  24258. "models.QhjAccountOutInApply": {
  24259. "type": "object",
  24260. "properties": {
  24261. "accountcode": {
  24262. "description": "资金账号",
  24263. "type": "string"
  24264. },
  24265. "accountname": {
  24266. "description": "用户名称(名称)",
  24267. "type": "string"
  24268. },
  24269. "accountpwd": {
  24270. "description": "资金密码",
  24271. "type": "string"
  24272. },
  24273. "accountticket": {
  24274. "description": "最新账户服务流水号",
  24275. "type": "string"
  24276. },
  24277. "amount": {
  24278. "description": "金额",
  24279. "type": "number"
  24280. },
  24281. "applyremark": {
  24282. "description": "申请备注",
  24283. "type": "string"
  24284. },
  24285. "applystatus": {
  24286. "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: 复审通过,账户冻结金额检查中;",
  24287. "type": "integer"
  24288. },
  24289. "auditid": {
  24290. "description": "审核人",
  24291. "type": "integer"
  24292. },
  24293. "audittime": {
  24294. "description": "审核时间",
  24295. "type": "string"
  24296. },
  24297. "bank_apply_ticket": {
  24298. "description": "银行申请流水",
  24299. "type": "string"
  24300. },
  24301. "bankaccountname": {
  24302. "description": "银行账户名",
  24303. "type": "string"
  24304. },
  24305. "bankaccountno": {
  24306. "description": "银行卡号",
  24307. "type": "string"
  24308. },
  24309. "bankid": {
  24310. "description": "银行编号",
  24311. "type": "string"
  24312. },
  24313. "bankticket": {
  24314. "description": "银行流水",
  24315. "type": "string"
  24316. },
  24317. "branchbankid": {
  24318. "description": "银行支行号",
  24319. "type": "string"
  24320. },
  24321. "branchbankname": {
  24322. "description": "银行支行名称",
  24323. "type": "string"
  24324. },
  24325. "capamountout": {
  24326. "description": "出金(劣后本金) - 外部子账户",
  24327. "type": "number"
  24328. },
  24329. "certificatephotourl": {
  24330. "description": "凭证地址",
  24331. "type": "string"
  24332. },
  24333. "charge": {
  24334. "description": "手续费",
  24335. "type": "number"
  24336. },
  24337. "checkerrorflag": {
  24338. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24339. "type": "integer"
  24340. },
  24341. "currency": {
  24342. "description": "币种",
  24343. "type": "string"
  24344. },
  24345. "cusbankid": {
  24346. "description": "托管银行编号",
  24347. "type": "string"
  24348. },
  24349. "exchticket": {
  24350. "description": "银行服务流水号",
  24351. "type": "string"
  24352. },
  24353. "executetype": {
  24354. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24355. "type": "integer"
  24356. },
  24357. "extendinfo": {
  24358. "description": "扩展信息",
  24359. "type": "string"
  24360. },
  24361. "extoperateid": {
  24362. "description": "交易服务流水号",
  24363. "type": "integer"
  24364. },
  24365. "infamount": {
  24366. "description": "劣后金额(自有)",
  24367. "type": "number"
  24368. },
  24369. "logincode": {
  24370. "description": "登录账号(账号)",
  24371. "type": "string"
  24372. },
  24373. "netaddr": {
  24374. "description": "调转网址",
  24375. "type": "string"
  24376. },
  24377. "priamount": {
  24378. "description": "优先金额(授信)",
  24379. "type": "number"
  24380. },
  24381. "reauditid": {
  24382. "description": "复审人",
  24383. "type": "integer"
  24384. },
  24385. "reauditremark": {
  24386. "description": "复审备注",
  24387. "type": "string"
  24388. },
  24389. "reaudittime": {
  24390. "description": "复审时间",
  24391. "type": "string"
  24392. },
  24393. "relatedorderid": {
  24394. "description": "三方关联ID",
  24395. "type": "string"
  24396. },
  24397. "remark": {
  24398. "description": "备注",
  24399. "type": "string"
  24400. },
  24401. "remark2": {
  24402. "description": "备注(失败原因)",
  24403. "type": "string"
  24404. },
  24405. "soucreamount": {
  24406. "description": "原始出入金金额",
  24407. "type": "number"
  24408. },
  24409. "soucrecurrencyid": {
  24410. "description": "原始出入金币种",
  24411. "type": "integer"
  24412. },
  24413. "tradedate": {
  24414. "description": "交易日(yyyyMMdd)",
  24415. "type": "string"
  24416. },
  24417. "updatetime": {
  24418. "description": "更新时间(申请时间)",
  24419. "type": "string"
  24420. },
  24421. "userid": {
  24422. "description": "用户id",
  24423. "type": "integer"
  24424. },
  24425. "userinfotype": {
  24426. "description": "账户类型 1-个人 2-企业",
  24427. "type": "integer"
  24428. }
  24429. }
  24430. },
  24431. "models.QhjAgreementChangeLog": {
  24432. "type": "object",
  24433. "properties": {
  24434. "agreementcontent": {
  24435. "description": "协议内容",
  24436. "type": "string"
  24437. },
  24438. "agreementfrequency": {
  24439. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24440. "type": "integer"
  24441. },
  24442. "agreementid": {
  24443. "description": "协议ID",
  24444. "type": "integer"
  24445. },
  24446. "agreementname": {
  24447. "description": "协议名称",
  24448. "type": "string"
  24449. },
  24450. "agreementno": {
  24451. "description": "协议编号",
  24452. "type": "string"
  24453. },
  24454. "agreementtype": {
  24455. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24456. "type": "integer"
  24457. },
  24458. "agreementversion": {
  24459. "description": "协议版本号",
  24460. "type": "integer"
  24461. },
  24462. "logid": {
  24463. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24464. "type": "integer"
  24465. },
  24466. "reviserid": {
  24467. "description": "修改人",
  24468. "type": "integer"
  24469. },
  24470. "revisersrc": {
  24471. "description": "修改来源 - 1:管理端 2:终端",
  24472. "type": "integer"
  24473. },
  24474. "updatetime": {
  24475. "description": "更新时间",
  24476. "type": "string"
  24477. }
  24478. }
  24479. },
  24480. "models.QhjAgreementConfig": {
  24481. "type": "object",
  24482. "properties": {
  24483. "agreementcontent": {
  24484. "description": "协议内容",
  24485. "type": "string"
  24486. },
  24487. "agreementfrequency": {
  24488. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24489. "type": "integer"
  24490. },
  24491. "agreementid": {
  24492. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24493. "type": "integer"
  24494. },
  24495. "agreementname": {
  24496. "description": "协议名称",
  24497. "type": "string"
  24498. },
  24499. "agreementno": {
  24500. "description": "协议编号",
  24501. "type": "string"
  24502. },
  24503. "agreementtype": {
  24504. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24505. "type": "integer"
  24506. },
  24507. "agreementversion": {
  24508. "description": "协议版本号(从1开始每次修改加1)",
  24509. "type": "integer"
  24510. },
  24511. "createtime": {
  24512. "description": "创建时间",
  24513. "type": "string"
  24514. },
  24515. "creatorid": {
  24516. "description": "创建人",
  24517. "type": "integer"
  24518. },
  24519. "creatorsrc": {
  24520. "description": "创建来源 - 1:管理端 2:终端",
  24521. "type": "integer"
  24522. },
  24523. "isvalid": {
  24524. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24525. "type": "integer"
  24526. },
  24527. "reviserid": {
  24528. "description": "修改人",
  24529. "type": "integer"
  24530. },
  24531. "revisersrc": {
  24532. "description": "修改来源 - 1:管理端 2:终端",
  24533. "type": "integer"
  24534. },
  24535. "updatetime": {
  24536. "description": "更新时间",
  24537. "type": "string"
  24538. }
  24539. }
  24540. },
  24541. "models.QhjAreaFinanceConfig": {
  24542. "type": "object",
  24543. "properties": {
  24544. "additionalratio": {
  24545. "description": "追加款比例",
  24546. "type": "number"
  24547. },
  24548. "advanceratio": {
  24549. "description": "预付款比例",
  24550. "type": "number"
  24551. },
  24552. "alarmratio": {
  24553. "description": "告警比例",
  24554. "type": "number"
  24555. },
  24556. "consumptiondirectreward": {
  24557. "description": "消费直推奖励值",
  24558. "type": "number"
  24559. },
  24560. "consumptionenabled": {
  24561. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24562. "type": "integer"
  24563. },
  24564. "consumptionindirectreward": {
  24565. "description": "消费间推奖励值",
  24566. "type": "number"
  24567. },
  24568. "consumptionmodel": {
  24569. "description": "消费奖励方式 - 1:比率 2:固定",
  24570. "type": "integer"
  24571. },
  24572. "customerservicenum": {
  24573. "description": "客服电话",
  24574. "type": "string"
  24575. },
  24576. "dayinterestrate": {
  24577. "description": "日利率",
  24578. "type": "number"
  24579. },
  24580. "disableconsumptiontips": {
  24581. "description": "关闭消费奖励提示",
  24582. "type": "string"
  24583. },
  24584. "modifierid": {
  24585. "description": "修改人ID",
  24586. "type": "integer"
  24587. },
  24588. "modifysrc": {
  24589. "description": "审核来源 - 1:管理端 2:终端",
  24590. "type": "integer"
  24591. },
  24592. "modifytime": {
  24593. "description": "修改时间",
  24594. "type": "string"
  24595. },
  24596. "promotionvalue": {
  24597. "description": "推广奖励值(固定)",
  24598. "type": "number"
  24599. },
  24600. "scoreconfigvalue1": {
  24601. "description": "提货积分配置1",
  24602. "type": "integer"
  24603. },
  24604. "scoreconfigvalue2": {
  24605. "description": "提货积分配置2",
  24606. "type": "integer"
  24607. },
  24608. "userid": {
  24609. "description": "机构用户ID其他做市关系,都设置为 1",
  24610. "type": "integer"
  24611. },
  24612. "username": {
  24613. "description": "用户名称",
  24614. "type": "string"
  24615. }
  24616. }
  24617. },
  24618. "models.QhjBankAccountSign": {
  24619. "type": "object",
  24620. "properties": {
  24621. "accountcode": {
  24622. "description": "资金账号",
  24623. "type": "string"
  24624. },
  24625. "accountname": {
  24626. "description": "资金账号对应的账号名(UserName)",
  24627. "type": "string"
  24628. },
  24629. "accountname2": {
  24630. "description": "资金账号对应的账号名(UserName) - 密文",
  24631. "type": "string"
  24632. },
  24633. "accounttype": {
  24634. "description": "账户类型(UserType)",
  24635. "type": "integer"
  24636. },
  24637. "applicationtime": {
  24638. "description": "最后一次更新的时间",
  24639. "type": "string"
  24640. },
  24641. "applyexchticket": {
  24642. "description": "申请流水",
  24643. "type": "string"
  24644. },
  24645. "auditid": {
  24646. "description": "审核人",
  24647. "type": "integer"
  24648. },
  24649. "audittime": {
  24650. "description": "审核时间",
  24651. "type": "string"
  24652. },
  24653. "bankaccountname": {
  24654. "description": "签约银行卡账号名",
  24655. "type": "string"
  24656. },
  24657. "bankaccountname2": {
  24658. "description": "签约银行卡账号名 - 密文",
  24659. "type": "string"
  24660. },
  24661. "bankaccountno": {
  24662. "description": "银行卡号",
  24663. "type": "string"
  24664. },
  24665. "bankaccountno2": {
  24666. "description": "银行卡号 - 密文",
  24667. "type": "string"
  24668. },
  24669. "bankaccounttype": {
  24670. "description": "银行账户类型 - 1-对私; 2-对公",
  24671. "type": "integer"
  24672. },
  24673. "bankcardtype": {
  24674. "description": "银行卡类型",
  24675. "type": "integer"
  24676. },
  24677. "bankchildaccount": {
  24678. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24679. "type": "string"
  24680. },
  24681. "bankcity": {
  24682. "description": "开户行城市",
  24683. "type": "string"
  24684. },
  24685. "bankid": {
  24686. "description": "签约银行ID",
  24687. "type": "string"
  24688. },
  24689. "bankname": {
  24690. "description": "签约银行名称",
  24691. "type": "string"
  24692. },
  24693. "bankprovince": {
  24694. "description": "开户行省份",
  24695. "type": "string"
  24696. },
  24697. "branchbankid": {
  24698. "description": "签约银行支行号",
  24699. "type": "string"
  24700. },
  24701. "branchbankname": {
  24702. "description": "签约银行支行名称",
  24703. "type": "string"
  24704. },
  24705. "cardno": {
  24706. "description": "证件号码",
  24707. "type": "string"
  24708. },
  24709. "cardno2": {
  24710. "description": "证件号码 - 密文",
  24711. "type": "string"
  24712. },
  24713. "cardtype": {
  24714. "description": "证件类型",
  24715. "type": "string"
  24716. },
  24717. "currency": {
  24718. "description": "币种",
  24719. "type": "string"
  24720. },
  24721. "cusbankid": {
  24722. "description": "托管银行编号",
  24723. "type": "string"
  24724. },
  24725. "direct": {
  24726. "description": "方向(可以判断那方先发起的签约)",
  24727. "type": "integer"
  24728. },
  24729. "exchticket": {
  24730. "description": "最后一次签约成功的流水号",
  24731. "type": "string"
  24732. },
  24733. "extendinfo": {
  24734. "description": "扩展信息(JSON字符串)",
  24735. "type": "string"
  24736. },
  24737. "mobilephone": {
  24738. "description": "手机号",
  24739. "type": "string"
  24740. },
  24741. "mobilephone2": {
  24742. "description": "手机号 - 密文",
  24743. "type": "string"
  24744. },
  24745. "netaddr": {
  24746. "description": "调转网址",
  24747. "type": "string"
  24748. },
  24749. "relateduserid": {
  24750. "description": "关联使用者userid",
  24751. "type": "integer"
  24752. },
  24753. "signstatus": {
  24754. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24755. "type": "integer"
  24756. },
  24757. "updatetime": {
  24758. "description": "更新时间(签解约更新时间)",
  24759. "type": "string"
  24760. }
  24761. }
  24762. },
  24763. "models.QhjBankInfo": {
  24764. "type": "object",
  24765. "properties": {
  24766. "bankid": {
  24767. "description": "银行ID",
  24768. "type": "string"
  24769. },
  24770. "bankname": {
  24771. "description": "银行名称",
  24772. "type": "string"
  24773. },
  24774. "clearbankno": {
  24775. "description": "清算系统银行编号",
  24776. "type": "string"
  24777. },
  24778. "orderindex": {
  24779. "description": "排序顺序",
  24780. "type": "integer"
  24781. },
  24782. "status": {
  24783. "description": "状态 - 0:正常 1:注销",
  24784. "type": "integer"
  24785. }
  24786. }
  24787. },
  24788. "models.QhjBrokerApply": {
  24789. "type": "object",
  24790. "properties": {
  24791. "applicantid": {
  24792. "description": "申请人",
  24793. "type": "integer"
  24794. },
  24795. "applysrc": {
  24796. "description": "申请来源 - 1:管理端 2:终端",
  24797. "type": "integer"
  24798. },
  24799. "applystatus": {
  24800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24801. "type": "integer"
  24802. },
  24803. "applytime": {
  24804. "description": "申请时间",
  24805. "type": "string"
  24806. },
  24807. "auditorid": {
  24808. "description": "审核人",
  24809. "type": "integer"
  24810. },
  24811. "auditremark": {
  24812. "description": "审核备注",
  24813. "type": "string"
  24814. },
  24815. "auditsrc": {
  24816. "description": "审核来源 - 1:管理端 2:终端",
  24817. "type": "integer"
  24818. },
  24819. "audittime": {
  24820. "description": "审核时间",
  24821. "type": "string"
  24822. },
  24823. "audittradedate": {
  24824. "description": "审核交易日(yyyyMMdd)",
  24825. "type": "string"
  24826. },
  24827. "brokerapplyid": {
  24828. "description": "申请ID(SEQ_BROKERAPPLY)",
  24829. "type": "integer"
  24830. },
  24831. "cardbackphotourl": {
  24832. "description": "证件背面图片地址",
  24833. "type": "string"
  24834. },
  24835. "cardfrontphotourl": {
  24836. "description": "证件正面图片地址",
  24837. "type": "string"
  24838. },
  24839. "cardnum": {
  24840. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  24841. "type": "string"
  24842. },
  24843. "customername": {
  24844. "description": "姓名",
  24845. "type": "string"
  24846. },
  24847. "logincode": {
  24848. "description": "登录代码",
  24849. "type": "string"
  24850. },
  24851. "mobile": {
  24852. "description": "手机号码",
  24853. "type": "string"
  24854. },
  24855. "parentuserid": {
  24856. "description": "所属机构id",
  24857. "type": "integer"
  24858. },
  24859. "parentusername": {
  24860. "description": "所属机构名称",
  24861. "type": "string"
  24862. },
  24863. "refereeuserid": {
  24864. "description": "推荐人id(经纪人)",
  24865. "type": "integer"
  24866. },
  24867. "refernum": {
  24868. "description": "推荐码",
  24869. "type": "string"
  24870. },
  24871. "remark": {
  24872. "description": "备注",
  24873. "type": "string"
  24874. },
  24875. "subarealevelpath": {
  24876. "description": "层级路径",
  24877. "type": "string"
  24878. },
  24879. "tradedate": {
  24880. "description": "交易日(yyyyMMdd)",
  24881. "type": "string"
  24882. },
  24883. "userid": {
  24884. "description": "申请人用户ID",
  24885. "type": "integer"
  24886. },
  24887. "userinfotype": {
  24888. "description": "用户类型 1-个人 2-企业",
  24889. "type": "integer"
  24890. },
  24891. "username": {
  24892. "description": "用户名称",
  24893. "type": "string"
  24894. }
  24895. }
  24896. },
  24897. "models.QhjBrokerApplyEx": {
  24898. "type": "object",
  24899. "properties": {
  24900. "applylist": {
  24901. "description": "经纪人申请记录(只返回最新一条)",
  24902. "type": "array",
  24903. "items": {
  24904. "$ref": "#/definitions/models.QhjBrokerApply"
  24905. }
  24906. },
  24907. "canrecommend": {
  24908. "description": "是否经纪人 0-不是 1-是",
  24909. "type": "integer"
  24910. },
  24911. "refernum": {
  24912. "description": "推荐码",
  24913. "type": "string"
  24914. },
  24915. "userid": {
  24916. "description": "用户id",
  24917. "type": "integer"
  24918. },
  24919. "userinfotype": {
  24920. "description": "用户类型 1-个人 2-企业",
  24921. "type": "integer"
  24922. }
  24923. }
  24924. },
  24925. "models.QhjBrokerRewardLog": {
  24926. "type": "object",
  24927. "properties": {
  24928. "accountid": {
  24929. "description": "资金账号ID",
  24930. "type": "integer"
  24931. },
  24932. "createtime": {
  24933. "description": "创建时间(时间)",
  24934. "type": "string"
  24935. },
  24936. "handlestatus": {
  24937. "description": "处理状态",
  24938. "type": "integer"
  24939. },
  24940. "logid": {
  24941. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24942. "type": "string"
  24943. },
  24944. "marketid": {
  24945. "description": "市场ID",
  24946. "type": "integer"
  24947. },
  24948. "mmaccountid": {
  24949. "description": "做市商资金账号ID",
  24950. "type": "string"
  24951. },
  24952. "mmuserid": {
  24953. "description": "做市商用户ID",
  24954. "type": "string"
  24955. },
  24956. "rewardamount": {
  24957. "description": "奖励金额",
  24958. "type": "number"
  24959. },
  24960. "rewardmodel": {
  24961. "description": "消费奖励方式 - 1:比率 2:固定",
  24962. "type": "integer"
  24963. },
  24964. "rewardtype": {
  24965. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  24966. "type": "integer"
  24967. },
  24968. "rewardvalue": {
  24969. "description": "配置奖励值",
  24970. "type": "number"
  24971. },
  24972. "srcamount": {
  24973. "description": "成交金额 [消费奖励] (金额)",
  24974. "type": "number"
  24975. },
  24976. "srcgoodsid": {
  24977. "description": "来源商品ID [消费奖励]",
  24978. "type": "string"
  24979. },
  24980. "srctime": {
  24981. "description": "来源时间 (成交时间) [消费奖励]",
  24982. "type": "string"
  24983. },
  24984. "srctradeid": {
  24985. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  24986. "type": "string"
  24987. },
  24988. "srcuserid": {
  24989. "description": "来源用户ID(推广账户)",
  24990. "type": "string"
  24991. },
  24992. "srcusername": {
  24993. "description": "推广账户名称",
  24994. "type": "string"
  24995. },
  24996. "tradedate": {
  24997. "description": "交易日(yyyyMMdd)",
  24998. "type": "string"
  24999. },
  25000. "userid": {
  25001. "description": "经纪人用户ID",
  25002. "type": "integer"
  25003. }
  25004. }
  25005. },
  25006. "models.QhjContract": {
  25007. "type": "object",
  25008. "properties": {
  25009. "contractconfirmtime": {
  25010. "description": "合同确认时间(时间)",
  25011. "type": "string"
  25012. },
  25013. "currisklevel": {
  25014. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25015. "type": "integer"
  25016. },
  25017. "decimalplace": {
  25018. "description": "商品报价小数位",
  25019. "type": "integer"
  25020. },
  25021. "enumdicname": {
  25022. "description": "单位名称",
  25023. "type": "string"
  25024. },
  25025. "goodscode": {
  25026. "description": "商品代码",
  25027. "type": "string"
  25028. },
  25029. "goodsid": {
  25030. "description": "商品ID [5:融资单]",
  25031. "type": "integer"
  25032. },
  25033. "goodsname": {
  25034. "description": "商品名称",
  25035. "type": "string"
  25036. },
  25037. "goodunitid": {
  25038. "description": "商品单位id",
  25039. "type": "integer"
  25040. },
  25041. "initmargin": {
  25042. "description": "初始保证金(首付款)",
  25043. "type": "number"
  25044. },
  25045. "lenderamount": {
  25046. "description": "贷款金额(总额|订单总额)",
  25047. "type": "number"
  25048. },
  25049. "marginratio": {
  25050. "description": "保证金比率(首付比例)",
  25051. "type": "number"
  25052. },
  25053. "payamount": {
  25054. "description": "已付(已付货款)",
  25055. "type": "number"
  25056. },
  25057. "reckonrecovermargin": {
  25058. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25059. "type": "number"
  25060. },
  25061. "recoveredmargin": {
  25062. "description": "已追缴保证金",
  25063. "type": "number"
  25064. },
  25065. "remainamount": {
  25066. "description": "合同剩余金额(融资额)",
  25067. "type": "number"
  25068. },
  25069. "scfcontractid": {
  25070. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25071. "type": "string"
  25072. },
  25073. "scfcontractstatus": {
  25074. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25075. "type": "integer"
  25076. },
  25077. "scfcontracttype": {
  25078. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25079. "type": "integer"
  25080. },
  25081. "totalinterest": {
  25082. "description": "已计总利息(利息)",
  25083. "type": "number"
  25084. },
  25085. "tradeprice": {
  25086. "description": "成交价格(成本价格)",
  25087. "type": "number"
  25088. },
  25089. "userid": {
  25090. "description": "用户ID",
  25091. "type": "integer"
  25092. },
  25093. "username": {
  25094. "description": "用户名称",
  25095. "type": "string"
  25096. },
  25097. "wrqty": {
  25098. "description": "仓单数量(数量)",
  25099. "type": "number"
  25100. }
  25101. }
  25102. },
  25103. "models.QhjContractLog": {
  25104. "type": "object",
  25105. "properties": {
  25106. "amount": {
  25107. "description": "支付金额",
  25108. "type": "number"
  25109. },
  25110. "amounttype": {
  25111. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25112. "type": "integer"
  25113. },
  25114. "logid": {
  25115. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25116. "type": "string"
  25117. },
  25118. "remainamount": {
  25119. "description": "剩余货款",
  25120. "type": "number"
  25121. },
  25122. "scfcontractid": {
  25123. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25124. "type": "integer"
  25125. },
  25126. "updatetime": {
  25127. "description": "更新时间",
  25128. "type": "string"
  25129. }
  25130. }
  25131. },
  25132. "models.QhjCusBankSignBankEx": {
  25133. "type": "object",
  25134. "properties": {
  25135. "banklst": {
  25136. "description": "银行列表",
  25137. "type": "array",
  25138. "items": {
  25139. "$ref": "#/definitions/models.QhjBankInfo"
  25140. }
  25141. },
  25142. "canallot": {
  25143. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25144. "type": "integer"
  25145. },
  25146. "canallotquery": {
  25147. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25148. "type": "integer"
  25149. },
  25150. "canbindcard": {
  25151. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25152. "type": "integer"
  25153. },
  25154. "caninamount": {
  25155. "description": "是否可入金 - 0:不可 1:可以",
  25156. "type": "integer"
  25157. },
  25158. "caninamount2": {
  25159. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25160. "type": "integer"
  25161. },
  25162. "canmodifybankcard": {
  25163. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25164. "type": "integer"
  25165. },
  25166. "canmodifyphone": {
  25167. "description": "是否可修改手机号 - 0:不可 1:可以",
  25168. "type": "integer"
  25169. },
  25170. "canmodifysigninfo": {
  25171. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25172. "type": "integer"
  25173. },
  25174. "canoutamount": {
  25175. "description": "是否可出金 - 0:不可 1:可以",
  25176. "type": "integer"
  25177. },
  25178. "canoutamount2": {
  25179. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25180. "type": "integer"
  25181. },
  25182. "canrelease": {
  25183. "description": "是否可解约 - 0:不可 1:可以",
  25184. "type": "integer"
  25185. },
  25186. "canrelease2": {
  25187. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25188. "type": "integer"
  25189. },
  25190. "cansign": {
  25191. "description": "是否可签约 - 0:不可 1:可以",
  25192. "type": "integer"
  25193. },
  25194. "cansign2": {
  25195. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25196. "type": "integer"
  25197. },
  25198. "currency": {
  25199. "description": "币种",
  25200. "type": "string"
  25201. },
  25202. "cusbankid": {
  25203. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25204. "type": "string"
  25205. },
  25206. "cusbankname": {
  25207. "description": "银行业务名称",
  25208. "type": "string"
  25209. },
  25210. "cusbankshortname": {
  25211. "description": "银行业务简称",
  25212. "type": "string"
  25213. },
  25214. "exchbankid": {
  25215. "description": "交易所开户银行ID",
  25216. "type": "string"
  25217. },
  25218. "exchpaybankaccname": {
  25219. "description": "交易所支出结算账户户名",
  25220. "type": "string"
  25221. },
  25222. "exchpaybankaccno": {
  25223. "description": "交易所支出结算账户",
  25224. "type": "string"
  25225. },
  25226. "isneedcheck": {
  25227. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25228. "type": "integer"
  25229. },
  25230. "isneedclear": {
  25231. "description": "是否需要清算 - 0:不需要 1:需要",
  25232. "type": "integer"
  25233. },
  25234. "lastcheckstatus": {
  25235. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25236. "type": "integer"
  25237. },
  25238. "lastchecktime": {
  25239. "description": "最后对账时间",
  25240. "type": "string"
  25241. },
  25242. "lastclearstatus": {
  25243. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25244. "type": "integer"
  25245. },
  25246. "lastcleartime": {
  25247. "description": "最后清算时间",
  25248. "type": "string"
  25249. },
  25250. "lastsignintime": {
  25251. "description": "最后签到时间",
  25252. "type": "string"
  25253. },
  25254. "lastsignouttime": {
  25255. "description": "最后签退时间",
  25256. "type": "string"
  25257. },
  25258. "riskinfo": {
  25259. "description": "签约风险提示书",
  25260. "type": "string"
  25261. },
  25262. "signstatus": {
  25263. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25264. "type": "integer"
  25265. },
  25266. "tradedate": {
  25267. "description": "交易日(yyyyMMdd)",
  25268. "type": "string"
  25269. },
  25270. "updatetime": {
  25271. "description": "当前签到/签退更新时间",
  25272. "type": "string"
  25273. }
  25274. }
  25275. },
  25276. "models.QhjCustomer": {
  25277. "type": "object",
  25278. "properties": {
  25279. "address": {
  25280. "description": "通讯地址",
  25281. "type": "string"
  25282. },
  25283. "attachment1": {
  25284. "description": "附件1",
  25285. "type": "string"
  25286. },
  25287. "audittime": {
  25288. "description": "审核时间",
  25289. "type": "string"
  25290. },
  25291. "cardbackphotourl": {
  25292. "description": "证件反面图片地址",
  25293. "type": "string"
  25294. },
  25295. "cardfrontphotourl": {
  25296. "description": "证件正面图片地址",
  25297. "type": "string"
  25298. },
  25299. "cardnum": {
  25300. "description": "证件号码",
  25301. "type": "string"
  25302. },
  25303. "cardtype": {
  25304. "description": "证件类型",
  25305. "type": "integer"
  25306. },
  25307. "cardtypename": {
  25308. "description": "证件类型名称",
  25309. "type": "string"
  25310. },
  25311. "cityid": {
  25312. "description": "市",
  25313. "type": "integer"
  25314. },
  25315. "cityname": {
  25316. "description": "城市名称",
  25317. "type": "string"
  25318. },
  25319. "contactname": {
  25320. "description": "联系人",
  25321. "type": "string"
  25322. },
  25323. "countryid": {
  25324. "description": "国家",
  25325. "type": "integer"
  25326. },
  25327. "countryname": {
  25328. "description": "国家名称",
  25329. "type": "string"
  25330. },
  25331. "createtime": {
  25332. "description": "创建时间",
  25333. "type": "string"
  25334. },
  25335. "customername": {
  25336. "description": "客户名称",
  25337. "type": "string"
  25338. },
  25339. "districtid": {
  25340. "description": "区域",
  25341. "type": "integer"
  25342. },
  25343. "districtname": {
  25344. "description": "地区名称",
  25345. "type": "string"
  25346. },
  25347. "email": {
  25348. "description": "邮件",
  25349. "type": "string"
  25350. },
  25351. "legalpersonname": {
  25352. "description": "法人姓名(企业)",
  25353. "type": "string"
  25354. },
  25355. "logincode": {
  25356. "description": "登录账号(代码)",
  25357. "type": "string"
  25358. },
  25359. "memberuserid": {
  25360. "description": "所属机构ID(所属会员)",
  25361. "type": "integer"
  25362. },
  25363. "memberusername": {
  25364. "description": "所属会员名称",
  25365. "type": "string"
  25366. },
  25367. "mobile": {
  25368. "description": "手机号码",
  25369. "type": "string"
  25370. },
  25371. "modifytime": {
  25372. "description": "修改时间",
  25373. "type": "string"
  25374. },
  25375. "nickname": {
  25376. "description": "昵称",
  25377. "type": "string"
  25378. },
  25379. "parentuserid": {
  25380. "description": "上级机构(所属机构)",
  25381. "type": "integer"
  25382. },
  25383. "parentusername": {
  25384. "description": "所属机构名称",
  25385. "type": "string"
  25386. },
  25387. "provinceid": {
  25388. "description": "省",
  25389. "type": "integer"
  25390. },
  25391. "provincename": {
  25392. "description": "省名称",
  25393. "type": "string"
  25394. },
  25395. "proxystatementurl": {
  25396. "description": "授权委托书",
  25397. "type": "string"
  25398. },
  25399. "remark": {
  25400. "description": "备注",
  25401. "type": "string"
  25402. },
  25403. "status": {
  25404. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25405. "type": "integer"
  25406. },
  25407. "statusdesc": {
  25408. "description": "账户状态中文描述",
  25409. "type": "string"
  25410. },
  25411. "taxpayernum": {
  25412. "description": "纳税人识别号",
  25413. "type": "string"
  25414. },
  25415. "telphone": {
  25416. "description": "联系电话",
  25417. "type": "string"
  25418. },
  25419. "userid": {
  25420. "description": "用户ID",
  25421. "type": "integer"
  25422. },
  25423. "userinfotype": {
  25424. "description": "客户类型 1-个人 2-企业",
  25425. "type": "integer"
  25426. },
  25427. "username": {
  25428. "description": "用户名称",
  25429. "type": "string"
  25430. }
  25431. }
  25432. },
  25433. "models.QhjCustomerSignLog": {
  25434. "type": "object",
  25435. "properties": {
  25436. "agreementcontent": {
  25437. "description": "协议内容",
  25438. "type": "string"
  25439. },
  25440. "agreementid": {
  25441. "description": "协议ID",
  25442. "type": "integer"
  25443. },
  25444. "agreementname": {
  25445. "description": "协议名称",
  25446. "type": "string"
  25447. },
  25448. "agreementno": {
  25449. "description": "协议编号",
  25450. "type": "string"
  25451. },
  25452. "agreementtype": {
  25453. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25454. "type": "integer"
  25455. },
  25456. "agreementversion": {
  25457. "description": "协议版本号",
  25458. "type": "integer"
  25459. },
  25460. "createtime": {
  25461. "description": "创建时间",
  25462. "type": "string"
  25463. },
  25464. "goodscode": {
  25465. "description": "商品代码",
  25466. "type": "string"
  25467. },
  25468. "goodsid": {
  25469. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25470. "type": "integer"
  25471. },
  25472. "goodsname": {
  25473. "description": "商品名称",
  25474. "type": "string"
  25475. },
  25476. "logid": {
  25477. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25478. "type": "integer"
  25479. },
  25480. "nodetype": {
  25481. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25482. "type": "integer"
  25483. },
  25484. "signadressurl": {
  25485. "description": "签约文件地址",
  25486. "type": "string"
  25487. },
  25488. "signtimestamp": {
  25489. "description": "签约状态时间戳",
  25490. "type": "string"
  25491. },
  25492. "userid": {
  25493. "description": "客户ID",
  25494. "type": "integer"
  25495. },
  25496. "username": {
  25497. "description": "客户名称",
  25498. "type": "string"
  25499. }
  25500. }
  25501. },
  25502. "models.QhjCustomerSignStatus": {
  25503. "type": "object",
  25504. "properties": {
  25505. "createtime": {
  25506. "description": "创建时间",
  25507. "type": "string"
  25508. },
  25509. "goodscode": {
  25510. "description": "商品代码",
  25511. "type": "string"
  25512. },
  25513. "goodsid": {
  25514. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25515. "type": "integer"
  25516. },
  25517. "goodsname": {
  25518. "description": "商品名称",
  25519. "type": "string"
  25520. },
  25521. "nodetype": {
  25522. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25523. "type": "integer"
  25524. },
  25525. "signtimestamp": {
  25526. "description": "签约状态时间戳",
  25527. "type": "string"
  25528. },
  25529. "tradedate": {
  25530. "description": "创建交易日(yyyyMMdd)",
  25531. "type": "string"
  25532. },
  25533. "updatetime": {
  25534. "description": "更新时间",
  25535. "type": "string"
  25536. },
  25537. "userid": {
  25538. "description": "客户ID",
  25539. "type": "integer"
  25540. },
  25541. "username": {
  25542. "description": "客户名称",
  25543. "type": "string"
  25544. }
  25545. }
  25546. },
  25547. "models.QhjMgrAccountOutInApply": {
  25548. "type": "object",
  25549. "properties": {
  25550. "accountcode": {
  25551. "description": "资金账号",
  25552. "type": "string"
  25553. },
  25554. "accountname": {
  25555. "description": "用户名称(名称)",
  25556. "type": "string"
  25557. },
  25558. "accountpwd": {
  25559. "description": "资金密码",
  25560. "type": "string"
  25561. },
  25562. "accountticket": {
  25563. "description": "最新账户服务流水号",
  25564. "type": "string"
  25565. },
  25566. "amount": {
  25567. "description": "金额",
  25568. "type": "number"
  25569. },
  25570. "applyremark": {
  25571. "description": "申请备注",
  25572. "type": "string"
  25573. },
  25574. "applystatus": {
  25575. "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: 复审通过,账户冻结金额检查中;",
  25576. "type": "integer"
  25577. },
  25578. "auditid": {
  25579. "description": "审核人",
  25580. "type": "integer"
  25581. },
  25582. "audittime": {
  25583. "description": "审核时间",
  25584. "type": "string"
  25585. },
  25586. "bank_apply_ticket": {
  25587. "description": "银行申请流水",
  25588. "type": "string"
  25589. },
  25590. "bankaccountname": {
  25591. "description": "银行账户名",
  25592. "type": "string"
  25593. },
  25594. "bankaccountno": {
  25595. "description": "银行卡号",
  25596. "type": "string"
  25597. },
  25598. "bankid": {
  25599. "description": "银行编号",
  25600. "type": "string"
  25601. },
  25602. "bankname": {
  25603. "description": "银行名称",
  25604. "type": "string"
  25605. },
  25606. "bankticket": {
  25607. "description": "银行流水",
  25608. "type": "string"
  25609. },
  25610. "branchbankid": {
  25611. "description": "银行支行号",
  25612. "type": "string"
  25613. },
  25614. "branchbankname": {
  25615. "description": "银行支行名称",
  25616. "type": "string"
  25617. },
  25618. "capamountout": {
  25619. "description": "出金(劣后本金) - 外部子账户",
  25620. "type": "number"
  25621. },
  25622. "certificatephotourl": {
  25623. "description": "凭证地址",
  25624. "type": "string"
  25625. },
  25626. "charge": {
  25627. "description": "手续费",
  25628. "type": "number"
  25629. },
  25630. "checkerrorflag": {
  25631. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25632. "type": "integer"
  25633. },
  25634. "currency": {
  25635. "description": "币种",
  25636. "type": "string"
  25637. },
  25638. "cusbankid": {
  25639. "description": "托管银行编号",
  25640. "type": "string"
  25641. },
  25642. "exchticket": {
  25643. "description": "银行服务流水号",
  25644. "type": "string"
  25645. },
  25646. "executetype": {
  25647. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25648. "type": "integer"
  25649. },
  25650. "extendinfo": {
  25651. "description": "扩展信息",
  25652. "type": "string"
  25653. },
  25654. "extoperateid": {
  25655. "description": "交易服务流水号",
  25656. "type": "integer"
  25657. },
  25658. "infamount": {
  25659. "description": "劣后金额(自有)",
  25660. "type": "number"
  25661. },
  25662. "logincode": {
  25663. "description": "登录账号(账号)",
  25664. "type": "string"
  25665. },
  25666. "netaddr": {
  25667. "description": "调转网址",
  25668. "type": "string"
  25669. },
  25670. "priamount": {
  25671. "description": "优先金额(授信)",
  25672. "type": "number"
  25673. },
  25674. "reauditid": {
  25675. "description": "复审人",
  25676. "type": "integer"
  25677. },
  25678. "reauditremark": {
  25679. "description": "复审备注",
  25680. "type": "string"
  25681. },
  25682. "reaudittime": {
  25683. "description": "复审时间",
  25684. "type": "string"
  25685. },
  25686. "relatedorderid": {
  25687. "description": "三方关联ID",
  25688. "type": "string"
  25689. },
  25690. "remark": {
  25691. "description": "备注",
  25692. "type": "string"
  25693. },
  25694. "remark2": {
  25695. "description": "备注(失败原因)",
  25696. "type": "string"
  25697. },
  25698. "soucreamount": {
  25699. "description": "原始出入金金额",
  25700. "type": "number"
  25701. },
  25702. "soucrecurrencyid": {
  25703. "description": "原始出入金币种",
  25704. "type": "integer"
  25705. },
  25706. "tradedate": {
  25707. "description": "交易日(yyyyMMdd)",
  25708. "type": "string"
  25709. },
  25710. "updatetime": {
  25711. "description": "更新时间(申请时间)",
  25712. "type": "string"
  25713. },
  25714. "userid": {
  25715. "description": "用户id",
  25716. "type": "integer"
  25717. },
  25718. "userinfotype": {
  25719. "description": "账户类型 1-个人 2-企业",
  25720. "type": "integer"
  25721. }
  25722. }
  25723. },
  25724. "models.QhjMgrBrokerApply": {
  25725. "type": "object",
  25726. "properties": {
  25727. "applicantid": {
  25728. "description": "申请人",
  25729. "type": "integer"
  25730. },
  25731. "applysrc": {
  25732. "description": "申请来源 - 1:管理端 2:终端",
  25733. "type": "integer"
  25734. },
  25735. "applystatus": {
  25736. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25737. "type": "integer"
  25738. },
  25739. "applytime": {
  25740. "description": "申请时间",
  25741. "type": "string"
  25742. },
  25743. "auditorid": {
  25744. "description": "审核人",
  25745. "type": "integer"
  25746. },
  25747. "auditremark": {
  25748. "description": "审核备注",
  25749. "type": "string"
  25750. },
  25751. "auditsrc": {
  25752. "description": "审核来源 - 1:管理端 2:终端",
  25753. "type": "integer"
  25754. },
  25755. "audittime": {
  25756. "description": "审核时间",
  25757. "type": "string"
  25758. },
  25759. "audittradedate": {
  25760. "description": "审核交易日(yyyyMMdd)",
  25761. "type": "string"
  25762. },
  25763. "brokerapplyid": {
  25764. "description": "申请ID(SEQ_BROKERAPPLY)",
  25765. "type": "integer"
  25766. },
  25767. "cardbackphotourl": {
  25768. "description": "证件背面图片地址",
  25769. "type": "string"
  25770. },
  25771. "cardfrontphotourl": {
  25772. "description": "证件正面图片地址",
  25773. "type": "string"
  25774. },
  25775. "cardnum": {
  25776. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25777. "type": "string"
  25778. },
  25779. "customername": {
  25780. "description": "姓名",
  25781. "type": "string"
  25782. },
  25783. "filterstatus": {
  25784. "description": "筛选条件",
  25785. "type": "string"
  25786. },
  25787. "logincode": {
  25788. "description": "登录代码",
  25789. "type": "string"
  25790. },
  25791. "mobile": {
  25792. "description": "手机号码",
  25793. "type": "string"
  25794. },
  25795. "parentuserid": {
  25796. "description": "所属机构id",
  25797. "type": "integer"
  25798. },
  25799. "parentusername": {
  25800. "description": "所属机构名称",
  25801. "type": "string"
  25802. },
  25803. "refereeuserid": {
  25804. "description": "推荐人id(经纪人)",
  25805. "type": "integer"
  25806. },
  25807. "refernum": {
  25808. "description": "推荐码",
  25809. "type": "string"
  25810. },
  25811. "remark": {
  25812. "description": "备注",
  25813. "type": "string"
  25814. },
  25815. "subarealevelpath": {
  25816. "description": "层级路径",
  25817. "type": "string"
  25818. },
  25819. "tradedate": {
  25820. "description": "交易日(yyyyMMdd)",
  25821. "type": "string"
  25822. },
  25823. "userid": {
  25824. "description": "申请人用户ID",
  25825. "type": "integer"
  25826. },
  25827. "userinfotype": {
  25828. "description": "用户类型 1-个人 2-企业",
  25829. "type": "integer"
  25830. },
  25831. "username": {
  25832. "description": "用户名称",
  25833. "type": "string"
  25834. }
  25835. }
  25836. },
  25837. "models.QhjMgrBrokerRewardReport": {
  25838. "type": "object",
  25839. "properties": {
  25840. "createtime": {
  25841. "description": "创建时间(注册时间)",
  25842. "type": "string"
  25843. },
  25844. "cycletime": {
  25845. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  25846. "type": "string"
  25847. },
  25848. "cycletype": {
  25849. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25850. "type": "integer"
  25851. },
  25852. "directtotalnum": {
  25853. "description": "直推总人数【期末】",
  25854. "type": "integer"
  25855. },
  25856. "indirecttotalnum": {
  25857. "description": "间推总人数【期末】",
  25858. "type": "integer"
  25859. },
  25860. "mobile": {
  25861. "description": "电话号码",
  25862. "type": "string"
  25863. },
  25864. "refereeuserid": {
  25865. "description": "推荐人id(经纪人id)",
  25866. "type": "integer"
  25867. },
  25868. "refereeusername": {
  25869. "description": "推荐人名称(经纪人) 上级经纪人名称",
  25870. "type": "string"
  25871. },
  25872. "refernum": {
  25873. "description": "推荐码",
  25874. "type": "string"
  25875. },
  25876. "subarealevelpath": {
  25877. "description": "用户层级路径",
  25878. "type": "string"
  25879. },
  25880. "todayrewardamount": {
  25881. "description": "奖励总金额【汇总】",
  25882. "type": "number"
  25883. },
  25884. "updatetime": {
  25885. "description": "更新时间",
  25886. "type": "string"
  25887. },
  25888. "userid": {
  25889. "description": "经纪人用户ID",
  25890. "type": "integer"
  25891. },
  25892. "userinfotype": {
  25893. "description": "用户类型 1-个人 2-企业",
  25894. "type": "integer"
  25895. },
  25896. "username": {
  25897. "description": "用户名称",
  25898. "type": "string"
  25899. }
  25900. }
  25901. },
  25902. "models.QhjMgrContract": {
  25903. "type": "object",
  25904. "properties": {
  25905. "contractconfirmtime": {
  25906. "description": "合同确认时间(时间)",
  25907. "type": "string"
  25908. },
  25909. "currisklevel": {
  25910. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25911. "type": "integer"
  25912. },
  25913. "decimalplace": {
  25914. "description": "商品报价小数位",
  25915. "type": "integer"
  25916. },
  25917. "enumdicname": {
  25918. "description": "单位名称",
  25919. "type": "string"
  25920. },
  25921. "goodscode": {
  25922. "description": "商品代码",
  25923. "type": "string"
  25924. },
  25925. "goodsid": {
  25926. "description": "商品ID [5:融资单]",
  25927. "type": "integer"
  25928. },
  25929. "goodsname": {
  25930. "description": "商品名称",
  25931. "type": "string"
  25932. },
  25933. "goodunitid": {
  25934. "description": "商品单位id",
  25935. "type": "integer"
  25936. },
  25937. "initmargin": {
  25938. "description": "初始保证金(首付款)",
  25939. "type": "number"
  25940. },
  25941. "lenderamount": {
  25942. "description": "贷款金额(总额|订单总额)",
  25943. "type": "number"
  25944. },
  25945. "logincode": {
  25946. "description": "账号(登录代码)",
  25947. "type": "string"
  25948. },
  25949. "marginratio": {
  25950. "description": "保证金比率(首付比例)",
  25951. "type": "number"
  25952. },
  25953. "mobile": {
  25954. "description": "电话号码(用户资料里的电话)",
  25955. "type": "string"
  25956. },
  25957. "payamount": {
  25958. "description": "已付(已付货款)",
  25959. "type": "number"
  25960. },
  25961. "reckonrecovermargin": {
  25962. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25963. "type": "number"
  25964. },
  25965. "recoveredmargin": {
  25966. "description": "已追缴保证金",
  25967. "type": "number"
  25968. },
  25969. "remainamount": {
  25970. "description": "合同剩余金额(融资额)",
  25971. "type": "number"
  25972. },
  25973. "scfcontractid": {
  25974. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25975. "type": "string"
  25976. },
  25977. "scfcontractstatus": {
  25978. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25979. "type": "integer"
  25980. },
  25981. "scfcontracttype": {
  25982. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25983. "type": "integer"
  25984. },
  25985. "totalinterest": {
  25986. "description": "已计总利息(利息)",
  25987. "type": "number"
  25988. },
  25989. "tradedate": {
  25990. "description": "交易日",
  25991. "type": "string"
  25992. },
  25993. "tradeprice": {
  25994. "description": "成交价格(成本价格)",
  25995. "type": "number"
  25996. },
  25997. "userid": {
  25998. "description": "用户ID",
  25999. "type": "integer"
  26000. },
  26001. "userinfotype": {
  26002. "description": "用户类型 1-个人 2-企业",
  26003. "type": "integer"
  26004. },
  26005. "username": {
  26006. "description": "用户名称",
  26007. "type": "string"
  26008. },
  26009. "wrqty": {
  26010. "description": "仓单数量(数量)",
  26011. "type": "number"
  26012. }
  26013. }
  26014. },
  26015. "models.QhjMgrCustomer": {
  26016. "type": "object",
  26017. "properties": {
  26018. "address": {
  26019. "description": "通讯地址",
  26020. "type": "string"
  26021. },
  26022. "attachment1": {
  26023. "description": "附件1",
  26024. "type": "string"
  26025. },
  26026. "audittime": {
  26027. "description": "审核时间",
  26028. "type": "string"
  26029. },
  26030. "cardbackphotourl": {
  26031. "description": "证件反面图片地址",
  26032. "type": "string"
  26033. },
  26034. "cardfrontphotourl": {
  26035. "description": "证件正面图片地址",
  26036. "type": "string"
  26037. },
  26038. "cardnum": {
  26039. "description": "证件号码",
  26040. "type": "string"
  26041. },
  26042. "cardtype": {
  26043. "description": "证件类型",
  26044. "type": "integer"
  26045. },
  26046. "cardtypename": {
  26047. "description": "证件类型名称",
  26048. "type": "string"
  26049. },
  26050. "cityid": {
  26051. "description": "市",
  26052. "type": "integer"
  26053. },
  26054. "cityname": {
  26055. "description": "城市名称",
  26056. "type": "string"
  26057. },
  26058. "contactname": {
  26059. "description": "联系人",
  26060. "type": "string"
  26061. },
  26062. "countryid": {
  26063. "description": "国家",
  26064. "type": "integer"
  26065. },
  26066. "countryname": {
  26067. "description": "国家名称",
  26068. "type": "string"
  26069. },
  26070. "createtime": {
  26071. "description": "创建时间",
  26072. "type": "string"
  26073. },
  26074. "customername": {
  26075. "description": "客户名称",
  26076. "type": "string"
  26077. },
  26078. "districtid": {
  26079. "description": "区域",
  26080. "type": "integer"
  26081. },
  26082. "districtname": {
  26083. "description": "地区名称",
  26084. "type": "string"
  26085. },
  26086. "email": {
  26087. "description": "邮件",
  26088. "type": "string"
  26089. },
  26090. "legalpersonname": {
  26091. "description": "法人姓名(企业)",
  26092. "type": "string"
  26093. },
  26094. "logincode": {
  26095. "description": "登录账号(代码)",
  26096. "type": "string"
  26097. },
  26098. "memberuserid": {
  26099. "description": "所属机构ID(所属会员)",
  26100. "type": "integer"
  26101. },
  26102. "memberusername": {
  26103. "description": "所属会员名称",
  26104. "type": "string"
  26105. },
  26106. "mobile": {
  26107. "description": "手机号码",
  26108. "type": "string"
  26109. },
  26110. "modifytime": {
  26111. "description": "修改时间",
  26112. "type": "string"
  26113. },
  26114. "nickname": {
  26115. "description": "昵称",
  26116. "type": "string"
  26117. },
  26118. "parentuserid": {
  26119. "description": "上级机构(所属机构)",
  26120. "type": "integer"
  26121. },
  26122. "parentusername": {
  26123. "description": "所属机构名称",
  26124. "type": "string"
  26125. },
  26126. "provinceid": {
  26127. "description": "省",
  26128. "type": "integer"
  26129. },
  26130. "provincename": {
  26131. "description": "省名称",
  26132. "type": "string"
  26133. },
  26134. "proxystatementurl": {
  26135. "description": "授权委托书",
  26136. "type": "string"
  26137. },
  26138. "querytype": {
  26139. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26140. "type": "integer"
  26141. },
  26142. "remark": {
  26143. "description": "备注",
  26144. "type": "string"
  26145. },
  26146. "status": {
  26147. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26148. "type": "integer"
  26149. },
  26150. "statusdesc": {
  26151. "description": "账户状态中文描述",
  26152. "type": "string"
  26153. },
  26154. "taxpayernum": {
  26155. "description": "纳税人识别号",
  26156. "type": "string"
  26157. },
  26158. "telphone": {
  26159. "description": "联系电话",
  26160. "type": "string"
  26161. },
  26162. "userid": {
  26163. "description": "用户ID",
  26164. "type": "integer"
  26165. },
  26166. "userinfotype": {
  26167. "description": "客户类型 1-个人 2-企业",
  26168. "type": "integer"
  26169. },
  26170. "username": {
  26171. "description": "用户名称",
  26172. "type": "string"
  26173. }
  26174. }
  26175. },
  26176. "models.QhjMgrPickGoods": {
  26177. "type": "object",
  26178. "properties": {
  26179. "enumdicname": {
  26180. "description": "单位名称(提货商品)",
  26181. "type": "string"
  26182. },
  26183. "goodsid": {
  26184. "description": "商品id",
  26185. "type": "integer"
  26186. },
  26187. "imageaddress": {
  26188. "description": "图片",
  26189. "type": "string"
  26190. },
  26191. "modifierid": {
  26192. "description": "修改人",
  26193. "type": "integer"
  26194. },
  26195. "modifiername": {
  26196. "description": "修改人名称",
  26197. "type": "string"
  26198. },
  26199. "modifysrc": {
  26200. "description": "修改来源 - 1:管理端 2:终端",
  26201. "type": "integer"
  26202. },
  26203. "pickupgoodsagreeunit": {
  26204. "description": "合约乘数",
  26205. "type": "number"
  26206. },
  26207. "pickupgoodsdesc": {
  26208. "description": "描述",
  26209. "type": "string"
  26210. },
  26211. "pickupgoodsid": {
  26212. "description": "提货商品ID",
  26213. "type": "string"
  26214. },
  26215. "pickupgoodsname": {
  26216. "description": "提货商品名称",
  26217. "type": "string"
  26218. },
  26219. "pickupgoodsstatus": {
  26220. "description": "状态 - 1:正常 2:停用 3:注销",
  26221. "type": "integer"
  26222. },
  26223. "pickupgoodsunitid": {
  26224. "description": "单位ID",
  26225. "type": "integer"
  26226. },
  26227. "pickupratio": {
  26228. "description": "提货系数",
  26229. "type": "number"
  26230. },
  26231. "preparedays": {
  26232. "description": "备货期(天)",
  26233. "type": "integer"
  26234. },
  26235. "remark": {
  26236. "description": "备注",
  26237. "type": "string"
  26238. },
  26239. "updatetime": {
  26240. "description": "更新时间",
  26241. "type": "string"
  26242. }
  26243. }
  26244. },
  26245. "models.QhjMgrPositionRsp": {
  26246. "type": "object",
  26247. "properties": {
  26248. "accountid": {
  26249. "description": "账号Id",
  26250. "type": "integer"
  26251. },
  26252. "accountname": {
  26253. "description": "用户名称",
  26254. "type": "string"
  26255. },
  26256. "agreeunit": {
  26257. "description": "合约乘数",
  26258. "type": "number"
  26259. },
  26260. "averageprice": {
  26261. "description": "均价",
  26262. "type": "number"
  26263. },
  26264. "avialqty": {
  26265. "description": "可用数量",
  26266. "type": "number"
  26267. },
  26268. "decimalplace": {
  26269. "description": "报价小数位",
  26270. "type": "integer"
  26271. },
  26272. "enumdicname": {
  26273. "description": "单位名称(商品)",
  26274. "type": "string"
  26275. },
  26276. "frozenqty": {
  26277. "description": "冻结数量",
  26278. "type": "number"
  26279. },
  26280. "goodscode": {
  26281. "description": "商品代码(内部)",
  26282. "type": "string"
  26283. },
  26284. "goodsid": {
  26285. "description": "商品Id",
  26286. "type": "integer"
  26287. },
  26288. "goodsname": {
  26289. "description": "商品名称",
  26290. "type": "string"
  26291. },
  26292. "goodunitid": {
  26293. "description": "报价单位ID",
  26294. "type": "integer"
  26295. },
  26296. "holderamount": {
  26297. "description": "金额",
  26298. "type": "number"
  26299. },
  26300. "holderqty": {
  26301. "description": "持有数量",
  26302. "type": "number"
  26303. },
  26304. "holdertype": {
  26305. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26306. "type": "integer"
  26307. },
  26308. "logincode": {
  26309. "description": "登录代码(账户)",
  26310. "type": "string"
  26311. },
  26312. "marketid": {
  26313. "description": "市场id",
  26314. "type": "integer"
  26315. },
  26316. "qtydecimalplace": {
  26317. "description": "成交量小数位",
  26318. "type": "integer"
  26319. },
  26320. "trademode": {
  26321. "description": "交易模式",
  26322. "type": "integer"
  26323. },
  26324. "userid": {
  26325. "description": "用户id",
  26326. "type": "integer"
  26327. },
  26328. "userinfotype": {
  26329. "description": "账户类型 1-个人 2-企业",
  26330. "type": "integer"
  26331. }
  26332. }
  26333. },
  26334. "models.QhjMgrSubArea": {
  26335. "type": "object",
  26336. "properties": {
  26337. "accountname": {
  26338. "description": "账户名称(机构名称)",
  26339. "type": "string"
  26340. },
  26341. "memberuserid": {
  26342. "description": "所属会员ID",
  26343. "type": "integer"
  26344. },
  26345. "parenttopuser": {
  26346. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26347. "type": "string"
  26348. },
  26349. "parentuserid": {
  26350. "description": "所属机构ID",
  26351. "type": "integer"
  26352. },
  26353. "rootuserid": {
  26354. "description": "根用户ID",
  26355. "type": "string"
  26356. },
  26357. "subaccountlevel": {
  26358. "description": "子账户层数",
  26359. "type": "integer"
  26360. },
  26361. "subarealevelpath": {
  26362. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26363. "type": "string"
  26364. },
  26365. "userid": {
  26366. "description": "用户ID",
  26367. "type": "integer"
  26368. },
  26369. "usertype": {
  26370. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26371. "type": "integer"
  26372. }
  26373. }
  26374. },
  26375. "models.QhjMgrTradeDetailRsp": {
  26376. "type": "object",
  26377. "properties": {
  26378. "accountid": {
  26379. "description": "资金账号",
  26380. "type": "integer"
  26381. },
  26382. "accountname": {
  26383. "description": "用户名称",
  26384. "type": "string"
  26385. },
  26386. "agreeunit": {
  26387. "description": "合约乘数",
  26388. "type": "number"
  26389. },
  26390. "buyorsell": {
  26391. "description": "成交类型(方向) 0:买 1:卖",
  26392. "type": "integer"
  26393. },
  26394. "decimalplace": {
  26395. "description": "报价小数位",
  26396. "type": "integer"
  26397. },
  26398. "enumdicname": {
  26399. "description": "单位名称(商品)",
  26400. "type": "string"
  26401. },
  26402. "goodscode": {
  26403. "description": "商品代码(内部)",
  26404. "type": "string"
  26405. },
  26406. "goodsid": {
  26407. "description": "商品id",
  26408. "type": "integer"
  26409. },
  26410. "goodsname": {
  26411. "description": "商品名称",
  26412. "type": "string"
  26413. },
  26414. "goodunitid": {
  26415. "description": "报价单位ID",
  26416. "type": "integer"
  26417. },
  26418. "logincode": {
  26419. "description": "登录代码(账户)",
  26420. "type": "string"
  26421. },
  26422. "marketid": {
  26423. "description": "市场id",
  26424. "type": "integer"
  26425. },
  26426. "orderid": {
  26427. "description": "关联委托单号",
  26428. "type": "string"
  26429. },
  26430. "qtydecimalplace": {
  26431. "description": "成交量小数位",
  26432. "type": "integer"
  26433. },
  26434. "tradeamount": {
  26435. "description": "金额",
  26436. "type": "number"
  26437. },
  26438. "tradedate": {
  26439. "description": "交易日",
  26440. "type": "string"
  26441. },
  26442. "tradeid": {
  26443. "description": "成交单号",
  26444. "type": "string"
  26445. },
  26446. "trademode": {
  26447. "description": "交易模式",
  26448. "type": "integer"
  26449. },
  26450. "tradeprice": {
  26451. "description": "价格",
  26452. "type": "number"
  26453. },
  26454. "tradeqty": {
  26455. "description": "数量",
  26456. "type": "number"
  26457. },
  26458. "tradetime": {
  26459. "description": "成交时间",
  26460. "type": "string"
  26461. },
  26462. "userid": {
  26463. "description": "用户id",
  26464. "type": "integer"
  26465. },
  26466. "userinfotype": {
  26467. "description": "账户类型 1-个人 2-企业",
  26468. "type": "integer"
  26469. }
  26470. }
  26471. },
  26472. "models.QhjMgrTradeOrderDetailRsp": {
  26473. "type": "object",
  26474. "properties": {
  26475. "accountid": {
  26476. "description": "资金账号",
  26477. "type": "integer"
  26478. },
  26479. "accountname": {
  26480. "description": "用户名称",
  26481. "type": "string"
  26482. },
  26483. "agreeunit": {
  26484. "description": "合约乘数",
  26485. "type": "number"
  26486. },
  26487. "amount": {
  26488. "description": "金额",
  26489. "type": "number"
  26490. },
  26491. "decimalplace": {
  26492. "description": "报价小数位",
  26493. "type": "integer"
  26494. },
  26495. "enumdicname": {
  26496. "description": "单位名称(商品)",
  26497. "type": "string"
  26498. },
  26499. "goodscode": {
  26500. "description": "商品代码(内部)",
  26501. "type": "string"
  26502. },
  26503. "goodsid": {
  26504. "description": "商品id",
  26505. "type": "integer"
  26506. },
  26507. "goodsname": {
  26508. "description": "商品名称",
  26509. "type": "string"
  26510. },
  26511. "goodunitid": {
  26512. "description": "报价单位ID",
  26513. "type": "integer"
  26514. },
  26515. "logincode": {
  26516. "description": "登录代码(账户)",
  26517. "type": "string"
  26518. },
  26519. "marketid": {
  26520. "description": "市场id",
  26521. "type": "integer"
  26522. },
  26523. "orderid": {
  26524. "description": "关联委托单号",
  26525. "type": "string"
  26526. },
  26527. "orderprice": {
  26528. "description": "价格",
  26529. "type": "number"
  26530. },
  26531. "orderqty": {
  26532. "description": "数量",
  26533. "type": "number"
  26534. },
  26535. "orderstatus": {
  26536. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26537. "type": "integer"
  26538. },
  26539. "ordertime": {
  26540. "description": "委托时间",
  26541. "type": "string"
  26542. },
  26543. "qtydecimalplace": {
  26544. "description": "成交量小数位",
  26545. "type": "integer"
  26546. },
  26547. "tradedate": {
  26548. "description": "交易日",
  26549. "type": "string"
  26550. },
  26551. "trademode": {
  26552. "description": "交易模式",
  26553. "type": "integer"
  26554. },
  26555. "userid": {
  26556. "description": "用户id",
  26557. "type": "integer"
  26558. },
  26559. "userinfotype": {
  26560. "description": "账户类型 1-个人 2-企业",
  26561. "type": "integer"
  26562. }
  26563. }
  26564. },
  26565. "models.QhjMgrTradePayOrder": {
  26566. "type": "object",
  26567. "properties": {
  26568. "accountname": {
  26569. "description": "用户名称",
  26570. "type": "string"
  26571. },
  26572. "advanceratio": {
  26573. "description": "首付比率",
  26574. "type": "number"
  26575. },
  26576. "agreeunit": {
  26577. "description": "合约乘数",
  26578. "type": "number"
  26579. },
  26580. "buyaccountid": {
  26581. "description": "买方账号ID[报价币种]",
  26582. "type": "integer"
  26583. },
  26584. "buyorderid": {
  26585. "description": "买方委托单号(关联单号)",
  26586. "type": "string"
  26587. },
  26588. "createtime": {
  26589. "description": "创建时间",
  26590. "type": "string"
  26591. },
  26592. "decimalplace": {
  26593. "description": "报价小数位",
  26594. "type": "integer"
  26595. },
  26596. "enumdicname": {
  26597. "description": "单位名称(商品)",
  26598. "type": "string"
  26599. },
  26600. "goodscode": {
  26601. "description": "商品代码(内部)",
  26602. "type": "string"
  26603. },
  26604. "goodsid": {
  26605. "description": "商品ID",
  26606. "type": "integer"
  26607. },
  26608. "goodsname": {
  26609. "description": "商品名称",
  26610. "type": "string"
  26611. },
  26612. "goodunitid": {
  26613. "description": "报价单位ID",
  26614. "type": "integer"
  26615. },
  26616. "logincode": {
  26617. "description": "登录代码(账户)",
  26618. "type": "string"
  26619. },
  26620. "marketid": {
  26621. "description": "市场id",
  26622. "type": "integer"
  26623. },
  26624. "offamount": {
  26625. "description": "优惠金额",
  26626. "type": "number"
  26627. },
  26628. "operatetype": {
  26629. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26630. "type": "integer"
  26631. },
  26632. "payamount": {
  26633. "description": "支付金额(金额)",
  26634. "type": "number"
  26635. },
  26636. "payflag": {
  26637. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26638. "type": "integer"
  26639. },
  26640. "paylimitedtime": {
  26641. "description": "支付期限",
  26642. "type": "string"
  26643. },
  26644. "paytime": {
  26645. "description": "付款时间",
  26646. "type": "string"
  26647. },
  26648. "qtydecimalplace": {
  26649. "description": "成交量小数位",
  26650. "type": "integer"
  26651. },
  26652. "sellaccountid": {
  26653. "description": "卖方账号ID[报价币种]",
  26654. "type": "integer"
  26655. },
  26656. "sellorderid": {
  26657. "description": "卖方委托单号",
  26658. "type": "string"
  26659. },
  26660. "tradeamount": {
  26661. "description": "成交金额(优惠后金额)",
  26662. "type": "number"
  26663. },
  26664. "tradecharge": {
  26665. "description": "成交手续费(买方)",
  26666. "type": "number"
  26667. },
  26668. "tradedate": {
  26669. "description": "交易日(yyyyMMdd)",
  26670. "type": "string"
  26671. },
  26672. "tradeid": {
  26673. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26674. "type": "string"
  26675. },
  26676. "trademode": {
  26677. "description": "交易模式",
  26678. "type": "integer"
  26679. },
  26680. "tradeprice": {
  26681. "description": "成交价格(价格)",
  26682. "type": "number"
  26683. },
  26684. "tradeqty": {
  26685. "description": "成交数量(数量)",
  26686. "type": "number"
  26687. },
  26688. "tradetime": {
  26689. "description": "成交时间",
  26690. "type": "string"
  26691. },
  26692. "userid": {
  26693. "description": "用户id",
  26694. "type": "integer"
  26695. },
  26696. "userinfotype": {
  26697. "description": "账户类型 1-个人 2-企业",
  26698. "type": "integer"
  26699. }
  26700. }
  26701. },
  26702. "models.QhjMyTeamEx": {
  26703. "type": "object",
  26704. "properties": {
  26705. "accountname": {
  26706. "description": "用户名称",
  26707. "type": "string"
  26708. },
  26709. "accountstatus": {
  26710. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26711. "type": "integer"
  26712. },
  26713. "createtime": {
  26714. "description": "创建时间",
  26715. "type": "string"
  26716. },
  26717. "mobile": {
  26718. "description": "手机号码",
  26719. "type": "string"
  26720. },
  26721. "refereeuserid": {
  26722. "description": "推荐人id",
  26723. "type": "integer"
  26724. },
  26725. "refernum": {
  26726. "description": "推荐码",
  26727. "type": "string"
  26728. },
  26729. "subList": {
  26730. "type": "array",
  26731. "items": {
  26732. "$ref": "#/definitions/models.QhjMyTeamEx"
  26733. }
  26734. },
  26735. "userid": {
  26736. "description": "用户id",
  26737. "type": "integer"
  26738. },
  26739. "userinfotype": {
  26740. "description": "用户类型 1-个人 2-企业",
  26741. "type": "integer"
  26742. }
  26743. }
  26744. },
  26745. "models.QhjNodeAgreementConfig": {
  26746. "type": "object",
  26747. "properties": {
  26748. "agreementcontent": {
  26749. "description": "协议内容",
  26750. "type": "string"
  26751. },
  26752. "agreementid": {
  26753. "description": "协议ID",
  26754. "type": "integer"
  26755. },
  26756. "agreementname": {
  26757. "description": "协议名称",
  26758. "type": "string"
  26759. },
  26760. "agreementno": {
  26761. "description": "协议编号",
  26762. "type": "string"
  26763. },
  26764. "agreementtype": {
  26765. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26766. "type": "integer"
  26767. },
  26768. "agreementversion": {
  26769. "description": "协议版本号",
  26770. "type": "integer"
  26771. },
  26772. "configid": {
  26773. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26774. "type": "integer"
  26775. },
  26776. "createtime": {
  26777. "description": "创建时间",
  26778. "type": "string"
  26779. },
  26780. "goodsid": {
  26781. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26782. "type": "integer"
  26783. },
  26784. "nodetype": {
  26785. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26786. "type": "integer"
  26787. }
  26788. }
  26789. },
  26790. "models.QhjParentAreaList": {
  26791. "type": "object",
  26792. "properties": {
  26793. "accountname": {
  26794. "description": "账户名称(机构名称)",
  26795. "type": "string"
  26796. },
  26797. "userid": {
  26798. "description": "用户ID",
  26799. "type": "integer"
  26800. },
  26801. "usertype": {
  26802. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26803. "type": "integer"
  26804. }
  26805. }
  26806. },
  26807. "models.QhjPayOrder": {
  26808. "type": "object",
  26809. "properties": {
  26810. "advanceratio": {
  26811. "description": "首付比率",
  26812. "type": "number"
  26813. },
  26814. "buyaccountid": {
  26815. "description": "买方账号ID[报价币种]",
  26816. "type": "integer"
  26817. },
  26818. "buyorderid": {
  26819. "description": "买方委托单号",
  26820. "type": "string"
  26821. },
  26822. "createtime": {
  26823. "description": "创建时间",
  26824. "type": "string"
  26825. },
  26826. "decimalplace": {
  26827. "description": "商品报价小数位",
  26828. "type": "integer"
  26829. },
  26830. "enumdicname": {
  26831. "description": "单位名称",
  26832. "type": "string"
  26833. },
  26834. "goodscode": {
  26835. "description": "商品代码",
  26836. "type": "string"
  26837. },
  26838. "goodsid": {
  26839. "description": "商品ID",
  26840. "type": "integer"
  26841. },
  26842. "goodsname": {
  26843. "description": "商品名称",
  26844. "type": "string"
  26845. },
  26846. "goodunitid": {
  26847. "description": "商品单位id",
  26848. "type": "integer"
  26849. },
  26850. "marketid": {
  26851. "description": "市场ID",
  26852. "type": "integer"
  26853. },
  26854. "offamount": {
  26855. "description": "优惠金额",
  26856. "type": "number"
  26857. },
  26858. "operatetype": {
  26859. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26860. "type": "integer"
  26861. },
  26862. "payamount": {
  26863. "description": "支付金额",
  26864. "type": "number"
  26865. },
  26866. "payflag": {
  26867. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26868. "type": "integer"
  26869. },
  26870. "paylimitedtime": {
  26871. "description": "支付期限",
  26872. "type": "string"
  26873. },
  26874. "paytime": {
  26875. "description": "付款时间",
  26876. "type": "string"
  26877. },
  26878. "qtydecimalplace": {
  26879. "description": "成交量小数位",
  26880. "type": "integer"
  26881. },
  26882. "sellaccountid": {
  26883. "description": "卖方账号ID[报价币种]",
  26884. "type": "integer"
  26885. },
  26886. "sellorderid": {
  26887. "description": "卖方委托单号",
  26888. "type": "string"
  26889. },
  26890. "tradeamount": {
  26891. "description": "成交金额(优惠后金额)",
  26892. "type": "number"
  26893. },
  26894. "tradecharge": {
  26895. "description": "成交手续费(买方)",
  26896. "type": "number"
  26897. },
  26898. "tradedate": {
  26899. "description": "交易日(yyyyMMdd)",
  26900. "type": "string"
  26901. },
  26902. "tradeid": {
  26903. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26904. "type": "string"
  26905. },
  26906. "tradeprice": {
  26907. "description": "成交价格",
  26908. "type": "number"
  26909. },
  26910. "tradeqty": {
  26911. "description": "成交数量",
  26912. "type": "number"
  26913. }
  26914. }
  26915. },
  26916. "models.QhjPickArea": {
  26917. "type": "object",
  26918. "properties": {
  26919. "address": {
  26920. "description": "详细地址",
  26921. "type": "string"
  26922. },
  26923. "cityid": {
  26924. "description": "市",
  26925. "type": "integer"
  26926. },
  26927. "cityname": {
  26928. "description": "城市名称",
  26929. "type": "string"
  26930. },
  26931. "countryid": {
  26932. "description": "国家",
  26933. "type": "integer"
  26934. },
  26935. "countryname": {
  26936. "description": "国家名称",
  26937. "type": "string"
  26938. },
  26939. "districtid": {
  26940. "description": "地区",
  26941. "type": "integer"
  26942. },
  26943. "districtname": {
  26944. "description": "地区名称",
  26945. "type": "string"
  26946. },
  26947. "fromuserid": {
  26948. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  26949. "type": "integer"
  26950. },
  26951. "fromusername": {
  26952. "description": "所属机构名称",
  26953. "type": "string"
  26954. },
  26955. "provinceid": {
  26956. "description": "省",
  26957. "type": "integer"
  26958. },
  26959. "provincename": {
  26960. "description": "省名称",
  26961. "type": "string"
  26962. },
  26963. "suborgtype": {
  26964. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  26965. "type": "integer"
  26966. },
  26967. "userid": {
  26968. "description": "机构用户ID 其他做市关系,都设置为 1",
  26969. "type": "integer"
  26970. },
  26971. "username": {
  26972. "description": "机构用户名称(门店门称)",
  26973. "type": "string"
  26974. }
  26975. }
  26976. },
  26977. "models.QhjPickGoods": {
  26978. "type": "object",
  26979. "properties": {
  26980. "enumdicname": {
  26981. "description": "单位名称(提货商品)",
  26982. "type": "string"
  26983. },
  26984. "goodsid": {
  26985. "description": "商品id",
  26986. "type": "integer"
  26987. },
  26988. "imageaddress": {
  26989. "description": "图片",
  26990. "type": "string"
  26991. },
  26992. "modifierid": {
  26993. "description": "修改人",
  26994. "type": "integer"
  26995. },
  26996. "modifiername": {
  26997. "description": "修改人名称",
  26998. "type": "string"
  26999. },
  27000. "modifysrc": {
  27001. "description": "修改来源 - 1:管理端 2:终端",
  27002. "type": "integer"
  27003. },
  27004. "pickupgoodsagreeunit": {
  27005. "description": "合约乘数",
  27006. "type": "number"
  27007. },
  27008. "pickupgoodsdesc": {
  27009. "description": "描述",
  27010. "type": "string"
  27011. },
  27012. "pickupgoodsid": {
  27013. "description": "提货商品ID",
  27014. "type": "string"
  27015. },
  27016. "pickupgoodsname": {
  27017. "description": "提货商品名称",
  27018. "type": "string"
  27019. },
  27020. "pickupgoodsstatus": {
  27021. "description": "状态 - 1:正常 2:停用 3:注销",
  27022. "type": "integer"
  27023. },
  27024. "pickupgoodsunitid": {
  27025. "description": "单位ID",
  27026. "type": "integer"
  27027. },
  27028. "pickupratio": {
  27029. "description": "提货系数",
  27030. "type": "number"
  27031. },
  27032. "preparedays": {
  27033. "description": "备货期(天)",
  27034. "type": "integer"
  27035. },
  27036. "remark": {
  27037. "description": "备注",
  27038. "type": "string"
  27039. },
  27040. "updatetime": {
  27041. "description": "更新时间",
  27042. "type": "string"
  27043. }
  27044. }
  27045. },
  27046. "models.QhjRSTriggerLog": {
  27047. "type": "object",
  27048. "properties": {
  27049. "accountid": {
  27050. "description": "用户资金账户",
  27051. "type": "integer"
  27052. },
  27053. "accountname": {
  27054. "description": "账号名称(ACCOUNTID对应的名称)",
  27055. "type": "string"
  27056. },
  27057. "currencyid": {
  27058. "description": "币种id",
  27059. "type": "integer"
  27060. },
  27061. "currencyname": {
  27062. "description": "币种名称",
  27063. "type": "string"
  27064. },
  27065. "decimalplace": {
  27066. "description": "商品报价小数位",
  27067. "type": "integer"
  27068. },
  27069. "enumdicname": {
  27070. "description": "单位名称",
  27071. "type": "string"
  27072. },
  27073. "goodscode": {
  27074. "description": "定投商品代码",
  27075. "type": "string"
  27076. },
  27077. "goodsid": {
  27078. "description": "定投商品ID",
  27079. "type": "integer"
  27080. },
  27081. "goodsname": {
  27082. "description": "定投商品名称",
  27083. "type": "string"
  27084. },
  27085. "goodunitid": {
  27086. "description": "定投商品单位id",
  27087. "type": "integer"
  27088. },
  27089. "logid": {
  27090. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27091. "type": "string"
  27092. },
  27093. "logincode": {
  27094. "description": "账号(登录代码)",
  27095. "type": "string"
  27096. },
  27097. "qtydecimalplace": {
  27098. "description": "成交量小数位",
  27099. "type": "integer"
  27100. },
  27101. "regularlycycle": {
  27102. "description": "定投频率 - 1:每周 2:每月",
  27103. "type": "integer"
  27104. },
  27105. "regularlycyclevalue": {
  27106. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27107. "type": "string"
  27108. },
  27109. "regularlymode": {
  27110. "description": "定投方式 - 1:按数量 2:按金额",
  27111. "type": "integer"
  27112. },
  27113. "regularlymodevalue": {
  27114. "description": "定投方式值 - 数量或金额",
  27115. "type": "number"
  27116. },
  27117. "regularlystrategyid": {
  27118. "description": "定投策略ID",
  27119. "type": "integer"
  27120. },
  27121. "retcode": {
  27122. "description": "错误码",
  27123. "type": "string"
  27124. },
  27125. "tradeid": {
  27126. "description": "成交单ID",
  27127. "type": "string"
  27128. },
  27129. "triggeramount": {
  27130. "description": "触发金额",
  27131. "type": "number"
  27132. },
  27133. "triggerqty": {
  27134. "description": "触发数量",
  27135. "type": "number"
  27136. },
  27137. "triggerstatus": {
  27138. "description": "触发状态 - 1:成功 2:失败",
  27139. "type": "integer"
  27140. },
  27141. "triggertime": {
  27142. "description": "触发时间",
  27143. "type": "string"
  27144. },
  27145. "triggertradedate": {
  27146. "description": "触发交易日",
  27147. "type": "string"
  27148. },
  27149. "userid": {
  27150. "description": "所属用户ID",
  27151. "type": "integer"
  27152. },
  27153. "userinfotype": {
  27154. "description": "用户类型 1-个人 2-企业",
  27155. "type": "integer"
  27156. },
  27157. "username": {
  27158. "description": "用户名称(userid对应的名称)",
  27159. "type": "string"
  27160. }
  27161. }
  27162. },
  27163. "models.QhjRStrategy": {
  27164. "type": "object",
  27165. "properties": {
  27166. "accountid": {
  27167. "description": "用户资金账户",
  27168. "type": "integer"
  27169. },
  27170. "accountname": {
  27171. "description": "账号名称(ACCOUNTID对应的名称)",
  27172. "type": "string"
  27173. },
  27174. "currencyid": {
  27175. "description": "币种id",
  27176. "type": "integer"
  27177. },
  27178. "currencyname": {
  27179. "description": "币种名称",
  27180. "type": "string"
  27181. },
  27182. "decimalplace": {
  27183. "description": "商品报价小数位",
  27184. "type": "integer"
  27185. },
  27186. "enumdicname": {
  27187. "description": "单位名称",
  27188. "type": "string"
  27189. },
  27190. "goodscode": {
  27191. "description": "定投商品代码",
  27192. "type": "string"
  27193. },
  27194. "goodsid": {
  27195. "description": "定投商品ID",
  27196. "type": "integer"
  27197. },
  27198. "goodsname": {
  27199. "description": "定投商品名称",
  27200. "type": "string"
  27201. },
  27202. "goodunitid": {
  27203. "description": "定投商品单位id",
  27204. "type": "integer"
  27205. },
  27206. "lasteffecttradedate": {
  27207. "description": "最新生效交易日",
  27208. "type": "string"
  27209. },
  27210. "laststoptradedate": {
  27211. "description": "最新暂停交易日",
  27212. "type": "string"
  27213. },
  27214. "lasttriggertradedate": {
  27215. "description": "最新触发交易日",
  27216. "type": "string"
  27217. },
  27218. "logincode": {
  27219. "description": "账号(登录代码)",
  27220. "type": "string"
  27221. },
  27222. "nexttriggeramount": {
  27223. "description": "下次触发金额",
  27224. "type": "number"
  27225. },
  27226. "nexttriggerdate": {
  27227. "description": "下次触发日期",
  27228. "type": "string"
  27229. },
  27230. "nexttriggerqty": {
  27231. "description": "下次触发数量 [按小数位放大值]",
  27232. "type": "number"
  27233. },
  27234. "qtydecimalplace": {
  27235. "description": "成交量小数位",
  27236. "type": "integer"
  27237. },
  27238. "regularlycycle": {
  27239. "description": "定投频率 - 1:每周 2:每月",
  27240. "type": "integer"
  27241. },
  27242. "regularlycyclevalue": {
  27243. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27244. "type": "string"
  27245. },
  27246. "regularlymode": {
  27247. "description": "定投方式 - 1:按数量 2:按金额",
  27248. "type": "integer"
  27249. },
  27250. "regularlymodevalue": {
  27251. "description": "定投方式值 - 数量或金额",
  27252. "type": "number"
  27253. },
  27254. "regularlystrategyid": {
  27255. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27256. "type": "integer"
  27257. },
  27258. "regularlystrategystatus": {
  27259. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27260. "type": "integer"
  27261. },
  27262. "remark": {
  27263. "description": "备注",
  27264. "type": "string"
  27265. },
  27266. "triggersuccesstimes": {
  27267. "description": "累计定投成功次数",
  27268. "type": "string"
  27269. },
  27270. "triggertotalamount": {
  27271. "description": "累计定投金额(成功)",
  27272. "type": "number"
  27273. },
  27274. "triggertotalqty": {
  27275. "description": "累计定投数量(成功) [按小数位放大值]",
  27276. "type": "number"
  27277. },
  27278. "triggertotaltimes": {
  27279. "description": "累计定投总次数",
  27280. "type": "string"
  27281. },
  27282. "updatesrc": {
  27283. "description": "更新来源 - 1:管理端 2:终端",
  27284. "type": "integer"
  27285. },
  27286. "updatetime": {
  27287. "description": "更新时间",
  27288. "type": "string"
  27289. },
  27290. "updatorid": {
  27291. "description": "更新人",
  27292. "type": "string"
  27293. },
  27294. "userid": {
  27295. "description": "所属用户ID",
  27296. "type": "integer"
  27297. },
  27298. "userinfotype": {
  27299. "description": "用户类型 1-个人 2-企业",
  27300. "type": "integer"
  27301. },
  27302. "username": {
  27303. "description": "用户名称(userid对应的名称)",
  27304. "type": "string"
  27305. }
  27306. }
  27307. },
  27308. "models.QhjReckonPriceLog": {
  27309. "type": "object",
  27310. "properties": {
  27311. "decimalplace": {
  27312. "description": "商品报价小数位",
  27313. "type": "integer"
  27314. },
  27315. "goodscode": {
  27316. "description": "商品代码",
  27317. "type": "string"
  27318. },
  27319. "goodsid": {
  27320. "description": "商品ID",
  27321. "type": "integer"
  27322. },
  27323. "goodsname": {
  27324. "description": "商品名称",
  27325. "type": "string"
  27326. },
  27327. "lastreckonprice": {
  27328. "description": "上日结算价",
  27329. "type": "number"
  27330. },
  27331. "nextdnlimitprice": {
  27332. "description": "下个交易日跌停价",
  27333. "type": "number"
  27334. },
  27335. "nexttrade": {
  27336. "description": "下个交易日",
  27337. "type": "string"
  27338. },
  27339. "nextuplimitprice": {
  27340. "description": "下个交易日涨停价",
  27341. "type": "number"
  27342. },
  27343. "reckonprice": {
  27344. "description": "今日结算价(定投价)",
  27345. "type": "number"
  27346. },
  27347. "reckontime": {
  27348. "description": "结算时间",
  27349. "type": "string"
  27350. },
  27351. "totalholderqty": {
  27352. "description": "总持仓数",
  27353. "type": "integer"
  27354. },
  27355. "totalstock": {
  27356. "description": "总库存",
  27357. "type": "integer"
  27358. },
  27359. "tradedate": {
  27360. "description": "交易日",
  27361. "type": "string"
  27362. },
  27363. "updowncount": {
  27364. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27365. "type": "integer"
  27366. },
  27367. "updownflag": {
  27368. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27369. "type": "integer"
  27370. },
  27371. "updownrate": {
  27372. "description": "今日涨跌幅",
  27373. "type": "number"
  27374. },
  27375. "updownrate_2d": {
  27376. "description": "连续两日涨跌幅",
  27377. "type": "number"
  27378. },
  27379. "updownrate_3d": {
  27380. "description": "连续三日涨跌幅",
  27381. "type": "number"
  27382. }
  27383. }
  27384. },
  27385. "models.QhjScoreLog": {
  27386. "type": "object",
  27387. "properties": {
  27388. "accountid": {
  27389. "description": "账户ID",
  27390. "type": "integer"
  27391. },
  27392. "createtime": {
  27393. "description": "创建时间(时间)",
  27394. "type": "string"
  27395. },
  27396. "goodsid": {
  27397. "description": "商品ID",
  27398. "type": "integer"
  27399. },
  27400. "hasuploaded": {
  27401. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27402. "type": "integer"
  27403. },
  27404. "logid": {
  27405. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27406. "type": "string"
  27407. },
  27408. "marketid": {
  27409. "description": "市场ID",
  27410. "type": "integer"
  27411. },
  27412. "relatedamount": {
  27413. "description": "关联金额",
  27414. "type": "number"
  27415. },
  27416. "relatedorderid": {
  27417. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27418. "type": "string"
  27419. },
  27420. "scoreconfigvalue1": {
  27421. "description": "积分配置1",
  27422. "type": "integer"
  27423. },
  27424. "scoreconfigvalue2": {
  27425. "description": "积分配置1",
  27426. "type": "integer"
  27427. },
  27428. "scoretype": {
  27429. "description": "积分类型 - 1:提货积分",
  27430. "type": "integer"
  27431. },
  27432. "scorevalue": {
  27433. "description": "积分",
  27434. "type": "number"
  27435. },
  27436. "tradedate": {
  27437. "description": "交易日(yyyyMMdd)",
  27438. "type": "string"
  27439. },
  27440. "uploadedtime": {
  27441. "description": "同步时间",
  27442. "type": "string"
  27443. },
  27444. "userid": {
  27445. "description": "用户ID",
  27446. "type": "integer"
  27447. }
  27448. }
  27449. },
  27450. "models.QhjSiteColumnDetail": {
  27451. "type": "object",
  27452. "properties": {
  27453. "author": {
  27454. "description": "作者",
  27455. "type": "string"
  27456. },
  27457. "brief": {
  27458. "description": "简介",
  27459. "type": "string"
  27460. },
  27461. "columnid": {
  27462. "description": "所属栏目",
  27463. "type": "integer"
  27464. },
  27465. "context": {
  27466. "description": "内容",
  27467. "type": "string"
  27468. },
  27469. "coverimage": {
  27470. "description": "封面图片",
  27471. "type": "string"
  27472. },
  27473. "creaedate": {
  27474. "description": "创建时间",
  27475. "type": "string"
  27476. },
  27477. "creatorid": {
  27478. "description": "创建人",
  27479. "type": "integer"
  27480. },
  27481. "hits": {
  27482. "description": "点击数",
  27483. "type": "integer"
  27484. },
  27485. "id": {
  27486. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27487. "type": "integer"
  27488. },
  27489. "isshow": {
  27490. "description": "是否展示 - 0:不展示 1:展示",
  27491. "type": "integer"
  27492. },
  27493. "istop": {
  27494. "description": "是否置顶 - 0:不置 1:置顶",
  27495. "type": "integer"
  27496. },
  27497. "modifierid": {
  27498. "description": "操作人",
  27499. "type": "integer"
  27500. },
  27501. "publishdate": {
  27502. "description": "发布日期",
  27503. "type": "string"
  27504. },
  27505. "status": {
  27506. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27507. "type": "integer"
  27508. },
  27509. "title": {
  27510. "description": "标题",
  27511. "type": "string"
  27512. },
  27513. "updatedate": {
  27514. "description": "修改时间",
  27515. "type": "string"
  27516. },
  27517. "userid": {
  27518. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27519. "type": "integer"
  27520. },
  27521. "username": {
  27522. "description": "用户名称",
  27523. "type": "string"
  27524. }
  27525. }
  27526. },
  27527. "models.QhjTeamOrder": {
  27528. "type": "object",
  27529. "properties": {
  27530. "accountid": {
  27531. "description": "账户ID[报价币种]",
  27532. "type": "integer"
  27533. },
  27534. "accountname": {
  27535. "description": "账户名称",
  27536. "type": "string"
  27537. },
  27538. "agreeunit": {
  27539. "description": "合约乘数",
  27540. "type": "number"
  27541. },
  27542. "buyorsell": {
  27543. "description": "方向 - 0:买 1:卖",
  27544. "type": "integer"
  27545. },
  27546. "decimalplace": {
  27547. "description": "报价小数位",
  27548. "type": "integer"
  27549. },
  27550. "enumdicname": {
  27551. "description": "单位名称",
  27552. "type": "string"
  27553. },
  27554. "goodscode": {
  27555. "description": "商品代码(内部)",
  27556. "type": "string"
  27557. },
  27558. "goodsid": {
  27559. "description": "商品ID",
  27560. "type": "integer"
  27561. },
  27562. "goodsname": {
  27563. "description": "商品名称",
  27564. "type": "string"
  27565. },
  27566. "goodunitid": {
  27567. "description": "报价单位ID",
  27568. "type": "integer"
  27569. },
  27570. "marketid": {
  27571. "description": "市场ID",
  27572. "type": "integer"
  27573. },
  27574. "marketname": {
  27575. "description": "市场名称",
  27576. "type": "string"
  27577. },
  27578. "qtydecimalplace": {
  27579. "description": "成交量小数位",
  27580. "type": "integer"
  27581. },
  27582. "refereeuserid": {
  27583. "description": "推荐人ID",
  27584. "type": "integer"
  27585. },
  27586. "tradeamount": {
  27587. "description": "成交金额[账户币种,用于所有权]",
  27588. "type": "number"
  27589. },
  27590. "tradedate": {
  27591. "description": "交易日(yyyyMMdd)",
  27592. "type": "string"
  27593. },
  27594. "trademode": {
  27595. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27596. "type": "integer"
  27597. },
  27598. "tradeprice": {
  27599. "description": "成交价格",
  27600. "type": "number"
  27601. },
  27602. "tradeqty": {
  27603. "description": "成交数量",
  27604. "type": "number"
  27605. },
  27606. "tradetime": {
  27607. "description": "成交时间",
  27608. "type": "string"
  27609. },
  27610. "userid": {
  27611. "description": "用户ID",
  27612. "type": "integer"
  27613. }
  27614. }
  27615. },
  27616. "models.QhjTradeGoodsPickup": {
  27617. "type": "object",
  27618. "properties": {
  27619. "accountid": {
  27620. "description": "账户ID",
  27621. "type": "integer"
  27622. },
  27623. "address": {
  27624. "description": "提货人详细地址",
  27625. "type": "string"
  27626. },
  27627. "amount": {
  27628. "description": "提货金额",
  27629. "type": "number"
  27630. },
  27631. "artradedate": {
  27632. "description": "自动收货交易日(yyyyMMdd)",
  27633. "type": "string"
  27634. },
  27635. "auditer": {
  27636. "description": "审核人",
  27637. "type": "integer"
  27638. },
  27639. "auditsrc": {
  27640. "description": "更新来源 - 1:管理端 2:终端",
  27641. "type": "integer"
  27642. },
  27643. "audittime": {
  27644. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27645. "type": "string"
  27646. },
  27647. "audittradedate": {
  27648. "description": "审核交易日(yyyyMMdd)",
  27649. "type": "string"
  27650. },
  27651. "cardnum": {
  27652. "description": "提货人证件号码",
  27653. "type": "string"
  27654. },
  27655. "cardtypeid": {
  27656. "description": "提货人证件类型",
  27657. "type": "integer"
  27658. },
  27659. "checkremark": {
  27660. "description": "审核备注",
  27661. "type": "string"
  27662. },
  27663. "cityid": {
  27664. "description": "市",
  27665. "type": "integer"
  27666. },
  27667. "cityname": {
  27668. "description": "城市名称",
  27669. "type": "string"
  27670. },
  27671. "confirmtime": {
  27672. "description": "取货时间 或 收货时间",
  27673. "type": "string"
  27674. },
  27675. "countryid": {
  27676. "description": "国家",
  27677. "type": "integer"
  27678. },
  27679. "countryname": {
  27680. "description": "国家名称",
  27681. "type": "string"
  27682. },
  27683. "decimalplace": {
  27684. "description": "商品报价小数位",
  27685. "type": "integer"
  27686. },
  27687. "districtid": {
  27688. "description": "地区",
  27689. "type": "integer"
  27690. },
  27691. "districtname": {
  27692. "description": "地区名称",
  27693. "type": "string"
  27694. },
  27695. "enumdicname": {
  27696. "description": "单位名称(提货商品)",
  27697. "type": "string"
  27698. },
  27699. "expresscompany": {
  27700. "description": "物流公司",
  27701. "type": "string"
  27702. },
  27703. "expressnum": {
  27704. "description": "物流单号",
  27705. "type": "string"
  27706. },
  27707. "goodsagreeunit": {
  27708. "description": "交易商品乘数",
  27709. "type": "number"
  27710. },
  27711. "goodscode": {
  27712. "description": "商品代码",
  27713. "type": "string"
  27714. },
  27715. "goodsid": {
  27716. "description": "商品ID",
  27717. "type": "integer"
  27718. },
  27719. "goodsname": {
  27720. "description": "商品名称",
  27721. "type": "string"
  27722. },
  27723. "goodsqty": {
  27724. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27725. "type": "number"
  27726. },
  27727. "handlestatus": {
  27728. "description": "处理状态",
  27729. "type": "integer"
  27730. },
  27731. "logincode": {
  27732. "description": "账号(登录代码, 有可能为空)",
  27733. "type": "string"
  27734. },
  27735. "marketid": {
  27736. "description": "市场ID",
  27737. "type": "integer"
  27738. },
  27739. "phonenum": {
  27740. "description": "提货人联系方式",
  27741. "type": "string"
  27742. },
  27743. "pickupgoodsagreeunit": {
  27744. "description": "提货商品合约乘数",
  27745. "type": "number"
  27746. },
  27747. "pickupgoodsid": {
  27748. "description": "提货商品ID",
  27749. "type": "string"
  27750. },
  27751. "pickupgoodsname": {
  27752. "description": "提货商品名称",
  27753. "type": "string"
  27754. },
  27755. "pickupgoodsqty": {
  27756. "description": "提货商品手数(数量)",
  27757. "type": "number"
  27758. },
  27759. "pickupgoodsunitid": {
  27760. "description": "单位ID(提货商品)",
  27761. "type": "integer"
  27762. },
  27763. "pickupratio": {
  27764. "description": "提货系数",
  27765. "type": "number"
  27766. },
  27767. "preparedays": {
  27768. "description": "备货期(天)-提货单明细表",
  27769. "type": "integer"
  27770. },
  27771. "provinceid": {
  27772. "description": "省",
  27773. "type": "integer"
  27774. },
  27775. "provincename": {
  27776. "description": "省名称",
  27777. "type": "string"
  27778. },
  27779. "qty": {
  27780. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27781. "type": "number"
  27782. },
  27783. "qtydecimalplace": {
  27784. "description": "商品数量小数位",
  27785. "type": "integer"
  27786. },
  27787. "recivername": {
  27788. "description": "提货人姓名",
  27789. "type": "string"
  27790. },
  27791. "reqtime": {
  27792. "description": "提货申请时间",
  27793. "type": "string"
  27794. },
  27795. "storeuserid": {
  27796. "description": "门店用户ID (千海金)",
  27797. "type": "integer"
  27798. },
  27799. "storeusername": {
  27800. "description": "门店用户名称",
  27801. "type": "string"
  27802. },
  27803. "takemode": {
  27804. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27805. "type": "integer"
  27806. },
  27807. "takeorderid": {
  27808. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27809. "type": "string"
  27810. },
  27811. "takeorderstatus": {
  27812. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27813. "type": "integer"
  27814. },
  27815. "takeremark": {
  27816. "description": "提货备注",
  27817. "type": "string"
  27818. },
  27819. "tradedate": {
  27820. "description": "交易日(yyyyMMdd)",
  27821. "type": "string"
  27822. },
  27823. "updatetime": {
  27824. "description": "更新时间",
  27825. "type": "string"
  27826. },
  27827. "userid": {
  27828. "description": "用户ID",
  27829. "type": "integer"
  27830. },
  27831. "userinfotype": {
  27832. "description": "客户类型 1-个人 2-企业",
  27833. "type": "integer"
  27834. },
  27835. "username": {
  27836. "description": "用户名称",
  27837. "type": "string"
  27838. }
  27839. }
  27840. },
  27841. "models.QhjUserNodeCfgAndStatus": {
  27842. "type": "object",
  27843. "properties": {
  27844. "agreementcontent": {
  27845. "description": "协议内容",
  27846. "type": "string"
  27847. },
  27848. "agreementid": {
  27849. "description": "协议ID",
  27850. "type": "integer"
  27851. },
  27852. "agreementname": {
  27853. "description": "协议名称",
  27854. "type": "string"
  27855. },
  27856. "agreementno": {
  27857. "description": "协议编号",
  27858. "type": "string"
  27859. },
  27860. "agreementtype": {
  27861. "description": "协议类型 - 1:注册 2:登录 3:交易",
  27862. "type": "integer"
  27863. },
  27864. "agreementversion": {
  27865. "description": "协议版本号",
  27866. "type": "integer"
  27867. },
  27868. "configid": {
  27869. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  27870. "type": "integer"
  27871. },
  27872. "createtime": {
  27873. "description": "创建时间",
  27874. "type": "string"
  27875. },
  27876. "goodsid": {
  27877. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  27878. "type": "integer"
  27879. },
  27880. "nodetype": {
  27881. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  27882. "type": "integer"
  27883. },
  27884. "signtimestamp": {
  27885. "description": "签约状态时间戳(最近一次)",
  27886. "type": "string"
  27887. },
  27888. "tradedate": {
  27889. "description": "签约交易日(yyyyMMdd)",
  27890. "type": "string"
  27891. },
  27892. "userid": {
  27893. "description": "客户ID",
  27894. "type": "integer"
  27895. }
  27896. }
  27897. },
  27898. "models.Qhjgoodsex": {
  27899. "type": "object",
  27900. "properties": {
  27901. "canfinance": {
  27902. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  27903. "type": "integer"
  27904. },
  27905. "canregularlybuy": {
  27906. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  27907. "type": "integer"
  27908. },
  27909. "defaulttradeuserid": {
  27910. "description": "默认交易用户ID",
  27911. "type": "integer"
  27912. },
  27913. "deliverygoodsid": {
  27914. "description": "现货品种ID",
  27915. "type": "integer"
  27916. },
  27917. "goodsid": {
  27918. "description": "商品ID(自增ID SEQ_GOODS)",
  27919. "type": "integer"
  27920. },
  27921. "minamount": {
  27922. "description": "最小购买金额",
  27923. "type": "number"
  27924. },
  27925. "regularlybuyminamount": {
  27926. "description": "定投最小金额",
  27927. "type": "number"
  27928. },
  27929. "regularlybuyminqty": {
  27930. "description": "定投最小数量",
  27931. "type": "number"
  27932. },
  27933. "spotgoodsbrandid": {
  27934. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  27935. "type": "integer"
  27936. },
  27937. "visibilityforenterprise": {
  27938. "description": "企业客户是否可见 - 0:不可见 1:可见",
  27939. "type": "integer"
  27940. },
  27941. "visibilityforpersonal": {
  27942. "description": "个人客户是否可见 - 0:不可见 1:可见",
  27943. "type": "integer"
  27944. },
  27945. "wrstandardid": {
  27946. "description": "现货商品ID",
  27947. "type": "integer"
  27948. }
  27949. }
  27950. },
  27951. "models.QueryErrorInfosRsp": {
  27952. "type": "object",
  27953. "required": [
  27954. "errorid"
  27955. ],
  27956. "properties": {
  27957. "description": {
  27958. "description": "异常描述",
  27959. "type": "string"
  27960. },
  27961. "errorcode": {
  27962. "description": "异常代码",
  27963. "type": "string"
  27964. },
  27965. "errorid": {
  27966. "description": "异常ID",
  27967. "type": "integer"
  27968. },
  27969. "modulecode": {
  27970. "description": "所属模块",
  27971. "type": "string"
  27972. },
  27973. "operatecode": {
  27974. "description": "所属操作",
  27975. "type": "string"
  27976. },
  27977. "rownumber": {
  27978. "description": "行号",
  27979. "type": "string"
  27980. }
  27981. }
  27982. },
  27983. "models.QueryHedgeOrderDetailRsp": {
  27984. "type": "object",
  27985. "properties": {
  27986. "accountid": {
  27987. "description": "账户ID",
  27988. "type": "integer"
  27989. },
  27990. "buyorsell": {
  27991. "description": "买卖 - 0:买 1:卖",
  27992. "type": "integer"
  27993. },
  27994. "cancellogincode": {
  27995. "description": "撤单人",
  27996. "type": "string"
  27997. },
  27998. "channelbuildtype": {
  27999. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28000. "type": "integer"
  28001. },
  28002. "channelinnerorderstatus": {
  28003. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28004. "type": "integer"
  28005. },
  28006. "channeloperatetype": {
  28007. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28008. "type": "integer"
  28009. },
  28010. "closetype": {
  28011. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28012. "type": "integer"
  28013. },
  28014. "curexchangerate": {
  28015. "description": "当前汇率",
  28016. "type": "number"
  28017. },
  28018. "exchangefullname": {
  28019. "description": "外部交易所全称",
  28020. "type": "string"
  28021. },
  28022. "goodscode": {
  28023. "description": "商品代码(内部)",
  28024. "type": "string"
  28025. },
  28026. "goodsid": {
  28027. "description": "商品ID",
  28028. "type": "integer"
  28029. },
  28030. "goodsname": {
  28031. "description": "商品名称",
  28032. "type": "string"
  28033. },
  28034. "marketid": {
  28035. "description": "市场ID",
  28036. "type": "integer"
  28037. },
  28038. "openfreezemargin": {
  28039. "description": "冻结保证金(冻结交易金额)",
  28040. "type": "number"
  28041. },
  28042. "orderid": {
  28043. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28044. "type": "string"
  28045. },
  28046. "orderlogincode": {
  28047. "description": "委托人",
  28048. "type": "string"
  28049. },
  28050. "orderprice": {
  28051. "description": "委托价格(账户)",
  28052. "type": "number"
  28053. },
  28054. "orderqty": {
  28055. "description": "委托数量",
  28056. "type": "integer"
  28057. },
  28058. "ordertime": {
  28059. "description": "委托时间",
  28060. "type": "string"
  28061. },
  28062. "pricemode": {
  28063. "description": "取价方式 - 1:市价 2: 限价",
  28064. "type": "integer"
  28065. },
  28066. "tradedate": {
  28067. "description": "交易日(yyyyMMdd)",
  28068. "type": "string"
  28069. },
  28070. "tradeqty": {
  28071. "description": "成交数量",
  28072. "type": "integer"
  28073. }
  28074. }
  28075. },
  28076. "models.QueryHedgeTradeDetailRsp": {
  28077. "type": "object",
  28078. "properties": {
  28079. "accountid": {
  28080. "description": "账号ID",
  28081. "type": "integer"
  28082. },
  28083. "buyorsell": {
  28084. "description": "方向 - 0:买 1:卖",
  28085. "type": "integer"
  28086. },
  28087. "channelbuildtype": {
  28088. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28089. "type": "integer"
  28090. },
  28091. "closecharge": {
  28092. "description": "平仓手续费(账户)",
  28093. "type": "number"
  28094. },
  28095. "closecharge2": {
  28096. "description": "平仓手续费(商品)",
  28097. "type": "number"
  28098. },
  28099. "closepl": {
  28100. "description": "平仓盈亏(账户)",
  28101. "type": "number"
  28102. },
  28103. "closepl2": {
  28104. "description": "平仓盈亏(商品)",
  28105. "type": "number"
  28106. },
  28107. "closepl3": {
  28108. "description": "平仓盈亏(账户)(逐笔)",
  28109. "type": "number"
  28110. },
  28111. "closepl4": {
  28112. "description": "平仓盈亏(商品)(逐笔)",
  28113. "type": "number"
  28114. },
  28115. "closetype": {
  28116. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28117. "type": "integer"
  28118. },
  28119. "curexchangerate": {
  28120. "description": "当前汇率",
  28121. "type": "number"
  28122. },
  28123. "exchangefullname": {
  28124. "description": "外部交易所全称",
  28125. "type": "string"
  28126. },
  28127. "goodscode": {
  28128. "description": "商品代码(内部)",
  28129. "type": "string"
  28130. },
  28131. "goodsid": {
  28132. "description": "商品ID",
  28133. "type": "integer"
  28134. },
  28135. "goodsname": {
  28136. "description": "商品名称",
  28137. "type": "string"
  28138. },
  28139. "marketid": {
  28140. "description": "市场ID",
  28141. "type": "integer"
  28142. },
  28143. "opencharge": {
  28144. "description": "建仓手续费(账户)",
  28145. "type": "number"
  28146. },
  28147. "opencharge2": {
  28148. "description": "建仓手续费(商品)",
  28149. "type": "number"
  28150. },
  28151. "orderid": {
  28152. "description": "委托单号",
  28153. "type": "string"
  28154. },
  28155. "orderlogincode": {
  28156. "description": "委托人",
  28157. "type": "string"
  28158. },
  28159. "tradeamount": {
  28160. "description": "成交金额(账户)",
  28161. "type": "number"
  28162. },
  28163. "tradedate": {
  28164. "description": "交易日(yyyyMMdd)",
  28165. "type": "string"
  28166. },
  28167. "tradeid": {
  28168. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28169. "type": "string"
  28170. },
  28171. "tradeprice": {
  28172. "description": "成交价格",
  28173. "type": "number"
  28174. },
  28175. "tradeqty": {
  28176. "description": "成交数量",
  28177. "type": "integer"
  28178. },
  28179. "tradetime": {
  28180. "description": "成交时间",
  28181. "type": "string"
  28182. },
  28183. "tradetype": {
  28184. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28185. "type": "integer"
  28186. }
  28187. }
  28188. },
  28189. "models.QuotePrimaryMenu": {
  28190. "type": "object",
  28191. "properties": {
  28192. "Index": {
  28193. "description": "序号",
  28194. "type": "integer"
  28195. },
  28196. "Key": {
  28197. "description": "键名",
  28198. "type": "string"
  28199. },
  28200. "Name": {
  28201. "description": "菜单名称",
  28202. "type": "string"
  28203. },
  28204. "SubMenus": {
  28205. "description": "子菜单",
  28206. "type": "array",
  28207. "items": {
  28208. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28209. }
  28210. },
  28211. "SubTitleType": {
  28212. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28213. "type": "integer"
  28214. },
  28215. "TradeModes": {
  28216. "description": "包含市场交易类型",
  28217. "type": "string"
  28218. }
  28219. }
  28220. },
  28221. "models.QuoteSecondaryMenu": {
  28222. "type": "object",
  28223. "properties": {
  28224. "ExExchangeCode": {
  28225. "description": "外部交易所代码",
  28226. "type": "string"
  28227. },
  28228. "ExExchangeID": {
  28229. "description": "外部交易所ID",
  28230. "type": "integer"
  28231. },
  28232. "GoodsGroupIDs": {
  28233. "description": "商品组ID列表",
  28234. "type": "array",
  28235. "items": {
  28236. "type": "integer"
  28237. }
  28238. },
  28239. "Index": {
  28240. "description": "序号",
  28241. "type": "integer"
  28242. },
  28243. "MarketID": {
  28244. "description": "市场ID",
  28245. "type": "integer"
  28246. },
  28247. "MenuTitle": {
  28248. "description": "菜单标题(市场名称或外部交易所名称)",
  28249. "type": "string"
  28250. },
  28251. "TradeMode": {
  28252. "description": "交易模式",
  28253. "type": "integer"
  28254. }
  28255. }
  28256. },
  28257. "models.RoleMenu": {
  28258. "type": "object",
  28259. "properties": {
  28260. "hasright": {
  28261. "description": "是否有权限 0-没有权限 1-有权限",
  28262. "type": "integer"
  28263. },
  28264. "iconame": {
  28265. "description": "菜单图标",
  28266. "type": "string"
  28267. },
  28268. "menutype": {
  28269. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28270. "type": "integer"
  28271. },
  28272. "parentcode": {
  28273. "description": "上级资源代码",
  28274. "type": "string"
  28275. },
  28276. "remark": {
  28277. "description": "菜单备注",
  28278. "type": "string"
  28279. },
  28280. "resourcecode": {
  28281. "description": "菜单代码",
  28282. "type": "string"
  28283. },
  28284. "resourcelevel": {
  28285. "description": "级别",
  28286. "type": "integer"
  28287. },
  28288. "resourcename": {
  28289. "description": "菜单名称",
  28290. "type": "string"
  28291. },
  28292. "roleid": {
  28293. "description": "角色id",
  28294. "type": "integer"
  28295. },
  28296. "sort": {
  28297. "description": "排序",
  28298. "type": "integer"
  28299. },
  28300. "subMenu": {
  28301. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28302. "type": "array",
  28303. "items": {
  28304. "$ref": "#/definitions/models.RoleMenu"
  28305. }
  28306. },
  28307. "url": {
  28308. "description": "URL",
  28309. "type": "string"
  28310. },
  28311. "userid": {
  28312. "description": "用户id",
  28313. "type": "integer"
  28314. }
  28315. }
  28316. },
  28317. "models.SearchGoods": {
  28318. "type": "object",
  28319. "required": [
  28320. "goodscode",
  28321. "goodsid",
  28322. "goodsname",
  28323. "marketid",
  28324. "trademode"
  28325. ],
  28326. "properties": {
  28327. "goodscode": {
  28328. "description": "商品代码(内部)",
  28329. "type": "string"
  28330. },
  28331. "goodsid": {
  28332. "description": "商品ID(自增ID SEQ_GOODS)",
  28333. "type": "integer"
  28334. },
  28335. "goodsname": {
  28336. "description": "商品名称",
  28337. "type": "string"
  28338. },
  28339. "marketid": {
  28340. "description": "所属市场ID",
  28341. "type": "integer"
  28342. },
  28343. "marketname": {
  28344. "description": "市场名称",
  28345. "type": "string"
  28346. },
  28347. "trademode": {
  28348. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28349. "type": "integer"
  28350. }
  28351. }
  28352. },
  28353. "models.Systemparam": {
  28354. "type": "object",
  28355. "required": [
  28356. "paramcode"
  28357. ],
  28358. "properties": {
  28359. "loginid": {
  28360. "description": "更新用户账号,登录账号",
  28361. "type": "string"
  28362. },
  28363. "modifyflag": {
  28364. "description": "修改标志0 不允许修改 1 允许修改",
  28365. "type": "integer"
  28366. },
  28367. "paramcode": {
  28368. "description": "参数代码",
  28369. "type": "string"
  28370. },
  28371. "paramname": {
  28372. "description": "参数名",
  28373. "type": "string"
  28374. },
  28375. "paramtype": {
  28376. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28377. "type": "integer"
  28378. },
  28379. "paramvalue": {
  28380. "description": "参数值",
  28381. "type": "string"
  28382. },
  28383. "paramvalue2": {
  28384. "description": "参数值(CLOB)",
  28385. "type": "string"
  28386. },
  28387. "regexpress": {
  28388. "description": "正则表达式",
  28389. "type": "string"
  28390. },
  28391. "remark": {
  28392. "description": "备注",
  28393. "type": "string"
  28394. },
  28395. "serverip": {
  28396. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28397. "type": "string"
  28398. },
  28399. "showflag": {
  28400. "description": "是否显示0 不显示 1 显示",
  28401. "type": "integer"
  28402. },
  28403. "updatetime": {
  28404. "description": "更新时间",
  28405. "type": "string"
  28406. },
  28407. "userid": {
  28408. "description": "更新用户ID",
  28409. "type": "integer"
  28410. }
  28411. }
  28412. },
  28413. "models.Szdz3convertconfig": {
  28414. "type": "object",
  28415. "required": [
  28416. "converttype",
  28417. "innergoodsid",
  28418. "outergoodscode"
  28419. ],
  28420. "properties": {
  28421. "canin": {
  28422. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28423. "type": "integer"
  28424. },
  28425. "canout": {
  28426. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28427. "type": "integer"
  28428. },
  28429. "converttype": {
  28430. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28431. "type": "integer"
  28432. },
  28433. "createtime": {
  28434. "description": "创建时间",
  28435. "type": "string"
  28436. },
  28437. "creatorid": {
  28438. "description": "创建人",
  28439. "type": "integer"
  28440. },
  28441. "daymaxvalue": {
  28442. "description": "当日最大转入限制",
  28443. "type": "number"
  28444. },
  28445. "freezedays": {
  28446. "description": "冻结天数 [5:花生米转交易]",
  28447. "type": "integer"
  28448. },
  28449. "innergoodsid": {
  28450. "description": "内部商品ID[交易]",
  28451. "type": "integer"
  28452. },
  28453. "inratio": {
  28454. "description": "目标值",
  28455. "type": "integer"
  28456. },
  28457. "modifierid": {
  28458. "description": "修改人",
  28459. "type": "integer"
  28460. },
  28461. "modifytime": {
  28462. "description": "修改时间",
  28463. "type": "string"
  28464. },
  28465. "outergoodscode": {
  28466. "description": "外部商品代码[JD\\PD]",
  28467. "type": "string"
  28468. },
  28469. "outratio": {
  28470. "description": "源值",
  28471. "type": "integer"
  28472. },
  28473. "pddecimalplace": {
  28474. "description": "PD小数位",
  28475. "type": "integer"
  28476. },
  28477. "timemaxvalue": {
  28478. "description": "单次最大转入限制",
  28479. "type": "number"
  28480. },
  28481. "timeminvalue": {
  28482. "description": "单次最小转入限制",
  28483. "type": "number"
  28484. }
  28485. }
  28486. },
  28487. "models.Szdz3searchwhitelist": {
  28488. "type": "object",
  28489. "required": [
  28490. "userid"
  28491. ],
  28492. "properties": {
  28493. "createtime": {
  28494. "description": "创建时间",
  28495. "type": "string"
  28496. },
  28497. "creatorid": {
  28498. "description": "创建人",
  28499. "type": "integer"
  28500. },
  28501. "modifierid": {
  28502. "description": "修改人",
  28503. "type": "integer"
  28504. },
  28505. "modifytime": {
  28506. "description": "修改时间",
  28507. "type": "string"
  28508. },
  28509. "userid": {
  28510. "description": "用户ID",
  28511. "type": "integer"
  28512. }
  28513. }
  28514. },
  28515. "models.Taaccount": {
  28516. "type": "object",
  28517. "required": [
  28518. "accountid",
  28519. "userid"
  28520. ],
  28521. "properties": {
  28522. "accountflag": {
  28523. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28524. "type": "integer"
  28525. },
  28526. "accountid": {
  28527. "description": "资金账户ID",
  28528. "type": "integer"
  28529. },
  28530. "accountname": {
  28531. "description": "账户名称",
  28532. "type": "string"
  28533. },
  28534. "balance": {
  28535. "description": "期初余额",
  28536. "type": "number"
  28537. },
  28538. "capitalbalance": {
  28539. "description": "本金余额[外部子账户实际出入金余额]",
  28540. "type": "number"
  28541. },
  28542. "changeflag": {
  28543. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28544. "type": "integer"
  28545. },
  28546. "changetime": {
  28547. "description": "账户状态变更时间",
  28548. "type": "string"
  28549. },
  28550. "closepl": {
  28551. "description": "今日平仓盈亏",
  28552. "type": "number"
  28553. },
  28554. "creditdecrease": {
  28555. "description": "今日授信减少",
  28556. "type": "number"
  28557. },
  28558. "creditincrease": {
  28559. "description": "今日授信增加",
  28560. "type": "number"
  28561. },
  28562. "curamount": {
  28563. "description": "总市值(从持仓中统计)",
  28564. "type": "number"
  28565. },
  28566. "currencyid": {
  28567. "description": "货币ID",
  28568. "type": "integer"
  28569. },
  28570. "currentbalance": {
  28571. "description": "期末余额",
  28572. "type": "number"
  28573. },
  28574. "freezecharge": {
  28575. "description": "手续费冻结",
  28576. "type": "number"
  28577. },
  28578. "freezemargin": {
  28579. "description": "冻结保证金",
  28580. "type": "number"
  28581. },
  28582. "fromaccountid": {
  28583. "description": "所属上级账户",
  28584. "type": "integer"
  28585. },
  28586. "inamount": {
  28587. "description": "今日入金金额(包括三方入金)",
  28588. "type": "number"
  28589. },
  28590. "ismain": {
  28591. "description": "是否母账号 0:不是母账户 1:是母账户",
  28592. "type": "integer"
  28593. },
  28594. "ismarketaccount": {
  28595. "description": "是否机构接单账号 0:不是 1:是",
  28596. "type": "integer"
  28597. },
  28598. "isreckonaccount": {
  28599. "description": "是否机构分润账号 0:不是 1:是",
  28600. "type": "integer"
  28601. },
  28602. "mortgagecredit": {
  28603. "description": "授信金额",
  28604. "type": "number"
  28605. },
  28606. "orifreezecharge": {
  28607. "description": "期初手续费冻结",
  28608. "type": "number"
  28609. },
  28610. "orifreezemargin": {
  28611. "description": "期初冻结保证金",
  28612. "type": "number"
  28613. },
  28614. "orimortgagecredit": {
  28615. "description": "期初授信金额",
  28616. "type": "number"
  28617. },
  28618. "oriothercredit": {
  28619. "description": "期初其它授信金额",
  28620. "type": "number"
  28621. },
  28622. "oriotherfreezemargin": {
  28623. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28624. "type": "number"
  28625. },
  28626. "orioutamountfreeze": {
  28627. "description": "期初出金冻结",
  28628. "type": "number"
  28629. },
  28630. "oriusedmargin": {
  28631. "description": "期初占用保证金",
  28632. "type": "number"
  28633. },
  28634. "othercredit": {
  28635. "description": "其它授信金额",
  28636. "type": "number"
  28637. },
  28638. "othercreditdecrease": {
  28639. "description": "今日其它授信减少",
  28640. "type": "number"
  28641. },
  28642. "othercreditincrease": {
  28643. "description": "今日其它授信增加",
  28644. "type": "number"
  28645. },
  28646. "otherfreezemargin": {
  28647. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28648. "type": "number"
  28649. },
  28650. "otherincome": {
  28651. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28652. "type": "number"
  28653. },
  28654. "otherpay": {
  28655. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28656. "type": "number"
  28657. },
  28658. "outamount": {
  28659. "description": "今日出金金额(包括三方出金)",
  28660. "type": "number"
  28661. },
  28662. "outamountfreeze": {
  28663. "description": "出金冻结",
  28664. "type": "number"
  28665. },
  28666. "outthreshold": {
  28667. "description": "出金阈值",
  28668. "type": "number"
  28669. },
  28670. "parentaccountid": {
  28671. "description": "所属根账号",
  28672. "type": "integer"
  28673. },
  28674. "paycharge": {
  28675. "description": "今日手续费支出",
  28676. "type": "number"
  28677. },
  28678. "relatedaccountstatus": {
  28679. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28680. "type": "integer"
  28681. },
  28682. "relateduserid": {
  28683. "description": "关联用户",
  28684. "type": "integer"
  28685. },
  28686. "remainamount": {
  28687. "description": "融资额(从融资合同中统计)",
  28688. "type": "number"
  28689. },
  28690. "serivcegroup": {
  28691. "description": "服务分组",
  28692. "type": "integer"
  28693. },
  28694. "signstatus": {
  28695. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28696. "type": "integer"
  28697. },
  28698. "sublevelpath": {
  28699. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28700. "type": "string"
  28701. },
  28702. "taaccounttype": {
  28703. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28704. "type": "integer"
  28705. },
  28706. "thirdinamount": {
  28707. "description": "今日三方入金",
  28708. "type": "number"
  28709. },
  28710. "thirdoutamount": {
  28711. "description": "今日三方出金",
  28712. "type": "number"
  28713. },
  28714. "tradestatus": {
  28715. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28716. "type": "integer"
  28717. },
  28718. "tradestatuschangetime": {
  28719. "description": "激活时间",
  28720. "type": "string"
  28721. },
  28722. "transferamount": {
  28723. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28724. "type": "number"
  28725. },
  28726. "usedmargin": {
  28727. "description": "占用保证金",
  28728. "type": "number"
  28729. },
  28730. "userid": {
  28731. "description": "用户ID",
  28732. "type": "integer"
  28733. }
  28734. }
  28735. },
  28736. "models.Tablecolumnconfig": {
  28737. "type": "object",
  28738. "required": [
  28739. "autoid"
  28740. ],
  28741. "properties": {
  28742. "aligntype": {
  28743. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28744. "type": "integer"
  28745. },
  28746. "autoid": {
  28747. "description": "AutoID",
  28748. "type": "integer"
  28749. },
  28750. "columnfield": {
  28751. "description": "列字段",
  28752. "type": "string"
  28753. },
  28754. "columntitle": {
  28755. "description": "列Title",
  28756. "type": "string"
  28757. },
  28758. "columnwidth": {
  28759. "description": "列宽",
  28760. "type": "string"
  28761. },
  28762. "formatterstring": {
  28763. "description": "格式化字符",
  28764. "type": "string"
  28765. },
  28766. "formattertype": {
  28767. "description": "格式化类型",
  28768. "type": "string"
  28769. },
  28770. "groupname": {
  28771. "description": "表头分组名称",
  28772. "type": "string"
  28773. },
  28774. "isshow": {
  28775. "description": "是否显示 - 0:不显示 1:显示",
  28776. "type": "integer"
  28777. },
  28778. "needsummary": {
  28779. "description": "是否需要汇总 - 0:不需要 1:需要",
  28780. "type": "integer"
  28781. },
  28782. "orderindex": {
  28783. "description": "顺序",
  28784. "type": "integer"
  28785. },
  28786. "remark": {
  28787. "description": "备注",
  28788. "type": "string"
  28789. },
  28790. "summarytype": {
  28791. "description": "汇总类型 - 1:加总 2:最后一个",
  28792. "type": "integer"
  28793. },
  28794. "tablekey": {
  28795. "description": "列表Key",
  28796. "type": "string"
  28797. }
  28798. }
  28799. },
  28800. "models.UserCollectConfig": {
  28801. "type": "object",
  28802. "properties": {
  28803. "accountstatus": {
  28804. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28805. "type": "integer"
  28806. },
  28807. "collectaccountname": {
  28808. "description": "收款人账户名称",
  28809. "type": "string"
  28810. },
  28811. "collectaccountno": {
  28812. "description": "收款人账户",
  28813. "type": "string"
  28814. },
  28815. "collectbankname": {
  28816. "description": "收款人开户行",
  28817. "type": "string"
  28818. },
  28819. "collectbranchbankname": {
  28820. "description": "收款人开户支行",
  28821. "type": "string"
  28822. },
  28823. "collectconfigid": {
  28824. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  28825. "type": "string"
  28826. },
  28827. "remark": {
  28828. "description": "备注",
  28829. "type": "string"
  28830. },
  28831. "userid": {
  28832. "description": "收款人用户ID",
  28833. "type": "integer"
  28834. }
  28835. }
  28836. },
  28837. "models.UserReceiveInfo": {
  28838. "type": "object",
  28839. "properties": {
  28840. "address": {
  28841. "description": "提货人详细地址",
  28842. "type": "string"
  28843. },
  28844. "autoid": {
  28845. "description": "AutoID",
  28846. "type": "integer"
  28847. },
  28848. "cardnum": {
  28849. "description": "证件号码(加密存储)",
  28850. "type": "string"
  28851. },
  28852. "cardtypeid": {
  28853. "description": "证件类型",
  28854. "type": "integer"
  28855. },
  28856. "cityid": {
  28857. "description": "市",
  28858. "type": "integer"
  28859. },
  28860. "cityname": {
  28861. "description": "城市名称",
  28862. "type": "string"
  28863. },
  28864. "countryid": {
  28865. "description": "国家",
  28866. "type": "integer"
  28867. },
  28868. "countryname": {
  28869. "description": "国家名称",
  28870. "type": "string"
  28871. },
  28872. "districtid": {
  28873. "description": "地区",
  28874. "type": "integer"
  28875. },
  28876. "districtname": {
  28877. "description": "地区名称",
  28878. "type": "string"
  28879. },
  28880. "hasencrypt": {
  28881. "description": "数据是否已加密 - 0:未加密 1:已加密",
  28882. "type": "integer"
  28883. },
  28884. "isdefault": {
  28885. "description": "是否默认地址 - 0:否 1:是",
  28886. "type": "integer"
  28887. },
  28888. "phonenum": {
  28889. "description": "提货人联系方式(加密存储)",
  28890. "type": "string"
  28891. },
  28892. "provinceid": {
  28893. "description": "省",
  28894. "type": "integer"
  28895. },
  28896. "provincename": {
  28897. "description": "省名称",
  28898. "type": "string"
  28899. },
  28900. "receivername": {
  28901. "description": "提货人姓名",
  28902. "type": "string"
  28903. },
  28904. "takeremark": {
  28905. "description": "提货备注",
  28906. "type": "string"
  28907. },
  28908. "userid": {
  28909. "description": "用户ID",
  28910. "type": "integer"
  28911. }
  28912. }
  28913. },
  28914. "models.Useraccount": {
  28915. "type": "object",
  28916. "required": [
  28917. "userid"
  28918. ],
  28919. "properties": {
  28920. "accountname": {
  28921. "description": "账户名称(机构名称)",
  28922. "type": "string"
  28923. },
  28924. "accountstatus": {
  28925. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28926. "type": "integer"
  28927. },
  28928. "applysrc": {
  28929. "description": "申请来源 - 1:管理端 2:终端",
  28930. "type": "integer"
  28931. },
  28932. "auditremark": {
  28933. "description": "审核备注",
  28934. "type": "string"
  28935. },
  28936. "auditsrc": {
  28937. "description": "审核来源 - 1:管理端 2:终端",
  28938. "type": "integer"
  28939. },
  28940. "audittime": {
  28941. "description": "审核时间",
  28942. "type": "string"
  28943. },
  28944. "audituserid": {
  28945. "description": "审核人",
  28946. "type": "integer"
  28947. },
  28948. "broker": {
  28949. "description": "所属经纪人ID",
  28950. "type": "integer"
  28951. },
  28952. "canceltime": {
  28953. "description": "销户时间",
  28954. "type": "string"
  28955. },
  28956. "canceluserid": {
  28957. "description": "销户人",
  28958. "type": "integer"
  28959. },
  28960. "canrecommend": {
  28961. "description": "是否可推荐 - 0:不可 1;可",
  28962. "type": "integer"
  28963. },
  28964. "createtime": {
  28965. "description": "创建时间",
  28966. "type": "string"
  28967. },
  28968. "creatorid": {
  28969. "description": "创建人",
  28970. "type": "integer"
  28971. },
  28972. "hasauth": {
  28973. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  28974. "type": "integer"
  28975. },
  28976. "isanonymous": {
  28977. "description": "是否匿名下单 - 0:否 1:是",
  28978. "type": "integer"
  28979. },
  28980. "maxinvestornum": {
  28981. "description": "最大用户数(经纪会员下投资者个数)",
  28982. "type": "integer"
  28983. },
  28984. "memberuserid": {
  28985. "description": "所属会员ID",
  28986. "type": "integer"
  28987. },
  28988. "modifierid": {
  28989. "description": "修改人",
  28990. "type": "integer"
  28991. },
  28992. "modifyremark": {
  28993. "description": "变更备注",
  28994. "type": "string"
  28995. },
  28996. "modifystatus": {
  28997. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  28998. "type": "integer"
  28999. },
  29000. "modifytime": {
  29001. "description": "修改时间",
  29002. "type": "string"
  29003. },
  29004. "parenttopuser": {
  29005. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29006. "type": "string"
  29007. },
  29008. "parentuserid": {
  29009. "description": "所属机构ID",
  29010. "type": "integer"
  29011. },
  29012. "reckonaccountid": {
  29013. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29014. "type": "integer"
  29015. },
  29016. "refercount": {
  29017. "description": "推荐总人数",
  29018. "type": "integer"
  29019. },
  29020. "refereeuserid": {
  29021. "description": "推荐人ID",
  29022. "type": "integer"
  29023. },
  29024. "refernum": {
  29025. "description": "推荐码",
  29026. "type": "string"
  29027. },
  29028. "rootuserid": {
  29029. "description": "根用户ID",
  29030. "type": "integer"
  29031. },
  29032. "subaccountlevel": {
  29033. "description": "子账户层数",
  29034. "type": "integer"
  29035. },
  29036. "subarealevelpath": {
  29037. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29038. "type": "string"
  29039. },
  29040. "userid": {
  29041. "description": "用户ID",
  29042. "type": "integer"
  29043. },
  29044. "usertype": {
  29045. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29046. "type": "integer"
  29047. }
  29048. }
  29049. },
  29050. "models.Userfavoritegoods": {
  29051. "type": "object",
  29052. "required": [
  29053. "goodsid"
  29054. ],
  29055. "properties": {
  29056. "goodsid": {
  29057. "description": "商品ID",
  29058. "type": "integer"
  29059. }
  29060. }
  29061. },
  29062. "models.Userinfo": {
  29063. "type": "object",
  29064. "required": [
  29065. "userid"
  29066. ],
  29067. "properties": {
  29068. "address": {
  29069. "description": "地址",
  29070. "type": "string"
  29071. },
  29072. "attachment1": {
  29073. "description": "附件1",
  29074. "type": "string"
  29075. },
  29076. "attachment2": {
  29077. "description": "附件2",
  29078. "type": "string"
  29079. },
  29080. "bankaccount": {
  29081. "description": "银行帐号 (加密存储)",
  29082. "type": "string"
  29083. },
  29084. "bankaccountname": {
  29085. "description": "收款人名称",
  29086. "type": "string"
  29087. },
  29088. "bankcardfrontphotourl": {
  29089. "description": "银行卡正面照地址",
  29090. "type": "string"
  29091. },
  29092. "bankid": {
  29093. "description": "银行编码",
  29094. "type": "string"
  29095. },
  29096. "bankname": {
  29097. "description": "银行名称",
  29098. "type": "string"
  29099. },
  29100. "biznature": {
  29101. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29102. "type": "integer"
  29103. },
  29104. "bizscope": {
  29105. "description": "企业经营范围(企业)",
  29106. "type": "string"
  29107. },
  29108. "cardbackphotourl": {
  29109. "description": "证件背面图片地址",
  29110. "type": "string"
  29111. },
  29112. "cardfrontphotourl": {
  29113. "description": "证件正面图片地址",
  29114. "type": "string"
  29115. },
  29116. "cardnum": {
  29117. "description": "证件号码(加密存储)",
  29118. "type": "string"
  29119. },
  29120. "cardtypeid": {
  29121. "description": "证件类型ID",
  29122. "type": "integer"
  29123. },
  29124. "cityid": {
  29125. "description": "市",
  29126. "type": "integer"
  29127. },
  29128. "company": {
  29129. "description": "公司(个人)",
  29130. "type": "string"
  29131. },
  29132. "contactname": {
  29133. "description": "联系人",
  29134. "type": "string"
  29135. },
  29136. "countryid": {
  29137. "description": "国家",
  29138. "type": "integer"
  29139. },
  29140. "createtime": {
  29141. "description": "创建时间",
  29142. "type": "string"
  29143. },
  29144. "creatorid": {
  29145. "description": "创建人",
  29146. "type": "integer"
  29147. },
  29148. "customername": {
  29149. "description": "客户名称(企业名称)",
  29150. "type": "string"
  29151. },
  29152. "districtid": {
  29153. "description": "地区",
  29154. "type": "integer"
  29155. },
  29156. "email": {
  29157. "description": "邮件(加密存储)",
  29158. "type": "string"
  29159. },
  29160. "fax": {
  29161. "description": "传真(加密存储)",
  29162. "type": "string"
  29163. },
  29164. "halfbodyphotourl": {
  29165. "description": "半身照地址",
  29166. "type": "string"
  29167. },
  29168. "hasencrypt": {
  29169. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29170. "type": "integer"
  29171. },
  29172. "headurl": {
  29173. "description": "头像地址",
  29174. "type": "string"
  29175. },
  29176. "legalcardbackphotourl": {
  29177. "description": "法人身份证背面照地址",
  29178. "type": "string"
  29179. },
  29180. "legalcardfrontphotourl": {
  29181. "description": "法人身份证正面照地址",
  29182. "type": "string"
  29183. },
  29184. "legalpersonname": {
  29185. "description": "法人姓名(企业)",
  29186. "type": "string"
  29187. },
  29188. "mobile": {
  29189. "description": "手机号码(加密存储)",
  29190. "type": "string"
  29191. },
  29192. "mobile2": {
  29193. "description": "手机号码[明文-尚志]",
  29194. "type": "string"
  29195. },
  29196. "modifierid": {
  29197. "description": "修改人",
  29198. "type": "integer"
  29199. },
  29200. "modifiertime": {
  29201. "description": "修改时间",
  29202. "type": "string"
  29203. },
  29204. "needinvoice": {
  29205. "description": "是否需要发票 - 0:不需要 1:需要",
  29206. "type": "integer"
  29207. },
  29208. "nickname": {
  29209. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29210. "type": "string"
  29211. },
  29212. "openmode": {
  29213. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29214. "type": "integer"
  29215. },
  29216. "otherurl": {
  29217. "description": "其它图片地址[使用分号分隔]",
  29218. "type": "string"
  29219. },
  29220. "postalcode": {
  29221. "description": "邮政编码",
  29222. "type": "string"
  29223. },
  29224. "provinceid": {
  29225. "description": "省",
  29226. "type": "integer"
  29227. },
  29228. "qq": {
  29229. "description": "QQ(加密存储",
  29230. "type": "string"
  29231. },
  29232. "remark": {
  29233. "description": "备注",
  29234. "type": "string"
  29235. },
  29236. "sex": {
  29237. "description": "用户性别 0: 女 1: 男",
  29238. "type": "integer"
  29239. },
  29240. "signpdfurl": {
  29241. "description": "签约pdf文件",
  29242. "type": "string"
  29243. },
  29244. "telphone": {
  29245. "description": "联系电话(加密存储)",
  29246. "type": "string"
  29247. },
  29248. "userid": {
  29249. "description": "用户ID",
  29250. "type": "integer"
  29251. },
  29252. "userinfotype": {
  29253. "description": "用户信息类型 - 1:个人 2:企业",
  29254. "type": "integer"
  29255. },
  29256. "userstatus": {
  29257. "description": "用户状态 - 1:正常 2:注销",
  29258. "type": "integer"
  29259. },
  29260. "usertype": {
  29261. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29262. "type": "integer"
  29263. },
  29264. "wechat": {
  29265. "description": "微信(加密存储)",
  29266. "type": "string"
  29267. },
  29268. "wskhinfo": {
  29269. "description": "开户申请信息(JSON)",
  29270. "type": "string"
  29271. }
  29272. }
  29273. },
  29274. "models.WRSConverTDetail": {
  29275. "type": "object",
  29276. "properties": {
  29277. "convertratio": {
  29278. "description": "套保系数",
  29279. "type": "number"
  29280. },
  29281. "deliverygoodscode": {
  29282. "description": "现货商品代码",
  29283. "type": "string"
  29284. },
  29285. "deliverygoodsid": {
  29286. "description": "现货品种ID",
  29287. "type": "integer"
  29288. },
  29289. "deliverygoodsname": {
  29290. "description": "现货商品名称",
  29291. "type": "string"
  29292. },
  29293. "enumdicname": {
  29294. "description": "单位名称",
  29295. "type": "string"
  29296. },
  29297. "goodsunitid": {
  29298. "description": "套保品种单位id",
  29299. "type": "integer"
  29300. },
  29301. "middlegoodscode": {
  29302. "description": "套保品种代码",
  29303. "type": "string"
  29304. },
  29305. "middlegoodsid": {
  29306. "description": "套保品种ID",
  29307. "type": "integer"
  29308. },
  29309. "middlegoodsname": {
  29310. "description": "套保品种名称",
  29311. "type": "string"
  29312. },
  29313. "modifytime": {
  29314. "description": "修改时间",
  29315. "type": "string"
  29316. },
  29317. "wrstandardid": {
  29318. "description": "品类ID",
  29319. "type": "integer"
  29320. }
  29321. }
  29322. },
  29323. "models.WRStandardInfo": {
  29324. "type": "object",
  29325. "required": [
  29326. "wrstandardid"
  29327. ],
  29328. "properties": {
  29329. "areauserid": {
  29330. "description": "所属机构",
  29331. "type": "integer"
  29332. },
  29333. "convertfactor": {
  29334. "description": "标仓系数",
  29335. "type": "number"
  29336. },
  29337. "createtime": {
  29338. "description": "创建时间",
  29339. "type": "string"
  29340. },
  29341. "creatorid": {
  29342. "description": "创建人",
  29343. "type": "integer"
  29344. },
  29345. "deliverygoodsid": {
  29346. "description": "品种ID",
  29347. "type": "integer"
  29348. },
  29349. "deliverygoodsname": {
  29350. "description": "交割商品名称",
  29351. "type": "string"
  29352. },
  29353. "factoryitemjson": {
  29354. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29355. "type": "string"
  29356. },
  29357. "isvalid": {
  29358. "description": "是否有效 - 0:无效 1:有效",
  29359. "type": "integer"
  29360. },
  29361. "minivalue": {
  29362. "description": "最小变动值",
  29363. "type": "integer"
  29364. },
  29365. "minivaluedp": {
  29366. "description": "最小变动值小数位",
  29367. "type": "integer"
  29368. },
  29369. "realminivalue": {
  29370. "description": "实际最小变动值",
  29371. "type": "integer"
  29372. },
  29373. "realminivaluedp": {
  29374. "description": "实际最小变动值小数位",
  29375. "type": "integer"
  29376. },
  29377. "remark": {
  29378. "description": "备注",
  29379. "type": "string"
  29380. },
  29381. "unitid": {
  29382. "description": "单位ID",
  29383. "type": "integer"
  29384. },
  29385. "unitname": {
  29386. "description": "单位",
  29387. "type": "string"
  29388. },
  29389. "updatetime": {
  29390. "description": "更新时间",
  29391. "type": "string"
  29392. },
  29393. "updatorid": {
  29394. "description": "更新人",
  29395. "type": "integer"
  29396. },
  29397. "wrsstatus": {
  29398. "description": "状态 - 作废 - 0:未激活 1:正常",
  29399. "type": "integer"
  29400. },
  29401. "wrstandardcode": {
  29402. "description": "现货品类代码",
  29403. "type": "string"
  29404. },
  29405. "wrstandardid": {
  29406. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29407. "type": "integer"
  29408. },
  29409. "wrstandardname": {
  29410. "description": "现货品类名称",
  29411. "type": "string"
  29412. }
  29413. }
  29414. },
  29415. "models.Warehouseinfo": {
  29416. "type": "object",
  29417. "required": [
  29418. "autoid",
  29419. "warehousecode"
  29420. ],
  29421. "properties": {
  29422. "address": {
  29423. "description": "详细地址",
  29424. "type": "string"
  29425. },
  29426. "areauserid": {
  29427. "description": "所属机构",
  29428. "type": "integer"
  29429. },
  29430. "autoid": {
  29431. "description": "自增ID",
  29432. "type": "integer"
  29433. },
  29434. "cityid": {
  29435. "description": "市",
  29436. "type": "integer"
  29437. },
  29438. "contactname": {
  29439. "description": "联系人",
  29440. "type": "string"
  29441. },
  29442. "contactnum": {
  29443. "description": "联系电话",
  29444. "type": "string"
  29445. },
  29446. "countryid": {
  29447. "description": "国家",
  29448. "type": "integer"
  29449. },
  29450. "createtime": {
  29451. "description": "创建时间",
  29452. "type": "string"
  29453. },
  29454. "districtid": {
  29455. "description": "区",
  29456. "type": "integer"
  29457. },
  29458. "hasvideo": {
  29459. "description": "是否有视频 - 0:无 1:有",
  29460. "type": "integer"
  29461. },
  29462. "provinceid": {
  29463. "description": "省",
  29464. "type": "integer"
  29465. },
  29466. "remark": {
  29467. "description": "审核备注",
  29468. "type": "string"
  29469. },
  29470. "videourl": {
  29471. "description": "视频地址",
  29472. "type": "string"
  29473. },
  29474. "warehousecode": {
  29475. "description": "仓库代码",
  29476. "type": "string"
  29477. },
  29478. "warehousename": {
  29479. "description": "仓库名称",
  29480. "type": "string"
  29481. },
  29482. "warehousestatus": {
  29483. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29484. "type": "integer"
  29485. },
  29486. "warehousetype": {
  29487. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29488. "type": "integer"
  29489. }
  29490. }
  29491. },
  29492. "models.WrFAProductDetail": {
  29493. "type": "object",
  29494. "properties": {
  29495. "accountid": {
  29496. "description": "资金账号",
  29497. "type": "integer"
  29498. },
  29499. "areauserid": {
  29500. "description": "金融机构ID",
  29501. "type": "integer"
  29502. },
  29503. "financingdays": {
  29504. "description": "天数(天)",
  29505. "type": "integer"
  29506. },
  29507. "interestminlen": {
  29508. "description": "最小起息天数",
  29509. "type": "integer"
  29510. },
  29511. "interestrate": {
  29512. "description": "利率",
  29513. "type": "number"
  29514. },
  29515. "interestratemode": {
  29516. "description": "利率方式 - 1:年利率 2:日利率",
  29517. "type": "integer"
  29518. },
  29519. "interestsettlemode": {
  29520. "description": "结息方式 - 1:按日结息 3:按月结息",
  29521. "type": "integer"
  29522. },
  29523. "interestsettlevalue": {
  29524. "description": "结息方式值",
  29525. "type": "integer"
  29526. },
  29527. "isautoloan": {
  29528. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  29529. "type": "integer"
  29530. },
  29531. "marginratio": {
  29532. "description": "保证金比率质押率 - [仓单质押]",
  29533. "type": "number"
  29534. },
  29535. "productdetailid": {
  29536. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  29537. "type": "integer"
  29538. },
  29539. "productid": {
  29540. "description": "金融产品ID",
  29541. "type": "integer"
  29542. },
  29543. "productname": {
  29544. "description": "产品名称",
  29545. "type": "string"
  29546. },
  29547. "updatetime": {
  29548. "description": "更新时间",
  29549. "type": "string"
  29550. },
  29551. "username": {
  29552. "description": "融出方",
  29553. "type": "string"
  29554. },
  29555. "wrfactortypeid": {
  29556. "description": "仓单要素ID",
  29557. "type": "string"
  29558. }
  29559. }
  29560. },
  29561. "models.WrFactorTypeInfo": {
  29562. "type": "object",
  29563. "properties": {
  29564. "deliverygoodscode": {
  29565. "description": "品种代码",
  29566. "type": "string"
  29567. },
  29568. "deliverygoodsname": {
  29569. "description": "品种名称",
  29570. "type": "string"
  29571. },
  29572. "dgfactoryitemid": {
  29573. "description": "选择项id",
  29574. "type": "integer"
  29575. },
  29576. "dgfactoryitemtypeid": {
  29577. "description": "要素选择项ID (1-仓库 2-品牌)",
  29578. "type": "integer"
  29579. },
  29580. "dgfactoryitemvalue": {
  29581. "description": "要素项值",
  29582. "type": "string"
  29583. },
  29584. "itemtypename": {
  29585. "description": "要素项名称",
  29586. "type": "string"
  29587. },
  29588. "optioncompare": {
  29589. "description": "选择比较串",
  29590. "type": "string"
  29591. },
  29592. "warehouseid": {
  29593. "description": "仓库id",
  29594. "type": "integer"
  29595. },
  29596. "wrfactortypeid": {
  29597. "description": "仓单要素ID",
  29598. "type": "string"
  29599. },
  29600. "wrfactortypename": {
  29601. "description": "要素名称",
  29602. "type": "string"
  29603. },
  29604. "wrfactortypename2": {
  29605. "description": "要素名称(不含仓库)",
  29606. "type": "string"
  29607. },
  29608. "wrstandardcode": {
  29609. "description": "品类代码",
  29610. "type": "string"
  29611. },
  29612. "wrstandardid": {
  29613. "description": "品类id",
  29614. "type": "integer"
  29615. },
  29616. "wrstandardname": {
  29617. "description": "品类名称",
  29618. "type": "string"
  29619. }
  29620. }
  29621. },
  29622. "models.WrFilterItem": {
  29623. "type": "object",
  29624. "properties": {
  29625. "itemcode": {
  29626. "description": "代码",
  29627. "type": "string"
  29628. },
  29629. "itemid": {
  29630. "description": "项id",
  29631. "type": "integer"
  29632. },
  29633. "itemname": {
  29634. "description": "名称",
  29635. "type": "string"
  29636. },
  29637. "itemtype": {
  29638. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29639. "type": "integer"
  29640. }
  29641. }
  29642. },
  29643. "models.WrGoodsInfo": {
  29644. "type": "object",
  29645. "properties": {
  29646. "haswr": {
  29647. "description": "0:仓单预售 1:仓单贸易",
  29648. "type": "integer"
  29649. },
  29650. "lstitem": {
  29651. "description": "商品信息项",
  29652. "type": "array",
  29653. "items": {
  29654. "$ref": "#/definitions/models.WrTypeItem"
  29655. }
  29656. },
  29657. "lststep": {
  29658. "description": "履约规则",
  29659. "type": "array",
  29660. "items": {
  29661. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29662. }
  29663. },
  29664. "marketid": {
  29665. "description": "市场id",
  29666. "type": "integer"
  29667. }
  29668. }
  29669. },
  29670. "models.WrGoodsPerformanceStep": {
  29671. "type": "object",
  29672. "properties": {
  29673. "autoid": {
  29674. "description": "AutoID",
  29675. "type": "integer"
  29676. },
  29677. "isauto": {
  29678. "description": "是否自动 - 0:不自动 1:自动",
  29679. "type": "integer"
  29680. },
  29681. "remark": {
  29682. "description": "备注",
  29683. "type": "string"
  29684. },
  29685. "stepdate": {
  29686. "description": "天数信息(T+N)",
  29687. "type": "string"
  29688. },
  29689. "stepdays": {
  29690. "description": "距离上一步天数",
  29691. "type": "integer"
  29692. },
  29693. "stepindex": {
  29694. "description": "步骤序号",
  29695. "type": "integer"
  29696. },
  29697. "stepinfo": {
  29698. "description": "步骤信息(步骤名称+步骤值)",
  29699. "type": "string"
  29700. },
  29701. "steptypeid": {
  29702. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29703. "type": "integer"
  29704. },
  29705. "steptypename": {
  29706. "description": "步骤名称",
  29707. "type": "string"
  29708. },
  29709. "stepvalue": {
  29710. "description": "步骤值",
  29711. "type": "number"
  29712. },
  29713. "templateid": {
  29714. "description": "履约计划模板ID",
  29715. "type": "integer"
  29716. }
  29717. }
  29718. },
  29719. "models.WrHoldLB": {
  29720. "type": "object",
  29721. "properties": {
  29722. "accountid": {
  29723. "description": "持有人帐户ID",
  29724. "type": "integer"
  29725. },
  29726. "createtime": {
  29727. "description": "创建时间(过户时间)",
  29728. "type": "string"
  29729. },
  29730. "deliverygoodscode": {
  29731. "description": "品种代码",
  29732. "type": "string"
  29733. },
  29734. "deliverygoodsid": {
  29735. "description": "品种ID",
  29736. "type": "integer"
  29737. },
  29738. "deliverygoodsname": {
  29739. "description": "品种名称",
  29740. "type": "string"
  29741. },
  29742. "enableqty": {
  29743. "description": "可用数量",
  29744. "type": "number"
  29745. },
  29746. "enumdicname": {
  29747. "description": "单位名称",
  29748. "type": "string"
  29749. },
  29750. "freezerqty": {
  29751. "description": "冻结数量",
  29752. "type": "number"
  29753. },
  29754. "ladingbillid": {
  29755. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29756. "type": "string"
  29757. },
  29758. "minivalue": {
  29759. "description": "现货商品最小变动值",
  29760. "type": "integer"
  29761. },
  29762. "optioncompare": {
  29763. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29764. "type": "string"
  29765. },
  29766. "parentsubnum": {
  29767. "description": "拆分父子单号",
  29768. "type": "integer"
  29769. },
  29770. "pledgeqty": {
  29771. "description": "质押数量",
  29772. "type": "number"
  29773. },
  29774. "qty": {
  29775. "description": "数量",
  29776. "type": "number"
  29777. },
  29778. "subnum": {
  29779. "description": "提单子单号",
  29780. "type": "integer"
  29781. },
  29782. "tradedate": {
  29783. "description": "交易日(yyyyMMdd)",
  29784. "type": "string"
  29785. },
  29786. "userid": {
  29787. "description": "持有人ID",
  29788. "type": "integer"
  29789. },
  29790. "warehouseid": {
  29791. "description": "仓库ID",
  29792. "type": "integer"
  29793. },
  29794. "warehousename": {
  29795. "description": "仓库名称",
  29796. "type": "string"
  29797. },
  29798. "wrfactortypeid": {
  29799. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29800. "type": "string"
  29801. },
  29802. "wrfactortypename": {
  29803. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29804. "type": "string"
  29805. },
  29806. "wrholdeno": {
  29807. "description": "仓单编号",
  29808. "type": "string"
  29809. },
  29810. "wrid": {
  29811. "description": "仓单变更ID",
  29812. "type": "string"
  29813. },
  29814. "wrstandardcode": {
  29815. "description": "现货商品代码",
  29816. "type": "string"
  29817. },
  29818. "wrstandardid": {
  29819. "description": "现货商品ID",
  29820. "type": "integer"
  29821. },
  29822. "wrstandardname": {
  29823. "description": "商品名称",
  29824. "type": "string"
  29825. },
  29826. "wrtypename": {
  29827. "description": "商品",
  29828. "type": "string"
  29829. }
  29830. }
  29831. },
  29832. "models.WrOrderDetail": {
  29833. "type": "object",
  29834. "properties": {
  29835. "buyorsell": {
  29836. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  29837. "type": "integer"
  29838. },
  29839. "cancelqty": {
  29840. "description": "撤销数量",
  29841. "type": "number"
  29842. },
  29843. "deliverygoodscode": {
  29844. "description": "品种代码",
  29845. "type": "string"
  29846. },
  29847. "deliverygoodsid": {
  29848. "description": "品种ID",
  29849. "type": "integer"
  29850. },
  29851. "deliverygoodsname": {
  29852. "description": "品种名称",
  29853. "type": "string"
  29854. },
  29855. "deliverymonth": {
  29856. "description": "交收月",
  29857. "type": "string"
  29858. },
  29859. "enumdicname": {
  29860. "description": "单位名称",
  29861. "type": "string"
  29862. },
  29863. "fixedprice": {
  29864. "description": "固定价格 - [挂牌]",
  29865. "type": "number"
  29866. },
  29867. "futupricemove": {
  29868. "description": "期货升贴水",
  29869. "type": "number"
  29870. },
  29871. "futushow": {
  29872. "description": "期货合约/升贴水",
  29873. "type": "string"
  29874. },
  29875. "goodscode": {
  29876. "description": "期货合约",
  29877. "type": "string"
  29878. },
  29879. "goodsid": {
  29880. "description": "期货商品id",
  29881. "type": "integer"
  29882. },
  29883. "haswr": {
  29884. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  29885. "type": "integer"
  29886. },
  29887. "marketid": {
  29888. "description": "市场ID",
  29889. "type": "integer"
  29890. },
  29891. "minivalue": {
  29892. "description": "现货商品最小变动值",
  29893. "type": "integer"
  29894. },
  29895. "optioncompare": {
  29896. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29897. "type": "string"
  29898. },
  29899. "orderqty": {
  29900. "description": "委托数量",
  29901. "type": "number"
  29902. },
  29903. "ordertime": {
  29904. "description": "委托时间(挂牌时间)",
  29905. "type": "string"
  29906. },
  29907. "pricemove": {
  29908. "description": "升贴水(浮动价时填写) - [挂牌]",
  29909. "type": "number"
  29910. },
  29911. "tradedate": {
  29912. "description": "交易日(yyyyMMdd)",
  29913. "type": "string"
  29914. },
  29915. "tradeprice": {
  29916. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  29917. "type": "number"
  29918. },
  29919. "tradeqty": {
  29920. "description": "成交数量",
  29921. "type": "number"
  29922. },
  29923. "userid": {
  29924. "description": "用户ID",
  29925. "type": "integer"
  29926. },
  29927. "warehouseid": {
  29928. "description": "仓库ID",
  29929. "type": "integer"
  29930. },
  29931. "warehousename": {
  29932. "description": "仓库名称",
  29933. "type": "string"
  29934. },
  29935. "wrfactortypeid": {
  29936. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  29937. "type": "string"
  29938. },
  29939. "wrfactortypename": {
  29940. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  29941. "type": "string"
  29942. },
  29943. "wrpricetype": {
  29944. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  29945. "type": "integer"
  29946. },
  29947. "wrstandardcode": {
  29948. "description": "现货商品代码",
  29949. "type": "string"
  29950. },
  29951. "wrstandardid": {
  29952. "description": "现货商品ID",
  29953. "type": "integer"
  29954. },
  29955. "wrstandardname": {
  29956. "description": "商品名称",
  29957. "type": "string"
  29958. },
  29959. "wrtradeorderid": {
  29960. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29961. "type": "string"
  29962. },
  29963. "wrtradeorderstatus": {
  29964. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  29965. "type": "integer"
  29966. },
  29967. "wrtradetype": {
  29968. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  29969. "type": "integer"
  29970. },
  29971. "wrtypename": {
  29972. "description": "商品",
  29973. "type": "string"
  29974. }
  29975. }
  29976. },
  29977. "models.WrOrderQuote": {
  29978. "type": "object",
  29979. "properties": {
  29980. "buyprice": {
  29981. "description": "买价",
  29982. "type": "number"
  29983. },
  29984. "buypricemove": {
  29985. "description": "买升贴水(基差)",
  29986. "type": "number"
  29987. },
  29988. "buyqty": {
  29989. "description": "买量",
  29990. "type": "number"
  29991. },
  29992. "deliverygoodscode": {
  29993. "description": "品种代码",
  29994. "type": "string"
  29995. },
  29996. "deliverygoodsid": {
  29997. "description": "品种id",
  29998. "type": "integer"
  29999. },
  30000. "deliverygoodsname": {
  30001. "description": "品种名称",
  30002. "type": "string"
  30003. },
  30004. "deliverymonth": {
  30005. "description": "交收月",
  30006. "type": "string"
  30007. },
  30008. "enumdicname": {
  30009. "description": "单位名称",
  30010. "type": "string"
  30011. },
  30012. "goodscode": {
  30013. "description": "商品合约(浮动价列表才有)",
  30014. "type": "string"
  30015. },
  30016. "goodsid": {
  30017. "description": "商品id(浮动价列表才有)",
  30018. "type": "integer"
  30019. },
  30020. "minivalue": {
  30021. "description": "现货商品最小变动值",
  30022. "type": "integer"
  30023. },
  30024. "sellprice": {
  30025. "description": "卖价",
  30026. "type": "number"
  30027. },
  30028. "sellpricemove": {
  30029. "description": "卖升贴水(基差)",
  30030. "type": "number"
  30031. },
  30032. "sellqty": {
  30033. "description": "卖量",
  30034. "type": "number"
  30035. },
  30036. "warehousecode": {
  30037. "description": "仓库代码",
  30038. "type": "string"
  30039. },
  30040. "warehouseid": {
  30041. "description": "仓库id",
  30042. "type": "integer"
  30043. },
  30044. "warehousename": {
  30045. "description": "仓库名称",
  30046. "type": "string"
  30047. },
  30048. "wrfactortypeid": {
  30049. "description": "仓单要素id",
  30050. "type": "string"
  30051. },
  30052. "wrfactortypename": {
  30053. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30054. "type": "string"
  30055. },
  30056. "wrgoodsname": {
  30057. "description": "商品(商品名称+仓库要素名称 拼接)",
  30058. "type": "string"
  30059. },
  30060. "wrstandardcode": {
  30061. "description": "商品代码",
  30062. "type": "string"
  30063. },
  30064. "wrstandardid": {
  30065. "description": "商品id",
  30066. "type": "integer"
  30067. },
  30068. "wrstandardname": {
  30069. "description": "商品名称",
  30070. "type": "string"
  30071. }
  30072. }
  30073. },
  30074. "models.WrOrderQuoteDetail": {
  30075. "type": "object",
  30076. "properties": {
  30077. "buyorsell": {
  30078. "description": "买卖 - 0:买 1:卖",
  30079. "type": "integer"
  30080. },
  30081. "enumdicname": {
  30082. "description": "单位名称",
  30083. "type": "string"
  30084. },
  30085. "fixedprice": {
  30086. "description": "买(卖)价",
  30087. "type": "number"
  30088. },
  30089. "minivalue": {
  30090. "description": "现货商品最小变动值",
  30091. "type": "integer"
  30092. },
  30093. "orderqty": {
  30094. "description": "买(卖)量(=委托量-成交量)",
  30095. "type": "number"
  30096. },
  30097. "pricemove": {
  30098. "description": "买(卖)升贴水- 基差",
  30099. "type": "number"
  30100. },
  30101. "userid": {
  30102. "description": "购买方(销售方)用户ID",
  30103. "type": "integer"
  30104. },
  30105. "username": {
  30106. "description": "购买方(销售方)",
  30107. "type": "string"
  30108. },
  30109. "wrtradeorderid": {
  30110. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30111. "type": "string"
  30112. }
  30113. }
  30114. },
  30115. "models.WrPerformancePlan": {
  30116. "type": "object",
  30117. "required": [
  30118. "userid"
  30119. ],
  30120. "properties": {
  30121. "amount": {
  30122. "description": "履约金额(总金额)",
  30123. "type": "number"
  30124. },
  30125. "buyaccountid": {
  30126. "description": "买方账号",
  30127. "type": "integer"
  30128. },
  30129. "buyerfreezeamount": {
  30130. "description": "履约冻结(买履约)",
  30131. "type": "number"
  30132. },
  30133. "buyerfreezeamountremain": {
  30134. "description": "履约冻结剩余(买履约)",
  30135. "type": "number"
  30136. },
  30137. "buyorsell": {
  30138. "description": "买卖方向 0-买 1-卖",
  30139. "type": "integer"
  30140. },
  30141. "buypaidamount": {
  30142. "description": "买方已冻/已扣金额 (已付金额)",
  30143. "type": "number"
  30144. },
  30145. "buyusername": {
  30146. "description": "买方名字",
  30147. "type": "string"
  30148. },
  30149. "contractid": {
  30150. "description": "合同ID",
  30151. "type": "integer"
  30152. },
  30153. "createtime": {
  30154. "description": "创建时间(开始时间)",
  30155. "type": "string"
  30156. },
  30157. "creatorid": {
  30158. "description": "创建人",
  30159. "type": "integer"
  30160. },
  30161. "curstepdeadline": {
  30162. "description": "当前步骤到期时间",
  30163. "type": "string"
  30164. },
  30165. "curstepid": {
  30166. "description": "当前步骤ID",
  30167. "type": "integer"
  30168. },
  30169. "curstepname": {
  30170. "description": "当前步骤名称",
  30171. "type": "string"
  30172. },
  30173. "deliverygoodscode": {
  30174. "description": "品种代码",
  30175. "type": "string"
  30176. },
  30177. "deliverygoodsid": {
  30178. "description": "品种ID",
  30179. "type": "integer"
  30180. },
  30181. "deliverygoodsname": {
  30182. "description": "品种名称",
  30183. "type": "string"
  30184. },
  30185. "enumdicname": {
  30186. "description": "单位名称",
  30187. "type": "string"
  30188. },
  30189. "expressfee": {
  30190. "description": "运费",
  30191. "type": "number"
  30192. },
  30193. "expressfeeconfirmed": {
  30194. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  30195. "type": "integer"
  30196. },
  30197. "hasovershort": {
  30198. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  30199. "type": "integer"
  30200. },
  30201. "haswr": {
  30202. "description": "类型 0-仓单预售 1-仓单贸易",
  30203. "type": "integer"
  30204. },
  30205. "marketid": {
  30206. "description": "市场ID",
  30207. "type": "integer"
  30208. },
  30209. "middleaccountid": {
  30210. "description": "中间商资金账号ID",
  30211. "type": "integer"
  30212. },
  30213. "middleuserid": {
  30214. "description": "中间商用户ID",
  30215. "type": "integer"
  30216. },
  30217. "minivalue": {
  30218. "description": "现货商品最小变动值",
  30219. "type": "integer"
  30220. },
  30221. "optioncompare": {
  30222. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30223. "type": "string"
  30224. },
  30225. "overshortamount": {
  30226. "description": "溢短金额",
  30227. "type": "number"
  30228. },
  30229. "overshortqty": {
  30230. "description": "溢短数量",
  30231. "type": "number"
  30232. },
  30233. "paymenttype": {
  30234. "description": "付款方式 - 1:冻结 2:扣款",
  30235. "type": "integer"
  30236. },
  30237. "performanceplanid": {
  30238. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  30239. "type": "integer"
  30240. },
  30241. "performancestatus": {
  30242. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  30243. "type": "integer"
  30244. },
  30245. "performancetype": {
  30246. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  30247. "type": "integer"
  30248. },
  30249. "qty": {
  30250. "description": "履约数量",
  30251. "type": "number"
  30252. },
  30253. "relatedorderid": {
  30254. "description": "关联单号(履约类型的关联单号)",
  30255. "type": "string"
  30256. },
  30257. "remark": {
  30258. "description": "备注",
  30259. "type": "string"
  30260. },
  30261. "sellaccountid": {
  30262. "description": "卖方账号",
  30263. "type": "integer"
  30264. },
  30265. "sellerfreezeamount": {
  30266. "description": "履约冻结(卖履约)",
  30267. "type": "number"
  30268. },
  30269. "sellerfreezeamountremain": {
  30270. "description": "履约冻结剩余(卖履约)",
  30271. "type": "number"
  30272. },
  30273. "sellreceivedamount": {
  30274. "description": "卖方已收金额",
  30275. "type": "number"
  30276. },
  30277. "sellusername": {
  30278. "description": "卖方名字",
  30279. "type": "string"
  30280. },
  30281. "shipremark": {
  30282. "description": "发货备注[物流单号]",
  30283. "type": "string"
  30284. },
  30285. "userid": {
  30286. "description": "用户id",
  30287. "type": "integer"
  30288. },
  30289. "warehouseid": {
  30290. "description": "仓库ID",
  30291. "type": "integer"
  30292. },
  30293. "warehousename": {
  30294. "description": "仓库名称",
  30295. "type": "string"
  30296. },
  30297. "wrfactortypeid": {
  30298. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30299. "type": "string"
  30300. },
  30301. "wrfactortypename": {
  30302. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30303. "type": "string"
  30304. },
  30305. "wrstandardcode": {
  30306. "description": "现货商品代码",
  30307. "type": "string"
  30308. },
  30309. "wrstandardid": {
  30310. "description": "现货商品ID",
  30311. "type": "integer"
  30312. },
  30313. "wrstandardname": {
  30314. "description": "商品名称",
  30315. "type": "string"
  30316. },
  30317. "wrtransferuserid": {
  30318. "description": "仓单受让用户",
  30319. "type": "integer"
  30320. },
  30321. "wrtypename": {
  30322. "description": "商品",
  30323. "type": "string"
  30324. }
  30325. }
  30326. },
  30327. "models.WrPosition": {
  30328. "type": "object",
  30329. "properties": {
  30330. "accountid": {
  30331. "description": "帐户ID",
  30332. "type": "integer"
  30333. },
  30334. "buyexcuteqty": {
  30335. "description": "采购履约中数量",
  30336. "type": "number"
  30337. },
  30338. "creditcurqty": {
  30339. "description": "授信当前数量(预售仓单:预售当前量)",
  30340. "type": "number"
  30341. },
  30342. "creditenableqty": {
  30343. "description": "授信可用数量(预售仓单: 可用数量)",
  30344. "type": "number"
  30345. },
  30346. "creditfreezeqty": {
  30347. "description": "授信冻结数量(预售仓单: 当前数量)",
  30348. "type": "number"
  30349. },
  30350. "credittotalqty": {
  30351. "description": "授信总数量(预售仓单:预售总量)",
  30352. "type": "number"
  30353. },
  30354. "credittradeqty": {
  30355. "description": "授信成交数量(预售仓单:成交总量)",
  30356. "type": "number"
  30357. },
  30358. "deliverygoodscode": {
  30359. "description": "品种代码",
  30360. "type": "string"
  30361. },
  30362. "deliverygoodsid": {
  30363. "description": "品种ID",
  30364. "type": "integer"
  30365. },
  30366. "deliverygoodsname": {
  30367. "description": "品种名称",
  30368. "type": "string"
  30369. },
  30370. "enalbeqty": {
  30371. "description": "可用数量",
  30372. "type": "number"
  30373. },
  30374. "enumdicname": {
  30375. "description": "单位名称",
  30376. "type": "string"
  30377. },
  30378. "freezeqty": {
  30379. "description": "总冻结数量",
  30380. "type": "number"
  30381. },
  30382. "haswr": {
  30383. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30384. "type": "integer"
  30385. },
  30386. "minivalue": {
  30387. "description": "现货商品最小变动值",
  30388. "type": "integer"
  30389. },
  30390. "modifytime": {
  30391. "description": "修改时间(过户时间)",
  30392. "type": "string"
  30393. },
  30394. "optioncompare": {
  30395. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30396. "type": "string"
  30397. },
  30398. "pledgeqty": {
  30399. "description": "质押数量",
  30400. "type": "number"
  30401. },
  30402. "querytype": {
  30403. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  30404. "type": "integer"
  30405. },
  30406. "sellexcuteqty": {
  30407. "description": "销售履约中数量",
  30408. "type": "number"
  30409. },
  30410. "totalqty": {
  30411. "description": "总数量(库存数量)",
  30412. "type": "number"
  30413. },
  30414. "warehouseid": {
  30415. "description": "仓库ID",
  30416. "type": "integer"
  30417. },
  30418. "warehousename": {
  30419. "description": "仓库名称",
  30420. "type": "string"
  30421. },
  30422. "wrfactortypeid": {
  30423. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30424. "type": "string"
  30425. },
  30426. "wrfactortypename": {
  30427. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30428. "type": "string"
  30429. },
  30430. "wrpositionid": {
  30431. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30432. "type": "string"
  30433. },
  30434. "wrpositionno": {
  30435. "description": "仓单编号",
  30436. "type": "string"
  30437. },
  30438. "wrstandardcode": {
  30439. "description": "现货商品代码",
  30440. "type": "string"
  30441. },
  30442. "wrstandardid": {
  30443. "description": "现货商品ID",
  30444. "type": "integer"
  30445. },
  30446. "wrstandardname": {
  30447. "description": "商品名称",
  30448. "type": "string"
  30449. },
  30450. "wrtypename": {
  30451. "description": "商品",
  30452. "type": "string"
  30453. },
  30454. "wruserid": {
  30455. "description": "持有人ID",
  30456. "type": "integer"
  30457. }
  30458. }
  30459. },
  30460. "models.WrSpecialMatchOrder": {
  30461. "type": "object",
  30462. "properties": {
  30463. "amount": {
  30464. "description": "金额 = 数量 * 价格",
  30465. "type": "number"
  30466. },
  30467. "buyorsell": {
  30468. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30469. "type": "integer"
  30470. },
  30471. "cancelqty": {
  30472. "description": "撤销数量",
  30473. "type": "number"
  30474. },
  30475. "deliverygoodscode": {
  30476. "description": "品种代码",
  30477. "type": "string"
  30478. },
  30479. "deliverygoodsid": {
  30480. "description": "品种ID",
  30481. "type": "integer"
  30482. },
  30483. "deliverygoodsname": {
  30484. "description": "品种名称",
  30485. "type": "string"
  30486. },
  30487. "enumdicname": {
  30488. "description": "单位名称",
  30489. "type": "string"
  30490. },
  30491. "fixedprice": {
  30492. "description": "固定价格(价格)",
  30493. "type": "number"
  30494. },
  30495. "haswr": {
  30496. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30497. "type": "integer"
  30498. },
  30499. "marketid": {
  30500. "description": "市场ID",
  30501. "type": "integer"
  30502. },
  30503. "matchuserid": {
  30504. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  30505. "type": "integer"
  30506. },
  30507. "matchusername": {
  30508. "description": "指定方",
  30509. "type": "string"
  30510. },
  30511. "minivalue": {
  30512. "description": "现货商品最小变动值",
  30513. "type": "integer"
  30514. },
  30515. "optioncompare": {
  30516. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30517. "type": "string"
  30518. },
  30519. "orderqty": {
  30520. "description": "委托数量",
  30521. "type": "number"
  30522. },
  30523. "ordertime": {
  30524. "description": "委托时间",
  30525. "type": "string"
  30526. },
  30527. "pricemove": {
  30528. "description": "升贴水(浮动价时填写) - [挂牌]",
  30529. "type": "number"
  30530. },
  30531. "tradedate": {
  30532. "description": "交易日(yyyyMMdd)",
  30533. "type": "string"
  30534. },
  30535. "tradeprice": {
  30536. "description": "成交价格",
  30537. "type": "number"
  30538. },
  30539. "tradeqty": {
  30540. "description": "成交数量",
  30541. "type": "number"
  30542. },
  30543. "userid": {
  30544. "description": "用户ID",
  30545. "type": "integer"
  30546. },
  30547. "username": {
  30548. "description": "发起方",
  30549. "type": "string"
  30550. },
  30551. "warehouseid": {
  30552. "description": "仓库ID",
  30553. "type": "integer"
  30554. },
  30555. "warehousename": {
  30556. "description": "仓库名称",
  30557. "type": "string"
  30558. },
  30559. "wrfactortypeid": {
  30560. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30561. "type": "string"
  30562. },
  30563. "wrfactortypename": {
  30564. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30565. "type": "string"
  30566. },
  30567. "wrpricetype": {
  30568. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30569. "type": "integer"
  30570. },
  30571. "wrstandardcode": {
  30572. "description": "现货商品代码",
  30573. "type": "string"
  30574. },
  30575. "wrstandardid": {
  30576. "description": "现货商品ID",
  30577. "type": "integer"
  30578. },
  30579. "wrstandardname": {
  30580. "description": "商品名称",
  30581. "type": "string"
  30582. },
  30583. "wrtradeorderid": {
  30584. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30585. "type": "string"
  30586. },
  30587. "wrtradeorderstatus": {
  30588. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30589. "type": "integer"
  30590. },
  30591. "wrtradetype": {
  30592. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30593. "type": "integer"
  30594. },
  30595. "wrtypename": {
  30596. "description": "商品",
  30597. "type": "string"
  30598. }
  30599. }
  30600. },
  30601. "models.WrTradeDetail": {
  30602. "type": "object",
  30603. "properties": {
  30604. "accountid": {
  30605. "description": "资金账号",
  30606. "type": "integer"
  30607. },
  30608. "buyorsell": {
  30609. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30610. "type": "integer"
  30611. },
  30612. "deliverygoodscode": {
  30613. "description": "品种代码",
  30614. "type": "string"
  30615. },
  30616. "deliverygoodsid": {
  30617. "description": "品种ID",
  30618. "type": "integer"
  30619. },
  30620. "deliverygoodsname": {
  30621. "description": "品种名称",
  30622. "type": "string"
  30623. },
  30624. "deliverymonth": {
  30625. "description": "交收月",
  30626. "type": "string"
  30627. },
  30628. "enumdicname": {
  30629. "description": "单位名称",
  30630. "type": "string"
  30631. },
  30632. "haswr": {
  30633. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30634. "type": "integer"
  30635. },
  30636. "marketid": {
  30637. "description": "市场ID",
  30638. "type": "integer"
  30639. },
  30640. "matchaccountid": {
  30641. "description": "对手账号",
  30642. "type": "integer"
  30643. },
  30644. "matchusername": {
  30645. "description": "对手方",
  30646. "type": "string"
  30647. },
  30648. "minivalue": {
  30649. "description": "现货商品最小变动值",
  30650. "type": "integer"
  30651. },
  30652. "optioncompare": {
  30653. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30654. "type": "string"
  30655. },
  30656. "tradedate": {
  30657. "description": "交易日(yyyyMMdd)",
  30658. "type": "string"
  30659. },
  30660. "tradeprice": {
  30661. "description": "成交价格",
  30662. "type": "number"
  30663. },
  30664. "tradeqty": {
  30665. "description": "成交数量",
  30666. "type": "number"
  30667. },
  30668. "tradetime": {
  30669. "description": "成交时间",
  30670. "type": "string"
  30671. },
  30672. "userid": {
  30673. "description": "用户ID",
  30674. "type": "integer"
  30675. },
  30676. "warehouseid": {
  30677. "description": "仓库ID",
  30678. "type": "integer"
  30679. },
  30680. "warehousename": {
  30681. "description": "仓库名称",
  30682. "type": "string"
  30683. },
  30684. "wrfactortypeid": {
  30685. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30686. "type": "string"
  30687. },
  30688. "wrfactortypename": {
  30689. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30690. "type": "string"
  30691. },
  30692. "wrstandardcode": {
  30693. "description": "现货商品代码",
  30694. "type": "string"
  30695. },
  30696. "wrstandardid": {
  30697. "description": "现货商品ID",
  30698. "type": "integer"
  30699. },
  30700. "wrstandardname": {
  30701. "description": "商品名称",
  30702. "type": "string"
  30703. },
  30704. "wrtradedetailid": {
  30705. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30706. "type": "string"
  30707. },
  30708. "wrtradetype": {
  30709. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30710. "type": "integer"
  30711. },
  30712. "wrtypename": {
  30713. "description": "商品",
  30714. "type": "string"
  30715. }
  30716. }
  30717. },
  30718. "models.WrTypeItem": {
  30719. "type": "object",
  30720. "properties": {
  30721. "name": {
  30722. "description": "名称",
  30723. "type": "string"
  30724. },
  30725. "value": {
  30726. "description": "值",
  30727. "type": "string"
  30728. }
  30729. }
  30730. },
  30731. "order.QueryHisTradeDetailRsp": {
  30732. "type": "object",
  30733. "required": [
  30734. "accountid",
  30735. "buyorsell",
  30736. "goodsid",
  30737. "histradedate",
  30738. "marketid",
  30739. "memberuserid",
  30740. "orderid",
  30741. "tradeamount",
  30742. "tradedate",
  30743. "tradeid",
  30744. "tradeprice",
  30745. "tradeqty",
  30746. "tradetime"
  30747. ],
  30748. "properties": {
  30749. "accountid": {
  30750. "description": "账户ID[报价币种]",
  30751. "type": "integer"
  30752. },
  30753. "advanceratio": {
  30754. "description": "首付比率",
  30755. "type": "number"
  30756. },
  30757. "buildtype": {
  30758. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  30759. "type": "integer"
  30760. },
  30761. "buyorsell": {
  30762. "description": "方向 - 0:买 1:卖",
  30763. "type": "integer"
  30764. },
  30765. "charge": {
  30766. "description": "手续费",
  30767. "type": "number"
  30768. },
  30769. "closecharge": {
  30770. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30771. "type": "number"
  30772. },
  30773. "closeexchagechargevalue": {
  30774. "description": "平仓交易所手续费设置值",
  30775. "type": "number"
  30776. },
  30777. "closefeealgorithm": {
  30778. "description": "平仓手续费收取方式 1:比率 2:固定",
  30779. "type": "integer"
  30780. },
  30781. "closememberchargevalue": {
  30782. "description": "平仓会员手续费设置值",
  30783. "type": "number"
  30784. },
  30785. "closepl": {
  30786. "description": "平仓盈亏",
  30787. "type": "number"
  30788. },
  30789. "closepl2": {
  30790. "description": "平仓盈亏[逐笔]",
  30791. "type": "number"
  30792. },
  30793. "closeqty": {
  30794. "description": "平仓数量(先建后平操作 需要记录)",
  30795. "type": "number"
  30796. },
  30797. "creditamount": {
  30798. "description": "授信金额",
  30799. "type": "number"
  30800. },
  30801. "decimalplace": {
  30802. "description": "商品报价小数位",
  30803. "type": "integer"
  30804. },
  30805. "enumdicname": {
  30806. "description": "单位名称",
  30807. "type": "string"
  30808. },
  30809. "gcaccountid": {
  30810. "description": "账户ID[合约币种]",
  30811. "type": "integer"
  30812. },
  30813. "goodscode": {
  30814. "description": "商品代码",
  30815. "type": "string"
  30816. },
  30817. "goodsid": {
  30818. "description": "商品ID",
  30819. "type": "integer"
  30820. },
  30821. "goodsname": {
  30822. "description": "商品名称",
  30823. "type": "string"
  30824. },
  30825. "goodunitid": {
  30826. "description": "商品单位id",
  30827. "type": "integer"
  30828. },
  30829. "histradedate": {
  30830. "description": "历史交易日",
  30831. "type": "string"
  30832. },
  30833. "intclosepl": {
  30834. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  30835. "type": "integer"
  30836. },
  30837. "isconfirmexercise": {
  30838. "description": "是否确认行权- 0:否 1:是",
  30839. "type": "integer"
  30840. },
  30841. "ismain": {
  30842. "description": "是否主单 - 0:不是 1:是",
  30843. "type": "integer"
  30844. },
  30845. "ispreexercise": {
  30846. "description": "是否预申报- 0:否 1:是",
  30847. "type": "integer"
  30848. },
  30849. "isreckoned": {
  30850. "description": "是否结算 - 0:未结算 1:已结算",
  30851. "type": "integer"
  30852. },
  30853. "isvaliddata": {
  30854. "description": "是否有效 - 0:无效 1:有效",
  30855. "type": "integer"
  30856. },
  30857. "listingselecttype": {
  30858. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  30859. "type": "integer"
  30860. },
  30861. "marketid": {
  30862. "description": "市场ID",
  30863. "type": "integer"
  30864. },
  30865. "marketname": {
  30866. "description": "市场名称",
  30867. "type": "string"
  30868. },
  30869. "matchaccountid": {
  30870. "description": "对手账号id",
  30871. "type": "integer"
  30872. },
  30873. "memberuserid": {
  30874. "description": "会员id 个人投资者 需要填写",
  30875. "type": "integer"
  30876. },
  30877. "opencharge": {
  30878. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  30879. "type": "number"
  30880. },
  30881. "openexchagechargevalue": {
  30882. "description": "建仓交易所手续费设置值",
  30883. "type": "number"
  30884. },
  30885. "openfeealgorithm": {
  30886. "description": "建仓手续费收取方式 1:比率 2:固定",
  30887. "type": "integer"
  30888. },
  30889. "openmemberchargevalue": {
  30890. "description": "建仓会员手续费设置值",
  30891. "type": "number"
  30892. },
  30893. "openqty": {
  30894. "description": "开仓数量(先建后平操作 需要记录)",
  30895. "type": "number"
  30896. },
  30897. "optiontype": {
  30898. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  30899. "type": "integer"
  30900. },
  30901. "orderid": {
  30902. "description": "委托单号",
  30903. "type": "string"
  30904. },
  30905. "payamount": {
  30906. "description": "支付金额(付款金额)",
  30907. "type": "number"
  30908. },
  30909. "performanceplanid": {
  30910. "description": "履约计划ID[期权]",
  30911. "type": "integer"
  30912. },
  30913. "performancestatus": {
  30914. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  30915. "type": "integer"
  30916. },
  30917. "preexerciseprice": {
  30918. "description": "预申报价格",
  30919. "type": "number"
  30920. },
  30921. "premium": {
  30922. "description": "权利金 - [持仓单的权利金]",
  30923. "type": "number"
  30924. },
  30925. "qtydecimalplace": {
  30926. "description": "商品报价小数位",
  30927. "type": "integer"
  30928. },
  30929. "recvamount": {
  30930. "description": "到账金额 = 成交金额 - 手续费",
  30931. "type": "number"
  30932. },
  30933. "relatedouttradeid": {
  30934. "description": "关联外部成交单ID",
  30935. "type": "integer"
  30936. },
  30937. "status": {
  30938. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  30939. "type": "integer"
  30940. },
  30941. "totalamount": {
  30942. "description": "订单总额 = 成交金额 + 手续费",
  30943. "type": "number"
  30944. },
  30945. "tradeamount": {
  30946. "description": "成交金额[账户币种,用于所有权]",
  30947. "type": "number"
  30948. },
  30949. "tradedate": {
  30950. "description": "交易日(yyyyMMdd)",
  30951. "type": "string"
  30952. },
  30953. "tradeid": {
  30954. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  30955. "type": "string"
  30956. },
  30957. "trademode": {
  30958. "description": "交易模式",
  30959. "type": "integer"
  30960. },
  30961. "tradeprice": {
  30962. "description": "成交价格",
  30963. "type": "number"
  30964. },
  30965. "tradeproperty": {
  30966. "description": "交易属性",
  30967. "type": "integer"
  30968. },
  30969. "tradeqty": {
  30970. "description": "成交数量",
  30971. "type": "number"
  30972. },
  30973. "tradetime": {
  30974. "description": "成交时间",
  30975. "type": "string"
  30976. },
  30977. "tradetype": {
  30978. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  30979. "type": "integer"
  30980. }
  30981. }
  30982. },
  30983. "order.QueryHisTradeOrderDetailRsp": {
  30984. "type": "object",
  30985. "required": [
  30986. "accountid",
  30987. "buildtype",
  30988. "buyorsell",
  30989. "goodsid",
  30990. "histradedate",
  30991. "marketid",
  30992. "memberuserid",
  30993. "operatetype",
  30994. "orderid",
  30995. "orderqty",
  30996. "ordertime",
  30997. "pricemode",
  30998. "tradedate",
  30999. "validtype"
  31000. ],
  31001. "properties": {
  31002. "accountid": {
  31003. "description": "账户ID[报价币种]",
  31004. "type": "integer"
  31005. },
  31006. "buildtype": {
  31007. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31008. "type": "integer"
  31009. },
  31010. "buyorsell": {
  31011. "description": "买卖 - 0:买 1:卖",
  31012. "type": "integer"
  31013. },
  31014. "cancelorderid": {
  31015. "description": "撤单单号(撤单时填写)",
  31016. "type": "string"
  31017. },
  31018. "cancelqty": {
  31019. "description": "撤单数量",
  31020. "type": "number"
  31021. },
  31022. "clientordertime": {
  31023. "description": "客户端委托时间",
  31024. "type": "string"
  31025. },
  31026. "clientticket": {
  31027. "description": "客户端流水号",
  31028. "type": "string"
  31029. },
  31030. "clienttype": {
  31031. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31032. "type": "integer"
  31033. },
  31034. "closeexchagechargevalue": {
  31035. "description": "平仓交易所手续费设置值",
  31036. "type": "number"
  31037. },
  31038. "closefeealgorithm": {
  31039. "description": "平仓手续费收取方式 1:比率 2:固定",
  31040. "type": "integer"
  31041. },
  31042. "closefreezecharge": {
  31043. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31044. "type": "number"
  31045. },
  31046. "closememberchargevalue": {
  31047. "description": "平仓会员手续费设置值",
  31048. "type": "number"
  31049. },
  31050. "closeqty": {
  31051. "description": "平仓数量(先建后平操作 需要记录)",
  31052. "type": "number"
  31053. },
  31054. "closetradeqty": {
  31055. "description": "平仓成交数量(先建后平操作,需要记录)",
  31056. "type": "number"
  31057. },
  31058. "closeunfreezecharge": {
  31059. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31060. "type": "number"
  31061. },
  31062. "decimalplace": {
  31063. "description": "商品报价小数位",
  31064. "type": "integer"
  31065. },
  31066. "delistingtype": {
  31067. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31068. "type": "integer"
  31069. },
  31070. "enumdicname": {
  31071. "description": "单位名称",
  31072. "type": "string"
  31073. },
  31074. "freezecharge": {
  31075. "description": "冻结手续费",
  31076. "type": "number"
  31077. },
  31078. "freezemargin": {
  31079. "description": "冻结保证金(冻结交易金额)",
  31080. "type": "number"
  31081. },
  31082. "gcaccountid": {
  31083. "description": "账户ID[合约币种]",
  31084. "type": "integer"
  31085. },
  31086. "goodscode": {
  31087. "description": "商品代码",
  31088. "type": "string"
  31089. },
  31090. "goodsid": {
  31091. "description": "商品ID",
  31092. "type": "integer"
  31093. },
  31094. "goodsname": {
  31095. "description": "商品名称",
  31096. "type": "string"
  31097. },
  31098. "goodunitid": {
  31099. "description": "商品单位id",
  31100. "type": "integer"
  31101. },
  31102. "histradedate": {
  31103. "description": "历史交易日",
  31104. "type": "string"
  31105. },
  31106. "isconfirmexercise": {
  31107. "description": "是否确认行权- 0:否 1:是",
  31108. "type": "integer"
  31109. },
  31110. "ispreexercise": {
  31111. "description": "是否预申报- 0:否 1:是",
  31112. "type": "integer"
  31113. },
  31114. "isvaliddata": {
  31115. "description": "是否有效 - 0:无效 1:有效",
  31116. "type": "integer"
  31117. },
  31118. "listingselecttype": {
  31119. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31120. "type": "integer"
  31121. },
  31122. "marginalgorithm": {
  31123. "description": "保证金收取方式 1:比率 2:固定",
  31124. "type": "integer"
  31125. },
  31126. "marginvalue": {
  31127. "description": "即市保证金设置值",
  31128. "type": "number"
  31129. },
  31130. "marketid": {
  31131. "description": "市场ID",
  31132. "type": "integer"
  31133. },
  31134. "marketmaxsub": {
  31135. "description": "市价最大偏移范围",
  31136. "type": "number"
  31137. },
  31138. "marketname": {
  31139. "description": "市场名称",
  31140. "type": "string"
  31141. },
  31142. "memberuserid": {
  31143. "description": "所属会员UserID",
  31144. "type": "integer"
  31145. },
  31146. "openexchagechargevalue": {
  31147. "description": "建仓交易所手续费设置值",
  31148. "type": "number"
  31149. },
  31150. "openfeealgorithm": {
  31151. "description": "建仓手续费收取方式 1:比率 2:固定",
  31152. "type": "integer"
  31153. },
  31154. "openfreezecharge": {
  31155. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31156. "type": "number"
  31157. },
  31158. "openmemberchargevalue": {
  31159. "description": "建仓会员手续费设置值",
  31160. "type": "number"
  31161. },
  31162. "openqty": {
  31163. "description": "开仓数量(先建后平操作,需要记录)",
  31164. "type": "number"
  31165. },
  31166. "opentradeqty": {
  31167. "description": "开仓成交数量(先建后平操作,需要记录)",
  31168. "type": "number"
  31169. },
  31170. "openunfreezecharge": {
  31171. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31172. "type": "number"
  31173. },
  31174. "operatetype": {
  31175. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31176. "type": "integer"
  31177. },
  31178. "operatorid": {
  31179. "description": "登录账号(LoginID)",
  31180. "type": "integer"
  31181. },
  31182. "optiontype": {
  31183. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31184. "type": "integer"
  31185. },
  31186. "orderid": {
  31187. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31188. "type": "string"
  31189. },
  31190. "orderprice": {
  31191. "description": "委托价格",
  31192. "type": "number"
  31193. },
  31194. "orderqty": {
  31195. "description": "委托数量",
  31196. "type": "number"
  31197. },
  31198. "ordersrc": {
  31199. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31200. "type": "integer"
  31201. },
  31202. "orderstatus": {
  31203. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31204. "type": "integer"
  31205. },
  31206. "ordertime": {
  31207. "description": "委托时间",
  31208. "type": "string"
  31209. },
  31210. "preexerciseprice": {
  31211. "description": "预申报价格",
  31212. "type": "number"
  31213. },
  31214. "premium": {
  31215. "description": "权利金",
  31216. "type": "number"
  31217. },
  31218. "preorderid": {
  31219. "description": "关联预埋单号(止盈止损单时填写)",
  31220. "type": "string"
  31221. },
  31222. "pricemode": {
  31223. "description": "取价方式 - 1:市价 2: 限价",
  31224. "type": "integer"
  31225. },
  31226. "qtydecimalplace": {
  31227. "description": "成交量小数位",
  31228. "type": "integer"
  31229. },
  31230. "quoteid": {
  31231. "description": "报价单ID",
  31232. "type": "integer"
  31233. },
  31234. "relatedid": {
  31235. "description": "关联单号(交割单)",
  31236. "type": "string"
  31237. },
  31238. "retcode": {
  31239. "description": "错误代码",
  31240. "type": "integer"
  31241. },
  31242. "sessionid": {
  31243. "description": "会话ID",
  31244. "type": "integer"
  31245. },
  31246. "tradedate": {
  31247. "description": "交易日(yyyyMMdd)",
  31248. "type": "string"
  31249. },
  31250. "trademode": {
  31251. "description": "交易模式",
  31252. "type": "integer"
  31253. },
  31254. "tradeproperty": {
  31255. "description": "交易属性",
  31256. "type": "integer"
  31257. },
  31258. "tradeqty": {
  31259. "description": "成交数量",
  31260. "type": "number"
  31261. },
  31262. "unfreezecharge": {
  31263. "description": "解冻手续费",
  31264. "type": "number"
  31265. },
  31266. "unfreezemargin": {
  31267. "description": "解冻保证金",
  31268. "type": "number"
  31269. },
  31270. "updatetime": {
  31271. "description": "更新时间",
  31272. "type": "string"
  31273. },
  31274. "uuid": {
  31275. "description": "发起端唯一id",
  31276. "type": "string"
  31277. },
  31278. "validtime": {
  31279. "description": "有效期限",
  31280. "type": "string"
  31281. },
  31282. "validtype": {
  31283. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31284. "type": "integer"
  31285. },
  31286. "volumetype": {
  31287. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31288. "type": "integer"
  31289. }
  31290. }
  31291. },
  31292. "order.QueryTradeDetailRsp": {
  31293. "type": "object",
  31294. "required": [
  31295. "accountid",
  31296. "buyorsell",
  31297. "goodsid",
  31298. "marketid",
  31299. "memberuserid",
  31300. "orderid",
  31301. "tradeamount",
  31302. "tradedate",
  31303. "tradeid",
  31304. "tradeprice",
  31305. "tradeqty",
  31306. "tradetime"
  31307. ],
  31308. "properties": {
  31309. "accountid": {
  31310. "description": "账户ID[报价币种]",
  31311. "type": "integer"
  31312. },
  31313. "advanceratio": {
  31314. "description": "首付比率",
  31315. "type": "number"
  31316. },
  31317. "buildtype": {
  31318. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31319. "type": "integer"
  31320. },
  31321. "buyorsell": {
  31322. "description": "方向 - 0:买 1:卖",
  31323. "type": "integer"
  31324. },
  31325. "charge": {
  31326. "description": "手续费",
  31327. "type": "number"
  31328. },
  31329. "closecharge": {
  31330. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31331. "type": "number"
  31332. },
  31333. "closeexchagechargevalue": {
  31334. "description": "平仓交易所手续费设置值",
  31335. "type": "number"
  31336. },
  31337. "closefeealgorithm": {
  31338. "description": "平仓手续费收取方式 1:比率 2:固定",
  31339. "type": "integer"
  31340. },
  31341. "closememberchargevalue": {
  31342. "description": "平仓会员手续费设置值",
  31343. "type": "number"
  31344. },
  31345. "closepl": {
  31346. "description": "平仓盈亏",
  31347. "type": "number"
  31348. },
  31349. "closepl2": {
  31350. "description": "平仓盈亏[逐笔]",
  31351. "type": "number"
  31352. },
  31353. "closeqty": {
  31354. "description": "平仓数量(先建后平操作 需要记录)",
  31355. "type": "number"
  31356. },
  31357. "creditamount": {
  31358. "description": "授信金额",
  31359. "type": "number"
  31360. },
  31361. "decimalplace": {
  31362. "description": "商品报价小数位",
  31363. "type": "integer"
  31364. },
  31365. "enumdicname": {
  31366. "description": "单位名称",
  31367. "type": "string"
  31368. },
  31369. "gcaccountid": {
  31370. "description": "账户ID[合约币种]",
  31371. "type": "integer"
  31372. },
  31373. "goodscode": {
  31374. "description": "商品代码",
  31375. "type": "string"
  31376. },
  31377. "goodsid": {
  31378. "description": "商品ID",
  31379. "type": "integer"
  31380. },
  31381. "goodsname": {
  31382. "description": "商品名称",
  31383. "type": "string"
  31384. },
  31385. "goodunitid": {
  31386. "description": "商品单位id",
  31387. "type": "integer"
  31388. },
  31389. "intclosepl": {
  31390. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31391. "type": "integer"
  31392. },
  31393. "isconfirmexercise": {
  31394. "description": "是否确认行权- 0:否 1:是",
  31395. "type": "integer"
  31396. },
  31397. "ismain": {
  31398. "description": "是否主单 - 0:不是 1:是",
  31399. "type": "integer"
  31400. },
  31401. "ispreexercise": {
  31402. "description": "是否预申报- 0:否 1:是",
  31403. "type": "integer"
  31404. },
  31405. "isreckoned": {
  31406. "description": "是否结算 - 0:未结算 1:已结算",
  31407. "type": "integer"
  31408. },
  31409. "listingselecttype": {
  31410. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31411. "type": "integer"
  31412. },
  31413. "marketid": {
  31414. "description": "市场ID",
  31415. "type": "integer"
  31416. },
  31417. "marketname": {
  31418. "description": "市场名称",
  31419. "type": "string"
  31420. },
  31421. "matchaccountid": {
  31422. "description": "对手账号id",
  31423. "type": "integer"
  31424. },
  31425. "memberuserid": {
  31426. "description": "会员id 个人投资者 需要填写",
  31427. "type": "integer"
  31428. },
  31429. "opencharge": {
  31430. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31431. "type": "number"
  31432. },
  31433. "openexchagechargevalue": {
  31434. "description": "建仓交易所手续费设置值",
  31435. "type": "number"
  31436. },
  31437. "openfeealgorithm": {
  31438. "description": "建仓手续费收取方式 1:比率 2:固定",
  31439. "type": "integer"
  31440. },
  31441. "openmemberchargevalue": {
  31442. "description": "建仓会员手续费设置值",
  31443. "type": "number"
  31444. },
  31445. "openqty": {
  31446. "description": "开仓数量(先建后平操作 需要记录)",
  31447. "type": "number"
  31448. },
  31449. "optiontype": {
  31450. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31451. "type": "integer"
  31452. },
  31453. "orderid": {
  31454. "description": "委托单号",
  31455. "type": "string"
  31456. },
  31457. "payamount": {
  31458. "description": "支付金额(付款金额)",
  31459. "type": "number"
  31460. },
  31461. "performanceplanid": {
  31462. "description": "履约计划ID[期权]",
  31463. "type": "integer"
  31464. },
  31465. "performancestatus": {
  31466. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31467. "type": "integer"
  31468. },
  31469. "preexerciseprice": {
  31470. "description": "预申报价格",
  31471. "type": "number"
  31472. },
  31473. "premium": {
  31474. "description": "权利金 - [持仓单的权利金]",
  31475. "type": "number"
  31476. },
  31477. "qtydecimalplace": {
  31478. "description": "商品报价小数位",
  31479. "type": "integer"
  31480. },
  31481. "recvamount": {
  31482. "description": "到账金额 = 成交金额 - 手续费",
  31483. "type": "number"
  31484. },
  31485. "relatedouttradeid": {
  31486. "description": "关联外部成交单ID",
  31487. "type": "integer"
  31488. },
  31489. "status": {
  31490. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31491. "type": "integer"
  31492. },
  31493. "totalamount": {
  31494. "description": "订单总额 = 成交金额 + 手续费",
  31495. "type": "number"
  31496. },
  31497. "tradeamount": {
  31498. "description": "成交金额[账户币种,用于所有权]",
  31499. "type": "number"
  31500. },
  31501. "tradedate": {
  31502. "description": "交易日(yyyyMMdd)",
  31503. "type": "string"
  31504. },
  31505. "tradeid": {
  31506. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31507. "type": "string"
  31508. },
  31509. "trademode": {
  31510. "description": "交易模式",
  31511. "type": "integer"
  31512. },
  31513. "tradeprice": {
  31514. "description": "成交价格",
  31515. "type": "number"
  31516. },
  31517. "tradeproperty": {
  31518. "description": "交易属性",
  31519. "type": "integer"
  31520. },
  31521. "tradeqty": {
  31522. "description": "成交数量",
  31523. "type": "number"
  31524. },
  31525. "tradetime": {
  31526. "description": "成交时间",
  31527. "type": "string"
  31528. },
  31529. "tradetype": {
  31530. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31531. "type": "integer"
  31532. }
  31533. }
  31534. },
  31535. "order.QueryTradeOrderDetailRsp": {
  31536. "type": "object",
  31537. "required": [
  31538. "accountid",
  31539. "buildtype",
  31540. "buyorsell",
  31541. "goodsid",
  31542. "marketid",
  31543. "operatetype",
  31544. "orderqty",
  31545. "ordertime",
  31546. "pricemode",
  31547. "tradedate",
  31548. "validtype"
  31549. ],
  31550. "properties": {
  31551. "accountid": {
  31552. "description": "账户ID[报价币种]",
  31553. "type": "integer"
  31554. },
  31555. "buildtype": {
  31556. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31557. "type": "integer"
  31558. },
  31559. "buyorsell": {
  31560. "description": "买卖 - 0:买 1:卖",
  31561. "type": "integer"
  31562. },
  31563. "cancelorderid": {
  31564. "description": "撤单单号(撤单时填写)",
  31565. "type": "string"
  31566. },
  31567. "cancelqty": {
  31568. "description": "撤单数量",
  31569. "type": "number"
  31570. },
  31571. "clienttype": {
  31572. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31573. "type": "integer"
  31574. },
  31575. "closefreezecharge": {
  31576. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31577. "type": "number"
  31578. },
  31579. "closeqty": {
  31580. "description": "平仓数量(先建后平操作 需要记录)",
  31581. "type": "number"
  31582. },
  31583. "closetradeqty": {
  31584. "description": "平仓成交数量(先建后平操作,需要记录)",
  31585. "type": "number"
  31586. },
  31587. "closeunfreezecharge": {
  31588. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31589. "type": "number"
  31590. },
  31591. "decimalplace": {
  31592. "description": "商品报价小数位",
  31593. "type": "integer"
  31594. },
  31595. "delistingtype": {
  31596. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31597. "type": "integer"
  31598. },
  31599. "enableqty": {
  31600. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  31601. "type": "number"
  31602. },
  31603. "enumdicname": {
  31604. "description": "单位名称",
  31605. "type": "string"
  31606. },
  31607. "freezecharge": {
  31608. "description": "冻结手续费",
  31609. "type": "number"
  31610. },
  31611. "freezemargin": {
  31612. "description": "冻结保证金(冻结交易金额)",
  31613. "type": "number"
  31614. },
  31615. "goodscode": {
  31616. "description": "商品代码",
  31617. "type": "string"
  31618. },
  31619. "goodsid": {
  31620. "description": "商品ID",
  31621. "type": "integer"
  31622. },
  31623. "goodsname": {
  31624. "description": "商品名称",
  31625. "type": "string"
  31626. },
  31627. "goodunitid": {
  31628. "description": "商品单位id",
  31629. "type": "integer"
  31630. },
  31631. "listingselecttype": {
  31632. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31633. "type": "integer"
  31634. },
  31635. "marketid": {
  31636. "description": "市场ID",
  31637. "type": "integer"
  31638. },
  31639. "marketname": {
  31640. "description": "市场名称",
  31641. "type": "string"
  31642. },
  31643. "openfreezecharge": {
  31644. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31645. "type": "number"
  31646. },
  31647. "openqty": {
  31648. "description": "开仓数量(先建后平操作,需要记录)",
  31649. "type": "number"
  31650. },
  31651. "opentradeqty": {
  31652. "description": "开仓成交数量(先建后平操作,需要记录)",
  31653. "type": "number"
  31654. },
  31655. "openunfreezecharge": {
  31656. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31657. "type": "number"
  31658. },
  31659. "operatetype": {
  31660. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31661. "type": "integer"
  31662. },
  31663. "operatorid": {
  31664. "description": "登录账号(LoginID)",
  31665. "type": "integer"
  31666. },
  31667. "orderid": {
  31668. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31669. "type": "string"
  31670. },
  31671. "orderprice": {
  31672. "description": "委托价格",
  31673. "type": "number"
  31674. },
  31675. "orderqty": {
  31676. "description": "委托数量",
  31677. "type": "number"
  31678. },
  31679. "ordersrc": {
  31680. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31681. "type": "integer"
  31682. },
  31683. "orderstatus": {
  31684. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31685. "type": "integer"
  31686. },
  31687. "ordertime": {
  31688. "description": "委托时间",
  31689. "type": "string"
  31690. },
  31691. "preorderid": {
  31692. "description": "关联预埋单号(止盈止损单时填写)",
  31693. "type": "string"
  31694. },
  31695. "pricemode": {
  31696. "description": "取价方式 - 1:市价 2: 限价",
  31697. "type": "integer"
  31698. },
  31699. "qtydecimalplace": {
  31700. "description": "商品报价小数位",
  31701. "type": "integer"
  31702. },
  31703. "relatedid": {
  31704. "description": "关联单号(交割单)",
  31705. "type": "string"
  31706. },
  31707. "tradedate": {
  31708. "description": "交易日(yyyyMMdd)",
  31709. "type": "string"
  31710. },
  31711. "trademode": {
  31712. "description": "交易模式",
  31713. "type": "integer"
  31714. },
  31715. "tradeqty": {
  31716. "description": "成交数量",
  31717. "type": "number"
  31718. },
  31719. "unfreezecharge": {
  31720. "description": "解冻手续费",
  31721. "type": "number"
  31722. },
  31723. "unfreezemargin": {
  31724. "description": "解冻保证金",
  31725. "type": "number"
  31726. },
  31727. "validtime": {
  31728. "description": "有效期限",
  31729. "type": "string"
  31730. },
  31731. "validtype": {
  31732. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31733. "type": "integer"
  31734. },
  31735. "volumetype": {
  31736. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31737. "type": "integer"
  31738. }
  31739. }
  31740. },
  31741. "order.QueryTradePositionRsp": {
  31742. "type": "object",
  31743. "required": [
  31744. "goodsid"
  31745. ],
  31746. "properties": {
  31747. "accountid": {
  31748. "description": "资金账户",
  31749. "type": "integer"
  31750. },
  31751. "agreeunit": {
  31752. "description": "合约单位",
  31753. "type": "number"
  31754. },
  31755. "averageprice": {
  31756. "description": "持仓均价",
  31757. "type": "number"
  31758. },
  31759. "buyorsell": {
  31760. "description": "方向 - 0:买 1:卖",
  31761. "type": "integer"
  31762. },
  31763. "closetotalqty": {
  31764. "description": "平仓总数量",
  31765. "type": "number"
  31766. },
  31767. "curholderamount": {
  31768. "description": "当前持仓总金额[商品币种]",
  31769. "type": "number"
  31770. },
  31771. "curpositionqty": {
  31772. "description": "当前持仓总数量",
  31773. "type": "number"
  31774. },
  31775. "currencyid": {
  31776. "description": "报价货币ID",
  31777. "type": "integer"
  31778. },
  31779. "curtdposition": {
  31780. "description": "期末今日头寸",
  31781. "type": "number"
  31782. },
  31783. "decimalplace": {
  31784. "description": "报价小数位",
  31785. "type": "integer"
  31786. },
  31787. "enableqty": {
  31788. "description": "可用量",
  31789. "type": "number"
  31790. },
  31791. "fretdposition": {
  31792. "description": "冻结今日头寸",
  31793. "type": "number"
  31794. },
  31795. "frozenqty": {
  31796. "description": "持仓冻结数量",
  31797. "type": "number"
  31798. },
  31799. "goodscode": {
  31800. "description": "商品代码",
  31801. "type": "string"
  31802. },
  31803. "goodsid": {
  31804. "description": "商品Id",
  31805. "type": "integer"
  31806. },
  31807. "goodsname": {
  31808. "description": "商品名称",
  31809. "type": "string"
  31810. },
  31811. "goodunit": {
  31812. "description": "报价单位",
  31813. "type": "string"
  31814. },
  31815. "goodunitid": {
  31816. "description": "报价单位ID",
  31817. "type": "integer"
  31818. },
  31819. "holderamount": {
  31820. "description": "期初持仓总金额[商品币种]",
  31821. "type": "number"
  31822. },
  31823. "lastprice": {
  31824. "description": "最新价",
  31825. "type": "number"
  31826. },
  31827. "marketamount": {
  31828. "description": "市值",
  31829. "type": "number"
  31830. },
  31831. "marketid": {
  31832. "description": "所属市场ID",
  31833. "type": "integer"
  31834. },
  31835. "openreqqty": {
  31836. "description": "开仓申请数量(用于比较最大持仓数量)",
  31837. "type": "number"
  31838. },
  31839. "opentotalqty": {
  31840. "description": "开仓总数量",
  31841. "type": "number"
  31842. },
  31843. "otherfrozenqty": {
  31844. "description": "持仓其他冻结数量(交割冻结)",
  31845. "type": "number"
  31846. },
  31847. "positionpl": {
  31848. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  31849. "type": "number"
  31850. },
  31851. "positionplrate": {
  31852. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  31853. "type": "number"
  31854. },
  31855. "positionqty": {
  31856. "description": "期初持仓数量",
  31857. "type": "number"
  31858. },
  31859. "qtydecimalplace": {
  31860. "description": "成交量小数位",
  31861. "type": "integer"
  31862. },
  31863. "tnqty": {
  31864. "description": "T+N冻结总量",
  31865. "type": "number"
  31866. },
  31867. "tnusedqty": {
  31868. "description": "T+N使用量(可以使用T+N的冻结数量)",
  31869. "type": "number"
  31870. },
  31871. "trademode": {
  31872. "description": "交易模式",
  31873. "type": "integer"
  31874. },
  31875. "usedmargin": {
  31876. "description": "占用保证金[商品币种]",
  31877. "type": "number"
  31878. }
  31879. }
  31880. },
  31881. "quote.HistoryData": {
  31882. "type": "object",
  31883. "properties": {
  31884. "c": {
  31885. "description": "收盘价",
  31886. "type": "number"
  31887. },
  31888. "f": {
  31889. "description": "是否补充数据",
  31890. "type": "boolean"
  31891. },
  31892. "h": {
  31893. "description": "最高价",
  31894. "type": "number"
  31895. },
  31896. "hv": {
  31897. "description": "持仓量",
  31898. "type": "integer"
  31899. },
  31900. "l": {
  31901. "description": "最低价",
  31902. "type": "number"
  31903. },
  31904. "o": {
  31905. "description": "开盘价",
  31906. "type": "number"
  31907. },
  31908. "s": {
  31909. "description": "结算价,日线周期(包括)以上才有",
  31910. "type": "number"
  31911. },
  31912. "ts": {
  31913. "description": "时间",
  31914. "type": "string"
  31915. },
  31916. "tt": {
  31917. "description": "总金额",
  31918. "type": "number"
  31919. },
  31920. "tv": {
  31921. "description": "总量",
  31922. "type": "integer"
  31923. }
  31924. }
  31925. },
  31926. "quote.HistoryTikData": {
  31927. "type": "object",
  31928. "properties": {
  31929. "AV": {
  31930. "description": "卖量",
  31931. "type": "integer"
  31932. },
  31933. "Ask": {
  31934. "description": "卖价",
  31935. "type": "number"
  31936. },
  31937. "BV": {
  31938. "description": "买量",
  31939. "type": "integer"
  31940. },
  31941. "Bid": {
  31942. "description": "买价",
  31943. "type": "number"
  31944. },
  31945. "HI": {
  31946. "description": "单笔持仓",
  31947. "type": "integer"
  31948. },
  31949. "HV": {
  31950. "description": "持仓量",
  31951. "type": "integer"
  31952. },
  31953. "PE": {
  31954. "description": "现价",
  31955. "type": "number"
  31956. },
  31957. "TDR": {
  31958. "description": "交易方向,0:买 1:卖",
  31959. "type": "integer"
  31960. },
  31961. "TK": {
  31962. "description": "交易类型",
  31963. "type": "integer"
  31964. },
  31965. "TS": {
  31966. "description": "行情时间文本",
  31967. "type": "string"
  31968. },
  31969. "TT": {
  31970. "description": "现金额",
  31971. "type": "number"
  31972. },
  31973. "Vol": {
  31974. "description": "现量",
  31975. "type": "integer"
  31976. }
  31977. }
  31978. },
  31979. "quote.QueryQuoteDayRsp": {
  31980. "type": "object",
  31981. "properties": {
  31982. "ask": {
  31983. "description": "卖1",
  31984. "type": "number"
  31985. },
  31986. "ask10": {
  31987. "description": "卖10",
  31988. "type": "number"
  31989. },
  31990. "ask2": {
  31991. "description": "卖2",
  31992. "type": "number"
  31993. },
  31994. "ask3": {
  31995. "description": "卖3",
  31996. "type": "number"
  31997. },
  31998. "ask4": {
  31999. "description": "卖4",
  32000. "type": "number"
  32001. },
  32002. "ask5": {
  32003. "description": "卖5",
  32004. "type": "number"
  32005. },
  32006. "ask6": {
  32007. "description": "卖6",
  32008. "type": "number"
  32009. },
  32010. "ask7": {
  32011. "description": "卖7",
  32012. "type": "number"
  32013. },
  32014. "ask8": {
  32015. "description": "卖8",
  32016. "type": "number"
  32017. },
  32018. "ask9": {
  32019. "description": "卖9",
  32020. "type": "number"
  32021. },
  32022. "askorderid": {
  32023. "description": "卖单号1",
  32024. "type": "integer"
  32025. },
  32026. "askorderid2": {
  32027. "description": "卖单号2",
  32028. "type": "integer"
  32029. },
  32030. "askorderid3": {
  32031. "description": "卖单号3",
  32032. "type": "integer"
  32033. },
  32034. "askorderid4": {
  32035. "description": "卖单号4",
  32036. "type": "integer"
  32037. },
  32038. "askorderid5": {
  32039. "description": "卖单号5",
  32040. "type": "integer"
  32041. },
  32042. "askordervolume": {
  32043. "description": "卖单量1",
  32044. "type": "integer"
  32045. },
  32046. "askordervolume10": {
  32047. "description": "卖单量10",
  32048. "type": "integer"
  32049. },
  32050. "askordervolume2": {
  32051. "description": "卖单量2",
  32052. "type": "integer"
  32053. },
  32054. "askordervolume3": {
  32055. "description": "卖单量3",
  32056. "type": "integer"
  32057. },
  32058. "askordervolume4": {
  32059. "description": "卖单量4",
  32060. "type": "integer"
  32061. },
  32062. "askordervolume5": {
  32063. "description": "卖单量5",
  32064. "type": "integer"
  32065. },
  32066. "askordervolume6": {
  32067. "description": "卖单量6",
  32068. "type": "integer"
  32069. },
  32070. "askordervolume7": {
  32071. "description": "卖单量7",
  32072. "type": "integer"
  32073. },
  32074. "askordervolume8": {
  32075. "description": "卖单量8",
  32076. "type": "integer"
  32077. },
  32078. "askordervolume9": {
  32079. "description": "卖单量9",
  32080. "type": "integer"
  32081. },
  32082. "askqueueinfo": {
  32083. "description": "大利市卖港股用",
  32084. "type": "string"
  32085. },
  32086. "askvolume": {
  32087. "description": "卖量1",
  32088. "type": "integer"
  32089. },
  32090. "askvolume10": {
  32091. "description": "卖量10",
  32092. "type": "integer"
  32093. },
  32094. "askvolume2": {
  32095. "description": "卖量2",
  32096. "type": "integer"
  32097. },
  32098. "askvolume3": {
  32099. "description": "卖量3",
  32100. "type": "integer"
  32101. },
  32102. "askvolume4": {
  32103. "description": "卖量4",
  32104. "type": "integer"
  32105. },
  32106. "askvolume5": {
  32107. "description": "卖量5",
  32108. "type": "integer"
  32109. },
  32110. "askvolume6": {
  32111. "description": "卖量6",
  32112. "type": "integer"
  32113. },
  32114. "askvolume7": {
  32115. "description": "卖量7",
  32116. "type": "integer"
  32117. },
  32118. "askvolume8": {
  32119. "description": "卖量8",
  32120. "type": "integer"
  32121. },
  32122. "askvolume9": {
  32123. "description": "卖量9",
  32124. "type": "integer"
  32125. },
  32126. "averageprice": {
  32127. "description": "均价",
  32128. "type": "number"
  32129. },
  32130. "bid": {
  32131. "description": "买1",
  32132. "type": "number"
  32133. },
  32134. "bid10": {
  32135. "description": "买10",
  32136. "type": "number"
  32137. },
  32138. "bid2": {
  32139. "description": "买2",
  32140. "type": "number"
  32141. },
  32142. "bid3": {
  32143. "description": "买3",
  32144. "type": "number"
  32145. },
  32146. "bid4": {
  32147. "description": "买4",
  32148. "type": "number"
  32149. },
  32150. "bid5": {
  32151. "description": "买5",
  32152. "type": "number"
  32153. },
  32154. "bid6": {
  32155. "description": "买6",
  32156. "type": "number"
  32157. },
  32158. "bid7": {
  32159. "description": "买7",
  32160. "type": "number"
  32161. },
  32162. "bid8": {
  32163. "description": "买8",
  32164. "type": "number"
  32165. },
  32166. "bid9": {
  32167. "description": "买9",
  32168. "type": "number"
  32169. },
  32170. "bidorderid": {
  32171. "description": "买单号1",
  32172. "type": "integer"
  32173. },
  32174. "bidorderid2": {
  32175. "description": "买单号2",
  32176. "type": "integer"
  32177. },
  32178. "bidorderid3": {
  32179. "description": "买单号3",
  32180. "type": "integer"
  32181. },
  32182. "bidorderid4": {
  32183. "description": "买单号4",
  32184. "type": "integer"
  32185. },
  32186. "bidorderid5": {
  32187. "description": "买单号5",
  32188. "type": "integer"
  32189. },
  32190. "bidordervolume": {
  32191. "description": "买单量1",
  32192. "type": "integer"
  32193. },
  32194. "bidordervolume10": {
  32195. "description": "买单量10",
  32196. "type": "integer"
  32197. },
  32198. "bidordervolume2": {
  32199. "description": "买单量2",
  32200. "type": "integer"
  32201. },
  32202. "bidordervolume3": {
  32203. "description": "买单量3",
  32204. "type": "integer"
  32205. },
  32206. "bidordervolume4": {
  32207. "description": "买单量4",
  32208. "type": "integer"
  32209. },
  32210. "bidordervolume5": {
  32211. "description": "买单量5",
  32212. "type": "integer"
  32213. },
  32214. "bidordervolume6": {
  32215. "description": "买单量6",
  32216. "type": "integer"
  32217. },
  32218. "bidordervolume7": {
  32219. "description": "买单量7",
  32220. "type": "integer"
  32221. },
  32222. "bidordervolume8": {
  32223. "description": "买单量8",
  32224. "type": "integer"
  32225. },
  32226. "bidordervolume9": {
  32227. "description": "买单量9",
  32228. "type": "integer"
  32229. },
  32230. "bidqueueinfo": {
  32231. "description": "大利市买港股用",
  32232. "type": "string"
  32233. },
  32234. "bidvolume": {
  32235. "description": "买量1",
  32236. "type": "integer"
  32237. },
  32238. "bidvolume10": {
  32239. "description": "买量10",
  32240. "type": "integer"
  32241. },
  32242. "bidvolume2": {
  32243. "description": "买量2",
  32244. "type": "integer"
  32245. },
  32246. "bidvolume3": {
  32247. "description": "买量3",
  32248. "type": "integer"
  32249. },
  32250. "bidvolume4": {
  32251. "description": "买量4",
  32252. "type": "integer"
  32253. },
  32254. "bidvolume5": {
  32255. "description": "买量5",
  32256. "type": "integer"
  32257. },
  32258. "bidvolume6": {
  32259. "description": "买量6",
  32260. "type": "integer"
  32261. },
  32262. "bidvolume7": {
  32263. "description": "买量7",
  32264. "type": "integer"
  32265. },
  32266. "bidvolume8": {
  32267. "description": "买量8",
  32268. "type": "integer"
  32269. },
  32270. "bidvolume9": {
  32271. "description": "买量9",
  32272. "type": "integer"
  32273. },
  32274. "calloptionpremiums": {
  32275. "description": "认购期权1",
  32276. "type": "integer"
  32277. },
  32278. "calloptionpremiums2": {
  32279. "description": "认购期权2",
  32280. "type": "integer"
  32281. },
  32282. "calloptionpremiums3": {
  32283. "description": "认购期权3",
  32284. "type": "integer"
  32285. },
  32286. "calloptionpremiums4": {
  32287. "description": "认购期权4",
  32288. "type": "integer"
  32289. },
  32290. "calloptionpremiums5": {
  32291. "description": "认购期权5",
  32292. "type": "integer"
  32293. },
  32294. "cleartime": {
  32295. "description": "清盘时间",
  32296. "type": "integer"
  32297. },
  32298. "exchangecode": {
  32299. "description": "交易所代码",
  32300. "type": "integer"
  32301. },
  32302. "exchangedate": {
  32303. "description": "交易日",
  32304. "type": "integer"
  32305. },
  32306. "goodscode": {
  32307. "description": "商品代码",
  32308. "type": "string"
  32309. },
  32310. "grepmarketprice": {
  32311. "description": "暗盘价 港股专用",
  32312. "type": "number"
  32313. },
  32314. "highest": {
  32315. "description": "最高价",
  32316. "type": "number"
  32317. },
  32318. "holdincrement": {
  32319. "description": "单笔持仓",
  32320. "type": "integer"
  32321. },
  32322. "holdvolume": {
  32323. "description": "持仓",
  32324. "type": "integer"
  32325. },
  32326. "iep": {
  32327. "description": "平衡价 港股专用",
  32328. "type": "number"
  32329. },
  32330. "iev": {
  32331. "description": "平衡量 港股专用",
  32332. "type": "number"
  32333. },
  32334. "inventory": {
  32335. "description": "库存",
  32336. "type": "integer"
  32337. },
  32338. "iscleared": {
  32339. "description": "是否清盘标志",
  32340. "type": "integer"
  32341. },
  32342. "issettled": {
  32343. "description": "是否结算标志",
  32344. "type": "integer"
  32345. },
  32346. "last": {
  32347. "description": "最新价",
  32348. "type": "number"
  32349. },
  32350. "lastlot": {
  32351. "description": "最新成交手数",
  32352. "type": "integer"
  32353. },
  32354. "lasttime": {
  32355. "description": "行情时间(只有现价变化行情时间才变化)",
  32356. "type": "string"
  32357. },
  32358. "lastturnover": {
  32359. "description": "最新成交金额",
  32360. "type": "number"
  32361. },
  32362. "lastvolume": {
  32363. "description": "最新成交量",
  32364. "type": "integer"
  32365. },
  32366. "limitdown": {
  32367. "description": "跌停价",
  32368. "type": "number"
  32369. },
  32370. "limitup": {
  32371. "description": "涨停价",
  32372. "type": "number"
  32373. },
  32374. "lowest": {
  32375. "description": "最低价",
  32376. "type": "number"
  32377. },
  32378. "nontotalholdervolume": {
  32379. "description": "非交易持仓量",
  32380. "type": "integer"
  32381. },
  32382. "nontotallot": {
  32383. "description": "非交易总手数",
  32384. "type": "integer"
  32385. },
  32386. "nontotalturnover": {
  32387. "description": "非交易总金额",
  32388. "type": "integer"
  32389. },
  32390. "nontotalvolume": {
  32391. "description": "非交易总量",
  32392. "type": "integer"
  32393. },
  32394. "opened": {
  32395. "description": "开盘价",
  32396. "type": "number"
  32397. },
  32398. "opentime": {
  32399. "description": "开盘时间",
  32400. "type": "string"
  32401. },
  32402. "orderid": {
  32403. "description": "序号",
  32404. "type": "integer"
  32405. },
  32406. "preclose": {
  32407. "description": "昨收",
  32408. "type": "number"
  32409. },
  32410. "preholdvolume": {
  32411. "description": "昨持仓",
  32412. "type": "integer"
  32413. },
  32414. "presettle": {
  32415. "description": "昨结价",
  32416. "type": "number"
  32417. },
  32418. "publictradetype": {
  32419. "description": "公共交易标志类型 港股专用",
  32420. "type": "string"
  32421. },
  32422. "putoptionpremiums": {
  32423. "description": "认沽期权1",
  32424. "type": "integer"
  32425. },
  32426. "putoptionpremiums2": {
  32427. "description": "认沽期权2",
  32428. "type": "integer"
  32429. },
  32430. "putoptionpremiums3": {
  32431. "description": "认沽期权3",
  32432. "type": "integer"
  32433. },
  32434. "putoptionpremiums4": {
  32435. "description": "认沽期权4",
  32436. "type": "integer"
  32437. },
  32438. "putoptionpremiums5": {
  32439. "description": "认沽期权5",
  32440. "type": "integer"
  32441. },
  32442. "settle": {
  32443. "description": "结算价",
  32444. "type": "number"
  32445. },
  32446. "strikeprice": {
  32447. "description": "发行价",
  32448. "type": "number"
  32449. },
  32450. "totalaskvolume": {
  32451. "description": "内盘",
  32452. "type": "integer"
  32453. },
  32454. "totalbidvolume": {
  32455. "description": "外盘",
  32456. "type": "integer"
  32457. },
  32458. "totallot": {
  32459. "description": "总手数",
  32460. "type": "integer"
  32461. },
  32462. "totalturnover": {
  32463. "description": "总金额",
  32464. "type": "number"
  32465. },
  32466. "totalvolume": {
  32467. "description": "总量",
  32468. "type": "integer"
  32469. },
  32470. "utclasttime": {
  32471. "description": "utc的行情时间",
  32472. "type": "string"
  32473. }
  32474. }
  32475. },
  32476. "quote.QueryTSDataRsp": {
  32477. "type": "object",
  32478. "properties": {
  32479. "Count": {
  32480. "description": "交易日应有数据个数",
  32481. "type": "integer"
  32482. },
  32483. "decimalPlace": {
  32484. "description": "小数位",
  32485. "type": "integer"
  32486. },
  32487. "endTime": {
  32488. "description": "结束时间",
  32489. "type": "string"
  32490. },
  32491. "goodsCode": {
  32492. "description": "商品代码",
  32493. "type": "string"
  32494. },
  32495. "historyDatas": {
  32496. "description": "历史数据",
  32497. "type": "array",
  32498. "items": {
  32499. "$ref": "#/definitions/quote.HistoryData"
  32500. }
  32501. },
  32502. "outGoodsCode": {
  32503. "description": "外部商品代码",
  32504. "type": "string"
  32505. },
  32506. "preSettle": {
  32507. "description": "昨结价",
  32508. "type": "number"
  32509. },
  32510. "runSteps": {
  32511. "description": "交易日开休市计划",
  32512. "type": "array",
  32513. "items": {
  32514. "$ref": "#/definitions/quote.TSDataRunStep"
  32515. }
  32516. },
  32517. "startTime": {
  32518. "description": "开始时间",
  32519. "type": "string"
  32520. },
  32521. "tradeDate": {
  32522. "description": "交易日",
  32523. "type": "string"
  32524. }
  32525. }
  32526. },
  32527. "quote.TSDataRunStep": {
  32528. "type": "object",
  32529. "properties": {
  32530. "end": {
  32531. "description": "真实结束时间",
  32532. "type": "string"
  32533. },
  32534. "endflag": {
  32535. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  32536. "type": "integer"
  32537. },
  32538. "endtime": {
  32539. "description": "结束时间(HH:mm)",
  32540. "type": "string"
  32541. },
  32542. "endweekday": {
  32543. "description": "结束周几",
  32544. "type": "integer"
  32545. },
  32546. "groupid": {
  32547. "description": "分组ID",
  32548. "type": "integer"
  32549. },
  32550. "runstep": {
  32551. "description": "运行阶段 - 2:连续交易",
  32552. "type": "integer"
  32553. },
  32554. "sectionid": {
  32555. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  32556. "type": "integer"
  32557. },
  32558. "start": {
  32559. "description": "真实开始时间",
  32560. "type": "string"
  32561. },
  32562. "startflag": {
  32563. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  32564. "type": "integer"
  32565. },
  32566. "starttime": {
  32567. "description": "起始时间(HH:mm)",
  32568. "type": "string"
  32569. },
  32570. "startweekday": {
  32571. "description": "起始周几",
  32572. "type": "integer"
  32573. },
  32574. "tradeweekday": {
  32575. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  32576. "type": "integer"
  32577. }
  32578. }
  32579. },
  32580. "szdz.QueryConvertLogRsp": {
  32581. "type": "object",
  32582. "required": [
  32583. "logid"
  32584. ],
  32585. "properties": {
  32586. "accountid": {
  32587. "description": "资金账户ID",
  32588. "type": "integer"
  32589. },
  32590. "clientticket": {
  32591. "description": "客户端流水号",
  32592. "type": "string"
  32593. },
  32594. "converttype": {
  32595. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  32596. "type": "integer"
  32597. },
  32598. "createtime": {
  32599. "description": "记账时间",
  32600. "type": "string"
  32601. },
  32602. "daymaxvalue": {
  32603. "description": "配置当日最大转入限制",
  32604. "type": "number"
  32605. },
  32606. "daymaxvalue2": {
  32607. "description": "配置当日最大转入限制(转入)",
  32608. "type": "number"
  32609. },
  32610. "goodscode": {
  32611. "description": "商品代码",
  32612. "type": "string"
  32613. },
  32614. "goodsname": {
  32615. "description": "商品名称",
  32616. "type": "string"
  32617. },
  32618. "handlestatus": {
  32619. "description": "处理状态",
  32620. "type": "integer"
  32621. },
  32622. "innergoodsid": {
  32623. "description": "内部商品ID",
  32624. "type": "integer"
  32625. },
  32626. "inratio": {
  32627. "description": "配置转入比值",
  32628. "type": "integer"
  32629. },
  32630. "invalue": {
  32631. "description": "目标值",
  32632. "type": "number"
  32633. },
  32634. "logid": {
  32635. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32636. "type": "integer"
  32637. },
  32638. "mobile": {
  32639. "description": "手机号码(加密存储)",
  32640. "type": "string"
  32641. },
  32642. "outergoodscode": {
  32643. "description": "外部商品代码[JD\\PD]",
  32644. "type": "string"
  32645. },
  32646. "outratio": {
  32647. "description": "配置转出比值",
  32648. "type": "integer"
  32649. },
  32650. "outvalue": {
  32651. "description": "源值",
  32652. "type": "number"
  32653. },
  32654. "pddecimalplace": {
  32655. "description": "PD小数位",
  32656. "type": "integer"
  32657. },
  32658. "qty": {
  32659. "description": "数量",
  32660. "type": "string"
  32661. },
  32662. "remark": {
  32663. "description": "备注",
  32664. "type": "string"
  32665. },
  32666. "sessionid": {
  32667. "description": "会话ID",
  32668. "type": "integer"
  32669. },
  32670. "timemaxvalue": {
  32671. "description": "配置单次最大转入限制",
  32672. "type": "number"
  32673. },
  32674. "timemaxvalue2": {
  32675. "description": "配置单次最大转入限制(转入)",
  32676. "type": "number"
  32677. },
  32678. "timeminvalue": {
  32679. "description": "配置单次最小数量限制",
  32680. "type": "number"
  32681. },
  32682. "timeminvalue2": {
  32683. "description": "配置单次最小数量限制(转入)",
  32684. "type": "number"
  32685. },
  32686. "tradedate": {
  32687. "description": "交易日(yyyyMMdd)",
  32688. "type": "string"
  32689. },
  32690. "userid": {
  32691. "description": "用户ID",
  32692. "type": "integer"
  32693. }
  32694. }
  32695. },
  32696. "szdz.QueryGoodsPickupRsp": {
  32697. "type": "object",
  32698. "required": [
  32699. "takeorderid"
  32700. ],
  32701. "properties": {
  32702. "accountid": {
  32703. "description": "账户ID",
  32704. "type": "integer"
  32705. },
  32706. "address": {
  32707. "description": "提货人详细地址",
  32708. "type": "string"
  32709. },
  32710. "auditer": {
  32711. "description": "审核人",
  32712. "type": "integer"
  32713. },
  32714. "audittime": {
  32715. "description": "审核时间",
  32716. "type": "string"
  32717. },
  32718. "cardnum": {
  32719. "description": "提货人证件号码",
  32720. "type": "string"
  32721. },
  32722. "cardtypeid": {
  32723. "description": "提货人证件类型",
  32724. "type": "integer"
  32725. },
  32726. "checkremark": {
  32727. "description": "审核备注",
  32728. "type": "string"
  32729. },
  32730. "goodscode": {
  32731. "description": "商品代码",
  32732. "type": "string"
  32733. },
  32734. "goodsid": {
  32735. "description": "商品ID",
  32736. "type": "integer"
  32737. },
  32738. "goodsname": {
  32739. "description": "商品名称",
  32740. "type": "string"
  32741. },
  32742. "handlestatus": {
  32743. "description": "处理状态",
  32744. "type": "integer"
  32745. },
  32746. "marketid": {
  32747. "description": "市场ID",
  32748. "type": "integer"
  32749. },
  32750. "phonenum": {
  32751. "description": "提货人联系方式",
  32752. "type": "string"
  32753. },
  32754. "qty": {
  32755. "description": "提货数量",
  32756. "type": "number"
  32757. },
  32758. "recivername": {
  32759. "description": "提货人姓名",
  32760. "type": "string"
  32761. },
  32762. "reqtime": {
  32763. "description": "更新时间",
  32764. "type": "string"
  32765. },
  32766. "takemode": {
  32767. "description": "提货方式 - 2:自提 3:配送",
  32768. "type": "integer"
  32769. },
  32770. "takeorderid": {
  32771. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  32772. "type": "string"
  32773. },
  32774. "takeorderstatus": {
  32775. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  32776. "type": "integer"
  32777. },
  32778. "takeremark": {
  32779. "description": "提货备注",
  32780. "type": "string"
  32781. },
  32782. "tradedate": {
  32783. "description": "交易日(yyyyMMdd)",
  32784. "type": "string"
  32785. },
  32786. "userid": {
  32787. "description": "用户ID",
  32788. "type": "integer"
  32789. }
  32790. }
  32791. },
  32792. "szdz.QueryRecieptOrderRsp": {
  32793. "type": "object",
  32794. "required": [
  32795. "ordertime"
  32796. ],
  32797. "properties": {
  32798. "accountName": {
  32799. "description": "所属账号名称(已脱敏)",
  32800. "type": "string"
  32801. },
  32802. "accountid": {
  32803. "description": "资金账号",
  32804. "type": "integer"
  32805. },
  32806. "buyorsell": {
  32807. "description": "方向 - 0:买 1:卖",
  32808. "type": "integer"
  32809. },
  32810. "enableqty": {
  32811. "description": "可摘数量",
  32812. "type": "integer"
  32813. },
  32814. "goodscode": {
  32815. "description": "商品代码",
  32816. "type": "string"
  32817. },
  32818. "goodsid": {
  32819. "description": "商品ID",
  32820. "type": "integer"
  32821. },
  32822. "goodsname": {
  32823. "description": "商品名称",
  32824. "type": "string"
  32825. },
  32826. "orderid": {
  32827. "description": "委托单号",
  32828. "type": "string"
  32829. },
  32830. "orderprice": {
  32831. "description": "委托价格",
  32832. "type": "number"
  32833. },
  32834. "ordertime": {
  32835. "description": "委托时间",
  32836. "type": "string"
  32837. },
  32838. "tradedate": {
  32839. "description": "交易日(yyyyMMdd)",
  32840. "type": "string"
  32841. }
  32842. }
  32843. },
  32844. "szdz.QuerySZDZTradePositionRsp": {
  32845. "type": "object",
  32846. "properties": {
  32847. "accountid": {
  32848. "description": "账号Id",
  32849. "type": "integer"
  32850. },
  32851. "agreeunit": {
  32852. "description": "合约单位",
  32853. "type": "number"
  32854. },
  32855. "averageprice": {
  32856. "description": "持仓均价",
  32857. "type": "number"
  32858. },
  32859. "buyorsell": {
  32860. "description": "方向 - 0:买 1:卖",
  32861. "type": "integer"
  32862. },
  32863. "closetotalqty": {
  32864. "description": "平仓总数量",
  32865. "type": "integer"
  32866. },
  32867. "curholderamount": {
  32868. "description": "当前持仓总金额",
  32869. "type": "number"
  32870. },
  32871. "curpositionqty": {
  32872. "description": "当前持仓总数量",
  32873. "type": "integer"
  32874. },
  32875. "currencyid": {
  32876. "description": "报价货币ID",
  32877. "type": "integer"
  32878. },
  32879. "curtdposition": {
  32880. "description": "期末今日头寸",
  32881. "type": "integer"
  32882. },
  32883. "decimalplace": {
  32884. "description": "报价小数位",
  32885. "type": "integer"
  32886. },
  32887. "enableqty": {
  32888. "description": "可用量",
  32889. "type": "integer"
  32890. },
  32891. "fretdposition": {
  32892. "description": "冻结今日头寸",
  32893. "type": "integer"
  32894. },
  32895. "frozenqty": {
  32896. "description": "持仓冻结数量",
  32897. "type": "integer"
  32898. },
  32899. "goodscode": {
  32900. "description": "商品代码(内部)",
  32901. "type": "string"
  32902. },
  32903. "goodsid": {
  32904. "description": "商品Id",
  32905. "type": "integer"
  32906. },
  32907. "goodsname": {
  32908. "description": "商品名称",
  32909. "type": "string"
  32910. },
  32911. "goodunit": {
  32912. "description": "报价单位",
  32913. "type": "string"
  32914. },
  32915. "goodunitid": {
  32916. "description": "报价单位ID",
  32917. "type": "integer"
  32918. },
  32919. "holderamount": {
  32920. "description": "期初持仓总金额",
  32921. "type": "number"
  32922. },
  32923. "marketid": {
  32924. "description": "市场ID",
  32925. "type": "integer"
  32926. },
  32927. "openreqqty": {
  32928. "description": "开仓申请数量",
  32929. "type": "integer"
  32930. },
  32931. "opentotalqty": {
  32932. "description": "开仓总数量",
  32933. "type": "integer"
  32934. },
  32935. "otherfrozenqty": {
  32936. "description": "持仓其他冻结数量(交割冻结)",
  32937. "type": "integer"
  32938. },
  32939. "positionqty": {
  32940. "description": "期初持仓数量",
  32941. "type": "integer"
  32942. },
  32943. "szdz3freezqty": {
  32944. "description": "尚志大宗转换冻结总数量",
  32945. "type": "integer"
  32946. },
  32947. "tnqty": {
  32948. "description": "T+N冻结总量",
  32949. "type": "integer"
  32950. },
  32951. "tnusedqty": {
  32952. "description": "T+N使用量",
  32953. "type": "integer"
  32954. },
  32955. "trademode": {
  32956. "description": "交易模式",
  32957. "type": "integer"
  32958. },
  32959. "usedmargin": {
  32960. "description": "占用保证金",
  32961. "type": "number"
  32962. }
  32963. }
  32964. },
  32965. "taaccount.QueryAmountLogRsp": {
  32966. "type": "object",
  32967. "required": [
  32968. "accountid",
  32969. "amount",
  32970. "amountadjusttype",
  32971. "autoid",
  32972. "balance",
  32973. "createtime",
  32974. "currentbalance",
  32975. "operatetype"
  32976. ],
  32977. "properties": {
  32978. "OPERATETYPENAME": {
  32979. "description": "资金操作类型名称",
  32980. "type": "string"
  32981. },
  32982. "accountid": {
  32983. "description": "资金账户ID",
  32984. "type": "integer"
  32985. },
  32986. "agoodscode": {
  32987. "description": "竞拍商品代码",
  32988. "type": "string"
  32989. },
  32990. "agoodsname": {
  32991. "description": "竞拍商品名称",
  32992. "type": "string"
  32993. },
  32994. "amount": {
  32995. "description": "资金金额",
  32996. "type": "number"
  32997. },
  32998. "amountadjusttype": {
  32999. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33000. "type": "integer"
  33001. },
  33002. "autoid": {
  33003. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33004. "type": "integer"
  33005. },
  33006. "balance": {
  33007. "description": "期初余额",
  33008. "type": "number"
  33009. },
  33010. "businesscode": {
  33011. "description": "业务编号",
  33012. "type": "integer"
  33013. },
  33014. "createtime": {
  33015. "description": "发生时间",
  33016. "type": "string"
  33017. },
  33018. "currencyid": {
  33019. "description": "币种ID",
  33020. "type": "integer"
  33021. },
  33022. "currentbalance": {
  33023. "description": "期末余额(变动后金额)",
  33024. "type": "number"
  33025. },
  33026. "dgoodscode": {
  33027. "description": "交割商品代码",
  33028. "type": "string"
  33029. },
  33030. "dgoodsname": {
  33031. "description": "交割商品名称",
  33032. "type": "string"
  33033. },
  33034. "goodscode": {
  33035. "description": "商品代码",
  33036. "type": "string"
  33037. },
  33038. "goodsid": {
  33039. "description": "商品ID",
  33040. "type": "integer"
  33041. },
  33042. "goodsname": {
  33043. "description": "商品名称",
  33044. "type": "string"
  33045. },
  33046. "marketid": {
  33047. "description": "市场ID",
  33048. "type": "integer"
  33049. },
  33050. "marketname": {
  33051. "description": "市场名称",
  33052. "type": "string"
  33053. },
  33054. "moneyticket": {
  33055. "description": "资金流水号:银行端流水号",
  33056. "type": "integer"
  33057. },
  33058. "operatetype": {
  33059. "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:营销收款",
  33060. "type": "integer"
  33061. },
  33062. "relationorderid": {
  33063. "description": "关联单号",
  33064. "type": "string"
  33065. },
  33066. "remark": {
  33067. "description": "备注",
  33068. "type": "string"
  33069. },
  33070. "trademode": {
  33071. "description": "交易模式",
  33072. "type": "integer"
  33073. }
  33074. }
  33075. },
  33076. "taaccount.QueryHisAmountLogRsp": {
  33077. "type": "object",
  33078. "required": [
  33079. "accountid",
  33080. "amount",
  33081. "amountadjusttype",
  33082. "autoid",
  33083. "balance",
  33084. "createtime",
  33085. "currentbalance",
  33086. "histradedate",
  33087. "operatetype"
  33088. ],
  33089. "properties": {
  33090. "OPERATETYPENAME": {
  33091. "description": "资金操作类型名称",
  33092. "type": "string"
  33093. },
  33094. "accountid": {
  33095. "description": "资金账户ID",
  33096. "type": "integer"
  33097. },
  33098. "agoodscode": {
  33099. "description": "竞拍商品代码",
  33100. "type": "string"
  33101. },
  33102. "agoodsname": {
  33103. "description": "竞拍商品名称",
  33104. "type": "string"
  33105. },
  33106. "amount": {
  33107. "description": "资金金额",
  33108. "type": "number"
  33109. },
  33110. "amountadjusttype": {
  33111. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33112. "type": "integer"
  33113. },
  33114. "autoid": {
  33115. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33116. "type": "integer"
  33117. },
  33118. "balance": {
  33119. "description": "期初余额",
  33120. "type": "number"
  33121. },
  33122. "businesscode": {
  33123. "description": "业务编号",
  33124. "type": "integer"
  33125. },
  33126. "createtime": {
  33127. "description": "发生时间",
  33128. "type": "string"
  33129. },
  33130. "currencyid": {
  33131. "description": "币种ID",
  33132. "type": "integer"
  33133. },
  33134. "currentbalance": {
  33135. "description": "期末余额(变动后金额)",
  33136. "type": "number"
  33137. },
  33138. "dgoodscode": {
  33139. "description": "交割商品代码",
  33140. "type": "string"
  33141. },
  33142. "dgoodsname": {
  33143. "description": "交割商品名称",
  33144. "type": "string"
  33145. },
  33146. "goodscode": {
  33147. "description": "商品代码",
  33148. "type": "string"
  33149. },
  33150. "goodsid": {
  33151. "description": "商品ID",
  33152. "type": "integer"
  33153. },
  33154. "goodsname": {
  33155. "description": "商品名称",
  33156. "type": "string"
  33157. },
  33158. "histradedate": {
  33159. "description": "历史交易日",
  33160. "type": "string"
  33161. },
  33162. "isvaliddata": {
  33163. "description": "是否有效 - 0:无效 1:有效",
  33164. "type": "integer"
  33165. },
  33166. "marketid": {
  33167. "description": "市场ID",
  33168. "type": "integer"
  33169. },
  33170. "marketname": {
  33171. "description": "市场名称",
  33172. "type": "string"
  33173. },
  33174. "moneyticket": {
  33175. "description": "资金流水号:银行端流水号",
  33176. "type": "integer"
  33177. },
  33178. "operatetype": {
  33179. "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:营销收款",
  33180. "type": "integer"
  33181. },
  33182. "relationorderid": {
  33183. "description": "关联单号",
  33184. "type": "string"
  33185. },
  33186. "remark": {
  33187. "description": "备注",
  33188. "type": "string"
  33189. },
  33190. "trademode": {
  33191. "description": "交易模式",
  33192. "type": "integer"
  33193. }
  33194. }
  33195. },
  33196. "trade.QueryRecieptOrderRsp": {
  33197. "type": "object",
  33198. "required": [
  33199. "ordertime"
  33200. ],
  33201. "properties": {
  33202. "accountName": {
  33203. "description": "所属账号名称(已脱敏)",
  33204. "type": "string"
  33205. },
  33206. "accountid": {
  33207. "description": "资金账号",
  33208. "type": "integer"
  33209. },
  33210. "buyorsell": {
  33211. "description": "方向 - 0:买 1:卖",
  33212. "type": "integer"
  33213. },
  33214. "enableqty": {
  33215. "description": "可摘数量",
  33216. "type": "integer"
  33217. },
  33218. "goodscode": {
  33219. "description": "商品代码",
  33220. "type": "string"
  33221. },
  33222. "goodsid": {
  33223. "description": "商品ID",
  33224. "type": "integer"
  33225. },
  33226. "goodsname": {
  33227. "description": "商品名称",
  33228. "type": "string"
  33229. },
  33230. "orderid": {
  33231. "description": "委托单号",
  33232. "type": "string"
  33233. },
  33234. "orderprice": {
  33235. "description": "委托价格",
  33236. "type": "number"
  33237. },
  33238. "ordertime": {
  33239. "description": "委托时间",
  33240. "type": "string"
  33241. },
  33242. "tradedate": {
  33243. "description": "交易日(yyyyMMdd)",
  33244. "type": "string"
  33245. }
  33246. }
  33247. },
  33248. "user.LoginQueryRsp": {
  33249. "type": "object",
  33250. "properties": {
  33251. "areaRoles": {
  33252. "description": "所属角色信息",
  33253. "type": "array",
  33254. "items": {
  33255. "$ref": "#/definitions/models.Arearole"
  33256. }
  33257. },
  33258. "externalExchanges": {
  33259. "description": "外部交易所",
  33260. "type": "array",
  33261. "items": {
  33262. "$ref": "#/definitions/models.Externalexchange"
  33263. }
  33264. },
  33265. "goodsgroups": {
  33266. "description": "商品组",
  33267. "type": "array",
  33268. "items": {
  33269. "$ref": "#/definitions/models.Goodsgroup"
  33270. }
  33271. },
  33272. "loginAccount": {
  33273. "description": "登录账号",
  33274. "type": "object",
  33275. "$ref": "#/definitions/models.Loginaccount"
  33276. },
  33277. "markets": {
  33278. "description": "市场",
  33279. "type": "array",
  33280. "items": {
  33281. "$ref": "#/definitions/models.Market"
  33282. }
  33283. },
  33284. "systemParams": {
  33285. "description": "系统参数",
  33286. "type": "array",
  33287. "items": {
  33288. "$ref": "#/definitions/models.Systemparam"
  33289. }
  33290. },
  33291. "userAccount": {
  33292. "description": "用户账号",
  33293. "type": "object",
  33294. "$ref": "#/definitions/models.Useraccount"
  33295. },
  33296. "userInfo": {
  33297. "description": "用户信息",
  33298. "type": "object",
  33299. "$ref": "#/definitions/models.Userinfo"
  33300. },
  33301. "username": {
  33302. "description": "用户姓名",
  33303. "type": "string"
  33304. }
  33305. }
  33306. }
  33307. },
  33308. "securityDefinitions": {
  33309. "ApiKeyAuth": {
  33310. "type": "apiKey",
  33311. "name": "Authorization",
  33312. "in": "header"
  33313. }
  33314. }
  33315. }`
  33316. type swaggerInfo struct {
  33317. Version string
  33318. Host string
  33319. BasePath string
  33320. Schemes []string
  33321. Title string
  33322. Description string
  33323. }
  33324. // SwaggerInfo holds exported Swagger Info so clients can modify it
  33325. var SwaggerInfo = swaggerInfo{
  33326. Version: "1.0",
  33327. Host: "",
  33328. BasePath: "/api",
  33329. Schemes: []string{},
  33330. Title: "MTP2.0 查询服务 API",
  33331. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  33332. }
  33333. type s struct{}
  33334. func (s *s) ReadDoc() string {
  33335. sInfo := SwaggerInfo
  33336. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  33337. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  33338. "marshal": func(v interface{}) string {
  33339. a, _ := json.Marshal(v)
  33340. return string(a)
  33341. },
  33342. }).Parse(doc)
  33343. if err != nil {
  33344. return doc
  33345. }
  33346. var tpl bytes.Buffer
  33347. if err := t.Execute(&tpl, sInfo); err != nil {
  33348. return doc
  33349. }
  33350. return tpl.String()
  33351. }
  33352. func init() {
  33353. swag.Register(swag.Name, &s{})
  33354. }