docs.go 812 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577
  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": "用户类型 2-机构 7-企业成员",
  1065. "name": "usertype",
  1066. "in": "query"
  1067. },
  1068. {
  1069. "type": "integer",
  1070. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1071. "name": "querytype",
  1072. "in": "query",
  1073. "required": true
  1074. }
  1075. ],
  1076. "responses": {
  1077. "200": {
  1078. "description": "OK",
  1079. "schema": {
  1080. "type": "array",
  1081. "items": {
  1082. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1083. }
  1084. }
  1085. },
  1086. "500": {
  1087. "description": "Internal Server Error",
  1088. "schema": {
  1089. "$ref": "#/definitions/app.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1096. "get": {
  1097. "security": [
  1098. {
  1099. "ApiKeyAuth": []
  1100. }
  1101. ],
  1102. "produces": [
  1103. "application/json"
  1104. ],
  1105. "tags": [
  1106. "企业风险管理(app)"
  1107. ],
  1108. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1109. "parameters": [
  1110. {
  1111. "type": "integer",
  1112. "description": "用户ID",
  1113. "name": "userid",
  1114. "in": "query"
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "主账号id",
  1119. "name": "accountid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "type": "array",
  1128. "items": {
  1129. "$ref": "#/definitions/models.MainAccountInfo"
  1130. }
  1131. }
  1132. },
  1133. "500": {
  1134. "description": "Internal Server Error",
  1135. "schema": {
  1136. "$ref": "#/definitions/app.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/Ermcp/QueryAccMgrRole": {
  1143. "get": {
  1144. "security": [
  1145. {
  1146. "ApiKeyAuth": []
  1147. }
  1148. ],
  1149. "produces": [
  1150. "application/json"
  1151. ],
  1152. "tags": [
  1153. "企业风险管理(app)"
  1154. ],
  1155. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1156. "parameters": [
  1157. {
  1158. "type": "integer",
  1159. "description": "用户ID",
  1160. "name": "userid",
  1161. "in": "query",
  1162. "required": true
  1163. }
  1164. ],
  1165. "responses": {
  1166. "200": {
  1167. "description": "OK",
  1168. "schema": {
  1169. "type": "array",
  1170. "items": {
  1171. "$ref": "#/definitions/models.ErmcpRole"
  1172. }
  1173. }
  1174. },
  1175. "500": {
  1176. "description": "Internal Server Error",
  1177. "schema": {
  1178. "$ref": "#/definitions/app.Response"
  1179. }
  1180. }
  1181. }
  1182. }
  1183. },
  1184. "/Ermcp/QueryAccMgrRoleMenu": {
  1185. "get": {
  1186. "security": [
  1187. {
  1188. "ApiKeyAuth": []
  1189. }
  1190. ],
  1191. "produces": [
  1192. "application/json"
  1193. ],
  1194. "tags": [
  1195. "企业风险管理(app)"
  1196. ],
  1197. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1198. "parameters": [
  1199. {
  1200. "type": "integer",
  1201. "description": "用户ID",
  1202. "name": "userid",
  1203. "in": "query",
  1204. "required": true
  1205. },
  1206. {
  1207. "type": "string",
  1208. "description": "角色id(可多个,逗号隔开)",
  1209. "name": "roleid",
  1210. "in": "query"
  1211. }
  1212. ],
  1213. "responses": {
  1214. "200": {
  1215. "description": "OK",
  1216. "schema": {
  1217. "type": "array",
  1218. "items": {
  1219. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1220. }
  1221. }
  1222. },
  1223. "500": {
  1224. "description": "Internal Server Error",
  1225. "schema": {
  1226. "$ref": "#/definitions/app.Response"
  1227. }
  1228. }
  1229. }
  1230. }
  1231. },
  1232. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1233. "get": {
  1234. "security": [
  1235. {
  1236. "ApiKeyAuth": []
  1237. }
  1238. ],
  1239. "produces": [
  1240. "application/json"
  1241. ],
  1242. "tags": [
  1243. "企业风险管理(app)"
  1244. ],
  1245. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1246. "parameters": [
  1247. {
  1248. "type": "integer",
  1249. "description": "用户ID",
  1250. "name": "userid",
  1251. "in": "query",
  1252. "required": true
  1253. },
  1254. {
  1255. "type": "integer",
  1256. "description": "账号id",
  1257. "name": "accountid",
  1258. "in": "query"
  1259. }
  1260. ],
  1261. "responses": {
  1262. "200": {
  1263. "description": "OK",
  1264. "schema": {
  1265. "type": "array",
  1266. "items": {
  1267. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1268. }
  1269. }
  1270. },
  1271. "500": {
  1272. "description": "Internal Server Error",
  1273. "schema": {
  1274. "$ref": "#/definitions/app.Response"
  1275. }
  1276. }
  1277. }
  1278. }
  1279. },
  1280. "/Ermcp/QueryAccMgrTaaccount": {
  1281. "get": {
  1282. "security": [
  1283. {
  1284. "ApiKeyAuth": []
  1285. }
  1286. ],
  1287. "produces": [
  1288. "application/json"
  1289. ],
  1290. "tags": [
  1291. "企业风险管理(app)"
  1292. ],
  1293. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1294. "parameters": [
  1295. {
  1296. "type": "integer",
  1297. "description": "用户ID",
  1298. "name": "userid",
  1299. "in": "query",
  1300. "required": true
  1301. }
  1302. ],
  1303. "responses": {
  1304. "200": {
  1305. "description": "OK",
  1306. "schema": {
  1307. "type": "array",
  1308. "items": {
  1309. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1310. }
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Ermcp/QueryAvaildGoodsGroup": {
  1323. "get": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "企业风险管理(app)"
  1334. ],
  1335. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1336. "parameters": [
  1337. {
  1338. "type": "integer",
  1339. "description": "所属机构ID",
  1340. "name": "userid",
  1341. "in": "query",
  1342. "required": true
  1343. }
  1344. ],
  1345. "responses": {
  1346. "200": {
  1347. "description": "OK",
  1348. "schema": {
  1349. "type": "array",
  1350. "items": {
  1351. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1352. }
  1353. }
  1354. },
  1355. "500": {
  1356. "description": "Internal Server Error",
  1357. "schema": {
  1358. "$ref": "#/definitions/app.Response"
  1359. }
  1360. }
  1361. }
  1362. }
  1363. },
  1364. "/Ermcp/QueryChangeLog": {
  1365. "get": {
  1366. "security": [
  1367. {
  1368. "ApiKeyAuth": []
  1369. }
  1370. ],
  1371. "produces": [
  1372. "application/json"
  1373. ],
  1374. "tags": [
  1375. "企业风险管理(app)"
  1376. ],
  1377. "summary": "查询变更记录",
  1378. "parameters": [
  1379. {
  1380. "type": "string",
  1381. "description": "合同ID",
  1382. "name": "RelatedId",
  1383. "in": "query",
  1384. "required": true
  1385. }
  1386. ],
  1387. "responses": {
  1388. "200": {
  1389. "description": "OK",
  1390. "schema": {
  1391. "type": "array",
  1392. "items": {
  1393. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1394. }
  1395. }
  1396. },
  1397. "500": {
  1398. "description": "Internal Server Error",
  1399. "schema": {
  1400. "$ref": "#/definitions/app.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/Ermcp/QueryErmcpHisOrderDetails": {
  1407. "get": {
  1408. "security": [
  1409. {
  1410. "ApiKeyAuth": []
  1411. }
  1412. ],
  1413. "produces": [
  1414. "application/json"
  1415. ],
  1416. "tags": [
  1417. "企业风险管理(app)"
  1418. ],
  1419. "summary": "获取企业风管期货历史委托单信息",
  1420. "parameters": [
  1421. {
  1422. "type": "integer",
  1423. "description": "资金账户ID",
  1424. "name": "accountID",
  1425. "in": "query",
  1426. "required": true
  1427. },
  1428. {
  1429. "type": "string",
  1430. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1431. "name": "startDate",
  1432. "in": "query"
  1433. },
  1434. {
  1435. "type": "string",
  1436. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1437. "name": "endDate",
  1438. "in": "query"
  1439. }
  1440. ],
  1441. "responses": {
  1442. "200": {
  1443. "description": "OK",
  1444. "schema": {
  1445. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1446. }
  1447. },
  1448. "500": {
  1449. "description": "Internal Server Error",
  1450. "schema": {
  1451. "$ref": "#/definitions/app.Response"
  1452. }
  1453. }
  1454. }
  1455. }
  1456. },
  1457. "/Ermcp/QueryErmcpHisTradeDetails": {
  1458. "get": {
  1459. "security": [
  1460. {
  1461. "ApiKeyAuth": []
  1462. }
  1463. ],
  1464. "produces": [
  1465. "application/json"
  1466. ],
  1467. "tags": [
  1468. "企业风险管理(app)"
  1469. ],
  1470. "summary": "获取企业风管期货历史成交单信息",
  1471. "parameters": [
  1472. {
  1473. "type": "integer",
  1474. "description": "资金账户ID",
  1475. "name": "accountID",
  1476. "in": "query",
  1477. "required": true
  1478. },
  1479. {
  1480. "type": "integer",
  1481. "description": "商品ID",
  1482. "name": "goodsID",
  1483. "in": "query"
  1484. },
  1485. {
  1486. "type": "integer",
  1487. "description": "买卖方向,0:买 1:卖",
  1488. "name": "buyOrSell",
  1489. "in": "query"
  1490. },
  1491. {
  1492. "type": "integer",
  1493. "description": "关联委托单号",
  1494. "name": "orderID",
  1495. "in": "query"
  1496. },
  1497. {
  1498. "type": "string",
  1499. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1500. "name": "startDate",
  1501. "in": "query"
  1502. },
  1503. {
  1504. "type": "string",
  1505. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1506. "name": "endDate",
  1507. "in": "query"
  1508. }
  1509. ],
  1510. "responses": {
  1511. "200": {
  1512. "description": "OK",
  1513. "schema": {
  1514. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1515. }
  1516. },
  1517. "500": {
  1518. "description": "Internal Server Error",
  1519. "schema": {
  1520. "$ref": "#/definitions/app.Response"
  1521. }
  1522. }
  1523. }
  1524. }
  1525. },
  1526. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1527. "get": {
  1528. "security": [
  1529. {
  1530. "ApiKeyAuth": []
  1531. }
  1532. ],
  1533. "produces": [
  1534. "application/json"
  1535. ],
  1536. "tags": [
  1537. "企业风险管理(app)"
  1538. ],
  1539. "summary": "获取企业风管期货内部持仓单信息",
  1540. "parameters": [
  1541. {
  1542. "type": "integer",
  1543. "description": "资金账户ID",
  1544. "name": "accountID",
  1545. "in": "query",
  1546. "required": true
  1547. },
  1548. {
  1549. "type": "integer",
  1550. "description": "商品ID",
  1551. "name": "goodsID",
  1552. "in": "query"
  1553. },
  1554. {
  1555. "type": "integer",
  1556. "description": "买卖方向,0:买 1:卖",
  1557. "name": "buyOrSell",
  1558. "in": "query"
  1559. }
  1560. ],
  1561. "responses": {
  1562. "200": {
  1563. "description": "OK",
  1564. "schema": {
  1565. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1566. }
  1567. },
  1568. "500": {
  1569. "description": "Internal Server Error",
  1570. "schema": {
  1571. "$ref": "#/definitions/app.Response"
  1572. }
  1573. }
  1574. }
  1575. }
  1576. },
  1577. "/Ermcp/QueryErmcpOrderDetails": {
  1578. "get": {
  1579. "security": [
  1580. {
  1581. "ApiKeyAuth": []
  1582. }
  1583. ],
  1584. "produces": [
  1585. "application/json"
  1586. ],
  1587. "tags": [
  1588. "企业风险管理(app)"
  1589. ],
  1590. "summary": "获取企业风管期货委托单信息",
  1591. "parameters": [
  1592. {
  1593. "type": "integer",
  1594. "description": "资金账户ID",
  1595. "name": "accountID",
  1596. "in": "query",
  1597. "required": true
  1598. }
  1599. ],
  1600. "responses": {
  1601. "200": {
  1602. "description": "OK",
  1603. "schema": {
  1604. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1605. }
  1606. },
  1607. "500": {
  1608. "description": "Internal Server Error",
  1609. "schema": {
  1610. "$ref": "#/definitions/app.Response"
  1611. }
  1612. }
  1613. }
  1614. }
  1615. },
  1616. "/Ermcp/QueryErmcpTradeDetails": {
  1617. "get": {
  1618. "security": [
  1619. {
  1620. "ApiKeyAuth": []
  1621. }
  1622. ],
  1623. "produces": [
  1624. "application/json"
  1625. ],
  1626. "tags": [
  1627. "企业风险管理(app)"
  1628. ],
  1629. "summary": "获取企业风管期货成交单信息",
  1630. "parameters": [
  1631. {
  1632. "type": "integer",
  1633. "description": "资金账户ID",
  1634. "name": "accountID",
  1635. "in": "query",
  1636. "required": true
  1637. },
  1638. {
  1639. "type": "integer",
  1640. "description": "商品ID",
  1641. "name": "goodsID",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "integer",
  1646. "description": "买卖方向,0:买 1:卖",
  1647. "name": "buyOrSell",
  1648. "in": "query"
  1649. },
  1650. {
  1651. "type": "integer",
  1652. "description": "关联委托单号",
  1653. "name": "orderID",
  1654. "in": "query"
  1655. }
  1656. ],
  1657. "responses": {
  1658. "200": {
  1659. "description": "OK",
  1660. "schema": {
  1661. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1662. }
  1663. },
  1664. "500": {
  1665. "description": "Internal Server Error",
  1666. "schema": {
  1667. "$ref": "#/definitions/app.Response"
  1668. }
  1669. }
  1670. }
  1671. }
  1672. },
  1673. "/Ermcp/QueryErmcpTradePosition": {
  1674. "get": {
  1675. "security": [
  1676. {
  1677. "ApiKeyAuth": []
  1678. }
  1679. ],
  1680. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1681. "produces": [
  1682. "application/json"
  1683. ],
  1684. "tags": [
  1685. "企业风险管理(app)"
  1686. ],
  1687. "summary": "获取企业风管期货持仓头寸信息",
  1688. "parameters": [
  1689. {
  1690. "type": "integer",
  1691. "description": "资金账户ID",
  1692. "name": "accountID",
  1693. "in": "query",
  1694. "required": true
  1695. },
  1696. {
  1697. "type": "integer",
  1698. "description": "所属市场ID",
  1699. "name": "marketID",
  1700. "in": "query"
  1701. }
  1702. ],
  1703. "responses": {
  1704. "200": {
  1705. "description": "OK",
  1706. "schema": {
  1707. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1708. }
  1709. },
  1710. "500": {
  1711. "description": "Internal Server Error",
  1712. "schema": {
  1713. "$ref": "#/definitions/app.Response"
  1714. }
  1715. }
  1716. }
  1717. }
  1718. },
  1719. "/Ermcp/QueryExposureDetail": {
  1720. "get": {
  1721. "security": [
  1722. {
  1723. "ApiKeyAuth": []
  1724. }
  1725. ],
  1726. "produces": [
  1727. "application/json"
  1728. ],
  1729. "tags": [
  1730. "企业风险管理(app)"
  1731. ],
  1732. "summary": "查询敞口现货明细",
  1733. "parameters": [
  1734. {
  1735. "type": "integer",
  1736. "description": "所属机构ID",
  1737. "name": "areaUserId",
  1738. "in": "query",
  1739. "required": true
  1740. },
  1741. {
  1742. "type": "integer",
  1743. "description": "套保商品",
  1744. "name": "middleGoodsId",
  1745. "in": "query",
  1746. "required": true
  1747. }
  1748. ],
  1749. "responses": {
  1750. "200": {
  1751. "description": "OK",
  1752. "schema": {
  1753. "type": "array",
  1754. "items": {
  1755. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1756. }
  1757. }
  1758. },
  1759. "500": {
  1760. "description": "Internal Server Error",
  1761. "schema": {
  1762. "$ref": "#/definitions/app.Response"
  1763. }
  1764. }
  1765. }
  1766. }
  1767. },
  1768. "/Ermcp/QueryExposureHedgePosition": {
  1769. "get": {
  1770. "security": [
  1771. {
  1772. "ApiKeyAuth": []
  1773. }
  1774. ],
  1775. "produces": [
  1776. "application/json"
  1777. ],
  1778. "tags": [
  1779. "企业风险管理(app)"
  1780. ],
  1781. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1782. "parameters": [
  1783. {
  1784. "type": "integer",
  1785. "description": "用户id",
  1786. "name": "userid",
  1787. "in": "query",
  1788. "required": true
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "type": "array",
  1796. "items": {
  1797. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1798. }
  1799. }
  1800. },
  1801. "500": {
  1802. "description": "Internal Server Error",
  1803. "schema": {
  1804. "$ref": "#/definitions/app.Response"
  1805. }
  1806. }
  1807. }
  1808. }
  1809. },
  1810. "/Ermcp/QueryExposureHedgePositionDetail": {
  1811. "get": {
  1812. "security": [
  1813. {
  1814. "ApiKeyAuth": []
  1815. }
  1816. ],
  1817. "produces": [
  1818. "application/json"
  1819. ],
  1820. "tags": [
  1821. "企业风险管理(app)"
  1822. ],
  1823. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1824. "parameters": [
  1825. {
  1826. "type": "integer",
  1827. "description": "所属机构ID",
  1828. "name": "userid",
  1829. "in": "query",
  1830. "required": true
  1831. },
  1832. {
  1833. "type": "integer",
  1834. "description": "商品id",
  1835. "name": "goodsId",
  1836. "in": "query",
  1837. "required": true
  1838. }
  1839. ],
  1840. "responses": {
  1841. "200": {
  1842. "description": "OK",
  1843. "schema": {
  1844. "type": "array",
  1845. "items": {
  1846. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1847. }
  1848. }
  1849. },
  1850. "500": {
  1851. "description": "Internal Server Error",
  1852. "schema": {
  1853. "$ref": "#/definitions/app.Response"
  1854. }
  1855. }
  1856. }
  1857. }
  1858. },
  1859. "/Ermcp/QueryExposureSpot": {
  1860. "get": {
  1861. "security": [
  1862. {
  1863. "ApiKeyAuth": []
  1864. }
  1865. ],
  1866. "produces": [
  1867. "application/json"
  1868. ],
  1869. "tags": [
  1870. "企业风险管理(app)"
  1871. ],
  1872. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1873. "parameters": [
  1874. {
  1875. "type": "integer",
  1876. "description": "所属机构ID",
  1877. "name": "areaUserId",
  1878. "in": "query",
  1879. "required": true
  1880. }
  1881. ],
  1882. "responses": {
  1883. "200": {
  1884. "description": "OK",
  1885. "schema": {
  1886. "type": "array",
  1887. "items": {
  1888. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1889. }
  1890. }
  1891. },
  1892. "500": {
  1893. "description": "Internal Server Error",
  1894. "schema": {
  1895. "$ref": "#/definitions/app.Response"
  1896. }
  1897. }
  1898. }
  1899. }
  1900. },
  1901. "/Ermcp/QueryExposureSpotDetail": {
  1902. "get": {
  1903. "security": [
  1904. {
  1905. "ApiKeyAuth": []
  1906. }
  1907. ],
  1908. "produces": [
  1909. "application/json"
  1910. ],
  1911. "tags": [
  1912. "企业风险管理(app)"
  1913. ],
  1914. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1915. "parameters": [
  1916. {
  1917. "type": "integer",
  1918. "description": "所属机构ID",
  1919. "name": "areaUserId",
  1920. "in": "query",
  1921. "required": true
  1922. },
  1923. {
  1924. "type": "integer",
  1925. "description": "现货品种ID",
  1926. "name": "wrstandardId",
  1927. "in": "query",
  1928. "required": true
  1929. }
  1930. ],
  1931. "responses": {
  1932. "200": {
  1933. "description": "OK",
  1934. "schema": {
  1935. "type": "array",
  1936. "items": {
  1937. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1938. }
  1939. }
  1940. },
  1941. "500": {
  1942. "description": "Internal Server Error",
  1943. "schema": {
  1944. "$ref": "#/definitions/app.Response"
  1945. }
  1946. }
  1947. }
  1948. }
  1949. },
  1950. "/Ermcp/QueryFuturesCompany": {
  1951. "get": {
  1952. "security": [
  1953. {
  1954. "ApiKeyAuth": []
  1955. }
  1956. ],
  1957. "produces": [
  1958. "application/json"
  1959. ],
  1960. "tags": [
  1961. "企业风险管理(app)"
  1962. ],
  1963. "summary": "查询期货公司",
  1964. "responses": {
  1965. "200": {
  1966. "description": "OK",
  1967. "schema": {
  1968. "type": "array",
  1969. "items": {
  1970. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  1971. }
  1972. }
  1973. },
  1974. "500": {
  1975. "description": "Internal Server Error",
  1976. "schema": {
  1977. "$ref": "#/definitions/app.Response"
  1978. }
  1979. }
  1980. }
  1981. }
  1982. },
  1983. "/Ermcp/QueryGGConvertConfig": {
  1984. "get": {
  1985. "security": [
  1986. {
  1987. "ApiKeyAuth": []
  1988. }
  1989. ],
  1990. "produces": [
  1991. "application/json"
  1992. ],
  1993. "tags": [
  1994. "企业风险管理(app)"
  1995. ],
  1996. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1997. "parameters": [
  1998. {
  1999. "type": "integer",
  2000. "description": "品种id(不填则查所有)",
  2001. "name": "goodsgroupid",
  2002. "in": "query"
  2003. }
  2004. ],
  2005. "responses": {
  2006. "200": {
  2007. "description": "OK",
  2008. "schema": {
  2009. "type": "array",
  2010. "items": {
  2011. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2012. }
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryGoodsBrand": {
  2025. "get": {
  2026. "security": [
  2027. {
  2028. "ApiKeyAuth": []
  2029. }
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "企业风险管理(app)"
  2036. ],
  2037. "summary": "查询商品品牌",
  2038. "parameters": [
  2039. {
  2040. "type": "integer",
  2041. "description": "用户ID",
  2042. "name": "userid",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "现货商品ID",
  2049. "name": "wrstandardid",
  2050. "in": "query"
  2051. }
  2052. ],
  2053. "responses": {
  2054. "200": {
  2055. "description": "OK",
  2056. "schema": {
  2057. "type": "array",
  2058. "items": {
  2059. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2060. }
  2061. }
  2062. },
  2063. "500": {
  2064. "description": "Internal Server Error",
  2065. "schema": {
  2066. "$ref": "#/definitions/app.Response"
  2067. }
  2068. }
  2069. }
  2070. }
  2071. },
  2072. "/Ermcp/QueryGoodsModel": {
  2073. "get": {
  2074. "security": [
  2075. {
  2076. "ApiKeyAuth": []
  2077. }
  2078. ],
  2079. "produces": [
  2080. "application/json"
  2081. ],
  2082. "tags": [
  2083. "企业风险管理(app)"
  2084. ],
  2085. "summary": "查询商品型号",
  2086. "parameters": [
  2087. {
  2088. "type": "integer",
  2089. "description": "用户ID",
  2090. "name": "userid",
  2091. "in": "query",
  2092. "required": true
  2093. }
  2094. ],
  2095. "responses": {
  2096. "200": {
  2097. "description": "OK",
  2098. "schema": {
  2099. "type": "array",
  2100. "items": {
  2101. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2102. }
  2103. }
  2104. },
  2105. "500": {
  2106. "description": "Internal Server Error",
  2107. "schema": {
  2108. "$ref": "#/definitions/app.Response"
  2109. }
  2110. }
  2111. }
  2112. }
  2113. },
  2114. "/Ermcp/QueryHisExposure": {
  2115. "get": {
  2116. "security": [
  2117. {
  2118. "ApiKeyAuth": []
  2119. }
  2120. ],
  2121. "produces": [
  2122. "application/json"
  2123. ],
  2124. "tags": [
  2125. "企业风险管理(app)"
  2126. ],
  2127. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2128. "parameters": [
  2129. {
  2130. "type": "integer",
  2131. "description": "用户id",
  2132. "name": "userid",
  2133. "in": "query",
  2134. "required": true
  2135. },
  2136. {
  2137. "type": "integer",
  2138. "description": "每个品种记录数",
  2139. "name": "lastNum",
  2140. "in": "query",
  2141. "required": true
  2142. }
  2143. ],
  2144. "responses": {
  2145. "200": {
  2146. "description": "OK",
  2147. "schema": {
  2148. "type": "array",
  2149. "items": {
  2150. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2151. }
  2152. }
  2153. },
  2154. "500": {
  2155. "description": "Internal Server Error",
  2156. "schema": {
  2157. "$ref": "#/definitions/app.Response"
  2158. }
  2159. }
  2160. }
  2161. }
  2162. },
  2163. "/Ermcp/QueryMiddleGoods": {
  2164. "get": {
  2165. "security": [
  2166. {
  2167. "ApiKeyAuth": []
  2168. }
  2169. ],
  2170. "produces": [
  2171. "application/json"
  2172. ],
  2173. "tags": [
  2174. "企业风险管理(app)"
  2175. ],
  2176. "summary": "查询套保品种(菜单:套保品种)",
  2177. "parameters": [
  2178. {
  2179. "type": "integer",
  2180. "description": "所属机构ID",
  2181. "name": "userid",
  2182. "in": "query",
  2183. "required": true
  2184. },
  2185. {
  2186. "type": "integer",
  2187. "description": "状态 0-停用 1-正常",
  2188. "name": "status",
  2189. "in": "query",
  2190. "required": true
  2191. }
  2192. ],
  2193. "responses": {
  2194. "200": {
  2195. "description": "OK",
  2196. "schema": {
  2197. "type": "array",
  2198. "items": {
  2199. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2200. }
  2201. }
  2202. },
  2203. "500": {
  2204. "description": "Internal Server Error",
  2205. "schema": {
  2206. "$ref": "#/definitions/app.Response"
  2207. }
  2208. }
  2209. }
  2210. }
  2211. },
  2212. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2213. "get": {
  2214. "security": [
  2215. {
  2216. "ApiKeyAuth": []
  2217. }
  2218. ],
  2219. "produces": [
  2220. "application/json"
  2221. ],
  2222. "tags": [
  2223. "企业风险管理(app)"
  2224. ],
  2225. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2226. "parameters": [
  2227. {
  2228. "type": "integer",
  2229. "description": "所属机构ID",
  2230. "name": "userid",
  2231. "in": "query",
  2232. "required": true
  2233. },
  2234. {
  2235. "type": "integer",
  2236. "description": "套保品种id",
  2237. "name": "middlegoodsid",
  2238. "in": "query",
  2239. "required": true
  2240. }
  2241. ],
  2242. "responses": {
  2243. "200": {
  2244. "description": "OK",
  2245. "schema": {
  2246. "type": "array",
  2247. "items": {
  2248. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2249. }
  2250. }
  2251. },
  2252. "500": {
  2253. "description": "Internal Server Error",
  2254. "schema": {
  2255. "$ref": "#/definitions/app.Response"
  2256. }
  2257. }
  2258. }
  2259. }
  2260. },
  2261. "/Ermcp/QueryMiddleGoodsDetail": {
  2262. "get": {
  2263. "security": [
  2264. {
  2265. "ApiKeyAuth": []
  2266. }
  2267. ],
  2268. "produces": [
  2269. "application/json"
  2270. ],
  2271. "tags": [
  2272. "企业风险管理(app)"
  2273. ],
  2274. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2275. "parameters": [
  2276. {
  2277. "type": "integer",
  2278. "description": "所属机构ID",
  2279. "name": "userid",
  2280. "in": "query",
  2281. "required": true
  2282. },
  2283. {
  2284. "type": "integer",
  2285. "description": "套保品种id",
  2286. "name": "middlegoodsid",
  2287. "in": "query"
  2288. }
  2289. ],
  2290. "responses": {
  2291. "200": {
  2292. "description": "OK",
  2293. "schema": {
  2294. "type": "array",
  2295. "items": {
  2296. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2297. }
  2298. }
  2299. },
  2300. "500": {
  2301. "description": "Internal Server Error",
  2302. "schema": {
  2303. "$ref": "#/definitions/app.Response"
  2304. }
  2305. }
  2306. }
  2307. }
  2308. },
  2309. "/Ermcp/QueryPendingAuditInfo": {
  2310. "get": {
  2311. "security": [
  2312. {
  2313. "ApiKeyAuth": []
  2314. }
  2315. ],
  2316. "produces": [
  2317. "application/json"
  2318. ],
  2319. "tags": [
  2320. "企业风险管理(app)"
  2321. ],
  2322. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2323. "parameters": [
  2324. {
  2325. "type": "integer",
  2326. "description": "用户ID",
  2327. "name": "UserId",
  2328. "in": "query",
  2329. "required": true
  2330. }
  2331. ],
  2332. "responses": {
  2333. "200": {
  2334. "description": "OK",
  2335. "schema": {
  2336. "type": "array",
  2337. "items": {
  2338. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2339. }
  2340. }
  2341. },
  2342. "500": {
  2343. "description": "Internal Server Error",
  2344. "schema": {
  2345. "$ref": "#/definitions/app.Response"
  2346. }
  2347. }
  2348. }
  2349. }
  2350. },
  2351. "/Ermcp/QueryRealtimeExposure": {
  2352. "get": {
  2353. "security": [
  2354. {
  2355. "ApiKeyAuth": []
  2356. }
  2357. ],
  2358. "produces": [
  2359. "application/json"
  2360. ],
  2361. "tags": [
  2362. "企业风险管理(app)"
  2363. ],
  2364. "summary": "查询实时敞口",
  2365. "parameters": [
  2366. {
  2367. "type": "integer",
  2368. "description": "所属机构ID",
  2369. "name": "userid",
  2370. "in": "query",
  2371. "required": true
  2372. }
  2373. ],
  2374. "responses": {
  2375. "200": {
  2376. "description": "OK",
  2377. "schema": {
  2378. "type": "array",
  2379. "items": {
  2380. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2381. }
  2382. }
  2383. },
  2384. "500": {
  2385. "description": "Internal Server Error",
  2386. "schema": {
  2387. "$ref": "#/definitions/app.Response"
  2388. }
  2389. }
  2390. }
  2391. }
  2392. },
  2393. "/Ermcp/QueryRealtimeExposurePosition": {
  2394. "get": {
  2395. "security": [
  2396. {
  2397. "ApiKeyAuth": []
  2398. }
  2399. ],
  2400. "produces": [
  2401. "application/json"
  2402. ],
  2403. "tags": [
  2404. "企业风险管理(app)"
  2405. ],
  2406. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2407. "parameters": [
  2408. {
  2409. "type": "integer",
  2410. "description": "用户id",
  2411. "name": "userid",
  2412. "in": "query",
  2413. "required": true
  2414. },
  2415. {
  2416. "type": "integer",
  2417. "description": "套保商品ID",
  2418. "name": "middleGoodsId",
  2419. "in": "query",
  2420. "required": true
  2421. }
  2422. ],
  2423. "responses": {
  2424. "200": {
  2425. "description": "OK",
  2426. "schema": {
  2427. "type": "array",
  2428. "items": {
  2429. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2430. }
  2431. }
  2432. },
  2433. "500": {
  2434. "description": "Internal Server Error",
  2435. "schema": {
  2436. "$ref": "#/definitions/app.Response"
  2437. }
  2438. }
  2439. }
  2440. }
  2441. },
  2442. "/Ermcp/QueryTradeConfigTMP": {
  2443. "get": {
  2444. "security": [
  2445. {
  2446. "ApiKeyAuth": []
  2447. }
  2448. ],
  2449. "produces": [
  2450. "application/json"
  2451. ],
  2452. "tags": [
  2453. "企业风险管理(app)"
  2454. ],
  2455. "summary": "查询交易模板配置",
  2456. "parameters": [
  2457. {
  2458. "type": "integer",
  2459. "description": "所属机构id",
  2460. "name": "areauserid",
  2461. "in": "query"
  2462. }
  2463. ],
  2464. "responses": {
  2465. "200": {
  2466. "description": "OK",
  2467. "schema": {
  2468. "type": "array",
  2469. "items": {
  2470. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2471. }
  2472. }
  2473. },
  2474. "500": {
  2475. "description": "Internal Server Error",
  2476. "schema": {
  2477. "$ref": "#/definitions/app.Response"
  2478. }
  2479. }
  2480. }
  2481. }
  2482. },
  2483. "/Ermcp/QueryUserInfo": {
  2484. "get": {
  2485. "security": [
  2486. {
  2487. "ApiKeyAuth": []
  2488. }
  2489. ],
  2490. "produces": [
  2491. "application/json"
  2492. ],
  2493. "tags": [
  2494. "企业风险管理(app)"
  2495. ],
  2496. "summary": "查询客户资料",
  2497. "parameters": [
  2498. {
  2499. "type": "integer",
  2500. "description": "所属机构用户ID",
  2501. "name": "MemberUserID",
  2502. "in": "query",
  2503. "required": true
  2504. },
  2505. {
  2506. "type": "integer",
  2507. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2508. "name": "queryType",
  2509. "in": "query",
  2510. "required": true
  2511. }
  2512. ],
  2513. "responses": {
  2514. "200": {
  2515. "description": "OK",
  2516. "schema": {
  2517. "type": "array",
  2518. "items": {
  2519. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2520. }
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Internal Server Error",
  2525. "schema": {
  2526. "$ref": "#/definitions/app.Response"
  2527. }
  2528. }
  2529. }
  2530. }
  2531. },
  2532. "/Ermcp/QueryWarehouseInfo": {
  2533. "get": {
  2534. "security": [
  2535. {
  2536. "ApiKeyAuth": []
  2537. }
  2538. ],
  2539. "produces": [
  2540. "application/json"
  2541. ],
  2542. "tags": [
  2543. "企业风险管理(app)"
  2544. ],
  2545. "summary": "查询仓库信息",
  2546. "parameters": [
  2547. {
  2548. "type": "integer",
  2549. "description": "用户ID",
  2550. "name": "userid",
  2551. "in": "query",
  2552. "required": true
  2553. },
  2554. {
  2555. "type": "string",
  2556. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2557. "name": "status",
  2558. "in": "query"
  2559. }
  2560. ],
  2561. "responses": {
  2562. "200": {
  2563. "description": "OK",
  2564. "schema": {
  2565. "type": "array",
  2566. "items": {
  2567. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2568. }
  2569. }
  2570. },
  2571. "500": {
  2572. "description": "Internal Server Error",
  2573. "schema": {
  2574. "$ref": "#/definitions/app.Response"
  2575. }
  2576. }
  2577. }
  2578. }
  2579. },
  2580. "/Ermcp3/QryAreaExpourseContractDetail": {
  2581. "get": {
  2582. "security": [
  2583. {
  2584. "ApiKeyAuth": []
  2585. }
  2586. ],
  2587. "produces": [
  2588. "application/json"
  2589. ],
  2590. "tags": [
  2591. "企业风险管理v3(app)"
  2592. ],
  2593. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2594. "parameters": [
  2595. {
  2596. "type": "integer",
  2597. "description": "用户ID",
  2598. "name": "userid",
  2599. "in": "query",
  2600. "required": true
  2601. },
  2602. {
  2603. "type": "integer",
  2604. "description": "套保商品id",
  2605. "name": "middlegoodsid",
  2606. "in": "query",
  2607. "required": true
  2608. },
  2609. {
  2610. "type": "string",
  2611. "description": "交易日(格式yyyymmdd)",
  2612. "name": "tradedate",
  2613. "in": "query",
  2614. "required": true
  2615. }
  2616. ],
  2617. "responses": {
  2618. "200": {
  2619. "description": "OK",
  2620. "schema": {
  2621. "type": "array",
  2622. "items": {
  2623. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2624. }
  2625. }
  2626. },
  2627. "500": {
  2628. "description": "Internal Server Error",
  2629. "schema": {
  2630. "$ref": "#/definitions/app.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2637. "get": {
  2638. "security": [
  2639. {
  2640. "ApiKeyAuth": []
  2641. }
  2642. ],
  2643. "produces": [
  2644. "application/json"
  2645. ],
  2646. "tags": [
  2647. "企业风险管理v3(app)"
  2648. ],
  2649. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2650. "parameters": [
  2651. {
  2652. "type": "integer",
  2653. "description": "用户ID",
  2654. "name": "userid",
  2655. "in": "query",
  2656. "required": true
  2657. },
  2658. {
  2659. "type": "integer",
  2660. "description": "套保商品id",
  2661. "name": "middlegoodsid",
  2662. "in": "query",
  2663. "required": true
  2664. },
  2665. {
  2666. "type": "string",
  2667. "description": "交易日(格式yyyymmdd)",
  2668. "name": "tradedate",
  2669. "in": "query",
  2670. "required": true
  2671. }
  2672. ],
  2673. "responses": {
  2674. "200": {
  2675. "description": "OK",
  2676. "schema": {
  2677. "type": "array",
  2678. "items": {
  2679. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2680. }
  2681. }
  2682. },
  2683. "500": {
  2684. "description": "Internal Server Error",
  2685. "schema": {
  2686. "$ref": "#/definitions/app.Response"
  2687. }
  2688. }
  2689. }
  2690. }
  2691. },
  2692. "/Ermcp3/QryAreaExpourseReport": {
  2693. "get": {
  2694. "security": [
  2695. {
  2696. "ApiKeyAuth": []
  2697. }
  2698. ],
  2699. "produces": [
  2700. "application/json"
  2701. ],
  2702. "tags": [
  2703. "企业风险管理v3(app)"
  2704. ],
  2705. "summary": "查询敞口报表",
  2706. "parameters": [
  2707. {
  2708. "type": "integer",
  2709. "description": "用户ID",
  2710. "name": "userid",
  2711. "in": "query",
  2712. "required": true
  2713. },
  2714. {
  2715. "type": "integer",
  2716. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细",
  2717. "name": "querytype",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "string",
  2723. "description": "交易日(格式yyyymmdd)",
  2724. "name": "tradedate",
  2725. "in": "query"
  2726. },
  2727. {
  2728. "type": "integer",
  2729. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2730. "name": "cycletype",
  2731. "in": "query"
  2732. },
  2733. {
  2734. "type": "string",
  2735. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2736. "name": "cycletime",
  2737. "in": "query"
  2738. },
  2739. {
  2740. "type": "string",
  2741. "description": "开始交易日(格式yyyymmdd)",
  2742. "name": "begindate",
  2743. "in": "query"
  2744. },
  2745. {
  2746. "type": "string",
  2747. "description": "结束交易日(格式yyyymmdd)",
  2748. "name": "enddate",
  2749. "in": "query"
  2750. }
  2751. ],
  2752. "responses": {
  2753. "200": {
  2754. "description": "OK",
  2755. "schema": {
  2756. "type": "array",
  2757. "items": {
  2758. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  2759. }
  2760. }
  2761. },
  2762. "500": {
  2763. "description": "Internal Server Error",
  2764. "schema": {
  2765. "$ref": "#/definitions/app.Response"
  2766. }
  2767. }
  2768. }
  2769. }
  2770. },
  2771. "/Ermcp3/QryAreaSpotplReport": {
  2772. "get": {
  2773. "security": [
  2774. {
  2775. "ApiKeyAuth": []
  2776. }
  2777. ],
  2778. "produces": [
  2779. "application/json"
  2780. ],
  2781. "tags": [
  2782. "企业风险管理v3(app)"
  2783. ],
  2784. "summary": "查询现货报表",
  2785. "parameters": [
  2786. {
  2787. "type": "integer",
  2788. "description": "用户ID",
  2789. "name": "userid",
  2790. "in": "query",
  2791. "required": true
  2792. },
  2793. {
  2794. "type": "integer",
  2795. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细",
  2796. "name": "querytype",
  2797. "in": "query",
  2798. "required": true
  2799. },
  2800. {
  2801. "type": "string",
  2802. "description": "交易日(格式yyyymmdd)",
  2803. "name": "tradedate",
  2804. "in": "query"
  2805. },
  2806. {
  2807. "type": "integer",
  2808. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2809. "name": "cycletype",
  2810. "in": "query"
  2811. },
  2812. {
  2813. "type": "string",
  2814. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2815. "name": "cycletime",
  2816. "in": "query"
  2817. },
  2818. {
  2819. "type": "string",
  2820. "description": "开始交易日(格式yyyymmdd)",
  2821. "name": "begindate",
  2822. "in": "query"
  2823. },
  2824. {
  2825. "type": "string",
  2826. "description": "结束交易日(格式yyyymmdd)",
  2827. "name": "enddate",
  2828. "in": "query"
  2829. }
  2830. ],
  2831. "responses": {
  2832. "200": {
  2833. "description": "OK",
  2834. "schema": {
  2835. "type": "array",
  2836. "items": {
  2837. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  2838. }
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp3/QryAreaStockReport": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理v3(app)"
  2862. ],
  2863. "summary": "查询库存报表",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "用户ID",
  2868. "name": "userid",
  2869. "in": "query",
  2870. "required": true
  2871. },
  2872. {
  2873. "type": "integer",
  2874. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细",
  2875. "name": "querytype",
  2876. "in": "query",
  2877. "required": true
  2878. },
  2879. {
  2880. "type": "string",
  2881. "description": "交易日(格式yyyymmdd)",
  2882. "name": "tradedate",
  2883. "in": "query"
  2884. },
  2885. {
  2886. "type": "integer",
  2887. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2888. "name": "cycletype",
  2889. "in": "query"
  2890. },
  2891. {
  2892. "type": "string",
  2893. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2894. "name": "cycletime",
  2895. "in": "query"
  2896. },
  2897. {
  2898. "type": "string",
  2899. "description": "开始交易日(格式yyyymmdd)",
  2900. "name": "begindate",
  2901. "in": "query"
  2902. },
  2903. {
  2904. "type": "string",
  2905. "description": "结束交易日(格式yyyymmdd)",
  2906. "name": "enddate",
  2907. "in": "query"
  2908. },
  2909. {
  2910. "type": "integer",
  2911. "description": "现货商品ID",
  2912. "name": "deliverygoodsid",
  2913. "in": "query"
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "品类ID",
  2918. "name": "wrstandardid",
  2919. "in": "query"
  2920. },
  2921. {
  2922. "type": "integer",
  2923. "description": "品牌ID",
  2924. "name": "spotgoodsbrandid",
  2925. "in": "query"
  2926. },
  2927. {
  2928. "type": "integer",
  2929. "description": "仓库ID",
  2930. "name": "warehouseinfoid",
  2931. "in": "query"
  2932. }
  2933. ],
  2934. "responses": {
  2935. "200": {
  2936. "description": "OK",
  2937. "schema": {
  2938. "type": "array",
  2939. "items": {
  2940. "$ref": "#/definitions/models.Ermcp3AreaStockReport"
  2941. }
  2942. }
  2943. },
  2944. "500": {
  2945. "description": "Internal Server Error",
  2946. "schema": {
  2947. "$ref": "#/definitions/app.Response"
  2948. }
  2949. }
  2950. }
  2951. }
  2952. },
  2953. "/Ermcp3/QryAreaSumPL": {
  2954. "get": {
  2955. "security": [
  2956. {
  2957. "ApiKeyAuth": []
  2958. }
  2959. ],
  2960. "produces": [
  2961. "application/json"
  2962. ],
  2963. "tags": [
  2964. "企业风险管理v3(app)"
  2965. ],
  2966. "summary": "查询汇总损益表",
  2967. "parameters": [
  2968. {
  2969. "type": "integer",
  2970. "description": "用户ID",
  2971. "name": "userid",
  2972. "in": "query",
  2973. "required": true
  2974. },
  2975. {
  2976. "type": "integer",
  2977. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细",
  2978. "name": "querytype",
  2979. "in": "query",
  2980. "required": true
  2981. },
  2982. {
  2983. "type": "string",
  2984. "description": "交易日(格式yyyymmdd)",
  2985. "name": "tradedate",
  2986. "in": "query"
  2987. },
  2988. {
  2989. "type": "integer",
  2990. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2991. "name": "cycletype",
  2992. "in": "query"
  2993. },
  2994. {
  2995. "type": "string",
  2996. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  2997. "name": "cycletime",
  2998. "in": "query"
  2999. },
  3000. {
  3001. "type": "string",
  3002. "description": "开始交易日(格式yyyymmdd)",
  3003. "name": "begindate",
  3004. "in": "query"
  3005. },
  3006. {
  3007. "type": "string",
  3008. "description": "结束交易日(格式yyyymmdd)",
  3009. "name": "enddate",
  3010. "in": "query"
  3011. },
  3012. {
  3013. "type": "integer",
  3014. "description": "币种id(日报表明细)",
  3015. "name": "currencyid",
  3016. "in": "query"
  3017. }
  3018. ],
  3019. "responses": {
  3020. "200": {
  3021. "description": "OK",
  3022. "schema": {
  3023. "type": "array",
  3024. "items": {
  3025. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3026. }
  3027. }
  3028. },
  3029. "500": {
  3030. "description": "Internal Server Error",
  3031. "schema": {
  3032. "$ref": "#/definitions/app.Response"
  3033. }
  3034. }
  3035. }
  3036. }
  3037. },
  3038. "/Ermcp3/QryFinanceReport": {
  3039. "get": {
  3040. "security": [
  3041. {
  3042. "ApiKeyAuth": []
  3043. }
  3044. ],
  3045. "produces": [
  3046. "application/json"
  3047. ],
  3048. "tags": [
  3049. "企业风险管理v3(app)"
  3050. ],
  3051. "summary": "查询财务报表",
  3052. "parameters": [
  3053. {
  3054. "type": "integer",
  3055. "description": "用户ID",
  3056. "name": "userid",
  3057. "in": "query",
  3058. "required": true
  3059. },
  3060. {
  3061. "type": "integer",
  3062. "description": "查询类型 1-日报表 2-周期报表 3-日报表(指定时间段[开始交易日,结束交易日]) 4-日报表明细",
  3063. "name": "querytype",
  3064. "in": "query",
  3065. "required": true
  3066. },
  3067. {
  3068. "type": "string",
  3069. "description": "交易日(格式yyyymmdd)",
  3070. "name": "tradedate",
  3071. "in": "query"
  3072. },
  3073. {
  3074. "type": "integer",
  3075. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3076. "name": "cycletype",
  3077. "in": "query"
  3078. },
  3079. {
  3080. "type": "string",
  3081. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  3082. "name": "cycletime",
  3083. "in": "query"
  3084. },
  3085. {
  3086. "type": "string",
  3087. "description": "开始交易日(格式yyyymmdd)",
  3088. "name": "begindate",
  3089. "in": "query"
  3090. },
  3091. {
  3092. "type": "string",
  3093. "description": "结束交易日(格式yyyymmdd)",
  3094. "name": "enddate",
  3095. "in": "query"
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "币种id(日报表明细)",
  3100. "name": "currencyid",
  3101. "in": "query"
  3102. }
  3103. ],
  3104. "responses": {
  3105. "200": {
  3106. "description": "OK",
  3107. "schema": {
  3108. "type": "array",
  3109. "items": {
  3110. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3111. }
  3112. }
  3113. },
  3114. "500": {
  3115. "description": "Internal Server Error",
  3116. "schema": {
  3117. "$ref": "#/definitions/app.Response"
  3118. }
  3119. }
  3120. }
  3121. }
  3122. },
  3123. "/Ermcp3/QueryAreaStock": {
  3124. "get": {
  3125. "security": [
  3126. {
  3127. "ApiKeyAuth": []
  3128. }
  3129. ],
  3130. "produces": [
  3131. "application/json"
  3132. ],
  3133. "tags": [
  3134. "企业风险管理v3(app)"
  3135. ],
  3136. "summary": "查询机构库存(库存管理/当前库存)",
  3137. "parameters": [
  3138. {
  3139. "type": "integer",
  3140. "description": "用户ID",
  3141. "name": "userid",
  3142. "in": "query",
  3143. "required": true
  3144. }
  3145. ],
  3146. "responses": {
  3147. "200": {
  3148. "description": "OK",
  3149. "schema": {
  3150. "type": "array",
  3151. "items": {
  3152. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3153. }
  3154. }
  3155. },
  3156. "500": {
  3157. "description": "Internal Server Error",
  3158. "schema": {
  3159. "$ref": "#/definitions/app.Response"
  3160. }
  3161. }
  3162. }
  3163. }
  3164. },
  3165. "/Ermcp3/QueryAreaStockApply": {
  3166. "get": {
  3167. "security": [
  3168. {
  3169. "ApiKeyAuth": []
  3170. }
  3171. ],
  3172. "produces": [
  3173. "application/json"
  3174. ],
  3175. "tags": [
  3176. "企业风险管理v3(app)"
  3177. ],
  3178. "summary": "查询库存申请(出入库记录|库存审核)",
  3179. "parameters": [
  3180. {
  3181. "type": "integer",
  3182. "description": "用户ID",
  3183. "name": "userid",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "integer",
  3189. "description": "现货商品ID",
  3190. "name": "deliverygoodsid",
  3191. "in": "query"
  3192. },
  3193. {
  3194. "type": "string",
  3195. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3196. "name": "inouttype",
  3197. "in": "query"
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "合同ID",
  3202. "name": "spotcontractid",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品类ID",
  3208. "name": "wrstandardid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品牌ID",
  3214. "name": "spotgoodsbrandid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "仓库ID",
  3220. "name": "warehouseinfoid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "string",
  3225. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3226. "name": "applystatus",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QueryAreaStockApplySum": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理v3(app)"
  3261. ],
  3262. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "合同ID",
  3267. "name": "spotcontractid",
  3268. "in": "query"
  3269. }
  3270. ],
  3271. "responses": {
  3272. "200": {
  3273. "description": "OK",
  3274. "schema": {
  3275. "type": "array",
  3276. "items": {
  3277. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3278. }
  3279. }
  3280. },
  3281. "500": {
  3282. "description": "Internal Server Error",
  3283. "schema": {
  3284. "$ref": "#/definitions/app.Response"
  3285. }
  3286. }
  3287. }
  3288. }
  3289. },
  3290. "/Ermcp3/QueryDGFactoryItem": {
  3291. "get": {
  3292. "security": [
  3293. {
  3294. "ApiKeyAuth": []
  3295. }
  3296. ],
  3297. "produces": [
  3298. "application/json"
  3299. ],
  3300. "tags": [
  3301. "企业风险管理v3(app)"
  3302. ],
  3303. "summary": "查询品种要素定义项",
  3304. "parameters": [
  3305. {
  3306. "type": "integer",
  3307. "description": "用户id",
  3308. "name": "userid",
  3309. "in": "query"
  3310. },
  3311. {
  3312. "type": "integer",
  3313. "description": "用户类型 2-机构 7-企业成员",
  3314. "name": "usertype",
  3315. "in": "query"
  3316. },
  3317. {
  3318. "type": "integer",
  3319. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3320. "name": "dgfactoryitemid",
  3321. "in": "query"
  3322. },
  3323. {
  3324. "type": "integer",
  3325. "description": "现货品种ID",
  3326. "name": "deliverygoodsid",
  3327. "in": "query"
  3328. },
  3329. {
  3330. "type": "integer",
  3331. "description": "要素项类型",
  3332. "name": "dgfactoryitemtypeid",
  3333. "in": "query"
  3334. },
  3335. {
  3336. "type": "integer",
  3337. "description": "顺序",
  3338. "name": "orderindex",
  3339. "in": "query"
  3340. }
  3341. ],
  3342. "responses": {
  3343. "200": {
  3344. "description": "OK",
  3345. "schema": {
  3346. "type": "array",
  3347. "items": {
  3348. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3349. }
  3350. }
  3351. },
  3352. "500": {
  3353. "description": "Internal Server Error",
  3354. "schema": {
  3355. "$ref": "#/definitions/app.Response"
  3356. }
  3357. }
  3358. }
  3359. }
  3360. },
  3361. "/Ermcp3/QueryDeliveryGoods": {
  3362. "get": {
  3363. "security": [
  3364. {
  3365. "ApiKeyAuth": []
  3366. }
  3367. ],
  3368. "produces": [
  3369. "application/json"
  3370. ],
  3371. "tags": [
  3372. "企业风险管理v3(app)"
  3373. ],
  3374. "summary": "查询现货商品",
  3375. "parameters": [
  3376. {
  3377. "type": "integer",
  3378. "description": "用户id",
  3379. "name": "userid",
  3380. "in": "query",
  3381. "required": true
  3382. },
  3383. {
  3384. "type": "integer",
  3385. "description": "用户类型 2-机构 7-企业成员",
  3386. "name": "usertype",
  3387. "in": "query"
  3388. },
  3389. {
  3390. "type": "integer",
  3391. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3392. "name": "excludecfg",
  3393. "in": "query"
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "type": "array",
  3401. "items": {
  3402. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3403. }
  3404. }
  3405. },
  3406. "500": {
  3407. "description": "Internal Server Error",
  3408. "schema": {
  3409. "$ref": "#/definitions/app.Response"
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3416. "get": {
  3417. "security": [
  3418. {
  3419. "ApiKeyAuth": []
  3420. }
  3421. ],
  3422. "produces": [
  3423. "application/json"
  3424. ],
  3425. "tags": [
  3426. "企业风险管理v3(app)"
  3427. ],
  3428. "summary": "查询现货商品详情",
  3429. "parameters": [
  3430. {
  3431. "type": "integer",
  3432. "description": "用户id",
  3433. "name": "userid",
  3434. "in": "query",
  3435. "required": true
  3436. },
  3437. {
  3438. "type": "integer",
  3439. "description": "用户类型 2-机构 7-企业成员",
  3440. "name": "usertype",
  3441. "in": "query"
  3442. },
  3443. {
  3444. "type": "integer",
  3445. "description": "现货商品id",
  3446. "name": "deliverygoodsid",
  3447. "in": "query"
  3448. }
  3449. ],
  3450. "responses": {
  3451. "200": {
  3452. "description": "OK",
  3453. "schema": {
  3454. "type": "array",
  3455. "items": {
  3456. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3457. }
  3458. }
  3459. },
  3460. "500": {
  3461. "description": "Internal Server Error",
  3462. "schema": {
  3463. "$ref": "#/definitions/app.Response"
  3464. }
  3465. }
  3466. }
  3467. }
  3468. },
  3469. "/Ermcp3/QueryExposureDetail": {
  3470. "get": {
  3471. "security": [
  3472. {
  3473. "ApiKeyAuth": []
  3474. }
  3475. ],
  3476. "produces": [
  3477. "application/json"
  3478. ],
  3479. "tags": [
  3480. "企业风险管理v3(app)"
  3481. ],
  3482. "summary": "查询敞口现货明细",
  3483. "parameters": [
  3484. {
  3485. "type": "integer",
  3486. "description": "用户id",
  3487. "name": "userid",
  3488. "in": "query",
  3489. "required": true
  3490. },
  3491. {
  3492. "type": "integer",
  3493. "description": "用户类型 2-机构 7-企业成员",
  3494. "name": "usertype",
  3495. "in": "query"
  3496. },
  3497. {
  3498. "type": "integer",
  3499. "description": "套保商品",
  3500. "name": "middlegoodsid",
  3501. "in": "query",
  3502. "required": true
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "type": "array",
  3510. "items": {
  3511. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3512. }
  3513. }
  3514. },
  3515. "500": {
  3516. "description": "Internal Server Error",
  3517. "schema": {
  3518. "$ref": "#/definitions/app.Response"
  3519. }
  3520. }
  3521. }
  3522. }
  3523. },
  3524. "/Ermcp3/QueryExposureSpot": {
  3525. "get": {
  3526. "security": [
  3527. {
  3528. "ApiKeyAuth": []
  3529. }
  3530. ],
  3531. "produces": [
  3532. "application/json"
  3533. ],
  3534. "tags": [
  3535. "企业风险管理v3(app)"
  3536. ],
  3537. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3538. "parameters": [
  3539. {
  3540. "type": "integer",
  3541. "description": "用户id",
  3542. "name": "userid",
  3543. "in": "query",
  3544. "required": true
  3545. },
  3546. {
  3547. "type": "integer",
  3548. "description": "用户类型 2-机构 7-企业成员",
  3549. "name": "usertype",
  3550. "in": "query"
  3551. }
  3552. ],
  3553. "responses": {
  3554. "200": {
  3555. "description": "OK",
  3556. "schema": {
  3557. "type": "array",
  3558. "items": {
  3559. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3560. }
  3561. }
  3562. },
  3563. "500": {
  3564. "description": "Internal Server Error",
  3565. "schema": {
  3566. "$ref": "#/definitions/app.Response"
  3567. }
  3568. }
  3569. }
  3570. }
  3571. },
  3572. "/Ermcp3/QueryExposureSpotDetail": {
  3573. "get": {
  3574. "security": [
  3575. {
  3576. "ApiKeyAuth": []
  3577. }
  3578. ],
  3579. "produces": [
  3580. "application/json"
  3581. ],
  3582. "tags": [
  3583. "企业风险管理v3(app)"
  3584. ],
  3585. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3586. "parameters": [
  3587. {
  3588. "type": "integer",
  3589. "description": "用户id",
  3590. "name": "userid",
  3591. "in": "query",
  3592. "required": true
  3593. },
  3594. {
  3595. "type": "integer",
  3596. "description": "用户类型 2-机构 7-企业成员",
  3597. "name": "usertype",
  3598. "in": "query"
  3599. },
  3600. {
  3601. "type": "integer",
  3602. "description": "现货品种ID",
  3603. "name": "deliverygoodsid",
  3604. "in": "query",
  3605. "required": true
  3606. }
  3607. ],
  3608. "responses": {
  3609. "200": {
  3610. "description": "OK",
  3611. "schema": {
  3612. "type": "array",
  3613. "items": {
  3614. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3615. }
  3616. }
  3617. },
  3618. "500": {
  3619. "description": "Internal Server Error",
  3620. "schema": {
  3621. "$ref": "#/definitions/app.Response"
  3622. }
  3623. }
  3624. }
  3625. }
  3626. },
  3627. "/Ermcp3/QueryGoodsGroup": {
  3628. "get": {
  3629. "security": [
  3630. {
  3631. "ApiKeyAuth": []
  3632. }
  3633. ],
  3634. "produces": [
  3635. "application/json"
  3636. ],
  3637. "tags": [
  3638. "企业风险管理v3(app)"
  3639. ],
  3640. "summary": "查询期货商品组",
  3641. "parameters": [
  3642. {
  3643. "type": "integer",
  3644. "description": "用户id",
  3645. "name": "userid",
  3646. "in": "query",
  3647. "required": true
  3648. },
  3649. {
  3650. "type": "integer",
  3651. "description": "用户类型 2-机构 7-企业成员",
  3652. "name": "usertype",
  3653. "in": "query"
  3654. },
  3655. {
  3656. "type": "integer",
  3657. "description": "排除套保品中已关联的商品组 1-排除",
  3658. "name": "excludecfg",
  3659. "in": "query"
  3660. }
  3661. ],
  3662. "responses": {
  3663. "200": {
  3664. "description": "OK",
  3665. "schema": {
  3666. "type": "array",
  3667. "items": {
  3668. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3669. }
  3670. }
  3671. },
  3672. "500": {
  3673. "description": "Internal Server Error",
  3674. "schema": {
  3675. "$ref": "#/definitions/app.Response"
  3676. }
  3677. }
  3678. }
  3679. }
  3680. },
  3681. "/Ermcp3/QueryGoodsWrstandard": {
  3682. "get": {
  3683. "security": [
  3684. {
  3685. "ApiKeyAuth": []
  3686. }
  3687. ],
  3688. "produces": [
  3689. "application/json"
  3690. ],
  3691. "tags": [
  3692. "企业风险管理v3(app)"
  3693. ],
  3694. "summary": "查询商品品类",
  3695. "parameters": [
  3696. {
  3697. "type": "integer",
  3698. "description": "用户id",
  3699. "name": "userid",
  3700. "in": "query",
  3701. "required": true
  3702. },
  3703. {
  3704. "type": "integer",
  3705. "description": "用户类型 2-机构 7-企业成员",
  3706. "name": "usertype",
  3707. "in": "query"
  3708. },
  3709. {
  3710. "type": "integer",
  3711. "description": "现货商品id",
  3712. "name": "deliverygoodsid",
  3713. "in": "query"
  3714. }
  3715. ],
  3716. "responses": {
  3717. "200": {
  3718. "description": "OK",
  3719. "schema": {
  3720. "type": "array",
  3721. "items": {
  3722. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3723. }
  3724. }
  3725. },
  3726. "500": {
  3727. "description": "Internal Server Error",
  3728. "schema": {
  3729. "$ref": "#/definitions/app.Response"
  3730. }
  3731. }
  3732. }
  3733. }
  3734. },
  3735. "/Ermcp3/QueryGoodsbrand": {
  3736. "get": {
  3737. "security": [
  3738. {
  3739. "ApiKeyAuth": []
  3740. }
  3741. ],
  3742. "produces": [
  3743. "application/json"
  3744. ],
  3745. "tags": [
  3746. "企业风险管理v3(app)"
  3747. ],
  3748. "summary": "查询商品品牌",
  3749. "parameters": [
  3750. {
  3751. "type": "integer",
  3752. "description": "用户id",
  3753. "name": "userid",
  3754. "in": "query",
  3755. "required": true
  3756. },
  3757. {
  3758. "type": "integer",
  3759. "description": "用户类型 2-机构 7-企业成员",
  3760. "name": "usertype",
  3761. "in": "query"
  3762. }
  3763. ],
  3764. "responses": {
  3765. "200": {
  3766. "description": "OK",
  3767. "schema": {
  3768. "type": "array",
  3769. "items": {
  3770. "$ref": "#/definitions/models.Ermcp3Brand"
  3771. }
  3772. }
  3773. },
  3774. "500": {
  3775. "description": "Internal Server Error",
  3776. "schema": {
  3777. "$ref": "#/definitions/app.Response"
  3778. }
  3779. }
  3780. }
  3781. }
  3782. },
  3783. "/Ermcp3/QueryHedgePlan": {
  3784. "get": {
  3785. "security": [
  3786. {
  3787. "ApiKeyAuth": []
  3788. }
  3789. ],
  3790. "produces": [
  3791. "application/json"
  3792. ],
  3793. "tags": [
  3794. "企业风险管理v3(app)"
  3795. ],
  3796. "summary": "查询套保计划",
  3797. "parameters": [
  3798. {
  3799. "type": "integer",
  3800. "description": "用户ID",
  3801. "name": "userid",
  3802. "in": "query",
  3803. "required": true
  3804. },
  3805. {
  3806. "type": "integer",
  3807. "description": "用户类型 2-机构 7-企业成员",
  3808. "name": "usertype",
  3809. "in": "query"
  3810. },
  3811. {
  3812. "type": "string",
  3813. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3814. "name": "hedgeplanstatus",
  3815. "in": "query",
  3816. "required": true
  3817. }
  3818. ],
  3819. "responses": {
  3820. "200": {
  3821. "description": "OK",
  3822. "schema": {
  3823. "type": "array",
  3824. "items": {
  3825. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  3826. }
  3827. }
  3828. },
  3829. "500": {
  3830. "description": "Internal Server Error",
  3831. "schema": {
  3832. "$ref": "#/definitions/app.Response"
  3833. }
  3834. }
  3835. }
  3836. }
  3837. },
  3838. "/Ermcp3/QueryMiddleGoodsDetail": {
  3839. "get": {
  3840. "security": [
  3841. {
  3842. "ApiKeyAuth": []
  3843. }
  3844. ],
  3845. "produces": [
  3846. "application/json"
  3847. ],
  3848. "tags": [
  3849. "企业风险管理v3(app)"
  3850. ],
  3851. "summary": "查询套保品种详情(套保品种/商品详情)",
  3852. "parameters": [
  3853. {
  3854. "type": "integer",
  3855. "description": "用户id",
  3856. "name": "userid",
  3857. "in": "query",
  3858. "required": true
  3859. },
  3860. {
  3861. "type": "integer",
  3862. "description": "用户类型 2-机构 7-企业成员",
  3863. "name": "usertype",
  3864. "in": "query"
  3865. },
  3866. {
  3867. "type": "integer",
  3868. "description": "套保品种id",
  3869. "name": "middlegoodsid",
  3870. "in": "query"
  3871. }
  3872. ],
  3873. "responses": {
  3874. "200": {
  3875. "description": "OK",
  3876. "schema": {
  3877. "type": "array",
  3878. "items": {
  3879. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  3880. }
  3881. }
  3882. },
  3883. "500": {
  3884. "description": "Internal Server Error",
  3885. "schema": {
  3886. "$ref": "#/definitions/app.Response"
  3887. }
  3888. }
  3889. }
  3890. }
  3891. },
  3892. "/Ermcp3/QuerySpotContract": {
  3893. "get": {
  3894. "security": [
  3895. {
  3896. "ApiKeyAuth": []
  3897. }
  3898. ],
  3899. "produces": [
  3900. "application/json"
  3901. ],
  3902. "tags": [
  3903. "企业风险管理v3(app)"
  3904. ],
  3905. "summary": "查询现货合同",
  3906. "parameters": [
  3907. {
  3908. "type": "integer",
  3909. "description": "用户id",
  3910. "name": "userid",
  3911. "in": "query",
  3912. "required": true
  3913. },
  3914. {
  3915. "type": "integer",
  3916. "description": "用户类型 2-机构 7-企业成员",
  3917. "name": "usertype",
  3918. "in": "query"
  3919. },
  3920. {
  3921. "type": "integer",
  3922. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3923. "name": "querytype",
  3924. "in": "query",
  3925. "required": true
  3926. },
  3927. {
  3928. "type": "string",
  3929. "description": "合同ID(SpotContractId)",
  3930. "name": "contractid",
  3931. "in": "query"
  3932. }
  3933. ],
  3934. "responses": {
  3935. "200": {
  3936. "description": "OK",
  3937. "schema": {
  3938. "type": "array",
  3939. "items": {
  3940. "$ref": "#/definitions/models.Ermcp3Contract"
  3941. }
  3942. }
  3943. },
  3944. "500": {
  3945. "description": "Internal Server Error",
  3946. "schema": {
  3947. "$ref": "#/definitions/app.Response"
  3948. }
  3949. }
  3950. }
  3951. }
  3952. },
  3953. "/Ermcp3/QuerySpotContractBS": {
  3954. "get": {
  3955. "security": [
  3956. {
  3957. "ApiKeyAuth": []
  3958. }
  3959. ],
  3960. "produces": [
  3961. "application/json"
  3962. ],
  3963. "tags": [
  3964. "企业风险管理v3(app)"
  3965. ],
  3966. "summary": "查询合同(采购/销售)",
  3967. "parameters": [
  3968. {
  3969. "type": "integer",
  3970. "description": "用户id",
  3971. "name": "userid",
  3972. "in": "query",
  3973. "required": true
  3974. },
  3975. {
  3976. "type": "integer",
  3977. "description": "用户类型 2-机构 7-企业成员",
  3978. "name": "usertype",
  3979. "in": "query"
  3980. },
  3981. {
  3982. "type": "integer",
  3983. "description": "合同类型 1-采购, -1-销售",
  3984. "name": "contracttype",
  3985. "in": "query",
  3986. "required": true
  3987. },
  3988. {
  3989. "type": "integer",
  3990. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  3991. "name": "querytype",
  3992. "in": "query",
  3993. "required": true
  3994. },
  3995. {
  3996. "type": "string",
  3997. "description": "合同ID(SpotContractId)",
  3998. "name": "contractid",
  3999. "in": "query"
  4000. }
  4001. ],
  4002. "responses": {
  4003. "200": {
  4004. "description": "OK",
  4005. "schema": {
  4006. "type": "array",
  4007. "items": {
  4008. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4009. }
  4010. }
  4011. },
  4012. "500": {
  4013. "description": "Internal Server Error",
  4014. "schema": {
  4015. "$ref": "#/definitions/app.Response"
  4016. }
  4017. }
  4018. }
  4019. }
  4020. },
  4021. "/Ermcp3/QuerySpotGoodsPrice": {
  4022. "get": {
  4023. "security": [
  4024. {
  4025. "ApiKeyAuth": []
  4026. }
  4027. ],
  4028. "produces": [
  4029. "application/json"
  4030. ],
  4031. "tags": [
  4032. "企业风险管理v3(app)"
  4033. ],
  4034. "summary": "查询现货市价(现货市价)",
  4035. "parameters": [
  4036. {
  4037. "type": "integer",
  4038. "description": "用户ID",
  4039. "name": "userid",
  4040. "in": "query",
  4041. "required": true
  4042. }
  4043. ],
  4044. "responses": {
  4045. "200": {
  4046. "description": "OK",
  4047. "schema": {
  4048. "type": "array",
  4049. "items": {
  4050. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4051. }
  4052. }
  4053. },
  4054. "500": {
  4055. "description": "Internal Server Error",
  4056. "schema": {
  4057. "$ref": "#/definitions/app.Response"
  4058. }
  4059. }
  4060. }
  4061. }
  4062. },
  4063. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4064. "get": {
  4065. "security": [
  4066. {
  4067. "ApiKeyAuth": []
  4068. }
  4069. ],
  4070. "produces": [
  4071. "application/json"
  4072. ],
  4073. "tags": [
  4074. "企业风险管理v3(app)"
  4075. ],
  4076. "summary": "查询现货市价详情(现货市价/详情)",
  4077. "parameters": [
  4078. {
  4079. "type": "integer",
  4080. "description": "用户ID",
  4081. "name": "userid",
  4082. "in": "query",
  4083. "required": true
  4084. },
  4085. {
  4086. "type": "integer",
  4087. "description": "现货商品ID",
  4088. "name": "deliverygoodsid",
  4089. "in": "query",
  4090. "required": true
  4091. },
  4092. {
  4093. "type": "integer",
  4094. "description": "品牌ID",
  4095. "name": "brandid",
  4096. "in": "query"
  4097. },
  4098. {
  4099. "type": "integer",
  4100. "description": "品类ID",
  4101. "name": "wrstandardid",
  4102. "in": "query"
  4103. }
  4104. ],
  4105. "responses": {
  4106. "200": {
  4107. "description": "OK",
  4108. "schema": {
  4109. "type": "array",
  4110. "items": {
  4111. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4112. }
  4113. }
  4114. },
  4115. "500": {
  4116. "description": "Internal Server Error",
  4117. "schema": {
  4118. "$ref": "#/definitions/app.Response"
  4119. }
  4120. }
  4121. }
  4122. }
  4123. },
  4124. "/Erms2/QueryArbitrageStrategy": {
  4125. "get": {
  4126. "security": [
  4127. {
  4128. "ApiKeyAuth": []
  4129. }
  4130. ],
  4131. "produces": [
  4132. "application/json"
  4133. ],
  4134. "tags": [
  4135. "风险管理"
  4136. ],
  4137. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4138. "parameters": [
  4139. {
  4140. "type": "integer",
  4141. "description": "账户ID",
  4142. "name": "userid",
  4143. "in": "query",
  4144. "required": true
  4145. },
  4146. {
  4147. "type": "string",
  4148. "description": "商品组ID(品种ID)",
  4149. "name": "goodsgroupid",
  4150. "in": "query"
  4151. }
  4152. ],
  4153. "responses": {
  4154. "200": {
  4155. "description": "OK",
  4156. "schema": {
  4157. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4158. }
  4159. },
  4160. "500": {
  4161. "description": "Internal Server Error",
  4162. "schema": {
  4163. "$ref": "#/definitions/app.Response"
  4164. }
  4165. }
  4166. }
  4167. }
  4168. },
  4169. "/Erms2/QueryInnerTradeDetail": {
  4170. "get": {
  4171. "security": [
  4172. {
  4173. "ApiKeyAuth": []
  4174. }
  4175. ],
  4176. "produces": [
  4177. "application/json"
  4178. ],
  4179. "tags": [
  4180. "风险管理"
  4181. ],
  4182. "summary": "查询内部成交单信息",
  4183. "parameters": [
  4184. {
  4185. "type": "integer",
  4186. "description": "资金账户",
  4187. "name": "accountid",
  4188. "in": "query",
  4189. "required": true
  4190. }
  4191. ],
  4192. "responses": {
  4193. "200": {
  4194. "description": "OK",
  4195. "schema": {
  4196. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4197. }
  4198. },
  4199. "500": {
  4200. "description": "Internal Server Error",
  4201. "schema": {
  4202. "$ref": "#/definitions/app.Response"
  4203. }
  4204. }
  4205. }
  4206. }
  4207. },
  4208. "/Erms2/QuerySpotContract": {
  4209. "get": {
  4210. "security": [
  4211. {
  4212. "ApiKeyAuth": []
  4213. }
  4214. ],
  4215. "produces": [
  4216. "application/json"
  4217. ],
  4218. "tags": [
  4219. "风险管理"
  4220. ],
  4221. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4222. "parameters": [
  4223. {
  4224. "type": "integer",
  4225. "description": "策略申请ID",
  4226. "name": "asapplyid",
  4227. "in": "query",
  4228. "required": true
  4229. },
  4230. {
  4231. "type": "integer",
  4232. "description": "现货合同ID",
  4233. "name": "spotcontractid",
  4234. "in": "query"
  4235. }
  4236. ],
  4237. "responses": {
  4238. "200": {
  4239. "description": "OK",
  4240. "schema": {
  4241. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4242. }
  4243. },
  4244. "500": {
  4245. "description": "Internal Server Error",
  4246. "schema": {
  4247. "$ref": "#/definitions/app.Response"
  4248. }
  4249. }
  4250. }
  4251. }
  4252. },
  4253. "/Erms3/AddErms2ASApply": {
  4254. "post": {
  4255. "security": [
  4256. {
  4257. "ApiKeyAuth": []
  4258. }
  4259. ],
  4260. "produces": [
  4261. "application/json"
  4262. ],
  4263. "tags": [
  4264. "风险管理v3"
  4265. ],
  4266. "summary": "新增期现套利业务申请",
  4267. "parameters": [
  4268. {
  4269. "description": "申请参数",
  4270. "name": "jsonBody",
  4271. "in": "body",
  4272. "required": true,
  4273. "schema": {
  4274. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4275. }
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "$ref": "#/definitions/app.Response"
  4283. }
  4284. },
  4285. "500": {
  4286. "description": "Internal Server Error",
  4287. "schema": {
  4288. "$ref": "#/definitions/app.Response"
  4289. }
  4290. }
  4291. }
  4292. }
  4293. },
  4294. "/Erms3/AddErms2SpotTradeApply": {
  4295. "post": {
  4296. "security": [
  4297. {
  4298. "ApiKeyAuth": []
  4299. }
  4300. ],
  4301. "produces": [
  4302. "application/json"
  4303. ],
  4304. "tags": [
  4305. "风险管理v3"
  4306. ],
  4307. "summary": "新增现货贸易业务申请",
  4308. "parameters": [
  4309. {
  4310. "description": "申请参数",
  4311. "name": "jsonBody",
  4312. "in": "body",
  4313. "required": true,
  4314. "schema": {
  4315. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4316. }
  4317. }
  4318. ],
  4319. "responses": {
  4320. "200": {
  4321. "description": "OK",
  4322. "schema": {
  4323. "$ref": "#/definitions/app.Response"
  4324. }
  4325. },
  4326. "500": {
  4327. "description": "Internal Server Error",
  4328. "schema": {
  4329. "$ref": "#/definitions/app.Response"
  4330. }
  4331. }
  4332. }
  4333. }
  4334. },
  4335. "/Erms3/AddSpotContractApply": {
  4336. "post": {
  4337. "security": [
  4338. {
  4339. "ApiKeyAuth": []
  4340. }
  4341. ],
  4342. "produces": [
  4343. "application/json"
  4344. ],
  4345. "tags": [
  4346. "风险管理v3"
  4347. ],
  4348. "summary": "新增现货合同申请",
  4349. "parameters": [
  4350. {
  4351. "description": "申请参数",
  4352. "name": "jsonBody",
  4353. "in": "body",
  4354. "required": true,
  4355. "schema": {
  4356. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4357. }
  4358. }
  4359. ],
  4360. "responses": {
  4361. "200": {
  4362. "description": "OK",
  4363. "schema": {
  4364. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4365. }
  4366. },
  4367. "500": {
  4368. "description": "Internal Server Error",
  4369. "schema": {
  4370. "$ref": "#/definitions/app.Response"
  4371. }
  4372. }
  4373. }
  4374. }
  4375. },
  4376. "/Erms3/AddUserInfoApply": {
  4377. "post": {
  4378. "security": [
  4379. {
  4380. "ApiKeyAuth": []
  4381. }
  4382. ],
  4383. "produces": [
  4384. "application/json"
  4385. ],
  4386. "tags": [
  4387. "风险管理v3"
  4388. ],
  4389. "summary": "新增客户申请",
  4390. "parameters": [
  4391. {
  4392. "description": "用户信息",
  4393. "name": "jsonBody",
  4394. "in": "body",
  4395. "required": true,
  4396. "schema": {
  4397. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4398. }
  4399. }
  4400. ],
  4401. "responses": {
  4402. "200": {
  4403. "description": "OK",
  4404. "schema": {
  4405. "$ref": "#/definitions/app.Response"
  4406. }
  4407. },
  4408. "500": {
  4409. "description": "Internal Server Error",
  4410. "schema": {
  4411. "$ref": "#/definitions/app.Response"
  4412. }
  4413. }
  4414. }
  4415. }
  4416. },
  4417. "/Erms3/DeleteUserInfoApply": {
  4418. "get": {
  4419. "security": [
  4420. {
  4421. "ApiKeyAuth": []
  4422. }
  4423. ],
  4424. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4425. "produces": [
  4426. "application/json"
  4427. ],
  4428. "tags": [
  4429. "风险管理v3"
  4430. ],
  4431. "summary": "删除客户申请",
  4432. "parameters": [
  4433. {
  4434. "type": "integer",
  4435. "description": "用户ID",
  4436. "name": "userID",
  4437. "in": "query",
  4438. "required": true
  4439. }
  4440. ],
  4441. "responses": {
  4442. "200": {
  4443. "description": "OK",
  4444. "schema": {
  4445. "$ref": "#/definitions/app.Response"
  4446. }
  4447. },
  4448. "500": {
  4449. "description": "Internal Server Error",
  4450. "schema": {
  4451. "$ref": "#/definitions/app.Response"
  4452. }
  4453. }
  4454. }
  4455. }
  4456. },
  4457. "/Erms3/ModifyUserInfoApply": {
  4458. "post": {
  4459. "security": [
  4460. {
  4461. "ApiKeyAuth": []
  4462. }
  4463. ],
  4464. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "风险管理v3"
  4470. ],
  4471. "summary": "修改客户申请",
  4472. "parameters": [
  4473. {
  4474. "description": "用户信息",
  4475. "name": "jsonBody",
  4476. "in": "body",
  4477. "required": true,
  4478. "schema": {
  4479. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4480. }
  4481. }
  4482. ],
  4483. "responses": {
  4484. "200": {
  4485. "description": "OK",
  4486. "schema": {
  4487. "$ref": "#/definitions/app.Response"
  4488. }
  4489. },
  4490. "500": {
  4491. "description": "Internal Server Error",
  4492. "schema": {
  4493. "$ref": "#/definitions/app.Response"
  4494. }
  4495. }
  4496. }
  4497. }
  4498. },
  4499. "/Erms3/QueryBusinessInfo": {
  4500. "get": {
  4501. "security": [
  4502. {
  4503. "ApiKeyAuth": []
  4504. }
  4505. ],
  4506. "produces": [
  4507. "application/json"
  4508. ],
  4509. "tags": [
  4510. "风险管理v3"
  4511. ],
  4512. "summary": "查询业务表单数据",
  4513. "parameters": [
  4514. {
  4515. "type": "string",
  4516. "description": "资金账号ID列表,用逗号分隔",
  4517. "name": "accountids",
  4518. "in": "query",
  4519. "required": true
  4520. },
  4521. {
  4522. "type": "integer",
  4523. "description": "状态,0为未结束 1为已结束",
  4524. "name": "status",
  4525. "in": "query",
  4526. "required": true
  4527. }
  4528. ],
  4529. "responses": {
  4530. "200": {
  4531. "description": "OK",
  4532. "schema": {
  4533. "type": "array",
  4534. "items": {
  4535. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4536. }
  4537. }
  4538. },
  4539. "500": {
  4540. "description": "Internal Server Error",
  4541. "schema": {
  4542. "$ref": "#/definitions/app.Response"
  4543. }
  4544. }
  4545. }
  4546. }
  4547. },
  4548. "/Erms3/QueryPendingAuditContract": {
  4549. "get": {
  4550. "security": [
  4551. {
  4552. "ApiKeyAuth": []
  4553. }
  4554. ],
  4555. "produces": [
  4556. "application/json"
  4557. ],
  4558. "tags": [
  4559. "风险管理v3"
  4560. ],
  4561. "summary": "查询待审核合同",
  4562. "parameters": [
  4563. {
  4564. "type": "string",
  4565. "description": "资金账号ID列表,逗号隔开",
  4566. "name": "accountids",
  4567. "in": "query",
  4568. "required": true
  4569. },
  4570. {
  4571. "type": "integer",
  4572. "description": "合同类型 1-采购 -1-销售",
  4573. "name": "contracttype",
  4574. "in": "query",
  4575. "required": true
  4576. },
  4577. {
  4578. "type": "integer",
  4579. "description": "合同模式 1-普通 2-回购",
  4580. "name": "contractmode",
  4581. "in": "query",
  4582. "required": true
  4583. }
  4584. ],
  4585. "responses": {
  4586. "200": {
  4587. "description": "OK",
  4588. "schema": {
  4589. "type": "array",
  4590. "items": {
  4591. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4592. }
  4593. }
  4594. },
  4595. "500": {
  4596. "description": "Internal Server Error",
  4597. "schema": {
  4598. "$ref": "#/definitions/app.Response"
  4599. }
  4600. }
  4601. }
  4602. }
  4603. },
  4604. "/Erms3/QueryPendingBusiness": {
  4605. "get": {
  4606. "security": [
  4607. {
  4608. "ApiKeyAuth": []
  4609. }
  4610. ],
  4611. "produces": [
  4612. "application/json"
  4613. ],
  4614. "tags": [
  4615. "风险管理v3"
  4616. ],
  4617. "summary": "查询待审核基差贸易业务",
  4618. "parameters": [
  4619. {
  4620. "type": "string",
  4621. "description": "资金账号ID列表,逗号隔开",
  4622. "name": "accountids",
  4623. "in": "query",
  4624. "required": true
  4625. }
  4626. ],
  4627. "responses": {
  4628. "200": {
  4629. "description": "OK",
  4630. "schema": {
  4631. "type": "array",
  4632. "items": {
  4633. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4634. }
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/Erms3/QuerySpotContractAppleForm": {
  4647. "get": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "produces": [
  4654. "application/json"
  4655. ],
  4656. "tags": [
  4657. "风险管理v3"
  4658. ],
  4659. "summary": "查询合同申请表单数据",
  4660. "parameters": [
  4661. {
  4662. "type": "integer",
  4663. "description": "登录账号",
  4664. "name": "loginID",
  4665. "in": "query",
  4666. "required": true
  4667. }
  4668. ],
  4669. "responses": {
  4670. "200": {
  4671. "description": "OK",
  4672. "schema": {
  4673. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4674. }
  4675. },
  4676. "500": {
  4677. "description": "Internal Server Error",
  4678. "schema": {
  4679. "$ref": "#/definitions/app.Response"
  4680. }
  4681. }
  4682. }
  4683. }
  4684. },
  4685. "/Erms3/QuerySpotContractDetail": {
  4686. "get": {
  4687. "security": [
  4688. {
  4689. "ApiKeyAuth": []
  4690. }
  4691. ],
  4692. "produces": [
  4693. "application/json"
  4694. ],
  4695. "tags": [
  4696. "风险管理v3"
  4697. ],
  4698. "summary": "查询合同详细信息",
  4699. "parameters": [
  4700. {
  4701. "type": "string",
  4702. "description": "资金账号ID列表,用逗号分隔",
  4703. "name": "accountids",
  4704. "in": "query",
  4705. "required": true
  4706. },
  4707. {
  4708. "type": "integer",
  4709. "description": "合同类型,1为采购合同 -1为销售合同",
  4710. "name": "contracttype",
  4711. "in": "query",
  4712. "required": true
  4713. },
  4714. {
  4715. "type": "integer",
  4716. "description": "合同模式,1为普通合同 2为回购销售合同",
  4717. "name": "contractmode",
  4718. "in": "query",
  4719. "required": true
  4720. },
  4721. {
  4722. "type": "integer",
  4723. "description": "状态,0为履约中 1为已完成",
  4724. "name": "status",
  4725. "in": "query",
  4726. "required": true
  4727. }
  4728. ],
  4729. "responses": {
  4730. "200": {
  4731. "description": "OK",
  4732. "schema": {
  4733. "type": "array",
  4734. "items": {
  4735. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4736. }
  4737. }
  4738. },
  4739. "500": {
  4740. "description": "Internal Server Error",
  4741. "schema": {
  4742. "$ref": "#/definitions/app.Response"
  4743. }
  4744. }
  4745. }
  4746. }
  4747. },
  4748. "/Erms3/QueryUserInfoApplies": {
  4749. "get": {
  4750. "security": [
  4751. {
  4752. "ApiKeyAuth": []
  4753. }
  4754. ],
  4755. "produces": [
  4756. "application/json"
  4757. ],
  4758. "tags": [
  4759. "风险管理v3"
  4760. ],
  4761. "summary": "客户申请信息查询",
  4762. "parameters": [
  4763. {
  4764. "type": "integer",
  4765. "description": "页码",
  4766. "name": "page",
  4767. "in": "query"
  4768. },
  4769. {
  4770. "type": "integer",
  4771. "description": "每页条数",
  4772. "name": "pagesize",
  4773. "in": "query"
  4774. },
  4775. {
  4776. "type": "string",
  4777. "description": "客户名称,支持模糊查询",
  4778. "name": "userName",
  4779. "in": "query"
  4780. }
  4781. ],
  4782. "responses": {
  4783. "200": {
  4784. "description": "OK",
  4785. "schema": {
  4786. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4787. }
  4788. },
  4789. "500": {
  4790. "description": "Internal Server Error",
  4791. "schema": {
  4792. "$ref": "#/definitions/app.Response"
  4793. }
  4794. }
  4795. }
  4796. }
  4797. },
  4798. "/Erms3/QueryUserInfos": {
  4799. "get": {
  4800. "security": [
  4801. {
  4802. "ApiKeyAuth": []
  4803. }
  4804. ],
  4805. "produces": [
  4806. "application/json"
  4807. ],
  4808. "tags": [
  4809. "风险管理v3"
  4810. ],
  4811. "summary": "客户信息查询",
  4812. "parameters": [
  4813. {
  4814. "type": "integer",
  4815. "description": "页码",
  4816. "name": "page",
  4817. "in": "query"
  4818. },
  4819. {
  4820. "type": "integer",
  4821. "description": "每页条数",
  4822. "name": "pagesize",
  4823. "in": "query"
  4824. },
  4825. {
  4826. "type": "string",
  4827. "description": "客户名称,支持模糊查询",
  4828. "name": "userName",
  4829. "in": "query"
  4830. }
  4831. ],
  4832. "responses": {
  4833. "200": {
  4834. "description": "OK",
  4835. "schema": {
  4836. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4837. }
  4838. },
  4839. "500": {
  4840. "description": "Internal Server Error",
  4841. "schema": {
  4842. "$ref": "#/definitions/app.Response"
  4843. }
  4844. }
  4845. }
  4846. }
  4847. },
  4848. "/HSBY/GetHsbyMyCount": {
  4849. "get": {
  4850. "security": [
  4851. {
  4852. "ApiKeyAuth": []
  4853. }
  4854. ],
  4855. "description": "说明: 不包括已完成的数量。",
  4856. "produces": [
  4857. "application/json"
  4858. ],
  4859. "tags": [
  4860. "定制【海商报业】"
  4861. ],
  4862. "summary": "获取我的订单与包裹数量",
  4863. "parameters": [
  4864. {
  4865. "type": "string",
  4866. "description": "资金账户列表,格式:1,2,3",
  4867. "name": "accountIDs",
  4868. "in": "query",
  4869. "required": true
  4870. }
  4871. ],
  4872. "responses": {
  4873. "200": {
  4874. "description": "OK",
  4875. "schema": {
  4876. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4877. }
  4878. },
  4879. "500": {
  4880. "description": "Internal Server Error",
  4881. "schema": {
  4882. "$ref": "#/definitions/app.Response"
  4883. }
  4884. }
  4885. }
  4886. }
  4887. },
  4888. "/HSBY/QueryClientFixedADConfigs": {
  4889. "get": {
  4890. "security": [
  4891. {
  4892. "ApiKeyAuth": []
  4893. }
  4894. ],
  4895. "produces": [
  4896. "application/json"
  4897. ],
  4898. "tags": [
  4899. "定制【海商报业】"
  4900. ],
  4901. "summary": "获取终端固定广告配置",
  4902. "responses": {
  4903. "200": {
  4904. "description": "OK",
  4905. "schema": {
  4906. "$ref": "#/definitions/models.Clientfixedadconfig"
  4907. }
  4908. },
  4909. "500": {
  4910. "description": "Internal Server Error",
  4911. "schema": {
  4912. "$ref": "#/definitions/app.Response"
  4913. }
  4914. }
  4915. }
  4916. }
  4917. },
  4918. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4919. "get": {
  4920. "security": [
  4921. {
  4922. "ApiKeyAuth": []
  4923. }
  4924. ],
  4925. "produces": [
  4926. "application/json"
  4927. ],
  4928. "tags": [
  4929. "定制【海商报业】"
  4930. ],
  4931. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4932. "parameters": [
  4933. {
  4934. "type": "integer",
  4935. "description": "页码",
  4936. "name": "page",
  4937. "in": "query"
  4938. },
  4939. {
  4940. "type": "integer",
  4941. "description": "每页条数",
  4942. "name": "pagesize",
  4943. "in": "query"
  4944. },
  4945. {
  4946. "type": "string",
  4947. "description": "资金账户列表,格式:1,2,3",
  4948. "name": "accountIDs",
  4949. "in": "query",
  4950. "required": true
  4951. }
  4952. ],
  4953. "responses": {
  4954. "200": {
  4955. "description": "OK",
  4956. "schema": {
  4957. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4958. }
  4959. },
  4960. "500": {
  4961. "description": "Internal Server Error",
  4962. "schema": {
  4963. "$ref": "#/definitions/app.Response"
  4964. }
  4965. }
  4966. }
  4967. }
  4968. },
  4969. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4970. "get": {
  4971. "security": [
  4972. {
  4973. "ApiKeyAuth": []
  4974. }
  4975. ],
  4976. "description": "说明:查询结果已按委托价格和委托时间排序",
  4977. "produces": [
  4978. "application/json"
  4979. ],
  4980. "tags": [
  4981. "定制【海商报业】"
  4982. ],
  4983. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4984. "parameters": [
  4985. {
  4986. "type": "integer",
  4987. "description": "商品ID",
  4988. "name": "goodsID",
  4989. "in": "query",
  4990. "required": true
  4991. },
  4992. {
  4993. "type": "string",
  4994. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4995. "name": "accountIDs",
  4996. "in": "query"
  4997. },
  4998. {
  4999. "type": "integer",
  5000. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5001. "name": "buyOrSell",
  5002. "in": "query"
  5003. },
  5004. {
  5005. "type": "number",
  5006. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5007. "name": "price",
  5008. "in": "query"
  5009. },
  5010. {
  5011. "type": "integer",
  5012. "description": "档位,不传则默认为3档",
  5013. "name": "speed",
  5014. "in": "query"
  5015. }
  5016. ],
  5017. "responses": {
  5018. "200": {
  5019. "description": "OK",
  5020. "schema": {
  5021. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5022. }
  5023. },
  5024. "500": {
  5025. "description": "Internal Server Error",
  5026. "schema": {
  5027. "$ref": "#/definitions/app.Response"
  5028. }
  5029. }
  5030. }
  5031. }
  5032. },
  5033. "/HSBY/QueryHsbyListingGoodsDetail": {
  5034. "get": {
  5035. "security": [
  5036. {
  5037. "ApiKeyAuth": []
  5038. }
  5039. ],
  5040. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5041. "produces": [
  5042. "application/json"
  5043. ],
  5044. "tags": [
  5045. "定制【海商报业】"
  5046. ],
  5047. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5048. "parameters": [
  5049. {
  5050. "type": "integer",
  5051. "description": "商品ID",
  5052. "name": "goodsID",
  5053. "in": "query",
  5054. "required": true
  5055. },
  5056. {
  5057. "type": "integer",
  5058. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5059. "name": "accountID",
  5060. "in": "query"
  5061. }
  5062. ],
  5063. "responses": {
  5064. "200": {
  5065. "description": "OK",
  5066. "schema": {
  5067. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5068. }
  5069. },
  5070. "500": {
  5071. "description": "Internal Server Error",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. }
  5076. }
  5077. }
  5078. },
  5079. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5080. "get": {
  5081. "security": [
  5082. {
  5083. "ApiKeyAuth": []
  5084. }
  5085. ],
  5086. "produces": [
  5087. "application/json"
  5088. ],
  5089. "tags": [
  5090. "定制【海商报业】"
  5091. ],
  5092. "summary": "查询三级市场(商城)商品信息详情",
  5093. "parameters": [
  5094. {
  5095. "type": "integer",
  5096. "description": "委托单号",
  5097. "name": "orderID",
  5098. "in": "query",
  5099. "required": true
  5100. },
  5101. {
  5102. "type": "integer",
  5103. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5104. "name": "accountID",
  5105. "in": "query"
  5106. }
  5107. ],
  5108. "responses": {
  5109. "200": {
  5110. "description": "OK",
  5111. "schema": {
  5112. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/HSBY/QueryHsbyMarketGoodses": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "produces": [
  5132. "application/json"
  5133. ],
  5134. "tags": [
  5135. "定制【海商报业】"
  5136. ],
  5137. "summary": "查询特卖商品列表(三级商城)",
  5138. "parameters": [
  5139. {
  5140. "type": "integer",
  5141. "description": "页码",
  5142. "name": "page",
  5143. "in": "query"
  5144. },
  5145. {
  5146. "type": "integer",
  5147. "description": "每页条数",
  5148. "name": "pagesize",
  5149. "in": "query"
  5150. },
  5151. {
  5152. "type": "string",
  5153. "description": "市场ID列表,格式:1,2,3",
  5154. "name": "marketIDs",
  5155. "in": "query",
  5156. "required": true
  5157. },
  5158. {
  5159. "type": "integer",
  5160. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5161. "name": "accountID",
  5162. "in": "query",
  5163. "required": true
  5164. },
  5165. {
  5166. "type": "integer",
  5167. "description": "类别ID",
  5168. "name": "categoryID",
  5169. "in": "query"
  5170. },
  5171. {
  5172. "type": "string",
  5173. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5174. "name": "goodsIDs",
  5175. "in": "query"
  5176. },
  5177. {
  5178. "type": "integer",
  5179. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5180. "name": "couponTypeID",
  5181. "in": "query"
  5182. }
  5183. ],
  5184. "responses": {
  5185. "200": {
  5186. "description": "OK",
  5187. "schema": {
  5188. "$ref": "#/definitions/models.HsbyMarketGoods"
  5189. }
  5190. },
  5191. "500": {
  5192. "description": "Internal Server Error",
  5193. "schema": {
  5194. "$ref": "#/definitions/app.Response"
  5195. }
  5196. }
  5197. }
  5198. }
  5199. },
  5200. "/HSBY/QueryHsbyMarkets": {
  5201. "get": {
  5202. "security": [
  5203. {
  5204. "ApiKeyAuth": []
  5205. }
  5206. ],
  5207. "produces": [
  5208. "application/json"
  5209. ],
  5210. "tags": [
  5211. "定制【海商报业】"
  5212. ],
  5213. "summary": "查询海商报业相关市场信息",
  5214. "responses": {
  5215. "200": {
  5216. "description": "OK",
  5217. "schema": {
  5218. "$ref": "#/definitions/models.HsbyMarketInfo"
  5219. }
  5220. },
  5221. "500": {
  5222. "description": "Internal Server Error",
  5223. "schema": {
  5224. "$ref": "#/definitions/app.Response"
  5225. }
  5226. }
  5227. }
  5228. }
  5229. },
  5230. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5231. "get": {
  5232. "security": [
  5233. {
  5234. "ApiKeyAuth": []
  5235. }
  5236. ],
  5237. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5238. "produces": [
  5239. "application/json"
  5240. ],
  5241. "tags": [
  5242. "定制【海商报业】"
  5243. ],
  5244. "summary": "查询“我的订单”信息",
  5245. "parameters": [
  5246. {
  5247. "type": "string",
  5248. "description": "资金账户列表,格式:1,2,3",
  5249. "name": "accountIDs",
  5250. "in": "query",
  5251. "required": true
  5252. }
  5253. ],
  5254. "responses": {
  5255. "200": {
  5256. "description": "OK",
  5257. "schema": {
  5258. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5259. }
  5260. },
  5261. "500": {
  5262. "description": "Internal Server Error",
  5263. "schema": {
  5264. "$ref": "#/definitions/app.Response"
  5265. }
  5266. }
  5267. }
  5268. }
  5269. },
  5270. "/HSBY/QueryHsbyMyGoods": {
  5271. "get": {
  5272. "security": [
  5273. {
  5274. "ApiKeyAuth": []
  5275. }
  5276. ],
  5277. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5278. "produces": [
  5279. "application/json"
  5280. ],
  5281. "tags": [
  5282. "定制【海商报业】"
  5283. ],
  5284. "summary": "查询“我的商品”信息",
  5285. "parameters": [
  5286. {
  5287. "type": "string",
  5288. "description": "资金账户列表,格式:1,2,3",
  5289. "name": "accountIDs",
  5290. "in": "query",
  5291. "required": true
  5292. }
  5293. ],
  5294. "responses": {
  5295. "200": {
  5296. "description": "OK",
  5297. "schema": {
  5298. "$ref": "#/definitions/models.HsbyMyGoods"
  5299. }
  5300. },
  5301. "500": {
  5302. "description": "Internal Server Error",
  5303. "schema": {
  5304. "$ref": "#/definitions/app.Response"
  5305. }
  5306. }
  5307. }
  5308. }
  5309. },
  5310. "/HSBY/QueryHsbyMyPackages": {
  5311. "get": {
  5312. "security": [
  5313. {
  5314. "ApiKeyAuth": []
  5315. }
  5316. ],
  5317. "produces": [
  5318. "application/json"
  5319. ],
  5320. "tags": [
  5321. "定制【海商报业】"
  5322. ],
  5323. "summary": "查询我的包裹信息",
  5324. "parameters": [
  5325. {
  5326. "type": "string",
  5327. "description": "资金账户列表,格式:1,2,3",
  5328. "name": "accountIDs",
  5329. "in": "query",
  5330. "required": true
  5331. },
  5332. {
  5333. "type": "integer",
  5334. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5335. "name": "takeOrderStatus",
  5336. "in": "query"
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "$ref": "#/definitions/models.HsbyMyPackage"
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/HSBY/QueryHsbyPreGoodsDetail": {
  5356. "get": {
  5357. "security": [
  5358. {
  5359. "ApiKeyAuth": []
  5360. }
  5361. ],
  5362. "produces": [
  5363. "application/json"
  5364. ],
  5365. "tags": [
  5366. "定制【海商报业】"
  5367. ],
  5368. "summary": "查询一级市场(预售)商品信息详情",
  5369. "parameters": [
  5370. {
  5371. "type": "integer",
  5372. "description": "商品ID",
  5373. "name": "goodsID",
  5374. "in": "query",
  5375. "required": true
  5376. },
  5377. {
  5378. "type": "integer",
  5379. "description": "资金账户,主要用于获取预售商品购买上限",
  5380. "name": "accountID",
  5381. "in": "query"
  5382. }
  5383. ],
  5384. "responses": {
  5385. "200": {
  5386. "description": "OK",
  5387. "schema": {
  5388. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5389. }
  5390. },
  5391. "500": {
  5392. "description": "Internal Server Error",
  5393. "schema": {
  5394. "$ref": "#/definitions/app.Response"
  5395. }
  5396. }
  5397. }
  5398. }
  5399. },
  5400. "/HSBY/QueryHsbyPreGoodses": {
  5401. "get": {
  5402. "security": [
  5403. {
  5404. "ApiKeyAuth": []
  5405. }
  5406. ],
  5407. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5408. "produces": [
  5409. "application/json"
  5410. ],
  5411. "tags": [
  5412. "定制【海商报业】"
  5413. ],
  5414. "summary": "查询新品上市商品列表(一级市场预售)",
  5415. "parameters": [
  5416. {
  5417. "type": "integer",
  5418. "description": "页码",
  5419. "name": "page",
  5420. "in": "query"
  5421. },
  5422. {
  5423. "type": "integer",
  5424. "description": "每页条数",
  5425. "name": "pagesize",
  5426. "in": "query"
  5427. },
  5428. {
  5429. "type": "string",
  5430. "description": "市场ID列表,格式:1,2,3",
  5431. "name": "marketIDs",
  5432. "in": "query",
  5433. "required": true
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "目的地(省)ID",
  5438. "name": "descProvinceID",
  5439. "in": "query"
  5440. },
  5441. {
  5442. "type": "integer",
  5443. "description": "目的地(市)ID",
  5444. "name": "descCityID",
  5445. "in": "query"
  5446. }
  5447. ],
  5448. "responses": {
  5449. "200": {
  5450. "description": "OK",
  5451. "schema": {
  5452. "$ref": "#/definitions/models.HsbyPreGoods"
  5453. }
  5454. },
  5455. "500": {
  5456. "description": "Internal Server Error",
  5457. "schema": {
  5458. "$ref": "#/definitions/app.Response"
  5459. }
  5460. }
  5461. }
  5462. }
  5463. },
  5464. "/HSBY/QueryHsbySellMyDetails": {
  5465. "get": {
  5466. "security": [
  5467. {
  5468. "ApiKeyAuth": []
  5469. }
  5470. ],
  5471. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5472. "produces": [
  5473. "application/json"
  5474. ],
  5475. "tags": [
  5476. "定制【海商报业】"
  5477. ],
  5478. "summary": "查询\"我的闲置\"单据信息",
  5479. "parameters": [
  5480. {
  5481. "type": "integer",
  5482. "description": "页码",
  5483. "name": "page",
  5484. "in": "query"
  5485. },
  5486. {
  5487. "type": "integer",
  5488. "description": "每页条数",
  5489. "name": "pagesize",
  5490. "in": "query"
  5491. },
  5492. {
  5493. "type": "string",
  5494. "description": "资金账户列表,格式:1,2,3",
  5495. "name": "accountIDs",
  5496. "in": "query",
  5497. "required": true
  5498. },
  5499. {
  5500. "type": "integer",
  5501. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5502. "name": "orderType",
  5503. "in": "query"
  5504. }
  5505. ],
  5506. "responses": {
  5507. "200": {
  5508. "description": "OK",
  5509. "schema": {
  5510. "$ref": "#/definitions/models.HsbySellMyDetail"
  5511. }
  5512. },
  5513. "500": {
  5514. "description": "Internal Server Error",
  5515. "schema": {
  5516. "$ref": "#/definitions/app.Response"
  5517. }
  5518. }
  5519. }
  5520. }
  5521. },
  5522. "/HSBY/QueryHsbyTopGoodses": {
  5523. "get": {
  5524. "security": [
  5525. {
  5526. "ApiKeyAuth": []
  5527. }
  5528. ],
  5529. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5530. "produces": [
  5531. "application/json"
  5532. ],
  5533. "tags": [
  5534. "定制【海商报业】"
  5535. ],
  5536. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5537. "parameters": [
  5538. {
  5539. "type": "integer",
  5540. "description": "页码",
  5541. "name": "page",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "integer",
  5546. "description": "每页条数",
  5547. "name": "pagesize",
  5548. "in": "query"
  5549. },
  5550. {
  5551. "type": "string",
  5552. "description": "市场ID列表,格式:1,2,3",
  5553. "name": "marketIDs",
  5554. "in": "query",
  5555. "required": true
  5556. },
  5557. {
  5558. "type": "integer",
  5559. "description": "目的地(省)ID",
  5560. "name": "descProvinceID",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "integer",
  5565. "description": "目的地(市)ID",
  5566. "name": "descCityID",
  5567. "in": "query"
  5568. }
  5569. ],
  5570. "responses": {
  5571. "200": {
  5572. "description": "OK",
  5573. "schema": {
  5574. "$ref": "#/definitions/models.HsbyTopGoods"
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/app.Response"
  5581. }
  5582. }
  5583. }
  5584. }
  5585. },
  5586. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5587. "get": {
  5588. "security": [
  5589. {
  5590. "ApiKeyAuth": []
  5591. }
  5592. ],
  5593. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5594. "produces": [
  5595. "application/json"
  5596. ],
  5597. "tags": [
  5598. "定制【海商报业】"
  5599. ],
  5600. "summary": "查询游客三级市场(商城)商品信息详情",
  5601. "parameters": [
  5602. {
  5603. "type": "integer",
  5604. "description": "商品ID",
  5605. "name": "goodsID",
  5606. "in": "query",
  5607. "required": true
  5608. }
  5609. ],
  5610. "responses": {
  5611. "200": {
  5612. "description": "OK",
  5613. "schema": {
  5614. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5615. }
  5616. },
  5617. "500": {
  5618. "description": "Internal Server Error",
  5619. "schema": {
  5620. "$ref": "#/definitions/app.Response"
  5621. }
  5622. }
  5623. }
  5624. }
  5625. },
  5626. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5627. "get": {
  5628. "security": [
  5629. {
  5630. "ApiKeyAuth": []
  5631. }
  5632. ],
  5633. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5634. "produces": [
  5635. "application/json"
  5636. ],
  5637. "tags": [
  5638. "定制【海商报业】"
  5639. ],
  5640. "summary": "查询游客特卖商品列表(三级商城)",
  5641. "parameters": [
  5642. {
  5643. "type": "integer",
  5644. "description": "页码",
  5645. "name": "page",
  5646. "in": "query"
  5647. },
  5648. {
  5649. "type": "integer",
  5650. "description": "每页条数",
  5651. "name": "pagesize",
  5652. "in": "query"
  5653. },
  5654. {
  5655. "type": "string",
  5656. "description": "市场ID列表,格式:1,2,3",
  5657. "name": "marketIDs",
  5658. "in": "query",
  5659. "required": true
  5660. },
  5661. {
  5662. "type": "integer",
  5663. "description": "类别ID",
  5664. "name": "categoryID",
  5665. "in": "query"
  5666. },
  5667. {
  5668. "type": "string",
  5669. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5670. "name": "goodsIDs",
  5671. "in": "query"
  5672. }
  5673. ],
  5674. "responses": {
  5675. "200": {
  5676. "description": "OK",
  5677. "schema": {
  5678. "$ref": "#/definitions/models.HsbyMarketGoods"
  5679. }
  5680. },
  5681. "500": {
  5682. "description": "Internal Server Error",
  5683. "schema": {
  5684. "$ref": "#/definitions/app.Response"
  5685. }
  5686. }
  5687. }
  5688. }
  5689. },
  5690. "/HSBY/QueryMyCollectionOrders": {
  5691. "get": {
  5692. "security": [
  5693. {
  5694. "ApiKeyAuth": []
  5695. }
  5696. ],
  5697. "produces": [
  5698. "application/json"
  5699. ],
  5700. "tags": [
  5701. "定制【海商报业】"
  5702. ],
  5703. "summary": "我的闲置中收款信息查询",
  5704. "parameters": [
  5705. {
  5706. "type": "integer",
  5707. "description": "页码",
  5708. "name": "page",
  5709. "in": "query"
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "每页条数",
  5714. "name": "pagesize",
  5715. "in": "query"
  5716. },
  5717. {
  5718. "type": "string",
  5719. "description": "资金账户,格式:1,2,3",
  5720. "name": "accountIDs",
  5721. "in": "query",
  5722. "required": true
  5723. }
  5724. ],
  5725. "responses": {
  5726. "200": {
  5727. "description": "OK",
  5728. "schema": {
  5729. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5730. }
  5731. },
  5732. "500": {
  5733. "description": "Internal Server Error",
  5734. "schema": {
  5735. "$ref": "#/definitions/app.Response"
  5736. }
  5737. }
  5738. }
  5739. }
  5740. },
  5741. "/HSBY/QueryMyCouponHolds": {
  5742. "get": {
  5743. "security": [
  5744. {
  5745. "ApiKeyAuth": []
  5746. }
  5747. ],
  5748. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5749. "produces": [
  5750. "application/json"
  5751. ],
  5752. "tags": [
  5753. "定制【海商报业】"
  5754. ],
  5755. "summary": "我的优惠卷持仓查询",
  5756. "parameters": [
  5757. {
  5758. "type": "string",
  5759. "description": "资金账户列表,格式:1,2,3",
  5760. "name": "accountIDs",
  5761. "in": "query",
  5762. "required": true
  5763. },
  5764. {
  5765. "type": "string",
  5766. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5767. "name": "holdStatus",
  5768. "in": "query"
  5769. }
  5770. ],
  5771. "responses": {
  5772. "200": {
  5773. "description": "OK",
  5774. "schema": {
  5775. "$ref": "#/definitions/models.MyCouponHold"
  5776. }
  5777. },
  5778. "500": {
  5779. "description": "Internal Server Error",
  5780. "schema": {
  5781. "$ref": "#/definitions/app.Response"
  5782. }
  5783. }
  5784. }
  5785. }
  5786. },
  5787. "/HSBY/QueryMyCoupons": {
  5788. "get": {
  5789. "security": [
  5790. {
  5791. "ApiKeyAuth": []
  5792. }
  5793. ],
  5794. "produces": [
  5795. "application/json"
  5796. ],
  5797. "tags": [
  5798. "定制【海商报业】"
  5799. ],
  5800. "summary": "我的优惠卷查询",
  5801. "parameters": [
  5802. {
  5803. "type": "string",
  5804. "description": "资金账户列表,格式:1,2,3",
  5805. "name": "accountIDs",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "商品ID, 一般与sellUserID配套传入",
  5812. "name": "goodsID",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "卖方UserID",
  5818. "name": "sellUserID",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "$ref": "#/definitions/models.MyCoupon"
  5827. }
  5828. },
  5829. "500": {
  5830. "description": "Internal Server Error",
  5831. "schema": {
  5832. "$ref": "#/definitions/app.Response"
  5833. }
  5834. }
  5835. }
  5836. }
  5837. },
  5838. "/HSBY/QueryMyPayOrders": {
  5839. "get": {
  5840. "security": [
  5841. {
  5842. "ApiKeyAuth": []
  5843. }
  5844. ],
  5845. "produces": [
  5846. "application/json"
  5847. ],
  5848. "tags": [
  5849. "定制【海商报业】"
  5850. ],
  5851. "summary": "获取我的订单中待付款信息",
  5852. "parameters": [
  5853. {
  5854. "type": "integer",
  5855. "description": "页码",
  5856. "name": "page",
  5857. "in": "query"
  5858. },
  5859. {
  5860. "type": "integer",
  5861. "description": "每页条数",
  5862. "name": "pagesize",
  5863. "in": "query"
  5864. },
  5865. {
  5866. "type": "string",
  5867. "description": "资金账户列表,格式:1,2,3",
  5868. "name": "accountIDs",
  5869. "in": "query",
  5870. "required": true
  5871. },
  5872. {
  5873. "type": "integer",
  5874. "description": "买方委托单号",
  5875. "name": "buyOrderID",
  5876. "in": "query"
  5877. },
  5878. {
  5879. "type": "integer",
  5880. "description": "卖方委托单号",
  5881. "name": "sellOrderID",
  5882. "in": "query"
  5883. }
  5884. ],
  5885. "responses": {
  5886. "200": {
  5887. "description": "OK",
  5888. "schema": {
  5889. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5890. }
  5891. },
  5892. "500": {
  5893. "description": "Internal Server Error",
  5894. "schema": {
  5895. "$ref": "#/definitions/app.Response"
  5896. }
  5897. }
  5898. }
  5899. }
  5900. },
  5901. "/HSBY/QueryMyUsedCoupon": {
  5902. "get": {
  5903. "security": [
  5904. {
  5905. "ApiKeyAuth": []
  5906. }
  5907. ],
  5908. "produces": [
  5909. "application/json"
  5910. ],
  5911. "tags": [
  5912. "定制【海商报业】"
  5913. ],
  5914. "summary": "已使用优惠卷查询",
  5915. "parameters": [
  5916. {
  5917. "type": "string",
  5918. "description": "资金账户列表,格式:1,2,3",
  5919. "name": "accountIDs",
  5920. "in": "query",
  5921. "required": true
  5922. }
  5923. ],
  5924. "responses": {
  5925. "200": {
  5926. "description": "OK",
  5927. "schema": {
  5928. "$ref": "#/definitions/models.MyUsedCoupon"
  5929. }
  5930. },
  5931. "500": {
  5932. "description": "Internal Server Error",
  5933. "schema": {
  5934. "$ref": "#/definitions/app.Response"
  5935. }
  5936. }
  5937. }
  5938. }
  5939. },
  5940. "/HSBY/QueryProvincesAndCities": {
  5941. "get": {
  5942. "security": [
  5943. {
  5944. "ApiKeyAuth": []
  5945. }
  5946. ],
  5947. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5948. "produces": [
  5949. "application/json"
  5950. ],
  5951. "tags": [
  5952. "定制【海商报业】"
  5953. ],
  5954. "summary": "查询省市信息(不包括区)",
  5955. "parameters": [
  5956. {
  5957. "type": "integer",
  5958. "description": "省ID",
  5959. "name": "provinceID",
  5960. "in": "query"
  5961. }
  5962. ],
  5963. "responses": {
  5964. "200": {
  5965. "description": "OK",
  5966. "schema": {
  5967. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/HSBY/SetHsbyMyPackagesStatus": {
  5980. "post": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "定制【海商报业】"
  5991. ],
  5992. "summary": "设置我的包裹已收货状态",
  5993. "parameters": [
  5994. {
  5995. "type": "string",
  5996. "description": "提货单号",
  5997. "name": "takeOrderID",
  5998. "in": "query",
  5999. "required": true
  6000. },
  6001. {
  6002. "type": "integer",
  6003. "description": "资金账号",
  6004. "name": "accountID",
  6005. "in": "query",
  6006. "required": true
  6007. }
  6008. ],
  6009. "responses": {
  6010. "200": {
  6011. "description": "OK",
  6012. "schema": {
  6013. "$ref": "#/definitions/app.Response"
  6014. }
  6015. },
  6016. "500": {
  6017. "description": "Internal Server Error",
  6018. "schema": {
  6019. "$ref": "#/definitions/app.Response"
  6020. }
  6021. }
  6022. }
  6023. }
  6024. },
  6025. "/Market/QueryGoodsesByLoginID": {
  6026. "get": {
  6027. "security": [
  6028. {
  6029. "ApiKeyAuth": []
  6030. }
  6031. ],
  6032. "produces": [
  6033. "application/json"
  6034. ],
  6035. "tags": [
  6036. "通用市场"
  6037. ],
  6038. "summary": "获取登录账号有权限的商品信息",
  6039. "parameters": [
  6040. {
  6041. "type": "integer",
  6042. "description": "登录账号",
  6043. "name": "loginID",
  6044. "in": "query",
  6045. "required": true
  6046. },
  6047. {
  6048. "type": "string",
  6049. "description": "市场ID列表,格式:1,2,3",
  6050. "name": "marketIDs",
  6051. "in": "query"
  6052. }
  6053. ],
  6054. "responses": {
  6055. "200": {
  6056. "description": "OK",
  6057. "schema": {
  6058. "$ref": "#/definitions/models.Goods"
  6059. }
  6060. },
  6061. "500": {
  6062. "description": "Internal Server Error",
  6063. "schema": {
  6064. "$ref": "#/definitions/app.Response"
  6065. }
  6066. }
  6067. }
  6068. }
  6069. },
  6070. "/Market/QueryMarketRun": {
  6071. "get": {
  6072. "security": [
  6073. {
  6074. "ApiKeyAuth": []
  6075. }
  6076. ],
  6077. "produces": [
  6078. "application/json"
  6079. ],
  6080. "tags": [
  6081. "通用市场"
  6082. ],
  6083. "summary": "查询市场运行信息",
  6084. "parameters": [
  6085. {
  6086. "type": "integer",
  6087. "description": "市场ID,不传返回所有",
  6088. "name": "marketID",
  6089. "in": "query"
  6090. }
  6091. ],
  6092. "responses": {
  6093. "200": {
  6094. "description": "OK",
  6095. "schema": {
  6096. "$ref": "#/definitions/models.Marketrun"
  6097. }
  6098. },
  6099. "500": {
  6100. "description": "Internal Server Error",
  6101. "schema": {
  6102. "$ref": "#/definitions/app.Response"
  6103. }
  6104. }
  6105. }
  6106. }
  6107. },
  6108. "/Market/QueryMarketsByLoginID": {
  6109. "get": {
  6110. "security": [
  6111. {
  6112. "ApiKeyAuth": []
  6113. }
  6114. ],
  6115. "produces": [
  6116. "application/json"
  6117. ],
  6118. "tags": [
  6119. "通用市场"
  6120. ],
  6121. "summary": "获取登录账号有权限的市场信息",
  6122. "parameters": [
  6123. {
  6124. "type": "integer",
  6125. "description": "登录账号",
  6126. "name": "loginID",
  6127. "in": "query",
  6128. "required": true
  6129. }
  6130. ],
  6131. "responses": {
  6132. "200": {
  6133. "description": "OK",
  6134. "schema": {
  6135. "$ref": "#/definitions/models.Market"
  6136. }
  6137. },
  6138. "500": {
  6139. "description": "Internal Server Error",
  6140. "schema": {
  6141. "$ref": "#/definitions/app.Response"
  6142. }
  6143. }
  6144. }
  6145. }
  6146. },
  6147. "/Order/QueryHisTradeDetail": {
  6148. "get": {
  6149. "security": [
  6150. {
  6151. "ApiKeyAuth": []
  6152. }
  6153. ],
  6154. "produces": [
  6155. "application/json"
  6156. ],
  6157. "tags": [
  6158. "通用单据"
  6159. ],
  6160. "summary": "历史成交单查询(合约市场)",
  6161. "parameters": [
  6162. {
  6163. "type": "string",
  6164. "description": "资金账户 - 格式:1,2,3",
  6165. "name": "accountID",
  6166. "in": "query",
  6167. "required": true
  6168. },
  6169. {
  6170. "type": "integer",
  6171. "description": "成交单号",
  6172. "name": "tradeID",
  6173. "in": "query"
  6174. },
  6175. {
  6176. "type": "integer",
  6177. "description": "委托单号",
  6178. "name": "orderID",
  6179. "in": "query"
  6180. },
  6181. {
  6182. "type": "string",
  6183. "description": "交易模式 - 格式:1,2,3",
  6184. "name": "tradeMode",
  6185. "in": "query"
  6186. },
  6187. {
  6188. "type": "integer",
  6189. "description": "委托单据类型",
  6190. "name": "buildType",
  6191. "in": "query"
  6192. },
  6193. {
  6194. "type": "string",
  6195. "description": "成交类别 - 格式:1,2,3",
  6196. "name": "tradeType",
  6197. "in": "query"
  6198. },
  6199. {
  6200. "type": "string",
  6201. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6202. "name": "startDate",
  6203. "in": "query"
  6204. },
  6205. {
  6206. "type": "string",
  6207. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6208. "name": "endDate",
  6209. "in": "query"
  6210. }
  6211. ],
  6212. "responses": {
  6213. "200": {
  6214. "description": "OK",
  6215. "schema": {
  6216. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6217. }
  6218. },
  6219. "500": {
  6220. "description": "Internal Server Error",
  6221. "schema": {
  6222. "$ref": "#/definitions/app.Response"
  6223. }
  6224. }
  6225. }
  6226. }
  6227. },
  6228. "/Order/QueryHisTradeOrderDetail": {
  6229. "get": {
  6230. "security": [
  6231. {
  6232. "ApiKeyAuth": []
  6233. }
  6234. ],
  6235. "produces": [
  6236. "application/json"
  6237. ],
  6238. "tags": [
  6239. "通用单据"
  6240. ],
  6241. "summary": "历史委托单查询请求(合约市场)",
  6242. "parameters": [
  6243. {
  6244. "type": "string",
  6245. "description": "资金账户 - 格式:1,2,3",
  6246. "name": "accountID",
  6247. "in": "query",
  6248. "required": true
  6249. },
  6250. {
  6251. "type": "string",
  6252. "description": "交易模式 - 格式:1,2,3",
  6253. "name": "tradeMode",
  6254. "in": "query"
  6255. },
  6256. {
  6257. "type": "string",
  6258. "description": "委托状态 - 格式:1,2,3",
  6259. "name": "orderStatus",
  6260. "in": "query"
  6261. },
  6262. {
  6263. "type": "integer",
  6264. "description": "委托单号",
  6265. "name": "orderID",
  6266. "in": "query"
  6267. },
  6268. {
  6269. "type": "string",
  6270. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6271. "name": "startDate",
  6272. "in": "query"
  6273. },
  6274. {
  6275. "type": "string",
  6276. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6277. "name": "endDate",
  6278. "in": "query"
  6279. }
  6280. ],
  6281. "responses": {
  6282. "200": {
  6283. "description": "OK",
  6284. "schema": {
  6285. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6286. }
  6287. },
  6288. "500": {
  6289. "description": "Internal Server Error",
  6290. "schema": {
  6291. "$ref": "#/definitions/app.Response"
  6292. }
  6293. }
  6294. }
  6295. }
  6296. },
  6297. "/Order/QueryTradeDetail": {
  6298. "get": {
  6299. "security": [
  6300. {
  6301. "ApiKeyAuth": []
  6302. }
  6303. ],
  6304. "produces": [
  6305. "application/json"
  6306. ],
  6307. "tags": [
  6308. "通用单据"
  6309. ],
  6310. "summary": "成交单查询(合约市场)",
  6311. "parameters": [
  6312. {
  6313. "type": "string",
  6314. "description": "资金账户 - 格式:1,2,3",
  6315. "name": "accountID",
  6316. "in": "query",
  6317. "required": true
  6318. },
  6319. {
  6320. "type": "integer",
  6321. "description": "成交单号",
  6322. "name": "tradeID",
  6323. "in": "query"
  6324. },
  6325. {
  6326. "type": "integer",
  6327. "description": "委托单号",
  6328. "name": "orderID",
  6329. "in": "query"
  6330. },
  6331. {
  6332. "type": "string",
  6333. "description": "交易模式 - 格式:1,2,3",
  6334. "name": "tradeMode",
  6335. "in": "query"
  6336. },
  6337. {
  6338. "type": "integer",
  6339. "description": "委托单据类型",
  6340. "name": "buildType",
  6341. "in": "query"
  6342. },
  6343. {
  6344. "type": "string",
  6345. "description": "成交类别 - 格式:1,2,3",
  6346. "name": "tradeType",
  6347. "in": "query"
  6348. }
  6349. ],
  6350. "responses": {
  6351. "200": {
  6352. "description": "OK",
  6353. "schema": {
  6354. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6355. }
  6356. },
  6357. "500": {
  6358. "description": "Internal Server Error",
  6359. "schema": {
  6360. "$ref": "#/definitions/app.Response"
  6361. }
  6362. }
  6363. }
  6364. }
  6365. },
  6366. "/Order/QueryTradeOrderDetail": {
  6367. "get": {
  6368. "security": [
  6369. {
  6370. "ApiKeyAuth": []
  6371. }
  6372. ],
  6373. "produces": [
  6374. "application/json"
  6375. ],
  6376. "tags": [
  6377. "通用单据"
  6378. ],
  6379. "summary": "委托单查询请求(合约市场)",
  6380. "parameters": [
  6381. {
  6382. "type": "string",
  6383. "description": "资金账户 - 格式:1,2,3",
  6384. "name": "accountID",
  6385. "in": "query",
  6386. "required": true
  6387. },
  6388. {
  6389. "type": "string",
  6390. "description": "交易模式 - 格式:1,2,3",
  6391. "name": "tradeMode",
  6392. "in": "query"
  6393. },
  6394. {
  6395. "type": "string",
  6396. "description": "委托状态 - 格式:1,2,3",
  6397. "name": "orderStatus",
  6398. "in": "query"
  6399. },
  6400. {
  6401. "type": "integer",
  6402. "description": "委托单号",
  6403. "name": "orderID",
  6404. "in": "query"
  6405. }
  6406. ],
  6407. "responses": {
  6408. "200": {
  6409. "description": "OK",
  6410. "schema": {
  6411. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6412. }
  6413. },
  6414. "500": {
  6415. "description": "Internal Server Error",
  6416. "schema": {
  6417. "$ref": "#/definitions/app.Response"
  6418. }
  6419. }
  6420. }
  6421. }
  6422. },
  6423. "/Order/QueryTradePosition": {
  6424. "get": {
  6425. "security": [
  6426. {
  6427. "ApiKeyAuth": []
  6428. }
  6429. ],
  6430. "produces": [
  6431. "application/json"
  6432. ],
  6433. "tags": [
  6434. "通用单据"
  6435. ],
  6436. "summary": "持仓汇总查询(合约市场)",
  6437. "parameters": [
  6438. {
  6439. "type": "string",
  6440. "description": "资金账户 - 格式:1,2,3",
  6441. "name": "accountID",
  6442. "in": "query",
  6443. "required": true
  6444. },
  6445. {
  6446. "type": "string",
  6447. "description": "交易模式 - 格式:1,2,3",
  6448. "name": "tradeMode",
  6449. "in": "query"
  6450. }
  6451. ],
  6452. "responses": {
  6453. "200": {
  6454. "description": "OK",
  6455. "schema": {
  6456. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6457. }
  6458. },
  6459. "500": {
  6460. "description": "Internal Server Error",
  6461. "schema": {
  6462. "$ref": "#/definitions/app.Response"
  6463. }
  6464. }
  6465. }
  6466. }
  6467. },
  6468. "/Quote/QueryHistoryDatas": {
  6469. "get": {
  6470. "security": [
  6471. {
  6472. "ApiKeyAuth": []
  6473. }
  6474. ],
  6475. "produces": [
  6476. "application/json"
  6477. ],
  6478. "tags": [
  6479. "行情服务"
  6480. ],
  6481. "summary": "查询行情历史数据",
  6482. "parameters": [
  6483. {
  6484. "type": "integer",
  6485. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6486. "name": "cycleType",
  6487. "in": "query",
  6488. "required": true
  6489. },
  6490. {
  6491. "type": "string",
  6492. "description": "商品代码",
  6493. "name": "goodsCode",
  6494. "in": "query",
  6495. "required": true
  6496. },
  6497. {
  6498. "type": "string",
  6499. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6500. "name": "startTime",
  6501. "in": "query"
  6502. },
  6503. {
  6504. "type": "string",
  6505. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6506. "name": "endTime",
  6507. "in": "query"
  6508. },
  6509. {
  6510. "type": "integer",
  6511. "description": "条数",
  6512. "name": "count",
  6513. "in": "query"
  6514. },
  6515. {
  6516. "type": "boolean",
  6517. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6518. "name": "isAsc",
  6519. "in": "query"
  6520. }
  6521. ],
  6522. "responses": {
  6523. "200": {
  6524. "description": "OK",
  6525. "schema": {
  6526. "$ref": "#/definitions/quote.HistoryData"
  6527. }
  6528. },
  6529. "500": {
  6530. "description": "Internal Server Error",
  6531. "schema": {
  6532. "$ref": "#/definitions/app.Response"
  6533. }
  6534. }
  6535. }
  6536. }
  6537. },
  6538. "/Quote/QueryHistoryTikDatas": {
  6539. "get": {
  6540. "security": [
  6541. {
  6542. "ApiKeyAuth": []
  6543. }
  6544. ],
  6545. "produces": [
  6546. "application/json"
  6547. ],
  6548. "tags": [
  6549. "行情服务"
  6550. ],
  6551. "summary": "查询行情Tik数据",
  6552. "parameters": [
  6553. {
  6554. "type": "string",
  6555. "description": "商品代码",
  6556. "name": "goodsCode",
  6557. "in": "query",
  6558. "required": true
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6563. "name": "startTime",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6569. "name": "endTime",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "条数",
  6575. "name": "count",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "boolean",
  6580. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6581. "name": "isAsc",
  6582. "in": "query"
  6583. }
  6584. ],
  6585. "responses": {
  6586. "200": {
  6587. "description": "OK",
  6588. "schema": {
  6589. "$ref": "#/definitions/quote.HistoryTikData"
  6590. }
  6591. },
  6592. "500": {
  6593. "description": "Internal Server Error",
  6594. "schema": {
  6595. "$ref": "#/definitions/app.Response"
  6596. }
  6597. }
  6598. }
  6599. }
  6600. },
  6601. "/Quote/QueryQuoteDay": {
  6602. "get": {
  6603. "security": [
  6604. {
  6605. "ApiKeyAuth": []
  6606. }
  6607. ],
  6608. "produces": [
  6609. "application/json"
  6610. ],
  6611. "tags": [
  6612. "行情服务"
  6613. ],
  6614. "summary": "获取商品盘面信息",
  6615. "parameters": [
  6616. {
  6617. "type": "string",
  6618. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6619. "name": "goodsCodes",
  6620. "in": "query",
  6621. "required": true
  6622. }
  6623. ],
  6624. "responses": {
  6625. "200": {
  6626. "description": "OK",
  6627. "schema": {
  6628. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6629. }
  6630. },
  6631. "500": {
  6632. "description": "Internal Server Error",
  6633. "schema": {
  6634. "$ref": "#/definitions/app.Response"
  6635. }
  6636. }
  6637. }
  6638. }
  6639. },
  6640. "/Quote/QueryTSData": {
  6641. "get": {
  6642. "security": [
  6643. {
  6644. "ApiKeyAuth": []
  6645. }
  6646. ],
  6647. "produces": [
  6648. "application/json"
  6649. ],
  6650. "tags": [
  6651. "行情服务"
  6652. ],
  6653. "summary": "分时图数据查询",
  6654. "parameters": [
  6655. {
  6656. "type": "string",
  6657. "description": "商品代码",
  6658. "name": "goodsCode",
  6659. "in": "query",
  6660. "required": true
  6661. }
  6662. ],
  6663. "responses": {
  6664. "200": {
  6665. "description": "OK",
  6666. "schema": {
  6667. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6668. }
  6669. },
  6670. "500": {
  6671. "description": "Internal Server Error",
  6672. "schema": {
  6673. "$ref": "#/definitions/app.Response"
  6674. }
  6675. }
  6676. }
  6677. }
  6678. },
  6679. "/SZDZ/QueryConvertConfig": {
  6680. "get": {
  6681. "security": [
  6682. {
  6683. "ApiKeyAuth": []
  6684. }
  6685. ],
  6686. "produces": [
  6687. "application/json"
  6688. ],
  6689. "tags": [
  6690. "定制【尚志大宗】"
  6691. ],
  6692. "summary": "查询交易系统转换设置",
  6693. "parameters": [
  6694. {
  6695. "type": "integer",
  6696. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6697. "name": "convertType",
  6698. "in": "query"
  6699. },
  6700. {
  6701. "type": "string",
  6702. "description": "外部商品代码[JD\\PD]",
  6703. "name": "outerGoodsCode",
  6704. "in": "query"
  6705. },
  6706. {
  6707. "type": "string",
  6708. "description": "内部商品ID列表[交易],格式:1,2,3",
  6709. "name": "innerGoodsIDs",
  6710. "in": "query"
  6711. }
  6712. ],
  6713. "responses": {
  6714. "200": {
  6715. "description": "OK",
  6716. "schema": {
  6717. "$ref": "#/definitions/models.Szdz3convertconfig"
  6718. }
  6719. },
  6720. "500": {
  6721. "description": "Internal Server Error",
  6722. "schema": {
  6723. "$ref": "#/definitions/app.Response"
  6724. }
  6725. }
  6726. }
  6727. }
  6728. },
  6729. "/SZDZ/QueryConvertLog": {
  6730. "get": {
  6731. "security": [
  6732. {
  6733. "ApiKeyAuth": []
  6734. }
  6735. ],
  6736. "produces": [
  6737. "application/json"
  6738. ],
  6739. "tags": [
  6740. "定制【尚志大宗】"
  6741. ],
  6742. "summary": "交易系统转换流水查询",
  6743. "parameters": [
  6744. {
  6745. "type": "string",
  6746. "description": "资金账户 - 格式:1,2,3",
  6747. "name": "accountID",
  6748. "in": "query",
  6749. "required": true
  6750. },
  6751. {
  6752. "type": "string",
  6753. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6754. "name": "startDate",
  6755. "in": "query"
  6756. },
  6757. {
  6758. "type": "string",
  6759. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6760. "name": "endDate",
  6761. "in": "query"
  6762. }
  6763. ],
  6764. "responses": {
  6765. "200": {
  6766. "description": "OK",
  6767. "schema": {
  6768. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6769. }
  6770. },
  6771. "500": {
  6772. "description": "Internal Server Error",
  6773. "schema": {
  6774. "$ref": "#/definitions/app.Response"
  6775. }
  6776. }
  6777. }
  6778. }
  6779. },
  6780. "/SZDZ/QueryGoodsPickup": {
  6781. "get": {
  6782. "security": [
  6783. {
  6784. "ApiKeyAuth": []
  6785. }
  6786. ],
  6787. "produces": [
  6788. "application/json"
  6789. ],
  6790. "tags": [
  6791. "定制【尚志大宗】"
  6792. ],
  6793. "summary": "商品提货单查询",
  6794. "parameters": [
  6795. {
  6796. "type": "string",
  6797. "description": "资金账户 - 格式:1,2,3",
  6798. "name": "accountID",
  6799. "in": "query",
  6800. "required": true
  6801. },
  6802. {
  6803. "type": "integer",
  6804. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6805. "name": "takeOrderStatus",
  6806. "in": "query"
  6807. }
  6808. ],
  6809. "responses": {
  6810. "200": {
  6811. "description": "OK",
  6812. "schema": {
  6813. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6814. }
  6815. },
  6816. "500": {
  6817. "description": "Internal Server Error",
  6818. "schema": {
  6819. "$ref": "#/definitions/app.Response"
  6820. }
  6821. }
  6822. }
  6823. }
  6824. },
  6825. "/SZDZ/QueryRecieptOrder": {
  6826. "get": {
  6827. "security": [
  6828. {
  6829. "ApiKeyAuth": []
  6830. }
  6831. ],
  6832. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "定制【尚志大宗】"
  6838. ],
  6839. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "页码",
  6844. "name": "page",
  6845. "in": "query"
  6846. },
  6847. {
  6848. "type": "integer",
  6849. "description": "每页条数",
  6850. "name": "pagesize",
  6851. "in": "query"
  6852. },
  6853. {
  6854. "type": "integer",
  6855. "description": "商品ID",
  6856. "name": "goodsID",
  6857. "in": "query",
  6858. "required": true
  6859. },
  6860. {
  6861. "type": "string",
  6862. "description": "所属账户名称",
  6863. "name": "accountName",
  6864. "in": "query"
  6865. },
  6866. {
  6867. "type": "integer",
  6868. "description": "市场ID",
  6869. "name": "marketID",
  6870. "in": "query"
  6871. },
  6872. {
  6873. "type": "integer",
  6874. "description": "方向 - 0:买 1:卖",
  6875. "name": "buyorsell",
  6876. "in": "query",
  6877. "required": true
  6878. }
  6879. ],
  6880. "responses": {
  6881. "200": {
  6882. "description": "OK",
  6883. "schema": {
  6884. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6885. }
  6886. },
  6887. "500": {
  6888. "description": "Internal Server Error",
  6889. "schema": {
  6890. "$ref": "#/definitions/app.Response"
  6891. }
  6892. }
  6893. }
  6894. }
  6895. },
  6896. "/SZDZ/QuerySZDZTradePosition": {
  6897. "get": {
  6898. "security": [
  6899. {
  6900. "ApiKeyAuth": []
  6901. }
  6902. ],
  6903. "produces": [
  6904. "application/json"
  6905. ],
  6906. "tags": [
  6907. "定制【尚志大宗】"
  6908. ],
  6909. "summary": "持仓汇总查询(尚志大宗)",
  6910. "parameters": [
  6911. {
  6912. "type": "integer",
  6913. "description": "资金账户",
  6914. "name": "accountID",
  6915. "in": "query",
  6916. "required": true
  6917. }
  6918. ],
  6919. "responses": {
  6920. "200": {
  6921. "description": "OK",
  6922. "schema": {
  6923. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6924. }
  6925. },
  6926. "500": {
  6927. "description": "Internal Server Error",
  6928. "schema": {
  6929. "$ref": "#/definitions/app.Response"
  6930. }
  6931. }
  6932. }
  6933. }
  6934. },
  6935. "/SZDZ/SearchWhite": {
  6936. "get": {
  6937. "security": [
  6938. {
  6939. "ApiKeyAuth": []
  6940. }
  6941. ],
  6942. "produces": [
  6943. "application/json"
  6944. ],
  6945. "tags": [
  6946. "定制【尚志大宗】"
  6947. ],
  6948. "summary": "搜索白名单",
  6949. "parameters": [
  6950. {
  6951. "type": "integer",
  6952. "description": "用户ID",
  6953. "name": "userID",
  6954. "in": "query",
  6955. "required": true
  6956. }
  6957. ],
  6958. "responses": {
  6959. "200": {
  6960. "description": "OK",
  6961. "schema": {
  6962. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6963. }
  6964. },
  6965. "500": {
  6966. "description": "Internal Server Error",
  6967. "schema": {
  6968. "$ref": "#/definitions/app.Response"
  6969. }
  6970. }
  6971. }
  6972. }
  6973. },
  6974. "/Search/SearchGoodses": {
  6975. "get": {
  6976. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6977. "produces": [
  6978. "application/json"
  6979. ],
  6980. "tags": [
  6981. "检索服务"
  6982. ],
  6983. "summary": "检索商品信息",
  6984. "parameters": [
  6985. {
  6986. "type": "string",
  6987. "description": "检索内容",
  6988. "name": "content",
  6989. "in": "query",
  6990. "required": true
  6991. },
  6992. {
  6993. "type": "string",
  6994. "description": "交易模式,格式:1,2,3",
  6995. "name": "tradeModes",
  6996. "in": "query"
  6997. }
  6998. ],
  6999. "responses": {
  7000. "200": {
  7001. "description": "OK",
  7002. "schema": {
  7003. "$ref": "#/definitions/models.SearchGoods"
  7004. }
  7005. },
  7006. "500": {
  7007. "description": "Internal Server Error",
  7008. "schema": {
  7009. "$ref": "#/definitions/app.Response"
  7010. }
  7011. }
  7012. }
  7013. }
  7014. },
  7015. "/TaAccount/GetTaAccounts": {
  7016. "get": {
  7017. "security": [
  7018. {
  7019. "ApiKeyAuth": []
  7020. }
  7021. ],
  7022. "produces": [
  7023. "application/json"
  7024. ],
  7025. "tags": [
  7026. "资金账户"
  7027. ],
  7028. "summary": "获取资金账户信息",
  7029. "parameters": [
  7030. {
  7031. "type": "integer",
  7032. "description": "登录账户",
  7033. "name": "loginID",
  7034. "in": "query",
  7035. "required": true
  7036. },
  7037. {
  7038. "type": "integer",
  7039. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7040. "name": "taAccountType",
  7041. "in": "query"
  7042. }
  7043. ],
  7044. "responses": {
  7045. "200": {
  7046. "description": "OK",
  7047. "schema": {
  7048. "$ref": "#/definitions/models.Taaccount"
  7049. }
  7050. },
  7051. "500": {
  7052. "description": "Internal Server Error",
  7053. "schema": {
  7054. "$ref": "#/definitions/app.Response"
  7055. }
  7056. }
  7057. }
  7058. }
  7059. },
  7060. "/TaAccount/QueryAmountLog": {
  7061. "get": {
  7062. "security": [
  7063. {
  7064. "ApiKeyAuth": []
  7065. }
  7066. ],
  7067. "produces": [
  7068. "application/json"
  7069. ],
  7070. "tags": [
  7071. "资金账户"
  7072. ],
  7073. "summary": "资金流水查询(当前)",
  7074. "parameters": [
  7075. {
  7076. "type": "integer",
  7077. "description": "页码",
  7078. "name": "page",
  7079. "in": "query"
  7080. },
  7081. {
  7082. "type": "integer",
  7083. "description": "每页条数",
  7084. "name": "pagesize",
  7085. "in": "query"
  7086. },
  7087. {
  7088. "type": "string",
  7089. "description": "资金账户 - 格式:1,2,3",
  7090. "name": "accountID",
  7091. "in": "query",
  7092. "required": true
  7093. },
  7094. {
  7095. "type": "string",
  7096. "description": "资金操作类型 - 格式:1,2,3",
  7097. "name": "OperateType",
  7098. "in": "query"
  7099. }
  7100. ],
  7101. "responses": {
  7102. "200": {
  7103. "description": "OK",
  7104. "schema": {
  7105. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7106. }
  7107. },
  7108. "500": {
  7109. "description": "Internal Server Error",
  7110. "schema": {
  7111. "$ref": "#/definitions/app.Response"
  7112. }
  7113. }
  7114. }
  7115. }
  7116. },
  7117. "/TaAccount/QueryHisAmountLog": {
  7118. "get": {
  7119. "security": [
  7120. {
  7121. "ApiKeyAuth": []
  7122. }
  7123. ],
  7124. "produces": [
  7125. "application/json"
  7126. ],
  7127. "tags": [
  7128. "资金账户"
  7129. ],
  7130. "summary": "资金流水查询(历史)",
  7131. "parameters": [
  7132. {
  7133. "type": "integer",
  7134. "description": "页码",
  7135. "name": "page",
  7136. "in": "query"
  7137. },
  7138. {
  7139. "type": "integer",
  7140. "description": "每页条数",
  7141. "name": "pagesize",
  7142. "in": "query"
  7143. },
  7144. {
  7145. "type": "string",
  7146. "description": "资金账户 - 格式:1,2,3",
  7147. "name": "accountID",
  7148. "in": "query",
  7149. "required": true
  7150. },
  7151. {
  7152. "type": "string",
  7153. "description": "资金操作类型 - 格式:1,2,3",
  7154. "name": "OperateType",
  7155. "in": "query"
  7156. },
  7157. {
  7158. "type": "string",
  7159. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7160. "name": "startDate",
  7161. "in": "query"
  7162. },
  7163. {
  7164. "type": "string",
  7165. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7166. "name": "endDate",
  7167. "in": "query"
  7168. }
  7169. ],
  7170. "responses": {
  7171. "200": {
  7172. "description": "OK",
  7173. "schema": {
  7174. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7175. }
  7176. },
  7177. "500": {
  7178. "description": "Internal Server Error",
  7179. "schema": {
  7180. "$ref": "#/definitions/app.Response"
  7181. }
  7182. }
  7183. }
  7184. }
  7185. },
  7186. "/Trade/QueryRecieptOrder": {
  7187. "get": {
  7188. "security": [
  7189. {
  7190. "ApiKeyAuth": []
  7191. }
  7192. ],
  7193. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7194. "produces": [
  7195. "application/json"
  7196. ],
  7197. "tags": [
  7198. "通用交易"
  7199. ],
  7200. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7201. "parameters": [
  7202. {
  7203. "type": "integer",
  7204. "description": "页码",
  7205. "name": "page",
  7206. "in": "query"
  7207. },
  7208. {
  7209. "type": "integer",
  7210. "description": "每页条数",
  7211. "name": "pagesize",
  7212. "in": "query"
  7213. },
  7214. {
  7215. "type": "integer",
  7216. "description": "商品ID",
  7217. "name": "goodsID",
  7218. "in": "query",
  7219. "required": true
  7220. },
  7221. {
  7222. "type": "string",
  7223. "description": "所属账户名称",
  7224. "name": "accountName",
  7225. "in": "query"
  7226. },
  7227. {
  7228. "type": "integer",
  7229. "description": "市场ID",
  7230. "name": "marketID",
  7231. "in": "query"
  7232. },
  7233. {
  7234. "type": "integer",
  7235. "description": "方向 - 0:买 1:卖",
  7236. "name": "buyorsell",
  7237. "in": "query",
  7238. "required": true
  7239. }
  7240. ],
  7241. "responses": {
  7242. "200": {
  7243. "description": "OK",
  7244. "schema": {
  7245. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7246. }
  7247. },
  7248. "500": {
  7249. "description": "Internal Server Error",
  7250. "schema": {
  7251. "$ref": "#/definitions/app.Response"
  7252. }
  7253. }
  7254. }
  7255. }
  7256. },
  7257. "/User/AddMessageBoard": {
  7258. "post": {
  7259. "security": [
  7260. {
  7261. "ApiKeyAuth": []
  7262. }
  7263. ],
  7264. "produces": [
  7265. "application/json"
  7266. ],
  7267. "tags": [
  7268. "用户信息"
  7269. ],
  7270. "summary": "添加用户留言板信息",
  7271. "parameters": [
  7272. {
  7273. "type": "integer",
  7274. "description": "用户ID",
  7275. "name": "userID",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "string",
  7281. "description": "留言信息",
  7282. "name": "message",
  7283. "in": "query",
  7284. "required": true
  7285. },
  7286. {
  7287. "type": "string",
  7288. "description": "联系电话",
  7289. "name": "contactNum",
  7290. "in": "query",
  7291. "required": true
  7292. }
  7293. ],
  7294. "responses": {
  7295. "200": {
  7296. "description": "OK",
  7297. "schema": {
  7298. "$ref": "#/definitions/app.Response"
  7299. }
  7300. },
  7301. "500": {
  7302. "description": "Internal Server Error",
  7303. "schema": {
  7304. "$ref": "#/definitions/app.Response"
  7305. }
  7306. }
  7307. }
  7308. }
  7309. },
  7310. "/User/AddUserFavoriteGoods": {
  7311. "post": {
  7312. "security": [
  7313. {
  7314. "ApiKeyAuth": []
  7315. }
  7316. ],
  7317. "produces": [
  7318. "application/json"
  7319. ],
  7320. "tags": [
  7321. "用户信息"
  7322. ],
  7323. "summary": "添加用户商品收藏信息",
  7324. "parameters": [
  7325. {
  7326. "type": "integer",
  7327. "description": "用户ID",
  7328. "name": "userID",
  7329. "in": "query",
  7330. "required": true
  7331. },
  7332. {
  7333. "type": "integer",
  7334. "description": "商品ID",
  7335. "name": "goodsID",
  7336. "in": "query",
  7337. "required": true
  7338. }
  7339. ],
  7340. "responses": {
  7341. "200": {
  7342. "description": "OK",
  7343. "schema": {
  7344. "$ref": "#/definitions/app.Response"
  7345. }
  7346. },
  7347. "500": {
  7348. "description": "Internal Server Error",
  7349. "schema": {
  7350. "$ref": "#/definitions/app.Response"
  7351. }
  7352. }
  7353. }
  7354. }
  7355. },
  7356. "/User/GetLoginID": {
  7357. "get": {
  7358. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7359. "produces": [
  7360. "application/json"
  7361. ],
  7362. "tags": [
  7363. "用户信息"
  7364. ],
  7365. "summary": "获取登录ID",
  7366. "parameters": [
  7367. {
  7368. "type": "string",
  7369. "description": "登录代码",
  7370. "name": "username",
  7371. "in": "query",
  7372. "required": true
  7373. }
  7374. ],
  7375. "responses": {
  7376. "200": {
  7377. "description": "OK",
  7378. "schema": {
  7379. "$ref": "#/definitions/app.Response"
  7380. }
  7381. },
  7382. "500": {
  7383. "description": "Internal Server Error",
  7384. "schema": {
  7385. "$ref": "#/definitions/app.Response"
  7386. }
  7387. }
  7388. }
  7389. }
  7390. },
  7391. "/User/GetUserAccount": {
  7392. "get": {
  7393. "security": [
  7394. {
  7395. "ApiKeyAuth": []
  7396. }
  7397. ],
  7398. "produces": [
  7399. "application/json"
  7400. ],
  7401. "tags": [
  7402. "用户信息"
  7403. ],
  7404. "summary": "获取用户账号信息",
  7405. "parameters": [
  7406. {
  7407. "type": "integer",
  7408. "description": "用户ID",
  7409. "name": "userID",
  7410. "in": "query",
  7411. "required": true
  7412. }
  7413. ],
  7414. "responses": {
  7415. "200": {
  7416. "description": "OK",
  7417. "schema": {
  7418. "$ref": "#/definitions/models.Useraccount"
  7419. }
  7420. },
  7421. "500": {
  7422. "description": "Internal Server Error",
  7423. "schema": {
  7424. "$ref": "#/definitions/app.Response"
  7425. }
  7426. }
  7427. }
  7428. }
  7429. },
  7430. "/User/GetUserAuthStatus": {
  7431. "get": {
  7432. "security": [
  7433. {
  7434. "ApiKeyAuth": []
  7435. }
  7436. ],
  7437. "produces": [
  7438. "application/json"
  7439. ],
  7440. "tags": [
  7441. "用户信息"
  7442. ],
  7443. "summary": "获取用户实名认证状态",
  7444. "parameters": [
  7445. {
  7446. "type": "integer",
  7447. "description": "用户ID",
  7448. "name": "userID",
  7449. "in": "query",
  7450. "required": true
  7451. }
  7452. ],
  7453. "responses": {
  7454. "200": {
  7455. "description": "OK",
  7456. "schema": {
  7457. "$ref": "#/definitions/app.Response"
  7458. }
  7459. },
  7460. "500": {
  7461. "description": "Internal Server Error",
  7462. "schema": {
  7463. "$ref": "#/definitions/app.Response"
  7464. }
  7465. }
  7466. }
  7467. }
  7468. },
  7469. "/User/LoginQuery": {
  7470. "get": {
  7471. "security": [
  7472. {
  7473. "ApiKeyAuth": []
  7474. }
  7475. ],
  7476. "produces": [
  7477. "application/json"
  7478. ],
  7479. "tags": [
  7480. "用户信息"
  7481. ],
  7482. "summary": "账户登录后信息查询",
  7483. "parameters": [
  7484. {
  7485. "type": "integer",
  7486. "description": "登录账号",
  7487. "name": "loginID",
  7488. "in": "query",
  7489. "required": true
  7490. }
  7491. ],
  7492. "responses": {
  7493. "200": {
  7494. "description": "OK",
  7495. "schema": {
  7496. "$ref": "#/definitions/user.LoginQueryRsp"
  7497. }
  7498. },
  7499. "500": {
  7500. "description": "Internal Server Error",
  7501. "schema": {
  7502. "$ref": "#/definitions/app.Response"
  7503. }
  7504. }
  7505. }
  7506. }
  7507. },
  7508. "/User/QueryMessageBoard": {
  7509. "get": {
  7510. "security": [
  7511. {
  7512. "ApiKeyAuth": []
  7513. }
  7514. ],
  7515. "produces": [
  7516. "application/json"
  7517. ],
  7518. "tags": [
  7519. "用户信息"
  7520. ],
  7521. "summary": "获取用户留言板信息",
  7522. "parameters": [
  7523. {
  7524. "type": "integer",
  7525. "description": "用户ID",
  7526. "name": "userID",
  7527. "in": "query",
  7528. "required": true
  7529. }
  7530. ],
  7531. "responses": {
  7532. "200": {
  7533. "description": "OK",
  7534. "schema": {
  7535. "$ref": "#/definitions/models.Messageboard"
  7536. }
  7537. },
  7538. "500": {
  7539. "description": "Internal Server Error",
  7540. "schema": {
  7541. "$ref": "#/definitions/app.Response"
  7542. }
  7543. }
  7544. }
  7545. }
  7546. },
  7547. "/User/QueryUserFavoriteGoodses": {
  7548. "get": {
  7549. "security": [
  7550. {
  7551. "ApiKeyAuth": []
  7552. }
  7553. ],
  7554. "produces": [
  7555. "application/json"
  7556. ],
  7557. "tags": [
  7558. "用户信息"
  7559. ],
  7560. "summary": "获取用户商品收藏信息",
  7561. "parameters": [
  7562. {
  7563. "type": "integer",
  7564. "description": "用户ID",
  7565. "name": "userID",
  7566. "in": "query",
  7567. "required": true
  7568. }
  7569. ],
  7570. "responses": {
  7571. "200": {
  7572. "description": "OK",
  7573. "schema": {
  7574. "$ref": "#/definitions/models.Userfavoritegoods"
  7575. }
  7576. },
  7577. "500": {
  7578. "description": "Internal Server Error",
  7579. "schema": {
  7580. "$ref": "#/definitions/app.Response"
  7581. }
  7582. }
  7583. }
  7584. }
  7585. },
  7586. "/User/QueryUserInfo": {
  7587. "get": {
  7588. "security": [
  7589. {
  7590. "ApiKeyAuth": []
  7591. }
  7592. ],
  7593. "produces": [
  7594. "application/json"
  7595. ],
  7596. "tags": [
  7597. "用户信息"
  7598. ],
  7599. "summary": "获取用户信息",
  7600. "parameters": [
  7601. {
  7602. "type": "integer",
  7603. "description": "用户ID",
  7604. "name": "userID",
  7605. "in": "query",
  7606. "required": true
  7607. },
  7608. {
  7609. "type": "boolean",
  7610. "description": "是否解密",
  7611. "name": "isDecrypt",
  7612. "in": "query"
  7613. }
  7614. ],
  7615. "responses": {
  7616. "200": {
  7617. "description": "OK",
  7618. "schema": {
  7619. "$ref": "#/definitions/models.Userinfo"
  7620. }
  7621. },
  7622. "500": {
  7623. "description": "Internal Server Error",
  7624. "schema": {
  7625. "$ref": "#/definitions/app.Response"
  7626. }
  7627. }
  7628. }
  7629. }
  7630. },
  7631. "/User/QueryUserReferNum": {
  7632. "get": {
  7633. "produces": [
  7634. "application/json"
  7635. ],
  7636. "tags": [
  7637. "用户信息"
  7638. ],
  7639. "summary": "获取用户邀请码",
  7640. "parameters": [
  7641. {
  7642. "type": "integer",
  7643. "description": "用户ID",
  7644. "name": "userID",
  7645. "in": "query",
  7646. "required": true
  7647. }
  7648. ],
  7649. "responses": {
  7650. "200": {
  7651. "description": "OK",
  7652. "schema": {
  7653. "$ref": "#/definitions/app.Response"
  7654. }
  7655. },
  7656. "500": {
  7657. "description": "Internal Server Error",
  7658. "schema": {
  7659. "$ref": "#/definitions/app.Response"
  7660. }
  7661. }
  7662. }
  7663. }
  7664. },
  7665. "/User/RemoveUserFavoriteGoods": {
  7666. "post": {
  7667. "security": [
  7668. {
  7669. "ApiKeyAuth": []
  7670. }
  7671. ],
  7672. "produces": [
  7673. "application/json"
  7674. ],
  7675. "tags": [
  7676. "用户信息"
  7677. ],
  7678. "summary": "移除用户商品收藏信息",
  7679. "parameters": [
  7680. {
  7681. "type": "integer",
  7682. "description": "用户ID",
  7683. "name": "userID",
  7684. "in": "query",
  7685. "required": true
  7686. },
  7687. {
  7688. "type": "integer",
  7689. "description": "商品ID",
  7690. "name": "goodsID",
  7691. "in": "query",
  7692. "required": true
  7693. }
  7694. ],
  7695. "responses": {
  7696. "200": {
  7697. "description": "OK",
  7698. "schema": {
  7699. "$ref": "#/definitions/app.Response"
  7700. }
  7701. },
  7702. "500": {
  7703. "description": "Internal Server Error",
  7704. "schema": {
  7705. "$ref": "#/definitions/app.Response"
  7706. }
  7707. }
  7708. }
  7709. }
  7710. },
  7711. "/User/UpdateUserAccountStatus": {
  7712. "post": {
  7713. "security": [
  7714. {
  7715. "ApiKeyAuth": []
  7716. }
  7717. ],
  7718. "produces": [
  7719. "application/json"
  7720. ],
  7721. "tags": [
  7722. "用户信息"
  7723. ],
  7724. "summary": "更新用户状态",
  7725. "parameters": [
  7726. {
  7727. "type": "integer",
  7728. "description": "用户ID",
  7729. "name": "userID",
  7730. "in": "query",
  7731. "required": true
  7732. },
  7733. {
  7734. "type": "integer",
  7735. "description": "账户状态 - 4:正常 6:注销(停用)",
  7736. "name": "accountStatus",
  7737. "in": "query",
  7738. "required": true
  7739. }
  7740. ],
  7741. "responses": {
  7742. "200": {
  7743. "description": "OK",
  7744. "schema": {
  7745. "$ref": "#/definitions/app.Response"
  7746. }
  7747. },
  7748. "500": {
  7749. "description": "Internal Server Error",
  7750. "schema": {
  7751. "$ref": "#/definitions/app.Response"
  7752. }
  7753. }
  7754. }
  7755. }
  7756. },
  7757. "/WRTrade/GetAllDeliveryGoods": {
  7758. "get": {
  7759. "security": [
  7760. {
  7761. "ApiKeyAuth": []
  7762. },
  7763. {
  7764. "ApiKeyAuth": []
  7765. }
  7766. ],
  7767. "produces": [
  7768. "application/json",
  7769. "application/json"
  7770. ],
  7771. "tags": [
  7772. "仓单贸易",
  7773. "仓单贸易"
  7774. ],
  7775. "summary": "获取带仓单分类的种类信息",
  7776. "responses": {
  7777. "200": {
  7778. "description": "OK",
  7779. "schema": {
  7780. "$ref": "#/definitions/app.Response"
  7781. }
  7782. },
  7783. "500": {
  7784. "description": "Internal Server Error",
  7785. "schema": {
  7786. "$ref": "#/definitions/app.Response"
  7787. }
  7788. }
  7789. }
  7790. }
  7791. }
  7792. },
  7793. "definitions": {
  7794. "app.Response": {
  7795. "type": "object",
  7796. "properties": {
  7797. "code": {
  7798. "type": "integer"
  7799. },
  7800. "data": {
  7801. "type": "object"
  7802. },
  7803. "msg": {
  7804. "type": "string"
  7805. },
  7806. "page": {
  7807. "description": "页码",
  7808. "type": "integer"
  7809. },
  7810. "pagesize": {
  7811. "description": "每页条数",
  7812. "type": "integer"
  7813. },
  7814. "total": {
  7815. "description": "总条数",
  7816. "type": "integer"
  7817. }
  7818. }
  7819. },
  7820. "common.ClientMenu": {
  7821. "type": "object",
  7822. "properties": {
  7823. "children": {
  7824. "description": "子菜单列表",
  7825. "type": "array",
  7826. "items": {
  7827. "$ref": "#/definitions/common.ClientMenu"
  7828. }
  7829. },
  7830. "code": {
  7831. "description": "ID",
  7832. "type": "string"
  7833. },
  7834. "isshow": {
  7835. "description": "是否显示",
  7836. "type": "boolean"
  7837. },
  7838. "rulekey": {
  7839. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7840. "type": "string"
  7841. },
  7842. "sort": {
  7843. "description": "排序",
  7844. "type": "integer"
  7845. },
  7846. "title": {
  7847. "description": "标题",
  7848. "type": "string"
  7849. },
  7850. "type": {
  7851. "description": "类型,1:菜单 2:按钮",
  7852. "type": "integer"
  7853. }
  7854. }
  7855. },
  7856. "common.QueryImageConfigsRsp": {
  7857. "type": "object",
  7858. "required": [
  7859. "configid"
  7860. ],
  7861. "properties": {
  7862. "areauserid": {
  7863. "description": "所属机构ID",
  7864. "type": "integer"
  7865. },
  7866. "configid": {
  7867. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7868. "type": "integer"
  7869. },
  7870. "createdate": {
  7871. "description": "创建时间",
  7872. "type": "string"
  7873. },
  7874. "creatorid": {
  7875. "description": "创建人",
  7876. "type": "integer"
  7877. },
  7878. "imagepath": {
  7879. "description": "图片",
  7880. "type": "string"
  7881. },
  7882. "imagetype": {
  7883. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7884. "type": "integer"
  7885. },
  7886. "isshow": {
  7887. "description": "是否展示 - 0:不展示 1:展示",
  7888. "type": "integer"
  7889. },
  7890. "marketid": {
  7891. "description": "市场ID",
  7892. "type": "integer"
  7893. },
  7894. "modifierid": {
  7895. "description": "操作人",
  7896. "type": "integer"
  7897. },
  7898. "sort": {
  7899. "description": "排序",
  7900. "type": "integer"
  7901. },
  7902. "title": {
  7903. "description": "标题",
  7904. "type": "string"
  7905. },
  7906. "trademode": {
  7907. "description": "交易模式",
  7908. "type": "integer"
  7909. },
  7910. "updatedate": {
  7911. "description": "修改时间",
  7912. "type": "string"
  7913. },
  7914. "url": {
  7915. "description": "链接(地址或商品ID)",
  7916. "type": "string"
  7917. },
  7918. "urltype": {
  7919. "description": "链接类型 - 1:直接地址 2:商品ID",
  7920. "type": "integer"
  7921. }
  7922. }
  7923. },
  7924. "common.QueryNoticeRsp": {
  7925. "type": "object",
  7926. "required": [
  7927. "autoid"
  7928. ],
  7929. "properties": {
  7930. "auditoruserid": {
  7931. "description": "审核人",
  7932. "type": "integer"
  7933. },
  7934. "auditremark": {
  7935. "description": "审核备注",
  7936. "type": "string"
  7937. },
  7938. "audittime": {
  7939. "description": "审核日期",
  7940. "type": "string"
  7941. },
  7942. "autoid": {
  7943. "description": "自增ID",
  7944. "type": "integer"
  7945. },
  7946. "content": {
  7947. "description": "内容",
  7948. "type": "string"
  7949. },
  7950. "createtime": {
  7951. "description": "创建时间",
  7952. "type": "string"
  7953. },
  7954. "creatorid": {
  7955. "description": "建仓人",
  7956. "type": "integer"
  7957. },
  7958. "endtime": {
  7959. "description": "结束时间",
  7960. "type": "string"
  7961. },
  7962. "istop": {
  7963. "description": "是否置顶 - 0:不置顶 1:置顶",
  7964. "type": "integer"
  7965. },
  7966. "msgiconurl": {
  7967. "description": "消息图标Url",
  7968. "type": "string"
  7969. },
  7970. "msgtype": {
  7971. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7972. "type": "integer"
  7973. },
  7974. "publisher": {
  7975. "description": "消息发布者",
  7976. "type": "string"
  7977. },
  7978. "readed": {
  7979. "description": "是否已读",
  7980. "type": "boolean"
  7981. },
  7982. "scheduletime": {
  7983. "description": "计划发送时间",
  7984. "type": "string"
  7985. },
  7986. "sendtype": {
  7987. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7988. "type": "integer"
  7989. },
  7990. "sentstatus": {
  7991. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7992. "type": "integer"
  7993. },
  7994. "title": {
  7995. "description": "标题",
  7996. "type": "string"
  7997. },
  7998. "userid": {
  7999. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8000. "type": "integer"
  8001. }
  8002. }
  8003. },
  8004. "common.QueryProvincesAndCitiesRsp": {
  8005. "type": "object",
  8006. "properties": {
  8007. "cities": {
  8008. "description": "市",
  8009. "type": "array",
  8010. "items": {
  8011. "$ref": "#/definitions/models.Division"
  8012. }
  8013. },
  8014. "province": {
  8015. "description": "省",
  8016. "type": "object",
  8017. "$ref": "#/definitions/models.Division"
  8018. }
  8019. }
  8020. },
  8021. "common.QueryTableDefineRsp": {
  8022. "type": "object",
  8023. "required": [
  8024. "tablekey"
  8025. ],
  8026. "properties": {
  8027. "columns": {
  8028. "description": "列头信息数组",
  8029. "type": "array",
  8030. "items": {
  8031. "$ref": "#/definitions/models.Tablecolumnconfig"
  8032. }
  8033. },
  8034. "remark": {
  8035. "description": "Remark",
  8036. "type": "string"
  8037. },
  8038. "tabelmenu": {
  8039. "description": "列表菜单",
  8040. "type": "string"
  8041. },
  8042. "tablekey": {
  8043. "description": "列表Key",
  8044. "type": "string"
  8045. },
  8046. "tablename": {
  8047. "description": "列表名称",
  8048. "type": "string"
  8049. },
  8050. "tabletype": {
  8051. "description": "列表类型 - 1:管理端 2:终端",
  8052. "type": "integer"
  8053. }
  8054. }
  8055. },
  8056. "common.QueryTraderMenuRsp": {
  8057. "type": "object",
  8058. "properties": {
  8059. "OperationMenu": {
  8060. "description": "功能菜单",
  8061. "type": "array",
  8062. "items": {
  8063. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8064. }
  8065. },
  8066. "QuoteMenu": {
  8067. "description": "报价牌分类菜单",
  8068. "type": "array",
  8069. "items": {
  8070. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8071. }
  8072. }
  8073. }
  8074. },
  8075. "cptrade.Cptradepositioncancel": {
  8076. "type": "object",
  8077. "required": [
  8078. "cancelid"
  8079. ],
  8080. "properties": {
  8081. "accountid": {
  8082. "description": "申请人账户ID",
  8083. "type": "integer"
  8084. },
  8085. "applystatus": {
  8086. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8087. "type": "integer"
  8088. },
  8089. "applytime": {
  8090. "description": "申请时间",
  8091. "type": "string"
  8092. },
  8093. "cancelid": {
  8094. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8095. "type": "integer"
  8096. },
  8097. "cancelqty": {
  8098. "description": "注销数量",
  8099. "type": "integer"
  8100. },
  8101. "createtime": {
  8102. "description": "创建时间",
  8103. "type": "string"
  8104. },
  8105. "creatorid": {
  8106. "description": "创建人ID",
  8107. "type": "integer"
  8108. },
  8109. "creatorname": {
  8110. "description": "创建人",
  8111. "type": "string"
  8112. },
  8113. "goodscode": {
  8114. "description": "订单商品代码",
  8115. "type": "string"
  8116. },
  8117. "goodsid": {
  8118. "description": "商品ID",
  8119. "type": "integer"
  8120. },
  8121. "goodsname": {
  8122. "description": "订单商品名称",
  8123. "type": "string"
  8124. },
  8125. "goodunit": {
  8126. "description": "报价单位",
  8127. "type": "string"
  8128. },
  8129. "handlestatus": {
  8130. "description": "处理状态",
  8131. "type": "integer"
  8132. },
  8133. "marketid": {
  8134. "description": "市场ID",
  8135. "type": "integer"
  8136. },
  8137. "marketname": {
  8138. "description": "市场名称",
  8139. "type": "string"
  8140. },
  8141. "tradedate": {
  8142. "description": "交易日(yyyyMMdd)",
  8143. "type": "string"
  8144. },
  8145. "userid": {
  8146. "description": "申请人ID",
  8147. "type": "integer"
  8148. }
  8149. }
  8150. },
  8151. "cptrade.Cptradepresaleapply": {
  8152. "type": "object",
  8153. "required": [
  8154. "applyid"
  8155. ],
  8156. "properties": {
  8157. "accountid": {
  8158. "description": "申请人账户ID",
  8159. "type": "integer"
  8160. },
  8161. "applyid": {
  8162. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8163. "type": "integer"
  8164. },
  8165. "applyremark": {
  8166. "description": "申请备注",
  8167. "type": "string"
  8168. },
  8169. "applystatus": {
  8170. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8171. "type": "integer"
  8172. },
  8173. "applytime": {
  8174. "description": "申请时间",
  8175. "type": "string"
  8176. },
  8177. "attachmenturl": {
  8178. "description": "附件地址",
  8179. "type": "string"
  8180. },
  8181. "endtime": {
  8182. "description": "预售结束时间",
  8183. "type": "string"
  8184. },
  8185. "goodscode": {
  8186. "description": "商品代码",
  8187. "type": "string"
  8188. },
  8189. "goodsid": {
  8190. "description": "商品ID",
  8191. "type": "integer"
  8192. },
  8193. "goodsname": {
  8194. "description": "商品名称",
  8195. "type": "string"
  8196. },
  8197. "goodunit": {
  8198. "description": "报价单位",
  8199. "type": "string"
  8200. },
  8201. "handlestatus": {
  8202. "description": "处理状态",
  8203. "type": "integer"
  8204. },
  8205. "marketid": {
  8206. "description": "预售市场ID",
  8207. "type": "integer"
  8208. },
  8209. "marketname": {
  8210. "description": "预售市场名称",
  8211. "type": "string"
  8212. },
  8213. "presaleqty": {
  8214. "description": "预售数量",
  8215. "type": "integer"
  8216. },
  8217. "relatedgoodscode": {
  8218. "description": "关联交易合约代码",
  8219. "type": "string"
  8220. },
  8221. "relatedgoodsid": {
  8222. "description": "关联交易合约ID",
  8223. "type": "integer"
  8224. },
  8225. "relatedgoodsname": {
  8226. "description": "关联交易合约名称",
  8227. "type": "string"
  8228. },
  8229. "starttime": {
  8230. "description": "预售开始时间",
  8231. "type": "string"
  8232. },
  8233. "tradedate": {
  8234. "description": "交易日(yyyyMMdd)",
  8235. "type": "string"
  8236. },
  8237. "trademode": {
  8238. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8239. "type": "integer"
  8240. },
  8241. "userid": {
  8242. "description": "申请人ID",
  8243. "type": "integer"
  8244. }
  8245. }
  8246. },
  8247. "cptrade.Cptradeusergoodsdata": {
  8248. "type": "object",
  8249. "required": [
  8250. "accountid",
  8251. "goodsid"
  8252. ],
  8253. "properties": {
  8254. "EnabledQty": {
  8255. "description": "可用量",
  8256. "type": "integer"
  8257. },
  8258. "GoodsCode": {
  8259. "description": "订单商品代码",
  8260. "type": "string"
  8261. },
  8262. "GoodsName": {
  8263. "description": "订单商品名称",
  8264. "type": "string"
  8265. },
  8266. "WRStandardCode": {
  8267. "description": "仓单标准代码",
  8268. "type": "string"
  8269. },
  8270. "WRStandardName": {
  8271. "description": "仓单标准名称",
  8272. "type": "string"
  8273. },
  8274. "accountid": {
  8275. "description": "账户ID",
  8276. "type": "integer"
  8277. },
  8278. "cancelqty": {
  8279. "description": "注销量",
  8280. "type": "integer"
  8281. },
  8282. "curpresaleqty": {
  8283. "description": "当前预售量",
  8284. "type": "integer"
  8285. },
  8286. "deliveryqty": {
  8287. "description": "交割量",
  8288. "type": "integer"
  8289. },
  8290. "freezeamount": {
  8291. "description": "冻结金额",
  8292. "type": "number"
  8293. },
  8294. "goodsid": {
  8295. "description": "商品ID",
  8296. "type": "integer"
  8297. },
  8298. "goodunit": {
  8299. "description": "报价单位",
  8300. "type": "string"
  8301. },
  8302. "hasspotfreeze": {
  8303. "description": "是否有现货冻结 - 0:否 1:有",
  8304. "type": "integer"
  8305. },
  8306. "inqty": {
  8307. "description": "转入量(总数量)",
  8308. "type": "integer"
  8309. },
  8310. "marketid": {
  8311. "description": "市场ID",
  8312. "type": "integer"
  8313. },
  8314. "presaledamount": {
  8315. "description": "已预售总金额",
  8316. "type": "integer"
  8317. },
  8318. "presaledqty": {
  8319. "description": "已预售量",
  8320. "type": "integer"
  8321. },
  8322. "userid": {
  8323. "description": "用户ID",
  8324. "type": "integer"
  8325. },
  8326. "wrstandardid": {
  8327. "description": "仓单标准ID",
  8328. "type": "integer"
  8329. }
  8330. }
  8331. },
  8332. "cptrade.QueryCPTradeMyBidRsp": {
  8333. "type": "object",
  8334. "required": [
  8335. "accountid",
  8336. "goodsid",
  8337. "marketid",
  8338. "orderid",
  8339. "orderqty",
  8340. "ordertime",
  8341. "tradeprice",
  8342. "tradeqty"
  8343. ],
  8344. "properties": {
  8345. "accountid": {
  8346. "description": "账户ID[报价币种]",
  8347. "type": "integer"
  8348. },
  8349. "goodsid": {
  8350. "description": "商品ID",
  8351. "type": "integer"
  8352. },
  8353. "goodunit": {
  8354. "description": "报价单位",
  8355. "type": "string"
  8356. },
  8357. "marketid": {
  8358. "description": "市场ID",
  8359. "type": "integer"
  8360. },
  8361. "orderid": {
  8362. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8363. "type": "integer"
  8364. },
  8365. "orderprice": {
  8366. "description": "委托价格",
  8367. "type": "number"
  8368. },
  8369. "orderqty": {
  8370. "description": "委托数量",
  8371. "type": "integer"
  8372. },
  8373. "ordertime": {
  8374. "description": "委托时间",
  8375. "type": "string"
  8376. },
  8377. "ordertotalprice": {
  8378. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8379. "type": "number"
  8380. },
  8381. "ordertotalweight": {
  8382. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8383. "type": "integer"
  8384. },
  8385. "totaltotalprice": {
  8386. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8387. "type": "number"
  8388. },
  8389. "tradeprice": {
  8390. "description": "成交价格",
  8391. "type": "number"
  8392. },
  8393. "tradeqty": {
  8394. "description": "成交数量",
  8395. "type": "integer"
  8396. }
  8397. }
  8398. },
  8399. "cptrade.QueryCPTradeOrderDetailRsq": {
  8400. "type": "object",
  8401. "required": [
  8402. "accountid",
  8403. "buildtype",
  8404. "buyorsell",
  8405. "goodsid",
  8406. "marketid",
  8407. "memberuserid",
  8408. "operatetype",
  8409. "orderqty",
  8410. "ordertime",
  8411. "pricemode",
  8412. "strorderid",
  8413. "tradedate",
  8414. "validtype"
  8415. ],
  8416. "properties": {
  8417. "accountid": {
  8418. "description": "账户ID[报价币种]",
  8419. "type": "integer"
  8420. },
  8421. "buildtype": {
  8422. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8423. "type": "integer"
  8424. },
  8425. "buyorsell": {
  8426. "description": "买卖 - 0:买 1:卖",
  8427. "type": "integer"
  8428. },
  8429. "cancelorderid": {
  8430. "description": "撤单单号(撤单时填写)",
  8431. "type": "integer"
  8432. },
  8433. "cancelqty": {
  8434. "description": "撤单数量",
  8435. "type": "integer"
  8436. },
  8437. "clientordertime": {
  8438. "description": "客户端委托时间",
  8439. "type": "string"
  8440. },
  8441. "clientticket": {
  8442. "description": "客户端流水号",
  8443. "type": "string"
  8444. },
  8445. "clienttype": {
  8446. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8447. "type": "integer"
  8448. },
  8449. "closeexchagechargevalue": {
  8450. "description": "平仓交易所手续费设置值",
  8451. "type": "number"
  8452. },
  8453. "closefeealgorithm": {
  8454. "description": "平仓手续费收取方式 1:比率 2:固定",
  8455. "type": "integer"
  8456. },
  8457. "closefreezecharge": {
  8458. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8459. "type": "number"
  8460. },
  8461. "closememberchargevalue": {
  8462. "description": "平仓会员手续费设置值",
  8463. "type": "number"
  8464. },
  8465. "closeqty": {
  8466. "description": "平仓数量(先建后平操作 需要记录)",
  8467. "type": "integer"
  8468. },
  8469. "closetradeqty": {
  8470. "description": "平仓成交数量(先建后平操作,需要记录)",
  8471. "type": "integer"
  8472. },
  8473. "closeunfreezecharge": {
  8474. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8475. "type": "number"
  8476. },
  8477. "delistingtype": {
  8478. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8479. "type": "integer"
  8480. },
  8481. "freezecharge": {
  8482. "description": "冻结手续费",
  8483. "type": "number"
  8484. },
  8485. "freezemargin": {
  8486. "description": "冻结保证金(冻结交易金额)",
  8487. "type": "number"
  8488. },
  8489. "gcaccountid": {
  8490. "description": "账户ID[合约币种]",
  8491. "type": "integer"
  8492. },
  8493. "goodsid": {
  8494. "description": "商品ID",
  8495. "type": "integer"
  8496. },
  8497. "isconfirmexercise": {
  8498. "description": "是否确认行权- 0:否 1:是",
  8499. "type": "integer"
  8500. },
  8501. "ispreexercise": {
  8502. "description": "是否预申报- 0:否 1:是",
  8503. "type": "integer"
  8504. },
  8505. "listingselecttype": {
  8506. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8507. "type": "integer"
  8508. },
  8509. "marginalgorithm": {
  8510. "description": "保证金收取方式 1:比率 2:固定",
  8511. "type": "integer"
  8512. },
  8513. "marginvalue": {
  8514. "description": "即市保证金设置值",
  8515. "type": "number"
  8516. },
  8517. "marketid": {
  8518. "description": "市场ID",
  8519. "type": "integer"
  8520. },
  8521. "marketmaxsub": {
  8522. "description": "市价最大偏移范围",
  8523. "type": "number"
  8524. },
  8525. "memberuserid": {
  8526. "description": "所属会员UserID",
  8527. "type": "integer"
  8528. },
  8529. "openexchagechargevalue": {
  8530. "description": "建仓交易所手续费设置值",
  8531. "type": "number"
  8532. },
  8533. "openfeealgorithm": {
  8534. "description": "建仓手续费收取方式 1:比率 2:固定",
  8535. "type": "integer"
  8536. },
  8537. "openfreezecharge": {
  8538. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8539. "type": "number"
  8540. },
  8541. "openmemberchargevalue": {
  8542. "description": "建仓会员手续费设置值",
  8543. "type": "number"
  8544. },
  8545. "openqty": {
  8546. "description": "开仓数量(先建后平操作,需要记录)",
  8547. "type": "integer"
  8548. },
  8549. "opentradeqty": {
  8550. "description": "开仓成交数量(先建后平操作,需要记录)",
  8551. "type": "integer"
  8552. },
  8553. "openunfreezecharge": {
  8554. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8555. "type": "number"
  8556. },
  8557. "operatetype": {
  8558. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8559. "type": "integer"
  8560. },
  8561. "operatorid": {
  8562. "description": "登录账号(LoginID)",
  8563. "type": "integer"
  8564. },
  8565. "optiontype": {
  8566. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8567. "type": "integer"
  8568. },
  8569. "orderprice": {
  8570. "description": "委托价格",
  8571. "type": "number"
  8572. },
  8573. "orderqty": {
  8574. "description": "委托数量",
  8575. "type": "integer"
  8576. },
  8577. "ordersrc": {
  8578. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8579. "type": "integer"
  8580. },
  8581. "orderstatus": {
  8582. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8583. "type": "integer"
  8584. },
  8585. "ordertime": {
  8586. "description": "委托时间",
  8587. "type": "string"
  8588. },
  8589. "preexerciseprice": {
  8590. "description": "预申报价格",
  8591. "type": "number"
  8592. },
  8593. "premium": {
  8594. "description": "权利金",
  8595. "type": "number"
  8596. },
  8597. "preorderid": {
  8598. "description": "关联预埋单号(止盈止损单时填写)",
  8599. "type": "integer"
  8600. },
  8601. "pricemode": {
  8602. "description": "取价方式 - 1:市价 2: 限价",
  8603. "type": "integer"
  8604. },
  8605. "quoteid": {
  8606. "description": "报价单ID",
  8607. "type": "integer"
  8608. },
  8609. "relatedid": {
  8610. "description": "关联单号(交割单)",
  8611. "type": "integer"
  8612. },
  8613. "retcode": {
  8614. "description": "错误代码",
  8615. "type": "integer"
  8616. },
  8617. "sessionid": {
  8618. "description": "会话ID",
  8619. "type": "integer"
  8620. },
  8621. "strorderid": {
  8622. "description": "委托单号",
  8623. "type": "string"
  8624. },
  8625. "tradedate": {
  8626. "description": "交易日(yyyyMMdd)",
  8627. "type": "string"
  8628. },
  8629. "tradeproperty": {
  8630. "description": "交易属性",
  8631. "type": "integer"
  8632. },
  8633. "tradeqty": {
  8634. "description": "成交数量",
  8635. "type": "integer"
  8636. },
  8637. "unfreezecharge": {
  8638. "description": "解冻手续费",
  8639. "type": "number"
  8640. },
  8641. "unfreezemargin": {
  8642. "description": "解冻保证金",
  8643. "type": "number"
  8644. },
  8645. "updatetime": {
  8646. "description": "更新时间",
  8647. "type": "string"
  8648. },
  8649. "uuid": {
  8650. "description": "发起端唯一id",
  8651. "type": "string"
  8652. },
  8653. "validtime": {
  8654. "description": "有效期限",
  8655. "type": "string"
  8656. },
  8657. "validtype": {
  8658. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8659. "type": "integer"
  8660. },
  8661. "volumetype": {
  8662. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8663. "type": "integer"
  8664. }
  8665. }
  8666. },
  8667. "cptrade.QueryMyCPTradeGoodsRsp": {
  8668. "type": "object",
  8669. "required": [
  8670. "goodscode",
  8671. "goodsid",
  8672. "goodsname",
  8673. "marketid",
  8674. "relatedgoodscode",
  8675. "relatedgoodsname"
  8676. ],
  8677. "properties": {
  8678. "accountid": {
  8679. "description": "卖方账户ID",
  8680. "type": "integer"
  8681. },
  8682. "agreeunit": {
  8683. "description": "合约单位",
  8684. "type": "number"
  8685. },
  8686. "applyid": {
  8687. "description": "关联申请ID",
  8688. "type": "integer"
  8689. },
  8690. "attachmenturl": {
  8691. "description": "附件地址",
  8692. "type": "string"
  8693. },
  8694. "createtime": {
  8695. "description": "创建时间",
  8696. "type": "string"
  8697. },
  8698. "currencyid": {
  8699. "description": "报价货币ID",
  8700. "type": "integer"
  8701. },
  8702. "decimalplace": {
  8703. "description": "报价小数位",
  8704. "type": "integer"
  8705. },
  8706. "endtime": {
  8707. "description": "预售结束时间",
  8708. "type": "string"
  8709. },
  8710. "floorprice": {
  8711. "description": "底价[大宗式竞拍]",
  8712. "type": "number"
  8713. },
  8714. "goodscode": {
  8715. "description": "商品代码(预售)",
  8716. "type": "string"
  8717. },
  8718. "goodsdetail": {
  8719. "description": "详情[大宗]",
  8720. "type": "string"
  8721. },
  8722. "goodsid": {
  8723. "description": "商品ID(自增ID SEQ_GOODS)",
  8724. "type": "integer"
  8725. },
  8726. "goodsname": {
  8727. "description": "商品名称(预售)",
  8728. "type": "string"
  8729. },
  8730. "goodunit": {
  8731. "description": "报价单位",
  8732. "type": "string"
  8733. },
  8734. "goodunitid": {
  8735. "description": "报价单位ID",
  8736. "type": "integer"
  8737. },
  8738. "marketid": {
  8739. "description": "所属市场ID",
  8740. "type": "integer"
  8741. },
  8742. "marketname": {
  8743. "description": "预售市场名称",
  8744. "type": "string"
  8745. },
  8746. "presaledamount": {
  8747. "description": "已预售总金额(预售结束时更新)",
  8748. "type": "number"
  8749. },
  8750. "presaledqty": {
  8751. "description": "已预售量(预售结束时更新)",
  8752. "type": "integer"
  8753. },
  8754. "presalemode": {
  8755. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8756. "type": "integer"
  8757. },
  8758. "presaleqty": {
  8759. "description": "预售数量",
  8760. "type": "integer"
  8761. },
  8762. "refprice": {
  8763. "description": "参考价格[一口价]",
  8764. "type": "number"
  8765. },
  8766. "relatedgoodscode": {
  8767. "description": "商品代码(订单)",
  8768. "type": "string"
  8769. },
  8770. "relatedgoodsid": {
  8771. "description": "关联交易合约ID",
  8772. "type": "integer"
  8773. },
  8774. "relatedgoodsname": {
  8775. "description": "商品名称(订单)",
  8776. "type": "string"
  8777. },
  8778. "relatedmarketid": {
  8779. "description": "关联交易合约市场ID",
  8780. "type": "integer"
  8781. },
  8782. "sellstatus": {
  8783. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8784. "type": "integer"
  8785. },
  8786. "startprice": {
  8787. "description": "起拍价[大宗式竞拍]",
  8788. "type": "number"
  8789. },
  8790. "starttime": {
  8791. "description": "预售开始时间",
  8792. "type": "string"
  8793. },
  8794. "tradedate": {
  8795. "description": "交易日(yyyyMMdd)",
  8796. "type": "string"
  8797. },
  8798. "tradeprice": {
  8799. "description": "成交价[大宗]",
  8800. "type": "number"
  8801. },
  8802. "userid": {
  8803. "description": "卖方用户ID",
  8804. "type": "integer"
  8805. }
  8806. }
  8807. },
  8808. "cptrade.QueryPresaleGoodsExRsp": {
  8809. "type": "object",
  8810. "required": [
  8811. "goodsid"
  8812. ],
  8813. "properties": {
  8814. "attachmenturl": {
  8815. "description": "附件地址",
  8816. "type": "string"
  8817. },
  8818. "createtime": {
  8819. "description": "创建时间",
  8820. "type": "string"
  8821. },
  8822. "endtime": {
  8823. "description": "预售结束时间",
  8824. "type": "string"
  8825. },
  8826. "floorprice": {
  8827. "description": "底价[大宗式竞拍]",
  8828. "type": "number"
  8829. },
  8830. "goodsdetail": {
  8831. "description": "详情[大宗]",
  8832. "type": "string"
  8833. },
  8834. "goodsid": {
  8835. "description": "商品ID(预售)",
  8836. "type": "integer"
  8837. },
  8838. "goodunit": {
  8839. "description": "报价单位",
  8840. "type": "string"
  8841. },
  8842. "marketid": {
  8843. "description": "预售市场ID - 根据预售模式选择市场",
  8844. "type": "integer"
  8845. },
  8846. "presaledamount": {
  8847. "description": "已预售总金额(预售结束时更新)",
  8848. "type": "number"
  8849. },
  8850. "presaledqty": {
  8851. "description": "已预售量(预售结束时更新)",
  8852. "type": "integer"
  8853. },
  8854. "presalemode": {
  8855. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8856. "type": "integer"
  8857. },
  8858. "presaleqty": {
  8859. "description": "预售数量",
  8860. "type": "integer"
  8861. },
  8862. "refprice": {
  8863. "description": "参考价格[一口价]",
  8864. "type": "number"
  8865. },
  8866. "relatedgoodsid": {
  8867. "description": "关联交易合约ID",
  8868. "type": "integer"
  8869. },
  8870. "relatedmarketid": {
  8871. "description": "关联交易合约市场ID",
  8872. "type": "integer"
  8873. },
  8874. "sellstatus": {
  8875. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8876. "type": "integer"
  8877. },
  8878. "startprice": {
  8879. "description": "起拍价[大宗式竞拍]",
  8880. "type": "number"
  8881. },
  8882. "starttime": {
  8883. "description": "预售开始时间",
  8884. "type": "string"
  8885. },
  8886. "tradedate": {
  8887. "description": "交易日(yyyyMMdd)",
  8888. "type": "string"
  8889. },
  8890. "tradeprice": {
  8891. "description": "成交价[大宗]",
  8892. "type": "number"
  8893. }
  8894. }
  8895. },
  8896. "delivery.QueryDeliveryRelationRsp": {
  8897. "type": "object",
  8898. "required": [
  8899. "begindate",
  8900. "enddate",
  8901. "goodsid",
  8902. "mindeliveryqty",
  8903. "xdeliveryratio"
  8904. ],
  8905. "properties": {
  8906. "begindate": {
  8907. "description": "起始日期(yyyyMMdd)",
  8908. "type": "string"
  8909. },
  8910. "buytemplateid": {
  8911. "description": "买履约计划模板ID",
  8912. "type": "integer"
  8913. },
  8914. "deliverygoodscode": {
  8915. "description": "品种代码",
  8916. "type": "string"
  8917. },
  8918. "deliverygoodsid": {
  8919. "description": "交割商品",
  8920. "type": "integer"
  8921. },
  8922. "deliverygoodsname": {
  8923. "description": "品种名称",
  8924. "type": "string"
  8925. },
  8926. "deliverymode": {
  8927. "description": "交割方式 - 1:点选式 2:申报式",
  8928. "type": "integer"
  8929. },
  8930. "deliverypricerule": {
  8931. "description": "交割价规则- 1:行情价 2:建仓价",
  8932. "type": "integer"
  8933. },
  8934. "deliverytype": {
  8935. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8936. "type": "integer"
  8937. },
  8938. "enddate": {
  8939. "description": "结束日期(yyyyMMdd)",
  8940. "type": "string"
  8941. },
  8942. "goodscode": {
  8943. "description": "商品代码",
  8944. "type": "string"
  8945. },
  8946. "goodsid": {
  8947. "description": "交易合约ID",
  8948. "type": "integer"
  8949. },
  8950. "goodsname": {
  8951. "description": "商品名称",
  8952. "type": "string"
  8953. },
  8954. "marketid": {
  8955. "description": "市场ID",
  8956. "type": "integer"
  8957. },
  8958. "mindeliveryqty": {
  8959. "description": "最小交割系数(K)",
  8960. "type": "integer"
  8961. },
  8962. "p2deliveryprice": {
  8963. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8964. "type": "number"
  8965. },
  8966. "p2deliveryratio": {
  8967. "description": "P2合约系数(p)",
  8968. "type": "integer"
  8969. },
  8970. "p2goodsid": {
  8971. "description": "P2合约ID",
  8972. "type": "integer"
  8973. },
  8974. "p2pricemode": {
  8975. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8976. "type": "integer"
  8977. },
  8978. "pdeliveryprice": {
  8979. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8980. "type": "number"
  8981. },
  8982. "pdeliveryratio": {
  8983. "description": "P合约系数(n)",
  8984. "type": "integer"
  8985. },
  8986. "pgoodsid": {
  8987. "description": "P合约ID",
  8988. "type": "integer"
  8989. },
  8990. "ppricemode": {
  8991. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8992. "type": "integer"
  8993. },
  8994. "rratio": {
  8995. "description": "兑换系数(R)",
  8996. "type": "integer"
  8997. },
  8998. "rratio1": {
  8999. "description": "兑换系数(交易合约)(R1)",
  9000. "type": "integer"
  9001. },
  9002. "rratio2": {
  9003. "description": "兑换系数(仓单标准)(R2)",
  9004. "type": "integer"
  9005. },
  9006. "selltemplateid": {
  9007. "description": "卖履约计划模板ID",
  9008. "type": "integer"
  9009. },
  9010. "wrstandardid": {
  9011. "description": "仓单标准ID",
  9012. "type": "integer"
  9013. },
  9014. "xdeliveryratio": {
  9015. "description": "交易合约系数(m)",
  9016. "type": "integer"
  9017. }
  9018. }
  9019. },
  9020. "ermcp.ExposureDetailRsp": {
  9021. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9022. },
  9023. "ermcp.ExposureHedgePosDetailRsp": {
  9024. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9025. },
  9026. "ermcp.ExposureHedgePositionRsp": {
  9027. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9028. },
  9029. "ermcp.ExposureSpotDetailRsp": {
  9030. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9031. },
  9032. "ermcp.ExposureSpotRsp": {
  9033. "$ref": "#/definitions/models.AreaSpotModel"
  9034. },
  9035. "ermcp.HisExposureRsp": {
  9036. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9037. },
  9038. "ermcp.PendingAuditCntRsp": {
  9039. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9040. },
  9041. "ermcp.QryAvalidGPRsp": {
  9042. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9043. },
  9044. "ermcp.QryGGCovertCfgRsp": {
  9045. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9046. },
  9047. "ermcp.QryMGChangeLogRsp": {
  9048. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9049. },
  9050. "ermcp.QryMiddleGoodsDetailRsp": {
  9051. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9052. },
  9053. "ermcp.QryMiddleGoodsRsp": {
  9054. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9055. },
  9056. "ermcp.QryOPLogRsp": {
  9057. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9058. },
  9059. "ermcp.QryUserInfoRsp": {
  9060. "$ref": "#/definitions/models.ErmcpUserModel"
  9061. },
  9062. "ermcp.QryWarehouseRsp": {
  9063. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9064. },
  9065. "ermcp.QueryErmcpTradePositionRsp": {
  9066. "type": "object",
  9067. "properties": {
  9068. "agreeunit": {
  9069. "description": "合约单位",
  9070. "type": "number"
  9071. },
  9072. "buyorsell": {
  9073. "description": "方向 - 0:买 1:卖",
  9074. "type": "integer"
  9075. },
  9076. "curpositionqty": {
  9077. "description": "持仓(总仓数量, 期末头寸)",
  9078. "type": "integer"
  9079. },
  9080. "curtdposition": {
  9081. "description": "今仓数量(期末今日头寸)",
  9082. "type": "integer"
  9083. },
  9084. "curtdpositionenabled": {
  9085. "description": "今仓可用",
  9086. "type": "integer"
  9087. },
  9088. "decimalplace": {
  9089. "description": "报价小数位",
  9090. "type": "integer"
  9091. },
  9092. "enableqty": {
  9093. "description": "可用(总仓可用)",
  9094. "type": "integer"
  9095. },
  9096. "exexchangename": {
  9097. "description": "外部交易所名称",
  9098. "type": "string"
  9099. },
  9100. "goodscode": {
  9101. "description": "商品代码(内部)",
  9102. "type": "string"
  9103. },
  9104. "goodsid": {
  9105. "description": "商品ID(自增ID SEQ_GOODS)",
  9106. "type": "integer"
  9107. },
  9108. "goodsname": {
  9109. "description": "商品名称",
  9110. "type": "string"
  9111. },
  9112. "last": {
  9113. "description": "现价",
  9114. "type": "number"
  9115. },
  9116. "marketid": {
  9117. "description": "所属市场ID",
  9118. "type": "integer"
  9119. },
  9120. "openaverageprice": {
  9121. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9122. "type": "number"
  9123. },
  9124. "opencost": {
  9125. "description": "开仓成本",
  9126. "type": "number"
  9127. },
  9128. "openpl": {
  9129. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9130. "type": "number"
  9131. },
  9132. "outgoodscode": {
  9133. "description": "商品代码(外部)",
  9134. "type": "string"
  9135. },
  9136. "positionaverageprice": {
  9137. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9138. "type": "number"
  9139. },
  9140. "positioncost": {
  9141. "description": "持仓成本",
  9142. "type": "number"
  9143. },
  9144. "positionpl": {
  9145. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9146. "type": "number"
  9147. },
  9148. "positionplrate": {
  9149. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9150. "type": "number"
  9151. },
  9152. "usedmargin": {
  9153. "description": "占用保证金",
  9154. "type": "number"
  9155. }
  9156. }
  9157. },
  9158. "ermcp.RealtimeExposurePositionRsp": {
  9159. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9160. },
  9161. "ermcp.RealtimeExposureRsp": {
  9162. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9163. },
  9164. "erms2.QueryArbitrageStrategyRsp": {
  9165. "type": "object",
  9166. "required": [
  9167. "asapplyid"
  9168. ],
  9169. "properties": {
  9170. "applybasis": {
  9171. "description": "申请基差",
  9172. "type": "number"
  9173. },
  9174. "asapplyid": {
  9175. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9176. "type": "string"
  9177. },
  9178. "asname": {
  9179. "description": "策略名称",
  9180. "type": "string"
  9181. },
  9182. "asno": {
  9183. "description": "策略编号",
  9184. "type": "string"
  9185. },
  9186. "basischangepl": {
  9187. "description": "基差变动损益[结算更新]",
  9188. "type": "number"
  9189. },
  9190. "biztype": {
  9191. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9192. "type": "integer"
  9193. },
  9194. "closetradedate": {
  9195. "description": "完结交易日(yyyyMMdd)",
  9196. "type": "string"
  9197. },
  9198. "curbasis": {
  9199. "description": "当前基差[结算更新]",
  9200. "type": "number"
  9201. },
  9202. "deliverygoodsid": {
  9203. "description": "现货品种ID",
  9204. "type": "integer"
  9205. },
  9206. "futureavgprice": {
  9207. "description": "期货建仓均价",
  9208. "type": "number"
  9209. },
  9210. "futurecloseamount": {
  9211. "description": "期货平仓金额",
  9212. "type": "number"
  9213. },
  9214. "futurecloseqty": {
  9215. "description": "期货平仓数量",
  9216. "type": "number"
  9217. },
  9218. "futureopenamount": {
  9219. "description": "期货开仓金额",
  9220. "type": "number"
  9221. },
  9222. "futureopenqty": {
  9223. "description": "期货开仓数量",
  9224. "type": "number"
  9225. },
  9226. "futurepl": {
  9227. "description": "期货总盈亏[结算更新]",
  9228. "type": "number"
  9229. },
  9230. "futureqty": {
  9231. "description": "期货持仓数量",
  9232. "type": "number"
  9233. },
  9234. "futurequote": {
  9235. "description": "期货额度",
  9236. "type": "number"
  9237. },
  9238. "goodsgroupid": {
  9239. "description": "期货品种ID",
  9240. "type": "integer"
  9241. },
  9242. "marketid": {
  9243. "description": "市场ID",
  9244. "type": "integer"
  9245. },
  9246. "netexposure": {
  9247. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9248. "type": "number"
  9249. },
  9250. "netexposurepl": {
  9251. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9252. "type": "number"
  9253. },
  9254. "netexposurerate": {
  9255. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9256. "type": "number"
  9257. },
  9258. "openbasis": {
  9259. "description": "建仓基差",
  9260. "type": "number"
  9261. },
  9262. "pricedspotqty": {
  9263. "description": "已定价现货数量",
  9264. "type": "number"
  9265. },
  9266. "pricedspotqtynotax": {
  9267. "description": "已定价现货不含税数量",
  9268. "type": "number"
  9269. },
  9270. "remark": {
  9271. "description": "备注",
  9272. "type": "string"
  9273. },
  9274. "spotavgprice": {
  9275. "description": "现货均价",
  9276. "type": "number"
  9277. },
  9278. "spotbuyamount": {
  9279. "description": "现货采购金额",
  9280. "type": "number"
  9281. },
  9282. "spotbuyqty": {
  9283. "description": "现货采购数量",
  9284. "type": "number"
  9285. },
  9286. "spotpl": {
  9287. "description": "现货总盈亏[结算更新]",
  9288. "type": "number"
  9289. },
  9290. "spotquota": {
  9291. "description": "现货额度",
  9292. "type": "number"
  9293. },
  9294. "spotsellamount": {
  9295. "description": "现货销售金额",
  9296. "type": "number"
  9297. },
  9298. "spotsellqty": {
  9299. "description": "现货销售数量",
  9300. "type": "number"
  9301. },
  9302. "spotusedquota": {
  9303. "description": "现货占用资金",
  9304. "type": "number"
  9305. },
  9306. "strategystatus": {
  9307. "description": "策略状态 - 0:未结束 1:已结束",
  9308. "type": "integer"
  9309. },
  9310. "totalpl": {
  9311. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9312. "type": "number"
  9313. },
  9314. "tradedate": {
  9315. "description": "交易日(yyyyMMdd)",
  9316. "type": "string"
  9317. },
  9318. "updatetime": {
  9319. "description": "更新时间",
  9320. "type": "string"
  9321. },
  9322. "usedquota": {
  9323. "description": "已占用资金",
  9324. "type": "number"
  9325. },
  9326. "userid": {
  9327. "description": "所属机构",
  9328. "type": "integer"
  9329. }
  9330. }
  9331. },
  9332. "erms2.QueryInnerTradeDetailRsp": {
  9333. "type": "object",
  9334. "required": [
  9335. "asapplyid",
  9336. "buyorsell",
  9337. "goodscode",
  9338. "goodsgroupid",
  9339. "goodsgroupname",
  9340. "goodsname",
  9341. "tradeid"
  9342. ],
  9343. "properties": {
  9344. "accountid": {
  9345. "description": "账号ID",
  9346. "type": "integer"
  9347. },
  9348. "agreeunit": {
  9349. "description": "合约单位",
  9350. "type": "number"
  9351. },
  9352. "asapplyid": {
  9353. "description": "策略申请ID",
  9354. "type": "integer"
  9355. },
  9356. "asname": {
  9357. "description": "策略名称",
  9358. "type": "string"
  9359. },
  9360. "asno": {
  9361. "description": "策略编号",
  9362. "type": "string"
  9363. },
  9364. "buyorsell": {
  9365. "description": "方向 - 0:买 1:卖",
  9366. "type": "integer"
  9367. },
  9368. "channelbuildtype": {
  9369. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9370. "type": "integer"
  9371. },
  9372. "closetype": {
  9373. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9374. "type": "integer"
  9375. },
  9376. "decimalplace": {
  9377. "description": "报价小数位",
  9378. "type": "integer"
  9379. },
  9380. "detailtype": {
  9381. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9382. "type": "integer"
  9383. },
  9384. "exexchangecode": {
  9385. "description": "外部交易所代码",
  9386. "type": "string"
  9387. },
  9388. "exexchangename": {
  9389. "description": "外部交易所名称",
  9390. "type": "string"
  9391. },
  9392. "goodscode": {
  9393. "description": "商品代码(合约)",
  9394. "type": "string"
  9395. },
  9396. "goodsgroupid": {
  9397. "description": "商品组ID(品种ID)",
  9398. "type": "integer"
  9399. },
  9400. "goodsgroupname": {
  9401. "description": "商品组名称(品种)",
  9402. "type": "string"
  9403. },
  9404. "goodsid": {
  9405. "description": "商品ID",
  9406. "type": "integer"
  9407. },
  9408. "goodsname": {
  9409. "description": "商品名称(合约)",
  9410. "type": "string"
  9411. },
  9412. "goodunit": {
  9413. "description": "报价单位",
  9414. "type": "string"
  9415. },
  9416. "marketid": {
  9417. "description": "市场ID",
  9418. "type": "integer"
  9419. },
  9420. "orderid": {
  9421. "description": "委托单号",
  9422. "type": "string"
  9423. },
  9424. "outgoodscode": {
  9425. "description": "商品代码(外部)",
  9426. "type": "string"
  9427. },
  9428. "relatedouttradeid": {
  9429. "description": "关联外部成交单ID",
  9430. "type": "string"
  9431. },
  9432. "remark": {
  9433. "description": "备注",
  9434. "type": "string"
  9435. },
  9436. "spotcontractid": {
  9437. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9438. "type": "integer"
  9439. },
  9440. "spotcontractno": {
  9441. "description": "现货合同编号",
  9442. "type": "string"
  9443. },
  9444. "tradeid": {
  9445. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9446. "type": "string"
  9447. },
  9448. "tradeprice": {
  9449. "description": "成交价格",
  9450. "type": "number"
  9451. },
  9452. "tradeqty": {
  9453. "description": "成交数量",
  9454. "type": "integer"
  9455. },
  9456. "tradetime": {
  9457. "description": "成交时间",
  9458. "type": "string"
  9459. },
  9460. "updatetime": {
  9461. "description": "更新时间",
  9462. "type": "string"
  9463. }
  9464. }
  9465. },
  9466. "erms2.QuerySpotContractRsp": {
  9467. "type": "object",
  9468. "required": [
  9469. "spotcontractid"
  9470. ],
  9471. "properties": {
  9472. "accountid": {
  9473. "description": "资金账户ID",
  9474. "type": "integer"
  9475. },
  9476. "areauserid": {
  9477. "description": "所属机构",
  9478. "type": "integer"
  9479. },
  9480. "closedate": {
  9481. "description": "终止日期",
  9482. "type": "string"
  9483. },
  9484. "closeremark": {
  9485. "description": "结束备注",
  9486. "type": "string"
  9487. },
  9488. "closetradedate": {
  9489. "description": "完结交易日(yyyyMMdd)",
  9490. "type": "string"
  9491. },
  9492. "closetype": {
  9493. "description": "终止类型 - 1:违约 2:提前终止",
  9494. "type": "integer"
  9495. },
  9496. "contractamount": {
  9497. "description": "合同金额",
  9498. "type": "number"
  9499. },
  9500. "contractattachment": {
  9501. "description": "合同附件",
  9502. "type": "string"
  9503. },
  9504. "contractno": {
  9505. "description": "现货合同编号",
  9506. "type": "string"
  9507. },
  9508. "contractqty": {
  9509. "description": "合同数量(数值) (用于计算)",
  9510. "type": "number"
  9511. },
  9512. "contractqtychar": {
  9513. "description": "合同数量\\已订价数量 (用于显示)",
  9514. "type": "string"
  9515. },
  9516. "contractstatus": {
  9517. "description": "合同状态 - 0:未结束 1:已结束",
  9518. "type": "integer"
  9519. },
  9520. "contracttype": {
  9521. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9522. "type": "integer"
  9523. },
  9524. "customeraccountid": {
  9525. "description": "客户资金账户ID",
  9526. "type": "integer"
  9527. },
  9528. "customeruserid": {
  9529. "description": "客户ID",
  9530. "type": "integer"
  9531. },
  9532. "deliverygoodsdesc": {
  9533. "description": "品种说明",
  9534. "type": "string"
  9535. },
  9536. "deliverygoodsid": {
  9537. "description": "现货品种ID",
  9538. "type": "integer"
  9539. },
  9540. "handlestatus": {
  9541. "description": "处理状态",
  9542. "type": "integer"
  9543. },
  9544. "invoiceatt": {
  9545. "description": "发票附件",
  9546. "type": "string"
  9547. },
  9548. "invoicedatetime": {
  9549. "description": "开收票更新时间",
  9550. "type": "string"
  9551. },
  9552. "invoiceopentime": {
  9553. "description": "开票时间",
  9554. "type": "string"
  9555. },
  9556. "invoiceremark": {
  9557. "description": "发票备注",
  9558. "type": "string"
  9559. },
  9560. "invoicestatus": {
  9561. "description": "开收票状态 - 0:未开票 1:已开票",
  9562. "type": "integer"
  9563. },
  9564. "lastdate": {
  9565. "description": "交货时间",
  9566. "type": "string"
  9567. },
  9568. "marketid": {
  9569. "description": "市场ID",
  9570. "type": "integer"
  9571. },
  9572. "paydatetime": {
  9573. "description": "收付款更新时间",
  9574. "type": "string"
  9575. },
  9576. "payremark": {
  9577. "description": "收付款备注",
  9578. "type": "string"
  9579. },
  9580. "paystatus": {
  9581. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9582. "type": "integer"
  9583. },
  9584. "positionqty": {
  9585. "description": "头寸数量 - 合同数量去小数部分",
  9586. "type": "integer"
  9587. },
  9588. "producttype": {
  9589. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9590. "type": "integer"
  9591. },
  9592. "relatedqty": {
  9593. "description": "已关联数量",
  9594. "type": "number"
  9595. },
  9596. "relatedstatus": {
  9597. "description": "关联完结状态 - 0:未结束 1:已结束",
  9598. "type": "integer"
  9599. },
  9600. "remark": {
  9601. "description": "备注",
  9602. "type": "string"
  9603. },
  9604. "signdate": {
  9605. "description": "签订日期",
  9606. "type": "string"
  9607. },
  9608. "spotcontractid": {
  9609. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9610. "type": "string"
  9611. },
  9612. "spotdatetime": {
  9613. "description": "收发货更新时间",
  9614. "type": "string"
  9615. },
  9616. "spotprice": {
  9617. "description": "价格",
  9618. "type": "number"
  9619. },
  9620. "spotremark": {
  9621. "description": "收发货备注",
  9622. "type": "string"
  9623. },
  9624. "spotstatus": {
  9625. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9626. "type": "integer"
  9627. },
  9628. "tradedate": {
  9629. "description": "交易日(yyyyMMdd)",
  9630. "type": "string"
  9631. },
  9632. "userid": {
  9633. "description": "业务员用户ID",
  9634. "type": "integer"
  9635. },
  9636. "warehouseid": {
  9637. "description": "仓库ID",
  9638. "type": "integer"
  9639. },
  9640. "wrfactortypeid": {
  9641. "description": "仓单要素类型ID",
  9642. "type": "integer"
  9643. },
  9644. "wrstandardid": {
  9645. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9646. "type": "integer"
  9647. }
  9648. }
  9649. },
  9650. "erms3.AddErms2ASApplyReq": {
  9651. "type": "object",
  9652. "required": [
  9653. "asapplyid"
  9654. ],
  9655. "properties": {
  9656. "applybasis": {
  9657. "description": "申请基差",
  9658. "type": "number"
  9659. },
  9660. "applystatus": {
  9661. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9662. "type": "integer"
  9663. },
  9664. "asapplyid": {
  9665. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9666. "type": "integer"
  9667. },
  9668. "asname": {
  9669. "description": "策略名称",
  9670. "type": "string"
  9671. },
  9672. "asno": {
  9673. "description": "策略编号",
  9674. "type": "string"
  9675. },
  9676. "auditid": {
  9677. "description": "审核人",
  9678. "type": "integer"
  9679. },
  9680. "auditremark": {
  9681. "description": "审核备注",
  9682. "type": "string"
  9683. },
  9684. "audittime": {
  9685. "description": "审核时间",
  9686. "type": "string"
  9687. },
  9688. "biztype": {
  9689. "description": "业务类型 - 1:正向套利 2:反向套利",
  9690. "type": "integer"
  9691. },
  9692. "createtime": {
  9693. "description": "创建时间",
  9694. "type": "string"
  9695. },
  9696. "creatorid": {
  9697. "description": "创建人",
  9698. "type": "integer"
  9699. },
  9700. "deliverygoodsid": {
  9701. "description": "现货品种ID",
  9702. "type": "integer"
  9703. },
  9704. "futurequote": {
  9705. "description": "期货额度",
  9706. "type": "number"
  9707. },
  9708. "goodsgroupid": {
  9709. "description": "期货品种ID",
  9710. "type": "integer"
  9711. },
  9712. "marketid": {
  9713. "description": "市场ID",
  9714. "type": "integer"
  9715. },
  9716. "remark": {
  9717. "description": "备注",
  9718. "type": "string"
  9719. },
  9720. "spotquota": {
  9721. "description": "现货额度",
  9722. "type": "number"
  9723. },
  9724. "tradedate": {
  9725. "description": "交易日(yyyyMMdd)",
  9726. "type": "string"
  9727. },
  9728. "userid": {
  9729. "description": "所属机构",
  9730. "type": "integer"
  9731. }
  9732. }
  9733. },
  9734. "erms3.AddErms2SpotTradeApplyReq": {
  9735. "type": "object",
  9736. "required": [
  9737. "spottradeid"
  9738. ],
  9739. "properties": {
  9740. "applyjsondetail": {
  9741. "description": "申请明细(JSON)",
  9742. "type": "string"
  9743. },
  9744. "applystatus": {
  9745. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9746. "type": "integer"
  9747. },
  9748. "areauserid": {
  9749. "description": "所属机构",
  9750. "type": "integer"
  9751. },
  9752. "auditid": {
  9753. "description": "审核人",
  9754. "type": "integer"
  9755. },
  9756. "auditremark": {
  9757. "description": "审核备注",
  9758. "type": "string"
  9759. },
  9760. "audittime": {
  9761. "description": "审核时间",
  9762. "type": "string"
  9763. },
  9764. "createtime": {
  9765. "description": "创建时间",
  9766. "type": "string"
  9767. },
  9768. "creatorid": {
  9769. "description": "创建人",
  9770. "type": "integer"
  9771. },
  9772. "deliverygoodsid": {
  9773. "description": "现货品种ID",
  9774. "type": "integer"
  9775. },
  9776. "futureaccountid": {
  9777. "description": "期货资金账户",
  9778. "type": "integer"
  9779. },
  9780. "goodsgroupid": {
  9781. "description": "期货品种",
  9782. "type": "integer"
  9783. },
  9784. "marketid": {
  9785. "description": "市场ID",
  9786. "type": "integer"
  9787. },
  9788. "remark": {
  9789. "description": "备注",
  9790. "type": "string"
  9791. },
  9792. "spotaccountid": {
  9793. "description": "现货资金账户",
  9794. "type": "integer"
  9795. },
  9796. "spottradeid": {
  9797. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  9798. "type": "integer"
  9799. },
  9800. "spottradename": {
  9801. "description": "业务名称",
  9802. "type": "string"
  9803. },
  9804. "spottradeno": {
  9805. "description": "业务编号",
  9806. "type": "string"
  9807. },
  9808. "tradedate": {
  9809. "description": "交易日(yyyyMMdd)",
  9810. "type": "string"
  9811. },
  9812. "wrstandardid": {
  9813. "description": "仓单标准ID",
  9814. "type": "integer"
  9815. }
  9816. }
  9817. },
  9818. "erms3.AddSpotContractApplyReq": {
  9819. "type": "object",
  9820. "required": [
  9821. "accountid",
  9822. "areauserid",
  9823. "contractno",
  9824. "contracttype",
  9825. "customeraccountid",
  9826. "customeruserid",
  9827. "details",
  9828. "orimargin",
  9829. "signdate"
  9830. ],
  9831. "properties": {
  9832. "accountid": {
  9833. "description": "资金账户ID",
  9834. "type": "integer"
  9835. },
  9836. "areauserid": {
  9837. "description": "所属机构",
  9838. "type": "integer"
  9839. },
  9840. "contractattachment": {
  9841. "description": "合同附件",
  9842. "type": "string"
  9843. },
  9844. "contractno": {
  9845. "description": "现货合同编号",
  9846. "type": "string"
  9847. },
  9848. "contracttype": {
  9849. "description": "现货合同类型 - 1:采购 -1:销售",
  9850. "type": "integer"
  9851. },
  9852. "creatorid": {
  9853. "description": "申请人",
  9854. "type": "integer"
  9855. },
  9856. "customeraccountid": {
  9857. "description": "客户资金账户ID",
  9858. "type": "integer"
  9859. },
  9860. "customeruserid": {
  9861. "description": "客户ID",
  9862. "type": "integer"
  9863. },
  9864. "details": {
  9865. "description": "明细",
  9866. "type": "array",
  9867. "items": {
  9868. "$ref": "#/definitions/erms3.SoptContractDetail"
  9869. }
  9870. },
  9871. "orimargin": {
  9872. "description": "初始保证金",
  9873. "type": "number"
  9874. },
  9875. "remark": {
  9876. "description": "备注",
  9877. "type": "string"
  9878. },
  9879. "signdate": {
  9880. "description": "签订日期",
  9881. "type": "string"
  9882. }
  9883. }
  9884. },
  9885. "erms3.AddSpotContractApplyRsp": {
  9886. "type": "object",
  9887. "required": [
  9888. "contractno"
  9889. ],
  9890. "properties": {
  9891. "contractno": {
  9892. "description": "现货合同编号",
  9893. "type": "string"
  9894. },
  9895. "spotcontractid": {
  9896. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  9897. "type": "integer"
  9898. }
  9899. }
  9900. },
  9901. "erms3.AddUserInfoApplyReq": {
  9902. "type": "object",
  9903. "required": [
  9904. "userid"
  9905. ],
  9906. "properties": {
  9907. "accountid": {
  9908. "description": "交易系统帐号Id (加密存储)",
  9909. "type": "integer"
  9910. },
  9911. "areacode": {
  9912. "description": "机构代码",
  9913. "type": "string"
  9914. },
  9915. "areaid": {
  9916. "description": "机构Id",
  9917. "type": "integer"
  9918. },
  9919. "attachment1": {
  9920. "description": "附件1",
  9921. "type": "string"
  9922. },
  9923. "attachment2": {
  9924. "description": "附件2",
  9925. "type": "string"
  9926. },
  9927. "attachment3": {
  9928. "description": "附件3",
  9929. "type": "string"
  9930. },
  9931. "attachment4": {
  9932. "description": "附件4",
  9933. "type": "string"
  9934. },
  9935. "attachment5": {
  9936. "description": "附件5",
  9937. "type": "string"
  9938. },
  9939. "auditedby": {
  9940. "description": "审核人",
  9941. "type": "string"
  9942. },
  9943. "auditime": {
  9944. "description": "审核时间",
  9945. "type": "string"
  9946. },
  9947. "auditsrc": {
  9948. "description": "审核来源 - 1:管理端 2:终端",
  9949. "type": "integer"
  9950. },
  9951. "bankaccount": {
  9952. "description": "银行帐号 (加密存储)",
  9953. "type": "string"
  9954. },
  9955. "bankaccountname": {
  9956. "description": "收款人名称",
  9957. "type": "string"
  9958. },
  9959. "bankcardbackphotourl": {
  9960. "description": "银行卡背面照地址",
  9961. "type": "string"
  9962. },
  9963. "bankcardfrontphotourl": {
  9964. "description": "银行卡正面照地址",
  9965. "type": "string"
  9966. },
  9967. "bankid": {
  9968. "description": "银行编码",
  9969. "type": "string"
  9970. },
  9971. "bankname": {
  9972. "description": "银行名称",
  9973. "type": "string"
  9974. },
  9975. "bankpictureurl": {
  9976. "description": "银行卡正面地址",
  9977. "type": "string"
  9978. },
  9979. "biznature": {
  9980. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9981. "type": "integer"
  9982. },
  9983. "bizscope": {
  9984. "description": "企业经营范围(企业)",
  9985. "type": "string"
  9986. },
  9987. "biztype": {
  9988. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  9989. "type": "integer"
  9990. },
  9991. "brokerid": {
  9992. "description": "经纪人ID(加密存储)",
  9993. "type": "string"
  9994. },
  9995. "cardaddress": {
  9996. "description": "证件地址 (加密存储)",
  9997. "type": "string"
  9998. },
  9999. "cardbackphotourl": {
  10000. "description": "背面证件照地址",
  10001. "type": "string"
  10002. },
  10003. "cardfrontphotourl": {
  10004. "description": "正面证件照地址",
  10005. "type": "string"
  10006. },
  10007. "cardnum": {
  10008. "description": "证件号码 (加密存储)",
  10009. "type": "string"
  10010. },
  10011. "cardtype": {
  10012. "description": "证件类型",
  10013. "type": "integer"
  10014. },
  10015. "cityid": {
  10016. "description": "市",
  10017. "type": "integer"
  10018. },
  10019. "company": {
  10020. "description": "公司(个人)",
  10021. "type": "string"
  10022. },
  10023. "contactcardbackphotourl": {
  10024. "description": "联系人证件背面图片地址",
  10025. "type": "string"
  10026. },
  10027. "contactcardfrontphotourl": {
  10028. "description": "联系人证件正面图片地址",
  10029. "type": "string"
  10030. },
  10031. "contactname": {
  10032. "description": "联系人",
  10033. "type": "string"
  10034. },
  10035. "countryid": {
  10036. "description": "国家",
  10037. "type": "integer"
  10038. },
  10039. "createtime": {
  10040. "description": "开户申请时间",
  10041. "type": "string"
  10042. },
  10043. "cusbankid": {
  10044. "description": "签约类型",
  10045. "type": "string"
  10046. },
  10047. "cusbankname": {
  10048. "description": "签约类型名称",
  10049. "type": "string"
  10050. },
  10051. "customername": {
  10052. "description": "客户名称(企业名称)",
  10053. "type": "string"
  10054. },
  10055. "districtid": {
  10056. "description": "地区",
  10057. "type": "integer"
  10058. },
  10059. "email": {
  10060. "description": "Email地址(加密存储)",
  10061. "type": "string"
  10062. },
  10063. "halfbodyphotourl": {
  10064. "description": "半身照地址",
  10065. "type": "string"
  10066. },
  10067. "headurl": {
  10068. "description": "头像地址",
  10069. "type": "string"
  10070. },
  10071. "ipaddress": {
  10072. "description": "IP地址",
  10073. "type": "string"
  10074. },
  10075. "isvalidate": {
  10076. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10077. "type": "string"
  10078. },
  10079. "legalcardbackphotourl": {
  10080. "description": "法人身份证背面照地址",
  10081. "type": "string"
  10082. },
  10083. "legalcardfrontphotourl": {
  10084. "description": "法人身份证正面照地址",
  10085. "type": "string"
  10086. },
  10087. "legalpersonname": {
  10088. "description": "法人姓名(企业)",
  10089. "type": "string"
  10090. },
  10091. "logincode": {
  10092. "description": "登录帐号 (加密存储)",
  10093. "type": "string"
  10094. },
  10095. "memberareaid": {
  10096. "description": "所属会员ID",
  10097. "type": "integer"
  10098. },
  10099. "mobile2": {
  10100. "description": "手机号码[明文-尚志]",
  10101. "type": "string"
  10102. },
  10103. "mobilephone": {
  10104. "description": "手机号码 (加密存储)",
  10105. "type": "string"
  10106. },
  10107. "modifiedby": {
  10108. "description": "修改人帐号",
  10109. "type": "integer"
  10110. },
  10111. "modifiedtime": {
  10112. "description": "修改时间",
  10113. "type": "string"
  10114. },
  10115. "nickname": {
  10116. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10117. "type": "string"
  10118. },
  10119. "openmode": {
  10120. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10121. "type": "integer"
  10122. },
  10123. "otherurl": {
  10124. "description": "其它图片地址[使用分号分隔]",
  10125. "type": "string"
  10126. },
  10127. "postalcode": {
  10128. "description": "邮政编码",
  10129. "type": "string"
  10130. },
  10131. "provinceid": {
  10132. "description": "省",
  10133. "type": "integer"
  10134. },
  10135. "proxystatementurl": {
  10136. "description": "授权委托书",
  10137. "type": "string"
  10138. },
  10139. "qq": {
  10140. "description": "QQ(加密存储",
  10141. "type": "string"
  10142. },
  10143. "referral": {
  10144. "description": "推荐人编码",
  10145. "type": "string"
  10146. },
  10147. "remark": {
  10148. "description": "备注",
  10149. "type": "string"
  10150. },
  10151. "removebeforestatus": {
  10152. "description": "REMOVEBEFORESTATUS",
  10153. "type": "integer"
  10154. },
  10155. "sex": {
  10156. "description": "性别 - 0:女 1:男",
  10157. "type": "integer"
  10158. },
  10159. "signedstatus": {
  10160. "description": "账户一号签签约状态",
  10161. "type": "integer"
  10162. },
  10163. "signpdfurl": {
  10164. "description": "签约pdf文件",
  10165. "type": "string"
  10166. },
  10167. "subbranch": {
  10168. "description": "开户支行",
  10169. "type": "string"
  10170. },
  10171. "taxpayernum": {
  10172. "description": "纳税人识别号",
  10173. "type": "string"
  10174. },
  10175. "telphone": {
  10176. "description": "联系电话(加密存储)",
  10177. "type": "string"
  10178. },
  10179. "userid": {
  10180. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10181. "type": "integer"
  10182. },
  10183. "userinfotype": {
  10184. "description": "用户信息类型 - 1:个人 2:企业",
  10185. "type": "integer"
  10186. },
  10187. "username": {
  10188. "description": "用户姓名",
  10189. "type": "string"
  10190. },
  10191. "userstate": {
  10192. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10193. "type": "integer"
  10194. },
  10195. "usertype": {
  10196. "description": "用户类型 - 1:投资者 2:机构",
  10197. "type": "integer"
  10198. },
  10199. "videourl": {
  10200. "description": "视频地址",
  10201. "type": "string"
  10202. },
  10203. "wechat": {
  10204. "description": "微信号 (加密存储)",
  10205. "type": "string"
  10206. }
  10207. }
  10208. },
  10209. "erms3.CustomerInfo": {
  10210. "type": "object",
  10211. "required": [
  10212. "userid"
  10213. ],
  10214. "properties": {
  10215. "accountids": {
  10216. "description": "资金账户ID列表",
  10217. "type": "array",
  10218. "items": {
  10219. "type": "integer"
  10220. }
  10221. },
  10222. "customername": {
  10223. "description": "名称(企业名称)",
  10224. "type": "string"
  10225. },
  10226. "mobile": {
  10227. "description": "手机号码",
  10228. "type": "string"
  10229. },
  10230. "userid": {
  10231. "description": "用户ID",
  10232. "type": "integer"
  10233. }
  10234. }
  10235. },
  10236. "erms3.ModifyUserInfoApplyReq": {
  10237. "type": "object",
  10238. "required": [
  10239. "userid"
  10240. ],
  10241. "properties": {
  10242. "accountid": {
  10243. "description": "交易系统帐号Id (加密存储)",
  10244. "type": "integer"
  10245. },
  10246. "areacode": {
  10247. "description": "机构代码",
  10248. "type": "string"
  10249. },
  10250. "areaid": {
  10251. "description": "机构Id",
  10252. "type": "integer"
  10253. },
  10254. "attachment1": {
  10255. "description": "附件1",
  10256. "type": "string"
  10257. },
  10258. "attachment2": {
  10259. "description": "附件2",
  10260. "type": "string"
  10261. },
  10262. "attachment3": {
  10263. "description": "附件3",
  10264. "type": "string"
  10265. },
  10266. "attachment4": {
  10267. "description": "附件4",
  10268. "type": "string"
  10269. },
  10270. "attachment5": {
  10271. "description": "附件5",
  10272. "type": "string"
  10273. },
  10274. "auditedby": {
  10275. "description": "审核人",
  10276. "type": "string"
  10277. },
  10278. "auditime": {
  10279. "description": "审核时间",
  10280. "type": "string"
  10281. },
  10282. "auditsrc": {
  10283. "description": "审核来源 - 1:管理端 2:终端",
  10284. "type": "integer"
  10285. },
  10286. "bankaccount": {
  10287. "description": "银行帐号 (加密存储)",
  10288. "type": "string"
  10289. },
  10290. "bankaccountname": {
  10291. "description": "收款人名称",
  10292. "type": "string"
  10293. },
  10294. "bankcardbackphotourl": {
  10295. "description": "银行卡背面照地址",
  10296. "type": "string"
  10297. },
  10298. "bankcardfrontphotourl": {
  10299. "description": "银行卡正面照地址",
  10300. "type": "string"
  10301. },
  10302. "bankid": {
  10303. "description": "银行编码",
  10304. "type": "string"
  10305. },
  10306. "bankname": {
  10307. "description": "银行名称",
  10308. "type": "string"
  10309. },
  10310. "bankpictureurl": {
  10311. "description": "银行卡正面地址",
  10312. "type": "string"
  10313. },
  10314. "biznature": {
  10315. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10316. "type": "integer"
  10317. },
  10318. "bizscope": {
  10319. "description": "企业经营范围(企业)",
  10320. "type": "string"
  10321. },
  10322. "biztype": {
  10323. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10324. "type": "integer"
  10325. },
  10326. "brokerid": {
  10327. "description": "经纪人ID(加密存储)",
  10328. "type": "string"
  10329. },
  10330. "cardaddress": {
  10331. "description": "证件地址 (加密存储)",
  10332. "type": "string"
  10333. },
  10334. "cardbackphotourl": {
  10335. "description": "背面证件照地址",
  10336. "type": "string"
  10337. },
  10338. "cardfrontphotourl": {
  10339. "description": "正面证件照地址",
  10340. "type": "string"
  10341. },
  10342. "cardnum": {
  10343. "description": "证件号码 (加密存储)",
  10344. "type": "string"
  10345. },
  10346. "cardtype": {
  10347. "description": "证件类型",
  10348. "type": "integer"
  10349. },
  10350. "cityid": {
  10351. "description": "市",
  10352. "type": "integer"
  10353. },
  10354. "company": {
  10355. "description": "公司(个人)",
  10356. "type": "string"
  10357. },
  10358. "contactcardbackphotourl": {
  10359. "description": "联系人证件背面图片地址",
  10360. "type": "string"
  10361. },
  10362. "contactcardfrontphotourl": {
  10363. "description": "联系人证件正面图片地址",
  10364. "type": "string"
  10365. },
  10366. "contactname": {
  10367. "description": "联系人",
  10368. "type": "string"
  10369. },
  10370. "countryid": {
  10371. "description": "国家",
  10372. "type": "integer"
  10373. },
  10374. "createtime": {
  10375. "description": "开户申请时间",
  10376. "type": "string"
  10377. },
  10378. "cusbankid": {
  10379. "description": "签约类型",
  10380. "type": "string"
  10381. },
  10382. "cusbankname": {
  10383. "description": "签约类型名称",
  10384. "type": "string"
  10385. },
  10386. "customername": {
  10387. "description": "客户名称(企业名称)",
  10388. "type": "string"
  10389. },
  10390. "districtid": {
  10391. "description": "地区",
  10392. "type": "integer"
  10393. },
  10394. "email": {
  10395. "description": "Email地址(加密存储)",
  10396. "type": "string"
  10397. },
  10398. "halfbodyphotourl": {
  10399. "description": "半身照地址",
  10400. "type": "string"
  10401. },
  10402. "headurl": {
  10403. "description": "头像地址",
  10404. "type": "string"
  10405. },
  10406. "ipaddress": {
  10407. "description": "IP地址",
  10408. "type": "string"
  10409. },
  10410. "isvalidate": {
  10411. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10412. "type": "string"
  10413. },
  10414. "legalcardbackphotourl": {
  10415. "description": "法人身份证背面照地址",
  10416. "type": "string"
  10417. },
  10418. "legalcardfrontphotourl": {
  10419. "description": "法人身份证正面照地址",
  10420. "type": "string"
  10421. },
  10422. "legalpersonname": {
  10423. "description": "法人姓名(企业)",
  10424. "type": "string"
  10425. },
  10426. "logincode": {
  10427. "description": "登录帐号 (加密存储)",
  10428. "type": "string"
  10429. },
  10430. "memberareaid": {
  10431. "description": "所属会员ID",
  10432. "type": "integer"
  10433. },
  10434. "mobile2": {
  10435. "description": "手机号码[明文-尚志]",
  10436. "type": "string"
  10437. },
  10438. "mobilephone": {
  10439. "description": "手机号码 (加密存储)",
  10440. "type": "string"
  10441. },
  10442. "modifiedby": {
  10443. "description": "修改人帐号",
  10444. "type": "integer"
  10445. },
  10446. "modifiedtime": {
  10447. "description": "修改时间",
  10448. "type": "string"
  10449. },
  10450. "nickname": {
  10451. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10452. "type": "string"
  10453. },
  10454. "openmode": {
  10455. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10456. "type": "integer"
  10457. },
  10458. "otherurl": {
  10459. "description": "其它图片地址[使用分号分隔]",
  10460. "type": "string"
  10461. },
  10462. "postalcode": {
  10463. "description": "邮政编码",
  10464. "type": "string"
  10465. },
  10466. "provinceid": {
  10467. "description": "省",
  10468. "type": "integer"
  10469. },
  10470. "proxystatementurl": {
  10471. "description": "授权委托书",
  10472. "type": "string"
  10473. },
  10474. "qq": {
  10475. "description": "QQ(加密存储",
  10476. "type": "string"
  10477. },
  10478. "referral": {
  10479. "description": "推荐人编码",
  10480. "type": "string"
  10481. },
  10482. "remark": {
  10483. "description": "备注",
  10484. "type": "string"
  10485. },
  10486. "removebeforestatus": {
  10487. "description": "REMOVEBEFORESTATUS",
  10488. "type": "integer"
  10489. },
  10490. "sex": {
  10491. "description": "性别 - 0:女 1:男",
  10492. "type": "integer"
  10493. },
  10494. "signedstatus": {
  10495. "description": "账户一号签签约状态",
  10496. "type": "integer"
  10497. },
  10498. "signpdfurl": {
  10499. "description": "签约pdf文件",
  10500. "type": "string"
  10501. },
  10502. "subbranch": {
  10503. "description": "开户支行",
  10504. "type": "string"
  10505. },
  10506. "taxpayernum": {
  10507. "description": "纳税人识别号",
  10508. "type": "string"
  10509. },
  10510. "telphone": {
  10511. "description": "联系电话(加密存储)",
  10512. "type": "string"
  10513. },
  10514. "userid": {
  10515. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  10516. "type": "integer"
  10517. },
  10518. "userinfotype": {
  10519. "description": "用户信息类型 - 1:个人 2:企业",
  10520. "type": "integer"
  10521. },
  10522. "username": {
  10523. "description": "用户姓名",
  10524. "type": "string"
  10525. },
  10526. "userstate": {
  10527. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10528. "type": "integer"
  10529. },
  10530. "usertype": {
  10531. "description": "用户类型 - 1:投资者 2:机构",
  10532. "type": "integer"
  10533. },
  10534. "videourl": {
  10535. "description": "视频地址",
  10536. "type": "string"
  10537. },
  10538. "wechat": {
  10539. "description": "微信号 (加密存储)",
  10540. "type": "string"
  10541. }
  10542. }
  10543. },
  10544. "erms3.QryAuditContractRsp": {
  10545. "type": "object",
  10546. "required": [
  10547. "matchcustomername",
  10548. "spotcontractid"
  10549. ],
  10550. "properties": {
  10551. "accountid": {
  10552. "description": "交易员ID",
  10553. "type": "string"
  10554. },
  10555. "applystatus": {
  10556. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10557. "type": "integer"
  10558. },
  10559. "curdeliveryqty": {
  10560. "description": "未交收量",
  10561. "type": "integer"
  10562. },
  10563. "customername": {
  10564. "description": "采购方ID",
  10565. "type": "string"
  10566. },
  10567. "deliverygoodsid": {
  10568. "description": "品种ID",
  10569. "type": "string"
  10570. },
  10571. "deliveryqty": {
  10572. "description": "交收量",
  10573. "type": "integer"
  10574. },
  10575. "enumdicname": {
  10576. "description": "单位名称",
  10577. "type": "string"
  10578. },
  10579. "matchaccountid": {
  10580. "description": "业务员ID",
  10581. "type": "string"
  10582. },
  10583. "matchcustomername": {
  10584. "description": "销售方ID",
  10585. "type": "string"
  10586. },
  10587. "pricedqty": {
  10588. "description": "定价量",
  10589. "type": "number"
  10590. },
  10591. "signdate": {
  10592. "description": "签订日期",
  10593. "type": "string"
  10594. },
  10595. "spotcontractid": {
  10596. "description": "合同ID",
  10597. "type": "string"
  10598. },
  10599. "totaldqty": {
  10600. "description": "合同量",
  10601. "type": "number"
  10602. },
  10603. "unpricedqty": {
  10604. "description": "未定价量",
  10605. "type": "number"
  10606. },
  10607. "wrstandardname": {
  10608. "description": "商品名称",
  10609. "type": "string"
  10610. }
  10611. }
  10612. },
  10613. "erms3.QryPendingBizRsp": {
  10614. "$ref": "#/definitions/models.PendingAuditBizModel"
  10615. },
  10616. "erms3.QueryBusinessInfoRsp": {
  10617. "type": "object",
  10618. "properties": {
  10619. "businessid": {
  10620. "description": "业务ID.",
  10621. "type": "integer"
  10622. },
  10623. "buyamount": {
  10624. "description": "采购额.",
  10625. "type": "number"
  10626. },
  10627. "buyqty": {
  10628. "description": "采购量.",
  10629. "type": "string"
  10630. },
  10631. "futurepl": {
  10632. "description": "期货盈亏.",
  10633. "type": "number"
  10634. },
  10635. "futureqty": {
  10636. "description": "期货敞口.",
  10637. "type": "string"
  10638. },
  10639. "goodsid": {
  10640. "description": "商品名称/商品代码.",
  10641. "type": "string"
  10642. },
  10643. "hedgingqty": {
  10644. "description": "套保量.",
  10645. "type": "string"
  10646. },
  10647. "sellamount": {
  10648. "description": "销售额.",
  10649. "type": "number"
  10650. },
  10651. "sellqty": {
  10652. "description": "销售量.",
  10653. "type": "string"
  10654. },
  10655. "spotmarketvalue": {
  10656. "description": "现货市值.",
  10657. "type": "number"
  10658. },
  10659. "spotpl": {
  10660. "description": "浮动权益.",
  10661. "type": "number"
  10662. },
  10663. "spotqty": {
  10664. "description": "现货量.",
  10665. "type": "string"
  10666. },
  10667. "statu": {
  10668. "description": "状态,0-未结束 1-已结束.",
  10669. "type": "integer"
  10670. },
  10671. "totalpl": {
  10672. "description": "总盈亏.",
  10673. "type": "number"
  10674. },
  10675. "totalqty": {
  10676. "description": "总敞口.",
  10677. "type": "string"
  10678. },
  10679. "type": {
  10680. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10681. "type": "integer"
  10682. }
  10683. }
  10684. },
  10685. "erms3.QuerySpotContractAppleFormRsp": {
  10686. "type": "object",
  10687. "properties": {
  10688. "goodses": {
  10689. "description": "合约列表",
  10690. "type": "array",
  10691. "items": {
  10692. "$ref": "#/definitions/models.GoodsIDAndName"
  10693. }
  10694. },
  10695. "oppositeusers": {
  10696. "description": "对方账号列表",
  10697. "type": "array",
  10698. "items": {
  10699. "$ref": "#/definitions/erms3.CustomerInfo"
  10700. }
  10701. },
  10702. "ouruser": {
  10703. "description": "我方账号",
  10704. "type": "object",
  10705. "$ref": "#/definitions/erms3.CustomerInfo"
  10706. },
  10707. "warehouseinfos": {
  10708. "description": "仓库信息列表",
  10709. "type": "array",
  10710. "items": {
  10711. "$ref": "#/definitions/models.Warehouseinfo"
  10712. }
  10713. },
  10714. "wrstandards": {
  10715. "description": "仓单标准列表",
  10716. "type": "array",
  10717. "items": {
  10718. "$ref": "#/definitions/models.WRStandardInfo"
  10719. }
  10720. }
  10721. }
  10722. },
  10723. "erms3.QuerySpotContractInfoRsp": {
  10724. "type": "object",
  10725. "properties": {
  10726. "accountid": {
  10727. "description": "表示交易员ID.",
  10728. "type": "integer"
  10729. },
  10730. "curdeliveryqty": {
  10731. "description": "表示未交收量.",
  10732. "type": "number"
  10733. },
  10734. "customername": {
  10735. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  10736. "type": "string"
  10737. },
  10738. "deliverygoodsid": {
  10739. "description": "表示品种ID.",
  10740. "type": "string"
  10741. },
  10742. "deliveryqty": {
  10743. "description": "表示交收量.",
  10744. "type": "number"
  10745. },
  10746. "matchaccountid": {
  10747. "description": "表示业务员ID.",
  10748. "type": "integer"
  10749. },
  10750. "matchcustomername": {
  10751. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  10752. "type": "string"
  10753. },
  10754. "priceqty": {
  10755. "description": "表示定价量.",
  10756. "type": "number"
  10757. },
  10758. "relatedbizid": {
  10759. "description": "表示业务ID.",
  10760. "type": "string"
  10761. },
  10762. "signdate": {
  10763. "description": "表示签订日期.",
  10764. "type": "string"
  10765. },
  10766. "spotcontractid": {
  10767. "description": "合同ID",
  10768. "type": "string"
  10769. },
  10770. "status": {
  10771. "description": "表示状态,0-履约中 1-已完成.",
  10772. "type": "integer"
  10773. },
  10774. "totalqty": {
  10775. "description": "表示合同量.",
  10776. "type": "number"
  10777. },
  10778. "unpricedqty": {
  10779. "description": "表示未定价量.",
  10780. "type": "number"
  10781. },
  10782. "wrstandardname": {
  10783. "description": "表示商品ID.",
  10784. "type": "string"
  10785. }
  10786. }
  10787. },
  10788. "erms3.QueryUserInfoAppliesRsp": {
  10789. "type": "object",
  10790. "required": [
  10791. "userid"
  10792. ],
  10793. "properties": {
  10794. "biznature": {
  10795. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10796. "type": "integer"
  10797. },
  10798. "contactname": {
  10799. "description": "联系人",
  10800. "type": "string"
  10801. },
  10802. "createtime": {
  10803. "description": "开户申请时间",
  10804. "type": "string"
  10805. },
  10806. "userid": {
  10807. "description": "用户ID(自增ID)",
  10808. "type": "integer"
  10809. },
  10810. "userinfotype": {
  10811. "description": "用户信息类型 - 1:个人 2:企业",
  10812. "type": "integer"
  10813. },
  10814. "username": {
  10815. "description": "用户姓名",
  10816. "type": "string"
  10817. },
  10818. "userstate": {
  10819. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10820. "type": "integer"
  10821. }
  10822. }
  10823. },
  10824. "erms3.QueryUserInfosRsp": {
  10825. "type": "object",
  10826. "required": [
  10827. "userid"
  10828. ],
  10829. "properties": {
  10830. "biznature": {
  10831. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10832. "type": "integer"
  10833. },
  10834. "contactname": {
  10835. "description": "联系人",
  10836. "type": "string"
  10837. },
  10838. "customername": {
  10839. "description": "客户名称(企业名称)",
  10840. "type": "string"
  10841. },
  10842. "userid": {
  10843. "description": "用户ID",
  10844. "type": "integer"
  10845. },
  10846. "userinfotype": {
  10847. "description": "用户信息类型 - 1:个人 2:企业",
  10848. "type": "integer"
  10849. },
  10850. "userstatus": {
  10851. "description": "用户状态 - 1:正常 2:注销",
  10852. "type": "integer"
  10853. }
  10854. }
  10855. },
  10856. "erms3.SoptContractDetail": {
  10857. "type": "object",
  10858. "required": [
  10859. "deliverygoodsid",
  10860. "producttype",
  10861. "unitname",
  10862. "warehouseid",
  10863. "wrstandardid",
  10864. "wrstandardname"
  10865. ],
  10866. "properties": {
  10867. "deliverygoodsdesc": {
  10868. "description": "现货品种说明",
  10869. "type": "string"
  10870. },
  10871. "deliverygoodsid": {
  10872. "description": "现货品种ID",
  10873. "type": "integer"
  10874. },
  10875. "deliverygoodsname": {
  10876. "description": "现货品种名称",
  10877. "type": "string"
  10878. },
  10879. "pointdesc": {
  10880. "description": "点价描述",
  10881. "type": "string"
  10882. },
  10883. "producttype": {
  10884. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  10885. "type": "integer"
  10886. },
  10887. "producttypename": {
  10888. "description": "产品类型名称",
  10889. "type": "string"
  10890. },
  10891. "spotPointOrderVoList": {
  10892. "description": "点价列表",
  10893. "type": "array",
  10894. "items": {
  10895. "$ref": "#/definitions/erms3.SpotPointOrder"
  10896. }
  10897. },
  10898. "spotPriceOrderList": {
  10899. "description": "定价列表",
  10900. "type": "array",
  10901. "items": {
  10902. "$ref": "#/definitions/erms3.SpotPriceOrder"
  10903. }
  10904. },
  10905. "unitname": {
  10906. "description": "单位名称",
  10907. "type": "string"
  10908. },
  10909. "warehouseid": {
  10910. "description": "仓库ID",
  10911. "type": "integer"
  10912. },
  10913. "warehousename": {
  10914. "description": "仓库名称",
  10915. "type": "string"
  10916. },
  10917. "wrstandardid": {
  10918. "description": "交易标的ID",
  10919. "type": "integer"
  10920. },
  10921. "wrstandardname": {
  10922. "description": "交易标的名称",
  10923. "type": "string"
  10924. }
  10925. }
  10926. },
  10927. "erms3.SpotPointOrder": {
  10928. "type": "object",
  10929. "required": [
  10930. "basic",
  10931. "goodsid",
  10932. "qty"
  10933. ],
  10934. "properties": {
  10935. "basic": {
  10936. "description": "基差",
  10937. "type": "number"
  10938. },
  10939. "deliveryenddate": {
  10940. "description": "交收结束日期",
  10941. "type": "string"
  10942. },
  10943. "deliverystartdate": {
  10944. "description": "交收开始日期",
  10945. "type": "string"
  10946. },
  10947. "enddate": {
  10948. "description": "点价结束日期",
  10949. "type": "string"
  10950. },
  10951. "goodsid": {
  10952. "description": "商品ID",
  10953. "type": "integer"
  10954. },
  10955. "goodsname": {
  10956. "description": "商品名称",
  10957. "type": "string"
  10958. },
  10959. "qty": {
  10960. "description": "数量",
  10961. "type": "number"
  10962. },
  10963. "startdate": {
  10964. "description": "点价开始日期",
  10965. "type": "string"
  10966. }
  10967. }
  10968. },
  10969. "erms3.SpotPriceOrder": {
  10970. "type": "object",
  10971. "required": [
  10972. "amount",
  10973. "price",
  10974. "qty"
  10975. ],
  10976. "properties": {
  10977. "amount": {
  10978. "description": "金额",
  10979. "type": "number"
  10980. },
  10981. "deliveryenddate": {
  10982. "description": "交收结束日期",
  10983. "type": "string"
  10984. },
  10985. "deliverystartdate": {
  10986. "description": "交收开始日期",
  10987. "type": "string"
  10988. },
  10989. "price": {
  10990. "description": "价格",
  10991. "type": "number"
  10992. },
  10993. "qty": {
  10994. "description": "数量",
  10995. "type": "number"
  10996. }
  10997. }
  10998. },
  10999. "hsby.GetHsbyMyCountRsp": {
  11000. "type": "object",
  11001. "properties": {
  11002. "myCouponCount": {
  11003. "description": "我的优惠卷数量",
  11004. "type": "integer"
  11005. },
  11006. "myOrderDetailListingCount": {
  11007. "description": "我的订单求购中数量",
  11008. "type": "integer"
  11009. },
  11010. "myOrderDetailPreCount": {
  11011. "description": "我的订单抢购中数量",
  11012. "type": "integer"
  11013. },
  11014. "myPackageUnReceiveCount": {
  11015. "description": "我的包裹待收货数量",
  11016. "type": "integer"
  11017. },
  11018. "myPackageUnSendCount": {
  11019. "description": "我的包裹待发货数量",
  11020. "type": "integer"
  11021. },
  11022. "myPayOrderCount": {
  11023. "description": "我的订单待付款数量",
  11024. "type": "integer"
  11025. }
  11026. }
  11027. },
  11028. "hsby.QueryProvincesAndCitiesRsp": {
  11029. "type": "object",
  11030. "properties": {
  11031. "cities": {
  11032. "description": "市",
  11033. "type": "array",
  11034. "items": {
  11035. "$ref": "#/definitions/models.Division"
  11036. }
  11037. },
  11038. "province": {
  11039. "description": "省",
  11040. "type": "object",
  11041. "$ref": "#/definitions/models.Division"
  11042. }
  11043. }
  11044. },
  11045. "models.AreaSpotModel": {
  11046. "type": "object",
  11047. "properties": {
  11048. "areauserid": {
  11049. "description": "所属机构",
  11050. "type": "integer"
  11051. },
  11052. "decreaseqty": {
  11053. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11054. "type": "number"
  11055. },
  11056. "increaseqty": {
  11057. "description": "增加数量=销售计划数量+采购已定价数量",
  11058. "type": "number"
  11059. },
  11060. "oritoalspotqty": {
  11061. "description": "昨日数量",
  11062. "type": "number"
  11063. },
  11064. "totalspotqty": {
  11065. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11066. "type": "number"
  11067. },
  11068. "updatetime": {
  11069. "description": "更新时间",
  11070. "type": "string"
  11071. },
  11072. "wrstandardcode": {
  11073. "description": "现货品种代码",
  11074. "type": "string"
  11075. },
  11076. "wrstandardid": {
  11077. "description": "现货商品ID",
  11078. "type": "integer"
  11079. },
  11080. "wrstandardname": {
  11081. "description": "现货品种",
  11082. "type": "string"
  11083. }
  11084. }
  11085. },
  11086. "models.Arearole": {
  11087. "type": "object",
  11088. "required": [
  11089. "roletype",
  11090. "userid"
  11091. ],
  11092. "properties": {
  11093. "createtime": {
  11094. "description": "创建时间",
  11095. "type": "string"
  11096. },
  11097. "creatorid": {
  11098. "description": "创建人ID",
  11099. "type": "integer"
  11100. },
  11101. "isreturnscore": {
  11102. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  11103. "type": "integer"
  11104. },
  11105. "modifierid": {
  11106. "description": "修改人ID",
  11107. "type": "integer"
  11108. },
  11109. "modifytime": {
  11110. "description": "修改时间",
  11111. "type": "string"
  11112. },
  11113. "orgtype": {
  11114. "description": "组织机构类型 1:机构 2:交易员",
  11115. "type": "integer"
  11116. },
  11117. "outuserid": {
  11118. "description": "外部账户[场外期权做市商]",
  11119. "type": "string"
  11120. },
  11121. "parentuserid": {
  11122. "description": "上级组织机构(组织机构)",
  11123. "type": "integer"
  11124. },
  11125. "roletype": {
  11126. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  11127. "type": "integer"
  11128. },
  11129. "rootuserid": {
  11130. "description": "顶级组织机构用户ID(组织机构)",
  11131. "type": "integer"
  11132. },
  11133. "shoppassword": {
  11134. "description": "商城店铺登陆密码(商城店铺角色使用)",
  11135. "type": "string"
  11136. },
  11137. "sublevelpath": {
  11138. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  11139. "type": "string"
  11140. },
  11141. "tradeaccountid": {
  11142. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  11143. "type": "integer"
  11144. },
  11145. "transurl": {
  11146. "description": "物流地址(物流机构)",
  11147. "type": "string"
  11148. },
  11149. "userid": {
  11150. "description": "机构用户ID其他做市关系,都设置为 1",
  11151. "type": "integer"
  11152. }
  11153. }
  11154. },
  11155. "models.Clientfixedadconfig": {
  11156. "type": "object",
  11157. "required": [
  11158. "adsort",
  11159. "adtype"
  11160. ],
  11161. "properties": {
  11162. "adsort": {
  11163. "description": "排序",
  11164. "type": "integer"
  11165. },
  11166. "adtype": {
  11167. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11168. "type": "integer"
  11169. },
  11170. "areauserid": {
  11171. "description": "所属机构ID",
  11172. "type": "integer"
  11173. },
  11174. "createdate": {
  11175. "description": "创建时间",
  11176. "type": "string"
  11177. },
  11178. "creatorid": {
  11179. "description": "创建人",
  11180. "type": "integer"
  11181. },
  11182. "imagepath": {
  11183. "description": "图片",
  11184. "type": "string"
  11185. },
  11186. "isshow": {
  11187. "description": "是否展示 - 0:不展示 1:展示",
  11188. "type": "integer"
  11189. },
  11190. "modifierid": {
  11191. "description": "操作人",
  11192. "type": "integer"
  11193. },
  11194. "recsize": {
  11195. "description": "推荐尺寸",
  11196. "type": "string"
  11197. },
  11198. "title": {
  11199. "description": "标题",
  11200. "type": "string"
  11201. },
  11202. "updatedate": {
  11203. "description": "更新时间",
  11204. "type": "string"
  11205. },
  11206. "urlcontent": {
  11207. "description": "链接(地址或商品ID)",
  11208. "type": "string"
  11209. },
  11210. "urltype": {
  11211. "description": "链接类型 - 1:直接地址 2:商品ID",
  11212. "type": "integer"
  11213. }
  11214. }
  11215. },
  11216. "models.Division": {
  11217. "type": "object",
  11218. "required": [
  11219. "autoid",
  11220. "divisioncode"
  11221. ],
  11222. "properties": {
  11223. "autoid": {
  11224. "description": "自增ID",
  11225. "type": "integer"
  11226. },
  11227. "divisioncode": {
  11228. "description": "行政代码",
  11229. "type": "string"
  11230. },
  11231. "divisionlevel": {
  11232. "description": "行政级别",
  11233. "type": "string"
  11234. },
  11235. "divisionname": {
  11236. "description": "行政名称",
  11237. "type": "string"
  11238. },
  11239. "modifierid": {
  11240. "description": "修改人",
  11241. "type": "integer"
  11242. },
  11243. "modifytime": {
  11244. "description": "修改时间",
  11245. "type": "string"
  11246. },
  11247. "parentcode": {
  11248. "description": "上级行政代码",
  11249. "type": "string"
  11250. },
  11251. "pathname": {
  11252. "description": "路径名称",
  11253. "type": "string"
  11254. },
  11255. "postcode": {
  11256. "description": "邮政编码",
  11257. "type": "string"
  11258. },
  11259. "separablename": {
  11260. "description": "可拆分的全称",
  11261. "type": "string"
  11262. },
  11263. "shortcode": {
  11264. "description": "地区简码",
  11265. "type": "string"
  11266. }
  11267. }
  11268. },
  11269. "models.Enumdicitem": {
  11270. "type": "object",
  11271. "required": [
  11272. "autoid",
  11273. "enumdiccode",
  11274. "enumdicid",
  11275. "enumitemname"
  11276. ],
  11277. "properties": {
  11278. "autoid": {
  11279. "description": "自增ID",
  11280. "type": "integer"
  11281. },
  11282. "bankmappedvalue": {
  11283. "description": "银行服务对应值",
  11284. "type": "string"
  11285. },
  11286. "enumdiccode": {
  11287. "description": "所属枚举代码",
  11288. "type": "string"
  11289. },
  11290. "enumdicid": {
  11291. "description": "所属枚举ID",
  11292. "type": "integer"
  11293. },
  11294. "enumdicname": {
  11295. "description": "枚举项名称",
  11296. "type": "string"
  11297. },
  11298. "enumitemname": {
  11299. "description": "枚举项值",
  11300. "type": "integer"
  11301. },
  11302. "enumitemstatus": {
  11303. "description": "枚举项状态 - 1.启用 2.不启用",
  11304. "type": "integer"
  11305. },
  11306. "enumitemvalue": {
  11307. "description": "通用值 - [币种通用简写]",
  11308. "type": "string"
  11309. },
  11310. "param1": {
  11311. "description": "参数1[币种:币种小数位]",
  11312. "type": "string"
  11313. },
  11314. "param2": {
  11315. "description": "参数1[币种:币种显示单位]",
  11316. "type": "string"
  11317. },
  11318. "remark": {
  11319. "description": "备注",
  11320. "type": "string"
  11321. }
  11322. }
  11323. },
  11324. "models.Ermcp3AreaSpot": {
  11325. "type": "object",
  11326. "properties": {
  11327. "areauserid": {
  11328. "description": "所属机构",
  11329. "type": "integer"
  11330. },
  11331. "decreaseqty": {
  11332. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11333. "type": "number"
  11334. },
  11335. "deliverygoodscode": {
  11336. "description": "现货品种代码",
  11337. "type": "string"
  11338. },
  11339. "deliverygoodsid": {
  11340. "description": "现货品种id",
  11341. "type": "integer"
  11342. },
  11343. "deliverygoodsname": {
  11344. "description": "现货品种名称",
  11345. "type": "string"
  11346. },
  11347. "enumdicname": {
  11348. "description": "单位名称",
  11349. "type": "string"
  11350. },
  11351. "goodsunitid": {
  11352. "description": "现货品种单位id",
  11353. "type": "integer"
  11354. },
  11355. "increaseqty": {
  11356. "description": "增加数量=销售计划数量+采购已定价数量",
  11357. "type": "number"
  11358. },
  11359. "oritoalspotqty": {
  11360. "description": "昨日数量",
  11361. "type": "number"
  11362. },
  11363. "totalspotqty": {
  11364. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11365. "type": "number"
  11366. },
  11367. "updatetime": {
  11368. "description": "更新时间",
  11369. "type": "string"
  11370. }
  11371. }
  11372. },
  11373. "models.Ermcp3AreaSpotDetail": {
  11374. "type": "object",
  11375. "properties": {
  11376. "contracttype": {
  11377. "description": "合同类型 1-采购 -1-销售",
  11378. "type": "integer"
  11379. },
  11380. "createtime": {
  11381. "description": "创建时间",
  11382. "type": "string"
  11383. },
  11384. "deliverygoodscode": {
  11385. "description": "现货品种代码",
  11386. "type": "string"
  11387. },
  11388. "deliverygoodsid": {
  11389. "description": "现货品种id",
  11390. "type": "integer"
  11391. },
  11392. "deliverygoodsname": {
  11393. "description": "现货品种名称",
  11394. "type": "string"
  11395. },
  11396. "enumdicname": {
  11397. "description": "现货商品单位名称",
  11398. "type": "string"
  11399. },
  11400. "logtype": {
  11401. "description": "记录类型 1-套保 2-现货合同",
  11402. "type": "integer"
  11403. },
  11404. "qty": {
  11405. "description": "数量",
  11406. "type": "number"
  11407. },
  11408. "recordname": {
  11409. "description": "类型名称",
  11410. "type": "string"
  11411. },
  11412. "relatedid": {
  11413. "description": "套保计划ID/现货合同ID",
  11414. "type": "string"
  11415. },
  11416. "relatedno": {
  11417. "description": "编号",
  11418. "type": "string"
  11419. },
  11420. "strtime": {
  11421. "description": "时间",
  11422. "type": "string"
  11423. }
  11424. }
  11425. },
  11426. "models.Ermcp3AreaSpotPLReport": {
  11427. "type": "object",
  11428. "properties": {
  11429. "accountid": {
  11430. "description": "期货账户ID (作废, 默认为0)",
  11431. "type": "integer"
  11432. },
  11433. "accountname": {
  11434. "description": "机构名称",
  11435. "type": "string"
  11436. },
  11437. "actualpl": {
  11438. "description": "现货损益",
  11439. "type": "number"
  11440. },
  11441. "areauserid": {
  11442. "description": "所属机构\\交易用户ID",
  11443. "type": "integer"
  11444. },
  11445. "biztype": {
  11446. "description": "业务类型 - 1:套保 2:套利",
  11447. "type": "integer"
  11448. },
  11449. "brandname": {
  11450. "description": "品牌名称",
  11451. "type": "string"
  11452. },
  11453. "curamount": {
  11454. "description": "期末额",
  11455. "type": "number"
  11456. },
  11457. "curaverageprice": {
  11458. "description": "期末均价",
  11459. "type": "number"
  11460. },
  11461. "curbuyamount": {
  11462. "description": "期末采购总额",
  11463. "type": "number"
  11464. },
  11465. "curbuyqty": {
  11466. "description": "期末采购总量",
  11467. "type": "number"
  11468. },
  11469. "curmarketvalue": {
  11470. "description": "参考市值(期末市值)",
  11471. "type": "number"
  11472. },
  11473. "curqty": {
  11474. "description": "期末量",
  11475. "type": "number"
  11476. },
  11477. "currencyid": {
  11478. "description": "结算币种ID【原值】",
  11479. "type": "integer"
  11480. },
  11481. "currencyname": {
  11482. "description": "币种名称",
  11483. "type": "string"
  11484. },
  11485. "cursellamount": {
  11486. "description": "期末销售总额",
  11487. "type": "number"
  11488. },
  11489. "cursellqty": {
  11490. "description": "期末销售总量",
  11491. "type": "number"
  11492. },
  11493. "curspotprice": {
  11494. "description": "参考市价(最新价)",
  11495. "type": "number"
  11496. },
  11497. "cycletime": {
  11498. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11499. "type": "string"
  11500. },
  11501. "cycletype": {
  11502. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11503. "type": "integer"
  11504. },
  11505. "deliverygoodscode": {
  11506. "description": "现货商品代码",
  11507. "type": "string"
  11508. },
  11509. "deliverygoodsid": {
  11510. "description": "现货品种ID",
  11511. "type": "integer"
  11512. },
  11513. "deliverygoodsname": {
  11514. "description": "现货商品名称",
  11515. "type": "string"
  11516. },
  11517. "enumdicname": {
  11518. "description": "现货商品单位名称",
  11519. "type": "string"
  11520. },
  11521. "floatpl": {
  11522. "description": "浮动损益",
  11523. "type": "number"
  11524. },
  11525. "goodsunitid": {
  11526. "description": "现货商品单位id",
  11527. "type": "integer"
  11528. },
  11529. "oriamount": {
  11530. "description": "期初额",
  11531. "type": "number"
  11532. },
  11533. "oriaverageprice": {
  11534. "description": "期初均价",
  11535. "type": "number"
  11536. },
  11537. "oribuyamount": {
  11538. "description": "期初采购总额",
  11539. "type": "number"
  11540. },
  11541. "oribuyqty": {
  11542. "description": "期初采购总量",
  11543. "type": "number"
  11544. },
  11545. "oriqty": {
  11546. "description": "期初量",
  11547. "type": "number"
  11548. },
  11549. "orisellamount": {
  11550. "description": "期初销售总额",
  11551. "type": "number"
  11552. },
  11553. "orisellqty": {
  11554. "description": "期初销售总量",
  11555. "type": "number"
  11556. },
  11557. "reckondate": {
  11558. "description": "日照时期(yyyyMMdd)",
  11559. "type": "string"
  11560. },
  11561. "spotgoodsbrandid": {
  11562. "description": "现货品牌ID",
  11563. "type": "integer"
  11564. },
  11565. "todaybuyamount": {
  11566. "description": "今日采购额(今采购额)",
  11567. "type": "number"
  11568. },
  11569. "todaybuyaverageprice": {
  11570. "description": "今日采购均价",
  11571. "type": "number"
  11572. },
  11573. "todaybuyqty": {
  11574. "description": "今日采购量(今采购量)",
  11575. "type": "number"
  11576. },
  11577. "todayinqty": {
  11578. "description": "今日入库量(今入库量)",
  11579. "type": "number"
  11580. },
  11581. "todayoutqty": {
  11582. "description": "今日出库量(今出库量)",
  11583. "type": "number"
  11584. },
  11585. "todaysellamount": {
  11586. "description": "今日销售额(今销售额)",
  11587. "type": "number"
  11588. },
  11589. "todaysellaverageprice": {
  11590. "description": "今日销售均价",
  11591. "type": "number"
  11592. },
  11593. "todaysellqty": {
  11594. "description": "今日销售量(今销售量)",
  11595. "type": "number"
  11596. },
  11597. "unitid": {
  11598. "description": "品类单位id",
  11599. "type": "integer"
  11600. },
  11601. "unitidname": {
  11602. "description": "品类单位名称",
  11603. "type": "string"
  11604. },
  11605. "updatetime": {
  11606. "description": "更新时间",
  11607. "type": "string"
  11608. },
  11609. "wrfactortypeid": {
  11610. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  11611. "type": "integer"
  11612. },
  11613. "wrstandardcode": {
  11614. "description": "品类代码",
  11615. "type": "string"
  11616. },
  11617. "wrstandardid": {
  11618. "description": "现货品类ID",
  11619. "type": "string"
  11620. },
  11621. "wrstandardname": {
  11622. "description": "品类名称",
  11623. "type": "string"
  11624. }
  11625. }
  11626. },
  11627. "models.Ermcp3AreaStock": {
  11628. "type": "object",
  11629. "required": [
  11630. "userid"
  11631. ],
  11632. "properties": {
  11633. "brandname": {
  11634. "description": "品牌名称",
  11635. "type": "string"
  11636. },
  11637. "curstock": {
  11638. "description": "期末库存量(今日量)",
  11639. "type": "number"
  11640. },
  11641. "deliverygoodscode": {
  11642. "description": "现货品种代码",
  11643. "type": "string"
  11644. },
  11645. "deliverygoodsid": {
  11646. "description": "现货品种id",
  11647. "type": "integer"
  11648. },
  11649. "deliverygoodsname": {
  11650. "description": "现货品种名称",
  11651. "type": "string"
  11652. },
  11653. "enumdicname": {
  11654. "description": "单位名称",
  11655. "type": "string"
  11656. },
  11657. "goodsunitid": {
  11658. "description": "现货商品单位id",
  11659. "type": "integer"
  11660. },
  11661. "oristock": {
  11662. "description": "期初库存量(昨日量)",
  11663. "type": "number"
  11664. },
  11665. "spotgoodsbrandid": {
  11666. "description": "现货品牌ID",
  11667. "type": "integer"
  11668. },
  11669. "todaybuyinqty": {
  11670. "description": "今日采购入库量",
  11671. "type": "number"
  11672. },
  11673. "todayproduceinqty": {
  11674. "description": "今日生产入库量",
  11675. "type": "number"
  11676. },
  11677. "todayproduceoutqty": {
  11678. "description": "今日生产出库量",
  11679. "type": "number"
  11680. },
  11681. "todayselloutqty": {
  11682. "description": "今日销售出库量",
  11683. "type": "number"
  11684. },
  11685. "unitid": {
  11686. "description": "单位id",
  11687. "type": "integer"
  11688. },
  11689. "updatetime": {
  11690. "description": "更新时间",
  11691. "type": "string"
  11692. },
  11693. "userid": {
  11694. "description": "机构ID",
  11695. "type": "integer"
  11696. },
  11697. "username": {
  11698. "description": "机构名称",
  11699. "type": "string"
  11700. },
  11701. "warehousecode": {
  11702. "description": "仓库代码",
  11703. "type": "string"
  11704. },
  11705. "warehouseinfoid": {
  11706. "description": "仓库ID",
  11707. "type": "string"
  11708. },
  11709. "warehousename": {
  11710. "description": "仓库名称",
  11711. "type": "string"
  11712. },
  11713. "warehousetype": {
  11714. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11715. "type": "integer"
  11716. },
  11717. "wrstandardcode": {
  11718. "description": "品类代码",
  11719. "type": "string"
  11720. },
  11721. "wrstandardid": {
  11722. "description": "品类ID",
  11723. "type": "string"
  11724. },
  11725. "wrstandardname": {
  11726. "description": "品类名称",
  11727. "type": "string"
  11728. }
  11729. }
  11730. },
  11731. "models.Ermcp3AreaStockApply": {
  11732. "type": "object",
  11733. "properties": {
  11734. "applyid": {
  11735. "description": "申请人",
  11736. "type": "integer"
  11737. },
  11738. "applyname": {
  11739. "description": "申请人名称",
  11740. "type": "string"
  11741. },
  11742. "applyremark": {
  11743. "description": "申请备注",
  11744. "type": "string"
  11745. },
  11746. "applysrc": {
  11747. "description": "申请来源 - 1:管理端 2:终端",
  11748. "type": "integer"
  11749. },
  11750. "applystatus": {
  11751. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11752. "type": "integer"
  11753. },
  11754. "applytime": {
  11755. "description": "申请时间",
  11756. "type": "string"
  11757. },
  11758. "auditid": {
  11759. "description": "审核人",
  11760. "type": "integer"
  11761. },
  11762. "auditname": {
  11763. "description": "审核人名称",
  11764. "type": "string"
  11765. },
  11766. "auditremark": {
  11767. "description": "审核备注",
  11768. "type": "string"
  11769. },
  11770. "auditsrc": {
  11771. "description": "审核来源 - 1:管理端 2:终端",
  11772. "type": "integer"
  11773. },
  11774. "audittime": {
  11775. "description": "审核时间",
  11776. "type": "string"
  11777. },
  11778. "audittradedate": {
  11779. "description": "审核交易日(yyyyMMdd)",
  11780. "type": "string"
  11781. },
  11782. "brandname": {
  11783. "description": "品牌名称",
  11784. "type": "string"
  11785. },
  11786. "buynickname": {
  11787. "description": "采购方昵称",
  11788. "type": "string"
  11789. },
  11790. "buyuserid": {
  11791. "description": "采购方userid",
  11792. "type": "integer"
  11793. },
  11794. "buyusername": {
  11795. "description": "采购方名称",
  11796. "type": "string"
  11797. },
  11798. "contractno": {
  11799. "description": "合同编号",
  11800. "type": "string"
  11801. },
  11802. "contractqty": {
  11803. "description": "合同量",
  11804. "type": "number"
  11805. },
  11806. "contracttype": {
  11807. "description": "现货合同类型 - 1:采购 -1:销售",
  11808. "type": "integer"
  11809. },
  11810. "deliverygoodscode": {
  11811. "description": "现货品种代码",
  11812. "type": "string"
  11813. },
  11814. "deliverygoodsid": {
  11815. "description": "现货品种id",
  11816. "type": "integer"
  11817. },
  11818. "deliverygoodsname": {
  11819. "description": "现货品种名称",
  11820. "type": "string"
  11821. },
  11822. "detailjson": {
  11823. "description": "明细数据",
  11824. "type": "string"
  11825. },
  11826. "enumdicname": {
  11827. "description": "现货商品单位名称",
  11828. "type": "string"
  11829. },
  11830. "inoutapplyid": {
  11831. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11832. "type": "string"
  11833. },
  11834. "inouttype": {
  11835. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  11836. "type": "integer"
  11837. },
  11838. "pricetype": {
  11839. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11840. "type": "integer"
  11841. },
  11842. "qty": {
  11843. "description": "数量",
  11844. "type": "number"
  11845. },
  11846. "sellnickname": {
  11847. "description": "销售方昵称",
  11848. "type": "string"
  11849. },
  11850. "selluserid": {
  11851. "description": "销售方userid",
  11852. "type": "integer"
  11853. },
  11854. "sellusername": {
  11855. "description": "销售方名称",
  11856. "type": "string"
  11857. },
  11858. "spotcontractid": {
  11859. "description": "关联现货合同ID",
  11860. "type": "string"
  11861. },
  11862. "spotgoodsbrandid": {
  11863. "description": "现货品牌ID",
  11864. "type": "integer"
  11865. },
  11866. "unitid": {
  11867. "description": "单位id",
  11868. "type": "integer"
  11869. },
  11870. "userid": {
  11871. "description": "机构ID",
  11872. "type": "integer"
  11873. },
  11874. "warehousecode": {
  11875. "description": "仓库代码",
  11876. "type": "string"
  11877. },
  11878. "warehouseinfoid": {
  11879. "description": "现货仓库ID",
  11880. "type": "string"
  11881. },
  11882. "warehousename": {
  11883. "description": "仓库名称",
  11884. "type": "string"
  11885. },
  11886. "warehousetype": {
  11887. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11888. "type": "integer"
  11889. },
  11890. "wrstandardcode": {
  11891. "description": "品类代码",
  11892. "type": "string"
  11893. },
  11894. "wrstandardid": {
  11895. "description": "品类ID",
  11896. "type": "integer"
  11897. },
  11898. "wrstandardname": {
  11899. "description": "品类名称",
  11900. "type": "string"
  11901. }
  11902. }
  11903. },
  11904. "models.Ermcp3AreaStockApplySum": {
  11905. "type": "object",
  11906. "properties": {
  11907. "brandname": {
  11908. "description": "品牌名称",
  11909. "type": "string"
  11910. },
  11911. "inouttype": {
  11912. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11913. "type": "integer"
  11914. },
  11915. "spotcontractid": {
  11916. "description": "关联现货合同ID",
  11917. "type": "string"
  11918. },
  11919. "spotgoodsbrandid": {
  11920. "description": "品牌id",
  11921. "type": "integer"
  11922. },
  11923. "totalqty": {
  11924. "description": "总数量",
  11925. "type": "number"
  11926. },
  11927. "wrstandardid": {
  11928. "description": "品类id",
  11929. "type": "integer"
  11930. },
  11931. "wrstandardname": {
  11932. "description": "品类名称",
  11933. "type": "string"
  11934. }
  11935. }
  11936. },
  11937. "models.Ermcp3AreaStockReport": {
  11938. "type": "object",
  11939. "properties": {
  11940. "brandname": {
  11941. "description": "品牌名称",
  11942. "type": "string"
  11943. },
  11944. "curstock": {
  11945. "description": "期末库存量",
  11946. "type": "number"
  11947. },
  11948. "cycletime": {
  11949. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  11950. "type": "string"
  11951. },
  11952. "cycletype": {
  11953. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11954. "type": "integer"
  11955. },
  11956. "deliverygoodscode": {
  11957. "description": "现货品种代码",
  11958. "type": "string"
  11959. },
  11960. "deliverygoodsid": {
  11961. "description": "现货品种id",
  11962. "type": "integer"
  11963. },
  11964. "deliverygoodsname": {
  11965. "description": "现货品种名称",
  11966. "type": "string"
  11967. },
  11968. "diffqty": {
  11969. "description": "库存变化量 = 期末 - 期初",
  11970. "type": "number"
  11971. },
  11972. "enumdicname": {
  11973. "description": "单位名称",
  11974. "type": "string"
  11975. },
  11976. "goodsunitid": {
  11977. "description": "现货单位id",
  11978. "type": "integer"
  11979. },
  11980. "oristock": {
  11981. "description": "期初库存量",
  11982. "type": "number"
  11983. },
  11984. "reckondate": {
  11985. "description": "日照时期(yyyyMMdd)",
  11986. "type": "string"
  11987. },
  11988. "spotgoodsbrandid": {
  11989. "description": "现货品牌ID",
  11990. "type": "integer"
  11991. },
  11992. "todaybuyinqty": {
  11993. "description": "今采购入库量",
  11994. "type": "number"
  11995. },
  11996. "todayproduceinqty": {
  11997. "description": "今内部入库量",
  11998. "type": "number"
  11999. },
  12000. "todayproduceoutqty": {
  12001. "description": "今内部出库量",
  12002. "type": "number"
  12003. },
  12004. "todayselloutqty": {
  12005. "description": "今销售出库量",
  12006. "type": "number"
  12007. },
  12008. "unbuyinqty": {
  12009. "description": "采购未入库量(数据库未找到相关字段?)",
  12010. "type": "number"
  12011. },
  12012. "unitid": {
  12013. "description": "品类单位id",
  12014. "type": "integer"
  12015. },
  12016. "unselloutqty": {
  12017. "description": "销售未出库量(数据库未找到相关字段?)",
  12018. "type": "number"
  12019. },
  12020. "updatetime": {
  12021. "description": "更新时间",
  12022. "type": "string"
  12023. },
  12024. "userid": {
  12025. "description": "机构ID",
  12026. "type": "integer"
  12027. },
  12028. "username": {
  12029. "description": "机构名称",
  12030. "type": "string"
  12031. },
  12032. "warehousecode": {
  12033. "description": "仓库代码",
  12034. "type": "string"
  12035. },
  12036. "warehouseinfoid": {
  12037. "description": "仓库ID",
  12038. "type": "string"
  12039. },
  12040. "warehousename": {
  12041. "description": "仓库名称",
  12042. "type": "string"
  12043. },
  12044. "warehousetype": {
  12045. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12046. "type": "integer"
  12047. },
  12048. "wrstandardcode": {
  12049. "description": "品类代码",
  12050. "type": "string"
  12051. },
  12052. "wrstandardid": {
  12053. "description": "品类ID",
  12054. "type": "integer"
  12055. },
  12056. "wrstandardname": {
  12057. "description": "品类名称",
  12058. "type": "string"
  12059. }
  12060. }
  12061. },
  12062. "models.Ermcp3ArealSumPL": {
  12063. "type": "object",
  12064. "properties": {
  12065. "areauserid": {
  12066. "description": "所属机构\\交易用户ID",
  12067. "type": "integer"
  12068. },
  12069. "currencyid": {
  12070. "description": "结算币种ID",
  12071. "type": "integer"
  12072. },
  12073. "currencyname": {
  12074. "description": "币种名称",
  12075. "type": "string"
  12076. },
  12077. "cycletime": {
  12078. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12079. "type": "string"
  12080. },
  12081. "cycletype": {
  12082. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12083. "type": "integer"
  12084. },
  12085. "futureactualpl": {
  12086. "description": "期货损益",
  12087. "type": "number"
  12088. },
  12089. "futurefloatpl": {
  12090. "description": "期货浮动损益",
  12091. "type": "number"
  12092. },
  12093. "middlegoodsid": {
  12094. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12095. "type": "integer"
  12096. },
  12097. "reckondate": {
  12098. "description": "日照时期(yyyyMMdd)",
  12099. "type": "string"
  12100. },
  12101. "spotactualpl": {
  12102. "description": "现货损益",
  12103. "type": "number"
  12104. },
  12105. "spotfloatpl": {
  12106. "description": "现货浮动损益",
  12107. "type": "number"
  12108. },
  12109. "sumactualpl": {
  12110. "description": "实际损益 = (ActualPL + FutureActualPL)",
  12111. "type": "number"
  12112. },
  12113. "sumpl": {
  12114. "description": "汇总损益",
  12115. "type": "number"
  12116. },
  12117. "updatetime": {
  12118. "description": "更新时间",
  12119. "type": "string"
  12120. }
  12121. }
  12122. },
  12123. "models.Ermcp3Brand": {
  12124. "type": "object",
  12125. "properties": {
  12126. "areauserid": {
  12127. "description": "用户id",
  12128. "type": "integer"
  12129. },
  12130. "brandid": {
  12131. "description": "品牌id",
  12132. "type": "integer"
  12133. },
  12134. "brandname": {
  12135. "description": "品牌名称",
  12136. "type": "string"
  12137. },
  12138. "deliverygoodsid": {
  12139. "description": "品种ID",
  12140. "type": "integer"
  12141. }
  12142. }
  12143. },
  12144. "models.Ermcp3Contract": {
  12145. "type": "object",
  12146. "properties": {
  12147. "accountid": {
  12148. "description": "期货账户id",
  12149. "type": "string"
  12150. },
  12151. "amount": {
  12152. "description": "金额 [1:一口价、3:暂定价]",
  12153. "type": "number"
  12154. },
  12155. "attachment": {
  12156. "description": "附件",
  12157. "type": "string"
  12158. },
  12159. "auditremark": {
  12160. "description": "审核意见",
  12161. "type": "string"
  12162. },
  12163. "audittime": {
  12164. "description": "审核时间",
  12165. "type": "string"
  12166. },
  12167. "biztype": {
  12168. "description": "业务类型 1-套保 2-套利",
  12169. "type": "integer"
  12170. },
  12171. "brandname": {
  12172. "description": "品牌名称",
  12173. "type": "string"
  12174. },
  12175. "buynickname": {
  12176. "description": "销售方昵称",
  12177. "type": "string"
  12178. },
  12179. "buyuserid": {
  12180. "description": "采购方ID",
  12181. "type": "integer"
  12182. },
  12183. "buyusername": {
  12184. "description": "采购方名称",
  12185. "type": "string"
  12186. },
  12187. "contracctstatus": {
  12188. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12189. "type": "integer"
  12190. },
  12191. "contractmargin": {
  12192. "description": "合同保证金",
  12193. "type": "number"
  12194. },
  12195. "contractno": {
  12196. "description": "现货合同编号",
  12197. "type": "string"
  12198. },
  12199. "contracttype": {
  12200. "description": "现货合同类型 - 1:采购 -1:销售",
  12201. "type": "integer"
  12202. },
  12203. "convertfactor": {
  12204. "description": "标仓系数(品类)",
  12205. "type": "number"
  12206. },
  12207. "createtime": {
  12208. "description": "创建时间",
  12209. "type": "string"
  12210. },
  12211. "currencyid": {
  12212. "description": "币种id",
  12213. "type": "integer"
  12214. },
  12215. "currencyname": {
  12216. "description": "币种名称",
  12217. "type": "string"
  12218. },
  12219. "deliveryenddate": {
  12220. "description": "交收期(结束)",
  12221. "type": "string"
  12222. },
  12223. "deliverygoodscode": {
  12224. "description": "现货品种代码",
  12225. "type": "string"
  12226. },
  12227. "deliverygoodsid": {
  12228. "description": "现货品种ID",
  12229. "type": "integer"
  12230. },
  12231. "deliverygoodsname": {
  12232. "description": "现货品种名称",
  12233. "type": "string"
  12234. },
  12235. "deliverystartdate": {
  12236. "description": "交收期(开始)",
  12237. "type": "string"
  12238. },
  12239. "enddate": {
  12240. "description": "点价结束日期 [2:点价 3:暂定价]",
  12241. "type": "string"
  12242. },
  12243. "enumdicname": {
  12244. "description": "单位名称",
  12245. "type": "string"
  12246. },
  12247. "goodscode": {
  12248. "description": "点价合约代码",
  12249. "type": "string"
  12250. },
  12251. "goodsid": {
  12252. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  12253. "type": "integer"
  12254. },
  12255. "goodsname": {
  12256. "description": "点价商品名称",
  12257. "type": "string"
  12258. },
  12259. "margin": {
  12260. "description": "当前保证金",
  12261. "type": "number"
  12262. },
  12263. "meruserid": {
  12264. "description": "跟单员id",
  12265. "type": "integer"
  12266. },
  12267. "meruserlogincode": {
  12268. "description": "跟单员登录代码",
  12269. "type": "string"
  12270. },
  12271. "price": {
  12272. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  12273. "type": "number"
  12274. },
  12275. "pricemove": {
  12276. "description": "升贴水 [2:点价 3:暂定价]",
  12277. "type": "number"
  12278. },
  12279. "pricetype": {
  12280. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12281. "type": "integer"
  12282. },
  12283. "producttype": {
  12284. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12285. "type": "integer"
  12286. },
  12287. "qty": {
  12288. "description": "数量",
  12289. "type": "number"
  12290. },
  12291. "remark": {
  12292. "description": "备注",
  12293. "type": "string"
  12294. },
  12295. "saleuserid": {
  12296. "description": "业务员id",
  12297. "type": "integer"
  12298. },
  12299. "saleuserlogincode": {
  12300. "description": "业务员登录代码",
  12301. "type": "string"
  12302. },
  12303. "sellnickname": {
  12304. "description": "采购方昵称",
  12305. "type": "string"
  12306. },
  12307. "selluserid": {
  12308. "description": "销售方ID",
  12309. "type": "integer"
  12310. },
  12311. "sellusername": {
  12312. "description": "销售方名称",
  12313. "type": "string"
  12314. },
  12315. "spotcontractid": {
  12316. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  12317. "type": "string"
  12318. },
  12319. "spotgoodsbrandid": {
  12320. "description": "现货品牌ID(DGFactoryItem表的ID)",
  12321. "type": "integer"
  12322. },
  12323. "spotgoodsdesc": {
  12324. "description": "商品型号",
  12325. "type": "string"
  12326. },
  12327. "startdate": {
  12328. "description": "点价开始日期 [2:点价 3:暂定价]",
  12329. "type": "string"
  12330. },
  12331. "tradeuserid": {
  12332. "description": "交易员id",
  12333. "type": "integer"
  12334. },
  12335. "tradeuserlogincode": {
  12336. "description": "交易员登录代码",
  12337. "type": "string"
  12338. },
  12339. "tradeusername": {
  12340. "description": "交易员名称",
  12341. "type": "string"
  12342. },
  12343. "unitid": {
  12344. "description": "单位id(取品类上的单位id)",
  12345. "type": "integer"
  12346. },
  12347. "updatetime": {
  12348. "description": "更新时间",
  12349. "type": "string"
  12350. },
  12351. "userid": {
  12352. "description": "所属机构ID",
  12353. "type": "integer"
  12354. },
  12355. "wrstandardcode": {
  12356. "description": "品类代码",
  12357. "type": "string"
  12358. },
  12359. "wrstandardid": {
  12360. "description": "品类ID",
  12361. "type": "integer"
  12362. },
  12363. "wrstandardname": {
  12364. "description": "品类名称",
  12365. "type": "string"
  12366. }
  12367. }
  12368. },
  12369. "models.Ermcp3ExposureContractDetail": {
  12370. "type": "object",
  12371. "properties": {
  12372. "biztype": {
  12373. "description": "业务类型 1-套保 2-套利",
  12374. "type": "integer"
  12375. },
  12376. "brandname": {
  12377. "description": "品牌名称",
  12378. "type": "string"
  12379. },
  12380. "buyuserid": {
  12381. "description": "采购方id",
  12382. "type": "integer"
  12383. },
  12384. "buyusername": {
  12385. "description": "采购方名称",
  12386. "type": "string"
  12387. },
  12388. "contractno": {
  12389. "description": "合同编号",
  12390. "type": "string"
  12391. },
  12392. "contracttype": {
  12393. "description": "现货合同类型 - 1:采购 -1:销售",
  12394. "type": "integer"
  12395. },
  12396. "convertratio": {
  12397. "description": "折算系数(套保品种)",
  12398. "type": "number"
  12399. },
  12400. "curqty": {
  12401. "description": "今定价量",
  12402. "type": "number"
  12403. },
  12404. "deliverygoodscode": {
  12405. "description": "现货商品代码",
  12406. "type": "string"
  12407. },
  12408. "deliverygoodsid": {
  12409. "description": "现货商品id",
  12410. "type": "integer"
  12411. },
  12412. "deliverygoodsname": {
  12413. "description": "现货商品名称",
  12414. "type": "string"
  12415. },
  12416. "diffqty": {
  12417. "description": "套保品种今变动量",
  12418. "type": "number"
  12419. },
  12420. "enumdicname": {
  12421. "description": "单位名称",
  12422. "type": "string"
  12423. },
  12424. "middlegoodscode": {
  12425. "description": "套保品种代码",
  12426. "type": "string"
  12427. },
  12428. "middlegoodsid": {
  12429. "description": "套保品种id",
  12430. "type": "integer"
  12431. },
  12432. "middlegoodsname": {
  12433. "description": "套保品种名称",
  12434. "type": "string"
  12435. },
  12436. "needarbitrageratio": {
  12437. "description": "应套利比例",
  12438. "type": "number"
  12439. },
  12440. "needhedgeratio": {
  12441. "description": "应套保比例",
  12442. "type": "number"
  12443. },
  12444. "pricedqty": {
  12445. "description": "已定价量",
  12446. "type": "number"
  12447. },
  12448. "qty": {
  12449. "description": "合同量",
  12450. "type": "number"
  12451. },
  12452. "selluserid": {
  12453. "description": "销售方id",
  12454. "type": "integer"
  12455. },
  12456. "sellusername": {
  12457. "description": "销售方名称",
  12458. "type": "string"
  12459. },
  12460. "spotcontractid": {
  12461. "description": "合同id",
  12462. "type": "string"
  12463. },
  12464. "tradedate": {
  12465. "description": "交易日",
  12466. "type": "string"
  12467. },
  12468. "unitid": {
  12469. "description": "品类单位id",
  12470. "type": "integer"
  12471. },
  12472. "userid": {
  12473. "description": "机构id",
  12474. "type": "integer"
  12475. },
  12476. "wrstandardcode": {
  12477. "description": "品类代码",
  12478. "type": "string"
  12479. },
  12480. "wrstandardid": {
  12481. "description": "品类id",
  12482. "type": "integer"
  12483. },
  12484. "wrstandardname": {
  12485. "description": "品类名称",
  12486. "type": "string"
  12487. }
  12488. }
  12489. },
  12490. "models.Ermcp3ExposureDetail": {
  12491. "type": "object",
  12492. "properties": {
  12493. "areauserid": {
  12494. "description": "机构ID",
  12495. "type": "integer"
  12496. },
  12497. "changeQty": {
  12498. "description": "套保变动量",
  12499. "type": "number"
  12500. },
  12501. "contracttype": {
  12502. "description": "现货合同类型 - 1:采购 -1:销售",
  12503. "type": "integer"
  12504. },
  12505. "convertfactor": {
  12506. "description": "标仓系数",
  12507. "type": "number"
  12508. },
  12509. "convertratio": {
  12510. "description": "套保系数",
  12511. "type": "number"
  12512. },
  12513. "createtime": {
  12514. "description": "时间",
  12515. "type": "string"
  12516. },
  12517. "deliverygoodscode": {
  12518. "description": "现货品种代码",
  12519. "type": "string"
  12520. },
  12521. "deliverygoodsid": {
  12522. "description": "现货品种id",
  12523. "type": "integer"
  12524. },
  12525. "deliverygoodsname": {
  12526. "description": "现货品种名称",
  12527. "type": "string"
  12528. },
  12529. "enumdicname": {
  12530. "description": "现货商品单位名称",
  12531. "type": "string"
  12532. },
  12533. "logtype": {
  12534. "description": "类型 - 1:套保计划 2:现货合同",
  12535. "type": "integer"
  12536. },
  12537. "mgunitid": {
  12538. "description": "套保品种单位id",
  12539. "type": "integer"
  12540. },
  12541. "mgunitidname": {
  12542. "description": "套保品种单位名称",
  12543. "type": "string"
  12544. },
  12545. "middlegoodsId": {
  12546. "description": "套保商品id",
  12547. "type": "integer"
  12548. },
  12549. "middlegoodscode": {
  12550. "description": "套保商品代码",
  12551. "type": "string"
  12552. },
  12553. "middlegoodsname": {
  12554. "description": "套保商品名称",
  12555. "type": "string"
  12556. },
  12557. "qty": {
  12558. "description": "数量",
  12559. "type": "number"
  12560. },
  12561. "relateNo": {
  12562. "description": "现货合同/套保计划编号",
  12563. "type": "string"
  12564. }
  12565. }
  12566. },
  12567. "models.Ermcp3ExposureHedgeplanDetail": {
  12568. "type": "object",
  12569. "properties": {
  12570. "biztype": {
  12571. "description": "业务类型 1-套保 2-套利",
  12572. "type": "integer"
  12573. },
  12574. "changqty": {
  12575. "description": "应套保总量变化量",
  12576. "type": "number"
  12577. },
  12578. "contracttype": {
  12579. "description": "计划类型 - 1:采购 -1:销售",
  12580. "type": "integer"
  12581. },
  12582. "convertratio": {
  12583. "description": "折算系数(套保品种)",
  12584. "type": "number"
  12585. },
  12586. "deliverygoodsid": {
  12587. "description": "现货商品id",
  12588. "type": "integer"
  12589. },
  12590. "diffqty": {
  12591. "description": "套保品种今变动量",
  12592. "type": "number"
  12593. },
  12594. "enumdicname": {
  12595. "description": "单位名称(品类)",
  12596. "type": "string"
  12597. },
  12598. "hedgeplanid": {
  12599. "description": "套保计划id",
  12600. "type": "string"
  12601. },
  12602. "hedgeplanno": {
  12603. "description": "套保计划编号",
  12604. "type": "string"
  12605. },
  12606. "hedgeplanstatus": {
  12607. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12608. "type": "integer"
  12609. },
  12610. "mgunitidname": {
  12611. "description": "单位名称(套保商品)",
  12612. "type": "string"
  12613. },
  12614. "middlegoodscode": {
  12615. "description": "套保品种代码",
  12616. "type": "string"
  12617. },
  12618. "middlegoodsid": {
  12619. "description": "套保品种id",
  12620. "type": "integer"
  12621. },
  12622. "middlegoodsname": {
  12623. "description": "套保品种名称",
  12624. "type": "string"
  12625. },
  12626. "needarbitrageratio": {
  12627. "description": "应套利比例",
  12628. "type": "number"
  12629. },
  12630. "needhedgeratio": {
  12631. "description": "应套保比例",
  12632. "type": "number"
  12633. },
  12634. "pricedqty": {
  12635. "description": "已定价量",
  12636. "type": "number"
  12637. },
  12638. "qty": {
  12639. "description": "合同量",
  12640. "type": "number"
  12641. },
  12642. "tradedate": {
  12643. "description": "交易日(登记日)",
  12644. "type": "string"
  12645. },
  12646. "unitid": {
  12647. "description": "品类单位id",
  12648. "type": "integer"
  12649. },
  12650. "userid": {
  12651. "description": "机构id",
  12652. "type": "integer"
  12653. },
  12654. "wrstandardcode": {
  12655. "description": "品类代码",
  12656. "type": "string"
  12657. },
  12658. "wrstandardid": {
  12659. "description": "品类id",
  12660. "type": "integer"
  12661. },
  12662. "wrstandardname": {
  12663. "description": "品类名称",
  12664. "type": "string"
  12665. }
  12666. }
  12667. },
  12668. "models.Ermcp3ExpourseReport": {
  12669. "type": "object",
  12670. "properties": {
  12671. "accountid": {
  12672. "description": "期货账户ID (作废, 默认为0)",
  12673. "type": "integer"
  12674. },
  12675. "accountname": {
  12676. "description": "机构名称",
  12677. "type": "string"
  12678. },
  12679. "arbitrageqty": {
  12680. "description": "套利量",
  12681. "type": "number"
  12682. },
  12683. "areauserid": {
  12684. "description": "所属机构\\交易用户ID",
  12685. "type": "integer"
  12686. },
  12687. "buyfutureqty": {
  12688. "description": "买入期货数量",
  12689. "type": "number"
  12690. },
  12691. "buyplanqty": {
  12692. "description": "采购计划数量",
  12693. "type": "number"
  12694. },
  12695. "buypricedqty": {
  12696. "description": "采购合同已定价数量",
  12697. "type": "number"
  12698. },
  12699. "cycletime": {
  12700. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12701. "type": "string"
  12702. },
  12703. "cycletype": {
  12704. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12705. "type": "integer"
  12706. },
  12707. "diffexposure": {
  12708. "description": "变动量(套保敞口)",
  12709. "type": "number"
  12710. },
  12711. "difffutuqty": {
  12712. "description": "变动量(期货)",
  12713. "type": "number"
  12714. },
  12715. "diffhedgeqty": {
  12716. "description": "变动量(现货应套保总量)",
  12717. "type": "number"
  12718. },
  12719. "diffmgqtya": {
  12720. "description": "套保变动量",
  12721. "type": "number"
  12722. },
  12723. "diffmgqtyb": {
  12724. "description": "套利变动量",
  12725. "type": "number"
  12726. },
  12727. "diffqty": {
  12728. "description": "变动量(总敞口)",
  12729. "type": "number"
  12730. },
  12731. "diffspotqty": {
  12732. "description": "变动量(现货)",
  12733. "type": "number"
  12734. },
  12735. "enumdicname": {
  12736. "description": "单位名称",
  12737. "type": "string"
  12738. },
  12739. "hedgeqty": {
  12740. "description": "套保量",
  12741. "type": "number"
  12742. },
  12743. "mgneedhedgeratio": {
  12744. "description": "套保比例(套保品的)",
  12745. "type": "number"
  12746. },
  12747. "middlegoodsid": {
  12748. "description": "套保品种ID",
  12749. "type": "integer"
  12750. },
  12751. "middlegoodsname": {
  12752. "description": "套保商品名称",
  12753. "type": "string"
  12754. },
  12755. "middlgoodscode": {
  12756. "description": "套保商品代码",
  12757. "type": "string"
  12758. },
  12759. "needarbitrageqty": {
  12760. "description": "应套利量",
  12761. "type": "number"
  12762. },
  12763. "needarbitrageratio": {
  12764. "description": "套利比例(套保品的)",
  12765. "type": "number"
  12766. },
  12767. "needhedgeexposoure": {
  12768. "description": "应套保敞口(套保敞口)",
  12769. "type": "number"
  12770. },
  12771. "needhedgeqty": {
  12772. "description": "应套保量",
  12773. "type": "number"
  12774. },
  12775. "needhedgeratio": {
  12776. "description": "应套保敞口比例",
  12777. "type": "number"
  12778. },
  12779. "oriarbitrageqty": {
  12780. "description": "期初套利量",
  12781. "type": "number"
  12782. },
  12783. "oribuyfutureqty": {
  12784. "description": "期初买入期货数量",
  12785. "type": "number"
  12786. },
  12787. "oribuyplanqty": {
  12788. "description": "期初采购计划数量",
  12789. "type": "number"
  12790. },
  12791. "oribuypricedqty": {
  12792. "description": "期初采购合同已定价数量",
  12793. "type": "number"
  12794. },
  12795. "orihedgeqty": {
  12796. "description": "期初套保量",
  12797. "type": "number"
  12798. },
  12799. "orineedarbitrageqty": {
  12800. "description": "期初应套利量",
  12801. "type": "number"
  12802. },
  12803. "orineedhedgeexposoure": {
  12804. "description": "期初应套保敞口",
  12805. "type": "number"
  12806. },
  12807. "orineedhedgeqty": {
  12808. "description": "期初应套保量",
  12809. "type": "number"
  12810. },
  12811. "orisellfutureqty": {
  12812. "description": "期初卖出期货数量",
  12813. "type": "number"
  12814. },
  12815. "orisellplanqty": {
  12816. "description": "期初销售计划数量",
  12817. "type": "number"
  12818. },
  12819. "orisellpricedqty": {
  12820. "description": "期初销售合同已定价数量",
  12821. "type": "number"
  12822. },
  12823. "oritotalexposure": {
  12824. "description": "期初实时总敞口",
  12825. "type": "number"
  12826. },
  12827. "oritotalfutureqty": {
  12828. "description": "期初期货头寸总量",
  12829. "type": "number"
  12830. },
  12831. "oritotalneedhedgeqty": {
  12832. "description": "期初应套保总量",
  12833. "type": "number"
  12834. },
  12835. "oritotalspotqty": {
  12836. "description": "期初现货头寸总量",
  12837. "type": "number"
  12838. },
  12839. "reckondate": {
  12840. "description": "日照时期(yyyyMMdd)",
  12841. "type": "string"
  12842. },
  12843. "sellfutureqty": {
  12844. "description": "卖出期货数量",
  12845. "type": "number"
  12846. },
  12847. "sellplanqty": {
  12848. "description": "销售计划数量",
  12849. "type": "number"
  12850. },
  12851. "sellpricedqty": {
  12852. "description": "销售合同已定价数量",
  12853. "type": "number"
  12854. },
  12855. "totalexposure": {
  12856. "description": "实时总敞口(总敞口)",
  12857. "type": "number"
  12858. },
  12859. "totalfutureqty": {
  12860. "description": "期货头寸总量(期货总量)",
  12861. "type": "number"
  12862. },
  12863. "totalhedgeratio": {
  12864. "description": "敞口比例",
  12865. "type": "number"
  12866. },
  12867. "totalneedhedgeqty": {
  12868. "description": "应套保总量(现货应套保总量)",
  12869. "type": "number"
  12870. },
  12871. "totalspotqty": {
  12872. "description": "现货头寸总量",
  12873. "type": "number"
  12874. },
  12875. "unitid": {
  12876. "description": "单位id",
  12877. "type": "integer"
  12878. },
  12879. "updatetime": {
  12880. "description": "更新时间",
  12881. "type": "string"
  12882. }
  12883. }
  12884. },
  12885. "models.Ermcp3FinanceReport": {
  12886. "type": "object",
  12887. "properties": {
  12888. "areauserid": {
  12889. "description": "所属机构\\交易用户ID",
  12890. "type": "integer"
  12891. },
  12892. "biztype": {
  12893. "description": "业务类型 - 1:套保 2:套利",
  12894. "type": "integer"
  12895. },
  12896. "buypreinvoicedamount": {
  12897. "description": "采购预收票额(预收票额)",
  12898. "type": "number"
  12899. },
  12900. "buyprepaidamount": {
  12901. "description": "采购预付款额(预付货款额)",
  12902. "type": "number"
  12903. },
  12904. "buytodayinvoiceamount": {
  12905. "description": "采购今收票额(今收票额)",
  12906. "type": "number"
  12907. },
  12908. "buytodayrefundamount": {
  12909. "description": "采购今收退款额(今收退款额)",
  12910. "type": "number"
  12911. },
  12912. "buytodaysettleamount": {
  12913. "description": "采购今付款额(今付货款额)",
  12914. "type": "number"
  12915. },
  12916. "buyuninvoicedamount": {
  12917. "description": "采购应收票额(应收票额)",
  12918. "type": "number"
  12919. },
  12920. "buyunpaidamount": {
  12921. "description": "采购应付款额(应付货款额)",
  12922. "type": "number"
  12923. },
  12924. "currencyid": {
  12925. "description": "结算币种ID",
  12926. "type": "integer"
  12927. },
  12928. "currencyname": {
  12929. "description": "币种名称",
  12930. "type": "string"
  12931. },
  12932. "cycletime": {
  12933. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12934. "type": "string"
  12935. },
  12936. "cycletype": {
  12937. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12938. "type": "integer"
  12939. },
  12940. "deliverygoodsid": {
  12941. "description": "现货品种ID",
  12942. "type": "integer"
  12943. },
  12944. "reckondate": {
  12945. "description": "日照时期(yyyyMMdd)",
  12946. "type": "string"
  12947. },
  12948. "sellpreinvoicedamount": {
  12949. "description": "销售预开票额(预开票额)",
  12950. "type": "number"
  12951. },
  12952. "sellprepaidamount": {
  12953. "description": "销售预收款额(预收货款额)",
  12954. "type": "number"
  12955. },
  12956. "selltodayinvoiceamount": {
  12957. "description": "销售今开票额(今开票额)",
  12958. "type": "number"
  12959. },
  12960. "selltodayrefundamount": {
  12961. "description": "销售今付退款额(今付退款额)",
  12962. "type": "number"
  12963. },
  12964. "selltodaysettleamount": {
  12965. "description": "销售今收款额(今收货款额)",
  12966. "type": "number"
  12967. },
  12968. "selluninvoicedamount": {
  12969. "description": "销售应开票额(应开票额)",
  12970. "type": "number"
  12971. },
  12972. "sellunpaidamount": {
  12973. "description": "销售应收款额(应收货款额)",
  12974. "type": "number"
  12975. },
  12976. "spotgoodsbrandid": {
  12977. "description": "现货品牌ID",
  12978. "type": "integer"
  12979. },
  12980. "todaypaysum": {
  12981. "description": "今付款合计",
  12982. "type": "number"
  12983. },
  12984. "todayreceivesum": {
  12985. "description": "今收款合计",
  12986. "type": "number"
  12987. },
  12988. "updatetime": {
  12989. "description": "更新时间",
  12990. "type": "string"
  12991. },
  12992. "wrfactortypeid": {
  12993. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12994. "type": "integer"
  12995. },
  12996. "wrstandardid": {
  12997. "description": "现货商品ID",
  12998. "type": "integer"
  12999. }
  13000. }
  13001. },
  13002. "models.Ermcp3Goods": {
  13003. "type": "object",
  13004. "properties": {
  13005. "agreeunit": {
  13006. "description": "合约单位(合约乘数)",
  13007. "type": "number"
  13008. },
  13009. "enumdicname": {
  13010. "description": "单位名称",
  13011. "type": "string"
  13012. },
  13013. "exexchangecode": {
  13014. "description": "交易所代码",
  13015. "type": "string"
  13016. },
  13017. "goodscode": {
  13018. "description": "期货商品代码",
  13019. "type": "string"
  13020. },
  13021. "goodsid": {
  13022. "description": "期货商品id",
  13023. "type": "integer"
  13024. },
  13025. "goodsname": {
  13026. "description": "期货商品名称",
  13027. "type": "string"
  13028. }
  13029. }
  13030. },
  13031. "models.Ermcp3GoodsGroup": {
  13032. "type": "object",
  13033. "required": [
  13034. "areauserid"
  13035. ],
  13036. "properties": {
  13037. "agreeunit": {
  13038. "description": "合约单位",
  13039. "type": "number"
  13040. },
  13041. "areauserid": {
  13042. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  13043. "type": "integer"
  13044. },
  13045. "canshort": {
  13046. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  13047. "type": "integer"
  13048. },
  13049. "closepricemode": {
  13050. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  13051. "type": "integer"
  13052. },
  13053. "createtime": {
  13054. "description": "创建时间",
  13055. "type": "string"
  13056. },
  13057. "creatorid": {
  13058. "description": "创建人",
  13059. "type": "integer"
  13060. },
  13061. "currencyid": {
  13062. "description": "报价货币ID",
  13063. "type": "integer"
  13064. },
  13065. "decimalplace": {
  13066. "description": "报价小数位",
  13067. "type": "integer"
  13068. },
  13069. "enumdicname": {
  13070. "description": "单位名称",
  13071. "type": "string"
  13072. },
  13073. "excludecfg": {
  13074. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  13075. "type": "integer"
  13076. },
  13077. "exexchangeid": {
  13078. "description": "外部交易所ID[通道交易]",
  13079. "type": "integer"
  13080. },
  13081. "goodsgroupid": {
  13082. "description": "商品组ID(自增ID)",
  13083. "type": "integer"
  13084. },
  13085. "goodsgroupname": {
  13086. "description": "商品组名称",
  13087. "type": "string"
  13088. },
  13089. "goodsgroupstatus": {
  13090. "description": "商品组状态 - 1:正常 2:注销",
  13091. "type": "integer"
  13092. },
  13093. "goodunitid": {
  13094. "description": "报价单位ID",
  13095. "type": "integer"
  13096. },
  13097. "groupcategroyid": {
  13098. "description": "品种分类ID",
  13099. "type": "integer"
  13100. },
  13101. "innerdealmode": {
  13102. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  13103. "type": "integer"
  13104. },
  13105. "marketid": {
  13106. "description": "所属市场ID",
  13107. "type": "integer"
  13108. },
  13109. "modifierid": {
  13110. "description": "修改人",
  13111. "type": "integer"
  13112. },
  13113. "modifytime": {
  13114. "description": "修改时间",
  13115. "type": "string"
  13116. },
  13117. "outerdealmode": {
  13118. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  13119. "type": "integer"
  13120. },
  13121. "outergroupcode": {
  13122. "description": "外部商品组代码[通道交易]",
  13123. "type": "string"
  13124. },
  13125. "quoteminunit": {
  13126. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13127. "type": "integer"
  13128. },
  13129. "quotesourcegroupid": {
  13130. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  13131. "type": "integer"
  13132. },
  13133. "syncgoodsqty": {
  13134. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  13135. "type": "integer"
  13136. }
  13137. }
  13138. },
  13139. "models.Ermcp3GoodsGroupEx": {
  13140. "type": "object",
  13141. "properties": {
  13142. "convertratio": {
  13143. "description": "折算系数(品种系数)",
  13144. "type": "number"
  13145. },
  13146. "enumdicname": {
  13147. "description": "单位名称",
  13148. "type": "string"
  13149. },
  13150. "exexchangecode": {
  13151. "description": "交易所代码",
  13152. "type": "string"
  13153. },
  13154. "glist": {
  13155. "description": "合约列表",
  13156. "type": "array",
  13157. "items": {
  13158. "$ref": "#/definitions/models.Ermcp3Goods"
  13159. }
  13160. },
  13161. "goodsgroupid": {
  13162. "description": "商品组id",
  13163. "type": "integer"
  13164. },
  13165. "goodsgroupname": {
  13166. "description": "商品组名称",
  13167. "type": "string"
  13168. },
  13169. "goodsunitid": {
  13170. "description": "单位id",
  13171. "type": "integer"
  13172. },
  13173. "middlegoodsid": {
  13174. "description": "套保商品id",
  13175. "type": "integer"
  13176. }
  13177. }
  13178. },
  13179. "models.Ermcp3HedgePlan": {
  13180. "type": "object",
  13181. "properties": {
  13182. "accountid": {
  13183. "description": "资金账号",
  13184. "type": "integer"
  13185. },
  13186. "areauserid": {
  13187. "description": "用户ID",
  13188. "type": "integer"
  13189. },
  13190. "audittime": {
  13191. "description": "审核时间",
  13192. "type": "string"
  13193. },
  13194. "contracttype": {
  13195. "description": "计划类型 - 1:采购 -1:销售",
  13196. "type": "integer"
  13197. },
  13198. "convertfactor": {
  13199. "description": "标仓系数",
  13200. "type": "number"
  13201. },
  13202. "createtime": {
  13203. "description": "创建时间",
  13204. "type": "string"
  13205. },
  13206. "currencyid": {
  13207. "description": "币种id",
  13208. "type": "integer"
  13209. },
  13210. "currencyname": {
  13211. "description": "币种名称",
  13212. "type": "string"
  13213. },
  13214. "deliverygoodscode": {
  13215. "description": "现货品种代码",
  13216. "type": "string"
  13217. },
  13218. "deliverygoodsid": {
  13219. "description": "现货品种ID",
  13220. "type": "integer"
  13221. },
  13222. "deliverygoodsname": {
  13223. "description": "现货品种名称",
  13224. "type": "string"
  13225. },
  13226. "enumdicname": {
  13227. "description": "单位名称(现货商品)",
  13228. "type": "string"
  13229. },
  13230. "hedgeplanid": {
  13231. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  13232. "type": "string"
  13233. },
  13234. "hedgeplanno": {
  13235. "description": "套保计划编号(名称)",
  13236. "type": "string"
  13237. },
  13238. "hedgeplanstatus": {
  13239. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13240. "type": "integer"
  13241. },
  13242. "planqty": {
  13243. "description": "计划数量",
  13244. "type": "number"
  13245. },
  13246. "plantime": {
  13247. "description": "计划时间",
  13248. "type": "string"
  13249. },
  13250. "producttype": {
  13251. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13252. "type": "integer"
  13253. },
  13254. "remark": {
  13255. "description": "备注",
  13256. "type": "string"
  13257. },
  13258. "spotgoodsdesc": {
  13259. "description": "商品型号",
  13260. "type": "string"
  13261. },
  13262. "taaccountname": {
  13263. "description": "资金账号名称",
  13264. "type": "string"
  13265. },
  13266. "tradeuserid": {
  13267. "description": "交易用户id",
  13268. "type": "integer"
  13269. },
  13270. "tradeusername": {
  13271. "description": "交易用户名称",
  13272. "type": "string"
  13273. },
  13274. "unitid": {
  13275. "description": "单位id(现货商品)",
  13276. "type": "integer"
  13277. },
  13278. "updatetime": {
  13279. "description": "更新时间",
  13280. "type": "string"
  13281. },
  13282. "wrstandardcode": {
  13283. "description": "品类代码",
  13284. "type": "string"
  13285. },
  13286. "wrstandardid": {
  13287. "description": "品类id",
  13288. "type": "integer"
  13289. },
  13290. "wrstandardname": {
  13291. "description": "品类名称",
  13292. "type": "string"
  13293. },
  13294. "wrunitid": {
  13295. "description": "品类单位id",
  13296. "type": "integer"
  13297. },
  13298. "wrunitidame": {
  13299. "description": "品类单位名称",
  13300. "type": "string"
  13301. }
  13302. }
  13303. },
  13304. "models.Ermcp3MiddleGoodsDetail2": {
  13305. "type": "object",
  13306. "properties": {
  13307. "convertratio": {
  13308. "description": "套保系数(折算系数)",
  13309. "type": "number"
  13310. },
  13311. "gplist": {
  13312. "description": "关联商品组列表",
  13313. "type": "array",
  13314. "items": {
  13315. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  13316. }
  13317. },
  13318. "mg": {
  13319. "description": "套保商品信息",
  13320. "type": "object",
  13321. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13322. }
  13323. }
  13324. },
  13325. "models.Ermcp3MiddleGoodsDetailEx": {
  13326. "type": "object",
  13327. "properties": {
  13328. "dglist": {
  13329. "description": "关联的现货品种列表",
  13330. "type": "array",
  13331. "items": {
  13332. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  13333. }
  13334. },
  13335. "gplist": {
  13336. "description": "关联商品组列表",
  13337. "type": "array",
  13338. "items": {
  13339. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  13340. }
  13341. },
  13342. "mg": {
  13343. "description": "套保商品信息",
  13344. "type": "object",
  13345. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13346. }
  13347. }
  13348. },
  13349. "models.Ermcp3SellBuyContract": {
  13350. "type": "object",
  13351. "properties": {
  13352. "accountid": {
  13353. "description": "期货账户id",
  13354. "type": "string"
  13355. },
  13356. "accountname": {
  13357. "description": "账户名称",
  13358. "type": "string"
  13359. },
  13360. "attachment": {
  13361. "description": "附件",
  13362. "type": "string"
  13363. },
  13364. "audittime": {
  13365. "description": "审核时间",
  13366. "type": "string"
  13367. },
  13368. "biztype": {
  13369. "description": "业务类型 1-套保 2-套利",
  13370. "type": "integer"
  13371. },
  13372. "brandname": {
  13373. "description": "品牌名称",
  13374. "type": "string"
  13375. },
  13376. "contracctstatus": {
  13377. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13378. "type": "integer"
  13379. },
  13380. "contractmargin": {
  13381. "description": "合同保证金",
  13382. "type": "number"
  13383. },
  13384. "contractno": {
  13385. "description": "合同编号",
  13386. "type": "string"
  13387. },
  13388. "contracttype": {
  13389. "description": "合同类型 1-采购, -1-销售",
  13390. "type": "integer"
  13391. },
  13392. "convertfactor": {
  13393. "description": "标仓系数(品类)",
  13394. "type": "number"
  13395. },
  13396. "createtime": {
  13397. "description": "创建时间",
  13398. "type": "string"
  13399. },
  13400. "currencyid": {
  13401. "description": "币种id",
  13402. "type": "integer"
  13403. },
  13404. "currencyname": {
  13405. "description": "币种名称",
  13406. "type": "string"
  13407. },
  13408. "daikaiamount": {
  13409. "description": "应收(开)票额",
  13410. "type": "number"
  13411. },
  13412. "deliveryenddate": {
  13413. "description": "交割结束日",
  13414. "type": "string"
  13415. },
  13416. "deliverygoodscode": {
  13417. "description": "现货品种代码",
  13418. "type": "string"
  13419. },
  13420. "deliverygoodsid": {
  13421. "description": "现货商品ID",
  13422. "type": "integer"
  13423. },
  13424. "deliverygoodsname": {
  13425. "description": "现货品种名称",
  13426. "type": "string"
  13427. },
  13428. "deliverystartdate": {
  13429. "description": "交割开始日",
  13430. "type": "string"
  13431. },
  13432. "enddate": {
  13433. "description": "点价结束日",
  13434. "type": "string"
  13435. },
  13436. "enumdicname": {
  13437. "description": "单位名称",
  13438. "type": "string"
  13439. },
  13440. "goodscode": {
  13441. "description": "点价商品代码",
  13442. "type": "string"
  13443. },
  13444. "goodsid": {
  13445. "description": "点价商品ID",
  13446. "type": "integer"
  13447. },
  13448. "goodsname": {
  13449. "description": "点价商品名称",
  13450. "type": "string"
  13451. },
  13452. "invoiceamount": {
  13453. "description": "已开票额",
  13454. "type": "number"
  13455. },
  13456. "loanamount": {
  13457. "description": "贷款总额=已定价额+调整金额",
  13458. "type": "number"
  13459. },
  13460. "margin": {
  13461. "description": "保证金",
  13462. "type": "number"
  13463. },
  13464. "meruserid": {
  13465. "description": "跟单员id",
  13466. "type": "integer"
  13467. },
  13468. "meruserlogincode": {
  13469. "description": "跟单员登录代码",
  13470. "type": "string"
  13471. },
  13472. "nickname": {
  13473. "description": "账户昵称",
  13474. "type": "string"
  13475. },
  13476. "payamount": {
  13477. "description": "已收付额(收款或付款)",
  13478. "type": "number"
  13479. },
  13480. "preinvoiceamount": {
  13481. "description": "预收(开)票额",
  13482. "type": "number"
  13483. },
  13484. "prepayamount": {
  13485. "description": "预收付额",
  13486. "type": "number"
  13487. },
  13488. "price": {
  13489. "description": "价格",
  13490. "type": "number"
  13491. },
  13492. "pricedamount": {
  13493. "description": "已定价额",
  13494. "type": "number"
  13495. },
  13496. "pricedavg": {
  13497. "description": "已点均价",
  13498. "type": "number"
  13499. },
  13500. "pricedqty": {
  13501. "description": "已定价量",
  13502. "type": "number"
  13503. },
  13504. "pricemove": {
  13505. "description": "升贴水",
  13506. "type": "number"
  13507. },
  13508. "pricetype": {
  13509. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13510. "type": "integer"
  13511. },
  13512. "producttype": {
  13513. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13514. "type": "integer"
  13515. },
  13516. "qty": {
  13517. "description": "合同量",
  13518. "type": "number"
  13519. },
  13520. "reckonadjustamount": {
  13521. "description": "调整金额",
  13522. "type": "number"
  13523. },
  13524. "reckonedamount": {
  13525. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13526. "type": "number"
  13527. },
  13528. "reckonotheramount": {
  13529. "description": "其它费用",
  13530. "type": "number"
  13531. },
  13532. "reckonrealqty": {
  13533. "description": "已确定量",
  13534. "type": "number"
  13535. },
  13536. "remark": {
  13537. "description": "备注",
  13538. "type": "string"
  13539. },
  13540. "saleuserid": {
  13541. "description": "业务员id",
  13542. "type": "integer"
  13543. },
  13544. "saleuserlogincode": {
  13545. "description": "业务员登录代码",
  13546. "type": "string"
  13547. },
  13548. "spotcontractid": {
  13549. "description": "合同ID",
  13550. "type": "string"
  13551. },
  13552. "spotgoodsbrandid": {
  13553. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13554. "type": "integer"
  13555. },
  13556. "spotgoodsdesc": {
  13557. "description": "商品型号(商品规格)",
  13558. "type": "string"
  13559. },
  13560. "startdate": {
  13561. "description": "点价开始日",
  13562. "type": "string"
  13563. },
  13564. "totalamount": {
  13565. "description": "合计总额",
  13566. "type": "number"
  13567. },
  13568. "tradeuserid": {
  13569. "description": "交易员id",
  13570. "type": "integer"
  13571. },
  13572. "tradeuserlogincode": {
  13573. "description": "交易员登录代码",
  13574. "type": "string"
  13575. },
  13576. "tradeusername": {
  13577. "description": "交易员名称",
  13578. "type": "string"
  13579. },
  13580. "unpayamount": {
  13581. "description": "应收付款额(应支付或应收款)",
  13582. "type": "number"
  13583. },
  13584. "unpricedqty": {
  13585. "description": "未定价量",
  13586. "type": "number"
  13587. },
  13588. "unsureqty": {
  13589. "description": "未确定量",
  13590. "type": "number"
  13591. },
  13592. "userid": {
  13593. "description": "机构ID",
  13594. "type": "integer"
  13595. },
  13596. "wrstandardcode": {
  13597. "description": "品类代码",
  13598. "type": "string"
  13599. },
  13600. "wrstandardid": {
  13601. "description": "品类ID",
  13602. "type": "integer"
  13603. },
  13604. "wrstandardname": {
  13605. "description": "品类名称",
  13606. "type": "string"
  13607. }
  13608. }
  13609. },
  13610. "models.Ermcp3SpotGoodsPrice": {
  13611. "type": "object",
  13612. "properties": {
  13613. "areauserid": {
  13614. "description": "所属机构id",
  13615. "type": "integer"
  13616. },
  13617. "brandname": {
  13618. "description": "品牌名称",
  13619. "type": "string"
  13620. },
  13621. "currencyid": {
  13622. "description": "报价货币ID",
  13623. "type": "integer"
  13624. },
  13625. "currencyname": {
  13626. "description": "币种名称",
  13627. "type": "string"
  13628. },
  13629. "deliverygoodscode": {
  13630. "description": "现货商品代码",
  13631. "type": "string"
  13632. },
  13633. "deliverygoodsid": {
  13634. "description": "现货商品id",
  13635. "type": "integer"
  13636. },
  13637. "deliverygoodsname": {
  13638. "description": "现货商品名称",
  13639. "type": "string"
  13640. },
  13641. "enumdicname": {
  13642. "description": "现货商品单位名称",
  13643. "type": "string"
  13644. },
  13645. "gbenumdicname": {
  13646. "description": "品类单位名称",
  13647. "type": "string"
  13648. },
  13649. "gmunitid": {
  13650. "description": "品类单位id",
  13651. "type": "integer"
  13652. },
  13653. "isvalid": {
  13654. "description": "是否有效 - 0:无效 1:有效",
  13655. "type": "integer"
  13656. },
  13657. "operateid": {
  13658. "description": "最后操作人",
  13659. "type": "integer"
  13660. },
  13661. "operatesrc": {
  13662. "description": "最后操作来源 - 1:管理端 2:终端",
  13663. "type": "integer"
  13664. },
  13665. "operatetime": {
  13666. "description": "最后操作时间",
  13667. "type": "string"
  13668. },
  13669. "operatorname": {
  13670. "description": "操作人名称",
  13671. "type": "string"
  13672. },
  13673. "spotgoodsbrandid": {
  13674. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13675. "type": "integer"
  13676. },
  13677. "spotgoodsprice": {
  13678. "description": "现货价格",
  13679. "type": "number"
  13680. },
  13681. "tradedate": {
  13682. "description": "交易日(yyyyMMdd)",
  13683. "type": "string"
  13684. },
  13685. "unitid": {
  13686. "description": "现货商品单位id",
  13687. "type": "integer"
  13688. },
  13689. "wrstandardcode": {
  13690. "description": "品类代码",
  13691. "type": "string"
  13692. },
  13693. "wrstandardid": {
  13694. "description": "现货品类ID(通用则为0)",
  13695. "type": "integer"
  13696. },
  13697. "wrstandardname": {
  13698. "description": "品类名称",
  13699. "type": "string"
  13700. }
  13701. }
  13702. },
  13703. "models.Ermcp3SpotGoodsPriceLog": {
  13704. "type": "object",
  13705. "properties": {
  13706. "areauserid": {
  13707. "description": "所属机构id",
  13708. "type": "integer"
  13709. },
  13710. "brandname": {
  13711. "description": "品牌名称",
  13712. "type": "string"
  13713. },
  13714. "currencyid": {
  13715. "description": "报价货币ID",
  13716. "type": "integer"
  13717. },
  13718. "deliverygoodscode": {
  13719. "description": "现货商品代码",
  13720. "type": "string"
  13721. },
  13722. "deliverygoodsid": {
  13723. "description": "现货商品id",
  13724. "type": "integer"
  13725. },
  13726. "deliverygoodsname": {
  13727. "description": "现货商品名称",
  13728. "type": "string"
  13729. },
  13730. "enumdicname": {
  13731. "description": "现货商品单位名称",
  13732. "type": "string"
  13733. },
  13734. "gbenumdicname": {
  13735. "description": "品类单位名称",
  13736. "type": "string"
  13737. },
  13738. "gmunitid": {
  13739. "description": "品类单位id",
  13740. "type": "integer"
  13741. },
  13742. "logid": {
  13743. "description": "日志id",
  13744. "type": "integer"
  13745. },
  13746. "operateid": {
  13747. "description": "最后操作人",
  13748. "type": "integer"
  13749. },
  13750. "operatesrc": {
  13751. "description": "最后操作来源 - 1:管理端 2:终端",
  13752. "type": "integer"
  13753. },
  13754. "operatetime": {
  13755. "description": "最后操作时间",
  13756. "type": "string"
  13757. },
  13758. "operatorname": {
  13759. "description": "操作人名称",
  13760. "type": "string"
  13761. },
  13762. "spotgoodsbrandid": {
  13763. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  13764. "type": "integer"
  13765. },
  13766. "spotgoodsprice": {
  13767. "description": "现货价格",
  13768. "type": "number"
  13769. },
  13770. "tradedate": {
  13771. "description": "交易日(yyyyMMdd)",
  13772. "type": "string"
  13773. },
  13774. "unitid": {
  13775. "description": "现货商品单位id",
  13776. "type": "integer"
  13777. },
  13778. "wrstandardcode": {
  13779. "description": "品类代码",
  13780. "type": "string"
  13781. },
  13782. "wrstandardid": {
  13783. "description": "现货品类ID(通用则为0)",
  13784. "type": "integer"
  13785. },
  13786. "wrstandardname": {
  13787. "description": "品类名称",
  13788. "type": "string"
  13789. }
  13790. }
  13791. },
  13792. "models.Ermcp3Wrstandard": {
  13793. "type": "object",
  13794. "properties": {
  13795. "areauserid": {
  13796. "description": "所属机构",
  13797. "type": "integer"
  13798. },
  13799. "convertfactor": {
  13800. "description": "标仓系数",
  13801. "type": "number"
  13802. },
  13803. "createtime": {
  13804. "description": "创建时间",
  13805. "type": "string"
  13806. },
  13807. "creatorid": {
  13808. "description": "创建人",
  13809. "type": "integer"
  13810. },
  13811. "deliverygoodsid": {
  13812. "description": "现货品种ID",
  13813. "type": "integer"
  13814. },
  13815. "enumdicname": {
  13816. "description": "品类单位名称",
  13817. "type": "string"
  13818. },
  13819. "isvalid": {
  13820. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  13821. "type": "integer"
  13822. },
  13823. "minivalue": {
  13824. "description": "最小变动值",
  13825. "type": "integer"
  13826. },
  13827. "minivaluedp": {
  13828. "description": "最小变动值小数位",
  13829. "type": "integer"
  13830. },
  13831. "realminivalue": {
  13832. "description": "实际最小变动值",
  13833. "type": "integer"
  13834. },
  13835. "realminivaluedp": {
  13836. "description": "实际最小变动值小数位",
  13837. "type": "integer"
  13838. },
  13839. "remark": {
  13840. "description": "备注",
  13841. "type": "string"
  13842. },
  13843. "unitid": {
  13844. "description": "品类单位ID",
  13845. "type": "integer"
  13846. },
  13847. "updatetime": {
  13848. "description": "更新时间",
  13849. "type": "string"
  13850. },
  13851. "wrstandardcode": {
  13852. "description": "品类代码",
  13853. "type": "string"
  13854. },
  13855. "wrstandardid": {
  13856. "description": "品类ID(SEQ_WRSTANDARD)",
  13857. "type": "integer"
  13858. },
  13859. "wrstandardname": {
  13860. "description": "品类名称",
  13861. "type": "string"
  13862. }
  13863. }
  13864. },
  13865. "models.ErmcpAreaSpotDetailModel": {
  13866. "type": "object",
  13867. "properties": {
  13868. "contracttype": {
  13869. "description": "合同类型 1-采购 -1-销售",
  13870. "type": "integer"
  13871. },
  13872. "createtime": {
  13873. "description": "创建时间",
  13874. "type": "string"
  13875. },
  13876. "enumdicname": {
  13877. "description": "现货商品单位名称",
  13878. "type": "string"
  13879. },
  13880. "logtype": {
  13881. "description": "记录类型 1-套保 2-现货合同",
  13882. "type": "integer"
  13883. },
  13884. "qty": {
  13885. "description": "数量",
  13886. "type": "number"
  13887. },
  13888. "recordname": {
  13889. "description": "类型名称",
  13890. "type": "string"
  13891. },
  13892. "relatedid": {
  13893. "description": "套保计划ID/现货合同ID",
  13894. "type": "string"
  13895. },
  13896. "relatedno": {
  13897. "description": "编号",
  13898. "type": "string"
  13899. },
  13900. "strtime": {
  13901. "description": "时间",
  13902. "type": "string"
  13903. },
  13904. "wrstandardcode": {
  13905. "description": "现货商品代码",
  13906. "type": "string"
  13907. },
  13908. "wrstandardname": {
  13909. "description": "现货商品名称",
  13910. "type": "string"
  13911. }
  13912. }
  13913. },
  13914. "models.ErmcpAvalidGoodsGroupModel": {
  13915. "type": "object",
  13916. "properties": {
  13917. "goodsgroupid": {
  13918. "description": "期货品种id",
  13919. "type": "integer"
  13920. },
  13921. "goodsgroupname": {
  13922. "description": "期货品种名称",
  13923. "type": "string"
  13924. },
  13925. "goodunitid": {
  13926. "description": "品种单位id",
  13927. "type": "integer"
  13928. },
  13929. "goodunitname": {
  13930. "description": "品种单位名称",
  13931. "type": "string"
  13932. },
  13933. "outergroupcode": {
  13934. "description": "期货品种代码",
  13935. "type": "string"
  13936. }
  13937. }
  13938. },
  13939. "models.ErmcpBizGroupEx": {
  13940. "type": "object",
  13941. "properties": {
  13942. "acclist": {
  13943. "description": "账号列表",
  13944. "type": "array",
  13945. "items": {
  13946. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  13947. }
  13948. },
  13949. "bizgroupid": {
  13950. "description": "业务分组id",
  13951. "type": "integer"
  13952. },
  13953. "biztype": {
  13954. "description": "业务类型 1-套保 2-套利",
  13955. "type": "integer"
  13956. },
  13957. "wrlist": {
  13958. "description": "现货商品表",
  13959. "type": "array",
  13960. "items": {
  13961. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  13962. }
  13963. }
  13964. }
  13965. },
  13966. "models.ErmcpBizGroupSpotGoods": {
  13967. "type": "object",
  13968. "properties": {
  13969. "areauserid": {
  13970. "description": "所属机构id",
  13971. "type": "integer"
  13972. },
  13973. "bizgroupid": {
  13974. "description": "分组id",
  13975. "type": "integer"
  13976. },
  13977. "biztype": {
  13978. "description": "业务类型 1-套保 2-套利",
  13979. "type": "integer"
  13980. },
  13981. "deliverygoodscode": {
  13982. "description": "现货商品代码",
  13983. "type": "string"
  13984. },
  13985. "deliverygoodsid": {
  13986. "description": "现货商品id",
  13987. "type": "integer"
  13988. },
  13989. "deliverygoodsname": {
  13990. "description": "现货商品名称",
  13991. "type": "string"
  13992. },
  13993. "unitid": {
  13994. "description": "现货商品单位id",
  13995. "type": "integer"
  13996. }
  13997. }
  13998. },
  13999. "models.ErmcpBizGroupTaAccount": {
  14000. "type": "object",
  14001. "properties": {
  14002. "accountid": {
  14003. "description": "账号id",
  14004. "type": "integer"
  14005. },
  14006. "accountname": {
  14007. "description": "账号名称",
  14008. "type": "string"
  14009. },
  14010. "areauserid": {
  14011. "description": "所属机构id",
  14012. "type": "integer"
  14013. },
  14014. "bizgroupid": {
  14015. "description": "业务分组id",
  14016. "type": "integer"
  14017. },
  14018. "ismain": {
  14019. "description": "是否主账号 1-是 0-否",
  14020. "type": "integer"
  14021. }
  14022. }
  14023. },
  14024. "models.ErmcpDGFactoryItem": {
  14025. "type": "object",
  14026. "properties": {
  14027. "areauserid": {
  14028. "description": "用户id",
  14029. "type": "integer"
  14030. },
  14031. "deliverygoodsid": {
  14032. "description": "现货品种ID",
  14033. "type": "integer"
  14034. },
  14035. "dgfactoryitemid": {
  14036. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  14037. "type": "integer"
  14038. },
  14039. "dgfactoryitemtypeid": {
  14040. "description": "要素项类型",
  14041. "type": "integer"
  14042. },
  14043. "dgfactoryitemvalue": {
  14044. "description": "要素项值(类型为仓库时填写仓库名称)",
  14045. "type": "string"
  14046. },
  14047. "isvalid": {
  14048. "description": "是否有效 - 0:无效 1:有效",
  14049. "type": "integer"
  14050. },
  14051. "orderindex": {
  14052. "description": "顺序",
  14053. "type": "integer"
  14054. },
  14055. "warehouseid": {
  14056. "description": "仓库ID(类型为仓库时填写)",
  14057. "type": "integer"
  14058. }
  14059. }
  14060. },
  14061. "models.ErmcpDeliveryGoods": {
  14062. "type": "object",
  14063. "properties": {
  14064. "agreeunit": {
  14065. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  14066. "type": "integer"
  14067. },
  14068. "areauserid": {
  14069. "description": "所属机构",
  14070. "type": "integer"
  14071. },
  14072. "auditflag": {
  14073. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  14074. "type": "integer"
  14075. },
  14076. "categoryid": {
  14077. "description": "类别ID(SEQ_WRCATEGORY)",
  14078. "type": "integer"
  14079. },
  14080. "deliverygoodscode": {
  14081. "description": "现货品种代码",
  14082. "type": "string"
  14083. },
  14084. "deliverygoodsid": {
  14085. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  14086. "type": "integer"
  14087. },
  14088. "deliverygoodsname": {
  14089. "description": "现货品种名称",
  14090. "type": "string"
  14091. },
  14092. "deliverygoodstype": {
  14093. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  14094. "type": "integer"
  14095. },
  14096. "dgstatus": {
  14097. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  14098. "type": "integer"
  14099. },
  14100. "enumdicname": {
  14101. "description": "现货品种单位名称",
  14102. "type": "string"
  14103. },
  14104. "goodsunitid": {
  14105. "description": "现货品种单位ID",
  14106. "type": "integer"
  14107. },
  14108. "isvalid": {
  14109. "description": "是否有效 - 0:无效 1:有效",
  14110. "type": "integer"
  14111. },
  14112. "qtydecimalplace": {
  14113. "description": "成交量小数位",
  14114. "type": "integer"
  14115. },
  14116. "remark": {
  14117. "description": "备注",
  14118. "type": "string"
  14119. },
  14120. "standardqty": {
  14121. "description": "标准数量(库位数量) [标准品特有]",
  14122. "type": "integer"
  14123. },
  14124. "standardqtyrange": {
  14125. "description": "标准数量偏差范围 [标准品特有]",
  14126. "type": "integer"
  14127. }
  14128. }
  14129. },
  14130. "models.ErmcpDeliveryGoodsDetail2": {
  14131. "type": "object",
  14132. "properties": {
  14133. "convertratio": {
  14134. "description": "套保系数(折算系数)",
  14135. "type": "number"
  14136. },
  14137. "data": {
  14138. "description": "现货商品基本信息(交割品种)",
  14139. "type": "object",
  14140. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14141. },
  14142. "gblist": {
  14143. "description": "品牌列表",
  14144. "type": "array",
  14145. "items": {
  14146. "$ref": "#/definitions/models.Ermcp3Brand"
  14147. }
  14148. },
  14149. "gmlist": {
  14150. "description": "品类列表(仓单标准)",
  14151. "type": "array",
  14152. "items": {
  14153. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14154. }
  14155. }
  14156. }
  14157. },
  14158. "models.ErmcpDeliveryGoodsDetailEx": {
  14159. "type": "object",
  14160. "properties": {
  14161. "data": {
  14162. "description": "现货商品基本信息(交割品种)",
  14163. "type": "object",
  14164. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  14165. },
  14166. "gblist": {
  14167. "description": "品牌列表",
  14168. "type": "array",
  14169. "items": {
  14170. "$ref": "#/definitions/models.Ermcp3Brand"
  14171. }
  14172. },
  14173. "gmlist": {
  14174. "description": "品类列表(仓单标准)",
  14175. "type": "array",
  14176. "items": {
  14177. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  14178. }
  14179. },
  14180. "mgList": {
  14181. "description": "套保列表",
  14182. "type": "array",
  14183. "items": {
  14184. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  14185. }
  14186. }
  14187. }
  14188. },
  14189. "models.ErmcpExposureDetailModel": {
  14190. "type": "object",
  14191. "properties": {
  14192. "areauserid": {
  14193. "description": "机构ID",
  14194. "type": "integer"
  14195. },
  14196. "changeQty": {
  14197. "description": "套保变动量",
  14198. "type": "number"
  14199. },
  14200. "contracttype": {
  14201. "description": "现货合同类型 - 1:采购 -1:销售",
  14202. "type": "integer"
  14203. },
  14204. "convertfactor": {
  14205. "description": "标仓系数",
  14206. "type": "number"
  14207. },
  14208. "convertratio": {
  14209. "description": "套保系数",
  14210. "type": "number"
  14211. },
  14212. "createtime": {
  14213. "description": "时间",
  14214. "type": "string"
  14215. },
  14216. "enumdicname": {
  14217. "description": "现货商品单位名称",
  14218. "type": "string"
  14219. },
  14220. "logtype": {
  14221. "description": "类型 - 1:套保计划 2:现货合同",
  14222. "type": "integer"
  14223. },
  14224. "middlegoodsId": {
  14225. "description": "套保商品id",
  14226. "type": "integer"
  14227. },
  14228. "middlegoodscode": {
  14229. "description": "套保商品代码",
  14230. "type": "string"
  14231. },
  14232. "middlegoodsname": {
  14233. "description": "套保商品名称",
  14234. "type": "string"
  14235. },
  14236. "qty": {
  14237. "description": "数量",
  14238. "type": "number"
  14239. },
  14240. "relateNo": {
  14241. "description": "现货合同/套保计划编号",
  14242. "type": "string"
  14243. },
  14244. "wrstandardcode": {
  14245. "description": "现货商品代码",
  14246. "type": "string"
  14247. },
  14248. "wrstandardid": {
  14249. "description": "现货商品ID",
  14250. "type": "integer"
  14251. },
  14252. "wrstandardname": {
  14253. "description": "现货商品名称",
  14254. "type": "string"
  14255. }
  14256. }
  14257. },
  14258. "models.ErmcpExposurePostion": {
  14259. "type": "object",
  14260. "properties": {
  14261. "agreeunit": {
  14262. "description": "合约单位",
  14263. "type": "string"
  14264. },
  14265. "areauserid": {
  14266. "description": "所属机构id",
  14267. "type": "integer"
  14268. },
  14269. "convertratio": {
  14270. "description": "期货品种系数(折算系数)",
  14271. "type": "number"
  14272. },
  14273. "curqty": {
  14274. "description": "当前持仓",
  14275. "type": "integer"
  14276. },
  14277. "diffhedgeqty": {
  14278. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  14279. "type": "number"
  14280. },
  14281. "diffqty": {
  14282. "description": "持仓变动量=当前持仓-昨日持仓",
  14283. "type": "integer"
  14284. },
  14285. "goodscode": {
  14286. "description": "商品代码",
  14287. "type": "string"
  14288. },
  14289. "goodsid": {
  14290. "description": "商品id",
  14291. "type": "integer"
  14292. },
  14293. "goodsname": {
  14294. "description": "商品名称",
  14295. "type": "string"
  14296. },
  14297. "middlegoodsid": {
  14298. "description": "套保商品id",
  14299. "type": "integer"
  14300. },
  14301. "ydqty": {
  14302. "description": "昨日持仓",
  14303. "type": "integer"
  14304. }
  14305. }
  14306. },
  14307. "models.ErmcpFuturesCompany": {
  14308. "type": "object",
  14309. "properties": {
  14310. "brokerid": {
  14311. "description": "经纪公司代码",
  14312. "type": "string"
  14313. },
  14314. "channeladdress": {
  14315. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  14316. "type": "string"
  14317. },
  14318. "channelid": {
  14319. "description": "对冲渠道ID",
  14320. "type": "string"
  14321. },
  14322. "createtime": {
  14323. "description": "创建时间",
  14324. "type": "string"
  14325. },
  14326. "creatorid": {
  14327. "description": "创建人",
  14328. "type": "string"
  14329. },
  14330. "fcid": {
  14331. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  14332. "type": "integer"
  14333. },
  14334. "fcname": {
  14335. "description": "期货公司名称",
  14336. "type": "string"
  14337. },
  14338. "isvalid": {
  14339. "description": "是否有效 - 0:无效 1:有效",
  14340. "type": "integer"
  14341. },
  14342. "mhpaddress": {
  14343. "description": "MHP服务地址(IP:Port)",
  14344. "type": "string"
  14345. },
  14346. "riskrulegroupid": {
  14347. "description": "风控规则组ID",
  14348. "type": "string"
  14349. },
  14350. "tradefeetmpid": {
  14351. "description": "手续费模板ID[TradeConfigTmpType为2]",
  14352. "type": "string"
  14353. },
  14354. "trademargintmpid": {
  14355. "description": "保证金模板ID [TradeConfigTmpType为1]",
  14356. "type": "string"
  14357. },
  14358. "traderatetmpid": {
  14359. "description": "汇率模板ID[TradeConfigTmpType为3]",
  14360. "type": "string"
  14361. },
  14362. "updatetime": {
  14363. "description": "更新时间",
  14364. "type": "string"
  14365. },
  14366. "updatorid": {
  14367. "description": "更新人",
  14368. "type": "string"
  14369. }
  14370. }
  14371. },
  14372. "models.ErmcpGGConvertCfg": {
  14373. "type": "object",
  14374. "properties": {
  14375. "convertratio": {
  14376. "description": "折算系数",
  14377. "type": "number"
  14378. },
  14379. "destgoodsgroupid": {
  14380. "description": "目标品种ID",
  14381. "type": "integer"
  14382. },
  14383. "dstcode": {
  14384. "description": "目录品种代码",
  14385. "type": "string"
  14386. },
  14387. "dstexchangecode": {
  14388. "description": "目标期货交易所",
  14389. "type": "string"
  14390. },
  14391. "dstname": {
  14392. "description": "目标品种名称",
  14393. "type": "string"
  14394. },
  14395. "dstunitid": {
  14396. "description": "目标品种单位ID",
  14397. "type": "integer"
  14398. },
  14399. "dstunitidname": {
  14400. "description": "目标品种单位名称",
  14401. "type": "string"
  14402. },
  14403. "modifytime": {
  14404. "description": "修改时间",
  14405. "type": "string"
  14406. },
  14407. "srccode": {
  14408. "description": "源品种代码",
  14409. "type": "string"
  14410. },
  14411. "srcexchangecode": {
  14412. "description": "源期货交易所",
  14413. "type": "string"
  14414. },
  14415. "srcgoodsgroupid": {
  14416. "description": "源品种ID",
  14417. "type": "integer"
  14418. },
  14419. "srcname": {
  14420. "description": "源品种名称",
  14421. "type": "string"
  14422. },
  14423. "srcunitid": {
  14424. "description": "源品种单位ID",
  14425. "type": "integer"
  14426. },
  14427. "srcunitidname": {
  14428. "description": "源品种单位名称",
  14429. "type": "string"
  14430. }
  14431. }
  14432. },
  14433. "models.ErmcpGoodsBrand": {
  14434. "type": "object",
  14435. "properties": {
  14436. "areauserid": {
  14437. "description": "所属机构",
  14438. "type": "integer"
  14439. },
  14440. "brandid": {
  14441. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  14442. "type": "integer"
  14443. },
  14444. "brandname": {
  14445. "description": "品牌名称",
  14446. "type": "string"
  14447. },
  14448. "createtime": {
  14449. "description": "创建时间",
  14450. "type": "string"
  14451. },
  14452. "creatorid": {
  14453. "description": "创建人",
  14454. "type": "integer"
  14455. },
  14456. "creatorsrc": {
  14457. "description": "创建人来源 - 1:管理端 2:终端",
  14458. "type": "integer"
  14459. },
  14460. "deliverygoodsid": {
  14461. "description": "现货品种ID",
  14462. "type": "integer"
  14463. },
  14464. "isvalid": {
  14465. "description": "是否有效 - 0:无效 1:有效",
  14466. "type": "integer"
  14467. },
  14468. "updatetime": {
  14469. "description": "更新时间",
  14470. "type": "string"
  14471. },
  14472. "updatorid": {
  14473. "description": "更新人",
  14474. "type": "integer"
  14475. },
  14476. "updatorsrc": {
  14477. "description": "更新人来源 - 1:管理端 2:终端",
  14478. "type": "integer"
  14479. },
  14480. "wrstandardid": {
  14481. "description": "现货商品ID",
  14482. "type": "integer"
  14483. }
  14484. }
  14485. },
  14486. "models.ErmcpGoodsModel": {
  14487. "type": "object",
  14488. "properties": {
  14489. "areauserid": {
  14490. "description": "所属机构",
  14491. "type": "integer"
  14492. },
  14493. "convertfactor": {
  14494. "description": "标仓系数",
  14495. "type": "number"
  14496. },
  14497. "createtime": {
  14498. "description": "创建时间",
  14499. "type": "string"
  14500. },
  14501. "creatorid": {
  14502. "description": "创建人",
  14503. "type": "integer"
  14504. },
  14505. "creatorsrc": {
  14506. "description": "创建人来源 - 1:管理端 2:终端",
  14507. "type": "integer"
  14508. },
  14509. "deliverygoodsid": {
  14510. "description": "现货品种ID",
  14511. "type": "integer"
  14512. },
  14513. "isvalid": {
  14514. "description": "是否有效 - 0:无效 1:有效",
  14515. "type": "integer"
  14516. },
  14517. "modelid": {
  14518. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  14519. "type": "integer"
  14520. },
  14521. "modelname": {
  14522. "description": "型号名称",
  14523. "type": "string"
  14524. },
  14525. "updatetime": {
  14526. "description": "更新时间",
  14527. "type": "string"
  14528. },
  14529. "updatorid": {
  14530. "description": "更新人",
  14531. "type": "integer"
  14532. },
  14533. "updatorsrc": {
  14534. "description": "更新人来源 - 1:管理端 2:终端",
  14535. "type": "integer"
  14536. },
  14537. "wrstandardid": {
  14538. "description": "现货商品ID",
  14539. "type": "integer"
  14540. }
  14541. }
  14542. },
  14543. "models.ErmcpHedgePosition": {
  14544. "type": "object",
  14545. "properties": {
  14546. "accountid": {
  14547. "description": "资金账号[外部母账户]",
  14548. "type": "integer"
  14549. },
  14550. "curbuyposition": {
  14551. "description": "期末买头寸",
  14552. "type": "integer"
  14553. },
  14554. "cursellposition": {
  14555. "description": "期末卖头寸",
  14556. "type": "integer"
  14557. },
  14558. "curtdbuyposition": {
  14559. "description": "期末今日买头寸",
  14560. "type": "integer"
  14561. },
  14562. "curtdsellposition": {
  14563. "description": "期末今日卖头寸",
  14564. "type": "integer"
  14565. },
  14566. "curydbuyposition": {
  14567. "description": "期末上日买头寸",
  14568. "type": "integer"
  14569. },
  14570. "curydsellposition": {
  14571. "description": "期末上日卖头寸",
  14572. "type": "integer"
  14573. },
  14574. "decreaseqty": {
  14575. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  14576. "type": "integer"
  14577. },
  14578. "fretdbuyposition": {
  14579. "description": "冻结今日买头寸",
  14580. "type": "integer"
  14581. },
  14582. "fretdsellposition": {
  14583. "description": "冻结今日卖头寸",
  14584. "type": "integer"
  14585. },
  14586. "freydbuyposition": {
  14587. "description": "冻结上日买头寸",
  14588. "type": "integer"
  14589. },
  14590. "freydsellposition": {
  14591. "description": "冻结上日卖头寸",
  14592. "type": "integer"
  14593. },
  14594. "goodscode": {
  14595. "description": "商品代码",
  14596. "type": "string"
  14597. },
  14598. "goodsid": {
  14599. "description": "商品id",
  14600. "type": "integer"
  14601. },
  14602. "goodsname": {
  14603. "description": "商品名称",
  14604. "type": "string"
  14605. },
  14606. "hedgeaccountcode": {
  14607. "description": "对冲账号",
  14608. "type": "string"
  14609. },
  14610. "hedgegoodsid": {
  14611. "description": "对冲合约ID",
  14612. "type": "integer"
  14613. },
  14614. "increaseqty": {
  14615. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  14616. "type": "integer"
  14617. },
  14618. "marketid": {
  14619. "description": "市场ID",
  14620. "type": "integer"
  14621. },
  14622. "relateduserid": {
  14623. "description": "关联用户id",
  14624. "type": "integer"
  14625. },
  14626. "totalcurqty": {
  14627. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  14628. "type": "integer"
  14629. },
  14630. "totalydqty": {
  14631. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  14632. "type": "integer"
  14633. },
  14634. "tradedate": {
  14635. "description": "交易日(yyyyMMdd)",
  14636. "type": "string"
  14637. },
  14638. "ydbuyposition": {
  14639. "description": "期初买头寸",
  14640. "type": "integer"
  14641. },
  14642. "ydsellposition": {
  14643. "description": "期初卖头寸",
  14644. "type": "integer"
  14645. }
  14646. }
  14647. },
  14648. "models.ErmcpHedgePositionDetail": {
  14649. "type": "object",
  14650. "properties": {
  14651. "buyorsell": {
  14652. "description": "买卖方向 0-买 1-卖",
  14653. "type": "integer"
  14654. },
  14655. "channelbuildtype": {
  14656. "description": "开平方向 1-建仓 2-平仓",
  14657. "type": "integer"
  14658. },
  14659. "goodscode": {
  14660. "description": "商品代码",
  14661. "type": "string"
  14662. },
  14663. "goodsname": {
  14664. "description": "商品名称",
  14665. "type": "string"
  14666. },
  14667. "hedgegoodsid": {
  14668. "description": "商品id",
  14669. "type": "integer"
  14670. },
  14671. "tradeqty": {
  14672. "description": "数量(成交数量)",
  14673. "type": "integer"
  14674. },
  14675. "tradetime": {
  14676. "description": "时间(成交时间)",
  14677. "type": "string"
  14678. }
  14679. }
  14680. },
  14681. "models.ErmcpHisExposure": {
  14682. "type": "object",
  14683. "properties": {
  14684. "needhedgeexposoure": {
  14685. "description": "应套保敞口",
  14686. "type": "number"
  14687. },
  14688. "reckondate": {
  14689. "description": "日照时期(yyyyMMdd)",
  14690. "type": "string"
  14691. },
  14692. "totalexposure": {
  14693. "description": "总敞口",
  14694. "type": "number"
  14695. }
  14696. }
  14697. },
  14698. "models.ErmcpHisExposureS": {
  14699. "type": "object",
  14700. "properties": {
  14701. "data": {
  14702. "description": "历史敞口",
  14703. "type": "array",
  14704. "items": {
  14705. "$ref": "#/definitions/models.ErmcpHisExposure"
  14706. }
  14707. },
  14708. "enumdicname": {
  14709. "description": "单位名称",
  14710. "type": "string"
  14711. },
  14712. "middlegoodscode": {
  14713. "description": "套保品种代码",
  14714. "type": "string"
  14715. },
  14716. "middlegoodsid": {
  14717. "description": "套保品种ID",
  14718. "type": "integer"
  14719. },
  14720. "middlegoodsname": {
  14721. "description": "套保品种名称",
  14722. "type": "string"
  14723. }
  14724. }
  14725. },
  14726. "models.ErmcpLoginTaAccount": {
  14727. "type": "object",
  14728. "properties": {
  14729. "accountid": {
  14730. "description": "账号id",
  14731. "type": "integer"
  14732. },
  14733. "accountname": {
  14734. "description": "账号名称",
  14735. "type": "string"
  14736. }
  14737. }
  14738. },
  14739. "models.ErmcpLoginUser": {
  14740. "type": "object",
  14741. "properties": {
  14742. "acclist": {
  14743. "description": "关联资金账号",
  14744. "type": "array",
  14745. "items": {
  14746. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  14747. }
  14748. },
  14749. "accountname": {
  14750. "description": "用户名称",
  14751. "type": "string"
  14752. },
  14753. "clientroleid": {
  14754. "description": "角色id(usertype=2)",
  14755. "type": "integer"
  14756. },
  14757. "createtime": {
  14758. "description": "创建时间",
  14759. "type": "string"
  14760. },
  14761. "logincode": {
  14762. "description": "登录代码",
  14763. "type": "string"
  14764. },
  14765. "loginid": {
  14766. "description": "登录id(LOGINID)",
  14767. "type": "integer"
  14768. },
  14769. "loginname": {
  14770. "description": "登录名称(loginaccount表中的accountname字段)",
  14771. "type": "string"
  14772. },
  14773. "loginstatus": {
  14774. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  14775. "type": "integer"
  14776. },
  14777. "memberuserid": {
  14778. "description": "所属会员id",
  14779. "type": "integer"
  14780. },
  14781. "mobile": {
  14782. "description": "手机号",
  14783. "type": "string"
  14784. },
  14785. "modifytime": {
  14786. "description": "修改时间",
  14787. "type": "string"
  14788. },
  14789. "password": {
  14790. "description": "密码(不可解密)",
  14791. "type": "string"
  14792. },
  14793. "rolename": {
  14794. "description": "角色名称",
  14795. "type": "string"
  14796. },
  14797. "rolestatus": {
  14798. "description": "角色状态 1-启用 2-停用",
  14799. "type": "integer"
  14800. },
  14801. "roletype": {
  14802. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  14803. "type": "string"
  14804. },
  14805. "userid": {
  14806. "description": "用户id",
  14807. "type": "integer"
  14808. },
  14809. "usertype": {
  14810. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  14811. "type": "integer"
  14812. }
  14813. }
  14814. },
  14815. "models.ErmcpLoginUserEx": {
  14816. "type": "object",
  14817. "properties": {
  14818. "accountstatus": {
  14819. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  14820. "type": "integer"
  14821. },
  14822. "mobile": {
  14823. "description": "手机号",
  14824. "type": "string"
  14825. },
  14826. "querytype": {
  14827. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  14828. "type": "integer"
  14829. },
  14830. "roleid": {
  14831. "description": "角色id(交易账户-\u003e用户id)",
  14832. "type": "integer"
  14833. },
  14834. "rolename": {
  14835. "description": "角色名称(交易账户-\u003e用户名称)",
  14836. "type": "string"
  14837. },
  14838. "userlist": {
  14839. "description": "用户列表",
  14840. "type": "array",
  14841. "items": {
  14842. "$ref": "#/definitions/models.ErmcpLoginUser"
  14843. }
  14844. },
  14845. "usertype": {
  14846. "description": "用户类型 2-机构 7-企业成员(云平台)",
  14847. "type": "integer"
  14848. }
  14849. }
  14850. },
  14851. "models.ErmcpMiddleGoodsChangeLog": {
  14852. "type": "object",
  14853. "properties": {
  14854. "aftervalue": {
  14855. "description": "变更后",
  14856. "type": "number"
  14857. },
  14858. "applyid": {
  14859. "description": "操作人",
  14860. "type": "integer"
  14861. },
  14862. "applyname": {
  14863. "description": "操作人名称",
  14864. "type": "string"
  14865. },
  14866. "applysrc": {
  14867. "description": "操作来源 - 1:管理端 2:终端",
  14868. "type": "integer"
  14869. },
  14870. "beforevalue": {
  14871. "description": "变更前",
  14872. "type": "number"
  14873. },
  14874. "changelogtype": {
  14875. "description": "变更流水类型 - 1:套保比率变更",
  14876. "type": "integer"
  14877. },
  14878. "handlestatus": {
  14879. "description": "处理状态",
  14880. "type": "integer"
  14881. },
  14882. "logdatetime": {
  14883. "description": "流水日期",
  14884. "type": "string"
  14885. },
  14886. "logid": {
  14887. "description": "流水ID",
  14888. "type": "integer"
  14889. },
  14890. "logremark": {
  14891. "description": "流水备注",
  14892. "type": "string"
  14893. },
  14894. "middlegoodsid": {
  14895. "description": "套保品种ID",
  14896. "type": "integer"
  14897. },
  14898. "tradedate": {
  14899. "description": "交易日(yyyyMMdd)",
  14900. "type": "string"
  14901. },
  14902. "updatetime": {
  14903. "description": "更新时间",
  14904. "type": "string"
  14905. }
  14906. }
  14907. },
  14908. "models.ErmcpMiddleGoodsDetail": {
  14909. "type": "object",
  14910. "properties": {
  14911. "cvList": {
  14912. "description": "期货品种折算列表",
  14913. "type": "array",
  14914. "items": {
  14915. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  14916. }
  14917. },
  14918. "mg": {
  14919. "description": "套保品种基本信息",
  14920. "type": "object",
  14921. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14922. },
  14923. "wrcList": {
  14924. "description": "现货品种列表(现货商品折算配置)",
  14925. "type": "array",
  14926. "items": {
  14927. "$ref": "#/definitions/models.WRSConverTDetail"
  14928. }
  14929. }
  14930. }
  14931. },
  14932. "models.ErmcpMiddleGoodsModel": {
  14933. "type": "object",
  14934. "properties": {
  14935. "areauserid": {
  14936. "description": "机构用户ID",
  14937. "type": "integer"
  14938. },
  14939. "createtime": {
  14940. "description": "修改时间",
  14941. "type": "string"
  14942. },
  14943. "enumdicname": {
  14944. "description": "单位名称",
  14945. "type": "string"
  14946. },
  14947. "evaluateratio": {
  14948. "description": "估价系数",
  14949. "type": "number"
  14950. },
  14951. "goodsgroupid": {
  14952. "description": "关联期货品种ID",
  14953. "type": "integer"
  14954. },
  14955. "goodsunitid": {
  14956. "description": "单位ID",
  14957. "type": "integer"
  14958. },
  14959. "isvalid": {
  14960. "description": "状态 0-无效(停用) 1-有效(正常)",
  14961. "type": "integer"
  14962. },
  14963. "middlegoodscode": {
  14964. "description": "套保品种代码",
  14965. "type": "string"
  14966. },
  14967. "middlegoodsid": {
  14968. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14969. "type": "integer"
  14970. },
  14971. "middlegoodsname": {
  14972. "description": "套保品种名称",
  14973. "type": "string"
  14974. },
  14975. "modifytime": {
  14976. "description": "修改时间",
  14977. "type": "string"
  14978. },
  14979. "needhedgeratio": {
  14980. "description": "套保比率",
  14981. "type": "number"
  14982. },
  14983. "qtydecimalplace": {
  14984. "description": "数量小数位",
  14985. "type": "integer"
  14986. },
  14987. "relatedgoodsid": {
  14988. "description": "关联交易商品ID",
  14989. "type": "integer"
  14990. },
  14991. "relatedgoodstype": {
  14992. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  14993. "type": "integer"
  14994. },
  14995. "remark": {
  14996. "description": "备注",
  14997. "type": "string"
  14998. }
  14999. }
  15000. },
  15001. "models.ErmcpOPLogModel": {
  15002. "type": "object",
  15003. "properties": {
  15004. "aftervalue": {
  15005. "description": "变更后",
  15006. "type": "number"
  15007. },
  15008. "applyid": {
  15009. "description": "操作人ID",
  15010. "type": "string"
  15011. },
  15012. "applyname": {
  15013. "description": "操作人名称",
  15014. "type": "string"
  15015. },
  15016. "beforevalue": {
  15017. "description": "变更前",
  15018. "type": "number"
  15019. },
  15020. "biztype": {
  15021. "description": "业务类型 - 1:套保计划 2:现货合同",
  15022. "type": "integer"
  15023. },
  15024. "contracttype": {
  15025. "description": "现货合同类型 - 1:采购 -1:销售",
  15026. "type": "integer"
  15027. },
  15028. "logvalue": {
  15029. "description": "数值",
  15030. "type": "number"
  15031. },
  15032. "operatelogtype": {
  15033. "description": "操作流水类型",
  15034. "type": "integer"
  15035. },
  15036. "operatelogtypedesc": {
  15037. "description": "操作流水类型名称",
  15038. "type": "string"
  15039. },
  15040. "relatedid": {
  15041. "description": "现货合同ID\\套保计划",
  15042. "type": "string"
  15043. },
  15044. "updatetime": {
  15045. "description": "更新时间",
  15046. "type": "string"
  15047. }
  15048. }
  15049. },
  15050. "models.ErmcpPendingAudit": {
  15051. "type": "object",
  15052. "properties": {
  15053. "areastockqty": {
  15054. "description": "待审核数量: 库存申请",
  15055. "type": "integer"
  15056. },
  15057. "businessdjqty": {
  15058. "description": "待审核数量: 点价",
  15059. "type": "integer"
  15060. },
  15061. "businessfpqty": {
  15062. "description": "待审核数量: 发票",
  15063. "type": "integer"
  15064. },
  15065. "businessjsqty": {
  15066. "description": "待审核数量: 结算",
  15067. "type": "integer"
  15068. },
  15069. "businesskxqty": {
  15070. "description": "待审核数量: 款项",
  15071. "type": "integer"
  15072. },
  15073. "hedgeplanqty": {
  15074. "description": "待审核数量: 套保计划",
  15075. "type": "integer"
  15076. },
  15077. "spotcontractqty": {
  15078. "description": "待审核数量: 现货合同",
  15079. "type": "integer"
  15080. },
  15081. "userqty": {
  15082. "description": "待审核数量: 用户",
  15083. "type": "integer"
  15084. }
  15085. }
  15086. },
  15087. "models.ErmcpRealExposureModel": {
  15088. "type": "object",
  15089. "properties": {
  15090. "AreaUserID": {
  15091. "description": "所属机构",
  15092. "type": "integer"
  15093. },
  15094. "BuyFutureQty": {
  15095. "description": "买入期货数量",
  15096. "type": "number"
  15097. },
  15098. "BuyPlanQty": {
  15099. "description": "采购计划数量",
  15100. "type": "number"
  15101. },
  15102. "BuyPricedQty": {
  15103. "description": "采购合同已定价数量",
  15104. "type": "number"
  15105. },
  15106. "MiddleGoodsCode": {
  15107. "description": "套保品种代码",
  15108. "type": "string"
  15109. },
  15110. "MiddleGoodsHedgeRatio": {
  15111. "description": "套保比例",
  15112. "type": "number"
  15113. },
  15114. "MiddleGoodsID": {
  15115. "description": "套保品种",
  15116. "type": "integer"
  15117. },
  15118. "MiddleGoodsName": {
  15119. "description": "套保品种名称",
  15120. "type": "string"
  15121. },
  15122. "NeedHedgeExposoure": {
  15123. "description": "应套保敞口(套保敞口)",
  15124. "type": "number"
  15125. },
  15126. "NeedHedgeRatio": {
  15127. "description": "应套保敞口比例",
  15128. "type": "number"
  15129. },
  15130. "OriBuyFutureQty": {
  15131. "description": "期初买入期货数量",
  15132. "type": "number"
  15133. },
  15134. "OriBuyPlanQty": {
  15135. "description": "期初采购计划数量",
  15136. "type": "number"
  15137. },
  15138. "OriBuyPricedQty": {
  15139. "description": "期初采购合同已定价数量",
  15140. "type": "number"
  15141. },
  15142. "OriSellFutureQty": {
  15143. "description": "期初卖出期货数量",
  15144. "type": "number"
  15145. },
  15146. "OriSellPlanQty": {
  15147. "description": "期初销售计划数量",
  15148. "type": "number"
  15149. },
  15150. "OriSellPricedQty": {
  15151. "description": "期初销售合同已定价数量",
  15152. "type": "number"
  15153. },
  15154. "SellFutureQty": {
  15155. "description": "卖出期货数量",
  15156. "type": "number"
  15157. },
  15158. "SellPlanQty": {
  15159. "description": "销售计划数量",
  15160. "type": "number"
  15161. },
  15162. "SellPricedQty": {
  15163. "description": "销售合同已定价数量",
  15164. "type": "number"
  15165. },
  15166. "TotalExposure": {
  15167. "description": "总敞口",
  15168. "type": "number"
  15169. },
  15170. "TotalFutureQty": {
  15171. "description": "期货总量",
  15172. "type": "number"
  15173. },
  15174. "TotalHedgeRatio": {
  15175. "description": "敞口比例",
  15176. "type": "number"
  15177. },
  15178. "TotalNeedHedgeQty": {
  15179. "description": "应套保总量(现货应套保总量)",
  15180. "type": "number"
  15181. },
  15182. "TotalSpotQty": {
  15183. "description": "现货总量",
  15184. "type": "number"
  15185. },
  15186. "arbitrageqty": {
  15187. "description": "套利量",
  15188. "type": "number"
  15189. },
  15190. "diffArbitrageQty": {
  15191. "description": "套利变动量",
  15192. "type": "number"
  15193. },
  15194. "diffExposoureQty": {
  15195. "description": "变动量(套保敞口)",
  15196. "type": "number"
  15197. },
  15198. "diffFutuQty": {
  15199. "description": "变动量(期货总量)",
  15200. "type": "number"
  15201. },
  15202. "diffHedgeQty": {
  15203. "description": "套保变动量",
  15204. "type": "number"
  15205. },
  15206. "diffSpotHedgeQty": {
  15207. "description": "变动量(现货应套保总量)",
  15208. "type": "number"
  15209. },
  15210. "diffSpotQty": {
  15211. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  15212. "type": "number"
  15213. },
  15214. "enumdicname": {
  15215. "description": "单位名称",
  15216. "type": "string"
  15217. },
  15218. "hedgeqty": {
  15219. "description": "套保量",
  15220. "type": "number"
  15221. },
  15222. "needarbitrageqty": {
  15223. "description": "应套利量",
  15224. "type": "number"
  15225. },
  15226. "needarbitrageratio": {
  15227. "description": "套利比例",
  15228. "type": "number"
  15229. },
  15230. "needhedgeqty": {
  15231. "description": "应套保量",
  15232. "type": "number"
  15233. },
  15234. "oriTotalFutuQty": {
  15235. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  15236. "type": "number"
  15237. },
  15238. "oriTotalSpotQty": {
  15239. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  15240. "type": "number"
  15241. },
  15242. "oriarbitrageqty": {
  15243. "description": "期初套利量",
  15244. "type": "number"
  15245. },
  15246. "orihedgeqty": {
  15247. "description": "期初套保量",
  15248. "type": "number"
  15249. },
  15250. "orineedhedgeexposoure": {
  15251. "description": "期初套保敞口",
  15252. "type": "number"
  15253. },
  15254. "oritotalexposure": {
  15255. "description": "期初总敞口",
  15256. "type": "number"
  15257. },
  15258. "oritotalfutureqty": {
  15259. "description": "期初期货总量",
  15260. "type": "number"
  15261. },
  15262. "oritotalneedhedgeqty": {
  15263. "description": "期初现货应套保量",
  15264. "type": "number"
  15265. }
  15266. }
  15267. },
  15268. "models.ErmcpRole": {
  15269. "type": "object",
  15270. "properties": {
  15271. "areauserid": {
  15272. "description": "所属机构",
  15273. "type": "integer"
  15274. },
  15275. "autoid": {
  15276. "description": "角色ID(自增ID)",
  15277. "type": "integer"
  15278. },
  15279. "modifierid": {
  15280. "description": "修改人(创建人)",
  15281. "type": "integer"
  15282. },
  15283. "modifiername": {
  15284. "description": "修改人名称",
  15285. "type": "string"
  15286. },
  15287. "modifytime": {
  15288. "description": "修改时间(创建时间)",
  15289. "type": "string"
  15290. },
  15291. "rolename": {
  15292. "description": "角色名称",
  15293. "type": "string"
  15294. },
  15295. "rolestatus": {
  15296. "description": "角色状态 - 1:启用 2:停用",
  15297. "type": "integer"
  15298. },
  15299. "roletype": {
  15300. "description": "角色类型 - 1- 管理端 2- 交易端",
  15301. "type": "integer"
  15302. }
  15303. }
  15304. },
  15305. "models.ErmcpRoleMenu": {
  15306. "type": "object",
  15307. "properties": {
  15308. "iconame": {
  15309. "description": "菜单图标",
  15310. "type": "string"
  15311. },
  15312. "ishadrole": {
  15313. "description": "是否有权限",
  15314. "type": "boolean"
  15315. },
  15316. "menutype": {
  15317. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  15318. "type": "integer"
  15319. },
  15320. "parentcode": {
  15321. "description": "上级资源代码",
  15322. "type": "string"
  15323. },
  15324. "remark": {
  15325. "description": "菜单备注",
  15326. "type": "string"
  15327. },
  15328. "resourcecode": {
  15329. "description": "菜单代码",
  15330. "type": "string"
  15331. },
  15332. "resourcelevel": {
  15333. "description": "级别",
  15334. "type": "integer"
  15335. },
  15336. "resourcename": {
  15337. "description": "菜单名称",
  15338. "type": "string"
  15339. },
  15340. "roleid": {
  15341. "description": "角色id",
  15342. "type": "integer"
  15343. },
  15344. "sort": {
  15345. "description": "排序",
  15346. "type": "integer"
  15347. },
  15348. "url": {
  15349. "description": "URL",
  15350. "type": "string"
  15351. },
  15352. "userid": {
  15353. "description": "用户id",
  15354. "type": "integer"
  15355. }
  15356. }
  15357. },
  15358. "models.ErmcpRoleMenuEx": {
  15359. "type": "object",
  15360. "properties": {
  15361. "menu": {
  15362. "description": "父级菜单",
  15363. "type": "object",
  15364. "$ref": "#/definitions/models.ErmcpRoleMenu"
  15365. },
  15366. "subMenu": {
  15367. "description": "子级菜单",
  15368. "type": "array",
  15369. "items": {
  15370. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  15371. }
  15372. }
  15373. }
  15374. },
  15375. "models.ErmcpTaAccount": {
  15376. "type": "object",
  15377. "properties": {
  15378. "accountid": {
  15379. "description": "账户id",
  15380. "type": "integer"
  15381. },
  15382. "accountname": {
  15383. "description": "账户名称",
  15384. "type": "string"
  15385. },
  15386. "currencyid": {
  15387. "description": "币种id",
  15388. "type": "integer"
  15389. },
  15390. "hedgeaccountcode": {
  15391. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15392. "type": "string"
  15393. },
  15394. "ismain": {
  15395. "description": "是否主账户 0-否 1-是",
  15396. "type": "integer"
  15397. },
  15398. "parentaccountid": {
  15399. "description": "父账户id",
  15400. "type": "integer"
  15401. },
  15402. "relateduserid": {
  15403. "description": "关联userid",
  15404. "type": "integer"
  15405. },
  15406. "tradestatus": {
  15407. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15408. "type": "integer"
  15409. },
  15410. "userid": {
  15411. "description": "用户id",
  15412. "type": "integer"
  15413. }
  15414. }
  15415. },
  15416. "models.ErmcpTaAccountEx": {
  15417. "type": "object",
  15418. "properties": {
  15419. "mainAcc": {
  15420. "description": "主账号",
  15421. "type": "object",
  15422. "$ref": "#/definitions/models.ErmcpTaAccountM"
  15423. },
  15424. "subacclist": {
  15425. "description": "子账号列表",
  15426. "type": "array",
  15427. "items": {
  15428. "$ref": "#/definitions/models.ErmcpTaAccount"
  15429. }
  15430. }
  15431. }
  15432. },
  15433. "models.ErmcpTaAccountInfo": {
  15434. "type": "object",
  15435. "properties": {
  15436. "accountid": {
  15437. "description": "资金账户ID",
  15438. "type": "integer"
  15439. },
  15440. "accountname": {
  15441. "description": "账户名称",
  15442. "type": "string"
  15443. },
  15444. "balance": {
  15445. "description": "期初余额",
  15446. "type": "number"
  15447. },
  15448. "capitalbalance": {
  15449. "description": "本金余额[外部子账户实际出入金余额]",
  15450. "type": "number"
  15451. },
  15452. "closepl": {
  15453. "description": "今日平仓盈亏",
  15454. "type": "number"
  15455. },
  15456. "creditdecrease": {
  15457. "description": "今日授信减少",
  15458. "type": "number"
  15459. },
  15460. "creditincrease": {
  15461. "description": "今日授信增加",
  15462. "type": "number"
  15463. },
  15464. "curdebt": {
  15465. "description": "期末欠款",
  15466. "type": "number"
  15467. },
  15468. "currencyid": {
  15469. "description": "货币ID",
  15470. "type": "integer"
  15471. },
  15472. "currentbalance": {
  15473. "description": "期末余额",
  15474. "type": "number"
  15475. },
  15476. "freezecharge": {
  15477. "description": "手续费冻结",
  15478. "type": "number"
  15479. },
  15480. "freezemargin": {
  15481. "description": "冻结保证金",
  15482. "type": "number"
  15483. },
  15484. "fromaccountid": {
  15485. "description": "所属上级账户",
  15486. "type": "integer"
  15487. },
  15488. "inamount": {
  15489. "description": "今日入金金额(包括三方入金)",
  15490. "type": "number"
  15491. },
  15492. "ismain": {
  15493. "description": "是否母账号 0:不是母账户 1:是母账户",
  15494. "type": "integer"
  15495. },
  15496. "mortgagecredit": {
  15497. "description": "授信金额",
  15498. "type": "number"
  15499. },
  15500. "oridebt": {
  15501. "description": "期初欠款",
  15502. "type": "number"
  15503. },
  15504. "orifreezecharge": {
  15505. "description": "期初手续费冻结",
  15506. "type": "number"
  15507. },
  15508. "orifreezemargin": {
  15509. "description": "期初冻结保证金",
  15510. "type": "number"
  15511. },
  15512. "orimortgagecredit": {
  15513. "description": "期初授信金额",
  15514. "type": "number"
  15515. },
  15516. "oriothercredit": {
  15517. "description": "期初其它授信金额",
  15518. "type": "number"
  15519. },
  15520. "oriotherfreezemargin": {
  15521. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15522. "type": "number"
  15523. },
  15524. "orioutamountfreeze": {
  15525. "description": "期初出金冻结",
  15526. "type": "number"
  15527. },
  15528. "oriusedmargin": {
  15529. "description": "期初占用保证金",
  15530. "type": "number"
  15531. },
  15532. "othercredit": {
  15533. "description": "其它授信金额",
  15534. "type": "number"
  15535. },
  15536. "othercreditdecrease": {
  15537. "description": "今日其它授信减少",
  15538. "type": "number"
  15539. },
  15540. "othercreditincrease": {
  15541. "description": "今日其它授信增加",
  15542. "type": "number"
  15543. },
  15544. "otherfreezemargin": {
  15545. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15546. "type": "number"
  15547. },
  15548. "outamount": {
  15549. "description": "今日出金金额(包括三方出金)",
  15550. "type": "number"
  15551. },
  15552. "outamountfreeze": {
  15553. "description": "出金冻结",
  15554. "type": "number"
  15555. },
  15556. "outthreshold": {
  15557. "description": "出金阈值",
  15558. "type": "number"
  15559. },
  15560. "parentaccountid": {
  15561. "description": "所属根账号",
  15562. "type": "integer"
  15563. },
  15564. "paycharge": {
  15565. "description": "今日手续费支出",
  15566. "type": "number"
  15567. },
  15568. "relateduserid": {
  15569. "description": "关联用户",
  15570. "type": "integer"
  15571. },
  15572. "signstatus": {
  15573. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15574. "type": "integer"
  15575. },
  15576. "sublevelpath": {
  15577. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15578. "type": "string"
  15579. },
  15580. "taaccounttype": {
  15581. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15582. "type": "integer"
  15583. },
  15584. "thirdinamount": {
  15585. "description": "今日三方入金",
  15586. "type": "number"
  15587. },
  15588. "thirdoutamount": {
  15589. "description": "今日三方出金",
  15590. "type": "number"
  15591. },
  15592. "tradestatus": {
  15593. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15594. "type": "integer"
  15595. },
  15596. "transferamount": {
  15597. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15598. "type": "number"
  15599. },
  15600. "usedmargin": {
  15601. "description": "占用保证金",
  15602. "type": "number"
  15603. },
  15604. "userid": {
  15605. "description": "用户ID",
  15606. "type": "integer"
  15607. }
  15608. }
  15609. },
  15610. "models.ErmcpTaAccountM": {
  15611. "type": "object",
  15612. "properties": {
  15613. "accountid": {
  15614. "description": "账户id",
  15615. "type": "integer"
  15616. },
  15617. "accountname": {
  15618. "description": "账户名称",
  15619. "type": "string"
  15620. },
  15621. "currencyid": {
  15622. "description": "币种id",
  15623. "type": "integer"
  15624. },
  15625. "fcid": {
  15626. "description": "期货公司id",
  15627. "type": "integer"
  15628. },
  15629. "fcname": {
  15630. "description": "期货公司代码",
  15631. "type": "string"
  15632. },
  15633. "hedgeaccountcode": {
  15634. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  15635. "type": "string"
  15636. },
  15637. "ismain": {
  15638. "description": "是否主账户 0-否 1-是",
  15639. "type": "integer"
  15640. },
  15641. "parentaccountid": {
  15642. "description": "父账户id",
  15643. "type": "integer"
  15644. },
  15645. "relateduserid": {
  15646. "description": "关联userid",
  15647. "type": "integer"
  15648. },
  15649. "tradestatus": {
  15650. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15651. "type": "integer"
  15652. },
  15653. "userid": {
  15654. "description": "用户id",
  15655. "type": "integer"
  15656. }
  15657. }
  15658. },
  15659. "models.ErmcpTradeConfigTMP": {
  15660. "type": "object",
  15661. "properties": {
  15662. "areauserid": {
  15663. "description": "所属机构",
  15664. "type": "integer"
  15665. },
  15666. "basiccurrencyid": {
  15667. "description": "基本币种ID[汇率] - 目标币种",
  15668. "type": "integer"
  15669. },
  15670. "mainaccountid": {
  15671. "description": "主账户ID",
  15672. "type": "integer"
  15673. },
  15674. "modifierid": {
  15675. "description": "修改人",
  15676. "type": "integer"
  15677. },
  15678. "remark": {
  15679. "description": "备注",
  15680. "type": "string"
  15681. },
  15682. "tradeconfigtmpid": {
  15683. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  15684. "type": "integer"
  15685. },
  15686. "tradeconfigtmpname": {
  15687. "description": "交易配置模板名称",
  15688. "type": "string"
  15689. },
  15690. "tradeconfigtmptype": {
  15691. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  15692. "type": "integer"
  15693. },
  15694. "updatetime": {
  15695. "description": "更新时间",
  15696. "type": "string"
  15697. }
  15698. }
  15699. },
  15700. "models.ErmcpUserModel": {
  15701. "type": "object",
  15702. "properties": {
  15703. "address": {
  15704. "description": "通讯地址",
  15705. "type": "string"
  15706. },
  15707. "attachment1": {
  15708. "description": "附件1",
  15709. "type": "string"
  15710. },
  15711. "audittime": {
  15712. "description": "审核时间",
  15713. "type": "string"
  15714. },
  15715. "cardbackphotourl": {
  15716. "description": "证件反面图片地址",
  15717. "type": "string"
  15718. },
  15719. "cardfrontphotourl": {
  15720. "description": "证件正面图片地址",
  15721. "type": "string"
  15722. },
  15723. "cardnum": {
  15724. "description": "证件号码",
  15725. "type": "string"
  15726. },
  15727. "cardtype": {
  15728. "description": "证件类型",
  15729. "type": "integer"
  15730. },
  15731. "cardtypename": {
  15732. "description": "证件类型名称",
  15733. "type": "string"
  15734. },
  15735. "cityid": {
  15736. "description": "市",
  15737. "type": "integer"
  15738. },
  15739. "contactname": {
  15740. "description": "联系人",
  15741. "type": "string"
  15742. },
  15743. "countryid": {
  15744. "description": "国家",
  15745. "type": "integer"
  15746. },
  15747. "createtime": {
  15748. "description": "创建时间",
  15749. "type": "string"
  15750. },
  15751. "customername": {
  15752. "description": "企业名称",
  15753. "type": "string"
  15754. },
  15755. "districtid": {
  15756. "description": "区域",
  15757. "type": "integer"
  15758. },
  15759. "email": {
  15760. "description": "邮件",
  15761. "type": "string"
  15762. },
  15763. "legalpersonname": {
  15764. "description": "法人姓名(企业)",
  15765. "type": "string"
  15766. },
  15767. "memberuserid": {
  15768. "description": "所属机构ID",
  15769. "type": "integer"
  15770. },
  15771. "mobile": {
  15772. "description": "手机号码",
  15773. "type": "string"
  15774. },
  15775. "modifytime": {
  15776. "description": "修改时间",
  15777. "type": "string"
  15778. },
  15779. "nickname": {
  15780. "description": "昵称",
  15781. "type": "string"
  15782. },
  15783. "provinceid": {
  15784. "description": "省",
  15785. "type": "integer"
  15786. },
  15787. "remark": {
  15788. "description": "备注",
  15789. "type": "string"
  15790. },
  15791. "status": {
  15792. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15793. "type": "integer"
  15794. },
  15795. "statusdesc": {
  15796. "description": "账户状态中文描述",
  15797. "type": "string"
  15798. },
  15799. "taxpayernum": {
  15800. "description": "纳税人识别号",
  15801. "type": "string"
  15802. },
  15803. "telphone": {
  15804. "description": "联系电话",
  15805. "type": "string"
  15806. },
  15807. "userid": {
  15808. "description": "用户ID",
  15809. "type": "integer"
  15810. },
  15811. "userinfotype": {
  15812. "description": "客户类型",
  15813. "type": "string"
  15814. }
  15815. }
  15816. },
  15817. "models.ErmcpWareHouseInfo": {
  15818. "type": "object",
  15819. "properties": {
  15820. "address": {
  15821. "description": "详细地址",
  15822. "type": "string"
  15823. },
  15824. "areauserid": {
  15825. "description": "所属机构",
  15826. "type": "integer"
  15827. },
  15828. "autoid": {
  15829. "description": "自增ID(仓库ID)",
  15830. "type": "integer"
  15831. },
  15832. "cityid": {
  15833. "description": "市",
  15834. "type": "integer"
  15835. },
  15836. "contactname": {
  15837. "description": "联系人",
  15838. "type": "string"
  15839. },
  15840. "contactnum": {
  15841. "description": "联系电话",
  15842. "type": "string"
  15843. },
  15844. "countryid": {
  15845. "description": "国家",
  15846. "type": "integer"
  15847. },
  15848. "createtime": {
  15849. "description": "创建时间",
  15850. "type": "string"
  15851. },
  15852. "districtid": {
  15853. "description": "区",
  15854. "type": "integer"
  15855. },
  15856. "hasvideo": {
  15857. "description": "是否有视频 - 0:无 1:有",
  15858. "type": "integer"
  15859. },
  15860. "provinceid": {
  15861. "description": "省",
  15862. "type": "integer"
  15863. },
  15864. "remark": {
  15865. "description": "审核备注",
  15866. "type": "string"
  15867. },
  15868. "videourl": {
  15869. "description": "视频地址",
  15870. "type": "string"
  15871. },
  15872. "warehousecode": {
  15873. "description": "仓库代码",
  15874. "type": "string"
  15875. },
  15876. "warehousename": {
  15877. "description": "仓库名称",
  15878. "type": "string"
  15879. },
  15880. "warehousestatus": {
  15881. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15882. "type": "integer"
  15883. },
  15884. "warehousetype": {
  15885. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15886. "type": "integer"
  15887. }
  15888. }
  15889. },
  15890. "models.Externalexchange": {
  15891. "type": "object",
  15892. "required": [
  15893. "autoid"
  15894. ],
  15895. "properties": {
  15896. "autoid": {
  15897. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15898. "type": "integer"
  15899. },
  15900. "exchangefullname": {
  15901. "description": "外部交易所全称",
  15902. "type": "string"
  15903. },
  15904. "exexchangecode": {
  15905. "description": "外部交易所代码",
  15906. "type": "string"
  15907. },
  15908. "exexchangename": {
  15909. "description": "外部交易所名称(简称)",
  15910. "type": "string"
  15911. },
  15912. "ismarketprice": {
  15913. "description": "是否支持市价 - 0:不支持 1:支持",
  15914. "type": "integer"
  15915. },
  15916. "quotegear": {
  15917. "description": "行情档位(1-10)",
  15918. "type": "integer"
  15919. },
  15920. "showbrokerflag": {
  15921. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15922. "type": "integer"
  15923. },
  15924. "updatetime": {
  15925. "description": "更新时间",
  15926. "type": "string"
  15927. }
  15928. }
  15929. },
  15930. "models.Funcmenulist": {
  15931. "type": "object",
  15932. "required": [
  15933. "resourcecode"
  15934. ],
  15935. "properties": {
  15936. "iconame": {
  15937. "description": "菜单图标",
  15938. "type": "string"
  15939. },
  15940. "menutype": {
  15941. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15942. "type": "integer"
  15943. },
  15944. "parentcode": {
  15945. "description": "上级资源代码",
  15946. "type": "string"
  15947. },
  15948. "remark": {
  15949. "description": "备注",
  15950. "type": "string"
  15951. },
  15952. "resourcecode": {
  15953. "description": "资源代码",
  15954. "type": "string"
  15955. },
  15956. "resourcelevel": {
  15957. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15958. "type": "integer"
  15959. },
  15960. "resourcename": {
  15961. "description": "资源名",
  15962. "type": "string"
  15963. },
  15964. "sort": {
  15965. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15966. "type": "integer"
  15967. },
  15968. "url": {
  15969. "description": "URL",
  15970. "type": "string"
  15971. }
  15972. }
  15973. },
  15974. "models.Goods": {
  15975. "type": "object",
  15976. "required": [
  15977. "goodscode",
  15978. "goodsid",
  15979. "goodsname",
  15980. "marketid"
  15981. ],
  15982. "properties": {
  15983. "agreeunit": {
  15984. "description": "合约单位",
  15985. "type": "number"
  15986. },
  15987. "auditaccountid": {
  15988. "description": "审核操作员账号",
  15989. "type": "integer"
  15990. },
  15991. "audittime": {
  15992. "description": "审核时间",
  15993. "type": "string"
  15994. },
  15995. "cancelaccountid": {
  15996. "description": "注销操作员账号",
  15997. "type": "integer"
  15998. },
  15999. "canceltime": {
  16000. "description": "注销时间",
  16001. "type": "string"
  16002. },
  16003. "closepricemode": {
  16004. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16005. "type": "integer"
  16006. },
  16007. "closepriceparam": {
  16008. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16009. "type": "number"
  16010. },
  16011. "createtime": {
  16012. "description": "创建时间",
  16013. "type": "string"
  16014. },
  16015. "creatorid": {
  16016. "description": "创建人",
  16017. "type": "integer"
  16018. },
  16019. "currencyid": {
  16020. "description": "报价货币ID",
  16021. "type": "integer"
  16022. },
  16023. "cutmode": {
  16024. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16025. "type": "integer"
  16026. },
  16027. "decimalplace": {
  16028. "description": "报价小数位",
  16029. "type": "integer"
  16030. },
  16031. "delistingdate": {
  16032. "description": "商品退市时间(状态:退市) -- 已作废",
  16033. "type": "string"
  16034. },
  16035. "delistingmode": {
  16036. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16037. "type": "integer"
  16038. },
  16039. "deliveryflag": {
  16040. "description": "交割标志 - 0:不可交割 1:可交割",
  16041. "type": "integer"
  16042. },
  16043. "forceclosemode": {
  16044. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16045. "type": "integer"
  16046. },
  16047. "forceclosevalue": {
  16048. "description": "定期强平参数 [收益权]",
  16049. "type": "integer"
  16050. },
  16051. "goodscode": {
  16052. "description": "商品代码(内部)",
  16053. "type": "string"
  16054. },
  16055. "goodscurrencyid": {
  16056. "description": "合约货币ID",
  16057. "type": "integer"
  16058. },
  16059. "goodsgroupid": {
  16060. "description": "所属商品组ID",
  16061. "type": "integer"
  16062. },
  16063. "goodsid": {
  16064. "description": "商品ID(自增ID SEQ_GOODS)",
  16065. "type": "integer"
  16066. },
  16067. "goodsname": {
  16068. "description": "商品名称",
  16069. "type": "string"
  16070. },
  16071. "goodsquotetype": {
  16072. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16073. "type": "integer"
  16074. },
  16075. "goodsstatus": {
  16076. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16077. "type": "integer"
  16078. },
  16079. "goodstradetype": {
  16080. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16081. "type": "integer"
  16082. },
  16083. "goodunitid": {
  16084. "description": "报价单位ID",
  16085. "type": "integer"
  16086. },
  16087. "hasquoter": {
  16088. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16089. "type": "integer"
  16090. },
  16091. "hqprotecttime": {
  16092. "description": "行情保护时间(秒)",
  16093. "type": "integer"
  16094. },
  16095. "innerdealmode": {
  16096. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16097. "type": "integer"
  16098. },
  16099. "isbuylimited": {
  16100. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16101. "type": "integer"
  16102. },
  16103. "lasttradedate": {
  16104. "description": "最后交易日期(状态:待退市)",
  16105. "type": "string"
  16106. },
  16107. "listingdate": {
  16108. "description": "交易开始日期",
  16109. "type": "string"
  16110. },
  16111. "marketid": {
  16112. "description": "所属市场ID",
  16113. "type": "integer"
  16114. },
  16115. "modifierid": {
  16116. "description": "修改人",
  16117. "type": "integer"
  16118. },
  16119. "modifystatus": {
  16120. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16121. "type": "integer"
  16122. },
  16123. "modifytime": {
  16124. "description": "修改时间",
  16125. "type": "string"
  16126. },
  16127. "outerdealmode": {
  16128. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16129. "type": "integer"
  16130. },
  16131. "outgoodscode": {
  16132. "description": "商品代码(外部)",
  16133. "type": "string"
  16134. },
  16135. "qtydecimalplace": {
  16136. "description": "成交量小数位",
  16137. "type": "integer"
  16138. },
  16139. "quotegear": {
  16140. "description": "行情档位(1-10)",
  16141. "type": "integer"
  16142. },
  16143. "quoteminunit": {
  16144. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16145. "type": "integer"
  16146. },
  16147. "quoteshowtype": {
  16148. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16149. "type": "integer"
  16150. },
  16151. "quoteshowtypeinterval": {
  16152. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16153. "type": "integer"
  16154. },
  16155. "remark": {
  16156. "description": "备注",
  16157. "type": "string"
  16158. }
  16159. }
  16160. },
  16161. "models.GoodsIDAndName": {
  16162. "type": "object",
  16163. "required": [
  16164. "goodscode",
  16165. "goodsid",
  16166. "goodsname",
  16167. "marketid"
  16168. ],
  16169. "properties": {
  16170. "goodscode": {
  16171. "description": "商品代码(内部)",
  16172. "type": "string"
  16173. },
  16174. "goodsid": {
  16175. "description": "商品ID(自增ID SEQ_GOODS)",
  16176. "type": "integer"
  16177. },
  16178. "goodsname": {
  16179. "description": "商品名称",
  16180. "type": "string"
  16181. },
  16182. "marketid": {
  16183. "description": "所属市场ID",
  16184. "type": "integer"
  16185. }
  16186. }
  16187. },
  16188. "models.Goodsgroup": {
  16189. "type": "object",
  16190. "required": [
  16191. "goodsgroupid",
  16192. "goodsgroupname",
  16193. "goodsgroupstatus",
  16194. "marketid"
  16195. ],
  16196. "properties": {
  16197. "agreeunit": {
  16198. "description": "合约单位",
  16199. "type": "number"
  16200. },
  16201. "canshort": {
  16202. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  16203. "type": "integer"
  16204. },
  16205. "closepricemode": {
  16206. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16207. "type": "integer"
  16208. },
  16209. "closepriceparam": {
  16210. "description": "强平最新价浮动比例 - 方式为2时使用",
  16211. "type": "number"
  16212. },
  16213. "createtime": {
  16214. "description": "创建时间",
  16215. "type": "string"
  16216. },
  16217. "creatorid": {
  16218. "description": "创建人",
  16219. "type": "integer"
  16220. },
  16221. "currencyid": {
  16222. "description": "报价货币ID",
  16223. "type": "integer"
  16224. },
  16225. "decimalplace": {
  16226. "description": "报价小数位",
  16227. "type": "integer"
  16228. },
  16229. "exercisetype": {
  16230. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  16231. "type": "integer"
  16232. },
  16233. "exexchangeid": {
  16234. "description": "外部交易所ID[通道交易]",
  16235. "type": "integer"
  16236. },
  16237. "goodsgroupid": {
  16238. "description": "商品组ID(自增ID)",
  16239. "type": "integer"
  16240. },
  16241. "goodsgroupname": {
  16242. "description": "商品组名称",
  16243. "type": "string"
  16244. },
  16245. "goodsgroupstatus": {
  16246. "description": "商品组状态 - 1:正常 2:注销",
  16247. "type": "integer"
  16248. },
  16249. "goodunitid": {
  16250. "description": "报价单位ID",
  16251. "type": "integer"
  16252. },
  16253. "innerdealmode": {
  16254. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16255. "type": "integer"
  16256. },
  16257. "isbuylimited": {
  16258. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16259. "type": "integer"
  16260. },
  16261. "marketid": {
  16262. "description": "所属市场ID",
  16263. "type": "integer"
  16264. },
  16265. "modifierid": {
  16266. "description": "修改人",
  16267. "type": "integer"
  16268. },
  16269. "modifytime": {
  16270. "description": "修改时间",
  16271. "type": "string"
  16272. },
  16273. "outerdealmode": {
  16274. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16275. "type": "integer"
  16276. },
  16277. "outergroupcode": {
  16278. "description": "外部商品组代码[通道交易]",
  16279. "type": "string"
  16280. },
  16281. "premiumdecimalplace": {
  16282. "description": "权利金小数位[场外期权]",
  16283. "type": "integer"
  16284. },
  16285. "premiumspreadalgorithm": {
  16286. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  16287. "type": "integer"
  16288. },
  16289. "premiumspreadvalue": {
  16290. "description": "权利金点差值[场外期权]",
  16291. "type": "number"
  16292. },
  16293. "qtydecimalplace": {
  16294. "description": "成交量小数位",
  16295. "type": "integer"
  16296. },
  16297. "quotegear": {
  16298. "description": "行情档位(1-10)",
  16299. "type": "integer"
  16300. },
  16301. "quoteminunit": {
  16302. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16303. "type": "integer"
  16304. },
  16305. "quoterid": {
  16306. "description": "报价商ID[场外期权]",
  16307. "type": "integer"
  16308. },
  16309. "quotesourcegroupid": {
  16310. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  16311. "type": "integer"
  16312. },
  16313. "syncgoodsqty": {
  16314. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  16315. "type": "integer"
  16316. }
  16317. }
  16318. },
  16319. "models.Goodssortbypreposition": {
  16320. "type": "object",
  16321. "required": [
  16322. "goodscode",
  16323. "tradedate"
  16324. ],
  16325. "properties": {
  16326. "goodscode": {
  16327. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  16328. "type": "string"
  16329. },
  16330. "goodsgroupcode": {
  16331. "description": "品种代码",
  16332. "type": "string"
  16333. },
  16334. "prepositionqty": {
  16335. "description": "昨持仓量",
  16336. "type": "integer"
  16337. },
  16338. "sortindex": {
  16339. "description": "排序",
  16340. "type": "integer"
  16341. },
  16342. "tradedate": {
  16343. "description": "交易日",
  16344. "type": "string"
  16345. },
  16346. "updatetime": {
  16347. "description": "更新时间",
  16348. "type": "string"
  16349. }
  16350. }
  16351. },
  16352. "models.Hedgeinnerholderdetail": {
  16353. "type": "object",
  16354. "required": [
  16355. "buyorsell",
  16356. "tradeid"
  16357. ],
  16358. "properties": {
  16359. "accountid": {
  16360. "description": "账号ID",
  16361. "type": "integer"
  16362. },
  16363. "buyorsell": {
  16364. "description": "方向 - 0:买 1:卖",
  16365. "type": "integer"
  16366. },
  16367. "freezeqty": {
  16368. "description": "冻结数量 - 按单平使用",
  16369. "type": "integer"
  16370. },
  16371. "goodsid": {
  16372. "description": "商品ID",
  16373. "type": "integer"
  16374. },
  16375. "holderamount": {
  16376. "description": "持仓金额 [商品币种]",
  16377. "type": "number"
  16378. },
  16379. "holderdays": {
  16380. "description": "剩余冻结天数",
  16381. "type": "integer"
  16382. },
  16383. "holderprice": {
  16384. "description": "持仓价格",
  16385. "type": "number"
  16386. },
  16387. "holderqty": {
  16388. "description": "持仓数量",
  16389. "type": "integer"
  16390. },
  16391. "marketid": {
  16392. "description": "市场ID",
  16393. "type": "integer"
  16394. },
  16395. "openprice": {
  16396. "description": "建仓价格",
  16397. "type": "number"
  16398. },
  16399. "openqty": {
  16400. "description": "建仓数量",
  16401. "type": "integer"
  16402. },
  16403. "parentaccountid": {
  16404. "description": "所属母账户",
  16405. "type": "integer"
  16406. },
  16407. "releaseamount": {
  16408. "description": "释放持仓金额[商品币种]",
  16409. "type": "number"
  16410. },
  16411. "tradeamount": {
  16412. "description": "成交金额[账户]",
  16413. "type": "number"
  16414. },
  16415. "tradedate": {
  16416. "description": "交易日(yyyyMMdd)",
  16417. "type": "string"
  16418. },
  16419. "tradeid": {
  16420. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16421. "type": "string"
  16422. },
  16423. "tradetime": {
  16424. "description": "交易时间",
  16425. "type": "string"
  16426. }
  16427. }
  16428. },
  16429. "models.Hedgemarketopenlog": {
  16430. "type": "object",
  16431. "required": [
  16432. "accountid"
  16433. ],
  16434. "properties": {
  16435. "accountid": {
  16436. "description": "资金账号[外部母账户]",
  16437. "type": "integer"
  16438. },
  16439. "fcname": {
  16440. "description": "期货公司名称",
  16441. "type": "string"
  16442. },
  16443. "handlestatus": {
  16444. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  16445. "type": "integer"
  16446. },
  16447. "marketid": {
  16448. "description": "市场ID",
  16449. "type": "integer"
  16450. },
  16451. "status": {
  16452. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  16453. "type": "integer"
  16454. },
  16455. "tradedate": {
  16456. "description": "交易日(yyyyMMdd)",
  16457. "type": "string"
  16458. },
  16459. "updatetime": {
  16460. "description": "更新时间",
  16461. "type": "string"
  16462. }
  16463. }
  16464. },
  16465. "models.HsbyBuyMyPayOrder": {
  16466. "type": "object",
  16467. "required": [
  16468. "goodscode",
  16469. "goodsname",
  16470. "tradeid",
  16471. "trademode"
  16472. ],
  16473. "properties": {
  16474. "agreeunit": {
  16475. "description": "合约单位",
  16476. "type": "number"
  16477. },
  16478. "buyaccountid": {
  16479. "description": "买方账号ID[报价币种]",
  16480. "type": "integer"
  16481. },
  16482. "buyorderid": {
  16483. "description": "买方委托单号",
  16484. "type": "string"
  16485. },
  16486. "createtime": {
  16487. "description": "创建时间",
  16488. "type": "string"
  16489. },
  16490. "currencysign": {
  16491. "description": "货币符号",
  16492. "type": "string"
  16493. },
  16494. "decimalplace": {
  16495. "description": "报价小数位",
  16496. "type": "integer"
  16497. },
  16498. "goodscode": {
  16499. "description": "商品代码(内部)",
  16500. "type": "string"
  16501. },
  16502. "goodsid": {
  16503. "description": "商品ID",
  16504. "type": "integer"
  16505. },
  16506. "goodsname": {
  16507. "description": "商品名称",
  16508. "type": "string"
  16509. },
  16510. "marketid": {
  16511. "description": "市场ID",
  16512. "type": "integer"
  16513. },
  16514. "offamount": {
  16515. "description": "优惠金额",
  16516. "type": "number"
  16517. },
  16518. "originalamount": {
  16519. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  16520. "type": "number"
  16521. },
  16522. "payamount": {
  16523. "description": "支付金额 = TradeAmount + TradeCharge",
  16524. "type": "number"
  16525. },
  16526. "payflag": {
  16527. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16528. "type": "integer"
  16529. },
  16530. "paylimitedtime": {
  16531. "description": "支付期限",
  16532. "type": "string"
  16533. },
  16534. "paytime": {
  16535. "description": "付款时间",
  16536. "type": "string"
  16537. },
  16538. "picurls1": {
  16539. "description": "预售商品介绍图片[多张用逗号分隔]",
  16540. "type": "string"
  16541. },
  16542. "picurls2": {
  16543. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16544. "type": "string"
  16545. },
  16546. "sellaccountid": {
  16547. "description": "卖方账号ID[报价币种]",
  16548. "type": "integer"
  16549. },
  16550. "sellorderid": {
  16551. "description": "卖方委托单号",
  16552. "type": "string"
  16553. },
  16554. "tradeamount": {
  16555. "description": "成交金额",
  16556. "type": "number"
  16557. },
  16558. "tradecharge": {
  16559. "description": "成交手续费(买方)",
  16560. "type": "number"
  16561. },
  16562. "tradedate": {
  16563. "description": "交易日(yyyyMMdd)",
  16564. "type": "string"
  16565. },
  16566. "tradeid": {
  16567. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16568. "type": "string"
  16569. },
  16570. "trademode": {
  16571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16572. "type": "integer"
  16573. },
  16574. "tradeprice": {
  16575. "description": "成交价格",
  16576. "type": "number"
  16577. },
  16578. "tradeqty": {
  16579. "description": "成交数量",
  16580. "type": "integer"
  16581. },
  16582. "vendorname1": {
  16583. "description": "预售商品供应商名称",
  16584. "type": "string"
  16585. },
  16586. "vendorname2": {
  16587. "description": "挂牌商品供应商名称",
  16588. "type": "string"
  16589. }
  16590. }
  16591. },
  16592. "models.HsbyBuyMyTradeDetail": {
  16593. "type": "object",
  16594. "required": [
  16595. "accountid",
  16596. "buyorsell",
  16597. "goodscode",
  16598. "goodsid",
  16599. "goodsname",
  16600. "marketid",
  16601. "orderid",
  16602. "qty",
  16603. "time",
  16604. "trademode"
  16605. ],
  16606. "properties": {
  16607. "accountid": {
  16608. "description": "账户ID[报价币种]",
  16609. "type": "integer"
  16610. },
  16611. "agreeunit": {
  16612. "description": "合约单位",
  16613. "type": "number"
  16614. },
  16615. "amount": {
  16616. "description": "金额 = 价格 * 数量 * 合约单位",
  16617. "type": "number"
  16618. },
  16619. "buyorsell": {
  16620. "description": "买卖 - 0:买 1:卖",
  16621. "type": "integer"
  16622. },
  16623. "currencysign": {
  16624. "description": "货币符号",
  16625. "type": "string"
  16626. },
  16627. "decimalplace": {
  16628. "description": "报价小数位",
  16629. "type": "integer"
  16630. },
  16631. "goodscode": {
  16632. "description": "商品代码(内部)",
  16633. "type": "string"
  16634. },
  16635. "goodsid": {
  16636. "description": "商品ID",
  16637. "type": "integer"
  16638. },
  16639. "goodsname": {
  16640. "description": "商品名称",
  16641. "type": "string"
  16642. },
  16643. "marketid": {
  16644. "description": "市场ID",
  16645. "type": "integer"
  16646. },
  16647. "orderamount": {
  16648. "description": "委托金额",
  16649. "type": "number"
  16650. },
  16651. "orderid": {
  16652. "description": "单号(成交单号)",
  16653. "type": "string"
  16654. },
  16655. "picurls1": {
  16656. "description": "预售商品介绍图片[多张用逗号分隔]",
  16657. "type": "string"
  16658. },
  16659. "picurls2": {
  16660. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  16661. "type": "string"
  16662. },
  16663. "price": {
  16664. "description": "价格",
  16665. "type": "number"
  16666. },
  16667. "qty": {
  16668. "description": "数量",
  16669. "type": "integer"
  16670. },
  16671. "time": {
  16672. "description": "时间",
  16673. "type": "string"
  16674. },
  16675. "trademode": {
  16676. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16677. "type": "integer"
  16678. },
  16679. "vendorname1": {
  16680. "description": "预售商品供应商名称",
  16681. "type": "string"
  16682. },
  16683. "vendorname2": {
  16684. "description": "挂牌商品供应商名称",
  16685. "type": "string"
  16686. }
  16687. }
  16688. },
  16689. "models.HsbyGoodsOrderDetail": {
  16690. "type": "object",
  16691. "required": [
  16692. "buyorsell",
  16693. "orderid",
  16694. "ordertime"
  16695. ],
  16696. "properties": {
  16697. "buyorsell": {
  16698. "description": "买卖 - 0:买 1:卖",
  16699. "type": "integer"
  16700. },
  16701. "currencysign": {
  16702. "description": "货币符号",
  16703. "type": "string"
  16704. },
  16705. "customername": {
  16706. "description": "客户名称(企业名称),已脱敏",
  16707. "type": "string"
  16708. },
  16709. "enableqty": {
  16710. "description": "可用数量",
  16711. "type": "integer"
  16712. },
  16713. "goodunit": {
  16714. "description": "报价单位",
  16715. "type": "string"
  16716. },
  16717. "orderid": {
  16718. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16719. "type": "string"
  16720. },
  16721. "orderprice": {
  16722. "description": "委托价格",
  16723. "type": "number"
  16724. },
  16725. "ordertime": {
  16726. "description": "委托时间",
  16727. "type": "string"
  16728. }
  16729. }
  16730. },
  16731. "models.HsbyListingGoodsDetail": {
  16732. "type": "object",
  16733. "required": [
  16734. "goodscode",
  16735. "goodsid",
  16736. "goodsname",
  16737. "marketid",
  16738. "trademode"
  16739. ],
  16740. "properties": {
  16741. "agreeunit": {
  16742. "description": "合约单位",
  16743. "type": "number"
  16744. },
  16745. "buymaxqty": {
  16746. "description": "购买上限 [71] - 0为不限",
  16747. "type": "integer"
  16748. },
  16749. "currency": {
  16750. "description": "货币",
  16751. "type": "string"
  16752. },
  16753. "currencysign": {
  16754. "description": "货币符号",
  16755. "type": "string"
  16756. },
  16757. "decimalplace": {
  16758. "description": "报价小数位",
  16759. "type": "integer"
  16760. },
  16761. "desccityid": {
  16762. "description": "目的地(市)ID",
  16763. "type": "integer"
  16764. },
  16765. "descprovinceid": {
  16766. "description": "目的地(省)ID",
  16767. "type": "integer"
  16768. },
  16769. "goodscode": {
  16770. "description": "商品代码(内部)",
  16771. "type": "string"
  16772. },
  16773. "goodsdesc": {
  16774. "description": "商品详情",
  16775. "type": "string"
  16776. },
  16777. "goodsid": {
  16778. "description": "商品ID(自增ID SEQ_GOODS)",
  16779. "type": "integer"
  16780. },
  16781. "goodsname": {
  16782. "description": "商品名称",
  16783. "type": "string"
  16784. },
  16785. "goodsprice": {
  16786. "description": "商品价格",
  16787. "type": "number"
  16788. },
  16789. "hotindex": {
  16790. "description": "景点热度",
  16791. "type": "integer"
  16792. },
  16793. "last": {
  16794. "description": "现价",
  16795. "type": "number"
  16796. },
  16797. "limitdown": {
  16798. "description": "跌停价",
  16799. "type": "number"
  16800. },
  16801. "limitup": {
  16802. "description": "涨停价",
  16803. "type": "number"
  16804. },
  16805. "lotsize": {
  16806. "description": "手数最小变动单位",
  16807. "type": "integer"
  16808. },
  16809. "marketid": {
  16810. "description": "所属市场ID",
  16811. "type": "integer"
  16812. },
  16813. "picurls": {
  16814. "description": "介绍图片[多张用逗号分隔]",
  16815. "type": "string"
  16816. },
  16817. "quoteminunit": {
  16818. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16819. "type": "integer"
  16820. },
  16821. "stepvalue": {
  16822. "description": "价格最小变动单位",
  16823. "type": "number"
  16824. },
  16825. "trademode": {
  16826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16827. "type": "integer"
  16828. },
  16829. "vendorattr": {
  16830. "description": "供应商附件(多张,逗号分隔)",
  16831. "type": "string"
  16832. },
  16833. "vendorname": {
  16834. "description": "供应商名称",
  16835. "type": "string"
  16836. },
  16837. "vendorphone": {
  16838. "description": "供应商客服电话",
  16839. "type": "string"
  16840. },
  16841. "videourls": {
  16842. "description": "介绍视频[多张用逗号分隔]",
  16843. "type": "string"
  16844. }
  16845. }
  16846. },
  16847. "models.HsbyMarketGoods": {
  16848. "type": "object",
  16849. "required": [
  16850. "accountid",
  16851. "buyorsell",
  16852. "goodscode",
  16853. "goodsid",
  16854. "goodsname",
  16855. "marketid",
  16856. "orderid",
  16857. "trademode"
  16858. ],
  16859. "properties": {
  16860. "accountid": {
  16861. "description": "账户ID[报价币种]",
  16862. "type": "integer"
  16863. },
  16864. "agreeunit": {
  16865. "description": "合约单位",
  16866. "type": "number"
  16867. },
  16868. "buyorsell": {
  16869. "description": "买卖 - 0:买 1:卖",
  16870. "type": "integer"
  16871. },
  16872. "categoryid": {
  16873. "description": "类别ID(WRCATEGORY)",
  16874. "type": "integer"
  16875. },
  16876. "currency": {
  16877. "description": "货币",
  16878. "type": "string"
  16879. },
  16880. "currencysign": {
  16881. "description": "货币符号",
  16882. "type": "string"
  16883. },
  16884. "customername": {
  16885. "description": "卖家名称",
  16886. "type": "string"
  16887. },
  16888. "decimalplace": {
  16889. "description": "报价小数位",
  16890. "type": "integer"
  16891. },
  16892. "goodscode": {
  16893. "description": "商品代码(内部)",
  16894. "type": "string"
  16895. },
  16896. "goodsid": {
  16897. "description": "商品ID",
  16898. "type": "integer"
  16899. },
  16900. "goodsname": {
  16901. "description": "商品名称",
  16902. "type": "string"
  16903. },
  16904. "goodsprice": {
  16905. "description": "商品价格",
  16906. "type": "number"
  16907. },
  16908. "hascoupon": {
  16909. "description": "是否可用优惠卷",
  16910. "type": "boolean"
  16911. },
  16912. "hotindex": {
  16913. "description": "景点热度",
  16914. "type": "integer"
  16915. },
  16916. "marketid": {
  16917. "description": "市场ID",
  16918. "type": "integer"
  16919. },
  16920. "orderid": {
  16921. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16922. "type": "string"
  16923. },
  16924. "orderprice": {
  16925. "description": "委托价格",
  16926. "type": "number"
  16927. },
  16928. "orderstatus": {
  16929. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16930. "type": "integer"
  16931. },
  16932. "picurls": {
  16933. "description": "介绍图片[多张用逗号分隔]",
  16934. "type": "string"
  16935. },
  16936. "quoteminunit": {
  16937. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16938. "type": "integer"
  16939. },
  16940. "sellUserID": {
  16941. "description": "卖方UserID",
  16942. "type": "integer"
  16943. },
  16944. "trademode": {
  16945. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16946. "type": "integer"
  16947. },
  16948. "videourls": {
  16949. "description": "介绍视频[多张用逗号分隔]",
  16950. "type": "string"
  16951. }
  16952. }
  16953. },
  16954. "models.HsbyMarketGoodsDetail": {
  16955. "type": "object",
  16956. "required": [
  16957. "accountid",
  16958. "buyorsell",
  16959. "goodscode",
  16960. "goodsid",
  16961. "goodsname",
  16962. "marketid",
  16963. "orderid",
  16964. "orderqty",
  16965. "trademode"
  16966. ],
  16967. "properties": {
  16968. "accountid": {
  16969. "description": "账户ID[报价币种]",
  16970. "type": "integer"
  16971. },
  16972. "agreeunit": {
  16973. "description": "合约单位",
  16974. "type": "number"
  16975. },
  16976. "buymaxqty": {
  16977. "description": "购买上限 [71] - 0为不限",
  16978. "type": "integer"
  16979. },
  16980. "buyorsell": {
  16981. "description": "买卖 - 0:买 1:卖",
  16982. "type": "integer"
  16983. },
  16984. "cancelqty": {
  16985. "description": "撤单数量",
  16986. "type": "integer"
  16987. },
  16988. "categoryid": {
  16989. "description": "类别ID(WRCATEGORY)",
  16990. "type": "integer"
  16991. },
  16992. "currency": {
  16993. "description": "货币",
  16994. "type": "string"
  16995. },
  16996. "currencysign": {
  16997. "description": "货币符号",
  16998. "type": "string"
  16999. },
  17000. "customername": {
  17001. "description": "卖家名称",
  17002. "type": "string"
  17003. },
  17004. "decimalplace": {
  17005. "description": "报价小数位",
  17006. "type": "integer"
  17007. },
  17008. "goodscode": {
  17009. "description": "商品代码(内部)",
  17010. "type": "string"
  17011. },
  17012. "goodsdesc": {
  17013. "description": "商品详情",
  17014. "type": "string"
  17015. },
  17016. "goodsid": {
  17017. "description": "商品ID",
  17018. "type": "integer"
  17019. },
  17020. "goodsname": {
  17021. "description": "商品名称",
  17022. "type": "string"
  17023. },
  17024. "goodsprice": {
  17025. "description": "商品价格",
  17026. "type": "number"
  17027. },
  17028. "hotindex": {
  17029. "description": "景点热度",
  17030. "type": "integer"
  17031. },
  17032. "lotsize": {
  17033. "description": "手数最小变动单位",
  17034. "type": "integer"
  17035. },
  17036. "marketid": {
  17037. "description": "市场ID",
  17038. "type": "integer"
  17039. },
  17040. "orderid": {
  17041. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17042. "type": "string"
  17043. },
  17044. "orderprice": {
  17045. "description": "委托价格",
  17046. "type": "number"
  17047. },
  17048. "orderqty": {
  17049. "description": "委托数量",
  17050. "type": "integer"
  17051. },
  17052. "orderstatus": {
  17053. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17054. "type": "integer"
  17055. },
  17056. "picurls": {
  17057. "description": "介绍图片[多张用逗号分隔]",
  17058. "type": "string"
  17059. },
  17060. "quoteminunit": {
  17061. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17062. "type": "integer"
  17063. },
  17064. "sellUserID": {
  17065. "description": "卖方UserID",
  17066. "type": "integer"
  17067. },
  17068. "trademode": {
  17069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17070. "type": "integer"
  17071. },
  17072. "tradeqty": {
  17073. "description": "成交数量",
  17074. "type": "integer"
  17075. },
  17076. "vendorattr": {
  17077. "description": "供应商附件(多张,逗号分隔)",
  17078. "type": "string"
  17079. },
  17080. "vendorname": {
  17081. "description": "供应商名称",
  17082. "type": "string"
  17083. },
  17084. "vendorphone": {
  17085. "description": "供应商客服电话",
  17086. "type": "string"
  17087. },
  17088. "videourls": {
  17089. "description": "介绍视频[多张用逗号分隔]",
  17090. "type": "string"
  17091. }
  17092. }
  17093. },
  17094. "models.HsbyMarketInfo": {
  17095. "type": "object",
  17096. "required": [
  17097. "marketid",
  17098. "marketstatus",
  17099. "trademode"
  17100. ],
  17101. "properties": {
  17102. "marketid": {
  17103. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17104. "type": "integer"
  17105. },
  17106. "marketname": {
  17107. "description": "市场名称",
  17108. "type": "string"
  17109. },
  17110. "marketstatus": {
  17111. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17112. "type": "integer"
  17113. },
  17114. "trademode": {
  17115. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17116. "type": "integer"
  17117. }
  17118. }
  17119. },
  17120. "models.HsbyMyGoods": {
  17121. "type": "object",
  17122. "required": [
  17123. "accountid",
  17124. "goodscode",
  17125. "goodsid",
  17126. "goodsname",
  17127. "marketid",
  17128. "trademode"
  17129. ],
  17130. "properties": {
  17131. "accountid": {
  17132. "description": "账号Id",
  17133. "type": "integer"
  17134. },
  17135. "agreeunit": {
  17136. "description": "合约单位",
  17137. "type": "number"
  17138. },
  17139. "buyaverageprice": {
  17140. "description": "持仓均价",
  17141. "type": "number"
  17142. },
  17143. "buycurholderamount": {
  17144. "description": "买当前持仓总金额[商品币种]",
  17145. "type": "number"
  17146. },
  17147. "buycurpositionqty": {
  17148. "description": "买当前持仓总数量",
  17149. "type": "integer"
  17150. },
  17151. "buymaxqty": {
  17152. "description": "购买上限 [71] - 0为不限",
  17153. "type": "integer"
  17154. },
  17155. "currencysign": {
  17156. "description": "货币符号",
  17157. "type": "string"
  17158. },
  17159. "decimalplace": {
  17160. "description": "报价小数位",
  17161. "type": "integer"
  17162. },
  17163. "enableqty": {
  17164. "description": "可用数量",
  17165. "type": "integer"
  17166. },
  17167. "goodscode": {
  17168. "description": "商品代码(内部)",
  17169. "type": "string"
  17170. },
  17171. "goodsid": {
  17172. "description": "商品Id",
  17173. "type": "integer"
  17174. },
  17175. "goodsname": {
  17176. "description": "商品名称",
  17177. "type": "string"
  17178. },
  17179. "goodsprice": {
  17180. "description": "商品价格",
  17181. "type": "number"
  17182. },
  17183. "goodsstatus": {
  17184. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17185. "type": "integer"
  17186. },
  17187. "last": {
  17188. "description": "现价(仅使用于挂牌点选)",
  17189. "type": "number"
  17190. },
  17191. "limitdown": {
  17192. "description": "跌停价(仅使用于挂牌点选)",
  17193. "type": "number"
  17194. },
  17195. "limitup": {
  17196. "description": "涨停价(仅使用于挂牌点选)",
  17197. "type": "number"
  17198. },
  17199. "lotsize": {
  17200. "description": "手数最小变动单位",
  17201. "type": "integer"
  17202. },
  17203. "marketid": {
  17204. "description": "所属市场ID",
  17205. "type": "integer"
  17206. },
  17207. "picurls": {
  17208. "description": "介绍图片[多张用逗号分隔]",
  17209. "type": "string"
  17210. },
  17211. "quoteminunit": {
  17212. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17213. "type": "integer"
  17214. },
  17215. "stepvalue": {
  17216. "description": "价格最小变动单位",
  17217. "type": "number"
  17218. },
  17219. "trademode": {
  17220. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17221. "type": "integer"
  17222. }
  17223. }
  17224. },
  17225. "models.HsbyMyPackage": {
  17226. "type": "object",
  17227. "required": [
  17228. "goodscode",
  17229. "goodsname",
  17230. "takeorderid",
  17231. "trademode"
  17232. ],
  17233. "properties": {
  17234. "accountid": {
  17235. "description": "账户ID",
  17236. "type": "integer"
  17237. },
  17238. "address": {
  17239. "description": "提货人详细地址",
  17240. "type": "string"
  17241. },
  17242. "agreeunit": {
  17243. "description": "合约单位",
  17244. "type": "number"
  17245. },
  17246. "amount": {
  17247. "description": "提货金额",
  17248. "type": "number"
  17249. },
  17250. "auditer": {
  17251. "description": "审核人",
  17252. "type": "integer"
  17253. },
  17254. "audittime": {
  17255. "description": "审核时间",
  17256. "type": "string"
  17257. },
  17258. "averageprice": {
  17259. "description": "均价",
  17260. "type": "number"
  17261. },
  17262. "cardnum": {
  17263. "description": "提货人证件号码",
  17264. "type": "string"
  17265. },
  17266. "cardtypeid": {
  17267. "description": "提货人证件类型",
  17268. "type": "integer"
  17269. },
  17270. "checkremark": {
  17271. "description": "审核备注",
  17272. "type": "string"
  17273. },
  17274. "currencysign": {
  17275. "description": "货币符号",
  17276. "type": "string"
  17277. },
  17278. "decimalplace": {
  17279. "description": "报价小数位",
  17280. "type": "integer"
  17281. },
  17282. "goodscode": {
  17283. "description": "商品代码(内部)",
  17284. "type": "string"
  17285. },
  17286. "goodsid": {
  17287. "description": "商品ID",
  17288. "type": "integer"
  17289. },
  17290. "goodsname": {
  17291. "description": "商品名称",
  17292. "type": "string"
  17293. },
  17294. "handlestatus": {
  17295. "description": "处理状态",
  17296. "type": "integer"
  17297. },
  17298. "marketid": {
  17299. "description": "市场ID",
  17300. "type": "integer"
  17301. },
  17302. "phonenum": {
  17303. "description": "提货人联系方式",
  17304. "type": "string"
  17305. },
  17306. "picurls": {
  17307. "description": "介绍图片[多张用逗号分隔]",
  17308. "type": "string"
  17309. },
  17310. "qty": {
  17311. "description": "提货数量",
  17312. "type": "number"
  17313. },
  17314. "recivername": {
  17315. "description": "提货人姓名",
  17316. "type": "string"
  17317. },
  17318. "reqtime": {
  17319. "description": "更新时间",
  17320. "type": "string"
  17321. },
  17322. "takemode": {
  17323. "description": "提货方式 - 2:自提 3:配送",
  17324. "type": "integer"
  17325. },
  17326. "takeorderid": {
  17327. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17328. "type": "string"
  17329. },
  17330. "takeorderstatus": {
  17331. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17332. "type": "integer"
  17333. },
  17334. "takeremark": {
  17335. "description": "提货备注",
  17336. "type": "string"
  17337. },
  17338. "tradedate": {
  17339. "description": "交易日(yyyyMMdd)",
  17340. "type": "string"
  17341. },
  17342. "trademode": {
  17343. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17344. "type": "integer"
  17345. },
  17346. "userid": {
  17347. "description": "用户ID",
  17348. "type": "integer"
  17349. },
  17350. "vendorname": {
  17351. "description": "供应商名称",
  17352. "type": "string"
  17353. }
  17354. }
  17355. },
  17356. "models.HsbyPreGoods": {
  17357. "type": "object",
  17358. "required": [
  17359. "goodscode",
  17360. "goodsid",
  17361. "goodsname",
  17362. "marketid",
  17363. "trademode"
  17364. ],
  17365. "properties": {
  17366. "agreeunit": {
  17367. "description": "合约单位",
  17368. "type": "number"
  17369. },
  17370. "currency": {
  17371. "description": "货币",
  17372. "type": "string"
  17373. },
  17374. "currencysign": {
  17375. "description": "货币符号",
  17376. "type": "string"
  17377. },
  17378. "decimalplace": {
  17379. "description": "报价小数位",
  17380. "type": "integer"
  17381. },
  17382. "desccityid": {
  17383. "description": "目的地(市)",
  17384. "type": "integer"
  17385. },
  17386. "descprovinceid": {
  17387. "description": "目的地(省)",
  17388. "type": "integer"
  17389. },
  17390. "enableqty": {
  17391. "description": "剩余数量",
  17392. "type": "integer"
  17393. },
  17394. "goodscode": {
  17395. "description": "商品代码(内部)",
  17396. "type": "string"
  17397. },
  17398. "goodsid": {
  17399. "description": "商品ID(自增ID SEQ_GOODS)",
  17400. "type": "integer"
  17401. },
  17402. "goodsname": {
  17403. "description": "商品名称",
  17404. "type": "string"
  17405. },
  17406. "goodsstatus": {
  17407. "description": "商品状态- 2:未上市 3:上市",
  17408. "type": "integer"
  17409. },
  17410. "lasttradedate": {
  17411. "description": "最后交易日期(状态:待退市)",
  17412. "type": "string"
  17413. },
  17414. "listingdate": {
  17415. "description": "交易开始日期",
  17416. "type": "string"
  17417. },
  17418. "marketid": {
  17419. "description": "所属市场ID",
  17420. "type": "integer"
  17421. },
  17422. "picurls": {
  17423. "description": "介绍图片[多张用逗号分隔]",
  17424. "type": "string"
  17425. },
  17426. "presaledqty": {
  17427. "description": "已预售量(预售结束时更新)",
  17428. "type": "integer"
  17429. },
  17430. "presaleqty": {
  17431. "description": "预售数量",
  17432. "type": "integer"
  17433. },
  17434. "quoteminunit": {
  17435. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17436. "type": "integer"
  17437. },
  17438. "refprice": {
  17439. "description": "参考价格[一口价]",
  17440. "type": "number"
  17441. },
  17442. "relatedgoodsid": {
  17443. "description": "关联交易合约ID",
  17444. "type": "integer"
  17445. },
  17446. "trademode": {
  17447. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17448. "type": "integer"
  17449. },
  17450. "videourls": {
  17451. "description": "介绍视频[多张用逗号分隔]",
  17452. "type": "string"
  17453. }
  17454. }
  17455. },
  17456. "models.HsbyPreGoodsDetail": {
  17457. "type": "object",
  17458. "required": [
  17459. "goodscode",
  17460. "goodsid",
  17461. "goodsname",
  17462. "marketid",
  17463. "trademode"
  17464. ],
  17465. "properties": {
  17466. "agreeunit": {
  17467. "description": "合约单位",
  17468. "type": "number"
  17469. },
  17470. "buymaxqty": {
  17471. "description": "购买上限 [71] - 0为不限",
  17472. "type": "integer"
  17473. },
  17474. "currency": {
  17475. "description": "货币",
  17476. "type": "string"
  17477. },
  17478. "currencysign": {
  17479. "description": "货币符号",
  17480. "type": "string"
  17481. },
  17482. "customername": {
  17483. "description": "发行单位",
  17484. "type": "string"
  17485. },
  17486. "decimalplace": {
  17487. "description": "报价小数位",
  17488. "type": "integer"
  17489. },
  17490. "desccityid": {
  17491. "description": "目的地(市)ID",
  17492. "type": "integer"
  17493. },
  17494. "descprovinceid": {
  17495. "description": "目的地(省)ID",
  17496. "type": "integer"
  17497. },
  17498. "enableqty": {
  17499. "description": "剩余数量",
  17500. "type": "integer"
  17501. },
  17502. "goodscode": {
  17503. "description": "商品代码(内部)",
  17504. "type": "string"
  17505. },
  17506. "goodsdesc": {
  17507. "description": "商品详情",
  17508. "type": "string"
  17509. },
  17510. "goodsid": {
  17511. "description": "商品ID(自增ID SEQ_GOODS)",
  17512. "type": "integer"
  17513. },
  17514. "goodsname": {
  17515. "description": "商品名称",
  17516. "type": "string"
  17517. },
  17518. "goodsstatus": {
  17519. "description": "商品状态- 2:未上市 3:上市",
  17520. "type": "integer"
  17521. },
  17522. "goodunit": {
  17523. "description": "报价单位",
  17524. "type": "string"
  17525. },
  17526. "lasttradedate": {
  17527. "description": "最后交易日期(状态:待退市)",
  17528. "type": "string"
  17529. },
  17530. "listingdate": {
  17531. "description": "交易开始日期",
  17532. "type": "string"
  17533. },
  17534. "lotsize": {
  17535. "description": "手数最小变动单位",
  17536. "type": "integer"
  17537. },
  17538. "marketid": {
  17539. "description": "所属市场ID",
  17540. "type": "integer"
  17541. },
  17542. "picurls": {
  17543. "description": "介绍图片[多张用逗号分隔]",
  17544. "type": "string"
  17545. },
  17546. "presaledqty": {
  17547. "description": "已预售量(预售结束时更新)",
  17548. "type": "integer"
  17549. },
  17550. "presaleqty": {
  17551. "description": "预售数量",
  17552. "type": "integer"
  17553. },
  17554. "quoteminunit": {
  17555. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17556. "type": "integer"
  17557. },
  17558. "refprice": {
  17559. "description": "参考价格[一口价]",
  17560. "type": "number"
  17561. },
  17562. "relatedgoodsid": {
  17563. "description": "关联交易合约ID",
  17564. "type": "integer"
  17565. },
  17566. "stepvalue": {
  17567. "description": "价格最小变动单位",
  17568. "type": "number"
  17569. },
  17570. "trademode": {
  17571. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17572. "type": "integer"
  17573. },
  17574. "vendorattr": {
  17575. "description": "供应商附件(多张,逗号分隔)",
  17576. "type": "string"
  17577. },
  17578. "vendorname": {
  17579. "description": "供应商名称",
  17580. "type": "string"
  17581. },
  17582. "vendorphone": {
  17583. "description": "供应商客服电话",
  17584. "type": "string"
  17585. },
  17586. "videourls": {
  17587. "description": "介绍视频[多张用逗号分隔]",
  17588. "type": "string"
  17589. }
  17590. }
  17591. },
  17592. "models.HsbySellCollectionOrder": {
  17593. "type": "object",
  17594. "required": [
  17595. "goodscode",
  17596. "goodsname",
  17597. "tradeid",
  17598. "trademode"
  17599. ],
  17600. "properties": {
  17601. "agreeunit": {
  17602. "description": "合约单位",
  17603. "type": "number"
  17604. },
  17605. "buyaccountid": {
  17606. "description": "买方账号ID[报价币种]",
  17607. "type": "integer"
  17608. },
  17609. "buyorderid": {
  17610. "description": "买方委托单号",
  17611. "type": "string"
  17612. },
  17613. "createtime": {
  17614. "description": "创建时间",
  17615. "type": "string"
  17616. },
  17617. "currencysign": {
  17618. "description": "货币符号",
  17619. "type": "string"
  17620. },
  17621. "decimalplace": {
  17622. "description": "报价小数位",
  17623. "type": "integer"
  17624. },
  17625. "goodscode": {
  17626. "description": "商品代码(内部)",
  17627. "type": "string"
  17628. },
  17629. "goodsid": {
  17630. "description": "商品ID",
  17631. "type": "integer"
  17632. },
  17633. "goodsname": {
  17634. "description": "商品名称",
  17635. "type": "string"
  17636. },
  17637. "marketid": {
  17638. "description": "市场ID",
  17639. "type": "integer"
  17640. },
  17641. "offamount": {
  17642. "description": "优惠金额",
  17643. "type": "number"
  17644. },
  17645. "payamount": {
  17646. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  17647. "type": "number"
  17648. },
  17649. "payflag": {
  17650. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17651. "type": "integer"
  17652. },
  17653. "paylimitedtime": {
  17654. "description": "支付期限",
  17655. "type": "string"
  17656. },
  17657. "paytime": {
  17658. "description": "付款时间",
  17659. "type": "string"
  17660. },
  17661. "picurls": {
  17662. "description": "商品介绍图片[多张用逗号分隔]",
  17663. "type": "string"
  17664. },
  17665. "sellaccountid": {
  17666. "description": "卖方账号ID[报价币种]",
  17667. "type": "integer"
  17668. },
  17669. "sellorderid": {
  17670. "description": "卖方委托单号",
  17671. "type": "string"
  17672. },
  17673. "tradeamount": {
  17674. "description": "成交金额",
  17675. "type": "number"
  17676. },
  17677. "tradecharge": {
  17678. "description": "成交手续费(买方)",
  17679. "type": "number"
  17680. },
  17681. "tradedate": {
  17682. "description": "交易日(yyyyMMdd)",
  17683. "type": "string"
  17684. },
  17685. "tradeid": {
  17686. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17687. "type": "string"
  17688. },
  17689. "trademode": {
  17690. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17691. "type": "integer"
  17692. },
  17693. "tradeprice": {
  17694. "description": "成交价格",
  17695. "type": "number"
  17696. },
  17697. "tradeqty": {
  17698. "description": "成交数量",
  17699. "type": "integer"
  17700. }
  17701. }
  17702. },
  17703. "models.HsbySellMyDetail": {
  17704. "type": "object",
  17705. "required": [
  17706. "accountid",
  17707. "buyorsell",
  17708. "goodscode",
  17709. "goodsid",
  17710. "goodsname",
  17711. "marketid",
  17712. "orderid",
  17713. "time",
  17714. "trademode"
  17715. ],
  17716. "properties": {
  17717. "accountid": {
  17718. "description": "账户ID[报价币种]",
  17719. "type": "integer"
  17720. },
  17721. "agreeunit": {
  17722. "description": "合约单位",
  17723. "type": "number"
  17724. },
  17725. "buyorsell": {
  17726. "description": "买卖 - 0:买 1:卖",
  17727. "type": "integer"
  17728. },
  17729. "currencysign": {
  17730. "description": "货币符号",
  17731. "type": "string"
  17732. },
  17733. "decimalplace": {
  17734. "description": "报价小数位",
  17735. "type": "integer"
  17736. },
  17737. "goodscode": {
  17738. "description": "商品代码(内部)",
  17739. "type": "string"
  17740. },
  17741. "goodsid": {
  17742. "description": "商品ID",
  17743. "type": "integer"
  17744. },
  17745. "goodsname": {
  17746. "description": "商品名称",
  17747. "type": "string"
  17748. },
  17749. "marketid": {
  17750. "description": "市场ID",
  17751. "type": "integer"
  17752. },
  17753. "orderid": {
  17754. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  17755. "type": "string"
  17756. },
  17757. "ordertype": {
  17758. "description": "单据类型:0 - 发布中, 1 - 已完成",
  17759. "type": "integer"
  17760. },
  17761. "picurls": {
  17762. "description": "介绍图片[多张用逗号分隔]",
  17763. "type": "string"
  17764. },
  17765. "price": {
  17766. "description": "价格",
  17767. "type": "number"
  17768. },
  17769. "qty": {
  17770. "description": "数量",
  17771. "type": "integer"
  17772. },
  17773. "time": {
  17774. "description": "时间",
  17775. "type": "string"
  17776. },
  17777. "trademode": {
  17778. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17779. "type": "integer"
  17780. },
  17781. "vendorname": {
  17782. "description": "供应商名称",
  17783. "type": "string"
  17784. }
  17785. }
  17786. },
  17787. "models.HsbyTopGoods": {
  17788. "type": "object",
  17789. "required": [
  17790. "goodscode",
  17791. "goodsid",
  17792. "goodsname",
  17793. "marketid",
  17794. "trademode"
  17795. ],
  17796. "properties": {
  17797. "agreeunit": {
  17798. "description": "合约单位",
  17799. "type": "number"
  17800. },
  17801. "currency": {
  17802. "description": "货币",
  17803. "type": "string"
  17804. },
  17805. "currencysign": {
  17806. "description": "货币符号",
  17807. "type": "string"
  17808. },
  17809. "decimalplace": {
  17810. "description": "报价小数位",
  17811. "type": "integer"
  17812. },
  17813. "desccityid": {
  17814. "description": "目的地(市)",
  17815. "type": "integer"
  17816. },
  17817. "descprovinceid": {
  17818. "description": "目的地(省)",
  17819. "type": "integer"
  17820. },
  17821. "goodscode": {
  17822. "description": "商品代码(内部)",
  17823. "type": "string"
  17824. },
  17825. "goodsid": {
  17826. "description": "商品ID(自增ID SEQ_GOODS)",
  17827. "type": "integer"
  17828. },
  17829. "goodsname": {
  17830. "description": "商品名称",
  17831. "type": "string"
  17832. },
  17833. "hotindex": {
  17834. "description": "景点热度",
  17835. "type": "integer"
  17836. },
  17837. "last": {
  17838. "description": "现价",
  17839. "type": "number"
  17840. },
  17841. "marketid": {
  17842. "description": "所属市场ID",
  17843. "type": "integer"
  17844. },
  17845. "picurls": {
  17846. "description": "介绍图片[多张用逗号分隔]",
  17847. "type": "string"
  17848. },
  17849. "quoteminunit": {
  17850. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17851. "type": "integer"
  17852. },
  17853. "trademode": {
  17854. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17855. "type": "integer"
  17856. },
  17857. "videourls": {
  17858. "description": "介绍视频[多张用逗号分隔]",
  17859. "type": "string"
  17860. }
  17861. }
  17862. },
  17863. "models.HybsMyBuyOrderDetail": {
  17864. "type": "object",
  17865. "required": [
  17866. "accountid",
  17867. "buyorsell",
  17868. "goodscode",
  17869. "goodsid",
  17870. "goodsname",
  17871. "marketid",
  17872. "orderid",
  17873. "orderqty",
  17874. "ordertime",
  17875. "trademode"
  17876. ],
  17877. "properties": {
  17878. "accountid": {
  17879. "description": "账户ID[报价币种]",
  17880. "type": "integer"
  17881. },
  17882. "agreeunit": {
  17883. "description": "合约单位",
  17884. "type": "number"
  17885. },
  17886. "buyorsell": {
  17887. "description": "买卖 - 0:买 1:卖",
  17888. "type": "integer"
  17889. },
  17890. "cancelqty": {
  17891. "description": "撤单数量",
  17892. "type": "integer"
  17893. },
  17894. "currencysign": {
  17895. "description": "货币符号",
  17896. "type": "string"
  17897. },
  17898. "decimalplace": {
  17899. "description": "报价小数位",
  17900. "type": "integer"
  17901. },
  17902. "goodscode": {
  17903. "description": "商品代码(内部)",
  17904. "type": "string"
  17905. },
  17906. "goodsid": {
  17907. "description": "商品ID",
  17908. "type": "integer"
  17909. },
  17910. "goodsname": {
  17911. "description": "商品名称",
  17912. "type": "string"
  17913. },
  17914. "listingselecttype": {
  17915. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17916. "type": "integer"
  17917. },
  17918. "marketid": {
  17919. "description": "市场ID",
  17920. "type": "integer"
  17921. },
  17922. "mybuystatus": {
  17923. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17924. "type": "integer"
  17925. },
  17926. "orderamount": {
  17927. "description": "委托金额",
  17928. "type": "number"
  17929. },
  17930. "orderid": {
  17931. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17932. "type": "string"
  17933. },
  17934. "orderprice": {
  17935. "description": "委托价格",
  17936. "type": "number"
  17937. },
  17938. "orderqty": {
  17939. "description": "委托数量",
  17940. "type": "integer"
  17941. },
  17942. "orderstatus": {
  17943. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17944. "type": "integer"
  17945. },
  17946. "ordertime": {
  17947. "description": "委托时间",
  17948. "type": "string"
  17949. },
  17950. "picurls1": {
  17951. "description": "预售商品介绍图片[多张用逗号分隔]",
  17952. "type": "string"
  17953. },
  17954. "picurls2": {
  17955. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17956. "type": "string"
  17957. },
  17958. "trademode": {
  17959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17960. "type": "integer"
  17961. },
  17962. "tradeqty": {
  17963. "description": "成交数量",
  17964. "type": "integer"
  17965. },
  17966. "vendorname1": {
  17967. "description": "预售商品供应商名称",
  17968. "type": "string"
  17969. },
  17970. "vendorname2": {
  17971. "description": "挂牌商品供应商名称",
  17972. "type": "string"
  17973. }
  17974. }
  17975. },
  17976. "models.Loginaccount": {
  17977. "type": "object",
  17978. "required": [
  17979. "loginid"
  17980. ],
  17981. "properties": {
  17982. "canoutin": {
  17983. "description": "是否可出入金 - 0:不可 1:可",
  17984. "type": "integer"
  17985. },
  17986. "clientroleid": {
  17987. "description": "终端角色ID",
  17988. "type": "integer"
  17989. },
  17990. "haslogined": {
  17991. "description": "是否已登录 - 0:未登录 1:已登录",
  17992. "type": "integer"
  17993. },
  17994. "hasupdatedpwd": {
  17995. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17996. "type": "integer"
  17997. },
  17998. "lastloginip": {
  17999. "description": "最新登录地址",
  18000. "type": "string"
  18001. },
  18002. "lastloginmode": {
  18003. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18004. "type": "integer"
  18005. },
  18006. "lastloginremark": {
  18007. "description": "最新登录描述",
  18008. "type": "string"
  18009. },
  18010. "lastlogintime": {
  18011. "description": "最新登录时间",
  18012. "type": "string"
  18013. },
  18014. "logincode": {
  18015. "description": "登录代码",
  18016. "type": "string"
  18017. },
  18018. "loginfailnum": {
  18019. "description": "连续登录失败次数(登录成功时清零)",
  18020. "type": "integer"
  18021. },
  18022. "loginid": {
  18023. "description": "登陆账号",
  18024. "type": "integer"
  18025. },
  18026. "loginport": {
  18027. "description": "最新登录端口",
  18028. "type": "integer"
  18029. },
  18030. "loginstatus": {
  18031. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18032. "type": "integer"
  18033. },
  18034. "loginusertype": {
  18035. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  18036. "type": "integer"
  18037. },
  18038. "modifierid": {
  18039. "description": "修改人",
  18040. "type": "integer"
  18041. },
  18042. "modifytime": {
  18043. "description": "修改时间",
  18044. "type": "string"
  18045. },
  18046. "pwdwrongcount": {
  18047. "description": "密码错误次数",
  18048. "type": "integer"
  18049. },
  18050. "taaccountrighttype": {
  18051. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  18052. "type": "integer"
  18053. },
  18054. "unfreezetime": {
  18055. "description": "账户解冻时间",
  18056. "type": "string"
  18057. },
  18058. "userid": {
  18059. "description": "用户ID",
  18060. "type": "integer"
  18061. }
  18062. }
  18063. },
  18064. "models.MainAccountInfo": {
  18065. "type": "object",
  18066. "properties": {
  18067. "accountid": {
  18068. "description": "账号id",
  18069. "type": "integer"
  18070. },
  18071. "accountname": {
  18072. "description": "账号名称(taaccount表中的名称)",
  18073. "type": "string"
  18074. },
  18075. "appid": {
  18076. "description": "AppID",
  18077. "type": "string"
  18078. },
  18079. "authcode": {
  18080. "description": "授权码",
  18081. "type": "string"
  18082. },
  18083. "brokerid": {
  18084. "description": "经纪商id",
  18085. "type": "string"
  18086. },
  18087. "fcid": {
  18088. "description": "期货公司id",
  18089. "type": "integer"
  18090. },
  18091. "fcname": {
  18092. "description": "期货公司代码",
  18093. "type": "string"
  18094. },
  18095. "hedgeaccountcode": {
  18096. "description": "外部账号代码(主账号登录代码)",
  18097. "type": "string"
  18098. },
  18099. "hedgeaccountpwd": {
  18100. "description": "密码",
  18101. "type": "string"
  18102. },
  18103. "ismain": {
  18104. "description": "是否主账号",
  18105. "type": "integer"
  18106. },
  18107. "relateduserid": {
  18108. "description": "关联用户id",
  18109. "type": "integer"
  18110. },
  18111. "userid": {
  18112. "description": "关联用户id",
  18113. "type": "integer"
  18114. }
  18115. }
  18116. },
  18117. "models.Market": {
  18118. "type": "object",
  18119. "required": [
  18120. "marketid",
  18121. "marketstatus",
  18122. "openmethod",
  18123. "reckonpricealgorithm",
  18124. "trademode",
  18125. "tradeproperty"
  18126. ],
  18127. "properties": {
  18128. "auctionwrtype": {
  18129. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  18130. "type": "integer"
  18131. },
  18132. "canacceptquote": {
  18133. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  18134. "type": "integer"
  18135. },
  18136. "cangoodsexercise": {
  18137. "description": "[期权]是否可现货行权- 0:否 1:是",
  18138. "type": "integer"
  18139. },
  18140. "cangoodsexercisetype": {
  18141. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  18142. "type": "integer"
  18143. },
  18144. "canmanualquotestrike": {
  18145. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  18146. "type": "integer"
  18147. },
  18148. "canmutistage": {
  18149. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  18150. "type": "integer"
  18151. },
  18152. "canpreexercise": {
  18153. "description": "[期权]是否可预申报- 0:否 1:是",
  18154. "type": "integer"
  18155. },
  18156. "clearinterval": {
  18157. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  18158. "type": "integer"
  18159. },
  18160. "contracttmp": {
  18161. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  18162. "type": "string"
  18163. },
  18164. "exchareaid": {
  18165. "description": "所属交易所,可以没有",
  18166. "type": "integer"
  18167. },
  18168. "goodstype": {
  18169. "description": "商品类型 - 1:交易商品 2:仓单商品",
  18170. "type": "integer"
  18171. },
  18172. "hasrebate": {
  18173. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  18174. "type": "integer"
  18175. },
  18176. "hastradecredit": {
  18177. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  18178. "type": "integer"
  18179. },
  18180. "haswr": {
  18181. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  18182. "type": "integer"
  18183. },
  18184. "isdeductmargin": {
  18185. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  18186. "type": "integer"
  18187. },
  18188. "isrecordsource": {
  18189. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  18190. "type": "integer"
  18191. },
  18192. "isreleasemargin": {
  18193. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  18194. "type": "integer"
  18195. },
  18196. "marginformula": {
  18197. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18198. "type": "integer"
  18199. },
  18200. "marginformula2": {
  18201. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  18202. "type": "integer"
  18203. },
  18204. "marketid": {
  18205. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18206. "type": "integer"
  18207. },
  18208. "marketname": {
  18209. "description": "市场名称",
  18210. "type": "string"
  18211. },
  18212. "marketserviceid": {
  18213. "description": "市场服务ID",
  18214. "type": "integer"
  18215. },
  18216. "marketstatus": {
  18217. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18218. "type": "integer"
  18219. },
  18220. "markettype": {
  18221. "description": "市场类型- 1:非交易服务 2:交易服务",
  18222. "type": "integer"
  18223. },
  18224. "matchermode": {
  18225. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  18226. "type": "integer"
  18227. },
  18228. "openmethod": {
  18229. "description": "开盘模式 - 0 自动 1手动",
  18230. "type": "integer"
  18231. },
  18232. "otcuserid": {
  18233. "description": "场外期权做市商[场外期权]",
  18234. "type": "integer"
  18235. },
  18236. "outersynctime": {
  18237. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  18238. "type": "string"
  18239. },
  18240. "pendingflag": {
  18241. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  18242. "type": "integer"
  18243. },
  18244. "pendingtime": {
  18245. "description": "待开市时间[通道交易-对冲](HH:mm)",
  18246. "type": "string"
  18247. },
  18248. "performancetempid": {
  18249. "description": "履约计划模板ID - 作废",
  18250. "type": "integer"
  18251. },
  18252. "premiumquotemode": {
  18253. "description": "权利金报价方式 - 1:自动 2:手动",
  18254. "type": "integer"
  18255. },
  18256. "rebateratio": {
  18257. "description": "返利比率[竞价式]",
  18258. "type": "number"
  18259. },
  18260. "reckonorder": {
  18261. "description": "结算顺序",
  18262. "type": "integer"
  18263. },
  18264. "reckonpricealgorithm": {
  18265. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  18266. "type": "integer"
  18267. },
  18268. "reckonpriceparam": {
  18269. "description": "结算价参数",
  18270. "type": "integer"
  18271. },
  18272. "reckontime": {
  18273. "description": "结算时间[通道交易-对冲](HH:mm)",
  18274. "type": "string"
  18275. },
  18276. "roleprioritytype": {
  18277. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  18278. "type": "integer"
  18279. },
  18280. "selllistingauditflag": {
  18281. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  18282. "type": "integer"
  18283. },
  18284. "trademarkettype": {
  18285. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  18286. "type": "integer"
  18287. },
  18288. "trademode": {
  18289. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18290. "type": "integer"
  18291. },
  18292. "tradeproperty": {
  18293. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  18294. "type": "integer"
  18295. },
  18296. "tradetype": {
  18297. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  18298. "type": "integer"
  18299. }
  18300. }
  18301. },
  18302. "models.Marketrun": {
  18303. "type": "object",
  18304. "required": [
  18305. "marketid",
  18306. "nexttradedate",
  18307. "reckonflag",
  18308. "runstatus",
  18309. "tradedate",
  18310. "tradedate2"
  18311. ],
  18312. "properties": {
  18313. "afternexttradedate": {
  18314. "description": "下下交易日",
  18315. "type": "string"
  18316. },
  18317. "clearquoteflag": {
  18318. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  18319. "type": "integer"
  18320. },
  18321. "lastreckondate": {
  18322. "description": "最新交易日(结算成功)",
  18323. "type": "string"
  18324. },
  18325. "machinedate": {
  18326. "description": "机器时间",
  18327. "type": "string"
  18328. },
  18329. "manualflag": {
  18330. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  18331. "type": "integer"
  18332. },
  18333. "marketid": {
  18334. "description": "市场ID",
  18335. "type": "integer"
  18336. },
  18337. "nexttradedate": {
  18338. "description": "下一交易日",
  18339. "type": "string"
  18340. },
  18341. "pretradedate": {
  18342. "description": "上一交易日",
  18343. "type": "string"
  18344. },
  18345. "reckonflag": {
  18346. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  18347. "type": "integer"
  18348. },
  18349. "runstatus": {
  18350. "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.今日免清算",
  18351. "type": "integer"
  18352. },
  18353. "sectionid": {
  18354. "description": "时间段号[多时段时用]",
  18355. "type": "integer"
  18356. },
  18357. "tradedate": {
  18358. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  18359. "type": "string"
  18360. },
  18361. "tradedate2": {
  18362. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  18363. "type": "string"
  18364. },
  18365. "updatetime": {
  18366. "description": "更新时间",
  18367. "type": "string"
  18368. }
  18369. }
  18370. },
  18371. "models.Messageboard": {
  18372. "type": "object",
  18373. "required": [
  18374. "messageboardid"
  18375. ],
  18376. "properties": {
  18377. "contactnum": {
  18378. "description": "联系电话",
  18379. "type": "string"
  18380. },
  18381. "createtime": {
  18382. "description": "创建时间",
  18383. "type": "string"
  18384. },
  18385. "message": {
  18386. "description": "留言信息",
  18387. "type": "string"
  18388. },
  18389. "messageboardid": {
  18390. "description": "留言簿ID(SEQ_MessageBoard)",
  18391. "type": "integer"
  18392. },
  18393. "userid": {
  18394. "description": "用户ID",
  18395. "type": "integer"
  18396. }
  18397. }
  18398. },
  18399. "models.MyCoupon": {
  18400. "type": "object",
  18401. "required": [
  18402. "accountid",
  18403. "coupontypeid"
  18404. ],
  18405. "properties": {
  18406. "accountid": {
  18407. "description": "资金账户ID",
  18408. "type": "integer"
  18409. },
  18410. "areauserid": {
  18411. "description": "所属机构",
  18412. "type": "integer"
  18413. },
  18414. "conditionvalue": {
  18415. "description": "条件阈值(可为0)",
  18416. "type": "number"
  18417. },
  18418. "couponcategroy": {
  18419. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  18420. "type": "integer"
  18421. },
  18422. "couponname": {
  18423. "description": "优惠券名称",
  18424. "type": "string"
  18425. },
  18426. "coupontypeid": {
  18427. "description": "优惠券类型ID",
  18428. "type": "string"
  18429. },
  18430. "couponvalue": {
  18431. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18432. "type": "number"
  18433. },
  18434. "curfreezeqty": {
  18435. "description": "期末冻结数量",
  18436. "type": "integer"
  18437. },
  18438. "curqty": {
  18439. "description": "期末数量",
  18440. "type": "integer"
  18441. },
  18442. "isgeneral": {
  18443. "description": "是否通用券 - 0:否 1:是",
  18444. "type": "integer"
  18445. },
  18446. "isunusable": {
  18447. "description": "是否不可用",
  18448. "type": "boolean"
  18449. },
  18450. "limitedflag": {
  18451. "description": "是否指定商品 - 0:不限 1:限制",
  18452. "type": "integer"
  18453. },
  18454. "limitedgoodsids": {
  18455. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  18456. "type": "string"
  18457. },
  18458. "orifreezeqty": {
  18459. "description": "期初冻结数量",
  18460. "type": "integer"
  18461. },
  18462. "oriqty": {
  18463. "description": "期初数量",
  18464. "type": "integer"
  18465. },
  18466. "reasontype": {
  18467. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  18468. "type": "integer"
  18469. },
  18470. "todaydecrease": {
  18471. "description": "今日减少",
  18472. "type": "integer"
  18473. },
  18474. "todayincrease": {
  18475. "description": "今日增加",
  18476. "type": "integer"
  18477. },
  18478. "userid": {
  18479. "description": "用户ID",
  18480. "type": "integer"
  18481. },
  18482. "userscope": {
  18483. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  18484. "type": "string"
  18485. }
  18486. }
  18487. },
  18488. "models.MyCouponHold": {
  18489. "type": "object",
  18490. "required": [
  18491. "couponholdid"
  18492. ],
  18493. "properties": {
  18494. "accountid": {
  18495. "description": "资金账户ID",
  18496. "type": "integer"
  18497. },
  18498. "conditionvalue": {
  18499. "description": "条件阈值(可为0)",
  18500. "type": "number"
  18501. },
  18502. "couponcategroy": {
  18503. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  18504. "type": "integer"
  18505. },
  18506. "couponholdid": {
  18507. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  18508. "type": "string"
  18509. },
  18510. "couponname": {
  18511. "description": "优惠券名称",
  18512. "type": "string"
  18513. },
  18514. "coupontypeid": {
  18515. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  18516. "type": "string"
  18517. },
  18518. "couponvalue": {
  18519. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  18520. "type": "number"
  18521. },
  18522. "createtime": {
  18523. "description": "创建时间",
  18524. "type": "string"
  18525. },
  18526. "enddate": {
  18527. "description": "结束日期",
  18528. "type": "string"
  18529. },
  18530. "giveapplyid": {
  18531. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  18532. "type": "integer"
  18533. },
  18534. "holdstatus": {
  18535. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  18536. "type": "integer"
  18537. },
  18538. "isgeneral": {
  18539. "description": "是否通用券 - 0:否 1:是",
  18540. "type": "integer"
  18541. },
  18542. "limitedflag": {
  18543. "description": "是否指定商品 - 0:不限 1:限制",
  18544. "type": "integer"
  18545. },
  18546. "limitedgoodsids": {
  18547. "description": "指定商品IDs[逗号分隔]",
  18548. "type": "string"
  18549. },
  18550. "qty": {
  18551. "description": "数量(按1平铺)",
  18552. "type": "integer"
  18553. },
  18554. "startdate": {
  18555. "description": "开始日期",
  18556. "type": "string"
  18557. },
  18558. "userid": {
  18559. "description": "用户ID",
  18560. "type": "integer"
  18561. },
  18562. "userscope": {
  18563. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  18564. "type": "string"
  18565. }
  18566. }
  18567. },
  18568. "models.MyUsedCoupon": {
  18569. "type": "object",
  18570. "required": [
  18571. "coupontypeid",
  18572. "orderid"
  18573. ],
  18574. "properties": {
  18575. "accountid": {
  18576. "description": "资金账户ID(买方)",
  18577. "type": "integer"
  18578. },
  18579. "conditionvalue": {
  18580. "description": "条件阈值(可为0)",
  18581. "type": "number"
  18582. },
  18583. "couponcategroy": {
  18584. "description": "种类 - 1:现金券 2:折扣券",
  18585. "type": "integer"
  18586. },
  18587. "couponname": {
  18588. "description": "优惠券名称",
  18589. "type": "string"
  18590. },
  18591. "coupontypeid": {
  18592. "description": "优惠券类型ID(买方)",
  18593. "type": "string"
  18594. },
  18595. "couponvalue": {
  18596. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  18597. "type": "number"
  18598. },
  18599. "createtime": {
  18600. "description": "创建时间",
  18601. "type": "string"
  18602. },
  18603. "goodsid": {
  18604. "description": "商品ID",
  18605. "type": "integer"
  18606. },
  18607. "handlestatus": {
  18608. "description": "处理状态",
  18609. "type": "integer"
  18610. },
  18611. "marketid": {
  18612. "description": "市场ID",
  18613. "type": "integer"
  18614. },
  18615. "offamount": {
  18616. "description": "优惠金额",
  18617. "type": "number"
  18618. },
  18619. "orderid": {
  18620. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18621. "type": "string"
  18622. },
  18623. "sellaccountid": {
  18624. "description": "资金账户ID(卖方)",
  18625. "type": "integer"
  18626. },
  18627. "tradeamount": {
  18628. "description": "成交金额",
  18629. "type": "number"
  18630. },
  18631. "tradeid": {
  18632. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18633. "type": "string"
  18634. },
  18635. "usedqty": {
  18636. "description": "使用数量",
  18637. "type": "integer"
  18638. }
  18639. }
  18640. },
  18641. "models.OperationPrimaryMenu": {
  18642. "type": "object",
  18643. "properties": {
  18644. "Children": {
  18645. "description": "二级功能菜单",
  18646. "type": "array",
  18647. "items": {
  18648. "$ref": "#/definitions/models.OperationSecondaryMenu"
  18649. }
  18650. },
  18651. "Key": {
  18652. "description": "菜单KEY",
  18653. "type": "string"
  18654. },
  18655. "Label": {
  18656. "description": "菜单标题",
  18657. "type": "string"
  18658. }
  18659. }
  18660. },
  18661. "models.OperationSecondaryMenu": {
  18662. "type": "object",
  18663. "properties": {
  18664. "Key": {
  18665. "description": "菜单KEY",
  18666. "type": "string"
  18667. },
  18668. "Label": {
  18669. "description": "菜单标题",
  18670. "type": "string"
  18671. },
  18672. "TabList": {
  18673. "description": "三级功能菜单",
  18674. "type": "array",
  18675. "items": {
  18676. "$ref": "#/definitions/models.OperationTabMenu"
  18677. }
  18678. }
  18679. }
  18680. },
  18681. "models.OperationTabMenu": {
  18682. "type": "object",
  18683. "properties": {
  18684. "Key": {
  18685. "description": "菜单KEY",
  18686. "type": "string"
  18687. },
  18688. "Label": {
  18689. "description": "菜单标题",
  18690. "type": "string"
  18691. }
  18692. }
  18693. },
  18694. "models.PendingAuditBizModel": {
  18695. "type": "object",
  18696. "properties": {
  18697. "accountid": {
  18698. "description": "现货账户",
  18699. "type": "string"
  18700. },
  18701. "areaname": {
  18702. "description": "所属部门",
  18703. "type": "string"
  18704. },
  18705. "bizid": {
  18706. "description": "业务ID",
  18707. "type": "string"
  18708. },
  18709. "bizname": {
  18710. "description": "业务名称",
  18711. "type": "string"
  18712. },
  18713. "status": {
  18714. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  18715. "type": "integer"
  18716. },
  18717. "type": {
  18718. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  18719. "type": "integer"
  18720. }
  18721. }
  18722. },
  18723. "models.QueryErrorInfosRsp": {
  18724. "type": "object",
  18725. "required": [
  18726. "errorid"
  18727. ],
  18728. "properties": {
  18729. "description": {
  18730. "description": "异常描述",
  18731. "type": "string"
  18732. },
  18733. "errorcode": {
  18734. "description": "异常代码",
  18735. "type": "string"
  18736. },
  18737. "errorid": {
  18738. "description": "异常ID",
  18739. "type": "integer"
  18740. },
  18741. "modulecode": {
  18742. "description": "所属模块",
  18743. "type": "string"
  18744. },
  18745. "operatecode": {
  18746. "description": "所属操作",
  18747. "type": "string"
  18748. },
  18749. "rownumber": {
  18750. "description": "行号",
  18751. "type": "string"
  18752. }
  18753. }
  18754. },
  18755. "models.QueryHedgeOrderDetailRsp": {
  18756. "type": "object",
  18757. "properties": {
  18758. "accountid": {
  18759. "description": "账户ID",
  18760. "type": "integer"
  18761. },
  18762. "buyorsell": {
  18763. "description": "买卖 - 0:买 1:卖",
  18764. "type": "integer"
  18765. },
  18766. "cancellogincode": {
  18767. "description": "撤单人",
  18768. "type": "string"
  18769. },
  18770. "channelbuildtype": {
  18771. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  18772. "type": "integer"
  18773. },
  18774. "channelinnerorderstatus": {
  18775. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  18776. "type": "integer"
  18777. },
  18778. "channeloperatetype": {
  18779. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  18780. "type": "integer"
  18781. },
  18782. "closetype": {
  18783. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18784. "type": "integer"
  18785. },
  18786. "curexchangerate": {
  18787. "description": "当前汇率",
  18788. "type": "number"
  18789. },
  18790. "exchangefullname": {
  18791. "description": "外部交易所全称",
  18792. "type": "string"
  18793. },
  18794. "goodscode": {
  18795. "description": "商品代码(内部)",
  18796. "type": "string"
  18797. },
  18798. "goodsid": {
  18799. "description": "商品ID",
  18800. "type": "integer"
  18801. },
  18802. "goodsname": {
  18803. "description": "商品名称",
  18804. "type": "string"
  18805. },
  18806. "marketid": {
  18807. "description": "市场ID",
  18808. "type": "integer"
  18809. },
  18810. "openfreezemargin": {
  18811. "description": "冻结保证金(冻结交易金额)",
  18812. "type": "number"
  18813. },
  18814. "orderid": {
  18815. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18816. "type": "string"
  18817. },
  18818. "orderlogincode": {
  18819. "description": "委托人",
  18820. "type": "string"
  18821. },
  18822. "orderprice": {
  18823. "description": "委托价格(账户)",
  18824. "type": "number"
  18825. },
  18826. "orderqty": {
  18827. "description": "委托数量",
  18828. "type": "integer"
  18829. },
  18830. "ordertime": {
  18831. "description": "委托时间",
  18832. "type": "string"
  18833. },
  18834. "pricemode": {
  18835. "description": "取价方式 - 1:市价 2: 限价",
  18836. "type": "integer"
  18837. },
  18838. "tradedate": {
  18839. "description": "交易日(yyyyMMdd)",
  18840. "type": "string"
  18841. },
  18842. "tradeqty": {
  18843. "description": "成交数量",
  18844. "type": "integer"
  18845. }
  18846. }
  18847. },
  18848. "models.QueryHedgeTradeDetailRsp": {
  18849. "type": "object",
  18850. "properties": {
  18851. "accountid": {
  18852. "description": "账号ID",
  18853. "type": "integer"
  18854. },
  18855. "buyorsell": {
  18856. "description": "方向 - 0:买 1:卖",
  18857. "type": "integer"
  18858. },
  18859. "channelbuildtype": {
  18860. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18861. "type": "integer"
  18862. },
  18863. "closecharge": {
  18864. "description": "平仓手续费(账户)",
  18865. "type": "number"
  18866. },
  18867. "closecharge2": {
  18868. "description": "平仓手续费(商品)",
  18869. "type": "number"
  18870. },
  18871. "closepl": {
  18872. "description": "平仓盈亏(账户)",
  18873. "type": "number"
  18874. },
  18875. "closepl2": {
  18876. "description": "平仓盈亏(商品)",
  18877. "type": "number"
  18878. },
  18879. "closepl3": {
  18880. "description": "平仓盈亏(账户)(逐笔)",
  18881. "type": "number"
  18882. },
  18883. "closepl4": {
  18884. "description": "平仓盈亏(商品)(逐笔)",
  18885. "type": "number"
  18886. },
  18887. "closetype": {
  18888. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18889. "type": "integer"
  18890. },
  18891. "curexchangerate": {
  18892. "description": "当前汇率",
  18893. "type": "number"
  18894. },
  18895. "exchangefullname": {
  18896. "description": "外部交易所全称",
  18897. "type": "string"
  18898. },
  18899. "goodscode": {
  18900. "description": "商品代码(内部)",
  18901. "type": "string"
  18902. },
  18903. "goodsid": {
  18904. "description": "商品ID",
  18905. "type": "integer"
  18906. },
  18907. "goodsname": {
  18908. "description": "商品名称",
  18909. "type": "string"
  18910. },
  18911. "marketid": {
  18912. "description": "市场ID",
  18913. "type": "integer"
  18914. },
  18915. "opencharge": {
  18916. "description": "建仓手续费(账户)",
  18917. "type": "number"
  18918. },
  18919. "opencharge2": {
  18920. "description": "建仓手续费(商品)",
  18921. "type": "number"
  18922. },
  18923. "orderid": {
  18924. "description": "委托单号",
  18925. "type": "string"
  18926. },
  18927. "orderlogincode": {
  18928. "description": "委托人",
  18929. "type": "string"
  18930. },
  18931. "tradeamount": {
  18932. "description": "成交金额(账户)",
  18933. "type": "number"
  18934. },
  18935. "tradedate": {
  18936. "description": "交易日(yyyyMMdd)",
  18937. "type": "string"
  18938. },
  18939. "tradeid": {
  18940. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18941. "type": "string"
  18942. },
  18943. "tradeprice": {
  18944. "description": "成交价格",
  18945. "type": "number"
  18946. },
  18947. "tradeqty": {
  18948. "description": "成交数量",
  18949. "type": "integer"
  18950. },
  18951. "tradetime": {
  18952. "description": "成交时间",
  18953. "type": "string"
  18954. },
  18955. "tradetype": {
  18956. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18957. "type": "integer"
  18958. }
  18959. }
  18960. },
  18961. "models.QuotePrimaryMenu": {
  18962. "type": "object",
  18963. "properties": {
  18964. "Index": {
  18965. "description": "序号",
  18966. "type": "integer"
  18967. },
  18968. "Key": {
  18969. "description": "键名",
  18970. "type": "string"
  18971. },
  18972. "Name": {
  18973. "description": "菜单名称",
  18974. "type": "string"
  18975. },
  18976. "SubMenus": {
  18977. "description": "子菜单",
  18978. "type": "array",
  18979. "items": {
  18980. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18981. }
  18982. },
  18983. "SubTitleType": {
  18984. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18985. "type": "integer"
  18986. },
  18987. "TradeModes": {
  18988. "description": "包含市场交易类型",
  18989. "type": "string"
  18990. }
  18991. }
  18992. },
  18993. "models.QuoteSecondaryMenu": {
  18994. "type": "object",
  18995. "properties": {
  18996. "ExExchangeCode": {
  18997. "description": "外部交易所代码",
  18998. "type": "string"
  18999. },
  19000. "ExExchangeID": {
  19001. "description": "外部交易所ID",
  19002. "type": "integer"
  19003. },
  19004. "GoodsGroupIDs": {
  19005. "description": "商品组ID列表",
  19006. "type": "array",
  19007. "items": {
  19008. "type": "integer"
  19009. }
  19010. },
  19011. "Index": {
  19012. "description": "序号",
  19013. "type": "integer"
  19014. },
  19015. "MarketID": {
  19016. "description": "市场ID",
  19017. "type": "integer"
  19018. },
  19019. "MenuTitle": {
  19020. "description": "菜单标题(市场名称或外部交易所名称)",
  19021. "type": "string"
  19022. },
  19023. "TradeMode": {
  19024. "description": "交易模式",
  19025. "type": "integer"
  19026. }
  19027. }
  19028. },
  19029. "models.SearchGoods": {
  19030. "type": "object",
  19031. "required": [
  19032. "goodscode",
  19033. "goodsid",
  19034. "goodsname",
  19035. "marketid",
  19036. "trademode"
  19037. ],
  19038. "properties": {
  19039. "goodscode": {
  19040. "description": "商品代码(内部)",
  19041. "type": "string"
  19042. },
  19043. "goodsid": {
  19044. "description": "商品ID(自增ID SEQ_GOODS)",
  19045. "type": "integer"
  19046. },
  19047. "goodsname": {
  19048. "description": "商品名称",
  19049. "type": "string"
  19050. },
  19051. "marketid": {
  19052. "description": "所属市场ID",
  19053. "type": "integer"
  19054. },
  19055. "marketname": {
  19056. "description": "市场名称",
  19057. "type": "string"
  19058. },
  19059. "trademode": {
  19060. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19061. "type": "integer"
  19062. }
  19063. }
  19064. },
  19065. "models.Systemparam": {
  19066. "type": "object",
  19067. "required": [
  19068. "paramcode"
  19069. ],
  19070. "properties": {
  19071. "loginid": {
  19072. "description": "更新用户账号,登录账号",
  19073. "type": "string"
  19074. },
  19075. "modifyflag": {
  19076. "description": "修改标志0 不允许修改 1 允许修改",
  19077. "type": "integer"
  19078. },
  19079. "paramcode": {
  19080. "description": "参数代码",
  19081. "type": "string"
  19082. },
  19083. "paramname": {
  19084. "description": "参数名",
  19085. "type": "string"
  19086. },
  19087. "paramtype": {
  19088. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  19089. "type": "integer"
  19090. },
  19091. "paramvalue": {
  19092. "description": "参数值",
  19093. "type": "string"
  19094. },
  19095. "paramvalue2": {
  19096. "description": "参数值(CLOB)",
  19097. "type": "string"
  19098. },
  19099. "regexpress": {
  19100. "description": "正则表达式",
  19101. "type": "string"
  19102. },
  19103. "remark": {
  19104. "description": "备注",
  19105. "type": "string"
  19106. },
  19107. "serverip": {
  19108. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  19109. "type": "string"
  19110. },
  19111. "showflag": {
  19112. "description": "是否显示0 不显示 1 显示",
  19113. "type": "integer"
  19114. },
  19115. "updatetime": {
  19116. "description": "更新时间",
  19117. "type": "string"
  19118. },
  19119. "userid": {
  19120. "description": "更新用户ID",
  19121. "type": "integer"
  19122. }
  19123. }
  19124. },
  19125. "models.Szdz3convertconfig": {
  19126. "type": "object",
  19127. "required": [
  19128. "converttype",
  19129. "innergoodsid",
  19130. "outergoodscode"
  19131. ],
  19132. "properties": {
  19133. "canin": {
  19134. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  19135. "type": "integer"
  19136. },
  19137. "canout": {
  19138. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  19139. "type": "integer"
  19140. },
  19141. "converttype": {
  19142. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  19143. "type": "integer"
  19144. },
  19145. "createtime": {
  19146. "description": "创建时间",
  19147. "type": "string"
  19148. },
  19149. "creatorid": {
  19150. "description": "创建人",
  19151. "type": "integer"
  19152. },
  19153. "daymaxvalue": {
  19154. "description": "当日最大转入限制",
  19155. "type": "number"
  19156. },
  19157. "freezedays": {
  19158. "description": "冻结天数 [5:花生米转交易]",
  19159. "type": "integer"
  19160. },
  19161. "innergoodsid": {
  19162. "description": "内部商品ID[交易]",
  19163. "type": "integer"
  19164. },
  19165. "inratio": {
  19166. "description": "目标值",
  19167. "type": "integer"
  19168. },
  19169. "modifierid": {
  19170. "description": "修改人",
  19171. "type": "integer"
  19172. },
  19173. "modifytime": {
  19174. "description": "修改时间",
  19175. "type": "string"
  19176. },
  19177. "outergoodscode": {
  19178. "description": "外部商品代码[JD\\PD]",
  19179. "type": "string"
  19180. },
  19181. "outratio": {
  19182. "description": "源值",
  19183. "type": "integer"
  19184. },
  19185. "pddecimalplace": {
  19186. "description": "PD小数位",
  19187. "type": "integer"
  19188. },
  19189. "timemaxvalue": {
  19190. "description": "单次最大转入限制",
  19191. "type": "number"
  19192. },
  19193. "timeminvalue": {
  19194. "description": "单次最小转入限制",
  19195. "type": "number"
  19196. }
  19197. }
  19198. },
  19199. "models.Szdz3searchwhitelist": {
  19200. "type": "object",
  19201. "required": [
  19202. "userid"
  19203. ],
  19204. "properties": {
  19205. "createtime": {
  19206. "description": "创建时间",
  19207. "type": "string"
  19208. },
  19209. "creatorid": {
  19210. "description": "创建人",
  19211. "type": "integer"
  19212. },
  19213. "modifierid": {
  19214. "description": "修改人",
  19215. "type": "integer"
  19216. },
  19217. "modifytime": {
  19218. "description": "修改时间",
  19219. "type": "string"
  19220. },
  19221. "userid": {
  19222. "description": "用户ID",
  19223. "type": "integer"
  19224. }
  19225. }
  19226. },
  19227. "models.Taaccount": {
  19228. "type": "object",
  19229. "required": [
  19230. "accountid",
  19231. "userid"
  19232. ],
  19233. "properties": {
  19234. "accountflag": {
  19235. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  19236. "type": "integer"
  19237. },
  19238. "accountid": {
  19239. "description": "资金账户ID",
  19240. "type": "integer"
  19241. },
  19242. "accountname": {
  19243. "description": "账户名称",
  19244. "type": "string"
  19245. },
  19246. "balance": {
  19247. "description": "期初余额",
  19248. "type": "number"
  19249. },
  19250. "capitalbalance": {
  19251. "description": "本金余额[外部子账户实际出入金余额]",
  19252. "type": "number"
  19253. },
  19254. "changeflag": {
  19255. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  19256. "type": "integer"
  19257. },
  19258. "changetime": {
  19259. "description": "账户状态变更时间",
  19260. "type": "string"
  19261. },
  19262. "closepl": {
  19263. "description": "今日平仓盈亏",
  19264. "type": "number"
  19265. },
  19266. "creditdecrease": {
  19267. "description": "今日授信减少",
  19268. "type": "number"
  19269. },
  19270. "creditincrease": {
  19271. "description": "今日授信增加",
  19272. "type": "number"
  19273. },
  19274. "currencyid": {
  19275. "description": "货币ID",
  19276. "type": "integer"
  19277. },
  19278. "currentbalance": {
  19279. "description": "期末余额",
  19280. "type": "number"
  19281. },
  19282. "freezecharge": {
  19283. "description": "手续费冻结",
  19284. "type": "number"
  19285. },
  19286. "freezemargin": {
  19287. "description": "冻结保证金",
  19288. "type": "number"
  19289. },
  19290. "fromaccountid": {
  19291. "description": "所属上级账户",
  19292. "type": "integer"
  19293. },
  19294. "inamount": {
  19295. "description": "今日入金金额(包括三方入金)",
  19296. "type": "number"
  19297. },
  19298. "ismain": {
  19299. "description": "是否母账号 0:不是母账户 1:是母账户",
  19300. "type": "integer"
  19301. },
  19302. "ismarketaccount": {
  19303. "description": "是否机构接单账号 0:不是 1:是",
  19304. "type": "integer"
  19305. },
  19306. "isreckonaccount": {
  19307. "description": "是否机构分润账号 0:不是 1:是",
  19308. "type": "integer"
  19309. },
  19310. "mortgagecredit": {
  19311. "description": "授信金额",
  19312. "type": "number"
  19313. },
  19314. "orifreezecharge": {
  19315. "description": "期初手续费冻结",
  19316. "type": "number"
  19317. },
  19318. "orifreezemargin": {
  19319. "description": "期初冻结保证金",
  19320. "type": "number"
  19321. },
  19322. "orimortgagecredit": {
  19323. "description": "期初授信金额",
  19324. "type": "number"
  19325. },
  19326. "oriothercredit": {
  19327. "description": "期初其它授信金额",
  19328. "type": "number"
  19329. },
  19330. "oriotherfreezemargin": {
  19331. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  19332. "type": "number"
  19333. },
  19334. "orioutamountfreeze": {
  19335. "description": "期初出金冻结",
  19336. "type": "number"
  19337. },
  19338. "oriusedmargin": {
  19339. "description": "期初占用保证金",
  19340. "type": "number"
  19341. },
  19342. "othercredit": {
  19343. "description": "其它授信金额",
  19344. "type": "number"
  19345. },
  19346. "othercreditdecrease": {
  19347. "description": "今日其它授信减少",
  19348. "type": "number"
  19349. },
  19350. "othercreditincrease": {
  19351. "description": "今日其它授信增加",
  19352. "type": "number"
  19353. },
  19354. "otherfreezemargin": {
  19355. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  19356. "type": "number"
  19357. },
  19358. "otherincome": {
  19359. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  19360. "type": "number"
  19361. },
  19362. "otherpay": {
  19363. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  19364. "type": "number"
  19365. },
  19366. "outamount": {
  19367. "description": "今日出金金额(包括三方出金)",
  19368. "type": "number"
  19369. },
  19370. "outamountfreeze": {
  19371. "description": "出金冻结",
  19372. "type": "number"
  19373. },
  19374. "outthreshold": {
  19375. "description": "出金阈值",
  19376. "type": "number"
  19377. },
  19378. "parentaccountid": {
  19379. "description": "所属根账号",
  19380. "type": "integer"
  19381. },
  19382. "paycharge": {
  19383. "description": "今日手续费支出",
  19384. "type": "number"
  19385. },
  19386. "relatedaccountstatus": {
  19387. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  19388. "type": "integer"
  19389. },
  19390. "relateduserid": {
  19391. "description": "关联用户",
  19392. "type": "integer"
  19393. },
  19394. "serivcegroup": {
  19395. "description": "服务分组",
  19396. "type": "integer"
  19397. },
  19398. "signstatus": {
  19399. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  19400. "type": "integer"
  19401. },
  19402. "sublevelpath": {
  19403. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  19404. "type": "string"
  19405. },
  19406. "taaccounttype": {
  19407. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  19408. "type": "integer"
  19409. },
  19410. "thirdinamount": {
  19411. "description": "今日三方入金",
  19412. "type": "number"
  19413. },
  19414. "thirdoutamount": {
  19415. "description": "今日三方出金",
  19416. "type": "number"
  19417. },
  19418. "tradestatus": {
  19419. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  19420. "type": "integer"
  19421. },
  19422. "tradestatuschangetime": {
  19423. "description": "激活时间",
  19424. "type": "string"
  19425. },
  19426. "transferamount": {
  19427. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  19428. "type": "number"
  19429. },
  19430. "usedmargin": {
  19431. "description": "占用保证金",
  19432. "type": "number"
  19433. },
  19434. "userid": {
  19435. "description": "用户ID",
  19436. "type": "integer"
  19437. }
  19438. }
  19439. },
  19440. "models.Tablecolumnconfig": {
  19441. "type": "object",
  19442. "required": [
  19443. "autoid"
  19444. ],
  19445. "properties": {
  19446. "aligntype": {
  19447. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  19448. "type": "integer"
  19449. },
  19450. "autoid": {
  19451. "description": "AutoID",
  19452. "type": "integer"
  19453. },
  19454. "columnfield": {
  19455. "description": "列字段",
  19456. "type": "string"
  19457. },
  19458. "columntitle": {
  19459. "description": "列Title",
  19460. "type": "string"
  19461. },
  19462. "columnwidth": {
  19463. "description": "列宽",
  19464. "type": "string"
  19465. },
  19466. "formatterstring": {
  19467. "description": "格式化字符",
  19468. "type": "string"
  19469. },
  19470. "formattertype": {
  19471. "description": "格式化类型",
  19472. "type": "string"
  19473. },
  19474. "groupname": {
  19475. "description": "表头分组名称",
  19476. "type": "string"
  19477. },
  19478. "isshow": {
  19479. "description": "是否显示 - 0:不显示 1:显示",
  19480. "type": "integer"
  19481. },
  19482. "needsummary": {
  19483. "description": "是否需要汇总 - 0:不需要 1:需要",
  19484. "type": "integer"
  19485. },
  19486. "orderindex": {
  19487. "description": "顺序",
  19488. "type": "integer"
  19489. },
  19490. "remark": {
  19491. "description": "备注",
  19492. "type": "string"
  19493. },
  19494. "summarytype": {
  19495. "description": "汇总类型 - 1:加总 2:最后一个",
  19496. "type": "integer"
  19497. },
  19498. "tablekey": {
  19499. "description": "列表Key",
  19500. "type": "string"
  19501. }
  19502. }
  19503. },
  19504. "models.Useraccount": {
  19505. "type": "object",
  19506. "required": [
  19507. "userid"
  19508. ],
  19509. "properties": {
  19510. "accountname": {
  19511. "description": "账户名称(机构名称)",
  19512. "type": "string"
  19513. },
  19514. "accountstatus": {
  19515. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19516. "type": "integer"
  19517. },
  19518. "auditremark": {
  19519. "description": "审核备注",
  19520. "type": "string"
  19521. },
  19522. "audittime": {
  19523. "description": "审核时间",
  19524. "type": "string"
  19525. },
  19526. "audituserid": {
  19527. "description": "审核人",
  19528. "type": "integer"
  19529. },
  19530. "broker": {
  19531. "description": "所属经纪人ID",
  19532. "type": "integer"
  19533. },
  19534. "canceltime": {
  19535. "description": "销户时间",
  19536. "type": "string"
  19537. },
  19538. "canceluserid": {
  19539. "description": "销户人",
  19540. "type": "integer"
  19541. },
  19542. "createtime": {
  19543. "description": "创建时间",
  19544. "type": "string"
  19545. },
  19546. "creatorid": {
  19547. "description": "创建人",
  19548. "type": "integer"
  19549. },
  19550. "hasauth": {
  19551. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  19552. "type": "integer"
  19553. },
  19554. "isanonymous": {
  19555. "description": "是否匿名下单 - 0:否 1:是",
  19556. "type": "integer"
  19557. },
  19558. "maxinvestornum": {
  19559. "description": "最大用户数(经纪会员下投资者个数)",
  19560. "type": "integer"
  19561. },
  19562. "memberuserid": {
  19563. "description": "所属会员ID",
  19564. "type": "integer"
  19565. },
  19566. "modifierid": {
  19567. "description": "修改人",
  19568. "type": "integer"
  19569. },
  19570. "modifyremark": {
  19571. "description": "变更备注",
  19572. "type": "string"
  19573. },
  19574. "modifystatus": {
  19575. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  19576. "type": "integer"
  19577. },
  19578. "modifytime": {
  19579. "description": "修改时间",
  19580. "type": "string"
  19581. },
  19582. "parentuserid": {
  19583. "description": "所属机构ID",
  19584. "type": "integer"
  19585. },
  19586. "reckonaccountid": {
  19587. "description": "默认结算资金账号ID(机构分润使用) 作废",
  19588. "type": "integer"
  19589. },
  19590. "refercount": {
  19591. "description": "推荐总人数",
  19592. "type": "integer"
  19593. },
  19594. "refereeuserid": {
  19595. "description": "推荐人ID",
  19596. "type": "integer"
  19597. },
  19598. "refernum": {
  19599. "description": "推荐码",
  19600. "type": "string"
  19601. },
  19602. "subarealevelpath": {
  19603. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  19604. "type": "string"
  19605. },
  19606. "userid": {
  19607. "description": "用户ID",
  19608. "type": "integer"
  19609. },
  19610. "usertype": {
  19611. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19612. "type": "integer"
  19613. }
  19614. }
  19615. },
  19616. "models.Userfavoritegoods": {
  19617. "type": "object",
  19618. "required": [
  19619. "goodsid"
  19620. ],
  19621. "properties": {
  19622. "goodsid": {
  19623. "description": "商品ID",
  19624. "type": "integer"
  19625. }
  19626. }
  19627. },
  19628. "models.Userinfo": {
  19629. "type": "object",
  19630. "required": [
  19631. "userid"
  19632. ],
  19633. "properties": {
  19634. "address": {
  19635. "description": "地址",
  19636. "type": "string"
  19637. },
  19638. "attachment1": {
  19639. "description": "附件1",
  19640. "type": "string"
  19641. },
  19642. "attachment2": {
  19643. "description": "附件2",
  19644. "type": "string"
  19645. },
  19646. "bankaccount": {
  19647. "description": "银行帐号 (加密存储)",
  19648. "type": "string"
  19649. },
  19650. "bankaccountname": {
  19651. "description": "收款人名称",
  19652. "type": "string"
  19653. },
  19654. "bankcardfrontphotourl": {
  19655. "description": "银行卡正面照地址",
  19656. "type": "string"
  19657. },
  19658. "bankid": {
  19659. "description": "银行编码",
  19660. "type": "string"
  19661. },
  19662. "bankname": {
  19663. "description": "银行名称",
  19664. "type": "string"
  19665. },
  19666. "biznature": {
  19667. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19668. "type": "integer"
  19669. },
  19670. "bizscope": {
  19671. "description": "企业经营范围(企业)",
  19672. "type": "string"
  19673. },
  19674. "cardbackphotourl": {
  19675. "description": "证件背面图片地址",
  19676. "type": "string"
  19677. },
  19678. "cardfrontphotourl": {
  19679. "description": "证件正面图片地址",
  19680. "type": "string"
  19681. },
  19682. "cardnum": {
  19683. "description": "证件号码(加密存储)",
  19684. "type": "string"
  19685. },
  19686. "cardtypeid": {
  19687. "description": "证件类型ID",
  19688. "type": "integer"
  19689. },
  19690. "cityid": {
  19691. "description": "市",
  19692. "type": "integer"
  19693. },
  19694. "company": {
  19695. "description": "公司(个人)",
  19696. "type": "string"
  19697. },
  19698. "contactname": {
  19699. "description": "联系人",
  19700. "type": "string"
  19701. },
  19702. "countryid": {
  19703. "description": "国家",
  19704. "type": "integer"
  19705. },
  19706. "createtime": {
  19707. "description": "创建时间",
  19708. "type": "string"
  19709. },
  19710. "creatorid": {
  19711. "description": "创建人",
  19712. "type": "integer"
  19713. },
  19714. "customername": {
  19715. "description": "客户名称(企业名称)",
  19716. "type": "string"
  19717. },
  19718. "districtid": {
  19719. "description": "地区",
  19720. "type": "integer"
  19721. },
  19722. "email": {
  19723. "description": "邮件(加密存储)",
  19724. "type": "string"
  19725. },
  19726. "fax": {
  19727. "description": "传真(加密存储)",
  19728. "type": "string"
  19729. },
  19730. "halfbodyphotourl": {
  19731. "description": "半身照地址",
  19732. "type": "string"
  19733. },
  19734. "hasencrypt": {
  19735. "description": "数据是否已加密 - 0:未加密 1:已加密",
  19736. "type": "integer"
  19737. },
  19738. "headurl": {
  19739. "description": "头像地址",
  19740. "type": "string"
  19741. },
  19742. "legalcardbackphotourl": {
  19743. "description": "法人身份证背面照地址",
  19744. "type": "string"
  19745. },
  19746. "legalcardfrontphotourl": {
  19747. "description": "法人身份证正面照地址",
  19748. "type": "string"
  19749. },
  19750. "legalpersonname": {
  19751. "description": "法人姓名(企业)",
  19752. "type": "string"
  19753. },
  19754. "mobile": {
  19755. "description": "手机号码(加密存储)",
  19756. "type": "string"
  19757. },
  19758. "mobile2": {
  19759. "description": "手机号码[明文-尚志]",
  19760. "type": "string"
  19761. },
  19762. "modifierid": {
  19763. "description": "修改人",
  19764. "type": "integer"
  19765. },
  19766. "modifiertime": {
  19767. "description": "修改时间",
  19768. "type": "string"
  19769. },
  19770. "needinvoice": {
  19771. "description": "是否需要发票 - 0:不需要 1:需要",
  19772. "type": "integer"
  19773. },
  19774. "nickname": {
  19775. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  19776. "type": "string"
  19777. },
  19778. "openmode": {
  19779. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  19780. "type": "integer"
  19781. },
  19782. "otherurl": {
  19783. "description": "其它图片地址[使用分号分隔]",
  19784. "type": "string"
  19785. },
  19786. "postalcode": {
  19787. "description": "邮政编码",
  19788. "type": "string"
  19789. },
  19790. "provinceid": {
  19791. "description": "省",
  19792. "type": "integer"
  19793. },
  19794. "qq": {
  19795. "description": "QQ(加密存储",
  19796. "type": "string"
  19797. },
  19798. "remark": {
  19799. "description": "备注",
  19800. "type": "string"
  19801. },
  19802. "sex": {
  19803. "description": "用户性别 0: 女 1: 男",
  19804. "type": "integer"
  19805. },
  19806. "signpdfurl": {
  19807. "description": "签约pdf文件",
  19808. "type": "string"
  19809. },
  19810. "telphone": {
  19811. "description": "联系电话(加密存储)",
  19812. "type": "string"
  19813. },
  19814. "userid": {
  19815. "description": "用户ID",
  19816. "type": "integer"
  19817. },
  19818. "userinfotype": {
  19819. "description": "用户信息类型 - 1:个人 2:企业",
  19820. "type": "integer"
  19821. },
  19822. "userstatus": {
  19823. "description": "用户状态 - 1:正常 2:注销",
  19824. "type": "integer"
  19825. },
  19826. "usertype": {
  19827. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  19828. "type": "integer"
  19829. },
  19830. "wechat": {
  19831. "description": "微信(加密存储)",
  19832. "type": "string"
  19833. },
  19834. "wskhinfo": {
  19835. "description": "开户申请信息(JSON)",
  19836. "type": "string"
  19837. }
  19838. }
  19839. },
  19840. "models.WRSConverTDetail": {
  19841. "type": "object",
  19842. "properties": {
  19843. "convertratio": {
  19844. "description": "套保系数",
  19845. "type": "number"
  19846. },
  19847. "deliverygoodscode": {
  19848. "description": "现货商品代码",
  19849. "type": "string"
  19850. },
  19851. "deliverygoodsid": {
  19852. "description": "现货品种ID",
  19853. "type": "integer"
  19854. },
  19855. "deliverygoodsname": {
  19856. "description": "现货商品名称",
  19857. "type": "string"
  19858. },
  19859. "enumdicname": {
  19860. "description": "单位名称",
  19861. "type": "string"
  19862. },
  19863. "goodsunitid": {
  19864. "description": "套保品种单位id",
  19865. "type": "integer"
  19866. },
  19867. "middlegoodscode": {
  19868. "description": "套保品种代码",
  19869. "type": "string"
  19870. },
  19871. "middlegoodsid": {
  19872. "description": "套保品种ID",
  19873. "type": "integer"
  19874. },
  19875. "middlegoodsname": {
  19876. "description": "套保品种名称",
  19877. "type": "string"
  19878. },
  19879. "modifytime": {
  19880. "description": "修改时间",
  19881. "type": "string"
  19882. },
  19883. "wrstandardid": {
  19884. "description": "品类ID",
  19885. "type": "integer"
  19886. }
  19887. }
  19888. },
  19889. "models.WRStandardInfo": {
  19890. "type": "object",
  19891. "required": [
  19892. "wrstandardid"
  19893. ],
  19894. "properties": {
  19895. "areauserid": {
  19896. "description": "所属机构",
  19897. "type": "integer"
  19898. },
  19899. "convertfactor": {
  19900. "description": "标仓系数",
  19901. "type": "number"
  19902. },
  19903. "createtime": {
  19904. "description": "创建时间",
  19905. "type": "string"
  19906. },
  19907. "creatorid": {
  19908. "description": "创建人",
  19909. "type": "integer"
  19910. },
  19911. "deliverygoodsid": {
  19912. "description": "品种ID",
  19913. "type": "integer"
  19914. },
  19915. "deliverygoodsname": {
  19916. "description": "交割商品名称",
  19917. "type": "string"
  19918. },
  19919. "factoryitemjson": {
  19920. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19921. "type": "string"
  19922. },
  19923. "isvalid": {
  19924. "description": "是否有效 - 0:无效 1:有效",
  19925. "type": "integer"
  19926. },
  19927. "minivalue": {
  19928. "description": "最小变动值",
  19929. "type": "integer"
  19930. },
  19931. "minivaluedp": {
  19932. "description": "最小变动值小数位",
  19933. "type": "integer"
  19934. },
  19935. "realminivalue": {
  19936. "description": "实际最小变动值",
  19937. "type": "integer"
  19938. },
  19939. "realminivaluedp": {
  19940. "description": "实际最小变动值小数位",
  19941. "type": "integer"
  19942. },
  19943. "remark": {
  19944. "description": "备注",
  19945. "type": "string"
  19946. },
  19947. "unitid": {
  19948. "description": "单位ID",
  19949. "type": "integer"
  19950. },
  19951. "unitname": {
  19952. "description": "单位",
  19953. "type": "string"
  19954. },
  19955. "updatetime": {
  19956. "description": "更新时间",
  19957. "type": "string"
  19958. },
  19959. "updatorid": {
  19960. "description": "更新人",
  19961. "type": "integer"
  19962. },
  19963. "wrsstatus": {
  19964. "description": "状态 - 作废 - 0:未激活 1:正常",
  19965. "type": "integer"
  19966. },
  19967. "wrstandardcode": {
  19968. "description": "现货品类代码",
  19969. "type": "string"
  19970. },
  19971. "wrstandardid": {
  19972. "description": "现货品类ID(SEQ_WRSTANDARD)",
  19973. "type": "integer"
  19974. },
  19975. "wrstandardname": {
  19976. "description": "现货品类名称",
  19977. "type": "string"
  19978. }
  19979. }
  19980. },
  19981. "models.Warehouseinfo": {
  19982. "type": "object",
  19983. "required": [
  19984. "autoid",
  19985. "warehousecode"
  19986. ],
  19987. "properties": {
  19988. "address": {
  19989. "description": "详细地址",
  19990. "type": "string"
  19991. },
  19992. "areauserid": {
  19993. "description": "所属机构",
  19994. "type": "integer"
  19995. },
  19996. "autoid": {
  19997. "description": "自增ID",
  19998. "type": "integer"
  19999. },
  20000. "cityid": {
  20001. "description": "市",
  20002. "type": "integer"
  20003. },
  20004. "contactname": {
  20005. "description": "联系人",
  20006. "type": "string"
  20007. },
  20008. "contactnum": {
  20009. "description": "联系电话",
  20010. "type": "string"
  20011. },
  20012. "countryid": {
  20013. "description": "国家",
  20014. "type": "integer"
  20015. },
  20016. "createtime": {
  20017. "description": "创建时间",
  20018. "type": "string"
  20019. },
  20020. "districtid": {
  20021. "description": "区",
  20022. "type": "integer"
  20023. },
  20024. "hasvideo": {
  20025. "description": "是否有视频 - 0:无 1:有",
  20026. "type": "integer"
  20027. },
  20028. "provinceid": {
  20029. "description": "省",
  20030. "type": "integer"
  20031. },
  20032. "remark": {
  20033. "description": "审核备注",
  20034. "type": "string"
  20035. },
  20036. "videourl": {
  20037. "description": "视频地址",
  20038. "type": "string"
  20039. },
  20040. "warehousecode": {
  20041. "description": "仓库代码",
  20042. "type": "string"
  20043. },
  20044. "warehousename": {
  20045. "description": "仓库名称",
  20046. "type": "string"
  20047. },
  20048. "warehousestatus": {
  20049. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20050. "type": "integer"
  20051. },
  20052. "warehousetype": {
  20053. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20054. "type": "integer"
  20055. }
  20056. }
  20057. },
  20058. "order.QueryHisTradeDetailRsp": {
  20059. "type": "object",
  20060. "required": [
  20061. "accountid",
  20062. "buyorsell",
  20063. "goodsid",
  20064. "histradedate",
  20065. "marketid",
  20066. "memberuserid",
  20067. "orderid",
  20068. "tradeamount",
  20069. "tradedate",
  20070. "tradeid",
  20071. "tradeprice",
  20072. "tradeqty",
  20073. "tradetime"
  20074. ],
  20075. "properties": {
  20076. "accountid": {
  20077. "description": "账户ID[报价币种]",
  20078. "type": "integer"
  20079. },
  20080. "buildtype": {
  20081. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20082. "type": "integer"
  20083. },
  20084. "buyorsell": {
  20085. "description": "方向 - 0:买 1:卖",
  20086. "type": "integer"
  20087. },
  20088. "charge": {
  20089. "description": "手续费",
  20090. "type": "number"
  20091. },
  20092. "closecharge": {
  20093. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20094. "type": "number"
  20095. },
  20096. "closeexchagechargevalue": {
  20097. "description": "平仓交易所手续费设置值",
  20098. "type": "number"
  20099. },
  20100. "closefeealgorithm": {
  20101. "description": "平仓手续费收取方式 1:比率 2:固定",
  20102. "type": "integer"
  20103. },
  20104. "closememberchargevalue": {
  20105. "description": "平仓会员手续费设置值",
  20106. "type": "number"
  20107. },
  20108. "closepl": {
  20109. "description": "平仓盈亏",
  20110. "type": "number"
  20111. },
  20112. "closepl2": {
  20113. "description": "平仓盈亏[逐笔]",
  20114. "type": "number"
  20115. },
  20116. "closeqty": {
  20117. "description": "平仓数量(先建后平操作 需要记录)",
  20118. "type": "integer"
  20119. },
  20120. "creditamount": {
  20121. "description": "授信金额",
  20122. "type": "number"
  20123. },
  20124. "gcaccountid": {
  20125. "description": "账户ID[合约币种]",
  20126. "type": "integer"
  20127. },
  20128. "goodscode": {
  20129. "description": "商品代码",
  20130. "type": "string"
  20131. },
  20132. "goodsid": {
  20133. "description": "商品ID",
  20134. "type": "integer"
  20135. },
  20136. "goodsname": {
  20137. "description": "商品名称",
  20138. "type": "string"
  20139. },
  20140. "histradedate": {
  20141. "description": "历史交易日",
  20142. "type": "string"
  20143. },
  20144. "intclosepl": {
  20145. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20146. "type": "integer"
  20147. },
  20148. "isconfirmexercise": {
  20149. "description": "是否确认行权- 0:否 1:是",
  20150. "type": "integer"
  20151. },
  20152. "ismain": {
  20153. "description": "是否主单 - 0:不是 1:是",
  20154. "type": "integer"
  20155. },
  20156. "ispreexercise": {
  20157. "description": "是否预申报- 0:否 1:是",
  20158. "type": "integer"
  20159. },
  20160. "isreckoned": {
  20161. "description": "是否结算 - 0:未结算 1:已结算",
  20162. "type": "integer"
  20163. },
  20164. "isvaliddata": {
  20165. "description": "是否有效 - 0:无效 1:有效",
  20166. "type": "integer"
  20167. },
  20168. "listingselecttype": {
  20169. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20170. "type": "integer"
  20171. },
  20172. "marketid": {
  20173. "description": "市场ID",
  20174. "type": "integer"
  20175. },
  20176. "marketname": {
  20177. "description": "市场名称",
  20178. "type": "string"
  20179. },
  20180. "matchaccountid": {
  20181. "description": "对手账号id",
  20182. "type": "integer"
  20183. },
  20184. "memberuserid": {
  20185. "description": "会员id 个人投资者 需要填写",
  20186. "type": "integer"
  20187. },
  20188. "opencharge": {
  20189. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20190. "type": "number"
  20191. },
  20192. "openexchagechargevalue": {
  20193. "description": "建仓交易所手续费设置值",
  20194. "type": "number"
  20195. },
  20196. "openfeealgorithm": {
  20197. "description": "建仓手续费收取方式 1:比率 2:固定",
  20198. "type": "integer"
  20199. },
  20200. "openmemberchargevalue": {
  20201. "description": "建仓会员手续费设置值",
  20202. "type": "number"
  20203. },
  20204. "openqty": {
  20205. "description": "开仓数量(先建后平操作 需要记录)",
  20206. "type": "integer"
  20207. },
  20208. "optiontype": {
  20209. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20210. "type": "integer"
  20211. },
  20212. "orderid": {
  20213. "description": "委托单号",
  20214. "type": "string"
  20215. },
  20216. "performanceplanid": {
  20217. "description": "履约计划ID[期权]",
  20218. "type": "integer"
  20219. },
  20220. "performancestatus": {
  20221. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20222. "type": "integer"
  20223. },
  20224. "preexerciseprice": {
  20225. "description": "预申报价格",
  20226. "type": "number"
  20227. },
  20228. "premium": {
  20229. "description": "权利金 - [持仓单的权利金]",
  20230. "type": "number"
  20231. },
  20232. "relatedouttradeid": {
  20233. "description": "关联外部成交单ID",
  20234. "type": "integer"
  20235. },
  20236. "status": {
  20237. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20238. "type": "integer"
  20239. },
  20240. "tradeamount": {
  20241. "description": "成交金额[账户币种,用于所有权]",
  20242. "type": "number"
  20243. },
  20244. "tradedate": {
  20245. "description": "交易日(yyyyMMdd)",
  20246. "type": "string"
  20247. },
  20248. "tradeid": {
  20249. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20250. "type": "string"
  20251. },
  20252. "trademode": {
  20253. "description": "交易模式",
  20254. "type": "integer"
  20255. },
  20256. "tradeprice": {
  20257. "description": "成交价格",
  20258. "type": "number"
  20259. },
  20260. "tradeproperty": {
  20261. "description": "交易属性",
  20262. "type": "integer"
  20263. },
  20264. "tradeqty": {
  20265. "description": "成交数量",
  20266. "type": "integer"
  20267. },
  20268. "tradetime": {
  20269. "description": "成交时间",
  20270. "type": "string"
  20271. },
  20272. "tradetype": {
  20273. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20274. "type": "integer"
  20275. }
  20276. }
  20277. },
  20278. "order.QueryHisTradeOrderDetailRsp": {
  20279. "type": "object",
  20280. "required": [
  20281. "accountid",
  20282. "buildtype",
  20283. "buyorsell",
  20284. "goodsid",
  20285. "histradedate",
  20286. "marketid",
  20287. "memberuserid",
  20288. "operatetype",
  20289. "orderid",
  20290. "orderqty",
  20291. "ordertime",
  20292. "pricemode",
  20293. "tradedate",
  20294. "validtype"
  20295. ],
  20296. "properties": {
  20297. "accountid": {
  20298. "description": "账户ID[报价币种]",
  20299. "type": "integer"
  20300. },
  20301. "buildtype": {
  20302. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20303. "type": "integer"
  20304. },
  20305. "buyorsell": {
  20306. "description": "买卖 - 0:买 1:卖",
  20307. "type": "integer"
  20308. },
  20309. "cancelorderid": {
  20310. "description": "撤单单号(撤单时填写)",
  20311. "type": "string"
  20312. },
  20313. "cancelqty": {
  20314. "description": "撤单数量",
  20315. "type": "integer"
  20316. },
  20317. "clientordertime": {
  20318. "description": "客户端委托时间",
  20319. "type": "string"
  20320. },
  20321. "clientticket": {
  20322. "description": "客户端流水号",
  20323. "type": "string"
  20324. },
  20325. "clienttype": {
  20326. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20327. "type": "integer"
  20328. },
  20329. "closeexchagechargevalue": {
  20330. "description": "平仓交易所手续费设置值",
  20331. "type": "number"
  20332. },
  20333. "closefeealgorithm": {
  20334. "description": "平仓手续费收取方式 1:比率 2:固定",
  20335. "type": "integer"
  20336. },
  20337. "closefreezecharge": {
  20338. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20339. "type": "number"
  20340. },
  20341. "closememberchargevalue": {
  20342. "description": "平仓会员手续费设置值",
  20343. "type": "number"
  20344. },
  20345. "closeqty": {
  20346. "description": "平仓数量(先建后平操作 需要记录)",
  20347. "type": "integer"
  20348. },
  20349. "closetradeqty": {
  20350. "description": "平仓成交数量(先建后平操作,需要记录)",
  20351. "type": "integer"
  20352. },
  20353. "closeunfreezecharge": {
  20354. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20355. "type": "number"
  20356. },
  20357. "delistingtype": {
  20358. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20359. "type": "integer"
  20360. },
  20361. "freezecharge": {
  20362. "description": "冻结手续费",
  20363. "type": "number"
  20364. },
  20365. "freezemargin": {
  20366. "description": "冻结保证金(冻结交易金额)",
  20367. "type": "number"
  20368. },
  20369. "gcaccountid": {
  20370. "description": "账户ID[合约币种]",
  20371. "type": "integer"
  20372. },
  20373. "goodscode": {
  20374. "description": "商品代码",
  20375. "type": "string"
  20376. },
  20377. "goodsid": {
  20378. "description": "商品ID",
  20379. "type": "integer"
  20380. },
  20381. "goodsname": {
  20382. "description": "商品名称",
  20383. "type": "string"
  20384. },
  20385. "histradedate": {
  20386. "description": "历史交易日",
  20387. "type": "string"
  20388. },
  20389. "isconfirmexercise": {
  20390. "description": "是否确认行权- 0:否 1:是",
  20391. "type": "integer"
  20392. },
  20393. "ispreexercise": {
  20394. "description": "是否预申报- 0:否 1:是",
  20395. "type": "integer"
  20396. },
  20397. "isvaliddata": {
  20398. "description": "是否有效 - 0:无效 1:有效",
  20399. "type": "integer"
  20400. },
  20401. "listingselecttype": {
  20402. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20403. "type": "integer"
  20404. },
  20405. "marginalgorithm": {
  20406. "description": "保证金收取方式 1:比率 2:固定",
  20407. "type": "integer"
  20408. },
  20409. "marginvalue": {
  20410. "description": "即市保证金设置值",
  20411. "type": "number"
  20412. },
  20413. "marketid": {
  20414. "description": "市场ID",
  20415. "type": "integer"
  20416. },
  20417. "marketmaxsub": {
  20418. "description": "市价最大偏移范围",
  20419. "type": "number"
  20420. },
  20421. "marketname": {
  20422. "description": "市场名称",
  20423. "type": "string"
  20424. },
  20425. "memberuserid": {
  20426. "description": "所属会员UserID",
  20427. "type": "integer"
  20428. },
  20429. "openexchagechargevalue": {
  20430. "description": "建仓交易所手续费设置值",
  20431. "type": "number"
  20432. },
  20433. "openfeealgorithm": {
  20434. "description": "建仓手续费收取方式 1:比率 2:固定",
  20435. "type": "integer"
  20436. },
  20437. "openfreezecharge": {
  20438. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20439. "type": "number"
  20440. },
  20441. "openmemberchargevalue": {
  20442. "description": "建仓会员手续费设置值",
  20443. "type": "number"
  20444. },
  20445. "openqty": {
  20446. "description": "开仓数量(先建后平操作,需要记录)",
  20447. "type": "integer"
  20448. },
  20449. "opentradeqty": {
  20450. "description": "开仓成交数量(先建后平操作,需要记录)",
  20451. "type": "integer"
  20452. },
  20453. "openunfreezecharge": {
  20454. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20455. "type": "number"
  20456. },
  20457. "operatetype": {
  20458. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20459. "type": "integer"
  20460. },
  20461. "operatorid": {
  20462. "description": "登录账号(LoginID)",
  20463. "type": "integer"
  20464. },
  20465. "optiontype": {
  20466. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20467. "type": "integer"
  20468. },
  20469. "orderid": {
  20470. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20471. "type": "string"
  20472. },
  20473. "orderprice": {
  20474. "description": "委托价格",
  20475. "type": "number"
  20476. },
  20477. "orderqty": {
  20478. "description": "委托数量",
  20479. "type": "integer"
  20480. },
  20481. "ordersrc": {
  20482. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20483. "type": "integer"
  20484. },
  20485. "orderstatus": {
  20486. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20487. "type": "integer"
  20488. },
  20489. "ordertime": {
  20490. "description": "委托时间",
  20491. "type": "string"
  20492. },
  20493. "preexerciseprice": {
  20494. "description": "预申报价格",
  20495. "type": "number"
  20496. },
  20497. "premium": {
  20498. "description": "权利金",
  20499. "type": "number"
  20500. },
  20501. "preorderid": {
  20502. "description": "关联预埋单号(止盈止损单时填写)",
  20503. "type": "string"
  20504. },
  20505. "pricemode": {
  20506. "description": "取价方式 - 1:市价 2: 限价",
  20507. "type": "integer"
  20508. },
  20509. "quoteid": {
  20510. "description": "报价单ID",
  20511. "type": "integer"
  20512. },
  20513. "relatedid": {
  20514. "description": "关联单号(交割单)",
  20515. "type": "string"
  20516. },
  20517. "retcode": {
  20518. "description": "错误代码",
  20519. "type": "integer"
  20520. },
  20521. "sessionid": {
  20522. "description": "会话ID",
  20523. "type": "integer"
  20524. },
  20525. "tradedate": {
  20526. "description": "交易日(yyyyMMdd)",
  20527. "type": "string"
  20528. },
  20529. "trademode": {
  20530. "description": "交易模式",
  20531. "type": "integer"
  20532. },
  20533. "tradeproperty": {
  20534. "description": "交易属性",
  20535. "type": "integer"
  20536. },
  20537. "tradeqty": {
  20538. "description": "成交数量",
  20539. "type": "integer"
  20540. },
  20541. "unfreezecharge": {
  20542. "description": "解冻手续费",
  20543. "type": "number"
  20544. },
  20545. "unfreezemargin": {
  20546. "description": "解冻保证金",
  20547. "type": "number"
  20548. },
  20549. "updatetime": {
  20550. "description": "更新时间",
  20551. "type": "string"
  20552. },
  20553. "uuid": {
  20554. "description": "发起端唯一id",
  20555. "type": "string"
  20556. },
  20557. "validtime": {
  20558. "description": "有效期限",
  20559. "type": "string"
  20560. },
  20561. "validtype": {
  20562. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20563. "type": "integer"
  20564. },
  20565. "volumetype": {
  20566. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20567. "type": "integer"
  20568. }
  20569. }
  20570. },
  20571. "order.QueryTradeDetailRsp": {
  20572. "type": "object",
  20573. "required": [
  20574. "accountid",
  20575. "buyorsell",
  20576. "goodsid",
  20577. "marketid",
  20578. "memberuserid",
  20579. "orderid",
  20580. "tradeamount",
  20581. "tradedate",
  20582. "tradeid",
  20583. "tradeprice",
  20584. "tradeqty",
  20585. "tradetime"
  20586. ],
  20587. "properties": {
  20588. "accountid": {
  20589. "description": "账户ID[报价币种]",
  20590. "type": "integer"
  20591. },
  20592. "buildtype": {
  20593. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  20594. "type": "integer"
  20595. },
  20596. "buyorsell": {
  20597. "description": "方向 - 0:买 1:卖",
  20598. "type": "integer"
  20599. },
  20600. "charge": {
  20601. "description": "手续费",
  20602. "type": "number"
  20603. },
  20604. "closecharge": {
  20605. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20606. "type": "number"
  20607. },
  20608. "closeexchagechargevalue": {
  20609. "description": "平仓交易所手续费设置值",
  20610. "type": "number"
  20611. },
  20612. "closefeealgorithm": {
  20613. "description": "平仓手续费收取方式 1:比率 2:固定",
  20614. "type": "integer"
  20615. },
  20616. "closememberchargevalue": {
  20617. "description": "平仓会员手续费设置值",
  20618. "type": "number"
  20619. },
  20620. "closepl": {
  20621. "description": "平仓盈亏",
  20622. "type": "number"
  20623. },
  20624. "closepl2": {
  20625. "description": "平仓盈亏[逐笔]",
  20626. "type": "number"
  20627. },
  20628. "closeqty": {
  20629. "description": "平仓数量(先建后平操作 需要记录)",
  20630. "type": "integer"
  20631. },
  20632. "creditamount": {
  20633. "description": "授信金额",
  20634. "type": "number"
  20635. },
  20636. "gcaccountid": {
  20637. "description": "账户ID[合约币种]",
  20638. "type": "integer"
  20639. },
  20640. "goodscode": {
  20641. "description": "商品代码",
  20642. "type": "string"
  20643. },
  20644. "goodsid": {
  20645. "description": "商品ID",
  20646. "type": "integer"
  20647. },
  20648. "goodsname": {
  20649. "description": "商品名称",
  20650. "type": "string"
  20651. },
  20652. "intclosepl": {
  20653. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  20654. "type": "integer"
  20655. },
  20656. "isconfirmexercise": {
  20657. "description": "是否确认行权- 0:否 1:是",
  20658. "type": "integer"
  20659. },
  20660. "ismain": {
  20661. "description": "是否主单 - 0:不是 1:是",
  20662. "type": "integer"
  20663. },
  20664. "ispreexercise": {
  20665. "description": "是否预申报- 0:否 1:是",
  20666. "type": "integer"
  20667. },
  20668. "isreckoned": {
  20669. "description": "是否结算 - 0:未结算 1:已结算",
  20670. "type": "integer"
  20671. },
  20672. "listingselecttype": {
  20673. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20674. "type": "integer"
  20675. },
  20676. "marketid": {
  20677. "description": "市场ID",
  20678. "type": "integer"
  20679. },
  20680. "marketname": {
  20681. "description": "市场名称",
  20682. "type": "string"
  20683. },
  20684. "matchaccountid": {
  20685. "description": "对手账号id",
  20686. "type": "integer"
  20687. },
  20688. "memberuserid": {
  20689. "description": "会员id 个人投资者 需要填写",
  20690. "type": "integer"
  20691. },
  20692. "opencharge": {
  20693. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  20694. "type": "number"
  20695. },
  20696. "openexchagechargevalue": {
  20697. "description": "建仓交易所手续费设置值",
  20698. "type": "number"
  20699. },
  20700. "openfeealgorithm": {
  20701. "description": "建仓手续费收取方式 1:比率 2:固定",
  20702. "type": "integer"
  20703. },
  20704. "openmemberchargevalue": {
  20705. "description": "建仓会员手续费设置值",
  20706. "type": "number"
  20707. },
  20708. "openqty": {
  20709. "description": "开仓数量(先建后平操作 需要记录)",
  20710. "type": "integer"
  20711. },
  20712. "optiontype": {
  20713. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  20714. "type": "integer"
  20715. },
  20716. "orderid": {
  20717. "description": "委托单号",
  20718. "type": "string"
  20719. },
  20720. "performanceplanid": {
  20721. "description": "履约计划ID[期权]",
  20722. "type": "integer"
  20723. },
  20724. "performancestatus": {
  20725. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  20726. "type": "integer"
  20727. },
  20728. "preexerciseprice": {
  20729. "description": "预申报价格",
  20730. "type": "number"
  20731. },
  20732. "premium": {
  20733. "description": "权利金 - [持仓单的权利金]",
  20734. "type": "number"
  20735. },
  20736. "relatedouttradeid": {
  20737. "description": "关联外部成交单ID",
  20738. "type": "integer"
  20739. },
  20740. "status": {
  20741. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  20742. "type": "integer"
  20743. },
  20744. "tradeamount": {
  20745. "description": "成交金额[账户币种,用于所有权]",
  20746. "type": "number"
  20747. },
  20748. "tradedate": {
  20749. "description": "交易日(yyyyMMdd)",
  20750. "type": "string"
  20751. },
  20752. "tradeid": {
  20753. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20754. "type": "string"
  20755. },
  20756. "trademode": {
  20757. "description": "交易模式",
  20758. "type": "integer"
  20759. },
  20760. "tradeprice": {
  20761. "description": "成交价格",
  20762. "type": "number"
  20763. },
  20764. "tradeproperty": {
  20765. "description": "交易属性",
  20766. "type": "integer"
  20767. },
  20768. "tradeqty": {
  20769. "description": "成交数量",
  20770. "type": "integer"
  20771. },
  20772. "tradetime": {
  20773. "description": "成交时间",
  20774. "type": "string"
  20775. },
  20776. "tradetype": {
  20777. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  20778. "type": "integer"
  20779. }
  20780. }
  20781. },
  20782. "order.QueryTradeOrderDetailRsp": {
  20783. "type": "object",
  20784. "required": [
  20785. "accountid",
  20786. "buildtype",
  20787. "buyorsell",
  20788. "goodsid",
  20789. "marketid",
  20790. "operatetype",
  20791. "orderqty",
  20792. "ordertime",
  20793. "pricemode",
  20794. "tradedate",
  20795. "validtype"
  20796. ],
  20797. "properties": {
  20798. "accountid": {
  20799. "description": "账户ID[报价币种]",
  20800. "type": "integer"
  20801. },
  20802. "buildtype": {
  20803. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  20804. "type": "integer"
  20805. },
  20806. "buyorsell": {
  20807. "description": "买卖 - 0:买 1:卖",
  20808. "type": "integer"
  20809. },
  20810. "cancelorderid": {
  20811. "description": "撤单单号(撤单时填写)",
  20812. "type": "string"
  20813. },
  20814. "cancelqty": {
  20815. "description": "撤单数量",
  20816. "type": "integer"
  20817. },
  20818. "clienttype": {
  20819. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20820. "type": "integer"
  20821. },
  20822. "closefreezecharge": {
  20823. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20824. "type": "number"
  20825. },
  20826. "closeqty": {
  20827. "description": "平仓数量(先建后平操作 需要记录)",
  20828. "type": "integer"
  20829. },
  20830. "closetradeqty": {
  20831. "description": "平仓成交数量(先建后平操作,需要记录)",
  20832. "type": "integer"
  20833. },
  20834. "closeunfreezecharge": {
  20835. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20836. "type": "number"
  20837. },
  20838. "delistingtype": {
  20839. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20840. "type": "integer"
  20841. },
  20842. "enableqty": {
  20843. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20844. "type": "integer"
  20845. },
  20846. "freezecharge": {
  20847. "description": "冻结手续费",
  20848. "type": "number"
  20849. },
  20850. "freezemargin": {
  20851. "description": "冻结保证金(冻结交易金额)",
  20852. "type": "number"
  20853. },
  20854. "goodscode": {
  20855. "description": "商品代码",
  20856. "type": "string"
  20857. },
  20858. "goodsid": {
  20859. "description": "商品ID",
  20860. "type": "integer"
  20861. },
  20862. "goodsname": {
  20863. "description": "商品名称",
  20864. "type": "string"
  20865. },
  20866. "listingselecttype": {
  20867. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20868. "type": "integer"
  20869. },
  20870. "marketid": {
  20871. "description": "市场ID",
  20872. "type": "integer"
  20873. },
  20874. "marketname": {
  20875. "description": "市场名称",
  20876. "type": "string"
  20877. },
  20878. "openfreezecharge": {
  20879. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20880. "type": "number"
  20881. },
  20882. "openqty": {
  20883. "description": "开仓数量(先建后平操作,需要记录)",
  20884. "type": "integer"
  20885. },
  20886. "opentradeqty": {
  20887. "description": "开仓成交数量(先建后平操作,需要记录)",
  20888. "type": "integer"
  20889. },
  20890. "openunfreezecharge": {
  20891. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20892. "type": "number"
  20893. },
  20894. "operatetype": {
  20895. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20896. "type": "integer"
  20897. },
  20898. "operatorid": {
  20899. "description": "登录账号(LoginID)",
  20900. "type": "integer"
  20901. },
  20902. "orderid": {
  20903. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20904. "type": "string"
  20905. },
  20906. "orderprice": {
  20907. "description": "委托价格",
  20908. "type": "number"
  20909. },
  20910. "orderqty": {
  20911. "description": "委托数量",
  20912. "type": "integer"
  20913. },
  20914. "ordersrc": {
  20915. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20916. "type": "integer"
  20917. },
  20918. "orderstatus": {
  20919. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20920. "type": "integer"
  20921. },
  20922. "ordertime": {
  20923. "description": "委托时间",
  20924. "type": "string"
  20925. },
  20926. "preorderid": {
  20927. "description": "关联预埋单号(止盈止损单时填写)",
  20928. "type": "string"
  20929. },
  20930. "pricemode": {
  20931. "description": "取价方式 - 1:市价 2: 限价",
  20932. "type": "integer"
  20933. },
  20934. "relatedid": {
  20935. "description": "关联单号(交割单)",
  20936. "type": "string"
  20937. },
  20938. "tradedate": {
  20939. "description": "交易日(yyyyMMdd)",
  20940. "type": "string"
  20941. },
  20942. "trademode": {
  20943. "description": "交易模式",
  20944. "type": "integer"
  20945. },
  20946. "tradeqty": {
  20947. "description": "成交数量",
  20948. "type": "integer"
  20949. },
  20950. "unfreezecharge": {
  20951. "description": "解冻手续费",
  20952. "type": "number"
  20953. },
  20954. "unfreezemargin": {
  20955. "description": "解冻保证金",
  20956. "type": "number"
  20957. },
  20958. "validtime": {
  20959. "description": "有效期限",
  20960. "type": "string"
  20961. },
  20962. "validtype": {
  20963. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20964. "type": "integer"
  20965. },
  20966. "volumetype": {
  20967. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20968. "type": "integer"
  20969. }
  20970. }
  20971. },
  20972. "order.QueryTradePositionRsp": {
  20973. "type": "object",
  20974. "required": [
  20975. "goodsid"
  20976. ],
  20977. "properties": {
  20978. "accountid": {
  20979. "description": "资金账户",
  20980. "type": "integer"
  20981. },
  20982. "agreeunit": {
  20983. "description": "合约单位",
  20984. "type": "number"
  20985. },
  20986. "averageprice": {
  20987. "description": "持仓均价",
  20988. "type": "number"
  20989. },
  20990. "buyorsell": {
  20991. "description": "方向 - 0:买 1:卖",
  20992. "type": "integer"
  20993. },
  20994. "closetotalqty": {
  20995. "description": "平仓总数量",
  20996. "type": "integer"
  20997. },
  20998. "curholderamount": {
  20999. "description": "当前持仓总金额[商品币种]",
  21000. "type": "number"
  21001. },
  21002. "curpositionqty": {
  21003. "description": "当前持仓总数量",
  21004. "type": "integer"
  21005. },
  21006. "currencyid": {
  21007. "description": "报价货币ID",
  21008. "type": "integer"
  21009. },
  21010. "curtdposition": {
  21011. "description": "期末今日头寸",
  21012. "type": "integer"
  21013. },
  21014. "decimalplace": {
  21015. "description": "报价小数位",
  21016. "type": "integer"
  21017. },
  21018. "enableqty": {
  21019. "description": "可用量",
  21020. "type": "integer"
  21021. },
  21022. "fretdposition": {
  21023. "description": "冻结今日头寸",
  21024. "type": "integer"
  21025. },
  21026. "frozenqty": {
  21027. "description": "持仓冻结数量",
  21028. "type": "integer"
  21029. },
  21030. "goodscode": {
  21031. "description": "商品代码",
  21032. "type": "string"
  21033. },
  21034. "goodsid": {
  21035. "description": "商品Id",
  21036. "type": "integer"
  21037. },
  21038. "goodsname": {
  21039. "description": "商品名称",
  21040. "type": "string"
  21041. },
  21042. "goodunit": {
  21043. "description": "报价单位",
  21044. "type": "string"
  21045. },
  21046. "goodunitid": {
  21047. "description": "报价单位ID",
  21048. "type": "integer"
  21049. },
  21050. "holderamount": {
  21051. "description": "期初持仓总金额[商品币种]",
  21052. "type": "number"
  21053. },
  21054. "marketid": {
  21055. "description": "所属市场ID",
  21056. "type": "integer"
  21057. },
  21058. "openreqqty": {
  21059. "description": "开仓申请数量(用于比较最大持仓数量)",
  21060. "type": "integer"
  21061. },
  21062. "opentotalqty": {
  21063. "description": "开仓总数量",
  21064. "type": "integer"
  21065. },
  21066. "otherfrozenqty": {
  21067. "description": "持仓其他冻结数量(交割冻结)",
  21068. "type": "integer"
  21069. },
  21070. "positionqty": {
  21071. "description": "期初持仓数量",
  21072. "type": "integer"
  21073. },
  21074. "tnqty": {
  21075. "description": "T+N冻结总量",
  21076. "type": "integer"
  21077. },
  21078. "tnusedqty": {
  21079. "description": "T+N使用量(可以使用T+N的冻结数量)",
  21080. "type": "integer"
  21081. },
  21082. "trademode": {
  21083. "description": "交易模式",
  21084. "type": "integer"
  21085. },
  21086. "usedmargin": {
  21087. "description": "占用保证金[商品币种]",
  21088. "type": "number"
  21089. }
  21090. }
  21091. },
  21092. "quote.HistoryData": {
  21093. "type": "object",
  21094. "properties": {
  21095. "c": {
  21096. "description": "收盘价",
  21097. "type": "number"
  21098. },
  21099. "f": {
  21100. "description": "是否补充数据",
  21101. "type": "boolean"
  21102. },
  21103. "h": {
  21104. "description": "最高价",
  21105. "type": "number"
  21106. },
  21107. "hv": {
  21108. "description": "持仓量",
  21109. "type": "integer"
  21110. },
  21111. "l": {
  21112. "description": "最低价",
  21113. "type": "number"
  21114. },
  21115. "o": {
  21116. "description": "开盘价",
  21117. "type": "number"
  21118. },
  21119. "s": {
  21120. "description": "结算价,日线周期(包括)以上才有",
  21121. "type": "number"
  21122. },
  21123. "ts": {
  21124. "description": "时间",
  21125. "type": "string"
  21126. },
  21127. "tt": {
  21128. "description": "总金额",
  21129. "type": "number"
  21130. },
  21131. "tv": {
  21132. "description": "总量",
  21133. "type": "integer"
  21134. }
  21135. }
  21136. },
  21137. "quote.HistoryTikData": {
  21138. "type": "object",
  21139. "properties": {
  21140. "AV": {
  21141. "description": "卖量",
  21142. "type": "integer"
  21143. },
  21144. "Ask": {
  21145. "description": "卖价",
  21146. "type": "number"
  21147. },
  21148. "BV": {
  21149. "description": "买量",
  21150. "type": "integer"
  21151. },
  21152. "Bid": {
  21153. "description": "买价",
  21154. "type": "number"
  21155. },
  21156. "HI": {
  21157. "description": "单笔持仓",
  21158. "type": "integer"
  21159. },
  21160. "HV": {
  21161. "description": "持仓量",
  21162. "type": "integer"
  21163. },
  21164. "PE": {
  21165. "description": "现价",
  21166. "type": "number"
  21167. },
  21168. "TDR": {
  21169. "description": "交易方向,0:买 1:卖",
  21170. "type": "integer"
  21171. },
  21172. "TK": {
  21173. "description": "交易类型",
  21174. "type": "integer"
  21175. },
  21176. "TS": {
  21177. "description": "行情时间文本",
  21178. "type": "string"
  21179. },
  21180. "TT": {
  21181. "description": "现金额",
  21182. "type": "number"
  21183. },
  21184. "Vol": {
  21185. "description": "现量",
  21186. "type": "integer"
  21187. }
  21188. }
  21189. },
  21190. "quote.QueryQuoteDayRsp": {
  21191. "type": "object",
  21192. "properties": {
  21193. "ask": {
  21194. "description": "卖1",
  21195. "type": "number"
  21196. },
  21197. "ask10": {
  21198. "description": "卖10",
  21199. "type": "number"
  21200. },
  21201. "ask2": {
  21202. "description": "卖2",
  21203. "type": "number"
  21204. },
  21205. "ask3": {
  21206. "description": "卖3",
  21207. "type": "number"
  21208. },
  21209. "ask4": {
  21210. "description": "卖4",
  21211. "type": "number"
  21212. },
  21213. "ask5": {
  21214. "description": "卖5",
  21215. "type": "number"
  21216. },
  21217. "ask6": {
  21218. "description": "卖6",
  21219. "type": "number"
  21220. },
  21221. "ask7": {
  21222. "description": "卖7",
  21223. "type": "number"
  21224. },
  21225. "ask8": {
  21226. "description": "卖8",
  21227. "type": "number"
  21228. },
  21229. "ask9": {
  21230. "description": "卖9",
  21231. "type": "number"
  21232. },
  21233. "askorderid": {
  21234. "description": "卖单号1",
  21235. "type": "integer"
  21236. },
  21237. "askorderid2": {
  21238. "description": "卖单号2",
  21239. "type": "integer"
  21240. },
  21241. "askorderid3": {
  21242. "description": "卖单号3",
  21243. "type": "integer"
  21244. },
  21245. "askorderid4": {
  21246. "description": "卖单号4",
  21247. "type": "integer"
  21248. },
  21249. "askorderid5": {
  21250. "description": "卖单号5",
  21251. "type": "integer"
  21252. },
  21253. "askordervolume": {
  21254. "description": "卖单量1",
  21255. "type": "integer"
  21256. },
  21257. "askordervolume10": {
  21258. "description": "卖单量10",
  21259. "type": "integer"
  21260. },
  21261. "askordervolume2": {
  21262. "description": "卖单量2",
  21263. "type": "integer"
  21264. },
  21265. "askordervolume3": {
  21266. "description": "卖单量3",
  21267. "type": "integer"
  21268. },
  21269. "askordervolume4": {
  21270. "description": "卖单量4",
  21271. "type": "integer"
  21272. },
  21273. "askordervolume5": {
  21274. "description": "卖单量5",
  21275. "type": "integer"
  21276. },
  21277. "askordervolume6": {
  21278. "description": "卖单量6",
  21279. "type": "integer"
  21280. },
  21281. "askordervolume7": {
  21282. "description": "卖单量7",
  21283. "type": "integer"
  21284. },
  21285. "askordervolume8": {
  21286. "description": "卖单量8",
  21287. "type": "integer"
  21288. },
  21289. "askordervolume9": {
  21290. "description": "卖单量9",
  21291. "type": "integer"
  21292. },
  21293. "askqueueinfo": {
  21294. "description": "大利市卖港股用",
  21295. "type": "string"
  21296. },
  21297. "askvolume": {
  21298. "description": "卖量1",
  21299. "type": "integer"
  21300. },
  21301. "askvolume10": {
  21302. "description": "卖量10",
  21303. "type": "integer"
  21304. },
  21305. "askvolume2": {
  21306. "description": "卖量2",
  21307. "type": "integer"
  21308. },
  21309. "askvolume3": {
  21310. "description": "卖量3",
  21311. "type": "integer"
  21312. },
  21313. "askvolume4": {
  21314. "description": "卖量4",
  21315. "type": "integer"
  21316. },
  21317. "askvolume5": {
  21318. "description": "卖量5",
  21319. "type": "integer"
  21320. },
  21321. "askvolume6": {
  21322. "description": "卖量6",
  21323. "type": "integer"
  21324. },
  21325. "askvolume7": {
  21326. "description": "卖量7",
  21327. "type": "integer"
  21328. },
  21329. "askvolume8": {
  21330. "description": "卖量8",
  21331. "type": "integer"
  21332. },
  21333. "askvolume9": {
  21334. "description": "卖量9",
  21335. "type": "integer"
  21336. },
  21337. "averageprice": {
  21338. "description": "均价",
  21339. "type": "number"
  21340. },
  21341. "bid": {
  21342. "description": "买1",
  21343. "type": "number"
  21344. },
  21345. "bid10": {
  21346. "description": "买10",
  21347. "type": "number"
  21348. },
  21349. "bid2": {
  21350. "description": "买2",
  21351. "type": "number"
  21352. },
  21353. "bid3": {
  21354. "description": "买3",
  21355. "type": "number"
  21356. },
  21357. "bid4": {
  21358. "description": "买4",
  21359. "type": "number"
  21360. },
  21361. "bid5": {
  21362. "description": "买5",
  21363. "type": "number"
  21364. },
  21365. "bid6": {
  21366. "description": "买6",
  21367. "type": "number"
  21368. },
  21369. "bid7": {
  21370. "description": "买7",
  21371. "type": "number"
  21372. },
  21373. "bid8": {
  21374. "description": "买8",
  21375. "type": "number"
  21376. },
  21377. "bid9": {
  21378. "description": "买9",
  21379. "type": "number"
  21380. },
  21381. "bidorderid": {
  21382. "description": "买单号1",
  21383. "type": "integer"
  21384. },
  21385. "bidorderid2": {
  21386. "description": "买单号2",
  21387. "type": "integer"
  21388. },
  21389. "bidorderid3": {
  21390. "description": "买单号3",
  21391. "type": "integer"
  21392. },
  21393. "bidorderid4": {
  21394. "description": "买单号4",
  21395. "type": "integer"
  21396. },
  21397. "bidorderid5": {
  21398. "description": "买单号5",
  21399. "type": "integer"
  21400. },
  21401. "bidordervolume": {
  21402. "description": "买单量1",
  21403. "type": "integer"
  21404. },
  21405. "bidordervolume10": {
  21406. "description": "买单量10",
  21407. "type": "integer"
  21408. },
  21409. "bidordervolume2": {
  21410. "description": "买单量2",
  21411. "type": "integer"
  21412. },
  21413. "bidordervolume3": {
  21414. "description": "买单量3",
  21415. "type": "integer"
  21416. },
  21417. "bidordervolume4": {
  21418. "description": "买单量4",
  21419. "type": "integer"
  21420. },
  21421. "bidordervolume5": {
  21422. "description": "买单量5",
  21423. "type": "integer"
  21424. },
  21425. "bidordervolume6": {
  21426. "description": "买单量6",
  21427. "type": "integer"
  21428. },
  21429. "bidordervolume7": {
  21430. "description": "买单量7",
  21431. "type": "integer"
  21432. },
  21433. "bidordervolume8": {
  21434. "description": "买单量8",
  21435. "type": "integer"
  21436. },
  21437. "bidordervolume9": {
  21438. "description": "买单量9",
  21439. "type": "integer"
  21440. },
  21441. "bidqueueinfo": {
  21442. "description": "大利市买港股用",
  21443. "type": "string"
  21444. },
  21445. "bidvolume": {
  21446. "description": "买量1",
  21447. "type": "integer"
  21448. },
  21449. "bidvolume10": {
  21450. "description": "买量10",
  21451. "type": "integer"
  21452. },
  21453. "bidvolume2": {
  21454. "description": "买量2",
  21455. "type": "integer"
  21456. },
  21457. "bidvolume3": {
  21458. "description": "买量3",
  21459. "type": "integer"
  21460. },
  21461. "bidvolume4": {
  21462. "description": "买量4",
  21463. "type": "integer"
  21464. },
  21465. "bidvolume5": {
  21466. "description": "买量5",
  21467. "type": "integer"
  21468. },
  21469. "bidvolume6": {
  21470. "description": "买量6",
  21471. "type": "integer"
  21472. },
  21473. "bidvolume7": {
  21474. "description": "买量7",
  21475. "type": "integer"
  21476. },
  21477. "bidvolume8": {
  21478. "description": "买量8",
  21479. "type": "integer"
  21480. },
  21481. "bidvolume9": {
  21482. "description": "买量9",
  21483. "type": "integer"
  21484. },
  21485. "calloptionpremiums": {
  21486. "description": "认购期权1",
  21487. "type": "integer"
  21488. },
  21489. "calloptionpremiums2": {
  21490. "description": "认购期权2",
  21491. "type": "integer"
  21492. },
  21493. "calloptionpremiums3": {
  21494. "description": "认购期权3",
  21495. "type": "integer"
  21496. },
  21497. "calloptionpremiums4": {
  21498. "description": "认购期权4",
  21499. "type": "integer"
  21500. },
  21501. "calloptionpremiums5": {
  21502. "description": "认购期权5",
  21503. "type": "integer"
  21504. },
  21505. "cleartime": {
  21506. "description": "清盘时间",
  21507. "type": "integer"
  21508. },
  21509. "exchangecode": {
  21510. "description": "交易所代码",
  21511. "type": "integer"
  21512. },
  21513. "exchangedate": {
  21514. "description": "交易日",
  21515. "type": "integer"
  21516. },
  21517. "goodscode": {
  21518. "description": "商品代码",
  21519. "type": "string"
  21520. },
  21521. "grepmarketprice": {
  21522. "description": "暗盘价 港股专用",
  21523. "type": "number"
  21524. },
  21525. "highest": {
  21526. "description": "最高价",
  21527. "type": "number"
  21528. },
  21529. "holdincrement": {
  21530. "description": "单笔持仓",
  21531. "type": "integer"
  21532. },
  21533. "holdvolume": {
  21534. "description": "持仓",
  21535. "type": "integer"
  21536. },
  21537. "iep": {
  21538. "description": "平衡价 港股专用",
  21539. "type": "number"
  21540. },
  21541. "iev": {
  21542. "description": "平衡量 港股专用",
  21543. "type": "number"
  21544. },
  21545. "inventory": {
  21546. "description": "库存",
  21547. "type": "integer"
  21548. },
  21549. "iscleared": {
  21550. "description": "是否清盘标志",
  21551. "type": "integer"
  21552. },
  21553. "issettled": {
  21554. "description": "是否结算标志",
  21555. "type": "integer"
  21556. },
  21557. "last": {
  21558. "description": "最新价",
  21559. "type": "number"
  21560. },
  21561. "lastlot": {
  21562. "description": "最新成交手数",
  21563. "type": "integer"
  21564. },
  21565. "lasttime": {
  21566. "description": "行情时间(只有现价变化行情时间才变化)",
  21567. "type": "string"
  21568. },
  21569. "lastturnover": {
  21570. "description": "最新成交金额",
  21571. "type": "number"
  21572. },
  21573. "lastvolume": {
  21574. "description": "最新成交量",
  21575. "type": "integer"
  21576. },
  21577. "limitdown": {
  21578. "description": "跌停价",
  21579. "type": "number"
  21580. },
  21581. "limitup": {
  21582. "description": "涨停价",
  21583. "type": "number"
  21584. },
  21585. "lowest": {
  21586. "description": "最低价",
  21587. "type": "number"
  21588. },
  21589. "nontotalholdervolume": {
  21590. "description": "非交易持仓量",
  21591. "type": "integer"
  21592. },
  21593. "nontotallot": {
  21594. "description": "非交易总手数",
  21595. "type": "integer"
  21596. },
  21597. "nontotalturnover": {
  21598. "description": "非交易总金额",
  21599. "type": "integer"
  21600. },
  21601. "nontotalvolume": {
  21602. "description": "非交易总量",
  21603. "type": "integer"
  21604. },
  21605. "opened": {
  21606. "description": "开盘价",
  21607. "type": "number"
  21608. },
  21609. "opentime": {
  21610. "description": "开盘时间",
  21611. "type": "string"
  21612. },
  21613. "orderid": {
  21614. "description": "序号",
  21615. "type": "integer"
  21616. },
  21617. "preclose": {
  21618. "description": "昨收",
  21619. "type": "number"
  21620. },
  21621. "preholdvolume": {
  21622. "description": "昨持仓",
  21623. "type": "integer"
  21624. },
  21625. "presettle": {
  21626. "description": "昨结价",
  21627. "type": "number"
  21628. },
  21629. "publictradetype": {
  21630. "description": "公共交易标志类型 港股专用",
  21631. "type": "string"
  21632. },
  21633. "putoptionpremiums": {
  21634. "description": "认沽期权1",
  21635. "type": "integer"
  21636. },
  21637. "putoptionpremiums2": {
  21638. "description": "认沽期权2",
  21639. "type": "integer"
  21640. },
  21641. "putoptionpremiums3": {
  21642. "description": "认沽期权3",
  21643. "type": "integer"
  21644. },
  21645. "putoptionpremiums4": {
  21646. "description": "认沽期权4",
  21647. "type": "integer"
  21648. },
  21649. "putoptionpremiums5": {
  21650. "description": "认沽期权5",
  21651. "type": "integer"
  21652. },
  21653. "settle": {
  21654. "description": "结算价",
  21655. "type": "number"
  21656. },
  21657. "strikeprice": {
  21658. "description": "发行价",
  21659. "type": "number"
  21660. },
  21661. "totalaskvolume": {
  21662. "description": "内盘",
  21663. "type": "integer"
  21664. },
  21665. "totalbidvolume": {
  21666. "description": "外盘",
  21667. "type": "integer"
  21668. },
  21669. "totallot": {
  21670. "description": "总手数",
  21671. "type": "integer"
  21672. },
  21673. "totalturnover": {
  21674. "description": "总金额",
  21675. "type": "number"
  21676. },
  21677. "totalvolume": {
  21678. "description": "总量",
  21679. "type": "integer"
  21680. },
  21681. "utclasttime": {
  21682. "description": "utc的行情时间",
  21683. "type": "string"
  21684. }
  21685. }
  21686. },
  21687. "quote.QueryTSDataRsp": {
  21688. "type": "object",
  21689. "properties": {
  21690. "Count": {
  21691. "description": "交易日应有数据个数",
  21692. "type": "integer"
  21693. },
  21694. "decimalPlace": {
  21695. "description": "小数位",
  21696. "type": "integer"
  21697. },
  21698. "endTime": {
  21699. "description": "结束时间",
  21700. "type": "string"
  21701. },
  21702. "goodsCode": {
  21703. "description": "商品代码",
  21704. "type": "string"
  21705. },
  21706. "historyDatas": {
  21707. "description": "历史数据",
  21708. "type": "array",
  21709. "items": {
  21710. "$ref": "#/definitions/quote.HistoryData"
  21711. }
  21712. },
  21713. "outGoodsCode": {
  21714. "description": "外部商品代码",
  21715. "type": "string"
  21716. },
  21717. "preSettle": {
  21718. "description": "昨结价",
  21719. "type": "number"
  21720. },
  21721. "runSteps": {
  21722. "description": "交易日开休市计划",
  21723. "type": "array",
  21724. "items": {
  21725. "$ref": "#/definitions/quote.TSDataRunStep"
  21726. }
  21727. },
  21728. "startTime": {
  21729. "description": "开始时间",
  21730. "type": "string"
  21731. },
  21732. "tradeDate": {
  21733. "description": "交易日",
  21734. "type": "string"
  21735. }
  21736. }
  21737. },
  21738. "quote.TSDataRunStep": {
  21739. "type": "object",
  21740. "properties": {
  21741. "end": {
  21742. "description": "真实结束时间",
  21743. "type": "string"
  21744. },
  21745. "endflag": {
  21746. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  21747. "type": "integer"
  21748. },
  21749. "endtime": {
  21750. "description": "结束时间(HH:mm)",
  21751. "type": "string"
  21752. },
  21753. "endweekday": {
  21754. "description": "结束周几",
  21755. "type": "integer"
  21756. },
  21757. "groupid": {
  21758. "description": "分组ID",
  21759. "type": "integer"
  21760. },
  21761. "runstep": {
  21762. "description": "运行阶段 - 2:连续交易",
  21763. "type": "integer"
  21764. },
  21765. "sectionid": {
  21766. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  21767. "type": "integer"
  21768. },
  21769. "start": {
  21770. "description": "真实开始时间",
  21771. "type": "string"
  21772. },
  21773. "startflag": {
  21774. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  21775. "type": "integer"
  21776. },
  21777. "starttime": {
  21778. "description": "起始时间(HH:mm)",
  21779. "type": "string"
  21780. },
  21781. "startweekday": {
  21782. "description": "起始周几",
  21783. "type": "integer"
  21784. },
  21785. "tradeweekday": {
  21786. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  21787. "type": "integer"
  21788. }
  21789. }
  21790. },
  21791. "szdz.QueryConvertLogRsp": {
  21792. "type": "object",
  21793. "required": [
  21794. "logid"
  21795. ],
  21796. "properties": {
  21797. "accountid": {
  21798. "description": "资金账户ID",
  21799. "type": "integer"
  21800. },
  21801. "clientticket": {
  21802. "description": "客户端流水号",
  21803. "type": "string"
  21804. },
  21805. "converttype": {
  21806. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  21807. "type": "integer"
  21808. },
  21809. "createtime": {
  21810. "description": "记账时间",
  21811. "type": "string"
  21812. },
  21813. "daymaxvalue": {
  21814. "description": "配置当日最大转入限制",
  21815. "type": "number"
  21816. },
  21817. "daymaxvalue2": {
  21818. "description": "配置当日最大转入限制(转入)",
  21819. "type": "number"
  21820. },
  21821. "goodscode": {
  21822. "description": "商品代码",
  21823. "type": "string"
  21824. },
  21825. "goodsname": {
  21826. "description": "商品名称",
  21827. "type": "string"
  21828. },
  21829. "handlestatus": {
  21830. "description": "处理状态",
  21831. "type": "integer"
  21832. },
  21833. "innergoodsid": {
  21834. "description": "内部商品ID",
  21835. "type": "integer"
  21836. },
  21837. "inratio": {
  21838. "description": "配置转入比值",
  21839. "type": "integer"
  21840. },
  21841. "invalue": {
  21842. "description": "目标值",
  21843. "type": "number"
  21844. },
  21845. "logid": {
  21846. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21847. "type": "integer"
  21848. },
  21849. "mobile": {
  21850. "description": "手机号码(加密存储)",
  21851. "type": "string"
  21852. },
  21853. "outergoodscode": {
  21854. "description": "外部商品代码[JD\\PD]",
  21855. "type": "string"
  21856. },
  21857. "outratio": {
  21858. "description": "配置转出比值",
  21859. "type": "integer"
  21860. },
  21861. "outvalue": {
  21862. "description": "源值",
  21863. "type": "number"
  21864. },
  21865. "pddecimalplace": {
  21866. "description": "PD小数位",
  21867. "type": "integer"
  21868. },
  21869. "qty": {
  21870. "description": "数量",
  21871. "type": "string"
  21872. },
  21873. "remark": {
  21874. "description": "备注",
  21875. "type": "string"
  21876. },
  21877. "sessionid": {
  21878. "description": "会话ID",
  21879. "type": "integer"
  21880. },
  21881. "timemaxvalue": {
  21882. "description": "配置单次最大转入限制",
  21883. "type": "number"
  21884. },
  21885. "timemaxvalue2": {
  21886. "description": "配置单次最大转入限制(转入)",
  21887. "type": "number"
  21888. },
  21889. "timeminvalue": {
  21890. "description": "配置单次最小数量限制",
  21891. "type": "number"
  21892. },
  21893. "timeminvalue2": {
  21894. "description": "配置单次最小数量限制(转入)",
  21895. "type": "number"
  21896. },
  21897. "tradedate": {
  21898. "description": "交易日(yyyyMMdd)",
  21899. "type": "string"
  21900. },
  21901. "userid": {
  21902. "description": "用户ID",
  21903. "type": "integer"
  21904. }
  21905. }
  21906. },
  21907. "szdz.QueryGoodsPickupRsp": {
  21908. "type": "object",
  21909. "required": [
  21910. "takeorderid"
  21911. ],
  21912. "properties": {
  21913. "accountid": {
  21914. "description": "账户ID",
  21915. "type": "integer"
  21916. },
  21917. "address": {
  21918. "description": "提货人详细地址",
  21919. "type": "string"
  21920. },
  21921. "auditer": {
  21922. "description": "审核人",
  21923. "type": "integer"
  21924. },
  21925. "audittime": {
  21926. "description": "审核时间",
  21927. "type": "string"
  21928. },
  21929. "cardnum": {
  21930. "description": "提货人证件号码",
  21931. "type": "string"
  21932. },
  21933. "cardtypeid": {
  21934. "description": "提货人证件类型",
  21935. "type": "integer"
  21936. },
  21937. "checkremark": {
  21938. "description": "审核备注",
  21939. "type": "string"
  21940. },
  21941. "goodscode": {
  21942. "description": "商品代码",
  21943. "type": "string"
  21944. },
  21945. "goodsid": {
  21946. "description": "商品ID",
  21947. "type": "integer"
  21948. },
  21949. "goodsname": {
  21950. "description": "商品名称",
  21951. "type": "string"
  21952. },
  21953. "handlestatus": {
  21954. "description": "处理状态",
  21955. "type": "integer"
  21956. },
  21957. "marketid": {
  21958. "description": "市场ID",
  21959. "type": "integer"
  21960. },
  21961. "phonenum": {
  21962. "description": "提货人联系方式",
  21963. "type": "string"
  21964. },
  21965. "qty": {
  21966. "description": "提货数量",
  21967. "type": "number"
  21968. },
  21969. "recivername": {
  21970. "description": "提货人姓名",
  21971. "type": "string"
  21972. },
  21973. "reqtime": {
  21974. "description": "更新时间",
  21975. "type": "string"
  21976. },
  21977. "takemode": {
  21978. "description": "提货方式 - 2:自提 3:配送",
  21979. "type": "integer"
  21980. },
  21981. "takeorderid": {
  21982. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21983. "type": "string"
  21984. },
  21985. "takeorderstatus": {
  21986. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21987. "type": "integer"
  21988. },
  21989. "takeremark": {
  21990. "description": "提货备注",
  21991. "type": "string"
  21992. },
  21993. "tradedate": {
  21994. "description": "交易日(yyyyMMdd)",
  21995. "type": "string"
  21996. },
  21997. "userid": {
  21998. "description": "用户ID",
  21999. "type": "integer"
  22000. }
  22001. }
  22002. },
  22003. "szdz.QueryRecieptOrderRsp": {
  22004. "type": "object",
  22005. "required": [
  22006. "ordertime"
  22007. ],
  22008. "properties": {
  22009. "accountName": {
  22010. "description": "所属账号名称(已脱敏)",
  22011. "type": "string"
  22012. },
  22013. "accountid": {
  22014. "description": "资金账号",
  22015. "type": "integer"
  22016. },
  22017. "buyorsell": {
  22018. "description": "方向 - 0:买 1:卖",
  22019. "type": "integer"
  22020. },
  22021. "enableqty": {
  22022. "description": "可摘数量",
  22023. "type": "integer"
  22024. },
  22025. "goodscode": {
  22026. "description": "商品代码",
  22027. "type": "string"
  22028. },
  22029. "goodsid": {
  22030. "description": "商品ID",
  22031. "type": "integer"
  22032. },
  22033. "goodsname": {
  22034. "description": "商品名称",
  22035. "type": "string"
  22036. },
  22037. "orderid": {
  22038. "description": "委托单号",
  22039. "type": "string"
  22040. },
  22041. "orderprice": {
  22042. "description": "委托价格",
  22043. "type": "number"
  22044. },
  22045. "ordertime": {
  22046. "description": "委托时间",
  22047. "type": "string"
  22048. },
  22049. "tradedate": {
  22050. "description": "交易日(yyyyMMdd)",
  22051. "type": "string"
  22052. }
  22053. }
  22054. },
  22055. "szdz.QuerySZDZTradePositionRsp": {
  22056. "type": "object",
  22057. "properties": {
  22058. "accountid": {
  22059. "description": "账号Id",
  22060. "type": "integer"
  22061. },
  22062. "agreeunit": {
  22063. "description": "合约单位",
  22064. "type": "number"
  22065. },
  22066. "averageprice": {
  22067. "description": "持仓均价",
  22068. "type": "number"
  22069. },
  22070. "buyorsell": {
  22071. "description": "方向 - 0:买 1:卖",
  22072. "type": "integer"
  22073. },
  22074. "closetotalqty": {
  22075. "description": "平仓总数量",
  22076. "type": "integer"
  22077. },
  22078. "curholderamount": {
  22079. "description": "当前持仓总金额",
  22080. "type": "number"
  22081. },
  22082. "curpositionqty": {
  22083. "description": "当前持仓总数量",
  22084. "type": "integer"
  22085. },
  22086. "currencyid": {
  22087. "description": "报价货币ID",
  22088. "type": "integer"
  22089. },
  22090. "curtdposition": {
  22091. "description": "期末今日头寸",
  22092. "type": "integer"
  22093. },
  22094. "decimalplace": {
  22095. "description": "报价小数位",
  22096. "type": "integer"
  22097. },
  22098. "enableqty": {
  22099. "description": "可用量",
  22100. "type": "integer"
  22101. },
  22102. "fretdposition": {
  22103. "description": "冻结今日头寸",
  22104. "type": "integer"
  22105. },
  22106. "frozenqty": {
  22107. "description": "持仓冻结数量",
  22108. "type": "integer"
  22109. },
  22110. "goodscode": {
  22111. "description": "商品代码(内部)",
  22112. "type": "string"
  22113. },
  22114. "goodsid": {
  22115. "description": "商品Id",
  22116. "type": "integer"
  22117. },
  22118. "goodsname": {
  22119. "description": "商品名称",
  22120. "type": "string"
  22121. },
  22122. "goodunit": {
  22123. "description": "报价单位",
  22124. "type": "string"
  22125. },
  22126. "goodunitid": {
  22127. "description": "报价单位ID",
  22128. "type": "integer"
  22129. },
  22130. "holderamount": {
  22131. "description": "期初持仓总金额",
  22132. "type": "number"
  22133. },
  22134. "marketid": {
  22135. "description": "市场ID",
  22136. "type": "integer"
  22137. },
  22138. "openreqqty": {
  22139. "description": "开仓申请数量",
  22140. "type": "integer"
  22141. },
  22142. "opentotalqty": {
  22143. "description": "开仓总数量",
  22144. "type": "integer"
  22145. },
  22146. "otherfrozenqty": {
  22147. "description": "持仓其他冻结数量(交割冻结)",
  22148. "type": "integer"
  22149. },
  22150. "positionqty": {
  22151. "description": "期初持仓数量",
  22152. "type": "integer"
  22153. },
  22154. "szdz3freezqty": {
  22155. "description": "尚志大宗转换冻结总数量",
  22156. "type": "integer"
  22157. },
  22158. "tnqty": {
  22159. "description": "T+N冻结总量",
  22160. "type": "integer"
  22161. },
  22162. "tnusedqty": {
  22163. "description": "T+N使用量",
  22164. "type": "integer"
  22165. },
  22166. "trademode": {
  22167. "description": "交易模式",
  22168. "type": "integer"
  22169. },
  22170. "usedmargin": {
  22171. "description": "占用保证金",
  22172. "type": "number"
  22173. }
  22174. }
  22175. },
  22176. "taaccount.QueryAmountLogRsp": {
  22177. "type": "object",
  22178. "required": [
  22179. "accountid",
  22180. "amount",
  22181. "amountadjusttype",
  22182. "autoid",
  22183. "balance",
  22184. "createtime",
  22185. "currentbalance",
  22186. "operatetype"
  22187. ],
  22188. "properties": {
  22189. "OPERATETYPENAME": {
  22190. "description": "资金操作类型名称",
  22191. "type": "string"
  22192. },
  22193. "accountid": {
  22194. "description": "资金账户ID",
  22195. "type": "integer"
  22196. },
  22197. "agoodscode": {
  22198. "description": "竞拍商品代码",
  22199. "type": "string"
  22200. },
  22201. "agoodsname": {
  22202. "description": "竞拍商品名称",
  22203. "type": "string"
  22204. },
  22205. "amount": {
  22206. "description": "资金金额",
  22207. "type": "number"
  22208. },
  22209. "amountadjusttype": {
  22210. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22211. "type": "integer"
  22212. },
  22213. "autoid": {
  22214. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22215. "type": "integer"
  22216. },
  22217. "balance": {
  22218. "description": "期初余额",
  22219. "type": "number"
  22220. },
  22221. "businesscode": {
  22222. "description": "业务编号",
  22223. "type": "integer"
  22224. },
  22225. "createtime": {
  22226. "description": "发生时间",
  22227. "type": "string"
  22228. },
  22229. "currencyid": {
  22230. "description": "币种ID",
  22231. "type": "integer"
  22232. },
  22233. "currentbalance": {
  22234. "description": "期末余额(变动后金额)",
  22235. "type": "number"
  22236. },
  22237. "dgoodscode": {
  22238. "description": "交割商品代码",
  22239. "type": "string"
  22240. },
  22241. "dgoodsname": {
  22242. "description": "交割商品名称",
  22243. "type": "string"
  22244. },
  22245. "goodscode": {
  22246. "description": "商品代码",
  22247. "type": "string"
  22248. },
  22249. "goodsid": {
  22250. "description": "商品ID",
  22251. "type": "integer"
  22252. },
  22253. "goodsname": {
  22254. "description": "商品名称",
  22255. "type": "string"
  22256. },
  22257. "marketid": {
  22258. "description": "市场ID",
  22259. "type": "integer"
  22260. },
  22261. "marketname": {
  22262. "description": "市场名称",
  22263. "type": "string"
  22264. },
  22265. "moneyticket": {
  22266. "description": "资金流水号:银行端流水号",
  22267. "type": "integer"
  22268. },
  22269. "operatetype": {
  22270. "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:营销收款",
  22271. "type": "integer"
  22272. },
  22273. "relationorderid": {
  22274. "description": "关联单号",
  22275. "type": "string"
  22276. },
  22277. "remark": {
  22278. "description": "备注",
  22279. "type": "string"
  22280. },
  22281. "trademode": {
  22282. "description": "交易模式",
  22283. "type": "integer"
  22284. }
  22285. }
  22286. },
  22287. "taaccount.QueryHisAmountLogRsp": {
  22288. "type": "object",
  22289. "required": [
  22290. "accountid",
  22291. "amount",
  22292. "amountadjusttype",
  22293. "autoid",
  22294. "balance",
  22295. "createtime",
  22296. "currentbalance",
  22297. "histradedate",
  22298. "operatetype"
  22299. ],
  22300. "properties": {
  22301. "OPERATETYPENAME": {
  22302. "description": "资金操作类型名称",
  22303. "type": "string"
  22304. },
  22305. "accountid": {
  22306. "description": "资金账户ID",
  22307. "type": "integer"
  22308. },
  22309. "agoodscode": {
  22310. "description": "竞拍商品代码",
  22311. "type": "string"
  22312. },
  22313. "agoodsname": {
  22314. "description": "竞拍商品名称",
  22315. "type": "string"
  22316. },
  22317. "amount": {
  22318. "description": "资金金额",
  22319. "type": "number"
  22320. },
  22321. "amountadjusttype": {
  22322. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  22323. "type": "integer"
  22324. },
  22325. "autoid": {
  22326. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  22327. "type": "integer"
  22328. },
  22329. "balance": {
  22330. "description": "期初余额",
  22331. "type": "number"
  22332. },
  22333. "businesscode": {
  22334. "description": "业务编号",
  22335. "type": "integer"
  22336. },
  22337. "createtime": {
  22338. "description": "发生时间",
  22339. "type": "string"
  22340. },
  22341. "currencyid": {
  22342. "description": "币种ID",
  22343. "type": "integer"
  22344. },
  22345. "currentbalance": {
  22346. "description": "期末余额(变动后金额)",
  22347. "type": "number"
  22348. },
  22349. "dgoodscode": {
  22350. "description": "交割商品代码",
  22351. "type": "string"
  22352. },
  22353. "dgoodsname": {
  22354. "description": "交割商品名称",
  22355. "type": "string"
  22356. },
  22357. "goodscode": {
  22358. "description": "商品代码",
  22359. "type": "string"
  22360. },
  22361. "goodsid": {
  22362. "description": "商品ID",
  22363. "type": "integer"
  22364. },
  22365. "goodsname": {
  22366. "description": "商品名称",
  22367. "type": "string"
  22368. },
  22369. "histradedate": {
  22370. "description": "历史交易日",
  22371. "type": "string"
  22372. },
  22373. "isvaliddata": {
  22374. "description": "是否有效 - 0:无效 1:有效",
  22375. "type": "integer"
  22376. },
  22377. "marketid": {
  22378. "description": "市场ID",
  22379. "type": "integer"
  22380. },
  22381. "marketname": {
  22382. "description": "市场名称",
  22383. "type": "string"
  22384. },
  22385. "moneyticket": {
  22386. "description": "资金流水号:银行端流水号",
  22387. "type": "integer"
  22388. },
  22389. "operatetype": {
  22390. "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:营销收款",
  22391. "type": "integer"
  22392. },
  22393. "relationorderid": {
  22394. "description": "关联单号",
  22395. "type": "string"
  22396. },
  22397. "remark": {
  22398. "description": "备注",
  22399. "type": "string"
  22400. },
  22401. "trademode": {
  22402. "description": "交易模式",
  22403. "type": "integer"
  22404. }
  22405. }
  22406. },
  22407. "trade.QueryRecieptOrderRsp": {
  22408. "type": "object",
  22409. "required": [
  22410. "ordertime"
  22411. ],
  22412. "properties": {
  22413. "accountName": {
  22414. "description": "所属账号名称(已脱敏)",
  22415. "type": "string"
  22416. },
  22417. "accountid": {
  22418. "description": "资金账号",
  22419. "type": "integer"
  22420. },
  22421. "buyorsell": {
  22422. "description": "方向 - 0:买 1:卖",
  22423. "type": "integer"
  22424. },
  22425. "enableqty": {
  22426. "description": "可摘数量",
  22427. "type": "integer"
  22428. },
  22429. "goodscode": {
  22430. "description": "商品代码",
  22431. "type": "string"
  22432. },
  22433. "goodsid": {
  22434. "description": "商品ID",
  22435. "type": "integer"
  22436. },
  22437. "goodsname": {
  22438. "description": "商品名称",
  22439. "type": "string"
  22440. },
  22441. "orderid": {
  22442. "description": "委托单号",
  22443. "type": "string"
  22444. },
  22445. "orderprice": {
  22446. "description": "委托价格",
  22447. "type": "number"
  22448. },
  22449. "ordertime": {
  22450. "description": "委托时间",
  22451. "type": "string"
  22452. },
  22453. "tradedate": {
  22454. "description": "交易日(yyyyMMdd)",
  22455. "type": "string"
  22456. }
  22457. }
  22458. },
  22459. "user.LoginQueryRsp": {
  22460. "type": "object",
  22461. "properties": {
  22462. "areaRoles": {
  22463. "description": "所属角色信息",
  22464. "type": "array",
  22465. "items": {
  22466. "$ref": "#/definitions/models.Arearole"
  22467. }
  22468. },
  22469. "externalExchanges": {
  22470. "description": "外部交易所",
  22471. "type": "array",
  22472. "items": {
  22473. "$ref": "#/definitions/models.Externalexchange"
  22474. }
  22475. },
  22476. "goodsgroups": {
  22477. "description": "商品组",
  22478. "type": "array",
  22479. "items": {
  22480. "$ref": "#/definitions/models.Goodsgroup"
  22481. }
  22482. },
  22483. "loginAccount": {
  22484. "description": "登录账号",
  22485. "type": "object",
  22486. "$ref": "#/definitions/models.Loginaccount"
  22487. },
  22488. "markets": {
  22489. "description": "市场",
  22490. "type": "array",
  22491. "items": {
  22492. "$ref": "#/definitions/models.Market"
  22493. }
  22494. },
  22495. "systemParams": {
  22496. "description": "系统参数",
  22497. "type": "array",
  22498. "items": {
  22499. "$ref": "#/definitions/models.Systemparam"
  22500. }
  22501. },
  22502. "userAccount": {
  22503. "description": "用户账号",
  22504. "type": "object",
  22505. "$ref": "#/definitions/models.Useraccount"
  22506. },
  22507. "userInfo": {
  22508. "description": "用户信息",
  22509. "type": "object",
  22510. "$ref": "#/definitions/models.Userinfo"
  22511. },
  22512. "username": {
  22513. "description": "用户姓名",
  22514. "type": "string"
  22515. }
  22516. }
  22517. }
  22518. },
  22519. "securityDefinitions": {
  22520. "ApiKeyAuth": {
  22521. "type": "apiKey",
  22522. "name": "Authorization",
  22523. "in": "header"
  22524. }
  22525. }
  22526. }`
  22527. type swaggerInfo struct {
  22528. Version string
  22529. Host string
  22530. BasePath string
  22531. Schemes []string
  22532. Title string
  22533. Description string
  22534. }
  22535. // SwaggerInfo holds exported Swagger Info so clients can modify it
  22536. var SwaggerInfo = swaggerInfo{
  22537. Version: "1.0",
  22538. Host: "",
  22539. BasePath: "/api",
  22540. Schemes: []string{},
  22541. Title: "MTP2.0 查询服务 API",
  22542. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  22543. }
  22544. type s struct{}
  22545. func (s *s) ReadDoc() string {
  22546. sInfo := SwaggerInfo
  22547. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  22548. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  22549. "marshal": func(v interface{}) string {
  22550. a, _ := json.Marshal(v)
  22551. return string(a)
  22552. },
  22553. }).Parse(doc)
  22554. if err != nil {
  22555. return doc
  22556. }
  22557. var tpl bytes.Buffer
  22558. if err := t.Execute(&tpl, sInfo); err != nil {
  22559. return doc
  22560. }
  22561. return tpl.String()
  22562. }
  22563. func init() {
  22564. swag.Register(swag.Name, &s{})
  22565. }