docs.go 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927
  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/QueryFtDeliveryGoods": {
  11018. "get": {
  11019. "security": [
  11020. {
  11021. "ApiKeyAuth": []
  11022. }
  11023. ],
  11024. "produces": [
  11025. "application/json"
  11026. ],
  11027. "tags": [
  11028. "仓单贸易v2"
  11029. ],
  11030. "summary": "查询品种品类筛选框列表",
  11031. "responses": {
  11032. "200": {
  11033. "description": "OK",
  11034. "schema": {
  11035. "type": "array",
  11036. "items": {
  11037. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  11038. }
  11039. }
  11040. },
  11041. "500": {
  11042. "description": "Internal Server Error",
  11043. "schema": {
  11044. "$ref": "#/definitions/app.Response"
  11045. }
  11046. }
  11047. }
  11048. }
  11049. },
  11050. "/WrTrade2/QueryHoldLB": {
  11051. "get": {
  11052. "security": [
  11053. {
  11054. "ApiKeyAuth": []
  11055. }
  11056. ],
  11057. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  11058. "produces": [
  11059. "application/json"
  11060. ],
  11061. "tags": [
  11062. "仓单贸易v2"
  11063. ],
  11064. "summary": "查询仓单持有记录",
  11065. "parameters": [
  11066. {
  11067. "type": "integer",
  11068. "description": "资金账号",
  11069. "name": "accountid",
  11070. "in": "query",
  11071. "required": true
  11072. },
  11073. {
  11074. "type": "integer",
  11075. "description": "仓库id",
  11076. "name": "warehouseid",
  11077. "in": "query"
  11078. },
  11079. {
  11080. "type": "integer",
  11081. "description": "品种id",
  11082. "name": "deliverygoodsid",
  11083. "in": "query"
  11084. },
  11085. {
  11086. "type": "integer",
  11087. "description": "品类id",
  11088. "name": "wrstandardid",
  11089. "in": "query"
  11090. }
  11091. ],
  11092. "responses": {
  11093. "200": {
  11094. "description": "OK",
  11095. "schema": {
  11096. "type": "array",
  11097. "items": {
  11098. "$ref": "#/definitions/models.WrHoldLB"
  11099. }
  11100. }
  11101. },
  11102. "500": {
  11103. "description": "Internal Server Error",
  11104. "schema": {
  11105. "$ref": "#/definitions/app.Response"
  11106. }
  11107. }
  11108. }
  11109. }
  11110. },
  11111. "/WrTrade2/QueryOrderQuote": {
  11112. "get": {
  11113. "security": [
  11114. {
  11115. "ApiKeyAuth": []
  11116. }
  11117. ],
  11118. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  11119. "produces": [
  11120. "application/json"
  11121. ],
  11122. "tags": [
  11123. "仓单贸易v2"
  11124. ],
  11125. "summary": "查询大厅行情列表",
  11126. "parameters": [
  11127. {
  11128. "type": "integer",
  11129. "description": "页码",
  11130. "name": "page",
  11131. "in": "query"
  11132. },
  11133. {
  11134. "type": "integer",
  11135. "description": "每页条数",
  11136. "name": "pagesize",
  11137. "in": "query"
  11138. },
  11139. {
  11140. "type": "integer",
  11141. "description": "仓单贸易市场id",
  11142. "name": "marketid",
  11143. "in": "query"
  11144. },
  11145. {
  11146. "type": "integer",
  11147. "description": "价格方式 - 1:固定价 2-浮动价",
  11148. "name": "wrpricetype",
  11149. "in": "query",
  11150. "required": true
  11151. },
  11152. {
  11153. "type": "integer",
  11154. "description": "0:仓单预售 1:仓单贸易",
  11155. "name": "haswr",
  11156. "in": "query",
  11157. "required": true
  11158. },
  11159. {
  11160. "type": "string",
  11161. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  11162. "name": "dgitemname",
  11163. "in": "query"
  11164. },
  11165. {
  11166. "type": "integer",
  11167. "description": "仓库id(筛选条件)",
  11168. "name": "warehouseid",
  11169. "in": "query"
  11170. },
  11171. {
  11172. "type": "integer",
  11173. "description": "品种id",
  11174. "name": "deliverygoodsid",
  11175. "in": "query"
  11176. },
  11177. {
  11178. "type": "integer",
  11179. "description": "品类id",
  11180. "name": "wrstandardid",
  11181. "in": "query"
  11182. },
  11183. {
  11184. "type": "integer",
  11185. "description": "仓单要素id",
  11186. "name": "wrfactortypeid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "string",
  11191. "description": "交收月(yyyy-mm) 仓单预售填写",
  11192. "name": "deliverymonth",
  11193. "in": "query"
  11194. }
  11195. ],
  11196. "responses": {
  11197. "200": {
  11198. "description": "OK",
  11199. "schema": {
  11200. "type": "array",
  11201. "items": {
  11202. "$ref": "#/definitions/models.WrOrderQuote"
  11203. }
  11204. }
  11205. },
  11206. "500": {
  11207. "description": "Internal Server Error",
  11208. "schema": {
  11209. "$ref": "#/definitions/app.Response"
  11210. }
  11211. }
  11212. }
  11213. }
  11214. },
  11215. "/WrTrade2/QueryOrderQuoteDetail": {
  11216. "get": {
  11217. "security": [
  11218. {
  11219. "ApiKeyAuth": []
  11220. }
  11221. ],
  11222. "produces": [
  11223. "application/json"
  11224. ],
  11225. "tags": [
  11226. "仓单贸易v2"
  11227. ],
  11228. "summary": "查询买卖大厅",
  11229. "parameters": [
  11230. {
  11231. "type": "integer",
  11232. "description": "页码",
  11233. "name": "page",
  11234. "in": "query"
  11235. },
  11236. {
  11237. "type": "integer",
  11238. "description": "每页条数",
  11239. "name": "pagesize",
  11240. "in": "query"
  11241. },
  11242. {
  11243. "type": "integer",
  11244. "description": "仓单贸易市场id",
  11245. "name": "marketid",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "integer",
  11250. "description": "价格方式 - 1:固定价 2-浮动价",
  11251. "name": "wrpricetype",
  11252. "in": "query",
  11253. "required": true
  11254. },
  11255. {
  11256. "type": "integer",
  11257. "description": "0:仓单预售 1:仓单贸易",
  11258. "name": "haswr",
  11259. "in": "query",
  11260. "required": true
  11261. },
  11262. {
  11263. "type": "integer",
  11264. "description": "仓单要素id",
  11265. "name": "wrfactortypeid",
  11266. "in": "query",
  11267. "required": true
  11268. },
  11269. {
  11270. "type": "integer",
  11271. "description": "期货商品id(浮动价方式时填)",
  11272. "name": "goodsid",
  11273. "in": "query"
  11274. },
  11275. {
  11276. "type": "integer",
  11277. "description": "买卖方向 0-买 1-卖",
  11278. "name": "buyorsell",
  11279. "in": "query",
  11280. "required": true
  11281. },
  11282. {
  11283. "type": "string",
  11284. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  11285. "name": "deliverymonth",
  11286. "in": "query"
  11287. }
  11288. ],
  11289. "responses": {
  11290. "200": {
  11291. "description": "OK",
  11292. "schema": {
  11293. "type": "array",
  11294. "items": {
  11295. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  11296. }
  11297. }
  11298. },
  11299. "500": {
  11300. "description": "Internal Server Error",
  11301. "schema": {
  11302. "$ref": "#/definitions/app.Response"
  11303. }
  11304. }
  11305. }
  11306. }
  11307. },
  11308. "/WrTrade2/QueryPerformancePlan": {
  11309. "get": {
  11310. "security": [
  11311. {
  11312. "ApiKeyAuth": []
  11313. }
  11314. ],
  11315. "produces": [
  11316. "application/json"
  11317. ],
  11318. "tags": [
  11319. "仓单贸易v2"
  11320. ],
  11321. "summary": "查询履约信息",
  11322. "parameters": [
  11323. {
  11324. "type": "integer",
  11325. "description": "用户id",
  11326. "name": "userid",
  11327. "in": "query",
  11328. "required": true
  11329. },
  11330. {
  11331. "type": "integer",
  11332. "description": "买卖方向 0-买 1-卖",
  11333. "name": "buyorsell",
  11334. "in": "query",
  11335. "required": true
  11336. }
  11337. ],
  11338. "responses": {
  11339. "200": {
  11340. "description": "OK",
  11341. "schema": {
  11342. "type": "array",
  11343. "items": {
  11344. "$ref": "#/definitions/models.WrPerformancePlan"
  11345. }
  11346. }
  11347. },
  11348. "500": {
  11349. "description": "Internal Server Error",
  11350. "schema": {
  11351. "$ref": "#/definitions/app.Response"
  11352. }
  11353. }
  11354. }
  11355. }
  11356. },
  11357. "/WrTrade2/QueryWrFactorTypeInfo": {
  11358. "get": {
  11359. "security": [
  11360. {
  11361. "ApiKeyAuth": []
  11362. }
  11363. ],
  11364. "produces": [
  11365. "application/json"
  11366. ],
  11367. "tags": [
  11368. "仓单贸易v2"
  11369. ],
  11370. "summary": "查询仓单要素详细信息",
  11371. "parameters": [
  11372. {
  11373. "type": "integer",
  11374. "description": "仓单要素id",
  11375. "name": "wrfactortypeid",
  11376. "in": "query",
  11377. "required": true
  11378. }
  11379. ],
  11380. "responses": {
  11381. "200": {
  11382. "description": "OK",
  11383. "schema": {
  11384. "type": "array",
  11385. "items": {
  11386. "$ref": "#/definitions/models.WrFactorTypeInfo"
  11387. }
  11388. }
  11389. },
  11390. "500": {
  11391. "description": "Internal Server Error",
  11392. "schema": {
  11393. "$ref": "#/definitions/app.Response"
  11394. }
  11395. }
  11396. }
  11397. }
  11398. },
  11399. "/WrTrade2/QueryWrGoodsInfo": {
  11400. "get": {
  11401. "security": [
  11402. {
  11403. "ApiKeyAuth": []
  11404. }
  11405. ],
  11406. "produces": [
  11407. "application/json"
  11408. ],
  11409. "tags": [
  11410. "仓单贸易v2"
  11411. ],
  11412. "summary": "查询仓单商品信息",
  11413. "parameters": [
  11414. {
  11415. "type": "integer",
  11416. "description": "仓单贸易市场id",
  11417. "name": "marketid",
  11418. "in": "query"
  11419. },
  11420. {
  11421. "type": "integer",
  11422. "description": "0:仓单预售 1:仓单贸易",
  11423. "name": "haswr",
  11424. "in": "query",
  11425. "required": true
  11426. },
  11427. {
  11428. "type": "integer",
  11429. "description": "仓单要素id",
  11430. "name": "wrfactortypeid",
  11431. "in": "query",
  11432. "required": true
  11433. }
  11434. ],
  11435. "responses": {
  11436. "200": {
  11437. "description": "OK",
  11438. "schema": {
  11439. "type": "array",
  11440. "items": {
  11441. "$ref": "#/definitions/models.WrGoodsInfo"
  11442. }
  11443. }
  11444. },
  11445. "500": {
  11446. "description": "Internal Server Error",
  11447. "schema": {
  11448. "$ref": "#/definitions/app.Response"
  11449. }
  11450. }
  11451. }
  11452. }
  11453. },
  11454. "/WrTrade2/QueryWrMarketTradeConfig": {
  11455. "get": {
  11456. "security": [
  11457. {
  11458. "ApiKeyAuth": []
  11459. }
  11460. ],
  11461. "produces": [
  11462. "application/json"
  11463. ],
  11464. "tags": [
  11465. "仓单贸易v2"
  11466. ],
  11467. "summary": "查询市场交易参数配置",
  11468. "parameters": [
  11469. {
  11470. "type": "integer",
  11471. "description": "市场id",
  11472. "name": "marketid",
  11473. "in": "query"
  11474. }
  11475. ],
  11476. "responses": {
  11477. "200": {
  11478. "description": "OK",
  11479. "schema": {
  11480. "type": "array",
  11481. "items": {
  11482. "$ref": "#/definitions/models.WrMarketTradeConfig"
  11483. }
  11484. }
  11485. },
  11486. "500": {
  11487. "description": "Internal Server Error",
  11488. "schema": {
  11489. "$ref": "#/definitions/app.Response"
  11490. }
  11491. }
  11492. }
  11493. }
  11494. },
  11495. "/WrTrade2/QueryWrOrderDetail": {
  11496. "get": {
  11497. "security": [
  11498. {
  11499. "ApiKeyAuth": []
  11500. }
  11501. ],
  11502. "description": "页面 现货仓单 | 预售仓单 -\u003e 挂单",
  11503. "produces": [
  11504. "application/json"
  11505. ],
  11506. "tags": [
  11507. "仓单贸易v2"
  11508. ],
  11509. "summary": "查询仓单委托单(挂单)",
  11510. "parameters": [
  11511. {
  11512. "type": "integer",
  11513. "description": "页码",
  11514. "name": "page",
  11515. "in": "query"
  11516. },
  11517. {
  11518. "type": "integer",
  11519. "description": "每页条数",
  11520. "name": "pagesize",
  11521. "in": "query"
  11522. },
  11523. {
  11524. "type": "integer",
  11525. "description": "用户id",
  11526. "name": "userid",
  11527. "in": "query",
  11528. "required": true
  11529. },
  11530. {
  11531. "type": "integer",
  11532. "description": "仓单贸易市场id",
  11533. "name": "marketid",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "integer",
  11538. "description": "0:仓单预售 1:仓单贸易",
  11539. "name": "haswr",
  11540. "in": "query",
  11541. "required": true
  11542. }
  11543. ],
  11544. "responses": {
  11545. "200": {
  11546. "description": "OK",
  11547. "schema": {
  11548. "type": "array",
  11549. "items": {
  11550. "$ref": "#/definitions/models.WrOrderDetail"
  11551. }
  11552. }
  11553. },
  11554. "500": {
  11555. "description": "Internal Server Error",
  11556. "schema": {
  11557. "$ref": "#/definitions/app.Response"
  11558. }
  11559. }
  11560. }
  11561. }
  11562. },
  11563. "/WrTrade2/QueryWrPerformancePlanStep": {
  11564. "get": {
  11565. "security": [
  11566. {
  11567. "ApiKeyAuth": []
  11568. }
  11569. ],
  11570. "produces": [
  11571. "application/json"
  11572. ],
  11573. "tags": [
  11574. "仓单贸易v2"
  11575. ],
  11576. "summary": "查询履约信息详情",
  11577. "parameters": [
  11578. {
  11579. "type": "integer",
  11580. "description": "履约计划id(performanceplanid)",
  11581. "name": "planid",
  11582. "in": "query",
  11583. "required": true
  11584. }
  11585. ],
  11586. "responses": {
  11587. "200": {
  11588. "description": "OK",
  11589. "schema": {
  11590. "type": "array",
  11591. "items": {
  11592. "$ref": "#/definitions/models.WrPerformancePlanStep"
  11593. }
  11594. }
  11595. },
  11596. "500": {
  11597. "description": "Internal Server Error",
  11598. "schema": {
  11599. "$ref": "#/definitions/app.Response"
  11600. }
  11601. }
  11602. }
  11603. }
  11604. },
  11605. "/WrTrade2/QueryWrPosition": {
  11606. "get": {
  11607. "security": [
  11608. {
  11609. "ApiKeyAuth": []
  11610. }
  11611. ],
  11612. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  11613. "produces": [
  11614. "application/json"
  11615. ],
  11616. "tags": [
  11617. "仓单贸易v2"
  11618. ],
  11619. "summary": "查询现货(预售)仓单持仓",
  11620. "parameters": [
  11621. {
  11622. "type": "integer",
  11623. "description": "用户id",
  11624. "name": "userid",
  11625. "in": "query",
  11626. "required": true
  11627. },
  11628. {
  11629. "type": "integer",
  11630. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  11631. "name": "querytype",
  11632. "in": "query",
  11633. "required": true
  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.WrPosition"
  11650. }
  11651. }
  11652. },
  11653. "500": {
  11654. "description": "Internal Server Error",
  11655. "schema": {
  11656. "$ref": "#/definitions/app.Response"
  11657. }
  11658. }
  11659. }
  11660. }
  11661. },
  11662. "/WrTrade2/QueryWrSpecialMatchOrder": {
  11663. "get": {
  11664. "security": [
  11665. {
  11666. "ApiKeyAuth": []
  11667. }
  11668. ],
  11669. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  11670. "produces": [
  11671. "application/json"
  11672. ],
  11673. "tags": [
  11674. "仓单贸易v2"
  11675. ],
  11676. "summary": "查询指定成交",
  11677. "parameters": [
  11678. {
  11679. "type": "integer",
  11680. "description": "页码",
  11681. "name": "page",
  11682. "in": "query"
  11683. },
  11684. {
  11685. "type": "integer",
  11686. "description": "每页条数",
  11687. "name": "pagesize",
  11688. "in": "query"
  11689. },
  11690. {
  11691. "type": "integer",
  11692. "description": "用户id",
  11693. "name": "userid",
  11694. "in": "query",
  11695. "required": true
  11696. },
  11697. {
  11698. "type": "integer",
  11699. "description": "仓单贸易市场id",
  11700. "name": "marketid",
  11701. "in": "query"
  11702. },
  11703. {
  11704. "type": "integer",
  11705. "description": "0:仓单预售 1:仓单贸易",
  11706. "name": "haswr",
  11707. "in": "query",
  11708. "required": true
  11709. }
  11710. ],
  11711. "responses": {
  11712. "200": {
  11713. "description": "OK",
  11714. "schema": {
  11715. "type": "array",
  11716. "items": {
  11717. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  11718. }
  11719. }
  11720. },
  11721. "500": {
  11722. "description": "Internal Server Error",
  11723. "schema": {
  11724. "$ref": "#/definitions/app.Response"
  11725. }
  11726. }
  11727. }
  11728. }
  11729. },
  11730. "/WrTrade2/QueryWrStandardFactoryItem": {
  11731. "get": {
  11732. "security": [
  11733. {
  11734. "ApiKeyAuth": []
  11735. }
  11736. ],
  11737. "produces": [
  11738. "application/json"
  11739. ],
  11740. "tags": [
  11741. "仓单贸易v2"
  11742. ],
  11743. "summary": "查询品类要素定义项",
  11744. "parameters": [
  11745. {
  11746. "type": "integer",
  11747. "description": "品类id",
  11748. "name": "wrstandardid",
  11749. "in": "query",
  11750. "required": true
  11751. }
  11752. ],
  11753. "responses": {
  11754. "200": {
  11755. "description": "OK",
  11756. "schema": {
  11757. "type": "array",
  11758. "items": {
  11759. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  11760. }
  11761. }
  11762. },
  11763. "500": {
  11764. "description": "Internal Server Error",
  11765. "schema": {
  11766. "$ref": "#/definitions/app.Response"
  11767. }
  11768. }
  11769. }
  11770. }
  11771. },
  11772. "/WrTrade2/QueryWrTradeDetail": {
  11773. "get": {
  11774. "security": [
  11775. {
  11776. "ApiKeyAuth": []
  11777. }
  11778. ],
  11779. "produces": [
  11780. "application/json"
  11781. ],
  11782. "tags": [
  11783. "仓单贸易v2"
  11784. ],
  11785. "summary": "查询仓单成交明细",
  11786. "parameters": [
  11787. {
  11788. "type": "integer",
  11789. "description": "页码",
  11790. "name": "page",
  11791. "in": "query"
  11792. },
  11793. {
  11794. "type": "integer",
  11795. "description": "每页条数",
  11796. "name": "pagesize",
  11797. "in": "query"
  11798. },
  11799. {
  11800. "type": "integer",
  11801. "description": "用户id",
  11802. "name": "userid",
  11803. "in": "query",
  11804. "required": true
  11805. },
  11806. {
  11807. "type": "integer",
  11808. "description": "仓单贸易市场id",
  11809. "name": "marketid",
  11810. "in": "query"
  11811. },
  11812. {
  11813. "type": "integer",
  11814. "description": "0:仓单预售 1:仓单贸易",
  11815. "name": "haswr",
  11816. "in": "query",
  11817. "required": true
  11818. }
  11819. ],
  11820. "responses": {
  11821. "200": {
  11822. "description": "OK",
  11823. "schema": {
  11824. "type": "array",
  11825. "items": {
  11826. "$ref": "#/definitions/models.WrTradeDetail"
  11827. }
  11828. }
  11829. },
  11830. "500": {
  11831. "description": "Internal Server Error",
  11832. "schema": {
  11833. "$ref": "#/definitions/app.Response"
  11834. }
  11835. }
  11836. }
  11837. }
  11838. }
  11839. },
  11840. "definitions": {
  11841. "app.Response": {
  11842. "type": "object",
  11843. "properties": {
  11844. "code": {
  11845. "type": "integer"
  11846. },
  11847. "data": {
  11848. "type": "object"
  11849. },
  11850. "msg": {
  11851. "type": "string"
  11852. },
  11853. "page": {
  11854. "description": "页码",
  11855. "type": "integer"
  11856. },
  11857. "pagesize": {
  11858. "description": "每页条数",
  11859. "type": "integer"
  11860. },
  11861. "total": {
  11862. "description": "总条数",
  11863. "type": "integer"
  11864. }
  11865. }
  11866. },
  11867. "common.ClientMenu": {
  11868. "type": "object",
  11869. "properties": {
  11870. "children": {
  11871. "description": "子菜单列表",
  11872. "type": "array",
  11873. "items": {
  11874. "$ref": "#/definitions/common.ClientMenu"
  11875. }
  11876. },
  11877. "code": {
  11878. "description": "ID",
  11879. "type": "string"
  11880. },
  11881. "isshow": {
  11882. "description": "是否显示",
  11883. "type": "boolean"
  11884. },
  11885. "remark": {
  11886. "description": "备注",
  11887. "type": "string"
  11888. },
  11889. "rulekey": {
  11890. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  11891. "type": "string"
  11892. },
  11893. "sort": {
  11894. "description": "排序",
  11895. "type": "integer"
  11896. },
  11897. "title": {
  11898. "description": "标题",
  11899. "type": "string"
  11900. },
  11901. "type": {
  11902. "description": "类型,1:菜单 2:按钮",
  11903. "type": "integer"
  11904. },
  11905. "url": {
  11906. "description": "URL",
  11907. "type": "string"
  11908. }
  11909. }
  11910. },
  11911. "common.QueryImageConfigsRsp": {
  11912. "type": "object",
  11913. "required": [
  11914. "configid"
  11915. ],
  11916. "properties": {
  11917. "areauserid": {
  11918. "description": "所属机构ID",
  11919. "type": "integer"
  11920. },
  11921. "configid": {
  11922. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  11923. "type": "integer"
  11924. },
  11925. "createdate": {
  11926. "description": "创建时间",
  11927. "type": "string"
  11928. },
  11929. "creatorid": {
  11930. "description": "创建人",
  11931. "type": "integer"
  11932. },
  11933. "imagepath": {
  11934. "description": "图片",
  11935. "type": "string"
  11936. },
  11937. "imagetype": {
  11938. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  11939. "type": "integer"
  11940. },
  11941. "isshow": {
  11942. "description": "是否展示 - 0:不展示 1:展示",
  11943. "type": "integer"
  11944. },
  11945. "marketid": {
  11946. "description": "市场ID",
  11947. "type": "integer"
  11948. },
  11949. "modifierid": {
  11950. "description": "操作人",
  11951. "type": "integer"
  11952. },
  11953. "sort": {
  11954. "description": "排序",
  11955. "type": "integer"
  11956. },
  11957. "title": {
  11958. "description": "标题",
  11959. "type": "string"
  11960. },
  11961. "trademode": {
  11962. "description": "交易模式",
  11963. "type": "integer"
  11964. },
  11965. "updatedate": {
  11966. "description": "修改时间",
  11967. "type": "string"
  11968. },
  11969. "url": {
  11970. "description": "链接(地址或商品ID)",
  11971. "type": "string"
  11972. },
  11973. "urltype": {
  11974. "description": "链接类型 - 1:直接地址 2:商品ID",
  11975. "type": "integer"
  11976. }
  11977. }
  11978. },
  11979. "common.QueryNoticeRsp": {
  11980. "type": "object",
  11981. "required": [
  11982. "autoid"
  11983. ],
  11984. "properties": {
  11985. "auditoruserid": {
  11986. "description": "审核人",
  11987. "type": "integer"
  11988. },
  11989. "auditremark": {
  11990. "description": "审核备注",
  11991. "type": "string"
  11992. },
  11993. "audittime": {
  11994. "description": "审核日期",
  11995. "type": "string"
  11996. },
  11997. "autoid": {
  11998. "description": "自增ID",
  11999. "type": "integer"
  12000. },
  12001. "content": {
  12002. "description": "内容",
  12003. "type": "string"
  12004. },
  12005. "createtime": {
  12006. "description": "创建时间",
  12007. "type": "string"
  12008. },
  12009. "creatorid": {
  12010. "description": "建仓人",
  12011. "type": "integer"
  12012. },
  12013. "endtime": {
  12014. "description": "结束时间",
  12015. "type": "string"
  12016. },
  12017. "istop": {
  12018. "description": "是否置顶 - 0:不置顶 1:置顶",
  12019. "type": "integer"
  12020. },
  12021. "msgiconurl": {
  12022. "description": "消息图标Url",
  12023. "type": "string"
  12024. },
  12025. "msgtype": {
  12026. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  12027. "type": "integer"
  12028. },
  12029. "publisher": {
  12030. "description": "消息发布者",
  12031. "type": "string"
  12032. },
  12033. "readed": {
  12034. "description": "是否已读",
  12035. "type": "boolean"
  12036. },
  12037. "scheduletime": {
  12038. "description": "计划发送时间",
  12039. "type": "string"
  12040. },
  12041. "sendtype": {
  12042. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  12043. "type": "integer"
  12044. },
  12045. "sentstatus": {
  12046. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  12047. "type": "integer"
  12048. },
  12049. "title": {
  12050. "description": "标题",
  12051. "type": "string"
  12052. },
  12053. "userid": {
  12054. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  12055. "type": "integer"
  12056. }
  12057. }
  12058. },
  12059. "common.QueryProvincesAndCitiesRsp": {
  12060. "type": "object",
  12061. "properties": {
  12062. "cities": {
  12063. "description": "市",
  12064. "type": "array",
  12065. "items": {
  12066. "$ref": "#/definitions/models.Division"
  12067. }
  12068. },
  12069. "province": {
  12070. "description": "省",
  12071. "type": "object",
  12072. "$ref": "#/definitions/models.Division"
  12073. }
  12074. }
  12075. },
  12076. "common.QueryTableDefineRsp": {
  12077. "type": "object",
  12078. "required": [
  12079. "tablekey"
  12080. ],
  12081. "properties": {
  12082. "columns": {
  12083. "description": "列头信息数组",
  12084. "type": "array",
  12085. "items": {
  12086. "$ref": "#/definitions/models.Tablecolumnconfig"
  12087. }
  12088. },
  12089. "remark": {
  12090. "description": "Remark",
  12091. "type": "string"
  12092. },
  12093. "tabelmenu": {
  12094. "description": "列表菜单",
  12095. "type": "string"
  12096. },
  12097. "tablekey": {
  12098. "description": "列表Key",
  12099. "type": "string"
  12100. },
  12101. "tablename": {
  12102. "description": "列表名称",
  12103. "type": "string"
  12104. },
  12105. "tabletype": {
  12106. "description": "列表类型 - 1:管理端 2:终端",
  12107. "type": "integer"
  12108. }
  12109. }
  12110. },
  12111. "common.QueryTraderMenuRsp": {
  12112. "type": "object",
  12113. "properties": {
  12114. "OperationMenu": {
  12115. "description": "功能菜单",
  12116. "type": "array",
  12117. "items": {
  12118. "$ref": "#/definitions/models.OperationPrimaryMenu"
  12119. }
  12120. },
  12121. "QuoteMenu": {
  12122. "description": "报价牌分类菜单",
  12123. "type": "array",
  12124. "items": {
  12125. "$ref": "#/definitions/models.QuotePrimaryMenu"
  12126. }
  12127. }
  12128. }
  12129. },
  12130. "cptrade.Cptradepositioncancel": {
  12131. "type": "object",
  12132. "required": [
  12133. "cancelid"
  12134. ],
  12135. "properties": {
  12136. "accountid": {
  12137. "description": "申请人账户ID",
  12138. "type": "integer"
  12139. },
  12140. "applystatus": {
  12141. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12142. "type": "integer"
  12143. },
  12144. "applytime": {
  12145. "description": "申请时间",
  12146. "type": "string"
  12147. },
  12148. "cancelid": {
  12149. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  12150. "type": "integer"
  12151. },
  12152. "cancelqty": {
  12153. "description": "注销数量",
  12154. "type": "integer"
  12155. },
  12156. "createtime": {
  12157. "description": "创建时间",
  12158. "type": "string"
  12159. },
  12160. "creatorid": {
  12161. "description": "创建人ID",
  12162. "type": "integer"
  12163. },
  12164. "creatorname": {
  12165. "description": "创建人",
  12166. "type": "string"
  12167. },
  12168. "goodscode": {
  12169. "description": "订单商品代码",
  12170. "type": "string"
  12171. },
  12172. "goodsid": {
  12173. "description": "商品ID",
  12174. "type": "integer"
  12175. },
  12176. "goodsname": {
  12177. "description": "订单商品名称",
  12178. "type": "string"
  12179. },
  12180. "goodunit": {
  12181. "description": "报价单位",
  12182. "type": "string"
  12183. },
  12184. "handlestatus": {
  12185. "description": "处理状态",
  12186. "type": "integer"
  12187. },
  12188. "marketid": {
  12189. "description": "市场ID",
  12190. "type": "integer"
  12191. },
  12192. "marketname": {
  12193. "description": "市场名称",
  12194. "type": "string"
  12195. },
  12196. "tradedate": {
  12197. "description": "交易日(yyyyMMdd)",
  12198. "type": "string"
  12199. },
  12200. "userid": {
  12201. "description": "申请人ID",
  12202. "type": "integer"
  12203. }
  12204. }
  12205. },
  12206. "cptrade.Cptradepresaleapply": {
  12207. "type": "object",
  12208. "required": [
  12209. "applyid"
  12210. ],
  12211. "properties": {
  12212. "accountid": {
  12213. "description": "申请人账户ID",
  12214. "type": "integer"
  12215. },
  12216. "applyid": {
  12217. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  12218. "type": "integer"
  12219. },
  12220. "applyremark": {
  12221. "description": "申请备注",
  12222. "type": "string"
  12223. },
  12224. "applystatus": {
  12225. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  12226. "type": "integer"
  12227. },
  12228. "applytime": {
  12229. "description": "申请时间",
  12230. "type": "string"
  12231. },
  12232. "attachmenturl": {
  12233. "description": "附件地址",
  12234. "type": "string"
  12235. },
  12236. "endtime": {
  12237. "description": "预售结束时间",
  12238. "type": "string"
  12239. },
  12240. "goodscode": {
  12241. "description": "商品代码",
  12242. "type": "string"
  12243. },
  12244. "goodsid": {
  12245. "description": "商品ID",
  12246. "type": "integer"
  12247. },
  12248. "goodsname": {
  12249. "description": "商品名称",
  12250. "type": "string"
  12251. },
  12252. "goodunit": {
  12253. "description": "报价单位",
  12254. "type": "string"
  12255. },
  12256. "handlestatus": {
  12257. "description": "处理状态",
  12258. "type": "integer"
  12259. },
  12260. "marketid": {
  12261. "description": "预售市场ID",
  12262. "type": "integer"
  12263. },
  12264. "marketname": {
  12265. "description": "预售市场名称",
  12266. "type": "string"
  12267. },
  12268. "presaleqty": {
  12269. "description": "预售数量",
  12270. "type": "integer"
  12271. },
  12272. "relatedgoodscode": {
  12273. "description": "关联交易合约代码",
  12274. "type": "string"
  12275. },
  12276. "relatedgoodsid": {
  12277. "description": "关联交易合约ID",
  12278. "type": "integer"
  12279. },
  12280. "relatedgoodsname": {
  12281. "description": "关联交易合约名称",
  12282. "type": "string"
  12283. },
  12284. "starttime": {
  12285. "description": "预售开始时间",
  12286. "type": "string"
  12287. },
  12288. "tradedate": {
  12289. "description": "交易日(yyyyMMdd)",
  12290. "type": "string"
  12291. },
  12292. "trademode": {
  12293. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  12294. "type": "integer"
  12295. },
  12296. "userid": {
  12297. "description": "申请人ID",
  12298. "type": "integer"
  12299. }
  12300. }
  12301. },
  12302. "cptrade.Cptradeusergoodsdata": {
  12303. "type": "object",
  12304. "required": [
  12305. "accountid",
  12306. "goodsid"
  12307. ],
  12308. "properties": {
  12309. "EnabledQty": {
  12310. "description": "可用量",
  12311. "type": "integer"
  12312. },
  12313. "GoodsCode": {
  12314. "description": "订单商品代码",
  12315. "type": "string"
  12316. },
  12317. "GoodsName": {
  12318. "description": "订单商品名称",
  12319. "type": "string"
  12320. },
  12321. "WRStandardCode": {
  12322. "description": "仓单标准代码",
  12323. "type": "string"
  12324. },
  12325. "WRStandardName": {
  12326. "description": "仓单标准名称",
  12327. "type": "string"
  12328. },
  12329. "accountid": {
  12330. "description": "账户ID",
  12331. "type": "integer"
  12332. },
  12333. "cancelqty": {
  12334. "description": "注销量",
  12335. "type": "integer"
  12336. },
  12337. "curpresaleqty": {
  12338. "description": "当前预售量",
  12339. "type": "integer"
  12340. },
  12341. "deliveryqty": {
  12342. "description": "交割量",
  12343. "type": "integer"
  12344. },
  12345. "freezeamount": {
  12346. "description": "冻结金额",
  12347. "type": "number"
  12348. },
  12349. "goodsid": {
  12350. "description": "商品ID",
  12351. "type": "integer"
  12352. },
  12353. "goodunit": {
  12354. "description": "报价单位",
  12355. "type": "string"
  12356. },
  12357. "hasspotfreeze": {
  12358. "description": "是否有现货冻结 - 0:否 1:有",
  12359. "type": "integer"
  12360. },
  12361. "inqty": {
  12362. "description": "转入量(总数量)",
  12363. "type": "integer"
  12364. },
  12365. "marketid": {
  12366. "description": "市场ID",
  12367. "type": "integer"
  12368. },
  12369. "presaledamount": {
  12370. "description": "已预售总金额",
  12371. "type": "integer"
  12372. },
  12373. "presaledqty": {
  12374. "description": "已预售量",
  12375. "type": "integer"
  12376. },
  12377. "userid": {
  12378. "description": "用户ID",
  12379. "type": "integer"
  12380. },
  12381. "wrstandardid": {
  12382. "description": "仓单标准ID",
  12383. "type": "integer"
  12384. }
  12385. }
  12386. },
  12387. "cptrade.QueryCPTradeMyBidRsp": {
  12388. "type": "object",
  12389. "required": [
  12390. "accountid",
  12391. "goodsid",
  12392. "marketid",
  12393. "orderid",
  12394. "orderqty",
  12395. "ordertime",
  12396. "tradeprice",
  12397. "tradeqty"
  12398. ],
  12399. "properties": {
  12400. "accountid": {
  12401. "description": "账户ID[报价币种]",
  12402. "type": "integer"
  12403. },
  12404. "goodsid": {
  12405. "description": "商品ID",
  12406. "type": "integer"
  12407. },
  12408. "goodunit": {
  12409. "description": "报价单位",
  12410. "type": "string"
  12411. },
  12412. "marketid": {
  12413. "description": "市场ID",
  12414. "type": "integer"
  12415. },
  12416. "orderid": {
  12417. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12418. "type": "integer"
  12419. },
  12420. "orderprice": {
  12421. "description": "委托价格",
  12422. "type": "number"
  12423. },
  12424. "orderqty": {
  12425. "description": "委托数量",
  12426. "type": "integer"
  12427. },
  12428. "ordertime": {
  12429. "description": "委托时间",
  12430. "type": "string"
  12431. },
  12432. "ordertotalprice": {
  12433. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  12434. "type": "number"
  12435. },
  12436. "ordertotalweight": {
  12437. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  12438. "type": "integer"
  12439. },
  12440. "totaltotalprice": {
  12441. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  12442. "type": "number"
  12443. },
  12444. "tradeprice": {
  12445. "description": "成交价格",
  12446. "type": "number"
  12447. },
  12448. "tradeqty": {
  12449. "description": "成交数量",
  12450. "type": "integer"
  12451. }
  12452. }
  12453. },
  12454. "cptrade.QueryCPTradeOrderDetailRsq": {
  12455. "type": "object",
  12456. "required": [
  12457. "accountid",
  12458. "buildtype",
  12459. "buyorsell",
  12460. "goodsid",
  12461. "marketid",
  12462. "memberuserid",
  12463. "operatetype",
  12464. "orderqty",
  12465. "ordertime",
  12466. "pricemode",
  12467. "strorderid",
  12468. "tradedate",
  12469. "validtype"
  12470. ],
  12471. "properties": {
  12472. "accountid": {
  12473. "description": "账户ID[报价币种]",
  12474. "type": "integer"
  12475. },
  12476. "buildtype": {
  12477. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  12478. "type": "integer"
  12479. },
  12480. "buyorsell": {
  12481. "description": "买卖 - 0:买 1:卖",
  12482. "type": "integer"
  12483. },
  12484. "cancelorderid": {
  12485. "description": "撤单单号(撤单时填写)",
  12486. "type": "integer"
  12487. },
  12488. "cancelqty": {
  12489. "description": "撤单数量",
  12490. "type": "integer"
  12491. },
  12492. "clientordertime": {
  12493. "description": "客户端委托时间",
  12494. "type": "string"
  12495. },
  12496. "clientticket": {
  12497. "description": "客户端流水号",
  12498. "type": "string"
  12499. },
  12500. "clienttype": {
  12501. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  12502. "type": "integer"
  12503. },
  12504. "closeexchagechargevalue": {
  12505. "description": "平仓交易所手续费设置值",
  12506. "type": "number"
  12507. },
  12508. "closefeealgorithm": {
  12509. "description": "平仓手续费收取方式 1:比率 2:固定",
  12510. "type": "integer"
  12511. },
  12512. "closefreezecharge": {
  12513. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  12514. "type": "number"
  12515. },
  12516. "closememberchargevalue": {
  12517. "description": "平仓会员手续费设置值",
  12518. "type": "number"
  12519. },
  12520. "closeqty": {
  12521. "description": "平仓数量(先建后平操作 需要记录)",
  12522. "type": "integer"
  12523. },
  12524. "closetradeqty": {
  12525. "description": "平仓成交数量(先建后平操作,需要记录)",
  12526. "type": "integer"
  12527. },
  12528. "closeunfreezecharge": {
  12529. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  12530. "type": "number"
  12531. },
  12532. "delistingtype": {
  12533. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  12534. "type": "integer"
  12535. },
  12536. "freezecharge": {
  12537. "description": "冻结手续费",
  12538. "type": "number"
  12539. },
  12540. "freezemargin": {
  12541. "description": "冻结保证金(冻结交易金额)",
  12542. "type": "number"
  12543. },
  12544. "gcaccountid": {
  12545. "description": "账户ID[合约币种]",
  12546. "type": "integer"
  12547. },
  12548. "goodsid": {
  12549. "description": "商品ID",
  12550. "type": "integer"
  12551. },
  12552. "isconfirmexercise": {
  12553. "description": "是否确认行权- 0:否 1:是",
  12554. "type": "integer"
  12555. },
  12556. "ispreexercise": {
  12557. "description": "是否预申报- 0:否 1:是",
  12558. "type": "integer"
  12559. },
  12560. "listingselecttype": {
  12561. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  12562. "type": "integer"
  12563. },
  12564. "marginalgorithm": {
  12565. "description": "保证金收取方式 1:比率 2:固定",
  12566. "type": "integer"
  12567. },
  12568. "marginvalue": {
  12569. "description": "即市保证金设置值",
  12570. "type": "number"
  12571. },
  12572. "marketid": {
  12573. "description": "市场ID",
  12574. "type": "integer"
  12575. },
  12576. "marketmaxsub": {
  12577. "description": "市价最大偏移范围",
  12578. "type": "number"
  12579. },
  12580. "memberuserid": {
  12581. "description": "所属会员UserID",
  12582. "type": "integer"
  12583. },
  12584. "openexchagechargevalue": {
  12585. "description": "建仓交易所手续费设置值",
  12586. "type": "number"
  12587. },
  12588. "openfeealgorithm": {
  12589. "description": "建仓手续费收取方式 1:比率 2:固定",
  12590. "type": "integer"
  12591. },
  12592. "openfreezecharge": {
  12593. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  12594. "type": "number"
  12595. },
  12596. "openmemberchargevalue": {
  12597. "description": "建仓会员手续费设置值",
  12598. "type": "number"
  12599. },
  12600. "openqty": {
  12601. "description": "开仓数量(先建后平操作,需要记录)",
  12602. "type": "integer"
  12603. },
  12604. "opentradeqty": {
  12605. "description": "开仓成交数量(先建后平操作,需要记录)",
  12606. "type": "integer"
  12607. },
  12608. "openunfreezecharge": {
  12609. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  12610. "type": "number"
  12611. },
  12612. "operatetype": {
  12613. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  12614. "type": "integer"
  12615. },
  12616. "operatorid": {
  12617. "description": "登录账号(LoginID)",
  12618. "type": "integer"
  12619. },
  12620. "optiontype": {
  12621. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  12622. "type": "integer"
  12623. },
  12624. "orderprice": {
  12625. "description": "委托价格",
  12626. "type": "number"
  12627. },
  12628. "orderqty": {
  12629. "description": "委托数量",
  12630. "type": "integer"
  12631. },
  12632. "ordersrc": {
  12633. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  12634. "type": "integer"
  12635. },
  12636. "orderstatus": {
  12637. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12638. "type": "integer"
  12639. },
  12640. "ordertime": {
  12641. "description": "委托时间",
  12642. "type": "string"
  12643. },
  12644. "preexerciseprice": {
  12645. "description": "预申报价格",
  12646. "type": "number"
  12647. },
  12648. "premium": {
  12649. "description": "权利金",
  12650. "type": "number"
  12651. },
  12652. "preorderid": {
  12653. "description": "关联预埋单号(止盈止损单时填写)",
  12654. "type": "integer"
  12655. },
  12656. "pricemode": {
  12657. "description": "取价方式 - 1:市价 2: 限价",
  12658. "type": "integer"
  12659. },
  12660. "quoteid": {
  12661. "description": "报价单ID",
  12662. "type": "integer"
  12663. },
  12664. "relatedid": {
  12665. "description": "关联单号(交割单)",
  12666. "type": "integer"
  12667. },
  12668. "retcode": {
  12669. "description": "错误代码",
  12670. "type": "integer"
  12671. },
  12672. "sessionid": {
  12673. "description": "会话ID",
  12674. "type": "integer"
  12675. },
  12676. "strorderid": {
  12677. "description": "委托单号",
  12678. "type": "string"
  12679. },
  12680. "tradedate": {
  12681. "description": "交易日(yyyyMMdd)",
  12682. "type": "string"
  12683. },
  12684. "tradeproperty": {
  12685. "description": "交易属性",
  12686. "type": "integer"
  12687. },
  12688. "tradeqty": {
  12689. "description": "成交数量",
  12690. "type": "integer"
  12691. },
  12692. "unfreezecharge": {
  12693. "description": "解冻手续费",
  12694. "type": "number"
  12695. },
  12696. "unfreezemargin": {
  12697. "description": "解冻保证金",
  12698. "type": "number"
  12699. },
  12700. "updatetime": {
  12701. "description": "更新时间",
  12702. "type": "string"
  12703. },
  12704. "uuid": {
  12705. "description": "发起端唯一id",
  12706. "type": "string"
  12707. },
  12708. "validtime": {
  12709. "description": "有效期限",
  12710. "type": "string"
  12711. },
  12712. "validtype": {
  12713. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  12714. "type": "integer"
  12715. },
  12716. "volumetype": {
  12717. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  12718. "type": "integer"
  12719. }
  12720. }
  12721. },
  12722. "cptrade.QueryMyCPTradeGoodsRsp": {
  12723. "type": "object",
  12724. "required": [
  12725. "goodscode",
  12726. "goodsid",
  12727. "goodsname",
  12728. "marketid",
  12729. "relatedgoodscode",
  12730. "relatedgoodsname"
  12731. ],
  12732. "properties": {
  12733. "accountid": {
  12734. "description": "卖方账户ID",
  12735. "type": "integer"
  12736. },
  12737. "agreeunit": {
  12738. "description": "合约单位",
  12739. "type": "number"
  12740. },
  12741. "applyid": {
  12742. "description": "关联申请ID",
  12743. "type": "integer"
  12744. },
  12745. "attachmenturl": {
  12746. "description": "附件地址",
  12747. "type": "string"
  12748. },
  12749. "createtime": {
  12750. "description": "创建时间",
  12751. "type": "string"
  12752. },
  12753. "currencyid": {
  12754. "description": "报价货币ID",
  12755. "type": "integer"
  12756. },
  12757. "decimalplace": {
  12758. "description": "报价小数位",
  12759. "type": "integer"
  12760. },
  12761. "endtime": {
  12762. "description": "预售结束时间",
  12763. "type": "string"
  12764. },
  12765. "floorprice": {
  12766. "description": "底价[大宗式竞拍]",
  12767. "type": "number"
  12768. },
  12769. "goodscode": {
  12770. "description": "商品代码(预售)",
  12771. "type": "string"
  12772. },
  12773. "goodsdetail": {
  12774. "description": "详情[大宗]",
  12775. "type": "string"
  12776. },
  12777. "goodsid": {
  12778. "description": "商品ID(自增ID SEQ_GOODS)",
  12779. "type": "integer"
  12780. },
  12781. "goodsname": {
  12782. "description": "商品名称(预售)",
  12783. "type": "string"
  12784. },
  12785. "goodunit": {
  12786. "description": "报价单位",
  12787. "type": "string"
  12788. },
  12789. "goodunitid": {
  12790. "description": "报价单位ID",
  12791. "type": "integer"
  12792. },
  12793. "marketid": {
  12794. "description": "所属市场ID",
  12795. "type": "integer"
  12796. },
  12797. "marketname": {
  12798. "description": "预售市场名称",
  12799. "type": "string"
  12800. },
  12801. "presaledamount": {
  12802. "description": "已预售总金额(预售结束时更新)",
  12803. "type": "number"
  12804. },
  12805. "presaledqty": {
  12806. "description": "已预售量(预售结束时更新)",
  12807. "type": "integer"
  12808. },
  12809. "presalemode": {
  12810. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12811. "type": "integer"
  12812. },
  12813. "presaleqty": {
  12814. "description": "预售数量",
  12815. "type": "integer"
  12816. },
  12817. "refprice": {
  12818. "description": "参考价格[一口价]",
  12819. "type": "number"
  12820. },
  12821. "relatedgoodscode": {
  12822. "description": "商品代码(订单)",
  12823. "type": "string"
  12824. },
  12825. "relatedgoodsid": {
  12826. "description": "关联交易合约ID",
  12827. "type": "integer"
  12828. },
  12829. "relatedgoodsname": {
  12830. "description": "商品名称(订单)",
  12831. "type": "string"
  12832. },
  12833. "relatedmarketid": {
  12834. "description": "关联交易合约市场ID",
  12835. "type": "integer"
  12836. },
  12837. "sellstatus": {
  12838. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12839. "type": "integer"
  12840. },
  12841. "startprice": {
  12842. "description": "起拍价[大宗式竞拍]",
  12843. "type": "number"
  12844. },
  12845. "starttime": {
  12846. "description": "预售开始时间",
  12847. "type": "string"
  12848. },
  12849. "tradedate": {
  12850. "description": "交易日(yyyyMMdd)",
  12851. "type": "string"
  12852. },
  12853. "tradeprice": {
  12854. "description": "成交价[大宗]",
  12855. "type": "number"
  12856. },
  12857. "userid": {
  12858. "description": "卖方用户ID",
  12859. "type": "integer"
  12860. }
  12861. }
  12862. },
  12863. "cptrade.QueryPresaleGoodsExRsp": {
  12864. "type": "object",
  12865. "required": [
  12866. "goodsid"
  12867. ],
  12868. "properties": {
  12869. "attachmenturl": {
  12870. "description": "附件地址",
  12871. "type": "string"
  12872. },
  12873. "createtime": {
  12874. "description": "创建时间",
  12875. "type": "string"
  12876. },
  12877. "endtime": {
  12878. "description": "预售结束时间",
  12879. "type": "string"
  12880. },
  12881. "floorprice": {
  12882. "description": "底价[大宗式竞拍]",
  12883. "type": "number"
  12884. },
  12885. "goodsdetail": {
  12886. "description": "详情[大宗]",
  12887. "type": "string"
  12888. },
  12889. "goodsid": {
  12890. "description": "商品ID(预售)",
  12891. "type": "integer"
  12892. },
  12893. "goodunit": {
  12894. "description": "报价单位",
  12895. "type": "string"
  12896. },
  12897. "marketid": {
  12898. "description": "预售市场ID - 根据预售模式选择市场",
  12899. "type": "integer"
  12900. },
  12901. "presaledamount": {
  12902. "description": "已预售总金额(预售结束时更新)",
  12903. "type": "number"
  12904. },
  12905. "presaledqty": {
  12906. "description": "已预售量(预售结束时更新)",
  12907. "type": "integer"
  12908. },
  12909. "presalemode": {
  12910. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  12911. "type": "integer"
  12912. },
  12913. "presaleqty": {
  12914. "description": "预售数量",
  12915. "type": "integer"
  12916. },
  12917. "refprice": {
  12918. "description": "参考价格[一口价]",
  12919. "type": "number"
  12920. },
  12921. "relatedgoodsid": {
  12922. "description": "关联交易合约ID",
  12923. "type": "integer"
  12924. },
  12925. "relatedmarketid": {
  12926. "description": "关联交易合约市场ID",
  12927. "type": "integer"
  12928. },
  12929. "sellstatus": {
  12930. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  12931. "type": "integer"
  12932. },
  12933. "startprice": {
  12934. "description": "起拍价[大宗式竞拍]",
  12935. "type": "number"
  12936. },
  12937. "starttime": {
  12938. "description": "预售开始时间",
  12939. "type": "string"
  12940. },
  12941. "tradedate": {
  12942. "description": "交易日(yyyyMMdd)",
  12943. "type": "string"
  12944. },
  12945. "tradeprice": {
  12946. "description": "成交价[大宗]",
  12947. "type": "number"
  12948. }
  12949. }
  12950. },
  12951. "delivery.QueryDeliveryRelationRsp": {
  12952. "type": "object",
  12953. "required": [
  12954. "begindate",
  12955. "enddate",
  12956. "goodsid",
  12957. "mindeliveryqty",
  12958. "xdeliveryratio"
  12959. ],
  12960. "properties": {
  12961. "begindate": {
  12962. "description": "起始日期(yyyyMMdd)",
  12963. "type": "string"
  12964. },
  12965. "buytemplateid": {
  12966. "description": "买履约计划模板ID",
  12967. "type": "integer"
  12968. },
  12969. "deliverygoodscode": {
  12970. "description": "品种代码",
  12971. "type": "string"
  12972. },
  12973. "deliverygoodsid": {
  12974. "description": "交割商品",
  12975. "type": "integer"
  12976. },
  12977. "deliverygoodsname": {
  12978. "description": "品种名称",
  12979. "type": "string"
  12980. },
  12981. "deliverymode": {
  12982. "description": "交割方式 - 1:点选式 2:申报式",
  12983. "type": "integer"
  12984. },
  12985. "deliverypricerule": {
  12986. "description": "交割价规则- 1:行情价 2:建仓价",
  12987. "type": "integer"
  12988. },
  12989. "deliverytype": {
  12990. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  12991. "type": "integer"
  12992. },
  12993. "enddate": {
  12994. "description": "结束日期(yyyyMMdd)",
  12995. "type": "string"
  12996. },
  12997. "goodscode": {
  12998. "description": "商品代码",
  12999. "type": "string"
  13000. },
  13001. "goodsid": {
  13002. "description": "交易合约ID",
  13003. "type": "integer"
  13004. },
  13005. "goodsname": {
  13006. "description": "商品名称",
  13007. "type": "string"
  13008. },
  13009. "marketid": {
  13010. "description": "市场ID",
  13011. "type": "integer"
  13012. },
  13013. "mindeliveryqty": {
  13014. "description": "最小交割系数(K)",
  13015. "type": "integer"
  13016. },
  13017. "p2deliveryprice": {
  13018. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  13019. "type": "number"
  13020. },
  13021. "p2deliveryratio": {
  13022. "description": "P2合约系数(p)",
  13023. "type": "integer"
  13024. },
  13025. "p2goodsid": {
  13026. "description": "P2合约ID",
  13027. "type": "integer"
  13028. },
  13029. "p2pricemode": {
  13030. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  13031. "type": "integer"
  13032. },
  13033. "pdeliveryprice": {
  13034. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  13035. "type": "number"
  13036. },
  13037. "pdeliveryratio": {
  13038. "description": "P合约系数(n)",
  13039. "type": "integer"
  13040. },
  13041. "pgoodsid": {
  13042. "description": "P合约ID",
  13043. "type": "integer"
  13044. },
  13045. "ppricemode": {
  13046. "description": "P合约价格方式 - 1:商品价 2:固定值",
  13047. "type": "integer"
  13048. },
  13049. "rratio": {
  13050. "description": "兑换系数(R)",
  13051. "type": "integer"
  13052. },
  13053. "rratio1": {
  13054. "description": "兑换系数(交易合约)(R1)",
  13055. "type": "integer"
  13056. },
  13057. "rratio2": {
  13058. "description": "兑换系数(仓单标准)(R2)",
  13059. "type": "integer"
  13060. },
  13061. "selltemplateid": {
  13062. "description": "卖履约计划模板ID",
  13063. "type": "integer"
  13064. },
  13065. "wrstandardid": {
  13066. "description": "仓单标准ID",
  13067. "type": "integer"
  13068. },
  13069. "xdeliveryratio": {
  13070. "description": "交易合约系数(m)",
  13071. "type": "integer"
  13072. }
  13073. }
  13074. },
  13075. "ermcp.ExposureDetailRsp": {
  13076. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  13077. },
  13078. "ermcp.ExposureHedgePosDetailRsp": {
  13079. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  13080. },
  13081. "ermcp.ExposureHedgePositionRsp": {
  13082. "$ref": "#/definitions/models.ErmcpHedgePosition"
  13083. },
  13084. "ermcp.ExposureSpotDetailRsp": {
  13085. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  13086. },
  13087. "ermcp.ExposureSpotRsp": {
  13088. "$ref": "#/definitions/models.AreaSpotModel"
  13089. },
  13090. "ermcp.HisExposureRsp": {
  13091. "$ref": "#/definitions/models.ErmcpHisExposureS"
  13092. },
  13093. "ermcp.PendingAuditCntRsp": {
  13094. "$ref": "#/definitions/models.ErmcpPendingAudit"
  13095. },
  13096. "ermcp.QryAvalidGPRsp": {
  13097. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  13098. },
  13099. "ermcp.QryBusinessDjRsp": {
  13100. "type": "object",
  13101. "properties": {
  13102. "amount": {
  13103. "description": "点价金额=(点价价格+升贴水)*点价数量",
  13104. "type": "number"
  13105. },
  13106. "applyid": {
  13107. "description": "申请人",
  13108. "type": "string"
  13109. },
  13110. "applyname": {
  13111. "description": "申请人名称",
  13112. "type": "string"
  13113. },
  13114. "applystatus": {
  13115. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13116. "type": "integer"
  13117. },
  13118. "applytime": {
  13119. "description": "申请时间",
  13120. "type": "string"
  13121. },
  13122. "attachurl": {
  13123. "description": "附件",
  13124. "type": "string"
  13125. },
  13126. "auditid": {
  13127. "description": "审核人ID",
  13128. "type": "string"
  13129. },
  13130. "auditname": {
  13131. "description": "审核人名称",
  13132. "type": "string"
  13133. },
  13134. "audittime": {
  13135. "description": "审核时间",
  13136. "type": "string"
  13137. },
  13138. "buyusername": {
  13139. "description": "采购方名称",
  13140. "type": "string"
  13141. },
  13142. "contractno": {
  13143. "description": "合同编号",
  13144. "type": "string"
  13145. },
  13146. "contractstatus": {
  13147. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13148. "type": "integer"
  13149. },
  13150. "contracttype": {
  13151. "description": "现货合同类型 - 1:采购 -1:销售",
  13152. "type": "integer"
  13153. },
  13154. "deliverygoodscode": {
  13155. "description": "现货品种代码",
  13156. "type": "string"
  13157. },
  13158. "deliverygoodsid": {
  13159. "description": "现货商品ID",
  13160. "type": "integer"
  13161. },
  13162. "deliverygoodsname": {
  13163. "description": "现货品种名称",
  13164. "type": "string"
  13165. },
  13166. "enumdicname": {
  13167. "description": "单位名称",
  13168. "type": "string"
  13169. },
  13170. "goodscode": {
  13171. "description": "点价合约",
  13172. "type": "string"
  13173. },
  13174. "goodsname": {
  13175. "description": "商品名称",
  13176. "type": "string"
  13177. },
  13178. "operateapplyid": {
  13179. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13180. "type": "string"
  13181. },
  13182. "operateapplytype": {
  13183. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13184. "type": "integer"
  13185. },
  13186. "pricedPrice": {
  13187. "description": "点价价格(非必填)",
  13188. "type": "number"
  13189. },
  13190. "pricedQty": {
  13191. "description": "点价数量(非必填)",
  13192. "type": "number"
  13193. },
  13194. "pricemove": {
  13195. "description": "升贴水",
  13196. "type": "number"
  13197. },
  13198. "pricetype": {
  13199. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13200. "type": "integer"
  13201. },
  13202. "relatedid": {
  13203. "description": "现货合同ID",
  13204. "type": "string"
  13205. },
  13206. "sellusername": {
  13207. "description": "销售方名字",
  13208. "type": "string"
  13209. },
  13210. "userid": {
  13211. "description": "用户ID",
  13212. "type": "integer"
  13213. },
  13214. "wrstandardcode": {
  13215. "description": "品类代码",
  13216. "type": "string"
  13217. },
  13218. "wrstandardid": {
  13219. "description": "品类id",
  13220. "type": "integer"
  13221. },
  13222. "wrstandardname": {
  13223. "description": "品类名称",
  13224. "type": "string"
  13225. }
  13226. }
  13227. },
  13228. "ermcp.QryBussinessFpRsp": {
  13229. "type": "object",
  13230. "properties": {
  13231. "applyid": {
  13232. "description": "申请人",
  13233. "type": "string"
  13234. },
  13235. "applyname": {
  13236. "description": "申请人名称",
  13237. "type": "string"
  13238. },
  13239. "applystatus": {
  13240. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13241. "type": "integer"
  13242. },
  13243. "applytime": {
  13244. "description": "申请时间",
  13245. "type": "string"
  13246. },
  13247. "attachurl": {
  13248. "description": "附件",
  13249. "type": "string"
  13250. },
  13251. "auditid": {
  13252. "description": "审核人ID",
  13253. "type": "string"
  13254. },
  13255. "auditname": {
  13256. "description": "审核人名称",
  13257. "type": "string"
  13258. },
  13259. "audittime": {
  13260. "description": "审核时间",
  13261. "type": "string"
  13262. },
  13263. "buyusername": {
  13264. "description": "采购方名称",
  13265. "type": "string"
  13266. },
  13267. "contractno": {
  13268. "description": "合同编号",
  13269. "type": "string"
  13270. },
  13271. "contractstatus": {
  13272. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13273. "type": "integer"
  13274. },
  13275. "contracttype": {
  13276. "description": "现货合同类型 - 1:采购 -1:销售",
  13277. "type": "integer"
  13278. },
  13279. "deliverygoodscode": {
  13280. "description": "现货品种代码",
  13281. "type": "string"
  13282. },
  13283. "deliverygoodsid": {
  13284. "description": "现货商品ID",
  13285. "type": "integer"
  13286. },
  13287. "deliverygoodsname": {
  13288. "description": "现货品种名称",
  13289. "type": "string"
  13290. },
  13291. "enumdicname": {
  13292. "description": "单位名称",
  13293. "type": "string"
  13294. },
  13295. "goodscode": {
  13296. "description": "点价合约",
  13297. "type": "string"
  13298. },
  13299. "goodsname": {
  13300. "description": "商品名称",
  13301. "type": "string"
  13302. },
  13303. "invoiceAmount": {
  13304. "description": "已开收票金额(销售为开票,采购为收票)",
  13305. "type": "number"
  13306. },
  13307. "operateapplyid": {
  13308. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13309. "type": "string"
  13310. },
  13311. "operateapplytype": {
  13312. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13313. "type": "integer"
  13314. },
  13315. "pricemove": {
  13316. "description": "升贴水",
  13317. "type": "number"
  13318. },
  13319. "pricetype": {
  13320. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13321. "type": "integer"
  13322. },
  13323. "relatedid": {
  13324. "description": "现货合同ID",
  13325. "type": "string"
  13326. },
  13327. "sellusername": {
  13328. "description": "销售方名字",
  13329. "type": "string"
  13330. },
  13331. "userid": {
  13332. "description": "用户ID",
  13333. "type": "integer"
  13334. },
  13335. "wrstandardcode": {
  13336. "description": "品类代码",
  13337. "type": "string"
  13338. },
  13339. "wrstandardid": {
  13340. "description": "品类id",
  13341. "type": "integer"
  13342. },
  13343. "wrstandardname": {
  13344. "description": "品类名称",
  13345. "type": "string"
  13346. }
  13347. }
  13348. },
  13349. "ermcp.QryBussinessJsExRsp": {
  13350. "type": "object",
  13351. "properties": {
  13352. "applyid": {
  13353. "description": "申请人",
  13354. "type": "string"
  13355. },
  13356. "applyname": {
  13357. "description": "申请人名称",
  13358. "type": "string"
  13359. },
  13360. "applystatus": {
  13361. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13362. "type": "integer"
  13363. },
  13364. "applytime": {
  13365. "description": "申请时间",
  13366. "type": "string"
  13367. },
  13368. "attachurl": {
  13369. "description": "附件",
  13370. "type": "string"
  13371. },
  13372. "auditid": {
  13373. "description": "审核人ID",
  13374. "type": "string"
  13375. },
  13376. "auditname": {
  13377. "description": "审核人名称",
  13378. "type": "string"
  13379. },
  13380. "audittime": {
  13381. "description": "审核时间",
  13382. "type": "string"
  13383. },
  13384. "buyusername": {
  13385. "description": "采购方名称",
  13386. "type": "string"
  13387. },
  13388. "contractno": {
  13389. "description": "合同编号",
  13390. "type": "string"
  13391. },
  13392. "contractstatus": {
  13393. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13394. "type": "integer"
  13395. },
  13396. "contracttype": {
  13397. "description": "现货合同类型 - 1:采购 -1:销售",
  13398. "type": "integer"
  13399. },
  13400. "deliverygoodscode": {
  13401. "description": "现货品种代码",
  13402. "type": "string"
  13403. },
  13404. "deliverygoodsid": {
  13405. "description": "现货商品ID",
  13406. "type": "integer"
  13407. },
  13408. "deliverygoodsname": {
  13409. "description": "现货品种名称",
  13410. "type": "string"
  13411. },
  13412. "enumdicname": {
  13413. "description": "单位名称",
  13414. "type": "string"
  13415. },
  13416. "goodscode": {
  13417. "description": "点价合约",
  13418. "type": "string"
  13419. },
  13420. "goodsname": {
  13421. "description": "商品名称",
  13422. "type": "string"
  13423. },
  13424. "operateapplyid": {
  13425. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13426. "type": "string"
  13427. },
  13428. "operateapplytype": {
  13429. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13430. "type": "integer"
  13431. },
  13432. "pricemove": {
  13433. "description": "升贴水",
  13434. "type": "number"
  13435. },
  13436. "pricetype": {
  13437. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13438. "type": "integer"
  13439. },
  13440. "reckontype": {
  13441. "description": "结算类型",
  13442. "type": "string"
  13443. },
  13444. "reckonvalue": {
  13445. "description": "值",
  13446. "type": "number"
  13447. },
  13448. "relatedid": {
  13449. "description": "现货合同ID",
  13450. "type": "string"
  13451. },
  13452. "sellusername": {
  13453. "description": "销售方名字",
  13454. "type": "string"
  13455. },
  13456. "userid": {
  13457. "description": "用户ID",
  13458. "type": "integer"
  13459. },
  13460. "wrstandardcode": {
  13461. "description": "品类代码",
  13462. "type": "string"
  13463. },
  13464. "wrstandardid": {
  13465. "description": "品类id",
  13466. "type": "integer"
  13467. },
  13468. "wrstandardname": {
  13469. "description": "品类名称",
  13470. "type": "string"
  13471. }
  13472. }
  13473. },
  13474. "ermcp.QryBussinessJsRsp": {
  13475. "type": "object",
  13476. "properties": {
  13477. "addmargin": {
  13478. "description": "追加保证金(非必填)",
  13479. "type": "number"
  13480. },
  13481. "applyid": {
  13482. "description": "申请人",
  13483. "type": "string"
  13484. },
  13485. "applyname": {
  13486. "description": "申请人名称",
  13487. "type": "string"
  13488. },
  13489. "applystatus": {
  13490. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13491. "type": "integer"
  13492. },
  13493. "applytime": {
  13494. "description": "申请时间",
  13495. "type": "string"
  13496. },
  13497. "attachurl": {
  13498. "description": "附件",
  13499. "type": "string"
  13500. },
  13501. "auditid": {
  13502. "description": "审核人ID",
  13503. "type": "string"
  13504. },
  13505. "auditname": {
  13506. "description": "审核人名称",
  13507. "type": "string"
  13508. },
  13509. "audittime": {
  13510. "description": "审核时间",
  13511. "type": "string"
  13512. },
  13513. "buyusername": {
  13514. "description": "采购方名称",
  13515. "type": "string"
  13516. },
  13517. "contractno": {
  13518. "description": "合同编号",
  13519. "type": "string"
  13520. },
  13521. "contractstatus": {
  13522. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13523. "type": "integer"
  13524. },
  13525. "contracttype": {
  13526. "description": "现货合同类型 - 1:采购 -1:销售",
  13527. "type": "integer"
  13528. },
  13529. "decmargin": {
  13530. "description": "减少保证金(非必填)",
  13531. "type": "number"
  13532. },
  13533. "deliverygoodscode": {
  13534. "description": "现货品种代码",
  13535. "type": "string"
  13536. },
  13537. "deliverygoodsid": {
  13538. "description": "现货商品ID",
  13539. "type": "integer"
  13540. },
  13541. "deliverygoodsname": {
  13542. "description": "现货品种名称",
  13543. "type": "string"
  13544. },
  13545. "enumdicname": {
  13546. "description": "单位名称",
  13547. "type": "string"
  13548. },
  13549. "goodscode": {
  13550. "description": "点价合约",
  13551. "type": "string"
  13552. },
  13553. "goodsname": {
  13554. "description": "商品名称",
  13555. "type": "string"
  13556. },
  13557. "operateapplyid": {
  13558. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13559. "type": "string"
  13560. },
  13561. "operateapplytype": {
  13562. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13563. "type": "integer"
  13564. },
  13565. "pricemove": {
  13566. "description": "升贴水",
  13567. "type": "number"
  13568. },
  13569. "pricetype": {
  13570. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13571. "type": "integer"
  13572. },
  13573. "reckonadjustamount": {
  13574. "description": "结算调整金额(非必填)",
  13575. "type": "number"
  13576. },
  13577. "reckonosamount": {
  13578. "description": "结算溢短金额(非必填)",
  13579. "type": "number"
  13580. },
  13581. "reckonotheramount": {
  13582. "description": "结算其他费用(非必填)",
  13583. "type": "number"
  13584. },
  13585. "reckonrealqty": {
  13586. "description": "结算实际数量(非必填)",
  13587. "type": "number"
  13588. },
  13589. "relatedid": {
  13590. "description": "现货合同ID",
  13591. "type": "string"
  13592. },
  13593. "sellusername": {
  13594. "description": "销售方名字",
  13595. "type": "string"
  13596. },
  13597. "userid": {
  13598. "description": "用户ID",
  13599. "type": "integer"
  13600. },
  13601. "wrstandardcode": {
  13602. "description": "品类代码",
  13603. "type": "string"
  13604. },
  13605. "wrstandardid": {
  13606. "description": "品类id",
  13607. "type": "integer"
  13608. },
  13609. "wrstandardname": {
  13610. "description": "品类名称",
  13611. "type": "string"
  13612. }
  13613. }
  13614. },
  13615. "ermcp.QryBussinessKxRsp": {
  13616. "type": "object",
  13617. "properties": {
  13618. "applyid": {
  13619. "description": "申请人",
  13620. "type": "string"
  13621. },
  13622. "applyname": {
  13623. "description": "申请人名称",
  13624. "type": "string"
  13625. },
  13626. "applystatus": {
  13627. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13628. "type": "integer"
  13629. },
  13630. "applytime": {
  13631. "description": "申请时间",
  13632. "type": "string"
  13633. },
  13634. "attachurl": {
  13635. "description": "附件",
  13636. "type": "string"
  13637. },
  13638. "auditid": {
  13639. "description": "审核人ID",
  13640. "type": "string"
  13641. },
  13642. "auditname": {
  13643. "description": "审核人名称",
  13644. "type": "string"
  13645. },
  13646. "audittime": {
  13647. "description": "审核时间",
  13648. "type": "string"
  13649. },
  13650. "buyusername": {
  13651. "description": "采购方名称",
  13652. "type": "string"
  13653. },
  13654. "contractno": {
  13655. "description": "合同编号",
  13656. "type": "string"
  13657. },
  13658. "contractstatus": {
  13659. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13660. "type": "integer"
  13661. },
  13662. "contracttype": {
  13663. "description": "现货合同类型 - 1:采购 -1:销售",
  13664. "type": "integer"
  13665. },
  13666. "deductamount": {
  13667. "description": "退款(非必填)",
  13668. "type": "number"
  13669. },
  13670. "deliverygoodscode": {
  13671. "description": "现货品种代码",
  13672. "type": "string"
  13673. },
  13674. "deliverygoodsid": {
  13675. "description": "现货商品ID",
  13676. "type": "integer"
  13677. },
  13678. "deliverygoodsname": {
  13679. "description": "现货品种名称",
  13680. "type": "string"
  13681. },
  13682. "enumdicname": {
  13683. "description": "单位名称",
  13684. "type": "string"
  13685. },
  13686. "goodscode": {
  13687. "description": "点价合约",
  13688. "type": "string"
  13689. },
  13690. "goodsname": {
  13691. "description": "商品名称",
  13692. "type": "string"
  13693. },
  13694. "kxtype": {
  13695. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  13696. "type": "integer"
  13697. },
  13698. "operateapplyid": {
  13699. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  13700. "type": "string"
  13701. },
  13702. "operateapplytype": {
  13703. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  13704. "type": "integer"
  13705. },
  13706. "payamount": {
  13707. "description": "收付款(非必填)",
  13708. "type": "number"
  13709. },
  13710. "pricemove": {
  13711. "description": "升贴水",
  13712. "type": "number"
  13713. },
  13714. "pricetype": {
  13715. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13716. "type": "integer"
  13717. },
  13718. "relatedid": {
  13719. "description": "现货合同ID",
  13720. "type": "string"
  13721. },
  13722. "sellusername": {
  13723. "description": "销售方名字",
  13724. "type": "string"
  13725. },
  13726. "userid": {
  13727. "description": "用户ID",
  13728. "type": "integer"
  13729. },
  13730. "wrstandardcode": {
  13731. "description": "品类代码",
  13732. "type": "string"
  13733. },
  13734. "wrstandardid": {
  13735. "description": "品类id",
  13736. "type": "integer"
  13737. },
  13738. "wrstandardname": {
  13739. "description": "品类名称",
  13740. "type": "string"
  13741. }
  13742. }
  13743. },
  13744. "ermcp.QryGGCovertCfgRsp": {
  13745. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  13746. },
  13747. "ermcp.QryMGChangeLogRsp": {
  13748. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  13749. },
  13750. "ermcp.QryMiddleGoodsDetailRsp": {
  13751. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  13752. },
  13753. "ermcp.QryMiddleGoodsRsp": {
  13754. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13755. },
  13756. "ermcp.QryOPLogRsp": {
  13757. "$ref": "#/definitions/models.ErmcpOPLogModel"
  13758. },
  13759. "ermcp.QryUserInfoRsp": {
  13760. "$ref": "#/definitions/models.ErmcpUserModel"
  13761. },
  13762. "ermcp.QryWarehouseRsp": {
  13763. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  13764. },
  13765. "ermcp.QueryErmcpTradePositionRsp": {
  13766. "type": "object",
  13767. "properties": {
  13768. "agreeunit": {
  13769. "description": "合约单位",
  13770. "type": "number"
  13771. },
  13772. "buyorsell": {
  13773. "description": "方向 - 0:买 1:卖",
  13774. "type": "integer"
  13775. },
  13776. "curpositionqty": {
  13777. "description": "持仓(总仓数量, 期末头寸)",
  13778. "type": "integer"
  13779. },
  13780. "curtdposition": {
  13781. "description": "今仓数量(期末今日头寸)",
  13782. "type": "integer"
  13783. },
  13784. "curtdpositionenabled": {
  13785. "description": "今仓可用",
  13786. "type": "integer"
  13787. },
  13788. "decimalplace": {
  13789. "description": "报价小数位",
  13790. "type": "integer"
  13791. },
  13792. "enableqty": {
  13793. "description": "可用(总仓可用)",
  13794. "type": "integer"
  13795. },
  13796. "exexchangename": {
  13797. "description": "外部交易所名称",
  13798. "type": "string"
  13799. },
  13800. "goodscode": {
  13801. "description": "商品代码(内部)",
  13802. "type": "string"
  13803. },
  13804. "goodsid": {
  13805. "description": "商品ID(自增ID SEQ_GOODS)",
  13806. "type": "integer"
  13807. },
  13808. "goodsname": {
  13809. "description": "商品名称",
  13810. "type": "string"
  13811. },
  13812. "last": {
  13813. "description": "现价",
  13814. "type": "number"
  13815. },
  13816. "marketid": {
  13817. "description": "所属市场ID",
  13818. "type": "integer"
  13819. },
  13820. "openaverageprice": {
  13821. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  13822. "type": "number"
  13823. },
  13824. "opencost": {
  13825. "description": "开仓成本",
  13826. "type": "number"
  13827. },
  13828. "openpl": {
  13829. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13830. "type": "number"
  13831. },
  13832. "outgoodscode": {
  13833. "description": "商品代码(外部)",
  13834. "type": "string"
  13835. },
  13836. "positionaverageprice": {
  13837. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  13838. "type": "number"
  13839. },
  13840. "positioncost": {
  13841. "description": "持仓成本",
  13842. "type": "number"
  13843. },
  13844. "positionpl": {
  13845. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  13846. "type": "number"
  13847. },
  13848. "positionplrate": {
  13849. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  13850. "type": "number"
  13851. },
  13852. "usedmargin": {
  13853. "description": "占用保证金",
  13854. "type": "number"
  13855. }
  13856. }
  13857. },
  13858. "ermcp.RealtimeExposurePositionRsp": {
  13859. "$ref": "#/definitions/models.ErmcpExposurePostion"
  13860. },
  13861. "ermcp.RealtimeExposureRsp": {
  13862. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  13863. },
  13864. "erms2.QueryArbitrageStrategyRsp": {
  13865. "type": "object",
  13866. "required": [
  13867. "asapplyid"
  13868. ],
  13869. "properties": {
  13870. "applybasis": {
  13871. "description": "申请基差",
  13872. "type": "number"
  13873. },
  13874. "asapplyid": {
  13875. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  13876. "type": "string"
  13877. },
  13878. "asname": {
  13879. "description": "策略名称",
  13880. "type": "string"
  13881. },
  13882. "asno": {
  13883. "description": "策略编号",
  13884. "type": "string"
  13885. },
  13886. "basischangepl": {
  13887. "description": "基差变动损益[结算更新]",
  13888. "type": "number"
  13889. },
  13890. "biztype": {
  13891. "description": "业务类型 - 1:正向套利 -1:反向套利",
  13892. "type": "integer"
  13893. },
  13894. "closetradedate": {
  13895. "description": "完结交易日(yyyyMMdd)",
  13896. "type": "string"
  13897. },
  13898. "curbasis": {
  13899. "description": "当前基差[结算更新]",
  13900. "type": "number"
  13901. },
  13902. "deliverygoodsid": {
  13903. "description": "现货品种ID",
  13904. "type": "integer"
  13905. },
  13906. "futureavgprice": {
  13907. "description": "期货建仓均价",
  13908. "type": "number"
  13909. },
  13910. "futurecloseamount": {
  13911. "description": "期货平仓金额",
  13912. "type": "number"
  13913. },
  13914. "futurecloseqty": {
  13915. "description": "期货平仓数量",
  13916. "type": "number"
  13917. },
  13918. "futureopenamount": {
  13919. "description": "期货开仓金额",
  13920. "type": "number"
  13921. },
  13922. "futureopenqty": {
  13923. "description": "期货开仓数量",
  13924. "type": "number"
  13925. },
  13926. "futurepl": {
  13927. "description": "期货总盈亏[结算更新]",
  13928. "type": "number"
  13929. },
  13930. "futureqty": {
  13931. "description": "期货持仓数量",
  13932. "type": "number"
  13933. },
  13934. "futurequote": {
  13935. "description": "期货额度",
  13936. "type": "number"
  13937. },
  13938. "goodsgroupid": {
  13939. "description": "期货品种ID",
  13940. "type": "integer"
  13941. },
  13942. "marketid": {
  13943. "description": "市场ID",
  13944. "type": "integer"
  13945. },
  13946. "netexposure": {
  13947. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  13948. "type": "number"
  13949. },
  13950. "netexposurepl": {
  13951. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  13952. "type": "number"
  13953. },
  13954. "netexposurerate": {
  13955. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  13956. "type": "number"
  13957. },
  13958. "openbasis": {
  13959. "description": "建仓基差",
  13960. "type": "number"
  13961. },
  13962. "pricedspotqty": {
  13963. "description": "已定价现货数量",
  13964. "type": "number"
  13965. },
  13966. "pricedspotqtynotax": {
  13967. "description": "已定价现货不含税数量",
  13968. "type": "number"
  13969. },
  13970. "remark": {
  13971. "description": "备注",
  13972. "type": "string"
  13973. },
  13974. "spotavgprice": {
  13975. "description": "现货均价",
  13976. "type": "number"
  13977. },
  13978. "spotbuyamount": {
  13979. "description": "现货采购金额",
  13980. "type": "number"
  13981. },
  13982. "spotbuyqty": {
  13983. "description": "现货采购数量",
  13984. "type": "number"
  13985. },
  13986. "spotpl": {
  13987. "description": "现货总盈亏[结算更新]",
  13988. "type": "number"
  13989. },
  13990. "spotquota": {
  13991. "description": "现货额度",
  13992. "type": "number"
  13993. },
  13994. "spotsellamount": {
  13995. "description": "现货销售金额",
  13996. "type": "number"
  13997. },
  13998. "spotsellqty": {
  13999. "description": "现货销售数量",
  14000. "type": "number"
  14001. },
  14002. "spotusedquota": {
  14003. "description": "现货占用资金",
  14004. "type": "number"
  14005. },
  14006. "strategystatus": {
  14007. "description": "策略状态 - 0:未结束 1:已结束",
  14008. "type": "integer"
  14009. },
  14010. "totalpl": {
  14011. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  14012. "type": "number"
  14013. },
  14014. "tradedate": {
  14015. "description": "交易日(yyyyMMdd)",
  14016. "type": "string"
  14017. },
  14018. "updatetime": {
  14019. "description": "更新时间",
  14020. "type": "string"
  14021. },
  14022. "usedquota": {
  14023. "description": "已占用资金",
  14024. "type": "number"
  14025. },
  14026. "userid": {
  14027. "description": "所属机构",
  14028. "type": "integer"
  14029. }
  14030. }
  14031. },
  14032. "erms2.QueryInnerTradeDetailRsp": {
  14033. "type": "object",
  14034. "required": [
  14035. "asapplyid",
  14036. "buyorsell",
  14037. "goodscode",
  14038. "goodsgroupid",
  14039. "goodsgroupname",
  14040. "goodsname",
  14041. "tradeid"
  14042. ],
  14043. "properties": {
  14044. "accountid": {
  14045. "description": "账号ID",
  14046. "type": "integer"
  14047. },
  14048. "agreeunit": {
  14049. "description": "合约单位",
  14050. "type": "number"
  14051. },
  14052. "asapplyid": {
  14053. "description": "策略申请ID",
  14054. "type": "integer"
  14055. },
  14056. "asname": {
  14057. "description": "策略名称",
  14058. "type": "string"
  14059. },
  14060. "asno": {
  14061. "description": "策略编号",
  14062. "type": "string"
  14063. },
  14064. "buyorsell": {
  14065. "description": "方向 - 0:买 1:卖",
  14066. "type": "integer"
  14067. },
  14068. "channelbuildtype": {
  14069. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14070. "type": "integer"
  14071. },
  14072. "closetype": {
  14073. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14074. "type": "integer"
  14075. },
  14076. "decimalplace": {
  14077. "description": "报价小数位",
  14078. "type": "integer"
  14079. },
  14080. "detailtype": {
  14081. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  14082. "type": "integer"
  14083. },
  14084. "exexchangecode": {
  14085. "description": "外部交易所代码",
  14086. "type": "string"
  14087. },
  14088. "exexchangename": {
  14089. "description": "外部交易所名称",
  14090. "type": "string"
  14091. },
  14092. "goodscode": {
  14093. "description": "商品代码(合约)",
  14094. "type": "string"
  14095. },
  14096. "goodsgroupid": {
  14097. "description": "商品组ID(品种ID)",
  14098. "type": "integer"
  14099. },
  14100. "goodsgroupname": {
  14101. "description": "商品组名称(品种)",
  14102. "type": "string"
  14103. },
  14104. "goodsid": {
  14105. "description": "商品ID",
  14106. "type": "integer"
  14107. },
  14108. "goodsname": {
  14109. "description": "商品名称(合约)",
  14110. "type": "string"
  14111. },
  14112. "goodunit": {
  14113. "description": "报价单位",
  14114. "type": "string"
  14115. },
  14116. "marketid": {
  14117. "description": "市场ID",
  14118. "type": "integer"
  14119. },
  14120. "orderid": {
  14121. "description": "委托单号",
  14122. "type": "string"
  14123. },
  14124. "outgoodscode": {
  14125. "description": "商品代码(外部)",
  14126. "type": "string"
  14127. },
  14128. "relatedouttradeid": {
  14129. "description": "关联外部成交单ID",
  14130. "type": "string"
  14131. },
  14132. "remark": {
  14133. "description": "备注",
  14134. "type": "string"
  14135. },
  14136. "spotcontractid": {
  14137. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  14138. "type": "integer"
  14139. },
  14140. "spotcontractno": {
  14141. "description": "现货合同编号",
  14142. "type": "string"
  14143. },
  14144. "tradeid": {
  14145. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14146. "type": "string"
  14147. },
  14148. "tradeprice": {
  14149. "description": "成交价格",
  14150. "type": "number"
  14151. },
  14152. "tradeqty": {
  14153. "description": "成交数量",
  14154. "type": "integer"
  14155. },
  14156. "tradetime": {
  14157. "description": "成交时间",
  14158. "type": "string"
  14159. },
  14160. "updatetime": {
  14161. "description": "更新时间",
  14162. "type": "string"
  14163. }
  14164. }
  14165. },
  14166. "erms2.QuerySpotContractRsp": {
  14167. "type": "object",
  14168. "required": [
  14169. "spotcontractid"
  14170. ],
  14171. "properties": {
  14172. "accountid": {
  14173. "description": "资金账户ID",
  14174. "type": "integer"
  14175. },
  14176. "areauserid": {
  14177. "description": "所属机构",
  14178. "type": "integer"
  14179. },
  14180. "closedate": {
  14181. "description": "终止日期",
  14182. "type": "string"
  14183. },
  14184. "closeremark": {
  14185. "description": "结束备注",
  14186. "type": "string"
  14187. },
  14188. "closetradedate": {
  14189. "description": "完结交易日(yyyyMMdd)",
  14190. "type": "string"
  14191. },
  14192. "closetype": {
  14193. "description": "终止类型 - 1:违约 2:提前终止",
  14194. "type": "integer"
  14195. },
  14196. "contractamount": {
  14197. "description": "合同金额",
  14198. "type": "number"
  14199. },
  14200. "contractattachment": {
  14201. "description": "合同附件",
  14202. "type": "string"
  14203. },
  14204. "contractno": {
  14205. "description": "现货合同编号",
  14206. "type": "string"
  14207. },
  14208. "contractqty": {
  14209. "description": "合同数量(数值) (用于计算)",
  14210. "type": "number"
  14211. },
  14212. "contractqtychar": {
  14213. "description": "合同数量\\已订价数量 (用于显示)",
  14214. "type": "string"
  14215. },
  14216. "contractstatus": {
  14217. "description": "合同状态 - 0:未结束 1:已结束",
  14218. "type": "integer"
  14219. },
  14220. "contracttype": {
  14221. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  14222. "type": "integer"
  14223. },
  14224. "customeraccountid": {
  14225. "description": "客户资金账户ID",
  14226. "type": "integer"
  14227. },
  14228. "customeruserid": {
  14229. "description": "客户ID",
  14230. "type": "integer"
  14231. },
  14232. "deliverygoodsdesc": {
  14233. "description": "品种说明",
  14234. "type": "string"
  14235. },
  14236. "deliverygoodsid": {
  14237. "description": "现货品种ID",
  14238. "type": "integer"
  14239. },
  14240. "handlestatus": {
  14241. "description": "处理状态",
  14242. "type": "integer"
  14243. },
  14244. "invoiceatt": {
  14245. "description": "发票附件",
  14246. "type": "string"
  14247. },
  14248. "invoicedatetime": {
  14249. "description": "开收票更新时间",
  14250. "type": "string"
  14251. },
  14252. "invoiceopentime": {
  14253. "description": "开票时间",
  14254. "type": "string"
  14255. },
  14256. "invoiceremark": {
  14257. "description": "发票备注",
  14258. "type": "string"
  14259. },
  14260. "invoicestatus": {
  14261. "description": "开收票状态 - 0:未开票 1:已开票",
  14262. "type": "integer"
  14263. },
  14264. "lastdate": {
  14265. "description": "交货时间",
  14266. "type": "string"
  14267. },
  14268. "marketid": {
  14269. "description": "市场ID",
  14270. "type": "integer"
  14271. },
  14272. "paydatetime": {
  14273. "description": "收付款更新时间",
  14274. "type": "string"
  14275. },
  14276. "payremark": {
  14277. "description": "收付款备注",
  14278. "type": "string"
  14279. },
  14280. "paystatus": {
  14281. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  14282. "type": "integer"
  14283. },
  14284. "positionqty": {
  14285. "description": "头寸数量 - 合同数量去小数部分",
  14286. "type": "integer"
  14287. },
  14288. "producttype": {
  14289. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14290. "type": "integer"
  14291. },
  14292. "relatedqty": {
  14293. "description": "已关联数量",
  14294. "type": "number"
  14295. },
  14296. "relatedstatus": {
  14297. "description": "关联完结状态 - 0:未结束 1:已结束",
  14298. "type": "integer"
  14299. },
  14300. "remark": {
  14301. "description": "备注",
  14302. "type": "string"
  14303. },
  14304. "signdate": {
  14305. "description": "签订日期",
  14306. "type": "string"
  14307. },
  14308. "spotcontractid": {
  14309. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  14310. "type": "string"
  14311. },
  14312. "spotdatetime": {
  14313. "description": "收发货更新时间",
  14314. "type": "string"
  14315. },
  14316. "spotprice": {
  14317. "description": "价格",
  14318. "type": "number"
  14319. },
  14320. "spotremark": {
  14321. "description": "收发货备注",
  14322. "type": "string"
  14323. },
  14324. "spotstatus": {
  14325. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  14326. "type": "integer"
  14327. },
  14328. "tradedate": {
  14329. "description": "交易日(yyyyMMdd)",
  14330. "type": "string"
  14331. },
  14332. "userid": {
  14333. "description": "业务员用户ID",
  14334. "type": "integer"
  14335. },
  14336. "warehouseid": {
  14337. "description": "仓库ID",
  14338. "type": "integer"
  14339. },
  14340. "wrfactortypeid": {
  14341. "description": "仓单要素类型ID",
  14342. "type": "integer"
  14343. },
  14344. "wrstandardid": {
  14345. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  14346. "type": "integer"
  14347. }
  14348. }
  14349. },
  14350. "erms3.AddErms2ASApplyReq": {
  14351. "type": "object",
  14352. "required": [
  14353. "asapplyid"
  14354. ],
  14355. "properties": {
  14356. "applybasis": {
  14357. "description": "申请基差",
  14358. "type": "number"
  14359. },
  14360. "applystatus": {
  14361. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14362. "type": "integer"
  14363. },
  14364. "asapplyid": {
  14365. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  14366. "type": "integer"
  14367. },
  14368. "asname": {
  14369. "description": "策略名称",
  14370. "type": "string"
  14371. },
  14372. "asno": {
  14373. "description": "策略编号",
  14374. "type": "string"
  14375. },
  14376. "auditid": {
  14377. "description": "审核人",
  14378. "type": "integer"
  14379. },
  14380. "auditremark": {
  14381. "description": "审核备注",
  14382. "type": "string"
  14383. },
  14384. "audittime": {
  14385. "description": "审核时间",
  14386. "type": "string"
  14387. },
  14388. "biztype": {
  14389. "description": "业务类型 - 1:正向套利 2:反向套利",
  14390. "type": "integer"
  14391. },
  14392. "createtime": {
  14393. "description": "创建时间",
  14394. "type": "string"
  14395. },
  14396. "creatorid": {
  14397. "description": "创建人",
  14398. "type": "integer"
  14399. },
  14400. "deliverygoodsid": {
  14401. "description": "现货品种ID",
  14402. "type": "integer"
  14403. },
  14404. "futurequote": {
  14405. "description": "期货额度",
  14406. "type": "number"
  14407. },
  14408. "goodsgroupid": {
  14409. "description": "期货品种ID",
  14410. "type": "integer"
  14411. },
  14412. "marketid": {
  14413. "description": "市场ID",
  14414. "type": "integer"
  14415. },
  14416. "remark": {
  14417. "description": "备注",
  14418. "type": "string"
  14419. },
  14420. "spotquota": {
  14421. "description": "现货额度",
  14422. "type": "number"
  14423. },
  14424. "tradedate": {
  14425. "description": "交易日(yyyyMMdd)",
  14426. "type": "string"
  14427. },
  14428. "userid": {
  14429. "description": "所属机构",
  14430. "type": "integer"
  14431. }
  14432. }
  14433. },
  14434. "erms3.AddErms2SpotTradeApplyReq": {
  14435. "type": "object",
  14436. "required": [
  14437. "spottradeid"
  14438. ],
  14439. "properties": {
  14440. "applyjsondetail": {
  14441. "description": "申请明细(JSON)",
  14442. "type": "string"
  14443. },
  14444. "applystatus": {
  14445. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  14446. "type": "integer"
  14447. },
  14448. "areauserid": {
  14449. "description": "所属机构",
  14450. "type": "integer"
  14451. },
  14452. "auditid": {
  14453. "description": "审核人",
  14454. "type": "integer"
  14455. },
  14456. "auditremark": {
  14457. "description": "审核备注",
  14458. "type": "string"
  14459. },
  14460. "audittime": {
  14461. "description": "审核时间",
  14462. "type": "string"
  14463. },
  14464. "createtime": {
  14465. "description": "创建时间",
  14466. "type": "string"
  14467. },
  14468. "creatorid": {
  14469. "description": "创建人",
  14470. "type": "integer"
  14471. },
  14472. "deliverygoodsid": {
  14473. "description": "现货品种ID",
  14474. "type": "integer"
  14475. },
  14476. "futureaccountid": {
  14477. "description": "期货资金账户",
  14478. "type": "integer"
  14479. },
  14480. "goodsgroupid": {
  14481. "description": "期货品种",
  14482. "type": "integer"
  14483. },
  14484. "marketid": {
  14485. "description": "市场ID",
  14486. "type": "integer"
  14487. },
  14488. "remark": {
  14489. "description": "备注",
  14490. "type": "string"
  14491. },
  14492. "spotaccountid": {
  14493. "description": "现货资金账户",
  14494. "type": "integer"
  14495. },
  14496. "spottradeid": {
  14497. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  14498. "type": "integer"
  14499. },
  14500. "spottradename": {
  14501. "description": "业务名称",
  14502. "type": "string"
  14503. },
  14504. "spottradeno": {
  14505. "description": "业务编号",
  14506. "type": "string"
  14507. },
  14508. "tradedate": {
  14509. "description": "交易日(yyyyMMdd)",
  14510. "type": "string"
  14511. },
  14512. "wrstandardid": {
  14513. "description": "仓单标准ID",
  14514. "type": "integer"
  14515. }
  14516. }
  14517. },
  14518. "erms3.AddSpotContractApplyReq": {
  14519. "type": "object",
  14520. "required": [
  14521. "accountid",
  14522. "areauserid",
  14523. "contractno",
  14524. "contracttype",
  14525. "customeraccountid",
  14526. "customeruserid",
  14527. "details",
  14528. "orimargin",
  14529. "signdate"
  14530. ],
  14531. "properties": {
  14532. "accountid": {
  14533. "description": "资金账户ID",
  14534. "type": "integer"
  14535. },
  14536. "areauserid": {
  14537. "description": "所属机构",
  14538. "type": "integer"
  14539. },
  14540. "contractattachment": {
  14541. "description": "合同附件",
  14542. "type": "string"
  14543. },
  14544. "contractno": {
  14545. "description": "现货合同编号",
  14546. "type": "string"
  14547. },
  14548. "contracttype": {
  14549. "description": "现货合同类型 - 1:采购 -1:销售",
  14550. "type": "integer"
  14551. },
  14552. "creatorid": {
  14553. "description": "申请人",
  14554. "type": "integer"
  14555. },
  14556. "customeraccountid": {
  14557. "description": "客户资金账户ID",
  14558. "type": "integer"
  14559. },
  14560. "customeruserid": {
  14561. "description": "客户ID",
  14562. "type": "integer"
  14563. },
  14564. "details": {
  14565. "description": "明细",
  14566. "type": "array",
  14567. "items": {
  14568. "$ref": "#/definitions/erms3.SoptContractDetail"
  14569. }
  14570. },
  14571. "orimargin": {
  14572. "description": "初始保证金",
  14573. "type": "number"
  14574. },
  14575. "remark": {
  14576. "description": "备注",
  14577. "type": "string"
  14578. },
  14579. "signdate": {
  14580. "description": "签订日期",
  14581. "type": "string"
  14582. }
  14583. }
  14584. },
  14585. "erms3.AddSpotContractApplyRsp": {
  14586. "type": "object",
  14587. "required": [
  14588. "contractno"
  14589. ],
  14590. "properties": {
  14591. "contractno": {
  14592. "description": "现货合同编号",
  14593. "type": "string"
  14594. },
  14595. "spotcontractid": {
  14596. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  14597. "type": "integer"
  14598. }
  14599. }
  14600. },
  14601. "erms3.AddUserInfoApplyReq": {
  14602. "type": "object",
  14603. "required": [
  14604. "userid"
  14605. ],
  14606. "properties": {
  14607. "accountid": {
  14608. "description": "交易系统帐号Id (加密存储)",
  14609. "type": "integer"
  14610. },
  14611. "areacode": {
  14612. "description": "机构代码",
  14613. "type": "string"
  14614. },
  14615. "areaid": {
  14616. "description": "机构Id",
  14617. "type": "integer"
  14618. },
  14619. "attachment1": {
  14620. "description": "附件1",
  14621. "type": "string"
  14622. },
  14623. "attachment2": {
  14624. "description": "附件2",
  14625. "type": "string"
  14626. },
  14627. "attachment3": {
  14628. "description": "附件3",
  14629. "type": "string"
  14630. },
  14631. "attachment4": {
  14632. "description": "附件4",
  14633. "type": "string"
  14634. },
  14635. "attachment5": {
  14636. "description": "附件5",
  14637. "type": "string"
  14638. },
  14639. "auditedby": {
  14640. "description": "审核人",
  14641. "type": "string"
  14642. },
  14643. "auditime": {
  14644. "description": "审核时间",
  14645. "type": "string"
  14646. },
  14647. "auditsrc": {
  14648. "description": "审核来源 - 1:管理端 2:终端",
  14649. "type": "integer"
  14650. },
  14651. "bankaccount": {
  14652. "description": "银行帐号 (加密存储)",
  14653. "type": "string"
  14654. },
  14655. "bankaccountname": {
  14656. "description": "收款人名称",
  14657. "type": "string"
  14658. },
  14659. "bankcardbackphotourl": {
  14660. "description": "银行卡背面照地址",
  14661. "type": "string"
  14662. },
  14663. "bankcardfrontphotourl": {
  14664. "description": "银行卡正面照地址",
  14665. "type": "string"
  14666. },
  14667. "bankid": {
  14668. "description": "银行编码",
  14669. "type": "string"
  14670. },
  14671. "bankname": {
  14672. "description": "银行名称",
  14673. "type": "string"
  14674. },
  14675. "bankpictureurl": {
  14676. "description": "银行卡正面地址",
  14677. "type": "string"
  14678. },
  14679. "biznature": {
  14680. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14681. "type": "integer"
  14682. },
  14683. "bizscope": {
  14684. "description": "企业经营范围(企业)",
  14685. "type": "string"
  14686. },
  14687. "biztype": {
  14688. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  14689. "type": "integer"
  14690. },
  14691. "brokerid": {
  14692. "description": "经纪人ID(加密存储)",
  14693. "type": "string"
  14694. },
  14695. "cardaddress": {
  14696. "description": "证件地址 (加密存储)",
  14697. "type": "string"
  14698. },
  14699. "cardbackphotourl": {
  14700. "description": "背面证件照地址",
  14701. "type": "string"
  14702. },
  14703. "cardfrontphotourl": {
  14704. "description": "正面证件照地址",
  14705. "type": "string"
  14706. },
  14707. "cardnum": {
  14708. "description": "证件号码 (加密存储)",
  14709. "type": "string"
  14710. },
  14711. "cardtype": {
  14712. "description": "证件类型",
  14713. "type": "integer"
  14714. },
  14715. "cityid": {
  14716. "description": "市",
  14717. "type": "integer"
  14718. },
  14719. "company": {
  14720. "description": "公司(个人)",
  14721. "type": "string"
  14722. },
  14723. "contactcardbackphotourl": {
  14724. "description": "联系人证件背面图片地址",
  14725. "type": "string"
  14726. },
  14727. "contactcardfrontphotourl": {
  14728. "description": "联系人证件正面图片地址",
  14729. "type": "string"
  14730. },
  14731. "contactname": {
  14732. "description": "联系人",
  14733. "type": "string"
  14734. },
  14735. "countryid": {
  14736. "description": "国家",
  14737. "type": "integer"
  14738. },
  14739. "createtime": {
  14740. "description": "开户申请时间",
  14741. "type": "string"
  14742. },
  14743. "cusbankid": {
  14744. "description": "签约类型",
  14745. "type": "string"
  14746. },
  14747. "cusbankname": {
  14748. "description": "签约类型名称",
  14749. "type": "string"
  14750. },
  14751. "customername": {
  14752. "description": "客户名称(企业名称)",
  14753. "type": "string"
  14754. },
  14755. "districtid": {
  14756. "description": "地区",
  14757. "type": "integer"
  14758. },
  14759. "email": {
  14760. "description": "Email地址(加密存储)",
  14761. "type": "string"
  14762. },
  14763. "halfbodyphotourl": {
  14764. "description": "半身照地址",
  14765. "type": "string"
  14766. },
  14767. "headurl": {
  14768. "description": "头像地址",
  14769. "type": "string"
  14770. },
  14771. "ipaddress": {
  14772. "description": "IP地址",
  14773. "type": "string"
  14774. },
  14775. "isvalidate": {
  14776. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  14777. "type": "string"
  14778. },
  14779. "legalcardbackphotourl": {
  14780. "description": "法人身份证背面照地址",
  14781. "type": "string"
  14782. },
  14783. "legalcardfrontphotourl": {
  14784. "description": "法人身份证正面照地址",
  14785. "type": "string"
  14786. },
  14787. "legalpersonname": {
  14788. "description": "法人姓名(企业)",
  14789. "type": "string"
  14790. },
  14791. "logincode": {
  14792. "description": "登录帐号 (加密存储)",
  14793. "type": "string"
  14794. },
  14795. "memberareaid": {
  14796. "description": "所属会员ID",
  14797. "type": "integer"
  14798. },
  14799. "mobile2": {
  14800. "description": "手机号码[明文-尚志]",
  14801. "type": "string"
  14802. },
  14803. "mobilephone": {
  14804. "description": "手机号码 (加密存储)",
  14805. "type": "string"
  14806. },
  14807. "modifiedby": {
  14808. "description": "修改人帐号",
  14809. "type": "integer"
  14810. },
  14811. "modifiedtime": {
  14812. "description": "修改时间",
  14813. "type": "string"
  14814. },
  14815. "nickname": {
  14816. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  14817. "type": "string"
  14818. },
  14819. "openmode": {
  14820. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  14821. "type": "integer"
  14822. },
  14823. "otherurl": {
  14824. "description": "其它图片地址[使用分号分隔]",
  14825. "type": "string"
  14826. },
  14827. "postalcode": {
  14828. "description": "邮政编码",
  14829. "type": "string"
  14830. },
  14831. "provinceid": {
  14832. "description": "省",
  14833. "type": "integer"
  14834. },
  14835. "proxystatementurl": {
  14836. "description": "授权委托书",
  14837. "type": "string"
  14838. },
  14839. "qq": {
  14840. "description": "QQ(加密存储",
  14841. "type": "string"
  14842. },
  14843. "referral": {
  14844. "description": "推荐人编码",
  14845. "type": "string"
  14846. },
  14847. "remark": {
  14848. "description": "备注",
  14849. "type": "string"
  14850. },
  14851. "removebeforestatus": {
  14852. "description": "REMOVEBEFORESTATUS",
  14853. "type": "integer"
  14854. },
  14855. "sex": {
  14856. "description": "性别 - 0:女 1:男",
  14857. "type": "integer"
  14858. },
  14859. "signedstatus": {
  14860. "description": "账户一号签签约状态",
  14861. "type": "integer"
  14862. },
  14863. "signpdfurl": {
  14864. "description": "签约pdf文件",
  14865. "type": "string"
  14866. },
  14867. "subbranch": {
  14868. "description": "开户支行",
  14869. "type": "string"
  14870. },
  14871. "taxpayernum": {
  14872. "description": "纳税人识别号",
  14873. "type": "string"
  14874. },
  14875. "telphone": {
  14876. "description": "联系电话(加密存储)",
  14877. "type": "string"
  14878. },
  14879. "userid": {
  14880. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  14881. "type": "integer"
  14882. },
  14883. "userinfotype": {
  14884. "description": "用户信息类型 - 1:个人 2:企业",
  14885. "type": "integer"
  14886. },
  14887. "username": {
  14888. "description": "用户姓名",
  14889. "type": "string"
  14890. },
  14891. "userstate": {
  14892. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  14893. "type": "integer"
  14894. },
  14895. "usertype": {
  14896. "description": "用户类型 - 1:投资者 2:机构",
  14897. "type": "integer"
  14898. },
  14899. "videourl": {
  14900. "description": "视频地址",
  14901. "type": "string"
  14902. },
  14903. "wechat": {
  14904. "description": "微信号 (加密存储)",
  14905. "type": "string"
  14906. }
  14907. }
  14908. },
  14909. "erms3.CustomerInfo": {
  14910. "type": "object",
  14911. "required": [
  14912. "userid"
  14913. ],
  14914. "properties": {
  14915. "accountids": {
  14916. "description": "资金账户ID列表",
  14917. "type": "array",
  14918. "items": {
  14919. "type": "integer"
  14920. }
  14921. },
  14922. "customername": {
  14923. "description": "名称(企业名称)",
  14924. "type": "string"
  14925. },
  14926. "mobile": {
  14927. "description": "手机号码",
  14928. "type": "string"
  14929. },
  14930. "userid": {
  14931. "description": "用户ID",
  14932. "type": "integer"
  14933. }
  14934. }
  14935. },
  14936. "erms3.ModifyUserInfoApplyReq": {
  14937. "type": "object",
  14938. "required": [
  14939. "userid"
  14940. ],
  14941. "properties": {
  14942. "accountid": {
  14943. "description": "交易系统帐号Id (加密存储)",
  14944. "type": "integer"
  14945. },
  14946. "areacode": {
  14947. "description": "机构代码",
  14948. "type": "string"
  14949. },
  14950. "areaid": {
  14951. "description": "机构Id",
  14952. "type": "integer"
  14953. },
  14954. "attachment1": {
  14955. "description": "附件1",
  14956. "type": "string"
  14957. },
  14958. "attachment2": {
  14959. "description": "附件2",
  14960. "type": "string"
  14961. },
  14962. "attachment3": {
  14963. "description": "附件3",
  14964. "type": "string"
  14965. },
  14966. "attachment4": {
  14967. "description": "附件4",
  14968. "type": "string"
  14969. },
  14970. "attachment5": {
  14971. "description": "附件5",
  14972. "type": "string"
  14973. },
  14974. "auditedby": {
  14975. "description": "审核人",
  14976. "type": "string"
  14977. },
  14978. "auditime": {
  14979. "description": "审核时间",
  14980. "type": "string"
  14981. },
  14982. "auditsrc": {
  14983. "description": "审核来源 - 1:管理端 2:终端",
  14984. "type": "integer"
  14985. },
  14986. "bankaccount": {
  14987. "description": "银行帐号 (加密存储)",
  14988. "type": "string"
  14989. },
  14990. "bankaccountname": {
  14991. "description": "收款人名称",
  14992. "type": "string"
  14993. },
  14994. "bankcardbackphotourl": {
  14995. "description": "银行卡背面照地址",
  14996. "type": "string"
  14997. },
  14998. "bankcardfrontphotourl": {
  14999. "description": "银行卡正面照地址",
  15000. "type": "string"
  15001. },
  15002. "bankid": {
  15003. "description": "银行编码",
  15004. "type": "string"
  15005. },
  15006. "bankname": {
  15007. "description": "银行名称",
  15008. "type": "string"
  15009. },
  15010. "bankpictureurl": {
  15011. "description": "银行卡正面地址",
  15012. "type": "string"
  15013. },
  15014. "biznature": {
  15015. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15016. "type": "integer"
  15017. },
  15018. "bizscope": {
  15019. "description": "企业经营范围(企业)",
  15020. "type": "string"
  15021. },
  15022. "biztype": {
  15023. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  15024. "type": "integer"
  15025. },
  15026. "brokerid": {
  15027. "description": "经纪人ID(加密存储)",
  15028. "type": "string"
  15029. },
  15030. "cardaddress": {
  15031. "description": "证件地址 (加密存储)",
  15032. "type": "string"
  15033. },
  15034. "cardbackphotourl": {
  15035. "description": "背面证件照地址",
  15036. "type": "string"
  15037. },
  15038. "cardfrontphotourl": {
  15039. "description": "正面证件照地址",
  15040. "type": "string"
  15041. },
  15042. "cardnum": {
  15043. "description": "证件号码 (加密存储)",
  15044. "type": "string"
  15045. },
  15046. "cardtype": {
  15047. "description": "证件类型",
  15048. "type": "integer"
  15049. },
  15050. "cityid": {
  15051. "description": "市",
  15052. "type": "integer"
  15053. },
  15054. "company": {
  15055. "description": "公司(个人)",
  15056. "type": "string"
  15057. },
  15058. "contactcardbackphotourl": {
  15059. "description": "联系人证件背面图片地址",
  15060. "type": "string"
  15061. },
  15062. "contactcardfrontphotourl": {
  15063. "description": "联系人证件正面图片地址",
  15064. "type": "string"
  15065. },
  15066. "contactname": {
  15067. "description": "联系人",
  15068. "type": "string"
  15069. },
  15070. "countryid": {
  15071. "description": "国家",
  15072. "type": "integer"
  15073. },
  15074. "createtime": {
  15075. "description": "开户申请时间",
  15076. "type": "string"
  15077. },
  15078. "cusbankid": {
  15079. "description": "签约类型",
  15080. "type": "string"
  15081. },
  15082. "cusbankname": {
  15083. "description": "签约类型名称",
  15084. "type": "string"
  15085. },
  15086. "customername": {
  15087. "description": "客户名称(企业名称)",
  15088. "type": "string"
  15089. },
  15090. "districtid": {
  15091. "description": "地区",
  15092. "type": "integer"
  15093. },
  15094. "email": {
  15095. "description": "Email地址(加密存储)",
  15096. "type": "string"
  15097. },
  15098. "halfbodyphotourl": {
  15099. "description": "半身照地址",
  15100. "type": "string"
  15101. },
  15102. "headurl": {
  15103. "description": "头像地址",
  15104. "type": "string"
  15105. },
  15106. "ipaddress": {
  15107. "description": "IP地址",
  15108. "type": "string"
  15109. },
  15110. "isvalidate": {
  15111. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  15112. "type": "string"
  15113. },
  15114. "legalcardbackphotourl": {
  15115. "description": "法人身份证背面照地址",
  15116. "type": "string"
  15117. },
  15118. "legalcardfrontphotourl": {
  15119. "description": "法人身份证正面照地址",
  15120. "type": "string"
  15121. },
  15122. "legalpersonname": {
  15123. "description": "法人姓名(企业)",
  15124. "type": "string"
  15125. },
  15126. "logincode": {
  15127. "description": "登录帐号 (加密存储)",
  15128. "type": "string"
  15129. },
  15130. "memberareaid": {
  15131. "description": "所属会员ID",
  15132. "type": "integer"
  15133. },
  15134. "mobile2": {
  15135. "description": "手机号码[明文-尚志]",
  15136. "type": "string"
  15137. },
  15138. "mobilephone": {
  15139. "description": "手机号码 (加密存储)",
  15140. "type": "string"
  15141. },
  15142. "modifiedby": {
  15143. "description": "修改人帐号",
  15144. "type": "integer"
  15145. },
  15146. "modifiedtime": {
  15147. "description": "修改时间",
  15148. "type": "string"
  15149. },
  15150. "nickname": {
  15151. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  15152. "type": "string"
  15153. },
  15154. "openmode": {
  15155. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  15156. "type": "integer"
  15157. },
  15158. "otherurl": {
  15159. "description": "其它图片地址[使用分号分隔]",
  15160. "type": "string"
  15161. },
  15162. "postalcode": {
  15163. "description": "邮政编码",
  15164. "type": "string"
  15165. },
  15166. "provinceid": {
  15167. "description": "省",
  15168. "type": "integer"
  15169. },
  15170. "proxystatementurl": {
  15171. "description": "授权委托书",
  15172. "type": "string"
  15173. },
  15174. "qq": {
  15175. "description": "QQ(加密存储",
  15176. "type": "string"
  15177. },
  15178. "referral": {
  15179. "description": "推荐人编码",
  15180. "type": "string"
  15181. },
  15182. "remark": {
  15183. "description": "备注",
  15184. "type": "string"
  15185. },
  15186. "removebeforestatus": {
  15187. "description": "REMOVEBEFORESTATUS",
  15188. "type": "integer"
  15189. },
  15190. "sex": {
  15191. "description": "性别 - 0:女 1:男",
  15192. "type": "integer"
  15193. },
  15194. "signedstatus": {
  15195. "description": "账户一号签签约状态",
  15196. "type": "integer"
  15197. },
  15198. "signpdfurl": {
  15199. "description": "签约pdf文件",
  15200. "type": "string"
  15201. },
  15202. "subbranch": {
  15203. "description": "开户支行",
  15204. "type": "string"
  15205. },
  15206. "taxpayernum": {
  15207. "description": "纳税人识别号",
  15208. "type": "string"
  15209. },
  15210. "telphone": {
  15211. "description": "联系电话(加密存储)",
  15212. "type": "string"
  15213. },
  15214. "userid": {
  15215. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  15216. "type": "integer"
  15217. },
  15218. "userinfotype": {
  15219. "description": "用户信息类型 - 1:个人 2:企业",
  15220. "type": "integer"
  15221. },
  15222. "username": {
  15223. "description": "用户姓名",
  15224. "type": "string"
  15225. },
  15226. "userstate": {
  15227. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15228. "type": "integer"
  15229. },
  15230. "usertype": {
  15231. "description": "用户类型 - 1:投资者 2:机构",
  15232. "type": "integer"
  15233. },
  15234. "videourl": {
  15235. "description": "视频地址",
  15236. "type": "string"
  15237. },
  15238. "wechat": {
  15239. "description": "微信号 (加密存储)",
  15240. "type": "string"
  15241. }
  15242. }
  15243. },
  15244. "erms3.QryAuditContractRsp": {
  15245. "type": "object",
  15246. "required": [
  15247. "matchcustomername",
  15248. "spotcontractid"
  15249. ],
  15250. "properties": {
  15251. "accountid": {
  15252. "description": "交易员ID",
  15253. "type": "string"
  15254. },
  15255. "applystatus": {
  15256. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  15257. "type": "integer"
  15258. },
  15259. "curdeliveryqty": {
  15260. "description": "未交收量",
  15261. "type": "integer"
  15262. },
  15263. "customername": {
  15264. "description": "采购方ID",
  15265. "type": "string"
  15266. },
  15267. "deliverygoodsid": {
  15268. "description": "品种ID",
  15269. "type": "string"
  15270. },
  15271. "deliveryqty": {
  15272. "description": "交收量",
  15273. "type": "integer"
  15274. },
  15275. "enumdicname": {
  15276. "description": "单位名称",
  15277. "type": "string"
  15278. },
  15279. "matchaccountid": {
  15280. "description": "业务员ID",
  15281. "type": "string"
  15282. },
  15283. "matchcustomername": {
  15284. "description": "销售方ID",
  15285. "type": "string"
  15286. },
  15287. "pricedqty": {
  15288. "description": "定价量",
  15289. "type": "number"
  15290. },
  15291. "signdate": {
  15292. "description": "签订日期",
  15293. "type": "string"
  15294. },
  15295. "spotcontractid": {
  15296. "description": "合同ID",
  15297. "type": "string"
  15298. },
  15299. "totaldqty": {
  15300. "description": "合同量",
  15301. "type": "number"
  15302. },
  15303. "unpricedqty": {
  15304. "description": "未定价量",
  15305. "type": "number"
  15306. },
  15307. "wrstandardname": {
  15308. "description": "商品名称",
  15309. "type": "string"
  15310. }
  15311. }
  15312. },
  15313. "erms3.QryPendingBizRsp": {
  15314. "$ref": "#/definitions/models.PendingAuditBizModel"
  15315. },
  15316. "erms3.QueryBusinessInfoRsp": {
  15317. "type": "object",
  15318. "properties": {
  15319. "businessid": {
  15320. "description": "业务ID.",
  15321. "type": "integer"
  15322. },
  15323. "buyamount": {
  15324. "description": "采购额.",
  15325. "type": "number"
  15326. },
  15327. "buyqty": {
  15328. "description": "采购量.",
  15329. "type": "string"
  15330. },
  15331. "futurepl": {
  15332. "description": "期货盈亏.",
  15333. "type": "number"
  15334. },
  15335. "futureqty": {
  15336. "description": "期货敞口.",
  15337. "type": "string"
  15338. },
  15339. "goodsid": {
  15340. "description": "商品名称/商品代码.",
  15341. "type": "string"
  15342. },
  15343. "hedgingqty": {
  15344. "description": "套保量.",
  15345. "type": "string"
  15346. },
  15347. "sellamount": {
  15348. "description": "销售额.",
  15349. "type": "number"
  15350. },
  15351. "sellqty": {
  15352. "description": "销售量.",
  15353. "type": "string"
  15354. },
  15355. "spotmarketvalue": {
  15356. "description": "现货市值.",
  15357. "type": "number"
  15358. },
  15359. "spotpl": {
  15360. "description": "浮动权益.",
  15361. "type": "number"
  15362. },
  15363. "spotqty": {
  15364. "description": "现货量.",
  15365. "type": "string"
  15366. },
  15367. "statu": {
  15368. "description": "状态,0-未结束 1-已结束.",
  15369. "type": "integer"
  15370. },
  15371. "totalpl": {
  15372. "description": "总盈亏.",
  15373. "type": "number"
  15374. },
  15375. "totalqty": {
  15376. "description": "总敞口.",
  15377. "type": "string"
  15378. },
  15379. "type": {
  15380. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  15381. "type": "integer"
  15382. }
  15383. }
  15384. },
  15385. "erms3.QuerySpotContractAppleFormRsp": {
  15386. "type": "object",
  15387. "properties": {
  15388. "goodses": {
  15389. "description": "合约列表",
  15390. "type": "array",
  15391. "items": {
  15392. "$ref": "#/definitions/models.GoodsIDAndName"
  15393. }
  15394. },
  15395. "oppositeusers": {
  15396. "description": "对方账号列表",
  15397. "type": "array",
  15398. "items": {
  15399. "$ref": "#/definitions/erms3.CustomerInfo"
  15400. }
  15401. },
  15402. "ouruser": {
  15403. "description": "我方账号",
  15404. "type": "object",
  15405. "$ref": "#/definitions/erms3.CustomerInfo"
  15406. },
  15407. "warehouseinfos": {
  15408. "description": "仓库信息列表",
  15409. "type": "array",
  15410. "items": {
  15411. "$ref": "#/definitions/models.Warehouseinfo"
  15412. }
  15413. },
  15414. "wrstandards": {
  15415. "description": "仓单标准列表",
  15416. "type": "array",
  15417. "items": {
  15418. "$ref": "#/definitions/models.WRStandardInfo"
  15419. }
  15420. }
  15421. }
  15422. },
  15423. "erms3.QuerySpotContractInfoRsp": {
  15424. "type": "object",
  15425. "properties": {
  15426. "accountid": {
  15427. "description": "表示交易员ID.",
  15428. "type": "integer"
  15429. },
  15430. "curdeliveryqty": {
  15431. "description": "表示未交收量.",
  15432. "type": "number"
  15433. },
  15434. "customername": {
  15435. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  15436. "type": "string"
  15437. },
  15438. "deliverygoodsid": {
  15439. "description": "表示品种ID.",
  15440. "type": "string"
  15441. },
  15442. "deliveryqty": {
  15443. "description": "表示交收量.",
  15444. "type": "number"
  15445. },
  15446. "matchaccountid": {
  15447. "description": "表示业务员ID.",
  15448. "type": "integer"
  15449. },
  15450. "matchcustomername": {
  15451. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  15452. "type": "string"
  15453. },
  15454. "priceqty": {
  15455. "description": "表示定价量.",
  15456. "type": "number"
  15457. },
  15458. "relatedbizid": {
  15459. "description": "表示业务ID.",
  15460. "type": "string"
  15461. },
  15462. "signdate": {
  15463. "description": "表示签订日期.",
  15464. "type": "string"
  15465. },
  15466. "spotcontractid": {
  15467. "description": "合同ID",
  15468. "type": "string"
  15469. },
  15470. "status": {
  15471. "description": "表示状态,0-履约中 1-已完成.",
  15472. "type": "integer"
  15473. },
  15474. "totalqty": {
  15475. "description": "表示合同量.",
  15476. "type": "number"
  15477. },
  15478. "unpricedqty": {
  15479. "description": "表示未定价量.",
  15480. "type": "number"
  15481. },
  15482. "wrstandardname": {
  15483. "description": "表示商品ID.",
  15484. "type": "string"
  15485. }
  15486. }
  15487. },
  15488. "erms3.QueryUserInfoAppliesRsp": {
  15489. "type": "object",
  15490. "required": [
  15491. "userid"
  15492. ],
  15493. "properties": {
  15494. "biznature": {
  15495. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15496. "type": "integer"
  15497. },
  15498. "contactname": {
  15499. "description": "联系人",
  15500. "type": "string"
  15501. },
  15502. "createtime": {
  15503. "description": "开户申请时间",
  15504. "type": "string"
  15505. },
  15506. "userid": {
  15507. "description": "用户ID(自增ID)",
  15508. "type": "integer"
  15509. },
  15510. "userinfotype": {
  15511. "description": "用户信息类型 - 1:个人 2:企业",
  15512. "type": "integer"
  15513. },
  15514. "username": {
  15515. "description": "用户姓名",
  15516. "type": "string"
  15517. },
  15518. "userstate": {
  15519. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  15520. "type": "integer"
  15521. }
  15522. }
  15523. },
  15524. "erms3.QueryUserInfosRsp": {
  15525. "type": "object",
  15526. "required": [
  15527. "userid"
  15528. ],
  15529. "properties": {
  15530. "biznature": {
  15531. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15532. "type": "integer"
  15533. },
  15534. "contactname": {
  15535. "description": "联系人",
  15536. "type": "string"
  15537. },
  15538. "customername": {
  15539. "description": "客户名称(企业名称)",
  15540. "type": "string"
  15541. },
  15542. "userid": {
  15543. "description": "用户ID",
  15544. "type": "integer"
  15545. },
  15546. "userinfotype": {
  15547. "description": "用户信息类型 - 1:个人 2:企业",
  15548. "type": "integer"
  15549. },
  15550. "userstatus": {
  15551. "description": "用户状态 - 1:正常 2:注销",
  15552. "type": "integer"
  15553. }
  15554. }
  15555. },
  15556. "erms3.SoptContractDetail": {
  15557. "type": "object",
  15558. "required": [
  15559. "deliverygoodsid",
  15560. "producttype",
  15561. "unitname",
  15562. "warehouseid",
  15563. "wrstandardid",
  15564. "wrstandardname"
  15565. ],
  15566. "properties": {
  15567. "deliverygoodsdesc": {
  15568. "description": "现货品种说明",
  15569. "type": "string"
  15570. },
  15571. "deliverygoodsid": {
  15572. "description": "现货品种ID",
  15573. "type": "integer"
  15574. },
  15575. "deliverygoodsname": {
  15576. "description": "现货品种名称",
  15577. "type": "string"
  15578. },
  15579. "pointdesc": {
  15580. "description": "点价描述",
  15581. "type": "string"
  15582. },
  15583. "producttype": {
  15584. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  15585. "type": "integer"
  15586. },
  15587. "producttypename": {
  15588. "description": "产品类型名称",
  15589. "type": "string"
  15590. },
  15591. "spotPointOrderVoList": {
  15592. "description": "点价列表",
  15593. "type": "array",
  15594. "items": {
  15595. "$ref": "#/definitions/erms3.SpotPointOrder"
  15596. }
  15597. },
  15598. "spotPriceOrderList": {
  15599. "description": "定价列表",
  15600. "type": "array",
  15601. "items": {
  15602. "$ref": "#/definitions/erms3.SpotPriceOrder"
  15603. }
  15604. },
  15605. "unitname": {
  15606. "description": "单位名称",
  15607. "type": "string"
  15608. },
  15609. "warehouseid": {
  15610. "description": "仓库ID",
  15611. "type": "integer"
  15612. },
  15613. "warehousename": {
  15614. "description": "仓库名称",
  15615. "type": "string"
  15616. },
  15617. "wrstandardid": {
  15618. "description": "交易标的ID",
  15619. "type": "integer"
  15620. },
  15621. "wrstandardname": {
  15622. "description": "交易标的名称",
  15623. "type": "string"
  15624. }
  15625. }
  15626. },
  15627. "erms3.SpotPointOrder": {
  15628. "type": "object",
  15629. "required": [
  15630. "basic",
  15631. "goodsid",
  15632. "qty"
  15633. ],
  15634. "properties": {
  15635. "basic": {
  15636. "description": "基差",
  15637. "type": "number"
  15638. },
  15639. "deliveryenddate": {
  15640. "description": "交收结束日期",
  15641. "type": "string"
  15642. },
  15643. "deliverystartdate": {
  15644. "description": "交收开始日期",
  15645. "type": "string"
  15646. },
  15647. "enddate": {
  15648. "description": "点价结束日期",
  15649. "type": "string"
  15650. },
  15651. "goodsid": {
  15652. "description": "商品ID",
  15653. "type": "integer"
  15654. },
  15655. "goodsname": {
  15656. "description": "商品名称",
  15657. "type": "string"
  15658. },
  15659. "qty": {
  15660. "description": "数量",
  15661. "type": "number"
  15662. },
  15663. "startdate": {
  15664. "description": "点价开始日期",
  15665. "type": "string"
  15666. }
  15667. }
  15668. },
  15669. "erms3.SpotPriceOrder": {
  15670. "type": "object",
  15671. "required": [
  15672. "amount",
  15673. "price",
  15674. "qty"
  15675. ],
  15676. "properties": {
  15677. "amount": {
  15678. "description": "金额",
  15679. "type": "number"
  15680. },
  15681. "deliveryenddate": {
  15682. "description": "交收结束日期",
  15683. "type": "string"
  15684. },
  15685. "deliverystartdate": {
  15686. "description": "交收开始日期",
  15687. "type": "string"
  15688. },
  15689. "price": {
  15690. "description": "价格",
  15691. "type": "number"
  15692. },
  15693. "qty": {
  15694. "description": "数量",
  15695. "type": "number"
  15696. }
  15697. }
  15698. },
  15699. "hsby.GetHsbyMyCountRsp": {
  15700. "type": "object",
  15701. "properties": {
  15702. "myCouponCount": {
  15703. "description": "我的优惠卷数量",
  15704. "type": "integer"
  15705. },
  15706. "myOrderDetailListingCount": {
  15707. "description": "我的订单求购中数量",
  15708. "type": "integer"
  15709. },
  15710. "myOrderDetailPreCount": {
  15711. "description": "我的订单抢购中数量",
  15712. "type": "integer"
  15713. },
  15714. "myPackageUnReceiveCount": {
  15715. "description": "我的包裹待收货数量",
  15716. "type": "integer"
  15717. },
  15718. "myPackageUnSendCount": {
  15719. "description": "我的包裹待发货数量",
  15720. "type": "integer"
  15721. },
  15722. "myPayOrderCount": {
  15723. "description": "我的订单待付款数量",
  15724. "type": "integer"
  15725. }
  15726. }
  15727. },
  15728. "hsby.QueryProvincesAndCitiesRsp": {
  15729. "type": "object",
  15730. "properties": {
  15731. "cities": {
  15732. "description": "市",
  15733. "type": "array",
  15734. "items": {
  15735. "$ref": "#/definitions/models.Division"
  15736. }
  15737. },
  15738. "province": {
  15739. "description": "省",
  15740. "type": "object",
  15741. "$ref": "#/definitions/models.Division"
  15742. }
  15743. }
  15744. },
  15745. "models.AreaSpotModel": {
  15746. "type": "object",
  15747. "properties": {
  15748. "areauserid": {
  15749. "description": "所属机构",
  15750. "type": "integer"
  15751. },
  15752. "decreaseqty": {
  15753. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  15754. "type": "number"
  15755. },
  15756. "increaseqty": {
  15757. "description": "增加数量=销售计划数量+采购已定价数量",
  15758. "type": "number"
  15759. },
  15760. "oritoalspotqty": {
  15761. "description": "昨日数量",
  15762. "type": "number"
  15763. },
  15764. "totalspotqty": {
  15765. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  15766. "type": "number"
  15767. },
  15768. "updatetime": {
  15769. "description": "更新时间",
  15770. "type": "string"
  15771. },
  15772. "wrstandardcode": {
  15773. "description": "现货品种代码",
  15774. "type": "string"
  15775. },
  15776. "wrstandardid": {
  15777. "description": "现货商品ID",
  15778. "type": "integer"
  15779. },
  15780. "wrstandardname": {
  15781. "description": "现货品种",
  15782. "type": "string"
  15783. }
  15784. }
  15785. },
  15786. "models.Arearole": {
  15787. "type": "object",
  15788. "required": [
  15789. "roletype",
  15790. "userid"
  15791. ],
  15792. "properties": {
  15793. "createtime": {
  15794. "description": "创建时间",
  15795. "type": "string"
  15796. },
  15797. "creatorid": {
  15798. "description": "创建人ID",
  15799. "type": "integer"
  15800. },
  15801. "fromuserid": {
  15802. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  15803. "type": "integer"
  15804. },
  15805. "isreturnscore": {
  15806. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  15807. "type": "integer"
  15808. },
  15809. "modifierid": {
  15810. "description": "修改人ID",
  15811. "type": "integer"
  15812. },
  15813. "modifytime": {
  15814. "description": "修改时间",
  15815. "type": "string"
  15816. },
  15817. "orgtype": {
  15818. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  15819. "type": "integer"
  15820. },
  15821. "outuserid": {
  15822. "description": "外部账户[场外期权做市商]",
  15823. "type": "string"
  15824. },
  15825. "parentuserid": {
  15826. "description": "上级组织机构(组织机构)",
  15827. "type": "integer"
  15828. },
  15829. "roletype": {
  15830. "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:门店",
  15831. "type": "integer"
  15832. },
  15833. "rootuserid": {
  15834. "description": "顶级组织机构用户ID(组织机构)",
  15835. "type": "integer"
  15836. },
  15837. "shoppassword": {
  15838. "description": "商城店铺登陆密码(商城店铺角色使用)",
  15839. "type": "string"
  15840. },
  15841. "sublevelpath": {
  15842. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  15843. "type": "string"
  15844. },
  15845. "suborgtype": {
  15846. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  15847. "type": "integer"
  15848. },
  15849. "tradeaccountid": {
  15850. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  15851. "type": "integer"
  15852. },
  15853. "transurl": {
  15854. "description": "物流地址(物流机构)",
  15855. "type": "string"
  15856. },
  15857. "userid": {
  15858. "description": "机构用户ID其他做市关系,都设置为 1",
  15859. "type": "integer"
  15860. }
  15861. }
  15862. },
  15863. "models.Clientfixedadconfig": {
  15864. "type": "object",
  15865. "required": [
  15866. "adsort",
  15867. "adtype"
  15868. ],
  15869. "properties": {
  15870. "adsort": {
  15871. "description": "排序",
  15872. "type": "integer"
  15873. },
  15874. "adtype": {
  15875. "description": "广告位类型 - 1:新品抢购(HSBY)",
  15876. "type": "integer"
  15877. },
  15878. "areauserid": {
  15879. "description": "所属机构ID",
  15880. "type": "integer"
  15881. },
  15882. "createdate": {
  15883. "description": "创建时间",
  15884. "type": "string"
  15885. },
  15886. "creatorid": {
  15887. "description": "创建人",
  15888. "type": "integer"
  15889. },
  15890. "imagepath": {
  15891. "description": "图片",
  15892. "type": "string"
  15893. },
  15894. "isshow": {
  15895. "description": "是否展示 - 0:不展示 1:展示",
  15896. "type": "integer"
  15897. },
  15898. "modifierid": {
  15899. "description": "操作人",
  15900. "type": "integer"
  15901. },
  15902. "recsize": {
  15903. "description": "推荐尺寸",
  15904. "type": "string"
  15905. },
  15906. "title": {
  15907. "description": "标题",
  15908. "type": "string"
  15909. },
  15910. "updatedate": {
  15911. "description": "更新时间",
  15912. "type": "string"
  15913. },
  15914. "urlcontent": {
  15915. "description": "链接(地址或商品ID)",
  15916. "type": "string"
  15917. },
  15918. "urltype": {
  15919. "description": "链接类型 - 1:直接地址 2:商品ID",
  15920. "type": "integer"
  15921. }
  15922. }
  15923. },
  15924. "models.Division": {
  15925. "type": "object",
  15926. "required": [
  15927. "autoid",
  15928. "divisioncode"
  15929. ],
  15930. "properties": {
  15931. "autoid": {
  15932. "description": "自增ID",
  15933. "type": "integer"
  15934. },
  15935. "divisioncode": {
  15936. "description": "行政代码",
  15937. "type": "string"
  15938. },
  15939. "divisionlevel": {
  15940. "description": "行政级别",
  15941. "type": "string"
  15942. },
  15943. "divisionname": {
  15944. "description": "行政名称",
  15945. "type": "string"
  15946. },
  15947. "modifierid": {
  15948. "description": "修改人",
  15949. "type": "integer"
  15950. },
  15951. "modifytime": {
  15952. "description": "修改时间",
  15953. "type": "string"
  15954. },
  15955. "parentcode": {
  15956. "description": "上级行政代码",
  15957. "type": "string"
  15958. },
  15959. "pathname": {
  15960. "description": "路径名称",
  15961. "type": "string"
  15962. },
  15963. "postcode": {
  15964. "description": "邮政编码",
  15965. "type": "string"
  15966. },
  15967. "separablename": {
  15968. "description": "可拆分的全称",
  15969. "type": "string"
  15970. },
  15971. "shortcode": {
  15972. "description": "地区简码",
  15973. "type": "string"
  15974. }
  15975. }
  15976. },
  15977. "models.Enumdicitem": {
  15978. "type": "object",
  15979. "required": [
  15980. "autoid",
  15981. "enumdiccode",
  15982. "enumdicid",
  15983. "enumitemname"
  15984. ],
  15985. "properties": {
  15986. "autoid": {
  15987. "description": "自增ID",
  15988. "type": "integer"
  15989. },
  15990. "bankmappedvalue": {
  15991. "description": "银行服务对应值",
  15992. "type": "string"
  15993. },
  15994. "enumdiccode": {
  15995. "description": "所属枚举代码",
  15996. "type": "string"
  15997. },
  15998. "enumdicid": {
  15999. "description": "所属枚举ID",
  16000. "type": "integer"
  16001. },
  16002. "enumdicname": {
  16003. "description": "枚举项名称",
  16004. "type": "string"
  16005. },
  16006. "enumitemname": {
  16007. "description": "枚举项值",
  16008. "type": "integer"
  16009. },
  16010. "enumitemstatus": {
  16011. "description": "枚举项状态 - 1.启用 2.不启用",
  16012. "type": "integer"
  16013. },
  16014. "enumitemvalue": {
  16015. "description": "通用值 - [币种通用简写]",
  16016. "type": "string"
  16017. },
  16018. "param1": {
  16019. "description": "参数1[币种:币种小数位]",
  16020. "type": "string"
  16021. },
  16022. "param2": {
  16023. "description": "参数1[币种:币种显示单位]",
  16024. "type": "string"
  16025. },
  16026. "remark": {
  16027. "description": "备注",
  16028. "type": "string"
  16029. }
  16030. }
  16031. },
  16032. "models.Ermcp3AreaSpot": {
  16033. "type": "object",
  16034. "properties": {
  16035. "areauserid": {
  16036. "description": "所属机构",
  16037. "type": "integer"
  16038. },
  16039. "decreaseqty": {
  16040. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  16041. "type": "number"
  16042. },
  16043. "deliverygoodscode": {
  16044. "description": "现货品种代码",
  16045. "type": "string"
  16046. },
  16047. "deliverygoodsid": {
  16048. "description": "现货品种id",
  16049. "type": "integer"
  16050. },
  16051. "deliverygoodsname": {
  16052. "description": "现货品种名称",
  16053. "type": "string"
  16054. },
  16055. "enumdicname": {
  16056. "description": "单位名称",
  16057. "type": "string"
  16058. },
  16059. "goodsunitid": {
  16060. "description": "现货品种单位id",
  16061. "type": "integer"
  16062. },
  16063. "increaseqty": {
  16064. "description": "增加数量=销售计划数量+采购已定价数量",
  16065. "type": "number"
  16066. },
  16067. "oritoalspotqty": {
  16068. "description": "昨日数量",
  16069. "type": "number"
  16070. },
  16071. "totalspotqty": {
  16072. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  16073. "type": "number"
  16074. },
  16075. "updatetime": {
  16076. "description": "更新时间",
  16077. "type": "string"
  16078. }
  16079. }
  16080. },
  16081. "models.Ermcp3AreaSpotDetail": {
  16082. "type": "object",
  16083. "properties": {
  16084. "contracttype": {
  16085. "description": "合同类型 1-采购 -1-销售",
  16086. "type": "integer"
  16087. },
  16088. "createtime": {
  16089. "description": "创建时间",
  16090. "type": "string"
  16091. },
  16092. "deliverygoodscode": {
  16093. "description": "现货品种代码",
  16094. "type": "string"
  16095. },
  16096. "deliverygoodsid": {
  16097. "description": "现货品种id",
  16098. "type": "integer"
  16099. },
  16100. "deliverygoodsname": {
  16101. "description": "现货品种名称",
  16102. "type": "string"
  16103. },
  16104. "enumdicname": {
  16105. "description": "现货商品单位名称",
  16106. "type": "string"
  16107. },
  16108. "logtype": {
  16109. "description": "记录类型 1-套保 2-现货合同",
  16110. "type": "integer"
  16111. },
  16112. "qty": {
  16113. "description": "数量",
  16114. "type": "number"
  16115. },
  16116. "recordname": {
  16117. "description": "类型名称",
  16118. "type": "string"
  16119. },
  16120. "relatedid": {
  16121. "description": "套保计划ID/现货合同ID",
  16122. "type": "string"
  16123. },
  16124. "relatedno": {
  16125. "description": "编号",
  16126. "type": "string"
  16127. },
  16128. "strtime": {
  16129. "description": "时间",
  16130. "type": "string"
  16131. }
  16132. }
  16133. },
  16134. "models.Ermcp3AreaSpotPLReport": {
  16135. "type": "object",
  16136. "properties": {
  16137. "accountid": {
  16138. "description": "期货账户ID (作废, 默认为0)",
  16139. "type": "integer"
  16140. },
  16141. "accountname": {
  16142. "description": "机构名称",
  16143. "type": "string"
  16144. },
  16145. "actualpl": {
  16146. "description": "现货损益",
  16147. "type": "number"
  16148. },
  16149. "areauserid": {
  16150. "description": "所属机构\\交易用户ID",
  16151. "type": "integer"
  16152. },
  16153. "begindate": {
  16154. "description": "开始交易日",
  16155. "type": "string"
  16156. },
  16157. "biztype": {
  16158. "description": "业务类型 - 1:套保 2:套利",
  16159. "type": "integer"
  16160. },
  16161. "brandname": {
  16162. "description": "品牌名称",
  16163. "type": "string"
  16164. },
  16165. "curamount": {
  16166. "description": "期末额",
  16167. "type": "number"
  16168. },
  16169. "curaverageprice": {
  16170. "description": "期末均价",
  16171. "type": "number"
  16172. },
  16173. "curbuyamount": {
  16174. "description": "期末采购总额",
  16175. "type": "number"
  16176. },
  16177. "curbuyqty": {
  16178. "description": "期末采购总量",
  16179. "type": "number"
  16180. },
  16181. "curmarketvalue": {
  16182. "description": "参考市值(期末市值)",
  16183. "type": "number"
  16184. },
  16185. "curqty": {
  16186. "description": "期末量",
  16187. "type": "number"
  16188. },
  16189. "currencyid": {
  16190. "description": "结算币种ID【原值】",
  16191. "type": "integer"
  16192. },
  16193. "currencyname": {
  16194. "description": "币种名称",
  16195. "type": "string"
  16196. },
  16197. "cursellamount": {
  16198. "description": "期末销售总额",
  16199. "type": "number"
  16200. },
  16201. "cursellqty": {
  16202. "description": "期末销售总量",
  16203. "type": "number"
  16204. },
  16205. "curspotprice": {
  16206. "description": "参考市价(最新价)",
  16207. "type": "number"
  16208. },
  16209. "cycletime": {
  16210. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16211. "type": "string"
  16212. },
  16213. "cycletype": {
  16214. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16215. "type": "integer"
  16216. },
  16217. "deliverygoodscode": {
  16218. "description": "现货商品代码",
  16219. "type": "string"
  16220. },
  16221. "deliverygoodsid": {
  16222. "description": "现货品种ID",
  16223. "type": "integer"
  16224. },
  16225. "deliverygoodsname": {
  16226. "description": "现货商品名称",
  16227. "type": "string"
  16228. },
  16229. "enddate": {
  16230. "description": "结束交易日",
  16231. "type": "string"
  16232. },
  16233. "enumdicname": {
  16234. "description": "现货商品单位名称",
  16235. "type": "string"
  16236. },
  16237. "floatpl": {
  16238. "description": "浮动损益",
  16239. "type": "number"
  16240. },
  16241. "goodsunitid": {
  16242. "description": "现货商品单位id",
  16243. "type": "integer"
  16244. },
  16245. "oriamount": {
  16246. "description": "期初额",
  16247. "type": "number"
  16248. },
  16249. "oriaverageprice": {
  16250. "description": "期初均价",
  16251. "type": "number"
  16252. },
  16253. "oribuyamount": {
  16254. "description": "期初采购总额",
  16255. "type": "number"
  16256. },
  16257. "oribuyqty": {
  16258. "description": "期初采购总量",
  16259. "type": "number"
  16260. },
  16261. "oriqty": {
  16262. "description": "期初量",
  16263. "type": "number"
  16264. },
  16265. "orisellamount": {
  16266. "description": "期初销售总额",
  16267. "type": "number"
  16268. },
  16269. "orisellqty": {
  16270. "description": "期初销售总量",
  16271. "type": "number"
  16272. },
  16273. "reckondate": {
  16274. "description": "日照时期(yyyyMMdd)",
  16275. "type": "string"
  16276. },
  16277. "spotgoodsbrandid": {
  16278. "description": "现货品牌ID",
  16279. "type": "integer"
  16280. },
  16281. "todaybuyamount": {
  16282. "description": "今日采购额(今采购额)",
  16283. "type": "number"
  16284. },
  16285. "todaybuyaverageprice": {
  16286. "description": "今日采购均价",
  16287. "type": "number"
  16288. },
  16289. "todaybuyqty": {
  16290. "description": "今日采购量(今采购量)",
  16291. "type": "number"
  16292. },
  16293. "todayinqty": {
  16294. "description": "今日入库量(今入库量)",
  16295. "type": "number"
  16296. },
  16297. "todayoutqty": {
  16298. "description": "今日出库量(今出库量)",
  16299. "type": "number"
  16300. },
  16301. "todaysellamount": {
  16302. "description": "今日销售额(今销售额)",
  16303. "type": "number"
  16304. },
  16305. "todaysellaverageprice": {
  16306. "description": "今日销售均价",
  16307. "type": "number"
  16308. },
  16309. "todaysellqty": {
  16310. "description": "今日销售量(今销售量)",
  16311. "type": "number"
  16312. },
  16313. "unitid": {
  16314. "description": "品类单位id",
  16315. "type": "integer"
  16316. },
  16317. "unitidname": {
  16318. "description": "品类单位名称",
  16319. "type": "string"
  16320. },
  16321. "updatetime": {
  16322. "description": "更新时间",
  16323. "type": "string"
  16324. },
  16325. "wrfactortypeid": {
  16326. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  16327. "type": "integer"
  16328. },
  16329. "wrstandardcode": {
  16330. "description": "品类代码",
  16331. "type": "string"
  16332. },
  16333. "wrstandardid": {
  16334. "description": "现货品类ID",
  16335. "type": "integer"
  16336. },
  16337. "wrstandardname": {
  16338. "description": "品类名称",
  16339. "type": "string"
  16340. }
  16341. }
  16342. },
  16343. "models.Ermcp3AreaStock": {
  16344. "type": "object",
  16345. "required": [
  16346. "userid"
  16347. ],
  16348. "properties": {
  16349. "brandname": {
  16350. "description": "品牌名称",
  16351. "type": "string"
  16352. },
  16353. "curstock": {
  16354. "description": "期末库存量(今日量)",
  16355. "type": "number"
  16356. },
  16357. "deliverygoodscode": {
  16358. "description": "现货品种代码",
  16359. "type": "string"
  16360. },
  16361. "deliverygoodsid": {
  16362. "description": "现货品种id",
  16363. "type": "integer"
  16364. },
  16365. "deliverygoodsname": {
  16366. "description": "现货品种名称",
  16367. "type": "string"
  16368. },
  16369. "enumdicname": {
  16370. "description": "单位名称",
  16371. "type": "string"
  16372. },
  16373. "goodsunitid": {
  16374. "description": "现货商品单位id",
  16375. "type": "integer"
  16376. },
  16377. "oristock": {
  16378. "description": "期初库存量(昨日量)",
  16379. "type": "number"
  16380. },
  16381. "spotgoodsbrandid": {
  16382. "description": "现货品牌ID",
  16383. "type": "integer"
  16384. },
  16385. "todaybuyinqty": {
  16386. "description": "今日采购入库量",
  16387. "type": "number"
  16388. },
  16389. "todayproduceinqty": {
  16390. "description": "今日生产入库量",
  16391. "type": "number"
  16392. },
  16393. "todayproduceoutqty": {
  16394. "description": "今日生产出库量",
  16395. "type": "number"
  16396. },
  16397. "todayselloutqty": {
  16398. "description": "今日销售出库量",
  16399. "type": "number"
  16400. },
  16401. "unitid": {
  16402. "description": "单位id",
  16403. "type": "integer"
  16404. },
  16405. "updatetime": {
  16406. "description": "更新时间",
  16407. "type": "string"
  16408. },
  16409. "userid": {
  16410. "description": "机构ID",
  16411. "type": "integer"
  16412. },
  16413. "username": {
  16414. "description": "机构名称",
  16415. "type": "string"
  16416. },
  16417. "warehousecode": {
  16418. "description": "仓库代码",
  16419. "type": "string"
  16420. },
  16421. "warehouseinfoid": {
  16422. "description": "仓库ID",
  16423. "type": "string"
  16424. },
  16425. "warehousename": {
  16426. "description": "仓库名称",
  16427. "type": "string"
  16428. },
  16429. "warehousetype": {
  16430. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16431. "type": "integer"
  16432. },
  16433. "wrstandardcode": {
  16434. "description": "品类代码",
  16435. "type": "string"
  16436. },
  16437. "wrstandardid": {
  16438. "description": "品类ID",
  16439. "type": "string"
  16440. },
  16441. "wrstandardname": {
  16442. "description": "品类名称",
  16443. "type": "string"
  16444. }
  16445. }
  16446. },
  16447. "models.Ermcp3AreaStockApply": {
  16448. "type": "object",
  16449. "properties": {
  16450. "applyid": {
  16451. "description": "申请人",
  16452. "type": "integer"
  16453. },
  16454. "applyname": {
  16455. "description": "申请人名称",
  16456. "type": "string"
  16457. },
  16458. "applyremark": {
  16459. "description": "申请备注",
  16460. "type": "string"
  16461. },
  16462. "applysrc": {
  16463. "description": "申请来源 - 1:管理端 2:终端",
  16464. "type": "integer"
  16465. },
  16466. "applystatus": {
  16467. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  16468. "type": "integer"
  16469. },
  16470. "applytime": {
  16471. "description": "申请时间",
  16472. "type": "string"
  16473. },
  16474. "auditid": {
  16475. "description": "审核人",
  16476. "type": "integer"
  16477. },
  16478. "auditname": {
  16479. "description": "审核人名称",
  16480. "type": "string"
  16481. },
  16482. "auditremark": {
  16483. "description": "审核备注",
  16484. "type": "string"
  16485. },
  16486. "auditsrc": {
  16487. "description": "审核来源 - 1:管理端 2:终端",
  16488. "type": "integer"
  16489. },
  16490. "audittime": {
  16491. "description": "审核时间",
  16492. "type": "string"
  16493. },
  16494. "audittradedate": {
  16495. "description": "审核交易日(yyyyMMdd)",
  16496. "type": "string"
  16497. },
  16498. "brandname": {
  16499. "description": "品牌名称",
  16500. "type": "string"
  16501. },
  16502. "buynickname": {
  16503. "description": "采购方昵称",
  16504. "type": "string"
  16505. },
  16506. "buyuserid": {
  16507. "description": "采购方userid",
  16508. "type": "integer"
  16509. },
  16510. "buyusername": {
  16511. "description": "采购方名称",
  16512. "type": "string"
  16513. },
  16514. "contractno": {
  16515. "description": "合同编号",
  16516. "type": "string"
  16517. },
  16518. "contractqty": {
  16519. "description": "合同量",
  16520. "type": "number"
  16521. },
  16522. "contracttype": {
  16523. "description": "现货合同类型 - 1:采购 -1:销售",
  16524. "type": "integer"
  16525. },
  16526. "deliverygoodscode": {
  16527. "description": "现货品种代码",
  16528. "type": "string"
  16529. },
  16530. "deliverygoodsid": {
  16531. "description": "现货品种id",
  16532. "type": "integer"
  16533. },
  16534. "deliverygoodsname": {
  16535. "description": "现货品种名称",
  16536. "type": "string"
  16537. },
  16538. "detailjson": {
  16539. "description": "明细数据",
  16540. "type": "string"
  16541. },
  16542. "enumdicname": {
  16543. "description": "现货商品单位名称",
  16544. "type": "string"
  16545. },
  16546. "inoutapplyid": {
  16547. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  16548. "type": "string"
  16549. },
  16550. "inouttype": {
  16551. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16552. "type": "integer"
  16553. },
  16554. "pricetype": {
  16555. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16556. "type": "integer"
  16557. },
  16558. "qty": {
  16559. "description": "数量",
  16560. "type": "number"
  16561. },
  16562. "sellnickname": {
  16563. "description": "销售方昵称",
  16564. "type": "string"
  16565. },
  16566. "selluserid": {
  16567. "description": "销售方userid",
  16568. "type": "integer"
  16569. },
  16570. "sellusername": {
  16571. "description": "销售方名称",
  16572. "type": "string"
  16573. },
  16574. "spotcontractid": {
  16575. "description": "关联现货合同ID",
  16576. "type": "string"
  16577. },
  16578. "spotgoodsbrandid": {
  16579. "description": "现货品牌ID",
  16580. "type": "integer"
  16581. },
  16582. "unitid": {
  16583. "description": "单位id",
  16584. "type": "integer"
  16585. },
  16586. "userid": {
  16587. "description": "机构ID",
  16588. "type": "integer"
  16589. },
  16590. "warehousecode": {
  16591. "description": "仓库代码",
  16592. "type": "string"
  16593. },
  16594. "warehouseinfoid": {
  16595. "description": "现货仓库ID",
  16596. "type": "string"
  16597. },
  16598. "warehousename": {
  16599. "description": "仓库名称",
  16600. "type": "string"
  16601. },
  16602. "warehousetype": {
  16603. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16604. "type": "integer"
  16605. },
  16606. "wrstandardcode": {
  16607. "description": "品类代码",
  16608. "type": "string"
  16609. },
  16610. "wrstandardid": {
  16611. "description": "品类ID",
  16612. "type": "integer"
  16613. },
  16614. "wrstandardname": {
  16615. "description": "品类名称",
  16616. "type": "string"
  16617. }
  16618. }
  16619. },
  16620. "models.Ermcp3AreaStockApplySum": {
  16621. "type": "object",
  16622. "properties": {
  16623. "brandname": {
  16624. "description": "品牌名称",
  16625. "type": "string"
  16626. },
  16627. "inouttype": {
  16628. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  16629. "type": "integer"
  16630. },
  16631. "spotcontractid": {
  16632. "description": "关联现货合同ID",
  16633. "type": "string"
  16634. },
  16635. "spotgoodsbrandid": {
  16636. "description": "品牌id",
  16637. "type": "integer"
  16638. },
  16639. "totalqty": {
  16640. "description": "总数量",
  16641. "type": "number"
  16642. },
  16643. "wrstandardid": {
  16644. "description": "品类id",
  16645. "type": "integer"
  16646. },
  16647. "wrstandardname": {
  16648. "description": "品类名称",
  16649. "type": "string"
  16650. }
  16651. }
  16652. },
  16653. "models.Ermcp3AreaStockReportEx": {
  16654. "type": "object",
  16655. "properties": {
  16656. "begindate": {
  16657. "description": "开始交易日",
  16658. "type": "string"
  16659. },
  16660. "brandname": {
  16661. "description": "品牌名称",
  16662. "type": "string"
  16663. },
  16664. "curstock": {
  16665. "description": "期末库存量",
  16666. "type": "number"
  16667. },
  16668. "cycletime": {
  16669. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16670. "type": "string"
  16671. },
  16672. "cycletype": {
  16673. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16674. "type": "integer"
  16675. },
  16676. "deliverygoodscode": {
  16677. "description": "现货品种代码",
  16678. "type": "string"
  16679. },
  16680. "deliverygoodsid": {
  16681. "description": "现货品种id",
  16682. "type": "integer"
  16683. },
  16684. "deliverygoodsname": {
  16685. "description": "现货品种名称",
  16686. "type": "string"
  16687. },
  16688. "diffqty": {
  16689. "description": "库存变化量 = 期末 - 期初",
  16690. "type": "number"
  16691. },
  16692. "enddate": {
  16693. "description": "结束交易日",
  16694. "type": "string"
  16695. },
  16696. "enumdicname": {
  16697. "description": "单位名称",
  16698. "type": "string"
  16699. },
  16700. "goodsunitid": {
  16701. "description": "现货单位id",
  16702. "type": "integer"
  16703. },
  16704. "oristock": {
  16705. "description": "期初库存量",
  16706. "type": "number"
  16707. },
  16708. "reckondate": {
  16709. "description": "日照时期(yyyyMMdd)",
  16710. "type": "string"
  16711. },
  16712. "spotgoodsbrandid": {
  16713. "description": "现货品牌ID",
  16714. "type": "integer"
  16715. },
  16716. "todaybuyinqty": {
  16717. "description": "今采购入库量",
  16718. "type": "number"
  16719. },
  16720. "todayproduceinqty": {
  16721. "description": "今内部入库量",
  16722. "type": "number"
  16723. },
  16724. "todayproduceoutqty": {
  16725. "description": "今内部出库量",
  16726. "type": "number"
  16727. },
  16728. "todayselloutqty": {
  16729. "description": "今销售出库量",
  16730. "type": "number"
  16731. },
  16732. "unbuyinqty": {
  16733. "description": "采购未入库量(数据库未找到相关字段?)",
  16734. "type": "number"
  16735. },
  16736. "unitid": {
  16737. "description": "品类单位id",
  16738. "type": "integer"
  16739. },
  16740. "unselloutqty": {
  16741. "description": "销售未出库量(数据库未找到相关字段?)",
  16742. "type": "number"
  16743. },
  16744. "updatetime": {
  16745. "description": "更新时间",
  16746. "type": "string"
  16747. },
  16748. "userid": {
  16749. "description": "机构ID",
  16750. "type": "integer"
  16751. },
  16752. "username": {
  16753. "description": "机构名称",
  16754. "type": "string"
  16755. },
  16756. "warehousecode": {
  16757. "description": "仓库代码",
  16758. "type": "string"
  16759. },
  16760. "warehouseinfoid": {
  16761. "description": "仓库ID",
  16762. "type": "string"
  16763. },
  16764. "warehousename": {
  16765. "description": "仓库名称",
  16766. "type": "string"
  16767. },
  16768. "warehousetype": {
  16769. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16770. "type": "integer"
  16771. },
  16772. "wrstandardcode": {
  16773. "description": "品类代码",
  16774. "type": "string"
  16775. },
  16776. "wrstandardid": {
  16777. "description": "品类ID",
  16778. "type": "integer"
  16779. },
  16780. "wrstandardname": {
  16781. "description": "品类名称",
  16782. "type": "string"
  16783. }
  16784. }
  16785. },
  16786. "models.Ermcp3ArealSumPL": {
  16787. "type": "object",
  16788. "properties": {
  16789. "accountname": {
  16790. "description": "机构名称",
  16791. "type": "string"
  16792. },
  16793. "areauserid": {
  16794. "description": "所属机构\\交易用户ID",
  16795. "type": "integer"
  16796. },
  16797. "begindate": {
  16798. "description": "开始交易日",
  16799. "type": "string"
  16800. },
  16801. "currencyid": {
  16802. "description": "结算币种ID",
  16803. "type": "integer"
  16804. },
  16805. "currencyname": {
  16806. "description": "币种名称",
  16807. "type": "string"
  16808. },
  16809. "cycletime": {
  16810. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  16811. "type": "string"
  16812. },
  16813. "cycletype": {
  16814. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  16815. "type": "integer"
  16816. },
  16817. "enddate": {
  16818. "description": "结束交易日",
  16819. "type": "string"
  16820. },
  16821. "enumdicname": {
  16822. "description": "单位名称(套保品种)",
  16823. "type": "string"
  16824. },
  16825. "futureactualpl": {
  16826. "description": "期货损益",
  16827. "type": "number"
  16828. },
  16829. "futurefloatpl": {
  16830. "description": "期货浮动损益",
  16831. "type": "number"
  16832. },
  16833. "goodsunitid": {
  16834. "description": "套保品种单位id",
  16835. "type": "integer"
  16836. },
  16837. "middlegoodscode": {
  16838. "description": "套保品种代码",
  16839. "type": "string"
  16840. },
  16841. "middlegoodsid": {
  16842. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16843. "type": "integer"
  16844. },
  16845. "middlegoodsname": {
  16846. "description": "套保品种名称",
  16847. "type": "string"
  16848. },
  16849. "reckondate": {
  16850. "description": "日照时期(yyyyMMdd)",
  16851. "type": "string"
  16852. },
  16853. "spotactualpl": {
  16854. "description": "现货损益",
  16855. "type": "number"
  16856. },
  16857. "spotfloatpl": {
  16858. "description": "现货浮动损益",
  16859. "type": "number"
  16860. },
  16861. "sumactualpl": {
  16862. "description": "实际损益 = (ActualPL + FutureActualPL)",
  16863. "type": "number"
  16864. },
  16865. "sumpl": {
  16866. "description": "汇总损益",
  16867. "type": "number"
  16868. },
  16869. "updatetime": {
  16870. "description": "更新时间",
  16871. "type": "string"
  16872. }
  16873. }
  16874. },
  16875. "models.Ermcp3Brand": {
  16876. "type": "object",
  16877. "properties": {
  16878. "areauserid": {
  16879. "description": "用户id",
  16880. "type": "integer"
  16881. },
  16882. "brandid": {
  16883. "description": "品牌id",
  16884. "type": "integer"
  16885. },
  16886. "brandname": {
  16887. "description": "品牌名称",
  16888. "type": "string"
  16889. },
  16890. "deliverygoodsid": {
  16891. "description": "品种ID",
  16892. "type": "integer"
  16893. }
  16894. }
  16895. },
  16896. "models.Ermcp3Contract": {
  16897. "type": "object",
  16898. "properties": {
  16899. "accountid": {
  16900. "description": "期货账户id",
  16901. "type": "string"
  16902. },
  16903. "amount": {
  16904. "description": "金额 [1:一口价、3:暂定价]",
  16905. "type": "number"
  16906. },
  16907. "attachment": {
  16908. "description": "附件",
  16909. "type": "string"
  16910. },
  16911. "auditremark": {
  16912. "description": "审核意见",
  16913. "type": "string"
  16914. },
  16915. "audittime": {
  16916. "description": "审核时间",
  16917. "type": "string"
  16918. },
  16919. "biztype": {
  16920. "description": "业务类型 1-套保 2-套利",
  16921. "type": "integer"
  16922. },
  16923. "brandname": {
  16924. "description": "品牌名称",
  16925. "type": "string"
  16926. },
  16927. "buynickname": {
  16928. "description": "销售方昵称",
  16929. "type": "string"
  16930. },
  16931. "buyuserid": {
  16932. "description": "采购方ID",
  16933. "type": "integer"
  16934. },
  16935. "buyusername": {
  16936. "description": "采购方名称",
  16937. "type": "string"
  16938. },
  16939. "contracctstatus": {
  16940. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  16941. "type": "integer"
  16942. },
  16943. "contractmargin": {
  16944. "description": "合同保证金",
  16945. "type": "number"
  16946. },
  16947. "contractno": {
  16948. "description": "现货合同编号",
  16949. "type": "string"
  16950. },
  16951. "contracttype": {
  16952. "description": "现货合同类型 - 1:采购 -1:销售",
  16953. "type": "integer"
  16954. },
  16955. "convertfactor": {
  16956. "description": "标仓系数(品类)",
  16957. "type": "number"
  16958. },
  16959. "createtime": {
  16960. "description": "创建时间",
  16961. "type": "string"
  16962. },
  16963. "currencyid": {
  16964. "description": "币种id",
  16965. "type": "integer"
  16966. },
  16967. "currencyname": {
  16968. "description": "币种名称",
  16969. "type": "string"
  16970. },
  16971. "deliveryenddate": {
  16972. "description": "交收期(结束)",
  16973. "type": "string"
  16974. },
  16975. "deliverygoodscode": {
  16976. "description": "现货品种代码",
  16977. "type": "string"
  16978. },
  16979. "deliverygoodsid": {
  16980. "description": "现货品种ID",
  16981. "type": "integer"
  16982. },
  16983. "deliverygoodsname": {
  16984. "description": "现货品种名称",
  16985. "type": "string"
  16986. },
  16987. "deliverystartdate": {
  16988. "description": "交收期(开始)",
  16989. "type": "string"
  16990. },
  16991. "enddate": {
  16992. "description": "点价结束日期 [2:点价 3:暂定价]",
  16993. "type": "string"
  16994. },
  16995. "enumdicname": {
  16996. "description": "单位名称",
  16997. "type": "string"
  16998. },
  16999. "goodscode": {
  17000. "description": "点价合约代码",
  17001. "type": "string"
  17002. },
  17003. "goodsid": {
  17004. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  17005. "type": "integer"
  17006. },
  17007. "goodsname": {
  17008. "description": "点价商品名称",
  17009. "type": "string"
  17010. },
  17011. "margin": {
  17012. "description": "当前保证金",
  17013. "type": "number"
  17014. },
  17015. "meruserid": {
  17016. "description": "跟单员id",
  17017. "type": "integer"
  17018. },
  17019. "meruserlogincode": {
  17020. "description": "跟单员登录代码",
  17021. "type": "string"
  17022. },
  17023. "merusername": {
  17024. "description": "跟单员名称",
  17025. "type": "string"
  17026. },
  17027. "price": {
  17028. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  17029. "type": "number"
  17030. },
  17031. "pricemove": {
  17032. "description": "升贴水 [2:点价 3:暂定价]",
  17033. "type": "number"
  17034. },
  17035. "pricetype": {
  17036. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17037. "type": "integer"
  17038. },
  17039. "producttype": {
  17040. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  17041. "type": "integer"
  17042. },
  17043. "qty": {
  17044. "description": "数量",
  17045. "type": "number"
  17046. },
  17047. "remark": {
  17048. "description": "备注",
  17049. "type": "string"
  17050. },
  17051. "saleuserid": {
  17052. "description": "业务员id",
  17053. "type": "integer"
  17054. },
  17055. "saleuserlogincode": {
  17056. "description": "业务员登录代码",
  17057. "type": "string"
  17058. },
  17059. "saleusername": {
  17060. "description": "业务员名称",
  17061. "type": "string"
  17062. },
  17063. "sellnickname": {
  17064. "description": "采购方昵称",
  17065. "type": "string"
  17066. },
  17067. "selluserid": {
  17068. "description": "销售方ID",
  17069. "type": "integer"
  17070. },
  17071. "sellusername": {
  17072. "description": "销售方名称",
  17073. "type": "string"
  17074. },
  17075. "spotcontractid": {
  17076. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  17077. "type": "string"
  17078. },
  17079. "spotgoodsbrandid": {
  17080. "description": "现货品牌ID(DGFactoryItem表的ID)",
  17081. "type": "integer"
  17082. },
  17083. "spotgoodsdesc": {
  17084. "description": "商品型号",
  17085. "type": "string"
  17086. },
  17087. "startdate": {
  17088. "description": "点价开始日期 [2:点价 3:暂定价]",
  17089. "type": "string"
  17090. },
  17091. "tradeuserid": {
  17092. "description": "交易员id",
  17093. "type": "integer"
  17094. },
  17095. "tradeuserlogincode": {
  17096. "description": "交易员登录代码",
  17097. "type": "string"
  17098. },
  17099. "tradeusername": {
  17100. "description": "交易员名称",
  17101. "type": "string"
  17102. },
  17103. "unitid": {
  17104. "description": "单位id(取品类上的单位id)",
  17105. "type": "integer"
  17106. },
  17107. "updatetime": {
  17108. "description": "更新时间",
  17109. "type": "string"
  17110. },
  17111. "userid": {
  17112. "description": "所属机构ID",
  17113. "type": "integer"
  17114. },
  17115. "wrstandardcode": {
  17116. "description": "品类代码",
  17117. "type": "string"
  17118. },
  17119. "wrstandardid": {
  17120. "description": "品类ID",
  17121. "type": "integer"
  17122. },
  17123. "wrstandardname": {
  17124. "description": "品类名称",
  17125. "type": "string"
  17126. }
  17127. }
  17128. },
  17129. "models.Ermcp3ExposureContractDetail": {
  17130. "type": "object",
  17131. "properties": {
  17132. "biztype": {
  17133. "description": "业务类型 1-套保 2-套利",
  17134. "type": "integer"
  17135. },
  17136. "brandname": {
  17137. "description": "品牌名称",
  17138. "type": "string"
  17139. },
  17140. "buyuserid": {
  17141. "description": "采购方id",
  17142. "type": "integer"
  17143. },
  17144. "buyusername": {
  17145. "description": "采购方名称",
  17146. "type": "string"
  17147. },
  17148. "contractno": {
  17149. "description": "合同编号",
  17150. "type": "string"
  17151. },
  17152. "contracttype": {
  17153. "description": "现货合同类型 - 1:采购 -1:销售",
  17154. "type": "integer"
  17155. },
  17156. "convertfactor": {
  17157. "description": "标仓系数",
  17158. "type": "number"
  17159. },
  17160. "convertratio": {
  17161. "description": "折算系数(套保品种)",
  17162. "type": "number"
  17163. },
  17164. "curqty": {
  17165. "description": "今定价量",
  17166. "type": "number"
  17167. },
  17168. "deliverygoodscode": {
  17169. "description": "现货商品代码",
  17170. "type": "string"
  17171. },
  17172. "deliverygoodsid": {
  17173. "description": "现货商品id",
  17174. "type": "integer"
  17175. },
  17176. "deliverygoodsname": {
  17177. "description": "现货商品名称",
  17178. "type": "string"
  17179. },
  17180. "diffhedgeqty": {
  17181. "description": "套保变动量",
  17182. "type": "number"
  17183. },
  17184. "diffneedhedgeqty": {
  17185. "description": "应套保变动量",
  17186. "type": "number"
  17187. },
  17188. "diffqty": {
  17189. "description": "套保品种今变动量",
  17190. "type": "number"
  17191. },
  17192. "enumdicname": {
  17193. "description": "单位名称",
  17194. "type": "string"
  17195. },
  17196. "middlegoodscode": {
  17197. "description": "套保品种代码",
  17198. "type": "string"
  17199. },
  17200. "middlegoodsid": {
  17201. "description": "套保品种id",
  17202. "type": "integer"
  17203. },
  17204. "middlegoodsname": {
  17205. "description": "套保品种名称",
  17206. "type": "string"
  17207. },
  17208. "needarbitrageratio": {
  17209. "description": "应套利比例",
  17210. "type": "number"
  17211. },
  17212. "needhedgeratio": {
  17213. "description": "应套保比例",
  17214. "type": "number"
  17215. },
  17216. "pricedqty": {
  17217. "description": "已定价量",
  17218. "type": "number"
  17219. },
  17220. "qty": {
  17221. "description": "合同量",
  17222. "type": "number"
  17223. },
  17224. "selluserid": {
  17225. "description": "销售方id",
  17226. "type": "integer"
  17227. },
  17228. "sellusername": {
  17229. "description": "销售方名称",
  17230. "type": "string"
  17231. },
  17232. "spotcontractid": {
  17233. "description": "合同id",
  17234. "type": "string"
  17235. },
  17236. "todaypricedqty": {
  17237. "description": "今定价量",
  17238. "type": "number"
  17239. },
  17240. "tradedate": {
  17241. "description": "交易日",
  17242. "type": "string"
  17243. },
  17244. "unitid": {
  17245. "description": "品类单位id",
  17246. "type": "integer"
  17247. },
  17248. "userid": {
  17249. "description": "机构id",
  17250. "type": "integer"
  17251. },
  17252. "wrstandardcode": {
  17253. "description": "品类代码",
  17254. "type": "string"
  17255. },
  17256. "wrstandardid": {
  17257. "description": "品类id",
  17258. "type": "integer"
  17259. },
  17260. "wrstandardname": {
  17261. "description": "品类名称",
  17262. "type": "string"
  17263. }
  17264. }
  17265. },
  17266. "models.Ermcp3ExposureDetail": {
  17267. "type": "object",
  17268. "properties": {
  17269. "areauserid": {
  17270. "description": "机构ID",
  17271. "type": "integer"
  17272. },
  17273. "changeQty": {
  17274. "description": "套保变动量",
  17275. "type": "number"
  17276. },
  17277. "contracttype": {
  17278. "description": "现货合同类型 - 1:采购 -1:销售",
  17279. "type": "integer"
  17280. },
  17281. "convertfactor": {
  17282. "description": "标仓系数",
  17283. "type": "number"
  17284. },
  17285. "convertratio": {
  17286. "description": "套保系数",
  17287. "type": "number"
  17288. },
  17289. "createtime": {
  17290. "description": "时间",
  17291. "type": "string"
  17292. },
  17293. "deliverygoodscode": {
  17294. "description": "现货品种代码",
  17295. "type": "string"
  17296. },
  17297. "deliverygoodsid": {
  17298. "description": "现货品种id",
  17299. "type": "integer"
  17300. },
  17301. "deliverygoodsname": {
  17302. "description": "现货品种名称",
  17303. "type": "string"
  17304. },
  17305. "enumdicname": {
  17306. "description": "现货商品单位名称",
  17307. "type": "string"
  17308. },
  17309. "logtype": {
  17310. "description": "类型 - 1:套保计划 2:现货合同",
  17311. "type": "integer"
  17312. },
  17313. "mgunitid": {
  17314. "description": "套保品种单位id",
  17315. "type": "integer"
  17316. },
  17317. "mgunitidname": {
  17318. "description": "套保品种单位名称",
  17319. "type": "string"
  17320. },
  17321. "middlegoodsId": {
  17322. "description": "套保商品id",
  17323. "type": "integer"
  17324. },
  17325. "middlegoodscode": {
  17326. "description": "套保商品代码",
  17327. "type": "string"
  17328. },
  17329. "middlegoodsname": {
  17330. "description": "套保商品名称",
  17331. "type": "string"
  17332. },
  17333. "qty": {
  17334. "description": "数量",
  17335. "type": "number"
  17336. },
  17337. "relateNo": {
  17338. "description": "现货合同/套保计划编号",
  17339. "type": "string"
  17340. }
  17341. }
  17342. },
  17343. "models.Ermcp3ExposureFutuDetail": {
  17344. "type": "object",
  17345. "properties": {
  17346. "accountid": {
  17347. "description": "交易账户id",
  17348. "type": "integer"
  17349. },
  17350. "accountname": {
  17351. "description": "交易账户",
  17352. "type": "string"
  17353. },
  17354. "begindate": {
  17355. "description": "开始交易日",
  17356. "type": "string"
  17357. },
  17358. "buyorsell": {
  17359. "description": "方向 0-买 1-卖",
  17360. "type": "integer"
  17361. },
  17362. "diffmgqty": {
  17363. "description": "套保品种今变化量",
  17364. "type": "number"
  17365. },
  17366. "diffneedqty": {
  17367. "description": "应套保总量变化量",
  17368. "type": "number"
  17369. },
  17370. "difftradeqty": {
  17371. "description": "交易品种今变化量",
  17372. "type": "number"
  17373. },
  17374. "enddate": {
  17375. "description": "结束交易日",
  17376. "type": "string"
  17377. },
  17378. "enumdicname": {
  17379. "description": "单位名称",
  17380. "type": "string"
  17381. },
  17382. "goodscode": {
  17383. "description": "商品代码",
  17384. "type": "string"
  17385. },
  17386. "goodsid": {
  17387. "description": "商品id",
  17388. "type": "integer"
  17389. },
  17390. "goodsname": {
  17391. "description": "商品名称",
  17392. "type": "string"
  17393. },
  17394. "holdqty": {
  17395. "description": "期末持仓量",
  17396. "type": "number"
  17397. },
  17398. "middlegoodscode": {
  17399. "description": "套保商品代码",
  17400. "type": "string"
  17401. },
  17402. "middlegoodsid": {
  17403. "description": "套保商品id",
  17404. "type": "integer"
  17405. },
  17406. "middlegoodsname": {
  17407. "description": "套保商品名称",
  17408. "type": "string"
  17409. },
  17410. "oriholdqty": {
  17411. "description": "期初持仓量",
  17412. "type": "number"
  17413. },
  17414. "todaycloseqty": {
  17415. "description": "今平仓量",
  17416. "type": "number"
  17417. },
  17418. "todayopenqty": {
  17419. "description": "今开仓量",
  17420. "type": "number"
  17421. },
  17422. "tradedate": {
  17423. "description": "交易日",
  17424. "type": "string"
  17425. }
  17426. }
  17427. },
  17428. "models.Ermcp3ExposureHedgeplanDetail": {
  17429. "type": "object",
  17430. "properties": {
  17431. "biztype": {
  17432. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  17433. "type": "integer"
  17434. },
  17435. "changqty": {
  17436. "description": "应套保总量变化量",
  17437. "type": "number"
  17438. },
  17439. "contracttype": {
  17440. "description": "计划类型 - 1:采购 -1:销售",
  17441. "type": "integer"
  17442. },
  17443. "convertratio": {
  17444. "description": "折算系数(套保品种)",
  17445. "type": "number"
  17446. },
  17447. "deliverygoodscode": {
  17448. "description": "现货商品代码",
  17449. "type": "string"
  17450. },
  17451. "deliverygoodsid": {
  17452. "description": "现货商品id",
  17453. "type": "integer"
  17454. },
  17455. "deliverygoodsname": {
  17456. "description": "现货商吕名称",
  17457. "type": "string"
  17458. },
  17459. "dgunitid": {
  17460. "description": "现货商品单位id",
  17461. "type": "integer"
  17462. },
  17463. "dgunitidname": {
  17464. "description": "单位名称(现货商品)",
  17465. "type": "string"
  17466. },
  17467. "diffqty": {
  17468. "description": "套保品种今变动量",
  17469. "type": "number"
  17470. },
  17471. "enumdicname": {
  17472. "description": "单位名称(品类)",
  17473. "type": "string"
  17474. },
  17475. "hedgeplanid": {
  17476. "description": "套保计划id",
  17477. "type": "string"
  17478. },
  17479. "hedgeplanno": {
  17480. "description": "套保计划名称",
  17481. "type": "string"
  17482. },
  17483. "hedgeplanstatus": {
  17484. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17485. "type": "integer"
  17486. },
  17487. "mgunitidname": {
  17488. "description": "单位名称(套保商品)",
  17489. "type": "string"
  17490. },
  17491. "middlegoodscode": {
  17492. "description": "套保品种代码",
  17493. "type": "string"
  17494. },
  17495. "middlegoodsid": {
  17496. "description": "套保品种id",
  17497. "type": "integer"
  17498. },
  17499. "middlegoodsname": {
  17500. "description": "套保品种名称",
  17501. "type": "string"
  17502. },
  17503. "needarbitrageratio": {
  17504. "description": "应套利比例",
  17505. "type": "number"
  17506. },
  17507. "needhedgeratio": {
  17508. "description": "应套保比例",
  17509. "type": "number"
  17510. },
  17511. "pricedqty": {
  17512. "description": "已定价量",
  17513. "type": "number"
  17514. },
  17515. "qty": {
  17516. "description": "合同量",
  17517. "type": "number"
  17518. },
  17519. "tradedate": {
  17520. "description": "交易日(登记日)",
  17521. "type": "string"
  17522. },
  17523. "unitid": {
  17524. "description": "品类单位id",
  17525. "type": "integer"
  17526. },
  17527. "userid": {
  17528. "description": "机构id",
  17529. "type": "integer"
  17530. },
  17531. "wrstandardcode": {
  17532. "description": "品类代码",
  17533. "type": "string"
  17534. },
  17535. "wrstandardid": {
  17536. "description": "品类id",
  17537. "type": "integer"
  17538. },
  17539. "wrstandardname": {
  17540. "description": "品类名称",
  17541. "type": "string"
  17542. }
  17543. }
  17544. },
  17545. "models.Ermcp3ExposureParamChLog": {
  17546. "type": "object",
  17547. "properties": {
  17548. "accountid": {
  17549. "description": "期货账户ID (作废, 默认为0)",
  17550. "type": "integer"
  17551. },
  17552. "aftervalue": {
  17553. "description": "应套保\\套利量变更后(调整后应套保总量)",
  17554. "type": "number"
  17555. },
  17556. "areauserid": {
  17557. "description": "所属机构\\交易用户ID",
  17558. "type": "integer"
  17559. },
  17560. "beforevalue": {
  17561. "description": "应套保\\套利量变更前(调整前应套保总量)",
  17562. "type": "number"
  17563. },
  17564. "begindate": {
  17565. "description": "开始交易日",
  17566. "type": "string"
  17567. },
  17568. "changelogtype": {
  17569. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  17570. "type": "integer"
  17571. },
  17572. "curvalue": {
  17573. "description": "当前套保\\套利量(套保总量|套利总量)",
  17574. "type": "number"
  17575. },
  17576. "diffvalue": {
  17577. "description": "应套保总量变化量",
  17578. "type": "number"
  17579. },
  17580. "enddate": {
  17581. "description": "结束交易日",
  17582. "type": "string"
  17583. },
  17584. "logdatetime": {
  17585. "description": "流水日期",
  17586. "type": "string"
  17587. },
  17588. "logid": {
  17589. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  17590. "type": "string"
  17591. },
  17592. "middlegoodscode": {
  17593. "description": "套保品种代码",
  17594. "type": "string"
  17595. },
  17596. "middlegoodsid": {
  17597. "description": "套保品种",
  17598. "type": "integer"
  17599. },
  17600. "middlegoodsname": {
  17601. "description": "套保品种名称",
  17602. "type": "string"
  17603. },
  17604. "paramaftervalue": {
  17605. "description": "参数变更后(调整后参数值)",
  17606. "type": "number"
  17607. },
  17608. "parambeforevalue": {
  17609. "description": "参数变更前(调整前参数值)",
  17610. "type": "number"
  17611. },
  17612. "tradedate": {
  17613. "description": "交易日(yyyyMMdd)",
  17614. "type": "string"
  17615. }
  17616. }
  17617. },
  17618. "models.Ermcp3ExpourseReport": {
  17619. "type": "object",
  17620. "properties": {
  17621. "accountid": {
  17622. "description": "期货账户ID (作废, 默认为0)",
  17623. "type": "integer"
  17624. },
  17625. "accountname": {
  17626. "description": "机构名称",
  17627. "type": "string"
  17628. },
  17629. "arbitrageqty": {
  17630. "description": "套利量",
  17631. "type": "number"
  17632. },
  17633. "areauserid": {
  17634. "description": "所属机构\\交易用户ID",
  17635. "type": "integer"
  17636. },
  17637. "begindate": {
  17638. "description": "开始交易日",
  17639. "type": "string"
  17640. },
  17641. "buyfutureqty": {
  17642. "description": "买入期货数量",
  17643. "type": "number"
  17644. },
  17645. "buyplanqty": {
  17646. "description": "采购计划数量",
  17647. "type": "number"
  17648. },
  17649. "buypricedqty": {
  17650. "description": "采购合同已定价数量",
  17651. "type": "number"
  17652. },
  17653. "cycletime": {
  17654. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17655. "type": "string"
  17656. },
  17657. "cycletype": {
  17658. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17659. "type": "integer"
  17660. },
  17661. "diffexposure": {
  17662. "description": "变动量(套保敞口)",
  17663. "type": "number"
  17664. },
  17665. "difffutuqty": {
  17666. "description": "变动量(期货)",
  17667. "type": "number"
  17668. },
  17669. "diffhedgeqty": {
  17670. "description": "变动量(现货应套保总量)",
  17671. "type": "number"
  17672. },
  17673. "diffmgqtya": {
  17674. "description": "套保变动量",
  17675. "type": "number"
  17676. },
  17677. "diffmgqtyb": {
  17678. "description": "套利变动量",
  17679. "type": "number"
  17680. },
  17681. "diffqty": {
  17682. "description": "变动量(总敞口)",
  17683. "type": "number"
  17684. },
  17685. "diffspotqty": {
  17686. "description": "变动量(现货)",
  17687. "type": "number"
  17688. },
  17689. "enddate": {
  17690. "description": "结束交易日",
  17691. "type": "string"
  17692. },
  17693. "enumdicname": {
  17694. "description": "单位名称",
  17695. "type": "string"
  17696. },
  17697. "hedgeqty": {
  17698. "description": "套保量",
  17699. "type": "number"
  17700. },
  17701. "mgneedhedgeratio": {
  17702. "description": "套保比例(套保品的)",
  17703. "type": "number"
  17704. },
  17705. "middlegoodsid": {
  17706. "description": "套保品种ID",
  17707. "type": "integer"
  17708. },
  17709. "middlegoodsname": {
  17710. "description": "套保商品名称",
  17711. "type": "string"
  17712. },
  17713. "middlgoodscode": {
  17714. "description": "套保商品代码",
  17715. "type": "string"
  17716. },
  17717. "needarbitrageqty": {
  17718. "description": "应套利量",
  17719. "type": "number"
  17720. },
  17721. "needarbitrageratio": {
  17722. "description": "套利比例(套保品的)",
  17723. "type": "number"
  17724. },
  17725. "needhedgeexposoure": {
  17726. "description": "应套保敞口(套保敞口)",
  17727. "type": "number"
  17728. },
  17729. "needhedgeqty": {
  17730. "description": "应套保量",
  17731. "type": "number"
  17732. },
  17733. "needhedgeratio": {
  17734. "description": "应套保敞口比例",
  17735. "type": "number"
  17736. },
  17737. "oriarbitrageqty": {
  17738. "description": "期初套利量",
  17739. "type": "number"
  17740. },
  17741. "oribuyfutureqty": {
  17742. "description": "期初买入期货数量",
  17743. "type": "number"
  17744. },
  17745. "oribuyplanqty": {
  17746. "description": "期初采购计划数量",
  17747. "type": "number"
  17748. },
  17749. "oribuypricedqty": {
  17750. "description": "期初采购合同已定价数量",
  17751. "type": "number"
  17752. },
  17753. "orihedgeqty": {
  17754. "description": "期初套保量",
  17755. "type": "number"
  17756. },
  17757. "orineedarbitrageqty": {
  17758. "description": "期初应套利量",
  17759. "type": "number"
  17760. },
  17761. "orineedhedgeexposoure": {
  17762. "description": "期初应套保敞口",
  17763. "type": "number"
  17764. },
  17765. "orineedhedgeqty": {
  17766. "description": "期初应套保量",
  17767. "type": "number"
  17768. },
  17769. "orisellfutureqty": {
  17770. "description": "期初卖出期货数量",
  17771. "type": "number"
  17772. },
  17773. "orisellplanqty": {
  17774. "description": "期初销售计划数量",
  17775. "type": "number"
  17776. },
  17777. "orisellpricedqty": {
  17778. "description": "期初销售合同已定价数量",
  17779. "type": "number"
  17780. },
  17781. "oritotalexposure": {
  17782. "description": "期初实时总敞口",
  17783. "type": "number"
  17784. },
  17785. "oritotalfutureqty": {
  17786. "description": "期初期货头寸总量",
  17787. "type": "number"
  17788. },
  17789. "oritotalneedhedgeqty": {
  17790. "description": "期初应套保总量",
  17791. "type": "number"
  17792. },
  17793. "oritotalspotqty": {
  17794. "description": "期初现货头寸总量",
  17795. "type": "number"
  17796. },
  17797. "reckondate": {
  17798. "description": "日照时期(yyyyMMdd)",
  17799. "type": "string"
  17800. },
  17801. "sellfutureqty": {
  17802. "description": "卖出期货数量",
  17803. "type": "number"
  17804. },
  17805. "sellplanqty": {
  17806. "description": "销售计划数量",
  17807. "type": "number"
  17808. },
  17809. "sellpricedqty": {
  17810. "description": "销售合同已定价数量",
  17811. "type": "number"
  17812. },
  17813. "totalexposure": {
  17814. "description": "实时总敞口(总敞口)",
  17815. "type": "number"
  17816. },
  17817. "totalfutureqty": {
  17818. "description": "期货头寸总量(期货总量)",
  17819. "type": "number"
  17820. },
  17821. "totalhedgeratio": {
  17822. "description": "敞口比例",
  17823. "type": "number"
  17824. },
  17825. "totalneedhedgeqty": {
  17826. "description": "应套保总量(现货应套保总量)",
  17827. "type": "number"
  17828. },
  17829. "totalspotqty": {
  17830. "description": "现货头寸总量",
  17831. "type": "number"
  17832. },
  17833. "unitid": {
  17834. "description": "单位id",
  17835. "type": "integer"
  17836. },
  17837. "updatetime": {
  17838. "description": "更新时间",
  17839. "type": "string"
  17840. }
  17841. }
  17842. },
  17843. "models.Ermcp3FinanceReport": {
  17844. "type": "object",
  17845. "properties": {
  17846. "accountname": {
  17847. "description": "机构名称",
  17848. "type": "string"
  17849. },
  17850. "areauserid": {
  17851. "description": "所属机构\\交易用户ID",
  17852. "type": "integer"
  17853. },
  17854. "begindate": {
  17855. "description": "开始交易日",
  17856. "type": "string"
  17857. },
  17858. "biztype": {
  17859. "description": "业务类型 - 1:套保 2:套利",
  17860. "type": "integer"
  17861. },
  17862. "brandname": {
  17863. "description": "品牌名称",
  17864. "type": "string"
  17865. },
  17866. "buypreinvoicedamount": {
  17867. "description": "采购预收票额(预收票额)",
  17868. "type": "number"
  17869. },
  17870. "buyprepaidamount": {
  17871. "description": "采购预付款额(预付货款额)",
  17872. "type": "number"
  17873. },
  17874. "buytodayinvoiceamount": {
  17875. "description": "采购今收票额(今收票额)",
  17876. "type": "number"
  17877. },
  17878. "buytodayrefundamount": {
  17879. "description": "采购今收退款额(今收退款额)",
  17880. "type": "number"
  17881. },
  17882. "buytodaysettleamount": {
  17883. "description": "采购今付款额(今付货款额)",
  17884. "type": "number"
  17885. },
  17886. "buyuninvoicedamount": {
  17887. "description": "采购应收票额(应收票额)",
  17888. "type": "number"
  17889. },
  17890. "buyunpaidamount": {
  17891. "description": "采购应付款额(应付货款额)",
  17892. "type": "number"
  17893. },
  17894. "currencyid": {
  17895. "description": "结算币种ID",
  17896. "type": "integer"
  17897. },
  17898. "currencyname": {
  17899. "description": "币种名称",
  17900. "type": "string"
  17901. },
  17902. "cycletime": {
  17903. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  17904. "type": "string"
  17905. },
  17906. "cycletype": {
  17907. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  17908. "type": "integer"
  17909. },
  17910. "deliverygoodscode": {
  17911. "description": "现货品种代码",
  17912. "type": "string"
  17913. },
  17914. "deliverygoodsid": {
  17915. "description": "现货品种ID",
  17916. "type": "integer"
  17917. },
  17918. "deliverygoodsname": {
  17919. "description": "现货品种名称",
  17920. "type": "string"
  17921. },
  17922. "enddate": {
  17923. "description": "结束交易日",
  17924. "type": "string"
  17925. },
  17926. "reckondate": {
  17927. "description": "日照时期(yyyyMMdd)",
  17928. "type": "string"
  17929. },
  17930. "sellpreinvoicedamount": {
  17931. "description": "销售预开票额(预开票额)",
  17932. "type": "number"
  17933. },
  17934. "sellprepaidamount": {
  17935. "description": "销售预收款额(预收货款额)",
  17936. "type": "number"
  17937. },
  17938. "selltodayinvoiceamount": {
  17939. "description": "销售今开票额(今开票额)",
  17940. "type": "number"
  17941. },
  17942. "selltodayrefundamount": {
  17943. "description": "销售今付退款额(今付退款额)",
  17944. "type": "number"
  17945. },
  17946. "selltodaysettleamount": {
  17947. "description": "销售今收款额(今收货款额)",
  17948. "type": "number"
  17949. },
  17950. "selluninvoicedamount": {
  17951. "description": "销售应开票额(应开票额)",
  17952. "type": "number"
  17953. },
  17954. "sellunpaidamount": {
  17955. "description": "销售应收款额(应收货款额)",
  17956. "type": "number"
  17957. },
  17958. "spotgoodsbrandid": {
  17959. "description": "现货品牌ID",
  17960. "type": "integer"
  17961. },
  17962. "todaypaysum": {
  17963. "description": "今付款合计",
  17964. "type": "number"
  17965. },
  17966. "todayreceivesum": {
  17967. "description": "今收款合计",
  17968. "type": "number"
  17969. },
  17970. "updatetime": {
  17971. "description": "更新时间",
  17972. "type": "string"
  17973. },
  17974. "wrfactortypeid": {
  17975. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  17976. "type": "integer"
  17977. },
  17978. "wrstandardcode": {
  17979. "description": "品类代码",
  17980. "type": "string"
  17981. },
  17982. "wrstandardid": {
  17983. "description": "现货商品ID",
  17984. "type": "integer"
  17985. },
  17986. "wrstandardname": {
  17987. "description": "品类名称",
  17988. "type": "string"
  17989. }
  17990. }
  17991. },
  17992. "models.Ermcp3Goods": {
  17993. "type": "object",
  17994. "properties": {
  17995. "agreeunit": {
  17996. "description": "合约单位(合约乘数)",
  17997. "type": "number"
  17998. },
  17999. "enumdicname": {
  18000. "description": "单位名称",
  18001. "type": "string"
  18002. },
  18003. "exexchangecode": {
  18004. "description": "交易所代码",
  18005. "type": "string"
  18006. },
  18007. "goodscode": {
  18008. "description": "期货商品代码",
  18009. "type": "string"
  18010. },
  18011. "goodsid": {
  18012. "description": "期货商品id",
  18013. "type": "integer"
  18014. },
  18015. "goodsname": {
  18016. "description": "期货商品名称",
  18017. "type": "string"
  18018. }
  18019. }
  18020. },
  18021. "models.Ermcp3GoodsGroup": {
  18022. "type": "object",
  18023. "required": [
  18024. "areauserid"
  18025. ],
  18026. "properties": {
  18027. "agreeunit": {
  18028. "description": "合约单位",
  18029. "type": "number"
  18030. },
  18031. "areauserid": {
  18032. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  18033. "type": "integer"
  18034. },
  18035. "canshort": {
  18036. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18037. "type": "integer"
  18038. },
  18039. "closepricemode": {
  18040. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18041. "type": "integer"
  18042. },
  18043. "createtime": {
  18044. "description": "创建时间",
  18045. "type": "string"
  18046. },
  18047. "creatorid": {
  18048. "description": "创建人",
  18049. "type": "integer"
  18050. },
  18051. "currencyid": {
  18052. "description": "报价货币ID",
  18053. "type": "integer"
  18054. },
  18055. "decimalplace": {
  18056. "description": "报价小数位",
  18057. "type": "integer"
  18058. },
  18059. "enumdicname": {
  18060. "description": "单位名称",
  18061. "type": "string"
  18062. },
  18063. "exchangefullname": {
  18064. "description": "交易所全称",
  18065. "type": "string"
  18066. },
  18067. "excludecfg": {
  18068. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  18069. "type": "integer"
  18070. },
  18071. "exexchangecode": {
  18072. "description": "交易所代码",
  18073. "type": "string"
  18074. },
  18075. "exexchangeid": {
  18076. "description": "外部交易所ID[通道交易]",
  18077. "type": "integer"
  18078. },
  18079. "exexchangename": {
  18080. "description": "交易所名称",
  18081. "type": "string"
  18082. },
  18083. "goodsgroupid": {
  18084. "description": "商品组ID(自增ID)",
  18085. "type": "integer"
  18086. },
  18087. "goodsgroupname": {
  18088. "description": "商品组名称",
  18089. "type": "string"
  18090. },
  18091. "goodsgroupstatus": {
  18092. "description": "商品组状态 - 1:正常 2:注销",
  18093. "type": "integer"
  18094. },
  18095. "goodunitid": {
  18096. "description": "报价单位ID",
  18097. "type": "integer"
  18098. },
  18099. "groupcategroyid": {
  18100. "description": "品种分类ID",
  18101. "type": "integer"
  18102. },
  18103. "innerdealmode": {
  18104. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18105. "type": "integer"
  18106. },
  18107. "marketid": {
  18108. "description": "所属市场ID",
  18109. "type": "integer"
  18110. },
  18111. "modifierid": {
  18112. "description": "修改人",
  18113. "type": "integer"
  18114. },
  18115. "modifytime": {
  18116. "description": "修改时间",
  18117. "type": "string"
  18118. },
  18119. "outerdealmode": {
  18120. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18121. "type": "integer"
  18122. },
  18123. "outergroupcode": {
  18124. "description": "外部商品组代码[通道交易]",
  18125. "type": "string"
  18126. },
  18127. "quoteminunit": {
  18128. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18129. "type": "integer"
  18130. },
  18131. "quotesourcegroupid": {
  18132. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18133. "type": "integer"
  18134. },
  18135. "syncgoodsqty": {
  18136. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18137. "type": "integer"
  18138. }
  18139. }
  18140. },
  18141. "models.Ermcp3GoodsGroupEx": {
  18142. "type": "object",
  18143. "properties": {
  18144. "convertratio": {
  18145. "description": "折算系数(品种系数)",
  18146. "type": "number"
  18147. },
  18148. "enumdicname": {
  18149. "description": "单位名称",
  18150. "type": "string"
  18151. },
  18152. "exexchangecode": {
  18153. "description": "交易所代码",
  18154. "type": "string"
  18155. },
  18156. "glist": {
  18157. "description": "合约列表",
  18158. "type": "array",
  18159. "items": {
  18160. "$ref": "#/definitions/models.Ermcp3Goods"
  18161. }
  18162. },
  18163. "goodsgroupid": {
  18164. "description": "商品组id",
  18165. "type": "integer"
  18166. },
  18167. "goodsgroupname": {
  18168. "description": "商品组名称",
  18169. "type": "string"
  18170. },
  18171. "goodsunitid": {
  18172. "description": "单位id",
  18173. "type": "integer"
  18174. },
  18175. "middlegoodsid": {
  18176. "description": "套保商品id",
  18177. "type": "integer"
  18178. }
  18179. }
  18180. },
  18181. "models.Ermcp3HedgePlan": {
  18182. "type": "object",
  18183. "properties": {
  18184. "accountid": {
  18185. "description": "资金账号",
  18186. "type": "integer"
  18187. },
  18188. "areauserid": {
  18189. "description": "用户ID",
  18190. "type": "integer"
  18191. },
  18192. "auditid": {
  18193. "description": "审核id",
  18194. "type": "integer"
  18195. },
  18196. "auditname": {
  18197. "description": "审核人名称",
  18198. "type": "string"
  18199. },
  18200. "auditremark": {
  18201. "description": "审核备注",
  18202. "type": "string"
  18203. },
  18204. "auditsrc": {
  18205. "description": "审核来源 1-管理端 2-终端",
  18206. "type": "integer"
  18207. },
  18208. "audittime": {
  18209. "description": "审核时间",
  18210. "type": "string"
  18211. },
  18212. "contracttype": {
  18213. "description": "计划类型 - 1:采购 -1:销售",
  18214. "type": "integer"
  18215. },
  18216. "convertfactor": {
  18217. "description": "标仓系数",
  18218. "type": "number"
  18219. },
  18220. "createtime": {
  18221. "description": "创建时间",
  18222. "type": "string"
  18223. },
  18224. "currencyid": {
  18225. "description": "币种id",
  18226. "type": "integer"
  18227. },
  18228. "currencyname": {
  18229. "description": "币种名称",
  18230. "type": "string"
  18231. },
  18232. "deliverygoodscode": {
  18233. "description": "现货品种代码",
  18234. "type": "string"
  18235. },
  18236. "deliverygoodsid": {
  18237. "description": "现货品种ID",
  18238. "type": "integer"
  18239. },
  18240. "deliverygoodsname": {
  18241. "description": "现货品种名称",
  18242. "type": "string"
  18243. },
  18244. "enumdicname": {
  18245. "description": "单位名称(现货商品)",
  18246. "type": "string"
  18247. },
  18248. "hedgeplanid": {
  18249. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  18250. "type": "string"
  18251. },
  18252. "hedgeplanno": {
  18253. "description": "套保计划编号(名称)",
  18254. "type": "string"
  18255. },
  18256. "hedgeplanstatus": {
  18257. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18258. "type": "integer"
  18259. },
  18260. "planqty": {
  18261. "description": "计划数量",
  18262. "type": "number"
  18263. },
  18264. "plantime": {
  18265. "description": "计划时间",
  18266. "type": "string"
  18267. },
  18268. "producttype": {
  18269. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18270. "type": "integer"
  18271. },
  18272. "remark": {
  18273. "description": "备注",
  18274. "type": "string"
  18275. },
  18276. "spotgoodsdesc": {
  18277. "description": "商品型号",
  18278. "type": "string"
  18279. },
  18280. "taaccountname": {
  18281. "description": "资金账号名称",
  18282. "type": "string"
  18283. },
  18284. "tradeuserid": {
  18285. "description": "交易用户id",
  18286. "type": "integer"
  18287. },
  18288. "tradeusername": {
  18289. "description": "交易用户名称",
  18290. "type": "string"
  18291. },
  18292. "unitid": {
  18293. "description": "单位id(现货商品)",
  18294. "type": "integer"
  18295. },
  18296. "updatetime": {
  18297. "description": "更新时间",
  18298. "type": "string"
  18299. },
  18300. "wrstandardcode": {
  18301. "description": "品类代码",
  18302. "type": "string"
  18303. },
  18304. "wrstandardid": {
  18305. "description": "品类id",
  18306. "type": "integer"
  18307. },
  18308. "wrstandardname": {
  18309. "description": "品类名称",
  18310. "type": "string"
  18311. },
  18312. "wrunitid": {
  18313. "description": "品类单位id",
  18314. "type": "integer"
  18315. },
  18316. "wrunitidame": {
  18317. "description": "品类单位名称",
  18318. "type": "string"
  18319. }
  18320. }
  18321. },
  18322. "models.Ermcp3MiddleGoodsDetail2": {
  18323. "type": "object",
  18324. "properties": {
  18325. "convertratio": {
  18326. "description": "套保系数(折算系数)",
  18327. "type": "number"
  18328. },
  18329. "gplist": {
  18330. "description": "关联商品组列表",
  18331. "type": "array",
  18332. "items": {
  18333. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18334. }
  18335. },
  18336. "mg": {
  18337. "description": "套保商品信息",
  18338. "type": "object",
  18339. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18340. }
  18341. }
  18342. },
  18343. "models.Ermcp3MiddleGoodsDetailEx": {
  18344. "type": "object",
  18345. "properties": {
  18346. "dglist": {
  18347. "description": "关联的现货品种列表",
  18348. "type": "array",
  18349. "items": {
  18350. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  18351. }
  18352. },
  18353. "gplist": {
  18354. "description": "关联商品组列表",
  18355. "type": "array",
  18356. "items": {
  18357. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  18358. }
  18359. },
  18360. "mg": {
  18361. "description": "套保商品信息",
  18362. "type": "object",
  18363. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18364. }
  18365. }
  18366. },
  18367. "models.Ermcp3RootUserAccount": {
  18368. "type": "object",
  18369. "properties": {
  18370. "accountname": {
  18371. "description": "账户名称(机构名称)",
  18372. "type": "string"
  18373. },
  18374. "accountstatus": {
  18375. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  18376. "type": "integer"
  18377. },
  18378. "applysrc": {
  18379. "description": "申请来源 - 1:管理端 2:终端",
  18380. "type": "integer"
  18381. },
  18382. "auditremark": {
  18383. "description": "审核备注",
  18384. "type": "string"
  18385. },
  18386. "auditsrc": {
  18387. "description": "审核来源 - 1:管理端 2:终端",
  18388. "type": "integer"
  18389. },
  18390. "audittime": {
  18391. "description": "审核时间",
  18392. "type": "string"
  18393. },
  18394. "audituserid": {
  18395. "description": "审核人",
  18396. "type": "integer"
  18397. },
  18398. "broker": {
  18399. "description": "所属经纪人ID",
  18400. "type": "integer"
  18401. },
  18402. "canceltime": {
  18403. "description": "销户时间",
  18404. "type": "string"
  18405. },
  18406. "canceluserid": {
  18407. "description": "销户人",
  18408. "type": "integer"
  18409. },
  18410. "canrecommend": {
  18411. "description": "是否可推荐 - 0:不可 1;可",
  18412. "type": "integer"
  18413. },
  18414. "createtime": {
  18415. "description": "创建时间",
  18416. "type": "string"
  18417. },
  18418. "creatorid": {
  18419. "description": "创建人",
  18420. "type": "integer"
  18421. },
  18422. "hasauth": {
  18423. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18424. "type": "integer"
  18425. },
  18426. "isanonymous": {
  18427. "description": "是否匿名下单 - 0:否 1:是",
  18428. "type": "integer"
  18429. },
  18430. "maxinvestornum": {
  18431. "description": "最大用户数(经纪会员下投资者个数)",
  18432. "type": "integer"
  18433. },
  18434. "memberuserid": {
  18435. "description": "所属会员ID",
  18436. "type": "integer"
  18437. },
  18438. "modifierid": {
  18439. "description": "修改人",
  18440. "type": "integer"
  18441. },
  18442. "modifyremark": {
  18443. "description": "变更备注",
  18444. "type": "string"
  18445. },
  18446. "modifystatus": {
  18447. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18448. "type": "integer"
  18449. },
  18450. "modifytime": {
  18451. "description": "修改时间",
  18452. "type": "string"
  18453. },
  18454. "parenttopuser": {
  18455. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  18456. "type": "string"
  18457. },
  18458. "parentuserid": {
  18459. "description": "所属机构ID",
  18460. "type": "integer"
  18461. },
  18462. "reckonaccountid": {
  18463. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18464. "type": "integer"
  18465. },
  18466. "refercount": {
  18467. "description": "推荐总人数",
  18468. "type": "integer"
  18469. },
  18470. "refereeuserid": {
  18471. "description": "推荐人ID",
  18472. "type": "integer"
  18473. },
  18474. "refernum": {
  18475. "description": "推荐码",
  18476. "type": "string"
  18477. },
  18478. "rootuserid": {
  18479. "description": "根用户ID",
  18480. "type": "integer"
  18481. },
  18482. "subaccountlevel": {
  18483. "description": "子账户层数",
  18484. "type": "integer"
  18485. },
  18486. "subarealevelpath": {
  18487. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18488. "type": "string"
  18489. },
  18490. "userid": {
  18491. "description": "用户ID",
  18492. "type": "integer"
  18493. },
  18494. "usertype": {
  18495. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  18496. "type": "integer"
  18497. }
  18498. }
  18499. },
  18500. "models.Ermcp3SellBuyContract": {
  18501. "type": "object",
  18502. "properties": {
  18503. "accountid": {
  18504. "description": "期货账户id",
  18505. "type": "string"
  18506. },
  18507. "accountname": {
  18508. "description": "账户名称",
  18509. "type": "string"
  18510. },
  18511. "attachment": {
  18512. "description": "附件",
  18513. "type": "string"
  18514. },
  18515. "audittime": {
  18516. "description": "审核时间",
  18517. "type": "string"
  18518. },
  18519. "biztype": {
  18520. "description": "业务类型 1-套保 2-套利",
  18521. "type": "integer"
  18522. },
  18523. "brandname": {
  18524. "description": "品牌名称",
  18525. "type": "string"
  18526. },
  18527. "contracctstatus": {
  18528. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18529. "type": "integer"
  18530. },
  18531. "contractmargin": {
  18532. "description": "合同保证金",
  18533. "type": "number"
  18534. },
  18535. "contractno": {
  18536. "description": "合同编号",
  18537. "type": "string"
  18538. },
  18539. "contracttype": {
  18540. "description": "合同类型 1-采购, -1-销售",
  18541. "type": "integer"
  18542. },
  18543. "convertfactor": {
  18544. "description": "标仓系数(品类)",
  18545. "type": "number"
  18546. },
  18547. "createtime": {
  18548. "description": "创建时间",
  18549. "type": "string"
  18550. },
  18551. "currencyid": {
  18552. "description": "币种id",
  18553. "type": "integer"
  18554. },
  18555. "currencyname": {
  18556. "description": "币种名称",
  18557. "type": "string"
  18558. },
  18559. "daikaiamount": {
  18560. "description": "应收(开)票额",
  18561. "type": "number"
  18562. },
  18563. "deliveryenddate": {
  18564. "description": "交割结束日",
  18565. "type": "string"
  18566. },
  18567. "deliverygoodscode": {
  18568. "description": "现货品种代码",
  18569. "type": "string"
  18570. },
  18571. "deliverygoodsid": {
  18572. "description": "现货商品ID",
  18573. "type": "integer"
  18574. },
  18575. "deliverygoodsname": {
  18576. "description": "现货品种名称",
  18577. "type": "string"
  18578. },
  18579. "deliverystartdate": {
  18580. "description": "交割开始日",
  18581. "type": "string"
  18582. },
  18583. "enddate": {
  18584. "description": "点价结束日",
  18585. "type": "string"
  18586. },
  18587. "enumdicname": {
  18588. "description": "单位名称",
  18589. "type": "string"
  18590. },
  18591. "goodscode": {
  18592. "description": "点价商品代码",
  18593. "type": "string"
  18594. },
  18595. "goodsid": {
  18596. "description": "点价商品ID",
  18597. "type": "integer"
  18598. },
  18599. "goodsname": {
  18600. "description": "点价商品名称",
  18601. "type": "string"
  18602. },
  18603. "invoiceamount": {
  18604. "description": "已开票额",
  18605. "type": "number"
  18606. },
  18607. "loanamount": {
  18608. "description": "贷款总额=已定价额+调整金额",
  18609. "type": "number"
  18610. },
  18611. "margin": {
  18612. "description": "保证金",
  18613. "type": "number"
  18614. },
  18615. "meruserid": {
  18616. "description": "跟单员id",
  18617. "type": "integer"
  18618. },
  18619. "meruserlogincode": {
  18620. "description": "跟单员登录代码",
  18621. "type": "string"
  18622. },
  18623. "merusername": {
  18624. "description": "跟单员名称",
  18625. "type": "string"
  18626. },
  18627. "nickname": {
  18628. "description": "账户昵称",
  18629. "type": "string"
  18630. },
  18631. "payamount": {
  18632. "description": "已收付额(收款或付款)",
  18633. "type": "number"
  18634. },
  18635. "preinvoiceamount": {
  18636. "description": "预收(开)票额",
  18637. "type": "number"
  18638. },
  18639. "prepayamount": {
  18640. "description": "预收付额",
  18641. "type": "number"
  18642. },
  18643. "price": {
  18644. "description": "价格",
  18645. "type": "number"
  18646. },
  18647. "pricedamount": {
  18648. "description": "已定价额",
  18649. "type": "number"
  18650. },
  18651. "pricedavg": {
  18652. "description": "已点均价",
  18653. "type": "number"
  18654. },
  18655. "pricedqty": {
  18656. "description": "已定价量",
  18657. "type": "number"
  18658. },
  18659. "pricemove": {
  18660. "description": "升贴水",
  18661. "type": "number"
  18662. },
  18663. "pricetype": {
  18664. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18665. "type": "integer"
  18666. },
  18667. "producttype": {
  18668. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  18669. "type": "integer"
  18670. },
  18671. "qty": {
  18672. "description": "合同量",
  18673. "type": "number"
  18674. },
  18675. "reckonadjustamount": {
  18676. "description": "调整金额",
  18677. "type": "number"
  18678. },
  18679. "reckonedamount": {
  18680. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  18681. "type": "number"
  18682. },
  18683. "reckonotheramount": {
  18684. "description": "其它费用",
  18685. "type": "number"
  18686. },
  18687. "reckonrealqty": {
  18688. "description": "已确定量",
  18689. "type": "number"
  18690. },
  18691. "remark": {
  18692. "description": "备注",
  18693. "type": "string"
  18694. },
  18695. "saleuserid": {
  18696. "description": "业务员id",
  18697. "type": "integer"
  18698. },
  18699. "saleuserlogincode": {
  18700. "description": "业务员登录代码",
  18701. "type": "string"
  18702. },
  18703. "saleusername": {
  18704. "description": "业务员名称",
  18705. "type": "string"
  18706. },
  18707. "spotcontractid": {
  18708. "description": "合同ID",
  18709. "type": "string"
  18710. },
  18711. "spotgoodsbrandid": {
  18712. "description": "现货品牌ID(DGFactoryItem表的ID)",
  18713. "type": "integer"
  18714. },
  18715. "spotgoodsdesc": {
  18716. "description": "商品型号(商品规格)",
  18717. "type": "string"
  18718. },
  18719. "startdate": {
  18720. "description": "点价开始日",
  18721. "type": "string"
  18722. },
  18723. "totalamount": {
  18724. "description": "合计总额",
  18725. "type": "number"
  18726. },
  18727. "tradeuserid": {
  18728. "description": "交易员id",
  18729. "type": "integer"
  18730. },
  18731. "tradeuserlogincode": {
  18732. "description": "交易员登录代码",
  18733. "type": "string"
  18734. },
  18735. "tradeusername": {
  18736. "description": "交易员名称",
  18737. "type": "string"
  18738. },
  18739. "unpayamount": {
  18740. "description": "应收付款额(应支付或应收款)",
  18741. "type": "number"
  18742. },
  18743. "unpricedqty": {
  18744. "description": "未定价量",
  18745. "type": "number"
  18746. },
  18747. "unsureqty": {
  18748. "description": "未确定量",
  18749. "type": "number"
  18750. },
  18751. "userid": {
  18752. "description": "机构ID",
  18753. "type": "integer"
  18754. },
  18755. "wrstandardcode": {
  18756. "description": "品类代码",
  18757. "type": "string"
  18758. },
  18759. "wrstandardid": {
  18760. "description": "品类ID",
  18761. "type": "integer"
  18762. },
  18763. "wrstandardname": {
  18764. "description": "品类名称",
  18765. "type": "string"
  18766. }
  18767. }
  18768. },
  18769. "models.Ermcp3SpotGoodsPrice": {
  18770. "type": "object",
  18771. "properties": {
  18772. "areauserid": {
  18773. "description": "所属机构id",
  18774. "type": "integer"
  18775. },
  18776. "brandname": {
  18777. "description": "品牌名称",
  18778. "type": "string"
  18779. },
  18780. "currencyid": {
  18781. "description": "报价货币ID",
  18782. "type": "integer"
  18783. },
  18784. "currencyname": {
  18785. "description": "币种名称",
  18786. "type": "string"
  18787. },
  18788. "deliverygoodscode": {
  18789. "description": "现货商品代码",
  18790. "type": "string"
  18791. },
  18792. "deliverygoodsid": {
  18793. "description": "现货商品id",
  18794. "type": "integer"
  18795. },
  18796. "deliverygoodsname": {
  18797. "description": "现货商品名称",
  18798. "type": "string"
  18799. },
  18800. "enumdicname": {
  18801. "description": "现货商品单位名称",
  18802. "type": "string"
  18803. },
  18804. "gbenumdicname": {
  18805. "description": "品类单位名称",
  18806. "type": "string"
  18807. },
  18808. "gmunitid": {
  18809. "description": "品类单位id",
  18810. "type": "integer"
  18811. },
  18812. "isvalid": {
  18813. "description": "是否有效 - 0:无效 1:有效",
  18814. "type": "integer"
  18815. },
  18816. "operateid": {
  18817. "description": "最后操作人",
  18818. "type": "integer"
  18819. },
  18820. "operatesrc": {
  18821. "description": "最后操作来源 - 1:管理端 2:终端",
  18822. "type": "integer"
  18823. },
  18824. "operatetime": {
  18825. "description": "最后操作时间",
  18826. "type": "string"
  18827. },
  18828. "operatorname": {
  18829. "description": "操作人名称",
  18830. "type": "string"
  18831. },
  18832. "spotgoodsbrandid": {
  18833. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18834. "type": "integer"
  18835. },
  18836. "spotgoodsprice": {
  18837. "description": "现货价格",
  18838. "type": "number"
  18839. },
  18840. "tradedate": {
  18841. "description": "交易日(yyyyMMdd)",
  18842. "type": "string"
  18843. },
  18844. "unitid": {
  18845. "description": "现货商品单位id",
  18846. "type": "integer"
  18847. },
  18848. "wrstandardcode": {
  18849. "description": "品类代码",
  18850. "type": "string"
  18851. },
  18852. "wrstandardid": {
  18853. "description": "现货品类ID(通用则为0)",
  18854. "type": "integer"
  18855. },
  18856. "wrstandardname": {
  18857. "description": "品类名称",
  18858. "type": "string"
  18859. }
  18860. }
  18861. },
  18862. "models.Ermcp3SpotGoodsPriceLog": {
  18863. "type": "object",
  18864. "properties": {
  18865. "areauserid": {
  18866. "description": "所属机构id",
  18867. "type": "integer"
  18868. },
  18869. "brandname": {
  18870. "description": "品牌名称",
  18871. "type": "string"
  18872. },
  18873. "currencyid": {
  18874. "description": "报价货币ID",
  18875. "type": "integer"
  18876. },
  18877. "deliverygoodscode": {
  18878. "description": "现货商品代码",
  18879. "type": "string"
  18880. },
  18881. "deliverygoodsid": {
  18882. "description": "现货商品id",
  18883. "type": "integer"
  18884. },
  18885. "deliverygoodsname": {
  18886. "description": "现货商品名称",
  18887. "type": "string"
  18888. },
  18889. "enumdicname": {
  18890. "description": "现货商品单位名称",
  18891. "type": "string"
  18892. },
  18893. "gbenumdicname": {
  18894. "description": "品类单位名称",
  18895. "type": "string"
  18896. },
  18897. "gmunitid": {
  18898. "description": "品类单位id",
  18899. "type": "integer"
  18900. },
  18901. "logid": {
  18902. "description": "日志id",
  18903. "type": "integer"
  18904. },
  18905. "operateid": {
  18906. "description": "最后操作人",
  18907. "type": "integer"
  18908. },
  18909. "operatesrc": {
  18910. "description": "最后操作来源 - 1:管理端 2:终端",
  18911. "type": "integer"
  18912. },
  18913. "operatetime": {
  18914. "description": "最后操作时间",
  18915. "type": "string"
  18916. },
  18917. "operatorname": {
  18918. "description": "操作人名称",
  18919. "type": "string"
  18920. },
  18921. "spotgoodsbrandid": {
  18922. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  18923. "type": "integer"
  18924. },
  18925. "spotgoodsprice": {
  18926. "description": "现货价格",
  18927. "type": "number"
  18928. },
  18929. "tradedate": {
  18930. "description": "交易日(yyyyMMdd)",
  18931. "type": "string"
  18932. },
  18933. "unitid": {
  18934. "description": "现货商品单位id",
  18935. "type": "integer"
  18936. },
  18937. "wrstandardcode": {
  18938. "description": "品类代码",
  18939. "type": "string"
  18940. },
  18941. "wrstandardid": {
  18942. "description": "现货品类ID(通用则为0)",
  18943. "type": "integer"
  18944. },
  18945. "wrstandardname": {
  18946. "description": "品类名称",
  18947. "type": "string"
  18948. }
  18949. }
  18950. },
  18951. "models.Ermcp3TaFutuReDataReport": {
  18952. "type": "object",
  18953. "properties": {
  18954. "accountid": {
  18955. "description": "交易账户",
  18956. "type": "integer"
  18957. },
  18958. "accountname": {
  18959. "description": "交易账号名称",
  18960. "type": "string"
  18961. },
  18962. "begindate": {
  18963. "description": "开始交易日",
  18964. "type": "string"
  18965. },
  18966. "buyorsell": {
  18967. "description": "持仓方向",
  18968. "type": "integer"
  18969. },
  18970. "charge": {
  18971. "description": "手续费",
  18972. "type": "number"
  18973. },
  18974. "closeavgprice": {
  18975. "description": "平仓均价",
  18976. "type": "number"
  18977. },
  18978. "closepl": {
  18979. "description": "平仓损益",
  18980. "type": "number"
  18981. },
  18982. "currencyid": {
  18983. "description": "结算币种ID",
  18984. "type": "integer"
  18985. },
  18986. "currencyname": {
  18987. "description": "币种名称",
  18988. "type": "string"
  18989. },
  18990. "cycletime": {
  18991. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  18992. "type": "string"
  18993. },
  18994. "cycletype": {
  18995. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  18996. "type": "integer"
  18997. },
  18998. "enddate": {
  18999. "description": "结束交易日",
  19000. "type": "string"
  19001. },
  19002. "enumdicname": {
  19003. "description": "单位名称",
  19004. "type": "string"
  19005. },
  19006. "floatpl": {
  19007. "description": "浮动损益",
  19008. "type": "number"
  19009. },
  19010. "goodscode": {
  19011. "description": "交易合约代码",
  19012. "type": "string"
  19013. },
  19014. "goodsgroupid": {
  19015. "description": "交易品种",
  19016. "type": "integer"
  19017. },
  19018. "goodsgroupname": {
  19019. "description": "交易品种名称",
  19020. "type": "string"
  19021. },
  19022. "goodsgroupspotqty": {
  19023. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  19024. "type": "number"
  19025. },
  19026. "goodsid": {
  19027. "description": "交易合约",
  19028. "type": "integer"
  19029. },
  19030. "goodsname": {
  19031. "description": "交易合约名称",
  19032. "type": "string"
  19033. },
  19034. "goodunitid": {
  19035. "description": "交易合约单位id",
  19036. "type": "integer"
  19037. },
  19038. "holdamount": {
  19039. "description": "期末持仓额",
  19040. "type": "number"
  19041. },
  19042. "holdqty": {
  19043. "description": "期末持仓量",
  19044. "type": "number"
  19045. },
  19046. "lastholdamount": {
  19047. "description": "当前持仓额",
  19048. "type": "number"
  19049. },
  19050. "lastprice": {
  19051. "description": "最新价",
  19052. "type": "number"
  19053. },
  19054. "middlegoodsid": {
  19055. "description": "套保品种id",
  19056. "type": "integer"
  19057. },
  19058. "middlegoodsname": {
  19059. "description": "套保商品名称",
  19060. "type": "string"
  19061. },
  19062. "middlegoodsqty": {
  19063. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  19064. "type": "number"
  19065. },
  19066. "middlgoodscode": {
  19067. "description": "套保商品代码",
  19068. "type": "string"
  19069. },
  19070. "openamount": {
  19071. "description": "期末开仓额",
  19072. "type": "number"
  19073. },
  19074. "openavgprice": {
  19075. "description": "开仓均价",
  19076. "type": "number"
  19077. },
  19078. "oriholdamount": {
  19079. "description": "期初持仓额",
  19080. "type": "number"
  19081. },
  19082. "oriholdqty": {
  19083. "description": "期初持仓量",
  19084. "type": "number"
  19085. },
  19086. "oriopenamount": {
  19087. "description": "期初开仓额",
  19088. "type": "number"
  19089. },
  19090. "outergroupcode": {
  19091. "description": "交易品种代码",
  19092. "type": "string"
  19093. },
  19094. "reckondate": {
  19095. "description": "日照时期(yyyyMMdd)",
  19096. "type": "string"
  19097. },
  19098. "reckonholdamount": {
  19099. "description": "结算持仓额",
  19100. "type": "number"
  19101. },
  19102. "reckonpl": {
  19103. "description": "结算损益",
  19104. "type": "number"
  19105. },
  19106. "reckonpl2": {
  19107. "description": "结算逐笔盈亏",
  19108. "type": "number"
  19109. },
  19110. "reckonprice": {
  19111. "description": "结算价",
  19112. "type": "number"
  19113. },
  19114. "relateduserid": {
  19115. "description": "账户关联用户ID",
  19116. "type": "integer"
  19117. },
  19118. "todaycloseamount": {
  19119. "description": "今平仓额",
  19120. "type": "number"
  19121. },
  19122. "todaycloseqty": {
  19123. "description": "今平仓量",
  19124. "type": "number"
  19125. },
  19126. "todaygoodsgroupspotqty": {
  19127. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  19128. "type": "number"
  19129. },
  19130. "todaymiddlegoodsqty": {
  19131. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  19132. "type": "number"
  19133. },
  19134. "todayopenamount": {
  19135. "description": "今开仓额",
  19136. "type": "number"
  19137. },
  19138. "todayopenqty": {
  19139. "description": "今开仓量",
  19140. "type": "number"
  19141. },
  19142. "userid": {
  19143. "description": "账户所属用户ID",
  19144. "type": "integer"
  19145. }
  19146. }
  19147. },
  19148. "models.Ermcp3Wrstandard": {
  19149. "type": "object",
  19150. "properties": {
  19151. "areauserid": {
  19152. "description": "所属机构",
  19153. "type": "integer"
  19154. },
  19155. "convertfactor": {
  19156. "description": "标仓系数",
  19157. "type": "number"
  19158. },
  19159. "createtime": {
  19160. "description": "创建时间",
  19161. "type": "string"
  19162. },
  19163. "creatorid": {
  19164. "description": "创建人",
  19165. "type": "integer"
  19166. },
  19167. "deliverygoodsid": {
  19168. "description": "现货品种ID",
  19169. "type": "integer"
  19170. },
  19171. "enumdicname": {
  19172. "description": "品类单位名称",
  19173. "type": "string"
  19174. },
  19175. "isvalid": {
  19176. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  19177. "type": "integer"
  19178. },
  19179. "minivalue": {
  19180. "description": "最小变动值",
  19181. "type": "integer"
  19182. },
  19183. "minivaluedp": {
  19184. "description": "最小变动值小数位",
  19185. "type": "integer"
  19186. },
  19187. "realminivalue": {
  19188. "description": "实际最小变动值",
  19189. "type": "integer"
  19190. },
  19191. "realminivaluedp": {
  19192. "description": "实际最小变动值小数位",
  19193. "type": "integer"
  19194. },
  19195. "remark": {
  19196. "description": "备注",
  19197. "type": "string"
  19198. },
  19199. "unitid": {
  19200. "description": "品类单位ID",
  19201. "type": "integer"
  19202. },
  19203. "updatetime": {
  19204. "description": "更新时间",
  19205. "type": "string"
  19206. },
  19207. "wrstandardcode": {
  19208. "description": "品类代码",
  19209. "type": "string"
  19210. },
  19211. "wrstandardid": {
  19212. "description": "品类ID(SEQ_WRSTANDARD)",
  19213. "type": "integer"
  19214. },
  19215. "wrstandardname": {
  19216. "description": "品类名称",
  19217. "type": "string"
  19218. }
  19219. }
  19220. },
  19221. "models.ErmcpAreaSpotDetailModel": {
  19222. "type": "object",
  19223. "properties": {
  19224. "contracttype": {
  19225. "description": "合同类型 1-采购 -1-销售",
  19226. "type": "integer"
  19227. },
  19228. "createtime": {
  19229. "description": "创建时间",
  19230. "type": "string"
  19231. },
  19232. "enumdicname": {
  19233. "description": "现货商品单位名称",
  19234. "type": "string"
  19235. },
  19236. "logtype": {
  19237. "description": "记录类型 1-套保 2-现货合同",
  19238. "type": "integer"
  19239. },
  19240. "qty": {
  19241. "description": "数量",
  19242. "type": "number"
  19243. },
  19244. "recordname": {
  19245. "description": "类型名称",
  19246. "type": "string"
  19247. },
  19248. "relatedid": {
  19249. "description": "套保计划ID/现货合同ID",
  19250. "type": "string"
  19251. },
  19252. "relatedno": {
  19253. "description": "编号",
  19254. "type": "string"
  19255. },
  19256. "strtime": {
  19257. "description": "时间",
  19258. "type": "string"
  19259. },
  19260. "wrstandardcode": {
  19261. "description": "现货商品代码",
  19262. "type": "string"
  19263. },
  19264. "wrstandardname": {
  19265. "description": "现货商品名称",
  19266. "type": "string"
  19267. }
  19268. }
  19269. },
  19270. "models.ErmcpAvalidGoodsGroupModel": {
  19271. "type": "object",
  19272. "properties": {
  19273. "goodsgroupid": {
  19274. "description": "期货品种id",
  19275. "type": "integer"
  19276. },
  19277. "goodsgroupname": {
  19278. "description": "期货品种名称",
  19279. "type": "string"
  19280. },
  19281. "goodunitid": {
  19282. "description": "品种单位id",
  19283. "type": "integer"
  19284. },
  19285. "goodunitname": {
  19286. "description": "品种单位名称",
  19287. "type": "string"
  19288. },
  19289. "outergroupcode": {
  19290. "description": "期货品种代码",
  19291. "type": "string"
  19292. }
  19293. }
  19294. },
  19295. "models.ErmcpBizGroupEx": {
  19296. "type": "object",
  19297. "properties": {
  19298. "acclist": {
  19299. "description": "账号列表",
  19300. "type": "array",
  19301. "items": {
  19302. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  19303. }
  19304. },
  19305. "bizgroupid": {
  19306. "description": "业务分组id",
  19307. "type": "integer"
  19308. },
  19309. "biztype": {
  19310. "description": "业务类型 1-套保 2-套利",
  19311. "type": "integer"
  19312. },
  19313. "wrlist": {
  19314. "description": "现货商品表",
  19315. "type": "array",
  19316. "items": {
  19317. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  19318. }
  19319. }
  19320. }
  19321. },
  19322. "models.ErmcpBizGroupSpotGoods": {
  19323. "type": "object",
  19324. "properties": {
  19325. "areauserid": {
  19326. "description": "所属机构id",
  19327. "type": "integer"
  19328. },
  19329. "bizgroupid": {
  19330. "description": "分组id",
  19331. "type": "integer"
  19332. },
  19333. "biztype": {
  19334. "description": "业务类型 1-套保 2-套利",
  19335. "type": "integer"
  19336. },
  19337. "deliverygoodscode": {
  19338. "description": "现货商品代码",
  19339. "type": "string"
  19340. },
  19341. "deliverygoodsid": {
  19342. "description": "现货商品id",
  19343. "type": "integer"
  19344. },
  19345. "deliverygoodsname": {
  19346. "description": "现货商品名称",
  19347. "type": "string"
  19348. },
  19349. "unitid": {
  19350. "description": "现货商品单位id",
  19351. "type": "integer"
  19352. }
  19353. }
  19354. },
  19355. "models.ErmcpBizGroupTaAccount": {
  19356. "type": "object",
  19357. "properties": {
  19358. "accountid": {
  19359. "description": "账号id",
  19360. "type": "integer"
  19361. },
  19362. "accountname": {
  19363. "description": "账号名称",
  19364. "type": "string"
  19365. },
  19366. "areauserid": {
  19367. "description": "所属机构id",
  19368. "type": "integer"
  19369. },
  19370. "bizgroupid": {
  19371. "description": "业务分组id",
  19372. "type": "integer"
  19373. },
  19374. "ismain": {
  19375. "description": "是否主账号 1-是 0-否",
  19376. "type": "integer"
  19377. }
  19378. }
  19379. },
  19380. "models.ErmcpDGFactoryItem": {
  19381. "type": "object",
  19382. "properties": {
  19383. "areauserid": {
  19384. "description": "用户id",
  19385. "type": "integer"
  19386. },
  19387. "deliverygoodsid": {
  19388. "description": "现货品种ID",
  19389. "type": "integer"
  19390. },
  19391. "dgfactoryitemid": {
  19392. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  19393. "type": "integer"
  19394. },
  19395. "dgfactoryitemtypeid": {
  19396. "description": "要素项类型",
  19397. "type": "integer"
  19398. },
  19399. "dgfactoryitemvalue": {
  19400. "description": "要素项值(类型为仓库时填写仓库名称)",
  19401. "type": "string"
  19402. },
  19403. "isvalid": {
  19404. "description": "是否有效 - 0:无效 1:有效",
  19405. "type": "integer"
  19406. },
  19407. "orderindex": {
  19408. "description": "顺序",
  19409. "type": "integer"
  19410. },
  19411. "warehouseid": {
  19412. "description": "仓库ID(类型为仓库时填写)",
  19413. "type": "integer"
  19414. }
  19415. }
  19416. },
  19417. "models.ErmcpDeliveryGoods": {
  19418. "type": "object",
  19419. "properties": {
  19420. "agreeunit": {
  19421. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  19422. "type": "integer"
  19423. },
  19424. "areauserid": {
  19425. "description": "所属机构",
  19426. "type": "integer"
  19427. },
  19428. "auditflag": {
  19429. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  19430. "type": "integer"
  19431. },
  19432. "categoryid": {
  19433. "description": "类别ID(SEQ_WRCATEGORY)",
  19434. "type": "integer"
  19435. },
  19436. "deliverygoodscode": {
  19437. "description": "现货品种代码",
  19438. "type": "string"
  19439. },
  19440. "deliverygoodsid": {
  19441. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  19442. "type": "integer"
  19443. },
  19444. "deliverygoodsname": {
  19445. "description": "现货品种名称",
  19446. "type": "string"
  19447. },
  19448. "deliverygoodstype": {
  19449. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  19450. "type": "integer"
  19451. },
  19452. "dgstatus": {
  19453. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  19454. "type": "integer"
  19455. },
  19456. "enumdicname": {
  19457. "description": "现货品种单位名称",
  19458. "type": "string"
  19459. },
  19460. "goodsunitid": {
  19461. "description": "现货品种单位ID",
  19462. "type": "integer"
  19463. },
  19464. "isvalid": {
  19465. "description": "是否有效 - 0:无效 1:有效",
  19466. "type": "integer"
  19467. },
  19468. "qtydecimalplace": {
  19469. "description": "成交量小数位",
  19470. "type": "integer"
  19471. },
  19472. "remark": {
  19473. "description": "备注",
  19474. "type": "string"
  19475. },
  19476. "standardqty": {
  19477. "description": "标准数量(库位数量) [标准品特有]",
  19478. "type": "integer"
  19479. },
  19480. "standardqtyrange": {
  19481. "description": "标准数量偏差范围 [标准品特有]",
  19482. "type": "integer"
  19483. }
  19484. }
  19485. },
  19486. "models.ErmcpDeliveryGoodsDetail2": {
  19487. "type": "object",
  19488. "properties": {
  19489. "convertratio": {
  19490. "description": "套保系数(折算系数)",
  19491. "type": "number"
  19492. },
  19493. "data": {
  19494. "description": "现货商品基本信息(交割品种)",
  19495. "type": "object",
  19496. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19497. },
  19498. "gblist": {
  19499. "description": "品牌列表",
  19500. "type": "array",
  19501. "items": {
  19502. "$ref": "#/definitions/models.Ermcp3Brand"
  19503. }
  19504. },
  19505. "gmlist": {
  19506. "description": "品类列表(仓单标准)",
  19507. "type": "array",
  19508. "items": {
  19509. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19510. }
  19511. }
  19512. }
  19513. },
  19514. "models.ErmcpDeliveryGoodsDetailEx": {
  19515. "type": "object",
  19516. "properties": {
  19517. "data": {
  19518. "description": "现货商品基本信息(交割品种)",
  19519. "type": "object",
  19520. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  19521. },
  19522. "gblist": {
  19523. "description": "品牌列表",
  19524. "type": "array",
  19525. "items": {
  19526. "$ref": "#/definitions/models.Ermcp3Brand"
  19527. }
  19528. },
  19529. "gmlist": {
  19530. "description": "品类列表(仓单标准)",
  19531. "type": "array",
  19532. "items": {
  19533. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  19534. }
  19535. },
  19536. "mgList": {
  19537. "description": "套保列表",
  19538. "type": "array",
  19539. "items": {
  19540. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  19541. }
  19542. }
  19543. }
  19544. },
  19545. "models.ErmcpExposureDetailModel": {
  19546. "type": "object",
  19547. "properties": {
  19548. "areauserid": {
  19549. "description": "机构ID",
  19550. "type": "integer"
  19551. },
  19552. "changeQty": {
  19553. "description": "套保变动量",
  19554. "type": "number"
  19555. },
  19556. "contracttype": {
  19557. "description": "现货合同类型 - 1:采购 -1:销售",
  19558. "type": "integer"
  19559. },
  19560. "convertfactor": {
  19561. "description": "标仓系数",
  19562. "type": "number"
  19563. },
  19564. "convertratio": {
  19565. "description": "套保系数",
  19566. "type": "number"
  19567. },
  19568. "createtime": {
  19569. "description": "时间",
  19570. "type": "string"
  19571. },
  19572. "enumdicname": {
  19573. "description": "现货商品单位名称",
  19574. "type": "string"
  19575. },
  19576. "logtype": {
  19577. "description": "类型 - 1:套保计划 2:现货合同",
  19578. "type": "integer"
  19579. },
  19580. "middlegoodsId": {
  19581. "description": "套保商品id",
  19582. "type": "integer"
  19583. },
  19584. "middlegoodscode": {
  19585. "description": "套保商品代码",
  19586. "type": "string"
  19587. },
  19588. "middlegoodsname": {
  19589. "description": "套保商品名称",
  19590. "type": "string"
  19591. },
  19592. "qty": {
  19593. "description": "数量",
  19594. "type": "number"
  19595. },
  19596. "relateNo": {
  19597. "description": "现货合同/套保计划编号",
  19598. "type": "string"
  19599. },
  19600. "wrstandardcode": {
  19601. "description": "现货商品代码",
  19602. "type": "string"
  19603. },
  19604. "wrstandardid": {
  19605. "description": "现货商品ID",
  19606. "type": "integer"
  19607. },
  19608. "wrstandardname": {
  19609. "description": "现货商品名称",
  19610. "type": "string"
  19611. }
  19612. }
  19613. },
  19614. "models.ErmcpExposurePostion": {
  19615. "type": "object",
  19616. "properties": {
  19617. "agreeunit": {
  19618. "description": "合约单位",
  19619. "type": "string"
  19620. },
  19621. "areauserid": {
  19622. "description": "所属机构id",
  19623. "type": "integer"
  19624. },
  19625. "convertratio": {
  19626. "description": "期货品种系数(折算系数)",
  19627. "type": "number"
  19628. },
  19629. "curqty": {
  19630. "description": "当前持仓",
  19631. "type": "integer"
  19632. },
  19633. "diffhedgeqty": {
  19634. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19635. "type": "number"
  19636. },
  19637. "diffqty": {
  19638. "description": "持仓变动量=当前持仓-昨日持仓",
  19639. "type": "integer"
  19640. },
  19641. "goodscode": {
  19642. "description": "商品代码",
  19643. "type": "string"
  19644. },
  19645. "goodsid": {
  19646. "description": "商品id",
  19647. "type": "integer"
  19648. },
  19649. "goodsname": {
  19650. "description": "商品名称",
  19651. "type": "string"
  19652. },
  19653. "middlegoodsid": {
  19654. "description": "套保商品id",
  19655. "type": "integer"
  19656. },
  19657. "ydqty": {
  19658. "description": "昨日持仓",
  19659. "type": "integer"
  19660. }
  19661. }
  19662. },
  19663. "models.ErmcpFuturesCompany": {
  19664. "type": "object",
  19665. "properties": {
  19666. "brokerid": {
  19667. "description": "经纪公司代码",
  19668. "type": "string"
  19669. },
  19670. "channeladdress": {
  19671. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  19672. "type": "string"
  19673. },
  19674. "channelid": {
  19675. "description": "对冲渠道ID",
  19676. "type": "string"
  19677. },
  19678. "createtime": {
  19679. "description": "创建时间",
  19680. "type": "string"
  19681. },
  19682. "creatorid": {
  19683. "description": "创建人",
  19684. "type": "string"
  19685. },
  19686. "fcid": {
  19687. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  19688. "type": "integer"
  19689. },
  19690. "fcname": {
  19691. "description": "期货公司名称",
  19692. "type": "string"
  19693. },
  19694. "isvalid": {
  19695. "description": "是否有效 - 0:无效 1:有效",
  19696. "type": "integer"
  19697. },
  19698. "mhpaddress": {
  19699. "description": "MHP服务地址(IP:Port)",
  19700. "type": "string"
  19701. },
  19702. "riskrulegroupid": {
  19703. "description": "风控规则组ID",
  19704. "type": "string"
  19705. },
  19706. "tradefeetmpid": {
  19707. "description": "手续费模板ID[TradeConfigTmpType为2]",
  19708. "type": "string"
  19709. },
  19710. "trademargintmpid": {
  19711. "description": "保证金模板ID [TradeConfigTmpType为1]",
  19712. "type": "string"
  19713. },
  19714. "traderatetmpid": {
  19715. "description": "汇率模板ID[TradeConfigTmpType为3]",
  19716. "type": "string"
  19717. },
  19718. "updatetime": {
  19719. "description": "更新时间",
  19720. "type": "string"
  19721. },
  19722. "updatorid": {
  19723. "description": "更新人",
  19724. "type": "string"
  19725. }
  19726. }
  19727. },
  19728. "models.ErmcpGGConvertCfg": {
  19729. "type": "object",
  19730. "properties": {
  19731. "convertratio": {
  19732. "description": "折算系数",
  19733. "type": "number"
  19734. },
  19735. "destgoodsgroupid": {
  19736. "description": "目标品种ID",
  19737. "type": "integer"
  19738. },
  19739. "dstcode": {
  19740. "description": "目录品种代码",
  19741. "type": "string"
  19742. },
  19743. "dstexchangecode": {
  19744. "description": "目标期货交易所",
  19745. "type": "string"
  19746. },
  19747. "dstname": {
  19748. "description": "目标品种名称",
  19749. "type": "string"
  19750. },
  19751. "dstunitid": {
  19752. "description": "目标品种单位ID",
  19753. "type": "integer"
  19754. },
  19755. "dstunitidname": {
  19756. "description": "目标品种单位名称",
  19757. "type": "string"
  19758. },
  19759. "modifytime": {
  19760. "description": "修改时间",
  19761. "type": "string"
  19762. },
  19763. "srccode": {
  19764. "description": "源品种代码",
  19765. "type": "string"
  19766. },
  19767. "srcexchangecode": {
  19768. "description": "源期货交易所",
  19769. "type": "string"
  19770. },
  19771. "srcgoodsgroupid": {
  19772. "description": "源品种ID",
  19773. "type": "integer"
  19774. },
  19775. "srcname": {
  19776. "description": "源品种名称",
  19777. "type": "string"
  19778. },
  19779. "srcunitid": {
  19780. "description": "源品种单位ID",
  19781. "type": "integer"
  19782. },
  19783. "srcunitidname": {
  19784. "description": "源品种单位名称",
  19785. "type": "string"
  19786. }
  19787. }
  19788. },
  19789. "models.ErmcpGoods": {
  19790. "type": "object",
  19791. "required": [
  19792. "goodscode",
  19793. "goodsid",
  19794. "goodsname",
  19795. "marketid"
  19796. ],
  19797. "properties": {
  19798. "agreeunit": {
  19799. "description": "合约单位",
  19800. "type": "number"
  19801. },
  19802. "areauserid": {
  19803. "description": "所属机构",
  19804. "type": "integer"
  19805. },
  19806. "auditaccountid": {
  19807. "description": "审核操作员账号",
  19808. "type": "integer"
  19809. },
  19810. "audittime": {
  19811. "description": "审核时间",
  19812. "type": "string"
  19813. },
  19814. "cancelaccountid": {
  19815. "description": "注销操作员账号",
  19816. "type": "integer"
  19817. },
  19818. "canceltime": {
  19819. "description": "注销时间",
  19820. "type": "string"
  19821. },
  19822. "closepricemode": {
  19823. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  19824. "type": "integer"
  19825. },
  19826. "closepriceparam": {
  19827. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  19828. "type": "number"
  19829. },
  19830. "createtime": {
  19831. "description": "创建时间",
  19832. "type": "string"
  19833. },
  19834. "creatorid": {
  19835. "description": "创建人",
  19836. "type": "integer"
  19837. },
  19838. "currencyid": {
  19839. "description": "报价货币ID",
  19840. "type": "integer"
  19841. },
  19842. "cutmode": {
  19843. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  19844. "type": "integer"
  19845. },
  19846. "decimalplace": {
  19847. "description": "报价小数位",
  19848. "type": "integer"
  19849. },
  19850. "delistingdate": {
  19851. "description": "商品退市时间(状态:退市) -- 已作废",
  19852. "type": "string"
  19853. },
  19854. "delistingmode": {
  19855. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  19856. "type": "integer"
  19857. },
  19858. "deliveryflag": {
  19859. "description": "交割标志 - 0:不可交割 1:可交割",
  19860. "type": "integer"
  19861. },
  19862. "enumdicname": {
  19863. "description": "单位名称",
  19864. "type": "string"
  19865. },
  19866. "forceclosemode": {
  19867. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  19868. "type": "integer"
  19869. },
  19870. "forceclosevalue": {
  19871. "description": "定期强平参数 [收益权]",
  19872. "type": "integer"
  19873. },
  19874. "goodscode": {
  19875. "description": "商品代码(内部)",
  19876. "type": "string"
  19877. },
  19878. "goodscurrencyid": {
  19879. "description": "合约货币ID",
  19880. "type": "integer"
  19881. },
  19882. "goodsgroupid": {
  19883. "description": "所属商品组ID",
  19884. "type": "integer"
  19885. },
  19886. "goodsid": {
  19887. "description": "商品ID(自增ID SEQ_GOODS)",
  19888. "type": "integer"
  19889. },
  19890. "goodsname": {
  19891. "description": "商品名称",
  19892. "type": "string"
  19893. },
  19894. "goodsquotetype": {
  19895. "description": "合约报价类型: 1-直接报价 2-间接报价",
  19896. "type": "integer"
  19897. },
  19898. "goodsstatus": {
  19899. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19900. "type": "integer"
  19901. },
  19902. "goodstradetype": {
  19903. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  19904. "type": "integer"
  19905. },
  19906. "goodunitid": {
  19907. "description": "报价单位ID",
  19908. "type": "integer"
  19909. },
  19910. "hasquoter": {
  19911. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  19912. "type": "integer"
  19913. },
  19914. "hqprotecttime": {
  19915. "description": "行情保护时间(秒)",
  19916. "type": "integer"
  19917. },
  19918. "innerdealmode": {
  19919. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  19920. "type": "integer"
  19921. },
  19922. "isbuylimited": {
  19923. "description": "是否限制建仓量 - 0:不限制 1:限制",
  19924. "type": "integer"
  19925. },
  19926. "isvisible": {
  19927. "description": "游客是否可见 - 0:不可见 1:可见",
  19928. "type": "integer"
  19929. },
  19930. "lasttradedate": {
  19931. "description": "最后交易日期(状态:待退市)",
  19932. "type": "string"
  19933. },
  19934. "listingdate": {
  19935. "description": "交易开始日期",
  19936. "type": "string"
  19937. },
  19938. "marketid": {
  19939. "description": "所属市场ID",
  19940. "type": "integer"
  19941. },
  19942. "modifierid": {
  19943. "description": "修改人",
  19944. "type": "integer"
  19945. },
  19946. "modifystatus": {
  19947. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  19948. "type": "integer"
  19949. },
  19950. "modifytime": {
  19951. "description": "修改时间",
  19952. "type": "string"
  19953. },
  19954. "outerdealmode": {
  19955. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  19956. "type": "integer"
  19957. },
  19958. "outgoodscode": {
  19959. "description": "商品代码(外部)",
  19960. "type": "string"
  19961. },
  19962. "pictureurl": {
  19963. "description": "商品图片",
  19964. "type": "string"
  19965. },
  19966. "qtydecimalplace": {
  19967. "description": "成交量小数位",
  19968. "type": "integer"
  19969. },
  19970. "quotegear": {
  19971. "description": "行情档位(1-10)",
  19972. "type": "integer"
  19973. },
  19974. "quoteminunit": {
  19975. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19976. "type": "integer"
  19977. },
  19978. "quoteshowtype": {
  19979. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  19980. "type": "integer"
  19981. },
  19982. "quoteshowtypeinterval": {
  19983. "description": "行情报价间隔时间(秒)(成交价时为0)",
  19984. "type": "integer"
  19985. },
  19986. "relatedgoodsid": {
  19987. "description": "关联参考商品ID",
  19988. "type": "integer"
  19989. },
  19990. "remark": {
  19991. "description": "备注",
  19992. "type": "string"
  19993. },
  19994. "trademode": {
  19995. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19996. "type": "integer"
  19997. }
  19998. }
  19999. },
  20000. "models.ErmcpGoodsBrand": {
  20001. "type": "object",
  20002. "properties": {
  20003. "areauserid": {
  20004. "description": "所属机构",
  20005. "type": "integer"
  20006. },
  20007. "brandid": {
  20008. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  20009. "type": "integer"
  20010. },
  20011. "brandname": {
  20012. "description": "品牌名称",
  20013. "type": "string"
  20014. },
  20015. "createtime": {
  20016. "description": "创建时间",
  20017. "type": "string"
  20018. },
  20019. "creatorid": {
  20020. "description": "创建人",
  20021. "type": "integer"
  20022. },
  20023. "creatorsrc": {
  20024. "description": "创建人来源 - 1:管理端 2:终端",
  20025. "type": "integer"
  20026. },
  20027. "deliverygoodsid": {
  20028. "description": "现货品种ID",
  20029. "type": "integer"
  20030. },
  20031. "isvalid": {
  20032. "description": "是否有效 - 0:无效 1:有效",
  20033. "type": "integer"
  20034. },
  20035. "updatetime": {
  20036. "description": "更新时间",
  20037. "type": "string"
  20038. },
  20039. "updatorid": {
  20040. "description": "更新人",
  20041. "type": "integer"
  20042. },
  20043. "updatorsrc": {
  20044. "description": "更新人来源 - 1:管理端 2:终端",
  20045. "type": "integer"
  20046. },
  20047. "wrstandardid": {
  20048. "description": "现货商品ID",
  20049. "type": "integer"
  20050. }
  20051. }
  20052. },
  20053. "models.ErmcpGoodsModel": {
  20054. "type": "object",
  20055. "properties": {
  20056. "areauserid": {
  20057. "description": "所属机构",
  20058. "type": "integer"
  20059. },
  20060. "convertfactor": {
  20061. "description": "标仓系数",
  20062. "type": "number"
  20063. },
  20064. "createtime": {
  20065. "description": "创建时间",
  20066. "type": "string"
  20067. },
  20068. "creatorid": {
  20069. "description": "创建人",
  20070. "type": "integer"
  20071. },
  20072. "creatorsrc": {
  20073. "description": "创建人来源 - 1:管理端 2:终端",
  20074. "type": "integer"
  20075. },
  20076. "deliverygoodsid": {
  20077. "description": "现货品种ID",
  20078. "type": "integer"
  20079. },
  20080. "isvalid": {
  20081. "description": "是否有效 - 0:无效 1:有效",
  20082. "type": "integer"
  20083. },
  20084. "modelid": {
  20085. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  20086. "type": "integer"
  20087. },
  20088. "modelname": {
  20089. "description": "型号名称",
  20090. "type": "string"
  20091. },
  20092. "updatetime": {
  20093. "description": "更新时间",
  20094. "type": "string"
  20095. },
  20096. "updatorid": {
  20097. "description": "更新人",
  20098. "type": "integer"
  20099. },
  20100. "updatorsrc": {
  20101. "description": "更新人来源 - 1:管理端 2:终端",
  20102. "type": "integer"
  20103. },
  20104. "wrstandardid": {
  20105. "description": "现货商品ID",
  20106. "type": "integer"
  20107. }
  20108. }
  20109. },
  20110. "models.ErmcpHedgePosition": {
  20111. "type": "object",
  20112. "properties": {
  20113. "accountid": {
  20114. "description": "资金账号[外部母账户]",
  20115. "type": "integer"
  20116. },
  20117. "curbuyposition": {
  20118. "description": "期末买头寸",
  20119. "type": "integer"
  20120. },
  20121. "cursellposition": {
  20122. "description": "期末卖头寸",
  20123. "type": "integer"
  20124. },
  20125. "curtdbuyposition": {
  20126. "description": "期末今日买头寸",
  20127. "type": "integer"
  20128. },
  20129. "curtdsellposition": {
  20130. "description": "期末今日卖头寸",
  20131. "type": "integer"
  20132. },
  20133. "curydbuyposition": {
  20134. "description": "期末上日买头寸",
  20135. "type": "integer"
  20136. },
  20137. "curydsellposition": {
  20138. "description": "期末上日卖头寸",
  20139. "type": "integer"
  20140. },
  20141. "decreaseqty": {
  20142. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  20143. "type": "integer"
  20144. },
  20145. "fretdbuyposition": {
  20146. "description": "冻结今日买头寸",
  20147. "type": "integer"
  20148. },
  20149. "fretdsellposition": {
  20150. "description": "冻结今日卖头寸",
  20151. "type": "integer"
  20152. },
  20153. "freydbuyposition": {
  20154. "description": "冻结上日买头寸",
  20155. "type": "integer"
  20156. },
  20157. "freydsellposition": {
  20158. "description": "冻结上日卖头寸",
  20159. "type": "integer"
  20160. },
  20161. "goodscode": {
  20162. "description": "商品代码",
  20163. "type": "string"
  20164. },
  20165. "goodsid": {
  20166. "description": "商品id",
  20167. "type": "integer"
  20168. },
  20169. "goodsname": {
  20170. "description": "商品名称",
  20171. "type": "string"
  20172. },
  20173. "hedgeaccountcode": {
  20174. "description": "对冲账号",
  20175. "type": "string"
  20176. },
  20177. "hedgegoodsid": {
  20178. "description": "对冲合约ID",
  20179. "type": "integer"
  20180. },
  20181. "increaseqty": {
  20182. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  20183. "type": "integer"
  20184. },
  20185. "marketid": {
  20186. "description": "市场ID",
  20187. "type": "integer"
  20188. },
  20189. "relateduserid": {
  20190. "description": "关联用户id",
  20191. "type": "integer"
  20192. },
  20193. "totalcurqty": {
  20194. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  20195. "type": "integer"
  20196. },
  20197. "totalydqty": {
  20198. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  20199. "type": "integer"
  20200. },
  20201. "tradedate": {
  20202. "description": "交易日(yyyyMMdd)",
  20203. "type": "string"
  20204. },
  20205. "ydbuyposition": {
  20206. "description": "期初买头寸",
  20207. "type": "integer"
  20208. },
  20209. "ydsellposition": {
  20210. "description": "期初卖头寸",
  20211. "type": "integer"
  20212. }
  20213. }
  20214. },
  20215. "models.ErmcpHedgePositionDetail": {
  20216. "type": "object",
  20217. "properties": {
  20218. "buyorsell": {
  20219. "description": "买卖方向 0-买 1-卖",
  20220. "type": "integer"
  20221. },
  20222. "channelbuildtype": {
  20223. "description": "开平方向 1-建仓 2-平仓",
  20224. "type": "integer"
  20225. },
  20226. "goodscode": {
  20227. "description": "商品代码",
  20228. "type": "string"
  20229. },
  20230. "goodsname": {
  20231. "description": "商品名称",
  20232. "type": "string"
  20233. },
  20234. "hedgegoodsid": {
  20235. "description": "商品id",
  20236. "type": "integer"
  20237. },
  20238. "tradeqty": {
  20239. "description": "数量(成交数量)",
  20240. "type": "integer"
  20241. },
  20242. "tradetime": {
  20243. "description": "时间(成交时间)",
  20244. "type": "string"
  20245. }
  20246. }
  20247. },
  20248. "models.ErmcpHisExposure": {
  20249. "type": "object",
  20250. "properties": {
  20251. "needhedgeexposoure": {
  20252. "description": "应套保敞口",
  20253. "type": "number"
  20254. },
  20255. "reckondate": {
  20256. "description": "日照时期(yyyyMMdd)",
  20257. "type": "string"
  20258. },
  20259. "totalexposure": {
  20260. "description": "总敞口",
  20261. "type": "number"
  20262. }
  20263. }
  20264. },
  20265. "models.ErmcpHisExposureS": {
  20266. "type": "object",
  20267. "properties": {
  20268. "data": {
  20269. "description": "历史敞口",
  20270. "type": "array",
  20271. "items": {
  20272. "$ref": "#/definitions/models.ErmcpHisExposure"
  20273. }
  20274. },
  20275. "enumdicname": {
  20276. "description": "单位名称",
  20277. "type": "string"
  20278. },
  20279. "middlegoodscode": {
  20280. "description": "套保品种代码",
  20281. "type": "string"
  20282. },
  20283. "middlegoodsid": {
  20284. "description": "套保品种ID",
  20285. "type": "integer"
  20286. },
  20287. "middlegoodsname": {
  20288. "description": "套保品种名称",
  20289. "type": "string"
  20290. }
  20291. }
  20292. },
  20293. "models.ErmcpLoginTaAccount": {
  20294. "type": "object",
  20295. "properties": {
  20296. "accountid": {
  20297. "description": "账号id",
  20298. "type": "integer"
  20299. },
  20300. "accountname": {
  20301. "description": "账号名称",
  20302. "type": "string"
  20303. }
  20304. }
  20305. },
  20306. "models.ErmcpLoginUser": {
  20307. "type": "object",
  20308. "properties": {
  20309. "acclist": {
  20310. "description": "关联资金账号",
  20311. "type": "array",
  20312. "items": {
  20313. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  20314. }
  20315. },
  20316. "accountname": {
  20317. "description": "用户名称",
  20318. "type": "string"
  20319. },
  20320. "clientroleid": {
  20321. "description": "角色id(usertype=2)",
  20322. "type": "integer"
  20323. },
  20324. "createtime": {
  20325. "description": "创建时间",
  20326. "type": "string"
  20327. },
  20328. "logincode": {
  20329. "description": "登录代码",
  20330. "type": "string"
  20331. },
  20332. "loginid": {
  20333. "description": "登录id(LOGINID)",
  20334. "type": "integer"
  20335. },
  20336. "loginname": {
  20337. "description": "登录名称(loginaccount表中的accountname字段)",
  20338. "type": "string"
  20339. },
  20340. "loginstatus": {
  20341. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  20342. "type": "integer"
  20343. },
  20344. "memberuserid": {
  20345. "description": "所属会员id",
  20346. "type": "integer"
  20347. },
  20348. "mobile": {
  20349. "description": "手机号",
  20350. "type": "string"
  20351. },
  20352. "modifytime": {
  20353. "description": "修改时间",
  20354. "type": "string"
  20355. },
  20356. "password": {
  20357. "description": "密码(不可解密)",
  20358. "type": "string"
  20359. },
  20360. "rolename": {
  20361. "description": "角色名称",
  20362. "type": "string"
  20363. },
  20364. "rolestatus": {
  20365. "description": "角色状态 1-启用 2-停用",
  20366. "type": "integer"
  20367. },
  20368. "roletype": {
  20369. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  20370. "type": "string"
  20371. },
  20372. "userid": {
  20373. "description": "用户id",
  20374. "type": "integer"
  20375. },
  20376. "usertype": {
  20377. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  20378. "type": "integer"
  20379. }
  20380. }
  20381. },
  20382. "models.ErmcpLoginUserEx": {
  20383. "type": "object",
  20384. "properties": {
  20385. "accountstatus": {
  20386. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  20387. "type": "integer"
  20388. },
  20389. "mobile": {
  20390. "description": "手机号",
  20391. "type": "string"
  20392. },
  20393. "querytype": {
  20394. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  20395. "type": "integer"
  20396. },
  20397. "roleid": {
  20398. "description": "角色id(交易账户-\u003e用户id)",
  20399. "type": "integer"
  20400. },
  20401. "rolename": {
  20402. "description": "角色名称(交易账户-\u003e用户名称)",
  20403. "type": "string"
  20404. },
  20405. "userlist": {
  20406. "description": "用户列表",
  20407. "type": "array",
  20408. "items": {
  20409. "$ref": "#/definitions/models.ErmcpLoginUser"
  20410. }
  20411. },
  20412. "usertype": {
  20413. "description": "用户类型 2-机构 7-企业成员(云平台)",
  20414. "type": "integer"
  20415. }
  20416. }
  20417. },
  20418. "models.ErmcpMiddleGoodsChangeLog": {
  20419. "type": "object",
  20420. "properties": {
  20421. "aftervalue": {
  20422. "description": "变更后",
  20423. "type": "number"
  20424. },
  20425. "applyid": {
  20426. "description": "操作人",
  20427. "type": "integer"
  20428. },
  20429. "applyname": {
  20430. "description": "操作人名称",
  20431. "type": "string"
  20432. },
  20433. "applysrc": {
  20434. "description": "操作来源 - 1:管理端 2:终端",
  20435. "type": "integer"
  20436. },
  20437. "beforevalue": {
  20438. "description": "变更前",
  20439. "type": "number"
  20440. },
  20441. "changelogtype": {
  20442. "description": "变更流水类型 - 1:套保比率变更",
  20443. "type": "integer"
  20444. },
  20445. "handlestatus": {
  20446. "description": "处理状态",
  20447. "type": "integer"
  20448. },
  20449. "logdatetime": {
  20450. "description": "流水日期",
  20451. "type": "string"
  20452. },
  20453. "logid": {
  20454. "description": "流水ID",
  20455. "type": "integer"
  20456. },
  20457. "logremark": {
  20458. "description": "流水备注",
  20459. "type": "string"
  20460. },
  20461. "middlegoodsid": {
  20462. "description": "套保品种ID",
  20463. "type": "integer"
  20464. },
  20465. "tradedate": {
  20466. "description": "交易日(yyyyMMdd)",
  20467. "type": "string"
  20468. },
  20469. "updatetime": {
  20470. "description": "更新时间",
  20471. "type": "string"
  20472. }
  20473. }
  20474. },
  20475. "models.ErmcpMiddleGoodsDetail": {
  20476. "type": "object",
  20477. "properties": {
  20478. "cvList": {
  20479. "description": "期货品种折算列表",
  20480. "type": "array",
  20481. "items": {
  20482. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20483. }
  20484. },
  20485. "mg": {
  20486. "description": "套保品种基本信息",
  20487. "type": "object",
  20488. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20489. },
  20490. "wrcList": {
  20491. "description": "现货品种列表(现货商品折算配置)",
  20492. "type": "array",
  20493. "items": {
  20494. "$ref": "#/definitions/models.WRSConverTDetail"
  20495. }
  20496. }
  20497. }
  20498. },
  20499. "models.ErmcpMiddleGoodsModel": {
  20500. "type": "object",
  20501. "properties": {
  20502. "areauserid": {
  20503. "description": "机构用户ID",
  20504. "type": "integer"
  20505. },
  20506. "createtime": {
  20507. "description": "修改时间",
  20508. "type": "string"
  20509. },
  20510. "enumdicname": {
  20511. "description": "单位名称",
  20512. "type": "string"
  20513. },
  20514. "evaluateratio": {
  20515. "description": "估价系数",
  20516. "type": "number"
  20517. },
  20518. "goodsgroupid": {
  20519. "description": "关联期货品种ID",
  20520. "type": "integer"
  20521. },
  20522. "goodsunitid": {
  20523. "description": "单位ID",
  20524. "type": "integer"
  20525. },
  20526. "isvalid": {
  20527. "description": "状态 0-无效(停用) 1-有效(正常)",
  20528. "type": "integer"
  20529. },
  20530. "middlegoodscode": {
  20531. "description": "套保品种代码",
  20532. "type": "string"
  20533. },
  20534. "middlegoodsid": {
  20535. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20536. "type": "integer"
  20537. },
  20538. "middlegoodsname": {
  20539. "description": "套保品种名称",
  20540. "type": "string"
  20541. },
  20542. "modifytime": {
  20543. "description": "修改时间",
  20544. "type": "string"
  20545. },
  20546. "needarbitrageratio": {
  20547. "description": "套利比例",
  20548. "type": "number"
  20549. },
  20550. "needhedgeratio": {
  20551. "description": "套保比率",
  20552. "type": "number"
  20553. },
  20554. "qtydecimalplace": {
  20555. "description": "数量小数位",
  20556. "type": "integer"
  20557. },
  20558. "relatedgoodsid": {
  20559. "description": "关联交易商品ID",
  20560. "type": "integer"
  20561. },
  20562. "relatedgoodstype": {
  20563. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20564. "type": "integer"
  20565. },
  20566. "remark": {
  20567. "description": "备注",
  20568. "type": "string"
  20569. }
  20570. }
  20571. },
  20572. "models.ErmcpMiddlegoodsRelateGoods": {
  20573. "type": "object",
  20574. "properties": {
  20575. "agreeunit": {
  20576. "description": "合约乘数",
  20577. "type": "number"
  20578. },
  20579. "convertratio": {
  20580. "description": "折算系数",
  20581. "type": "number"
  20582. },
  20583. "enumdicname": {
  20584. "description": "单位名称(交易商品)",
  20585. "type": "string"
  20586. },
  20587. "goodscode": {
  20588. "description": "交易商品代码",
  20589. "type": "string"
  20590. },
  20591. "goodsgroupid": {
  20592. "description": "交易品种id",
  20593. "type": "integer"
  20594. },
  20595. "goodsid": {
  20596. "description": "商品Id",
  20597. "type": "integer"
  20598. },
  20599. "goodsname": {
  20600. "description": "交易商品名称",
  20601. "type": "string"
  20602. },
  20603. "goodunitid": {
  20604. "description": "交易商品单位id",
  20605. "type": "integer"
  20606. },
  20607. "middlegoodsid": {
  20608. "description": "套保商品id",
  20609. "type": "integer"
  20610. },
  20611. "middlegoodsname": {
  20612. "description": "套保商品名称",
  20613. "type": "string"
  20614. },
  20615. "middlegoodsswcode": {
  20616. "description": "套保商品代码",
  20617. "type": "string"
  20618. },
  20619. "needarbitrageratio": {
  20620. "description": "应套利比例",
  20621. "type": "number"
  20622. },
  20623. "needhedgeratio": {
  20624. "description": "应套保比例",
  20625. "type": "number"
  20626. }
  20627. }
  20628. },
  20629. "models.ErmcpOPLogModel": {
  20630. "type": "object",
  20631. "properties": {
  20632. "aftervalue": {
  20633. "description": "变更后",
  20634. "type": "number"
  20635. },
  20636. "applyid": {
  20637. "description": "操作人ID",
  20638. "type": "string"
  20639. },
  20640. "applyname": {
  20641. "description": "操作人名称",
  20642. "type": "string"
  20643. },
  20644. "beforevalue": {
  20645. "description": "变更前",
  20646. "type": "number"
  20647. },
  20648. "biztype": {
  20649. "description": "业务类型 - 1:套保计划 2:现货合同",
  20650. "type": "integer"
  20651. },
  20652. "contracttype": {
  20653. "description": "现货合同类型 - 1:采购 -1:销售",
  20654. "type": "integer"
  20655. },
  20656. "logvalue": {
  20657. "description": "数值",
  20658. "type": "number"
  20659. },
  20660. "operatelogtype": {
  20661. "description": "操作流水类型",
  20662. "type": "integer"
  20663. },
  20664. "operatelogtypedesc": {
  20665. "description": "操作流水类型名称",
  20666. "type": "string"
  20667. },
  20668. "relatedid": {
  20669. "description": "现货合同ID\\套保计划",
  20670. "type": "string"
  20671. },
  20672. "updatetime": {
  20673. "description": "更新时间",
  20674. "type": "string"
  20675. }
  20676. }
  20677. },
  20678. "models.ErmcpPendingAudit": {
  20679. "type": "object",
  20680. "properties": {
  20681. "areastockqty": {
  20682. "description": "待审核数量: 库存申请",
  20683. "type": "integer"
  20684. },
  20685. "businessdjqty": {
  20686. "description": "待审核数量: 点价",
  20687. "type": "integer"
  20688. },
  20689. "businessfpqty": {
  20690. "description": "待审核数量: 发票",
  20691. "type": "integer"
  20692. },
  20693. "businessjsqty": {
  20694. "description": "待审核数量: 结算",
  20695. "type": "integer"
  20696. },
  20697. "businesskxqty": {
  20698. "description": "待审核数量: 款项",
  20699. "type": "integer"
  20700. },
  20701. "hedgeplanqty": {
  20702. "description": "待审核数量: 套保计划",
  20703. "type": "integer"
  20704. },
  20705. "spotcontractqty": {
  20706. "description": "待审核数量: 现货合同",
  20707. "type": "integer"
  20708. },
  20709. "userqty": {
  20710. "description": "待审核数量: 用户",
  20711. "type": "integer"
  20712. }
  20713. }
  20714. },
  20715. "models.ErmcpRealExposureModel": {
  20716. "type": "object",
  20717. "properties": {
  20718. "AreaUserID": {
  20719. "description": "所属机构",
  20720. "type": "integer"
  20721. },
  20722. "BuyFutureQty": {
  20723. "description": "买入期货数量",
  20724. "type": "number"
  20725. },
  20726. "BuyPlanQty": {
  20727. "description": "采购计划数量",
  20728. "type": "number"
  20729. },
  20730. "BuyPricedQty": {
  20731. "description": "采购合同已定价数量",
  20732. "type": "number"
  20733. },
  20734. "MiddleGoodsCode": {
  20735. "description": "套保品种代码",
  20736. "type": "string"
  20737. },
  20738. "MiddleGoodsHedgeRatio": {
  20739. "description": "套保比例",
  20740. "type": "number"
  20741. },
  20742. "MiddleGoodsID": {
  20743. "description": "套保品种",
  20744. "type": "integer"
  20745. },
  20746. "MiddleGoodsName": {
  20747. "description": "套保品种名称",
  20748. "type": "string"
  20749. },
  20750. "NeedHedgeExposoure": {
  20751. "description": "应套保敞口(套保敞口)",
  20752. "type": "number"
  20753. },
  20754. "NeedHedgeRatio": {
  20755. "description": "应套保敞口比例",
  20756. "type": "number"
  20757. },
  20758. "OriBuyFutureQty": {
  20759. "description": "期初买入期货数量",
  20760. "type": "number"
  20761. },
  20762. "OriBuyPlanQty": {
  20763. "description": "期初采购计划数量",
  20764. "type": "number"
  20765. },
  20766. "OriBuyPricedQty": {
  20767. "description": "期初采购合同已定价数量",
  20768. "type": "number"
  20769. },
  20770. "OriSellFutureQty": {
  20771. "description": "期初卖出期货数量",
  20772. "type": "number"
  20773. },
  20774. "OriSellPlanQty": {
  20775. "description": "期初销售计划数量",
  20776. "type": "number"
  20777. },
  20778. "OriSellPricedQty": {
  20779. "description": "期初销售合同已定价数量",
  20780. "type": "number"
  20781. },
  20782. "SellFutureQty": {
  20783. "description": "卖出期货数量",
  20784. "type": "number"
  20785. },
  20786. "SellPlanQty": {
  20787. "description": "销售计划数量",
  20788. "type": "number"
  20789. },
  20790. "SellPricedQty": {
  20791. "description": "销售合同已定价数量",
  20792. "type": "number"
  20793. },
  20794. "TotalExposure": {
  20795. "description": "总敞口",
  20796. "type": "number"
  20797. },
  20798. "TotalFutureQty": {
  20799. "description": "期货总量",
  20800. "type": "number"
  20801. },
  20802. "TotalHedgeRatio": {
  20803. "description": "敞口比例",
  20804. "type": "number"
  20805. },
  20806. "TotalNeedHedgeQty": {
  20807. "description": "应套保总量(现货应套保总量)",
  20808. "type": "number"
  20809. },
  20810. "TotalSpotQty": {
  20811. "description": "现货总量",
  20812. "type": "number"
  20813. },
  20814. "arbitrageqty": {
  20815. "description": "套利量",
  20816. "type": "number"
  20817. },
  20818. "diffArbitrageQty": {
  20819. "description": "套利变动量",
  20820. "type": "number"
  20821. },
  20822. "diffExposoureQty": {
  20823. "description": "变动量(套保敞口)",
  20824. "type": "number"
  20825. },
  20826. "diffFutuQty": {
  20827. "description": "变动量(期货总量)",
  20828. "type": "number"
  20829. },
  20830. "diffHedgeQty": {
  20831. "description": "套保变动量",
  20832. "type": "number"
  20833. },
  20834. "diffQty": {
  20835. "description": "变动量(总敞口)",
  20836. "type": "number"
  20837. },
  20838. "diffSpotHedgeQty": {
  20839. "description": "变动量(现货应套保总量)",
  20840. "type": "number"
  20841. },
  20842. "diffSpotQty": {
  20843. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  20844. "type": "number"
  20845. },
  20846. "enumdicname": {
  20847. "description": "单位名称",
  20848. "type": "string"
  20849. },
  20850. "hedgeqty": {
  20851. "description": "套保量",
  20852. "type": "number"
  20853. },
  20854. "needarbitrageqty": {
  20855. "description": "应套利量",
  20856. "type": "number"
  20857. },
  20858. "needarbitrageratio": {
  20859. "description": "套利比例",
  20860. "type": "number"
  20861. },
  20862. "needhedgeqty": {
  20863. "description": "应套保量",
  20864. "type": "number"
  20865. },
  20866. "oriTotalFutuQty": {
  20867. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  20868. "type": "number"
  20869. },
  20870. "oriTotalSpotQty": {
  20871. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  20872. "type": "number"
  20873. },
  20874. "oriarbitrageqty": {
  20875. "description": "期初套利量",
  20876. "type": "number"
  20877. },
  20878. "orihedgeqty": {
  20879. "description": "期初套保量",
  20880. "type": "number"
  20881. },
  20882. "orineedhedgeexposoure": {
  20883. "description": "期初套保敞口",
  20884. "type": "number"
  20885. },
  20886. "oritotalexposure": {
  20887. "description": "期初总敞口",
  20888. "type": "number"
  20889. },
  20890. "oritotalfutureqty": {
  20891. "description": "期初期货总量",
  20892. "type": "number"
  20893. },
  20894. "oritotalneedhedgeqty": {
  20895. "description": "期初现货应套保量",
  20896. "type": "number"
  20897. }
  20898. }
  20899. },
  20900. "models.ErmcpRole": {
  20901. "type": "object",
  20902. "properties": {
  20903. "areauserid": {
  20904. "description": "所属机构",
  20905. "type": "integer"
  20906. },
  20907. "autoid": {
  20908. "description": "角色ID(自增ID)",
  20909. "type": "integer"
  20910. },
  20911. "modifierid": {
  20912. "description": "修改人(创建人)",
  20913. "type": "integer"
  20914. },
  20915. "modifiername": {
  20916. "description": "修改人名称",
  20917. "type": "string"
  20918. },
  20919. "modifytime": {
  20920. "description": "修改时间(创建时间)",
  20921. "type": "string"
  20922. },
  20923. "rolename": {
  20924. "description": "角色名称",
  20925. "type": "string"
  20926. },
  20927. "rolestatus": {
  20928. "description": "角色状态 - 1:启用 2:停用",
  20929. "type": "integer"
  20930. },
  20931. "roletype": {
  20932. "description": "角色类型 - 1- 管理端 2- 交易端",
  20933. "type": "integer"
  20934. }
  20935. }
  20936. },
  20937. "models.ErmcpRoleMenu": {
  20938. "type": "object",
  20939. "properties": {
  20940. "iconame": {
  20941. "description": "菜单图标",
  20942. "type": "string"
  20943. },
  20944. "ishadrole": {
  20945. "description": "是否有权限",
  20946. "type": "boolean"
  20947. },
  20948. "menutype": {
  20949. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  20950. "type": "integer"
  20951. },
  20952. "parentcode": {
  20953. "description": "上级资源代码",
  20954. "type": "string"
  20955. },
  20956. "remark": {
  20957. "description": "菜单备注",
  20958. "type": "string"
  20959. },
  20960. "resourcecode": {
  20961. "description": "菜单代码",
  20962. "type": "string"
  20963. },
  20964. "resourcelevel": {
  20965. "description": "级别",
  20966. "type": "integer"
  20967. },
  20968. "resourcename": {
  20969. "description": "菜单名称",
  20970. "type": "string"
  20971. },
  20972. "roleid": {
  20973. "description": "角色id",
  20974. "type": "integer"
  20975. },
  20976. "sort": {
  20977. "description": "排序",
  20978. "type": "integer"
  20979. },
  20980. "url": {
  20981. "description": "URL",
  20982. "type": "string"
  20983. },
  20984. "userid": {
  20985. "description": "用户id",
  20986. "type": "integer"
  20987. }
  20988. }
  20989. },
  20990. "models.ErmcpRoleMenuEx": {
  20991. "type": "object",
  20992. "properties": {
  20993. "menu": {
  20994. "description": "父级菜单",
  20995. "type": "object",
  20996. "$ref": "#/definitions/models.ErmcpRoleMenu"
  20997. },
  20998. "subMenu": {
  20999. "description": "子级菜单",
  21000. "type": "array",
  21001. "items": {
  21002. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  21003. }
  21004. }
  21005. }
  21006. },
  21007. "models.ErmcpTaAccount": {
  21008. "type": "object",
  21009. "properties": {
  21010. "accountid": {
  21011. "description": "账户id",
  21012. "type": "integer"
  21013. },
  21014. "accountname": {
  21015. "description": "账户名称",
  21016. "type": "string"
  21017. },
  21018. "currencyid": {
  21019. "description": "币种id",
  21020. "type": "integer"
  21021. },
  21022. "hedgeaccountcode": {
  21023. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21024. "type": "string"
  21025. },
  21026. "ismain": {
  21027. "description": "是否主账户 0-否 1-是",
  21028. "type": "integer"
  21029. },
  21030. "parentaccountid": {
  21031. "description": "父账户id",
  21032. "type": "integer"
  21033. },
  21034. "relateduserid": {
  21035. "description": "关联userid",
  21036. "type": "integer"
  21037. },
  21038. "tradefeetmpid": {
  21039. "description": "手续费模板id",
  21040. "type": "integer"
  21041. },
  21042. "tradefeetmpname": {
  21043. "description": "手续费模板名称",
  21044. "type": "string"
  21045. },
  21046. "trademargintmpid": {
  21047. "description": "保证金模板id",
  21048. "type": "integer"
  21049. },
  21050. "trademargintmpname": {
  21051. "description": "保证金模板名称",
  21052. "type": "string"
  21053. },
  21054. "traderatetmpid": {
  21055. "description": "汇率模板id",
  21056. "type": "integer"
  21057. },
  21058. "traderatetmpname": {
  21059. "description": "汇率模板名称",
  21060. "type": "string"
  21061. },
  21062. "tradestatus": {
  21063. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21064. "type": "integer"
  21065. },
  21066. "userid": {
  21067. "description": "用户id",
  21068. "type": "integer"
  21069. }
  21070. }
  21071. },
  21072. "models.ErmcpTaAccountEx": {
  21073. "type": "object",
  21074. "properties": {
  21075. "mainAcc": {
  21076. "description": "主账号",
  21077. "type": "object",
  21078. "$ref": "#/definitions/models.ErmcpTaAccountM"
  21079. },
  21080. "subacclist": {
  21081. "description": "子账号列表",
  21082. "type": "array",
  21083. "items": {
  21084. "$ref": "#/definitions/models.ErmcpTaAccount"
  21085. }
  21086. }
  21087. }
  21088. },
  21089. "models.ErmcpTaAccountInfo": {
  21090. "type": "object",
  21091. "properties": {
  21092. "accountid": {
  21093. "description": "资金账户ID",
  21094. "type": "integer"
  21095. },
  21096. "accountname": {
  21097. "description": "账户名称",
  21098. "type": "string"
  21099. },
  21100. "balance": {
  21101. "description": "期初余额",
  21102. "type": "number"
  21103. },
  21104. "capitalbalance": {
  21105. "description": "本金余额[外部子账户实际出入金余额]",
  21106. "type": "number"
  21107. },
  21108. "closepl": {
  21109. "description": "今日平仓盈亏",
  21110. "type": "number"
  21111. },
  21112. "creditdecrease": {
  21113. "description": "今日授信减少",
  21114. "type": "number"
  21115. },
  21116. "creditincrease": {
  21117. "description": "今日授信增加",
  21118. "type": "number"
  21119. },
  21120. "curdebt": {
  21121. "description": "期末欠款",
  21122. "type": "number"
  21123. },
  21124. "currencyid": {
  21125. "description": "货币ID",
  21126. "type": "integer"
  21127. },
  21128. "currentbalance": {
  21129. "description": "期末余额",
  21130. "type": "number"
  21131. },
  21132. "freezecharge": {
  21133. "description": "手续费冻结",
  21134. "type": "number"
  21135. },
  21136. "freezemargin": {
  21137. "description": "冻结保证金",
  21138. "type": "number"
  21139. },
  21140. "fromaccountid": {
  21141. "description": "所属上级账户",
  21142. "type": "integer"
  21143. },
  21144. "inamount": {
  21145. "description": "今日入金金额(包括三方入金)",
  21146. "type": "number"
  21147. },
  21148. "ismain": {
  21149. "description": "是否母账号 0:不是母账户 1:是母账户",
  21150. "type": "integer"
  21151. },
  21152. "mortgagecredit": {
  21153. "description": "授信金额",
  21154. "type": "number"
  21155. },
  21156. "oridebt": {
  21157. "description": "期初欠款",
  21158. "type": "number"
  21159. },
  21160. "orifreezecharge": {
  21161. "description": "期初手续费冻结",
  21162. "type": "number"
  21163. },
  21164. "orifreezemargin": {
  21165. "description": "期初冻结保证金",
  21166. "type": "number"
  21167. },
  21168. "orimortgagecredit": {
  21169. "description": "期初授信金额",
  21170. "type": "number"
  21171. },
  21172. "oriothercredit": {
  21173. "description": "期初其它授信金额",
  21174. "type": "number"
  21175. },
  21176. "oriotherfreezemargin": {
  21177. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21178. "type": "number"
  21179. },
  21180. "orioutamountfreeze": {
  21181. "description": "期初出金冻结",
  21182. "type": "number"
  21183. },
  21184. "oriusedmargin": {
  21185. "description": "期初占用保证金",
  21186. "type": "number"
  21187. },
  21188. "othercredit": {
  21189. "description": "其它授信金额",
  21190. "type": "number"
  21191. },
  21192. "othercreditdecrease": {
  21193. "description": "今日其它授信减少",
  21194. "type": "number"
  21195. },
  21196. "othercreditincrease": {
  21197. "description": "今日其它授信增加",
  21198. "type": "number"
  21199. },
  21200. "otherfreezemargin": {
  21201. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21202. "type": "number"
  21203. },
  21204. "outamount": {
  21205. "description": "今日出金金额(包括三方出金)",
  21206. "type": "number"
  21207. },
  21208. "outamountfreeze": {
  21209. "description": "出金冻结",
  21210. "type": "number"
  21211. },
  21212. "outthreshold": {
  21213. "description": "出金阈值",
  21214. "type": "number"
  21215. },
  21216. "parentaccountid": {
  21217. "description": "所属根账号",
  21218. "type": "integer"
  21219. },
  21220. "paycharge": {
  21221. "description": "今日手续费支出",
  21222. "type": "number"
  21223. },
  21224. "relateduserid": {
  21225. "description": "关联用户",
  21226. "type": "integer"
  21227. },
  21228. "signstatus": {
  21229. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21230. "type": "integer"
  21231. },
  21232. "sublevelpath": {
  21233. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21234. "type": "string"
  21235. },
  21236. "taaccounttype": {
  21237. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21238. "type": "integer"
  21239. },
  21240. "thirdinamount": {
  21241. "description": "今日三方入金",
  21242. "type": "number"
  21243. },
  21244. "thirdoutamount": {
  21245. "description": "今日三方出金",
  21246. "type": "number"
  21247. },
  21248. "tradestatus": {
  21249. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21250. "type": "integer"
  21251. },
  21252. "transferamount": {
  21253. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21254. "type": "number"
  21255. },
  21256. "usedmargin": {
  21257. "description": "占用保证金",
  21258. "type": "number"
  21259. },
  21260. "userid": {
  21261. "description": "用户ID",
  21262. "type": "integer"
  21263. }
  21264. }
  21265. },
  21266. "models.ErmcpTaAccountM": {
  21267. "type": "object",
  21268. "properties": {
  21269. "accountid": {
  21270. "description": "账户id",
  21271. "type": "integer"
  21272. },
  21273. "accountname": {
  21274. "description": "账户名称",
  21275. "type": "string"
  21276. },
  21277. "currencyid": {
  21278. "description": "币种id",
  21279. "type": "integer"
  21280. },
  21281. "fcid": {
  21282. "description": "期货公司id",
  21283. "type": "integer"
  21284. },
  21285. "fcname": {
  21286. "description": "期货公司代码",
  21287. "type": "string"
  21288. },
  21289. "hedgeaccountcode": {
  21290. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  21291. "type": "string"
  21292. },
  21293. "ismain": {
  21294. "description": "是否主账户 0-否 1-是",
  21295. "type": "integer"
  21296. },
  21297. "parentaccountid": {
  21298. "description": "父账户id",
  21299. "type": "integer"
  21300. },
  21301. "relateduserid": {
  21302. "description": "关联userid",
  21303. "type": "integer"
  21304. },
  21305. "tradefeetmpid": {
  21306. "description": "手续费模板id",
  21307. "type": "integer"
  21308. },
  21309. "tradefeetmpname": {
  21310. "description": "手续费模板名称",
  21311. "type": "string"
  21312. },
  21313. "trademargintmpid": {
  21314. "description": "保证金模板id",
  21315. "type": "integer"
  21316. },
  21317. "trademargintmpname": {
  21318. "description": "保证金模板名称",
  21319. "type": "string"
  21320. },
  21321. "traderatetmpid": {
  21322. "description": "汇率模板id",
  21323. "type": "integer"
  21324. },
  21325. "traderatetmpname": {
  21326. "description": "汇率模板名称",
  21327. "type": "string"
  21328. },
  21329. "tradestatus": {
  21330. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21331. "type": "integer"
  21332. },
  21333. "userid": {
  21334. "description": "用户id",
  21335. "type": "integer"
  21336. }
  21337. }
  21338. },
  21339. "models.ErmcpTradeConfigTMP": {
  21340. "type": "object",
  21341. "properties": {
  21342. "areauserid": {
  21343. "description": "所属机构",
  21344. "type": "integer"
  21345. },
  21346. "basiccurrencyid": {
  21347. "description": "基本币种ID[汇率] - 目标币种",
  21348. "type": "integer"
  21349. },
  21350. "mainaccountid": {
  21351. "description": "主账户ID",
  21352. "type": "integer"
  21353. },
  21354. "modifierid": {
  21355. "description": "修改人",
  21356. "type": "integer"
  21357. },
  21358. "remark": {
  21359. "description": "备注",
  21360. "type": "string"
  21361. },
  21362. "tradeconfigtmpid": {
  21363. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  21364. "type": "integer"
  21365. },
  21366. "tradeconfigtmpname": {
  21367. "description": "交易配置模板名称",
  21368. "type": "string"
  21369. },
  21370. "tradeconfigtmptype": {
  21371. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  21372. "type": "integer"
  21373. },
  21374. "updatetime": {
  21375. "description": "更新时间",
  21376. "type": "string"
  21377. }
  21378. }
  21379. },
  21380. "models.ErmcpUserModel": {
  21381. "type": "object",
  21382. "properties": {
  21383. "address": {
  21384. "description": "通讯地址",
  21385. "type": "string"
  21386. },
  21387. "attachment1": {
  21388. "description": "附件1",
  21389. "type": "string"
  21390. },
  21391. "audittime": {
  21392. "description": "审核时间",
  21393. "type": "string"
  21394. },
  21395. "cardbackphotourl": {
  21396. "description": "证件反面图片地址",
  21397. "type": "string"
  21398. },
  21399. "cardfrontphotourl": {
  21400. "description": "证件正面图片地址",
  21401. "type": "string"
  21402. },
  21403. "cardnum": {
  21404. "description": "证件号码",
  21405. "type": "string"
  21406. },
  21407. "cardtype": {
  21408. "description": "证件类型",
  21409. "type": "integer"
  21410. },
  21411. "cardtypename": {
  21412. "description": "证件类型名称",
  21413. "type": "string"
  21414. },
  21415. "cityid": {
  21416. "description": "市",
  21417. "type": "integer"
  21418. },
  21419. "contactname": {
  21420. "description": "联系人",
  21421. "type": "string"
  21422. },
  21423. "countryid": {
  21424. "description": "国家",
  21425. "type": "integer"
  21426. },
  21427. "createtime": {
  21428. "description": "创建时间",
  21429. "type": "string"
  21430. },
  21431. "customername": {
  21432. "description": "企业名称",
  21433. "type": "string"
  21434. },
  21435. "districtid": {
  21436. "description": "区域",
  21437. "type": "integer"
  21438. },
  21439. "email": {
  21440. "description": "邮件",
  21441. "type": "string"
  21442. },
  21443. "legalpersonname": {
  21444. "description": "法人姓名(企业)",
  21445. "type": "string"
  21446. },
  21447. "memberuserid": {
  21448. "description": "所属机构ID",
  21449. "type": "integer"
  21450. },
  21451. "mobile": {
  21452. "description": "手机号码",
  21453. "type": "string"
  21454. },
  21455. "modifytime": {
  21456. "description": "修改时间",
  21457. "type": "string"
  21458. },
  21459. "nickname": {
  21460. "description": "昵称",
  21461. "type": "string"
  21462. },
  21463. "provinceid": {
  21464. "description": "省",
  21465. "type": "integer"
  21466. },
  21467. "remark": {
  21468. "description": "备注",
  21469. "type": "string"
  21470. },
  21471. "status": {
  21472. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21473. "type": "integer"
  21474. },
  21475. "statusdesc": {
  21476. "description": "账户状态中文描述",
  21477. "type": "string"
  21478. },
  21479. "taxpayernum": {
  21480. "description": "纳税人识别号",
  21481. "type": "string"
  21482. },
  21483. "telphone": {
  21484. "description": "联系电话",
  21485. "type": "string"
  21486. },
  21487. "userid": {
  21488. "description": "用户ID",
  21489. "type": "integer"
  21490. },
  21491. "userinfotype": {
  21492. "description": "客户类型",
  21493. "type": "string"
  21494. }
  21495. }
  21496. },
  21497. "models.ErmcpWareHouseInfo": {
  21498. "type": "object",
  21499. "properties": {
  21500. "address": {
  21501. "description": "详细地址",
  21502. "type": "string"
  21503. },
  21504. "areauserid": {
  21505. "description": "所属机构",
  21506. "type": "integer"
  21507. },
  21508. "autoid": {
  21509. "description": "自增ID(仓库ID)",
  21510. "type": "integer"
  21511. },
  21512. "cityid": {
  21513. "description": "市",
  21514. "type": "integer"
  21515. },
  21516. "contactname": {
  21517. "description": "联系人",
  21518. "type": "string"
  21519. },
  21520. "contactnum": {
  21521. "description": "联系电话",
  21522. "type": "string"
  21523. },
  21524. "countryid": {
  21525. "description": "国家",
  21526. "type": "integer"
  21527. },
  21528. "createtime": {
  21529. "description": "创建时间",
  21530. "type": "string"
  21531. },
  21532. "districtid": {
  21533. "description": "区",
  21534. "type": "integer"
  21535. },
  21536. "hasvideo": {
  21537. "description": "是否有视频 - 0:无 1:有",
  21538. "type": "integer"
  21539. },
  21540. "provinceid": {
  21541. "description": "省",
  21542. "type": "integer"
  21543. },
  21544. "remark": {
  21545. "description": "审核备注",
  21546. "type": "string"
  21547. },
  21548. "videourl": {
  21549. "description": "视频地址",
  21550. "type": "string"
  21551. },
  21552. "warehousecode": {
  21553. "description": "仓库代码",
  21554. "type": "string"
  21555. },
  21556. "warehousename": {
  21557. "description": "仓库名称",
  21558. "type": "string"
  21559. },
  21560. "warehousestatus": {
  21561. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21562. "type": "integer"
  21563. },
  21564. "warehousetype": {
  21565. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21566. "type": "integer"
  21567. }
  21568. }
  21569. },
  21570. "models.Externalexchange": {
  21571. "type": "object",
  21572. "required": [
  21573. "autoid"
  21574. ],
  21575. "properties": {
  21576. "autoid": {
  21577. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  21578. "type": "integer"
  21579. },
  21580. "exchangefullname": {
  21581. "description": "外部交易所全称",
  21582. "type": "string"
  21583. },
  21584. "exexchangecode": {
  21585. "description": "外部交易所代码",
  21586. "type": "string"
  21587. },
  21588. "exexchangename": {
  21589. "description": "外部交易所名称(简称)",
  21590. "type": "string"
  21591. },
  21592. "ismarketprice": {
  21593. "description": "是否支持市价 - 0:不支持 1:支持",
  21594. "type": "integer"
  21595. },
  21596. "quotegear": {
  21597. "description": "行情档位(1-10)",
  21598. "type": "integer"
  21599. },
  21600. "showbrokerflag": {
  21601. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  21602. "type": "integer"
  21603. },
  21604. "updatetime": {
  21605. "description": "更新时间",
  21606. "type": "string"
  21607. }
  21608. }
  21609. },
  21610. "models.Funcmenulist": {
  21611. "type": "object",
  21612. "required": [
  21613. "resourcecode"
  21614. ],
  21615. "properties": {
  21616. "iconame": {
  21617. "description": "菜单图标",
  21618. "type": "string"
  21619. },
  21620. "menutype": {
  21621. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  21622. "type": "integer"
  21623. },
  21624. "parentcode": {
  21625. "description": "上级资源代码",
  21626. "type": "string"
  21627. },
  21628. "remark": {
  21629. "description": "备注",
  21630. "type": "string"
  21631. },
  21632. "resourcecode": {
  21633. "description": "资源代码",
  21634. "type": "string"
  21635. },
  21636. "resourcelevel": {
  21637. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  21638. "type": "integer"
  21639. },
  21640. "resourcename": {
  21641. "description": "资源名",
  21642. "type": "string"
  21643. },
  21644. "sort": {
  21645. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  21646. "type": "integer"
  21647. },
  21648. "url": {
  21649. "description": "URL",
  21650. "type": "string"
  21651. }
  21652. }
  21653. },
  21654. "models.Goods": {
  21655. "type": "object",
  21656. "required": [
  21657. "goodscode",
  21658. "goodsid",
  21659. "goodsname",
  21660. "marketid"
  21661. ],
  21662. "properties": {
  21663. "agreeunit": {
  21664. "description": "合约单位",
  21665. "type": "number"
  21666. },
  21667. "areauserid": {
  21668. "description": "所属机构",
  21669. "type": "integer"
  21670. },
  21671. "auditaccountid": {
  21672. "description": "审核操作员账号",
  21673. "type": "integer"
  21674. },
  21675. "audittime": {
  21676. "description": "审核时间",
  21677. "type": "string"
  21678. },
  21679. "cancelaccountid": {
  21680. "description": "注销操作员账号",
  21681. "type": "integer"
  21682. },
  21683. "canceltime": {
  21684. "description": "注销时间",
  21685. "type": "string"
  21686. },
  21687. "closepricemode": {
  21688. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21689. "type": "integer"
  21690. },
  21691. "closepriceparam": {
  21692. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  21693. "type": "number"
  21694. },
  21695. "createtime": {
  21696. "description": "创建时间",
  21697. "type": "string"
  21698. },
  21699. "creatorid": {
  21700. "description": "创建人",
  21701. "type": "integer"
  21702. },
  21703. "currencyid": {
  21704. "description": "报价货币ID",
  21705. "type": "integer"
  21706. },
  21707. "cutmode": {
  21708. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  21709. "type": "integer"
  21710. },
  21711. "decimalplace": {
  21712. "description": "报价小数位",
  21713. "type": "integer"
  21714. },
  21715. "delistingdate": {
  21716. "description": "商品退市时间(状态:退市) -- 已作废",
  21717. "type": "string"
  21718. },
  21719. "delistingmode": {
  21720. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  21721. "type": "integer"
  21722. },
  21723. "deliveryflag": {
  21724. "description": "交割标志 - 0:不可交割 1:可交割",
  21725. "type": "integer"
  21726. },
  21727. "forceclosemode": {
  21728. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  21729. "type": "integer"
  21730. },
  21731. "forceclosevalue": {
  21732. "description": "定期强平参数 [收益权]",
  21733. "type": "integer"
  21734. },
  21735. "goodscode": {
  21736. "description": "商品代码(内部)",
  21737. "type": "string"
  21738. },
  21739. "goodscurrencyid": {
  21740. "description": "合约货币ID",
  21741. "type": "integer"
  21742. },
  21743. "goodsgroupid": {
  21744. "description": "所属商品组ID",
  21745. "type": "integer"
  21746. },
  21747. "goodsid": {
  21748. "description": "商品ID(自增ID SEQ_GOODS)",
  21749. "type": "integer"
  21750. },
  21751. "goodsname": {
  21752. "description": "商品名称",
  21753. "type": "string"
  21754. },
  21755. "goodsquotetype": {
  21756. "description": "合约报价类型: 1-直接报价 2-间接报价",
  21757. "type": "integer"
  21758. },
  21759. "goodsstatus": {
  21760. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  21761. "type": "integer"
  21762. },
  21763. "goodstradetype": {
  21764. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  21765. "type": "integer"
  21766. },
  21767. "goodunitid": {
  21768. "description": "报价单位ID",
  21769. "type": "integer"
  21770. },
  21771. "hasquoter": {
  21772. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  21773. "type": "integer"
  21774. },
  21775. "hqprotecttime": {
  21776. "description": "行情保护时间(秒)",
  21777. "type": "integer"
  21778. },
  21779. "innerdealmode": {
  21780. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21781. "type": "integer"
  21782. },
  21783. "isbuylimited": {
  21784. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21785. "type": "integer"
  21786. },
  21787. "isvisible": {
  21788. "description": "游客是否可见 - 0:不可见 1:可见",
  21789. "type": "integer"
  21790. },
  21791. "lasttradedate": {
  21792. "description": "最后交易日期(状态:待退市)",
  21793. "type": "string"
  21794. },
  21795. "listingdate": {
  21796. "description": "交易开始日期",
  21797. "type": "string"
  21798. },
  21799. "marketid": {
  21800. "description": "所属市场ID",
  21801. "type": "integer"
  21802. },
  21803. "modifierid": {
  21804. "description": "修改人",
  21805. "type": "integer"
  21806. },
  21807. "modifystatus": {
  21808. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  21809. "type": "integer"
  21810. },
  21811. "modifytime": {
  21812. "description": "修改时间",
  21813. "type": "string"
  21814. },
  21815. "outerdealmode": {
  21816. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21817. "type": "integer"
  21818. },
  21819. "outgoodscode": {
  21820. "description": "商品代码(外部)",
  21821. "type": "string"
  21822. },
  21823. "pictureurl": {
  21824. "description": "商品图片",
  21825. "type": "string"
  21826. },
  21827. "qtydecimalplace": {
  21828. "description": "成交量小数位",
  21829. "type": "integer"
  21830. },
  21831. "quotegear": {
  21832. "description": "行情档位(1-10)",
  21833. "type": "integer"
  21834. },
  21835. "quoteminunit": {
  21836. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21837. "type": "integer"
  21838. },
  21839. "quoteshowtype": {
  21840. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  21841. "type": "integer"
  21842. },
  21843. "quoteshowtypeinterval": {
  21844. "description": "行情报价间隔时间(秒)(成交价时为0)",
  21845. "type": "integer"
  21846. },
  21847. "remark": {
  21848. "description": "备注",
  21849. "type": "string"
  21850. }
  21851. }
  21852. },
  21853. "models.GoodsIDAndName": {
  21854. "type": "object",
  21855. "required": [
  21856. "goodscode",
  21857. "goodsid",
  21858. "goodsname",
  21859. "marketid"
  21860. ],
  21861. "properties": {
  21862. "goodscode": {
  21863. "description": "商品代码(内部)",
  21864. "type": "string"
  21865. },
  21866. "goodsid": {
  21867. "description": "商品ID(自增ID SEQ_GOODS)",
  21868. "type": "integer"
  21869. },
  21870. "goodsname": {
  21871. "description": "商品名称",
  21872. "type": "string"
  21873. },
  21874. "marketid": {
  21875. "description": "所属市场ID",
  21876. "type": "integer"
  21877. }
  21878. }
  21879. },
  21880. "models.Goodsgroup": {
  21881. "type": "object",
  21882. "required": [
  21883. "goodsgroupid",
  21884. "goodsgroupname",
  21885. "goodsgroupstatus",
  21886. "marketid"
  21887. ],
  21888. "properties": {
  21889. "agreeunit": {
  21890. "description": "合约单位",
  21891. "type": "number"
  21892. },
  21893. "canshort": {
  21894. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  21895. "type": "integer"
  21896. },
  21897. "closepricemode": {
  21898. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  21899. "type": "integer"
  21900. },
  21901. "closepriceparam": {
  21902. "description": "强平最新价浮动比例 - 方式为2时使用",
  21903. "type": "number"
  21904. },
  21905. "createtime": {
  21906. "description": "创建时间",
  21907. "type": "string"
  21908. },
  21909. "creatorid": {
  21910. "description": "创建人",
  21911. "type": "integer"
  21912. },
  21913. "currencyid": {
  21914. "description": "报价货币ID",
  21915. "type": "integer"
  21916. },
  21917. "decimalplace": {
  21918. "description": "报价小数位",
  21919. "type": "integer"
  21920. },
  21921. "exercisetype": {
  21922. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  21923. "type": "integer"
  21924. },
  21925. "exexchangeid": {
  21926. "description": "外部交易所ID[通道交易]",
  21927. "type": "integer"
  21928. },
  21929. "goodsgroupid": {
  21930. "description": "商品组ID(自增ID)",
  21931. "type": "integer"
  21932. },
  21933. "goodsgroupname": {
  21934. "description": "商品组名称",
  21935. "type": "string"
  21936. },
  21937. "goodsgroupstatus": {
  21938. "description": "商品组状态 - 1:正常 2:注销",
  21939. "type": "integer"
  21940. },
  21941. "goodunitid": {
  21942. "description": "报价单位ID",
  21943. "type": "integer"
  21944. },
  21945. "innerdealmode": {
  21946. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  21947. "type": "integer"
  21948. },
  21949. "isbuylimited": {
  21950. "description": "是否限制建仓量 - 0:不限制 1:限制",
  21951. "type": "integer"
  21952. },
  21953. "marketid": {
  21954. "description": "所属市场ID",
  21955. "type": "integer"
  21956. },
  21957. "modifierid": {
  21958. "description": "修改人",
  21959. "type": "integer"
  21960. },
  21961. "modifytime": {
  21962. "description": "修改时间",
  21963. "type": "string"
  21964. },
  21965. "outerdealmode": {
  21966. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  21967. "type": "integer"
  21968. },
  21969. "outergroupcode": {
  21970. "description": "外部商品组代码[通道交易]",
  21971. "type": "string"
  21972. },
  21973. "premiumdecimalplace": {
  21974. "description": "权利金小数位[场外期权]",
  21975. "type": "integer"
  21976. },
  21977. "premiumspreadalgorithm": {
  21978. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  21979. "type": "integer"
  21980. },
  21981. "premiumspreadvalue": {
  21982. "description": "权利金点差值[场外期权]",
  21983. "type": "number"
  21984. },
  21985. "qtydecimalplace": {
  21986. "description": "成交量小数位",
  21987. "type": "integer"
  21988. },
  21989. "quotegear": {
  21990. "description": "行情档位(1-10)",
  21991. "type": "integer"
  21992. },
  21993. "quoteminunit": {
  21994. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  21995. "type": "integer"
  21996. },
  21997. "quoterid": {
  21998. "description": "报价商ID[场外期权]",
  21999. "type": "integer"
  22000. },
  22001. "quotesourcegroupid": {
  22002. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  22003. "type": "integer"
  22004. },
  22005. "syncgoodsqty": {
  22006. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  22007. "type": "integer"
  22008. }
  22009. }
  22010. },
  22011. "models.Goodssortbypreposition": {
  22012. "type": "object",
  22013. "required": [
  22014. "goodscode",
  22015. "tradedate"
  22016. ],
  22017. "properties": {
  22018. "goodscode": {
  22019. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  22020. "type": "string"
  22021. },
  22022. "goodsgroupcode": {
  22023. "description": "品种代码",
  22024. "type": "string"
  22025. },
  22026. "prepositionqty": {
  22027. "description": "昨持仓量",
  22028. "type": "integer"
  22029. },
  22030. "sortindex": {
  22031. "description": "排序",
  22032. "type": "integer"
  22033. },
  22034. "tradedate": {
  22035. "description": "交易日",
  22036. "type": "string"
  22037. },
  22038. "updatetime": {
  22039. "description": "更新时间",
  22040. "type": "string"
  22041. }
  22042. }
  22043. },
  22044. "models.Hedgeinnerholderdetail": {
  22045. "type": "object",
  22046. "required": [
  22047. "buyorsell",
  22048. "tradeid"
  22049. ],
  22050. "properties": {
  22051. "accountid": {
  22052. "description": "账号ID",
  22053. "type": "integer"
  22054. },
  22055. "buyorsell": {
  22056. "description": "方向 - 0:买 1:卖",
  22057. "type": "integer"
  22058. },
  22059. "freezeqty": {
  22060. "description": "冻结数量 - 按单平使用",
  22061. "type": "integer"
  22062. },
  22063. "goodsid": {
  22064. "description": "商品ID",
  22065. "type": "integer"
  22066. },
  22067. "holderamount": {
  22068. "description": "持仓金额 [商品币种]",
  22069. "type": "number"
  22070. },
  22071. "holderdays": {
  22072. "description": "剩余冻结天数",
  22073. "type": "integer"
  22074. },
  22075. "holderprice": {
  22076. "description": "持仓价格",
  22077. "type": "number"
  22078. },
  22079. "holderqty": {
  22080. "description": "持仓数量",
  22081. "type": "integer"
  22082. },
  22083. "marketid": {
  22084. "description": "市场ID",
  22085. "type": "integer"
  22086. },
  22087. "openprice": {
  22088. "description": "建仓价格",
  22089. "type": "number"
  22090. },
  22091. "openqty": {
  22092. "description": "建仓数量",
  22093. "type": "integer"
  22094. },
  22095. "parentaccountid": {
  22096. "description": "所属母账户",
  22097. "type": "integer"
  22098. },
  22099. "releaseamount": {
  22100. "description": "释放持仓金额[商品币种]",
  22101. "type": "number"
  22102. },
  22103. "tradeamount": {
  22104. "description": "成交金额[账户]",
  22105. "type": "number"
  22106. },
  22107. "tradedate": {
  22108. "description": "交易日(yyyyMMdd)",
  22109. "type": "string"
  22110. },
  22111. "tradeid": {
  22112. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22113. "type": "string"
  22114. },
  22115. "tradetime": {
  22116. "description": "交易时间",
  22117. "type": "string"
  22118. }
  22119. }
  22120. },
  22121. "models.Hedgemarketopenlog": {
  22122. "type": "object",
  22123. "required": [
  22124. "accountid"
  22125. ],
  22126. "properties": {
  22127. "accountid": {
  22128. "description": "资金账号[外部母账户]",
  22129. "type": "integer"
  22130. },
  22131. "fcname": {
  22132. "description": "期货公司名称",
  22133. "type": "string"
  22134. },
  22135. "handlestatus": {
  22136. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  22137. "type": "integer"
  22138. },
  22139. "marketid": {
  22140. "description": "市场ID",
  22141. "type": "integer"
  22142. },
  22143. "status": {
  22144. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  22145. "type": "integer"
  22146. },
  22147. "tradedate": {
  22148. "description": "交易日(yyyyMMdd)",
  22149. "type": "string"
  22150. },
  22151. "updatetime": {
  22152. "description": "更新时间",
  22153. "type": "string"
  22154. }
  22155. }
  22156. },
  22157. "models.HsbyBuyMyPayOrder": {
  22158. "type": "object",
  22159. "required": [
  22160. "goodscode",
  22161. "goodsname",
  22162. "tradeid",
  22163. "trademode"
  22164. ],
  22165. "properties": {
  22166. "agreeunit": {
  22167. "description": "合约单位",
  22168. "type": "number"
  22169. },
  22170. "buyaccountid": {
  22171. "description": "买方账号ID[报价币种]",
  22172. "type": "integer"
  22173. },
  22174. "buyorderid": {
  22175. "description": "买方委托单号",
  22176. "type": "string"
  22177. },
  22178. "createtime": {
  22179. "description": "创建时间",
  22180. "type": "string"
  22181. },
  22182. "currencysign": {
  22183. "description": "货币符号",
  22184. "type": "string"
  22185. },
  22186. "decimalplace": {
  22187. "description": "报价小数位",
  22188. "type": "integer"
  22189. },
  22190. "goodscode": {
  22191. "description": "商品代码(内部)",
  22192. "type": "string"
  22193. },
  22194. "goodsid": {
  22195. "description": "商品ID",
  22196. "type": "integer"
  22197. },
  22198. "goodsname": {
  22199. "description": "商品名称",
  22200. "type": "string"
  22201. },
  22202. "marketid": {
  22203. "description": "市场ID",
  22204. "type": "integer"
  22205. },
  22206. "offamount": {
  22207. "description": "优惠金额",
  22208. "type": "number"
  22209. },
  22210. "originalamount": {
  22211. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  22212. "type": "number"
  22213. },
  22214. "payamount": {
  22215. "description": "支付金额 = TradeAmount + TradeCharge",
  22216. "type": "number"
  22217. },
  22218. "payflag": {
  22219. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  22220. "type": "integer"
  22221. },
  22222. "paylimitedtime": {
  22223. "description": "支付期限",
  22224. "type": "string"
  22225. },
  22226. "paytime": {
  22227. "description": "付款时间",
  22228. "type": "string"
  22229. },
  22230. "picurls1": {
  22231. "description": "预售商品介绍图片[多张用逗号分隔]",
  22232. "type": "string"
  22233. },
  22234. "picurls2": {
  22235. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22236. "type": "string"
  22237. },
  22238. "sellaccountid": {
  22239. "description": "卖方账号ID[报价币种]",
  22240. "type": "integer"
  22241. },
  22242. "sellorderid": {
  22243. "description": "卖方委托单号",
  22244. "type": "string"
  22245. },
  22246. "tradeamount": {
  22247. "description": "成交金额",
  22248. "type": "number"
  22249. },
  22250. "tradecharge": {
  22251. "description": "成交手续费(买方)",
  22252. "type": "number"
  22253. },
  22254. "tradedate": {
  22255. "description": "交易日(yyyyMMdd)",
  22256. "type": "string"
  22257. },
  22258. "tradeid": {
  22259. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22260. "type": "string"
  22261. },
  22262. "trademode": {
  22263. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22264. "type": "integer"
  22265. },
  22266. "tradeprice": {
  22267. "description": "成交价格",
  22268. "type": "number"
  22269. },
  22270. "tradeqty": {
  22271. "description": "成交数量",
  22272. "type": "integer"
  22273. },
  22274. "vendorname1": {
  22275. "description": "预售商品供应商名称",
  22276. "type": "string"
  22277. },
  22278. "vendorname2": {
  22279. "description": "挂牌商品供应商名称",
  22280. "type": "string"
  22281. }
  22282. }
  22283. },
  22284. "models.HsbyBuyMyTradeDetail": {
  22285. "type": "object",
  22286. "required": [
  22287. "accountid",
  22288. "buyorsell",
  22289. "goodscode",
  22290. "goodsid",
  22291. "goodsname",
  22292. "marketid",
  22293. "orderid",
  22294. "qty",
  22295. "time",
  22296. "trademode"
  22297. ],
  22298. "properties": {
  22299. "accountid": {
  22300. "description": "账户ID[报价币种]",
  22301. "type": "integer"
  22302. },
  22303. "agreeunit": {
  22304. "description": "合约单位",
  22305. "type": "number"
  22306. },
  22307. "amount": {
  22308. "description": "金额 = 价格 * 数量 * 合约单位",
  22309. "type": "number"
  22310. },
  22311. "buyorsell": {
  22312. "description": "买卖 - 0:买 1:卖",
  22313. "type": "integer"
  22314. },
  22315. "currencysign": {
  22316. "description": "货币符号",
  22317. "type": "string"
  22318. },
  22319. "decimalplace": {
  22320. "description": "报价小数位",
  22321. "type": "integer"
  22322. },
  22323. "goodscode": {
  22324. "description": "商品代码(内部)",
  22325. "type": "string"
  22326. },
  22327. "goodsid": {
  22328. "description": "商品ID",
  22329. "type": "integer"
  22330. },
  22331. "goodsname": {
  22332. "description": "商品名称",
  22333. "type": "string"
  22334. },
  22335. "marketid": {
  22336. "description": "市场ID",
  22337. "type": "integer"
  22338. },
  22339. "orderamount": {
  22340. "description": "委托金额",
  22341. "type": "number"
  22342. },
  22343. "orderid": {
  22344. "description": "单号(成交单号)",
  22345. "type": "string"
  22346. },
  22347. "picurls1": {
  22348. "description": "预售商品介绍图片[多张用逗号分隔]",
  22349. "type": "string"
  22350. },
  22351. "picurls2": {
  22352. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  22353. "type": "string"
  22354. },
  22355. "price": {
  22356. "description": "价格",
  22357. "type": "number"
  22358. },
  22359. "qty": {
  22360. "description": "数量",
  22361. "type": "integer"
  22362. },
  22363. "time": {
  22364. "description": "时间",
  22365. "type": "string"
  22366. },
  22367. "trademode": {
  22368. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22369. "type": "integer"
  22370. },
  22371. "vendorname1": {
  22372. "description": "预售商品供应商名称",
  22373. "type": "string"
  22374. },
  22375. "vendorname2": {
  22376. "description": "挂牌商品供应商名称",
  22377. "type": "string"
  22378. }
  22379. }
  22380. },
  22381. "models.HsbyGoodsOrderDetail": {
  22382. "type": "object",
  22383. "required": [
  22384. "buyorsell",
  22385. "orderid",
  22386. "ordertime"
  22387. ],
  22388. "properties": {
  22389. "buyorsell": {
  22390. "description": "买卖 - 0:买 1:卖",
  22391. "type": "integer"
  22392. },
  22393. "currencysign": {
  22394. "description": "货币符号",
  22395. "type": "string"
  22396. },
  22397. "customername": {
  22398. "description": "客户名称(企业名称),已脱敏",
  22399. "type": "string"
  22400. },
  22401. "enableqty": {
  22402. "description": "可用数量",
  22403. "type": "integer"
  22404. },
  22405. "goodunit": {
  22406. "description": "报价单位",
  22407. "type": "string"
  22408. },
  22409. "orderid": {
  22410. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22411. "type": "string"
  22412. },
  22413. "orderprice": {
  22414. "description": "委托价格",
  22415. "type": "number"
  22416. },
  22417. "ordertime": {
  22418. "description": "委托时间",
  22419. "type": "string"
  22420. }
  22421. }
  22422. },
  22423. "models.HsbyListingGoodsDetail": {
  22424. "type": "object",
  22425. "required": [
  22426. "goodscode",
  22427. "goodsid",
  22428. "goodsname",
  22429. "marketid",
  22430. "trademode"
  22431. ],
  22432. "properties": {
  22433. "agreeunit": {
  22434. "description": "合约单位",
  22435. "type": "number"
  22436. },
  22437. "buymaxqty": {
  22438. "description": "购买上限 [71] - 0为不限",
  22439. "type": "integer"
  22440. },
  22441. "currency": {
  22442. "description": "货币",
  22443. "type": "string"
  22444. },
  22445. "currencysign": {
  22446. "description": "货币符号",
  22447. "type": "string"
  22448. },
  22449. "decimalplace": {
  22450. "description": "报价小数位",
  22451. "type": "integer"
  22452. },
  22453. "desccityid": {
  22454. "description": "目的地(市)ID",
  22455. "type": "integer"
  22456. },
  22457. "descprovinceid": {
  22458. "description": "目的地(省)ID",
  22459. "type": "integer"
  22460. },
  22461. "goodscode": {
  22462. "description": "商品代码(内部)",
  22463. "type": "string"
  22464. },
  22465. "goodsdesc": {
  22466. "description": "商品详情",
  22467. "type": "string"
  22468. },
  22469. "goodsid": {
  22470. "description": "商品ID(自增ID SEQ_GOODS)",
  22471. "type": "integer"
  22472. },
  22473. "goodsname": {
  22474. "description": "商品名称",
  22475. "type": "string"
  22476. },
  22477. "goodsprice": {
  22478. "description": "商品价格",
  22479. "type": "number"
  22480. },
  22481. "hotindex": {
  22482. "description": "景点热度",
  22483. "type": "integer"
  22484. },
  22485. "last": {
  22486. "description": "现价",
  22487. "type": "number"
  22488. },
  22489. "limitdown": {
  22490. "description": "跌停价",
  22491. "type": "number"
  22492. },
  22493. "limitup": {
  22494. "description": "涨停价",
  22495. "type": "number"
  22496. },
  22497. "lotsize": {
  22498. "description": "手数最小变动单位",
  22499. "type": "integer"
  22500. },
  22501. "marketid": {
  22502. "description": "所属市场ID",
  22503. "type": "integer"
  22504. },
  22505. "picurls": {
  22506. "description": "介绍图片[多张用逗号分隔]",
  22507. "type": "string"
  22508. },
  22509. "quoteminunit": {
  22510. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22511. "type": "integer"
  22512. },
  22513. "stepvalue": {
  22514. "description": "价格最小变动单位",
  22515. "type": "number"
  22516. },
  22517. "trademode": {
  22518. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22519. "type": "integer"
  22520. },
  22521. "vendorattr": {
  22522. "description": "供应商附件(多张,逗号分隔)",
  22523. "type": "string"
  22524. },
  22525. "vendorname": {
  22526. "description": "供应商名称",
  22527. "type": "string"
  22528. },
  22529. "vendorphone": {
  22530. "description": "供应商客服电话",
  22531. "type": "string"
  22532. },
  22533. "videourls": {
  22534. "description": "介绍视频[多张用逗号分隔]",
  22535. "type": "string"
  22536. }
  22537. }
  22538. },
  22539. "models.HsbyMarketGoods": {
  22540. "type": "object",
  22541. "required": [
  22542. "accountid",
  22543. "buyorsell",
  22544. "goodscode",
  22545. "goodsid",
  22546. "goodsname",
  22547. "marketid",
  22548. "orderid",
  22549. "trademode"
  22550. ],
  22551. "properties": {
  22552. "accountid": {
  22553. "description": "账户ID[报价币种]",
  22554. "type": "integer"
  22555. },
  22556. "agreeunit": {
  22557. "description": "合约单位",
  22558. "type": "number"
  22559. },
  22560. "buyorsell": {
  22561. "description": "买卖 - 0:买 1:卖",
  22562. "type": "integer"
  22563. },
  22564. "categoryid": {
  22565. "description": "类别ID(WRCATEGORY)",
  22566. "type": "integer"
  22567. },
  22568. "currency": {
  22569. "description": "货币",
  22570. "type": "string"
  22571. },
  22572. "currencysign": {
  22573. "description": "货币符号",
  22574. "type": "string"
  22575. },
  22576. "customername": {
  22577. "description": "卖家名称",
  22578. "type": "string"
  22579. },
  22580. "decimalplace": {
  22581. "description": "报价小数位",
  22582. "type": "integer"
  22583. },
  22584. "goodscode": {
  22585. "description": "商品代码(内部)",
  22586. "type": "string"
  22587. },
  22588. "goodsid": {
  22589. "description": "商品ID",
  22590. "type": "integer"
  22591. },
  22592. "goodsname": {
  22593. "description": "商品名称",
  22594. "type": "string"
  22595. },
  22596. "goodsprice": {
  22597. "description": "商品价格",
  22598. "type": "number"
  22599. },
  22600. "hascoupon": {
  22601. "description": "是否可用优惠卷",
  22602. "type": "boolean"
  22603. },
  22604. "hotindex": {
  22605. "description": "景点热度",
  22606. "type": "integer"
  22607. },
  22608. "marketid": {
  22609. "description": "市场ID",
  22610. "type": "integer"
  22611. },
  22612. "orderid": {
  22613. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22614. "type": "string"
  22615. },
  22616. "orderprice": {
  22617. "description": "委托价格",
  22618. "type": "number"
  22619. },
  22620. "orderstatus": {
  22621. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22622. "type": "integer"
  22623. },
  22624. "picurls": {
  22625. "description": "介绍图片[多张用逗号分隔]",
  22626. "type": "string"
  22627. },
  22628. "quoteminunit": {
  22629. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22630. "type": "integer"
  22631. },
  22632. "sellUserID": {
  22633. "description": "卖方UserID",
  22634. "type": "integer"
  22635. },
  22636. "trademode": {
  22637. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22638. "type": "integer"
  22639. },
  22640. "videourls": {
  22641. "description": "介绍视频[多张用逗号分隔]",
  22642. "type": "string"
  22643. }
  22644. }
  22645. },
  22646. "models.HsbyMarketGoodsDetail": {
  22647. "type": "object",
  22648. "required": [
  22649. "accountid",
  22650. "buyorsell",
  22651. "goodscode",
  22652. "goodsid",
  22653. "goodsname",
  22654. "marketid",
  22655. "orderid",
  22656. "orderqty",
  22657. "trademode"
  22658. ],
  22659. "properties": {
  22660. "accountid": {
  22661. "description": "账户ID[报价币种]",
  22662. "type": "integer"
  22663. },
  22664. "agreeunit": {
  22665. "description": "合约单位",
  22666. "type": "number"
  22667. },
  22668. "buymaxqty": {
  22669. "description": "购买上限 [71] - 0为不限",
  22670. "type": "integer"
  22671. },
  22672. "buyorsell": {
  22673. "description": "买卖 - 0:买 1:卖",
  22674. "type": "integer"
  22675. },
  22676. "cancelqty": {
  22677. "description": "撤单数量",
  22678. "type": "integer"
  22679. },
  22680. "categoryid": {
  22681. "description": "类别ID(WRCATEGORY)",
  22682. "type": "integer"
  22683. },
  22684. "currency": {
  22685. "description": "货币",
  22686. "type": "string"
  22687. },
  22688. "currencysign": {
  22689. "description": "货币符号",
  22690. "type": "string"
  22691. },
  22692. "customername": {
  22693. "description": "卖家名称",
  22694. "type": "string"
  22695. },
  22696. "decimalplace": {
  22697. "description": "报价小数位",
  22698. "type": "integer"
  22699. },
  22700. "goodscode": {
  22701. "description": "商品代码(内部)",
  22702. "type": "string"
  22703. },
  22704. "goodsdesc": {
  22705. "description": "商品详情",
  22706. "type": "string"
  22707. },
  22708. "goodsid": {
  22709. "description": "商品ID",
  22710. "type": "integer"
  22711. },
  22712. "goodsname": {
  22713. "description": "商品名称",
  22714. "type": "string"
  22715. },
  22716. "goodsprice": {
  22717. "description": "商品价格",
  22718. "type": "number"
  22719. },
  22720. "hotindex": {
  22721. "description": "景点热度",
  22722. "type": "integer"
  22723. },
  22724. "lotsize": {
  22725. "description": "手数最小变动单位",
  22726. "type": "integer"
  22727. },
  22728. "marketid": {
  22729. "description": "市场ID",
  22730. "type": "integer"
  22731. },
  22732. "orderid": {
  22733. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22734. "type": "string"
  22735. },
  22736. "orderprice": {
  22737. "description": "委托价格",
  22738. "type": "number"
  22739. },
  22740. "orderqty": {
  22741. "description": "委托数量",
  22742. "type": "integer"
  22743. },
  22744. "orderstatus": {
  22745. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22746. "type": "integer"
  22747. },
  22748. "picurls": {
  22749. "description": "介绍图片[多张用逗号分隔]",
  22750. "type": "string"
  22751. },
  22752. "quoteminunit": {
  22753. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22754. "type": "integer"
  22755. },
  22756. "sellUserID": {
  22757. "description": "卖方UserID",
  22758. "type": "integer"
  22759. },
  22760. "trademode": {
  22761. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22762. "type": "integer"
  22763. },
  22764. "tradeqty": {
  22765. "description": "成交数量",
  22766. "type": "integer"
  22767. },
  22768. "vendorattr": {
  22769. "description": "供应商附件(多张,逗号分隔)",
  22770. "type": "string"
  22771. },
  22772. "vendorname": {
  22773. "description": "供应商名称",
  22774. "type": "string"
  22775. },
  22776. "vendorphone": {
  22777. "description": "供应商客服电话",
  22778. "type": "string"
  22779. },
  22780. "videourls": {
  22781. "description": "介绍视频[多张用逗号分隔]",
  22782. "type": "string"
  22783. }
  22784. }
  22785. },
  22786. "models.HsbyMarketInfo": {
  22787. "type": "object",
  22788. "required": [
  22789. "marketid",
  22790. "marketstatus",
  22791. "trademode"
  22792. ],
  22793. "properties": {
  22794. "marketid": {
  22795. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  22796. "type": "integer"
  22797. },
  22798. "marketname": {
  22799. "description": "市场名称",
  22800. "type": "string"
  22801. },
  22802. "marketstatus": {
  22803. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  22804. "type": "integer"
  22805. },
  22806. "trademode": {
  22807. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22808. "type": "integer"
  22809. }
  22810. }
  22811. },
  22812. "models.HsbyMyGoods": {
  22813. "type": "object",
  22814. "required": [
  22815. "accountid",
  22816. "goodscode",
  22817. "goodsid",
  22818. "goodsname",
  22819. "marketid",
  22820. "trademode"
  22821. ],
  22822. "properties": {
  22823. "accountid": {
  22824. "description": "账号Id",
  22825. "type": "integer"
  22826. },
  22827. "agreeunit": {
  22828. "description": "合约单位",
  22829. "type": "number"
  22830. },
  22831. "buyaverageprice": {
  22832. "description": "持仓均价",
  22833. "type": "number"
  22834. },
  22835. "buycurholderamount": {
  22836. "description": "买当前持仓总金额[商品币种]",
  22837. "type": "number"
  22838. },
  22839. "buycurpositionqty": {
  22840. "description": "买当前持仓总数量",
  22841. "type": "integer"
  22842. },
  22843. "buymaxqty": {
  22844. "description": "购买上限 [71] - 0为不限",
  22845. "type": "integer"
  22846. },
  22847. "currencysign": {
  22848. "description": "货币符号",
  22849. "type": "string"
  22850. },
  22851. "decimalplace": {
  22852. "description": "报价小数位",
  22853. "type": "integer"
  22854. },
  22855. "enableqty": {
  22856. "description": "可用数量",
  22857. "type": "integer"
  22858. },
  22859. "goodscode": {
  22860. "description": "商品代码(内部)",
  22861. "type": "string"
  22862. },
  22863. "goodsid": {
  22864. "description": "商品Id",
  22865. "type": "integer"
  22866. },
  22867. "goodsname": {
  22868. "description": "商品名称",
  22869. "type": "string"
  22870. },
  22871. "goodsprice": {
  22872. "description": "商品价格",
  22873. "type": "number"
  22874. },
  22875. "goodsstatus": {
  22876. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  22877. "type": "integer"
  22878. },
  22879. "last": {
  22880. "description": "现价(仅使用于挂牌点选)",
  22881. "type": "number"
  22882. },
  22883. "limitdown": {
  22884. "description": "跌停价(仅使用于挂牌点选)",
  22885. "type": "number"
  22886. },
  22887. "limitup": {
  22888. "description": "涨停价(仅使用于挂牌点选)",
  22889. "type": "number"
  22890. },
  22891. "lotsize": {
  22892. "description": "手数最小变动单位",
  22893. "type": "integer"
  22894. },
  22895. "marketid": {
  22896. "description": "所属市场ID",
  22897. "type": "integer"
  22898. },
  22899. "picurls": {
  22900. "description": "介绍图片[多张用逗号分隔]",
  22901. "type": "string"
  22902. },
  22903. "quoteminunit": {
  22904. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  22905. "type": "integer"
  22906. },
  22907. "stepvalue": {
  22908. "description": "价格最小变动单位",
  22909. "type": "number"
  22910. },
  22911. "trademode": {
  22912. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  22913. "type": "integer"
  22914. }
  22915. }
  22916. },
  22917. "models.HsbyMyPackage": {
  22918. "type": "object",
  22919. "required": [
  22920. "goodscode",
  22921. "goodsname",
  22922. "takeorderid",
  22923. "trademode"
  22924. ],
  22925. "properties": {
  22926. "accountid": {
  22927. "description": "账户ID",
  22928. "type": "integer"
  22929. },
  22930. "address": {
  22931. "description": "提货人详细地址",
  22932. "type": "string"
  22933. },
  22934. "agreeunit": {
  22935. "description": "合约单位",
  22936. "type": "number"
  22937. },
  22938. "amount": {
  22939. "description": "提货金额",
  22940. "type": "number"
  22941. },
  22942. "auditer": {
  22943. "description": "审核人",
  22944. "type": "integer"
  22945. },
  22946. "audittime": {
  22947. "description": "审核时间",
  22948. "type": "string"
  22949. },
  22950. "averageprice": {
  22951. "description": "均价",
  22952. "type": "number"
  22953. },
  22954. "cardnum": {
  22955. "description": "提货人证件号码",
  22956. "type": "string"
  22957. },
  22958. "cardtypeid": {
  22959. "description": "提货人证件类型",
  22960. "type": "integer"
  22961. },
  22962. "checkremark": {
  22963. "description": "审核备注",
  22964. "type": "string"
  22965. },
  22966. "currencysign": {
  22967. "description": "货币符号",
  22968. "type": "string"
  22969. },
  22970. "decimalplace": {
  22971. "description": "报价小数位",
  22972. "type": "integer"
  22973. },
  22974. "goodscode": {
  22975. "description": "商品代码(内部)",
  22976. "type": "string"
  22977. },
  22978. "goodsid": {
  22979. "description": "商品ID",
  22980. "type": "integer"
  22981. },
  22982. "goodsname": {
  22983. "description": "商品名称",
  22984. "type": "string"
  22985. },
  22986. "handlestatus": {
  22987. "description": "处理状态",
  22988. "type": "integer"
  22989. },
  22990. "marketid": {
  22991. "description": "市场ID",
  22992. "type": "integer"
  22993. },
  22994. "phonenum": {
  22995. "description": "提货人联系方式",
  22996. "type": "string"
  22997. },
  22998. "picurls": {
  22999. "description": "介绍图片[多张用逗号分隔]",
  23000. "type": "string"
  23001. },
  23002. "qty": {
  23003. "description": "提货数量",
  23004. "type": "number"
  23005. },
  23006. "recivername": {
  23007. "description": "提货人姓名",
  23008. "type": "string"
  23009. },
  23010. "reqtime": {
  23011. "description": "更新时间",
  23012. "type": "string"
  23013. },
  23014. "takemode": {
  23015. "description": "提货方式 - 2:自提 3:配送",
  23016. "type": "integer"
  23017. },
  23018. "takeorderid": {
  23019. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  23020. "type": "string"
  23021. },
  23022. "takeorderstatus": {
  23023. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  23024. "type": "integer"
  23025. },
  23026. "takeremark": {
  23027. "description": "提货备注",
  23028. "type": "string"
  23029. },
  23030. "tradedate": {
  23031. "description": "交易日(yyyyMMdd)",
  23032. "type": "string"
  23033. },
  23034. "trademode": {
  23035. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23036. "type": "integer"
  23037. },
  23038. "userid": {
  23039. "description": "用户ID",
  23040. "type": "integer"
  23041. },
  23042. "vendorname": {
  23043. "description": "供应商名称",
  23044. "type": "string"
  23045. }
  23046. }
  23047. },
  23048. "models.HsbyPreGoods": {
  23049. "type": "object",
  23050. "required": [
  23051. "goodscode",
  23052. "goodsid",
  23053. "goodsname",
  23054. "marketid",
  23055. "trademode"
  23056. ],
  23057. "properties": {
  23058. "agreeunit": {
  23059. "description": "合约单位",
  23060. "type": "number"
  23061. },
  23062. "currency": {
  23063. "description": "货币",
  23064. "type": "string"
  23065. },
  23066. "currencysign": {
  23067. "description": "货币符号",
  23068. "type": "string"
  23069. },
  23070. "decimalplace": {
  23071. "description": "报价小数位",
  23072. "type": "integer"
  23073. },
  23074. "desccityid": {
  23075. "description": "目的地(市)",
  23076. "type": "integer"
  23077. },
  23078. "descprovinceid": {
  23079. "description": "目的地(省)",
  23080. "type": "integer"
  23081. },
  23082. "enableqty": {
  23083. "description": "剩余数量",
  23084. "type": "integer"
  23085. },
  23086. "goodscode": {
  23087. "description": "商品代码(内部)",
  23088. "type": "string"
  23089. },
  23090. "goodsid": {
  23091. "description": "商品ID(自增ID SEQ_GOODS)",
  23092. "type": "integer"
  23093. },
  23094. "goodsname": {
  23095. "description": "商品名称",
  23096. "type": "string"
  23097. },
  23098. "goodsstatus": {
  23099. "description": "商品状态- 2:未上市 3:上市",
  23100. "type": "integer"
  23101. },
  23102. "lasttradedate": {
  23103. "description": "最后交易日期(状态:待退市)",
  23104. "type": "string"
  23105. },
  23106. "listingdate": {
  23107. "description": "交易开始日期",
  23108. "type": "string"
  23109. },
  23110. "marketid": {
  23111. "description": "所属市场ID",
  23112. "type": "integer"
  23113. },
  23114. "picurls": {
  23115. "description": "介绍图片[多张用逗号分隔]",
  23116. "type": "string"
  23117. },
  23118. "presaledqty": {
  23119. "description": "已预售量(预售结束时更新)",
  23120. "type": "integer"
  23121. },
  23122. "presaleqty": {
  23123. "description": "预售数量",
  23124. "type": "integer"
  23125. },
  23126. "quoteminunit": {
  23127. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23128. "type": "integer"
  23129. },
  23130. "refprice": {
  23131. "description": "参考价格[一口价]",
  23132. "type": "number"
  23133. },
  23134. "relatedgoodsid": {
  23135. "description": "关联交易合约ID",
  23136. "type": "integer"
  23137. },
  23138. "trademode": {
  23139. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23140. "type": "integer"
  23141. },
  23142. "videourls": {
  23143. "description": "介绍视频[多张用逗号分隔]",
  23144. "type": "string"
  23145. }
  23146. }
  23147. },
  23148. "models.HsbyPreGoodsDetail": {
  23149. "type": "object",
  23150. "required": [
  23151. "goodscode",
  23152. "goodsid",
  23153. "goodsname",
  23154. "marketid",
  23155. "trademode"
  23156. ],
  23157. "properties": {
  23158. "agreeunit": {
  23159. "description": "合约单位",
  23160. "type": "number"
  23161. },
  23162. "buymaxqty": {
  23163. "description": "购买上限 [71] - 0为不限",
  23164. "type": "integer"
  23165. },
  23166. "currency": {
  23167. "description": "货币",
  23168. "type": "string"
  23169. },
  23170. "currencysign": {
  23171. "description": "货币符号",
  23172. "type": "string"
  23173. },
  23174. "customername": {
  23175. "description": "发行单位",
  23176. "type": "string"
  23177. },
  23178. "decimalplace": {
  23179. "description": "报价小数位",
  23180. "type": "integer"
  23181. },
  23182. "desccityid": {
  23183. "description": "目的地(市)ID",
  23184. "type": "integer"
  23185. },
  23186. "descprovinceid": {
  23187. "description": "目的地(省)ID",
  23188. "type": "integer"
  23189. },
  23190. "enableqty": {
  23191. "description": "剩余数量",
  23192. "type": "integer"
  23193. },
  23194. "goodscode": {
  23195. "description": "商品代码(内部)",
  23196. "type": "string"
  23197. },
  23198. "goodsdesc": {
  23199. "description": "商品详情",
  23200. "type": "string"
  23201. },
  23202. "goodsid": {
  23203. "description": "商品ID(自增ID SEQ_GOODS)",
  23204. "type": "integer"
  23205. },
  23206. "goodsname": {
  23207. "description": "商品名称",
  23208. "type": "string"
  23209. },
  23210. "goodsstatus": {
  23211. "description": "商品状态- 2:未上市 3:上市",
  23212. "type": "integer"
  23213. },
  23214. "goodunit": {
  23215. "description": "报价单位",
  23216. "type": "string"
  23217. },
  23218. "lasttradedate": {
  23219. "description": "最后交易日期(状态:待退市)",
  23220. "type": "string"
  23221. },
  23222. "listingdate": {
  23223. "description": "交易开始日期",
  23224. "type": "string"
  23225. },
  23226. "lotsize": {
  23227. "description": "手数最小变动单位",
  23228. "type": "integer"
  23229. },
  23230. "marketid": {
  23231. "description": "所属市场ID",
  23232. "type": "integer"
  23233. },
  23234. "picurls": {
  23235. "description": "介绍图片[多张用逗号分隔]",
  23236. "type": "string"
  23237. },
  23238. "presaledqty": {
  23239. "description": "已预售量(预售结束时更新)",
  23240. "type": "integer"
  23241. },
  23242. "presaleqty": {
  23243. "description": "预售数量",
  23244. "type": "integer"
  23245. },
  23246. "quoteminunit": {
  23247. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23248. "type": "integer"
  23249. },
  23250. "refprice": {
  23251. "description": "参考价格[一口价]",
  23252. "type": "number"
  23253. },
  23254. "relatedgoodsid": {
  23255. "description": "关联交易合约ID",
  23256. "type": "integer"
  23257. },
  23258. "stepvalue": {
  23259. "description": "价格最小变动单位",
  23260. "type": "number"
  23261. },
  23262. "trademode": {
  23263. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23264. "type": "integer"
  23265. },
  23266. "vendorattr": {
  23267. "description": "供应商附件(多张,逗号分隔)",
  23268. "type": "string"
  23269. },
  23270. "vendorname": {
  23271. "description": "供应商名称",
  23272. "type": "string"
  23273. },
  23274. "vendorphone": {
  23275. "description": "供应商客服电话",
  23276. "type": "string"
  23277. },
  23278. "videourls": {
  23279. "description": "介绍视频[多张用逗号分隔]",
  23280. "type": "string"
  23281. }
  23282. }
  23283. },
  23284. "models.HsbySellCollectionOrder": {
  23285. "type": "object",
  23286. "required": [
  23287. "goodscode",
  23288. "goodsname",
  23289. "tradeid",
  23290. "trademode"
  23291. ],
  23292. "properties": {
  23293. "agreeunit": {
  23294. "description": "合约单位",
  23295. "type": "number"
  23296. },
  23297. "buyaccountid": {
  23298. "description": "买方账号ID[报价币种]",
  23299. "type": "integer"
  23300. },
  23301. "buyorderid": {
  23302. "description": "买方委托单号",
  23303. "type": "string"
  23304. },
  23305. "createtime": {
  23306. "description": "创建时间",
  23307. "type": "string"
  23308. },
  23309. "currencysign": {
  23310. "description": "货币符号",
  23311. "type": "string"
  23312. },
  23313. "decimalplace": {
  23314. "description": "报价小数位",
  23315. "type": "integer"
  23316. },
  23317. "goodscode": {
  23318. "description": "商品代码(内部)",
  23319. "type": "string"
  23320. },
  23321. "goodsid": {
  23322. "description": "商品ID",
  23323. "type": "integer"
  23324. },
  23325. "goodsname": {
  23326. "description": "商品名称",
  23327. "type": "string"
  23328. },
  23329. "marketid": {
  23330. "description": "市场ID",
  23331. "type": "integer"
  23332. },
  23333. "offamount": {
  23334. "description": "优惠金额",
  23335. "type": "number"
  23336. },
  23337. "payamount": {
  23338. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  23339. "type": "number"
  23340. },
  23341. "payflag": {
  23342. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  23343. "type": "integer"
  23344. },
  23345. "paylimitedtime": {
  23346. "description": "支付期限",
  23347. "type": "string"
  23348. },
  23349. "paytime": {
  23350. "description": "付款时间",
  23351. "type": "string"
  23352. },
  23353. "picurls": {
  23354. "description": "商品介绍图片[多张用逗号分隔]",
  23355. "type": "string"
  23356. },
  23357. "sellaccountid": {
  23358. "description": "卖方账号ID[报价币种]",
  23359. "type": "integer"
  23360. },
  23361. "sellorderid": {
  23362. "description": "卖方委托单号",
  23363. "type": "string"
  23364. },
  23365. "tradeamount": {
  23366. "description": "成交金额",
  23367. "type": "number"
  23368. },
  23369. "tradecharge": {
  23370. "description": "成交手续费(买方)",
  23371. "type": "number"
  23372. },
  23373. "tradedate": {
  23374. "description": "交易日(yyyyMMdd)",
  23375. "type": "string"
  23376. },
  23377. "tradeid": {
  23378. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23379. "type": "string"
  23380. },
  23381. "trademode": {
  23382. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23383. "type": "integer"
  23384. },
  23385. "tradeprice": {
  23386. "description": "成交价格",
  23387. "type": "number"
  23388. },
  23389. "tradeqty": {
  23390. "description": "成交数量",
  23391. "type": "integer"
  23392. }
  23393. }
  23394. },
  23395. "models.HsbySellMyDetail": {
  23396. "type": "object",
  23397. "required": [
  23398. "accountid",
  23399. "buyorsell",
  23400. "goodscode",
  23401. "goodsid",
  23402. "goodsname",
  23403. "marketid",
  23404. "orderid",
  23405. "time",
  23406. "trademode"
  23407. ],
  23408. "properties": {
  23409. "accountid": {
  23410. "description": "账户ID[报价币种]",
  23411. "type": "integer"
  23412. },
  23413. "agreeunit": {
  23414. "description": "合约单位",
  23415. "type": "number"
  23416. },
  23417. "buyorsell": {
  23418. "description": "买卖 - 0:买 1:卖",
  23419. "type": "integer"
  23420. },
  23421. "currencysign": {
  23422. "description": "货币符号",
  23423. "type": "string"
  23424. },
  23425. "decimalplace": {
  23426. "description": "报价小数位",
  23427. "type": "integer"
  23428. },
  23429. "goodscode": {
  23430. "description": "商品代码(内部)",
  23431. "type": "string"
  23432. },
  23433. "goodsid": {
  23434. "description": "商品ID",
  23435. "type": "integer"
  23436. },
  23437. "goodsname": {
  23438. "description": "商品名称",
  23439. "type": "string"
  23440. },
  23441. "marketid": {
  23442. "description": "市场ID",
  23443. "type": "integer"
  23444. },
  23445. "orderid": {
  23446. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  23447. "type": "string"
  23448. },
  23449. "ordertype": {
  23450. "description": "单据类型:0 - 发布中, 1 - 已完成",
  23451. "type": "integer"
  23452. },
  23453. "picurls": {
  23454. "description": "介绍图片[多张用逗号分隔]",
  23455. "type": "string"
  23456. },
  23457. "price": {
  23458. "description": "价格",
  23459. "type": "number"
  23460. },
  23461. "qty": {
  23462. "description": "数量",
  23463. "type": "integer"
  23464. },
  23465. "time": {
  23466. "description": "时间",
  23467. "type": "string"
  23468. },
  23469. "trademode": {
  23470. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23471. "type": "integer"
  23472. },
  23473. "vendorname": {
  23474. "description": "供应商名称",
  23475. "type": "string"
  23476. }
  23477. }
  23478. },
  23479. "models.HsbyTopGoods": {
  23480. "type": "object",
  23481. "required": [
  23482. "goodscode",
  23483. "goodsid",
  23484. "goodsname",
  23485. "marketid",
  23486. "trademode"
  23487. ],
  23488. "properties": {
  23489. "agreeunit": {
  23490. "description": "合约单位",
  23491. "type": "number"
  23492. },
  23493. "currency": {
  23494. "description": "货币",
  23495. "type": "string"
  23496. },
  23497. "currencysign": {
  23498. "description": "货币符号",
  23499. "type": "string"
  23500. },
  23501. "decimalplace": {
  23502. "description": "报价小数位",
  23503. "type": "integer"
  23504. },
  23505. "desccityid": {
  23506. "description": "目的地(市)",
  23507. "type": "integer"
  23508. },
  23509. "descprovinceid": {
  23510. "description": "目的地(省)",
  23511. "type": "integer"
  23512. },
  23513. "goodscode": {
  23514. "description": "商品代码(内部)",
  23515. "type": "string"
  23516. },
  23517. "goodsid": {
  23518. "description": "商品ID(自增ID SEQ_GOODS)",
  23519. "type": "integer"
  23520. },
  23521. "goodsname": {
  23522. "description": "商品名称",
  23523. "type": "string"
  23524. },
  23525. "hotindex": {
  23526. "description": "景点热度",
  23527. "type": "integer"
  23528. },
  23529. "last": {
  23530. "description": "现价",
  23531. "type": "number"
  23532. },
  23533. "marketid": {
  23534. "description": "所属市场ID",
  23535. "type": "integer"
  23536. },
  23537. "picurls": {
  23538. "description": "介绍图片[多张用逗号分隔]",
  23539. "type": "string"
  23540. },
  23541. "quoteminunit": {
  23542. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  23543. "type": "integer"
  23544. },
  23545. "trademode": {
  23546. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23547. "type": "integer"
  23548. },
  23549. "videourls": {
  23550. "description": "介绍视频[多张用逗号分隔]",
  23551. "type": "string"
  23552. }
  23553. }
  23554. },
  23555. "models.HybsMyBuyOrderDetail": {
  23556. "type": "object",
  23557. "required": [
  23558. "accountid",
  23559. "buyorsell",
  23560. "goodscode",
  23561. "goodsid",
  23562. "goodsname",
  23563. "marketid",
  23564. "orderid",
  23565. "orderqty",
  23566. "ordertime",
  23567. "trademode"
  23568. ],
  23569. "properties": {
  23570. "accountid": {
  23571. "description": "账户ID[报价币种]",
  23572. "type": "integer"
  23573. },
  23574. "agreeunit": {
  23575. "description": "合约单位",
  23576. "type": "number"
  23577. },
  23578. "buyorsell": {
  23579. "description": "买卖 - 0:买 1:卖",
  23580. "type": "integer"
  23581. },
  23582. "cancelqty": {
  23583. "description": "撤单数量",
  23584. "type": "integer"
  23585. },
  23586. "currencysign": {
  23587. "description": "货币符号",
  23588. "type": "string"
  23589. },
  23590. "decimalplace": {
  23591. "description": "报价小数位",
  23592. "type": "integer"
  23593. },
  23594. "goodscode": {
  23595. "description": "商品代码(内部)",
  23596. "type": "string"
  23597. },
  23598. "goodsid": {
  23599. "description": "商品ID",
  23600. "type": "integer"
  23601. },
  23602. "goodsname": {
  23603. "description": "商品名称",
  23604. "type": "string"
  23605. },
  23606. "listingselecttype": {
  23607. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23608. "type": "integer"
  23609. },
  23610. "marketid": {
  23611. "description": "市场ID",
  23612. "type": "integer"
  23613. },
  23614. "mybuystatus": {
  23615. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  23616. "type": "integer"
  23617. },
  23618. "orderamount": {
  23619. "description": "委托金额",
  23620. "type": "number"
  23621. },
  23622. "orderid": {
  23623. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23624. "type": "string"
  23625. },
  23626. "orderprice": {
  23627. "description": "委托价格",
  23628. "type": "number"
  23629. },
  23630. "orderqty": {
  23631. "description": "委托数量",
  23632. "type": "integer"
  23633. },
  23634. "orderstatus": {
  23635. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23636. "type": "integer"
  23637. },
  23638. "ordertime": {
  23639. "description": "委托时间",
  23640. "type": "string"
  23641. },
  23642. "picurls1": {
  23643. "description": "预售商品介绍图片[多张用逗号分隔]",
  23644. "type": "string"
  23645. },
  23646. "picurls2": {
  23647. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  23648. "type": "string"
  23649. },
  23650. "trademode": {
  23651. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  23652. "type": "integer"
  23653. },
  23654. "tradeqty": {
  23655. "description": "成交数量",
  23656. "type": "integer"
  23657. },
  23658. "vendorname1": {
  23659. "description": "预售商品供应商名称",
  23660. "type": "string"
  23661. },
  23662. "vendorname2": {
  23663. "description": "挂牌商品供应商名称",
  23664. "type": "string"
  23665. }
  23666. }
  23667. },
  23668. "models.Loginaccount": {
  23669. "type": "object",
  23670. "required": [
  23671. "loginid"
  23672. ],
  23673. "properties": {
  23674. "accountname": {
  23675. "description": "账户名称",
  23676. "type": "string"
  23677. },
  23678. "canoutin": {
  23679. "description": "是否可出入金 - 0:不可 1:可",
  23680. "type": "integer"
  23681. },
  23682. "clientroleid": {
  23683. "description": "终端角色ID",
  23684. "type": "integer"
  23685. },
  23686. "haslogined": {
  23687. "description": "是否已登录 - 0:未登录 1:已登录",
  23688. "type": "integer"
  23689. },
  23690. "hasupdatedpwd": {
  23691. "description": "是否已更改密码 - 0:未修改 1:已修改",
  23692. "type": "integer"
  23693. },
  23694. "lastloginip": {
  23695. "description": "最新登录地址",
  23696. "type": "string"
  23697. },
  23698. "lastloginmode": {
  23699. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23700. "type": "integer"
  23701. },
  23702. "lastloginremark": {
  23703. "description": "最新登录描述",
  23704. "type": "string"
  23705. },
  23706. "lastlogintime": {
  23707. "description": "最新登录时间",
  23708. "type": "string"
  23709. },
  23710. "logincode": {
  23711. "description": "登录代码",
  23712. "type": "string"
  23713. },
  23714. "loginfailnum": {
  23715. "description": "连续登录失败次数(登录成功时清零)",
  23716. "type": "integer"
  23717. },
  23718. "loginid": {
  23719. "description": "登陆账号",
  23720. "type": "integer"
  23721. },
  23722. "loginport": {
  23723. "description": "最新登录端口",
  23724. "type": "integer"
  23725. },
  23726. "loginstatus": {
  23727. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  23728. "type": "integer"
  23729. },
  23730. "loginusertype": {
  23731. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  23732. "type": "integer"
  23733. },
  23734. "mobile": {
  23735. "description": "手机号码(加密存储)",
  23736. "type": "string"
  23737. },
  23738. "modifierid": {
  23739. "description": "修改人",
  23740. "type": "integer"
  23741. },
  23742. "modifysrc": {
  23743. "description": "审核来源 - 1:管理端 2:终端",
  23744. "type": "integer"
  23745. },
  23746. "modifytime": {
  23747. "description": "修改时间",
  23748. "type": "string"
  23749. },
  23750. "password": {
  23751. "description": "登陆密码",
  23752. "type": "string"
  23753. },
  23754. "pwdwrongcount": {
  23755. "description": "密码错误次数",
  23756. "type": "integer"
  23757. },
  23758. "relateduserid": {
  23759. "description": "关联用户ID(机构)",
  23760. "type": "integer"
  23761. },
  23762. "taaccountrighttype": {
  23763. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  23764. "type": "integer"
  23765. },
  23766. "unfreezetime": {
  23767. "description": "账户解冻时间",
  23768. "type": "string"
  23769. },
  23770. "userid": {
  23771. "description": "用户ID",
  23772. "type": "integer"
  23773. }
  23774. }
  23775. },
  23776. "models.MainAccountInfo": {
  23777. "type": "object",
  23778. "properties": {
  23779. "accountid": {
  23780. "description": "账号id",
  23781. "type": "integer"
  23782. },
  23783. "accountname": {
  23784. "description": "账号名称(taaccount表中的名称)",
  23785. "type": "string"
  23786. },
  23787. "appid": {
  23788. "description": "AppID",
  23789. "type": "string"
  23790. },
  23791. "authcode": {
  23792. "description": "授权码",
  23793. "type": "string"
  23794. },
  23795. "brokerid": {
  23796. "description": "经纪商id",
  23797. "type": "string"
  23798. },
  23799. "fcid": {
  23800. "description": "期货公司id",
  23801. "type": "integer"
  23802. },
  23803. "fcname": {
  23804. "description": "期货公司代码",
  23805. "type": "string"
  23806. },
  23807. "hedgeaccountcode": {
  23808. "description": "外部账号代码(主账号登录代码)",
  23809. "type": "string"
  23810. },
  23811. "hedgeaccountpwd": {
  23812. "description": "密码",
  23813. "type": "string"
  23814. },
  23815. "ismain": {
  23816. "description": "是否主账号",
  23817. "type": "integer"
  23818. },
  23819. "relateduserid": {
  23820. "description": "关联用户id",
  23821. "type": "integer"
  23822. },
  23823. "userid": {
  23824. "description": "关联用户id",
  23825. "type": "integer"
  23826. }
  23827. }
  23828. },
  23829. "models.Market": {
  23830. "type": "object",
  23831. "required": [
  23832. "marketid",
  23833. "marketstatus",
  23834. "openmethod",
  23835. "reckonpricealgorithm",
  23836. "trademode",
  23837. "tradeproperty"
  23838. ],
  23839. "properties": {
  23840. "auctionwrtype": {
  23841. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  23842. "type": "integer"
  23843. },
  23844. "canacceptquote": {
  23845. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  23846. "type": "integer"
  23847. },
  23848. "cangoodsexercise": {
  23849. "description": "[期权]是否可现货行权- 0:否 1:是",
  23850. "type": "integer"
  23851. },
  23852. "cangoodsexercisetype": {
  23853. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  23854. "type": "integer"
  23855. },
  23856. "canmanualquotestrike": {
  23857. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  23858. "type": "integer"
  23859. },
  23860. "canmutistage": {
  23861. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  23862. "type": "integer"
  23863. },
  23864. "canpreexercise": {
  23865. "description": "[期权]是否可预申报- 0:否 1:是",
  23866. "type": "integer"
  23867. },
  23868. "clearinterval": {
  23869. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  23870. "type": "integer"
  23871. },
  23872. "contracttmp": {
  23873. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  23874. "type": "string"
  23875. },
  23876. "exchareaid": {
  23877. "description": "所属交易所,可以没有",
  23878. "type": "integer"
  23879. },
  23880. "goodstype": {
  23881. "description": "商品类型 - 1:交易商品 2:仓单商品",
  23882. "type": "integer"
  23883. },
  23884. "hasrebate": {
  23885. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  23886. "type": "integer"
  23887. },
  23888. "hastradecredit": {
  23889. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  23890. "type": "integer"
  23891. },
  23892. "haswr": {
  23893. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  23894. "type": "integer"
  23895. },
  23896. "isdeductmargin": {
  23897. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  23898. "type": "integer"
  23899. },
  23900. "isrecordsource": {
  23901. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  23902. "type": "integer"
  23903. },
  23904. "isreleasemargin": {
  23905. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  23906. "type": "integer"
  23907. },
  23908. "marginformula": {
  23909. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23910. "type": "integer"
  23911. },
  23912. "marginformula2": {
  23913. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  23914. "type": "integer"
  23915. },
  23916. "marketid": {
  23917. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  23918. "type": "integer"
  23919. },
  23920. "marketname": {
  23921. "description": "市场名称",
  23922. "type": "string"
  23923. },
  23924. "marketserviceid": {
  23925. "description": "市场服务ID",
  23926. "type": "integer"
  23927. },
  23928. "marketstatus": {
  23929. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  23930. "type": "integer"
  23931. },
  23932. "markettype": {
  23933. "description": "市场类型- 1:非交易服务 2:交易服务",
  23934. "type": "integer"
  23935. },
  23936. "matchermode": {
  23937. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  23938. "type": "integer"
  23939. },
  23940. "openmethod": {
  23941. "description": "开盘模式 - 0 自动 1手动",
  23942. "type": "integer"
  23943. },
  23944. "otcuserid": {
  23945. "description": "场外期权做市商[场外期权]",
  23946. "type": "integer"
  23947. },
  23948. "outersynctime": {
  23949. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  23950. "type": "string"
  23951. },
  23952. "pendingflag": {
  23953. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  23954. "type": "integer"
  23955. },
  23956. "pendingtime": {
  23957. "description": "待开市时间[通道交易-对冲](HH:mm)",
  23958. "type": "string"
  23959. },
  23960. "performancetempid": {
  23961. "description": "履约计划模板ID - 作废",
  23962. "type": "integer"
  23963. },
  23964. "premiumquotemode": {
  23965. "description": "权利金报价方式 - 1:自动 2:手动",
  23966. "type": "integer"
  23967. },
  23968. "rebateratio": {
  23969. "description": "返利比率[竞价式]",
  23970. "type": "number"
  23971. },
  23972. "reckonorder": {
  23973. "description": "结算顺序",
  23974. "type": "integer"
  23975. },
  23976. "reckonpricealgorithm": {
  23977. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  23978. "type": "integer"
  23979. },
  23980. "reckonpriceparam": {
  23981. "description": "结算价参数",
  23982. "type": "integer"
  23983. },
  23984. "reckontime": {
  23985. "description": "结算时间[通道交易-对冲](HH:mm)",
  23986. "type": "string"
  23987. },
  23988. "roleprioritytype": {
  23989. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  23990. "type": "integer"
  23991. },
  23992. "selllistingauditflag": {
  23993. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  23994. "type": "integer"
  23995. },
  23996. "trademarkettype": {
  23997. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  23998. "type": "integer"
  23999. },
  24000. "trademode": {
  24001. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  24002. "type": "integer"
  24003. },
  24004. "tradeproperty": {
  24005. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  24006. "type": "integer"
  24007. },
  24008. "tradetype": {
  24009. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  24010. "type": "integer"
  24011. }
  24012. }
  24013. },
  24014. "models.Marketrun": {
  24015. "type": "object",
  24016. "required": [
  24017. "marketid",
  24018. "nexttradedate",
  24019. "reckonflag",
  24020. "runstatus",
  24021. "tradedate",
  24022. "tradedate2"
  24023. ],
  24024. "properties": {
  24025. "afternexttradedate": {
  24026. "description": "下下交易日",
  24027. "type": "string"
  24028. },
  24029. "clearquoteflag": {
  24030. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  24031. "type": "integer"
  24032. },
  24033. "lastreckondate": {
  24034. "description": "最新交易日(结算成功)",
  24035. "type": "string"
  24036. },
  24037. "machinedate": {
  24038. "description": "机器时间",
  24039. "type": "string"
  24040. },
  24041. "manualflag": {
  24042. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  24043. "type": "integer"
  24044. },
  24045. "marketid": {
  24046. "description": "市场ID",
  24047. "type": "integer"
  24048. },
  24049. "nexttradedate": {
  24050. "description": "下一交易日",
  24051. "type": "string"
  24052. },
  24053. "pretradedate": {
  24054. "description": "上一交易日",
  24055. "type": "string"
  24056. },
  24057. "reckonflag": {
  24058. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  24059. "type": "integer"
  24060. },
  24061. "runstatus": {
  24062. "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.今日免清算",
  24063. "type": "integer"
  24064. },
  24065. "sectionid": {
  24066. "description": "时间段号[多时段时用]",
  24067. "type": "integer"
  24068. },
  24069. "tradedate": {
  24070. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  24071. "type": "string"
  24072. },
  24073. "tradedate2": {
  24074. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  24075. "type": "string"
  24076. },
  24077. "updatetime": {
  24078. "description": "更新时间",
  24079. "type": "string"
  24080. }
  24081. }
  24082. },
  24083. "models.Messageboard": {
  24084. "type": "object",
  24085. "required": [
  24086. "messageboardid"
  24087. ],
  24088. "properties": {
  24089. "contactnum": {
  24090. "description": "联系电话",
  24091. "type": "string"
  24092. },
  24093. "createtime": {
  24094. "description": "创建时间",
  24095. "type": "string"
  24096. },
  24097. "message": {
  24098. "description": "留言信息",
  24099. "type": "string"
  24100. },
  24101. "messageboardid": {
  24102. "description": "留言簿ID(SEQ_MessageBoard)",
  24103. "type": "integer"
  24104. },
  24105. "userid": {
  24106. "description": "用户ID",
  24107. "type": "integer"
  24108. }
  24109. }
  24110. },
  24111. "models.MyCoupon": {
  24112. "type": "object",
  24113. "required": [
  24114. "accountid",
  24115. "coupontypeid"
  24116. ],
  24117. "properties": {
  24118. "accountid": {
  24119. "description": "资金账户ID",
  24120. "type": "integer"
  24121. },
  24122. "areauserid": {
  24123. "description": "所属机构",
  24124. "type": "integer"
  24125. },
  24126. "conditionvalue": {
  24127. "description": "条件阈值(可为0)",
  24128. "type": "number"
  24129. },
  24130. "couponcategroy": {
  24131. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  24132. "type": "integer"
  24133. },
  24134. "couponname": {
  24135. "description": "优惠券名称",
  24136. "type": "string"
  24137. },
  24138. "coupontypeid": {
  24139. "description": "优惠券类型ID",
  24140. "type": "string"
  24141. },
  24142. "couponvalue": {
  24143. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24144. "type": "number"
  24145. },
  24146. "curfreezeqty": {
  24147. "description": "期末冻结数量",
  24148. "type": "integer"
  24149. },
  24150. "curqty": {
  24151. "description": "期末数量",
  24152. "type": "integer"
  24153. },
  24154. "isgeneral": {
  24155. "description": "是否通用券 - 0:否 1:是",
  24156. "type": "integer"
  24157. },
  24158. "isunusable": {
  24159. "description": "是否不可用",
  24160. "type": "boolean"
  24161. },
  24162. "limitedflag": {
  24163. "description": "是否指定商品 - 0:不限 1:限制",
  24164. "type": "integer"
  24165. },
  24166. "limitedgoodsids": {
  24167. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  24168. "type": "string"
  24169. },
  24170. "orifreezeqty": {
  24171. "description": "期初冻结数量",
  24172. "type": "integer"
  24173. },
  24174. "oriqty": {
  24175. "description": "期初数量",
  24176. "type": "integer"
  24177. },
  24178. "reasontype": {
  24179. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  24180. "type": "integer"
  24181. },
  24182. "todaydecrease": {
  24183. "description": "今日减少",
  24184. "type": "integer"
  24185. },
  24186. "todayincrease": {
  24187. "description": "今日增加",
  24188. "type": "integer"
  24189. },
  24190. "userid": {
  24191. "description": "用户ID",
  24192. "type": "integer"
  24193. },
  24194. "userscope": {
  24195. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  24196. "type": "string"
  24197. }
  24198. }
  24199. },
  24200. "models.MyCouponHold": {
  24201. "type": "object",
  24202. "required": [
  24203. "couponholdid"
  24204. ],
  24205. "properties": {
  24206. "accountid": {
  24207. "description": "资金账户ID",
  24208. "type": "integer"
  24209. },
  24210. "conditionvalue": {
  24211. "description": "条件阈值(可为0)",
  24212. "type": "number"
  24213. },
  24214. "couponcategroy": {
  24215. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  24216. "type": "integer"
  24217. },
  24218. "couponholdid": {
  24219. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  24220. "type": "string"
  24221. },
  24222. "couponname": {
  24223. "description": "优惠券名称",
  24224. "type": "string"
  24225. },
  24226. "coupontypeid": {
  24227. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  24228. "type": "string"
  24229. },
  24230. "couponvalue": {
  24231. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  24232. "type": "number"
  24233. },
  24234. "createtime": {
  24235. "description": "创建时间",
  24236. "type": "string"
  24237. },
  24238. "enddate": {
  24239. "description": "结束日期",
  24240. "type": "string"
  24241. },
  24242. "giveapplyid": {
  24243. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  24244. "type": "integer"
  24245. },
  24246. "holdstatus": {
  24247. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  24248. "type": "integer"
  24249. },
  24250. "isgeneral": {
  24251. "description": "是否通用券 - 0:否 1:是",
  24252. "type": "integer"
  24253. },
  24254. "limitedflag": {
  24255. "description": "是否指定商品 - 0:不限 1:限制",
  24256. "type": "integer"
  24257. },
  24258. "limitedgoodsids": {
  24259. "description": "指定商品IDs[逗号分隔]",
  24260. "type": "string"
  24261. },
  24262. "qty": {
  24263. "description": "数量(按1平铺)",
  24264. "type": "integer"
  24265. },
  24266. "startdate": {
  24267. "description": "开始日期",
  24268. "type": "string"
  24269. },
  24270. "userid": {
  24271. "description": "用户ID",
  24272. "type": "integer"
  24273. },
  24274. "userscope": {
  24275. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  24276. "type": "string"
  24277. }
  24278. }
  24279. },
  24280. "models.MyUsedCoupon": {
  24281. "type": "object",
  24282. "required": [
  24283. "coupontypeid",
  24284. "orderid"
  24285. ],
  24286. "properties": {
  24287. "accountid": {
  24288. "description": "资金账户ID(买方)",
  24289. "type": "integer"
  24290. },
  24291. "conditionvalue": {
  24292. "description": "条件阈值(可为0)",
  24293. "type": "number"
  24294. },
  24295. "couponcategroy": {
  24296. "description": "种类 - 1:现金券 2:折扣券",
  24297. "type": "integer"
  24298. },
  24299. "couponname": {
  24300. "description": "优惠券名称",
  24301. "type": "string"
  24302. },
  24303. "coupontypeid": {
  24304. "description": "优惠券类型ID(买方)",
  24305. "type": "string"
  24306. },
  24307. "couponvalue": {
  24308. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  24309. "type": "number"
  24310. },
  24311. "createtime": {
  24312. "description": "创建时间",
  24313. "type": "string"
  24314. },
  24315. "goodsid": {
  24316. "description": "商品ID",
  24317. "type": "integer"
  24318. },
  24319. "handlestatus": {
  24320. "description": "处理状态",
  24321. "type": "integer"
  24322. },
  24323. "marketid": {
  24324. "description": "市场ID",
  24325. "type": "integer"
  24326. },
  24327. "offamount": {
  24328. "description": "优惠金额",
  24329. "type": "number"
  24330. },
  24331. "orderid": {
  24332. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24333. "type": "string"
  24334. },
  24335. "sellaccountid": {
  24336. "description": "资金账户ID(卖方)",
  24337. "type": "integer"
  24338. },
  24339. "tradeamount": {
  24340. "description": "成交金额",
  24341. "type": "number"
  24342. },
  24343. "tradeid": {
  24344. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24345. "type": "string"
  24346. },
  24347. "usedqty": {
  24348. "description": "使用数量",
  24349. "type": "integer"
  24350. }
  24351. }
  24352. },
  24353. "models.OperationPrimaryMenu": {
  24354. "type": "object",
  24355. "properties": {
  24356. "Children": {
  24357. "description": "二级功能菜单",
  24358. "type": "array",
  24359. "items": {
  24360. "$ref": "#/definitions/models.OperationSecondaryMenu"
  24361. }
  24362. },
  24363. "Key": {
  24364. "description": "菜单KEY",
  24365. "type": "string"
  24366. },
  24367. "Label": {
  24368. "description": "菜单标题",
  24369. "type": "string"
  24370. }
  24371. }
  24372. },
  24373. "models.OperationSecondaryMenu": {
  24374. "type": "object",
  24375. "properties": {
  24376. "Key": {
  24377. "description": "菜单KEY",
  24378. "type": "string"
  24379. },
  24380. "Label": {
  24381. "description": "菜单标题",
  24382. "type": "string"
  24383. },
  24384. "TabList": {
  24385. "description": "三级功能菜单",
  24386. "type": "array",
  24387. "items": {
  24388. "$ref": "#/definitions/models.OperationTabMenu"
  24389. }
  24390. }
  24391. }
  24392. },
  24393. "models.OperationTabMenu": {
  24394. "type": "object",
  24395. "properties": {
  24396. "Key": {
  24397. "description": "菜单KEY",
  24398. "type": "string"
  24399. },
  24400. "Label": {
  24401. "description": "菜单标题",
  24402. "type": "string"
  24403. }
  24404. }
  24405. },
  24406. "models.PendingAuditBizModel": {
  24407. "type": "object",
  24408. "properties": {
  24409. "accountid": {
  24410. "description": "现货账户",
  24411. "type": "string"
  24412. },
  24413. "areaname": {
  24414. "description": "所属部门",
  24415. "type": "string"
  24416. },
  24417. "bizid": {
  24418. "description": "业务ID",
  24419. "type": "string"
  24420. },
  24421. "bizname": {
  24422. "description": "业务名称",
  24423. "type": "string"
  24424. },
  24425. "status": {
  24426. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  24427. "type": "integer"
  24428. },
  24429. "type": {
  24430. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  24431. "type": "integer"
  24432. }
  24433. }
  24434. },
  24435. "models.QhjAccountOutInApply": {
  24436. "type": "object",
  24437. "properties": {
  24438. "accountcode": {
  24439. "description": "资金账号",
  24440. "type": "string"
  24441. },
  24442. "accountname": {
  24443. "description": "用户名称(名称)",
  24444. "type": "string"
  24445. },
  24446. "accountpwd": {
  24447. "description": "资金密码",
  24448. "type": "string"
  24449. },
  24450. "accountticket": {
  24451. "description": "最新账户服务流水号",
  24452. "type": "string"
  24453. },
  24454. "amount": {
  24455. "description": "金额",
  24456. "type": "number"
  24457. },
  24458. "applyremark": {
  24459. "description": "申请备注",
  24460. "type": "string"
  24461. },
  24462. "applystatus": {
  24463. "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: 复审通过,账户冻结金额检查中;",
  24464. "type": "integer"
  24465. },
  24466. "auditid": {
  24467. "description": "审核人",
  24468. "type": "integer"
  24469. },
  24470. "audittime": {
  24471. "description": "审核时间",
  24472. "type": "string"
  24473. },
  24474. "bank_apply_ticket": {
  24475. "description": "银行申请流水",
  24476. "type": "string"
  24477. },
  24478. "bankaccountname": {
  24479. "description": "银行账户名",
  24480. "type": "string"
  24481. },
  24482. "bankaccountno": {
  24483. "description": "银行卡号",
  24484. "type": "string"
  24485. },
  24486. "bankid": {
  24487. "description": "银行编号",
  24488. "type": "string"
  24489. },
  24490. "bankticket": {
  24491. "description": "银行流水",
  24492. "type": "string"
  24493. },
  24494. "branchbankid": {
  24495. "description": "银行支行号",
  24496. "type": "string"
  24497. },
  24498. "branchbankname": {
  24499. "description": "银行支行名称",
  24500. "type": "string"
  24501. },
  24502. "capamountout": {
  24503. "description": "出金(劣后本金) - 外部子账户",
  24504. "type": "number"
  24505. },
  24506. "certificatephotourl": {
  24507. "description": "凭证地址",
  24508. "type": "string"
  24509. },
  24510. "charge": {
  24511. "description": "手续费",
  24512. "type": "number"
  24513. },
  24514. "checkerrorflag": {
  24515. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  24516. "type": "integer"
  24517. },
  24518. "currency": {
  24519. "description": "币种",
  24520. "type": "string"
  24521. },
  24522. "cusbankid": {
  24523. "description": "托管银行编号",
  24524. "type": "string"
  24525. },
  24526. "exchticket": {
  24527. "description": "银行服务流水号",
  24528. "type": "string"
  24529. },
  24530. "executetype": {
  24531. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  24532. "type": "integer"
  24533. },
  24534. "extendinfo": {
  24535. "description": "扩展信息",
  24536. "type": "string"
  24537. },
  24538. "extoperateid": {
  24539. "description": "交易服务流水号",
  24540. "type": "integer"
  24541. },
  24542. "infamount": {
  24543. "description": "劣后金额(自有)",
  24544. "type": "number"
  24545. },
  24546. "logincode": {
  24547. "description": "登录账号(账号)",
  24548. "type": "string"
  24549. },
  24550. "netaddr": {
  24551. "description": "调转网址",
  24552. "type": "string"
  24553. },
  24554. "priamount": {
  24555. "description": "优先金额(授信)",
  24556. "type": "number"
  24557. },
  24558. "reauditid": {
  24559. "description": "复审人",
  24560. "type": "integer"
  24561. },
  24562. "reauditremark": {
  24563. "description": "复审备注",
  24564. "type": "string"
  24565. },
  24566. "reaudittime": {
  24567. "description": "复审时间",
  24568. "type": "string"
  24569. },
  24570. "relatedorderid": {
  24571. "description": "三方关联ID",
  24572. "type": "string"
  24573. },
  24574. "remark": {
  24575. "description": "备注",
  24576. "type": "string"
  24577. },
  24578. "remark2": {
  24579. "description": "备注(失败原因)",
  24580. "type": "string"
  24581. },
  24582. "soucreamount": {
  24583. "description": "原始出入金金额",
  24584. "type": "number"
  24585. },
  24586. "soucrecurrencyid": {
  24587. "description": "原始出入金币种",
  24588. "type": "integer"
  24589. },
  24590. "tradedate": {
  24591. "description": "交易日(yyyyMMdd)",
  24592. "type": "string"
  24593. },
  24594. "updatetime": {
  24595. "description": "更新时间(申请时间)",
  24596. "type": "string"
  24597. },
  24598. "userid": {
  24599. "description": "用户id",
  24600. "type": "integer"
  24601. },
  24602. "userinfotype": {
  24603. "description": "账户类型 1-个人 2-企业",
  24604. "type": "integer"
  24605. }
  24606. }
  24607. },
  24608. "models.QhjAgreementChangeLog": {
  24609. "type": "object",
  24610. "properties": {
  24611. "agreementcontent": {
  24612. "description": "协议内容",
  24613. "type": "string"
  24614. },
  24615. "agreementfrequency": {
  24616. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24617. "type": "integer"
  24618. },
  24619. "agreementid": {
  24620. "description": "协议ID",
  24621. "type": "integer"
  24622. },
  24623. "agreementname": {
  24624. "description": "协议名称",
  24625. "type": "string"
  24626. },
  24627. "agreementno": {
  24628. "description": "协议编号",
  24629. "type": "string"
  24630. },
  24631. "agreementtype": {
  24632. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24633. "type": "integer"
  24634. },
  24635. "agreementversion": {
  24636. "description": "协议版本号",
  24637. "type": "integer"
  24638. },
  24639. "logid": {
  24640. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  24641. "type": "integer"
  24642. },
  24643. "reviserid": {
  24644. "description": "修改人",
  24645. "type": "integer"
  24646. },
  24647. "revisersrc": {
  24648. "description": "修改来源 - 1:管理端 2:终端",
  24649. "type": "integer"
  24650. },
  24651. "updatetime": {
  24652. "description": "更新时间",
  24653. "type": "string"
  24654. }
  24655. }
  24656. },
  24657. "models.QhjAgreementConfig": {
  24658. "type": "object",
  24659. "properties": {
  24660. "agreementcontent": {
  24661. "description": "协议内容",
  24662. "type": "string"
  24663. },
  24664. "agreementfrequency": {
  24665. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  24666. "type": "integer"
  24667. },
  24668. "agreementid": {
  24669. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  24670. "type": "integer"
  24671. },
  24672. "agreementname": {
  24673. "description": "协议名称",
  24674. "type": "string"
  24675. },
  24676. "agreementno": {
  24677. "description": "协议编号",
  24678. "type": "string"
  24679. },
  24680. "agreementtype": {
  24681. "description": "协议类型 - 1:注册 2:登录 3:交易",
  24682. "type": "integer"
  24683. },
  24684. "agreementversion": {
  24685. "description": "协议版本号(从1开始每次修改加1)",
  24686. "type": "integer"
  24687. },
  24688. "createtime": {
  24689. "description": "创建时间",
  24690. "type": "string"
  24691. },
  24692. "creatorid": {
  24693. "description": "创建人",
  24694. "type": "integer"
  24695. },
  24696. "creatorsrc": {
  24697. "description": "创建来源 - 1:管理端 2:终端",
  24698. "type": "integer"
  24699. },
  24700. "isvalid": {
  24701. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  24702. "type": "integer"
  24703. },
  24704. "reviserid": {
  24705. "description": "修改人",
  24706. "type": "integer"
  24707. },
  24708. "revisersrc": {
  24709. "description": "修改来源 - 1:管理端 2:终端",
  24710. "type": "integer"
  24711. },
  24712. "updatetime": {
  24713. "description": "更新时间",
  24714. "type": "string"
  24715. }
  24716. }
  24717. },
  24718. "models.QhjAreaFinanceConfig": {
  24719. "type": "object",
  24720. "properties": {
  24721. "additionalratio": {
  24722. "description": "追加款比例",
  24723. "type": "number"
  24724. },
  24725. "advanceratio": {
  24726. "description": "预付款比例",
  24727. "type": "number"
  24728. },
  24729. "alarmratio": {
  24730. "description": "告警比例",
  24731. "type": "number"
  24732. },
  24733. "consumptiondirectreward": {
  24734. "description": "消费直推奖励值",
  24735. "type": "number"
  24736. },
  24737. "consumptionenabled": {
  24738. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  24739. "type": "integer"
  24740. },
  24741. "consumptionindirectreward": {
  24742. "description": "消费间推奖励值",
  24743. "type": "number"
  24744. },
  24745. "consumptionmodel": {
  24746. "description": "消费奖励方式 - 1:比率 2:固定",
  24747. "type": "integer"
  24748. },
  24749. "customerservicenum": {
  24750. "description": "客服电话",
  24751. "type": "string"
  24752. },
  24753. "dayinterestrate": {
  24754. "description": "日利率",
  24755. "type": "number"
  24756. },
  24757. "disableconsumptiontips": {
  24758. "description": "关闭消费奖励提示",
  24759. "type": "string"
  24760. },
  24761. "modifierid": {
  24762. "description": "修改人ID",
  24763. "type": "integer"
  24764. },
  24765. "modifysrc": {
  24766. "description": "审核来源 - 1:管理端 2:终端",
  24767. "type": "integer"
  24768. },
  24769. "modifytime": {
  24770. "description": "修改时间",
  24771. "type": "string"
  24772. },
  24773. "promotionvalue": {
  24774. "description": "推广奖励值(固定)",
  24775. "type": "number"
  24776. },
  24777. "scoreconfigvalue1": {
  24778. "description": "提货积分配置1",
  24779. "type": "integer"
  24780. },
  24781. "scoreconfigvalue2": {
  24782. "description": "提货积分配置2",
  24783. "type": "integer"
  24784. },
  24785. "userid": {
  24786. "description": "机构用户ID其他做市关系,都设置为 1",
  24787. "type": "integer"
  24788. },
  24789. "username": {
  24790. "description": "用户名称",
  24791. "type": "string"
  24792. }
  24793. }
  24794. },
  24795. "models.QhjBankAccountSign": {
  24796. "type": "object",
  24797. "properties": {
  24798. "accountcode": {
  24799. "description": "资金账号",
  24800. "type": "string"
  24801. },
  24802. "accountname": {
  24803. "description": "资金账号对应的账号名(UserName)",
  24804. "type": "string"
  24805. },
  24806. "accountname2": {
  24807. "description": "资金账号对应的账号名(UserName) - 密文",
  24808. "type": "string"
  24809. },
  24810. "accounttype": {
  24811. "description": "账户类型(UserType)",
  24812. "type": "integer"
  24813. },
  24814. "applicationtime": {
  24815. "description": "最后一次更新的时间",
  24816. "type": "string"
  24817. },
  24818. "applyexchticket": {
  24819. "description": "申请流水",
  24820. "type": "string"
  24821. },
  24822. "auditid": {
  24823. "description": "审核人",
  24824. "type": "integer"
  24825. },
  24826. "audittime": {
  24827. "description": "审核时间",
  24828. "type": "string"
  24829. },
  24830. "bankaccountname": {
  24831. "description": "签约银行卡账号名",
  24832. "type": "string"
  24833. },
  24834. "bankaccountname2": {
  24835. "description": "签约银行卡账号名 - 密文",
  24836. "type": "string"
  24837. },
  24838. "bankaccountno": {
  24839. "description": "银行卡号",
  24840. "type": "string"
  24841. },
  24842. "bankaccountno2": {
  24843. "description": "银行卡号 - 密文",
  24844. "type": "string"
  24845. },
  24846. "bankaccounttype": {
  24847. "description": "银行账户类型 - 1-对私; 2-对公",
  24848. "type": "integer"
  24849. },
  24850. "bankcardtype": {
  24851. "description": "银行卡类型",
  24852. "type": "integer"
  24853. },
  24854. "bankchildaccount": {
  24855. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  24856. "type": "string"
  24857. },
  24858. "bankcity": {
  24859. "description": "开户行城市",
  24860. "type": "string"
  24861. },
  24862. "bankid": {
  24863. "description": "签约银行ID",
  24864. "type": "string"
  24865. },
  24866. "bankname": {
  24867. "description": "签约银行名称",
  24868. "type": "string"
  24869. },
  24870. "bankprovince": {
  24871. "description": "开户行省份",
  24872. "type": "string"
  24873. },
  24874. "branchbankid": {
  24875. "description": "签约银行支行号",
  24876. "type": "string"
  24877. },
  24878. "branchbankname": {
  24879. "description": "签约银行支行名称",
  24880. "type": "string"
  24881. },
  24882. "cardno": {
  24883. "description": "证件号码",
  24884. "type": "string"
  24885. },
  24886. "cardno2": {
  24887. "description": "证件号码 - 密文",
  24888. "type": "string"
  24889. },
  24890. "cardtype": {
  24891. "description": "证件类型",
  24892. "type": "string"
  24893. },
  24894. "currency": {
  24895. "description": "币种",
  24896. "type": "string"
  24897. },
  24898. "cusbankid": {
  24899. "description": "托管银行编号",
  24900. "type": "string"
  24901. },
  24902. "direct": {
  24903. "description": "方向(可以判断那方先发起的签约)",
  24904. "type": "integer"
  24905. },
  24906. "exchticket": {
  24907. "description": "最后一次签约成功的流水号",
  24908. "type": "string"
  24909. },
  24910. "extendinfo": {
  24911. "description": "扩展信息(JSON字符串)",
  24912. "type": "string"
  24913. },
  24914. "mobilephone": {
  24915. "description": "手机号",
  24916. "type": "string"
  24917. },
  24918. "mobilephone2": {
  24919. "description": "手机号 - 密文",
  24920. "type": "string"
  24921. },
  24922. "netaddr": {
  24923. "description": "调转网址",
  24924. "type": "string"
  24925. },
  24926. "relateduserid": {
  24927. "description": "关联使用者userid",
  24928. "type": "integer"
  24929. },
  24930. "signstatus": {
  24931. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  24932. "type": "integer"
  24933. },
  24934. "updatetime": {
  24935. "description": "更新时间(签解约更新时间)",
  24936. "type": "string"
  24937. }
  24938. }
  24939. },
  24940. "models.QhjBankInfo": {
  24941. "type": "object",
  24942. "properties": {
  24943. "bankid": {
  24944. "description": "银行ID",
  24945. "type": "string"
  24946. },
  24947. "bankname": {
  24948. "description": "银行名称",
  24949. "type": "string"
  24950. },
  24951. "clearbankno": {
  24952. "description": "清算系统银行编号",
  24953. "type": "string"
  24954. },
  24955. "orderindex": {
  24956. "description": "排序顺序",
  24957. "type": "integer"
  24958. },
  24959. "status": {
  24960. "description": "状态 - 0:正常 1:注销",
  24961. "type": "integer"
  24962. }
  24963. }
  24964. },
  24965. "models.QhjBrokerApply": {
  24966. "type": "object",
  24967. "properties": {
  24968. "applicantid": {
  24969. "description": "申请人",
  24970. "type": "integer"
  24971. },
  24972. "applysrc": {
  24973. "description": "申请来源 - 1:管理端 2:终端",
  24974. "type": "integer"
  24975. },
  24976. "applystatus": {
  24977. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24978. "type": "integer"
  24979. },
  24980. "applytime": {
  24981. "description": "申请时间",
  24982. "type": "string"
  24983. },
  24984. "auditorid": {
  24985. "description": "审核人",
  24986. "type": "integer"
  24987. },
  24988. "auditremark": {
  24989. "description": "审核备注",
  24990. "type": "string"
  24991. },
  24992. "auditsrc": {
  24993. "description": "审核来源 - 1:管理端 2:终端",
  24994. "type": "integer"
  24995. },
  24996. "audittime": {
  24997. "description": "审核时间",
  24998. "type": "string"
  24999. },
  25000. "audittradedate": {
  25001. "description": "审核交易日(yyyyMMdd)",
  25002. "type": "string"
  25003. },
  25004. "brokerapplyid": {
  25005. "description": "申请ID(SEQ_BROKERAPPLY)",
  25006. "type": "integer"
  25007. },
  25008. "cardbackphotourl": {
  25009. "description": "证件背面图片地址",
  25010. "type": "string"
  25011. },
  25012. "cardfrontphotourl": {
  25013. "description": "证件正面图片地址",
  25014. "type": "string"
  25015. },
  25016. "cardnum": {
  25017. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25018. "type": "string"
  25019. },
  25020. "customername": {
  25021. "description": "姓名",
  25022. "type": "string"
  25023. },
  25024. "logincode": {
  25025. "description": "登录代码",
  25026. "type": "string"
  25027. },
  25028. "mobile": {
  25029. "description": "手机号码",
  25030. "type": "string"
  25031. },
  25032. "parentuserid": {
  25033. "description": "所属机构id",
  25034. "type": "integer"
  25035. },
  25036. "parentusername": {
  25037. "description": "所属机构名称",
  25038. "type": "string"
  25039. },
  25040. "refereeuserid": {
  25041. "description": "推荐人id(经纪人)",
  25042. "type": "integer"
  25043. },
  25044. "refernum": {
  25045. "description": "推荐码",
  25046. "type": "string"
  25047. },
  25048. "remark": {
  25049. "description": "备注",
  25050. "type": "string"
  25051. },
  25052. "subarealevelpath": {
  25053. "description": "层级路径",
  25054. "type": "string"
  25055. },
  25056. "tradedate": {
  25057. "description": "交易日(yyyyMMdd)",
  25058. "type": "string"
  25059. },
  25060. "userid": {
  25061. "description": "申请人用户ID",
  25062. "type": "integer"
  25063. },
  25064. "userinfotype": {
  25065. "description": "用户类型 1-个人 2-企业",
  25066. "type": "integer"
  25067. },
  25068. "username": {
  25069. "description": "用户名称",
  25070. "type": "string"
  25071. }
  25072. }
  25073. },
  25074. "models.QhjBrokerApplyEx": {
  25075. "type": "object",
  25076. "properties": {
  25077. "applylist": {
  25078. "description": "经纪人申请记录(只返回最新一条)",
  25079. "type": "array",
  25080. "items": {
  25081. "$ref": "#/definitions/models.QhjBrokerApply"
  25082. }
  25083. },
  25084. "canrecommend": {
  25085. "description": "是否经纪人 0-不是 1-是",
  25086. "type": "integer"
  25087. },
  25088. "refernum": {
  25089. "description": "推荐码",
  25090. "type": "string"
  25091. },
  25092. "userid": {
  25093. "description": "用户id",
  25094. "type": "integer"
  25095. },
  25096. "userinfotype": {
  25097. "description": "用户类型 1-个人 2-企业",
  25098. "type": "integer"
  25099. }
  25100. }
  25101. },
  25102. "models.QhjBrokerRewardLog": {
  25103. "type": "object",
  25104. "properties": {
  25105. "accountid": {
  25106. "description": "资金账号ID",
  25107. "type": "integer"
  25108. },
  25109. "createtime": {
  25110. "description": "创建时间(时间)",
  25111. "type": "string"
  25112. },
  25113. "handlestatus": {
  25114. "description": "处理状态",
  25115. "type": "integer"
  25116. },
  25117. "logid": {
  25118. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25119. "type": "string"
  25120. },
  25121. "marketid": {
  25122. "description": "市场ID",
  25123. "type": "integer"
  25124. },
  25125. "mmaccountid": {
  25126. "description": "做市商资金账号ID",
  25127. "type": "string"
  25128. },
  25129. "mmuserid": {
  25130. "description": "做市商用户ID",
  25131. "type": "string"
  25132. },
  25133. "rewardamount": {
  25134. "description": "奖励金额",
  25135. "type": "number"
  25136. },
  25137. "rewardmodel": {
  25138. "description": "消费奖励方式 - 1:比率 2:固定",
  25139. "type": "integer"
  25140. },
  25141. "rewardtype": {
  25142. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  25143. "type": "integer"
  25144. },
  25145. "rewardvalue": {
  25146. "description": "配置奖励值",
  25147. "type": "number"
  25148. },
  25149. "srcamount": {
  25150. "description": "成交金额 [消费奖励] (金额)",
  25151. "type": "number"
  25152. },
  25153. "srcgoodsid": {
  25154. "description": "来源商品ID [消费奖励]",
  25155. "type": "string"
  25156. },
  25157. "srctime": {
  25158. "description": "来源时间 (成交时间) [消费奖励]",
  25159. "type": "string"
  25160. },
  25161. "srctradeid": {
  25162. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  25163. "type": "string"
  25164. },
  25165. "srcuserid": {
  25166. "description": "来源用户ID(推广账户)",
  25167. "type": "string"
  25168. },
  25169. "srcusername": {
  25170. "description": "推广账户名称",
  25171. "type": "string"
  25172. },
  25173. "tradedate": {
  25174. "description": "交易日(yyyyMMdd)",
  25175. "type": "string"
  25176. },
  25177. "userid": {
  25178. "description": "经纪人用户ID",
  25179. "type": "integer"
  25180. }
  25181. }
  25182. },
  25183. "models.QhjContract": {
  25184. "type": "object",
  25185. "properties": {
  25186. "contractconfirmtime": {
  25187. "description": "合同确认时间(时间)",
  25188. "type": "string"
  25189. },
  25190. "currisklevel": {
  25191. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  25192. "type": "integer"
  25193. },
  25194. "decimalplace": {
  25195. "description": "商品报价小数位",
  25196. "type": "integer"
  25197. },
  25198. "enumdicname": {
  25199. "description": "单位名称",
  25200. "type": "string"
  25201. },
  25202. "goodscode": {
  25203. "description": "商品代码",
  25204. "type": "string"
  25205. },
  25206. "goodsid": {
  25207. "description": "商品ID [5:融资单]",
  25208. "type": "integer"
  25209. },
  25210. "goodsname": {
  25211. "description": "商品名称",
  25212. "type": "string"
  25213. },
  25214. "goodunitid": {
  25215. "description": "商品单位id",
  25216. "type": "integer"
  25217. },
  25218. "initmargin": {
  25219. "description": "初始保证金(首付款)",
  25220. "type": "number"
  25221. },
  25222. "lenderamount": {
  25223. "description": "贷款金额(总额|订单总额)",
  25224. "type": "number"
  25225. },
  25226. "marginratio": {
  25227. "description": "保证金比率(首付比例)",
  25228. "type": "number"
  25229. },
  25230. "payamount": {
  25231. "description": "已付(已付货款)",
  25232. "type": "number"
  25233. },
  25234. "reckonrecovermargin": {
  25235. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  25236. "type": "number"
  25237. },
  25238. "recoveredmargin": {
  25239. "description": "已追缴保证金",
  25240. "type": "number"
  25241. },
  25242. "remainamount": {
  25243. "description": "合同剩余金额(融资额)",
  25244. "type": "number"
  25245. },
  25246. "scfcontractid": {
  25247. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25248. "type": "string"
  25249. },
  25250. "scfcontractstatus": {
  25251. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  25252. "type": "integer"
  25253. },
  25254. "scfcontracttype": {
  25255. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  25256. "type": "integer"
  25257. },
  25258. "totalinterest": {
  25259. "description": "已计总利息(利息)",
  25260. "type": "number"
  25261. },
  25262. "tradeprice": {
  25263. "description": "成交价格(成本价格)",
  25264. "type": "number"
  25265. },
  25266. "userid": {
  25267. "description": "用户ID",
  25268. "type": "integer"
  25269. },
  25270. "username": {
  25271. "description": "用户名称",
  25272. "type": "string"
  25273. },
  25274. "wrqty": {
  25275. "description": "仓单数量(数量)",
  25276. "type": "number"
  25277. }
  25278. }
  25279. },
  25280. "models.QhjContractLog": {
  25281. "type": "object",
  25282. "properties": {
  25283. "amount": {
  25284. "description": "支付金额",
  25285. "type": "number"
  25286. },
  25287. "amounttype": {
  25288. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  25289. "type": "integer"
  25290. },
  25291. "logid": {
  25292. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25293. "type": "string"
  25294. },
  25295. "remainamount": {
  25296. "description": "剩余货款",
  25297. "type": "number"
  25298. },
  25299. "scfcontractid": {
  25300. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  25301. "type": "integer"
  25302. },
  25303. "updatetime": {
  25304. "description": "更新时间",
  25305. "type": "string"
  25306. }
  25307. }
  25308. },
  25309. "models.QhjCusBankSignBankEx": {
  25310. "type": "object",
  25311. "properties": {
  25312. "banklst": {
  25313. "description": "银行列表",
  25314. "type": "array",
  25315. "items": {
  25316. "$ref": "#/definitions/models.QhjBankInfo"
  25317. }
  25318. },
  25319. "canallot": {
  25320. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  25321. "type": "integer"
  25322. },
  25323. "canallotquery": {
  25324. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  25325. "type": "integer"
  25326. },
  25327. "canbindcard": {
  25328. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  25329. "type": "integer"
  25330. },
  25331. "caninamount": {
  25332. "description": "是否可入金 - 0:不可 1:可以",
  25333. "type": "integer"
  25334. },
  25335. "caninamount2": {
  25336. "description": "是否可入金(网银端) - 0:不可 1:可以",
  25337. "type": "integer"
  25338. },
  25339. "canmodifybankcard": {
  25340. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  25341. "type": "integer"
  25342. },
  25343. "canmodifyphone": {
  25344. "description": "是否可修改手机号 - 0:不可 1:可以",
  25345. "type": "integer"
  25346. },
  25347. "canmodifysigninfo": {
  25348. "description": "是否可修改签约信息 - 0:不可 1:可以",
  25349. "type": "integer"
  25350. },
  25351. "canoutamount": {
  25352. "description": "是否可出金 - 0:不可 1:可以",
  25353. "type": "integer"
  25354. },
  25355. "canoutamount2": {
  25356. "description": "是否可出金(网银端) - 0:不可 1:可以",
  25357. "type": "integer"
  25358. },
  25359. "canrelease": {
  25360. "description": "是否可解约 - 0:不可 1:可以",
  25361. "type": "integer"
  25362. },
  25363. "canrelease2": {
  25364. "description": "是否可解约(网银端) - 0:不可 1:可以",
  25365. "type": "integer"
  25366. },
  25367. "cansign": {
  25368. "description": "是否可签约 - 0:不可 1:可以",
  25369. "type": "integer"
  25370. },
  25371. "cansign2": {
  25372. "description": "是否可签约(网银端) - 0:不可 1:可以",
  25373. "type": "integer"
  25374. },
  25375. "currency": {
  25376. "description": "币种",
  25377. "type": "string"
  25378. },
  25379. "cusbankid": {
  25380. "description": "托管银行编号(对应清算中心TRAN_NO)",
  25381. "type": "string"
  25382. },
  25383. "cusbankname": {
  25384. "description": "银行业务名称",
  25385. "type": "string"
  25386. },
  25387. "cusbankshortname": {
  25388. "description": "银行业务简称",
  25389. "type": "string"
  25390. },
  25391. "exchbankid": {
  25392. "description": "交易所开户银行ID",
  25393. "type": "string"
  25394. },
  25395. "exchpaybankaccname": {
  25396. "description": "交易所支出结算账户户名",
  25397. "type": "string"
  25398. },
  25399. "exchpaybankaccno": {
  25400. "description": "交易所支出结算账户",
  25401. "type": "string"
  25402. },
  25403. "isneedcheck": {
  25404. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  25405. "type": "integer"
  25406. },
  25407. "isneedclear": {
  25408. "description": "是否需要清算 - 0:不需要 1:需要",
  25409. "type": "integer"
  25410. },
  25411. "lastcheckstatus": {
  25412. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  25413. "type": "integer"
  25414. },
  25415. "lastchecktime": {
  25416. "description": "最后对账时间",
  25417. "type": "string"
  25418. },
  25419. "lastclearstatus": {
  25420. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  25421. "type": "integer"
  25422. },
  25423. "lastcleartime": {
  25424. "description": "最后清算时间",
  25425. "type": "string"
  25426. },
  25427. "lastsignintime": {
  25428. "description": "最后签到时间",
  25429. "type": "string"
  25430. },
  25431. "lastsignouttime": {
  25432. "description": "最后签退时间",
  25433. "type": "string"
  25434. },
  25435. "riskinfo": {
  25436. "description": "签约风险提示书",
  25437. "type": "string"
  25438. },
  25439. "signstatus": {
  25440. "description": "当前签到/签退状态 - 1:签到 2:签退",
  25441. "type": "integer"
  25442. },
  25443. "tradedate": {
  25444. "description": "交易日(yyyyMMdd)",
  25445. "type": "string"
  25446. },
  25447. "updatetime": {
  25448. "description": "当前签到/签退更新时间",
  25449. "type": "string"
  25450. }
  25451. }
  25452. },
  25453. "models.QhjCustomer": {
  25454. "type": "object",
  25455. "properties": {
  25456. "address": {
  25457. "description": "通讯地址",
  25458. "type": "string"
  25459. },
  25460. "attachment1": {
  25461. "description": "附件1",
  25462. "type": "string"
  25463. },
  25464. "audittime": {
  25465. "description": "审核时间",
  25466. "type": "string"
  25467. },
  25468. "cardbackphotourl": {
  25469. "description": "证件反面图片地址",
  25470. "type": "string"
  25471. },
  25472. "cardfrontphotourl": {
  25473. "description": "证件正面图片地址",
  25474. "type": "string"
  25475. },
  25476. "cardnum": {
  25477. "description": "证件号码",
  25478. "type": "string"
  25479. },
  25480. "cardtype": {
  25481. "description": "证件类型",
  25482. "type": "integer"
  25483. },
  25484. "cardtypename": {
  25485. "description": "证件类型名称",
  25486. "type": "string"
  25487. },
  25488. "cityid": {
  25489. "description": "市",
  25490. "type": "integer"
  25491. },
  25492. "cityname": {
  25493. "description": "城市名称",
  25494. "type": "string"
  25495. },
  25496. "contactname": {
  25497. "description": "联系人",
  25498. "type": "string"
  25499. },
  25500. "countryid": {
  25501. "description": "国家",
  25502. "type": "integer"
  25503. },
  25504. "countryname": {
  25505. "description": "国家名称",
  25506. "type": "string"
  25507. },
  25508. "createtime": {
  25509. "description": "创建时间",
  25510. "type": "string"
  25511. },
  25512. "customername": {
  25513. "description": "客户名称",
  25514. "type": "string"
  25515. },
  25516. "districtid": {
  25517. "description": "区域",
  25518. "type": "integer"
  25519. },
  25520. "districtname": {
  25521. "description": "地区名称",
  25522. "type": "string"
  25523. },
  25524. "email": {
  25525. "description": "邮件",
  25526. "type": "string"
  25527. },
  25528. "legalpersonname": {
  25529. "description": "法人姓名(企业)",
  25530. "type": "string"
  25531. },
  25532. "logincode": {
  25533. "description": "登录账号(代码)",
  25534. "type": "string"
  25535. },
  25536. "memberuserid": {
  25537. "description": "所属机构ID(所属会员)",
  25538. "type": "integer"
  25539. },
  25540. "memberusername": {
  25541. "description": "所属会员名称",
  25542. "type": "string"
  25543. },
  25544. "mobile": {
  25545. "description": "手机号码",
  25546. "type": "string"
  25547. },
  25548. "modifytime": {
  25549. "description": "修改时间",
  25550. "type": "string"
  25551. },
  25552. "nickname": {
  25553. "description": "昵称",
  25554. "type": "string"
  25555. },
  25556. "parentuserid": {
  25557. "description": "上级机构(所属机构)",
  25558. "type": "integer"
  25559. },
  25560. "parentusername": {
  25561. "description": "所属机构名称",
  25562. "type": "string"
  25563. },
  25564. "provinceid": {
  25565. "description": "省",
  25566. "type": "integer"
  25567. },
  25568. "provincename": {
  25569. "description": "省名称",
  25570. "type": "string"
  25571. },
  25572. "proxystatementurl": {
  25573. "description": "授权委托书",
  25574. "type": "string"
  25575. },
  25576. "remark": {
  25577. "description": "备注",
  25578. "type": "string"
  25579. },
  25580. "status": {
  25581. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  25582. "type": "integer"
  25583. },
  25584. "statusdesc": {
  25585. "description": "账户状态中文描述",
  25586. "type": "string"
  25587. },
  25588. "taxpayernum": {
  25589. "description": "纳税人识别号",
  25590. "type": "string"
  25591. },
  25592. "telphone": {
  25593. "description": "联系电话",
  25594. "type": "string"
  25595. },
  25596. "userid": {
  25597. "description": "用户ID",
  25598. "type": "integer"
  25599. },
  25600. "userinfotype": {
  25601. "description": "客户类型 1-个人 2-企业",
  25602. "type": "integer"
  25603. },
  25604. "username": {
  25605. "description": "用户名称",
  25606. "type": "string"
  25607. }
  25608. }
  25609. },
  25610. "models.QhjCustomerSignLog": {
  25611. "type": "object",
  25612. "properties": {
  25613. "agreementcontent": {
  25614. "description": "协议内容",
  25615. "type": "string"
  25616. },
  25617. "agreementid": {
  25618. "description": "协议ID",
  25619. "type": "integer"
  25620. },
  25621. "agreementname": {
  25622. "description": "协议名称",
  25623. "type": "string"
  25624. },
  25625. "agreementno": {
  25626. "description": "协议编号",
  25627. "type": "string"
  25628. },
  25629. "agreementtype": {
  25630. "description": "协议类型 - 1:注册 2:登录 3:交易",
  25631. "type": "integer"
  25632. },
  25633. "agreementversion": {
  25634. "description": "协议版本号",
  25635. "type": "integer"
  25636. },
  25637. "createtime": {
  25638. "description": "创建时间",
  25639. "type": "string"
  25640. },
  25641. "goodscode": {
  25642. "description": "商品代码",
  25643. "type": "string"
  25644. },
  25645. "goodsid": {
  25646. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25647. "type": "integer"
  25648. },
  25649. "goodsname": {
  25650. "description": "商品名称",
  25651. "type": "string"
  25652. },
  25653. "logid": {
  25654. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  25655. "type": "integer"
  25656. },
  25657. "nodetype": {
  25658. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  25659. "type": "integer"
  25660. },
  25661. "signadressurl": {
  25662. "description": "签约文件地址",
  25663. "type": "string"
  25664. },
  25665. "signtimestamp": {
  25666. "description": "签约状态时间戳",
  25667. "type": "string"
  25668. },
  25669. "userid": {
  25670. "description": "客户ID",
  25671. "type": "integer"
  25672. },
  25673. "username": {
  25674. "description": "客户名称",
  25675. "type": "string"
  25676. }
  25677. }
  25678. },
  25679. "models.QhjCustomerSignStatus": {
  25680. "type": "object",
  25681. "properties": {
  25682. "createtime": {
  25683. "description": "创建时间",
  25684. "type": "string"
  25685. },
  25686. "goodscode": {
  25687. "description": "商品代码",
  25688. "type": "string"
  25689. },
  25690. "goodsid": {
  25691. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  25692. "type": "integer"
  25693. },
  25694. "goodsname": {
  25695. "description": "商品名称",
  25696. "type": "string"
  25697. },
  25698. "nodetype": {
  25699. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  25700. "type": "integer"
  25701. },
  25702. "signtimestamp": {
  25703. "description": "签约状态时间戳",
  25704. "type": "string"
  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. "username": {
  25719. "description": "客户名称",
  25720. "type": "string"
  25721. }
  25722. }
  25723. },
  25724. "models.QhjMgrAccountOutInApply": {
  25725. "type": "object",
  25726. "properties": {
  25727. "accountcode": {
  25728. "description": "资金账号",
  25729. "type": "string"
  25730. },
  25731. "accountname": {
  25732. "description": "用户名称(名称)",
  25733. "type": "string"
  25734. },
  25735. "accountpwd": {
  25736. "description": "资金密码",
  25737. "type": "string"
  25738. },
  25739. "accountticket": {
  25740. "description": "最新账户服务流水号",
  25741. "type": "string"
  25742. },
  25743. "amount": {
  25744. "description": "金额",
  25745. "type": "number"
  25746. },
  25747. "applyremark": {
  25748. "description": "申请备注",
  25749. "type": "string"
  25750. },
  25751. "applystatus": {
  25752. "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: 复审通过,账户冻结金额检查中;",
  25753. "type": "integer"
  25754. },
  25755. "auditid": {
  25756. "description": "审核人",
  25757. "type": "integer"
  25758. },
  25759. "audittime": {
  25760. "description": "审核时间",
  25761. "type": "string"
  25762. },
  25763. "bank_apply_ticket": {
  25764. "description": "银行申请流水",
  25765. "type": "string"
  25766. },
  25767. "bankaccountname": {
  25768. "description": "银行账户名",
  25769. "type": "string"
  25770. },
  25771. "bankaccountno": {
  25772. "description": "银行卡号",
  25773. "type": "string"
  25774. },
  25775. "bankid": {
  25776. "description": "银行编号",
  25777. "type": "string"
  25778. },
  25779. "bankname": {
  25780. "description": "银行名称",
  25781. "type": "string"
  25782. },
  25783. "bankticket": {
  25784. "description": "银行流水",
  25785. "type": "string"
  25786. },
  25787. "branchbankid": {
  25788. "description": "银行支行号",
  25789. "type": "string"
  25790. },
  25791. "branchbankname": {
  25792. "description": "银行支行名称",
  25793. "type": "string"
  25794. },
  25795. "capamountout": {
  25796. "description": "出金(劣后本金) - 外部子账户",
  25797. "type": "number"
  25798. },
  25799. "certificatephotourl": {
  25800. "description": "凭证地址",
  25801. "type": "string"
  25802. },
  25803. "charge": {
  25804. "description": "手续费",
  25805. "type": "number"
  25806. },
  25807. "checkerrorflag": {
  25808. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  25809. "type": "integer"
  25810. },
  25811. "currency": {
  25812. "description": "币种",
  25813. "type": "string"
  25814. },
  25815. "cusbankid": {
  25816. "description": "托管银行编号",
  25817. "type": "string"
  25818. },
  25819. "exchticket": {
  25820. "description": "银行服务流水号",
  25821. "type": "string"
  25822. },
  25823. "executetype": {
  25824. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  25825. "type": "integer"
  25826. },
  25827. "extendinfo": {
  25828. "description": "扩展信息",
  25829. "type": "string"
  25830. },
  25831. "extoperateid": {
  25832. "description": "交易服务流水号",
  25833. "type": "integer"
  25834. },
  25835. "infamount": {
  25836. "description": "劣后金额(自有)",
  25837. "type": "number"
  25838. },
  25839. "logincode": {
  25840. "description": "登录账号(账号)",
  25841. "type": "string"
  25842. },
  25843. "netaddr": {
  25844. "description": "调转网址",
  25845. "type": "string"
  25846. },
  25847. "priamount": {
  25848. "description": "优先金额(授信)",
  25849. "type": "number"
  25850. },
  25851. "reauditid": {
  25852. "description": "复审人",
  25853. "type": "integer"
  25854. },
  25855. "reauditremark": {
  25856. "description": "复审备注",
  25857. "type": "string"
  25858. },
  25859. "reaudittime": {
  25860. "description": "复审时间",
  25861. "type": "string"
  25862. },
  25863. "relatedorderid": {
  25864. "description": "三方关联ID",
  25865. "type": "string"
  25866. },
  25867. "remark": {
  25868. "description": "备注",
  25869. "type": "string"
  25870. },
  25871. "remark2": {
  25872. "description": "备注(失败原因)",
  25873. "type": "string"
  25874. },
  25875. "soucreamount": {
  25876. "description": "原始出入金金额",
  25877. "type": "number"
  25878. },
  25879. "soucrecurrencyid": {
  25880. "description": "原始出入金币种",
  25881. "type": "integer"
  25882. },
  25883. "tradedate": {
  25884. "description": "交易日(yyyyMMdd)",
  25885. "type": "string"
  25886. },
  25887. "updatetime": {
  25888. "description": "更新时间(申请时间)",
  25889. "type": "string"
  25890. },
  25891. "userid": {
  25892. "description": "用户id",
  25893. "type": "integer"
  25894. },
  25895. "userinfotype": {
  25896. "description": "账户类型 1-个人 2-企业",
  25897. "type": "integer"
  25898. }
  25899. }
  25900. },
  25901. "models.QhjMgrBrokerApply": {
  25902. "type": "object",
  25903. "properties": {
  25904. "applicantid": {
  25905. "description": "申请人",
  25906. "type": "integer"
  25907. },
  25908. "applysrc": {
  25909. "description": "申请来源 - 1:管理端 2:终端",
  25910. "type": "integer"
  25911. },
  25912. "applystatus": {
  25913. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25914. "type": "integer"
  25915. },
  25916. "applytime": {
  25917. "description": "申请时间",
  25918. "type": "string"
  25919. },
  25920. "auditorid": {
  25921. "description": "审核人",
  25922. "type": "integer"
  25923. },
  25924. "auditremark": {
  25925. "description": "审核备注",
  25926. "type": "string"
  25927. },
  25928. "auditsrc": {
  25929. "description": "审核来源 - 1:管理端 2:终端",
  25930. "type": "integer"
  25931. },
  25932. "audittime": {
  25933. "description": "审核时间",
  25934. "type": "string"
  25935. },
  25936. "audittradedate": {
  25937. "description": "审核交易日(yyyyMMdd)",
  25938. "type": "string"
  25939. },
  25940. "brokerapplyid": {
  25941. "description": "申请ID(SEQ_BROKERAPPLY)",
  25942. "type": "integer"
  25943. },
  25944. "cardbackphotourl": {
  25945. "description": "证件背面图片地址",
  25946. "type": "string"
  25947. },
  25948. "cardfrontphotourl": {
  25949. "description": "证件正面图片地址",
  25950. "type": "string"
  25951. },
  25952. "cardnum": {
  25953. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  25954. "type": "string"
  25955. },
  25956. "customername": {
  25957. "description": "姓名",
  25958. "type": "string"
  25959. },
  25960. "filterstatus": {
  25961. "description": "筛选条件",
  25962. "type": "string"
  25963. },
  25964. "logincode": {
  25965. "description": "登录代码",
  25966. "type": "string"
  25967. },
  25968. "mobile": {
  25969. "description": "手机号码",
  25970. "type": "string"
  25971. },
  25972. "parentuserid": {
  25973. "description": "所属机构id",
  25974. "type": "integer"
  25975. },
  25976. "parentusername": {
  25977. "description": "所属机构名称",
  25978. "type": "string"
  25979. },
  25980. "refereeuserid": {
  25981. "description": "推荐人id(经纪人)",
  25982. "type": "integer"
  25983. },
  25984. "refernum": {
  25985. "description": "推荐码",
  25986. "type": "string"
  25987. },
  25988. "remark": {
  25989. "description": "备注",
  25990. "type": "string"
  25991. },
  25992. "subarealevelpath": {
  25993. "description": "层级路径",
  25994. "type": "string"
  25995. },
  25996. "tradedate": {
  25997. "description": "交易日(yyyyMMdd)",
  25998. "type": "string"
  25999. },
  26000. "userid": {
  26001. "description": "申请人用户ID",
  26002. "type": "integer"
  26003. },
  26004. "userinfotype": {
  26005. "description": "用户类型 1-个人 2-企业",
  26006. "type": "integer"
  26007. },
  26008. "username": {
  26009. "description": "用户名称",
  26010. "type": "string"
  26011. }
  26012. }
  26013. },
  26014. "models.QhjMgrBrokerRewardReport": {
  26015. "type": "object",
  26016. "properties": {
  26017. "createtime": {
  26018. "description": "创建时间(注册时间)",
  26019. "type": "string"
  26020. },
  26021. "cycletime": {
  26022. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  26023. "type": "string"
  26024. },
  26025. "cycletype": {
  26026. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26027. "type": "integer"
  26028. },
  26029. "directtotalnum": {
  26030. "description": "直推总人数【期末】",
  26031. "type": "integer"
  26032. },
  26033. "indirecttotalnum": {
  26034. "description": "间推总人数【期末】",
  26035. "type": "integer"
  26036. },
  26037. "mobile": {
  26038. "description": "电话号码",
  26039. "type": "string"
  26040. },
  26041. "refereeuserid": {
  26042. "description": "推荐人id(经纪人id)",
  26043. "type": "integer"
  26044. },
  26045. "refereeusername": {
  26046. "description": "推荐人名称(经纪人) 上级经纪人名称",
  26047. "type": "string"
  26048. },
  26049. "refernum": {
  26050. "description": "推荐码",
  26051. "type": "string"
  26052. },
  26053. "subarealevelpath": {
  26054. "description": "用户层级路径",
  26055. "type": "string"
  26056. },
  26057. "todayrewardamount": {
  26058. "description": "奖励总金额【汇总】",
  26059. "type": "number"
  26060. },
  26061. "updatetime": {
  26062. "description": "更新时间",
  26063. "type": "string"
  26064. },
  26065. "userid": {
  26066. "description": "经纪人用户ID",
  26067. "type": "integer"
  26068. },
  26069. "userinfotype": {
  26070. "description": "用户类型 1-个人 2-企业",
  26071. "type": "integer"
  26072. },
  26073. "username": {
  26074. "description": "用户名称",
  26075. "type": "string"
  26076. }
  26077. }
  26078. },
  26079. "models.QhjMgrContract": {
  26080. "type": "object",
  26081. "properties": {
  26082. "contractconfirmtime": {
  26083. "description": "合同确认时间(时间)",
  26084. "type": "string"
  26085. },
  26086. "currisklevel": {
  26087. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  26088. "type": "integer"
  26089. },
  26090. "decimalplace": {
  26091. "description": "商品报价小数位",
  26092. "type": "integer"
  26093. },
  26094. "enumdicname": {
  26095. "description": "单位名称",
  26096. "type": "string"
  26097. },
  26098. "goodscode": {
  26099. "description": "商品代码",
  26100. "type": "string"
  26101. },
  26102. "goodsid": {
  26103. "description": "商品ID [5:融资单]",
  26104. "type": "integer"
  26105. },
  26106. "goodsname": {
  26107. "description": "商品名称",
  26108. "type": "string"
  26109. },
  26110. "goodunitid": {
  26111. "description": "商品单位id",
  26112. "type": "integer"
  26113. },
  26114. "initmargin": {
  26115. "description": "初始保证金(首付款)",
  26116. "type": "number"
  26117. },
  26118. "lenderamount": {
  26119. "description": "贷款金额(总额|订单总额)",
  26120. "type": "number"
  26121. },
  26122. "logincode": {
  26123. "description": "账号(登录代码)",
  26124. "type": "string"
  26125. },
  26126. "marginratio": {
  26127. "description": "保证金比率(首付比例)",
  26128. "type": "number"
  26129. },
  26130. "mobile": {
  26131. "description": "电话号码(用户资料里的电话)",
  26132. "type": "string"
  26133. },
  26134. "payamount": {
  26135. "description": "已付(已付货款)",
  26136. "type": "number"
  26137. },
  26138. "reckonrecovermargin": {
  26139. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  26140. "type": "number"
  26141. },
  26142. "recoveredmargin": {
  26143. "description": "已追缴保证金",
  26144. "type": "number"
  26145. },
  26146. "remainamount": {
  26147. "description": "合同剩余金额(融资额)",
  26148. "type": "number"
  26149. },
  26150. "scfcontractid": {
  26151. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  26152. "type": "string"
  26153. },
  26154. "scfcontractstatus": {
  26155. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  26156. "type": "integer"
  26157. },
  26158. "scfcontracttype": {
  26159. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  26160. "type": "integer"
  26161. },
  26162. "totalinterest": {
  26163. "description": "已计总利息(利息)",
  26164. "type": "number"
  26165. },
  26166. "tradedate": {
  26167. "description": "交易日",
  26168. "type": "string"
  26169. },
  26170. "tradeprice": {
  26171. "description": "成交价格(成本价格)",
  26172. "type": "number"
  26173. },
  26174. "userid": {
  26175. "description": "用户ID",
  26176. "type": "integer"
  26177. },
  26178. "userinfotype": {
  26179. "description": "用户类型 1-个人 2-企业",
  26180. "type": "integer"
  26181. },
  26182. "username": {
  26183. "description": "用户名称",
  26184. "type": "string"
  26185. },
  26186. "wrqty": {
  26187. "description": "仓单数量(数量)",
  26188. "type": "number"
  26189. }
  26190. }
  26191. },
  26192. "models.QhjMgrCustomer": {
  26193. "type": "object",
  26194. "properties": {
  26195. "address": {
  26196. "description": "通讯地址",
  26197. "type": "string"
  26198. },
  26199. "attachment1": {
  26200. "description": "附件1",
  26201. "type": "string"
  26202. },
  26203. "audittime": {
  26204. "description": "审核时间",
  26205. "type": "string"
  26206. },
  26207. "cardbackphotourl": {
  26208. "description": "证件反面图片地址",
  26209. "type": "string"
  26210. },
  26211. "cardfrontphotourl": {
  26212. "description": "证件正面图片地址",
  26213. "type": "string"
  26214. },
  26215. "cardnum": {
  26216. "description": "证件号码",
  26217. "type": "string"
  26218. },
  26219. "cardtype": {
  26220. "description": "证件类型",
  26221. "type": "integer"
  26222. },
  26223. "cardtypename": {
  26224. "description": "证件类型名称",
  26225. "type": "string"
  26226. },
  26227. "cityid": {
  26228. "description": "市",
  26229. "type": "integer"
  26230. },
  26231. "cityname": {
  26232. "description": "城市名称",
  26233. "type": "string"
  26234. },
  26235. "contactname": {
  26236. "description": "联系人",
  26237. "type": "string"
  26238. },
  26239. "countryid": {
  26240. "description": "国家",
  26241. "type": "integer"
  26242. },
  26243. "countryname": {
  26244. "description": "国家名称",
  26245. "type": "string"
  26246. },
  26247. "createtime": {
  26248. "description": "创建时间",
  26249. "type": "string"
  26250. },
  26251. "customername": {
  26252. "description": "客户名称",
  26253. "type": "string"
  26254. },
  26255. "districtid": {
  26256. "description": "区域",
  26257. "type": "integer"
  26258. },
  26259. "districtname": {
  26260. "description": "地区名称",
  26261. "type": "string"
  26262. },
  26263. "email": {
  26264. "description": "邮件",
  26265. "type": "string"
  26266. },
  26267. "legalpersonname": {
  26268. "description": "法人姓名(企业)",
  26269. "type": "string"
  26270. },
  26271. "logincode": {
  26272. "description": "登录账号(代码)",
  26273. "type": "string"
  26274. },
  26275. "memberuserid": {
  26276. "description": "所属机构ID(所属会员)",
  26277. "type": "integer"
  26278. },
  26279. "memberusername": {
  26280. "description": "所属会员名称",
  26281. "type": "string"
  26282. },
  26283. "mobile": {
  26284. "description": "手机号码",
  26285. "type": "string"
  26286. },
  26287. "modifytime": {
  26288. "description": "修改时间",
  26289. "type": "string"
  26290. },
  26291. "nickname": {
  26292. "description": "昵称",
  26293. "type": "string"
  26294. },
  26295. "parentuserid": {
  26296. "description": "上级机构(所属机构)",
  26297. "type": "integer"
  26298. },
  26299. "parentusername": {
  26300. "description": "所属机构名称",
  26301. "type": "string"
  26302. },
  26303. "provinceid": {
  26304. "description": "省",
  26305. "type": "integer"
  26306. },
  26307. "provincename": {
  26308. "description": "省名称",
  26309. "type": "string"
  26310. },
  26311. "proxystatementurl": {
  26312. "description": "授权委托书",
  26313. "type": "string"
  26314. },
  26315. "querytype": {
  26316. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  26317. "type": "integer"
  26318. },
  26319. "remark": {
  26320. "description": "备注",
  26321. "type": "string"
  26322. },
  26323. "status": {
  26324. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26325. "type": "integer"
  26326. },
  26327. "statusdesc": {
  26328. "description": "账户状态中文描述",
  26329. "type": "string"
  26330. },
  26331. "taxpayernum": {
  26332. "description": "纳税人识别号",
  26333. "type": "string"
  26334. },
  26335. "telphone": {
  26336. "description": "联系电话",
  26337. "type": "string"
  26338. },
  26339. "userid": {
  26340. "description": "用户ID",
  26341. "type": "integer"
  26342. },
  26343. "userinfotype": {
  26344. "description": "客户类型 1-个人 2-企业",
  26345. "type": "integer"
  26346. },
  26347. "username": {
  26348. "description": "用户名称",
  26349. "type": "string"
  26350. }
  26351. }
  26352. },
  26353. "models.QhjMgrPickGoods": {
  26354. "type": "object",
  26355. "properties": {
  26356. "enumdicname": {
  26357. "description": "单位名称(提货商品)",
  26358. "type": "string"
  26359. },
  26360. "goodsid": {
  26361. "description": "商品id",
  26362. "type": "integer"
  26363. },
  26364. "imageaddress": {
  26365. "description": "图片",
  26366. "type": "string"
  26367. },
  26368. "modifierid": {
  26369. "description": "修改人",
  26370. "type": "integer"
  26371. },
  26372. "modifiername": {
  26373. "description": "修改人名称",
  26374. "type": "string"
  26375. },
  26376. "modifysrc": {
  26377. "description": "修改来源 - 1:管理端 2:终端",
  26378. "type": "integer"
  26379. },
  26380. "pickupgoodsagreeunit": {
  26381. "description": "合约乘数",
  26382. "type": "number"
  26383. },
  26384. "pickupgoodsdesc": {
  26385. "description": "描述",
  26386. "type": "string"
  26387. },
  26388. "pickupgoodsid": {
  26389. "description": "提货商品ID",
  26390. "type": "string"
  26391. },
  26392. "pickupgoodsname": {
  26393. "description": "提货商品名称",
  26394. "type": "string"
  26395. },
  26396. "pickupgoodsstatus": {
  26397. "description": "状态 - 1:正常 2:停用 3:注销",
  26398. "type": "integer"
  26399. },
  26400. "pickupgoodsunitid": {
  26401. "description": "单位ID",
  26402. "type": "integer"
  26403. },
  26404. "pickupratio": {
  26405. "description": "提货系数",
  26406. "type": "number"
  26407. },
  26408. "preparedays": {
  26409. "description": "备货期(天)",
  26410. "type": "integer"
  26411. },
  26412. "remark": {
  26413. "description": "备注",
  26414. "type": "string"
  26415. },
  26416. "updatetime": {
  26417. "description": "更新时间",
  26418. "type": "string"
  26419. }
  26420. }
  26421. },
  26422. "models.QhjMgrPositionRsp": {
  26423. "type": "object",
  26424. "properties": {
  26425. "accountid": {
  26426. "description": "账号Id",
  26427. "type": "integer"
  26428. },
  26429. "accountname": {
  26430. "description": "用户名称",
  26431. "type": "string"
  26432. },
  26433. "agreeunit": {
  26434. "description": "合约乘数",
  26435. "type": "number"
  26436. },
  26437. "averageprice": {
  26438. "description": "均价",
  26439. "type": "number"
  26440. },
  26441. "avialqty": {
  26442. "description": "可用数量",
  26443. "type": "number"
  26444. },
  26445. "decimalplace": {
  26446. "description": "报价小数位",
  26447. "type": "integer"
  26448. },
  26449. "enumdicname": {
  26450. "description": "单位名称(商品)",
  26451. "type": "string"
  26452. },
  26453. "frozenqty": {
  26454. "description": "冻结数量",
  26455. "type": "number"
  26456. },
  26457. "goodscode": {
  26458. "description": "商品代码(内部)",
  26459. "type": "string"
  26460. },
  26461. "goodsid": {
  26462. "description": "商品Id",
  26463. "type": "integer"
  26464. },
  26465. "goodsname": {
  26466. "description": "商品名称",
  26467. "type": "string"
  26468. },
  26469. "goodunitid": {
  26470. "description": "报价单位ID",
  26471. "type": "integer"
  26472. },
  26473. "holderamount": {
  26474. "description": "金额",
  26475. "type": "number"
  26476. },
  26477. "holderqty": {
  26478. "description": "持有数量",
  26479. "type": "number"
  26480. },
  26481. "holdertype": {
  26482. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  26483. "type": "integer"
  26484. },
  26485. "logincode": {
  26486. "description": "登录代码(账户)",
  26487. "type": "string"
  26488. },
  26489. "marketid": {
  26490. "description": "市场id",
  26491. "type": "integer"
  26492. },
  26493. "qtydecimalplace": {
  26494. "description": "成交量小数位",
  26495. "type": "integer"
  26496. },
  26497. "trademode": {
  26498. "description": "交易模式",
  26499. "type": "integer"
  26500. },
  26501. "userid": {
  26502. "description": "用户id",
  26503. "type": "integer"
  26504. },
  26505. "userinfotype": {
  26506. "description": "账户类型 1-个人 2-企业",
  26507. "type": "integer"
  26508. }
  26509. }
  26510. },
  26511. "models.QhjMgrSubArea": {
  26512. "type": "object",
  26513. "properties": {
  26514. "accountname": {
  26515. "description": "账户名称(机构名称)",
  26516. "type": "string"
  26517. },
  26518. "memberuserid": {
  26519. "description": "所属会员ID",
  26520. "type": "integer"
  26521. },
  26522. "parenttopuser": {
  26523. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26524. "type": "string"
  26525. },
  26526. "parentuserid": {
  26527. "description": "所属机构ID",
  26528. "type": "integer"
  26529. },
  26530. "rootuserid": {
  26531. "description": "根用户ID",
  26532. "type": "string"
  26533. },
  26534. "subaccountlevel": {
  26535. "description": "子账户层数",
  26536. "type": "integer"
  26537. },
  26538. "subarealevelpath": {
  26539. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26540. "type": "string"
  26541. },
  26542. "userid": {
  26543. "description": "用户ID",
  26544. "type": "integer"
  26545. },
  26546. "usertype": {
  26547. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26548. "type": "integer"
  26549. }
  26550. }
  26551. },
  26552. "models.QhjMgrTradeDetailRsp": {
  26553. "type": "object",
  26554. "properties": {
  26555. "accountid": {
  26556. "description": "资金账号",
  26557. "type": "integer"
  26558. },
  26559. "accountname": {
  26560. "description": "用户名称",
  26561. "type": "string"
  26562. },
  26563. "agreeunit": {
  26564. "description": "合约乘数",
  26565. "type": "number"
  26566. },
  26567. "buyorsell": {
  26568. "description": "成交类型(方向) 0:买 1:卖",
  26569. "type": "integer"
  26570. },
  26571. "decimalplace": {
  26572. "description": "报价小数位",
  26573. "type": "integer"
  26574. },
  26575. "enumdicname": {
  26576. "description": "单位名称(商品)",
  26577. "type": "string"
  26578. },
  26579. "goodscode": {
  26580. "description": "商品代码(内部)",
  26581. "type": "string"
  26582. },
  26583. "goodsid": {
  26584. "description": "商品id",
  26585. "type": "integer"
  26586. },
  26587. "goodsname": {
  26588. "description": "商品名称",
  26589. "type": "string"
  26590. },
  26591. "goodunitid": {
  26592. "description": "报价单位ID",
  26593. "type": "integer"
  26594. },
  26595. "logincode": {
  26596. "description": "登录代码(账户)",
  26597. "type": "string"
  26598. },
  26599. "marketid": {
  26600. "description": "市场id",
  26601. "type": "integer"
  26602. },
  26603. "orderid": {
  26604. "description": "关联委托单号",
  26605. "type": "string"
  26606. },
  26607. "qtydecimalplace": {
  26608. "description": "成交量小数位",
  26609. "type": "integer"
  26610. },
  26611. "tradeamount": {
  26612. "description": "金额",
  26613. "type": "number"
  26614. },
  26615. "tradedate": {
  26616. "description": "交易日",
  26617. "type": "string"
  26618. },
  26619. "tradeid": {
  26620. "description": "成交单号",
  26621. "type": "string"
  26622. },
  26623. "trademode": {
  26624. "description": "交易模式",
  26625. "type": "integer"
  26626. },
  26627. "tradeprice": {
  26628. "description": "价格",
  26629. "type": "number"
  26630. },
  26631. "tradeqty": {
  26632. "description": "数量",
  26633. "type": "number"
  26634. },
  26635. "tradetime": {
  26636. "description": "成交时间",
  26637. "type": "string"
  26638. },
  26639. "userid": {
  26640. "description": "用户id",
  26641. "type": "integer"
  26642. },
  26643. "userinfotype": {
  26644. "description": "账户类型 1-个人 2-企业",
  26645. "type": "integer"
  26646. }
  26647. }
  26648. },
  26649. "models.QhjMgrTradeOrderDetailRsp": {
  26650. "type": "object",
  26651. "properties": {
  26652. "accountid": {
  26653. "description": "资金账号",
  26654. "type": "integer"
  26655. },
  26656. "accountname": {
  26657. "description": "用户名称",
  26658. "type": "string"
  26659. },
  26660. "agreeunit": {
  26661. "description": "合约乘数",
  26662. "type": "number"
  26663. },
  26664. "amount": {
  26665. "description": "金额",
  26666. "type": "number"
  26667. },
  26668. "decimalplace": {
  26669. "description": "报价小数位",
  26670. "type": "integer"
  26671. },
  26672. "enumdicname": {
  26673. "description": "单位名称(商品)",
  26674. "type": "string"
  26675. },
  26676. "goodscode": {
  26677. "description": "商品代码(内部)",
  26678. "type": "string"
  26679. },
  26680. "goodsid": {
  26681. "description": "商品id",
  26682. "type": "integer"
  26683. },
  26684. "goodsname": {
  26685. "description": "商品名称",
  26686. "type": "string"
  26687. },
  26688. "goodunitid": {
  26689. "description": "报价单位ID",
  26690. "type": "integer"
  26691. },
  26692. "logincode": {
  26693. "description": "登录代码(账户)",
  26694. "type": "string"
  26695. },
  26696. "marketid": {
  26697. "description": "市场id",
  26698. "type": "integer"
  26699. },
  26700. "orderid": {
  26701. "description": "关联委托单号",
  26702. "type": "string"
  26703. },
  26704. "orderprice": {
  26705. "description": "价格",
  26706. "type": "number"
  26707. },
  26708. "orderqty": {
  26709. "description": "数量",
  26710. "type": "number"
  26711. },
  26712. "orderstatus": {
  26713. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  26714. "type": "integer"
  26715. },
  26716. "ordertime": {
  26717. "description": "委托时间",
  26718. "type": "string"
  26719. },
  26720. "qtydecimalplace": {
  26721. "description": "成交量小数位",
  26722. "type": "integer"
  26723. },
  26724. "tradedate": {
  26725. "description": "交易日",
  26726. "type": "string"
  26727. },
  26728. "trademode": {
  26729. "description": "交易模式",
  26730. "type": "integer"
  26731. },
  26732. "userid": {
  26733. "description": "用户id",
  26734. "type": "integer"
  26735. },
  26736. "userinfotype": {
  26737. "description": "账户类型 1-个人 2-企业",
  26738. "type": "integer"
  26739. }
  26740. }
  26741. },
  26742. "models.QhjMgrTradePayOrder": {
  26743. "type": "object",
  26744. "properties": {
  26745. "accountname": {
  26746. "description": "用户名称",
  26747. "type": "string"
  26748. },
  26749. "advanceratio": {
  26750. "description": "首付比率",
  26751. "type": "number"
  26752. },
  26753. "agreeunit": {
  26754. "description": "合约乘数",
  26755. "type": "number"
  26756. },
  26757. "buyaccountid": {
  26758. "description": "买方账号ID[报价币种]",
  26759. "type": "integer"
  26760. },
  26761. "buyorderid": {
  26762. "description": "买方委托单号(关联单号)",
  26763. "type": "string"
  26764. },
  26765. "createtime": {
  26766. "description": "创建时间",
  26767. "type": "string"
  26768. },
  26769. "decimalplace": {
  26770. "description": "报价小数位",
  26771. "type": "integer"
  26772. },
  26773. "enumdicname": {
  26774. "description": "单位名称(商品)",
  26775. "type": "string"
  26776. },
  26777. "goodscode": {
  26778. "description": "商品代码(内部)",
  26779. "type": "string"
  26780. },
  26781. "goodsid": {
  26782. "description": "商品ID",
  26783. "type": "integer"
  26784. },
  26785. "goodsname": {
  26786. "description": "商品名称",
  26787. "type": "string"
  26788. },
  26789. "goodunitid": {
  26790. "description": "报价单位ID",
  26791. "type": "integer"
  26792. },
  26793. "logincode": {
  26794. "description": "登录代码(账户)",
  26795. "type": "string"
  26796. },
  26797. "marketid": {
  26798. "description": "市场id",
  26799. "type": "integer"
  26800. },
  26801. "offamount": {
  26802. "description": "优惠金额",
  26803. "type": "number"
  26804. },
  26805. "operatetype": {
  26806. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  26807. "type": "integer"
  26808. },
  26809. "payamount": {
  26810. "description": "支付金额(金额)",
  26811. "type": "number"
  26812. },
  26813. "payflag": {
  26814. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  26815. "type": "integer"
  26816. },
  26817. "paylimitedtime": {
  26818. "description": "支付期限",
  26819. "type": "string"
  26820. },
  26821. "paytime": {
  26822. "description": "付款时间",
  26823. "type": "string"
  26824. },
  26825. "qtydecimalplace": {
  26826. "description": "成交量小数位",
  26827. "type": "integer"
  26828. },
  26829. "sellaccountid": {
  26830. "description": "卖方账号ID[报价币种]",
  26831. "type": "integer"
  26832. },
  26833. "sellorderid": {
  26834. "description": "卖方委托单号",
  26835. "type": "string"
  26836. },
  26837. "tradeamount": {
  26838. "description": "成交金额(优惠后金额)",
  26839. "type": "number"
  26840. },
  26841. "tradecharge": {
  26842. "description": "成交手续费(买方)",
  26843. "type": "number"
  26844. },
  26845. "tradedate": {
  26846. "description": "交易日(yyyyMMdd)",
  26847. "type": "string"
  26848. },
  26849. "tradeid": {
  26850. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26851. "type": "string"
  26852. },
  26853. "trademode": {
  26854. "description": "交易模式",
  26855. "type": "integer"
  26856. },
  26857. "tradeprice": {
  26858. "description": "成交价格(价格)",
  26859. "type": "number"
  26860. },
  26861. "tradeqty": {
  26862. "description": "成交数量(数量)",
  26863. "type": "number"
  26864. },
  26865. "tradetime": {
  26866. "description": "成交时间",
  26867. "type": "string"
  26868. },
  26869. "userid": {
  26870. "description": "用户id",
  26871. "type": "integer"
  26872. },
  26873. "userinfotype": {
  26874. "description": "账户类型 1-个人 2-企业",
  26875. "type": "integer"
  26876. }
  26877. }
  26878. },
  26879. "models.QhjMyTeamEx": {
  26880. "type": "object",
  26881. "properties": {
  26882. "accountname": {
  26883. "description": "用户名称",
  26884. "type": "string"
  26885. },
  26886. "accountstatus": {
  26887. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26888. "type": "integer"
  26889. },
  26890. "createtime": {
  26891. "description": "创建时间",
  26892. "type": "string"
  26893. },
  26894. "mobile": {
  26895. "description": "手机号码",
  26896. "type": "string"
  26897. },
  26898. "refereeuserid": {
  26899. "description": "推荐人id",
  26900. "type": "integer"
  26901. },
  26902. "refernum": {
  26903. "description": "推荐码",
  26904. "type": "string"
  26905. },
  26906. "subList": {
  26907. "type": "array",
  26908. "items": {
  26909. "$ref": "#/definitions/models.QhjMyTeamEx"
  26910. }
  26911. },
  26912. "userid": {
  26913. "description": "用户id",
  26914. "type": "integer"
  26915. },
  26916. "userinfotype": {
  26917. "description": "用户类型 1-个人 2-企业",
  26918. "type": "integer"
  26919. }
  26920. }
  26921. },
  26922. "models.QhjNodeAgreementConfig": {
  26923. "type": "object",
  26924. "properties": {
  26925. "agreementcontent": {
  26926. "description": "协议内容",
  26927. "type": "string"
  26928. },
  26929. "agreementid": {
  26930. "description": "协议ID",
  26931. "type": "integer"
  26932. },
  26933. "agreementname": {
  26934. "description": "协议名称",
  26935. "type": "string"
  26936. },
  26937. "agreementno": {
  26938. "description": "协议编号",
  26939. "type": "string"
  26940. },
  26941. "agreementtype": {
  26942. "description": "协议类型 - 1:注册 2:登录 3:交易",
  26943. "type": "integer"
  26944. },
  26945. "agreementversion": {
  26946. "description": "协议版本号",
  26947. "type": "integer"
  26948. },
  26949. "configid": {
  26950. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  26951. "type": "integer"
  26952. },
  26953. "createtime": {
  26954. "description": "创建时间",
  26955. "type": "string"
  26956. },
  26957. "goodsid": {
  26958. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  26959. "type": "integer"
  26960. },
  26961. "nodetype": {
  26962. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  26963. "type": "integer"
  26964. }
  26965. }
  26966. },
  26967. "models.QhjParentAreaList": {
  26968. "type": "object",
  26969. "properties": {
  26970. "accountname": {
  26971. "description": "账户名称(机构名称)",
  26972. "type": "string"
  26973. },
  26974. "userid": {
  26975. "description": "用户ID",
  26976. "type": "integer"
  26977. },
  26978. "usertype": {
  26979. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26980. "type": "integer"
  26981. }
  26982. }
  26983. },
  26984. "models.QhjPayOrder": {
  26985. "type": "object",
  26986. "properties": {
  26987. "advanceratio": {
  26988. "description": "首付比率",
  26989. "type": "number"
  26990. },
  26991. "buyaccountid": {
  26992. "description": "买方账号ID[报价币种]",
  26993. "type": "integer"
  26994. },
  26995. "buyorderid": {
  26996. "description": "买方委托单号",
  26997. "type": "string"
  26998. },
  26999. "createtime": {
  27000. "description": "创建时间",
  27001. "type": "string"
  27002. },
  27003. "decimalplace": {
  27004. "description": "商品报价小数位",
  27005. "type": "integer"
  27006. },
  27007. "enumdicname": {
  27008. "description": "单位名称",
  27009. "type": "string"
  27010. },
  27011. "goodscode": {
  27012. "description": "商品代码",
  27013. "type": "string"
  27014. },
  27015. "goodsid": {
  27016. "description": "商品ID",
  27017. "type": "integer"
  27018. },
  27019. "goodsname": {
  27020. "description": "商品名称",
  27021. "type": "string"
  27022. },
  27023. "goodunitid": {
  27024. "description": "商品单位id",
  27025. "type": "integer"
  27026. },
  27027. "marketid": {
  27028. "description": "市场ID",
  27029. "type": "integer"
  27030. },
  27031. "offamount": {
  27032. "description": "优惠金额",
  27033. "type": "number"
  27034. },
  27035. "operatetype": {
  27036. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  27037. "type": "integer"
  27038. },
  27039. "payamount": {
  27040. "description": "支付金额",
  27041. "type": "number"
  27042. },
  27043. "payflag": {
  27044. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  27045. "type": "integer"
  27046. },
  27047. "paylimitedtime": {
  27048. "description": "支付期限",
  27049. "type": "string"
  27050. },
  27051. "paytime": {
  27052. "description": "付款时间",
  27053. "type": "string"
  27054. },
  27055. "qtydecimalplace": {
  27056. "description": "成交量小数位",
  27057. "type": "integer"
  27058. },
  27059. "sellaccountid": {
  27060. "description": "卖方账号ID[报价币种]",
  27061. "type": "integer"
  27062. },
  27063. "sellorderid": {
  27064. "description": "卖方委托单号",
  27065. "type": "string"
  27066. },
  27067. "tradeamount": {
  27068. "description": "成交金额(优惠后金额)",
  27069. "type": "number"
  27070. },
  27071. "tradecharge": {
  27072. "description": "成交手续费(买方)",
  27073. "type": "number"
  27074. },
  27075. "tradedate": {
  27076. "description": "交易日(yyyyMMdd)",
  27077. "type": "string"
  27078. },
  27079. "tradeid": {
  27080. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27081. "type": "string"
  27082. },
  27083. "tradeprice": {
  27084. "description": "成交价格",
  27085. "type": "number"
  27086. },
  27087. "tradeqty": {
  27088. "description": "成交数量",
  27089. "type": "number"
  27090. }
  27091. }
  27092. },
  27093. "models.QhjPickArea": {
  27094. "type": "object",
  27095. "properties": {
  27096. "address": {
  27097. "description": "详细地址",
  27098. "type": "string"
  27099. },
  27100. "cityid": {
  27101. "description": "市",
  27102. "type": "integer"
  27103. },
  27104. "cityname": {
  27105. "description": "城市名称",
  27106. "type": "string"
  27107. },
  27108. "countryid": {
  27109. "description": "国家",
  27110. "type": "integer"
  27111. },
  27112. "countryname": {
  27113. "description": "国家名称",
  27114. "type": "string"
  27115. },
  27116. "districtid": {
  27117. "description": "地区",
  27118. "type": "integer"
  27119. },
  27120. "districtname": {
  27121. "description": "地区名称",
  27122. "type": "string"
  27123. },
  27124. "fromuserid": {
  27125. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  27126. "type": "integer"
  27127. },
  27128. "fromusername": {
  27129. "description": "所属机构名称",
  27130. "type": "string"
  27131. },
  27132. "provinceid": {
  27133. "description": "省",
  27134. "type": "integer"
  27135. },
  27136. "provincename": {
  27137. "description": "省名称",
  27138. "type": "string"
  27139. },
  27140. "suborgtype": {
  27141. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  27142. "type": "integer"
  27143. },
  27144. "userid": {
  27145. "description": "机构用户ID 其他做市关系,都设置为 1",
  27146. "type": "integer"
  27147. },
  27148. "username": {
  27149. "description": "机构用户名称(门店门称)",
  27150. "type": "string"
  27151. }
  27152. }
  27153. },
  27154. "models.QhjPickGoods": {
  27155. "type": "object",
  27156. "properties": {
  27157. "enumdicname": {
  27158. "description": "单位名称(提货商品)",
  27159. "type": "string"
  27160. },
  27161. "goodsid": {
  27162. "description": "商品id",
  27163. "type": "integer"
  27164. },
  27165. "imageaddress": {
  27166. "description": "图片",
  27167. "type": "string"
  27168. },
  27169. "modifierid": {
  27170. "description": "修改人",
  27171. "type": "integer"
  27172. },
  27173. "modifiername": {
  27174. "description": "修改人名称",
  27175. "type": "string"
  27176. },
  27177. "modifysrc": {
  27178. "description": "修改来源 - 1:管理端 2:终端",
  27179. "type": "integer"
  27180. },
  27181. "pickupgoodsagreeunit": {
  27182. "description": "合约乘数",
  27183. "type": "number"
  27184. },
  27185. "pickupgoodsdesc": {
  27186. "description": "描述",
  27187. "type": "string"
  27188. },
  27189. "pickupgoodsid": {
  27190. "description": "提货商品ID",
  27191. "type": "string"
  27192. },
  27193. "pickupgoodsname": {
  27194. "description": "提货商品名称",
  27195. "type": "string"
  27196. },
  27197. "pickupgoodsstatus": {
  27198. "description": "状态 - 1:正常 2:停用 3:注销",
  27199. "type": "integer"
  27200. },
  27201. "pickupgoodsunitid": {
  27202. "description": "单位ID",
  27203. "type": "integer"
  27204. },
  27205. "pickupratio": {
  27206. "description": "提货系数",
  27207. "type": "number"
  27208. },
  27209. "preparedays": {
  27210. "description": "备货期(天)",
  27211. "type": "integer"
  27212. },
  27213. "remark": {
  27214. "description": "备注",
  27215. "type": "string"
  27216. },
  27217. "updatetime": {
  27218. "description": "更新时间",
  27219. "type": "string"
  27220. }
  27221. }
  27222. },
  27223. "models.QhjRSTriggerLog": {
  27224. "type": "object",
  27225. "properties": {
  27226. "accountid": {
  27227. "description": "用户资金账户",
  27228. "type": "integer"
  27229. },
  27230. "accountname": {
  27231. "description": "账号名称(ACCOUNTID对应的名称)",
  27232. "type": "string"
  27233. },
  27234. "currencyid": {
  27235. "description": "币种id",
  27236. "type": "integer"
  27237. },
  27238. "currencyname": {
  27239. "description": "币种名称",
  27240. "type": "string"
  27241. },
  27242. "decimalplace": {
  27243. "description": "商品报价小数位",
  27244. "type": "integer"
  27245. },
  27246. "enumdicname": {
  27247. "description": "单位名称",
  27248. "type": "string"
  27249. },
  27250. "goodscode": {
  27251. "description": "定投商品代码",
  27252. "type": "string"
  27253. },
  27254. "goodsid": {
  27255. "description": "定投商品ID",
  27256. "type": "integer"
  27257. },
  27258. "goodsname": {
  27259. "description": "定投商品名称",
  27260. "type": "string"
  27261. },
  27262. "goodunitid": {
  27263. "description": "定投商品单位id",
  27264. "type": "integer"
  27265. },
  27266. "logid": {
  27267. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  27268. "type": "string"
  27269. },
  27270. "logincode": {
  27271. "description": "账号(登录代码)",
  27272. "type": "string"
  27273. },
  27274. "qtydecimalplace": {
  27275. "description": "成交量小数位",
  27276. "type": "integer"
  27277. },
  27278. "regularlycycle": {
  27279. "description": "定投频率 - 1:每周 2:每月",
  27280. "type": "integer"
  27281. },
  27282. "regularlycyclevalue": {
  27283. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27284. "type": "string"
  27285. },
  27286. "regularlymode": {
  27287. "description": "定投方式 - 1:按数量 2:按金额",
  27288. "type": "integer"
  27289. },
  27290. "regularlymodevalue": {
  27291. "description": "定投方式值 - 数量或金额",
  27292. "type": "number"
  27293. },
  27294. "regularlystrategyid": {
  27295. "description": "定投策略ID",
  27296. "type": "integer"
  27297. },
  27298. "retcode": {
  27299. "description": "错误码",
  27300. "type": "string"
  27301. },
  27302. "tradeid": {
  27303. "description": "成交单ID",
  27304. "type": "string"
  27305. },
  27306. "triggeramount": {
  27307. "description": "触发金额",
  27308. "type": "number"
  27309. },
  27310. "triggerqty": {
  27311. "description": "触发数量",
  27312. "type": "number"
  27313. },
  27314. "triggerstatus": {
  27315. "description": "触发状态 - 1:成功 2:失败",
  27316. "type": "integer"
  27317. },
  27318. "triggertime": {
  27319. "description": "触发时间",
  27320. "type": "string"
  27321. },
  27322. "triggertradedate": {
  27323. "description": "触发交易日",
  27324. "type": "string"
  27325. },
  27326. "userid": {
  27327. "description": "所属用户ID",
  27328. "type": "integer"
  27329. },
  27330. "userinfotype": {
  27331. "description": "用户类型 1-个人 2-企业",
  27332. "type": "integer"
  27333. },
  27334. "username": {
  27335. "description": "用户名称(userid对应的名称)",
  27336. "type": "string"
  27337. }
  27338. }
  27339. },
  27340. "models.QhjRStrategy": {
  27341. "type": "object",
  27342. "properties": {
  27343. "accountid": {
  27344. "description": "用户资金账户",
  27345. "type": "integer"
  27346. },
  27347. "accountname": {
  27348. "description": "账号名称(ACCOUNTID对应的名称)",
  27349. "type": "string"
  27350. },
  27351. "currencyid": {
  27352. "description": "币种id",
  27353. "type": "integer"
  27354. },
  27355. "currencyname": {
  27356. "description": "币种名称",
  27357. "type": "string"
  27358. },
  27359. "decimalplace": {
  27360. "description": "商品报价小数位",
  27361. "type": "integer"
  27362. },
  27363. "enumdicname": {
  27364. "description": "单位名称",
  27365. "type": "string"
  27366. },
  27367. "goodscode": {
  27368. "description": "定投商品代码",
  27369. "type": "string"
  27370. },
  27371. "goodsid": {
  27372. "description": "定投商品ID",
  27373. "type": "integer"
  27374. },
  27375. "goodsname": {
  27376. "description": "定投商品名称",
  27377. "type": "string"
  27378. },
  27379. "goodunitid": {
  27380. "description": "定投商品单位id",
  27381. "type": "integer"
  27382. },
  27383. "lasteffecttradedate": {
  27384. "description": "最新生效交易日",
  27385. "type": "string"
  27386. },
  27387. "laststoptradedate": {
  27388. "description": "最新暂停交易日",
  27389. "type": "string"
  27390. },
  27391. "lasttriggertradedate": {
  27392. "description": "最新触发交易日",
  27393. "type": "string"
  27394. },
  27395. "logincode": {
  27396. "description": "账号(登录代码)",
  27397. "type": "string"
  27398. },
  27399. "nexttriggeramount": {
  27400. "description": "下次触发金额",
  27401. "type": "number"
  27402. },
  27403. "nexttriggerdate": {
  27404. "description": "下次触发日期",
  27405. "type": "string"
  27406. },
  27407. "nexttriggerqty": {
  27408. "description": "下次触发数量 [按小数位放大值]",
  27409. "type": "number"
  27410. },
  27411. "qtydecimalplace": {
  27412. "description": "成交量小数位",
  27413. "type": "integer"
  27414. },
  27415. "regularlycycle": {
  27416. "description": "定投频率 - 1:每周 2:每月",
  27417. "type": "integer"
  27418. },
  27419. "regularlycyclevalue": {
  27420. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  27421. "type": "string"
  27422. },
  27423. "regularlymode": {
  27424. "description": "定投方式 - 1:按数量 2:按金额",
  27425. "type": "integer"
  27426. },
  27427. "regularlymodevalue": {
  27428. "description": "定投方式值 - 数量或金额",
  27429. "type": "number"
  27430. },
  27431. "regularlystrategyid": {
  27432. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  27433. "type": "integer"
  27434. },
  27435. "regularlystrategystatus": {
  27436. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  27437. "type": "integer"
  27438. },
  27439. "remark": {
  27440. "description": "备注",
  27441. "type": "string"
  27442. },
  27443. "triggersuccesstimes": {
  27444. "description": "累计定投成功次数",
  27445. "type": "string"
  27446. },
  27447. "triggertotalamount": {
  27448. "description": "累计定投金额(成功)",
  27449. "type": "number"
  27450. },
  27451. "triggertotalqty": {
  27452. "description": "累计定投数量(成功) [按小数位放大值]",
  27453. "type": "number"
  27454. },
  27455. "triggertotaltimes": {
  27456. "description": "累计定投总次数",
  27457. "type": "string"
  27458. },
  27459. "updatesrc": {
  27460. "description": "更新来源 - 1:管理端 2:终端",
  27461. "type": "integer"
  27462. },
  27463. "updatetime": {
  27464. "description": "更新时间",
  27465. "type": "string"
  27466. },
  27467. "updatorid": {
  27468. "description": "更新人",
  27469. "type": "string"
  27470. },
  27471. "userid": {
  27472. "description": "所属用户ID",
  27473. "type": "integer"
  27474. },
  27475. "userinfotype": {
  27476. "description": "用户类型 1-个人 2-企业",
  27477. "type": "integer"
  27478. },
  27479. "username": {
  27480. "description": "用户名称(userid对应的名称)",
  27481. "type": "string"
  27482. }
  27483. }
  27484. },
  27485. "models.QhjReckonPriceLog": {
  27486. "type": "object",
  27487. "properties": {
  27488. "decimalplace": {
  27489. "description": "商品报价小数位",
  27490. "type": "integer"
  27491. },
  27492. "goodscode": {
  27493. "description": "商品代码",
  27494. "type": "string"
  27495. },
  27496. "goodsid": {
  27497. "description": "商品ID",
  27498. "type": "integer"
  27499. },
  27500. "goodsname": {
  27501. "description": "商品名称",
  27502. "type": "string"
  27503. },
  27504. "lastreckonprice": {
  27505. "description": "上日结算价",
  27506. "type": "number"
  27507. },
  27508. "nextdnlimitprice": {
  27509. "description": "下个交易日跌停价",
  27510. "type": "number"
  27511. },
  27512. "nexttrade": {
  27513. "description": "下个交易日",
  27514. "type": "string"
  27515. },
  27516. "nextuplimitprice": {
  27517. "description": "下个交易日涨停价",
  27518. "type": "number"
  27519. },
  27520. "reckonprice": {
  27521. "description": "今日结算价(定投价)",
  27522. "type": "number"
  27523. },
  27524. "reckontime": {
  27525. "description": "结算时间",
  27526. "type": "string"
  27527. },
  27528. "totalholderqty": {
  27529. "description": "总持仓数",
  27530. "type": "integer"
  27531. },
  27532. "totalstock": {
  27533. "description": "总库存",
  27534. "type": "integer"
  27535. },
  27536. "tradedate": {
  27537. "description": "交易日",
  27538. "type": "string"
  27539. },
  27540. "updowncount": {
  27541. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  27542. "type": "integer"
  27543. },
  27544. "updownflag": {
  27545. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  27546. "type": "integer"
  27547. },
  27548. "updownrate": {
  27549. "description": "今日涨跌幅",
  27550. "type": "number"
  27551. },
  27552. "updownrate_2d": {
  27553. "description": "连续两日涨跌幅",
  27554. "type": "number"
  27555. },
  27556. "updownrate_3d": {
  27557. "description": "连续三日涨跌幅",
  27558. "type": "number"
  27559. }
  27560. }
  27561. },
  27562. "models.QhjScoreLog": {
  27563. "type": "object",
  27564. "properties": {
  27565. "accountid": {
  27566. "description": "账户ID",
  27567. "type": "integer"
  27568. },
  27569. "createtime": {
  27570. "description": "创建时间(时间)",
  27571. "type": "string"
  27572. },
  27573. "goodsid": {
  27574. "description": "商品ID",
  27575. "type": "integer"
  27576. },
  27577. "hasuploaded": {
  27578. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  27579. "type": "integer"
  27580. },
  27581. "logid": {
  27582. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  27583. "type": "string"
  27584. },
  27585. "marketid": {
  27586. "description": "市场ID",
  27587. "type": "integer"
  27588. },
  27589. "relatedamount": {
  27590. "description": "关联金额",
  27591. "type": "number"
  27592. },
  27593. "relatedorderid": {
  27594. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  27595. "type": "string"
  27596. },
  27597. "scoreconfigvalue1": {
  27598. "description": "积分配置1",
  27599. "type": "integer"
  27600. },
  27601. "scoreconfigvalue2": {
  27602. "description": "积分配置1",
  27603. "type": "integer"
  27604. },
  27605. "scoretype": {
  27606. "description": "积分类型 - 1:提货积分",
  27607. "type": "integer"
  27608. },
  27609. "scorevalue": {
  27610. "description": "积分",
  27611. "type": "number"
  27612. },
  27613. "tradedate": {
  27614. "description": "交易日(yyyyMMdd)",
  27615. "type": "string"
  27616. },
  27617. "uploadedtime": {
  27618. "description": "同步时间",
  27619. "type": "string"
  27620. },
  27621. "userid": {
  27622. "description": "用户ID",
  27623. "type": "integer"
  27624. }
  27625. }
  27626. },
  27627. "models.QhjSiteColumnDetail": {
  27628. "type": "object",
  27629. "properties": {
  27630. "author": {
  27631. "description": "作者",
  27632. "type": "string"
  27633. },
  27634. "brief": {
  27635. "description": "简介",
  27636. "type": "string"
  27637. },
  27638. "columnid": {
  27639. "description": "所属栏目",
  27640. "type": "integer"
  27641. },
  27642. "context": {
  27643. "description": "内容",
  27644. "type": "string"
  27645. },
  27646. "coverimage": {
  27647. "description": "封面图片",
  27648. "type": "string"
  27649. },
  27650. "creaedate": {
  27651. "description": "创建时间",
  27652. "type": "string"
  27653. },
  27654. "creatorid": {
  27655. "description": "创建人",
  27656. "type": "integer"
  27657. },
  27658. "hits": {
  27659. "description": "点击数",
  27660. "type": "integer"
  27661. },
  27662. "id": {
  27663. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  27664. "type": "integer"
  27665. },
  27666. "isshow": {
  27667. "description": "是否展示 - 0:不展示 1:展示",
  27668. "type": "integer"
  27669. },
  27670. "istop": {
  27671. "description": "是否置顶 - 0:不置 1:置顶",
  27672. "type": "integer"
  27673. },
  27674. "modifierid": {
  27675. "description": "操作人",
  27676. "type": "integer"
  27677. },
  27678. "publishdate": {
  27679. "description": "发布日期",
  27680. "type": "string"
  27681. },
  27682. "status": {
  27683. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  27684. "type": "integer"
  27685. },
  27686. "title": {
  27687. "description": "标题",
  27688. "type": "string"
  27689. },
  27690. "updatedate": {
  27691. "description": "修改时间",
  27692. "type": "string"
  27693. },
  27694. "userid": {
  27695. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  27696. "type": "integer"
  27697. },
  27698. "username": {
  27699. "description": "用户名称",
  27700. "type": "string"
  27701. }
  27702. }
  27703. },
  27704. "models.QhjTeamOrder": {
  27705. "type": "object",
  27706. "properties": {
  27707. "accountid": {
  27708. "description": "账户ID[报价币种]",
  27709. "type": "integer"
  27710. },
  27711. "accountname": {
  27712. "description": "账户名称",
  27713. "type": "string"
  27714. },
  27715. "agreeunit": {
  27716. "description": "合约乘数",
  27717. "type": "number"
  27718. },
  27719. "buyorsell": {
  27720. "description": "方向 - 0:买 1:卖",
  27721. "type": "integer"
  27722. },
  27723. "decimalplace": {
  27724. "description": "报价小数位",
  27725. "type": "integer"
  27726. },
  27727. "enumdicname": {
  27728. "description": "单位名称",
  27729. "type": "string"
  27730. },
  27731. "goodscode": {
  27732. "description": "商品代码(内部)",
  27733. "type": "string"
  27734. },
  27735. "goodsid": {
  27736. "description": "商品ID",
  27737. "type": "integer"
  27738. },
  27739. "goodsname": {
  27740. "description": "商品名称",
  27741. "type": "string"
  27742. },
  27743. "goodunitid": {
  27744. "description": "报价单位ID",
  27745. "type": "integer"
  27746. },
  27747. "marketid": {
  27748. "description": "市场ID",
  27749. "type": "integer"
  27750. },
  27751. "marketname": {
  27752. "description": "市场名称",
  27753. "type": "string"
  27754. },
  27755. "qtydecimalplace": {
  27756. "description": "成交量小数位",
  27757. "type": "integer"
  27758. },
  27759. "refereeuserid": {
  27760. "description": "推荐人ID",
  27761. "type": "integer"
  27762. },
  27763. "tradeamount": {
  27764. "description": "成交金额[账户币种,用于所有权]",
  27765. "type": "number"
  27766. },
  27767. "tradedate": {
  27768. "description": "交易日(yyyyMMdd)",
  27769. "type": "string"
  27770. },
  27771. "trademode": {
  27772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27773. "type": "integer"
  27774. },
  27775. "tradeprice": {
  27776. "description": "成交价格",
  27777. "type": "number"
  27778. },
  27779. "tradeqty": {
  27780. "description": "成交数量",
  27781. "type": "number"
  27782. },
  27783. "tradetime": {
  27784. "description": "成交时间",
  27785. "type": "string"
  27786. },
  27787. "userid": {
  27788. "description": "用户ID",
  27789. "type": "integer"
  27790. }
  27791. }
  27792. },
  27793. "models.QhjTradeGoodsPickup": {
  27794. "type": "object",
  27795. "properties": {
  27796. "accountid": {
  27797. "description": "账户ID",
  27798. "type": "integer"
  27799. },
  27800. "address": {
  27801. "description": "提货人详细地址",
  27802. "type": "string"
  27803. },
  27804. "amount": {
  27805. "description": "提货金额",
  27806. "type": "number"
  27807. },
  27808. "artradedate": {
  27809. "description": "自动收货交易日(yyyyMMdd)",
  27810. "type": "string"
  27811. },
  27812. "auditer": {
  27813. "description": "审核人",
  27814. "type": "integer"
  27815. },
  27816. "auditsrc": {
  27817. "description": "更新来源 - 1:管理端 2:终端",
  27818. "type": "integer"
  27819. },
  27820. "audittime": {
  27821. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  27822. "type": "string"
  27823. },
  27824. "audittradedate": {
  27825. "description": "审核交易日(yyyyMMdd)",
  27826. "type": "string"
  27827. },
  27828. "cardnum": {
  27829. "description": "提货人证件号码",
  27830. "type": "string"
  27831. },
  27832. "cardtypeid": {
  27833. "description": "提货人证件类型",
  27834. "type": "integer"
  27835. },
  27836. "checkremark": {
  27837. "description": "审核备注",
  27838. "type": "string"
  27839. },
  27840. "cityid": {
  27841. "description": "市",
  27842. "type": "integer"
  27843. },
  27844. "cityname": {
  27845. "description": "城市名称",
  27846. "type": "string"
  27847. },
  27848. "confirmtime": {
  27849. "description": "取货时间 或 收货时间",
  27850. "type": "string"
  27851. },
  27852. "countryid": {
  27853. "description": "国家",
  27854. "type": "integer"
  27855. },
  27856. "countryname": {
  27857. "description": "国家名称",
  27858. "type": "string"
  27859. },
  27860. "decimalplace": {
  27861. "description": "商品报价小数位",
  27862. "type": "integer"
  27863. },
  27864. "districtid": {
  27865. "description": "地区",
  27866. "type": "integer"
  27867. },
  27868. "districtname": {
  27869. "description": "地区名称",
  27870. "type": "string"
  27871. },
  27872. "enumdicname": {
  27873. "description": "单位名称(提货商品)",
  27874. "type": "string"
  27875. },
  27876. "expresscompany": {
  27877. "description": "物流公司",
  27878. "type": "string"
  27879. },
  27880. "expressnum": {
  27881. "description": "物流单号",
  27882. "type": "string"
  27883. },
  27884. "goodsagreeunit": {
  27885. "description": "交易商品乘数",
  27886. "type": "number"
  27887. },
  27888. "goodscode": {
  27889. "description": "商品代码",
  27890. "type": "string"
  27891. },
  27892. "goodsid": {
  27893. "description": "商品ID",
  27894. "type": "integer"
  27895. },
  27896. "goodsname": {
  27897. "description": "商品名称",
  27898. "type": "string"
  27899. },
  27900. "goodsqty": {
  27901. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  27902. "type": "number"
  27903. },
  27904. "handlestatus": {
  27905. "description": "处理状态",
  27906. "type": "integer"
  27907. },
  27908. "logincode": {
  27909. "description": "账号(登录代码, 有可能为空)",
  27910. "type": "string"
  27911. },
  27912. "marketid": {
  27913. "description": "市场ID",
  27914. "type": "integer"
  27915. },
  27916. "phonenum": {
  27917. "description": "提货人联系方式",
  27918. "type": "string"
  27919. },
  27920. "pickupgoodsagreeunit": {
  27921. "description": "提货商品合约乘数",
  27922. "type": "number"
  27923. },
  27924. "pickupgoodsid": {
  27925. "description": "提货商品ID",
  27926. "type": "string"
  27927. },
  27928. "pickupgoodsname": {
  27929. "description": "提货商品名称",
  27930. "type": "string"
  27931. },
  27932. "pickupgoodsqty": {
  27933. "description": "提货商品手数(数量)",
  27934. "type": "number"
  27935. },
  27936. "pickupgoodsunitid": {
  27937. "description": "单位ID(提货商品)",
  27938. "type": "integer"
  27939. },
  27940. "pickupratio": {
  27941. "description": "提货系数",
  27942. "type": "number"
  27943. },
  27944. "preparedays": {
  27945. "description": "备货期(天)-提货单明细表",
  27946. "type": "integer"
  27947. },
  27948. "provinceid": {
  27949. "description": "省",
  27950. "type": "integer"
  27951. },
  27952. "provincename": {
  27953. "description": "省名称",
  27954. "type": "string"
  27955. },
  27956. "qty": {
  27957. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  27958. "type": "number"
  27959. },
  27960. "qtydecimalplace": {
  27961. "description": "商品数量小数位",
  27962. "type": "integer"
  27963. },
  27964. "recivername": {
  27965. "description": "提货人姓名",
  27966. "type": "string"
  27967. },
  27968. "reqtime": {
  27969. "description": "提货申请时间",
  27970. "type": "string"
  27971. },
  27972. "storeuserid": {
  27973. "description": "门店用户ID (千海金)",
  27974. "type": "integer"
  27975. },
  27976. "storeusername": {
  27977. "description": "门店用户名称",
  27978. "type": "string"
  27979. },
  27980. "takemode": {
  27981. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  27982. "type": "integer"
  27983. },
  27984. "takeorderid": {
  27985. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  27986. "type": "string"
  27987. },
  27988. "takeorderstatus": {
  27989. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  27990. "type": "integer"
  27991. },
  27992. "takeremark": {
  27993. "description": "提货备注",
  27994. "type": "string"
  27995. },
  27996. "tradedate": {
  27997. "description": "交易日(yyyyMMdd)",
  27998. "type": "string"
  27999. },
  28000. "updatetime": {
  28001. "description": "更新时间",
  28002. "type": "string"
  28003. },
  28004. "userid": {
  28005. "description": "用户ID",
  28006. "type": "integer"
  28007. },
  28008. "userinfotype": {
  28009. "description": "客户类型 1-个人 2-企业",
  28010. "type": "integer"
  28011. },
  28012. "username": {
  28013. "description": "用户名称",
  28014. "type": "string"
  28015. }
  28016. }
  28017. },
  28018. "models.QhjUserNodeCfgAndStatus": {
  28019. "type": "object",
  28020. "properties": {
  28021. "agreementcontent": {
  28022. "description": "协议内容",
  28023. "type": "string"
  28024. },
  28025. "agreementid": {
  28026. "description": "协议ID",
  28027. "type": "integer"
  28028. },
  28029. "agreementname": {
  28030. "description": "协议名称",
  28031. "type": "string"
  28032. },
  28033. "agreementno": {
  28034. "description": "协议编号",
  28035. "type": "string"
  28036. },
  28037. "agreementtype": {
  28038. "description": "协议类型 - 1:注册 2:登录 3:交易",
  28039. "type": "integer"
  28040. },
  28041. "agreementversion": {
  28042. "description": "协议版本号",
  28043. "type": "integer"
  28044. },
  28045. "configid": {
  28046. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  28047. "type": "integer"
  28048. },
  28049. "createtime": {
  28050. "description": "创建时间",
  28051. "type": "string"
  28052. },
  28053. "goodsid": {
  28054. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  28055. "type": "integer"
  28056. },
  28057. "nodetype": {
  28058. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  28059. "type": "integer"
  28060. },
  28061. "signtimestamp": {
  28062. "description": "签约状态时间戳(最近一次)",
  28063. "type": "string"
  28064. },
  28065. "tradedate": {
  28066. "description": "签约交易日(yyyyMMdd)",
  28067. "type": "string"
  28068. },
  28069. "userid": {
  28070. "description": "客户ID",
  28071. "type": "integer"
  28072. }
  28073. }
  28074. },
  28075. "models.Qhjgoodsex": {
  28076. "type": "object",
  28077. "properties": {
  28078. "canfinance": {
  28079. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  28080. "type": "integer"
  28081. },
  28082. "canregularlybuy": {
  28083. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  28084. "type": "integer"
  28085. },
  28086. "defaulttradeuserid": {
  28087. "description": "默认交易用户ID",
  28088. "type": "integer"
  28089. },
  28090. "deliverygoodsid": {
  28091. "description": "现货品种ID",
  28092. "type": "integer"
  28093. },
  28094. "goodsid": {
  28095. "description": "商品ID(自增ID SEQ_GOODS)",
  28096. "type": "integer"
  28097. },
  28098. "minamount": {
  28099. "description": "最小购买金额",
  28100. "type": "number"
  28101. },
  28102. "regularlybuyminamount": {
  28103. "description": "定投最小金额",
  28104. "type": "number"
  28105. },
  28106. "regularlybuyminqty": {
  28107. "description": "定投最小数量",
  28108. "type": "number"
  28109. },
  28110. "spotgoodsbrandid": {
  28111. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  28112. "type": "integer"
  28113. },
  28114. "visibilityforenterprise": {
  28115. "description": "企业客户是否可见 - 0:不可见 1:可见",
  28116. "type": "integer"
  28117. },
  28118. "visibilityforpersonal": {
  28119. "description": "个人客户是否可见 - 0:不可见 1:可见",
  28120. "type": "integer"
  28121. },
  28122. "wrstandardid": {
  28123. "description": "现货商品ID",
  28124. "type": "integer"
  28125. }
  28126. }
  28127. },
  28128. "models.QueryErrorInfosRsp": {
  28129. "type": "object",
  28130. "required": [
  28131. "errorid"
  28132. ],
  28133. "properties": {
  28134. "description": {
  28135. "description": "异常描述",
  28136. "type": "string"
  28137. },
  28138. "errorcode": {
  28139. "description": "异常代码",
  28140. "type": "string"
  28141. },
  28142. "errorid": {
  28143. "description": "异常ID",
  28144. "type": "integer"
  28145. },
  28146. "modulecode": {
  28147. "description": "所属模块",
  28148. "type": "string"
  28149. },
  28150. "operatecode": {
  28151. "description": "所属操作",
  28152. "type": "string"
  28153. },
  28154. "rownumber": {
  28155. "description": "行号",
  28156. "type": "string"
  28157. }
  28158. }
  28159. },
  28160. "models.QueryHedgeOrderDetailRsp": {
  28161. "type": "object",
  28162. "properties": {
  28163. "accountid": {
  28164. "description": "账户ID",
  28165. "type": "integer"
  28166. },
  28167. "buyorsell": {
  28168. "description": "买卖 - 0:买 1:卖",
  28169. "type": "integer"
  28170. },
  28171. "cancellogincode": {
  28172. "description": "撤单人",
  28173. "type": "string"
  28174. },
  28175. "channelbuildtype": {
  28176. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  28177. "type": "integer"
  28178. },
  28179. "channelinnerorderstatus": {
  28180. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  28181. "type": "integer"
  28182. },
  28183. "channeloperatetype": {
  28184. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  28185. "type": "integer"
  28186. },
  28187. "closetype": {
  28188. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28189. "type": "integer"
  28190. },
  28191. "curexchangerate": {
  28192. "description": "当前汇率",
  28193. "type": "number"
  28194. },
  28195. "exchangefullname": {
  28196. "description": "外部交易所全称",
  28197. "type": "string"
  28198. },
  28199. "goodscode": {
  28200. "description": "商品代码(内部)",
  28201. "type": "string"
  28202. },
  28203. "goodsid": {
  28204. "description": "商品ID",
  28205. "type": "integer"
  28206. },
  28207. "goodsname": {
  28208. "description": "商品名称",
  28209. "type": "string"
  28210. },
  28211. "marketid": {
  28212. "description": "市场ID",
  28213. "type": "integer"
  28214. },
  28215. "openfreezemargin": {
  28216. "description": "冻结保证金(冻结交易金额)",
  28217. "type": "number"
  28218. },
  28219. "orderid": {
  28220. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28221. "type": "string"
  28222. },
  28223. "orderlogincode": {
  28224. "description": "委托人",
  28225. "type": "string"
  28226. },
  28227. "orderprice": {
  28228. "description": "委托价格(账户)",
  28229. "type": "number"
  28230. },
  28231. "orderqty": {
  28232. "description": "委托数量",
  28233. "type": "integer"
  28234. },
  28235. "ordertime": {
  28236. "description": "委托时间",
  28237. "type": "string"
  28238. },
  28239. "pricemode": {
  28240. "description": "取价方式 - 1:市价 2: 限价",
  28241. "type": "integer"
  28242. },
  28243. "tradedate": {
  28244. "description": "交易日(yyyyMMdd)",
  28245. "type": "string"
  28246. },
  28247. "tradeqty": {
  28248. "description": "成交数量",
  28249. "type": "integer"
  28250. }
  28251. }
  28252. },
  28253. "models.QueryHedgeTradeDetailRsp": {
  28254. "type": "object",
  28255. "properties": {
  28256. "accountid": {
  28257. "description": "账号ID",
  28258. "type": "integer"
  28259. },
  28260. "buyorsell": {
  28261. "description": "方向 - 0:买 1:卖",
  28262. "type": "integer"
  28263. },
  28264. "channelbuildtype": {
  28265. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28266. "type": "integer"
  28267. },
  28268. "closecharge": {
  28269. "description": "平仓手续费(账户)",
  28270. "type": "number"
  28271. },
  28272. "closecharge2": {
  28273. "description": "平仓手续费(商品)",
  28274. "type": "number"
  28275. },
  28276. "closepl": {
  28277. "description": "平仓盈亏(账户)",
  28278. "type": "number"
  28279. },
  28280. "closepl2": {
  28281. "description": "平仓盈亏(商品)",
  28282. "type": "number"
  28283. },
  28284. "closepl3": {
  28285. "description": "平仓盈亏(账户)(逐笔)",
  28286. "type": "number"
  28287. },
  28288. "closepl4": {
  28289. "description": "平仓盈亏(商品)(逐笔)",
  28290. "type": "number"
  28291. },
  28292. "closetype": {
  28293. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  28294. "type": "integer"
  28295. },
  28296. "curexchangerate": {
  28297. "description": "当前汇率",
  28298. "type": "number"
  28299. },
  28300. "exchangefullname": {
  28301. "description": "外部交易所全称",
  28302. "type": "string"
  28303. },
  28304. "goodscode": {
  28305. "description": "商品代码(内部)",
  28306. "type": "string"
  28307. },
  28308. "goodsid": {
  28309. "description": "商品ID",
  28310. "type": "integer"
  28311. },
  28312. "goodsname": {
  28313. "description": "商品名称",
  28314. "type": "string"
  28315. },
  28316. "marketid": {
  28317. "description": "市场ID",
  28318. "type": "integer"
  28319. },
  28320. "opencharge": {
  28321. "description": "建仓手续费(账户)",
  28322. "type": "number"
  28323. },
  28324. "opencharge2": {
  28325. "description": "建仓手续费(商品)",
  28326. "type": "number"
  28327. },
  28328. "orderid": {
  28329. "description": "委托单号",
  28330. "type": "string"
  28331. },
  28332. "orderlogincode": {
  28333. "description": "委托人",
  28334. "type": "string"
  28335. },
  28336. "tradeamount": {
  28337. "description": "成交金额(账户)",
  28338. "type": "number"
  28339. },
  28340. "tradedate": {
  28341. "description": "交易日(yyyyMMdd)",
  28342. "type": "string"
  28343. },
  28344. "tradeid": {
  28345. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  28346. "type": "string"
  28347. },
  28348. "tradeprice": {
  28349. "description": "成交价格",
  28350. "type": "number"
  28351. },
  28352. "tradeqty": {
  28353. "description": "成交数量",
  28354. "type": "integer"
  28355. },
  28356. "tradetime": {
  28357. "description": "成交时间",
  28358. "type": "string"
  28359. },
  28360. "tradetype": {
  28361. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  28362. "type": "integer"
  28363. }
  28364. }
  28365. },
  28366. "models.QuotePrimaryMenu": {
  28367. "type": "object",
  28368. "properties": {
  28369. "Index": {
  28370. "description": "序号",
  28371. "type": "integer"
  28372. },
  28373. "Key": {
  28374. "description": "键名",
  28375. "type": "string"
  28376. },
  28377. "Name": {
  28378. "description": "菜单名称",
  28379. "type": "string"
  28380. },
  28381. "SubMenus": {
  28382. "description": "子菜单",
  28383. "type": "array",
  28384. "items": {
  28385. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  28386. }
  28387. },
  28388. "SubTitleType": {
  28389. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  28390. "type": "integer"
  28391. },
  28392. "TradeModes": {
  28393. "description": "包含市场交易类型",
  28394. "type": "string"
  28395. }
  28396. }
  28397. },
  28398. "models.QuoteSecondaryMenu": {
  28399. "type": "object",
  28400. "properties": {
  28401. "ExExchangeCode": {
  28402. "description": "外部交易所代码",
  28403. "type": "string"
  28404. },
  28405. "ExExchangeID": {
  28406. "description": "外部交易所ID",
  28407. "type": "integer"
  28408. },
  28409. "GoodsGroupIDs": {
  28410. "description": "商品组ID列表",
  28411. "type": "array",
  28412. "items": {
  28413. "type": "integer"
  28414. }
  28415. },
  28416. "Index": {
  28417. "description": "序号",
  28418. "type": "integer"
  28419. },
  28420. "MarketID": {
  28421. "description": "市场ID",
  28422. "type": "integer"
  28423. },
  28424. "MenuTitle": {
  28425. "description": "菜单标题(市场名称或外部交易所名称)",
  28426. "type": "string"
  28427. },
  28428. "TradeMode": {
  28429. "description": "交易模式",
  28430. "type": "integer"
  28431. }
  28432. }
  28433. },
  28434. "models.RoleMenu": {
  28435. "type": "object",
  28436. "properties": {
  28437. "hasright": {
  28438. "description": "是否有权限 0-没有权限 1-有权限",
  28439. "type": "integer"
  28440. },
  28441. "iconame": {
  28442. "description": "菜单图标",
  28443. "type": "string"
  28444. },
  28445. "menutype": {
  28446. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  28447. "type": "integer"
  28448. },
  28449. "parentcode": {
  28450. "description": "上级资源代码",
  28451. "type": "string"
  28452. },
  28453. "remark": {
  28454. "description": "菜单备注",
  28455. "type": "string"
  28456. },
  28457. "resourcecode": {
  28458. "description": "菜单代码",
  28459. "type": "string"
  28460. },
  28461. "resourcelevel": {
  28462. "description": "级别",
  28463. "type": "integer"
  28464. },
  28465. "resourcename": {
  28466. "description": "菜单名称",
  28467. "type": "string"
  28468. },
  28469. "roleid": {
  28470. "description": "角色id",
  28471. "type": "integer"
  28472. },
  28473. "sort": {
  28474. "description": "排序",
  28475. "type": "integer"
  28476. },
  28477. "subMenu": {
  28478. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  28479. "type": "array",
  28480. "items": {
  28481. "$ref": "#/definitions/models.RoleMenu"
  28482. }
  28483. },
  28484. "url": {
  28485. "description": "URL",
  28486. "type": "string"
  28487. },
  28488. "userid": {
  28489. "description": "用户id",
  28490. "type": "integer"
  28491. }
  28492. }
  28493. },
  28494. "models.SearchGoods": {
  28495. "type": "object",
  28496. "required": [
  28497. "goodscode",
  28498. "goodsid",
  28499. "goodsname",
  28500. "marketid",
  28501. "trademode"
  28502. ],
  28503. "properties": {
  28504. "goodscode": {
  28505. "description": "商品代码(内部)",
  28506. "type": "string"
  28507. },
  28508. "goodsid": {
  28509. "description": "商品ID(自增ID SEQ_GOODS)",
  28510. "type": "integer"
  28511. },
  28512. "goodsname": {
  28513. "description": "商品名称",
  28514. "type": "string"
  28515. },
  28516. "marketid": {
  28517. "description": "所属市场ID",
  28518. "type": "integer"
  28519. },
  28520. "marketname": {
  28521. "description": "市场名称",
  28522. "type": "string"
  28523. },
  28524. "trademode": {
  28525. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28526. "type": "integer"
  28527. }
  28528. }
  28529. },
  28530. "models.Systemparam": {
  28531. "type": "object",
  28532. "required": [
  28533. "paramcode"
  28534. ],
  28535. "properties": {
  28536. "loginid": {
  28537. "description": "更新用户账号,登录账号",
  28538. "type": "string"
  28539. },
  28540. "modifyflag": {
  28541. "description": "修改标志0 不允许修改 1 允许修改",
  28542. "type": "integer"
  28543. },
  28544. "paramcode": {
  28545. "description": "参数代码",
  28546. "type": "string"
  28547. },
  28548. "paramname": {
  28549. "description": "参数名",
  28550. "type": "string"
  28551. },
  28552. "paramtype": {
  28553. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  28554. "type": "integer"
  28555. },
  28556. "paramvalue": {
  28557. "description": "参数值",
  28558. "type": "string"
  28559. },
  28560. "paramvalue2": {
  28561. "description": "参数值(CLOB)",
  28562. "type": "string"
  28563. },
  28564. "regexpress": {
  28565. "description": "正则表达式",
  28566. "type": "string"
  28567. },
  28568. "remark": {
  28569. "description": "备注",
  28570. "type": "string"
  28571. },
  28572. "serverip": {
  28573. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  28574. "type": "string"
  28575. },
  28576. "showflag": {
  28577. "description": "是否显示0 不显示 1 显示",
  28578. "type": "integer"
  28579. },
  28580. "updatetime": {
  28581. "description": "更新时间",
  28582. "type": "string"
  28583. },
  28584. "userid": {
  28585. "description": "更新用户ID",
  28586. "type": "integer"
  28587. }
  28588. }
  28589. },
  28590. "models.Szdz3convertconfig": {
  28591. "type": "object",
  28592. "required": [
  28593. "converttype",
  28594. "innergoodsid",
  28595. "outergoodscode"
  28596. ],
  28597. "properties": {
  28598. "canin": {
  28599. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  28600. "type": "integer"
  28601. },
  28602. "canout": {
  28603. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  28604. "type": "integer"
  28605. },
  28606. "converttype": {
  28607. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  28608. "type": "integer"
  28609. },
  28610. "createtime": {
  28611. "description": "创建时间",
  28612. "type": "string"
  28613. },
  28614. "creatorid": {
  28615. "description": "创建人",
  28616. "type": "integer"
  28617. },
  28618. "daymaxvalue": {
  28619. "description": "当日最大转入限制",
  28620. "type": "number"
  28621. },
  28622. "freezedays": {
  28623. "description": "冻结天数 [5:花生米转交易]",
  28624. "type": "integer"
  28625. },
  28626. "innergoodsid": {
  28627. "description": "内部商品ID[交易]",
  28628. "type": "integer"
  28629. },
  28630. "inratio": {
  28631. "description": "目标值",
  28632. "type": "integer"
  28633. },
  28634. "modifierid": {
  28635. "description": "修改人",
  28636. "type": "integer"
  28637. },
  28638. "modifytime": {
  28639. "description": "修改时间",
  28640. "type": "string"
  28641. },
  28642. "outergoodscode": {
  28643. "description": "外部商品代码[JD\\PD]",
  28644. "type": "string"
  28645. },
  28646. "outratio": {
  28647. "description": "源值",
  28648. "type": "integer"
  28649. },
  28650. "pddecimalplace": {
  28651. "description": "PD小数位",
  28652. "type": "integer"
  28653. },
  28654. "timemaxvalue": {
  28655. "description": "单次最大转入限制",
  28656. "type": "number"
  28657. },
  28658. "timeminvalue": {
  28659. "description": "单次最小转入限制",
  28660. "type": "number"
  28661. }
  28662. }
  28663. },
  28664. "models.Szdz3searchwhitelist": {
  28665. "type": "object",
  28666. "required": [
  28667. "userid"
  28668. ],
  28669. "properties": {
  28670. "createtime": {
  28671. "description": "创建时间",
  28672. "type": "string"
  28673. },
  28674. "creatorid": {
  28675. "description": "创建人",
  28676. "type": "integer"
  28677. },
  28678. "modifierid": {
  28679. "description": "修改人",
  28680. "type": "integer"
  28681. },
  28682. "modifytime": {
  28683. "description": "修改时间",
  28684. "type": "string"
  28685. },
  28686. "userid": {
  28687. "description": "用户ID",
  28688. "type": "integer"
  28689. }
  28690. }
  28691. },
  28692. "models.Taaccount": {
  28693. "type": "object",
  28694. "required": [
  28695. "accountid",
  28696. "userid"
  28697. ],
  28698. "properties": {
  28699. "accountflag": {
  28700. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  28701. "type": "integer"
  28702. },
  28703. "accountid": {
  28704. "description": "资金账户ID",
  28705. "type": "integer"
  28706. },
  28707. "accountname": {
  28708. "description": "账户名称",
  28709. "type": "string"
  28710. },
  28711. "balance": {
  28712. "description": "期初余额",
  28713. "type": "number"
  28714. },
  28715. "capitalbalance": {
  28716. "description": "本金余额[外部子账户实际出入金余额]",
  28717. "type": "number"
  28718. },
  28719. "changeflag": {
  28720. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  28721. "type": "integer"
  28722. },
  28723. "changetime": {
  28724. "description": "账户状态变更时间",
  28725. "type": "string"
  28726. },
  28727. "closepl": {
  28728. "description": "今日平仓盈亏",
  28729. "type": "number"
  28730. },
  28731. "creditdecrease": {
  28732. "description": "今日授信减少",
  28733. "type": "number"
  28734. },
  28735. "creditincrease": {
  28736. "description": "今日授信增加",
  28737. "type": "number"
  28738. },
  28739. "curamount": {
  28740. "description": "总市值(从持仓中统计)",
  28741. "type": "number"
  28742. },
  28743. "currencyid": {
  28744. "description": "货币ID",
  28745. "type": "integer"
  28746. },
  28747. "currentbalance": {
  28748. "description": "期末余额",
  28749. "type": "number"
  28750. },
  28751. "freezecharge": {
  28752. "description": "手续费冻结",
  28753. "type": "number"
  28754. },
  28755. "freezemargin": {
  28756. "description": "冻结保证金",
  28757. "type": "number"
  28758. },
  28759. "fromaccountid": {
  28760. "description": "所属上级账户",
  28761. "type": "integer"
  28762. },
  28763. "inamount": {
  28764. "description": "今日入金金额(包括三方入金)",
  28765. "type": "number"
  28766. },
  28767. "ismain": {
  28768. "description": "是否母账号 0:不是母账户 1:是母账户",
  28769. "type": "integer"
  28770. },
  28771. "ismarketaccount": {
  28772. "description": "是否机构接单账号 0:不是 1:是",
  28773. "type": "integer"
  28774. },
  28775. "isreckonaccount": {
  28776. "description": "是否机构分润账号 0:不是 1:是",
  28777. "type": "integer"
  28778. },
  28779. "mortgagecredit": {
  28780. "description": "授信金额",
  28781. "type": "number"
  28782. },
  28783. "orifreezecharge": {
  28784. "description": "期初手续费冻结",
  28785. "type": "number"
  28786. },
  28787. "orifreezemargin": {
  28788. "description": "期初冻结保证金",
  28789. "type": "number"
  28790. },
  28791. "orimortgagecredit": {
  28792. "description": "期初授信金额",
  28793. "type": "number"
  28794. },
  28795. "oriothercredit": {
  28796. "description": "期初其它授信金额",
  28797. "type": "number"
  28798. },
  28799. "oriotherfreezemargin": {
  28800. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28801. "type": "number"
  28802. },
  28803. "orioutamountfreeze": {
  28804. "description": "期初出金冻结",
  28805. "type": "number"
  28806. },
  28807. "oriusedmargin": {
  28808. "description": "期初占用保证金",
  28809. "type": "number"
  28810. },
  28811. "othercredit": {
  28812. "description": "其它授信金额",
  28813. "type": "number"
  28814. },
  28815. "othercreditdecrease": {
  28816. "description": "今日其它授信减少",
  28817. "type": "number"
  28818. },
  28819. "othercreditincrease": {
  28820. "description": "今日其它授信增加",
  28821. "type": "number"
  28822. },
  28823. "otherfreezemargin": {
  28824. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28825. "type": "number"
  28826. },
  28827. "otherincome": {
  28828. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  28829. "type": "number"
  28830. },
  28831. "otherpay": {
  28832. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  28833. "type": "number"
  28834. },
  28835. "outamount": {
  28836. "description": "今日出金金额(包括三方出金)",
  28837. "type": "number"
  28838. },
  28839. "outamountfreeze": {
  28840. "description": "出金冻结",
  28841. "type": "number"
  28842. },
  28843. "outthreshold": {
  28844. "description": "出金阈值",
  28845. "type": "number"
  28846. },
  28847. "parentaccountid": {
  28848. "description": "所属根账号",
  28849. "type": "integer"
  28850. },
  28851. "paycharge": {
  28852. "description": "今日手续费支出",
  28853. "type": "number"
  28854. },
  28855. "relatedaccountstatus": {
  28856. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  28857. "type": "integer"
  28858. },
  28859. "relateduserid": {
  28860. "description": "关联用户",
  28861. "type": "integer"
  28862. },
  28863. "remainamount": {
  28864. "description": "融资额(从融资合同中统计)",
  28865. "type": "number"
  28866. },
  28867. "serivcegroup": {
  28868. "description": "服务分组",
  28869. "type": "integer"
  28870. },
  28871. "signstatus": {
  28872. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28873. "type": "integer"
  28874. },
  28875. "sublevelpath": {
  28876. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28877. "type": "string"
  28878. },
  28879. "taaccounttype": {
  28880. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28881. "type": "integer"
  28882. },
  28883. "thirdinamount": {
  28884. "description": "今日三方入金",
  28885. "type": "number"
  28886. },
  28887. "thirdoutamount": {
  28888. "description": "今日三方出金",
  28889. "type": "number"
  28890. },
  28891. "tradestatus": {
  28892. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28893. "type": "integer"
  28894. },
  28895. "tradestatuschangetime": {
  28896. "description": "激活时间",
  28897. "type": "string"
  28898. },
  28899. "transferamount": {
  28900. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28901. "type": "number"
  28902. },
  28903. "usedmargin": {
  28904. "description": "占用保证金",
  28905. "type": "number"
  28906. },
  28907. "userid": {
  28908. "description": "用户ID",
  28909. "type": "integer"
  28910. }
  28911. }
  28912. },
  28913. "models.Tablecolumnconfig": {
  28914. "type": "object",
  28915. "required": [
  28916. "autoid"
  28917. ],
  28918. "properties": {
  28919. "aligntype": {
  28920. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  28921. "type": "integer"
  28922. },
  28923. "autoid": {
  28924. "description": "AutoID",
  28925. "type": "integer"
  28926. },
  28927. "columnfield": {
  28928. "description": "列字段",
  28929. "type": "string"
  28930. },
  28931. "columntitle": {
  28932. "description": "列Title",
  28933. "type": "string"
  28934. },
  28935. "columnwidth": {
  28936. "description": "列宽",
  28937. "type": "string"
  28938. },
  28939. "formatterstring": {
  28940. "description": "格式化字符",
  28941. "type": "string"
  28942. },
  28943. "formattertype": {
  28944. "description": "格式化类型",
  28945. "type": "string"
  28946. },
  28947. "groupname": {
  28948. "description": "表头分组名称",
  28949. "type": "string"
  28950. },
  28951. "isshow": {
  28952. "description": "是否显示 - 0:不显示 1:显示",
  28953. "type": "integer"
  28954. },
  28955. "needsummary": {
  28956. "description": "是否需要汇总 - 0:不需要 1:需要",
  28957. "type": "integer"
  28958. },
  28959. "orderindex": {
  28960. "description": "顺序",
  28961. "type": "integer"
  28962. },
  28963. "remark": {
  28964. "description": "备注",
  28965. "type": "string"
  28966. },
  28967. "summarytype": {
  28968. "description": "汇总类型 - 1:加总 2:最后一个",
  28969. "type": "integer"
  28970. },
  28971. "tablekey": {
  28972. "description": "列表Key",
  28973. "type": "string"
  28974. }
  28975. }
  28976. },
  28977. "models.UserCollectConfig": {
  28978. "type": "object",
  28979. "properties": {
  28980. "accountstatus": {
  28981. "description": "账户状态 - 1:正常 2:停用 3:注销",
  28982. "type": "integer"
  28983. },
  28984. "collectaccountname": {
  28985. "description": "收款人账户名称",
  28986. "type": "string"
  28987. },
  28988. "collectaccountno": {
  28989. "description": "收款人账户",
  28990. "type": "string"
  28991. },
  28992. "collectbankname": {
  28993. "description": "收款人开户行",
  28994. "type": "string"
  28995. },
  28996. "collectbranchbankname": {
  28997. "description": "收款人开户支行",
  28998. "type": "string"
  28999. },
  29000. "collectconfigid": {
  29001. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  29002. "type": "string"
  29003. },
  29004. "remark": {
  29005. "description": "备注",
  29006. "type": "string"
  29007. },
  29008. "userid": {
  29009. "description": "收款人用户ID",
  29010. "type": "integer"
  29011. }
  29012. }
  29013. },
  29014. "models.UserReceiveInfo": {
  29015. "type": "object",
  29016. "properties": {
  29017. "address": {
  29018. "description": "提货人详细地址",
  29019. "type": "string"
  29020. },
  29021. "autoid": {
  29022. "description": "AutoID",
  29023. "type": "integer"
  29024. },
  29025. "cardnum": {
  29026. "description": "证件号码(加密存储)",
  29027. "type": "string"
  29028. },
  29029. "cardtypeid": {
  29030. "description": "证件类型",
  29031. "type": "integer"
  29032. },
  29033. "cityid": {
  29034. "description": "市",
  29035. "type": "integer"
  29036. },
  29037. "cityname": {
  29038. "description": "城市名称",
  29039. "type": "string"
  29040. },
  29041. "countryid": {
  29042. "description": "国家",
  29043. "type": "integer"
  29044. },
  29045. "countryname": {
  29046. "description": "国家名称",
  29047. "type": "string"
  29048. },
  29049. "districtid": {
  29050. "description": "地区",
  29051. "type": "integer"
  29052. },
  29053. "districtname": {
  29054. "description": "地区名称",
  29055. "type": "string"
  29056. },
  29057. "hasencrypt": {
  29058. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29059. "type": "integer"
  29060. },
  29061. "isdefault": {
  29062. "description": "是否默认地址 - 0:否 1:是",
  29063. "type": "integer"
  29064. },
  29065. "phonenum": {
  29066. "description": "提货人联系方式(加密存储)",
  29067. "type": "string"
  29068. },
  29069. "provinceid": {
  29070. "description": "省",
  29071. "type": "integer"
  29072. },
  29073. "provincename": {
  29074. "description": "省名称",
  29075. "type": "string"
  29076. },
  29077. "receivername": {
  29078. "description": "提货人姓名",
  29079. "type": "string"
  29080. },
  29081. "takeremark": {
  29082. "description": "提货备注",
  29083. "type": "string"
  29084. },
  29085. "userid": {
  29086. "description": "用户ID",
  29087. "type": "integer"
  29088. }
  29089. }
  29090. },
  29091. "models.Useraccount": {
  29092. "type": "object",
  29093. "required": [
  29094. "userid"
  29095. ],
  29096. "properties": {
  29097. "accountname": {
  29098. "description": "账户名称(机构名称)",
  29099. "type": "string"
  29100. },
  29101. "accountstatus": {
  29102. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29103. "type": "integer"
  29104. },
  29105. "applysrc": {
  29106. "description": "申请来源 - 1:管理端 2:终端",
  29107. "type": "integer"
  29108. },
  29109. "auditremark": {
  29110. "description": "审核备注",
  29111. "type": "string"
  29112. },
  29113. "auditsrc": {
  29114. "description": "审核来源 - 1:管理端 2:终端",
  29115. "type": "integer"
  29116. },
  29117. "audittime": {
  29118. "description": "审核时间",
  29119. "type": "string"
  29120. },
  29121. "audituserid": {
  29122. "description": "审核人",
  29123. "type": "integer"
  29124. },
  29125. "broker": {
  29126. "description": "所属经纪人ID",
  29127. "type": "integer"
  29128. },
  29129. "canceltime": {
  29130. "description": "销户时间",
  29131. "type": "string"
  29132. },
  29133. "canceluserid": {
  29134. "description": "销户人",
  29135. "type": "integer"
  29136. },
  29137. "canrecommend": {
  29138. "description": "是否可推荐 - 0:不可 1;可",
  29139. "type": "integer"
  29140. },
  29141. "createtime": {
  29142. "description": "创建时间",
  29143. "type": "string"
  29144. },
  29145. "creatorid": {
  29146. "description": "创建人",
  29147. "type": "integer"
  29148. },
  29149. "hasauth": {
  29150. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  29151. "type": "integer"
  29152. },
  29153. "isanonymous": {
  29154. "description": "是否匿名下单 - 0:否 1:是",
  29155. "type": "integer"
  29156. },
  29157. "maxinvestornum": {
  29158. "description": "最大用户数(经纪会员下投资者个数)",
  29159. "type": "integer"
  29160. },
  29161. "memberuserid": {
  29162. "description": "所属会员ID",
  29163. "type": "integer"
  29164. },
  29165. "modifierid": {
  29166. "description": "修改人",
  29167. "type": "integer"
  29168. },
  29169. "modifyremark": {
  29170. "description": "变更备注",
  29171. "type": "string"
  29172. },
  29173. "modifystatus": {
  29174. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  29175. "type": "integer"
  29176. },
  29177. "modifytime": {
  29178. "description": "修改时间",
  29179. "type": "string"
  29180. },
  29181. "parenttopuser": {
  29182. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  29183. "type": "string"
  29184. },
  29185. "parentuserid": {
  29186. "description": "所属机构ID",
  29187. "type": "integer"
  29188. },
  29189. "reckonaccountid": {
  29190. "description": "默认结算资金账号ID(机构分润使用) 作废",
  29191. "type": "integer"
  29192. },
  29193. "refercount": {
  29194. "description": "推荐总人数",
  29195. "type": "integer"
  29196. },
  29197. "refereeuserid": {
  29198. "description": "推荐人ID",
  29199. "type": "integer"
  29200. },
  29201. "refernum": {
  29202. "description": "推荐码",
  29203. "type": "string"
  29204. },
  29205. "rootuserid": {
  29206. "description": "根用户ID",
  29207. "type": "integer"
  29208. },
  29209. "subaccountlevel": {
  29210. "description": "子账户层数",
  29211. "type": "integer"
  29212. },
  29213. "subarealevelpath": {
  29214. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  29215. "type": "string"
  29216. },
  29217. "userid": {
  29218. "description": "用户ID",
  29219. "type": "integer"
  29220. },
  29221. "usertype": {
  29222. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29223. "type": "integer"
  29224. }
  29225. }
  29226. },
  29227. "models.Userfavoritegoods": {
  29228. "type": "object",
  29229. "required": [
  29230. "goodsid"
  29231. ],
  29232. "properties": {
  29233. "goodsid": {
  29234. "description": "商品ID",
  29235. "type": "integer"
  29236. }
  29237. }
  29238. },
  29239. "models.Userinfo": {
  29240. "type": "object",
  29241. "required": [
  29242. "userid"
  29243. ],
  29244. "properties": {
  29245. "address": {
  29246. "description": "地址",
  29247. "type": "string"
  29248. },
  29249. "attachment1": {
  29250. "description": "附件1",
  29251. "type": "string"
  29252. },
  29253. "attachment2": {
  29254. "description": "附件2",
  29255. "type": "string"
  29256. },
  29257. "bankaccount": {
  29258. "description": "银行帐号 (加密存储)",
  29259. "type": "string"
  29260. },
  29261. "bankaccountname": {
  29262. "description": "收款人名称",
  29263. "type": "string"
  29264. },
  29265. "bankcardfrontphotourl": {
  29266. "description": "银行卡正面照地址",
  29267. "type": "string"
  29268. },
  29269. "bankid": {
  29270. "description": "银行编码",
  29271. "type": "string"
  29272. },
  29273. "bankname": {
  29274. "description": "银行名称",
  29275. "type": "string"
  29276. },
  29277. "biznature": {
  29278. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  29279. "type": "integer"
  29280. },
  29281. "bizscope": {
  29282. "description": "企业经营范围(企业)",
  29283. "type": "string"
  29284. },
  29285. "cardbackphotourl": {
  29286. "description": "证件背面图片地址",
  29287. "type": "string"
  29288. },
  29289. "cardfrontphotourl": {
  29290. "description": "证件正面图片地址",
  29291. "type": "string"
  29292. },
  29293. "cardnum": {
  29294. "description": "证件号码(加密存储)",
  29295. "type": "string"
  29296. },
  29297. "cardtypeid": {
  29298. "description": "证件类型ID",
  29299. "type": "integer"
  29300. },
  29301. "cityid": {
  29302. "description": "市",
  29303. "type": "integer"
  29304. },
  29305. "company": {
  29306. "description": "公司(个人)",
  29307. "type": "string"
  29308. },
  29309. "contactname": {
  29310. "description": "联系人",
  29311. "type": "string"
  29312. },
  29313. "countryid": {
  29314. "description": "国家",
  29315. "type": "integer"
  29316. },
  29317. "createtime": {
  29318. "description": "创建时间",
  29319. "type": "string"
  29320. },
  29321. "creatorid": {
  29322. "description": "创建人",
  29323. "type": "integer"
  29324. },
  29325. "customername": {
  29326. "description": "客户名称(企业名称)",
  29327. "type": "string"
  29328. },
  29329. "districtid": {
  29330. "description": "地区",
  29331. "type": "integer"
  29332. },
  29333. "email": {
  29334. "description": "邮件(加密存储)",
  29335. "type": "string"
  29336. },
  29337. "fax": {
  29338. "description": "传真(加密存储)",
  29339. "type": "string"
  29340. },
  29341. "halfbodyphotourl": {
  29342. "description": "半身照地址",
  29343. "type": "string"
  29344. },
  29345. "hasencrypt": {
  29346. "description": "数据是否已加密 - 0:未加密 1:已加密",
  29347. "type": "integer"
  29348. },
  29349. "headurl": {
  29350. "description": "头像地址",
  29351. "type": "string"
  29352. },
  29353. "legalcardbackphotourl": {
  29354. "description": "法人身份证背面照地址",
  29355. "type": "string"
  29356. },
  29357. "legalcardfrontphotourl": {
  29358. "description": "法人身份证正面照地址",
  29359. "type": "string"
  29360. },
  29361. "legalpersonname": {
  29362. "description": "法人姓名(企业)",
  29363. "type": "string"
  29364. },
  29365. "mobile": {
  29366. "description": "手机号码(加密存储)",
  29367. "type": "string"
  29368. },
  29369. "mobile2": {
  29370. "description": "手机号码[明文-尚志]",
  29371. "type": "string"
  29372. },
  29373. "modifierid": {
  29374. "description": "修改人",
  29375. "type": "integer"
  29376. },
  29377. "modifiertime": {
  29378. "description": "修改时间",
  29379. "type": "string"
  29380. },
  29381. "needinvoice": {
  29382. "description": "是否需要发票 - 0:不需要 1:需要",
  29383. "type": "integer"
  29384. },
  29385. "nickname": {
  29386. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  29387. "type": "string"
  29388. },
  29389. "openmode": {
  29390. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  29391. "type": "integer"
  29392. },
  29393. "otherurl": {
  29394. "description": "其它图片地址[使用分号分隔]",
  29395. "type": "string"
  29396. },
  29397. "postalcode": {
  29398. "description": "邮政编码",
  29399. "type": "string"
  29400. },
  29401. "provinceid": {
  29402. "description": "省",
  29403. "type": "integer"
  29404. },
  29405. "qq": {
  29406. "description": "QQ(加密存储",
  29407. "type": "string"
  29408. },
  29409. "remark": {
  29410. "description": "备注",
  29411. "type": "string"
  29412. },
  29413. "sex": {
  29414. "description": "用户性别 0: 女 1: 男",
  29415. "type": "integer"
  29416. },
  29417. "signpdfurl": {
  29418. "description": "签约pdf文件",
  29419. "type": "string"
  29420. },
  29421. "telphone": {
  29422. "description": "联系电话(加密存储)",
  29423. "type": "string"
  29424. },
  29425. "userid": {
  29426. "description": "用户ID",
  29427. "type": "integer"
  29428. },
  29429. "userinfotype": {
  29430. "description": "用户信息类型 - 1:个人 2:企业",
  29431. "type": "integer"
  29432. },
  29433. "userstatus": {
  29434. "description": "用户状态 - 1:正常 2:注销",
  29435. "type": "integer"
  29436. },
  29437. "usertype": {
  29438. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  29439. "type": "integer"
  29440. },
  29441. "wechat": {
  29442. "description": "微信(加密存储)",
  29443. "type": "string"
  29444. },
  29445. "wskhinfo": {
  29446. "description": "开户申请信息(JSON)",
  29447. "type": "string"
  29448. }
  29449. }
  29450. },
  29451. "models.WRSConverTDetail": {
  29452. "type": "object",
  29453. "properties": {
  29454. "convertratio": {
  29455. "description": "套保系数",
  29456. "type": "number"
  29457. },
  29458. "deliverygoodscode": {
  29459. "description": "现货商品代码",
  29460. "type": "string"
  29461. },
  29462. "deliverygoodsid": {
  29463. "description": "现货品种ID",
  29464. "type": "integer"
  29465. },
  29466. "deliverygoodsname": {
  29467. "description": "现货商品名称",
  29468. "type": "string"
  29469. },
  29470. "enumdicname": {
  29471. "description": "单位名称",
  29472. "type": "string"
  29473. },
  29474. "goodsunitid": {
  29475. "description": "套保品种单位id",
  29476. "type": "integer"
  29477. },
  29478. "middlegoodscode": {
  29479. "description": "套保品种代码",
  29480. "type": "string"
  29481. },
  29482. "middlegoodsid": {
  29483. "description": "套保品种ID",
  29484. "type": "integer"
  29485. },
  29486. "middlegoodsname": {
  29487. "description": "套保品种名称",
  29488. "type": "string"
  29489. },
  29490. "modifytime": {
  29491. "description": "修改时间",
  29492. "type": "string"
  29493. },
  29494. "wrstandardid": {
  29495. "description": "品类ID",
  29496. "type": "integer"
  29497. }
  29498. }
  29499. },
  29500. "models.WRStandardInfo": {
  29501. "type": "object",
  29502. "required": [
  29503. "wrstandardid"
  29504. ],
  29505. "properties": {
  29506. "areauserid": {
  29507. "description": "所属机构",
  29508. "type": "integer"
  29509. },
  29510. "convertfactor": {
  29511. "description": "标仓系数",
  29512. "type": "number"
  29513. },
  29514. "createtime": {
  29515. "description": "创建时间",
  29516. "type": "string"
  29517. },
  29518. "creatorid": {
  29519. "description": "创建人",
  29520. "type": "integer"
  29521. },
  29522. "deliverygoodsid": {
  29523. "description": "品种ID",
  29524. "type": "integer"
  29525. },
  29526. "deliverygoodsname": {
  29527. "description": "交割商品名称",
  29528. "type": "string"
  29529. },
  29530. "factoryitemjson": {
  29531. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  29532. "type": "string"
  29533. },
  29534. "isvalid": {
  29535. "description": "是否有效 - 0:无效 1:有效",
  29536. "type": "integer"
  29537. },
  29538. "minivalue": {
  29539. "description": "最小变动值",
  29540. "type": "integer"
  29541. },
  29542. "minivaluedp": {
  29543. "description": "最小变动值小数位",
  29544. "type": "integer"
  29545. },
  29546. "realminivalue": {
  29547. "description": "实际最小变动值",
  29548. "type": "integer"
  29549. },
  29550. "realminivaluedp": {
  29551. "description": "实际最小变动值小数位",
  29552. "type": "integer"
  29553. },
  29554. "remark": {
  29555. "description": "备注",
  29556. "type": "string"
  29557. },
  29558. "unitid": {
  29559. "description": "单位ID",
  29560. "type": "integer"
  29561. },
  29562. "unitname": {
  29563. "description": "单位",
  29564. "type": "string"
  29565. },
  29566. "updatetime": {
  29567. "description": "更新时间",
  29568. "type": "string"
  29569. },
  29570. "updatorid": {
  29571. "description": "更新人",
  29572. "type": "integer"
  29573. },
  29574. "wrsstatus": {
  29575. "description": "状态 - 作废 - 0:未激活 1:正常",
  29576. "type": "integer"
  29577. },
  29578. "wrstandardcode": {
  29579. "description": "现货品类代码",
  29580. "type": "string"
  29581. },
  29582. "wrstandardid": {
  29583. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29584. "type": "integer"
  29585. },
  29586. "wrstandardname": {
  29587. "description": "现货品类名称",
  29588. "type": "string"
  29589. }
  29590. }
  29591. },
  29592. "models.Warehouseinfo": {
  29593. "type": "object",
  29594. "required": [
  29595. "autoid",
  29596. "warehousecode"
  29597. ],
  29598. "properties": {
  29599. "address": {
  29600. "description": "详细地址",
  29601. "type": "string"
  29602. },
  29603. "areauserid": {
  29604. "description": "所属机构",
  29605. "type": "integer"
  29606. },
  29607. "autoid": {
  29608. "description": "自增ID",
  29609. "type": "integer"
  29610. },
  29611. "cityid": {
  29612. "description": "市",
  29613. "type": "integer"
  29614. },
  29615. "contactname": {
  29616. "description": "联系人",
  29617. "type": "string"
  29618. },
  29619. "contactnum": {
  29620. "description": "联系电话",
  29621. "type": "string"
  29622. },
  29623. "countryid": {
  29624. "description": "国家",
  29625. "type": "integer"
  29626. },
  29627. "createtime": {
  29628. "description": "创建时间",
  29629. "type": "string"
  29630. },
  29631. "districtid": {
  29632. "description": "区",
  29633. "type": "integer"
  29634. },
  29635. "hasvideo": {
  29636. "description": "是否有视频 - 0:无 1:有",
  29637. "type": "integer"
  29638. },
  29639. "provinceid": {
  29640. "description": "省",
  29641. "type": "integer"
  29642. },
  29643. "remark": {
  29644. "description": "审核备注",
  29645. "type": "string"
  29646. },
  29647. "videourl": {
  29648. "description": "视频地址",
  29649. "type": "string"
  29650. },
  29651. "warehousecode": {
  29652. "description": "仓库代码",
  29653. "type": "string"
  29654. },
  29655. "warehousename": {
  29656. "description": "仓库名称",
  29657. "type": "string"
  29658. },
  29659. "warehousestatus": {
  29660. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29661. "type": "integer"
  29662. },
  29663. "warehousetype": {
  29664. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29665. "type": "integer"
  29666. }
  29667. }
  29668. },
  29669. "models.WrFAProductDetail": {
  29670. "type": "object",
  29671. "properties": {
  29672. "accountid": {
  29673. "description": "资金账号",
  29674. "type": "integer"
  29675. },
  29676. "areauserid": {
  29677. "description": "金融机构ID",
  29678. "type": "integer"
  29679. },
  29680. "financingdays": {
  29681. "description": "天数(天)",
  29682. "type": "integer"
  29683. },
  29684. "interestminlen": {
  29685. "description": "最小起息天数",
  29686. "type": "integer"
  29687. },
  29688. "interestrate": {
  29689. "description": "利率",
  29690. "type": "number"
  29691. },
  29692. "interestratemode": {
  29693. "description": "利率方式 - 1:年利率 2:日利率",
  29694. "type": "integer"
  29695. },
  29696. "interestsettlemode": {
  29697. "description": "结息方式 - 1:按日结息 3:按月结息",
  29698. "type": "integer"
  29699. },
  29700. "interestsettlevalue": {
  29701. "description": "结息方式值",
  29702. "type": "integer"
  29703. },
  29704. "isautoloan": {
  29705. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  29706. "type": "integer"
  29707. },
  29708. "marginratio": {
  29709. "description": "保证金比率质押率 - [仓单质押]",
  29710. "type": "number"
  29711. },
  29712. "productdetailid": {
  29713. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  29714. "type": "integer"
  29715. },
  29716. "productid": {
  29717. "description": "金融产品ID",
  29718. "type": "integer"
  29719. },
  29720. "productname": {
  29721. "description": "产品名称",
  29722. "type": "string"
  29723. },
  29724. "updatetime": {
  29725. "description": "更新时间",
  29726. "type": "string"
  29727. },
  29728. "username": {
  29729. "description": "融出方",
  29730. "type": "string"
  29731. },
  29732. "wrfactortypeid": {
  29733. "description": "仓单要素ID",
  29734. "type": "string"
  29735. }
  29736. }
  29737. },
  29738. "models.WrFactorTypeInfo": {
  29739. "type": "object",
  29740. "properties": {
  29741. "deliverygoodscode": {
  29742. "description": "品种代码",
  29743. "type": "string"
  29744. },
  29745. "deliverygoodsname": {
  29746. "description": "品种名称",
  29747. "type": "string"
  29748. },
  29749. "dgfactoryitemid": {
  29750. "description": "选择项id",
  29751. "type": "integer"
  29752. },
  29753. "dgfactoryitemtypeid": {
  29754. "description": "要素选择项ID (1-仓库 2-品牌)",
  29755. "type": "integer"
  29756. },
  29757. "dgfactoryitemvalue": {
  29758. "description": "要素项值",
  29759. "type": "string"
  29760. },
  29761. "itemtypename": {
  29762. "description": "要素项名称",
  29763. "type": "string"
  29764. },
  29765. "optioncompare": {
  29766. "description": "选择比较串",
  29767. "type": "string"
  29768. },
  29769. "warehouseid": {
  29770. "description": "仓库id",
  29771. "type": "integer"
  29772. },
  29773. "wrfactortypeid": {
  29774. "description": "仓单要素ID",
  29775. "type": "string"
  29776. },
  29777. "wrfactortypename": {
  29778. "description": "要素名称",
  29779. "type": "string"
  29780. },
  29781. "wrfactortypename2": {
  29782. "description": "要素名称(不含仓库)",
  29783. "type": "string"
  29784. },
  29785. "wrstandardcode": {
  29786. "description": "品类代码",
  29787. "type": "string"
  29788. },
  29789. "wrstandardid": {
  29790. "description": "品类id",
  29791. "type": "integer"
  29792. },
  29793. "wrstandardname": {
  29794. "description": "品类名称",
  29795. "type": "string"
  29796. }
  29797. }
  29798. },
  29799. "models.WrFilterItem": {
  29800. "type": "object",
  29801. "properties": {
  29802. "itemcode": {
  29803. "description": "代码",
  29804. "type": "string"
  29805. },
  29806. "itemid": {
  29807. "description": "项id",
  29808. "type": "integer"
  29809. },
  29810. "itemname": {
  29811. "description": "名称",
  29812. "type": "string"
  29813. },
  29814. "itemtype": {
  29815. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  29816. "type": "integer"
  29817. }
  29818. }
  29819. },
  29820. "models.WrFtDeliveryGoods": {
  29821. "type": "object",
  29822. "properties": {
  29823. "deliverygoodscode": {
  29824. "description": "品种代码",
  29825. "type": "string"
  29826. },
  29827. "deliverygoodsid": {
  29828. "description": "品种ID",
  29829. "type": "integer"
  29830. },
  29831. "deliverygoodsname": {
  29832. "description": "品种名称",
  29833. "type": "string"
  29834. },
  29835. "wdlst": {
  29836. "description": "商品列表",
  29837. "type": "array",
  29838. "items": {
  29839. "$ref": "#/definitions/models.WrFtWrstandard"
  29840. }
  29841. }
  29842. }
  29843. },
  29844. "models.WrFtWrstandard": {
  29845. "type": "object",
  29846. "properties": {
  29847. "wrstandardcode": {
  29848. "description": "现货商品代码",
  29849. "type": "string"
  29850. },
  29851. "wrstandardid": {
  29852. "description": "现货商品ID",
  29853. "type": "integer"
  29854. },
  29855. "wrstandardname": {
  29856. "description": "商品名称",
  29857. "type": "string"
  29858. }
  29859. }
  29860. },
  29861. "models.WrGoodsInfo": {
  29862. "type": "object",
  29863. "properties": {
  29864. "haswr": {
  29865. "description": "0:仓单预售 1:仓单贸易",
  29866. "type": "integer"
  29867. },
  29868. "lstitem": {
  29869. "description": "商品信息项",
  29870. "type": "array",
  29871. "items": {
  29872. "$ref": "#/definitions/models.WrTypeItem"
  29873. }
  29874. },
  29875. "lststep": {
  29876. "description": "履约规则",
  29877. "type": "array",
  29878. "items": {
  29879. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  29880. }
  29881. },
  29882. "marketid": {
  29883. "description": "市场id",
  29884. "type": "integer"
  29885. }
  29886. }
  29887. },
  29888. "models.WrGoodsPerformanceStep": {
  29889. "type": "object",
  29890. "properties": {
  29891. "autoid": {
  29892. "description": "AutoID",
  29893. "type": "integer"
  29894. },
  29895. "isauto": {
  29896. "description": "是否自动 - 0:不自动 1:自动",
  29897. "type": "integer"
  29898. },
  29899. "remark": {
  29900. "description": "备注",
  29901. "type": "string"
  29902. },
  29903. "stepdate": {
  29904. "description": "天数信息(T+N)",
  29905. "type": "string"
  29906. },
  29907. "stepdays": {
  29908. "description": "距离上一步天数",
  29909. "type": "integer"
  29910. },
  29911. "stepindex": {
  29912. "description": "步骤序号",
  29913. "type": "integer"
  29914. },
  29915. "stepinfo": {
  29916. "description": "步骤信息(步骤名称+步骤值)",
  29917. "type": "string"
  29918. },
  29919. "steptypeid": {
  29920. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  29921. "type": "integer"
  29922. },
  29923. "steptypename": {
  29924. "description": "步骤名称",
  29925. "type": "string"
  29926. },
  29927. "stepvalue": {
  29928. "description": "步骤值",
  29929. "type": "number"
  29930. },
  29931. "templateid": {
  29932. "description": "履约计划模板ID",
  29933. "type": "integer"
  29934. }
  29935. }
  29936. },
  29937. "models.WrHoldLB": {
  29938. "type": "object",
  29939. "properties": {
  29940. "accountid": {
  29941. "description": "持有人帐户ID",
  29942. "type": "integer"
  29943. },
  29944. "createtime": {
  29945. "description": "创建时间(过户时间)",
  29946. "type": "string"
  29947. },
  29948. "deliverygoodscode": {
  29949. "description": "品种代码",
  29950. "type": "string"
  29951. },
  29952. "deliverygoodsid": {
  29953. "description": "品种ID",
  29954. "type": "integer"
  29955. },
  29956. "deliverygoodsname": {
  29957. "description": "品种名称",
  29958. "type": "string"
  29959. },
  29960. "enableqty": {
  29961. "description": "可用数量",
  29962. "type": "number"
  29963. },
  29964. "enumdicname": {
  29965. "description": "单位名称",
  29966. "type": "string"
  29967. },
  29968. "freezerqty": {
  29969. "description": "冻结数量",
  29970. "type": "number"
  29971. },
  29972. "ladingbillid": {
  29973. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  29974. "type": "string"
  29975. },
  29976. "minivalue": {
  29977. "description": "现货商品最小变动值",
  29978. "type": "integer"
  29979. },
  29980. "optioncompare": {
  29981. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  29982. "type": "string"
  29983. },
  29984. "parentsubnum": {
  29985. "description": "拆分父子单号",
  29986. "type": "integer"
  29987. },
  29988. "pledgeqty": {
  29989. "description": "质押数量",
  29990. "type": "number"
  29991. },
  29992. "qty": {
  29993. "description": "数量",
  29994. "type": "number"
  29995. },
  29996. "subnum": {
  29997. "description": "提单子单号",
  29998. "type": "integer"
  29999. },
  30000. "tradedate": {
  30001. "description": "交易日(yyyyMMdd)",
  30002. "type": "string"
  30003. },
  30004. "userid": {
  30005. "description": "持有人ID",
  30006. "type": "integer"
  30007. },
  30008. "warehouseid": {
  30009. "description": "仓库ID",
  30010. "type": "integer"
  30011. },
  30012. "warehousename": {
  30013. "description": "仓库名称",
  30014. "type": "string"
  30015. },
  30016. "wrfactortypeid": {
  30017. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30018. "type": "string"
  30019. },
  30020. "wrfactortypename": {
  30021. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30022. "type": "string"
  30023. },
  30024. "wrholdeno": {
  30025. "description": "仓单编号",
  30026. "type": "string"
  30027. },
  30028. "wrid": {
  30029. "description": "仓单变更ID",
  30030. "type": "string"
  30031. },
  30032. "wrstandardcode": {
  30033. "description": "现货商品代码",
  30034. "type": "string"
  30035. },
  30036. "wrstandardid": {
  30037. "description": "现货商品ID",
  30038. "type": "integer"
  30039. },
  30040. "wrstandardname": {
  30041. "description": "商品名称",
  30042. "type": "string"
  30043. },
  30044. "wrtypename": {
  30045. "description": "商品",
  30046. "type": "string"
  30047. }
  30048. }
  30049. },
  30050. "models.WrMarketTradeConfig": {
  30051. "type": "object",
  30052. "properties": {
  30053. "buychargealgorithm": {
  30054. "description": "买方手续费收取方式 1:比率 2:固定",
  30055. "type": "integer"
  30056. },
  30057. "buychargealgorithm2": {
  30058. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30059. "type": "integer"
  30060. },
  30061. "buychargealgorithmvalue": {
  30062. "description": "买方手续费设置值(交易所部分)",
  30063. "type": "number"
  30064. },
  30065. "buychargealgorithmvalue2": {
  30066. "description": "买方手续费设置值(会员部分)",
  30067. "type": "number"
  30068. },
  30069. "buychargealgorithmvalue3": {
  30070. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  30071. "type": "number"
  30072. },
  30073. "buychargealgorithmvalue4": {
  30074. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  30075. "type": "number"
  30076. },
  30077. "buyfirstmarginalgorithm": {
  30078. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  30079. "type": "integer"
  30080. },
  30081. "buyfirstmarginvalue": {
  30082. "description": "买方出价保证金设置值 - [竞拍]",
  30083. "type": "number"
  30084. },
  30085. "buymarginalgorithm": {
  30086. "description": "买方保证金方式 - 1:比率 2:固定",
  30087. "type": "integer"
  30088. },
  30089. "buymarginvalue": {
  30090. "description": "买方保证金设置值",
  30091. "type": "number"
  30092. },
  30093. "buyreleaseratio": {
  30094. "description": "买方释放比率[2:分步履约]",
  30095. "type": "number"
  30096. },
  30097. "executemode": {
  30098. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  30099. "type": "integer"
  30100. },
  30101. "executeside": {
  30102. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  30103. "type": "integer"
  30104. },
  30105. "failedchargealgorithm": {
  30106. "description": "流拍手续费收取方式 1:比率 2:固定",
  30107. "type": "integer"
  30108. },
  30109. "failedchargevalue": {
  30110. "description": "流拍手续费设置值",
  30111. "type": "number"
  30112. },
  30113. "failedchargevalue2": {
  30114. "description": "流拍卖方手续费设置值",
  30115. "type": "number"
  30116. },
  30117. "holddays": {
  30118. "description": "合同期限[2:分步履约]",
  30119. "type": "integer"
  30120. },
  30121. "marketid": {
  30122. "description": "市场ID-仓单贸易、竞拍、预售",
  30123. "type": "integer"
  30124. },
  30125. "minqty": {
  30126. "description": "最小执行量[2:分步履约]",
  30127. "type": "number"
  30128. },
  30129. "modifierid": {
  30130. "description": "修改人",
  30131. "type": "integer"
  30132. },
  30133. "performancetempid": {
  30134. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  30135. "type": "integer"
  30136. },
  30137. "performancetempid2": {
  30138. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  30139. "type": "integer"
  30140. },
  30141. "performanceway": {
  30142. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  30143. "type": "integer"
  30144. },
  30145. "sellchargealgorithm": {
  30146. "description": "卖方手续费收取方式 1:比率 2:固定",
  30147. "type": "integer"
  30148. },
  30149. "sellchargealgorithm2": {
  30150. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  30151. "type": "integer"
  30152. },
  30153. "sellchargealgorithmvalue": {
  30154. "description": "卖方手续费设置值(交易所部分)",
  30155. "type": "number"
  30156. },
  30157. "sellchargealgorithmvalue2": {
  30158. "description": "卖方手续费设置值(会员部分)",
  30159. "type": "number"
  30160. },
  30161. "sellchargealgorithmvalue3": {
  30162. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  30163. "type": "number"
  30164. },
  30165. "sellchargealgorithmvalue4": {
  30166. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  30167. "type": "number"
  30168. },
  30169. "sellmarginalgorithm": {
  30170. "description": "卖方保证金方式 - 1:比率 2:固定",
  30171. "type": "integer"
  30172. },
  30173. "sellmarginvalue": {
  30174. "description": "卖方保证金设置值",
  30175. "type": "number"
  30176. },
  30177. "sellmarginvalue2": {
  30178. "description": "卖方保证金设置值(无仓单)",
  30179. "type": "number"
  30180. },
  30181. "sellreleaseratio": {
  30182. "description": "卖方释放比率[2:分步履约]",
  30183. "type": "number"
  30184. },
  30185. "updatetime": {
  30186. "description": "更新时间",
  30187. "type": "string"
  30188. }
  30189. }
  30190. },
  30191. "models.WrOrderDetail": {
  30192. "type": "object",
  30193. "properties": {
  30194. "buyorsell": {
  30195. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30196. "type": "integer"
  30197. },
  30198. "cancelqty": {
  30199. "description": "撤销数量",
  30200. "type": "number"
  30201. },
  30202. "deliverygoodscode": {
  30203. "description": "品种代码",
  30204. "type": "string"
  30205. },
  30206. "deliverygoodsid": {
  30207. "description": "品种ID",
  30208. "type": "integer"
  30209. },
  30210. "deliverygoodsname": {
  30211. "description": "品种名称",
  30212. "type": "string"
  30213. },
  30214. "deliverymonth": {
  30215. "description": "交收月",
  30216. "type": "string"
  30217. },
  30218. "enumdicname": {
  30219. "description": "单位名称",
  30220. "type": "string"
  30221. },
  30222. "fixedprice": {
  30223. "description": "固定价格 - [挂牌]",
  30224. "type": "number"
  30225. },
  30226. "futupricemove": {
  30227. "description": "期货升贴水",
  30228. "type": "number"
  30229. },
  30230. "futushow": {
  30231. "description": "期货合约/升贴水",
  30232. "type": "string"
  30233. },
  30234. "goodscode": {
  30235. "description": "期货合约",
  30236. "type": "string"
  30237. },
  30238. "goodsid": {
  30239. "description": "期货商品id",
  30240. "type": "integer"
  30241. },
  30242. "goodsname": {
  30243. "description": "商品名称",
  30244. "type": "string"
  30245. },
  30246. "haswr": {
  30247. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30248. "type": "integer"
  30249. },
  30250. "marketid": {
  30251. "description": "市场ID",
  30252. "type": "integer"
  30253. },
  30254. "minivalue": {
  30255. "description": "现货商品最小变动值",
  30256. "type": "integer"
  30257. },
  30258. "optioncompare": {
  30259. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30260. "type": "string"
  30261. },
  30262. "orderqty": {
  30263. "description": "委托数量",
  30264. "type": "number"
  30265. },
  30266. "ordertime": {
  30267. "description": "委托时间(挂牌时间)",
  30268. "type": "string"
  30269. },
  30270. "pricemove": {
  30271. "description": "升贴水(浮动价时填写) - [挂牌]",
  30272. "type": "number"
  30273. },
  30274. "tradedate": {
  30275. "description": "交易日(yyyyMMdd)",
  30276. "type": "string"
  30277. },
  30278. "tradeprice": {
  30279. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  30280. "type": "number"
  30281. },
  30282. "tradeqty": {
  30283. "description": "成交数量",
  30284. "type": "number"
  30285. },
  30286. "userid": {
  30287. "description": "用户ID",
  30288. "type": "integer"
  30289. },
  30290. "warehouseid": {
  30291. "description": "仓库ID",
  30292. "type": "integer"
  30293. },
  30294. "warehousename": {
  30295. "description": "仓库名称",
  30296. "type": "string"
  30297. },
  30298. "wrfactortypeid": {
  30299. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30300. "type": "string"
  30301. },
  30302. "wrfactortypename": {
  30303. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30304. "type": "string"
  30305. },
  30306. "wrpricetype": {
  30307. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  30308. "type": "integer"
  30309. },
  30310. "wrstandardcode": {
  30311. "description": "现货商品代码",
  30312. "type": "string"
  30313. },
  30314. "wrstandardid": {
  30315. "description": "现货商品ID",
  30316. "type": "integer"
  30317. },
  30318. "wrstandardname": {
  30319. "description": "商品名称",
  30320. "type": "string"
  30321. },
  30322. "wrtradeorderid": {
  30323. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30324. "type": "string"
  30325. },
  30326. "wrtradeorderstatus": {
  30327. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  30328. "type": "integer"
  30329. },
  30330. "wrtradetype": {
  30331. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  30332. "type": "integer"
  30333. },
  30334. "wrtypename": {
  30335. "description": "商品",
  30336. "type": "string"
  30337. }
  30338. }
  30339. },
  30340. "models.WrOrderQuote": {
  30341. "type": "object",
  30342. "properties": {
  30343. "buyprice": {
  30344. "description": "买价",
  30345. "type": "number"
  30346. },
  30347. "buypricemove": {
  30348. "description": "买升贴水(基差)",
  30349. "type": "number"
  30350. },
  30351. "buyqty": {
  30352. "description": "买量",
  30353. "type": "number"
  30354. },
  30355. "deliverygoodscode": {
  30356. "description": "品种代码",
  30357. "type": "string"
  30358. },
  30359. "deliverygoodsid": {
  30360. "description": "品种id",
  30361. "type": "integer"
  30362. },
  30363. "deliverygoodsname": {
  30364. "description": "品种名称",
  30365. "type": "string"
  30366. },
  30367. "deliverymonth": {
  30368. "description": "交收月",
  30369. "type": "string"
  30370. },
  30371. "enumdicname": {
  30372. "description": "单位名称",
  30373. "type": "string"
  30374. },
  30375. "goodscode": {
  30376. "description": "商品合约(浮动价列表才有)",
  30377. "type": "string"
  30378. },
  30379. "goodsid": {
  30380. "description": "商品id(浮动价列表才有)",
  30381. "type": "integer"
  30382. },
  30383. "minivalue": {
  30384. "description": "现货商品最小变动值",
  30385. "type": "integer"
  30386. },
  30387. "sellprice": {
  30388. "description": "卖价",
  30389. "type": "number"
  30390. },
  30391. "sellpricemove": {
  30392. "description": "卖升贴水(基差)",
  30393. "type": "number"
  30394. },
  30395. "sellqty": {
  30396. "description": "卖量",
  30397. "type": "number"
  30398. },
  30399. "warehousecode": {
  30400. "description": "仓库代码",
  30401. "type": "string"
  30402. },
  30403. "warehouseid": {
  30404. "description": "仓库id",
  30405. "type": "integer"
  30406. },
  30407. "warehousename": {
  30408. "description": "仓库名称",
  30409. "type": "string"
  30410. },
  30411. "wrfactortypeid": {
  30412. "description": "仓单要素id",
  30413. "type": "string"
  30414. },
  30415. "wrfactortypename": {
  30416. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30417. "type": "string"
  30418. },
  30419. "wrgoodsname": {
  30420. "description": "商品(商品名称+仓库要素名称 拼接)",
  30421. "type": "string"
  30422. },
  30423. "wrstandardcode": {
  30424. "description": "商品代码",
  30425. "type": "string"
  30426. },
  30427. "wrstandardid": {
  30428. "description": "商品id",
  30429. "type": "integer"
  30430. },
  30431. "wrstandardname": {
  30432. "description": "商品名称",
  30433. "type": "string"
  30434. }
  30435. }
  30436. },
  30437. "models.WrOrderQuoteDetail": {
  30438. "type": "object",
  30439. "properties": {
  30440. "buyorsell": {
  30441. "description": "买卖 - 0:买 1:卖",
  30442. "type": "integer"
  30443. },
  30444. "deliverymonth": {
  30445. "description": "交收月",
  30446. "type": "string"
  30447. },
  30448. "enumdicname": {
  30449. "description": "单位名称",
  30450. "type": "string"
  30451. },
  30452. "fixedprice": {
  30453. "description": "买(卖)价",
  30454. "type": "number"
  30455. },
  30456. "minivalue": {
  30457. "description": "现货商品最小变动值",
  30458. "type": "integer"
  30459. },
  30460. "orderqty": {
  30461. "description": "买(卖)量(=委托量-成交量)",
  30462. "type": "number"
  30463. },
  30464. "ordertime": {
  30465. "description": "委托时间",
  30466. "type": "string"
  30467. },
  30468. "pricemove": {
  30469. "description": "买(卖)升贴水- 基差",
  30470. "type": "number"
  30471. },
  30472. "userid": {
  30473. "description": "购买方(销售方)用户ID",
  30474. "type": "integer"
  30475. },
  30476. "username": {
  30477. "description": "购买方(销售方)",
  30478. "type": "string"
  30479. },
  30480. "wrtradeorderid": {
  30481. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30482. "type": "string"
  30483. }
  30484. }
  30485. },
  30486. "models.WrPerformancePlan": {
  30487. "type": "object",
  30488. "required": [
  30489. "userid"
  30490. ],
  30491. "properties": {
  30492. "amount": {
  30493. "description": "履约金额(总金额)",
  30494. "type": "number"
  30495. },
  30496. "buyaccountid": {
  30497. "description": "买方账号",
  30498. "type": "integer"
  30499. },
  30500. "buyerfreezeamount": {
  30501. "description": "履约冻结(买履约)",
  30502. "type": "number"
  30503. },
  30504. "buyerfreezeamountremain": {
  30505. "description": "履约冻结剩余(买履约)",
  30506. "type": "number"
  30507. },
  30508. "buyorsell": {
  30509. "description": "买卖方向 0-买 1-卖",
  30510. "type": "integer"
  30511. },
  30512. "buypaidamount": {
  30513. "description": "买方已冻/已扣金额 (已付金额)",
  30514. "type": "number"
  30515. },
  30516. "buyusername": {
  30517. "description": "买方名字",
  30518. "type": "string"
  30519. },
  30520. "contractid": {
  30521. "description": "合同ID",
  30522. "type": "integer"
  30523. },
  30524. "createtime": {
  30525. "description": "创建时间",
  30526. "type": "string"
  30527. },
  30528. "creatorid": {
  30529. "description": "创建人",
  30530. "type": "integer"
  30531. },
  30532. "curstepdeadline": {
  30533. "description": "当前步骤到期时间",
  30534. "type": "string"
  30535. },
  30536. "curstepid": {
  30537. "description": "当前步骤ID",
  30538. "type": "integer"
  30539. },
  30540. "curstepname": {
  30541. "description": "当前步骤名称",
  30542. "type": "string"
  30543. },
  30544. "deliverygoodscode": {
  30545. "description": "品种代码",
  30546. "type": "string"
  30547. },
  30548. "deliverygoodsid": {
  30549. "description": "品种ID",
  30550. "type": "integer"
  30551. },
  30552. "deliverygoodsname": {
  30553. "description": "品种名称",
  30554. "type": "string"
  30555. },
  30556. "enumdicname": {
  30557. "description": "单位名称",
  30558. "type": "string"
  30559. },
  30560. "expressfee": {
  30561. "description": "运费",
  30562. "type": "number"
  30563. },
  30564. "expressfeeconfirmed": {
  30565. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  30566. "type": "integer"
  30567. },
  30568. "hasovershort": {
  30569. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  30570. "type": "integer"
  30571. },
  30572. "haswr": {
  30573. "description": "类型 0-仓单预售 1-仓单贸易",
  30574. "type": "integer"
  30575. },
  30576. "marketid": {
  30577. "description": "市场ID",
  30578. "type": "integer"
  30579. },
  30580. "middleaccountid": {
  30581. "description": "中间商资金账号ID",
  30582. "type": "integer"
  30583. },
  30584. "middleuserid": {
  30585. "description": "中间商用户ID",
  30586. "type": "integer"
  30587. },
  30588. "minivalue": {
  30589. "description": "现货商品最小变动值",
  30590. "type": "integer"
  30591. },
  30592. "optioncompare": {
  30593. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30594. "type": "string"
  30595. },
  30596. "overshortamount": {
  30597. "description": "溢短金额",
  30598. "type": "number"
  30599. },
  30600. "overshortqty": {
  30601. "description": "溢短数量",
  30602. "type": "number"
  30603. },
  30604. "paymenttype": {
  30605. "description": "付款方式 - 1:冻结 2:扣款",
  30606. "type": "integer"
  30607. },
  30608. "performanceplanid": {
  30609. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  30610. "type": "string"
  30611. },
  30612. "performancestatus": {
  30613. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  30614. "type": "integer"
  30615. },
  30616. "performancetype": {
  30617. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  30618. "type": "integer"
  30619. },
  30620. "qty": {
  30621. "description": "履约数量",
  30622. "type": "number"
  30623. },
  30624. "relatedorderid": {
  30625. "description": "关联单号(履约类型的关联单号)",
  30626. "type": "string"
  30627. },
  30628. "remark": {
  30629. "description": "备注",
  30630. "type": "string"
  30631. },
  30632. "sellaccountid": {
  30633. "description": "卖方账号",
  30634. "type": "integer"
  30635. },
  30636. "sellerfreezeamount": {
  30637. "description": "履约冻结(卖履约)",
  30638. "type": "number"
  30639. },
  30640. "sellerfreezeamountremain": {
  30641. "description": "履约冻结剩余(卖履约)",
  30642. "type": "number"
  30643. },
  30644. "sellreceivedamount": {
  30645. "description": "卖方已收金额",
  30646. "type": "number"
  30647. },
  30648. "sellusername": {
  30649. "description": "卖方名字",
  30650. "type": "string"
  30651. },
  30652. "shipremark": {
  30653. "description": "发货备注[物流单号]",
  30654. "type": "string"
  30655. },
  30656. "starttime": {
  30657. "description": "开始时间",
  30658. "type": "string"
  30659. },
  30660. "userid": {
  30661. "description": "用户id",
  30662. "type": "integer"
  30663. },
  30664. "warehouseid": {
  30665. "description": "仓库ID",
  30666. "type": "integer"
  30667. },
  30668. "warehousename": {
  30669. "description": "仓库名称",
  30670. "type": "string"
  30671. },
  30672. "wrfactortypeid": {
  30673. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30674. "type": "string"
  30675. },
  30676. "wrfactortypename": {
  30677. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30678. "type": "string"
  30679. },
  30680. "wrstandardcode": {
  30681. "description": "现货商品代码",
  30682. "type": "string"
  30683. },
  30684. "wrstandardid": {
  30685. "description": "现货商品ID",
  30686. "type": "integer"
  30687. },
  30688. "wrstandardname": {
  30689. "description": "商品名称",
  30690. "type": "string"
  30691. },
  30692. "wrtransferuserid": {
  30693. "description": "仓单受让用户",
  30694. "type": "integer"
  30695. },
  30696. "wrtypename": {
  30697. "description": "商品",
  30698. "type": "string"
  30699. }
  30700. }
  30701. },
  30702. "models.WrPerformancePlanStep": {
  30703. "type": "object",
  30704. "properties": {
  30705. "delaydays": {
  30706. "description": "延期申请天数",
  30707. "type": "integer"
  30708. },
  30709. "deliverygoodscode": {
  30710. "description": "品种代码",
  30711. "type": "string"
  30712. },
  30713. "deliverygoodsid": {
  30714. "description": "品种ID",
  30715. "type": "integer"
  30716. },
  30717. "deliverygoodsname": {
  30718. "description": "品种名称",
  30719. "type": "string"
  30720. },
  30721. "endtime": {
  30722. "description": "结束日期",
  30723. "type": "string"
  30724. },
  30725. "enumdicname": {
  30726. "description": "单位名称",
  30727. "type": "string"
  30728. },
  30729. "executeside": {
  30730. "description": "步骤执行方 - 1:买方 2:卖方",
  30731. "type": "integer"
  30732. },
  30733. "handlestatus": {
  30734. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  30735. "type": "integer"
  30736. },
  30737. "isauto": {
  30738. "description": "是否自动 - 0:不自动 1:自动",
  30739. "type": "integer"
  30740. },
  30741. "islastreceivestep": {
  30742. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  30743. "type": "integer"
  30744. },
  30745. "minivalue": {
  30746. "description": "现货商品最小变动值",
  30747. "type": "integer"
  30748. },
  30749. "optioncompare": {
  30750. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30751. "type": "string"
  30752. },
  30753. "performancestepid": {
  30754. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  30755. "type": "string"
  30756. },
  30757. "planid": {
  30758. "description": "所属履约计划ID",
  30759. "type": "string"
  30760. },
  30761. "realamount": {
  30762. "description": "实际完成金额",
  30763. "type": "number"
  30764. },
  30765. "relatedorderid": {
  30766. "description": "关联单号",
  30767. "type": "string"
  30768. },
  30769. "remaindays": {
  30770. "description": "剩余天数",
  30771. "type": "integer"
  30772. },
  30773. "remark": {
  30774. "description": "错误备注",
  30775. "type": "string"
  30776. },
  30777. "starttime": {
  30778. "description": "开始日期",
  30779. "type": "string"
  30780. },
  30781. "stepamount": {
  30782. "description": "步骤金额",
  30783. "type": "number"
  30784. },
  30785. "stepdays": {
  30786. "description": "距离上一步天数(分钟)",
  30787. "type": "integer"
  30788. },
  30789. "stepindex": {
  30790. "description": "步骤序号",
  30791. "type": "integer"
  30792. },
  30793. "steplanchtype": {
  30794. "description": "步骤启动类型 - 1:系统自动 2:手动",
  30795. "type": "integer"
  30796. },
  30797. "stepremark": {
  30798. "description": "步骤备注",
  30799. "type": "string"
  30800. },
  30801. "stepstatus": {
  30802. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  30803. "type": "integer"
  30804. },
  30805. "steptypeid": {
  30806. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  30807. "type": "integer"
  30808. },
  30809. "steptypename": {
  30810. "description": "步骤名称",
  30811. "type": "string"
  30812. },
  30813. "stepvalue": {
  30814. "description": "步骤值",
  30815. "type": "number"
  30816. },
  30817. "warehouseid": {
  30818. "description": "仓库ID",
  30819. "type": "integer"
  30820. },
  30821. "warehousename": {
  30822. "description": "仓库名称",
  30823. "type": "string"
  30824. },
  30825. "wrfactortypeid": {
  30826. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30827. "type": "string"
  30828. },
  30829. "wrfactortypename": {
  30830. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30831. "type": "string"
  30832. },
  30833. "wrstandardcode": {
  30834. "description": "现货商品代码",
  30835. "type": "string"
  30836. },
  30837. "wrstandardid": {
  30838. "description": "现货商品ID",
  30839. "type": "integer"
  30840. },
  30841. "wrstandardname": {
  30842. "description": "商品名称",
  30843. "type": "string"
  30844. },
  30845. "wrtypename": {
  30846. "description": "商品",
  30847. "type": "string"
  30848. }
  30849. }
  30850. },
  30851. "models.WrPosition": {
  30852. "type": "object",
  30853. "properties": {
  30854. "accountid": {
  30855. "description": "帐户ID",
  30856. "type": "integer"
  30857. },
  30858. "buyexcuteqty": {
  30859. "description": "采购履约中数量",
  30860. "type": "number"
  30861. },
  30862. "creditcurqty": {
  30863. "description": "授信当前数量(预售仓单:预售当前量)",
  30864. "type": "number"
  30865. },
  30866. "creditenableqty": {
  30867. "description": "授信可用数量(预售仓单: 可用数量)",
  30868. "type": "number"
  30869. },
  30870. "creditfreezeqty": {
  30871. "description": "授信冻结数量(预售仓单: 当前数量)",
  30872. "type": "number"
  30873. },
  30874. "credittotalqty": {
  30875. "description": "授信总数量(预售仓单:预售总量)",
  30876. "type": "number"
  30877. },
  30878. "credittradeqty": {
  30879. "description": "授信成交数量(预售仓单:成交总量)",
  30880. "type": "number"
  30881. },
  30882. "deliverygoodscode": {
  30883. "description": "品种代码",
  30884. "type": "string"
  30885. },
  30886. "deliverygoodsid": {
  30887. "description": "品种ID",
  30888. "type": "integer"
  30889. },
  30890. "deliverygoodsname": {
  30891. "description": "品种名称",
  30892. "type": "string"
  30893. },
  30894. "enalbeqty": {
  30895. "description": "可用数量",
  30896. "type": "number"
  30897. },
  30898. "enumdicname": {
  30899. "description": "单位名称",
  30900. "type": "string"
  30901. },
  30902. "freezeqty": {
  30903. "description": "总冻结数量",
  30904. "type": "number"
  30905. },
  30906. "haswr": {
  30907. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  30908. "type": "integer"
  30909. },
  30910. "minivalue": {
  30911. "description": "现货商品最小变动值",
  30912. "type": "integer"
  30913. },
  30914. "modifytime": {
  30915. "description": "修改时间(过户时间)",
  30916. "type": "string"
  30917. },
  30918. "optioncompare": {
  30919. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  30920. "type": "string"
  30921. },
  30922. "pledgeqty": {
  30923. "description": "质押数量",
  30924. "type": "number"
  30925. },
  30926. "querytype": {
  30927. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  30928. "type": "integer"
  30929. },
  30930. "sellexcuteqty": {
  30931. "description": "销售履约中数量",
  30932. "type": "number"
  30933. },
  30934. "totalqty": {
  30935. "description": "总数量(库存数量)",
  30936. "type": "number"
  30937. },
  30938. "warehouseid": {
  30939. "description": "仓库ID",
  30940. "type": "integer"
  30941. },
  30942. "warehousename": {
  30943. "description": "仓库名称",
  30944. "type": "string"
  30945. },
  30946. "wrfactortypeid": {
  30947. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  30948. "type": "string"
  30949. },
  30950. "wrfactortypename": {
  30951. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  30952. "type": "string"
  30953. },
  30954. "wrpositionid": {
  30955. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  30956. "type": "string"
  30957. },
  30958. "wrpositionno": {
  30959. "description": "仓单编号",
  30960. "type": "string"
  30961. },
  30962. "wrstandardcode": {
  30963. "description": "现货商品代码",
  30964. "type": "string"
  30965. },
  30966. "wrstandardid": {
  30967. "description": "现货商品ID",
  30968. "type": "integer"
  30969. },
  30970. "wrstandardname": {
  30971. "description": "商品名称",
  30972. "type": "string"
  30973. },
  30974. "wrtypename": {
  30975. "description": "商品",
  30976. "type": "string"
  30977. },
  30978. "wruserid": {
  30979. "description": "持有人ID",
  30980. "type": "integer"
  30981. }
  30982. }
  30983. },
  30984. "models.WrSpecialMatchOrder": {
  30985. "type": "object",
  30986. "properties": {
  30987. "amount": {
  30988. "description": "金额 = 数量 * 价格",
  30989. "type": "number"
  30990. },
  30991. "buyorsell": {
  30992. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  30993. "type": "integer"
  30994. },
  30995. "cancelqty": {
  30996. "description": "撤销数量",
  30997. "type": "number"
  30998. },
  30999. "deliverygoodscode": {
  31000. "description": "品种代码",
  31001. "type": "string"
  31002. },
  31003. "deliverygoodsid": {
  31004. "description": "品种ID",
  31005. "type": "integer"
  31006. },
  31007. "deliverygoodsname": {
  31008. "description": "品种名称",
  31009. "type": "string"
  31010. },
  31011. "enumdicname": {
  31012. "description": "单位名称",
  31013. "type": "string"
  31014. },
  31015. "fixedprice": {
  31016. "description": "固定价格(价格)",
  31017. "type": "number"
  31018. },
  31019. "haswr": {
  31020. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31021. "type": "integer"
  31022. },
  31023. "marketid": {
  31024. "description": "市场ID",
  31025. "type": "integer"
  31026. },
  31027. "matchuserid": {
  31028. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  31029. "type": "integer"
  31030. },
  31031. "matchusername": {
  31032. "description": "指定方",
  31033. "type": "string"
  31034. },
  31035. "minivalue": {
  31036. "description": "现货商品最小变动值",
  31037. "type": "integer"
  31038. },
  31039. "optioncompare": {
  31040. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31041. "type": "string"
  31042. },
  31043. "orderqty": {
  31044. "description": "委托数量",
  31045. "type": "number"
  31046. },
  31047. "ordertime": {
  31048. "description": "委托时间",
  31049. "type": "string"
  31050. },
  31051. "pricemove": {
  31052. "description": "升贴水(浮动价时填写) - [挂牌]",
  31053. "type": "number"
  31054. },
  31055. "tradedate": {
  31056. "description": "交易日(yyyyMMdd)",
  31057. "type": "string"
  31058. },
  31059. "tradeprice": {
  31060. "description": "成交价格",
  31061. "type": "number"
  31062. },
  31063. "tradeqty": {
  31064. "description": "成交数量",
  31065. "type": "number"
  31066. },
  31067. "userid": {
  31068. "description": "用户ID",
  31069. "type": "integer"
  31070. },
  31071. "username": {
  31072. "description": "发起方",
  31073. "type": "string"
  31074. },
  31075. "warehouseid": {
  31076. "description": "仓库ID",
  31077. "type": "integer"
  31078. },
  31079. "warehousename": {
  31080. "description": "仓库名称",
  31081. "type": "string"
  31082. },
  31083. "wrfactortypeid": {
  31084. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31085. "type": "string"
  31086. },
  31087. "wrfactortypename": {
  31088. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31089. "type": "string"
  31090. },
  31091. "wrpricetype": {
  31092. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31093. "type": "integer"
  31094. },
  31095. "wrstandardcode": {
  31096. "description": "现货商品代码",
  31097. "type": "string"
  31098. },
  31099. "wrstandardid": {
  31100. "description": "现货商品ID",
  31101. "type": "integer"
  31102. },
  31103. "wrstandardname": {
  31104. "description": "商品名称",
  31105. "type": "string"
  31106. },
  31107. "wrtradeorderid": {
  31108. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31109. "type": "string"
  31110. },
  31111. "wrtradeorderstatus": {
  31112. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  31113. "type": "integer"
  31114. },
  31115. "wrtradetype": {
  31116. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31117. "type": "integer"
  31118. },
  31119. "wrtypename": {
  31120. "description": "商品",
  31121. "type": "string"
  31122. }
  31123. }
  31124. },
  31125. "models.WrStandardFactoryItem": {
  31126. "type": "object",
  31127. "properties": {
  31128. "dgfactoryitemid": {
  31129. "description": "选择项id",
  31130. "type": "integer"
  31131. },
  31132. "dgfactoryitemvalue": {
  31133. "description": "要素项值",
  31134. "type": "string"
  31135. }
  31136. }
  31137. },
  31138. "models.WrStandardFactoryItemEx": {
  31139. "type": "object",
  31140. "properties": {
  31141. "dgfactoryitemtypeid": {
  31142. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  31143. "type": "integer"
  31144. },
  31145. "itemlst": {
  31146. "description": "要素项列表",
  31147. "type": "array",
  31148. "items": {
  31149. "$ref": "#/definitions/models.WrStandardFactoryItem"
  31150. }
  31151. },
  31152. "itemtypename": {
  31153. "description": "要素项类型名称",
  31154. "type": "string"
  31155. },
  31156. "wrstandardid": {
  31157. "description": "品类",
  31158. "type": "integer"
  31159. }
  31160. }
  31161. },
  31162. "models.WrTradeDetail": {
  31163. "type": "object",
  31164. "properties": {
  31165. "accountid": {
  31166. "description": "资金账号",
  31167. "type": "integer"
  31168. },
  31169. "buyorsell": {
  31170. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  31171. "type": "integer"
  31172. },
  31173. "deliverygoodscode": {
  31174. "description": "品种代码",
  31175. "type": "string"
  31176. },
  31177. "deliverygoodsid": {
  31178. "description": "品种ID",
  31179. "type": "integer"
  31180. },
  31181. "deliverygoodsname": {
  31182. "description": "品种名称",
  31183. "type": "string"
  31184. },
  31185. "deliverymonth": {
  31186. "description": "交收月",
  31187. "type": "string"
  31188. },
  31189. "enumdicname": {
  31190. "description": "单位名称",
  31191. "type": "string"
  31192. },
  31193. "haswr": {
  31194. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  31195. "type": "integer"
  31196. },
  31197. "marketid": {
  31198. "description": "市场ID",
  31199. "type": "integer"
  31200. },
  31201. "matchaccountid": {
  31202. "description": "对手账号",
  31203. "type": "integer"
  31204. },
  31205. "matchusername": {
  31206. "description": "对手方",
  31207. "type": "string"
  31208. },
  31209. "minivalue": {
  31210. "description": "现货商品最小变动值",
  31211. "type": "integer"
  31212. },
  31213. "optioncompare": {
  31214. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  31215. "type": "string"
  31216. },
  31217. "tradedate": {
  31218. "description": "交易日(yyyyMMdd)",
  31219. "type": "string"
  31220. },
  31221. "tradeprice": {
  31222. "description": "成交价格",
  31223. "type": "number"
  31224. },
  31225. "tradeqty": {
  31226. "description": "成交数量",
  31227. "type": "number"
  31228. },
  31229. "tradetime": {
  31230. "description": "成交时间",
  31231. "type": "string"
  31232. },
  31233. "userid": {
  31234. "description": "用户ID",
  31235. "type": "integer"
  31236. },
  31237. "warehouseid": {
  31238. "description": "仓库ID",
  31239. "type": "integer"
  31240. },
  31241. "warehousename": {
  31242. "description": "仓库名称",
  31243. "type": "string"
  31244. },
  31245. "wrfactortypeid": {
  31246. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  31247. "type": "string"
  31248. },
  31249. "wrfactortypename": {
  31250. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  31251. "type": "string"
  31252. },
  31253. "wrstandardcode": {
  31254. "description": "现货商品代码",
  31255. "type": "string"
  31256. },
  31257. "wrstandardid": {
  31258. "description": "现货商品ID",
  31259. "type": "integer"
  31260. },
  31261. "wrstandardname": {
  31262. "description": "商品名称",
  31263. "type": "string"
  31264. },
  31265. "wrtradedetailid": {
  31266. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  31267. "type": "string"
  31268. },
  31269. "wrtradetype": {
  31270. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31271. "type": "integer"
  31272. },
  31273. "wrtypename": {
  31274. "description": "商品",
  31275. "type": "string"
  31276. }
  31277. }
  31278. },
  31279. "models.WrTypeItem": {
  31280. "type": "object",
  31281. "properties": {
  31282. "name": {
  31283. "description": "名称",
  31284. "type": "string"
  31285. },
  31286. "value": {
  31287. "description": "值",
  31288. "type": "string"
  31289. }
  31290. }
  31291. },
  31292. "order.QueryHisTradeDetailRsp": {
  31293. "type": "object",
  31294. "required": [
  31295. "accountid",
  31296. "buyorsell",
  31297. "goodsid",
  31298. "histradedate",
  31299. "marketid",
  31300. "memberuserid",
  31301. "orderid",
  31302. "tradeamount",
  31303. "tradedate",
  31304. "tradeid",
  31305. "tradeprice",
  31306. "tradeqty",
  31307. "tradetime"
  31308. ],
  31309. "properties": {
  31310. "accountid": {
  31311. "description": "账户ID[报价币种]",
  31312. "type": "integer"
  31313. },
  31314. "advanceratio": {
  31315. "description": "首付比率",
  31316. "type": "number"
  31317. },
  31318. "buildtype": {
  31319. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31320. "type": "integer"
  31321. },
  31322. "buyorsell": {
  31323. "description": "方向 - 0:买 1:卖",
  31324. "type": "integer"
  31325. },
  31326. "charge": {
  31327. "description": "手续费",
  31328. "type": "number"
  31329. },
  31330. "closecharge": {
  31331. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31332. "type": "number"
  31333. },
  31334. "closeexchagechargevalue": {
  31335. "description": "平仓交易所手续费设置值",
  31336. "type": "number"
  31337. },
  31338. "closefeealgorithm": {
  31339. "description": "平仓手续费收取方式 1:比率 2:固定",
  31340. "type": "integer"
  31341. },
  31342. "closememberchargevalue": {
  31343. "description": "平仓会员手续费设置值",
  31344. "type": "number"
  31345. },
  31346. "closepl": {
  31347. "description": "平仓盈亏",
  31348. "type": "number"
  31349. },
  31350. "closepl2": {
  31351. "description": "平仓盈亏[逐笔]",
  31352. "type": "number"
  31353. },
  31354. "closeqty": {
  31355. "description": "平仓数量(先建后平操作 需要记录)",
  31356. "type": "number"
  31357. },
  31358. "creditamount": {
  31359. "description": "授信金额",
  31360. "type": "number"
  31361. },
  31362. "decimalplace": {
  31363. "description": "商品报价小数位",
  31364. "type": "integer"
  31365. },
  31366. "enumdicname": {
  31367. "description": "单位名称",
  31368. "type": "string"
  31369. },
  31370. "gcaccountid": {
  31371. "description": "账户ID[合约币种]",
  31372. "type": "integer"
  31373. },
  31374. "goodscode": {
  31375. "description": "商品代码",
  31376. "type": "string"
  31377. },
  31378. "goodsid": {
  31379. "description": "商品ID",
  31380. "type": "integer"
  31381. },
  31382. "goodsname": {
  31383. "description": "商品名称",
  31384. "type": "string"
  31385. },
  31386. "goodunitid": {
  31387. "description": "商品单位id",
  31388. "type": "integer"
  31389. },
  31390. "histradedate": {
  31391. "description": "历史交易日",
  31392. "type": "string"
  31393. },
  31394. "intclosepl": {
  31395. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31396. "type": "integer"
  31397. },
  31398. "isconfirmexercise": {
  31399. "description": "是否确认行权- 0:否 1:是",
  31400. "type": "integer"
  31401. },
  31402. "ismain": {
  31403. "description": "是否主单 - 0:不是 1:是",
  31404. "type": "integer"
  31405. },
  31406. "ispreexercise": {
  31407. "description": "是否预申报- 0:否 1:是",
  31408. "type": "integer"
  31409. },
  31410. "isreckoned": {
  31411. "description": "是否结算 - 0:未结算 1:已结算",
  31412. "type": "integer"
  31413. },
  31414. "isvaliddata": {
  31415. "description": "是否有效 - 0:无效 1:有效",
  31416. "type": "integer"
  31417. },
  31418. "listingselecttype": {
  31419. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31420. "type": "integer"
  31421. },
  31422. "marketid": {
  31423. "description": "市场ID",
  31424. "type": "integer"
  31425. },
  31426. "marketname": {
  31427. "description": "市场名称",
  31428. "type": "string"
  31429. },
  31430. "matchaccountid": {
  31431. "description": "对手账号id",
  31432. "type": "integer"
  31433. },
  31434. "memberuserid": {
  31435. "description": "会员id 个人投资者 需要填写",
  31436. "type": "integer"
  31437. },
  31438. "opencharge": {
  31439. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31440. "type": "number"
  31441. },
  31442. "openexchagechargevalue": {
  31443. "description": "建仓交易所手续费设置值",
  31444. "type": "number"
  31445. },
  31446. "openfeealgorithm": {
  31447. "description": "建仓手续费收取方式 1:比率 2:固定",
  31448. "type": "integer"
  31449. },
  31450. "openmemberchargevalue": {
  31451. "description": "建仓会员手续费设置值",
  31452. "type": "number"
  31453. },
  31454. "openqty": {
  31455. "description": "开仓数量(先建后平操作 需要记录)",
  31456. "type": "number"
  31457. },
  31458. "optiontype": {
  31459. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31460. "type": "integer"
  31461. },
  31462. "orderid": {
  31463. "description": "委托单号",
  31464. "type": "string"
  31465. },
  31466. "payamount": {
  31467. "description": "支付金额(付款金额)",
  31468. "type": "number"
  31469. },
  31470. "performanceplanid": {
  31471. "description": "履约计划ID[期权]",
  31472. "type": "integer"
  31473. },
  31474. "performancestatus": {
  31475. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  31476. "type": "integer"
  31477. },
  31478. "preexerciseprice": {
  31479. "description": "预申报价格",
  31480. "type": "number"
  31481. },
  31482. "premium": {
  31483. "description": "权利金 - [持仓单的权利金]",
  31484. "type": "number"
  31485. },
  31486. "qtydecimalplace": {
  31487. "description": "商品报价小数位",
  31488. "type": "integer"
  31489. },
  31490. "recvamount": {
  31491. "description": "到账金额 = 成交金额 - 手续费",
  31492. "type": "number"
  31493. },
  31494. "relatedouttradeid": {
  31495. "description": "关联外部成交单ID",
  31496. "type": "integer"
  31497. },
  31498. "status": {
  31499. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  31500. "type": "integer"
  31501. },
  31502. "totalamount": {
  31503. "description": "订单总额 = 成交金额 + 手续费",
  31504. "type": "number"
  31505. },
  31506. "tradeamount": {
  31507. "description": "成交金额[账户币种,用于所有权]",
  31508. "type": "number"
  31509. },
  31510. "tradedate": {
  31511. "description": "交易日(yyyyMMdd)",
  31512. "type": "string"
  31513. },
  31514. "tradeid": {
  31515. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31516. "type": "string"
  31517. },
  31518. "trademode": {
  31519. "description": "交易模式",
  31520. "type": "integer"
  31521. },
  31522. "tradeprice": {
  31523. "description": "成交价格",
  31524. "type": "number"
  31525. },
  31526. "tradeproperty": {
  31527. "description": "交易属性",
  31528. "type": "integer"
  31529. },
  31530. "tradeqty": {
  31531. "description": "成交数量",
  31532. "type": "number"
  31533. },
  31534. "tradetime": {
  31535. "description": "成交时间",
  31536. "type": "string"
  31537. },
  31538. "tradetype": {
  31539. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  31540. "type": "integer"
  31541. }
  31542. }
  31543. },
  31544. "order.QueryHisTradeOrderDetailRsp": {
  31545. "type": "object",
  31546. "required": [
  31547. "accountid",
  31548. "buildtype",
  31549. "buyorsell",
  31550. "goodsid",
  31551. "histradedate",
  31552. "marketid",
  31553. "memberuserid",
  31554. "operatetype",
  31555. "orderid",
  31556. "orderqty",
  31557. "ordertime",
  31558. "pricemode",
  31559. "tradedate",
  31560. "validtype"
  31561. ],
  31562. "properties": {
  31563. "accountid": {
  31564. "description": "账户ID[报价币种]",
  31565. "type": "integer"
  31566. },
  31567. "buildtype": {
  31568. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  31569. "type": "integer"
  31570. },
  31571. "buyorsell": {
  31572. "description": "买卖 - 0:买 1:卖",
  31573. "type": "integer"
  31574. },
  31575. "cancelorderid": {
  31576. "description": "撤单单号(撤单时填写)",
  31577. "type": "string"
  31578. },
  31579. "cancelqty": {
  31580. "description": "撤单数量",
  31581. "type": "number"
  31582. },
  31583. "clientordertime": {
  31584. "description": "客户端委托时间",
  31585. "type": "string"
  31586. },
  31587. "clientticket": {
  31588. "description": "客户端流水号",
  31589. "type": "string"
  31590. },
  31591. "clienttype": {
  31592. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31593. "type": "integer"
  31594. },
  31595. "closeexchagechargevalue": {
  31596. "description": "平仓交易所手续费设置值",
  31597. "type": "number"
  31598. },
  31599. "closefeealgorithm": {
  31600. "description": "平仓手续费收取方式 1:比率 2:固定",
  31601. "type": "integer"
  31602. },
  31603. "closefreezecharge": {
  31604. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  31605. "type": "number"
  31606. },
  31607. "closememberchargevalue": {
  31608. "description": "平仓会员手续费设置值",
  31609. "type": "number"
  31610. },
  31611. "closeqty": {
  31612. "description": "平仓数量(先建后平操作 需要记录)",
  31613. "type": "number"
  31614. },
  31615. "closetradeqty": {
  31616. "description": "平仓成交数量(先建后平操作,需要记录)",
  31617. "type": "number"
  31618. },
  31619. "closeunfreezecharge": {
  31620. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  31621. "type": "number"
  31622. },
  31623. "decimalplace": {
  31624. "description": "商品报价小数位",
  31625. "type": "integer"
  31626. },
  31627. "delistingtype": {
  31628. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  31629. "type": "integer"
  31630. },
  31631. "enumdicname": {
  31632. "description": "单位名称",
  31633. "type": "string"
  31634. },
  31635. "freezecharge": {
  31636. "description": "冻结手续费",
  31637. "type": "number"
  31638. },
  31639. "freezemargin": {
  31640. "description": "冻结保证金(冻结交易金额)",
  31641. "type": "number"
  31642. },
  31643. "gcaccountid": {
  31644. "description": "账户ID[合约币种]",
  31645. "type": "integer"
  31646. },
  31647. "goodscode": {
  31648. "description": "商品代码",
  31649. "type": "string"
  31650. },
  31651. "goodsid": {
  31652. "description": "商品ID",
  31653. "type": "integer"
  31654. },
  31655. "goodsname": {
  31656. "description": "商品名称",
  31657. "type": "string"
  31658. },
  31659. "goodunitid": {
  31660. "description": "商品单位id",
  31661. "type": "integer"
  31662. },
  31663. "histradedate": {
  31664. "description": "历史交易日",
  31665. "type": "string"
  31666. },
  31667. "isconfirmexercise": {
  31668. "description": "是否确认行权- 0:否 1:是",
  31669. "type": "integer"
  31670. },
  31671. "ispreexercise": {
  31672. "description": "是否预申报- 0:否 1:是",
  31673. "type": "integer"
  31674. },
  31675. "isvaliddata": {
  31676. "description": "是否有效 - 0:无效 1:有效",
  31677. "type": "integer"
  31678. },
  31679. "listingselecttype": {
  31680. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31681. "type": "integer"
  31682. },
  31683. "marginalgorithm": {
  31684. "description": "保证金收取方式 1:比率 2:固定",
  31685. "type": "integer"
  31686. },
  31687. "marginvalue": {
  31688. "description": "即市保证金设置值",
  31689. "type": "number"
  31690. },
  31691. "marketid": {
  31692. "description": "市场ID",
  31693. "type": "integer"
  31694. },
  31695. "marketmaxsub": {
  31696. "description": "市价最大偏移范围",
  31697. "type": "number"
  31698. },
  31699. "marketname": {
  31700. "description": "市场名称",
  31701. "type": "string"
  31702. },
  31703. "memberuserid": {
  31704. "description": "所属会员UserID",
  31705. "type": "integer"
  31706. },
  31707. "openexchagechargevalue": {
  31708. "description": "建仓交易所手续费设置值",
  31709. "type": "number"
  31710. },
  31711. "openfeealgorithm": {
  31712. "description": "建仓手续费收取方式 1:比率 2:固定",
  31713. "type": "integer"
  31714. },
  31715. "openfreezecharge": {
  31716. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  31717. "type": "number"
  31718. },
  31719. "openmemberchargevalue": {
  31720. "description": "建仓会员手续费设置值",
  31721. "type": "number"
  31722. },
  31723. "openqty": {
  31724. "description": "开仓数量(先建后平操作,需要记录)",
  31725. "type": "number"
  31726. },
  31727. "opentradeqty": {
  31728. "description": "开仓成交数量(先建后平操作,需要记录)",
  31729. "type": "number"
  31730. },
  31731. "openunfreezecharge": {
  31732. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  31733. "type": "number"
  31734. },
  31735. "operatetype": {
  31736. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  31737. "type": "integer"
  31738. },
  31739. "operatorid": {
  31740. "description": "登录账号(LoginID)",
  31741. "type": "integer"
  31742. },
  31743. "optiontype": {
  31744. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  31745. "type": "integer"
  31746. },
  31747. "orderid": {
  31748. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31749. "type": "string"
  31750. },
  31751. "orderprice": {
  31752. "description": "委托价格",
  31753. "type": "number"
  31754. },
  31755. "orderqty": {
  31756. "description": "委托数量",
  31757. "type": "number"
  31758. },
  31759. "ordersrc": {
  31760. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  31761. "type": "integer"
  31762. },
  31763. "orderstatus": {
  31764. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  31765. "type": "integer"
  31766. },
  31767. "ordertime": {
  31768. "description": "委托时间",
  31769. "type": "string"
  31770. },
  31771. "preexerciseprice": {
  31772. "description": "预申报价格",
  31773. "type": "number"
  31774. },
  31775. "premium": {
  31776. "description": "权利金",
  31777. "type": "number"
  31778. },
  31779. "preorderid": {
  31780. "description": "关联预埋单号(止盈止损单时填写)",
  31781. "type": "string"
  31782. },
  31783. "pricemode": {
  31784. "description": "取价方式 - 1:市价 2: 限价",
  31785. "type": "integer"
  31786. },
  31787. "qtydecimalplace": {
  31788. "description": "成交量小数位",
  31789. "type": "integer"
  31790. },
  31791. "quoteid": {
  31792. "description": "报价单ID",
  31793. "type": "integer"
  31794. },
  31795. "relatedid": {
  31796. "description": "关联单号(交割单)",
  31797. "type": "string"
  31798. },
  31799. "retcode": {
  31800. "description": "错误代码",
  31801. "type": "integer"
  31802. },
  31803. "sessionid": {
  31804. "description": "会话ID",
  31805. "type": "integer"
  31806. },
  31807. "tradedate": {
  31808. "description": "交易日(yyyyMMdd)",
  31809. "type": "string"
  31810. },
  31811. "trademode": {
  31812. "description": "交易模式",
  31813. "type": "integer"
  31814. },
  31815. "tradeproperty": {
  31816. "description": "交易属性",
  31817. "type": "integer"
  31818. },
  31819. "tradeqty": {
  31820. "description": "成交数量",
  31821. "type": "number"
  31822. },
  31823. "unfreezecharge": {
  31824. "description": "解冻手续费",
  31825. "type": "number"
  31826. },
  31827. "unfreezemargin": {
  31828. "description": "解冻保证金",
  31829. "type": "number"
  31830. },
  31831. "updatetime": {
  31832. "description": "更新时间",
  31833. "type": "string"
  31834. },
  31835. "uuid": {
  31836. "description": "发起端唯一id",
  31837. "type": "string"
  31838. },
  31839. "validtime": {
  31840. "description": "有效期限",
  31841. "type": "string"
  31842. },
  31843. "validtype": {
  31844. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  31845. "type": "integer"
  31846. },
  31847. "volumetype": {
  31848. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  31849. "type": "integer"
  31850. }
  31851. }
  31852. },
  31853. "order.QueryTradeDetailRsp": {
  31854. "type": "object",
  31855. "required": [
  31856. "accountid",
  31857. "buyorsell",
  31858. "goodsid",
  31859. "marketid",
  31860. "memberuserid",
  31861. "orderid",
  31862. "tradeamount",
  31863. "tradedate",
  31864. "tradeid",
  31865. "tradeprice",
  31866. "tradeqty",
  31867. "tradetime"
  31868. ],
  31869. "properties": {
  31870. "accountid": {
  31871. "description": "账户ID[报价币种]",
  31872. "type": "integer"
  31873. },
  31874. "advanceratio": {
  31875. "description": "首付比率",
  31876. "type": "number"
  31877. },
  31878. "buildtype": {
  31879. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  31880. "type": "integer"
  31881. },
  31882. "buyorsell": {
  31883. "description": "方向 - 0:买 1:卖",
  31884. "type": "integer"
  31885. },
  31886. "charge": {
  31887. "description": "手续费",
  31888. "type": "number"
  31889. },
  31890. "closecharge": {
  31891. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31892. "type": "number"
  31893. },
  31894. "closeexchagechargevalue": {
  31895. "description": "平仓交易所手续费设置值",
  31896. "type": "number"
  31897. },
  31898. "closefeealgorithm": {
  31899. "description": "平仓手续费收取方式 1:比率 2:固定",
  31900. "type": "integer"
  31901. },
  31902. "closememberchargevalue": {
  31903. "description": "平仓会员手续费设置值",
  31904. "type": "number"
  31905. },
  31906. "closepl": {
  31907. "description": "平仓盈亏",
  31908. "type": "number"
  31909. },
  31910. "closepl2": {
  31911. "description": "平仓盈亏[逐笔]",
  31912. "type": "number"
  31913. },
  31914. "closeqty": {
  31915. "description": "平仓数量(先建后平操作 需要记录)",
  31916. "type": "number"
  31917. },
  31918. "creditamount": {
  31919. "description": "授信金额",
  31920. "type": "number"
  31921. },
  31922. "decimalplace": {
  31923. "description": "商品报价小数位",
  31924. "type": "integer"
  31925. },
  31926. "enumdicname": {
  31927. "description": "单位名称",
  31928. "type": "string"
  31929. },
  31930. "gcaccountid": {
  31931. "description": "账户ID[合约币种]",
  31932. "type": "integer"
  31933. },
  31934. "goodscode": {
  31935. "description": "商品代码",
  31936. "type": "string"
  31937. },
  31938. "goodsid": {
  31939. "description": "商品ID",
  31940. "type": "integer"
  31941. },
  31942. "goodsname": {
  31943. "description": "商品名称",
  31944. "type": "string"
  31945. },
  31946. "goodunitid": {
  31947. "description": "商品单位id",
  31948. "type": "integer"
  31949. },
  31950. "intclosepl": {
  31951. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  31952. "type": "integer"
  31953. },
  31954. "isconfirmexercise": {
  31955. "description": "是否确认行权- 0:否 1:是",
  31956. "type": "integer"
  31957. },
  31958. "ismain": {
  31959. "description": "是否主单 - 0:不是 1:是",
  31960. "type": "integer"
  31961. },
  31962. "ispreexercise": {
  31963. "description": "是否预申报- 0:否 1:是",
  31964. "type": "integer"
  31965. },
  31966. "isreckoned": {
  31967. "description": "是否结算 - 0:未结算 1:已结算",
  31968. "type": "integer"
  31969. },
  31970. "listingselecttype": {
  31971. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  31972. "type": "integer"
  31973. },
  31974. "marketid": {
  31975. "description": "市场ID",
  31976. "type": "integer"
  31977. },
  31978. "marketname": {
  31979. "description": "市场名称",
  31980. "type": "string"
  31981. },
  31982. "matchaccountid": {
  31983. "description": "对手账号id",
  31984. "type": "integer"
  31985. },
  31986. "memberuserid": {
  31987. "description": "会员id 个人投资者 需要填写",
  31988. "type": "integer"
  31989. },
  31990. "opencharge": {
  31991. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  31992. "type": "number"
  31993. },
  31994. "openexchagechargevalue": {
  31995. "description": "建仓交易所手续费设置值",
  31996. "type": "number"
  31997. },
  31998. "openfeealgorithm": {
  31999. "description": "建仓手续费收取方式 1:比率 2:固定",
  32000. "type": "integer"
  32001. },
  32002. "openmemberchargevalue": {
  32003. "description": "建仓会员手续费设置值",
  32004. "type": "number"
  32005. },
  32006. "openqty": {
  32007. "description": "开仓数量(先建后平操作 需要记录)",
  32008. "type": "number"
  32009. },
  32010. "optiontype": {
  32011. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  32012. "type": "integer"
  32013. },
  32014. "orderid": {
  32015. "description": "委托单号",
  32016. "type": "string"
  32017. },
  32018. "payamount": {
  32019. "description": "支付金额(付款金额)",
  32020. "type": "number"
  32021. },
  32022. "performanceplanid": {
  32023. "description": "履约计划ID[期权]",
  32024. "type": "integer"
  32025. },
  32026. "performancestatus": {
  32027. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  32028. "type": "integer"
  32029. },
  32030. "preexerciseprice": {
  32031. "description": "预申报价格",
  32032. "type": "number"
  32033. },
  32034. "premium": {
  32035. "description": "权利金 - [持仓单的权利金]",
  32036. "type": "number"
  32037. },
  32038. "qtydecimalplace": {
  32039. "description": "商品报价小数位",
  32040. "type": "integer"
  32041. },
  32042. "recvamount": {
  32043. "description": "到账金额 = 成交金额 - 手续费",
  32044. "type": "number"
  32045. },
  32046. "relatedouttradeid": {
  32047. "description": "关联外部成交单ID",
  32048. "type": "integer"
  32049. },
  32050. "status": {
  32051. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  32052. "type": "integer"
  32053. },
  32054. "totalamount": {
  32055. "description": "订单总额 = 成交金额 + 手续费",
  32056. "type": "number"
  32057. },
  32058. "tradeamount": {
  32059. "description": "成交金额[账户币种,用于所有权]",
  32060. "type": "number"
  32061. },
  32062. "tradedate": {
  32063. "description": "交易日(yyyyMMdd)",
  32064. "type": "string"
  32065. },
  32066. "tradeid": {
  32067. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32068. "type": "string"
  32069. },
  32070. "trademode": {
  32071. "description": "交易模式",
  32072. "type": "integer"
  32073. },
  32074. "tradeprice": {
  32075. "description": "成交价格",
  32076. "type": "number"
  32077. },
  32078. "tradeproperty": {
  32079. "description": "交易属性",
  32080. "type": "integer"
  32081. },
  32082. "tradeqty": {
  32083. "description": "成交数量",
  32084. "type": "number"
  32085. },
  32086. "tradetime": {
  32087. "description": "成交时间",
  32088. "type": "string"
  32089. },
  32090. "tradetype": {
  32091. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  32092. "type": "integer"
  32093. }
  32094. }
  32095. },
  32096. "order.QueryTradeOrderDetailRsp": {
  32097. "type": "object",
  32098. "required": [
  32099. "accountid",
  32100. "buildtype",
  32101. "buyorsell",
  32102. "goodsid",
  32103. "marketid",
  32104. "operatetype",
  32105. "orderqty",
  32106. "ordertime",
  32107. "pricemode",
  32108. "tradedate",
  32109. "validtype"
  32110. ],
  32111. "properties": {
  32112. "accountid": {
  32113. "description": "账户ID[报价币种]",
  32114. "type": "integer"
  32115. },
  32116. "buildtype": {
  32117. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  32118. "type": "integer"
  32119. },
  32120. "buyorsell": {
  32121. "description": "买卖 - 0:买 1:卖",
  32122. "type": "integer"
  32123. },
  32124. "cancelorderid": {
  32125. "description": "撤单单号(撤单时填写)",
  32126. "type": "string"
  32127. },
  32128. "cancelqty": {
  32129. "description": "撤单数量",
  32130. "type": "number"
  32131. },
  32132. "clienttype": {
  32133. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32134. "type": "integer"
  32135. },
  32136. "closefreezecharge": {
  32137. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  32138. "type": "number"
  32139. },
  32140. "closeqty": {
  32141. "description": "平仓数量(先建后平操作 需要记录)",
  32142. "type": "number"
  32143. },
  32144. "closetradeqty": {
  32145. "description": "平仓成交数量(先建后平操作,需要记录)",
  32146. "type": "number"
  32147. },
  32148. "closeunfreezecharge": {
  32149. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  32150. "type": "number"
  32151. },
  32152. "decimalplace": {
  32153. "description": "商品报价小数位",
  32154. "type": "integer"
  32155. },
  32156. "delistingtype": {
  32157. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  32158. "type": "integer"
  32159. },
  32160. "enableqty": {
  32161. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  32162. "type": "number"
  32163. },
  32164. "enumdicname": {
  32165. "description": "单位名称",
  32166. "type": "string"
  32167. },
  32168. "freezecharge": {
  32169. "description": "冻结手续费",
  32170. "type": "number"
  32171. },
  32172. "freezemargin": {
  32173. "description": "冻结保证金(冻结交易金额)",
  32174. "type": "number"
  32175. },
  32176. "goodscode": {
  32177. "description": "商品代码",
  32178. "type": "string"
  32179. },
  32180. "goodsid": {
  32181. "description": "商品ID",
  32182. "type": "integer"
  32183. },
  32184. "goodsname": {
  32185. "description": "商品名称",
  32186. "type": "string"
  32187. },
  32188. "goodunitid": {
  32189. "description": "商品单位id",
  32190. "type": "integer"
  32191. },
  32192. "listingselecttype": {
  32193. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  32194. "type": "integer"
  32195. },
  32196. "marketid": {
  32197. "description": "市场ID",
  32198. "type": "integer"
  32199. },
  32200. "marketname": {
  32201. "description": "市场名称",
  32202. "type": "string"
  32203. },
  32204. "openfreezecharge": {
  32205. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  32206. "type": "number"
  32207. },
  32208. "openqty": {
  32209. "description": "开仓数量(先建后平操作,需要记录)",
  32210. "type": "number"
  32211. },
  32212. "opentradeqty": {
  32213. "description": "开仓成交数量(先建后平操作,需要记录)",
  32214. "type": "number"
  32215. },
  32216. "openunfreezecharge": {
  32217. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  32218. "type": "number"
  32219. },
  32220. "operatetype": {
  32221. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  32222. "type": "integer"
  32223. },
  32224. "operatorid": {
  32225. "description": "登录账号(LoginID)",
  32226. "type": "integer"
  32227. },
  32228. "orderid": {
  32229. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32230. "type": "string"
  32231. },
  32232. "orderprice": {
  32233. "description": "委托价格",
  32234. "type": "number"
  32235. },
  32236. "orderqty": {
  32237. "description": "委托数量",
  32238. "type": "number"
  32239. },
  32240. "ordersrc": {
  32241. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  32242. "type": "integer"
  32243. },
  32244. "orderstatus": {
  32245. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  32246. "type": "integer"
  32247. },
  32248. "ordertime": {
  32249. "description": "委托时间",
  32250. "type": "string"
  32251. },
  32252. "preorderid": {
  32253. "description": "关联预埋单号(止盈止损单时填写)",
  32254. "type": "string"
  32255. },
  32256. "pricemode": {
  32257. "description": "取价方式 - 1:市价 2: 限价",
  32258. "type": "integer"
  32259. },
  32260. "qtydecimalplace": {
  32261. "description": "商品报价小数位",
  32262. "type": "integer"
  32263. },
  32264. "relatedid": {
  32265. "description": "关联单号(交割单)",
  32266. "type": "string"
  32267. },
  32268. "tradedate": {
  32269. "description": "交易日(yyyyMMdd)",
  32270. "type": "string"
  32271. },
  32272. "trademode": {
  32273. "description": "交易模式",
  32274. "type": "integer"
  32275. },
  32276. "tradeqty": {
  32277. "description": "成交数量",
  32278. "type": "number"
  32279. },
  32280. "unfreezecharge": {
  32281. "description": "解冻手续费",
  32282. "type": "number"
  32283. },
  32284. "unfreezemargin": {
  32285. "description": "解冻保证金",
  32286. "type": "number"
  32287. },
  32288. "validtime": {
  32289. "description": "有效期限",
  32290. "type": "string"
  32291. },
  32292. "validtype": {
  32293. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  32294. "type": "integer"
  32295. },
  32296. "volumetype": {
  32297. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  32298. "type": "integer"
  32299. }
  32300. }
  32301. },
  32302. "order.QueryTradePositionRsp": {
  32303. "type": "object",
  32304. "required": [
  32305. "goodsid"
  32306. ],
  32307. "properties": {
  32308. "accountid": {
  32309. "description": "资金账户",
  32310. "type": "integer"
  32311. },
  32312. "agreeunit": {
  32313. "description": "合约单位",
  32314. "type": "number"
  32315. },
  32316. "averageprice": {
  32317. "description": "持仓均价",
  32318. "type": "number"
  32319. },
  32320. "buyorsell": {
  32321. "description": "方向 - 0:买 1:卖",
  32322. "type": "integer"
  32323. },
  32324. "closetotalqty": {
  32325. "description": "平仓总数量",
  32326. "type": "number"
  32327. },
  32328. "curholderamount": {
  32329. "description": "当前持仓总金额[商品币种]",
  32330. "type": "number"
  32331. },
  32332. "curpositionqty": {
  32333. "description": "当前持仓总数量",
  32334. "type": "number"
  32335. },
  32336. "currencyid": {
  32337. "description": "报价货币ID",
  32338. "type": "integer"
  32339. },
  32340. "curtdposition": {
  32341. "description": "期末今日头寸",
  32342. "type": "number"
  32343. },
  32344. "decimalplace": {
  32345. "description": "报价小数位",
  32346. "type": "integer"
  32347. },
  32348. "enableqty": {
  32349. "description": "可用量",
  32350. "type": "number"
  32351. },
  32352. "fretdposition": {
  32353. "description": "冻结今日头寸",
  32354. "type": "number"
  32355. },
  32356. "frozenqty": {
  32357. "description": "持仓冻结数量",
  32358. "type": "number"
  32359. },
  32360. "goodscode": {
  32361. "description": "商品代码",
  32362. "type": "string"
  32363. },
  32364. "goodsid": {
  32365. "description": "商品Id",
  32366. "type": "integer"
  32367. },
  32368. "goodsname": {
  32369. "description": "商品名称",
  32370. "type": "string"
  32371. },
  32372. "goodunit": {
  32373. "description": "报价单位",
  32374. "type": "string"
  32375. },
  32376. "goodunitid": {
  32377. "description": "报价单位ID",
  32378. "type": "integer"
  32379. },
  32380. "holderamount": {
  32381. "description": "期初持仓总金额[商品币种]",
  32382. "type": "number"
  32383. },
  32384. "lastprice": {
  32385. "description": "最新价",
  32386. "type": "number"
  32387. },
  32388. "marketamount": {
  32389. "description": "市值",
  32390. "type": "number"
  32391. },
  32392. "marketid": {
  32393. "description": "所属市场ID",
  32394. "type": "integer"
  32395. },
  32396. "openreqqty": {
  32397. "description": "开仓申请数量(用于比较最大持仓数量)",
  32398. "type": "number"
  32399. },
  32400. "opentotalqty": {
  32401. "description": "开仓总数量",
  32402. "type": "number"
  32403. },
  32404. "otherfrozenqty": {
  32405. "description": "持仓其他冻结数量(交割冻结)",
  32406. "type": "number"
  32407. },
  32408. "positionpl": {
  32409. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  32410. "type": "number"
  32411. },
  32412. "positionplrate": {
  32413. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  32414. "type": "number"
  32415. },
  32416. "positionqty": {
  32417. "description": "期初持仓数量",
  32418. "type": "number"
  32419. },
  32420. "qtydecimalplace": {
  32421. "description": "成交量小数位",
  32422. "type": "integer"
  32423. },
  32424. "tnqty": {
  32425. "description": "T+N冻结总量",
  32426. "type": "number"
  32427. },
  32428. "tnusedqty": {
  32429. "description": "T+N使用量(可以使用T+N的冻结数量)",
  32430. "type": "number"
  32431. },
  32432. "trademode": {
  32433. "description": "交易模式",
  32434. "type": "integer"
  32435. },
  32436. "usedmargin": {
  32437. "description": "占用保证金[商品币种]",
  32438. "type": "number"
  32439. }
  32440. }
  32441. },
  32442. "quote.HistoryData": {
  32443. "type": "object",
  32444. "properties": {
  32445. "c": {
  32446. "description": "收盘价",
  32447. "type": "number"
  32448. },
  32449. "f": {
  32450. "description": "是否补充数据",
  32451. "type": "boolean"
  32452. },
  32453. "h": {
  32454. "description": "最高价",
  32455. "type": "number"
  32456. },
  32457. "hv": {
  32458. "description": "持仓量",
  32459. "type": "integer"
  32460. },
  32461. "l": {
  32462. "description": "最低价",
  32463. "type": "number"
  32464. },
  32465. "o": {
  32466. "description": "开盘价",
  32467. "type": "number"
  32468. },
  32469. "s": {
  32470. "description": "结算价,日线周期(包括)以上才有",
  32471. "type": "number"
  32472. },
  32473. "ts": {
  32474. "description": "时间",
  32475. "type": "string"
  32476. },
  32477. "tt": {
  32478. "description": "总金额",
  32479. "type": "number"
  32480. },
  32481. "tv": {
  32482. "description": "总量",
  32483. "type": "integer"
  32484. }
  32485. }
  32486. },
  32487. "quote.HistoryTikData": {
  32488. "type": "object",
  32489. "properties": {
  32490. "AV": {
  32491. "description": "卖量",
  32492. "type": "integer"
  32493. },
  32494. "Ask": {
  32495. "description": "卖价",
  32496. "type": "number"
  32497. },
  32498. "BV": {
  32499. "description": "买量",
  32500. "type": "integer"
  32501. },
  32502. "Bid": {
  32503. "description": "买价",
  32504. "type": "number"
  32505. },
  32506. "HI": {
  32507. "description": "单笔持仓",
  32508. "type": "integer"
  32509. },
  32510. "HV": {
  32511. "description": "持仓量",
  32512. "type": "integer"
  32513. },
  32514. "PE": {
  32515. "description": "现价",
  32516. "type": "number"
  32517. },
  32518. "TDR": {
  32519. "description": "交易方向,0:买 1:卖",
  32520. "type": "integer"
  32521. },
  32522. "TK": {
  32523. "description": "交易类型",
  32524. "type": "integer"
  32525. },
  32526. "TS": {
  32527. "description": "行情时间文本",
  32528. "type": "string"
  32529. },
  32530. "TT": {
  32531. "description": "现金额",
  32532. "type": "number"
  32533. },
  32534. "Vol": {
  32535. "description": "现量",
  32536. "type": "integer"
  32537. }
  32538. }
  32539. },
  32540. "quote.QueryQuoteDayRsp": {
  32541. "type": "object",
  32542. "properties": {
  32543. "ask": {
  32544. "description": "卖1",
  32545. "type": "number"
  32546. },
  32547. "ask10": {
  32548. "description": "卖10",
  32549. "type": "number"
  32550. },
  32551. "ask2": {
  32552. "description": "卖2",
  32553. "type": "number"
  32554. },
  32555. "ask3": {
  32556. "description": "卖3",
  32557. "type": "number"
  32558. },
  32559. "ask4": {
  32560. "description": "卖4",
  32561. "type": "number"
  32562. },
  32563. "ask5": {
  32564. "description": "卖5",
  32565. "type": "number"
  32566. },
  32567. "ask6": {
  32568. "description": "卖6",
  32569. "type": "number"
  32570. },
  32571. "ask7": {
  32572. "description": "卖7",
  32573. "type": "number"
  32574. },
  32575. "ask8": {
  32576. "description": "卖8",
  32577. "type": "number"
  32578. },
  32579. "ask9": {
  32580. "description": "卖9",
  32581. "type": "number"
  32582. },
  32583. "askorderid": {
  32584. "description": "卖单号1",
  32585. "type": "integer"
  32586. },
  32587. "askorderid2": {
  32588. "description": "卖单号2",
  32589. "type": "integer"
  32590. },
  32591. "askorderid3": {
  32592. "description": "卖单号3",
  32593. "type": "integer"
  32594. },
  32595. "askorderid4": {
  32596. "description": "卖单号4",
  32597. "type": "integer"
  32598. },
  32599. "askorderid5": {
  32600. "description": "卖单号5",
  32601. "type": "integer"
  32602. },
  32603. "askordervolume": {
  32604. "description": "卖单量1",
  32605. "type": "integer"
  32606. },
  32607. "askordervolume10": {
  32608. "description": "卖单量10",
  32609. "type": "integer"
  32610. },
  32611. "askordervolume2": {
  32612. "description": "卖单量2",
  32613. "type": "integer"
  32614. },
  32615. "askordervolume3": {
  32616. "description": "卖单量3",
  32617. "type": "integer"
  32618. },
  32619. "askordervolume4": {
  32620. "description": "卖单量4",
  32621. "type": "integer"
  32622. },
  32623. "askordervolume5": {
  32624. "description": "卖单量5",
  32625. "type": "integer"
  32626. },
  32627. "askordervolume6": {
  32628. "description": "卖单量6",
  32629. "type": "integer"
  32630. },
  32631. "askordervolume7": {
  32632. "description": "卖单量7",
  32633. "type": "integer"
  32634. },
  32635. "askordervolume8": {
  32636. "description": "卖单量8",
  32637. "type": "integer"
  32638. },
  32639. "askordervolume9": {
  32640. "description": "卖单量9",
  32641. "type": "integer"
  32642. },
  32643. "askqueueinfo": {
  32644. "description": "大利市卖港股用",
  32645. "type": "string"
  32646. },
  32647. "askvolume": {
  32648. "description": "卖量1",
  32649. "type": "integer"
  32650. },
  32651. "askvolume10": {
  32652. "description": "卖量10",
  32653. "type": "integer"
  32654. },
  32655. "askvolume2": {
  32656. "description": "卖量2",
  32657. "type": "integer"
  32658. },
  32659. "askvolume3": {
  32660. "description": "卖量3",
  32661. "type": "integer"
  32662. },
  32663. "askvolume4": {
  32664. "description": "卖量4",
  32665. "type": "integer"
  32666. },
  32667. "askvolume5": {
  32668. "description": "卖量5",
  32669. "type": "integer"
  32670. },
  32671. "askvolume6": {
  32672. "description": "卖量6",
  32673. "type": "integer"
  32674. },
  32675. "askvolume7": {
  32676. "description": "卖量7",
  32677. "type": "integer"
  32678. },
  32679. "askvolume8": {
  32680. "description": "卖量8",
  32681. "type": "integer"
  32682. },
  32683. "askvolume9": {
  32684. "description": "卖量9",
  32685. "type": "integer"
  32686. },
  32687. "averageprice": {
  32688. "description": "均价",
  32689. "type": "number"
  32690. },
  32691. "bid": {
  32692. "description": "买1",
  32693. "type": "number"
  32694. },
  32695. "bid10": {
  32696. "description": "买10",
  32697. "type": "number"
  32698. },
  32699. "bid2": {
  32700. "description": "买2",
  32701. "type": "number"
  32702. },
  32703. "bid3": {
  32704. "description": "买3",
  32705. "type": "number"
  32706. },
  32707. "bid4": {
  32708. "description": "买4",
  32709. "type": "number"
  32710. },
  32711. "bid5": {
  32712. "description": "买5",
  32713. "type": "number"
  32714. },
  32715. "bid6": {
  32716. "description": "买6",
  32717. "type": "number"
  32718. },
  32719. "bid7": {
  32720. "description": "买7",
  32721. "type": "number"
  32722. },
  32723. "bid8": {
  32724. "description": "买8",
  32725. "type": "number"
  32726. },
  32727. "bid9": {
  32728. "description": "买9",
  32729. "type": "number"
  32730. },
  32731. "bidorderid": {
  32732. "description": "买单号1",
  32733. "type": "integer"
  32734. },
  32735. "bidorderid2": {
  32736. "description": "买单号2",
  32737. "type": "integer"
  32738. },
  32739. "bidorderid3": {
  32740. "description": "买单号3",
  32741. "type": "integer"
  32742. },
  32743. "bidorderid4": {
  32744. "description": "买单号4",
  32745. "type": "integer"
  32746. },
  32747. "bidorderid5": {
  32748. "description": "买单号5",
  32749. "type": "integer"
  32750. },
  32751. "bidordervolume": {
  32752. "description": "买单量1",
  32753. "type": "integer"
  32754. },
  32755. "bidordervolume10": {
  32756. "description": "买单量10",
  32757. "type": "integer"
  32758. },
  32759. "bidordervolume2": {
  32760. "description": "买单量2",
  32761. "type": "integer"
  32762. },
  32763. "bidordervolume3": {
  32764. "description": "买单量3",
  32765. "type": "integer"
  32766. },
  32767. "bidordervolume4": {
  32768. "description": "买单量4",
  32769. "type": "integer"
  32770. },
  32771. "bidordervolume5": {
  32772. "description": "买单量5",
  32773. "type": "integer"
  32774. },
  32775. "bidordervolume6": {
  32776. "description": "买单量6",
  32777. "type": "integer"
  32778. },
  32779. "bidordervolume7": {
  32780. "description": "买单量7",
  32781. "type": "integer"
  32782. },
  32783. "bidordervolume8": {
  32784. "description": "买单量8",
  32785. "type": "integer"
  32786. },
  32787. "bidordervolume9": {
  32788. "description": "买单量9",
  32789. "type": "integer"
  32790. },
  32791. "bidqueueinfo": {
  32792. "description": "大利市买港股用",
  32793. "type": "string"
  32794. },
  32795. "bidvolume": {
  32796. "description": "买量1",
  32797. "type": "integer"
  32798. },
  32799. "bidvolume10": {
  32800. "description": "买量10",
  32801. "type": "integer"
  32802. },
  32803. "bidvolume2": {
  32804. "description": "买量2",
  32805. "type": "integer"
  32806. },
  32807. "bidvolume3": {
  32808. "description": "买量3",
  32809. "type": "integer"
  32810. },
  32811. "bidvolume4": {
  32812. "description": "买量4",
  32813. "type": "integer"
  32814. },
  32815. "bidvolume5": {
  32816. "description": "买量5",
  32817. "type": "integer"
  32818. },
  32819. "bidvolume6": {
  32820. "description": "买量6",
  32821. "type": "integer"
  32822. },
  32823. "bidvolume7": {
  32824. "description": "买量7",
  32825. "type": "integer"
  32826. },
  32827. "bidvolume8": {
  32828. "description": "买量8",
  32829. "type": "integer"
  32830. },
  32831. "bidvolume9": {
  32832. "description": "买量9",
  32833. "type": "integer"
  32834. },
  32835. "calloptionpremiums": {
  32836. "description": "认购期权1",
  32837. "type": "integer"
  32838. },
  32839. "calloptionpremiums2": {
  32840. "description": "认购期权2",
  32841. "type": "integer"
  32842. },
  32843. "calloptionpremiums3": {
  32844. "description": "认购期权3",
  32845. "type": "integer"
  32846. },
  32847. "calloptionpremiums4": {
  32848. "description": "认购期权4",
  32849. "type": "integer"
  32850. },
  32851. "calloptionpremiums5": {
  32852. "description": "认购期权5",
  32853. "type": "integer"
  32854. },
  32855. "cleartime": {
  32856. "description": "清盘时间",
  32857. "type": "integer"
  32858. },
  32859. "exchangecode": {
  32860. "description": "交易所代码",
  32861. "type": "integer"
  32862. },
  32863. "exchangedate": {
  32864. "description": "交易日",
  32865. "type": "integer"
  32866. },
  32867. "goodscode": {
  32868. "description": "商品代码",
  32869. "type": "string"
  32870. },
  32871. "grepmarketprice": {
  32872. "description": "暗盘价 港股专用",
  32873. "type": "number"
  32874. },
  32875. "highest": {
  32876. "description": "最高价",
  32877. "type": "number"
  32878. },
  32879. "holdincrement": {
  32880. "description": "单笔持仓",
  32881. "type": "integer"
  32882. },
  32883. "holdvolume": {
  32884. "description": "持仓",
  32885. "type": "integer"
  32886. },
  32887. "iep": {
  32888. "description": "平衡价 港股专用",
  32889. "type": "number"
  32890. },
  32891. "iev": {
  32892. "description": "平衡量 港股专用",
  32893. "type": "number"
  32894. },
  32895. "inventory": {
  32896. "description": "库存",
  32897. "type": "integer"
  32898. },
  32899. "iscleared": {
  32900. "description": "是否清盘标志",
  32901. "type": "integer"
  32902. },
  32903. "issettled": {
  32904. "description": "是否结算标志",
  32905. "type": "integer"
  32906. },
  32907. "last": {
  32908. "description": "最新价",
  32909. "type": "number"
  32910. },
  32911. "lastlot": {
  32912. "description": "最新成交手数",
  32913. "type": "integer"
  32914. },
  32915. "lasttime": {
  32916. "description": "行情时间(只有现价变化行情时间才变化)",
  32917. "type": "string"
  32918. },
  32919. "lastturnover": {
  32920. "description": "最新成交金额",
  32921. "type": "number"
  32922. },
  32923. "lastvolume": {
  32924. "description": "最新成交量",
  32925. "type": "integer"
  32926. },
  32927. "limitdown": {
  32928. "description": "跌停价",
  32929. "type": "number"
  32930. },
  32931. "limitup": {
  32932. "description": "涨停价",
  32933. "type": "number"
  32934. },
  32935. "lowest": {
  32936. "description": "最低价",
  32937. "type": "number"
  32938. },
  32939. "nontotalholdervolume": {
  32940. "description": "非交易持仓量",
  32941. "type": "integer"
  32942. },
  32943. "nontotallot": {
  32944. "description": "非交易总手数",
  32945. "type": "integer"
  32946. },
  32947. "nontotalturnover": {
  32948. "description": "非交易总金额",
  32949. "type": "integer"
  32950. },
  32951. "nontotalvolume": {
  32952. "description": "非交易总量",
  32953. "type": "integer"
  32954. },
  32955. "opened": {
  32956. "description": "开盘价",
  32957. "type": "number"
  32958. },
  32959. "opentime": {
  32960. "description": "开盘时间",
  32961. "type": "string"
  32962. },
  32963. "orderid": {
  32964. "description": "序号",
  32965. "type": "integer"
  32966. },
  32967. "preclose": {
  32968. "description": "昨收",
  32969. "type": "number"
  32970. },
  32971. "preholdvolume": {
  32972. "description": "昨持仓",
  32973. "type": "integer"
  32974. },
  32975. "presettle": {
  32976. "description": "昨结价",
  32977. "type": "number"
  32978. },
  32979. "publictradetype": {
  32980. "description": "公共交易标志类型 港股专用",
  32981. "type": "string"
  32982. },
  32983. "putoptionpremiums": {
  32984. "description": "认沽期权1",
  32985. "type": "integer"
  32986. },
  32987. "putoptionpremiums2": {
  32988. "description": "认沽期权2",
  32989. "type": "integer"
  32990. },
  32991. "putoptionpremiums3": {
  32992. "description": "认沽期权3",
  32993. "type": "integer"
  32994. },
  32995. "putoptionpremiums4": {
  32996. "description": "认沽期权4",
  32997. "type": "integer"
  32998. },
  32999. "putoptionpremiums5": {
  33000. "description": "认沽期权5",
  33001. "type": "integer"
  33002. },
  33003. "settle": {
  33004. "description": "结算价",
  33005. "type": "number"
  33006. },
  33007. "strikeprice": {
  33008. "description": "发行价",
  33009. "type": "number"
  33010. },
  33011. "totalaskvolume": {
  33012. "description": "内盘",
  33013. "type": "integer"
  33014. },
  33015. "totalbidvolume": {
  33016. "description": "外盘",
  33017. "type": "integer"
  33018. },
  33019. "totallot": {
  33020. "description": "总手数",
  33021. "type": "integer"
  33022. },
  33023. "totalturnover": {
  33024. "description": "总金额",
  33025. "type": "number"
  33026. },
  33027. "totalvolume": {
  33028. "description": "总量",
  33029. "type": "integer"
  33030. },
  33031. "utclasttime": {
  33032. "description": "utc的行情时间",
  33033. "type": "string"
  33034. }
  33035. }
  33036. },
  33037. "quote.QueryTSDataRsp": {
  33038. "type": "object",
  33039. "properties": {
  33040. "Count": {
  33041. "description": "交易日应有数据个数",
  33042. "type": "integer"
  33043. },
  33044. "decimalPlace": {
  33045. "description": "小数位",
  33046. "type": "integer"
  33047. },
  33048. "endTime": {
  33049. "description": "结束时间",
  33050. "type": "string"
  33051. },
  33052. "goodsCode": {
  33053. "description": "商品代码",
  33054. "type": "string"
  33055. },
  33056. "historyDatas": {
  33057. "description": "历史数据",
  33058. "type": "array",
  33059. "items": {
  33060. "$ref": "#/definitions/quote.HistoryData"
  33061. }
  33062. },
  33063. "outGoodsCode": {
  33064. "description": "外部商品代码",
  33065. "type": "string"
  33066. },
  33067. "preSettle": {
  33068. "description": "昨结价",
  33069. "type": "number"
  33070. },
  33071. "runSteps": {
  33072. "description": "交易日开休市计划",
  33073. "type": "array",
  33074. "items": {
  33075. "$ref": "#/definitions/quote.TSDataRunStep"
  33076. }
  33077. },
  33078. "startTime": {
  33079. "description": "开始时间",
  33080. "type": "string"
  33081. },
  33082. "tradeDate": {
  33083. "description": "交易日",
  33084. "type": "string"
  33085. }
  33086. }
  33087. },
  33088. "quote.TSDataRunStep": {
  33089. "type": "object",
  33090. "properties": {
  33091. "end": {
  33092. "description": "真实结束时间",
  33093. "type": "string"
  33094. },
  33095. "endflag": {
  33096. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  33097. "type": "integer"
  33098. },
  33099. "endtime": {
  33100. "description": "结束时间(HH:mm)",
  33101. "type": "string"
  33102. },
  33103. "endweekday": {
  33104. "description": "结束周几",
  33105. "type": "integer"
  33106. },
  33107. "groupid": {
  33108. "description": "分组ID",
  33109. "type": "integer"
  33110. },
  33111. "runstep": {
  33112. "description": "运行阶段 - 2:连续交易",
  33113. "type": "integer"
  33114. },
  33115. "sectionid": {
  33116. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  33117. "type": "integer"
  33118. },
  33119. "start": {
  33120. "description": "真实开始时间",
  33121. "type": "string"
  33122. },
  33123. "startflag": {
  33124. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  33125. "type": "integer"
  33126. },
  33127. "starttime": {
  33128. "description": "起始时间(HH:mm)",
  33129. "type": "string"
  33130. },
  33131. "startweekday": {
  33132. "description": "起始周几",
  33133. "type": "integer"
  33134. },
  33135. "tradeweekday": {
  33136. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  33137. "type": "integer"
  33138. }
  33139. }
  33140. },
  33141. "szdz.QueryConvertLogRsp": {
  33142. "type": "object",
  33143. "required": [
  33144. "logid"
  33145. ],
  33146. "properties": {
  33147. "accountid": {
  33148. "description": "资金账户ID",
  33149. "type": "integer"
  33150. },
  33151. "clientticket": {
  33152. "description": "客户端流水号",
  33153. "type": "string"
  33154. },
  33155. "converttype": {
  33156. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  33157. "type": "integer"
  33158. },
  33159. "createtime": {
  33160. "description": "记账时间",
  33161. "type": "string"
  33162. },
  33163. "daymaxvalue": {
  33164. "description": "配置当日最大转入限制",
  33165. "type": "number"
  33166. },
  33167. "daymaxvalue2": {
  33168. "description": "配置当日最大转入限制(转入)",
  33169. "type": "number"
  33170. },
  33171. "goodscode": {
  33172. "description": "商品代码",
  33173. "type": "string"
  33174. },
  33175. "goodsname": {
  33176. "description": "商品名称",
  33177. "type": "string"
  33178. },
  33179. "handlestatus": {
  33180. "description": "处理状态",
  33181. "type": "integer"
  33182. },
  33183. "innergoodsid": {
  33184. "description": "内部商品ID",
  33185. "type": "integer"
  33186. },
  33187. "inratio": {
  33188. "description": "配置转入比值",
  33189. "type": "integer"
  33190. },
  33191. "invalue": {
  33192. "description": "目标值",
  33193. "type": "number"
  33194. },
  33195. "logid": {
  33196. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33197. "type": "integer"
  33198. },
  33199. "mobile": {
  33200. "description": "手机号码(加密存储)",
  33201. "type": "string"
  33202. },
  33203. "outergoodscode": {
  33204. "description": "外部商品代码[JD\\PD]",
  33205. "type": "string"
  33206. },
  33207. "outratio": {
  33208. "description": "配置转出比值",
  33209. "type": "integer"
  33210. },
  33211. "outvalue": {
  33212. "description": "源值",
  33213. "type": "number"
  33214. },
  33215. "pddecimalplace": {
  33216. "description": "PD小数位",
  33217. "type": "integer"
  33218. },
  33219. "qty": {
  33220. "description": "数量",
  33221. "type": "string"
  33222. },
  33223. "remark": {
  33224. "description": "备注",
  33225. "type": "string"
  33226. },
  33227. "sessionid": {
  33228. "description": "会话ID",
  33229. "type": "integer"
  33230. },
  33231. "timemaxvalue": {
  33232. "description": "配置单次最大转入限制",
  33233. "type": "number"
  33234. },
  33235. "timemaxvalue2": {
  33236. "description": "配置单次最大转入限制(转入)",
  33237. "type": "number"
  33238. },
  33239. "timeminvalue": {
  33240. "description": "配置单次最小数量限制",
  33241. "type": "number"
  33242. },
  33243. "timeminvalue2": {
  33244. "description": "配置单次最小数量限制(转入)",
  33245. "type": "number"
  33246. },
  33247. "tradedate": {
  33248. "description": "交易日(yyyyMMdd)",
  33249. "type": "string"
  33250. },
  33251. "userid": {
  33252. "description": "用户ID",
  33253. "type": "integer"
  33254. }
  33255. }
  33256. },
  33257. "szdz.QueryGoodsPickupRsp": {
  33258. "type": "object",
  33259. "required": [
  33260. "takeorderid"
  33261. ],
  33262. "properties": {
  33263. "accountid": {
  33264. "description": "账户ID",
  33265. "type": "integer"
  33266. },
  33267. "address": {
  33268. "description": "提货人详细地址",
  33269. "type": "string"
  33270. },
  33271. "auditer": {
  33272. "description": "审核人",
  33273. "type": "integer"
  33274. },
  33275. "audittime": {
  33276. "description": "审核时间",
  33277. "type": "string"
  33278. },
  33279. "cardnum": {
  33280. "description": "提货人证件号码",
  33281. "type": "string"
  33282. },
  33283. "cardtypeid": {
  33284. "description": "提货人证件类型",
  33285. "type": "integer"
  33286. },
  33287. "checkremark": {
  33288. "description": "审核备注",
  33289. "type": "string"
  33290. },
  33291. "goodscode": {
  33292. "description": "商品代码",
  33293. "type": "string"
  33294. },
  33295. "goodsid": {
  33296. "description": "商品ID",
  33297. "type": "integer"
  33298. },
  33299. "goodsname": {
  33300. "description": "商品名称",
  33301. "type": "string"
  33302. },
  33303. "handlestatus": {
  33304. "description": "处理状态",
  33305. "type": "integer"
  33306. },
  33307. "marketid": {
  33308. "description": "市场ID",
  33309. "type": "integer"
  33310. },
  33311. "phonenum": {
  33312. "description": "提货人联系方式",
  33313. "type": "string"
  33314. },
  33315. "qty": {
  33316. "description": "提货数量",
  33317. "type": "number"
  33318. },
  33319. "recivername": {
  33320. "description": "提货人姓名",
  33321. "type": "string"
  33322. },
  33323. "reqtime": {
  33324. "description": "更新时间",
  33325. "type": "string"
  33326. },
  33327. "takemode": {
  33328. "description": "提货方式 - 2:自提 3:配送",
  33329. "type": "integer"
  33330. },
  33331. "takeorderid": {
  33332. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  33333. "type": "string"
  33334. },
  33335. "takeorderstatus": {
  33336. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  33337. "type": "integer"
  33338. },
  33339. "takeremark": {
  33340. "description": "提货备注",
  33341. "type": "string"
  33342. },
  33343. "tradedate": {
  33344. "description": "交易日(yyyyMMdd)",
  33345. "type": "string"
  33346. },
  33347. "userid": {
  33348. "description": "用户ID",
  33349. "type": "integer"
  33350. }
  33351. }
  33352. },
  33353. "szdz.QueryRecieptOrderRsp": {
  33354. "type": "object",
  33355. "required": [
  33356. "ordertime"
  33357. ],
  33358. "properties": {
  33359. "accountName": {
  33360. "description": "所属账号名称(已脱敏)",
  33361. "type": "string"
  33362. },
  33363. "accountid": {
  33364. "description": "资金账号",
  33365. "type": "integer"
  33366. },
  33367. "buyorsell": {
  33368. "description": "方向 - 0:买 1:卖",
  33369. "type": "integer"
  33370. },
  33371. "enableqty": {
  33372. "description": "可摘数量",
  33373. "type": "integer"
  33374. },
  33375. "goodscode": {
  33376. "description": "商品代码",
  33377. "type": "string"
  33378. },
  33379. "goodsid": {
  33380. "description": "商品ID",
  33381. "type": "integer"
  33382. },
  33383. "goodsname": {
  33384. "description": "商品名称",
  33385. "type": "string"
  33386. },
  33387. "orderid": {
  33388. "description": "委托单号",
  33389. "type": "string"
  33390. },
  33391. "orderprice": {
  33392. "description": "委托价格",
  33393. "type": "number"
  33394. },
  33395. "ordertime": {
  33396. "description": "委托时间",
  33397. "type": "string"
  33398. },
  33399. "tradedate": {
  33400. "description": "交易日(yyyyMMdd)",
  33401. "type": "string"
  33402. }
  33403. }
  33404. },
  33405. "szdz.QuerySZDZTradePositionRsp": {
  33406. "type": "object",
  33407. "properties": {
  33408. "accountid": {
  33409. "description": "账号Id",
  33410. "type": "integer"
  33411. },
  33412. "agreeunit": {
  33413. "description": "合约单位",
  33414. "type": "number"
  33415. },
  33416. "averageprice": {
  33417. "description": "持仓均价",
  33418. "type": "number"
  33419. },
  33420. "buyorsell": {
  33421. "description": "方向 - 0:买 1:卖",
  33422. "type": "integer"
  33423. },
  33424. "closetotalqty": {
  33425. "description": "平仓总数量",
  33426. "type": "integer"
  33427. },
  33428. "curholderamount": {
  33429. "description": "当前持仓总金额",
  33430. "type": "number"
  33431. },
  33432. "curpositionqty": {
  33433. "description": "当前持仓总数量",
  33434. "type": "integer"
  33435. },
  33436. "currencyid": {
  33437. "description": "报价货币ID",
  33438. "type": "integer"
  33439. },
  33440. "curtdposition": {
  33441. "description": "期末今日头寸",
  33442. "type": "integer"
  33443. },
  33444. "decimalplace": {
  33445. "description": "报价小数位",
  33446. "type": "integer"
  33447. },
  33448. "enableqty": {
  33449. "description": "可用量",
  33450. "type": "integer"
  33451. },
  33452. "fretdposition": {
  33453. "description": "冻结今日头寸",
  33454. "type": "integer"
  33455. },
  33456. "frozenqty": {
  33457. "description": "持仓冻结数量",
  33458. "type": "integer"
  33459. },
  33460. "goodscode": {
  33461. "description": "商品代码(内部)",
  33462. "type": "string"
  33463. },
  33464. "goodsid": {
  33465. "description": "商品Id",
  33466. "type": "integer"
  33467. },
  33468. "goodsname": {
  33469. "description": "商品名称",
  33470. "type": "string"
  33471. },
  33472. "goodunit": {
  33473. "description": "报价单位",
  33474. "type": "string"
  33475. },
  33476. "goodunitid": {
  33477. "description": "报价单位ID",
  33478. "type": "integer"
  33479. },
  33480. "holderamount": {
  33481. "description": "期初持仓总金额",
  33482. "type": "number"
  33483. },
  33484. "marketid": {
  33485. "description": "市场ID",
  33486. "type": "integer"
  33487. },
  33488. "openreqqty": {
  33489. "description": "开仓申请数量",
  33490. "type": "integer"
  33491. },
  33492. "opentotalqty": {
  33493. "description": "开仓总数量",
  33494. "type": "integer"
  33495. },
  33496. "otherfrozenqty": {
  33497. "description": "持仓其他冻结数量(交割冻结)",
  33498. "type": "integer"
  33499. },
  33500. "positionqty": {
  33501. "description": "期初持仓数量",
  33502. "type": "integer"
  33503. },
  33504. "szdz3freezqty": {
  33505. "description": "尚志大宗转换冻结总数量",
  33506. "type": "integer"
  33507. },
  33508. "tnqty": {
  33509. "description": "T+N冻结总量",
  33510. "type": "integer"
  33511. },
  33512. "tnusedqty": {
  33513. "description": "T+N使用量",
  33514. "type": "integer"
  33515. },
  33516. "trademode": {
  33517. "description": "交易模式",
  33518. "type": "integer"
  33519. },
  33520. "usedmargin": {
  33521. "description": "占用保证金",
  33522. "type": "number"
  33523. }
  33524. }
  33525. },
  33526. "taaccount.QueryAmountLogRsp": {
  33527. "type": "object",
  33528. "required": [
  33529. "accountid",
  33530. "amount",
  33531. "amountadjusttype",
  33532. "autoid",
  33533. "balance",
  33534. "createtime",
  33535. "currentbalance",
  33536. "operatetype"
  33537. ],
  33538. "properties": {
  33539. "OPERATETYPENAME": {
  33540. "description": "资金操作类型名称",
  33541. "type": "string"
  33542. },
  33543. "accountid": {
  33544. "description": "资金账户ID",
  33545. "type": "integer"
  33546. },
  33547. "agoodscode": {
  33548. "description": "竞拍商品代码",
  33549. "type": "string"
  33550. },
  33551. "agoodsname": {
  33552. "description": "竞拍商品名称",
  33553. "type": "string"
  33554. },
  33555. "amount": {
  33556. "description": "资金金额",
  33557. "type": "number"
  33558. },
  33559. "amountadjusttype": {
  33560. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33561. "type": "integer"
  33562. },
  33563. "autoid": {
  33564. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33565. "type": "integer"
  33566. },
  33567. "balance": {
  33568. "description": "期初余额",
  33569. "type": "number"
  33570. },
  33571. "businesscode": {
  33572. "description": "业务编号",
  33573. "type": "integer"
  33574. },
  33575. "createtime": {
  33576. "description": "发生时间",
  33577. "type": "string"
  33578. },
  33579. "currencyid": {
  33580. "description": "币种ID",
  33581. "type": "integer"
  33582. },
  33583. "currentbalance": {
  33584. "description": "期末余额(变动后金额)",
  33585. "type": "number"
  33586. },
  33587. "dgoodscode": {
  33588. "description": "交割商品代码",
  33589. "type": "string"
  33590. },
  33591. "dgoodsname": {
  33592. "description": "交割商品名称",
  33593. "type": "string"
  33594. },
  33595. "goodscode": {
  33596. "description": "商品代码",
  33597. "type": "string"
  33598. },
  33599. "goodsid": {
  33600. "description": "商品ID",
  33601. "type": "integer"
  33602. },
  33603. "goodsname": {
  33604. "description": "商品名称",
  33605. "type": "string"
  33606. },
  33607. "marketid": {
  33608. "description": "市场ID",
  33609. "type": "integer"
  33610. },
  33611. "marketname": {
  33612. "description": "市场名称",
  33613. "type": "string"
  33614. },
  33615. "moneyticket": {
  33616. "description": "资金流水号:银行端流水号",
  33617. "type": "integer"
  33618. },
  33619. "operatetype": {
  33620. "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:营销收款",
  33621. "type": "integer"
  33622. },
  33623. "relationorderid": {
  33624. "description": "关联单号",
  33625. "type": "string"
  33626. },
  33627. "remark": {
  33628. "description": "备注",
  33629. "type": "string"
  33630. },
  33631. "trademode": {
  33632. "description": "交易模式",
  33633. "type": "integer"
  33634. }
  33635. }
  33636. },
  33637. "taaccount.QueryHisAmountLogRsp": {
  33638. "type": "object",
  33639. "required": [
  33640. "accountid",
  33641. "amount",
  33642. "amountadjusttype",
  33643. "autoid",
  33644. "balance",
  33645. "createtime",
  33646. "currentbalance",
  33647. "histradedate",
  33648. "operatetype"
  33649. ],
  33650. "properties": {
  33651. "OPERATETYPENAME": {
  33652. "description": "资金操作类型名称",
  33653. "type": "string"
  33654. },
  33655. "accountid": {
  33656. "description": "资金账户ID",
  33657. "type": "integer"
  33658. },
  33659. "agoodscode": {
  33660. "description": "竞拍商品代码",
  33661. "type": "string"
  33662. },
  33663. "agoodsname": {
  33664. "description": "竞拍商品名称",
  33665. "type": "string"
  33666. },
  33667. "amount": {
  33668. "description": "资金金额",
  33669. "type": "number"
  33670. },
  33671. "amountadjusttype": {
  33672. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  33673. "type": "integer"
  33674. },
  33675. "autoid": {
  33676. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  33677. "type": "integer"
  33678. },
  33679. "balance": {
  33680. "description": "期初余额",
  33681. "type": "number"
  33682. },
  33683. "businesscode": {
  33684. "description": "业务编号",
  33685. "type": "integer"
  33686. },
  33687. "createtime": {
  33688. "description": "发生时间",
  33689. "type": "string"
  33690. },
  33691. "currencyid": {
  33692. "description": "币种ID",
  33693. "type": "integer"
  33694. },
  33695. "currentbalance": {
  33696. "description": "期末余额(变动后金额)",
  33697. "type": "number"
  33698. },
  33699. "dgoodscode": {
  33700. "description": "交割商品代码",
  33701. "type": "string"
  33702. },
  33703. "dgoodsname": {
  33704. "description": "交割商品名称",
  33705. "type": "string"
  33706. },
  33707. "goodscode": {
  33708. "description": "商品代码",
  33709. "type": "string"
  33710. },
  33711. "goodsid": {
  33712. "description": "商品ID",
  33713. "type": "integer"
  33714. },
  33715. "goodsname": {
  33716. "description": "商品名称",
  33717. "type": "string"
  33718. },
  33719. "histradedate": {
  33720. "description": "历史交易日",
  33721. "type": "string"
  33722. },
  33723. "isvaliddata": {
  33724. "description": "是否有效 - 0:无效 1:有效",
  33725. "type": "integer"
  33726. },
  33727. "marketid": {
  33728. "description": "市场ID",
  33729. "type": "integer"
  33730. },
  33731. "marketname": {
  33732. "description": "市场名称",
  33733. "type": "string"
  33734. },
  33735. "moneyticket": {
  33736. "description": "资金流水号:银行端流水号",
  33737. "type": "integer"
  33738. },
  33739. "operatetype": {
  33740. "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:营销收款",
  33741. "type": "integer"
  33742. },
  33743. "relationorderid": {
  33744. "description": "关联单号",
  33745. "type": "string"
  33746. },
  33747. "remark": {
  33748. "description": "备注",
  33749. "type": "string"
  33750. },
  33751. "trademode": {
  33752. "description": "交易模式",
  33753. "type": "integer"
  33754. }
  33755. }
  33756. },
  33757. "trade.QueryRecieptOrderRsp": {
  33758. "type": "object",
  33759. "required": [
  33760. "ordertime"
  33761. ],
  33762. "properties": {
  33763. "accountName": {
  33764. "description": "所属账号名称(已脱敏)",
  33765. "type": "string"
  33766. },
  33767. "accountid": {
  33768. "description": "资金账号",
  33769. "type": "integer"
  33770. },
  33771. "buyorsell": {
  33772. "description": "方向 - 0:买 1:卖",
  33773. "type": "integer"
  33774. },
  33775. "enableqty": {
  33776. "description": "可摘数量",
  33777. "type": "integer"
  33778. },
  33779. "goodscode": {
  33780. "description": "商品代码",
  33781. "type": "string"
  33782. },
  33783. "goodsid": {
  33784. "description": "商品ID",
  33785. "type": "integer"
  33786. },
  33787. "goodsname": {
  33788. "description": "商品名称",
  33789. "type": "string"
  33790. },
  33791. "orderid": {
  33792. "description": "委托单号",
  33793. "type": "string"
  33794. },
  33795. "orderprice": {
  33796. "description": "委托价格",
  33797. "type": "number"
  33798. },
  33799. "ordertime": {
  33800. "description": "委托时间",
  33801. "type": "string"
  33802. },
  33803. "tradedate": {
  33804. "description": "交易日(yyyyMMdd)",
  33805. "type": "string"
  33806. }
  33807. }
  33808. },
  33809. "user.LoginQueryRsp": {
  33810. "type": "object",
  33811. "properties": {
  33812. "areaRoles": {
  33813. "description": "所属角色信息",
  33814. "type": "array",
  33815. "items": {
  33816. "$ref": "#/definitions/models.Arearole"
  33817. }
  33818. },
  33819. "externalExchanges": {
  33820. "description": "外部交易所",
  33821. "type": "array",
  33822. "items": {
  33823. "$ref": "#/definitions/models.Externalexchange"
  33824. }
  33825. },
  33826. "goodsgroups": {
  33827. "description": "商品组",
  33828. "type": "array",
  33829. "items": {
  33830. "$ref": "#/definitions/models.Goodsgroup"
  33831. }
  33832. },
  33833. "loginAccount": {
  33834. "description": "登录账号",
  33835. "type": "object",
  33836. "$ref": "#/definitions/models.Loginaccount"
  33837. },
  33838. "markets": {
  33839. "description": "市场",
  33840. "type": "array",
  33841. "items": {
  33842. "$ref": "#/definitions/models.Market"
  33843. }
  33844. },
  33845. "systemParams": {
  33846. "description": "系统参数",
  33847. "type": "array",
  33848. "items": {
  33849. "$ref": "#/definitions/models.Systemparam"
  33850. }
  33851. },
  33852. "userAccount": {
  33853. "description": "用户账号",
  33854. "type": "object",
  33855. "$ref": "#/definitions/models.Useraccount"
  33856. },
  33857. "userInfo": {
  33858. "description": "用户信息",
  33859. "type": "object",
  33860. "$ref": "#/definitions/models.Userinfo"
  33861. },
  33862. "username": {
  33863. "description": "用户姓名",
  33864. "type": "string"
  33865. }
  33866. }
  33867. }
  33868. },
  33869. "securityDefinitions": {
  33870. "ApiKeyAuth": {
  33871. "type": "apiKey",
  33872. "name": "Authorization",
  33873. "in": "header"
  33874. }
  33875. }
  33876. }`
  33877. type swaggerInfo struct {
  33878. Version string
  33879. Host string
  33880. BasePath string
  33881. Schemes []string
  33882. Title string
  33883. Description string
  33884. }
  33885. // SwaggerInfo holds exported Swagger Info so clients can modify it
  33886. var SwaggerInfo = swaggerInfo{
  33887. Version: "1.0",
  33888. Host: "",
  33889. BasePath: "/api",
  33890. Schemes: []string{},
  33891. Title: "MTP2.0 查询服务 API",
  33892. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  33893. }
  33894. type s struct{}
  33895. func (s *s) ReadDoc() string {
  33896. sInfo := SwaggerInfo
  33897. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  33898. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  33899. "marshal": func(v interface{}) string {
  33900. a, _ := json.Marshal(v)
  33901. return string(a)
  33902. },
  33903. }).Parse(doc)
  33904. if err != nil {
  33905. return doc
  33906. }
  33907. var tpl bytes.Buffer
  33908. if err := t.Execute(&tpl, sInfo); err != nil {
  33909. return doc
  33910. }
  33911. return tpl.String()
  33912. }
  33913. func init() {
  33914. swag.Register(swag.Name, &s{})
  33915. }