docs.go 888 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://www.muchinfo.cn",
  18. "contact": {},
  19. "license": {},
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/CPTrade/QueryCPTradeMyBidInfos": {
  26. "get": {
  27. "security": [
  28. {
  29. "ApiKeyAuth": []
  30. }
  31. ],
  32. "produces": [
  33. "application/json"
  34. ],
  35. "tags": [
  36. "产能预售"
  37. ],
  38. "summary": "查询产能预售我的出价信息",
  39. "parameters": [
  40. {
  41. "type": "integer",
  42. "description": "资金账户",
  43. "name": "accountid",
  44. "in": "query",
  45. "required": true
  46. },
  47. {
  48. "type": "integer",
  49. "description": "预售市场ID",
  50. "name": "marketid",
  51. "in": "query"
  52. },
  53. {
  54. "type": "integer",
  55. "description": "预售商品ID",
  56. "name": "goodsid",
  57. "in": "query"
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "OK",
  63. "schema": {
  64. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  65. }
  66. },
  67. "500": {
  68. "description": "Internal Server Error",
  69. "schema": {
  70. "$ref": "#/definitions/app.Response"
  71. }
  72. }
  73. }
  74. }
  75. },
  76. "/CPTrade/QueryCPTradeOrderDetail": {
  77. "get": {
  78. "security": [
  79. {
  80. "ApiKeyAuth": []
  81. }
  82. ],
  83. "produces": [
  84. "application/json"
  85. ],
  86. "tags": [
  87. "产能预售"
  88. ],
  89. "summary": "查询产能预售委托单信息",
  90. "parameters": [
  91. {
  92. "type": "integer",
  93. "description": "预售商品ID",
  94. "name": "goodsid",
  95. "in": "query"
  96. },
  97. {
  98. "type": "integer",
  99. "description": "预售市场ID",
  100. "name": "marketid",
  101. "in": "query"
  102. },
  103. {
  104. "type": "string",
  105. "description": "预售商品ID列表 - 格式:1,2,3",
  106. "name": "goodsids",
  107. "in": "query"
  108. }
  109. ],
  110. "responses": {
  111. "200": {
  112. "description": "OK",
  113. "schema": {
  114. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  115. }
  116. },
  117. "500": {
  118. "description": "Internal Server Error",
  119. "schema": {
  120. "$ref": "#/definitions/app.Response"
  121. }
  122. }
  123. }
  124. }
  125. },
  126. "/CPTrade/QueryMyCPTradeGoods": {
  127. "get": {
  128. "security": [
  129. {
  130. "ApiKeyAuth": []
  131. }
  132. ],
  133. "produces": [
  134. "application/json"
  135. ],
  136. "tags": [
  137. "产能预售"
  138. ],
  139. "summary": "查询我的预售信息",
  140. "parameters": [
  141. {
  142. "type": "integer",
  143. "description": "资金账户",
  144. "name": "accountid",
  145. "in": "query",
  146. "required": true
  147. }
  148. ],
  149. "responses": {
  150. "200": {
  151. "description": "OK",
  152. "schema": {
  153. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  154. }
  155. },
  156. "500": {
  157. "description": "Internal Server Error",
  158. "schema": {
  159. "$ref": "#/definitions/app.Response"
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "/CPTrade/QueryPositionCancel": {
  166. "get": {
  167. "security": [
  168. {
  169. "ApiKeyAuth": []
  170. }
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "产能预售"
  177. ],
  178. "summary": "查询远期订单注销申请信息",
  179. "parameters": [
  180. {
  181. "type": "integer",
  182. "description": "账户ID",
  183. "name": "userid",
  184. "in": "query",
  185. "required": true
  186. },
  187. {
  188. "type": "integer",
  189. "description": "注销ID",
  190. "name": "cancelid",
  191. "in": "query"
  192. },
  193. {
  194. "type": "integer",
  195. "description": "资金账户ID",
  196. "name": "accountid",
  197. "in": "query"
  198. }
  199. ],
  200. "responses": {
  201. "200": {
  202. "description": "OK",
  203. "schema": {
  204. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  205. }
  206. },
  207. "500": {
  208. "description": "Internal Server Error",
  209. "schema": {
  210. "$ref": "#/definitions/app.Response"
  211. }
  212. }
  213. }
  214. }
  215. },
  216. "/CPTrade/QueryPreasleApply": {
  217. "get": {
  218. "security": [
  219. {
  220. "ApiKeyAuth": []
  221. }
  222. ],
  223. "produces": [
  224. "application/json"
  225. ],
  226. "tags": [
  227. "产能预售"
  228. ],
  229. "summary": "查询产能预售申请信息",
  230. "parameters": [
  231. {
  232. "type": "integer",
  233. "description": "账户ID",
  234. "name": "userid",
  235. "in": "query",
  236. "required": true
  237. },
  238. {
  239. "type": "integer",
  240. "description": "申请ID",
  241. "name": "applyid",
  242. "in": "query"
  243. },
  244. {
  245. "type": "integer",
  246. "description": "资金账户ID",
  247. "name": "accountid",
  248. "in": "query"
  249. }
  250. ],
  251. "responses": {
  252. "200": {
  253. "description": "OK",
  254. "schema": {
  255. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  256. }
  257. },
  258. "500": {
  259. "description": "Internal Server Error",
  260. "schema": {
  261. "$ref": "#/definitions/app.Response"
  262. }
  263. }
  264. }
  265. }
  266. },
  267. "/CPTrade/QueryPresaleGoodsEx": {
  268. "get": {
  269. "security": [
  270. {
  271. "ApiKeyAuth": []
  272. }
  273. ],
  274. "produces": [
  275. "application/json"
  276. ],
  277. "tags": [
  278. "产能预售"
  279. ],
  280. "summary": "查询产能预售商品扩展信息",
  281. "parameters": [
  282. {
  283. "type": "integer",
  284. "description": "预售商品ID",
  285. "name": "goodsid",
  286. "in": "query"
  287. },
  288. {
  289. "type": "integer",
  290. "description": "预售市场ID",
  291. "name": "marketid",
  292. "in": "query"
  293. },
  294. {
  295. "type": "integer",
  296. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  297. "name": "presalemode",
  298. "in": "query"
  299. },
  300. {
  301. "type": "string",
  302. "description": "预售商品ID列表 - 格式:1,2,3",
  303. "name": "goodsids",
  304. "in": "query"
  305. },
  306. {
  307. "type": "string",
  308. "description": "预售商品代码",
  309. "name": "goodscode",
  310. "in": "query"
  311. }
  312. ],
  313. "responses": {
  314. "200": {
  315. "description": "OK",
  316. "schema": {
  317. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  318. }
  319. },
  320. "500": {
  321. "description": "Internal Server Error",
  322. "schema": {
  323. "$ref": "#/definitions/app.Response"
  324. }
  325. }
  326. }
  327. }
  328. },
  329. "/CPTrade/QueryUserGoodsData": {
  330. "get": {
  331. "security": [
  332. {
  333. "ApiKeyAuth": []
  334. }
  335. ],
  336. "produces": [
  337. "application/json"
  338. ],
  339. "tags": [
  340. "产能预售"
  341. ],
  342. "summary": "查询远期订单信息",
  343. "parameters": [
  344. {
  345. "type": "integer",
  346. "description": "资金账户ID",
  347. "name": "accountid",
  348. "in": "query",
  349. "required": true
  350. }
  351. ],
  352. "responses": {
  353. "200": {
  354. "description": "OK",
  355. "schema": {
  356. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  357. }
  358. },
  359. "500": {
  360. "description": "Internal Server Error",
  361. "schema": {
  362. "$ref": "#/definitions/app.Response"
  363. }
  364. }
  365. }
  366. }
  367. },
  368. "/Common/GetAllEnums": {
  369. "get": {
  370. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "获取所有枚举信息",
  378. "parameters": [
  379. {
  380. "type": "integer",
  381. "description": "起始自增ID",
  382. "name": "autoid",
  383. "in": "query"
  384. }
  385. ],
  386. "responses": {
  387. "200": {
  388. "description": "OK",
  389. "schema": {
  390. "$ref": "#/definitions/models.Enumdicitem"
  391. }
  392. },
  393. "500": {
  394. "description": "Internal Server Error",
  395. "schema": {
  396. "$ref": "#/definitions/app.Response"
  397. }
  398. }
  399. }
  400. }
  401. },
  402. "/Common/GetClientMenus": {
  403. "get": {
  404. "security": [
  405. {
  406. "ApiKeyAuth": []
  407. }
  408. ],
  409. "produces": [
  410. "application/json"
  411. ],
  412. "tags": [
  413. "通用服务"
  414. ],
  415. "summary": "获取交易端菜单",
  416. "parameters": [
  417. {
  418. "type": "integer",
  419. "description": "登录账号",
  420. "name": "loginID",
  421. "in": "query",
  422. "required": true
  423. },
  424. {
  425. "type": "integer",
  426. "description": "终端类型,0:PC 1:Mobile",
  427. "name": "clientType",
  428. "in": "query"
  429. }
  430. ],
  431. "responses": {
  432. "200": {
  433. "description": "OK",
  434. "schema": {
  435. "type": "array",
  436. "items": {
  437. "$ref": "#/definitions/common.ClientMenu"
  438. }
  439. }
  440. },
  441. "500": {
  442. "description": "Internal Server Error",
  443. "schema": {
  444. "$ref": "#/definitions/app.Response"
  445. }
  446. }
  447. }
  448. }
  449. },
  450. "/Common/GetDivisions": {
  451. "get": {
  452. "produces": [
  453. "application/json"
  454. ],
  455. "tags": [
  456. "通用服务"
  457. ],
  458. "summary": "查询区域信息",
  459. "responses": {
  460. "200": {
  461. "description": "OK",
  462. "schema": {
  463. "$ref": "#/definitions/models.Division"
  464. }
  465. },
  466. "500": {
  467. "description": "Internal Server Error",
  468. "schema": {
  469. "$ref": "#/definitions/app.Response"
  470. }
  471. }
  472. }
  473. }
  474. },
  475. "/Common/GetServerTime": {
  476. "get": {
  477. "produces": [
  478. "application/json"
  479. ],
  480. "tags": [
  481. "通用服务"
  482. ],
  483. "summary": "获取服务器时间",
  484. "responses": {
  485. "200": {
  486. "description": "OK",
  487. "schema": {
  488. "$ref": "#/definitions/app.Response"
  489. }
  490. },
  491. "500": {
  492. "description": "Internal Server Error",
  493. "schema": {
  494. "$ref": "#/definitions/app.Response"
  495. }
  496. }
  497. }
  498. }
  499. },
  500. "/Common/NoticeReaded": {
  501. "post": {
  502. "security": [
  503. {
  504. "ApiKeyAuth": []
  505. }
  506. ],
  507. "produces": [
  508. "application/json"
  509. ],
  510. "tags": [
  511. "通用服务"
  512. ],
  513. "summary": "通知公告设置已读请求",
  514. "parameters": [
  515. {
  516. "type": "integer",
  517. "description": "登录账号",
  518. "name": "loginID",
  519. "in": "query",
  520. "required": true
  521. },
  522. {
  523. "type": "integer",
  524. "description": "通知公告ID",
  525. "name": "noticeID",
  526. "in": "query",
  527. "required": true
  528. }
  529. ],
  530. "responses": {
  531. "200": {
  532. "description": "OK",
  533. "schema": {
  534. "$ref": "#/definitions/app.Response"
  535. }
  536. },
  537. "500": {
  538. "description": "Internal Server Error",
  539. "schema": {
  540. "$ref": "#/definitions/app.Response"
  541. }
  542. }
  543. }
  544. }
  545. },
  546. "/Common/QueryErrorInfos": {
  547. "get": {
  548. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "获取数据库错误信息",
  556. "parameters": [
  557. {
  558. "type": "string",
  559. "description": "起始行号前索引",
  560. "name": "rowNumber",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryImageConfigs": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询轮播图配置信息",
  589. "parameters": [
  590. {
  591. "type": "integer",
  592. "description": "类型 - 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/QueryBusinessDj": {
  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": "integer",
  1381. "description": "用户ID",
  1382. "name": "UserId",
  1383. "in": "query",
  1384. "required": true
  1385. },
  1386. {
  1387. "type": "integer",
  1388. "description": "用户类型 2-机构 7-企业成员",
  1389. "name": "usertype",
  1390. "in": "query"
  1391. },
  1392. {
  1393. "type": "string",
  1394. "description": "现货合同ID, 不填则查所有",
  1395. "name": "relatedid",
  1396. "in": "query"
  1397. },
  1398. {
  1399. "type": "string",
  1400. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1401. "name": "applystatus",
  1402. "in": "query"
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "OK",
  1408. "schema": {
  1409. "type": "array",
  1410. "items": {
  1411. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1412. }
  1413. }
  1414. },
  1415. "500": {
  1416. "description": "Internal Server Error",
  1417. "schema": {
  1418. "$ref": "#/definitions/app.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/Ermcp/QueryBusinessFp": {
  1425. "get": {
  1426. "security": [
  1427. {
  1428. "ApiKeyAuth": []
  1429. }
  1430. ],
  1431. "produces": [
  1432. "application/json"
  1433. ],
  1434. "tags": [
  1435. "企业风险管理(app)"
  1436. ],
  1437. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1438. "parameters": [
  1439. {
  1440. "type": "integer",
  1441. "description": "用户ID",
  1442. "name": "UserId",
  1443. "in": "query",
  1444. "required": true
  1445. },
  1446. {
  1447. "type": "integer",
  1448. "description": "用户类型 2-机构 7-企业成员",
  1449. "name": "usertype",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "string",
  1454. "description": "现货合同ID, 不填则查所有",
  1455. "name": "relatedid",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1461. "name": "applystatus",
  1462. "in": "query"
  1463. }
  1464. ],
  1465. "responses": {
  1466. "200": {
  1467. "description": "OK",
  1468. "schema": {
  1469. "type": "array",
  1470. "items": {
  1471. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1472. }
  1473. }
  1474. },
  1475. "500": {
  1476. "description": "Internal Server Error",
  1477. "schema": {
  1478. "$ref": "#/definitions/app.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/Ermcp/QueryBusinessJs": {
  1485. "get": {
  1486. "security": [
  1487. {
  1488. "ApiKeyAuth": []
  1489. }
  1490. ],
  1491. "produces": [
  1492. "application/json"
  1493. ],
  1494. "tags": [
  1495. "企业风险管理(app)"
  1496. ],
  1497. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1498. "parameters": [
  1499. {
  1500. "type": "integer",
  1501. "description": "用户ID",
  1502. "name": "UserId",
  1503. "in": "query",
  1504. "required": true
  1505. },
  1506. {
  1507. "type": "integer",
  1508. "description": "用户类型 2-机构 7-企业成员",
  1509. "name": "usertype",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "现货合同ID, 不填则查所有",
  1515. "name": "relatedid",
  1516. "in": "query"
  1517. },
  1518. {
  1519. "type": "string",
  1520. "description": "操作申请id",
  1521. "name": "operateapplyid",
  1522. "in": "query"
  1523. },
  1524. {
  1525. "type": "string",
  1526. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1527. "name": "applystatus",
  1528. "in": "query"
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Ermcp/QueryBusinessJsEx": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "企业风险管理(app)"
  1562. ],
  1563. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1564. "parameters": [
  1565. {
  1566. "type": "integer",
  1567. "description": "用户ID",
  1568. "name": "UserId",
  1569. "in": "query",
  1570. "required": true
  1571. },
  1572. {
  1573. "type": "integer",
  1574. "description": "用户类型 2-机构 7-企业成员",
  1575. "name": "usertype",
  1576. "in": "query"
  1577. },
  1578. {
  1579. "type": "string",
  1580. "description": "现货合同ID, 不填则查所有",
  1581. "name": "relatedid",
  1582. "in": "query"
  1583. },
  1584. {
  1585. "type": "string",
  1586. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1587. "name": "applystatus",
  1588. "in": "query"
  1589. }
  1590. ],
  1591. "responses": {
  1592. "200": {
  1593. "description": "OK",
  1594. "schema": {
  1595. "type": "array",
  1596. "items": {
  1597. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1598. }
  1599. }
  1600. },
  1601. "500": {
  1602. "description": "Internal Server Error",
  1603. "schema": {
  1604. "$ref": "#/definitions/app.Response"
  1605. }
  1606. }
  1607. }
  1608. }
  1609. },
  1610. "/Ermcp/QueryBusinessKx": {
  1611. "get": {
  1612. "security": [
  1613. {
  1614. "ApiKeyAuth": []
  1615. }
  1616. ],
  1617. "produces": [
  1618. "application/json"
  1619. ],
  1620. "tags": [
  1621. "企业风险管理(app)"
  1622. ],
  1623. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1624. "parameters": [
  1625. {
  1626. "type": "integer",
  1627. "description": "用户ID",
  1628. "name": "UserId",
  1629. "in": "query",
  1630. "required": true
  1631. },
  1632. {
  1633. "type": "integer",
  1634. "description": "用户类型 2-机构 7-企业成员",
  1635. "name": "usertype",
  1636. "in": "query"
  1637. },
  1638. {
  1639. "type": "string",
  1640. "description": "现货合同ID, 不填则查所有",
  1641. "name": "relatedid",
  1642. "in": "query"
  1643. },
  1644. {
  1645. "type": "string",
  1646. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1647. "name": "applystatus",
  1648. "in": "query"
  1649. }
  1650. ],
  1651. "responses": {
  1652. "200": {
  1653. "description": "OK",
  1654. "schema": {
  1655. "type": "array",
  1656. "items": {
  1657. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1658. }
  1659. }
  1660. },
  1661. "500": {
  1662. "description": "Internal Server Error",
  1663. "schema": {
  1664. "$ref": "#/definitions/app.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/Ermcp/QueryChangeLog": {
  1671. "get": {
  1672. "security": [
  1673. {
  1674. "ApiKeyAuth": []
  1675. }
  1676. ],
  1677. "produces": [
  1678. "application/json"
  1679. ],
  1680. "tags": [
  1681. "企业风险管理(app)"
  1682. ],
  1683. "summary": "查询变更记录",
  1684. "parameters": [
  1685. {
  1686. "type": "string",
  1687. "description": "合同ID",
  1688. "name": "RelatedId",
  1689. "in": "query",
  1690. "required": true
  1691. }
  1692. ],
  1693. "responses": {
  1694. "200": {
  1695. "description": "OK",
  1696. "schema": {
  1697. "type": "array",
  1698. "items": {
  1699. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1700. }
  1701. }
  1702. },
  1703. "500": {
  1704. "description": "Internal Server Error",
  1705. "schema": {
  1706. "$ref": "#/definitions/app.Response"
  1707. }
  1708. }
  1709. }
  1710. }
  1711. },
  1712. "/Ermcp/QueryErmcpHisOrderDetails": {
  1713. "get": {
  1714. "security": [
  1715. {
  1716. "ApiKeyAuth": []
  1717. }
  1718. ],
  1719. "produces": [
  1720. "application/json"
  1721. ],
  1722. "tags": [
  1723. "企业风险管理(app)"
  1724. ],
  1725. "summary": "获取企业风管期货历史委托单信息",
  1726. "parameters": [
  1727. {
  1728. "type": "integer",
  1729. "description": "资金账户ID",
  1730. "name": "accountID",
  1731. "in": "query",
  1732. "required": true
  1733. },
  1734. {
  1735. "type": "string",
  1736. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1737. "name": "startDate",
  1738. "in": "query"
  1739. },
  1740. {
  1741. "type": "string",
  1742. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1743. "name": "endDate",
  1744. "in": "query"
  1745. }
  1746. ],
  1747. "responses": {
  1748. "200": {
  1749. "description": "OK",
  1750. "schema": {
  1751. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1752. }
  1753. },
  1754. "500": {
  1755. "description": "Internal Server Error",
  1756. "schema": {
  1757. "$ref": "#/definitions/app.Response"
  1758. }
  1759. }
  1760. }
  1761. }
  1762. },
  1763. "/Ermcp/QueryErmcpHisTradeDetails": {
  1764. "get": {
  1765. "security": [
  1766. {
  1767. "ApiKeyAuth": []
  1768. }
  1769. ],
  1770. "produces": [
  1771. "application/json"
  1772. ],
  1773. "tags": [
  1774. "企业风险管理(app)"
  1775. ],
  1776. "summary": "获取企业风管期货历史成交单信息",
  1777. "parameters": [
  1778. {
  1779. "type": "integer",
  1780. "description": "资金账户ID",
  1781. "name": "accountID",
  1782. "in": "query",
  1783. "required": true
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "商品ID",
  1788. "name": "goodsID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "integer",
  1793. "description": "买卖方向,0:买 1:卖",
  1794. "name": "buyOrSell",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "integer",
  1799. "description": "关联委托单号",
  1800. "name": "orderID",
  1801. "in": "query"
  1802. },
  1803. {
  1804. "type": "string",
  1805. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1806. "name": "startDate",
  1807. "in": "query"
  1808. },
  1809. {
  1810. "type": "string",
  1811. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1812. "name": "endDate",
  1813. "in": "query"
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1821. }
  1822. },
  1823. "500": {
  1824. "description": "Internal Server Error",
  1825. "schema": {
  1826. "$ref": "#/definitions/app.Response"
  1827. }
  1828. }
  1829. }
  1830. }
  1831. },
  1832. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1833. "get": {
  1834. "security": [
  1835. {
  1836. "ApiKeyAuth": []
  1837. }
  1838. ],
  1839. "produces": [
  1840. "application/json"
  1841. ],
  1842. "tags": [
  1843. "企业风险管理(app)"
  1844. ],
  1845. "summary": "获取企业风管期货内部持仓单信息",
  1846. "parameters": [
  1847. {
  1848. "type": "integer",
  1849. "description": "资金账户ID",
  1850. "name": "accountID",
  1851. "in": "query",
  1852. "required": true
  1853. },
  1854. {
  1855. "type": "integer",
  1856. "description": "商品ID",
  1857. "name": "goodsID",
  1858. "in": "query"
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "买卖方向,0:买 1:卖",
  1863. "name": "buyOrSell",
  1864. "in": "query"
  1865. }
  1866. ],
  1867. "responses": {
  1868. "200": {
  1869. "description": "OK",
  1870. "schema": {
  1871. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1872. }
  1873. },
  1874. "500": {
  1875. "description": "Internal Server Error",
  1876. "schema": {
  1877. "$ref": "#/definitions/app.Response"
  1878. }
  1879. }
  1880. }
  1881. }
  1882. },
  1883. "/Ermcp/QueryErmcpOrderDetails": {
  1884. "get": {
  1885. "security": [
  1886. {
  1887. "ApiKeyAuth": []
  1888. }
  1889. ],
  1890. "produces": [
  1891. "application/json"
  1892. ],
  1893. "tags": [
  1894. "企业风险管理(app)"
  1895. ],
  1896. "summary": "获取企业风管期货委托单信息",
  1897. "parameters": [
  1898. {
  1899. "type": "integer",
  1900. "description": "资金账户ID",
  1901. "name": "accountID",
  1902. "in": "query",
  1903. "required": true
  1904. }
  1905. ],
  1906. "responses": {
  1907. "200": {
  1908. "description": "OK",
  1909. "schema": {
  1910. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1911. }
  1912. },
  1913. "500": {
  1914. "description": "Internal Server Error",
  1915. "schema": {
  1916. "$ref": "#/definitions/app.Response"
  1917. }
  1918. }
  1919. }
  1920. }
  1921. },
  1922. "/Ermcp/QueryErmcpTradeDetails": {
  1923. "get": {
  1924. "security": [
  1925. {
  1926. "ApiKeyAuth": []
  1927. }
  1928. ],
  1929. "produces": [
  1930. "application/json"
  1931. ],
  1932. "tags": [
  1933. "企业风险管理(app)"
  1934. ],
  1935. "summary": "获取企业风管期货成交单信息",
  1936. "parameters": [
  1937. {
  1938. "type": "integer",
  1939. "description": "资金账户ID",
  1940. "name": "accountID",
  1941. "in": "query",
  1942. "required": true
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "商品ID",
  1947. "name": "goodsID",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "买卖方向,0:买 1:卖",
  1953. "name": "buyOrSell",
  1954. "in": "query"
  1955. },
  1956. {
  1957. "type": "integer",
  1958. "description": "关联委托单号",
  1959. "name": "orderID",
  1960. "in": "query"
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/Ermcp/QueryErmcpTradePosition": {
  1980. "get": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "获取企业风管期货持仓头寸信息",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "资金账户ID",
  1998. "name": "accountID",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "所属市场ID",
  2005. "name": "marketID",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Ermcp/QueryExposureDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "企业风险管理(app)"
  2037. ],
  2038. "summary": "查询敞口现货明细",
  2039. "parameters": [
  2040. {
  2041. "type": "integer",
  2042. "description": "所属机构ID",
  2043. "name": "areaUserId",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "套保商品",
  2050. "name": "middleGoodsId",
  2051. "in": "query",
  2052. "required": true
  2053. }
  2054. ],
  2055. "responses": {
  2056. "200": {
  2057. "description": "OK",
  2058. "schema": {
  2059. "type": "array",
  2060. "items": {
  2061. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2062. }
  2063. }
  2064. },
  2065. "500": {
  2066. "description": "Internal Server Error",
  2067. "schema": {
  2068. "$ref": "#/definitions/app.Response"
  2069. }
  2070. }
  2071. }
  2072. }
  2073. },
  2074. "/Ermcp/QueryExposureHedgePosition": {
  2075. "get": {
  2076. "security": [
  2077. {
  2078. "ApiKeyAuth": []
  2079. }
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "企业风险管理(app)"
  2086. ],
  2087. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2088. "parameters": [
  2089. {
  2090. "type": "integer",
  2091. "description": "用户id",
  2092. "name": "userid",
  2093. "in": "query",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "type": "array",
  2102. "items": {
  2103. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2104. }
  2105. }
  2106. },
  2107. "500": {
  2108. "description": "Internal Server Error",
  2109. "schema": {
  2110. "$ref": "#/definitions/app.Response"
  2111. }
  2112. }
  2113. }
  2114. }
  2115. },
  2116. "/Ermcp/QueryExposureHedgePositionDetail": {
  2117. "get": {
  2118. "security": [
  2119. {
  2120. "ApiKeyAuth": []
  2121. }
  2122. ],
  2123. "produces": [
  2124. "application/json"
  2125. ],
  2126. "tags": [
  2127. "企业风险管理(app)"
  2128. ],
  2129. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2130. "parameters": [
  2131. {
  2132. "type": "integer",
  2133. "description": "所属机构ID",
  2134. "name": "userid",
  2135. "in": "query",
  2136. "required": true
  2137. },
  2138. {
  2139. "type": "integer",
  2140. "description": "商品id",
  2141. "name": "goodsId",
  2142. "in": "query",
  2143. "required": true
  2144. }
  2145. ],
  2146. "responses": {
  2147. "200": {
  2148. "description": "OK",
  2149. "schema": {
  2150. "type": "array",
  2151. "items": {
  2152. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2153. }
  2154. }
  2155. },
  2156. "500": {
  2157. "description": "Internal Server Error",
  2158. "schema": {
  2159. "$ref": "#/definitions/app.Response"
  2160. }
  2161. }
  2162. }
  2163. }
  2164. },
  2165. "/Ermcp/QueryExposureSpot": {
  2166. "get": {
  2167. "security": [
  2168. {
  2169. "ApiKeyAuth": []
  2170. }
  2171. ],
  2172. "produces": [
  2173. "application/json"
  2174. ],
  2175. "tags": [
  2176. "企业风险管理(app)"
  2177. ],
  2178. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2179. "parameters": [
  2180. {
  2181. "type": "integer",
  2182. "description": "所属机构ID",
  2183. "name": "areaUserId",
  2184. "in": "query",
  2185. "required": true
  2186. }
  2187. ],
  2188. "responses": {
  2189. "200": {
  2190. "description": "OK",
  2191. "schema": {
  2192. "type": "array",
  2193. "items": {
  2194. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2195. }
  2196. }
  2197. },
  2198. "500": {
  2199. "description": "Internal Server Error",
  2200. "schema": {
  2201. "$ref": "#/definitions/app.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/Ermcp/QueryExposureSpotDetail": {
  2208. "get": {
  2209. "security": [
  2210. {
  2211. "ApiKeyAuth": []
  2212. }
  2213. ],
  2214. "produces": [
  2215. "application/json"
  2216. ],
  2217. "tags": [
  2218. "企业风险管理(app)"
  2219. ],
  2220. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2221. "parameters": [
  2222. {
  2223. "type": "integer",
  2224. "description": "所属机构ID",
  2225. "name": "areaUserId",
  2226. "in": "query",
  2227. "required": true
  2228. },
  2229. {
  2230. "type": "integer",
  2231. "description": "现货品种ID",
  2232. "name": "wrstandardId",
  2233. "in": "query",
  2234. "required": true
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "type": "array",
  2242. "items": {
  2243. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2244. }
  2245. }
  2246. },
  2247. "500": {
  2248. "description": "Internal Server Error",
  2249. "schema": {
  2250. "$ref": "#/definitions/app.Response"
  2251. }
  2252. }
  2253. }
  2254. }
  2255. },
  2256. "/Ermcp/QueryFuturesCompany": {
  2257. "get": {
  2258. "security": [
  2259. {
  2260. "ApiKeyAuth": []
  2261. }
  2262. ],
  2263. "produces": [
  2264. "application/json"
  2265. ],
  2266. "tags": [
  2267. "企业风险管理(app)"
  2268. ],
  2269. "summary": "查询期货公司",
  2270. "responses": {
  2271. "200": {
  2272. "description": "OK",
  2273. "schema": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2277. }
  2278. }
  2279. },
  2280. "500": {
  2281. "description": "Internal Server Error",
  2282. "schema": {
  2283. "$ref": "#/definitions/app.Response"
  2284. }
  2285. }
  2286. }
  2287. }
  2288. },
  2289. "/Ermcp/QueryGGConvertConfig": {
  2290. "get": {
  2291. "security": [
  2292. {
  2293. "ApiKeyAuth": []
  2294. }
  2295. ],
  2296. "produces": [
  2297. "application/json"
  2298. ],
  2299. "tags": [
  2300. "企业风险管理(app)"
  2301. ],
  2302. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2303. "parameters": [
  2304. {
  2305. "type": "integer",
  2306. "description": "品种id(不填则查所有)",
  2307. "name": "goodsgroupid",
  2308. "in": "query"
  2309. }
  2310. ],
  2311. "responses": {
  2312. "200": {
  2313. "description": "OK",
  2314. "schema": {
  2315. "type": "array",
  2316. "items": {
  2317. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2318. }
  2319. }
  2320. },
  2321. "500": {
  2322. "description": "Internal Server Error",
  2323. "schema": {
  2324. "$ref": "#/definitions/app.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/Ermcp/QueryGoodsBrand": {
  2331. "get": {
  2332. "security": [
  2333. {
  2334. "ApiKeyAuth": []
  2335. }
  2336. ],
  2337. "produces": [
  2338. "application/json"
  2339. ],
  2340. "tags": [
  2341. "企业风险管理(app)"
  2342. ],
  2343. "summary": "查询商品品牌",
  2344. "parameters": [
  2345. {
  2346. "type": "integer",
  2347. "description": "用户ID",
  2348. "name": "userid",
  2349. "in": "query",
  2350. "required": true
  2351. },
  2352. {
  2353. "type": "integer",
  2354. "description": "现货商品ID",
  2355. "name": "wrstandardid",
  2356. "in": "query"
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "OK",
  2362. "schema": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2366. }
  2367. }
  2368. },
  2369. "500": {
  2370. "description": "Internal Server Error",
  2371. "schema": {
  2372. "$ref": "#/definitions/app.Response"
  2373. }
  2374. }
  2375. }
  2376. }
  2377. },
  2378. "/Ermcp/QueryGoodsModel": {
  2379. "get": {
  2380. "security": [
  2381. {
  2382. "ApiKeyAuth": []
  2383. }
  2384. ],
  2385. "produces": [
  2386. "application/json"
  2387. ],
  2388. "tags": [
  2389. "企业风险管理(app)"
  2390. ],
  2391. "summary": "查询商品型号",
  2392. "parameters": [
  2393. {
  2394. "type": "integer",
  2395. "description": "用户ID",
  2396. "name": "userid",
  2397. "in": "query",
  2398. "required": true
  2399. }
  2400. ],
  2401. "responses": {
  2402. "200": {
  2403. "description": "OK",
  2404. "schema": {
  2405. "type": "array",
  2406. "items": {
  2407. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2408. }
  2409. }
  2410. },
  2411. "500": {
  2412. "description": "Internal Server Error",
  2413. "schema": {
  2414. "$ref": "#/definitions/app.Response"
  2415. }
  2416. }
  2417. }
  2418. }
  2419. },
  2420. "/Ermcp/QueryHisExposure": {
  2421. "get": {
  2422. "security": [
  2423. {
  2424. "ApiKeyAuth": []
  2425. }
  2426. ],
  2427. "produces": [
  2428. "application/json"
  2429. ],
  2430. "tags": [
  2431. "企业风险管理(app)"
  2432. ],
  2433. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2434. "parameters": [
  2435. {
  2436. "type": "integer",
  2437. "description": "用户id",
  2438. "name": "userid",
  2439. "in": "query",
  2440. "required": true
  2441. },
  2442. {
  2443. "type": "integer",
  2444. "description": "每个品种记录数",
  2445. "name": "lastNum",
  2446. "in": "query",
  2447. "required": true
  2448. }
  2449. ],
  2450. "responses": {
  2451. "200": {
  2452. "description": "OK",
  2453. "schema": {
  2454. "type": "array",
  2455. "items": {
  2456. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2457. }
  2458. }
  2459. },
  2460. "500": {
  2461. "description": "Internal Server Error",
  2462. "schema": {
  2463. "$ref": "#/definitions/app.Response"
  2464. }
  2465. }
  2466. }
  2467. }
  2468. },
  2469. "/Ermcp/QueryMiddleGoods": {
  2470. "get": {
  2471. "security": [
  2472. {
  2473. "ApiKeyAuth": []
  2474. }
  2475. ],
  2476. "produces": [
  2477. "application/json"
  2478. ],
  2479. "tags": [
  2480. "企业风险管理(app)"
  2481. ],
  2482. "summary": "查询套保品种(菜单:套保品种)",
  2483. "parameters": [
  2484. {
  2485. "type": "integer",
  2486. "description": "所属机构ID",
  2487. "name": "userid",
  2488. "in": "query",
  2489. "required": true
  2490. },
  2491. {
  2492. "type": "integer",
  2493. "description": "状态 0-停用 1-正常",
  2494. "name": "status",
  2495. "in": "query",
  2496. "required": true
  2497. }
  2498. ],
  2499. "responses": {
  2500. "200": {
  2501. "description": "OK",
  2502. "schema": {
  2503. "type": "array",
  2504. "items": {
  2505. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2506. }
  2507. }
  2508. },
  2509. "500": {
  2510. "description": "Internal Server Error",
  2511. "schema": {
  2512. "$ref": "#/definitions/app.Response"
  2513. }
  2514. }
  2515. }
  2516. }
  2517. },
  2518. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2519. "get": {
  2520. "security": [
  2521. {
  2522. "ApiKeyAuth": []
  2523. }
  2524. ],
  2525. "produces": [
  2526. "application/json"
  2527. ],
  2528. "tags": [
  2529. "企业风险管理(app)"
  2530. ],
  2531. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2532. "parameters": [
  2533. {
  2534. "type": "integer",
  2535. "description": "所属机构ID",
  2536. "name": "userid",
  2537. "in": "query",
  2538. "required": true
  2539. },
  2540. {
  2541. "type": "integer",
  2542. "description": "套保品种id",
  2543. "name": "middlegoodsid",
  2544. "in": "query",
  2545. "required": true
  2546. }
  2547. ],
  2548. "responses": {
  2549. "200": {
  2550. "description": "OK",
  2551. "schema": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2555. }
  2556. }
  2557. },
  2558. "500": {
  2559. "description": "Internal Server Error",
  2560. "schema": {
  2561. "$ref": "#/definitions/app.Response"
  2562. }
  2563. }
  2564. }
  2565. }
  2566. },
  2567. "/Ermcp/QueryMiddleGoodsDetail": {
  2568. "get": {
  2569. "security": [
  2570. {
  2571. "ApiKeyAuth": []
  2572. }
  2573. ],
  2574. "produces": [
  2575. "application/json"
  2576. ],
  2577. "tags": [
  2578. "企业风险管理(app)"
  2579. ],
  2580. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2581. "parameters": [
  2582. {
  2583. "type": "integer",
  2584. "description": "所属机构ID",
  2585. "name": "userid",
  2586. "in": "query",
  2587. "required": true
  2588. },
  2589. {
  2590. "type": "integer",
  2591. "description": "套保品种id",
  2592. "name": "middlegoodsid",
  2593. "in": "query"
  2594. }
  2595. ],
  2596. "responses": {
  2597. "200": {
  2598. "description": "OK",
  2599. "schema": {
  2600. "type": "array",
  2601. "items": {
  2602. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2603. }
  2604. }
  2605. },
  2606. "500": {
  2607. "description": "Internal Server Error",
  2608. "schema": {
  2609. "$ref": "#/definitions/app.Response"
  2610. }
  2611. }
  2612. }
  2613. }
  2614. },
  2615. "/Ermcp/QueryPendingAuditInfo": {
  2616. "get": {
  2617. "security": [
  2618. {
  2619. "ApiKeyAuth": []
  2620. }
  2621. ],
  2622. "produces": [
  2623. "application/json"
  2624. ],
  2625. "tags": [
  2626. "企业风险管理(app)"
  2627. ],
  2628. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2629. "parameters": [
  2630. {
  2631. "type": "integer",
  2632. "description": "用户ID",
  2633. "name": "UserId",
  2634. "in": "query",
  2635. "required": true
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2645. }
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryRealtimeExposure": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "查询实时敞口",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "所属机构ID",
  2675. "name": "userid",
  2676. "in": "query",
  2677. "required": true
  2678. }
  2679. ],
  2680. "responses": {
  2681. "200": {
  2682. "description": "OK",
  2683. "schema": {
  2684. "type": "array",
  2685. "items": {
  2686. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2687. }
  2688. }
  2689. },
  2690. "500": {
  2691. "description": "Internal Server Error",
  2692. "schema": {
  2693. "$ref": "#/definitions/app.Response"
  2694. }
  2695. }
  2696. }
  2697. }
  2698. },
  2699. "/Ermcp/QueryRealtimeExposurePosition": {
  2700. "get": {
  2701. "security": [
  2702. {
  2703. "ApiKeyAuth": []
  2704. }
  2705. ],
  2706. "produces": [
  2707. "application/json"
  2708. ],
  2709. "tags": [
  2710. "企业风险管理(app)"
  2711. ],
  2712. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2713. "parameters": [
  2714. {
  2715. "type": "integer",
  2716. "description": "用户id",
  2717. "name": "userid",
  2718. "in": "query",
  2719. "required": true
  2720. },
  2721. {
  2722. "type": "integer",
  2723. "description": "套保商品ID",
  2724. "name": "middleGoodsId",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryTradeConfigTMP": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询交易模板配置",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "所属机构id",
  2766. "name": "areauserid",
  2767. "in": "query"
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "type": "array",
  2775. "items": {
  2776. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2777. }
  2778. }
  2779. },
  2780. "500": {
  2781. "description": "Internal Server Error",
  2782. "schema": {
  2783. "$ref": "#/definitions/app.Response"
  2784. }
  2785. }
  2786. }
  2787. }
  2788. },
  2789. "/Ermcp/QueryUserInfo": {
  2790. "get": {
  2791. "security": [
  2792. {
  2793. "ApiKeyAuth": []
  2794. }
  2795. ],
  2796. "produces": [
  2797. "application/json"
  2798. ],
  2799. "tags": [
  2800. "企业风险管理(app)"
  2801. ],
  2802. "summary": "查询客户资料",
  2803. "parameters": [
  2804. {
  2805. "type": "integer",
  2806. "description": "所属机构用户ID",
  2807. "name": "MemberUserID",
  2808. "in": "query",
  2809. "required": true
  2810. },
  2811. {
  2812. "type": "integer",
  2813. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2814. "name": "queryType",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryWarehouseInfo": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询仓库信息",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户ID",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "string",
  2862. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2863. "name": "status",
  2864. "in": "query"
  2865. }
  2866. ],
  2867. "responses": {
  2868. "200": {
  2869. "description": "OK",
  2870. "schema": {
  2871. "type": "array",
  2872. "items": {
  2873. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2874. }
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Ermcp3/QryAreaExpourseContractDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "企业风险管理v3(app)"
  2898. ],
  2899. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2900. "parameters": [
  2901. {
  2902. "type": "integer",
  2903. "description": "用户ID",
  2904. "name": "userid",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "套保商品id",
  2911. "name": "middlegoodsid",
  2912. "in": "query",
  2913. "required": true
  2914. },
  2915. {
  2916. "type": "integer",
  2917. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2918. "name": "cycletype",
  2919. "in": "query",
  2920. "required": true
  2921. },
  2922. {
  2923. "type": "string",
  2924. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2925. "name": "cycletime",
  2926. "in": "query",
  2927. "required": true
  2928. }
  2929. ],
  2930. "responses": {
  2931. "200": {
  2932. "description": "OK",
  2933. "schema": {
  2934. "type": "array",
  2935. "items": {
  2936. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2937. }
  2938. }
  2939. },
  2940. "500": {
  2941. "description": "Internal Server Error",
  2942. "schema": {
  2943. "$ref": "#/definitions/app.Response"
  2944. }
  2945. }
  2946. }
  2947. }
  2948. },
  2949. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2950. "get": {
  2951. "security": [
  2952. {
  2953. "ApiKeyAuth": []
  2954. }
  2955. ],
  2956. "produces": [
  2957. "application/json"
  2958. ],
  2959. "tags": [
  2960. "企业风险管理v3(app)"
  2961. ],
  2962. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2963. "parameters": [
  2964. {
  2965. "type": "integer",
  2966. "description": "用户ID",
  2967. "name": "userid",
  2968. "in": "query",
  2969. "required": true
  2970. },
  2971. {
  2972. "type": "integer",
  2973. "description": "套保商品id",
  2974. "name": "middlegoodsid",
  2975. "in": "query",
  2976. "required": true
  2977. },
  2978. {
  2979. "type": "integer",
  2980. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2981. "name": "cycletype",
  2982. "in": "query",
  2983. "required": true
  2984. },
  2985. {
  2986. "type": "string",
  2987. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2988. "name": "cycletime",
  2989. "in": "query",
  2990. "required": true
  2991. }
  2992. ],
  2993. "responses": {
  2994. "200": {
  2995. "description": "OK",
  2996. "schema": {
  2997. "type": "array",
  2998. "items": {
  2999. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3000. }
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Ermcp3/QryAreaExpourseReport": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "企业风险管理v3(app)"
  3024. ],
  3025. "summary": "查询敞口报表",
  3026. "parameters": [
  3027. {
  3028. "type": "integer",
  3029. "description": "用户ID",
  3030. "name": "userid",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "integer",
  3036. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3037. "name": "querytype",
  3038. "in": "query",
  3039. "required": true
  3040. },
  3041. {
  3042. "type": "integer",
  3043. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3044. "name": "cycletype",
  3045. "in": "query",
  3046. "required": true
  3047. },
  3048. {
  3049. "type": "string",
  3050. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3051. "name": "cycletime",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp3/QryAreaSpotplReport": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理v3(app)"
  3087. ],
  3088. "summary": "查询现货报表",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "用户ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. },
  3097. {
  3098. "type": "integer",
  3099. "description": "查询类型 1-报表 2-报表明细",
  3100. "name": "querytype",
  3101. "in": "query",
  3102. "required": true
  3103. },
  3104. {
  3105. "type": "integer",
  3106. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3107. "name": "cycletype",
  3108. "in": "query",
  3109. "required": true
  3110. },
  3111. {
  3112. "type": "string",
  3113. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3114. "name": "cycletime",
  3115. "in": "query",
  3116. "required": true
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "现货品种id(明细必填)",
  3121. "name": "deliverygoodsid",
  3122. "in": "query"
  3123. },
  3124. {
  3125. "type": "integer",
  3126. "description": "品类id(明细必填)",
  3127. "name": "wrstandardid",
  3128. "in": "query"
  3129. },
  3130. {
  3131. "type": "integer",
  3132. "description": "币种id(明细必填)",
  3133. "name": "currencyid",
  3134. "in": "query"
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "type": "array",
  3142. "items": {
  3143. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3144. }
  3145. }
  3146. },
  3147. "500": {
  3148. "description": "Internal Server Error",
  3149. "schema": {
  3150. "$ref": "#/definitions/app.Response"
  3151. }
  3152. }
  3153. }
  3154. }
  3155. },
  3156. "/Ermcp3/QryAreaStockReport": {
  3157. "get": {
  3158. "security": [
  3159. {
  3160. "ApiKeyAuth": []
  3161. }
  3162. ],
  3163. "produces": [
  3164. "application/json"
  3165. ],
  3166. "tags": [
  3167. "企业风险管理v3(app)"
  3168. ],
  3169. "summary": "查询库存报表",
  3170. "parameters": [
  3171. {
  3172. "type": "integer",
  3173. "description": "用户ID",
  3174. "name": "userid",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "查询类型 1-报表 2-报表明细",
  3181. "name": "querytype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "integer",
  3187. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3188. "name": "cycletype",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3195. "name": "cycletime",
  3196. "in": "query",
  3197. "required": true
  3198. },
  3199. {
  3200. "type": "string",
  3201. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3202. "name": "sumfields",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品种ID",
  3208. "name": "deliverygoodsid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "品类ID",
  3214. "name": "wrstandardid",
  3215. "in": "query"
  3216. },
  3217. {
  3218. "type": "integer",
  3219. "description": "品牌ID",
  3220. "name": "spotgoodsbrandid",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "仓库ID",
  3226. "name": "warehouseinfoid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp3/QryAreaSumPL": {
  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": "userid",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型 1-报表 2-报表明细",
  3274. "name": "querytype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "integer",
  3280. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3281. "name": "cycletype",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "string",
  3287. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3288. "name": "cycletime",
  3289. "in": "query",
  3290. "required": true
  3291. },
  3292. {
  3293. "type": "integer",
  3294. "description": "币种id(明细必填)",
  3295. "name": "currencyid",
  3296. "in": "query"
  3297. }
  3298. ],
  3299. "responses": {
  3300. "200": {
  3301. "description": "OK",
  3302. "schema": {
  3303. "type": "array",
  3304. "items": {
  3305. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3306. }
  3307. }
  3308. },
  3309. "500": {
  3310. "description": "Internal Server Error",
  3311. "schema": {
  3312. "$ref": "#/definitions/app.Response"
  3313. }
  3314. }
  3315. }
  3316. }
  3317. },
  3318. "/Ermcp3/QryFinanceReport": {
  3319. "get": {
  3320. "security": [
  3321. {
  3322. "ApiKeyAuth": []
  3323. }
  3324. ],
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "企业风险管理v3(app)"
  3330. ],
  3331. "summary": "查询财务报表",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "用户ID",
  3336. "name": "userid",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "查询类型 1-报表 2-报表明细",
  3343. "name": "querytype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "integer",
  3349. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3350. "name": "cycletype",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "string",
  3356. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3357. "name": "cycletime",
  3358. "in": "query",
  3359. "required": true
  3360. },
  3361. {
  3362. "type": "integer",
  3363. "description": "币种id(报表明细必填)",
  3364. "name": "currencyid",
  3365. "in": "query"
  3366. },
  3367. {
  3368. "type": "string",
  3369. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3370. "name": "sumfields",
  3371. "in": "query"
  3372. }
  3373. ],
  3374. "responses": {
  3375. "200": {
  3376. "description": "OK",
  3377. "schema": {
  3378. "type": "array",
  3379. "items": {
  3380. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3381. }
  3382. }
  3383. },
  3384. "500": {
  3385. "description": "Internal Server Error",
  3386. "schema": {
  3387. "$ref": "#/definitions/app.Response"
  3388. }
  3389. }
  3390. }
  3391. }
  3392. },
  3393. "/Ermcp3/QueryAreaStock": {
  3394. "get": {
  3395. "security": [
  3396. {
  3397. "ApiKeyAuth": []
  3398. }
  3399. ],
  3400. "produces": [
  3401. "application/json"
  3402. ],
  3403. "tags": [
  3404. "企业风险管理v3(app)"
  3405. ],
  3406. "summary": "查询机构库存(库存管理/当前库存)",
  3407. "parameters": [
  3408. {
  3409. "type": "integer",
  3410. "description": "用户ID",
  3411. "name": "userid",
  3412. "in": "query",
  3413. "required": true
  3414. }
  3415. ],
  3416. "responses": {
  3417. "200": {
  3418. "description": "OK",
  3419. "schema": {
  3420. "type": "array",
  3421. "items": {
  3422. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3423. }
  3424. }
  3425. },
  3426. "500": {
  3427. "description": "Internal Server Error",
  3428. "schema": {
  3429. "$ref": "#/definitions/app.Response"
  3430. }
  3431. }
  3432. }
  3433. }
  3434. },
  3435. "/Ermcp3/QueryAreaStockApply": {
  3436. "get": {
  3437. "security": [
  3438. {
  3439. "ApiKeyAuth": []
  3440. }
  3441. ],
  3442. "produces": [
  3443. "application/json"
  3444. ],
  3445. "tags": [
  3446. "企业风险管理v3(app)"
  3447. ],
  3448. "summary": "查询库存申请(出入库记录|库存审核)",
  3449. "parameters": [
  3450. {
  3451. "type": "integer",
  3452. "description": "用户ID",
  3453. "name": "userid",
  3454. "in": "query",
  3455. "required": true
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "用户类型 2-机构 7-企业成员",
  3460. "name": "usertype",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "现货商品ID",
  3466. "name": "deliverygoodsid",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "string",
  3471. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3472. "name": "inouttype",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "合同ID",
  3478. "name": "spotcontractid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "integer",
  3483. "description": "品类ID",
  3484. "name": "wrstandardid",
  3485. "in": "query"
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "品牌ID",
  3490. "name": "spotgoodsbrandid",
  3491. "in": "query"
  3492. },
  3493. {
  3494. "type": "integer",
  3495. "description": "仓库ID",
  3496. "name": "warehouseinfoid",
  3497. "in": "query"
  3498. },
  3499. {
  3500. "type": "string",
  3501. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3502. "name": "applystatus",
  3503. "in": "query"
  3504. }
  3505. ],
  3506. "responses": {
  3507. "200": {
  3508. "description": "OK",
  3509. "schema": {
  3510. "type": "array",
  3511. "items": {
  3512. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3513. }
  3514. }
  3515. },
  3516. "500": {
  3517. "description": "Internal Server Error",
  3518. "schema": {
  3519. "$ref": "#/definitions/app.Response"
  3520. }
  3521. }
  3522. }
  3523. }
  3524. },
  3525. "/Ermcp3/QueryAreaStockApplySum": {
  3526. "get": {
  3527. "security": [
  3528. {
  3529. "ApiKeyAuth": []
  3530. }
  3531. ],
  3532. "produces": [
  3533. "application/json"
  3534. ],
  3535. "tags": [
  3536. "企业风险管理v3(app)"
  3537. ],
  3538. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3539. "parameters": [
  3540. {
  3541. "type": "integer",
  3542. "description": "合同ID",
  3543. "name": "spotcontractid",
  3544. "in": "query"
  3545. }
  3546. ],
  3547. "responses": {
  3548. "200": {
  3549. "description": "OK",
  3550. "schema": {
  3551. "type": "array",
  3552. "items": {
  3553. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3554. }
  3555. }
  3556. },
  3557. "500": {
  3558. "description": "Internal Server Error",
  3559. "schema": {
  3560. "$ref": "#/definitions/app.Response"
  3561. }
  3562. }
  3563. }
  3564. }
  3565. },
  3566. "/Ermcp3/QueryDGFactoryItem": {
  3567. "get": {
  3568. "security": [
  3569. {
  3570. "ApiKeyAuth": []
  3571. }
  3572. ],
  3573. "produces": [
  3574. "application/json"
  3575. ],
  3576. "tags": [
  3577. "企业风险管理v3(app)"
  3578. ],
  3579. "summary": "查询品种要素定义项",
  3580. "parameters": [
  3581. {
  3582. "type": "integer",
  3583. "description": "用户id",
  3584. "name": "userid",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "用户类型 2-机构 7-企业成员",
  3590. "name": "usertype",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3596. "name": "dgfactoryitemid",
  3597. "in": "query"
  3598. },
  3599. {
  3600. "type": "integer",
  3601. "description": "现货品种ID",
  3602. "name": "deliverygoodsid",
  3603. "in": "query"
  3604. },
  3605. {
  3606. "type": "integer",
  3607. "description": "要素项类型",
  3608. "name": "dgfactoryitemtypeid",
  3609. "in": "query"
  3610. },
  3611. {
  3612. "type": "integer",
  3613. "description": "顺序",
  3614. "name": "orderindex",
  3615. "in": "query"
  3616. }
  3617. ],
  3618. "responses": {
  3619. "200": {
  3620. "description": "OK",
  3621. "schema": {
  3622. "type": "array",
  3623. "items": {
  3624. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3625. }
  3626. }
  3627. },
  3628. "500": {
  3629. "description": "Internal Server Error",
  3630. "schema": {
  3631. "$ref": "#/definitions/app.Response"
  3632. }
  3633. }
  3634. }
  3635. }
  3636. },
  3637. "/Ermcp3/QueryDeliveryGoods": {
  3638. "get": {
  3639. "security": [
  3640. {
  3641. "ApiKeyAuth": []
  3642. }
  3643. ],
  3644. "produces": [
  3645. "application/json"
  3646. ],
  3647. "tags": [
  3648. "企业风险管理v3(app)"
  3649. ],
  3650. "summary": "查询现货商品",
  3651. "parameters": [
  3652. {
  3653. "type": "integer",
  3654. "description": "用户id",
  3655. "name": "userid",
  3656. "in": "query",
  3657. "required": true
  3658. },
  3659. {
  3660. "type": "integer",
  3661. "description": "用户类型 2-机构 7-企业成员",
  3662. "name": "usertype",
  3663. "in": "query"
  3664. },
  3665. {
  3666. "type": "integer",
  3667. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3668. "name": "excludecfg",
  3669. "in": "query"
  3670. }
  3671. ],
  3672. "responses": {
  3673. "200": {
  3674. "description": "OK",
  3675. "schema": {
  3676. "type": "array",
  3677. "items": {
  3678. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3679. }
  3680. }
  3681. },
  3682. "500": {
  3683. "description": "Internal Server Error",
  3684. "schema": {
  3685. "$ref": "#/definitions/app.Response"
  3686. }
  3687. }
  3688. }
  3689. }
  3690. },
  3691. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3692. "get": {
  3693. "security": [
  3694. {
  3695. "ApiKeyAuth": []
  3696. }
  3697. ],
  3698. "produces": [
  3699. "application/json"
  3700. ],
  3701. "tags": [
  3702. "企业风险管理v3(app)"
  3703. ],
  3704. "summary": "查询现货商品详情",
  3705. "parameters": [
  3706. {
  3707. "type": "integer",
  3708. "description": "用户id",
  3709. "name": "userid",
  3710. "in": "query",
  3711. "required": true
  3712. },
  3713. {
  3714. "type": "integer",
  3715. "description": "用户类型 2-机构 7-企业成员",
  3716. "name": "usertype",
  3717. "in": "query"
  3718. },
  3719. {
  3720. "type": "integer",
  3721. "description": "现货商品id",
  3722. "name": "deliverygoodsid",
  3723. "in": "query"
  3724. }
  3725. ],
  3726. "responses": {
  3727. "200": {
  3728. "description": "OK",
  3729. "schema": {
  3730. "type": "array",
  3731. "items": {
  3732. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3733. }
  3734. }
  3735. },
  3736. "500": {
  3737. "description": "Internal Server Error",
  3738. "schema": {
  3739. "$ref": "#/definitions/app.Response"
  3740. }
  3741. }
  3742. }
  3743. }
  3744. },
  3745. "/Ermcp3/QueryExposureDetail": {
  3746. "get": {
  3747. "security": [
  3748. {
  3749. "ApiKeyAuth": []
  3750. }
  3751. ],
  3752. "produces": [
  3753. "application/json"
  3754. ],
  3755. "tags": [
  3756. "企业风险管理v3(app)"
  3757. ],
  3758. "summary": "查询敞口现货明细",
  3759. "parameters": [
  3760. {
  3761. "type": "integer",
  3762. "description": "用户id",
  3763. "name": "userid",
  3764. "in": "query",
  3765. "required": true
  3766. },
  3767. {
  3768. "type": "integer",
  3769. "description": "用户类型 2-机构 7-企业成员",
  3770. "name": "usertype",
  3771. "in": "query"
  3772. },
  3773. {
  3774. "type": "integer",
  3775. "description": "套保商品",
  3776. "name": "middlegoodsid",
  3777. "in": "query",
  3778. "required": true
  3779. }
  3780. ],
  3781. "responses": {
  3782. "200": {
  3783. "description": "OK",
  3784. "schema": {
  3785. "type": "array",
  3786. "items": {
  3787. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3788. }
  3789. }
  3790. },
  3791. "500": {
  3792. "description": "Internal Server Error",
  3793. "schema": {
  3794. "$ref": "#/definitions/app.Response"
  3795. }
  3796. }
  3797. }
  3798. }
  3799. },
  3800. "/Ermcp3/QueryExposureSpot": {
  3801. "get": {
  3802. "security": [
  3803. {
  3804. "ApiKeyAuth": []
  3805. }
  3806. ],
  3807. "produces": [
  3808. "application/json"
  3809. ],
  3810. "tags": [
  3811. "企业风险管理v3(app)"
  3812. ],
  3813. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3814. "parameters": [
  3815. {
  3816. "type": "integer",
  3817. "description": "用户id",
  3818. "name": "userid",
  3819. "in": "query",
  3820. "required": true
  3821. },
  3822. {
  3823. "type": "integer",
  3824. "description": "用户类型 2-机构 7-企业成员",
  3825. "name": "usertype",
  3826. "in": "query"
  3827. }
  3828. ],
  3829. "responses": {
  3830. "200": {
  3831. "description": "OK",
  3832. "schema": {
  3833. "type": "array",
  3834. "items": {
  3835. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3836. }
  3837. }
  3838. },
  3839. "500": {
  3840. "description": "Internal Server Error",
  3841. "schema": {
  3842. "$ref": "#/definitions/app.Response"
  3843. }
  3844. }
  3845. }
  3846. }
  3847. },
  3848. "/Ermcp3/QueryExposureSpotDetail": {
  3849. "get": {
  3850. "security": [
  3851. {
  3852. "ApiKeyAuth": []
  3853. }
  3854. ],
  3855. "produces": [
  3856. "application/json"
  3857. ],
  3858. "tags": [
  3859. "企业风险管理v3(app)"
  3860. ],
  3861. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3862. "parameters": [
  3863. {
  3864. "type": "integer",
  3865. "description": "用户id",
  3866. "name": "userid",
  3867. "in": "query",
  3868. "required": true
  3869. },
  3870. {
  3871. "type": "integer",
  3872. "description": "用户类型 2-机构 7-企业成员",
  3873. "name": "usertype",
  3874. "in": "query"
  3875. },
  3876. {
  3877. "type": "integer",
  3878. "description": "现货品种ID",
  3879. "name": "deliverygoodsid",
  3880. "in": "query",
  3881. "required": true
  3882. }
  3883. ],
  3884. "responses": {
  3885. "200": {
  3886. "description": "OK",
  3887. "schema": {
  3888. "type": "array",
  3889. "items": {
  3890. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3891. }
  3892. }
  3893. },
  3894. "500": {
  3895. "description": "Internal Server Error",
  3896. "schema": {
  3897. "$ref": "#/definitions/app.Response"
  3898. }
  3899. }
  3900. }
  3901. }
  3902. },
  3903. "/Ermcp3/QueryGoodsGroup": {
  3904. "get": {
  3905. "security": [
  3906. {
  3907. "ApiKeyAuth": []
  3908. }
  3909. ],
  3910. "produces": [
  3911. "application/json"
  3912. ],
  3913. "tags": [
  3914. "企业风险管理v3(app)"
  3915. ],
  3916. "summary": "查询期货商品组",
  3917. "parameters": [
  3918. {
  3919. "type": "integer",
  3920. "description": "用户id",
  3921. "name": "userid",
  3922. "in": "query",
  3923. "required": true
  3924. },
  3925. {
  3926. "type": "integer",
  3927. "description": "用户类型 2-机构 7-企业成员",
  3928. "name": "usertype",
  3929. "in": "query"
  3930. },
  3931. {
  3932. "type": "integer",
  3933. "description": "排除套保品中已关联的商品组 1-排除",
  3934. "name": "excludecfg",
  3935. "in": "query"
  3936. }
  3937. ],
  3938. "responses": {
  3939. "200": {
  3940. "description": "OK",
  3941. "schema": {
  3942. "type": "array",
  3943. "items": {
  3944. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3945. }
  3946. }
  3947. },
  3948. "500": {
  3949. "description": "Internal Server Error",
  3950. "schema": {
  3951. "$ref": "#/definitions/app.Response"
  3952. }
  3953. }
  3954. }
  3955. }
  3956. },
  3957. "/Ermcp3/QueryGoodsWrstandard": {
  3958. "get": {
  3959. "security": [
  3960. {
  3961. "ApiKeyAuth": []
  3962. }
  3963. ],
  3964. "produces": [
  3965. "application/json"
  3966. ],
  3967. "tags": [
  3968. "企业风险管理v3(app)"
  3969. ],
  3970. "summary": "查询商品品类",
  3971. "parameters": [
  3972. {
  3973. "type": "integer",
  3974. "description": "用户id",
  3975. "name": "userid",
  3976. "in": "query",
  3977. "required": true
  3978. },
  3979. {
  3980. "type": "integer",
  3981. "description": "用户类型 2-机构 7-企业成员",
  3982. "name": "usertype",
  3983. "in": "query"
  3984. },
  3985. {
  3986. "type": "integer",
  3987. "description": "现货商品id",
  3988. "name": "deliverygoodsid",
  3989. "in": "query"
  3990. }
  3991. ],
  3992. "responses": {
  3993. "200": {
  3994. "description": "OK",
  3995. "schema": {
  3996. "type": "array",
  3997. "items": {
  3998. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3999. }
  4000. }
  4001. },
  4002. "500": {
  4003. "description": "Internal Server Error",
  4004. "schema": {
  4005. "$ref": "#/definitions/app.Response"
  4006. }
  4007. }
  4008. }
  4009. }
  4010. },
  4011. "/Ermcp3/QueryGoodsbrand": {
  4012. "get": {
  4013. "security": [
  4014. {
  4015. "ApiKeyAuth": []
  4016. }
  4017. ],
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "企业风险管理v3(app)"
  4023. ],
  4024. "summary": "查询商品品牌",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "用户id",
  4029. "name": "userid",
  4030. "in": "query",
  4031. "required": true
  4032. },
  4033. {
  4034. "type": "integer",
  4035. "description": "用户类型 2-机构 7-企业成员",
  4036. "name": "usertype",
  4037. "in": "query"
  4038. }
  4039. ],
  4040. "responses": {
  4041. "200": {
  4042. "description": "OK",
  4043. "schema": {
  4044. "type": "array",
  4045. "items": {
  4046. "$ref": "#/definitions/models.Ermcp3Brand"
  4047. }
  4048. }
  4049. },
  4050. "500": {
  4051. "description": "Internal Server Error",
  4052. "schema": {
  4053. "$ref": "#/definitions/app.Response"
  4054. }
  4055. }
  4056. }
  4057. }
  4058. },
  4059. "/Ermcp3/QueryHedgePlan": {
  4060. "get": {
  4061. "security": [
  4062. {
  4063. "ApiKeyAuth": []
  4064. }
  4065. ],
  4066. "produces": [
  4067. "application/json"
  4068. ],
  4069. "tags": [
  4070. "企业风险管理v3(app)"
  4071. ],
  4072. "summary": "查询套保计划",
  4073. "parameters": [
  4074. {
  4075. "type": "integer",
  4076. "description": "用户ID",
  4077. "name": "userid",
  4078. "in": "query",
  4079. "required": true
  4080. },
  4081. {
  4082. "type": "integer",
  4083. "description": "用户类型 2-机构 7-企业成员",
  4084. "name": "usertype",
  4085. "in": "query"
  4086. },
  4087. {
  4088. "type": "string",
  4089. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4090. "name": "hedgeplanstatus",
  4091. "in": "query",
  4092. "required": true
  4093. }
  4094. ],
  4095. "responses": {
  4096. "200": {
  4097. "description": "OK",
  4098. "schema": {
  4099. "type": "array",
  4100. "items": {
  4101. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4102. }
  4103. }
  4104. },
  4105. "500": {
  4106. "description": "Internal Server Error",
  4107. "schema": {
  4108. "$ref": "#/definitions/app.Response"
  4109. }
  4110. }
  4111. }
  4112. }
  4113. },
  4114. "/Ermcp3/QueryMiddleGoodsDetail": {
  4115. "get": {
  4116. "security": [
  4117. {
  4118. "ApiKeyAuth": []
  4119. }
  4120. ],
  4121. "produces": [
  4122. "application/json"
  4123. ],
  4124. "tags": [
  4125. "企业风险管理v3(app)"
  4126. ],
  4127. "summary": "查询套保品种详情(套保品种/商品详情)",
  4128. "parameters": [
  4129. {
  4130. "type": "integer",
  4131. "description": "用户id",
  4132. "name": "userid",
  4133. "in": "query",
  4134. "required": true
  4135. },
  4136. {
  4137. "type": "integer",
  4138. "description": "用户类型 2-机构 7-企业成员",
  4139. "name": "usertype",
  4140. "in": "query"
  4141. },
  4142. {
  4143. "type": "integer",
  4144. "description": "套保品种id",
  4145. "name": "middlegoodsid",
  4146. "in": "query"
  4147. }
  4148. ],
  4149. "responses": {
  4150. "200": {
  4151. "description": "OK",
  4152. "schema": {
  4153. "type": "array",
  4154. "items": {
  4155. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4156. }
  4157. }
  4158. },
  4159. "500": {
  4160. "description": "Internal Server Error",
  4161. "schema": {
  4162. "$ref": "#/definitions/app.Response"
  4163. }
  4164. }
  4165. }
  4166. }
  4167. },
  4168. "/Ermcp3/QuerySpotContract": {
  4169. "get": {
  4170. "security": [
  4171. {
  4172. "ApiKeyAuth": []
  4173. }
  4174. ],
  4175. "produces": [
  4176. "application/json"
  4177. ],
  4178. "tags": [
  4179. "企业风险管理v3(app)"
  4180. ],
  4181. "summary": "查询现货合同",
  4182. "parameters": [
  4183. {
  4184. "type": "integer",
  4185. "description": "用户id",
  4186. "name": "userid",
  4187. "in": "query",
  4188. "required": true
  4189. },
  4190. {
  4191. "type": "integer",
  4192. "description": "用户类型 2-机构 7-企业成员",
  4193. "name": "usertype",
  4194. "in": "query"
  4195. },
  4196. {
  4197. "type": "integer",
  4198. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4199. "name": "querytype",
  4200. "in": "query",
  4201. "required": true
  4202. },
  4203. {
  4204. "type": "string",
  4205. "description": "合同ID(SpotContractId)",
  4206. "name": "contractid",
  4207. "in": "query"
  4208. }
  4209. ],
  4210. "responses": {
  4211. "200": {
  4212. "description": "OK",
  4213. "schema": {
  4214. "type": "array",
  4215. "items": {
  4216. "$ref": "#/definitions/models.Ermcp3Contract"
  4217. }
  4218. }
  4219. },
  4220. "500": {
  4221. "description": "Internal Server Error",
  4222. "schema": {
  4223. "$ref": "#/definitions/app.Response"
  4224. }
  4225. }
  4226. }
  4227. }
  4228. },
  4229. "/Ermcp3/QuerySpotContractBS": {
  4230. "get": {
  4231. "security": [
  4232. {
  4233. "ApiKeyAuth": []
  4234. }
  4235. ],
  4236. "produces": [
  4237. "application/json"
  4238. ],
  4239. "tags": [
  4240. "企业风险管理v3(app)"
  4241. ],
  4242. "summary": "查询合同(采购/销售)",
  4243. "parameters": [
  4244. {
  4245. "type": "integer",
  4246. "description": "用户id",
  4247. "name": "userid",
  4248. "in": "query",
  4249. "required": true
  4250. },
  4251. {
  4252. "type": "integer",
  4253. "description": "用户类型 2-机构 7-企业成员",
  4254. "name": "usertype",
  4255. "in": "query"
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "合同类型 1-采购, -1-销售",
  4260. "name": "contracttype",
  4261. "in": "query",
  4262. "required": true
  4263. },
  4264. {
  4265. "type": "integer",
  4266. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4267. "name": "querytype",
  4268. "in": "query",
  4269. "required": true
  4270. },
  4271. {
  4272. "type": "string",
  4273. "description": "合同ID(SpotContractId)",
  4274. "name": "contractid",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QuerySpotGoodsPrice": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询现货市价(现货市价)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "用户ID",
  4315. "name": "userid",
  4316. "in": "query",
  4317. "required": true
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询现货市价详情(现货市价/详情)",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户ID",
  4357. "name": "userid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "现货商品ID",
  4364. "name": "deliverygoodsid",
  4365. "in": "query",
  4366. "required": true
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "品牌ID",
  4371. "name": "brandid",
  4372. "in": "query"
  4373. },
  4374. {
  4375. "type": "integer",
  4376. "description": "品类ID",
  4377. "name": "wrstandardid",
  4378. "in": "query"
  4379. }
  4380. ],
  4381. "responses": {
  4382. "200": {
  4383. "description": "OK",
  4384. "schema": {
  4385. "type": "array",
  4386. "items": {
  4387. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4388. }
  4389. }
  4390. },
  4391. "500": {
  4392. "description": "Internal Server Error",
  4393. "schema": {
  4394. "$ref": "#/definitions/app.Response"
  4395. }
  4396. }
  4397. }
  4398. }
  4399. },
  4400. "/Erms2/QueryArbitrageStrategy": {
  4401. "get": {
  4402. "security": [
  4403. {
  4404. "ApiKeyAuth": []
  4405. }
  4406. ],
  4407. "produces": [
  4408. "application/json"
  4409. ],
  4410. "tags": [
  4411. "风险管理"
  4412. ],
  4413. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4414. "parameters": [
  4415. {
  4416. "type": "integer",
  4417. "description": "账户ID",
  4418. "name": "userid",
  4419. "in": "query",
  4420. "required": true
  4421. },
  4422. {
  4423. "type": "string",
  4424. "description": "商品组ID(品种ID)",
  4425. "name": "goodsgroupid",
  4426. "in": "query"
  4427. }
  4428. ],
  4429. "responses": {
  4430. "200": {
  4431. "description": "OK",
  4432. "schema": {
  4433. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4434. }
  4435. },
  4436. "500": {
  4437. "description": "Internal Server Error",
  4438. "schema": {
  4439. "$ref": "#/definitions/app.Response"
  4440. }
  4441. }
  4442. }
  4443. }
  4444. },
  4445. "/Erms2/QueryInnerTradeDetail": {
  4446. "get": {
  4447. "security": [
  4448. {
  4449. "ApiKeyAuth": []
  4450. }
  4451. ],
  4452. "produces": [
  4453. "application/json"
  4454. ],
  4455. "tags": [
  4456. "风险管理"
  4457. ],
  4458. "summary": "查询内部成交单信息",
  4459. "parameters": [
  4460. {
  4461. "type": "integer",
  4462. "description": "资金账户",
  4463. "name": "accountid",
  4464. "in": "query",
  4465. "required": true
  4466. }
  4467. ],
  4468. "responses": {
  4469. "200": {
  4470. "description": "OK",
  4471. "schema": {
  4472. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4473. }
  4474. },
  4475. "500": {
  4476. "description": "Internal Server Error",
  4477. "schema": {
  4478. "$ref": "#/definitions/app.Response"
  4479. }
  4480. }
  4481. }
  4482. }
  4483. },
  4484. "/Erms2/QuerySpotContract": {
  4485. "get": {
  4486. "security": [
  4487. {
  4488. "ApiKeyAuth": []
  4489. }
  4490. ],
  4491. "produces": [
  4492. "application/json"
  4493. ],
  4494. "tags": [
  4495. "风险管理"
  4496. ],
  4497. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4498. "parameters": [
  4499. {
  4500. "type": "integer",
  4501. "description": "策略申请ID",
  4502. "name": "asapplyid",
  4503. "in": "query",
  4504. "required": true
  4505. },
  4506. {
  4507. "type": "integer",
  4508. "description": "现货合同ID",
  4509. "name": "spotcontractid",
  4510. "in": "query"
  4511. }
  4512. ],
  4513. "responses": {
  4514. "200": {
  4515. "description": "OK",
  4516. "schema": {
  4517. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4518. }
  4519. },
  4520. "500": {
  4521. "description": "Internal Server Error",
  4522. "schema": {
  4523. "$ref": "#/definitions/app.Response"
  4524. }
  4525. }
  4526. }
  4527. }
  4528. },
  4529. "/Erms3/AddErms2ASApply": {
  4530. "post": {
  4531. "security": [
  4532. {
  4533. "ApiKeyAuth": []
  4534. }
  4535. ],
  4536. "produces": [
  4537. "application/json"
  4538. ],
  4539. "tags": [
  4540. "风险管理v3"
  4541. ],
  4542. "summary": "新增期现套利业务申请",
  4543. "parameters": [
  4544. {
  4545. "description": "申请参数",
  4546. "name": "jsonBody",
  4547. "in": "body",
  4548. "required": true,
  4549. "schema": {
  4550. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4551. }
  4552. }
  4553. ],
  4554. "responses": {
  4555. "200": {
  4556. "description": "OK",
  4557. "schema": {
  4558. "$ref": "#/definitions/app.Response"
  4559. }
  4560. },
  4561. "500": {
  4562. "description": "Internal Server Error",
  4563. "schema": {
  4564. "$ref": "#/definitions/app.Response"
  4565. }
  4566. }
  4567. }
  4568. }
  4569. },
  4570. "/Erms3/AddErms2SpotTradeApply": {
  4571. "post": {
  4572. "security": [
  4573. {
  4574. "ApiKeyAuth": []
  4575. }
  4576. ],
  4577. "produces": [
  4578. "application/json"
  4579. ],
  4580. "tags": [
  4581. "风险管理v3"
  4582. ],
  4583. "summary": "新增现货贸易业务申请",
  4584. "parameters": [
  4585. {
  4586. "description": "申请参数",
  4587. "name": "jsonBody",
  4588. "in": "body",
  4589. "required": true,
  4590. "schema": {
  4591. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4592. }
  4593. }
  4594. ],
  4595. "responses": {
  4596. "200": {
  4597. "description": "OK",
  4598. "schema": {
  4599. "$ref": "#/definitions/app.Response"
  4600. }
  4601. },
  4602. "500": {
  4603. "description": "Internal Server Error",
  4604. "schema": {
  4605. "$ref": "#/definitions/app.Response"
  4606. }
  4607. }
  4608. }
  4609. }
  4610. },
  4611. "/Erms3/AddSpotContractApply": {
  4612. "post": {
  4613. "security": [
  4614. {
  4615. "ApiKeyAuth": []
  4616. }
  4617. ],
  4618. "produces": [
  4619. "application/json"
  4620. ],
  4621. "tags": [
  4622. "风险管理v3"
  4623. ],
  4624. "summary": "新增现货合同申请",
  4625. "parameters": [
  4626. {
  4627. "description": "申请参数",
  4628. "name": "jsonBody",
  4629. "in": "body",
  4630. "required": true,
  4631. "schema": {
  4632. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4633. }
  4634. }
  4635. ],
  4636. "responses": {
  4637. "200": {
  4638. "description": "OK",
  4639. "schema": {
  4640. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4641. }
  4642. },
  4643. "500": {
  4644. "description": "Internal Server Error",
  4645. "schema": {
  4646. "$ref": "#/definitions/app.Response"
  4647. }
  4648. }
  4649. }
  4650. }
  4651. },
  4652. "/Erms3/AddUserInfoApply": {
  4653. "post": {
  4654. "security": [
  4655. {
  4656. "ApiKeyAuth": []
  4657. }
  4658. ],
  4659. "produces": [
  4660. "application/json"
  4661. ],
  4662. "tags": [
  4663. "风险管理v3"
  4664. ],
  4665. "summary": "新增客户申请",
  4666. "parameters": [
  4667. {
  4668. "description": "用户信息",
  4669. "name": "jsonBody",
  4670. "in": "body",
  4671. "required": true,
  4672. "schema": {
  4673. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4674. }
  4675. }
  4676. ],
  4677. "responses": {
  4678. "200": {
  4679. "description": "OK",
  4680. "schema": {
  4681. "$ref": "#/definitions/app.Response"
  4682. }
  4683. },
  4684. "500": {
  4685. "description": "Internal Server Error",
  4686. "schema": {
  4687. "$ref": "#/definitions/app.Response"
  4688. }
  4689. }
  4690. }
  4691. }
  4692. },
  4693. "/Erms3/DeleteUserInfoApply": {
  4694. "get": {
  4695. "security": [
  4696. {
  4697. "ApiKeyAuth": []
  4698. }
  4699. ],
  4700. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4701. "produces": [
  4702. "application/json"
  4703. ],
  4704. "tags": [
  4705. "风险管理v3"
  4706. ],
  4707. "summary": "删除客户申请",
  4708. "parameters": [
  4709. {
  4710. "type": "integer",
  4711. "description": "用户ID",
  4712. "name": "userID",
  4713. "in": "query",
  4714. "required": true
  4715. }
  4716. ],
  4717. "responses": {
  4718. "200": {
  4719. "description": "OK",
  4720. "schema": {
  4721. "$ref": "#/definitions/app.Response"
  4722. }
  4723. },
  4724. "500": {
  4725. "description": "Internal Server Error",
  4726. "schema": {
  4727. "$ref": "#/definitions/app.Response"
  4728. }
  4729. }
  4730. }
  4731. }
  4732. },
  4733. "/Erms3/ModifyUserInfoApply": {
  4734. "post": {
  4735. "security": [
  4736. {
  4737. "ApiKeyAuth": []
  4738. }
  4739. ],
  4740. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4741. "produces": [
  4742. "application/json"
  4743. ],
  4744. "tags": [
  4745. "风险管理v3"
  4746. ],
  4747. "summary": "修改客户申请",
  4748. "parameters": [
  4749. {
  4750. "description": "用户信息",
  4751. "name": "jsonBody",
  4752. "in": "body",
  4753. "required": true,
  4754. "schema": {
  4755. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4756. }
  4757. }
  4758. ],
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "$ref": "#/definitions/app.Response"
  4764. }
  4765. },
  4766. "500": {
  4767. "description": "Internal Server Error",
  4768. "schema": {
  4769. "$ref": "#/definitions/app.Response"
  4770. }
  4771. }
  4772. }
  4773. }
  4774. },
  4775. "/Erms3/QueryBusinessInfo": {
  4776. "get": {
  4777. "security": [
  4778. {
  4779. "ApiKeyAuth": []
  4780. }
  4781. ],
  4782. "produces": [
  4783. "application/json"
  4784. ],
  4785. "tags": [
  4786. "风险管理v3"
  4787. ],
  4788. "summary": "查询业务表单数据",
  4789. "parameters": [
  4790. {
  4791. "type": "string",
  4792. "description": "资金账号ID列表,用逗号分隔",
  4793. "name": "accountids",
  4794. "in": "query",
  4795. "required": true
  4796. },
  4797. {
  4798. "type": "integer",
  4799. "description": "状态,0为未结束 1为已结束",
  4800. "name": "status",
  4801. "in": "query",
  4802. "required": true
  4803. }
  4804. ],
  4805. "responses": {
  4806. "200": {
  4807. "description": "OK",
  4808. "schema": {
  4809. "type": "array",
  4810. "items": {
  4811. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4812. }
  4813. }
  4814. },
  4815. "500": {
  4816. "description": "Internal Server Error",
  4817. "schema": {
  4818. "$ref": "#/definitions/app.Response"
  4819. }
  4820. }
  4821. }
  4822. }
  4823. },
  4824. "/Erms3/QueryPendingAuditContract": {
  4825. "get": {
  4826. "security": [
  4827. {
  4828. "ApiKeyAuth": []
  4829. }
  4830. ],
  4831. "produces": [
  4832. "application/json"
  4833. ],
  4834. "tags": [
  4835. "风险管理v3"
  4836. ],
  4837. "summary": "查询待审核合同",
  4838. "parameters": [
  4839. {
  4840. "type": "string",
  4841. "description": "资金账号ID列表,逗号隔开",
  4842. "name": "accountids",
  4843. "in": "query",
  4844. "required": true
  4845. },
  4846. {
  4847. "type": "integer",
  4848. "description": "合同类型 1-采购 -1-销售",
  4849. "name": "contracttype",
  4850. "in": "query",
  4851. "required": true
  4852. },
  4853. {
  4854. "type": "integer",
  4855. "description": "合同模式 1-普通 2-回购",
  4856. "name": "contractmode",
  4857. "in": "query",
  4858. "required": true
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "type": "array",
  4866. "items": {
  4867. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4868. }
  4869. }
  4870. },
  4871. "500": {
  4872. "description": "Internal Server Error",
  4873. "schema": {
  4874. "$ref": "#/definitions/app.Response"
  4875. }
  4876. }
  4877. }
  4878. }
  4879. },
  4880. "/Erms3/QueryPendingBusiness": {
  4881. "get": {
  4882. "security": [
  4883. {
  4884. "ApiKeyAuth": []
  4885. }
  4886. ],
  4887. "produces": [
  4888. "application/json"
  4889. ],
  4890. "tags": [
  4891. "风险管理v3"
  4892. ],
  4893. "summary": "查询待审核基差贸易业务",
  4894. "parameters": [
  4895. {
  4896. "type": "string",
  4897. "description": "资金账号ID列表,逗号隔开",
  4898. "name": "accountids",
  4899. "in": "query",
  4900. "required": true
  4901. }
  4902. ],
  4903. "responses": {
  4904. "200": {
  4905. "description": "OK",
  4906. "schema": {
  4907. "type": "array",
  4908. "items": {
  4909. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4910. }
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/Erms3/QuerySpotContractAppleForm": {
  4923. "get": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "风险管理v3"
  4934. ],
  4935. "summary": "查询合同申请表单数据",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "登录账号",
  4940. "name": "loginID",
  4941. "in": "query",
  4942. "required": true
  4943. }
  4944. ],
  4945. "responses": {
  4946. "200": {
  4947. "description": "OK",
  4948. "schema": {
  4949. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4950. }
  4951. },
  4952. "500": {
  4953. "description": "Internal Server Error",
  4954. "schema": {
  4955. "$ref": "#/definitions/app.Response"
  4956. }
  4957. }
  4958. }
  4959. }
  4960. },
  4961. "/Erms3/QuerySpotContractDetail": {
  4962. "get": {
  4963. "security": [
  4964. {
  4965. "ApiKeyAuth": []
  4966. }
  4967. ],
  4968. "produces": [
  4969. "application/json"
  4970. ],
  4971. "tags": [
  4972. "风险管理v3"
  4973. ],
  4974. "summary": "查询合同详细信息",
  4975. "parameters": [
  4976. {
  4977. "type": "string",
  4978. "description": "资金账号ID列表,用逗号分隔",
  4979. "name": "accountids",
  4980. "in": "query",
  4981. "required": true
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "合同类型,1为采购合同 -1为销售合同",
  4986. "name": "contracttype",
  4987. "in": "query",
  4988. "required": true
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "合同模式,1为普通合同 2为回购销售合同",
  4993. "name": "contractmode",
  4994. "in": "query",
  4995. "required": true
  4996. },
  4997. {
  4998. "type": "integer",
  4999. "description": "状态,0为履约中 1为已完成",
  5000. "name": "status",
  5001. "in": "query",
  5002. "required": true
  5003. }
  5004. ],
  5005. "responses": {
  5006. "200": {
  5007. "description": "OK",
  5008. "schema": {
  5009. "type": "array",
  5010. "items": {
  5011. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5012. }
  5013. }
  5014. },
  5015. "500": {
  5016. "description": "Internal Server Error",
  5017. "schema": {
  5018. "$ref": "#/definitions/app.Response"
  5019. }
  5020. }
  5021. }
  5022. }
  5023. },
  5024. "/Erms3/QueryUserInfoApplies": {
  5025. "get": {
  5026. "security": [
  5027. {
  5028. "ApiKeyAuth": []
  5029. }
  5030. ],
  5031. "produces": [
  5032. "application/json"
  5033. ],
  5034. "tags": [
  5035. "风险管理v3"
  5036. ],
  5037. "summary": "客户申请信息查询",
  5038. "parameters": [
  5039. {
  5040. "type": "integer",
  5041. "description": "页码",
  5042. "name": "page",
  5043. "in": "query"
  5044. },
  5045. {
  5046. "type": "integer",
  5047. "description": "每页条数",
  5048. "name": "pagesize",
  5049. "in": "query"
  5050. },
  5051. {
  5052. "type": "string",
  5053. "description": "客户名称,支持模糊查询",
  5054. "name": "userName",
  5055. "in": "query"
  5056. }
  5057. ],
  5058. "responses": {
  5059. "200": {
  5060. "description": "OK",
  5061. "schema": {
  5062. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5063. }
  5064. },
  5065. "500": {
  5066. "description": "Internal Server Error",
  5067. "schema": {
  5068. "$ref": "#/definitions/app.Response"
  5069. }
  5070. }
  5071. }
  5072. }
  5073. },
  5074. "/Erms3/QueryUserInfos": {
  5075. "get": {
  5076. "security": [
  5077. {
  5078. "ApiKeyAuth": []
  5079. }
  5080. ],
  5081. "produces": [
  5082. "application/json"
  5083. ],
  5084. "tags": [
  5085. "风险管理v3"
  5086. ],
  5087. "summary": "客户信息查询",
  5088. "parameters": [
  5089. {
  5090. "type": "integer",
  5091. "description": "页码",
  5092. "name": "page",
  5093. "in": "query"
  5094. },
  5095. {
  5096. "type": "integer",
  5097. "description": "每页条数",
  5098. "name": "pagesize",
  5099. "in": "query"
  5100. },
  5101. {
  5102. "type": "string",
  5103. "description": "客户名称,支持模糊查询",
  5104. "name": "userName",
  5105. "in": "query"
  5106. }
  5107. ],
  5108. "responses": {
  5109. "200": {
  5110. "description": "OK",
  5111. "schema": {
  5112. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5113. }
  5114. },
  5115. "500": {
  5116. "description": "Internal Server Error",
  5117. "schema": {
  5118. "$ref": "#/definitions/app.Response"
  5119. }
  5120. }
  5121. }
  5122. }
  5123. },
  5124. "/HSBY/GetHsbyMyCount": {
  5125. "get": {
  5126. "security": [
  5127. {
  5128. "ApiKeyAuth": []
  5129. }
  5130. ],
  5131. "description": "说明: 不包括已完成的数量。",
  5132. "produces": [
  5133. "application/json"
  5134. ],
  5135. "tags": [
  5136. "定制【海商报业】"
  5137. ],
  5138. "summary": "获取我的订单与包裹数量",
  5139. "parameters": [
  5140. {
  5141. "type": "string",
  5142. "description": "资金账户列表,格式:1,2,3",
  5143. "name": "accountIDs",
  5144. "in": "query",
  5145. "required": true
  5146. }
  5147. ],
  5148. "responses": {
  5149. "200": {
  5150. "description": "OK",
  5151. "schema": {
  5152. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5153. }
  5154. },
  5155. "500": {
  5156. "description": "Internal Server Error",
  5157. "schema": {
  5158. "$ref": "#/definitions/app.Response"
  5159. }
  5160. }
  5161. }
  5162. }
  5163. },
  5164. "/HSBY/QueryClientFixedADConfigs": {
  5165. "get": {
  5166. "security": [
  5167. {
  5168. "ApiKeyAuth": []
  5169. }
  5170. ],
  5171. "produces": [
  5172. "application/json"
  5173. ],
  5174. "tags": [
  5175. "定制【海商报业】"
  5176. ],
  5177. "summary": "获取终端固定广告配置",
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "$ref": "#/definitions/models.Clientfixedadconfig"
  5183. }
  5184. },
  5185. "500": {
  5186. "description": "Internal Server Error",
  5187. "schema": {
  5188. "$ref": "#/definitions/app.Response"
  5189. }
  5190. }
  5191. }
  5192. }
  5193. },
  5194. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5195. "get": {
  5196. "security": [
  5197. {
  5198. "ApiKeyAuth": []
  5199. }
  5200. ],
  5201. "produces": [
  5202. "application/json"
  5203. ],
  5204. "tags": [
  5205. "定制【海商报业】"
  5206. ],
  5207. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5208. "parameters": [
  5209. {
  5210. "type": "integer",
  5211. "description": "页码",
  5212. "name": "page",
  5213. "in": "query"
  5214. },
  5215. {
  5216. "type": "integer",
  5217. "description": "每页条数",
  5218. "name": "pagesize",
  5219. "in": "query"
  5220. },
  5221. {
  5222. "type": "string",
  5223. "description": "资金账户列表,格式:1,2,3",
  5224. "name": "accountIDs",
  5225. "in": "query",
  5226. "required": true
  5227. }
  5228. ],
  5229. "responses": {
  5230. "200": {
  5231. "description": "OK",
  5232. "schema": {
  5233. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5234. }
  5235. },
  5236. "500": {
  5237. "description": "Internal Server Error",
  5238. "schema": {
  5239. "$ref": "#/definitions/app.Response"
  5240. }
  5241. }
  5242. }
  5243. }
  5244. },
  5245. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5246. "get": {
  5247. "security": [
  5248. {
  5249. "ApiKeyAuth": []
  5250. }
  5251. ],
  5252. "description": "说明:查询结果已按委托价格和委托时间排序",
  5253. "produces": [
  5254. "application/json"
  5255. ],
  5256. "tags": [
  5257. "定制【海商报业】"
  5258. ],
  5259. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5260. "parameters": [
  5261. {
  5262. "type": "integer",
  5263. "description": "商品ID",
  5264. "name": "goodsID",
  5265. "in": "query",
  5266. "required": true
  5267. },
  5268. {
  5269. "type": "string",
  5270. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5271. "name": "accountIDs",
  5272. "in": "query"
  5273. },
  5274. {
  5275. "type": "integer",
  5276. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5277. "name": "buyOrSell",
  5278. "in": "query"
  5279. },
  5280. {
  5281. "type": "number",
  5282. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5283. "name": "price",
  5284. "in": "query"
  5285. },
  5286. {
  5287. "type": "integer",
  5288. "description": "档位,不传则默认为3档",
  5289. "name": "speed",
  5290. "in": "query"
  5291. }
  5292. ],
  5293. "responses": {
  5294. "200": {
  5295. "description": "OK",
  5296. "schema": {
  5297. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5298. }
  5299. },
  5300. "500": {
  5301. "description": "Internal Server Error",
  5302. "schema": {
  5303. "$ref": "#/definitions/app.Response"
  5304. }
  5305. }
  5306. }
  5307. }
  5308. },
  5309. "/HSBY/QueryHsbyListingGoodsDetail": {
  5310. "get": {
  5311. "security": [
  5312. {
  5313. "ApiKeyAuth": []
  5314. }
  5315. ],
  5316. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5317. "produces": [
  5318. "application/json"
  5319. ],
  5320. "tags": [
  5321. "定制【海商报业】"
  5322. ],
  5323. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5324. "parameters": [
  5325. {
  5326. "type": "integer",
  5327. "description": "商品ID",
  5328. "name": "goodsID",
  5329. "in": "query",
  5330. "required": true
  5331. },
  5332. {
  5333. "type": "integer",
  5334. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5335. "name": "accountID",
  5336. "in": "query"
  5337. }
  5338. ],
  5339. "responses": {
  5340. "200": {
  5341. "description": "OK",
  5342. "schema": {
  5343. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5344. }
  5345. },
  5346. "500": {
  5347. "description": "Internal Server Error",
  5348. "schema": {
  5349. "$ref": "#/definitions/app.Response"
  5350. }
  5351. }
  5352. }
  5353. }
  5354. },
  5355. "/HSBY/QueryHsbyMarketGoodsDetail": {
  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": "委托单号",
  5373. "name": "orderID",
  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.HsbyMarketGoodsDetail"
  5389. }
  5390. },
  5391. "500": {
  5392. "description": "Internal Server Error",
  5393. "schema": {
  5394. "$ref": "#/definitions/app.Response"
  5395. }
  5396. }
  5397. }
  5398. }
  5399. },
  5400. "/HSBY/QueryHsbyMarketGoodses": {
  5401. "get": {
  5402. "security": [
  5403. {
  5404. "ApiKeyAuth": []
  5405. }
  5406. ],
  5407. "produces": [
  5408. "application/json"
  5409. ],
  5410. "tags": [
  5411. "定制【海商报业】"
  5412. ],
  5413. "summary": "查询特卖商品列表(三级商城)",
  5414. "parameters": [
  5415. {
  5416. "type": "integer",
  5417. "description": "页码",
  5418. "name": "page",
  5419. "in": "query"
  5420. },
  5421. {
  5422. "type": "integer",
  5423. "description": "每页条数",
  5424. "name": "pagesize",
  5425. "in": "query"
  5426. },
  5427. {
  5428. "type": "string",
  5429. "description": "市场ID列表,格式:1,2,3",
  5430. "name": "marketIDs",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5437. "name": "accountID",
  5438. "in": "query",
  5439. "required": true
  5440. },
  5441. {
  5442. "type": "integer",
  5443. "description": "类别ID",
  5444. "name": "categoryID",
  5445. "in": "query"
  5446. },
  5447. {
  5448. "type": "string",
  5449. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5450. "name": "goodsIDs",
  5451. "in": "query"
  5452. },
  5453. {
  5454. "type": "integer",
  5455. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5456. "name": "couponTypeID",
  5457. "in": "query"
  5458. }
  5459. ],
  5460. "responses": {
  5461. "200": {
  5462. "description": "OK",
  5463. "schema": {
  5464. "$ref": "#/definitions/models.HsbyMarketGoods"
  5465. }
  5466. },
  5467. "500": {
  5468. "description": "Internal Server Error",
  5469. "schema": {
  5470. "$ref": "#/definitions/app.Response"
  5471. }
  5472. }
  5473. }
  5474. }
  5475. },
  5476. "/HSBY/QueryHsbyMarkets": {
  5477. "get": {
  5478. "security": [
  5479. {
  5480. "ApiKeyAuth": []
  5481. }
  5482. ],
  5483. "produces": [
  5484. "application/json"
  5485. ],
  5486. "tags": [
  5487. "定制【海商报业】"
  5488. ],
  5489. "summary": "查询海商报业相关市场信息",
  5490. "responses": {
  5491. "200": {
  5492. "description": "OK",
  5493. "schema": {
  5494. "$ref": "#/definitions/models.HsbyMarketInfo"
  5495. }
  5496. },
  5497. "500": {
  5498. "description": "Internal Server Error",
  5499. "schema": {
  5500. "$ref": "#/definitions/app.Response"
  5501. }
  5502. }
  5503. }
  5504. }
  5505. },
  5506. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5507. "get": {
  5508. "security": [
  5509. {
  5510. "ApiKeyAuth": []
  5511. }
  5512. ],
  5513. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5514. "produces": [
  5515. "application/json"
  5516. ],
  5517. "tags": [
  5518. "定制【海商报业】"
  5519. ],
  5520. "summary": "查询“我的订单”信息",
  5521. "parameters": [
  5522. {
  5523. "type": "string",
  5524. "description": "资金账户列表,格式:1,2,3",
  5525. "name": "accountIDs",
  5526. "in": "query",
  5527. "required": true
  5528. }
  5529. ],
  5530. "responses": {
  5531. "200": {
  5532. "description": "OK",
  5533. "schema": {
  5534. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5535. }
  5536. },
  5537. "500": {
  5538. "description": "Internal Server Error",
  5539. "schema": {
  5540. "$ref": "#/definitions/app.Response"
  5541. }
  5542. }
  5543. }
  5544. }
  5545. },
  5546. "/HSBY/QueryHsbyMyGoods": {
  5547. "get": {
  5548. "security": [
  5549. {
  5550. "ApiKeyAuth": []
  5551. }
  5552. ],
  5553. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5554. "produces": [
  5555. "application/json"
  5556. ],
  5557. "tags": [
  5558. "定制【海商报业】"
  5559. ],
  5560. "summary": "查询“我的商品”信息",
  5561. "parameters": [
  5562. {
  5563. "type": "string",
  5564. "description": "资金账户列表,格式:1,2,3",
  5565. "name": "accountIDs",
  5566. "in": "query",
  5567. "required": true
  5568. }
  5569. ],
  5570. "responses": {
  5571. "200": {
  5572. "description": "OK",
  5573. "schema": {
  5574. "$ref": "#/definitions/models.HsbyMyGoods"
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/app.Response"
  5581. }
  5582. }
  5583. }
  5584. }
  5585. },
  5586. "/HSBY/QueryHsbyMyPackages": {
  5587. "get": {
  5588. "security": [
  5589. {
  5590. "ApiKeyAuth": []
  5591. }
  5592. ],
  5593. "produces": [
  5594. "application/json"
  5595. ],
  5596. "tags": [
  5597. "定制【海商报业】"
  5598. ],
  5599. "summary": "查询我的包裹信息",
  5600. "parameters": [
  5601. {
  5602. "type": "string",
  5603. "description": "资金账户列表,格式:1,2,3",
  5604. "name": "accountIDs",
  5605. "in": "query",
  5606. "required": true
  5607. },
  5608. {
  5609. "type": "integer",
  5610. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5611. "name": "takeOrderStatus",
  5612. "in": "query"
  5613. }
  5614. ],
  5615. "responses": {
  5616. "200": {
  5617. "description": "OK",
  5618. "schema": {
  5619. "$ref": "#/definitions/models.HsbyMyPackage"
  5620. }
  5621. },
  5622. "500": {
  5623. "description": "Internal Server Error",
  5624. "schema": {
  5625. "$ref": "#/definitions/app.Response"
  5626. }
  5627. }
  5628. }
  5629. }
  5630. },
  5631. "/HSBY/QueryHsbyPreGoodsDetail": {
  5632. "get": {
  5633. "security": [
  5634. {
  5635. "ApiKeyAuth": []
  5636. }
  5637. ],
  5638. "produces": [
  5639. "application/json"
  5640. ],
  5641. "tags": [
  5642. "定制【海商报业】"
  5643. ],
  5644. "summary": "查询一级市场(预售)商品信息详情",
  5645. "parameters": [
  5646. {
  5647. "type": "integer",
  5648. "description": "商品ID",
  5649. "name": "goodsID",
  5650. "in": "query",
  5651. "required": true
  5652. },
  5653. {
  5654. "type": "integer",
  5655. "description": "资金账户,主要用于获取预售商品购买上限",
  5656. "name": "accountID",
  5657. "in": "query"
  5658. }
  5659. ],
  5660. "responses": {
  5661. "200": {
  5662. "description": "OK",
  5663. "schema": {
  5664. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5665. }
  5666. },
  5667. "500": {
  5668. "description": "Internal Server Error",
  5669. "schema": {
  5670. "$ref": "#/definitions/app.Response"
  5671. }
  5672. }
  5673. }
  5674. }
  5675. },
  5676. "/HSBY/QueryHsbyPreGoodses": {
  5677. "get": {
  5678. "security": [
  5679. {
  5680. "ApiKeyAuth": []
  5681. }
  5682. ],
  5683. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5684. "produces": [
  5685. "application/json"
  5686. ],
  5687. "tags": [
  5688. "定制【海商报业】"
  5689. ],
  5690. "summary": "查询新品上市商品列表(一级市场预售)",
  5691. "parameters": [
  5692. {
  5693. "type": "integer",
  5694. "description": "页码",
  5695. "name": "page",
  5696. "in": "query"
  5697. },
  5698. {
  5699. "type": "integer",
  5700. "description": "每页条数",
  5701. "name": "pagesize",
  5702. "in": "query"
  5703. },
  5704. {
  5705. "type": "string",
  5706. "description": "市场ID列表,格式:1,2,3",
  5707. "name": "marketIDs",
  5708. "in": "query",
  5709. "required": true
  5710. },
  5711. {
  5712. "type": "integer",
  5713. "description": "目的地(省)ID",
  5714. "name": "descProvinceID",
  5715. "in": "query"
  5716. },
  5717. {
  5718. "type": "integer",
  5719. "description": "目的地(市)ID",
  5720. "name": "descCityID",
  5721. "in": "query"
  5722. }
  5723. ],
  5724. "responses": {
  5725. "200": {
  5726. "description": "OK",
  5727. "schema": {
  5728. "$ref": "#/definitions/models.HsbyPreGoods"
  5729. }
  5730. },
  5731. "500": {
  5732. "description": "Internal Server Error",
  5733. "schema": {
  5734. "$ref": "#/definitions/app.Response"
  5735. }
  5736. }
  5737. }
  5738. }
  5739. },
  5740. "/HSBY/QueryHsbySellMyDetails": {
  5741. "get": {
  5742. "security": [
  5743. {
  5744. "ApiKeyAuth": []
  5745. }
  5746. ],
  5747. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5748. "produces": [
  5749. "application/json"
  5750. ],
  5751. "tags": [
  5752. "定制【海商报业】"
  5753. ],
  5754. "summary": "查询\"我的闲置\"单据信息",
  5755. "parameters": [
  5756. {
  5757. "type": "integer",
  5758. "description": "页码",
  5759. "name": "page",
  5760. "in": "query"
  5761. },
  5762. {
  5763. "type": "integer",
  5764. "description": "每页条数",
  5765. "name": "pagesize",
  5766. "in": "query"
  5767. },
  5768. {
  5769. "type": "string",
  5770. "description": "资金账户列表,格式:1,2,3",
  5771. "name": "accountIDs",
  5772. "in": "query",
  5773. "required": true
  5774. },
  5775. {
  5776. "type": "integer",
  5777. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5778. "name": "orderType",
  5779. "in": "query"
  5780. }
  5781. ],
  5782. "responses": {
  5783. "200": {
  5784. "description": "OK",
  5785. "schema": {
  5786. "$ref": "#/definitions/models.HsbySellMyDetail"
  5787. }
  5788. },
  5789. "500": {
  5790. "description": "Internal Server Error",
  5791. "schema": {
  5792. "$ref": "#/definitions/app.Response"
  5793. }
  5794. }
  5795. }
  5796. }
  5797. },
  5798. "/HSBY/QueryHsbyTopGoodses": {
  5799. "get": {
  5800. "security": [
  5801. {
  5802. "ApiKeyAuth": []
  5803. }
  5804. ],
  5805. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5806. "produces": [
  5807. "application/json"
  5808. ],
  5809. "tags": [
  5810. "定制【海商报业】"
  5811. ],
  5812. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5813. "parameters": [
  5814. {
  5815. "type": "integer",
  5816. "description": "页码",
  5817. "name": "page",
  5818. "in": "query"
  5819. },
  5820. {
  5821. "type": "integer",
  5822. "description": "每页条数",
  5823. "name": "pagesize",
  5824. "in": "query"
  5825. },
  5826. {
  5827. "type": "string",
  5828. "description": "市场ID列表,格式:1,2,3",
  5829. "name": "marketIDs",
  5830. "in": "query",
  5831. "required": true
  5832. },
  5833. {
  5834. "type": "integer",
  5835. "description": "目的地(省)ID",
  5836. "name": "descProvinceID",
  5837. "in": "query"
  5838. },
  5839. {
  5840. "type": "integer",
  5841. "description": "目的地(市)ID",
  5842. "name": "descCityID",
  5843. "in": "query"
  5844. }
  5845. ],
  5846. "responses": {
  5847. "200": {
  5848. "description": "OK",
  5849. "schema": {
  5850. "$ref": "#/definitions/models.HsbyTopGoods"
  5851. }
  5852. },
  5853. "500": {
  5854. "description": "Internal Server Error",
  5855. "schema": {
  5856. "$ref": "#/definitions/app.Response"
  5857. }
  5858. }
  5859. }
  5860. }
  5861. },
  5862. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5863. "get": {
  5864. "security": [
  5865. {
  5866. "ApiKeyAuth": []
  5867. }
  5868. ],
  5869. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5870. "produces": [
  5871. "application/json"
  5872. ],
  5873. "tags": [
  5874. "定制【海商报业】"
  5875. ],
  5876. "summary": "查询游客三级市场(商城)商品信息详情",
  5877. "parameters": [
  5878. {
  5879. "type": "integer",
  5880. "description": "商品ID",
  5881. "name": "goodsID",
  5882. "in": "query",
  5883. "required": true
  5884. }
  5885. ],
  5886. "responses": {
  5887. "200": {
  5888. "description": "OK",
  5889. "schema": {
  5890. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5891. }
  5892. },
  5893. "500": {
  5894. "description": "Internal Server Error",
  5895. "schema": {
  5896. "$ref": "#/definitions/app.Response"
  5897. }
  5898. }
  5899. }
  5900. }
  5901. },
  5902. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5903. "get": {
  5904. "security": [
  5905. {
  5906. "ApiKeyAuth": []
  5907. }
  5908. ],
  5909. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5910. "produces": [
  5911. "application/json"
  5912. ],
  5913. "tags": [
  5914. "定制【海商报业】"
  5915. ],
  5916. "summary": "查询游客特卖商品列表(三级商城)",
  5917. "parameters": [
  5918. {
  5919. "type": "integer",
  5920. "description": "页码",
  5921. "name": "page",
  5922. "in": "query"
  5923. },
  5924. {
  5925. "type": "integer",
  5926. "description": "每页条数",
  5927. "name": "pagesize",
  5928. "in": "query"
  5929. },
  5930. {
  5931. "type": "string",
  5932. "description": "市场ID列表,格式:1,2,3",
  5933. "name": "marketIDs",
  5934. "in": "query",
  5935. "required": true
  5936. },
  5937. {
  5938. "type": "integer",
  5939. "description": "类别ID",
  5940. "name": "categoryID",
  5941. "in": "query"
  5942. },
  5943. {
  5944. "type": "string",
  5945. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5946. "name": "goodsIDs",
  5947. "in": "query"
  5948. }
  5949. ],
  5950. "responses": {
  5951. "200": {
  5952. "description": "OK",
  5953. "schema": {
  5954. "$ref": "#/definitions/models.HsbyMarketGoods"
  5955. }
  5956. },
  5957. "500": {
  5958. "description": "Internal Server Error",
  5959. "schema": {
  5960. "$ref": "#/definitions/app.Response"
  5961. }
  5962. }
  5963. }
  5964. }
  5965. },
  5966. "/HSBY/QueryMyCollectionOrders": {
  5967. "get": {
  5968. "security": [
  5969. {
  5970. "ApiKeyAuth": []
  5971. }
  5972. ],
  5973. "produces": [
  5974. "application/json"
  5975. ],
  5976. "tags": [
  5977. "定制【海商报业】"
  5978. ],
  5979. "summary": "我的闲置中收款信息查询",
  5980. "parameters": [
  5981. {
  5982. "type": "integer",
  5983. "description": "页码",
  5984. "name": "page",
  5985. "in": "query"
  5986. },
  5987. {
  5988. "type": "integer",
  5989. "description": "每页条数",
  5990. "name": "pagesize",
  5991. "in": "query"
  5992. },
  5993. {
  5994. "type": "string",
  5995. "description": "资金账户,格式:1,2,3",
  5996. "name": "accountIDs",
  5997. "in": "query",
  5998. "required": true
  5999. }
  6000. ],
  6001. "responses": {
  6002. "200": {
  6003. "description": "OK",
  6004. "schema": {
  6005. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  6006. }
  6007. },
  6008. "500": {
  6009. "description": "Internal Server Error",
  6010. "schema": {
  6011. "$ref": "#/definitions/app.Response"
  6012. }
  6013. }
  6014. }
  6015. }
  6016. },
  6017. "/HSBY/QueryMyCouponHolds": {
  6018. "get": {
  6019. "security": [
  6020. {
  6021. "ApiKeyAuth": []
  6022. }
  6023. ],
  6024. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6025. "produces": [
  6026. "application/json"
  6027. ],
  6028. "tags": [
  6029. "定制【海商报业】"
  6030. ],
  6031. "summary": "我的优惠卷持仓查询",
  6032. "parameters": [
  6033. {
  6034. "type": "string",
  6035. "description": "资金账户列表,格式:1,2,3",
  6036. "name": "accountIDs",
  6037. "in": "query",
  6038. "required": true
  6039. },
  6040. {
  6041. "type": "string",
  6042. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6043. "name": "holdStatus",
  6044. "in": "query"
  6045. }
  6046. ],
  6047. "responses": {
  6048. "200": {
  6049. "description": "OK",
  6050. "schema": {
  6051. "$ref": "#/definitions/models.MyCouponHold"
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. }
  6060. }
  6061. }
  6062. },
  6063. "/HSBY/QueryMyCoupons": {
  6064. "get": {
  6065. "security": [
  6066. {
  6067. "ApiKeyAuth": []
  6068. }
  6069. ],
  6070. "produces": [
  6071. "application/json"
  6072. ],
  6073. "tags": [
  6074. "定制【海商报业】"
  6075. ],
  6076. "summary": "我的优惠卷查询",
  6077. "parameters": [
  6078. {
  6079. "type": "string",
  6080. "description": "资金账户列表,格式:1,2,3",
  6081. "name": "accountIDs",
  6082. "in": "query",
  6083. "required": true
  6084. },
  6085. {
  6086. "type": "integer",
  6087. "description": "商品ID, 一般与sellUserID配套传入",
  6088. "name": "goodsID",
  6089. "in": "query"
  6090. },
  6091. {
  6092. "type": "integer",
  6093. "description": "卖方UserID",
  6094. "name": "sellUserID",
  6095. "in": "query"
  6096. }
  6097. ],
  6098. "responses": {
  6099. "200": {
  6100. "description": "OK",
  6101. "schema": {
  6102. "$ref": "#/definitions/models.MyCoupon"
  6103. }
  6104. },
  6105. "500": {
  6106. "description": "Internal Server Error",
  6107. "schema": {
  6108. "$ref": "#/definitions/app.Response"
  6109. }
  6110. }
  6111. }
  6112. }
  6113. },
  6114. "/HSBY/QueryMyPayOrders": {
  6115. "get": {
  6116. "security": [
  6117. {
  6118. "ApiKeyAuth": []
  6119. }
  6120. ],
  6121. "produces": [
  6122. "application/json"
  6123. ],
  6124. "tags": [
  6125. "定制【海商报业】"
  6126. ],
  6127. "summary": "获取我的订单中待付款信息",
  6128. "parameters": [
  6129. {
  6130. "type": "integer",
  6131. "description": "页码",
  6132. "name": "page",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "integer",
  6137. "description": "每页条数",
  6138. "name": "pagesize",
  6139. "in": "query"
  6140. },
  6141. {
  6142. "type": "string",
  6143. "description": "资金账户列表,格式:1,2,3",
  6144. "name": "accountIDs",
  6145. "in": "query",
  6146. "required": true
  6147. },
  6148. {
  6149. "type": "integer",
  6150. "description": "买方委托单号",
  6151. "name": "buyOrderID",
  6152. "in": "query"
  6153. },
  6154. {
  6155. "type": "integer",
  6156. "description": "卖方委托单号",
  6157. "name": "sellOrderID",
  6158. "in": "query"
  6159. }
  6160. ],
  6161. "responses": {
  6162. "200": {
  6163. "description": "OK",
  6164. "schema": {
  6165. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6166. }
  6167. },
  6168. "500": {
  6169. "description": "Internal Server Error",
  6170. "schema": {
  6171. "$ref": "#/definitions/app.Response"
  6172. }
  6173. }
  6174. }
  6175. }
  6176. },
  6177. "/HSBY/QueryMyUsedCoupon": {
  6178. "get": {
  6179. "security": [
  6180. {
  6181. "ApiKeyAuth": []
  6182. }
  6183. ],
  6184. "produces": [
  6185. "application/json"
  6186. ],
  6187. "tags": [
  6188. "定制【海商报业】"
  6189. ],
  6190. "summary": "已使用优惠卷查询",
  6191. "parameters": [
  6192. {
  6193. "type": "string",
  6194. "description": "资金账户列表,格式:1,2,3",
  6195. "name": "accountIDs",
  6196. "in": "query",
  6197. "required": true
  6198. }
  6199. ],
  6200. "responses": {
  6201. "200": {
  6202. "description": "OK",
  6203. "schema": {
  6204. "$ref": "#/definitions/models.MyUsedCoupon"
  6205. }
  6206. },
  6207. "500": {
  6208. "description": "Internal Server Error",
  6209. "schema": {
  6210. "$ref": "#/definitions/app.Response"
  6211. }
  6212. }
  6213. }
  6214. }
  6215. },
  6216. "/HSBY/QueryProvincesAndCities": {
  6217. "get": {
  6218. "security": [
  6219. {
  6220. "ApiKeyAuth": []
  6221. }
  6222. ],
  6223. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6224. "produces": [
  6225. "application/json"
  6226. ],
  6227. "tags": [
  6228. "定制【海商报业】"
  6229. ],
  6230. "summary": "查询省市信息(不包括区)",
  6231. "parameters": [
  6232. {
  6233. "type": "integer",
  6234. "description": "省ID",
  6235. "name": "provinceID",
  6236. "in": "query"
  6237. }
  6238. ],
  6239. "responses": {
  6240. "200": {
  6241. "description": "OK",
  6242. "schema": {
  6243. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6244. }
  6245. },
  6246. "500": {
  6247. "description": "Internal Server Error",
  6248. "schema": {
  6249. "$ref": "#/definitions/app.Response"
  6250. }
  6251. }
  6252. }
  6253. }
  6254. },
  6255. "/HSBY/SetHsbyMyPackagesStatus": {
  6256. "post": {
  6257. "security": [
  6258. {
  6259. "ApiKeyAuth": []
  6260. }
  6261. ],
  6262. "produces": [
  6263. "application/json"
  6264. ],
  6265. "tags": [
  6266. "定制【海商报业】"
  6267. ],
  6268. "summary": "设置我的包裹已收货状态",
  6269. "parameters": [
  6270. {
  6271. "type": "string",
  6272. "description": "提货单号",
  6273. "name": "takeOrderID",
  6274. "in": "query",
  6275. "required": true
  6276. },
  6277. {
  6278. "type": "integer",
  6279. "description": "资金账号",
  6280. "name": "accountID",
  6281. "in": "query",
  6282. "required": true
  6283. }
  6284. ],
  6285. "responses": {
  6286. "200": {
  6287. "description": "OK",
  6288. "schema": {
  6289. "$ref": "#/definitions/app.Response"
  6290. }
  6291. },
  6292. "500": {
  6293. "description": "Internal Server Error",
  6294. "schema": {
  6295. "$ref": "#/definitions/app.Response"
  6296. }
  6297. }
  6298. }
  6299. }
  6300. },
  6301. "/Market/QueryGoodsesByLoginID": {
  6302. "get": {
  6303. "security": [
  6304. {
  6305. "ApiKeyAuth": []
  6306. }
  6307. ],
  6308. "produces": [
  6309. "application/json"
  6310. ],
  6311. "tags": [
  6312. "通用市场"
  6313. ],
  6314. "summary": "获取登录账号有权限的商品信息",
  6315. "parameters": [
  6316. {
  6317. "type": "integer",
  6318. "description": "登录账号",
  6319. "name": "loginID",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "string",
  6325. "description": "市场ID列表,格式:1,2,3",
  6326. "name": "marketIDs",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "$ref": "#/definitions/models.Goods"
  6335. }
  6336. },
  6337. "500": {
  6338. "description": "Internal Server Error",
  6339. "schema": {
  6340. "$ref": "#/definitions/app.Response"
  6341. }
  6342. }
  6343. }
  6344. }
  6345. },
  6346. "/Market/QueryMarketRun": {
  6347. "get": {
  6348. "security": [
  6349. {
  6350. "ApiKeyAuth": []
  6351. }
  6352. ],
  6353. "produces": [
  6354. "application/json"
  6355. ],
  6356. "tags": [
  6357. "通用市场"
  6358. ],
  6359. "summary": "查询市场运行信息",
  6360. "parameters": [
  6361. {
  6362. "type": "integer",
  6363. "description": "市场ID,不传返回所有",
  6364. "name": "marketID",
  6365. "in": "query"
  6366. }
  6367. ],
  6368. "responses": {
  6369. "200": {
  6370. "description": "OK",
  6371. "schema": {
  6372. "$ref": "#/definitions/models.Marketrun"
  6373. }
  6374. },
  6375. "500": {
  6376. "description": "Internal Server Error",
  6377. "schema": {
  6378. "$ref": "#/definitions/app.Response"
  6379. }
  6380. }
  6381. }
  6382. }
  6383. },
  6384. "/Market/QueryMarketsByLoginID": {
  6385. "get": {
  6386. "security": [
  6387. {
  6388. "ApiKeyAuth": []
  6389. }
  6390. ],
  6391. "produces": [
  6392. "application/json"
  6393. ],
  6394. "tags": [
  6395. "通用市场"
  6396. ],
  6397. "summary": "获取登录账号有权限的市场信息",
  6398. "parameters": [
  6399. {
  6400. "type": "integer",
  6401. "description": "登录账号",
  6402. "name": "loginID",
  6403. "in": "query",
  6404. "required": true
  6405. }
  6406. ],
  6407. "responses": {
  6408. "200": {
  6409. "description": "OK",
  6410. "schema": {
  6411. "$ref": "#/definitions/models.Market"
  6412. }
  6413. },
  6414. "500": {
  6415. "description": "Internal Server Error",
  6416. "schema": {
  6417. "$ref": "#/definitions/app.Response"
  6418. }
  6419. }
  6420. }
  6421. }
  6422. },
  6423. "/Order/QueryHisTradeDetail": {
  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": "integer",
  6447. "description": "成交单号",
  6448. "name": "tradeID",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "integer",
  6453. "description": "委托单号",
  6454. "name": "orderID",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "string",
  6459. "description": "交易模式 - 格式:1,2,3",
  6460. "name": "tradeMode",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "integer",
  6465. "description": "委托单据类型",
  6466. "name": "buildType",
  6467. "in": "query"
  6468. },
  6469. {
  6470. "type": "string",
  6471. "description": "成交类别 - 格式:1,2,3",
  6472. "name": "tradeType",
  6473. "in": "query"
  6474. },
  6475. {
  6476. "type": "string",
  6477. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6478. "name": "startDate",
  6479. "in": "query"
  6480. },
  6481. {
  6482. "type": "string",
  6483. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6484. "name": "endDate",
  6485. "in": "query"
  6486. }
  6487. ],
  6488. "responses": {
  6489. "200": {
  6490. "description": "OK",
  6491. "schema": {
  6492. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6493. }
  6494. },
  6495. "500": {
  6496. "description": "Internal Server Error",
  6497. "schema": {
  6498. "$ref": "#/definitions/app.Response"
  6499. }
  6500. }
  6501. }
  6502. }
  6503. },
  6504. "/Order/QueryHisTradeOrderDetail": {
  6505. "get": {
  6506. "security": [
  6507. {
  6508. "ApiKeyAuth": []
  6509. }
  6510. ],
  6511. "produces": [
  6512. "application/json"
  6513. ],
  6514. "tags": [
  6515. "通用单据"
  6516. ],
  6517. "summary": "历史委托单查询请求(合约市场)",
  6518. "parameters": [
  6519. {
  6520. "type": "string",
  6521. "description": "资金账户 - 格式:1,2,3",
  6522. "name": "accountID",
  6523. "in": "query",
  6524. "required": true
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "交易模式 - 格式:1,2,3",
  6529. "name": "tradeMode",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "string",
  6534. "description": "委托状态 - 格式:1,2,3",
  6535. "name": "orderStatus",
  6536. "in": "query"
  6537. },
  6538. {
  6539. "type": "integer",
  6540. "description": "委托单号",
  6541. "name": "orderID",
  6542. "in": "query"
  6543. },
  6544. {
  6545. "type": "string",
  6546. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6547. "name": "startDate",
  6548. "in": "query"
  6549. },
  6550. {
  6551. "type": "string",
  6552. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6553. "name": "endDate",
  6554. "in": "query"
  6555. }
  6556. ],
  6557. "responses": {
  6558. "200": {
  6559. "description": "OK",
  6560. "schema": {
  6561. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6562. }
  6563. },
  6564. "500": {
  6565. "description": "Internal Server Error",
  6566. "schema": {
  6567. "$ref": "#/definitions/app.Response"
  6568. }
  6569. }
  6570. }
  6571. }
  6572. },
  6573. "/Order/QueryTradeDetail": {
  6574. "get": {
  6575. "security": [
  6576. {
  6577. "ApiKeyAuth": []
  6578. }
  6579. ],
  6580. "produces": [
  6581. "application/json"
  6582. ],
  6583. "tags": [
  6584. "通用单据"
  6585. ],
  6586. "summary": "成交单查询(合约市场)",
  6587. "parameters": [
  6588. {
  6589. "type": "string",
  6590. "description": "资金账户 - 格式:1,2,3",
  6591. "name": "accountID",
  6592. "in": "query",
  6593. "required": true
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "成交单号",
  6598. "name": "tradeID",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "integer",
  6603. "description": "委托单号",
  6604. "name": "orderID",
  6605. "in": "query"
  6606. },
  6607. {
  6608. "type": "string",
  6609. "description": "交易模式 - 格式:1,2,3",
  6610. "name": "tradeMode",
  6611. "in": "query"
  6612. },
  6613. {
  6614. "type": "integer",
  6615. "description": "委托单据类型",
  6616. "name": "buildType",
  6617. "in": "query"
  6618. },
  6619. {
  6620. "type": "string",
  6621. "description": "成交类别 - 格式:1,2,3",
  6622. "name": "tradeType",
  6623. "in": "query"
  6624. }
  6625. ],
  6626. "responses": {
  6627. "200": {
  6628. "description": "OK",
  6629. "schema": {
  6630. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6631. }
  6632. },
  6633. "500": {
  6634. "description": "Internal Server Error",
  6635. "schema": {
  6636. "$ref": "#/definitions/app.Response"
  6637. }
  6638. }
  6639. }
  6640. }
  6641. },
  6642. "/Order/QueryTradeOrderDetail": {
  6643. "get": {
  6644. "security": [
  6645. {
  6646. "ApiKeyAuth": []
  6647. }
  6648. ],
  6649. "produces": [
  6650. "application/json"
  6651. ],
  6652. "tags": [
  6653. "通用单据"
  6654. ],
  6655. "summary": "委托单查询请求(合约市场)",
  6656. "parameters": [
  6657. {
  6658. "type": "string",
  6659. "description": "资金账户 - 格式:1,2,3",
  6660. "name": "accountID",
  6661. "in": "query",
  6662. "required": true
  6663. },
  6664. {
  6665. "type": "string",
  6666. "description": "交易模式 - 格式:1,2,3",
  6667. "name": "tradeMode",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "string",
  6672. "description": "委托状态 - 格式:1,2,3",
  6673. "name": "orderStatus",
  6674. "in": "query"
  6675. },
  6676. {
  6677. "type": "integer",
  6678. "description": "委托单号",
  6679. "name": "orderID",
  6680. "in": "query"
  6681. }
  6682. ],
  6683. "responses": {
  6684. "200": {
  6685. "description": "OK",
  6686. "schema": {
  6687. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6688. }
  6689. },
  6690. "500": {
  6691. "description": "Internal Server Error",
  6692. "schema": {
  6693. "$ref": "#/definitions/app.Response"
  6694. }
  6695. }
  6696. }
  6697. }
  6698. },
  6699. "/Order/QueryTradePosition": {
  6700. "get": {
  6701. "security": [
  6702. {
  6703. "ApiKeyAuth": []
  6704. }
  6705. ],
  6706. "produces": [
  6707. "application/json"
  6708. ],
  6709. "tags": [
  6710. "通用单据"
  6711. ],
  6712. "summary": "持仓汇总查询(合约市场)",
  6713. "parameters": [
  6714. {
  6715. "type": "string",
  6716. "description": "资金账户 - 格式:1,2,3",
  6717. "name": "accountID",
  6718. "in": "query",
  6719. "required": true
  6720. },
  6721. {
  6722. "type": "string",
  6723. "description": "交易模式 - 格式:1,2,3",
  6724. "name": "tradeMode",
  6725. "in": "query"
  6726. }
  6727. ],
  6728. "responses": {
  6729. "200": {
  6730. "description": "OK",
  6731. "schema": {
  6732. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6733. }
  6734. },
  6735. "500": {
  6736. "description": "Internal Server Error",
  6737. "schema": {
  6738. "$ref": "#/definitions/app.Response"
  6739. }
  6740. }
  6741. }
  6742. }
  6743. },
  6744. "/Qhj/QueryContract": {
  6745. "get": {
  6746. "security": [
  6747. {
  6748. "ApiKeyAuth": []
  6749. }
  6750. ],
  6751. "produces": [
  6752. "application/json"
  6753. ],
  6754. "tags": [
  6755. "大连千海金"
  6756. ],
  6757. "summary": "查询融资明细(合同)",
  6758. "parameters": [
  6759. {
  6760. "type": "integer",
  6761. "description": "用户ID",
  6762. "name": "userid",
  6763. "in": "query",
  6764. "required": true
  6765. },
  6766. {
  6767. "type": "integer",
  6768. "description": "scf合同id",
  6769. "name": "scfcontractid",
  6770. "in": "query"
  6771. }
  6772. ],
  6773. "responses": {
  6774. "200": {
  6775. "description": "OK",
  6776. "schema": {
  6777. "type": "array",
  6778. "items": {
  6779. "$ref": "#/definitions/models.QhjContract"
  6780. }
  6781. }
  6782. },
  6783. "500": {
  6784. "description": "Internal Server Error",
  6785. "schema": {
  6786. "$ref": "#/definitions/app.Response"
  6787. }
  6788. }
  6789. }
  6790. }
  6791. },
  6792. "/Qhj/QueryContractLog": {
  6793. "get": {
  6794. "security": [
  6795. {
  6796. "ApiKeyAuth": []
  6797. }
  6798. ],
  6799. "produces": [
  6800. "application/json"
  6801. ],
  6802. "tags": [
  6803. "大连千海金"
  6804. ],
  6805. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6806. "parameters": [
  6807. {
  6808. "type": "integer",
  6809. "description": "scf合同id",
  6810. "name": "scfcontractid",
  6811. "in": "query",
  6812. "required": true
  6813. },
  6814. {
  6815. "type": "string",
  6816. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6817. "name": "amounttype",
  6818. "in": "query"
  6819. }
  6820. ],
  6821. "responses": {
  6822. "200": {
  6823. "description": "OK",
  6824. "schema": {
  6825. "type": "array",
  6826. "items": {
  6827. "$ref": "#/definitions/models.QhjContractLog"
  6828. }
  6829. }
  6830. },
  6831. "500": {
  6832. "description": "Internal Server Error",
  6833. "schema": {
  6834. "$ref": "#/definitions/app.Response"
  6835. }
  6836. }
  6837. }
  6838. }
  6839. },
  6840. "/Qhj/QueryPickGoods": {
  6841. "get": {
  6842. "security": [
  6843. {
  6844. "ApiKeyAuth": []
  6845. }
  6846. ],
  6847. "produces": [
  6848. "application/json"
  6849. ],
  6850. "tags": [
  6851. "大连千海金"
  6852. ],
  6853. "summary": "查询提货商品",
  6854. "parameters": [
  6855. {
  6856. "type": "string",
  6857. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6858. "name": "status",
  6859. "in": "query"
  6860. }
  6861. ],
  6862. "responses": {
  6863. "200": {
  6864. "description": "OK",
  6865. "schema": {
  6866. "type": "array",
  6867. "items": {
  6868. "$ref": "#/definitions/models.QhjPickGoods"
  6869. }
  6870. }
  6871. },
  6872. "500": {
  6873. "description": "Internal Server Error",
  6874. "schema": {
  6875. "$ref": "#/definitions/app.Response"
  6876. }
  6877. }
  6878. }
  6879. }
  6880. },
  6881. "/Qhj/QueryRSTriggerLog": {
  6882. "get": {
  6883. "security": [
  6884. {
  6885. "ApiKeyAuth": []
  6886. }
  6887. ],
  6888. "produces": [
  6889. "application/json"
  6890. ],
  6891. "tags": [
  6892. "大连千海金"
  6893. ],
  6894. "summary": "查询定投记录(定投管理/详情/定投记录)",
  6895. "parameters": [
  6896. {
  6897. "type": "integer",
  6898. "description": "用户ID",
  6899. "name": "userid",
  6900. "in": "query",
  6901. "required": true
  6902. },
  6903. {
  6904. "type": "integer",
  6905. "description": "定投策略id",
  6906. "name": "regularlystrategyid",
  6907. "in": "query"
  6908. }
  6909. ],
  6910. "responses": {
  6911. "200": {
  6912. "description": "OK",
  6913. "schema": {
  6914. "type": "array",
  6915. "items": {
  6916. "$ref": "#/definitions/models.QhjRSTriggerLog"
  6917. }
  6918. }
  6919. },
  6920. "500": {
  6921. "description": "Internal Server Error",
  6922. "schema": {
  6923. "$ref": "#/definitions/app.Response"
  6924. }
  6925. }
  6926. }
  6927. }
  6928. },
  6929. "/Qhj/QueryRStrategy": {
  6930. "get": {
  6931. "security": [
  6932. {
  6933. "ApiKeyAuth": []
  6934. }
  6935. ],
  6936. "produces": [
  6937. "application/json"
  6938. ],
  6939. "tags": [
  6940. "大连千海金"
  6941. ],
  6942. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  6943. "parameters": [
  6944. {
  6945. "type": "integer",
  6946. "description": "用户ID",
  6947. "name": "userid",
  6948. "in": "query",
  6949. "required": true
  6950. },
  6951. {
  6952. "type": "string",
  6953. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  6954. "name": "status",
  6955. "in": "query"
  6956. }
  6957. ],
  6958. "responses": {
  6959. "200": {
  6960. "description": "OK",
  6961. "schema": {
  6962. "type": "array",
  6963. "items": {
  6964. "$ref": "#/definitions/models.QhjRStrategy"
  6965. }
  6966. }
  6967. },
  6968. "500": {
  6969. "description": "Internal Server Error",
  6970. "schema": {
  6971. "$ref": "#/definitions/app.Response"
  6972. }
  6973. }
  6974. }
  6975. }
  6976. },
  6977. "/Qhj/QueryTradeGoodsPickup": {
  6978. "get": {
  6979. "security": [
  6980. {
  6981. "ApiKeyAuth": []
  6982. }
  6983. ],
  6984. "produces": [
  6985. "application/json"
  6986. ],
  6987. "tags": [
  6988. "大连千海金"
  6989. ],
  6990. "summary": "查询提货",
  6991. "parameters": [
  6992. {
  6993. "type": "integer",
  6994. "description": "用户ID",
  6995. "name": "userid",
  6996. "in": "query",
  6997. "required": true
  6998. }
  6999. ],
  7000. "responses": {
  7001. "200": {
  7002. "description": "OK",
  7003. "schema": {
  7004. "type": "array",
  7005. "items": {
  7006. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7007. }
  7008. }
  7009. },
  7010. "500": {
  7011. "description": "Internal Server Error",
  7012. "schema": {
  7013. "$ref": "#/definitions/app.Response"
  7014. }
  7015. }
  7016. }
  7017. }
  7018. },
  7019. "/Qhj/QueryUserCollectConfig": {
  7020. "get": {
  7021. "security": [
  7022. {
  7023. "ApiKeyAuth": []
  7024. }
  7025. ],
  7026. "produces": [
  7027. "application/json"
  7028. ],
  7029. "tags": [
  7030. "大连千海金"
  7031. ],
  7032. "summary": "查询提现账户设置",
  7033. "parameters": [
  7034. {
  7035. "type": "integer",
  7036. "description": "用户ID",
  7037. "name": "userid",
  7038. "in": "query",
  7039. "required": true
  7040. }
  7041. ],
  7042. "responses": {
  7043. "200": {
  7044. "description": "OK",
  7045. "schema": {
  7046. "type": "array",
  7047. "items": {
  7048. "$ref": "#/definitions/models.UserCollectConfig"
  7049. }
  7050. }
  7051. },
  7052. "500": {
  7053. "description": "Internal Server Error",
  7054. "schema": {
  7055. "$ref": "#/definitions/app.Response"
  7056. }
  7057. }
  7058. }
  7059. }
  7060. },
  7061. "/Qhj/QueryUserReceiveInfo": {
  7062. "get": {
  7063. "security": [
  7064. {
  7065. "ApiKeyAuth": []
  7066. }
  7067. ],
  7068. "produces": [
  7069. "application/json"
  7070. ],
  7071. "tags": [
  7072. "大连千海金"
  7073. ],
  7074. "summary": "查询收货地址信息",
  7075. "parameters": [
  7076. {
  7077. "type": "integer",
  7078. "description": "用户ID",
  7079. "name": "userid",
  7080. "in": "query",
  7081. "required": true
  7082. }
  7083. ],
  7084. "responses": {
  7085. "200": {
  7086. "description": "OK",
  7087. "schema": {
  7088. "type": "array",
  7089. "items": {
  7090. "$ref": "#/definitions/models.UserReceiveInfo"
  7091. }
  7092. }
  7093. },
  7094. "500": {
  7095. "description": "Internal Server Error",
  7096. "schema": {
  7097. "$ref": "#/definitions/app.Response"
  7098. }
  7099. }
  7100. }
  7101. }
  7102. },
  7103. "/Quote/QueryHistoryDatas": {
  7104. "get": {
  7105. "security": [
  7106. {
  7107. "ApiKeyAuth": []
  7108. }
  7109. ],
  7110. "produces": [
  7111. "application/json"
  7112. ],
  7113. "tags": [
  7114. "行情服务"
  7115. ],
  7116. "summary": "查询行情历史数据",
  7117. "parameters": [
  7118. {
  7119. "type": "integer",
  7120. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7121. "name": "cycleType",
  7122. "in": "query",
  7123. "required": true
  7124. },
  7125. {
  7126. "type": "string",
  7127. "description": "商品代码",
  7128. "name": "goodsCode",
  7129. "in": "query",
  7130. "required": true
  7131. },
  7132. {
  7133. "type": "string",
  7134. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7135. "name": "startTime",
  7136. "in": "query"
  7137. },
  7138. {
  7139. "type": "string",
  7140. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7141. "name": "endTime",
  7142. "in": "query"
  7143. },
  7144. {
  7145. "type": "integer",
  7146. "description": "条数",
  7147. "name": "count",
  7148. "in": "query"
  7149. },
  7150. {
  7151. "type": "boolean",
  7152. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7153. "name": "isAsc",
  7154. "in": "query"
  7155. }
  7156. ],
  7157. "responses": {
  7158. "200": {
  7159. "description": "OK",
  7160. "schema": {
  7161. "$ref": "#/definitions/quote.HistoryData"
  7162. }
  7163. },
  7164. "500": {
  7165. "description": "Internal Server Error",
  7166. "schema": {
  7167. "$ref": "#/definitions/app.Response"
  7168. }
  7169. }
  7170. }
  7171. }
  7172. },
  7173. "/Quote/QueryHistoryTikDatas": {
  7174. "get": {
  7175. "security": [
  7176. {
  7177. "ApiKeyAuth": []
  7178. }
  7179. ],
  7180. "produces": [
  7181. "application/json"
  7182. ],
  7183. "tags": [
  7184. "行情服务"
  7185. ],
  7186. "summary": "查询行情Tik数据",
  7187. "parameters": [
  7188. {
  7189. "type": "string",
  7190. "description": "商品代码",
  7191. "name": "goodsCode",
  7192. "in": "query",
  7193. "required": true
  7194. },
  7195. {
  7196. "type": "string",
  7197. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7198. "name": "startTime",
  7199. "in": "query"
  7200. },
  7201. {
  7202. "type": "string",
  7203. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7204. "name": "endTime",
  7205. "in": "query"
  7206. },
  7207. {
  7208. "type": "integer",
  7209. "description": "条数",
  7210. "name": "count",
  7211. "in": "query"
  7212. },
  7213. {
  7214. "type": "boolean",
  7215. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7216. "name": "isAsc",
  7217. "in": "query"
  7218. }
  7219. ],
  7220. "responses": {
  7221. "200": {
  7222. "description": "OK",
  7223. "schema": {
  7224. "$ref": "#/definitions/quote.HistoryTikData"
  7225. }
  7226. },
  7227. "500": {
  7228. "description": "Internal Server Error",
  7229. "schema": {
  7230. "$ref": "#/definitions/app.Response"
  7231. }
  7232. }
  7233. }
  7234. }
  7235. },
  7236. "/Quote/QueryQuoteDay": {
  7237. "get": {
  7238. "security": [
  7239. {
  7240. "ApiKeyAuth": []
  7241. }
  7242. ],
  7243. "produces": [
  7244. "application/json"
  7245. ],
  7246. "tags": [
  7247. "行情服务"
  7248. ],
  7249. "summary": "获取商品盘面信息",
  7250. "parameters": [
  7251. {
  7252. "type": "string",
  7253. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7254. "name": "goodsCodes",
  7255. "in": "query",
  7256. "required": true
  7257. }
  7258. ],
  7259. "responses": {
  7260. "200": {
  7261. "description": "OK",
  7262. "schema": {
  7263. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7264. }
  7265. },
  7266. "500": {
  7267. "description": "Internal Server Error",
  7268. "schema": {
  7269. "$ref": "#/definitions/app.Response"
  7270. }
  7271. }
  7272. }
  7273. }
  7274. },
  7275. "/Quote/QueryTSData": {
  7276. "get": {
  7277. "security": [
  7278. {
  7279. "ApiKeyAuth": []
  7280. }
  7281. ],
  7282. "produces": [
  7283. "application/json"
  7284. ],
  7285. "tags": [
  7286. "行情服务"
  7287. ],
  7288. "summary": "分时图数据查询",
  7289. "parameters": [
  7290. {
  7291. "type": "string",
  7292. "description": "商品代码",
  7293. "name": "goodsCode",
  7294. "in": "query",
  7295. "required": true
  7296. }
  7297. ],
  7298. "responses": {
  7299. "200": {
  7300. "description": "OK",
  7301. "schema": {
  7302. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7303. }
  7304. },
  7305. "500": {
  7306. "description": "Internal Server Error",
  7307. "schema": {
  7308. "$ref": "#/definitions/app.Response"
  7309. }
  7310. }
  7311. }
  7312. }
  7313. },
  7314. "/SZDZ/QueryConvertConfig": {
  7315. "get": {
  7316. "security": [
  7317. {
  7318. "ApiKeyAuth": []
  7319. }
  7320. ],
  7321. "produces": [
  7322. "application/json"
  7323. ],
  7324. "tags": [
  7325. "定制【尚志大宗】"
  7326. ],
  7327. "summary": "查询交易系统转换设置",
  7328. "parameters": [
  7329. {
  7330. "type": "integer",
  7331. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7332. "name": "convertType",
  7333. "in": "query"
  7334. },
  7335. {
  7336. "type": "string",
  7337. "description": "外部商品代码[JD\\PD]",
  7338. "name": "outerGoodsCode",
  7339. "in": "query"
  7340. },
  7341. {
  7342. "type": "string",
  7343. "description": "内部商品ID列表[交易],格式:1,2,3",
  7344. "name": "innerGoodsIDs",
  7345. "in": "query"
  7346. }
  7347. ],
  7348. "responses": {
  7349. "200": {
  7350. "description": "OK",
  7351. "schema": {
  7352. "$ref": "#/definitions/models.Szdz3convertconfig"
  7353. }
  7354. },
  7355. "500": {
  7356. "description": "Internal Server Error",
  7357. "schema": {
  7358. "$ref": "#/definitions/app.Response"
  7359. }
  7360. }
  7361. }
  7362. }
  7363. },
  7364. "/SZDZ/QueryConvertLog": {
  7365. "get": {
  7366. "security": [
  7367. {
  7368. "ApiKeyAuth": []
  7369. }
  7370. ],
  7371. "produces": [
  7372. "application/json"
  7373. ],
  7374. "tags": [
  7375. "定制【尚志大宗】"
  7376. ],
  7377. "summary": "交易系统转换流水查询",
  7378. "parameters": [
  7379. {
  7380. "type": "string",
  7381. "description": "资金账户 - 格式:1,2,3",
  7382. "name": "accountID",
  7383. "in": "query",
  7384. "required": true
  7385. },
  7386. {
  7387. "type": "string",
  7388. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7389. "name": "startDate",
  7390. "in": "query"
  7391. },
  7392. {
  7393. "type": "string",
  7394. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7395. "name": "endDate",
  7396. "in": "query"
  7397. }
  7398. ],
  7399. "responses": {
  7400. "200": {
  7401. "description": "OK",
  7402. "schema": {
  7403. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7404. }
  7405. },
  7406. "500": {
  7407. "description": "Internal Server Error",
  7408. "schema": {
  7409. "$ref": "#/definitions/app.Response"
  7410. }
  7411. }
  7412. }
  7413. }
  7414. },
  7415. "/SZDZ/QueryGoodsPickup": {
  7416. "get": {
  7417. "security": [
  7418. {
  7419. "ApiKeyAuth": []
  7420. }
  7421. ],
  7422. "produces": [
  7423. "application/json"
  7424. ],
  7425. "tags": [
  7426. "定制【尚志大宗】"
  7427. ],
  7428. "summary": "商品提货单查询",
  7429. "parameters": [
  7430. {
  7431. "type": "string",
  7432. "description": "资金账户 - 格式:1,2,3",
  7433. "name": "accountID",
  7434. "in": "query",
  7435. "required": true
  7436. },
  7437. {
  7438. "type": "integer",
  7439. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7440. "name": "takeOrderStatus",
  7441. "in": "query"
  7442. }
  7443. ],
  7444. "responses": {
  7445. "200": {
  7446. "description": "OK",
  7447. "schema": {
  7448. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7449. }
  7450. },
  7451. "500": {
  7452. "description": "Internal Server Error",
  7453. "schema": {
  7454. "$ref": "#/definitions/app.Response"
  7455. }
  7456. }
  7457. }
  7458. }
  7459. },
  7460. "/SZDZ/QueryRecieptOrder": {
  7461. "get": {
  7462. "security": [
  7463. {
  7464. "ApiKeyAuth": []
  7465. }
  7466. ],
  7467. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7468. "produces": [
  7469. "application/json"
  7470. ],
  7471. "tags": [
  7472. "定制【尚志大宗】"
  7473. ],
  7474. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7475. "parameters": [
  7476. {
  7477. "type": "integer",
  7478. "description": "页码",
  7479. "name": "page",
  7480. "in": "query"
  7481. },
  7482. {
  7483. "type": "integer",
  7484. "description": "每页条数",
  7485. "name": "pagesize",
  7486. "in": "query"
  7487. },
  7488. {
  7489. "type": "integer",
  7490. "description": "商品ID",
  7491. "name": "goodsID",
  7492. "in": "query",
  7493. "required": true
  7494. },
  7495. {
  7496. "type": "string",
  7497. "description": "所属账户名称",
  7498. "name": "accountName",
  7499. "in": "query"
  7500. },
  7501. {
  7502. "type": "integer",
  7503. "description": "市场ID",
  7504. "name": "marketID",
  7505. "in": "query"
  7506. },
  7507. {
  7508. "type": "integer",
  7509. "description": "方向 - 0:买 1:卖",
  7510. "name": "buyorsell",
  7511. "in": "query",
  7512. "required": true
  7513. }
  7514. ],
  7515. "responses": {
  7516. "200": {
  7517. "description": "OK",
  7518. "schema": {
  7519. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7520. }
  7521. },
  7522. "500": {
  7523. "description": "Internal Server Error",
  7524. "schema": {
  7525. "$ref": "#/definitions/app.Response"
  7526. }
  7527. }
  7528. }
  7529. }
  7530. },
  7531. "/SZDZ/QuerySZDZTradePosition": {
  7532. "get": {
  7533. "security": [
  7534. {
  7535. "ApiKeyAuth": []
  7536. }
  7537. ],
  7538. "produces": [
  7539. "application/json"
  7540. ],
  7541. "tags": [
  7542. "定制【尚志大宗】"
  7543. ],
  7544. "summary": "持仓汇总查询(尚志大宗)",
  7545. "parameters": [
  7546. {
  7547. "type": "integer",
  7548. "description": "资金账户",
  7549. "name": "accountID",
  7550. "in": "query",
  7551. "required": true
  7552. }
  7553. ],
  7554. "responses": {
  7555. "200": {
  7556. "description": "OK",
  7557. "schema": {
  7558. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7559. }
  7560. },
  7561. "500": {
  7562. "description": "Internal Server Error",
  7563. "schema": {
  7564. "$ref": "#/definitions/app.Response"
  7565. }
  7566. }
  7567. }
  7568. }
  7569. },
  7570. "/SZDZ/SearchWhite": {
  7571. "get": {
  7572. "security": [
  7573. {
  7574. "ApiKeyAuth": []
  7575. }
  7576. ],
  7577. "produces": [
  7578. "application/json"
  7579. ],
  7580. "tags": [
  7581. "定制【尚志大宗】"
  7582. ],
  7583. "summary": "搜索白名单",
  7584. "parameters": [
  7585. {
  7586. "type": "integer",
  7587. "description": "用户ID",
  7588. "name": "userID",
  7589. "in": "query",
  7590. "required": true
  7591. }
  7592. ],
  7593. "responses": {
  7594. "200": {
  7595. "description": "OK",
  7596. "schema": {
  7597. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7598. }
  7599. },
  7600. "500": {
  7601. "description": "Internal Server Error",
  7602. "schema": {
  7603. "$ref": "#/definitions/app.Response"
  7604. }
  7605. }
  7606. }
  7607. }
  7608. },
  7609. "/Search/SearchGoodses": {
  7610. "get": {
  7611. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7612. "produces": [
  7613. "application/json"
  7614. ],
  7615. "tags": [
  7616. "检索服务"
  7617. ],
  7618. "summary": "检索商品信息",
  7619. "parameters": [
  7620. {
  7621. "type": "string",
  7622. "description": "检索内容",
  7623. "name": "content",
  7624. "in": "query",
  7625. "required": true
  7626. },
  7627. {
  7628. "type": "string",
  7629. "description": "交易模式,格式:1,2,3",
  7630. "name": "tradeModes",
  7631. "in": "query"
  7632. }
  7633. ],
  7634. "responses": {
  7635. "200": {
  7636. "description": "OK",
  7637. "schema": {
  7638. "$ref": "#/definitions/models.SearchGoods"
  7639. }
  7640. },
  7641. "500": {
  7642. "description": "Internal Server Error",
  7643. "schema": {
  7644. "$ref": "#/definitions/app.Response"
  7645. }
  7646. }
  7647. }
  7648. }
  7649. },
  7650. "/TaAccount/GetTaAccounts": {
  7651. "get": {
  7652. "security": [
  7653. {
  7654. "ApiKeyAuth": []
  7655. }
  7656. ],
  7657. "produces": [
  7658. "application/json"
  7659. ],
  7660. "tags": [
  7661. "资金账户"
  7662. ],
  7663. "summary": "获取资金账户信息",
  7664. "parameters": [
  7665. {
  7666. "type": "integer",
  7667. "description": "登录账户",
  7668. "name": "loginID",
  7669. "in": "query",
  7670. "required": true
  7671. },
  7672. {
  7673. "type": "integer",
  7674. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7675. "name": "taAccountType",
  7676. "in": "query"
  7677. }
  7678. ],
  7679. "responses": {
  7680. "200": {
  7681. "description": "OK",
  7682. "schema": {
  7683. "$ref": "#/definitions/models.Taaccount"
  7684. }
  7685. },
  7686. "500": {
  7687. "description": "Internal Server Error",
  7688. "schema": {
  7689. "$ref": "#/definitions/app.Response"
  7690. }
  7691. }
  7692. }
  7693. }
  7694. },
  7695. "/TaAccount/QueryAmountLog": {
  7696. "get": {
  7697. "security": [
  7698. {
  7699. "ApiKeyAuth": []
  7700. }
  7701. ],
  7702. "produces": [
  7703. "application/json"
  7704. ],
  7705. "tags": [
  7706. "资金账户"
  7707. ],
  7708. "summary": "资金流水查询(当前)",
  7709. "parameters": [
  7710. {
  7711. "type": "integer",
  7712. "description": "页码",
  7713. "name": "page",
  7714. "in": "query"
  7715. },
  7716. {
  7717. "type": "integer",
  7718. "description": "每页条数",
  7719. "name": "pagesize",
  7720. "in": "query"
  7721. },
  7722. {
  7723. "type": "string",
  7724. "description": "资金账户 - 格式:1,2,3",
  7725. "name": "accountID",
  7726. "in": "query",
  7727. "required": true
  7728. },
  7729. {
  7730. "type": "string",
  7731. "description": "资金操作类型 - 格式:1,2,3",
  7732. "name": "OperateType",
  7733. "in": "query"
  7734. }
  7735. ],
  7736. "responses": {
  7737. "200": {
  7738. "description": "OK",
  7739. "schema": {
  7740. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7741. }
  7742. },
  7743. "500": {
  7744. "description": "Internal Server Error",
  7745. "schema": {
  7746. "$ref": "#/definitions/app.Response"
  7747. }
  7748. }
  7749. }
  7750. }
  7751. },
  7752. "/TaAccount/QueryHisAmountLog": {
  7753. "get": {
  7754. "security": [
  7755. {
  7756. "ApiKeyAuth": []
  7757. }
  7758. ],
  7759. "produces": [
  7760. "application/json"
  7761. ],
  7762. "tags": [
  7763. "资金账户"
  7764. ],
  7765. "summary": "资金流水查询(历史)",
  7766. "parameters": [
  7767. {
  7768. "type": "integer",
  7769. "description": "页码",
  7770. "name": "page",
  7771. "in": "query"
  7772. },
  7773. {
  7774. "type": "integer",
  7775. "description": "每页条数",
  7776. "name": "pagesize",
  7777. "in": "query"
  7778. },
  7779. {
  7780. "type": "string",
  7781. "description": "资金账户 - 格式:1,2,3",
  7782. "name": "accountID",
  7783. "in": "query",
  7784. "required": true
  7785. },
  7786. {
  7787. "type": "string",
  7788. "description": "资金操作类型 - 格式:1,2,3",
  7789. "name": "OperateType",
  7790. "in": "query"
  7791. },
  7792. {
  7793. "type": "string",
  7794. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7795. "name": "startDate",
  7796. "in": "query"
  7797. },
  7798. {
  7799. "type": "string",
  7800. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7801. "name": "endDate",
  7802. "in": "query"
  7803. }
  7804. ],
  7805. "responses": {
  7806. "200": {
  7807. "description": "OK",
  7808. "schema": {
  7809. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7810. }
  7811. },
  7812. "500": {
  7813. "description": "Internal Server Error",
  7814. "schema": {
  7815. "$ref": "#/definitions/app.Response"
  7816. }
  7817. }
  7818. }
  7819. }
  7820. },
  7821. "/Trade/QueryRecieptOrder": {
  7822. "get": {
  7823. "security": [
  7824. {
  7825. "ApiKeyAuth": []
  7826. }
  7827. ],
  7828. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7829. "produces": [
  7830. "application/json"
  7831. ],
  7832. "tags": [
  7833. "通用交易"
  7834. ],
  7835. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7836. "parameters": [
  7837. {
  7838. "type": "integer",
  7839. "description": "页码",
  7840. "name": "page",
  7841. "in": "query"
  7842. },
  7843. {
  7844. "type": "integer",
  7845. "description": "每页条数",
  7846. "name": "pagesize",
  7847. "in": "query"
  7848. },
  7849. {
  7850. "type": "integer",
  7851. "description": "商品ID",
  7852. "name": "goodsID",
  7853. "in": "query",
  7854. "required": true
  7855. },
  7856. {
  7857. "type": "string",
  7858. "description": "所属账户名称",
  7859. "name": "accountName",
  7860. "in": "query"
  7861. },
  7862. {
  7863. "type": "integer",
  7864. "description": "市场ID",
  7865. "name": "marketID",
  7866. "in": "query"
  7867. },
  7868. {
  7869. "type": "integer",
  7870. "description": "方向 - 0:买 1:卖",
  7871. "name": "buyorsell",
  7872. "in": "query",
  7873. "required": true
  7874. }
  7875. ],
  7876. "responses": {
  7877. "200": {
  7878. "description": "OK",
  7879. "schema": {
  7880. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7881. }
  7882. },
  7883. "500": {
  7884. "description": "Internal Server Error",
  7885. "schema": {
  7886. "$ref": "#/definitions/app.Response"
  7887. }
  7888. }
  7889. }
  7890. }
  7891. },
  7892. "/User/AddMessageBoard": {
  7893. "post": {
  7894. "security": [
  7895. {
  7896. "ApiKeyAuth": []
  7897. }
  7898. ],
  7899. "produces": [
  7900. "application/json"
  7901. ],
  7902. "tags": [
  7903. "用户信息"
  7904. ],
  7905. "summary": "添加用户留言板信息",
  7906. "parameters": [
  7907. {
  7908. "type": "integer",
  7909. "description": "用户ID",
  7910. "name": "userID",
  7911. "in": "query",
  7912. "required": true
  7913. },
  7914. {
  7915. "type": "string",
  7916. "description": "留言信息",
  7917. "name": "message",
  7918. "in": "query",
  7919. "required": true
  7920. },
  7921. {
  7922. "type": "string",
  7923. "description": "联系电话",
  7924. "name": "contactNum",
  7925. "in": "query",
  7926. "required": true
  7927. }
  7928. ],
  7929. "responses": {
  7930. "200": {
  7931. "description": "OK",
  7932. "schema": {
  7933. "$ref": "#/definitions/app.Response"
  7934. }
  7935. },
  7936. "500": {
  7937. "description": "Internal Server Error",
  7938. "schema": {
  7939. "$ref": "#/definitions/app.Response"
  7940. }
  7941. }
  7942. }
  7943. }
  7944. },
  7945. "/User/AddUserFavoriteGoods": {
  7946. "post": {
  7947. "security": [
  7948. {
  7949. "ApiKeyAuth": []
  7950. }
  7951. ],
  7952. "produces": [
  7953. "application/json"
  7954. ],
  7955. "tags": [
  7956. "用户信息"
  7957. ],
  7958. "summary": "添加用户商品收藏信息",
  7959. "parameters": [
  7960. {
  7961. "type": "integer",
  7962. "description": "用户ID",
  7963. "name": "userID",
  7964. "in": "query",
  7965. "required": true
  7966. },
  7967. {
  7968. "type": "integer",
  7969. "description": "商品ID",
  7970. "name": "goodsID",
  7971. "in": "query",
  7972. "required": true
  7973. }
  7974. ],
  7975. "responses": {
  7976. "200": {
  7977. "description": "OK",
  7978. "schema": {
  7979. "$ref": "#/definitions/app.Response"
  7980. }
  7981. },
  7982. "500": {
  7983. "description": "Internal Server Error",
  7984. "schema": {
  7985. "$ref": "#/definitions/app.Response"
  7986. }
  7987. }
  7988. }
  7989. }
  7990. },
  7991. "/User/GetLoginID": {
  7992. "get": {
  7993. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7994. "produces": [
  7995. "application/json"
  7996. ],
  7997. "tags": [
  7998. "用户信息"
  7999. ],
  8000. "summary": "获取登录ID",
  8001. "parameters": [
  8002. {
  8003. "type": "string",
  8004. "description": "登录代码",
  8005. "name": "username",
  8006. "in": "query",
  8007. "required": true
  8008. }
  8009. ],
  8010. "responses": {
  8011. "200": {
  8012. "description": "OK",
  8013. "schema": {
  8014. "$ref": "#/definitions/app.Response"
  8015. }
  8016. },
  8017. "500": {
  8018. "description": "Internal Server Error",
  8019. "schema": {
  8020. "$ref": "#/definitions/app.Response"
  8021. }
  8022. }
  8023. }
  8024. }
  8025. },
  8026. "/User/GetUserAccount": {
  8027. "get": {
  8028. "security": [
  8029. {
  8030. "ApiKeyAuth": []
  8031. }
  8032. ],
  8033. "produces": [
  8034. "application/json"
  8035. ],
  8036. "tags": [
  8037. "用户信息"
  8038. ],
  8039. "summary": "获取用户账号信息",
  8040. "parameters": [
  8041. {
  8042. "type": "integer",
  8043. "description": "用户ID",
  8044. "name": "userID",
  8045. "in": "query",
  8046. "required": true
  8047. }
  8048. ],
  8049. "responses": {
  8050. "200": {
  8051. "description": "OK",
  8052. "schema": {
  8053. "$ref": "#/definitions/models.Useraccount"
  8054. }
  8055. },
  8056. "500": {
  8057. "description": "Internal Server Error",
  8058. "schema": {
  8059. "$ref": "#/definitions/app.Response"
  8060. }
  8061. }
  8062. }
  8063. }
  8064. },
  8065. "/User/GetUserAuthStatus": {
  8066. "get": {
  8067. "security": [
  8068. {
  8069. "ApiKeyAuth": []
  8070. }
  8071. ],
  8072. "produces": [
  8073. "application/json"
  8074. ],
  8075. "tags": [
  8076. "用户信息"
  8077. ],
  8078. "summary": "获取用户实名认证状态",
  8079. "parameters": [
  8080. {
  8081. "type": "integer",
  8082. "description": "用户ID",
  8083. "name": "userID",
  8084. "in": "query",
  8085. "required": true
  8086. }
  8087. ],
  8088. "responses": {
  8089. "200": {
  8090. "description": "OK",
  8091. "schema": {
  8092. "$ref": "#/definitions/app.Response"
  8093. }
  8094. },
  8095. "500": {
  8096. "description": "Internal Server Error",
  8097. "schema": {
  8098. "$ref": "#/definitions/app.Response"
  8099. }
  8100. }
  8101. }
  8102. }
  8103. },
  8104. "/User/LoginQuery": {
  8105. "get": {
  8106. "security": [
  8107. {
  8108. "ApiKeyAuth": []
  8109. }
  8110. ],
  8111. "produces": [
  8112. "application/json"
  8113. ],
  8114. "tags": [
  8115. "用户信息"
  8116. ],
  8117. "summary": "账户登录后信息查询",
  8118. "parameters": [
  8119. {
  8120. "type": "integer",
  8121. "description": "登录账号",
  8122. "name": "loginID",
  8123. "in": "query",
  8124. "required": true
  8125. }
  8126. ],
  8127. "responses": {
  8128. "200": {
  8129. "description": "OK",
  8130. "schema": {
  8131. "$ref": "#/definitions/user.LoginQueryRsp"
  8132. }
  8133. },
  8134. "500": {
  8135. "description": "Internal Server Error",
  8136. "schema": {
  8137. "$ref": "#/definitions/app.Response"
  8138. }
  8139. }
  8140. }
  8141. }
  8142. },
  8143. "/User/QueryMessageBoard": {
  8144. "get": {
  8145. "security": [
  8146. {
  8147. "ApiKeyAuth": []
  8148. }
  8149. ],
  8150. "produces": [
  8151. "application/json"
  8152. ],
  8153. "tags": [
  8154. "用户信息"
  8155. ],
  8156. "summary": "获取用户留言板信息",
  8157. "parameters": [
  8158. {
  8159. "type": "integer",
  8160. "description": "用户ID",
  8161. "name": "userID",
  8162. "in": "query",
  8163. "required": true
  8164. }
  8165. ],
  8166. "responses": {
  8167. "200": {
  8168. "description": "OK",
  8169. "schema": {
  8170. "$ref": "#/definitions/models.Messageboard"
  8171. }
  8172. },
  8173. "500": {
  8174. "description": "Internal Server Error",
  8175. "schema": {
  8176. "$ref": "#/definitions/app.Response"
  8177. }
  8178. }
  8179. }
  8180. }
  8181. },
  8182. "/User/QueryUserFavoriteGoodses": {
  8183. "get": {
  8184. "security": [
  8185. {
  8186. "ApiKeyAuth": []
  8187. }
  8188. ],
  8189. "produces": [
  8190. "application/json"
  8191. ],
  8192. "tags": [
  8193. "用户信息"
  8194. ],
  8195. "summary": "获取用户商品收藏信息",
  8196. "parameters": [
  8197. {
  8198. "type": "integer",
  8199. "description": "用户ID",
  8200. "name": "userID",
  8201. "in": "query",
  8202. "required": true
  8203. }
  8204. ],
  8205. "responses": {
  8206. "200": {
  8207. "description": "OK",
  8208. "schema": {
  8209. "$ref": "#/definitions/models.Userfavoritegoods"
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/User/QueryUserInfo": {
  8222. "get": {
  8223. "security": [
  8224. {
  8225. "ApiKeyAuth": []
  8226. }
  8227. ],
  8228. "produces": [
  8229. "application/json"
  8230. ],
  8231. "tags": [
  8232. "用户信息"
  8233. ],
  8234. "summary": "获取用户信息",
  8235. "parameters": [
  8236. {
  8237. "type": "integer",
  8238. "description": "用户ID",
  8239. "name": "userID",
  8240. "in": "query",
  8241. "required": true
  8242. },
  8243. {
  8244. "type": "boolean",
  8245. "description": "是否解密",
  8246. "name": "isDecrypt",
  8247. "in": "query"
  8248. }
  8249. ],
  8250. "responses": {
  8251. "200": {
  8252. "description": "OK",
  8253. "schema": {
  8254. "$ref": "#/definitions/models.Userinfo"
  8255. }
  8256. },
  8257. "500": {
  8258. "description": "Internal Server Error",
  8259. "schema": {
  8260. "$ref": "#/definitions/app.Response"
  8261. }
  8262. }
  8263. }
  8264. }
  8265. },
  8266. "/User/QueryUserReferNum": {
  8267. "get": {
  8268. "produces": [
  8269. "application/json"
  8270. ],
  8271. "tags": [
  8272. "用户信息"
  8273. ],
  8274. "summary": "获取用户邀请码",
  8275. "parameters": [
  8276. {
  8277. "type": "integer",
  8278. "description": "用户ID",
  8279. "name": "userID",
  8280. "in": "query",
  8281. "required": true
  8282. }
  8283. ],
  8284. "responses": {
  8285. "200": {
  8286. "description": "OK",
  8287. "schema": {
  8288. "$ref": "#/definitions/app.Response"
  8289. }
  8290. },
  8291. "500": {
  8292. "description": "Internal Server Error",
  8293. "schema": {
  8294. "$ref": "#/definitions/app.Response"
  8295. }
  8296. }
  8297. }
  8298. }
  8299. },
  8300. "/User/RemoveUserFavoriteGoods": {
  8301. "post": {
  8302. "security": [
  8303. {
  8304. "ApiKeyAuth": []
  8305. }
  8306. ],
  8307. "produces": [
  8308. "application/json"
  8309. ],
  8310. "tags": [
  8311. "用户信息"
  8312. ],
  8313. "summary": "移除用户商品收藏信息",
  8314. "parameters": [
  8315. {
  8316. "type": "integer",
  8317. "description": "用户ID",
  8318. "name": "userID",
  8319. "in": "query",
  8320. "required": true
  8321. },
  8322. {
  8323. "type": "integer",
  8324. "description": "商品ID",
  8325. "name": "goodsID",
  8326. "in": "query",
  8327. "required": true
  8328. }
  8329. ],
  8330. "responses": {
  8331. "200": {
  8332. "description": "OK",
  8333. "schema": {
  8334. "$ref": "#/definitions/app.Response"
  8335. }
  8336. },
  8337. "500": {
  8338. "description": "Internal Server Error",
  8339. "schema": {
  8340. "$ref": "#/definitions/app.Response"
  8341. }
  8342. }
  8343. }
  8344. }
  8345. },
  8346. "/User/UpdateUserAccountStatus": {
  8347. "post": {
  8348. "security": [
  8349. {
  8350. "ApiKeyAuth": []
  8351. }
  8352. ],
  8353. "produces": [
  8354. "application/json"
  8355. ],
  8356. "tags": [
  8357. "用户信息"
  8358. ],
  8359. "summary": "更新用户状态",
  8360. "parameters": [
  8361. {
  8362. "type": "integer",
  8363. "description": "用户ID",
  8364. "name": "userID",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "integer",
  8370. "description": "账户状态 - 4:正常 6:注销(停用)",
  8371. "name": "accountStatus",
  8372. "in": "query",
  8373. "required": true
  8374. }
  8375. ],
  8376. "responses": {
  8377. "200": {
  8378. "description": "OK",
  8379. "schema": {
  8380. "$ref": "#/definitions/app.Response"
  8381. }
  8382. },
  8383. "500": {
  8384. "description": "Internal Server Error",
  8385. "schema": {
  8386. "$ref": "#/definitions/app.Response"
  8387. }
  8388. }
  8389. }
  8390. }
  8391. },
  8392. "/WRTrade/GetAllDeliveryGoods": {
  8393. "get": {
  8394. "security": [
  8395. {
  8396. "ApiKeyAuth": []
  8397. },
  8398. {
  8399. "ApiKeyAuth": []
  8400. }
  8401. ],
  8402. "produces": [
  8403. "application/json",
  8404. "application/json"
  8405. ],
  8406. "tags": [
  8407. "仓单贸易",
  8408. "仓单贸易"
  8409. ],
  8410. "summary": "获取带仓单分类的种类信息",
  8411. "responses": {
  8412. "200": {
  8413. "description": "OK",
  8414. "schema": {
  8415. "$ref": "#/definitions/app.Response"
  8416. }
  8417. },
  8418. "500": {
  8419. "description": "Internal Server Error",
  8420. "schema": {
  8421. "$ref": "#/definitions/app.Response"
  8422. }
  8423. }
  8424. }
  8425. }
  8426. }
  8427. },
  8428. "definitions": {
  8429. "app.Response": {
  8430. "type": "object",
  8431. "properties": {
  8432. "code": {
  8433. "type": "integer"
  8434. },
  8435. "data": {
  8436. "type": "object"
  8437. },
  8438. "msg": {
  8439. "type": "string"
  8440. },
  8441. "page": {
  8442. "description": "页码",
  8443. "type": "integer"
  8444. },
  8445. "pagesize": {
  8446. "description": "每页条数",
  8447. "type": "integer"
  8448. },
  8449. "total": {
  8450. "description": "总条数",
  8451. "type": "integer"
  8452. }
  8453. }
  8454. },
  8455. "common.ClientMenu": {
  8456. "type": "object",
  8457. "properties": {
  8458. "children": {
  8459. "description": "子菜单列表",
  8460. "type": "array",
  8461. "items": {
  8462. "$ref": "#/definitions/common.ClientMenu"
  8463. }
  8464. },
  8465. "code": {
  8466. "description": "ID",
  8467. "type": "string"
  8468. },
  8469. "isshow": {
  8470. "description": "是否显示",
  8471. "type": "boolean"
  8472. },
  8473. "rulekey": {
  8474. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8475. "type": "string"
  8476. },
  8477. "sort": {
  8478. "description": "排序",
  8479. "type": "integer"
  8480. },
  8481. "title": {
  8482. "description": "标题",
  8483. "type": "string"
  8484. },
  8485. "type": {
  8486. "description": "类型,1:菜单 2:按钮",
  8487. "type": "integer"
  8488. }
  8489. }
  8490. },
  8491. "common.QueryImageConfigsRsp": {
  8492. "type": "object",
  8493. "required": [
  8494. "configid"
  8495. ],
  8496. "properties": {
  8497. "areauserid": {
  8498. "description": "所属机构ID",
  8499. "type": "integer"
  8500. },
  8501. "configid": {
  8502. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8503. "type": "integer"
  8504. },
  8505. "createdate": {
  8506. "description": "创建时间",
  8507. "type": "string"
  8508. },
  8509. "creatorid": {
  8510. "description": "创建人",
  8511. "type": "integer"
  8512. },
  8513. "imagepath": {
  8514. "description": "图片",
  8515. "type": "string"
  8516. },
  8517. "imagetype": {
  8518. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8519. "type": "integer"
  8520. },
  8521. "isshow": {
  8522. "description": "是否展示 - 0:不展示 1:展示",
  8523. "type": "integer"
  8524. },
  8525. "marketid": {
  8526. "description": "市场ID",
  8527. "type": "integer"
  8528. },
  8529. "modifierid": {
  8530. "description": "操作人",
  8531. "type": "integer"
  8532. },
  8533. "sort": {
  8534. "description": "排序",
  8535. "type": "integer"
  8536. },
  8537. "title": {
  8538. "description": "标题",
  8539. "type": "string"
  8540. },
  8541. "trademode": {
  8542. "description": "交易模式",
  8543. "type": "integer"
  8544. },
  8545. "updatedate": {
  8546. "description": "修改时间",
  8547. "type": "string"
  8548. },
  8549. "url": {
  8550. "description": "链接(地址或商品ID)",
  8551. "type": "string"
  8552. },
  8553. "urltype": {
  8554. "description": "链接类型 - 1:直接地址 2:商品ID",
  8555. "type": "integer"
  8556. }
  8557. }
  8558. },
  8559. "common.QueryNoticeRsp": {
  8560. "type": "object",
  8561. "required": [
  8562. "autoid"
  8563. ],
  8564. "properties": {
  8565. "auditoruserid": {
  8566. "description": "审核人",
  8567. "type": "integer"
  8568. },
  8569. "auditremark": {
  8570. "description": "审核备注",
  8571. "type": "string"
  8572. },
  8573. "audittime": {
  8574. "description": "审核日期",
  8575. "type": "string"
  8576. },
  8577. "autoid": {
  8578. "description": "自增ID",
  8579. "type": "integer"
  8580. },
  8581. "content": {
  8582. "description": "内容",
  8583. "type": "string"
  8584. },
  8585. "createtime": {
  8586. "description": "创建时间",
  8587. "type": "string"
  8588. },
  8589. "creatorid": {
  8590. "description": "建仓人",
  8591. "type": "integer"
  8592. },
  8593. "endtime": {
  8594. "description": "结束时间",
  8595. "type": "string"
  8596. },
  8597. "istop": {
  8598. "description": "是否置顶 - 0:不置顶 1:置顶",
  8599. "type": "integer"
  8600. },
  8601. "msgiconurl": {
  8602. "description": "消息图标Url",
  8603. "type": "string"
  8604. },
  8605. "msgtype": {
  8606. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8607. "type": "integer"
  8608. },
  8609. "publisher": {
  8610. "description": "消息发布者",
  8611. "type": "string"
  8612. },
  8613. "readed": {
  8614. "description": "是否已读",
  8615. "type": "boolean"
  8616. },
  8617. "scheduletime": {
  8618. "description": "计划发送时间",
  8619. "type": "string"
  8620. },
  8621. "sendtype": {
  8622. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8623. "type": "integer"
  8624. },
  8625. "sentstatus": {
  8626. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8627. "type": "integer"
  8628. },
  8629. "title": {
  8630. "description": "标题",
  8631. "type": "string"
  8632. },
  8633. "userid": {
  8634. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8635. "type": "integer"
  8636. }
  8637. }
  8638. },
  8639. "common.QueryProvincesAndCitiesRsp": {
  8640. "type": "object",
  8641. "properties": {
  8642. "cities": {
  8643. "description": "市",
  8644. "type": "array",
  8645. "items": {
  8646. "$ref": "#/definitions/models.Division"
  8647. }
  8648. },
  8649. "province": {
  8650. "description": "省",
  8651. "type": "object",
  8652. "$ref": "#/definitions/models.Division"
  8653. }
  8654. }
  8655. },
  8656. "common.QueryTableDefineRsp": {
  8657. "type": "object",
  8658. "required": [
  8659. "tablekey"
  8660. ],
  8661. "properties": {
  8662. "columns": {
  8663. "description": "列头信息数组",
  8664. "type": "array",
  8665. "items": {
  8666. "$ref": "#/definitions/models.Tablecolumnconfig"
  8667. }
  8668. },
  8669. "remark": {
  8670. "description": "Remark",
  8671. "type": "string"
  8672. },
  8673. "tabelmenu": {
  8674. "description": "列表菜单",
  8675. "type": "string"
  8676. },
  8677. "tablekey": {
  8678. "description": "列表Key",
  8679. "type": "string"
  8680. },
  8681. "tablename": {
  8682. "description": "列表名称",
  8683. "type": "string"
  8684. },
  8685. "tabletype": {
  8686. "description": "列表类型 - 1:管理端 2:终端",
  8687. "type": "integer"
  8688. }
  8689. }
  8690. },
  8691. "common.QueryTraderMenuRsp": {
  8692. "type": "object",
  8693. "properties": {
  8694. "OperationMenu": {
  8695. "description": "功能菜单",
  8696. "type": "array",
  8697. "items": {
  8698. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8699. }
  8700. },
  8701. "QuoteMenu": {
  8702. "description": "报价牌分类菜单",
  8703. "type": "array",
  8704. "items": {
  8705. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8706. }
  8707. }
  8708. }
  8709. },
  8710. "cptrade.Cptradepositioncancel": {
  8711. "type": "object",
  8712. "required": [
  8713. "cancelid"
  8714. ],
  8715. "properties": {
  8716. "accountid": {
  8717. "description": "申请人账户ID",
  8718. "type": "integer"
  8719. },
  8720. "applystatus": {
  8721. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8722. "type": "integer"
  8723. },
  8724. "applytime": {
  8725. "description": "申请时间",
  8726. "type": "string"
  8727. },
  8728. "cancelid": {
  8729. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8730. "type": "integer"
  8731. },
  8732. "cancelqty": {
  8733. "description": "注销数量",
  8734. "type": "integer"
  8735. },
  8736. "createtime": {
  8737. "description": "创建时间",
  8738. "type": "string"
  8739. },
  8740. "creatorid": {
  8741. "description": "创建人ID",
  8742. "type": "integer"
  8743. },
  8744. "creatorname": {
  8745. "description": "创建人",
  8746. "type": "string"
  8747. },
  8748. "goodscode": {
  8749. "description": "订单商品代码",
  8750. "type": "string"
  8751. },
  8752. "goodsid": {
  8753. "description": "商品ID",
  8754. "type": "integer"
  8755. },
  8756. "goodsname": {
  8757. "description": "订单商品名称",
  8758. "type": "string"
  8759. },
  8760. "goodunit": {
  8761. "description": "报价单位",
  8762. "type": "string"
  8763. },
  8764. "handlestatus": {
  8765. "description": "处理状态",
  8766. "type": "integer"
  8767. },
  8768. "marketid": {
  8769. "description": "市场ID",
  8770. "type": "integer"
  8771. },
  8772. "marketname": {
  8773. "description": "市场名称",
  8774. "type": "string"
  8775. },
  8776. "tradedate": {
  8777. "description": "交易日(yyyyMMdd)",
  8778. "type": "string"
  8779. },
  8780. "userid": {
  8781. "description": "申请人ID",
  8782. "type": "integer"
  8783. }
  8784. }
  8785. },
  8786. "cptrade.Cptradepresaleapply": {
  8787. "type": "object",
  8788. "required": [
  8789. "applyid"
  8790. ],
  8791. "properties": {
  8792. "accountid": {
  8793. "description": "申请人账户ID",
  8794. "type": "integer"
  8795. },
  8796. "applyid": {
  8797. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8798. "type": "integer"
  8799. },
  8800. "applyremark": {
  8801. "description": "申请备注",
  8802. "type": "string"
  8803. },
  8804. "applystatus": {
  8805. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8806. "type": "integer"
  8807. },
  8808. "applytime": {
  8809. "description": "申请时间",
  8810. "type": "string"
  8811. },
  8812. "attachmenturl": {
  8813. "description": "附件地址",
  8814. "type": "string"
  8815. },
  8816. "endtime": {
  8817. "description": "预售结束时间",
  8818. "type": "string"
  8819. },
  8820. "goodscode": {
  8821. "description": "商品代码",
  8822. "type": "string"
  8823. },
  8824. "goodsid": {
  8825. "description": "商品ID",
  8826. "type": "integer"
  8827. },
  8828. "goodsname": {
  8829. "description": "商品名称",
  8830. "type": "string"
  8831. },
  8832. "goodunit": {
  8833. "description": "报价单位",
  8834. "type": "string"
  8835. },
  8836. "handlestatus": {
  8837. "description": "处理状态",
  8838. "type": "integer"
  8839. },
  8840. "marketid": {
  8841. "description": "预售市场ID",
  8842. "type": "integer"
  8843. },
  8844. "marketname": {
  8845. "description": "预售市场名称",
  8846. "type": "string"
  8847. },
  8848. "presaleqty": {
  8849. "description": "预售数量",
  8850. "type": "integer"
  8851. },
  8852. "relatedgoodscode": {
  8853. "description": "关联交易合约代码",
  8854. "type": "string"
  8855. },
  8856. "relatedgoodsid": {
  8857. "description": "关联交易合约ID",
  8858. "type": "integer"
  8859. },
  8860. "relatedgoodsname": {
  8861. "description": "关联交易合约名称",
  8862. "type": "string"
  8863. },
  8864. "starttime": {
  8865. "description": "预售开始时间",
  8866. "type": "string"
  8867. },
  8868. "tradedate": {
  8869. "description": "交易日(yyyyMMdd)",
  8870. "type": "string"
  8871. },
  8872. "trademode": {
  8873. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8874. "type": "integer"
  8875. },
  8876. "userid": {
  8877. "description": "申请人ID",
  8878. "type": "integer"
  8879. }
  8880. }
  8881. },
  8882. "cptrade.Cptradeusergoodsdata": {
  8883. "type": "object",
  8884. "required": [
  8885. "accountid",
  8886. "goodsid"
  8887. ],
  8888. "properties": {
  8889. "EnabledQty": {
  8890. "description": "可用量",
  8891. "type": "integer"
  8892. },
  8893. "GoodsCode": {
  8894. "description": "订单商品代码",
  8895. "type": "string"
  8896. },
  8897. "GoodsName": {
  8898. "description": "订单商品名称",
  8899. "type": "string"
  8900. },
  8901. "WRStandardCode": {
  8902. "description": "仓单标准代码",
  8903. "type": "string"
  8904. },
  8905. "WRStandardName": {
  8906. "description": "仓单标准名称",
  8907. "type": "string"
  8908. },
  8909. "accountid": {
  8910. "description": "账户ID",
  8911. "type": "integer"
  8912. },
  8913. "cancelqty": {
  8914. "description": "注销量",
  8915. "type": "integer"
  8916. },
  8917. "curpresaleqty": {
  8918. "description": "当前预售量",
  8919. "type": "integer"
  8920. },
  8921. "deliveryqty": {
  8922. "description": "交割量",
  8923. "type": "integer"
  8924. },
  8925. "freezeamount": {
  8926. "description": "冻结金额",
  8927. "type": "number"
  8928. },
  8929. "goodsid": {
  8930. "description": "商品ID",
  8931. "type": "integer"
  8932. },
  8933. "goodunit": {
  8934. "description": "报价单位",
  8935. "type": "string"
  8936. },
  8937. "hasspotfreeze": {
  8938. "description": "是否有现货冻结 - 0:否 1:有",
  8939. "type": "integer"
  8940. },
  8941. "inqty": {
  8942. "description": "转入量(总数量)",
  8943. "type": "integer"
  8944. },
  8945. "marketid": {
  8946. "description": "市场ID",
  8947. "type": "integer"
  8948. },
  8949. "presaledamount": {
  8950. "description": "已预售总金额",
  8951. "type": "integer"
  8952. },
  8953. "presaledqty": {
  8954. "description": "已预售量",
  8955. "type": "integer"
  8956. },
  8957. "userid": {
  8958. "description": "用户ID",
  8959. "type": "integer"
  8960. },
  8961. "wrstandardid": {
  8962. "description": "仓单标准ID",
  8963. "type": "integer"
  8964. }
  8965. }
  8966. },
  8967. "cptrade.QueryCPTradeMyBidRsp": {
  8968. "type": "object",
  8969. "required": [
  8970. "accountid",
  8971. "goodsid",
  8972. "marketid",
  8973. "orderid",
  8974. "orderqty",
  8975. "ordertime",
  8976. "tradeprice",
  8977. "tradeqty"
  8978. ],
  8979. "properties": {
  8980. "accountid": {
  8981. "description": "账户ID[报价币种]",
  8982. "type": "integer"
  8983. },
  8984. "goodsid": {
  8985. "description": "商品ID",
  8986. "type": "integer"
  8987. },
  8988. "goodunit": {
  8989. "description": "报价单位",
  8990. "type": "string"
  8991. },
  8992. "marketid": {
  8993. "description": "市场ID",
  8994. "type": "integer"
  8995. },
  8996. "orderid": {
  8997. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8998. "type": "integer"
  8999. },
  9000. "orderprice": {
  9001. "description": "委托价格",
  9002. "type": "number"
  9003. },
  9004. "orderqty": {
  9005. "description": "委托数量",
  9006. "type": "integer"
  9007. },
  9008. "ordertime": {
  9009. "description": "委托时间",
  9010. "type": "string"
  9011. },
  9012. "ordertotalprice": {
  9013. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9014. "type": "number"
  9015. },
  9016. "ordertotalweight": {
  9017. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9018. "type": "integer"
  9019. },
  9020. "totaltotalprice": {
  9021. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9022. "type": "number"
  9023. },
  9024. "tradeprice": {
  9025. "description": "成交价格",
  9026. "type": "number"
  9027. },
  9028. "tradeqty": {
  9029. "description": "成交数量",
  9030. "type": "integer"
  9031. }
  9032. }
  9033. },
  9034. "cptrade.QueryCPTradeOrderDetailRsq": {
  9035. "type": "object",
  9036. "required": [
  9037. "accountid",
  9038. "buildtype",
  9039. "buyorsell",
  9040. "goodsid",
  9041. "marketid",
  9042. "memberuserid",
  9043. "operatetype",
  9044. "orderqty",
  9045. "ordertime",
  9046. "pricemode",
  9047. "strorderid",
  9048. "tradedate",
  9049. "validtype"
  9050. ],
  9051. "properties": {
  9052. "accountid": {
  9053. "description": "账户ID[报价币种]",
  9054. "type": "integer"
  9055. },
  9056. "buildtype": {
  9057. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9058. "type": "integer"
  9059. },
  9060. "buyorsell": {
  9061. "description": "买卖 - 0:买 1:卖",
  9062. "type": "integer"
  9063. },
  9064. "cancelorderid": {
  9065. "description": "撤单单号(撤单时填写)",
  9066. "type": "integer"
  9067. },
  9068. "cancelqty": {
  9069. "description": "撤单数量",
  9070. "type": "integer"
  9071. },
  9072. "clientordertime": {
  9073. "description": "客户端委托时间",
  9074. "type": "string"
  9075. },
  9076. "clientticket": {
  9077. "description": "客户端流水号",
  9078. "type": "string"
  9079. },
  9080. "clienttype": {
  9081. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9082. "type": "integer"
  9083. },
  9084. "closeexchagechargevalue": {
  9085. "description": "平仓交易所手续费设置值",
  9086. "type": "number"
  9087. },
  9088. "closefeealgorithm": {
  9089. "description": "平仓手续费收取方式 1:比率 2:固定",
  9090. "type": "integer"
  9091. },
  9092. "closefreezecharge": {
  9093. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9094. "type": "number"
  9095. },
  9096. "closememberchargevalue": {
  9097. "description": "平仓会员手续费设置值",
  9098. "type": "number"
  9099. },
  9100. "closeqty": {
  9101. "description": "平仓数量(先建后平操作 需要记录)",
  9102. "type": "integer"
  9103. },
  9104. "closetradeqty": {
  9105. "description": "平仓成交数量(先建后平操作,需要记录)",
  9106. "type": "integer"
  9107. },
  9108. "closeunfreezecharge": {
  9109. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9110. "type": "number"
  9111. },
  9112. "delistingtype": {
  9113. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9114. "type": "integer"
  9115. },
  9116. "freezecharge": {
  9117. "description": "冻结手续费",
  9118. "type": "number"
  9119. },
  9120. "freezemargin": {
  9121. "description": "冻结保证金(冻结交易金额)",
  9122. "type": "number"
  9123. },
  9124. "gcaccountid": {
  9125. "description": "账户ID[合约币种]",
  9126. "type": "integer"
  9127. },
  9128. "goodsid": {
  9129. "description": "商品ID",
  9130. "type": "integer"
  9131. },
  9132. "isconfirmexercise": {
  9133. "description": "是否确认行权- 0:否 1:是",
  9134. "type": "integer"
  9135. },
  9136. "ispreexercise": {
  9137. "description": "是否预申报- 0:否 1:是",
  9138. "type": "integer"
  9139. },
  9140. "listingselecttype": {
  9141. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9142. "type": "integer"
  9143. },
  9144. "marginalgorithm": {
  9145. "description": "保证金收取方式 1:比率 2:固定",
  9146. "type": "integer"
  9147. },
  9148. "marginvalue": {
  9149. "description": "即市保证金设置值",
  9150. "type": "number"
  9151. },
  9152. "marketid": {
  9153. "description": "市场ID",
  9154. "type": "integer"
  9155. },
  9156. "marketmaxsub": {
  9157. "description": "市价最大偏移范围",
  9158. "type": "number"
  9159. },
  9160. "memberuserid": {
  9161. "description": "所属会员UserID",
  9162. "type": "integer"
  9163. },
  9164. "openexchagechargevalue": {
  9165. "description": "建仓交易所手续费设置值",
  9166. "type": "number"
  9167. },
  9168. "openfeealgorithm": {
  9169. "description": "建仓手续费收取方式 1:比率 2:固定",
  9170. "type": "integer"
  9171. },
  9172. "openfreezecharge": {
  9173. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9174. "type": "number"
  9175. },
  9176. "openmemberchargevalue": {
  9177. "description": "建仓会员手续费设置值",
  9178. "type": "number"
  9179. },
  9180. "openqty": {
  9181. "description": "开仓数量(先建后平操作,需要记录)",
  9182. "type": "integer"
  9183. },
  9184. "opentradeqty": {
  9185. "description": "开仓成交数量(先建后平操作,需要记录)",
  9186. "type": "integer"
  9187. },
  9188. "openunfreezecharge": {
  9189. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9190. "type": "number"
  9191. },
  9192. "operatetype": {
  9193. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9194. "type": "integer"
  9195. },
  9196. "operatorid": {
  9197. "description": "登录账号(LoginID)",
  9198. "type": "integer"
  9199. },
  9200. "optiontype": {
  9201. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9202. "type": "integer"
  9203. },
  9204. "orderprice": {
  9205. "description": "委托价格",
  9206. "type": "number"
  9207. },
  9208. "orderqty": {
  9209. "description": "委托数量",
  9210. "type": "integer"
  9211. },
  9212. "ordersrc": {
  9213. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9214. "type": "integer"
  9215. },
  9216. "orderstatus": {
  9217. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9218. "type": "integer"
  9219. },
  9220. "ordertime": {
  9221. "description": "委托时间",
  9222. "type": "string"
  9223. },
  9224. "preexerciseprice": {
  9225. "description": "预申报价格",
  9226. "type": "number"
  9227. },
  9228. "premium": {
  9229. "description": "权利金",
  9230. "type": "number"
  9231. },
  9232. "preorderid": {
  9233. "description": "关联预埋单号(止盈止损单时填写)",
  9234. "type": "integer"
  9235. },
  9236. "pricemode": {
  9237. "description": "取价方式 - 1:市价 2: 限价",
  9238. "type": "integer"
  9239. },
  9240. "quoteid": {
  9241. "description": "报价单ID",
  9242. "type": "integer"
  9243. },
  9244. "relatedid": {
  9245. "description": "关联单号(交割单)",
  9246. "type": "integer"
  9247. },
  9248. "retcode": {
  9249. "description": "错误代码",
  9250. "type": "integer"
  9251. },
  9252. "sessionid": {
  9253. "description": "会话ID",
  9254. "type": "integer"
  9255. },
  9256. "strorderid": {
  9257. "description": "委托单号",
  9258. "type": "string"
  9259. },
  9260. "tradedate": {
  9261. "description": "交易日(yyyyMMdd)",
  9262. "type": "string"
  9263. },
  9264. "tradeproperty": {
  9265. "description": "交易属性",
  9266. "type": "integer"
  9267. },
  9268. "tradeqty": {
  9269. "description": "成交数量",
  9270. "type": "integer"
  9271. },
  9272. "unfreezecharge": {
  9273. "description": "解冻手续费",
  9274. "type": "number"
  9275. },
  9276. "unfreezemargin": {
  9277. "description": "解冻保证金",
  9278. "type": "number"
  9279. },
  9280. "updatetime": {
  9281. "description": "更新时间",
  9282. "type": "string"
  9283. },
  9284. "uuid": {
  9285. "description": "发起端唯一id",
  9286. "type": "string"
  9287. },
  9288. "validtime": {
  9289. "description": "有效期限",
  9290. "type": "string"
  9291. },
  9292. "validtype": {
  9293. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9294. "type": "integer"
  9295. },
  9296. "volumetype": {
  9297. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9298. "type": "integer"
  9299. }
  9300. }
  9301. },
  9302. "cptrade.QueryMyCPTradeGoodsRsp": {
  9303. "type": "object",
  9304. "required": [
  9305. "goodscode",
  9306. "goodsid",
  9307. "goodsname",
  9308. "marketid",
  9309. "relatedgoodscode",
  9310. "relatedgoodsname"
  9311. ],
  9312. "properties": {
  9313. "accountid": {
  9314. "description": "卖方账户ID",
  9315. "type": "integer"
  9316. },
  9317. "agreeunit": {
  9318. "description": "合约单位",
  9319. "type": "number"
  9320. },
  9321. "applyid": {
  9322. "description": "关联申请ID",
  9323. "type": "integer"
  9324. },
  9325. "attachmenturl": {
  9326. "description": "附件地址",
  9327. "type": "string"
  9328. },
  9329. "createtime": {
  9330. "description": "创建时间",
  9331. "type": "string"
  9332. },
  9333. "currencyid": {
  9334. "description": "报价货币ID",
  9335. "type": "integer"
  9336. },
  9337. "decimalplace": {
  9338. "description": "报价小数位",
  9339. "type": "integer"
  9340. },
  9341. "endtime": {
  9342. "description": "预售结束时间",
  9343. "type": "string"
  9344. },
  9345. "floorprice": {
  9346. "description": "底价[大宗式竞拍]",
  9347. "type": "number"
  9348. },
  9349. "goodscode": {
  9350. "description": "商品代码(预售)",
  9351. "type": "string"
  9352. },
  9353. "goodsdetail": {
  9354. "description": "详情[大宗]",
  9355. "type": "string"
  9356. },
  9357. "goodsid": {
  9358. "description": "商品ID(自增ID SEQ_GOODS)",
  9359. "type": "integer"
  9360. },
  9361. "goodsname": {
  9362. "description": "商品名称(预售)",
  9363. "type": "string"
  9364. },
  9365. "goodunit": {
  9366. "description": "报价单位",
  9367. "type": "string"
  9368. },
  9369. "goodunitid": {
  9370. "description": "报价单位ID",
  9371. "type": "integer"
  9372. },
  9373. "marketid": {
  9374. "description": "所属市场ID",
  9375. "type": "integer"
  9376. },
  9377. "marketname": {
  9378. "description": "预售市场名称",
  9379. "type": "string"
  9380. },
  9381. "presaledamount": {
  9382. "description": "已预售总金额(预售结束时更新)",
  9383. "type": "number"
  9384. },
  9385. "presaledqty": {
  9386. "description": "已预售量(预售结束时更新)",
  9387. "type": "integer"
  9388. },
  9389. "presalemode": {
  9390. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9391. "type": "integer"
  9392. },
  9393. "presaleqty": {
  9394. "description": "预售数量",
  9395. "type": "integer"
  9396. },
  9397. "refprice": {
  9398. "description": "参考价格[一口价]",
  9399. "type": "number"
  9400. },
  9401. "relatedgoodscode": {
  9402. "description": "商品代码(订单)",
  9403. "type": "string"
  9404. },
  9405. "relatedgoodsid": {
  9406. "description": "关联交易合约ID",
  9407. "type": "integer"
  9408. },
  9409. "relatedgoodsname": {
  9410. "description": "商品名称(订单)",
  9411. "type": "string"
  9412. },
  9413. "relatedmarketid": {
  9414. "description": "关联交易合约市场ID",
  9415. "type": "integer"
  9416. },
  9417. "sellstatus": {
  9418. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9419. "type": "integer"
  9420. },
  9421. "startprice": {
  9422. "description": "起拍价[大宗式竞拍]",
  9423. "type": "number"
  9424. },
  9425. "starttime": {
  9426. "description": "预售开始时间",
  9427. "type": "string"
  9428. },
  9429. "tradedate": {
  9430. "description": "交易日(yyyyMMdd)",
  9431. "type": "string"
  9432. },
  9433. "tradeprice": {
  9434. "description": "成交价[大宗]",
  9435. "type": "number"
  9436. },
  9437. "userid": {
  9438. "description": "卖方用户ID",
  9439. "type": "integer"
  9440. }
  9441. }
  9442. },
  9443. "cptrade.QueryPresaleGoodsExRsp": {
  9444. "type": "object",
  9445. "required": [
  9446. "goodsid"
  9447. ],
  9448. "properties": {
  9449. "attachmenturl": {
  9450. "description": "附件地址",
  9451. "type": "string"
  9452. },
  9453. "createtime": {
  9454. "description": "创建时间",
  9455. "type": "string"
  9456. },
  9457. "endtime": {
  9458. "description": "预售结束时间",
  9459. "type": "string"
  9460. },
  9461. "floorprice": {
  9462. "description": "底价[大宗式竞拍]",
  9463. "type": "number"
  9464. },
  9465. "goodsdetail": {
  9466. "description": "详情[大宗]",
  9467. "type": "string"
  9468. },
  9469. "goodsid": {
  9470. "description": "商品ID(预售)",
  9471. "type": "integer"
  9472. },
  9473. "goodunit": {
  9474. "description": "报价单位",
  9475. "type": "string"
  9476. },
  9477. "marketid": {
  9478. "description": "预售市场ID - 根据预售模式选择市场",
  9479. "type": "integer"
  9480. },
  9481. "presaledamount": {
  9482. "description": "已预售总金额(预售结束时更新)",
  9483. "type": "number"
  9484. },
  9485. "presaledqty": {
  9486. "description": "已预售量(预售结束时更新)",
  9487. "type": "integer"
  9488. },
  9489. "presalemode": {
  9490. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9491. "type": "integer"
  9492. },
  9493. "presaleqty": {
  9494. "description": "预售数量",
  9495. "type": "integer"
  9496. },
  9497. "refprice": {
  9498. "description": "参考价格[一口价]",
  9499. "type": "number"
  9500. },
  9501. "relatedgoodsid": {
  9502. "description": "关联交易合约ID",
  9503. "type": "integer"
  9504. },
  9505. "relatedmarketid": {
  9506. "description": "关联交易合约市场ID",
  9507. "type": "integer"
  9508. },
  9509. "sellstatus": {
  9510. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9511. "type": "integer"
  9512. },
  9513. "startprice": {
  9514. "description": "起拍价[大宗式竞拍]",
  9515. "type": "number"
  9516. },
  9517. "starttime": {
  9518. "description": "预售开始时间",
  9519. "type": "string"
  9520. },
  9521. "tradedate": {
  9522. "description": "交易日(yyyyMMdd)",
  9523. "type": "string"
  9524. },
  9525. "tradeprice": {
  9526. "description": "成交价[大宗]",
  9527. "type": "number"
  9528. }
  9529. }
  9530. },
  9531. "delivery.QueryDeliveryRelationRsp": {
  9532. "type": "object",
  9533. "required": [
  9534. "begindate",
  9535. "enddate",
  9536. "goodsid",
  9537. "mindeliveryqty",
  9538. "xdeliveryratio"
  9539. ],
  9540. "properties": {
  9541. "begindate": {
  9542. "description": "起始日期(yyyyMMdd)",
  9543. "type": "string"
  9544. },
  9545. "buytemplateid": {
  9546. "description": "买履约计划模板ID",
  9547. "type": "integer"
  9548. },
  9549. "deliverygoodscode": {
  9550. "description": "品种代码",
  9551. "type": "string"
  9552. },
  9553. "deliverygoodsid": {
  9554. "description": "交割商品",
  9555. "type": "integer"
  9556. },
  9557. "deliverygoodsname": {
  9558. "description": "品种名称",
  9559. "type": "string"
  9560. },
  9561. "deliverymode": {
  9562. "description": "交割方式 - 1:点选式 2:申报式",
  9563. "type": "integer"
  9564. },
  9565. "deliverypricerule": {
  9566. "description": "交割价规则- 1:行情价 2:建仓价",
  9567. "type": "integer"
  9568. },
  9569. "deliverytype": {
  9570. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9571. "type": "integer"
  9572. },
  9573. "enddate": {
  9574. "description": "结束日期(yyyyMMdd)",
  9575. "type": "string"
  9576. },
  9577. "goodscode": {
  9578. "description": "商品代码",
  9579. "type": "string"
  9580. },
  9581. "goodsid": {
  9582. "description": "交易合约ID",
  9583. "type": "integer"
  9584. },
  9585. "goodsname": {
  9586. "description": "商品名称",
  9587. "type": "string"
  9588. },
  9589. "marketid": {
  9590. "description": "市场ID",
  9591. "type": "integer"
  9592. },
  9593. "mindeliveryqty": {
  9594. "description": "最小交割系数(K)",
  9595. "type": "integer"
  9596. },
  9597. "p2deliveryprice": {
  9598. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9599. "type": "number"
  9600. },
  9601. "p2deliveryratio": {
  9602. "description": "P2合约系数(p)",
  9603. "type": "integer"
  9604. },
  9605. "p2goodsid": {
  9606. "description": "P2合约ID",
  9607. "type": "integer"
  9608. },
  9609. "p2pricemode": {
  9610. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9611. "type": "integer"
  9612. },
  9613. "pdeliveryprice": {
  9614. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9615. "type": "number"
  9616. },
  9617. "pdeliveryratio": {
  9618. "description": "P合约系数(n)",
  9619. "type": "integer"
  9620. },
  9621. "pgoodsid": {
  9622. "description": "P合约ID",
  9623. "type": "integer"
  9624. },
  9625. "ppricemode": {
  9626. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9627. "type": "integer"
  9628. },
  9629. "rratio": {
  9630. "description": "兑换系数(R)",
  9631. "type": "integer"
  9632. },
  9633. "rratio1": {
  9634. "description": "兑换系数(交易合约)(R1)",
  9635. "type": "integer"
  9636. },
  9637. "rratio2": {
  9638. "description": "兑换系数(仓单标准)(R2)",
  9639. "type": "integer"
  9640. },
  9641. "selltemplateid": {
  9642. "description": "卖履约计划模板ID",
  9643. "type": "integer"
  9644. },
  9645. "wrstandardid": {
  9646. "description": "仓单标准ID",
  9647. "type": "integer"
  9648. },
  9649. "xdeliveryratio": {
  9650. "description": "交易合约系数(m)",
  9651. "type": "integer"
  9652. }
  9653. }
  9654. },
  9655. "ermcp.ExposureDetailRsp": {
  9656. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9657. },
  9658. "ermcp.ExposureHedgePosDetailRsp": {
  9659. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9660. },
  9661. "ermcp.ExposureHedgePositionRsp": {
  9662. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9663. },
  9664. "ermcp.ExposureSpotDetailRsp": {
  9665. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9666. },
  9667. "ermcp.ExposureSpotRsp": {
  9668. "$ref": "#/definitions/models.AreaSpotModel"
  9669. },
  9670. "ermcp.HisExposureRsp": {
  9671. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9672. },
  9673. "ermcp.PendingAuditCntRsp": {
  9674. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9675. },
  9676. "ermcp.QryAvalidGPRsp": {
  9677. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9678. },
  9679. "ermcp.QryBusinessDjRsp": {
  9680. "type": "object",
  9681. "properties": {
  9682. "amount": {
  9683. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9684. "type": "number"
  9685. },
  9686. "applyid": {
  9687. "description": "申请人",
  9688. "type": "string"
  9689. },
  9690. "applyname": {
  9691. "description": "申请人名称",
  9692. "type": "string"
  9693. },
  9694. "applystatus": {
  9695. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9696. "type": "integer"
  9697. },
  9698. "applytime": {
  9699. "description": "申请时间",
  9700. "type": "string"
  9701. },
  9702. "attachurl": {
  9703. "description": "附件",
  9704. "type": "string"
  9705. },
  9706. "auditid": {
  9707. "description": "审核人ID",
  9708. "type": "string"
  9709. },
  9710. "auditname": {
  9711. "description": "审核人名称",
  9712. "type": "string"
  9713. },
  9714. "audittime": {
  9715. "description": "审核时间",
  9716. "type": "string"
  9717. },
  9718. "buyusername": {
  9719. "description": "采购方名称",
  9720. "type": "string"
  9721. },
  9722. "contractno": {
  9723. "description": "合同编号",
  9724. "type": "string"
  9725. },
  9726. "contractstatus": {
  9727. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9728. "type": "integer"
  9729. },
  9730. "contracttype": {
  9731. "description": "现货合同类型 - 1:采购 -1:销售",
  9732. "type": "integer"
  9733. },
  9734. "deliverygoodscode": {
  9735. "description": "现货品种代码",
  9736. "type": "string"
  9737. },
  9738. "deliverygoodsid": {
  9739. "description": "现货商品ID",
  9740. "type": "integer"
  9741. },
  9742. "deliverygoodsname": {
  9743. "description": "现货品种名称",
  9744. "type": "string"
  9745. },
  9746. "enumdicname": {
  9747. "description": "单位名称",
  9748. "type": "string"
  9749. },
  9750. "goodscode": {
  9751. "description": "点价合约",
  9752. "type": "string"
  9753. },
  9754. "goodsname": {
  9755. "description": "商品名称",
  9756. "type": "string"
  9757. },
  9758. "operateapplyid": {
  9759. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9760. "type": "string"
  9761. },
  9762. "operateapplytype": {
  9763. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9764. "type": "integer"
  9765. },
  9766. "pricedPrice": {
  9767. "description": "点价价格(非必填)",
  9768. "type": "number"
  9769. },
  9770. "pricedQty": {
  9771. "description": "点价数量(非必填)",
  9772. "type": "number"
  9773. },
  9774. "pricemove": {
  9775. "description": "升贴水",
  9776. "type": "number"
  9777. },
  9778. "pricetype": {
  9779. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9780. "type": "integer"
  9781. },
  9782. "relatedid": {
  9783. "description": "现货合同ID",
  9784. "type": "string"
  9785. },
  9786. "sellusername": {
  9787. "description": "销售方名字",
  9788. "type": "string"
  9789. },
  9790. "userid": {
  9791. "description": "用户ID",
  9792. "type": "integer"
  9793. },
  9794. "wrstandardcode": {
  9795. "description": "品类代码",
  9796. "type": "string"
  9797. },
  9798. "wrstandardid": {
  9799. "description": "品类id",
  9800. "type": "integer"
  9801. },
  9802. "wrstandardname": {
  9803. "description": "品类名称",
  9804. "type": "string"
  9805. }
  9806. }
  9807. },
  9808. "ermcp.QryBussinessFpRsp": {
  9809. "type": "object",
  9810. "properties": {
  9811. "applyid": {
  9812. "description": "申请人",
  9813. "type": "string"
  9814. },
  9815. "applyname": {
  9816. "description": "申请人名称",
  9817. "type": "string"
  9818. },
  9819. "applystatus": {
  9820. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9821. "type": "integer"
  9822. },
  9823. "applytime": {
  9824. "description": "申请时间",
  9825. "type": "string"
  9826. },
  9827. "attachurl": {
  9828. "description": "附件",
  9829. "type": "string"
  9830. },
  9831. "auditid": {
  9832. "description": "审核人ID",
  9833. "type": "string"
  9834. },
  9835. "auditname": {
  9836. "description": "审核人名称",
  9837. "type": "string"
  9838. },
  9839. "audittime": {
  9840. "description": "审核时间",
  9841. "type": "string"
  9842. },
  9843. "buyusername": {
  9844. "description": "采购方名称",
  9845. "type": "string"
  9846. },
  9847. "contractno": {
  9848. "description": "合同编号",
  9849. "type": "string"
  9850. },
  9851. "contractstatus": {
  9852. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9853. "type": "integer"
  9854. },
  9855. "contracttype": {
  9856. "description": "现货合同类型 - 1:采购 -1:销售",
  9857. "type": "integer"
  9858. },
  9859. "deliverygoodscode": {
  9860. "description": "现货品种代码",
  9861. "type": "string"
  9862. },
  9863. "deliverygoodsid": {
  9864. "description": "现货商品ID",
  9865. "type": "integer"
  9866. },
  9867. "deliverygoodsname": {
  9868. "description": "现货品种名称",
  9869. "type": "string"
  9870. },
  9871. "enumdicname": {
  9872. "description": "单位名称",
  9873. "type": "string"
  9874. },
  9875. "goodscode": {
  9876. "description": "点价合约",
  9877. "type": "string"
  9878. },
  9879. "goodsname": {
  9880. "description": "商品名称",
  9881. "type": "string"
  9882. },
  9883. "invoiceAmount": {
  9884. "description": "已开收票金额(销售为开票,采购为收票)",
  9885. "type": "number"
  9886. },
  9887. "operateapplyid": {
  9888. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9889. "type": "string"
  9890. },
  9891. "operateapplytype": {
  9892. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9893. "type": "integer"
  9894. },
  9895. "pricemove": {
  9896. "description": "升贴水",
  9897. "type": "number"
  9898. },
  9899. "pricetype": {
  9900. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9901. "type": "integer"
  9902. },
  9903. "relatedid": {
  9904. "description": "现货合同ID",
  9905. "type": "string"
  9906. },
  9907. "sellusername": {
  9908. "description": "销售方名字",
  9909. "type": "string"
  9910. },
  9911. "userid": {
  9912. "description": "用户ID",
  9913. "type": "integer"
  9914. },
  9915. "wrstandardcode": {
  9916. "description": "品类代码",
  9917. "type": "string"
  9918. },
  9919. "wrstandardid": {
  9920. "description": "品类id",
  9921. "type": "integer"
  9922. },
  9923. "wrstandardname": {
  9924. "description": "品类名称",
  9925. "type": "string"
  9926. }
  9927. }
  9928. },
  9929. "ermcp.QryBussinessJsExRsp": {
  9930. "type": "object",
  9931. "properties": {
  9932. "applyid": {
  9933. "description": "申请人",
  9934. "type": "string"
  9935. },
  9936. "applyname": {
  9937. "description": "申请人名称",
  9938. "type": "string"
  9939. },
  9940. "applystatus": {
  9941. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9942. "type": "integer"
  9943. },
  9944. "applytime": {
  9945. "description": "申请时间",
  9946. "type": "string"
  9947. },
  9948. "attachurl": {
  9949. "description": "附件",
  9950. "type": "string"
  9951. },
  9952. "auditid": {
  9953. "description": "审核人ID",
  9954. "type": "string"
  9955. },
  9956. "auditname": {
  9957. "description": "审核人名称",
  9958. "type": "string"
  9959. },
  9960. "audittime": {
  9961. "description": "审核时间",
  9962. "type": "string"
  9963. },
  9964. "buyusername": {
  9965. "description": "采购方名称",
  9966. "type": "string"
  9967. },
  9968. "contractno": {
  9969. "description": "合同编号",
  9970. "type": "string"
  9971. },
  9972. "contractstatus": {
  9973. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9974. "type": "integer"
  9975. },
  9976. "contracttype": {
  9977. "description": "现货合同类型 - 1:采购 -1:销售",
  9978. "type": "integer"
  9979. },
  9980. "deliverygoodscode": {
  9981. "description": "现货品种代码",
  9982. "type": "string"
  9983. },
  9984. "deliverygoodsid": {
  9985. "description": "现货商品ID",
  9986. "type": "integer"
  9987. },
  9988. "deliverygoodsname": {
  9989. "description": "现货品种名称",
  9990. "type": "string"
  9991. },
  9992. "enumdicname": {
  9993. "description": "单位名称",
  9994. "type": "string"
  9995. },
  9996. "goodscode": {
  9997. "description": "点价合约",
  9998. "type": "string"
  9999. },
  10000. "goodsname": {
  10001. "description": "商品名称",
  10002. "type": "string"
  10003. },
  10004. "operateapplyid": {
  10005. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10006. "type": "string"
  10007. },
  10008. "operateapplytype": {
  10009. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10010. "type": "integer"
  10011. },
  10012. "pricemove": {
  10013. "description": "升贴水",
  10014. "type": "number"
  10015. },
  10016. "pricetype": {
  10017. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10018. "type": "integer"
  10019. },
  10020. "reckontype": {
  10021. "description": "结算类型",
  10022. "type": "string"
  10023. },
  10024. "reckonvalue": {
  10025. "description": "值",
  10026. "type": "number"
  10027. },
  10028. "relatedid": {
  10029. "description": "现货合同ID",
  10030. "type": "string"
  10031. },
  10032. "sellusername": {
  10033. "description": "销售方名字",
  10034. "type": "string"
  10035. },
  10036. "userid": {
  10037. "description": "用户ID",
  10038. "type": "integer"
  10039. },
  10040. "wrstandardcode": {
  10041. "description": "品类代码",
  10042. "type": "string"
  10043. },
  10044. "wrstandardid": {
  10045. "description": "品类id",
  10046. "type": "integer"
  10047. },
  10048. "wrstandardname": {
  10049. "description": "品类名称",
  10050. "type": "string"
  10051. }
  10052. }
  10053. },
  10054. "ermcp.QryBussinessJsRsp": {
  10055. "type": "object",
  10056. "properties": {
  10057. "addmargin": {
  10058. "description": "追加保证金(非必填)",
  10059. "type": "number"
  10060. },
  10061. "applyid": {
  10062. "description": "申请人",
  10063. "type": "string"
  10064. },
  10065. "applyname": {
  10066. "description": "申请人名称",
  10067. "type": "string"
  10068. },
  10069. "applystatus": {
  10070. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10071. "type": "integer"
  10072. },
  10073. "applytime": {
  10074. "description": "申请时间",
  10075. "type": "string"
  10076. },
  10077. "attachurl": {
  10078. "description": "附件",
  10079. "type": "string"
  10080. },
  10081. "auditid": {
  10082. "description": "审核人ID",
  10083. "type": "string"
  10084. },
  10085. "auditname": {
  10086. "description": "审核人名称",
  10087. "type": "string"
  10088. },
  10089. "audittime": {
  10090. "description": "审核时间",
  10091. "type": "string"
  10092. },
  10093. "buyusername": {
  10094. "description": "采购方名称",
  10095. "type": "string"
  10096. },
  10097. "contractno": {
  10098. "description": "合同编号",
  10099. "type": "string"
  10100. },
  10101. "contractstatus": {
  10102. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10103. "type": "integer"
  10104. },
  10105. "contracttype": {
  10106. "description": "现货合同类型 - 1:采购 -1:销售",
  10107. "type": "integer"
  10108. },
  10109. "decmargin": {
  10110. "description": "减少保证金(非必填)",
  10111. "type": "number"
  10112. },
  10113. "deliverygoodscode": {
  10114. "description": "现货品种代码",
  10115. "type": "string"
  10116. },
  10117. "deliverygoodsid": {
  10118. "description": "现货商品ID",
  10119. "type": "integer"
  10120. },
  10121. "deliverygoodsname": {
  10122. "description": "现货品种名称",
  10123. "type": "string"
  10124. },
  10125. "enumdicname": {
  10126. "description": "单位名称",
  10127. "type": "string"
  10128. },
  10129. "goodscode": {
  10130. "description": "点价合约",
  10131. "type": "string"
  10132. },
  10133. "goodsname": {
  10134. "description": "商品名称",
  10135. "type": "string"
  10136. },
  10137. "operateapplyid": {
  10138. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10139. "type": "string"
  10140. },
  10141. "operateapplytype": {
  10142. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10143. "type": "integer"
  10144. },
  10145. "pricemove": {
  10146. "description": "升贴水",
  10147. "type": "number"
  10148. },
  10149. "pricetype": {
  10150. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10151. "type": "integer"
  10152. },
  10153. "reckonadjustamount": {
  10154. "description": "结算调整金额(非必填)",
  10155. "type": "number"
  10156. },
  10157. "reckonosamount": {
  10158. "description": "结算溢短金额(非必填)",
  10159. "type": "number"
  10160. },
  10161. "reckonotheramount": {
  10162. "description": "结算其他费用(非必填)",
  10163. "type": "number"
  10164. },
  10165. "reckonrealqty": {
  10166. "description": "结算实际数量(非必填)",
  10167. "type": "number"
  10168. },
  10169. "relatedid": {
  10170. "description": "现货合同ID",
  10171. "type": "string"
  10172. },
  10173. "sellusername": {
  10174. "description": "销售方名字",
  10175. "type": "string"
  10176. },
  10177. "userid": {
  10178. "description": "用户ID",
  10179. "type": "integer"
  10180. },
  10181. "wrstandardcode": {
  10182. "description": "品类代码",
  10183. "type": "string"
  10184. },
  10185. "wrstandardid": {
  10186. "description": "品类id",
  10187. "type": "integer"
  10188. },
  10189. "wrstandardname": {
  10190. "description": "品类名称",
  10191. "type": "string"
  10192. }
  10193. }
  10194. },
  10195. "ermcp.QryBussinessKxRsp": {
  10196. "type": "object",
  10197. "properties": {
  10198. "applyid": {
  10199. "description": "申请人",
  10200. "type": "string"
  10201. },
  10202. "applyname": {
  10203. "description": "申请人名称",
  10204. "type": "string"
  10205. },
  10206. "applystatus": {
  10207. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10208. "type": "integer"
  10209. },
  10210. "applytime": {
  10211. "description": "申请时间",
  10212. "type": "string"
  10213. },
  10214. "attachurl": {
  10215. "description": "附件",
  10216. "type": "string"
  10217. },
  10218. "auditid": {
  10219. "description": "审核人ID",
  10220. "type": "string"
  10221. },
  10222. "auditname": {
  10223. "description": "审核人名称",
  10224. "type": "string"
  10225. },
  10226. "audittime": {
  10227. "description": "审核时间",
  10228. "type": "string"
  10229. },
  10230. "buyusername": {
  10231. "description": "采购方名称",
  10232. "type": "string"
  10233. },
  10234. "contractno": {
  10235. "description": "合同编号",
  10236. "type": "string"
  10237. },
  10238. "contractstatus": {
  10239. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10240. "type": "integer"
  10241. },
  10242. "contracttype": {
  10243. "description": "现货合同类型 - 1:采购 -1:销售",
  10244. "type": "integer"
  10245. },
  10246. "deductamount": {
  10247. "description": "退款(非必填)",
  10248. "type": "number"
  10249. },
  10250. "deliverygoodscode": {
  10251. "description": "现货品种代码",
  10252. "type": "string"
  10253. },
  10254. "deliverygoodsid": {
  10255. "description": "现货商品ID",
  10256. "type": "integer"
  10257. },
  10258. "deliverygoodsname": {
  10259. "description": "现货品种名称",
  10260. "type": "string"
  10261. },
  10262. "enumdicname": {
  10263. "description": "单位名称",
  10264. "type": "string"
  10265. },
  10266. "goodscode": {
  10267. "description": "点价合约",
  10268. "type": "string"
  10269. },
  10270. "goodsname": {
  10271. "description": "商品名称",
  10272. "type": "string"
  10273. },
  10274. "kxtype": {
  10275. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10276. "type": "integer"
  10277. },
  10278. "operateapplyid": {
  10279. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10280. "type": "string"
  10281. },
  10282. "operateapplytype": {
  10283. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10284. "type": "integer"
  10285. },
  10286. "payamount": {
  10287. "description": "收付款(非必填)",
  10288. "type": "number"
  10289. },
  10290. "pricemove": {
  10291. "description": "升贴水",
  10292. "type": "number"
  10293. },
  10294. "pricetype": {
  10295. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10296. "type": "integer"
  10297. },
  10298. "relatedid": {
  10299. "description": "现货合同ID",
  10300. "type": "string"
  10301. },
  10302. "sellusername": {
  10303. "description": "销售方名字",
  10304. "type": "string"
  10305. },
  10306. "userid": {
  10307. "description": "用户ID",
  10308. "type": "integer"
  10309. },
  10310. "wrstandardcode": {
  10311. "description": "品类代码",
  10312. "type": "string"
  10313. },
  10314. "wrstandardid": {
  10315. "description": "品类id",
  10316. "type": "integer"
  10317. },
  10318. "wrstandardname": {
  10319. "description": "品类名称",
  10320. "type": "string"
  10321. }
  10322. }
  10323. },
  10324. "ermcp.QryGGCovertCfgRsp": {
  10325. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10326. },
  10327. "ermcp.QryMGChangeLogRsp": {
  10328. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  10329. },
  10330. "ermcp.QryMiddleGoodsDetailRsp": {
  10331. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  10332. },
  10333. "ermcp.QryMiddleGoodsRsp": {
  10334. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10335. },
  10336. "ermcp.QryOPLogRsp": {
  10337. "$ref": "#/definitions/models.ErmcpOPLogModel"
  10338. },
  10339. "ermcp.QryUserInfoRsp": {
  10340. "$ref": "#/definitions/models.ErmcpUserModel"
  10341. },
  10342. "ermcp.QryWarehouseRsp": {
  10343. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  10344. },
  10345. "ermcp.QueryErmcpTradePositionRsp": {
  10346. "type": "object",
  10347. "properties": {
  10348. "agreeunit": {
  10349. "description": "合约单位",
  10350. "type": "number"
  10351. },
  10352. "buyorsell": {
  10353. "description": "方向 - 0:买 1:卖",
  10354. "type": "integer"
  10355. },
  10356. "curpositionqty": {
  10357. "description": "持仓(总仓数量, 期末头寸)",
  10358. "type": "integer"
  10359. },
  10360. "curtdposition": {
  10361. "description": "今仓数量(期末今日头寸)",
  10362. "type": "integer"
  10363. },
  10364. "curtdpositionenabled": {
  10365. "description": "今仓可用",
  10366. "type": "integer"
  10367. },
  10368. "decimalplace": {
  10369. "description": "报价小数位",
  10370. "type": "integer"
  10371. },
  10372. "enableqty": {
  10373. "description": "可用(总仓可用)",
  10374. "type": "integer"
  10375. },
  10376. "exexchangename": {
  10377. "description": "外部交易所名称",
  10378. "type": "string"
  10379. },
  10380. "goodscode": {
  10381. "description": "商品代码(内部)",
  10382. "type": "string"
  10383. },
  10384. "goodsid": {
  10385. "description": "商品ID(自增ID SEQ_GOODS)",
  10386. "type": "integer"
  10387. },
  10388. "goodsname": {
  10389. "description": "商品名称",
  10390. "type": "string"
  10391. },
  10392. "last": {
  10393. "description": "现价",
  10394. "type": "number"
  10395. },
  10396. "marketid": {
  10397. "description": "所属市场ID",
  10398. "type": "integer"
  10399. },
  10400. "openaverageprice": {
  10401. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10402. "type": "number"
  10403. },
  10404. "opencost": {
  10405. "description": "开仓成本",
  10406. "type": "number"
  10407. },
  10408. "openpl": {
  10409. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10410. "type": "number"
  10411. },
  10412. "outgoodscode": {
  10413. "description": "商品代码(外部)",
  10414. "type": "string"
  10415. },
  10416. "positionaverageprice": {
  10417. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10418. "type": "number"
  10419. },
  10420. "positioncost": {
  10421. "description": "持仓成本",
  10422. "type": "number"
  10423. },
  10424. "positionpl": {
  10425. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10426. "type": "number"
  10427. },
  10428. "positionplrate": {
  10429. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10430. "type": "number"
  10431. },
  10432. "usedmargin": {
  10433. "description": "占用保证金",
  10434. "type": "number"
  10435. }
  10436. }
  10437. },
  10438. "ermcp.RealtimeExposurePositionRsp": {
  10439. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10440. },
  10441. "ermcp.RealtimeExposureRsp": {
  10442. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10443. },
  10444. "erms2.QueryArbitrageStrategyRsp": {
  10445. "type": "object",
  10446. "required": [
  10447. "asapplyid"
  10448. ],
  10449. "properties": {
  10450. "applybasis": {
  10451. "description": "申请基差",
  10452. "type": "number"
  10453. },
  10454. "asapplyid": {
  10455. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10456. "type": "string"
  10457. },
  10458. "asname": {
  10459. "description": "策略名称",
  10460. "type": "string"
  10461. },
  10462. "asno": {
  10463. "description": "策略编号",
  10464. "type": "string"
  10465. },
  10466. "basischangepl": {
  10467. "description": "基差变动损益[结算更新]",
  10468. "type": "number"
  10469. },
  10470. "biztype": {
  10471. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10472. "type": "integer"
  10473. },
  10474. "closetradedate": {
  10475. "description": "完结交易日(yyyyMMdd)",
  10476. "type": "string"
  10477. },
  10478. "curbasis": {
  10479. "description": "当前基差[结算更新]",
  10480. "type": "number"
  10481. },
  10482. "deliverygoodsid": {
  10483. "description": "现货品种ID",
  10484. "type": "integer"
  10485. },
  10486. "futureavgprice": {
  10487. "description": "期货建仓均价",
  10488. "type": "number"
  10489. },
  10490. "futurecloseamount": {
  10491. "description": "期货平仓金额",
  10492. "type": "number"
  10493. },
  10494. "futurecloseqty": {
  10495. "description": "期货平仓数量",
  10496. "type": "number"
  10497. },
  10498. "futureopenamount": {
  10499. "description": "期货开仓金额",
  10500. "type": "number"
  10501. },
  10502. "futureopenqty": {
  10503. "description": "期货开仓数量",
  10504. "type": "number"
  10505. },
  10506. "futurepl": {
  10507. "description": "期货总盈亏[结算更新]",
  10508. "type": "number"
  10509. },
  10510. "futureqty": {
  10511. "description": "期货持仓数量",
  10512. "type": "number"
  10513. },
  10514. "futurequote": {
  10515. "description": "期货额度",
  10516. "type": "number"
  10517. },
  10518. "goodsgroupid": {
  10519. "description": "期货品种ID",
  10520. "type": "integer"
  10521. },
  10522. "marketid": {
  10523. "description": "市场ID",
  10524. "type": "integer"
  10525. },
  10526. "netexposure": {
  10527. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10528. "type": "number"
  10529. },
  10530. "netexposurepl": {
  10531. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10532. "type": "number"
  10533. },
  10534. "netexposurerate": {
  10535. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10536. "type": "number"
  10537. },
  10538. "openbasis": {
  10539. "description": "建仓基差",
  10540. "type": "number"
  10541. },
  10542. "pricedspotqty": {
  10543. "description": "已定价现货数量",
  10544. "type": "number"
  10545. },
  10546. "pricedspotqtynotax": {
  10547. "description": "已定价现货不含税数量",
  10548. "type": "number"
  10549. },
  10550. "remark": {
  10551. "description": "备注",
  10552. "type": "string"
  10553. },
  10554. "spotavgprice": {
  10555. "description": "现货均价",
  10556. "type": "number"
  10557. },
  10558. "spotbuyamount": {
  10559. "description": "现货采购金额",
  10560. "type": "number"
  10561. },
  10562. "spotbuyqty": {
  10563. "description": "现货采购数量",
  10564. "type": "number"
  10565. },
  10566. "spotpl": {
  10567. "description": "现货总盈亏[结算更新]",
  10568. "type": "number"
  10569. },
  10570. "spotquota": {
  10571. "description": "现货额度",
  10572. "type": "number"
  10573. },
  10574. "spotsellamount": {
  10575. "description": "现货销售金额",
  10576. "type": "number"
  10577. },
  10578. "spotsellqty": {
  10579. "description": "现货销售数量",
  10580. "type": "number"
  10581. },
  10582. "spotusedquota": {
  10583. "description": "现货占用资金",
  10584. "type": "number"
  10585. },
  10586. "strategystatus": {
  10587. "description": "策略状态 - 0:未结束 1:已结束",
  10588. "type": "integer"
  10589. },
  10590. "totalpl": {
  10591. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10592. "type": "number"
  10593. },
  10594. "tradedate": {
  10595. "description": "交易日(yyyyMMdd)",
  10596. "type": "string"
  10597. },
  10598. "updatetime": {
  10599. "description": "更新时间",
  10600. "type": "string"
  10601. },
  10602. "usedquota": {
  10603. "description": "已占用资金",
  10604. "type": "number"
  10605. },
  10606. "userid": {
  10607. "description": "所属机构",
  10608. "type": "integer"
  10609. }
  10610. }
  10611. },
  10612. "erms2.QueryInnerTradeDetailRsp": {
  10613. "type": "object",
  10614. "required": [
  10615. "asapplyid",
  10616. "buyorsell",
  10617. "goodscode",
  10618. "goodsgroupid",
  10619. "goodsgroupname",
  10620. "goodsname",
  10621. "tradeid"
  10622. ],
  10623. "properties": {
  10624. "accountid": {
  10625. "description": "账号ID",
  10626. "type": "integer"
  10627. },
  10628. "agreeunit": {
  10629. "description": "合约单位",
  10630. "type": "number"
  10631. },
  10632. "asapplyid": {
  10633. "description": "策略申请ID",
  10634. "type": "integer"
  10635. },
  10636. "asname": {
  10637. "description": "策略名称",
  10638. "type": "string"
  10639. },
  10640. "asno": {
  10641. "description": "策略编号",
  10642. "type": "string"
  10643. },
  10644. "buyorsell": {
  10645. "description": "方向 - 0:买 1:卖",
  10646. "type": "integer"
  10647. },
  10648. "channelbuildtype": {
  10649. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10650. "type": "integer"
  10651. },
  10652. "closetype": {
  10653. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10654. "type": "integer"
  10655. },
  10656. "decimalplace": {
  10657. "description": "报价小数位",
  10658. "type": "integer"
  10659. },
  10660. "detailtype": {
  10661. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10662. "type": "integer"
  10663. },
  10664. "exexchangecode": {
  10665. "description": "外部交易所代码",
  10666. "type": "string"
  10667. },
  10668. "exexchangename": {
  10669. "description": "外部交易所名称",
  10670. "type": "string"
  10671. },
  10672. "goodscode": {
  10673. "description": "商品代码(合约)",
  10674. "type": "string"
  10675. },
  10676. "goodsgroupid": {
  10677. "description": "商品组ID(品种ID)",
  10678. "type": "integer"
  10679. },
  10680. "goodsgroupname": {
  10681. "description": "商品组名称(品种)",
  10682. "type": "string"
  10683. },
  10684. "goodsid": {
  10685. "description": "商品ID",
  10686. "type": "integer"
  10687. },
  10688. "goodsname": {
  10689. "description": "商品名称(合约)",
  10690. "type": "string"
  10691. },
  10692. "goodunit": {
  10693. "description": "报价单位",
  10694. "type": "string"
  10695. },
  10696. "marketid": {
  10697. "description": "市场ID",
  10698. "type": "integer"
  10699. },
  10700. "orderid": {
  10701. "description": "委托单号",
  10702. "type": "string"
  10703. },
  10704. "outgoodscode": {
  10705. "description": "商品代码(外部)",
  10706. "type": "string"
  10707. },
  10708. "relatedouttradeid": {
  10709. "description": "关联外部成交单ID",
  10710. "type": "string"
  10711. },
  10712. "remark": {
  10713. "description": "备注",
  10714. "type": "string"
  10715. },
  10716. "spotcontractid": {
  10717. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10718. "type": "integer"
  10719. },
  10720. "spotcontractno": {
  10721. "description": "现货合同编号",
  10722. "type": "string"
  10723. },
  10724. "tradeid": {
  10725. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10726. "type": "string"
  10727. },
  10728. "tradeprice": {
  10729. "description": "成交价格",
  10730. "type": "number"
  10731. },
  10732. "tradeqty": {
  10733. "description": "成交数量",
  10734. "type": "integer"
  10735. },
  10736. "tradetime": {
  10737. "description": "成交时间",
  10738. "type": "string"
  10739. },
  10740. "updatetime": {
  10741. "description": "更新时间",
  10742. "type": "string"
  10743. }
  10744. }
  10745. },
  10746. "erms2.QuerySpotContractRsp": {
  10747. "type": "object",
  10748. "required": [
  10749. "spotcontractid"
  10750. ],
  10751. "properties": {
  10752. "accountid": {
  10753. "description": "资金账户ID",
  10754. "type": "integer"
  10755. },
  10756. "areauserid": {
  10757. "description": "所属机构",
  10758. "type": "integer"
  10759. },
  10760. "closedate": {
  10761. "description": "终止日期",
  10762. "type": "string"
  10763. },
  10764. "closeremark": {
  10765. "description": "结束备注",
  10766. "type": "string"
  10767. },
  10768. "closetradedate": {
  10769. "description": "完结交易日(yyyyMMdd)",
  10770. "type": "string"
  10771. },
  10772. "closetype": {
  10773. "description": "终止类型 - 1:违约 2:提前终止",
  10774. "type": "integer"
  10775. },
  10776. "contractamount": {
  10777. "description": "合同金额",
  10778. "type": "number"
  10779. },
  10780. "contractattachment": {
  10781. "description": "合同附件",
  10782. "type": "string"
  10783. },
  10784. "contractno": {
  10785. "description": "现货合同编号",
  10786. "type": "string"
  10787. },
  10788. "contractqty": {
  10789. "description": "合同数量(数值) (用于计算)",
  10790. "type": "number"
  10791. },
  10792. "contractqtychar": {
  10793. "description": "合同数量\\已订价数量 (用于显示)",
  10794. "type": "string"
  10795. },
  10796. "contractstatus": {
  10797. "description": "合同状态 - 0:未结束 1:已结束",
  10798. "type": "integer"
  10799. },
  10800. "contracttype": {
  10801. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10802. "type": "integer"
  10803. },
  10804. "customeraccountid": {
  10805. "description": "客户资金账户ID",
  10806. "type": "integer"
  10807. },
  10808. "customeruserid": {
  10809. "description": "客户ID",
  10810. "type": "integer"
  10811. },
  10812. "deliverygoodsdesc": {
  10813. "description": "品种说明",
  10814. "type": "string"
  10815. },
  10816. "deliverygoodsid": {
  10817. "description": "现货品种ID",
  10818. "type": "integer"
  10819. },
  10820. "handlestatus": {
  10821. "description": "处理状态",
  10822. "type": "integer"
  10823. },
  10824. "invoiceatt": {
  10825. "description": "发票附件",
  10826. "type": "string"
  10827. },
  10828. "invoicedatetime": {
  10829. "description": "开收票更新时间",
  10830. "type": "string"
  10831. },
  10832. "invoiceopentime": {
  10833. "description": "开票时间",
  10834. "type": "string"
  10835. },
  10836. "invoiceremark": {
  10837. "description": "发票备注",
  10838. "type": "string"
  10839. },
  10840. "invoicestatus": {
  10841. "description": "开收票状态 - 0:未开票 1:已开票",
  10842. "type": "integer"
  10843. },
  10844. "lastdate": {
  10845. "description": "交货时间",
  10846. "type": "string"
  10847. },
  10848. "marketid": {
  10849. "description": "市场ID",
  10850. "type": "integer"
  10851. },
  10852. "paydatetime": {
  10853. "description": "收付款更新时间",
  10854. "type": "string"
  10855. },
  10856. "payremark": {
  10857. "description": "收付款备注",
  10858. "type": "string"
  10859. },
  10860. "paystatus": {
  10861. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10862. "type": "integer"
  10863. },
  10864. "positionqty": {
  10865. "description": "头寸数量 - 合同数量去小数部分",
  10866. "type": "integer"
  10867. },
  10868. "producttype": {
  10869. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10870. "type": "integer"
  10871. },
  10872. "relatedqty": {
  10873. "description": "已关联数量",
  10874. "type": "number"
  10875. },
  10876. "relatedstatus": {
  10877. "description": "关联完结状态 - 0:未结束 1:已结束",
  10878. "type": "integer"
  10879. },
  10880. "remark": {
  10881. "description": "备注",
  10882. "type": "string"
  10883. },
  10884. "signdate": {
  10885. "description": "签订日期",
  10886. "type": "string"
  10887. },
  10888. "spotcontractid": {
  10889. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10890. "type": "string"
  10891. },
  10892. "spotdatetime": {
  10893. "description": "收发货更新时间",
  10894. "type": "string"
  10895. },
  10896. "spotprice": {
  10897. "description": "价格",
  10898. "type": "number"
  10899. },
  10900. "spotremark": {
  10901. "description": "收发货备注",
  10902. "type": "string"
  10903. },
  10904. "spotstatus": {
  10905. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10906. "type": "integer"
  10907. },
  10908. "tradedate": {
  10909. "description": "交易日(yyyyMMdd)",
  10910. "type": "string"
  10911. },
  10912. "userid": {
  10913. "description": "业务员用户ID",
  10914. "type": "integer"
  10915. },
  10916. "warehouseid": {
  10917. "description": "仓库ID",
  10918. "type": "integer"
  10919. },
  10920. "wrfactortypeid": {
  10921. "description": "仓单要素类型ID",
  10922. "type": "integer"
  10923. },
  10924. "wrstandardid": {
  10925. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10926. "type": "integer"
  10927. }
  10928. }
  10929. },
  10930. "erms3.AddErms2ASApplyReq": {
  10931. "type": "object",
  10932. "required": [
  10933. "asapplyid"
  10934. ],
  10935. "properties": {
  10936. "applybasis": {
  10937. "description": "申请基差",
  10938. "type": "number"
  10939. },
  10940. "applystatus": {
  10941. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10942. "type": "integer"
  10943. },
  10944. "asapplyid": {
  10945. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10946. "type": "integer"
  10947. },
  10948. "asname": {
  10949. "description": "策略名称",
  10950. "type": "string"
  10951. },
  10952. "asno": {
  10953. "description": "策略编号",
  10954. "type": "string"
  10955. },
  10956. "auditid": {
  10957. "description": "审核人",
  10958. "type": "integer"
  10959. },
  10960. "auditremark": {
  10961. "description": "审核备注",
  10962. "type": "string"
  10963. },
  10964. "audittime": {
  10965. "description": "审核时间",
  10966. "type": "string"
  10967. },
  10968. "biztype": {
  10969. "description": "业务类型 - 1:正向套利 2:反向套利",
  10970. "type": "integer"
  10971. },
  10972. "createtime": {
  10973. "description": "创建时间",
  10974. "type": "string"
  10975. },
  10976. "creatorid": {
  10977. "description": "创建人",
  10978. "type": "integer"
  10979. },
  10980. "deliverygoodsid": {
  10981. "description": "现货品种ID",
  10982. "type": "integer"
  10983. },
  10984. "futurequote": {
  10985. "description": "期货额度",
  10986. "type": "number"
  10987. },
  10988. "goodsgroupid": {
  10989. "description": "期货品种ID",
  10990. "type": "integer"
  10991. },
  10992. "marketid": {
  10993. "description": "市场ID",
  10994. "type": "integer"
  10995. },
  10996. "remark": {
  10997. "description": "备注",
  10998. "type": "string"
  10999. },
  11000. "spotquota": {
  11001. "description": "现货额度",
  11002. "type": "number"
  11003. },
  11004. "tradedate": {
  11005. "description": "交易日(yyyyMMdd)",
  11006. "type": "string"
  11007. },
  11008. "userid": {
  11009. "description": "所属机构",
  11010. "type": "integer"
  11011. }
  11012. }
  11013. },
  11014. "erms3.AddErms2SpotTradeApplyReq": {
  11015. "type": "object",
  11016. "required": [
  11017. "spottradeid"
  11018. ],
  11019. "properties": {
  11020. "applyjsondetail": {
  11021. "description": "申请明细(JSON)",
  11022. "type": "string"
  11023. },
  11024. "applystatus": {
  11025. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11026. "type": "integer"
  11027. },
  11028. "areauserid": {
  11029. "description": "所属机构",
  11030. "type": "integer"
  11031. },
  11032. "auditid": {
  11033. "description": "审核人",
  11034. "type": "integer"
  11035. },
  11036. "auditremark": {
  11037. "description": "审核备注",
  11038. "type": "string"
  11039. },
  11040. "audittime": {
  11041. "description": "审核时间",
  11042. "type": "string"
  11043. },
  11044. "createtime": {
  11045. "description": "创建时间",
  11046. "type": "string"
  11047. },
  11048. "creatorid": {
  11049. "description": "创建人",
  11050. "type": "integer"
  11051. },
  11052. "deliverygoodsid": {
  11053. "description": "现货品种ID",
  11054. "type": "integer"
  11055. },
  11056. "futureaccountid": {
  11057. "description": "期货资金账户",
  11058. "type": "integer"
  11059. },
  11060. "goodsgroupid": {
  11061. "description": "期货品种",
  11062. "type": "integer"
  11063. },
  11064. "marketid": {
  11065. "description": "市场ID",
  11066. "type": "integer"
  11067. },
  11068. "remark": {
  11069. "description": "备注",
  11070. "type": "string"
  11071. },
  11072. "spotaccountid": {
  11073. "description": "现货资金账户",
  11074. "type": "integer"
  11075. },
  11076. "spottradeid": {
  11077. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  11078. "type": "integer"
  11079. },
  11080. "spottradename": {
  11081. "description": "业务名称",
  11082. "type": "string"
  11083. },
  11084. "spottradeno": {
  11085. "description": "业务编号",
  11086. "type": "string"
  11087. },
  11088. "tradedate": {
  11089. "description": "交易日(yyyyMMdd)",
  11090. "type": "string"
  11091. },
  11092. "wrstandardid": {
  11093. "description": "仓单标准ID",
  11094. "type": "integer"
  11095. }
  11096. }
  11097. },
  11098. "erms3.AddSpotContractApplyReq": {
  11099. "type": "object",
  11100. "required": [
  11101. "accountid",
  11102. "areauserid",
  11103. "contractno",
  11104. "contracttype",
  11105. "customeraccountid",
  11106. "customeruserid",
  11107. "details",
  11108. "orimargin",
  11109. "signdate"
  11110. ],
  11111. "properties": {
  11112. "accountid": {
  11113. "description": "资金账户ID",
  11114. "type": "integer"
  11115. },
  11116. "areauserid": {
  11117. "description": "所属机构",
  11118. "type": "integer"
  11119. },
  11120. "contractattachment": {
  11121. "description": "合同附件",
  11122. "type": "string"
  11123. },
  11124. "contractno": {
  11125. "description": "现货合同编号",
  11126. "type": "string"
  11127. },
  11128. "contracttype": {
  11129. "description": "现货合同类型 - 1:采购 -1:销售",
  11130. "type": "integer"
  11131. },
  11132. "creatorid": {
  11133. "description": "申请人",
  11134. "type": "integer"
  11135. },
  11136. "customeraccountid": {
  11137. "description": "客户资金账户ID",
  11138. "type": "integer"
  11139. },
  11140. "customeruserid": {
  11141. "description": "客户ID",
  11142. "type": "integer"
  11143. },
  11144. "details": {
  11145. "description": "明细",
  11146. "type": "array",
  11147. "items": {
  11148. "$ref": "#/definitions/erms3.SoptContractDetail"
  11149. }
  11150. },
  11151. "orimargin": {
  11152. "description": "初始保证金",
  11153. "type": "number"
  11154. },
  11155. "remark": {
  11156. "description": "备注",
  11157. "type": "string"
  11158. },
  11159. "signdate": {
  11160. "description": "签订日期",
  11161. "type": "string"
  11162. }
  11163. }
  11164. },
  11165. "erms3.AddSpotContractApplyRsp": {
  11166. "type": "object",
  11167. "required": [
  11168. "contractno"
  11169. ],
  11170. "properties": {
  11171. "contractno": {
  11172. "description": "现货合同编号",
  11173. "type": "string"
  11174. },
  11175. "spotcontractid": {
  11176. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  11177. "type": "integer"
  11178. }
  11179. }
  11180. },
  11181. "erms3.AddUserInfoApplyReq": {
  11182. "type": "object",
  11183. "required": [
  11184. "userid"
  11185. ],
  11186. "properties": {
  11187. "accountid": {
  11188. "description": "交易系统帐号Id (加密存储)",
  11189. "type": "integer"
  11190. },
  11191. "areacode": {
  11192. "description": "机构代码",
  11193. "type": "string"
  11194. },
  11195. "areaid": {
  11196. "description": "机构Id",
  11197. "type": "integer"
  11198. },
  11199. "attachment1": {
  11200. "description": "附件1",
  11201. "type": "string"
  11202. },
  11203. "attachment2": {
  11204. "description": "附件2",
  11205. "type": "string"
  11206. },
  11207. "attachment3": {
  11208. "description": "附件3",
  11209. "type": "string"
  11210. },
  11211. "attachment4": {
  11212. "description": "附件4",
  11213. "type": "string"
  11214. },
  11215. "attachment5": {
  11216. "description": "附件5",
  11217. "type": "string"
  11218. },
  11219. "auditedby": {
  11220. "description": "审核人",
  11221. "type": "string"
  11222. },
  11223. "auditime": {
  11224. "description": "审核时间",
  11225. "type": "string"
  11226. },
  11227. "auditsrc": {
  11228. "description": "审核来源 - 1:管理端 2:终端",
  11229. "type": "integer"
  11230. },
  11231. "bankaccount": {
  11232. "description": "银行帐号 (加密存储)",
  11233. "type": "string"
  11234. },
  11235. "bankaccountname": {
  11236. "description": "收款人名称",
  11237. "type": "string"
  11238. },
  11239. "bankcardbackphotourl": {
  11240. "description": "银行卡背面照地址",
  11241. "type": "string"
  11242. },
  11243. "bankcardfrontphotourl": {
  11244. "description": "银行卡正面照地址",
  11245. "type": "string"
  11246. },
  11247. "bankid": {
  11248. "description": "银行编码",
  11249. "type": "string"
  11250. },
  11251. "bankname": {
  11252. "description": "银行名称",
  11253. "type": "string"
  11254. },
  11255. "bankpictureurl": {
  11256. "description": "银行卡正面地址",
  11257. "type": "string"
  11258. },
  11259. "biznature": {
  11260. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11261. "type": "integer"
  11262. },
  11263. "bizscope": {
  11264. "description": "企业经营范围(企业)",
  11265. "type": "string"
  11266. },
  11267. "biztype": {
  11268. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11269. "type": "integer"
  11270. },
  11271. "brokerid": {
  11272. "description": "经纪人ID(加密存储)",
  11273. "type": "string"
  11274. },
  11275. "cardaddress": {
  11276. "description": "证件地址 (加密存储)",
  11277. "type": "string"
  11278. },
  11279. "cardbackphotourl": {
  11280. "description": "背面证件照地址",
  11281. "type": "string"
  11282. },
  11283. "cardfrontphotourl": {
  11284. "description": "正面证件照地址",
  11285. "type": "string"
  11286. },
  11287. "cardnum": {
  11288. "description": "证件号码 (加密存储)",
  11289. "type": "string"
  11290. },
  11291. "cardtype": {
  11292. "description": "证件类型",
  11293. "type": "integer"
  11294. },
  11295. "cityid": {
  11296. "description": "市",
  11297. "type": "integer"
  11298. },
  11299. "company": {
  11300. "description": "公司(个人)",
  11301. "type": "string"
  11302. },
  11303. "contactcardbackphotourl": {
  11304. "description": "联系人证件背面图片地址",
  11305. "type": "string"
  11306. },
  11307. "contactcardfrontphotourl": {
  11308. "description": "联系人证件正面图片地址",
  11309. "type": "string"
  11310. },
  11311. "contactname": {
  11312. "description": "联系人",
  11313. "type": "string"
  11314. },
  11315. "countryid": {
  11316. "description": "国家",
  11317. "type": "integer"
  11318. },
  11319. "createtime": {
  11320. "description": "开户申请时间",
  11321. "type": "string"
  11322. },
  11323. "cusbankid": {
  11324. "description": "签约类型",
  11325. "type": "string"
  11326. },
  11327. "cusbankname": {
  11328. "description": "签约类型名称",
  11329. "type": "string"
  11330. },
  11331. "customername": {
  11332. "description": "客户名称(企业名称)",
  11333. "type": "string"
  11334. },
  11335. "districtid": {
  11336. "description": "地区",
  11337. "type": "integer"
  11338. },
  11339. "email": {
  11340. "description": "Email地址(加密存储)",
  11341. "type": "string"
  11342. },
  11343. "halfbodyphotourl": {
  11344. "description": "半身照地址",
  11345. "type": "string"
  11346. },
  11347. "headurl": {
  11348. "description": "头像地址",
  11349. "type": "string"
  11350. },
  11351. "ipaddress": {
  11352. "description": "IP地址",
  11353. "type": "string"
  11354. },
  11355. "isvalidate": {
  11356. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11357. "type": "string"
  11358. },
  11359. "legalcardbackphotourl": {
  11360. "description": "法人身份证背面照地址",
  11361. "type": "string"
  11362. },
  11363. "legalcardfrontphotourl": {
  11364. "description": "法人身份证正面照地址",
  11365. "type": "string"
  11366. },
  11367. "legalpersonname": {
  11368. "description": "法人姓名(企业)",
  11369. "type": "string"
  11370. },
  11371. "logincode": {
  11372. "description": "登录帐号 (加密存储)",
  11373. "type": "string"
  11374. },
  11375. "memberareaid": {
  11376. "description": "所属会员ID",
  11377. "type": "integer"
  11378. },
  11379. "mobile2": {
  11380. "description": "手机号码[明文-尚志]",
  11381. "type": "string"
  11382. },
  11383. "mobilephone": {
  11384. "description": "手机号码 (加密存储)",
  11385. "type": "string"
  11386. },
  11387. "modifiedby": {
  11388. "description": "修改人帐号",
  11389. "type": "integer"
  11390. },
  11391. "modifiedtime": {
  11392. "description": "修改时间",
  11393. "type": "string"
  11394. },
  11395. "nickname": {
  11396. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11397. "type": "string"
  11398. },
  11399. "openmode": {
  11400. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11401. "type": "integer"
  11402. },
  11403. "otherurl": {
  11404. "description": "其它图片地址[使用分号分隔]",
  11405. "type": "string"
  11406. },
  11407. "postalcode": {
  11408. "description": "邮政编码",
  11409. "type": "string"
  11410. },
  11411. "provinceid": {
  11412. "description": "省",
  11413. "type": "integer"
  11414. },
  11415. "proxystatementurl": {
  11416. "description": "授权委托书",
  11417. "type": "string"
  11418. },
  11419. "qq": {
  11420. "description": "QQ(加密存储",
  11421. "type": "string"
  11422. },
  11423. "referral": {
  11424. "description": "推荐人编码",
  11425. "type": "string"
  11426. },
  11427. "remark": {
  11428. "description": "备注",
  11429. "type": "string"
  11430. },
  11431. "removebeforestatus": {
  11432. "description": "REMOVEBEFORESTATUS",
  11433. "type": "integer"
  11434. },
  11435. "sex": {
  11436. "description": "性别 - 0:女 1:男",
  11437. "type": "integer"
  11438. },
  11439. "signedstatus": {
  11440. "description": "账户一号签签约状态",
  11441. "type": "integer"
  11442. },
  11443. "signpdfurl": {
  11444. "description": "签约pdf文件",
  11445. "type": "string"
  11446. },
  11447. "subbranch": {
  11448. "description": "开户支行",
  11449. "type": "string"
  11450. },
  11451. "taxpayernum": {
  11452. "description": "纳税人识别号",
  11453. "type": "string"
  11454. },
  11455. "telphone": {
  11456. "description": "联系电话(加密存储)",
  11457. "type": "string"
  11458. },
  11459. "userid": {
  11460. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11461. "type": "integer"
  11462. },
  11463. "userinfotype": {
  11464. "description": "用户信息类型 - 1:个人 2:企业",
  11465. "type": "integer"
  11466. },
  11467. "username": {
  11468. "description": "用户姓名",
  11469. "type": "string"
  11470. },
  11471. "userstate": {
  11472. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11473. "type": "integer"
  11474. },
  11475. "usertype": {
  11476. "description": "用户类型 - 1:投资者 2:机构",
  11477. "type": "integer"
  11478. },
  11479. "videourl": {
  11480. "description": "视频地址",
  11481. "type": "string"
  11482. },
  11483. "wechat": {
  11484. "description": "微信号 (加密存储)",
  11485. "type": "string"
  11486. }
  11487. }
  11488. },
  11489. "erms3.CustomerInfo": {
  11490. "type": "object",
  11491. "required": [
  11492. "userid"
  11493. ],
  11494. "properties": {
  11495. "accountids": {
  11496. "description": "资金账户ID列表",
  11497. "type": "array",
  11498. "items": {
  11499. "type": "integer"
  11500. }
  11501. },
  11502. "customername": {
  11503. "description": "名称(企业名称)",
  11504. "type": "string"
  11505. },
  11506. "mobile": {
  11507. "description": "手机号码",
  11508. "type": "string"
  11509. },
  11510. "userid": {
  11511. "description": "用户ID",
  11512. "type": "integer"
  11513. }
  11514. }
  11515. },
  11516. "erms3.ModifyUserInfoApplyReq": {
  11517. "type": "object",
  11518. "required": [
  11519. "userid"
  11520. ],
  11521. "properties": {
  11522. "accountid": {
  11523. "description": "交易系统帐号Id (加密存储)",
  11524. "type": "integer"
  11525. },
  11526. "areacode": {
  11527. "description": "机构代码",
  11528. "type": "string"
  11529. },
  11530. "areaid": {
  11531. "description": "机构Id",
  11532. "type": "integer"
  11533. },
  11534. "attachment1": {
  11535. "description": "附件1",
  11536. "type": "string"
  11537. },
  11538. "attachment2": {
  11539. "description": "附件2",
  11540. "type": "string"
  11541. },
  11542. "attachment3": {
  11543. "description": "附件3",
  11544. "type": "string"
  11545. },
  11546. "attachment4": {
  11547. "description": "附件4",
  11548. "type": "string"
  11549. },
  11550. "attachment5": {
  11551. "description": "附件5",
  11552. "type": "string"
  11553. },
  11554. "auditedby": {
  11555. "description": "审核人",
  11556. "type": "string"
  11557. },
  11558. "auditime": {
  11559. "description": "审核时间",
  11560. "type": "string"
  11561. },
  11562. "auditsrc": {
  11563. "description": "审核来源 - 1:管理端 2:终端",
  11564. "type": "integer"
  11565. },
  11566. "bankaccount": {
  11567. "description": "银行帐号 (加密存储)",
  11568. "type": "string"
  11569. },
  11570. "bankaccountname": {
  11571. "description": "收款人名称",
  11572. "type": "string"
  11573. },
  11574. "bankcardbackphotourl": {
  11575. "description": "银行卡背面照地址",
  11576. "type": "string"
  11577. },
  11578. "bankcardfrontphotourl": {
  11579. "description": "银行卡正面照地址",
  11580. "type": "string"
  11581. },
  11582. "bankid": {
  11583. "description": "银行编码",
  11584. "type": "string"
  11585. },
  11586. "bankname": {
  11587. "description": "银行名称",
  11588. "type": "string"
  11589. },
  11590. "bankpictureurl": {
  11591. "description": "银行卡正面地址",
  11592. "type": "string"
  11593. },
  11594. "biznature": {
  11595. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11596. "type": "integer"
  11597. },
  11598. "bizscope": {
  11599. "description": "企业经营范围(企业)",
  11600. "type": "string"
  11601. },
  11602. "biztype": {
  11603. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11604. "type": "integer"
  11605. },
  11606. "brokerid": {
  11607. "description": "经纪人ID(加密存储)",
  11608. "type": "string"
  11609. },
  11610. "cardaddress": {
  11611. "description": "证件地址 (加密存储)",
  11612. "type": "string"
  11613. },
  11614. "cardbackphotourl": {
  11615. "description": "背面证件照地址",
  11616. "type": "string"
  11617. },
  11618. "cardfrontphotourl": {
  11619. "description": "正面证件照地址",
  11620. "type": "string"
  11621. },
  11622. "cardnum": {
  11623. "description": "证件号码 (加密存储)",
  11624. "type": "string"
  11625. },
  11626. "cardtype": {
  11627. "description": "证件类型",
  11628. "type": "integer"
  11629. },
  11630. "cityid": {
  11631. "description": "市",
  11632. "type": "integer"
  11633. },
  11634. "company": {
  11635. "description": "公司(个人)",
  11636. "type": "string"
  11637. },
  11638. "contactcardbackphotourl": {
  11639. "description": "联系人证件背面图片地址",
  11640. "type": "string"
  11641. },
  11642. "contactcardfrontphotourl": {
  11643. "description": "联系人证件正面图片地址",
  11644. "type": "string"
  11645. },
  11646. "contactname": {
  11647. "description": "联系人",
  11648. "type": "string"
  11649. },
  11650. "countryid": {
  11651. "description": "国家",
  11652. "type": "integer"
  11653. },
  11654. "createtime": {
  11655. "description": "开户申请时间",
  11656. "type": "string"
  11657. },
  11658. "cusbankid": {
  11659. "description": "签约类型",
  11660. "type": "string"
  11661. },
  11662. "cusbankname": {
  11663. "description": "签约类型名称",
  11664. "type": "string"
  11665. },
  11666. "customername": {
  11667. "description": "客户名称(企业名称)",
  11668. "type": "string"
  11669. },
  11670. "districtid": {
  11671. "description": "地区",
  11672. "type": "integer"
  11673. },
  11674. "email": {
  11675. "description": "Email地址(加密存储)",
  11676. "type": "string"
  11677. },
  11678. "halfbodyphotourl": {
  11679. "description": "半身照地址",
  11680. "type": "string"
  11681. },
  11682. "headurl": {
  11683. "description": "头像地址",
  11684. "type": "string"
  11685. },
  11686. "ipaddress": {
  11687. "description": "IP地址",
  11688. "type": "string"
  11689. },
  11690. "isvalidate": {
  11691. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11692. "type": "string"
  11693. },
  11694. "legalcardbackphotourl": {
  11695. "description": "法人身份证背面照地址",
  11696. "type": "string"
  11697. },
  11698. "legalcardfrontphotourl": {
  11699. "description": "法人身份证正面照地址",
  11700. "type": "string"
  11701. },
  11702. "legalpersonname": {
  11703. "description": "法人姓名(企业)",
  11704. "type": "string"
  11705. },
  11706. "logincode": {
  11707. "description": "登录帐号 (加密存储)",
  11708. "type": "string"
  11709. },
  11710. "memberareaid": {
  11711. "description": "所属会员ID",
  11712. "type": "integer"
  11713. },
  11714. "mobile2": {
  11715. "description": "手机号码[明文-尚志]",
  11716. "type": "string"
  11717. },
  11718. "mobilephone": {
  11719. "description": "手机号码 (加密存储)",
  11720. "type": "string"
  11721. },
  11722. "modifiedby": {
  11723. "description": "修改人帐号",
  11724. "type": "integer"
  11725. },
  11726. "modifiedtime": {
  11727. "description": "修改时间",
  11728. "type": "string"
  11729. },
  11730. "nickname": {
  11731. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11732. "type": "string"
  11733. },
  11734. "openmode": {
  11735. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11736. "type": "integer"
  11737. },
  11738. "otherurl": {
  11739. "description": "其它图片地址[使用分号分隔]",
  11740. "type": "string"
  11741. },
  11742. "postalcode": {
  11743. "description": "邮政编码",
  11744. "type": "string"
  11745. },
  11746. "provinceid": {
  11747. "description": "省",
  11748. "type": "integer"
  11749. },
  11750. "proxystatementurl": {
  11751. "description": "授权委托书",
  11752. "type": "string"
  11753. },
  11754. "qq": {
  11755. "description": "QQ(加密存储",
  11756. "type": "string"
  11757. },
  11758. "referral": {
  11759. "description": "推荐人编码",
  11760. "type": "string"
  11761. },
  11762. "remark": {
  11763. "description": "备注",
  11764. "type": "string"
  11765. },
  11766. "removebeforestatus": {
  11767. "description": "REMOVEBEFORESTATUS",
  11768. "type": "integer"
  11769. },
  11770. "sex": {
  11771. "description": "性别 - 0:女 1:男",
  11772. "type": "integer"
  11773. },
  11774. "signedstatus": {
  11775. "description": "账户一号签签约状态",
  11776. "type": "integer"
  11777. },
  11778. "signpdfurl": {
  11779. "description": "签约pdf文件",
  11780. "type": "string"
  11781. },
  11782. "subbranch": {
  11783. "description": "开户支行",
  11784. "type": "string"
  11785. },
  11786. "taxpayernum": {
  11787. "description": "纳税人识别号",
  11788. "type": "string"
  11789. },
  11790. "telphone": {
  11791. "description": "联系电话(加密存储)",
  11792. "type": "string"
  11793. },
  11794. "userid": {
  11795. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11796. "type": "integer"
  11797. },
  11798. "userinfotype": {
  11799. "description": "用户信息类型 - 1:个人 2:企业",
  11800. "type": "integer"
  11801. },
  11802. "username": {
  11803. "description": "用户姓名",
  11804. "type": "string"
  11805. },
  11806. "userstate": {
  11807. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11808. "type": "integer"
  11809. },
  11810. "usertype": {
  11811. "description": "用户类型 - 1:投资者 2:机构",
  11812. "type": "integer"
  11813. },
  11814. "videourl": {
  11815. "description": "视频地址",
  11816. "type": "string"
  11817. },
  11818. "wechat": {
  11819. "description": "微信号 (加密存储)",
  11820. "type": "string"
  11821. }
  11822. }
  11823. },
  11824. "erms3.QryAuditContractRsp": {
  11825. "type": "object",
  11826. "required": [
  11827. "matchcustomername",
  11828. "spotcontractid"
  11829. ],
  11830. "properties": {
  11831. "accountid": {
  11832. "description": "交易员ID",
  11833. "type": "string"
  11834. },
  11835. "applystatus": {
  11836. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11837. "type": "integer"
  11838. },
  11839. "curdeliveryqty": {
  11840. "description": "未交收量",
  11841. "type": "integer"
  11842. },
  11843. "customername": {
  11844. "description": "采购方ID",
  11845. "type": "string"
  11846. },
  11847. "deliverygoodsid": {
  11848. "description": "品种ID",
  11849. "type": "string"
  11850. },
  11851. "deliveryqty": {
  11852. "description": "交收量",
  11853. "type": "integer"
  11854. },
  11855. "enumdicname": {
  11856. "description": "单位名称",
  11857. "type": "string"
  11858. },
  11859. "matchaccountid": {
  11860. "description": "业务员ID",
  11861. "type": "string"
  11862. },
  11863. "matchcustomername": {
  11864. "description": "销售方ID",
  11865. "type": "string"
  11866. },
  11867. "pricedqty": {
  11868. "description": "定价量",
  11869. "type": "number"
  11870. },
  11871. "signdate": {
  11872. "description": "签订日期",
  11873. "type": "string"
  11874. },
  11875. "spotcontractid": {
  11876. "description": "合同ID",
  11877. "type": "string"
  11878. },
  11879. "totaldqty": {
  11880. "description": "合同量",
  11881. "type": "number"
  11882. },
  11883. "unpricedqty": {
  11884. "description": "未定价量",
  11885. "type": "number"
  11886. },
  11887. "wrstandardname": {
  11888. "description": "商品名称",
  11889. "type": "string"
  11890. }
  11891. }
  11892. },
  11893. "erms3.QryPendingBizRsp": {
  11894. "$ref": "#/definitions/models.PendingAuditBizModel"
  11895. },
  11896. "erms3.QueryBusinessInfoRsp": {
  11897. "type": "object",
  11898. "properties": {
  11899. "businessid": {
  11900. "description": "业务ID.",
  11901. "type": "integer"
  11902. },
  11903. "buyamount": {
  11904. "description": "采购额.",
  11905. "type": "number"
  11906. },
  11907. "buyqty": {
  11908. "description": "采购量.",
  11909. "type": "string"
  11910. },
  11911. "futurepl": {
  11912. "description": "期货盈亏.",
  11913. "type": "number"
  11914. },
  11915. "futureqty": {
  11916. "description": "期货敞口.",
  11917. "type": "string"
  11918. },
  11919. "goodsid": {
  11920. "description": "商品名称/商品代码.",
  11921. "type": "string"
  11922. },
  11923. "hedgingqty": {
  11924. "description": "套保量.",
  11925. "type": "string"
  11926. },
  11927. "sellamount": {
  11928. "description": "销售额.",
  11929. "type": "number"
  11930. },
  11931. "sellqty": {
  11932. "description": "销售量.",
  11933. "type": "string"
  11934. },
  11935. "spotmarketvalue": {
  11936. "description": "现货市值.",
  11937. "type": "number"
  11938. },
  11939. "spotpl": {
  11940. "description": "浮动权益.",
  11941. "type": "number"
  11942. },
  11943. "spotqty": {
  11944. "description": "现货量.",
  11945. "type": "string"
  11946. },
  11947. "statu": {
  11948. "description": "状态,0-未结束 1-已结束.",
  11949. "type": "integer"
  11950. },
  11951. "totalpl": {
  11952. "description": "总盈亏.",
  11953. "type": "number"
  11954. },
  11955. "totalqty": {
  11956. "description": "总敞口.",
  11957. "type": "string"
  11958. },
  11959. "type": {
  11960. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11961. "type": "integer"
  11962. }
  11963. }
  11964. },
  11965. "erms3.QuerySpotContractAppleFormRsp": {
  11966. "type": "object",
  11967. "properties": {
  11968. "goodses": {
  11969. "description": "合约列表",
  11970. "type": "array",
  11971. "items": {
  11972. "$ref": "#/definitions/models.GoodsIDAndName"
  11973. }
  11974. },
  11975. "oppositeusers": {
  11976. "description": "对方账号列表",
  11977. "type": "array",
  11978. "items": {
  11979. "$ref": "#/definitions/erms3.CustomerInfo"
  11980. }
  11981. },
  11982. "ouruser": {
  11983. "description": "我方账号",
  11984. "type": "object",
  11985. "$ref": "#/definitions/erms3.CustomerInfo"
  11986. },
  11987. "warehouseinfos": {
  11988. "description": "仓库信息列表",
  11989. "type": "array",
  11990. "items": {
  11991. "$ref": "#/definitions/models.Warehouseinfo"
  11992. }
  11993. },
  11994. "wrstandards": {
  11995. "description": "仓单标准列表",
  11996. "type": "array",
  11997. "items": {
  11998. "$ref": "#/definitions/models.WRStandardInfo"
  11999. }
  12000. }
  12001. }
  12002. },
  12003. "erms3.QuerySpotContractInfoRsp": {
  12004. "type": "object",
  12005. "properties": {
  12006. "accountid": {
  12007. "description": "表示交易员ID.",
  12008. "type": "integer"
  12009. },
  12010. "curdeliveryqty": {
  12011. "description": "表示未交收量.",
  12012. "type": "number"
  12013. },
  12014. "customername": {
  12015. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  12016. "type": "string"
  12017. },
  12018. "deliverygoodsid": {
  12019. "description": "表示品种ID.",
  12020. "type": "string"
  12021. },
  12022. "deliveryqty": {
  12023. "description": "表示交收量.",
  12024. "type": "number"
  12025. },
  12026. "matchaccountid": {
  12027. "description": "表示业务员ID.",
  12028. "type": "integer"
  12029. },
  12030. "matchcustomername": {
  12031. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  12032. "type": "string"
  12033. },
  12034. "priceqty": {
  12035. "description": "表示定价量.",
  12036. "type": "number"
  12037. },
  12038. "relatedbizid": {
  12039. "description": "表示业务ID.",
  12040. "type": "string"
  12041. },
  12042. "signdate": {
  12043. "description": "表示签订日期.",
  12044. "type": "string"
  12045. },
  12046. "spotcontractid": {
  12047. "description": "合同ID",
  12048. "type": "string"
  12049. },
  12050. "status": {
  12051. "description": "表示状态,0-履约中 1-已完成.",
  12052. "type": "integer"
  12053. },
  12054. "totalqty": {
  12055. "description": "表示合同量.",
  12056. "type": "number"
  12057. },
  12058. "unpricedqty": {
  12059. "description": "表示未定价量.",
  12060. "type": "number"
  12061. },
  12062. "wrstandardname": {
  12063. "description": "表示商品ID.",
  12064. "type": "string"
  12065. }
  12066. }
  12067. },
  12068. "erms3.QueryUserInfoAppliesRsp": {
  12069. "type": "object",
  12070. "required": [
  12071. "userid"
  12072. ],
  12073. "properties": {
  12074. "biznature": {
  12075. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12076. "type": "integer"
  12077. },
  12078. "contactname": {
  12079. "description": "联系人",
  12080. "type": "string"
  12081. },
  12082. "createtime": {
  12083. "description": "开户申请时间",
  12084. "type": "string"
  12085. },
  12086. "userid": {
  12087. "description": "用户ID(自增ID)",
  12088. "type": "integer"
  12089. },
  12090. "userinfotype": {
  12091. "description": "用户信息类型 - 1:个人 2:企业",
  12092. "type": "integer"
  12093. },
  12094. "username": {
  12095. "description": "用户姓名",
  12096. "type": "string"
  12097. },
  12098. "userstate": {
  12099. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12100. "type": "integer"
  12101. }
  12102. }
  12103. },
  12104. "erms3.QueryUserInfosRsp": {
  12105. "type": "object",
  12106. "required": [
  12107. "userid"
  12108. ],
  12109. "properties": {
  12110. "biznature": {
  12111. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12112. "type": "integer"
  12113. },
  12114. "contactname": {
  12115. "description": "联系人",
  12116. "type": "string"
  12117. },
  12118. "customername": {
  12119. "description": "客户名称(企业名称)",
  12120. "type": "string"
  12121. },
  12122. "userid": {
  12123. "description": "用户ID",
  12124. "type": "integer"
  12125. },
  12126. "userinfotype": {
  12127. "description": "用户信息类型 - 1:个人 2:企业",
  12128. "type": "integer"
  12129. },
  12130. "userstatus": {
  12131. "description": "用户状态 - 1:正常 2:注销",
  12132. "type": "integer"
  12133. }
  12134. }
  12135. },
  12136. "erms3.SoptContractDetail": {
  12137. "type": "object",
  12138. "required": [
  12139. "deliverygoodsid",
  12140. "producttype",
  12141. "unitname",
  12142. "warehouseid",
  12143. "wrstandardid",
  12144. "wrstandardname"
  12145. ],
  12146. "properties": {
  12147. "deliverygoodsdesc": {
  12148. "description": "现货品种说明",
  12149. "type": "string"
  12150. },
  12151. "deliverygoodsid": {
  12152. "description": "现货品种ID",
  12153. "type": "integer"
  12154. },
  12155. "deliverygoodsname": {
  12156. "description": "现货品种名称",
  12157. "type": "string"
  12158. },
  12159. "pointdesc": {
  12160. "description": "点价描述",
  12161. "type": "string"
  12162. },
  12163. "producttype": {
  12164. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  12165. "type": "integer"
  12166. },
  12167. "producttypename": {
  12168. "description": "产品类型名称",
  12169. "type": "string"
  12170. },
  12171. "spotPointOrderVoList": {
  12172. "description": "点价列表",
  12173. "type": "array",
  12174. "items": {
  12175. "$ref": "#/definitions/erms3.SpotPointOrder"
  12176. }
  12177. },
  12178. "spotPriceOrderList": {
  12179. "description": "定价列表",
  12180. "type": "array",
  12181. "items": {
  12182. "$ref": "#/definitions/erms3.SpotPriceOrder"
  12183. }
  12184. },
  12185. "unitname": {
  12186. "description": "单位名称",
  12187. "type": "string"
  12188. },
  12189. "warehouseid": {
  12190. "description": "仓库ID",
  12191. "type": "integer"
  12192. },
  12193. "warehousename": {
  12194. "description": "仓库名称",
  12195. "type": "string"
  12196. },
  12197. "wrstandardid": {
  12198. "description": "交易标的ID",
  12199. "type": "integer"
  12200. },
  12201. "wrstandardname": {
  12202. "description": "交易标的名称",
  12203. "type": "string"
  12204. }
  12205. }
  12206. },
  12207. "erms3.SpotPointOrder": {
  12208. "type": "object",
  12209. "required": [
  12210. "basic",
  12211. "goodsid",
  12212. "qty"
  12213. ],
  12214. "properties": {
  12215. "basic": {
  12216. "description": "基差",
  12217. "type": "number"
  12218. },
  12219. "deliveryenddate": {
  12220. "description": "交收结束日期",
  12221. "type": "string"
  12222. },
  12223. "deliverystartdate": {
  12224. "description": "交收开始日期",
  12225. "type": "string"
  12226. },
  12227. "enddate": {
  12228. "description": "点价结束日期",
  12229. "type": "string"
  12230. },
  12231. "goodsid": {
  12232. "description": "商品ID",
  12233. "type": "integer"
  12234. },
  12235. "goodsname": {
  12236. "description": "商品名称",
  12237. "type": "string"
  12238. },
  12239. "qty": {
  12240. "description": "数量",
  12241. "type": "number"
  12242. },
  12243. "startdate": {
  12244. "description": "点价开始日期",
  12245. "type": "string"
  12246. }
  12247. }
  12248. },
  12249. "erms3.SpotPriceOrder": {
  12250. "type": "object",
  12251. "required": [
  12252. "amount",
  12253. "price",
  12254. "qty"
  12255. ],
  12256. "properties": {
  12257. "amount": {
  12258. "description": "金额",
  12259. "type": "number"
  12260. },
  12261. "deliveryenddate": {
  12262. "description": "交收结束日期",
  12263. "type": "string"
  12264. },
  12265. "deliverystartdate": {
  12266. "description": "交收开始日期",
  12267. "type": "string"
  12268. },
  12269. "price": {
  12270. "description": "价格",
  12271. "type": "number"
  12272. },
  12273. "qty": {
  12274. "description": "数量",
  12275. "type": "number"
  12276. }
  12277. }
  12278. },
  12279. "hsby.GetHsbyMyCountRsp": {
  12280. "type": "object",
  12281. "properties": {
  12282. "myCouponCount": {
  12283. "description": "我的优惠卷数量",
  12284. "type": "integer"
  12285. },
  12286. "myOrderDetailListingCount": {
  12287. "description": "我的订单求购中数量",
  12288. "type": "integer"
  12289. },
  12290. "myOrderDetailPreCount": {
  12291. "description": "我的订单抢购中数量",
  12292. "type": "integer"
  12293. },
  12294. "myPackageUnReceiveCount": {
  12295. "description": "我的包裹待收货数量",
  12296. "type": "integer"
  12297. },
  12298. "myPackageUnSendCount": {
  12299. "description": "我的包裹待发货数量",
  12300. "type": "integer"
  12301. },
  12302. "myPayOrderCount": {
  12303. "description": "我的订单待付款数量",
  12304. "type": "integer"
  12305. }
  12306. }
  12307. },
  12308. "hsby.QueryProvincesAndCitiesRsp": {
  12309. "type": "object",
  12310. "properties": {
  12311. "cities": {
  12312. "description": "市",
  12313. "type": "array",
  12314. "items": {
  12315. "$ref": "#/definitions/models.Division"
  12316. }
  12317. },
  12318. "province": {
  12319. "description": "省",
  12320. "type": "object",
  12321. "$ref": "#/definitions/models.Division"
  12322. }
  12323. }
  12324. },
  12325. "models.AreaSpotModel": {
  12326. "type": "object",
  12327. "properties": {
  12328. "areauserid": {
  12329. "description": "所属机构",
  12330. "type": "integer"
  12331. },
  12332. "decreaseqty": {
  12333. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12334. "type": "number"
  12335. },
  12336. "increaseqty": {
  12337. "description": "增加数量=销售计划数量+采购已定价数量",
  12338. "type": "number"
  12339. },
  12340. "oritoalspotqty": {
  12341. "description": "昨日数量",
  12342. "type": "number"
  12343. },
  12344. "totalspotqty": {
  12345. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12346. "type": "number"
  12347. },
  12348. "updatetime": {
  12349. "description": "更新时间",
  12350. "type": "string"
  12351. },
  12352. "wrstandardcode": {
  12353. "description": "现货品种代码",
  12354. "type": "string"
  12355. },
  12356. "wrstandardid": {
  12357. "description": "现货商品ID",
  12358. "type": "integer"
  12359. },
  12360. "wrstandardname": {
  12361. "description": "现货品种",
  12362. "type": "string"
  12363. }
  12364. }
  12365. },
  12366. "models.Arearole": {
  12367. "type": "object",
  12368. "required": [
  12369. "roletype",
  12370. "userid"
  12371. ],
  12372. "properties": {
  12373. "createtime": {
  12374. "description": "创建时间",
  12375. "type": "string"
  12376. },
  12377. "creatorid": {
  12378. "description": "创建人ID",
  12379. "type": "integer"
  12380. },
  12381. "isreturnscore": {
  12382. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12383. "type": "integer"
  12384. },
  12385. "modifierid": {
  12386. "description": "修改人ID",
  12387. "type": "integer"
  12388. },
  12389. "modifytime": {
  12390. "description": "修改时间",
  12391. "type": "string"
  12392. },
  12393. "orgtype": {
  12394. "description": "组织机构类型 1:机构 2:交易员",
  12395. "type": "integer"
  12396. },
  12397. "outuserid": {
  12398. "description": "外部账户[场外期权做市商]",
  12399. "type": "string"
  12400. },
  12401. "parentuserid": {
  12402. "description": "上级组织机构(组织机构)",
  12403. "type": "integer"
  12404. },
  12405. "roletype": {
  12406. "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:交易员",
  12407. "type": "integer"
  12408. },
  12409. "rootuserid": {
  12410. "description": "顶级组织机构用户ID(组织机构)",
  12411. "type": "integer"
  12412. },
  12413. "shoppassword": {
  12414. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12415. "type": "string"
  12416. },
  12417. "sublevelpath": {
  12418. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12419. "type": "string"
  12420. },
  12421. "tradeaccountid": {
  12422. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12423. "type": "integer"
  12424. },
  12425. "transurl": {
  12426. "description": "物流地址(物流机构)",
  12427. "type": "string"
  12428. },
  12429. "userid": {
  12430. "description": "机构用户ID其他做市关系,都设置为 1",
  12431. "type": "integer"
  12432. }
  12433. }
  12434. },
  12435. "models.Clientfixedadconfig": {
  12436. "type": "object",
  12437. "required": [
  12438. "adsort",
  12439. "adtype"
  12440. ],
  12441. "properties": {
  12442. "adsort": {
  12443. "description": "排序",
  12444. "type": "integer"
  12445. },
  12446. "adtype": {
  12447. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12448. "type": "integer"
  12449. },
  12450. "areauserid": {
  12451. "description": "所属机构ID",
  12452. "type": "integer"
  12453. },
  12454. "createdate": {
  12455. "description": "创建时间",
  12456. "type": "string"
  12457. },
  12458. "creatorid": {
  12459. "description": "创建人",
  12460. "type": "integer"
  12461. },
  12462. "imagepath": {
  12463. "description": "图片",
  12464. "type": "string"
  12465. },
  12466. "isshow": {
  12467. "description": "是否展示 - 0:不展示 1:展示",
  12468. "type": "integer"
  12469. },
  12470. "modifierid": {
  12471. "description": "操作人",
  12472. "type": "integer"
  12473. },
  12474. "recsize": {
  12475. "description": "推荐尺寸",
  12476. "type": "string"
  12477. },
  12478. "title": {
  12479. "description": "标题",
  12480. "type": "string"
  12481. },
  12482. "updatedate": {
  12483. "description": "更新时间",
  12484. "type": "string"
  12485. },
  12486. "urlcontent": {
  12487. "description": "链接(地址或商品ID)",
  12488. "type": "string"
  12489. },
  12490. "urltype": {
  12491. "description": "链接类型 - 1:直接地址 2:商品ID",
  12492. "type": "integer"
  12493. }
  12494. }
  12495. },
  12496. "models.Division": {
  12497. "type": "object",
  12498. "required": [
  12499. "autoid",
  12500. "divisioncode"
  12501. ],
  12502. "properties": {
  12503. "autoid": {
  12504. "description": "自增ID",
  12505. "type": "integer"
  12506. },
  12507. "divisioncode": {
  12508. "description": "行政代码",
  12509. "type": "string"
  12510. },
  12511. "divisionlevel": {
  12512. "description": "行政级别",
  12513. "type": "string"
  12514. },
  12515. "divisionname": {
  12516. "description": "行政名称",
  12517. "type": "string"
  12518. },
  12519. "modifierid": {
  12520. "description": "修改人",
  12521. "type": "integer"
  12522. },
  12523. "modifytime": {
  12524. "description": "修改时间",
  12525. "type": "string"
  12526. },
  12527. "parentcode": {
  12528. "description": "上级行政代码",
  12529. "type": "string"
  12530. },
  12531. "pathname": {
  12532. "description": "路径名称",
  12533. "type": "string"
  12534. },
  12535. "postcode": {
  12536. "description": "邮政编码",
  12537. "type": "string"
  12538. },
  12539. "separablename": {
  12540. "description": "可拆分的全称",
  12541. "type": "string"
  12542. },
  12543. "shortcode": {
  12544. "description": "地区简码",
  12545. "type": "string"
  12546. }
  12547. }
  12548. },
  12549. "models.Enumdicitem": {
  12550. "type": "object",
  12551. "required": [
  12552. "autoid",
  12553. "enumdiccode",
  12554. "enumdicid",
  12555. "enumitemname"
  12556. ],
  12557. "properties": {
  12558. "autoid": {
  12559. "description": "自增ID",
  12560. "type": "integer"
  12561. },
  12562. "bankmappedvalue": {
  12563. "description": "银行服务对应值",
  12564. "type": "string"
  12565. },
  12566. "enumdiccode": {
  12567. "description": "所属枚举代码",
  12568. "type": "string"
  12569. },
  12570. "enumdicid": {
  12571. "description": "所属枚举ID",
  12572. "type": "integer"
  12573. },
  12574. "enumdicname": {
  12575. "description": "枚举项名称",
  12576. "type": "string"
  12577. },
  12578. "enumitemname": {
  12579. "description": "枚举项值",
  12580. "type": "integer"
  12581. },
  12582. "enumitemstatus": {
  12583. "description": "枚举项状态 - 1.启用 2.不启用",
  12584. "type": "integer"
  12585. },
  12586. "enumitemvalue": {
  12587. "description": "通用值 - [币种通用简写]",
  12588. "type": "string"
  12589. },
  12590. "param1": {
  12591. "description": "参数1[币种:币种小数位]",
  12592. "type": "string"
  12593. },
  12594. "param2": {
  12595. "description": "参数1[币种:币种显示单位]",
  12596. "type": "string"
  12597. },
  12598. "remark": {
  12599. "description": "备注",
  12600. "type": "string"
  12601. }
  12602. }
  12603. },
  12604. "models.Ermcp3AreaSpot": {
  12605. "type": "object",
  12606. "properties": {
  12607. "areauserid": {
  12608. "description": "所属机构",
  12609. "type": "integer"
  12610. },
  12611. "decreaseqty": {
  12612. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12613. "type": "number"
  12614. },
  12615. "deliverygoodscode": {
  12616. "description": "现货品种代码",
  12617. "type": "string"
  12618. },
  12619. "deliverygoodsid": {
  12620. "description": "现货品种id",
  12621. "type": "integer"
  12622. },
  12623. "deliverygoodsname": {
  12624. "description": "现货品种名称",
  12625. "type": "string"
  12626. },
  12627. "enumdicname": {
  12628. "description": "单位名称",
  12629. "type": "string"
  12630. },
  12631. "goodsunitid": {
  12632. "description": "现货品种单位id",
  12633. "type": "integer"
  12634. },
  12635. "increaseqty": {
  12636. "description": "增加数量=销售计划数量+采购已定价数量",
  12637. "type": "number"
  12638. },
  12639. "oritoalspotqty": {
  12640. "description": "昨日数量",
  12641. "type": "number"
  12642. },
  12643. "totalspotqty": {
  12644. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12645. "type": "number"
  12646. },
  12647. "updatetime": {
  12648. "description": "更新时间",
  12649. "type": "string"
  12650. }
  12651. }
  12652. },
  12653. "models.Ermcp3AreaSpotDetail": {
  12654. "type": "object",
  12655. "properties": {
  12656. "contracttype": {
  12657. "description": "合同类型 1-采购 -1-销售",
  12658. "type": "integer"
  12659. },
  12660. "createtime": {
  12661. "description": "创建时间",
  12662. "type": "string"
  12663. },
  12664. "deliverygoodscode": {
  12665. "description": "现货品种代码",
  12666. "type": "string"
  12667. },
  12668. "deliverygoodsid": {
  12669. "description": "现货品种id",
  12670. "type": "integer"
  12671. },
  12672. "deliverygoodsname": {
  12673. "description": "现货品种名称",
  12674. "type": "string"
  12675. },
  12676. "enumdicname": {
  12677. "description": "现货商品单位名称",
  12678. "type": "string"
  12679. },
  12680. "logtype": {
  12681. "description": "记录类型 1-套保 2-现货合同",
  12682. "type": "integer"
  12683. },
  12684. "qty": {
  12685. "description": "数量",
  12686. "type": "number"
  12687. },
  12688. "recordname": {
  12689. "description": "类型名称",
  12690. "type": "string"
  12691. },
  12692. "relatedid": {
  12693. "description": "套保计划ID/现货合同ID",
  12694. "type": "string"
  12695. },
  12696. "relatedno": {
  12697. "description": "编号",
  12698. "type": "string"
  12699. },
  12700. "strtime": {
  12701. "description": "时间",
  12702. "type": "string"
  12703. }
  12704. }
  12705. },
  12706. "models.Ermcp3AreaSpotPLReport": {
  12707. "type": "object",
  12708. "properties": {
  12709. "accountid": {
  12710. "description": "期货账户ID (作废, 默认为0)",
  12711. "type": "integer"
  12712. },
  12713. "accountname": {
  12714. "description": "机构名称",
  12715. "type": "string"
  12716. },
  12717. "actualpl": {
  12718. "description": "现货损益",
  12719. "type": "number"
  12720. },
  12721. "areauserid": {
  12722. "description": "所属机构\\交易用户ID",
  12723. "type": "integer"
  12724. },
  12725. "begindate": {
  12726. "description": "开始交易日",
  12727. "type": "string"
  12728. },
  12729. "biztype": {
  12730. "description": "业务类型 - 1:套保 2:套利",
  12731. "type": "integer"
  12732. },
  12733. "brandname": {
  12734. "description": "品牌名称",
  12735. "type": "string"
  12736. },
  12737. "curamount": {
  12738. "description": "期末额",
  12739. "type": "number"
  12740. },
  12741. "curaverageprice": {
  12742. "description": "期末均价",
  12743. "type": "number"
  12744. },
  12745. "curbuyamount": {
  12746. "description": "期末采购总额",
  12747. "type": "number"
  12748. },
  12749. "curbuyqty": {
  12750. "description": "期末采购总量",
  12751. "type": "number"
  12752. },
  12753. "curmarketvalue": {
  12754. "description": "参考市值(期末市值)",
  12755. "type": "number"
  12756. },
  12757. "curqty": {
  12758. "description": "期末量",
  12759. "type": "number"
  12760. },
  12761. "currencyid": {
  12762. "description": "结算币种ID【原值】",
  12763. "type": "integer"
  12764. },
  12765. "currencyname": {
  12766. "description": "币种名称",
  12767. "type": "string"
  12768. },
  12769. "cursellamount": {
  12770. "description": "期末销售总额",
  12771. "type": "number"
  12772. },
  12773. "cursellqty": {
  12774. "description": "期末销售总量",
  12775. "type": "number"
  12776. },
  12777. "curspotprice": {
  12778. "description": "参考市价(最新价)",
  12779. "type": "number"
  12780. },
  12781. "cycletime": {
  12782. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12783. "type": "string"
  12784. },
  12785. "cycletype": {
  12786. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12787. "type": "integer"
  12788. },
  12789. "deliverygoodscode": {
  12790. "description": "现货商品代码",
  12791. "type": "string"
  12792. },
  12793. "deliverygoodsid": {
  12794. "description": "现货品种ID",
  12795. "type": "integer"
  12796. },
  12797. "deliverygoodsname": {
  12798. "description": "现货商品名称",
  12799. "type": "string"
  12800. },
  12801. "enddate": {
  12802. "description": "结束交易日",
  12803. "type": "string"
  12804. },
  12805. "enumdicname": {
  12806. "description": "现货商品单位名称",
  12807. "type": "string"
  12808. },
  12809. "floatpl": {
  12810. "description": "浮动损益",
  12811. "type": "number"
  12812. },
  12813. "goodsunitid": {
  12814. "description": "现货商品单位id",
  12815. "type": "integer"
  12816. },
  12817. "oriamount": {
  12818. "description": "期初额",
  12819. "type": "number"
  12820. },
  12821. "oriaverageprice": {
  12822. "description": "期初均价",
  12823. "type": "number"
  12824. },
  12825. "oribuyamount": {
  12826. "description": "期初采购总额",
  12827. "type": "number"
  12828. },
  12829. "oribuyqty": {
  12830. "description": "期初采购总量",
  12831. "type": "number"
  12832. },
  12833. "oriqty": {
  12834. "description": "期初量",
  12835. "type": "number"
  12836. },
  12837. "orisellamount": {
  12838. "description": "期初销售总额",
  12839. "type": "number"
  12840. },
  12841. "orisellqty": {
  12842. "description": "期初销售总量",
  12843. "type": "number"
  12844. },
  12845. "reckondate": {
  12846. "description": "日照时期(yyyyMMdd)",
  12847. "type": "string"
  12848. },
  12849. "spotgoodsbrandid": {
  12850. "description": "现货品牌ID",
  12851. "type": "integer"
  12852. },
  12853. "todaybuyamount": {
  12854. "description": "今日采购额(今采购额)",
  12855. "type": "number"
  12856. },
  12857. "todaybuyaverageprice": {
  12858. "description": "今日采购均价",
  12859. "type": "number"
  12860. },
  12861. "todaybuyqty": {
  12862. "description": "今日采购量(今采购量)",
  12863. "type": "number"
  12864. },
  12865. "todayinqty": {
  12866. "description": "今日入库量(今入库量)",
  12867. "type": "number"
  12868. },
  12869. "todayoutqty": {
  12870. "description": "今日出库量(今出库量)",
  12871. "type": "number"
  12872. },
  12873. "todaysellamount": {
  12874. "description": "今日销售额(今销售额)",
  12875. "type": "number"
  12876. },
  12877. "todaysellaverageprice": {
  12878. "description": "今日销售均价",
  12879. "type": "number"
  12880. },
  12881. "todaysellqty": {
  12882. "description": "今日销售量(今销售量)",
  12883. "type": "number"
  12884. },
  12885. "unitid": {
  12886. "description": "品类单位id",
  12887. "type": "integer"
  12888. },
  12889. "unitidname": {
  12890. "description": "品类单位名称",
  12891. "type": "string"
  12892. },
  12893. "updatetime": {
  12894. "description": "更新时间",
  12895. "type": "string"
  12896. },
  12897. "wrfactortypeid": {
  12898. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12899. "type": "integer"
  12900. },
  12901. "wrstandardcode": {
  12902. "description": "品类代码",
  12903. "type": "string"
  12904. },
  12905. "wrstandardid": {
  12906. "description": "现货品类ID",
  12907. "type": "integer"
  12908. },
  12909. "wrstandardname": {
  12910. "description": "品类名称",
  12911. "type": "string"
  12912. }
  12913. }
  12914. },
  12915. "models.Ermcp3AreaStock": {
  12916. "type": "object",
  12917. "required": [
  12918. "userid"
  12919. ],
  12920. "properties": {
  12921. "brandname": {
  12922. "description": "品牌名称",
  12923. "type": "string"
  12924. },
  12925. "curstock": {
  12926. "description": "期末库存量(今日量)",
  12927. "type": "number"
  12928. },
  12929. "deliverygoodscode": {
  12930. "description": "现货品种代码",
  12931. "type": "string"
  12932. },
  12933. "deliverygoodsid": {
  12934. "description": "现货品种id",
  12935. "type": "integer"
  12936. },
  12937. "deliverygoodsname": {
  12938. "description": "现货品种名称",
  12939. "type": "string"
  12940. },
  12941. "enumdicname": {
  12942. "description": "单位名称",
  12943. "type": "string"
  12944. },
  12945. "goodsunitid": {
  12946. "description": "现货商品单位id",
  12947. "type": "integer"
  12948. },
  12949. "oristock": {
  12950. "description": "期初库存量(昨日量)",
  12951. "type": "number"
  12952. },
  12953. "spotgoodsbrandid": {
  12954. "description": "现货品牌ID",
  12955. "type": "integer"
  12956. },
  12957. "todaybuyinqty": {
  12958. "description": "今日采购入库量",
  12959. "type": "number"
  12960. },
  12961. "todayproduceinqty": {
  12962. "description": "今日生产入库量",
  12963. "type": "number"
  12964. },
  12965. "todayproduceoutqty": {
  12966. "description": "今日生产出库量",
  12967. "type": "number"
  12968. },
  12969. "todayselloutqty": {
  12970. "description": "今日销售出库量",
  12971. "type": "number"
  12972. },
  12973. "unitid": {
  12974. "description": "单位id",
  12975. "type": "integer"
  12976. },
  12977. "updatetime": {
  12978. "description": "更新时间",
  12979. "type": "string"
  12980. },
  12981. "userid": {
  12982. "description": "机构ID",
  12983. "type": "integer"
  12984. },
  12985. "username": {
  12986. "description": "机构名称",
  12987. "type": "string"
  12988. },
  12989. "warehousecode": {
  12990. "description": "仓库代码",
  12991. "type": "string"
  12992. },
  12993. "warehouseinfoid": {
  12994. "description": "仓库ID",
  12995. "type": "string"
  12996. },
  12997. "warehousename": {
  12998. "description": "仓库名称",
  12999. "type": "string"
  13000. },
  13001. "warehousetype": {
  13002. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13003. "type": "integer"
  13004. },
  13005. "wrstandardcode": {
  13006. "description": "品类代码",
  13007. "type": "string"
  13008. },
  13009. "wrstandardid": {
  13010. "description": "品类ID",
  13011. "type": "string"
  13012. },
  13013. "wrstandardname": {
  13014. "description": "品类名称",
  13015. "type": "string"
  13016. }
  13017. }
  13018. },
  13019. "models.Ermcp3AreaStockApply": {
  13020. "type": "object",
  13021. "properties": {
  13022. "applyid": {
  13023. "description": "申请人",
  13024. "type": "integer"
  13025. },
  13026. "applyname": {
  13027. "description": "申请人名称",
  13028. "type": "string"
  13029. },
  13030. "applyremark": {
  13031. "description": "申请备注",
  13032. "type": "string"
  13033. },
  13034. "applysrc": {
  13035. "description": "申请来源 - 1:管理端 2:终端",
  13036. "type": "integer"
  13037. },
  13038. "applystatus": {
  13039. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  13040. "type": "integer"
  13041. },
  13042. "applytime": {
  13043. "description": "申请时间",
  13044. "type": "string"
  13045. },
  13046. "auditid": {
  13047. "description": "审核人",
  13048. "type": "integer"
  13049. },
  13050. "auditname": {
  13051. "description": "审核人名称",
  13052. "type": "string"
  13053. },
  13054. "auditremark": {
  13055. "description": "审核备注",
  13056. "type": "string"
  13057. },
  13058. "auditsrc": {
  13059. "description": "审核来源 - 1:管理端 2:终端",
  13060. "type": "integer"
  13061. },
  13062. "audittime": {
  13063. "description": "审核时间",
  13064. "type": "string"
  13065. },
  13066. "audittradedate": {
  13067. "description": "审核交易日(yyyyMMdd)",
  13068. "type": "string"
  13069. },
  13070. "brandname": {
  13071. "description": "品牌名称",
  13072. "type": "string"
  13073. },
  13074. "buynickname": {
  13075. "description": "采购方昵称",
  13076. "type": "string"
  13077. },
  13078. "buyuserid": {
  13079. "description": "采购方userid",
  13080. "type": "integer"
  13081. },
  13082. "buyusername": {
  13083. "description": "采购方名称",
  13084. "type": "string"
  13085. },
  13086. "contractno": {
  13087. "description": "合同编号",
  13088. "type": "string"
  13089. },
  13090. "contractqty": {
  13091. "description": "合同量",
  13092. "type": "number"
  13093. },
  13094. "contracttype": {
  13095. "description": "现货合同类型 - 1:采购 -1:销售",
  13096. "type": "integer"
  13097. },
  13098. "deliverygoodscode": {
  13099. "description": "现货品种代码",
  13100. "type": "string"
  13101. },
  13102. "deliverygoodsid": {
  13103. "description": "现货品种id",
  13104. "type": "integer"
  13105. },
  13106. "deliverygoodsname": {
  13107. "description": "现货品种名称",
  13108. "type": "string"
  13109. },
  13110. "detailjson": {
  13111. "description": "明细数据",
  13112. "type": "string"
  13113. },
  13114. "enumdicname": {
  13115. "description": "现货商品单位名称",
  13116. "type": "string"
  13117. },
  13118. "inoutapplyid": {
  13119. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  13120. "type": "string"
  13121. },
  13122. "inouttype": {
  13123. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  13124. "type": "integer"
  13125. },
  13126. "pricetype": {
  13127. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13128. "type": "integer"
  13129. },
  13130. "qty": {
  13131. "description": "数量",
  13132. "type": "number"
  13133. },
  13134. "sellnickname": {
  13135. "description": "销售方昵称",
  13136. "type": "string"
  13137. },
  13138. "selluserid": {
  13139. "description": "销售方userid",
  13140. "type": "integer"
  13141. },
  13142. "sellusername": {
  13143. "description": "销售方名称",
  13144. "type": "string"
  13145. },
  13146. "spotcontractid": {
  13147. "description": "关联现货合同ID",
  13148. "type": "string"
  13149. },
  13150. "spotgoodsbrandid": {
  13151. "description": "现货品牌ID",
  13152. "type": "integer"
  13153. },
  13154. "unitid": {
  13155. "description": "单位id",
  13156. "type": "integer"
  13157. },
  13158. "userid": {
  13159. "description": "机构ID",
  13160. "type": "integer"
  13161. },
  13162. "warehousecode": {
  13163. "description": "仓库代码",
  13164. "type": "string"
  13165. },
  13166. "warehouseinfoid": {
  13167. "description": "现货仓库ID",
  13168. "type": "string"
  13169. },
  13170. "warehousename": {
  13171. "description": "仓库名称",
  13172. "type": "string"
  13173. },
  13174. "warehousetype": {
  13175. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13176. "type": "integer"
  13177. },
  13178. "wrstandardcode": {
  13179. "description": "品类代码",
  13180. "type": "string"
  13181. },
  13182. "wrstandardid": {
  13183. "description": "品类ID",
  13184. "type": "integer"
  13185. },
  13186. "wrstandardname": {
  13187. "description": "品类名称",
  13188. "type": "string"
  13189. }
  13190. }
  13191. },
  13192. "models.Ermcp3AreaStockApplySum": {
  13193. "type": "object",
  13194. "properties": {
  13195. "brandname": {
  13196. "description": "品牌名称",
  13197. "type": "string"
  13198. },
  13199. "inouttype": {
  13200. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  13201. "type": "integer"
  13202. },
  13203. "spotcontractid": {
  13204. "description": "关联现货合同ID",
  13205. "type": "string"
  13206. },
  13207. "spotgoodsbrandid": {
  13208. "description": "品牌id",
  13209. "type": "integer"
  13210. },
  13211. "totalqty": {
  13212. "description": "总数量",
  13213. "type": "number"
  13214. },
  13215. "wrstandardid": {
  13216. "description": "品类id",
  13217. "type": "integer"
  13218. },
  13219. "wrstandardname": {
  13220. "description": "品类名称",
  13221. "type": "string"
  13222. }
  13223. }
  13224. },
  13225. "models.Ermcp3AreaStockReportEx": {
  13226. "type": "object",
  13227. "properties": {
  13228. "begindate": {
  13229. "description": "开始交易日",
  13230. "type": "string"
  13231. },
  13232. "brandname": {
  13233. "description": "品牌名称",
  13234. "type": "string"
  13235. },
  13236. "curstock": {
  13237. "description": "期末库存量",
  13238. "type": "number"
  13239. },
  13240. "cycletime": {
  13241. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13242. "type": "string"
  13243. },
  13244. "cycletype": {
  13245. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13246. "type": "integer"
  13247. },
  13248. "deliverygoodscode": {
  13249. "description": "现货品种代码",
  13250. "type": "string"
  13251. },
  13252. "deliverygoodsid": {
  13253. "description": "现货品种id",
  13254. "type": "integer"
  13255. },
  13256. "deliverygoodsname": {
  13257. "description": "现货品种名称",
  13258. "type": "string"
  13259. },
  13260. "diffqty": {
  13261. "description": "库存变化量 = 期末 - 期初",
  13262. "type": "number"
  13263. },
  13264. "enddate": {
  13265. "description": "结束交易日",
  13266. "type": "string"
  13267. },
  13268. "enumdicname": {
  13269. "description": "单位名称",
  13270. "type": "string"
  13271. },
  13272. "goodsunitid": {
  13273. "description": "现货单位id",
  13274. "type": "integer"
  13275. },
  13276. "oristock": {
  13277. "description": "期初库存量",
  13278. "type": "number"
  13279. },
  13280. "reckondate": {
  13281. "description": "日照时期(yyyyMMdd)",
  13282. "type": "string"
  13283. },
  13284. "spotgoodsbrandid": {
  13285. "description": "现货品牌ID",
  13286. "type": "integer"
  13287. },
  13288. "todaybuyinqty": {
  13289. "description": "今采购入库量",
  13290. "type": "number"
  13291. },
  13292. "todayproduceinqty": {
  13293. "description": "今内部入库量",
  13294. "type": "number"
  13295. },
  13296. "todayproduceoutqty": {
  13297. "description": "今内部出库量",
  13298. "type": "number"
  13299. },
  13300. "todayselloutqty": {
  13301. "description": "今销售出库量",
  13302. "type": "number"
  13303. },
  13304. "unbuyinqty": {
  13305. "description": "采购未入库量(数据库未找到相关字段?)",
  13306. "type": "number"
  13307. },
  13308. "unitid": {
  13309. "description": "品类单位id",
  13310. "type": "integer"
  13311. },
  13312. "unselloutqty": {
  13313. "description": "销售未出库量(数据库未找到相关字段?)",
  13314. "type": "number"
  13315. },
  13316. "updatetime": {
  13317. "description": "更新时间",
  13318. "type": "string"
  13319. },
  13320. "userid": {
  13321. "description": "机构ID",
  13322. "type": "integer"
  13323. },
  13324. "username": {
  13325. "description": "机构名称",
  13326. "type": "string"
  13327. },
  13328. "warehousecode": {
  13329. "description": "仓库代码",
  13330. "type": "string"
  13331. },
  13332. "warehouseinfoid": {
  13333. "description": "仓库ID",
  13334. "type": "string"
  13335. },
  13336. "warehousename": {
  13337. "description": "仓库名称",
  13338. "type": "string"
  13339. },
  13340. "warehousetype": {
  13341. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  13342. "type": "integer"
  13343. },
  13344. "wrstandardcode": {
  13345. "description": "品类代码",
  13346. "type": "string"
  13347. },
  13348. "wrstandardid": {
  13349. "description": "品类ID",
  13350. "type": "integer"
  13351. },
  13352. "wrstandardname": {
  13353. "description": "品类名称",
  13354. "type": "string"
  13355. }
  13356. }
  13357. },
  13358. "models.Ermcp3ArealSumPL": {
  13359. "type": "object",
  13360. "properties": {
  13361. "accountname": {
  13362. "description": "机构名称",
  13363. "type": "string"
  13364. },
  13365. "areauserid": {
  13366. "description": "所属机构\\交易用户ID",
  13367. "type": "integer"
  13368. },
  13369. "begindate": {
  13370. "description": "开始交易日",
  13371. "type": "string"
  13372. },
  13373. "currencyid": {
  13374. "description": "结算币种ID",
  13375. "type": "integer"
  13376. },
  13377. "currencyname": {
  13378. "description": "币种名称",
  13379. "type": "string"
  13380. },
  13381. "cycletime": {
  13382. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13383. "type": "string"
  13384. },
  13385. "cycletype": {
  13386. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13387. "type": "integer"
  13388. },
  13389. "enddate": {
  13390. "description": "结束交易日",
  13391. "type": "string"
  13392. },
  13393. "enumdicname": {
  13394. "description": "单位名称(套保品种)",
  13395. "type": "string"
  13396. },
  13397. "futureactualpl": {
  13398. "description": "期货损益",
  13399. "type": "number"
  13400. },
  13401. "futurefloatpl": {
  13402. "description": "期货浮动损益",
  13403. "type": "number"
  13404. },
  13405. "goodsunitid": {
  13406. "description": "套保品种单位id",
  13407. "type": "integer"
  13408. },
  13409. "middlegoodscode": {
  13410. "description": "套保品种代码",
  13411. "type": "string"
  13412. },
  13413. "middlegoodsid": {
  13414. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13415. "type": "integer"
  13416. },
  13417. "middlegoodsname": {
  13418. "description": "套保品种名称",
  13419. "type": "string"
  13420. },
  13421. "reckondate": {
  13422. "description": "日照时期(yyyyMMdd)",
  13423. "type": "string"
  13424. },
  13425. "spotactualpl": {
  13426. "description": "现货损益",
  13427. "type": "number"
  13428. },
  13429. "spotfloatpl": {
  13430. "description": "现货浮动损益",
  13431. "type": "number"
  13432. },
  13433. "sumactualpl": {
  13434. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13435. "type": "number"
  13436. },
  13437. "sumpl": {
  13438. "description": "汇总损益",
  13439. "type": "number"
  13440. },
  13441. "updatetime": {
  13442. "description": "更新时间",
  13443. "type": "string"
  13444. }
  13445. }
  13446. },
  13447. "models.Ermcp3Brand": {
  13448. "type": "object",
  13449. "properties": {
  13450. "areauserid": {
  13451. "description": "用户id",
  13452. "type": "integer"
  13453. },
  13454. "brandid": {
  13455. "description": "品牌id",
  13456. "type": "integer"
  13457. },
  13458. "brandname": {
  13459. "description": "品牌名称",
  13460. "type": "string"
  13461. },
  13462. "deliverygoodsid": {
  13463. "description": "品种ID",
  13464. "type": "integer"
  13465. }
  13466. }
  13467. },
  13468. "models.Ermcp3Contract": {
  13469. "type": "object",
  13470. "properties": {
  13471. "accountid": {
  13472. "description": "期货账户id",
  13473. "type": "string"
  13474. },
  13475. "amount": {
  13476. "description": "金额 [1:一口价、3:暂定价]",
  13477. "type": "number"
  13478. },
  13479. "attachment": {
  13480. "description": "附件",
  13481. "type": "string"
  13482. },
  13483. "auditremark": {
  13484. "description": "审核意见",
  13485. "type": "string"
  13486. },
  13487. "audittime": {
  13488. "description": "审核时间",
  13489. "type": "string"
  13490. },
  13491. "biztype": {
  13492. "description": "业务类型 1-套保 2-套利",
  13493. "type": "integer"
  13494. },
  13495. "brandname": {
  13496. "description": "品牌名称",
  13497. "type": "string"
  13498. },
  13499. "buynickname": {
  13500. "description": "销售方昵称",
  13501. "type": "string"
  13502. },
  13503. "buyuserid": {
  13504. "description": "采购方ID",
  13505. "type": "integer"
  13506. },
  13507. "buyusername": {
  13508. "description": "采购方名称",
  13509. "type": "string"
  13510. },
  13511. "contracctstatus": {
  13512. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13513. "type": "integer"
  13514. },
  13515. "contractmargin": {
  13516. "description": "合同保证金",
  13517. "type": "number"
  13518. },
  13519. "contractno": {
  13520. "description": "现货合同编号",
  13521. "type": "string"
  13522. },
  13523. "contracttype": {
  13524. "description": "现货合同类型 - 1:采购 -1:销售",
  13525. "type": "integer"
  13526. },
  13527. "convertfactor": {
  13528. "description": "标仓系数(品类)",
  13529. "type": "number"
  13530. },
  13531. "createtime": {
  13532. "description": "创建时间",
  13533. "type": "string"
  13534. },
  13535. "currencyid": {
  13536. "description": "币种id",
  13537. "type": "integer"
  13538. },
  13539. "currencyname": {
  13540. "description": "币种名称",
  13541. "type": "string"
  13542. },
  13543. "deliveryenddate": {
  13544. "description": "交收期(结束)",
  13545. "type": "string"
  13546. },
  13547. "deliverygoodscode": {
  13548. "description": "现货品种代码",
  13549. "type": "string"
  13550. },
  13551. "deliverygoodsid": {
  13552. "description": "现货品种ID",
  13553. "type": "integer"
  13554. },
  13555. "deliverygoodsname": {
  13556. "description": "现货品种名称",
  13557. "type": "string"
  13558. },
  13559. "deliverystartdate": {
  13560. "description": "交收期(开始)",
  13561. "type": "string"
  13562. },
  13563. "enddate": {
  13564. "description": "点价结束日期 [2:点价 3:暂定价]",
  13565. "type": "string"
  13566. },
  13567. "enumdicname": {
  13568. "description": "单位名称",
  13569. "type": "string"
  13570. },
  13571. "goodscode": {
  13572. "description": "点价合约代码",
  13573. "type": "string"
  13574. },
  13575. "goodsid": {
  13576. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13577. "type": "integer"
  13578. },
  13579. "goodsname": {
  13580. "description": "点价商品名称",
  13581. "type": "string"
  13582. },
  13583. "margin": {
  13584. "description": "当前保证金",
  13585. "type": "number"
  13586. },
  13587. "meruserid": {
  13588. "description": "跟单员id",
  13589. "type": "integer"
  13590. },
  13591. "meruserlogincode": {
  13592. "description": "跟单员登录代码",
  13593. "type": "string"
  13594. },
  13595. "price": {
  13596. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13597. "type": "number"
  13598. },
  13599. "pricemove": {
  13600. "description": "升贴水 [2:点价 3:暂定价]",
  13601. "type": "number"
  13602. },
  13603. "pricetype": {
  13604. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13605. "type": "integer"
  13606. },
  13607. "producttype": {
  13608. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13609. "type": "integer"
  13610. },
  13611. "qty": {
  13612. "description": "数量",
  13613. "type": "number"
  13614. },
  13615. "remark": {
  13616. "description": "备注",
  13617. "type": "string"
  13618. },
  13619. "saleuserid": {
  13620. "description": "业务员id",
  13621. "type": "integer"
  13622. },
  13623. "saleuserlogincode": {
  13624. "description": "业务员登录代码",
  13625. "type": "string"
  13626. },
  13627. "sellnickname": {
  13628. "description": "采购方昵称",
  13629. "type": "string"
  13630. },
  13631. "selluserid": {
  13632. "description": "销售方ID",
  13633. "type": "integer"
  13634. },
  13635. "sellusername": {
  13636. "description": "销售方名称",
  13637. "type": "string"
  13638. },
  13639. "spotcontractid": {
  13640. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13641. "type": "string"
  13642. },
  13643. "spotgoodsbrandid": {
  13644. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13645. "type": "integer"
  13646. },
  13647. "spotgoodsdesc": {
  13648. "description": "商品型号",
  13649. "type": "string"
  13650. },
  13651. "startdate": {
  13652. "description": "点价开始日期 [2:点价 3:暂定价]",
  13653. "type": "string"
  13654. },
  13655. "tradeuserid": {
  13656. "description": "交易员id",
  13657. "type": "integer"
  13658. },
  13659. "tradeuserlogincode": {
  13660. "description": "交易员登录代码",
  13661. "type": "string"
  13662. },
  13663. "tradeusername": {
  13664. "description": "交易员名称",
  13665. "type": "string"
  13666. },
  13667. "unitid": {
  13668. "description": "单位id(取品类上的单位id)",
  13669. "type": "integer"
  13670. },
  13671. "updatetime": {
  13672. "description": "更新时间",
  13673. "type": "string"
  13674. },
  13675. "userid": {
  13676. "description": "所属机构ID",
  13677. "type": "integer"
  13678. },
  13679. "wrstandardcode": {
  13680. "description": "品类代码",
  13681. "type": "string"
  13682. },
  13683. "wrstandardid": {
  13684. "description": "品类ID",
  13685. "type": "integer"
  13686. },
  13687. "wrstandardname": {
  13688. "description": "品类名称",
  13689. "type": "string"
  13690. }
  13691. }
  13692. },
  13693. "models.Ermcp3ExposureContractDetail": {
  13694. "type": "object",
  13695. "properties": {
  13696. "biztype": {
  13697. "description": "业务类型 1-套保 2-套利",
  13698. "type": "integer"
  13699. },
  13700. "brandname": {
  13701. "description": "品牌名称",
  13702. "type": "string"
  13703. },
  13704. "buyuserid": {
  13705. "description": "采购方id",
  13706. "type": "integer"
  13707. },
  13708. "buyusername": {
  13709. "description": "采购方名称",
  13710. "type": "string"
  13711. },
  13712. "contractno": {
  13713. "description": "合同编号",
  13714. "type": "string"
  13715. },
  13716. "contracttype": {
  13717. "description": "现货合同类型 - 1:采购 -1:销售",
  13718. "type": "integer"
  13719. },
  13720. "convertratio": {
  13721. "description": "折算系数(套保品种)",
  13722. "type": "number"
  13723. },
  13724. "curqty": {
  13725. "description": "今定价量",
  13726. "type": "number"
  13727. },
  13728. "deliverygoodscode": {
  13729. "description": "现货商品代码",
  13730. "type": "string"
  13731. },
  13732. "deliverygoodsid": {
  13733. "description": "现货商品id",
  13734. "type": "integer"
  13735. },
  13736. "deliverygoodsname": {
  13737. "description": "现货商品名称",
  13738. "type": "string"
  13739. },
  13740. "diffqty": {
  13741. "description": "套保品种今变动量",
  13742. "type": "number"
  13743. },
  13744. "enumdicname": {
  13745. "description": "单位名称",
  13746. "type": "string"
  13747. },
  13748. "middlegoodscode": {
  13749. "description": "套保品种代码",
  13750. "type": "string"
  13751. },
  13752. "middlegoodsid": {
  13753. "description": "套保品种id",
  13754. "type": "integer"
  13755. },
  13756. "middlegoodsname": {
  13757. "description": "套保品种名称",
  13758. "type": "string"
  13759. },
  13760. "needarbitrageratio": {
  13761. "description": "应套利比例",
  13762. "type": "number"
  13763. },
  13764. "needhedgeratio": {
  13765. "description": "应套保比例",
  13766. "type": "number"
  13767. },
  13768. "pricedqty": {
  13769. "description": "已定价量",
  13770. "type": "number"
  13771. },
  13772. "qty": {
  13773. "description": "合同量",
  13774. "type": "number"
  13775. },
  13776. "selluserid": {
  13777. "description": "销售方id",
  13778. "type": "integer"
  13779. },
  13780. "sellusername": {
  13781. "description": "销售方名称",
  13782. "type": "string"
  13783. },
  13784. "spotcontractid": {
  13785. "description": "合同id",
  13786. "type": "string"
  13787. },
  13788. "tradedate": {
  13789. "description": "交易日",
  13790. "type": "string"
  13791. },
  13792. "unitid": {
  13793. "description": "品类单位id",
  13794. "type": "integer"
  13795. },
  13796. "userid": {
  13797. "description": "机构id",
  13798. "type": "integer"
  13799. },
  13800. "wrstandardcode": {
  13801. "description": "品类代码",
  13802. "type": "string"
  13803. },
  13804. "wrstandardid": {
  13805. "description": "品类id",
  13806. "type": "integer"
  13807. },
  13808. "wrstandardname": {
  13809. "description": "品类名称",
  13810. "type": "string"
  13811. }
  13812. }
  13813. },
  13814. "models.Ermcp3ExposureDetail": {
  13815. "type": "object",
  13816. "properties": {
  13817. "areauserid": {
  13818. "description": "机构ID",
  13819. "type": "integer"
  13820. },
  13821. "changeQty": {
  13822. "description": "套保变动量",
  13823. "type": "number"
  13824. },
  13825. "contracttype": {
  13826. "description": "现货合同类型 - 1:采购 -1:销售",
  13827. "type": "integer"
  13828. },
  13829. "convertfactor": {
  13830. "description": "标仓系数",
  13831. "type": "number"
  13832. },
  13833. "convertratio": {
  13834. "description": "套保系数",
  13835. "type": "number"
  13836. },
  13837. "createtime": {
  13838. "description": "时间",
  13839. "type": "string"
  13840. },
  13841. "deliverygoodscode": {
  13842. "description": "现货品种代码",
  13843. "type": "string"
  13844. },
  13845. "deliverygoodsid": {
  13846. "description": "现货品种id",
  13847. "type": "integer"
  13848. },
  13849. "deliverygoodsname": {
  13850. "description": "现货品种名称",
  13851. "type": "string"
  13852. },
  13853. "enumdicname": {
  13854. "description": "现货商品单位名称",
  13855. "type": "string"
  13856. },
  13857. "logtype": {
  13858. "description": "类型 - 1:套保计划 2:现货合同",
  13859. "type": "integer"
  13860. },
  13861. "mgunitid": {
  13862. "description": "套保品种单位id",
  13863. "type": "integer"
  13864. },
  13865. "mgunitidname": {
  13866. "description": "套保品种单位名称",
  13867. "type": "string"
  13868. },
  13869. "middlegoodsId": {
  13870. "description": "套保商品id",
  13871. "type": "integer"
  13872. },
  13873. "middlegoodscode": {
  13874. "description": "套保商品代码",
  13875. "type": "string"
  13876. },
  13877. "middlegoodsname": {
  13878. "description": "套保商品名称",
  13879. "type": "string"
  13880. },
  13881. "qty": {
  13882. "description": "数量",
  13883. "type": "number"
  13884. },
  13885. "relateNo": {
  13886. "description": "现货合同/套保计划编号",
  13887. "type": "string"
  13888. }
  13889. }
  13890. },
  13891. "models.Ermcp3ExposureHedgeplanDetail": {
  13892. "type": "object",
  13893. "properties": {
  13894. "biztype": {
  13895. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  13896. "type": "integer"
  13897. },
  13898. "changqty": {
  13899. "description": "应套保总量变化量",
  13900. "type": "number"
  13901. },
  13902. "contracttype": {
  13903. "description": "计划类型 - 1:采购 -1:销售",
  13904. "type": "integer"
  13905. },
  13906. "convertratio": {
  13907. "description": "折算系数(套保品种)",
  13908. "type": "number"
  13909. },
  13910. "deliverygoodscode": {
  13911. "description": "现货商品代码",
  13912. "type": "string"
  13913. },
  13914. "deliverygoodsid": {
  13915. "description": "现货商品id",
  13916. "type": "integer"
  13917. },
  13918. "deliverygoodsname": {
  13919. "description": "现货商吕名称",
  13920. "type": "string"
  13921. },
  13922. "dgunitid": {
  13923. "description": "现货商品单位id",
  13924. "type": "integer"
  13925. },
  13926. "dgunitidname": {
  13927. "description": "单位名称(现货商品)",
  13928. "type": "string"
  13929. },
  13930. "diffqty": {
  13931. "description": "套保品种今变动量",
  13932. "type": "number"
  13933. },
  13934. "enumdicname": {
  13935. "description": "单位名称(品类)",
  13936. "type": "string"
  13937. },
  13938. "hedgeplanid": {
  13939. "description": "套保计划id",
  13940. "type": "string"
  13941. },
  13942. "hedgeplanno": {
  13943. "description": "套保计划编号",
  13944. "type": "string"
  13945. },
  13946. "hedgeplanstatus": {
  13947. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13948. "type": "integer"
  13949. },
  13950. "mgunitidname": {
  13951. "description": "单位名称(套保商品)",
  13952. "type": "string"
  13953. },
  13954. "middlegoodscode": {
  13955. "description": "套保品种代码",
  13956. "type": "string"
  13957. },
  13958. "middlegoodsid": {
  13959. "description": "套保品种id",
  13960. "type": "integer"
  13961. },
  13962. "middlegoodsname": {
  13963. "description": "套保品种名称",
  13964. "type": "string"
  13965. },
  13966. "needarbitrageratio": {
  13967. "description": "应套利比例",
  13968. "type": "number"
  13969. },
  13970. "needhedgeratio": {
  13971. "description": "应套保比例",
  13972. "type": "number"
  13973. },
  13974. "pricedqty": {
  13975. "description": "已定价量",
  13976. "type": "number"
  13977. },
  13978. "qty": {
  13979. "description": "合同量",
  13980. "type": "number"
  13981. },
  13982. "tradedate": {
  13983. "description": "交易日(登记日)",
  13984. "type": "string"
  13985. },
  13986. "unitid": {
  13987. "description": "品类单位id",
  13988. "type": "integer"
  13989. },
  13990. "userid": {
  13991. "description": "机构id",
  13992. "type": "integer"
  13993. },
  13994. "wrstandardcode": {
  13995. "description": "品类代码",
  13996. "type": "string"
  13997. },
  13998. "wrstandardid": {
  13999. "description": "品类id",
  14000. "type": "integer"
  14001. },
  14002. "wrstandardname": {
  14003. "description": "品类名称",
  14004. "type": "string"
  14005. }
  14006. }
  14007. },
  14008. "models.Ermcp3ExpourseReport": {
  14009. "type": "object",
  14010. "properties": {
  14011. "accountid": {
  14012. "description": "期货账户ID (作废, 默认为0)",
  14013. "type": "integer"
  14014. },
  14015. "accountname": {
  14016. "description": "机构名称",
  14017. "type": "string"
  14018. },
  14019. "arbitrageqty": {
  14020. "description": "套利量",
  14021. "type": "number"
  14022. },
  14023. "areauserid": {
  14024. "description": "所属机构\\交易用户ID",
  14025. "type": "integer"
  14026. },
  14027. "begindate": {
  14028. "description": "开始交易日",
  14029. "type": "string"
  14030. },
  14031. "buyfutureqty": {
  14032. "description": "买入期货数量",
  14033. "type": "number"
  14034. },
  14035. "buyplanqty": {
  14036. "description": "采购计划数量",
  14037. "type": "number"
  14038. },
  14039. "buypricedqty": {
  14040. "description": "采购合同已定价数量",
  14041. "type": "number"
  14042. },
  14043. "cycletime": {
  14044. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14045. "type": "string"
  14046. },
  14047. "cycletype": {
  14048. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14049. "type": "integer"
  14050. },
  14051. "diffexposure": {
  14052. "description": "变动量(套保敞口)",
  14053. "type": "number"
  14054. },
  14055. "difffutuqty": {
  14056. "description": "变动量(期货)",
  14057. "type": "number"
  14058. },
  14059. "diffhedgeqty": {
  14060. "description": "变动量(现货应套保总量)",
  14061. "type": "number"
  14062. },
  14063. "diffmgqtya": {
  14064. "description": "套保变动量",
  14065. "type": "number"
  14066. },
  14067. "diffmgqtyb": {
  14068. "description": "套利变动量",
  14069. "type": "number"
  14070. },
  14071. "diffqty": {
  14072. "description": "变动量(总敞口)",
  14073. "type": "number"
  14074. },
  14075. "diffspotqty": {
  14076. "description": "变动量(现货)",
  14077. "type": "number"
  14078. },
  14079. "enddate": {
  14080. "description": "结束交易日",
  14081. "type": "string"
  14082. },
  14083. "enumdicname": {
  14084. "description": "单位名称",
  14085. "type": "string"
  14086. },
  14087. "hedgeqty": {
  14088. "description": "套保量",
  14089. "type": "number"
  14090. },
  14091. "mgneedhedgeratio": {
  14092. "description": "套保比例(套保品的)",
  14093. "type": "number"
  14094. },
  14095. "middlegoodsid": {
  14096. "description": "套保品种ID",
  14097. "type": "integer"
  14098. },
  14099. "middlegoodsname": {
  14100. "description": "套保商品名称",
  14101. "type": "string"
  14102. },
  14103. "middlgoodscode": {
  14104. "description": "套保商品代码",
  14105. "type": "string"
  14106. },
  14107. "needarbitrageqty": {
  14108. "description": "应套利量",
  14109. "type": "number"
  14110. },
  14111. "needarbitrageratio": {
  14112. "description": "套利比例(套保品的)",
  14113. "type": "number"
  14114. },
  14115. "needhedgeexposoure": {
  14116. "description": "应套保敞口(套保敞口)",
  14117. "type": "number"
  14118. },
  14119. "needhedgeqty": {
  14120. "description": "应套保量",
  14121. "type": "number"
  14122. },
  14123. "needhedgeratio": {
  14124. "description": "应套保敞口比例",
  14125. "type": "number"
  14126. },
  14127. "oriarbitrageqty": {
  14128. "description": "期初套利量",
  14129. "type": "number"
  14130. },
  14131. "oribuyfutureqty": {
  14132. "description": "期初买入期货数量",
  14133. "type": "number"
  14134. },
  14135. "oribuyplanqty": {
  14136. "description": "期初采购计划数量",
  14137. "type": "number"
  14138. },
  14139. "oribuypricedqty": {
  14140. "description": "期初采购合同已定价数量",
  14141. "type": "number"
  14142. },
  14143. "orihedgeqty": {
  14144. "description": "期初套保量",
  14145. "type": "number"
  14146. },
  14147. "orineedarbitrageqty": {
  14148. "description": "期初应套利量",
  14149. "type": "number"
  14150. },
  14151. "orineedhedgeexposoure": {
  14152. "description": "期初应套保敞口",
  14153. "type": "number"
  14154. },
  14155. "orineedhedgeqty": {
  14156. "description": "期初应套保量",
  14157. "type": "number"
  14158. },
  14159. "orisellfutureqty": {
  14160. "description": "期初卖出期货数量",
  14161. "type": "number"
  14162. },
  14163. "orisellplanqty": {
  14164. "description": "期初销售计划数量",
  14165. "type": "number"
  14166. },
  14167. "orisellpricedqty": {
  14168. "description": "期初销售合同已定价数量",
  14169. "type": "number"
  14170. },
  14171. "oritotalexposure": {
  14172. "description": "期初实时总敞口",
  14173. "type": "number"
  14174. },
  14175. "oritotalfutureqty": {
  14176. "description": "期初期货头寸总量",
  14177. "type": "number"
  14178. },
  14179. "oritotalneedhedgeqty": {
  14180. "description": "期初应套保总量",
  14181. "type": "number"
  14182. },
  14183. "oritotalspotqty": {
  14184. "description": "期初现货头寸总量",
  14185. "type": "number"
  14186. },
  14187. "reckondate": {
  14188. "description": "日照时期(yyyyMMdd)",
  14189. "type": "string"
  14190. },
  14191. "sellfutureqty": {
  14192. "description": "卖出期货数量",
  14193. "type": "number"
  14194. },
  14195. "sellplanqty": {
  14196. "description": "销售计划数量",
  14197. "type": "number"
  14198. },
  14199. "sellpricedqty": {
  14200. "description": "销售合同已定价数量",
  14201. "type": "number"
  14202. },
  14203. "totalexposure": {
  14204. "description": "实时总敞口(总敞口)",
  14205. "type": "number"
  14206. },
  14207. "totalfutureqty": {
  14208. "description": "期货头寸总量(期货总量)",
  14209. "type": "number"
  14210. },
  14211. "totalhedgeratio": {
  14212. "description": "敞口比例",
  14213. "type": "number"
  14214. },
  14215. "totalneedhedgeqty": {
  14216. "description": "应套保总量(现货应套保总量)",
  14217. "type": "number"
  14218. },
  14219. "totalspotqty": {
  14220. "description": "现货头寸总量",
  14221. "type": "number"
  14222. },
  14223. "unitid": {
  14224. "description": "单位id",
  14225. "type": "integer"
  14226. },
  14227. "updatetime": {
  14228. "description": "更新时间",
  14229. "type": "string"
  14230. }
  14231. }
  14232. },
  14233. "models.Ermcp3FinanceReport": {
  14234. "type": "object",
  14235. "properties": {
  14236. "accountname": {
  14237. "description": "机构名称",
  14238. "type": "string"
  14239. },
  14240. "areauserid": {
  14241. "description": "所属机构\\交易用户ID",
  14242. "type": "integer"
  14243. },
  14244. "begindate": {
  14245. "description": "开始交易日",
  14246. "type": "string"
  14247. },
  14248. "biztype": {
  14249. "description": "业务类型 - 1:套保 2:套利",
  14250. "type": "integer"
  14251. },
  14252. "brandname": {
  14253. "description": "品牌名称",
  14254. "type": "string"
  14255. },
  14256. "buypreinvoicedamount": {
  14257. "description": "采购预收票额(预收票额)",
  14258. "type": "number"
  14259. },
  14260. "buyprepaidamount": {
  14261. "description": "采购预付款额(预付货款额)",
  14262. "type": "number"
  14263. },
  14264. "buytodayinvoiceamount": {
  14265. "description": "采购今收票额(今收票额)",
  14266. "type": "number"
  14267. },
  14268. "buytodayrefundamount": {
  14269. "description": "采购今收退款额(今收退款额)",
  14270. "type": "number"
  14271. },
  14272. "buytodaysettleamount": {
  14273. "description": "采购今付款额(今付货款额)",
  14274. "type": "number"
  14275. },
  14276. "buyuninvoicedamount": {
  14277. "description": "采购应收票额(应收票额)",
  14278. "type": "number"
  14279. },
  14280. "buyunpaidamount": {
  14281. "description": "采购应付款额(应付货款额)",
  14282. "type": "number"
  14283. },
  14284. "currencyid": {
  14285. "description": "结算币种ID",
  14286. "type": "integer"
  14287. },
  14288. "currencyname": {
  14289. "description": "币种名称",
  14290. "type": "string"
  14291. },
  14292. "cycletime": {
  14293. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14294. "type": "string"
  14295. },
  14296. "cycletype": {
  14297. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14298. "type": "integer"
  14299. },
  14300. "deliverygoodscode": {
  14301. "description": "现货品种代码",
  14302. "type": "string"
  14303. },
  14304. "deliverygoodsid": {
  14305. "description": "现货品种ID",
  14306. "type": "integer"
  14307. },
  14308. "deliverygoodsname": {
  14309. "description": "现货品种名称",
  14310. "type": "string"
  14311. },
  14312. "enddate": {
  14313. "description": "结束交易日",
  14314. "type": "string"
  14315. },
  14316. "reckondate": {
  14317. "description": "日照时期(yyyyMMdd)",
  14318. "type": "string"
  14319. },
  14320. "sellpreinvoicedamount": {
  14321. "description": "销售预开票额(预开票额)",
  14322. "type": "number"
  14323. },
  14324. "sellprepaidamount": {
  14325. "description": "销售预收款额(预收货款额)",
  14326. "type": "number"
  14327. },
  14328. "selltodayinvoiceamount": {
  14329. "description": "销售今开票额(今开票额)",
  14330. "type": "number"
  14331. },
  14332. "selltodayrefundamount": {
  14333. "description": "销售今付退款额(今付退款额)",
  14334. "type": "number"
  14335. },
  14336. "selltodaysettleamount": {
  14337. "description": "销售今收款额(今收货款额)",
  14338. "type": "number"
  14339. },
  14340. "selluninvoicedamount": {
  14341. "description": "销售应开票额(应开票额)",
  14342. "type": "number"
  14343. },
  14344. "sellunpaidamount": {
  14345. "description": "销售应收款额(应收货款额)",
  14346. "type": "number"
  14347. },
  14348. "spotgoodsbrandid": {
  14349. "description": "现货品牌ID",
  14350. "type": "integer"
  14351. },
  14352. "todaypaysum": {
  14353. "description": "今付款合计",
  14354. "type": "number"
  14355. },
  14356. "todayreceivesum": {
  14357. "description": "今收款合计",
  14358. "type": "number"
  14359. },
  14360. "updatetime": {
  14361. "description": "更新时间",
  14362. "type": "string"
  14363. },
  14364. "wrfactortypeid": {
  14365. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14366. "type": "integer"
  14367. },
  14368. "wrstandardcode": {
  14369. "description": "品类代码",
  14370. "type": "string"
  14371. },
  14372. "wrstandardid": {
  14373. "description": "现货商品ID",
  14374. "type": "integer"
  14375. },
  14376. "wrstandardname": {
  14377. "description": "品类名称",
  14378. "type": "string"
  14379. }
  14380. }
  14381. },
  14382. "models.Ermcp3Goods": {
  14383. "type": "object",
  14384. "properties": {
  14385. "agreeunit": {
  14386. "description": "合约单位(合约乘数)",
  14387. "type": "number"
  14388. },
  14389. "enumdicname": {
  14390. "description": "单位名称",
  14391. "type": "string"
  14392. },
  14393. "exexchangecode": {
  14394. "description": "交易所代码",
  14395. "type": "string"
  14396. },
  14397. "goodscode": {
  14398. "description": "期货商品代码",
  14399. "type": "string"
  14400. },
  14401. "goodsid": {
  14402. "description": "期货商品id",
  14403. "type": "integer"
  14404. },
  14405. "goodsname": {
  14406. "description": "期货商品名称",
  14407. "type": "string"
  14408. }
  14409. }
  14410. },
  14411. "models.Ermcp3GoodsGroup": {
  14412. "type": "object",
  14413. "required": [
  14414. "areauserid"
  14415. ],
  14416. "properties": {
  14417. "agreeunit": {
  14418. "description": "合约单位",
  14419. "type": "number"
  14420. },
  14421. "areauserid": {
  14422. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14423. "type": "integer"
  14424. },
  14425. "canshort": {
  14426. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14427. "type": "integer"
  14428. },
  14429. "closepricemode": {
  14430. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14431. "type": "integer"
  14432. },
  14433. "createtime": {
  14434. "description": "创建时间",
  14435. "type": "string"
  14436. },
  14437. "creatorid": {
  14438. "description": "创建人",
  14439. "type": "integer"
  14440. },
  14441. "currencyid": {
  14442. "description": "报价货币ID",
  14443. "type": "integer"
  14444. },
  14445. "decimalplace": {
  14446. "description": "报价小数位",
  14447. "type": "integer"
  14448. },
  14449. "enumdicname": {
  14450. "description": "单位名称",
  14451. "type": "string"
  14452. },
  14453. "excludecfg": {
  14454. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14455. "type": "integer"
  14456. },
  14457. "exexchangeid": {
  14458. "description": "外部交易所ID[通道交易]",
  14459. "type": "integer"
  14460. },
  14461. "goodsgroupid": {
  14462. "description": "商品组ID(自增ID)",
  14463. "type": "integer"
  14464. },
  14465. "goodsgroupname": {
  14466. "description": "商品组名称",
  14467. "type": "string"
  14468. },
  14469. "goodsgroupstatus": {
  14470. "description": "商品组状态 - 1:正常 2:注销",
  14471. "type": "integer"
  14472. },
  14473. "goodunitid": {
  14474. "description": "报价单位ID",
  14475. "type": "integer"
  14476. },
  14477. "groupcategroyid": {
  14478. "description": "品种分类ID",
  14479. "type": "integer"
  14480. },
  14481. "innerdealmode": {
  14482. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14483. "type": "integer"
  14484. },
  14485. "marketid": {
  14486. "description": "所属市场ID",
  14487. "type": "integer"
  14488. },
  14489. "modifierid": {
  14490. "description": "修改人",
  14491. "type": "integer"
  14492. },
  14493. "modifytime": {
  14494. "description": "修改时间",
  14495. "type": "string"
  14496. },
  14497. "outerdealmode": {
  14498. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14499. "type": "integer"
  14500. },
  14501. "outergroupcode": {
  14502. "description": "外部商品组代码[通道交易]",
  14503. "type": "string"
  14504. },
  14505. "quoteminunit": {
  14506. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14507. "type": "integer"
  14508. },
  14509. "quotesourcegroupid": {
  14510. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14511. "type": "integer"
  14512. },
  14513. "syncgoodsqty": {
  14514. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14515. "type": "integer"
  14516. }
  14517. }
  14518. },
  14519. "models.Ermcp3GoodsGroupEx": {
  14520. "type": "object",
  14521. "properties": {
  14522. "convertratio": {
  14523. "description": "折算系数(品种系数)",
  14524. "type": "number"
  14525. },
  14526. "enumdicname": {
  14527. "description": "单位名称",
  14528. "type": "string"
  14529. },
  14530. "exexchangecode": {
  14531. "description": "交易所代码",
  14532. "type": "string"
  14533. },
  14534. "glist": {
  14535. "description": "合约列表",
  14536. "type": "array",
  14537. "items": {
  14538. "$ref": "#/definitions/models.Ermcp3Goods"
  14539. }
  14540. },
  14541. "goodsgroupid": {
  14542. "description": "商品组id",
  14543. "type": "integer"
  14544. },
  14545. "goodsgroupname": {
  14546. "description": "商品组名称",
  14547. "type": "string"
  14548. },
  14549. "goodsunitid": {
  14550. "description": "单位id",
  14551. "type": "integer"
  14552. },
  14553. "middlegoodsid": {
  14554. "description": "套保商品id",
  14555. "type": "integer"
  14556. }
  14557. }
  14558. },
  14559. "models.Ermcp3HedgePlan": {
  14560. "type": "object",
  14561. "properties": {
  14562. "accountid": {
  14563. "description": "资金账号",
  14564. "type": "integer"
  14565. },
  14566. "areauserid": {
  14567. "description": "用户ID",
  14568. "type": "integer"
  14569. },
  14570. "audittime": {
  14571. "description": "审核时间",
  14572. "type": "string"
  14573. },
  14574. "contracttype": {
  14575. "description": "计划类型 - 1:采购 -1:销售",
  14576. "type": "integer"
  14577. },
  14578. "convertfactor": {
  14579. "description": "标仓系数",
  14580. "type": "number"
  14581. },
  14582. "createtime": {
  14583. "description": "创建时间",
  14584. "type": "string"
  14585. },
  14586. "currencyid": {
  14587. "description": "币种id",
  14588. "type": "integer"
  14589. },
  14590. "currencyname": {
  14591. "description": "币种名称",
  14592. "type": "string"
  14593. },
  14594. "deliverygoodscode": {
  14595. "description": "现货品种代码",
  14596. "type": "string"
  14597. },
  14598. "deliverygoodsid": {
  14599. "description": "现货品种ID",
  14600. "type": "integer"
  14601. },
  14602. "deliverygoodsname": {
  14603. "description": "现货品种名称",
  14604. "type": "string"
  14605. },
  14606. "enumdicname": {
  14607. "description": "单位名称(现货商品)",
  14608. "type": "string"
  14609. },
  14610. "hedgeplanid": {
  14611. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14612. "type": "string"
  14613. },
  14614. "hedgeplanno": {
  14615. "description": "套保计划编号(名称)",
  14616. "type": "string"
  14617. },
  14618. "hedgeplanstatus": {
  14619. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14620. "type": "integer"
  14621. },
  14622. "planqty": {
  14623. "description": "计划数量",
  14624. "type": "number"
  14625. },
  14626. "plantime": {
  14627. "description": "计划时间",
  14628. "type": "string"
  14629. },
  14630. "producttype": {
  14631. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14632. "type": "integer"
  14633. },
  14634. "remark": {
  14635. "description": "备注",
  14636. "type": "string"
  14637. },
  14638. "spotgoodsdesc": {
  14639. "description": "商品型号",
  14640. "type": "string"
  14641. },
  14642. "taaccountname": {
  14643. "description": "资金账号名称",
  14644. "type": "string"
  14645. },
  14646. "tradeuserid": {
  14647. "description": "交易用户id",
  14648. "type": "integer"
  14649. },
  14650. "tradeusername": {
  14651. "description": "交易用户名称",
  14652. "type": "string"
  14653. },
  14654. "unitid": {
  14655. "description": "单位id(现货商品)",
  14656. "type": "integer"
  14657. },
  14658. "updatetime": {
  14659. "description": "更新时间",
  14660. "type": "string"
  14661. },
  14662. "wrstandardcode": {
  14663. "description": "品类代码",
  14664. "type": "string"
  14665. },
  14666. "wrstandardid": {
  14667. "description": "品类id",
  14668. "type": "integer"
  14669. },
  14670. "wrstandardname": {
  14671. "description": "品类名称",
  14672. "type": "string"
  14673. },
  14674. "wrunitid": {
  14675. "description": "品类单位id",
  14676. "type": "integer"
  14677. },
  14678. "wrunitidame": {
  14679. "description": "品类单位名称",
  14680. "type": "string"
  14681. }
  14682. }
  14683. },
  14684. "models.Ermcp3MiddleGoodsDetail2": {
  14685. "type": "object",
  14686. "properties": {
  14687. "convertratio": {
  14688. "description": "套保系数(折算系数)",
  14689. "type": "number"
  14690. },
  14691. "gplist": {
  14692. "description": "关联商品组列表",
  14693. "type": "array",
  14694. "items": {
  14695. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14696. }
  14697. },
  14698. "mg": {
  14699. "description": "套保商品信息",
  14700. "type": "object",
  14701. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14702. }
  14703. }
  14704. },
  14705. "models.Ermcp3MiddleGoodsDetailEx": {
  14706. "type": "object",
  14707. "properties": {
  14708. "dglist": {
  14709. "description": "关联的现货品种列表",
  14710. "type": "array",
  14711. "items": {
  14712. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14713. }
  14714. },
  14715. "gplist": {
  14716. "description": "关联商品组列表",
  14717. "type": "array",
  14718. "items": {
  14719. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14720. }
  14721. },
  14722. "mg": {
  14723. "description": "套保商品信息",
  14724. "type": "object",
  14725. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14726. }
  14727. }
  14728. },
  14729. "models.Ermcp3SellBuyContract": {
  14730. "type": "object",
  14731. "properties": {
  14732. "accountid": {
  14733. "description": "期货账户id",
  14734. "type": "string"
  14735. },
  14736. "accountname": {
  14737. "description": "账户名称",
  14738. "type": "string"
  14739. },
  14740. "attachment": {
  14741. "description": "附件",
  14742. "type": "string"
  14743. },
  14744. "audittime": {
  14745. "description": "审核时间",
  14746. "type": "string"
  14747. },
  14748. "biztype": {
  14749. "description": "业务类型 1-套保 2-套利",
  14750. "type": "integer"
  14751. },
  14752. "brandname": {
  14753. "description": "品牌名称",
  14754. "type": "string"
  14755. },
  14756. "contracctstatus": {
  14757. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14758. "type": "integer"
  14759. },
  14760. "contractmargin": {
  14761. "description": "合同保证金",
  14762. "type": "number"
  14763. },
  14764. "contractno": {
  14765. "description": "合同编号",
  14766. "type": "string"
  14767. },
  14768. "contracttype": {
  14769. "description": "合同类型 1-采购, -1-销售",
  14770. "type": "integer"
  14771. },
  14772. "convertfactor": {
  14773. "description": "标仓系数(品类)",
  14774. "type": "number"
  14775. },
  14776. "createtime": {
  14777. "description": "创建时间",
  14778. "type": "string"
  14779. },
  14780. "currencyid": {
  14781. "description": "币种id",
  14782. "type": "integer"
  14783. },
  14784. "currencyname": {
  14785. "description": "币种名称",
  14786. "type": "string"
  14787. },
  14788. "daikaiamount": {
  14789. "description": "应收(开)票额",
  14790. "type": "number"
  14791. },
  14792. "deliveryenddate": {
  14793. "description": "交割结束日",
  14794. "type": "string"
  14795. },
  14796. "deliverygoodscode": {
  14797. "description": "现货品种代码",
  14798. "type": "string"
  14799. },
  14800. "deliverygoodsid": {
  14801. "description": "现货商品ID",
  14802. "type": "integer"
  14803. },
  14804. "deliverygoodsname": {
  14805. "description": "现货品种名称",
  14806. "type": "string"
  14807. },
  14808. "deliverystartdate": {
  14809. "description": "交割开始日",
  14810. "type": "string"
  14811. },
  14812. "enddate": {
  14813. "description": "点价结束日",
  14814. "type": "string"
  14815. },
  14816. "enumdicname": {
  14817. "description": "单位名称",
  14818. "type": "string"
  14819. },
  14820. "goodscode": {
  14821. "description": "点价商品代码",
  14822. "type": "string"
  14823. },
  14824. "goodsid": {
  14825. "description": "点价商品ID",
  14826. "type": "integer"
  14827. },
  14828. "goodsname": {
  14829. "description": "点价商品名称",
  14830. "type": "string"
  14831. },
  14832. "invoiceamount": {
  14833. "description": "已开票额",
  14834. "type": "number"
  14835. },
  14836. "loanamount": {
  14837. "description": "贷款总额=已定价额+调整金额",
  14838. "type": "number"
  14839. },
  14840. "margin": {
  14841. "description": "保证金",
  14842. "type": "number"
  14843. },
  14844. "meruserid": {
  14845. "description": "跟单员id",
  14846. "type": "integer"
  14847. },
  14848. "meruserlogincode": {
  14849. "description": "跟单员登录代码",
  14850. "type": "string"
  14851. },
  14852. "nickname": {
  14853. "description": "账户昵称",
  14854. "type": "string"
  14855. },
  14856. "payamount": {
  14857. "description": "已收付额(收款或付款)",
  14858. "type": "number"
  14859. },
  14860. "preinvoiceamount": {
  14861. "description": "预收(开)票额",
  14862. "type": "number"
  14863. },
  14864. "prepayamount": {
  14865. "description": "预收付额",
  14866. "type": "number"
  14867. },
  14868. "price": {
  14869. "description": "价格",
  14870. "type": "number"
  14871. },
  14872. "pricedamount": {
  14873. "description": "已定价额",
  14874. "type": "number"
  14875. },
  14876. "pricedavg": {
  14877. "description": "已点均价",
  14878. "type": "number"
  14879. },
  14880. "pricedqty": {
  14881. "description": "已定价量",
  14882. "type": "number"
  14883. },
  14884. "pricemove": {
  14885. "description": "升贴水",
  14886. "type": "number"
  14887. },
  14888. "pricetype": {
  14889. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14890. "type": "integer"
  14891. },
  14892. "producttype": {
  14893. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14894. "type": "integer"
  14895. },
  14896. "qty": {
  14897. "description": "合同量",
  14898. "type": "number"
  14899. },
  14900. "reckonadjustamount": {
  14901. "description": "调整金额",
  14902. "type": "number"
  14903. },
  14904. "reckonedamount": {
  14905. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14906. "type": "number"
  14907. },
  14908. "reckonotheramount": {
  14909. "description": "其它费用",
  14910. "type": "number"
  14911. },
  14912. "reckonrealqty": {
  14913. "description": "已确定量",
  14914. "type": "number"
  14915. },
  14916. "remark": {
  14917. "description": "备注",
  14918. "type": "string"
  14919. },
  14920. "saleuserid": {
  14921. "description": "业务员id",
  14922. "type": "integer"
  14923. },
  14924. "saleuserlogincode": {
  14925. "description": "业务员登录代码",
  14926. "type": "string"
  14927. },
  14928. "spotcontractid": {
  14929. "description": "合同ID",
  14930. "type": "string"
  14931. },
  14932. "spotgoodsbrandid": {
  14933. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14934. "type": "integer"
  14935. },
  14936. "spotgoodsdesc": {
  14937. "description": "商品型号(商品规格)",
  14938. "type": "string"
  14939. },
  14940. "startdate": {
  14941. "description": "点价开始日",
  14942. "type": "string"
  14943. },
  14944. "totalamount": {
  14945. "description": "合计总额",
  14946. "type": "number"
  14947. },
  14948. "tradeuserid": {
  14949. "description": "交易员id",
  14950. "type": "integer"
  14951. },
  14952. "tradeuserlogincode": {
  14953. "description": "交易员登录代码",
  14954. "type": "string"
  14955. },
  14956. "tradeusername": {
  14957. "description": "交易员名称",
  14958. "type": "string"
  14959. },
  14960. "unpayamount": {
  14961. "description": "应收付款额(应支付或应收款)",
  14962. "type": "number"
  14963. },
  14964. "unpricedqty": {
  14965. "description": "未定价量",
  14966. "type": "number"
  14967. },
  14968. "unsureqty": {
  14969. "description": "未确定量",
  14970. "type": "number"
  14971. },
  14972. "userid": {
  14973. "description": "机构ID",
  14974. "type": "integer"
  14975. },
  14976. "wrstandardcode": {
  14977. "description": "品类代码",
  14978. "type": "string"
  14979. },
  14980. "wrstandardid": {
  14981. "description": "品类ID",
  14982. "type": "integer"
  14983. },
  14984. "wrstandardname": {
  14985. "description": "品类名称",
  14986. "type": "string"
  14987. }
  14988. }
  14989. },
  14990. "models.Ermcp3SpotGoodsPrice": {
  14991. "type": "object",
  14992. "properties": {
  14993. "areauserid": {
  14994. "description": "所属机构id",
  14995. "type": "integer"
  14996. },
  14997. "brandname": {
  14998. "description": "品牌名称",
  14999. "type": "string"
  15000. },
  15001. "currencyid": {
  15002. "description": "报价货币ID",
  15003. "type": "integer"
  15004. },
  15005. "currencyname": {
  15006. "description": "币种名称",
  15007. "type": "string"
  15008. },
  15009. "deliverygoodscode": {
  15010. "description": "现货商品代码",
  15011. "type": "string"
  15012. },
  15013. "deliverygoodsid": {
  15014. "description": "现货商品id",
  15015. "type": "integer"
  15016. },
  15017. "deliverygoodsname": {
  15018. "description": "现货商品名称",
  15019. "type": "string"
  15020. },
  15021. "enumdicname": {
  15022. "description": "现货商品单位名称",
  15023. "type": "string"
  15024. },
  15025. "gbenumdicname": {
  15026. "description": "品类单位名称",
  15027. "type": "string"
  15028. },
  15029. "gmunitid": {
  15030. "description": "品类单位id",
  15031. "type": "integer"
  15032. },
  15033. "isvalid": {
  15034. "description": "是否有效 - 0:无效 1:有效",
  15035. "type": "integer"
  15036. },
  15037. "operateid": {
  15038. "description": "最后操作人",
  15039. "type": "integer"
  15040. },
  15041. "operatesrc": {
  15042. "description": "最后操作来源 - 1:管理端 2:终端",
  15043. "type": "integer"
  15044. },
  15045. "operatetime": {
  15046. "description": "最后操作时间",
  15047. "type": "string"
  15048. },
  15049. "operatorname": {
  15050. "description": "操作人名称",
  15051. "type": "string"
  15052. },
  15053. "spotgoodsbrandid": {
  15054. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15055. "type": "integer"
  15056. },
  15057. "spotgoodsprice": {
  15058. "description": "现货价格",
  15059. "type": "number"
  15060. },
  15061. "tradedate": {
  15062. "description": "交易日(yyyyMMdd)",
  15063. "type": "string"
  15064. },
  15065. "unitid": {
  15066. "description": "现货商品单位id",
  15067. "type": "integer"
  15068. },
  15069. "wrstandardcode": {
  15070. "description": "品类代码",
  15071. "type": "string"
  15072. },
  15073. "wrstandardid": {
  15074. "description": "现货品类ID(通用则为0)",
  15075. "type": "integer"
  15076. },
  15077. "wrstandardname": {
  15078. "description": "品类名称",
  15079. "type": "string"
  15080. }
  15081. }
  15082. },
  15083. "models.Ermcp3SpotGoodsPriceLog": {
  15084. "type": "object",
  15085. "properties": {
  15086. "areauserid": {
  15087. "description": "所属机构id",
  15088. "type": "integer"
  15089. },
  15090. "brandname": {
  15091. "description": "品牌名称",
  15092. "type": "string"
  15093. },
  15094. "currencyid": {
  15095. "description": "报价货币ID",
  15096. "type": "integer"
  15097. },
  15098. "deliverygoodscode": {
  15099. "description": "现货商品代码",
  15100. "type": "string"
  15101. },
  15102. "deliverygoodsid": {
  15103. "description": "现货商品id",
  15104. "type": "integer"
  15105. },
  15106. "deliverygoodsname": {
  15107. "description": "现货商品名称",
  15108. "type": "string"
  15109. },
  15110. "enumdicname": {
  15111. "description": "现货商品单位名称",
  15112. "type": "string"
  15113. },
  15114. "gbenumdicname": {
  15115. "description": "品类单位名称",
  15116. "type": "string"
  15117. },
  15118. "gmunitid": {
  15119. "description": "品类单位id",
  15120. "type": "integer"
  15121. },
  15122. "logid": {
  15123. "description": "日志id",
  15124. "type": "integer"
  15125. },
  15126. "operateid": {
  15127. "description": "最后操作人",
  15128. "type": "integer"
  15129. },
  15130. "operatesrc": {
  15131. "description": "最后操作来源 - 1:管理端 2:终端",
  15132. "type": "integer"
  15133. },
  15134. "operatetime": {
  15135. "description": "最后操作时间",
  15136. "type": "string"
  15137. },
  15138. "operatorname": {
  15139. "description": "操作人名称",
  15140. "type": "string"
  15141. },
  15142. "spotgoodsbrandid": {
  15143. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  15144. "type": "integer"
  15145. },
  15146. "spotgoodsprice": {
  15147. "description": "现货价格",
  15148. "type": "number"
  15149. },
  15150. "tradedate": {
  15151. "description": "交易日(yyyyMMdd)",
  15152. "type": "string"
  15153. },
  15154. "unitid": {
  15155. "description": "现货商品单位id",
  15156. "type": "integer"
  15157. },
  15158. "wrstandardcode": {
  15159. "description": "品类代码",
  15160. "type": "string"
  15161. },
  15162. "wrstandardid": {
  15163. "description": "现货品类ID(通用则为0)",
  15164. "type": "integer"
  15165. },
  15166. "wrstandardname": {
  15167. "description": "品类名称",
  15168. "type": "string"
  15169. }
  15170. }
  15171. },
  15172. "models.Ermcp3Wrstandard": {
  15173. "type": "object",
  15174. "properties": {
  15175. "areauserid": {
  15176. "description": "所属机构",
  15177. "type": "integer"
  15178. },
  15179. "convertfactor": {
  15180. "description": "标仓系数",
  15181. "type": "number"
  15182. },
  15183. "createtime": {
  15184. "description": "创建时间",
  15185. "type": "string"
  15186. },
  15187. "creatorid": {
  15188. "description": "创建人",
  15189. "type": "integer"
  15190. },
  15191. "deliverygoodsid": {
  15192. "description": "现货品种ID",
  15193. "type": "integer"
  15194. },
  15195. "enumdicname": {
  15196. "description": "品类单位名称",
  15197. "type": "string"
  15198. },
  15199. "isvalid": {
  15200. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  15201. "type": "integer"
  15202. },
  15203. "minivalue": {
  15204. "description": "最小变动值",
  15205. "type": "integer"
  15206. },
  15207. "minivaluedp": {
  15208. "description": "最小变动值小数位",
  15209. "type": "integer"
  15210. },
  15211. "realminivalue": {
  15212. "description": "实际最小变动值",
  15213. "type": "integer"
  15214. },
  15215. "realminivaluedp": {
  15216. "description": "实际最小变动值小数位",
  15217. "type": "integer"
  15218. },
  15219. "remark": {
  15220. "description": "备注",
  15221. "type": "string"
  15222. },
  15223. "unitid": {
  15224. "description": "品类单位ID",
  15225. "type": "integer"
  15226. },
  15227. "updatetime": {
  15228. "description": "更新时间",
  15229. "type": "string"
  15230. },
  15231. "wrstandardcode": {
  15232. "description": "品类代码",
  15233. "type": "string"
  15234. },
  15235. "wrstandardid": {
  15236. "description": "品类ID(SEQ_WRSTANDARD)",
  15237. "type": "integer"
  15238. },
  15239. "wrstandardname": {
  15240. "description": "品类名称",
  15241. "type": "string"
  15242. }
  15243. }
  15244. },
  15245. "models.ErmcpAreaSpotDetailModel": {
  15246. "type": "object",
  15247. "properties": {
  15248. "contracttype": {
  15249. "description": "合同类型 1-采购 -1-销售",
  15250. "type": "integer"
  15251. },
  15252. "createtime": {
  15253. "description": "创建时间",
  15254. "type": "string"
  15255. },
  15256. "enumdicname": {
  15257. "description": "现货商品单位名称",
  15258. "type": "string"
  15259. },
  15260. "logtype": {
  15261. "description": "记录类型 1-套保 2-现货合同",
  15262. "type": "integer"
  15263. },
  15264. "qty": {
  15265. "description": "数量",
  15266. "type": "number"
  15267. },
  15268. "recordname": {
  15269. "description": "类型名称",
  15270. "type": "string"
  15271. },
  15272. "relatedid": {
  15273. "description": "套保计划ID/现货合同ID",
  15274. "type": "string"
  15275. },
  15276. "relatedno": {
  15277. "description": "编号",
  15278. "type": "string"
  15279. },
  15280. "strtime": {
  15281. "description": "时间",
  15282. "type": "string"
  15283. },
  15284. "wrstandardcode": {
  15285. "description": "现货商品代码",
  15286. "type": "string"
  15287. },
  15288. "wrstandardname": {
  15289. "description": "现货商品名称",
  15290. "type": "string"
  15291. }
  15292. }
  15293. },
  15294. "models.ErmcpAvalidGoodsGroupModel": {
  15295. "type": "object",
  15296. "properties": {
  15297. "goodsgroupid": {
  15298. "description": "期货品种id",
  15299. "type": "integer"
  15300. },
  15301. "goodsgroupname": {
  15302. "description": "期货品种名称",
  15303. "type": "string"
  15304. },
  15305. "goodunitid": {
  15306. "description": "品种单位id",
  15307. "type": "integer"
  15308. },
  15309. "goodunitname": {
  15310. "description": "品种单位名称",
  15311. "type": "string"
  15312. },
  15313. "outergroupcode": {
  15314. "description": "期货品种代码",
  15315. "type": "string"
  15316. }
  15317. }
  15318. },
  15319. "models.ErmcpBizGroupEx": {
  15320. "type": "object",
  15321. "properties": {
  15322. "acclist": {
  15323. "description": "账号列表",
  15324. "type": "array",
  15325. "items": {
  15326. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  15327. }
  15328. },
  15329. "bizgroupid": {
  15330. "description": "业务分组id",
  15331. "type": "integer"
  15332. },
  15333. "biztype": {
  15334. "description": "业务类型 1-套保 2-套利",
  15335. "type": "integer"
  15336. },
  15337. "wrlist": {
  15338. "description": "现货商品表",
  15339. "type": "array",
  15340. "items": {
  15341. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  15342. }
  15343. }
  15344. }
  15345. },
  15346. "models.ErmcpBizGroupSpotGoods": {
  15347. "type": "object",
  15348. "properties": {
  15349. "areauserid": {
  15350. "description": "所属机构id",
  15351. "type": "integer"
  15352. },
  15353. "bizgroupid": {
  15354. "description": "分组id",
  15355. "type": "integer"
  15356. },
  15357. "biztype": {
  15358. "description": "业务类型 1-套保 2-套利",
  15359. "type": "integer"
  15360. },
  15361. "deliverygoodscode": {
  15362. "description": "现货商品代码",
  15363. "type": "string"
  15364. },
  15365. "deliverygoodsid": {
  15366. "description": "现货商品id",
  15367. "type": "integer"
  15368. },
  15369. "deliverygoodsname": {
  15370. "description": "现货商品名称",
  15371. "type": "string"
  15372. },
  15373. "unitid": {
  15374. "description": "现货商品单位id",
  15375. "type": "integer"
  15376. }
  15377. }
  15378. },
  15379. "models.ErmcpBizGroupTaAccount": {
  15380. "type": "object",
  15381. "properties": {
  15382. "accountid": {
  15383. "description": "账号id",
  15384. "type": "integer"
  15385. },
  15386. "accountname": {
  15387. "description": "账号名称",
  15388. "type": "string"
  15389. },
  15390. "areauserid": {
  15391. "description": "所属机构id",
  15392. "type": "integer"
  15393. },
  15394. "bizgroupid": {
  15395. "description": "业务分组id",
  15396. "type": "integer"
  15397. },
  15398. "ismain": {
  15399. "description": "是否主账号 1-是 0-否",
  15400. "type": "integer"
  15401. }
  15402. }
  15403. },
  15404. "models.ErmcpDGFactoryItem": {
  15405. "type": "object",
  15406. "properties": {
  15407. "areauserid": {
  15408. "description": "用户id",
  15409. "type": "integer"
  15410. },
  15411. "deliverygoodsid": {
  15412. "description": "现货品种ID",
  15413. "type": "integer"
  15414. },
  15415. "dgfactoryitemid": {
  15416. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15417. "type": "integer"
  15418. },
  15419. "dgfactoryitemtypeid": {
  15420. "description": "要素项类型",
  15421. "type": "integer"
  15422. },
  15423. "dgfactoryitemvalue": {
  15424. "description": "要素项值(类型为仓库时填写仓库名称)",
  15425. "type": "string"
  15426. },
  15427. "isvalid": {
  15428. "description": "是否有效 - 0:无效 1:有效",
  15429. "type": "integer"
  15430. },
  15431. "orderindex": {
  15432. "description": "顺序",
  15433. "type": "integer"
  15434. },
  15435. "warehouseid": {
  15436. "description": "仓库ID(类型为仓库时填写)",
  15437. "type": "integer"
  15438. }
  15439. }
  15440. },
  15441. "models.ErmcpDeliveryGoods": {
  15442. "type": "object",
  15443. "properties": {
  15444. "agreeunit": {
  15445. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15446. "type": "integer"
  15447. },
  15448. "areauserid": {
  15449. "description": "所属机构",
  15450. "type": "integer"
  15451. },
  15452. "auditflag": {
  15453. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15454. "type": "integer"
  15455. },
  15456. "categoryid": {
  15457. "description": "类别ID(SEQ_WRCATEGORY)",
  15458. "type": "integer"
  15459. },
  15460. "deliverygoodscode": {
  15461. "description": "现货品种代码",
  15462. "type": "string"
  15463. },
  15464. "deliverygoodsid": {
  15465. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15466. "type": "integer"
  15467. },
  15468. "deliverygoodsname": {
  15469. "description": "现货品种名称",
  15470. "type": "string"
  15471. },
  15472. "deliverygoodstype": {
  15473. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15474. "type": "integer"
  15475. },
  15476. "dgstatus": {
  15477. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15478. "type": "integer"
  15479. },
  15480. "enumdicname": {
  15481. "description": "现货品种单位名称",
  15482. "type": "string"
  15483. },
  15484. "goodsunitid": {
  15485. "description": "现货品种单位ID",
  15486. "type": "integer"
  15487. },
  15488. "isvalid": {
  15489. "description": "是否有效 - 0:无效 1:有效",
  15490. "type": "integer"
  15491. },
  15492. "qtydecimalplace": {
  15493. "description": "成交量小数位",
  15494. "type": "integer"
  15495. },
  15496. "remark": {
  15497. "description": "备注",
  15498. "type": "string"
  15499. },
  15500. "standardqty": {
  15501. "description": "标准数量(库位数量) [标准品特有]",
  15502. "type": "integer"
  15503. },
  15504. "standardqtyrange": {
  15505. "description": "标准数量偏差范围 [标准品特有]",
  15506. "type": "integer"
  15507. }
  15508. }
  15509. },
  15510. "models.ErmcpDeliveryGoodsDetail2": {
  15511. "type": "object",
  15512. "properties": {
  15513. "convertratio": {
  15514. "description": "套保系数(折算系数)",
  15515. "type": "number"
  15516. },
  15517. "data": {
  15518. "description": "现货商品基本信息(交割品种)",
  15519. "type": "object",
  15520. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15521. },
  15522. "gblist": {
  15523. "description": "品牌列表",
  15524. "type": "array",
  15525. "items": {
  15526. "$ref": "#/definitions/models.Ermcp3Brand"
  15527. }
  15528. },
  15529. "gmlist": {
  15530. "description": "品类列表(仓单标准)",
  15531. "type": "array",
  15532. "items": {
  15533. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15534. }
  15535. }
  15536. }
  15537. },
  15538. "models.ErmcpDeliveryGoodsDetailEx": {
  15539. "type": "object",
  15540. "properties": {
  15541. "data": {
  15542. "description": "现货商品基本信息(交割品种)",
  15543. "type": "object",
  15544. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15545. },
  15546. "gblist": {
  15547. "description": "品牌列表",
  15548. "type": "array",
  15549. "items": {
  15550. "$ref": "#/definitions/models.Ermcp3Brand"
  15551. }
  15552. },
  15553. "gmlist": {
  15554. "description": "品类列表(仓单标准)",
  15555. "type": "array",
  15556. "items": {
  15557. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15558. }
  15559. },
  15560. "mgList": {
  15561. "description": "套保列表",
  15562. "type": "array",
  15563. "items": {
  15564. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15565. }
  15566. }
  15567. }
  15568. },
  15569. "models.ErmcpExposureDetailModel": {
  15570. "type": "object",
  15571. "properties": {
  15572. "areauserid": {
  15573. "description": "机构ID",
  15574. "type": "integer"
  15575. },
  15576. "changeQty": {
  15577. "description": "套保变动量",
  15578. "type": "number"
  15579. },
  15580. "contracttype": {
  15581. "description": "现货合同类型 - 1:采购 -1:销售",
  15582. "type": "integer"
  15583. },
  15584. "convertfactor": {
  15585. "description": "标仓系数",
  15586. "type": "number"
  15587. },
  15588. "convertratio": {
  15589. "description": "套保系数",
  15590. "type": "number"
  15591. },
  15592. "createtime": {
  15593. "description": "时间",
  15594. "type": "string"
  15595. },
  15596. "enumdicname": {
  15597. "description": "现货商品单位名称",
  15598. "type": "string"
  15599. },
  15600. "logtype": {
  15601. "description": "类型 - 1:套保计划 2:现货合同",
  15602. "type": "integer"
  15603. },
  15604. "middlegoodsId": {
  15605. "description": "套保商品id",
  15606. "type": "integer"
  15607. },
  15608. "middlegoodscode": {
  15609. "description": "套保商品代码",
  15610. "type": "string"
  15611. },
  15612. "middlegoodsname": {
  15613. "description": "套保商品名称",
  15614. "type": "string"
  15615. },
  15616. "qty": {
  15617. "description": "数量",
  15618. "type": "number"
  15619. },
  15620. "relateNo": {
  15621. "description": "现货合同/套保计划编号",
  15622. "type": "string"
  15623. },
  15624. "wrstandardcode": {
  15625. "description": "现货商品代码",
  15626. "type": "string"
  15627. },
  15628. "wrstandardid": {
  15629. "description": "现货商品ID",
  15630. "type": "integer"
  15631. },
  15632. "wrstandardname": {
  15633. "description": "现货商品名称",
  15634. "type": "string"
  15635. }
  15636. }
  15637. },
  15638. "models.ErmcpExposurePostion": {
  15639. "type": "object",
  15640. "properties": {
  15641. "agreeunit": {
  15642. "description": "合约单位",
  15643. "type": "string"
  15644. },
  15645. "areauserid": {
  15646. "description": "所属机构id",
  15647. "type": "integer"
  15648. },
  15649. "convertratio": {
  15650. "description": "期货品种系数(折算系数)",
  15651. "type": "number"
  15652. },
  15653. "curqty": {
  15654. "description": "当前持仓",
  15655. "type": "integer"
  15656. },
  15657. "diffhedgeqty": {
  15658. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15659. "type": "number"
  15660. },
  15661. "diffqty": {
  15662. "description": "持仓变动量=当前持仓-昨日持仓",
  15663. "type": "integer"
  15664. },
  15665. "goodscode": {
  15666. "description": "商品代码",
  15667. "type": "string"
  15668. },
  15669. "goodsid": {
  15670. "description": "商品id",
  15671. "type": "integer"
  15672. },
  15673. "goodsname": {
  15674. "description": "商品名称",
  15675. "type": "string"
  15676. },
  15677. "middlegoodsid": {
  15678. "description": "套保商品id",
  15679. "type": "integer"
  15680. },
  15681. "ydqty": {
  15682. "description": "昨日持仓",
  15683. "type": "integer"
  15684. }
  15685. }
  15686. },
  15687. "models.ErmcpFuturesCompany": {
  15688. "type": "object",
  15689. "properties": {
  15690. "brokerid": {
  15691. "description": "经纪公司代码",
  15692. "type": "string"
  15693. },
  15694. "channeladdress": {
  15695. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15696. "type": "string"
  15697. },
  15698. "channelid": {
  15699. "description": "对冲渠道ID",
  15700. "type": "string"
  15701. },
  15702. "createtime": {
  15703. "description": "创建时间",
  15704. "type": "string"
  15705. },
  15706. "creatorid": {
  15707. "description": "创建人",
  15708. "type": "string"
  15709. },
  15710. "fcid": {
  15711. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15712. "type": "integer"
  15713. },
  15714. "fcname": {
  15715. "description": "期货公司名称",
  15716. "type": "string"
  15717. },
  15718. "isvalid": {
  15719. "description": "是否有效 - 0:无效 1:有效",
  15720. "type": "integer"
  15721. },
  15722. "mhpaddress": {
  15723. "description": "MHP服务地址(IP:Port)",
  15724. "type": "string"
  15725. },
  15726. "riskrulegroupid": {
  15727. "description": "风控规则组ID",
  15728. "type": "string"
  15729. },
  15730. "tradefeetmpid": {
  15731. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15732. "type": "string"
  15733. },
  15734. "trademargintmpid": {
  15735. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15736. "type": "string"
  15737. },
  15738. "traderatetmpid": {
  15739. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15740. "type": "string"
  15741. },
  15742. "updatetime": {
  15743. "description": "更新时间",
  15744. "type": "string"
  15745. },
  15746. "updatorid": {
  15747. "description": "更新人",
  15748. "type": "string"
  15749. }
  15750. }
  15751. },
  15752. "models.ErmcpGGConvertCfg": {
  15753. "type": "object",
  15754. "properties": {
  15755. "convertratio": {
  15756. "description": "折算系数",
  15757. "type": "number"
  15758. },
  15759. "destgoodsgroupid": {
  15760. "description": "目标品种ID",
  15761. "type": "integer"
  15762. },
  15763. "dstcode": {
  15764. "description": "目录品种代码",
  15765. "type": "string"
  15766. },
  15767. "dstexchangecode": {
  15768. "description": "目标期货交易所",
  15769. "type": "string"
  15770. },
  15771. "dstname": {
  15772. "description": "目标品种名称",
  15773. "type": "string"
  15774. },
  15775. "dstunitid": {
  15776. "description": "目标品种单位ID",
  15777. "type": "integer"
  15778. },
  15779. "dstunitidname": {
  15780. "description": "目标品种单位名称",
  15781. "type": "string"
  15782. },
  15783. "modifytime": {
  15784. "description": "修改时间",
  15785. "type": "string"
  15786. },
  15787. "srccode": {
  15788. "description": "源品种代码",
  15789. "type": "string"
  15790. },
  15791. "srcexchangecode": {
  15792. "description": "源期货交易所",
  15793. "type": "string"
  15794. },
  15795. "srcgoodsgroupid": {
  15796. "description": "源品种ID",
  15797. "type": "integer"
  15798. },
  15799. "srcname": {
  15800. "description": "源品种名称",
  15801. "type": "string"
  15802. },
  15803. "srcunitid": {
  15804. "description": "源品种单位ID",
  15805. "type": "integer"
  15806. },
  15807. "srcunitidname": {
  15808. "description": "源品种单位名称",
  15809. "type": "string"
  15810. }
  15811. }
  15812. },
  15813. "models.ErmcpGoodsBrand": {
  15814. "type": "object",
  15815. "properties": {
  15816. "areauserid": {
  15817. "description": "所属机构",
  15818. "type": "integer"
  15819. },
  15820. "brandid": {
  15821. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15822. "type": "integer"
  15823. },
  15824. "brandname": {
  15825. "description": "品牌名称",
  15826. "type": "string"
  15827. },
  15828. "createtime": {
  15829. "description": "创建时间",
  15830. "type": "string"
  15831. },
  15832. "creatorid": {
  15833. "description": "创建人",
  15834. "type": "integer"
  15835. },
  15836. "creatorsrc": {
  15837. "description": "创建人来源 - 1:管理端 2:终端",
  15838. "type": "integer"
  15839. },
  15840. "deliverygoodsid": {
  15841. "description": "现货品种ID",
  15842. "type": "integer"
  15843. },
  15844. "isvalid": {
  15845. "description": "是否有效 - 0:无效 1:有效",
  15846. "type": "integer"
  15847. },
  15848. "updatetime": {
  15849. "description": "更新时间",
  15850. "type": "string"
  15851. },
  15852. "updatorid": {
  15853. "description": "更新人",
  15854. "type": "integer"
  15855. },
  15856. "updatorsrc": {
  15857. "description": "更新人来源 - 1:管理端 2:终端",
  15858. "type": "integer"
  15859. },
  15860. "wrstandardid": {
  15861. "description": "现货商品ID",
  15862. "type": "integer"
  15863. }
  15864. }
  15865. },
  15866. "models.ErmcpGoodsModel": {
  15867. "type": "object",
  15868. "properties": {
  15869. "areauserid": {
  15870. "description": "所属机构",
  15871. "type": "integer"
  15872. },
  15873. "convertfactor": {
  15874. "description": "标仓系数",
  15875. "type": "number"
  15876. },
  15877. "createtime": {
  15878. "description": "创建时间",
  15879. "type": "string"
  15880. },
  15881. "creatorid": {
  15882. "description": "创建人",
  15883. "type": "integer"
  15884. },
  15885. "creatorsrc": {
  15886. "description": "创建人来源 - 1:管理端 2:终端",
  15887. "type": "integer"
  15888. },
  15889. "deliverygoodsid": {
  15890. "description": "现货品种ID",
  15891. "type": "integer"
  15892. },
  15893. "isvalid": {
  15894. "description": "是否有效 - 0:无效 1:有效",
  15895. "type": "integer"
  15896. },
  15897. "modelid": {
  15898. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15899. "type": "integer"
  15900. },
  15901. "modelname": {
  15902. "description": "型号名称",
  15903. "type": "string"
  15904. },
  15905. "updatetime": {
  15906. "description": "更新时间",
  15907. "type": "string"
  15908. },
  15909. "updatorid": {
  15910. "description": "更新人",
  15911. "type": "integer"
  15912. },
  15913. "updatorsrc": {
  15914. "description": "更新人来源 - 1:管理端 2:终端",
  15915. "type": "integer"
  15916. },
  15917. "wrstandardid": {
  15918. "description": "现货商品ID",
  15919. "type": "integer"
  15920. }
  15921. }
  15922. },
  15923. "models.ErmcpHedgePosition": {
  15924. "type": "object",
  15925. "properties": {
  15926. "accountid": {
  15927. "description": "资金账号[外部母账户]",
  15928. "type": "integer"
  15929. },
  15930. "curbuyposition": {
  15931. "description": "期末买头寸",
  15932. "type": "integer"
  15933. },
  15934. "cursellposition": {
  15935. "description": "期末卖头寸",
  15936. "type": "integer"
  15937. },
  15938. "curtdbuyposition": {
  15939. "description": "期末今日买头寸",
  15940. "type": "integer"
  15941. },
  15942. "curtdsellposition": {
  15943. "description": "期末今日卖头寸",
  15944. "type": "integer"
  15945. },
  15946. "curydbuyposition": {
  15947. "description": "期末上日买头寸",
  15948. "type": "integer"
  15949. },
  15950. "curydsellposition": {
  15951. "description": "期末上日卖头寸",
  15952. "type": "integer"
  15953. },
  15954. "decreaseqty": {
  15955. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15956. "type": "integer"
  15957. },
  15958. "fretdbuyposition": {
  15959. "description": "冻结今日买头寸",
  15960. "type": "integer"
  15961. },
  15962. "fretdsellposition": {
  15963. "description": "冻结今日卖头寸",
  15964. "type": "integer"
  15965. },
  15966. "freydbuyposition": {
  15967. "description": "冻结上日买头寸",
  15968. "type": "integer"
  15969. },
  15970. "freydsellposition": {
  15971. "description": "冻结上日卖头寸",
  15972. "type": "integer"
  15973. },
  15974. "goodscode": {
  15975. "description": "商品代码",
  15976. "type": "string"
  15977. },
  15978. "goodsid": {
  15979. "description": "商品id",
  15980. "type": "integer"
  15981. },
  15982. "goodsname": {
  15983. "description": "商品名称",
  15984. "type": "string"
  15985. },
  15986. "hedgeaccountcode": {
  15987. "description": "对冲账号",
  15988. "type": "string"
  15989. },
  15990. "hedgegoodsid": {
  15991. "description": "对冲合约ID",
  15992. "type": "integer"
  15993. },
  15994. "increaseqty": {
  15995. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15996. "type": "integer"
  15997. },
  15998. "marketid": {
  15999. "description": "市场ID",
  16000. "type": "integer"
  16001. },
  16002. "relateduserid": {
  16003. "description": "关联用户id",
  16004. "type": "integer"
  16005. },
  16006. "totalcurqty": {
  16007. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  16008. "type": "integer"
  16009. },
  16010. "totalydqty": {
  16011. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  16012. "type": "integer"
  16013. },
  16014. "tradedate": {
  16015. "description": "交易日(yyyyMMdd)",
  16016. "type": "string"
  16017. },
  16018. "ydbuyposition": {
  16019. "description": "期初买头寸",
  16020. "type": "integer"
  16021. },
  16022. "ydsellposition": {
  16023. "description": "期初卖头寸",
  16024. "type": "integer"
  16025. }
  16026. }
  16027. },
  16028. "models.ErmcpHedgePositionDetail": {
  16029. "type": "object",
  16030. "properties": {
  16031. "buyorsell": {
  16032. "description": "买卖方向 0-买 1-卖",
  16033. "type": "integer"
  16034. },
  16035. "channelbuildtype": {
  16036. "description": "开平方向 1-建仓 2-平仓",
  16037. "type": "integer"
  16038. },
  16039. "goodscode": {
  16040. "description": "商品代码",
  16041. "type": "string"
  16042. },
  16043. "goodsname": {
  16044. "description": "商品名称",
  16045. "type": "string"
  16046. },
  16047. "hedgegoodsid": {
  16048. "description": "商品id",
  16049. "type": "integer"
  16050. },
  16051. "tradeqty": {
  16052. "description": "数量(成交数量)",
  16053. "type": "integer"
  16054. },
  16055. "tradetime": {
  16056. "description": "时间(成交时间)",
  16057. "type": "string"
  16058. }
  16059. }
  16060. },
  16061. "models.ErmcpHisExposure": {
  16062. "type": "object",
  16063. "properties": {
  16064. "needhedgeexposoure": {
  16065. "description": "应套保敞口",
  16066. "type": "number"
  16067. },
  16068. "reckondate": {
  16069. "description": "日照时期(yyyyMMdd)",
  16070. "type": "string"
  16071. },
  16072. "totalexposure": {
  16073. "description": "总敞口",
  16074. "type": "number"
  16075. }
  16076. }
  16077. },
  16078. "models.ErmcpHisExposureS": {
  16079. "type": "object",
  16080. "properties": {
  16081. "data": {
  16082. "description": "历史敞口",
  16083. "type": "array",
  16084. "items": {
  16085. "$ref": "#/definitions/models.ErmcpHisExposure"
  16086. }
  16087. },
  16088. "enumdicname": {
  16089. "description": "单位名称",
  16090. "type": "string"
  16091. },
  16092. "middlegoodscode": {
  16093. "description": "套保品种代码",
  16094. "type": "string"
  16095. },
  16096. "middlegoodsid": {
  16097. "description": "套保品种ID",
  16098. "type": "integer"
  16099. },
  16100. "middlegoodsname": {
  16101. "description": "套保品种名称",
  16102. "type": "string"
  16103. }
  16104. }
  16105. },
  16106. "models.ErmcpLoginTaAccount": {
  16107. "type": "object",
  16108. "properties": {
  16109. "accountid": {
  16110. "description": "账号id",
  16111. "type": "integer"
  16112. },
  16113. "accountname": {
  16114. "description": "账号名称",
  16115. "type": "string"
  16116. }
  16117. }
  16118. },
  16119. "models.ErmcpLoginUser": {
  16120. "type": "object",
  16121. "properties": {
  16122. "acclist": {
  16123. "description": "关联资金账号",
  16124. "type": "array",
  16125. "items": {
  16126. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  16127. }
  16128. },
  16129. "accountname": {
  16130. "description": "用户名称",
  16131. "type": "string"
  16132. },
  16133. "clientroleid": {
  16134. "description": "角色id(usertype=2)",
  16135. "type": "integer"
  16136. },
  16137. "createtime": {
  16138. "description": "创建时间",
  16139. "type": "string"
  16140. },
  16141. "logincode": {
  16142. "description": "登录代码",
  16143. "type": "string"
  16144. },
  16145. "loginid": {
  16146. "description": "登录id(LOGINID)",
  16147. "type": "integer"
  16148. },
  16149. "loginname": {
  16150. "description": "登录名称(loginaccount表中的accountname字段)",
  16151. "type": "string"
  16152. },
  16153. "loginstatus": {
  16154. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  16155. "type": "integer"
  16156. },
  16157. "memberuserid": {
  16158. "description": "所属会员id",
  16159. "type": "integer"
  16160. },
  16161. "mobile": {
  16162. "description": "手机号",
  16163. "type": "string"
  16164. },
  16165. "modifytime": {
  16166. "description": "修改时间",
  16167. "type": "string"
  16168. },
  16169. "password": {
  16170. "description": "密码(不可解密)",
  16171. "type": "string"
  16172. },
  16173. "rolename": {
  16174. "description": "角色名称",
  16175. "type": "string"
  16176. },
  16177. "rolestatus": {
  16178. "description": "角色状态 1-启用 2-停用",
  16179. "type": "integer"
  16180. },
  16181. "roletype": {
  16182. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  16183. "type": "string"
  16184. },
  16185. "userid": {
  16186. "description": "用户id",
  16187. "type": "integer"
  16188. },
  16189. "usertype": {
  16190. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  16191. "type": "integer"
  16192. }
  16193. }
  16194. },
  16195. "models.ErmcpLoginUserEx": {
  16196. "type": "object",
  16197. "properties": {
  16198. "accountstatus": {
  16199. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  16200. "type": "integer"
  16201. },
  16202. "mobile": {
  16203. "description": "手机号",
  16204. "type": "string"
  16205. },
  16206. "querytype": {
  16207. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  16208. "type": "integer"
  16209. },
  16210. "roleid": {
  16211. "description": "角色id(交易账户-\u003e用户id)",
  16212. "type": "integer"
  16213. },
  16214. "rolename": {
  16215. "description": "角色名称(交易账户-\u003e用户名称)",
  16216. "type": "string"
  16217. },
  16218. "userlist": {
  16219. "description": "用户列表",
  16220. "type": "array",
  16221. "items": {
  16222. "$ref": "#/definitions/models.ErmcpLoginUser"
  16223. }
  16224. },
  16225. "usertype": {
  16226. "description": "用户类型 2-机构 7-企业成员(云平台)",
  16227. "type": "integer"
  16228. }
  16229. }
  16230. },
  16231. "models.ErmcpMiddleGoodsChangeLog": {
  16232. "type": "object",
  16233. "properties": {
  16234. "aftervalue": {
  16235. "description": "变更后",
  16236. "type": "number"
  16237. },
  16238. "applyid": {
  16239. "description": "操作人",
  16240. "type": "integer"
  16241. },
  16242. "applyname": {
  16243. "description": "操作人名称",
  16244. "type": "string"
  16245. },
  16246. "applysrc": {
  16247. "description": "操作来源 - 1:管理端 2:终端",
  16248. "type": "integer"
  16249. },
  16250. "beforevalue": {
  16251. "description": "变更前",
  16252. "type": "number"
  16253. },
  16254. "changelogtype": {
  16255. "description": "变更流水类型 - 1:套保比率变更",
  16256. "type": "integer"
  16257. },
  16258. "handlestatus": {
  16259. "description": "处理状态",
  16260. "type": "integer"
  16261. },
  16262. "logdatetime": {
  16263. "description": "流水日期",
  16264. "type": "string"
  16265. },
  16266. "logid": {
  16267. "description": "流水ID",
  16268. "type": "integer"
  16269. },
  16270. "logremark": {
  16271. "description": "流水备注",
  16272. "type": "string"
  16273. },
  16274. "middlegoodsid": {
  16275. "description": "套保品种ID",
  16276. "type": "integer"
  16277. },
  16278. "tradedate": {
  16279. "description": "交易日(yyyyMMdd)",
  16280. "type": "string"
  16281. },
  16282. "updatetime": {
  16283. "description": "更新时间",
  16284. "type": "string"
  16285. }
  16286. }
  16287. },
  16288. "models.ErmcpMiddleGoodsDetail": {
  16289. "type": "object",
  16290. "properties": {
  16291. "cvList": {
  16292. "description": "期货品种折算列表",
  16293. "type": "array",
  16294. "items": {
  16295. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  16296. }
  16297. },
  16298. "mg": {
  16299. "description": "套保品种基本信息",
  16300. "type": "object",
  16301. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  16302. },
  16303. "wrcList": {
  16304. "description": "现货品种列表(现货商品折算配置)",
  16305. "type": "array",
  16306. "items": {
  16307. "$ref": "#/definitions/models.WRSConverTDetail"
  16308. }
  16309. }
  16310. }
  16311. },
  16312. "models.ErmcpMiddleGoodsModel": {
  16313. "type": "object",
  16314. "properties": {
  16315. "areauserid": {
  16316. "description": "机构用户ID",
  16317. "type": "integer"
  16318. },
  16319. "createtime": {
  16320. "description": "修改时间",
  16321. "type": "string"
  16322. },
  16323. "enumdicname": {
  16324. "description": "单位名称",
  16325. "type": "string"
  16326. },
  16327. "evaluateratio": {
  16328. "description": "估价系数",
  16329. "type": "number"
  16330. },
  16331. "goodsgroupid": {
  16332. "description": "关联期货品种ID",
  16333. "type": "integer"
  16334. },
  16335. "goodsunitid": {
  16336. "description": "单位ID",
  16337. "type": "integer"
  16338. },
  16339. "isvalid": {
  16340. "description": "状态 0-无效(停用) 1-有效(正常)",
  16341. "type": "integer"
  16342. },
  16343. "middlegoodscode": {
  16344. "description": "套保品种代码",
  16345. "type": "string"
  16346. },
  16347. "middlegoodsid": {
  16348. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  16349. "type": "integer"
  16350. },
  16351. "middlegoodsname": {
  16352. "description": "套保品种名称",
  16353. "type": "string"
  16354. },
  16355. "modifytime": {
  16356. "description": "修改时间",
  16357. "type": "string"
  16358. },
  16359. "needarbitrageratio": {
  16360. "description": "套利比例",
  16361. "type": "number"
  16362. },
  16363. "needhedgeratio": {
  16364. "description": "套保比率",
  16365. "type": "number"
  16366. },
  16367. "qtydecimalplace": {
  16368. "description": "数量小数位",
  16369. "type": "integer"
  16370. },
  16371. "relatedgoodsid": {
  16372. "description": "关联交易商品ID",
  16373. "type": "integer"
  16374. },
  16375. "relatedgoodstype": {
  16376. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  16377. "type": "integer"
  16378. },
  16379. "remark": {
  16380. "description": "备注",
  16381. "type": "string"
  16382. }
  16383. }
  16384. },
  16385. "models.ErmcpOPLogModel": {
  16386. "type": "object",
  16387. "properties": {
  16388. "aftervalue": {
  16389. "description": "变更后",
  16390. "type": "number"
  16391. },
  16392. "applyid": {
  16393. "description": "操作人ID",
  16394. "type": "string"
  16395. },
  16396. "applyname": {
  16397. "description": "操作人名称",
  16398. "type": "string"
  16399. },
  16400. "beforevalue": {
  16401. "description": "变更前",
  16402. "type": "number"
  16403. },
  16404. "biztype": {
  16405. "description": "业务类型 - 1:套保计划 2:现货合同",
  16406. "type": "integer"
  16407. },
  16408. "contracttype": {
  16409. "description": "现货合同类型 - 1:采购 -1:销售",
  16410. "type": "integer"
  16411. },
  16412. "logvalue": {
  16413. "description": "数值",
  16414. "type": "number"
  16415. },
  16416. "operatelogtype": {
  16417. "description": "操作流水类型",
  16418. "type": "integer"
  16419. },
  16420. "operatelogtypedesc": {
  16421. "description": "操作流水类型名称",
  16422. "type": "string"
  16423. },
  16424. "relatedid": {
  16425. "description": "现货合同ID\\套保计划",
  16426. "type": "string"
  16427. },
  16428. "updatetime": {
  16429. "description": "更新时间",
  16430. "type": "string"
  16431. }
  16432. }
  16433. },
  16434. "models.ErmcpPendingAudit": {
  16435. "type": "object",
  16436. "properties": {
  16437. "areastockqty": {
  16438. "description": "待审核数量: 库存申请",
  16439. "type": "integer"
  16440. },
  16441. "businessdjqty": {
  16442. "description": "待审核数量: 点价",
  16443. "type": "integer"
  16444. },
  16445. "businessfpqty": {
  16446. "description": "待审核数量: 发票",
  16447. "type": "integer"
  16448. },
  16449. "businessjsqty": {
  16450. "description": "待审核数量: 结算",
  16451. "type": "integer"
  16452. },
  16453. "businesskxqty": {
  16454. "description": "待审核数量: 款项",
  16455. "type": "integer"
  16456. },
  16457. "hedgeplanqty": {
  16458. "description": "待审核数量: 套保计划",
  16459. "type": "integer"
  16460. },
  16461. "spotcontractqty": {
  16462. "description": "待审核数量: 现货合同",
  16463. "type": "integer"
  16464. },
  16465. "userqty": {
  16466. "description": "待审核数量: 用户",
  16467. "type": "integer"
  16468. }
  16469. }
  16470. },
  16471. "models.ErmcpRealExposureModel": {
  16472. "type": "object",
  16473. "properties": {
  16474. "AreaUserID": {
  16475. "description": "所属机构",
  16476. "type": "integer"
  16477. },
  16478. "BuyFutureQty": {
  16479. "description": "买入期货数量",
  16480. "type": "number"
  16481. },
  16482. "BuyPlanQty": {
  16483. "description": "采购计划数量",
  16484. "type": "number"
  16485. },
  16486. "BuyPricedQty": {
  16487. "description": "采购合同已定价数量",
  16488. "type": "number"
  16489. },
  16490. "MiddleGoodsCode": {
  16491. "description": "套保品种代码",
  16492. "type": "string"
  16493. },
  16494. "MiddleGoodsHedgeRatio": {
  16495. "description": "套保比例",
  16496. "type": "number"
  16497. },
  16498. "MiddleGoodsID": {
  16499. "description": "套保品种",
  16500. "type": "integer"
  16501. },
  16502. "MiddleGoodsName": {
  16503. "description": "套保品种名称",
  16504. "type": "string"
  16505. },
  16506. "NeedHedgeExposoure": {
  16507. "description": "应套保敞口(套保敞口)",
  16508. "type": "number"
  16509. },
  16510. "NeedHedgeRatio": {
  16511. "description": "应套保敞口比例",
  16512. "type": "number"
  16513. },
  16514. "OriBuyFutureQty": {
  16515. "description": "期初买入期货数量",
  16516. "type": "number"
  16517. },
  16518. "OriBuyPlanQty": {
  16519. "description": "期初采购计划数量",
  16520. "type": "number"
  16521. },
  16522. "OriBuyPricedQty": {
  16523. "description": "期初采购合同已定价数量",
  16524. "type": "number"
  16525. },
  16526. "OriSellFutureQty": {
  16527. "description": "期初卖出期货数量",
  16528. "type": "number"
  16529. },
  16530. "OriSellPlanQty": {
  16531. "description": "期初销售计划数量",
  16532. "type": "number"
  16533. },
  16534. "OriSellPricedQty": {
  16535. "description": "期初销售合同已定价数量",
  16536. "type": "number"
  16537. },
  16538. "SellFutureQty": {
  16539. "description": "卖出期货数量",
  16540. "type": "number"
  16541. },
  16542. "SellPlanQty": {
  16543. "description": "销售计划数量",
  16544. "type": "number"
  16545. },
  16546. "SellPricedQty": {
  16547. "description": "销售合同已定价数量",
  16548. "type": "number"
  16549. },
  16550. "TotalExposure": {
  16551. "description": "总敞口",
  16552. "type": "number"
  16553. },
  16554. "TotalFutureQty": {
  16555. "description": "期货总量",
  16556. "type": "number"
  16557. },
  16558. "TotalHedgeRatio": {
  16559. "description": "敞口比例",
  16560. "type": "number"
  16561. },
  16562. "TotalNeedHedgeQty": {
  16563. "description": "应套保总量(现货应套保总量)",
  16564. "type": "number"
  16565. },
  16566. "TotalSpotQty": {
  16567. "description": "现货总量",
  16568. "type": "number"
  16569. },
  16570. "arbitrageqty": {
  16571. "description": "套利量",
  16572. "type": "number"
  16573. },
  16574. "diffArbitrageQty": {
  16575. "description": "套利变动量",
  16576. "type": "number"
  16577. },
  16578. "diffExposoureQty": {
  16579. "description": "变动量(套保敞口)",
  16580. "type": "number"
  16581. },
  16582. "diffFutuQty": {
  16583. "description": "变动量(期货总量)",
  16584. "type": "number"
  16585. },
  16586. "diffHedgeQty": {
  16587. "description": "套保变动量",
  16588. "type": "number"
  16589. },
  16590. "diffQty": {
  16591. "description": "变动量(总敞口)",
  16592. "type": "number"
  16593. },
  16594. "diffSpotHedgeQty": {
  16595. "description": "变动量(现货应套保总量)",
  16596. "type": "number"
  16597. },
  16598. "diffSpotQty": {
  16599. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16600. "type": "number"
  16601. },
  16602. "enumdicname": {
  16603. "description": "单位名称",
  16604. "type": "string"
  16605. },
  16606. "hedgeqty": {
  16607. "description": "套保量",
  16608. "type": "number"
  16609. },
  16610. "needarbitrageqty": {
  16611. "description": "应套利量",
  16612. "type": "number"
  16613. },
  16614. "needarbitrageratio": {
  16615. "description": "套利比例",
  16616. "type": "number"
  16617. },
  16618. "needhedgeqty": {
  16619. "description": "应套保量",
  16620. "type": "number"
  16621. },
  16622. "oriTotalFutuQty": {
  16623. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16624. "type": "number"
  16625. },
  16626. "oriTotalSpotQty": {
  16627. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16628. "type": "number"
  16629. },
  16630. "oriarbitrageqty": {
  16631. "description": "期初套利量",
  16632. "type": "number"
  16633. },
  16634. "orihedgeqty": {
  16635. "description": "期初套保量",
  16636. "type": "number"
  16637. },
  16638. "orineedhedgeexposoure": {
  16639. "description": "期初套保敞口",
  16640. "type": "number"
  16641. },
  16642. "oritotalexposure": {
  16643. "description": "期初总敞口",
  16644. "type": "number"
  16645. },
  16646. "oritotalfutureqty": {
  16647. "description": "期初期货总量",
  16648. "type": "number"
  16649. },
  16650. "oritotalneedhedgeqty": {
  16651. "description": "期初现货应套保量",
  16652. "type": "number"
  16653. }
  16654. }
  16655. },
  16656. "models.ErmcpRole": {
  16657. "type": "object",
  16658. "properties": {
  16659. "areauserid": {
  16660. "description": "所属机构",
  16661. "type": "integer"
  16662. },
  16663. "autoid": {
  16664. "description": "角色ID(自增ID)",
  16665. "type": "integer"
  16666. },
  16667. "modifierid": {
  16668. "description": "修改人(创建人)",
  16669. "type": "integer"
  16670. },
  16671. "modifiername": {
  16672. "description": "修改人名称",
  16673. "type": "string"
  16674. },
  16675. "modifytime": {
  16676. "description": "修改时间(创建时间)",
  16677. "type": "string"
  16678. },
  16679. "rolename": {
  16680. "description": "角色名称",
  16681. "type": "string"
  16682. },
  16683. "rolestatus": {
  16684. "description": "角色状态 - 1:启用 2:停用",
  16685. "type": "integer"
  16686. },
  16687. "roletype": {
  16688. "description": "角色类型 - 1- 管理端 2- 交易端",
  16689. "type": "integer"
  16690. }
  16691. }
  16692. },
  16693. "models.ErmcpRoleMenu": {
  16694. "type": "object",
  16695. "properties": {
  16696. "iconame": {
  16697. "description": "菜单图标",
  16698. "type": "string"
  16699. },
  16700. "ishadrole": {
  16701. "description": "是否有权限",
  16702. "type": "boolean"
  16703. },
  16704. "menutype": {
  16705. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16706. "type": "integer"
  16707. },
  16708. "parentcode": {
  16709. "description": "上级资源代码",
  16710. "type": "string"
  16711. },
  16712. "remark": {
  16713. "description": "菜单备注",
  16714. "type": "string"
  16715. },
  16716. "resourcecode": {
  16717. "description": "菜单代码",
  16718. "type": "string"
  16719. },
  16720. "resourcelevel": {
  16721. "description": "级别",
  16722. "type": "integer"
  16723. },
  16724. "resourcename": {
  16725. "description": "菜单名称",
  16726. "type": "string"
  16727. },
  16728. "roleid": {
  16729. "description": "角色id",
  16730. "type": "integer"
  16731. },
  16732. "sort": {
  16733. "description": "排序",
  16734. "type": "integer"
  16735. },
  16736. "url": {
  16737. "description": "URL",
  16738. "type": "string"
  16739. },
  16740. "userid": {
  16741. "description": "用户id",
  16742. "type": "integer"
  16743. }
  16744. }
  16745. },
  16746. "models.ErmcpRoleMenuEx": {
  16747. "type": "object",
  16748. "properties": {
  16749. "menu": {
  16750. "description": "父级菜单",
  16751. "type": "object",
  16752. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16753. },
  16754. "subMenu": {
  16755. "description": "子级菜单",
  16756. "type": "array",
  16757. "items": {
  16758. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16759. }
  16760. }
  16761. }
  16762. },
  16763. "models.ErmcpTaAccount": {
  16764. "type": "object",
  16765. "properties": {
  16766. "accountid": {
  16767. "description": "账户id",
  16768. "type": "integer"
  16769. },
  16770. "accountname": {
  16771. "description": "账户名称",
  16772. "type": "string"
  16773. },
  16774. "currencyid": {
  16775. "description": "币种id",
  16776. "type": "integer"
  16777. },
  16778. "hedgeaccountcode": {
  16779. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16780. "type": "string"
  16781. },
  16782. "ismain": {
  16783. "description": "是否主账户 0-否 1-是",
  16784. "type": "integer"
  16785. },
  16786. "parentaccountid": {
  16787. "description": "父账户id",
  16788. "type": "integer"
  16789. },
  16790. "relateduserid": {
  16791. "description": "关联userid",
  16792. "type": "integer"
  16793. },
  16794. "tradestatus": {
  16795. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16796. "type": "integer"
  16797. },
  16798. "userid": {
  16799. "description": "用户id",
  16800. "type": "integer"
  16801. }
  16802. }
  16803. },
  16804. "models.ErmcpTaAccountEx": {
  16805. "type": "object",
  16806. "properties": {
  16807. "mainAcc": {
  16808. "description": "主账号",
  16809. "type": "object",
  16810. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16811. },
  16812. "subacclist": {
  16813. "description": "子账号列表",
  16814. "type": "array",
  16815. "items": {
  16816. "$ref": "#/definitions/models.ErmcpTaAccount"
  16817. }
  16818. }
  16819. }
  16820. },
  16821. "models.ErmcpTaAccountInfo": {
  16822. "type": "object",
  16823. "properties": {
  16824. "accountid": {
  16825. "description": "资金账户ID",
  16826. "type": "integer"
  16827. },
  16828. "accountname": {
  16829. "description": "账户名称",
  16830. "type": "string"
  16831. },
  16832. "balance": {
  16833. "description": "期初余额",
  16834. "type": "number"
  16835. },
  16836. "capitalbalance": {
  16837. "description": "本金余额[外部子账户实际出入金余额]",
  16838. "type": "number"
  16839. },
  16840. "closepl": {
  16841. "description": "今日平仓盈亏",
  16842. "type": "number"
  16843. },
  16844. "creditdecrease": {
  16845. "description": "今日授信减少",
  16846. "type": "number"
  16847. },
  16848. "creditincrease": {
  16849. "description": "今日授信增加",
  16850. "type": "number"
  16851. },
  16852. "curdebt": {
  16853. "description": "期末欠款",
  16854. "type": "number"
  16855. },
  16856. "currencyid": {
  16857. "description": "货币ID",
  16858. "type": "integer"
  16859. },
  16860. "currentbalance": {
  16861. "description": "期末余额",
  16862. "type": "number"
  16863. },
  16864. "freezecharge": {
  16865. "description": "手续费冻结",
  16866. "type": "number"
  16867. },
  16868. "freezemargin": {
  16869. "description": "冻结保证金",
  16870. "type": "number"
  16871. },
  16872. "fromaccountid": {
  16873. "description": "所属上级账户",
  16874. "type": "integer"
  16875. },
  16876. "inamount": {
  16877. "description": "今日入金金额(包括三方入金)",
  16878. "type": "number"
  16879. },
  16880. "ismain": {
  16881. "description": "是否母账号 0:不是母账户 1:是母账户",
  16882. "type": "integer"
  16883. },
  16884. "mortgagecredit": {
  16885. "description": "授信金额",
  16886. "type": "number"
  16887. },
  16888. "oridebt": {
  16889. "description": "期初欠款",
  16890. "type": "number"
  16891. },
  16892. "orifreezecharge": {
  16893. "description": "期初手续费冻结",
  16894. "type": "number"
  16895. },
  16896. "orifreezemargin": {
  16897. "description": "期初冻结保证金",
  16898. "type": "number"
  16899. },
  16900. "orimortgagecredit": {
  16901. "description": "期初授信金额",
  16902. "type": "number"
  16903. },
  16904. "oriothercredit": {
  16905. "description": "期初其它授信金额",
  16906. "type": "number"
  16907. },
  16908. "oriotherfreezemargin": {
  16909. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16910. "type": "number"
  16911. },
  16912. "orioutamountfreeze": {
  16913. "description": "期初出金冻结",
  16914. "type": "number"
  16915. },
  16916. "oriusedmargin": {
  16917. "description": "期初占用保证金",
  16918. "type": "number"
  16919. },
  16920. "othercredit": {
  16921. "description": "其它授信金额",
  16922. "type": "number"
  16923. },
  16924. "othercreditdecrease": {
  16925. "description": "今日其它授信减少",
  16926. "type": "number"
  16927. },
  16928. "othercreditincrease": {
  16929. "description": "今日其它授信增加",
  16930. "type": "number"
  16931. },
  16932. "otherfreezemargin": {
  16933. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16934. "type": "number"
  16935. },
  16936. "outamount": {
  16937. "description": "今日出金金额(包括三方出金)",
  16938. "type": "number"
  16939. },
  16940. "outamountfreeze": {
  16941. "description": "出金冻结",
  16942. "type": "number"
  16943. },
  16944. "outthreshold": {
  16945. "description": "出金阈值",
  16946. "type": "number"
  16947. },
  16948. "parentaccountid": {
  16949. "description": "所属根账号",
  16950. "type": "integer"
  16951. },
  16952. "paycharge": {
  16953. "description": "今日手续费支出",
  16954. "type": "number"
  16955. },
  16956. "relateduserid": {
  16957. "description": "关联用户",
  16958. "type": "integer"
  16959. },
  16960. "signstatus": {
  16961. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16962. "type": "integer"
  16963. },
  16964. "sublevelpath": {
  16965. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16966. "type": "string"
  16967. },
  16968. "taaccounttype": {
  16969. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16970. "type": "integer"
  16971. },
  16972. "thirdinamount": {
  16973. "description": "今日三方入金",
  16974. "type": "number"
  16975. },
  16976. "thirdoutamount": {
  16977. "description": "今日三方出金",
  16978. "type": "number"
  16979. },
  16980. "tradestatus": {
  16981. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16982. "type": "integer"
  16983. },
  16984. "transferamount": {
  16985. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16986. "type": "number"
  16987. },
  16988. "usedmargin": {
  16989. "description": "占用保证金",
  16990. "type": "number"
  16991. },
  16992. "userid": {
  16993. "description": "用户ID",
  16994. "type": "integer"
  16995. }
  16996. }
  16997. },
  16998. "models.ErmcpTaAccountM": {
  16999. "type": "object",
  17000. "properties": {
  17001. "accountid": {
  17002. "description": "账户id",
  17003. "type": "integer"
  17004. },
  17005. "accountname": {
  17006. "description": "账户名称",
  17007. "type": "string"
  17008. },
  17009. "currencyid": {
  17010. "description": "币种id",
  17011. "type": "integer"
  17012. },
  17013. "fcid": {
  17014. "description": "期货公司id",
  17015. "type": "integer"
  17016. },
  17017. "fcname": {
  17018. "description": "期货公司代码",
  17019. "type": "string"
  17020. },
  17021. "hedgeaccountcode": {
  17022. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17023. "type": "string"
  17024. },
  17025. "ismain": {
  17026. "description": "是否主账户 0-否 1-是",
  17027. "type": "integer"
  17028. },
  17029. "parentaccountid": {
  17030. "description": "父账户id",
  17031. "type": "integer"
  17032. },
  17033. "relateduserid": {
  17034. "description": "关联userid",
  17035. "type": "integer"
  17036. },
  17037. "tradestatus": {
  17038. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17039. "type": "integer"
  17040. },
  17041. "userid": {
  17042. "description": "用户id",
  17043. "type": "integer"
  17044. }
  17045. }
  17046. },
  17047. "models.ErmcpTradeConfigTMP": {
  17048. "type": "object",
  17049. "properties": {
  17050. "areauserid": {
  17051. "description": "所属机构",
  17052. "type": "integer"
  17053. },
  17054. "basiccurrencyid": {
  17055. "description": "基本币种ID[汇率] - 目标币种",
  17056. "type": "integer"
  17057. },
  17058. "mainaccountid": {
  17059. "description": "主账户ID",
  17060. "type": "integer"
  17061. },
  17062. "modifierid": {
  17063. "description": "修改人",
  17064. "type": "integer"
  17065. },
  17066. "remark": {
  17067. "description": "备注",
  17068. "type": "string"
  17069. },
  17070. "tradeconfigtmpid": {
  17071. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17072. "type": "integer"
  17073. },
  17074. "tradeconfigtmpname": {
  17075. "description": "交易配置模板名称",
  17076. "type": "string"
  17077. },
  17078. "tradeconfigtmptype": {
  17079. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17080. "type": "integer"
  17081. },
  17082. "updatetime": {
  17083. "description": "更新时间",
  17084. "type": "string"
  17085. }
  17086. }
  17087. },
  17088. "models.ErmcpUserModel": {
  17089. "type": "object",
  17090. "properties": {
  17091. "address": {
  17092. "description": "通讯地址",
  17093. "type": "string"
  17094. },
  17095. "attachment1": {
  17096. "description": "附件1",
  17097. "type": "string"
  17098. },
  17099. "audittime": {
  17100. "description": "审核时间",
  17101. "type": "string"
  17102. },
  17103. "cardbackphotourl": {
  17104. "description": "证件反面图片地址",
  17105. "type": "string"
  17106. },
  17107. "cardfrontphotourl": {
  17108. "description": "证件正面图片地址",
  17109. "type": "string"
  17110. },
  17111. "cardnum": {
  17112. "description": "证件号码",
  17113. "type": "string"
  17114. },
  17115. "cardtype": {
  17116. "description": "证件类型",
  17117. "type": "integer"
  17118. },
  17119. "cardtypename": {
  17120. "description": "证件类型名称",
  17121. "type": "string"
  17122. },
  17123. "cityid": {
  17124. "description": "市",
  17125. "type": "integer"
  17126. },
  17127. "contactname": {
  17128. "description": "联系人",
  17129. "type": "string"
  17130. },
  17131. "countryid": {
  17132. "description": "国家",
  17133. "type": "integer"
  17134. },
  17135. "createtime": {
  17136. "description": "创建时间",
  17137. "type": "string"
  17138. },
  17139. "customername": {
  17140. "description": "企业名称",
  17141. "type": "string"
  17142. },
  17143. "districtid": {
  17144. "description": "区域",
  17145. "type": "integer"
  17146. },
  17147. "email": {
  17148. "description": "邮件",
  17149. "type": "string"
  17150. },
  17151. "legalpersonname": {
  17152. "description": "法人姓名(企业)",
  17153. "type": "string"
  17154. },
  17155. "memberuserid": {
  17156. "description": "所属机构ID",
  17157. "type": "integer"
  17158. },
  17159. "mobile": {
  17160. "description": "手机号码",
  17161. "type": "string"
  17162. },
  17163. "modifytime": {
  17164. "description": "修改时间",
  17165. "type": "string"
  17166. },
  17167. "nickname": {
  17168. "description": "昵称",
  17169. "type": "string"
  17170. },
  17171. "provinceid": {
  17172. "description": "省",
  17173. "type": "integer"
  17174. },
  17175. "remark": {
  17176. "description": "备注",
  17177. "type": "string"
  17178. },
  17179. "status": {
  17180. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  17181. "type": "integer"
  17182. },
  17183. "statusdesc": {
  17184. "description": "账户状态中文描述",
  17185. "type": "string"
  17186. },
  17187. "taxpayernum": {
  17188. "description": "纳税人识别号",
  17189. "type": "string"
  17190. },
  17191. "telphone": {
  17192. "description": "联系电话",
  17193. "type": "string"
  17194. },
  17195. "userid": {
  17196. "description": "用户ID",
  17197. "type": "integer"
  17198. },
  17199. "userinfotype": {
  17200. "description": "客户类型",
  17201. "type": "string"
  17202. }
  17203. }
  17204. },
  17205. "models.ErmcpWareHouseInfo": {
  17206. "type": "object",
  17207. "properties": {
  17208. "address": {
  17209. "description": "详细地址",
  17210. "type": "string"
  17211. },
  17212. "areauserid": {
  17213. "description": "所属机构",
  17214. "type": "integer"
  17215. },
  17216. "autoid": {
  17217. "description": "自增ID(仓库ID)",
  17218. "type": "integer"
  17219. },
  17220. "cityid": {
  17221. "description": "市",
  17222. "type": "integer"
  17223. },
  17224. "contactname": {
  17225. "description": "联系人",
  17226. "type": "string"
  17227. },
  17228. "contactnum": {
  17229. "description": "联系电话",
  17230. "type": "string"
  17231. },
  17232. "countryid": {
  17233. "description": "国家",
  17234. "type": "integer"
  17235. },
  17236. "createtime": {
  17237. "description": "创建时间",
  17238. "type": "string"
  17239. },
  17240. "districtid": {
  17241. "description": "区",
  17242. "type": "integer"
  17243. },
  17244. "hasvideo": {
  17245. "description": "是否有视频 - 0:无 1:有",
  17246. "type": "integer"
  17247. },
  17248. "provinceid": {
  17249. "description": "省",
  17250. "type": "integer"
  17251. },
  17252. "remark": {
  17253. "description": "审核备注",
  17254. "type": "string"
  17255. },
  17256. "videourl": {
  17257. "description": "视频地址",
  17258. "type": "string"
  17259. },
  17260. "warehousecode": {
  17261. "description": "仓库代码",
  17262. "type": "string"
  17263. },
  17264. "warehousename": {
  17265. "description": "仓库名称",
  17266. "type": "string"
  17267. },
  17268. "warehousestatus": {
  17269. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  17270. "type": "integer"
  17271. },
  17272. "warehousetype": {
  17273. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  17274. "type": "integer"
  17275. }
  17276. }
  17277. },
  17278. "models.Externalexchange": {
  17279. "type": "object",
  17280. "required": [
  17281. "autoid"
  17282. ],
  17283. "properties": {
  17284. "autoid": {
  17285. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17286. "type": "integer"
  17287. },
  17288. "exchangefullname": {
  17289. "description": "外部交易所全称",
  17290. "type": "string"
  17291. },
  17292. "exexchangecode": {
  17293. "description": "外部交易所代码",
  17294. "type": "string"
  17295. },
  17296. "exexchangename": {
  17297. "description": "外部交易所名称(简称)",
  17298. "type": "string"
  17299. },
  17300. "ismarketprice": {
  17301. "description": "是否支持市价 - 0:不支持 1:支持",
  17302. "type": "integer"
  17303. },
  17304. "quotegear": {
  17305. "description": "行情档位(1-10)",
  17306. "type": "integer"
  17307. },
  17308. "showbrokerflag": {
  17309. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17310. "type": "integer"
  17311. },
  17312. "updatetime": {
  17313. "description": "更新时间",
  17314. "type": "string"
  17315. }
  17316. }
  17317. },
  17318. "models.Funcmenulist": {
  17319. "type": "object",
  17320. "required": [
  17321. "resourcecode"
  17322. ],
  17323. "properties": {
  17324. "iconame": {
  17325. "description": "菜单图标",
  17326. "type": "string"
  17327. },
  17328. "menutype": {
  17329. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17330. "type": "integer"
  17331. },
  17332. "parentcode": {
  17333. "description": "上级资源代码",
  17334. "type": "string"
  17335. },
  17336. "remark": {
  17337. "description": "备注",
  17338. "type": "string"
  17339. },
  17340. "resourcecode": {
  17341. "description": "资源代码",
  17342. "type": "string"
  17343. },
  17344. "resourcelevel": {
  17345. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17346. "type": "integer"
  17347. },
  17348. "resourcename": {
  17349. "description": "资源名",
  17350. "type": "string"
  17351. },
  17352. "sort": {
  17353. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17354. "type": "integer"
  17355. },
  17356. "url": {
  17357. "description": "URL",
  17358. "type": "string"
  17359. }
  17360. }
  17361. },
  17362. "models.Goods": {
  17363. "type": "object",
  17364. "required": [
  17365. "goodscode",
  17366. "goodsid",
  17367. "goodsname",
  17368. "marketid"
  17369. ],
  17370. "properties": {
  17371. "agreeunit": {
  17372. "description": "合约单位",
  17373. "type": "number"
  17374. },
  17375. "auditaccountid": {
  17376. "description": "审核操作员账号",
  17377. "type": "integer"
  17378. },
  17379. "audittime": {
  17380. "description": "审核时间",
  17381. "type": "string"
  17382. },
  17383. "cancelaccountid": {
  17384. "description": "注销操作员账号",
  17385. "type": "integer"
  17386. },
  17387. "canceltime": {
  17388. "description": "注销时间",
  17389. "type": "string"
  17390. },
  17391. "closepricemode": {
  17392. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17393. "type": "integer"
  17394. },
  17395. "closepriceparam": {
  17396. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17397. "type": "number"
  17398. },
  17399. "createtime": {
  17400. "description": "创建时间",
  17401. "type": "string"
  17402. },
  17403. "creatorid": {
  17404. "description": "创建人",
  17405. "type": "integer"
  17406. },
  17407. "currencyid": {
  17408. "description": "报价货币ID",
  17409. "type": "integer"
  17410. },
  17411. "cutmode": {
  17412. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17413. "type": "integer"
  17414. },
  17415. "decimalplace": {
  17416. "description": "报价小数位",
  17417. "type": "integer"
  17418. },
  17419. "delistingdate": {
  17420. "description": "商品退市时间(状态:退市) -- 已作废",
  17421. "type": "string"
  17422. },
  17423. "delistingmode": {
  17424. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17425. "type": "integer"
  17426. },
  17427. "deliveryflag": {
  17428. "description": "交割标志 - 0:不可交割 1:可交割",
  17429. "type": "integer"
  17430. },
  17431. "forceclosemode": {
  17432. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17433. "type": "integer"
  17434. },
  17435. "forceclosevalue": {
  17436. "description": "定期强平参数 [收益权]",
  17437. "type": "integer"
  17438. },
  17439. "goodscode": {
  17440. "description": "商品代码(内部)",
  17441. "type": "string"
  17442. },
  17443. "goodscurrencyid": {
  17444. "description": "合约货币ID",
  17445. "type": "integer"
  17446. },
  17447. "goodsgroupid": {
  17448. "description": "所属商品组ID",
  17449. "type": "integer"
  17450. },
  17451. "goodsid": {
  17452. "description": "商品ID(自增ID SEQ_GOODS)",
  17453. "type": "integer"
  17454. },
  17455. "goodsname": {
  17456. "description": "商品名称",
  17457. "type": "string"
  17458. },
  17459. "goodsquotetype": {
  17460. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17461. "type": "integer"
  17462. },
  17463. "goodsstatus": {
  17464. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17465. "type": "integer"
  17466. },
  17467. "goodstradetype": {
  17468. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17469. "type": "integer"
  17470. },
  17471. "goodunitid": {
  17472. "description": "报价单位ID",
  17473. "type": "integer"
  17474. },
  17475. "hasquoter": {
  17476. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17477. "type": "integer"
  17478. },
  17479. "hqprotecttime": {
  17480. "description": "行情保护时间(秒)",
  17481. "type": "integer"
  17482. },
  17483. "innerdealmode": {
  17484. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17485. "type": "integer"
  17486. },
  17487. "isbuylimited": {
  17488. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17489. "type": "integer"
  17490. },
  17491. "lasttradedate": {
  17492. "description": "最后交易日期(状态:待退市)",
  17493. "type": "string"
  17494. },
  17495. "listingdate": {
  17496. "description": "交易开始日期",
  17497. "type": "string"
  17498. },
  17499. "marketid": {
  17500. "description": "所属市场ID",
  17501. "type": "integer"
  17502. },
  17503. "modifierid": {
  17504. "description": "修改人",
  17505. "type": "integer"
  17506. },
  17507. "modifystatus": {
  17508. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17509. "type": "integer"
  17510. },
  17511. "modifytime": {
  17512. "description": "修改时间",
  17513. "type": "string"
  17514. },
  17515. "outerdealmode": {
  17516. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17517. "type": "integer"
  17518. },
  17519. "outgoodscode": {
  17520. "description": "商品代码(外部)",
  17521. "type": "string"
  17522. },
  17523. "qtydecimalplace": {
  17524. "description": "成交量小数位",
  17525. "type": "integer"
  17526. },
  17527. "quotegear": {
  17528. "description": "行情档位(1-10)",
  17529. "type": "integer"
  17530. },
  17531. "quoteminunit": {
  17532. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17533. "type": "integer"
  17534. },
  17535. "quoteshowtype": {
  17536. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17537. "type": "integer"
  17538. },
  17539. "quoteshowtypeinterval": {
  17540. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17541. "type": "integer"
  17542. },
  17543. "remark": {
  17544. "description": "备注",
  17545. "type": "string"
  17546. }
  17547. }
  17548. },
  17549. "models.GoodsIDAndName": {
  17550. "type": "object",
  17551. "required": [
  17552. "goodscode",
  17553. "goodsid",
  17554. "goodsname",
  17555. "marketid"
  17556. ],
  17557. "properties": {
  17558. "goodscode": {
  17559. "description": "商品代码(内部)",
  17560. "type": "string"
  17561. },
  17562. "goodsid": {
  17563. "description": "商品ID(自增ID SEQ_GOODS)",
  17564. "type": "integer"
  17565. },
  17566. "goodsname": {
  17567. "description": "商品名称",
  17568. "type": "string"
  17569. },
  17570. "marketid": {
  17571. "description": "所属市场ID",
  17572. "type": "integer"
  17573. }
  17574. }
  17575. },
  17576. "models.Goodsgroup": {
  17577. "type": "object",
  17578. "required": [
  17579. "goodsgroupid",
  17580. "goodsgroupname",
  17581. "goodsgroupstatus",
  17582. "marketid"
  17583. ],
  17584. "properties": {
  17585. "agreeunit": {
  17586. "description": "合约单位",
  17587. "type": "number"
  17588. },
  17589. "canshort": {
  17590. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17591. "type": "integer"
  17592. },
  17593. "closepricemode": {
  17594. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17595. "type": "integer"
  17596. },
  17597. "closepriceparam": {
  17598. "description": "强平最新价浮动比例 - 方式为2时使用",
  17599. "type": "number"
  17600. },
  17601. "createtime": {
  17602. "description": "创建时间",
  17603. "type": "string"
  17604. },
  17605. "creatorid": {
  17606. "description": "创建人",
  17607. "type": "integer"
  17608. },
  17609. "currencyid": {
  17610. "description": "报价货币ID",
  17611. "type": "integer"
  17612. },
  17613. "decimalplace": {
  17614. "description": "报价小数位",
  17615. "type": "integer"
  17616. },
  17617. "exercisetype": {
  17618. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17619. "type": "integer"
  17620. },
  17621. "exexchangeid": {
  17622. "description": "外部交易所ID[通道交易]",
  17623. "type": "integer"
  17624. },
  17625. "goodsgroupid": {
  17626. "description": "商品组ID(自增ID)",
  17627. "type": "integer"
  17628. },
  17629. "goodsgroupname": {
  17630. "description": "商品组名称",
  17631. "type": "string"
  17632. },
  17633. "goodsgroupstatus": {
  17634. "description": "商品组状态 - 1:正常 2:注销",
  17635. "type": "integer"
  17636. },
  17637. "goodunitid": {
  17638. "description": "报价单位ID",
  17639. "type": "integer"
  17640. },
  17641. "innerdealmode": {
  17642. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17643. "type": "integer"
  17644. },
  17645. "isbuylimited": {
  17646. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17647. "type": "integer"
  17648. },
  17649. "marketid": {
  17650. "description": "所属市场ID",
  17651. "type": "integer"
  17652. },
  17653. "modifierid": {
  17654. "description": "修改人",
  17655. "type": "integer"
  17656. },
  17657. "modifytime": {
  17658. "description": "修改时间",
  17659. "type": "string"
  17660. },
  17661. "outerdealmode": {
  17662. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17663. "type": "integer"
  17664. },
  17665. "outergroupcode": {
  17666. "description": "外部商品组代码[通道交易]",
  17667. "type": "string"
  17668. },
  17669. "premiumdecimalplace": {
  17670. "description": "权利金小数位[场外期权]",
  17671. "type": "integer"
  17672. },
  17673. "premiumspreadalgorithm": {
  17674. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17675. "type": "integer"
  17676. },
  17677. "premiumspreadvalue": {
  17678. "description": "权利金点差值[场外期权]",
  17679. "type": "number"
  17680. },
  17681. "qtydecimalplace": {
  17682. "description": "成交量小数位",
  17683. "type": "integer"
  17684. },
  17685. "quotegear": {
  17686. "description": "行情档位(1-10)",
  17687. "type": "integer"
  17688. },
  17689. "quoteminunit": {
  17690. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17691. "type": "integer"
  17692. },
  17693. "quoterid": {
  17694. "description": "报价商ID[场外期权]",
  17695. "type": "integer"
  17696. },
  17697. "quotesourcegroupid": {
  17698. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17699. "type": "integer"
  17700. },
  17701. "syncgoodsqty": {
  17702. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17703. "type": "integer"
  17704. }
  17705. }
  17706. },
  17707. "models.Goodssortbypreposition": {
  17708. "type": "object",
  17709. "required": [
  17710. "goodscode",
  17711. "tradedate"
  17712. ],
  17713. "properties": {
  17714. "goodscode": {
  17715. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17716. "type": "string"
  17717. },
  17718. "goodsgroupcode": {
  17719. "description": "品种代码",
  17720. "type": "string"
  17721. },
  17722. "prepositionqty": {
  17723. "description": "昨持仓量",
  17724. "type": "integer"
  17725. },
  17726. "sortindex": {
  17727. "description": "排序",
  17728. "type": "integer"
  17729. },
  17730. "tradedate": {
  17731. "description": "交易日",
  17732. "type": "string"
  17733. },
  17734. "updatetime": {
  17735. "description": "更新时间",
  17736. "type": "string"
  17737. }
  17738. }
  17739. },
  17740. "models.Hedgeinnerholderdetail": {
  17741. "type": "object",
  17742. "required": [
  17743. "buyorsell",
  17744. "tradeid"
  17745. ],
  17746. "properties": {
  17747. "accountid": {
  17748. "description": "账号ID",
  17749. "type": "integer"
  17750. },
  17751. "buyorsell": {
  17752. "description": "方向 - 0:买 1:卖",
  17753. "type": "integer"
  17754. },
  17755. "freezeqty": {
  17756. "description": "冻结数量 - 按单平使用",
  17757. "type": "integer"
  17758. },
  17759. "goodsid": {
  17760. "description": "商品ID",
  17761. "type": "integer"
  17762. },
  17763. "holderamount": {
  17764. "description": "持仓金额 [商品币种]",
  17765. "type": "number"
  17766. },
  17767. "holderdays": {
  17768. "description": "剩余冻结天数",
  17769. "type": "integer"
  17770. },
  17771. "holderprice": {
  17772. "description": "持仓价格",
  17773. "type": "number"
  17774. },
  17775. "holderqty": {
  17776. "description": "持仓数量",
  17777. "type": "integer"
  17778. },
  17779. "marketid": {
  17780. "description": "市场ID",
  17781. "type": "integer"
  17782. },
  17783. "openprice": {
  17784. "description": "建仓价格",
  17785. "type": "number"
  17786. },
  17787. "openqty": {
  17788. "description": "建仓数量",
  17789. "type": "integer"
  17790. },
  17791. "parentaccountid": {
  17792. "description": "所属母账户",
  17793. "type": "integer"
  17794. },
  17795. "releaseamount": {
  17796. "description": "释放持仓金额[商品币种]",
  17797. "type": "number"
  17798. },
  17799. "tradeamount": {
  17800. "description": "成交金额[账户]",
  17801. "type": "number"
  17802. },
  17803. "tradedate": {
  17804. "description": "交易日(yyyyMMdd)",
  17805. "type": "string"
  17806. },
  17807. "tradeid": {
  17808. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17809. "type": "string"
  17810. },
  17811. "tradetime": {
  17812. "description": "交易时间",
  17813. "type": "string"
  17814. }
  17815. }
  17816. },
  17817. "models.Hedgemarketopenlog": {
  17818. "type": "object",
  17819. "required": [
  17820. "accountid"
  17821. ],
  17822. "properties": {
  17823. "accountid": {
  17824. "description": "资金账号[外部母账户]",
  17825. "type": "integer"
  17826. },
  17827. "fcname": {
  17828. "description": "期货公司名称",
  17829. "type": "string"
  17830. },
  17831. "handlestatus": {
  17832. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17833. "type": "integer"
  17834. },
  17835. "marketid": {
  17836. "description": "市场ID",
  17837. "type": "integer"
  17838. },
  17839. "status": {
  17840. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17841. "type": "integer"
  17842. },
  17843. "tradedate": {
  17844. "description": "交易日(yyyyMMdd)",
  17845. "type": "string"
  17846. },
  17847. "updatetime": {
  17848. "description": "更新时间",
  17849. "type": "string"
  17850. }
  17851. }
  17852. },
  17853. "models.HsbyBuyMyPayOrder": {
  17854. "type": "object",
  17855. "required": [
  17856. "goodscode",
  17857. "goodsname",
  17858. "tradeid",
  17859. "trademode"
  17860. ],
  17861. "properties": {
  17862. "agreeunit": {
  17863. "description": "合约单位",
  17864. "type": "number"
  17865. },
  17866. "buyaccountid": {
  17867. "description": "买方账号ID[报价币种]",
  17868. "type": "integer"
  17869. },
  17870. "buyorderid": {
  17871. "description": "买方委托单号",
  17872. "type": "string"
  17873. },
  17874. "createtime": {
  17875. "description": "创建时间",
  17876. "type": "string"
  17877. },
  17878. "currencysign": {
  17879. "description": "货币符号",
  17880. "type": "string"
  17881. },
  17882. "decimalplace": {
  17883. "description": "报价小数位",
  17884. "type": "integer"
  17885. },
  17886. "goodscode": {
  17887. "description": "商品代码(内部)",
  17888. "type": "string"
  17889. },
  17890. "goodsid": {
  17891. "description": "商品ID",
  17892. "type": "integer"
  17893. },
  17894. "goodsname": {
  17895. "description": "商品名称",
  17896. "type": "string"
  17897. },
  17898. "marketid": {
  17899. "description": "市场ID",
  17900. "type": "integer"
  17901. },
  17902. "offamount": {
  17903. "description": "优惠金额",
  17904. "type": "number"
  17905. },
  17906. "originalamount": {
  17907. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17908. "type": "number"
  17909. },
  17910. "payamount": {
  17911. "description": "支付金额 = TradeAmount + TradeCharge",
  17912. "type": "number"
  17913. },
  17914. "payflag": {
  17915. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17916. "type": "integer"
  17917. },
  17918. "paylimitedtime": {
  17919. "description": "支付期限",
  17920. "type": "string"
  17921. },
  17922. "paytime": {
  17923. "description": "付款时间",
  17924. "type": "string"
  17925. },
  17926. "picurls1": {
  17927. "description": "预售商品介绍图片[多张用逗号分隔]",
  17928. "type": "string"
  17929. },
  17930. "picurls2": {
  17931. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17932. "type": "string"
  17933. },
  17934. "sellaccountid": {
  17935. "description": "卖方账号ID[报价币种]",
  17936. "type": "integer"
  17937. },
  17938. "sellorderid": {
  17939. "description": "卖方委托单号",
  17940. "type": "string"
  17941. },
  17942. "tradeamount": {
  17943. "description": "成交金额",
  17944. "type": "number"
  17945. },
  17946. "tradecharge": {
  17947. "description": "成交手续费(买方)",
  17948. "type": "number"
  17949. },
  17950. "tradedate": {
  17951. "description": "交易日(yyyyMMdd)",
  17952. "type": "string"
  17953. },
  17954. "tradeid": {
  17955. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17956. "type": "string"
  17957. },
  17958. "trademode": {
  17959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17960. "type": "integer"
  17961. },
  17962. "tradeprice": {
  17963. "description": "成交价格",
  17964. "type": "number"
  17965. },
  17966. "tradeqty": {
  17967. "description": "成交数量",
  17968. "type": "integer"
  17969. },
  17970. "vendorname1": {
  17971. "description": "预售商品供应商名称",
  17972. "type": "string"
  17973. },
  17974. "vendorname2": {
  17975. "description": "挂牌商品供应商名称",
  17976. "type": "string"
  17977. }
  17978. }
  17979. },
  17980. "models.HsbyBuyMyTradeDetail": {
  17981. "type": "object",
  17982. "required": [
  17983. "accountid",
  17984. "buyorsell",
  17985. "goodscode",
  17986. "goodsid",
  17987. "goodsname",
  17988. "marketid",
  17989. "orderid",
  17990. "qty",
  17991. "time",
  17992. "trademode"
  17993. ],
  17994. "properties": {
  17995. "accountid": {
  17996. "description": "账户ID[报价币种]",
  17997. "type": "integer"
  17998. },
  17999. "agreeunit": {
  18000. "description": "合约单位",
  18001. "type": "number"
  18002. },
  18003. "amount": {
  18004. "description": "金额 = 价格 * 数量 * 合约单位",
  18005. "type": "number"
  18006. },
  18007. "buyorsell": {
  18008. "description": "买卖 - 0:买 1:卖",
  18009. "type": "integer"
  18010. },
  18011. "currencysign": {
  18012. "description": "货币符号",
  18013. "type": "string"
  18014. },
  18015. "decimalplace": {
  18016. "description": "报价小数位",
  18017. "type": "integer"
  18018. },
  18019. "goodscode": {
  18020. "description": "商品代码(内部)",
  18021. "type": "string"
  18022. },
  18023. "goodsid": {
  18024. "description": "商品ID",
  18025. "type": "integer"
  18026. },
  18027. "goodsname": {
  18028. "description": "商品名称",
  18029. "type": "string"
  18030. },
  18031. "marketid": {
  18032. "description": "市场ID",
  18033. "type": "integer"
  18034. },
  18035. "orderamount": {
  18036. "description": "委托金额",
  18037. "type": "number"
  18038. },
  18039. "orderid": {
  18040. "description": "单号(成交单号)",
  18041. "type": "string"
  18042. },
  18043. "picurls1": {
  18044. "description": "预售商品介绍图片[多张用逗号分隔]",
  18045. "type": "string"
  18046. },
  18047. "picurls2": {
  18048. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18049. "type": "string"
  18050. },
  18051. "price": {
  18052. "description": "价格",
  18053. "type": "number"
  18054. },
  18055. "qty": {
  18056. "description": "数量",
  18057. "type": "integer"
  18058. },
  18059. "time": {
  18060. "description": "时间",
  18061. "type": "string"
  18062. },
  18063. "trademode": {
  18064. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18065. "type": "integer"
  18066. },
  18067. "vendorname1": {
  18068. "description": "预售商品供应商名称",
  18069. "type": "string"
  18070. },
  18071. "vendorname2": {
  18072. "description": "挂牌商品供应商名称",
  18073. "type": "string"
  18074. }
  18075. }
  18076. },
  18077. "models.HsbyGoodsOrderDetail": {
  18078. "type": "object",
  18079. "required": [
  18080. "buyorsell",
  18081. "orderid",
  18082. "ordertime"
  18083. ],
  18084. "properties": {
  18085. "buyorsell": {
  18086. "description": "买卖 - 0:买 1:卖",
  18087. "type": "integer"
  18088. },
  18089. "currencysign": {
  18090. "description": "货币符号",
  18091. "type": "string"
  18092. },
  18093. "customername": {
  18094. "description": "客户名称(企业名称),已脱敏",
  18095. "type": "string"
  18096. },
  18097. "enableqty": {
  18098. "description": "可用数量",
  18099. "type": "integer"
  18100. },
  18101. "goodunit": {
  18102. "description": "报价单位",
  18103. "type": "string"
  18104. },
  18105. "orderid": {
  18106. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18107. "type": "string"
  18108. },
  18109. "orderprice": {
  18110. "description": "委托价格",
  18111. "type": "number"
  18112. },
  18113. "ordertime": {
  18114. "description": "委托时间",
  18115. "type": "string"
  18116. }
  18117. }
  18118. },
  18119. "models.HsbyListingGoodsDetail": {
  18120. "type": "object",
  18121. "required": [
  18122. "goodscode",
  18123. "goodsid",
  18124. "goodsname",
  18125. "marketid",
  18126. "trademode"
  18127. ],
  18128. "properties": {
  18129. "agreeunit": {
  18130. "description": "合约单位",
  18131. "type": "number"
  18132. },
  18133. "buymaxqty": {
  18134. "description": "购买上限 [71] - 0为不限",
  18135. "type": "integer"
  18136. },
  18137. "currency": {
  18138. "description": "货币",
  18139. "type": "string"
  18140. },
  18141. "currencysign": {
  18142. "description": "货币符号",
  18143. "type": "string"
  18144. },
  18145. "decimalplace": {
  18146. "description": "报价小数位",
  18147. "type": "integer"
  18148. },
  18149. "desccityid": {
  18150. "description": "目的地(市)ID",
  18151. "type": "integer"
  18152. },
  18153. "descprovinceid": {
  18154. "description": "目的地(省)ID",
  18155. "type": "integer"
  18156. },
  18157. "goodscode": {
  18158. "description": "商品代码(内部)",
  18159. "type": "string"
  18160. },
  18161. "goodsdesc": {
  18162. "description": "商品详情",
  18163. "type": "string"
  18164. },
  18165. "goodsid": {
  18166. "description": "商品ID(自增ID SEQ_GOODS)",
  18167. "type": "integer"
  18168. },
  18169. "goodsname": {
  18170. "description": "商品名称",
  18171. "type": "string"
  18172. },
  18173. "goodsprice": {
  18174. "description": "商品价格",
  18175. "type": "number"
  18176. },
  18177. "hotindex": {
  18178. "description": "景点热度",
  18179. "type": "integer"
  18180. },
  18181. "last": {
  18182. "description": "现价",
  18183. "type": "number"
  18184. },
  18185. "limitdown": {
  18186. "description": "跌停价",
  18187. "type": "number"
  18188. },
  18189. "limitup": {
  18190. "description": "涨停价",
  18191. "type": "number"
  18192. },
  18193. "lotsize": {
  18194. "description": "手数最小变动单位",
  18195. "type": "integer"
  18196. },
  18197. "marketid": {
  18198. "description": "所属市场ID",
  18199. "type": "integer"
  18200. },
  18201. "picurls": {
  18202. "description": "介绍图片[多张用逗号分隔]",
  18203. "type": "string"
  18204. },
  18205. "quoteminunit": {
  18206. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18207. "type": "integer"
  18208. },
  18209. "stepvalue": {
  18210. "description": "价格最小变动单位",
  18211. "type": "number"
  18212. },
  18213. "trademode": {
  18214. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18215. "type": "integer"
  18216. },
  18217. "vendorattr": {
  18218. "description": "供应商附件(多张,逗号分隔)",
  18219. "type": "string"
  18220. },
  18221. "vendorname": {
  18222. "description": "供应商名称",
  18223. "type": "string"
  18224. },
  18225. "vendorphone": {
  18226. "description": "供应商客服电话",
  18227. "type": "string"
  18228. },
  18229. "videourls": {
  18230. "description": "介绍视频[多张用逗号分隔]",
  18231. "type": "string"
  18232. }
  18233. }
  18234. },
  18235. "models.HsbyMarketGoods": {
  18236. "type": "object",
  18237. "required": [
  18238. "accountid",
  18239. "buyorsell",
  18240. "goodscode",
  18241. "goodsid",
  18242. "goodsname",
  18243. "marketid",
  18244. "orderid",
  18245. "trademode"
  18246. ],
  18247. "properties": {
  18248. "accountid": {
  18249. "description": "账户ID[报价币种]",
  18250. "type": "integer"
  18251. },
  18252. "agreeunit": {
  18253. "description": "合约单位",
  18254. "type": "number"
  18255. },
  18256. "buyorsell": {
  18257. "description": "买卖 - 0:买 1:卖",
  18258. "type": "integer"
  18259. },
  18260. "categoryid": {
  18261. "description": "类别ID(WRCATEGORY)",
  18262. "type": "integer"
  18263. },
  18264. "currency": {
  18265. "description": "货币",
  18266. "type": "string"
  18267. },
  18268. "currencysign": {
  18269. "description": "货币符号",
  18270. "type": "string"
  18271. },
  18272. "customername": {
  18273. "description": "卖家名称",
  18274. "type": "string"
  18275. },
  18276. "decimalplace": {
  18277. "description": "报价小数位",
  18278. "type": "integer"
  18279. },
  18280. "goodscode": {
  18281. "description": "商品代码(内部)",
  18282. "type": "string"
  18283. },
  18284. "goodsid": {
  18285. "description": "商品ID",
  18286. "type": "integer"
  18287. },
  18288. "goodsname": {
  18289. "description": "商品名称",
  18290. "type": "string"
  18291. },
  18292. "goodsprice": {
  18293. "description": "商品价格",
  18294. "type": "number"
  18295. },
  18296. "hascoupon": {
  18297. "description": "是否可用优惠卷",
  18298. "type": "boolean"
  18299. },
  18300. "hotindex": {
  18301. "description": "景点热度",
  18302. "type": "integer"
  18303. },
  18304. "marketid": {
  18305. "description": "市场ID",
  18306. "type": "integer"
  18307. },
  18308. "orderid": {
  18309. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18310. "type": "string"
  18311. },
  18312. "orderprice": {
  18313. "description": "委托价格",
  18314. "type": "number"
  18315. },
  18316. "orderstatus": {
  18317. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18318. "type": "integer"
  18319. },
  18320. "picurls": {
  18321. "description": "介绍图片[多张用逗号分隔]",
  18322. "type": "string"
  18323. },
  18324. "quoteminunit": {
  18325. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18326. "type": "integer"
  18327. },
  18328. "sellUserID": {
  18329. "description": "卖方UserID",
  18330. "type": "integer"
  18331. },
  18332. "trademode": {
  18333. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18334. "type": "integer"
  18335. },
  18336. "videourls": {
  18337. "description": "介绍视频[多张用逗号分隔]",
  18338. "type": "string"
  18339. }
  18340. }
  18341. },
  18342. "models.HsbyMarketGoodsDetail": {
  18343. "type": "object",
  18344. "required": [
  18345. "accountid",
  18346. "buyorsell",
  18347. "goodscode",
  18348. "goodsid",
  18349. "goodsname",
  18350. "marketid",
  18351. "orderid",
  18352. "orderqty",
  18353. "trademode"
  18354. ],
  18355. "properties": {
  18356. "accountid": {
  18357. "description": "账户ID[报价币种]",
  18358. "type": "integer"
  18359. },
  18360. "agreeunit": {
  18361. "description": "合约单位",
  18362. "type": "number"
  18363. },
  18364. "buymaxqty": {
  18365. "description": "购买上限 [71] - 0为不限",
  18366. "type": "integer"
  18367. },
  18368. "buyorsell": {
  18369. "description": "买卖 - 0:买 1:卖",
  18370. "type": "integer"
  18371. },
  18372. "cancelqty": {
  18373. "description": "撤单数量",
  18374. "type": "integer"
  18375. },
  18376. "categoryid": {
  18377. "description": "类别ID(WRCATEGORY)",
  18378. "type": "integer"
  18379. },
  18380. "currency": {
  18381. "description": "货币",
  18382. "type": "string"
  18383. },
  18384. "currencysign": {
  18385. "description": "货币符号",
  18386. "type": "string"
  18387. },
  18388. "customername": {
  18389. "description": "卖家名称",
  18390. "type": "string"
  18391. },
  18392. "decimalplace": {
  18393. "description": "报价小数位",
  18394. "type": "integer"
  18395. },
  18396. "goodscode": {
  18397. "description": "商品代码(内部)",
  18398. "type": "string"
  18399. },
  18400. "goodsdesc": {
  18401. "description": "商品详情",
  18402. "type": "string"
  18403. },
  18404. "goodsid": {
  18405. "description": "商品ID",
  18406. "type": "integer"
  18407. },
  18408. "goodsname": {
  18409. "description": "商品名称",
  18410. "type": "string"
  18411. },
  18412. "goodsprice": {
  18413. "description": "商品价格",
  18414. "type": "number"
  18415. },
  18416. "hotindex": {
  18417. "description": "景点热度",
  18418. "type": "integer"
  18419. },
  18420. "lotsize": {
  18421. "description": "手数最小变动单位",
  18422. "type": "integer"
  18423. },
  18424. "marketid": {
  18425. "description": "市场ID",
  18426. "type": "integer"
  18427. },
  18428. "orderid": {
  18429. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18430. "type": "string"
  18431. },
  18432. "orderprice": {
  18433. "description": "委托价格",
  18434. "type": "number"
  18435. },
  18436. "orderqty": {
  18437. "description": "委托数量",
  18438. "type": "integer"
  18439. },
  18440. "orderstatus": {
  18441. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18442. "type": "integer"
  18443. },
  18444. "picurls": {
  18445. "description": "介绍图片[多张用逗号分隔]",
  18446. "type": "string"
  18447. },
  18448. "quoteminunit": {
  18449. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18450. "type": "integer"
  18451. },
  18452. "sellUserID": {
  18453. "description": "卖方UserID",
  18454. "type": "integer"
  18455. },
  18456. "trademode": {
  18457. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18458. "type": "integer"
  18459. },
  18460. "tradeqty": {
  18461. "description": "成交数量",
  18462. "type": "integer"
  18463. },
  18464. "vendorattr": {
  18465. "description": "供应商附件(多张,逗号分隔)",
  18466. "type": "string"
  18467. },
  18468. "vendorname": {
  18469. "description": "供应商名称",
  18470. "type": "string"
  18471. },
  18472. "vendorphone": {
  18473. "description": "供应商客服电话",
  18474. "type": "string"
  18475. },
  18476. "videourls": {
  18477. "description": "介绍视频[多张用逗号分隔]",
  18478. "type": "string"
  18479. }
  18480. }
  18481. },
  18482. "models.HsbyMarketInfo": {
  18483. "type": "object",
  18484. "required": [
  18485. "marketid",
  18486. "marketstatus",
  18487. "trademode"
  18488. ],
  18489. "properties": {
  18490. "marketid": {
  18491. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18492. "type": "integer"
  18493. },
  18494. "marketname": {
  18495. "description": "市场名称",
  18496. "type": "string"
  18497. },
  18498. "marketstatus": {
  18499. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18500. "type": "integer"
  18501. },
  18502. "trademode": {
  18503. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18504. "type": "integer"
  18505. }
  18506. }
  18507. },
  18508. "models.HsbyMyGoods": {
  18509. "type": "object",
  18510. "required": [
  18511. "accountid",
  18512. "goodscode",
  18513. "goodsid",
  18514. "goodsname",
  18515. "marketid",
  18516. "trademode"
  18517. ],
  18518. "properties": {
  18519. "accountid": {
  18520. "description": "账号Id",
  18521. "type": "integer"
  18522. },
  18523. "agreeunit": {
  18524. "description": "合约单位",
  18525. "type": "number"
  18526. },
  18527. "buyaverageprice": {
  18528. "description": "持仓均价",
  18529. "type": "number"
  18530. },
  18531. "buycurholderamount": {
  18532. "description": "买当前持仓总金额[商品币种]",
  18533. "type": "number"
  18534. },
  18535. "buycurpositionqty": {
  18536. "description": "买当前持仓总数量",
  18537. "type": "integer"
  18538. },
  18539. "buymaxqty": {
  18540. "description": "购买上限 [71] - 0为不限",
  18541. "type": "integer"
  18542. },
  18543. "currencysign": {
  18544. "description": "货币符号",
  18545. "type": "string"
  18546. },
  18547. "decimalplace": {
  18548. "description": "报价小数位",
  18549. "type": "integer"
  18550. },
  18551. "enableqty": {
  18552. "description": "可用数量",
  18553. "type": "integer"
  18554. },
  18555. "goodscode": {
  18556. "description": "商品代码(内部)",
  18557. "type": "string"
  18558. },
  18559. "goodsid": {
  18560. "description": "商品Id",
  18561. "type": "integer"
  18562. },
  18563. "goodsname": {
  18564. "description": "商品名称",
  18565. "type": "string"
  18566. },
  18567. "goodsprice": {
  18568. "description": "商品价格",
  18569. "type": "number"
  18570. },
  18571. "goodsstatus": {
  18572. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18573. "type": "integer"
  18574. },
  18575. "last": {
  18576. "description": "现价(仅使用于挂牌点选)",
  18577. "type": "number"
  18578. },
  18579. "limitdown": {
  18580. "description": "跌停价(仅使用于挂牌点选)",
  18581. "type": "number"
  18582. },
  18583. "limitup": {
  18584. "description": "涨停价(仅使用于挂牌点选)",
  18585. "type": "number"
  18586. },
  18587. "lotsize": {
  18588. "description": "手数最小变动单位",
  18589. "type": "integer"
  18590. },
  18591. "marketid": {
  18592. "description": "所属市场ID",
  18593. "type": "integer"
  18594. },
  18595. "picurls": {
  18596. "description": "介绍图片[多张用逗号分隔]",
  18597. "type": "string"
  18598. },
  18599. "quoteminunit": {
  18600. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18601. "type": "integer"
  18602. },
  18603. "stepvalue": {
  18604. "description": "价格最小变动单位",
  18605. "type": "number"
  18606. },
  18607. "trademode": {
  18608. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18609. "type": "integer"
  18610. }
  18611. }
  18612. },
  18613. "models.HsbyMyPackage": {
  18614. "type": "object",
  18615. "required": [
  18616. "goodscode",
  18617. "goodsname",
  18618. "takeorderid",
  18619. "trademode"
  18620. ],
  18621. "properties": {
  18622. "accountid": {
  18623. "description": "账户ID",
  18624. "type": "integer"
  18625. },
  18626. "address": {
  18627. "description": "提货人详细地址",
  18628. "type": "string"
  18629. },
  18630. "agreeunit": {
  18631. "description": "合约单位",
  18632. "type": "number"
  18633. },
  18634. "amount": {
  18635. "description": "提货金额",
  18636. "type": "number"
  18637. },
  18638. "auditer": {
  18639. "description": "审核人",
  18640. "type": "integer"
  18641. },
  18642. "audittime": {
  18643. "description": "审核时间",
  18644. "type": "string"
  18645. },
  18646. "averageprice": {
  18647. "description": "均价",
  18648. "type": "number"
  18649. },
  18650. "cardnum": {
  18651. "description": "提货人证件号码",
  18652. "type": "string"
  18653. },
  18654. "cardtypeid": {
  18655. "description": "提货人证件类型",
  18656. "type": "integer"
  18657. },
  18658. "checkremark": {
  18659. "description": "审核备注",
  18660. "type": "string"
  18661. },
  18662. "currencysign": {
  18663. "description": "货币符号",
  18664. "type": "string"
  18665. },
  18666. "decimalplace": {
  18667. "description": "报价小数位",
  18668. "type": "integer"
  18669. },
  18670. "goodscode": {
  18671. "description": "商品代码(内部)",
  18672. "type": "string"
  18673. },
  18674. "goodsid": {
  18675. "description": "商品ID",
  18676. "type": "integer"
  18677. },
  18678. "goodsname": {
  18679. "description": "商品名称",
  18680. "type": "string"
  18681. },
  18682. "handlestatus": {
  18683. "description": "处理状态",
  18684. "type": "integer"
  18685. },
  18686. "marketid": {
  18687. "description": "市场ID",
  18688. "type": "integer"
  18689. },
  18690. "phonenum": {
  18691. "description": "提货人联系方式",
  18692. "type": "string"
  18693. },
  18694. "picurls": {
  18695. "description": "介绍图片[多张用逗号分隔]",
  18696. "type": "string"
  18697. },
  18698. "qty": {
  18699. "description": "提货数量",
  18700. "type": "number"
  18701. },
  18702. "recivername": {
  18703. "description": "提货人姓名",
  18704. "type": "string"
  18705. },
  18706. "reqtime": {
  18707. "description": "更新时间",
  18708. "type": "string"
  18709. },
  18710. "takemode": {
  18711. "description": "提货方式 - 2:自提 3:配送",
  18712. "type": "integer"
  18713. },
  18714. "takeorderid": {
  18715. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18716. "type": "string"
  18717. },
  18718. "takeorderstatus": {
  18719. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18720. "type": "integer"
  18721. },
  18722. "takeremark": {
  18723. "description": "提货备注",
  18724. "type": "string"
  18725. },
  18726. "tradedate": {
  18727. "description": "交易日(yyyyMMdd)",
  18728. "type": "string"
  18729. },
  18730. "trademode": {
  18731. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18732. "type": "integer"
  18733. },
  18734. "userid": {
  18735. "description": "用户ID",
  18736. "type": "integer"
  18737. },
  18738. "vendorname": {
  18739. "description": "供应商名称",
  18740. "type": "string"
  18741. }
  18742. }
  18743. },
  18744. "models.HsbyPreGoods": {
  18745. "type": "object",
  18746. "required": [
  18747. "goodscode",
  18748. "goodsid",
  18749. "goodsname",
  18750. "marketid",
  18751. "trademode"
  18752. ],
  18753. "properties": {
  18754. "agreeunit": {
  18755. "description": "合约单位",
  18756. "type": "number"
  18757. },
  18758. "currency": {
  18759. "description": "货币",
  18760. "type": "string"
  18761. },
  18762. "currencysign": {
  18763. "description": "货币符号",
  18764. "type": "string"
  18765. },
  18766. "decimalplace": {
  18767. "description": "报价小数位",
  18768. "type": "integer"
  18769. },
  18770. "desccityid": {
  18771. "description": "目的地(市)",
  18772. "type": "integer"
  18773. },
  18774. "descprovinceid": {
  18775. "description": "目的地(省)",
  18776. "type": "integer"
  18777. },
  18778. "enableqty": {
  18779. "description": "剩余数量",
  18780. "type": "integer"
  18781. },
  18782. "goodscode": {
  18783. "description": "商品代码(内部)",
  18784. "type": "string"
  18785. },
  18786. "goodsid": {
  18787. "description": "商品ID(自增ID SEQ_GOODS)",
  18788. "type": "integer"
  18789. },
  18790. "goodsname": {
  18791. "description": "商品名称",
  18792. "type": "string"
  18793. },
  18794. "goodsstatus": {
  18795. "description": "商品状态- 2:未上市 3:上市",
  18796. "type": "integer"
  18797. },
  18798. "lasttradedate": {
  18799. "description": "最后交易日期(状态:待退市)",
  18800. "type": "string"
  18801. },
  18802. "listingdate": {
  18803. "description": "交易开始日期",
  18804. "type": "string"
  18805. },
  18806. "marketid": {
  18807. "description": "所属市场ID",
  18808. "type": "integer"
  18809. },
  18810. "picurls": {
  18811. "description": "介绍图片[多张用逗号分隔]",
  18812. "type": "string"
  18813. },
  18814. "presaledqty": {
  18815. "description": "已预售量(预售结束时更新)",
  18816. "type": "integer"
  18817. },
  18818. "presaleqty": {
  18819. "description": "预售数量",
  18820. "type": "integer"
  18821. },
  18822. "quoteminunit": {
  18823. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18824. "type": "integer"
  18825. },
  18826. "refprice": {
  18827. "description": "参考价格[一口价]",
  18828. "type": "number"
  18829. },
  18830. "relatedgoodsid": {
  18831. "description": "关联交易合约ID",
  18832. "type": "integer"
  18833. },
  18834. "trademode": {
  18835. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18836. "type": "integer"
  18837. },
  18838. "videourls": {
  18839. "description": "介绍视频[多张用逗号分隔]",
  18840. "type": "string"
  18841. }
  18842. }
  18843. },
  18844. "models.HsbyPreGoodsDetail": {
  18845. "type": "object",
  18846. "required": [
  18847. "goodscode",
  18848. "goodsid",
  18849. "goodsname",
  18850. "marketid",
  18851. "trademode"
  18852. ],
  18853. "properties": {
  18854. "agreeunit": {
  18855. "description": "合约单位",
  18856. "type": "number"
  18857. },
  18858. "buymaxqty": {
  18859. "description": "购买上限 [71] - 0为不限",
  18860. "type": "integer"
  18861. },
  18862. "currency": {
  18863. "description": "货币",
  18864. "type": "string"
  18865. },
  18866. "currencysign": {
  18867. "description": "货币符号",
  18868. "type": "string"
  18869. },
  18870. "customername": {
  18871. "description": "发行单位",
  18872. "type": "string"
  18873. },
  18874. "decimalplace": {
  18875. "description": "报价小数位",
  18876. "type": "integer"
  18877. },
  18878. "desccityid": {
  18879. "description": "目的地(市)ID",
  18880. "type": "integer"
  18881. },
  18882. "descprovinceid": {
  18883. "description": "目的地(省)ID",
  18884. "type": "integer"
  18885. },
  18886. "enableqty": {
  18887. "description": "剩余数量",
  18888. "type": "integer"
  18889. },
  18890. "goodscode": {
  18891. "description": "商品代码(内部)",
  18892. "type": "string"
  18893. },
  18894. "goodsdesc": {
  18895. "description": "商品详情",
  18896. "type": "string"
  18897. },
  18898. "goodsid": {
  18899. "description": "商品ID(自增ID SEQ_GOODS)",
  18900. "type": "integer"
  18901. },
  18902. "goodsname": {
  18903. "description": "商品名称",
  18904. "type": "string"
  18905. },
  18906. "goodsstatus": {
  18907. "description": "商品状态- 2:未上市 3:上市",
  18908. "type": "integer"
  18909. },
  18910. "goodunit": {
  18911. "description": "报价单位",
  18912. "type": "string"
  18913. },
  18914. "lasttradedate": {
  18915. "description": "最后交易日期(状态:待退市)",
  18916. "type": "string"
  18917. },
  18918. "listingdate": {
  18919. "description": "交易开始日期",
  18920. "type": "string"
  18921. },
  18922. "lotsize": {
  18923. "description": "手数最小变动单位",
  18924. "type": "integer"
  18925. },
  18926. "marketid": {
  18927. "description": "所属市场ID",
  18928. "type": "integer"
  18929. },
  18930. "picurls": {
  18931. "description": "介绍图片[多张用逗号分隔]",
  18932. "type": "string"
  18933. },
  18934. "presaledqty": {
  18935. "description": "已预售量(预售结束时更新)",
  18936. "type": "integer"
  18937. },
  18938. "presaleqty": {
  18939. "description": "预售数量",
  18940. "type": "integer"
  18941. },
  18942. "quoteminunit": {
  18943. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18944. "type": "integer"
  18945. },
  18946. "refprice": {
  18947. "description": "参考价格[一口价]",
  18948. "type": "number"
  18949. },
  18950. "relatedgoodsid": {
  18951. "description": "关联交易合约ID",
  18952. "type": "integer"
  18953. },
  18954. "stepvalue": {
  18955. "description": "价格最小变动单位",
  18956. "type": "number"
  18957. },
  18958. "trademode": {
  18959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18960. "type": "integer"
  18961. },
  18962. "vendorattr": {
  18963. "description": "供应商附件(多张,逗号分隔)",
  18964. "type": "string"
  18965. },
  18966. "vendorname": {
  18967. "description": "供应商名称",
  18968. "type": "string"
  18969. },
  18970. "vendorphone": {
  18971. "description": "供应商客服电话",
  18972. "type": "string"
  18973. },
  18974. "videourls": {
  18975. "description": "介绍视频[多张用逗号分隔]",
  18976. "type": "string"
  18977. }
  18978. }
  18979. },
  18980. "models.HsbySellCollectionOrder": {
  18981. "type": "object",
  18982. "required": [
  18983. "goodscode",
  18984. "goodsname",
  18985. "tradeid",
  18986. "trademode"
  18987. ],
  18988. "properties": {
  18989. "agreeunit": {
  18990. "description": "合约单位",
  18991. "type": "number"
  18992. },
  18993. "buyaccountid": {
  18994. "description": "买方账号ID[报价币种]",
  18995. "type": "integer"
  18996. },
  18997. "buyorderid": {
  18998. "description": "买方委托单号",
  18999. "type": "string"
  19000. },
  19001. "createtime": {
  19002. "description": "创建时间",
  19003. "type": "string"
  19004. },
  19005. "currencysign": {
  19006. "description": "货币符号",
  19007. "type": "string"
  19008. },
  19009. "decimalplace": {
  19010. "description": "报价小数位",
  19011. "type": "integer"
  19012. },
  19013. "goodscode": {
  19014. "description": "商品代码(内部)",
  19015. "type": "string"
  19016. },
  19017. "goodsid": {
  19018. "description": "商品ID",
  19019. "type": "integer"
  19020. },
  19021. "goodsname": {
  19022. "description": "商品名称",
  19023. "type": "string"
  19024. },
  19025. "marketid": {
  19026. "description": "市场ID",
  19027. "type": "integer"
  19028. },
  19029. "offamount": {
  19030. "description": "优惠金额",
  19031. "type": "number"
  19032. },
  19033. "payamount": {
  19034. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19035. "type": "number"
  19036. },
  19037. "payflag": {
  19038. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19039. "type": "integer"
  19040. },
  19041. "paylimitedtime": {
  19042. "description": "支付期限",
  19043. "type": "string"
  19044. },
  19045. "paytime": {
  19046. "description": "付款时间",
  19047. "type": "string"
  19048. },
  19049. "picurls": {
  19050. "description": "商品介绍图片[多张用逗号分隔]",
  19051. "type": "string"
  19052. },
  19053. "sellaccountid": {
  19054. "description": "卖方账号ID[报价币种]",
  19055. "type": "integer"
  19056. },
  19057. "sellorderid": {
  19058. "description": "卖方委托单号",
  19059. "type": "string"
  19060. },
  19061. "tradeamount": {
  19062. "description": "成交金额",
  19063. "type": "number"
  19064. },
  19065. "tradecharge": {
  19066. "description": "成交手续费(买方)",
  19067. "type": "number"
  19068. },
  19069. "tradedate": {
  19070. "description": "交易日(yyyyMMdd)",
  19071. "type": "string"
  19072. },
  19073. "tradeid": {
  19074. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19075. "type": "string"
  19076. },
  19077. "trademode": {
  19078. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19079. "type": "integer"
  19080. },
  19081. "tradeprice": {
  19082. "description": "成交价格",
  19083. "type": "number"
  19084. },
  19085. "tradeqty": {
  19086. "description": "成交数量",
  19087. "type": "integer"
  19088. }
  19089. }
  19090. },
  19091. "models.HsbySellMyDetail": {
  19092. "type": "object",
  19093. "required": [
  19094. "accountid",
  19095. "buyorsell",
  19096. "goodscode",
  19097. "goodsid",
  19098. "goodsname",
  19099. "marketid",
  19100. "orderid",
  19101. "time",
  19102. "trademode"
  19103. ],
  19104. "properties": {
  19105. "accountid": {
  19106. "description": "账户ID[报价币种]",
  19107. "type": "integer"
  19108. },
  19109. "agreeunit": {
  19110. "description": "合约单位",
  19111. "type": "number"
  19112. },
  19113. "buyorsell": {
  19114. "description": "买卖 - 0:买 1:卖",
  19115. "type": "integer"
  19116. },
  19117. "currencysign": {
  19118. "description": "货币符号",
  19119. "type": "string"
  19120. },
  19121. "decimalplace": {
  19122. "description": "报价小数位",
  19123. "type": "integer"
  19124. },
  19125. "goodscode": {
  19126. "description": "商品代码(内部)",
  19127. "type": "string"
  19128. },
  19129. "goodsid": {
  19130. "description": "商品ID",
  19131. "type": "integer"
  19132. },
  19133. "goodsname": {
  19134. "description": "商品名称",
  19135. "type": "string"
  19136. },
  19137. "marketid": {
  19138. "description": "市场ID",
  19139. "type": "integer"
  19140. },
  19141. "orderid": {
  19142. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19143. "type": "string"
  19144. },
  19145. "ordertype": {
  19146. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19147. "type": "integer"
  19148. },
  19149. "picurls": {
  19150. "description": "介绍图片[多张用逗号分隔]",
  19151. "type": "string"
  19152. },
  19153. "price": {
  19154. "description": "价格",
  19155. "type": "number"
  19156. },
  19157. "qty": {
  19158. "description": "数量",
  19159. "type": "integer"
  19160. },
  19161. "time": {
  19162. "description": "时间",
  19163. "type": "string"
  19164. },
  19165. "trademode": {
  19166. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19167. "type": "integer"
  19168. },
  19169. "vendorname": {
  19170. "description": "供应商名称",
  19171. "type": "string"
  19172. }
  19173. }
  19174. },
  19175. "models.HsbyTopGoods": {
  19176. "type": "object",
  19177. "required": [
  19178. "goodscode",
  19179. "goodsid",
  19180. "goodsname",
  19181. "marketid",
  19182. "trademode"
  19183. ],
  19184. "properties": {
  19185. "agreeunit": {
  19186. "description": "合约单位",
  19187. "type": "number"
  19188. },
  19189. "currency": {
  19190. "description": "货币",
  19191. "type": "string"
  19192. },
  19193. "currencysign": {
  19194. "description": "货币符号",
  19195. "type": "string"
  19196. },
  19197. "decimalplace": {
  19198. "description": "报价小数位",
  19199. "type": "integer"
  19200. },
  19201. "desccityid": {
  19202. "description": "目的地(市)",
  19203. "type": "integer"
  19204. },
  19205. "descprovinceid": {
  19206. "description": "目的地(省)",
  19207. "type": "integer"
  19208. },
  19209. "goodscode": {
  19210. "description": "商品代码(内部)",
  19211. "type": "string"
  19212. },
  19213. "goodsid": {
  19214. "description": "商品ID(自增ID SEQ_GOODS)",
  19215. "type": "integer"
  19216. },
  19217. "goodsname": {
  19218. "description": "商品名称",
  19219. "type": "string"
  19220. },
  19221. "hotindex": {
  19222. "description": "景点热度",
  19223. "type": "integer"
  19224. },
  19225. "last": {
  19226. "description": "现价",
  19227. "type": "number"
  19228. },
  19229. "marketid": {
  19230. "description": "所属市场ID",
  19231. "type": "integer"
  19232. },
  19233. "picurls": {
  19234. "description": "介绍图片[多张用逗号分隔]",
  19235. "type": "string"
  19236. },
  19237. "quoteminunit": {
  19238. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19239. "type": "integer"
  19240. },
  19241. "trademode": {
  19242. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19243. "type": "integer"
  19244. },
  19245. "videourls": {
  19246. "description": "介绍视频[多张用逗号分隔]",
  19247. "type": "string"
  19248. }
  19249. }
  19250. },
  19251. "models.HybsMyBuyOrderDetail": {
  19252. "type": "object",
  19253. "required": [
  19254. "accountid",
  19255. "buyorsell",
  19256. "goodscode",
  19257. "goodsid",
  19258. "goodsname",
  19259. "marketid",
  19260. "orderid",
  19261. "orderqty",
  19262. "ordertime",
  19263. "trademode"
  19264. ],
  19265. "properties": {
  19266. "accountid": {
  19267. "description": "账户ID[报价币种]",
  19268. "type": "integer"
  19269. },
  19270. "agreeunit": {
  19271. "description": "合约单位",
  19272. "type": "number"
  19273. },
  19274. "buyorsell": {
  19275. "description": "买卖 - 0:买 1:卖",
  19276. "type": "integer"
  19277. },
  19278. "cancelqty": {
  19279. "description": "撤单数量",
  19280. "type": "integer"
  19281. },
  19282. "currencysign": {
  19283. "description": "货币符号",
  19284. "type": "string"
  19285. },
  19286. "decimalplace": {
  19287. "description": "报价小数位",
  19288. "type": "integer"
  19289. },
  19290. "goodscode": {
  19291. "description": "商品代码(内部)",
  19292. "type": "string"
  19293. },
  19294. "goodsid": {
  19295. "description": "商品ID",
  19296. "type": "integer"
  19297. },
  19298. "goodsname": {
  19299. "description": "商品名称",
  19300. "type": "string"
  19301. },
  19302. "listingselecttype": {
  19303. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19304. "type": "integer"
  19305. },
  19306. "marketid": {
  19307. "description": "市场ID",
  19308. "type": "integer"
  19309. },
  19310. "mybuystatus": {
  19311. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19312. "type": "integer"
  19313. },
  19314. "orderamount": {
  19315. "description": "委托金额",
  19316. "type": "number"
  19317. },
  19318. "orderid": {
  19319. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19320. "type": "string"
  19321. },
  19322. "orderprice": {
  19323. "description": "委托价格",
  19324. "type": "number"
  19325. },
  19326. "orderqty": {
  19327. "description": "委托数量",
  19328. "type": "integer"
  19329. },
  19330. "orderstatus": {
  19331. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19332. "type": "integer"
  19333. },
  19334. "ordertime": {
  19335. "description": "委托时间",
  19336. "type": "string"
  19337. },
  19338. "picurls1": {
  19339. "description": "预售商品介绍图片[多张用逗号分隔]",
  19340. "type": "string"
  19341. },
  19342. "picurls2": {
  19343. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19344. "type": "string"
  19345. },
  19346. "trademode": {
  19347. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19348. "type": "integer"
  19349. },
  19350. "tradeqty": {
  19351. "description": "成交数量",
  19352. "type": "integer"
  19353. },
  19354. "vendorname1": {
  19355. "description": "预售商品供应商名称",
  19356. "type": "string"
  19357. },
  19358. "vendorname2": {
  19359. "description": "挂牌商品供应商名称",
  19360. "type": "string"
  19361. }
  19362. }
  19363. },
  19364. "models.Loginaccount": {
  19365. "type": "object",
  19366. "required": [
  19367. "loginid"
  19368. ],
  19369. "properties": {
  19370. "canoutin": {
  19371. "description": "是否可出入金 - 0:不可 1:可",
  19372. "type": "integer"
  19373. },
  19374. "clientroleid": {
  19375. "description": "终端角色ID",
  19376. "type": "integer"
  19377. },
  19378. "haslogined": {
  19379. "description": "是否已登录 - 0:未登录 1:已登录",
  19380. "type": "integer"
  19381. },
  19382. "hasupdatedpwd": {
  19383. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19384. "type": "integer"
  19385. },
  19386. "lastloginip": {
  19387. "description": "最新登录地址",
  19388. "type": "string"
  19389. },
  19390. "lastloginmode": {
  19391. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19392. "type": "integer"
  19393. },
  19394. "lastloginremark": {
  19395. "description": "最新登录描述",
  19396. "type": "string"
  19397. },
  19398. "lastlogintime": {
  19399. "description": "最新登录时间",
  19400. "type": "string"
  19401. },
  19402. "logincode": {
  19403. "description": "登录代码",
  19404. "type": "string"
  19405. },
  19406. "loginfailnum": {
  19407. "description": "连续登录失败次数(登录成功时清零)",
  19408. "type": "integer"
  19409. },
  19410. "loginid": {
  19411. "description": "登陆账号",
  19412. "type": "integer"
  19413. },
  19414. "loginport": {
  19415. "description": "最新登录端口",
  19416. "type": "integer"
  19417. },
  19418. "loginstatus": {
  19419. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19420. "type": "integer"
  19421. },
  19422. "loginusertype": {
  19423. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19424. "type": "integer"
  19425. },
  19426. "modifierid": {
  19427. "description": "修改人",
  19428. "type": "integer"
  19429. },
  19430. "modifytime": {
  19431. "description": "修改时间",
  19432. "type": "string"
  19433. },
  19434. "pwdwrongcount": {
  19435. "description": "密码错误次数",
  19436. "type": "integer"
  19437. },
  19438. "taaccountrighttype": {
  19439. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19440. "type": "integer"
  19441. },
  19442. "unfreezetime": {
  19443. "description": "账户解冻时间",
  19444. "type": "string"
  19445. },
  19446. "userid": {
  19447. "description": "用户ID",
  19448. "type": "integer"
  19449. }
  19450. }
  19451. },
  19452. "models.MainAccountInfo": {
  19453. "type": "object",
  19454. "properties": {
  19455. "accountid": {
  19456. "description": "账号id",
  19457. "type": "integer"
  19458. },
  19459. "accountname": {
  19460. "description": "账号名称(taaccount表中的名称)",
  19461. "type": "string"
  19462. },
  19463. "appid": {
  19464. "description": "AppID",
  19465. "type": "string"
  19466. },
  19467. "authcode": {
  19468. "description": "授权码",
  19469. "type": "string"
  19470. },
  19471. "brokerid": {
  19472. "description": "经纪商id",
  19473. "type": "string"
  19474. },
  19475. "fcid": {
  19476. "description": "期货公司id",
  19477. "type": "integer"
  19478. },
  19479. "fcname": {
  19480. "description": "期货公司代码",
  19481. "type": "string"
  19482. },
  19483. "hedgeaccountcode": {
  19484. "description": "外部账号代码(主账号登录代码)",
  19485. "type": "string"
  19486. },
  19487. "hedgeaccountpwd": {
  19488. "description": "密码",
  19489. "type": "string"
  19490. },
  19491. "ismain": {
  19492. "description": "是否主账号",
  19493. "type": "integer"
  19494. },
  19495. "relateduserid": {
  19496. "description": "关联用户id",
  19497. "type": "integer"
  19498. },
  19499. "userid": {
  19500. "description": "关联用户id",
  19501. "type": "integer"
  19502. }
  19503. }
  19504. },
  19505. "models.Market": {
  19506. "type": "object",
  19507. "required": [
  19508. "marketid",
  19509. "marketstatus",
  19510. "openmethod",
  19511. "reckonpricealgorithm",
  19512. "trademode",
  19513. "tradeproperty"
  19514. ],
  19515. "properties": {
  19516. "auctionwrtype": {
  19517. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19518. "type": "integer"
  19519. },
  19520. "canacceptquote": {
  19521. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19522. "type": "integer"
  19523. },
  19524. "cangoodsexercise": {
  19525. "description": "[期权]是否可现货行权- 0:否 1:是",
  19526. "type": "integer"
  19527. },
  19528. "cangoodsexercisetype": {
  19529. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19530. "type": "integer"
  19531. },
  19532. "canmanualquotestrike": {
  19533. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19534. "type": "integer"
  19535. },
  19536. "canmutistage": {
  19537. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19538. "type": "integer"
  19539. },
  19540. "canpreexercise": {
  19541. "description": "[期权]是否可预申报- 0:否 1:是",
  19542. "type": "integer"
  19543. },
  19544. "clearinterval": {
  19545. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19546. "type": "integer"
  19547. },
  19548. "contracttmp": {
  19549. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19550. "type": "string"
  19551. },
  19552. "exchareaid": {
  19553. "description": "所属交易所,可以没有",
  19554. "type": "integer"
  19555. },
  19556. "goodstype": {
  19557. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19558. "type": "integer"
  19559. },
  19560. "hasrebate": {
  19561. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19562. "type": "integer"
  19563. },
  19564. "hastradecredit": {
  19565. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19566. "type": "integer"
  19567. },
  19568. "haswr": {
  19569. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19570. "type": "integer"
  19571. },
  19572. "isdeductmargin": {
  19573. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19574. "type": "integer"
  19575. },
  19576. "isrecordsource": {
  19577. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19578. "type": "integer"
  19579. },
  19580. "isreleasemargin": {
  19581. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19582. "type": "integer"
  19583. },
  19584. "marginformula": {
  19585. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19586. "type": "integer"
  19587. },
  19588. "marginformula2": {
  19589. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19590. "type": "integer"
  19591. },
  19592. "marketid": {
  19593. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19594. "type": "integer"
  19595. },
  19596. "marketname": {
  19597. "description": "市场名称",
  19598. "type": "string"
  19599. },
  19600. "marketserviceid": {
  19601. "description": "市场服务ID",
  19602. "type": "integer"
  19603. },
  19604. "marketstatus": {
  19605. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19606. "type": "integer"
  19607. },
  19608. "markettype": {
  19609. "description": "市场类型- 1:非交易服务 2:交易服务",
  19610. "type": "integer"
  19611. },
  19612. "matchermode": {
  19613. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19614. "type": "integer"
  19615. },
  19616. "openmethod": {
  19617. "description": "开盘模式 - 0 自动 1手动",
  19618. "type": "integer"
  19619. },
  19620. "otcuserid": {
  19621. "description": "场外期权做市商[场外期权]",
  19622. "type": "integer"
  19623. },
  19624. "outersynctime": {
  19625. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19626. "type": "string"
  19627. },
  19628. "pendingflag": {
  19629. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19630. "type": "integer"
  19631. },
  19632. "pendingtime": {
  19633. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19634. "type": "string"
  19635. },
  19636. "performancetempid": {
  19637. "description": "履约计划模板ID - 作废",
  19638. "type": "integer"
  19639. },
  19640. "premiumquotemode": {
  19641. "description": "权利金报价方式 - 1:自动 2:手动",
  19642. "type": "integer"
  19643. },
  19644. "rebateratio": {
  19645. "description": "返利比率[竞价式]",
  19646. "type": "number"
  19647. },
  19648. "reckonorder": {
  19649. "description": "结算顺序",
  19650. "type": "integer"
  19651. },
  19652. "reckonpricealgorithm": {
  19653. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19654. "type": "integer"
  19655. },
  19656. "reckonpriceparam": {
  19657. "description": "结算价参数",
  19658. "type": "integer"
  19659. },
  19660. "reckontime": {
  19661. "description": "结算时间[通道交易-对冲](HH:mm)",
  19662. "type": "string"
  19663. },
  19664. "roleprioritytype": {
  19665. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19666. "type": "integer"
  19667. },
  19668. "selllistingauditflag": {
  19669. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19670. "type": "integer"
  19671. },
  19672. "trademarkettype": {
  19673. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19674. "type": "integer"
  19675. },
  19676. "trademode": {
  19677. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19678. "type": "integer"
  19679. },
  19680. "tradeproperty": {
  19681. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19682. "type": "integer"
  19683. },
  19684. "tradetype": {
  19685. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19686. "type": "integer"
  19687. }
  19688. }
  19689. },
  19690. "models.Marketrun": {
  19691. "type": "object",
  19692. "required": [
  19693. "marketid",
  19694. "nexttradedate",
  19695. "reckonflag",
  19696. "runstatus",
  19697. "tradedate",
  19698. "tradedate2"
  19699. ],
  19700. "properties": {
  19701. "afternexttradedate": {
  19702. "description": "下下交易日",
  19703. "type": "string"
  19704. },
  19705. "clearquoteflag": {
  19706. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19707. "type": "integer"
  19708. },
  19709. "lastreckondate": {
  19710. "description": "最新交易日(结算成功)",
  19711. "type": "string"
  19712. },
  19713. "machinedate": {
  19714. "description": "机器时间",
  19715. "type": "string"
  19716. },
  19717. "manualflag": {
  19718. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19719. "type": "integer"
  19720. },
  19721. "marketid": {
  19722. "description": "市场ID",
  19723. "type": "integer"
  19724. },
  19725. "nexttradedate": {
  19726. "description": "下一交易日",
  19727. "type": "string"
  19728. },
  19729. "pretradedate": {
  19730. "description": "上一交易日",
  19731. "type": "string"
  19732. },
  19733. "reckonflag": {
  19734. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19735. "type": "integer"
  19736. },
  19737. "runstatus": {
  19738. "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.今日免清算",
  19739. "type": "integer"
  19740. },
  19741. "sectionid": {
  19742. "description": "时间段号[多时段时用]",
  19743. "type": "integer"
  19744. },
  19745. "tradedate": {
  19746. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19747. "type": "string"
  19748. },
  19749. "tradedate2": {
  19750. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19751. "type": "string"
  19752. },
  19753. "updatetime": {
  19754. "description": "更新时间",
  19755. "type": "string"
  19756. }
  19757. }
  19758. },
  19759. "models.Messageboard": {
  19760. "type": "object",
  19761. "required": [
  19762. "messageboardid"
  19763. ],
  19764. "properties": {
  19765. "contactnum": {
  19766. "description": "联系电话",
  19767. "type": "string"
  19768. },
  19769. "createtime": {
  19770. "description": "创建时间",
  19771. "type": "string"
  19772. },
  19773. "message": {
  19774. "description": "留言信息",
  19775. "type": "string"
  19776. },
  19777. "messageboardid": {
  19778. "description": "留言簿ID(SEQ_MessageBoard)",
  19779. "type": "integer"
  19780. },
  19781. "userid": {
  19782. "description": "用户ID",
  19783. "type": "integer"
  19784. }
  19785. }
  19786. },
  19787. "models.MyCoupon": {
  19788. "type": "object",
  19789. "required": [
  19790. "accountid",
  19791. "coupontypeid"
  19792. ],
  19793. "properties": {
  19794. "accountid": {
  19795. "description": "资金账户ID",
  19796. "type": "integer"
  19797. },
  19798. "areauserid": {
  19799. "description": "所属机构",
  19800. "type": "integer"
  19801. },
  19802. "conditionvalue": {
  19803. "description": "条件阈值(可为0)",
  19804. "type": "number"
  19805. },
  19806. "couponcategroy": {
  19807. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19808. "type": "integer"
  19809. },
  19810. "couponname": {
  19811. "description": "优惠券名称",
  19812. "type": "string"
  19813. },
  19814. "coupontypeid": {
  19815. "description": "优惠券类型ID",
  19816. "type": "string"
  19817. },
  19818. "couponvalue": {
  19819. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19820. "type": "number"
  19821. },
  19822. "curfreezeqty": {
  19823. "description": "期末冻结数量",
  19824. "type": "integer"
  19825. },
  19826. "curqty": {
  19827. "description": "期末数量",
  19828. "type": "integer"
  19829. },
  19830. "isgeneral": {
  19831. "description": "是否通用券 - 0:否 1:是",
  19832. "type": "integer"
  19833. },
  19834. "isunusable": {
  19835. "description": "是否不可用",
  19836. "type": "boolean"
  19837. },
  19838. "limitedflag": {
  19839. "description": "是否指定商品 - 0:不限 1:限制",
  19840. "type": "integer"
  19841. },
  19842. "limitedgoodsids": {
  19843. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19844. "type": "string"
  19845. },
  19846. "orifreezeqty": {
  19847. "description": "期初冻结数量",
  19848. "type": "integer"
  19849. },
  19850. "oriqty": {
  19851. "description": "期初数量",
  19852. "type": "integer"
  19853. },
  19854. "reasontype": {
  19855. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19856. "type": "integer"
  19857. },
  19858. "todaydecrease": {
  19859. "description": "今日减少",
  19860. "type": "integer"
  19861. },
  19862. "todayincrease": {
  19863. "description": "今日增加",
  19864. "type": "integer"
  19865. },
  19866. "userid": {
  19867. "description": "用户ID",
  19868. "type": "integer"
  19869. },
  19870. "userscope": {
  19871. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19872. "type": "string"
  19873. }
  19874. }
  19875. },
  19876. "models.MyCouponHold": {
  19877. "type": "object",
  19878. "required": [
  19879. "couponholdid"
  19880. ],
  19881. "properties": {
  19882. "accountid": {
  19883. "description": "资金账户ID",
  19884. "type": "integer"
  19885. },
  19886. "conditionvalue": {
  19887. "description": "条件阈值(可为0)",
  19888. "type": "number"
  19889. },
  19890. "couponcategroy": {
  19891. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19892. "type": "integer"
  19893. },
  19894. "couponholdid": {
  19895. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19896. "type": "string"
  19897. },
  19898. "couponname": {
  19899. "description": "优惠券名称",
  19900. "type": "string"
  19901. },
  19902. "coupontypeid": {
  19903. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19904. "type": "string"
  19905. },
  19906. "couponvalue": {
  19907. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19908. "type": "number"
  19909. },
  19910. "createtime": {
  19911. "description": "创建时间",
  19912. "type": "string"
  19913. },
  19914. "enddate": {
  19915. "description": "结束日期",
  19916. "type": "string"
  19917. },
  19918. "giveapplyid": {
  19919. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19920. "type": "integer"
  19921. },
  19922. "holdstatus": {
  19923. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19924. "type": "integer"
  19925. },
  19926. "isgeneral": {
  19927. "description": "是否通用券 - 0:否 1:是",
  19928. "type": "integer"
  19929. },
  19930. "limitedflag": {
  19931. "description": "是否指定商品 - 0:不限 1:限制",
  19932. "type": "integer"
  19933. },
  19934. "limitedgoodsids": {
  19935. "description": "指定商品IDs[逗号分隔]",
  19936. "type": "string"
  19937. },
  19938. "qty": {
  19939. "description": "数量(按1平铺)",
  19940. "type": "integer"
  19941. },
  19942. "startdate": {
  19943. "description": "开始日期",
  19944. "type": "string"
  19945. },
  19946. "userid": {
  19947. "description": "用户ID",
  19948. "type": "integer"
  19949. },
  19950. "userscope": {
  19951. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19952. "type": "string"
  19953. }
  19954. }
  19955. },
  19956. "models.MyUsedCoupon": {
  19957. "type": "object",
  19958. "required": [
  19959. "coupontypeid",
  19960. "orderid"
  19961. ],
  19962. "properties": {
  19963. "accountid": {
  19964. "description": "资金账户ID(买方)",
  19965. "type": "integer"
  19966. },
  19967. "conditionvalue": {
  19968. "description": "条件阈值(可为0)",
  19969. "type": "number"
  19970. },
  19971. "couponcategroy": {
  19972. "description": "种类 - 1:现金券 2:折扣券",
  19973. "type": "integer"
  19974. },
  19975. "couponname": {
  19976. "description": "优惠券名称",
  19977. "type": "string"
  19978. },
  19979. "coupontypeid": {
  19980. "description": "优惠券类型ID(买方)",
  19981. "type": "string"
  19982. },
  19983. "couponvalue": {
  19984. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19985. "type": "number"
  19986. },
  19987. "createtime": {
  19988. "description": "创建时间",
  19989. "type": "string"
  19990. },
  19991. "goodsid": {
  19992. "description": "商品ID",
  19993. "type": "integer"
  19994. },
  19995. "handlestatus": {
  19996. "description": "处理状态",
  19997. "type": "integer"
  19998. },
  19999. "marketid": {
  20000. "description": "市场ID",
  20001. "type": "integer"
  20002. },
  20003. "offamount": {
  20004. "description": "优惠金额",
  20005. "type": "number"
  20006. },
  20007. "orderid": {
  20008. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20009. "type": "string"
  20010. },
  20011. "sellaccountid": {
  20012. "description": "资金账户ID(卖方)",
  20013. "type": "integer"
  20014. },
  20015. "tradeamount": {
  20016. "description": "成交金额",
  20017. "type": "number"
  20018. },
  20019. "tradeid": {
  20020. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20021. "type": "string"
  20022. },
  20023. "usedqty": {
  20024. "description": "使用数量",
  20025. "type": "integer"
  20026. }
  20027. }
  20028. },
  20029. "models.OperationPrimaryMenu": {
  20030. "type": "object",
  20031. "properties": {
  20032. "Children": {
  20033. "description": "二级功能菜单",
  20034. "type": "array",
  20035. "items": {
  20036. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20037. }
  20038. },
  20039. "Key": {
  20040. "description": "菜单KEY",
  20041. "type": "string"
  20042. },
  20043. "Label": {
  20044. "description": "菜单标题",
  20045. "type": "string"
  20046. }
  20047. }
  20048. },
  20049. "models.OperationSecondaryMenu": {
  20050. "type": "object",
  20051. "properties": {
  20052. "Key": {
  20053. "description": "菜单KEY",
  20054. "type": "string"
  20055. },
  20056. "Label": {
  20057. "description": "菜单标题",
  20058. "type": "string"
  20059. },
  20060. "TabList": {
  20061. "description": "三级功能菜单",
  20062. "type": "array",
  20063. "items": {
  20064. "$ref": "#/definitions/models.OperationTabMenu"
  20065. }
  20066. }
  20067. }
  20068. },
  20069. "models.OperationTabMenu": {
  20070. "type": "object",
  20071. "properties": {
  20072. "Key": {
  20073. "description": "菜单KEY",
  20074. "type": "string"
  20075. },
  20076. "Label": {
  20077. "description": "菜单标题",
  20078. "type": "string"
  20079. }
  20080. }
  20081. },
  20082. "models.PendingAuditBizModel": {
  20083. "type": "object",
  20084. "properties": {
  20085. "accountid": {
  20086. "description": "现货账户",
  20087. "type": "string"
  20088. },
  20089. "areaname": {
  20090. "description": "所属部门",
  20091. "type": "string"
  20092. },
  20093. "bizid": {
  20094. "description": "业务ID",
  20095. "type": "string"
  20096. },
  20097. "bizname": {
  20098. "description": "业务名称",
  20099. "type": "string"
  20100. },
  20101. "status": {
  20102. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20103. "type": "integer"
  20104. },
  20105. "type": {
  20106. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20107. "type": "integer"
  20108. }
  20109. }
  20110. },
  20111. "models.QhjContract": {
  20112. "type": "object",
  20113. "properties": {
  20114. "contractconfirmtime": {
  20115. "description": "合同确认时间(时间)",
  20116. "type": "string"
  20117. },
  20118. "enumdicname": {
  20119. "description": "单位名称",
  20120. "type": "string"
  20121. },
  20122. "goodscode": {
  20123. "description": "商品代码",
  20124. "type": "string"
  20125. },
  20126. "goodsid": {
  20127. "description": "商品ID [5:融资单]",
  20128. "type": "integer"
  20129. },
  20130. "goodsname": {
  20131. "description": "商品名称",
  20132. "type": "string"
  20133. },
  20134. "goodunitid": {
  20135. "description": "商品单位id",
  20136. "type": "integer"
  20137. },
  20138. "initmargin": {
  20139. "description": "初始保证金(首付款)",
  20140. "type": "number"
  20141. },
  20142. "lenderamount": {
  20143. "description": "贷款金额(总额|订单总额)",
  20144. "type": "number"
  20145. },
  20146. "marginratio": {
  20147. "description": "保证金比率(首付比例)",
  20148. "type": "number"
  20149. },
  20150. "payamount": {
  20151. "description": "已付(已付货款)",
  20152. "type": "number"
  20153. },
  20154. "recoveredmargin": {
  20155. "description": "已追缴保证金",
  20156. "type": "number"
  20157. },
  20158. "remainamount": {
  20159. "description": "合同剩余金额(融资额)",
  20160. "type": "number"
  20161. },
  20162. "scfcontractid": {
  20163. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20164. "type": "integer"
  20165. },
  20166. "scfcontracttype": {
  20167. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20168. "type": "integer"
  20169. },
  20170. "totalinterest": {
  20171. "description": "已计总利息(利息)",
  20172. "type": "number"
  20173. },
  20174. "tradeprice": {
  20175. "description": "成交价格(成本价格)",
  20176. "type": "number"
  20177. },
  20178. "userid": {
  20179. "description": "用户ID",
  20180. "type": "integer"
  20181. },
  20182. "username": {
  20183. "description": "用户名称",
  20184. "type": "string"
  20185. },
  20186. "wrqty": {
  20187. "description": "仓单数量(数量)",
  20188. "type": "integer"
  20189. }
  20190. }
  20191. },
  20192. "models.QhjContractLog": {
  20193. "type": "object",
  20194. "properties": {
  20195. "amount": {
  20196. "description": "支付金额",
  20197. "type": "number"
  20198. },
  20199. "amounttype": {
  20200. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20201. "type": "integer"
  20202. },
  20203. "logid": {
  20204. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20205. "type": "string"
  20206. },
  20207. "remainamount": {
  20208. "description": "剩余货款",
  20209. "type": "number"
  20210. },
  20211. "scfcontractid": {
  20212. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20213. "type": "integer"
  20214. },
  20215. "updatetime": {
  20216. "description": "更新时间",
  20217. "type": "string"
  20218. }
  20219. }
  20220. },
  20221. "models.QhjPickGoods": {
  20222. "type": "object",
  20223. "properties": {
  20224. "imageaddress": {
  20225. "description": "图片",
  20226. "type": "string"
  20227. },
  20228. "modifierid": {
  20229. "description": "修改人",
  20230. "type": "integer"
  20231. },
  20232. "modifiername": {
  20233. "description": "修改人名称",
  20234. "type": "string"
  20235. },
  20236. "modifysrc": {
  20237. "description": "修改来源 - 1:管理端 2:终端",
  20238. "type": "integer"
  20239. },
  20240. "pickupgoodsagreeunit": {
  20241. "description": "合约乘数",
  20242. "type": "number"
  20243. },
  20244. "pickupgoodsdesc": {
  20245. "description": "描述",
  20246. "type": "string"
  20247. },
  20248. "pickupgoodsid": {
  20249. "description": "提货商品ID",
  20250. "type": "string"
  20251. },
  20252. "pickupgoodsname": {
  20253. "description": "提货商品名称",
  20254. "type": "string"
  20255. },
  20256. "pickupgoodsstatus": {
  20257. "description": "状态 - 1:正常 2:停用 3:注销",
  20258. "type": "integer"
  20259. },
  20260. "pickupgoodsunitid": {
  20261. "description": "单位ID",
  20262. "type": "integer"
  20263. },
  20264. "preparedays": {
  20265. "description": "备货期(天)",
  20266. "type": "integer"
  20267. },
  20268. "remark": {
  20269. "description": "备注",
  20270. "type": "string"
  20271. },
  20272. "updatetime": {
  20273. "description": "更新时间",
  20274. "type": "string"
  20275. }
  20276. }
  20277. },
  20278. "models.QhjRSTriggerLog": {
  20279. "type": "object",
  20280. "properties": {
  20281. "accountid": {
  20282. "description": "用户资金账户",
  20283. "type": "integer"
  20284. },
  20285. "accountname": {
  20286. "description": "账号名称(ACCOUNTID对应的名称)",
  20287. "type": "string"
  20288. },
  20289. "currencyid": {
  20290. "description": "币种id",
  20291. "type": "integer"
  20292. },
  20293. "currencyname": {
  20294. "description": "币种名称",
  20295. "type": "string"
  20296. },
  20297. "enumdicname": {
  20298. "description": "单位名称",
  20299. "type": "string"
  20300. },
  20301. "goodscode": {
  20302. "description": "定投商品代码",
  20303. "type": "string"
  20304. },
  20305. "goodsid": {
  20306. "description": "定投商品ID",
  20307. "type": "string"
  20308. },
  20309. "goodsname": {
  20310. "description": "定投商品名称",
  20311. "type": "string"
  20312. },
  20313. "goodunitid": {
  20314. "description": "定投商品单位id",
  20315. "type": "integer"
  20316. },
  20317. "logid": {
  20318. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20319. "type": "string"
  20320. },
  20321. "regularlycycle": {
  20322. "description": "定投频率 - 1:每周 2:每月",
  20323. "type": "integer"
  20324. },
  20325. "regularlycyclevalue": {
  20326. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20327. "type": "string"
  20328. },
  20329. "regularlymode": {
  20330. "description": "定投方式 - 1:按数量 2:按金额",
  20331. "type": "integer"
  20332. },
  20333. "regularlymodevalue": {
  20334. "description": "定投方式值 - 数量或金额",
  20335. "type": "number"
  20336. },
  20337. "regularlystrategyid": {
  20338. "description": "定投策略ID",
  20339. "type": "integer"
  20340. },
  20341. "retcode": {
  20342. "description": "错误码",
  20343. "type": "string"
  20344. },
  20345. "tradeid": {
  20346. "description": "成交单ID",
  20347. "type": "string"
  20348. },
  20349. "triggeramount": {
  20350. "description": "触发金额",
  20351. "type": "number"
  20352. },
  20353. "triggerqty": {
  20354. "description": "触发数量",
  20355. "type": "number"
  20356. },
  20357. "triggerstatus": {
  20358. "description": "触发状态 - 1:成功 2:失败",
  20359. "type": "integer"
  20360. },
  20361. "triggertime": {
  20362. "description": "触发时间",
  20363. "type": "string"
  20364. },
  20365. "triggertradedate": {
  20366. "description": "触发交易日",
  20367. "type": "string"
  20368. },
  20369. "userid": {
  20370. "description": "所属用户ID",
  20371. "type": "integer"
  20372. },
  20373. "username": {
  20374. "description": "用户名称(userid对应的名称)",
  20375. "type": "string"
  20376. }
  20377. }
  20378. },
  20379. "models.QhjRStrategy": {
  20380. "type": "object",
  20381. "properties": {
  20382. "accountid": {
  20383. "description": "用户资金账户",
  20384. "type": "integer"
  20385. },
  20386. "accountname": {
  20387. "description": "账号名称(ACCOUNTID对应的名称)",
  20388. "type": "string"
  20389. },
  20390. "currencyid": {
  20391. "description": "币种id",
  20392. "type": "integer"
  20393. },
  20394. "currencyname": {
  20395. "description": "币种名称",
  20396. "type": "string"
  20397. },
  20398. "enumdicname": {
  20399. "description": "单位名称",
  20400. "type": "string"
  20401. },
  20402. "goodscode": {
  20403. "description": "定投商品代码",
  20404. "type": "string"
  20405. },
  20406. "goodsid": {
  20407. "description": "定投商品ID",
  20408. "type": "string"
  20409. },
  20410. "goodsname": {
  20411. "description": "定投商品名称",
  20412. "type": "string"
  20413. },
  20414. "goodunitid": {
  20415. "description": "定投商品单位id",
  20416. "type": "integer"
  20417. },
  20418. "lasteffecttradedate": {
  20419. "description": "最新生效交易日",
  20420. "type": "string"
  20421. },
  20422. "laststoptradedate": {
  20423. "description": "最新暂停交易日",
  20424. "type": "string"
  20425. },
  20426. "lasttriggertradedate": {
  20427. "description": "最新触发交易日",
  20428. "type": "string"
  20429. },
  20430. "nexttriggeramount": {
  20431. "description": "下次触发金额",
  20432. "type": "number"
  20433. },
  20434. "nexttriggerdate": {
  20435. "description": "下次触发日期",
  20436. "type": "string"
  20437. },
  20438. "nexttriggerqty": {
  20439. "description": "下次触发数量 [按小数位放大值]",
  20440. "type": "number"
  20441. },
  20442. "regularlycycle": {
  20443. "description": "定投频率 - 1:每周 2:每月",
  20444. "type": "integer"
  20445. },
  20446. "regularlycyclevalue": {
  20447. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20448. "type": "string"
  20449. },
  20450. "regularlymode": {
  20451. "description": "定投方式 - 1:按数量 2:按金额",
  20452. "type": "integer"
  20453. },
  20454. "regularlymodevalue": {
  20455. "description": "定投方式值 - 数量或金额",
  20456. "type": "number"
  20457. },
  20458. "regularlystrategyid": {
  20459. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  20460. "type": "integer"
  20461. },
  20462. "regularlystrategystatus": {
  20463. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  20464. "type": "integer"
  20465. },
  20466. "remark": {
  20467. "description": "备注",
  20468. "type": "string"
  20469. },
  20470. "triggersuccesstimes": {
  20471. "description": "累计定投成功次数",
  20472. "type": "string"
  20473. },
  20474. "triggertotalamount": {
  20475. "description": "累计定投金额(成功)",
  20476. "type": "number"
  20477. },
  20478. "triggertotalqty": {
  20479. "description": "累计定投数量(成功) [按小数位放大值]",
  20480. "type": "number"
  20481. },
  20482. "triggertotaltimes": {
  20483. "description": "累计定投总次数",
  20484. "type": "string"
  20485. },
  20486. "updatesrc": {
  20487. "description": "更新来源 - 1:管理端 2:终端",
  20488. "type": "integer"
  20489. },
  20490. "updatetime": {
  20491. "description": "更新时间",
  20492. "type": "string"
  20493. },
  20494. "updatorid": {
  20495. "description": "更新人",
  20496. "type": "string"
  20497. },
  20498. "userid": {
  20499. "description": "所属用户ID",
  20500. "type": "integer"
  20501. },
  20502. "username": {
  20503. "description": "用户名称(userid对应的名称)",
  20504. "type": "string"
  20505. }
  20506. }
  20507. },
  20508. "models.QhjTradeGoodsPickup": {
  20509. "type": "object",
  20510. "properties": {
  20511. "accountid": {
  20512. "description": "账户ID",
  20513. "type": "integer"
  20514. },
  20515. "address": {
  20516. "description": "提货人详细地址",
  20517. "type": "string"
  20518. },
  20519. "amount": {
  20520. "description": "提货金额",
  20521. "type": "number"
  20522. },
  20523. "artradedate": {
  20524. "description": "自动收货交易日(yyyyMMdd)",
  20525. "type": "string"
  20526. },
  20527. "auditer": {
  20528. "description": "审核人",
  20529. "type": "integer"
  20530. },
  20531. "auditsrc": {
  20532. "description": "更新来源 - 1:管理端 2:终端",
  20533. "type": "integer"
  20534. },
  20535. "audittime": {
  20536. "description": "审核时间(发货时间)",
  20537. "type": "string"
  20538. },
  20539. "audittradedate": {
  20540. "description": "审核交易日(yyyyMMdd)",
  20541. "type": "string"
  20542. },
  20543. "cardnum": {
  20544. "description": "提货人证件号码",
  20545. "type": "string"
  20546. },
  20547. "cardtypeid": {
  20548. "description": "提货人证件类型",
  20549. "type": "integer"
  20550. },
  20551. "checkremark": {
  20552. "description": "审核备注",
  20553. "type": "string"
  20554. },
  20555. "cityid": {
  20556. "description": "市",
  20557. "type": "integer"
  20558. },
  20559. "cityname": {
  20560. "description": "城市名称",
  20561. "type": "string"
  20562. },
  20563. "countryid": {
  20564. "description": "国家",
  20565. "type": "integer"
  20566. },
  20567. "countryname": {
  20568. "description": "国家名称",
  20569. "type": "string"
  20570. },
  20571. "districtid": {
  20572. "description": "地区",
  20573. "type": "integer"
  20574. },
  20575. "districtname": {
  20576. "description": "地区名称",
  20577. "type": "string"
  20578. },
  20579. "enumdicname": {
  20580. "description": "单位名称(提货商品)",
  20581. "type": "string"
  20582. },
  20583. "expresscompany": {
  20584. "description": "物流公司",
  20585. "type": "string"
  20586. },
  20587. "expressnum": {
  20588. "description": "物流单号",
  20589. "type": "string"
  20590. },
  20591. "goodsagreeunit": {
  20592. "description": "交易商品乘数",
  20593. "type": "number"
  20594. },
  20595. "goodscode": {
  20596. "description": "商品代码",
  20597. "type": "string"
  20598. },
  20599. "goodsid": {
  20600. "description": "商品ID",
  20601. "type": "integer"
  20602. },
  20603. "goodsname": {
  20604. "description": "商品名称",
  20605. "type": "string"
  20606. },
  20607. "goodsqty": {
  20608. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  20609. "type": "number"
  20610. },
  20611. "handlestatus": {
  20612. "description": "处理状态",
  20613. "type": "integer"
  20614. },
  20615. "marketid": {
  20616. "description": "市场ID",
  20617. "type": "integer"
  20618. },
  20619. "phonenum": {
  20620. "description": "提货人联系方式",
  20621. "type": "string"
  20622. },
  20623. "pickupgoodsagreeunit": {
  20624. "description": "提货商品合约乘数",
  20625. "type": "number"
  20626. },
  20627. "pickupgoodsid": {
  20628. "description": "提货商品ID",
  20629. "type": "string"
  20630. },
  20631. "pickupgoodsname": {
  20632. "description": "提货商品名称",
  20633. "type": "string"
  20634. },
  20635. "pickupgoodsqty": {
  20636. "description": "提货商品手数(数量)",
  20637. "type": "number"
  20638. },
  20639. "pickupgoodsunitid": {
  20640. "description": "单位ID(提货商品)",
  20641. "type": "integer"
  20642. },
  20643. "pickupratio": {
  20644. "description": "提货系数",
  20645. "type": "number"
  20646. },
  20647. "preparedays": {
  20648. "description": "备货期(天)-提货单明细表",
  20649. "type": "integer"
  20650. },
  20651. "provinceid": {
  20652. "description": "省",
  20653. "type": "integer"
  20654. },
  20655. "provincename": {
  20656. "description": "省名称",
  20657. "type": "string"
  20658. },
  20659. "qty": {
  20660. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  20661. "type": "number"
  20662. },
  20663. "recivername": {
  20664. "description": "提货人姓名",
  20665. "type": "string"
  20666. },
  20667. "reqtime": {
  20668. "description": "提货申请时间",
  20669. "type": "string"
  20670. },
  20671. "storeuserid": {
  20672. "description": "门店用户ID (千海金)",
  20673. "type": "integer"
  20674. },
  20675. "storeusername": {
  20676. "description": "门店用户名称",
  20677. "type": "string"
  20678. },
  20679. "takemode": {
  20680. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  20681. "type": "integer"
  20682. },
  20683. "takeorderid": {
  20684. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  20685. "type": "integer"
  20686. },
  20687. "takeorderstatus": {
  20688. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  20689. "type": "integer"
  20690. },
  20691. "takeremark": {
  20692. "description": "提货备注",
  20693. "type": "string"
  20694. },
  20695. "tradedate": {
  20696. "description": "交易日(yyyyMMdd)",
  20697. "type": "string"
  20698. },
  20699. "updatetime": {
  20700. "description": "更新时间",
  20701. "type": "string"
  20702. },
  20703. "userid": {
  20704. "description": "用户ID",
  20705. "type": "integer"
  20706. },
  20707. "username": {
  20708. "description": "用户名称",
  20709. "type": "string"
  20710. }
  20711. }
  20712. },
  20713. "models.QueryErrorInfosRsp": {
  20714. "type": "object",
  20715. "required": [
  20716. "errorid"
  20717. ],
  20718. "properties": {
  20719. "description": {
  20720. "description": "异常描述",
  20721. "type": "string"
  20722. },
  20723. "errorcode": {
  20724. "description": "异常代码",
  20725. "type": "string"
  20726. },
  20727. "errorid": {
  20728. "description": "异常ID",
  20729. "type": "integer"
  20730. },
  20731. "modulecode": {
  20732. "description": "所属模块",
  20733. "type": "string"
  20734. },
  20735. "operatecode": {
  20736. "description": "所属操作",
  20737. "type": "string"
  20738. },
  20739. "rownumber": {
  20740. "description": "行号",
  20741. "type": "string"
  20742. }
  20743. }
  20744. },
  20745. "models.QueryHedgeOrderDetailRsp": {
  20746. "type": "object",
  20747. "properties": {
  20748. "accountid": {
  20749. "description": "账户ID",
  20750. "type": "integer"
  20751. },
  20752. "buyorsell": {
  20753. "description": "买卖 - 0:买 1:卖",
  20754. "type": "integer"
  20755. },
  20756. "cancellogincode": {
  20757. "description": "撤单人",
  20758. "type": "string"
  20759. },
  20760. "channelbuildtype": {
  20761. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  20762. "type": "integer"
  20763. },
  20764. "channelinnerorderstatus": {
  20765. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  20766. "type": "integer"
  20767. },
  20768. "channeloperatetype": {
  20769. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  20770. "type": "integer"
  20771. },
  20772. "closetype": {
  20773. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20774. "type": "integer"
  20775. },
  20776. "curexchangerate": {
  20777. "description": "当前汇率",
  20778. "type": "number"
  20779. },
  20780. "exchangefullname": {
  20781. "description": "外部交易所全称",
  20782. "type": "string"
  20783. },
  20784. "goodscode": {
  20785. "description": "商品代码(内部)",
  20786. "type": "string"
  20787. },
  20788. "goodsid": {
  20789. "description": "商品ID",
  20790. "type": "integer"
  20791. },
  20792. "goodsname": {
  20793. "description": "商品名称",
  20794. "type": "string"
  20795. },
  20796. "marketid": {
  20797. "description": "市场ID",
  20798. "type": "integer"
  20799. },
  20800. "openfreezemargin": {
  20801. "description": "冻结保证金(冻结交易金额)",
  20802. "type": "number"
  20803. },
  20804. "orderid": {
  20805. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20806. "type": "string"
  20807. },
  20808. "orderlogincode": {
  20809. "description": "委托人",
  20810. "type": "string"
  20811. },
  20812. "orderprice": {
  20813. "description": "委托价格(账户)",
  20814. "type": "number"
  20815. },
  20816. "orderqty": {
  20817. "description": "委托数量",
  20818. "type": "integer"
  20819. },
  20820. "ordertime": {
  20821. "description": "委托时间",
  20822. "type": "string"
  20823. },
  20824. "pricemode": {
  20825. "description": "取价方式 - 1:市价 2: 限价",
  20826. "type": "integer"
  20827. },
  20828. "tradedate": {
  20829. "description": "交易日(yyyyMMdd)",
  20830. "type": "string"
  20831. },
  20832. "tradeqty": {
  20833. "description": "成交数量",
  20834. "type": "integer"
  20835. }
  20836. }
  20837. },
  20838. "models.QueryHedgeTradeDetailRsp": {
  20839. "type": "object",
  20840. "properties": {
  20841. "accountid": {
  20842. "description": "账号ID",
  20843. "type": "integer"
  20844. },
  20845. "buyorsell": {
  20846. "description": "方向 - 0:买 1:卖",
  20847. "type": "integer"
  20848. },
  20849. "channelbuildtype": {
  20850. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20851. "type": "integer"
  20852. },
  20853. "closecharge": {
  20854. "description": "平仓手续费(账户)",
  20855. "type": "number"
  20856. },
  20857. "closecharge2": {
  20858. "description": "平仓手续费(商品)",
  20859. "type": "number"
  20860. },
  20861. "closepl": {
  20862. "description": "平仓盈亏(账户)",
  20863. "type": "number"
  20864. },
  20865. "closepl2": {
  20866. "description": "平仓盈亏(商品)",
  20867. "type": "number"
  20868. },
  20869. "closepl3": {
  20870. "description": "平仓盈亏(账户)(逐笔)",
  20871. "type": "number"
  20872. },
  20873. "closepl4": {
  20874. "description": "平仓盈亏(商品)(逐笔)",
  20875. "type": "number"
  20876. },
  20877. "closetype": {
  20878. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20879. "type": "integer"
  20880. },
  20881. "curexchangerate": {
  20882. "description": "当前汇率",
  20883. "type": "number"
  20884. },
  20885. "exchangefullname": {
  20886. "description": "外部交易所全称",
  20887. "type": "string"
  20888. },
  20889. "goodscode": {
  20890. "description": "商品代码(内部)",
  20891. "type": "string"
  20892. },
  20893. "goodsid": {
  20894. "description": "商品ID",
  20895. "type": "integer"
  20896. },
  20897. "goodsname": {
  20898. "description": "商品名称",
  20899. "type": "string"
  20900. },
  20901. "marketid": {
  20902. "description": "市场ID",
  20903. "type": "integer"
  20904. },
  20905. "opencharge": {
  20906. "description": "建仓手续费(账户)",
  20907. "type": "number"
  20908. },
  20909. "opencharge2": {
  20910. "description": "建仓手续费(商品)",
  20911. "type": "number"
  20912. },
  20913. "orderid": {
  20914. "description": "委托单号",
  20915. "type": "string"
  20916. },
  20917. "orderlogincode": {
  20918. "description": "委托人",
  20919. "type": "string"
  20920. },
  20921. "tradeamount": {
  20922. "description": "成交金额(账户)",
  20923. "type": "number"
  20924. },
  20925. "tradedate": {
  20926. "description": "交易日(yyyyMMdd)",
  20927. "type": "string"
  20928. },
  20929. "tradeid": {
  20930. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20931. "type": "string"
  20932. },
  20933. "tradeprice": {
  20934. "description": "成交价格",
  20935. "type": "number"
  20936. },
  20937. "tradeqty": {
  20938. "description": "成交数量",
  20939. "type": "integer"
  20940. },
  20941. "tradetime": {
  20942. "description": "成交时间",
  20943. "type": "string"
  20944. },
  20945. "tradetype": {
  20946. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  20947. "type": "integer"
  20948. }
  20949. }
  20950. },
  20951. "models.QuotePrimaryMenu": {
  20952. "type": "object",
  20953. "properties": {
  20954. "Index": {
  20955. "description": "序号",
  20956. "type": "integer"
  20957. },
  20958. "Key": {
  20959. "description": "键名",
  20960. "type": "string"
  20961. },
  20962. "Name": {
  20963. "description": "菜单名称",
  20964. "type": "string"
  20965. },
  20966. "SubMenus": {
  20967. "description": "子菜单",
  20968. "type": "array",
  20969. "items": {
  20970. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  20971. }
  20972. },
  20973. "SubTitleType": {
  20974. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  20975. "type": "integer"
  20976. },
  20977. "TradeModes": {
  20978. "description": "包含市场交易类型",
  20979. "type": "string"
  20980. }
  20981. }
  20982. },
  20983. "models.QuoteSecondaryMenu": {
  20984. "type": "object",
  20985. "properties": {
  20986. "ExExchangeCode": {
  20987. "description": "外部交易所代码",
  20988. "type": "string"
  20989. },
  20990. "ExExchangeID": {
  20991. "description": "外部交易所ID",
  20992. "type": "integer"
  20993. },
  20994. "GoodsGroupIDs": {
  20995. "description": "商品组ID列表",
  20996. "type": "array",
  20997. "items": {
  20998. "type": "integer"
  20999. }
  21000. },
  21001. "Index": {
  21002. "description": "序号",
  21003. "type": "integer"
  21004. },
  21005. "MarketID": {
  21006. "description": "市场ID",
  21007. "type": "integer"
  21008. },
  21009. "MenuTitle": {
  21010. "description": "菜单标题(市场名称或外部交易所名称)",
  21011. "type": "string"
  21012. },
  21013. "TradeMode": {
  21014. "description": "交易模式",
  21015. "type": "integer"
  21016. }
  21017. }
  21018. },
  21019. "models.SearchGoods": {
  21020. "type": "object",
  21021. "required": [
  21022. "goodscode",
  21023. "goodsid",
  21024. "goodsname",
  21025. "marketid",
  21026. "trademode"
  21027. ],
  21028. "properties": {
  21029. "goodscode": {
  21030. "description": "商品代码(内部)",
  21031. "type": "string"
  21032. },
  21033. "goodsid": {
  21034. "description": "商品ID(自增ID SEQ_GOODS)",
  21035. "type": "integer"
  21036. },
  21037. "goodsname": {
  21038. "description": "商品名称",
  21039. "type": "string"
  21040. },
  21041. "marketid": {
  21042. "description": "所属市场ID",
  21043. "type": "integer"
  21044. },
  21045. "marketname": {
  21046. "description": "市场名称",
  21047. "type": "string"
  21048. },
  21049. "trademode": {
  21050. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21051. "type": "integer"
  21052. }
  21053. }
  21054. },
  21055. "models.Systemparam": {
  21056. "type": "object",
  21057. "required": [
  21058. "paramcode"
  21059. ],
  21060. "properties": {
  21061. "loginid": {
  21062. "description": "更新用户账号,登录账号",
  21063. "type": "string"
  21064. },
  21065. "modifyflag": {
  21066. "description": "修改标志0 不允许修改 1 允许修改",
  21067. "type": "integer"
  21068. },
  21069. "paramcode": {
  21070. "description": "参数代码",
  21071. "type": "string"
  21072. },
  21073. "paramname": {
  21074. "description": "参数名",
  21075. "type": "string"
  21076. },
  21077. "paramtype": {
  21078. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21079. "type": "integer"
  21080. },
  21081. "paramvalue": {
  21082. "description": "参数值",
  21083. "type": "string"
  21084. },
  21085. "paramvalue2": {
  21086. "description": "参数值(CLOB)",
  21087. "type": "string"
  21088. },
  21089. "regexpress": {
  21090. "description": "正则表达式",
  21091. "type": "string"
  21092. },
  21093. "remark": {
  21094. "description": "备注",
  21095. "type": "string"
  21096. },
  21097. "serverip": {
  21098. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21099. "type": "string"
  21100. },
  21101. "showflag": {
  21102. "description": "是否显示0 不显示 1 显示",
  21103. "type": "integer"
  21104. },
  21105. "updatetime": {
  21106. "description": "更新时间",
  21107. "type": "string"
  21108. },
  21109. "userid": {
  21110. "description": "更新用户ID",
  21111. "type": "integer"
  21112. }
  21113. }
  21114. },
  21115. "models.Szdz3convertconfig": {
  21116. "type": "object",
  21117. "required": [
  21118. "converttype",
  21119. "innergoodsid",
  21120. "outergoodscode"
  21121. ],
  21122. "properties": {
  21123. "canin": {
  21124. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21125. "type": "integer"
  21126. },
  21127. "canout": {
  21128. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21129. "type": "integer"
  21130. },
  21131. "converttype": {
  21132. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21133. "type": "integer"
  21134. },
  21135. "createtime": {
  21136. "description": "创建时间",
  21137. "type": "string"
  21138. },
  21139. "creatorid": {
  21140. "description": "创建人",
  21141. "type": "integer"
  21142. },
  21143. "daymaxvalue": {
  21144. "description": "当日最大转入限制",
  21145. "type": "number"
  21146. },
  21147. "freezedays": {
  21148. "description": "冻结天数 [5:花生米转交易]",
  21149. "type": "integer"
  21150. },
  21151. "innergoodsid": {
  21152. "description": "内部商品ID[交易]",
  21153. "type": "integer"
  21154. },
  21155. "inratio": {
  21156. "description": "目标值",
  21157. "type": "integer"
  21158. },
  21159. "modifierid": {
  21160. "description": "修改人",
  21161. "type": "integer"
  21162. },
  21163. "modifytime": {
  21164. "description": "修改时间",
  21165. "type": "string"
  21166. },
  21167. "outergoodscode": {
  21168. "description": "外部商品代码[JD\\PD]",
  21169. "type": "string"
  21170. },
  21171. "outratio": {
  21172. "description": "源值",
  21173. "type": "integer"
  21174. },
  21175. "pddecimalplace": {
  21176. "description": "PD小数位",
  21177. "type": "integer"
  21178. },
  21179. "timemaxvalue": {
  21180. "description": "单次最大转入限制",
  21181. "type": "number"
  21182. },
  21183. "timeminvalue": {
  21184. "description": "单次最小转入限制",
  21185. "type": "number"
  21186. }
  21187. }
  21188. },
  21189. "models.Szdz3searchwhitelist": {
  21190. "type": "object",
  21191. "required": [
  21192. "userid"
  21193. ],
  21194. "properties": {
  21195. "createtime": {
  21196. "description": "创建时间",
  21197. "type": "string"
  21198. },
  21199. "creatorid": {
  21200. "description": "创建人",
  21201. "type": "integer"
  21202. },
  21203. "modifierid": {
  21204. "description": "修改人",
  21205. "type": "integer"
  21206. },
  21207. "modifytime": {
  21208. "description": "修改时间",
  21209. "type": "string"
  21210. },
  21211. "userid": {
  21212. "description": "用户ID",
  21213. "type": "integer"
  21214. }
  21215. }
  21216. },
  21217. "models.Taaccount": {
  21218. "type": "object",
  21219. "required": [
  21220. "accountid",
  21221. "userid"
  21222. ],
  21223. "properties": {
  21224. "accountflag": {
  21225. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21226. "type": "integer"
  21227. },
  21228. "accountid": {
  21229. "description": "资金账户ID",
  21230. "type": "integer"
  21231. },
  21232. "accountname": {
  21233. "description": "账户名称",
  21234. "type": "string"
  21235. },
  21236. "balance": {
  21237. "description": "期初余额",
  21238. "type": "number"
  21239. },
  21240. "capitalbalance": {
  21241. "description": "本金余额[外部子账户实际出入金余额]",
  21242. "type": "number"
  21243. },
  21244. "changeflag": {
  21245. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21246. "type": "integer"
  21247. },
  21248. "changetime": {
  21249. "description": "账户状态变更时间",
  21250. "type": "string"
  21251. },
  21252. "closepl": {
  21253. "description": "今日平仓盈亏",
  21254. "type": "number"
  21255. },
  21256. "creditdecrease": {
  21257. "description": "今日授信减少",
  21258. "type": "number"
  21259. },
  21260. "creditincrease": {
  21261. "description": "今日授信增加",
  21262. "type": "number"
  21263. },
  21264. "currencyid": {
  21265. "description": "货币ID",
  21266. "type": "integer"
  21267. },
  21268. "currentbalance": {
  21269. "description": "期末余额",
  21270. "type": "number"
  21271. },
  21272. "freezecharge": {
  21273. "description": "手续费冻结",
  21274. "type": "number"
  21275. },
  21276. "freezemargin": {
  21277. "description": "冻结保证金",
  21278. "type": "number"
  21279. },
  21280. "fromaccountid": {
  21281. "description": "所属上级账户",
  21282. "type": "integer"
  21283. },
  21284. "inamount": {
  21285. "description": "今日入金金额(包括三方入金)",
  21286. "type": "number"
  21287. },
  21288. "ismain": {
  21289. "description": "是否母账号 0:不是母账户 1:是母账户",
  21290. "type": "integer"
  21291. },
  21292. "ismarketaccount": {
  21293. "description": "是否机构接单账号 0:不是 1:是",
  21294. "type": "integer"
  21295. },
  21296. "isreckonaccount": {
  21297. "description": "是否机构分润账号 0:不是 1:是",
  21298. "type": "integer"
  21299. },
  21300. "mortgagecredit": {
  21301. "description": "授信金额",
  21302. "type": "number"
  21303. },
  21304. "orifreezecharge": {
  21305. "description": "期初手续费冻结",
  21306. "type": "number"
  21307. },
  21308. "orifreezemargin": {
  21309. "description": "期初冻结保证金",
  21310. "type": "number"
  21311. },
  21312. "orimortgagecredit": {
  21313. "description": "期初授信金额",
  21314. "type": "number"
  21315. },
  21316. "oriothercredit": {
  21317. "description": "期初其它授信金额",
  21318. "type": "number"
  21319. },
  21320. "oriotherfreezemargin": {
  21321. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  21322. "type": "number"
  21323. },
  21324. "orioutamountfreeze": {
  21325. "description": "期初出金冻结",
  21326. "type": "number"
  21327. },
  21328. "oriusedmargin": {
  21329. "description": "期初占用保证金",
  21330. "type": "number"
  21331. },
  21332. "othercredit": {
  21333. "description": "其它授信金额",
  21334. "type": "number"
  21335. },
  21336. "othercreditdecrease": {
  21337. "description": "今日其它授信减少",
  21338. "type": "number"
  21339. },
  21340. "othercreditincrease": {
  21341. "description": "今日其它授信增加",
  21342. "type": "number"
  21343. },
  21344. "otherfreezemargin": {
  21345. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  21346. "type": "number"
  21347. },
  21348. "otherincome": {
  21349. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  21350. "type": "number"
  21351. },
  21352. "otherpay": {
  21353. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  21354. "type": "number"
  21355. },
  21356. "outamount": {
  21357. "description": "今日出金金额(包括三方出金)",
  21358. "type": "number"
  21359. },
  21360. "outamountfreeze": {
  21361. "description": "出金冻结",
  21362. "type": "number"
  21363. },
  21364. "outthreshold": {
  21365. "description": "出金阈值",
  21366. "type": "number"
  21367. },
  21368. "parentaccountid": {
  21369. "description": "所属根账号",
  21370. "type": "integer"
  21371. },
  21372. "paycharge": {
  21373. "description": "今日手续费支出",
  21374. "type": "number"
  21375. },
  21376. "relatedaccountstatus": {
  21377. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  21378. "type": "integer"
  21379. },
  21380. "relateduserid": {
  21381. "description": "关联用户",
  21382. "type": "integer"
  21383. },
  21384. "serivcegroup": {
  21385. "description": "服务分组",
  21386. "type": "integer"
  21387. },
  21388. "signstatus": {
  21389. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  21390. "type": "integer"
  21391. },
  21392. "sublevelpath": {
  21393. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  21394. "type": "string"
  21395. },
  21396. "taaccounttype": {
  21397. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  21398. "type": "integer"
  21399. },
  21400. "thirdinamount": {
  21401. "description": "今日三方入金",
  21402. "type": "number"
  21403. },
  21404. "thirdoutamount": {
  21405. "description": "今日三方出金",
  21406. "type": "number"
  21407. },
  21408. "tradestatus": {
  21409. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  21410. "type": "integer"
  21411. },
  21412. "tradestatuschangetime": {
  21413. "description": "激活时间",
  21414. "type": "string"
  21415. },
  21416. "transferamount": {
  21417. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  21418. "type": "number"
  21419. },
  21420. "usedmargin": {
  21421. "description": "占用保证金",
  21422. "type": "number"
  21423. },
  21424. "userid": {
  21425. "description": "用户ID",
  21426. "type": "integer"
  21427. }
  21428. }
  21429. },
  21430. "models.Tablecolumnconfig": {
  21431. "type": "object",
  21432. "required": [
  21433. "autoid"
  21434. ],
  21435. "properties": {
  21436. "aligntype": {
  21437. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  21438. "type": "integer"
  21439. },
  21440. "autoid": {
  21441. "description": "AutoID",
  21442. "type": "integer"
  21443. },
  21444. "columnfield": {
  21445. "description": "列字段",
  21446. "type": "string"
  21447. },
  21448. "columntitle": {
  21449. "description": "列Title",
  21450. "type": "string"
  21451. },
  21452. "columnwidth": {
  21453. "description": "列宽",
  21454. "type": "string"
  21455. },
  21456. "formatterstring": {
  21457. "description": "格式化字符",
  21458. "type": "string"
  21459. },
  21460. "formattertype": {
  21461. "description": "格式化类型",
  21462. "type": "string"
  21463. },
  21464. "groupname": {
  21465. "description": "表头分组名称",
  21466. "type": "string"
  21467. },
  21468. "isshow": {
  21469. "description": "是否显示 - 0:不显示 1:显示",
  21470. "type": "integer"
  21471. },
  21472. "needsummary": {
  21473. "description": "是否需要汇总 - 0:不需要 1:需要",
  21474. "type": "integer"
  21475. },
  21476. "orderindex": {
  21477. "description": "顺序",
  21478. "type": "integer"
  21479. },
  21480. "remark": {
  21481. "description": "备注",
  21482. "type": "string"
  21483. },
  21484. "summarytype": {
  21485. "description": "汇总类型 - 1:加总 2:最后一个",
  21486. "type": "integer"
  21487. },
  21488. "tablekey": {
  21489. "description": "列表Key",
  21490. "type": "string"
  21491. }
  21492. }
  21493. },
  21494. "models.UserCollectConfig": {
  21495. "type": "object",
  21496. "properties": {
  21497. "accountstatus": {
  21498. "description": "账户状态 - 1:正常 2:停用 3:注销",
  21499. "type": "integer"
  21500. },
  21501. "collectaccountname": {
  21502. "description": "收款人账户名称",
  21503. "type": "string"
  21504. },
  21505. "collectaccountno": {
  21506. "description": "收款人账户",
  21507. "type": "string"
  21508. },
  21509. "collectbankname": {
  21510. "description": "收款人开户行",
  21511. "type": "string"
  21512. },
  21513. "collectbranchbankname": {
  21514. "description": "收款人开户支行",
  21515. "type": "string"
  21516. },
  21517. "collectconfigid": {
  21518. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  21519. "type": "string"
  21520. },
  21521. "remark": {
  21522. "description": "备注",
  21523. "type": "string"
  21524. },
  21525. "userid": {
  21526. "description": "收款人用户ID",
  21527. "type": "integer"
  21528. }
  21529. }
  21530. },
  21531. "models.UserReceiveInfo": {
  21532. "type": "object",
  21533. "properties": {
  21534. "address": {
  21535. "description": "提货人详细地址",
  21536. "type": "string"
  21537. },
  21538. "autoid": {
  21539. "description": "AutoID",
  21540. "type": "integer"
  21541. },
  21542. "cardnum": {
  21543. "description": "证件号码(加密存储)",
  21544. "type": "string"
  21545. },
  21546. "cardtypeid": {
  21547. "description": "证件类型",
  21548. "type": "integer"
  21549. },
  21550. "cityid": {
  21551. "description": "市",
  21552. "type": "integer"
  21553. },
  21554. "cityname": {
  21555. "description": "城市名称",
  21556. "type": "string"
  21557. },
  21558. "countryid": {
  21559. "description": "国家",
  21560. "type": "integer"
  21561. },
  21562. "countryname": {
  21563. "description": "国家名称",
  21564. "type": "string"
  21565. },
  21566. "districtid": {
  21567. "description": "地区",
  21568. "type": "integer"
  21569. },
  21570. "districtname": {
  21571. "description": "地区名称",
  21572. "type": "string"
  21573. },
  21574. "hasencrypt": {
  21575. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21576. "type": "integer"
  21577. },
  21578. "isdefault": {
  21579. "description": "是否默认地址 - 0:否 1:是",
  21580. "type": "integer"
  21581. },
  21582. "phonenum": {
  21583. "description": "提货人联系方式(加密存储)",
  21584. "type": "string"
  21585. },
  21586. "provinceid": {
  21587. "description": "省",
  21588. "type": "integer"
  21589. },
  21590. "provincename": {
  21591. "description": "省名称",
  21592. "type": "string"
  21593. },
  21594. "receivername": {
  21595. "description": "提货人姓名",
  21596. "type": "string"
  21597. },
  21598. "takeremark": {
  21599. "description": "提货备注",
  21600. "type": "string"
  21601. },
  21602. "userid": {
  21603. "description": "用户ID",
  21604. "type": "integer"
  21605. }
  21606. }
  21607. },
  21608. "models.Useraccount": {
  21609. "type": "object",
  21610. "required": [
  21611. "userid"
  21612. ],
  21613. "properties": {
  21614. "accountname": {
  21615. "description": "账户名称(机构名称)",
  21616. "type": "string"
  21617. },
  21618. "accountstatus": {
  21619. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  21620. "type": "integer"
  21621. },
  21622. "auditremark": {
  21623. "description": "审核备注",
  21624. "type": "string"
  21625. },
  21626. "audittime": {
  21627. "description": "审核时间",
  21628. "type": "string"
  21629. },
  21630. "audituserid": {
  21631. "description": "审核人",
  21632. "type": "integer"
  21633. },
  21634. "broker": {
  21635. "description": "所属经纪人ID",
  21636. "type": "integer"
  21637. },
  21638. "canceltime": {
  21639. "description": "销户时间",
  21640. "type": "string"
  21641. },
  21642. "canceluserid": {
  21643. "description": "销户人",
  21644. "type": "integer"
  21645. },
  21646. "createtime": {
  21647. "description": "创建时间",
  21648. "type": "string"
  21649. },
  21650. "creatorid": {
  21651. "description": "创建人",
  21652. "type": "integer"
  21653. },
  21654. "hasauth": {
  21655. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  21656. "type": "integer"
  21657. },
  21658. "isanonymous": {
  21659. "description": "是否匿名下单 - 0:否 1:是",
  21660. "type": "integer"
  21661. },
  21662. "maxinvestornum": {
  21663. "description": "最大用户数(经纪会员下投资者个数)",
  21664. "type": "integer"
  21665. },
  21666. "memberuserid": {
  21667. "description": "所属会员ID",
  21668. "type": "integer"
  21669. },
  21670. "modifierid": {
  21671. "description": "修改人",
  21672. "type": "integer"
  21673. },
  21674. "modifyremark": {
  21675. "description": "变更备注",
  21676. "type": "string"
  21677. },
  21678. "modifystatus": {
  21679. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  21680. "type": "integer"
  21681. },
  21682. "modifytime": {
  21683. "description": "修改时间",
  21684. "type": "string"
  21685. },
  21686. "parentuserid": {
  21687. "description": "所属机构ID",
  21688. "type": "integer"
  21689. },
  21690. "reckonaccountid": {
  21691. "description": "默认结算资金账号ID(机构分润使用) 作废",
  21692. "type": "integer"
  21693. },
  21694. "refercount": {
  21695. "description": "推荐总人数",
  21696. "type": "integer"
  21697. },
  21698. "refereeuserid": {
  21699. "description": "推荐人ID",
  21700. "type": "integer"
  21701. },
  21702. "refernum": {
  21703. "description": "推荐码",
  21704. "type": "string"
  21705. },
  21706. "subarealevelpath": {
  21707. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  21708. "type": "string"
  21709. },
  21710. "userid": {
  21711. "description": "用户ID",
  21712. "type": "integer"
  21713. },
  21714. "usertype": {
  21715. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21716. "type": "integer"
  21717. }
  21718. }
  21719. },
  21720. "models.Userfavoritegoods": {
  21721. "type": "object",
  21722. "required": [
  21723. "goodsid"
  21724. ],
  21725. "properties": {
  21726. "goodsid": {
  21727. "description": "商品ID",
  21728. "type": "integer"
  21729. }
  21730. }
  21731. },
  21732. "models.Userinfo": {
  21733. "type": "object",
  21734. "required": [
  21735. "userid"
  21736. ],
  21737. "properties": {
  21738. "address": {
  21739. "description": "地址",
  21740. "type": "string"
  21741. },
  21742. "attachment1": {
  21743. "description": "附件1",
  21744. "type": "string"
  21745. },
  21746. "attachment2": {
  21747. "description": "附件2",
  21748. "type": "string"
  21749. },
  21750. "bankaccount": {
  21751. "description": "银行帐号 (加密存储)",
  21752. "type": "string"
  21753. },
  21754. "bankaccountname": {
  21755. "description": "收款人名称",
  21756. "type": "string"
  21757. },
  21758. "bankcardfrontphotourl": {
  21759. "description": "银行卡正面照地址",
  21760. "type": "string"
  21761. },
  21762. "bankid": {
  21763. "description": "银行编码",
  21764. "type": "string"
  21765. },
  21766. "bankname": {
  21767. "description": "银行名称",
  21768. "type": "string"
  21769. },
  21770. "biznature": {
  21771. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21772. "type": "integer"
  21773. },
  21774. "bizscope": {
  21775. "description": "企业经营范围(企业)",
  21776. "type": "string"
  21777. },
  21778. "cardbackphotourl": {
  21779. "description": "证件背面图片地址",
  21780. "type": "string"
  21781. },
  21782. "cardfrontphotourl": {
  21783. "description": "证件正面图片地址",
  21784. "type": "string"
  21785. },
  21786. "cardnum": {
  21787. "description": "证件号码(加密存储)",
  21788. "type": "string"
  21789. },
  21790. "cardtypeid": {
  21791. "description": "证件类型ID",
  21792. "type": "integer"
  21793. },
  21794. "cityid": {
  21795. "description": "市",
  21796. "type": "integer"
  21797. },
  21798. "company": {
  21799. "description": "公司(个人)",
  21800. "type": "string"
  21801. },
  21802. "contactname": {
  21803. "description": "联系人",
  21804. "type": "string"
  21805. },
  21806. "countryid": {
  21807. "description": "国家",
  21808. "type": "integer"
  21809. },
  21810. "createtime": {
  21811. "description": "创建时间",
  21812. "type": "string"
  21813. },
  21814. "creatorid": {
  21815. "description": "创建人",
  21816. "type": "integer"
  21817. },
  21818. "customername": {
  21819. "description": "客户名称(企业名称)",
  21820. "type": "string"
  21821. },
  21822. "districtid": {
  21823. "description": "地区",
  21824. "type": "integer"
  21825. },
  21826. "email": {
  21827. "description": "邮件(加密存储)",
  21828. "type": "string"
  21829. },
  21830. "fax": {
  21831. "description": "传真(加密存储)",
  21832. "type": "string"
  21833. },
  21834. "halfbodyphotourl": {
  21835. "description": "半身照地址",
  21836. "type": "string"
  21837. },
  21838. "hasencrypt": {
  21839. "description": "数据是否已加密 - 0:未加密 1:已加密",
  21840. "type": "integer"
  21841. },
  21842. "headurl": {
  21843. "description": "头像地址",
  21844. "type": "string"
  21845. },
  21846. "legalcardbackphotourl": {
  21847. "description": "法人身份证背面照地址",
  21848. "type": "string"
  21849. },
  21850. "legalcardfrontphotourl": {
  21851. "description": "法人身份证正面照地址",
  21852. "type": "string"
  21853. },
  21854. "legalpersonname": {
  21855. "description": "法人姓名(企业)",
  21856. "type": "string"
  21857. },
  21858. "mobile": {
  21859. "description": "手机号码(加密存储)",
  21860. "type": "string"
  21861. },
  21862. "mobile2": {
  21863. "description": "手机号码[明文-尚志]",
  21864. "type": "string"
  21865. },
  21866. "modifierid": {
  21867. "description": "修改人",
  21868. "type": "integer"
  21869. },
  21870. "modifiertime": {
  21871. "description": "修改时间",
  21872. "type": "string"
  21873. },
  21874. "needinvoice": {
  21875. "description": "是否需要发票 - 0:不需要 1:需要",
  21876. "type": "integer"
  21877. },
  21878. "nickname": {
  21879. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  21880. "type": "string"
  21881. },
  21882. "openmode": {
  21883. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  21884. "type": "integer"
  21885. },
  21886. "otherurl": {
  21887. "description": "其它图片地址[使用分号分隔]",
  21888. "type": "string"
  21889. },
  21890. "postalcode": {
  21891. "description": "邮政编码",
  21892. "type": "string"
  21893. },
  21894. "provinceid": {
  21895. "description": "省",
  21896. "type": "integer"
  21897. },
  21898. "qq": {
  21899. "description": "QQ(加密存储",
  21900. "type": "string"
  21901. },
  21902. "remark": {
  21903. "description": "备注",
  21904. "type": "string"
  21905. },
  21906. "sex": {
  21907. "description": "用户性别 0: 女 1: 男",
  21908. "type": "integer"
  21909. },
  21910. "signpdfurl": {
  21911. "description": "签约pdf文件",
  21912. "type": "string"
  21913. },
  21914. "telphone": {
  21915. "description": "联系电话(加密存储)",
  21916. "type": "string"
  21917. },
  21918. "userid": {
  21919. "description": "用户ID",
  21920. "type": "integer"
  21921. },
  21922. "userinfotype": {
  21923. "description": "用户信息类型 - 1:个人 2:企业",
  21924. "type": "integer"
  21925. },
  21926. "userstatus": {
  21927. "description": "用户状态 - 1:正常 2:注销",
  21928. "type": "integer"
  21929. },
  21930. "usertype": {
  21931. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  21932. "type": "integer"
  21933. },
  21934. "wechat": {
  21935. "description": "微信(加密存储)",
  21936. "type": "string"
  21937. },
  21938. "wskhinfo": {
  21939. "description": "开户申请信息(JSON)",
  21940. "type": "string"
  21941. }
  21942. }
  21943. },
  21944. "models.WRSConverTDetail": {
  21945. "type": "object",
  21946. "properties": {
  21947. "convertratio": {
  21948. "description": "套保系数",
  21949. "type": "number"
  21950. },
  21951. "deliverygoodscode": {
  21952. "description": "现货商品代码",
  21953. "type": "string"
  21954. },
  21955. "deliverygoodsid": {
  21956. "description": "现货品种ID",
  21957. "type": "integer"
  21958. },
  21959. "deliverygoodsname": {
  21960. "description": "现货商品名称",
  21961. "type": "string"
  21962. },
  21963. "enumdicname": {
  21964. "description": "单位名称",
  21965. "type": "string"
  21966. },
  21967. "goodsunitid": {
  21968. "description": "套保品种单位id",
  21969. "type": "integer"
  21970. },
  21971. "middlegoodscode": {
  21972. "description": "套保品种代码",
  21973. "type": "string"
  21974. },
  21975. "middlegoodsid": {
  21976. "description": "套保品种ID",
  21977. "type": "integer"
  21978. },
  21979. "middlegoodsname": {
  21980. "description": "套保品种名称",
  21981. "type": "string"
  21982. },
  21983. "modifytime": {
  21984. "description": "修改时间",
  21985. "type": "string"
  21986. },
  21987. "wrstandardid": {
  21988. "description": "品类ID",
  21989. "type": "integer"
  21990. }
  21991. }
  21992. },
  21993. "models.WRStandardInfo": {
  21994. "type": "object",
  21995. "required": [
  21996. "wrstandardid"
  21997. ],
  21998. "properties": {
  21999. "areauserid": {
  22000. "description": "所属机构",
  22001. "type": "integer"
  22002. },
  22003. "convertfactor": {
  22004. "description": "标仓系数",
  22005. "type": "number"
  22006. },
  22007. "createtime": {
  22008. "description": "创建时间",
  22009. "type": "string"
  22010. },
  22011. "creatorid": {
  22012. "description": "创建人",
  22013. "type": "integer"
  22014. },
  22015. "deliverygoodsid": {
  22016. "description": "品种ID",
  22017. "type": "integer"
  22018. },
  22019. "deliverygoodsname": {
  22020. "description": "交割商品名称",
  22021. "type": "string"
  22022. },
  22023. "factoryitemjson": {
  22024. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22025. "type": "string"
  22026. },
  22027. "isvalid": {
  22028. "description": "是否有效 - 0:无效 1:有效",
  22029. "type": "integer"
  22030. },
  22031. "minivalue": {
  22032. "description": "最小变动值",
  22033. "type": "integer"
  22034. },
  22035. "minivaluedp": {
  22036. "description": "最小变动值小数位",
  22037. "type": "integer"
  22038. },
  22039. "realminivalue": {
  22040. "description": "实际最小变动值",
  22041. "type": "integer"
  22042. },
  22043. "realminivaluedp": {
  22044. "description": "实际最小变动值小数位",
  22045. "type": "integer"
  22046. },
  22047. "remark": {
  22048. "description": "备注",
  22049. "type": "string"
  22050. },
  22051. "unitid": {
  22052. "description": "单位ID",
  22053. "type": "integer"
  22054. },
  22055. "unitname": {
  22056. "description": "单位",
  22057. "type": "string"
  22058. },
  22059. "updatetime": {
  22060. "description": "更新时间",
  22061. "type": "string"
  22062. },
  22063. "updatorid": {
  22064. "description": "更新人",
  22065. "type": "integer"
  22066. },
  22067. "wrsstatus": {
  22068. "description": "状态 - 作废 - 0:未激活 1:正常",
  22069. "type": "integer"
  22070. },
  22071. "wrstandardcode": {
  22072. "description": "现货品类代码",
  22073. "type": "string"
  22074. },
  22075. "wrstandardid": {
  22076. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22077. "type": "integer"
  22078. },
  22079. "wrstandardname": {
  22080. "description": "现货品类名称",
  22081. "type": "string"
  22082. }
  22083. }
  22084. },
  22085. "models.Warehouseinfo": {
  22086. "type": "object",
  22087. "required": [
  22088. "autoid",
  22089. "warehousecode"
  22090. ],
  22091. "properties": {
  22092. "address": {
  22093. "description": "详细地址",
  22094. "type": "string"
  22095. },
  22096. "areauserid": {
  22097. "description": "所属机构",
  22098. "type": "integer"
  22099. },
  22100. "autoid": {
  22101. "description": "自增ID",
  22102. "type": "integer"
  22103. },
  22104. "cityid": {
  22105. "description": "市",
  22106. "type": "integer"
  22107. },
  22108. "contactname": {
  22109. "description": "联系人",
  22110. "type": "string"
  22111. },
  22112. "contactnum": {
  22113. "description": "联系电话",
  22114. "type": "string"
  22115. },
  22116. "countryid": {
  22117. "description": "国家",
  22118. "type": "integer"
  22119. },
  22120. "createtime": {
  22121. "description": "创建时间",
  22122. "type": "string"
  22123. },
  22124. "districtid": {
  22125. "description": "区",
  22126. "type": "integer"
  22127. },
  22128. "hasvideo": {
  22129. "description": "是否有视频 - 0:无 1:有",
  22130. "type": "integer"
  22131. },
  22132. "provinceid": {
  22133. "description": "省",
  22134. "type": "integer"
  22135. },
  22136. "remark": {
  22137. "description": "审核备注",
  22138. "type": "string"
  22139. },
  22140. "videourl": {
  22141. "description": "视频地址",
  22142. "type": "string"
  22143. },
  22144. "warehousecode": {
  22145. "description": "仓库代码",
  22146. "type": "string"
  22147. },
  22148. "warehousename": {
  22149. "description": "仓库名称",
  22150. "type": "string"
  22151. },
  22152. "warehousestatus": {
  22153. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22154. "type": "integer"
  22155. },
  22156. "warehousetype": {
  22157. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22158. "type": "integer"
  22159. }
  22160. }
  22161. },
  22162. "order.QueryHisTradeDetailRsp": {
  22163. "type": "object",
  22164. "required": [
  22165. "accountid",
  22166. "buyorsell",
  22167. "goodsid",
  22168. "histradedate",
  22169. "marketid",
  22170. "memberuserid",
  22171. "orderid",
  22172. "tradeamount",
  22173. "tradedate",
  22174. "tradeid",
  22175. "tradeprice",
  22176. "tradeqty",
  22177. "tradetime"
  22178. ],
  22179. "properties": {
  22180. "accountid": {
  22181. "description": "账户ID[报价币种]",
  22182. "type": "integer"
  22183. },
  22184. "buildtype": {
  22185. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22186. "type": "integer"
  22187. },
  22188. "buyorsell": {
  22189. "description": "方向 - 0:买 1:卖",
  22190. "type": "integer"
  22191. },
  22192. "charge": {
  22193. "description": "手续费",
  22194. "type": "number"
  22195. },
  22196. "closecharge": {
  22197. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22198. "type": "number"
  22199. },
  22200. "closeexchagechargevalue": {
  22201. "description": "平仓交易所手续费设置值",
  22202. "type": "number"
  22203. },
  22204. "closefeealgorithm": {
  22205. "description": "平仓手续费收取方式 1:比率 2:固定",
  22206. "type": "integer"
  22207. },
  22208. "closememberchargevalue": {
  22209. "description": "平仓会员手续费设置值",
  22210. "type": "number"
  22211. },
  22212. "closepl": {
  22213. "description": "平仓盈亏",
  22214. "type": "number"
  22215. },
  22216. "closepl2": {
  22217. "description": "平仓盈亏[逐笔]",
  22218. "type": "number"
  22219. },
  22220. "closeqty": {
  22221. "description": "平仓数量(先建后平操作 需要记录)",
  22222. "type": "integer"
  22223. },
  22224. "creditamount": {
  22225. "description": "授信金额",
  22226. "type": "number"
  22227. },
  22228. "gcaccountid": {
  22229. "description": "账户ID[合约币种]",
  22230. "type": "integer"
  22231. },
  22232. "goodscode": {
  22233. "description": "商品代码",
  22234. "type": "string"
  22235. },
  22236. "goodsid": {
  22237. "description": "商品ID",
  22238. "type": "integer"
  22239. },
  22240. "goodsname": {
  22241. "description": "商品名称",
  22242. "type": "string"
  22243. },
  22244. "histradedate": {
  22245. "description": "历史交易日",
  22246. "type": "string"
  22247. },
  22248. "intclosepl": {
  22249. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22250. "type": "integer"
  22251. },
  22252. "isconfirmexercise": {
  22253. "description": "是否确认行权- 0:否 1:是",
  22254. "type": "integer"
  22255. },
  22256. "ismain": {
  22257. "description": "是否主单 - 0:不是 1:是",
  22258. "type": "integer"
  22259. },
  22260. "ispreexercise": {
  22261. "description": "是否预申报- 0:否 1:是",
  22262. "type": "integer"
  22263. },
  22264. "isreckoned": {
  22265. "description": "是否结算 - 0:未结算 1:已结算",
  22266. "type": "integer"
  22267. },
  22268. "isvaliddata": {
  22269. "description": "是否有效 - 0:无效 1:有效",
  22270. "type": "integer"
  22271. },
  22272. "listingselecttype": {
  22273. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22274. "type": "integer"
  22275. },
  22276. "marketid": {
  22277. "description": "市场ID",
  22278. "type": "integer"
  22279. },
  22280. "marketname": {
  22281. "description": "市场名称",
  22282. "type": "string"
  22283. },
  22284. "matchaccountid": {
  22285. "description": "对手账号id",
  22286. "type": "integer"
  22287. },
  22288. "memberuserid": {
  22289. "description": "会员id 个人投资者 需要填写",
  22290. "type": "integer"
  22291. },
  22292. "opencharge": {
  22293. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22294. "type": "number"
  22295. },
  22296. "openexchagechargevalue": {
  22297. "description": "建仓交易所手续费设置值",
  22298. "type": "number"
  22299. },
  22300. "openfeealgorithm": {
  22301. "description": "建仓手续费收取方式 1:比率 2:固定",
  22302. "type": "integer"
  22303. },
  22304. "openmemberchargevalue": {
  22305. "description": "建仓会员手续费设置值",
  22306. "type": "number"
  22307. },
  22308. "openqty": {
  22309. "description": "开仓数量(先建后平操作 需要记录)",
  22310. "type": "integer"
  22311. },
  22312. "optiontype": {
  22313. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22314. "type": "integer"
  22315. },
  22316. "orderid": {
  22317. "description": "委托单号",
  22318. "type": "string"
  22319. },
  22320. "performanceplanid": {
  22321. "description": "履约计划ID[期权]",
  22322. "type": "integer"
  22323. },
  22324. "performancestatus": {
  22325. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22326. "type": "integer"
  22327. },
  22328. "preexerciseprice": {
  22329. "description": "预申报价格",
  22330. "type": "number"
  22331. },
  22332. "premium": {
  22333. "description": "权利金 - [持仓单的权利金]",
  22334. "type": "number"
  22335. },
  22336. "relatedouttradeid": {
  22337. "description": "关联外部成交单ID",
  22338. "type": "integer"
  22339. },
  22340. "status": {
  22341. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22342. "type": "integer"
  22343. },
  22344. "tradeamount": {
  22345. "description": "成交金额[账户币种,用于所有权]",
  22346. "type": "number"
  22347. },
  22348. "tradedate": {
  22349. "description": "交易日(yyyyMMdd)",
  22350. "type": "string"
  22351. },
  22352. "tradeid": {
  22353. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22354. "type": "string"
  22355. },
  22356. "trademode": {
  22357. "description": "交易模式",
  22358. "type": "integer"
  22359. },
  22360. "tradeprice": {
  22361. "description": "成交价格",
  22362. "type": "number"
  22363. },
  22364. "tradeproperty": {
  22365. "description": "交易属性",
  22366. "type": "integer"
  22367. },
  22368. "tradeqty": {
  22369. "description": "成交数量",
  22370. "type": "integer"
  22371. },
  22372. "tradetime": {
  22373. "description": "成交时间",
  22374. "type": "string"
  22375. },
  22376. "tradetype": {
  22377. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22378. "type": "integer"
  22379. }
  22380. }
  22381. },
  22382. "order.QueryHisTradeOrderDetailRsp": {
  22383. "type": "object",
  22384. "required": [
  22385. "accountid",
  22386. "buildtype",
  22387. "buyorsell",
  22388. "goodsid",
  22389. "histradedate",
  22390. "marketid",
  22391. "memberuserid",
  22392. "operatetype",
  22393. "orderid",
  22394. "orderqty",
  22395. "ordertime",
  22396. "pricemode",
  22397. "tradedate",
  22398. "validtype"
  22399. ],
  22400. "properties": {
  22401. "accountid": {
  22402. "description": "账户ID[报价币种]",
  22403. "type": "integer"
  22404. },
  22405. "buildtype": {
  22406. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22407. "type": "integer"
  22408. },
  22409. "buyorsell": {
  22410. "description": "买卖 - 0:买 1:卖",
  22411. "type": "integer"
  22412. },
  22413. "cancelorderid": {
  22414. "description": "撤单单号(撤单时填写)",
  22415. "type": "string"
  22416. },
  22417. "cancelqty": {
  22418. "description": "撤单数量",
  22419. "type": "integer"
  22420. },
  22421. "clientordertime": {
  22422. "description": "客户端委托时间",
  22423. "type": "string"
  22424. },
  22425. "clientticket": {
  22426. "description": "客户端流水号",
  22427. "type": "string"
  22428. },
  22429. "clienttype": {
  22430. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22431. "type": "integer"
  22432. },
  22433. "closeexchagechargevalue": {
  22434. "description": "平仓交易所手续费设置值",
  22435. "type": "number"
  22436. },
  22437. "closefeealgorithm": {
  22438. "description": "平仓手续费收取方式 1:比率 2:固定",
  22439. "type": "integer"
  22440. },
  22441. "closefreezecharge": {
  22442. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22443. "type": "number"
  22444. },
  22445. "closememberchargevalue": {
  22446. "description": "平仓会员手续费设置值",
  22447. "type": "number"
  22448. },
  22449. "closeqty": {
  22450. "description": "平仓数量(先建后平操作 需要记录)",
  22451. "type": "integer"
  22452. },
  22453. "closetradeqty": {
  22454. "description": "平仓成交数量(先建后平操作,需要记录)",
  22455. "type": "integer"
  22456. },
  22457. "closeunfreezecharge": {
  22458. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22459. "type": "number"
  22460. },
  22461. "delistingtype": {
  22462. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22463. "type": "integer"
  22464. },
  22465. "freezecharge": {
  22466. "description": "冻结手续费",
  22467. "type": "number"
  22468. },
  22469. "freezemargin": {
  22470. "description": "冻结保证金(冻结交易金额)",
  22471. "type": "number"
  22472. },
  22473. "gcaccountid": {
  22474. "description": "账户ID[合约币种]",
  22475. "type": "integer"
  22476. },
  22477. "goodscode": {
  22478. "description": "商品代码",
  22479. "type": "string"
  22480. },
  22481. "goodsid": {
  22482. "description": "商品ID",
  22483. "type": "integer"
  22484. },
  22485. "goodsname": {
  22486. "description": "商品名称",
  22487. "type": "string"
  22488. },
  22489. "histradedate": {
  22490. "description": "历史交易日",
  22491. "type": "string"
  22492. },
  22493. "isconfirmexercise": {
  22494. "description": "是否确认行权- 0:否 1:是",
  22495. "type": "integer"
  22496. },
  22497. "ispreexercise": {
  22498. "description": "是否预申报- 0:否 1:是",
  22499. "type": "integer"
  22500. },
  22501. "isvaliddata": {
  22502. "description": "是否有效 - 0:无效 1:有效",
  22503. "type": "integer"
  22504. },
  22505. "listingselecttype": {
  22506. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22507. "type": "integer"
  22508. },
  22509. "marginalgorithm": {
  22510. "description": "保证金收取方式 1:比率 2:固定",
  22511. "type": "integer"
  22512. },
  22513. "marginvalue": {
  22514. "description": "即市保证金设置值",
  22515. "type": "number"
  22516. },
  22517. "marketid": {
  22518. "description": "市场ID",
  22519. "type": "integer"
  22520. },
  22521. "marketmaxsub": {
  22522. "description": "市价最大偏移范围",
  22523. "type": "number"
  22524. },
  22525. "marketname": {
  22526. "description": "市场名称",
  22527. "type": "string"
  22528. },
  22529. "memberuserid": {
  22530. "description": "所属会员UserID",
  22531. "type": "integer"
  22532. },
  22533. "openexchagechargevalue": {
  22534. "description": "建仓交易所手续费设置值",
  22535. "type": "number"
  22536. },
  22537. "openfeealgorithm": {
  22538. "description": "建仓手续费收取方式 1:比率 2:固定",
  22539. "type": "integer"
  22540. },
  22541. "openfreezecharge": {
  22542. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22543. "type": "number"
  22544. },
  22545. "openmemberchargevalue": {
  22546. "description": "建仓会员手续费设置值",
  22547. "type": "number"
  22548. },
  22549. "openqty": {
  22550. "description": "开仓数量(先建后平操作,需要记录)",
  22551. "type": "integer"
  22552. },
  22553. "opentradeqty": {
  22554. "description": "开仓成交数量(先建后平操作,需要记录)",
  22555. "type": "integer"
  22556. },
  22557. "openunfreezecharge": {
  22558. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22559. "type": "number"
  22560. },
  22561. "operatetype": {
  22562. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  22563. "type": "integer"
  22564. },
  22565. "operatorid": {
  22566. "description": "登录账号(LoginID)",
  22567. "type": "integer"
  22568. },
  22569. "optiontype": {
  22570. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22571. "type": "integer"
  22572. },
  22573. "orderid": {
  22574. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22575. "type": "string"
  22576. },
  22577. "orderprice": {
  22578. "description": "委托价格",
  22579. "type": "number"
  22580. },
  22581. "orderqty": {
  22582. "description": "委托数量",
  22583. "type": "integer"
  22584. },
  22585. "ordersrc": {
  22586. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  22587. "type": "integer"
  22588. },
  22589. "orderstatus": {
  22590. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  22591. "type": "integer"
  22592. },
  22593. "ordertime": {
  22594. "description": "委托时间",
  22595. "type": "string"
  22596. },
  22597. "preexerciseprice": {
  22598. "description": "预申报价格",
  22599. "type": "number"
  22600. },
  22601. "premium": {
  22602. "description": "权利金",
  22603. "type": "number"
  22604. },
  22605. "preorderid": {
  22606. "description": "关联预埋单号(止盈止损单时填写)",
  22607. "type": "string"
  22608. },
  22609. "pricemode": {
  22610. "description": "取价方式 - 1:市价 2: 限价",
  22611. "type": "integer"
  22612. },
  22613. "quoteid": {
  22614. "description": "报价单ID",
  22615. "type": "integer"
  22616. },
  22617. "relatedid": {
  22618. "description": "关联单号(交割单)",
  22619. "type": "string"
  22620. },
  22621. "retcode": {
  22622. "description": "错误代码",
  22623. "type": "integer"
  22624. },
  22625. "sessionid": {
  22626. "description": "会话ID",
  22627. "type": "integer"
  22628. },
  22629. "tradedate": {
  22630. "description": "交易日(yyyyMMdd)",
  22631. "type": "string"
  22632. },
  22633. "trademode": {
  22634. "description": "交易模式",
  22635. "type": "integer"
  22636. },
  22637. "tradeproperty": {
  22638. "description": "交易属性",
  22639. "type": "integer"
  22640. },
  22641. "tradeqty": {
  22642. "description": "成交数量",
  22643. "type": "integer"
  22644. },
  22645. "unfreezecharge": {
  22646. "description": "解冻手续费",
  22647. "type": "number"
  22648. },
  22649. "unfreezemargin": {
  22650. "description": "解冻保证金",
  22651. "type": "number"
  22652. },
  22653. "updatetime": {
  22654. "description": "更新时间",
  22655. "type": "string"
  22656. },
  22657. "uuid": {
  22658. "description": "发起端唯一id",
  22659. "type": "string"
  22660. },
  22661. "validtime": {
  22662. "description": "有效期限",
  22663. "type": "string"
  22664. },
  22665. "validtype": {
  22666. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  22667. "type": "integer"
  22668. },
  22669. "volumetype": {
  22670. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  22671. "type": "integer"
  22672. }
  22673. }
  22674. },
  22675. "order.QueryTradeDetailRsp": {
  22676. "type": "object",
  22677. "required": [
  22678. "accountid",
  22679. "buyorsell",
  22680. "goodsid",
  22681. "marketid",
  22682. "memberuserid",
  22683. "orderid",
  22684. "tradeamount",
  22685. "tradedate",
  22686. "tradeid",
  22687. "tradeprice",
  22688. "tradeqty",
  22689. "tradetime"
  22690. ],
  22691. "properties": {
  22692. "accountid": {
  22693. "description": "账户ID[报价币种]",
  22694. "type": "integer"
  22695. },
  22696. "buildtype": {
  22697. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22698. "type": "integer"
  22699. },
  22700. "buyorsell": {
  22701. "description": "方向 - 0:买 1:卖",
  22702. "type": "integer"
  22703. },
  22704. "charge": {
  22705. "description": "手续费",
  22706. "type": "number"
  22707. },
  22708. "closecharge": {
  22709. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22710. "type": "number"
  22711. },
  22712. "closeexchagechargevalue": {
  22713. "description": "平仓交易所手续费设置值",
  22714. "type": "number"
  22715. },
  22716. "closefeealgorithm": {
  22717. "description": "平仓手续费收取方式 1:比率 2:固定",
  22718. "type": "integer"
  22719. },
  22720. "closememberchargevalue": {
  22721. "description": "平仓会员手续费设置值",
  22722. "type": "number"
  22723. },
  22724. "closepl": {
  22725. "description": "平仓盈亏",
  22726. "type": "number"
  22727. },
  22728. "closepl2": {
  22729. "description": "平仓盈亏[逐笔]",
  22730. "type": "number"
  22731. },
  22732. "closeqty": {
  22733. "description": "平仓数量(先建后平操作 需要记录)",
  22734. "type": "integer"
  22735. },
  22736. "creditamount": {
  22737. "description": "授信金额",
  22738. "type": "number"
  22739. },
  22740. "gcaccountid": {
  22741. "description": "账户ID[合约币种]",
  22742. "type": "integer"
  22743. },
  22744. "goodscode": {
  22745. "description": "商品代码",
  22746. "type": "string"
  22747. },
  22748. "goodsid": {
  22749. "description": "商品ID",
  22750. "type": "integer"
  22751. },
  22752. "goodsname": {
  22753. "description": "商品名称",
  22754. "type": "string"
  22755. },
  22756. "intclosepl": {
  22757. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22758. "type": "integer"
  22759. },
  22760. "isconfirmexercise": {
  22761. "description": "是否确认行权- 0:否 1:是",
  22762. "type": "integer"
  22763. },
  22764. "ismain": {
  22765. "description": "是否主单 - 0:不是 1:是",
  22766. "type": "integer"
  22767. },
  22768. "ispreexercise": {
  22769. "description": "是否预申报- 0:否 1:是",
  22770. "type": "integer"
  22771. },
  22772. "isreckoned": {
  22773. "description": "是否结算 - 0:未结算 1:已结算",
  22774. "type": "integer"
  22775. },
  22776. "listingselecttype": {
  22777. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22778. "type": "integer"
  22779. },
  22780. "marketid": {
  22781. "description": "市场ID",
  22782. "type": "integer"
  22783. },
  22784. "marketname": {
  22785. "description": "市场名称",
  22786. "type": "string"
  22787. },
  22788. "matchaccountid": {
  22789. "description": "对手账号id",
  22790. "type": "integer"
  22791. },
  22792. "memberuserid": {
  22793. "description": "会员id 个人投资者 需要填写",
  22794. "type": "integer"
  22795. },
  22796. "opencharge": {
  22797. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22798. "type": "number"
  22799. },
  22800. "openexchagechargevalue": {
  22801. "description": "建仓交易所手续费设置值",
  22802. "type": "number"
  22803. },
  22804. "openfeealgorithm": {
  22805. "description": "建仓手续费收取方式 1:比率 2:固定",
  22806. "type": "integer"
  22807. },
  22808. "openmemberchargevalue": {
  22809. "description": "建仓会员手续费设置值",
  22810. "type": "number"
  22811. },
  22812. "openqty": {
  22813. "description": "开仓数量(先建后平操作 需要记录)",
  22814. "type": "integer"
  22815. },
  22816. "optiontype": {
  22817. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  22818. "type": "integer"
  22819. },
  22820. "orderid": {
  22821. "description": "委托单号",
  22822. "type": "string"
  22823. },
  22824. "performanceplanid": {
  22825. "description": "履约计划ID[期权]",
  22826. "type": "integer"
  22827. },
  22828. "performancestatus": {
  22829. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  22830. "type": "integer"
  22831. },
  22832. "preexerciseprice": {
  22833. "description": "预申报价格",
  22834. "type": "number"
  22835. },
  22836. "premium": {
  22837. "description": "权利金 - [持仓单的权利金]",
  22838. "type": "number"
  22839. },
  22840. "relatedouttradeid": {
  22841. "description": "关联外部成交单ID",
  22842. "type": "integer"
  22843. },
  22844. "status": {
  22845. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  22846. "type": "integer"
  22847. },
  22848. "tradeamount": {
  22849. "description": "成交金额[账户币种,用于所有权]",
  22850. "type": "number"
  22851. },
  22852. "tradedate": {
  22853. "description": "交易日(yyyyMMdd)",
  22854. "type": "string"
  22855. },
  22856. "tradeid": {
  22857. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22858. "type": "string"
  22859. },
  22860. "trademode": {
  22861. "description": "交易模式",
  22862. "type": "integer"
  22863. },
  22864. "tradeprice": {
  22865. "description": "成交价格",
  22866. "type": "number"
  22867. },
  22868. "tradeproperty": {
  22869. "description": "交易属性",
  22870. "type": "integer"
  22871. },
  22872. "tradeqty": {
  22873. "description": "成交数量",
  22874. "type": "integer"
  22875. },
  22876. "tradetime": {
  22877. "description": "成交时间",
  22878. "type": "string"
  22879. },
  22880. "tradetype": {
  22881. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  22882. "type": "integer"
  22883. }
  22884. }
  22885. },
  22886. "order.QueryTradeOrderDetailRsp": {
  22887. "type": "object",
  22888. "required": [
  22889. "accountid",
  22890. "buildtype",
  22891. "buyorsell",
  22892. "goodsid",
  22893. "marketid",
  22894. "operatetype",
  22895. "orderqty",
  22896. "ordertime",
  22897. "pricemode",
  22898. "tradedate",
  22899. "validtype"
  22900. ],
  22901. "properties": {
  22902. "accountid": {
  22903. "description": "账户ID[报价币种]",
  22904. "type": "integer"
  22905. },
  22906. "buildtype": {
  22907. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  22908. "type": "integer"
  22909. },
  22910. "buyorsell": {
  22911. "description": "买卖 - 0:买 1:卖",
  22912. "type": "integer"
  22913. },
  22914. "cancelorderid": {
  22915. "description": "撤单单号(撤单时填写)",
  22916. "type": "string"
  22917. },
  22918. "cancelqty": {
  22919. "description": "撤单数量",
  22920. "type": "integer"
  22921. },
  22922. "clienttype": {
  22923. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  22924. "type": "integer"
  22925. },
  22926. "closefreezecharge": {
  22927. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  22928. "type": "number"
  22929. },
  22930. "closeqty": {
  22931. "description": "平仓数量(先建后平操作 需要记录)",
  22932. "type": "integer"
  22933. },
  22934. "closetradeqty": {
  22935. "description": "平仓成交数量(先建后平操作,需要记录)",
  22936. "type": "integer"
  22937. },
  22938. "closeunfreezecharge": {
  22939. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  22940. "type": "number"
  22941. },
  22942. "delistingtype": {
  22943. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  22944. "type": "integer"
  22945. },
  22946. "enableqty": {
  22947. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  22948. "type": "integer"
  22949. },
  22950. "freezecharge": {
  22951. "description": "冻结手续费",
  22952. "type": "number"
  22953. },
  22954. "freezemargin": {
  22955. "description": "冻结保证金(冻结交易金额)",
  22956. "type": "number"
  22957. },
  22958. "goodscode": {
  22959. "description": "商品代码",
  22960. "type": "string"
  22961. },
  22962. "goodsid": {
  22963. "description": "商品ID",
  22964. "type": "integer"
  22965. },
  22966. "goodsname": {
  22967. "description": "商品名称",
  22968. "type": "string"
  22969. },
  22970. "listingselecttype": {
  22971. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22972. "type": "integer"
  22973. },
  22974. "marketid": {
  22975. "description": "市场ID",
  22976. "type": "integer"
  22977. },
  22978. "marketname": {
  22979. "description": "市场名称",
  22980. "type": "string"
  22981. },
  22982. "openfreezecharge": {
  22983. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  22984. "type": "number"
  22985. },
  22986. "openqty": {
  22987. "description": "开仓数量(先建后平操作,需要记录)",
  22988. "type": "integer"
  22989. },
  22990. "opentradeqty": {
  22991. "description": "开仓成交数量(先建后平操作,需要记录)",
  22992. "type": "integer"
  22993. },
  22994. "openunfreezecharge": {
  22995. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  22996. "type": "number"
  22997. },
  22998. "operatetype": {
  22999. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23000. "type": "integer"
  23001. },
  23002. "operatorid": {
  23003. "description": "登录账号(LoginID)",
  23004. "type": "integer"
  23005. },
  23006. "orderid": {
  23007. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23008. "type": "string"
  23009. },
  23010. "orderprice": {
  23011. "description": "委托价格",
  23012. "type": "number"
  23013. },
  23014. "orderqty": {
  23015. "description": "委托数量",
  23016. "type": "integer"
  23017. },
  23018. "ordersrc": {
  23019. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23020. "type": "integer"
  23021. },
  23022. "orderstatus": {
  23023. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23024. "type": "integer"
  23025. },
  23026. "ordertime": {
  23027. "description": "委托时间",
  23028. "type": "string"
  23029. },
  23030. "preorderid": {
  23031. "description": "关联预埋单号(止盈止损单时填写)",
  23032. "type": "string"
  23033. },
  23034. "pricemode": {
  23035. "description": "取价方式 - 1:市价 2: 限价",
  23036. "type": "integer"
  23037. },
  23038. "relatedid": {
  23039. "description": "关联单号(交割单)",
  23040. "type": "string"
  23041. },
  23042. "tradedate": {
  23043. "description": "交易日(yyyyMMdd)",
  23044. "type": "string"
  23045. },
  23046. "trademode": {
  23047. "description": "交易模式",
  23048. "type": "integer"
  23049. },
  23050. "tradeqty": {
  23051. "description": "成交数量",
  23052. "type": "integer"
  23053. },
  23054. "unfreezecharge": {
  23055. "description": "解冻手续费",
  23056. "type": "number"
  23057. },
  23058. "unfreezemargin": {
  23059. "description": "解冻保证金",
  23060. "type": "number"
  23061. },
  23062. "validtime": {
  23063. "description": "有效期限",
  23064. "type": "string"
  23065. },
  23066. "validtype": {
  23067. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23068. "type": "integer"
  23069. },
  23070. "volumetype": {
  23071. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23072. "type": "integer"
  23073. }
  23074. }
  23075. },
  23076. "order.QueryTradePositionRsp": {
  23077. "type": "object",
  23078. "required": [
  23079. "goodsid"
  23080. ],
  23081. "properties": {
  23082. "accountid": {
  23083. "description": "资金账户",
  23084. "type": "integer"
  23085. },
  23086. "agreeunit": {
  23087. "description": "合约单位",
  23088. "type": "number"
  23089. },
  23090. "averageprice": {
  23091. "description": "持仓均价",
  23092. "type": "number"
  23093. },
  23094. "buyorsell": {
  23095. "description": "方向 - 0:买 1:卖",
  23096. "type": "integer"
  23097. },
  23098. "closetotalqty": {
  23099. "description": "平仓总数量",
  23100. "type": "integer"
  23101. },
  23102. "curholderamount": {
  23103. "description": "当前持仓总金额[商品币种]",
  23104. "type": "number"
  23105. },
  23106. "curpositionqty": {
  23107. "description": "当前持仓总数量",
  23108. "type": "integer"
  23109. },
  23110. "currencyid": {
  23111. "description": "报价货币ID",
  23112. "type": "integer"
  23113. },
  23114. "curtdposition": {
  23115. "description": "期末今日头寸",
  23116. "type": "integer"
  23117. },
  23118. "decimalplace": {
  23119. "description": "报价小数位",
  23120. "type": "integer"
  23121. },
  23122. "enableqty": {
  23123. "description": "可用量",
  23124. "type": "integer"
  23125. },
  23126. "fretdposition": {
  23127. "description": "冻结今日头寸",
  23128. "type": "integer"
  23129. },
  23130. "frozenqty": {
  23131. "description": "持仓冻结数量",
  23132. "type": "integer"
  23133. },
  23134. "goodscode": {
  23135. "description": "商品代码",
  23136. "type": "string"
  23137. },
  23138. "goodsid": {
  23139. "description": "商品Id",
  23140. "type": "integer"
  23141. },
  23142. "goodsname": {
  23143. "description": "商品名称",
  23144. "type": "string"
  23145. },
  23146. "goodunit": {
  23147. "description": "报价单位",
  23148. "type": "string"
  23149. },
  23150. "goodunitid": {
  23151. "description": "报价单位ID",
  23152. "type": "integer"
  23153. },
  23154. "holderamount": {
  23155. "description": "期初持仓总金额[商品币种]",
  23156. "type": "number"
  23157. },
  23158. "marketid": {
  23159. "description": "所属市场ID",
  23160. "type": "integer"
  23161. },
  23162. "openreqqty": {
  23163. "description": "开仓申请数量(用于比较最大持仓数量)",
  23164. "type": "integer"
  23165. },
  23166. "opentotalqty": {
  23167. "description": "开仓总数量",
  23168. "type": "integer"
  23169. },
  23170. "otherfrozenqty": {
  23171. "description": "持仓其他冻结数量(交割冻结)",
  23172. "type": "integer"
  23173. },
  23174. "positionqty": {
  23175. "description": "期初持仓数量",
  23176. "type": "integer"
  23177. },
  23178. "tnqty": {
  23179. "description": "T+N冻结总量",
  23180. "type": "integer"
  23181. },
  23182. "tnusedqty": {
  23183. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23184. "type": "integer"
  23185. },
  23186. "trademode": {
  23187. "description": "交易模式",
  23188. "type": "integer"
  23189. },
  23190. "usedmargin": {
  23191. "description": "占用保证金[商品币种]",
  23192. "type": "number"
  23193. }
  23194. }
  23195. },
  23196. "quote.HistoryData": {
  23197. "type": "object",
  23198. "properties": {
  23199. "c": {
  23200. "description": "收盘价",
  23201. "type": "number"
  23202. },
  23203. "f": {
  23204. "description": "是否补充数据",
  23205. "type": "boolean"
  23206. },
  23207. "h": {
  23208. "description": "最高价",
  23209. "type": "number"
  23210. },
  23211. "hv": {
  23212. "description": "持仓量",
  23213. "type": "integer"
  23214. },
  23215. "l": {
  23216. "description": "最低价",
  23217. "type": "number"
  23218. },
  23219. "o": {
  23220. "description": "开盘价",
  23221. "type": "number"
  23222. },
  23223. "s": {
  23224. "description": "结算价,日线周期(包括)以上才有",
  23225. "type": "number"
  23226. },
  23227. "ts": {
  23228. "description": "时间",
  23229. "type": "string"
  23230. },
  23231. "tt": {
  23232. "description": "总金额",
  23233. "type": "number"
  23234. },
  23235. "tv": {
  23236. "description": "总量",
  23237. "type": "integer"
  23238. }
  23239. }
  23240. },
  23241. "quote.HistoryTikData": {
  23242. "type": "object",
  23243. "properties": {
  23244. "AV": {
  23245. "description": "卖量",
  23246. "type": "integer"
  23247. },
  23248. "Ask": {
  23249. "description": "卖价",
  23250. "type": "number"
  23251. },
  23252. "BV": {
  23253. "description": "买量",
  23254. "type": "integer"
  23255. },
  23256. "Bid": {
  23257. "description": "买价",
  23258. "type": "number"
  23259. },
  23260. "HI": {
  23261. "description": "单笔持仓",
  23262. "type": "integer"
  23263. },
  23264. "HV": {
  23265. "description": "持仓量",
  23266. "type": "integer"
  23267. },
  23268. "PE": {
  23269. "description": "现价",
  23270. "type": "number"
  23271. },
  23272. "TDR": {
  23273. "description": "交易方向,0:买 1:卖",
  23274. "type": "integer"
  23275. },
  23276. "TK": {
  23277. "description": "交易类型",
  23278. "type": "integer"
  23279. },
  23280. "TS": {
  23281. "description": "行情时间文本",
  23282. "type": "string"
  23283. },
  23284. "TT": {
  23285. "description": "现金额",
  23286. "type": "number"
  23287. },
  23288. "Vol": {
  23289. "description": "现量",
  23290. "type": "integer"
  23291. }
  23292. }
  23293. },
  23294. "quote.QueryQuoteDayRsp": {
  23295. "type": "object",
  23296. "properties": {
  23297. "ask": {
  23298. "description": "卖1",
  23299. "type": "number"
  23300. },
  23301. "ask10": {
  23302. "description": "卖10",
  23303. "type": "number"
  23304. },
  23305. "ask2": {
  23306. "description": "卖2",
  23307. "type": "number"
  23308. },
  23309. "ask3": {
  23310. "description": "卖3",
  23311. "type": "number"
  23312. },
  23313. "ask4": {
  23314. "description": "卖4",
  23315. "type": "number"
  23316. },
  23317. "ask5": {
  23318. "description": "卖5",
  23319. "type": "number"
  23320. },
  23321. "ask6": {
  23322. "description": "卖6",
  23323. "type": "number"
  23324. },
  23325. "ask7": {
  23326. "description": "卖7",
  23327. "type": "number"
  23328. },
  23329. "ask8": {
  23330. "description": "卖8",
  23331. "type": "number"
  23332. },
  23333. "ask9": {
  23334. "description": "卖9",
  23335. "type": "number"
  23336. },
  23337. "askorderid": {
  23338. "description": "卖单号1",
  23339. "type": "integer"
  23340. },
  23341. "askorderid2": {
  23342. "description": "卖单号2",
  23343. "type": "integer"
  23344. },
  23345. "askorderid3": {
  23346. "description": "卖单号3",
  23347. "type": "integer"
  23348. },
  23349. "askorderid4": {
  23350. "description": "卖单号4",
  23351. "type": "integer"
  23352. },
  23353. "askorderid5": {
  23354. "description": "卖单号5",
  23355. "type": "integer"
  23356. },
  23357. "askordervolume": {
  23358. "description": "卖单量1",
  23359. "type": "integer"
  23360. },
  23361. "askordervolume10": {
  23362. "description": "卖单量10",
  23363. "type": "integer"
  23364. },
  23365. "askordervolume2": {
  23366. "description": "卖单量2",
  23367. "type": "integer"
  23368. },
  23369. "askordervolume3": {
  23370. "description": "卖单量3",
  23371. "type": "integer"
  23372. },
  23373. "askordervolume4": {
  23374. "description": "卖单量4",
  23375. "type": "integer"
  23376. },
  23377. "askordervolume5": {
  23378. "description": "卖单量5",
  23379. "type": "integer"
  23380. },
  23381. "askordervolume6": {
  23382. "description": "卖单量6",
  23383. "type": "integer"
  23384. },
  23385. "askordervolume7": {
  23386. "description": "卖单量7",
  23387. "type": "integer"
  23388. },
  23389. "askordervolume8": {
  23390. "description": "卖单量8",
  23391. "type": "integer"
  23392. },
  23393. "askordervolume9": {
  23394. "description": "卖单量9",
  23395. "type": "integer"
  23396. },
  23397. "askqueueinfo": {
  23398. "description": "大利市卖港股用",
  23399. "type": "string"
  23400. },
  23401. "askvolume": {
  23402. "description": "卖量1",
  23403. "type": "integer"
  23404. },
  23405. "askvolume10": {
  23406. "description": "卖量10",
  23407. "type": "integer"
  23408. },
  23409. "askvolume2": {
  23410. "description": "卖量2",
  23411. "type": "integer"
  23412. },
  23413. "askvolume3": {
  23414. "description": "卖量3",
  23415. "type": "integer"
  23416. },
  23417. "askvolume4": {
  23418. "description": "卖量4",
  23419. "type": "integer"
  23420. },
  23421. "askvolume5": {
  23422. "description": "卖量5",
  23423. "type": "integer"
  23424. },
  23425. "askvolume6": {
  23426. "description": "卖量6",
  23427. "type": "integer"
  23428. },
  23429. "askvolume7": {
  23430. "description": "卖量7",
  23431. "type": "integer"
  23432. },
  23433. "askvolume8": {
  23434. "description": "卖量8",
  23435. "type": "integer"
  23436. },
  23437. "askvolume9": {
  23438. "description": "卖量9",
  23439. "type": "integer"
  23440. },
  23441. "averageprice": {
  23442. "description": "均价",
  23443. "type": "number"
  23444. },
  23445. "bid": {
  23446. "description": "买1",
  23447. "type": "number"
  23448. },
  23449. "bid10": {
  23450. "description": "买10",
  23451. "type": "number"
  23452. },
  23453. "bid2": {
  23454. "description": "买2",
  23455. "type": "number"
  23456. },
  23457. "bid3": {
  23458. "description": "买3",
  23459. "type": "number"
  23460. },
  23461. "bid4": {
  23462. "description": "买4",
  23463. "type": "number"
  23464. },
  23465. "bid5": {
  23466. "description": "买5",
  23467. "type": "number"
  23468. },
  23469. "bid6": {
  23470. "description": "买6",
  23471. "type": "number"
  23472. },
  23473. "bid7": {
  23474. "description": "买7",
  23475. "type": "number"
  23476. },
  23477. "bid8": {
  23478. "description": "买8",
  23479. "type": "number"
  23480. },
  23481. "bid9": {
  23482. "description": "买9",
  23483. "type": "number"
  23484. },
  23485. "bidorderid": {
  23486. "description": "买单号1",
  23487. "type": "integer"
  23488. },
  23489. "bidorderid2": {
  23490. "description": "买单号2",
  23491. "type": "integer"
  23492. },
  23493. "bidorderid3": {
  23494. "description": "买单号3",
  23495. "type": "integer"
  23496. },
  23497. "bidorderid4": {
  23498. "description": "买单号4",
  23499. "type": "integer"
  23500. },
  23501. "bidorderid5": {
  23502. "description": "买单号5",
  23503. "type": "integer"
  23504. },
  23505. "bidordervolume": {
  23506. "description": "买单量1",
  23507. "type": "integer"
  23508. },
  23509. "bidordervolume10": {
  23510. "description": "买单量10",
  23511. "type": "integer"
  23512. },
  23513. "bidordervolume2": {
  23514. "description": "买单量2",
  23515. "type": "integer"
  23516. },
  23517. "bidordervolume3": {
  23518. "description": "买单量3",
  23519. "type": "integer"
  23520. },
  23521. "bidordervolume4": {
  23522. "description": "买单量4",
  23523. "type": "integer"
  23524. },
  23525. "bidordervolume5": {
  23526. "description": "买单量5",
  23527. "type": "integer"
  23528. },
  23529. "bidordervolume6": {
  23530. "description": "买单量6",
  23531. "type": "integer"
  23532. },
  23533. "bidordervolume7": {
  23534. "description": "买单量7",
  23535. "type": "integer"
  23536. },
  23537. "bidordervolume8": {
  23538. "description": "买单量8",
  23539. "type": "integer"
  23540. },
  23541. "bidordervolume9": {
  23542. "description": "买单量9",
  23543. "type": "integer"
  23544. },
  23545. "bidqueueinfo": {
  23546. "description": "大利市买港股用",
  23547. "type": "string"
  23548. },
  23549. "bidvolume": {
  23550. "description": "买量1",
  23551. "type": "integer"
  23552. },
  23553. "bidvolume10": {
  23554. "description": "买量10",
  23555. "type": "integer"
  23556. },
  23557. "bidvolume2": {
  23558. "description": "买量2",
  23559. "type": "integer"
  23560. },
  23561. "bidvolume3": {
  23562. "description": "买量3",
  23563. "type": "integer"
  23564. },
  23565. "bidvolume4": {
  23566. "description": "买量4",
  23567. "type": "integer"
  23568. },
  23569. "bidvolume5": {
  23570. "description": "买量5",
  23571. "type": "integer"
  23572. },
  23573. "bidvolume6": {
  23574. "description": "买量6",
  23575. "type": "integer"
  23576. },
  23577. "bidvolume7": {
  23578. "description": "买量7",
  23579. "type": "integer"
  23580. },
  23581. "bidvolume8": {
  23582. "description": "买量8",
  23583. "type": "integer"
  23584. },
  23585. "bidvolume9": {
  23586. "description": "买量9",
  23587. "type": "integer"
  23588. },
  23589. "calloptionpremiums": {
  23590. "description": "认购期权1",
  23591. "type": "integer"
  23592. },
  23593. "calloptionpremiums2": {
  23594. "description": "认购期权2",
  23595. "type": "integer"
  23596. },
  23597. "calloptionpremiums3": {
  23598. "description": "认购期权3",
  23599. "type": "integer"
  23600. },
  23601. "calloptionpremiums4": {
  23602. "description": "认购期权4",
  23603. "type": "integer"
  23604. },
  23605. "calloptionpremiums5": {
  23606. "description": "认购期权5",
  23607. "type": "integer"
  23608. },
  23609. "cleartime": {
  23610. "description": "清盘时间",
  23611. "type": "integer"
  23612. },
  23613. "exchangecode": {
  23614. "description": "交易所代码",
  23615. "type": "integer"
  23616. },
  23617. "exchangedate": {
  23618. "description": "交易日",
  23619. "type": "integer"
  23620. },
  23621. "goodscode": {
  23622. "description": "商品代码",
  23623. "type": "string"
  23624. },
  23625. "grepmarketprice": {
  23626. "description": "暗盘价 港股专用",
  23627. "type": "number"
  23628. },
  23629. "highest": {
  23630. "description": "最高价",
  23631. "type": "number"
  23632. },
  23633. "holdincrement": {
  23634. "description": "单笔持仓",
  23635. "type": "integer"
  23636. },
  23637. "holdvolume": {
  23638. "description": "持仓",
  23639. "type": "integer"
  23640. },
  23641. "iep": {
  23642. "description": "平衡价 港股专用",
  23643. "type": "number"
  23644. },
  23645. "iev": {
  23646. "description": "平衡量 港股专用",
  23647. "type": "number"
  23648. },
  23649. "inventory": {
  23650. "description": "库存",
  23651. "type": "integer"
  23652. },
  23653. "iscleared": {
  23654. "description": "是否清盘标志",
  23655. "type": "integer"
  23656. },
  23657. "issettled": {
  23658. "description": "是否结算标志",
  23659. "type": "integer"
  23660. },
  23661. "last": {
  23662. "description": "最新价",
  23663. "type": "number"
  23664. },
  23665. "lastlot": {
  23666. "description": "最新成交手数",
  23667. "type": "integer"
  23668. },
  23669. "lasttime": {
  23670. "description": "行情时间(只有现价变化行情时间才变化)",
  23671. "type": "string"
  23672. },
  23673. "lastturnover": {
  23674. "description": "最新成交金额",
  23675. "type": "number"
  23676. },
  23677. "lastvolume": {
  23678. "description": "最新成交量",
  23679. "type": "integer"
  23680. },
  23681. "limitdown": {
  23682. "description": "跌停价",
  23683. "type": "number"
  23684. },
  23685. "limitup": {
  23686. "description": "涨停价",
  23687. "type": "number"
  23688. },
  23689. "lowest": {
  23690. "description": "最低价",
  23691. "type": "number"
  23692. },
  23693. "nontotalholdervolume": {
  23694. "description": "非交易持仓量",
  23695. "type": "integer"
  23696. },
  23697. "nontotallot": {
  23698. "description": "非交易总手数",
  23699. "type": "integer"
  23700. },
  23701. "nontotalturnover": {
  23702. "description": "非交易总金额",
  23703. "type": "integer"
  23704. },
  23705. "nontotalvolume": {
  23706. "description": "非交易总量",
  23707. "type": "integer"
  23708. },
  23709. "opened": {
  23710. "description": "开盘价",
  23711. "type": "number"
  23712. },
  23713. "opentime": {
  23714. "description": "开盘时间",
  23715. "type": "string"
  23716. },
  23717. "orderid": {
  23718. "description": "序号",
  23719. "type": "integer"
  23720. },
  23721. "preclose": {
  23722. "description": "昨收",
  23723. "type": "number"
  23724. },
  23725. "preholdvolume": {
  23726. "description": "昨持仓",
  23727. "type": "integer"
  23728. },
  23729. "presettle": {
  23730. "description": "昨结价",
  23731. "type": "number"
  23732. },
  23733. "publictradetype": {
  23734. "description": "公共交易标志类型 港股专用",
  23735. "type": "string"
  23736. },
  23737. "putoptionpremiums": {
  23738. "description": "认沽期权1",
  23739. "type": "integer"
  23740. },
  23741. "putoptionpremiums2": {
  23742. "description": "认沽期权2",
  23743. "type": "integer"
  23744. },
  23745. "putoptionpremiums3": {
  23746. "description": "认沽期权3",
  23747. "type": "integer"
  23748. },
  23749. "putoptionpremiums4": {
  23750. "description": "认沽期权4",
  23751. "type": "integer"
  23752. },
  23753. "putoptionpremiums5": {
  23754. "description": "认沽期权5",
  23755. "type": "integer"
  23756. },
  23757. "settle": {
  23758. "description": "结算价",
  23759. "type": "number"
  23760. },
  23761. "strikeprice": {
  23762. "description": "发行价",
  23763. "type": "number"
  23764. },
  23765. "totalaskvolume": {
  23766. "description": "内盘",
  23767. "type": "integer"
  23768. },
  23769. "totalbidvolume": {
  23770. "description": "外盘",
  23771. "type": "integer"
  23772. },
  23773. "totallot": {
  23774. "description": "总手数",
  23775. "type": "integer"
  23776. },
  23777. "totalturnover": {
  23778. "description": "总金额",
  23779. "type": "number"
  23780. },
  23781. "totalvolume": {
  23782. "description": "总量",
  23783. "type": "integer"
  23784. },
  23785. "utclasttime": {
  23786. "description": "utc的行情时间",
  23787. "type": "string"
  23788. }
  23789. }
  23790. },
  23791. "quote.QueryTSDataRsp": {
  23792. "type": "object",
  23793. "properties": {
  23794. "Count": {
  23795. "description": "交易日应有数据个数",
  23796. "type": "integer"
  23797. },
  23798. "decimalPlace": {
  23799. "description": "小数位",
  23800. "type": "integer"
  23801. },
  23802. "endTime": {
  23803. "description": "结束时间",
  23804. "type": "string"
  23805. },
  23806. "goodsCode": {
  23807. "description": "商品代码",
  23808. "type": "string"
  23809. },
  23810. "historyDatas": {
  23811. "description": "历史数据",
  23812. "type": "array",
  23813. "items": {
  23814. "$ref": "#/definitions/quote.HistoryData"
  23815. }
  23816. },
  23817. "outGoodsCode": {
  23818. "description": "外部商品代码",
  23819. "type": "string"
  23820. },
  23821. "preSettle": {
  23822. "description": "昨结价",
  23823. "type": "number"
  23824. },
  23825. "runSteps": {
  23826. "description": "交易日开休市计划",
  23827. "type": "array",
  23828. "items": {
  23829. "$ref": "#/definitions/quote.TSDataRunStep"
  23830. }
  23831. },
  23832. "startTime": {
  23833. "description": "开始时间",
  23834. "type": "string"
  23835. },
  23836. "tradeDate": {
  23837. "description": "交易日",
  23838. "type": "string"
  23839. }
  23840. }
  23841. },
  23842. "quote.TSDataRunStep": {
  23843. "type": "object",
  23844. "properties": {
  23845. "end": {
  23846. "description": "真实结束时间",
  23847. "type": "string"
  23848. },
  23849. "endflag": {
  23850. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  23851. "type": "integer"
  23852. },
  23853. "endtime": {
  23854. "description": "结束时间(HH:mm)",
  23855. "type": "string"
  23856. },
  23857. "endweekday": {
  23858. "description": "结束周几",
  23859. "type": "integer"
  23860. },
  23861. "groupid": {
  23862. "description": "分组ID",
  23863. "type": "integer"
  23864. },
  23865. "runstep": {
  23866. "description": "运行阶段 - 2:连续交易",
  23867. "type": "integer"
  23868. },
  23869. "sectionid": {
  23870. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  23871. "type": "integer"
  23872. },
  23873. "start": {
  23874. "description": "真实开始时间",
  23875. "type": "string"
  23876. },
  23877. "startflag": {
  23878. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  23879. "type": "integer"
  23880. },
  23881. "starttime": {
  23882. "description": "起始时间(HH:mm)",
  23883. "type": "string"
  23884. },
  23885. "startweekday": {
  23886. "description": "起始周几",
  23887. "type": "integer"
  23888. },
  23889. "tradeweekday": {
  23890. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  23891. "type": "integer"
  23892. }
  23893. }
  23894. },
  23895. "szdz.QueryConvertLogRsp": {
  23896. "type": "object",
  23897. "required": [
  23898. "logid"
  23899. ],
  23900. "properties": {
  23901. "accountid": {
  23902. "description": "资金账户ID",
  23903. "type": "integer"
  23904. },
  23905. "clientticket": {
  23906. "description": "客户端流水号",
  23907. "type": "string"
  23908. },
  23909. "converttype": {
  23910. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  23911. "type": "integer"
  23912. },
  23913. "createtime": {
  23914. "description": "记账时间",
  23915. "type": "string"
  23916. },
  23917. "daymaxvalue": {
  23918. "description": "配置当日最大转入限制",
  23919. "type": "number"
  23920. },
  23921. "daymaxvalue2": {
  23922. "description": "配置当日最大转入限制(转入)",
  23923. "type": "number"
  23924. },
  23925. "goodscode": {
  23926. "description": "商品代码",
  23927. "type": "string"
  23928. },
  23929. "goodsname": {
  23930. "description": "商品名称",
  23931. "type": "string"
  23932. },
  23933. "handlestatus": {
  23934. "description": "处理状态",
  23935. "type": "integer"
  23936. },
  23937. "innergoodsid": {
  23938. "description": "内部商品ID",
  23939. "type": "integer"
  23940. },
  23941. "inratio": {
  23942. "description": "配置转入比值",
  23943. "type": "integer"
  23944. },
  23945. "invalue": {
  23946. "description": "目标值",
  23947. "type": "number"
  23948. },
  23949. "logid": {
  23950. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23951. "type": "integer"
  23952. },
  23953. "mobile": {
  23954. "description": "手机号码(加密存储)",
  23955. "type": "string"
  23956. },
  23957. "outergoodscode": {
  23958. "description": "外部商品代码[JD\\PD]",
  23959. "type": "string"
  23960. },
  23961. "outratio": {
  23962. "description": "配置转出比值",
  23963. "type": "integer"
  23964. },
  23965. "outvalue": {
  23966. "description": "源值",
  23967. "type": "number"
  23968. },
  23969. "pddecimalplace": {
  23970. "description": "PD小数位",
  23971. "type": "integer"
  23972. },
  23973. "qty": {
  23974. "description": "数量",
  23975. "type": "string"
  23976. },
  23977. "remark": {
  23978. "description": "备注",
  23979. "type": "string"
  23980. },
  23981. "sessionid": {
  23982. "description": "会话ID",
  23983. "type": "integer"
  23984. },
  23985. "timemaxvalue": {
  23986. "description": "配置单次最大转入限制",
  23987. "type": "number"
  23988. },
  23989. "timemaxvalue2": {
  23990. "description": "配置单次最大转入限制(转入)",
  23991. "type": "number"
  23992. },
  23993. "timeminvalue": {
  23994. "description": "配置单次最小数量限制",
  23995. "type": "number"
  23996. },
  23997. "timeminvalue2": {
  23998. "description": "配置单次最小数量限制(转入)",
  23999. "type": "number"
  24000. },
  24001. "tradedate": {
  24002. "description": "交易日(yyyyMMdd)",
  24003. "type": "string"
  24004. },
  24005. "userid": {
  24006. "description": "用户ID",
  24007. "type": "integer"
  24008. }
  24009. }
  24010. },
  24011. "szdz.QueryGoodsPickupRsp": {
  24012. "type": "object",
  24013. "required": [
  24014. "takeorderid"
  24015. ],
  24016. "properties": {
  24017. "accountid": {
  24018. "description": "账户ID",
  24019. "type": "integer"
  24020. },
  24021. "address": {
  24022. "description": "提货人详细地址",
  24023. "type": "string"
  24024. },
  24025. "auditer": {
  24026. "description": "审核人",
  24027. "type": "integer"
  24028. },
  24029. "audittime": {
  24030. "description": "审核时间",
  24031. "type": "string"
  24032. },
  24033. "cardnum": {
  24034. "description": "提货人证件号码",
  24035. "type": "string"
  24036. },
  24037. "cardtypeid": {
  24038. "description": "提货人证件类型",
  24039. "type": "integer"
  24040. },
  24041. "checkremark": {
  24042. "description": "审核备注",
  24043. "type": "string"
  24044. },
  24045. "goodscode": {
  24046. "description": "商品代码",
  24047. "type": "string"
  24048. },
  24049. "goodsid": {
  24050. "description": "商品ID",
  24051. "type": "integer"
  24052. },
  24053. "goodsname": {
  24054. "description": "商品名称",
  24055. "type": "string"
  24056. },
  24057. "handlestatus": {
  24058. "description": "处理状态",
  24059. "type": "integer"
  24060. },
  24061. "marketid": {
  24062. "description": "市场ID",
  24063. "type": "integer"
  24064. },
  24065. "phonenum": {
  24066. "description": "提货人联系方式",
  24067. "type": "string"
  24068. },
  24069. "qty": {
  24070. "description": "提货数量",
  24071. "type": "number"
  24072. },
  24073. "recivername": {
  24074. "description": "提货人姓名",
  24075. "type": "string"
  24076. },
  24077. "reqtime": {
  24078. "description": "更新时间",
  24079. "type": "string"
  24080. },
  24081. "takemode": {
  24082. "description": "提货方式 - 2:自提 3:配送",
  24083. "type": "integer"
  24084. },
  24085. "takeorderid": {
  24086. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24087. "type": "string"
  24088. },
  24089. "takeorderstatus": {
  24090. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24091. "type": "integer"
  24092. },
  24093. "takeremark": {
  24094. "description": "提货备注",
  24095. "type": "string"
  24096. },
  24097. "tradedate": {
  24098. "description": "交易日(yyyyMMdd)",
  24099. "type": "string"
  24100. },
  24101. "userid": {
  24102. "description": "用户ID",
  24103. "type": "integer"
  24104. }
  24105. }
  24106. },
  24107. "szdz.QueryRecieptOrderRsp": {
  24108. "type": "object",
  24109. "required": [
  24110. "ordertime"
  24111. ],
  24112. "properties": {
  24113. "accountName": {
  24114. "description": "所属账号名称(已脱敏)",
  24115. "type": "string"
  24116. },
  24117. "accountid": {
  24118. "description": "资金账号",
  24119. "type": "integer"
  24120. },
  24121. "buyorsell": {
  24122. "description": "方向 - 0:买 1:卖",
  24123. "type": "integer"
  24124. },
  24125. "enableqty": {
  24126. "description": "可摘数量",
  24127. "type": "integer"
  24128. },
  24129. "goodscode": {
  24130. "description": "商品代码",
  24131. "type": "string"
  24132. },
  24133. "goodsid": {
  24134. "description": "商品ID",
  24135. "type": "integer"
  24136. },
  24137. "goodsname": {
  24138. "description": "商品名称",
  24139. "type": "string"
  24140. },
  24141. "orderid": {
  24142. "description": "委托单号",
  24143. "type": "string"
  24144. },
  24145. "orderprice": {
  24146. "description": "委托价格",
  24147. "type": "number"
  24148. },
  24149. "ordertime": {
  24150. "description": "委托时间",
  24151. "type": "string"
  24152. },
  24153. "tradedate": {
  24154. "description": "交易日(yyyyMMdd)",
  24155. "type": "string"
  24156. }
  24157. }
  24158. },
  24159. "szdz.QuerySZDZTradePositionRsp": {
  24160. "type": "object",
  24161. "properties": {
  24162. "accountid": {
  24163. "description": "账号Id",
  24164. "type": "integer"
  24165. },
  24166. "agreeunit": {
  24167. "description": "合约单位",
  24168. "type": "number"
  24169. },
  24170. "averageprice": {
  24171. "description": "持仓均价",
  24172. "type": "number"
  24173. },
  24174. "buyorsell": {
  24175. "description": "方向 - 0:买 1:卖",
  24176. "type": "integer"
  24177. },
  24178. "closetotalqty": {
  24179. "description": "平仓总数量",
  24180. "type": "integer"
  24181. },
  24182. "curholderamount": {
  24183. "description": "当前持仓总金额",
  24184. "type": "number"
  24185. },
  24186. "curpositionqty": {
  24187. "description": "当前持仓总数量",
  24188. "type": "integer"
  24189. },
  24190. "currencyid": {
  24191. "description": "报价货币ID",
  24192. "type": "integer"
  24193. },
  24194. "curtdposition": {
  24195. "description": "期末今日头寸",
  24196. "type": "integer"
  24197. },
  24198. "decimalplace": {
  24199. "description": "报价小数位",
  24200. "type": "integer"
  24201. },
  24202. "enableqty": {
  24203. "description": "可用量",
  24204. "type": "integer"
  24205. },
  24206. "fretdposition": {
  24207. "description": "冻结今日头寸",
  24208. "type": "integer"
  24209. },
  24210. "frozenqty": {
  24211. "description": "持仓冻结数量",
  24212. "type": "integer"
  24213. },
  24214. "goodscode": {
  24215. "description": "商品代码(内部)",
  24216. "type": "string"
  24217. },
  24218. "goodsid": {
  24219. "description": "商品Id",
  24220. "type": "integer"
  24221. },
  24222. "goodsname": {
  24223. "description": "商品名称",
  24224. "type": "string"
  24225. },
  24226. "goodunit": {
  24227. "description": "报价单位",
  24228. "type": "string"
  24229. },
  24230. "goodunitid": {
  24231. "description": "报价单位ID",
  24232. "type": "integer"
  24233. },
  24234. "holderamount": {
  24235. "description": "期初持仓总金额",
  24236. "type": "number"
  24237. },
  24238. "marketid": {
  24239. "description": "市场ID",
  24240. "type": "integer"
  24241. },
  24242. "openreqqty": {
  24243. "description": "开仓申请数量",
  24244. "type": "integer"
  24245. },
  24246. "opentotalqty": {
  24247. "description": "开仓总数量",
  24248. "type": "integer"
  24249. },
  24250. "otherfrozenqty": {
  24251. "description": "持仓其他冻结数量(交割冻结)",
  24252. "type": "integer"
  24253. },
  24254. "positionqty": {
  24255. "description": "期初持仓数量",
  24256. "type": "integer"
  24257. },
  24258. "szdz3freezqty": {
  24259. "description": "尚志大宗转换冻结总数量",
  24260. "type": "integer"
  24261. },
  24262. "tnqty": {
  24263. "description": "T+N冻结总量",
  24264. "type": "integer"
  24265. },
  24266. "tnusedqty": {
  24267. "description": "T+N使用量",
  24268. "type": "integer"
  24269. },
  24270. "trademode": {
  24271. "description": "交易模式",
  24272. "type": "integer"
  24273. },
  24274. "usedmargin": {
  24275. "description": "占用保证金",
  24276. "type": "number"
  24277. }
  24278. }
  24279. },
  24280. "taaccount.QueryAmountLogRsp": {
  24281. "type": "object",
  24282. "required": [
  24283. "accountid",
  24284. "amount",
  24285. "amountadjusttype",
  24286. "autoid",
  24287. "balance",
  24288. "createtime",
  24289. "currentbalance",
  24290. "operatetype"
  24291. ],
  24292. "properties": {
  24293. "OPERATETYPENAME": {
  24294. "description": "资金操作类型名称",
  24295. "type": "string"
  24296. },
  24297. "accountid": {
  24298. "description": "资金账户ID",
  24299. "type": "integer"
  24300. },
  24301. "agoodscode": {
  24302. "description": "竞拍商品代码",
  24303. "type": "string"
  24304. },
  24305. "agoodsname": {
  24306. "description": "竞拍商品名称",
  24307. "type": "string"
  24308. },
  24309. "amount": {
  24310. "description": "资金金额",
  24311. "type": "number"
  24312. },
  24313. "amountadjusttype": {
  24314. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24315. "type": "integer"
  24316. },
  24317. "autoid": {
  24318. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24319. "type": "integer"
  24320. },
  24321. "balance": {
  24322. "description": "期初余额",
  24323. "type": "number"
  24324. },
  24325. "businesscode": {
  24326. "description": "业务编号",
  24327. "type": "integer"
  24328. },
  24329. "createtime": {
  24330. "description": "发生时间",
  24331. "type": "string"
  24332. },
  24333. "currencyid": {
  24334. "description": "币种ID",
  24335. "type": "integer"
  24336. },
  24337. "currentbalance": {
  24338. "description": "期末余额(变动后金额)",
  24339. "type": "number"
  24340. },
  24341. "dgoodscode": {
  24342. "description": "交割商品代码",
  24343. "type": "string"
  24344. },
  24345. "dgoodsname": {
  24346. "description": "交割商品名称",
  24347. "type": "string"
  24348. },
  24349. "goodscode": {
  24350. "description": "商品代码",
  24351. "type": "string"
  24352. },
  24353. "goodsid": {
  24354. "description": "商品ID",
  24355. "type": "integer"
  24356. },
  24357. "goodsname": {
  24358. "description": "商品名称",
  24359. "type": "string"
  24360. },
  24361. "marketid": {
  24362. "description": "市场ID",
  24363. "type": "integer"
  24364. },
  24365. "marketname": {
  24366. "description": "市场名称",
  24367. "type": "string"
  24368. },
  24369. "moneyticket": {
  24370. "description": "资金流水号:银行端流水号",
  24371. "type": "integer"
  24372. },
  24373. "operatetype": {
  24374. "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:营销收款",
  24375. "type": "integer"
  24376. },
  24377. "relationorderid": {
  24378. "description": "关联单号",
  24379. "type": "string"
  24380. },
  24381. "remark": {
  24382. "description": "备注",
  24383. "type": "string"
  24384. },
  24385. "trademode": {
  24386. "description": "交易模式",
  24387. "type": "integer"
  24388. }
  24389. }
  24390. },
  24391. "taaccount.QueryHisAmountLogRsp": {
  24392. "type": "object",
  24393. "required": [
  24394. "accountid",
  24395. "amount",
  24396. "amountadjusttype",
  24397. "autoid",
  24398. "balance",
  24399. "createtime",
  24400. "currentbalance",
  24401. "histradedate",
  24402. "operatetype"
  24403. ],
  24404. "properties": {
  24405. "OPERATETYPENAME": {
  24406. "description": "资金操作类型名称",
  24407. "type": "string"
  24408. },
  24409. "accountid": {
  24410. "description": "资金账户ID",
  24411. "type": "integer"
  24412. },
  24413. "agoodscode": {
  24414. "description": "竞拍商品代码",
  24415. "type": "string"
  24416. },
  24417. "agoodsname": {
  24418. "description": "竞拍商品名称",
  24419. "type": "string"
  24420. },
  24421. "amount": {
  24422. "description": "资金金额",
  24423. "type": "number"
  24424. },
  24425. "amountadjusttype": {
  24426. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  24427. "type": "integer"
  24428. },
  24429. "autoid": {
  24430. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  24431. "type": "integer"
  24432. },
  24433. "balance": {
  24434. "description": "期初余额",
  24435. "type": "number"
  24436. },
  24437. "businesscode": {
  24438. "description": "业务编号",
  24439. "type": "integer"
  24440. },
  24441. "createtime": {
  24442. "description": "发生时间",
  24443. "type": "string"
  24444. },
  24445. "currencyid": {
  24446. "description": "币种ID",
  24447. "type": "integer"
  24448. },
  24449. "currentbalance": {
  24450. "description": "期末余额(变动后金额)",
  24451. "type": "number"
  24452. },
  24453. "dgoodscode": {
  24454. "description": "交割商品代码",
  24455. "type": "string"
  24456. },
  24457. "dgoodsname": {
  24458. "description": "交割商品名称",
  24459. "type": "string"
  24460. },
  24461. "goodscode": {
  24462. "description": "商品代码",
  24463. "type": "string"
  24464. },
  24465. "goodsid": {
  24466. "description": "商品ID",
  24467. "type": "integer"
  24468. },
  24469. "goodsname": {
  24470. "description": "商品名称",
  24471. "type": "string"
  24472. },
  24473. "histradedate": {
  24474. "description": "历史交易日",
  24475. "type": "string"
  24476. },
  24477. "isvaliddata": {
  24478. "description": "是否有效 - 0:无效 1:有效",
  24479. "type": "integer"
  24480. },
  24481. "marketid": {
  24482. "description": "市场ID",
  24483. "type": "integer"
  24484. },
  24485. "marketname": {
  24486. "description": "市场名称",
  24487. "type": "string"
  24488. },
  24489. "moneyticket": {
  24490. "description": "资金流水号:银行端流水号",
  24491. "type": "integer"
  24492. },
  24493. "operatetype": {
  24494. "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:营销收款",
  24495. "type": "integer"
  24496. },
  24497. "relationorderid": {
  24498. "description": "关联单号",
  24499. "type": "string"
  24500. },
  24501. "remark": {
  24502. "description": "备注",
  24503. "type": "string"
  24504. },
  24505. "trademode": {
  24506. "description": "交易模式",
  24507. "type": "integer"
  24508. }
  24509. }
  24510. },
  24511. "trade.QueryRecieptOrderRsp": {
  24512. "type": "object",
  24513. "required": [
  24514. "ordertime"
  24515. ],
  24516. "properties": {
  24517. "accountName": {
  24518. "description": "所属账号名称(已脱敏)",
  24519. "type": "string"
  24520. },
  24521. "accountid": {
  24522. "description": "资金账号",
  24523. "type": "integer"
  24524. },
  24525. "buyorsell": {
  24526. "description": "方向 - 0:买 1:卖",
  24527. "type": "integer"
  24528. },
  24529. "enableqty": {
  24530. "description": "可摘数量",
  24531. "type": "integer"
  24532. },
  24533. "goodscode": {
  24534. "description": "商品代码",
  24535. "type": "string"
  24536. },
  24537. "goodsid": {
  24538. "description": "商品ID",
  24539. "type": "integer"
  24540. },
  24541. "goodsname": {
  24542. "description": "商品名称",
  24543. "type": "string"
  24544. },
  24545. "orderid": {
  24546. "description": "委托单号",
  24547. "type": "string"
  24548. },
  24549. "orderprice": {
  24550. "description": "委托价格",
  24551. "type": "number"
  24552. },
  24553. "ordertime": {
  24554. "description": "委托时间",
  24555. "type": "string"
  24556. },
  24557. "tradedate": {
  24558. "description": "交易日(yyyyMMdd)",
  24559. "type": "string"
  24560. }
  24561. }
  24562. },
  24563. "user.LoginQueryRsp": {
  24564. "type": "object",
  24565. "properties": {
  24566. "areaRoles": {
  24567. "description": "所属角色信息",
  24568. "type": "array",
  24569. "items": {
  24570. "$ref": "#/definitions/models.Arearole"
  24571. }
  24572. },
  24573. "externalExchanges": {
  24574. "description": "外部交易所",
  24575. "type": "array",
  24576. "items": {
  24577. "$ref": "#/definitions/models.Externalexchange"
  24578. }
  24579. },
  24580. "goodsgroups": {
  24581. "description": "商品组",
  24582. "type": "array",
  24583. "items": {
  24584. "$ref": "#/definitions/models.Goodsgroup"
  24585. }
  24586. },
  24587. "loginAccount": {
  24588. "description": "登录账号",
  24589. "type": "object",
  24590. "$ref": "#/definitions/models.Loginaccount"
  24591. },
  24592. "markets": {
  24593. "description": "市场",
  24594. "type": "array",
  24595. "items": {
  24596. "$ref": "#/definitions/models.Market"
  24597. }
  24598. },
  24599. "systemParams": {
  24600. "description": "系统参数",
  24601. "type": "array",
  24602. "items": {
  24603. "$ref": "#/definitions/models.Systemparam"
  24604. }
  24605. },
  24606. "userAccount": {
  24607. "description": "用户账号",
  24608. "type": "object",
  24609. "$ref": "#/definitions/models.Useraccount"
  24610. },
  24611. "userInfo": {
  24612. "description": "用户信息",
  24613. "type": "object",
  24614. "$ref": "#/definitions/models.Userinfo"
  24615. },
  24616. "username": {
  24617. "description": "用户姓名",
  24618. "type": "string"
  24619. }
  24620. }
  24621. }
  24622. },
  24623. "securityDefinitions": {
  24624. "ApiKeyAuth": {
  24625. "type": "apiKey",
  24626. "name": "Authorization",
  24627. "in": "header"
  24628. }
  24629. }
  24630. }`
  24631. type swaggerInfo struct {
  24632. Version string
  24633. Host string
  24634. BasePath string
  24635. Schemes []string
  24636. Title string
  24637. Description string
  24638. }
  24639. // SwaggerInfo holds exported Swagger Info so clients can modify it
  24640. var SwaggerInfo = swaggerInfo{
  24641. Version: "1.0",
  24642. Host: "",
  24643. BasePath: "/api",
  24644. Schemes: []string{},
  24645. Title: "MTP2.0 查询服务 API",
  24646. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  24647. }
  24648. type s struct{}
  24649. func (s *s) ReadDoc() string {
  24650. sInfo := SwaggerInfo
  24651. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  24652. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  24653. "marshal": func(v interface{}) string {
  24654. a, _ := json.Marshal(v)
  24655. return string(a)
  24656. },
  24657. }).Parse(doc)
  24658. if err != nil {
  24659. return doc
  24660. }
  24661. var tpl bytes.Buffer
  24662. if err := t.Execute(&tpl, sInfo); err != nil {
  24663. return doc
  24664. }
  24665. return tpl.String()
  24666. }
  24667. func init() {
  24668. swag.Register(swag.Name, &s{})
  24669. }