docs.go 800 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273
  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://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": "类型 - 1:App首页轮播 2:我的",
  593. "name": "imageType",
  594. "in": "query"
  595. }
  596. ],
  597. "responses": {
  598. "200": {
  599. "description": "OK",
  600. "schema": {
  601. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  602. }
  603. },
  604. "500": {
  605. "description": "Internal Server Error",
  606. "schema": {
  607. "$ref": "#/definitions/app.Response"
  608. }
  609. }
  610. }
  611. }
  612. },
  613. "/Common/QueryNotice": {
  614. "get": {
  615. "security": [
  616. {
  617. "ApiKeyAuth": []
  618. }
  619. ],
  620. "produces": [
  621. "application/json"
  622. ],
  623. "tags": [
  624. "通用服务"
  625. ],
  626. "summary": "通知公告系统消息查询",
  627. "parameters": [
  628. {
  629. "type": "integer",
  630. "description": "页码",
  631. "name": "page",
  632. "in": "query"
  633. },
  634. {
  635. "type": "integer",
  636. "description": "每页条数",
  637. "name": "pagesize",
  638. "in": "query"
  639. },
  640. {
  641. "type": "integer",
  642. "description": "登录账号",
  643. "name": "loginID",
  644. "in": "query",
  645. "required": true
  646. },
  647. {
  648. "type": "integer",
  649. "description": "消息类型 - 1:公告通知 2:系统消息",
  650. "name": "msgType",
  651. "in": "query"
  652. },
  653. {
  654. "type": "boolean",
  655. "description": "是否只获取未读信息",
  656. "name": "onlyUnRead",
  657. "in": "query"
  658. },
  659. {
  660. "type": "integer",
  661. "description": "自增ID,传入后会返回这个ID后面的记录",
  662. "name": "lastID",
  663. "in": "query"
  664. }
  665. ],
  666. "responses": {
  667. "200": {
  668. "description": "OK",
  669. "schema": {
  670. "$ref": "#/definitions/common.QueryNoticeRsp"
  671. }
  672. },
  673. "500": {
  674. "description": "Internal Server Error",
  675. "schema": {
  676. "$ref": "#/definitions/app.Response"
  677. }
  678. }
  679. }
  680. }
  681. },
  682. "/Common/QueryProvincesAndCities": {
  683. "get": {
  684. "produces": [
  685. "application/json"
  686. ],
  687. "tags": [
  688. "通用服务"
  689. ],
  690. "summary": "查询省市信息(不包括区)",
  691. "parameters": [
  692. {
  693. "type": "integer",
  694. "description": "省ID",
  695. "name": "provinceID",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Common/QueryTableDefine": {
  716. "get": {
  717. "produces": [
  718. "application/json"
  719. ],
  720. "tags": [
  721. "通用服务"
  722. ],
  723. "summary": "查询交易端列表头信息",
  724. "parameters": [
  725. {
  726. "type": "string",
  727. "description": "表key",
  728. "name": "tableKey",
  729. "in": "query"
  730. },
  731. {
  732. "type": "integer",
  733. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  734. "name": "tableType",
  735. "in": "query"
  736. }
  737. ],
  738. "responses": {
  739. "200": {
  740. "description": "OK",
  741. "schema": {
  742. "$ref": "#/definitions/common.QueryTableDefineRsp"
  743. }
  744. },
  745. "500": {
  746. "description": "Internal Server Error",
  747. "schema": {
  748. "$ref": "#/definitions/app.Response"
  749. }
  750. }
  751. }
  752. }
  753. },
  754. "/Common/QueryTraderMenu": {
  755. "get": {
  756. "produces": [
  757. "application/json"
  758. ],
  759. "tags": [
  760. "通用服务"
  761. ],
  762. "summary": "查询交易端菜单",
  763. "parameters": [
  764. {
  765. "type": "integer",
  766. "description": "登录账号",
  767. "name": "loginid",
  768. "in": "query",
  769. "required": true
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Delivery/QueryDeliveryRelation": {
  789. "get": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "交割服务"
  800. ],
  801. "summary": "查询商品交割关系表",
  802. "parameters": [
  803. {
  804. "type": "integer",
  805. "description": "商品ID",
  806. "name": "goodsid",
  807. "in": "query"
  808. },
  809. {
  810. "type": "integer",
  811. "description": "品种ID",
  812. "name": "deliverygoodsid",
  813. "in": "query"
  814. },
  815. {
  816. "type": "integer",
  817. "description": "市场ID",
  818. "name": "marketid",
  819. "in": "query"
  820. }
  821. ],
  822. "responses": {
  823. "200": {
  824. "description": "OK",
  825. "schema": {
  826. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  827. }
  828. },
  829. "500": {
  830. "description": "Internal Server Error",
  831. "schema": {
  832. "$ref": "#/definitions/app.Response"
  833. }
  834. }
  835. }
  836. }
  837. },
  838. "/Ermcp/GetErmcpGoods": {
  839. "get": {
  840. "security": [
  841. {
  842. "ApiKeyAuth": []
  843. }
  844. ],
  845. "produces": [
  846. "application/json"
  847. ],
  848. "tags": [
  849. "企业风险管理(app)"
  850. ],
  851. "summary": "查询企业风管期货商品信息",
  852. "parameters": [
  853. {
  854. "type": "string",
  855. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  856. "name": "lastUpdateTime",
  857. "in": "query"
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "OK",
  863. "schema": {
  864. "$ref": "#/definitions/models.Goods"
  865. }
  866. },
  867. "500": {
  868. "description": "Internal Server Error",
  869. "schema": {
  870. "$ref": "#/definitions/app.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/Ermcp/GetErmcpGoodsSortByPosition": {
  877. "get": {
  878. "security": [
  879. {
  880. "ApiKeyAuth": []
  881. }
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "企业风险管理(app)"
  888. ],
  889. "summary": "查询企业风管期货主力、次主力商品信息",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  894. "name": "sortIndex",
  895. "in": "query"
  896. }
  897. ],
  898. "responses": {
  899. "200": {
  900. "description": "OK",
  901. "schema": {
  902. "$ref": "#/definitions/models.Goodssortbypreposition"
  903. }
  904. },
  905. "500": {
  906. "description": "Internal Server Error",
  907. "schema": {
  908. "$ref": "#/definitions/app.Response"
  909. }
  910. }
  911. }
  912. }
  913. },
  914. "/Ermcp/GetErmcpOutAccountStatus": {
  915. "get": {
  916. "security": [
  917. {
  918. "ApiKeyAuth": []
  919. }
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "企业风险管理(app)"
  926. ],
  927. "summary": "获取目标登录账号当前对冲账号在线状态",
  928. "parameters": [
  929. {
  930. "type": "integer",
  931. "description": "登录账号",
  932. "name": "loginID",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "$ref": "#/definitions/models.Hedgemarketopenlog"
  942. }
  943. },
  944. "500": {
  945. "description": "Internal Server Error",
  946. "schema": {
  947. "$ref": "#/definitions/app.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  954. "get": {
  955. "security": [
  956. {
  957. "ApiKeyAuth": []
  958. }
  959. ],
  960. "produces": [
  961. "application/json"
  962. ],
  963. "tags": [
  964. "企业风险管理(app)"
  965. ],
  966. "summary": "获取企业风管终端权限",
  967. "parameters": [
  968. {
  969. "type": "integer",
  970. "description": "登录账号",
  971. "name": "loginID",
  972. "in": "query",
  973. "required": true
  974. }
  975. ],
  976. "responses": {
  977. "200": {
  978. "description": "OK",
  979. "schema": {
  980. "$ref": "#/definitions/models.Funcmenulist"
  981. }
  982. },
  983. "500": {
  984. "description": "Internal Server Error",
  985. "schema": {
  986. "$ref": "#/definitions/app.Response"
  987. }
  988. }
  989. }
  990. }
  991. },
  992. "/Ermcp/QueryAccMgrBizGroupSet": {
  993. "get": {
  994. "security": [
  995. {
  996. "ApiKeyAuth": []
  997. }
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "企业风险管理(app)"
  1004. ],
  1005. "summary": "查询业务类型分组(账户管理/账户设置)",
  1006. "parameters": [
  1007. {
  1008. "type": "integer",
  1009. "description": "用户ID",
  1010. "name": "userid",
  1011. "in": "query",
  1012. "required": true
  1013. },
  1014. {
  1015. "type": "integer",
  1016. "description": "现货商品id",
  1017. "name": "deliverygoodsid",
  1018. "in": "query"
  1019. }
  1020. ],
  1021. "responses": {
  1022. "200": {
  1023. "description": "OK",
  1024. "schema": {
  1025. "type": "array",
  1026. "items": {
  1027. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1028. }
  1029. }
  1030. },
  1031. "500": {
  1032. "description": "Internal Server Error",
  1033. "schema": {
  1034. "$ref": "#/definitions/app.Response"
  1035. }
  1036. }
  1037. }
  1038. }
  1039. },
  1040. "/Ermcp/QueryAccMgrLoginUser": {
  1041. "get": {
  1042. "security": [
  1043. {
  1044. "ApiKeyAuth": []
  1045. }
  1046. ],
  1047. "produces": [
  1048. "application/json"
  1049. ],
  1050. "tags": [
  1051. "企业风险管理(app)"
  1052. ],
  1053. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1054. "parameters": [
  1055. {
  1056. "type": "integer",
  1057. "description": "用户ID",
  1058. "name": "userid",
  1059. "in": "query",
  1060. "required": true
  1061. },
  1062. {
  1063. "type": "integer",
  1064. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1065. "name": "querytype",
  1066. "in": "query",
  1067. "required": true
  1068. }
  1069. ],
  1070. "responses": {
  1071. "200": {
  1072. "description": "OK",
  1073. "schema": {
  1074. "type": "array",
  1075. "items": {
  1076. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1077. }
  1078. }
  1079. },
  1080. "500": {
  1081. "description": "Internal Server Error",
  1082. "schema": {
  1083. "$ref": "#/definitions/app.Response"
  1084. }
  1085. }
  1086. }
  1087. }
  1088. },
  1089. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1090. "get": {
  1091. "security": [
  1092. {
  1093. "ApiKeyAuth": []
  1094. }
  1095. ],
  1096. "produces": [
  1097. "application/json"
  1098. ],
  1099. "tags": [
  1100. "企业风险管理(app)"
  1101. ],
  1102. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1103. "parameters": [
  1104. {
  1105. "type": "integer",
  1106. "description": "用户ID",
  1107. "name": "userid",
  1108. "in": "query"
  1109. },
  1110. {
  1111. "type": "integer",
  1112. "description": "主账号id",
  1113. "name": "accountid",
  1114. "in": "query"
  1115. }
  1116. ],
  1117. "responses": {
  1118. "200": {
  1119. "description": "OK",
  1120. "schema": {
  1121. "type": "array",
  1122. "items": {
  1123. "$ref": "#/definitions/models.MainAccountInfo"
  1124. }
  1125. }
  1126. },
  1127. "500": {
  1128. "description": "Internal Server Error",
  1129. "schema": {
  1130. "$ref": "#/definitions/app.Response"
  1131. }
  1132. }
  1133. }
  1134. }
  1135. },
  1136. "/Ermcp/QueryAccMgrRole": {
  1137. "get": {
  1138. "security": [
  1139. {
  1140. "ApiKeyAuth": []
  1141. }
  1142. ],
  1143. "produces": [
  1144. "application/json"
  1145. ],
  1146. "tags": [
  1147. "企业风险管理(app)"
  1148. ],
  1149. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1150. "parameters": [
  1151. {
  1152. "type": "integer",
  1153. "description": "用户ID",
  1154. "name": "userid",
  1155. "in": "query",
  1156. "required": true
  1157. }
  1158. ],
  1159. "responses": {
  1160. "200": {
  1161. "description": "OK",
  1162. "schema": {
  1163. "type": "array",
  1164. "items": {
  1165. "$ref": "#/definitions/models.ErmcpRole"
  1166. }
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/Ermcp/QueryAccMgrRoleMenu": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "企业风险管理(app)"
  1190. ],
  1191. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1192. "parameters": [
  1193. {
  1194. "type": "integer",
  1195. "description": "用户ID",
  1196. "name": "userid",
  1197. "in": "query",
  1198. "required": true
  1199. },
  1200. {
  1201. "type": "string",
  1202. "description": "角色id(可多个,逗号隔开)",
  1203. "name": "roleid",
  1204. "in": "query"
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "企业风险管理(app)"
  1238. ],
  1239. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "用户ID",
  1244. "name": "userid",
  1245. "in": "query",
  1246. "required": true
  1247. },
  1248. {
  1249. "type": "integer",
  1250. "description": "账号id",
  1251. "name": "accountid",
  1252. "in": "query"
  1253. }
  1254. ],
  1255. "responses": {
  1256. "200": {
  1257. "description": "OK",
  1258. "schema": {
  1259. "type": "array",
  1260. "items": {
  1261. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1262. }
  1263. }
  1264. },
  1265. "500": {
  1266. "description": "Internal Server Error",
  1267. "schema": {
  1268. "$ref": "#/definitions/app.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/Ermcp/QueryAccMgrTaaccount": {
  1275. "get": {
  1276. "security": [
  1277. {
  1278. "ApiKeyAuth": []
  1279. }
  1280. ],
  1281. "produces": [
  1282. "application/json"
  1283. ],
  1284. "tags": [
  1285. "企业风险管理(app)"
  1286. ],
  1287. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1288. "parameters": [
  1289. {
  1290. "type": "integer",
  1291. "description": "用户ID",
  1292. "name": "userid",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "type": "array",
  1302. "items": {
  1303. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1304. }
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Ermcp/QueryAvaildGoodsGroup": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "企业风险管理(app)"
  1328. ],
  1329. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1330. "parameters": [
  1331. {
  1332. "type": "integer",
  1333. "description": "所属机构ID",
  1334. "name": "userid",
  1335. "in": "query",
  1336. "required": true
  1337. }
  1338. ],
  1339. "responses": {
  1340. "200": {
  1341. "description": "OK",
  1342. "schema": {
  1343. "type": "array",
  1344. "items": {
  1345. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1346. }
  1347. }
  1348. },
  1349. "500": {
  1350. "description": "Internal Server Error",
  1351. "schema": {
  1352. "$ref": "#/definitions/app.Response"
  1353. }
  1354. }
  1355. }
  1356. }
  1357. },
  1358. "/Ermcp/QueryChangeLog": {
  1359. "get": {
  1360. "security": [
  1361. {
  1362. "ApiKeyAuth": []
  1363. }
  1364. ],
  1365. "produces": [
  1366. "application/json"
  1367. ],
  1368. "tags": [
  1369. "企业风险管理(app)"
  1370. ],
  1371. "summary": "查询变更记录",
  1372. "parameters": [
  1373. {
  1374. "type": "string",
  1375. "description": "合同ID",
  1376. "name": "RelatedId",
  1377. "in": "query",
  1378. "required": true
  1379. }
  1380. ],
  1381. "responses": {
  1382. "200": {
  1383. "description": "OK",
  1384. "schema": {
  1385. "type": "array",
  1386. "items": {
  1387. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1388. }
  1389. }
  1390. },
  1391. "500": {
  1392. "description": "Internal Server Error",
  1393. "schema": {
  1394. "$ref": "#/definitions/app.Response"
  1395. }
  1396. }
  1397. }
  1398. }
  1399. },
  1400. "/Ermcp/QueryErmcpHisOrderDetails": {
  1401. "get": {
  1402. "security": [
  1403. {
  1404. "ApiKeyAuth": []
  1405. }
  1406. ],
  1407. "produces": [
  1408. "application/json"
  1409. ],
  1410. "tags": [
  1411. "企业风险管理(app)"
  1412. ],
  1413. "summary": "获取企业风管期货历史委托单信息",
  1414. "parameters": [
  1415. {
  1416. "type": "integer",
  1417. "description": "资金账户ID",
  1418. "name": "accountID",
  1419. "in": "query",
  1420. "required": true
  1421. },
  1422. {
  1423. "type": "string",
  1424. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1425. "name": "startDate",
  1426. "in": "query"
  1427. },
  1428. {
  1429. "type": "string",
  1430. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1431. "name": "endDate",
  1432. "in": "query"
  1433. }
  1434. ],
  1435. "responses": {
  1436. "200": {
  1437. "description": "OK",
  1438. "schema": {
  1439. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1440. }
  1441. },
  1442. "500": {
  1443. "description": "Internal Server Error",
  1444. "schema": {
  1445. "$ref": "#/definitions/app.Response"
  1446. }
  1447. }
  1448. }
  1449. }
  1450. },
  1451. "/Ermcp/QueryErmcpHisTradeDetails": {
  1452. "get": {
  1453. "security": [
  1454. {
  1455. "ApiKeyAuth": []
  1456. }
  1457. ],
  1458. "produces": [
  1459. "application/json"
  1460. ],
  1461. "tags": [
  1462. "企业风险管理(app)"
  1463. ],
  1464. "summary": "获取企业风管期货历史成交单信息",
  1465. "parameters": [
  1466. {
  1467. "type": "integer",
  1468. "description": "资金账户ID",
  1469. "name": "accountID",
  1470. "in": "query",
  1471. "required": true
  1472. },
  1473. {
  1474. "type": "integer",
  1475. "description": "商品ID",
  1476. "name": "goodsID",
  1477. "in": "query"
  1478. },
  1479. {
  1480. "type": "integer",
  1481. "description": "买卖方向,0:买 1:卖",
  1482. "name": "buyOrSell",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "integer",
  1487. "description": "关联委托单号",
  1488. "name": "orderID",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "string",
  1493. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1494. "name": "startDate",
  1495. "in": "query"
  1496. },
  1497. {
  1498. "type": "string",
  1499. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1500. "name": "endDate",
  1501. "in": "query"
  1502. }
  1503. ],
  1504. "responses": {
  1505. "200": {
  1506. "description": "OK",
  1507. "schema": {
  1508. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1509. }
  1510. },
  1511. "500": {
  1512. "description": "Internal Server Error",
  1513. "schema": {
  1514. "$ref": "#/definitions/app.Response"
  1515. }
  1516. }
  1517. }
  1518. }
  1519. },
  1520. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1521. "get": {
  1522. "security": [
  1523. {
  1524. "ApiKeyAuth": []
  1525. }
  1526. ],
  1527. "produces": [
  1528. "application/json"
  1529. ],
  1530. "tags": [
  1531. "企业风险管理(app)"
  1532. ],
  1533. "summary": "获取企业风管期货内部持仓单信息",
  1534. "parameters": [
  1535. {
  1536. "type": "integer",
  1537. "description": "资金账户ID",
  1538. "name": "accountID",
  1539. "in": "query",
  1540. "required": true
  1541. },
  1542. {
  1543. "type": "integer",
  1544. "description": "商品ID",
  1545. "name": "goodsID",
  1546. "in": "query"
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "买卖方向,0:买 1:卖",
  1551. "name": "buyOrSell",
  1552. "in": "query"
  1553. }
  1554. ],
  1555. "responses": {
  1556. "200": {
  1557. "description": "OK",
  1558. "schema": {
  1559. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1560. }
  1561. },
  1562. "500": {
  1563. "description": "Internal Server Error",
  1564. "schema": {
  1565. "$ref": "#/definitions/app.Response"
  1566. }
  1567. }
  1568. }
  1569. }
  1570. },
  1571. "/Ermcp/QueryErmcpOrderDetails": {
  1572. "get": {
  1573. "security": [
  1574. {
  1575. "ApiKeyAuth": []
  1576. }
  1577. ],
  1578. "produces": [
  1579. "application/json"
  1580. ],
  1581. "tags": [
  1582. "企业风险管理(app)"
  1583. ],
  1584. "summary": "获取企业风管期货委托单信息",
  1585. "parameters": [
  1586. {
  1587. "type": "integer",
  1588. "description": "资金账户ID",
  1589. "name": "accountID",
  1590. "in": "query",
  1591. "required": true
  1592. }
  1593. ],
  1594. "responses": {
  1595. "200": {
  1596. "description": "OK",
  1597. "schema": {
  1598. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryErmcpTradeDetails": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "获取企业风管期货成交单信息",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "资金账户ID",
  1628. "name": "accountID",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "商品ID",
  1635. "name": "goodsID",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "买卖方向,0:买 1:卖",
  1641. "name": "buyOrSell",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "关联委托单号",
  1647. "name": "orderID",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1656. }
  1657. },
  1658. "500": {
  1659. "description": "Internal Server Error",
  1660. "schema": {
  1661. "$ref": "#/definitions/app.Response"
  1662. }
  1663. }
  1664. }
  1665. }
  1666. },
  1667. "/Ermcp/QueryErmcpTradePosition": {
  1668. "get": {
  1669. "security": [
  1670. {
  1671. "ApiKeyAuth": []
  1672. }
  1673. ],
  1674. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1675. "produces": [
  1676. "application/json"
  1677. ],
  1678. "tags": [
  1679. "企业风险管理(app)"
  1680. ],
  1681. "summary": "获取企业风管期货持仓头寸信息",
  1682. "parameters": [
  1683. {
  1684. "type": "integer",
  1685. "description": "资金账户ID",
  1686. "name": "accountID",
  1687. "in": "query",
  1688. "required": true
  1689. },
  1690. {
  1691. "type": "integer",
  1692. "description": "所属市场ID",
  1693. "name": "marketID",
  1694. "in": "query"
  1695. }
  1696. ],
  1697. "responses": {
  1698. "200": {
  1699. "description": "OK",
  1700. "schema": {
  1701. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1702. }
  1703. },
  1704. "500": {
  1705. "description": "Internal Server Error",
  1706. "schema": {
  1707. "$ref": "#/definitions/app.Response"
  1708. }
  1709. }
  1710. }
  1711. }
  1712. },
  1713. "/Ermcp/QueryExposureDetail": {
  1714. "get": {
  1715. "security": [
  1716. {
  1717. "ApiKeyAuth": []
  1718. }
  1719. ],
  1720. "produces": [
  1721. "application/json"
  1722. ],
  1723. "tags": [
  1724. "企业风险管理(app)"
  1725. ],
  1726. "summary": "查询敞口现货明细",
  1727. "parameters": [
  1728. {
  1729. "type": "integer",
  1730. "description": "所属机构ID",
  1731. "name": "areaUserId",
  1732. "in": "query",
  1733. "required": true
  1734. },
  1735. {
  1736. "type": "integer",
  1737. "description": "套保商品",
  1738. "name": "middleGoodsId",
  1739. "in": "query",
  1740. "required": true
  1741. }
  1742. ],
  1743. "responses": {
  1744. "200": {
  1745. "description": "OK",
  1746. "schema": {
  1747. "type": "array",
  1748. "items": {
  1749. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1750. }
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/Ermcp/QueryExposureHedgePosition": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "企业风险管理(app)"
  1774. ],
  1775. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "用户id",
  1780. "name": "userid",
  1781. "in": "query",
  1782. "required": true
  1783. }
  1784. ],
  1785. "responses": {
  1786. "200": {
  1787. "description": "OK",
  1788. "schema": {
  1789. "type": "array",
  1790. "items": {
  1791. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1792. }
  1793. }
  1794. },
  1795. "500": {
  1796. "description": "Internal Server Error",
  1797. "schema": {
  1798. "$ref": "#/definitions/app.Response"
  1799. }
  1800. }
  1801. }
  1802. }
  1803. },
  1804. "/Ermcp/QueryExposureHedgePositionDetail": {
  1805. "get": {
  1806. "security": [
  1807. {
  1808. "ApiKeyAuth": []
  1809. }
  1810. ],
  1811. "produces": [
  1812. "application/json"
  1813. ],
  1814. "tags": [
  1815. "企业风险管理(app)"
  1816. ],
  1817. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1818. "parameters": [
  1819. {
  1820. "type": "integer",
  1821. "description": "所属机构ID",
  1822. "name": "userid",
  1823. "in": "query",
  1824. "required": true
  1825. },
  1826. {
  1827. "type": "integer",
  1828. "description": "商品id",
  1829. "name": "goodsId",
  1830. "in": "query",
  1831. "required": true
  1832. }
  1833. ],
  1834. "responses": {
  1835. "200": {
  1836. "description": "OK",
  1837. "schema": {
  1838. "type": "array",
  1839. "items": {
  1840. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1841. }
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/Ermcp/QueryExposureSpot": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "企业风险管理(app)"
  1865. ],
  1866. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "所属机构ID",
  1871. "name": "areaUserId",
  1872. "in": "query",
  1873. "required": true
  1874. }
  1875. ],
  1876. "responses": {
  1877. "200": {
  1878. "description": "OK",
  1879. "schema": {
  1880. "type": "array",
  1881. "items": {
  1882. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1883. }
  1884. }
  1885. },
  1886. "500": {
  1887. "description": "Internal Server Error",
  1888. "schema": {
  1889. "$ref": "#/definitions/app.Response"
  1890. }
  1891. }
  1892. }
  1893. }
  1894. },
  1895. "/Ermcp/QueryExposureSpotDetail": {
  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": "areaUserId",
  1914. "in": "query",
  1915. "required": true
  1916. },
  1917. {
  1918. "type": "integer",
  1919. "description": "现货品种ID",
  1920. "name": "wrstandardId",
  1921. "in": "query",
  1922. "required": true
  1923. }
  1924. ],
  1925. "responses": {
  1926. "200": {
  1927. "description": "OK",
  1928. "schema": {
  1929. "type": "array",
  1930. "items": {
  1931. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1932. }
  1933. }
  1934. },
  1935. "500": {
  1936. "description": "Internal Server Error",
  1937. "schema": {
  1938. "$ref": "#/definitions/app.Response"
  1939. }
  1940. }
  1941. }
  1942. }
  1943. },
  1944. "/Ermcp/QueryFuturesCompany": {
  1945. "get": {
  1946. "security": [
  1947. {
  1948. "ApiKeyAuth": []
  1949. }
  1950. ],
  1951. "produces": [
  1952. "application/json"
  1953. ],
  1954. "tags": [
  1955. "企业风险管理(app)"
  1956. ],
  1957. "summary": "查询期货公司",
  1958. "responses": {
  1959. "200": {
  1960. "description": "OK",
  1961. "schema": {
  1962. "type": "array",
  1963. "items": {
  1964. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  1965. }
  1966. }
  1967. },
  1968. "500": {
  1969. "description": "Internal Server Error",
  1970. "schema": {
  1971. "$ref": "#/definitions/app.Response"
  1972. }
  1973. }
  1974. }
  1975. }
  1976. },
  1977. "/Ermcp/QueryGGConvertConfig": {
  1978. "get": {
  1979. "security": [
  1980. {
  1981. "ApiKeyAuth": []
  1982. }
  1983. ],
  1984. "produces": [
  1985. "application/json"
  1986. ],
  1987. "tags": [
  1988. "企业风险管理(app)"
  1989. ],
  1990. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1991. "parameters": [
  1992. {
  1993. "type": "integer",
  1994. "description": "品种id(不填则查所有)",
  1995. "name": "goodsgroupid",
  1996. "in": "query"
  1997. }
  1998. ],
  1999. "responses": {
  2000. "200": {
  2001. "description": "OK",
  2002. "schema": {
  2003. "type": "array",
  2004. "items": {
  2005. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2006. }
  2007. }
  2008. },
  2009. "500": {
  2010. "description": "Internal Server Error",
  2011. "schema": {
  2012. "$ref": "#/definitions/app.Response"
  2013. }
  2014. }
  2015. }
  2016. }
  2017. },
  2018. "/Ermcp/QueryGoodsBrand": {
  2019. "get": {
  2020. "security": [
  2021. {
  2022. "ApiKeyAuth": []
  2023. }
  2024. ],
  2025. "produces": [
  2026. "application/json"
  2027. ],
  2028. "tags": [
  2029. "企业风险管理(app)"
  2030. ],
  2031. "summary": "查询商品品牌",
  2032. "parameters": [
  2033. {
  2034. "type": "integer",
  2035. "description": "用户ID",
  2036. "name": "userid",
  2037. "in": "query",
  2038. "required": true
  2039. },
  2040. {
  2041. "type": "integer",
  2042. "description": "现货商品ID",
  2043. "name": "wrstandardid",
  2044. "in": "query"
  2045. }
  2046. ],
  2047. "responses": {
  2048. "200": {
  2049. "description": "OK",
  2050. "schema": {
  2051. "type": "array",
  2052. "items": {
  2053. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2054. }
  2055. }
  2056. },
  2057. "500": {
  2058. "description": "Internal Server Error",
  2059. "schema": {
  2060. "$ref": "#/definitions/app.Response"
  2061. }
  2062. }
  2063. }
  2064. }
  2065. },
  2066. "/Ermcp/QueryGoodsModel": {
  2067. "get": {
  2068. "security": [
  2069. {
  2070. "ApiKeyAuth": []
  2071. }
  2072. ],
  2073. "produces": [
  2074. "application/json"
  2075. ],
  2076. "tags": [
  2077. "企业风险管理(app)"
  2078. ],
  2079. "summary": "查询商品型号",
  2080. "parameters": [
  2081. {
  2082. "type": "integer",
  2083. "description": "用户ID",
  2084. "name": "userid",
  2085. "in": "query",
  2086. "required": true
  2087. }
  2088. ],
  2089. "responses": {
  2090. "200": {
  2091. "description": "OK",
  2092. "schema": {
  2093. "type": "array",
  2094. "items": {
  2095. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2096. }
  2097. }
  2098. },
  2099. "500": {
  2100. "description": "Internal Server Error",
  2101. "schema": {
  2102. "$ref": "#/definitions/app.Response"
  2103. }
  2104. }
  2105. }
  2106. }
  2107. },
  2108. "/Ermcp/QueryHisExposure": {
  2109. "get": {
  2110. "security": [
  2111. {
  2112. "ApiKeyAuth": []
  2113. }
  2114. ],
  2115. "produces": [
  2116. "application/json"
  2117. ],
  2118. "tags": [
  2119. "企业风险管理(app)"
  2120. ],
  2121. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2122. "parameters": [
  2123. {
  2124. "type": "integer",
  2125. "description": "用户id",
  2126. "name": "userid",
  2127. "in": "query",
  2128. "required": true
  2129. },
  2130. {
  2131. "type": "integer",
  2132. "description": "每个品种记录数",
  2133. "name": "lastNum",
  2134. "in": "query",
  2135. "required": true
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "type": "array",
  2143. "items": {
  2144. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2145. }
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Ermcp/QueryMiddleGoods": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "企业风险管理(app)"
  2169. ],
  2170. "summary": "查询套保品种(菜单:套保品种)",
  2171. "parameters": [
  2172. {
  2173. "type": "integer",
  2174. "description": "所属机构ID",
  2175. "name": "userid",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "integer",
  2181. "description": "状态 0-停用 1-正常",
  2182. "name": "status",
  2183. "in": "query",
  2184. "required": true
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "type": "array",
  2192. "items": {
  2193. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2207. "get": {
  2208. "security": [
  2209. {
  2210. "ApiKeyAuth": []
  2211. }
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "企业风险管理(app)"
  2218. ],
  2219. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2220. "parameters": [
  2221. {
  2222. "type": "integer",
  2223. "description": "所属机构ID",
  2224. "name": "userid",
  2225. "in": "query",
  2226. "required": true
  2227. },
  2228. {
  2229. "type": "integer",
  2230. "description": "套保品种id",
  2231. "name": "middlegoodsid",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryMiddleGoodsDetail": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2269. "parameters": [
  2270. {
  2271. "type": "integer",
  2272. "description": "所属机构ID",
  2273. "name": "userid",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "套保品种id",
  2280. "name": "middlegoodsid",
  2281. "in": "query"
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Ermcp/QueryPendingAuditInfo": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "企业风险管理(app)"
  2315. ],
  2316. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "用户ID",
  2321. "name": "UserId",
  2322. "in": "query",
  2323. "required": true
  2324. }
  2325. ],
  2326. "responses": {
  2327. "200": {
  2328. "description": "OK",
  2329. "schema": {
  2330. "type": "array",
  2331. "items": {
  2332. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2333. }
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/Ermcp/QueryRealtimeExposure": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "企业风险管理(app)"
  2357. ],
  2358. "summary": "查询实时敞口",
  2359. "parameters": [
  2360. {
  2361. "type": "integer",
  2362. "description": "所属机构ID",
  2363. "name": "userid",
  2364. "in": "query",
  2365. "required": true
  2366. }
  2367. ],
  2368. "responses": {
  2369. "200": {
  2370. "description": "OK",
  2371. "schema": {
  2372. "type": "array",
  2373. "items": {
  2374. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2375. }
  2376. }
  2377. },
  2378. "500": {
  2379. "description": "Internal Server Error",
  2380. "schema": {
  2381. "$ref": "#/definitions/app.Response"
  2382. }
  2383. }
  2384. }
  2385. }
  2386. },
  2387. "/Ermcp/QueryRealtimeExposurePosition": {
  2388. "get": {
  2389. "security": [
  2390. {
  2391. "ApiKeyAuth": []
  2392. }
  2393. ],
  2394. "produces": [
  2395. "application/json"
  2396. ],
  2397. "tags": [
  2398. "企业风险管理(app)"
  2399. ],
  2400. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2401. "parameters": [
  2402. {
  2403. "type": "integer",
  2404. "description": "用户id",
  2405. "name": "userid",
  2406. "in": "query",
  2407. "required": true
  2408. },
  2409. {
  2410. "type": "integer",
  2411. "description": "套保商品ID",
  2412. "name": "middleGoodsId",
  2413. "in": "query",
  2414. "required": true
  2415. }
  2416. ],
  2417. "responses": {
  2418. "200": {
  2419. "description": "OK",
  2420. "schema": {
  2421. "type": "array",
  2422. "items": {
  2423. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2424. }
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/Ermcp/QueryTradeConfigTMP": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "企业风险管理(app)"
  2448. ],
  2449. "summary": "查询交易模板配置",
  2450. "parameters": [
  2451. {
  2452. "type": "integer",
  2453. "description": "所属机构id",
  2454. "name": "areauserid",
  2455. "in": "query"
  2456. }
  2457. ],
  2458. "responses": {
  2459. "200": {
  2460. "description": "OK",
  2461. "schema": {
  2462. "type": "array",
  2463. "items": {
  2464. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2465. }
  2466. }
  2467. },
  2468. "500": {
  2469. "description": "Internal Server Error",
  2470. "schema": {
  2471. "$ref": "#/definitions/app.Response"
  2472. }
  2473. }
  2474. }
  2475. }
  2476. },
  2477. "/Ermcp/QueryUserInfo": {
  2478. "get": {
  2479. "security": [
  2480. {
  2481. "ApiKeyAuth": []
  2482. }
  2483. ],
  2484. "produces": [
  2485. "application/json"
  2486. ],
  2487. "tags": [
  2488. "企业风险管理(app)"
  2489. ],
  2490. "summary": "查询客户资料",
  2491. "parameters": [
  2492. {
  2493. "type": "integer",
  2494. "description": "所属机构用户ID",
  2495. "name": "MemberUserID",
  2496. "in": "query",
  2497. "required": true
  2498. },
  2499. {
  2500. "type": "integer",
  2501. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2502. "name": "queryType",
  2503. "in": "query",
  2504. "required": true
  2505. }
  2506. ],
  2507. "responses": {
  2508. "200": {
  2509. "description": "OK",
  2510. "schema": {
  2511. "type": "array",
  2512. "items": {
  2513. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2514. }
  2515. }
  2516. },
  2517. "500": {
  2518. "description": "Internal Server Error",
  2519. "schema": {
  2520. "$ref": "#/definitions/app.Response"
  2521. }
  2522. }
  2523. }
  2524. }
  2525. },
  2526. "/Ermcp/QueryWarehouseInfo": {
  2527. "get": {
  2528. "security": [
  2529. {
  2530. "ApiKeyAuth": []
  2531. }
  2532. ],
  2533. "produces": [
  2534. "application/json"
  2535. ],
  2536. "tags": [
  2537. "企业风险管理(app)"
  2538. ],
  2539. "summary": "查询仓库信息",
  2540. "parameters": [
  2541. {
  2542. "type": "integer",
  2543. "description": "用户ID",
  2544. "name": "userid",
  2545. "in": "query",
  2546. "required": true
  2547. },
  2548. {
  2549. "type": "string",
  2550. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2551. "name": "status",
  2552. "in": "query"
  2553. }
  2554. ],
  2555. "responses": {
  2556. "200": {
  2557. "description": "OK",
  2558. "schema": {
  2559. "type": "array",
  2560. "items": {
  2561. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2562. }
  2563. }
  2564. },
  2565. "500": {
  2566. "description": "Internal Server Error",
  2567. "schema": {
  2568. "$ref": "#/definitions/app.Response"
  2569. }
  2570. }
  2571. }
  2572. }
  2573. },
  2574. "/Ermcp3/QryReportAreaSpotPL": {
  2575. "get": {
  2576. "security": [
  2577. {
  2578. "ApiKeyAuth": []
  2579. }
  2580. ],
  2581. "produces": [
  2582. "application/json"
  2583. ],
  2584. "tags": [
  2585. "企业风险管理v3(app)"
  2586. ],
  2587. "summary": "查询现货损益报表(现货损益报表)",
  2588. "parameters": [
  2589. {
  2590. "type": "integer",
  2591. "description": "用户ID",
  2592. "name": "userid",
  2593. "in": "query",
  2594. "required": true
  2595. },
  2596. {
  2597. "type": "integer",
  2598. "description": "查询类型 1-日报表 2-月报表",
  2599. "name": "querytype",
  2600. "in": "query",
  2601. "required": true
  2602. },
  2603. {
  2604. "type": "string",
  2605. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2606. "name": "querydate",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "integer",
  2612. "description": "现货商品ID",
  2613. "name": "deliverygoodsid",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "integer",
  2618. "description": "品牌ID",
  2619. "name": "spotgoodsbrandid",
  2620. "in": "query"
  2621. },
  2622. {
  2623. "type": "integer",
  2624. "description": "品类ID",
  2625. "name": "wrstandardid",
  2626. "in": "query"
  2627. }
  2628. ],
  2629. "responses": {
  2630. "200": {
  2631. "description": "OK",
  2632. "schema": {
  2633. "type": "array",
  2634. "items": {
  2635. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotPL"
  2636. }
  2637. }
  2638. },
  2639. "500": {
  2640. "description": "Internal Server Error",
  2641. "schema": {
  2642. "$ref": "#/definitions/app.Response"
  2643. }
  2644. }
  2645. }
  2646. }
  2647. },
  2648. "/Ermcp3/QryReportDayFinanceFp": {
  2649. "get": {
  2650. "security": [
  2651. {
  2652. "ApiKeyAuth": []
  2653. }
  2654. ],
  2655. "produces": [
  2656. "application/json"
  2657. ],
  2658. "tags": [
  2659. "企业风险管理v3(app)"
  2660. ],
  2661. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  2662. "parameters": [
  2663. {
  2664. "type": "integer",
  2665. "description": "用户ID",
  2666. "name": "userid",
  2667. "in": "query",
  2668. "required": true
  2669. },
  2670. {
  2671. "type": "string",
  2672. "description": "交易日(格式:yyyyMMdd)",
  2673. "name": "tradedate",
  2674. "in": "query",
  2675. "required": true
  2676. }
  2677. ],
  2678. "responses": {
  2679. "200": {
  2680. "description": "OK",
  2681. "schema": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2685. }
  2686. }
  2687. },
  2688. "500": {
  2689. "description": "Internal Server Error",
  2690. "schema": {
  2691. "$ref": "#/definitions/app.Response"
  2692. }
  2693. }
  2694. }
  2695. }
  2696. },
  2697. "/Ermcp3/QryReportDayFinanceKx": {
  2698. "get": {
  2699. "security": [
  2700. {
  2701. "ApiKeyAuth": []
  2702. }
  2703. ],
  2704. "produces": [
  2705. "application/json"
  2706. ],
  2707. "tags": [
  2708. "企业风险管理v3(app)"
  2709. ],
  2710. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  2711. "parameters": [
  2712. {
  2713. "type": "integer",
  2714. "description": "用户ID",
  2715. "name": "userid",
  2716. "in": "query",
  2717. "required": true
  2718. },
  2719. {
  2720. "type": "string",
  2721. "description": "交易日(格式:yyyyMMdd)",
  2722. "name": "tradedate",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "type": "array",
  2732. "items": {
  2733. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2734. }
  2735. }
  2736. },
  2737. "500": {
  2738. "description": "Internal Server Error",
  2739. "schema": {
  2740. "$ref": "#/definitions/app.Response"
  2741. }
  2742. }
  2743. }
  2744. }
  2745. },
  2746. "/Ermcp3/QryReportDaySpot": {
  2747. "get": {
  2748. "security": [
  2749. {
  2750. "ApiKeyAuth": []
  2751. }
  2752. ],
  2753. "produces": [
  2754. "application/json"
  2755. ],
  2756. "tags": [
  2757. "企业风险管理v3(app)"
  2758. ],
  2759. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  2760. "parameters": [
  2761. {
  2762. "type": "integer",
  2763. "description": "用户id",
  2764. "name": "userid",
  2765. "in": "query",
  2766. "required": true
  2767. },
  2768. {
  2769. "type": "string",
  2770. "description": "交易日(格式:yyyyMMdd)",
  2771. "name": "reckondate",
  2772. "in": "query",
  2773. "required": true
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "期货账户ID",
  2778. "name": "accountid",
  2779. "in": "query"
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "现货品种ID",
  2784. "name": "deliverygoodsid",
  2785. "in": "query"
  2786. },
  2787. {
  2788. "type": "integer",
  2789. "description": "品类ID",
  2790. "name": "wrstandardid",
  2791. "in": "query"
  2792. },
  2793. {
  2794. "type": "integer",
  2795. "description": "现货品牌ID",
  2796. "name": "spotgoodsbrandid",
  2797. "in": "query"
  2798. }
  2799. ],
  2800. "responses": {
  2801. "200": {
  2802. "description": "OK",
  2803. "schema": {
  2804. "type": "array",
  2805. "items": {
  2806. "$ref": "#/definitions/models.Ermcp3ReckonAreaSpotSub"
  2807. }
  2808. }
  2809. },
  2810. "500": {
  2811. "description": "Internal Server Error",
  2812. "schema": {
  2813. "$ref": "#/definitions/app.Response"
  2814. }
  2815. }
  2816. }
  2817. }
  2818. },
  2819. "/Ermcp3/QryReportDaySpotDetail": {
  2820. "get": {
  2821. "security": [
  2822. {
  2823. "ApiKeyAuth": []
  2824. }
  2825. ],
  2826. "produces": [
  2827. "application/json"
  2828. ],
  2829. "tags": [
  2830. "企业风险管理v3(app)"
  2831. ],
  2832. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  2833. "parameters": [
  2834. {
  2835. "type": "integer",
  2836. "description": "用户ID",
  2837. "name": "userid",
  2838. "in": "query",
  2839. "required": true
  2840. },
  2841. {
  2842. "type": "integer",
  2843. "description": "现货商品id",
  2844. "name": "deliverygoodsid",
  2845. "in": "query",
  2846. "required": true
  2847. },
  2848. {
  2849. "type": "string",
  2850. "description": "交易日(格式:yyyyMMdd)",
  2851. "name": "tradedate",
  2852. "in": "query",
  2853. "required": true
  2854. },
  2855. {
  2856. "type": "integer",
  2857. "description": "品类ID",
  2858. "name": "wrstandardid",
  2859. "in": "query"
  2860. },
  2861. {
  2862. "type": "integer",
  2863. "description": "现货品牌ID",
  2864. "name": "spotgoodsbrandid",
  2865. "in": "query"
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "type": "array",
  2873. "items": {
  2874. "$ref": "#/definitions/models.Ermcp3ReportOPLog"
  2875. }
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/Ermcp3/QryReportMonthSpot": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "企业风险管理v3(app)"
  2899. ],
  2900. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  2901. "parameters": [
  2902. {
  2903. "type": "integer",
  2904. "description": "用户id",
  2905. "name": "userid",
  2906. "in": "query",
  2907. "required": true
  2908. },
  2909. {
  2910. "type": "integer",
  2911. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2912. "name": "cycletype",
  2913. "in": "query",
  2914. "required": true
  2915. },
  2916. {
  2917. "type": "string",
  2918. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2919. "name": "cycletime",
  2920. "in": "query",
  2921. "required": true
  2922. },
  2923. {
  2924. "type": "integer",
  2925. "description": "期货账户ID",
  2926. "name": "accountid",
  2927. "in": "query"
  2928. },
  2929. {
  2930. "type": "integer",
  2931. "description": "现货品种ID",
  2932. "name": "deliverygoodsid",
  2933. "in": "query"
  2934. },
  2935. {
  2936. "type": "integer",
  2937. "description": "品类ID",
  2938. "name": "wrstandardid",
  2939. "in": "query"
  2940. },
  2941. {
  2942. "type": "integer",
  2943. "description": "现货品牌ID",
  2944. "name": "spotgoodsbrandid",
  2945. "in": "query"
  2946. }
  2947. ],
  2948. "responses": {
  2949. "200": {
  2950. "description": "OK",
  2951. "schema": {
  2952. "type": "array",
  2953. "items": {
  2954. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  2955. }
  2956. }
  2957. },
  2958. "500": {
  2959. "description": "Internal Server Error",
  2960. "schema": {
  2961. "$ref": "#/definitions/app.Response"
  2962. }
  2963. }
  2964. }
  2965. }
  2966. },
  2967. "/Ermcp3/QryReportMonthSpotDetail": {
  2968. "get": {
  2969. "security": [
  2970. {
  2971. "ApiKeyAuth": []
  2972. }
  2973. ],
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "企业风险管理v3(app)"
  2979. ],
  2980. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  2981. "parameters": [
  2982. {
  2983. "type": "integer",
  2984. "description": "用户id",
  2985. "name": "userid",
  2986. "in": "query",
  2987. "required": true
  2988. },
  2989. {
  2990. "type": "integer",
  2991. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2992. "name": "cycletype",
  2993. "in": "query",
  2994. "required": true
  2995. },
  2996. {
  2997. "type": "string",
  2998. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2999. "name": "cycletime",
  3000. "in": "query",
  3001. "required": true
  3002. },
  3003. {
  3004. "type": "integer",
  3005. "description": "期货账户ID",
  3006. "name": "accountid",
  3007. "in": "query"
  3008. },
  3009. {
  3010. "type": "integer",
  3011. "description": "现货品种ID",
  3012. "name": "deliverygoodsid",
  3013. "in": "query"
  3014. },
  3015. {
  3016. "type": "integer",
  3017. "description": "品类ID",
  3018. "name": "wrstandardid",
  3019. "in": "query"
  3020. },
  3021. {
  3022. "type": "integer",
  3023. "description": "现货品牌ID",
  3024. "name": "spotgoodsbrandid",
  3025. "in": "query"
  3026. }
  3027. ],
  3028. "responses": {
  3029. "200": {
  3030. "description": "OK",
  3031. "schema": {
  3032. "type": "array",
  3033. "items": {
  3034. "$ref": "#/definitions/models.Ermcp3ReportAreaSpotSub"
  3035. }
  3036. }
  3037. },
  3038. "500": {
  3039. "description": "Internal Server Error",
  3040. "schema": {
  3041. "$ref": "#/definitions/app.Response"
  3042. }
  3043. }
  3044. }
  3045. }
  3046. },
  3047. "/Ermcp3/QueryAreaStock": {
  3048. "get": {
  3049. "security": [
  3050. {
  3051. "ApiKeyAuth": []
  3052. }
  3053. ],
  3054. "produces": [
  3055. "application/json"
  3056. ],
  3057. "tags": [
  3058. "企业风险管理v3(app)"
  3059. ],
  3060. "summary": "查询机构库存(库存管理/当前库存)",
  3061. "parameters": [
  3062. {
  3063. "type": "integer",
  3064. "description": "用户ID",
  3065. "name": "userid",
  3066. "in": "query",
  3067. "required": true
  3068. }
  3069. ],
  3070. "responses": {
  3071. "200": {
  3072. "description": "OK",
  3073. "schema": {
  3074. "type": "array",
  3075. "items": {
  3076. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3077. }
  3078. }
  3079. },
  3080. "500": {
  3081. "description": "Internal Server Error",
  3082. "schema": {
  3083. "$ref": "#/definitions/app.Response"
  3084. }
  3085. }
  3086. }
  3087. }
  3088. },
  3089. "/Ermcp3/QueryAreaStockApply": {
  3090. "get": {
  3091. "security": [
  3092. {
  3093. "ApiKeyAuth": []
  3094. }
  3095. ],
  3096. "produces": [
  3097. "application/json"
  3098. ],
  3099. "tags": [
  3100. "企业风险管理v3(app)"
  3101. ],
  3102. "summary": "查询库存申请(出入库记录|库存审核)",
  3103. "parameters": [
  3104. {
  3105. "type": "integer",
  3106. "description": "用户ID",
  3107. "name": "userid",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "integer",
  3113. "description": "现货商品ID",
  3114. "name": "deliverygoodsid",
  3115. "in": "query"
  3116. },
  3117. {
  3118. "type": "string",
  3119. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  3120. "name": "inouttype",
  3121. "in": "query"
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "合同ID",
  3126. "name": "spotcontractid",
  3127. "in": "query"
  3128. },
  3129. {
  3130. "type": "integer",
  3131. "description": "品类ID",
  3132. "name": "wrstandardid",
  3133. "in": "query"
  3134. },
  3135. {
  3136. "type": "integer",
  3137. "description": "品牌ID",
  3138. "name": "spotgoodsbrandid",
  3139. "in": "query"
  3140. },
  3141. {
  3142. "type": "integer",
  3143. "description": "仓库ID",
  3144. "name": "warehouseinfoid",
  3145. "in": "query"
  3146. },
  3147. {
  3148. "type": "string",
  3149. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3150. "name": "applystatus",
  3151. "in": "query"
  3152. }
  3153. ],
  3154. "responses": {
  3155. "200": {
  3156. "description": "OK",
  3157. "schema": {
  3158. "type": "array",
  3159. "items": {
  3160. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3161. }
  3162. }
  3163. },
  3164. "500": {
  3165. "description": "Internal Server Error",
  3166. "schema": {
  3167. "$ref": "#/definitions/app.Response"
  3168. }
  3169. }
  3170. }
  3171. }
  3172. },
  3173. "/Ermcp3/QueryAreaStockApplySum": {
  3174. "get": {
  3175. "security": [
  3176. {
  3177. "ApiKeyAuth": []
  3178. }
  3179. ],
  3180. "produces": [
  3181. "application/json"
  3182. ],
  3183. "tags": [
  3184. "企业风险管理v3(app)"
  3185. ],
  3186. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3187. "parameters": [
  3188. {
  3189. "type": "integer",
  3190. "description": "合同ID",
  3191. "name": "spotcontractid",
  3192. "in": "query"
  3193. }
  3194. ],
  3195. "responses": {
  3196. "200": {
  3197. "description": "OK",
  3198. "schema": {
  3199. "type": "array",
  3200. "items": {
  3201. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3202. }
  3203. }
  3204. },
  3205. "500": {
  3206. "description": "Internal Server Error",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. }
  3211. }
  3212. }
  3213. },
  3214. "/Ermcp3/QueryAreaStockReport": {
  3215. "get": {
  3216. "security": [
  3217. {
  3218. "ApiKeyAuth": []
  3219. }
  3220. ],
  3221. "produces": [
  3222. "application/json"
  3223. ],
  3224. "tags": [
  3225. "企业风险管理v3(app)"
  3226. ],
  3227. "summary": "查询库存报表",
  3228. "parameters": [
  3229. {
  3230. "type": "integer",
  3231. "description": "用户ID",
  3232. "name": "userid",
  3233. "in": "query",
  3234. "required": true
  3235. },
  3236. {
  3237. "type": "integer",
  3238. "description": "查询类型 1-日报表 2-月报表",
  3239. "name": "querytype",
  3240. "in": "query",
  3241. "required": true
  3242. },
  3243. {
  3244. "type": "string",
  3245. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3246. "name": "querydate",
  3247. "in": "query",
  3248. "required": true
  3249. },
  3250. {
  3251. "type": "integer",
  3252. "description": "现货商品ID",
  3253. "name": "deliverygoodsid",
  3254. "in": "query"
  3255. },
  3256. {
  3257. "type": "integer",
  3258. "description": "品类ID",
  3259. "name": "wrstandardid",
  3260. "in": "query"
  3261. },
  3262. {
  3263. "type": "integer",
  3264. "description": "品牌ID",
  3265. "name": "spotgoodsbrandid",
  3266. "in": "query"
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "仓库ID",
  3271. "name": "warehouseinfoid",
  3272. "in": "query"
  3273. }
  3274. ],
  3275. "responses": {
  3276. "200": {
  3277. "description": "OK",
  3278. "schema": {
  3279. "type": "array",
  3280. "items": {
  3281. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  3282. }
  3283. }
  3284. },
  3285. "500": {
  3286. "description": "Internal Server Error",
  3287. "schema": {
  3288. "$ref": "#/definitions/app.Response"
  3289. }
  3290. }
  3291. }
  3292. }
  3293. },
  3294. "/Ermcp3/QueryAreaStockReportDetail": {
  3295. "get": {
  3296. "security": [
  3297. {
  3298. "ApiKeyAuth": []
  3299. }
  3300. ],
  3301. "produces": [
  3302. "application/json"
  3303. ],
  3304. "tags": [
  3305. "企业风险管理v3(app)"
  3306. ],
  3307. "summary": "查询库存报表明细",
  3308. "parameters": [
  3309. {
  3310. "type": "integer",
  3311. "description": "用户ID",
  3312. "name": "userid",
  3313. "in": "query",
  3314. "required": true
  3315. },
  3316. {
  3317. "type": "integer",
  3318. "description": "查询类型 1-日报表明细 2-月报表明细",
  3319. "name": "querytype",
  3320. "in": "query",
  3321. "required": true
  3322. },
  3323. {
  3324. "type": "integer",
  3325. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  3326. "name": "detailtype",
  3327. "in": "query",
  3328. "required": true
  3329. },
  3330. {
  3331. "type": "string",
  3332. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  3333. "name": "querydate",
  3334. "in": "query",
  3335. "required": true
  3336. },
  3337. {
  3338. "type": "integer",
  3339. "description": "现货商品ID",
  3340. "name": "deliverygoodsid",
  3341. "in": "query"
  3342. },
  3343. {
  3344. "type": "integer",
  3345. "description": "品类ID",
  3346. "name": "wrstandardid",
  3347. "in": "query"
  3348. },
  3349. {
  3350. "type": "integer",
  3351. "description": "品牌ID",
  3352. "name": "spotgoodsbrandid",
  3353. "in": "query"
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "仓库ID",
  3358. "name": "warehouseinfoid",
  3359. "in": "query"
  3360. }
  3361. ],
  3362. "responses": {
  3363. "200": {
  3364. "description": "OK",
  3365. "schema": {
  3366. "type": "array",
  3367. "items": {
  3368. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3369. }
  3370. }
  3371. },
  3372. "500": {
  3373. "description": "Internal Server Error",
  3374. "schema": {
  3375. "$ref": "#/definitions/app.Response"
  3376. }
  3377. }
  3378. }
  3379. }
  3380. },
  3381. "/Ermcp3/QueryDGFactoryItem": {
  3382. "get": {
  3383. "security": [
  3384. {
  3385. "ApiKeyAuth": []
  3386. }
  3387. ],
  3388. "produces": [
  3389. "application/json"
  3390. ],
  3391. "tags": [
  3392. "企业风险管理v3(app)"
  3393. ],
  3394. "summary": "查询品种要素定义项",
  3395. "parameters": [
  3396. {
  3397. "type": "integer",
  3398. "description": "用户id",
  3399. "name": "userid",
  3400. "in": "query"
  3401. },
  3402. {
  3403. "type": "integer",
  3404. "description": "用户类型 2-机构 7-企业成员",
  3405. "name": "usertype",
  3406. "in": "query"
  3407. },
  3408. {
  3409. "type": "integer",
  3410. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3411. "name": "dgfactoryitemid",
  3412. "in": "query"
  3413. },
  3414. {
  3415. "type": "integer",
  3416. "description": "现货品种ID",
  3417. "name": "deliverygoodsid",
  3418. "in": "query"
  3419. },
  3420. {
  3421. "type": "integer",
  3422. "description": "要素项类型",
  3423. "name": "dgfactoryitemtypeid",
  3424. "in": "query"
  3425. },
  3426. {
  3427. "type": "integer",
  3428. "description": "顺序",
  3429. "name": "orderindex",
  3430. "in": "query"
  3431. }
  3432. ],
  3433. "responses": {
  3434. "200": {
  3435. "description": "OK",
  3436. "schema": {
  3437. "type": "array",
  3438. "items": {
  3439. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3440. }
  3441. }
  3442. },
  3443. "500": {
  3444. "description": "Internal Server Error",
  3445. "schema": {
  3446. "$ref": "#/definitions/app.Response"
  3447. }
  3448. }
  3449. }
  3450. }
  3451. },
  3452. "/Ermcp3/QueryDeliveryGoods": {
  3453. "get": {
  3454. "security": [
  3455. {
  3456. "ApiKeyAuth": []
  3457. }
  3458. ],
  3459. "produces": [
  3460. "application/json"
  3461. ],
  3462. "tags": [
  3463. "企业风险管理v3(app)"
  3464. ],
  3465. "summary": "查询现货商品",
  3466. "parameters": [
  3467. {
  3468. "type": "integer",
  3469. "description": "用户id",
  3470. "name": "userid",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "用户类型 2-机构 7-企业成员",
  3477. "name": "usertype",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3483. "name": "excludecfg",
  3484. "in": "query"
  3485. }
  3486. ],
  3487. "responses": {
  3488. "200": {
  3489. "description": "OK",
  3490. "schema": {
  3491. "type": "array",
  3492. "items": {
  3493. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3494. }
  3495. }
  3496. },
  3497. "500": {
  3498. "description": "Internal Server Error",
  3499. "schema": {
  3500. "$ref": "#/definitions/app.Response"
  3501. }
  3502. }
  3503. }
  3504. }
  3505. },
  3506. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3507. "get": {
  3508. "security": [
  3509. {
  3510. "ApiKeyAuth": []
  3511. }
  3512. ],
  3513. "produces": [
  3514. "application/json"
  3515. ],
  3516. "tags": [
  3517. "企业风险管理v3(app)"
  3518. ],
  3519. "summary": "查询现货商品详情",
  3520. "parameters": [
  3521. {
  3522. "type": "integer",
  3523. "description": "用户id",
  3524. "name": "userid",
  3525. "in": "query",
  3526. "required": true
  3527. },
  3528. {
  3529. "type": "integer",
  3530. "description": "用户类型 2-机构 7-企业成员",
  3531. "name": "usertype",
  3532. "in": "query"
  3533. },
  3534. {
  3535. "type": "integer",
  3536. "description": "现货商品id",
  3537. "name": "deliverygoodsid",
  3538. "in": "query"
  3539. }
  3540. ],
  3541. "responses": {
  3542. "200": {
  3543. "description": "OK",
  3544. "schema": {
  3545. "type": "array",
  3546. "items": {
  3547. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3548. }
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/Ermcp3/QueryExposureDetail": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "企业风险管理v3(app)"
  3572. ],
  3573. "summary": "查询敞口现货明细",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户id",
  3578. "name": "userid",
  3579. "in": "query",
  3580. "required": true
  3581. },
  3582. {
  3583. "type": "integer",
  3584. "description": "用户类型 2-机构 7-企业成员",
  3585. "name": "usertype",
  3586. "in": "query"
  3587. },
  3588. {
  3589. "type": "integer",
  3590. "description": "套保商品",
  3591. "name": "middlegoodsid",
  3592. "in": "query",
  3593. "required": true
  3594. }
  3595. ],
  3596. "responses": {
  3597. "200": {
  3598. "description": "OK",
  3599. "schema": {
  3600. "type": "array",
  3601. "items": {
  3602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3603. }
  3604. }
  3605. },
  3606. "500": {
  3607. "description": "Internal Server Error",
  3608. "schema": {
  3609. "$ref": "#/definitions/app.Response"
  3610. }
  3611. }
  3612. }
  3613. }
  3614. },
  3615. "/Ermcp3/QueryExposureSpot": {
  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": "用户类型 2-机构 7-企业成员",
  3640. "name": "usertype",
  3641. "in": "query"
  3642. }
  3643. ],
  3644. "responses": {
  3645. "200": {
  3646. "description": "OK",
  3647. "schema": {
  3648. "type": "array",
  3649. "items": {
  3650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3651. }
  3652. }
  3653. },
  3654. "500": {
  3655. "description": "Internal Server Error",
  3656. "schema": {
  3657. "$ref": "#/definitions/app.Response"
  3658. }
  3659. }
  3660. }
  3661. }
  3662. },
  3663. "/Ermcp3/QueryExposureSpotDetail": {
  3664. "get": {
  3665. "security": [
  3666. {
  3667. "ApiKeyAuth": []
  3668. }
  3669. ],
  3670. "produces": [
  3671. "application/json"
  3672. ],
  3673. "tags": [
  3674. "企业风险管理v3(app)"
  3675. ],
  3676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3677. "parameters": [
  3678. {
  3679. "type": "integer",
  3680. "description": "用户id",
  3681. "name": "userid",
  3682. "in": "query",
  3683. "required": true
  3684. },
  3685. {
  3686. "type": "integer",
  3687. "description": "用户类型 2-机构 7-企业成员",
  3688. "name": "usertype",
  3689. "in": "query"
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "现货品种ID",
  3694. "name": "deliverygoodsid",
  3695. "in": "query",
  3696. "required": true
  3697. }
  3698. ],
  3699. "responses": {
  3700. "200": {
  3701. "description": "OK",
  3702. "schema": {
  3703. "type": "array",
  3704. "items": {
  3705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3706. }
  3707. }
  3708. },
  3709. "500": {
  3710. "description": "Internal Server Error",
  3711. "schema": {
  3712. "$ref": "#/definitions/app.Response"
  3713. }
  3714. }
  3715. }
  3716. }
  3717. },
  3718. "/Ermcp3/QueryGoodsGroup": {
  3719. "get": {
  3720. "security": [
  3721. {
  3722. "ApiKeyAuth": []
  3723. }
  3724. ],
  3725. "produces": [
  3726. "application/json"
  3727. ],
  3728. "tags": [
  3729. "企业风险管理v3(app)"
  3730. ],
  3731. "summary": "查询期货商品组",
  3732. "parameters": [
  3733. {
  3734. "type": "integer",
  3735. "description": "用户id",
  3736. "name": "userid",
  3737. "in": "query",
  3738. "required": true
  3739. },
  3740. {
  3741. "type": "integer",
  3742. "description": "用户类型 2-机构 7-企业成员",
  3743. "name": "usertype",
  3744. "in": "query"
  3745. },
  3746. {
  3747. "type": "integer",
  3748. "description": "排除套保品中已关联的商品组 1-排除",
  3749. "name": "excludecfg",
  3750. "in": "query"
  3751. }
  3752. ],
  3753. "responses": {
  3754. "200": {
  3755. "description": "OK",
  3756. "schema": {
  3757. "type": "array",
  3758. "items": {
  3759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3760. }
  3761. }
  3762. },
  3763. "500": {
  3764. "description": "Internal Server Error",
  3765. "schema": {
  3766. "$ref": "#/definitions/app.Response"
  3767. }
  3768. }
  3769. }
  3770. }
  3771. },
  3772. "/Ermcp3/QueryGoodsWrstandard": {
  3773. "get": {
  3774. "security": [
  3775. {
  3776. "ApiKeyAuth": []
  3777. }
  3778. ],
  3779. "produces": [
  3780. "application/json"
  3781. ],
  3782. "tags": [
  3783. "企业风险管理v3(app)"
  3784. ],
  3785. "summary": "查询商品品类",
  3786. "parameters": [
  3787. {
  3788. "type": "integer",
  3789. "description": "用户id",
  3790. "name": "userid",
  3791. "in": "query",
  3792. "required": true
  3793. },
  3794. {
  3795. "type": "integer",
  3796. "description": "用户类型 2-机构 7-企业成员",
  3797. "name": "usertype",
  3798. "in": "query"
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "现货商品id",
  3803. "name": "deliverygoodsid",
  3804. "in": "query"
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "type": "array",
  3812. "items": {
  3813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3814. }
  3815. }
  3816. },
  3817. "500": {
  3818. "description": "Internal Server Error",
  3819. "schema": {
  3820. "$ref": "#/definitions/app.Response"
  3821. }
  3822. }
  3823. }
  3824. }
  3825. },
  3826. "/Ermcp3/QueryGoodsbrand": {
  3827. "get": {
  3828. "security": [
  3829. {
  3830. "ApiKeyAuth": []
  3831. }
  3832. ],
  3833. "produces": [
  3834. "application/json"
  3835. ],
  3836. "tags": [
  3837. "企业风险管理v3(app)"
  3838. ],
  3839. "summary": "查询商品品牌",
  3840. "parameters": [
  3841. {
  3842. "type": "integer",
  3843. "description": "用户id",
  3844. "name": "userid",
  3845. "in": "query",
  3846. "required": true
  3847. },
  3848. {
  3849. "type": "integer",
  3850. "description": "用户类型 2-机构 7-企业成员",
  3851. "name": "usertype",
  3852. "in": "query"
  3853. }
  3854. ],
  3855. "responses": {
  3856. "200": {
  3857. "description": "OK",
  3858. "schema": {
  3859. "type": "array",
  3860. "items": {
  3861. "$ref": "#/definitions/models.Ermcp3Brand"
  3862. }
  3863. }
  3864. },
  3865. "500": {
  3866. "description": "Internal Server Error",
  3867. "schema": {
  3868. "$ref": "#/definitions/app.Response"
  3869. }
  3870. }
  3871. }
  3872. }
  3873. },
  3874. "/Ermcp3/QueryHedgePlan": {
  3875. "get": {
  3876. "security": [
  3877. {
  3878. "ApiKeyAuth": []
  3879. }
  3880. ],
  3881. "produces": [
  3882. "application/json"
  3883. ],
  3884. "tags": [
  3885. "企业风险管理v3(app)"
  3886. ],
  3887. "summary": "查询套保计划",
  3888. "parameters": [
  3889. {
  3890. "type": "integer",
  3891. "description": "用户ID",
  3892. "name": "userid",
  3893. "in": "query",
  3894. "required": true
  3895. },
  3896. {
  3897. "type": "integer",
  3898. "description": "用户类型 2-机构 7-企业成员",
  3899. "name": "usertype",
  3900. "in": "query"
  3901. },
  3902. {
  3903. "type": "string",
  3904. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3905. "name": "hedgeplanstatus",
  3906. "in": "query",
  3907. "required": true
  3908. }
  3909. ],
  3910. "responses": {
  3911. "200": {
  3912. "description": "OK",
  3913. "schema": {
  3914. "type": "array",
  3915. "items": {
  3916. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  3917. }
  3918. }
  3919. },
  3920. "500": {
  3921. "description": "Internal Server Error",
  3922. "schema": {
  3923. "$ref": "#/definitions/app.Response"
  3924. }
  3925. }
  3926. }
  3927. }
  3928. },
  3929. "/Ermcp3/QueryMiddleGoodsDetail": {
  3930. "get": {
  3931. "security": [
  3932. {
  3933. "ApiKeyAuth": []
  3934. }
  3935. ],
  3936. "produces": [
  3937. "application/json"
  3938. ],
  3939. "tags": [
  3940. "企业风险管理v3(app)"
  3941. ],
  3942. "summary": "查询套保品种详情(套保品种/商品详情)",
  3943. "parameters": [
  3944. {
  3945. "type": "integer",
  3946. "description": "用户id",
  3947. "name": "userid",
  3948. "in": "query",
  3949. "required": true
  3950. },
  3951. {
  3952. "type": "integer",
  3953. "description": "用户类型 2-机构 7-企业成员",
  3954. "name": "usertype",
  3955. "in": "query"
  3956. },
  3957. {
  3958. "type": "integer",
  3959. "description": "套保品种id",
  3960. "name": "middlegoodsid",
  3961. "in": "query"
  3962. }
  3963. ],
  3964. "responses": {
  3965. "200": {
  3966. "description": "OK",
  3967. "schema": {
  3968. "type": "array",
  3969. "items": {
  3970. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  3971. }
  3972. }
  3973. },
  3974. "500": {
  3975. "description": "Internal Server Error",
  3976. "schema": {
  3977. "$ref": "#/definitions/app.Response"
  3978. }
  3979. }
  3980. }
  3981. }
  3982. },
  3983. "/Ermcp3/QuerySpotContract": {
  3984. "get": {
  3985. "security": [
  3986. {
  3987. "ApiKeyAuth": []
  3988. }
  3989. ],
  3990. "produces": [
  3991. "application/json"
  3992. ],
  3993. "tags": [
  3994. "企业风险管理v3(app)"
  3995. ],
  3996. "summary": "查询现货合同",
  3997. "parameters": [
  3998. {
  3999. "type": "integer",
  4000. "description": "用户id",
  4001. "name": "userid",
  4002. "in": "query",
  4003. "required": true
  4004. },
  4005. {
  4006. "type": "integer",
  4007. "description": "用户类型 2-机构 7-企业成员",
  4008. "name": "usertype",
  4009. "in": "query"
  4010. },
  4011. {
  4012. "type": "integer",
  4013. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4014. "name": "querytype",
  4015. "in": "query",
  4016. "required": true
  4017. },
  4018. {
  4019. "type": "string",
  4020. "description": "合同ID(SpotContractId)",
  4021. "name": "contractid",
  4022. "in": "query"
  4023. }
  4024. ],
  4025. "responses": {
  4026. "200": {
  4027. "description": "OK",
  4028. "schema": {
  4029. "type": "array",
  4030. "items": {
  4031. "$ref": "#/definitions/models.Ermcp3Contract"
  4032. }
  4033. }
  4034. },
  4035. "500": {
  4036. "description": "Internal Server Error",
  4037. "schema": {
  4038. "$ref": "#/definitions/app.Response"
  4039. }
  4040. }
  4041. }
  4042. }
  4043. },
  4044. "/Ermcp3/QuerySpotContractBS": {
  4045. "get": {
  4046. "security": [
  4047. {
  4048. "ApiKeyAuth": []
  4049. }
  4050. ],
  4051. "produces": [
  4052. "application/json"
  4053. ],
  4054. "tags": [
  4055. "企业风险管理v3(app)"
  4056. ],
  4057. "summary": "查询合同(采购/销售)",
  4058. "parameters": [
  4059. {
  4060. "type": "integer",
  4061. "description": "用户id",
  4062. "name": "userid",
  4063. "in": "query",
  4064. "required": true
  4065. },
  4066. {
  4067. "type": "integer",
  4068. "description": "用户类型 2-机构 7-企业成员",
  4069. "name": "usertype",
  4070. "in": "query"
  4071. },
  4072. {
  4073. "type": "integer",
  4074. "description": "合同类型 1-采购, -1-销售",
  4075. "name": "contracttype",
  4076. "in": "query",
  4077. "required": true
  4078. },
  4079. {
  4080. "type": "integer",
  4081. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4082. "name": "querytype",
  4083. "in": "query",
  4084. "required": true
  4085. },
  4086. {
  4087. "type": "string",
  4088. "description": "合同ID(SpotContractId)",
  4089. "name": "contractid",
  4090. "in": "query"
  4091. }
  4092. ],
  4093. "responses": {
  4094. "200": {
  4095. "description": "OK",
  4096. "schema": {
  4097. "type": "array",
  4098. "items": {
  4099. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4100. }
  4101. }
  4102. },
  4103. "500": {
  4104. "description": "Internal Server Error",
  4105. "schema": {
  4106. "$ref": "#/definitions/app.Response"
  4107. }
  4108. }
  4109. }
  4110. }
  4111. },
  4112. "/Ermcp3/QuerySpotGoodsPrice": {
  4113. "get": {
  4114. "security": [
  4115. {
  4116. "ApiKeyAuth": []
  4117. }
  4118. ],
  4119. "produces": [
  4120. "application/json"
  4121. ],
  4122. "tags": [
  4123. "企业风险管理v3(app)"
  4124. ],
  4125. "summary": "查询现货市价(现货市价)",
  4126. "parameters": [
  4127. {
  4128. "type": "integer",
  4129. "description": "用户ID",
  4130. "name": "userid",
  4131. "in": "query",
  4132. "required": true
  4133. }
  4134. ],
  4135. "responses": {
  4136. "200": {
  4137. "description": "OK",
  4138. "schema": {
  4139. "type": "array",
  4140. "items": {
  4141. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4142. }
  4143. }
  4144. },
  4145. "500": {
  4146. "description": "Internal Server Error",
  4147. "schema": {
  4148. "$ref": "#/definitions/app.Response"
  4149. }
  4150. }
  4151. }
  4152. }
  4153. },
  4154. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4155. "get": {
  4156. "security": [
  4157. {
  4158. "ApiKeyAuth": []
  4159. }
  4160. ],
  4161. "produces": [
  4162. "application/json"
  4163. ],
  4164. "tags": [
  4165. "企业风险管理v3(app)"
  4166. ],
  4167. "summary": "查询现货市价详情(现货市价/详情)",
  4168. "parameters": [
  4169. {
  4170. "type": "integer",
  4171. "description": "用户ID",
  4172. "name": "userid",
  4173. "in": "query",
  4174. "required": true
  4175. },
  4176. {
  4177. "type": "integer",
  4178. "description": "现货商品ID",
  4179. "name": "deliverygoodsid",
  4180. "in": "query",
  4181. "required": true
  4182. },
  4183. {
  4184. "type": "integer",
  4185. "description": "品牌ID",
  4186. "name": "brandid",
  4187. "in": "query"
  4188. },
  4189. {
  4190. "type": "integer",
  4191. "description": "品类ID",
  4192. "name": "wrstandardid",
  4193. "in": "query"
  4194. }
  4195. ],
  4196. "responses": {
  4197. "200": {
  4198. "description": "OK",
  4199. "schema": {
  4200. "type": "array",
  4201. "items": {
  4202. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4203. }
  4204. }
  4205. },
  4206. "500": {
  4207. "description": "Internal Server Error",
  4208. "schema": {
  4209. "$ref": "#/definitions/app.Response"
  4210. }
  4211. }
  4212. }
  4213. }
  4214. },
  4215. "/Erms2/QueryArbitrageStrategy": {
  4216. "get": {
  4217. "security": [
  4218. {
  4219. "ApiKeyAuth": []
  4220. }
  4221. ],
  4222. "produces": [
  4223. "application/json"
  4224. ],
  4225. "tags": [
  4226. "风险管理"
  4227. ],
  4228. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4229. "parameters": [
  4230. {
  4231. "type": "integer",
  4232. "description": "账户ID",
  4233. "name": "userid",
  4234. "in": "query",
  4235. "required": true
  4236. },
  4237. {
  4238. "type": "string",
  4239. "description": "商品组ID(品种ID)",
  4240. "name": "goodsgroupid",
  4241. "in": "query"
  4242. }
  4243. ],
  4244. "responses": {
  4245. "200": {
  4246. "description": "OK",
  4247. "schema": {
  4248. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4249. }
  4250. },
  4251. "500": {
  4252. "description": "Internal Server Error",
  4253. "schema": {
  4254. "$ref": "#/definitions/app.Response"
  4255. }
  4256. }
  4257. }
  4258. }
  4259. },
  4260. "/Erms2/QueryInnerTradeDetail": {
  4261. "get": {
  4262. "security": [
  4263. {
  4264. "ApiKeyAuth": []
  4265. }
  4266. ],
  4267. "produces": [
  4268. "application/json"
  4269. ],
  4270. "tags": [
  4271. "风险管理"
  4272. ],
  4273. "summary": "查询内部成交单信息",
  4274. "parameters": [
  4275. {
  4276. "type": "integer",
  4277. "description": "资金账户",
  4278. "name": "accountid",
  4279. "in": "query",
  4280. "required": true
  4281. }
  4282. ],
  4283. "responses": {
  4284. "200": {
  4285. "description": "OK",
  4286. "schema": {
  4287. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4288. }
  4289. },
  4290. "500": {
  4291. "description": "Internal Server Error",
  4292. "schema": {
  4293. "$ref": "#/definitions/app.Response"
  4294. }
  4295. }
  4296. }
  4297. }
  4298. },
  4299. "/Erms2/QuerySpotContract": {
  4300. "get": {
  4301. "security": [
  4302. {
  4303. "ApiKeyAuth": []
  4304. }
  4305. ],
  4306. "produces": [
  4307. "application/json"
  4308. ],
  4309. "tags": [
  4310. "风险管理"
  4311. ],
  4312. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4313. "parameters": [
  4314. {
  4315. "type": "integer",
  4316. "description": "策略申请ID",
  4317. "name": "asapplyid",
  4318. "in": "query",
  4319. "required": true
  4320. },
  4321. {
  4322. "type": "integer",
  4323. "description": "现货合同ID",
  4324. "name": "spotcontractid",
  4325. "in": "query"
  4326. }
  4327. ],
  4328. "responses": {
  4329. "200": {
  4330. "description": "OK",
  4331. "schema": {
  4332. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4333. }
  4334. },
  4335. "500": {
  4336. "description": "Internal Server Error",
  4337. "schema": {
  4338. "$ref": "#/definitions/app.Response"
  4339. }
  4340. }
  4341. }
  4342. }
  4343. },
  4344. "/Erms3/AddErms2ASApply": {
  4345. "post": {
  4346. "security": [
  4347. {
  4348. "ApiKeyAuth": []
  4349. }
  4350. ],
  4351. "produces": [
  4352. "application/json"
  4353. ],
  4354. "tags": [
  4355. "风险管理v3"
  4356. ],
  4357. "summary": "新增期现套利业务申请",
  4358. "parameters": [
  4359. {
  4360. "description": "申请参数",
  4361. "name": "jsonBody",
  4362. "in": "body",
  4363. "required": true,
  4364. "schema": {
  4365. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4366. }
  4367. }
  4368. ],
  4369. "responses": {
  4370. "200": {
  4371. "description": "OK",
  4372. "schema": {
  4373. "$ref": "#/definitions/app.Response"
  4374. }
  4375. },
  4376. "500": {
  4377. "description": "Internal Server Error",
  4378. "schema": {
  4379. "$ref": "#/definitions/app.Response"
  4380. }
  4381. }
  4382. }
  4383. }
  4384. },
  4385. "/Erms3/AddErms2SpotTradeApply": {
  4386. "post": {
  4387. "security": [
  4388. {
  4389. "ApiKeyAuth": []
  4390. }
  4391. ],
  4392. "produces": [
  4393. "application/json"
  4394. ],
  4395. "tags": [
  4396. "风险管理v3"
  4397. ],
  4398. "summary": "新增现货贸易业务申请",
  4399. "parameters": [
  4400. {
  4401. "description": "申请参数",
  4402. "name": "jsonBody",
  4403. "in": "body",
  4404. "required": true,
  4405. "schema": {
  4406. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4407. }
  4408. }
  4409. ],
  4410. "responses": {
  4411. "200": {
  4412. "description": "OK",
  4413. "schema": {
  4414. "$ref": "#/definitions/app.Response"
  4415. }
  4416. },
  4417. "500": {
  4418. "description": "Internal Server Error",
  4419. "schema": {
  4420. "$ref": "#/definitions/app.Response"
  4421. }
  4422. }
  4423. }
  4424. }
  4425. },
  4426. "/Erms3/AddSpotContractApply": {
  4427. "post": {
  4428. "security": [
  4429. {
  4430. "ApiKeyAuth": []
  4431. }
  4432. ],
  4433. "produces": [
  4434. "application/json"
  4435. ],
  4436. "tags": [
  4437. "风险管理v3"
  4438. ],
  4439. "summary": "新增现货合同申请",
  4440. "parameters": [
  4441. {
  4442. "description": "申请参数",
  4443. "name": "jsonBody",
  4444. "in": "body",
  4445. "required": true,
  4446. "schema": {
  4447. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4448. }
  4449. }
  4450. ],
  4451. "responses": {
  4452. "200": {
  4453. "description": "OK",
  4454. "schema": {
  4455. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4456. }
  4457. },
  4458. "500": {
  4459. "description": "Internal Server Error",
  4460. "schema": {
  4461. "$ref": "#/definitions/app.Response"
  4462. }
  4463. }
  4464. }
  4465. }
  4466. },
  4467. "/Erms3/AddUserInfoApply": {
  4468. "post": {
  4469. "security": [
  4470. {
  4471. "ApiKeyAuth": []
  4472. }
  4473. ],
  4474. "produces": [
  4475. "application/json"
  4476. ],
  4477. "tags": [
  4478. "风险管理v3"
  4479. ],
  4480. "summary": "新增客户申请",
  4481. "parameters": [
  4482. {
  4483. "description": "用户信息",
  4484. "name": "jsonBody",
  4485. "in": "body",
  4486. "required": true,
  4487. "schema": {
  4488. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4489. }
  4490. }
  4491. ],
  4492. "responses": {
  4493. "200": {
  4494. "description": "OK",
  4495. "schema": {
  4496. "$ref": "#/definitions/app.Response"
  4497. }
  4498. },
  4499. "500": {
  4500. "description": "Internal Server Error",
  4501. "schema": {
  4502. "$ref": "#/definitions/app.Response"
  4503. }
  4504. }
  4505. }
  4506. }
  4507. },
  4508. "/Erms3/DeleteUserInfoApply": {
  4509. "get": {
  4510. "security": [
  4511. {
  4512. "ApiKeyAuth": []
  4513. }
  4514. ],
  4515. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4516. "produces": [
  4517. "application/json"
  4518. ],
  4519. "tags": [
  4520. "风险管理v3"
  4521. ],
  4522. "summary": "删除客户申请",
  4523. "parameters": [
  4524. {
  4525. "type": "integer",
  4526. "description": "用户ID",
  4527. "name": "userID",
  4528. "in": "query",
  4529. "required": true
  4530. }
  4531. ],
  4532. "responses": {
  4533. "200": {
  4534. "description": "OK",
  4535. "schema": {
  4536. "$ref": "#/definitions/app.Response"
  4537. }
  4538. },
  4539. "500": {
  4540. "description": "Internal Server Error",
  4541. "schema": {
  4542. "$ref": "#/definitions/app.Response"
  4543. }
  4544. }
  4545. }
  4546. }
  4547. },
  4548. "/Erms3/ModifyUserInfoApply": {
  4549. "post": {
  4550. "security": [
  4551. {
  4552. "ApiKeyAuth": []
  4553. }
  4554. ],
  4555. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4556. "produces": [
  4557. "application/json"
  4558. ],
  4559. "tags": [
  4560. "风险管理v3"
  4561. ],
  4562. "summary": "修改客户申请",
  4563. "parameters": [
  4564. {
  4565. "description": "用户信息",
  4566. "name": "jsonBody",
  4567. "in": "body",
  4568. "required": true,
  4569. "schema": {
  4570. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4571. }
  4572. }
  4573. ],
  4574. "responses": {
  4575. "200": {
  4576. "description": "OK",
  4577. "schema": {
  4578. "$ref": "#/definitions/app.Response"
  4579. }
  4580. },
  4581. "500": {
  4582. "description": "Internal Server Error",
  4583. "schema": {
  4584. "$ref": "#/definitions/app.Response"
  4585. }
  4586. }
  4587. }
  4588. }
  4589. },
  4590. "/Erms3/QueryBusinessInfo": {
  4591. "get": {
  4592. "security": [
  4593. {
  4594. "ApiKeyAuth": []
  4595. }
  4596. ],
  4597. "produces": [
  4598. "application/json"
  4599. ],
  4600. "tags": [
  4601. "风险管理v3"
  4602. ],
  4603. "summary": "查询业务表单数据",
  4604. "parameters": [
  4605. {
  4606. "type": "string",
  4607. "description": "资金账号ID列表,用逗号分隔",
  4608. "name": "accountids",
  4609. "in": "query",
  4610. "required": true
  4611. },
  4612. {
  4613. "type": "integer",
  4614. "description": "状态,0为未结束 1为已结束",
  4615. "name": "status",
  4616. "in": "query",
  4617. "required": true
  4618. }
  4619. ],
  4620. "responses": {
  4621. "200": {
  4622. "description": "OK",
  4623. "schema": {
  4624. "type": "array",
  4625. "items": {
  4626. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4627. }
  4628. }
  4629. },
  4630. "500": {
  4631. "description": "Internal Server Error",
  4632. "schema": {
  4633. "$ref": "#/definitions/app.Response"
  4634. }
  4635. }
  4636. }
  4637. }
  4638. },
  4639. "/Erms3/QueryPendingAuditContract": {
  4640. "get": {
  4641. "security": [
  4642. {
  4643. "ApiKeyAuth": []
  4644. }
  4645. ],
  4646. "produces": [
  4647. "application/json"
  4648. ],
  4649. "tags": [
  4650. "风险管理v3"
  4651. ],
  4652. "summary": "查询待审核合同",
  4653. "parameters": [
  4654. {
  4655. "type": "string",
  4656. "description": "资金账号ID列表,逗号隔开",
  4657. "name": "accountids",
  4658. "in": "query",
  4659. "required": true
  4660. },
  4661. {
  4662. "type": "integer",
  4663. "description": "合同类型 1-采购 -1-销售",
  4664. "name": "contracttype",
  4665. "in": "query",
  4666. "required": true
  4667. },
  4668. {
  4669. "type": "integer",
  4670. "description": "合同模式 1-普通 2-回购",
  4671. "name": "contractmode",
  4672. "in": "query",
  4673. "required": true
  4674. }
  4675. ],
  4676. "responses": {
  4677. "200": {
  4678. "description": "OK",
  4679. "schema": {
  4680. "type": "array",
  4681. "items": {
  4682. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4683. }
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/Erms3/QueryPendingBusiness": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "风险管理v3"
  4707. ],
  4708. "summary": "查询待审核基差贸易业务",
  4709. "parameters": [
  4710. {
  4711. "type": "string",
  4712. "description": "资金账号ID列表,逗号隔开",
  4713. "name": "accountids",
  4714. "in": "query",
  4715. "required": true
  4716. }
  4717. ],
  4718. "responses": {
  4719. "200": {
  4720. "description": "OK",
  4721. "schema": {
  4722. "type": "array",
  4723. "items": {
  4724. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4725. }
  4726. }
  4727. },
  4728. "500": {
  4729. "description": "Internal Server Error",
  4730. "schema": {
  4731. "$ref": "#/definitions/app.Response"
  4732. }
  4733. }
  4734. }
  4735. }
  4736. },
  4737. "/Erms3/QuerySpotContractAppleForm": {
  4738. "get": {
  4739. "security": [
  4740. {
  4741. "ApiKeyAuth": []
  4742. }
  4743. ],
  4744. "produces": [
  4745. "application/json"
  4746. ],
  4747. "tags": [
  4748. "风险管理v3"
  4749. ],
  4750. "summary": "查询合同申请表单数据",
  4751. "parameters": [
  4752. {
  4753. "type": "integer",
  4754. "description": "登录账号",
  4755. "name": "loginID",
  4756. "in": "query",
  4757. "required": true
  4758. }
  4759. ],
  4760. "responses": {
  4761. "200": {
  4762. "description": "OK",
  4763. "schema": {
  4764. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4765. }
  4766. },
  4767. "500": {
  4768. "description": "Internal Server Error",
  4769. "schema": {
  4770. "$ref": "#/definitions/app.Response"
  4771. }
  4772. }
  4773. }
  4774. }
  4775. },
  4776. "/Erms3/QuerySpotContractDetail": {
  4777. "get": {
  4778. "security": [
  4779. {
  4780. "ApiKeyAuth": []
  4781. }
  4782. ],
  4783. "produces": [
  4784. "application/json"
  4785. ],
  4786. "tags": [
  4787. "风险管理v3"
  4788. ],
  4789. "summary": "查询合同详细信息",
  4790. "parameters": [
  4791. {
  4792. "type": "string",
  4793. "description": "资金账号ID列表,用逗号分隔",
  4794. "name": "accountids",
  4795. "in": "query",
  4796. "required": true
  4797. },
  4798. {
  4799. "type": "integer",
  4800. "description": "合同类型,1为采购合同 -1为销售合同",
  4801. "name": "contracttype",
  4802. "in": "query",
  4803. "required": true
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "合同模式,1为普通合同 2为回购销售合同",
  4808. "name": "contractmode",
  4809. "in": "query",
  4810. "required": true
  4811. },
  4812. {
  4813. "type": "integer",
  4814. "description": "状态,0为履约中 1为已完成",
  4815. "name": "status",
  4816. "in": "query",
  4817. "required": true
  4818. }
  4819. ],
  4820. "responses": {
  4821. "200": {
  4822. "description": "OK",
  4823. "schema": {
  4824. "type": "array",
  4825. "items": {
  4826. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4827. }
  4828. }
  4829. },
  4830. "500": {
  4831. "description": "Internal Server Error",
  4832. "schema": {
  4833. "$ref": "#/definitions/app.Response"
  4834. }
  4835. }
  4836. }
  4837. }
  4838. },
  4839. "/Erms3/QueryUserInfoApplies": {
  4840. "get": {
  4841. "security": [
  4842. {
  4843. "ApiKeyAuth": []
  4844. }
  4845. ],
  4846. "produces": [
  4847. "application/json"
  4848. ],
  4849. "tags": [
  4850. "风险管理v3"
  4851. ],
  4852. "summary": "客户申请信息查询",
  4853. "parameters": [
  4854. {
  4855. "type": "integer",
  4856. "description": "页码",
  4857. "name": "page",
  4858. "in": "query"
  4859. },
  4860. {
  4861. "type": "integer",
  4862. "description": "每页条数",
  4863. "name": "pagesize",
  4864. "in": "query"
  4865. },
  4866. {
  4867. "type": "string",
  4868. "description": "客户名称,支持模糊查询",
  4869. "name": "userName",
  4870. "in": "query"
  4871. }
  4872. ],
  4873. "responses": {
  4874. "200": {
  4875. "description": "OK",
  4876. "schema": {
  4877. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4878. }
  4879. },
  4880. "500": {
  4881. "description": "Internal Server Error",
  4882. "schema": {
  4883. "$ref": "#/definitions/app.Response"
  4884. }
  4885. }
  4886. }
  4887. }
  4888. },
  4889. "/Erms3/QueryUserInfos": {
  4890. "get": {
  4891. "security": [
  4892. {
  4893. "ApiKeyAuth": []
  4894. }
  4895. ],
  4896. "produces": [
  4897. "application/json"
  4898. ],
  4899. "tags": [
  4900. "风险管理v3"
  4901. ],
  4902. "summary": "客户信息查询",
  4903. "parameters": [
  4904. {
  4905. "type": "integer",
  4906. "description": "页码",
  4907. "name": "page",
  4908. "in": "query"
  4909. },
  4910. {
  4911. "type": "integer",
  4912. "description": "每页条数",
  4913. "name": "pagesize",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "客户名称,支持模糊查询",
  4919. "name": "userName",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4928. }
  4929. },
  4930. "500": {
  4931. "description": "Internal Server Error",
  4932. "schema": {
  4933. "$ref": "#/definitions/app.Response"
  4934. }
  4935. }
  4936. }
  4937. }
  4938. },
  4939. "/HSBY/GetHsbyMyCount": {
  4940. "get": {
  4941. "security": [
  4942. {
  4943. "ApiKeyAuth": []
  4944. }
  4945. ],
  4946. "description": "说明: 不包括已完成的数量。",
  4947. "produces": [
  4948. "application/json"
  4949. ],
  4950. "tags": [
  4951. "定制【海商报业】"
  4952. ],
  4953. "summary": "获取我的订单与包裹数量",
  4954. "parameters": [
  4955. {
  4956. "type": "string",
  4957. "description": "资金账户列表,格式:1,2,3",
  4958. "name": "accountIDs",
  4959. "in": "query",
  4960. "required": true
  4961. }
  4962. ],
  4963. "responses": {
  4964. "200": {
  4965. "description": "OK",
  4966. "schema": {
  4967. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4968. }
  4969. },
  4970. "500": {
  4971. "description": "Internal Server Error",
  4972. "schema": {
  4973. "$ref": "#/definitions/app.Response"
  4974. }
  4975. }
  4976. }
  4977. }
  4978. },
  4979. "/HSBY/QueryClientFixedADConfigs": {
  4980. "get": {
  4981. "security": [
  4982. {
  4983. "ApiKeyAuth": []
  4984. }
  4985. ],
  4986. "produces": [
  4987. "application/json"
  4988. ],
  4989. "tags": [
  4990. "定制【海商报业】"
  4991. ],
  4992. "summary": "获取终端固定广告配置",
  4993. "responses": {
  4994. "200": {
  4995. "description": "OK",
  4996. "schema": {
  4997. "$ref": "#/definitions/models.Clientfixedadconfig"
  4998. }
  4999. },
  5000. "500": {
  5001. "description": "Internal Server Error",
  5002. "schema": {
  5003. "$ref": "#/definitions/app.Response"
  5004. }
  5005. }
  5006. }
  5007. }
  5008. },
  5009. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5010. "get": {
  5011. "security": [
  5012. {
  5013. "ApiKeyAuth": []
  5014. }
  5015. ],
  5016. "produces": [
  5017. "application/json"
  5018. ],
  5019. "tags": [
  5020. "定制【海商报业】"
  5021. ],
  5022. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5023. "parameters": [
  5024. {
  5025. "type": "integer",
  5026. "description": "页码",
  5027. "name": "page",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "integer",
  5032. "description": "每页条数",
  5033. "name": "pagesize",
  5034. "in": "query"
  5035. },
  5036. {
  5037. "type": "string",
  5038. "description": "资金账户列表,格式:1,2,3",
  5039. "name": "accountIDs",
  5040. "in": "query",
  5041. "required": true
  5042. }
  5043. ],
  5044. "responses": {
  5045. "200": {
  5046. "description": "OK",
  5047. "schema": {
  5048. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5049. }
  5050. },
  5051. "500": {
  5052. "description": "Internal Server Error",
  5053. "schema": {
  5054. "$ref": "#/definitions/app.Response"
  5055. }
  5056. }
  5057. }
  5058. }
  5059. },
  5060. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5061. "get": {
  5062. "security": [
  5063. {
  5064. "ApiKeyAuth": []
  5065. }
  5066. ],
  5067. "description": "说明:查询结果已按委托价格和委托时间排序",
  5068. "produces": [
  5069. "application/json"
  5070. ],
  5071. "tags": [
  5072. "定制【海商报业】"
  5073. ],
  5074. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5075. "parameters": [
  5076. {
  5077. "type": "integer",
  5078. "description": "商品ID",
  5079. "name": "goodsID",
  5080. "in": "query",
  5081. "required": true
  5082. },
  5083. {
  5084. "type": "string",
  5085. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5086. "name": "accountIDs",
  5087. "in": "query"
  5088. },
  5089. {
  5090. "type": "integer",
  5091. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5092. "name": "buyOrSell",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "number",
  5097. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5098. "name": "price",
  5099. "in": "query"
  5100. },
  5101. {
  5102. "type": "integer",
  5103. "description": "档位,不传则默认为3档",
  5104. "name": "speed",
  5105. "in": "query"
  5106. }
  5107. ],
  5108. "responses": {
  5109. "200": {
  5110. "description": "OK",
  5111. "schema": {
  5112. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/HSBY/QueryHsbyListingGoodsDetail": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "定制【海商报业】"
  5137. ],
  5138. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5139. "parameters": [
  5140. {
  5141. "type": "integer",
  5142. "description": "商品ID",
  5143. "name": "goodsID",
  5144. "in": "query",
  5145. "required": true
  5146. },
  5147. {
  5148. "type": "integer",
  5149. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5150. "name": "accountID",
  5151. "in": "query"
  5152. }
  5153. ],
  5154. "responses": {
  5155. "200": {
  5156. "description": "OK",
  5157. "schema": {
  5158. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5159. }
  5160. },
  5161. "500": {
  5162. "description": "Internal Server Error",
  5163. "schema": {
  5164. "$ref": "#/definitions/app.Response"
  5165. }
  5166. }
  5167. }
  5168. }
  5169. },
  5170. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5171. "get": {
  5172. "security": [
  5173. {
  5174. "ApiKeyAuth": []
  5175. }
  5176. ],
  5177. "produces": [
  5178. "application/json"
  5179. ],
  5180. "tags": [
  5181. "定制【海商报业】"
  5182. ],
  5183. "summary": "查询三级市场(商城)商品信息详情",
  5184. "parameters": [
  5185. {
  5186. "type": "integer",
  5187. "description": "委托单号",
  5188. "name": "orderID",
  5189. "in": "query",
  5190. "required": true
  5191. },
  5192. {
  5193. "type": "integer",
  5194. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5195. "name": "accountID",
  5196. "in": "query"
  5197. }
  5198. ],
  5199. "responses": {
  5200. "200": {
  5201. "description": "OK",
  5202. "schema": {
  5203. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5204. }
  5205. },
  5206. "500": {
  5207. "description": "Internal Server Error",
  5208. "schema": {
  5209. "$ref": "#/definitions/app.Response"
  5210. }
  5211. }
  5212. }
  5213. }
  5214. },
  5215. "/HSBY/QueryHsbyMarketGoodses": {
  5216. "get": {
  5217. "security": [
  5218. {
  5219. "ApiKeyAuth": []
  5220. }
  5221. ],
  5222. "produces": [
  5223. "application/json"
  5224. ],
  5225. "tags": [
  5226. "定制【海商报业】"
  5227. ],
  5228. "summary": "查询特卖商品列表(三级商城)",
  5229. "parameters": [
  5230. {
  5231. "type": "integer",
  5232. "description": "页码",
  5233. "name": "page",
  5234. "in": "query"
  5235. },
  5236. {
  5237. "type": "integer",
  5238. "description": "每页条数",
  5239. "name": "pagesize",
  5240. "in": "query"
  5241. },
  5242. {
  5243. "type": "string",
  5244. "description": "市场ID列表,格式:1,2,3",
  5245. "name": "marketIDs",
  5246. "in": "query",
  5247. "required": true
  5248. },
  5249. {
  5250. "type": "integer",
  5251. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5252. "name": "accountID",
  5253. "in": "query",
  5254. "required": true
  5255. },
  5256. {
  5257. "type": "integer",
  5258. "description": "类别ID",
  5259. "name": "categoryID",
  5260. "in": "query"
  5261. },
  5262. {
  5263. "type": "string",
  5264. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5265. "name": "goodsIDs",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5271. "name": "couponTypeID",
  5272. "in": "query"
  5273. }
  5274. ],
  5275. "responses": {
  5276. "200": {
  5277. "description": "OK",
  5278. "schema": {
  5279. "$ref": "#/definitions/models.HsbyMarketGoods"
  5280. }
  5281. },
  5282. "500": {
  5283. "description": "Internal Server Error",
  5284. "schema": {
  5285. "$ref": "#/definitions/app.Response"
  5286. }
  5287. }
  5288. }
  5289. }
  5290. },
  5291. "/HSBY/QueryHsbyMarkets": {
  5292. "get": {
  5293. "security": [
  5294. {
  5295. "ApiKeyAuth": []
  5296. }
  5297. ],
  5298. "produces": [
  5299. "application/json"
  5300. ],
  5301. "tags": [
  5302. "定制【海商报业】"
  5303. ],
  5304. "summary": "查询海商报业相关市场信息",
  5305. "responses": {
  5306. "200": {
  5307. "description": "OK",
  5308. "schema": {
  5309. "$ref": "#/definitions/models.HsbyMarketInfo"
  5310. }
  5311. },
  5312. "500": {
  5313. "description": "Internal Server Error",
  5314. "schema": {
  5315. "$ref": "#/definitions/app.Response"
  5316. }
  5317. }
  5318. }
  5319. }
  5320. },
  5321. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5322. "get": {
  5323. "security": [
  5324. {
  5325. "ApiKeyAuth": []
  5326. }
  5327. ],
  5328. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5329. "produces": [
  5330. "application/json"
  5331. ],
  5332. "tags": [
  5333. "定制【海商报业】"
  5334. ],
  5335. "summary": "查询“我的订单”信息",
  5336. "parameters": [
  5337. {
  5338. "type": "string",
  5339. "description": "资金账户列表,格式:1,2,3",
  5340. "name": "accountIDs",
  5341. "in": "query",
  5342. "required": true
  5343. }
  5344. ],
  5345. "responses": {
  5346. "200": {
  5347. "description": "OK",
  5348. "schema": {
  5349. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5350. }
  5351. },
  5352. "500": {
  5353. "description": "Internal Server Error",
  5354. "schema": {
  5355. "$ref": "#/definitions/app.Response"
  5356. }
  5357. }
  5358. }
  5359. }
  5360. },
  5361. "/HSBY/QueryHsbyMyGoods": {
  5362. "get": {
  5363. "security": [
  5364. {
  5365. "ApiKeyAuth": []
  5366. }
  5367. ],
  5368. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5369. "produces": [
  5370. "application/json"
  5371. ],
  5372. "tags": [
  5373. "定制【海商报业】"
  5374. ],
  5375. "summary": "查询“我的商品”信息",
  5376. "parameters": [
  5377. {
  5378. "type": "string",
  5379. "description": "资金账户列表,格式:1,2,3",
  5380. "name": "accountIDs",
  5381. "in": "query",
  5382. "required": true
  5383. }
  5384. ],
  5385. "responses": {
  5386. "200": {
  5387. "description": "OK",
  5388. "schema": {
  5389. "$ref": "#/definitions/models.HsbyMyGoods"
  5390. }
  5391. },
  5392. "500": {
  5393. "description": "Internal Server Error",
  5394. "schema": {
  5395. "$ref": "#/definitions/app.Response"
  5396. }
  5397. }
  5398. }
  5399. }
  5400. },
  5401. "/HSBY/QueryHsbyMyPackages": {
  5402. "get": {
  5403. "security": [
  5404. {
  5405. "ApiKeyAuth": []
  5406. }
  5407. ],
  5408. "produces": [
  5409. "application/json"
  5410. ],
  5411. "tags": [
  5412. "定制【海商报业】"
  5413. ],
  5414. "summary": "查询我的包裹信息",
  5415. "parameters": [
  5416. {
  5417. "type": "string",
  5418. "description": "资金账户列表,格式:1,2,3",
  5419. "name": "accountIDs",
  5420. "in": "query",
  5421. "required": true
  5422. },
  5423. {
  5424. "type": "integer",
  5425. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5426. "name": "takeOrderStatus",
  5427. "in": "query"
  5428. }
  5429. ],
  5430. "responses": {
  5431. "200": {
  5432. "description": "OK",
  5433. "schema": {
  5434. "$ref": "#/definitions/models.HsbyMyPackage"
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/HSBY/QueryHsbyPreGoodsDetail": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "定制【海商报业】"
  5458. ],
  5459. "summary": "查询一级市场(预售)商品信息详情",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "商品ID",
  5464. "name": "goodsID",
  5465. "in": "query",
  5466. "required": true
  5467. },
  5468. {
  5469. "type": "integer",
  5470. "description": "资金账户,主要用于获取预售商品购买上限",
  5471. "name": "accountID",
  5472. "in": "query"
  5473. }
  5474. ],
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5480. }
  5481. },
  5482. "500": {
  5483. "description": "Internal Server Error",
  5484. "schema": {
  5485. "$ref": "#/definitions/app.Response"
  5486. }
  5487. }
  5488. }
  5489. }
  5490. },
  5491. "/HSBY/QueryHsbyPreGoodses": {
  5492. "get": {
  5493. "security": [
  5494. {
  5495. "ApiKeyAuth": []
  5496. }
  5497. ],
  5498. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5499. "produces": [
  5500. "application/json"
  5501. ],
  5502. "tags": [
  5503. "定制【海商报业】"
  5504. ],
  5505. "summary": "查询新品上市商品列表(一级市场预售)",
  5506. "parameters": [
  5507. {
  5508. "type": "integer",
  5509. "description": "页码",
  5510. "name": "page",
  5511. "in": "query"
  5512. },
  5513. {
  5514. "type": "integer",
  5515. "description": "每页条数",
  5516. "name": "pagesize",
  5517. "in": "query"
  5518. },
  5519. {
  5520. "type": "string",
  5521. "description": "市场ID列表,格式:1,2,3",
  5522. "name": "marketIDs",
  5523. "in": "query",
  5524. "required": true
  5525. },
  5526. {
  5527. "type": "integer",
  5528. "description": "目的地(省)ID",
  5529. "name": "descProvinceID",
  5530. "in": "query"
  5531. },
  5532. {
  5533. "type": "integer",
  5534. "description": "目的地(市)ID",
  5535. "name": "descCityID",
  5536. "in": "query"
  5537. }
  5538. ],
  5539. "responses": {
  5540. "200": {
  5541. "description": "OK",
  5542. "schema": {
  5543. "$ref": "#/definitions/models.HsbyPreGoods"
  5544. }
  5545. },
  5546. "500": {
  5547. "description": "Internal Server Error",
  5548. "schema": {
  5549. "$ref": "#/definitions/app.Response"
  5550. }
  5551. }
  5552. }
  5553. }
  5554. },
  5555. "/HSBY/QueryHsbySellMyDetails": {
  5556. "get": {
  5557. "security": [
  5558. {
  5559. "ApiKeyAuth": []
  5560. }
  5561. ],
  5562. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5563. "produces": [
  5564. "application/json"
  5565. ],
  5566. "tags": [
  5567. "定制【海商报业】"
  5568. ],
  5569. "summary": "查询\"我的闲置\"单据信息",
  5570. "parameters": [
  5571. {
  5572. "type": "integer",
  5573. "description": "页码",
  5574. "name": "page",
  5575. "in": "query"
  5576. },
  5577. {
  5578. "type": "integer",
  5579. "description": "每页条数",
  5580. "name": "pagesize",
  5581. "in": "query"
  5582. },
  5583. {
  5584. "type": "string",
  5585. "description": "资金账户列表,格式:1,2,3",
  5586. "name": "accountIDs",
  5587. "in": "query",
  5588. "required": true
  5589. },
  5590. {
  5591. "type": "integer",
  5592. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5593. "name": "orderType",
  5594. "in": "query"
  5595. }
  5596. ],
  5597. "responses": {
  5598. "200": {
  5599. "description": "OK",
  5600. "schema": {
  5601. "$ref": "#/definitions/models.HsbySellMyDetail"
  5602. }
  5603. },
  5604. "500": {
  5605. "description": "Internal Server Error",
  5606. "schema": {
  5607. "$ref": "#/definitions/app.Response"
  5608. }
  5609. }
  5610. }
  5611. }
  5612. },
  5613. "/HSBY/QueryHsbyTopGoodses": {
  5614. "get": {
  5615. "security": [
  5616. {
  5617. "ApiKeyAuth": []
  5618. }
  5619. ],
  5620. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5621. "produces": [
  5622. "application/json"
  5623. ],
  5624. "tags": [
  5625. "定制【海商报业】"
  5626. ],
  5627. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5628. "parameters": [
  5629. {
  5630. "type": "integer",
  5631. "description": "页码",
  5632. "name": "page",
  5633. "in": "query"
  5634. },
  5635. {
  5636. "type": "integer",
  5637. "description": "每页条数",
  5638. "name": "pagesize",
  5639. "in": "query"
  5640. },
  5641. {
  5642. "type": "string",
  5643. "description": "市场ID列表,格式:1,2,3",
  5644. "name": "marketIDs",
  5645. "in": "query",
  5646. "required": true
  5647. },
  5648. {
  5649. "type": "integer",
  5650. "description": "目的地(省)ID",
  5651. "name": "descProvinceID",
  5652. "in": "query"
  5653. },
  5654. {
  5655. "type": "integer",
  5656. "description": "目的地(市)ID",
  5657. "name": "descCityID",
  5658. "in": "query"
  5659. }
  5660. ],
  5661. "responses": {
  5662. "200": {
  5663. "description": "OK",
  5664. "schema": {
  5665. "$ref": "#/definitions/models.HsbyTopGoods"
  5666. }
  5667. },
  5668. "500": {
  5669. "description": "Internal Server Error",
  5670. "schema": {
  5671. "$ref": "#/definitions/app.Response"
  5672. }
  5673. }
  5674. }
  5675. }
  5676. },
  5677. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5678. "get": {
  5679. "security": [
  5680. {
  5681. "ApiKeyAuth": []
  5682. }
  5683. ],
  5684. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5685. "produces": [
  5686. "application/json"
  5687. ],
  5688. "tags": [
  5689. "定制【海商报业】"
  5690. ],
  5691. "summary": "查询游客三级市场(商城)商品信息详情",
  5692. "parameters": [
  5693. {
  5694. "type": "integer",
  5695. "description": "商品ID",
  5696. "name": "goodsID",
  5697. "in": "query",
  5698. "required": true
  5699. }
  5700. ],
  5701. "responses": {
  5702. "200": {
  5703. "description": "OK",
  5704. "schema": {
  5705. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5706. }
  5707. },
  5708. "500": {
  5709. "description": "Internal Server Error",
  5710. "schema": {
  5711. "$ref": "#/definitions/app.Response"
  5712. }
  5713. }
  5714. }
  5715. }
  5716. },
  5717. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5718. "get": {
  5719. "security": [
  5720. {
  5721. "ApiKeyAuth": []
  5722. }
  5723. ],
  5724. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5725. "produces": [
  5726. "application/json"
  5727. ],
  5728. "tags": [
  5729. "定制【海商报业】"
  5730. ],
  5731. "summary": "查询游客特卖商品列表(三级商城)",
  5732. "parameters": [
  5733. {
  5734. "type": "integer",
  5735. "description": "页码",
  5736. "name": "page",
  5737. "in": "query"
  5738. },
  5739. {
  5740. "type": "integer",
  5741. "description": "每页条数",
  5742. "name": "pagesize",
  5743. "in": "query"
  5744. },
  5745. {
  5746. "type": "string",
  5747. "description": "市场ID列表,格式:1,2,3",
  5748. "name": "marketIDs",
  5749. "in": "query",
  5750. "required": true
  5751. },
  5752. {
  5753. "type": "integer",
  5754. "description": "类别ID",
  5755. "name": "categoryID",
  5756. "in": "query"
  5757. },
  5758. {
  5759. "type": "string",
  5760. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5761. "name": "goodsIDs",
  5762. "in": "query"
  5763. }
  5764. ],
  5765. "responses": {
  5766. "200": {
  5767. "description": "OK",
  5768. "schema": {
  5769. "$ref": "#/definitions/models.HsbyMarketGoods"
  5770. }
  5771. },
  5772. "500": {
  5773. "description": "Internal Server Error",
  5774. "schema": {
  5775. "$ref": "#/definitions/app.Response"
  5776. }
  5777. }
  5778. }
  5779. }
  5780. },
  5781. "/HSBY/QueryMyCollectionOrders": {
  5782. "get": {
  5783. "security": [
  5784. {
  5785. "ApiKeyAuth": []
  5786. }
  5787. ],
  5788. "produces": [
  5789. "application/json"
  5790. ],
  5791. "tags": [
  5792. "定制【海商报业】"
  5793. ],
  5794. "summary": "我的闲置中收款信息查询",
  5795. "parameters": [
  5796. {
  5797. "type": "integer",
  5798. "description": "页码",
  5799. "name": "page",
  5800. "in": "query"
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "每页条数",
  5805. "name": "pagesize",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "string",
  5810. "description": "资金账户,格式:1,2,3",
  5811. "name": "accountIDs",
  5812. "in": "query",
  5813. "required": true
  5814. }
  5815. ],
  5816. "responses": {
  5817. "200": {
  5818. "description": "OK",
  5819. "schema": {
  5820. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5821. }
  5822. },
  5823. "500": {
  5824. "description": "Internal Server Error",
  5825. "schema": {
  5826. "$ref": "#/definitions/app.Response"
  5827. }
  5828. }
  5829. }
  5830. }
  5831. },
  5832. "/HSBY/QueryMyCouponHolds": {
  5833. "get": {
  5834. "security": [
  5835. {
  5836. "ApiKeyAuth": []
  5837. }
  5838. ],
  5839. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5840. "produces": [
  5841. "application/json"
  5842. ],
  5843. "tags": [
  5844. "定制【海商报业】"
  5845. ],
  5846. "summary": "我的优惠卷持仓查询",
  5847. "parameters": [
  5848. {
  5849. "type": "string",
  5850. "description": "资金账户列表,格式:1,2,3",
  5851. "name": "accountIDs",
  5852. "in": "query",
  5853. "required": true
  5854. },
  5855. {
  5856. "type": "string",
  5857. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5858. "name": "holdStatus",
  5859. "in": "query"
  5860. }
  5861. ],
  5862. "responses": {
  5863. "200": {
  5864. "description": "OK",
  5865. "schema": {
  5866. "$ref": "#/definitions/models.MyCouponHold"
  5867. }
  5868. },
  5869. "500": {
  5870. "description": "Internal Server Error",
  5871. "schema": {
  5872. "$ref": "#/definitions/app.Response"
  5873. }
  5874. }
  5875. }
  5876. }
  5877. },
  5878. "/HSBY/QueryMyCoupons": {
  5879. "get": {
  5880. "security": [
  5881. {
  5882. "ApiKeyAuth": []
  5883. }
  5884. ],
  5885. "produces": [
  5886. "application/json"
  5887. ],
  5888. "tags": [
  5889. "定制【海商报业】"
  5890. ],
  5891. "summary": "我的优惠卷查询",
  5892. "parameters": [
  5893. {
  5894. "type": "string",
  5895. "description": "资金账户列表,格式:1,2,3",
  5896. "name": "accountIDs",
  5897. "in": "query",
  5898. "required": true
  5899. },
  5900. {
  5901. "type": "integer",
  5902. "description": "商品ID, 一般与sellUserID配套传入",
  5903. "name": "goodsID",
  5904. "in": "query"
  5905. },
  5906. {
  5907. "type": "integer",
  5908. "description": "卖方UserID",
  5909. "name": "sellUserID",
  5910. "in": "query"
  5911. }
  5912. ],
  5913. "responses": {
  5914. "200": {
  5915. "description": "OK",
  5916. "schema": {
  5917. "$ref": "#/definitions/models.MyCoupon"
  5918. }
  5919. },
  5920. "500": {
  5921. "description": "Internal Server Error",
  5922. "schema": {
  5923. "$ref": "#/definitions/app.Response"
  5924. }
  5925. }
  5926. }
  5927. }
  5928. },
  5929. "/HSBY/QueryMyPayOrders": {
  5930. "get": {
  5931. "security": [
  5932. {
  5933. "ApiKeyAuth": []
  5934. }
  5935. ],
  5936. "produces": [
  5937. "application/json"
  5938. ],
  5939. "tags": [
  5940. "定制【海商报业】"
  5941. ],
  5942. "summary": "获取我的订单中待付款信息",
  5943. "parameters": [
  5944. {
  5945. "type": "integer",
  5946. "description": "页码",
  5947. "name": "page",
  5948. "in": "query"
  5949. },
  5950. {
  5951. "type": "integer",
  5952. "description": "每页条数",
  5953. "name": "pagesize",
  5954. "in": "query"
  5955. },
  5956. {
  5957. "type": "string",
  5958. "description": "资金账户列表,格式:1,2,3",
  5959. "name": "accountIDs",
  5960. "in": "query",
  5961. "required": true
  5962. },
  5963. {
  5964. "type": "integer",
  5965. "description": "买方委托单号",
  5966. "name": "buyOrderID",
  5967. "in": "query"
  5968. },
  5969. {
  5970. "type": "integer",
  5971. "description": "卖方委托单号",
  5972. "name": "sellOrderID",
  5973. "in": "query"
  5974. }
  5975. ],
  5976. "responses": {
  5977. "200": {
  5978. "description": "OK",
  5979. "schema": {
  5980. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5981. }
  5982. },
  5983. "500": {
  5984. "description": "Internal Server Error",
  5985. "schema": {
  5986. "$ref": "#/definitions/app.Response"
  5987. }
  5988. }
  5989. }
  5990. }
  5991. },
  5992. "/HSBY/QueryMyUsedCoupon": {
  5993. "get": {
  5994. "security": [
  5995. {
  5996. "ApiKeyAuth": []
  5997. }
  5998. ],
  5999. "produces": [
  6000. "application/json"
  6001. ],
  6002. "tags": [
  6003. "定制【海商报业】"
  6004. ],
  6005. "summary": "已使用优惠卷查询",
  6006. "parameters": [
  6007. {
  6008. "type": "string",
  6009. "description": "资金账户列表,格式:1,2,3",
  6010. "name": "accountIDs",
  6011. "in": "query",
  6012. "required": true
  6013. }
  6014. ],
  6015. "responses": {
  6016. "200": {
  6017. "description": "OK",
  6018. "schema": {
  6019. "$ref": "#/definitions/models.MyUsedCoupon"
  6020. }
  6021. },
  6022. "500": {
  6023. "description": "Internal Server Error",
  6024. "schema": {
  6025. "$ref": "#/definitions/app.Response"
  6026. }
  6027. }
  6028. }
  6029. }
  6030. },
  6031. "/HSBY/QueryProvincesAndCities": {
  6032. "get": {
  6033. "security": [
  6034. {
  6035. "ApiKeyAuth": []
  6036. }
  6037. ],
  6038. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6039. "produces": [
  6040. "application/json"
  6041. ],
  6042. "tags": [
  6043. "定制【海商报业】"
  6044. ],
  6045. "summary": "查询省市信息(不包括区)",
  6046. "parameters": [
  6047. {
  6048. "type": "integer",
  6049. "description": "省ID",
  6050. "name": "provinceID",
  6051. "in": "query"
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/HSBY/SetHsbyMyPackagesStatus": {
  6071. "post": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "定制【海商报业】"
  6082. ],
  6083. "summary": "设置我的包裹已收货状态",
  6084. "parameters": [
  6085. {
  6086. "type": "string",
  6087. "description": "提货单号",
  6088. "name": "takeOrderID",
  6089. "in": "query",
  6090. "required": true
  6091. },
  6092. {
  6093. "type": "integer",
  6094. "description": "资金账号",
  6095. "name": "accountID",
  6096. "in": "query",
  6097. "required": true
  6098. }
  6099. ],
  6100. "responses": {
  6101. "200": {
  6102. "description": "OK",
  6103. "schema": {
  6104. "$ref": "#/definitions/app.Response"
  6105. }
  6106. },
  6107. "500": {
  6108. "description": "Internal Server Error",
  6109. "schema": {
  6110. "$ref": "#/definitions/app.Response"
  6111. }
  6112. }
  6113. }
  6114. }
  6115. },
  6116. "/Market/QueryGoodsesByLoginID": {
  6117. "get": {
  6118. "security": [
  6119. {
  6120. "ApiKeyAuth": []
  6121. }
  6122. ],
  6123. "produces": [
  6124. "application/json"
  6125. ],
  6126. "tags": [
  6127. "通用市场"
  6128. ],
  6129. "summary": "获取登录账号有权限的商品信息",
  6130. "parameters": [
  6131. {
  6132. "type": "integer",
  6133. "description": "登录账号",
  6134. "name": "loginID",
  6135. "in": "query",
  6136. "required": true
  6137. },
  6138. {
  6139. "type": "string",
  6140. "description": "市场ID列表,格式:1,2,3",
  6141. "name": "marketIDs",
  6142. "in": "query"
  6143. }
  6144. ],
  6145. "responses": {
  6146. "200": {
  6147. "description": "OK",
  6148. "schema": {
  6149. "$ref": "#/definitions/models.Goods"
  6150. }
  6151. },
  6152. "500": {
  6153. "description": "Internal Server Error",
  6154. "schema": {
  6155. "$ref": "#/definitions/app.Response"
  6156. }
  6157. }
  6158. }
  6159. }
  6160. },
  6161. "/Market/QueryMarketRun": {
  6162. "get": {
  6163. "security": [
  6164. {
  6165. "ApiKeyAuth": []
  6166. }
  6167. ],
  6168. "produces": [
  6169. "application/json"
  6170. ],
  6171. "tags": [
  6172. "通用市场"
  6173. ],
  6174. "summary": "查询市场运行信息",
  6175. "parameters": [
  6176. {
  6177. "type": "integer",
  6178. "description": "市场ID,不传返回所有",
  6179. "name": "marketID",
  6180. "in": "query"
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "$ref": "#/definitions/models.Marketrun"
  6188. }
  6189. },
  6190. "500": {
  6191. "description": "Internal Server Error",
  6192. "schema": {
  6193. "$ref": "#/definitions/app.Response"
  6194. }
  6195. }
  6196. }
  6197. }
  6198. },
  6199. "/Market/QueryMarketsByLoginID": {
  6200. "get": {
  6201. "security": [
  6202. {
  6203. "ApiKeyAuth": []
  6204. }
  6205. ],
  6206. "produces": [
  6207. "application/json"
  6208. ],
  6209. "tags": [
  6210. "通用市场"
  6211. ],
  6212. "summary": "获取登录账号有权限的市场信息",
  6213. "parameters": [
  6214. {
  6215. "type": "integer",
  6216. "description": "登录账号",
  6217. "name": "loginID",
  6218. "in": "query",
  6219. "required": true
  6220. }
  6221. ],
  6222. "responses": {
  6223. "200": {
  6224. "description": "OK",
  6225. "schema": {
  6226. "$ref": "#/definitions/models.Market"
  6227. }
  6228. },
  6229. "500": {
  6230. "description": "Internal Server Error",
  6231. "schema": {
  6232. "$ref": "#/definitions/app.Response"
  6233. }
  6234. }
  6235. }
  6236. }
  6237. },
  6238. "/Order/QueryHisTradeDetail": {
  6239. "get": {
  6240. "security": [
  6241. {
  6242. "ApiKeyAuth": []
  6243. }
  6244. ],
  6245. "produces": [
  6246. "application/json"
  6247. ],
  6248. "tags": [
  6249. "通用单据"
  6250. ],
  6251. "summary": "历史成交单查询(合约市场)",
  6252. "parameters": [
  6253. {
  6254. "type": "string",
  6255. "description": "资金账户 - 格式:1,2,3",
  6256. "name": "accountID",
  6257. "in": "query",
  6258. "required": true
  6259. },
  6260. {
  6261. "type": "integer",
  6262. "description": "成交单号",
  6263. "name": "tradeID",
  6264. "in": "query"
  6265. },
  6266. {
  6267. "type": "integer",
  6268. "description": "委托单号",
  6269. "name": "orderID",
  6270. "in": "query"
  6271. },
  6272. {
  6273. "type": "string",
  6274. "description": "交易模式 - 格式:1,2,3",
  6275. "name": "tradeMode",
  6276. "in": "query"
  6277. },
  6278. {
  6279. "type": "integer",
  6280. "description": "委托单据类型",
  6281. "name": "buildType",
  6282. "in": "query"
  6283. },
  6284. {
  6285. "type": "string",
  6286. "description": "成交类别 - 格式:1,2,3",
  6287. "name": "tradeType",
  6288. "in": "query"
  6289. },
  6290. {
  6291. "type": "string",
  6292. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6293. "name": "startDate",
  6294. "in": "query"
  6295. },
  6296. {
  6297. "type": "string",
  6298. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6299. "name": "endDate",
  6300. "in": "query"
  6301. }
  6302. ],
  6303. "responses": {
  6304. "200": {
  6305. "description": "OK",
  6306. "schema": {
  6307. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6308. }
  6309. },
  6310. "500": {
  6311. "description": "Internal Server Error",
  6312. "schema": {
  6313. "$ref": "#/definitions/app.Response"
  6314. }
  6315. }
  6316. }
  6317. }
  6318. },
  6319. "/Order/QueryHisTradeOrderDetail": {
  6320. "get": {
  6321. "security": [
  6322. {
  6323. "ApiKeyAuth": []
  6324. }
  6325. ],
  6326. "produces": [
  6327. "application/json"
  6328. ],
  6329. "tags": [
  6330. "通用单据"
  6331. ],
  6332. "summary": "历史委托单查询请求(合约市场)",
  6333. "parameters": [
  6334. {
  6335. "type": "string",
  6336. "description": "资金账户 - 格式:1,2,3",
  6337. "name": "accountID",
  6338. "in": "query",
  6339. "required": true
  6340. },
  6341. {
  6342. "type": "string",
  6343. "description": "交易模式 - 格式:1,2,3",
  6344. "name": "tradeMode",
  6345. "in": "query"
  6346. },
  6347. {
  6348. "type": "string",
  6349. "description": "委托状态 - 格式:1,2,3",
  6350. "name": "orderStatus",
  6351. "in": "query"
  6352. },
  6353. {
  6354. "type": "integer",
  6355. "description": "委托单号",
  6356. "name": "orderID",
  6357. "in": "query"
  6358. },
  6359. {
  6360. "type": "string",
  6361. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6362. "name": "startDate",
  6363. "in": "query"
  6364. },
  6365. {
  6366. "type": "string",
  6367. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6368. "name": "endDate",
  6369. "in": "query"
  6370. }
  6371. ],
  6372. "responses": {
  6373. "200": {
  6374. "description": "OK",
  6375. "schema": {
  6376. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6377. }
  6378. },
  6379. "500": {
  6380. "description": "Internal Server Error",
  6381. "schema": {
  6382. "$ref": "#/definitions/app.Response"
  6383. }
  6384. }
  6385. }
  6386. }
  6387. },
  6388. "/Order/QueryTradeDetail": {
  6389. "get": {
  6390. "security": [
  6391. {
  6392. "ApiKeyAuth": []
  6393. }
  6394. ],
  6395. "produces": [
  6396. "application/json"
  6397. ],
  6398. "tags": [
  6399. "通用单据"
  6400. ],
  6401. "summary": "成交单查询(合约市场)",
  6402. "parameters": [
  6403. {
  6404. "type": "string",
  6405. "description": "资金账户 - 格式:1,2,3",
  6406. "name": "accountID",
  6407. "in": "query",
  6408. "required": true
  6409. },
  6410. {
  6411. "type": "integer",
  6412. "description": "成交单号",
  6413. "name": "tradeID",
  6414. "in": "query"
  6415. },
  6416. {
  6417. "type": "integer",
  6418. "description": "委托单号",
  6419. "name": "orderID",
  6420. "in": "query"
  6421. },
  6422. {
  6423. "type": "string",
  6424. "description": "交易模式 - 格式:1,2,3",
  6425. "name": "tradeMode",
  6426. "in": "query"
  6427. },
  6428. {
  6429. "type": "integer",
  6430. "description": "委托单据类型",
  6431. "name": "buildType",
  6432. "in": "query"
  6433. },
  6434. {
  6435. "type": "string",
  6436. "description": "成交类别 - 格式:1,2,3",
  6437. "name": "tradeType",
  6438. "in": "query"
  6439. }
  6440. ],
  6441. "responses": {
  6442. "200": {
  6443. "description": "OK",
  6444. "schema": {
  6445. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6446. }
  6447. },
  6448. "500": {
  6449. "description": "Internal Server Error",
  6450. "schema": {
  6451. "$ref": "#/definitions/app.Response"
  6452. }
  6453. }
  6454. }
  6455. }
  6456. },
  6457. "/Order/QueryTradeOrderDetail": {
  6458. "get": {
  6459. "security": [
  6460. {
  6461. "ApiKeyAuth": []
  6462. }
  6463. ],
  6464. "produces": [
  6465. "application/json"
  6466. ],
  6467. "tags": [
  6468. "通用单据"
  6469. ],
  6470. "summary": "委托单查询请求(合约市场)",
  6471. "parameters": [
  6472. {
  6473. "type": "string",
  6474. "description": "资金账户 - 格式:1,2,3",
  6475. "name": "accountID",
  6476. "in": "query",
  6477. "required": true
  6478. },
  6479. {
  6480. "type": "string",
  6481. "description": "交易模式 - 格式:1,2,3",
  6482. "name": "tradeMode",
  6483. "in": "query"
  6484. },
  6485. {
  6486. "type": "string",
  6487. "description": "委托状态 - 格式:1,2,3",
  6488. "name": "orderStatus",
  6489. "in": "query"
  6490. },
  6491. {
  6492. "type": "integer",
  6493. "description": "委托单号",
  6494. "name": "orderID",
  6495. "in": "query"
  6496. }
  6497. ],
  6498. "responses": {
  6499. "200": {
  6500. "description": "OK",
  6501. "schema": {
  6502. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6503. }
  6504. },
  6505. "500": {
  6506. "description": "Internal Server Error",
  6507. "schema": {
  6508. "$ref": "#/definitions/app.Response"
  6509. }
  6510. }
  6511. }
  6512. }
  6513. },
  6514. "/Order/QueryTradePosition": {
  6515. "get": {
  6516. "security": [
  6517. {
  6518. "ApiKeyAuth": []
  6519. }
  6520. ],
  6521. "produces": [
  6522. "application/json"
  6523. ],
  6524. "tags": [
  6525. "通用单据"
  6526. ],
  6527. "summary": "持仓汇总查询(合约市场)",
  6528. "parameters": [
  6529. {
  6530. "type": "string",
  6531. "description": "资金账户 - 格式:1,2,3",
  6532. "name": "accountID",
  6533. "in": "query",
  6534. "required": true
  6535. },
  6536. {
  6537. "type": "string",
  6538. "description": "交易模式 - 格式:1,2,3",
  6539. "name": "tradeMode",
  6540. "in": "query"
  6541. }
  6542. ],
  6543. "responses": {
  6544. "200": {
  6545. "description": "OK",
  6546. "schema": {
  6547. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6548. }
  6549. },
  6550. "500": {
  6551. "description": "Internal Server Error",
  6552. "schema": {
  6553. "$ref": "#/definitions/app.Response"
  6554. }
  6555. }
  6556. }
  6557. }
  6558. },
  6559. "/Quote/QueryHistoryDatas": {
  6560. "get": {
  6561. "security": [
  6562. {
  6563. "ApiKeyAuth": []
  6564. }
  6565. ],
  6566. "produces": [
  6567. "application/json"
  6568. ],
  6569. "tags": [
  6570. "行情服务"
  6571. ],
  6572. "summary": "查询行情历史数据",
  6573. "parameters": [
  6574. {
  6575. "type": "integer",
  6576. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6577. "name": "cycleType",
  6578. "in": "query",
  6579. "required": true
  6580. },
  6581. {
  6582. "type": "string",
  6583. "description": "商品代码",
  6584. "name": "goodsCode",
  6585. "in": "query",
  6586. "required": true
  6587. },
  6588. {
  6589. "type": "string",
  6590. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6591. "name": "startTime",
  6592. "in": "query"
  6593. },
  6594. {
  6595. "type": "string",
  6596. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6597. "name": "endTime",
  6598. "in": "query"
  6599. },
  6600. {
  6601. "type": "integer",
  6602. "description": "条数",
  6603. "name": "count",
  6604. "in": "query"
  6605. },
  6606. {
  6607. "type": "boolean",
  6608. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6609. "name": "isAsc",
  6610. "in": "query"
  6611. }
  6612. ],
  6613. "responses": {
  6614. "200": {
  6615. "description": "OK",
  6616. "schema": {
  6617. "$ref": "#/definitions/quote.HistoryData"
  6618. }
  6619. },
  6620. "500": {
  6621. "description": "Internal Server Error",
  6622. "schema": {
  6623. "$ref": "#/definitions/app.Response"
  6624. }
  6625. }
  6626. }
  6627. }
  6628. },
  6629. "/Quote/QueryHistoryTikDatas": {
  6630. "get": {
  6631. "security": [
  6632. {
  6633. "ApiKeyAuth": []
  6634. }
  6635. ],
  6636. "produces": [
  6637. "application/json"
  6638. ],
  6639. "tags": [
  6640. "行情服务"
  6641. ],
  6642. "summary": "查询行情Tik数据",
  6643. "parameters": [
  6644. {
  6645. "type": "string",
  6646. "description": "商品代码",
  6647. "name": "goodsCode",
  6648. "in": "query",
  6649. "required": true
  6650. },
  6651. {
  6652. "type": "string",
  6653. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6654. "name": "startTime",
  6655. "in": "query"
  6656. },
  6657. {
  6658. "type": "string",
  6659. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6660. "name": "endTime",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "integer",
  6665. "description": "条数",
  6666. "name": "count",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "boolean",
  6671. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6672. "name": "isAsc",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "$ref": "#/definitions/quote.HistoryTikData"
  6681. }
  6682. },
  6683. "500": {
  6684. "description": "Internal Server Error",
  6685. "schema": {
  6686. "$ref": "#/definitions/app.Response"
  6687. }
  6688. }
  6689. }
  6690. }
  6691. },
  6692. "/Quote/QueryQuoteDay": {
  6693. "get": {
  6694. "security": [
  6695. {
  6696. "ApiKeyAuth": []
  6697. }
  6698. ],
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "行情服务"
  6704. ],
  6705. "summary": "获取商品盘面信息",
  6706. "parameters": [
  6707. {
  6708. "type": "string",
  6709. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6710. "name": "goodsCodes",
  6711. "in": "query",
  6712. "required": true
  6713. }
  6714. ],
  6715. "responses": {
  6716. "200": {
  6717. "description": "OK",
  6718. "schema": {
  6719. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6720. }
  6721. },
  6722. "500": {
  6723. "description": "Internal Server Error",
  6724. "schema": {
  6725. "$ref": "#/definitions/app.Response"
  6726. }
  6727. }
  6728. }
  6729. }
  6730. },
  6731. "/Quote/QueryTSData": {
  6732. "get": {
  6733. "security": [
  6734. {
  6735. "ApiKeyAuth": []
  6736. }
  6737. ],
  6738. "produces": [
  6739. "application/json"
  6740. ],
  6741. "tags": [
  6742. "行情服务"
  6743. ],
  6744. "summary": "分时图数据查询",
  6745. "parameters": [
  6746. {
  6747. "type": "string",
  6748. "description": "商品代码",
  6749. "name": "goodsCode",
  6750. "in": "query",
  6751. "required": true
  6752. }
  6753. ],
  6754. "responses": {
  6755. "200": {
  6756. "description": "OK",
  6757. "schema": {
  6758. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6759. }
  6760. },
  6761. "500": {
  6762. "description": "Internal Server Error",
  6763. "schema": {
  6764. "$ref": "#/definitions/app.Response"
  6765. }
  6766. }
  6767. }
  6768. }
  6769. },
  6770. "/SZDZ/QueryConvertConfig": {
  6771. "get": {
  6772. "security": [
  6773. {
  6774. "ApiKeyAuth": []
  6775. }
  6776. ],
  6777. "produces": [
  6778. "application/json"
  6779. ],
  6780. "tags": [
  6781. "定制【尚志大宗】"
  6782. ],
  6783. "summary": "查询交易系统转换设置",
  6784. "parameters": [
  6785. {
  6786. "type": "integer",
  6787. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6788. "name": "convertType",
  6789. "in": "query"
  6790. },
  6791. {
  6792. "type": "string",
  6793. "description": "外部商品代码[JD\\PD]",
  6794. "name": "outerGoodsCode",
  6795. "in": "query"
  6796. },
  6797. {
  6798. "type": "string",
  6799. "description": "内部商品ID列表[交易],格式:1,2,3",
  6800. "name": "innerGoodsIDs",
  6801. "in": "query"
  6802. }
  6803. ],
  6804. "responses": {
  6805. "200": {
  6806. "description": "OK",
  6807. "schema": {
  6808. "$ref": "#/definitions/models.Szdz3convertconfig"
  6809. }
  6810. },
  6811. "500": {
  6812. "description": "Internal Server Error",
  6813. "schema": {
  6814. "$ref": "#/definitions/app.Response"
  6815. }
  6816. }
  6817. }
  6818. }
  6819. },
  6820. "/SZDZ/QueryConvertLog": {
  6821. "get": {
  6822. "security": [
  6823. {
  6824. "ApiKeyAuth": []
  6825. }
  6826. ],
  6827. "produces": [
  6828. "application/json"
  6829. ],
  6830. "tags": [
  6831. "定制【尚志大宗】"
  6832. ],
  6833. "summary": "交易系统转换流水查询",
  6834. "parameters": [
  6835. {
  6836. "type": "string",
  6837. "description": "资金账户 - 格式:1,2,3",
  6838. "name": "accountID",
  6839. "in": "query",
  6840. "required": true
  6841. },
  6842. {
  6843. "type": "string",
  6844. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6845. "name": "startDate",
  6846. "in": "query"
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6851. "name": "endDate",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/SZDZ/QueryGoodsPickup": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "定制【尚志大宗】"
  6883. ],
  6884. "summary": "商品提货单查询",
  6885. "parameters": [
  6886. {
  6887. "type": "string",
  6888. "description": "资金账户 - 格式:1,2,3",
  6889. "name": "accountID",
  6890. "in": "query",
  6891. "required": true
  6892. },
  6893. {
  6894. "type": "integer",
  6895. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6896. "name": "takeOrderStatus",
  6897. "in": "query"
  6898. }
  6899. ],
  6900. "responses": {
  6901. "200": {
  6902. "description": "OK",
  6903. "schema": {
  6904. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6905. }
  6906. },
  6907. "500": {
  6908. "description": "Internal Server Error",
  6909. "schema": {
  6910. "$ref": "#/definitions/app.Response"
  6911. }
  6912. }
  6913. }
  6914. }
  6915. },
  6916. "/SZDZ/QueryRecieptOrder": {
  6917. "get": {
  6918. "security": [
  6919. {
  6920. "ApiKeyAuth": []
  6921. }
  6922. ],
  6923. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6924. "produces": [
  6925. "application/json"
  6926. ],
  6927. "tags": [
  6928. "定制【尚志大宗】"
  6929. ],
  6930. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6931. "parameters": [
  6932. {
  6933. "type": "integer",
  6934. "description": "页码",
  6935. "name": "page",
  6936. "in": "query"
  6937. },
  6938. {
  6939. "type": "integer",
  6940. "description": "每页条数",
  6941. "name": "pagesize",
  6942. "in": "query"
  6943. },
  6944. {
  6945. "type": "integer",
  6946. "description": "商品ID",
  6947. "name": "goodsID",
  6948. "in": "query",
  6949. "required": true
  6950. },
  6951. {
  6952. "type": "string",
  6953. "description": "所属账户名称",
  6954. "name": "accountName",
  6955. "in": "query"
  6956. },
  6957. {
  6958. "type": "integer",
  6959. "description": "市场ID",
  6960. "name": "marketID",
  6961. "in": "query"
  6962. },
  6963. {
  6964. "type": "integer",
  6965. "description": "方向 - 0:买 1:卖",
  6966. "name": "buyorsell",
  6967. "in": "query",
  6968. "required": true
  6969. }
  6970. ],
  6971. "responses": {
  6972. "200": {
  6973. "description": "OK",
  6974. "schema": {
  6975. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6976. }
  6977. },
  6978. "500": {
  6979. "description": "Internal Server Error",
  6980. "schema": {
  6981. "$ref": "#/definitions/app.Response"
  6982. }
  6983. }
  6984. }
  6985. }
  6986. },
  6987. "/SZDZ/QuerySZDZTradePosition": {
  6988. "get": {
  6989. "security": [
  6990. {
  6991. "ApiKeyAuth": []
  6992. }
  6993. ],
  6994. "produces": [
  6995. "application/json"
  6996. ],
  6997. "tags": [
  6998. "定制【尚志大宗】"
  6999. ],
  7000. "summary": "持仓汇总查询(尚志大宗)",
  7001. "parameters": [
  7002. {
  7003. "type": "integer",
  7004. "description": "资金账户",
  7005. "name": "accountID",
  7006. "in": "query",
  7007. "required": true
  7008. }
  7009. ],
  7010. "responses": {
  7011. "200": {
  7012. "description": "OK",
  7013. "schema": {
  7014. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7015. }
  7016. },
  7017. "500": {
  7018. "description": "Internal Server Error",
  7019. "schema": {
  7020. "$ref": "#/definitions/app.Response"
  7021. }
  7022. }
  7023. }
  7024. }
  7025. },
  7026. "/SZDZ/SearchWhite": {
  7027. "get": {
  7028. "security": [
  7029. {
  7030. "ApiKeyAuth": []
  7031. }
  7032. ],
  7033. "produces": [
  7034. "application/json"
  7035. ],
  7036. "tags": [
  7037. "定制【尚志大宗】"
  7038. ],
  7039. "summary": "搜索白名单",
  7040. "parameters": [
  7041. {
  7042. "type": "integer",
  7043. "description": "用户ID",
  7044. "name": "userID",
  7045. "in": "query",
  7046. "required": true
  7047. }
  7048. ],
  7049. "responses": {
  7050. "200": {
  7051. "description": "OK",
  7052. "schema": {
  7053. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7054. }
  7055. },
  7056. "500": {
  7057. "description": "Internal Server Error",
  7058. "schema": {
  7059. "$ref": "#/definitions/app.Response"
  7060. }
  7061. }
  7062. }
  7063. }
  7064. },
  7065. "/Search/SearchGoodses": {
  7066. "get": {
  7067. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7068. "produces": [
  7069. "application/json"
  7070. ],
  7071. "tags": [
  7072. "检索服务"
  7073. ],
  7074. "summary": "检索商品信息",
  7075. "parameters": [
  7076. {
  7077. "type": "string",
  7078. "description": "检索内容",
  7079. "name": "content",
  7080. "in": "query",
  7081. "required": true
  7082. },
  7083. {
  7084. "type": "string",
  7085. "description": "交易模式,格式:1,2,3",
  7086. "name": "tradeModes",
  7087. "in": "query"
  7088. }
  7089. ],
  7090. "responses": {
  7091. "200": {
  7092. "description": "OK",
  7093. "schema": {
  7094. "$ref": "#/definitions/models.SearchGoods"
  7095. }
  7096. },
  7097. "500": {
  7098. "description": "Internal Server Error",
  7099. "schema": {
  7100. "$ref": "#/definitions/app.Response"
  7101. }
  7102. }
  7103. }
  7104. }
  7105. },
  7106. "/TaAccount/GetTaAccounts": {
  7107. "get": {
  7108. "security": [
  7109. {
  7110. "ApiKeyAuth": []
  7111. }
  7112. ],
  7113. "produces": [
  7114. "application/json"
  7115. ],
  7116. "tags": [
  7117. "资金账户"
  7118. ],
  7119. "summary": "获取资金账户信息",
  7120. "parameters": [
  7121. {
  7122. "type": "integer",
  7123. "description": "登录账户",
  7124. "name": "loginID",
  7125. "in": "query",
  7126. "required": true
  7127. },
  7128. {
  7129. "type": "integer",
  7130. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7131. "name": "taAccountType",
  7132. "in": "query"
  7133. }
  7134. ],
  7135. "responses": {
  7136. "200": {
  7137. "description": "OK",
  7138. "schema": {
  7139. "$ref": "#/definitions/models.Taaccount"
  7140. }
  7141. },
  7142. "500": {
  7143. "description": "Internal Server Error",
  7144. "schema": {
  7145. "$ref": "#/definitions/app.Response"
  7146. }
  7147. }
  7148. }
  7149. }
  7150. },
  7151. "/TaAccount/QueryAmountLog": {
  7152. "get": {
  7153. "security": [
  7154. {
  7155. "ApiKeyAuth": []
  7156. }
  7157. ],
  7158. "produces": [
  7159. "application/json"
  7160. ],
  7161. "tags": [
  7162. "资金账户"
  7163. ],
  7164. "summary": "资金流水查询(当前)",
  7165. "parameters": [
  7166. {
  7167. "type": "integer",
  7168. "description": "页码",
  7169. "name": "page",
  7170. "in": "query"
  7171. },
  7172. {
  7173. "type": "integer",
  7174. "description": "每页条数",
  7175. "name": "pagesize",
  7176. "in": "query"
  7177. },
  7178. {
  7179. "type": "string",
  7180. "description": "资金账户 - 格式:1,2,3",
  7181. "name": "accountID",
  7182. "in": "query",
  7183. "required": true
  7184. },
  7185. {
  7186. "type": "string",
  7187. "description": "资金操作类型 - 格式:1,2,3",
  7188. "name": "OperateType",
  7189. "in": "query"
  7190. }
  7191. ],
  7192. "responses": {
  7193. "200": {
  7194. "description": "OK",
  7195. "schema": {
  7196. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7197. }
  7198. },
  7199. "500": {
  7200. "description": "Internal Server Error",
  7201. "schema": {
  7202. "$ref": "#/definitions/app.Response"
  7203. }
  7204. }
  7205. }
  7206. }
  7207. },
  7208. "/TaAccount/QueryHisAmountLog": {
  7209. "get": {
  7210. "security": [
  7211. {
  7212. "ApiKeyAuth": []
  7213. }
  7214. ],
  7215. "produces": [
  7216. "application/json"
  7217. ],
  7218. "tags": [
  7219. "资金账户"
  7220. ],
  7221. "summary": "资金流水查询(历史)",
  7222. "parameters": [
  7223. {
  7224. "type": "integer",
  7225. "description": "页码",
  7226. "name": "page",
  7227. "in": "query"
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": "每页条数",
  7232. "name": "pagesize",
  7233. "in": "query"
  7234. },
  7235. {
  7236. "type": "string",
  7237. "description": "资金账户 - 格式:1,2,3",
  7238. "name": "accountID",
  7239. "in": "query",
  7240. "required": true
  7241. },
  7242. {
  7243. "type": "string",
  7244. "description": "资金操作类型 - 格式:1,2,3",
  7245. "name": "OperateType",
  7246. "in": "query"
  7247. },
  7248. {
  7249. "type": "string",
  7250. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7251. "name": "startDate",
  7252. "in": "query"
  7253. },
  7254. {
  7255. "type": "string",
  7256. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7257. "name": "endDate",
  7258. "in": "query"
  7259. }
  7260. ],
  7261. "responses": {
  7262. "200": {
  7263. "description": "OK",
  7264. "schema": {
  7265. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7266. }
  7267. },
  7268. "500": {
  7269. "description": "Internal Server Error",
  7270. "schema": {
  7271. "$ref": "#/definitions/app.Response"
  7272. }
  7273. }
  7274. }
  7275. }
  7276. },
  7277. "/Trade/QueryRecieptOrder": {
  7278. "get": {
  7279. "security": [
  7280. {
  7281. "ApiKeyAuth": []
  7282. }
  7283. ],
  7284. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7285. "produces": [
  7286. "application/json"
  7287. ],
  7288. "tags": [
  7289. "通用交易"
  7290. ],
  7291. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7292. "parameters": [
  7293. {
  7294. "type": "integer",
  7295. "description": "页码",
  7296. "name": "page",
  7297. "in": "query"
  7298. },
  7299. {
  7300. "type": "integer",
  7301. "description": "每页条数",
  7302. "name": "pagesize",
  7303. "in": "query"
  7304. },
  7305. {
  7306. "type": "integer",
  7307. "description": "商品ID",
  7308. "name": "goodsID",
  7309. "in": "query",
  7310. "required": true
  7311. },
  7312. {
  7313. "type": "string",
  7314. "description": "所属账户名称",
  7315. "name": "accountName",
  7316. "in": "query"
  7317. },
  7318. {
  7319. "type": "integer",
  7320. "description": "市场ID",
  7321. "name": "marketID",
  7322. "in": "query"
  7323. },
  7324. {
  7325. "type": "integer",
  7326. "description": "方向 - 0:买 1:卖",
  7327. "name": "buyorsell",
  7328. "in": "query",
  7329. "required": true
  7330. }
  7331. ],
  7332. "responses": {
  7333. "200": {
  7334. "description": "OK",
  7335. "schema": {
  7336. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/User/AddMessageBoard": {
  7349. "post": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "用户信息"
  7360. ],
  7361. "summary": "添加用户留言板信息",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "用户ID",
  7366. "name": "userID",
  7367. "in": "query",
  7368. "required": true
  7369. },
  7370. {
  7371. "type": "string",
  7372. "description": "留言信息",
  7373. "name": "message",
  7374. "in": "query",
  7375. "required": true
  7376. },
  7377. {
  7378. "type": "string",
  7379. "description": "联系电话",
  7380. "name": "contactNum",
  7381. "in": "query",
  7382. "required": true
  7383. }
  7384. ],
  7385. "responses": {
  7386. "200": {
  7387. "description": "OK",
  7388. "schema": {
  7389. "$ref": "#/definitions/app.Response"
  7390. }
  7391. },
  7392. "500": {
  7393. "description": "Internal Server Error",
  7394. "schema": {
  7395. "$ref": "#/definitions/app.Response"
  7396. }
  7397. }
  7398. }
  7399. }
  7400. },
  7401. "/User/AddUserFavoriteGoods": {
  7402. "post": {
  7403. "security": [
  7404. {
  7405. "ApiKeyAuth": []
  7406. }
  7407. ],
  7408. "produces": [
  7409. "application/json"
  7410. ],
  7411. "tags": [
  7412. "用户信息"
  7413. ],
  7414. "summary": "添加用户商品收藏信息",
  7415. "parameters": [
  7416. {
  7417. "type": "integer",
  7418. "description": "用户ID",
  7419. "name": "userID",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "商品ID",
  7426. "name": "goodsID",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "$ref": "#/definitions/app.Response"
  7436. }
  7437. },
  7438. "500": {
  7439. "description": "Internal Server Error",
  7440. "schema": {
  7441. "$ref": "#/definitions/app.Response"
  7442. }
  7443. }
  7444. }
  7445. }
  7446. },
  7447. "/User/GetLoginID": {
  7448. "get": {
  7449. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7450. "produces": [
  7451. "application/json"
  7452. ],
  7453. "tags": [
  7454. "用户信息"
  7455. ],
  7456. "summary": "获取登录ID",
  7457. "parameters": [
  7458. {
  7459. "type": "string",
  7460. "description": "登录代码",
  7461. "name": "username",
  7462. "in": "query",
  7463. "required": true
  7464. }
  7465. ],
  7466. "responses": {
  7467. "200": {
  7468. "description": "OK",
  7469. "schema": {
  7470. "$ref": "#/definitions/app.Response"
  7471. }
  7472. },
  7473. "500": {
  7474. "description": "Internal Server Error",
  7475. "schema": {
  7476. "$ref": "#/definitions/app.Response"
  7477. }
  7478. }
  7479. }
  7480. }
  7481. },
  7482. "/User/GetUserAccount": {
  7483. "get": {
  7484. "security": [
  7485. {
  7486. "ApiKeyAuth": []
  7487. }
  7488. ],
  7489. "produces": [
  7490. "application/json"
  7491. ],
  7492. "tags": [
  7493. "用户信息"
  7494. ],
  7495. "summary": "获取用户账号信息",
  7496. "parameters": [
  7497. {
  7498. "type": "integer",
  7499. "description": "用户ID",
  7500. "name": "userID",
  7501. "in": "query",
  7502. "required": true
  7503. }
  7504. ],
  7505. "responses": {
  7506. "200": {
  7507. "description": "OK",
  7508. "schema": {
  7509. "$ref": "#/definitions/models.Useraccount"
  7510. }
  7511. },
  7512. "500": {
  7513. "description": "Internal Server Error",
  7514. "schema": {
  7515. "$ref": "#/definitions/app.Response"
  7516. }
  7517. }
  7518. }
  7519. }
  7520. },
  7521. "/User/GetUserAuthStatus": {
  7522. "get": {
  7523. "security": [
  7524. {
  7525. "ApiKeyAuth": []
  7526. }
  7527. ],
  7528. "produces": [
  7529. "application/json"
  7530. ],
  7531. "tags": [
  7532. "用户信息"
  7533. ],
  7534. "summary": "获取用户实名认证状态",
  7535. "parameters": [
  7536. {
  7537. "type": "integer",
  7538. "description": "用户ID",
  7539. "name": "userID",
  7540. "in": "query",
  7541. "required": true
  7542. }
  7543. ],
  7544. "responses": {
  7545. "200": {
  7546. "description": "OK",
  7547. "schema": {
  7548. "$ref": "#/definitions/app.Response"
  7549. }
  7550. },
  7551. "500": {
  7552. "description": "Internal Server Error",
  7553. "schema": {
  7554. "$ref": "#/definitions/app.Response"
  7555. }
  7556. }
  7557. }
  7558. }
  7559. },
  7560. "/User/LoginQuery": {
  7561. "get": {
  7562. "security": [
  7563. {
  7564. "ApiKeyAuth": []
  7565. }
  7566. ],
  7567. "produces": [
  7568. "application/json"
  7569. ],
  7570. "tags": [
  7571. "用户信息"
  7572. ],
  7573. "summary": "账户登录后信息查询",
  7574. "parameters": [
  7575. {
  7576. "type": "integer",
  7577. "description": "登录账号",
  7578. "name": "loginID",
  7579. "in": "query",
  7580. "required": true
  7581. }
  7582. ],
  7583. "responses": {
  7584. "200": {
  7585. "description": "OK",
  7586. "schema": {
  7587. "$ref": "#/definitions/user.LoginQueryRsp"
  7588. }
  7589. },
  7590. "500": {
  7591. "description": "Internal Server Error",
  7592. "schema": {
  7593. "$ref": "#/definitions/app.Response"
  7594. }
  7595. }
  7596. }
  7597. }
  7598. },
  7599. "/User/QueryMessageBoard": {
  7600. "get": {
  7601. "security": [
  7602. {
  7603. "ApiKeyAuth": []
  7604. }
  7605. ],
  7606. "produces": [
  7607. "application/json"
  7608. ],
  7609. "tags": [
  7610. "用户信息"
  7611. ],
  7612. "summary": "获取用户留言板信息",
  7613. "parameters": [
  7614. {
  7615. "type": "integer",
  7616. "description": "用户ID",
  7617. "name": "userID",
  7618. "in": "query",
  7619. "required": true
  7620. }
  7621. ],
  7622. "responses": {
  7623. "200": {
  7624. "description": "OK",
  7625. "schema": {
  7626. "$ref": "#/definitions/models.Messageboard"
  7627. }
  7628. },
  7629. "500": {
  7630. "description": "Internal Server Error",
  7631. "schema": {
  7632. "$ref": "#/definitions/app.Response"
  7633. }
  7634. }
  7635. }
  7636. }
  7637. },
  7638. "/User/QueryUserFavoriteGoodses": {
  7639. "get": {
  7640. "security": [
  7641. {
  7642. "ApiKeyAuth": []
  7643. }
  7644. ],
  7645. "produces": [
  7646. "application/json"
  7647. ],
  7648. "tags": [
  7649. "用户信息"
  7650. ],
  7651. "summary": "获取用户商品收藏信息",
  7652. "parameters": [
  7653. {
  7654. "type": "integer",
  7655. "description": "用户ID",
  7656. "name": "userID",
  7657. "in": "query",
  7658. "required": true
  7659. }
  7660. ],
  7661. "responses": {
  7662. "200": {
  7663. "description": "OK",
  7664. "schema": {
  7665. "$ref": "#/definitions/models.Userfavoritegoods"
  7666. }
  7667. },
  7668. "500": {
  7669. "description": "Internal Server Error",
  7670. "schema": {
  7671. "$ref": "#/definitions/app.Response"
  7672. }
  7673. }
  7674. }
  7675. }
  7676. },
  7677. "/User/QueryUserInfo": {
  7678. "get": {
  7679. "security": [
  7680. {
  7681. "ApiKeyAuth": []
  7682. }
  7683. ],
  7684. "produces": [
  7685. "application/json"
  7686. ],
  7687. "tags": [
  7688. "用户信息"
  7689. ],
  7690. "summary": "获取用户信息",
  7691. "parameters": [
  7692. {
  7693. "type": "integer",
  7694. "description": "用户ID",
  7695. "name": "userID",
  7696. "in": "query",
  7697. "required": true
  7698. },
  7699. {
  7700. "type": "boolean",
  7701. "description": "是否解密",
  7702. "name": "isDecrypt",
  7703. "in": "query"
  7704. }
  7705. ],
  7706. "responses": {
  7707. "200": {
  7708. "description": "OK",
  7709. "schema": {
  7710. "$ref": "#/definitions/models.Userinfo"
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/User/QueryUserReferNum": {
  7723. "get": {
  7724. "produces": [
  7725. "application/json"
  7726. ],
  7727. "tags": [
  7728. "用户信息"
  7729. ],
  7730. "summary": "获取用户邀请码",
  7731. "parameters": [
  7732. {
  7733. "type": "integer",
  7734. "description": "用户ID",
  7735. "name": "userID",
  7736. "in": "query",
  7737. "required": true
  7738. }
  7739. ],
  7740. "responses": {
  7741. "200": {
  7742. "description": "OK",
  7743. "schema": {
  7744. "$ref": "#/definitions/app.Response"
  7745. }
  7746. },
  7747. "500": {
  7748. "description": "Internal Server Error",
  7749. "schema": {
  7750. "$ref": "#/definitions/app.Response"
  7751. }
  7752. }
  7753. }
  7754. }
  7755. },
  7756. "/User/RemoveUserFavoriteGoods": {
  7757. "post": {
  7758. "security": [
  7759. {
  7760. "ApiKeyAuth": []
  7761. }
  7762. ],
  7763. "produces": [
  7764. "application/json"
  7765. ],
  7766. "tags": [
  7767. "用户信息"
  7768. ],
  7769. "summary": "移除用户商品收藏信息",
  7770. "parameters": [
  7771. {
  7772. "type": "integer",
  7773. "description": "用户ID",
  7774. "name": "userID",
  7775. "in": "query",
  7776. "required": true
  7777. },
  7778. {
  7779. "type": "integer",
  7780. "description": "商品ID",
  7781. "name": "goodsID",
  7782. "in": "query",
  7783. "required": true
  7784. }
  7785. ],
  7786. "responses": {
  7787. "200": {
  7788. "description": "OK",
  7789. "schema": {
  7790. "$ref": "#/definitions/app.Response"
  7791. }
  7792. },
  7793. "500": {
  7794. "description": "Internal Server Error",
  7795. "schema": {
  7796. "$ref": "#/definitions/app.Response"
  7797. }
  7798. }
  7799. }
  7800. }
  7801. },
  7802. "/User/UpdateUserAccountStatus": {
  7803. "post": {
  7804. "security": [
  7805. {
  7806. "ApiKeyAuth": []
  7807. }
  7808. ],
  7809. "produces": [
  7810. "application/json"
  7811. ],
  7812. "tags": [
  7813. "用户信息"
  7814. ],
  7815. "summary": "更新用户状态",
  7816. "parameters": [
  7817. {
  7818. "type": "integer",
  7819. "description": "用户ID",
  7820. "name": "userID",
  7821. "in": "query",
  7822. "required": true
  7823. },
  7824. {
  7825. "type": "integer",
  7826. "description": "账户状态 - 4:正常 6:注销(停用)",
  7827. "name": "accountStatus",
  7828. "in": "query",
  7829. "required": true
  7830. }
  7831. ],
  7832. "responses": {
  7833. "200": {
  7834. "description": "OK",
  7835. "schema": {
  7836. "$ref": "#/definitions/app.Response"
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/WRTrade/GetAllDeliveryGoods": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. },
  7854. {
  7855. "ApiKeyAuth": []
  7856. }
  7857. ],
  7858. "produces": [
  7859. "application/json",
  7860. "application/json"
  7861. ],
  7862. "tags": [
  7863. "仓单贸易",
  7864. "仓单贸易"
  7865. ],
  7866. "summary": "获取带仓单分类的种类信息",
  7867. "responses": {
  7868. "200": {
  7869. "description": "OK",
  7870. "schema": {
  7871. "$ref": "#/definitions/app.Response"
  7872. }
  7873. },
  7874. "500": {
  7875. "description": "Internal Server Error",
  7876. "schema": {
  7877. "$ref": "#/definitions/app.Response"
  7878. }
  7879. }
  7880. }
  7881. }
  7882. }
  7883. },
  7884. "definitions": {
  7885. "app.Response": {
  7886. "type": "object",
  7887. "properties": {
  7888. "code": {
  7889. "type": "integer"
  7890. },
  7891. "data": {
  7892. "type": "object"
  7893. },
  7894. "msg": {
  7895. "type": "string"
  7896. },
  7897. "page": {
  7898. "description": "页码",
  7899. "type": "integer"
  7900. },
  7901. "pagesize": {
  7902. "description": "每页条数",
  7903. "type": "integer"
  7904. },
  7905. "total": {
  7906. "description": "总条数",
  7907. "type": "integer"
  7908. }
  7909. }
  7910. },
  7911. "common.ClientMenu": {
  7912. "type": "object",
  7913. "properties": {
  7914. "children": {
  7915. "description": "子菜单列表",
  7916. "type": "array",
  7917. "items": {
  7918. "$ref": "#/definitions/common.ClientMenu"
  7919. }
  7920. },
  7921. "code": {
  7922. "description": "ID",
  7923. "type": "string"
  7924. },
  7925. "isshow": {
  7926. "description": "是否显示",
  7927. "type": "boolean"
  7928. },
  7929. "rulekey": {
  7930. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7931. "type": "string"
  7932. },
  7933. "sort": {
  7934. "description": "排序",
  7935. "type": "integer"
  7936. },
  7937. "title": {
  7938. "description": "标题",
  7939. "type": "string"
  7940. },
  7941. "type": {
  7942. "description": "类型,1:菜单 2:按钮",
  7943. "type": "integer"
  7944. }
  7945. }
  7946. },
  7947. "common.QueryImageConfigsRsp": {
  7948. "type": "object",
  7949. "required": [
  7950. "configid"
  7951. ],
  7952. "properties": {
  7953. "areauserid": {
  7954. "description": "所属机构ID",
  7955. "type": "integer"
  7956. },
  7957. "configid": {
  7958. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7959. "type": "integer"
  7960. },
  7961. "createdate": {
  7962. "description": "创建时间",
  7963. "type": "string"
  7964. },
  7965. "creatorid": {
  7966. "description": "创建人",
  7967. "type": "integer"
  7968. },
  7969. "imagepath": {
  7970. "description": "图片",
  7971. "type": "string"
  7972. },
  7973. "imagetype": {
  7974. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7975. "type": "integer"
  7976. },
  7977. "isshow": {
  7978. "description": "是否展示 - 0:不展示 1:展示",
  7979. "type": "integer"
  7980. },
  7981. "marketid": {
  7982. "description": "市场ID",
  7983. "type": "integer"
  7984. },
  7985. "modifierid": {
  7986. "description": "操作人",
  7987. "type": "integer"
  7988. },
  7989. "sort": {
  7990. "description": "排序",
  7991. "type": "integer"
  7992. },
  7993. "title": {
  7994. "description": "标题",
  7995. "type": "string"
  7996. },
  7997. "trademode": {
  7998. "description": "交易模式",
  7999. "type": "integer"
  8000. },
  8001. "updatedate": {
  8002. "description": "修改时间",
  8003. "type": "string"
  8004. },
  8005. "url": {
  8006. "description": "链接(地址或商品ID)",
  8007. "type": "string"
  8008. },
  8009. "urltype": {
  8010. "description": "链接类型 - 1:直接地址 2:商品ID",
  8011. "type": "integer"
  8012. }
  8013. }
  8014. },
  8015. "common.QueryNoticeRsp": {
  8016. "type": "object",
  8017. "required": [
  8018. "autoid"
  8019. ],
  8020. "properties": {
  8021. "auditoruserid": {
  8022. "description": "审核人",
  8023. "type": "integer"
  8024. },
  8025. "auditremark": {
  8026. "description": "审核备注",
  8027. "type": "string"
  8028. },
  8029. "audittime": {
  8030. "description": "审核日期",
  8031. "type": "string"
  8032. },
  8033. "autoid": {
  8034. "description": "自增ID",
  8035. "type": "integer"
  8036. },
  8037. "content": {
  8038. "description": "内容",
  8039. "type": "string"
  8040. },
  8041. "createtime": {
  8042. "description": "创建时间",
  8043. "type": "string"
  8044. },
  8045. "creatorid": {
  8046. "description": "建仓人",
  8047. "type": "integer"
  8048. },
  8049. "endtime": {
  8050. "description": "结束时间",
  8051. "type": "string"
  8052. },
  8053. "istop": {
  8054. "description": "是否置顶 - 0:不置顶 1:置顶",
  8055. "type": "integer"
  8056. },
  8057. "msgiconurl": {
  8058. "description": "消息图标Url",
  8059. "type": "string"
  8060. },
  8061. "msgtype": {
  8062. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8063. "type": "integer"
  8064. },
  8065. "publisher": {
  8066. "description": "消息发布者",
  8067. "type": "string"
  8068. },
  8069. "readed": {
  8070. "description": "是否已读",
  8071. "type": "boolean"
  8072. },
  8073. "scheduletime": {
  8074. "description": "计划发送时间",
  8075. "type": "string"
  8076. },
  8077. "sendtype": {
  8078. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8079. "type": "integer"
  8080. },
  8081. "sentstatus": {
  8082. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8083. "type": "integer"
  8084. },
  8085. "title": {
  8086. "description": "标题",
  8087. "type": "string"
  8088. },
  8089. "userid": {
  8090. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8091. "type": "integer"
  8092. }
  8093. }
  8094. },
  8095. "common.QueryProvincesAndCitiesRsp": {
  8096. "type": "object",
  8097. "properties": {
  8098. "cities": {
  8099. "description": "市",
  8100. "type": "array",
  8101. "items": {
  8102. "$ref": "#/definitions/models.Division"
  8103. }
  8104. },
  8105. "province": {
  8106. "description": "省",
  8107. "type": "object",
  8108. "$ref": "#/definitions/models.Division"
  8109. }
  8110. }
  8111. },
  8112. "common.QueryTableDefineRsp": {
  8113. "type": "object",
  8114. "required": [
  8115. "tablekey"
  8116. ],
  8117. "properties": {
  8118. "columns": {
  8119. "description": "列头信息数组",
  8120. "type": "array",
  8121. "items": {
  8122. "$ref": "#/definitions/models.Tablecolumnconfig"
  8123. }
  8124. },
  8125. "remark": {
  8126. "description": "Remark",
  8127. "type": "string"
  8128. },
  8129. "tabelmenu": {
  8130. "description": "列表菜单",
  8131. "type": "string"
  8132. },
  8133. "tablekey": {
  8134. "description": "列表Key",
  8135. "type": "string"
  8136. },
  8137. "tablename": {
  8138. "description": "列表名称",
  8139. "type": "string"
  8140. },
  8141. "tabletype": {
  8142. "description": "列表类型 - 1:管理端 2:终端",
  8143. "type": "integer"
  8144. }
  8145. }
  8146. },
  8147. "common.QueryTraderMenuRsp": {
  8148. "type": "object",
  8149. "properties": {
  8150. "OperationMenu": {
  8151. "description": "功能菜单",
  8152. "type": "array",
  8153. "items": {
  8154. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8155. }
  8156. },
  8157. "QuoteMenu": {
  8158. "description": "报价牌分类菜单",
  8159. "type": "array",
  8160. "items": {
  8161. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8162. }
  8163. }
  8164. }
  8165. },
  8166. "cptrade.Cptradepositioncancel": {
  8167. "type": "object",
  8168. "required": [
  8169. "cancelid"
  8170. ],
  8171. "properties": {
  8172. "accountid": {
  8173. "description": "申请人账户ID",
  8174. "type": "integer"
  8175. },
  8176. "applystatus": {
  8177. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8178. "type": "integer"
  8179. },
  8180. "applytime": {
  8181. "description": "申请时间",
  8182. "type": "string"
  8183. },
  8184. "cancelid": {
  8185. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8186. "type": "integer"
  8187. },
  8188. "cancelqty": {
  8189. "description": "注销数量",
  8190. "type": "integer"
  8191. },
  8192. "createtime": {
  8193. "description": "创建时间",
  8194. "type": "string"
  8195. },
  8196. "creatorid": {
  8197. "description": "创建人ID",
  8198. "type": "integer"
  8199. },
  8200. "creatorname": {
  8201. "description": "创建人",
  8202. "type": "string"
  8203. },
  8204. "goodscode": {
  8205. "description": "订单商品代码",
  8206. "type": "string"
  8207. },
  8208. "goodsid": {
  8209. "description": "商品ID",
  8210. "type": "integer"
  8211. },
  8212. "goodsname": {
  8213. "description": "订单商品名称",
  8214. "type": "string"
  8215. },
  8216. "goodunit": {
  8217. "description": "报价单位",
  8218. "type": "string"
  8219. },
  8220. "handlestatus": {
  8221. "description": "处理状态",
  8222. "type": "integer"
  8223. },
  8224. "marketid": {
  8225. "description": "市场ID",
  8226. "type": "integer"
  8227. },
  8228. "marketname": {
  8229. "description": "市场名称",
  8230. "type": "string"
  8231. },
  8232. "tradedate": {
  8233. "description": "交易日(yyyyMMdd)",
  8234. "type": "string"
  8235. },
  8236. "userid": {
  8237. "description": "申请人ID",
  8238. "type": "integer"
  8239. }
  8240. }
  8241. },
  8242. "cptrade.Cptradepresaleapply": {
  8243. "type": "object",
  8244. "required": [
  8245. "applyid"
  8246. ],
  8247. "properties": {
  8248. "accountid": {
  8249. "description": "申请人账户ID",
  8250. "type": "integer"
  8251. },
  8252. "applyid": {
  8253. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8254. "type": "integer"
  8255. },
  8256. "applyremark": {
  8257. "description": "申请备注",
  8258. "type": "string"
  8259. },
  8260. "applystatus": {
  8261. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8262. "type": "integer"
  8263. },
  8264. "applytime": {
  8265. "description": "申请时间",
  8266. "type": "string"
  8267. },
  8268. "attachmenturl": {
  8269. "description": "附件地址",
  8270. "type": "string"
  8271. },
  8272. "endtime": {
  8273. "description": "预售结束时间",
  8274. "type": "string"
  8275. },
  8276. "goodscode": {
  8277. "description": "商品代码",
  8278. "type": "string"
  8279. },
  8280. "goodsid": {
  8281. "description": "商品ID",
  8282. "type": "integer"
  8283. },
  8284. "goodsname": {
  8285. "description": "商品名称",
  8286. "type": "string"
  8287. },
  8288. "goodunit": {
  8289. "description": "报价单位",
  8290. "type": "string"
  8291. },
  8292. "handlestatus": {
  8293. "description": "处理状态",
  8294. "type": "integer"
  8295. },
  8296. "marketid": {
  8297. "description": "预售市场ID",
  8298. "type": "integer"
  8299. },
  8300. "marketname": {
  8301. "description": "预售市场名称",
  8302. "type": "string"
  8303. },
  8304. "presaleqty": {
  8305. "description": "预售数量",
  8306. "type": "integer"
  8307. },
  8308. "relatedgoodscode": {
  8309. "description": "关联交易合约代码",
  8310. "type": "string"
  8311. },
  8312. "relatedgoodsid": {
  8313. "description": "关联交易合约ID",
  8314. "type": "integer"
  8315. },
  8316. "relatedgoodsname": {
  8317. "description": "关联交易合约名称",
  8318. "type": "string"
  8319. },
  8320. "starttime": {
  8321. "description": "预售开始时间",
  8322. "type": "string"
  8323. },
  8324. "tradedate": {
  8325. "description": "交易日(yyyyMMdd)",
  8326. "type": "string"
  8327. },
  8328. "trademode": {
  8329. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8330. "type": "integer"
  8331. },
  8332. "userid": {
  8333. "description": "申请人ID",
  8334. "type": "integer"
  8335. }
  8336. }
  8337. },
  8338. "cptrade.Cptradeusergoodsdata": {
  8339. "type": "object",
  8340. "required": [
  8341. "accountid",
  8342. "goodsid"
  8343. ],
  8344. "properties": {
  8345. "EnabledQty": {
  8346. "description": "可用量",
  8347. "type": "integer"
  8348. },
  8349. "GoodsCode": {
  8350. "description": "订单商品代码",
  8351. "type": "string"
  8352. },
  8353. "GoodsName": {
  8354. "description": "订单商品名称",
  8355. "type": "string"
  8356. },
  8357. "WRStandardCode": {
  8358. "description": "仓单标准代码",
  8359. "type": "string"
  8360. },
  8361. "WRStandardName": {
  8362. "description": "仓单标准名称",
  8363. "type": "string"
  8364. },
  8365. "accountid": {
  8366. "description": "账户ID",
  8367. "type": "integer"
  8368. },
  8369. "cancelqty": {
  8370. "description": "注销量",
  8371. "type": "integer"
  8372. },
  8373. "curpresaleqty": {
  8374. "description": "当前预售量",
  8375. "type": "integer"
  8376. },
  8377. "deliveryqty": {
  8378. "description": "交割量",
  8379. "type": "integer"
  8380. },
  8381. "freezeamount": {
  8382. "description": "冻结金额",
  8383. "type": "number"
  8384. },
  8385. "goodsid": {
  8386. "description": "商品ID",
  8387. "type": "integer"
  8388. },
  8389. "goodunit": {
  8390. "description": "报价单位",
  8391. "type": "string"
  8392. },
  8393. "hasspotfreeze": {
  8394. "description": "是否有现货冻结 - 0:否 1:有",
  8395. "type": "integer"
  8396. },
  8397. "inqty": {
  8398. "description": "转入量(总数量)",
  8399. "type": "integer"
  8400. },
  8401. "marketid": {
  8402. "description": "市场ID",
  8403. "type": "integer"
  8404. },
  8405. "presaledamount": {
  8406. "description": "已预售总金额",
  8407. "type": "integer"
  8408. },
  8409. "presaledqty": {
  8410. "description": "已预售量",
  8411. "type": "integer"
  8412. },
  8413. "userid": {
  8414. "description": "用户ID",
  8415. "type": "integer"
  8416. },
  8417. "wrstandardid": {
  8418. "description": "仓单标准ID",
  8419. "type": "integer"
  8420. }
  8421. }
  8422. },
  8423. "cptrade.QueryCPTradeMyBidRsp": {
  8424. "type": "object",
  8425. "required": [
  8426. "accountid",
  8427. "goodsid",
  8428. "marketid",
  8429. "orderid",
  8430. "orderqty",
  8431. "ordertime",
  8432. "tradeprice",
  8433. "tradeqty"
  8434. ],
  8435. "properties": {
  8436. "accountid": {
  8437. "description": "账户ID[报价币种]",
  8438. "type": "integer"
  8439. },
  8440. "goodsid": {
  8441. "description": "商品ID",
  8442. "type": "integer"
  8443. },
  8444. "goodunit": {
  8445. "description": "报价单位",
  8446. "type": "string"
  8447. },
  8448. "marketid": {
  8449. "description": "市场ID",
  8450. "type": "integer"
  8451. },
  8452. "orderid": {
  8453. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8454. "type": "integer"
  8455. },
  8456. "orderprice": {
  8457. "description": "委托价格",
  8458. "type": "number"
  8459. },
  8460. "orderqty": {
  8461. "description": "委托数量",
  8462. "type": "integer"
  8463. },
  8464. "ordertime": {
  8465. "description": "委托时间",
  8466. "type": "string"
  8467. },
  8468. "ordertotalprice": {
  8469. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8470. "type": "number"
  8471. },
  8472. "ordertotalweight": {
  8473. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8474. "type": "integer"
  8475. },
  8476. "totaltotalprice": {
  8477. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8478. "type": "number"
  8479. },
  8480. "tradeprice": {
  8481. "description": "成交价格",
  8482. "type": "number"
  8483. },
  8484. "tradeqty": {
  8485. "description": "成交数量",
  8486. "type": "integer"
  8487. }
  8488. }
  8489. },
  8490. "cptrade.QueryCPTradeOrderDetailRsq": {
  8491. "type": "object",
  8492. "required": [
  8493. "accountid",
  8494. "buildtype",
  8495. "buyorsell",
  8496. "goodsid",
  8497. "marketid",
  8498. "memberuserid",
  8499. "operatetype",
  8500. "orderqty",
  8501. "ordertime",
  8502. "pricemode",
  8503. "strorderid",
  8504. "tradedate",
  8505. "validtype"
  8506. ],
  8507. "properties": {
  8508. "accountid": {
  8509. "description": "账户ID[报价币种]",
  8510. "type": "integer"
  8511. },
  8512. "buildtype": {
  8513. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8514. "type": "integer"
  8515. },
  8516. "buyorsell": {
  8517. "description": "买卖 - 0:买 1:卖",
  8518. "type": "integer"
  8519. },
  8520. "cancelorderid": {
  8521. "description": "撤单单号(撤单时填写)",
  8522. "type": "integer"
  8523. },
  8524. "cancelqty": {
  8525. "description": "撤单数量",
  8526. "type": "integer"
  8527. },
  8528. "clientordertime": {
  8529. "description": "客户端委托时间",
  8530. "type": "string"
  8531. },
  8532. "clientticket": {
  8533. "description": "客户端流水号",
  8534. "type": "string"
  8535. },
  8536. "clienttype": {
  8537. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8538. "type": "integer"
  8539. },
  8540. "closeexchagechargevalue": {
  8541. "description": "平仓交易所手续费设置值",
  8542. "type": "number"
  8543. },
  8544. "closefeealgorithm": {
  8545. "description": "平仓手续费收取方式 1:比率 2:固定",
  8546. "type": "integer"
  8547. },
  8548. "closefreezecharge": {
  8549. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8550. "type": "number"
  8551. },
  8552. "closememberchargevalue": {
  8553. "description": "平仓会员手续费设置值",
  8554. "type": "number"
  8555. },
  8556. "closeqty": {
  8557. "description": "平仓数量(先建后平操作 需要记录)",
  8558. "type": "integer"
  8559. },
  8560. "closetradeqty": {
  8561. "description": "平仓成交数量(先建后平操作,需要记录)",
  8562. "type": "integer"
  8563. },
  8564. "closeunfreezecharge": {
  8565. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8566. "type": "number"
  8567. },
  8568. "delistingtype": {
  8569. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8570. "type": "integer"
  8571. },
  8572. "freezecharge": {
  8573. "description": "冻结手续费",
  8574. "type": "number"
  8575. },
  8576. "freezemargin": {
  8577. "description": "冻结保证金(冻结交易金额)",
  8578. "type": "number"
  8579. },
  8580. "gcaccountid": {
  8581. "description": "账户ID[合约币种]",
  8582. "type": "integer"
  8583. },
  8584. "goodsid": {
  8585. "description": "商品ID",
  8586. "type": "integer"
  8587. },
  8588. "isconfirmexercise": {
  8589. "description": "是否确认行权- 0:否 1:是",
  8590. "type": "integer"
  8591. },
  8592. "ispreexercise": {
  8593. "description": "是否预申报- 0:否 1:是",
  8594. "type": "integer"
  8595. },
  8596. "listingselecttype": {
  8597. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8598. "type": "integer"
  8599. },
  8600. "marginalgorithm": {
  8601. "description": "保证金收取方式 1:比率 2:固定",
  8602. "type": "integer"
  8603. },
  8604. "marginvalue": {
  8605. "description": "即市保证金设置值",
  8606. "type": "number"
  8607. },
  8608. "marketid": {
  8609. "description": "市场ID",
  8610. "type": "integer"
  8611. },
  8612. "marketmaxsub": {
  8613. "description": "市价最大偏移范围",
  8614. "type": "number"
  8615. },
  8616. "memberuserid": {
  8617. "description": "所属会员UserID",
  8618. "type": "integer"
  8619. },
  8620. "openexchagechargevalue": {
  8621. "description": "建仓交易所手续费设置值",
  8622. "type": "number"
  8623. },
  8624. "openfeealgorithm": {
  8625. "description": "建仓手续费收取方式 1:比率 2:固定",
  8626. "type": "integer"
  8627. },
  8628. "openfreezecharge": {
  8629. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8630. "type": "number"
  8631. },
  8632. "openmemberchargevalue": {
  8633. "description": "建仓会员手续费设置值",
  8634. "type": "number"
  8635. },
  8636. "openqty": {
  8637. "description": "开仓数量(先建后平操作,需要记录)",
  8638. "type": "integer"
  8639. },
  8640. "opentradeqty": {
  8641. "description": "开仓成交数量(先建后平操作,需要记录)",
  8642. "type": "integer"
  8643. },
  8644. "openunfreezecharge": {
  8645. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8646. "type": "number"
  8647. },
  8648. "operatetype": {
  8649. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8650. "type": "integer"
  8651. },
  8652. "operatorid": {
  8653. "description": "登录账号(LoginID)",
  8654. "type": "integer"
  8655. },
  8656. "optiontype": {
  8657. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8658. "type": "integer"
  8659. },
  8660. "orderprice": {
  8661. "description": "委托价格",
  8662. "type": "number"
  8663. },
  8664. "orderqty": {
  8665. "description": "委托数量",
  8666. "type": "integer"
  8667. },
  8668. "ordersrc": {
  8669. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8670. "type": "integer"
  8671. },
  8672. "orderstatus": {
  8673. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8674. "type": "integer"
  8675. },
  8676. "ordertime": {
  8677. "description": "委托时间",
  8678. "type": "string"
  8679. },
  8680. "preexerciseprice": {
  8681. "description": "预申报价格",
  8682. "type": "number"
  8683. },
  8684. "premium": {
  8685. "description": "权利金",
  8686. "type": "number"
  8687. },
  8688. "preorderid": {
  8689. "description": "关联预埋单号(止盈止损单时填写)",
  8690. "type": "integer"
  8691. },
  8692. "pricemode": {
  8693. "description": "取价方式 - 1:市价 2: 限价",
  8694. "type": "integer"
  8695. },
  8696. "quoteid": {
  8697. "description": "报价单ID",
  8698. "type": "integer"
  8699. },
  8700. "relatedid": {
  8701. "description": "关联单号(交割单)",
  8702. "type": "integer"
  8703. },
  8704. "retcode": {
  8705. "description": "错误代码",
  8706. "type": "integer"
  8707. },
  8708. "sessionid": {
  8709. "description": "会话ID",
  8710. "type": "integer"
  8711. },
  8712. "strorderid": {
  8713. "description": "委托单号",
  8714. "type": "string"
  8715. },
  8716. "tradedate": {
  8717. "description": "交易日(yyyyMMdd)",
  8718. "type": "string"
  8719. },
  8720. "tradeproperty": {
  8721. "description": "交易属性",
  8722. "type": "integer"
  8723. },
  8724. "tradeqty": {
  8725. "description": "成交数量",
  8726. "type": "integer"
  8727. },
  8728. "unfreezecharge": {
  8729. "description": "解冻手续费",
  8730. "type": "number"
  8731. },
  8732. "unfreezemargin": {
  8733. "description": "解冻保证金",
  8734. "type": "number"
  8735. },
  8736. "updatetime": {
  8737. "description": "更新时间",
  8738. "type": "string"
  8739. },
  8740. "uuid": {
  8741. "description": "发起端唯一id",
  8742. "type": "string"
  8743. },
  8744. "validtime": {
  8745. "description": "有效期限",
  8746. "type": "string"
  8747. },
  8748. "validtype": {
  8749. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8750. "type": "integer"
  8751. },
  8752. "volumetype": {
  8753. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8754. "type": "integer"
  8755. }
  8756. }
  8757. },
  8758. "cptrade.QueryMyCPTradeGoodsRsp": {
  8759. "type": "object",
  8760. "required": [
  8761. "goodscode",
  8762. "goodsid",
  8763. "goodsname",
  8764. "marketid",
  8765. "relatedgoodscode",
  8766. "relatedgoodsname"
  8767. ],
  8768. "properties": {
  8769. "accountid": {
  8770. "description": "卖方账户ID",
  8771. "type": "integer"
  8772. },
  8773. "agreeunit": {
  8774. "description": "合约单位",
  8775. "type": "number"
  8776. },
  8777. "applyid": {
  8778. "description": "关联申请ID",
  8779. "type": "integer"
  8780. },
  8781. "attachmenturl": {
  8782. "description": "附件地址",
  8783. "type": "string"
  8784. },
  8785. "createtime": {
  8786. "description": "创建时间",
  8787. "type": "string"
  8788. },
  8789. "currencyid": {
  8790. "description": "报价货币ID",
  8791. "type": "integer"
  8792. },
  8793. "decimalplace": {
  8794. "description": "报价小数位",
  8795. "type": "integer"
  8796. },
  8797. "endtime": {
  8798. "description": "预售结束时间",
  8799. "type": "string"
  8800. },
  8801. "floorprice": {
  8802. "description": "底价[大宗式竞拍]",
  8803. "type": "number"
  8804. },
  8805. "goodscode": {
  8806. "description": "商品代码(预售)",
  8807. "type": "string"
  8808. },
  8809. "goodsdetail": {
  8810. "description": "详情[大宗]",
  8811. "type": "string"
  8812. },
  8813. "goodsid": {
  8814. "description": "商品ID(自增ID SEQ_GOODS)",
  8815. "type": "integer"
  8816. },
  8817. "goodsname": {
  8818. "description": "商品名称(预售)",
  8819. "type": "string"
  8820. },
  8821. "goodunit": {
  8822. "description": "报价单位",
  8823. "type": "string"
  8824. },
  8825. "goodunitid": {
  8826. "description": "报价单位ID",
  8827. "type": "integer"
  8828. },
  8829. "marketid": {
  8830. "description": "所属市场ID",
  8831. "type": "integer"
  8832. },
  8833. "marketname": {
  8834. "description": "预售市场名称",
  8835. "type": "string"
  8836. },
  8837. "presaledamount": {
  8838. "description": "已预售总金额(预售结束时更新)",
  8839. "type": "number"
  8840. },
  8841. "presaledqty": {
  8842. "description": "已预售量(预售结束时更新)",
  8843. "type": "integer"
  8844. },
  8845. "presalemode": {
  8846. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8847. "type": "integer"
  8848. },
  8849. "presaleqty": {
  8850. "description": "预售数量",
  8851. "type": "integer"
  8852. },
  8853. "refprice": {
  8854. "description": "参考价格[一口价]",
  8855. "type": "number"
  8856. },
  8857. "relatedgoodscode": {
  8858. "description": "商品代码(订单)",
  8859. "type": "string"
  8860. },
  8861. "relatedgoodsid": {
  8862. "description": "关联交易合约ID",
  8863. "type": "integer"
  8864. },
  8865. "relatedgoodsname": {
  8866. "description": "商品名称(订单)",
  8867. "type": "string"
  8868. },
  8869. "relatedmarketid": {
  8870. "description": "关联交易合约市场ID",
  8871. "type": "integer"
  8872. },
  8873. "sellstatus": {
  8874. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8875. "type": "integer"
  8876. },
  8877. "startprice": {
  8878. "description": "起拍价[大宗式竞拍]",
  8879. "type": "number"
  8880. },
  8881. "starttime": {
  8882. "description": "预售开始时间",
  8883. "type": "string"
  8884. },
  8885. "tradedate": {
  8886. "description": "交易日(yyyyMMdd)",
  8887. "type": "string"
  8888. },
  8889. "tradeprice": {
  8890. "description": "成交价[大宗]",
  8891. "type": "number"
  8892. },
  8893. "userid": {
  8894. "description": "卖方用户ID",
  8895. "type": "integer"
  8896. }
  8897. }
  8898. },
  8899. "cptrade.QueryPresaleGoodsExRsp": {
  8900. "type": "object",
  8901. "required": [
  8902. "goodsid"
  8903. ],
  8904. "properties": {
  8905. "attachmenturl": {
  8906. "description": "附件地址",
  8907. "type": "string"
  8908. },
  8909. "createtime": {
  8910. "description": "创建时间",
  8911. "type": "string"
  8912. },
  8913. "endtime": {
  8914. "description": "预售结束时间",
  8915. "type": "string"
  8916. },
  8917. "floorprice": {
  8918. "description": "底价[大宗式竞拍]",
  8919. "type": "number"
  8920. },
  8921. "goodsdetail": {
  8922. "description": "详情[大宗]",
  8923. "type": "string"
  8924. },
  8925. "goodsid": {
  8926. "description": "商品ID(预售)",
  8927. "type": "integer"
  8928. },
  8929. "goodunit": {
  8930. "description": "报价单位",
  8931. "type": "string"
  8932. },
  8933. "marketid": {
  8934. "description": "预售市场ID - 根据预售模式选择市场",
  8935. "type": "integer"
  8936. },
  8937. "presaledamount": {
  8938. "description": "已预售总金额(预售结束时更新)",
  8939. "type": "number"
  8940. },
  8941. "presaledqty": {
  8942. "description": "已预售量(预售结束时更新)",
  8943. "type": "integer"
  8944. },
  8945. "presalemode": {
  8946. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8947. "type": "integer"
  8948. },
  8949. "presaleqty": {
  8950. "description": "预售数量",
  8951. "type": "integer"
  8952. },
  8953. "refprice": {
  8954. "description": "参考价格[一口价]",
  8955. "type": "number"
  8956. },
  8957. "relatedgoodsid": {
  8958. "description": "关联交易合约ID",
  8959. "type": "integer"
  8960. },
  8961. "relatedmarketid": {
  8962. "description": "关联交易合约市场ID",
  8963. "type": "integer"
  8964. },
  8965. "sellstatus": {
  8966. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8967. "type": "integer"
  8968. },
  8969. "startprice": {
  8970. "description": "起拍价[大宗式竞拍]",
  8971. "type": "number"
  8972. },
  8973. "starttime": {
  8974. "description": "预售开始时间",
  8975. "type": "string"
  8976. },
  8977. "tradedate": {
  8978. "description": "交易日(yyyyMMdd)",
  8979. "type": "string"
  8980. },
  8981. "tradeprice": {
  8982. "description": "成交价[大宗]",
  8983. "type": "number"
  8984. }
  8985. }
  8986. },
  8987. "delivery.QueryDeliveryRelationRsp": {
  8988. "type": "object",
  8989. "required": [
  8990. "begindate",
  8991. "enddate",
  8992. "goodsid",
  8993. "mindeliveryqty",
  8994. "xdeliveryratio"
  8995. ],
  8996. "properties": {
  8997. "begindate": {
  8998. "description": "起始日期(yyyyMMdd)",
  8999. "type": "string"
  9000. },
  9001. "buytemplateid": {
  9002. "description": "买履约计划模板ID",
  9003. "type": "integer"
  9004. },
  9005. "deliverygoodscode": {
  9006. "description": "品种代码",
  9007. "type": "string"
  9008. },
  9009. "deliverygoodsid": {
  9010. "description": "交割商品",
  9011. "type": "integer"
  9012. },
  9013. "deliverygoodsname": {
  9014. "description": "品种名称",
  9015. "type": "string"
  9016. },
  9017. "deliverymode": {
  9018. "description": "交割方式 - 1:点选式 2:申报式",
  9019. "type": "integer"
  9020. },
  9021. "deliverypricerule": {
  9022. "description": "交割价规则- 1:行情价 2:建仓价",
  9023. "type": "integer"
  9024. },
  9025. "deliverytype": {
  9026. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9027. "type": "integer"
  9028. },
  9029. "enddate": {
  9030. "description": "结束日期(yyyyMMdd)",
  9031. "type": "string"
  9032. },
  9033. "goodscode": {
  9034. "description": "商品代码",
  9035. "type": "string"
  9036. },
  9037. "goodsid": {
  9038. "description": "交易合约ID",
  9039. "type": "integer"
  9040. },
  9041. "goodsname": {
  9042. "description": "商品名称",
  9043. "type": "string"
  9044. },
  9045. "marketid": {
  9046. "description": "市场ID",
  9047. "type": "integer"
  9048. },
  9049. "mindeliveryqty": {
  9050. "description": "最小交割系数(K)",
  9051. "type": "integer"
  9052. },
  9053. "p2deliveryprice": {
  9054. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9055. "type": "number"
  9056. },
  9057. "p2deliveryratio": {
  9058. "description": "P2合约系数(p)",
  9059. "type": "integer"
  9060. },
  9061. "p2goodsid": {
  9062. "description": "P2合约ID",
  9063. "type": "integer"
  9064. },
  9065. "p2pricemode": {
  9066. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9067. "type": "integer"
  9068. },
  9069. "pdeliveryprice": {
  9070. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9071. "type": "number"
  9072. },
  9073. "pdeliveryratio": {
  9074. "description": "P合约系数(n)",
  9075. "type": "integer"
  9076. },
  9077. "pgoodsid": {
  9078. "description": "P合约ID",
  9079. "type": "integer"
  9080. },
  9081. "ppricemode": {
  9082. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9083. "type": "integer"
  9084. },
  9085. "rratio": {
  9086. "description": "兑换系数(R)",
  9087. "type": "integer"
  9088. },
  9089. "rratio1": {
  9090. "description": "兑换系数(交易合约)(R1)",
  9091. "type": "integer"
  9092. },
  9093. "rratio2": {
  9094. "description": "兑换系数(仓单标准)(R2)",
  9095. "type": "integer"
  9096. },
  9097. "selltemplateid": {
  9098. "description": "卖履约计划模板ID",
  9099. "type": "integer"
  9100. },
  9101. "wrstandardid": {
  9102. "description": "仓单标准ID",
  9103. "type": "integer"
  9104. },
  9105. "xdeliveryratio": {
  9106. "description": "交易合约系数(m)",
  9107. "type": "integer"
  9108. }
  9109. }
  9110. },
  9111. "ermcp.ExposureDetailRsp": {
  9112. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9113. },
  9114. "ermcp.ExposureHedgePosDetailRsp": {
  9115. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9116. },
  9117. "ermcp.ExposureHedgePositionRsp": {
  9118. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9119. },
  9120. "ermcp.ExposureSpotDetailRsp": {
  9121. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9122. },
  9123. "ermcp.ExposureSpotRsp": {
  9124. "$ref": "#/definitions/models.AreaSpotModel"
  9125. },
  9126. "ermcp.HisExposureRsp": {
  9127. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9128. },
  9129. "ermcp.PendingAuditCntRsp": {
  9130. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9131. },
  9132. "ermcp.QryAvalidGPRsp": {
  9133. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9134. },
  9135. "ermcp.QryGGCovertCfgRsp": {
  9136. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9137. },
  9138. "ermcp.QryMGChangeLogRsp": {
  9139. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9140. },
  9141. "ermcp.QryMiddleGoodsDetailRsp": {
  9142. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9143. },
  9144. "ermcp.QryMiddleGoodsRsp": {
  9145. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9146. },
  9147. "ermcp.QryOPLogRsp": {
  9148. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9149. },
  9150. "ermcp.QryUserInfoRsp": {
  9151. "$ref": "#/definitions/models.ErmcpUserModel"
  9152. },
  9153. "ermcp.QryWarehouseRsp": {
  9154. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9155. },
  9156. "ermcp.QueryErmcpTradePositionRsp": {
  9157. "type": "object",
  9158. "properties": {
  9159. "agreeunit": {
  9160. "description": "合约单位",
  9161. "type": "number"
  9162. },
  9163. "buyorsell": {
  9164. "description": "方向 - 0:买 1:卖",
  9165. "type": "integer"
  9166. },
  9167. "curpositionqty": {
  9168. "description": "持仓(总仓数量, 期末头寸)",
  9169. "type": "integer"
  9170. },
  9171. "curtdposition": {
  9172. "description": "今仓数量(期末今日头寸)",
  9173. "type": "integer"
  9174. },
  9175. "curtdpositionenabled": {
  9176. "description": "今仓可用",
  9177. "type": "integer"
  9178. },
  9179. "decimalplace": {
  9180. "description": "报价小数位",
  9181. "type": "integer"
  9182. },
  9183. "enableqty": {
  9184. "description": "可用(总仓可用)",
  9185. "type": "integer"
  9186. },
  9187. "exexchangename": {
  9188. "description": "外部交易所名称",
  9189. "type": "string"
  9190. },
  9191. "goodscode": {
  9192. "description": "商品代码(内部)",
  9193. "type": "string"
  9194. },
  9195. "goodsid": {
  9196. "description": "商品ID(自增ID SEQ_GOODS)",
  9197. "type": "integer"
  9198. },
  9199. "goodsname": {
  9200. "description": "商品名称",
  9201. "type": "string"
  9202. },
  9203. "last": {
  9204. "description": "现价",
  9205. "type": "number"
  9206. },
  9207. "marketid": {
  9208. "description": "所属市场ID",
  9209. "type": "integer"
  9210. },
  9211. "openaverageprice": {
  9212. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9213. "type": "number"
  9214. },
  9215. "opencost": {
  9216. "description": "开仓成本",
  9217. "type": "number"
  9218. },
  9219. "openpl": {
  9220. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9221. "type": "number"
  9222. },
  9223. "outgoodscode": {
  9224. "description": "商品代码(外部)",
  9225. "type": "string"
  9226. },
  9227. "positionaverageprice": {
  9228. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9229. "type": "number"
  9230. },
  9231. "positioncost": {
  9232. "description": "持仓成本",
  9233. "type": "number"
  9234. },
  9235. "positionpl": {
  9236. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9237. "type": "number"
  9238. },
  9239. "positionplrate": {
  9240. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9241. "type": "number"
  9242. },
  9243. "usedmargin": {
  9244. "description": "占用保证金",
  9245. "type": "number"
  9246. }
  9247. }
  9248. },
  9249. "ermcp.RealtimeExposurePositionRsp": {
  9250. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9251. },
  9252. "ermcp.RealtimeExposureRsp": {
  9253. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9254. },
  9255. "erms2.QueryArbitrageStrategyRsp": {
  9256. "type": "object",
  9257. "required": [
  9258. "asapplyid"
  9259. ],
  9260. "properties": {
  9261. "applybasis": {
  9262. "description": "申请基差",
  9263. "type": "number"
  9264. },
  9265. "asapplyid": {
  9266. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9267. "type": "string"
  9268. },
  9269. "asname": {
  9270. "description": "策略名称",
  9271. "type": "string"
  9272. },
  9273. "asno": {
  9274. "description": "策略编号",
  9275. "type": "string"
  9276. },
  9277. "basischangepl": {
  9278. "description": "基差变动损益[结算更新]",
  9279. "type": "number"
  9280. },
  9281. "biztype": {
  9282. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9283. "type": "integer"
  9284. },
  9285. "closetradedate": {
  9286. "description": "完结交易日(yyyyMMdd)",
  9287. "type": "string"
  9288. },
  9289. "curbasis": {
  9290. "description": "当前基差[结算更新]",
  9291. "type": "number"
  9292. },
  9293. "deliverygoodsid": {
  9294. "description": "现货品种ID",
  9295. "type": "integer"
  9296. },
  9297. "futureavgprice": {
  9298. "description": "期货建仓均价",
  9299. "type": "number"
  9300. },
  9301. "futurecloseamount": {
  9302. "description": "期货平仓金额",
  9303. "type": "number"
  9304. },
  9305. "futurecloseqty": {
  9306. "description": "期货平仓数量",
  9307. "type": "number"
  9308. },
  9309. "futureopenamount": {
  9310. "description": "期货开仓金额",
  9311. "type": "number"
  9312. },
  9313. "futureopenqty": {
  9314. "description": "期货开仓数量",
  9315. "type": "number"
  9316. },
  9317. "futurepl": {
  9318. "description": "期货总盈亏[结算更新]",
  9319. "type": "number"
  9320. },
  9321. "futureqty": {
  9322. "description": "期货持仓数量",
  9323. "type": "number"
  9324. },
  9325. "futurequote": {
  9326. "description": "期货额度",
  9327. "type": "number"
  9328. },
  9329. "goodsgroupid": {
  9330. "description": "期货品种ID",
  9331. "type": "integer"
  9332. },
  9333. "marketid": {
  9334. "description": "市场ID",
  9335. "type": "integer"
  9336. },
  9337. "netexposure": {
  9338. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9339. "type": "number"
  9340. },
  9341. "netexposurepl": {
  9342. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9343. "type": "number"
  9344. },
  9345. "netexposurerate": {
  9346. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9347. "type": "number"
  9348. },
  9349. "openbasis": {
  9350. "description": "建仓基差",
  9351. "type": "number"
  9352. },
  9353. "pricedspotqty": {
  9354. "description": "已定价现货数量",
  9355. "type": "number"
  9356. },
  9357. "pricedspotqtynotax": {
  9358. "description": "已定价现货不含税数量",
  9359. "type": "number"
  9360. },
  9361. "remark": {
  9362. "description": "备注",
  9363. "type": "string"
  9364. },
  9365. "spotavgprice": {
  9366. "description": "现货均价",
  9367. "type": "number"
  9368. },
  9369. "spotbuyamount": {
  9370. "description": "现货采购金额",
  9371. "type": "number"
  9372. },
  9373. "spotbuyqty": {
  9374. "description": "现货采购数量",
  9375. "type": "number"
  9376. },
  9377. "spotpl": {
  9378. "description": "现货总盈亏[结算更新]",
  9379. "type": "number"
  9380. },
  9381. "spotquota": {
  9382. "description": "现货额度",
  9383. "type": "number"
  9384. },
  9385. "spotsellamount": {
  9386. "description": "现货销售金额",
  9387. "type": "number"
  9388. },
  9389. "spotsellqty": {
  9390. "description": "现货销售数量",
  9391. "type": "number"
  9392. },
  9393. "spotusedquota": {
  9394. "description": "现货占用资金",
  9395. "type": "number"
  9396. },
  9397. "strategystatus": {
  9398. "description": "策略状态 - 0:未结束 1:已结束",
  9399. "type": "integer"
  9400. },
  9401. "totalpl": {
  9402. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9403. "type": "number"
  9404. },
  9405. "tradedate": {
  9406. "description": "交易日(yyyyMMdd)",
  9407. "type": "string"
  9408. },
  9409. "updatetime": {
  9410. "description": "更新时间",
  9411. "type": "string"
  9412. },
  9413. "usedquota": {
  9414. "description": "已占用资金",
  9415. "type": "number"
  9416. },
  9417. "userid": {
  9418. "description": "所属机构",
  9419. "type": "integer"
  9420. }
  9421. }
  9422. },
  9423. "erms2.QueryInnerTradeDetailRsp": {
  9424. "type": "object",
  9425. "required": [
  9426. "asapplyid",
  9427. "buyorsell",
  9428. "goodscode",
  9429. "goodsgroupid",
  9430. "goodsgroupname",
  9431. "goodsname",
  9432. "tradeid"
  9433. ],
  9434. "properties": {
  9435. "accountid": {
  9436. "description": "账号ID",
  9437. "type": "integer"
  9438. },
  9439. "agreeunit": {
  9440. "description": "合约单位",
  9441. "type": "number"
  9442. },
  9443. "asapplyid": {
  9444. "description": "策略申请ID",
  9445. "type": "integer"
  9446. },
  9447. "asname": {
  9448. "description": "策略名称",
  9449. "type": "string"
  9450. },
  9451. "asno": {
  9452. "description": "策略编号",
  9453. "type": "string"
  9454. },
  9455. "buyorsell": {
  9456. "description": "方向 - 0:买 1:卖",
  9457. "type": "integer"
  9458. },
  9459. "channelbuildtype": {
  9460. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9461. "type": "integer"
  9462. },
  9463. "closetype": {
  9464. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9465. "type": "integer"
  9466. },
  9467. "decimalplace": {
  9468. "description": "报价小数位",
  9469. "type": "integer"
  9470. },
  9471. "detailtype": {
  9472. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9473. "type": "integer"
  9474. },
  9475. "exexchangecode": {
  9476. "description": "外部交易所代码",
  9477. "type": "string"
  9478. },
  9479. "exexchangename": {
  9480. "description": "外部交易所名称",
  9481. "type": "string"
  9482. },
  9483. "goodscode": {
  9484. "description": "商品代码(合约)",
  9485. "type": "string"
  9486. },
  9487. "goodsgroupid": {
  9488. "description": "商品组ID(品种ID)",
  9489. "type": "integer"
  9490. },
  9491. "goodsgroupname": {
  9492. "description": "商品组名称(品种)",
  9493. "type": "string"
  9494. },
  9495. "goodsid": {
  9496. "description": "商品ID",
  9497. "type": "integer"
  9498. },
  9499. "goodsname": {
  9500. "description": "商品名称(合约)",
  9501. "type": "string"
  9502. },
  9503. "goodunit": {
  9504. "description": "报价单位",
  9505. "type": "string"
  9506. },
  9507. "marketid": {
  9508. "description": "市场ID",
  9509. "type": "integer"
  9510. },
  9511. "orderid": {
  9512. "description": "委托单号",
  9513. "type": "string"
  9514. },
  9515. "outgoodscode": {
  9516. "description": "商品代码(外部)",
  9517. "type": "string"
  9518. },
  9519. "relatedouttradeid": {
  9520. "description": "关联外部成交单ID",
  9521. "type": "string"
  9522. },
  9523. "remark": {
  9524. "description": "备注",
  9525. "type": "string"
  9526. },
  9527. "spotcontractid": {
  9528. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9529. "type": "integer"
  9530. },
  9531. "spotcontractno": {
  9532. "description": "现货合同编号",
  9533. "type": "string"
  9534. },
  9535. "tradeid": {
  9536. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9537. "type": "string"
  9538. },
  9539. "tradeprice": {
  9540. "description": "成交价格",
  9541. "type": "number"
  9542. },
  9543. "tradeqty": {
  9544. "description": "成交数量",
  9545. "type": "integer"
  9546. },
  9547. "tradetime": {
  9548. "description": "成交时间",
  9549. "type": "string"
  9550. },
  9551. "updatetime": {
  9552. "description": "更新时间",
  9553. "type": "string"
  9554. }
  9555. }
  9556. },
  9557. "erms2.QuerySpotContractRsp": {
  9558. "type": "object",
  9559. "required": [
  9560. "spotcontractid"
  9561. ],
  9562. "properties": {
  9563. "accountid": {
  9564. "description": "资金账户ID",
  9565. "type": "integer"
  9566. },
  9567. "areauserid": {
  9568. "description": "所属机构",
  9569. "type": "integer"
  9570. },
  9571. "closedate": {
  9572. "description": "终止日期",
  9573. "type": "string"
  9574. },
  9575. "closeremark": {
  9576. "description": "结束备注",
  9577. "type": "string"
  9578. },
  9579. "closetradedate": {
  9580. "description": "完结交易日(yyyyMMdd)",
  9581. "type": "string"
  9582. },
  9583. "closetype": {
  9584. "description": "终止类型 - 1:违约 2:提前终止",
  9585. "type": "integer"
  9586. },
  9587. "contractamount": {
  9588. "description": "合同金额",
  9589. "type": "number"
  9590. },
  9591. "contractattachment": {
  9592. "description": "合同附件",
  9593. "type": "string"
  9594. },
  9595. "contractno": {
  9596. "description": "现货合同编号",
  9597. "type": "string"
  9598. },
  9599. "contractqty": {
  9600. "description": "合同数量(数值) (用于计算)",
  9601. "type": "number"
  9602. },
  9603. "contractqtychar": {
  9604. "description": "合同数量\\已订价数量 (用于显示)",
  9605. "type": "string"
  9606. },
  9607. "contractstatus": {
  9608. "description": "合同状态 - 0:未结束 1:已结束",
  9609. "type": "integer"
  9610. },
  9611. "contracttype": {
  9612. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9613. "type": "integer"
  9614. },
  9615. "customeraccountid": {
  9616. "description": "客户资金账户ID",
  9617. "type": "integer"
  9618. },
  9619. "customeruserid": {
  9620. "description": "客户ID",
  9621. "type": "integer"
  9622. },
  9623. "deliverygoodsdesc": {
  9624. "description": "品种说明",
  9625. "type": "string"
  9626. },
  9627. "deliverygoodsid": {
  9628. "description": "现货品种ID",
  9629. "type": "integer"
  9630. },
  9631. "handlestatus": {
  9632. "description": "处理状态",
  9633. "type": "integer"
  9634. },
  9635. "invoiceatt": {
  9636. "description": "发票附件",
  9637. "type": "string"
  9638. },
  9639. "invoicedatetime": {
  9640. "description": "开收票更新时间",
  9641. "type": "string"
  9642. },
  9643. "invoiceopentime": {
  9644. "description": "开票时间",
  9645. "type": "string"
  9646. },
  9647. "invoiceremark": {
  9648. "description": "发票备注",
  9649. "type": "string"
  9650. },
  9651. "invoicestatus": {
  9652. "description": "开收票状态 - 0:未开票 1:已开票",
  9653. "type": "integer"
  9654. },
  9655. "lastdate": {
  9656. "description": "交货时间",
  9657. "type": "string"
  9658. },
  9659. "marketid": {
  9660. "description": "市场ID",
  9661. "type": "integer"
  9662. },
  9663. "paydatetime": {
  9664. "description": "收付款更新时间",
  9665. "type": "string"
  9666. },
  9667. "payremark": {
  9668. "description": "收付款备注",
  9669. "type": "string"
  9670. },
  9671. "paystatus": {
  9672. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9673. "type": "integer"
  9674. },
  9675. "positionqty": {
  9676. "description": "头寸数量 - 合同数量去小数部分",
  9677. "type": "integer"
  9678. },
  9679. "producttype": {
  9680. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9681. "type": "integer"
  9682. },
  9683. "relatedqty": {
  9684. "description": "已关联数量",
  9685. "type": "number"
  9686. },
  9687. "relatedstatus": {
  9688. "description": "关联完结状态 - 0:未结束 1:已结束",
  9689. "type": "integer"
  9690. },
  9691. "remark": {
  9692. "description": "备注",
  9693. "type": "string"
  9694. },
  9695. "signdate": {
  9696. "description": "签订日期",
  9697. "type": "string"
  9698. },
  9699. "spotcontractid": {
  9700. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9701. "type": "string"
  9702. },
  9703. "spotdatetime": {
  9704. "description": "收发货更新时间",
  9705. "type": "string"
  9706. },
  9707. "spotprice": {
  9708. "description": "价格",
  9709. "type": "number"
  9710. },
  9711. "spotremark": {
  9712. "description": "收发货备注",
  9713. "type": "string"
  9714. },
  9715. "spotstatus": {
  9716. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9717. "type": "integer"
  9718. },
  9719. "tradedate": {
  9720. "description": "交易日(yyyyMMdd)",
  9721. "type": "string"
  9722. },
  9723. "userid": {
  9724. "description": "业务员用户ID",
  9725. "type": "integer"
  9726. },
  9727. "warehouseid": {
  9728. "description": "仓库ID",
  9729. "type": "integer"
  9730. },
  9731. "wrfactortypeid": {
  9732. "description": "仓单要素类型ID",
  9733. "type": "integer"
  9734. },
  9735. "wrstandardid": {
  9736. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9737. "type": "integer"
  9738. }
  9739. }
  9740. },
  9741. "erms3.AddErms2ASApplyReq": {
  9742. "type": "object",
  9743. "required": [
  9744. "asapplyid"
  9745. ],
  9746. "properties": {
  9747. "applybasis": {
  9748. "description": "申请基差",
  9749. "type": "number"
  9750. },
  9751. "applystatus": {
  9752. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9753. "type": "integer"
  9754. },
  9755. "asapplyid": {
  9756. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9757. "type": "integer"
  9758. },
  9759. "asname": {
  9760. "description": "策略名称",
  9761. "type": "string"
  9762. },
  9763. "asno": {
  9764. "description": "策略编号",
  9765. "type": "string"
  9766. },
  9767. "auditid": {
  9768. "description": "审核人",
  9769. "type": "integer"
  9770. },
  9771. "auditremark": {
  9772. "description": "审核备注",
  9773. "type": "string"
  9774. },
  9775. "audittime": {
  9776. "description": "审核时间",
  9777. "type": "string"
  9778. },
  9779. "biztype": {
  9780. "description": "业务类型 - 1:正向套利 2:反向套利",
  9781. "type": "integer"
  9782. },
  9783. "createtime": {
  9784. "description": "创建时间",
  9785. "type": "string"
  9786. },
  9787. "creatorid": {
  9788. "description": "创建人",
  9789. "type": "integer"
  9790. },
  9791. "deliverygoodsid": {
  9792. "description": "现货品种ID",
  9793. "type": "integer"
  9794. },
  9795. "futurequote": {
  9796. "description": "期货额度",
  9797. "type": "number"
  9798. },
  9799. "goodsgroupid": {
  9800. "description": "期货品种ID",
  9801. "type": "integer"
  9802. },
  9803. "marketid": {
  9804. "description": "市场ID",
  9805. "type": "integer"
  9806. },
  9807. "remark": {
  9808. "description": "备注",
  9809. "type": "string"
  9810. },
  9811. "spotquota": {
  9812. "description": "现货额度",
  9813. "type": "number"
  9814. },
  9815. "tradedate": {
  9816. "description": "交易日(yyyyMMdd)",
  9817. "type": "string"
  9818. },
  9819. "userid": {
  9820. "description": "所属机构",
  9821. "type": "integer"
  9822. }
  9823. }
  9824. },
  9825. "erms3.AddErms2SpotTradeApplyReq": {
  9826. "type": "object",
  9827. "required": [
  9828. "spottradeid"
  9829. ],
  9830. "properties": {
  9831. "applyjsondetail": {
  9832. "description": "申请明细(JSON)",
  9833. "type": "string"
  9834. },
  9835. "applystatus": {
  9836. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9837. "type": "integer"
  9838. },
  9839. "areauserid": {
  9840. "description": "所属机构",
  9841. "type": "integer"
  9842. },
  9843. "auditid": {
  9844. "description": "审核人",
  9845. "type": "integer"
  9846. },
  9847. "auditremark": {
  9848. "description": "审核备注",
  9849. "type": "string"
  9850. },
  9851. "audittime": {
  9852. "description": "审核时间",
  9853. "type": "string"
  9854. },
  9855. "createtime": {
  9856. "description": "创建时间",
  9857. "type": "string"
  9858. },
  9859. "creatorid": {
  9860. "description": "创建人",
  9861. "type": "integer"
  9862. },
  9863. "deliverygoodsid": {
  9864. "description": "现货品种ID",
  9865. "type": "integer"
  9866. },
  9867. "futureaccountid": {
  9868. "description": "期货资金账户",
  9869. "type": "integer"
  9870. },
  9871. "goodsgroupid": {
  9872. "description": "期货品种",
  9873. "type": "integer"
  9874. },
  9875. "marketid": {
  9876. "description": "市场ID",
  9877. "type": "integer"
  9878. },
  9879. "remark": {
  9880. "description": "备注",
  9881. "type": "string"
  9882. },
  9883. "spotaccountid": {
  9884. "description": "现货资金账户",
  9885. "type": "integer"
  9886. },
  9887. "spottradeid": {
  9888. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9889. "type": "integer"
  9890. },
  9891. "spottradename": {
  9892. "description": "业务名称",
  9893. "type": "string"
  9894. },
  9895. "spottradeno": {
  9896. "description": "业务编号",
  9897. "type": "string"
  9898. },
  9899. "tradedate": {
  9900. "description": "交易日(yyyyMMdd)",
  9901. "type": "string"
  9902. },
  9903. "wrstandardid": {
  9904. "description": "仓单标准ID",
  9905. "type": "integer"
  9906. }
  9907. }
  9908. },
  9909. "erms3.AddSpotContractApplyReq": {
  9910. "type": "object",
  9911. "required": [
  9912. "accountid",
  9913. "areauserid",
  9914. "contractno",
  9915. "contracttype",
  9916. "customeraccountid",
  9917. "customeruserid",
  9918. "details",
  9919. "orimargin",
  9920. "signdate"
  9921. ],
  9922. "properties": {
  9923. "accountid": {
  9924. "description": "资金账户ID",
  9925. "type": "integer"
  9926. },
  9927. "areauserid": {
  9928. "description": "所属机构",
  9929. "type": "integer"
  9930. },
  9931. "contractattachment": {
  9932. "description": "合同附件",
  9933. "type": "string"
  9934. },
  9935. "contractno": {
  9936. "description": "现货合同编号",
  9937. "type": "string"
  9938. },
  9939. "contracttype": {
  9940. "description": "现货合同类型 - 1:采购 -1:销售",
  9941. "type": "integer"
  9942. },
  9943. "creatorid": {
  9944. "description": "申请人",
  9945. "type": "integer"
  9946. },
  9947. "customeraccountid": {
  9948. "description": "客户资金账户ID",
  9949. "type": "integer"
  9950. },
  9951. "customeruserid": {
  9952. "description": "客户ID",
  9953. "type": "integer"
  9954. },
  9955. "details": {
  9956. "description": "明细",
  9957. "type": "array",
  9958. "items": {
  9959. "$ref": "#/definitions/erms3.SoptContractDetail"
  9960. }
  9961. },
  9962. "orimargin": {
  9963. "description": "初始保证金",
  9964. "type": "number"
  9965. },
  9966. "remark": {
  9967. "description": "备注",
  9968. "type": "string"
  9969. },
  9970. "signdate": {
  9971. "description": "签订日期",
  9972. "type": "string"
  9973. }
  9974. }
  9975. },
  9976. "erms3.AddSpotContractApplyRsp": {
  9977. "type": "object",
  9978. "required": [
  9979. "contractno"
  9980. ],
  9981. "properties": {
  9982. "contractno": {
  9983. "description": "现货合同编号",
  9984. "type": "string"
  9985. },
  9986. "spotcontractid": {
  9987. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9988. "type": "integer"
  9989. }
  9990. }
  9991. },
  9992. "erms3.AddUserInfoApplyReq": {
  9993. "type": "object",
  9994. "required": [
  9995. "userid"
  9996. ],
  9997. "properties": {
  9998. "accountid": {
  9999. "description": "交易系统帐号Id (加密存储)",
  10000. "type": "integer"
  10001. },
  10002. "areacode": {
  10003. "description": "机构代码",
  10004. "type": "string"
  10005. },
  10006. "areaid": {
  10007. "description": "机构Id",
  10008. "type": "integer"
  10009. },
  10010. "attachment1": {
  10011. "description": "附件1",
  10012. "type": "string"
  10013. },
  10014. "attachment2": {
  10015. "description": "附件2",
  10016. "type": "string"
  10017. },
  10018. "attachment3": {
  10019. "description": "附件3",
  10020. "type": "string"
  10021. },
  10022. "attachment4": {
  10023. "description": "附件4",
  10024. "type": "string"
  10025. },
  10026. "attachment5": {
  10027. "description": "附件5",
  10028. "type": "string"
  10029. },
  10030. "auditedby": {
  10031. "description": "审核人",
  10032. "type": "string"
  10033. },
  10034. "auditime": {
  10035. "description": "审核时间",
  10036. "type": "string"
  10037. },
  10038. "auditsrc": {
  10039. "description": "审核来源 - 1:管理端 2:终端",
  10040. "type": "integer"
  10041. },
  10042. "bankaccount": {
  10043. "description": "银行帐号 (加密存储)",
  10044. "type": "string"
  10045. },
  10046. "bankaccountname": {
  10047. "description": "收款人名称",
  10048. "type": "string"
  10049. },
  10050. "bankcardbackphotourl": {
  10051. "description": "银行卡背面照地址",
  10052. "type": "string"
  10053. },
  10054. "bankcardfrontphotourl": {
  10055. "description": "银行卡正面照地址",
  10056. "type": "string"
  10057. },
  10058. "bankid": {
  10059. "description": "银行编码",
  10060. "type": "string"
  10061. },
  10062. "bankname": {
  10063. "description": "银行名称",
  10064. "type": "string"
  10065. },
  10066. "bankpictureurl": {
  10067. "description": "银行卡正面地址",
  10068. "type": "string"
  10069. },
  10070. "biznature": {
  10071. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10072. "type": "integer"
  10073. },
  10074. "bizscope": {
  10075. "description": "企业经营范围(企业)",
  10076. "type": "string"
  10077. },
  10078. "biztype": {
  10079. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10080. "type": "integer"
  10081. },
  10082. "brokerid": {
  10083. "description": "经纪人ID(加密存储)",
  10084. "type": "string"
  10085. },
  10086. "cardaddress": {
  10087. "description": "证件地址 (加密存储)",
  10088. "type": "string"
  10089. },
  10090. "cardbackphotourl": {
  10091. "description": "背面证件照地址",
  10092. "type": "string"
  10093. },
  10094. "cardfrontphotourl": {
  10095. "description": "正面证件照地址",
  10096. "type": "string"
  10097. },
  10098. "cardnum": {
  10099. "description": "证件号码 (加密存储)",
  10100. "type": "string"
  10101. },
  10102. "cardtype": {
  10103. "description": "证件类型",
  10104. "type": "integer"
  10105. },
  10106. "cityid": {
  10107. "description": "市",
  10108. "type": "integer"
  10109. },
  10110. "company": {
  10111. "description": "公司(个人)",
  10112. "type": "string"
  10113. },
  10114. "contactcardbackphotourl": {
  10115. "description": "联系人证件背面图片地址",
  10116. "type": "string"
  10117. },
  10118. "contactcardfrontphotourl": {
  10119. "description": "联系人证件正面图片地址",
  10120. "type": "string"
  10121. },
  10122. "contactname": {
  10123. "description": "联系人",
  10124. "type": "string"
  10125. },
  10126. "countryid": {
  10127. "description": "国家",
  10128. "type": "integer"
  10129. },
  10130. "createtime": {
  10131. "description": "开户申请时间",
  10132. "type": "string"
  10133. },
  10134. "cusbankid": {
  10135. "description": "签约类型",
  10136. "type": "string"
  10137. },
  10138. "cusbankname": {
  10139. "description": "签约类型名称",
  10140. "type": "string"
  10141. },
  10142. "customername": {
  10143. "description": "客户名称(企业名称)",
  10144. "type": "string"
  10145. },
  10146. "districtid": {
  10147. "description": "地区",
  10148. "type": "integer"
  10149. },
  10150. "email": {
  10151. "description": "Email地址(加密存储)",
  10152. "type": "string"
  10153. },
  10154. "halfbodyphotourl": {
  10155. "description": "半身照地址",
  10156. "type": "string"
  10157. },
  10158. "headurl": {
  10159. "description": "头像地址",
  10160. "type": "string"
  10161. },
  10162. "ipaddress": {
  10163. "description": "IP地址",
  10164. "type": "string"
  10165. },
  10166. "isvalidate": {
  10167. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10168. "type": "string"
  10169. },
  10170. "legalcardbackphotourl": {
  10171. "description": "法人身份证背面照地址",
  10172. "type": "string"
  10173. },
  10174. "legalcardfrontphotourl": {
  10175. "description": "法人身份证正面照地址",
  10176. "type": "string"
  10177. },
  10178. "legalpersonname": {
  10179. "description": "法人姓名(企业)",
  10180. "type": "string"
  10181. },
  10182. "logincode": {
  10183. "description": "登录帐号 (加密存储)",
  10184. "type": "string"
  10185. },
  10186. "memberareaid": {
  10187. "description": "所属会员ID",
  10188. "type": "integer"
  10189. },
  10190. "mobile2": {
  10191. "description": "手机号码[明文-尚志]",
  10192. "type": "string"
  10193. },
  10194. "mobilephone": {
  10195. "description": "手机号码 (加密存储)",
  10196. "type": "string"
  10197. },
  10198. "modifiedby": {
  10199. "description": "修改人帐号",
  10200. "type": "integer"
  10201. },
  10202. "modifiedtime": {
  10203. "description": "修改时间",
  10204. "type": "string"
  10205. },
  10206. "nickname": {
  10207. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10208. "type": "string"
  10209. },
  10210. "openmode": {
  10211. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10212. "type": "integer"
  10213. },
  10214. "otherurl": {
  10215. "description": "其它图片地址[使用分号分隔]",
  10216. "type": "string"
  10217. },
  10218. "postalcode": {
  10219. "description": "邮政编码",
  10220. "type": "string"
  10221. },
  10222. "provinceid": {
  10223. "description": "省",
  10224. "type": "integer"
  10225. },
  10226. "proxystatementurl": {
  10227. "description": "授权委托书",
  10228. "type": "string"
  10229. },
  10230. "qq": {
  10231. "description": "QQ(加密存储",
  10232. "type": "string"
  10233. },
  10234. "referral": {
  10235. "description": "推荐人编码",
  10236. "type": "string"
  10237. },
  10238. "remark": {
  10239. "description": "备注",
  10240. "type": "string"
  10241. },
  10242. "removebeforestatus": {
  10243. "description": "REMOVEBEFORESTATUS",
  10244. "type": "integer"
  10245. },
  10246. "sex": {
  10247. "description": "性别 - 0:女 1:男",
  10248. "type": "integer"
  10249. },
  10250. "signedstatus": {
  10251. "description": "账户一号签签约状态",
  10252. "type": "integer"
  10253. },
  10254. "signpdfurl": {
  10255. "description": "签约pdf文件",
  10256. "type": "string"
  10257. },
  10258. "subbranch": {
  10259. "description": "开户支行",
  10260. "type": "string"
  10261. },
  10262. "taxpayernum": {
  10263. "description": "纳税人识别号",
  10264. "type": "string"
  10265. },
  10266. "telphone": {
  10267. "description": "联系电话(加密存储)",
  10268. "type": "string"
  10269. },
  10270. "userid": {
  10271. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10272. "type": "integer"
  10273. },
  10274. "userinfotype": {
  10275. "description": "用户信息类型 - 1:个人 2:企业",
  10276. "type": "integer"
  10277. },
  10278. "username": {
  10279. "description": "用户姓名",
  10280. "type": "string"
  10281. },
  10282. "userstate": {
  10283. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10284. "type": "integer"
  10285. },
  10286. "usertype": {
  10287. "description": "用户类型 - 1:投资者 2:机构",
  10288. "type": "integer"
  10289. },
  10290. "videourl": {
  10291. "description": "视频地址",
  10292. "type": "string"
  10293. },
  10294. "wechat": {
  10295. "description": "微信号 (加密存储)",
  10296. "type": "string"
  10297. }
  10298. }
  10299. },
  10300. "erms3.CustomerInfo": {
  10301. "type": "object",
  10302. "required": [
  10303. "userid"
  10304. ],
  10305. "properties": {
  10306. "accountids": {
  10307. "description": "资金账户ID列表",
  10308. "type": "array",
  10309. "items": {
  10310. "type": "integer"
  10311. }
  10312. },
  10313. "customername": {
  10314. "description": "名称(企业名称)",
  10315. "type": "string"
  10316. },
  10317. "mobile": {
  10318. "description": "手机号码",
  10319. "type": "string"
  10320. },
  10321. "userid": {
  10322. "description": "用户ID",
  10323. "type": "integer"
  10324. }
  10325. }
  10326. },
  10327. "erms3.ModifyUserInfoApplyReq": {
  10328. "type": "object",
  10329. "required": [
  10330. "userid"
  10331. ],
  10332. "properties": {
  10333. "accountid": {
  10334. "description": "交易系统帐号Id (加密存储)",
  10335. "type": "integer"
  10336. },
  10337. "areacode": {
  10338. "description": "机构代码",
  10339. "type": "string"
  10340. },
  10341. "areaid": {
  10342. "description": "机构Id",
  10343. "type": "integer"
  10344. },
  10345. "attachment1": {
  10346. "description": "附件1",
  10347. "type": "string"
  10348. },
  10349. "attachment2": {
  10350. "description": "附件2",
  10351. "type": "string"
  10352. },
  10353. "attachment3": {
  10354. "description": "附件3",
  10355. "type": "string"
  10356. },
  10357. "attachment4": {
  10358. "description": "附件4",
  10359. "type": "string"
  10360. },
  10361. "attachment5": {
  10362. "description": "附件5",
  10363. "type": "string"
  10364. },
  10365. "auditedby": {
  10366. "description": "审核人",
  10367. "type": "string"
  10368. },
  10369. "auditime": {
  10370. "description": "审核时间",
  10371. "type": "string"
  10372. },
  10373. "auditsrc": {
  10374. "description": "审核来源 - 1:管理端 2:终端",
  10375. "type": "integer"
  10376. },
  10377. "bankaccount": {
  10378. "description": "银行帐号 (加密存储)",
  10379. "type": "string"
  10380. },
  10381. "bankaccountname": {
  10382. "description": "收款人名称",
  10383. "type": "string"
  10384. },
  10385. "bankcardbackphotourl": {
  10386. "description": "银行卡背面照地址",
  10387. "type": "string"
  10388. },
  10389. "bankcardfrontphotourl": {
  10390. "description": "银行卡正面照地址",
  10391. "type": "string"
  10392. },
  10393. "bankid": {
  10394. "description": "银行编码",
  10395. "type": "string"
  10396. },
  10397. "bankname": {
  10398. "description": "银行名称",
  10399. "type": "string"
  10400. },
  10401. "bankpictureurl": {
  10402. "description": "银行卡正面地址",
  10403. "type": "string"
  10404. },
  10405. "biznature": {
  10406. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10407. "type": "integer"
  10408. },
  10409. "bizscope": {
  10410. "description": "企业经营范围(企业)",
  10411. "type": "string"
  10412. },
  10413. "biztype": {
  10414. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10415. "type": "integer"
  10416. },
  10417. "brokerid": {
  10418. "description": "经纪人ID(加密存储)",
  10419. "type": "string"
  10420. },
  10421. "cardaddress": {
  10422. "description": "证件地址 (加密存储)",
  10423. "type": "string"
  10424. },
  10425. "cardbackphotourl": {
  10426. "description": "背面证件照地址",
  10427. "type": "string"
  10428. },
  10429. "cardfrontphotourl": {
  10430. "description": "正面证件照地址",
  10431. "type": "string"
  10432. },
  10433. "cardnum": {
  10434. "description": "证件号码 (加密存储)",
  10435. "type": "string"
  10436. },
  10437. "cardtype": {
  10438. "description": "证件类型",
  10439. "type": "integer"
  10440. },
  10441. "cityid": {
  10442. "description": "市",
  10443. "type": "integer"
  10444. },
  10445. "company": {
  10446. "description": "公司(个人)",
  10447. "type": "string"
  10448. },
  10449. "contactcardbackphotourl": {
  10450. "description": "联系人证件背面图片地址",
  10451. "type": "string"
  10452. },
  10453. "contactcardfrontphotourl": {
  10454. "description": "联系人证件正面图片地址",
  10455. "type": "string"
  10456. },
  10457. "contactname": {
  10458. "description": "联系人",
  10459. "type": "string"
  10460. },
  10461. "countryid": {
  10462. "description": "国家",
  10463. "type": "integer"
  10464. },
  10465. "createtime": {
  10466. "description": "开户申请时间",
  10467. "type": "string"
  10468. },
  10469. "cusbankid": {
  10470. "description": "签约类型",
  10471. "type": "string"
  10472. },
  10473. "cusbankname": {
  10474. "description": "签约类型名称",
  10475. "type": "string"
  10476. },
  10477. "customername": {
  10478. "description": "客户名称(企业名称)",
  10479. "type": "string"
  10480. },
  10481. "districtid": {
  10482. "description": "地区",
  10483. "type": "integer"
  10484. },
  10485. "email": {
  10486. "description": "Email地址(加密存储)",
  10487. "type": "string"
  10488. },
  10489. "halfbodyphotourl": {
  10490. "description": "半身照地址",
  10491. "type": "string"
  10492. },
  10493. "headurl": {
  10494. "description": "头像地址",
  10495. "type": "string"
  10496. },
  10497. "ipaddress": {
  10498. "description": "IP地址",
  10499. "type": "string"
  10500. },
  10501. "isvalidate": {
  10502. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10503. "type": "string"
  10504. },
  10505. "legalcardbackphotourl": {
  10506. "description": "法人身份证背面照地址",
  10507. "type": "string"
  10508. },
  10509. "legalcardfrontphotourl": {
  10510. "description": "法人身份证正面照地址",
  10511. "type": "string"
  10512. },
  10513. "legalpersonname": {
  10514. "description": "法人姓名(企业)",
  10515. "type": "string"
  10516. },
  10517. "logincode": {
  10518. "description": "登录帐号 (加密存储)",
  10519. "type": "string"
  10520. },
  10521. "memberareaid": {
  10522. "description": "所属会员ID",
  10523. "type": "integer"
  10524. },
  10525. "mobile2": {
  10526. "description": "手机号码[明文-尚志]",
  10527. "type": "string"
  10528. },
  10529. "mobilephone": {
  10530. "description": "手机号码 (加密存储)",
  10531. "type": "string"
  10532. },
  10533. "modifiedby": {
  10534. "description": "修改人帐号",
  10535. "type": "integer"
  10536. },
  10537. "modifiedtime": {
  10538. "description": "修改时间",
  10539. "type": "string"
  10540. },
  10541. "nickname": {
  10542. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10543. "type": "string"
  10544. },
  10545. "openmode": {
  10546. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10547. "type": "integer"
  10548. },
  10549. "otherurl": {
  10550. "description": "其它图片地址[使用分号分隔]",
  10551. "type": "string"
  10552. },
  10553. "postalcode": {
  10554. "description": "邮政编码",
  10555. "type": "string"
  10556. },
  10557. "provinceid": {
  10558. "description": "省",
  10559. "type": "integer"
  10560. },
  10561. "proxystatementurl": {
  10562. "description": "授权委托书",
  10563. "type": "string"
  10564. },
  10565. "qq": {
  10566. "description": "QQ(加密存储",
  10567. "type": "string"
  10568. },
  10569. "referral": {
  10570. "description": "推荐人编码",
  10571. "type": "string"
  10572. },
  10573. "remark": {
  10574. "description": "备注",
  10575. "type": "string"
  10576. },
  10577. "removebeforestatus": {
  10578. "description": "REMOVEBEFORESTATUS",
  10579. "type": "integer"
  10580. },
  10581. "sex": {
  10582. "description": "性别 - 0:女 1:男",
  10583. "type": "integer"
  10584. },
  10585. "signedstatus": {
  10586. "description": "账户一号签签约状态",
  10587. "type": "integer"
  10588. },
  10589. "signpdfurl": {
  10590. "description": "签约pdf文件",
  10591. "type": "string"
  10592. },
  10593. "subbranch": {
  10594. "description": "开户支行",
  10595. "type": "string"
  10596. },
  10597. "taxpayernum": {
  10598. "description": "纳税人识别号",
  10599. "type": "string"
  10600. },
  10601. "telphone": {
  10602. "description": "联系电话(加密存储)",
  10603. "type": "string"
  10604. },
  10605. "userid": {
  10606. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10607. "type": "integer"
  10608. },
  10609. "userinfotype": {
  10610. "description": "用户信息类型 - 1:个人 2:企业",
  10611. "type": "integer"
  10612. },
  10613. "username": {
  10614. "description": "用户姓名",
  10615. "type": "string"
  10616. },
  10617. "userstate": {
  10618. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10619. "type": "integer"
  10620. },
  10621. "usertype": {
  10622. "description": "用户类型 - 1:投资者 2:机构",
  10623. "type": "integer"
  10624. },
  10625. "videourl": {
  10626. "description": "视频地址",
  10627. "type": "string"
  10628. },
  10629. "wechat": {
  10630. "description": "微信号 (加密存储)",
  10631. "type": "string"
  10632. }
  10633. }
  10634. },
  10635. "erms3.QryAuditContractRsp": {
  10636. "type": "object",
  10637. "required": [
  10638. "matchcustomername",
  10639. "spotcontractid"
  10640. ],
  10641. "properties": {
  10642. "accountid": {
  10643. "description": "交易员ID",
  10644. "type": "string"
  10645. },
  10646. "applystatus": {
  10647. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10648. "type": "integer"
  10649. },
  10650. "curdeliveryqty": {
  10651. "description": "未交收量",
  10652. "type": "integer"
  10653. },
  10654. "customername": {
  10655. "description": "采购方ID",
  10656. "type": "string"
  10657. },
  10658. "deliverygoodsid": {
  10659. "description": "品种ID",
  10660. "type": "string"
  10661. },
  10662. "deliveryqty": {
  10663. "description": "交收量",
  10664. "type": "integer"
  10665. },
  10666. "enumdicname": {
  10667. "description": "单位名称",
  10668. "type": "string"
  10669. },
  10670. "matchaccountid": {
  10671. "description": "业务员ID",
  10672. "type": "string"
  10673. },
  10674. "matchcustomername": {
  10675. "description": "销售方ID",
  10676. "type": "string"
  10677. },
  10678. "pricedqty": {
  10679. "description": "定价量",
  10680. "type": "number"
  10681. },
  10682. "signdate": {
  10683. "description": "签订日期",
  10684. "type": "string"
  10685. },
  10686. "spotcontractid": {
  10687. "description": "合同ID",
  10688. "type": "string"
  10689. },
  10690. "totaldqty": {
  10691. "description": "合同量",
  10692. "type": "number"
  10693. },
  10694. "unpricedqty": {
  10695. "description": "未定价量",
  10696. "type": "number"
  10697. },
  10698. "wrstandardname": {
  10699. "description": "商品名称",
  10700. "type": "string"
  10701. }
  10702. }
  10703. },
  10704. "erms3.QryPendingBizRsp": {
  10705. "$ref": "#/definitions/models.PendingAuditBizModel"
  10706. },
  10707. "erms3.QueryBusinessInfoRsp": {
  10708. "type": "object",
  10709. "properties": {
  10710. "businessid": {
  10711. "description": "业务ID.",
  10712. "type": "integer"
  10713. },
  10714. "buyamount": {
  10715. "description": "采购额.",
  10716. "type": "number"
  10717. },
  10718. "buyqty": {
  10719. "description": "采购量.",
  10720. "type": "string"
  10721. },
  10722. "futurepl": {
  10723. "description": "期货盈亏.",
  10724. "type": "number"
  10725. },
  10726. "futureqty": {
  10727. "description": "期货敞口.",
  10728. "type": "string"
  10729. },
  10730. "goodsid": {
  10731. "description": "商品名称/商品代码.",
  10732. "type": "string"
  10733. },
  10734. "hedgingqty": {
  10735. "description": "套保量.",
  10736. "type": "string"
  10737. },
  10738. "sellamount": {
  10739. "description": "销售额.",
  10740. "type": "number"
  10741. },
  10742. "sellqty": {
  10743. "description": "销售量.",
  10744. "type": "string"
  10745. },
  10746. "spotmarketvalue": {
  10747. "description": "现货市值.",
  10748. "type": "number"
  10749. },
  10750. "spotpl": {
  10751. "description": "浮动权益.",
  10752. "type": "number"
  10753. },
  10754. "spotqty": {
  10755. "description": "现货量.",
  10756. "type": "string"
  10757. },
  10758. "statu": {
  10759. "description": "状态,0-未结束 1-已结束.",
  10760. "type": "integer"
  10761. },
  10762. "totalpl": {
  10763. "description": "总盈亏.",
  10764. "type": "number"
  10765. },
  10766. "totalqty": {
  10767. "description": "总敞口.",
  10768. "type": "string"
  10769. },
  10770. "type": {
  10771. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10772. "type": "integer"
  10773. }
  10774. }
  10775. },
  10776. "erms3.QuerySpotContractAppleFormRsp": {
  10777. "type": "object",
  10778. "properties": {
  10779. "goodses": {
  10780. "description": "合约列表",
  10781. "type": "array",
  10782. "items": {
  10783. "$ref": "#/definitions/models.GoodsIDAndName"
  10784. }
  10785. },
  10786. "oppositeusers": {
  10787. "description": "对方账号列表",
  10788. "type": "array",
  10789. "items": {
  10790. "$ref": "#/definitions/erms3.CustomerInfo"
  10791. }
  10792. },
  10793. "ouruser": {
  10794. "description": "我方账号",
  10795. "type": "object",
  10796. "$ref": "#/definitions/erms3.CustomerInfo"
  10797. },
  10798. "warehouseinfos": {
  10799. "description": "仓库信息列表",
  10800. "type": "array",
  10801. "items": {
  10802. "$ref": "#/definitions/models.Warehouseinfo"
  10803. }
  10804. },
  10805. "wrstandards": {
  10806. "description": "仓单标准列表",
  10807. "type": "array",
  10808. "items": {
  10809. "$ref": "#/definitions/models.WRStandardInfo"
  10810. }
  10811. }
  10812. }
  10813. },
  10814. "erms3.QuerySpotContractInfoRsp": {
  10815. "type": "object",
  10816. "properties": {
  10817. "accountid": {
  10818. "description": "表示交易员ID.",
  10819. "type": "integer"
  10820. },
  10821. "curdeliveryqty": {
  10822. "description": "表示未交收量.",
  10823. "type": "number"
  10824. },
  10825. "customername": {
  10826. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10827. "type": "string"
  10828. },
  10829. "deliverygoodsid": {
  10830. "description": "表示品种ID.",
  10831. "type": "string"
  10832. },
  10833. "deliveryqty": {
  10834. "description": "表示交收量.",
  10835. "type": "number"
  10836. },
  10837. "matchaccountid": {
  10838. "description": "表示业务员ID.",
  10839. "type": "integer"
  10840. },
  10841. "matchcustomername": {
  10842. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10843. "type": "string"
  10844. },
  10845. "priceqty": {
  10846. "description": "表示定价量.",
  10847. "type": "number"
  10848. },
  10849. "relatedbizid": {
  10850. "description": "表示业务ID.",
  10851. "type": "string"
  10852. },
  10853. "signdate": {
  10854. "description": "表示签订日期.",
  10855. "type": "string"
  10856. },
  10857. "spotcontractid": {
  10858. "description": "合同ID",
  10859. "type": "string"
  10860. },
  10861. "status": {
  10862. "description": "表示状态,0-履约中 1-已完成.",
  10863. "type": "integer"
  10864. },
  10865. "totalqty": {
  10866. "description": "表示合同量.",
  10867. "type": "number"
  10868. },
  10869. "unpricedqty": {
  10870. "description": "表示未定价量.",
  10871. "type": "number"
  10872. },
  10873. "wrstandardname": {
  10874. "description": "表示商品ID.",
  10875. "type": "string"
  10876. }
  10877. }
  10878. },
  10879. "erms3.QueryUserInfoAppliesRsp": {
  10880. "type": "object",
  10881. "required": [
  10882. "userid"
  10883. ],
  10884. "properties": {
  10885. "biznature": {
  10886. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10887. "type": "integer"
  10888. },
  10889. "contactname": {
  10890. "description": "联系人",
  10891. "type": "string"
  10892. },
  10893. "createtime": {
  10894. "description": "开户申请时间",
  10895. "type": "string"
  10896. },
  10897. "userid": {
  10898. "description": "用户ID(自增ID)",
  10899. "type": "integer"
  10900. },
  10901. "userinfotype": {
  10902. "description": "用户信息类型 - 1:个人 2:企业",
  10903. "type": "integer"
  10904. },
  10905. "username": {
  10906. "description": "用户姓名",
  10907. "type": "string"
  10908. },
  10909. "userstate": {
  10910. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10911. "type": "integer"
  10912. }
  10913. }
  10914. },
  10915. "erms3.QueryUserInfosRsp": {
  10916. "type": "object",
  10917. "required": [
  10918. "userid"
  10919. ],
  10920. "properties": {
  10921. "biznature": {
  10922. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10923. "type": "integer"
  10924. },
  10925. "contactname": {
  10926. "description": "联系人",
  10927. "type": "string"
  10928. },
  10929. "customername": {
  10930. "description": "客户名称(企业名称)",
  10931. "type": "string"
  10932. },
  10933. "userid": {
  10934. "description": "用户ID",
  10935. "type": "integer"
  10936. },
  10937. "userinfotype": {
  10938. "description": "用户信息类型 - 1:个人 2:企业",
  10939. "type": "integer"
  10940. },
  10941. "userstatus": {
  10942. "description": "用户状态 - 1:正常 2:注销",
  10943. "type": "integer"
  10944. }
  10945. }
  10946. },
  10947. "erms3.SoptContractDetail": {
  10948. "type": "object",
  10949. "required": [
  10950. "deliverygoodsid",
  10951. "producttype",
  10952. "unitname",
  10953. "warehouseid",
  10954. "wrstandardid",
  10955. "wrstandardname"
  10956. ],
  10957. "properties": {
  10958. "deliverygoodsdesc": {
  10959. "description": "现货品种说明",
  10960. "type": "string"
  10961. },
  10962. "deliverygoodsid": {
  10963. "description": "现货品种ID",
  10964. "type": "integer"
  10965. },
  10966. "deliverygoodsname": {
  10967. "description": "现货品种名称",
  10968. "type": "string"
  10969. },
  10970. "pointdesc": {
  10971. "description": "点价描述",
  10972. "type": "string"
  10973. },
  10974. "producttype": {
  10975. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10976. "type": "integer"
  10977. },
  10978. "producttypename": {
  10979. "description": "产品类型名称",
  10980. "type": "string"
  10981. },
  10982. "spotPointOrderVoList": {
  10983. "description": "点价列表",
  10984. "type": "array",
  10985. "items": {
  10986. "$ref": "#/definitions/erms3.SpotPointOrder"
  10987. }
  10988. },
  10989. "spotPriceOrderList": {
  10990. "description": "定价列表",
  10991. "type": "array",
  10992. "items": {
  10993. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10994. }
  10995. },
  10996. "unitname": {
  10997. "description": "单位名称",
  10998. "type": "string"
  10999. },
  11000. "warehouseid": {
  11001. "description": "仓库ID",
  11002. "type": "integer"
  11003. },
  11004. "warehousename": {
  11005. "description": "仓库名称",
  11006. "type": "string"
  11007. },
  11008. "wrstandardid": {
  11009. "description": "交易标的ID",
  11010. "type": "integer"
  11011. },
  11012. "wrstandardname": {
  11013. "description": "交易标的名称",
  11014. "type": "string"
  11015. }
  11016. }
  11017. },
  11018. "erms3.SpotPointOrder": {
  11019. "type": "object",
  11020. "required": [
  11021. "basic",
  11022. "goodsid",
  11023. "qty"
  11024. ],
  11025. "properties": {
  11026. "basic": {
  11027. "description": "基差",
  11028. "type": "number"
  11029. },
  11030. "deliveryenddate": {
  11031. "description": "交收结束日期",
  11032. "type": "string"
  11033. },
  11034. "deliverystartdate": {
  11035. "description": "交收开始日期",
  11036. "type": "string"
  11037. },
  11038. "enddate": {
  11039. "description": "点价结束日期",
  11040. "type": "string"
  11041. },
  11042. "goodsid": {
  11043. "description": "商品ID",
  11044. "type": "integer"
  11045. },
  11046. "goodsname": {
  11047. "description": "商品名称",
  11048. "type": "string"
  11049. },
  11050. "qty": {
  11051. "description": "数量",
  11052. "type": "number"
  11053. },
  11054. "startdate": {
  11055. "description": "点价开始日期",
  11056. "type": "string"
  11057. }
  11058. }
  11059. },
  11060. "erms3.SpotPriceOrder": {
  11061. "type": "object",
  11062. "required": [
  11063. "amount",
  11064. "price",
  11065. "qty"
  11066. ],
  11067. "properties": {
  11068. "amount": {
  11069. "description": "金额",
  11070. "type": "number"
  11071. },
  11072. "deliveryenddate": {
  11073. "description": "交收结束日期",
  11074. "type": "string"
  11075. },
  11076. "deliverystartdate": {
  11077. "description": "交收开始日期",
  11078. "type": "string"
  11079. },
  11080. "price": {
  11081. "description": "价格",
  11082. "type": "number"
  11083. },
  11084. "qty": {
  11085. "description": "数量",
  11086. "type": "number"
  11087. }
  11088. }
  11089. },
  11090. "hsby.GetHsbyMyCountRsp": {
  11091. "type": "object",
  11092. "properties": {
  11093. "myCouponCount": {
  11094. "description": "我的优惠卷数量",
  11095. "type": "integer"
  11096. },
  11097. "myOrderDetailListingCount": {
  11098. "description": "我的订单求购中数量",
  11099. "type": "integer"
  11100. },
  11101. "myOrderDetailPreCount": {
  11102. "description": "我的订单抢购中数量",
  11103. "type": "integer"
  11104. },
  11105. "myPackageUnReceiveCount": {
  11106. "description": "我的包裹待收货数量",
  11107. "type": "integer"
  11108. },
  11109. "myPackageUnSendCount": {
  11110. "description": "我的包裹待发货数量",
  11111. "type": "integer"
  11112. },
  11113. "myPayOrderCount": {
  11114. "description": "我的订单待付款数量",
  11115. "type": "integer"
  11116. }
  11117. }
  11118. },
  11119. "hsby.QueryProvincesAndCitiesRsp": {
  11120. "type": "object",
  11121. "properties": {
  11122. "cities": {
  11123. "description": "市",
  11124. "type": "array",
  11125. "items": {
  11126. "$ref": "#/definitions/models.Division"
  11127. }
  11128. },
  11129. "province": {
  11130. "description": "省",
  11131. "type": "object",
  11132. "$ref": "#/definitions/models.Division"
  11133. }
  11134. }
  11135. },
  11136. "models.AreaSpotModel": {
  11137. "type": "object",
  11138. "properties": {
  11139. "areauserid": {
  11140. "description": "所属机构",
  11141. "type": "integer"
  11142. },
  11143. "decreaseqty": {
  11144. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11145. "type": "number"
  11146. },
  11147. "increaseqty": {
  11148. "description": "增加数量=销售计划数量+采购已定价数量",
  11149. "type": "number"
  11150. },
  11151. "oritoalspotqty": {
  11152. "description": "昨日数量",
  11153. "type": "number"
  11154. },
  11155. "totalspotqty": {
  11156. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11157. "type": "number"
  11158. },
  11159. "updatetime": {
  11160. "description": "更新时间",
  11161. "type": "string"
  11162. },
  11163. "wrstandardcode": {
  11164. "description": "现货品种代码",
  11165. "type": "string"
  11166. },
  11167. "wrstandardid": {
  11168. "description": "现货商品ID",
  11169. "type": "integer"
  11170. },
  11171. "wrstandardname": {
  11172. "description": "现货品种",
  11173. "type": "string"
  11174. }
  11175. }
  11176. },
  11177. "models.Clientfixedadconfig": {
  11178. "type": "object",
  11179. "required": [
  11180. "adsort",
  11181. "adtype"
  11182. ],
  11183. "properties": {
  11184. "adsort": {
  11185. "description": "排序",
  11186. "type": "integer"
  11187. },
  11188. "adtype": {
  11189. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11190. "type": "integer"
  11191. },
  11192. "areauserid": {
  11193. "description": "所属机构ID",
  11194. "type": "integer"
  11195. },
  11196. "createdate": {
  11197. "description": "创建时间",
  11198. "type": "string"
  11199. },
  11200. "creatorid": {
  11201. "description": "创建人",
  11202. "type": "integer"
  11203. },
  11204. "imagepath": {
  11205. "description": "图片",
  11206. "type": "string"
  11207. },
  11208. "isshow": {
  11209. "description": "是否展示 - 0:不展示 1:展示",
  11210. "type": "integer"
  11211. },
  11212. "modifierid": {
  11213. "description": "操作人",
  11214. "type": "integer"
  11215. },
  11216. "recsize": {
  11217. "description": "推荐尺寸",
  11218. "type": "string"
  11219. },
  11220. "title": {
  11221. "description": "标题",
  11222. "type": "string"
  11223. },
  11224. "updatedate": {
  11225. "description": "更新时间",
  11226. "type": "string"
  11227. },
  11228. "urlcontent": {
  11229. "description": "链接(地址或商品ID)",
  11230. "type": "string"
  11231. },
  11232. "urltype": {
  11233. "description": "链接类型 - 1:直接地址 2:商品ID",
  11234. "type": "integer"
  11235. }
  11236. }
  11237. },
  11238. "models.Division": {
  11239. "type": "object",
  11240. "required": [
  11241. "autoid",
  11242. "divisioncode"
  11243. ],
  11244. "properties": {
  11245. "autoid": {
  11246. "description": "自增ID",
  11247. "type": "integer"
  11248. },
  11249. "divisioncode": {
  11250. "description": "行政代码",
  11251. "type": "string"
  11252. },
  11253. "divisionlevel": {
  11254. "description": "行政级别",
  11255. "type": "string"
  11256. },
  11257. "divisionname": {
  11258. "description": "行政名称",
  11259. "type": "string"
  11260. },
  11261. "modifierid": {
  11262. "description": "修改人",
  11263. "type": "integer"
  11264. },
  11265. "modifytime": {
  11266. "description": "修改时间",
  11267. "type": "string"
  11268. },
  11269. "parentcode": {
  11270. "description": "上级行政代码",
  11271. "type": "string"
  11272. },
  11273. "pathname": {
  11274. "description": "路径名称",
  11275. "type": "string"
  11276. },
  11277. "postcode": {
  11278. "description": "邮政编码",
  11279. "type": "string"
  11280. },
  11281. "separablename": {
  11282. "description": "可拆分的全称",
  11283. "type": "string"
  11284. },
  11285. "shortcode": {
  11286. "description": "地区简码",
  11287. "type": "string"
  11288. }
  11289. }
  11290. },
  11291. "models.Enumdicitem": {
  11292. "type": "object",
  11293. "required": [
  11294. "autoid",
  11295. "enumdiccode",
  11296. "enumdicid",
  11297. "enumitemname"
  11298. ],
  11299. "properties": {
  11300. "autoid": {
  11301. "description": "自增ID",
  11302. "type": "integer"
  11303. },
  11304. "bankmappedvalue": {
  11305. "description": "银行服务对应值",
  11306. "type": "string"
  11307. },
  11308. "enumdiccode": {
  11309. "description": "所属枚举代码",
  11310. "type": "string"
  11311. },
  11312. "enumdicid": {
  11313. "description": "所属枚举ID",
  11314. "type": "integer"
  11315. },
  11316. "enumdicname": {
  11317. "description": "枚举项名称",
  11318. "type": "string"
  11319. },
  11320. "enumitemname": {
  11321. "description": "枚举项值",
  11322. "type": "integer"
  11323. },
  11324. "enumitemstatus": {
  11325. "description": "枚举项状态 - 1.启用 2.不启用",
  11326. "type": "integer"
  11327. },
  11328. "enumitemvalue": {
  11329. "description": "通用值 - [币种通用简写]",
  11330. "type": "string"
  11331. },
  11332. "param1": {
  11333. "description": "参数1[币种:币种小数位]",
  11334. "type": "string"
  11335. },
  11336. "param2": {
  11337. "description": "参数1[币种:币种显示单位]",
  11338. "type": "string"
  11339. },
  11340. "remark": {
  11341. "description": "备注",
  11342. "type": "string"
  11343. }
  11344. }
  11345. },
  11346. "models.Ermcp3AreaSpot": {
  11347. "type": "object",
  11348. "properties": {
  11349. "areauserid": {
  11350. "description": "所属机构",
  11351. "type": "integer"
  11352. },
  11353. "decreaseqty": {
  11354. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11355. "type": "number"
  11356. },
  11357. "deliverygoodscode": {
  11358. "description": "现货品种代码",
  11359. "type": "string"
  11360. },
  11361. "deliverygoodsid": {
  11362. "description": "现货品种id",
  11363. "type": "integer"
  11364. },
  11365. "deliverygoodsname": {
  11366. "description": "现货品种名称",
  11367. "type": "string"
  11368. },
  11369. "enumdicname": {
  11370. "description": "单位名称",
  11371. "type": "string"
  11372. },
  11373. "goodsunitid": {
  11374. "description": "现货品种单位id",
  11375. "type": "integer"
  11376. },
  11377. "increaseqty": {
  11378. "description": "增加数量=销售计划数量+采购已定价数量",
  11379. "type": "number"
  11380. },
  11381. "oritoalspotqty": {
  11382. "description": "昨日数量",
  11383. "type": "number"
  11384. },
  11385. "totalspotqty": {
  11386. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11387. "type": "number"
  11388. },
  11389. "updatetime": {
  11390. "description": "更新时间",
  11391. "type": "string"
  11392. }
  11393. }
  11394. },
  11395. "models.Ermcp3AreaSpotDetail": {
  11396. "type": "object",
  11397. "properties": {
  11398. "contracttype": {
  11399. "description": "合同类型 1-采购 -1-销售",
  11400. "type": "integer"
  11401. },
  11402. "createtime": {
  11403. "description": "创建时间",
  11404. "type": "string"
  11405. },
  11406. "deliverygoodscode": {
  11407. "description": "现货品种代码",
  11408. "type": "string"
  11409. },
  11410. "deliverygoodsid": {
  11411. "description": "现货品种id",
  11412. "type": "integer"
  11413. },
  11414. "deliverygoodsname": {
  11415. "description": "现货品种名称",
  11416. "type": "string"
  11417. },
  11418. "enumdicname": {
  11419. "description": "现货商品单位名称",
  11420. "type": "string"
  11421. },
  11422. "logtype": {
  11423. "description": "记录类型 1-套保 2-现货合同",
  11424. "type": "integer"
  11425. },
  11426. "qty": {
  11427. "description": "数量",
  11428. "type": "number"
  11429. },
  11430. "recordname": {
  11431. "description": "类型名称",
  11432. "type": "string"
  11433. },
  11434. "relatedid": {
  11435. "description": "套保计划ID/现货合同ID",
  11436. "type": "string"
  11437. },
  11438. "relatedno": {
  11439. "description": "编号",
  11440. "type": "string"
  11441. },
  11442. "strtime": {
  11443. "description": "时间",
  11444. "type": "string"
  11445. }
  11446. }
  11447. },
  11448. "models.Ermcp3AreaStock": {
  11449. "type": "object",
  11450. "required": [
  11451. "userid"
  11452. ],
  11453. "properties": {
  11454. "brandname": {
  11455. "description": "品牌名称",
  11456. "type": "string"
  11457. },
  11458. "curstock": {
  11459. "description": "期末库存量(今日量)",
  11460. "type": "number"
  11461. },
  11462. "deliverygoodscode": {
  11463. "description": "现货品种代码",
  11464. "type": "string"
  11465. },
  11466. "deliverygoodsid": {
  11467. "description": "现货品种id",
  11468. "type": "integer"
  11469. },
  11470. "deliverygoodsname": {
  11471. "description": "现货品种名称",
  11472. "type": "string"
  11473. },
  11474. "enumdicname": {
  11475. "description": "单位名称",
  11476. "type": "string"
  11477. },
  11478. "goodsunitid": {
  11479. "description": "现货商品单位id",
  11480. "type": "integer"
  11481. },
  11482. "oristock": {
  11483. "description": "期初库存量(昨日量)",
  11484. "type": "number"
  11485. },
  11486. "spotgoodsbrandid": {
  11487. "description": "现货品牌ID",
  11488. "type": "integer"
  11489. },
  11490. "todaybuyinqty": {
  11491. "description": "今日采购入库量",
  11492. "type": "number"
  11493. },
  11494. "todayproduceinqty": {
  11495. "description": "今日生产入库量",
  11496. "type": "number"
  11497. },
  11498. "todayproduceoutqty": {
  11499. "description": "今日生产出库量",
  11500. "type": "number"
  11501. },
  11502. "todayselloutqty": {
  11503. "description": "今日销售出库量",
  11504. "type": "number"
  11505. },
  11506. "unitid": {
  11507. "description": "单位id",
  11508. "type": "integer"
  11509. },
  11510. "updatetime": {
  11511. "description": "更新时间",
  11512. "type": "string"
  11513. },
  11514. "userid": {
  11515. "description": "机构ID",
  11516. "type": "integer"
  11517. },
  11518. "username": {
  11519. "description": "机构名称",
  11520. "type": "string"
  11521. },
  11522. "warehousecode": {
  11523. "description": "仓库代码",
  11524. "type": "string"
  11525. },
  11526. "warehouseinfoid": {
  11527. "description": "仓库ID",
  11528. "type": "string"
  11529. },
  11530. "warehousename": {
  11531. "description": "仓库名称",
  11532. "type": "string"
  11533. },
  11534. "warehousetype": {
  11535. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11536. "type": "integer"
  11537. },
  11538. "wrstandardcode": {
  11539. "description": "品类代码",
  11540. "type": "string"
  11541. },
  11542. "wrstandardid": {
  11543. "description": "品类ID",
  11544. "type": "string"
  11545. },
  11546. "wrstandardname": {
  11547. "description": "品类名称",
  11548. "type": "string"
  11549. }
  11550. }
  11551. },
  11552. "models.Ermcp3AreaStockApply": {
  11553. "type": "object",
  11554. "properties": {
  11555. "applyid": {
  11556. "description": "申请人",
  11557. "type": "integer"
  11558. },
  11559. "applyname": {
  11560. "description": "申请人名称",
  11561. "type": "string"
  11562. },
  11563. "applyremark": {
  11564. "description": "申请备注",
  11565. "type": "string"
  11566. },
  11567. "applysrc": {
  11568. "description": "申请来源 - 1:管理端 2:终端",
  11569. "type": "integer"
  11570. },
  11571. "applystatus": {
  11572. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11573. "type": "integer"
  11574. },
  11575. "applytime": {
  11576. "description": "申请时间",
  11577. "type": "string"
  11578. },
  11579. "auditid": {
  11580. "description": "审核人",
  11581. "type": "integer"
  11582. },
  11583. "auditname": {
  11584. "description": "审核人名称",
  11585. "type": "string"
  11586. },
  11587. "auditremark": {
  11588. "description": "审核备注",
  11589. "type": "string"
  11590. },
  11591. "auditsrc": {
  11592. "description": "审核来源 - 1:管理端 2:终端",
  11593. "type": "integer"
  11594. },
  11595. "audittime": {
  11596. "description": "审核时间",
  11597. "type": "string"
  11598. },
  11599. "audittradedate": {
  11600. "description": "审核交易日(yyyyMMdd)",
  11601. "type": "string"
  11602. },
  11603. "brandname": {
  11604. "description": "品牌名称",
  11605. "type": "string"
  11606. },
  11607. "buynickname": {
  11608. "description": "采购方昵称",
  11609. "type": "string"
  11610. },
  11611. "buyuserid": {
  11612. "description": "采购方userid",
  11613. "type": "integer"
  11614. },
  11615. "buyusername": {
  11616. "description": "采购方名称",
  11617. "type": "string"
  11618. },
  11619. "contractno": {
  11620. "description": "合同编号",
  11621. "type": "string"
  11622. },
  11623. "contractqty": {
  11624. "description": "合同量",
  11625. "type": "number"
  11626. },
  11627. "contracttype": {
  11628. "description": "现货合同类型 - 1:采购 -1:销售",
  11629. "type": "integer"
  11630. },
  11631. "deliverygoodscode": {
  11632. "description": "现货品种代码",
  11633. "type": "string"
  11634. },
  11635. "deliverygoodsid": {
  11636. "description": "现货品种id",
  11637. "type": "integer"
  11638. },
  11639. "deliverygoodsname": {
  11640. "description": "现货品种名称",
  11641. "type": "string"
  11642. },
  11643. "detailjson": {
  11644. "description": "明细数据",
  11645. "type": "string"
  11646. },
  11647. "enumdicname": {
  11648. "description": "现货商品单位名称",
  11649. "type": "string"
  11650. },
  11651. "inoutapplyid": {
  11652. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11653. "type": "string"
  11654. },
  11655. "inouttype": {
  11656. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11657. "type": "integer"
  11658. },
  11659. "pricetype": {
  11660. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11661. "type": "integer"
  11662. },
  11663. "qty": {
  11664. "description": "数量",
  11665. "type": "number"
  11666. },
  11667. "sellnickname": {
  11668. "description": "销售方昵称",
  11669. "type": "string"
  11670. },
  11671. "selluserid": {
  11672. "description": "销售方userid",
  11673. "type": "integer"
  11674. },
  11675. "sellusername": {
  11676. "description": "销售方名称",
  11677. "type": "string"
  11678. },
  11679. "spotcontractid": {
  11680. "description": "关联现货合同ID",
  11681. "type": "string"
  11682. },
  11683. "spotgoodsbrandid": {
  11684. "description": "现货品牌ID",
  11685. "type": "integer"
  11686. },
  11687. "unitid": {
  11688. "description": "单位id",
  11689. "type": "integer"
  11690. },
  11691. "userid": {
  11692. "description": "机构ID",
  11693. "type": "integer"
  11694. },
  11695. "warehousecode": {
  11696. "description": "仓库代码",
  11697. "type": "string"
  11698. },
  11699. "warehouseinfoid": {
  11700. "description": "现货仓库ID",
  11701. "type": "string"
  11702. },
  11703. "warehousename": {
  11704. "description": "仓库名称",
  11705. "type": "string"
  11706. },
  11707. "warehousetype": {
  11708. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11709. "type": "integer"
  11710. },
  11711. "wrstandardcode": {
  11712. "description": "品类代码",
  11713. "type": "string"
  11714. },
  11715. "wrstandardid": {
  11716. "description": "品类ID",
  11717. "type": "integer"
  11718. },
  11719. "wrstandardname": {
  11720. "description": "品类名称",
  11721. "type": "string"
  11722. }
  11723. }
  11724. },
  11725. "models.Ermcp3AreaStockApplySum": {
  11726. "type": "object",
  11727. "properties": {
  11728. "brandname": {
  11729. "description": "品牌名称",
  11730. "type": "string"
  11731. },
  11732. "inouttype": {
  11733. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11734. "type": "integer"
  11735. },
  11736. "spotcontractid": {
  11737. "description": "关联现货合同ID",
  11738. "type": "string"
  11739. },
  11740. "spotgoodsbrandid": {
  11741. "description": "品牌id",
  11742. "type": "integer"
  11743. },
  11744. "totalqty": {
  11745. "description": "总数量",
  11746. "type": "number"
  11747. },
  11748. "wrstandardid": {
  11749. "description": "品类id",
  11750. "type": "integer"
  11751. },
  11752. "wrstandardname": {
  11753. "description": "品类名称",
  11754. "type": "string"
  11755. }
  11756. }
  11757. },
  11758. "models.Ermcp3AreaStockReport": {
  11759. "type": "object",
  11760. "properties": {
  11761. "brandname": {
  11762. "description": "品牌名称",
  11763. "type": "string"
  11764. },
  11765. "curstock": {
  11766. "description": "期末库存量",
  11767. "type": "number"
  11768. },
  11769. "deliverygoodscode": {
  11770. "description": "现货品种代码",
  11771. "type": "string"
  11772. },
  11773. "deliverygoodsid": {
  11774. "description": "现货品种id",
  11775. "type": "integer"
  11776. },
  11777. "deliverygoodsname": {
  11778. "description": "现货品种名称",
  11779. "type": "string"
  11780. },
  11781. "enumdicname": {
  11782. "description": "单位名称",
  11783. "type": "string"
  11784. },
  11785. "goodsunitid": {
  11786. "description": "现货单位id",
  11787. "type": "integer"
  11788. },
  11789. "oristock": {
  11790. "description": "期初库存量",
  11791. "type": "number"
  11792. },
  11793. "spotgoodsbrandid": {
  11794. "description": "现货品牌ID",
  11795. "type": "integer"
  11796. },
  11797. "todaybuyinqty": {
  11798. "description": "今日采购入库量",
  11799. "type": "number"
  11800. },
  11801. "todayproduceinqty": {
  11802. "description": "今日生产入库量",
  11803. "type": "number"
  11804. },
  11805. "todayproduceoutqty": {
  11806. "description": "今日生产出库量",
  11807. "type": "number"
  11808. },
  11809. "todayselloutqty": {
  11810. "description": "今日销售出库量",
  11811. "type": "number"
  11812. },
  11813. "unitid": {
  11814. "description": "品类单位id",
  11815. "type": "integer"
  11816. },
  11817. "updatetime": {
  11818. "description": "更新时间",
  11819. "type": "string"
  11820. },
  11821. "userid": {
  11822. "description": "机构ID",
  11823. "type": "integer"
  11824. },
  11825. "username": {
  11826. "description": "机构名称",
  11827. "type": "string"
  11828. },
  11829. "warehousecode": {
  11830. "description": "仓库代码",
  11831. "type": "string"
  11832. },
  11833. "warehouseinfoid": {
  11834. "description": "仓库ID",
  11835. "type": "string"
  11836. },
  11837. "warehousename": {
  11838. "description": "仓库名称",
  11839. "type": "string"
  11840. },
  11841. "warehousetype": {
  11842. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11843. "type": "integer"
  11844. },
  11845. "wrstandardcode": {
  11846. "description": "品类代码",
  11847. "type": "string"
  11848. },
  11849. "wrstandardid": {
  11850. "description": "品类ID",
  11851. "type": "integer"
  11852. },
  11853. "wrstandardname": {
  11854. "description": "品类名称",
  11855. "type": "string"
  11856. }
  11857. }
  11858. },
  11859. "models.Ermcp3Brand": {
  11860. "type": "object",
  11861. "properties": {
  11862. "areauserid": {
  11863. "description": "用户id",
  11864. "type": "integer"
  11865. },
  11866. "brandid": {
  11867. "description": "品牌id",
  11868. "type": "integer"
  11869. },
  11870. "brandname": {
  11871. "description": "品牌名称",
  11872. "type": "string"
  11873. },
  11874. "deliverygoodsid": {
  11875. "description": "品种ID",
  11876. "type": "integer"
  11877. }
  11878. }
  11879. },
  11880. "models.Ermcp3Contract": {
  11881. "type": "object",
  11882. "properties": {
  11883. "accountid": {
  11884. "description": "期货账户id",
  11885. "type": "string"
  11886. },
  11887. "amount": {
  11888. "description": "金额 [1:一口价、3:暂定价]",
  11889. "type": "number"
  11890. },
  11891. "attachment": {
  11892. "description": "附件",
  11893. "type": "string"
  11894. },
  11895. "auditremark": {
  11896. "description": "审核意见",
  11897. "type": "string"
  11898. },
  11899. "audittime": {
  11900. "description": "审核时间",
  11901. "type": "string"
  11902. },
  11903. "biztype": {
  11904. "description": "业务类型 1-套保 2-套利",
  11905. "type": "integer"
  11906. },
  11907. "brandname": {
  11908. "description": "品牌名称",
  11909. "type": "string"
  11910. },
  11911. "buynickname": {
  11912. "description": "销售方昵称",
  11913. "type": "string"
  11914. },
  11915. "buyuserid": {
  11916. "description": "采购方ID",
  11917. "type": "integer"
  11918. },
  11919. "buyusername": {
  11920. "description": "采购方名称",
  11921. "type": "string"
  11922. },
  11923. "contracctstatus": {
  11924. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  11925. "type": "integer"
  11926. },
  11927. "contractmargin": {
  11928. "description": "合同保证金",
  11929. "type": "number"
  11930. },
  11931. "contractno": {
  11932. "description": "现货合同编号",
  11933. "type": "string"
  11934. },
  11935. "contracttype": {
  11936. "description": "现货合同类型 - 1:采购 -1:销售",
  11937. "type": "integer"
  11938. },
  11939. "convertfactor": {
  11940. "description": "标仓系数(品类)",
  11941. "type": "number"
  11942. },
  11943. "createtime": {
  11944. "description": "创建时间",
  11945. "type": "string"
  11946. },
  11947. "currencyid": {
  11948. "description": "币种id",
  11949. "type": "integer"
  11950. },
  11951. "currencyname": {
  11952. "description": "币种名称",
  11953. "type": "string"
  11954. },
  11955. "deliveryenddate": {
  11956. "description": "交收期(结束)",
  11957. "type": "string"
  11958. },
  11959. "deliverygoodscode": {
  11960. "description": "现货品种代码",
  11961. "type": "string"
  11962. },
  11963. "deliverygoodsid": {
  11964. "description": "现货品种ID",
  11965. "type": "integer"
  11966. },
  11967. "deliverygoodsname": {
  11968. "description": "现货品种名称",
  11969. "type": "string"
  11970. },
  11971. "deliverystartdate": {
  11972. "description": "交收期(开始)",
  11973. "type": "string"
  11974. },
  11975. "enddate": {
  11976. "description": "点价结束日期 [2:点价 3:暂定价]",
  11977. "type": "string"
  11978. },
  11979. "enumdicname": {
  11980. "description": "单位名称",
  11981. "type": "string"
  11982. },
  11983. "goodscode": {
  11984. "description": "点价合约代码",
  11985. "type": "string"
  11986. },
  11987. "goodsid": {
  11988. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  11989. "type": "integer"
  11990. },
  11991. "goodsname": {
  11992. "description": "点价商品名称",
  11993. "type": "string"
  11994. },
  11995. "margin": {
  11996. "description": "当前保证金",
  11997. "type": "number"
  11998. },
  11999. "meruserid": {
  12000. "description": "跟单员id",
  12001. "type": "integer"
  12002. },
  12003. "meruserlogincode": {
  12004. "description": "跟单员登录代码",
  12005. "type": "string"
  12006. },
  12007. "price": {
  12008. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12009. "type": "number"
  12010. },
  12011. "pricemove": {
  12012. "description": "升贴水 [2:点价 3:暂定价]",
  12013. "type": "number"
  12014. },
  12015. "pricetype": {
  12016. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12017. "type": "integer"
  12018. },
  12019. "producttype": {
  12020. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12021. "type": "integer"
  12022. },
  12023. "qty": {
  12024. "description": "数量",
  12025. "type": "number"
  12026. },
  12027. "remark": {
  12028. "description": "备注",
  12029. "type": "string"
  12030. },
  12031. "saleuserid": {
  12032. "description": "业务员id",
  12033. "type": "integer"
  12034. },
  12035. "saleuserlogincode": {
  12036. "description": "业务员登录代码",
  12037. "type": "string"
  12038. },
  12039. "sellnickname": {
  12040. "description": "采购方昵称",
  12041. "type": "string"
  12042. },
  12043. "selluserid": {
  12044. "description": "销售方ID",
  12045. "type": "integer"
  12046. },
  12047. "sellusername": {
  12048. "description": "销售方名称",
  12049. "type": "string"
  12050. },
  12051. "spotcontractid": {
  12052. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12053. "type": "string"
  12054. },
  12055. "spotgoodsbrandid": {
  12056. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12057. "type": "integer"
  12058. },
  12059. "spotgoodsdesc": {
  12060. "description": "商品型号",
  12061. "type": "string"
  12062. },
  12063. "startdate": {
  12064. "description": "点价开始日期 [2:点价 3:暂定价]",
  12065. "type": "string"
  12066. },
  12067. "tradeuserid": {
  12068. "description": "交易员id",
  12069. "type": "integer"
  12070. },
  12071. "tradeuserlogincode": {
  12072. "description": "交易员登录代码",
  12073. "type": "string"
  12074. },
  12075. "tradeusername": {
  12076. "description": "交易员名称",
  12077. "type": "string"
  12078. },
  12079. "unitid": {
  12080. "description": "单位id(取品类上的单位id)",
  12081. "type": "integer"
  12082. },
  12083. "updatetime": {
  12084. "description": "更新时间",
  12085. "type": "string"
  12086. },
  12087. "userid": {
  12088. "description": "所属机构ID",
  12089. "type": "integer"
  12090. },
  12091. "wrstandardcode": {
  12092. "description": "品类代码",
  12093. "type": "string"
  12094. },
  12095. "wrstandardid": {
  12096. "description": "品类ID",
  12097. "type": "integer"
  12098. },
  12099. "wrstandardname": {
  12100. "description": "品类名称",
  12101. "type": "string"
  12102. }
  12103. }
  12104. },
  12105. "models.Ermcp3ExposureDetail": {
  12106. "type": "object",
  12107. "properties": {
  12108. "areauserid": {
  12109. "description": "机构ID",
  12110. "type": "integer"
  12111. },
  12112. "changeQty": {
  12113. "description": "套保变动量",
  12114. "type": "number"
  12115. },
  12116. "contracttype": {
  12117. "description": "现货合同类型 - 1:采购 -1:销售",
  12118. "type": "integer"
  12119. },
  12120. "convertfactor": {
  12121. "description": "标仓系数",
  12122. "type": "number"
  12123. },
  12124. "convertratio": {
  12125. "description": "套保系数",
  12126. "type": "number"
  12127. },
  12128. "createtime": {
  12129. "description": "时间",
  12130. "type": "string"
  12131. },
  12132. "deliverygoodscode": {
  12133. "description": "现货品种代码",
  12134. "type": "string"
  12135. },
  12136. "deliverygoodsid": {
  12137. "description": "现货品种id",
  12138. "type": "integer"
  12139. },
  12140. "deliverygoodsname": {
  12141. "description": "现货品种名称",
  12142. "type": "string"
  12143. },
  12144. "enumdicname": {
  12145. "description": "现货商品单位名称",
  12146. "type": "string"
  12147. },
  12148. "logtype": {
  12149. "description": "类型 - 1:套保计划 2:现货合同",
  12150. "type": "integer"
  12151. },
  12152. "middlegoodsId": {
  12153. "description": "套保商品id",
  12154. "type": "integer"
  12155. },
  12156. "middlegoodscode": {
  12157. "description": "套保商品代码",
  12158. "type": "string"
  12159. },
  12160. "middlegoodsname": {
  12161. "description": "套保商品名称",
  12162. "type": "string"
  12163. },
  12164. "qty": {
  12165. "description": "数量",
  12166. "type": "number"
  12167. },
  12168. "relateNo": {
  12169. "description": "现货合同/套保计划编号",
  12170. "type": "string"
  12171. }
  12172. }
  12173. },
  12174. "models.Ermcp3Goods": {
  12175. "type": "object",
  12176. "properties": {
  12177. "agreeunit": {
  12178. "description": "合约单位(合约乘数)",
  12179. "type": "number"
  12180. },
  12181. "enumdicname": {
  12182. "description": "单位名称",
  12183. "type": "string"
  12184. },
  12185. "exexchangecode": {
  12186. "description": "交易所代码",
  12187. "type": "string"
  12188. },
  12189. "goodscode": {
  12190. "description": "期货商品代码",
  12191. "type": "string"
  12192. },
  12193. "goodsid": {
  12194. "description": "期货商品id",
  12195. "type": "integer"
  12196. },
  12197. "goodsname": {
  12198. "description": "期货商品名称",
  12199. "type": "string"
  12200. }
  12201. }
  12202. },
  12203. "models.Ermcp3GoodsGroup": {
  12204. "type": "object",
  12205. "required": [
  12206. "areauserid"
  12207. ],
  12208. "properties": {
  12209. "agreeunit": {
  12210. "description": "合约单位",
  12211. "type": "number"
  12212. },
  12213. "areauserid": {
  12214. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  12215. "type": "integer"
  12216. },
  12217. "canshort": {
  12218. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12219. "type": "integer"
  12220. },
  12221. "closepricemode": {
  12222. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12223. "type": "integer"
  12224. },
  12225. "createtime": {
  12226. "description": "创建时间",
  12227. "type": "string"
  12228. },
  12229. "creatorid": {
  12230. "description": "创建人",
  12231. "type": "integer"
  12232. },
  12233. "currencyid": {
  12234. "description": "报价货币ID",
  12235. "type": "integer"
  12236. },
  12237. "decimalplace": {
  12238. "description": "报价小数位",
  12239. "type": "integer"
  12240. },
  12241. "enumdicname": {
  12242. "description": "单位名称",
  12243. "type": "string"
  12244. },
  12245. "excludecfg": {
  12246. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  12247. "type": "integer"
  12248. },
  12249. "exexchangeid": {
  12250. "description": "外部交易所ID[通道交易]",
  12251. "type": "integer"
  12252. },
  12253. "goodsgroupid": {
  12254. "description": "商品组ID(自增ID)",
  12255. "type": "integer"
  12256. },
  12257. "goodsgroupname": {
  12258. "description": "商品组名称",
  12259. "type": "string"
  12260. },
  12261. "goodsgroupstatus": {
  12262. "description": "商品组状态 - 1:正常 2:注销",
  12263. "type": "integer"
  12264. },
  12265. "goodunitid": {
  12266. "description": "报价单位ID",
  12267. "type": "integer"
  12268. },
  12269. "groupcategroyid": {
  12270. "description": "品种分类ID",
  12271. "type": "integer"
  12272. },
  12273. "innerdealmode": {
  12274. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12275. "type": "integer"
  12276. },
  12277. "marketid": {
  12278. "description": "所属市场ID",
  12279. "type": "integer"
  12280. },
  12281. "modifierid": {
  12282. "description": "修改人",
  12283. "type": "integer"
  12284. },
  12285. "modifytime": {
  12286. "description": "修改时间",
  12287. "type": "string"
  12288. },
  12289. "outerdealmode": {
  12290. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12291. "type": "integer"
  12292. },
  12293. "outergroupcode": {
  12294. "description": "外部商品组代码[通道交易]",
  12295. "type": "string"
  12296. },
  12297. "quoteminunit": {
  12298. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12299. "type": "integer"
  12300. },
  12301. "quotesourcegroupid": {
  12302. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12303. "type": "integer"
  12304. },
  12305. "syncgoodsqty": {
  12306. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12307. "type": "integer"
  12308. }
  12309. }
  12310. },
  12311. "models.Ermcp3GoodsGroupEx": {
  12312. "type": "object",
  12313. "properties": {
  12314. "convertratio": {
  12315. "description": "折算系数(品种系数)",
  12316. "type": "number"
  12317. },
  12318. "enumdicname": {
  12319. "description": "单位名称",
  12320. "type": "string"
  12321. },
  12322. "exexchangecode": {
  12323. "description": "交易所代码",
  12324. "type": "string"
  12325. },
  12326. "glist": {
  12327. "description": "合约列表",
  12328. "type": "array",
  12329. "items": {
  12330. "$ref": "#/definitions/models.Ermcp3Goods"
  12331. }
  12332. },
  12333. "goodsgroupid": {
  12334. "description": "商品组id",
  12335. "type": "integer"
  12336. },
  12337. "goodsgroupname": {
  12338. "description": "商品组名称",
  12339. "type": "string"
  12340. },
  12341. "goodsunitid": {
  12342. "description": "单位id",
  12343. "type": "integer"
  12344. },
  12345. "middlegoodsid": {
  12346. "description": "套保商品id",
  12347. "type": "integer"
  12348. }
  12349. }
  12350. },
  12351. "models.Ermcp3HedgePlan": {
  12352. "type": "object",
  12353. "properties": {
  12354. "accountid": {
  12355. "description": "资金账号",
  12356. "type": "integer"
  12357. },
  12358. "areauserid": {
  12359. "description": "用户ID",
  12360. "type": "integer"
  12361. },
  12362. "audittime": {
  12363. "description": "审核时间",
  12364. "type": "string"
  12365. },
  12366. "contracttype": {
  12367. "description": "计划类型 - 1:采购 -1:销售",
  12368. "type": "integer"
  12369. },
  12370. "convertfactor": {
  12371. "description": "标仓系数",
  12372. "type": "number"
  12373. },
  12374. "createtime": {
  12375. "description": "创建时间",
  12376. "type": "string"
  12377. },
  12378. "currencyid": {
  12379. "description": "币种id",
  12380. "type": "integer"
  12381. },
  12382. "currencyname": {
  12383. "description": "币种名称",
  12384. "type": "string"
  12385. },
  12386. "deliverygoodscode": {
  12387. "description": "现货品种代码",
  12388. "type": "string"
  12389. },
  12390. "deliverygoodsid": {
  12391. "description": "现货品种ID",
  12392. "type": "integer"
  12393. },
  12394. "deliverygoodsname": {
  12395. "description": "现货品种名称",
  12396. "type": "string"
  12397. },
  12398. "enumdicname": {
  12399. "description": "单位名称(现货商品)",
  12400. "type": "string"
  12401. },
  12402. "hedgeplanid": {
  12403. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12404. "type": "string"
  12405. },
  12406. "hedgeplanno": {
  12407. "description": "套保计划编号(名称)",
  12408. "type": "string"
  12409. },
  12410. "hedgeplanstatus": {
  12411. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12412. "type": "integer"
  12413. },
  12414. "planqty": {
  12415. "description": "计划数量",
  12416. "type": "number"
  12417. },
  12418. "plantime": {
  12419. "description": "计划时间",
  12420. "type": "string"
  12421. },
  12422. "producttype": {
  12423. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12424. "type": "integer"
  12425. },
  12426. "remark": {
  12427. "description": "备注",
  12428. "type": "string"
  12429. },
  12430. "spotgoodsdesc": {
  12431. "description": "商品型号",
  12432. "type": "string"
  12433. },
  12434. "taaccountname": {
  12435. "description": "资金账号名称",
  12436. "type": "string"
  12437. },
  12438. "tradeuserid": {
  12439. "description": "交易用户id",
  12440. "type": "integer"
  12441. },
  12442. "tradeusername": {
  12443. "description": "交易用户名称",
  12444. "type": "string"
  12445. },
  12446. "unitid": {
  12447. "description": "单位id(现货商品)",
  12448. "type": "integer"
  12449. },
  12450. "updatetime": {
  12451. "description": "更新时间",
  12452. "type": "string"
  12453. },
  12454. "wrstandardcode": {
  12455. "description": "品类代码",
  12456. "type": "string"
  12457. },
  12458. "wrstandardid": {
  12459. "description": "品类id",
  12460. "type": "integer"
  12461. },
  12462. "wrstandardname": {
  12463. "description": "品类名称",
  12464. "type": "string"
  12465. },
  12466. "wrunitid": {
  12467. "description": "品类单位id",
  12468. "type": "integer"
  12469. },
  12470. "wrunitidame": {
  12471. "description": "品类单位名称",
  12472. "type": "string"
  12473. }
  12474. }
  12475. },
  12476. "models.Ermcp3MiddleGoodsDetail2": {
  12477. "type": "object",
  12478. "properties": {
  12479. "convertratio": {
  12480. "description": "套保系数(折算系数)",
  12481. "type": "number"
  12482. },
  12483. "gplist": {
  12484. "description": "关联商品组列表",
  12485. "type": "array",
  12486. "items": {
  12487. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12488. }
  12489. },
  12490. "mg": {
  12491. "description": "套保商品信息",
  12492. "type": "object",
  12493. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12494. }
  12495. }
  12496. },
  12497. "models.Ermcp3MiddleGoodsDetailEx": {
  12498. "type": "object",
  12499. "properties": {
  12500. "dglist": {
  12501. "description": "关联的现货品种列表",
  12502. "type": "array",
  12503. "items": {
  12504. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  12505. }
  12506. },
  12507. "gplist": {
  12508. "description": "关联商品组列表",
  12509. "type": "array",
  12510. "items": {
  12511. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  12512. }
  12513. },
  12514. "mg": {
  12515. "description": "套保商品信息",
  12516. "type": "object",
  12517. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  12518. }
  12519. }
  12520. },
  12521. "models.Ermcp3ReckonAreaSpotSub": {
  12522. "type": "object",
  12523. "required": [
  12524. "areauserid",
  12525. "reckondate"
  12526. ],
  12527. "properties": {
  12528. "accountid": {
  12529. "description": "期货账户ID",
  12530. "type": "integer"
  12531. },
  12532. "accountname": {
  12533. "description": "所属机构名称",
  12534. "type": "string"
  12535. },
  12536. "areauserid": {
  12537. "description": "账户所属机构",
  12538. "type": "integer"
  12539. },
  12540. "biztype": {
  12541. "description": "业务类型 1-套保 2-套利",
  12542. "type": "integer"
  12543. },
  12544. "brandname": {
  12545. "description": "品牌名称",
  12546. "type": "string"
  12547. },
  12548. "buycontractinqty": {
  12549. "description": "采购合同入库量",
  12550. "type": "number"
  12551. },
  12552. "buypricedamount": {
  12553. "description": "采购合同已定价金额",
  12554. "type": "number"
  12555. },
  12556. "buypricedqty": {
  12557. "description": "采购合同已定价数量",
  12558. "type": "number"
  12559. },
  12560. "buyreckonqty": {
  12561. "description": "采购合同交收量",
  12562. "type": "number"
  12563. },
  12564. "currencyid": {
  12565. "description": "币种id",
  12566. "type": "integer"
  12567. },
  12568. "currencyname": {
  12569. "description": "币种名称",
  12570. "type": "string"
  12571. },
  12572. "deliverygoodscode": {
  12573. "description": "现货商品代码",
  12574. "type": "string"
  12575. },
  12576. "deliverygoodsid": {
  12577. "description": "现货品种ID",
  12578. "type": "integer"
  12579. },
  12580. "deliverygoodsname": {
  12581. "description": "现货商品名称",
  12582. "type": "string"
  12583. },
  12584. "enumdicname": {
  12585. "description": "现货商品单位名称",
  12586. "type": "string"
  12587. },
  12588. "goodsunitid": {
  12589. "description": "现货商品单位id",
  12590. "type": "integer"
  12591. },
  12592. "oribuycontractinqty": {
  12593. "description": "期初采购合同入库量",
  12594. "type": "number"
  12595. },
  12596. "oribuypricedamount": {
  12597. "description": "期初采购合同已定价金额",
  12598. "type": "number"
  12599. },
  12600. "oribuypricedqty": {
  12601. "description": "期初采购合同已定价数量",
  12602. "type": "number"
  12603. },
  12604. "oribuyreckonqty": {
  12605. "description": "期初采购合同交收量",
  12606. "type": "number"
  12607. },
  12608. "oriproduceinqty": {
  12609. "description": "期初生产入库量",
  12610. "type": "number"
  12611. },
  12612. "oriproduceoutqty": {
  12613. "description": "期初生产出库量",
  12614. "type": "number"
  12615. },
  12616. "orisellcontractoutqty": {
  12617. "description": "期初销售合同出库量",
  12618. "type": "number"
  12619. },
  12620. "orisellpricedamount": {
  12621. "description": "期初销售合同已定价金额",
  12622. "type": "number"
  12623. },
  12624. "orisellpricedqty": {
  12625. "description": "期初销售合同已定价数量",
  12626. "type": "number"
  12627. },
  12628. "orisellreckonqty": {
  12629. "description": "期初销售合同交收量",
  12630. "type": "number"
  12631. },
  12632. "produceinqty": {
  12633. "description": "生产入库量",
  12634. "type": "number"
  12635. },
  12636. "produceoutqty": {
  12637. "description": "生产出库量",
  12638. "type": "number"
  12639. },
  12640. "reckondate": {
  12641. "description": "日照时期(yyyyMMdd)",
  12642. "type": "string"
  12643. },
  12644. "sellcontractoutqty": {
  12645. "description": "销售合同出库量",
  12646. "type": "number"
  12647. },
  12648. "sellpricedamount": {
  12649. "description": "销售合同已定价金额",
  12650. "type": "number"
  12651. },
  12652. "sellpricedqty": {
  12653. "description": "销售合同已定价数量",
  12654. "type": "number"
  12655. },
  12656. "sellreckonqty": {
  12657. "description": "销售合同交收量",
  12658. "type": "number"
  12659. },
  12660. "spotgoodsbrandid": {
  12661. "description": "现货品牌ID",
  12662. "type": "integer"
  12663. },
  12664. "todaybuyreckonqty": {
  12665. "description": "今日采购合同已确定数量",
  12666. "type": "number"
  12667. },
  12668. "todaysellreckonqty": {
  12669. "description": "今日销售合同已确定数量",
  12670. "type": "number"
  12671. },
  12672. "totalbuypricedqty": {
  12673. "description": "采购定价量 = 期末 - 期初",
  12674. "type": "number"
  12675. },
  12676. "totalsellpricedqty": {
  12677. "description": "销售定价量 = 期末 - 期初",
  12678. "type": "number"
  12679. },
  12680. "totalspotqty": {
  12681. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量",
  12682. "type": "number"
  12683. },
  12684. "updatetime": {
  12685. "description": "更新时间",
  12686. "type": "string"
  12687. },
  12688. "wrfactortypeid": {
  12689. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12690. "type": "integer"
  12691. },
  12692. "wrstandardcode": {
  12693. "description": "品类代码",
  12694. "type": "string"
  12695. },
  12696. "wrstandardid": {
  12697. "description": "现货品类ID",
  12698. "type": "integer"
  12699. },
  12700. "wrstandardname": {
  12701. "description": "品类名称",
  12702. "type": "string"
  12703. }
  12704. }
  12705. },
  12706. "models.Ermcp3ReportAreaSpotPL": {
  12707. "type": "object",
  12708. "properties": {
  12709. "actualpl": {
  12710. "description": "实际损益",
  12711. "type": "number"
  12712. },
  12713. "areauserid": {
  12714. "description": "所属机构",
  12715. "type": "integer"
  12716. },
  12717. "biztype": {
  12718. "description": "业务类型 1-套保 2-套利",
  12719. "type": "integer"
  12720. },
  12721. "brandname": {
  12722. "description": "品牌名称",
  12723. "type": "string"
  12724. },
  12725. "curamount": {
  12726. "description": "期末额",
  12727. "type": "number"
  12728. },
  12729. "curaverageprice": {
  12730. "description": "期末均价",
  12731. "type": "number"
  12732. },
  12733. "curbuyamount": {
  12734. "description": "期末采购总额(采购额)",
  12735. "type": "number"
  12736. },
  12737. "curbuyqty": {
  12738. "description": "期末采购总量",
  12739. "type": "number"
  12740. },
  12741. "curmarketvalue": {
  12742. "description": "参考市值",
  12743. "type": "number"
  12744. },
  12745. "curqty": {
  12746. "description": "期末量",
  12747. "type": "number"
  12748. },
  12749. "currencyid": {
  12750. "description": "币种id",
  12751. "type": "integer"
  12752. },
  12753. "currencyname": {
  12754. "description": "币种名称",
  12755. "type": "string"
  12756. },
  12757. "cursellamount": {
  12758. "description": "期末销售总额(销售额)",
  12759. "type": "number"
  12760. },
  12761. "cursellqty": {
  12762. "description": "期末销售总量",
  12763. "type": "number"
  12764. },
  12765. "curspotprice": {
  12766. "description": "参考市价",
  12767. "type": "number"
  12768. },
  12769. "deliverygoodscode": {
  12770. "description": "现货品种代码",
  12771. "type": "string"
  12772. },
  12773. "deliverygoodsid": {
  12774. "description": "现货品种id",
  12775. "type": "integer"
  12776. },
  12777. "deliverygoodsname": {
  12778. "description": "现货品种名称",
  12779. "type": "string"
  12780. },
  12781. "enumdicname": {
  12782. "description": "现货商品单位名称",
  12783. "type": "string"
  12784. },
  12785. "floatpl": {
  12786. "description": "浮动损益",
  12787. "type": "number"
  12788. },
  12789. "gbenumdicname": {
  12790. "description": "品类单位名称",
  12791. "type": "string"
  12792. },
  12793. "gbunitid": {
  12794. "description": "现货单位id",
  12795. "type": "integer"
  12796. },
  12797. "modelname": {
  12798. "description": "品类名称",
  12799. "type": "string"
  12800. },
  12801. "oriamount": {
  12802. "description": "期初额",
  12803. "type": "number"
  12804. },
  12805. "oriaverageprice": {
  12806. "description": "期初均价",
  12807. "type": "number"
  12808. },
  12809. "oribuyamount": {
  12810. "description": "期初采购总额",
  12811. "type": "number"
  12812. },
  12813. "oribuyqty": {
  12814. "description": "期初采购总量",
  12815. "type": "number"
  12816. },
  12817. "oriqty": {
  12818. "description": "期初量",
  12819. "type": "number"
  12820. },
  12821. "orisellamount": {
  12822. "description": "期初销售总额",
  12823. "type": "number"
  12824. },
  12825. "orisellqty": {
  12826. "description": "期初销售总量",
  12827. "type": "number"
  12828. },
  12829. "spotgoodsbrandid": {
  12830. "description": "现货品牌ID",
  12831. "type": "integer"
  12832. },
  12833. "todaybuyamount": {
  12834. "description": "今日采购额",
  12835. "type": "number"
  12836. },
  12837. "todaybuyaverageprice": {
  12838. "description": "今日采购均价(采购均价)",
  12839. "type": "number"
  12840. },
  12841. "todaybuyqty": {
  12842. "description": "今日采购量(采购增量)",
  12843. "type": "number"
  12844. },
  12845. "todaysellamount": {
  12846. "description": "今日销售额",
  12847. "type": "number"
  12848. },
  12849. "todaysellaverageprice": {
  12850. "description": "今日销售均价(销售均价)",
  12851. "type": "number"
  12852. },
  12853. "todaysellqty": {
  12854. "description": "今日销售量(销售增量)",
  12855. "type": "number"
  12856. },
  12857. "unitid": {
  12858. "description": "品类单位id",
  12859. "type": "integer"
  12860. },
  12861. "updatetime": {
  12862. "description": "更新时间",
  12863. "type": "string"
  12864. },
  12865. "wrstandardcode": {
  12866. "description": "品类代码",
  12867. "type": "string"
  12868. },
  12869. "wrstandardid": {
  12870. "description": "品类ID",
  12871. "type": "integer"
  12872. },
  12873. "wrstandardname": {
  12874. "description": "品类名称",
  12875. "type": "string"
  12876. }
  12877. }
  12878. },
  12879. "models.Ermcp3ReportAreaSpotSub": {
  12880. "type": "object",
  12881. "required": [
  12882. "areauserid"
  12883. ],
  12884. "properties": {
  12885. "accountid": {
  12886. "description": "期货账户ID",
  12887. "type": "integer"
  12888. },
  12889. "accountname": {
  12890. "description": "所属机构名称",
  12891. "type": "string"
  12892. },
  12893. "areauserid": {
  12894. "description": "账户所属机构",
  12895. "type": "integer"
  12896. },
  12897. "biztype": {
  12898. "description": "业务类型 1-套保 2-套利",
  12899. "type": "integer"
  12900. },
  12901. "brandname": {
  12902. "description": "品牌名称",
  12903. "type": "string"
  12904. },
  12905. "buycontractinqty": {
  12906. "description": "采购合同入库量【期末】",
  12907. "type": "number"
  12908. },
  12909. "buypricedamount": {
  12910. "description": "采购合同已定价金额【期末】",
  12911. "type": "number"
  12912. },
  12913. "buypricedqty": {
  12914. "description": "采购合同已定价数量【期末】",
  12915. "type": "number"
  12916. },
  12917. "buyreckonqty": {
  12918. "description": "采购合同交收量【期末】",
  12919. "type": "number"
  12920. },
  12921. "currencyid": {
  12922. "description": "币种id",
  12923. "type": "integer"
  12924. },
  12925. "currencyname": {
  12926. "description": "币种名称",
  12927. "type": "string"
  12928. },
  12929. "cycletime": {
  12930. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12931. "type": "string"
  12932. },
  12933. "cycletype": {
  12934. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12935. "type": "integer"
  12936. },
  12937. "deliverygoodscode": {
  12938. "description": "现货商品代码",
  12939. "type": "string"
  12940. },
  12941. "deliverygoodsid": {
  12942. "description": "现货品种ID",
  12943. "type": "integer"
  12944. },
  12945. "deliverygoodsname": {
  12946. "description": "现货商品名称",
  12947. "type": "string"
  12948. },
  12949. "enumdicname": {
  12950. "description": "现货商品单位名称",
  12951. "type": "string"
  12952. },
  12953. "goodsunitid": {
  12954. "description": "现货商品单位id",
  12955. "type": "integer"
  12956. },
  12957. "oribuycontractinqty": {
  12958. "description": "期初采购合同入库量【期初】",
  12959. "type": "number"
  12960. },
  12961. "oribuypricedamount": {
  12962. "description": "期初采购合同已定价金额【期初】",
  12963. "type": "number"
  12964. },
  12965. "oribuypricedqty": {
  12966. "description": "期初采购合同已定价数量【期初】",
  12967. "type": "number"
  12968. },
  12969. "oribuyreckonqty": {
  12970. "description": "期初采购合同交收量【期初】",
  12971. "type": "number"
  12972. },
  12973. "oriproduceinqty": {
  12974. "description": "期初生产入库量【期初】",
  12975. "type": "number"
  12976. },
  12977. "oriproduceoutqty": {
  12978. "description": "期初生产出库量【期初】",
  12979. "type": "number"
  12980. },
  12981. "orisellcontractoutqty": {
  12982. "description": "期初销售合同出库量【期初】",
  12983. "type": "number"
  12984. },
  12985. "orisellpricedamount": {
  12986. "description": "期初销售合同已定价金额【期初】",
  12987. "type": "number"
  12988. },
  12989. "orisellpricedqty": {
  12990. "description": "期初销售合同已定价数量【期初】",
  12991. "type": "number"
  12992. },
  12993. "orisellreckonqty": {
  12994. "description": "期初销售合同交收量【期初】",
  12995. "type": "number"
  12996. },
  12997. "produceinqty": {
  12998. "description": "生产入库量【期末】",
  12999. "type": "number"
  13000. },
  13001. "produceoutqty": {
  13002. "description": "生产出库量【期末】",
  13003. "type": "number"
  13004. },
  13005. "sellcontractoutqty": {
  13006. "description": "销售合同出库量【期末】",
  13007. "type": "number"
  13008. },
  13009. "sellpricedamount": {
  13010. "description": "销售合同已定价金额【期末】",
  13011. "type": "number"
  13012. },
  13013. "sellpricedqty": {
  13014. "description": "销售合同已定价数量【期末】",
  13015. "type": "number"
  13016. },
  13017. "sellreckonqty": {
  13018. "description": "销售合同交收量【期末】",
  13019. "type": "number"
  13020. },
  13021. "spotgoodsbrandid": {
  13022. "description": "现货品牌ID",
  13023. "type": "integer"
  13024. },
  13025. "todaybuyreckonqty": {
  13026. "description": "今日采购合同已确定数量【汇总】",
  13027. "type": "number"
  13028. },
  13029. "todaysellreckonqty": {
  13030. "description": "今日销售合同已确定数量【汇总】",
  13031. "type": "number"
  13032. },
  13033. "totalbuypricedqty": {
  13034. "description": "采购定价量 = 期末 - 期初",
  13035. "type": "number"
  13036. },
  13037. "totalsellpricedqty": {
  13038. "description": "销售定价量 = 期末 - 期初",
  13039. "type": "number"
  13040. },
  13041. "totalspotqty": {
  13042. "description": "现货头寸总量 = 采购合同已定价数量 - 销售合同已定价数量【期末】",
  13043. "type": "number"
  13044. },
  13045. "updatetime": {
  13046. "description": "更新时间",
  13047. "type": "string"
  13048. },
  13049. "wrfactortypeid": {
  13050. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13051. "type": "integer"
  13052. },
  13053. "wrstandardcode": {
  13054. "description": "品类代码",
  13055. "type": "string"
  13056. },
  13057. "wrstandardid": {
  13058. "description": "品类ID",
  13059. "type": "integer"
  13060. },
  13061. "wrstandardname": {
  13062. "description": "品类名称",
  13063. "type": "string"
  13064. }
  13065. }
  13066. },
  13067. "models.Ermcp3ReportOPLog": {
  13068. "type": "object",
  13069. "properties": {
  13070. "applyid": {
  13071. "description": "操作人",
  13072. "type": "integer"
  13073. },
  13074. "applyname": {
  13075. "description": "操作人名称",
  13076. "type": "string"
  13077. },
  13078. "biztype": {
  13079. "description": "业务类型 - 1:套保计划 2:现货合同",
  13080. "type": "integer"
  13081. },
  13082. "brandname": {
  13083. "description": "品牌名称",
  13084. "type": "string"
  13085. },
  13086. "contracttype": {
  13087. "description": "现货合同类型 - 1:采购 -1:销售",
  13088. "type": "integer"
  13089. },
  13090. "deliverygoodscode": {
  13091. "description": "现货品种代码",
  13092. "type": "string"
  13093. },
  13094. "deliverygoodsid": {
  13095. "description": "现货品种id",
  13096. "type": "integer"
  13097. },
  13098. "deliverygoodsname": {
  13099. "description": "现货品种名称",
  13100. "type": "string"
  13101. },
  13102. "enumdicName": {
  13103. "description": "单位名称",
  13104. "type": "string"
  13105. },
  13106. "logdatetime": {
  13107. "description": "流水日期(时间)",
  13108. "type": "string"
  13109. },
  13110. "logid": {
  13111. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  13112. "type": "string"
  13113. },
  13114. "logtypename": {
  13115. "description": "合同类型(名称)",
  13116. "type": "string"
  13117. },
  13118. "logvalue": {
  13119. "description": "数值",
  13120. "type": "string"
  13121. },
  13122. "operatelogtype": {
  13123. "description": "操作流水类型 -",
  13124. "type": "integer"
  13125. },
  13126. "optypename": {
  13127. "description": "流水类型名称",
  13128. "type": "string"
  13129. },
  13130. "relatedid": {
  13131. "description": "现货合同ID\\套保计划",
  13132. "type": "string"
  13133. },
  13134. "relatedno": {
  13135. "description": "合同编号",
  13136. "type": "string"
  13137. },
  13138. "spotgoodsbrandid": {
  13139. "description": "品牌id",
  13140. "type": "integer"
  13141. },
  13142. "tradedate": {
  13143. "description": "交易日(yyyyMMdd)",
  13144. "type": "string"
  13145. },
  13146. "userid": {
  13147. "description": "机构ID",
  13148. "type": "integer"
  13149. },
  13150. "wrstandardcode": {
  13151. "description": "品类代码",
  13152. "type": "string"
  13153. },
  13154. "wrstandardid": {
  13155. "description": "品类id",
  13156. "type": "integer"
  13157. },
  13158. "wrstandardname": {
  13159. "description": "品类名称",
  13160. "type": "string"
  13161. }
  13162. }
  13163. },
  13164. "models.Ermcp3SellBuyContract": {
  13165. "type": "object",
  13166. "properties": {
  13167. "accountname": {
  13168. "description": "账户名称",
  13169. "type": "string"
  13170. },
  13171. "attachment": {
  13172. "description": "附件",
  13173. "type": "string"
  13174. },
  13175. "audittime": {
  13176. "description": "审核时间",
  13177. "type": "string"
  13178. },
  13179. "brandname": {
  13180. "description": "品牌名称",
  13181. "type": "string"
  13182. },
  13183. "contracctstatus": {
  13184. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13185. "type": "integer"
  13186. },
  13187. "contractmargin": {
  13188. "description": "合同保证金",
  13189. "type": "number"
  13190. },
  13191. "contractno": {
  13192. "description": "合同编号",
  13193. "type": "string"
  13194. },
  13195. "contracttype": {
  13196. "description": "合同类型 1-采购, -1-销售",
  13197. "type": "integer"
  13198. },
  13199. "convertfactor": {
  13200. "description": "标仓系数(品类)",
  13201. "type": "number"
  13202. },
  13203. "createtime": {
  13204. "description": "创建时间",
  13205. "type": "string"
  13206. },
  13207. "daikaiamount": {
  13208. "description": "应收(开)票额",
  13209. "type": "number"
  13210. },
  13211. "deliveryenddate": {
  13212. "description": "交割结束日",
  13213. "type": "string"
  13214. },
  13215. "deliverygoodscode": {
  13216. "description": "现货品种代码",
  13217. "type": "string"
  13218. },
  13219. "deliverygoodsid": {
  13220. "description": "现货商品ID",
  13221. "type": "integer"
  13222. },
  13223. "deliverygoodsname": {
  13224. "description": "现货品种名称",
  13225. "type": "string"
  13226. },
  13227. "deliverystartdate": {
  13228. "description": "交割开始日",
  13229. "type": "string"
  13230. },
  13231. "enddate": {
  13232. "description": "点价结束日",
  13233. "type": "string"
  13234. },
  13235. "enumdicname": {
  13236. "description": "单位名称",
  13237. "type": "string"
  13238. },
  13239. "goodscode": {
  13240. "description": "点价商品代码",
  13241. "type": "string"
  13242. },
  13243. "goodsid": {
  13244. "description": "点价商品ID",
  13245. "type": "integer"
  13246. },
  13247. "goodsname": {
  13248. "description": "点价商品名称",
  13249. "type": "string"
  13250. },
  13251. "invoiceamount": {
  13252. "description": "已开票额",
  13253. "type": "number"
  13254. },
  13255. "loanamount": {
  13256. "description": "贷款总额=已定价额+调整金额",
  13257. "type": "number"
  13258. },
  13259. "margin": {
  13260. "description": "保证金",
  13261. "type": "number"
  13262. },
  13263. "nickname": {
  13264. "description": "账户昵称",
  13265. "type": "string"
  13266. },
  13267. "payamount": {
  13268. "description": "已收付额(收款或付款)",
  13269. "type": "number"
  13270. },
  13271. "preinvoiceamount": {
  13272. "description": "预收(开)票额",
  13273. "type": "number"
  13274. },
  13275. "prepayamount": {
  13276. "description": "预收付额",
  13277. "type": "number"
  13278. },
  13279. "price": {
  13280. "description": "价格",
  13281. "type": "number"
  13282. },
  13283. "pricedamount": {
  13284. "description": "已定价额",
  13285. "type": "number"
  13286. },
  13287. "pricedavg": {
  13288. "description": "已点均价",
  13289. "type": "number"
  13290. },
  13291. "pricedqty": {
  13292. "description": "已定价量",
  13293. "type": "number"
  13294. },
  13295. "pricemove": {
  13296. "description": "升贴水",
  13297. "type": "number"
  13298. },
  13299. "pricetype": {
  13300. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13301. "type": "integer"
  13302. },
  13303. "producttype": {
  13304. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13305. "type": "integer"
  13306. },
  13307. "qty": {
  13308. "description": "合同量",
  13309. "type": "number"
  13310. },
  13311. "reckonadjustamount": {
  13312. "description": "调整金额",
  13313. "type": "number"
  13314. },
  13315. "reckonedamount": {
  13316. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13317. "type": "number"
  13318. },
  13319. "reckonotheramount": {
  13320. "description": "其它费用",
  13321. "type": "number"
  13322. },
  13323. "reckonrealqty": {
  13324. "description": "已确定量",
  13325. "type": "number"
  13326. },
  13327. "remark": {
  13328. "description": "备注",
  13329. "type": "string"
  13330. },
  13331. "spotcontractid": {
  13332. "description": "合同ID",
  13333. "type": "string"
  13334. },
  13335. "spotgoodsbrandid": {
  13336. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13337. "type": "integer"
  13338. },
  13339. "spotgoodsdesc": {
  13340. "description": "商品型号(商品规格)",
  13341. "type": "string"
  13342. },
  13343. "startdate": {
  13344. "description": "点价开始日",
  13345. "type": "string"
  13346. },
  13347. "totalamount": {
  13348. "description": "合计总额",
  13349. "type": "number"
  13350. },
  13351. "unpayamount": {
  13352. "description": "应收付款额(应支付或应收款)",
  13353. "type": "number"
  13354. },
  13355. "unpricedqty": {
  13356. "description": "未定价量",
  13357. "type": "number"
  13358. },
  13359. "unsureqty": {
  13360. "description": "未确定量",
  13361. "type": "number"
  13362. },
  13363. "userid": {
  13364. "description": "机构ID",
  13365. "type": "integer"
  13366. },
  13367. "wrstandardcode": {
  13368. "description": "品类代码",
  13369. "type": "string"
  13370. },
  13371. "wrstandardid": {
  13372. "description": "品类ID",
  13373. "type": "integer"
  13374. },
  13375. "wrstandardname": {
  13376. "description": "品类名称",
  13377. "type": "string"
  13378. }
  13379. }
  13380. },
  13381. "models.Ermcp3SpotGoodsPrice": {
  13382. "type": "object",
  13383. "properties": {
  13384. "areauserid": {
  13385. "description": "所属机构id",
  13386. "type": "integer"
  13387. },
  13388. "brandname": {
  13389. "description": "品牌名称",
  13390. "type": "string"
  13391. },
  13392. "currencyid": {
  13393. "description": "报价货币ID",
  13394. "type": "integer"
  13395. },
  13396. "deliverygoodscode": {
  13397. "description": "现货商品代码",
  13398. "type": "string"
  13399. },
  13400. "deliverygoodsid": {
  13401. "description": "现货商品id",
  13402. "type": "integer"
  13403. },
  13404. "deliverygoodsname": {
  13405. "description": "现货商品名称",
  13406. "type": "string"
  13407. },
  13408. "enumdicname": {
  13409. "description": "现货商品单位名称",
  13410. "type": "string"
  13411. },
  13412. "gbenumdicname": {
  13413. "description": "品类单位名称",
  13414. "type": "string"
  13415. },
  13416. "gmunitid": {
  13417. "description": "品类单位id",
  13418. "type": "integer"
  13419. },
  13420. "isvalid": {
  13421. "description": "是否有效 - 0:无效 1:有效",
  13422. "type": "integer"
  13423. },
  13424. "operateid": {
  13425. "description": "最后操作人",
  13426. "type": "integer"
  13427. },
  13428. "operatesrc": {
  13429. "description": "最后操作来源 - 1:管理端 2:终端",
  13430. "type": "integer"
  13431. },
  13432. "operatetime": {
  13433. "description": "最后操作时间",
  13434. "type": "string"
  13435. },
  13436. "operatorname": {
  13437. "description": "操作人名称",
  13438. "type": "string"
  13439. },
  13440. "spotgoodsbrandid": {
  13441. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13442. "type": "integer"
  13443. },
  13444. "spotgoodsprice": {
  13445. "description": "现货价格",
  13446. "type": "number"
  13447. },
  13448. "tradedate": {
  13449. "description": "交易日(yyyyMMdd)",
  13450. "type": "string"
  13451. },
  13452. "unitid": {
  13453. "description": "现货商品单位id",
  13454. "type": "integer"
  13455. },
  13456. "wrstandardcode": {
  13457. "description": "品类代码",
  13458. "type": "string"
  13459. },
  13460. "wrstandardid": {
  13461. "description": "现货品类ID(通用则为0)",
  13462. "type": "integer"
  13463. },
  13464. "wrstandardname": {
  13465. "description": "品类名称",
  13466. "type": "string"
  13467. }
  13468. }
  13469. },
  13470. "models.Ermcp3SpotGoodsPriceLog": {
  13471. "type": "object",
  13472. "properties": {
  13473. "areauserid": {
  13474. "description": "所属机构id",
  13475. "type": "integer"
  13476. },
  13477. "brandname": {
  13478. "description": "品牌名称",
  13479. "type": "string"
  13480. },
  13481. "currencyid": {
  13482. "description": "报价货币ID",
  13483. "type": "integer"
  13484. },
  13485. "deliverygoodscode": {
  13486. "description": "现货商品代码",
  13487. "type": "string"
  13488. },
  13489. "deliverygoodsid": {
  13490. "description": "现货商品id",
  13491. "type": "integer"
  13492. },
  13493. "deliverygoodsname": {
  13494. "description": "现货商品名称",
  13495. "type": "string"
  13496. },
  13497. "enumdicname": {
  13498. "description": "现货商品单位名称",
  13499. "type": "string"
  13500. },
  13501. "gbenumdicname": {
  13502. "description": "品类单位名称",
  13503. "type": "string"
  13504. },
  13505. "gmunitid": {
  13506. "description": "品类单位id",
  13507. "type": "integer"
  13508. },
  13509. "logid": {
  13510. "description": "日志id",
  13511. "type": "integer"
  13512. },
  13513. "operateid": {
  13514. "description": "最后操作人",
  13515. "type": "integer"
  13516. },
  13517. "operatesrc": {
  13518. "description": "最后操作来源 - 1:管理端 2:终端",
  13519. "type": "integer"
  13520. },
  13521. "operatetime": {
  13522. "description": "最后操作时间",
  13523. "type": "string"
  13524. },
  13525. "operatorname": {
  13526. "description": "操作人名称",
  13527. "type": "string"
  13528. },
  13529. "spotgoodsbrandid": {
  13530. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13531. "type": "integer"
  13532. },
  13533. "spotgoodsprice": {
  13534. "description": "现货价格",
  13535. "type": "number"
  13536. },
  13537. "tradedate": {
  13538. "description": "交易日(yyyyMMdd)",
  13539. "type": "string"
  13540. },
  13541. "unitid": {
  13542. "description": "现货商品单位id",
  13543. "type": "integer"
  13544. },
  13545. "wrstandardcode": {
  13546. "description": "品类代码",
  13547. "type": "string"
  13548. },
  13549. "wrstandardid": {
  13550. "description": "现货品类ID(通用则为0)",
  13551. "type": "integer"
  13552. },
  13553. "wrstandardname": {
  13554. "description": "品类名称",
  13555. "type": "string"
  13556. }
  13557. }
  13558. },
  13559. "models.Ermcp3Wrstandard": {
  13560. "type": "object",
  13561. "properties": {
  13562. "areauserid": {
  13563. "description": "所属机构",
  13564. "type": "integer"
  13565. },
  13566. "convertfactor": {
  13567. "description": "标仓系数",
  13568. "type": "number"
  13569. },
  13570. "createtime": {
  13571. "description": "创建时间",
  13572. "type": "string"
  13573. },
  13574. "creatorid": {
  13575. "description": "创建人",
  13576. "type": "integer"
  13577. },
  13578. "deliverygoodsid": {
  13579. "description": "现货品种ID",
  13580. "type": "integer"
  13581. },
  13582. "enumdicname": {
  13583. "description": "品类单位名称",
  13584. "type": "string"
  13585. },
  13586. "isvalid": {
  13587. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13588. "type": "integer"
  13589. },
  13590. "minivalue": {
  13591. "description": "最小变动值",
  13592. "type": "integer"
  13593. },
  13594. "minivaluedp": {
  13595. "description": "最小变动值小数位",
  13596. "type": "integer"
  13597. },
  13598. "realminivalue": {
  13599. "description": "实际最小变动值",
  13600. "type": "integer"
  13601. },
  13602. "realminivaluedp": {
  13603. "description": "实际最小变动值小数位",
  13604. "type": "integer"
  13605. },
  13606. "remark": {
  13607. "description": "备注",
  13608. "type": "string"
  13609. },
  13610. "unitid": {
  13611. "description": "品类单位ID",
  13612. "type": "integer"
  13613. },
  13614. "updatetime": {
  13615. "description": "更新时间",
  13616. "type": "string"
  13617. },
  13618. "wrstandardcode": {
  13619. "description": "品类代码",
  13620. "type": "string"
  13621. },
  13622. "wrstandardid": {
  13623. "description": "品类ID(SEQ_WRSTANDARD)",
  13624. "type": "integer"
  13625. },
  13626. "wrstandardname": {
  13627. "description": "品类名称",
  13628. "type": "string"
  13629. }
  13630. }
  13631. },
  13632. "models.ErmcpAreaSpotDetailModel": {
  13633. "type": "object",
  13634. "properties": {
  13635. "contracttype": {
  13636. "description": "合同类型 1-采购 -1-销售",
  13637. "type": "integer"
  13638. },
  13639. "createtime": {
  13640. "description": "创建时间",
  13641. "type": "string"
  13642. },
  13643. "enumdicname": {
  13644. "description": "现货商品单位名称",
  13645. "type": "string"
  13646. },
  13647. "logtype": {
  13648. "description": "记录类型 1-套保 2-现货合同",
  13649. "type": "integer"
  13650. },
  13651. "qty": {
  13652. "description": "数量",
  13653. "type": "number"
  13654. },
  13655. "recordname": {
  13656. "description": "类型名称",
  13657. "type": "string"
  13658. },
  13659. "relatedid": {
  13660. "description": "套保计划ID/现货合同ID",
  13661. "type": "string"
  13662. },
  13663. "relatedno": {
  13664. "description": "编号",
  13665. "type": "string"
  13666. },
  13667. "strtime": {
  13668. "description": "时间",
  13669. "type": "string"
  13670. },
  13671. "wrstandardcode": {
  13672. "description": "现货商品代码",
  13673. "type": "string"
  13674. },
  13675. "wrstandardname": {
  13676. "description": "现货商品名称",
  13677. "type": "string"
  13678. }
  13679. }
  13680. },
  13681. "models.ErmcpAvalidGoodsGroupModel": {
  13682. "type": "object",
  13683. "properties": {
  13684. "goodsgroupid": {
  13685. "description": "期货品种id",
  13686. "type": "integer"
  13687. },
  13688. "goodsgroupname": {
  13689. "description": "期货品种名称",
  13690. "type": "string"
  13691. },
  13692. "goodunitid": {
  13693. "description": "品种单位id",
  13694. "type": "integer"
  13695. },
  13696. "goodunitname": {
  13697. "description": "品种单位名称",
  13698. "type": "string"
  13699. },
  13700. "outergroupcode": {
  13701. "description": "期货品种代码",
  13702. "type": "string"
  13703. }
  13704. }
  13705. },
  13706. "models.ErmcpBizGroupEx": {
  13707. "type": "object",
  13708. "properties": {
  13709. "acclist": {
  13710. "description": "账号列表",
  13711. "type": "array",
  13712. "items": {
  13713. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  13714. }
  13715. },
  13716. "bizgroupid": {
  13717. "description": "业务分组id",
  13718. "type": "integer"
  13719. },
  13720. "biztype": {
  13721. "description": "业务类型 1-套保 2-套利",
  13722. "type": "integer"
  13723. },
  13724. "wrlist": {
  13725. "description": "现货商品表",
  13726. "type": "array",
  13727. "items": {
  13728. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  13729. }
  13730. }
  13731. }
  13732. },
  13733. "models.ErmcpBizGroupSpotGoods": {
  13734. "type": "object",
  13735. "properties": {
  13736. "areauserid": {
  13737. "description": "所属机构id",
  13738. "type": "integer"
  13739. },
  13740. "bizgroupid": {
  13741. "description": "分组id",
  13742. "type": "integer"
  13743. },
  13744. "biztype": {
  13745. "description": "业务类型 1-套保 2-套利",
  13746. "type": "integer"
  13747. },
  13748. "deliverygoodscode": {
  13749. "description": "现货商品代码",
  13750. "type": "string"
  13751. },
  13752. "deliverygoodsid": {
  13753. "description": "现货商品id",
  13754. "type": "integer"
  13755. },
  13756. "deliverygoodsname": {
  13757. "description": "现货商品名称",
  13758. "type": "string"
  13759. },
  13760. "unitid": {
  13761. "description": "现货商品单位id",
  13762. "type": "integer"
  13763. }
  13764. }
  13765. },
  13766. "models.ErmcpBizGroupTaAccount": {
  13767. "type": "object",
  13768. "properties": {
  13769. "accountid": {
  13770. "description": "账号id",
  13771. "type": "integer"
  13772. },
  13773. "accountname": {
  13774. "description": "账号名称",
  13775. "type": "string"
  13776. },
  13777. "areauserid": {
  13778. "description": "所属机构id",
  13779. "type": "integer"
  13780. },
  13781. "bizgroupid": {
  13782. "description": "业务分组id",
  13783. "type": "integer"
  13784. },
  13785. "ismain": {
  13786. "description": "是否主账号 1-是 0-否",
  13787. "type": "integer"
  13788. }
  13789. }
  13790. },
  13791. "models.ErmcpDGFactoryItem": {
  13792. "type": "object",
  13793. "properties": {
  13794. "areauserid": {
  13795. "description": "用户id",
  13796. "type": "integer"
  13797. },
  13798. "deliverygoodsid": {
  13799. "description": "现货品种ID",
  13800. "type": "integer"
  13801. },
  13802. "dgfactoryitemid": {
  13803. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  13804. "type": "integer"
  13805. },
  13806. "dgfactoryitemtypeid": {
  13807. "description": "要素项类型",
  13808. "type": "integer"
  13809. },
  13810. "dgfactoryitemvalue": {
  13811. "description": "要素项值(类型为仓库时填写仓库名称)",
  13812. "type": "string"
  13813. },
  13814. "isvalid": {
  13815. "description": "是否有效 - 0:无效 1:有效",
  13816. "type": "integer"
  13817. },
  13818. "orderindex": {
  13819. "description": "顺序",
  13820. "type": "integer"
  13821. },
  13822. "warehouseid": {
  13823. "description": "仓库ID(类型为仓库时填写)",
  13824. "type": "integer"
  13825. }
  13826. }
  13827. },
  13828. "models.ErmcpDeliveryGoods": {
  13829. "type": "object",
  13830. "properties": {
  13831. "agreeunit": {
  13832. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  13833. "type": "integer"
  13834. },
  13835. "areauserid": {
  13836. "description": "所属机构",
  13837. "type": "integer"
  13838. },
  13839. "auditflag": {
  13840. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  13841. "type": "integer"
  13842. },
  13843. "categoryid": {
  13844. "description": "类别ID(SEQ_WRCATEGORY)",
  13845. "type": "integer"
  13846. },
  13847. "deliverygoodscode": {
  13848. "description": "现货品种代码",
  13849. "type": "string"
  13850. },
  13851. "deliverygoodsid": {
  13852. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  13853. "type": "integer"
  13854. },
  13855. "deliverygoodsname": {
  13856. "description": "现货品种名称",
  13857. "type": "string"
  13858. },
  13859. "deliverygoodstype": {
  13860. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  13861. "type": "integer"
  13862. },
  13863. "dgstatus": {
  13864. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  13865. "type": "integer"
  13866. },
  13867. "enumdicname": {
  13868. "description": "现货品种单位名称",
  13869. "type": "string"
  13870. },
  13871. "goodsunitid": {
  13872. "description": "现货品种单位ID",
  13873. "type": "integer"
  13874. },
  13875. "isvalid": {
  13876. "description": "是否有效 - 0:无效 1:有效",
  13877. "type": "integer"
  13878. },
  13879. "qtydecimalplace": {
  13880. "description": "成交量小数位",
  13881. "type": "integer"
  13882. },
  13883. "remark": {
  13884. "description": "备注",
  13885. "type": "string"
  13886. },
  13887. "standardqty": {
  13888. "description": "标准数量(库位数量) [标准品特有]",
  13889. "type": "integer"
  13890. },
  13891. "standardqtyrange": {
  13892. "description": "标准数量偏差范围 [标准品特有]",
  13893. "type": "integer"
  13894. }
  13895. }
  13896. },
  13897. "models.ErmcpDeliveryGoodsDetail2": {
  13898. "type": "object",
  13899. "properties": {
  13900. "convertratio": {
  13901. "description": "套保系数(折算系数)",
  13902. "type": "number"
  13903. },
  13904. "data": {
  13905. "description": "现货商品基本信息(交割品种)",
  13906. "type": "object",
  13907. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  13908. },
  13909. "gblist": {
  13910. "description": "品牌列表",
  13911. "type": "array",
  13912. "items": {
  13913. "$ref": "#/definitions/models.Ermcp3Brand"
  13914. }
  13915. },
  13916. "gmlist": {
  13917. "description": "品类列表(仓单标准)",
  13918. "type": "array",
  13919. "items": {
  13920. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  13921. }
  13922. }
  13923. }
  13924. },
  13925. "models.ErmcpDeliveryGoodsDetailEx": {
  13926. "type": "object",
  13927. "properties": {
  13928. "data": {
  13929. "description": "现货商品基本信息(交割品种)",
  13930. "type": "object",
  13931. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  13932. },
  13933. "gblist": {
  13934. "description": "品牌列表",
  13935. "type": "array",
  13936. "items": {
  13937. "$ref": "#/definitions/models.Ermcp3Brand"
  13938. }
  13939. },
  13940. "gmlist": {
  13941. "description": "品类列表(仓单标准)",
  13942. "type": "array",
  13943. "items": {
  13944. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  13945. }
  13946. },
  13947. "mgList": {
  13948. "description": "套保列表",
  13949. "type": "array",
  13950. "items": {
  13951. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  13952. }
  13953. }
  13954. }
  13955. },
  13956. "models.ErmcpExposureDetailModel": {
  13957. "type": "object",
  13958. "properties": {
  13959. "areauserid": {
  13960. "description": "机构ID",
  13961. "type": "integer"
  13962. },
  13963. "changeQty": {
  13964. "description": "套保变动量",
  13965. "type": "number"
  13966. },
  13967. "contracttype": {
  13968. "description": "现货合同类型 - 1:采购 -1:销售",
  13969. "type": "integer"
  13970. },
  13971. "convertfactor": {
  13972. "description": "标仓系数",
  13973. "type": "number"
  13974. },
  13975. "convertratio": {
  13976. "description": "套保系数",
  13977. "type": "number"
  13978. },
  13979. "createtime": {
  13980. "description": "时间",
  13981. "type": "string"
  13982. },
  13983. "enumdicname": {
  13984. "description": "现货商品单位名称",
  13985. "type": "string"
  13986. },
  13987. "logtype": {
  13988. "description": "类型 - 1:套保计划 2:现货合同",
  13989. "type": "integer"
  13990. },
  13991. "middlegoodsId": {
  13992. "description": "套保商品id",
  13993. "type": "integer"
  13994. },
  13995. "middlegoodscode": {
  13996. "description": "套保商品代码",
  13997. "type": "string"
  13998. },
  13999. "middlegoodsname": {
  14000. "description": "套保商品名称",
  14001. "type": "string"
  14002. },
  14003. "qty": {
  14004. "description": "数量",
  14005. "type": "number"
  14006. },
  14007. "relateNo": {
  14008. "description": "现货合同/套保计划编号",
  14009. "type": "string"
  14010. },
  14011. "wrstandardcode": {
  14012. "description": "现货商品代码",
  14013. "type": "string"
  14014. },
  14015. "wrstandardid": {
  14016. "description": "现货商品ID",
  14017. "type": "integer"
  14018. },
  14019. "wrstandardname": {
  14020. "description": "现货商品名称",
  14021. "type": "string"
  14022. }
  14023. }
  14024. },
  14025. "models.ErmcpExposurePostion": {
  14026. "type": "object",
  14027. "properties": {
  14028. "agreeunit": {
  14029. "description": "合约单位",
  14030. "type": "string"
  14031. },
  14032. "areauserid": {
  14033. "description": "所属机构id",
  14034. "type": "integer"
  14035. },
  14036. "convertratio": {
  14037. "description": "期货品种系数(折算系数)",
  14038. "type": "number"
  14039. },
  14040. "curqty": {
  14041. "description": "当前持仓",
  14042. "type": "integer"
  14043. },
  14044. "diffhedgeqty": {
  14045. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  14046. "type": "number"
  14047. },
  14048. "diffqty": {
  14049. "description": "持仓变动量=当前持仓-昨日持仓",
  14050. "type": "integer"
  14051. },
  14052. "goodscode": {
  14053. "description": "商品代码",
  14054. "type": "string"
  14055. },
  14056. "goodsid": {
  14057. "description": "商品id",
  14058. "type": "integer"
  14059. },
  14060. "goodsname": {
  14061. "description": "商品名称",
  14062. "type": "string"
  14063. },
  14064. "middlegoodsid": {
  14065. "description": "套保商品id",
  14066. "type": "integer"
  14067. },
  14068. "ydqty": {
  14069. "description": "昨日持仓",
  14070. "type": "integer"
  14071. }
  14072. }
  14073. },
  14074. "models.ErmcpFuturesCompany": {
  14075. "type": "object",
  14076. "properties": {
  14077. "brokerid": {
  14078. "description": "经纪公司代码",
  14079. "type": "string"
  14080. },
  14081. "channeladdress": {
  14082. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  14083. "type": "string"
  14084. },
  14085. "channelid": {
  14086. "description": "对冲渠道ID",
  14087. "type": "string"
  14088. },
  14089. "createtime": {
  14090. "description": "创建时间",
  14091. "type": "string"
  14092. },
  14093. "creatorid": {
  14094. "description": "创建人",
  14095. "type": "string"
  14096. },
  14097. "fcid": {
  14098. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  14099. "type": "integer"
  14100. },
  14101. "fcname": {
  14102. "description": "期货公司名称",
  14103. "type": "string"
  14104. },
  14105. "isvalid": {
  14106. "description": "是否有效 - 0:无效 1:有效",
  14107. "type": "integer"
  14108. },
  14109. "mhpaddress": {
  14110. "description": "MHP服务地址(IP:Port)",
  14111. "type": "string"
  14112. },
  14113. "riskrulegroupid": {
  14114. "description": "风控规则组ID",
  14115. "type": "string"
  14116. },
  14117. "tradefeetmpid": {
  14118. "description": "手续费模板ID[TradeConfigTmpType为2]",
  14119. "type": "string"
  14120. },
  14121. "trademargintmpid": {
  14122. "description": "保证金模板ID [TradeConfigTmpType为1]",
  14123. "type": "string"
  14124. },
  14125. "traderatetmpid": {
  14126. "description": "汇率模板ID[TradeConfigTmpType为3]",
  14127. "type": "string"
  14128. },
  14129. "updatetime": {
  14130. "description": "更新时间",
  14131. "type": "string"
  14132. },
  14133. "updatorid": {
  14134. "description": "更新人",
  14135. "type": "string"
  14136. }
  14137. }
  14138. },
  14139. "models.ErmcpGGConvertCfg": {
  14140. "type": "object",
  14141. "properties": {
  14142. "convertratio": {
  14143. "description": "折算系数",
  14144. "type": "number"
  14145. },
  14146. "destgoodsgroupid": {
  14147. "description": "目标品种ID",
  14148. "type": "integer"
  14149. },
  14150. "dstcode": {
  14151. "description": "目录品种代码",
  14152. "type": "string"
  14153. },
  14154. "dstexchangecode": {
  14155. "description": "目标期货交易所",
  14156. "type": "string"
  14157. },
  14158. "dstname": {
  14159. "description": "目标品种名称",
  14160. "type": "string"
  14161. },
  14162. "dstunitid": {
  14163. "description": "目标品种单位ID",
  14164. "type": "integer"
  14165. },
  14166. "dstunitidname": {
  14167. "description": "目标品种单位名称",
  14168. "type": "string"
  14169. },
  14170. "modifytime": {
  14171. "description": "修改时间",
  14172. "type": "string"
  14173. },
  14174. "srccode": {
  14175. "description": "源品种代码",
  14176. "type": "string"
  14177. },
  14178. "srcexchangecode": {
  14179. "description": "源期货交易所",
  14180. "type": "string"
  14181. },
  14182. "srcgoodsgroupid": {
  14183. "description": "源品种ID",
  14184. "type": "integer"
  14185. },
  14186. "srcname": {
  14187. "description": "源品种名称",
  14188. "type": "string"
  14189. },
  14190. "srcunitid": {
  14191. "description": "源品种单位ID",
  14192. "type": "integer"
  14193. },
  14194. "srcunitidname": {
  14195. "description": "源品种单位名称",
  14196. "type": "string"
  14197. }
  14198. }
  14199. },
  14200. "models.ErmcpGoodsBrand": {
  14201. "type": "object",
  14202. "properties": {
  14203. "areauserid": {
  14204. "description": "所属机构",
  14205. "type": "integer"
  14206. },
  14207. "brandid": {
  14208. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  14209. "type": "integer"
  14210. },
  14211. "brandname": {
  14212. "description": "品牌名称",
  14213. "type": "string"
  14214. },
  14215. "createtime": {
  14216. "description": "创建时间",
  14217. "type": "string"
  14218. },
  14219. "creatorid": {
  14220. "description": "创建人",
  14221. "type": "integer"
  14222. },
  14223. "creatorsrc": {
  14224. "description": "创建人来源 - 1:管理端 2:终端",
  14225. "type": "integer"
  14226. },
  14227. "deliverygoodsid": {
  14228. "description": "现货品种ID",
  14229. "type": "integer"
  14230. },
  14231. "isvalid": {
  14232. "description": "是否有效 - 0:无效 1:有效",
  14233. "type": "integer"
  14234. },
  14235. "updatetime": {
  14236. "description": "更新时间",
  14237. "type": "string"
  14238. },
  14239. "updatorid": {
  14240. "description": "更新人",
  14241. "type": "integer"
  14242. },
  14243. "updatorsrc": {
  14244. "description": "更新人来源 - 1:管理端 2:终端",
  14245. "type": "integer"
  14246. },
  14247. "wrstandardid": {
  14248. "description": "现货商品ID",
  14249. "type": "integer"
  14250. }
  14251. }
  14252. },
  14253. "models.ErmcpGoodsModel": {
  14254. "type": "object",
  14255. "properties": {
  14256. "areauserid": {
  14257. "description": "所属机构",
  14258. "type": "integer"
  14259. },
  14260. "convertfactor": {
  14261. "description": "标仓系数",
  14262. "type": "number"
  14263. },
  14264. "createtime": {
  14265. "description": "创建时间",
  14266. "type": "string"
  14267. },
  14268. "creatorid": {
  14269. "description": "创建人",
  14270. "type": "integer"
  14271. },
  14272. "creatorsrc": {
  14273. "description": "创建人来源 - 1:管理端 2:终端",
  14274. "type": "integer"
  14275. },
  14276. "deliverygoodsid": {
  14277. "description": "现货品种ID",
  14278. "type": "integer"
  14279. },
  14280. "isvalid": {
  14281. "description": "是否有效 - 0:无效 1:有效",
  14282. "type": "integer"
  14283. },
  14284. "modelid": {
  14285. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  14286. "type": "integer"
  14287. },
  14288. "modelname": {
  14289. "description": "型号名称",
  14290. "type": "string"
  14291. },
  14292. "updatetime": {
  14293. "description": "更新时间",
  14294. "type": "string"
  14295. },
  14296. "updatorid": {
  14297. "description": "更新人",
  14298. "type": "integer"
  14299. },
  14300. "updatorsrc": {
  14301. "description": "更新人来源 - 1:管理端 2:终端",
  14302. "type": "integer"
  14303. },
  14304. "wrstandardid": {
  14305. "description": "现货商品ID",
  14306. "type": "integer"
  14307. }
  14308. }
  14309. },
  14310. "models.ErmcpHedgePosition": {
  14311. "type": "object",
  14312. "properties": {
  14313. "accountid": {
  14314. "description": "资金账号[外部母账户]",
  14315. "type": "integer"
  14316. },
  14317. "curbuyposition": {
  14318. "description": "期末买头寸",
  14319. "type": "integer"
  14320. },
  14321. "cursellposition": {
  14322. "description": "期末卖头寸",
  14323. "type": "integer"
  14324. },
  14325. "curtdbuyposition": {
  14326. "description": "期末今日买头寸",
  14327. "type": "integer"
  14328. },
  14329. "curtdsellposition": {
  14330. "description": "期末今日卖头寸",
  14331. "type": "integer"
  14332. },
  14333. "curydbuyposition": {
  14334. "description": "期末上日买头寸",
  14335. "type": "integer"
  14336. },
  14337. "curydsellposition": {
  14338. "description": "期末上日卖头寸",
  14339. "type": "integer"
  14340. },
  14341. "decreaseqty": {
  14342. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14343. "type": "integer"
  14344. },
  14345. "fretdbuyposition": {
  14346. "description": "冻结今日买头寸",
  14347. "type": "integer"
  14348. },
  14349. "fretdsellposition": {
  14350. "description": "冻结今日卖头寸",
  14351. "type": "integer"
  14352. },
  14353. "freydbuyposition": {
  14354. "description": "冻结上日买头寸",
  14355. "type": "integer"
  14356. },
  14357. "freydsellposition": {
  14358. "description": "冻结上日卖头寸",
  14359. "type": "integer"
  14360. },
  14361. "goodscode": {
  14362. "description": "商品代码",
  14363. "type": "string"
  14364. },
  14365. "goodsid": {
  14366. "description": "商品id",
  14367. "type": "integer"
  14368. },
  14369. "goodsname": {
  14370. "description": "商品名称",
  14371. "type": "string"
  14372. },
  14373. "hedgeaccountcode": {
  14374. "description": "对冲账号",
  14375. "type": "string"
  14376. },
  14377. "hedgegoodsid": {
  14378. "description": "对冲合约ID",
  14379. "type": "integer"
  14380. },
  14381. "increaseqty": {
  14382. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14383. "type": "integer"
  14384. },
  14385. "marketid": {
  14386. "description": "市场ID",
  14387. "type": "integer"
  14388. },
  14389. "relateduserid": {
  14390. "description": "关联用户id",
  14391. "type": "integer"
  14392. },
  14393. "totalcurqty": {
  14394. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14395. "type": "integer"
  14396. },
  14397. "totalydqty": {
  14398. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14399. "type": "integer"
  14400. },
  14401. "tradedate": {
  14402. "description": "交易日(yyyyMMdd)",
  14403. "type": "string"
  14404. },
  14405. "ydbuyposition": {
  14406. "description": "期初买头寸",
  14407. "type": "integer"
  14408. },
  14409. "ydsellposition": {
  14410. "description": "期初卖头寸",
  14411. "type": "integer"
  14412. }
  14413. }
  14414. },
  14415. "models.ErmcpHedgePositionDetail": {
  14416. "type": "object",
  14417. "properties": {
  14418. "buyorsell": {
  14419. "description": "买卖方向 0-买 1-卖",
  14420. "type": "integer"
  14421. },
  14422. "channelbuildtype": {
  14423. "description": "开平方向 1-建仓 2-平仓",
  14424. "type": "integer"
  14425. },
  14426. "goodscode": {
  14427. "description": "商品代码",
  14428. "type": "string"
  14429. },
  14430. "goodsname": {
  14431. "description": "商品名称",
  14432. "type": "string"
  14433. },
  14434. "hedgegoodsid": {
  14435. "description": "商品id",
  14436. "type": "integer"
  14437. },
  14438. "tradeqty": {
  14439. "description": "数量(成交数量)",
  14440. "type": "integer"
  14441. },
  14442. "tradetime": {
  14443. "description": "时间(成交时间)",
  14444. "type": "string"
  14445. }
  14446. }
  14447. },
  14448. "models.ErmcpHisExposure": {
  14449. "type": "object",
  14450. "properties": {
  14451. "needhedgeexposoure": {
  14452. "description": "应套保敞口",
  14453. "type": "number"
  14454. },
  14455. "reckondate": {
  14456. "description": "日照时期(yyyyMMdd)",
  14457. "type": "string"
  14458. },
  14459. "totalexposure": {
  14460. "description": "总敞口",
  14461. "type": "number"
  14462. }
  14463. }
  14464. },
  14465. "models.ErmcpHisExposureS": {
  14466. "type": "object",
  14467. "properties": {
  14468. "data": {
  14469. "description": "历史敞口",
  14470. "type": "array",
  14471. "items": {
  14472. "$ref": "#/definitions/models.ErmcpHisExposure"
  14473. }
  14474. },
  14475. "enumdicname": {
  14476. "description": "单位名称",
  14477. "type": "string"
  14478. },
  14479. "middlegoodscode": {
  14480. "description": "套保品种代码",
  14481. "type": "string"
  14482. },
  14483. "middlegoodsid": {
  14484. "description": "套保品种ID",
  14485. "type": "integer"
  14486. },
  14487. "middlegoodsname": {
  14488. "description": "套保品种名称",
  14489. "type": "string"
  14490. }
  14491. }
  14492. },
  14493. "models.ErmcpLoginTaAccount": {
  14494. "type": "object",
  14495. "properties": {
  14496. "accountid": {
  14497. "description": "账号id",
  14498. "type": "integer"
  14499. },
  14500. "accountname": {
  14501. "description": "账号名称",
  14502. "type": "string"
  14503. }
  14504. }
  14505. },
  14506. "models.ErmcpLoginUser": {
  14507. "type": "object",
  14508. "properties": {
  14509. "acclist": {
  14510. "description": "关联资金账号",
  14511. "type": "array",
  14512. "items": {
  14513. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  14514. }
  14515. },
  14516. "accountname": {
  14517. "description": "用户名称",
  14518. "type": "string"
  14519. },
  14520. "clientroleid": {
  14521. "description": "角色id(usertype=2)",
  14522. "type": "integer"
  14523. },
  14524. "createtime": {
  14525. "description": "创建时间",
  14526. "type": "string"
  14527. },
  14528. "logincode": {
  14529. "description": "登录代码",
  14530. "type": "string"
  14531. },
  14532. "loginid": {
  14533. "description": "登录id(LOGINID)",
  14534. "type": "integer"
  14535. },
  14536. "loginname": {
  14537. "description": "登录名称(loginaccount表中的accountname字段)",
  14538. "type": "string"
  14539. },
  14540. "loginstatus": {
  14541. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  14542. "type": "integer"
  14543. },
  14544. "memberuserid": {
  14545. "description": "所属会员id",
  14546. "type": "integer"
  14547. },
  14548. "mobile": {
  14549. "description": "手机号",
  14550. "type": "string"
  14551. },
  14552. "modifytime": {
  14553. "description": "修改时间",
  14554. "type": "string"
  14555. },
  14556. "password": {
  14557. "description": "密码(不可解密)",
  14558. "type": "string"
  14559. },
  14560. "rolename": {
  14561. "description": "角色名称",
  14562. "type": "string"
  14563. },
  14564. "rolestatus": {
  14565. "description": "角色状态 1-启用 2-停用",
  14566. "type": "integer"
  14567. },
  14568. "roletype": {
  14569. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  14570. "type": "string"
  14571. },
  14572. "userid": {
  14573. "description": "用户id",
  14574. "type": "integer"
  14575. },
  14576. "usertype": {
  14577. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  14578. "type": "integer"
  14579. }
  14580. }
  14581. },
  14582. "models.ErmcpLoginUserEx": {
  14583. "type": "object",
  14584. "properties": {
  14585. "accountstatus": {
  14586. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  14587. "type": "integer"
  14588. },
  14589. "mobile": {
  14590. "description": "手机号",
  14591. "type": "string"
  14592. },
  14593. "querytype": {
  14594. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  14595. "type": "integer"
  14596. },
  14597. "roleid": {
  14598. "description": "角色id(交易账户-\u003e用户id)",
  14599. "type": "integer"
  14600. },
  14601. "rolename": {
  14602. "description": "角色名称(交易账户-\u003e用户名称)",
  14603. "type": "string"
  14604. },
  14605. "userlist": {
  14606. "description": "用户列表",
  14607. "type": "array",
  14608. "items": {
  14609. "$ref": "#/definitions/models.ErmcpLoginUser"
  14610. }
  14611. },
  14612. "usertype": {
  14613. "description": "用户类型 2-机构 7-企业成员(云平台)",
  14614. "type": "integer"
  14615. }
  14616. }
  14617. },
  14618. "models.ErmcpMiddleGoodsChangeLog": {
  14619. "type": "object",
  14620. "properties": {
  14621. "aftervalue": {
  14622. "description": "变更后",
  14623. "type": "number"
  14624. },
  14625. "applyid": {
  14626. "description": "操作人",
  14627. "type": "integer"
  14628. },
  14629. "applyname": {
  14630. "description": "操作人名称",
  14631. "type": "string"
  14632. },
  14633. "applysrc": {
  14634. "description": "操作来源 - 1:管理端 2:终端",
  14635. "type": "integer"
  14636. },
  14637. "beforevalue": {
  14638. "description": "变更前",
  14639. "type": "number"
  14640. },
  14641. "changelogtype": {
  14642. "description": "变更流水类型 - 1:套保比率变更",
  14643. "type": "integer"
  14644. },
  14645. "handlestatus": {
  14646. "description": "处理状态",
  14647. "type": "integer"
  14648. },
  14649. "logdatetime": {
  14650. "description": "流水日期",
  14651. "type": "string"
  14652. },
  14653. "logid": {
  14654. "description": "流水ID",
  14655. "type": "integer"
  14656. },
  14657. "logremark": {
  14658. "description": "流水备注",
  14659. "type": "string"
  14660. },
  14661. "middlegoodsid": {
  14662. "description": "套保品种ID",
  14663. "type": "integer"
  14664. },
  14665. "tradedate": {
  14666. "description": "交易日(yyyyMMdd)",
  14667. "type": "string"
  14668. },
  14669. "updatetime": {
  14670. "description": "更新时间",
  14671. "type": "string"
  14672. }
  14673. }
  14674. },
  14675. "models.ErmcpMiddleGoodsDetail": {
  14676. "type": "object",
  14677. "properties": {
  14678. "cvList": {
  14679. "description": "期货品种折算列表",
  14680. "type": "array",
  14681. "items": {
  14682. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14683. }
  14684. },
  14685. "mg": {
  14686. "description": "套保品种基本信息",
  14687. "type": "object",
  14688. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14689. },
  14690. "wrcList": {
  14691. "description": "现货品种列表(现货商品折算配置)",
  14692. "type": "array",
  14693. "items": {
  14694. "$ref": "#/definitions/models.WRSConverTDetail"
  14695. }
  14696. }
  14697. }
  14698. },
  14699. "models.ErmcpMiddleGoodsModel": {
  14700. "type": "object",
  14701. "properties": {
  14702. "areauserid": {
  14703. "description": "机构用户ID",
  14704. "type": "integer"
  14705. },
  14706. "createtime": {
  14707. "description": "修改时间",
  14708. "type": "string"
  14709. },
  14710. "enumdicname": {
  14711. "description": "单位名称",
  14712. "type": "string"
  14713. },
  14714. "evaluateratio": {
  14715. "description": "估价系数",
  14716. "type": "number"
  14717. },
  14718. "goodsgroupid": {
  14719. "description": "关联期货品种ID",
  14720. "type": "integer"
  14721. },
  14722. "goodsunitid": {
  14723. "description": "单位ID",
  14724. "type": "integer"
  14725. },
  14726. "isvalid": {
  14727. "description": "状态 0-无效(停用) 1-有效(正常)",
  14728. "type": "integer"
  14729. },
  14730. "middlegoodscode": {
  14731. "description": "套保品种代码",
  14732. "type": "string"
  14733. },
  14734. "middlegoodsid": {
  14735. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14736. "type": "integer"
  14737. },
  14738. "middlegoodsname": {
  14739. "description": "套保品种名称",
  14740. "type": "string"
  14741. },
  14742. "modifytime": {
  14743. "description": "修改时间",
  14744. "type": "string"
  14745. },
  14746. "needhedgeratio": {
  14747. "description": "套保比率",
  14748. "type": "number"
  14749. },
  14750. "qtydecimalplace": {
  14751. "description": "数量小数位",
  14752. "type": "integer"
  14753. },
  14754. "relatedgoodsid": {
  14755. "description": "关联交易商品ID",
  14756. "type": "integer"
  14757. },
  14758. "relatedgoodstype": {
  14759. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  14760. "type": "integer"
  14761. },
  14762. "remark": {
  14763. "description": "备注",
  14764. "type": "string"
  14765. }
  14766. }
  14767. },
  14768. "models.ErmcpOPLogModel": {
  14769. "type": "object",
  14770. "properties": {
  14771. "aftervalue": {
  14772. "description": "变更后",
  14773. "type": "number"
  14774. },
  14775. "applyid": {
  14776. "description": "操作人ID",
  14777. "type": "string"
  14778. },
  14779. "applyname": {
  14780. "description": "操作人名称",
  14781. "type": "string"
  14782. },
  14783. "beforevalue": {
  14784. "description": "变更前",
  14785. "type": "number"
  14786. },
  14787. "biztype": {
  14788. "description": "业务类型 - 1:套保计划 2:现货合同",
  14789. "type": "integer"
  14790. },
  14791. "contracttype": {
  14792. "description": "现货合同类型 - 1:采购 -1:销售",
  14793. "type": "integer"
  14794. },
  14795. "logvalue": {
  14796. "description": "数值",
  14797. "type": "number"
  14798. },
  14799. "operatelogtype": {
  14800. "description": "操作流水类型",
  14801. "type": "integer"
  14802. },
  14803. "operatelogtypedesc": {
  14804. "description": "操作流水类型名称",
  14805. "type": "string"
  14806. },
  14807. "relatedid": {
  14808. "description": "现货合同ID\\套保计划",
  14809. "type": "string"
  14810. },
  14811. "updatetime": {
  14812. "description": "更新时间",
  14813. "type": "string"
  14814. }
  14815. }
  14816. },
  14817. "models.ErmcpPendingAudit": {
  14818. "type": "object",
  14819. "properties": {
  14820. "areastockqty": {
  14821. "description": "待审核数量: 库存申请",
  14822. "type": "integer"
  14823. },
  14824. "businessdjqty": {
  14825. "description": "待审核数量: 点价",
  14826. "type": "integer"
  14827. },
  14828. "businessfpqty": {
  14829. "description": "待审核数量: 发票",
  14830. "type": "integer"
  14831. },
  14832. "businessjsqty": {
  14833. "description": "待审核数量: 结算",
  14834. "type": "integer"
  14835. },
  14836. "businesskxqty": {
  14837. "description": "待审核数量: 款项",
  14838. "type": "integer"
  14839. },
  14840. "hedgeplanqty": {
  14841. "description": "待审核数量: 套保计划",
  14842. "type": "integer"
  14843. },
  14844. "spotcontractqty": {
  14845. "description": "待审核数量: 现货合同",
  14846. "type": "integer"
  14847. },
  14848. "userqty": {
  14849. "description": "待审核数量: 用户",
  14850. "type": "integer"
  14851. }
  14852. }
  14853. },
  14854. "models.ErmcpRealExposureModel": {
  14855. "type": "object",
  14856. "properties": {
  14857. "AreaUserID": {
  14858. "description": "所属机构",
  14859. "type": "integer"
  14860. },
  14861. "BuyFutureQty": {
  14862. "description": "买入期货数量",
  14863. "type": "number"
  14864. },
  14865. "BuyPlanQty": {
  14866. "description": "采购计划数量",
  14867. "type": "number"
  14868. },
  14869. "BuyPricedQty": {
  14870. "description": "采购合同已定价数量",
  14871. "type": "number"
  14872. },
  14873. "MiddleGoodsCode": {
  14874. "description": "套保品种代码",
  14875. "type": "string"
  14876. },
  14877. "MiddleGoodsHedgeRatio": {
  14878. "description": "应套保比例",
  14879. "type": "number"
  14880. },
  14881. "MiddleGoodsID": {
  14882. "description": "套保品种",
  14883. "type": "integer"
  14884. },
  14885. "MiddleGoodsName": {
  14886. "description": "套保品种名称",
  14887. "type": "string"
  14888. },
  14889. "NeedHedgeExposoure": {
  14890. "description": "应套保敞口",
  14891. "type": "number"
  14892. },
  14893. "NeedHedgeRatio": {
  14894. "description": "应套保敞口比例",
  14895. "type": "number"
  14896. },
  14897. "OriBuyFutureQty": {
  14898. "description": "期初买入期货数量",
  14899. "type": "number"
  14900. },
  14901. "OriBuyPlanQty": {
  14902. "description": "期初采购计划数量",
  14903. "type": "number"
  14904. },
  14905. "OriBuyPricedQty": {
  14906. "description": "期初采购合同已定价数量",
  14907. "type": "number"
  14908. },
  14909. "OriSellFutureQty": {
  14910. "description": "期初卖出期货数量",
  14911. "type": "number"
  14912. },
  14913. "OriSellPlanQty": {
  14914. "description": "期初销售计划数量",
  14915. "type": "number"
  14916. },
  14917. "OriSellPricedQty": {
  14918. "description": "期初销售合同已定价数量",
  14919. "type": "number"
  14920. },
  14921. "SellFutureQty": {
  14922. "description": "卖出期货数量",
  14923. "type": "number"
  14924. },
  14925. "SellPlanQty": {
  14926. "description": "销售计划数量",
  14927. "type": "number"
  14928. },
  14929. "SellPricedQty": {
  14930. "description": "销售合同已定价数量",
  14931. "type": "number"
  14932. },
  14933. "TotalExposure": {
  14934. "description": "总敞口",
  14935. "type": "number"
  14936. },
  14937. "TotalFutureQty": {
  14938. "description": "期货数量",
  14939. "type": "number"
  14940. },
  14941. "TotalHedgeRatio": {
  14942. "description": "敞口比例",
  14943. "type": "number"
  14944. },
  14945. "TotalNeedHedgeQty": {
  14946. "description": "期货应套保量",
  14947. "type": "number"
  14948. },
  14949. "TotalSpotQty": {
  14950. "description": "现货数量",
  14951. "type": "number"
  14952. },
  14953. "diffFutuQty": {
  14954. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  14955. "type": "number"
  14956. },
  14957. "diffSpotQty": {
  14958. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  14959. "type": "number"
  14960. },
  14961. "enumdicname": {
  14962. "description": "单位名称",
  14963. "type": "string"
  14964. },
  14965. "oriTotalFutuQty": {
  14966. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  14967. "type": "number"
  14968. },
  14969. "oriTotalSpotQty": {
  14970. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  14971. "type": "number"
  14972. }
  14973. }
  14974. },
  14975. "models.ErmcpRole": {
  14976. "type": "object",
  14977. "properties": {
  14978. "areauserid": {
  14979. "description": "所属机构",
  14980. "type": "integer"
  14981. },
  14982. "autoid": {
  14983. "description": "角色ID(自增ID)",
  14984. "type": "integer"
  14985. },
  14986. "modifierid": {
  14987. "description": "修改人(创建人)",
  14988. "type": "integer"
  14989. },
  14990. "modifiername": {
  14991. "description": "修改人名称",
  14992. "type": "string"
  14993. },
  14994. "modifytime": {
  14995. "description": "修改时间(创建时间)",
  14996. "type": "string"
  14997. },
  14998. "rolename": {
  14999. "description": "角色名称",
  15000. "type": "string"
  15001. },
  15002. "rolestatus": {
  15003. "description": "角色状态 - 1:启用 2:停用",
  15004. "type": "integer"
  15005. },
  15006. "roletype": {
  15007. "description": "角色类型 - 1- 管理端 2- 交易端",
  15008. "type": "integer"
  15009. }
  15010. }
  15011. },
  15012. "models.ErmcpRoleMenu": {
  15013. "type": "object",
  15014. "properties": {
  15015. "iconame": {
  15016. "description": "菜单图标",
  15017. "type": "string"
  15018. },
  15019. "menutype": {
  15020. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15021. "type": "integer"
  15022. },
  15023. "parentcode": {
  15024. "description": "上级资源代码",
  15025. "type": "string"
  15026. },
  15027. "remark": {
  15028. "description": "菜单备注",
  15029. "type": "string"
  15030. },
  15031. "resourcecode": {
  15032. "description": "菜单代码",
  15033. "type": "string"
  15034. },
  15035. "resourcelevel": {
  15036. "description": "级别",
  15037. "type": "integer"
  15038. },
  15039. "resourcename": {
  15040. "description": "菜单名称",
  15041. "type": "string"
  15042. },
  15043. "roleid": {
  15044. "description": "角色id",
  15045. "type": "integer"
  15046. },
  15047. "sort": {
  15048. "description": "排序",
  15049. "type": "integer"
  15050. },
  15051. "url": {
  15052. "description": "URL",
  15053. "type": "string"
  15054. },
  15055. "userid": {
  15056. "description": "用户id",
  15057. "type": "integer"
  15058. }
  15059. }
  15060. },
  15061. "models.ErmcpRoleMenuEx": {
  15062. "type": "object",
  15063. "properties": {
  15064. "menu": {
  15065. "description": "父级菜单",
  15066. "type": "object",
  15067. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15068. },
  15069. "subMenu": {
  15070. "description": "子级菜单",
  15071. "type": "array",
  15072. "items": {
  15073. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15074. }
  15075. }
  15076. }
  15077. },
  15078. "models.ErmcpTaAccount": {
  15079. "type": "object",
  15080. "properties": {
  15081. "accountid": {
  15082. "description": "账户id",
  15083. "type": "integer"
  15084. },
  15085. "accountname": {
  15086. "description": "账户名称",
  15087. "type": "string"
  15088. },
  15089. "currencyid": {
  15090. "description": "币种id",
  15091. "type": "integer"
  15092. },
  15093. "hedgeaccountcode": {
  15094. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15095. "type": "string"
  15096. },
  15097. "ismain": {
  15098. "description": "是否主账户 0-否 1-是",
  15099. "type": "integer"
  15100. },
  15101. "parentaccountid": {
  15102. "description": "父账户id",
  15103. "type": "integer"
  15104. },
  15105. "relateduserid": {
  15106. "description": "关联userid",
  15107. "type": "integer"
  15108. },
  15109. "tradestatus": {
  15110. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15111. "type": "integer"
  15112. },
  15113. "userid": {
  15114. "description": "用户id",
  15115. "type": "integer"
  15116. }
  15117. }
  15118. },
  15119. "models.ErmcpTaAccountEx": {
  15120. "type": "object",
  15121. "properties": {
  15122. "mainAcc": {
  15123. "description": "主账号",
  15124. "type": "object",
  15125. "$ref": "#/definitions/models.ErmcpTaAccountM"
  15126. },
  15127. "subacclist": {
  15128. "description": "子账号列表",
  15129. "type": "array",
  15130. "items": {
  15131. "$ref": "#/definitions/models.ErmcpTaAccount"
  15132. }
  15133. }
  15134. }
  15135. },
  15136. "models.ErmcpTaAccountInfo": {
  15137. "type": "object",
  15138. "properties": {
  15139. "accountid": {
  15140. "description": "资金账户ID",
  15141. "type": "integer"
  15142. },
  15143. "accountname": {
  15144. "description": "账户名称",
  15145. "type": "string"
  15146. },
  15147. "balance": {
  15148. "description": "期初余额",
  15149. "type": "number"
  15150. },
  15151. "capitalbalance": {
  15152. "description": "本金余额[外部子账户实际出入金余额]",
  15153. "type": "number"
  15154. },
  15155. "closepl": {
  15156. "description": "今日平仓盈亏",
  15157. "type": "number"
  15158. },
  15159. "creditdecrease": {
  15160. "description": "今日授信减少",
  15161. "type": "number"
  15162. },
  15163. "creditincrease": {
  15164. "description": "今日授信增加",
  15165. "type": "number"
  15166. },
  15167. "curdebt": {
  15168. "description": "期末欠款",
  15169. "type": "number"
  15170. },
  15171. "currencyid": {
  15172. "description": "货币ID",
  15173. "type": "integer"
  15174. },
  15175. "currentbalance": {
  15176. "description": "期末余额",
  15177. "type": "number"
  15178. },
  15179. "freezecharge": {
  15180. "description": "手续费冻结",
  15181. "type": "number"
  15182. },
  15183. "freezemargin": {
  15184. "description": "冻结保证金",
  15185. "type": "number"
  15186. },
  15187. "fromaccountid": {
  15188. "description": "所属上级账户",
  15189. "type": "integer"
  15190. },
  15191. "inamount": {
  15192. "description": "今日入金金额(包括三方入金)",
  15193. "type": "number"
  15194. },
  15195. "ismain": {
  15196. "description": "是否母账号 0:不是母账户 1:是母账户",
  15197. "type": "integer"
  15198. },
  15199. "mortgagecredit": {
  15200. "description": "授信金额",
  15201. "type": "number"
  15202. },
  15203. "oridebt": {
  15204. "description": "期初欠款",
  15205. "type": "number"
  15206. },
  15207. "orifreezecharge": {
  15208. "description": "期初手续费冻结",
  15209. "type": "number"
  15210. },
  15211. "orifreezemargin": {
  15212. "description": "期初冻结保证金",
  15213. "type": "number"
  15214. },
  15215. "orimortgagecredit": {
  15216. "description": "期初授信金额",
  15217. "type": "number"
  15218. },
  15219. "oriothercredit": {
  15220. "description": "期初其它授信金额",
  15221. "type": "number"
  15222. },
  15223. "oriotherfreezemargin": {
  15224. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15225. "type": "number"
  15226. },
  15227. "orioutamountfreeze": {
  15228. "description": "期初出金冻结",
  15229. "type": "number"
  15230. },
  15231. "oriusedmargin": {
  15232. "description": "期初占用保证金",
  15233. "type": "number"
  15234. },
  15235. "othercredit": {
  15236. "description": "其它授信金额",
  15237. "type": "number"
  15238. },
  15239. "othercreditdecrease": {
  15240. "description": "今日其它授信减少",
  15241. "type": "number"
  15242. },
  15243. "othercreditincrease": {
  15244. "description": "今日其它授信增加",
  15245. "type": "number"
  15246. },
  15247. "otherfreezemargin": {
  15248. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15249. "type": "number"
  15250. },
  15251. "outamount": {
  15252. "description": "今日出金金额(包括三方出金)",
  15253. "type": "number"
  15254. },
  15255. "outamountfreeze": {
  15256. "description": "出金冻结",
  15257. "type": "number"
  15258. },
  15259. "outthreshold": {
  15260. "description": "出金阈值",
  15261. "type": "number"
  15262. },
  15263. "parentaccountid": {
  15264. "description": "所属根账号",
  15265. "type": "integer"
  15266. },
  15267. "paycharge": {
  15268. "description": "今日手续费支出",
  15269. "type": "number"
  15270. },
  15271. "relateduserid": {
  15272. "description": "关联用户",
  15273. "type": "integer"
  15274. },
  15275. "signstatus": {
  15276. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15277. "type": "integer"
  15278. },
  15279. "sublevelpath": {
  15280. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15281. "type": "string"
  15282. },
  15283. "taaccounttype": {
  15284. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15285. "type": "integer"
  15286. },
  15287. "thirdinamount": {
  15288. "description": "今日三方入金",
  15289. "type": "number"
  15290. },
  15291. "thirdoutamount": {
  15292. "description": "今日三方出金",
  15293. "type": "number"
  15294. },
  15295. "tradestatus": {
  15296. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15297. "type": "integer"
  15298. },
  15299. "transferamount": {
  15300. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15301. "type": "number"
  15302. },
  15303. "usedmargin": {
  15304. "description": "占用保证金",
  15305. "type": "number"
  15306. },
  15307. "userid": {
  15308. "description": "用户ID",
  15309. "type": "integer"
  15310. }
  15311. }
  15312. },
  15313. "models.ErmcpTaAccountM": {
  15314. "type": "object",
  15315. "properties": {
  15316. "accountid": {
  15317. "description": "账户id",
  15318. "type": "integer"
  15319. },
  15320. "accountname": {
  15321. "description": "账户名称",
  15322. "type": "string"
  15323. },
  15324. "currencyid": {
  15325. "description": "币种id",
  15326. "type": "integer"
  15327. },
  15328. "fcid": {
  15329. "description": "期货公司id",
  15330. "type": "integer"
  15331. },
  15332. "fcname": {
  15333. "description": "期货公司代码",
  15334. "type": "string"
  15335. },
  15336. "hedgeaccountcode": {
  15337. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15338. "type": "string"
  15339. },
  15340. "ismain": {
  15341. "description": "是否主账户 0-否 1-是",
  15342. "type": "integer"
  15343. },
  15344. "parentaccountid": {
  15345. "description": "父账户id",
  15346. "type": "integer"
  15347. },
  15348. "relateduserid": {
  15349. "description": "关联userid",
  15350. "type": "integer"
  15351. },
  15352. "tradestatus": {
  15353. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15354. "type": "integer"
  15355. },
  15356. "userid": {
  15357. "description": "用户id",
  15358. "type": "integer"
  15359. }
  15360. }
  15361. },
  15362. "models.ErmcpTradeConfigTMP": {
  15363. "type": "object",
  15364. "properties": {
  15365. "areauserid": {
  15366. "description": "所属机构",
  15367. "type": "integer"
  15368. },
  15369. "basiccurrencyid": {
  15370. "description": "基本币种ID[汇率] - 目标币种",
  15371. "type": "integer"
  15372. },
  15373. "mainaccountid": {
  15374. "description": "主账户ID",
  15375. "type": "integer"
  15376. },
  15377. "modifierid": {
  15378. "description": "修改人",
  15379. "type": "integer"
  15380. },
  15381. "remark": {
  15382. "description": "备注",
  15383. "type": "string"
  15384. },
  15385. "tradeconfigtmpid": {
  15386. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15387. "type": "integer"
  15388. },
  15389. "tradeconfigtmpname": {
  15390. "description": "交易配置模板名称",
  15391. "type": "string"
  15392. },
  15393. "tradeconfigtmptype": {
  15394. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15395. "type": "integer"
  15396. },
  15397. "updatetime": {
  15398. "description": "更新时间",
  15399. "type": "string"
  15400. }
  15401. }
  15402. },
  15403. "models.ErmcpUserModel": {
  15404. "type": "object",
  15405. "properties": {
  15406. "address": {
  15407. "description": "通讯地址",
  15408. "type": "string"
  15409. },
  15410. "attachment1": {
  15411. "description": "附件1",
  15412. "type": "string"
  15413. },
  15414. "audittime": {
  15415. "description": "审核时间",
  15416. "type": "string"
  15417. },
  15418. "cardbackphotourl": {
  15419. "description": "证件反面图片地址",
  15420. "type": "string"
  15421. },
  15422. "cardfrontphotourl": {
  15423. "description": "证件正面图片地址",
  15424. "type": "string"
  15425. },
  15426. "cardnum": {
  15427. "description": "证件号码",
  15428. "type": "string"
  15429. },
  15430. "cardtype": {
  15431. "description": "证件类型",
  15432. "type": "integer"
  15433. },
  15434. "cardtypename": {
  15435. "description": "证件类型名称",
  15436. "type": "string"
  15437. },
  15438. "cityid": {
  15439. "description": "市",
  15440. "type": "integer"
  15441. },
  15442. "contactname": {
  15443. "description": "联系人",
  15444. "type": "string"
  15445. },
  15446. "countryid": {
  15447. "description": "国家",
  15448. "type": "integer"
  15449. },
  15450. "createtime": {
  15451. "description": "创建时间",
  15452. "type": "string"
  15453. },
  15454. "customername": {
  15455. "description": "企业名称",
  15456. "type": "string"
  15457. },
  15458. "districtid": {
  15459. "description": "区域",
  15460. "type": "integer"
  15461. },
  15462. "email": {
  15463. "description": "邮件",
  15464. "type": "string"
  15465. },
  15466. "legalpersonname": {
  15467. "description": "法人姓名(企业)",
  15468. "type": "string"
  15469. },
  15470. "memberuserid": {
  15471. "description": "所属机构ID",
  15472. "type": "integer"
  15473. },
  15474. "mobile": {
  15475. "description": "手机号码",
  15476. "type": "string"
  15477. },
  15478. "modifytime": {
  15479. "description": "修改时间",
  15480. "type": "string"
  15481. },
  15482. "nickname": {
  15483. "description": "昵称",
  15484. "type": "string"
  15485. },
  15486. "provinceid": {
  15487. "description": "省",
  15488. "type": "integer"
  15489. },
  15490. "remark": {
  15491. "description": "备注",
  15492. "type": "string"
  15493. },
  15494. "status": {
  15495. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15496. "type": "integer"
  15497. },
  15498. "statusdesc": {
  15499. "description": "账户状态中文描述",
  15500. "type": "string"
  15501. },
  15502. "taxpayernum": {
  15503. "description": "纳税人识别号",
  15504. "type": "string"
  15505. },
  15506. "telphone": {
  15507. "description": "联系电话",
  15508. "type": "string"
  15509. },
  15510. "userid": {
  15511. "description": "用户ID",
  15512. "type": "integer"
  15513. },
  15514. "userinfotype": {
  15515. "description": "客户类型",
  15516. "type": "string"
  15517. }
  15518. }
  15519. },
  15520. "models.ErmcpWareHouseInfo": {
  15521. "type": "object",
  15522. "properties": {
  15523. "address": {
  15524. "description": "详细地址",
  15525. "type": "string"
  15526. },
  15527. "areauserid": {
  15528. "description": "所属机构",
  15529. "type": "integer"
  15530. },
  15531. "autoid": {
  15532. "description": "自增ID(仓库ID)",
  15533. "type": "integer"
  15534. },
  15535. "cityid": {
  15536. "description": "市",
  15537. "type": "integer"
  15538. },
  15539. "contactname": {
  15540. "description": "联系人",
  15541. "type": "string"
  15542. },
  15543. "contactnum": {
  15544. "description": "联系电话",
  15545. "type": "string"
  15546. },
  15547. "countryid": {
  15548. "description": "国家",
  15549. "type": "integer"
  15550. },
  15551. "createtime": {
  15552. "description": "创建时间",
  15553. "type": "string"
  15554. },
  15555. "districtid": {
  15556. "description": "区",
  15557. "type": "integer"
  15558. },
  15559. "hasvideo": {
  15560. "description": "是否有视频 - 0:无 1:有",
  15561. "type": "integer"
  15562. },
  15563. "provinceid": {
  15564. "description": "省",
  15565. "type": "integer"
  15566. },
  15567. "remark": {
  15568. "description": "审核备注",
  15569. "type": "string"
  15570. },
  15571. "videourl": {
  15572. "description": "视频地址",
  15573. "type": "string"
  15574. },
  15575. "warehousecode": {
  15576. "description": "仓库代码",
  15577. "type": "string"
  15578. },
  15579. "warehousename": {
  15580. "description": "仓库名称",
  15581. "type": "string"
  15582. },
  15583. "warehousestatus": {
  15584. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15585. "type": "integer"
  15586. },
  15587. "warehousetype": {
  15588. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15589. "type": "integer"
  15590. }
  15591. }
  15592. },
  15593. "models.Externalexchange": {
  15594. "type": "object",
  15595. "required": [
  15596. "autoid"
  15597. ],
  15598. "properties": {
  15599. "autoid": {
  15600. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15601. "type": "integer"
  15602. },
  15603. "exchangefullname": {
  15604. "description": "外部交易所全称",
  15605. "type": "string"
  15606. },
  15607. "exexchangecode": {
  15608. "description": "外部交易所代码",
  15609. "type": "string"
  15610. },
  15611. "exexchangename": {
  15612. "description": "外部交易所名称(简称)",
  15613. "type": "string"
  15614. },
  15615. "ismarketprice": {
  15616. "description": "是否支持市价 - 0:不支持 1:支持",
  15617. "type": "integer"
  15618. },
  15619. "quotegear": {
  15620. "description": "行情档位(1-10)",
  15621. "type": "integer"
  15622. },
  15623. "showbrokerflag": {
  15624. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15625. "type": "integer"
  15626. },
  15627. "updatetime": {
  15628. "description": "更新时间",
  15629. "type": "string"
  15630. }
  15631. }
  15632. },
  15633. "models.Funcmenulist": {
  15634. "type": "object",
  15635. "required": [
  15636. "resourcecode"
  15637. ],
  15638. "properties": {
  15639. "iconame": {
  15640. "description": "菜单图标",
  15641. "type": "string"
  15642. },
  15643. "menutype": {
  15644. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15645. "type": "integer"
  15646. },
  15647. "parentcode": {
  15648. "description": "上级资源代码",
  15649. "type": "string"
  15650. },
  15651. "remark": {
  15652. "description": "备注",
  15653. "type": "string"
  15654. },
  15655. "resourcecode": {
  15656. "description": "资源代码",
  15657. "type": "string"
  15658. },
  15659. "resourcelevel": {
  15660. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15661. "type": "integer"
  15662. },
  15663. "resourcename": {
  15664. "description": "资源名",
  15665. "type": "string"
  15666. },
  15667. "sort": {
  15668. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15669. "type": "integer"
  15670. },
  15671. "url": {
  15672. "description": "URL",
  15673. "type": "string"
  15674. }
  15675. }
  15676. },
  15677. "models.Goods": {
  15678. "type": "object",
  15679. "required": [
  15680. "goodscode",
  15681. "goodsid",
  15682. "goodsname",
  15683. "marketid"
  15684. ],
  15685. "properties": {
  15686. "agreeunit": {
  15687. "description": "合约单位",
  15688. "type": "number"
  15689. },
  15690. "auditaccountid": {
  15691. "description": "审核操作员账号",
  15692. "type": "integer"
  15693. },
  15694. "audittime": {
  15695. "description": "审核时间",
  15696. "type": "string"
  15697. },
  15698. "cancelaccountid": {
  15699. "description": "注销操作员账号",
  15700. "type": "integer"
  15701. },
  15702. "canceltime": {
  15703. "description": "注销时间",
  15704. "type": "string"
  15705. },
  15706. "closepricemode": {
  15707. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15708. "type": "integer"
  15709. },
  15710. "closepriceparam": {
  15711. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15712. "type": "number"
  15713. },
  15714. "createtime": {
  15715. "description": "创建时间",
  15716. "type": "string"
  15717. },
  15718. "creatorid": {
  15719. "description": "创建人",
  15720. "type": "integer"
  15721. },
  15722. "currencyid": {
  15723. "description": "报价货币ID",
  15724. "type": "integer"
  15725. },
  15726. "cutmode": {
  15727. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15728. "type": "integer"
  15729. },
  15730. "decimalplace": {
  15731. "description": "报价小数位",
  15732. "type": "integer"
  15733. },
  15734. "delistingdate": {
  15735. "description": "商品退市时间(状态:退市) -- 已作废",
  15736. "type": "string"
  15737. },
  15738. "delistingmode": {
  15739. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15740. "type": "integer"
  15741. },
  15742. "deliveryflag": {
  15743. "description": "交割标志 - 0:不可交割 1:可交割",
  15744. "type": "integer"
  15745. },
  15746. "forceclosemode": {
  15747. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15748. "type": "integer"
  15749. },
  15750. "forceclosevalue": {
  15751. "description": "定期强平参数 [收益权]",
  15752. "type": "integer"
  15753. },
  15754. "goodscode": {
  15755. "description": "商品代码(内部)",
  15756. "type": "string"
  15757. },
  15758. "goodscurrencyid": {
  15759. "description": "合约货币ID",
  15760. "type": "integer"
  15761. },
  15762. "goodsgroupid": {
  15763. "description": "所属商品组ID",
  15764. "type": "integer"
  15765. },
  15766. "goodsid": {
  15767. "description": "商品ID(自增ID SEQ_GOODS)",
  15768. "type": "integer"
  15769. },
  15770. "goodsname": {
  15771. "description": "商品名称",
  15772. "type": "string"
  15773. },
  15774. "goodsquotetype": {
  15775. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15776. "type": "integer"
  15777. },
  15778. "goodsstatus": {
  15779. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15780. "type": "integer"
  15781. },
  15782. "goodstradetype": {
  15783. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15784. "type": "integer"
  15785. },
  15786. "goodunitid": {
  15787. "description": "报价单位ID",
  15788. "type": "integer"
  15789. },
  15790. "hasquoter": {
  15791. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15792. "type": "integer"
  15793. },
  15794. "hqprotecttime": {
  15795. "description": "行情保护时间(秒)",
  15796. "type": "integer"
  15797. },
  15798. "innerdealmode": {
  15799. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15800. "type": "integer"
  15801. },
  15802. "isbuylimited": {
  15803. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15804. "type": "integer"
  15805. },
  15806. "lasttradedate": {
  15807. "description": "最后交易日期(状态:待退市)",
  15808. "type": "string"
  15809. },
  15810. "listingdate": {
  15811. "description": "交易开始日期",
  15812. "type": "string"
  15813. },
  15814. "marketid": {
  15815. "description": "所属市场ID",
  15816. "type": "integer"
  15817. },
  15818. "modifierid": {
  15819. "description": "修改人",
  15820. "type": "integer"
  15821. },
  15822. "modifystatus": {
  15823. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15824. "type": "integer"
  15825. },
  15826. "modifytime": {
  15827. "description": "修改时间",
  15828. "type": "string"
  15829. },
  15830. "outerdealmode": {
  15831. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15832. "type": "integer"
  15833. },
  15834. "outgoodscode": {
  15835. "description": "商品代码(外部)",
  15836. "type": "string"
  15837. },
  15838. "qtydecimalplace": {
  15839. "description": "成交量小数位",
  15840. "type": "integer"
  15841. },
  15842. "quotegear": {
  15843. "description": "行情档位(1-10)",
  15844. "type": "integer"
  15845. },
  15846. "quoteminunit": {
  15847. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15848. "type": "integer"
  15849. },
  15850. "quoteshowtype": {
  15851. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15852. "type": "integer"
  15853. },
  15854. "quoteshowtypeinterval": {
  15855. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15856. "type": "integer"
  15857. },
  15858. "remark": {
  15859. "description": "备注",
  15860. "type": "string"
  15861. }
  15862. }
  15863. },
  15864. "models.GoodsIDAndName": {
  15865. "type": "object",
  15866. "required": [
  15867. "goodscode",
  15868. "goodsid",
  15869. "goodsname",
  15870. "marketid"
  15871. ],
  15872. "properties": {
  15873. "goodscode": {
  15874. "description": "商品代码(内部)",
  15875. "type": "string"
  15876. },
  15877. "goodsid": {
  15878. "description": "商品ID(自增ID SEQ_GOODS)",
  15879. "type": "integer"
  15880. },
  15881. "goodsname": {
  15882. "description": "商品名称",
  15883. "type": "string"
  15884. },
  15885. "marketid": {
  15886. "description": "所属市场ID",
  15887. "type": "integer"
  15888. }
  15889. }
  15890. },
  15891. "models.Goodsgroup": {
  15892. "type": "object",
  15893. "required": [
  15894. "goodsgroupid",
  15895. "goodsgroupname",
  15896. "goodsgroupstatus",
  15897. "marketid"
  15898. ],
  15899. "properties": {
  15900. "agreeunit": {
  15901. "description": "合约单位",
  15902. "type": "number"
  15903. },
  15904. "canshort": {
  15905. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15906. "type": "integer"
  15907. },
  15908. "closepricemode": {
  15909. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15910. "type": "integer"
  15911. },
  15912. "closepriceparam": {
  15913. "description": "强平最新价浮动比例 - 方式为2时使用",
  15914. "type": "number"
  15915. },
  15916. "createtime": {
  15917. "description": "创建时间",
  15918. "type": "string"
  15919. },
  15920. "creatorid": {
  15921. "description": "创建人",
  15922. "type": "integer"
  15923. },
  15924. "currencyid": {
  15925. "description": "报价货币ID",
  15926. "type": "integer"
  15927. },
  15928. "decimalplace": {
  15929. "description": "报价小数位",
  15930. "type": "integer"
  15931. },
  15932. "exercisetype": {
  15933. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15934. "type": "integer"
  15935. },
  15936. "exexchangeid": {
  15937. "description": "外部交易所ID[通道交易]",
  15938. "type": "integer"
  15939. },
  15940. "goodsgroupid": {
  15941. "description": "商品组ID(自增ID)",
  15942. "type": "integer"
  15943. },
  15944. "goodsgroupname": {
  15945. "description": "商品组名称",
  15946. "type": "string"
  15947. },
  15948. "goodsgroupstatus": {
  15949. "description": "商品组状态 - 1:正常 2:注销",
  15950. "type": "integer"
  15951. },
  15952. "goodunitid": {
  15953. "description": "报价单位ID",
  15954. "type": "integer"
  15955. },
  15956. "innerdealmode": {
  15957. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15958. "type": "integer"
  15959. },
  15960. "isbuylimited": {
  15961. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15962. "type": "integer"
  15963. },
  15964. "marketid": {
  15965. "description": "所属市场ID",
  15966. "type": "integer"
  15967. },
  15968. "modifierid": {
  15969. "description": "修改人",
  15970. "type": "integer"
  15971. },
  15972. "modifytime": {
  15973. "description": "修改时间",
  15974. "type": "string"
  15975. },
  15976. "outerdealmode": {
  15977. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15978. "type": "integer"
  15979. },
  15980. "outergroupcode": {
  15981. "description": "外部商品组代码[通道交易]",
  15982. "type": "string"
  15983. },
  15984. "premiumdecimalplace": {
  15985. "description": "权利金小数位[场外期权]",
  15986. "type": "integer"
  15987. },
  15988. "premiumspreadalgorithm": {
  15989. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  15990. "type": "integer"
  15991. },
  15992. "premiumspreadvalue": {
  15993. "description": "权利金点差值[场外期权]",
  15994. "type": "number"
  15995. },
  15996. "qtydecimalplace": {
  15997. "description": "成交量小数位",
  15998. "type": "integer"
  15999. },
  16000. "quotegear": {
  16001. "description": "行情档位(1-10)",
  16002. "type": "integer"
  16003. },
  16004. "quoteminunit": {
  16005. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16006. "type": "integer"
  16007. },
  16008. "quoterid": {
  16009. "description": "报价商ID[场外期权]",
  16010. "type": "integer"
  16011. },
  16012. "quotesourcegroupid": {
  16013. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16014. "type": "integer"
  16015. },
  16016. "syncgoodsqty": {
  16017. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16018. "type": "integer"
  16019. }
  16020. }
  16021. },
  16022. "models.Goodssortbypreposition": {
  16023. "type": "object",
  16024. "required": [
  16025. "goodscode",
  16026. "tradedate"
  16027. ],
  16028. "properties": {
  16029. "goodscode": {
  16030. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16031. "type": "string"
  16032. },
  16033. "goodsgroupcode": {
  16034. "description": "品种代码",
  16035. "type": "string"
  16036. },
  16037. "prepositionqty": {
  16038. "description": "昨持仓量",
  16039. "type": "integer"
  16040. },
  16041. "sortindex": {
  16042. "description": "排序",
  16043. "type": "integer"
  16044. },
  16045. "tradedate": {
  16046. "description": "交易日",
  16047. "type": "string"
  16048. },
  16049. "updatetime": {
  16050. "description": "更新时间",
  16051. "type": "string"
  16052. }
  16053. }
  16054. },
  16055. "models.Hedgeinnerholderdetail": {
  16056. "type": "object",
  16057. "required": [
  16058. "buyorsell",
  16059. "tradeid"
  16060. ],
  16061. "properties": {
  16062. "accountid": {
  16063. "description": "账号ID",
  16064. "type": "integer"
  16065. },
  16066. "buyorsell": {
  16067. "description": "方向 - 0:买 1:卖",
  16068. "type": "integer"
  16069. },
  16070. "freezeqty": {
  16071. "description": "冻结数量 - 按单平使用",
  16072. "type": "integer"
  16073. },
  16074. "goodsid": {
  16075. "description": "商品ID",
  16076. "type": "integer"
  16077. },
  16078. "holderamount": {
  16079. "description": "持仓金额 [商品币种]",
  16080. "type": "number"
  16081. },
  16082. "holderdays": {
  16083. "description": "剩余冻结天数",
  16084. "type": "integer"
  16085. },
  16086. "holderprice": {
  16087. "description": "持仓价格",
  16088. "type": "number"
  16089. },
  16090. "holderqty": {
  16091. "description": "持仓数量",
  16092. "type": "integer"
  16093. },
  16094. "marketid": {
  16095. "description": "市场ID",
  16096. "type": "integer"
  16097. },
  16098. "openprice": {
  16099. "description": "建仓价格",
  16100. "type": "number"
  16101. },
  16102. "openqty": {
  16103. "description": "建仓数量",
  16104. "type": "integer"
  16105. },
  16106. "parentaccountid": {
  16107. "description": "所属母账户",
  16108. "type": "integer"
  16109. },
  16110. "releaseamount": {
  16111. "description": "释放持仓金额[商品币种]",
  16112. "type": "number"
  16113. },
  16114. "tradeamount": {
  16115. "description": "成交金额[账户]",
  16116. "type": "number"
  16117. },
  16118. "tradedate": {
  16119. "description": "交易日(yyyyMMdd)",
  16120. "type": "string"
  16121. },
  16122. "tradeid": {
  16123. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16124. "type": "string"
  16125. },
  16126. "tradetime": {
  16127. "description": "交易时间",
  16128. "type": "string"
  16129. }
  16130. }
  16131. },
  16132. "models.Hedgemarketopenlog": {
  16133. "type": "object",
  16134. "required": [
  16135. "accountid"
  16136. ],
  16137. "properties": {
  16138. "accountid": {
  16139. "description": "资金账号[外部母账户]",
  16140. "type": "integer"
  16141. },
  16142. "fcname": {
  16143. "description": "期货公司名称",
  16144. "type": "string"
  16145. },
  16146. "handlestatus": {
  16147. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  16148. "type": "integer"
  16149. },
  16150. "marketid": {
  16151. "description": "市场ID",
  16152. "type": "integer"
  16153. },
  16154. "status": {
  16155. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  16156. "type": "integer"
  16157. },
  16158. "tradedate": {
  16159. "description": "交易日(yyyyMMdd)",
  16160. "type": "string"
  16161. },
  16162. "updatetime": {
  16163. "description": "更新时间",
  16164. "type": "string"
  16165. }
  16166. }
  16167. },
  16168. "models.HsbyBuyMyPayOrder": {
  16169. "type": "object",
  16170. "required": [
  16171. "goodscode",
  16172. "goodsname",
  16173. "tradeid",
  16174. "trademode"
  16175. ],
  16176. "properties": {
  16177. "agreeunit": {
  16178. "description": "合约单位",
  16179. "type": "number"
  16180. },
  16181. "buyaccountid": {
  16182. "description": "买方账号ID[报价币种]",
  16183. "type": "integer"
  16184. },
  16185. "buyorderid": {
  16186. "description": "买方委托单号",
  16187. "type": "string"
  16188. },
  16189. "createtime": {
  16190. "description": "创建时间",
  16191. "type": "string"
  16192. },
  16193. "currencysign": {
  16194. "description": "货币符号",
  16195. "type": "string"
  16196. },
  16197. "decimalplace": {
  16198. "description": "报价小数位",
  16199. "type": "integer"
  16200. },
  16201. "goodscode": {
  16202. "description": "商品代码(内部)",
  16203. "type": "string"
  16204. },
  16205. "goodsid": {
  16206. "description": "商品ID",
  16207. "type": "integer"
  16208. },
  16209. "goodsname": {
  16210. "description": "商品名称",
  16211. "type": "string"
  16212. },
  16213. "marketid": {
  16214. "description": "市场ID",
  16215. "type": "integer"
  16216. },
  16217. "offamount": {
  16218. "description": "优惠金额",
  16219. "type": "number"
  16220. },
  16221. "originalamount": {
  16222. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16223. "type": "number"
  16224. },
  16225. "payamount": {
  16226. "description": "支付金额 = TradeAmount + TradeCharge",
  16227. "type": "number"
  16228. },
  16229. "payflag": {
  16230. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16231. "type": "integer"
  16232. },
  16233. "paylimitedtime": {
  16234. "description": "支付期限",
  16235. "type": "string"
  16236. },
  16237. "paytime": {
  16238. "description": "付款时间",
  16239. "type": "string"
  16240. },
  16241. "picurls1": {
  16242. "description": "预售商品介绍图片[多张用逗号分隔]",
  16243. "type": "string"
  16244. },
  16245. "picurls2": {
  16246. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16247. "type": "string"
  16248. },
  16249. "sellaccountid": {
  16250. "description": "卖方账号ID[报价币种]",
  16251. "type": "integer"
  16252. },
  16253. "sellorderid": {
  16254. "description": "卖方委托单号",
  16255. "type": "string"
  16256. },
  16257. "tradeamount": {
  16258. "description": "成交金额",
  16259. "type": "number"
  16260. },
  16261. "tradecharge": {
  16262. "description": "成交手续费(买方)",
  16263. "type": "number"
  16264. },
  16265. "tradedate": {
  16266. "description": "交易日(yyyyMMdd)",
  16267. "type": "string"
  16268. },
  16269. "tradeid": {
  16270. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16271. "type": "string"
  16272. },
  16273. "trademode": {
  16274. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16275. "type": "integer"
  16276. },
  16277. "tradeprice": {
  16278. "description": "成交价格",
  16279. "type": "number"
  16280. },
  16281. "tradeqty": {
  16282. "description": "成交数量",
  16283. "type": "integer"
  16284. },
  16285. "vendorname1": {
  16286. "description": "预售商品供应商名称",
  16287. "type": "string"
  16288. },
  16289. "vendorname2": {
  16290. "description": "挂牌商品供应商名称",
  16291. "type": "string"
  16292. }
  16293. }
  16294. },
  16295. "models.HsbyBuyMyTradeDetail": {
  16296. "type": "object",
  16297. "required": [
  16298. "accountid",
  16299. "buyorsell",
  16300. "goodscode",
  16301. "goodsid",
  16302. "goodsname",
  16303. "marketid",
  16304. "orderid",
  16305. "qty",
  16306. "time",
  16307. "trademode"
  16308. ],
  16309. "properties": {
  16310. "accountid": {
  16311. "description": "账户ID[报价币种]",
  16312. "type": "integer"
  16313. },
  16314. "agreeunit": {
  16315. "description": "合约单位",
  16316. "type": "number"
  16317. },
  16318. "amount": {
  16319. "description": "金额 = 价格 * 数量 * 合约单位",
  16320. "type": "number"
  16321. },
  16322. "buyorsell": {
  16323. "description": "买卖 - 0:买 1:卖",
  16324. "type": "integer"
  16325. },
  16326. "currencysign": {
  16327. "description": "货币符号",
  16328. "type": "string"
  16329. },
  16330. "decimalplace": {
  16331. "description": "报价小数位",
  16332. "type": "integer"
  16333. },
  16334. "goodscode": {
  16335. "description": "商品代码(内部)",
  16336. "type": "string"
  16337. },
  16338. "goodsid": {
  16339. "description": "商品ID",
  16340. "type": "integer"
  16341. },
  16342. "goodsname": {
  16343. "description": "商品名称",
  16344. "type": "string"
  16345. },
  16346. "marketid": {
  16347. "description": "市场ID",
  16348. "type": "integer"
  16349. },
  16350. "orderamount": {
  16351. "description": "委托金额",
  16352. "type": "number"
  16353. },
  16354. "orderid": {
  16355. "description": "单号(成交单号)",
  16356. "type": "string"
  16357. },
  16358. "picurls1": {
  16359. "description": "预售商品介绍图片[多张用逗号分隔]",
  16360. "type": "string"
  16361. },
  16362. "picurls2": {
  16363. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16364. "type": "string"
  16365. },
  16366. "price": {
  16367. "description": "价格",
  16368. "type": "number"
  16369. },
  16370. "qty": {
  16371. "description": "数量",
  16372. "type": "integer"
  16373. },
  16374. "time": {
  16375. "description": "时间",
  16376. "type": "string"
  16377. },
  16378. "trademode": {
  16379. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16380. "type": "integer"
  16381. },
  16382. "vendorname1": {
  16383. "description": "预售商品供应商名称",
  16384. "type": "string"
  16385. },
  16386. "vendorname2": {
  16387. "description": "挂牌商品供应商名称",
  16388. "type": "string"
  16389. }
  16390. }
  16391. },
  16392. "models.HsbyGoodsOrderDetail": {
  16393. "type": "object",
  16394. "required": [
  16395. "buyorsell",
  16396. "orderid",
  16397. "ordertime"
  16398. ],
  16399. "properties": {
  16400. "buyorsell": {
  16401. "description": "买卖 - 0:买 1:卖",
  16402. "type": "integer"
  16403. },
  16404. "currencysign": {
  16405. "description": "货币符号",
  16406. "type": "string"
  16407. },
  16408. "customername": {
  16409. "description": "客户名称(企业名称),已脱敏",
  16410. "type": "string"
  16411. },
  16412. "enableqty": {
  16413. "description": "可用数量",
  16414. "type": "integer"
  16415. },
  16416. "goodunit": {
  16417. "description": "报价单位",
  16418. "type": "string"
  16419. },
  16420. "orderid": {
  16421. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16422. "type": "string"
  16423. },
  16424. "orderprice": {
  16425. "description": "委托价格",
  16426. "type": "number"
  16427. },
  16428. "ordertime": {
  16429. "description": "委托时间",
  16430. "type": "string"
  16431. }
  16432. }
  16433. },
  16434. "models.HsbyListingGoodsDetail": {
  16435. "type": "object",
  16436. "required": [
  16437. "goodscode",
  16438. "goodsid",
  16439. "goodsname",
  16440. "marketid",
  16441. "trademode"
  16442. ],
  16443. "properties": {
  16444. "agreeunit": {
  16445. "description": "合约单位",
  16446. "type": "number"
  16447. },
  16448. "buymaxqty": {
  16449. "description": "购买上限 [71] - 0为不限",
  16450. "type": "integer"
  16451. },
  16452. "currency": {
  16453. "description": "货币",
  16454. "type": "string"
  16455. },
  16456. "currencysign": {
  16457. "description": "货币符号",
  16458. "type": "string"
  16459. },
  16460. "decimalplace": {
  16461. "description": "报价小数位",
  16462. "type": "integer"
  16463. },
  16464. "desccityid": {
  16465. "description": "目的地(市)ID",
  16466. "type": "integer"
  16467. },
  16468. "descprovinceid": {
  16469. "description": "目的地(省)ID",
  16470. "type": "integer"
  16471. },
  16472. "goodscode": {
  16473. "description": "商品代码(内部)",
  16474. "type": "string"
  16475. },
  16476. "goodsdesc": {
  16477. "description": "商品详情",
  16478. "type": "string"
  16479. },
  16480. "goodsid": {
  16481. "description": "商品ID(自增ID SEQ_GOODS)",
  16482. "type": "integer"
  16483. },
  16484. "goodsname": {
  16485. "description": "商品名称",
  16486. "type": "string"
  16487. },
  16488. "goodsprice": {
  16489. "description": "商品价格",
  16490. "type": "number"
  16491. },
  16492. "hotindex": {
  16493. "description": "景点热度",
  16494. "type": "integer"
  16495. },
  16496. "last": {
  16497. "description": "现价",
  16498. "type": "number"
  16499. },
  16500. "limitdown": {
  16501. "description": "跌停价",
  16502. "type": "number"
  16503. },
  16504. "limitup": {
  16505. "description": "涨停价",
  16506. "type": "number"
  16507. },
  16508. "lotsize": {
  16509. "description": "手数最小变动单位",
  16510. "type": "integer"
  16511. },
  16512. "marketid": {
  16513. "description": "所属市场ID",
  16514. "type": "integer"
  16515. },
  16516. "picurls": {
  16517. "description": "介绍图片[多张用逗号分隔]",
  16518. "type": "string"
  16519. },
  16520. "quoteminunit": {
  16521. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16522. "type": "integer"
  16523. },
  16524. "stepvalue": {
  16525. "description": "价格最小变动单位",
  16526. "type": "number"
  16527. },
  16528. "trademode": {
  16529. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16530. "type": "integer"
  16531. },
  16532. "vendorattr": {
  16533. "description": "供应商附件(多张,逗号分隔)",
  16534. "type": "string"
  16535. },
  16536. "vendorname": {
  16537. "description": "供应商名称",
  16538. "type": "string"
  16539. },
  16540. "vendorphone": {
  16541. "description": "供应商客服电话",
  16542. "type": "string"
  16543. },
  16544. "videourls": {
  16545. "description": "介绍视频[多张用逗号分隔]",
  16546. "type": "string"
  16547. }
  16548. }
  16549. },
  16550. "models.HsbyMarketGoods": {
  16551. "type": "object",
  16552. "required": [
  16553. "accountid",
  16554. "buyorsell",
  16555. "goodscode",
  16556. "goodsid",
  16557. "goodsname",
  16558. "marketid",
  16559. "orderid",
  16560. "trademode"
  16561. ],
  16562. "properties": {
  16563. "accountid": {
  16564. "description": "账户ID[报价币种]",
  16565. "type": "integer"
  16566. },
  16567. "agreeunit": {
  16568. "description": "合约单位",
  16569. "type": "number"
  16570. },
  16571. "buyorsell": {
  16572. "description": "买卖 - 0:买 1:卖",
  16573. "type": "integer"
  16574. },
  16575. "categoryid": {
  16576. "description": "类别ID(WRCATEGORY)",
  16577. "type": "integer"
  16578. },
  16579. "currency": {
  16580. "description": "货币",
  16581. "type": "string"
  16582. },
  16583. "currencysign": {
  16584. "description": "货币符号",
  16585. "type": "string"
  16586. },
  16587. "customername": {
  16588. "description": "卖家名称",
  16589. "type": "string"
  16590. },
  16591. "decimalplace": {
  16592. "description": "报价小数位",
  16593. "type": "integer"
  16594. },
  16595. "goodscode": {
  16596. "description": "商品代码(内部)",
  16597. "type": "string"
  16598. },
  16599. "goodsid": {
  16600. "description": "商品ID",
  16601. "type": "integer"
  16602. },
  16603. "goodsname": {
  16604. "description": "商品名称",
  16605. "type": "string"
  16606. },
  16607. "goodsprice": {
  16608. "description": "商品价格",
  16609. "type": "number"
  16610. },
  16611. "hascoupon": {
  16612. "description": "是否可用优惠卷",
  16613. "type": "boolean"
  16614. },
  16615. "hotindex": {
  16616. "description": "景点热度",
  16617. "type": "integer"
  16618. },
  16619. "marketid": {
  16620. "description": "市场ID",
  16621. "type": "integer"
  16622. },
  16623. "orderid": {
  16624. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16625. "type": "string"
  16626. },
  16627. "orderprice": {
  16628. "description": "委托价格",
  16629. "type": "number"
  16630. },
  16631. "orderstatus": {
  16632. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16633. "type": "integer"
  16634. },
  16635. "picurls": {
  16636. "description": "介绍图片[多张用逗号分隔]",
  16637. "type": "string"
  16638. },
  16639. "quoteminunit": {
  16640. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16641. "type": "integer"
  16642. },
  16643. "sellUserID": {
  16644. "description": "卖方UserID",
  16645. "type": "integer"
  16646. },
  16647. "trademode": {
  16648. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16649. "type": "integer"
  16650. },
  16651. "videourls": {
  16652. "description": "介绍视频[多张用逗号分隔]",
  16653. "type": "string"
  16654. }
  16655. }
  16656. },
  16657. "models.HsbyMarketGoodsDetail": {
  16658. "type": "object",
  16659. "required": [
  16660. "accountid",
  16661. "buyorsell",
  16662. "goodscode",
  16663. "goodsid",
  16664. "goodsname",
  16665. "marketid",
  16666. "orderid",
  16667. "orderqty",
  16668. "trademode"
  16669. ],
  16670. "properties": {
  16671. "accountid": {
  16672. "description": "账户ID[报价币种]",
  16673. "type": "integer"
  16674. },
  16675. "agreeunit": {
  16676. "description": "合约单位",
  16677. "type": "number"
  16678. },
  16679. "buymaxqty": {
  16680. "description": "购买上限 [71] - 0为不限",
  16681. "type": "integer"
  16682. },
  16683. "buyorsell": {
  16684. "description": "买卖 - 0:买 1:卖",
  16685. "type": "integer"
  16686. },
  16687. "cancelqty": {
  16688. "description": "撤单数量",
  16689. "type": "integer"
  16690. },
  16691. "categoryid": {
  16692. "description": "类别ID(WRCATEGORY)",
  16693. "type": "integer"
  16694. },
  16695. "currency": {
  16696. "description": "货币",
  16697. "type": "string"
  16698. },
  16699. "currencysign": {
  16700. "description": "货币符号",
  16701. "type": "string"
  16702. },
  16703. "customername": {
  16704. "description": "卖家名称",
  16705. "type": "string"
  16706. },
  16707. "decimalplace": {
  16708. "description": "报价小数位",
  16709. "type": "integer"
  16710. },
  16711. "goodscode": {
  16712. "description": "商品代码(内部)",
  16713. "type": "string"
  16714. },
  16715. "goodsdesc": {
  16716. "description": "商品详情",
  16717. "type": "string"
  16718. },
  16719. "goodsid": {
  16720. "description": "商品ID",
  16721. "type": "integer"
  16722. },
  16723. "goodsname": {
  16724. "description": "商品名称",
  16725. "type": "string"
  16726. },
  16727. "goodsprice": {
  16728. "description": "商品价格",
  16729. "type": "number"
  16730. },
  16731. "hotindex": {
  16732. "description": "景点热度",
  16733. "type": "integer"
  16734. },
  16735. "lotsize": {
  16736. "description": "手数最小变动单位",
  16737. "type": "integer"
  16738. },
  16739. "marketid": {
  16740. "description": "市场ID",
  16741. "type": "integer"
  16742. },
  16743. "orderid": {
  16744. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16745. "type": "string"
  16746. },
  16747. "orderprice": {
  16748. "description": "委托价格",
  16749. "type": "number"
  16750. },
  16751. "orderqty": {
  16752. "description": "委托数量",
  16753. "type": "integer"
  16754. },
  16755. "orderstatus": {
  16756. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16757. "type": "integer"
  16758. },
  16759. "picurls": {
  16760. "description": "介绍图片[多张用逗号分隔]",
  16761. "type": "string"
  16762. },
  16763. "quoteminunit": {
  16764. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16765. "type": "integer"
  16766. },
  16767. "sellUserID": {
  16768. "description": "卖方UserID",
  16769. "type": "integer"
  16770. },
  16771. "trademode": {
  16772. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16773. "type": "integer"
  16774. },
  16775. "tradeqty": {
  16776. "description": "成交数量",
  16777. "type": "integer"
  16778. },
  16779. "vendorattr": {
  16780. "description": "供应商附件(多张,逗号分隔)",
  16781. "type": "string"
  16782. },
  16783. "vendorname": {
  16784. "description": "供应商名称",
  16785. "type": "string"
  16786. },
  16787. "vendorphone": {
  16788. "description": "供应商客服电话",
  16789. "type": "string"
  16790. },
  16791. "videourls": {
  16792. "description": "介绍视频[多张用逗号分隔]",
  16793. "type": "string"
  16794. }
  16795. }
  16796. },
  16797. "models.HsbyMarketInfo": {
  16798. "type": "object",
  16799. "required": [
  16800. "marketid",
  16801. "marketstatus",
  16802. "trademode"
  16803. ],
  16804. "properties": {
  16805. "marketid": {
  16806. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16807. "type": "integer"
  16808. },
  16809. "marketname": {
  16810. "description": "市场名称",
  16811. "type": "string"
  16812. },
  16813. "marketstatus": {
  16814. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16815. "type": "integer"
  16816. },
  16817. "trademode": {
  16818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16819. "type": "integer"
  16820. }
  16821. }
  16822. },
  16823. "models.HsbyMyGoods": {
  16824. "type": "object",
  16825. "required": [
  16826. "accountid",
  16827. "goodscode",
  16828. "goodsid",
  16829. "goodsname",
  16830. "marketid",
  16831. "trademode"
  16832. ],
  16833. "properties": {
  16834. "accountid": {
  16835. "description": "账号Id",
  16836. "type": "integer"
  16837. },
  16838. "agreeunit": {
  16839. "description": "合约单位",
  16840. "type": "number"
  16841. },
  16842. "buyaverageprice": {
  16843. "description": "持仓均价",
  16844. "type": "number"
  16845. },
  16846. "buycurholderamount": {
  16847. "description": "买当前持仓总金额[商品币种]",
  16848. "type": "number"
  16849. },
  16850. "buycurpositionqty": {
  16851. "description": "买当前持仓总数量",
  16852. "type": "integer"
  16853. },
  16854. "buymaxqty": {
  16855. "description": "购买上限 [71] - 0为不限",
  16856. "type": "integer"
  16857. },
  16858. "currencysign": {
  16859. "description": "货币符号",
  16860. "type": "string"
  16861. },
  16862. "decimalplace": {
  16863. "description": "报价小数位",
  16864. "type": "integer"
  16865. },
  16866. "enableqty": {
  16867. "description": "可用数量",
  16868. "type": "integer"
  16869. },
  16870. "goodscode": {
  16871. "description": "商品代码(内部)",
  16872. "type": "string"
  16873. },
  16874. "goodsid": {
  16875. "description": "商品Id",
  16876. "type": "integer"
  16877. },
  16878. "goodsname": {
  16879. "description": "商品名称",
  16880. "type": "string"
  16881. },
  16882. "goodsprice": {
  16883. "description": "商品价格",
  16884. "type": "number"
  16885. },
  16886. "goodsstatus": {
  16887. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16888. "type": "integer"
  16889. },
  16890. "last": {
  16891. "description": "现价(仅使用于挂牌点选)",
  16892. "type": "number"
  16893. },
  16894. "limitdown": {
  16895. "description": "跌停价(仅使用于挂牌点选)",
  16896. "type": "number"
  16897. },
  16898. "limitup": {
  16899. "description": "涨停价(仅使用于挂牌点选)",
  16900. "type": "number"
  16901. },
  16902. "lotsize": {
  16903. "description": "手数最小变动单位",
  16904. "type": "integer"
  16905. },
  16906. "marketid": {
  16907. "description": "所属市场ID",
  16908. "type": "integer"
  16909. },
  16910. "picurls": {
  16911. "description": "介绍图片[多张用逗号分隔]",
  16912. "type": "string"
  16913. },
  16914. "quoteminunit": {
  16915. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16916. "type": "integer"
  16917. },
  16918. "stepvalue": {
  16919. "description": "价格最小变动单位",
  16920. "type": "number"
  16921. },
  16922. "trademode": {
  16923. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16924. "type": "integer"
  16925. }
  16926. }
  16927. },
  16928. "models.HsbyMyPackage": {
  16929. "type": "object",
  16930. "required": [
  16931. "goodscode",
  16932. "goodsname",
  16933. "takeorderid",
  16934. "trademode"
  16935. ],
  16936. "properties": {
  16937. "accountid": {
  16938. "description": "账户ID",
  16939. "type": "integer"
  16940. },
  16941. "address": {
  16942. "description": "提货人详细地址",
  16943. "type": "string"
  16944. },
  16945. "agreeunit": {
  16946. "description": "合约单位",
  16947. "type": "number"
  16948. },
  16949. "amount": {
  16950. "description": "提货金额",
  16951. "type": "number"
  16952. },
  16953. "auditer": {
  16954. "description": "审核人",
  16955. "type": "integer"
  16956. },
  16957. "audittime": {
  16958. "description": "审核时间",
  16959. "type": "string"
  16960. },
  16961. "averageprice": {
  16962. "description": "均价",
  16963. "type": "number"
  16964. },
  16965. "cardnum": {
  16966. "description": "提货人证件号码",
  16967. "type": "string"
  16968. },
  16969. "cardtypeid": {
  16970. "description": "提货人证件类型",
  16971. "type": "integer"
  16972. },
  16973. "checkremark": {
  16974. "description": "审核备注",
  16975. "type": "string"
  16976. },
  16977. "currencysign": {
  16978. "description": "货币符号",
  16979. "type": "string"
  16980. },
  16981. "decimalplace": {
  16982. "description": "报价小数位",
  16983. "type": "integer"
  16984. },
  16985. "goodscode": {
  16986. "description": "商品代码(内部)",
  16987. "type": "string"
  16988. },
  16989. "goodsid": {
  16990. "description": "商品ID",
  16991. "type": "integer"
  16992. },
  16993. "goodsname": {
  16994. "description": "商品名称",
  16995. "type": "string"
  16996. },
  16997. "handlestatus": {
  16998. "description": "处理状态",
  16999. "type": "integer"
  17000. },
  17001. "marketid": {
  17002. "description": "市场ID",
  17003. "type": "integer"
  17004. },
  17005. "phonenum": {
  17006. "description": "提货人联系方式",
  17007. "type": "string"
  17008. },
  17009. "picurls": {
  17010. "description": "介绍图片[多张用逗号分隔]",
  17011. "type": "string"
  17012. },
  17013. "qty": {
  17014. "description": "提货数量",
  17015. "type": "number"
  17016. },
  17017. "recivername": {
  17018. "description": "提货人姓名",
  17019. "type": "string"
  17020. },
  17021. "reqtime": {
  17022. "description": "更新时间",
  17023. "type": "string"
  17024. },
  17025. "takemode": {
  17026. "description": "提货方式 - 2:自提 3:配送",
  17027. "type": "integer"
  17028. },
  17029. "takeorderid": {
  17030. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17031. "type": "string"
  17032. },
  17033. "takeorderstatus": {
  17034. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17035. "type": "integer"
  17036. },
  17037. "takeremark": {
  17038. "description": "提货备注",
  17039. "type": "string"
  17040. },
  17041. "tradedate": {
  17042. "description": "交易日(yyyyMMdd)",
  17043. "type": "string"
  17044. },
  17045. "trademode": {
  17046. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17047. "type": "integer"
  17048. },
  17049. "userid": {
  17050. "description": "用户ID",
  17051. "type": "integer"
  17052. },
  17053. "vendorname": {
  17054. "description": "供应商名称",
  17055. "type": "string"
  17056. }
  17057. }
  17058. },
  17059. "models.HsbyPreGoods": {
  17060. "type": "object",
  17061. "required": [
  17062. "goodscode",
  17063. "goodsid",
  17064. "goodsname",
  17065. "marketid",
  17066. "trademode"
  17067. ],
  17068. "properties": {
  17069. "agreeunit": {
  17070. "description": "合约单位",
  17071. "type": "number"
  17072. },
  17073. "currency": {
  17074. "description": "货币",
  17075. "type": "string"
  17076. },
  17077. "currencysign": {
  17078. "description": "货币符号",
  17079. "type": "string"
  17080. },
  17081. "decimalplace": {
  17082. "description": "报价小数位",
  17083. "type": "integer"
  17084. },
  17085. "desccityid": {
  17086. "description": "目的地(市)",
  17087. "type": "integer"
  17088. },
  17089. "descprovinceid": {
  17090. "description": "目的地(省)",
  17091. "type": "integer"
  17092. },
  17093. "enableqty": {
  17094. "description": "剩余数量",
  17095. "type": "integer"
  17096. },
  17097. "goodscode": {
  17098. "description": "商品代码(内部)",
  17099. "type": "string"
  17100. },
  17101. "goodsid": {
  17102. "description": "商品ID(自增ID SEQ_GOODS)",
  17103. "type": "integer"
  17104. },
  17105. "goodsname": {
  17106. "description": "商品名称",
  17107. "type": "string"
  17108. },
  17109. "goodsstatus": {
  17110. "description": "商品状态- 2:未上市 3:上市",
  17111. "type": "integer"
  17112. },
  17113. "lasttradedate": {
  17114. "description": "最后交易日期(状态:待退市)",
  17115. "type": "string"
  17116. },
  17117. "listingdate": {
  17118. "description": "交易开始日期",
  17119. "type": "string"
  17120. },
  17121. "marketid": {
  17122. "description": "所属市场ID",
  17123. "type": "integer"
  17124. },
  17125. "picurls": {
  17126. "description": "介绍图片[多张用逗号分隔]",
  17127. "type": "string"
  17128. },
  17129. "presaledqty": {
  17130. "description": "已预售量(预售结束时更新)",
  17131. "type": "integer"
  17132. },
  17133. "presaleqty": {
  17134. "description": "预售数量",
  17135. "type": "integer"
  17136. },
  17137. "quoteminunit": {
  17138. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17139. "type": "integer"
  17140. },
  17141. "refprice": {
  17142. "description": "参考价格[一口价]",
  17143. "type": "number"
  17144. },
  17145. "relatedgoodsid": {
  17146. "description": "关联交易合约ID",
  17147. "type": "integer"
  17148. },
  17149. "trademode": {
  17150. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17151. "type": "integer"
  17152. },
  17153. "videourls": {
  17154. "description": "介绍视频[多张用逗号分隔]",
  17155. "type": "string"
  17156. }
  17157. }
  17158. },
  17159. "models.HsbyPreGoodsDetail": {
  17160. "type": "object",
  17161. "required": [
  17162. "goodscode",
  17163. "goodsid",
  17164. "goodsname",
  17165. "marketid",
  17166. "trademode"
  17167. ],
  17168. "properties": {
  17169. "agreeunit": {
  17170. "description": "合约单位",
  17171. "type": "number"
  17172. },
  17173. "buymaxqty": {
  17174. "description": "购买上限 [71] - 0为不限",
  17175. "type": "integer"
  17176. },
  17177. "currency": {
  17178. "description": "货币",
  17179. "type": "string"
  17180. },
  17181. "currencysign": {
  17182. "description": "货币符号",
  17183. "type": "string"
  17184. },
  17185. "customername": {
  17186. "description": "发行单位",
  17187. "type": "string"
  17188. },
  17189. "decimalplace": {
  17190. "description": "报价小数位",
  17191. "type": "integer"
  17192. },
  17193. "desccityid": {
  17194. "description": "目的地(市)ID",
  17195. "type": "integer"
  17196. },
  17197. "descprovinceid": {
  17198. "description": "目的地(省)ID",
  17199. "type": "integer"
  17200. },
  17201. "enableqty": {
  17202. "description": "剩余数量",
  17203. "type": "integer"
  17204. },
  17205. "goodscode": {
  17206. "description": "商品代码(内部)",
  17207. "type": "string"
  17208. },
  17209. "goodsdesc": {
  17210. "description": "商品详情",
  17211. "type": "string"
  17212. },
  17213. "goodsid": {
  17214. "description": "商品ID(自增ID SEQ_GOODS)",
  17215. "type": "integer"
  17216. },
  17217. "goodsname": {
  17218. "description": "商品名称",
  17219. "type": "string"
  17220. },
  17221. "goodsstatus": {
  17222. "description": "商品状态- 2:未上市 3:上市",
  17223. "type": "integer"
  17224. },
  17225. "goodunit": {
  17226. "description": "报价单位",
  17227. "type": "string"
  17228. },
  17229. "lasttradedate": {
  17230. "description": "最后交易日期(状态:待退市)",
  17231. "type": "string"
  17232. },
  17233. "listingdate": {
  17234. "description": "交易开始日期",
  17235. "type": "string"
  17236. },
  17237. "lotsize": {
  17238. "description": "手数最小变动单位",
  17239. "type": "integer"
  17240. },
  17241. "marketid": {
  17242. "description": "所属市场ID",
  17243. "type": "integer"
  17244. },
  17245. "picurls": {
  17246. "description": "介绍图片[多张用逗号分隔]",
  17247. "type": "string"
  17248. },
  17249. "presaledqty": {
  17250. "description": "已预售量(预售结束时更新)",
  17251. "type": "integer"
  17252. },
  17253. "presaleqty": {
  17254. "description": "预售数量",
  17255. "type": "integer"
  17256. },
  17257. "quoteminunit": {
  17258. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17259. "type": "integer"
  17260. },
  17261. "refprice": {
  17262. "description": "参考价格[一口价]",
  17263. "type": "number"
  17264. },
  17265. "relatedgoodsid": {
  17266. "description": "关联交易合约ID",
  17267. "type": "integer"
  17268. },
  17269. "stepvalue": {
  17270. "description": "价格最小变动单位",
  17271. "type": "number"
  17272. },
  17273. "trademode": {
  17274. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17275. "type": "integer"
  17276. },
  17277. "vendorattr": {
  17278. "description": "供应商附件(多张,逗号分隔)",
  17279. "type": "string"
  17280. },
  17281. "vendorname": {
  17282. "description": "供应商名称",
  17283. "type": "string"
  17284. },
  17285. "vendorphone": {
  17286. "description": "供应商客服电话",
  17287. "type": "string"
  17288. },
  17289. "videourls": {
  17290. "description": "介绍视频[多张用逗号分隔]",
  17291. "type": "string"
  17292. }
  17293. }
  17294. },
  17295. "models.HsbySellCollectionOrder": {
  17296. "type": "object",
  17297. "required": [
  17298. "goodscode",
  17299. "goodsname",
  17300. "tradeid",
  17301. "trademode"
  17302. ],
  17303. "properties": {
  17304. "agreeunit": {
  17305. "description": "合约单位",
  17306. "type": "number"
  17307. },
  17308. "buyaccountid": {
  17309. "description": "买方账号ID[报价币种]",
  17310. "type": "integer"
  17311. },
  17312. "buyorderid": {
  17313. "description": "买方委托单号",
  17314. "type": "string"
  17315. },
  17316. "createtime": {
  17317. "description": "创建时间",
  17318. "type": "string"
  17319. },
  17320. "currencysign": {
  17321. "description": "货币符号",
  17322. "type": "string"
  17323. },
  17324. "decimalplace": {
  17325. "description": "报价小数位",
  17326. "type": "integer"
  17327. },
  17328. "goodscode": {
  17329. "description": "商品代码(内部)",
  17330. "type": "string"
  17331. },
  17332. "goodsid": {
  17333. "description": "商品ID",
  17334. "type": "integer"
  17335. },
  17336. "goodsname": {
  17337. "description": "商品名称",
  17338. "type": "string"
  17339. },
  17340. "marketid": {
  17341. "description": "市场ID",
  17342. "type": "integer"
  17343. },
  17344. "offamount": {
  17345. "description": "优惠金额",
  17346. "type": "number"
  17347. },
  17348. "payamount": {
  17349. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17350. "type": "number"
  17351. },
  17352. "payflag": {
  17353. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17354. "type": "integer"
  17355. },
  17356. "paylimitedtime": {
  17357. "description": "支付期限",
  17358. "type": "string"
  17359. },
  17360. "paytime": {
  17361. "description": "付款时间",
  17362. "type": "string"
  17363. },
  17364. "picurls": {
  17365. "description": "商品介绍图片[多张用逗号分隔]",
  17366. "type": "string"
  17367. },
  17368. "sellaccountid": {
  17369. "description": "卖方账号ID[报价币种]",
  17370. "type": "integer"
  17371. },
  17372. "sellorderid": {
  17373. "description": "卖方委托单号",
  17374. "type": "string"
  17375. },
  17376. "tradeamount": {
  17377. "description": "成交金额",
  17378. "type": "number"
  17379. },
  17380. "tradecharge": {
  17381. "description": "成交手续费(买方)",
  17382. "type": "number"
  17383. },
  17384. "tradedate": {
  17385. "description": "交易日(yyyyMMdd)",
  17386. "type": "string"
  17387. },
  17388. "tradeid": {
  17389. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17390. "type": "string"
  17391. },
  17392. "trademode": {
  17393. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17394. "type": "integer"
  17395. },
  17396. "tradeprice": {
  17397. "description": "成交价格",
  17398. "type": "number"
  17399. },
  17400. "tradeqty": {
  17401. "description": "成交数量",
  17402. "type": "integer"
  17403. }
  17404. }
  17405. },
  17406. "models.HsbySellMyDetail": {
  17407. "type": "object",
  17408. "required": [
  17409. "accountid",
  17410. "buyorsell",
  17411. "goodscode",
  17412. "goodsid",
  17413. "goodsname",
  17414. "marketid",
  17415. "orderid",
  17416. "time",
  17417. "trademode"
  17418. ],
  17419. "properties": {
  17420. "accountid": {
  17421. "description": "账户ID[报价币种]",
  17422. "type": "integer"
  17423. },
  17424. "agreeunit": {
  17425. "description": "合约单位",
  17426. "type": "number"
  17427. },
  17428. "buyorsell": {
  17429. "description": "买卖 - 0:买 1:卖",
  17430. "type": "integer"
  17431. },
  17432. "currencysign": {
  17433. "description": "货币符号",
  17434. "type": "string"
  17435. },
  17436. "decimalplace": {
  17437. "description": "报价小数位",
  17438. "type": "integer"
  17439. },
  17440. "goodscode": {
  17441. "description": "商品代码(内部)",
  17442. "type": "string"
  17443. },
  17444. "goodsid": {
  17445. "description": "商品ID",
  17446. "type": "integer"
  17447. },
  17448. "goodsname": {
  17449. "description": "商品名称",
  17450. "type": "string"
  17451. },
  17452. "marketid": {
  17453. "description": "市场ID",
  17454. "type": "integer"
  17455. },
  17456. "orderid": {
  17457. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17458. "type": "string"
  17459. },
  17460. "ordertype": {
  17461. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17462. "type": "integer"
  17463. },
  17464. "picurls": {
  17465. "description": "介绍图片[多张用逗号分隔]",
  17466. "type": "string"
  17467. },
  17468. "price": {
  17469. "description": "价格",
  17470. "type": "number"
  17471. },
  17472. "qty": {
  17473. "description": "数量",
  17474. "type": "integer"
  17475. },
  17476. "time": {
  17477. "description": "时间",
  17478. "type": "string"
  17479. },
  17480. "trademode": {
  17481. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17482. "type": "integer"
  17483. },
  17484. "vendorname": {
  17485. "description": "供应商名称",
  17486. "type": "string"
  17487. }
  17488. }
  17489. },
  17490. "models.HsbyTopGoods": {
  17491. "type": "object",
  17492. "required": [
  17493. "goodscode",
  17494. "goodsid",
  17495. "goodsname",
  17496. "marketid",
  17497. "trademode"
  17498. ],
  17499. "properties": {
  17500. "agreeunit": {
  17501. "description": "合约单位",
  17502. "type": "number"
  17503. },
  17504. "currency": {
  17505. "description": "货币",
  17506. "type": "string"
  17507. },
  17508. "currencysign": {
  17509. "description": "货币符号",
  17510. "type": "string"
  17511. },
  17512. "decimalplace": {
  17513. "description": "报价小数位",
  17514. "type": "integer"
  17515. },
  17516. "desccityid": {
  17517. "description": "目的地(市)",
  17518. "type": "integer"
  17519. },
  17520. "descprovinceid": {
  17521. "description": "目的地(省)",
  17522. "type": "integer"
  17523. },
  17524. "goodscode": {
  17525. "description": "商品代码(内部)",
  17526. "type": "string"
  17527. },
  17528. "goodsid": {
  17529. "description": "商品ID(自增ID SEQ_GOODS)",
  17530. "type": "integer"
  17531. },
  17532. "goodsname": {
  17533. "description": "商品名称",
  17534. "type": "string"
  17535. },
  17536. "hotindex": {
  17537. "description": "景点热度",
  17538. "type": "integer"
  17539. },
  17540. "last": {
  17541. "description": "现价",
  17542. "type": "number"
  17543. },
  17544. "marketid": {
  17545. "description": "所属市场ID",
  17546. "type": "integer"
  17547. },
  17548. "picurls": {
  17549. "description": "介绍图片[多张用逗号分隔]",
  17550. "type": "string"
  17551. },
  17552. "quoteminunit": {
  17553. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17554. "type": "integer"
  17555. },
  17556. "trademode": {
  17557. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17558. "type": "integer"
  17559. },
  17560. "videourls": {
  17561. "description": "介绍视频[多张用逗号分隔]",
  17562. "type": "string"
  17563. }
  17564. }
  17565. },
  17566. "models.HybsMyBuyOrderDetail": {
  17567. "type": "object",
  17568. "required": [
  17569. "accountid",
  17570. "buyorsell",
  17571. "goodscode",
  17572. "goodsid",
  17573. "goodsname",
  17574. "marketid",
  17575. "orderid",
  17576. "orderqty",
  17577. "ordertime",
  17578. "trademode"
  17579. ],
  17580. "properties": {
  17581. "accountid": {
  17582. "description": "账户ID[报价币种]",
  17583. "type": "integer"
  17584. },
  17585. "agreeunit": {
  17586. "description": "合约单位",
  17587. "type": "number"
  17588. },
  17589. "buyorsell": {
  17590. "description": "买卖 - 0:买 1:卖",
  17591. "type": "integer"
  17592. },
  17593. "cancelqty": {
  17594. "description": "撤单数量",
  17595. "type": "integer"
  17596. },
  17597. "currencysign": {
  17598. "description": "货币符号",
  17599. "type": "string"
  17600. },
  17601. "decimalplace": {
  17602. "description": "报价小数位",
  17603. "type": "integer"
  17604. },
  17605. "goodscode": {
  17606. "description": "商品代码(内部)",
  17607. "type": "string"
  17608. },
  17609. "goodsid": {
  17610. "description": "商品ID",
  17611. "type": "integer"
  17612. },
  17613. "goodsname": {
  17614. "description": "商品名称",
  17615. "type": "string"
  17616. },
  17617. "listingselecttype": {
  17618. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17619. "type": "integer"
  17620. },
  17621. "marketid": {
  17622. "description": "市场ID",
  17623. "type": "integer"
  17624. },
  17625. "mybuystatus": {
  17626. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17627. "type": "integer"
  17628. },
  17629. "orderamount": {
  17630. "description": "委托金额",
  17631. "type": "number"
  17632. },
  17633. "orderid": {
  17634. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17635. "type": "string"
  17636. },
  17637. "orderprice": {
  17638. "description": "委托价格",
  17639. "type": "number"
  17640. },
  17641. "orderqty": {
  17642. "description": "委托数量",
  17643. "type": "integer"
  17644. },
  17645. "orderstatus": {
  17646. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17647. "type": "integer"
  17648. },
  17649. "ordertime": {
  17650. "description": "委托时间",
  17651. "type": "string"
  17652. },
  17653. "picurls1": {
  17654. "description": "预售商品介绍图片[多张用逗号分隔]",
  17655. "type": "string"
  17656. },
  17657. "picurls2": {
  17658. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17659. "type": "string"
  17660. },
  17661. "trademode": {
  17662. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17663. "type": "integer"
  17664. },
  17665. "tradeqty": {
  17666. "description": "成交数量",
  17667. "type": "integer"
  17668. },
  17669. "vendorname1": {
  17670. "description": "预售商品供应商名称",
  17671. "type": "string"
  17672. },
  17673. "vendorname2": {
  17674. "description": "挂牌商品供应商名称",
  17675. "type": "string"
  17676. }
  17677. }
  17678. },
  17679. "models.Loginaccount": {
  17680. "type": "object",
  17681. "required": [
  17682. "loginid"
  17683. ],
  17684. "properties": {
  17685. "canoutin": {
  17686. "description": "是否可出入金 - 0:不可 1:可",
  17687. "type": "integer"
  17688. },
  17689. "clientroleid": {
  17690. "description": "终端角色ID",
  17691. "type": "integer"
  17692. },
  17693. "haslogined": {
  17694. "description": "是否已登录 - 0:未登录 1:已登录",
  17695. "type": "integer"
  17696. },
  17697. "hasupdatedpwd": {
  17698. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17699. "type": "integer"
  17700. },
  17701. "lastloginip": {
  17702. "description": "最新登录地址",
  17703. "type": "string"
  17704. },
  17705. "lastloginmode": {
  17706. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17707. "type": "integer"
  17708. },
  17709. "lastloginremark": {
  17710. "description": "最新登录描述",
  17711. "type": "string"
  17712. },
  17713. "lastlogintime": {
  17714. "description": "最新登录时间",
  17715. "type": "string"
  17716. },
  17717. "logincode": {
  17718. "description": "登录代码",
  17719. "type": "string"
  17720. },
  17721. "loginfailnum": {
  17722. "description": "连续登录失败次数(登录成功时清零)",
  17723. "type": "integer"
  17724. },
  17725. "loginid": {
  17726. "description": "登陆账号",
  17727. "type": "integer"
  17728. },
  17729. "loginport": {
  17730. "description": "最新登录端口",
  17731. "type": "integer"
  17732. },
  17733. "loginstatus": {
  17734. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17735. "type": "integer"
  17736. },
  17737. "loginusertype": {
  17738. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17739. "type": "integer"
  17740. },
  17741. "modifierid": {
  17742. "description": "修改人",
  17743. "type": "integer"
  17744. },
  17745. "modifytime": {
  17746. "description": "修改时间",
  17747. "type": "string"
  17748. },
  17749. "pwdwrongcount": {
  17750. "description": "密码错误次数",
  17751. "type": "integer"
  17752. },
  17753. "taaccountrighttype": {
  17754. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17755. "type": "integer"
  17756. },
  17757. "unfreezetime": {
  17758. "description": "账户解冻时间",
  17759. "type": "string"
  17760. },
  17761. "userid": {
  17762. "description": "用户ID",
  17763. "type": "integer"
  17764. }
  17765. }
  17766. },
  17767. "models.MainAccountInfo": {
  17768. "type": "object",
  17769. "properties": {
  17770. "accountid": {
  17771. "description": "账号id",
  17772. "type": "integer"
  17773. },
  17774. "accountname": {
  17775. "description": "账号名称(taaccount表中的名称)",
  17776. "type": "string"
  17777. },
  17778. "appid": {
  17779. "description": "AppID",
  17780. "type": "string"
  17781. },
  17782. "authcode": {
  17783. "description": "授权码",
  17784. "type": "string"
  17785. },
  17786. "brokerid": {
  17787. "description": "经纪商id",
  17788. "type": "string"
  17789. },
  17790. "fcid": {
  17791. "description": "期货公司id",
  17792. "type": "integer"
  17793. },
  17794. "fcname": {
  17795. "description": "期货公司代码",
  17796. "type": "string"
  17797. },
  17798. "hedgeaccountcode": {
  17799. "description": "外部账号代码(主账号登录代码)",
  17800. "type": "string"
  17801. },
  17802. "hedgeaccountpwd": {
  17803. "description": "密码",
  17804. "type": "string"
  17805. },
  17806. "ismain": {
  17807. "description": "是否主账号",
  17808. "type": "integer"
  17809. },
  17810. "relateduserid": {
  17811. "description": "关联用户id",
  17812. "type": "integer"
  17813. },
  17814. "userid": {
  17815. "description": "关联用户id",
  17816. "type": "integer"
  17817. }
  17818. }
  17819. },
  17820. "models.Market": {
  17821. "type": "object",
  17822. "required": [
  17823. "marketid",
  17824. "marketstatus",
  17825. "openmethod",
  17826. "reckonpricealgorithm",
  17827. "trademode",
  17828. "tradeproperty"
  17829. ],
  17830. "properties": {
  17831. "auctionwrtype": {
  17832. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17833. "type": "integer"
  17834. },
  17835. "canacceptquote": {
  17836. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17837. "type": "integer"
  17838. },
  17839. "cangoodsexercise": {
  17840. "description": "[期权]是否可现货行权- 0:否 1:是",
  17841. "type": "integer"
  17842. },
  17843. "cangoodsexercisetype": {
  17844. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17845. "type": "integer"
  17846. },
  17847. "canmanualquotestrike": {
  17848. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17849. "type": "integer"
  17850. },
  17851. "canmutistage": {
  17852. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17853. "type": "integer"
  17854. },
  17855. "canpreexercise": {
  17856. "description": "[期权]是否可预申报- 0:否 1:是",
  17857. "type": "integer"
  17858. },
  17859. "clearinterval": {
  17860. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17861. "type": "integer"
  17862. },
  17863. "contracttmp": {
  17864. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17865. "type": "string"
  17866. },
  17867. "exchareaid": {
  17868. "description": "所属交易所,可以没有",
  17869. "type": "integer"
  17870. },
  17871. "goodstype": {
  17872. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17873. "type": "integer"
  17874. },
  17875. "hasrebate": {
  17876. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17877. "type": "integer"
  17878. },
  17879. "hastradecredit": {
  17880. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17881. "type": "integer"
  17882. },
  17883. "haswr": {
  17884. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17885. "type": "integer"
  17886. },
  17887. "isdeductmargin": {
  17888. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17889. "type": "integer"
  17890. },
  17891. "isrecordsource": {
  17892. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17893. "type": "integer"
  17894. },
  17895. "isreleasemargin": {
  17896. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17897. "type": "integer"
  17898. },
  17899. "marginformula": {
  17900. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17901. "type": "integer"
  17902. },
  17903. "marginformula2": {
  17904. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17905. "type": "integer"
  17906. },
  17907. "marketid": {
  17908. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17909. "type": "integer"
  17910. },
  17911. "marketname": {
  17912. "description": "市场名称",
  17913. "type": "string"
  17914. },
  17915. "marketserviceid": {
  17916. "description": "市场服务ID",
  17917. "type": "integer"
  17918. },
  17919. "marketstatus": {
  17920. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17921. "type": "integer"
  17922. },
  17923. "markettype": {
  17924. "description": "市场类型- 1:非交易服务 2:交易服务",
  17925. "type": "integer"
  17926. },
  17927. "matchermode": {
  17928. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17929. "type": "integer"
  17930. },
  17931. "openmethod": {
  17932. "description": "开盘模式 - 0 自动 1手动",
  17933. "type": "integer"
  17934. },
  17935. "otcuserid": {
  17936. "description": "场外期权做市商[场外期权]",
  17937. "type": "integer"
  17938. },
  17939. "outersynctime": {
  17940. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17941. "type": "string"
  17942. },
  17943. "pendingflag": {
  17944. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17945. "type": "integer"
  17946. },
  17947. "pendingtime": {
  17948. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17949. "type": "string"
  17950. },
  17951. "performancetempid": {
  17952. "description": "履约计划模板ID - 作废",
  17953. "type": "integer"
  17954. },
  17955. "premiumquotemode": {
  17956. "description": "权利金报价方式 - 1:自动 2:手动",
  17957. "type": "integer"
  17958. },
  17959. "rebateratio": {
  17960. "description": "返利比率[竞价式]",
  17961. "type": "number"
  17962. },
  17963. "reckonorder": {
  17964. "description": "结算顺序",
  17965. "type": "integer"
  17966. },
  17967. "reckonpricealgorithm": {
  17968. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17969. "type": "integer"
  17970. },
  17971. "reckonpriceparam": {
  17972. "description": "结算价参数",
  17973. "type": "integer"
  17974. },
  17975. "reckontime": {
  17976. "description": "结算时间[通道交易-对冲](HH:mm)",
  17977. "type": "string"
  17978. },
  17979. "roleprioritytype": {
  17980. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17981. "type": "integer"
  17982. },
  17983. "selllistingauditflag": {
  17984. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17985. "type": "integer"
  17986. },
  17987. "trademarkettype": {
  17988. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17989. "type": "integer"
  17990. },
  17991. "trademode": {
  17992. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17993. "type": "integer"
  17994. },
  17995. "tradeproperty": {
  17996. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17997. "type": "integer"
  17998. },
  17999. "tradetype": {
  18000. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  18001. "type": "integer"
  18002. }
  18003. }
  18004. },
  18005. "models.Marketrun": {
  18006. "type": "object",
  18007. "required": [
  18008. "marketid",
  18009. "nexttradedate",
  18010. "reckonflag",
  18011. "runstatus",
  18012. "tradedate",
  18013. "tradedate2"
  18014. ],
  18015. "properties": {
  18016. "afternexttradedate": {
  18017. "description": "下下交易日",
  18018. "type": "string"
  18019. },
  18020. "clearquoteflag": {
  18021. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18022. "type": "integer"
  18023. },
  18024. "lastreckondate": {
  18025. "description": "最新交易日(结算成功)",
  18026. "type": "string"
  18027. },
  18028. "machinedate": {
  18029. "description": "机器时间",
  18030. "type": "string"
  18031. },
  18032. "manualflag": {
  18033. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18034. "type": "integer"
  18035. },
  18036. "marketid": {
  18037. "description": "市场ID",
  18038. "type": "integer"
  18039. },
  18040. "nexttradedate": {
  18041. "description": "下一交易日",
  18042. "type": "string"
  18043. },
  18044. "pretradedate": {
  18045. "description": "上一交易日",
  18046. "type": "string"
  18047. },
  18048. "reckonflag": {
  18049. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18050. "type": "integer"
  18051. },
  18052. "runstatus": {
  18053. "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.今日免清算",
  18054. "type": "integer"
  18055. },
  18056. "sectionid": {
  18057. "description": "时间段号[多时段时用]",
  18058. "type": "integer"
  18059. },
  18060. "tradedate": {
  18061. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18062. "type": "string"
  18063. },
  18064. "tradedate2": {
  18065. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18066. "type": "string"
  18067. },
  18068. "updatetime": {
  18069. "description": "更新时间",
  18070. "type": "string"
  18071. }
  18072. }
  18073. },
  18074. "models.Messageboard": {
  18075. "type": "object",
  18076. "required": [
  18077. "messageboardid"
  18078. ],
  18079. "properties": {
  18080. "contactnum": {
  18081. "description": "联系电话",
  18082. "type": "string"
  18083. },
  18084. "createtime": {
  18085. "description": "创建时间",
  18086. "type": "string"
  18087. },
  18088. "message": {
  18089. "description": "留言信息",
  18090. "type": "string"
  18091. },
  18092. "messageboardid": {
  18093. "description": "留言簿ID(SEQ_MessageBoard)",
  18094. "type": "integer"
  18095. },
  18096. "userid": {
  18097. "description": "用户ID",
  18098. "type": "integer"
  18099. }
  18100. }
  18101. },
  18102. "models.MyCoupon": {
  18103. "type": "object",
  18104. "required": [
  18105. "accountid",
  18106. "coupontypeid"
  18107. ],
  18108. "properties": {
  18109. "accountid": {
  18110. "description": "资金账户ID",
  18111. "type": "integer"
  18112. },
  18113. "areauserid": {
  18114. "description": "所属机构",
  18115. "type": "integer"
  18116. },
  18117. "conditionvalue": {
  18118. "description": "条件阈值(可为0)",
  18119. "type": "number"
  18120. },
  18121. "couponcategroy": {
  18122. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18123. "type": "integer"
  18124. },
  18125. "couponname": {
  18126. "description": "优惠券名称",
  18127. "type": "string"
  18128. },
  18129. "coupontypeid": {
  18130. "description": "优惠券类型ID",
  18131. "type": "string"
  18132. },
  18133. "couponvalue": {
  18134. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18135. "type": "number"
  18136. },
  18137. "curfreezeqty": {
  18138. "description": "期末冻结数量",
  18139. "type": "integer"
  18140. },
  18141. "curqty": {
  18142. "description": "期末数量",
  18143. "type": "integer"
  18144. },
  18145. "isgeneral": {
  18146. "description": "是否通用券 - 0:否 1:是",
  18147. "type": "integer"
  18148. },
  18149. "isunusable": {
  18150. "description": "是否不可用",
  18151. "type": "boolean"
  18152. },
  18153. "limitedflag": {
  18154. "description": "是否指定商品 - 0:不限 1:限制",
  18155. "type": "integer"
  18156. },
  18157. "limitedgoodsids": {
  18158. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18159. "type": "string"
  18160. },
  18161. "orifreezeqty": {
  18162. "description": "期初冻结数量",
  18163. "type": "integer"
  18164. },
  18165. "oriqty": {
  18166. "description": "期初数量",
  18167. "type": "integer"
  18168. },
  18169. "reasontype": {
  18170. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18171. "type": "integer"
  18172. },
  18173. "todaydecrease": {
  18174. "description": "今日减少",
  18175. "type": "integer"
  18176. },
  18177. "todayincrease": {
  18178. "description": "今日增加",
  18179. "type": "integer"
  18180. },
  18181. "userid": {
  18182. "description": "用户ID",
  18183. "type": "integer"
  18184. },
  18185. "userscope": {
  18186. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18187. "type": "string"
  18188. }
  18189. }
  18190. },
  18191. "models.MyCouponHold": {
  18192. "type": "object",
  18193. "required": [
  18194. "couponholdid"
  18195. ],
  18196. "properties": {
  18197. "accountid": {
  18198. "description": "资金账户ID",
  18199. "type": "integer"
  18200. },
  18201. "conditionvalue": {
  18202. "description": "条件阈值(可为0)",
  18203. "type": "number"
  18204. },
  18205. "couponcategroy": {
  18206. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18207. "type": "integer"
  18208. },
  18209. "couponholdid": {
  18210. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18211. "type": "string"
  18212. },
  18213. "couponname": {
  18214. "description": "优惠券名称",
  18215. "type": "string"
  18216. },
  18217. "coupontypeid": {
  18218. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18219. "type": "string"
  18220. },
  18221. "couponvalue": {
  18222. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18223. "type": "number"
  18224. },
  18225. "createtime": {
  18226. "description": "创建时间",
  18227. "type": "string"
  18228. },
  18229. "enddate": {
  18230. "description": "结束日期",
  18231. "type": "string"
  18232. },
  18233. "giveapplyid": {
  18234. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18235. "type": "integer"
  18236. },
  18237. "holdstatus": {
  18238. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18239. "type": "integer"
  18240. },
  18241. "isgeneral": {
  18242. "description": "是否通用券 - 0:否 1:是",
  18243. "type": "integer"
  18244. },
  18245. "limitedflag": {
  18246. "description": "是否指定商品 - 0:不限 1:限制",
  18247. "type": "integer"
  18248. },
  18249. "limitedgoodsids": {
  18250. "description": "指定商品IDs[逗号分隔]",
  18251. "type": "string"
  18252. },
  18253. "qty": {
  18254. "description": "数量(按1平铺)",
  18255. "type": "integer"
  18256. },
  18257. "startdate": {
  18258. "description": "开始日期",
  18259. "type": "string"
  18260. },
  18261. "userid": {
  18262. "description": "用户ID",
  18263. "type": "integer"
  18264. },
  18265. "userscope": {
  18266. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18267. "type": "string"
  18268. }
  18269. }
  18270. },
  18271. "models.MyUsedCoupon": {
  18272. "type": "object",
  18273. "required": [
  18274. "coupontypeid",
  18275. "orderid"
  18276. ],
  18277. "properties": {
  18278. "accountid": {
  18279. "description": "资金账户ID(买方)",
  18280. "type": "integer"
  18281. },
  18282. "conditionvalue": {
  18283. "description": "条件阈值(可为0)",
  18284. "type": "number"
  18285. },
  18286. "couponcategroy": {
  18287. "description": "种类 - 1:现金券 2:折扣券",
  18288. "type": "integer"
  18289. },
  18290. "couponname": {
  18291. "description": "优惠券名称",
  18292. "type": "string"
  18293. },
  18294. "coupontypeid": {
  18295. "description": "优惠券类型ID(买方)",
  18296. "type": "string"
  18297. },
  18298. "couponvalue": {
  18299. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18300. "type": "number"
  18301. },
  18302. "createtime": {
  18303. "description": "创建时间",
  18304. "type": "string"
  18305. },
  18306. "goodsid": {
  18307. "description": "商品ID",
  18308. "type": "integer"
  18309. },
  18310. "handlestatus": {
  18311. "description": "处理状态",
  18312. "type": "integer"
  18313. },
  18314. "marketid": {
  18315. "description": "市场ID",
  18316. "type": "integer"
  18317. },
  18318. "offamount": {
  18319. "description": "优惠金额",
  18320. "type": "number"
  18321. },
  18322. "orderid": {
  18323. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18324. "type": "string"
  18325. },
  18326. "sellaccountid": {
  18327. "description": "资金账户ID(卖方)",
  18328. "type": "integer"
  18329. },
  18330. "tradeamount": {
  18331. "description": "成交金额",
  18332. "type": "number"
  18333. },
  18334. "tradeid": {
  18335. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18336. "type": "string"
  18337. },
  18338. "usedqty": {
  18339. "description": "使用数量",
  18340. "type": "integer"
  18341. }
  18342. }
  18343. },
  18344. "models.OperationPrimaryMenu": {
  18345. "type": "object",
  18346. "properties": {
  18347. "Children": {
  18348. "description": "二级功能菜单",
  18349. "type": "array",
  18350. "items": {
  18351. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18352. }
  18353. },
  18354. "Key": {
  18355. "description": "菜单KEY",
  18356. "type": "string"
  18357. },
  18358. "Label": {
  18359. "description": "菜单标题",
  18360. "type": "string"
  18361. }
  18362. }
  18363. },
  18364. "models.OperationSecondaryMenu": {
  18365. "type": "object",
  18366. "properties": {
  18367. "Key": {
  18368. "description": "菜单KEY",
  18369. "type": "string"
  18370. },
  18371. "Label": {
  18372. "description": "菜单标题",
  18373. "type": "string"
  18374. },
  18375. "TabList": {
  18376. "description": "三级功能菜单",
  18377. "type": "array",
  18378. "items": {
  18379. "$ref": "#/definitions/models.OperationTabMenu"
  18380. }
  18381. }
  18382. }
  18383. },
  18384. "models.OperationTabMenu": {
  18385. "type": "object",
  18386. "properties": {
  18387. "Key": {
  18388. "description": "菜单KEY",
  18389. "type": "string"
  18390. },
  18391. "Label": {
  18392. "description": "菜单标题",
  18393. "type": "string"
  18394. }
  18395. }
  18396. },
  18397. "models.PendingAuditBizModel": {
  18398. "type": "object",
  18399. "properties": {
  18400. "accountid": {
  18401. "description": "现货账户",
  18402. "type": "string"
  18403. },
  18404. "areaname": {
  18405. "description": "所属部门",
  18406. "type": "string"
  18407. },
  18408. "bizid": {
  18409. "description": "业务ID",
  18410. "type": "string"
  18411. },
  18412. "bizname": {
  18413. "description": "业务名称",
  18414. "type": "string"
  18415. },
  18416. "status": {
  18417. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18418. "type": "integer"
  18419. },
  18420. "type": {
  18421. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18422. "type": "integer"
  18423. }
  18424. }
  18425. },
  18426. "models.QueryErrorInfosRsp": {
  18427. "type": "object",
  18428. "required": [
  18429. "errorid"
  18430. ],
  18431. "properties": {
  18432. "description": {
  18433. "description": "异常描述",
  18434. "type": "string"
  18435. },
  18436. "errorcode": {
  18437. "description": "异常代码",
  18438. "type": "string"
  18439. },
  18440. "errorid": {
  18441. "description": "异常ID",
  18442. "type": "integer"
  18443. },
  18444. "modulecode": {
  18445. "description": "所属模块",
  18446. "type": "string"
  18447. },
  18448. "operatecode": {
  18449. "description": "所属操作",
  18450. "type": "string"
  18451. },
  18452. "rownumber": {
  18453. "description": "行号",
  18454. "type": "string"
  18455. }
  18456. }
  18457. },
  18458. "models.QueryHedgeOrderDetailRsp": {
  18459. "type": "object",
  18460. "properties": {
  18461. "accountid": {
  18462. "description": "账户ID",
  18463. "type": "integer"
  18464. },
  18465. "buyorsell": {
  18466. "description": "买卖 - 0:买 1:卖",
  18467. "type": "integer"
  18468. },
  18469. "cancellogincode": {
  18470. "description": "撤单人",
  18471. "type": "string"
  18472. },
  18473. "channelbuildtype": {
  18474. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18475. "type": "integer"
  18476. },
  18477. "channelinnerorderstatus": {
  18478. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18479. "type": "integer"
  18480. },
  18481. "channeloperatetype": {
  18482. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18483. "type": "integer"
  18484. },
  18485. "closetype": {
  18486. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18487. "type": "integer"
  18488. },
  18489. "curexchangerate": {
  18490. "description": "当前汇率",
  18491. "type": "number"
  18492. },
  18493. "exchangefullname": {
  18494. "description": "外部交易所全称",
  18495. "type": "string"
  18496. },
  18497. "goodscode": {
  18498. "description": "商品代码(内部)",
  18499. "type": "string"
  18500. },
  18501. "goodsid": {
  18502. "description": "商品ID",
  18503. "type": "integer"
  18504. },
  18505. "goodsname": {
  18506. "description": "商品名称",
  18507. "type": "string"
  18508. },
  18509. "marketid": {
  18510. "description": "市场ID",
  18511. "type": "integer"
  18512. },
  18513. "openfreezemargin": {
  18514. "description": "冻结保证金(冻结交易金额)",
  18515. "type": "number"
  18516. },
  18517. "orderid": {
  18518. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18519. "type": "string"
  18520. },
  18521. "orderlogincode": {
  18522. "description": "委托人",
  18523. "type": "string"
  18524. },
  18525. "orderprice": {
  18526. "description": "委托价格(账户)",
  18527. "type": "number"
  18528. },
  18529. "orderqty": {
  18530. "description": "委托数量",
  18531. "type": "integer"
  18532. },
  18533. "ordertime": {
  18534. "description": "委托时间",
  18535. "type": "string"
  18536. },
  18537. "pricemode": {
  18538. "description": "取价方式 - 1:市价 2: 限价",
  18539. "type": "integer"
  18540. },
  18541. "tradedate": {
  18542. "description": "交易日(yyyyMMdd)",
  18543. "type": "string"
  18544. },
  18545. "tradeqty": {
  18546. "description": "成交数量",
  18547. "type": "integer"
  18548. }
  18549. }
  18550. },
  18551. "models.QueryHedgeTradeDetailRsp": {
  18552. "type": "object",
  18553. "properties": {
  18554. "accountid": {
  18555. "description": "账号ID",
  18556. "type": "integer"
  18557. },
  18558. "buyorsell": {
  18559. "description": "方向 - 0:买 1:卖",
  18560. "type": "integer"
  18561. },
  18562. "channelbuildtype": {
  18563. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18564. "type": "integer"
  18565. },
  18566. "closecharge": {
  18567. "description": "平仓手续费(账户)",
  18568. "type": "number"
  18569. },
  18570. "closecharge2": {
  18571. "description": "平仓手续费(商品)",
  18572. "type": "number"
  18573. },
  18574. "closepl": {
  18575. "description": "平仓盈亏(账户)",
  18576. "type": "number"
  18577. },
  18578. "closepl2": {
  18579. "description": "平仓盈亏(商品)",
  18580. "type": "number"
  18581. },
  18582. "closepl3": {
  18583. "description": "平仓盈亏(账户)(逐笔)",
  18584. "type": "number"
  18585. },
  18586. "closepl4": {
  18587. "description": "平仓盈亏(商品)(逐笔)",
  18588. "type": "number"
  18589. },
  18590. "closetype": {
  18591. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18592. "type": "integer"
  18593. },
  18594. "curexchangerate": {
  18595. "description": "当前汇率",
  18596. "type": "number"
  18597. },
  18598. "exchangefullname": {
  18599. "description": "外部交易所全称",
  18600. "type": "string"
  18601. },
  18602. "goodscode": {
  18603. "description": "商品代码(内部)",
  18604. "type": "string"
  18605. },
  18606. "goodsid": {
  18607. "description": "商品ID",
  18608. "type": "integer"
  18609. },
  18610. "goodsname": {
  18611. "description": "商品名称",
  18612. "type": "string"
  18613. },
  18614. "marketid": {
  18615. "description": "市场ID",
  18616. "type": "integer"
  18617. },
  18618. "opencharge": {
  18619. "description": "建仓手续费(账户)",
  18620. "type": "number"
  18621. },
  18622. "opencharge2": {
  18623. "description": "建仓手续费(商品)",
  18624. "type": "number"
  18625. },
  18626. "orderid": {
  18627. "description": "委托单号",
  18628. "type": "string"
  18629. },
  18630. "orderlogincode": {
  18631. "description": "委托人",
  18632. "type": "string"
  18633. },
  18634. "tradeamount": {
  18635. "description": "成交金额(账户)",
  18636. "type": "number"
  18637. },
  18638. "tradedate": {
  18639. "description": "交易日(yyyyMMdd)",
  18640. "type": "string"
  18641. },
  18642. "tradeid": {
  18643. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18644. "type": "string"
  18645. },
  18646. "tradeprice": {
  18647. "description": "成交价格",
  18648. "type": "number"
  18649. },
  18650. "tradeqty": {
  18651. "description": "成交数量",
  18652. "type": "integer"
  18653. },
  18654. "tradetime": {
  18655. "description": "成交时间",
  18656. "type": "string"
  18657. },
  18658. "tradetype": {
  18659. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18660. "type": "integer"
  18661. }
  18662. }
  18663. },
  18664. "models.QuotePrimaryMenu": {
  18665. "type": "object",
  18666. "properties": {
  18667. "Index": {
  18668. "description": "序号",
  18669. "type": "integer"
  18670. },
  18671. "Key": {
  18672. "description": "键名",
  18673. "type": "string"
  18674. },
  18675. "Name": {
  18676. "description": "菜单名称",
  18677. "type": "string"
  18678. },
  18679. "SubMenus": {
  18680. "description": "子菜单",
  18681. "type": "array",
  18682. "items": {
  18683. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18684. }
  18685. },
  18686. "SubTitleType": {
  18687. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18688. "type": "integer"
  18689. },
  18690. "TradeModes": {
  18691. "description": "包含市场交易类型",
  18692. "type": "string"
  18693. }
  18694. }
  18695. },
  18696. "models.QuoteSecondaryMenu": {
  18697. "type": "object",
  18698. "properties": {
  18699. "ExExchangeCode": {
  18700. "description": "外部交易所代码",
  18701. "type": "string"
  18702. },
  18703. "ExExchangeID": {
  18704. "description": "外部交易所ID",
  18705. "type": "integer"
  18706. },
  18707. "GoodsGroupIDs": {
  18708. "description": "商品组ID列表",
  18709. "type": "array",
  18710. "items": {
  18711. "type": "integer"
  18712. }
  18713. },
  18714. "Index": {
  18715. "description": "序号",
  18716. "type": "integer"
  18717. },
  18718. "MarketID": {
  18719. "description": "市场ID",
  18720. "type": "integer"
  18721. },
  18722. "MenuTitle": {
  18723. "description": "菜单标题(市场名称或外部交易所名称)",
  18724. "type": "string"
  18725. },
  18726. "TradeMode": {
  18727. "description": "交易模式",
  18728. "type": "integer"
  18729. }
  18730. }
  18731. },
  18732. "models.SearchGoods": {
  18733. "type": "object",
  18734. "required": [
  18735. "goodscode",
  18736. "goodsid",
  18737. "goodsname",
  18738. "marketid",
  18739. "trademode"
  18740. ],
  18741. "properties": {
  18742. "goodscode": {
  18743. "description": "商品代码(内部)",
  18744. "type": "string"
  18745. },
  18746. "goodsid": {
  18747. "description": "商品ID(自增ID SEQ_GOODS)",
  18748. "type": "integer"
  18749. },
  18750. "goodsname": {
  18751. "description": "商品名称",
  18752. "type": "string"
  18753. },
  18754. "marketid": {
  18755. "description": "所属市场ID",
  18756. "type": "integer"
  18757. },
  18758. "marketname": {
  18759. "description": "市场名称",
  18760. "type": "string"
  18761. },
  18762. "trademode": {
  18763. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18764. "type": "integer"
  18765. }
  18766. }
  18767. },
  18768. "models.Systemparam": {
  18769. "type": "object",
  18770. "required": [
  18771. "paramcode"
  18772. ],
  18773. "properties": {
  18774. "loginid": {
  18775. "description": "更新用户账号,登录账号",
  18776. "type": "string"
  18777. },
  18778. "modifyflag": {
  18779. "description": "修改标志0 不允许修改 1 允许修改",
  18780. "type": "integer"
  18781. },
  18782. "paramcode": {
  18783. "description": "参数代码",
  18784. "type": "string"
  18785. },
  18786. "paramname": {
  18787. "description": "参数名",
  18788. "type": "string"
  18789. },
  18790. "paramtype": {
  18791. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18792. "type": "integer"
  18793. },
  18794. "paramvalue": {
  18795. "description": "参数值",
  18796. "type": "string"
  18797. },
  18798. "paramvalue2": {
  18799. "description": "参数值(CLOB)",
  18800. "type": "string"
  18801. },
  18802. "regexpress": {
  18803. "description": "正则表达式",
  18804. "type": "string"
  18805. },
  18806. "remark": {
  18807. "description": "备注",
  18808. "type": "string"
  18809. },
  18810. "serverip": {
  18811. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18812. "type": "string"
  18813. },
  18814. "showflag": {
  18815. "description": "是否显示0 不显示 1 显示",
  18816. "type": "integer"
  18817. },
  18818. "updatetime": {
  18819. "description": "更新时间",
  18820. "type": "string"
  18821. },
  18822. "userid": {
  18823. "description": "更新用户ID",
  18824. "type": "integer"
  18825. }
  18826. }
  18827. },
  18828. "models.Szdz3convertconfig": {
  18829. "type": "object",
  18830. "required": [
  18831. "converttype",
  18832. "innergoodsid",
  18833. "outergoodscode"
  18834. ],
  18835. "properties": {
  18836. "canin": {
  18837. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18838. "type": "integer"
  18839. },
  18840. "canout": {
  18841. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18842. "type": "integer"
  18843. },
  18844. "converttype": {
  18845. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18846. "type": "integer"
  18847. },
  18848. "createtime": {
  18849. "description": "创建时间",
  18850. "type": "string"
  18851. },
  18852. "creatorid": {
  18853. "description": "创建人",
  18854. "type": "integer"
  18855. },
  18856. "daymaxvalue": {
  18857. "description": "当日最大转入限制",
  18858. "type": "number"
  18859. },
  18860. "freezedays": {
  18861. "description": "冻结天数 [5:花生米转交易]",
  18862. "type": "integer"
  18863. },
  18864. "innergoodsid": {
  18865. "description": "内部商品ID[交易]",
  18866. "type": "integer"
  18867. },
  18868. "inratio": {
  18869. "description": "目标值",
  18870. "type": "integer"
  18871. },
  18872. "modifierid": {
  18873. "description": "修改人",
  18874. "type": "integer"
  18875. },
  18876. "modifytime": {
  18877. "description": "修改时间",
  18878. "type": "string"
  18879. },
  18880. "outergoodscode": {
  18881. "description": "外部商品代码[JD\\PD]",
  18882. "type": "string"
  18883. },
  18884. "outratio": {
  18885. "description": "源值",
  18886. "type": "integer"
  18887. },
  18888. "pddecimalplace": {
  18889. "description": "PD小数位",
  18890. "type": "integer"
  18891. },
  18892. "timemaxvalue": {
  18893. "description": "单次最大转入限制",
  18894. "type": "number"
  18895. },
  18896. "timeminvalue": {
  18897. "description": "单次最小转入限制",
  18898. "type": "number"
  18899. }
  18900. }
  18901. },
  18902. "models.Szdz3searchwhitelist": {
  18903. "type": "object",
  18904. "required": [
  18905. "userid"
  18906. ],
  18907. "properties": {
  18908. "createtime": {
  18909. "description": "创建时间",
  18910. "type": "string"
  18911. },
  18912. "creatorid": {
  18913. "description": "创建人",
  18914. "type": "integer"
  18915. },
  18916. "modifierid": {
  18917. "description": "修改人",
  18918. "type": "integer"
  18919. },
  18920. "modifytime": {
  18921. "description": "修改时间",
  18922. "type": "string"
  18923. },
  18924. "userid": {
  18925. "description": "用户ID",
  18926. "type": "integer"
  18927. }
  18928. }
  18929. },
  18930. "models.Taaccount": {
  18931. "type": "object",
  18932. "required": [
  18933. "accountid",
  18934. "userid"
  18935. ],
  18936. "properties": {
  18937. "accountflag": {
  18938. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18939. "type": "integer"
  18940. },
  18941. "accountid": {
  18942. "description": "资金账户ID",
  18943. "type": "integer"
  18944. },
  18945. "accountname": {
  18946. "description": "账户名称",
  18947. "type": "string"
  18948. },
  18949. "balance": {
  18950. "description": "期初余额",
  18951. "type": "number"
  18952. },
  18953. "capitalbalance": {
  18954. "description": "本金余额[外部子账户实际出入金余额]",
  18955. "type": "number"
  18956. },
  18957. "changeflag": {
  18958. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18959. "type": "integer"
  18960. },
  18961. "changetime": {
  18962. "description": "账户状态变更时间",
  18963. "type": "string"
  18964. },
  18965. "closepl": {
  18966. "description": "今日平仓盈亏",
  18967. "type": "number"
  18968. },
  18969. "creditdecrease": {
  18970. "description": "今日授信减少",
  18971. "type": "number"
  18972. },
  18973. "creditincrease": {
  18974. "description": "今日授信增加",
  18975. "type": "number"
  18976. },
  18977. "currencyid": {
  18978. "description": "货币ID",
  18979. "type": "integer"
  18980. },
  18981. "currentbalance": {
  18982. "description": "期末余额",
  18983. "type": "number"
  18984. },
  18985. "freezecharge": {
  18986. "description": "手续费冻结",
  18987. "type": "number"
  18988. },
  18989. "freezemargin": {
  18990. "description": "冻结保证金",
  18991. "type": "number"
  18992. },
  18993. "fromaccountid": {
  18994. "description": "所属上级账户",
  18995. "type": "integer"
  18996. },
  18997. "inamount": {
  18998. "description": "今日入金金额(包括三方入金)",
  18999. "type": "number"
  19000. },
  19001. "ismain": {
  19002. "description": "是否母账号 0:不是母账户 1:是母账户",
  19003. "type": "integer"
  19004. },
  19005. "ismarketaccount": {
  19006. "description": "是否机构接单账号 0:不是 1:是",
  19007. "type": "integer"
  19008. },
  19009. "isreckonaccount": {
  19010. "description": "是否机构分润账号 0:不是 1:是",
  19011. "type": "integer"
  19012. },
  19013. "mortgagecredit": {
  19014. "description": "授信金额",
  19015. "type": "number"
  19016. },
  19017. "orifreezecharge": {
  19018. "description": "期初手续费冻结",
  19019. "type": "number"
  19020. },
  19021. "orifreezemargin": {
  19022. "description": "期初冻结保证金",
  19023. "type": "number"
  19024. },
  19025. "orimortgagecredit": {
  19026. "description": "期初授信金额",
  19027. "type": "number"
  19028. },
  19029. "oriothercredit": {
  19030. "description": "期初其它授信金额",
  19031. "type": "number"
  19032. },
  19033. "oriotherfreezemargin": {
  19034. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19035. "type": "number"
  19036. },
  19037. "orioutamountfreeze": {
  19038. "description": "期初出金冻结",
  19039. "type": "number"
  19040. },
  19041. "oriusedmargin": {
  19042. "description": "期初占用保证金",
  19043. "type": "number"
  19044. },
  19045. "othercredit": {
  19046. "description": "其它授信金额",
  19047. "type": "number"
  19048. },
  19049. "othercreditdecrease": {
  19050. "description": "今日其它授信减少",
  19051. "type": "number"
  19052. },
  19053. "othercreditincrease": {
  19054. "description": "今日其它授信增加",
  19055. "type": "number"
  19056. },
  19057. "otherfreezemargin": {
  19058. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19059. "type": "number"
  19060. },
  19061. "otherincome": {
  19062. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19063. "type": "number"
  19064. },
  19065. "otherpay": {
  19066. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19067. "type": "number"
  19068. },
  19069. "outamount": {
  19070. "description": "今日出金金额(包括三方出金)",
  19071. "type": "number"
  19072. },
  19073. "outamountfreeze": {
  19074. "description": "出金冻结",
  19075. "type": "number"
  19076. },
  19077. "outthreshold": {
  19078. "description": "出金阈值",
  19079. "type": "number"
  19080. },
  19081. "parentaccountid": {
  19082. "description": "所属根账号",
  19083. "type": "integer"
  19084. },
  19085. "paycharge": {
  19086. "description": "今日手续费支出",
  19087. "type": "number"
  19088. },
  19089. "relatedaccountstatus": {
  19090. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19091. "type": "integer"
  19092. },
  19093. "relateduserid": {
  19094. "description": "关联用户",
  19095. "type": "integer"
  19096. },
  19097. "serivcegroup": {
  19098. "description": "服务分组",
  19099. "type": "integer"
  19100. },
  19101. "signstatus": {
  19102. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19103. "type": "integer"
  19104. },
  19105. "sublevelpath": {
  19106. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19107. "type": "string"
  19108. },
  19109. "taaccounttype": {
  19110. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19111. "type": "integer"
  19112. },
  19113. "thirdinamount": {
  19114. "description": "今日三方入金",
  19115. "type": "number"
  19116. },
  19117. "thirdoutamount": {
  19118. "description": "今日三方出金",
  19119. "type": "number"
  19120. },
  19121. "tradestatus": {
  19122. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19123. "type": "integer"
  19124. },
  19125. "tradestatuschangetime": {
  19126. "description": "激活时间",
  19127. "type": "string"
  19128. },
  19129. "transferamount": {
  19130. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19131. "type": "number"
  19132. },
  19133. "usedmargin": {
  19134. "description": "占用保证金",
  19135. "type": "number"
  19136. },
  19137. "userid": {
  19138. "description": "用户ID",
  19139. "type": "integer"
  19140. }
  19141. }
  19142. },
  19143. "models.Tablecolumnconfig": {
  19144. "type": "object",
  19145. "required": [
  19146. "autoid"
  19147. ],
  19148. "properties": {
  19149. "aligntype": {
  19150. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19151. "type": "integer"
  19152. },
  19153. "autoid": {
  19154. "description": "AutoID",
  19155. "type": "integer"
  19156. },
  19157. "columnfield": {
  19158. "description": "列字段",
  19159. "type": "string"
  19160. },
  19161. "columntitle": {
  19162. "description": "列Title",
  19163. "type": "string"
  19164. },
  19165. "columnwidth": {
  19166. "description": "列宽",
  19167. "type": "string"
  19168. },
  19169. "formatterstring": {
  19170. "description": "格式化字符",
  19171. "type": "string"
  19172. },
  19173. "formattertype": {
  19174. "description": "格式化类型",
  19175. "type": "string"
  19176. },
  19177. "groupname": {
  19178. "description": "表头分组名称",
  19179. "type": "string"
  19180. },
  19181. "isshow": {
  19182. "description": "是否显示 - 0:不显示 1:显示",
  19183. "type": "integer"
  19184. },
  19185. "needsummary": {
  19186. "description": "是否需要汇总 - 0:不需要 1:需要",
  19187. "type": "integer"
  19188. },
  19189. "orderindex": {
  19190. "description": "顺序",
  19191. "type": "integer"
  19192. },
  19193. "remark": {
  19194. "description": "备注",
  19195. "type": "string"
  19196. },
  19197. "summarytype": {
  19198. "description": "汇总类型 - 1:加总 2:最后一个",
  19199. "type": "integer"
  19200. },
  19201. "tablekey": {
  19202. "description": "列表Key",
  19203. "type": "string"
  19204. }
  19205. }
  19206. },
  19207. "models.Useraccount": {
  19208. "type": "object",
  19209. "required": [
  19210. "userid"
  19211. ],
  19212. "properties": {
  19213. "accountname": {
  19214. "description": "账户名称(机构名称)",
  19215. "type": "string"
  19216. },
  19217. "accountstatus": {
  19218. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19219. "type": "integer"
  19220. },
  19221. "auditremark": {
  19222. "description": "审核备注",
  19223. "type": "string"
  19224. },
  19225. "audittime": {
  19226. "description": "审核时间",
  19227. "type": "string"
  19228. },
  19229. "audituserid": {
  19230. "description": "审核人",
  19231. "type": "integer"
  19232. },
  19233. "broker": {
  19234. "description": "所属经纪人ID",
  19235. "type": "integer"
  19236. },
  19237. "canceltime": {
  19238. "description": "销户时间",
  19239. "type": "string"
  19240. },
  19241. "canceluserid": {
  19242. "description": "销户人",
  19243. "type": "integer"
  19244. },
  19245. "createtime": {
  19246. "description": "创建时间",
  19247. "type": "string"
  19248. },
  19249. "creatorid": {
  19250. "description": "创建人",
  19251. "type": "integer"
  19252. },
  19253. "hasauth": {
  19254. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19255. "type": "integer"
  19256. },
  19257. "isanonymous": {
  19258. "description": "是否匿名下单 - 0:否 1:是",
  19259. "type": "integer"
  19260. },
  19261. "maxinvestornum": {
  19262. "description": "最大用户数(经纪会员下投资者个数)",
  19263. "type": "integer"
  19264. },
  19265. "memberuserid": {
  19266. "description": "所属会员ID",
  19267. "type": "integer"
  19268. },
  19269. "modifierid": {
  19270. "description": "修改人",
  19271. "type": "integer"
  19272. },
  19273. "modifyremark": {
  19274. "description": "变更备注",
  19275. "type": "string"
  19276. },
  19277. "modifystatus": {
  19278. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19279. "type": "integer"
  19280. },
  19281. "modifytime": {
  19282. "description": "修改时间",
  19283. "type": "string"
  19284. },
  19285. "parentuserid": {
  19286. "description": "所属机构ID",
  19287. "type": "integer"
  19288. },
  19289. "reckonaccountid": {
  19290. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19291. "type": "integer"
  19292. },
  19293. "refercount": {
  19294. "description": "推荐总人数",
  19295. "type": "integer"
  19296. },
  19297. "refereeuserid": {
  19298. "description": "推荐人ID",
  19299. "type": "integer"
  19300. },
  19301. "refernum": {
  19302. "description": "推荐码",
  19303. "type": "string"
  19304. },
  19305. "subarealevelpath": {
  19306. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19307. "type": "string"
  19308. },
  19309. "userid": {
  19310. "description": "用户ID",
  19311. "type": "integer"
  19312. },
  19313. "usertype": {
  19314. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19315. "type": "integer"
  19316. }
  19317. }
  19318. },
  19319. "models.Userfavoritegoods": {
  19320. "type": "object",
  19321. "required": [
  19322. "goodsid"
  19323. ],
  19324. "properties": {
  19325. "goodsid": {
  19326. "description": "商品ID",
  19327. "type": "integer"
  19328. }
  19329. }
  19330. },
  19331. "models.Userinfo": {
  19332. "type": "object",
  19333. "required": [
  19334. "userid"
  19335. ],
  19336. "properties": {
  19337. "address": {
  19338. "description": "地址",
  19339. "type": "string"
  19340. },
  19341. "attachment1": {
  19342. "description": "附件1",
  19343. "type": "string"
  19344. },
  19345. "attachment2": {
  19346. "description": "附件2",
  19347. "type": "string"
  19348. },
  19349. "bankaccount": {
  19350. "description": "银行帐号 (加密存储)",
  19351. "type": "string"
  19352. },
  19353. "bankaccountname": {
  19354. "description": "收款人名称",
  19355. "type": "string"
  19356. },
  19357. "bankcardfrontphotourl": {
  19358. "description": "银行卡正面照地址",
  19359. "type": "string"
  19360. },
  19361. "bankid": {
  19362. "description": "银行编码",
  19363. "type": "string"
  19364. },
  19365. "bankname": {
  19366. "description": "银行名称",
  19367. "type": "string"
  19368. },
  19369. "biznature": {
  19370. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19371. "type": "integer"
  19372. },
  19373. "bizscope": {
  19374. "description": "企业经营范围(企业)",
  19375. "type": "string"
  19376. },
  19377. "cardbackphotourl": {
  19378. "description": "证件背面图片地址",
  19379. "type": "string"
  19380. },
  19381. "cardfrontphotourl": {
  19382. "description": "证件正面图片地址",
  19383. "type": "string"
  19384. },
  19385. "cardnum": {
  19386. "description": "证件号码(加密存储)",
  19387. "type": "string"
  19388. },
  19389. "cardtypeid": {
  19390. "description": "证件类型ID",
  19391. "type": "integer"
  19392. },
  19393. "cityid": {
  19394. "description": "市",
  19395. "type": "integer"
  19396. },
  19397. "company": {
  19398. "description": "公司(个人)",
  19399. "type": "string"
  19400. },
  19401. "contactname": {
  19402. "description": "联系人",
  19403. "type": "string"
  19404. },
  19405. "countryid": {
  19406. "description": "国家",
  19407. "type": "integer"
  19408. },
  19409. "createtime": {
  19410. "description": "创建时间",
  19411. "type": "string"
  19412. },
  19413. "creatorid": {
  19414. "description": "创建人",
  19415. "type": "integer"
  19416. },
  19417. "customername": {
  19418. "description": "客户名称(企业名称)",
  19419. "type": "string"
  19420. },
  19421. "districtid": {
  19422. "description": "地区",
  19423. "type": "integer"
  19424. },
  19425. "email": {
  19426. "description": "邮件(加密存储)",
  19427. "type": "string"
  19428. },
  19429. "fax": {
  19430. "description": "传真(加密存储)",
  19431. "type": "string"
  19432. },
  19433. "halfbodyphotourl": {
  19434. "description": "半身照地址",
  19435. "type": "string"
  19436. },
  19437. "hasencrypt": {
  19438. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19439. "type": "integer"
  19440. },
  19441. "headurl": {
  19442. "description": "头像地址",
  19443. "type": "string"
  19444. },
  19445. "legalcardbackphotourl": {
  19446. "description": "法人身份证背面照地址",
  19447. "type": "string"
  19448. },
  19449. "legalcardfrontphotourl": {
  19450. "description": "法人身份证正面照地址",
  19451. "type": "string"
  19452. },
  19453. "legalpersonname": {
  19454. "description": "法人姓名(企业)",
  19455. "type": "string"
  19456. },
  19457. "mobile": {
  19458. "description": "手机号码(加密存储)",
  19459. "type": "string"
  19460. },
  19461. "mobile2": {
  19462. "description": "手机号码[明文-尚志]",
  19463. "type": "string"
  19464. },
  19465. "modifierid": {
  19466. "description": "修改人",
  19467. "type": "integer"
  19468. },
  19469. "modifiertime": {
  19470. "description": "修改时间",
  19471. "type": "string"
  19472. },
  19473. "needinvoice": {
  19474. "description": "是否需要发票 - 0:不需要 1:需要",
  19475. "type": "integer"
  19476. },
  19477. "nickname": {
  19478. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19479. "type": "string"
  19480. },
  19481. "openmode": {
  19482. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19483. "type": "integer"
  19484. },
  19485. "otherurl": {
  19486. "description": "其它图片地址[使用分号分隔]",
  19487. "type": "string"
  19488. },
  19489. "postalcode": {
  19490. "description": "邮政编码",
  19491. "type": "string"
  19492. },
  19493. "provinceid": {
  19494. "description": "省",
  19495. "type": "integer"
  19496. },
  19497. "qq": {
  19498. "description": "QQ(加密存储",
  19499. "type": "string"
  19500. },
  19501. "remark": {
  19502. "description": "备注",
  19503. "type": "string"
  19504. },
  19505. "sex": {
  19506. "description": "用户性别 0: 女 1: 男",
  19507. "type": "integer"
  19508. },
  19509. "signpdfurl": {
  19510. "description": "签约pdf文件",
  19511. "type": "string"
  19512. },
  19513. "telphone": {
  19514. "description": "联系电话(加密存储)",
  19515. "type": "string"
  19516. },
  19517. "userid": {
  19518. "description": "用户ID",
  19519. "type": "integer"
  19520. },
  19521. "userinfotype": {
  19522. "description": "用户信息类型 - 1:个人 2:企业",
  19523. "type": "integer"
  19524. },
  19525. "userstatus": {
  19526. "description": "用户状态 - 1:正常 2:注销",
  19527. "type": "integer"
  19528. },
  19529. "usertype": {
  19530. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19531. "type": "integer"
  19532. },
  19533. "wechat": {
  19534. "description": "微信(加密存储)",
  19535. "type": "string"
  19536. },
  19537. "wskhinfo": {
  19538. "description": "开户申请信息(JSON)",
  19539. "type": "string"
  19540. }
  19541. }
  19542. },
  19543. "models.WRSConverTDetail": {
  19544. "type": "object",
  19545. "properties": {
  19546. "convertratio": {
  19547. "description": "套保系数",
  19548. "type": "number"
  19549. },
  19550. "deliverygoodscode": {
  19551. "description": "现货商品代码",
  19552. "type": "string"
  19553. },
  19554. "deliverygoodsid": {
  19555. "description": "现货品种ID",
  19556. "type": "integer"
  19557. },
  19558. "deliverygoodsname": {
  19559. "description": "现货商品名称",
  19560. "type": "string"
  19561. },
  19562. "enumdicname": {
  19563. "description": "单位名称",
  19564. "type": "string"
  19565. },
  19566. "goodsunitid": {
  19567. "description": "套保品种单位id",
  19568. "type": "integer"
  19569. },
  19570. "middlegoodscode": {
  19571. "description": "套保品种代码",
  19572. "type": "string"
  19573. },
  19574. "middlegoodsid": {
  19575. "description": "套保品种ID",
  19576. "type": "integer"
  19577. },
  19578. "middlegoodsname": {
  19579. "description": "套保品种名称",
  19580. "type": "string"
  19581. },
  19582. "modifytime": {
  19583. "description": "修改时间",
  19584. "type": "string"
  19585. },
  19586. "wrstandardid": {
  19587. "description": "品类ID",
  19588. "type": "integer"
  19589. }
  19590. }
  19591. },
  19592. "models.WRStandardInfo": {
  19593. "type": "object",
  19594. "required": [
  19595. "wrstandardid"
  19596. ],
  19597. "properties": {
  19598. "areauserid": {
  19599. "description": "所属机构",
  19600. "type": "integer"
  19601. },
  19602. "convertfactor": {
  19603. "description": "标仓系数",
  19604. "type": "number"
  19605. },
  19606. "createtime": {
  19607. "description": "创建时间",
  19608. "type": "string"
  19609. },
  19610. "creatorid": {
  19611. "description": "创建人",
  19612. "type": "integer"
  19613. },
  19614. "deliverygoodsid": {
  19615. "description": "品种ID",
  19616. "type": "integer"
  19617. },
  19618. "deliverygoodsname": {
  19619. "description": "交割商品名称",
  19620. "type": "string"
  19621. },
  19622. "factoryitemjson": {
  19623. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19624. "type": "string"
  19625. },
  19626. "isvalid": {
  19627. "description": "是否有效 - 0:无效 1:有效",
  19628. "type": "integer"
  19629. },
  19630. "minivalue": {
  19631. "description": "最小变动值",
  19632. "type": "integer"
  19633. },
  19634. "minivaluedp": {
  19635. "description": "最小变动值小数位",
  19636. "type": "integer"
  19637. },
  19638. "realminivalue": {
  19639. "description": "实际最小变动值",
  19640. "type": "integer"
  19641. },
  19642. "realminivaluedp": {
  19643. "description": "实际最小变动值小数位",
  19644. "type": "integer"
  19645. },
  19646. "remark": {
  19647. "description": "备注",
  19648. "type": "string"
  19649. },
  19650. "unitid": {
  19651. "description": "单位ID",
  19652. "type": "integer"
  19653. },
  19654. "unitname": {
  19655. "description": "单位",
  19656. "type": "string"
  19657. },
  19658. "updatetime": {
  19659. "description": "更新时间",
  19660. "type": "string"
  19661. },
  19662. "updatorid": {
  19663. "description": "更新人",
  19664. "type": "integer"
  19665. },
  19666. "wrsstatus": {
  19667. "description": "状态 - 作废 - 0:未激活 1:正常",
  19668. "type": "integer"
  19669. },
  19670. "wrstandardcode": {
  19671. "description": "现货品类代码",
  19672. "type": "string"
  19673. },
  19674. "wrstandardid": {
  19675. "description": "现货品类ID(SEQ_WRSTANDARD)",
  19676. "type": "integer"
  19677. },
  19678. "wrstandardname": {
  19679. "description": "现货品类名称",
  19680. "type": "string"
  19681. }
  19682. }
  19683. },
  19684. "models.Warehouseinfo": {
  19685. "type": "object",
  19686. "required": [
  19687. "autoid",
  19688. "warehousecode"
  19689. ],
  19690. "properties": {
  19691. "address": {
  19692. "description": "详细地址",
  19693. "type": "string"
  19694. },
  19695. "areauserid": {
  19696. "description": "所属机构",
  19697. "type": "integer"
  19698. },
  19699. "autoid": {
  19700. "description": "自增ID",
  19701. "type": "integer"
  19702. },
  19703. "cityid": {
  19704. "description": "市",
  19705. "type": "integer"
  19706. },
  19707. "contactname": {
  19708. "description": "联系人",
  19709. "type": "string"
  19710. },
  19711. "contactnum": {
  19712. "description": "联系电话",
  19713. "type": "string"
  19714. },
  19715. "countryid": {
  19716. "description": "国家",
  19717. "type": "integer"
  19718. },
  19719. "createtime": {
  19720. "description": "创建时间",
  19721. "type": "string"
  19722. },
  19723. "districtid": {
  19724. "description": "区",
  19725. "type": "integer"
  19726. },
  19727. "hasvideo": {
  19728. "description": "是否有视频 - 0:无 1:有",
  19729. "type": "integer"
  19730. },
  19731. "provinceid": {
  19732. "description": "省",
  19733. "type": "integer"
  19734. },
  19735. "remark": {
  19736. "description": "审核备注",
  19737. "type": "string"
  19738. },
  19739. "videourl": {
  19740. "description": "视频地址",
  19741. "type": "string"
  19742. },
  19743. "warehousecode": {
  19744. "description": "仓库代码",
  19745. "type": "string"
  19746. },
  19747. "warehousename": {
  19748. "description": "仓库名称",
  19749. "type": "string"
  19750. },
  19751. "warehousestatus": {
  19752. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19753. "type": "integer"
  19754. },
  19755. "warehousetype": {
  19756. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19757. "type": "integer"
  19758. }
  19759. }
  19760. },
  19761. "order.QueryHisTradeDetailRsp": {
  19762. "type": "object",
  19763. "required": [
  19764. "accountid",
  19765. "buyorsell",
  19766. "goodsid",
  19767. "histradedate",
  19768. "marketid",
  19769. "memberuserid",
  19770. "orderid",
  19771. "tradeamount",
  19772. "tradedate",
  19773. "tradeid",
  19774. "tradeprice",
  19775. "tradeqty",
  19776. "tradetime"
  19777. ],
  19778. "properties": {
  19779. "accountid": {
  19780. "description": "账户ID[报价币种]",
  19781. "type": "integer"
  19782. },
  19783. "buildtype": {
  19784. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19785. "type": "integer"
  19786. },
  19787. "buyorsell": {
  19788. "description": "方向 - 0:买 1:卖",
  19789. "type": "integer"
  19790. },
  19791. "charge": {
  19792. "description": "手续费",
  19793. "type": "number"
  19794. },
  19795. "closecharge": {
  19796. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19797. "type": "number"
  19798. },
  19799. "closeexchagechargevalue": {
  19800. "description": "平仓交易所手续费设置值",
  19801. "type": "number"
  19802. },
  19803. "closefeealgorithm": {
  19804. "description": "平仓手续费收取方式 1:比率 2:固定",
  19805. "type": "integer"
  19806. },
  19807. "closememberchargevalue": {
  19808. "description": "平仓会员手续费设置值",
  19809. "type": "number"
  19810. },
  19811. "closepl": {
  19812. "description": "平仓盈亏",
  19813. "type": "number"
  19814. },
  19815. "closepl2": {
  19816. "description": "平仓盈亏[逐笔]",
  19817. "type": "number"
  19818. },
  19819. "closeqty": {
  19820. "description": "平仓数量(先建后平操作 需要记录)",
  19821. "type": "integer"
  19822. },
  19823. "creditamount": {
  19824. "description": "授信金额",
  19825. "type": "number"
  19826. },
  19827. "gcaccountid": {
  19828. "description": "账户ID[合约币种]",
  19829. "type": "integer"
  19830. },
  19831. "goodscode": {
  19832. "description": "商品代码",
  19833. "type": "string"
  19834. },
  19835. "goodsid": {
  19836. "description": "商品ID",
  19837. "type": "integer"
  19838. },
  19839. "goodsname": {
  19840. "description": "商品名称",
  19841. "type": "string"
  19842. },
  19843. "histradedate": {
  19844. "description": "历史交易日",
  19845. "type": "string"
  19846. },
  19847. "intclosepl": {
  19848. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19849. "type": "integer"
  19850. },
  19851. "isconfirmexercise": {
  19852. "description": "是否确认行权- 0:否 1:是",
  19853. "type": "integer"
  19854. },
  19855. "ismain": {
  19856. "description": "是否主单 - 0:不是 1:是",
  19857. "type": "integer"
  19858. },
  19859. "ispreexercise": {
  19860. "description": "是否预申报- 0:否 1:是",
  19861. "type": "integer"
  19862. },
  19863. "isreckoned": {
  19864. "description": "是否结算 - 0:未结算 1:已结算",
  19865. "type": "integer"
  19866. },
  19867. "isvaliddata": {
  19868. "description": "是否有效 - 0:无效 1:有效",
  19869. "type": "integer"
  19870. },
  19871. "listingselecttype": {
  19872. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19873. "type": "integer"
  19874. },
  19875. "marketid": {
  19876. "description": "市场ID",
  19877. "type": "integer"
  19878. },
  19879. "marketname": {
  19880. "description": "市场名称",
  19881. "type": "string"
  19882. },
  19883. "matchaccountid": {
  19884. "description": "对手账号id",
  19885. "type": "integer"
  19886. },
  19887. "memberuserid": {
  19888. "description": "会员id 个人投资者 需要填写",
  19889. "type": "integer"
  19890. },
  19891. "opencharge": {
  19892. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19893. "type": "number"
  19894. },
  19895. "openexchagechargevalue": {
  19896. "description": "建仓交易所手续费设置值",
  19897. "type": "number"
  19898. },
  19899. "openfeealgorithm": {
  19900. "description": "建仓手续费收取方式 1:比率 2:固定",
  19901. "type": "integer"
  19902. },
  19903. "openmemberchargevalue": {
  19904. "description": "建仓会员手续费设置值",
  19905. "type": "number"
  19906. },
  19907. "openqty": {
  19908. "description": "开仓数量(先建后平操作 需要记录)",
  19909. "type": "integer"
  19910. },
  19911. "optiontype": {
  19912. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19913. "type": "integer"
  19914. },
  19915. "orderid": {
  19916. "description": "委托单号",
  19917. "type": "string"
  19918. },
  19919. "performanceplanid": {
  19920. "description": "履约计划ID[期权]",
  19921. "type": "integer"
  19922. },
  19923. "performancestatus": {
  19924. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19925. "type": "integer"
  19926. },
  19927. "preexerciseprice": {
  19928. "description": "预申报价格",
  19929. "type": "number"
  19930. },
  19931. "premium": {
  19932. "description": "权利金 - [持仓单的权利金]",
  19933. "type": "number"
  19934. },
  19935. "relatedouttradeid": {
  19936. "description": "关联外部成交单ID",
  19937. "type": "integer"
  19938. },
  19939. "status": {
  19940. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19941. "type": "integer"
  19942. },
  19943. "tradeamount": {
  19944. "description": "成交金额[账户币种,用于所有权]",
  19945. "type": "number"
  19946. },
  19947. "tradedate": {
  19948. "description": "交易日(yyyyMMdd)",
  19949. "type": "string"
  19950. },
  19951. "tradeid": {
  19952. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19953. "type": "string"
  19954. },
  19955. "trademode": {
  19956. "description": "交易模式",
  19957. "type": "integer"
  19958. },
  19959. "tradeprice": {
  19960. "description": "成交价格",
  19961. "type": "number"
  19962. },
  19963. "tradeproperty": {
  19964. "description": "交易属性",
  19965. "type": "integer"
  19966. },
  19967. "tradeqty": {
  19968. "description": "成交数量",
  19969. "type": "integer"
  19970. },
  19971. "tradetime": {
  19972. "description": "成交时间",
  19973. "type": "string"
  19974. },
  19975. "tradetype": {
  19976. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19977. "type": "integer"
  19978. }
  19979. }
  19980. },
  19981. "order.QueryHisTradeOrderDetailRsp": {
  19982. "type": "object",
  19983. "required": [
  19984. "accountid",
  19985. "buildtype",
  19986. "buyorsell",
  19987. "goodsid",
  19988. "histradedate",
  19989. "marketid",
  19990. "memberuserid",
  19991. "operatetype",
  19992. "orderid",
  19993. "orderqty",
  19994. "ordertime",
  19995. "pricemode",
  19996. "tradedate",
  19997. "validtype"
  19998. ],
  19999. "properties": {
  20000. "accountid": {
  20001. "description": "账户ID[报价币种]",
  20002. "type": "integer"
  20003. },
  20004. "buildtype": {
  20005. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20006. "type": "integer"
  20007. },
  20008. "buyorsell": {
  20009. "description": "买卖 - 0:买 1:卖",
  20010. "type": "integer"
  20011. },
  20012. "cancelorderid": {
  20013. "description": "撤单单号(撤单时填写)",
  20014. "type": "string"
  20015. },
  20016. "cancelqty": {
  20017. "description": "撤单数量",
  20018. "type": "integer"
  20019. },
  20020. "clientordertime": {
  20021. "description": "客户端委托时间",
  20022. "type": "string"
  20023. },
  20024. "clientticket": {
  20025. "description": "客户端流水号",
  20026. "type": "string"
  20027. },
  20028. "clienttype": {
  20029. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20030. "type": "integer"
  20031. },
  20032. "closeexchagechargevalue": {
  20033. "description": "平仓交易所手续费设置值",
  20034. "type": "number"
  20035. },
  20036. "closefeealgorithm": {
  20037. "description": "平仓手续费收取方式 1:比率 2:固定",
  20038. "type": "integer"
  20039. },
  20040. "closefreezecharge": {
  20041. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20042. "type": "number"
  20043. },
  20044. "closememberchargevalue": {
  20045. "description": "平仓会员手续费设置值",
  20046. "type": "number"
  20047. },
  20048. "closeqty": {
  20049. "description": "平仓数量(先建后平操作 需要记录)",
  20050. "type": "integer"
  20051. },
  20052. "closetradeqty": {
  20053. "description": "平仓成交数量(先建后平操作,需要记录)",
  20054. "type": "integer"
  20055. },
  20056. "closeunfreezecharge": {
  20057. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20058. "type": "number"
  20059. },
  20060. "delistingtype": {
  20061. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20062. "type": "integer"
  20063. },
  20064. "freezecharge": {
  20065. "description": "冻结手续费",
  20066. "type": "number"
  20067. },
  20068. "freezemargin": {
  20069. "description": "冻结保证金(冻结交易金额)",
  20070. "type": "number"
  20071. },
  20072. "gcaccountid": {
  20073. "description": "账户ID[合约币种]",
  20074. "type": "integer"
  20075. },
  20076. "goodscode": {
  20077. "description": "商品代码",
  20078. "type": "string"
  20079. },
  20080. "goodsid": {
  20081. "description": "商品ID",
  20082. "type": "integer"
  20083. },
  20084. "goodsname": {
  20085. "description": "商品名称",
  20086. "type": "string"
  20087. },
  20088. "histradedate": {
  20089. "description": "历史交易日",
  20090. "type": "string"
  20091. },
  20092. "isconfirmexercise": {
  20093. "description": "是否确认行权- 0:否 1:是",
  20094. "type": "integer"
  20095. },
  20096. "ispreexercise": {
  20097. "description": "是否预申报- 0:否 1:是",
  20098. "type": "integer"
  20099. },
  20100. "isvaliddata": {
  20101. "description": "是否有效 - 0:无效 1:有效",
  20102. "type": "integer"
  20103. },
  20104. "listingselecttype": {
  20105. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20106. "type": "integer"
  20107. },
  20108. "marginalgorithm": {
  20109. "description": "保证金收取方式 1:比率 2:固定",
  20110. "type": "integer"
  20111. },
  20112. "marginvalue": {
  20113. "description": "即市保证金设置值",
  20114. "type": "number"
  20115. },
  20116. "marketid": {
  20117. "description": "市场ID",
  20118. "type": "integer"
  20119. },
  20120. "marketmaxsub": {
  20121. "description": "市价最大偏移范围",
  20122. "type": "number"
  20123. },
  20124. "marketname": {
  20125. "description": "市场名称",
  20126. "type": "string"
  20127. },
  20128. "memberuserid": {
  20129. "description": "所属会员UserID",
  20130. "type": "integer"
  20131. },
  20132. "openexchagechargevalue": {
  20133. "description": "建仓交易所手续费设置值",
  20134. "type": "number"
  20135. },
  20136. "openfeealgorithm": {
  20137. "description": "建仓手续费收取方式 1:比率 2:固定",
  20138. "type": "integer"
  20139. },
  20140. "openfreezecharge": {
  20141. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20142. "type": "number"
  20143. },
  20144. "openmemberchargevalue": {
  20145. "description": "建仓会员手续费设置值",
  20146. "type": "number"
  20147. },
  20148. "openqty": {
  20149. "description": "开仓数量(先建后平操作,需要记录)",
  20150. "type": "integer"
  20151. },
  20152. "opentradeqty": {
  20153. "description": "开仓成交数量(先建后平操作,需要记录)",
  20154. "type": "integer"
  20155. },
  20156. "openunfreezecharge": {
  20157. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20158. "type": "number"
  20159. },
  20160. "operatetype": {
  20161. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20162. "type": "integer"
  20163. },
  20164. "operatorid": {
  20165. "description": "登录账号(LoginID)",
  20166. "type": "integer"
  20167. },
  20168. "optiontype": {
  20169. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20170. "type": "integer"
  20171. },
  20172. "orderid": {
  20173. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20174. "type": "string"
  20175. },
  20176. "orderprice": {
  20177. "description": "委托价格",
  20178. "type": "number"
  20179. },
  20180. "orderqty": {
  20181. "description": "委托数量",
  20182. "type": "integer"
  20183. },
  20184. "ordersrc": {
  20185. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20186. "type": "integer"
  20187. },
  20188. "orderstatus": {
  20189. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20190. "type": "integer"
  20191. },
  20192. "ordertime": {
  20193. "description": "委托时间",
  20194. "type": "string"
  20195. },
  20196. "preexerciseprice": {
  20197. "description": "预申报价格",
  20198. "type": "number"
  20199. },
  20200. "premium": {
  20201. "description": "权利金",
  20202. "type": "number"
  20203. },
  20204. "preorderid": {
  20205. "description": "关联预埋单号(止盈止损单时填写)",
  20206. "type": "string"
  20207. },
  20208. "pricemode": {
  20209. "description": "取价方式 - 1:市价 2: 限价",
  20210. "type": "integer"
  20211. },
  20212. "quoteid": {
  20213. "description": "报价单ID",
  20214. "type": "integer"
  20215. },
  20216. "relatedid": {
  20217. "description": "关联单号(交割单)",
  20218. "type": "string"
  20219. },
  20220. "retcode": {
  20221. "description": "错误代码",
  20222. "type": "integer"
  20223. },
  20224. "sessionid": {
  20225. "description": "会话ID",
  20226. "type": "integer"
  20227. },
  20228. "tradedate": {
  20229. "description": "交易日(yyyyMMdd)",
  20230. "type": "string"
  20231. },
  20232. "trademode": {
  20233. "description": "交易模式",
  20234. "type": "integer"
  20235. },
  20236. "tradeproperty": {
  20237. "description": "交易属性",
  20238. "type": "integer"
  20239. },
  20240. "tradeqty": {
  20241. "description": "成交数量",
  20242. "type": "integer"
  20243. },
  20244. "unfreezecharge": {
  20245. "description": "解冻手续费",
  20246. "type": "number"
  20247. },
  20248. "unfreezemargin": {
  20249. "description": "解冻保证金",
  20250. "type": "number"
  20251. },
  20252. "updatetime": {
  20253. "description": "更新时间",
  20254. "type": "string"
  20255. },
  20256. "uuid": {
  20257. "description": "发起端唯一id",
  20258. "type": "string"
  20259. },
  20260. "validtime": {
  20261. "description": "有效期限",
  20262. "type": "string"
  20263. },
  20264. "validtype": {
  20265. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20266. "type": "integer"
  20267. },
  20268. "volumetype": {
  20269. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20270. "type": "integer"
  20271. }
  20272. }
  20273. },
  20274. "order.QueryTradeDetailRsp": {
  20275. "type": "object",
  20276. "required": [
  20277. "accountid",
  20278. "buyorsell",
  20279. "goodsid",
  20280. "marketid",
  20281. "memberuserid",
  20282. "orderid",
  20283. "tradeamount",
  20284. "tradedate",
  20285. "tradeid",
  20286. "tradeprice",
  20287. "tradeqty",
  20288. "tradetime"
  20289. ],
  20290. "properties": {
  20291. "accountid": {
  20292. "description": "账户ID[报价币种]",
  20293. "type": "integer"
  20294. },
  20295. "buildtype": {
  20296. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20297. "type": "integer"
  20298. },
  20299. "buyorsell": {
  20300. "description": "方向 - 0:买 1:卖",
  20301. "type": "integer"
  20302. },
  20303. "charge": {
  20304. "description": "手续费",
  20305. "type": "number"
  20306. },
  20307. "closecharge": {
  20308. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20309. "type": "number"
  20310. },
  20311. "closeexchagechargevalue": {
  20312. "description": "平仓交易所手续费设置值",
  20313. "type": "number"
  20314. },
  20315. "closefeealgorithm": {
  20316. "description": "平仓手续费收取方式 1:比率 2:固定",
  20317. "type": "integer"
  20318. },
  20319. "closememberchargevalue": {
  20320. "description": "平仓会员手续费设置值",
  20321. "type": "number"
  20322. },
  20323. "closepl": {
  20324. "description": "平仓盈亏",
  20325. "type": "number"
  20326. },
  20327. "closepl2": {
  20328. "description": "平仓盈亏[逐笔]",
  20329. "type": "number"
  20330. },
  20331. "closeqty": {
  20332. "description": "平仓数量(先建后平操作 需要记录)",
  20333. "type": "integer"
  20334. },
  20335. "creditamount": {
  20336. "description": "授信金额",
  20337. "type": "number"
  20338. },
  20339. "gcaccountid": {
  20340. "description": "账户ID[合约币种]",
  20341. "type": "integer"
  20342. },
  20343. "goodscode": {
  20344. "description": "商品代码",
  20345. "type": "string"
  20346. },
  20347. "goodsid": {
  20348. "description": "商品ID",
  20349. "type": "integer"
  20350. },
  20351. "goodsname": {
  20352. "description": "商品名称",
  20353. "type": "string"
  20354. },
  20355. "intclosepl": {
  20356. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20357. "type": "integer"
  20358. },
  20359. "isconfirmexercise": {
  20360. "description": "是否确认行权- 0:否 1:是",
  20361. "type": "integer"
  20362. },
  20363. "ismain": {
  20364. "description": "是否主单 - 0:不是 1:是",
  20365. "type": "integer"
  20366. },
  20367. "ispreexercise": {
  20368. "description": "是否预申报- 0:否 1:是",
  20369. "type": "integer"
  20370. },
  20371. "isreckoned": {
  20372. "description": "是否结算 - 0:未结算 1:已结算",
  20373. "type": "integer"
  20374. },
  20375. "listingselecttype": {
  20376. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20377. "type": "integer"
  20378. },
  20379. "marketid": {
  20380. "description": "市场ID",
  20381. "type": "integer"
  20382. },
  20383. "marketname": {
  20384. "description": "市场名称",
  20385. "type": "string"
  20386. },
  20387. "matchaccountid": {
  20388. "description": "对手账号id",
  20389. "type": "integer"
  20390. },
  20391. "memberuserid": {
  20392. "description": "会员id 个人投资者 需要填写",
  20393. "type": "integer"
  20394. },
  20395. "opencharge": {
  20396. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20397. "type": "number"
  20398. },
  20399. "openexchagechargevalue": {
  20400. "description": "建仓交易所手续费设置值",
  20401. "type": "number"
  20402. },
  20403. "openfeealgorithm": {
  20404. "description": "建仓手续费收取方式 1:比率 2:固定",
  20405. "type": "integer"
  20406. },
  20407. "openmemberchargevalue": {
  20408. "description": "建仓会员手续费设置值",
  20409. "type": "number"
  20410. },
  20411. "openqty": {
  20412. "description": "开仓数量(先建后平操作 需要记录)",
  20413. "type": "integer"
  20414. },
  20415. "optiontype": {
  20416. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20417. "type": "integer"
  20418. },
  20419. "orderid": {
  20420. "description": "委托单号",
  20421. "type": "string"
  20422. },
  20423. "performanceplanid": {
  20424. "description": "履约计划ID[期权]",
  20425. "type": "integer"
  20426. },
  20427. "performancestatus": {
  20428. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20429. "type": "integer"
  20430. },
  20431. "preexerciseprice": {
  20432. "description": "预申报价格",
  20433. "type": "number"
  20434. },
  20435. "premium": {
  20436. "description": "权利金 - [持仓单的权利金]",
  20437. "type": "number"
  20438. },
  20439. "relatedouttradeid": {
  20440. "description": "关联外部成交单ID",
  20441. "type": "integer"
  20442. },
  20443. "status": {
  20444. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20445. "type": "integer"
  20446. },
  20447. "tradeamount": {
  20448. "description": "成交金额[账户币种,用于所有权]",
  20449. "type": "number"
  20450. },
  20451. "tradedate": {
  20452. "description": "交易日(yyyyMMdd)",
  20453. "type": "string"
  20454. },
  20455. "tradeid": {
  20456. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20457. "type": "string"
  20458. },
  20459. "trademode": {
  20460. "description": "交易模式",
  20461. "type": "integer"
  20462. },
  20463. "tradeprice": {
  20464. "description": "成交价格",
  20465. "type": "number"
  20466. },
  20467. "tradeproperty": {
  20468. "description": "交易属性",
  20469. "type": "integer"
  20470. },
  20471. "tradeqty": {
  20472. "description": "成交数量",
  20473. "type": "integer"
  20474. },
  20475. "tradetime": {
  20476. "description": "成交时间",
  20477. "type": "string"
  20478. },
  20479. "tradetype": {
  20480. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20481. "type": "integer"
  20482. }
  20483. }
  20484. },
  20485. "order.QueryTradeOrderDetailRsp": {
  20486. "type": "object",
  20487. "required": [
  20488. "accountid",
  20489. "buildtype",
  20490. "buyorsell",
  20491. "goodsid",
  20492. "marketid",
  20493. "operatetype",
  20494. "orderqty",
  20495. "ordertime",
  20496. "pricemode",
  20497. "tradedate",
  20498. "validtype"
  20499. ],
  20500. "properties": {
  20501. "accountid": {
  20502. "description": "账户ID[报价币种]",
  20503. "type": "integer"
  20504. },
  20505. "buildtype": {
  20506. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20507. "type": "integer"
  20508. },
  20509. "buyorsell": {
  20510. "description": "买卖 - 0:买 1:卖",
  20511. "type": "integer"
  20512. },
  20513. "cancelorderid": {
  20514. "description": "撤单单号(撤单时填写)",
  20515. "type": "string"
  20516. },
  20517. "cancelqty": {
  20518. "description": "撤单数量",
  20519. "type": "integer"
  20520. },
  20521. "clienttype": {
  20522. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20523. "type": "integer"
  20524. },
  20525. "closefreezecharge": {
  20526. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20527. "type": "number"
  20528. },
  20529. "closeqty": {
  20530. "description": "平仓数量(先建后平操作 需要记录)",
  20531. "type": "integer"
  20532. },
  20533. "closetradeqty": {
  20534. "description": "平仓成交数量(先建后平操作,需要记录)",
  20535. "type": "integer"
  20536. },
  20537. "closeunfreezecharge": {
  20538. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20539. "type": "number"
  20540. },
  20541. "delistingtype": {
  20542. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20543. "type": "integer"
  20544. },
  20545. "enableqty": {
  20546. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20547. "type": "integer"
  20548. },
  20549. "freezecharge": {
  20550. "description": "冻结手续费",
  20551. "type": "number"
  20552. },
  20553. "freezemargin": {
  20554. "description": "冻结保证金(冻结交易金额)",
  20555. "type": "number"
  20556. },
  20557. "goodscode": {
  20558. "description": "商品代码",
  20559. "type": "string"
  20560. },
  20561. "goodsid": {
  20562. "description": "商品ID",
  20563. "type": "integer"
  20564. },
  20565. "goodsname": {
  20566. "description": "商品名称",
  20567. "type": "string"
  20568. },
  20569. "listingselecttype": {
  20570. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20571. "type": "integer"
  20572. },
  20573. "marketid": {
  20574. "description": "市场ID",
  20575. "type": "integer"
  20576. },
  20577. "marketname": {
  20578. "description": "市场名称",
  20579. "type": "string"
  20580. },
  20581. "openfreezecharge": {
  20582. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20583. "type": "number"
  20584. },
  20585. "openqty": {
  20586. "description": "开仓数量(先建后平操作,需要记录)",
  20587. "type": "integer"
  20588. },
  20589. "opentradeqty": {
  20590. "description": "开仓成交数量(先建后平操作,需要记录)",
  20591. "type": "integer"
  20592. },
  20593. "openunfreezecharge": {
  20594. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20595. "type": "number"
  20596. },
  20597. "operatetype": {
  20598. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20599. "type": "integer"
  20600. },
  20601. "operatorid": {
  20602. "description": "登录账号(LoginID)",
  20603. "type": "integer"
  20604. },
  20605. "orderid": {
  20606. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20607. "type": "string"
  20608. },
  20609. "orderprice": {
  20610. "description": "委托价格",
  20611. "type": "number"
  20612. },
  20613. "orderqty": {
  20614. "description": "委托数量",
  20615. "type": "integer"
  20616. },
  20617. "ordersrc": {
  20618. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20619. "type": "integer"
  20620. },
  20621. "orderstatus": {
  20622. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20623. "type": "integer"
  20624. },
  20625. "ordertime": {
  20626. "description": "委托时间",
  20627. "type": "string"
  20628. },
  20629. "preorderid": {
  20630. "description": "关联预埋单号(止盈止损单时填写)",
  20631. "type": "string"
  20632. },
  20633. "pricemode": {
  20634. "description": "取价方式 - 1:市价 2: 限价",
  20635. "type": "integer"
  20636. },
  20637. "relatedid": {
  20638. "description": "关联单号(交割单)",
  20639. "type": "string"
  20640. },
  20641. "tradedate": {
  20642. "description": "交易日(yyyyMMdd)",
  20643. "type": "string"
  20644. },
  20645. "trademode": {
  20646. "description": "交易模式",
  20647. "type": "integer"
  20648. },
  20649. "tradeqty": {
  20650. "description": "成交数量",
  20651. "type": "integer"
  20652. },
  20653. "unfreezecharge": {
  20654. "description": "解冻手续费",
  20655. "type": "number"
  20656. },
  20657. "unfreezemargin": {
  20658. "description": "解冻保证金",
  20659. "type": "number"
  20660. },
  20661. "validtime": {
  20662. "description": "有效期限",
  20663. "type": "string"
  20664. },
  20665. "validtype": {
  20666. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20667. "type": "integer"
  20668. },
  20669. "volumetype": {
  20670. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20671. "type": "integer"
  20672. }
  20673. }
  20674. },
  20675. "order.QueryTradePositionRsp": {
  20676. "type": "object",
  20677. "required": [
  20678. "goodsid"
  20679. ],
  20680. "properties": {
  20681. "accountid": {
  20682. "description": "资金账户",
  20683. "type": "integer"
  20684. },
  20685. "agreeunit": {
  20686. "description": "合约单位",
  20687. "type": "number"
  20688. },
  20689. "averageprice": {
  20690. "description": "持仓均价",
  20691. "type": "number"
  20692. },
  20693. "buyorsell": {
  20694. "description": "方向 - 0:买 1:卖",
  20695. "type": "integer"
  20696. },
  20697. "closetotalqty": {
  20698. "description": "平仓总数量",
  20699. "type": "integer"
  20700. },
  20701. "curholderamount": {
  20702. "description": "当前持仓总金额[商品币种]",
  20703. "type": "number"
  20704. },
  20705. "curpositionqty": {
  20706. "description": "当前持仓总数量",
  20707. "type": "integer"
  20708. },
  20709. "currencyid": {
  20710. "description": "报价货币ID",
  20711. "type": "integer"
  20712. },
  20713. "curtdposition": {
  20714. "description": "期末今日头寸",
  20715. "type": "integer"
  20716. },
  20717. "decimalplace": {
  20718. "description": "报价小数位",
  20719. "type": "integer"
  20720. },
  20721. "enableqty": {
  20722. "description": "可用量",
  20723. "type": "integer"
  20724. },
  20725. "fretdposition": {
  20726. "description": "冻结今日头寸",
  20727. "type": "integer"
  20728. },
  20729. "frozenqty": {
  20730. "description": "持仓冻结数量",
  20731. "type": "integer"
  20732. },
  20733. "goodscode": {
  20734. "description": "商品代码",
  20735. "type": "string"
  20736. },
  20737. "goodsid": {
  20738. "description": "商品Id",
  20739. "type": "integer"
  20740. },
  20741. "goodsname": {
  20742. "description": "商品名称",
  20743. "type": "string"
  20744. },
  20745. "goodunit": {
  20746. "description": "报价单位",
  20747. "type": "string"
  20748. },
  20749. "goodunitid": {
  20750. "description": "报价单位ID",
  20751. "type": "integer"
  20752. },
  20753. "holderamount": {
  20754. "description": "期初持仓总金额[商品币种]",
  20755. "type": "number"
  20756. },
  20757. "marketid": {
  20758. "description": "所属市场ID",
  20759. "type": "integer"
  20760. },
  20761. "openreqqty": {
  20762. "description": "开仓申请数量(用于比较最大持仓数量)",
  20763. "type": "integer"
  20764. },
  20765. "opentotalqty": {
  20766. "description": "开仓总数量",
  20767. "type": "integer"
  20768. },
  20769. "otherfrozenqty": {
  20770. "description": "持仓其他冻结数量(交割冻结)",
  20771. "type": "integer"
  20772. },
  20773. "positionqty": {
  20774. "description": "期初持仓数量",
  20775. "type": "integer"
  20776. },
  20777. "tnqty": {
  20778. "description": "T+N冻结总量",
  20779. "type": "integer"
  20780. },
  20781. "tnusedqty": {
  20782. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20783. "type": "integer"
  20784. },
  20785. "trademode": {
  20786. "description": "交易模式",
  20787. "type": "integer"
  20788. },
  20789. "usedmargin": {
  20790. "description": "占用保证金[商品币种]",
  20791. "type": "number"
  20792. }
  20793. }
  20794. },
  20795. "quote.HistoryData": {
  20796. "type": "object",
  20797. "properties": {
  20798. "c": {
  20799. "description": "收盘价",
  20800. "type": "number"
  20801. },
  20802. "f": {
  20803. "description": "是否补充数据",
  20804. "type": "boolean"
  20805. },
  20806. "h": {
  20807. "description": "最高价",
  20808. "type": "number"
  20809. },
  20810. "hv": {
  20811. "description": "持仓量",
  20812. "type": "integer"
  20813. },
  20814. "l": {
  20815. "description": "最低价",
  20816. "type": "number"
  20817. },
  20818. "o": {
  20819. "description": "开盘价",
  20820. "type": "number"
  20821. },
  20822. "s": {
  20823. "description": "结算价,日线周期(包括)以上才有",
  20824. "type": "number"
  20825. },
  20826. "ts": {
  20827. "description": "时间",
  20828. "type": "string"
  20829. },
  20830. "tt": {
  20831. "description": "总金额",
  20832. "type": "number"
  20833. },
  20834. "tv": {
  20835. "description": "总量",
  20836. "type": "integer"
  20837. }
  20838. }
  20839. },
  20840. "quote.HistoryTikData": {
  20841. "type": "object",
  20842. "properties": {
  20843. "AV": {
  20844. "description": "卖量",
  20845. "type": "integer"
  20846. },
  20847. "Ask": {
  20848. "description": "卖价",
  20849. "type": "number"
  20850. },
  20851. "BV": {
  20852. "description": "买量",
  20853. "type": "integer"
  20854. },
  20855. "Bid": {
  20856. "description": "买价",
  20857. "type": "number"
  20858. },
  20859. "HI": {
  20860. "description": "单笔持仓",
  20861. "type": "integer"
  20862. },
  20863. "HV": {
  20864. "description": "持仓量",
  20865. "type": "integer"
  20866. },
  20867. "PE": {
  20868. "description": "现价",
  20869. "type": "number"
  20870. },
  20871. "TDR": {
  20872. "description": "交易方向,0:买 1:卖",
  20873. "type": "integer"
  20874. },
  20875. "TK": {
  20876. "description": "交易类型",
  20877. "type": "integer"
  20878. },
  20879. "TS": {
  20880. "description": "行情时间文本",
  20881. "type": "string"
  20882. },
  20883. "TT": {
  20884. "description": "现金额",
  20885. "type": "number"
  20886. },
  20887. "Vol": {
  20888. "description": "现量",
  20889. "type": "integer"
  20890. }
  20891. }
  20892. },
  20893. "quote.QueryQuoteDayRsp": {
  20894. "type": "object",
  20895. "properties": {
  20896. "ask": {
  20897. "description": "卖1",
  20898. "type": "number"
  20899. },
  20900. "ask10": {
  20901. "description": "卖10",
  20902. "type": "number"
  20903. },
  20904. "ask2": {
  20905. "description": "卖2",
  20906. "type": "number"
  20907. },
  20908. "ask3": {
  20909. "description": "卖3",
  20910. "type": "number"
  20911. },
  20912. "ask4": {
  20913. "description": "卖4",
  20914. "type": "number"
  20915. },
  20916. "ask5": {
  20917. "description": "卖5",
  20918. "type": "number"
  20919. },
  20920. "ask6": {
  20921. "description": "卖6",
  20922. "type": "number"
  20923. },
  20924. "ask7": {
  20925. "description": "卖7",
  20926. "type": "number"
  20927. },
  20928. "ask8": {
  20929. "description": "卖8",
  20930. "type": "number"
  20931. },
  20932. "ask9": {
  20933. "description": "卖9",
  20934. "type": "number"
  20935. },
  20936. "askorderid": {
  20937. "description": "卖单号1",
  20938. "type": "integer"
  20939. },
  20940. "askorderid2": {
  20941. "description": "卖单号2",
  20942. "type": "integer"
  20943. },
  20944. "askorderid3": {
  20945. "description": "卖单号3",
  20946. "type": "integer"
  20947. },
  20948. "askorderid4": {
  20949. "description": "卖单号4",
  20950. "type": "integer"
  20951. },
  20952. "askorderid5": {
  20953. "description": "卖单号5",
  20954. "type": "integer"
  20955. },
  20956. "askordervolume": {
  20957. "description": "卖单量1",
  20958. "type": "integer"
  20959. },
  20960. "askordervolume10": {
  20961. "description": "卖单量10",
  20962. "type": "integer"
  20963. },
  20964. "askordervolume2": {
  20965. "description": "卖单量2",
  20966. "type": "integer"
  20967. },
  20968. "askordervolume3": {
  20969. "description": "卖单量3",
  20970. "type": "integer"
  20971. },
  20972. "askordervolume4": {
  20973. "description": "卖单量4",
  20974. "type": "integer"
  20975. },
  20976. "askordervolume5": {
  20977. "description": "卖单量5",
  20978. "type": "integer"
  20979. },
  20980. "askordervolume6": {
  20981. "description": "卖单量6",
  20982. "type": "integer"
  20983. },
  20984. "askordervolume7": {
  20985. "description": "卖单量7",
  20986. "type": "integer"
  20987. },
  20988. "askordervolume8": {
  20989. "description": "卖单量8",
  20990. "type": "integer"
  20991. },
  20992. "askordervolume9": {
  20993. "description": "卖单量9",
  20994. "type": "integer"
  20995. },
  20996. "askqueueinfo": {
  20997. "description": "大利市卖港股用",
  20998. "type": "string"
  20999. },
  21000. "askvolume": {
  21001. "description": "卖量1",
  21002. "type": "integer"
  21003. },
  21004. "askvolume10": {
  21005. "description": "卖量10",
  21006. "type": "integer"
  21007. },
  21008. "askvolume2": {
  21009. "description": "卖量2",
  21010. "type": "integer"
  21011. },
  21012. "askvolume3": {
  21013. "description": "卖量3",
  21014. "type": "integer"
  21015. },
  21016. "askvolume4": {
  21017. "description": "卖量4",
  21018. "type": "integer"
  21019. },
  21020. "askvolume5": {
  21021. "description": "卖量5",
  21022. "type": "integer"
  21023. },
  21024. "askvolume6": {
  21025. "description": "卖量6",
  21026. "type": "integer"
  21027. },
  21028. "askvolume7": {
  21029. "description": "卖量7",
  21030. "type": "integer"
  21031. },
  21032. "askvolume8": {
  21033. "description": "卖量8",
  21034. "type": "integer"
  21035. },
  21036. "askvolume9": {
  21037. "description": "卖量9",
  21038. "type": "integer"
  21039. },
  21040. "averageprice": {
  21041. "description": "均价",
  21042. "type": "number"
  21043. },
  21044. "bid": {
  21045. "description": "买1",
  21046. "type": "number"
  21047. },
  21048. "bid10": {
  21049. "description": "买10",
  21050. "type": "number"
  21051. },
  21052. "bid2": {
  21053. "description": "买2",
  21054. "type": "number"
  21055. },
  21056. "bid3": {
  21057. "description": "买3",
  21058. "type": "number"
  21059. },
  21060. "bid4": {
  21061. "description": "买4",
  21062. "type": "number"
  21063. },
  21064. "bid5": {
  21065. "description": "买5",
  21066. "type": "number"
  21067. },
  21068. "bid6": {
  21069. "description": "买6",
  21070. "type": "number"
  21071. },
  21072. "bid7": {
  21073. "description": "买7",
  21074. "type": "number"
  21075. },
  21076. "bid8": {
  21077. "description": "买8",
  21078. "type": "number"
  21079. },
  21080. "bid9": {
  21081. "description": "买9",
  21082. "type": "number"
  21083. },
  21084. "bidorderid": {
  21085. "description": "买单号1",
  21086. "type": "integer"
  21087. },
  21088. "bidorderid2": {
  21089. "description": "买单号2",
  21090. "type": "integer"
  21091. },
  21092. "bidorderid3": {
  21093. "description": "买单号3",
  21094. "type": "integer"
  21095. },
  21096. "bidorderid4": {
  21097. "description": "买单号4",
  21098. "type": "integer"
  21099. },
  21100. "bidorderid5": {
  21101. "description": "买单号5",
  21102. "type": "integer"
  21103. },
  21104. "bidordervolume": {
  21105. "description": "买单量1",
  21106. "type": "integer"
  21107. },
  21108. "bidordervolume10": {
  21109. "description": "买单量10",
  21110. "type": "integer"
  21111. },
  21112. "bidordervolume2": {
  21113. "description": "买单量2",
  21114. "type": "integer"
  21115. },
  21116. "bidordervolume3": {
  21117. "description": "买单量3",
  21118. "type": "integer"
  21119. },
  21120. "bidordervolume4": {
  21121. "description": "买单量4",
  21122. "type": "integer"
  21123. },
  21124. "bidordervolume5": {
  21125. "description": "买单量5",
  21126. "type": "integer"
  21127. },
  21128. "bidordervolume6": {
  21129. "description": "买单量6",
  21130. "type": "integer"
  21131. },
  21132. "bidordervolume7": {
  21133. "description": "买单量7",
  21134. "type": "integer"
  21135. },
  21136. "bidordervolume8": {
  21137. "description": "买单量8",
  21138. "type": "integer"
  21139. },
  21140. "bidordervolume9": {
  21141. "description": "买单量9",
  21142. "type": "integer"
  21143. },
  21144. "bidqueueinfo": {
  21145. "description": "大利市买港股用",
  21146. "type": "string"
  21147. },
  21148. "bidvolume": {
  21149. "description": "买量1",
  21150. "type": "integer"
  21151. },
  21152. "bidvolume10": {
  21153. "description": "买量10",
  21154. "type": "integer"
  21155. },
  21156. "bidvolume2": {
  21157. "description": "买量2",
  21158. "type": "integer"
  21159. },
  21160. "bidvolume3": {
  21161. "description": "买量3",
  21162. "type": "integer"
  21163. },
  21164. "bidvolume4": {
  21165. "description": "买量4",
  21166. "type": "integer"
  21167. },
  21168. "bidvolume5": {
  21169. "description": "买量5",
  21170. "type": "integer"
  21171. },
  21172. "bidvolume6": {
  21173. "description": "买量6",
  21174. "type": "integer"
  21175. },
  21176. "bidvolume7": {
  21177. "description": "买量7",
  21178. "type": "integer"
  21179. },
  21180. "bidvolume8": {
  21181. "description": "买量8",
  21182. "type": "integer"
  21183. },
  21184. "bidvolume9": {
  21185. "description": "买量9",
  21186. "type": "integer"
  21187. },
  21188. "calloptionpremiums": {
  21189. "description": "认购期权1",
  21190. "type": "integer"
  21191. },
  21192. "calloptionpremiums2": {
  21193. "description": "认购期权2",
  21194. "type": "integer"
  21195. },
  21196. "calloptionpremiums3": {
  21197. "description": "认购期权3",
  21198. "type": "integer"
  21199. },
  21200. "calloptionpremiums4": {
  21201. "description": "认购期权4",
  21202. "type": "integer"
  21203. },
  21204. "calloptionpremiums5": {
  21205. "description": "认购期权5",
  21206. "type": "integer"
  21207. },
  21208. "cleartime": {
  21209. "description": "清盘时间",
  21210. "type": "integer"
  21211. },
  21212. "exchangecode": {
  21213. "description": "交易所代码",
  21214. "type": "integer"
  21215. },
  21216. "exchangedate": {
  21217. "description": "交易日",
  21218. "type": "integer"
  21219. },
  21220. "goodscode": {
  21221. "description": "商品代码",
  21222. "type": "string"
  21223. },
  21224. "grepmarketprice": {
  21225. "description": "暗盘价 港股专用",
  21226. "type": "number"
  21227. },
  21228. "highest": {
  21229. "description": "最高价",
  21230. "type": "number"
  21231. },
  21232. "holdincrement": {
  21233. "description": "单笔持仓",
  21234. "type": "integer"
  21235. },
  21236. "holdvolume": {
  21237. "description": "持仓",
  21238. "type": "integer"
  21239. },
  21240. "iep": {
  21241. "description": "平衡价 港股专用",
  21242. "type": "number"
  21243. },
  21244. "iev": {
  21245. "description": "平衡量 港股专用",
  21246. "type": "number"
  21247. },
  21248. "inventory": {
  21249. "description": "库存",
  21250. "type": "integer"
  21251. },
  21252. "iscleared": {
  21253. "description": "是否清盘标志",
  21254. "type": "integer"
  21255. },
  21256. "issettled": {
  21257. "description": "是否结算标志",
  21258. "type": "integer"
  21259. },
  21260. "last": {
  21261. "description": "最新价",
  21262. "type": "number"
  21263. },
  21264. "lastlot": {
  21265. "description": "最新成交手数",
  21266. "type": "integer"
  21267. },
  21268. "lasttime": {
  21269. "description": "行情时间(只有现价变化行情时间才变化)",
  21270. "type": "string"
  21271. },
  21272. "lastturnover": {
  21273. "description": "最新成交金额",
  21274. "type": "number"
  21275. },
  21276. "lastvolume": {
  21277. "description": "最新成交量",
  21278. "type": "integer"
  21279. },
  21280. "limitdown": {
  21281. "description": "跌停价",
  21282. "type": "number"
  21283. },
  21284. "limitup": {
  21285. "description": "涨停价",
  21286. "type": "number"
  21287. },
  21288. "lowest": {
  21289. "description": "最低价",
  21290. "type": "number"
  21291. },
  21292. "nontotalholdervolume": {
  21293. "description": "非交易持仓量",
  21294. "type": "integer"
  21295. },
  21296. "nontotallot": {
  21297. "description": "非交易总手数",
  21298. "type": "integer"
  21299. },
  21300. "nontotalturnover": {
  21301. "description": "非交易总金额",
  21302. "type": "integer"
  21303. },
  21304. "nontotalvolume": {
  21305. "description": "非交易总量",
  21306. "type": "integer"
  21307. },
  21308. "opened": {
  21309. "description": "开盘价",
  21310. "type": "number"
  21311. },
  21312. "opentime": {
  21313. "description": "开盘时间",
  21314. "type": "string"
  21315. },
  21316. "orderid": {
  21317. "description": "序号",
  21318. "type": "integer"
  21319. },
  21320. "preclose": {
  21321. "description": "昨收",
  21322. "type": "number"
  21323. },
  21324. "preholdvolume": {
  21325. "description": "昨持仓",
  21326. "type": "integer"
  21327. },
  21328. "presettle": {
  21329. "description": "昨结价",
  21330. "type": "number"
  21331. },
  21332. "publictradetype": {
  21333. "description": "公共交易标志类型 港股专用",
  21334. "type": "string"
  21335. },
  21336. "putoptionpremiums": {
  21337. "description": "认沽期权1",
  21338. "type": "integer"
  21339. },
  21340. "putoptionpremiums2": {
  21341. "description": "认沽期权2",
  21342. "type": "integer"
  21343. },
  21344. "putoptionpremiums3": {
  21345. "description": "认沽期权3",
  21346. "type": "integer"
  21347. },
  21348. "putoptionpremiums4": {
  21349. "description": "认沽期权4",
  21350. "type": "integer"
  21351. },
  21352. "putoptionpremiums5": {
  21353. "description": "认沽期权5",
  21354. "type": "integer"
  21355. },
  21356. "settle": {
  21357. "description": "结算价",
  21358. "type": "number"
  21359. },
  21360. "strikeprice": {
  21361. "description": "发行价",
  21362. "type": "number"
  21363. },
  21364. "totalaskvolume": {
  21365. "description": "内盘",
  21366. "type": "integer"
  21367. },
  21368. "totalbidvolume": {
  21369. "description": "外盘",
  21370. "type": "integer"
  21371. },
  21372. "totallot": {
  21373. "description": "总手数",
  21374. "type": "integer"
  21375. },
  21376. "totalturnover": {
  21377. "description": "总金额",
  21378. "type": "number"
  21379. },
  21380. "totalvolume": {
  21381. "description": "总量",
  21382. "type": "integer"
  21383. },
  21384. "utclasttime": {
  21385. "description": "utc的行情时间",
  21386. "type": "string"
  21387. }
  21388. }
  21389. },
  21390. "quote.QueryTSDataRsp": {
  21391. "type": "object",
  21392. "properties": {
  21393. "Count": {
  21394. "description": "交易日应有数据个数",
  21395. "type": "integer"
  21396. },
  21397. "decimalPlace": {
  21398. "description": "小数位",
  21399. "type": "integer"
  21400. },
  21401. "endTime": {
  21402. "description": "结束时间",
  21403. "type": "string"
  21404. },
  21405. "goodsCode": {
  21406. "description": "商品代码",
  21407. "type": "string"
  21408. },
  21409. "historyDatas": {
  21410. "description": "历史数据",
  21411. "type": "array",
  21412. "items": {
  21413. "$ref": "#/definitions/quote.HistoryData"
  21414. }
  21415. },
  21416. "outGoodsCode": {
  21417. "description": "外部商品代码",
  21418. "type": "string"
  21419. },
  21420. "preSettle": {
  21421. "description": "昨结价",
  21422. "type": "number"
  21423. },
  21424. "runSteps": {
  21425. "description": "交易日开休市计划",
  21426. "type": "array",
  21427. "items": {
  21428. "$ref": "#/definitions/quote.TSDataRunStep"
  21429. }
  21430. },
  21431. "startTime": {
  21432. "description": "开始时间",
  21433. "type": "string"
  21434. },
  21435. "tradeDate": {
  21436. "description": "交易日",
  21437. "type": "string"
  21438. }
  21439. }
  21440. },
  21441. "quote.TSDataRunStep": {
  21442. "type": "object",
  21443. "properties": {
  21444. "end": {
  21445. "description": "真实结束时间",
  21446. "type": "string"
  21447. },
  21448. "endflag": {
  21449. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21450. "type": "integer"
  21451. },
  21452. "endtime": {
  21453. "description": "结束时间(HH:mm)",
  21454. "type": "string"
  21455. },
  21456. "endweekday": {
  21457. "description": "结束周几",
  21458. "type": "integer"
  21459. },
  21460. "groupid": {
  21461. "description": "分组ID",
  21462. "type": "integer"
  21463. },
  21464. "runstep": {
  21465. "description": "运行阶段 - 2:连续交易",
  21466. "type": "integer"
  21467. },
  21468. "sectionid": {
  21469. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21470. "type": "integer"
  21471. },
  21472. "start": {
  21473. "description": "真实开始时间",
  21474. "type": "string"
  21475. },
  21476. "startflag": {
  21477. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21478. "type": "integer"
  21479. },
  21480. "starttime": {
  21481. "description": "起始时间(HH:mm)",
  21482. "type": "string"
  21483. },
  21484. "startweekday": {
  21485. "description": "起始周几",
  21486. "type": "integer"
  21487. },
  21488. "tradeweekday": {
  21489. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21490. "type": "integer"
  21491. }
  21492. }
  21493. },
  21494. "szdz.QueryConvertLogRsp": {
  21495. "type": "object",
  21496. "required": [
  21497. "logid"
  21498. ],
  21499. "properties": {
  21500. "accountid": {
  21501. "description": "资金账户ID",
  21502. "type": "integer"
  21503. },
  21504. "clientticket": {
  21505. "description": "客户端流水号",
  21506. "type": "string"
  21507. },
  21508. "converttype": {
  21509. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21510. "type": "integer"
  21511. },
  21512. "createtime": {
  21513. "description": "记账时间",
  21514. "type": "string"
  21515. },
  21516. "daymaxvalue": {
  21517. "description": "配置当日最大转入限制",
  21518. "type": "number"
  21519. },
  21520. "daymaxvalue2": {
  21521. "description": "配置当日最大转入限制(转入)",
  21522. "type": "number"
  21523. },
  21524. "goodscode": {
  21525. "description": "商品代码",
  21526. "type": "string"
  21527. },
  21528. "goodsname": {
  21529. "description": "商品名称",
  21530. "type": "string"
  21531. },
  21532. "handlestatus": {
  21533. "description": "处理状态",
  21534. "type": "integer"
  21535. },
  21536. "innergoodsid": {
  21537. "description": "内部商品ID",
  21538. "type": "integer"
  21539. },
  21540. "inratio": {
  21541. "description": "配置转入比值",
  21542. "type": "integer"
  21543. },
  21544. "invalue": {
  21545. "description": "目标值",
  21546. "type": "number"
  21547. },
  21548. "logid": {
  21549. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21550. "type": "integer"
  21551. },
  21552. "mobile": {
  21553. "description": "手机号码(加密存储)",
  21554. "type": "string"
  21555. },
  21556. "outergoodscode": {
  21557. "description": "外部商品代码[JD\\PD]",
  21558. "type": "string"
  21559. },
  21560. "outratio": {
  21561. "description": "配置转出比值",
  21562. "type": "integer"
  21563. },
  21564. "outvalue": {
  21565. "description": "源值",
  21566. "type": "number"
  21567. },
  21568. "pddecimalplace": {
  21569. "description": "PD小数位",
  21570. "type": "integer"
  21571. },
  21572. "qty": {
  21573. "description": "数量",
  21574. "type": "string"
  21575. },
  21576. "remark": {
  21577. "description": "备注",
  21578. "type": "string"
  21579. },
  21580. "sessionid": {
  21581. "description": "会话ID",
  21582. "type": "integer"
  21583. },
  21584. "timemaxvalue": {
  21585. "description": "配置单次最大转入限制",
  21586. "type": "number"
  21587. },
  21588. "timemaxvalue2": {
  21589. "description": "配置单次最大转入限制(转入)",
  21590. "type": "number"
  21591. },
  21592. "timeminvalue": {
  21593. "description": "配置单次最小数量限制",
  21594. "type": "number"
  21595. },
  21596. "timeminvalue2": {
  21597. "description": "配置单次最小数量限制(转入)",
  21598. "type": "number"
  21599. },
  21600. "tradedate": {
  21601. "description": "交易日(yyyyMMdd)",
  21602. "type": "string"
  21603. },
  21604. "userid": {
  21605. "description": "用户ID",
  21606. "type": "integer"
  21607. }
  21608. }
  21609. },
  21610. "szdz.QueryGoodsPickupRsp": {
  21611. "type": "object",
  21612. "required": [
  21613. "takeorderid"
  21614. ],
  21615. "properties": {
  21616. "accountid": {
  21617. "description": "账户ID",
  21618. "type": "integer"
  21619. },
  21620. "address": {
  21621. "description": "提货人详细地址",
  21622. "type": "string"
  21623. },
  21624. "auditer": {
  21625. "description": "审核人",
  21626. "type": "integer"
  21627. },
  21628. "audittime": {
  21629. "description": "审核时间",
  21630. "type": "string"
  21631. },
  21632. "cardnum": {
  21633. "description": "提货人证件号码",
  21634. "type": "string"
  21635. },
  21636. "cardtypeid": {
  21637. "description": "提货人证件类型",
  21638. "type": "integer"
  21639. },
  21640. "checkremark": {
  21641. "description": "审核备注",
  21642. "type": "string"
  21643. },
  21644. "goodscode": {
  21645. "description": "商品代码",
  21646. "type": "string"
  21647. },
  21648. "goodsid": {
  21649. "description": "商品ID",
  21650. "type": "integer"
  21651. },
  21652. "goodsname": {
  21653. "description": "商品名称",
  21654. "type": "string"
  21655. },
  21656. "handlestatus": {
  21657. "description": "处理状态",
  21658. "type": "integer"
  21659. },
  21660. "marketid": {
  21661. "description": "市场ID",
  21662. "type": "integer"
  21663. },
  21664. "phonenum": {
  21665. "description": "提货人联系方式",
  21666. "type": "string"
  21667. },
  21668. "qty": {
  21669. "description": "提货数量",
  21670. "type": "number"
  21671. },
  21672. "recivername": {
  21673. "description": "提货人姓名",
  21674. "type": "string"
  21675. },
  21676. "reqtime": {
  21677. "description": "更新时间",
  21678. "type": "string"
  21679. },
  21680. "takemode": {
  21681. "description": "提货方式 - 2:自提 3:配送",
  21682. "type": "integer"
  21683. },
  21684. "takeorderid": {
  21685. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21686. "type": "string"
  21687. },
  21688. "takeorderstatus": {
  21689. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21690. "type": "integer"
  21691. },
  21692. "takeremark": {
  21693. "description": "提货备注",
  21694. "type": "string"
  21695. },
  21696. "tradedate": {
  21697. "description": "交易日(yyyyMMdd)",
  21698. "type": "string"
  21699. },
  21700. "userid": {
  21701. "description": "用户ID",
  21702. "type": "integer"
  21703. }
  21704. }
  21705. },
  21706. "szdz.QueryRecieptOrderRsp": {
  21707. "type": "object",
  21708. "required": [
  21709. "ordertime"
  21710. ],
  21711. "properties": {
  21712. "accountName": {
  21713. "description": "所属账号名称(已脱敏)",
  21714. "type": "string"
  21715. },
  21716. "accountid": {
  21717. "description": "资金账号",
  21718. "type": "integer"
  21719. },
  21720. "buyorsell": {
  21721. "description": "方向 - 0:买 1:卖",
  21722. "type": "integer"
  21723. },
  21724. "enableqty": {
  21725. "description": "可摘数量",
  21726. "type": "integer"
  21727. },
  21728. "goodscode": {
  21729. "description": "商品代码",
  21730. "type": "string"
  21731. },
  21732. "goodsid": {
  21733. "description": "商品ID",
  21734. "type": "integer"
  21735. },
  21736. "goodsname": {
  21737. "description": "商品名称",
  21738. "type": "string"
  21739. },
  21740. "orderid": {
  21741. "description": "委托单号",
  21742. "type": "string"
  21743. },
  21744. "orderprice": {
  21745. "description": "委托价格",
  21746. "type": "number"
  21747. },
  21748. "ordertime": {
  21749. "description": "委托时间",
  21750. "type": "string"
  21751. },
  21752. "tradedate": {
  21753. "description": "交易日(yyyyMMdd)",
  21754. "type": "string"
  21755. }
  21756. }
  21757. },
  21758. "szdz.QuerySZDZTradePositionRsp": {
  21759. "type": "object",
  21760. "properties": {
  21761. "accountid": {
  21762. "description": "账号Id",
  21763. "type": "integer"
  21764. },
  21765. "agreeunit": {
  21766. "description": "合约单位",
  21767. "type": "number"
  21768. },
  21769. "averageprice": {
  21770. "description": "持仓均价",
  21771. "type": "number"
  21772. },
  21773. "buyorsell": {
  21774. "description": "方向 - 0:买 1:卖",
  21775. "type": "integer"
  21776. },
  21777. "closetotalqty": {
  21778. "description": "平仓总数量",
  21779. "type": "integer"
  21780. },
  21781. "curholderamount": {
  21782. "description": "当前持仓总金额",
  21783. "type": "number"
  21784. },
  21785. "curpositionqty": {
  21786. "description": "当前持仓总数量",
  21787. "type": "integer"
  21788. },
  21789. "currencyid": {
  21790. "description": "报价货币ID",
  21791. "type": "integer"
  21792. },
  21793. "curtdposition": {
  21794. "description": "期末今日头寸",
  21795. "type": "integer"
  21796. },
  21797. "decimalplace": {
  21798. "description": "报价小数位",
  21799. "type": "integer"
  21800. },
  21801. "enableqty": {
  21802. "description": "可用量",
  21803. "type": "integer"
  21804. },
  21805. "fretdposition": {
  21806. "description": "冻结今日头寸",
  21807. "type": "integer"
  21808. },
  21809. "frozenqty": {
  21810. "description": "持仓冻结数量",
  21811. "type": "integer"
  21812. },
  21813. "goodscode": {
  21814. "description": "商品代码(内部)",
  21815. "type": "string"
  21816. },
  21817. "goodsid": {
  21818. "description": "商品Id",
  21819. "type": "integer"
  21820. },
  21821. "goodsname": {
  21822. "description": "商品名称",
  21823. "type": "string"
  21824. },
  21825. "goodunit": {
  21826. "description": "报价单位",
  21827. "type": "string"
  21828. },
  21829. "goodunitid": {
  21830. "description": "报价单位ID",
  21831. "type": "integer"
  21832. },
  21833. "holderamount": {
  21834. "description": "期初持仓总金额",
  21835. "type": "number"
  21836. },
  21837. "marketid": {
  21838. "description": "市场ID",
  21839. "type": "integer"
  21840. },
  21841. "openreqqty": {
  21842. "description": "开仓申请数量",
  21843. "type": "integer"
  21844. },
  21845. "opentotalqty": {
  21846. "description": "开仓总数量",
  21847. "type": "integer"
  21848. },
  21849. "otherfrozenqty": {
  21850. "description": "持仓其他冻结数量(交割冻结)",
  21851. "type": "integer"
  21852. },
  21853. "positionqty": {
  21854. "description": "期初持仓数量",
  21855. "type": "integer"
  21856. },
  21857. "szdz3freezqty": {
  21858. "description": "尚志大宗转换冻结总数量",
  21859. "type": "integer"
  21860. },
  21861. "tnqty": {
  21862. "description": "T+N冻结总量",
  21863. "type": "integer"
  21864. },
  21865. "tnusedqty": {
  21866. "description": "T+N使用量",
  21867. "type": "integer"
  21868. },
  21869. "trademode": {
  21870. "description": "交易模式",
  21871. "type": "integer"
  21872. },
  21873. "usedmargin": {
  21874. "description": "占用保证金",
  21875. "type": "number"
  21876. }
  21877. }
  21878. },
  21879. "taaccount.QueryAmountLogRsp": {
  21880. "type": "object",
  21881. "required": [
  21882. "accountid",
  21883. "amount",
  21884. "amountadjusttype",
  21885. "autoid",
  21886. "balance",
  21887. "createtime",
  21888. "currentbalance",
  21889. "operatetype"
  21890. ],
  21891. "properties": {
  21892. "OPERATETYPENAME": {
  21893. "description": "资金操作类型名称",
  21894. "type": "string"
  21895. },
  21896. "accountid": {
  21897. "description": "资金账户ID",
  21898. "type": "integer"
  21899. },
  21900. "agoodscode": {
  21901. "description": "竞拍商品代码",
  21902. "type": "string"
  21903. },
  21904. "agoodsname": {
  21905. "description": "竞拍商品名称",
  21906. "type": "string"
  21907. },
  21908. "amount": {
  21909. "description": "资金金额",
  21910. "type": "number"
  21911. },
  21912. "amountadjusttype": {
  21913. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21914. "type": "integer"
  21915. },
  21916. "autoid": {
  21917. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21918. "type": "integer"
  21919. },
  21920. "balance": {
  21921. "description": "期初余额",
  21922. "type": "number"
  21923. },
  21924. "businesscode": {
  21925. "description": "业务编号",
  21926. "type": "integer"
  21927. },
  21928. "createtime": {
  21929. "description": "发生时间",
  21930. "type": "string"
  21931. },
  21932. "currencyid": {
  21933. "description": "币种ID",
  21934. "type": "integer"
  21935. },
  21936. "currentbalance": {
  21937. "description": "期末余额(变动后金额)",
  21938. "type": "number"
  21939. },
  21940. "dgoodscode": {
  21941. "description": "交割商品代码",
  21942. "type": "string"
  21943. },
  21944. "dgoodsname": {
  21945. "description": "交割商品名称",
  21946. "type": "string"
  21947. },
  21948. "goodscode": {
  21949. "description": "商品代码",
  21950. "type": "string"
  21951. },
  21952. "goodsid": {
  21953. "description": "商品ID",
  21954. "type": "integer"
  21955. },
  21956. "goodsname": {
  21957. "description": "商品名称",
  21958. "type": "string"
  21959. },
  21960. "marketid": {
  21961. "description": "市场ID",
  21962. "type": "integer"
  21963. },
  21964. "marketname": {
  21965. "description": "市场名称",
  21966. "type": "string"
  21967. },
  21968. "moneyticket": {
  21969. "description": "资金流水号:银行端流水号",
  21970. "type": "integer"
  21971. },
  21972. "operatetype": {
  21973. "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:营销收款",
  21974. "type": "integer"
  21975. },
  21976. "relationorderid": {
  21977. "description": "关联单号",
  21978. "type": "string"
  21979. },
  21980. "remark": {
  21981. "description": "备注",
  21982. "type": "string"
  21983. },
  21984. "trademode": {
  21985. "description": "交易模式",
  21986. "type": "integer"
  21987. }
  21988. }
  21989. },
  21990. "taaccount.QueryHisAmountLogRsp": {
  21991. "type": "object",
  21992. "required": [
  21993. "accountid",
  21994. "amount",
  21995. "amountadjusttype",
  21996. "autoid",
  21997. "balance",
  21998. "createtime",
  21999. "currentbalance",
  22000. "histradedate",
  22001. "operatetype"
  22002. ],
  22003. "properties": {
  22004. "OPERATETYPENAME": {
  22005. "description": "资金操作类型名称",
  22006. "type": "string"
  22007. },
  22008. "accountid": {
  22009. "description": "资金账户ID",
  22010. "type": "integer"
  22011. },
  22012. "agoodscode": {
  22013. "description": "竞拍商品代码",
  22014. "type": "string"
  22015. },
  22016. "agoodsname": {
  22017. "description": "竞拍商品名称",
  22018. "type": "string"
  22019. },
  22020. "amount": {
  22021. "description": "资金金额",
  22022. "type": "number"
  22023. },
  22024. "amountadjusttype": {
  22025. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22026. "type": "integer"
  22027. },
  22028. "autoid": {
  22029. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22030. "type": "integer"
  22031. },
  22032. "balance": {
  22033. "description": "期初余额",
  22034. "type": "number"
  22035. },
  22036. "businesscode": {
  22037. "description": "业务编号",
  22038. "type": "integer"
  22039. },
  22040. "createtime": {
  22041. "description": "发生时间",
  22042. "type": "string"
  22043. },
  22044. "currencyid": {
  22045. "description": "币种ID",
  22046. "type": "integer"
  22047. },
  22048. "currentbalance": {
  22049. "description": "期末余额(变动后金额)",
  22050. "type": "number"
  22051. },
  22052. "dgoodscode": {
  22053. "description": "交割商品代码",
  22054. "type": "string"
  22055. },
  22056. "dgoodsname": {
  22057. "description": "交割商品名称",
  22058. "type": "string"
  22059. },
  22060. "goodscode": {
  22061. "description": "商品代码",
  22062. "type": "string"
  22063. },
  22064. "goodsid": {
  22065. "description": "商品ID",
  22066. "type": "integer"
  22067. },
  22068. "goodsname": {
  22069. "description": "商品名称",
  22070. "type": "string"
  22071. },
  22072. "histradedate": {
  22073. "description": "历史交易日",
  22074. "type": "string"
  22075. },
  22076. "isvaliddata": {
  22077. "description": "是否有效 - 0:无效 1:有效",
  22078. "type": "integer"
  22079. },
  22080. "marketid": {
  22081. "description": "市场ID",
  22082. "type": "integer"
  22083. },
  22084. "marketname": {
  22085. "description": "市场名称",
  22086. "type": "string"
  22087. },
  22088. "moneyticket": {
  22089. "description": "资金流水号:银行端流水号",
  22090. "type": "integer"
  22091. },
  22092. "operatetype": {
  22093. "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:营销收款",
  22094. "type": "integer"
  22095. },
  22096. "relationorderid": {
  22097. "description": "关联单号",
  22098. "type": "string"
  22099. },
  22100. "remark": {
  22101. "description": "备注",
  22102. "type": "string"
  22103. },
  22104. "trademode": {
  22105. "description": "交易模式",
  22106. "type": "integer"
  22107. }
  22108. }
  22109. },
  22110. "trade.QueryRecieptOrderRsp": {
  22111. "type": "object",
  22112. "required": [
  22113. "ordertime"
  22114. ],
  22115. "properties": {
  22116. "accountName": {
  22117. "description": "所属账号名称(已脱敏)",
  22118. "type": "string"
  22119. },
  22120. "accountid": {
  22121. "description": "资金账号",
  22122. "type": "integer"
  22123. },
  22124. "buyorsell": {
  22125. "description": "方向 - 0:买 1:卖",
  22126. "type": "integer"
  22127. },
  22128. "enableqty": {
  22129. "description": "可摘数量",
  22130. "type": "integer"
  22131. },
  22132. "goodscode": {
  22133. "description": "商品代码",
  22134. "type": "string"
  22135. },
  22136. "goodsid": {
  22137. "description": "商品ID",
  22138. "type": "integer"
  22139. },
  22140. "goodsname": {
  22141. "description": "商品名称",
  22142. "type": "string"
  22143. },
  22144. "orderid": {
  22145. "description": "委托单号",
  22146. "type": "string"
  22147. },
  22148. "orderprice": {
  22149. "description": "委托价格",
  22150. "type": "number"
  22151. },
  22152. "ordertime": {
  22153. "description": "委托时间",
  22154. "type": "string"
  22155. },
  22156. "tradedate": {
  22157. "description": "交易日(yyyyMMdd)",
  22158. "type": "string"
  22159. }
  22160. }
  22161. },
  22162. "user.LoginQueryRsp": {
  22163. "type": "object",
  22164. "properties": {
  22165. "externalExchanges": {
  22166. "description": "外部交易所",
  22167. "type": "array",
  22168. "items": {
  22169. "$ref": "#/definitions/models.Externalexchange"
  22170. }
  22171. },
  22172. "goodsgroups": {
  22173. "description": "商品组",
  22174. "type": "array",
  22175. "items": {
  22176. "$ref": "#/definitions/models.Goodsgroup"
  22177. }
  22178. },
  22179. "loginAccount": {
  22180. "description": "登录账号",
  22181. "type": "object",
  22182. "$ref": "#/definitions/models.Loginaccount"
  22183. },
  22184. "markets": {
  22185. "description": "市场",
  22186. "type": "array",
  22187. "items": {
  22188. "$ref": "#/definitions/models.Market"
  22189. }
  22190. },
  22191. "systemParams": {
  22192. "description": "系统参数",
  22193. "type": "array",
  22194. "items": {
  22195. "$ref": "#/definitions/models.Systemparam"
  22196. }
  22197. },
  22198. "userAccount": {
  22199. "description": "用户账号",
  22200. "type": "object",
  22201. "$ref": "#/definitions/models.Useraccount"
  22202. },
  22203. "userInfo": {
  22204. "description": "用户信息",
  22205. "type": "object",
  22206. "$ref": "#/definitions/models.Userinfo"
  22207. },
  22208. "username": {
  22209. "description": "用户姓名",
  22210. "type": "string"
  22211. }
  22212. }
  22213. }
  22214. },
  22215. "securityDefinitions": {
  22216. "ApiKeyAuth": {
  22217. "type": "apiKey",
  22218. "name": "Authorization",
  22219. "in": "header"
  22220. }
  22221. }
  22222. }`
  22223. type swaggerInfo struct {
  22224. Version string
  22225. Host string
  22226. BasePath string
  22227. Schemes []string
  22228. Title string
  22229. Description string
  22230. }
  22231. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22232. var SwaggerInfo = swaggerInfo{
  22233. Version: "1.0",
  22234. Host: "",
  22235. BasePath: "/api",
  22236. Schemes: []string{},
  22237. Title: "MTP2.0 查询服务 API",
  22238. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22239. }
  22240. type s struct{}
  22241. func (s *s) ReadDoc() string {
  22242. sInfo := SwaggerInfo
  22243. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22244. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22245. "marshal": func(v interface{}) string {
  22246. a, _ := json.Marshal(v)
  22247. return string(a)
  22248. },
  22249. }).Parse(doc)
  22250. if err != nil {
  22251. return doc
  22252. }
  22253. var tpl bytes.Buffer
  22254. if err := t.Execute(&tpl, sInfo); err != nil {
  22255. return doc
  22256. }
  22257. return tpl.String()
  22258. }
  22259. func init() {
  22260. swag.Register(swag.Name, &s{})
  22261. }