docs.go 913 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387
  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. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  370. "produces": [
  371. "application/json"
  372. ],
  373. "tags": [
  374. "通用服务"
  375. ],
  376. "summary": "获取所有枚举信息",
  377. "parameters": [
  378. {
  379. "type": "integer",
  380. "description": "起始自增ID",
  381. "name": "autoid",
  382. "in": "query"
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "OK",
  388. "schema": {
  389. "$ref": "#/definitions/models.Enumdicitem"
  390. }
  391. },
  392. "500": {
  393. "description": "Internal Server Error",
  394. "schema": {
  395. "$ref": "#/definitions/app.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/Common/GetClientMenus": {
  402. "get": {
  403. "security": [
  404. {
  405. "ApiKeyAuth": []
  406. }
  407. ],
  408. "produces": [
  409. "application/json"
  410. ],
  411. "tags": [
  412. "通用服务"
  413. ],
  414. "summary": "获取交易端菜单",
  415. "parameters": [
  416. {
  417. "type": "integer",
  418. "description": "登录账号",
  419. "name": "loginID",
  420. "in": "query",
  421. "required": true
  422. },
  423. {
  424. "type": "integer",
  425. "description": "终端类型,0:PC 1:Mobile",
  426. "name": "clientType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "type": "array",
  435. "items": {
  436. "$ref": "#/definitions/common.ClientMenu"
  437. }
  438. }
  439. },
  440. "500": {
  441. "description": "Internal Server Error",
  442. "schema": {
  443. "$ref": "#/definitions/app.Response"
  444. }
  445. }
  446. }
  447. }
  448. },
  449. "/Common/GetDivisions": {
  450. "get": {
  451. "produces": [
  452. "application/json"
  453. ],
  454. "tags": [
  455. "通用服务"
  456. ],
  457. "summary": "查询区域信息",
  458. "responses": {
  459. "200": {
  460. "description": "OK",
  461. "schema": {
  462. "$ref": "#/definitions/models.Division"
  463. }
  464. },
  465. "500": {
  466. "description": "Internal Server Error",
  467. "schema": {
  468. "$ref": "#/definitions/app.Response"
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "/Common/GetServerTime": {
  475. "get": {
  476. "produces": [
  477. "application/json"
  478. ],
  479. "tags": [
  480. "通用服务"
  481. ],
  482. "summary": "获取服务器时间",
  483. "responses": {
  484. "200": {
  485. "description": "OK",
  486. "schema": {
  487. "$ref": "#/definitions/app.Response"
  488. }
  489. },
  490. "500": {
  491. "description": "Internal Server Error",
  492. "schema": {
  493. "$ref": "#/definitions/app.Response"
  494. }
  495. }
  496. }
  497. }
  498. },
  499. "/Common/NoticeReaded": {
  500. "post": {
  501. "security": [
  502. {
  503. "ApiKeyAuth": []
  504. }
  505. ],
  506. "produces": [
  507. "application/json"
  508. ],
  509. "tags": [
  510. "通用服务"
  511. ],
  512. "summary": "通知公告设置已读请求",
  513. "parameters": [
  514. {
  515. "type": "integer",
  516. "description": "登录账号",
  517. "name": "loginID",
  518. "in": "query",
  519. "required": true
  520. },
  521. {
  522. "type": "integer",
  523. "description": "通知公告ID",
  524. "name": "noticeID",
  525. "in": "query",
  526. "required": true
  527. }
  528. ],
  529. "responses": {
  530. "200": {
  531. "description": "OK",
  532. "schema": {
  533. "$ref": "#/definitions/app.Response"
  534. }
  535. },
  536. "500": {
  537. "description": "Internal Server Error",
  538. "schema": {
  539. "$ref": "#/definitions/app.Response"
  540. }
  541. }
  542. }
  543. }
  544. },
  545. "/Common/QueryErrorInfos": {
  546. "get": {
  547. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "通用服务"
  553. ],
  554. "summary": "获取数据库错误信息",
  555. "parameters": [
  556. {
  557. "type": "string",
  558. "description": "起始行号前索引",
  559. "name": "rowNumber",
  560. "in": "query"
  561. }
  562. ],
  563. "responses": {
  564. "200": {
  565. "description": "OK",
  566. "schema": {
  567. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  568. }
  569. },
  570. "500": {
  571. "description": "Internal Server Error",
  572. "schema": {
  573. "$ref": "#/definitions/app.Response"
  574. }
  575. }
  576. }
  577. }
  578. },
  579. "/Common/QueryImageConfigs": {
  580. "get": {
  581. "produces": [
  582. "application/json"
  583. ],
  584. "tags": [
  585. "通用服务"
  586. ],
  587. "summary": "查询轮播图配置信息",
  588. "parameters": [
  589. {
  590. "type": "integer",
  591. "description": "类型 - 1:App首页轮播 2:我的",
  592. "name": "imageType",
  593. "in": "query"
  594. }
  595. ],
  596. "responses": {
  597. "200": {
  598. "description": "OK",
  599. "schema": {
  600. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  601. }
  602. },
  603. "500": {
  604. "description": "Internal Server Error",
  605. "schema": {
  606. "$ref": "#/definitions/app.Response"
  607. }
  608. }
  609. }
  610. }
  611. },
  612. "/Common/QueryNotice": {
  613. "get": {
  614. "security": [
  615. {
  616. "ApiKeyAuth": []
  617. }
  618. ],
  619. "produces": [
  620. "application/json"
  621. ],
  622. "tags": [
  623. "通用服务"
  624. ],
  625. "summary": "通知公告系统消息查询",
  626. "parameters": [
  627. {
  628. "type": "integer",
  629. "description": "页码",
  630. "name": "page",
  631. "in": "query"
  632. },
  633. {
  634. "type": "integer",
  635. "description": "每页条数",
  636. "name": "pagesize",
  637. "in": "query"
  638. },
  639. {
  640. "type": "integer",
  641. "description": "登录账号",
  642. "name": "loginID",
  643. "in": "query",
  644. "required": true
  645. },
  646. {
  647. "type": "integer",
  648. "description": "消息类型 - 1:公告通知 2:系统消息",
  649. "name": "msgType",
  650. "in": "query"
  651. },
  652. {
  653. "type": "boolean",
  654. "description": "是否只获取未读信息",
  655. "name": "onlyUnRead",
  656. "in": "query"
  657. },
  658. {
  659. "type": "integer",
  660. "description": "自增ID,传入后会返回这个ID后面的记录",
  661. "name": "lastID",
  662. "in": "query"
  663. }
  664. ],
  665. "responses": {
  666. "200": {
  667. "description": "OK",
  668. "schema": {
  669. "$ref": "#/definitions/common.QueryNoticeRsp"
  670. }
  671. },
  672. "500": {
  673. "description": "Internal Server Error",
  674. "schema": {
  675. "$ref": "#/definitions/app.Response"
  676. }
  677. }
  678. }
  679. }
  680. },
  681. "/Common/QueryProvincesAndCities": {
  682. "get": {
  683. "produces": [
  684. "application/json"
  685. ],
  686. "tags": [
  687. "通用服务"
  688. ],
  689. "summary": "查询省市信息(不包括区)",
  690. "parameters": [
  691. {
  692. "type": "integer",
  693. "description": "省ID",
  694. "name": "provinceID",
  695. "in": "query"
  696. }
  697. ],
  698. "responses": {
  699. "200": {
  700. "description": "OK",
  701. "schema": {
  702. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  703. }
  704. },
  705. "500": {
  706. "description": "Internal Server Error",
  707. "schema": {
  708. "$ref": "#/definitions/app.Response"
  709. }
  710. }
  711. }
  712. }
  713. },
  714. "/Common/QueryTableDefine": {
  715. "get": {
  716. "produces": [
  717. "application/json"
  718. ],
  719. "tags": [
  720. "通用服务"
  721. ],
  722. "summary": "查询交易端列表头信息",
  723. "parameters": [
  724. {
  725. "type": "string",
  726. "description": "表key",
  727. "name": "tableKey",
  728. "in": "query"
  729. },
  730. {
  731. "type": "integer",
  732. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  733. "name": "tableType",
  734. "in": "query"
  735. }
  736. ],
  737. "responses": {
  738. "200": {
  739. "description": "OK",
  740. "schema": {
  741. "$ref": "#/definitions/common.QueryTableDefineRsp"
  742. }
  743. },
  744. "500": {
  745. "description": "Internal Server Error",
  746. "schema": {
  747. "$ref": "#/definitions/app.Response"
  748. }
  749. }
  750. }
  751. }
  752. },
  753. "/Common/QueryTraderMenu": {
  754. "get": {
  755. "produces": [
  756. "application/json"
  757. ],
  758. "tags": [
  759. "通用服务"
  760. ],
  761. "summary": "查询交易端菜单",
  762. "parameters": [
  763. {
  764. "type": "integer",
  765. "description": "登录账号",
  766. "name": "loginid",
  767. "in": "query",
  768. "required": true
  769. }
  770. ],
  771. "responses": {
  772. "200": {
  773. "description": "OK",
  774. "schema": {
  775. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  776. }
  777. },
  778. "500": {
  779. "description": "Internal Server Error",
  780. "schema": {
  781. "$ref": "#/definitions/app.Response"
  782. }
  783. }
  784. }
  785. }
  786. },
  787. "/Delivery/QueryDeliveryRelation": {
  788. "get": {
  789. "security": [
  790. {
  791. "ApiKeyAuth": []
  792. }
  793. ],
  794. "produces": [
  795. "application/json"
  796. ],
  797. "tags": [
  798. "交割服务"
  799. ],
  800. "summary": "查询商品交割关系表",
  801. "parameters": [
  802. {
  803. "type": "integer",
  804. "description": "商品ID",
  805. "name": "goodsid",
  806. "in": "query"
  807. },
  808. {
  809. "type": "integer",
  810. "description": "品种ID",
  811. "name": "deliverygoodsid",
  812. "in": "query"
  813. },
  814. {
  815. "type": "integer",
  816. "description": "市场ID",
  817. "name": "marketid",
  818. "in": "query"
  819. }
  820. ],
  821. "responses": {
  822. "200": {
  823. "description": "OK",
  824. "schema": {
  825. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  826. }
  827. },
  828. "500": {
  829. "description": "Internal Server Error",
  830. "schema": {
  831. "$ref": "#/definitions/app.Response"
  832. }
  833. }
  834. }
  835. }
  836. },
  837. "/Ermcp/GetErmcpGoods": {
  838. "get": {
  839. "security": [
  840. {
  841. "ApiKeyAuth": []
  842. }
  843. ],
  844. "produces": [
  845. "application/json"
  846. ],
  847. "tags": [
  848. "企业风险管理(app)"
  849. ],
  850. "summary": "查询企业风管期货商品信息",
  851. "parameters": [
  852. {
  853. "type": "string",
  854. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  855. "name": "lastUpdateTime",
  856. "in": "query"
  857. }
  858. ],
  859. "responses": {
  860. "200": {
  861. "description": "OK",
  862. "schema": {
  863. "$ref": "#/definitions/models.ErmcpGoods"
  864. }
  865. },
  866. "500": {
  867. "description": "Internal Server Error",
  868. "schema": {
  869. "$ref": "#/definitions/app.Response"
  870. }
  871. }
  872. }
  873. }
  874. },
  875. "/Ermcp/GetErmcpGoodsSortByPosition": {
  876. "get": {
  877. "security": [
  878. {
  879. "ApiKeyAuth": []
  880. }
  881. ],
  882. "produces": [
  883. "application/json"
  884. ],
  885. "tags": [
  886. "企业风险管理(app)"
  887. ],
  888. "summary": "查询企业风管期货主力、次主力商品信息",
  889. "parameters": [
  890. {
  891. "type": "string",
  892. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  893. "name": "sortIndex",
  894. "in": "query"
  895. }
  896. ],
  897. "responses": {
  898. "200": {
  899. "description": "OK",
  900. "schema": {
  901. "$ref": "#/definitions/models.Goodssortbypreposition"
  902. }
  903. },
  904. "500": {
  905. "description": "Internal Server Error",
  906. "schema": {
  907. "$ref": "#/definitions/app.Response"
  908. }
  909. }
  910. }
  911. }
  912. },
  913. "/Ermcp/GetErmcpOutAccountStatus": {
  914. "get": {
  915. "security": [
  916. {
  917. "ApiKeyAuth": []
  918. }
  919. ],
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "企业风险管理(app)"
  925. ],
  926. "summary": "获取目标登录账号当前对冲账号在线状态",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "登录账号",
  931. "name": "loginID",
  932. "in": "query",
  933. "required": true
  934. }
  935. ],
  936. "responses": {
  937. "200": {
  938. "description": "OK",
  939. "schema": {
  940. "$ref": "#/definitions/models.Hedgemarketopenlog"
  941. }
  942. },
  943. "500": {
  944. "description": "Internal Server Error",
  945. "schema": {
  946. "$ref": "#/definitions/app.Response"
  947. }
  948. }
  949. }
  950. }
  951. },
  952. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  953. "get": {
  954. "security": [
  955. {
  956. "ApiKeyAuth": []
  957. }
  958. ],
  959. "produces": [
  960. "application/json"
  961. ],
  962. "tags": [
  963. "企业风险管理(app)"
  964. ],
  965. "summary": "获取企业风管终端权限",
  966. "parameters": [
  967. {
  968. "type": "integer",
  969. "description": "登录账号",
  970. "name": "loginID",
  971. "in": "query",
  972. "required": true
  973. }
  974. ],
  975. "responses": {
  976. "200": {
  977. "description": "OK",
  978. "schema": {
  979. "$ref": "#/definitions/models.Funcmenulist"
  980. }
  981. },
  982. "500": {
  983. "description": "Internal Server Error",
  984. "schema": {
  985. "$ref": "#/definitions/app.Response"
  986. }
  987. }
  988. }
  989. }
  990. },
  991. "/Ermcp/QueryAccMgrBizGroupSet": {
  992. "get": {
  993. "security": [
  994. {
  995. "ApiKeyAuth": []
  996. }
  997. ],
  998. "produces": [
  999. "application/json"
  1000. ],
  1001. "tags": [
  1002. "企业风险管理(app)"
  1003. ],
  1004. "summary": "查询业务类型分组(账户管理/账户设置)",
  1005. "parameters": [
  1006. {
  1007. "type": "integer",
  1008. "description": "用户ID",
  1009. "name": "userid",
  1010. "in": "query",
  1011. "required": true
  1012. },
  1013. {
  1014. "type": "integer",
  1015. "description": "现货商品id",
  1016. "name": "deliverygoodsid",
  1017. "in": "query"
  1018. }
  1019. ],
  1020. "responses": {
  1021. "200": {
  1022. "description": "OK",
  1023. "schema": {
  1024. "type": "array",
  1025. "items": {
  1026. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1027. }
  1028. }
  1029. },
  1030. "500": {
  1031. "description": "Internal Server Error",
  1032. "schema": {
  1033. "$ref": "#/definitions/app.Response"
  1034. }
  1035. }
  1036. }
  1037. }
  1038. },
  1039. "/Ermcp/QueryAccMgrLoginUser": {
  1040. "get": {
  1041. "security": [
  1042. {
  1043. "ApiKeyAuth": []
  1044. }
  1045. ],
  1046. "produces": [
  1047. "application/json"
  1048. ],
  1049. "tags": [
  1050. "企业风险管理(app)"
  1051. ],
  1052. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1053. "parameters": [
  1054. {
  1055. "type": "integer",
  1056. "description": "用户ID",
  1057. "name": "userid",
  1058. "in": "query",
  1059. "required": true
  1060. },
  1061. {
  1062. "type": "integer",
  1063. "description": "用户类型 2-机构 7-企业成员",
  1064. "name": "usertype",
  1065. "in": "query"
  1066. },
  1067. {
  1068. "type": "integer",
  1069. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1070. "name": "querytype",
  1071. "in": "query",
  1072. "required": true
  1073. }
  1074. ],
  1075. "responses": {
  1076. "200": {
  1077. "description": "OK",
  1078. "schema": {
  1079. "type": "array",
  1080. "items": {
  1081. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1082. }
  1083. }
  1084. },
  1085. "500": {
  1086. "description": "Internal Server Error",
  1087. "schema": {
  1088. "$ref": "#/definitions/app.Response"
  1089. }
  1090. }
  1091. }
  1092. }
  1093. },
  1094. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1095. "get": {
  1096. "security": [
  1097. {
  1098. "ApiKeyAuth": []
  1099. }
  1100. ],
  1101. "produces": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "企业风险管理(app)"
  1106. ],
  1107. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1108. "parameters": [
  1109. {
  1110. "type": "integer",
  1111. "description": "用户ID",
  1112. "name": "userid",
  1113. "in": "query"
  1114. },
  1115. {
  1116. "type": "integer",
  1117. "description": "主账号id",
  1118. "name": "accountid",
  1119. "in": "query"
  1120. }
  1121. ],
  1122. "responses": {
  1123. "200": {
  1124. "description": "OK",
  1125. "schema": {
  1126. "type": "array",
  1127. "items": {
  1128. "$ref": "#/definitions/models.MainAccountInfo"
  1129. }
  1130. }
  1131. },
  1132. "500": {
  1133. "description": "Internal Server Error",
  1134. "schema": {
  1135. "$ref": "#/definitions/app.Response"
  1136. }
  1137. }
  1138. }
  1139. }
  1140. },
  1141. "/Ermcp/QueryAccMgrRole": {
  1142. "get": {
  1143. "security": [
  1144. {
  1145. "ApiKeyAuth": []
  1146. }
  1147. ],
  1148. "produces": [
  1149. "application/json"
  1150. ],
  1151. "tags": [
  1152. "企业风险管理(app)"
  1153. ],
  1154. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1155. "parameters": [
  1156. {
  1157. "type": "integer",
  1158. "description": "用户ID",
  1159. "name": "userid",
  1160. "in": "query",
  1161. "required": true
  1162. }
  1163. ],
  1164. "responses": {
  1165. "200": {
  1166. "description": "OK",
  1167. "schema": {
  1168. "type": "array",
  1169. "items": {
  1170. "$ref": "#/definitions/models.ErmcpRole"
  1171. }
  1172. }
  1173. },
  1174. "500": {
  1175. "description": "Internal Server Error",
  1176. "schema": {
  1177. "$ref": "#/definitions/app.Response"
  1178. }
  1179. }
  1180. }
  1181. }
  1182. },
  1183. "/Ermcp/QueryAccMgrRoleMenu": {
  1184. "get": {
  1185. "security": [
  1186. {
  1187. "ApiKeyAuth": []
  1188. }
  1189. ],
  1190. "produces": [
  1191. "application/json"
  1192. ],
  1193. "tags": [
  1194. "企业风险管理(app)"
  1195. ],
  1196. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1197. "parameters": [
  1198. {
  1199. "type": "integer",
  1200. "description": "用户ID",
  1201. "name": "userid",
  1202. "in": "query",
  1203. "required": true
  1204. },
  1205. {
  1206. "type": "string",
  1207. "description": "角色id(可多个,逗号隔开)",
  1208. "name": "roleid",
  1209. "in": "query"
  1210. }
  1211. ],
  1212. "responses": {
  1213. "200": {
  1214. "description": "OK",
  1215. "schema": {
  1216. "type": "array",
  1217. "items": {
  1218. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1219. }
  1220. }
  1221. },
  1222. "500": {
  1223. "description": "Internal Server Error",
  1224. "schema": {
  1225. "$ref": "#/definitions/app.Response"
  1226. }
  1227. }
  1228. }
  1229. }
  1230. },
  1231. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1232. "get": {
  1233. "security": [
  1234. {
  1235. "ApiKeyAuth": []
  1236. }
  1237. ],
  1238. "produces": [
  1239. "application/json"
  1240. ],
  1241. "tags": [
  1242. "企业风险管理(app)"
  1243. ],
  1244. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1245. "parameters": [
  1246. {
  1247. "type": "integer",
  1248. "description": "用户ID",
  1249. "name": "userid",
  1250. "in": "query",
  1251. "required": true
  1252. },
  1253. {
  1254. "type": "integer",
  1255. "description": "账号id",
  1256. "name": "accountid",
  1257. "in": "query"
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "type": "array",
  1265. "items": {
  1266. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1267. }
  1268. }
  1269. },
  1270. "500": {
  1271. "description": "Internal Server Error",
  1272. "schema": {
  1273. "$ref": "#/definitions/app.Response"
  1274. }
  1275. }
  1276. }
  1277. }
  1278. },
  1279. "/Ermcp/QueryAccMgrTaaccount": {
  1280. "get": {
  1281. "security": [
  1282. {
  1283. "ApiKeyAuth": []
  1284. }
  1285. ],
  1286. "produces": [
  1287. "application/json"
  1288. ],
  1289. "tags": [
  1290. "企业风险管理(app)"
  1291. ],
  1292. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1293. "parameters": [
  1294. {
  1295. "type": "integer",
  1296. "description": "用户ID",
  1297. "name": "userid",
  1298. "in": "query",
  1299. "required": true
  1300. }
  1301. ],
  1302. "responses": {
  1303. "200": {
  1304. "description": "OK",
  1305. "schema": {
  1306. "type": "array",
  1307. "items": {
  1308. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1309. }
  1310. }
  1311. },
  1312. "500": {
  1313. "description": "Internal Server Error",
  1314. "schema": {
  1315. "$ref": "#/definitions/app.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/Ermcp/QueryAvaildGoodsGroup": {
  1322. "get": {
  1323. "security": [
  1324. {
  1325. "ApiKeyAuth": []
  1326. }
  1327. ],
  1328. "produces": [
  1329. "application/json"
  1330. ],
  1331. "tags": [
  1332. "企业风险管理(app)"
  1333. ],
  1334. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1335. "parameters": [
  1336. {
  1337. "type": "integer",
  1338. "description": "所属机构ID",
  1339. "name": "userid",
  1340. "in": "query",
  1341. "required": true
  1342. }
  1343. ],
  1344. "responses": {
  1345. "200": {
  1346. "description": "OK",
  1347. "schema": {
  1348. "type": "array",
  1349. "items": {
  1350. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1351. }
  1352. }
  1353. },
  1354. "500": {
  1355. "description": "Internal Server Error",
  1356. "schema": {
  1357. "$ref": "#/definitions/app.Response"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "/Ermcp/QueryBusinessDj": {
  1364. "get": {
  1365. "security": [
  1366. {
  1367. "ApiKeyAuth": []
  1368. }
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "企业风险管理(app)"
  1375. ],
  1376. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1377. "parameters": [
  1378. {
  1379. "type": "integer",
  1380. "description": "用户ID",
  1381. "name": "UserId",
  1382. "in": "query",
  1383. "required": true
  1384. },
  1385. {
  1386. "type": "integer",
  1387. "description": "用户类型 2-机构 7-企业成员",
  1388. "name": "usertype",
  1389. "in": "query"
  1390. },
  1391. {
  1392. "type": "string",
  1393. "description": "现货合同ID, 不填则查所有",
  1394. "name": "relatedid",
  1395. "in": "query"
  1396. },
  1397. {
  1398. "type": "string",
  1399. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1400. "name": "applystatus",
  1401. "in": "query"
  1402. }
  1403. ],
  1404. "responses": {
  1405. "200": {
  1406. "description": "OK",
  1407. "schema": {
  1408. "type": "array",
  1409. "items": {
  1410. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1411. }
  1412. }
  1413. },
  1414. "500": {
  1415. "description": "Internal Server Error",
  1416. "schema": {
  1417. "$ref": "#/definitions/app.Response"
  1418. }
  1419. }
  1420. }
  1421. }
  1422. },
  1423. "/Ermcp/QueryBusinessFp": {
  1424. "get": {
  1425. "security": [
  1426. {
  1427. "ApiKeyAuth": []
  1428. }
  1429. ],
  1430. "produces": [
  1431. "application/json"
  1432. ],
  1433. "tags": [
  1434. "企业风险管理(app)"
  1435. ],
  1436. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1437. "parameters": [
  1438. {
  1439. "type": "integer",
  1440. "description": "用户ID",
  1441. "name": "UserId",
  1442. "in": "query",
  1443. "required": true
  1444. },
  1445. {
  1446. "type": "integer",
  1447. "description": "用户类型 2-机构 7-企业成员",
  1448. "name": "usertype",
  1449. "in": "query"
  1450. },
  1451. {
  1452. "type": "string",
  1453. "description": "现货合同ID, 不填则查所有",
  1454. "name": "relatedid",
  1455. "in": "query"
  1456. },
  1457. {
  1458. "type": "string",
  1459. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1460. "name": "applystatus",
  1461. "in": "query"
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "OK",
  1467. "schema": {
  1468. "type": "array",
  1469. "items": {
  1470. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1471. }
  1472. }
  1473. },
  1474. "500": {
  1475. "description": "Internal Server Error",
  1476. "schema": {
  1477. "$ref": "#/definitions/app.Response"
  1478. }
  1479. }
  1480. }
  1481. }
  1482. },
  1483. "/Ermcp/QueryBusinessJs": {
  1484. "get": {
  1485. "security": [
  1486. {
  1487. "ApiKeyAuth": []
  1488. }
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "企业风险管理(app)"
  1495. ],
  1496. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1497. "parameters": [
  1498. {
  1499. "type": "integer",
  1500. "description": "用户ID",
  1501. "name": "UserId",
  1502. "in": "query",
  1503. "required": true
  1504. },
  1505. {
  1506. "type": "integer",
  1507. "description": "用户类型 2-机构 7-企业成员",
  1508. "name": "usertype",
  1509. "in": "query"
  1510. },
  1511. {
  1512. "type": "string",
  1513. "description": "现货合同ID, 不填则查所有",
  1514. "name": "relatedid",
  1515. "in": "query"
  1516. },
  1517. {
  1518. "type": "string",
  1519. "description": "操作申请id",
  1520. "name": "operateapplyid",
  1521. "in": "query"
  1522. },
  1523. {
  1524. "type": "string",
  1525. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1526. "name": "applystatus",
  1527. "in": "query"
  1528. }
  1529. ],
  1530. "responses": {
  1531. "200": {
  1532. "description": "OK",
  1533. "schema": {
  1534. "type": "array",
  1535. "items": {
  1536. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1537. }
  1538. }
  1539. },
  1540. "500": {
  1541. "description": "Internal Server Error",
  1542. "schema": {
  1543. "$ref": "#/definitions/app.Response"
  1544. }
  1545. }
  1546. }
  1547. }
  1548. },
  1549. "/Ermcp/QueryBusinessJsEx": {
  1550. "get": {
  1551. "security": [
  1552. {
  1553. "ApiKeyAuth": []
  1554. }
  1555. ],
  1556. "produces": [
  1557. "application/json"
  1558. ],
  1559. "tags": [
  1560. "企业风险管理(app)"
  1561. ],
  1562. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1563. "parameters": [
  1564. {
  1565. "type": "integer",
  1566. "description": "用户ID",
  1567. "name": "UserId",
  1568. "in": "query",
  1569. "required": true
  1570. },
  1571. {
  1572. "type": "integer",
  1573. "description": "用户类型 2-机构 7-企业成员",
  1574. "name": "usertype",
  1575. "in": "query"
  1576. },
  1577. {
  1578. "type": "string",
  1579. "description": "现货合同ID, 不填则查所有",
  1580. "name": "relatedid",
  1581. "in": "query"
  1582. },
  1583. {
  1584. "type": "string",
  1585. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1586. "name": "applystatus",
  1587. "in": "query"
  1588. }
  1589. ],
  1590. "responses": {
  1591. "200": {
  1592. "description": "OK",
  1593. "schema": {
  1594. "type": "array",
  1595. "items": {
  1596. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1597. }
  1598. }
  1599. },
  1600. "500": {
  1601. "description": "Internal Server Error",
  1602. "schema": {
  1603. "$ref": "#/definitions/app.Response"
  1604. }
  1605. }
  1606. }
  1607. }
  1608. },
  1609. "/Ermcp/QueryBusinessKx": {
  1610. "get": {
  1611. "security": [
  1612. {
  1613. "ApiKeyAuth": []
  1614. }
  1615. ],
  1616. "produces": [
  1617. "application/json"
  1618. ],
  1619. "tags": [
  1620. "企业风险管理(app)"
  1621. ],
  1622. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1623. "parameters": [
  1624. {
  1625. "type": "integer",
  1626. "description": "用户ID",
  1627. "name": "UserId",
  1628. "in": "query",
  1629. "required": true
  1630. },
  1631. {
  1632. "type": "integer",
  1633. "description": "用户类型 2-机构 7-企业成员",
  1634. "name": "usertype",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "现货合同ID, 不填则查所有",
  1640. "name": "relatedid",
  1641. "in": "query"
  1642. },
  1643. {
  1644. "type": "string",
  1645. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1646. "name": "applystatus",
  1647. "in": "query"
  1648. }
  1649. ],
  1650. "responses": {
  1651. "200": {
  1652. "description": "OK",
  1653. "schema": {
  1654. "type": "array",
  1655. "items": {
  1656. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1657. }
  1658. }
  1659. },
  1660. "500": {
  1661. "description": "Internal Server Error",
  1662. "schema": {
  1663. "$ref": "#/definitions/app.Response"
  1664. }
  1665. }
  1666. }
  1667. }
  1668. },
  1669. "/Ermcp/QueryChangeLog": {
  1670. "get": {
  1671. "security": [
  1672. {
  1673. "ApiKeyAuth": []
  1674. }
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "企业风险管理(app)"
  1681. ],
  1682. "summary": "查询变更记录",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "合同ID",
  1687. "name": "RelatedId",
  1688. "in": "query",
  1689. "required": true
  1690. }
  1691. ],
  1692. "responses": {
  1693. "200": {
  1694. "description": "OK",
  1695. "schema": {
  1696. "type": "array",
  1697. "items": {
  1698. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1699. }
  1700. }
  1701. },
  1702. "500": {
  1703. "description": "Internal Server Error",
  1704. "schema": {
  1705. "$ref": "#/definitions/app.Response"
  1706. }
  1707. }
  1708. }
  1709. }
  1710. },
  1711. "/Ermcp/QueryErmcpHisOrderDetails": {
  1712. "get": {
  1713. "security": [
  1714. {
  1715. "ApiKeyAuth": []
  1716. }
  1717. ],
  1718. "produces": [
  1719. "application/json"
  1720. ],
  1721. "tags": [
  1722. "企业风险管理(app)"
  1723. ],
  1724. "summary": "获取企业风管期货历史委托单信息",
  1725. "parameters": [
  1726. {
  1727. "type": "integer",
  1728. "description": "资金账户ID",
  1729. "name": "accountID",
  1730. "in": "query",
  1731. "required": true
  1732. },
  1733. {
  1734. "type": "string",
  1735. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1736. "name": "startDate",
  1737. "in": "query"
  1738. },
  1739. {
  1740. "type": "string",
  1741. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1742. "name": "endDate",
  1743. "in": "query"
  1744. }
  1745. ],
  1746. "responses": {
  1747. "200": {
  1748. "description": "OK",
  1749. "schema": {
  1750. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1751. }
  1752. },
  1753. "500": {
  1754. "description": "Internal Server Error",
  1755. "schema": {
  1756. "$ref": "#/definitions/app.Response"
  1757. }
  1758. }
  1759. }
  1760. }
  1761. },
  1762. "/Ermcp/QueryErmcpHisTradeDetails": {
  1763. "get": {
  1764. "security": [
  1765. {
  1766. "ApiKeyAuth": []
  1767. }
  1768. ],
  1769. "produces": [
  1770. "application/json"
  1771. ],
  1772. "tags": [
  1773. "企业风险管理(app)"
  1774. ],
  1775. "summary": "获取企业风管期货历史成交单信息",
  1776. "parameters": [
  1777. {
  1778. "type": "integer",
  1779. "description": "资金账户ID",
  1780. "name": "accountID",
  1781. "in": "query",
  1782. "required": true
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "商品ID",
  1787. "name": "goodsID",
  1788. "in": "query"
  1789. },
  1790. {
  1791. "type": "integer",
  1792. "description": "买卖方向,0:买 1:卖",
  1793. "name": "buyOrSell",
  1794. "in": "query"
  1795. },
  1796. {
  1797. "type": "integer",
  1798. "description": "关联委托单号",
  1799. "name": "orderID",
  1800. "in": "query"
  1801. },
  1802. {
  1803. "type": "string",
  1804. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1805. "name": "startDate",
  1806. "in": "query"
  1807. },
  1808. {
  1809. "type": "string",
  1810. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1811. "name": "endDate",
  1812. "in": "query"
  1813. }
  1814. ],
  1815. "responses": {
  1816. "200": {
  1817. "description": "OK",
  1818. "schema": {
  1819. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1820. }
  1821. },
  1822. "500": {
  1823. "description": "Internal Server Error",
  1824. "schema": {
  1825. "$ref": "#/definitions/app.Response"
  1826. }
  1827. }
  1828. }
  1829. }
  1830. },
  1831. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1832. "get": {
  1833. "security": [
  1834. {
  1835. "ApiKeyAuth": []
  1836. }
  1837. ],
  1838. "produces": [
  1839. "application/json"
  1840. ],
  1841. "tags": [
  1842. "企业风险管理(app)"
  1843. ],
  1844. "summary": "获取企业风管期货内部持仓单信息",
  1845. "parameters": [
  1846. {
  1847. "type": "integer",
  1848. "description": "资金账户ID",
  1849. "name": "accountID",
  1850. "in": "query",
  1851. "required": true
  1852. },
  1853. {
  1854. "type": "integer",
  1855. "description": "商品ID",
  1856. "name": "goodsID",
  1857. "in": "query"
  1858. },
  1859. {
  1860. "type": "integer",
  1861. "description": "买卖方向,0:买 1:卖",
  1862. "name": "buyOrSell",
  1863. "in": "query"
  1864. }
  1865. ],
  1866. "responses": {
  1867. "200": {
  1868. "description": "OK",
  1869. "schema": {
  1870. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1871. }
  1872. },
  1873. "500": {
  1874. "description": "Internal Server Error",
  1875. "schema": {
  1876. "$ref": "#/definitions/app.Response"
  1877. }
  1878. }
  1879. }
  1880. }
  1881. },
  1882. "/Ermcp/QueryErmcpOrderDetails": {
  1883. "get": {
  1884. "security": [
  1885. {
  1886. "ApiKeyAuth": []
  1887. }
  1888. ],
  1889. "produces": [
  1890. "application/json"
  1891. ],
  1892. "tags": [
  1893. "企业风险管理(app)"
  1894. ],
  1895. "summary": "获取企业风管期货委托单信息",
  1896. "parameters": [
  1897. {
  1898. "type": "integer",
  1899. "description": "资金账户ID",
  1900. "name": "accountID",
  1901. "in": "query",
  1902. "required": true
  1903. }
  1904. ],
  1905. "responses": {
  1906. "200": {
  1907. "description": "OK",
  1908. "schema": {
  1909. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1910. }
  1911. },
  1912. "500": {
  1913. "description": "Internal Server Error",
  1914. "schema": {
  1915. "$ref": "#/definitions/app.Response"
  1916. }
  1917. }
  1918. }
  1919. }
  1920. },
  1921. "/Ermcp/QueryErmcpTradeDetails": {
  1922. "get": {
  1923. "security": [
  1924. {
  1925. "ApiKeyAuth": []
  1926. }
  1927. ],
  1928. "produces": [
  1929. "application/json"
  1930. ],
  1931. "tags": [
  1932. "企业风险管理(app)"
  1933. ],
  1934. "summary": "获取企业风管期货成交单信息",
  1935. "parameters": [
  1936. {
  1937. "type": "integer",
  1938. "description": "资金账户ID",
  1939. "name": "accountID",
  1940. "in": "query",
  1941. "required": true
  1942. },
  1943. {
  1944. "type": "integer",
  1945. "description": "商品ID",
  1946. "name": "goodsID",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "integer",
  1951. "description": "买卖方向,0:买 1:卖",
  1952. "name": "buyOrSell",
  1953. "in": "query"
  1954. },
  1955. {
  1956. "type": "integer",
  1957. "description": "关联委托单号",
  1958. "name": "orderID",
  1959. "in": "query"
  1960. }
  1961. ],
  1962. "responses": {
  1963. "200": {
  1964. "description": "OK",
  1965. "schema": {
  1966. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1967. }
  1968. },
  1969. "500": {
  1970. "description": "Internal Server Error",
  1971. "schema": {
  1972. "$ref": "#/definitions/app.Response"
  1973. }
  1974. }
  1975. }
  1976. }
  1977. },
  1978. "/Ermcp/QueryErmcpTradePosition": {
  1979. "get": {
  1980. "security": [
  1981. {
  1982. "ApiKeyAuth": []
  1983. }
  1984. ],
  1985. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "企业风险管理(app)"
  1991. ],
  1992. "summary": "获取企业风管期货持仓头寸信息",
  1993. "parameters": [
  1994. {
  1995. "type": "integer",
  1996. "description": "资金账户ID",
  1997. "name": "accountID",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "所属市场ID",
  2004. "name": "marketID",
  2005. "in": "query"
  2006. }
  2007. ],
  2008. "responses": {
  2009. "200": {
  2010. "description": "OK",
  2011. "schema": {
  2012. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2013. }
  2014. },
  2015. "500": {
  2016. "description": "Internal Server Error",
  2017. "schema": {
  2018. "$ref": "#/definitions/app.Response"
  2019. }
  2020. }
  2021. }
  2022. }
  2023. },
  2024. "/Ermcp/QueryExposureDetail": {
  2025. "get": {
  2026. "security": [
  2027. {
  2028. "ApiKeyAuth": []
  2029. }
  2030. ],
  2031. "produces": [
  2032. "application/json"
  2033. ],
  2034. "tags": [
  2035. "企业风险管理(app)"
  2036. ],
  2037. "summary": "查询敞口现货明细",
  2038. "parameters": [
  2039. {
  2040. "type": "integer",
  2041. "description": "所属机构ID",
  2042. "name": "areaUserId",
  2043. "in": "query",
  2044. "required": true
  2045. },
  2046. {
  2047. "type": "integer",
  2048. "description": "套保商品",
  2049. "name": "middleGoodsId",
  2050. "in": "query",
  2051. "required": true
  2052. }
  2053. ],
  2054. "responses": {
  2055. "200": {
  2056. "description": "OK",
  2057. "schema": {
  2058. "type": "array",
  2059. "items": {
  2060. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2061. }
  2062. }
  2063. },
  2064. "500": {
  2065. "description": "Internal Server Error",
  2066. "schema": {
  2067. "$ref": "#/definitions/app.Response"
  2068. }
  2069. }
  2070. }
  2071. }
  2072. },
  2073. "/Ermcp/QueryExposureHedgePosition": {
  2074. "get": {
  2075. "security": [
  2076. {
  2077. "ApiKeyAuth": []
  2078. }
  2079. ],
  2080. "produces": [
  2081. "application/json"
  2082. ],
  2083. "tags": [
  2084. "企业风险管理(app)"
  2085. ],
  2086. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2087. "parameters": [
  2088. {
  2089. "type": "integer",
  2090. "description": "用户id",
  2091. "name": "userid",
  2092. "in": "query",
  2093. "required": true
  2094. }
  2095. ],
  2096. "responses": {
  2097. "200": {
  2098. "description": "OK",
  2099. "schema": {
  2100. "type": "array",
  2101. "items": {
  2102. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2103. }
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "Internal Server Error",
  2108. "schema": {
  2109. "$ref": "#/definitions/app.Response"
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "/Ermcp/QueryExposureHedgePositionDetail": {
  2116. "get": {
  2117. "security": [
  2118. {
  2119. "ApiKeyAuth": []
  2120. }
  2121. ],
  2122. "produces": [
  2123. "application/json"
  2124. ],
  2125. "tags": [
  2126. "企业风险管理(app)"
  2127. ],
  2128. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2129. "parameters": [
  2130. {
  2131. "type": "integer",
  2132. "description": "所属机构ID",
  2133. "name": "userid",
  2134. "in": "query",
  2135. "required": true
  2136. },
  2137. {
  2138. "type": "integer",
  2139. "description": "商品id",
  2140. "name": "goodsId",
  2141. "in": "query",
  2142. "required": true
  2143. }
  2144. ],
  2145. "responses": {
  2146. "200": {
  2147. "description": "OK",
  2148. "schema": {
  2149. "type": "array",
  2150. "items": {
  2151. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2152. }
  2153. }
  2154. },
  2155. "500": {
  2156. "description": "Internal Server Error",
  2157. "schema": {
  2158. "$ref": "#/definitions/app.Response"
  2159. }
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "/Ermcp/QueryExposureSpot": {
  2165. "get": {
  2166. "security": [
  2167. {
  2168. "ApiKeyAuth": []
  2169. }
  2170. ],
  2171. "produces": [
  2172. "application/json"
  2173. ],
  2174. "tags": [
  2175. "企业风险管理(app)"
  2176. ],
  2177. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2178. "parameters": [
  2179. {
  2180. "type": "integer",
  2181. "description": "所属机构ID",
  2182. "name": "areaUserId",
  2183. "in": "query",
  2184. "required": true
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "type": "array",
  2192. "items": {
  2193. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryExposureSpotDetail": {
  2207. "get": {
  2208. "security": [
  2209. {
  2210. "ApiKeyAuth": []
  2211. }
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "企业风险管理(app)"
  2218. ],
  2219. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2220. "parameters": [
  2221. {
  2222. "type": "integer",
  2223. "description": "所属机构ID",
  2224. "name": "areaUserId",
  2225. "in": "query",
  2226. "required": true
  2227. },
  2228. {
  2229. "type": "integer",
  2230. "description": "现货品种ID",
  2231. "name": "wrstandardId",
  2232. "in": "query",
  2233. "required": true
  2234. }
  2235. ],
  2236. "responses": {
  2237. "200": {
  2238. "description": "OK",
  2239. "schema": {
  2240. "type": "array",
  2241. "items": {
  2242. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2243. }
  2244. }
  2245. },
  2246. "500": {
  2247. "description": "Internal Server Error",
  2248. "schema": {
  2249. "$ref": "#/definitions/app.Response"
  2250. }
  2251. }
  2252. }
  2253. }
  2254. },
  2255. "/Ermcp/QueryFuturesCompany": {
  2256. "get": {
  2257. "security": [
  2258. {
  2259. "ApiKeyAuth": []
  2260. }
  2261. ],
  2262. "produces": [
  2263. "application/json"
  2264. ],
  2265. "tags": [
  2266. "企业风险管理(app)"
  2267. ],
  2268. "summary": "查询期货公司",
  2269. "responses": {
  2270. "200": {
  2271. "description": "OK",
  2272. "schema": {
  2273. "type": "array",
  2274. "items": {
  2275. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2276. }
  2277. }
  2278. },
  2279. "500": {
  2280. "description": "Internal Server Error",
  2281. "schema": {
  2282. "$ref": "#/definitions/app.Response"
  2283. }
  2284. }
  2285. }
  2286. }
  2287. },
  2288. "/Ermcp/QueryGGConvertConfig": {
  2289. "get": {
  2290. "security": [
  2291. {
  2292. "ApiKeyAuth": []
  2293. }
  2294. ],
  2295. "produces": [
  2296. "application/json"
  2297. ],
  2298. "tags": [
  2299. "企业风险管理(app)"
  2300. ],
  2301. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2302. "parameters": [
  2303. {
  2304. "type": "integer",
  2305. "description": "品种id(不填则查所有)",
  2306. "name": "goodsgroupid",
  2307. "in": "query"
  2308. }
  2309. ],
  2310. "responses": {
  2311. "200": {
  2312. "description": "OK",
  2313. "schema": {
  2314. "type": "array",
  2315. "items": {
  2316. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2317. }
  2318. }
  2319. },
  2320. "500": {
  2321. "description": "Internal Server Error",
  2322. "schema": {
  2323. "$ref": "#/definitions/app.Response"
  2324. }
  2325. }
  2326. }
  2327. }
  2328. },
  2329. "/Ermcp/QueryGoodsBrand": {
  2330. "get": {
  2331. "security": [
  2332. {
  2333. "ApiKeyAuth": []
  2334. }
  2335. ],
  2336. "produces": [
  2337. "application/json"
  2338. ],
  2339. "tags": [
  2340. "企业风险管理(app)"
  2341. ],
  2342. "summary": "查询商品品牌",
  2343. "parameters": [
  2344. {
  2345. "type": "integer",
  2346. "description": "用户ID",
  2347. "name": "userid",
  2348. "in": "query",
  2349. "required": true
  2350. },
  2351. {
  2352. "type": "integer",
  2353. "description": "现货商品ID",
  2354. "name": "wrstandardid",
  2355. "in": "query"
  2356. }
  2357. ],
  2358. "responses": {
  2359. "200": {
  2360. "description": "OK",
  2361. "schema": {
  2362. "type": "array",
  2363. "items": {
  2364. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2365. }
  2366. }
  2367. },
  2368. "500": {
  2369. "description": "Internal Server Error",
  2370. "schema": {
  2371. "$ref": "#/definitions/app.Response"
  2372. }
  2373. }
  2374. }
  2375. }
  2376. },
  2377. "/Ermcp/QueryGoodsModel": {
  2378. "get": {
  2379. "security": [
  2380. {
  2381. "ApiKeyAuth": []
  2382. }
  2383. ],
  2384. "produces": [
  2385. "application/json"
  2386. ],
  2387. "tags": [
  2388. "企业风险管理(app)"
  2389. ],
  2390. "summary": "查询商品型号",
  2391. "parameters": [
  2392. {
  2393. "type": "integer",
  2394. "description": "用户ID",
  2395. "name": "userid",
  2396. "in": "query",
  2397. "required": true
  2398. }
  2399. ],
  2400. "responses": {
  2401. "200": {
  2402. "description": "OK",
  2403. "schema": {
  2404. "type": "array",
  2405. "items": {
  2406. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2407. }
  2408. }
  2409. },
  2410. "500": {
  2411. "description": "Internal Server Error",
  2412. "schema": {
  2413. "$ref": "#/definitions/app.Response"
  2414. }
  2415. }
  2416. }
  2417. }
  2418. },
  2419. "/Ermcp/QueryHisExposure": {
  2420. "get": {
  2421. "security": [
  2422. {
  2423. "ApiKeyAuth": []
  2424. }
  2425. ],
  2426. "produces": [
  2427. "application/json"
  2428. ],
  2429. "tags": [
  2430. "企业风险管理(app)"
  2431. ],
  2432. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2433. "parameters": [
  2434. {
  2435. "type": "integer",
  2436. "description": "用户id",
  2437. "name": "userid",
  2438. "in": "query",
  2439. "required": true
  2440. },
  2441. {
  2442. "type": "integer",
  2443. "description": "每个品种记录数",
  2444. "name": "lastNum",
  2445. "in": "query",
  2446. "required": true
  2447. }
  2448. ],
  2449. "responses": {
  2450. "200": {
  2451. "description": "OK",
  2452. "schema": {
  2453. "type": "array",
  2454. "items": {
  2455. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2456. }
  2457. }
  2458. },
  2459. "500": {
  2460. "description": "Internal Server Error",
  2461. "schema": {
  2462. "$ref": "#/definitions/app.Response"
  2463. }
  2464. }
  2465. }
  2466. }
  2467. },
  2468. "/Ermcp/QueryMiddleGoods": {
  2469. "get": {
  2470. "security": [
  2471. {
  2472. "ApiKeyAuth": []
  2473. }
  2474. ],
  2475. "produces": [
  2476. "application/json"
  2477. ],
  2478. "tags": [
  2479. "企业风险管理(app)"
  2480. ],
  2481. "summary": "查询套保品种(菜单:套保品种)",
  2482. "parameters": [
  2483. {
  2484. "type": "integer",
  2485. "description": "所属机构ID",
  2486. "name": "userid",
  2487. "in": "query",
  2488. "required": true
  2489. },
  2490. {
  2491. "type": "integer",
  2492. "description": "状态 0-停用 1-正常",
  2493. "name": "status",
  2494. "in": "query",
  2495. "required": true
  2496. }
  2497. ],
  2498. "responses": {
  2499. "200": {
  2500. "description": "OK",
  2501. "schema": {
  2502. "type": "array",
  2503. "items": {
  2504. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2505. }
  2506. }
  2507. },
  2508. "500": {
  2509. "description": "Internal Server Error",
  2510. "schema": {
  2511. "$ref": "#/definitions/app.Response"
  2512. }
  2513. }
  2514. }
  2515. }
  2516. },
  2517. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2518. "get": {
  2519. "security": [
  2520. {
  2521. "ApiKeyAuth": []
  2522. }
  2523. ],
  2524. "produces": [
  2525. "application/json"
  2526. ],
  2527. "tags": [
  2528. "企业风险管理(app)"
  2529. ],
  2530. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2531. "parameters": [
  2532. {
  2533. "type": "integer",
  2534. "description": "所属机构ID",
  2535. "name": "userid",
  2536. "in": "query",
  2537. "required": true
  2538. },
  2539. {
  2540. "type": "integer",
  2541. "description": "套保品种id",
  2542. "name": "middlegoodsid",
  2543. "in": "query",
  2544. "required": true
  2545. }
  2546. ],
  2547. "responses": {
  2548. "200": {
  2549. "description": "OK",
  2550. "schema": {
  2551. "type": "array",
  2552. "items": {
  2553. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2554. }
  2555. }
  2556. },
  2557. "500": {
  2558. "description": "Internal Server Error",
  2559. "schema": {
  2560. "$ref": "#/definitions/app.Response"
  2561. }
  2562. }
  2563. }
  2564. }
  2565. },
  2566. "/Ermcp/QueryMiddleGoodsDetail": {
  2567. "get": {
  2568. "security": [
  2569. {
  2570. "ApiKeyAuth": []
  2571. }
  2572. ],
  2573. "produces": [
  2574. "application/json"
  2575. ],
  2576. "tags": [
  2577. "企业风险管理(app)"
  2578. ],
  2579. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2580. "parameters": [
  2581. {
  2582. "type": "integer",
  2583. "description": "所属机构ID",
  2584. "name": "userid",
  2585. "in": "query",
  2586. "required": true
  2587. },
  2588. {
  2589. "type": "integer",
  2590. "description": "套保品种id",
  2591. "name": "middlegoodsid",
  2592. "in": "query"
  2593. }
  2594. ],
  2595. "responses": {
  2596. "200": {
  2597. "description": "OK",
  2598. "schema": {
  2599. "type": "array",
  2600. "items": {
  2601. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2602. }
  2603. }
  2604. },
  2605. "500": {
  2606. "description": "Internal Server Error",
  2607. "schema": {
  2608. "$ref": "#/definitions/app.Response"
  2609. }
  2610. }
  2611. }
  2612. }
  2613. },
  2614. "/Ermcp/QueryPendingAuditInfo": {
  2615. "get": {
  2616. "security": [
  2617. {
  2618. "ApiKeyAuth": []
  2619. }
  2620. ],
  2621. "produces": [
  2622. "application/json"
  2623. ],
  2624. "tags": [
  2625. "企业风险管理(app)"
  2626. ],
  2627. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2628. "parameters": [
  2629. {
  2630. "type": "integer",
  2631. "description": "用户ID",
  2632. "name": "UserId",
  2633. "in": "query",
  2634. "required": true
  2635. }
  2636. ],
  2637. "responses": {
  2638. "200": {
  2639. "description": "OK",
  2640. "schema": {
  2641. "type": "array",
  2642. "items": {
  2643. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2644. }
  2645. }
  2646. },
  2647. "500": {
  2648. "description": "Internal Server Error",
  2649. "schema": {
  2650. "$ref": "#/definitions/app.Response"
  2651. }
  2652. }
  2653. }
  2654. }
  2655. },
  2656. "/Ermcp/QueryRealtimeExposure": {
  2657. "get": {
  2658. "security": [
  2659. {
  2660. "ApiKeyAuth": []
  2661. }
  2662. ],
  2663. "produces": [
  2664. "application/json"
  2665. ],
  2666. "tags": [
  2667. "企业风险管理(app)"
  2668. ],
  2669. "summary": "查询实时敞口",
  2670. "parameters": [
  2671. {
  2672. "type": "integer",
  2673. "description": "所属机构ID",
  2674. "name": "userid",
  2675. "in": "query",
  2676. "required": true
  2677. }
  2678. ],
  2679. "responses": {
  2680. "200": {
  2681. "description": "OK",
  2682. "schema": {
  2683. "type": "array",
  2684. "items": {
  2685. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2686. }
  2687. }
  2688. },
  2689. "500": {
  2690. "description": "Internal Server Error",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "/Ermcp/QueryRealtimeExposurePosition": {
  2699. "get": {
  2700. "security": [
  2701. {
  2702. "ApiKeyAuth": []
  2703. }
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "企业风险管理(app)"
  2710. ],
  2711. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2712. "parameters": [
  2713. {
  2714. "type": "integer",
  2715. "description": "用户id",
  2716. "name": "userid",
  2717. "in": "query",
  2718. "required": true
  2719. },
  2720. {
  2721. "type": "integer",
  2722. "description": "套保商品ID",
  2723. "name": "middleGoodsId",
  2724. "in": "query",
  2725. "required": true
  2726. }
  2727. ],
  2728. "responses": {
  2729. "200": {
  2730. "description": "OK",
  2731. "schema": {
  2732. "type": "array",
  2733. "items": {
  2734. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2735. }
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryTradeConfigTMP": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "查询交易模板配置",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "所属机构id",
  2765. "name": "areauserid",
  2766. "in": "query"
  2767. }
  2768. ],
  2769. "responses": {
  2770. "200": {
  2771. "description": "OK",
  2772. "schema": {
  2773. "type": "array",
  2774. "items": {
  2775. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2776. }
  2777. }
  2778. },
  2779. "500": {
  2780. "description": "Internal Server Error",
  2781. "schema": {
  2782. "$ref": "#/definitions/app.Response"
  2783. }
  2784. }
  2785. }
  2786. }
  2787. },
  2788. "/Ermcp/QueryUserInfo": {
  2789. "get": {
  2790. "security": [
  2791. {
  2792. "ApiKeyAuth": []
  2793. }
  2794. ],
  2795. "produces": [
  2796. "application/json"
  2797. ],
  2798. "tags": [
  2799. "企业风险管理(app)"
  2800. ],
  2801. "summary": "查询客户资料",
  2802. "parameters": [
  2803. {
  2804. "type": "integer",
  2805. "description": "所属机构用户ID",
  2806. "name": "MemberUserID",
  2807. "in": "query",
  2808. "required": true
  2809. },
  2810. {
  2811. "type": "integer",
  2812. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2813. "name": "queryType",
  2814. "in": "query",
  2815. "required": true
  2816. }
  2817. ],
  2818. "responses": {
  2819. "200": {
  2820. "description": "OK",
  2821. "schema": {
  2822. "type": "array",
  2823. "items": {
  2824. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2825. }
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/Ermcp/QueryWarehouseInfo": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "企业风险管理(app)"
  2849. ],
  2850. "summary": "查询仓库信息",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "用户ID",
  2855. "name": "userid",
  2856. "in": "query",
  2857. "required": true
  2858. },
  2859. {
  2860. "type": "string",
  2861. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2862. "name": "status",
  2863. "in": "query"
  2864. }
  2865. ],
  2866. "responses": {
  2867. "200": {
  2868. "description": "OK",
  2869. "schema": {
  2870. "type": "array",
  2871. "items": {
  2872. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2873. }
  2874. }
  2875. },
  2876. "500": {
  2877. "description": "Internal Server Error",
  2878. "schema": {
  2879. "$ref": "#/definitions/app.Response"
  2880. }
  2881. }
  2882. }
  2883. }
  2884. },
  2885. "/Ermcp3/QryAreaExpourseContractDetail": {
  2886. "get": {
  2887. "security": [
  2888. {
  2889. "ApiKeyAuth": []
  2890. }
  2891. ],
  2892. "produces": [
  2893. "application/json"
  2894. ],
  2895. "tags": [
  2896. "企业风险管理v3(app)"
  2897. ],
  2898. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2899. "parameters": [
  2900. {
  2901. "type": "integer",
  2902. "description": "用户ID",
  2903. "name": "userid",
  2904. "in": "query",
  2905. "required": true
  2906. },
  2907. {
  2908. "type": "integer",
  2909. "description": "套保商品id",
  2910. "name": "middlegoodsid",
  2911. "in": "query",
  2912. "required": true
  2913. },
  2914. {
  2915. "type": "integer",
  2916. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2917. "name": "cycletype",
  2918. "in": "query",
  2919. "required": true
  2920. },
  2921. {
  2922. "type": "string",
  2923. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2924. "name": "cycletime",
  2925. "in": "query",
  2926. "required": true
  2927. }
  2928. ],
  2929. "responses": {
  2930. "200": {
  2931. "description": "OK",
  2932. "schema": {
  2933. "type": "array",
  2934. "items": {
  2935. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2936. }
  2937. }
  2938. },
  2939. "500": {
  2940. "description": "Internal Server Error",
  2941. "schema": {
  2942. "$ref": "#/definitions/app.Response"
  2943. }
  2944. }
  2945. }
  2946. }
  2947. },
  2948. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2949. "get": {
  2950. "security": [
  2951. {
  2952. "ApiKeyAuth": []
  2953. }
  2954. ],
  2955. "produces": [
  2956. "application/json"
  2957. ],
  2958. "tags": [
  2959. "企业风险管理v3(app)"
  2960. ],
  2961. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2962. "parameters": [
  2963. {
  2964. "type": "integer",
  2965. "description": "用户ID",
  2966. "name": "userid",
  2967. "in": "query",
  2968. "required": true
  2969. },
  2970. {
  2971. "type": "integer",
  2972. "description": "套保商品id",
  2973. "name": "middlegoodsid",
  2974. "in": "query",
  2975. "required": true
  2976. },
  2977. {
  2978. "type": "integer",
  2979. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2980. "name": "cycletype",
  2981. "in": "query",
  2982. "required": true
  2983. },
  2984. {
  2985. "type": "string",
  2986. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2987. "name": "cycletime",
  2988. "in": "query",
  2989. "required": true
  2990. }
  2991. ],
  2992. "responses": {
  2993. "200": {
  2994. "description": "OK",
  2995. "schema": {
  2996. "type": "array",
  2997. "items": {
  2998. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2999. }
  3000. }
  3001. },
  3002. "500": {
  3003. "description": "Internal Server Error",
  3004. "schema": {
  3005. "$ref": "#/definitions/app.Response"
  3006. }
  3007. }
  3008. }
  3009. }
  3010. },
  3011. "/Ermcp3/QryAreaExpourseReport": {
  3012. "get": {
  3013. "security": [
  3014. {
  3015. "ApiKeyAuth": []
  3016. }
  3017. ],
  3018. "produces": [
  3019. "application/json"
  3020. ],
  3021. "tags": [
  3022. "企业风险管理v3(app)"
  3023. ],
  3024. "summary": "查询敞口报表",
  3025. "parameters": [
  3026. {
  3027. "type": "integer",
  3028. "description": "用户ID",
  3029. "name": "userid",
  3030. "in": "query",
  3031. "required": true
  3032. },
  3033. {
  3034. "type": "integer",
  3035. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3036. "name": "querytype",
  3037. "in": "query",
  3038. "required": true
  3039. },
  3040. {
  3041. "type": "integer",
  3042. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3043. "name": "cycletype",
  3044. "in": "query",
  3045. "required": true
  3046. },
  3047. {
  3048. "type": "string",
  3049. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3050. "name": "cycletime",
  3051. "in": "query",
  3052. "required": true
  3053. }
  3054. ],
  3055. "responses": {
  3056. "200": {
  3057. "description": "OK",
  3058. "schema": {
  3059. "type": "array",
  3060. "items": {
  3061. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3062. }
  3063. }
  3064. },
  3065. "500": {
  3066. "description": "Internal Server Error",
  3067. "schema": {
  3068. "$ref": "#/definitions/app.Response"
  3069. }
  3070. }
  3071. }
  3072. }
  3073. },
  3074. "/Ermcp3/QryAreaSpotplReport": {
  3075. "get": {
  3076. "security": [
  3077. {
  3078. "ApiKeyAuth": []
  3079. }
  3080. ],
  3081. "produces": [
  3082. "application/json"
  3083. ],
  3084. "tags": [
  3085. "企业风险管理v3(app)"
  3086. ],
  3087. "summary": "查询现货报表",
  3088. "parameters": [
  3089. {
  3090. "type": "integer",
  3091. "description": "用户ID",
  3092. "name": "userid",
  3093. "in": "query",
  3094. "required": true
  3095. },
  3096. {
  3097. "type": "integer",
  3098. "description": "查询类型 1-报表 2-报表明细",
  3099. "name": "querytype",
  3100. "in": "query",
  3101. "required": true
  3102. },
  3103. {
  3104. "type": "integer",
  3105. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3106. "name": "cycletype",
  3107. "in": "query",
  3108. "required": true
  3109. },
  3110. {
  3111. "type": "string",
  3112. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3113. "name": "cycletime",
  3114. "in": "query",
  3115. "required": true
  3116. },
  3117. {
  3118. "type": "integer",
  3119. "description": "现货品种id(明细必填)",
  3120. "name": "deliverygoodsid",
  3121. "in": "query"
  3122. },
  3123. {
  3124. "type": "integer",
  3125. "description": "币种id(明细必填)",
  3126. "name": "currencyid",
  3127. "in": "query"
  3128. }
  3129. ],
  3130. "responses": {
  3131. "200": {
  3132. "description": "OK",
  3133. "schema": {
  3134. "type": "array",
  3135. "items": {
  3136. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3137. }
  3138. }
  3139. },
  3140. "500": {
  3141. "description": "Internal Server Error",
  3142. "schema": {
  3143. "$ref": "#/definitions/app.Response"
  3144. }
  3145. }
  3146. }
  3147. }
  3148. },
  3149. "/Ermcp3/QryAreaStockReport": {
  3150. "get": {
  3151. "security": [
  3152. {
  3153. "ApiKeyAuth": []
  3154. }
  3155. ],
  3156. "produces": [
  3157. "application/json"
  3158. ],
  3159. "tags": [
  3160. "企业风险管理v3(app)"
  3161. ],
  3162. "summary": "查询库存报表",
  3163. "parameters": [
  3164. {
  3165. "type": "integer",
  3166. "description": "用户ID",
  3167. "name": "userid",
  3168. "in": "query",
  3169. "required": true
  3170. },
  3171. {
  3172. "type": "integer",
  3173. "description": "查询类型 1-报表 2-报表明细",
  3174. "name": "querytype",
  3175. "in": "query",
  3176. "required": true
  3177. },
  3178. {
  3179. "type": "integer",
  3180. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3181. "name": "cycletype",
  3182. "in": "query",
  3183. "required": true
  3184. },
  3185. {
  3186. "type": "string",
  3187. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3188. "name": "cycletime",
  3189. "in": "query",
  3190. "required": true
  3191. },
  3192. {
  3193. "type": "string",
  3194. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3195. "name": "sumfields",
  3196. "in": "query"
  3197. },
  3198. {
  3199. "type": "integer",
  3200. "description": "品种ID",
  3201. "name": "deliverygoodsid",
  3202. "in": "query"
  3203. },
  3204. {
  3205. "type": "integer",
  3206. "description": "品类ID",
  3207. "name": "wrstandardid",
  3208. "in": "query"
  3209. },
  3210. {
  3211. "type": "integer",
  3212. "description": "品牌ID",
  3213. "name": "spotgoodsbrandid",
  3214. "in": "query"
  3215. },
  3216. {
  3217. "type": "integer",
  3218. "description": "仓库ID",
  3219. "name": "warehouseinfoid",
  3220. "in": "query"
  3221. }
  3222. ],
  3223. "responses": {
  3224. "200": {
  3225. "description": "OK",
  3226. "schema": {
  3227. "type": "array",
  3228. "items": {
  3229. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3230. }
  3231. }
  3232. },
  3233. "500": {
  3234. "description": "Internal Server Error",
  3235. "schema": {
  3236. "$ref": "#/definitions/app.Response"
  3237. }
  3238. }
  3239. }
  3240. }
  3241. },
  3242. "/Ermcp3/QryAreaSumPL": {
  3243. "get": {
  3244. "security": [
  3245. {
  3246. "ApiKeyAuth": []
  3247. }
  3248. ],
  3249. "produces": [
  3250. "application/json"
  3251. ],
  3252. "tags": [
  3253. "企业风险管理v3(app)"
  3254. ],
  3255. "summary": "查询汇总损益表",
  3256. "parameters": [
  3257. {
  3258. "type": "integer",
  3259. "description": "用户ID",
  3260. "name": "userid",
  3261. "in": "query",
  3262. "required": true
  3263. },
  3264. {
  3265. "type": "integer",
  3266. "description": "查询类型 1-报表 2-报表明细",
  3267. "name": "querytype",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3274. "name": "cycletype",
  3275. "in": "query",
  3276. "required": true
  3277. },
  3278. {
  3279. "type": "string",
  3280. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3281. "name": "cycletime",
  3282. "in": "query",
  3283. "required": true
  3284. },
  3285. {
  3286. "type": "integer",
  3287. "description": "币种id(明细必填)",
  3288. "name": "currencyid",
  3289. "in": "query"
  3290. }
  3291. ],
  3292. "responses": {
  3293. "200": {
  3294. "description": "OK",
  3295. "schema": {
  3296. "type": "array",
  3297. "items": {
  3298. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3299. }
  3300. }
  3301. },
  3302. "500": {
  3303. "description": "Internal Server Error",
  3304. "schema": {
  3305. "$ref": "#/definitions/app.Response"
  3306. }
  3307. }
  3308. }
  3309. }
  3310. },
  3311. "/Ermcp3/QryFinanceReport": {
  3312. "get": {
  3313. "security": [
  3314. {
  3315. "ApiKeyAuth": []
  3316. }
  3317. ],
  3318. "produces": [
  3319. "application/json"
  3320. ],
  3321. "tags": [
  3322. "企业风险管理v3(app)"
  3323. ],
  3324. "summary": "查询财务报表",
  3325. "parameters": [
  3326. {
  3327. "type": "integer",
  3328. "description": "用户ID",
  3329. "name": "userid",
  3330. "in": "query",
  3331. "required": true
  3332. },
  3333. {
  3334. "type": "integer",
  3335. "description": "查询类型 1-报表 2-报表明细",
  3336. "name": "querytype",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3343. "name": "cycletype",
  3344. "in": "query",
  3345. "required": true
  3346. },
  3347. {
  3348. "type": "string",
  3349. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3350. "name": "cycletime",
  3351. "in": "query",
  3352. "required": true
  3353. },
  3354. {
  3355. "type": "integer",
  3356. "description": "币种id(报表明细必填)",
  3357. "name": "currencyid",
  3358. "in": "query"
  3359. },
  3360. {
  3361. "type": "string",
  3362. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3363. "name": "sumfields",
  3364. "in": "query"
  3365. }
  3366. ],
  3367. "responses": {
  3368. "200": {
  3369. "description": "OK",
  3370. "schema": {
  3371. "type": "array",
  3372. "items": {
  3373. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3374. }
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/Ermcp3/QueryAreaStock": {
  3387. "get": {
  3388. "security": [
  3389. {
  3390. "ApiKeyAuth": []
  3391. }
  3392. ],
  3393. "produces": [
  3394. "application/json"
  3395. ],
  3396. "tags": [
  3397. "企业风险管理v3(app)"
  3398. ],
  3399. "summary": "查询机构库存(库存管理/当前库存)",
  3400. "parameters": [
  3401. {
  3402. "type": "integer",
  3403. "description": "用户ID",
  3404. "name": "userid",
  3405. "in": "query",
  3406. "required": true
  3407. }
  3408. ],
  3409. "responses": {
  3410. "200": {
  3411. "description": "OK",
  3412. "schema": {
  3413. "type": "array",
  3414. "items": {
  3415. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3416. }
  3417. }
  3418. },
  3419. "500": {
  3420. "description": "Internal Server Error",
  3421. "schema": {
  3422. "$ref": "#/definitions/app.Response"
  3423. }
  3424. }
  3425. }
  3426. }
  3427. },
  3428. "/Ermcp3/QueryAreaStockApply": {
  3429. "get": {
  3430. "security": [
  3431. {
  3432. "ApiKeyAuth": []
  3433. }
  3434. ],
  3435. "produces": [
  3436. "application/json"
  3437. ],
  3438. "tags": [
  3439. "企业风险管理v3(app)"
  3440. ],
  3441. "summary": "查询库存申请(出入库记录|库存审核)",
  3442. "parameters": [
  3443. {
  3444. "type": "integer",
  3445. "description": "用户ID",
  3446. "name": "userid",
  3447. "in": "query",
  3448. "required": true
  3449. },
  3450. {
  3451. "type": "integer",
  3452. "description": "用户类型 2-机构 7-企业成员",
  3453. "name": "usertype",
  3454. "in": "query"
  3455. },
  3456. {
  3457. "type": "integer",
  3458. "description": "现货商品ID",
  3459. "name": "deliverygoodsid",
  3460. "in": "query"
  3461. },
  3462. {
  3463. "type": "string",
  3464. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3465. "name": "inouttype",
  3466. "in": "query"
  3467. },
  3468. {
  3469. "type": "integer",
  3470. "description": "合同ID",
  3471. "name": "spotcontractid",
  3472. "in": "query"
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "品类ID",
  3477. "name": "wrstandardid",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "integer",
  3482. "description": "品牌ID",
  3483. "name": "spotgoodsbrandid",
  3484. "in": "query"
  3485. },
  3486. {
  3487. "type": "integer",
  3488. "description": "仓库ID",
  3489. "name": "warehouseinfoid",
  3490. "in": "query"
  3491. },
  3492. {
  3493. "type": "string",
  3494. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3495. "name": "applystatus",
  3496. "in": "query"
  3497. }
  3498. ],
  3499. "responses": {
  3500. "200": {
  3501. "description": "OK",
  3502. "schema": {
  3503. "type": "array",
  3504. "items": {
  3505. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3506. }
  3507. }
  3508. },
  3509. "500": {
  3510. "description": "Internal Server Error",
  3511. "schema": {
  3512. "$ref": "#/definitions/app.Response"
  3513. }
  3514. }
  3515. }
  3516. }
  3517. },
  3518. "/Ermcp3/QueryAreaStockApplySum": {
  3519. "get": {
  3520. "security": [
  3521. {
  3522. "ApiKeyAuth": []
  3523. }
  3524. ],
  3525. "produces": [
  3526. "application/json"
  3527. ],
  3528. "tags": [
  3529. "企业风险管理v3(app)"
  3530. ],
  3531. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3532. "parameters": [
  3533. {
  3534. "type": "integer",
  3535. "description": "合同ID",
  3536. "name": "spotcontractid",
  3537. "in": "query"
  3538. }
  3539. ],
  3540. "responses": {
  3541. "200": {
  3542. "description": "OK",
  3543. "schema": {
  3544. "type": "array",
  3545. "items": {
  3546. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3547. }
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/Ermcp3/QueryDGFactoryItem": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "produces": [
  3567. "application/json"
  3568. ],
  3569. "tags": [
  3570. "企业风险管理v3(app)"
  3571. ],
  3572. "summary": "查询品种要素定义项",
  3573. "parameters": [
  3574. {
  3575. "type": "integer",
  3576. "description": "用户id",
  3577. "name": "userid",
  3578. "in": "query"
  3579. },
  3580. {
  3581. "type": "integer",
  3582. "description": "用户类型 2-机构 7-企业成员",
  3583. "name": "usertype",
  3584. "in": "query"
  3585. },
  3586. {
  3587. "type": "integer",
  3588. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3589. "name": "dgfactoryitemid",
  3590. "in": "query"
  3591. },
  3592. {
  3593. "type": "integer",
  3594. "description": "现货品种ID",
  3595. "name": "deliverygoodsid",
  3596. "in": "query"
  3597. },
  3598. {
  3599. "type": "integer",
  3600. "description": "要素项类型",
  3601. "name": "dgfactoryitemtypeid",
  3602. "in": "query"
  3603. },
  3604. {
  3605. "type": "integer",
  3606. "description": "顺序",
  3607. "name": "orderindex",
  3608. "in": "query"
  3609. }
  3610. ],
  3611. "responses": {
  3612. "200": {
  3613. "description": "OK",
  3614. "schema": {
  3615. "type": "array",
  3616. "items": {
  3617. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3618. }
  3619. }
  3620. },
  3621. "500": {
  3622. "description": "Internal Server Error",
  3623. "schema": {
  3624. "$ref": "#/definitions/app.Response"
  3625. }
  3626. }
  3627. }
  3628. }
  3629. },
  3630. "/Ermcp3/QueryDeliveryGoods": {
  3631. "get": {
  3632. "security": [
  3633. {
  3634. "ApiKeyAuth": []
  3635. }
  3636. ],
  3637. "produces": [
  3638. "application/json"
  3639. ],
  3640. "tags": [
  3641. "企业风险管理v3(app)"
  3642. ],
  3643. "summary": "查询现货商品",
  3644. "parameters": [
  3645. {
  3646. "type": "integer",
  3647. "description": "用户id",
  3648. "name": "userid",
  3649. "in": "query",
  3650. "required": true
  3651. },
  3652. {
  3653. "type": "integer",
  3654. "description": "用户类型 2-机构 7-企业成员",
  3655. "name": "usertype",
  3656. "in": "query"
  3657. },
  3658. {
  3659. "type": "integer",
  3660. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3661. "name": "excludecfg",
  3662. "in": "query"
  3663. }
  3664. ],
  3665. "responses": {
  3666. "200": {
  3667. "description": "OK",
  3668. "schema": {
  3669. "type": "array",
  3670. "items": {
  3671. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3672. }
  3673. }
  3674. },
  3675. "500": {
  3676. "description": "Internal Server Error",
  3677. "schema": {
  3678. "$ref": "#/definitions/app.Response"
  3679. }
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3685. "get": {
  3686. "security": [
  3687. {
  3688. "ApiKeyAuth": []
  3689. }
  3690. ],
  3691. "produces": [
  3692. "application/json"
  3693. ],
  3694. "tags": [
  3695. "企业风险管理v3(app)"
  3696. ],
  3697. "summary": "查询现货商品详情",
  3698. "parameters": [
  3699. {
  3700. "type": "integer",
  3701. "description": "用户id",
  3702. "name": "userid",
  3703. "in": "query",
  3704. "required": true
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "用户类型 2-机构 7-企业成员",
  3709. "name": "usertype",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "integer",
  3714. "description": "现货商品id",
  3715. "name": "deliverygoodsid",
  3716. "in": "query"
  3717. }
  3718. ],
  3719. "responses": {
  3720. "200": {
  3721. "description": "OK",
  3722. "schema": {
  3723. "type": "array",
  3724. "items": {
  3725. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3726. }
  3727. }
  3728. },
  3729. "500": {
  3730. "description": "Internal Server Error",
  3731. "schema": {
  3732. "$ref": "#/definitions/app.Response"
  3733. }
  3734. }
  3735. }
  3736. }
  3737. },
  3738. "/Ermcp3/QueryExposureDetail": {
  3739. "get": {
  3740. "security": [
  3741. {
  3742. "ApiKeyAuth": []
  3743. }
  3744. ],
  3745. "produces": [
  3746. "application/json"
  3747. ],
  3748. "tags": [
  3749. "企业风险管理v3(app)"
  3750. ],
  3751. "summary": "查询敞口现货明细",
  3752. "parameters": [
  3753. {
  3754. "type": "integer",
  3755. "description": "用户id",
  3756. "name": "userid",
  3757. "in": "query",
  3758. "required": true
  3759. },
  3760. {
  3761. "type": "integer",
  3762. "description": "用户类型 2-机构 7-企业成员",
  3763. "name": "usertype",
  3764. "in": "query"
  3765. },
  3766. {
  3767. "type": "integer",
  3768. "description": "套保商品",
  3769. "name": "middlegoodsid",
  3770. "in": "query",
  3771. "required": true
  3772. }
  3773. ],
  3774. "responses": {
  3775. "200": {
  3776. "description": "OK",
  3777. "schema": {
  3778. "type": "array",
  3779. "items": {
  3780. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3781. }
  3782. }
  3783. },
  3784. "500": {
  3785. "description": "Internal Server Error",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. }
  3790. }
  3791. }
  3792. },
  3793. "/Ermcp3/QueryExposureSpot": {
  3794. "get": {
  3795. "security": [
  3796. {
  3797. "ApiKeyAuth": []
  3798. }
  3799. ],
  3800. "produces": [
  3801. "application/json"
  3802. ],
  3803. "tags": [
  3804. "企业风险管理v3(app)"
  3805. ],
  3806. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3807. "parameters": [
  3808. {
  3809. "type": "integer",
  3810. "description": "用户id",
  3811. "name": "userid",
  3812. "in": "query",
  3813. "required": true
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "用户类型 2-机构 7-企业成员",
  3818. "name": "usertype",
  3819. "in": "query"
  3820. }
  3821. ],
  3822. "responses": {
  3823. "200": {
  3824. "description": "OK",
  3825. "schema": {
  3826. "type": "array",
  3827. "items": {
  3828. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3829. }
  3830. }
  3831. },
  3832. "500": {
  3833. "description": "Internal Server Error",
  3834. "schema": {
  3835. "$ref": "#/definitions/app.Response"
  3836. }
  3837. }
  3838. }
  3839. }
  3840. },
  3841. "/Ermcp3/QueryExposureSpotDetail": {
  3842. "get": {
  3843. "security": [
  3844. {
  3845. "ApiKeyAuth": []
  3846. }
  3847. ],
  3848. "produces": [
  3849. "application/json"
  3850. ],
  3851. "tags": [
  3852. "企业风险管理v3(app)"
  3853. ],
  3854. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3855. "parameters": [
  3856. {
  3857. "type": "integer",
  3858. "description": "用户id",
  3859. "name": "userid",
  3860. "in": "query",
  3861. "required": true
  3862. },
  3863. {
  3864. "type": "integer",
  3865. "description": "用户类型 2-机构 7-企业成员",
  3866. "name": "usertype",
  3867. "in": "query"
  3868. },
  3869. {
  3870. "type": "integer",
  3871. "description": "现货品种ID",
  3872. "name": "deliverygoodsid",
  3873. "in": "query",
  3874. "required": true
  3875. }
  3876. ],
  3877. "responses": {
  3878. "200": {
  3879. "description": "OK",
  3880. "schema": {
  3881. "type": "array",
  3882. "items": {
  3883. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3884. }
  3885. }
  3886. },
  3887. "500": {
  3888. "description": "Internal Server Error",
  3889. "schema": {
  3890. "$ref": "#/definitions/app.Response"
  3891. }
  3892. }
  3893. }
  3894. }
  3895. },
  3896. "/Ermcp3/QueryGoodsGroup": {
  3897. "get": {
  3898. "security": [
  3899. {
  3900. "ApiKeyAuth": []
  3901. }
  3902. ],
  3903. "produces": [
  3904. "application/json"
  3905. ],
  3906. "tags": [
  3907. "企业风险管理v3(app)"
  3908. ],
  3909. "summary": "查询期货商品组",
  3910. "parameters": [
  3911. {
  3912. "type": "integer",
  3913. "description": "用户id",
  3914. "name": "userid",
  3915. "in": "query",
  3916. "required": true
  3917. },
  3918. {
  3919. "type": "integer",
  3920. "description": "用户类型 2-机构 7-企业成员",
  3921. "name": "usertype",
  3922. "in": "query"
  3923. },
  3924. {
  3925. "type": "integer",
  3926. "description": "排除套保品中已关联的商品组 1-排除",
  3927. "name": "excludecfg",
  3928. "in": "query"
  3929. }
  3930. ],
  3931. "responses": {
  3932. "200": {
  3933. "description": "OK",
  3934. "schema": {
  3935. "type": "array",
  3936. "items": {
  3937. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3938. }
  3939. }
  3940. },
  3941. "500": {
  3942. "description": "Internal Server Error",
  3943. "schema": {
  3944. "$ref": "#/definitions/app.Response"
  3945. }
  3946. }
  3947. }
  3948. }
  3949. },
  3950. "/Ermcp3/QueryGoodsWrstandard": {
  3951. "get": {
  3952. "security": [
  3953. {
  3954. "ApiKeyAuth": []
  3955. }
  3956. ],
  3957. "produces": [
  3958. "application/json"
  3959. ],
  3960. "tags": [
  3961. "企业风险管理v3(app)"
  3962. ],
  3963. "summary": "查询商品品类",
  3964. "parameters": [
  3965. {
  3966. "type": "integer",
  3967. "description": "用户id",
  3968. "name": "userid",
  3969. "in": "query",
  3970. "required": true
  3971. },
  3972. {
  3973. "type": "integer",
  3974. "description": "用户类型 2-机构 7-企业成员",
  3975. "name": "usertype",
  3976. "in": "query"
  3977. },
  3978. {
  3979. "type": "integer",
  3980. "description": "现货商品id",
  3981. "name": "deliverygoodsid",
  3982. "in": "query"
  3983. }
  3984. ],
  3985. "responses": {
  3986. "200": {
  3987. "description": "OK",
  3988. "schema": {
  3989. "type": "array",
  3990. "items": {
  3991. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3992. }
  3993. }
  3994. },
  3995. "500": {
  3996. "description": "Internal Server Error",
  3997. "schema": {
  3998. "$ref": "#/definitions/app.Response"
  3999. }
  4000. }
  4001. }
  4002. }
  4003. },
  4004. "/Ermcp3/QueryGoodsbrand": {
  4005. "get": {
  4006. "security": [
  4007. {
  4008. "ApiKeyAuth": []
  4009. }
  4010. ],
  4011. "produces": [
  4012. "application/json"
  4013. ],
  4014. "tags": [
  4015. "企业风险管理v3(app)"
  4016. ],
  4017. "summary": "查询商品品牌",
  4018. "parameters": [
  4019. {
  4020. "type": "integer",
  4021. "description": "用户id",
  4022. "name": "userid",
  4023. "in": "query",
  4024. "required": true
  4025. },
  4026. {
  4027. "type": "integer",
  4028. "description": "用户类型 2-机构 7-企业成员",
  4029. "name": "usertype",
  4030. "in": "query"
  4031. }
  4032. ],
  4033. "responses": {
  4034. "200": {
  4035. "description": "OK",
  4036. "schema": {
  4037. "type": "array",
  4038. "items": {
  4039. "$ref": "#/definitions/models.Ermcp3Brand"
  4040. }
  4041. }
  4042. },
  4043. "500": {
  4044. "description": "Internal Server Error",
  4045. "schema": {
  4046. "$ref": "#/definitions/app.Response"
  4047. }
  4048. }
  4049. }
  4050. }
  4051. },
  4052. "/Ermcp3/QueryHedgePlan": {
  4053. "get": {
  4054. "security": [
  4055. {
  4056. "ApiKeyAuth": []
  4057. }
  4058. ],
  4059. "produces": [
  4060. "application/json"
  4061. ],
  4062. "tags": [
  4063. "企业风险管理v3(app)"
  4064. ],
  4065. "summary": "查询套保计划",
  4066. "parameters": [
  4067. {
  4068. "type": "integer",
  4069. "description": "用户ID",
  4070. "name": "userid",
  4071. "in": "query",
  4072. "required": true
  4073. },
  4074. {
  4075. "type": "integer",
  4076. "description": "用户类型 2-机构 7-企业成员",
  4077. "name": "usertype",
  4078. "in": "query"
  4079. },
  4080. {
  4081. "type": "string",
  4082. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4083. "name": "hedgeplanstatus",
  4084. "in": "query",
  4085. "required": true
  4086. }
  4087. ],
  4088. "responses": {
  4089. "200": {
  4090. "description": "OK",
  4091. "schema": {
  4092. "type": "array",
  4093. "items": {
  4094. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4095. }
  4096. }
  4097. },
  4098. "500": {
  4099. "description": "Internal Server Error",
  4100. "schema": {
  4101. "$ref": "#/definitions/app.Response"
  4102. }
  4103. }
  4104. }
  4105. }
  4106. },
  4107. "/Ermcp3/QueryMiddleGoodsDetail": {
  4108. "get": {
  4109. "security": [
  4110. {
  4111. "ApiKeyAuth": []
  4112. }
  4113. ],
  4114. "produces": [
  4115. "application/json"
  4116. ],
  4117. "tags": [
  4118. "企业风险管理v3(app)"
  4119. ],
  4120. "summary": "查询套保品种详情(套保品种/商品详情)",
  4121. "parameters": [
  4122. {
  4123. "type": "integer",
  4124. "description": "用户id",
  4125. "name": "userid",
  4126. "in": "query",
  4127. "required": true
  4128. },
  4129. {
  4130. "type": "integer",
  4131. "description": "用户类型 2-机构 7-企业成员",
  4132. "name": "usertype",
  4133. "in": "query"
  4134. },
  4135. {
  4136. "type": "integer",
  4137. "description": "套保品种id",
  4138. "name": "middlegoodsid",
  4139. "in": "query"
  4140. }
  4141. ],
  4142. "responses": {
  4143. "200": {
  4144. "description": "OK",
  4145. "schema": {
  4146. "type": "array",
  4147. "items": {
  4148. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4149. }
  4150. }
  4151. },
  4152. "500": {
  4153. "description": "Internal Server Error",
  4154. "schema": {
  4155. "$ref": "#/definitions/app.Response"
  4156. }
  4157. }
  4158. }
  4159. }
  4160. },
  4161. "/Ermcp3/QuerySpotContract": {
  4162. "get": {
  4163. "security": [
  4164. {
  4165. "ApiKeyAuth": []
  4166. }
  4167. ],
  4168. "produces": [
  4169. "application/json"
  4170. ],
  4171. "tags": [
  4172. "企业风险管理v3(app)"
  4173. ],
  4174. "summary": "查询现货合同",
  4175. "parameters": [
  4176. {
  4177. "type": "integer",
  4178. "description": "用户id",
  4179. "name": "userid",
  4180. "in": "query",
  4181. "required": true
  4182. },
  4183. {
  4184. "type": "integer",
  4185. "description": "用户类型 2-机构 7-企业成员",
  4186. "name": "usertype",
  4187. "in": "query"
  4188. },
  4189. {
  4190. "type": "integer",
  4191. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4192. "name": "querytype",
  4193. "in": "query",
  4194. "required": true
  4195. },
  4196. {
  4197. "type": "string",
  4198. "description": "合同ID(SpotContractId)",
  4199. "name": "contractid",
  4200. "in": "query"
  4201. }
  4202. ],
  4203. "responses": {
  4204. "200": {
  4205. "description": "OK",
  4206. "schema": {
  4207. "type": "array",
  4208. "items": {
  4209. "$ref": "#/definitions/models.Ermcp3Contract"
  4210. }
  4211. }
  4212. },
  4213. "500": {
  4214. "description": "Internal Server Error",
  4215. "schema": {
  4216. "$ref": "#/definitions/app.Response"
  4217. }
  4218. }
  4219. }
  4220. }
  4221. },
  4222. "/Ermcp3/QuerySpotContractBS": {
  4223. "get": {
  4224. "security": [
  4225. {
  4226. "ApiKeyAuth": []
  4227. }
  4228. ],
  4229. "produces": [
  4230. "application/json"
  4231. ],
  4232. "tags": [
  4233. "企业风险管理v3(app)"
  4234. ],
  4235. "summary": "查询合同(采购/销售)",
  4236. "parameters": [
  4237. {
  4238. "type": "integer",
  4239. "description": "用户id",
  4240. "name": "userid",
  4241. "in": "query",
  4242. "required": true
  4243. },
  4244. {
  4245. "type": "integer",
  4246. "description": "用户类型 2-机构 7-企业成员",
  4247. "name": "usertype",
  4248. "in": "query"
  4249. },
  4250. {
  4251. "type": "integer",
  4252. "description": "合同类型 1-采购, -1-销售",
  4253. "name": "contracttype",
  4254. "in": "query",
  4255. "required": true
  4256. },
  4257. {
  4258. "type": "integer",
  4259. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4260. "name": "querytype",
  4261. "in": "query",
  4262. "required": true
  4263. },
  4264. {
  4265. "type": "string",
  4266. "description": "合同ID(SpotContractId)",
  4267. "name": "contractid",
  4268. "in": "query"
  4269. }
  4270. ],
  4271. "responses": {
  4272. "200": {
  4273. "description": "OK",
  4274. "schema": {
  4275. "type": "array",
  4276. "items": {
  4277. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4278. }
  4279. }
  4280. },
  4281. "500": {
  4282. "description": "Internal Server Error",
  4283. "schema": {
  4284. "$ref": "#/definitions/app.Response"
  4285. }
  4286. }
  4287. }
  4288. }
  4289. },
  4290. "/Ermcp3/QuerySpotGoodsPrice": {
  4291. "get": {
  4292. "security": [
  4293. {
  4294. "ApiKeyAuth": []
  4295. }
  4296. ],
  4297. "produces": [
  4298. "application/json"
  4299. ],
  4300. "tags": [
  4301. "企业风险管理v3(app)"
  4302. ],
  4303. "summary": "查询现货市价(现货市价)",
  4304. "parameters": [
  4305. {
  4306. "type": "integer",
  4307. "description": "用户ID",
  4308. "name": "userid",
  4309. "in": "query",
  4310. "required": true
  4311. }
  4312. ],
  4313. "responses": {
  4314. "200": {
  4315. "description": "OK",
  4316. "schema": {
  4317. "type": "array",
  4318. "items": {
  4319. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4320. }
  4321. }
  4322. },
  4323. "500": {
  4324. "description": "Internal Server Error",
  4325. "schema": {
  4326. "$ref": "#/definitions/app.Response"
  4327. }
  4328. }
  4329. }
  4330. }
  4331. },
  4332. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4333. "get": {
  4334. "security": [
  4335. {
  4336. "ApiKeyAuth": []
  4337. }
  4338. ],
  4339. "produces": [
  4340. "application/json"
  4341. ],
  4342. "tags": [
  4343. "企业风险管理v3(app)"
  4344. ],
  4345. "summary": "查询现货市价详情(现货市价/详情)",
  4346. "parameters": [
  4347. {
  4348. "type": "integer",
  4349. "description": "用户ID",
  4350. "name": "userid",
  4351. "in": "query",
  4352. "required": true
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "现货商品ID",
  4357. "name": "deliverygoodsid",
  4358. "in": "query",
  4359. "required": true
  4360. },
  4361. {
  4362. "type": "integer",
  4363. "description": "品牌ID",
  4364. "name": "brandid",
  4365. "in": "query"
  4366. },
  4367. {
  4368. "type": "integer",
  4369. "description": "品类ID",
  4370. "name": "wrstandardid",
  4371. "in": "query"
  4372. }
  4373. ],
  4374. "responses": {
  4375. "200": {
  4376. "description": "OK",
  4377. "schema": {
  4378. "type": "array",
  4379. "items": {
  4380. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4381. }
  4382. }
  4383. },
  4384. "500": {
  4385. "description": "Internal Server Error",
  4386. "schema": {
  4387. "$ref": "#/definitions/app.Response"
  4388. }
  4389. }
  4390. }
  4391. }
  4392. },
  4393. "/Erms2/QueryArbitrageStrategy": {
  4394. "get": {
  4395. "security": [
  4396. {
  4397. "ApiKeyAuth": []
  4398. }
  4399. ],
  4400. "produces": [
  4401. "application/json"
  4402. ],
  4403. "tags": [
  4404. "风险管理"
  4405. ],
  4406. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4407. "parameters": [
  4408. {
  4409. "type": "integer",
  4410. "description": "账户ID",
  4411. "name": "userid",
  4412. "in": "query",
  4413. "required": true
  4414. },
  4415. {
  4416. "type": "string",
  4417. "description": "商品组ID(品种ID)",
  4418. "name": "goodsgroupid",
  4419. "in": "query"
  4420. }
  4421. ],
  4422. "responses": {
  4423. "200": {
  4424. "description": "OK",
  4425. "schema": {
  4426. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4427. }
  4428. },
  4429. "500": {
  4430. "description": "Internal Server Error",
  4431. "schema": {
  4432. "$ref": "#/definitions/app.Response"
  4433. }
  4434. }
  4435. }
  4436. }
  4437. },
  4438. "/Erms2/QueryInnerTradeDetail": {
  4439. "get": {
  4440. "security": [
  4441. {
  4442. "ApiKeyAuth": []
  4443. }
  4444. ],
  4445. "produces": [
  4446. "application/json"
  4447. ],
  4448. "tags": [
  4449. "风险管理"
  4450. ],
  4451. "summary": "查询内部成交单信息",
  4452. "parameters": [
  4453. {
  4454. "type": "integer",
  4455. "description": "资金账户",
  4456. "name": "accountid",
  4457. "in": "query",
  4458. "required": true
  4459. }
  4460. ],
  4461. "responses": {
  4462. "200": {
  4463. "description": "OK",
  4464. "schema": {
  4465. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4466. }
  4467. },
  4468. "500": {
  4469. "description": "Internal Server Error",
  4470. "schema": {
  4471. "$ref": "#/definitions/app.Response"
  4472. }
  4473. }
  4474. }
  4475. }
  4476. },
  4477. "/Erms2/QuerySpotContract": {
  4478. "get": {
  4479. "security": [
  4480. {
  4481. "ApiKeyAuth": []
  4482. }
  4483. ],
  4484. "produces": [
  4485. "application/json"
  4486. ],
  4487. "tags": [
  4488. "风险管理"
  4489. ],
  4490. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4491. "parameters": [
  4492. {
  4493. "type": "integer",
  4494. "description": "策略申请ID",
  4495. "name": "asapplyid",
  4496. "in": "query",
  4497. "required": true
  4498. },
  4499. {
  4500. "type": "integer",
  4501. "description": "现货合同ID",
  4502. "name": "spotcontractid",
  4503. "in": "query"
  4504. }
  4505. ],
  4506. "responses": {
  4507. "200": {
  4508. "description": "OK",
  4509. "schema": {
  4510. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4511. }
  4512. },
  4513. "500": {
  4514. "description": "Internal Server Error",
  4515. "schema": {
  4516. "$ref": "#/definitions/app.Response"
  4517. }
  4518. }
  4519. }
  4520. }
  4521. },
  4522. "/Erms3/AddErms2ASApply": {
  4523. "post": {
  4524. "security": [
  4525. {
  4526. "ApiKeyAuth": []
  4527. }
  4528. ],
  4529. "produces": [
  4530. "application/json"
  4531. ],
  4532. "tags": [
  4533. "风险管理v3"
  4534. ],
  4535. "summary": "新增期现套利业务申请",
  4536. "parameters": [
  4537. {
  4538. "description": "申请参数",
  4539. "name": "jsonBody",
  4540. "in": "body",
  4541. "required": true,
  4542. "schema": {
  4543. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4544. }
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. },
  4554. "500": {
  4555. "description": "Internal Server Error",
  4556. "schema": {
  4557. "$ref": "#/definitions/app.Response"
  4558. }
  4559. }
  4560. }
  4561. }
  4562. },
  4563. "/Erms3/AddErms2SpotTradeApply": {
  4564. "post": {
  4565. "security": [
  4566. {
  4567. "ApiKeyAuth": []
  4568. }
  4569. ],
  4570. "produces": [
  4571. "application/json"
  4572. ],
  4573. "tags": [
  4574. "风险管理v3"
  4575. ],
  4576. "summary": "新增现货贸易业务申请",
  4577. "parameters": [
  4578. {
  4579. "description": "申请参数",
  4580. "name": "jsonBody",
  4581. "in": "body",
  4582. "required": true,
  4583. "schema": {
  4584. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4585. }
  4586. }
  4587. ],
  4588. "responses": {
  4589. "200": {
  4590. "description": "OK",
  4591. "schema": {
  4592. "$ref": "#/definitions/app.Response"
  4593. }
  4594. },
  4595. "500": {
  4596. "description": "Internal Server Error",
  4597. "schema": {
  4598. "$ref": "#/definitions/app.Response"
  4599. }
  4600. }
  4601. }
  4602. }
  4603. },
  4604. "/Erms3/AddSpotContractApply": {
  4605. "post": {
  4606. "security": [
  4607. {
  4608. "ApiKeyAuth": []
  4609. }
  4610. ],
  4611. "produces": [
  4612. "application/json"
  4613. ],
  4614. "tags": [
  4615. "风险管理v3"
  4616. ],
  4617. "summary": "新增现货合同申请",
  4618. "parameters": [
  4619. {
  4620. "description": "申请参数",
  4621. "name": "jsonBody",
  4622. "in": "body",
  4623. "required": true,
  4624. "schema": {
  4625. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4626. }
  4627. }
  4628. ],
  4629. "responses": {
  4630. "200": {
  4631. "description": "OK",
  4632. "schema": {
  4633. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4634. }
  4635. },
  4636. "500": {
  4637. "description": "Internal Server Error",
  4638. "schema": {
  4639. "$ref": "#/definitions/app.Response"
  4640. }
  4641. }
  4642. }
  4643. }
  4644. },
  4645. "/Erms3/AddUserInfoApply": {
  4646. "post": {
  4647. "security": [
  4648. {
  4649. "ApiKeyAuth": []
  4650. }
  4651. ],
  4652. "produces": [
  4653. "application/json"
  4654. ],
  4655. "tags": [
  4656. "风险管理v3"
  4657. ],
  4658. "summary": "新增客户申请",
  4659. "parameters": [
  4660. {
  4661. "description": "用户信息",
  4662. "name": "jsonBody",
  4663. "in": "body",
  4664. "required": true,
  4665. "schema": {
  4666. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4667. }
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/app.Response"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/Erms3/DeleteUserInfoApply": {
  4687. "get": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4694. "produces": [
  4695. "application/json"
  4696. ],
  4697. "tags": [
  4698. "风险管理v3"
  4699. ],
  4700. "summary": "删除客户申请",
  4701. "parameters": [
  4702. {
  4703. "type": "integer",
  4704. "description": "用户ID",
  4705. "name": "userID",
  4706. "in": "query",
  4707. "required": true
  4708. }
  4709. ],
  4710. "responses": {
  4711. "200": {
  4712. "description": "OK",
  4713. "schema": {
  4714. "$ref": "#/definitions/app.Response"
  4715. }
  4716. },
  4717. "500": {
  4718. "description": "Internal Server Error",
  4719. "schema": {
  4720. "$ref": "#/definitions/app.Response"
  4721. }
  4722. }
  4723. }
  4724. }
  4725. },
  4726. "/Erms3/ModifyUserInfoApply": {
  4727. "post": {
  4728. "security": [
  4729. {
  4730. "ApiKeyAuth": []
  4731. }
  4732. ],
  4733. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4734. "produces": [
  4735. "application/json"
  4736. ],
  4737. "tags": [
  4738. "风险管理v3"
  4739. ],
  4740. "summary": "修改客户申请",
  4741. "parameters": [
  4742. {
  4743. "description": "用户信息",
  4744. "name": "jsonBody",
  4745. "in": "body",
  4746. "required": true,
  4747. "schema": {
  4748. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4749. }
  4750. }
  4751. ],
  4752. "responses": {
  4753. "200": {
  4754. "description": "OK",
  4755. "schema": {
  4756. "$ref": "#/definitions/app.Response"
  4757. }
  4758. },
  4759. "500": {
  4760. "description": "Internal Server Error",
  4761. "schema": {
  4762. "$ref": "#/definitions/app.Response"
  4763. }
  4764. }
  4765. }
  4766. }
  4767. },
  4768. "/Erms3/QueryBusinessInfo": {
  4769. "get": {
  4770. "security": [
  4771. {
  4772. "ApiKeyAuth": []
  4773. }
  4774. ],
  4775. "produces": [
  4776. "application/json"
  4777. ],
  4778. "tags": [
  4779. "风险管理v3"
  4780. ],
  4781. "summary": "查询业务表单数据",
  4782. "parameters": [
  4783. {
  4784. "type": "string",
  4785. "description": "资金账号ID列表,用逗号分隔",
  4786. "name": "accountids",
  4787. "in": "query",
  4788. "required": true
  4789. },
  4790. {
  4791. "type": "integer",
  4792. "description": "状态,0为未结束 1为已结束",
  4793. "name": "status",
  4794. "in": "query",
  4795. "required": true
  4796. }
  4797. ],
  4798. "responses": {
  4799. "200": {
  4800. "description": "OK",
  4801. "schema": {
  4802. "type": "array",
  4803. "items": {
  4804. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4805. }
  4806. }
  4807. },
  4808. "500": {
  4809. "description": "Internal Server Error",
  4810. "schema": {
  4811. "$ref": "#/definitions/app.Response"
  4812. }
  4813. }
  4814. }
  4815. }
  4816. },
  4817. "/Erms3/QueryPendingAuditContract": {
  4818. "get": {
  4819. "security": [
  4820. {
  4821. "ApiKeyAuth": []
  4822. }
  4823. ],
  4824. "produces": [
  4825. "application/json"
  4826. ],
  4827. "tags": [
  4828. "风险管理v3"
  4829. ],
  4830. "summary": "查询待审核合同",
  4831. "parameters": [
  4832. {
  4833. "type": "string",
  4834. "description": "资金账号ID列表,逗号隔开",
  4835. "name": "accountids",
  4836. "in": "query",
  4837. "required": true
  4838. },
  4839. {
  4840. "type": "integer",
  4841. "description": "合同类型 1-采购 -1-销售",
  4842. "name": "contracttype",
  4843. "in": "query",
  4844. "required": true
  4845. },
  4846. {
  4847. "type": "integer",
  4848. "description": "合同模式 1-普通 2-回购",
  4849. "name": "contractmode",
  4850. "in": "query",
  4851. "required": true
  4852. }
  4853. ],
  4854. "responses": {
  4855. "200": {
  4856. "description": "OK",
  4857. "schema": {
  4858. "type": "array",
  4859. "items": {
  4860. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4861. }
  4862. }
  4863. },
  4864. "500": {
  4865. "description": "Internal Server Error",
  4866. "schema": {
  4867. "$ref": "#/definitions/app.Response"
  4868. }
  4869. }
  4870. }
  4871. }
  4872. },
  4873. "/Erms3/QueryPendingBusiness": {
  4874. "get": {
  4875. "security": [
  4876. {
  4877. "ApiKeyAuth": []
  4878. }
  4879. ],
  4880. "produces": [
  4881. "application/json"
  4882. ],
  4883. "tags": [
  4884. "风险管理v3"
  4885. ],
  4886. "summary": "查询待审核基差贸易业务",
  4887. "parameters": [
  4888. {
  4889. "type": "string",
  4890. "description": "资金账号ID列表,逗号隔开",
  4891. "name": "accountids",
  4892. "in": "query",
  4893. "required": true
  4894. }
  4895. ],
  4896. "responses": {
  4897. "200": {
  4898. "description": "OK",
  4899. "schema": {
  4900. "type": "array",
  4901. "items": {
  4902. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4903. }
  4904. }
  4905. },
  4906. "500": {
  4907. "description": "Internal Server Error",
  4908. "schema": {
  4909. "$ref": "#/definitions/app.Response"
  4910. }
  4911. }
  4912. }
  4913. }
  4914. },
  4915. "/Erms3/QuerySpotContractAppleForm": {
  4916. "get": {
  4917. "security": [
  4918. {
  4919. "ApiKeyAuth": []
  4920. }
  4921. ],
  4922. "produces": [
  4923. "application/json"
  4924. ],
  4925. "tags": [
  4926. "风险管理v3"
  4927. ],
  4928. "summary": "查询合同申请表单数据",
  4929. "parameters": [
  4930. {
  4931. "type": "integer",
  4932. "description": "登录账号",
  4933. "name": "loginID",
  4934. "in": "query",
  4935. "required": true
  4936. }
  4937. ],
  4938. "responses": {
  4939. "200": {
  4940. "description": "OK",
  4941. "schema": {
  4942. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4943. }
  4944. },
  4945. "500": {
  4946. "description": "Internal Server Error",
  4947. "schema": {
  4948. "$ref": "#/definitions/app.Response"
  4949. }
  4950. }
  4951. }
  4952. }
  4953. },
  4954. "/Erms3/QuerySpotContractDetail": {
  4955. "get": {
  4956. "security": [
  4957. {
  4958. "ApiKeyAuth": []
  4959. }
  4960. ],
  4961. "produces": [
  4962. "application/json"
  4963. ],
  4964. "tags": [
  4965. "风险管理v3"
  4966. ],
  4967. "summary": "查询合同详细信息",
  4968. "parameters": [
  4969. {
  4970. "type": "string",
  4971. "description": "资金账号ID列表,用逗号分隔",
  4972. "name": "accountids",
  4973. "in": "query",
  4974. "required": true
  4975. },
  4976. {
  4977. "type": "integer",
  4978. "description": "合同类型,1为采购合同 -1为销售合同",
  4979. "name": "contracttype",
  4980. "in": "query",
  4981. "required": true
  4982. },
  4983. {
  4984. "type": "integer",
  4985. "description": "合同模式,1为普通合同 2为回购销售合同",
  4986. "name": "contractmode",
  4987. "in": "query",
  4988. "required": true
  4989. },
  4990. {
  4991. "type": "integer",
  4992. "description": "状态,0为履约中 1为已完成",
  4993. "name": "status",
  4994. "in": "query",
  4995. "required": true
  4996. }
  4997. ],
  4998. "responses": {
  4999. "200": {
  5000. "description": "OK",
  5001. "schema": {
  5002. "type": "array",
  5003. "items": {
  5004. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  5005. }
  5006. }
  5007. },
  5008. "500": {
  5009. "description": "Internal Server Error",
  5010. "schema": {
  5011. "$ref": "#/definitions/app.Response"
  5012. }
  5013. }
  5014. }
  5015. }
  5016. },
  5017. "/Erms3/QueryUserInfoApplies": {
  5018. "get": {
  5019. "security": [
  5020. {
  5021. "ApiKeyAuth": []
  5022. }
  5023. ],
  5024. "produces": [
  5025. "application/json"
  5026. ],
  5027. "tags": [
  5028. "风险管理v3"
  5029. ],
  5030. "summary": "客户申请信息查询",
  5031. "parameters": [
  5032. {
  5033. "type": "integer",
  5034. "description": "页码",
  5035. "name": "page",
  5036. "in": "query"
  5037. },
  5038. {
  5039. "type": "integer",
  5040. "description": "每页条数",
  5041. "name": "pagesize",
  5042. "in": "query"
  5043. },
  5044. {
  5045. "type": "string",
  5046. "description": "客户名称,支持模糊查询",
  5047. "name": "userName",
  5048. "in": "query"
  5049. }
  5050. ],
  5051. "responses": {
  5052. "200": {
  5053. "description": "OK",
  5054. "schema": {
  5055. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5056. }
  5057. },
  5058. "500": {
  5059. "description": "Internal Server Error",
  5060. "schema": {
  5061. "$ref": "#/definitions/app.Response"
  5062. }
  5063. }
  5064. }
  5065. }
  5066. },
  5067. "/Erms3/QueryUserInfos": {
  5068. "get": {
  5069. "security": [
  5070. {
  5071. "ApiKeyAuth": []
  5072. }
  5073. ],
  5074. "produces": [
  5075. "application/json"
  5076. ],
  5077. "tags": [
  5078. "风险管理v3"
  5079. ],
  5080. "summary": "客户信息查询",
  5081. "parameters": [
  5082. {
  5083. "type": "integer",
  5084. "description": "页码",
  5085. "name": "page",
  5086. "in": "query"
  5087. },
  5088. {
  5089. "type": "integer",
  5090. "description": "每页条数",
  5091. "name": "pagesize",
  5092. "in": "query"
  5093. },
  5094. {
  5095. "type": "string",
  5096. "description": "客户名称,支持模糊查询",
  5097. "name": "userName",
  5098. "in": "query"
  5099. }
  5100. ],
  5101. "responses": {
  5102. "200": {
  5103. "description": "OK",
  5104. "schema": {
  5105. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5106. }
  5107. },
  5108. "500": {
  5109. "description": "Internal Server Error",
  5110. "schema": {
  5111. "$ref": "#/definitions/app.Response"
  5112. }
  5113. }
  5114. }
  5115. }
  5116. },
  5117. "/HSBY/GetHsbyMyCount": {
  5118. "get": {
  5119. "security": [
  5120. {
  5121. "ApiKeyAuth": []
  5122. }
  5123. ],
  5124. "description": "说明: 不包括已完成的数量。",
  5125. "produces": [
  5126. "application/json"
  5127. ],
  5128. "tags": [
  5129. "定制【海商报业】"
  5130. ],
  5131. "summary": "获取我的订单与包裹数量",
  5132. "parameters": [
  5133. {
  5134. "type": "string",
  5135. "description": "资金账户列表,格式:1,2,3",
  5136. "name": "accountIDs",
  5137. "in": "query",
  5138. "required": true
  5139. }
  5140. ],
  5141. "responses": {
  5142. "200": {
  5143. "description": "OK",
  5144. "schema": {
  5145. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5146. }
  5147. },
  5148. "500": {
  5149. "description": "Internal Server Error",
  5150. "schema": {
  5151. "$ref": "#/definitions/app.Response"
  5152. }
  5153. }
  5154. }
  5155. }
  5156. },
  5157. "/HSBY/QueryClientFixedADConfigs": {
  5158. "get": {
  5159. "security": [
  5160. {
  5161. "ApiKeyAuth": []
  5162. }
  5163. ],
  5164. "produces": [
  5165. "application/json"
  5166. ],
  5167. "tags": [
  5168. "定制【海商报业】"
  5169. ],
  5170. "summary": "获取终端固定广告配置",
  5171. "responses": {
  5172. "200": {
  5173. "description": "OK",
  5174. "schema": {
  5175. "$ref": "#/definitions/models.Clientfixedadconfig"
  5176. }
  5177. },
  5178. "500": {
  5179. "description": "Internal Server Error",
  5180. "schema": {
  5181. "$ref": "#/definitions/app.Response"
  5182. }
  5183. }
  5184. }
  5185. }
  5186. },
  5187. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5188. "get": {
  5189. "security": [
  5190. {
  5191. "ApiKeyAuth": []
  5192. }
  5193. ],
  5194. "produces": [
  5195. "application/json"
  5196. ],
  5197. "tags": [
  5198. "定制【海商报业】"
  5199. ],
  5200. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5201. "parameters": [
  5202. {
  5203. "type": "integer",
  5204. "description": "页码",
  5205. "name": "page",
  5206. "in": "query"
  5207. },
  5208. {
  5209. "type": "integer",
  5210. "description": "每页条数",
  5211. "name": "pagesize",
  5212. "in": "query"
  5213. },
  5214. {
  5215. "type": "string",
  5216. "description": "资金账户列表,格式:1,2,3",
  5217. "name": "accountIDs",
  5218. "in": "query",
  5219. "required": true
  5220. }
  5221. ],
  5222. "responses": {
  5223. "200": {
  5224. "description": "OK",
  5225. "schema": {
  5226. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5227. }
  5228. },
  5229. "500": {
  5230. "description": "Internal Server Error",
  5231. "schema": {
  5232. "$ref": "#/definitions/app.Response"
  5233. }
  5234. }
  5235. }
  5236. }
  5237. },
  5238. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5239. "get": {
  5240. "security": [
  5241. {
  5242. "ApiKeyAuth": []
  5243. }
  5244. ],
  5245. "description": "说明:查询结果已按委托价格和委托时间排序",
  5246. "produces": [
  5247. "application/json"
  5248. ],
  5249. "tags": [
  5250. "定制【海商报业】"
  5251. ],
  5252. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5253. "parameters": [
  5254. {
  5255. "type": "integer",
  5256. "description": "商品ID",
  5257. "name": "goodsID",
  5258. "in": "query",
  5259. "required": true
  5260. },
  5261. {
  5262. "type": "string",
  5263. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5264. "name": "accountIDs",
  5265. "in": "query"
  5266. },
  5267. {
  5268. "type": "integer",
  5269. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5270. "name": "buyOrSell",
  5271. "in": "query"
  5272. },
  5273. {
  5274. "type": "number",
  5275. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5276. "name": "price",
  5277. "in": "query"
  5278. },
  5279. {
  5280. "type": "integer",
  5281. "description": "档位,不传则默认为3档",
  5282. "name": "speed",
  5283. "in": "query"
  5284. }
  5285. ],
  5286. "responses": {
  5287. "200": {
  5288. "description": "OK",
  5289. "schema": {
  5290. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5291. }
  5292. },
  5293. "500": {
  5294. "description": "Internal Server Error",
  5295. "schema": {
  5296. "$ref": "#/definitions/app.Response"
  5297. }
  5298. }
  5299. }
  5300. }
  5301. },
  5302. "/HSBY/QueryHsbyListingGoodsDetail": {
  5303. "get": {
  5304. "security": [
  5305. {
  5306. "ApiKeyAuth": []
  5307. }
  5308. ],
  5309. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5310. "produces": [
  5311. "application/json"
  5312. ],
  5313. "tags": [
  5314. "定制【海商报业】"
  5315. ],
  5316. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5317. "parameters": [
  5318. {
  5319. "type": "integer",
  5320. "description": "商品ID",
  5321. "name": "goodsID",
  5322. "in": "query",
  5323. "required": true
  5324. },
  5325. {
  5326. "type": "integer",
  5327. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5328. "name": "accountID",
  5329. "in": "query"
  5330. }
  5331. ],
  5332. "responses": {
  5333. "200": {
  5334. "description": "OK",
  5335. "schema": {
  5336. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5337. }
  5338. },
  5339. "500": {
  5340. "description": "Internal Server Error",
  5341. "schema": {
  5342. "$ref": "#/definitions/app.Response"
  5343. }
  5344. }
  5345. }
  5346. }
  5347. },
  5348. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5349. "get": {
  5350. "security": [
  5351. {
  5352. "ApiKeyAuth": []
  5353. }
  5354. ],
  5355. "produces": [
  5356. "application/json"
  5357. ],
  5358. "tags": [
  5359. "定制【海商报业】"
  5360. ],
  5361. "summary": "查询三级市场(商城)商品信息详情",
  5362. "parameters": [
  5363. {
  5364. "type": "integer",
  5365. "description": "委托单号",
  5366. "name": "orderID",
  5367. "in": "query",
  5368. "required": true
  5369. },
  5370. {
  5371. "type": "integer",
  5372. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5373. "name": "accountID",
  5374. "in": "query"
  5375. }
  5376. ],
  5377. "responses": {
  5378. "200": {
  5379. "description": "OK",
  5380. "schema": {
  5381. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5382. }
  5383. },
  5384. "500": {
  5385. "description": "Internal Server Error",
  5386. "schema": {
  5387. "$ref": "#/definitions/app.Response"
  5388. }
  5389. }
  5390. }
  5391. }
  5392. },
  5393. "/HSBY/QueryHsbyMarketGoodses": {
  5394. "get": {
  5395. "security": [
  5396. {
  5397. "ApiKeyAuth": []
  5398. }
  5399. ],
  5400. "produces": [
  5401. "application/json"
  5402. ],
  5403. "tags": [
  5404. "定制【海商报业】"
  5405. ],
  5406. "summary": "查询特卖商品列表(三级商城)",
  5407. "parameters": [
  5408. {
  5409. "type": "integer",
  5410. "description": "页码",
  5411. "name": "page",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "每页条数",
  5417. "name": "pagesize",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "市场ID列表,格式:1,2,3",
  5423. "name": "marketIDs",
  5424. "in": "query",
  5425. "required": true
  5426. },
  5427. {
  5428. "type": "integer",
  5429. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5430. "name": "accountID",
  5431. "in": "query",
  5432. "required": true
  5433. },
  5434. {
  5435. "type": "integer",
  5436. "description": "类别ID",
  5437. "name": "categoryID",
  5438. "in": "query"
  5439. },
  5440. {
  5441. "type": "string",
  5442. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5443. "name": "goodsIDs",
  5444. "in": "query"
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5449. "name": "couponTypeID",
  5450. "in": "query"
  5451. }
  5452. ],
  5453. "responses": {
  5454. "200": {
  5455. "description": "OK",
  5456. "schema": {
  5457. "$ref": "#/definitions/models.HsbyMarketGoods"
  5458. }
  5459. },
  5460. "500": {
  5461. "description": "Internal Server Error",
  5462. "schema": {
  5463. "$ref": "#/definitions/app.Response"
  5464. }
  5465. }
  5466. }
  5467. }
  5468. },
  5469. "/HSBY/QueryHsbyMarkets": {
  5470. "get": {
  5471. "security": [
  5472. {
  5473. "ApiKeyAuth": []
  5474. }
  5475. ],
  5476. "produces": [
  5477. "application/json"
  5478. ],
  5479. "tags": [
  5480. "定制【海商报业】"
  5481. ],
  5482. "summary": "查询海商报业相关市场信息",
  5483. "responses": {
  5484. "200": {
  5485. "description": "OK",
  5486. "schema": {
  5487. "$ref": "#/definitions/models.HsbyMarketInfo"
  5488. }
  5489. },
  5490. "500": {
  5491. "description": "Internal Server Error",
  5492. "schema": {
  5493. "$ref": "#/definitions/app.Response"
  5494. }
  5495. }
  5496. }
  5497. }
  5498. },
  5499. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5500. "get": {
  5501. "security": [
  5502. {
  5503. "ApiKeyAuth": []
  5504. }
  5505. ],
  5506. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5507. "produces": [
  5508. "application/json"
  5509. ],
  5510. "tags": [
  5511. "定制【海商报业】"
  5512. ],
  5513. "summary": "查询“我的订单”信息",
  5514. "parameters": [
  5515. {
  5516. "type": "string",
  5517. "description": "资金账户列表,格式:1,2,3",
  5518. "name": "accountIDs",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/HSBY/QueryHsbyMyGoods": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "定制【海商报业】"
  5552. ],
  5553. "summary": "查询“我的商品”信息",
  5554. "parameters": [
  5555. {
  5556. "type": "string",
  5557. "description": "资金账户列表,格式:1,2,3",
  5558. "name": "accountIDs",
  5559. "in": "query",
  5560. "required": true
  5561. }
  5562. ],
  5563. "responses": {
  5564. "200": {
  5565. "description": "OK",
  5566. "schema": {
  5567. "$ref": "#/definitions/models.HsbyMyGoods"
  5568. }
  5569. },
  5570. "500": {
  5571. "description": "Internal Server Error",
  5572. "schema": {
  5573. "$ref": "#/definitions/app.Response"
  5574. }
  5575. }
  5576. }
  5577. }
  5578. },
  5579. "/HSBY/QueryHsbyMyPackages": {
  5580. "get": {
  5581. "security": [
  5582. {
  5583. "ApiKeyAuth": []
  5584. }
  5585. ],
  5586. "produces": [
  5587. "application/json"
  5588. ],
  5589. "tags": [
  5590. "定制【海商报业】"
  5591. ],
  5592. "summary": "查询我的包裹信息",
  5593. "parameters": [
  5594. {
  5595. "type": "string",
  5596. "description": "资金账户列表,格式:1,2,3",
  5597. "name": "accountIDs",
  5598. "in": "query",
  5599. "required": true
  5600. },
  5601. {
  5602. "type": "integer",
  5603. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5604. "name": "takeOrderStatus",
  5605. "in": "query"
  5606. }
  5607. ],
  5608. "responses": {
  5609. "200": {
  5610. "description": "OK",
  5611. "schema": {
  5612. "$ref": "#/definitions/models.HsbyMyPackage"
  5613. }
  5614. },
  5615. "500": {
  5616. "description": "Internal Server Error",
  5617. "schema": {
  5618. "$ref": "#/definitions/app.Response"
  5619. }
  5620. }
  5621. }
  5622. }
  5623. },
  5624. "/HSBY/QueryHsbyPreGoodsDetail": {
  5625. "get": {
  5626. "security": [
  5627. {
  5628. "ApiKeyAuth": []
  5629. }
  5630. ],
  5631. "produces": [
  5632. "application/json"
  5633. ],
  5634. "tags": [
  5635. "定制【海商报业】"
  5636. ],
  5637. "summary": "查询一级市场(预售)商品信息详情",
  5638. "parameters": [
  5639. {
  5640. "type": "integer",
  5641. "description": "商品ID",
  5642. "name": "goodsID",
  5643. "in": "query",
  5644. "required": true
  5645. },
  5646. {
  5647. "type": "integer",
  5648. "description": "资金账户,主要用于获取预售商品购买上限",
  5649. "name": "accountID",
  5650. "in": "query"
  5651. }
  5652. ],
  5653. "responses": {
  5654. "200": {
  5655. "description": "OK",
  5656. "schema": {
  5657. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5658. }
  5659. },
  5660. "500": {
  5661. "description": "Internal Server Error",
  5662. "schema": {
  5663. "$ref": "#/definitions/app.Response"
  5664. }
  5665. }
  5666. }
  5667. }
  5668. },
  5669. "/HSBY/QueryHsbyPreGoodses": {
  5670. "get": {
  5671. "security": [
  5672. {
  5673. "ApiKeyAuth": []
  5674. }
  5675. ],
  5676. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5677. "produces": [
  5678. "application/json"
  5679. ],
  5680. "tags": [
  5681. "定制【海商报业】"
  5682. ],
  5683. "summary": "查询新品上市商品列表(一级市场预售)",
  5684. "parameters": [
  5685. {
  5686. "type": "integer",
  5687. "description": "页码",
  5688. "name": "page",
  5689. "in": "query"
  5690. },
  5691. {
  5692. "type": "integer",
  5693. "description": "每页条数",
  5694. "name": "pagesize",
  5695. "in": "query"
  5696. },
  5697. {
  5698. "type": "string",
  5699. "description": "市场ID列表,格式:1,2,3",
  5700. "name": "marketIDs",
  5701. "in": "query",
  5702. "required": true
  5703. },
  5704. {
  5705. "type": "integer",
  5706. "description": "目的地(省)ID",
  5707. "name": "descProvinceID",
  5708. "in": "query"
  5709. },
  5710. {
  5711. "type": "integer",
  5712. "description": "目的地(市)ID",
  5713. "name": "descCityID",
  5714. "in": "query"
  5715. }
  5716. ],
  5717. "responses": {
  5718. "200": {
  5719. "description": "OK",
  5720. "schema": {
  5721. "$ref": "#/definitions/models.HsbyPreGoods"
  5722. }
  5723. },
  5724. "500": {
  5725. "description": "Internal Server Error",
  5726. "schema": {
  5727. "$ref": "#/definitions/app.Response"
  5728. }
  5729. }
  5730. }
  5731. }
  5732. },
  5733. "/HSBY/QueryHsbySellMyDetails": {
  5734. "get": {
  5735. "security": [
  5736. {
  5737. "ApiKeyAuth": []
  5738. }
  5739. ],
  5740. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5741. "produces": [
  5742. "application/json"
  5743. ],
  5744. "tags": [
  5745. "定制【海商报业】"
  5746. ],
  5747. "summary": "查询\"我的闲置\"单据信息",
  5748. "parameters": [
  5749. {
  5750. "type": "integer",
  5751. "description": "页码",
  5752. "name": "page",
  5753. "in": "query"
  5754. },
  5755. {
  5756. "type": "integer",
  5757. "description": "每页条数",
  5758. "name": "pagesize",
  5759. "in": "query"
  5760. },
  5761. {
  5762. "type": "string",
  5763. "description": "资金账户列表,格式:1,2,3",
  5764. "name": "accountIDs",
  5765. "in": "query",
  5766. "required": true
  5767. },
  5768. {
  5769. "type": "integer",
  5770. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5771. "name": "orderType",
  5772. "in": "query"
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/models.HsbySellMyDetail"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/HSBY/QueryHsbyTopGoodses": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5799. "produces": [
  5800. "application/json"
  5801. ],
  5802. "tags": [
  5803. "定制【海商报业】"
  5804. ],
  5805. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5806. "parameters": [
  5807. {
  5808. "type": "integer",
  5809. "description": "页码",
  5810. "name": "page",
  5811. "in": "query"
  5812. },
  5813. {
  5814. "type": "integer",
  5815. "description": "每页条数",
  5816. "name": "pagesize",
  5817. "in": "query"
  5818. },
  5819. {
  5820. "type": "string",
  5821. "description": "市场ID列表,格式:1,2,3",
  5822. "name": "marketIDs",
  5823. "in": "query",
  5824. "required": true
  5825. },
  5826. {
  5827. "type": "integer",
  5828. "description": "目的地(省)ID",
  5829. "name": "descProvinceID",
  5830. "in": "query"
  5831. },
  5832. {
  5833. "type": "integer",
  5834. "description": "目的地(市)ID",
  5835. "name": "descCityID",
  5836. "in": "query"
  5837. }
  5838. ],
  5839. "responses": {
  5840. "200": {
  5841. "description": "OK",
  5842. "schema": {
  5843. "$ref": "#/definitions/models.HsbyTopGoods"
  5844. }
  5845. },
  5846. "500": {
  5847. "description": "Internal Server Error",
  5848. "schema": {
  5849. "$ref": "#/definitions/app.Response"
  5850. }
  5851. }
  5852. }
  5853. }
  5854. },
  5855. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5856. "get": {
  5857. "security": [
  5858. {
  5859. "ApiKeyAuth": []
  5860. }
  5861. ],
  5862. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5863. "produces": [
  5864. "application/json"
  5865. ],
  5866. "tags": [
  5867. "定制【海商报业】"
  5868. ],
  5869. "summary": "查询游客三级市场(商城)商品信息详情",
  5870. "parameters": [
  5871. {
  5872. "type": "integer",
  5873. "description": "商品ID",
  5874. "name": "goodsID",
  5875. "in": "query",
  5876. "required": true
  5877. }
  5878. ],
  5879. "responses": {
  5880. "200": {
  5881. "description": "OK",
  5882. "schema": {
  5883. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5903. "produces": [
  5904. "application/json"
  5905. ],
  5906. "tags": [
  5907. "定制【海商报业】"
  5908. ],
  5909. "summary": "查询游客特卖商品列表(三级商城)",
  5910. "parameters": [
  5911. {
  5912. "type": "integer",
  5913. "description": "页码",
  5914. "name": "page",
  5915. "in": "query"
  5916. },
  5917. {
  5918. "type": "integer",
  5919. "description": "每页条数",
  5920. "name": "pagesize",
  5921. "in": "query"
  5922. },
  5923. {
  5924. "type": "string",
  5925. "description": "市场ID列表,格式:1,2,3",
  5926. "name": "marketIDs",
  5927. "in": "query",
  5928. "required": true
  5929. },
  5930. {
  5931. "type": "integer",
  5932. "description": "类别ID",
  5933. "name": "categoryID",
  5934. "in": "query"
  5935. },
  5936. {
  5937. "type": "string",
  5938. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5939. "name": "goodsIDs",
  5940. "in": "query"
  5941. }
  5942. ],
  5943. "responses": {
  5944. "200": {
  5945. "description": "OK",
  5946. "schema": {
  5947. "$ref": "#/definitions/models.HsbyMarketGoods"
  5948. }
  5949. },
  5950. "500": {
  5951. "description": "Internal Server Error",
  5952. "schema": {
  5953. "$ref": "#/definitions/app.Response"
  5954. }
  5955. }
  5956. }
  5957. }
  5958. },
  5959. "/HSBY/QueryMyCollectionOrders": {
  5960. "get": {
  5961. "security": [
  5962. {
  5963. "ApiKeyAuth": []
  5964. }
  5965. ],
  5966. "produces": [
  5967. "application/json"
  5968. ],
  5969. "tags": [
  5970. "定制【海商报业】"
  5971. ],
  5972. "summary": "我的闲置中收款信息查询",
  5973. "parameters": [
  5974. {
  5975. "type": "integer",
  5976. "description": "页码",
  5977. "name": "page",
  5978. "in": "query"
  5979. },
  5980. {
  5981. "type": "integer",
  5982. "description": "每页条数",
  5983. "name": "pagesize",
  5984. "in": "query"
  5985. },
  5986. {
  5987. "type": "string",
  5988. "description": "资金账户,格式:1,2,3",
  5989. "name": "accountIDs",
  5990. "in": "query",
  5991. "required": true
  5992. }
  5993. ],
  5994. "responses": {
  5995. "200": {
  5996. "description": "OK",
  5997. "schema": {
  5998. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5999. }
  6000. },
  6001. "500": {
  6002. "description": "Internal Server Error",
  6003. "schema": {
  6004. "$ref": "#/definitions/app.Response"
  6005. }
  6006. }
  6007. }
  6008. }
  6009. },
  6010. "/HSBY/QueryMyCouponHolds": {
  6011. "get": {
  6012. "security": [
  6013. {
  6014. "ApiKeyAuth": []
  6015. }
  6016. ],
  6017. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6018. "produces": [
  6019. "application/json"
  6020. ],
  6021. "tags": [
  6022. "定制【海商报业】"
  6023. ],
  6024. "summary": "我的优惠卷持仓查询",
  6025. "parameters": [
  6026. {
  6027. "type": "string",
  6028. "description": "资金账户列表,格式:1,2,3",
  6029. "name": "accountIDs",
  6030. "in": "query",
  6031. "required": true
  6032. },
  6033. {
  6034. "type": "string",
  6035. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6036. "name": "holdStatus",
  6037. "in": "query"
  6038. }
  6039. ],
  6040. "responses": {
  6041. "200": {
  6042. "description": "OK",
  6043. "schema": {
  6044. "$ref": "#/definitions/models.MyCouponHold"
  6045. }
  6046. },
  6047. "500": {
  6048. "description": "Internal Server Error",
  6049. "schema": {
  6050. "$ref": "#/definitions/app.Response"
  6051. }
  6052. }
  6053. }
  6054. }
  6055. },
  6056. "/HSBY/QueryMyCoupons": {
  6057. "get": {
  6058. "security": [
  6059. {
  6060. "ApiKeyAuth": []
  6061. }
  6062. ],
  6063. "produces": [
  6064. "application/json"
  6065. ],
  6066. "tags": [
  6067. "定制【海商报业】"
  6068. ],
  6069. "summary": "我的优惠卷查询",
  6070. "parameters": [
  6071. {
  6072. "type": "string",
  6073. "description": "资金账户列表,格式:1,2,3",
  6074. "name": "accountIDs",
  6075. "in": "query",
  6076. "required": true
  6077. },
  6078. {
  6079. "type": "integer",
  6080. "description": "商品ID, 一般与sellUserID配套传入",
  6081. "name": "goodsID",
  6082. "in": "query"
  6083. },
  6084. {
  6085. "type": "integer",
  6086. "description": "卖方UserID",
  6087. "name": "sellUserID",
  6088. "in": "query"
  6089. }
  6090. ],
  6091. "responses": {
  6092. "200": {
  6093. "description": "OK",
  6094. "schema": {
  6095. "$ref": "#/definitions/models.MyCoupon"
  6096. }
  6097. },
  6098. "500": {
  6099. "description": "Internal Server Error",
  6100. "schema": {
  6101. "$ref": "#/definitions/app.Response"
  6102. }
  6103. }
  6104. }
  6105. }
  6106. },
  6107. "/HSBY/QueryMyPayOrders": {
  6108. "get": {
  6109. "security": [
  6110. {
  6111. "ApiKeyAuth": []
  6112. }
  6113. ],
  6114. "produces": [
  6115. "application/json"
  6116. ],
  6117. "tags": [
  6118. "定制【海商报业】"
  6119. ],
  6120. "summary": "获取我的订单中待付款信息",
  6121. "parameters": [
  6122. {
  6123. "type": "integer",
  6124. "description": "页码",
  6125. "name": "page",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "每页条数",
  6131. "name": "pagesize",
  6132. "in": "query"
  6133. },
  6134. {
  6135. "type": "string",
  6136. "description": "资金账户列表,格式:1,2,3",
  6137. "name": "accountIDs",
  6138. "in": "query",
  6139. "required": true
  6140. },
  6141. {
  6142. "type": "integer",
  6143. "description": "买方委托单号",
  6144. "name": "buyOrderID",
  6145. "in": "query"
  6146. },
  6147. {
  6148. "type": "integer",
  6149. "description": "卖方委托单号",
  6150. "name": "sellOrderID",
  6151. "in": "query"
  6152. }
  6153. ],
  6154. "responses": {
  6155. "200": {
  6156. "description": "OK",
  6157. "schema": {
  6158. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6159. }
  6160. },
  6161. "500": {
  6162. "description": "Internal Server Error",
  6163. "schema": {
  6164. "$ref": "#/definitions/app.Response"
  6165. }
  6166. }
  6167. }
  6168. }
  6169. },
  6170. "/HSBY/QueryMyUsedCoupon": {
  6171. "get": {
  6172. "security": [
  6173. {
  6174. "ApiKeyAuth": []
  6175. }
  6176. ],
  6177. "produces": [
  6178. "application/json"
  6179. ],
  6180. "tags": [
  6181. "定制【海商报业】"
  6182. ],
  6183. "summary": "已使用优惠卷查询",
  6184. "parameters": [
  6185. {
  6186. "type": "string",
  6187. "description": "资金账户列表,格式:1,2,3",
  6188. "name": "accountIDs",
  6189. "in": "query",
  6190. "required": true
  6191. }
  6192. ],
  6193. "responses": {
  6194. "200": {
  6195. "description": "OK",
  6196. "schema": {
  6197. "$ref": "#/definitions/models.MyUsedCoupon"
  6198. }
  6199. },
  6200. "500": {
  6201. "description": "Internal Server Error",
  6202. "schema": {
  6203. "$ref": "#/definitions/app.Response"
  6204. }
  6205. }
  6206. }
  6207. }
  6208. },
  6209. "/HSBY/QueryProvincesAndCities": {
  6210. "get": {
  6211. "security": [
  6212. {
  6213. "ApiKeyAuth": []
  6214. }
  6215. ],
  6216. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6217. "produces": [
  6218. "application/json"
  6219. ],
  6220. "tags": [
  6221. "定制【海商报业】"
  6222. ],
  6223. "summary": "查询省市信息(不包括区)",
  6224. "parameters": [
  6225. {
  6226. "type": "integer",
  6227. "description": "省ID",
  6228. "name": "provinceID",
  6229. "in": "query"
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6237. }
  6238. },
  6239. "500": {
  6240. "description": "Internal Server Error",
  6241. "schema": {
  6242. "$ref": "#/definitions/app.Response"
  6243. }
  6244. }
  6245. }
  6246. }
  6247. },
  6248. "/HSBY/SetHsbyMyPackagesStatus": {
  6249. "post": {
  6250. "security": [
  6251. {
  6252. "ApiKeyAuth": []
  6253. }
  6254. ],
  6255. "produces": [
  6256. "application/json"
  6257. ],
  6258. "tags": [
  6259. "定制【海商报业】"
  6260. ],
  6261. "summary": "设置我的包裹已收货状态",
  6262. "parameters": [
  6263. {
  6264. "type": "string",
  6265. "description": "提货单号",
  6266. "name": "takeOrderID",
  6267. "in": "query",
  6268. "required": true
  6269. },
  6270. {
  6271. "type": "integer",
  6272. "description": "资金账号",
  6273. "name": "accountID",
  6274. "in": "query",
  6275. "required": true
  6276. }
  6277. ],
  6278. "responses": {
  6279. "200": {
  6280. "description": "OK",
  6281. "schema": {
  6282. "$ref": "#/definitions/app.Response"
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Market/QueryGoodsesByLoginID": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "通用市场"
  6306. ],
  6307. "summary": "获取登录账号有权限的商品信息",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "登录账号",
  6312. "name": "loginID",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "string",
  6318. "description": "市场ID列表,格式:1,2,3",
  6319. "name": "marketIDs",
  6320. "in": "query"
  6321. }
  6322. ],
  6323. "responses": {
  6324. "200": {
  6325. "description": "OK",
  6326. "schema": {
  6327. "$ref": "#/definitions/models.Goods"
  6328. }
  6329. },
  6330. "500": {
  6331. "description": "Internal Server Error",
  6332. "schema": {
  6333. "$ref": "#/definitions/app.Response"
  6334. }
  6335. }
  6336. }
  6337. }
  6338. },
  6339. "/Market/QueryMarketRun": {
  6340. "get": {
  6341. "security": [
  6342. {
  6343. "ApiKeyAuth": []
  6344. }
  6345. ],
  6346. "produces": [
  6347. "application/json"
  6348. ],
  6349. "tags": [
  6350. "通用市场"
  6351. ],
  6352. "summary": "查询市场运行信息",
  6353. "parameters": [
  6354. {
  6355. "type": "integer",
  6356. "description": "市场ID,不传返回所有",
  6357. "name": "marketID",
  6358. "in": "query"
  6359. }
  6360. ],
  6361. "responses": {
  6362. "200": {
  6363. "description": "OK",
  6364. "schema": {
  6365. "$ref": "#/definitions/models.Marketrun"
  6366. }
  6367. },
  6368. "500": {
  6369. "description": "Internal Server Error",
  6370. "schema": {
  6371. "$ref": "#/definitions/app.Response"
  6372. }
  6373. }
  6374. }
  6375. }
  6376. },
  6377. "/Market/QueryMarketsByLoginID": {
  6378. "get": {
  6379. "security": [
  6380. {
  6381. "ApiKeyAuth": []
  6382. }
  6383. ],
  6384. "produces": [
  6385. "application/json"
  6386. ],
  6387. "tags": [
  6388. "通用市场"
  6389. ],
  6390. "summary": "获取登录账号有权限的市场信息",
  6391. "parameters": [
  6392. {
  6393. "type": "integer",
  6394. "description": "登录账号",
  6395. "name": "loginID",
  6396. "in": "query",
  6397. "required": true
  6398. }
  6399. ],
  6400. "responses": {
  6401. "200": {
  6402. "description": "OK",
  6403. "schema": {
  6404. "$ref": "#/definitions/models.Market"
  6405. }
  6406. },
  6407. "500": {
  6408. "description": "Internal Server Error",
  6409. "schema": {
  6410. "$ref": "#/definitions/app.Response"
  6411. }
  6412. }
  6413. }
  6414. }
  6415. },
  6416. "/Order/QueryHisTradeDetail": {
  6417. "get": {
  6418. "security": [
  6419. {
  6420. "ApiKeyAuth": []
  6421. }
  6422. ],
  6423. "produces": [
  6424. "application/json"
  6425. ],
  6426. "tags": [
  6427. "通用单据"
  6428. ],
  6429. "summary": "历史成交单查询(合约市场)",
  6430. "parameters": [
  6431. {
  6432. "type": "string",
  6433. "description": "资金账户 - 格式:1,2,3",
  6434. "name": "accountID",
  6435. "in": "query",
  6436. "required": true
  6437. },
  6438. {
  6439. "type": "integer",
  6440. "description": "成交单号",
  6441. "name": "tradeID",
  6442. "in": "query"
  6443. },
  6444. {
  6445. "type": "integer",
  6446. "description": "委托单号",
  6447. "name": "orderID",
  6448. "in": "query"
  6449. },
  6450. {
  6451. "type": "string",
  6452. "description": "交易模式 - 格式:1,2,3",
  6453. "name": "tradeMode",
  6454. "in": "query"
  6455. },
  6456. {
  6457. "type": "integer",
  6458. "description": "委托单据类型",
  6459. "name": "buildType",
  6460. "in": "query"
  6461. },
  6462. {
  6463. "type": "string",
  6464. "description": "成交类别 - 格式:1,2,3",
  6465. "name": "tradeType",
  6466. "in": "query"
  6467. },
  6468. {
  6469. "type": "string",
  6470. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6471. "name": "startDate",
  6472. "in": "query"
  6473. },
  6474. {
  6475. "type": "string",
  6476. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6477. "name": "endDate",
  6478. "in": "query"
  6479. }
  6480. ],
  6481. "responses": {
  6482. "200": {
  6483. "description": "OK",
  6484. "schema": {
  6485. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6486. }
  6487. },
  6488. "500": {
  6489. "description": "Internal Server Error",
  6490. "schema": {
  6491. "$ref": "#/definitions/app.Response"
  6492. }
  6493. }
  6494. }
  6495. }
  6496. },
  6497. "/Order/QueryHisTradeOrderDetail": {
  6498. "get": {
  6499. "security": [
  6500. {
  6501. "ApiKeyAuth": []
  6502. }
  6503. ],
  6504. "produces": [
  6505. "application/json"
  6506. ],
  6507. "tags": [
  6508. "通用单据"
  6509. ],
  6510. "summary": "历史委托单查询请求(合约市场)",
  6511. "parameters": [
  6512. {
  6513. "type": "string",
  6514. "description": "资金账户 - 格式:1,2,3",
  6515. "name": "accountID",
  6516. "in": "query",
  6517. "required": true
  6518. },
  6519. {
  6520. "type": "string",
  6521. "description": "交易模式 - 格式:1,2,3",
  6522. "name": "tradeMode",
  6523. "in": "query"
  6524. },
  6525. {
  6526. "type": "string",
  6527. "description": "委托状态 - 格式:1,2,3",
  6528. "name": "orderStatus",
  6529. "in": "query"
  6530. },
  6531. {
  6532. "type": "integer",
  6533. "description": "委托单号",
  6534. "name": "orderID",
  6535. "in": "query"
  6536. },
  6537. {
  6538. "type": "string",
  6539. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6540. "name": "startDate",
  6541. "in": "query"
  6542. },
  6543. {
  6544. "type": "string",
  6545. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6546. "name": "endDate",
  6547. "in": "query"
  6548. }
  6549. ],
  6550. "responses": {
  6551. "200": {
  6552. "description": "OK",
  6553. "schema": {
  6554. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6555. }
  6556. },
  6557. "500": {
  6558. "description": "Internal Server Error",
  6559. "schema": {
  6560. "$ref": "#/definitions/app.Response"
  6561. }
  6562. }
  6563. }
  6564. }
  6565. },
  6566. "/Order/QueryTradeDetail": {
  6567. "get": {
  6568. "security": [
  6569. {
  6570. "ApiKeyAuth": []
  6571. }
  6572. ],
  6573. "produces": [
  6574. "application/json"
  6575. ],
  6576. "tags": [
  6577. "通用单据"
  6578. ],
  6579. "summary": "成交单查询(合约市场)",
  6580. "parameters": [
  6581. {
  6582. "type": "string",
  6583. "description": "资金账户 - 格式:1,2,3",
  6584. "name": "accountID",
  6585. "in": "query",
  6586. "required": true
  6587. },
  6588. {
  6589. "type": "integer",
  6590. "description": "成交单号",
  6591. "name": "tradeID",
  6592. "in": "query"
  6593. },
  6594. {
  6595. "type": "integer",
  6596. "description": "委托单号",
  6597. "name": "orderID",
  6598. "in": "query"
  6599. },
  6600. {
  6601. "type": "string",
  6602. "description": "交易模式 - 格式:1,2,3",
  6603. "name": "tradeMode",
  6604. "in": "query"
  6605. },
  6606. {
  6607. "type": "integer",
  6608. "description": "委托单据类型",
  6609. "name": "buildType",
  6610. "in": "query"
  6611. },
  6612. {
  6613. "type": "string",
  6614. "description": "成交类别 - 格式:1,2,3",
  6615. "name": "tradeType",
  6616. "in": "query"
  6617. }
  6618. ],
  6619. "responses": {
  6620. "200": {
  6621. "description": "OK",
  6622. "schema": {
  6623. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6624. }
  6625. },
  6626. "500": {
  6627. "description": "Internal Server Error",
  6628. "schema": {
  6629. "$ref": "#/definitions/app.Response"
  6630. }
  6631. }
  6632. }
  6633. }
  6634. },
  6635. "/Order/QueryTradeOrderDetail": {
  6636. "get": {
  6637. "security": [
  6638. {
  6639. "ApiKeyAuth": []
  6640. }
  6641. ],
  6642. "produces": [
  6643. "application/json"
  6644. ],
  6645. "tags": [
  6646. "通用单据"
  6647. ],
  6648. "summary": "委托单查询请求(合约市场)",
  6649. "parameters": [
  6650. {
  6651. "type": "string",
  6652. "description": "资金账户 - 格式:1,2,3",
  6653. "name": "accountID",
  6654. "in": "query",
  6655. "required": true
  6656. },
  6657. {
  6658. "type": "string",
  6659. "description": "交易模式 - 格式:1,2,3",
  6660. "name": "tradeMode",
  6661. "in": "query"
  6662. },
  6663. {
  6664. "type": "string",
  6665. "description": "委托状态 - 格式:1,2,3",
  6666. "name": "orderStatus",
  6667. "in": "query"
  6668. },
  6669. {
  6670. "type": "integer",
  6671. "description": "委托单号",
  6672. "name": "orderID",
  6673. "in": "query"
  6674. }
  6675. ],
  6676. "responses": {
  6677. "200": {
  6678. "description": "OK",
  6679. "schema": {
  6680. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6681. }
  6682. },
  6683. "500": {
  6684. "description": "Internal Server Error",
  6685. "schema": {
  6686. "$ref": "#/definitions/app.Response"
  6687. }
  6688. }
  6689. }
  6690. }
  6691. },
  6692. "/Order/QueryTradePosition": {
  6693. "get": {
  6694. "security": [
  6695. {
  6696. "ApiKeyAuth": []
  6697. }
  6698. ],
  6699. "produces": [
  6700. "application/json"
  6701. ],
  6702. "tags": [
  6703. "通用单据"
  6704. ],
  6705. "summary": "持仓汇总查询(合约市场)",
  6706. "parameters": [
  6707. {
  6708. "type": "string",
  6709. "description": "资金账户 - 格式:1,2,3",
  6710. "name": "accountID",
  6711. "in": "query",
  6712. "required": true
  6713. },
  6714. {
  6715. "type": "string",
  6716. "description": "交易模式 - 格式:1,2,3",
  6717. "name": "tradeMode",
  6718. "in": "query"
  6719. }
  6720. ],
  6721. "responses": {
  6722. "200": {
  6723. "description": "OK",
  6724. "schema": {
  6725. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6726. }
  6727. },
  6728. "500": {
  6729. "description": "Internal Server Error",
  6730. "schema": {
  6731. "$ref": "#/definitions/app.Response"
  6732. }
  6733. }
  6734. }
  6735. }
  6736. },
  6737. "/Qhj/QueryBankAccountSign": {
  6738. "get": {
  6739. "security": [
  6740. {
  6741. "ApiKeyAuth": []
  6742. }
  6743. ],
  6744. "produces": [
  6745. "application/json"
  6746. ],
  6747. "tags": [
  6748. "大连千海金"
  6749. ],
  6750. "summary": "查询签约银行信息(提现账户管理)",
  6751. "parameters": [
  6752. {
  6753. "type": "integer",
  6754. "description": "用户ID",
  6755. "name": "userid",
  6756. "in": "query",
  6757. "required": true
  6758. }
  6759. ],
  6760. "responses": {
  6761. "200": {
  6762. "description": "OK",
  6763. "schema": {
  6764. "type": "array",
  6765. "items": {
  6766. "$ref": "#/definitions/models.QhjBankAccountSign"
  6767. }
  6768. }
  6769. },
  6770. "500": {
  6771. "description": "Internal Server Error",
  6772. "schema": {
  6773. "$ref": "#/definitions/app.Response"
  6774. }
  6775. }
  6776. }
  6777. }
  6778. },
  6779. "/Qhj/QueryBankInfo": {
  6780. "get": {
  6781. "security": [
  6782. {
  6783. "ApiKeyAuth": []
  6784. }
  6785. ],
  6786. "produces": [
  6787. "application/json"
  6788. ],
  6789. "tags": [
  6790. "大连千海金"
  6791. ],
  6792. "summary": "查询开户行",
  6793. "responses": {
  6794. "200": {
  6795. "description": "OK",
  6796. "schema": {
  6797. "type": "array",
  6798. "items": {
  6799. "$ref": "#/definitions/models.QhjBankInfo"
  6800. }
  6801. }
  6802. },
  6803. "500": {
  6804. "description": "Internal Server Error",
  6805. "schema": {
  6806. "$ref": "#/definitions/app.Response"
  6807. }
  6808. }
  6809. }
  6810. }
  6811. },
  6812. "/Qhj/QueryContract": {
  6813. "get": {
  6814. "security": [
  6815. {
  6816. "ApiKeyAuth": []
  6817. }
  6818. ],
  6819. "produces": [
  6820. "application/json"
  6821. ],
  6822. "tags": [
  6823. "大连千海金"
  6824. ],
  6825. "summary": "查询融资明细(合同)",
  6826. "parameters": [
  6827. {
  6828. "type": "integer",
  6829. "description": "用户ID",
  6830. "name": "userid",
  6831. "in": "query",
  6832. "required": true
  6833. },
  6834. {
  6835. "type": "integer",
  6836. "description": "scf合同id",
  6837. "name": "scfcontractid",
  6838. "in": "query"
  6839. }
  6840. ],
  6841. "responses": {
  6842. "200": {
  6843. "description": "OK",
  6844. "schema": {
  6845. "type": "array",
  6846. "items": {
  6847. "$ref": "#/definitions/models.QhjContract"
  6848. }
  6849. }
  6850. },
  6851. "500": {
  6852. "description": "Internal Server Error",
  6853. "schema": {
  6854. "$ref": "#/definitions/app.Response"
  6855. }
  6856. }
  6857. }
  6858. }
  6859. },
  6860. "/Qhj/QueryContractLog": {
  6861. "get": {
  6862. "security": [
  6863. {
  6864. "ApiKeyAuth": []
  6865. }
  6866. ],
  6867. "produces": [
  6868. "application/json"
  6869. ],
  6870. "tags": [
  6871. "大连千海金"
  6872. ],
  6873. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  6874. "parameters": [
  6875. {
  6876. "type": "integer",
  6877. "description": "scf合同id",
  6878. "name": "scfcontractid",
  6879. "in": "query",
  6880. "required": true
  6881. },
  6882. {
  6883. "type": "string",
  6884. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  6885. "name": "amounttype",
  6886. "in": "query"
  6887. }
  6888. ],
  6889. "responses": {
  6890. "200": {
  6891. "description": "OK",
  6892. "schema": {
  6893. "type": "array",
  6894. "items": {
  6895. "$ref": "#/definitions/models.QhjContractLog"
  6896. }
  6897. }
  6898. },
  6899. "500": {
  6900. "description": "Internal Server Error",
  6901. "schema": {
  6902. "$ref": "#/definitions/app.Response"
  6903. }
  6904. }
  6905. }
  6906. }
  6907. },
  6908. "/Qhj/QueryPickArea": {
  6909. "get": {
  6910. "security": [
  6911. {
  6912. "ApiKeyAuth": []
  6913. }
  6914. ],
  6915. "produces": [
  6916. "application/json"
  6917. ],
  6918. "tags": [
  6919. "大连千海金"
  6920. ],
  6921. "summary": "查询提货门店",
  6922. "parameters": [
  6923. {
  6924. "type": "integer",
  6925. "description": "用户ID",
  6926. "name": "userid",
  6927. "in": "query"
  6928. }
  6929. ],
  6930. "responses": {
  6931. "200": {
  6932. "description": "OK",
  6933. "schema": {
  6934. "type": "array",
  6935. "items": {
  6936. "$ref": "#/definitions/models.QhjPickArea"
  6937. }
  6938. }
  6939. },
  6940. "500": {
  6941. "description": "Internal Server Error",
  6942. "schema": {
  6943. "$ref": "#/definitions/app.Response"
  6944. }
  6945. }
  6946. }
  6947. }
  6948. },
  6949. "/Qhj/QueryPickGoods": {
  6950. "get": {
  6951. "security": [
  6952. {
  6953. "ApiKeyAuth": []
  6954. }
  6955. ],
  6956. "produces": [
  6957. "application/json"
  6958. ],
  6959. "tags": [
  6960. "大连千海金"
  6961. ],
  6962. "summary": "查询提货商品",
  6963. "parameters": [
  6964. {
  6965. "type": "string",
  6966. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  6967. "name": "status",
  6968. "in": "query"
  6969. }
  6970. ],
  6971. "responses": {
  6972. "200": {
  6973. "description": "OK",
  6974. "schema": {
  6975. "type": "array",
  6976. "items": {
  6977. "$ref": "#/definitions/models.QhjPickGoods"
  6978. }
  6979. }
  6980. },
  6981. "500": {
  6982. "description": "Internal Server Error",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. }
  6987. }
  6988. }
  6989. },
  6990. "/Qhj/QueryRSTriggerLog": {
  6991. "get": {
  6992. "security": [
  6993. {
  6994. "ApiKeyAuth": []
  6995. }
  6996. ],
  6997. "produces": [
  6998. "application/json"
  6999. ],
  7000. "tags": [
  7001. "大连千海金"
  7002. ],
  7003. "summary": "查询定投记录(定投管理/详情/定投记录)",
  7004. "parameters": [
  7005. {
  7006. "type": "integer",
  7007. "description": "用户ID",
  7008. "name": "userid",
  7009. "in": "query",
  7010. "required": true
  7011. },
  7012. {
  7013. "type": "integer",
  7014. "description": "定投策略id",
  7015. "name": "regularlystrategyid",
  7016. "in": "query"
  7017. }
  7018. ],
  7019. "responses": {
  7020. "200": {
  7021. "description": "OK",
  7022. "schema": {
  7023. "type": "array",
  7024. "items": {
  7025. "$ref": "#/definitions/models.QhjRSTriggerLog"
  7026. }
  7027. }
  7028. },
  7029. "500": {
  7030. "description": "Internal Server Error",
  7031. "schema": {
  7032. "$ref": "#/definitions/app.Response"
  7033. }
  7034. }
  7035. }
  7036. }
  7037. },
  7038. "/Qhj/QueryRStrategy": {
  7039. "get": {
  7040. "security": [
  7041. {
  7042. "ApiKeyAuth": []
  7043. }
  7044. ],
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "大连千海金"
  7050. ],
  7051. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  7052. "parameters": [
  7053. {
  7054. "type": "integer",
  7055. "description": "用户ID",
  7056. "name": "userid",
  7057. "in": "query",
  7058. "required": true
  7059. },
  7060. {
  7061. "type": "string",
  7062. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  7063. "name": "status",
  7064. "in": "query"
  7065. }
  7066. ],
  7067. "responses": {
  7068. "200": {
  7069. "description": "OK",
  7070. "schema": {
  7071. "type": "array",
  7072. "items": {
  7073. "$ref": "#/definitions/models.QhjRStrategy"
  7074. }
  7075. }
  7076. },
  7077. "500": {
  7078. "description": "Internal Server Error",
  7079. "schema": {
  7080. "$ref": "#/definitions/app.Response"
  7081. }
  7082. }
  7083. }
  7084. }
  7085. },
  7086. "/Qhj/QueryReckonPriceLog": {
  7087. "get": {
  7088. "security": [
  7089. {
  7090. "ApiKeyAuth": []
  7091. }
  7092. ],
  7093. "produces": [
  7094. "application/json"
  7095. ],
  7096. "tags": [
  7097. "大连千海金"
  7098. ],
  7099. "summary": "查询定投价(结算价)",
  7100. "parameters": [
  7101. {
  7102. "type": "integer",
  7103. "description": "商品ID",
  7104. "name": "goodsid",
  7105. "in": "query"
  7106. },
  7107. {
  7108. "type": "string",
  7109. "description": "交易日 格式(yyyymmdd)",
  7110. "name": "tradedate",
  7111. "in": "query"
  7112. }
  7113. ],
  7114. "responses": {
  7115. "200": {
  7116. "description": "OK",
  7117. "schema": {
  7118. "type": "array",
  7119. "items": {
  7120. "$ref": "#/definitions/models.QhjReckonPriceLog"
  7121. }
  7122. }
  7123. },
  7124. "500": {
  7125. "description": "Internal Server Error",
  7126. "schema": {
  7127. "$ref": "#/definitions/app.Response"
  7128. }
  7129. }
  7130. }
  7131. }
  7132. },
  7133. "/Qhj/QueryTradeGoodsPickup": {
  7134. "get": {
  7135. "security": [
  7136. {
  7137. "ApiKeyAuth": []
  7138. }
  7139. ],
  7140. "produces": [
  7141. "application/json"
  7142. ],
  7143. "tags": [
  7144. "大连千海金"
  7145. ],
  7146. "summary": "查询提货",
  7147. "parameters": [
  7148. {
  7149. "type": "integer",
  7150. "description": "用户ID",
  7151. "name": "userid",
  7152. "in": "query",
  7153. "required": true
  7154. }
  7155. ],
  7156. "responses": {
  7157. "200": {
  7158. "description": "OK",
  7159. "schema": {
  7160. "type": "array",
  7161. "items": {
  7162. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  7163. }
  7164. }
  7165. },
  7166. "500": {
  7167. "description": "Internal Server Error",
  7168. "schema": {
  7169. "$ref": "#/definitions/app.Response"
  7170. }
  7171. }
  7172. }
  7173. }
  7174. },
  7175. "/Qhj/QueryUserCollectConfig": {
  7176. "get": {
  7177. "security": [
  7178. {
  7179. "ApiKeyAuth": []
  7180. }
  7181. ],
  7182. "produces": [
  7183. "application/json"
  7184. ],
  7185. "tags": [
  7186. "大连千海金"
  7187. ],
  7188. "summary": "查询提现账户设置",
  7189. "parameters": [
  7190. {
  7191. "type": "integer",
  7192. "description": "用户ID",
  7193. "name": "userid",
  7194. "in": "query",
  7195. "required": true
  7196. }
  7197. ],
  7198. "responses": {
  7199. "200": {
  7200. "description": "OK",
  7201. "schema": {
  7202. "type": "array",
  7203. "items": {
  7204. "$ref": "#/definitions/models.UserCollectConfig"
  7205. }
  7206. }
  7207. },
  7208. "500": {
  7209. "description": "Internal Server Error",
  7210. "schema": {
  7211. "$ref": "#/definitions/app.Response"
  7212. }
  7213. }
  7214. }
  7215. }
  7216. },
  7217. "/Qhj/QueryUserReceiveInfo": {
  7218. "get": {
  7219. "security": [
  7220. {
  7221. "ApiKeyAuth": []
  7222. }
  7223. ],
  7224. "produces": [
  7225. "application/json"
  7226. ],
  7227. "tags": [
  7228. "大连千海金"
  7229. ],
  7230. "summary": "查询收货地址信息",
  7231. "parameters": [
  7232. {
  7233. "type": "integer",
  7234. "description": "用户ID",
  7235. "name": "userid",
  7236. "in": "query",
  7237. "required": true
  7238. }
  7239. ],
  7240. "responses": {
  7241. "200": {
  7242. "description": "OK",
  7243. "schema": {
  7244. "type": "array",
  7245. "items": {
  7246. "$ref": "#/definitions/models.UserReceiveInfo"
  7247. }
  7248. }
  7249. },
  7250. "500": {
  7251. "description": "Internal Server Error",
  7252. "schema": {
  7253. "$ref": "#/definitions/app.Response"
  7254. }
  7255. }
  7256. }
  7257. }
  7258. },
  7259. "/Quote/QueryHistoryDatas": {
  7260. "get": {
  7261. "security": [
  7262. {
  7263. "ApiKeyAuth": []
  7264. }
  7265. ],
  7266. "produces": [
  7267. "application/json"
  7268. ],
  7269. "tags": [
  7270. "行情服务"
  7271. ],
  7272. "summary": "查询行情历史数据",
  7273. "parameters": [
  7274. {
  7275. "type": "integer",
  7276. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  7277. "name": "cycleType",
  7278. "in": "query",
  7279. "required": true
  7280. },
  7281. {
  7282. "type": "string",
  7283. "description": "商品代码",
  7284. "name": "goodsCode",
  7285. "in": "query",
  7286. "required": true
  7287. },
  7288. {
  7289. "type": "string",
  7290. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7291. "name": "startTime",
  7292. "in": "query"
  7293. },
  7294. {
  7295. "type": "string",
  7296. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7297. "name": "endTime",
  7298. "in": "query"
  7299. },
  7300. {
  7301. "type": "integer",
  7302. "description": "条数",
  7303. "name": "count",
  7304. "in": "query"
  7305. },
  7306. {
  7307. "type": "boolean",
  7308. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7309. "name": "isAsc",
  7310. "in": "query"
  7311. }
  7312. ],
  7313. "responses": {
  7314. "200": {
  7315. "description": "OK",
  7316. "schema": {
  7317. "$ref": "#/definitions/quote.HistoryData"
  7318. }
  7319. },
  7320. "500": {
  7321. "description": "Internal Server Error",
  7322. "schema": {
  7323. "$ref": "#/definitions/app.Response"
  7324. }
  7325. }
  7326. }
  7327. }
  7328. },
  7329. "/Quote/QueryHistoryTikDatas": {
  7330. "get": {
  7331. "security": [
  7332. {
  7333. "ApiKeyAuth": []
  7334. }
  7335. ],
  7336. "produces": [
  7337. "application/json"
  7338. ],
  7339. "tags": [
  7340. "行情服务"
  7341. ],
  7342. "summary": "查询行情Tik数据",
  7343. "parameters": [
  7344. {
  7345. "type": "string",
  7346. "description": "商品代码",
  7347. "name": "goodsCode",
  7348. "in": "query",
  7349. "required": true
  7350. },
  7351. {
  7352. "type": "string",
  7353. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  7354. "name": "startTime",
  7355. "in": "query"
  7356. },
  7357. {
  7358. "type": "string",
  7359. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  7360. "name": "endTime",
  7361. "in": "query"
  7362. },
  7363. {
  7364. "type": "integer",
  7365. "description": "条数",
  7366. "name": "count",
  7367. "in": "query"
  7368. },
  7369. {
  7370. "type": "boolean",
  7371. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  7372. "name": "isAsc",
  7373. "in": "query"
  7374. }
  7375. ],
  7376. "responses": {
  7377. "200": {
  7378. "description": "OK",
  7379. "schema": {
  7380. "$ref": "#/definitions/quote.HistoryTikData"
  7381. }
  7382. },
  7383. "500": {
  7384. "description": "Internal Server Error",
  7385. "schema": {
  7386. "$ref": "#/definitions/app.Response"
  7387. }
  7388. }
  7389. }
  7390. }
  7391. },
  7392. "/Quote/QueryQuoteDay": {
  7393. "get": {
  7394. "security": [
  7395. {
  7396. "ApiKeyAuth": []
  7397. }
  7398. ],
  7399. "produces": [
  7400. "application/json"
  7401. ],
  7402. "tags": [
  7403. "行情服务"
  7404. ],
  7405. "summary": "获取商品盘面信息",
  7406. "parameters": [
  7407. {
  7408. "type": "string",
  7409. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  7410. "name": "goodsCodes",
  7411. "in": "query",
  7412. "required": true
  7413. }
  7414. ],
  7415. "responses": {
  7416. "200": {
  7417. "description": "OK",
  7418. "schema": {
  7419. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  7420. }
  7421. },
  7422. "500": {
  7423. "description": "Internal Server Error",
  7424. "schema": {
  7425. "$ref": "#/definitions/app.Response"
  7426. }
  7427. }
  7428. }
  7429. }
  7430. },
  7431. "/Quote/QueryTSData": {
  7432. "get": {
  7433. "security": [
  7434. {
  7435. "ApiKeyAuth": []
  7436. }
  7437. ],
  7438. "produces": [
  7439. "application/json"
  7440. ],
  7441. "tags": [
  7442. "行情服务"
  7443. ],
  7444. "summary": "分时图数据查询",
  7445. "parameters": [
  7446. {
  7447. "type": "string",
  7448. "description": "商品代码",
  7449. "name": "goodsCode",
  7450. "in": "query",
  7451. "required": true
  7452. }
  7453. ],
  7454. "responses": {
  7455. "200": {
  7456. "description": "OK",
  7457. "schema": {
  7458. "$ref": "#/definitions/quote.QueryTSDataRsp"
  7459. }
  7460. },
  7461. "500": {
  7462. "description": "Internal Server Error",
  7463. "schema": {
  7464. "$ref": "#/definitions/app.Response"
  7465. }
  7466. }
  7467. }
  7468. }
  7469. },
  7470. "/SZDZ/QueryConvertConfig": {
  7471. "get": {
  7472. "security": [
  7473. {
  7474. "ApiKeyAuth": []
  7475. }
  7476. ],
  7477. "produces": [
  7478. "application/json"
  7479. ],
  7480. "tags": [
  7481. "定制【尚志大宗】"
  7482. ],
  7483. "summary": "查询交易系统转换设置",
  7484. "parameters": [
  7485. {
  7486. "type": "integer",
  7487. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7488. "name": "convertType",
  7489. "in": "query"
  7490. },
  7491. {
  7492. "type": "string",
  7493. "description": "外部商品代码[JD\\PD]",
  7494. "name": "outerGoodsCode",
  7495. "in": "query"
  7496. },
  7497. {
  7498. "type": "string",
  7499. "description": "内部商品ID列表[交易],格式:1,2,3",
  7500. "name": "innerGoodsIDs",
  7501. "in": "query"
  7502. }
  7503. ],
  7504. "responses": {
  7505. "200": {
  7506. "description": "OK",
  7507. "schema": {
  7508. "$ref": "#/definitions/models.Szdz3convertconfig"
  7509. }
  7510. },
  7511. "500": {
  7512. "description": "Internal Server Error",
  7513. "schema": {
  7514. "$ref": "#/definitions/app.Response"
  7515. }
  7516. }
  7517. }
  7518. }
  7519. },
  7520. "/SZDZ/QueryConvertLog": {
  7521. "get": {
  7522. "security": [
  7523. {
  7524. "ApiKeyAuth": []
  7525. }
  7526. ],
  7527. "produces": [
  7528. "application/json"
  7529. ],
  7530. "tags": [
  7531. "定制【尚志大宗】"
  7532. ],
  7533. "summary": "交易系统转换流水查询",
  7534. "parameters": [
  7535. {
  7536. "type": "string",
  7537. "description": "资金账户 - 格式:1,2,3",
  7538. "name": "accountID",
  7539. "in": "query",
  7540. "required": true
  7541. },
  7542. {
  7543. "type": "string",
  7544. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7545. "name": "startDate",
  7546. "in": "query"
  7547. },
  7548. {
  7549. "type": "string",
  7550. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7551. "name": "endDate",
  7552. "in": "query"
  7553. }
  7554. ],
  7555. "responses": {
  7556. "200": {
  7557. "description": "OK",
  7558. "schema": {
  7559. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7560. }
  7561. },
  7562. "500": {
  7563. "description": "Internal Server Error",
  7564. "schema": {
  7565. "$ref": "#/definitions/app.Response"
  7566. }
  7567. }
  7568. }
  7569. }
  7570. },
  7571. "/SZDZ/QueryGoodsPickup": {
  7572. "get": {
  7573. "security": [
  7574. {
  7575. "ApiKeyAuth": []
  7576. }
  7577. ],
  7578. "produces": [
  7579. "application/json"
  7580. ],
  7581. "tags": [
  7582. "定制【尚志大宗】"
  7583. ],
  7584. "summary": "商品提货单查询",
  7585. "parameters": [
  7586. {
  7587. "type": "string",
  7588. "description": "资金账户 - 格式:1,2,3",
  7589. "name": "accountID",
  7590. "in": "query",
  7591. "required": true
  7592. },
  7593. {
  7594. "type": "integer",
  7595. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7596. "name": "takeOrderStatus",
  7597. "in": "query"
  7598. }
  7599. ],
  7600. "responses": {
  7601. "200": {
  7602. "description": "OK",
  7603. "schema": {
  7604. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7605. }
  7606. },
  7607. "500": {
  7608. "description": "Internal Server Error",
  7609. "schema": {
  7610. "$ref": "#/definitions/app.Response"
  7611. }
  7612. }
  7613. }
  7614. }
  7615. },
  7616. "/SZDZ/QueryRecieptOrder": {
  7617. "get": {
  7618. "security": [
  7619. {
  7620. "ApiKeyAuth": []
  7621. }
  7622. ],
  7623. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7624. "produces": [
  7625. "application/json"
  7626. ],
  7627. "tags": [
  7628. "定制【尚志大宗】"
  7629. ],
  7630. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7631. "parameters": [
  7632. {
  7633. "type": "integer",
  7634. "description": "页码",
  7635. "name": "page",
  7636. "in": "query"
  7637. },
  7638. {
  7639. "type": "integer",
  7640. "description": "每页条数",
  7641. "name": "pagesize",
  7642. "in": "query"
  7643. },
  7644. {
  7645. "type": "integer",
  7646. "description": "商品ID",
  7647. "name": "goodsID",
  7648. "in": "query",
  7649. "required": true
  7650. },
  7651. {
  7652. "type": "string",
  7653. "description": "所属账户名称",
  7654. "name": "accountName",
  7655. "in": "query"
  7656. },
  7657. {
  7658. "type": "integer",
  7659. "description": "市场ID",
  7660. "name": "marketID",
  7661. "in": "query"
  7662. },
  7663. {
  7664. "type": "integer",
  7665. "description": "方向 - 0:买 1:卖",
  7666. "name": "buyorsell",
  7667. "in": "query",
  7668. "required": true
  7669. }
  7670. ],
  7671. "responses": {
  7672. "200": {
  7673. "description": "OK",
  7674. "schema": {
  7675. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7676. }
  7677. },
  7678. "500": {
  7679. "description": "Internal Server Error",
  7680. "schema": {
  7681. "$ref": "#/definitions/app.Response"
  7682. }
  7683. }
  7684. }
  7685. }
  7686. },
  7687. "/SZDZ/QuerySZDZTradePosition": {
  7688. "get": {
  7689. "security": [
  7690. {
  7691. "ApiKeyAuth": []
  7692. }
  7693. ],
  7694. "produces": [
  7695. "application/json"
  7696. ],
  7697. "tags": [
  7698. "定制【尚志大宗】"
  7699. ],
  7700. "summary": "持仓汇总查询(尚志大宗)",
  7701. "parameters": [
  7702. {
  7703. "type": "integer",
  7704. "description": "资金账户",
  7705. "name": "accountID",
  7706. "in": "query",
  7707. "required": true
  7708. }
  7709. ],
  7710. "responses": {
  7711. "200": {
  7712. "description": "OK",
  7713. "schema": {
  7714. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7715. }
  7716. },
  7717. "500": {
  7718. "description": "Internal Server Error",
  7719. "schema": {
  7720. "$ref": "#/definitions/app.Response"
  7721. }
  7722. }
  7723. }
  7724. }
  7725. },
  7726. "/SZDZ/SearchWhite": {
  7727. "get": {
  7728. "security": [
  7729. {
  7730. "ApiKeyAuth": []
  7731. }
  7732. ],
  7733. "produces": [
  7734. "application/json"
  7735. ],
  7736. "tags": [
  7737. "定制【尚志大宗】"
  7738. ],
  7739. "summary": "搜索白名单",
  7740. "parameters": [
  7741. {
  7742. "type": "integer",
  7743. "description": "用户ID",
  7744. "name": "userID",
  7745. "in": "query",
  7746. "required": true
  7747. }
  7748. ],
  7749. "responses": {
  7750. "200": {
  7751. "description": "OK",
  7752. "schema": {
  7753. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7754. }
  7755. },
  7756. "500": {
  7757. "description": "Internal Server Error",
  7758. "schema": {
  7759. "$ref": "#/definitions/app.Response"
  7760. }
  7761. }
  7762. }
  7763. }
  7764. },
  7765. "/Search/SearchGoodses": {
  7766. "get": {
  7767. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7768. "produces": [
  7769. "application/json"
  7770. ],
  7771. "tags": [
  7772. "检索服务"
  7773. ],
  7774. "summary": "检索商品信息",
  7775. "parameters": [
  7776. {
  7777. "type": "string",
  7778. "description": "检索内容",
  7779. "name": "content",
  7780. "in": "query",
  7781. "required": true
  7782. },
  7783. {
  7784. "type": "string",
  7785. "description": "交易模式,格式:1,2,3",
  7786. "name": "tradeModes",
  7787. "in": "query"
  7788. }
  7789. ],
  7790. "responses": {
  7791. "200": {
  7792. "description": "OK",
  7793. "schema": {
  7794. "$ref": "#/definitions/models.SearchGoods"
  7795. }
  7796. },
  7797. "500": {
  7798. "description": "Internal Server Error",
  7799. "schema": {
  7800. "$ref": "#/definitions/app.Response"
  7801. }
  7802. }
  7803. }
  7804. }
  7805. },
  7806. "/TaAccount/GetTaAccounts": {
  7807. "get": {
  7808. "security": [
  7809. {
  7810. "ApiKeyAuth": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "资金账户"
  7818. ],
  7819. "summary": "获取资金账户信息",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "登录账户",
  7824. "name": "loginID",
  7825. "in": "query",
  7826. "required": true
  7827. },
  7828. {
  7829. "type": "integer",
  7830. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7831. "name": "taAccountType",
  7832. "in": "query"
  7833. }
  7834. ],
  7835. "responses": {
  7836. "200": {
  7837. "description": "OK",
  7838. "schema": {
  7839. "$ref": "#/definitions/models.Taaccount"
  7840. }
  7841. },
  7842. "500": {
  7843. "description": "Internal Server Error",
  7844. "schema": {
  7845. "$ref": "#/definitions/app.Response"
  7846. }
  7847. }
  7848. }
  7849. }
  7850. },
  7851. "/TaAccount/QueryAmountLog": {
  7852. "get": {
  7853. "security": [
  7854. {
  7855. "ApiKeyAuth": []
  7856. }
  7857. ],
  7858. "produces": [
  7859. "application/json"
  7860. ],
  7861. "tags": [
  7862. "资金账户"
  7863. ],
  7864. "summary": "资金流水查询(当前)",
  7865. "parameters": [
  7866. {
  7867. "type": "integer",
  7868. "description": "页码",
  7869. "name": "page",
  7870. "in": "query"
  7871. },
  7872. {
  7873. "type": "integer",
  7874. "description": "每页条数",
  7875. "name": "pagesize",
  7876. "in": "query"
  7877. },
  7878. {
  7879. "type": "string",
  7880. "description": "资金账户 - 格式:1,2,3",
  7881. "name": "accountID",
  7882. "in": "query",
  7883. "required": true
  7884. },
  7885. {
  7886. "type": "string",
  7887. "description": "资金操作类型 - 格式:1,2,3",
  7888. "name": "OperateType",
  7889. "in": "query"
  7890. }
  7891. ],
  7892. "responses": {
  7893. "200": {
  7894. "description": "OK",
  7895. "schema": {
  7896. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7897. }
  7898. },
  7899. "500": {
  7900. "description": "Internal Server Error",
  7901. "schema": {
  7902. "$ref": "#/definitions/app.Response"
  7903. }
  7904. }
  7905. }
  7906. }
  7907. },
  7908. "/TaAccount/QueryHisAmountLog": {
  7909. "get": {
  7910. "security": [
  7911. {
  7912. "ApiKeyAuth": []
  7913. }
  7914. ],
  7915. "produces": [
  7916. "application/json"
  7917. ],
  7918. "tags": [
  7919. "资金账户"
  7920. ],
  7921. "summary": "资金流水查询(历史)",
  7922. "parameters": [
  7923. {
  7924. "type": "integer",
  7925. "description": "页码",
  7926. "name": "page",
  7927. "in": "query"
  7928. },
  7929. {
  7930. "type": "integer",
  7931. "description": "每页条数",
  7932. "name": "pagesize",
  7933. "in": "query"
  7934. },
  7935. {
  7936. "type": "string",
  7937. "description": "资金账户 - 格式:1,2,3",
  7938. "name": "accountID",
  7939. "in": "query",
  7940. "required": true
  7941. },
  7942. {
  7943. "type": "string",
  7944. "description": "资金操作类型 - 格式:1,2,3",
  7945. "name": "OperateType",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "string",
  7950. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7951. "name": "startDate",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "string",
  7956. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7957. "name": "endDate",
  7958. "in": "query"
  7959. }
  7960. ],
  7961. "responses": {
  7962. "200": {
  7963. "description": "OK",
  7964. "schema": {
  7965. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7966. }
  7967. },
  7968. "500": {
  7969. "description": "Internal Server Error",
  7970. "schema": {
  7971. "$ref": "#/definitions/app.Response"
  7972. }
  7973. }
  7974. }
  7975. }
  7976. },
  7977. "/Trade/QueryRecieptOrder": {
  7978. "get": {
  7979. "security": [
  7980. {
  7981. "ApiKeyAuth": []
  7982. }
  7983. ],
  7984. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7985. "produces": [
  7986. "application/json"
  7987. ],
  7988. "tags": [
  7989. "通用交易"
  7990. ],
  7991. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7992. "parameters": [
  7993. {
  7994. "type": "integer",
  7995. "description": "页码",
  7996. "name": "page",
  7997. "in": "query"
  7998. },
  7999. {
  8000. "type": "integer",
  8001. "description": "每页条数",
  8002. "name": "pagesize",
  8003. "in": "query"
  8004. },
  8005. {
  8006. "type": "integer",
  8007. "description": "商品ID",
  8008. "name": "goodsID",
  8009. "in": "query",
  8010. "required": true
  8011. },
  8012. {
  8013. "type": "string",
  8014. "description": "所属账户名称",
  8015. "name": "accountName",
  8016. "in": "query"
  8017. },
  8018. {
  8019. "type": "integer",
  8020. "description": "市场ID",
  8021. "name": "marketID",
  8022. "in": "query"
  8023. },
  8024. {
  8025. "type": "integer",
  8026. "description": "方向 - 0:买 1:卖",
  8027. "name": "buyorsell",
  8028. "in": "query",
  8029. "required": true
  8030. }
  8031. ],
  8032. "responses": {
  8033. "200": {
  8034. "description": "OK",
  8035. "schema": {
  8036. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  8037. }
  8038. },
  8039. "500": {
  8040. "description": "Internal Server Error",
  8041. "schema": {
  8042. "$ref": "#/definitions/app.Response"
  8043. }
  8044. }
  8045. }
  8046. }
  8047. },
  8048. "/User/AddMessageBoard": {
  8049. "post": {
  8050. "security": [
  8051. {
  8052. "ApiKeyAuth": []
  8053. }
  8054. ],
  8055. "produces": [
  8056. "application/json"
  8057. ],
  8058. "tags": [
  8059. "用户信息"
  8060. ],
  8061. "summary": "添加用户留言板信息",
  8062. "parameters": [
  8063. {
  8064. "type": "integer",
  8065. "description": "用户ID",
  8066. "name": "userID",
  8067. "in": "query",
  8068. "required": true
  8069. },
  8070. {
  8071. "type": "string",
  8072. "description": "留言信息",
  8073. "name": "message",
  8074. "in": "query",
  8075. "required": true
  8076. },
  8077. {
  8078. "type": "string",
  8079. "description": "联系电话",
  8080. "name": "contactNum",
  8081. "in": "query",
  8082. "required": true
  8083. }
  8084. ],
  8085. "responses": {
  8086. "200": {
  8087. "description": "OK",
  8088. "schema": {
  8089. "$ref": "#/definitions/app.Response"
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/User/AddUserFavoriteGoods": {
  8102. "post": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. }
  8107. ],
  8108. "produces": [
  8109. "application/json"
  8110. ],
  8111. "tags": [
  8112. "用户信息"
  8113. ],
  8114. "summary": "添加用户商品收藏信息",
  8115. "parameters": [
  8116. {
  8117. "type": "integer",
  8118. "description": "用户ID",
  8119. "name": "userID",
  8120. "in": "query",
  8121. "required": true
  8122. },
  8123. {
  8124. "type": "integer",
  8125. "description": "商品ID",
  8126. "name": "goodsID",
  8127. "in": "query",
  8128. "required": true
  8129. }
  8130. ],
  8131. "responses": {
  8132. "200": {
  8133. "description": "OK",
  8134. "schema": {
  8135. "$ref": "#/definitions/app.Response"
  8136. }
  8137. },
  8138. "500": {
  8139. "description": "Internal Server Error",
  8140. "schema": {
  8141. "$ref": "#/definitions/app.Response"
  8142. }
  8143. }
  8144. }
  8145. }
  8146. },
  8147. "/User/GetLoginID": {
  8148. "get": {
  8149. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  8150. "produces": [
  8151. "application/json"
  8152. ],
  8153. "tags": [
  8154. "用户信息"
  8155. ],
  8156. "summary": "获取登录ID",
  8157. "parameters": [
  8158. {
  8159. "type": "string",
  8160. "description": "登录代码",
  8161. "name": "username",
  8162. "in": "query",
  8163. "required": true
  8164. }
  8165. ],
  8166. "responses": {
  8167. "200": {
  8168. "description": "OK",
  8169. "schema": {
  8170. "$ref": "#/definitions/app.Response"
  8171. }
  8172. },
  8173. "500": {
  8174. "description": "Internal Server Error",
  8175. "schema": {
  8176. "$ref": "#/definitions/app.Response"
  8177. }
  8178. }
  8179. }
  8180. }
  8181. },
  8182. "/User/GetUserAccount": {
  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.Useraccount"
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/User/GetUserAuthStatus": {
  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. "responses": {
  8245. "200": {
  8246. "description": "OK",
  8247. "schema": {
  8248. "$ref": "#/definitions/app.Response"
  8249. }
  8250. },
  8251. "500": {
  8252. "description": "Internal Server Error",
  8253. "schema": {
  8254. "$ref": "#/definitions/app.Response"
  8255. }
  8256. }
  8257. }
  8258. }
  8259. },
  8260. "/User/LoginQuery": {
  8261. "get": {
  8262. "security": [
  8263. {
  8264. "ApiKeyAuth": []
  8265. }
  8266. ],
  8267. "produces": [
  8268. "application/json"
  8269. ],
  8270. "tags": [
  8271. "用户信息"
  8272. ],
  8273. "summary": "账户登录后信息查询",
  8274. "parameters": [
  8275. {
  8276. "type": "integer",
  8277. "description": "登录账号",
  8278. "name": "loginID",
  8279. "in": "query",
  8280. "required": true
  8281. }
  8282. ],
  8283. "responses": {
  8284. "200": {
  8285. "description": "OK",
  8286. "schema": {
  8287. "$ref": "#/definitions/user.LoginQueryRsp"
  8288. }
  8289. },
  8290. "500": {
  8291. "description": "Internal Server Error",
  8292. "schema": {
  8293. "$ref": "#/definitions/app.Response"
  8294. }
  8295. }
  8296. }
  8297. }
  8298. },
  8299. "/User/QueryMessageBoard": {
  8300. "get": {
  8301. "security": [
  8302. {
  8303. "ApiKeyAuth": []
  8304. }
  8305. ],
  8306. "produces": [
  8307. "application/json"
  8308. ],
  8309. "tags": [
  8310. "用户信息"
  8311. ],
  8312. "summary": "获取用户留言板信息",
  8313. "parameters": [
  8314. {
  8315. "type": "integer",
  8316. "description": "用户ID",
  8317. "name": "userID",
  8318. "in": "query",
  8319. "required": true
  8320. }
  8321. ],
  8322. "responses": {
  8323. "200": {
  8324. "description": "OK",
  8325. "schema": {
  8326. "$ref": "#/definitions/models.Messageboard"
  8327. }
  8328. },
  8329. "500": {
  8330. "description": "Internal Server Error",
  8331. "schema": {
  8332. "$ref": "#/definitions/app.Response"
  8333. }
  8334. }
  8335. }
  8336. }
  8337. },
  8338. "/User/QueryUserFavoriteGoodses": {
  8339. "get": {
  8340. "security": [
  8341. {
  8342. "ApiKeyAuth": []
  8343. }
  8344. ],
  8345. "produces": [
  8346. "application/json"
  8347. ],
  8348. "tags": [
  8349. "用户信息"
  8350. ],
  8351. "summary": "获取用户商品收藏信息",
  8352. "parameters": [
  8353. {
  8354. "type": "integer",
  8355. "description": "用户ID",
  8356. "name": "userID",
  8357. "in": "query",
  8358. "required": true
  8359. }
  8360. ],
  8361. "responses": {
  8362. "200": {
  8363. "description": "OK",
  8364. "schema": {
  8365. "$ref": "#/definitions/models.Userfavoritegoods"
  8366. }
  8367. },
  8368. "500": {
  8369. "description": "Internal Server Error",
  8370. "schema": {
  8371. "$ref": "#/definitions/app.Response"
  8372. }
  8373. }
  8374. }
  8375. }
  8376. },
  8377. "/User/QueryUserInfo": {
  8378. "get": {
  8379. "security": [
  8380. {
  8381. "ApiKeyAuth": []
  8382. }
  8383. ],
  8384. "produces": [
  8385. "application/json"
  8386. ],
  8387. "tags": [
  8388. "用户信息"
  8389. ],
  8390. "summary": "获取用户信息",
  8391. "parameters": [
  8392. {
  8393. "type": "integer",
  8394. "description": "用户ID",
  8395. "name": "userID",
  8396. "in": "query",
  8397. "required": true
  8398. },
  8399. {
  8400. "type": "boolean",
  8401. "description": "是否解密",
  8402. "name": "isDecrypt",
  8403. "in": "query"
  8404. }
  8405. ],
  8406. "responses": {
  8407. "200": {
  8408. "description": "OK",
  8409. "schema": {
  8410. "$ref": "#/definitions/models.Userinfo"
  8411. }
  8412. },
  8413. "500": {
  8414. "description": "Internal Server Error",
  8415. "schema": {
  8416. "$ref": "#/definitions/app.Response"
  8417. }
  8418. }
  8419. }
  8420. }
  8421. },
  8422. "/User/QueryUserReferNum": {
  8423. "get": {
  8424. "produces": [
  8425. "application/json"
  8426. ],
  8427. "tags": [
  8428. "用户信息"
  8429. ],
  8430. "summary": "获取用户邀请码",
  8431. "parameters": [
  8432. {
  8433. "type": "integer",
  8434. "description": "用户ID",
  8435. "name": "userID",
  8436. "in": "query",
  8437. "required": true
  8438. }
  8439. ],
  8440. "responses": {
  8441. "200": {
  8442. "description": "OK",
  8443. "schema": {
  8444. "$ref": "#/definitions/app.Response"
  8445. }
  8446. },
  8447. "500": {
  8448. "description": "Internal Server Error",
  8449. "schema": {
  8450. "$ref": "#/definitions/app.Response"
  8451. }
  8452. }
  8453. }
  8454. }
  8455. },
  8456. "/User/RemoveUserFavoriteGoods": {
  8457. "post": {
  8458. "security": [
  8459. {
  8460. "ApiKeyAuth": []
  8461. }
  8462. ],
  8463. "produces": [
  8464. "application/json"
  8465. ],
  8466. "tags": [
  8467. "用户信息"
  8468. ],
  8469. "summary": "移除用户商品收藏信息",
  8470. "parameters": [
  8471. {
  8472. "type": "integer",
  8473. "description": "用户ID",
  8474. "name": "userID",
  8475. "in": "query",
  8476. "required": true
  8477. },
  8478. {
  8479. "type": "integer",
  8480. "description": "商品ID",
  8481. "name": "goodsID",
  8482. "in": "query",
  8483. "required": true
  8484. }
  8485. ],
  8486. "responses": {
  8487. "200": {
  8488. "description": "OK",
  8489. "schema": {
  8490. "$ref": "#/definitions/app.Response"
  8491. }
  8492. },
  8493. "500": {
  8494. "description": "Internal Server Error",
  8495. "schema": {
  8496. "$ref": "#/definitions/app.Response"
  8497. }
  8498. }
  8499. }
  8500. }
  8501. },
  8502. "/User/UpdateUserAccountStatus": {
  8503. "post": {
  8504. "security": [
  8505. {
  8506. "ApiKeyAuth": []
  8507. }
  8508. ],
  8509. "produces": [
  8510. "application/json"
  8511. ],
  8512. "tags": [
  8513. "用户信息"
  8514. ],
  8515. "summary": "更新用户状态",
  8516. "parameters": [
  8517. {
  8518. "type": "integer",
  8519. "description": "用户ID",
  8520. "name": "userID",
  8521. "in": "query",
  8522. "required": true
  8523. },
  8524. {
  8525. "type": "integer",
  8526. "description": "账户状态 - 4:正常 6:注销(停用)",
  8527. "name": "accountStatus",
  8528. "in": "query",
  8529. "required": true
  8530. }
  8531. ],
  8532. "responses": {
  8533. "200": {
  8534. "description": "OK",
  8535. "schema": {
  8536. "$ref": "#/definitions/app.Response"
  8537. }
  8538. },
  8539. "500": {
  8540. "description": "Internal Server Error",
  8541. "schema": {
  8542. "$ref": "#/definitions/app.Response"
  8543. }
  8544. }
  8545. }
  8546. }
  8547. },
  8548. "/WRTrade/GetAllDeliveryGoods": {
  8549. "get": {
  8550. "security": [
  8551. {
  8552. "ApiKeyAuth": []
  8553. },
  8554. {
  8555. "ApiKeyAuth": []
  8556. }
  8557. ],
  8558. "produces": [
  8559. "application/json",
  8560. "application/json"
  8561. ],
  8562. "tags": [
  8563. "仓单贸易",
  8564. "仓单贸易"
  8565. ],
  8566. "summary": "获取带仓单分类的种类信息",
  8567. "responses": {
  8568. "200": {
  8569. "description": "OK",
  8570. "schema": {
  8571. "$ref": "#/definitions/app.Response"
  8572. }
  8573. },
  8574. "500": {
  8575. "description": "Internal Server Error",
  8576. "schema": {
  8577. "$ref": "#/definitions/app.Response"
  8578. }
  8579. }
  8580. }
  8581. }
  8582. }
  8583. },
  8584. "definitions": {
  8585. "app.Response": {
  8586. "type": "object",
  8587. "properties": {
  8588. "code": {
  8589. "type": "integer"
  8590. },
  8591. "data": {
  8592. "type": "object"
  8593. },
  8594. "msg": {
  8595. "type": "string"
  8596. },
  8597. "page": {
  8598. "description": "页码",
  8599. "type": "integer"
  8600. },
  8601. "pagesize": {
  8602. "description": "每页条数",
  8603. "type": "integer"
  8604. },
  8605. "total": {
  8606. "description": "总条数",
  8607. "type": "integer"
  8608. }
  8609. }
  8610. },
  8611. "common.ClientMenu": {
  8612. "type": "object",
  8613. "properties": {
  8614. "children": {
  8615. "description": "子菜单列表",
  8616. "type": "array",
  8617. "items": {
  8618. "$ref": "#/definitions/common.ClientMenu"
  8619. }
  8620. },
  8621. "code": {
  8622. "description": "ID",
  8623. "type": "string"
  8624. },
  8625. "isshow": {
  8626. "description": "是否显示",
  8627. "type": "boolean"
  8628. },
  8629. "rulekey": {
  8630. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8631. "type": "string"
  8632. },
  8633. "sort": {
  8634. "description": "排序",
  8635. "type": "integer"
  8636. },
  8637. "title": {
  8638. "description": "标题",
  8639. "type": "string"
  8640. },
  8641. "type": {
  8642. "description": "类型,1:菜单 2:按钮",
  8643. "type": "integer"
  8644. }
  8645. }
  8646. },
  8647. "common.QueryImageConfigsRsp": {
  8648. "type": "object",
  8649. "required": [
  8650. "configid"
  8651. ],
  8652. "properties": {
  8653. "areauserid": {
  8654. "description": "所属机构ID",
  8655. "type": "integer"
  8656. },
  8657. "configid": {
  8658. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8659. "type": "integer"
  8660. },
  8661. "createdate": {
  8662. "description": "创建时间",
  8663. "type": "string"
  8664. },
  8665. "creatorid": {
  8666. "description": "创建人",
  8667. "type": "integer"
  8668. },
  8669. "imagepath": {
  8670. "description": "图片",
  8671. "type": "string"
  8672. },
  8673. "imagetype": {
  8674. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8675. "type": "integer"
  8676. },
  8677. "isshow": {
  8678. "description": "是否展示 - 0:不展示 1:展示",
  8679. "type": "integer"
  8680. },
  8681. "marketid": {
  8682. "description": "市场ID",
  8683. "type": "integer"
  8684. },
  8685. "modifierid": {
  8686. "description": "操作人",
  8687. "type": "integer"
  8688. },
  8689. "sort": {
  8690. "description": "排序",
  8691. "type": "integer"
  8692. },
  8693. "title": {
  8694. "description": "标题",
  8695. "type": "string"
  8696. },
  8697. "trademode": {
  8698. "description": "交易模式",
  8699. "type": "integer"
  8700. },
  8701. "updatedate": {
  8702. "description": "修改时间",
  8703. "type": "string"
  8704. },
  8705. "url": {
  8706. "description": "链接(地址或商品ID)",
  8707. "type": "string"
  8708. },
  8709. "urltype": {
  8710. "description": "链接类型 - 1:直接地址 2:商品ID",
  8711. "type": "integer"
  8712. }
  8713. }
  8714. },
  8715. "common.QueryNoticeRsp": {
  8716. "type": "object",
  8717. "required": [
  8718. "autoid"
  8719. ],
  8720. "properties": {
  8721. "auditoruserid": {
  8722. "description": "审核人",
  8723. "type": "integer"
  8724. },
  8725. "auditremark": {
  8726. "description": "审核备注",
  8727. "type": "string"
  8728. },
  8729. "audittime": {
  8730. "description": "审核日期",
  8731. "type": "string"
  8732. },
  8733. "autoid": {
  8734. "description": "自增ID",
  8735. "type": "integer"
  8736. },
  8737. "content": {
  8738. "description": "内容",
  8739. "type": "string"
  8740. },
  8741. "createtime": {
  8742. "description": "创建时间",
  8743. "type": "string"
  8744. },
  8745. "creatorid": {
  8746. "description": "建仓人",
  8747. "type": "integer"
  8748. },
  8749. "endtime": {
  8750. "description": "结束时间",
  8751. "type": "string"
  8752. },
  8753. "istop": {
  8754. "description": "是否置顶 - 0:不置顶 1:置顶",
  8755. "type": "integer"
  8756. },
  8757. "msgiconurl": {
  8758. "description": "消息图标Url",
  8759. "type": "string"
  8760. },
  8761. "msgtype": {
  8762. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8763. "type": "integer"
  8764. },
  8765. "publisher": {
  8766. "description": "消息发布者",
  8767. "type": "string"
  8768. },
  8769. "readed": {
  8770. "description": "是否已读",
  8771. "type": "boolean"
  8772. },
  8773. "scheduletime": {
  8774. "description": "计划发送时间",
  8775. "type": "string"
  8776. },
  8777. "sendtype": {
  8778. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8779. "type": "integer"
  8780. },
  8781. "sentstatus": {
  8782. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8783. "type": "integer"
  8784. },
  8785. "title": {
  8786. "description": "标题",
  8787. "type": "string"
  8788. },
  8789. "userid": {
  8790. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8791. "type": "integer"
  8792. }
  8793. }
  8794. },
  8795. "common.QueryProvincesAndCitiesRsp": {
  8796. "type": "object",
  8797. "properties": {
  8798. "cities": {
  8799. "description": "市",
  8800. "type": "array",
  8801. "items": {
  8802. "$ref": "#/definitions/models.Division"
  8803. }
  8804. },
  8805. "province": {
  8806. "description": "省",
  8807. "$ref": "#/definitions/models.Division"
  8808. }
  8809. }
  8810. },
  8811. "common.QueryTableDefineRsp": {
  8812. "type": "object",
  8813. "required": [
  8814. "tablekey"
  8815. ],
  8816. "properties": {
  8817. "columns": {
  8818. "description": "列头信息数组",
  8819. "type": "array",
  8820. "items": {
  8821. "$ref": "#/definitions/models.Tablecolumnconfig"
  8822. }
  8823. },
  8824. "remark": {
  8825. "description": "Remark",
  8826. "type": "string"
  8827. },
  8828. "tabelmenu": {
  8829. "description": "列表菜单",
  8830. "type": "string"
  8831. },
  8832. "tablekey": {
  8833. "description": "列表Key",
  8834. "type": "string"
  8835. },
  8836. "tablename": {
  8837. "description": "列表名称",
  8838. "type": "string"
  8839. },
  8840. "tabletype": {
  8841. "description": "列表类型 - 1:管理端 2:终端",
  8842. "type": "integer"
  8843. }
  8844. }
  8845. },
  8846. "common.QueryTraderMenuRsp": {
  8847. "type": "object",
  8848. "properties": {
  8849. "OperationMenu": {
  8850. "description": "功能菜单",
  8851. "type": "array",
  8852. "items": {
  8853. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8854. }
  8855. },
  8856. "QuoteMenu": {
  8857. "description": "报价牌分类菜单",
  8858. "type": "array",
  8859. "items": {
  8860. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8861. }
  8862. }
  8863. }
  8864. },
  8865. "cptrade.Cptradepositioncancel": {
  8866. "type": "object",
  8867. "required": [
  8868. "cancelid"
  8869. ],
  8870. "properties": {
  8871. "accountid": {
  8872. "description": "申请人账户ID",
  8873. "type": "integer"
  8874. },
  8875. "applystatus": {
  8876. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8877. "type": "integer"
  8878. },
  8879. "applytime": {
  8880. "description": "申请时间",
  8881. "type": "string"
  8882. },
  8883. "cancelid": {
  8884. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8885. "type": "integer"
  8886. },
  8887. "cancelqty": {
  8888. "description": "注销数量",
  8889. "type": "integer"
  8890. },
  8891. "createtime": {
  8892. "description": "创建时间",
  8893. "type": "string"
  8894. },
  8895. "creatorid": {
  8896. "description": "创建人ID",
  8897. "type": "integer"
  8898. },
  8899. "creatorname": {
  8900. "description": "创建人",
  8901. "type": "string"
  8902. },
  8903. "goodscode": {
  8904. "description": "订单商品代码",
  8905. "type": "string"
  8906. },
  8907. "goodsid": {
  8908. "description": "商品ID",
  8909. "type": "integer"
  8910. },
  8911. "goodsname": {
  8912. "description": "订单商品名称",
  8913. "type": "string"
  8914. },
  8915. "goodunit": {
  8916. "description": "报价单位",
  8917. "type": "string"
  8918. },
  8919. "handlestatus": {
  8920. "description": "处理状态",
  8921. "type": "integer"
  8922. },
  8923. "marketid": {
  8924. "description": "市场ID",
  8925. "type": "integer"
  8926. },
  8927. "marketname": {
  8928. "description": "市场名称",
  8929. "type": "string"
  8930. },
  8931. "tradedate": {
  8932. "description": "交易日(yyyyMMdd)",
  8933. "type": "string"
  8934. },
  8935. "userid": {
  8936. "description": "申请人ID",
  8937. "type": "integer"
  8938. }
  8939. }
  8940. },
  8941. "cptrade.Cptradepresaleapply": {
  8942. "type": "object",
  8943. "required": [
  8944. "applyid"
  8945. ],
  8946. "properties": {
  8947. "accountid": {
  8948. "description": "申请人账户ID",
  8949. "type": "integer"
  8950. },
  8951. "applyid": {
  8952. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8953. "type": "integer"
  8954. },
  8955. "applyremark": {
  8956. "description": "申请备注",
  8957. "type": "string"
  8958. },
  8959. "applystatus": {
  8960. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8961. "type": "integer"
  8962. },
  8963. "applytime": {
  8964. "description": "申请时间",
  8965. "type": "string"
  8966. },
  8967. "attachmenturl": {
  8968. "description": "附件地址",
  8969. "type": "string"
  8970. },
  8971. "endtime": {
  8972. "description": "预售结束时间",
  8973. "type": "string"
  8974. },
  8975. "goodscode": {
  8976. "description": "商品代码",
  8977. "type": "string"
  8978. },
  8979. "goodsid": {
  8980. "description": "商品ID",
  8981. "type": "integer"
  8982. },
  8983. "goodsname": {
  8984. "description": "商品名称",
  8985. "type": "string"
  8986. },
  8987. "goodunit": {
  8988. "description": "报价单位",
  8989. "type": "string"
  8990. },
  8991. "handlestatus": {
  8992. "description": "处理状态",
  8993. "type": "integer"
  8994. },
  8995. "marketid": {
  8996. "description": "预售市场ID",
  8997. "type": "integer"
  8998. },
  8999. "marketname": {
  9000. "description": "预售市场名称",
  9001. "type": "string"
  9002. },
  9003. "presaleqty": {
  9004. "description": "预售数量",
  9005. "type": "integer"
  9006. },
  9007. "relatedgoodscode": {
  9008. "description": "关联交易合约代码",
  9009. "type": "string"
  9010. },
  9011. "relatedgoodsid": {
  9012. "description": "关联交易合约ID",
  9013. "type": "integer"
  9014. },
  9015. "relatedgoodsname": {
  9016. "description": "关联交易合约名称",
  9017. "type": "string"
  9018. },
  9019. "starttime": {
  9020. "description": "预售开始时间",
  9021. "type": "string"
  9022. },
  9023. "tradedate": {
  9024. "description": "交易日(yyyyMMdd)",
  9025. "type": "string"
  9026. },
  9027. "trademode": {
  9028. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  9029. "type": "integer"
  9030. },
  9031. "userid": {
  9032. "description": "申请人ID",
  9033. "type": "integer"
  9034. }
  9035. }
  9036. },
  9037. "cptrade.Cptradeusergoodsdata": {
  9038. "type": "object",
  9039. "required": [
  9040. "accountid",
  9041. "goodsid"
  9042. ],
  9043. "properties": {
  9044. "EnabledQty": {
  9045. "description": "可用量",
  9046. "type": "integer"
  9047. },
  9048. "GoodsCode": {
  9049. "description": "订单商品代码",
  9050. "type": "string"
  9051. },
  9052. "GoodsName": {
  9053. "description": "订单商品名称",
  9054. "type": "string"
  9055. },
  9056. "WRStandardCode": {
  9057. "description": "仓单标准代码",
  9058. "type": "string"
  9059. },
  9060. "WRStandardName": {
  9061. "description": "仓单标准名称",
  9062. "type": "string"
  9063. },
  9064. "accountid": {
  9065. "description": "账户ID",
  9066. "type": "integer"
  9067. },
  9068. "cancelqty": {
  9069. "description": "注销量",
  9070. "type": "integer"
  9071. },
  9072. "curpresaleqty": {
  9073. "description": "当前预售量",
  9074. "type": "integer"
  9075. },
  9076. "deliveryqty": {
  9077. "description": "交割量",
  9078. "type": "integer"
  9079. },
  9080. "freezeamount": {
  9081. "description": "冻结金额",
  9082. "type": "number"
  9083. },
  9084. "goodsid": {
  9085. "description": "商品ID",
  9086. "type": "integer"
  9087. },
  9088. "goodunit": {
  9089. "description": "报价单位",
  9090. "type": "string"
  9091. },
  9092. "hasspotfreeze": {
  9093. "description": "是否有现货冻结 - 0:否 1:有",
  9094. "type": "integer"
  9095. },
  9096. "inqty": {
  9097. "description": "转入量(总数量)",
  9098. "type": "integer"
  9099. },
  9100. "marketid": {
  9101. "description": "市场ID",
  9102. "type": "integer"
  9103. },
  9104. "presaledamount": {
  9105. "description": "已预售总金额",
  9106. "type": "integer"
  9107. },
  9108. "presaledqty": {
  9109. "description": "已预售量",
  9110. "type": "integer"
  9111. },
  9112. "userid": {
  9113. "description": "用户ID",
  9114. "type": "integer"
  9115. },
  9116. "wrstandardid": {
  9117. "description": "仓单标准ID",
  9118. "type": "integer"
  9119. }
  9120. }
  9121. },
  9122. "cptrade.QueryCPTradeMyBidRsp": {
  9123. "type": "object",
  9124. "required": [
  9125. "accountid",
  9126. "goodsid",
  9127. "marketid",
  9128. "orderid",
  9129. "orderqty",
  9130. "ordertime",
  9131. "tradeprice",
  9132. "tradeqty"
  9133. ],
  9134. "properties": {
  9135. "accountid": {
  9136. "description": "账户ID[报价币种]",
  9137. "type": "integer"
  9138. },
  9139. "goodsid": {
  9140. "description": "商品ID",
  9141. "type": "integer"
  9142. },
  9143. "goodunit": {
  9144. "description": "报价单位",
  9145. "type": "string"
  9146. },
  9147. "marketid": {
  9148. "description": "市场ID",
  9149. "type": "integer"
  9150. },
  9151. "orderid": {
  9152. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9153. "type": "integer"
  9154. },
  9155. "orderprice": {
  9156. "description": "委托价格",
  9157. "type": "number"
  9158. },
  9159. "orderqty": {
  9160. "description": "委托数量",
  9161. "type": "integer"
  9162. },
  9163. "ordertime": {
  9164. "description": "委托时间",
  9165. "type": "string"
  9166. },
  9167. "ordertotalprice": {
  9168. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  9169. "type": "number"
  9170. },
  9171. "ordertotalweight": {
  9172. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  9173. "type": "integer"
  9174. },
  9175. "totaltotalprice": {
  9176. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  9177. "type": "number"
  9178. },
  9179. "tradeprice": {
  9180. "description": "成交价格",
  9181. "type": "number"
  9182. },
  9183. "tradeqty": {
  9184. "description": "成交数量",
  9185. "type": "integer"
  9186. }
  9187. }
  9188. },
  9189. "cptrade.QueryCPTradeOrderDetailRsq": {
  9190. "type": "object",
  9191. "required": [
  9192. "accountid",
  9193. "buildtype",
  9194. "buyorsell",
  9195. "goodsid",
  9196. "marketid",
  9197. "memberuserid",
  9198. "operatetype",
  9199. "orderqty",
  9200. "ordertime",
  9201. "pricemode",
  9202. "strorderid",
  9203. "tradedate",
  9204. "validtype"
  9205. ],
  9206. "properties": {
  9207. "accountid": {
  9208. "description": "账户ID[报价币种]",
  9209. "type": "integer"
  9210. },
  9211. "buildtype": {
  9212. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  9213. "type": "integer"
  9214. },
  9215. "buyorsell": {
  9216. "description": "买卖 - 0:买 1:卖",
  9217. "type": "integer"
  9218. },
  9219. "cancelorderid": {
  9220. "description": "撤单单号(撤单时填写)",
  9221. "type": "integer"
  9222. },
  9223. "cancelqty": {
  9224. "description": "撤单数量",
  9225. "type": "integer"
  9226. },
  9227. "clientordertime": {
  9228. "description": "客户端委托时间",
  9229. "type": "string"
  9230. },
  9231. "clientticket": {
  9232. "description": "客户端流水号",
  9233. "type": "string"
  9234. },
  9235. "clienttype": {
  9236. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  9237. "type": "integer"
  9238. },
  9239. "closeexchagechargevalue": {
  9240. "description": "平仓交易所手续费设置值",
  9241. "type": "number"
  9242. },
  9243. "closefeealgorithm": {
  9244. "description": "平仓手续费收取方式 1:比率 2:固定",
  9245. "type": "integer"
  9246. },
  9247. "closefreezecharge": {
  9248. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  9249. "type": "number"
  9250. },
  9251. "closememberchargevalue": {
  9252. "description": "平仓会员手续费设置值",
  9253. "type": "number"
  9254. },
  9255. "closeqty": {
  9256. "description": "平仓数量(先建后平操作 需要记录)",
  9257. "type": "integer"
  9258. },
  9259. "closetradeqty": {
  9260. "description": "平仓成交数量(先建后平操作,需要记录)",
  9261. "type": "integer"
  9262. },
  9263. "closeunfreezecharge": {
  9264. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  9265. "type": "number"
  9266. },
  9267. "delistingtype": {
  9268. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  9269. "type": "integer"
  9270. },
  9271. "freezecharge": {
  9272. "description": "冻结手续费",
  9273. "type": "number"
  9274. },
  9275. "freezemargin": {
  9276. "description": "冻结保证金(冻结交易金额)",
  9277. "type": "number"
  9278. },
  9279. "gcaccountid": {
  9280. "description": "账户ID[合约币种]",
  9281. "type": "integer"
  9282. },
  9283. "goodsid": {
  9284. "description": "商品ID",
  9285. "type": "integer"
  9286. },
  9287. "isconfirmexercise": {
  9288. "description": "是否确认行权- 0:否 1:是",
  9289. "type": "integer"
  9290. },
  9291. "ispreexercise": {
  9292. "description": "是否预申报- 0:否 1:是",
  9293. "type": "integer"
  9294. },
  9295. "listingselecttype": {
  9296. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9297. "type": "integer"
  9298. },
  9299. "marginalgorithm": {
  9300. "description": "保证金收取方式 1:比率 2:固定",
  9301. "type": "integer"
  9302. },
  9303. "marginvalue": {
  9304. "description": "即市保证金设置值",
  9305. "type": "number"
  9306. },
  9307. "marketid": {
  9308. "description": "市场ID",
  9309. "type": "integer"
  9310. },
  9311. "marketmaxsub": {
  9312. "description": "市价最大偏移范围",
  9313. "type": "number"
  9314. },
  9315. "memberuserid": {
  9316. "description": "所属会员UserID",
  9317. "type": "integer"
  9318. },
  9319. "openexchagechargevalue": {
  9320. "description": "建仓交易所手续费设置值",
  9321. "type": "number"
  9322. },
  9323. "openfeealgorithm": {
  9324. "description": "建仓手续费收取方式 1:比率 2:固定",
  9325. "type": "integer"
  9326. },
  9327. "openfreezecharge": {
  9328. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  9329. "type": "number"
  9330. },
  9331. "openmemberchargevalue": {
  9332. "description": "建仓会员手续费设置值",
  9333. "type": "number"
  9334. },
  9335. "openqty": {
  9336. "description": "开仓数量(先建后平操作,需要记录)",
  9337. "type": "integer"
  9338. },
  9339. "opentradeqty": {
  9340. "description": "开仓成交数量(先建后平操作,需要记录)",
  9341. "type": "integer"
  9342. },
  9343. "openunfreezecharge": {
  9344. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  9345. "type": "number"
  9346. },
  9347. "operatetype": {
  9348. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9349. "type": "integer"
  9350. },
  9351. "operatorid": {
  9352. "description": "登录账号(LoginID)",
  9353. "type": "integer"
  9354. },
  9355. "optiontype": {
  9356. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  9357. "type": "integer"
  9358. },
  9359. "orderprice": {
  9360. "description": "委托价格",
  9361. "type": "number"
  9362. },
  9363. "orderqty": {
  9364. "description": "委托数量",
  9365. "type": "integer"
  9366. },
  9367. "ordersrc": {
  9368. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9369. "type": "integer"
  9370. },
  9371. "orderstatus": {
  9372. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9373. "type": "integer"
  9374. },
  9375. "ordertime": {
  9376. "description": "委托时间",
  9377. "type": "string"
  9378. },
  9379. "preexerciseprice": {
  9380. "description": "预申报价格",
  9381. "type": "number"
  9382. },
  9383. "premium": {
  9384. "description": "权利金",
  9385. "type": "number"
  9386. },
  9387. "preorderid": {
  9388. "description": "关联预埋单号(止盈止损单时填写)",
  9389. "type": "integer"
  9390. },
  9391. "pricemode": {
  9392. "description": "取价方式 - 1:市价 2: 限价",
  9393. "type": "integer"
  9394. },
  9395. "quoteid": {
  9396. "description": "报价单ID",
  9397. "type": "integer"
  9398. },
  9399. "relatedid": {
  9400. "description": "关联单号(交割单)",
  9401. "type": "integer"
  9402. },
  9403. "retcode": {
  9404. "description": "错误代码",
  9405. "type": "integer"
  9406. },
  9407. "sessionid": {
  9408. "description": "会话ID",
  9409. "type": "integer"
  9410. },
  9411. "strorderid": {
  9412. "description": "委托单号",
  9413. "type": "string"
  9414. },
  9415. "tradedate": {
  9416. "description": "交易日(yyyyMMdd)",
  9417. "type": "string"
  9418. },
  9419. "tradeproperty": {
  9420. "description": "交易属性",
  9421. "type": "integer"
  9422. },
  9423. "tradeqty": {
  9424. "description": "成交数量",
  9425. "type": "integer"
  9426. },
  9427. "unfreezecharge": {
  9428. "description": "解冻手续费",
  9429. "type": "number"
  9430. },
  9431. "unfreezemargin": {
  9432. "description": "解冻保证金",
  9433. "type": "number"
  9434. },
  9435. "updatetime": {
  9436. "description": "更新时间",
  9437. "type": "string"
  9438. },
  9439. "uuid": {
  9440. "description": "发起端唯一id",
  9441. "type": "string"
  9442. },
  9443. "validtime": {
  9444. "description": "有效期限",
  9445. "type": "string"
  9446. },
  9447. "validtype": {
  9448. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9449. "type": "integer"
  9450. },
  9451. "volumetype": {
  9452. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9453. "type": "integer"
  9454. }
  9455. }
  9456. },
  9457. "cptrade.QueryMyCPTradeGoodsRsp": {
  9458. "type": "object",
  9459. "required": [
  9460. "goodscode",
  9461. "goodsid",
  9462. "goodsname",
  9463. "marketid",
  9464. "relatedgoodscode",
  9465. "relatedgoodsname"
  9466. ],
  9467. "properties": {
  9468. "accountid": {
  9469. "description": "卖方账户ID",
  9470. "type": "integer"
  9471. },
  9472. "agreeunit": {
  9473. "description": "合约单位",
  9474. "type": "number"
  9475. },
  9476. "applyid": {
  9477. "description": "关联申请ID",
  9478. "type": "integer"
  9479. },
  9480. "attachmenturl": {
  9481. "description": "附件地址",
  9482. "type": "string"
  9483. },
  9484. "createtime": {
  9485. "description": "创建时间",
  9486. "type": "string"
  9487. },
  9488. "currencyid": {
  9489. "description": "报价货币ID",
  9490. "type": "integer"
  9491. },
  9492. "decimalplace": {
  9493. "description": "报价小数位",
  9494. "type": "integer"
  9495. },
  9496. "endtime": {
  9497. "description": "预售结束时间",
  9498. "type": "string"
  9499. },
  9500. "floorprice": {
  9501. "description": "底价[大宗式竞拍]",
  9502. "type": "number"
  9503. },
  9504. "goodscode": {
  9505. "description": "商品代码(预售)",
  9506. "type": "string"
  9507. },
  9508. "goodsdetail": {
  9509. "description": "详情[大宗]",
  9510. "type": "string"
  9511. },
  9512. "goodsid": {
  9513. "description": "商品ID(自增ID SEQ_GOODS)",
  9514. "type": "integer"
  9515. },
  9516. "goodsname": {
  9517. "description": "商品名称(预售)",
  9518. "type": "string"
  9519. },
  9520. "goodunit": {
  9521. "description": "报价单位",
  9522. "type": "string"
  9523. },
  9524. "goodunitid": {
  9525. "description": "报价单位ID",
  9526. "type": "integer"
  9527. },
  9528. "marketid": {
  9529. "description": "所属市场ID",
  9530. "type": "integer"
  9531. },
  9532. "marketname": {
  9533. "description": "预售市场名称",
  9534. "type": "string"
  9535. },
  9536. "presaledamount": {
  9537. "description": "已预售总金额(预售结束时更新)",
  9538. "type": "number"
  9539. },
  9540. "presaledqty": {
  9541. "description": "已预售量(预售结束时更新)",
  9542. "type": "integer"
  9543. },
  9544. "presalemode": {
  9545. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9546. "type": "integer"
  9547. },
  9548. "presaleqty": {
  9549. "description": "预售数量",
  9550. "type": "integer"
  9551. },
  9552. "refprice": {
  9553. "description": "参考价格[一口价]",
  9554. "type": "number"
  9555. },
  9556. "relatedgoodscode": {
  9557. "description": "商品代码(订单)",
  9558. "type": "string"
  9559. },
  9560. "relatedgoodsid": {
  9561. "description": "关联交易合约ID",
  9562. "type": "integer"
  9563. },
  9564. "relatedgoodsname": {
  9565. "description": "商品名称(订单)",
  9566. "type": "string"
  9567. },
  9568. "relatedmarketid": {
  9569. "description": "关联交易合约市场ID",
  9570. "type": "integer"
  9571. },
  9572. "sellstatus": {
  9573. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9574. "type": "integer"
  9575. },
  9576. "startprice": {
  9577. "description": "起拍价[大宗式竞拍]",
  9578. "type": "number"
  9579. },
  9580. "starttime": {
  9581. "description": "预售开始时间",
  9582. "type": "string"
  9583. },
  9584. "tradedate": {
  9585. "description": "交易日(yyyyMMdd)",
  9586. "type": "string"
  9587. },
  9588. "tradeprice": {
  9589. "description": "成交价[大宗]",
  9590. "type": "number"
  9591. },
  9592. "userid": {
  9593. "description": "卖方用户ID",
  9594. "type": "integer"
  9595. }
  9596. }
  9597. },
  9598. "cptrade.QueryPresaleGoodsExRsp": {
  9599. "type": "object",
  9600. "required": [
  9601. "goodsid"
  9602. ],
  9603. "properties": {
  9604. "attachmenturl": {
  9605. "description": "附件地址",
  9606. "type": "string"
  9607. },
  9608. "createtime": {
  9609. "description": "创建时间",
  9610. "type": "string"
  9611. },
  9612. "endtime": {
  9613. "description": "预售结束时间",
  9614. "type": "string"
  9615. },
  9616. "floorprice": {
  9617. "description": "底价[大宗式竞拍]",
  9618. "type": "number"
  9619. },
  9620. "goodsdetail": {
  9621. "description": "详情[大宗]",
  9622. "type": "string"
  9623. },
  9624. "goodsid": {
  9625. "description": "商品ID(预售)",
  9626. "type": "integer"
  9627. },
  9628. "goodunit": {
  9629. "description": "报价单位",
  9630. "type": "string"
  9631. },
  9632. "marketid": {
  9633. "description": "预售市场ID - 根据预售模式选择市场",
  9634. "type": "integer"
  9635. },
  9636. "presaledamount": {
  9637. "description": "已预售总金额(预售结束时更新)",
  9638. "type": "number"
  9639. },
  9640. "presaledqty": {
  9641. "description": "已预售量(预售结束时更新)",
  9642. "type": "integer"
  9643. },
  9644. "presalemode": {
  9645. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9646. "type": "integer"
  9647. },
  9648. "presaleqty": {
  9649. "description": "预售数量",
  9650. "type": "integer"
  9651. },
  9652. "refprice": {
  9653. "description": "参考价格[一口价]",
  9654. "type": "number"
  9655. },
  9656. "relatedgoodsid": {
  9657. "description": "关联交易合约ID",
  9658. "type": "integer"
  9659. },
  9660. "relatedmarketid": {
  9661. "description": "关联交易合约市场ID",
  9662. "type": "integer"
  9663. },
  9664. "sellstatus": {
  9665. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9666. "type": "integer"
  9667. },
  9668. "startprice": {
  9669. "description": "起拍价[大宗式竞拍]",
  9670. "type": "number"
  9671. },
  9672. "starttime": {
  9673. "description": "预售开始时间",
  9674. "type": "string"
  9675. },
  9676. "tradedate": {
  9677. "description": "交易日(yyyyMMdd)",
  9678. "type": "string"
  9679. },
  9680. "tradeprice": {
  9681. "description": "成交价[大宗]",
  9682. "type": "number"
  9683. }
  9684. }
  9685. },
  9686. "delivery.QueryDeliveryRelationRsp": {
  9687. "type": "object",
  9688. "required": [
  9689. "begindate",
  9690. "enddate",
  9691. "goodsid",
  9692. "mindeliveryqty",
  9693. "xdeliveryratio"
  9694. ],
  9695. "properties": {
  9696. "begindate": {
  9697. "description": "起始日期(yyyyMMdd)",
  9698. "type": "string"
  9699. },
  9700. "buytemplateid": {
  9701. "description": "买履约计划模板ID",
  9702. "type": "integer"
  9703. },
  9704. "deliverygoodscode": {
  9705. "description": "品种代码",
  9706. "type": "string"
  9707. },
  9708. "deliverygoodsid": {
  9709. "description": "交割商品",
  9710. "type": "integer"
  9711. },
  9712. "deliverygoodsname": {
  9713. "description": "品种名称",
  9714. "type": "string"
  9715. },
  9716. "deliverymode": {
  9717. "description": "交割方式 - 1:点选式 2:申报式",
  9718. "type": "integer"
  9719. },
  9720. "deliverypricerule": {
  9721. "description": "交割价规则- 1:行情价 2:建仓价",
  9722. "type": "integer"
  9723. },
  9724. "deliverytype": {
  9725. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9726. "type": "integer"
  9727. },
  9728. "enddate": {
  9729. "description": "结束日期(yyyyMMdd)",
  9730. "type": "string"
  9731. },
  9732. "goodscode": {
  9733. "description": "商品代码",
  9734. "type": "string"
  9735. },
  9736. "goodsid": {
  9737. "description": "交易合约ID",
  9738. "type": "integer"
  9739. },
  9740. "goodsname": {
  9741. "description": "商品名称",
  9742. "type": "string"
  9743. },
  9744. "marketid": {
  9745. "description": "市场ID",
  9746. "type": "integer"
  9747. },
  9748. "mindeliveryqty": {
  9749. "description": "最小交割系数(K)",
  9750. "type": "integer"
  9751. },
  9752. "p2deliveryprice": {
  9753. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9754. "type": "number"
  9755. },
  9756. "p2deliveryratio": {
  9757. "description": "P2合约系数(p)",
  9758. "type": "integer"
  9759. },
  9760. "p2goodsid": {
  9761. "description": "P2合约ID",
  9762. "type": "integer"
  9763. },
  9764. "p2pricemode": {
  9765. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9766. "type": "integer"
  9767. },
  9768. "pdeliveryprice": {
  9769. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9770. "type": "number"
  9771. },
  9772. "pdeliveryratio": {
  9773. "description": "P合约系数(n)",
  9774. "type": "integer"
  9775. },
  9776. "pgoodsid": {
  9777. "description": "P合约ID",
  9778. "type": "integer"
  9779. },
  9780. "ppricemode": {
  9781. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9782. "type": "integer"
  9783. },
  9784. "rratio": {
  9785. "description": "兑换系数(R)",
  9786. "type": "integer"
  9787. },
  9788. "rratio1": {
  9789. "description": "兑换系数(交易合约)(R1)",
  9790. "type": "integer"
  9791. },
  9792. "rratio2": {
  9793. "description": "兑换系数(仓单标准)(R2)",
  9794. "type": "integer"
  9795. },
  9796. "selltemplateid": {
  9797. "description": "卖履约计划模板ID",
  9798. "type": "integer"
  9799. },
  9800. "wrstandardid": {
  9801. "description": "仓单标准ID",
  9802. "type": "integer"
  9803. },
  9804. "xdeliveryratio": {
  9805. "description": "交易合约系数(m)",
  9806. "type": "integer"
  9807. }
  9808. }
  9809. },
  9810. "ermcp.ExposureDetailRsp": {
  9811. "type": "object",
  9812. "properties": {
  9813. "areauserid": {
  9814. "description": "机构ID",
  9815. "type": "integer"
  9816. },
  9817. "changeQty": {
  9818. "description": "套保变动量",
  9819. "type": "number"
  9820. },
  9821. "contracttype": {
  9822. "description": "现货合同类型 - 1:采购 -1:销售",
  9823. "type": "integer"
  9824. },
  9825. "convertfactor": {
  9826. "description": "标仓系数",
  9827. "type": "number"
  9828. },
  9829. "convertratio": {
  9830. "description": "套保系数",
  9831. "type": "number"
  9832. },
  9833. "createtime": {
  9834. "description": "时间",
  9835. "type": "string"
  9836. },
  9837. "enumdicname": {
  9838. "description": "现货商品单位名称",
  9839. "type": "string"
  9840. },
  9841. "logtype": {
  9842. "description": "类型 - 1:套保计划 2:现货合同",
  9843. "type": "integer"
  9844. },
  9845. "middlegoodsId": {
  9846. "description": "套保商品id",
  9847. "type": "integer"
  9848. },
  9849. "middlegoodscode": {
  9850. "description": "套保商品代码",
  9851. "type": "string"
  9852. },
  9853. "middlegoodsname": {
  9854. "description": "套保商品名称",
  9855. "type": "string"
  9856. },
  9857. "qty": {
  9858. "description": "数量",
  9859. "type": "number"
  9860. },
  9861. "relateNo": {
  9862. "description": "现货合同/套保计划编号",
  9863. "type": "string"
  9864. },
  9865. "wrstandardcode": {
  9866. "description": "现货商品代码",
  9867. "type": "string"
  9868. },
  9869. "wrstandardid": {
  9870. "description": "现货商品ID",
  9871. "type": "integer"
  9872. },
  9873. "wrstandardname": {
  9874. "description": "现货商品名称",
  9875. "type": "string"
  9876. }
  9877. }
  9878. },
  9879. "ermcp.ExposureHedgePosDetailRsp": {
  9880. "type": "object",
  9881. "properties": {
  9882. "buyorsell": {
  9883. "description": "买卖方向 0-买 1-卖",
  9884. "type": "integer"
  9885. },
  9886. "channelbuildtype": {
  9887. "description": "开平方向 1-建仓 2-平仓",
  9888. "type": "integer"
  9889. },
  9890. "goodscode": {
  9891. "description": "商品代码",
  9892. "type": "string"
  9893. },
  9894. "goodsname": {
  9895. "description": "商品名称",
  9896. "type": "string"
  9897. },
  9898. "hedgegoodsid": {
  9899. "description": "商品id",
  9900. "type": "integer"
  9901. },
  9902. "tradeqty": {
  9903. "description": "数量(成交数量)",
  9904. "type": "integer"
  9905. },
  9906. "tradetime": {
  9907. "description": "时间(成交时间)",
  9908. "type": "string"
  9909. }
  9910. }
  9911. },
  9912. "ermcp.ExposureHedgePositionRsp": {
  9913. "type": "object",
  9914. "properties": {
  9915. "accountid": {
  9916. "description": "资金账号[外部母账户]",
  9917. "type": "integer"
  9918. },
  9919. "curbuyposition": {
  9920. "description": "期末买头寸",
  9921. "type": "integer"
  9922. },
  9923. "cursellposition": {
  9924. "description": "期末卖头寸",
  9925. "type": "integer"
  9926. },
  9927. "curtdbuyposition": {
  9928. "description": "期末今日买头寸",
  9929. "type": "integer"
  9930. },
  9931. "curtdsellposition": {
  9932. "description": "期末今日卖头寸",
  9933. "type": "integer"
  9934. },
  9935. "curydbuyposition": {
  9936. "description": "期末上日买头寸",
  9937. "type": "integer"
  9938. },
  9939. "curydsellposition": {
  9940. "description": "期末上日卖头寸",
  9941. "type": "integer"
  9942. },
  9943. "decreaseqty": {
  9944. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  9945. "type": "integer"
  9946. },
  9947. "fretdbuyposition": {
  9948. "description": "冻结今日买头寸",
  9949. "type": "integer"
  9950. },
  9951. "fretdsellposition": {
  9952. "description": "冻结今日卖头寸",
  9953. "type": "integer"
  9954. },
  9955. "freydbuyposition": {
  9956. "description": "冻结上日买头寸",
  9957. "type": "integer"
  9958. },
  9959. "freydsellposition": {
  9960. "description": "冻结上日卖头寸",
  9961. "type": "integer"
  9962. },
  9963. "goodscode": {
  9964. "description": "商品代码",
  9965. "type": "string"
  9966. },
  9967. "goodsid": {
  9968. "description": "商品id",
  9969. "type": "integer"
  9970. },
  9971. "goodsname": {
  9972. "description": "商品名称",
  9973. "type": "string"
  9974. },
  9975. "hedgeaccountcode": {
  9976. "description": "对冲账号",
  9977. "type": "string"
  9978. },
  9979. "hedgegoodsid": {
  9980. "description": "对冲合约ID",
  9981. "type": "integer"
  9982. },
  9983. "increaseqty": {
  9984. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  9985. "type": "integer"
  9986. },
  9987. "marketid": {
  9988. "description": "市场ID",
  9989. "type": "integer"
  9990. },
  9991. "relateduserid": {
  9992. "description": "关联用户id",
  9993. "type": "integer"
  9994. },
  9995. "totalcurqty": {
  9996. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  9997. "type": "integer"
  9998. },
  9999. "totalydqty": {
  10000. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  10001. "type": "integer"
  10002. },
  10003. "tradedate": {
  10004. "description": "交易日(yyyyMMdd)",
  10005. "type": "string"
  10006. },
  10007. "ydbuyposition": {
  10008. "description": "期初买头寸",
  10009. "type": "integer"
  10010. },
  10011. "ydsellposition": {
  10012. "description": "期初卖头寸",
  10013. "type": "integer"
  10014. }
  10015. }
  10016. },
  10017. "ermcp.ExposureSpotDetailRsp": {
  10018. "type": "object",
  10019. "properties": {
  10020. "contracttype": {
  10021. "description": "合同类型 1-采购 -1-销售",
  10022. "type": "integer"
  10023. },
  10024. "createtime": {
  10025. "description": "创建时间",
  10026. "type": "string"
  10027. },
  10028. "enumdicname": {
  10029. "description": "现货商品单位名称",
  10030. "type": "string"
  10031. },
  10032. "logtype": {
  10033. "description": "记录类型 1-套保 2-现货合同",
  10034. "type": "integer"
  10035. },
  10036. "qty": {
  10037. "description": "数量",
  10038. "type": "number"
  10039. },
  10040. "recordname": {
  10041. "description": "类型名称",
  10042. "type": "string"
  10043. },
  10044. "relatedid": {
  10045. "description": "套保计划ID/现货合同ID",
  10046. "type": "string"
  10047. },
  10048. "relatedno": {
  10049. "description": "编号",
  10050. "type": "string"
  10051. },
  10052. "strtime": {
  10053. "description": "时间",
  10054. "type": "string"
  10055. },
  10056. "wrstandardcode": {
  10057. "description": "现货商品代码",
  10058. "type": "string"
  10059. },
  10060. "wrstandardname": {
  10061. "description": "现货商品名称",
  10062. "type": "string"
  10063. }
  10064. }
  10065. },
  10066. "ermcp.ExposureSpotRsp": {
  10067. "type": "object",
  10068. "properties": {
  10069. "areauserid": {
  10070. "description": "所属机构",
  10071. "type": "integer"
  10072. },
  10073. "decreaseqty": {
  10074. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  10075. "type": "number"
  10076. },
  10077. "increaseqty": {
  10078. "description": "增加数量=销售计划数量+采购已定价数量",
  10079. "type": "number"
  10080. },
  10081. "oritoalspotqty": {
  10082. "description": "昨日数量",
  10083. "type": "number"
  10084. },
  10085. "totalspotqty": {
  10086. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  10087. "type": "number"
  10088. },
  10089. "updatetime": {
  10090. "description": "更新时间",
  10091. "type": "string"
  10092. },
  10093. "wrstandardcode": {
  10094. "description": "现货品种代码",
  10095. "type": "string"
  10096. },
  10097. "wrstandardid": {
  10098. "description": "现货商品ID",
  10099. "type": "integer"
  10100. },
  10101. "wrstandardname": {
  10102. "description": "现货品种",
  10103. "type": "string"
  10104. }
  10105. }
  10106. },
  10107. "ermcp.HisExposureRsp": {
  10108. "type": "object",
  10109. "properties": {
  10110. "data": {
  10111. "description": "历史敞口",
  10112. "type": "array",
  10113. "items": {
  10114. "$ref": "#/definitions/models.ErmcpHisExposure"
  10115. }
  10116. },
  10117. "enumdicname": {
  10118. "description": "单位名称",
  10119. "type": "string"
  10120. },
  10121. "middlegoodscode": {
  10122. "description": "套保品种代码",
  10123. "type": "string"
  10124. },
  10125. "middlegoodsid": {
  10126. "description": "套保品种ID",
  10127. "type": "integer"
  10128. },
  10129. "middlegoodsname": {
  10130. "description": "套保品种名称",
  10131. "type": "string"
  10132. }
  10133. }
  10134. },
  10135. "ermcp.PendingAuditCntRsp": {
  10136. "type": "object",
  10137. "properties": {
  10138. "areastockqty": {
  10139. "description": "待审核数量: 库存申请",
  10140. "type": "integer"
  10141. },
  10142. "businessdjqty": {
  10143. "description": "待审核数量: 点价",
  10144. "type": "integer"
  10145. },
  10146. "businessfpqty": {
  10147. "description": "待审核数量: 发票",
  10148. "type": "integer"
  10149. },
  10150. "businessjsqty": {
  10151. "description": "待审核数量: 结算",
  10152. "type": "integer"
  10153. },
  10154. "businesskxqty": {
  10155. "description": "待审核数量: 款项",
  10156. "type": "integer"
  10157. },
  10158. "hedgeplanqty": {
  10159. "description": "待审核数量: 套保计划",
  10160. "type": "integer"
  10161. },
  10162. "spotcontractqty": {
  10163. "description": "待审核数量: 现货合同",
  10164. "type": "integer"
  10165. },
  10166. "userqty": {
  10167. "description": "待审核数量: 用户",
  10168. "type": "integer"
  10169. }
  10170. }
  10171. },
  10172. "ermcp.QryAvalidGPRsp": {
  10173. "type": "object",
  10174. "properties": {
  10175. "goodsgroupid": {
  10176. "description": "期货品种id",
  10177. "type": "integer"
  10178. },
  10179. "goodsgroupname": {
  10180. "description": "期货品种名称",
  10181. "type": "string"
  10182. },
  10183. "goodunitid": {
  10184. "description": "品种单位id",
  10185. "type": "integer"
  10186. },
  10187. "goodunitname": {
  10188. "description": "品种单位名称",
  10189. "type": "string"
  10190. },
  10191. "outergroupcode": {
  10192. "description": "期货品种代码",
  10193. "type": "string"
  10194. }
  10195. }
  10196. },
  10197. "ermcp.QryBusinessDjRsp": {
  10198. "type": "object",
  10199. "properties": {
  10200. "amount": {
  10201. "description": "点价金额=(点价价格+升贴水)*点价数量",
  10202. "type": "number"
  10203. },
  10204. "applyid": {
  10205. "description": "申请人",
  10206. "type": "string"
  10207. },
  10208. "applyname": {
  10209. "description": "申请人名称",
  10210. "type": "string"
  10211. },
  10212. "applystatus": {
  10213. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10214. "type": "integer"
  10215. },
  10216. "applytime": {
  10217. "description": "申请时间",
  10218. "type": "string"
  10219. },
  10220. "attachurl": {
  10221. "description": "附件",
  10222. "type": "string"
  10223. },
  10224. "auditid": {
  10225. "description": "审核人ID",
  10226. "type": "string"
  10227. },
  10228. "auditname": {
  10229. "description": "审核人名称",
  10230. "type": "string"
  10231. },
  10232. "audittime": {
  10233. "description": "审核时间",
  10234. "type": "string"
  10235. },
  10236. "buyusername": {
  10237. "description": "采购方名称",
  10238. "type": "string"
  10239. },
  10240. "contractno": {
  10241. "description": "合同编号",
  10242. "type": "string"
  10243. },
  10244. "contractstatus": {
  10245. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10246. "type": "integer"
  10247. },
  10248. "contracttype": {
  10249. "description": "现货合同类型 - 1:采购 -1:销售",
  10250. "type": "integer"
  10251. },
  10252. "deliverygoodscode": {
  10253. "description": "现货品种代码",
  10254. "type": "string"
  10255. },
  10256. "deliverygoodsid": {
  10257. "description": "现货商品ID",
  10258. "type": "integer"
  10259. },
  10260. "deliverygoodsname": {
  10261. "description": "现货品种名称",
  10262. "type": "string"
  10263. },
  10264. "enumdicname": {
  10265. "description": "单位名称",
  10266. "type": "string"
  10267. },
  10268. "goodscode": {
  10269. "description": "点价合约",
  10270. "type": "string"
  10271. },
  10272. "goodsname": {
  10273. "description": "商品名称",
  10274. "type": "string"
  10275. },
  10276. "operateapplyid": {
  10277. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10278. "type": "string"
  10279. },
  10280. "operateapplytype": {
  10281. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10282. "type": "integer"
  10283. },
  10284. "pricedPrice": {
  10285. "description": "点价价格(非必填)",
  10286. "type": "number"
  10287. },
  10288. "pricedQty": {
  10289. "description": "点价数量(非必填)",
  10290. "type": "number"
  10291. },
  10292. "pricemove": {
  10293. "description": "升贴水",
  10294. "type": "number"
  10295. },
  10296. "pricetype": {
  10297. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10298. "type": "integer"
  10299. },
  10300. "relatedid": {
  10301. "description": "现货合同ID",
  10302. "type": "string"
  10303. },
  10304. "sellusername": {
  10305. "description": "销售方名字",
  10306. "type": "string"
  10307. },
  10308. "userid": {
  10309. "description": "用户ID",
  10310. "type": "integer"
  10311. },
  10312. "wrstandardcode": {
  10313. "description": "品类代码",
  10314. "type": "string"
  10315. },
  10316. "wrstandardid": {
  10317. "description": "品类id",
  10318. "type": "integer"
  10319. },
  10320. "wrstandardname": {
  10321. "description": "品类名称",
  10322. "type": "string"
  10323. }
  10324. }
  10325. },
  10326. "ermcp.QryBussinessFpRsp": {
  10327. "type": "object",
  10328. "properties": {
  10329. "applyid": {
  10330. "description": "申请人",
  10331. "type": "string"
  10332. },
  10333. "applyname": {
  10334. "description": "申请人名称",
  10335. "type": "string"
  10336. },
  10337. "applystatus": {
  10338. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10339. "type": "integer"
  10340. },
  10341. "applytime": {
  10342. "description": "申请时间",
  10343. "type": "string"
  10344. },
  10345. "attachurl": {
  10346. "description": "附件",
  10347. "type": "string"
  10348. },
  10349. "auditid": {
  10350. "description": "审核人ID",
  10351. "type": "string"
  10352. },
  10353. "auditname": {
  10354. "description": "审核人名称",
  10355. "type": "string"
  10356. },
  10357. "audittime": {
  10358. "description": "审核时间",
  10359. "type": "string"
  10360. },
  10361. "buyusername": {
  10362. "description": "采购方名称",
  10363. "type": "string"
  10364. },
  10365. "contractno": {
  10366. "description": "合同编号",
  10367. "type": "string"
  10368. },
  10369. "contractstatus": {
  10370. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10371. "type": "integer"
  10372. },
  10373. "contracttype": {
  10374. "description": "现货合同类型 - 1:采购 -1:销售",
  10375. "type": "integer"
  10376. },
  10377. "deliverygoodscode": {
  10378. "description": "现货品种代码",
  10379. "type": "string"
  10380. },
  10381. "deliverygoodsid": {
  10382. "description": "现货商品ID",
  10383. "type": "integer"
  10384. },
  10385. "deliverygoodsname": {
  10386. "description": "现货品种名称",
  10387. "type": "string"
  10388. },
  10389. "enumdicname": {
  10390. "description": "单位名称",
  10391. "type": "string"
  10392. },
  10393. "goodscode": {
  10394. "description": "点价合约",
  10395. "type": "string"
  10396. },
  10397. "goodsname": {
  10398. "description": "商品名称",
  10399. "type": "string"
  10400. },
  10401. "invoiceAmount": {
  10402. "description": "已开收票金额(销售为开票,采购为收票)",
  10403. "type": "number"
  10404. },
  10405. "operateapplyid": {
  10406. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10407. "type": "string"
  10408. },
  10409. "operateapplytype": {
  10410. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10411. "type": "integer"
  10412. },
  10413. "pricemove": {
  10414. "description": "升贴水",
  10415. "type": "number"
  10416. },
  10417. "pricetype": {
  10418. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10419. "type": "integer"
  10420. },
  10421. "relatedid": {
  10422. "description": "现货合同ID",
  10423. "type": "string"
  10424. },
  10425. "sellusername": {
  10426. "description": "销售方名字",
  10427. "type": "string"
  10428. },
  10429. "userid": {
  10430. "description": "用户ID",
  10431. "type": "integer"
  10432. },
  10433. "wrstandardcode": {
  10434. "description": "品类代码",
  10435. "type": "string"
  10436. },
  10437. "wrstandardid": {
  10438. "description": "品类id",
  10439. "type": "integer"
  10440. },
  10441. "wrstandardname": {
  10442. "description": "品类名称",
  10443. "type": "string"
  10444. }
  10445. }
  10446. },
  10447. "ermcp.QryBussinessJsExRsp": {
  10448. "type": "object",
  10449. "properties": {
  10450. "applyid": {
  10451. "description": "申请人",
  10452. "type": "string"
  10453. },
  10454. "applyname": {
  10455. "description": "申请人名称",
  10456. "type": "string"
  10457. },
  10458. "applystatus": {
  10459. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10460. "type": "integer"
  10461. },
  10462. "applytime": {
  10463. "description": "申请时间",
  10464. "type": "string"
  10465. },
  10466. "attachurl": {
  10467. "description": "附件",
  10468. "type": "string"
  10469. },
  10470. "auditid": {
  10471. "description": "审核人ID",
  10472. "type": "string"
  10473. },
  10474. "auditname": {
  10475. "description": "审核人名称",
  10476. "type": "string"
  10477. },
  10478. "audittime": {
  10479. "description": "审核时间",
  10480. "type": "string"
  10481. },
  10482. "buyusername": {
  10483. "description": "采购方名称",
  10484. "type": "string"
  10485. },
  10486. "contractno": {
  10487. "description": "合同编号",
  10488. "type": "string"
  10489. },
  10490. "contractstatus": {
  10491. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10492. "type": "integer"
  10493. },
  10494. "contracttype": {
  10495. "description": "现货合同类型 - 1:采购 -1:销售",
  10496. "type": "integer"
  10497. },
  10498. "deliverygoodscode": {
  10499. "description": "现货品种代码",
  10500. "type": "string"
  10501. },
  10502. "deliverygoodsid": {
  10503. "description": "现货商品ID",
  10504. "type": "integer"
  10505. },
  10506. "deliverygoodsname": {
  10507. "description": "现货品种名称",
  10508. "type": "string"
  10509. },
  10510. "enumdicname": {
  10511. "description": "单位名称",
  10512. "type": "string"
  10513. },
  10514. "goodscode": {
  10515. "description": "点价合约",
  10516. "type": "string"
  10517. },
  10518. "goodsname": {
  10519. "description": "商品名称",
  10520. "type": "string"
  10521. },
  10522. "operateapplyid": {
  10523. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10524. "type": "string"
  10525. },
  10526. "operateapplytype": {
  10527. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10528. "type": "integer"
  10529. },
  10530. "pricemove": {
  10531. "description": "升贴水",
  10532. "type": "number"
  10533. },
  10534. "pricetype": {
  10535. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10536. "type": "integer"
  10537. },
  10538. "reckontype": {
  10539. "description": "结算类型",
  10540. "type": "string"
  10541. },
  10542. "reckonvalue": {
  10543. "description": "值",
  10544. "type": "number"
  10545. },
  10546. "relatedid": {
  10547. "description": "现货合同ID",
  10548. "type": "string"
  10549. },
  10550. "sellusername": {
  10551. "description": "销售方名字",
  10552. "type": "string"
  10553. },
  10554. "userid": {
  10555. "description": "用户ID",
  10556. "type": "integer"
  10557. },
  10558. "wrstandardcode": {
  10559. "description": "品类代码",
  10560. "type": "string"
  10561. },
  10562. "wrstandardid": {
  10563. "description": "品类id",
  10564. "type": "integer"
  10565. },
  10566. "wrstandardname": {
  10567. "description": "品类名称",
  10568. "type": "string"
  10569. }
  10570. }
  10571. },
  10572. "ermcp.QryBussinessJsRsp": {
  10573. "type": "object",
  10574. "properties": {
  10575. "addmargin": {
  10576. "description": "追加保证金(非必填)",
  10577. "type": "number"
  10578. },
  10579. "applyid": {
  10580. "description": "申请人",
  10581. "type": "string"
  10582. },
  10583. "applyname": {
  10584. "description": "申请人名称",
  10585. "type": "string"
  10586. },
  10587. "applystatus": {
  10588. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10589. "type": "integer"
  10590. },
  10591. "applytime": {
  10592. "description": "申请时间",
  10593. "type": "string"
  10594. },
  10595. "attachurl": {
  10596. "description": "附件",
  10597. "type": "string"
  10598. },
  10599. "auditid": {
  10600. "description": "审核人ID",
  10601. "type": "string"
  10602. },
  10603. "auditname": {
  10604. "description": "审核人名称",
  10605. "type": "string"
  10606. },
  10607. "audittime": {
  10608. "description": "审核时间",
  10609. "type": "string"
  10610. },
  10611. "buyusername": {
  10612. "description": "采购方名称",
  10613. "type": "string"
  10614. },
  10615. "contractno": {
  10616. "description": "合同编号",
  10617. "type": "string"
  10618. },
  10619. "contractstatus": {
  10620. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10621. "type": "integer"
  10622. },
  10623. "contracttype": {
  10624. "description": "现货合同类型 - 1:采购 -1:销售",
  10625. "type": "integer"
  10626. },
  10627. "decmargin": {
  10628. "description": "减少保证金(非必填)",
  10629. "type": "number"
  10630. },
  10631. "deliverygoodscode": {
  10632. "description": "现货品种代码",
  10633. "type": "string"
  10634. },
  10635. "deliverygoodsid": {
  10636. "description": "现货商品ID",
  10637. "type": "integer"
  10638. },
  10639. "deliverygoodsname": {
  10640. "description": "现货品种名称",
  10641. "type": "string"
  10642. },
  10643. "enumdicname": {
  10644. "description": "单位名称",
  10645. "type": "string"
  10646. },
  10647. "goodscode": {
  10648. "description": "点价合约",
  10649. "type": "string"
  10650. },
  10651. "goodsname": {
  10652. "description": "商品名称",
  10653. "type": "string"
  10654. },
  10655. "operateapplyid": {
  10656. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10657. "type": "string"
  10658. },
  10659. "operateapplytype": {
  10660. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10661. "type": "integer"
  10662. },
  10663. "pricemove": {
  10664. "description": "升贴水",
  10665. "type": "number"
  10666. },
  10667. "pricetype": {
  10668. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10669. "type": "integer"
  10670. },
  10671. "reckonadjustamount": {
  10672. "description": "结算调整金额(非必填)",
  10673. "type": "number"
  10674. },
  10675. "reckonosamount": {
  10676. "description": "结算溢短金额(非必填)",
  10677. "type": "number"
  10678. },
  10679. "reckonotheramount": {
  10680. "description": "结算其他费用(非必填)",
  10681. "type": "number"
  10682. },
  10683. "reckonrealqty": {
  10684. "description": "结算实际数量(非必填)",
  10685. "type": "number"
  10686. },
  10687. "relatedid": {
  10688. "description": "现货合同ID",
  10689. "type": "string"
  10690. },
  10691. "sellusername": {
  10692. "description": "销售方名字",
  10693. "type": "string"
  10694. },
  10695. "userid": {
  10696. "description": "用户ID",
  10697. "type": "integer"
  10698. },
  10699. "wrstandardcode": {
  10700. "description": "品类代码",
  10701. "type": "string"
  10702. },
  10703. "wrstandardid": {
  10704. "description": "品类id",
  10705. "type": "integer"
  10706. },
  10707. "wrstandardname": {
  10708. "description": "品类名称",
  10709. "type": "string"
  10710. }
  10711. }
  10712. },
  10713. "ermcp.QryBussinessKxRsp": {
  10714. "type": "object",
  10715. "properties": {
  10716. "applyid": {
  10717. "description": "申请人",
  10718. "type": "string"
  10719. },
  10720. "applyname": {
  10721. "description": "申请人名称",
  10722. "type": "string"
  10723. },
  10724. "applystatus": {
  10725. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10726. "type": "integer"
  10727. },
  10728. "applytime": {
  10729. "description": "申请时间",
  10730. "type": "string"
  10731. },
  10732. "attachurl": {
  10733. "description": "附件",
  10734. "type": "string"
  10735. },
  10736. "auditid": {
  10737. "description": "审核人ID",
  10738. "type": "string"
  10739. },
  10740. "auditname": {
  10741. "description": "审核人名称",
  10742. "type": "string"
  10743. },
  10744. "audittime": {
  10745. "description": "审核时间",
  10746. "type": "string"
  10747. },
  10748. "buyusername": {
  10749. "description": "采购方名称",
  10750. "type": "string"
  10751. },
  10752. "contractno": {
  10753. "description": "合同编号",
  10754. "type": "string"
  10755. },
  10756. "contractstatus": {
  10757. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  10758. "type": "integer"
  10759. },
  10760. "contracttype": {
  10761. "description": "现货合同类型 - 1:采购 -1:销售",
  10762. "type": "integer"
  10763. },
  10764. "deductamount": {
  10765. "description": "退款(非必填)",
  10766. "type": "number"
  10767. },
  10768. "deliverygoodscode": {
  10769. "description": "现货品种代码",
  10770. "type": "string"
  10771. },
  10772. "deliverygoodsid": {
  10773. "description": "现货商品ID",
  10774. "type": "integer"
  10775. },
  10776. "deliverygoodsname": {
  10777. "description": "现货品种名称",
  10778. "type": "string"
  10779. },
  10780. "enumdicname": {
  10781. "description": "单位名称",
  10782. "type": "string"
  10783. },
  10784. "goodscode": {
  10785. "description": "点价合约",
  10786. "type": "string"
  10787. },
  10788. "goodsname": {
  10789. "description": "商品名称",
  10790. "type": "string"
  10791. },
  10792. "kxtype": {
  10793. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  10794. "type": "integer"
  10795. },
  10796. "operateapplyid": {
  10797. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  10798. "type": "string"
  10799. },
  10800. "operateapplytype": {
  10801. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  10802. "type": "integer"
  10803. },
  10804. "payamount": {
  10805. "description": "收付款(非必填)",
  10806. "type": "number"
  10807. },
  10808. "pricemove": {
  10809. "description": "升贴水",
  10810. "type": "number"
  10811. },
  10812. "pricetype": {
  10813. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  10814. "type": "integer"
  10815. },
  10816. "relatedid": {
  10817. "description": "现货合同ID",
  10818. "type": "string"
  10819. },
  10820. "sellusername": {
  10821. "description": "销售方名字",
  10822. "type": "string"
  10823. },
  10824. "userid": {
  10825. "description": "用户ID",
  10826. "type": "integer"
  10827. },
  10828. "wrstandardcode": {
  10829. "description": "品类代码",
  10830. "type": "string"
  10831. },
  10832. "wrstandardid": {
  10833. "description": "品类id",
  10834. "type": "integer"
  10835. },
  10836. "wrstandardname": {
  10837. "description": "品类名称",
  10838. "type": "string"
  10839. }
  10840. }
  10841. },
  10842. "ermcp.QryGGCovertCfgRsp": {
  10843. "type": "object",
  10844. "properties": {
  10845. "convertratio": {
  10846. "description": "折算系数",
  10847. "type": "number"
  10848. },
  10849. "destgoodsgroupid": {
  10850. "description": "目标品种ID",
  10851. "type": "integer"
  10852. },
  10853. "dstcode": {
  10854. "description": "目录品种代码",
  10855. "type": "string"
  10856. },
  10857. "dstexchangecode": {
  10858. "description": "目标期货交易所",
  10859. "type": "string"
  10860. },
  10861. "dstname": {
  10862. "description": "目标品种名称",
  10863. "type": "string"
  10864. },
  10865. "dstunitid": {
  10866. "description": "目标品种单位ID",
  10867. "type": "integer"
  10868. },
  10869. "dstunitidname": {
  10870. "description": "目标品种单位名称",
  10871. "type": "string"
  10872. },
  10873. "modifytime": {
  10874. "description": "修改时间",
  10875. "type": "string"
  10876. },
  10877. "srccode": {
  10878. "description": "源品种代码",
  10879. "type": "string"
  10880. },
  10881. "srcexchangecode": {
  10882. "description": "源期货交易所",
  10883. "type": "string"
  10884. },
  10885. "srcgoodsgroupid": {
  10886. "description": "源品种ID",
  10887. "type": "integer"
  10888. },
  10889. "srcname": {
  10890. "description": "源品种名称",
  10891. "type": "string"
  10892. },
  10893. "srcunitid": {
  10894. "description": "源品种单位ID",
  10895. "type": "integer"
  10896. },
  10897. "srcunitidname": {
  10898. "description": "源品种单位名称",
  10899. "type": "string"
  10900. }
  10901. }
  10902. },
  10903. "ermcp.QryMGChangeLogRsp": {
  10904. "type": "object",
  10905. "properties": {
  10906. "aftervalue": {
  10907. "description": "变更后",
  10908. "type": "number"
  10909. },
  10910. "applyid": {
  10911. "description": "操作人",
  10912. "type": "integer"
  10913. },
  10914. "applyname": {
  10915. "description": "操作人名称",
  10916. "type": "string"
  10917. },
  10918. "applysrc": {
  10919. "description": "操作来源 - 1:管理端 2:终端",
  10920. "type": "integer"
  10921. },
  10922. "beforevalue": {
  10923. "description": "变更前",
  10924. "type": "number"
  10925. },
  10926. "changelogtype": {
  10927. "description": "变更流水类型 - 1:套保比率变更",
  10928. "type": "integer"
  10929. },
  10930. "handlestatus": {
  10931. "description": "处理状态",
  10932. "type": "integer"
  10933. },
  10934. "logdatetime": {
  10935. "description": "流水日期",
  10936. "type": "string"
  10937. },
  10938. "logid": {
  10939. "description": "流水ID",
  10940. "type": "integer"
  10941. },
  10942. "logremark": {
  10943. "description": "流水备注",
  10944. "type": "string"
  10945. },
  10946. "middlegoodsid": {
  10947. "description": "套保品种ID",
  10948. "type": "integer"
  10949. },
  10950. "tradedate": {
  10951. "description": "交易日(yyyyMMdd)",
  10952. "type": "string"
  10953. },
  10954. "updatetime": {
  10955. "description": "更新时间",
  10956. "type": "string"
  10957. }
  10958. }
  10959. },
  10960. "ermcp.QryMiddleGoodsDetailRsp": {
  10961. "type": "object",
  10962. "properties": {
  10963. "cvList": {
  10964. "description": "期货品种折算列表",
  10965. "type": "array",
  10966. "items": {
  10967. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  10968. }
  10969. },
  10970. "mg": {
  10971. "description": "套保品种基本信息",
  10972. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  10973. },
  10974. "wrcList": {
  10975. "description": "现货品种列表(现货商品折算配置)",
  10976. "type": "array",
  10977. "items": {
  10978. "$ref": "#/definitions/models.WRSConverTDetail"
  10979. }
  10980. }
  10981. }
  10982. },
  10983. "ermcp.QryMiddleGoodsRsp": {
  10984. "type": "object",
  10985. "properties": {
  10986. "areauserid": {
  10987. "description": "机构用户ID",
  10988. "type": "integer"
  10989. },
  10990. "createtime": {
  10991. "description": "修改时间",
  10992. "type": "string"
  10993. },
  10994. "enumdicname": {
  10995. "description": "单位名称",
  10996. "type": "string"
  10997. },
  10998. "evaluateratio": {
  10999. "description": "估价系数",
  11000. "type": "number"
  11001. },
  11002. "goodsgroupid": {
  11003. "description": "关联期货品种ID",
  11004. "type": "integer"
  11005. },
  11006. "goodsunitid": {
  11007. "description": "单位ID",
  11008. "type": "integer"
  11009. },
  11010. "isvalid": {
  11011. "description": "状态 0-无效(停用) 1-有效(正常)",
  11012. "type": "integer"
  11013. },
  11014. "middlegoodscode": {
  11015. "description": "套保品种代码",
  11016. "type": "string"
  11017. },
  11018. "middlegoodsid": {
  11019. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11020. "type": "integer"
  11021. },
  11022. "middlegoodsname": {
  11023. "description": "套保品种名称",
  11024. "type": "string"
  11025. },
  11026. "modifytime": {
  11027. "description": "修改时间",
  11028. "type": "string"
  11029. },
  11030. "needarbitrageratio": {
  11031. "description": "套利比例",
  11032. "type": "number"
  11033. },
  11034. "needhedgeratio": {
  11035. "description": "套保比率",
  11036. "type": "number"
  11037. },
  11038. "qtydecimalplace": {
  11039. "description": "数量小数位",
  11040. "type": "integer"
  11041. },
  11042. "relatedgoodsid": {
  11043. "description": "关联交易商品ID",
  11044. "type": "integer"
  11045. },
  11046. "relatedgoodstype": {
  11047. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11048. "type": "integer"
  11049. },
  11050. "remark": {
  11051. "description": "备注",
  11052. "type": "string"
  11053. }
  11054. }
  11055. },
  11056. "ermcp.QryOPLogRsp": {
  11057. "type": "object",
  11058. "properties": {
  11059. "aftervalue": {
  11060. "description": "变更后",
  11061. "type": "number"
  11062. },
  11063. "applyid": {
  11064. "description": "操作人ID",
  11065. "type": "string"
  11066. },
  11067. "applyname": {
  11068. "description": "操作人名称",
  11069. "type": "string"
  11070. },
  11071. "beforevalue": {
  11072. "description": "变更前",
  11073. "type": "number"
  11074. },
  11075. "biztype": {
  11076. "description": "业务类型 - 1:套保计划 2:现货合同",
  11077. "type": "integer"
  11078. },
  11079. "contracttype": {
  11080. "description": "现货合同类型 - 1:采购 -1:销售",
  11081. "type": "integer"
  11082. },
  11083. "logvalue": {
  11084. "description": "数值",
  11085. "type": "number"
  11086. },
  11087. "operatelogtype": {
  11088. "description": "操作流水类型",
  11089. "type": "integer"
  11090. },
  11091. "operatelogtypedesc": {
  11092. "description": "操作流水类型名称",
  11093. "type": "string"
  11094. },
  11095. "relatedid": {
  11096. "description": "现货合同ID\\套保计划",
  11097. "type": "string"
  11098. },
  11099. "updatetime": {
  11100. "description": "更新时间",
  11101. "type": "string"
  11102. }
  11103. }
  11104. },
  11105. "ermcp.QryUserInfoRsp": {
  11106. "type": "object",
  11107. "properties": {
  11108. "address": {
  11109. "description": "通讯地址",
  11110. "type": "string"
  11111. },
  11112. "attachment1": {
  11113. "description": "附件1",
  11114. "type": "string"
  11115. },
  11116. "audittime": {
  11117. "description": "审核时间",
  11118. "type": "string"
  11119. },
  11120. "cardbackphotourl": {
  11121. "description": "证件反面图片地址",
  11122. "type": "string"
  11123. },
  11124. "cardfrontphotourl": {
  11125. "description": "证件正面图片地址",
  11126. "type": "string"
  11127. },
  11128. "cardnum": {
  11129. "description": "证件号码",
  11130. "type": "string"
  11131. },
  11132. "cardtype": {
  11133. "description": "证件类型",
  11134. "type": "integer"
  11135. },
  11136. "cardtypename": {
  11137. "description": "证件类型名称",
  11138. "type": "string"
  11139. },
  11140. "cityid": {
  11141. "description": "市",
  11142. "type": "integer"
  11143. },
  11144. "contactname": {
  11145. "description": "联系人",
  11146. "type": "string"
  11147. },
  11148. "countryid": {
  11149. "description": "国家",
  11150. "type": "integer"
  11151. },
  11152. "createtime": {
  11153. "description": "创建时间",
  11154. "type": "string"
  11155. },
  11156. "customername": {
  11157. "description": "企业名称",
  11158. "type": "string"
  11159. },
  11160. "districtid": {
  11161. "description": "区域",
  11162. "type": "integer"
  11163. },
  11164. "email": {
  11165. "description": "邮件",
  11166. "type": "string"
  11167. },
  11168. "legalpersonname": {
  11169. "description": "法人姓名(企业)",
  11170. "type": "string"
  11171. },
  11172. "memberuserid": {
  11173. "description": "所属机构ID",
  11174. "type": "integer"
  11175. },
  11176. "mobile": {
  11177. "description": "手机号码",
  11178. "type": "string"
  11179. },
  11180. "modifytime": {
  11181. "description": "修改时间",
  11182. "type": "string"
  11183. },
  11184. "nickname": {
  11185. "description": "昵称",
  11186. "type": "string"
  11187. },
  11188. "provinceid": {
  11189. "description": "省",
  11190. "type": "integer"
  11191. },
  11192. "remark": {
  11193. "description": "备注",
  11194. "type": "string"
  11195. },
  11196. "status": {
  11197. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  11198. "type": "integer"
  11199. },
  11200. "statusdesc": {
  11201. "description": "账户状态中文描述",
  11202. "type": "string"
  11203. },
  11204. "taxpayernum": {
  11205. "description": "纳税人识别号",
  11206. "type": "string"
  11207. },
  11208. "telphone": {
  11209. "description": "联系电话",
  11210. "type": "string"
  11211. },
  11212. "userid": {
  11213. "description": "用户ID",
  11214. "type": "integer"
  11215. },
  11216. "userinfotype": {
  11217. "description": "客户类型",
  11218. "type": "string"
  11219. }
  11220. }
  11221. },
  11222. "ermcp.QryWarehouseRsp": {
  11223. "type": "object",
  11224. "properties": {
  11225. "address": {
  11226. "description": "详细地址",
  11227. "type": "string"
  11228. },
  11229. "areauserid": {
  11230. "description": "所属机构",
  11231. "type": "integer"
  11232. },
  11233. "autoid": {
  11234. "description": "自增ID(仓库ID)",
  11235. "type": "integer"
  11236. },
  11237. "cityid": {
  11238. "description": "市",
  11239. "type": "integer"
  11240. },
  11241. "contactname": {
  11242. "description": "联系人",
  11243. "type": "string"
  11244. },
  11245. "contactnum": {
  11246. "description": "联系电话",
  11247. "type": "string"
  11248. },
  11249. "countryid": {
  11250. "description": "国家",
  11251. "type": "integer"
  11252. },
  11253. "createtime": {
  11254. "description": "创建时间",
  11255. "type": "string"
  11256. },
  11257. "districtid": {
  11258. "description": "区",
  11259. "type": "integer"
  11260. },
  11261. "hasvideo": {
  11262. "description": "是否有视频 - 0:无 1:有",
  11263. "type": "integer"
  11264. },
  11265. "provinceid": {
  11266. "description": "省",
  11267. "type": "integer"
  11268. },
  11269. "remark": {
  11270. "description": "审核备注",
  11271. "type": "string"
  11272. },
  11273. "videourl": {
  11274. "description": "视频地址",
  11275. "type": "string"
  11276. },
  11277. "warehousecode": {
  11278. "description": "仓库代码",
  11279. "type": "string"
  11280. },
  11281. "warehousename": {
  11282. "description": "仓库名称",
  11283. "type": "string"
  11284. },
  11285. "warehousestatus": {
  11286. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  11287. "type": "integer"
  11288. },
  11289. "warehousetype": {
  11290. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11291. "type": "integer"
  11292. }
  11293. }
  11294. },
  11295. "ermcp.QueryErmcpTradePositionRsp": {
  11296. "type": "object",
  11297. "properties": {
  11298. "agreeunit": {
  11299. "description": "合约单位",
  11300. "type": "number"
  11301. },
  11302. "buyorsell": {
  11303. "description": "方向 - 0:买 1:卖",
  11304. "type": "integer"
  11305. },
  11306. "curpositionqty": {
  11307. "description": "持仓(总仓数量, 期末头寸)",
  11308. "type": "integer"
  11309. },
  11310. "curtdposition": {
  11311. "description": "今仓数量(期末今日头寸)",
  11312. "type": "integer"
  11313. },
  11314. "curtdpositionenabled": {
  11315. "description": "今仓可用",
  11316. "type": "integer"
  11317. },
  11318. "decimalplace": {
  11319. "description": "报价小数位",
  11320. "type": "integer"
  11321. },
  11322. "enableqty": {
  11323. "description": "可用(总仓可用)",
  11324. "type": "integer"
  11325. },
  11326. "exexchangename": {
  11327. "description": "外部交易所名称",
  11328. "type": "string"
  11329. },
  11330. "goodscode": {
  11331. "description": "商品代码(内部)",
  11332. "type": "string"
  11333. },
  11334. "goodsid": {
  11335. "description": "商品ID(自增ID SEQ_GOODS)",
  11336. "type": "integer"
  11337. },
  11338. "goodsname": {
  11339. "description": "商品名称",
  11340. "type": "string"
  11341. },
  11342. "last": {
  11343. "description": "现价",
  11344. "type": "number"
  11345. },
  11346. "marketid": {
  11347. "description": "所属市场ID",
  11348. "type": "integer"
  11349. },
  11350. "openaverageprice": {
  11351. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  11352. "type": "number"
  11353. },
  11354. "opencost": {
  11355. "description": "开仓成本",
  11356. "type": "number"
  11357. },
  11358. "openpl": {
  11359. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11360. "type": "number"
  11361. },
  11362. "outgoodscode": {
  11363. "description": "商品代码(外部)",
  11364. "type": "string"
  11365. },
  11366. "positionaverageprice": {
  11367. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  11368. "type": "number"
  11369. },
  11370. "positioncost": {
  11371. "description": "持仓成本",
  11372. "type": "number"
  11373. },
  11374. "positionpl": {
  11375. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  11376. "type": "number"
  11377. },
  11378. "positionplrate": {
  11379. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  11380. "type": "number"
  11381. },
  11382. "usedmargin": {
  11383. "description": "占用保证金",
  11384. "type": "number"
  11385. }
  11386. }
  11387. },
  11388. "ermcp.RealtimeExposurePositionRsp": {
  11389. "type": "object",
  11390. "properties": {
  11391. "agreeunit": {
  11392. "description": "合约单位",
  11393. "type": "string"
  11394. },
  11395. "areauserid": {
  11396. "description": "所属机构id",
  11397. "type": "integer"
  11398. },
  11399. "convertratio": {
  11400. "description": "期货品种系数(折算系数)",
  11401. "type": "number"
  11402. },
  11403. "curqty": {
  11404. "description": "当前持仓",
  11405. "type": "integer"
  11406. },
  11407. "diffhedgeqty": {
  11408. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  11409. "type": "number"
  11410. },
  11411. "diffqty": {
  11412. "description": "持仓变动量=当前持仓-昨日持仓",
  11413. "type": "integer"
  11414. },
  11415. "goodscode": {
  11416. "description": "商品代码",
  11417. "type": "string"
  11418. },
  11419. "goodsid": {
  11420. "description": "商品id",
  11421. "type": "integer"
  11422. },
  11423. "goodsname": {
  11424. "description": "商品名称",
  11425. "type": "string"
  11426. },
  11427. "middlegoodsid": {
  11428. "description": "套保商品id",
  11429. "type": "integer"
  11430. },
  11431. "ydqty": {
  11432. "description": "昨日持仓",
  11433. "type": "integer"
  11434. }
  11435. }
  11436. },
  11437. "ermcp.RealtimeExposureRsp": {
  11438. "type": "object",
  11439. "properties": {
  11440. "AreaUserID": {
  11441. "description": "所属机构",
  11442. "type": "integer"
  11443. },
  11444. "BuyFutureQty": {
  11445. "description": "买入期货数量",
  11446. "type": "number"
  11447. },
  11448. "BuyPlanQty": {
  11449. "description": "采购计划数量",
  11450. "type": "number"
  11451. },
  11452. "BuyPricedQty": {
  11453. "description": "采购合同已定价数量",
  11454. "type": "number"
  11455. },
  11456. "MiddleGoodsCode": {
  11457. "description": "套保品种代码",
  11458. "type": "string"
  11459. },
  11460. "MiddleGoodsHedgeRatio": {
  11461. "description": "套保比例",
  11462. "type": "number"
  11463. },
  11464. "MiddleGoodsID": {
  11465. "description": "套保品种",
  11466. "type": "integer"
  11467. },
  11468. "MiddleGoodsName": {
  11469. "description": "套保品种名称",
  11470. "type": "string"
  11471. },
  11472. "NeedHedgeExposoure": {
  11473. "description": "应套保敞口(套保敞口)",
  11474. "type": "number"
  11475. },
  11476. "NeedHedgeRatio": {
  11477. "description": "应套保敞口比例",
  11478. "type": "number"
  11479. },
  11480. "OriBuyFutureQty": {
  11481. "description": "期初买入期货数量",
  11482. "type": "number"
  11483. },
  11484. "OriBuyPlanQty": {
  11485. "description": "期初采购计划数量",
  11486. "type": "number"
  11487. },
  11488. "OriBuyPricedQty": {
  11489. "description": "期初采购合同已定价数量",
  11490. "type": "number"
  11491. },
  11492. "OriSellFutureQty": {
  11493. "description": "期初卖出期货数量",
  11494. "type": "number"
  11495. },
  11496. "OriSellPlanQty": {
  11497. "description": "期初销售计划数量",
  11498. "type": "number"
  11499. },
  11500. "OriSellPricedQty": {
  11501. "description": "期初销售合同已定价数量",
  11502. "type": "number"
  11503. },
  11504. "SellFutureQty": {
  11505. "description": "卖出期货数量",
  11506. "type": "number"
  11507. },
  11508. "SellPlanQty": {
  11509. "description": "销售计划数量",
  11510. "type": "number"
  11511. },
  11512. "SellPricedQty": {
  11513. "description": "销售合同已定价数量",
  11514. "type": "number"
  11515. },
  11516. "TotalExposure": {
  11517. "description": "总敞口",
  11518. "type": "number"
  11519. },
  11520. "TotalFutureQty": {
  11521. "description": "期货总量",
  11522. "type": "number"
  11523. },
  11524. "TotalHedgeRatio": {
  11525. "description": "敞口比例",
  11526. "type": "number"
  11527. },
  11528. "TotalNeedHedgeQty": {
  11529. "description": "应套保总量(现货应套保总量)",
  11530. "type": "number"
  11531. },
  11532. "TotalSpotQty": {
  11533. "description": "现货总量",
  11534. "type": "number"
  11535. },
  11536. "arbitrageqty": {
  11537. "description": "套利量",
  11538. "type": "number"
  11539. },
  11540. "diffArbitrageQty": {
  11541. "description": "套利变动量",
  11542. "type": "number"
  11543. },
  11544. "diffExposoureQty": {
  11545. "description": "变动量(套保敞口)",
  11546. "type": "number"
  11547. },
  11548. "diffFutuQty": {
  11549. "description": "变动量(期货总量)",
  11550. "type": "number"
  11551. },
  11552. "diffHedgeQty": {
  11553. "description": "套保变动量",
  11554. "type": "number"
  11555. },
  11556. "diffQty": {
  11557. "description": "变动量(总敞口)",
  11558. "type": "number"
  11559. },
  11560. "diffSpotHedgeQty": {
  11561. "description": "变动量(现货应套保总量)",
  11562. "type": "number"
  11563. },
  11564. "diffSpotQty": {
  11565. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  11566. "type": "number"
  11567. },
  11568. "enumdicname": {
  11569. "description": "单位名称",
  11570. "type": "string"
  11571. },
  11572. "hedgeqty": {
  11573. "description": "套保量",
  11574. "type": "number"
  11575. },
  11576. "needarbitrageqty": {
  11577. "description": "应套利量",
  11578. "type": "number"
  11579. },
  11580. "needarbitrageratio": {
  11581. "description": "套利比例",
  11582. "type": "number"
  11583. },
  11584. "needhedgeqty": {
  11585. "description": "应套保量",
  11586. "type": "number"
  11587. },
  11588. "oriTotalFutuQty": {
  11589. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  11590. "type": "number"
  11591. },
  11592. "oriTotalSpotQty": {
  11593. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  11594. "type": "number"
  11595. },
  11596. "oriarbitrageqty": {
  11597. "description": "期初套利量",
  11598. "type": "number"
  11599. },
  11600. "orihedgeqty": {
  11601. "description": "期初套保量",
  11602. "type": "number"
  11603. },
  11604. "orineedhedgeexposoure": {
  11605. "description": "期初套保敞口",
  11606. "type": "number"
  11607. },
  11608. "oritotalexposure": {
  11609. "description": "期初总敞口",
  11610. "type": "number"
  11611. },
  11612. "oritotalfutureqty": {
  11613. "description": "期初期货总量",
  11614. "type": "number"
  11615. },
  11616. "oritotalneedhedgeqty": {
  11617. "description": "期初现货应套保量",
  11618. "type": "number"
  11619. }
  11620. }
  11621. },
  11622. "erms2.QueryArbitrageStrategyRsp": {
  11623. "type": "object",
  11624. "required": [
  11625. "asapplyid"
  11626. ],
  11627. "properties": {
  11628. "applybasis": {
  11629. "description": "申请基差",
  11630. "type": "number"
  11631. },
  11632. "asapplyid": {
  11633. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  11634. "type": "string"
  11635. },
  11636. "asname": {
  11637. "description": "策略名称",
  11638. "type": "string"
  11639. },
  11640. "asno": {
  11641. "description": "策略编号",
  11642. "type": "string"
  11643. },
  11644. "basischangepl": {
  11645. "description": "基差变动损益[结算更新]",
  11646. "type": "number"
  11647. },
  11648. "biztype": {
  11649. "description": "业务类型 - 1:正向套利 -1:反向套利",
  11650. "type": "integer"
  11651. },
  11652. "closetradedate": {
  11653. "description": "完结交易日(yyyyMMdd)",
  11654. "type": "string"
  11655. },
  11656. "curbasis": {
  11657. "description": "当前基差[结算更新]",
  11658. "type": "number"
  11659. },
  11660. "deliverygoodsid": {
  11661. "description": "现货品种ID",
  11662. "type": "integer"
  11663. },
  11664. "futureavgprice": {
  11665. "description": "期货建仓均价",
  11666. "type": "number"
  11667. },
  11668. "futurecloseamount": {
  11669. "description": "期货平仓金额",
  11670. "type": "number"
  11671. },
  11672. "futurecloseqty": {
  11673. "description": "期货平仓数量",
  11674. "type": "number"
  11675. },
  11676. "futureopenamount": {
  11677. "description": "期货开仓金额",
  11678. "type": "number"
  11679. },
  11680. "futureopenqty": {
  11681. "description": "期货开仓数量",
  11682. "type": "number"
  11683. },
  11684. "futurepl": {
  11685. "description": "期货总盈亏[结算更新]",
  11686. "type": "number"
  11687. },
  11688. "futureqty": {
  11689. "description": "期货持仓数量",
  11690. "type": "number"
  11691. },
  11692. "futurequote": {
  11693. "description": "期货额度",
  11694. "type": "number"
  11695. },
  11696. "goodsgroupid": {
  11697. "description": "期货品种ID",
  11698. "type": "integer"
  11699. },
  11700. "marketid": {
  11701. "description": "市场ID",
  11702. "type": "integer"
  11703. },
  11704. "netexposure": {
  11705. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  11706. "type": "number"
  11707. },
  11708. "netexposurepl": {
  11709. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  11710. "type": "number"
  11711. },
  11712. "netexposurerate": {
  11713. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  11714. "type": "number"
  11715. },
  11716. "openbasis": {
  11717. "description": "建仓基差",
  11718. "type": "number"
  11719. },
  11720. "pricedspotqty": {
  11721. "description": "已定价现货数量",
  11722. "type": "number"
  11723. },
  11724. "pricedspotqtynotax": {
  11725. "description": "已定价现货不含税数量",
  11726. "type": "number"
  11727. },
  11728. "remark": {
  11729. "description": "备注",
  11730. "type": "string"
  11731. },
  11732. "spotavgprice": {
  11733. "description": "现货均价",
  11734. "type": "number"
  11735. },
  11736. "spotbuyamount": {
  11737. "description": "现货采购金额",
  11738. "type": "number"
  11739. },
  11740. "spotbuyqty": {
  11741. "description": "现货采购数量",
  11742. "type": "number"
  11743. },
  11744. "spotpl": {
  11745. "description": "现货总盈亏[结算更新]",
  11746. "type": "number"
  11747. },
  11748. "spotquota": {
  11749. "description": "现货额度",
  11750. "type": "number"
  11751. },
  11752. "spotsellamount": {
  11753. "description": "现货销售金额",
  11754. "type": "number"
  11755. },
  11756. "spotsellqty": {
  11757. "description": "现货销售数量",
  11758. "type": "number"
  11759. },
  11760. "spotusedquota": {
  11761. "description": "现货占用资金",
  11762. "type": "number"
  11763. },
  11764. "strategystatus": {
  11765. "description": "策略状态 - 0:未结束 1:已结束",
  11766. "type": "integer"
  11767. },
  11768. "totalpl": {
  11769. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  11770. "type": "number"
  11771. },
  11772. "tradedate": {
  11773. "description": "交易日(yyyyMMdd)",
  11774. "type": "string"
  11775. },
  11776. "updatetime": {
  11777. "description": "更新时间",
  11778. "type": "string"
  11779. },
  11780. "usedquota": {
  11781. "description": "已占用资金",
  11782. "type": "number"
  11783. },
  11784. "userid": {
  11785. "description": "所属机构",
  11786. "type": "integer"
  11787. }
  11788. }
  11789. },
  11790. "erms2.QueryInnerTradeDetailRsp": {
  11791. "type": "object",
  11792. "required": [
  11793. "asapplyid",
  11794. "buyorsell",
  11795. "goodscode",
  11796. "goodsgroupid",
  11797. "goodsgroupname",
  11798. "goodsname",
  11799. "tradeid"
  11800. ],
  11801. "properties": {
  11802. "accountid": {
  11803. "description": "账号ID",
  11804. "type": "integer"
  11805. },
  11806. "agreeunit": {
  11807. "description": "合约单位",
  11808. "type": "number"
  11809. },
  11810. "asapplyid": {
  11811. "description": "策略申请ID",
  11812. "type": "integer"
  11813. },
  11814. "asname": {
  11815. "description": "策略名称",
  11816. "type": "string"
  11817. },
  11818. "asno": {
  11819. "description": "策略编号",
  11820. "type": "string"
  11821. },
  11822. "buyorsell": {
  11823. "description": "方向 - 0:买 1:卖",
  11824. "type": "integer"
  11825. },
  11826. "channelbuildtype": {
  11827. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  11828. "type": "integer"
  11829. },
  11830. "closetype": {
  11831. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  11832. "type": "integer"
  11833. },
  11834. "decimalplace": {
  11835. "description": "报价小数位",
  11836. "type": "integer"
  11837. },
  11838. "detailtype": {
  11839. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  11840. "type": "integer"
  11841. },
  11842. "exexchangecode": {
  11843. "description": "外部交易所代码",
  11844. "type": "string"
  11845. },
  11846. "exexchangename": {
  11847. "description": "外部交易所名称",
  11848. "type": "string"
  11849. },
  11850. "goodscode": {
  11851. "description": "商品代码(合约)",
  11852. "type": "string"
  11853. },
  11854. "goodsgroupid": {
  11855. "description": "商品组ID(品种ID)",
  11856. "type": "integer"
  11857. },
  11858. "goodsgroupname": {
  11859. "description": "商品组名称(品种)",
  11860. "type": "string"
  11861. },
  11862. "goodsid": {
  11863. "description": "商品ID",
  11864. "type": "integer"
  11865. },
  11866. "goodsname": {
  11867. "description": "商品名称(合约)",
  11868. "type": "string"
  11869. },
  11870. "goodunit": {
  11871. "description": "报价单位",
  11872. "type": "string"
  11873. },
  11874. "marketid": {
  11875. "description": "市场ID",
  11876. "type": "integer"
  11877. },
  11878. "orderid": {
  11879. "description": "委托单号",
  11880. "type": "string"
  11881. },
  11882. "outgoodscode": {
  11883. "description": "商品代码(外部)",
  11884. "type": "string"
  11885. },
  11886. "relatedouttradeid": {
  11887. "description": "关联外部成交单ID",
  11888. "type": "string"
  11889. },
  11890. "remark": {
  11891. "description": "备注",
  11892. "type": "string"
  11893. },
  11894. "spotcontractid": {
  11895. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  11896. "type": "integer"
  11897. },
  11898. "spotcontractno": {
  11899. "description": "现货合同编号",
  11900. "type": "string"
  11901. },
  11902. "tradeid": {
  11903. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11904. "type": "string"
  11905. },
  11906. "tradeprice": {
  11907. "description": "成交价格",
  11908. "type": "number"
  11909. },
  11910. "tradeqty": {
  11911. "description": "成交数量",
  11912. "type": "integer"
  11913. },
  11914. "tradetime": {
  11915. "description": "成交时间",
  11916. "type": "string"
  11917. },
  11918. "updatetime": {
  11919. "description": "更新时间",
  11920. "type": "string"
  11921. }
  11922. }
  11923. },
  11924. "erms2.QuerySpotContractRsp": {
  11925. "type": "object",
  11926. "required": [
  11927. "spotcontractid"
  11928. ],
  11929. "properties": {
  11930. "accountid": {
  11931. "description": "资金账户ID",
  11932. "type": "integer"
  11933. },
  11934. "areauserid": {
  11935. "description": "所属机构",
  11936. "type": "integer"
  11937. },
  11938. "closedate": {
  11939. "description": "终止日期",
  11940. "type": "string"
  11941. },
  11942. "closeremark": {
  11943. "description": "结束备注",
  11944. "type": "string"
  11945. },
  11946. "closetradedate": {
  11947. "description": "完结交易日(yyyyMMdd)",
  11948. "type": "string"
  11949. },
  11950. "closetype": {
  11951. "description": "终止类型 - 1:违约 2:提前终止",
  11952. "type": "integer"
  11953. },
  11954. "contractamount": {
  11955. "description": "合同金额",
  11956. "type": "number"
  11957. },
  11958. "contractattachment": {
  11959. "description": "合同附件",
  11960. "type": "string"
  11961. },
  11962. "contractno": {
  11963. "description": "现货合同编号",
  11964. "type": "string"
  11965. },
  11966. "contractqty": {
  11967. "description": "合同数量(数值) (用于计算)",
  11968. "type": "number"
  11969. },
  11970. "contractqtychar": {
  11971. "description": "合同数量\\已订价数量 (用于显示)",
  11972. "type": "string"
  11973. },
  11974. "contractstatus": {
  11975. "description": "合同状态 - 0:未结束 1:已结束",
  11976. "type": "integer"
  11977. },
  11978. "contracttype": {
  11979. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  11980. "type": "integer"
  11981. },
  11982. "customeraccountid": {
  11983. "description": "客户资金账户ID",
  11984. "type": "integer"
  11985. },
  11986. "customeruserid": {
  11987. "description": "客户ID",
  11988. "type": "integer"
  11989. },
  11990. "deliverygoodsdesc": {
  11991. "description": "品种说明",
  11992. "type": "string"
  11993. },
  11994. "deliverygoodsid": {
  11995. "description": "现货品种ID",
  11996. "type": "integer"
  11997. },
  11998. "handlestatus": {
  11999. "description": "处理状态",
  12000. "type": "integer"
  12001. },
  12002. "invoiceatt": {
  12003. "description": "发票附件",
  12004. "type": "string"
  12005. },
  12006. "invoicedatetime": {
  12007. "description": "开收票更新时间",
  12008. "type": "string"
  12009. },
  12010. "invoiceopentime": {
  12011. "description": "开票时间",
  12012. "type": "string"
  12013. },
  12014. "invoiceremark": {
  12015. "description": "发票备注",
  12016. "type": "string"
  12017. },
  12018. "invoicestatus": {
  12019. "description": "开收票状态 - 0:未开票 1:已开票",
  12020. "type": "integer"
  12021. },
  12022. "lastdate": {
  12023. "description": "交货时间",
  12024. "type": "string"
  12025. },
  12026. "marketid": {
  12027. "description": "市场ID",
  12028. "type": "integer"
  12029. },
  12030. "paydatetime": {
  12031. "description": "收付款更新时间",
  12032. "type": "string"
  12033. },
  12034. "payremark": {
  12035. "description": "收付款备注",
  12036. "type": "string"
  12037. },
  12038. "paystatus": {
  12039. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  12040. "type": "integer"
  12041. },
  12042. "positionqty": {
  12043. "description": "头寸数量 - 合同数量去小数部分",
  12044. "type": "integer"
  12045. },
  12046. "producttype": {
  12047. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12048. "type": "integer"
  12049. },
  12050. "relatedqty": {
  12051. "description": "已关联数量",
  12052. "type": "number"
  12053. },
  12054. "relatedstatus": {
  12055. "description": "关联完结状态 - 0:未结束 1:已结束",
  12056. "type": "integer"
  12057. },
  12058. "remark": {
  12059. "description": "备注",
  12060. "type": "string"
  12061. },
  12062. "signdate": {
  12063. "description": "签订日期",
  12064. "type": "string"
  12065. },
  12066. "spotcontractid": {
  12067. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  12068. "type": "string"
  12069. },
  12070. "spotdatetime": {
  12071. "description": "收发货更新时间",
  12072. "type": "string"
  12073. },
  12074. "spotprice": {
  12075. "description": "价格",
  12076. "type": "number"
  12077. },
  12078. "spotremark": {
  12079. "description": "收发货备注",
  12080. "type": "string"
  12081. },
  12082. "spotstatus": {
  12083. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  12084. "type": "integer"
  12085. },
  12086. "tradedate": {
  12087. "description": "交易日(yyyyMMdd)",
  12088. "type": "string"
  12089. },
  12090. "userid": {
  12091. "description": "业务员用户ID",
  12092. "type": "integer"
  12093. },
  12094. "warehouseid": {
  12095. "description": "仓库ID",
  12096. "type": "integer"
  12097. },
  12098. "wrfactortypeid": {
  12099. "description": "仓单要素类型ID",
  12100. "type": "integer"
  12101. },
  12102. "wrstandardid": {
  12103. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  12104. "type": "integer"
  12105. }
  12106. }
  12107. },
  12108. "erms3.AddErms2ASApplyReq": {
  12109. "type": "object",
  12110. "required": [
  12111. "asapplyid"
  12112. ],
  12113. "properties": {
  12114. "applybasis": {
  12115. "description": "申请基差",
  12116. "type": "number"
  12117. },
  12118. "applystatus": {
  12119. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12120. "type": "integer"
  12121. },
  12122. "asapplyid": {
  12123. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  12124. "type": "integer"
  12125. },
  12126. "asname": {
  12127. "description": "策略名称",
  12128. "type": "string"
  12129. },
  12130. "asno": {
  12131. "description": "策略编号",
  12132. "type": "string"
  12133. },
  12134. "auditid": {
  12135. "description": "审核人",
  12136. "type": "integer"
  12137. },
  12138. "auditremark": {
  12139. "description": "审核备注",
  12140. "type": "string"
  12141. },
  12142. "audittime": {
  12143. "description": "审核时间",
  12144. "type": "string"
  12145. },
  12146. "biztype": {
  12147. "description": "业务类型 - 1:正向套利 2:反向套利",
  12148. "type": "integer"
  12149. },
  12150. "createtime": {
  12151. "description": "创建时间",
  12152. "type": "string"
  12153. },
  12154. "creatorid": {
  12155. "description": "创建人",
  12156. "type": "integer"
  12157. },
  12158. "deliverygoodsid": {
  12159. "description": "现货品种ID",
  12160. "type": "integer"
  12161. },
  12162. "futurequote": {
  12163. "description": "期货额度",
  12164. "type": "number"
  12165. },
  12166. "goodsgroupid": {
  12167. "description": "期货品种ID",
  12168. "type": "integer"
  12169. },
  12170. "marketid": {
  12171. "description": "市场ID",
  12172. "type": "integer"
  12173. },
  12174. "remark": {
  12175. "description": "备注",
  12176. "type": "string"
  12177. },
  12178. "spotquota": {
  12179. "description": "现货额度",
  12180. "type": "number"
  12181. },
  12182. "tradedate": {
  12183. "description": "交易日(yyyyMMdd)",
  12184. "type": "string"
  12185. },
  12186. "userid": {
  12187. "description": "所属机构",
  12188. "type": "integer"
  12189. }
  12190. }
  12191. },
  12192. "erms3.AddErms2SpotTradeApplyReq": {
  12193. "type": "object",
  12194. "required": [
  12195. "spottradeid"
  12196. ],
  12197. "properties": {
  12198. "applyjsondetail": {
  12199. "description": "申请明细(JSON)",
  12200. "type": "string"
  12201. },
  12202. "applystatus": {
  12203. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  12204. "type": "integer"
  12205. },
  12206. "areauserid": {
  12207. "description": "所属机构",
  12208. "type": "integer"
  12209. },
  12210. "auditid": {
  12211. "description": "审核人",
  12212. "type": "integer"
  12213. },
  12214. "auditremark": {
  12215. "description": "审核备注",
  12216. "type": "string"
  12217. },
  12218. "audittime": {
  12219. "description": "审核时间",
  12220. "type": "string"
  12221. },
  12222. "createtime": {
  12223. "description": "创建时间",
  12224. "type": "string"
  12225. },
  12226. "creatorid": {
  12227. "description": "创建人",
  12228. "type": "integer"
  12229. },
  12230. "deliverygoodsid": {
  12231. "description": "现货品种ID",
  12232. "type": "integer"
  12233. },
  12234. "futureaccountid": {
  12235. "description": "期货资金账户",
  12236. "type": "integer"
  12237. },
  12238. "goodsgroupid": {
  12239. "description": "期货品种",
  12240. "type": "integer"
  12241. },
  12242. "marketid": {
  12243. "description": "市场ID",
  12244. "type": "integer"
  12245. },
  12246. "remark": {
  12247. "description": "备注",
  12248. "type": "string"
  12249. },
  12250. "spotaccountid": {
  12251. "description": "现货资金账户",
  12252. "type": "integer"
  12253. },
  12254. "spottradeid": {
  12255. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  12256. "type": "integer"
  12257. },
  12258. "spottradename": {
  12259. "description": "业务名称",
  12260. "type": "string"
  12261. },
  12262. "spottradeno": {
  12263. "description": "业务编号",
  12264. "type": "string"
  12265. },
  12266. "tradedate": {
  12267. "description": "交易日(yyyyMMdd)",
  12268. "type": "string"
  12269. },
  12270. "wrstandardid": {
  12271. "description": "仓单标准ID",
  12272. "type": "integer"
  12273. }
  12274. }
  12275. },
  12276. "erms3.AddSpotContractApplyReq": {
  12277. "type": "object",
  12278. "required": [
  12279. "accountid",
  12280. "areauserid",
  12281. "contractno",
  12282. "contracttype",
  12283. "customeraccountid",
  12284. "customeruserid",
  12285. "details",
  12286. "orimargin",
  12287. "signdate"
  12288. ],
  12289. "properties": {
  12290. "accountid": {
  12291. "description": "资金账户ID",
  12292. "type": "integer"
  12293. },
  12294. "areauserid": {
  12295. "description": "所属机构",
  12296. "type": "integer"
  12297. },
  12298. "contractattachment": {
  12299. "description": "合同附件",
  12300. "type": "string"
  12301. },
  12302. "contractno": {
  12303. "description": "现货合同编号",
  12304. "type": "string"
  12305. },
  12306. "contracttype": {
  12307. "description": "现货合同类型 - 1:采购 -1:销售",
  12308. "type": "integer"
  12309. },
  12310. "creatorid": {
  12311. "description": "申请人",
  12312. "type": "integer"
  12313. },
  12314. "customeraccountid": {
  12315. "description": "客户资金账户ID",
  12316. "type": "integer"
  12317. },
  12318. "customeruserid": {
  12319. "description": "客户ID",
  12320. "type": "integer"
  12321. },
  12322. "details": {
  12323. "description": "明细",
  12324. "type": "array",
  12325. "items": {
  12326. "$ref": "#/definitions/erms3.SoptContractDetail"
  12327. }
  12328. },
  12329. "orimargin": {
  12330. "description": "初始保证金",
  12331. "type": "number"
  12332. },
  12333. "remark": {
  12334. "description": "备注",
  12335. "type": "string"
  12336. },
  12337. "signdate": {
  12338. "description": "签订日期",
  12339. "type": "string"
  12340. }
  12341. }
  12342. },
  12343. "erms3.AddSpotContractApplyRsp": {
  12344. "type": "object",
  12345. "required": [
  12346. "contractno"
  12347. ],
  12348. "properties": {
  12349. "contractno": {
  12350. "description": "现货合同编号",
  12351. "type": "string"
  12352. },
  12353. "spotcontractid": {
  12354. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  12355. "type": "integer"
  12356. }
  12357. }
  12358. },
  12359. "erms3.AddUserInfoApplyReq": {
  12360. "type": "object",
  12361. "required": [
  12362. "userid"
  12363. ],
  12364. "properties": {
  12365. "accountid": {
  12366. "description": "交易系统帐号Id (加密存储)",
  12367. "type": "integer"
  12368. },
  12369. "areacode": {
  12370. "description": "机构代码",
  12371. "type": "string"
  12372. },
  12373. "areaid": {
  12374. "description": "机构Id",
  12375. "type": "integer"
  12376. },
  12377. "attachment1": {
  12378. "description": "附件1",
  12379. "type": "string"
  12380. },
  12381. "attachment2": {
  12382. "description": "附件2",
  12383. "type": "string"
  12384. },
  12385. "attachment3": {
  12386. "description": "附件3",
  12387. "type": "string"
  12388. },
  12389. "attachment4": {
  12390. "description": "附件4",
  12391. "type": "string"
  12392. },
  12393. "attachment5": {
  12394. "description": "附件5",
  12395. "type": "string"
  12396. },
  12397. "auditedby": {
  12398. "description": "审核人",
  12399. "type": "string"
  12400. },
  12401. "auditime": {
  12402. "description": "审核时间",
  12403. "type": "string"
  12404. },
  12405. "auditsrc": {
  12406. "description": "审核来源 - 1:管理端 2:终端",
  12407. "type": "integer"
  12408. },
  12409. "bankaccount": {
  12410. "description": "银行帐号 (加密存储)",
  12411. "type": "string"
  12412. },
  12413. "bankaccountname": {
  12414. "description": "收款人名称",
  12415. "type": "string"
  12416. },
  12417. "bankcardbackphotourl": {
  12418. "description": "银行卡背面照地址",
  12419. "type": "string"
  12420. },
  12421. "bankcardfrontphotourl": {
  12422. "description": "银行卡正面照地址",
  12423. "type": "string"
  12424. },
  12425. "bankid": {
  12426. "description": "银行编码",
  12427. "type": "string"
  12428. },
  12429. "bankname": {
  12430. "description": "银行名称",
  12431. "type": "string"
  12432. },
  12433. "bankpictureurl": {
  12434. "description": "银行卡正面地址",
  12435. "type": "string"
  12436. },
  12437. "biznature": {
  12438. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12439. "type": "integer"
  12440. },
  12441. "bizscope": {
  12442. "description": "企业经营范围(企业)",
  12443. "type": "string"
  12444. },
  12445. "biztype": {
  12446. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12447. "type": "integer"
  12448. },
  12449. "brokerid": {
  12450. "description": "经纪人ID(加密存储)",
  12451. "type": "string"
  12452. },
  12453. "cardaddress": {
  12454. "description": "证件地址 (加密存储)",
  12455. "type": "string"
  12456. },
  12457. "cardbackphotourl": {
  12458. "description": "背面证件照地址",
  12459. "type": "string"
  12460. },
  12461. "cardfrontphotourl": {
  12462. "description": "正面证件照地址",
  12463. "type": "string"
  12464. },
  12465. "cardnum": {
  12466. "description": "证件号码 (加密存储)",
  12467. "type": "string"
  12468. },
  12469. "cardtype": {
  12470. "description": "证件类型",
  12471. "type": "integer"
  12472. },
  12473. "cityid": {
  12474. "description": "市",
  12475. "type": "integer"
  12476. },
  12477. "company": {
  12478. "description": "公司(个人)",
  12479. "type": "string"
  12480. },
  12481. "contactcardbackphotourl": {
  12482. "description": "联系人证件背面图片地址",
  12483. "type": "string"
  12484. },
  12485. "contactcardfrontphotourl": {
  12486. "description": "联系人证件正面图片地址",
  12487. "type": "string"
  12488. },
  12489. "contactname": {
  12490. "description": "联系人",
  12491. "type": "string"
  12492. },
  12493. "countryid": {
  12494. "description": "国家",
  12495. "type": "integer"
  12496. },
  12497. "createtime": {
  12498. "description": "开户申请时间",
  12499. "type": "string"
  12500. },
  12501. "cusbankid": {
  12502. "description": "签约类型",
  12503. "type": "string"
  12504. },
  12505. "cusbankname": {
  12506. "description": "签约类型名称",
  12507. "type": "string"
  12508. },
  12509. "customername": {
  12510. "description": "客户名称(企业名称)",
  12511. "type": "string"
  12512. },
  12513. "districtid": {
  12514. "description": "地区",
  12515. "type": "integer"
  12516. },
  12517. "email": {
  12518. "description": "Email地址(加密存储)",
  12519. "type": "string"
  12520. },
  12521. "halfbodyphotourl": {
  12522. "description": "半身照地址",
  12523. "type": "string"
  12524. },
  12525. "headurl": {
  12526. "description": "头像地址",
  12527. "type": "string"
  12528. },
  12529. "ipaddress": {
  12530. "description": "IP地址",
  12531. "type": "string"
  12532. },
  12533. "isvalidate": {
  12534. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12535. "type": "string"
  12536. },
  12537. "legalcardbackphotourl": {
  12538. "description": "法人身份证背面照地址",
  12539. "type": "string"
  12540. },
  12541. "legalcardfrontphotourl": {
  12542. "description": "法人身份证正面照地址",
  12543. "type": "string"
  12544. },
  12545. "legalpersonname": {
  12546. "description": "法人姓名(企业)",
  12547. "type": "string"
  12548. },
  12549. "logincode": {
  12550. "description": "登录帐号 (加密存储)",
  12551. "type": "string"
  12552. },
  12553. "memberareaid": {
  12554. "description": "所属会员ID",
  12555. "type": "integer"
  12556. },
  12557. "mobile2": {
  12558. "description": "手机号码[明文-尚志]",
  12559. "type": "string"
  12560. },
  12561. "mobilephone": {
  12562. "description": "手机号码 (加密存储)",
  12563. "type": "string"
  12564. },
  12565. "modifiedby": {
  12566. "description": "修改人帐号",
  12567. "type": "integer"
  12568. },
  12569. "modifiedtime": {
  12570. "description": "修改时间",
  12571. "type": "string"
  12572. },
  12573. "nickname": {
  12574. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12575. "type": "string"
  12576. },
  12577. "openmode": {
  12578. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12579. "type": "integer"
  12580. },
  12581. "otherurl": {
  12582. "description": "其它图片地址[使用分号分隔]",
  12583. "type": "string"
  12584. },
  12585. "postalcode": {
  12586. "description": "邮政编码",
  12587. "type": "string"
  12588. },
  12589. "provinceid": {
  12590. "description": "省",
  12591. "type": "integer"
  12592. },
  12593. "proxystatementurl": {
  12594. "description": "授权委托书",
  12595. "type": "string"
  12596. },
  12597. "qq": {
  12598. "description": "QQ(加密存储",
  12599. "type": "string"
  12600. },
  12601. "referral": {
  12602. "description": "推荐人编码",
  12603. "type": "string"
  12604. },
  12605. "remark": {
  12606. "description": "备注",
  12607. "type": "string"
  12608. },
  12609. "removebeforestatus": {
  12610. "description": "REMOVEBEFORESTATUS",
  12611. "type": "integer"
  12612. },
  12613. "sex": {
  12614. "description": "性别 - 0:女 1:男",
  12615. "type": "integer"
  12616. },
  12617. "signedstatus": {
  12618. "description": "账户一号签签约状态",
  12619. "type": "integer"
  12620. },
  12621. "signpdfurl": {
  12622. "description": "签约pdf文件",
  12623. "type": "string"
  12624. },
  12625. "subbranch": {
  12626. "description": "开户支行",
  12627. "type": "string"
  12628. },
  12629. "taxpayernum": {
  12630. "description": "纳税人识别号",
  12631. "type": "string"
  12632. },
  12633. "telphone": {
  12634. "description": "联系电话(加密存储)",
  12635. "type": "string"
  12636. },
  12637. "userid": {
  12638. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12639. "type": "integer"
  12640. },
  12641. "userinfotype": {
  12642. "description": "用户信息类型 - 1:个人 2:企业",
  12643. "type": "integer"
  12644. },
  12645. "username": {
  12646. "description": "用户姓名",
  12647. "type": "string"
  12648. },
  12649. "userstate": {
  12650. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12651. "type": "integer"
  12652. },
  12653. "usertype": {
  12654. "description": "用户类型 - 1:投资者 2:机构",
  12655. "type": "integer"
  12656. },
  12657. "videourl": {
  12658. "description": "视频地址",
  12659. "type": "string"
  12660. },
  12661. "wechat": {
  12662. "description": "微信号 (加密存储)",
  12663. "type": "string"
  12664. }
  12665. }
  12666. },
  12667. "erms3.CustomerInfo": {
  12668. "type": "object",
  12669. "required": [
  12670. "userid"
  12671. ],
  12672. "properties": {
  12673. "accountids": {
  12674. "description": "资金账户ID列表",
  12675. "type": "array",
  12676. "items": {
  12677. "type": "integer"
  12678. }
  12679. },
  12680. "customername": {
  12681. "description": "名称(企业名称)",
  12682. "type": "string"
  12683. },
  12684. "mobile": {
  12685. "description": "手机号码",
  12686. "type": "string"
  12687. },
  12688. "userid": {
  12689. "description": "用户ID",
  12690. "type": "integer"
  12691. }
  12692. }
  12693. },
  12694. "erms3.ModifyUserInfoApplyReq": {
  12695. "type": "object",
  12696. "required": [
  12697. "userid"
  12698. ],
  12699. "properties": {
  12700. "accountid": {
  12701. "description": "交易系统帐号Id (加密存储)",
  12702. "type": "integer"
  12703. },
  12704. "areacode": {
  12705. "description": "机构代码",
  12706. "type": "string"
  12707. },
  12708. "areaid": {
  12709. "description": "机构Id",
  12710. "type": "integer"
  12711. },
  12712. "attachment1": {
  12713. "description": "附件1",
  12714. "type": "string"
  12715. },
  12716. "attachment2": {
  12717. "description": "附件2",
  12718. "type": "string"
  12719. },
  12720. "attachment3": {
  12721. "description": "附件3",
  12722. "type": "string"
  12723. },
  12724. "attachment4": {
  12725. "description": "附件4",
  12726. "type": "string"
  12727. },
  12728. "attachment5": {
  12729. "description": "附件5",
  12730. "type": "string"
  12731. },
  12732. "auditedby": {
  12733. "description": "审核人",
  12734. "type": "string"
  12735. },
  12736. "auditime": {
  12737. "description": "审核时间",
  12738. "type": "string"
  12739. },
  12740. "auditsrc": {
  12741. "description": "审核来源 - 1:管理端 2:终端",
  12742. "type": "integer"
  12743. },
  12744. "bankaccount": {
  12745. "description": "银行帐号 (加密存储)",
  12746. "type": "string"
  12747. },
  12748. "bankaccountname": {
  12749. "description": "收款人名称",
  12750. "type": "string"
  12751. },
  12752. "bankcardbackphotourl": {
  12753. "description": "银行卡背面照地址",
  12754. "type": "string"
  12755. },
  12756. "bankcardfrontphotourl": {
  12757. "description": "银行卡正面照地址",
  12758. "type": "string"
  12759. },
  12760. "bankid": {
  12761. "description": "银行编码",
  12762. "type": "string"
  12763. },
  12764. "bankname": {
  12765. "description": "银行名称",
  12766. "type": "string"
  12767. },
  12768. "bankpictureurl": {
  12769. "description": "银行卡正面地址",
  12770. "type": "string"
  12771. },
  12772. "biznature": {
  12773. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  12774. "type": "integer"
  12775. },
  12776. "bizscope": {
  12777. "description": "企业经营范围(企业)",
  12778. "type": "string"
  12779. },
  12780. "biztype": {
  12781. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  12782. "type": "integer"
  12783. },
  12784. "brokerid": {
  12785. "description": "经纪人ID(加密存储)",
  12786. "type": "string"
  12787. },
  12788. "cardaddress": {
  12789. "description": "证件地址 (加密存储)",
  12790. "type": "string"
  12791. },
  12792. "cardbackphotourl": {
  12793. "description": "背面证件照地址",
  12794. "type": "string"
  12795. },
  12796. "cardfrontphotourl": {
  12797. "description": "正面证件照地址",
  12798. "type": "string"
  12799. },
  12800. "cardnum": {
  12801. "description": "证件号码 (加密存储)",
  12802. "type": "string"
  12803. },
  12804. "cardtype": {
  12805. "description": "证件类型",
  12806. "type": "integer"
  12807. },
  12808. "cityid": {
  12809. "description": "市",
  12810. "type": "integer"
  12811. },
  12812. "company": {
  12813. "description": "公司(个人)",
  12814. "type": "string"
  12815. },
  12816. "contactcardbackphotourl": {
  12817. "description": "联系人证件背面图片地址",
  12818. "type": "string"
  12819. },
  12820. "contactcardfrontphotourl": {
  12821. "description": "联系人证件正面图片地址",
  12822. "type": "string"
  12823. },
  12824. "contactname": {
  12825. "description": "联系人",
  12826. "type": "string"
  12827. },
  12828. "countryid": {
  12829. "description": "国家",
  12830. "type": "integer"
  12831. },
  12832. "createtime": {
  12833. "description": "开户申请时间",
  12834. "type": "string"
  12835. },
  12836. "cusbankid": {
  12837. "description": "签约类型",
  12838. "type": "string"
  12839. },
  12840. "cusbankname": {
  12841. "description": "签约类型名称",
  12842. "type": "string"
  12843. },
  12844. "customername": {
  12845. "description": "客户名称(企业名称)",
  12846. "type": "string"
  12847. },
  12848. "districtid": {
  12849. "description": "地区",
  12850. "type": "integer"
  12851. },
  12852. "email": {
  12853. "description": "Email地址(加密存储)",
  12854. "type": "string"
  12855. },
  12856. "halfbodyphotourl": {
  12857. "description": "半身照地址",
  12858. "type": "string"
  12859. },
  12860. "headurl": {
  12861. "description": "头像地址",
  12862. "type": "string"
  12863. },
  12864. "ipaddress": {
  12865. "description": "IP地址",
  12866. "type": "string"
  12867. },
  12868. "isvalidate": {
  12869. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  12870. "type": "string"
  12871. },
  12872. "legalcardbackphotourl": {
  12873. "description": "法人身份证背面照地址",
  12874. "type": "string"
  12875. },
  12876. "legalcardfrontphotourl": {
  12877. "description": "法人身份证正面照地址",
  12878. "type": "string"
  12879. },
  12880. "legalpersonname": {
  12881. "description": "法人姓名(企业)",
  12882. "type": "string"
  12883. },
  12884. "logincode": {
  12885. "description": "登录帐号 (加密存储)",
  12886. "type": "string"
  12887. },
  12888. "memberareaid": {
  12889. "description": "所属会员ID",
  12890. "type": "integer"
  12891. },
  12892. "mobile2": {
  12893. "description": "手机号码[明文-尚志]",
  12894. "type": "string"
  12895. },
  12896. "mobilephone": {
  12897. "description": "手机号码 (加密存储)",
  12898. "type": "string"
  12899. },
  12900. "modifiedby": {
  12901. "description": "修改人帐号",
  12902. "type": "integer"
  12903. },
  12904. "modifiedtime": {
  12905. "description": "修改时间",
  12906. "type": "string"
  12907. },
  12908. "nickname": {
  12909. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  12910. "type": "string"
  12911. },
  12912. "openmode": {
  12913. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  12914. "type": "integer"
  12915. },
  12916. "otherurl": {
  12917. "description": "其它图片地址[使用分号分隔]",
  12918. "type": "string"
  12919. },
  12920. "postalcode": {
  12921. "description": "邮政编码",
  12922. "type": "string"
  12923. },
  12924. "provinceid": {
  12925. "description": "省",
  12926. "type": "integer"
  12927. },
  12928. "proxystatementurl": {
  12929. "description": "授权委托书",
  12930. "type": "string"
  12931. },
  12932. "qq": {
  12933. "description": "QQ(加密存储",
  12934. "type": "string"
  12935. },
  12936. "referral": {
  12937. "description": "推荐人编码",
  12938. "type": "string"
  12939. },
  12940. "remark": {
  12941. "description": "备注",
  12942. "type": "string"
  12943. },
  12944. "removebeforestatus": {
  12945. "description": "REMOVEBEFORESTATUS",
  12946. "type": "integer"
  12947. },
  12948. "sex": {
  12949. "description": "性别 - 0:女 1:男",
  12950. "type": "integer"
  12951. },
  12952. "signedstatus": {
  12953. "description": "账户一号签签约状态",
  12954. "type": "integer"
  12955. },
  12956. "signpdfurl": {
  12957. "description": "签约pdf文件",
  12958. "type": "string"
  12959. },
  12960. "subbranch": {
  12961. "description": "开户支行",
  12962. "type": "string"
  12963. },
  12964. "taxpayernum": {
  12965. "description": "纳税人识别号",
  12966. "type": "string"
  12967. },
  12968. "telphone": {
  12969. "description": "联系电话(加密存储)",
  12970. "type": "string"
  12971. },
  12972. "userid": {
  12973. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  12974. "type": "integer"
  12975. },
  12976. "userinfotype": {
  12977. "description": "用户信息类型 - 1:个人 2:企业",
  12978. "type": "integer"
  12979. },
  12980. "username": {
  12981. "description": "用户姓名",
  12982. "type": "string"
  12983. },
  12984. "userstate": {
  12985. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  12986. "type": "integer"
  12987. },
  12988. "usertype": {
  12989. "description": "用户类型 - 1:投资者 2:机构",
  12990. "type": "integer"
  12991. },
  12992. "videourl": {
  12993. "description": "视频地址",
  12994. "type": "string"
  12995. },
  12996. "wechat": {
  12997. "description": "微信号 (加密存储)",
  12998. "type": "string"
  12999. }
  13000. }
  13001. },
  13002. "erms3.QryAuditContractRsp": {
  13003. "type": "object",
  13004. "required": [
  13005. "matchcustomername",
  13006. "spotcontractid"
  13007. ],
  13008. "properties": {
  13009. "accountid": {
  13010. "description": "交易员ID",
  13011. "type": "string"
  13012. },
  13013. "applystatus": {
  13014. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13015. "type": "integer"
  13016. },
  13017. "curdeliveryqty": {
  13018. "description": "未交收量",
  13019. "type": "integer"
  13020. },
  13021. "customername": {
  13022. "description": "采购方ID",
  13023. "type": "string"
  13024. },
  13025. "deliverygoodsid": {
  13026. "description": "品种ID",
  13027. "type": "string"
  13028. },
  13029. "deliveryqty": {
  13030. "description": "交收量",
  13031. "type": "integer"
  13032. },
  13033. "enumdicname": {
  13034. "description": "单位名称",
  13035. "type": "string"
  13036. },
  13037. "matchaccountid": {
  13038. "description": "业务员ID",
  13039. "type": "string"
  13040. },
  13041. "matchcustomername": {
  13042. "description": "销售方ID",
  13043. "type": "string"
  13044. },
  13045. "pricedqty": {
  13046. "description": "定价量",
  13047. "type": "number"
  13048. },
  13049. "signdate": {
  13050. "description": "签订日期",
  13051. "type": "string"
  13052. },
  13053. "spotcontractid": {
  13054. "description": "合同ID",
  13055. "type": "string"
  13056. },
  13057. "totaldqty": {
  13058. "description": "合同量",
  13059. "type": "number"
  13060. },
  13061. "unpricedqty": {
  13062. "description": "未定价量",
  13063. "type": "number"
  13064. },
  13065. "wrstandardname": {
  13066. "description": "商品名称",
  13067. "type": "string"
  13068. }
  13069. }
  13070. },
  13071. "erms3.QryPendingBizRsp": {
  13072. "type": "object",
  13073. "properties": {
  13074. "accountid": {
  13075. "description": "现货账户",
  13076. "type": "string"
  13077. },
  13078. "areaname": {
  13079. "description": "所属部门",
  13080. "type": "string"
  13081. },
  13082. "bizid": {
  13083. "description": "业务ID",
  13084. "type": "string"
  13085. },
  13086. "bizname": {
  13087. "description": "业务名称",
  13088. "type": "string"
  13089. },
  13090. "status": {
  13091. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  13092. "type": "integer"
  13093. },
  13094. "type": {
  13095. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  13096. "type": "integer"
  13097. }
  13098. }
  13099. },
  13100. "erms3.QueryBusinessInfoRsp": {
  13101. "type": "object",
  13102. "properties": {
  13103. "businessid": {
  13104. "description": "业务ID.",
  13105. "type": "integer"
  13106. },
  13107. "buyamount": {
  13108. "description": "采购额.",
  13109. "type": "number"
  13110. },
  13111. "buyqty": {
  13112. "description": "采购量.",
  13113. "type": "string"
  13114. },
  13115. "futurepl": {
  13116. "description": "期货盈亏.",
  13117. "type": "number"
  13118. },
  13119. "futureqty": {
  13120. "description": "期货敞口.",
  13121. "type": "string"
  13122. },
  13123. "goodsid": {
  13124. "description": "商品名称/商品代码.",
  13125. "type": "string"
  13126. },
  13127. "hedgingqty": {
  13128. "description": "套保量.",
  13129. "type": "string"
  13130. },
  13131. "sellamount": {
  13132. "description": "销售额.",
  13133. "type": "number"
  13134. },
  13135. "sellqty": {
  13136. "description": "销售量.",
  13137. "type": "string"
  13138. },
  13139. "spotmarketvalue": {
  13140. "description": "现货市值.",
  13141. "type": "number"
  13142. },
  13143. "spotpl": {
  13144. "description": "浮动权益.",
  13145. "type": "number"
  13146. },
  13147. "spotqty": {
  13148. "description": "现货量.",
  13149. "type": "string"
  13150. },
  13151. "statu": {
  13152. "description": "状态,0-未结束 1-已结束.",
  13153. "type": "integer"
  13154. },
  13155. "totalpl": {
  13156. "description": "总盈亏.",
  13157. "type": "number"
  13158. },
  13159. "totalqty": {
  13160. "description": "总敞口.",
  13161. "type": "string"
  13162. },
  13163. "type": {
  13164. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  13165. "type": "integer"
  13166. }
  13167. }
  13168. },
  13169. "erms3.QuerySpotContractAppleFormRsp": {
  13170. "type": "object",
  13171. "properties": {
  13172. "goodses": {
  13173. "description": "合约列表",
  13174. "type": "array",
  13175. "items": {
  13176. "$ref": "#/definitions/models.GoodsIDAndName"
  13177. }
  13178. },
  13179. "oppositeusers": {
  13180. "description": "对方账号列表",
  13181. "type": "array",
  13182. "items": {
  13183. "$ref": "#/definitions/erms3.CustomerInfo"
  13184. }
  13185. },
  13186. "ouruser": {
  13187. "description": "我方账号",
  13188. "$ref": "#/definitions/erms3.CustomerInfo"
  13189. },
  13190. "warehouseinfos": {
  13191. "description": "仓库信息列表",
  13192. "type": "array",
  13193. "items": {
  13194. "$ref": "#/definitions/models.Warehouseinfo"
  13195. }
  13196. },
  13197. "wrstandards": {
  13198. "description": "仓单标准列表",
  13199. "type": "array",
  13200. "items": {
  13201. "$ref": "#/definitions/models.WRStandardInfo"
  13202. }
  13203. }
  13204. }
  13205. },
  13206. "erms3.QuerySpotContractInfoRsp": {
  13207. "type": "object",
  13208. "properties": {
  13209. "accountid": {
  13210. "description": "表示交易员ID.",
  13211. "type": "integer"
  13212. },
  13213. "curdeliveryqty": {
  13214. "description": "表示未交收量.",
  13215. "type": "number"
  13216. },
  13217. "customername": {
  13218. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  13219. "type": "string"
  13220. },
  13221. "deliverygoodsid": {
  13222. "description": "表示品种ID.",
  13223. "type": "string"
  13224. },
  13225. "deliveryqty": {
  13226. "description": "表示交收量.",
  13227. "type": "number"
  13228. },
  13229. "matchaccountid": {
  13230. "description": "表示业务员ID.",
  13231. "type": "integer"
  13232. },
  13233. "matchcustomername": {
  13234. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  13235. "type": "string"
  13236. },
  13237. "priceqty": {
  13238. "description": "表示定价量.",
  13239. "type": "number"
  13240. },
  13241. "relatedbizid": {
  13242. "description": "表示业务ID.",
  13243. "type": "string"
  13244. },
  13245. "signdate": {
  13246. "description": "表示签订日期.",
  13247. "type": "string"
  13248. },
  13249. "spotcontractid": {
  13250. "description": "合同ID",
  13251. "type": "string"
  13252. },
  13253. "status": {
  13254. "description": "表示状态,0-履约中 1-已完成.",
  13255. "type": "integer"
  13256. },
  13257. "totalqty": {
  13258. "description": "表示合同量.",
  13259. "type": "number"
  13260. },
  13261. "unpricedqty": {
  13262. "description": "表示未定价量.",
  13263. "type": "number"
  13264. },
  13265. "wrstandardname": {
  13266. "description": "表示商品ID.",
  13267. "type": "string"
  13268. }
  13269. }
  13270. },
  13271. "erms3.QueryUserInfoAppliesRsp": {
  13272. "type": "object",
  13273. "required": [
  13274. "userid"
  13275. ],
  13276. "properties": {
  13277. "biznature": {
  13278. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13279. "type": "integer"
  13280. },
  13281. "contactname": {
  13282. "description": "联系人",
  13283. "type": "string"
  13284. },
  13285. "createtime": {
  13286. "description": "开户申请时间",
  13287. "type": "string"
  13288. },
  13289. "userid": {
  13290. "description": "用户ID(自增ID)",
  13291. "type": "integer"
  13292. },
  13293. "userinfotype": {
  13294. "description": "用户信息类型 - 1:个人 2:企业",
  13295. "type": "integer"
  13296. },
  13297. "username": {
  13298. "description": "用户姓名",
  13299. "type": "string"
  13300. },
  13301. "userstate": {
  13302. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  13303. "type": "integer"
  13304. }
  13305. }
  13306. },
  13307. "erms3.QueryUserInfosRsp": {
  13308. "type": "object",
  13309. "required": [
  13310. "userid"
  13311. ],
  13312. "properties": {
  13313. "biznature": {
  13314. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  13315. "type": "integer"
  13316. },
  13317. "contactname": {
  13318. "description": "联系人",
  13319. "type": "string"
  13320. },
  13321. "customername": {
  13322. "description": "客户名称(企业名称)",
  13323. "type": "string"
  13324. },
  13325. "userid": {
  13326. "description": "用户ID",
  13327. "type": "integer"
  13328. },
  13329. "userinfotype": {
  13330. "description": "用户信息类型 - 1:个人 2:企业",
  13331. "type": "integer"
  13332. },
  13333. "userstatus": {
  13334. "description": "用户状态 - 1:正常 2:注销",
  13335. "type": "integer"
  13336. }
  13337. }
  13338. },
  13339. "erms3.SoptContractDetail": {
  13340. "type": "object",
  13341. "required": [
  13342. "deliverygoodsid",
  13343. "producttype",
  13344. "unitname",
  13345. "warehouseid",
  13346. "wrstandardid",
  13347. "wrstandardname"
  13348. ],
  13349. "properties": {
  13350. "deliverygoodsdesc": {
  13351. "description": "现货品种说明",
  13352. "type": "string"
  13353. },
  13354. "deliverygoodsid": {
  13355. "description": "现货品种ID",
  13356. "type": "integer"
  13357. },
  13358. "deliverygoodsname": {
  13359. "description": "现货品种名称",
  13360. "type": "string"
  13361. },
  13362. "pointdesc": {
  13363. "description": "点价描述",
  13364. "type": "string"
  13365. },
  13366. "producttype": {
  13367. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  13368. "type": "integer"
  13369. },
  13370. "producttypename": {
  13371. "description": "产品类型名称",
  13372. "type": "string"
  13373. },
  13374. "spotPointOrderVoList": {
  13375. "description": "点价列表",
  13376. "type": "array",
  13377. "items": {
  13378. "$ref": "#/definitions/erms3.SpotPointOrder"
  13379. }
  13380. },
  13381. "spotPriceOrderList": {
  13382. "description": "定价列表",
  13383. "type": "array",
  13384. "items": {
  13385. "$ref": "#/definitions/erms3.SpotPriceOrder"
  13386. }
  13387. },
  13388. "unitname": {
  13389. "description": "单位名称",
  13390. "type": "string"
  13391. },
  13392. "warehouseid": {
  13393. "description": "仓库ID",
  13394. "type": "integer"
  13395. },
  13396. "warehousename": {
  13397. "description": "仓库名称",
  13398. "type": "string"
  13399. },
  13400. "wrstandardid": {
  13401. "description": "交易标的ID",
  13402. "type": "integer"
  13403. },
  13404. "wrstandardname": {
  13405. "description": "交易标的名称",
  13406. "type": "string"
  13407. }
  13408. }
  13409. },
  13410. "erms3.SpotPointOrder": {
  13411. "type": "object",
  13412. "required": [
  13413. "basic",
  13414. "goodsid",
  13415. "qty"
  13416. ],
  13417. "properties": {
  13418. "basic": {
  13419. "description": "基差",
  13420. "type": "number"
  13421. },
  13422. "deliveryenddate": {
  13423. "description": "交收结束日期",
  13424. "type": "string"
  13425. },
  13426. "deliverystartdate": {
  13427. "description": "交收开始日期",
  13428. "type": "string"
  13429. },
  13430. "enddate": {
  13431. "description": "点价结束日期",
  13432. "type": "string"
  13433. },
  13434. "goodsid": {
  13435. "description": "商品ID",
  13436. "type": "integer"
  13437. },
  13438. "goodsname": {
  13439. "description": "商品名称",
  13440. "type": "string"
  13441. },
  13442. "qty": {
  13443. "description": "数量",
  13444. "type": "number"
  13445. },
  13446. "startdate": {
  13447. "description": "点价开始日期",
  13448. "type": "string"
  13449. }
  13450. }
  13451. },
  13452. "erms3.SpotPriceOrder": {
  13453. "type": "object",
  13454. "required": [
  13455. "amount",
  13456. "price",
  13457. "qty"
  13458. ],
  13459. "properties": {
  13460. "amount": {
  13461. "description": "金额",
  13462. "type": "number"
  13463. },
  13464. "deliveryenddate": {
  13465. "description": "交收结束日期",
  13466. "type": "string"
  13467. },
  13468. "deliverystartdate": {
  13469. "description": "交收开始日期",
  13470. "type": "string"
  13471. },
  13472. "price": {
  13473. "description": "价格",
  13474. "type": "number"
  13475. },
  13476. "qty": {
  13477. "description": "数量",
  13478. "type": "number"
  13479. }
  13480. }
  13481. },
  13482. "hsby.GetHsbyMyCountRsp": {
  13483. "type": "object",
  13484. "properties": {
  13485. "myCouponCount": {
  13486. "description": "我的优惠卷数量",
  13487. "type": "integer"
  13488. },
  13489. "myOrderDetailListingCount": {
  13490. "description": "我的订单求购中数量",
  13491. "type": "integer"
  13492. },
  13493. "myOrderDetailPreCount": {
  13494. "description": "我的订单抢购中数量",
  13495. "type": "integer"
  13496. },
  13497. "myPackageUnReceiveCount": {
  13498. "description": "我的包裹待收货数量",
  13499. "type": "integer"
  13500. },
  13501. "myPackageUnSendCount": {
  13502. "description": "我的包裹待发货数量",
  13503. "type": "integer"
  13504. },
  13505. "myPayOrderCount": {
  13506. "description": "我的订单待付款数量",
  13507. "type": "integer"
  13508. }
  13509. }
  13510. },
  13511. "hsby.QueryProvincesAndCitiesRsp": {
  13512. "type": "object",
  13513. "properties": {
  13514. "cities": {
  13515. "description": "市",
  13516. "type": "array",
  13517. "items": {
  13518. "$ref": "#/definitions/models.Division"
  13519. }
  13520. },
  13521. "province": {
  13522. "description": "省",
  13523. "$ref": "#/definitions/models.Division"
  13524. }
  13525. }
  13526. },
  13527. "models.Arearole": {
  13528. "type": "object",
  13529. "required": [
  13530. "roletype",
  13531. "userid"
  13532. ],
  13533. "properties": {
  13534. "createtime": {
  13535. "description": "创建时间",
  13536. "type": "string"
  13537. },
  13538. "creatorid": {
  13539. "description": "创建人ID",
  13540. "type": "integer"
  13541. },
  13542. "isreturnscore": {
  13543. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  13544. "type": "integer"
  13545. },
  13546. "modifierid": {
  13547. "description": "修改人ID",
  13548. "type": "integer"
  13549. },
  13550. "modifytime": {
  13551. "description": "修改时间",
  13552. "type": "string"
  13553. },
  13554. "orgtype": {
  13555. "description": "组织机构类型 1:机构 2:交易员",
  13556. "type": "integer"
  13557. },
  13558. "outuserid": {
  13559. "description": "外部账户[场外期权做市商]",
  13560. "type": "string"
  13561. },
  13562. "parentuserid": {
  13563. "description": "上级组织机构(组织机构)",
  13564. "type": "integer"
  13565. },
  13566. "roletype": {
  13567. "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:交易员",
  13568. "type": "integer"
  13569. },
  13570. "rootuserid": {
  13571. "description": "顶级组织机构用户ID(组织机构)",
  13572. "type": "integer"
  13573. },
  13574. "shoppassword": {
  13575. "description": "商城店铺登陆密码(商城店铺角色使用)",
  13576. "type": "string"
  13577. },
  13578. "sublevelpath": {
  13579. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  13580. "type": "string"
  13581. },
  13582. "tradeaccountid": {
  13583. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  13584. "type": "integer"
  13585. },
  13586. "transurl": {
  13587. "description": "物流地址(物流机构)",
  13588. "type": "string"
  13589. },
  13590. "userid": {
  13591. "description": "机构用户ID其他做市关系,都设置为 1",
  13592. "type": "integer"
  13593. }
  13594. }
  13595. },
  13596. "models.Clientfixedadconfig": {
  13597. "type": "object",
  13598. "required": [
  13599. "adsort",
  13600. "adtype"
  13601. ],
  13602. "properties": {
  13603. "adsort": {
  13604. "description": "排序",
  13605. "type": "integer"
  13606. },
  13607. "adtype": {
  13608. "description": "广告位类型 - 1:新品抢购(HSBY)",
  13609. "type": "integer"
  13610. },
  13611. "areauserid": {
  13612. "description": "所属机构ID",
  13613. "type": "integer"
  13614. },
  13615. "createdate": {
  13616. "description": "创建时间",
  13617. "type": "string"
  13618. },
  13619. "creatorid": {
  13620. "description": "创建人",
  13621. "type": "integer"
  13622. },
  13623. "imagepath": {
  13624. "description": "图片",
  13625. "type": "string"
  13626. },
  13627. "isshow": {
  13628. "description": "是否展示 - 0:不展示 1:展示",
  13629. "type": "integer"
  13630. },
  13631. "modifierid": {
  13632. "description": "操作人",
  13633. "type": "integer"
  13634. },
  13635. "recsize": {
  13636. "description": "推荐尺寸",
  13637. "type": "string"
  13638. },
  13639. "title": {
  13640. "description": "标题",
  13641. "type": "string"
  13642. },
  13643. "updatedate": {
  13644. "description": "更新时间",
  13645. "type": "string"
  13646. },
  13647. "urlcontent": {
  13648. "description": "链接(地址或商品ID)",
  13649. "type": "string"
  13650. },
  13651. "urltype": {
  13652. "description": "链接类型 - 1:直接地址 2:商品ID",
  13653. "type": "integer"
  13654. }
  13655. }
  13656. },
  13657. "models.Division": {
  13658. "type": "object",
  13659. "required": [
  13660. "autoid",
  13661. "divisioncode"
  13662. ],
  13663. "properties": {
  13664. "autoid": {
  13665. "description": "自增ID",
  13666. "type": "integer"
  13667. },
  13668. "divisioncode": {
  13669. "description": "行政代码",
  13670. "type": "string"
  13671. },
  13672. "divisionlevel": {
  13673. "description": "行政级别",
  13674. "type": "string"
  13675. },
  13676. "divisionname": {
  13677. "description": "行政名称",
  13678. "type": "string"
  13679. },
  13680. "modifierid": {
  13681. "description": "修改人",
  13682. "type": "integer"
  13683. },
  13684. "modifytime": {
  13685. "description": "修改时间",
  13686. "type": "string"
  13687. },
  13688. "parentcode": {
  13689. "description": "上级行政代码",
  13690. "type": "string"
  13691. },
  13692. "pathname": {
  13693. "description": "路径名称",
  13694. "type": "string"
  13695. },
  13696. "postcode": {
  13697. "description": "邮政编码",
  13698. "type": "string"
  13699. },
  13700. "separablename": {
  13701. "description": "可拆分的全称",
  13702. "type": "string"
  13703. },
  13704. "shortcode": {
  13705. "description": "地区简码",
  13706. "type": "string"
  13707. }
  13708. }
  13709. },
  13710. "models.Enumdicitem": {
  13711. "type": "object",
  13712. "required": [
  13713. "autoid",
  13714. "enumdiccode",
  13715. "enumdicid",
  13716. "enumitemname"
  13717. ],
  13718. "properties": {
  13719. "autoid": {
  13720. "description": "自增ID",
  13721. "type": "integer"
  13722. },
  13723. "bankmappedvalue": {
  13724. "description": "银行服务对应值",
  13725. "type": "string"
  13726. },
  13727. "enumdiccode": {
  13728. "description": "所属枚举代码",
  13729. "type": "string"
  13730. },
  13731. "enumdicid": {
  13732. "description": "所属枚举ID",
  13733. "type": "integer"
  13734. },
  13735. "enumdicname": {
  13736. "description": "枚举项名称",
  13737. "type": "string"
  13738. },
  13739. "enumitemname": {
  13740. "description": "枚举项值",
  13741. "type": "integer"
  13742. },
  13743. "enumitemstatus": {
  13744. "description": "枚举项状态 - 1.启用 2.不启用",
  13745. "type": "integer"
  13746. },
  13747. "enumitemvalue": {
  13748. "description": "通用值 - [币种通用简写]",
  13749. "type": "string"
  13750. },
  13751. "param1": {
  13752. "description": "参数1[币种:币种小数位]",
  13753. "type": "string"
  13754. },
  13755. "param2": {
  13756. "description": "参数1[币种:币种显示单位]",
  13757. "type": "string"
  13758. },
  13759. "remark": {
  13760. "description": "备注",
  13761. "type": "string"
  13762. }
  13763. }
  13764. },
  13765. "models.Ermcp3AreaSpot": {
  13766. "type": "object",
  13767. "properties": {
  13768. "areauserid": {
  13769. "description": "所属机构",
  13770. "type": "integer"
  13771. },
  13772. "decreaseqty": {
  13773. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  13774. "type": "number"
  13775. },
  13776. "deliverygoodscode": {
  13777. "description": "现货品种代码",
  13778. "type": "string"
  13779. },
  13780. "deliverygoodsid": {
  13781. "description": "现货品种id",
  13782. "type": "integer"
  13783. },
  13784. "deliverygoodsname": {
  13785. "description": "现货品种名称",
  13786. "type": "string"
  13787. },
  13788. "enumdicname": {
  13789. "description": "单位名称",
  13790. "type": "string"
  13791. },
  13792. "goodsunitid": {
  13793. "description": "现货品种单位id",
  13794. "type": "integer"
  13795. },
  13796. "increaseqty": {
  13797. "description": "增加数量=销售计划数量+采购已定价数量",
  13798. "type": "number"
  13799. },
  13800. "oritoalspotqty": {
  13801. "description": "昨日数量",
  13802. "type": "number"
  13803. },
  13804. "totalspotqty": {
  13805. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  13806. "type": "number"
  13807. },
  13808. "updatetime": {
  13809. "description": "更新时间",
  13810. "type": "string"
  13811. }
  13812. }
  13813. },
  13814. "models.Ermcp3AreaSpotDetail": {
  13815. "type": "object",
  13816. "properties": {
  13817. "contracttype": {
  13818. "description": "合同类型 1-采购 -1-销售",
  13819. "type": "integer"
  13820. },
  13821. "createtime": {
  13822. "description": "创建时间",
  13823. "type": "string"
  13824. },
  13825. "deliverygoodscode": {
  13826. "description": "现货品种代码",
  13827. "type": "string"
  13828. },
  13829. "deliverygoodsid": {
  13830. "description": "现货品种id",
  13831. "type": "integer"
  13832. },
  13833. "deliverygoodsname": {
  13834. "description": "现货品种名称",
  13835. "type": "string"
  13836. },
  13837. "enumdicname": {
  13838. "description": "现货商品单位名称",
  13839. "type": "string"
  13840. },
  13841. "logtype": {
  13842. "description": "记录类型 1-套保 2-现货合同",
  13843. "type": "integer"
  13844. },
  13845. "qty": {
  13846. "description": "数量",
  13847. "type": "number"
  13848. },
  13849. "recordname": {
  13850. "description": "类型名称",
  13851. "type": "string"
  13852. },
  13853. "relatedid": {
  13854. "description": "套保计划ID/现货合同ID",
  13855. "type": "string"
  13856. },
  13857. "relatedno": {
  13858. "description": "编号",
  13859. "type": "string"
  13860. },
  13861. "strtime": {
  13862. "description": "时间",
  13863. "type": "string"
  13864. }
  13865. }
  13866. },
  13867. "models.Ermcp3AreaSpotPLReport": {
  13868. "type": "object",
  13869. "properties": {
  13870. "accountid": {
  13871. "description": "期货账户ID (作废, 默认为0)",
  13872. "type": "integer"
  13873. },
  13874. "accountname": {
  13875. "description": "机构名称",
  13876. "type": "string"
  13877. },
  13878. "actualpl": {
  13879. "description": "现货损益",
  13880. "type": "number"
  13881. },
  13882. "areauserid": {
  13883. "description": "所属机构\\交易用户ID",
  13884. "type": "integer"
  13885. },
  13886. "begindate": {
  13887. "description": "开始交易日",
  13888. "type": "string"
  13889. },
  13890. "biztype": {
  13891. "description": "业务类型 - 1:套保 2:套利",
  13892. "type": "integer"
  13893. },
  13894. "brandname": {
  13895. "description": "品牌名称",
  13896. "type": "string"
  13897. },
  13898. "curamount": {
  13899. "description": "期末额",
  13900. "type": "number"
  13901. },
  13902. "curaverageprice": {
  13903. "description": "期末均价",
  13904. "type": "number"
  13905. },
  13906. "curbuyamount": {
  13907. "description": "期末采购总额",
  13908. "type": "number"
  13909. },
  13910. "curbuyqty": {
  13911. "description": "期末采购总量",
  13912. "type": "number"
  13913. },
  13914. "curmarketvalue": {
  13915. "description": "参考市值(期末市值)",
  13916. "type": "number"
  13917. },
  13918. "curqty": {
  13919. "description": "期末量",
  13920. "type": "number"
  13921. },
  13922. "currencyid": {
  13923. "description": "结算币种ID【原值】",
  13924. "type": "integer"
  13925. },
  13926. "currencyname": {
  13927. "description": "币种名称",
  13928. "type": "string"
  13929. },
  13930. "cursellamount": {
  13931. "description": "期末销售总额",
  13932. "type": "number"
  13933. },
  13934. "cursellqty": {
  13935. "description": "期末销售总量",
  13936. "type": "number"
  13937. },
  13938. "curspotprice": {
  13939. "description": "参考市价(最新价)",
  13940. "type": "number"
  13941. },
  13942. "cycletime": {
  13943. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13944. "type": "string"
  13945. },
  13946. "cycletype": {
  13947. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13948. "type": "integer"
  13949. },
  13950. "deliverygoodscode": {
  13951. "description": "现货商品代码",
  13952. "type": "string"
  13953. },
  13954. "deliverygoodsid": {
  13955. "description": "现货品种ID",
  13956. "type": "integer"
  13957. },
  13958. "deliverygoodsname": {
  13959. "description": "现货商品名称",
  13960. "type": "string"
  13961. },
  13962. "enddate": {
  13963. "description": "结束交易日",
  13964. "type": "string"
  13965. },
  13966. "enumdicname": {
  13967. "description": "现货商品单位名称",
  13968. "type": "string"
  13969. },
  13970. "floatpl": {
  13971. "description": "浮动损益",
  13972. "type": "number"
  13973. },
  13974. "goodsunitid": {
  13975. "description": "现货商品单位id",
  13976. "type": "integer"
  13977. },
  13978. "oriamount": {
  13979. "description": "期初额",
  13980. "type": "number"
  13981. },
  13982. "oriaverageprice": {
  13983. "description": "期初均价",
  13984. "type": "number"
  13985. },
  13986. "oribuyamount": {
  13987. "description": "期初采购总额",
  13988. "type": "number"
  13989. },
  13990. "oribuyqty": {
  13991. "description": "期初采购总量",
  13992. "type": "number"
  13993. },
  13994. "oriqty": {
  13995. "description": "期初量",
  13996. "type": "number"
  13997. },
  13998. "orisellamount": {
  13999. "description": "期初销售总额",
  14000. "type": "number"
  14001. },
  14002. "orisellqty": {
  14003. "description": "期初销售总量",
  14004. "type": "number"
  14005. },
  14006. "reckondate": {
  14007. "description": "日照时期(yyyyMMdd)",
  14008. "type": "string"
  14009. },
  14010. "spotgoodsbrandid": {
  14011. "description": "现货品牌ID",
  14012. "type": "integer"
  14013. },
  14014. "todaybuyamount": {
  14015. "description": "今日采购额(今采购额)",
  14016. "type": "number"
  14017. },
  14018. "todaybuyaverageprice": {
  14019. "description": "今日采购均价",
  14020. "type": "number"
  14021. },
  14022. "todaybuyqty": {
  14023. "description": "今日采购量(今采购量)",
  14024. "type": "number"
  14025. },
  14026. "todayinqty": {
  14027. "description": "今日入库量(今入库量)",
  14028. "type": "number"
  14029. },
  14030. "todayoutqty": {
  14031. "description": "今日出库量(今出库量)",
  14032. "type": "number"
  14033. },
  14034. "todaysellamount": {
  14035. "description": "今日销售额(今销售额)",
  14036. "type": "number"
  14037. },
  14038. "todaysellaverageprice": {
  14039. "description": "今日销售均价",
  14040. "type": "number"
  14041. },
  14042. "todaysellqty": {
  14043. "description": "今日销售量(今销售量)",
  14044. "type": "number"
  14045. },
  14046. "unitid": {
  14047. "description": "品类单位id",
  14048. "type": "integer"
  14049. },
  14050. "unitidname": {
  14051. "description": "品类单位名称",
  14052. "type": "string"
  14053. },
  14054. "updatetime": {
  14055. "description": "更新时间",
  14056. "type": "string"
  14057. },
  14058. "wrfactortypeid": {
  14059. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  14060. "type": "integer"
  14061. },
  14062. "wrstandardcode": {
  14063. "description": "品类代码",
  14064. "type": "string"
  14065. },
  14066. "wrstandardid": {
  14067. "description": "现货品类ID",
  14068. "type": "integer"
  14069. },
  14070. "wrstandardname": {
  14071. "description": "品类名称",
  14072. "type": "string"
  14073. }
  14074. }
  14075. },
  14076. "models.Ermcp3AreaStock": {
  14077. "type": "object",
  14078. "required": [
  14079. "userid"
  14080. ],
  14081. "properties": {
  14082. "brandname": {
  14083. "description": "品牌名称",
  14084. "type": "string"
  14085. },
  14086. "curstock": {
  14087. "description": "期末库存量(今日量)",
  14088. "type": "number"
  14089. },
  14090. "deliverygoodscode": {
  14091. "description": "现货品种代码",
  14092. "type": "string"
  14093. },
  14094. "deliverygoodsid": {
  14095. "description": "现货品种id",
  14096. "type": "integer"
  14097. },
  14098. "deliverygoodsname": {
  14099. "description": "现货品种名称",
  14100. "type": "string"
  14101. },
  14102. "enumdicname": {
  14103. "description": "单位名称",
  14104. "type": "string"
  14105. },
  14106. "goodsunitid": {
  14107. "description": "现货商品单位id",
  14108. "type": "integer"
  14109. },
  14110. "oristock": {
  14111. "description": "期初库存量(昨日量)",
  14112. "type": "number"
  14113. },
  14114. "spotgoodsbrandid": {
  14115. "description": "现货品牌ID",
  14116. "type": "integer"
  14117. },
  14118. "todaybuyinqty": {
  14119. "description": "今日采购入库量",
  14120. "type": "number"
  14121. },
  14122. "todayproduceinqty": {
  14123. "description": "今日生产入库量",
  14124. "type": "number"
  14125. },
  14126. "todayproduceoutqty": {
  14127. "description": "今日生产出库量",
  14128. "type": "number"
  14129. },
  14130. "todayselloutqty": {
  14131. "description": "今日销售出库量",
  14132. "type": "number"
  14133. },
  14134. "unitid": {
  14135. "description": "单位id",
  14136. "type": "integer"
  14137. },
  14138. "updatetime": {
  14139. "description": "更新时间",
  14140. "type": "string"
  14141. },
  14142. "userid": {
  14143. "description": "机构ID",
  14144. "type": "integer"
  14145. },
  14146. "username": {
  14147. "description": "机构名称",
  14148. "type": "string"
  14149. },
  14150. "warehousecode": {
  14151. "description": "仓库代码",
  14152. "type": "string"
  14153. },
  14154. "warehouseinfoid": {
  14155. "description": "仓库ID",
  14156. "type": "string"
  14157. },
  14158. "warehousename": {
  14159. "description": "仓库名称",
  14160. "type": "string"
  14161. },
  14162. "warehousetype": {
  14163. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14164. "type": "integer"
  14165. },
  14166. "wrstandardcode": {
  14167. "description": "品类代码",
  14168. "type": "string"
  14169. },
  14170. "wrstandardid": {
  14171. "description": "品类ID",
  14172. "type": "string"
  14173. },
  14174. "wrstandardname": {
  14175. "description": "品类名称",
  14176. "type": "string"
  14177. }
  14178. }
  14179. },
  14180. "models.Ermcp3AreaStockApply": {
  14181. "type": "object",
  14182. "properties": {
  14183. "applyid": {
  14184. "description": "申请人",
  14185. "type": "integer"
  14186. },
  14187. "applyname": {
  14188. "description": "申请人名称",
  14189. "type": "string"
  14190. },
  14191. "applyremark": {
  14192. "description": "申请备注",
  14193. "type": "string"
  14194. },
  14195. "applysrc": {
  14196. "description": "申请来源 - 1:管理端 2:终端",
  14197. "type": "integer"
  14198. },
  14199. "applystatus": {
  14200. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  14201. "type": "integer"
  14202. },
  14203. "applytime": {
  14204. "description": "申请时间",
  14205. "type": "string"
  14206. },
  14207. "auditid": {
  14208. "description": "审核人",
  14209. "type": "integer"
  14210. },
  14211. "auditname": {
  14212. "description": "审核人名称",
  14213. "type": "string"
  14214. },
  14215. "auditremark": {
  14216. "description": "审核备注",
  14217. "type": "string"
  14218. },
  14219. "auditsrc": {
  14220. "description": "审核来源 - 1:管理端 2:终端",
  14221. "type": "integer"
  14222. },
  14223. "audittime": {
  14224. "description": "审核时间",
  14225. "type": "string"
  14226. },
  14227. "audittradedate": {
  14228. "description": "审核交易日(yyyyMMdd)",
  14229. "type": "string"
  14230. },
  14231. "brandname": {
  14232. "description": "品牌名称",
  14233. "type": "string"
  14234. },
  14235. "buynickname": {
  14236. "description": "采购方昵称",
  14237. "type": "string"
  14238. },
  14239. "buyuserid": {
  14240. "description": "采购方userid",
  14241. "type": "integer"
  14242. },
  14243. "buyusername": {
  14244. "description": "采购方名称",
  14245. "type": "string"
  14246. },
  14247. "contractno": {
  14248. "description": "合同编号",
  14249. "type": "string"
  14250. },
  14251. "contractqty": {
  14252. "description": "合同量",
  14253. "type": "number"
  14254. },
  14255. "contracttype": {
  14256. "description": "现货合同类型 - 1:采购 -1:销售",
  14257. "type": "integer"
  14258. },
  14259. "deliverygoodscode": {
  14260. "description": "现货品种代码",
  14261. "type": "string"
  14262. },
  14263. "deliverygoodsid": {
  14264. "description": "现货品种id",
  14265. "type": "integer"
  14266. },
  14267. "deliverygoodsname": {
  14268. "description": "现货品种名称",
  14269. "type": "string"
  14270. },
  14271. "detailjson": {
  14272. "description": "明细数据",
  14273. "type": "string"
  14274. },
  14275. "enumdicname": {
  14276. "description": "现货商品单位名称",
  14277. "type": "string"
  14278. },
  14279. "inoutapplyid": {
  14280. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  14281. "type": "string"
  14282. },
  14283. "inouttype": {
  14284. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  14285. "type": "integer"
  14286. },
  14287. "pricetype": {
  14288. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14289. "type": "integer"
  14290. },
  14291. "qty": {
  14292. "description": "数量",
  14293. "type": "number"
  14294. },
  14295. "sellnickname": {
  14296. "description": "销售方昵称",
  14297. "type": "string"
  14298. },
  14299. "selluserid": {
  14300. "description": "销售方userid",
  14301. "type": "integer"
  14302. },
  14303. "sellusername": {
  14304. "description": "销售方名称",
  14305. "type": "string"
  14306. },
  14307. "spotcontractid": {
  14308. "description": "关联现货合同ID",
  14309. "type": "string"
  14310. },
  14311. "spotgoodsbrandid": {
  14312. "description": "现货品牌ID",
  14313. "type": "integer"
  14314. },
  14315. "unitid": {
  14316. "description": "单位id",
  14317. "type": "integer"
  14318. },
  14319. "userid": {
  14320. "description": "机构ID",
  14321. "type": "integer"
  14322. },
  14323. "warehousecode": {
  14324. "description": "仓库代码",
  14325. "type": "string"
  14326. },
  14327. "warehouseinfoid": {
  14328. "description": "现货仓库ID",
  14329. "type": "string"
  14330. },
  14331. "warehousename": {
  14332. "description": "仓库名称",
  14333. "type": "string"
  14334. },
  14335. "warehousetype": {
  14336. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14337. "type": "integer"
  14338. },
  14339. "wrstandardcode": {
  14340. "description": "品类代码",
  14341. "type": "string"
  14342. },
  14343. "wrstandardid": {
  14344. "description": "品类ID",
  14345. "type": "integer"
  14346. },
  14347. "wrstandardname": {
  14348. "description": "品类名称",
  14349. "type": "string"
  14350. }
  14351. }
  14352. },
  14353. "models.Ermcp3AreaStockApplySum": {
  14354. "type": "object",
  14355. "properties": {
  14356. "brandname": {
  14357. "description": "品牌名称",
  14358. "type": "string"
  14359. },
  14360. "inouttype": {
  14361. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  14362. "type": "integer"
  14363. },
  14364. "spotcontractid": {
  14365. "description": "关联现货合同ID",
  14366. "type": "string"
  14367. },
  14368. "spotgoodsbrandid": {
  14369. "description": "品牌id",
  14370. "type": "integer"
  14371. },
  14372. "totalqty": {
  14373. "description": "总数量",
  14374. "type": "number"
  14375. },
  14376. "wrstandardid": {
  14377. "description": "品类id",
  14378. "type": "integer"
  14379. },
  14380. "wrstandardname": {
  14381. "description": "品类名称",
  14382. "type": "string"
  14383. }
  14384. }
  14385. },
  14386. "models.Ermcp3AreaStockReportEx": {
  14387. "type": "object",
  14388. "properties": {
  14389. "begindate": {
  14390. "description": "开始交易日",
  14391. "type": "string"
  14392. },
  14393. "brandname": {
  14394. "description": "品牌名称",
  14395. "type": "string"
  14396. },
  14397. "curstock": {
  14398. "description": "期末库存量",
  14399. "type": "number"
  14400. },
  14401. "cycletime": {
  14402. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14403. "type": "string"
  14404. },
  14405. "cycletype": {
  14406. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14407. "type": "integer"
  14408. },
  14409. "deliverygoodscode": {
  14410. "description": "现货品种代码",
  14411. "type": "string"
  14412. },
  14413. "deliverygoodsid": {
  14414. "description": "现货品种id",
  14415. "type": "integer"
  14416. },
  14417. "deliverygoodsname": {
  14418. "description": "现货品种名称",
  14419. "type": "string"
  14420. },
  14421. "diffqty": {
  14422. "description": "库存变化量 = 期末 - 期初",
  14423. "type": "number"
  14424. },
  14425. "enddate": {
  14426. "description": "结束交易日",
  14427. "type": "string"
  14428. },
  14429. "enumdicname": {
  14430. "description": "单位名称",
  14431. "type": "string"
  14432. },
  14433. "goodsunitid": {
  14434. "description": "现货单位id",
  14435. "type": "integer"
  14436. },
  14437. "oristock": {
  14438. "description": "期初库存量",
  14439. "type": "number"
  14440. },
  14441. "reckondate": {
  14442. "description": "日照时期(yyyyMMdd)",
  14443. "type": "string"
  14444. },
  14445. "spotgoodsbrandid": {
  14446. "description": "现货品牌ID",
  14447. "type": "integer"
  14448. },
  14449. "todaybuyinqty": {
  14450. "description": "今采购入库量",
  14451. "type": "number"
  14452. },
  14453. "todayproduceinqty": {
  14454. "description": "今内部入库量",
  14455. "type": "number"
  14456. },
  14457. "todayproduceoutqty": {
  14458. "description": "今内部出库量",
  14459. "type": "number"
  14460. },
  14461. "todayselloutqty": {
  14462. "description": "今销售出库量",
  14463. "type": "number"
  14464. },
  14465. "unbuyinqty": {
  14466. "description": "采购未入库量(数据库未找到相关字段?)",
  14467. "type": "number"
  14468. },
  14469. "unitid": {
  14470. "description": "品类单位id",
  14471. "type": "integer"
  14472. },
  14473. "unselloutqty": {
  14474. "description": "销售未出库量(数据库未找到相关字段?)",
  14475. "type": "number"
  14476. },
  14477. "updatetime": {
  14478. "description": "更新时间",
  14479. "type": "string"
  14480. },
  14481. "userid": {
  14482. "description": "机构ID",
  14483. "type": "integer"
  14484. },
  14485. "username": {
  14486. "description": "机构名称",
  14487. "type": "string"
  14488. },
  14489. "warehousecode": {
  14490. "description": "仓库代码",
  14491. "type": "string"
  14492. },
  14493. "warehouseinfoid": {
  14494. "description": "仓库ID",
  14495. "type": "string"
  14496. },
  14497. "warehousename": {
  14498. "description": "仓库名称",
  14499. "type": "string"
  14500. },
  14501. "warehousetype": {
  14502. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14503. "type": "integer"
  14504. },
  14505. "wrstandardcode": {
  14506. "description": "品类代码",
  14507. "type": "string"
  14508. },
  14509. "wrstandardid": {
  14510. "description": "品类ID",
  14511. "type": "integer"
  14512. },
  14513. "wrstandardname": {
  14514. "description": "品类名称",
  14515. "type": "string"
  14516. }
  14517. }
  14518. },
  14519. "models.Ermcp3ArealSumPL": {
  14520. "type": "object",
  14521. "properties": {
  14522. "accountname": {
  14523. "description": "机构名称",
  14524. "type": "string"
  14525. },
  14526. "areauserid": {
  14527. "description": "所属机构\\交易用户ID",
  14528. "type": "integer"
  14529. },
  14530. "begindate": {
  14531. "description": "开始交易日",
  14532. "type": "string"
  14533. },
  14534. "currencyid": {
  14535. "description": "结算币种ID",
  14536. "type": "integer"
  14537. },
  14538. "currencyname": {
  14539. "description": "币种名称",
  14540. "type": "string"
  14541. },
  14542. "cycletime": {
  14543. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  14544. "type": "string"
  14545. },
  14546. "cycletype": {
  14547. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  14548. "type": "integer"
  14549. },
  14550. "enddate": {
  14551. "description": "结束交易日",
  14552. "type": "string"
  14553. },
  14554. "enumdicname": {
  14555. "description": "单位名称(套保品种)",
  14556. "type": "string"
  14557. },
  14558. "futureactualpl": {
  14559. "description": "期货损益",
  14560. "type": "number"
  14561. },
  14562. "futurefloatpl": {
  14563. "description": "期货浮动损益",
  14564. "type": "number"
  14565. },
  14566. "goodsunitid": {
  14567. "description": "套保品种单位id",
  14568. "type": "integer"
  14569. },
  14570. "middlegoodscode": {
  14571. "description": "套保品种代码",
  14572. "type": "string"
  14573. },
  14574. "middlegoodsid": {
  14575. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  14576. "type": "integer"
  14577. },
  14578. "middlegoodsname": {
  14579. "description": "套保品种名称",
  14580. "type": "string"
  14581. },
  14582. "reckondate": {
  14583. "description": "日照时期(yyyyMMdd)",
  14584. "type": "string"
  14585. },
  14586. "spotactualpl": {
  14587. "description": "现货损益",
  14588. "type": "number"
  14589. },
  14590. "spotfloatpl": {
  14591. "description": "现货浮动损益",
  14592. "type": "number"
  14593. },
  14594. "sumactualpl": {
  14595. "description": "实际损益 = (ActualPL + FutureActualPL)",
  14596. "type": "number"
  14597. },
  14598. "sumpl": {
  14599. "description": "汇总损益",
  14600. "type": "number"
  14601. },
  14602. "updatetime": {
  14603. "description": "更新时间",
  14604. "type": "string"
  14605. }
  14606. }
  14607. },
  14608. "models.Ermcp3Brand": {
  14609. "type": "object",
  14610. "properties": {
  14611. "areauserid": {
  14612. "description": "用户id",
  14613. "type": "integer"
  14614. },
  14615. "brandid": {
  14616. "description": "品牌id",
  14617. "type": "integer"
  14618. },
  14619. "brandname": {
  14620. "description": "品牌名称",
  14621. "type": "string"
  14622. },
  14623. "deliverygoodsid": {
  14624. "description": "品种ID",
  14625. "type": "integer"
  14626. }
  14627. }
  14628. },
  14629. "models.Ermcp3Contract": {
  14630. "type": "object",
  14631. "properties": {
  14632. "accountid": {
  14633. "description": "期货账户id",
  14634. "type": "string"
  14635. },
  14636. "amount": {
  14637. "description": "金额 [1:一口价、3:暂定价]",
  14638. "type": "number"
  14639. },
  14640. "attachment": {
  14641. "description": "附件",
  14642. "type": "string"
  14643. },
  14644. "auditremark": {
  14645. "description": "审核意见",
  14646. "type": "string"
  14647. },
  14648. "audittime": {
  14649. "description": "审核时间",
  14650. "type": "string"
  14651. },
  14652. "biztype": {
  14653. "description": "业务类型 1-套保 2-套利",
  14654. "type": "integer"
  14655. },
  14656. "brandname": {
  14657. "description": "品牌名称",
  14658. "type": "string"
  14659. },
  14660. "buynickname": {
  14661. "description": "销售方昵称",
  14662. "type": "string"
  14663. },
  14664. "buyuserid": {
  14665. "description": "采购方ID",
  14666. "type": "integer"
  14667. },
  14668. "buyusername": {
  14669. "description": "采购方名称",
  14670. "type": "string"
  14671. },
  14672. "contracctstatus": {
  14673. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14674. "type": "integer"
  14675. },
  14676. "contractmargin": {
  14677. "description": "合同保证金",
  14678. "type": "number"
  14679. },
  14680. "contractno": {
  14681. "description": "现货合同编号",
  14682. "type": "string"
  14683. },
  14684. "contracttype": {
  14685. "description": "现货合同类型 - 1:采购 -1:销售",
  14686. "type": "integer"
  14687. },
  14688. "convertfactor": {
  14689. "description": "标仓系数(品类)",
  14690. "type": "number"
  14691. },
  14692. "createtime": {
  14693. "description": "创建时间",
  14694. "type": "string"
  14695. },
  14696. "currencyid": {
  14697. "description": "币种id",
  14698. "type": "integer"
  14699. },
  14700. "currencyname": {
  14701. "description": "币种名称",
  14702. "type": "string"
  14703. },
  14704. "deliveryenddate": {
  14705. "description": "交收期(结束)",
  14706. "type": "string"
  14707. },
  14708. "deliverygoodscode": {
  14709. "description": "现货品种代码",
  14710. "type": "string"
  14711. },
  14712. "deliverygoodsid": {
  14713. "description": "现货品种ID",
  14714. "type": "integer"
  14715. },
  14716. "deliverygoodsname": {
  14717. "description": "现货品种名称",
  14718. "type": "string"
  14719. },
  14720. "deliverystartdate": {
  14721. "description": "交收期(开始)",
  14722. "type": "string"
  14723. },
  14724. "enddate": {
  14725. "description": "点价结束日期 [2:点价 3:暂定价]",
  14726. "type": "string"
  14727. },
  14728. "enumdicname": {
  14729. "description": "单位名称",
  14730. "type": "string"
  14731. },
  14732. "goodscode": {
  14733. "description": "点价合约代码",
  14734. "type": "string"
  14735. },
  14736. "goodsid": {
  14737. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14738. "type": "integer"
  14739. },
  14740. "goodsname": {
  14741. "description": "点价商品名称",
  14742. "type": "string"
  14743. },
  14744. "margin": {
  14745. "description": "当前保证金",
  14746. "type": "number"
  14747. },
  14748. "meruserid": {
  14749. "description": "跟单员id",
  14750. "type": "integer"
  14751. },
  14752. "meruserlogincode": {
  14753. "description": "跟单员登录代码",
  14754. "type": "string"
  14755. },
  14756. "price": {
  14757. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14758. "type": "number"
  14759. },
  14760. "pricemove": {
  14761. "description": "升贴水 [2:点价 3:暂定价]",
  14762. "type": "number"
  14763. },
  14764. "pricetype": {
  14765. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14766. "type": "integer"
  14767. },
  14768. "producttype": {
  14769. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14770. "type": "integer"
  14771. },
  14772. "qty": {
  14773. "description": "数量",
  14774. "type": "number"
  14775. },
  14776. "remark": {
  14777. "description": "备注",
  14778. "type": "string"
  14779. },
  14780. "saleuserid": {
  14781. "description": "业务员id",
  14782. "type": "integer"
  14783. },
  14784. "saleuserlogincode": {
  14785. "description": "业务员登录代码",
  14786. "type": "string"
  14787. },
  14788. "sellnickname": {
  14789. "description": "采购方昵称",
  14790. "type": "string"
  14791. },
  14792. "selluserid": {
  14793. "description": "销售方ID",
  14794. "type": "integer"
  14795. },
  14796. "sellusername": {
  14797. "description": "销售方名称",
  14798. "type": "string"
  14799. },
  14800. "spotcontractid": {
  14801. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14802. "type": "string"
  14803. },
  14804. "spotgoodsbrandid": {
  14805. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14806. "type": "integer"
  14807. },
  14808. "spotgoodsdesc": {
  14809. "description": "商品型号",
  14810. "type": "string"
  14811. },
  14812. "startdate": {
  14813. "description": "点价开始日期 [2:点价 3:暂定价]",
  14814. "type": "string"
  14815. },
  14816. "tradeuserid": {
  14817. "description": "交易员id",
  14818. "type": "integer"
  14819. },
  14820. "tradeuserlogincode": {
  14821. "description": "交易员登录代码",
  14822. "type": "string"
  14823. },
  14824. "tradeusername": {
  14825. "description": "交易员名称",
  14826. "type": "string"
  14827. },
  14828. "unitid": {
  14829. "description": "单位id(取品类上的单位id)",
  14830. "type": "integer"
  14831. },
  14832. "updatetime": {
  14833. "description": "更新时间",
  14834. "type": "string"
  14835. },
  14836. "userid": {
  14837. "description": "所属机构ID",
  14838. "type": "integer"
  14839. },
  14840. "wrstandardcode": {
  14841. "description": "品类代码",
  14842. "type": "string"
  14843. },
  14844. "wrstandardid": {
  14845. "description": "品类ID",
  14846. "type": "integer"
  14847. },
  14848. "wrstandardname": {
  14849. "description": "品类名称",
  14850. "type": "string"
  14851. }
  14852. }
  14853. },
  14854. "models.Ermcp3ExposureContractDetail": {
  14855. "type": "object",
  14856. "properties": {
  14857. "biztype": {
  14858. "description": "业务类型 1-套保 2-套利",
  14859. "type": "integer"
  14860. },
  14861. "brandname": {
  14862. "description": "品牌名称",
  14863. "type": "string"
  14864. },
  14865. "buyuserid": {
  14866. "description": "采购方id",
  14867. "type": "integer"
  14868. },
  14869. "buyusername": {
  14870. "description": "采购方名称",
  14871. "type": "string"
  14872. },
  14873. "contractno": {
  14874. "description": "合同编号",
  14875. "type": "string"
  14876. },
  14877. "contracttype": {
  14878. "description": "现货合同类型 - 1:采购 -1:销售",
  14879. "type": "integer"
  14880. },
  14881. "convertratio": {
  14882. "description": "折算系数(套保品种)",
  14883. "type": "number"
  14884. },
  14885. "curqty": {
  14886. "description": "今定价量",
  14887. "type": "number"
  14888. },
  14889. "deliverygoodscode": {
  14890. "description": "现货商品代码",
  14891. "type": "string"
  14892. },
  14893. "deliverygoodsid": {
  14894. "description": "现货商品id",
  14895. "type": "integer"
  14896. },
  14897. "deliverygoodsname": {
  14898. "description": "现货商品名称",
  14899. "type": "string"
  14900. },
  14901. "diffqty": {
  14902. "description": "套保品种今变动量",
  14903. "type": "number"
  14904. },
  14905. "enumdicname": {
  14906. "description": "单位名称",
  14907. "type": "string"
  14908. },
  14909. "middlegoodscode": {
  14910. "description": "套保品种代码",
  14911. "type": "string"
  14912. },
  14913. "middlegoodsid": {
  14914. "description": "套保品种id",
  14915. "type": "integer"
  14916. },
  14917. "middlegoodsname": {
  14918. "description": "套保品种名称",
  14919. "type": "string"
  14920. },
  14921. "needarbitrageratio": {
  14922. "description": "应套利比例",
  14923. "type": "number"
  14924. },
  14925. "needhedgeratio": {
  14926. "description": "应套保比例",
  14927. "type": "number"
  14928. },
  14929. "pricedqty": {
  14930. "description": "已定价量",
  14931. "type": "number"
  14932. },
  14933. "qty": {
  14934. "description": "合同量",
  14935. "type": "number"
  14936. },
  14937. "selluserid": {
  14938. "description": "销售方id",
  14939. "type": "integer"
  14940. },
  14941. "sellusername": {
  14942. "description": "销售方名称",
  14943. "type": "string"
  14944. },
  14945. "spotcontractid": {
  14946. "description": "合同id",
  14947. "type": "string"
  14948. },
  14949. "tradedate": {
  14950. "description": "交易日",
  14951. "type": "string"
  14952. },
  14953. "unitid": {
  14954. "description": "品类单位id",
  14955. "type": "integer"
  14956. },
  14957. "userid": {
  14958. "description": "机构id",
  14959. "type": "integer"
  14960. },
  14961. "wrstandardcode": {
  14962. "description": "品类代码",
  14963. "type": "string"
  14964. },
  14965. "wrstandardid": {
  14966. "description": "品类id",
  14967. "type": "integer"
  14968. },
  14969. "wrstandardname": {
  14970. "description": "品类名称",
  14971. "type": "string"
  14972. }
  14973. }
  14974. },
  14975. "models.Ermcp3ExposureDetail": {
  14976. "type": "object",
  14977. "properties": {
  14978. "areauserid": {
  14979. "description": "机构ID",
  14980. "type": "integer"
  14981. },
  14982. "changeQty": {
  14983. "description": "套保变动量",
  14984. "type": "number"
  14985. },
  14986. "contracttype": {
  14987. "description": "现货合同类型 - 1:采购 -1:销售",
  14988. "type": "integer"
  14989. },
  14990. "convertfactor": {
  14991. "description": "标仓系数",
  14992. "type": "number"
  14993. },
  14994. "convertratio": {
  14995. "description": "套保系数",
  14996. "type": "number"
  14997. },
  14998. "createtime": {
  14999. "description": "时间",
  15000. "type": "string"
  15001. },
  15002. "deliverygoodscode": {
  15003. "description": "现货品种代码",
  15004. "type": "string"
  15005. },
  15006. "deliverygoodsid": {
  15007. "description": "现货品种id",
  15008. "type": "integer"
  15009. },
  15010. "deliverygoodsname": {
  15011. "description": "现货品种名称",
  15012. "type": "string"
  15013. },
  15014. "enumdicname": {
  15015. "description": "现货商品单位名称",
  15016. "type": "string"
  15017. },
  15018. "logtype": {
  15019. "description": "类型 - 1:套保计划 2:现货合同",
  15020. "type": "integer"
  15021. },
  15022. "mgunitid": {
  15023. "description": "套保品种单位id",
  15024. "type": "integer"
  15025. },
  15026. "mgunitidname": {
  15027. "description": "套保品种单位名称",
  15028. "type": "string"
  15029. },
  15030. "middlegoodsId": {
  15031. "description": "套保商品id",
  15032. "type": "integer"
  15033. },
  15034. "middlegoodscode": {
  15035. "description": "套保商品代码",
  15036. "type": "string"
  15037. },
  15038. "middlegoodsname": {
  15039. "description": "套保商品名称",
  15040. "type": "string"
  15041. },
  15042. "qty": {
  15043. "description": "数量",
  15044. "type": "number"
  15045. },
  15046. "relateNo": {
  15047. "description": "现货合同/套保计划编号",
  15048. "type": "string"
  15049. }
  15050. }
  15051. },
  15052. "models.Ermcp3ExposureHedgeplanDetail": {
  15053. "type": "object",
  15054. "properties": {
  15055. "biztype": {
  15056. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  15057. "type": "integer"
  15058. },
  15059. "changqty": {
  15060. "description": "应套保总量变化量",
  15061. "type": "number"
  15062. },
  15063. "contracttype": {
  15064. "description": "计划类型 - 1:采购 -1:销售",
  15065. "type": "integer"
  15066. },
  15067. "convertratio": {
  15068. "description": "折算系数(套保品种)",
  15069. "type": "number"
  15070. },
  15071. "deliverygoodscode": {
  15072. "description": "现货商品代码",
  15073. "type": "string"
  15074. },
  15075. "deliverygoodsid": {
  15076. "description": "现货商品id",
  15077. "type": "integer"
  15078. },
  15079. "deliverygoodsname": {
  15080. "description": "现货商吕名称",
  15081. "type": "string"
  15082. },
  15083. "dgunitid": {
  15084. "description": "现货商品单位id",
  15085. "type": "integer"
  15086. },
  15087. "dgunitidname": {
  15088. "description": "单位名称(现货商品)",
  15089. "type": "string"
  15090. },
  15091. "diffqty": {
  15092. "description": "套保品种今变动量",
  15093. "type": "number"
  15094. },
  15095. "enumdicname": {
  15096. "description": "单位名称(品类)",
  15097. "type": "string"
  15098. },
  15099. "hedgeplanid": {
  15100. "description": "套保计划id",
  15101. "type": "string"
  15102. },
  15103. "hedgeplanno": {
  15104. "description": "套保计划编号",
  15105. "type": "string"
  15106. },
  15107. "hedgeplanstatus": {
  15108. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15109. "type": "integer"
  15110. },
  15111. "mgunitidname": {
  15112. "description": "单位名称(套保商品)",
  15113. "type": "string"
  15114. },
  15115. "middlegoodscode": {
  15116. "description": "套保品种代码",
  15117. "type": "string"
  15118. },
  15119. "middlegoodsid": {
  15120. "description": "套保品种id",
  15121. "type": "integer"
  15122. },
  15123. "middlegoodsname": {
  15124. "description": "套保品种名称",
  15125. "type": "string"
  15126. },
  15127. "needarbitrageratio": {
  15128. "description": "应套利比例",
  15129. "type": "number"
  15130. },
  15131. "needhedgeratio": {
  15132. "description": "应套保比例",
  15133. "type": "number"
  15134. },
  15135. "pricedqty": {
  15136. "description": "已定价量",
  15137. "type": "number"
  15138. },
  15139. "qty": {
  15140. "description": "合同量",
  15141. "type": "number"
  15142. },
  15143. "tradedate": {
  15144. "description": "交易日(登记日)",
  15145. "type": "string"
  15146. },
  15147. "unitid": {
  15148. "description": "品类单位id",
  15149. "type": "integer"
  15150. },
  15151. "userid": {
  15152. "description": "机构id",
  15153. "type": "integer"
  15154. },
  15155. "wrstandardcode": {
  15156. "description": "品类代码",
  15157. "type": "string"
  15158. },
  15159. "wrstandardid": {
  15160. "description": "品类id",
  15161. "type": "integer"
  15162. },
  15163. "wrstandardname": {
  15164. "description": "品类名称",
  15165. "type": "string"
  15166. }
  15167. }
  15168. },
  15169. "models.Ermcp3ExpourseReport": {
  15170. "type": "object",
  15171. "properties": {
  15172. "accountid": {
  15173. "description": "期货账户ID (作废, 默认为0)",
  15174. "type": "integer"
  15175. },
  15176. "accountname": {
  15177. "description": "机构名称",
  15178. "type": "string"
  15179. },
  15180. "arbitrageqty": {
  15181. "description": "套利量",
  15182. "type": "number"
  15183. },
  15184. "areauserid": {
  15185. "description": "所属机构\\交易用户ID",
  15186. "type": "integer"
  15187. },
  15188. "begindate": {
  15189. "description": "开始交易日",
  15190. "type": "string"
  15191. },
  15192. "buyfutureqty": {
  15193. "description": "买入期货数量",
  15194. "type": "number"
  15195. },
  15196. "buyplanqty": {
  15197. "description": "采购计划数量",
  15198. "type": "number"
  15199. },
  15200. "buypricedqty": {
  15201. "description": "采购合同已定价数量",
  15202. "type": "number"
  15203. },
  15204. "cycletime": {
  15205. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15206. "type": "string"
  15207. },
  15208. "cycletype": {
  15209. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15210. "type": "integer"
  15211. },
  15212. "diffexposure": {
  15213. "description": "变动量(套保敞口)",
  15214. "type": "number"
  15215. },
  15216. "difffutuqty": {
  15217. "description": "变动量(期货)",
  15218. "type": "number"
  15219. },
  15220. "diffhedgeqty": {
  15221. "description": "变动量(现货应套保总量)",
  15222. "type": "number"
  15223. },
  15224. "diffmgqtya": {
  15225. "description": "套保变动量",
  15226. "type": "number"
  15227. },
  15228. "diffmgqtyb": {
  15229. "description": "套利变动量",
  15230. "type": "number"
  15231. },
  15232. "diffqty": {
  15233. "description": "变动量(总敞口)",
  15234. "type": "number"
  15235. },
  15236. "diffspotqty": {
  15237. "description": "变动量(现货)",
  15238. "type": "number"
  15239. },
  15240. "enddate": {
  15241. "description": "结束交易日",
  15242. "type": "string"
  15243. },
  15244. "enumdicname": {
  15245. "description": "单位名称",
  15246. "type": "string"
  15247. },
  15248. "hedgeqty": {
  15249. "description": "套保量",
  15250. "type": "number"
  15251. },
  15252. "mgneedhedgeratio": {
  15253. "description": "套保比例(套保品的)",
  15254. "type": "number"
  15255. },
  15256. "middlegoodsid": {
  15257. "description": "套保品种ID",
  15258. "type": "integer"
  15259. },
  15260. "middlegoodsname": {
  15261. "description": "套保商品名称",
  15262. "type": "string"
  15263. },
  15264. "middlgoodscode": {
  15265. "description": "套保商品代码",
  15266. "type": "string"
  15267. },
  15268. "needarbitrageqty": {
  15269. "description": "应套利量",
  15270. "type": "number"
  15271. },
  15272. "needarbitrageratio": {
  15273. "description": "套利比例(套保品的)",
  15274. "type": "number"
  15275. },
  15276. "needhedgeexposoure": {
  15277. "description": "应套保敞口(套保敞口)",
  15278. "type": "number"
  15279. },
  15280. "needhedgeqty": {
  15281. "description": "应套保量",
  15282. "type": "number"
  15283. },
  15284. "needhedgeratio": {
  15285. "description": "应套保敞口比例",
  15286. "type": "number"
  15287. },
  15288. "oriarbitrageqty": {
  15289. "description": "期初套利量",
  15290. "type": "number"
  15291. },
  15292. "oribuyfutureqty": {
  15293. "description": "期初买入期货数量",
  15294. "type": "number"
  15295. },
  15296. "oribuyplanqty": {
  15297. "description": "期初采购计划数量",
  15298. "type": "number"
  15299. },
  15300. "oribuypricedqty": {
  15301. "description": "期初采购合同已定价数量",
  15302. "type": "number"
  15303. },
  15304. "orihedgeqty": {
  15305. "description": "期初套保量",
  15306. "type": "number"
  15307. },
  15308. "orineedarbitrageqty": {
  15309. "description": "期初应套利量",
  15310. "type": "number"
  15311. },
  15312. "orineedhedgeexposoure": {
  15313. "description": "期初应套保敞口",
  15314. "type": "number"
  15315. },
  15316. "orineedhedgeqty": {
  15317. "description": "期初应套保量",
  15318. "type": "number"
  15319. },
  15320. "orisellfutureqty": {
  15321. "description": "期初卖出期货数量",
  15322. "type": "number"
  15323. },
  15324. "orisellplanqty": {
  15325. "description": "期初销售计划数量",
  15326. "type": "number"
  15327. },
  15328. "orisellpricedqty": {
  15329. "description": "期初销售合同已定价数量",
  15330. "type": "number"
  15331. },
  15332. "oritotalexposure": {
  15333. "description": "期初实时总敞口",
  15334. "type": "number"
  15335. },
  15336. "oritotalfutureqty": {
  15337. "description": "期初期货头寸总量",
  15338. "type": "number"
  15339. },
  15340. "oritotalneedhedgeqty": {
  15341. "description": "期初应套保总量",
  15342. "type": "number"
  15343. },
  15344. "oritotalspotqty": {
  15345. "description": "期初现货头寸总量",
  15346. "type": "number"
  15347. },
  15348. "reckondate": {
  15349. "description": "日照时期(yyyyMMdd)",
  15350. "type": "string"
  15351. },
  15352. "sellfutureqty": {
  15353. "description": "卖出期货数量",
  15354. "type": "number"
  15355. },
  15356. "sellplanqty": {
  15357. "description": "销售计划数量",
  15358. "type": "number"
  15359. },
  15360. "sellpricedqty": {
  15361. "description": "销售合同已定价数量",
  15362. "type": "number"
  15363. },
  15364. "totalexposure": {
  15365. "description": "实时总敞口(总敞口)",
  15366. "type": "number"
  15367. },
  15368. "totalfutureqty": {
  15369. "description": "期货头寸总量(期货总量)",
  15370. "type": "number"
  15371. },
  15372. "totalhedgeratio": {
  15373. "description": "敞口比例",
  15374. "type": "number"
  15375. },
  15376. "totalneedhedgeqty": {
  15377. "description": "应套保总量(现货应套保总量)",
  15378. "type": "number"
  15379. },
  15380. "totalspotqty": {
  15381. "description": "现货头寸总量",
  15382. "type": "number"
  15383. },
  15384. "unitid": {
  15385. "description": "单位id",
  15386. "type": "integer"
  15387. },
  15388. "updatetime": {
  15389. "description": "更新时间",
  15390. "type": "string"
  15391. }
  15392. }
  15393. },
  15394. "models.Ermcp3FinanceReport": {
  15395. "type": "object",
  15396. "properties": {
  15397. "accountname": {
  15398. "description": "机构名称",
  15399. "type": "string"
  15400. },
  15401. "areauserid": {
  15402. "description": "所属机构\\交易用户ID",
  15403. "type": "integer"
  15404. },
  15405. "begindate": {
  15406. "description": "开始交易日",
  15407. "type": "string"
  15408. },
  15409. "biztype": {
  15410. "description": "业务类型 - 1:套保 2:套利",
  15411. "type": "integer"
  15412. },
  15413. "brandname": {
  15414. "description": "品牌名称",
  15415. "type": "string"
  15416. },
  15417. "buypreinvoicedamount": {
  15418. "description": "采购预收票额(预收票额)",
  15419. "type": "number"
  15420. },
  15421. "buyprepaidamount": {
  15422. "description": "采购预付款额(预付货款额)",
  15423. "type": "number"
  15424. },
  15425. "buytodayinvoiceamount": {
  15426. "description": "采购今收票额(今收票额)",
  15427. "type": "number"
  15428. },
  15429. "buytodayrefundamount": {
  15430. "description": "采购今收退款额(今收退款额)",
  15431. "type": "number"
  15432. },
  15433. "buytodaysettleamount": {
  15434. "description": "采购今付款额(今付货款额)",
  15435. "type": "number"
  15436. },
  15437. "buyuninvoicedamount": {
  15438. "description": "采购应收票额(应收票额)",
  15439. "type": "number"
  15440. },
  15441. "buyunpaidamount": {
  15442. "description": "采购应付款额(应付货款额)",
  15443. "type": "number"
  15444. },
  15445. "currencyid": {
  15446. "description": "结算币种ID",
  15447. "type": "integer"
  15448. },
  15449. "currencyname": {
  15450. "description": "币种名称",
  15451. "type": "string"
  15452. },
  15453. "cycletime": {
  15454. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  15455. "type": "string"
  15456. },
  15457. "cycletype": {
  15458. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  15459. "type": "integer"
  15460. },
  15461. "deliverygoodscode": {
  15462. "description": "现货品种代码",
  15463. "type": "string"
  15464. },
  15465. "deliverygoodsid": {
  15466. "description": "现货品种ID",
  15467. "type": "integer"
  15468. },
  15469. "deliverygoodsname": {
  15470. "description": "现货品种名称",
  15471. "type": "string"
  15472. },
  15473. "enddate": {
  15474. "description": "结束交易日",
  15475. "type": "string"
  15476. },
  15477. "reckondate": {
  15478. "description": "日照时期(yyyyMMdd)",
  15479. "type": "string"
  15480. },
  15481. "sellpreinvoicedamount": {
  15482. "description": "销售预开票额(预开票额)",
  15483. "type": "number"
  15484. },
  15485. "sellprepaidamount": {
  15486. "description": "销售预收款额(预收货款额)",
  15487. "type": "number"
  15488. },
  15489. "selltodayinvoiceamount": {
  15490. "description": "销售今开票额(今开票额)",
  15491. "type": "number"
  15492. },
  15493. "selltodayrefundamount": {
  15494. "description": "销售今付退款额(今付退款额)",
  15495. "type": "number"
  15496. },
  15497. "selltodaysettleamount": {
  15498. "description": "销售今收款额(今收货款额)",
  15499. "type": "number"
  15500. },
  15501. "selluninvoicedamount": {
  15502. "description": "销售应开票额(应开票额)",
  15503. "type": "number"
  15504. },
  15505. "sellunpaidamount": {
  15506. "description": "销售应收款额(应收货款额)",
  15507. "type": "number"
  15508. },
  15509. "spotgoodsbrandid": {
  15510. "description": "现货品牌ID",
  15511. "type": "integer"
  15512. },
  15513. "todaypaysum": {
  15514. "description": "今付款合计",
  15515. "type": "number"
  15516. },
  15517. "todayreceivesum": {
  15518. "description": "今收款合计",
  15519. "type": "number"
  15520. },
  15521. "updatetime": {
  15522. "description": "更新时间",
  15523. "type": "string"
  15524. },
  15525. "wrfactortypeid": {
  15526. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  15527. "type": "integer"
  15528. },
  15529. "wrstandardcode": {
  15530. "description": "品类代码",
  15531. "type": "string"
  15532. },
  15533. "wrstandardid": {
  15534. "description": "现货商品ID",
  15535. "type": "integer"
  15536. },
  15537. "wrstandardname": {
  15538. "description": "品类名称",
  15539. "type": "string"
  15540. }
  15541. }
  15542. },
  15543. "models.Ermcp3Goods": {
  15544. "type": "object",
  15545. "properties": {
  15546. "agreeunit": {
  15547. "description": "合约单位(合约乘数)",
  15548. "type": "number"
  15549. },
  15550. "enumdicname": {
  15551. "description": "单位名称",
  15552. "type": "string"
  15553. },
  15554. "exexchangecode": {
  15555. "description": "交易所代码",
  15556. "type": "string"
  15557. },
  15558. "goodscode": {
  15559. "description": "期货商品代码",
  15560. "type": "string"
  15561. },
  15562. "goodsid": {
  15563. "description": "期货商品id",
  15564. "type": "integer"
  15565. },
  15566. "goodsname": {
  15567. "description": "期货商品名称",
  15568. "type": "string"
  15569. }
  15570. }
  15571. },
  15572. "models.Ermcp3GoodsGroup": {
  15573. "type": "object",
  15574. "required": [
  15575. "areauserid"
  15576. ],
  15577. "properties": {
  15578. "agreeunit": {
  15579. "description": "合约单位",
  15580. "type": "number"
  15581. },
  15582. "areauserid": {
  15583. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  15584. "type": "integer"
  15585. },
  15586. "canshort": {
  15587. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15588. "type": "integer"
  15589. },
  15590. "closepricemode": {
  15591. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15592. "type": "integer"
  15593. },
  15594. "createtime": {
  15595. "description": "创建时间",
  15596. "type": "string"
  15597. },
  15598. "creatorid": {
  15599. "description": "创建人",
  15600. "type": "integer"
  15601. },
  15602. "currencyid": {
  15603. "description": "报价货币ID",
  15604. "type": "integer"
  15605. },
  15606. "decimalplace": {
  15607. "description": "报价小数位",
  15608. "type": "integer"
  15609. },
  15610. "enumdicname": {
  15611. "description": "单位名称",
  15612. "type": "string"
  15613. },
  15614. "excludecfg": {
  15615. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  15616. "type": "integer"
  15617. },
  15618. "exexchangeid": {
  15619. "description": "外部交易所ID[通道交易]",
  15620. "type": "integer"
  15621. },
  15622. "goodsgroupid": {
  15623. "description": "商品组ID(自增ID)",
  15624. "type": "integer"
  15625. },
  15626. "goodsgroupname": {
  15627. "description": "商品组名称",
  15628. "type": "string"
  15629. },
  15630. "goodsgroupstatus": {
  15631. "description": "商品组状态 - 1:正常 2:注销",
  15632. "type": "integer"
  15633. },
  15634. "goodunitid": {
  15635. "description": "报价单位ID",
  15636. "type": "integer"
  15637. },
  15638. "groupcategroyid": {
  15639. "description": "品种分类ID",
  15640. "type": "integer"
  15641. },
  15642. "innerdealmode": {
  15643. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15644. "type": "integer"
  15645. },
  15646. "marketid": {
  15647. "description": "所属市场ID",
  15648. "type": "integer"
  15649. },
  15650. "modifierid": {
  15651. "description": "修改人",
  15652. "type": "integer"
  15653. },
  15654. "modifytime": {
  15655. "description": "修改时间",
  15656. "type": "string"
  15657. },
  15658. "outerdealmode": {
  15659. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15660. "type": "integer"
  15661. },
  15662. "outergroupcode": {
  15663. "description": "外部商品组代码[通道交易]",
  15664. "type": "string"
  15665. },
  15666. "quoteminunit": {
  15667. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15668. "type": "integer"
  15669. },
  15670. "quotesourcegroupid": {
  15671. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15672. "type": "integer"
  15673. },
  15674. "syncgoodsqty": {
  15675. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15676. "type": "integer"
  15677. }
  15678. }
  15679. },
  15680. "models.Ermcp3GoodsGroupEx": {
  15681. "type": "object",
  15682. "properties": {
  15683. "convertratio": {
  15684. "description": "折算系数(品种系数)",
  15685. "type": "number"
  15686. },
  15687. "enumdicname": {
  15688. "description": "单位名称",
  15689. "type": "string"
  15690. },
  15691. "exexchangecode": {
  15692. "description": "交易所代码",
  15693. "type": "string"
  15694. },
  15695. "glist": {
  15696. "description": "合约列表",
  15697. "type": "array",
  15698. "items": {
  15699. "$ref": "#/definitions/models.Ermcp3Goods"
  15700. }
  15701. },
  15702. "goodsgroupid": {
  15703. "description": "商品组id",
  15704. "type": "integer"
  15705. },
  15706. "goodsgroupname": {
  15707. "description": "商品组名称",
  15708. "type": "string"
  15709. },
  15710. "goodsunitid": {
  15711. "description": "单位id",
  15712. "type": "integer"
  15713. },
  15714. "middlegoodsid": {
  15715. "description": "套保商品id",
  15716. "type": "integer"
  15717. }
  15718. }
  15719. },
  15720. "models.Ermcp3HedgePlan": {
  15721. "type": "object",
  15722. "properties": {
  15723. "accountid": {
  15724. "description": "资金账号",
  15725. "type": "integer"
  15726. },
  15727. "areauserid": {
  15728. "description": "用户ID",
  15729. "type": "integer"
  15730. },
  15731. "audittime": {
  15732. "description": "审核时间",
  15733. "type": "string"
  15734. },
  15735. "contracttype": {
  15736. "description": "计划类型 - 1:采购 -1:销售",
  15737. "type": "integer"
  15738. },
  15739. "convertfactor": {
  15740. "description": "标仓系数",
  15741. "type": "number"
  15742. },
  15743. "createtime": {
  15744. "description": "创建时间",
  15745. "type": "string"
  15746. },
  15747. "currencyid": {
  15748. "description": "币种id",
  15749. "type": "integer"
  15750. },
  15751. "currencyname": {
  15752. "description": "币种名称",
  15753. "type": "string"
  15754. },
  15755. "deliverygoodscode": {
  15756. "description": "现货品种代码",
  15757. "type": "string"
  15758. },
  15759. "deliverygoodsid": {
  15760. "description": "现货品种ID",
  15761. "type": "integer"
  15762. },
  15763. "deliverygoodsname": {
  15764. "description": "现货品种名称",
  15765. "type": "string"
  15766. },
  15767. "enumdicname": {
  15768. "description": "单位名称(现货商品)",
  15769. "type": "string"
  15770. },
  15771. "hedgeplanid": {
  15772. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  15773. "type": "string"
  15774. },
  15775. "hedgeplanno": {
  15776. "description": "套保计划编号(名称)",
  15777. "type": "string"
  15778. },
  15779. "hedgeplanstatus": {
  15780. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15781. "type": "integer"
  15782. },
  15783. "planqty": {
  15784. "description": "计划数量",
  15785. "type": "number"
  15786. },
  15787. "plantime": {
  15788. "description": "计划时间",
  15789. "type": "string"
  15790. },
  15791. "producttype": {
  15792. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  15793. "type": "integer"
  15794. },
  15795. "remark": {
  15796. "description": "备注",
  15797. "type": "string"
  15798. },
  15799. "spotgoodsdesc": {
  15800. "description": "商品型号",
  15801. "type": "string"
  15802. },
  15803. "taaccountname": {
  15804. "description": "资金账号名称",
  15805. "type": "string"
  15806. },
  15807. "tradeuserid": {
  15808. "description": "交易用户id",
  15809. "type": "integer"
  15810. },
  15811. "tradeusername": {
  15812. "description": "交易用户名称",
  15813. "type": "string"
  15814. },
  15815. "unitid": {
  15816. "description": "单位id(现货商品)",
  15817. "type": "integer"
  15818. },
  15819. "updatetime": {
  15820. "description": "更新时间",
  15821. "type": "string"
  15822. },
  15823. "wrstandardcode": {
  15824. "description": "品类代码",
  15825. "type": "string"
  15826. },
  15827. "wrstandardid": {
  15828. "description": "品类id",
  15829. "type": "integer"
  15830. },
  15831. "wrstandardname": {
  15832. "description": "品类名称",
  15833. "type": "string"
  15834. },
  15835. "wrunitid": {
  15836. "description": "品类单位id",
  15837. "type": "integer"
  15838. },
  15839. "wrunitidame": {
  15840. "description": "品类单位名称",
  15841. "type": "string"
  15842. }
  15843. }
  15844. },
  15845. "models.Ermcp3MiddleGoodsDetail2": {
  15846. "type": "object",
  15847. "properties": {
  15848. "convertratio": {
  15849. "description": "套保系数(折算系数)",
  15850. "type": "number"
  15851. },
  15852. "gplist": {
  15853. "description": "关联商品组列表",
  15854. "type": "array",
  15855. "items": {
  15856. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15857. }
  15858. },
  15859. "mg": {
  15860. "description": "套保商品信息",
  15861. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15862. }
  15863. }
  15864. },
  15865. "models.Ermcp3MiddleGoodsDetailEx": {
  15866. "type": "object",
  15867. "properties": {
  15868. "dglist": {
  15869. "description": "关联的现货品种列表",
  15870. "type": "array",
  15871. "items": {
  15872. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  15873. }
  15874. },
  15875. "gplist": {
  15876. "description": "关联商品组列表",
  15877. "type": "array",
  15878. "items": {
  15879. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  15880. }
  15881. },
  15882. "mg": {
  15883. "description": "套保商品信息",
  15884. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15885. }
  15886. }
  15887. },
  15888. "models.Ermcp3SellBuyContract": {
  15889. "type": "object",
  15890. "properties": {
  15891. "accountid": {
  15892. "description": "期货账户id",
  15893. "type": "string"
  15894. },
  15895. "accountname": {
  15896. "description": "账户名称",
  15897. "type": "string"
  15898. },
  15899. "attachment": {
  15900. "description": "附件",
  15901. "type": "string"
  15902. },
  15903. "audittime": {
  15904. "description": "审核时间",
  15905. "type": "string"
  15906. },
  15907. "biztype": {
  15908. "description": "业务类型 1-套保 2-套利",
  15909. "type": "integer"
  15910. },
  15911. "brandname": {
  15912. "description": "品牌名称",
  15913. "type": "string"
  15914. },
  15915. "contracctstatus": {
  15916. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  15917. "type": "integer"
  15918. },
  15919. "contractmargin": {
  15920. "description": "合同保证金",
  15921. "type": "number"
  15922. },
  15923. "contractno": {
  15924. "description": "合同编号",
  15925. "type": "string"
  15926. },
  15927. "contracttype": {
  15928. "description": "合同类型 1-采购, -1-销售",
  15929. "type": "integer"
  15930. },
  15931. "convertfactor": {
  15932. "description": "标仓系数(品类)",
  15933. "type": "number"
  15934. },
  15935. "createtime": {
  15936. "description": "创建时间",
  15937. "type": "string"
  15938. },
  15939. "currencyid": {
  15940. "description": "币种id",
  15941. "type": "integer"
  15942. },
  15943. "currencyname": {
  15944. "description": "币种名称",
  15945. "type": "string"
  15946. },
  15947. "daikaiamount": {
  15948. "description": "应收(开)票额",
  15949. "type": "number"
  15950. },
  15951. "deliveryenddate": {
  15952. "description": "交割结束日",
  15953. "type": "string"
  15954. },
  15955. "deliverygoodscode": {
  15956. "description": "现货品种代码",
  15957. "type": "string"
  15958. },
  15959. "deliverygoodsid": {
  15960. "description": "现货商品ID",
  15961. "type": "integer"
  15962. },
  15963. "deliverygoodsname": {
  15964. "description": "现货品种名称",
  15965. "type": "string"
  15966. },
  15967. "deliverystartdate": {
  15968. "description": "交割开始日",
  15969. "type": "string"
  15970. },
  15971. "enddate": {
  15972. "description": "点价结束日",
  15973. "type": "string"
  15974. },
  15975. "enumdicname": {
  15976. "description": "单位名称",
  15977. "type": "string"
  15978. },
  15979. "goodscode": {
  15980. "description": "点价商品代码",
  15981. "type": "string"
  15982. },
  15983. "goodsid": {
  15984. "description": "点价商品ID",
  15985. "type": "integer"
  15986. },
  15987. "goodsname": {
  15988. "description": "点价商品名称",
  15989. "type": "string"
  15990. },
  15991. "invoiceamount": {
  15992. "description": "已开票额",
  15993. "type": "number"
  15994. },
  15995. "loanamount": {
  15996. "description": "贷款总额=已定价额+调整金额",
  15997. "type": "number"
  15998. },
  15999. "margin": {
  16000. "description": "保证金",
  16001. "type": "number"
  16002. },
  16003. "meruserid": {
  16004. "description": "跟单员id",
  16005. "type": "integer"
  16006. },
  16007. "meruserlogincode": {
  16008. "description": "跟单员登录代码",
  16009. "type": "string"
  16010. },
  16011. "nickname": {
  16012. "description": "账户昵称",
  16013. "type": "string"
  16014. },
  16015. "payamount": {
  16016. "description": "已收付额(收款或付款)",
  16017. "type": "number"
  16018. },
  16019. "preinvoiceamount": {
  16020. "description": "预收(开)票额",
  16021. "type": "number"
  16022. },
  16023. "prepayamount": {
  16024. "description": "预收付额",
  16025. "type": "number"
  16026. },
  16027. "price": {
  16028. "description": "价格",
  16029. "type": "number"
  16030. },
  16031. "pricedamount": {
  16032. "description": "已定价额",
  16033. "type": "number"
  16034. },
  16035. "pricedavg": {
  16036. "description": "已点均价",
  16037. "type": "number"
  16038. },
  16039. "pricedqty": {
  16040. "description": "已定价量",
  16041. "type": "number"
  16042. },
  16043. "pricemove": {
  16044. "description": "升贴水",
  16045. "type": "number"
  16046. },
  16047. "pricetype": {
  16048. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  16049. "type": "integer"
  16050. },
  16051. "producttype": {
  16052. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  16053. "type": "integer"
  16054. },
  16055. "qty": {
  16056. "description": "合同量",
  16057. "type": "number"
  16058. },
  16059. "reckonadjustamount": {
  16060. "description": "调整金额",
  16061. "type": "number"
  16062. },
  16063. "reckonedamount": {
  16064. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  16065. "type": "number"
  16066. },
  16067. "reckonotheramount": {
  16068. "description": "其它费用",
  16069. "type": "number"
  16070. },
  16071. "reckonrealqty": {
  16072. "description": "已确定量",
  16073. "type": "number"
  16074. },
  16075. "remark": {
  16076. "description": "备注",
  16077. "type": "string"
  16078. },
  16079. "saleuserid": {
  16080. "description": "业务员id",
  16081. "type": "integer"
  16082. },
  16083. "saleuserlogincode": {
  16084. "description": "业务员登录代码",
  16085. "type": "string"
  16086. },
  16087. "spotcontractid": {
  16088. "description": "合同ID",
  16089. "type": "string"
  16090. },
  16091. "spotgoodsbrandid": {
  16092. "description": "现货品牌ID(DGFactoryItem表的ID)",
  16093. "type": "integer"
  16094. },
  16095. "spotgoodsdesc": {
  16096. "description": "商品型号(商品规格)",
  16097. "type": "string"
  16098. },
  16099. "startdate": {
  16100. "description": "点价开始日",
  16101. "type": "string"
  16102. },
  16103. "totalamount": {
  16104. "description": "合计总额",
  16105. "type": "number"
  16106. },
  16107. "tradeuserid": {
  16108. "description": "交易员id",
  16109. "type": "integer"
  16110. },
  16111. "tradeuserlogincode": {
  16112. "description": "交易员登录代码",
  16113. "type": "string"
  16114. },
  16115. "tradeusername": {
  16116. "description": "交易员名称",
  16117. "type": "string"
  16118. },
  16119. "unpayamount": {
  16120. "description": "应收付款额(应支付或应收款)",
  16121. "type": "number"
  16122. },
  16123. "unpricedqty": {
  16124. "description": "未定价量",
  16125. "type": "number"
  16126. },
  16127. "unsureqty": {
  16128. "description": "未确定量",
  16129. "type": "number"
  16130. },
  16131. "userid": {
  16132. "description": "机构ID",
  16133. "type": "integer"
  16134. },
  16135. "wrstandardcode": {
  16136. "description": "品类代码",
  16137. "type": "string"
  16138. },
  16139. "wrstandardid": {
  16140. "description": "品类ID",
  16141. "type": "integer"
  16142. },
  16143. "wrstandardname": {
  16144. "description": "品类名称",
  16145. "type": "string"
  16146. }
  16147. }
  16148. },
  16149. "models.Ermcp3SpotGoodsPrice": {
  16150. "type": "object",
  16151. "properties": {
  16152. "areauserid": {
  16153. "description": "所属机构id",
  16154. "type": "integer"
  16155. },
  16156. "brandname": {
  16157. "description": "品牌名称",
  16158. "type": "string"
  16159. },
  16160. "currencyid": {
  16161. "description": "报价货币ID",
  16162. "type": "integer"
  16163. },
  16164. "currencyname": {
  16165. "description": "币种名称",
  16166. "type": "string"
  16167. },
  16168. "deliverygoodscode": {
  16169. "description": "现货商品代码",
  16170. "type": "string"
  16171. },
  16172. "deliverygoodsid": {
  16173. "description": "现货商品id",
  16174. "type": "integer"
  16175. },
  16176. "deliverygoodsname": {
  16177. "description": "现货商品名称",
  16178. "type": "string"
  16179. },
  16180. "enumdicname": {
  16181. "description": "现货商品单位名称",
  16182. "type": "string"
  16183. },
  16184. "gbenumdicname": {
  16185. "description": "品类单位名称",
  16186. "type": "string"
  16187. },
  16188. "gmunitid": {
  16189. "description": "品类单位id",
  16190. "type": "integer"
  16191. },
  16192. "isvalid": {
  16193. "description": "是否有效 - 0:无效 1:有效",
  16194. "type": "integer"
  16195. },
  16196. "operateid": {
  16197. "description": "最后操作人",
  16198. "type": "integer"
  16199. },
  16200. "operatesrc": {
  16201. "description": "最后操作来源 - 1:管理端 2:终端",
  16202. "type": "integer"
  16203. },
  16204. "operatetime": {
  16205. "description": "最后操作时间",
  16206. "type": "string"
  16207. },
  16208. "operatorname": {
  16209. "description": "操作人名称",
  16210. "type": "string"
  16211. },
  16212. "spotgoodsbrandid": {
  16213. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16214. "type": "integer"
  16215. },
  16216. "spotgoodsprice": {
  16217. "description": "现货价格",
  16218. "type": "number"
  16219. },
  16220. "tradedate": {
  16221. "description": "交易日(yyyyMMdd)",
  16222. "type": "string"
  16223. },
  16224. "unitid": {
  16225. "description": "现货商品单位id",
  16226. "type": "integer"
  16227. },
  16228. "wrstandardcode": {
  16229. "description": "品类代码",
  16230. "type": "string"
  16231. },
  16232. "wrstandardid": {
  16233. "description": "现货品类ID(通用则为0)",
  16234. "type": "integer"
  16235. },
  16236. "wrstandardname": {
  16237. "description": "品类名称",
  16238. "type": "string"
  16239. }
  16240. }
  16241. },
  16242. "models.Ermcp3SpotGoodsPriceLog": {
  16243. "type": "object",
  16244. "properties": {
  16245. "areauserid": {
  16246. "description": "所属机构id",
  16247. "type": "integer"
  16248. },
  16249. "brandname": {
  16250. "description": "品牌名称",
  16251. "type": "string"
  16252. },
  16253. "currencyid": {
  16254. "description": "报价货币ID",
  16255. "type": "integer"
  16256. },
  16257. "deliverygoodscode": {
  16258. "description": "现货商品代码",
  16259. "type": "string"
  16260. },
  16261. "deliverygoodsid": {
  16262. "description": "现货商品id",
  16263. "type": "integer"
  16264. },
  16265. "deliverygoodsname": {
  16266. "description": "现货商品名称",
  16267. "type": "string"
  16268. },
  16269. "enumdicname": {
  16270. "description": "现货商品单位名称",
  16271. "type": "string"
  16272. },
  16273. "gbenumdicname": {
  16274. "description": "品类单位名称",
  16275. "type": "string"
  16276. },
  16277. "gmunitid": {
  16278. "description": "品类单位id",
  16279. "type": "integer"
  16280. },
  16281. "logid": {
  16282. "description": "日志id",
  16283. "type": "integer"
  16284. },
  16285. "operateid": {
  16286. "description": "最后操作人",
  16287. "type": "integer"
  16288. },
  16289. "operatesrc": {
  16290. "description": "最后操作来源 - 1:管理端 2:终端",
  16291. "type": "integer"
  16292. },
  16293. "operatetime": {
  16294. "description": "最后操作时间",
  16295. "type": "string"
  16296. },
  16297. "operatorname": {
  16298. "description": "操作人名称",
  16299. "type": "string"
  16300. },
  16301. "spotgoodsbrandid": {
  16302. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  16303. "type": "integer"
  16304. },
  16305. "spotgoodsprice": {
  16306. "description": "现货价格",
  16307. "type": "number"
  16308. },
  16309. "tradedate": {
  16310. "description": "交易日(yyyyMMdd)",
  16311. "type": "string"
  16312. },
  16313. "unitid": {
  16314. "description": "现货商品单位id",
  16315. "type": "integer"
  16316. },
  16317. "wrstandardcode": {
  16318. "description": "品类代码",
  16319. "type": "string"
  16320. },
  16321. "wrstandardid": {
  16322. "description": "现货品类ID(通用则为0)",
  16323. "type": "integer"
  16324. },
  16325. "wrstandardname": {
  16326. "description": "品类名称",
  16327. "type": "string"
  16328. }
  16329. }
  16330. },
  16331. "models.Ermcp3Wrstandard": {
  16332. "type": "object",
  16333. "properties": {
  16334. "areauserid": {
  16335. "description": "所属机构",
  16336. "type": "integer"
  16337. },
  16338. "convertfactor": {
  16339. "description": "标仓系数",
  16340. "type": "number"
  16341. },
  16342. "createtime": {
  16343. "description": "创建时间",
  16344. "type": "string"
  16345. },
  16346. "creatorid": {
  16347. "description": "创建人",
  16348. "type": "integer"
  16349. },
  16350. "deliverygoodsid": {
  16351. "description": "现货品种ID",
  16352. "type": "integer"
  16353. },
  16354. "enumdicname": {
  16355. "description": "品类单位名称",
  16356. "type": "string"
  16357. },
  16358. "isvalid": {
  16359. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  16360. "type": "integer"
  16361. },
  16362. "minivalue": {
  16363. "description": "最小变动值",
  16364. "type": "integer"
  16365. },
  16366. "minivaluedp": {
  16367. "description": "最小变动值小数位",
  16368. "type": "integer"
  16369. },
  16370. "realminivalue": {
  16371. "description": "实际最小变动值",
  16372. "type": "integer"
  16373. },
  16374. "realminivaluedp": {
  16375. "description": "实际最小变动值小数位",
  16376. "type": "integer"
  16377. },
  16378. "remark": {
  16379. "description": "备注",
  16380. "type": "string"
  16381. },
  16382. "unitid": {
  16383. "description": "品类单位ID",
  16384. "type": "integer"
  16385. },
  16386. "updatetime": {
  16387. "description": "更新时间",
  16388. "type": "string"
  16389. },
  16390. "wrstandardcode": {
  16391. "description": "品类代码",
  16392. "type": "string"
  16393. },
  16394. "wrstandardid": {
  16395. "description": "品类ID(SEQ_WRSTANDARD)",
  16396. "type": "integer"
  16397. },
  16398. "wrstandardname": {
  16399. "description": "品类名称",
  16400. "type": "string"
  16401. }
  16402. }
  16403. },
  16404. "models.ErmcpBizGroupEx": {
  16405. "type": "object",
  16406. "properties": {
  16407. "acclist": {
  16408. "description": "账号列表",
  16409. "type": "array",
  16410. "items": {
  16411. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  16412. }
  16413. },
  16414. "bizgroupid": {
  16415. "description": "业务分组id",
  16416. "type": "integer"
  16417. },
  16418. "biztype": {
  16419. "description": "业务类型 1-套保 2-套利",
  16420. "type": "integer"
  16421. },
  16422. "wrlist": {
  16423. "description": "现货商品表",
  16424. "type": "array",
  16425. "items": {
  16426. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  16427. }
  16428. }
  16429. }
  16430. },
  16431. "models.ErmcpBizGroupSpotGoods": {
  16432. "type": "object",
  16433. "properties": {
  16434. "areauserid": {
  16435. "description": "所属机构id",
  16436. "type": "integer"
  16437. },
  16438. "bizgroupid": {
  16439. "description": "分组id",
  16440. "type": "integer"
  16441. },
  16442. "biztype": {
  16443. "description": "业务类型 1-套保 2-套利",
  16444. "type": "integer"
  16445. },
  16446. "deliverygoodscode": {
  16447. "description": "现货商品代码",
  16448. "type": "string"
  16449. },
  16450. "deliverygoodsid": {
  16451. "description": "现货商品id",
  16452. "type": "integer"
  16453. },
  16454. "deliverygoodsname": {
  16455. "description": "现货商品名称",
  16456. "type": "string"
  16457. },
  16458. "unitid": {
  16459. "description": "现货商品单位id",
  16460. "type": "integer"
  16461. }
  16462. }
  16463. },
  16464. "models.ErmcpBizGroupTaAccount": {
  16465. "type": "object",
  16466. "properties": {
  16467. "accountid": {
  16468. "description": "账号id",
  16469. "type": "integer"
  16470. },
  16471. "accountname": {
  16472. "description": "账号名称",
  16473. "type": "string"
  16474. },
  16475. "areauserid": {
  16476. "description": "所属机构id",
  16477. "type": "integer"
  16478. },
  16479. "bizgroupid": {
  16480. "description": "业务分组id",
  16481. "type": "integer"
  16482. },
  16483. "ismain": {
  16484. "description": "是否主账号 1-是 0-否",
  16485. "type": "integer"
  16486. }
  16487. }
  16488. },
  16489. "models.ErmcpDGFactoryItem": {
  16490. "type": "object",
  16491. "properties": {
  16492. "areauserid": {
  16493. "description": "用户id",
  16494. "type": "integer"
  16495. },
  16496. "deliverygoodsid": {
  16497. "description": "现货品种ID",
  16498. "type": "integer"
  16499. },
  16500. "dgfactoryitemid": {
  16501. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  16502. "type": "integer"
  16503. },
  16504. "dgfactoryitemtypeid": {
  16505. "description": "要素项类型",
  16506. "type": "integer"
  16507. },
  16508. "dgfactoryitemvalue": {
  16509. "description": "要素项值(类型为仓库时填写仓库名称)",
  16510. "type": "string"
  16511. },
  16512. "isvalid": {
  16513. "description": "是否有效 - 0:无效 1:有效",
  16514. "type": "integer"
  16515. },
  16516. "orderindex": {
  16517. "description": "顺序",
  16518. "type": "integer"
  16519. },
  16520. "warehouseid": {
  16521. "description": "仓库ID(类型为仓库时填写)",
  16522. "type": "integer"
  16523. }
  16524. }
  16525. },
  16526. "models.ErmcpDeliveryGoods": {
  16527. "type": "object",
  16528. "properties": {
  16529. "agreeunit": {
  16530. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  16531. "type": "integer"
  16532. },
  16533. "areauserid": {
  16534. "description": "所属机构",
  16535. "type": "integer"
  16536. },
  16537. "auditflag": {
  16538. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  16539. "type": "integer"
  16540. },
  16541. "categoryid": {
  16542. "description": "类别ID(SEQ_WRCATEGORY)",
  16543. "type": "integer"
  16544. },
  16545. "deliverygoodscode": {
  16546. "description": "现货品种代码",
  16547. "type": "string"
  16548. },
  16549. "deliverygoodsid": {
  16550. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  16551. "type": "integer"
  16552. },
  16553. "deliverygoodsname": {
  16554. "description": "现货品种名称",
  16555. "type": "string"
  16556. },
  16557. "deliverygoodstype": {
  16558. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  16559. "type": "integer"
  16560. },
  16561. "dgstatus": {
  16562. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  16563. "type": "integer"
  16564. },
  16565. "enumdicname": {
  16566. "description": "现货品种单位名称",
  16567. "type": "string"
  16568. },
  16569. "goodsunitid": {
  16570. "description": "现货品种单位ID",
  16571. "type": "integer"
  16572. },
  16573. "isvalid": {
  16574. "description": "是否有效 - 0:无效 1:有效",
  16575. "type": "integer"
  16576. },
  16577. "qtydecimalplace": {
  16578. "description": "成交量小数位",
  16579. "type": "integer"
  16580. },
  16581. "remark": {
  16582. "description": "备注",
  16583. "type": "string"
  16584. },
  16585. "standardqty": {
  16586. "description": "标准数量(库位数量) [标准品特有]",
  16587. "type": "integer"
  16588. },
  16589. "standardqtyrange": {
  16590. "description": "标准数量偏差范围 [标准品特有]",
  16591. "type": "integer"
  16592. }
  16593. }
  16594. },
  16595. "models.ErmcpDeliveryGoodsDetail2": {
  16596. "type": "object",
  16597. "properties": {
  16598. "convertratio": {
  16599. "description": "套保系数(折算系数)",
  16600. "type": "number"
  16601. },
  16602. "data": {
  16603. "description": "现货商品基本信息(交割品种)",
  16604. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16605. },
  16606. "gblist": {
  16607. "description": "品牌列表",
  16608. "type": "array",
  16609. "items": {
  16610. "$ref": "#/definitions/models.Ermcp3Brand"
  16611. }
  16612. },
  16613. "gmlist": {
  16614. "description": "品类列表(仓单标准)",
  16615. "type": "array",
  16616. "items": {
  16617. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16618. }
  16619. }
  16620. }
  16621. },
  16622. "models.ErmcpDeliveryGoodsDetailEx": {
  16623. "type": "object",
  16624. "properties": {
  16625. "data": {
  16626. "description": "现货商品基本信息(交割品种)",
  16627. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  16628. },
  16629. "gblist": {
  16630. "description": "品牌列表",
  16631. "type": "array",
  16632. "items": {
  16633. "$ref": "#/definitions/models.Ermcp3Brand"
  16634. }
  16635. },
  16636. "gmlist": {
  16637. "description": "品类列表(仓单标准)",
  16638. "type": "array",
  16639. "items": {
  16640. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  16641. }
  16642. },
  16643. "mgList": {
  16644. "description": "套保列表",
  16645. "type": "array",
  16646. "items": {
  16647. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  16648. }
  16649. }
  16650. }
  16651. },
  16652. "models.ErmcpFuturesCompany": {
  16653. "type": "object",
  16654. "properties": {
  16655. "brokerid": {
  16656. "description": "经纪公司代码",
  16657. "type": "string"
  16658. },
  16659. "channeladdress": {
  16660. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  16661. "type": "string"
  16662. },
  16663. "channelid": {
  16664. "description": "对冲渠道ID",
  16665. "type": "string"
  16666. },
  16667. "createtime": {
  16668. "description": "创建时间",
  16669. "type": "string"
  16670. },
  16671. "creatorid": {
  16672. "description": "创建人",
  16673. "type": "string"
  16674. },
  16675. "fcid": {
  16676. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  16677. "type": "integer"
  16678. },
  16679. "fcname": {
  16680. "description": "期货公司名称",
  16681. "type": "string"
  16682. },
  16683. "isvalid": {
  16684. "description": "是否有效 - 0:无效 1:有效",
  16685. "type": "integer"
  16686. },
  16687. "mhpaddress": {
  16688. "description": "MHP服务地址(IP:Port)",
  16689. "type": "string"
  16690. },
  16691. "riskrulegroupid": {
  16692. "description": "风控规则组ID",
  16693. "type": "string"
  16694. },
  16695. "tradefeetmpid": {
  16696. "description": "手续费模板ID[TradeConfigTmpType为2]",
  16697. "type": "string"
  16698. },
  16699. "trademargintmpid": {
  16700. "description": "保证金模板ID [TradeConfigTmpType为1]",
  16701. "type": "string"
  16702. },
  16703. "traderatetmpid": {
  16704. "description": "汇率模板ID[TradeConfigTmpType为3]",
  16705. "type": "string"
  16706. },
  16707. "updatetime": {
  16708. "description": "更新时间",
  16709. "type": "string"
  16710. },
  16711. "updatorid": {
  16712. "description": "更新人",
  16713. "type": "string"
  16714. }
  16715. }
  16716. },
  16717. "models.ErmcpGGConvertCfg": {
  16718. "type": "object",
  16719. "properties": {
  16720. "convertratio": {
  16721. "description": "折算系数",
  16722. "type": "number"
  16723. },
  16724. "destgoodsgroupid": {
  16725. "description": "目标品种ID",
  16726. "type": "integer"
  16727. },
  16728. "dstcode": {
  16729. "description": "目录品种代码",
  16730. "type": "string"
  16731. },
  16732. "dstexchangecode": {
  16733. "description": "目标期货交易所",
  16734. "type": "string"
  16735. },
  16736. "dstname": {
  16737. "description": "目标品种名称",
  16738. "type": "string"
  16739. },
  16740. "dstunitid": {
  16741. "description": "目标品种单位ID",
  16742. "type": "integer"
  16743. },
  16744. "dstunitidname": {
  16745. "description": "目标品种单位名称",
  16746. "type": "string"
  16747. },
  16748. "modifytime": {
  16749. "description": "修改时间",
  16750. "type": "string"
  16751. },
  16752. "srccode": {
  16753. "description": "源品种代码",
  16754. "type": "string"
  16755. },
  16756. "srcexchangecode": {
  16757. "description": "源期货交易所",
  16758. "type": "string"
  16759. },
  16760. "srcgoodsgroupid": {
  16761. "description": "源品种ID",
  16762. "type": "integer"
  16763. },
  16764. "srcname": {
  16765. "description": "源品种名称",
  16766. "type": "string"
  16767. },
  16768. "srcunitid": {
  16769. "description": "源品种单位ID",
  16770. "type": "integer"
  16771. },
  16772. "srcunitidname": {
  16773. "description": "源品种单位名称",
  16774. "type": "string"
  16775. }
  16776. }
  16777. },
  16778. "models.ErmcpGoods": {
  16779. "type": "object",
  16780. "required": [
  16781. "goodscode",
  16782. "goodsid",
  16783. "goodsname",
  16784. "marketid"
  16785. ],
  16786. "properties": {
  16787. "agreeunit": {
  16788. "description": "合约单位",
  16789. "type": "number"
  16790. },
  16791. "auditaccountid": {
  16792. "description": "审核操作员账号",
  16793. "type": "integer"
  16794. },
  16795. "audittime": {
  16796. "description": "审核时间",
  16797. "type": "string"
  16798. },
  16799. "cancelaccountid": {
  16800. "description": "注销操作员账号",
  16801. "type": "integer"
  16802. },
  16803. "canceltime": {
  16804. "description": "注销时间",
  16805. "type": "string"
  16806. },
  16807. "closepricemode": {
  16808. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16809. "type": "integer"
  16810. },
  16811. "closepriceparam": {
  16812. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16813. "type": "number"
  16814. },
  16815. "createtime": {
  16816. "description": "创建时间",
  16817. "type": "string"
  16818. },
  16819. "creatorid": {
  16820. "description": "创建人",
  16821. "type": "integer"
  16822. },
  16823. "currencyid": {
  16824. "description": "报价货币ID",
  16825. "type": "integer"
  16826. },
  16827. "cutmode": {
  16828. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16829. "type": "integer"
  16830. },
  16831. "decimalplace": {
  16832. "description": "报价小数位",
  16833. "type": "integer"
  16834. },
  16835. "delistingdate": {
  16836. "description": "商品退市时间(状态:退市) -- 已作废",
  16837. "type": "string"
  16838. },
  16839. "delistingmode": {
  16840. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  16841. "type": "integer"
  16842. },
  16843. "deliveryflag": {
  16844. "description": "交割标志 - 0:不可交割 1:可交割",
  16845. "type": "integer"
  16846. },
  16847. "forceclosemode": {
  16848. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  16849. "type": "integer"
  16850. },
  16851. "forceclosevalue": {
  16852. "description": "定期强平参数 [收益权]",
  16853. "type": "integer"
  16854. },
  16855. "goodscode": {
  16856. "description": "商品代码(内部)",
  16857. "type": "string"
  16858. },
  16859. "goodscurrencyid": {
  16860. "description": "合约货币ID",
  16861. "type": "integer"
  16862. },
  16863. "goodsgroupid": {
  16864. "description": "所属商品组ID",
  16865. "type": "integer"
  16866. },
  16867. "goodsid": {
  16868. "description": "商品ID(自增ID SEQ_GOODS)",
  16869. "type": "integer"
  16870. },
  16871. "goodsname": {
  16872. "description": "商品名称",
  16873. "type": "string"
  16874. },
  16875. "goodsquotetype": {
  16876. "description": "合约报价类型: 1-直接报价 2-间接报价",
  16877. "type": "integer"
  16878. },
  16879. "goodsstatus": {
  16880. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16881. "type": "integer"
  16882. },
  16883. "goodstradetype": {
  16884. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  16885. "type": "integer"
  16886. },
  16887. "goodunitid": {
  16888. "description": "报价单位ID",
  16889. "type": "integer"
  16890. },
  16891. "hasquoter": {
  16892. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  16893. "type": "integer"
  16894. },
  16895. "hqprotecttime": {
  16896. "description": "行情保护时间(秒)",
  16897. "type": "integer"
  16898. },
  16899. "innerdealmode": {
  16900. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  16901. "type": "integer"
  16902. },
  16903. "isbuylimited": {
  16904. "description": "是否限制建仓量 - 0:不限制 1:限制",
  16905. "type": "integer"
  16906. },
  16907. "lasttradedate": {
  16908. "description": "最后交易日期(状态:待退市)",
  16909. "type": "string"
  16910. },
  16911. "listingdate": {
  16912. "description": "交易开始日期",
  16913. "type": "string"
  16914. },
  16915. "marketid": {
  16916. "description": "所属市场ID",
  16917. "type": "integer"
  16918. },
  16919. "modifierid": {
  16920. "description": "修改人",
  16921. "type": "integer"
  16922. },
  16923. "modifystatus": {
  16924. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  16925. "type": "integer"
  16926. },
  16927. "modifytime": {
  16928. "description": "修改时间",
  16929. "type": "string"
  16930. },
  16931. "outerdealmode": {
  16932. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  16933. "type": "integer"
  16934. },
  16935. "outgoodscode": {
  16936. "description": "商品代码(外部)",
  16937. "type": "string"
  16938. },
  16939. "qtydecimalplace": {
  16940. "description": "成交量小数位",
  16941. "type": "integer"
  16942. },
  16943. "quotegear": {
  16944. "description": "行情档位(1-10)",
  16945. "type": "integer"
  16946. },
  16947. "quoteminunit": {
  16948. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16949. "type": "integer"
  16950. },
  16951. "quoteshowtype": {
  16952. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  16953. "type": "integer"
  16954. },
  16955. "quoteshowtypeinterval": {
  16956. "description": "行情报价间隔时间(秒)(成交价时为0)",
  16957. "type": "integer"
  16958. },
  16959. "relatedgoodsid": {
  16960. "description": "关联参考商品ID",
  16961. "type": "integer"
  16962. },
  16963. "remark": {
  16964. "description": "备注",
  16965. "type": "string"
  16966. }
  16967. }
  16968. },
  16969. "models.ErmcpGoodsBrand": {
  16970. "type": "object",
  16971. "properties": {
  16972. "areauserid": {
  16973. "description": "所属机构",
  16974. "type": "integer"
  16975. },
  16976. "brandid": {
  16977. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  16978. "type": "integer"
  16979. },
  16980. "brandname": {
  16981. "description": "品牌名称",
  16982. "type": "string"
  16983. },
  16984. "createtime": {
  16985. "description": "创建时间",
  16986. "type": "string"
  16987. },
  16988. "creatorid": {
  16989. "description": "创建人",
  16990. "type": "integer"
  16991. },
  16992. "creatorsrc": {
  16993. "description": "创建人来源 - 1:管理端 2:终端",
  16994. "type": "integer"
  16995. },
  16996. "deliverygoodsid": {
  16997. "description": "现货品种ID",
  16998. "type": "integer"
  16999. },
  17000. "isvalid": {
  17001. "description": "是否有效 - 0:无效 1:有效",
  17002. "type": "integer"
  17003. },
  17004. "updatetime": {
  17005. "description": "更新时间",
  17006. "type": "string"
  17007. },
  17008. "updatorid": {
  17009. "description": "更新人",
  17010. "type": "integer"
  17011. },
  17012. "updatorsrc": {
  17013. "description": "更新人来源 - 1:管理端 2:终端",
  17014. "type": "integer"
  17015. },
  17016. "wrstandardid": {
  17017. "description": "现货商品ID",
  17018. "type": "integer"
  17019. }
  17020. }
  17021. },
  17022. "models.ErmcpGoodsModel": {
  17023. "type": "object",
  17024. "properties": {
  17025. "areauserid": {
  17026. "description": "所属机构",
  17027. "type": "integer"
  17028. },
  17029. "convertfactor": {
  17030. "description": "标仓系数",
  17031. "type": "number"
  17032. },
  17033. "createtime": {
  17034. "description": "创建时间",
  17035. "type": "string"
  17036. },
  17037. "creatorid": {
  17038. "description": "创建人",
  17039. "type": "integer"
  17040. },
  17041. "creatorsrc": {
  17042. "description": "创建人来源 - 1:管理端 2:终端",
  17043. "type": "integer"
  17044. },
  17045. "deliverygoodsid": {
  17046. "description": "现货品种ID",
  17047. "type": "integer"
  17048. },
  17049. "isvalid": {
  17050. "description": "是否有效 - 0:无效 1:有效",
  17051. "type": "integer"
  17052. },
  17053. "modelid": {
  17054. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  17055. "type": "integer"
  17056. },
  17057. "modelname": {
  17058. "description": "型号名称",
  17059. "type": "string"
  17060. },
  17061. "updatetime": {
  17062. "description": "更新时间",
  17063. "type": "string"
  17064. },
  17065. "updatorid": {
  17066. "description": "更新人",
  17067. "type": "integer"
  17068. },
  17069. "updatorsrc": {
  17070. "description": "更新人来源 - 1:管理端 2:终端",
  17071. "type": "integer"
  17072. },
  17073. "wrstandardid": {
  17074. "description": "现货商品ID",
  17075. "type": "integer"
  17076. }
  17077. }
  17078. },
  17079. "models.ErmcpHisExposure": {
  17080. "type": "object",
  17081. "properties": {
  17082. "needhedgeexposoure": {
  17083. "description": "应套保敞口",
  17084. "type": "number"
  17085. },
  17086. "reckondate": {
  17087. "description": "日照时期(yyyyMMdd)",
  17088. "type": "string"
  17089. },
  17090. "totalexposure": {
  17091. "description": "总敞口",
  17092. "type": "number"
  17093. }
  17094. }
  17095. },
  17096. "models.ErmcpLoginTaAccount": {
  17097. "type": "object",
  17098. "properties": {
  17099. "accountid": {
  17100. "description": "账号id",
  17101. "type": "integer"
  17102. },
  17103. "accountname": {
  17104. "description": "账号名称",
  17105. "type": "string"
  17106. }
  17107. }
  17108. },
  17109. "models.ErmcpLoginUser": {
  17110. "type": "object",
  17111. "properties": {
  17112. "acclist": {
  17113. "description": "关联资金账号",
  17114. "type": "array",
  17115. "items": {
  17116. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  17117. }
  17118. },
  17119. "accountname": {
  17120. "description": "用户名称",
  17121. "type": "string"
  17122. },
  17123. "clientroleid": {
  17124. "description": "角色id(usertype=2)",
  17125. "type": "integer"
  17126. },
  17127. "createtime": {
  17128. "description": "创建时间",
  17129. "type": "string"
  17130. },
  17131. "logincode": {
  17132. "description": "登录代码",
  17133. "type": "string"
  17134. },
  17135. "loginid": {
  17136. "description": "登录id(LOGINID)",
  17137. "type": "integer"
  17138. },
  17139. "loginname": {
  17140. "description": "登录名称(loginaccount表中的accountname字段)",
  17141. "type": "string"
  17142. },
  17143. "loginstatus": {
  17144. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  17145. "type": "integer"
  17146. },
  17147. "memberuserid": {
  17148. "description": "所属会员id",
  17149. "type": "integer"
  17150. },
  17151. "mobile": {
  17152. "description": "手机号",
  17153. "type": "string"
  17154. },
  17155. "modifytime": {
  17156. "description": "修改时间",
  17157. "type": "string"
  17158. },
  17159. "password": {
  17160. "description": "密码(不可解密)",
  17161. "type": "string"
  17162. },
  17163. "rolename": {
  17164. "description": "角色名称",
  17165. "type": "string"
  17166. },
  17167. "rolestatus": {
  17168. "description": "角色状态 1-启用 2-停用",
  17169. "type": "integer"
  17170. },
  17171. "roletype": {
  17172. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  17173. "type": "string"
  17174. },
  17175. "userid": {
  17176. "description": "用户id",
  17177. "type": "integer"
  17178. },
  17179. "usertype": {
  17180. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  17181. "type": "integer"
  17182. }
  17183. }
  17184. },
  17185. "models.ErmcpLoginUserEx": {
  17186. "type": "object",
  17187. "properties": {
  17188. "accountstatus": {
  17189. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  17190. "type": "integer"
  17191. },
  17192. "mobile": {
  17193. "description": "手机号",
  17194. "type": "string"
  17195. },
  17196. "querytype": {
  17197. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  17198. "type": "integer"
  17199. },
  17200. "roleid": {
  17201. "description": "角色id(交易账户-\u003e用户id)",
  17202. "type": "integer"
  17203. },
  17204. "rolename": {
  17205. "description": "角色名称(交易账户-\u003e用户名称)",
  17206. "type": "string"
  17207. },
  17208. "userlist": {
  17209. "description": "用户列表",
  17210. "type": "array",
  17211. "items": {
  17212. "$ref": "#/definitions/models.ErmcpLoginUser"
  17213. }
  17214. },
  17215. "usertype": {
  17216. "description": "用户类型 2-机构 7-企业成员(云平台)",
  17217. "type": "integer"
  17218. }
  17219. }
  17220. },
  17221. "models.ErmcpMiddleGoodsModel": {
  17222. "type": "object",
  17223. "properties": {
  17224. "areauserid": {
  17225. "description": "机构用户ID",
  17226. "type": "integer"
  17227. },
  17228. "createtime": {
  17229. "description": "修改时间",
  17230. "type": "string"
  17231. },
  17232. "enumdicname": {
  17233. "description": "单位名称",
  17234. "type": "string"
  17235. },
  17236. "evaluateratio": {
  17237. "description": "估价系数",
  17238. "type": "number"
  17239. },
  17240. "goodsgroupid": {
  17241. "description": "关联期货品种ID",
  17242. "type": "integer"
  17243. },
  17244. "goodsunitid": {
  17245. "description": "单位ID",
  17246. "type": "integer"
  17247. },
  17248. "isvalid": {
  17249. "description": "状态 0-无效(停用) 1-有效(正常)",
  17250. "type": "integer"
  17251. },
  17252. "middlegoodscode": {
  17253. "description": "套保品种代码",
  17254. "type": "string"
  17255. },
  17256. "middlegoodsid": {
  17257. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  17258. "type": "integer"
  17259. },
  17260. "middlegoodsname": {
  17261. "description": "套保品种名称",
  17262. "type": "string"
  17263. },
  17264. "modifytime": {
  17265. "description": "修改时间",
  17266. "type": "string"
  17267. },
  17268. "needarbitrageratio": {
  17269. "description": "套利比例",
  17270. "type": "number"
  17271. },
  17272. "needhedgeratio": {
  17273. "description": "套保比率",
  17274. "type": "number"
  17275. },
  17276. "qtydecimalplace": {
  17277. "description": "数量小数位",
  17278. "type": "integer"
  17279. },
  17280. "relatedgoodsid": {
  17281. "description": "关联交易商品ID",
  17282. "type": "integer"
  17283. },
  17284. "relatedgoodstype": {
  17285. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  17286. "type": "integer"
  17287. },
  17288. "remark": {
  17289. "description": "备注",
  17290. "type": "string"
  17291. }
  17292. }
  17293. },
  17294. "models.ErmcpRole": {
  17295. "type": "object",
  17296. "properties": {
  17297. "areauserid": {
  17298. "description": "所属机构",
  17299. "type": "integer"
  17300. },
  17301. "autoid": {
  17302. "description": "角色ID(自增ID)",
  17303. "type": "integer"
  17304. },
  17305. "modifierid": {
  17306. "description": "修改人(创建人)",
  17307. "type": "integer"
  17308. },
  17309. "modifiername": {
  17310. "description": "修改人名称",
  17311. "type": "string"
  17312. },
  17313. "modifytime": {
  17314. "description": "修改时间(创建时间)",
  17315. "type": "string"
  17316. },
  17317. "rolename": {
  17318. "description": "角色名称",
  17319. "type": "string"
  17320. },
  17321. "rolestatus": {
  17322. "description": "角色状态 - 1:启用 2:停用",
  17323. "type": "integer"
  17324. },
  17325. "roletype": {
  17326. "description": "角色类型 - 1- 管理端 2- 交易端",
  17327. "type": "integer"
  17328. }
  17329. }
  17330. },
  17331. "models.ErmcpRoleMenu": {
  17332. "type": "object",
  17333. "properties": {
  17334. "iconame": {
  17335. "description": "菜单图标",
  17336. "type": "string"
  17337. },
  17338. "ishadrole": {
  17339. "description": "是否有权限",
  17340. "type": "boolean"
  17341. },
  17342. "menutype": {
  17343. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  17344. "type": "integer"
  17345. },
  17346. "parentcode": {
  17347. "description": "上级资源代码",
  17348. "type": "string"
  17349. },
  17350. "remark": {
  17351. "description": "菜单备注",
  17352. "type": "string"
  17353. },
  17354. "resourcecode": {
  17355. "description": "菜单代码",
  17356. "type": "string"
  17357. },
  17358. "resourcelevel": {
  17359. "description": "级别",
  17360. "type": "integer"
  17361. },
  17362. "resourcename": {
  17363. "description": "菜单名称",
  17364. "type": "string"
  17365. },
  17366. "roleid": {
  17367. "description": "角色id",
  17368. "type": "integer"
  17369. },
  17370. "sort": {
  17371. "description": "排序",
  17372. "type": "integer"
  17373. },
  17374. "url": {
  17375. "description": "URL",
  17376. "type": "string"
  17377. },
  17378. "userid": {
  17379. "description": "用户id",
  17380. "type": "integer"
  17381. }
  17382. }
  17383. },
  17384. "models.ErmcpRoleMenuEx": {
  17385. "type": "object",
  17386. "properties": {
  17387. "menu": {
  17388. "description": "父级菜单",
  17389. "$ref": "#/definitions/models.ErmcpRoleMenu"
  17390. },
  17391. "subMenu": {
  17392. "description": "子级菜单",
  17393. "type": "array",
  17394. "items": {
  17395. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  17396. }
  17397. }
  17398. }
  17399. },
  17400. "models.ErmcpTaAccount": {
  17401. "type": "object",
  17402. "properties": {
  17403. "accountid": {
  17404. "description": "账户id",
  17405. "type": "integer"
  17406. },
  17407. "accountname": {
  17408. "description": "账户名称",
  17409. "type": "string"
  17410. },
  17411. "currencyid": {
  17412. "description": "币种id",
  17413. "type": "integer"
  17414. },
  17415. "hedgeaccountcode": {
  17416. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17417. "type": "string"
  17418. },
  17419. "ismain": {
  17420. "description": "是否主账户 0-否 1-是",
  17421. "type": "integer"
  17422. },
  17423. "parentaccountid": {
  17424. "description": "父账户id",
  17425. "type": "integer"
  17426. },
  17427. "relateduserid": {
  17428. "description": "关联userid",
  17429. "type": "integer"
  17430. },
  17431. "tradestatus": {
  17432. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17433. "type": "integer"
  17434. },
  17435. "userid": {
  17436. "description": "用户id",
  17437. "type": "integer"
  17438. }
  17439. }
  17440. },
  17441. "models.ErmcpTaAccountEx": {
  17442. "type": "object",
  17443. "properties": {
  17444. "mainAcc": {
  17445. "description": "主账号",
  17446. "$ref": "#/definitions/models.ErmcpTaAccountM"
  17447. },
  17448. "subacclist": {
  17449. "description": "子账号列表",
  17450. "type": "array",
  17451. "items": {
  17452. "$ref": "#/definitions/models.ErmcpTaAccount"
  17453. }
  17454. }
  17455. }
  17456. },
  17457. "models.ErmcpTaAccountInfo": {
  17458. "type": "object",
  17459. "properties": {
  17460. "accountid": {
  17461. "description": "资金账户ID",
  17462. "type": "integer"
  17463. },
  17464. "accountname": {
  17465. "description": "账户名称",
  17466. "type": "string"
  17467. },
  17468. "balance": {
  17469. "description": "期初余额",
  17470. "type": "number"
  17471. },
  17472. "capitalbalance": {
  17473. "description": "本金余额[外部子账户实际出入金余额]",
  17474. "type": "number"
  17475. },
  17476. "closepl": {
  17477. "description": "今日平仓盈亏",
  17478. "type": "number"
  17479. },
  17480. "creditdecrease": {
  17481. "description": "今日授信减少",
  17482. "type": "number"
  17483. },
  17484. "creditincrease": {
  17485. "description": "今日授信增加",
  17486. "type": "number"
  17487. },
  17488. "curdebt": {
  17489. "description": "期末欠款",
  17490. "type": "number"
  17491. },
  17492. "currencyid": {
  17493. "description": "货币ID",
  17494. "type": "integer"
  17495. },
  17496. "currentbalance": {
  17497. "description": "期末余额",
  17498. "type": "number"
  17499. },
  17500. "freezecharge": {
  17501. "description": "手续费冻结",
  17502. "type": "number"
  17503. },
  17504. "freezemargin": {
  17505. "description": "冻结保证金",
  17506. "type": "number"
  17507. },
  17508. "fromaccountid": {
  17509. "description": "所属上级账户",
  17510. "type": "integer"
  17511. },
  17512. "inamount": {
  17513. "description": "今日入金金额(包括三方入金)",
  17514. "type": "number"
  17515. },
  17516. "ismain": {
  17517. "description": "是否母账号 0:不是母账户 1:是母账户",
  17518. "type": "integer"
  17519. },
  17520. "mortgagecredit": {
  17521. "description": "授信金额",
  17522. "type": "number"
  17523. },
  17524. "oridebt": {
  17525. "description": "期初欠款",
  17526. "type": "number"
  17527. },
  17528. "orifreezecharge": {
  17529. "description": "期初手续费冻结",
  17530. "type": "number"
  17531. },
  17532. "orifreezemargin": {
  17533. "description": "期初冻结保证金",
  17534. "type": "number"
  17535. },
  17536. "orimortgagecredit": {
  17537. "description": "期初授信金额",
  17538. "type": "number"
  17539. },
  17540. "oriothercredit": {
  17541. "description": "期初其它授信金额",
  17542. "type": "number"
  17543. },
  17544. "oriotherfreezemargin": {
  17545. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  17546. "type": "number"
  17547. },
  17548. "orioutamountfreeze": {
  17549. "description": "期初出金冻结",
  17550. "type": "number"
  17551. },
  17552. "oriusedmargin": {
  17553. "description": "期初占用保证金",
  17554. "type": "number"
  17555. },
  17556. "othercredit": {
  17557. "description": "其它授信金额",
  17558. "type": "number"
  17559. },
  17560. "othercreditdecrease": {
  17561. "description": "今日其它授信减少",
  17562. "type": "number"
  17563. },
  17564. "othercreditincrease": {
  17565. "description": "今日其它授信增加",
  17566. "type": "number"
  17567. },
  17568. "otherfreezemargin": {
  17569. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  17570. "type": "number"
  17571. },
  17572. "outamount": {
  17573. "description": "今日出金金额(包括三方出金)",
  17574. "type": "number"
  17575. },
  17576. "outamountfreeze": {
  17577. "description": "出金冻结",
  17578. "type": "number"
  17579. },
  17580. "outthreshold": {
  17581. "description": "出金阈值",
  17582. "type": "number"
  17583. },
  17584. "parentaccountid": {
  17585. "description": "所属根账号",
  17586. "type": "integer"
  17587. },
  17588. "paycharge": {
  17589. "description": "今日手续费支出",
  17590. "type": "number"
  17591. },
  17592. "relateduserid": {
  17593. "description": "关联用户",
  17594. "type": "integer"
  17595. },
  17596. "signstatus": {
  17597. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  17598. "type": "integer"
  17599. },
  17600. "sublevelpath": {
  17601. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  17602. "type": "string"
  17603. },
  17604. "taaccounttype": {
  17605. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  17606. "type": "integer"
  17607. },
  17608. "thirdinamount": {
  17609. "description": "今日三方入金",
  17610. "type": "number"
  17611. },
  17612. "thirdoutamount": {
  17613. "description": "今日三方出金",
  17614. "type": "number"
  17615. },
  17616. "tradestatus": {
  17617. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17618. "type": "integer"
  17619. },
  17620. "transferamount": {
  17621. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  17622. "type": "number"
  17623. },
  17624. "usedmargin": {
  17625. "description": "占用保证金",
  17626. "type": "number"
  17627. },
  17628. "userid": {
  17629. "description": "用户ID",
  17630. "type": "integer"
  17631. }
  17632. }
  17633. },
  17634. "models.ErmcpTaAccountM": {
  17635. "type": "object",
  17636. "properties": {
  17637. "accountid": {
  17638. "description": "账户id",
  17639. "type": "integer"
  17640. },
  17641. "accountname": {
  17642. "description": "账户名称",
  17643. "type": "string"
  17644. },
  17645. "currencyid": {
  17646. "description": "币种id",
  17647. "type": "integer"
  17648. },
  17649. "fcid": {
  17650. "description": "期货公司id",
  17651. "type": "integer"
  17652. },
  17653. "fcname": {
  17654. "description": "期货公司代码",
  17655. "type": "string"
  17656. },
  17657. "hedgeaccountcode": {
  17658. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  17659. "type": "string"
  17660. },
  17661. "ismain": {
  17662. "description": "是否主账户 0-否 1-是",
  17663. "type": "integer"
  17664. },
  17665. "parentaccountid": {
  17666. "description": "父账户id",
  17667. "type": "integer"
  17668. },
  17669. "relateduserid": {
  17670. "description": "关联userid",
  17671. "type": "integer"
  17672. },
  17673. "tradestatus": {
  17674. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  17675. "type": "integer"
  17676. },
  17677. "userid": {
  17678. "description": "用户id",
  17679. "type": "integer"
  17680. }
  17681. }
  17682. },
  17683. "models.ErmcpTradeConfigTMP": {
  17684. "type": "object",
  17685. "properties": {
  17686. "areauserid": {
  17687. "description": "所属机构",
  17688. "type": "integer"
  17689. },
  17690. "basiccurrencyid": {
  17691. "description": "基本币种ID[汇率] - 目标币种",
  17692. "type": "integer"
  17693. },
  17694. "mainaccountid": {
  17695. "description": "主账户ID",
  17696. "type": "integer"
  17697. },
  17698. "modifierid": {
  17699. "description": "修改人",
  17700. "type": "integer"
  17701. },
  17702. "remark": {
  17703. "description": "备注",
  17704. "type": "string"
  17705. },
  17706. "tradeconfigtmpid": {
  17707. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  17708. "type": "integer"
  17709. },
  17710. "tradeconfigtmpname": {
  17711. "description": "交易配置模板名称",
  17712. "type": "string"
  17713. },
  17714. "tradeconfigtmptype": {
  17715. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  17716. "type": "integer"
  17717. },
  17718. "updatetime": {
  17719. "description": "更新时间",
  17720. "type": "string"
  17721. }
  17722. }
  17723. },
  17724. "models.Externalexchange": {
  17725. "type": "object",
  17726. "required": [
  17727. "autoid"
  17728. ],
  17729. "properties": {
  17730. "autoid": {
  17731. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  17732. "type": "integer"
  17733. },
  17734. "exchangefullname": {
  17735. "description": "外部交易所全称",
  17736. "type": "string"
  17737. },
  17738. "exexchangecode": {
  17739. "description": "外部交易所代码",
  17740. "type": "string"
  17741. },
  17742. "exexchangename": {
  17743. "description": "外部交易所名称(简称)",
  17744. "type": "string"
  17745. },
  17746. "ismarketprice": {
  17747. "description": "是否支持市价 - 0:不支持 1:支持",
  17748. "type": "integer"
  17749. },
  17750. "quotegear": {
  17751. "description": "行情档位(1-10)",
  17752. "type": "integer"
  17753. },
  17754. "showbrokerflag": {
  17755. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  17756. "type": "integer"
  17757. },
  17758. "updatetime": {
  17759. "description": "更新时间",
  17760. "type": "string"
  17761. }
  17762. }
  17763. },
  17764. "models.Funcmenulist": {
  17765. "type": "object",
  17766. "required": [
  17767. "resourcecode"
  17768. ],
  17769. "properties": {
  17770. "iconame": {
  17771. "description": "菜单图标",
  17772. "type": "string"
  17773. },
  17774. "menutype": {
  17775. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  17776. "type": "integer"
  17777. },
  17778. "parentcode": {
  17779. "description": "上级资源代码",
  17780. "type": "string"
  17781. },
  17782. "remark": {
  17783. "description": "备注",
  17784. "type": "string"
  17785. },
  17786. "resourcecode": {
  17787. "description": "资源代码",
  17788. "type": "string"
  17789. },
  17790. "resourcelevel": {
  17791. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  17792. "type": "integer"
  17793. },
  17794. "resourcename": {
  17795. "description": "资源名",
  17796. "type": "string"
  17797. },
  17798. "sort": {
  17799. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  17800. "type": "integer"
  17801. },
  17802. "url": {
  17803. "description": "URL",
  17804. "type": "string"
  17805. }
  17806. }
  17807. },
  17808. "models.Goods": {
  17809. "type": "object",
  17810. "required": [
  17811. "goodscode",
  17812. "goodsid",
  17813. "goodsname",
  17814. "marketid"
  17815. ],
  17816. "properties": {
  17817. "agreeunit": {
  17818. "description": "合约单位",
  17819. "type": "number"
  17820. },
  17821. "auditaccountid": {
  17822. "description": "审核操作员账号",
  17823. "type": "integer"
  17824. },
  17825. "audittime": {
  17826. "description": "审核时间",
  17827. "type": "string"
  17828. },
  17829. "cancelaccountid": {
  17830. "description": "注销操作员账号",
  17831. "type": "integer"
  17832. },
  17833. "canceltime": {
  17834. "description": "注销时间",
  17835. "type": "string"
  17836. },
  17837. "closepricemode": {
  17838. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17839. "type": "integer"
  17840. },
  17841. "closepriceparam": {
  17842. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  17843. "type": "number"
  17844. },
  17845. "createtime": {
  17846. "description": "创建时间",
  17847. "type": "string"
  17848. },
  17849. "creatorid": {
  17850. "description": "创建人",
  17851. "type": "integer"
  17852. },
  17853. "currencyid": {
  17854. "description": "报价货币ID",
  17855. "type": "integer"
  17856. },
  17857. "cutmode": {
  17858. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  17859. "type": "integer"
  17860. },
  17861. "decimalplace": {
  17862. "description": "报价小数位",
  17863. "type": "integer"
  17864. },
  17865. "delistingdate": {
  17866. "description": "商品退市时间(状态:退市) -- 已作废",
  17867. "type": "string"
  17868. },
  17869. "delistingmode": {
  17870. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17871. "type": "integer"
  17872. },
  17873. "deliveryflag": {
  17874. "description": "交割标志 - 0:不可交割 1:可交割",
  17875. "type": "integer"
  17876. },
  17877. "forceclosemode": {
  17878. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17879. "type": "integer"
  17880. },
  17881. "forceclosevalue": {
  17882. "description": "定期强平参数 [收益权]",
  17883. "type": "integer"
  17884. },
  17885. "goodscode": {
  17886. "description": "商品代码(内部)",
  17887. "type": "string"
  17888. },
  17889. "goodscurrencyid": {
  17890. "description": "合约货币ID",
  17891. "type": "integer"
  17892. },
  17893. "goodsgroupid": {
  17894. "description": "所属商品组ID",
  17895. "type": "integer"
  17896. },
  17897. "goodsid": {
  17898. "description": "商品ID(自增ID SEQ_GOODS)",
  17899. "type": "integer"
  17900. },
  17901. "goodsname": {
  17902. "description": "商品名称",
  17903. "type": "string"
  17904. },
  17905. "goodsquotetype": {
  17906. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17907. "type": "integer"
  17908. },
  17909. "goodsstatus": {
  17910. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17911. "type": "integer"
  17912. },
  17913. "goodstradetype": {
  17914. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17915. "type": "integer"
  17916. },
  17917. "goodunitid": {
  17918. "description": "报价单位ID",
  17919. "type": "integer"
  17920. },
  17921. "hasquoter": {
  17922. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17923. "type": "integer"
  17924. },
  17925. "hqprotecttime": {
  17926. "description": "行情保护时间(秒)",
  17927. "type": "integer"
  17928. },
  17929. "innerdealmode": {
  17930. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17931. "type": "integer"
  17932. },
  17933. "isbuylimited": {
  17934. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17935. "type": "integer"
  17936. },
  17937. "lasttradedate": {
  17938. "description": "最后交易日期(状态:待退市)",
  17939. "type": "string"
  17940. },
  17941. "listingdate": {
  17942. "description": "交易开始日期",
  17943. "type": "string"
  17944. },
  17945. "marketid": {
  17946. "description": "所属市场ID",
  17947. "type": "integer"
  17948. },
  17949. "modifierid": {
  17950. "description": "修改人",
  17951. "type": "integer"
  17952. },
  17953. "modifystatus": {
  17954. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17955. "type": "integer"
  17956. },
  17957. "modifytime": {
  17958. "description": "修改时间",
  17959. "type": "string"
  17960. },
  17961. "outerdealmode": {
  17962. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17963. "type": "integer"
  17964. },
  17965. "outgoodscode": {
  17966. "description": "商品代码(外部)",
  17967. "type": "string"
  17968. },
  17969. "qtydecimalplace": {
  17970. "description": "成交量小数位",
  17971. "type": "integer"
  17972. },
  17973. "quotegear": {
  17974. "description": "行情档位(1-10)",
  17975. "type": "integer"
  17976. },
  17977. "quoteminunit": {
  17978. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17979. "type": "integer"
  17980. },
  17981. "quoteshowtype": {
  17982. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17983. "type": "integer"
  17984. },
  17985. "quoteshowtypeinterval": {
  17986. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17987. "type": "integer"
  17988. },
  17989. "remark": {
  17990. "description": "备注",
  17991. "type": "string"
  17992. }
  17993. }
  17994. },
  17995. "models.GoodsIDAndName": {
  17996. "type": "object",
  17997. "required": [
  17998. "goodscode",
  17999. "goodsid",
  18000. "goodsname",
  18001. "marketid"
  18002. ],
  18003. "properties": {
  18004. "goodscode": {
  18005. "description": "商品代码(内部)",
  18006. "type": "string"
  18007. },
  18008. "goodsid": {
  18009. "description": "商品ID(自增ID SEQ_GOODS)",
  18010. "type": "integer"
  18011. },
  18012. "goodsname": {
  18013. "description": "商品名称",
  18014. "type": "string"
  18015. },
  18016. "marketid": {
  18017. "description": "所属市场ID",
  18018. "type": "integer"
  18019. }
  18020. }
  18021. },
  18022. "models.Goodsgroup": {
  18023. "type": "object",
  18024. "required": [
  18025. "goodsgroupid",
  18026. "goodsgroupname",
  18027. "goodsgroupstatus",
  18028. "marketid"
  18029. ],
  18030. "properties": {
  18031. "agreeunit": {
  18032. "description": "合约单位",
  18033. "type": "number"
  18034. },
  18035. "canshort": {
  18036. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  18037. "type": "integer"
  18038. },
  18039. "closepricemode": {
  18040. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  18041. "type": "integer"
  18042. },
  18043. "closepriceparam": {
  18044. "description": "强平最新价浮动比例 - 方式为2时使用",
  18045. "type": "number"
  18046. },
  18047. "createtime": {
  18048. "description": "创建时间",
  18049. "type": "string"
  18050. },
  18051. "creatorid": {
  18052. "description": "创建人",
  18053. "type": "integer"
  18054. },
  18055. "currencyid": {
  18056. "description": "报价货币ID",
  18057. "type": "integer"
  18058. },
  18059. "decimalplace": {
  18060. "description": "报价小数位",
  18061. "type": "integer"
  18062. },
  18063. "exercisetype": {
  18064. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  18065. "type": "integer"
  18066. },
  18067. "exexchangeid": {
  18068. "description": "外部交易所ID[通道交易]",
  18069. "type": "integer"
  18070. },
  18071. "goodsgroupid": {
  18072. "description": "商品组ID(自增ID)",
  18073. "type": "integer"
  18074. },
  18075. "goodsgroupname": {
  18076. "description": "商品组名称",
  18077. "type": "string"
  18078. },
  18079. "goodsgroupstatus": {
  18080. "description": "商品组状态 - 1:正常 2:注销",
  18081. "type": "integer"
  18082. },
  18083. "goodunitid": {
  18084. "description": "报价单位ID",
  18085. "type": "integer"
  18086. },
  18087. "innerdealmode": {
  18088. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  18089. "type": "integer"
  18090. },
  18091. "isbuylimited": {
  18092. "description": "是否限制建仓量 - 0:不限制 1:限制",
  18093. "type": "integer"
  18094. },
  18095. "marketid": {
  18096. "description": "所属市场ID",
  18097. "type": "integer"
  18098. },
  18099. "modifierid": {
  18100. "description": "修改人",
  18101. "type": "integer"
  18102. },
  18103. "modifytime": {
  18104. "description": "修改时间",
  18105. "type": "string"
  18106. },
  18107. "outerdealmode": {
  18108. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  18109. "type": "integer"
  18110. },
  18111. "outergroupcode": {
  18112. "description": "外部商品组代码[通道交易]",
  18113. "type": "string"
  18114. },
  18115. "premiumdecimalplace": {
  18116. "description": "权利金小数位[场外期权]",
  18117. "type": "integer"
  18118. },
  18119. "premiumspreadalgorithm": {
  18120. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  18121. "type": "integer"
  18122. },
  18123. "premiumspreadvalue": {
  18124. "description": "权利金点差值[场外期权]",
  18125. "type": "number"
  18126. },
  18127. "qtydecimalplace": {
  18128. "description": "成交量小数位",
  18129. "type": "integer"
  18130. },
  18131. "quotegear": {
  18132. "description": "行情档位(1-10)",
  18133. "type": "integer"
  18134. },
  18135. "quoteminunit": {
  18136. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18137. "type": "integer"
  18138. },
  18139. "quoterid": {
  18140. "description": "报价商ID[场外期权]",
  18141. "type": "integer"
  18142. },
  18143. "quotesourcegroupid": {
  18144. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  18145. "type": "integer"
  18146. },
  18147. "syncgoodsqty": {
  18148. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  18149. "type": "integer"
  18150. }
  18151. }
  18152. },
  18153. "models.Goodssortbypreposition": {
  18154. "type": "object",
  18155. "required": [
  18156. "goodscode",
  18157. "tradedate"
  18158. ],
  18159. "properties": {
  18160. "goodscode": {
  18161. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  18162. "type": "string"
  18163. },
  18164. "goodsgroupcode": {
  18165. "description": "品种代码",
  18166. "type": "string"
  18167. },
  18168. "prepositionqty": {
  18169. "description": "昨持仓量",
  18170. "type": "integer"
  18171. },
  18172. "sortindex": {
  18173. "description": "排序",
  18174. "type": "integer"
  18175. },
  18176. "tradedate": {
  18177. "description": "交易日",
  18178. "type": "string"
  18179. },
  18180. "updatetime": {
  18181. "description": "更新时间",
  18182. "type": "string"
  18183. }
  18184. }
  18185. },
  18186. "models.Hedgeinnerholderdetail": {
  18187. "type": "object",
  18188. "required": [
  18189. "buyorsell",
  18190. "tradeid"
  18191. ],
  18192. "properties": {
  18193. "accountid": {
  18194. "description": "账号ID",
  18195. "type": "integer"
  18196. },
  18197. "buyorsell": {
  18198. "description": "方向 - 0:买 1:卖",
  18199. "type": "integer"
  18200. },
  18201. "freezeqty": {
  18202. "description": "冻结数量 - 按单平使用",
  18203. "type": "integer"
  18204. },
  18205. "goodsid": {
  18206. "description": "商品ID",
  18207. "type": "integer"
  18208. },
  18209. "holderamount": {
  18210. "description": "持仓金额 [商品币种]",
  18211. "type": "number"
  18212. },
  18213. "holderdays": {
  18214. "description": "剩余冻结天数",
  18215. "type": "integer"
  18216. },
  18217. "holderprice": {
  18218. "description": "持仓价格",
  18219. "type": "number"
  18220. },
  18221. "holderqty": {
  18222. "description": "持仓数量",
  18223. "type": "integer"
  18224. },
  18225. "marketid": {
  18226. "description": "市场ID",
  18227. "type": "integer"
  18228. },
  18229. "openprice": {
  18230. "description": "建仓价格",
  18231. "type": "number"
  18232. },
  18233. "openqty": {
  18234. "description": "建仓数量",
  18235. "type": "integer"
  18236. },
  18237. "parentaccountid": {
  18238. "description": "所属母账户",
  18239. "type": "integer"
  18240. },
  18241. "releaseamount": {
  18242. "description": "释放持仓金额[商品币种]",
  18243. "type": "number"
  18244. },
  18245. "tradeamount": {
  18246. "description": "成交金额[账户]",
  18247. "type": "number"
  18248. },
  18249. "tradedate": {
  18250. "description": "交易日(yyyyMMdd)",
  18251. "type": "string"
  18252. },
  18253. "tradeid": {
  18254. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18255. "type": "string"
  18256. },
  18257. "tradetime": {
  18258. "description": "交易时间",
  18259. "type": "string"
  18260. }
  18261. }
  18262. },
  18263. "models.Hedgemarketopenlog": {
  18264. "type": "object",
  18265. "required": [
  18266. "accountid"
  18267. ],
  18268. "properties": {
  18269. "accountid": {
  18270. "description": "资金账号[外部母账户]",
  18271. "type": "integer"
  18272. },
  18273. "fcname": {
  18274. "description": "期货公司名称",
  18275. "type": "string"
  18276. },
  18277. "handlestatus": {
  18278. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  18279. "type": "integer"
  18280. },
  18281. "marketid": {
  18282. "description": "市场ID",
  18283. "type": "integer"
  18284. },
  18285. "status": {
  18286. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  18287. "type": "integer"
  18288. },
  18289. "tradedate": {
  18290. "description": "交易日(yyyyMMdd)",
  18291. "type": "string"
  18292. },
  18293. "updatetime": {
  18294. "description": "更新时间",
  18295. "type": "string"
  18296. }
  18297. }
  18298. },
  18299. "models.HsbyBuyMyPayOrder": {
  18300. "type": "object",
  18301. "required": [
  18302. "goodscode",
  18303. "goodsname",
  18304. "tradeid",
  18305. "trademode"
  18306. ],
  18307. "properties": {
  18308. "agreeunit": {
  18309. "description": "合约单位",
  18310. "type": "number"
  18311. },
  18312. "buyaccountid": {
  18313. "description": "买方账号ID[报价币种]",
  18314. "type": "integer"
  18315. },
  18316. "buyorderid": {
  18317. "description": "买方委托单号",
  18318. "type": "string"
  18319. },
  18320. "createtime": {
  18321. "description": "创建时间",
  18322. "type": "string"
  18323. },
  18324. "currencysign": {
  18325. "description": "货币符号",
  18326. "type": "string"
  18327. },
  18328. "decimalplace": {
  18329. "description": "报价小数位",
  18330. "type": "integer"
  18331. },
  18332. "goodscode": {
  18333. "description": "商品代码(内部)",
  18334. "type": "string"
  18335. },
  18336. "goodsid": {
  18337. "description": "商品ID",
  18338. "type": "integer"
  18339. },
  18340. "goodsname": {
  18341. "description": "商品名称",
  18342. "type": "string"
  18343. },
  18344. "marketid": {
  18345. "description": "市场ID",
  18346. "type": "integer"
  18347. },
  18348. "offamount": {
  18349. "description": "优惠金额",
  18350. "type": "number"
  18351. },
  18352. "originalamount": {
  18353. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  18354. "type": "number"
  18355. },
  18356. "payamount": {
  18357. "description": "支付金额 = TradeAmount + TradeCharge",
  18358. "type": "number"
  18359. },
  18360. "payflag": {
  18361. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18362. "type": "integer"
  18363. },
  18364. "paylimitedtime": {
  18365. "description": "支付期限",
  18366. "type": "string"
  18367. },
  18368. "paytime": {
  18369. "description": "付款时间",
  18370. "type": "string"
  18371. },
  18372. "picurls1": {
  18373. "description": "预售商品介绍图片[多张用逗号分隔]",
  18374. "type": "string"
  18375. },
  18376. "picurls2": {
  18377. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18378. "type": "string"
  18379. },
  18380. "sellaccountid": {
  18381. "description": "卖方账号ID[报价币种]",
  18382. "type": "integer"
  18383. },
  18384. "sellorderid": {
  18385. "description": "卖方委托单号",
  18386. "type": "string"
  18387. },
  18388. "tradeamount": {
  18389. "description": "成交金额",
  18390. "type": "number"
  18391. },
  18392. "tradecharge": {
  18393. "description": "成交手续费(买方)",
  18394. "type": "number"
  18395. },
  18396. "tradedate": {
  18397. "description": "交易日(yyyyMMdd)",
  18398. "type": "string"
  18399. },
  18400. "tradeid": {
  18401. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18402. "type": "string"
  18403. },
  18404. "trademode": {
  18405. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18406. "type": "integer"
  18407. },
  18408. "tradeprice": {
  18409. "description": "成交价格",
  18410. "type": "number"
  18411. },
  18412. "tradeqty": {
  18413. "description": "成交数量",
  18414. "type": "integer"
  18415. },
  18416. "vendorname1": {
  18417. "description": "预售商品供应商名称",
  18418. "type": "string"
  18419. },
  18420. "vendorname2": {
  18421. "description": "挂牌商品供应商名称",
  18422. "type": "string"
  18423. }
  18424. }
  18425. },
  18426. "models.HsbyBuyMyTradeDetail": {
  18427. "type": "object",
  18428. "required": [
  18429. "accountid",
  18430. "buyorsell",
  18431. "goodscode",
  18432. "goodsid",
  18433. "goodsname",
  18434. "marketid",
  18435. "orderid",
  18436. "qty",
  18437. "time",
  18438. "trademode"
  18439. ],
  18440. "properties": {
  18441. "accountid": {
  18442. "description": "账户ID[报价币种]",
  18443. "type": "integer"
  18444. },
  18445. "agreeunit": {
  18446. "description": "合约单位",
  18447. "type": "number"
  18448. },
  18449. "amount": {
  18450. "description": "金额 = 价格 * 数量 * 合约单位",
  18451. "type": "number"
  18452. },
  18453. "buyorsell": {
  18454. "description": "买卖 - 0:买 1:卖",
  18455. "type": "integer"
  18456. },
  18457. "currencysign": {
  18458. "description": "货币符号",
  18459. "type": "string"
  18460. },
  18461. "decimalplace": {
  18462. "description": "报价小数位",
  18463. "type": "integer"
  18464. },
  18465. "goodscode": {
  18466. "description": "商品代码(内部)",
  18467. "type": "string"
  18468. },
  18469. "goodsid": {
  18470. "description": "商品ID",
  18471. "type": "integer"
  18472. },
  18473. "goodsname": {
  18474. "description": "商品名称",
  18475. "type": "string"
  18476. },
  18477. "marketid": {
  18478. "description": "市场ID",
  18479. "type": "integer"
  18480. },
  18481. "orderamount": {
  18482. "description": "委托金额",
  18483. "type": "number"
  18484. },
  18485. "orderid": {
  18486. "description": "单号(成交单号)",
  18487. "type": "string"
  18488. },
  18489. "picurls1": {
  18490. "description": "预售商品介绍图片[多张用逗号分隔]",
  18491. "type": "string"
  18492. },
  18493. "picurls2": {
  18494. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18495. "type": "string"
  18496. },
  18497. "price": {
  18498. "description": "价格",
  18499. "type": "number"
  18500. },
  18501. "qty": {
  18502. "description": "数量",
  18503. "type": "integer"
  18504. },
  18505. "time": {
  18506. "description": "时间",
  18507. "type": "string"
  18508. },
  18509. "trademode": {
  18510. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18511. "type": "integer"
  18512. },
  18513. "vendorname1": {
  18514. "description": "预售商品供应商名称",
  18515. "type": "string"
  18516. },
  18517. "vendorname2": {
  18518. "description": "挂牌商品供应商名称",
  18519. "type": "string"
  18520. }
  18521. }
  18522. },
  18523. "models.HsbyGoodsOrderDetail": {
  18524. "type": "object",
  18525. "required": [
  18526. "buyorsell",
  18527. "orderid",
  18528. "ordertime"
  18529. ],
  18530. "properties": {
  18531. "buyorsell": {
  18532. "description": "买卖 - 0:买 1:卖",
  18533. "type": "integer"
  18534. },
  18535. "currencysign": {
  18536. "description": "货币符号",
  18537. "type": "string"
  18538. },
  18539. "customername": {
  18540. "description": "客户名称(企业名称),已脱敏",
  18541. "type": "string"
  18542. },
  18543. "enableqty": {
  18544. "description": "可用数量",
  18545. "type": "integer"
  18546. },
  18547. "goodunit": {
  18548. "description": "报价单位",
  18549. "type": "string"
  18550. },
  18551. "orderid": {
  18552. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18553. "type": "string"
  18554. },
  18555. "orderprice": {
  18556. "description": "委托价格",
  18557. "type": "number"
  18558. },
  18559. "ordertime": {
  18560. "description": "委托时间",
  18561. "type": "string"
  18562. }
  18563. }
  18564. },
  18565. "models.HsbyListingGoodsDetail": {
  18566. "type": "object",
  18567. "required": [
  18568. "goodscode",
  18569. "goodsid",
  18570. "goodsname",
  18571. "marketid",
  18572. "trademode"
  18573. ],
  18574. "properties": {
  18575. "agreeunit": {
  18576. "description": "合约单位",
  18577. "type": "number"
  18578. },
  18579. "buymaxqty": {
  18580. "description": "购买上限 [71] - 0为不限",
  18581. "type": "integer"
  18582. },
  18583. "currency": {
  18584. "description": "货币",
  18585. "type": "string"
  18586. },
  18587. "currencysign": {
  18588. "description": "货币符号",
  18589. "type": "string"
  18590. },
  18591. "decimalplace": {
  18592. "description": "报价小数位",
  18593. "type": "integer"
  18594. },
  18595. "desccityid": {
  18596. "description": "目的地(市)ID",
  18597. "type": "integer"
  18598. },
  18599. "descprovinceid": {
  18600. "description": "目的地(省)ID",
  18601. "type": "integer"
  18602. },
  18603. "goodscode": {
  18604. "description": "商品代码(内部)",
  18605. "type": "string"
  18606. },
  18607. "goodsdesc": {
  18608. "description": "商品详情",
  18609. "type": "string"
  18610. },
  18611. "goodsid": {
  18612. "description": "商品ID(自增ID SEQ_GOODS)",
  18613. "type": "integer"
  18614. },
  18615. "goodsname": {
  18616. "description": "商品名称",
  18617. "type": "string"
  18618. },
  18619. "goodsprice": {
  18620. "description": "商品价格",
  18621. "type": "number"
  18622. },
  18623. "hotindex": {
  18624. "description": "景点热度",
  18625. "type": "integer"
  18626. },
  18627. "last": {
  18628. "description": "现价",
  18629. "type": "number"
  18630. },
  18631. "limitdown": {
  18632. "description": "跌停价",
  18633. "type": "number"
  18634. },
  18635. "limitup": {
  18636. "description": "涨停价",
  18637. "type": "number"
  18638. },
  18639. "lotsize": {
  18640. "description": "手数最小变动单位",
  18641. "type": "integer"
  18642. },
  18643. "marketid": {
  18644. "description": "所属市场ID",
  18645. "type": "integer"
  18646. },
  18647. "picurls": {
  18648. "description": "介绍图片[多张用逗号分隔]",
  18649. "type": "string"
  18650. },
  18651. "quoteminunit": {
  18652. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18653. "type": "integer"
  18654. },
  18655. "stepvalue": {
  18656. "description": "价格最小变动单位",
  18657. "type": "number"
  18658. },
  18659. "trademode": {
  18660. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18661. "type": "integer"
  18662. },
  18663. "vendorattr": {
  18664. "description": "供应商附件(多张,逗号分隔)",
  18665. "type": "string"
  18666. },
  18667. "vendorname": {
  18668. "description": "供应商名称",
  18669. "type": "string"
  18670. },
  18671. "vendorphone": {
  18672. "description": "供应商客服电话",
  18673. "type": "string"
  18674. },
  18675. "videourls": {
  18676. "description": "介绍视频[多张用逗号分隔]",
  18677. "type": "string"
  18678. }
  18679. }
  18680. },
  18681. "models.HsbyMarketGoods": {
  18682. "type": "object",
  18683. "required": [
  18684. "accountid",
  18685. "buyorsell",
  18686. "goodscode",
  18687. "goodsid",
  18688. "goodsname",
  18689. "marketid",
  18690. "orderid",
  18691. "trademode"
  18692. ],
  18693. "properties": {
  18694. "accountid": {
  18695. "description": "账户ID[报价币种]",
  18696. "type": "integer"
  18697. },
  18698. "agreeunit": {
  18699. "description": "合约单位",
  18700. "type": "number"
  18701. },
  18702. "buyorsell": {
  18703. "description": "买卖 - 0:买 1:卖",
  18704. "type": "integer"
  18705. },
  18706. "categoryid": {
  18707. "description": "类别ID(WRCATEGORY)",
  18708. "type": "integer"
  18709. },
  18710. "currency": {
  18711. "description": "货币",
  18712. "type": "string"
  18713. },
  18714. "currencysign": {
  18715. "description": "货币符号",
  18716. "type": "string"
  18717. },
  18718. "customername": {
  18719. "description": "卖家名称",
  18720. "type": "string"
  18721. },
  18722. "decimalplace": {
  18723. "description": "报价小数位",
  18724. "type": "integer"
  18725. },
  18726. "goodscode": {
  18727. "description": "商品代码(内部)",
  18728. "type": "string"
  18729. },
  18730. "goodsid": {
  18731. "description": "商品ID",
  18732. "type": "integer"
  18733. },
  18734. "goodsname": {
  18735. "description": "商品名称",
  18736. "type": "string"
  18737. },
  18738. "goodsprice": {
  18739. "description": "商品价格",
  18740. "type": "number"
  18741. },
  18742. "hascoupon": {
  18743. "description": "是否可用优惠卷",
  18744. "type": "boolean"
  18745. },
  18746. "hotindex": {
  18747. "description": "景点热度",
  18748. "type": "integer"
  18749. },
  18750. "marketid": {
  18751. "description": "市场ID",
  18752. "type": "integer"
  18753. },
  18754. "orderid": {
  18755. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18756. "type": "string"
  18757. },
  18758. "orderprice": {
  18759. "description": "委托价格",
  18760. "type": "number"
  18761. },
  18762. "orderstatus": {
  18763. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18764. "type": "integer"
  18765. },
  18766. "picurls": {
  18767. "description": "介绍图片[多张用逗号分隔]",
  18768. "type": "string"
  18769. },
  18770. "quoteminunit": {
  18771. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18772. "type": "integer"
  18773. },
  18774. "sellUserID": {
  18775. "description": "卖方UserID",
  18776. "type": "integer"
  18777. },
  18778. "trademode": {
  18779. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18780. "type": "integer"
  18781. },
  18782. "videourls": {
  18783. "description": "介绍视频[多张用逗号分隔]",
  18784. "type": "string"
  18785. }
  18786. }
  18787. },
  18788. "models.HsbyMarketGoodsDetail": {
  18789. "type": "object",
  18790. "required": [
  18791. "accountid",
  18792. "buyorsell",
  18793. "goodscode",
  18794. "goodsid",
  18795. "goodsname",
  18796. "marketid",
  18797. "orderid",
  18798. "orderqty",
  18799. "trademode"
  18800. ],
  18801. "properties": {
  18802. "accountid": {
  18803. "description": "账户ID[报价币种]",
  18804. "type": "integer"
  18805. },
  18806. "agreeunit": {
  18807. "description": "合约单位",
  18808. "type": "number"
  18809. },
  18810. "buymaxqty": {
  18811. "description": "购买上限 [71] - 0为不限",
  18812. "type": "integer"
  18813. },
  18814. "buyorsell": {
  18815. "description": "买卖 - 0:买 1:卖",
  18816. "type": "integer"
  18817. },
  18818. "cancelqty": {
  18819. "description": "撤单数量",
  18820. "type": "integer"
  18821. },
  18822. "categoryid": {
  18823. "description": "类别ID(WRCATEGORY)",
  18824. "type": "integer"
  18825. },
  18826. "currency": {
  18827. "description": "货币",
  18828. "type": "string"
  18829. },
  18830. "currencysign": {
  18831. "description": "货币符号",
  18832. "type": "string"
  18833. },
  18834. "customername": {
  18835. "description": "卖家名称",
  18836. "type": "string"
  18837. },
  18838. "decimalplace": {
  18839. "description": "报价小数位",
  18840. "type": "integer"
  18841. },
  18842. "goodscode": {
  18843. "description": "商品代码(内部)",
  18844. "type": "string"
  18845. },
  18846. "goodsdesc": {
  18847. "description": "商品详情",
  18848. "type": "string"
  18849. },
  18850. "goodsid": {
  18851. "description": "商品ID",
  18852. "type": "integer"
  18853. },
  18854. "goodsname": {
  18855. "description": "商品名称",
  18856. "type": "string"
  18857. },
  18858. "goodsprice": {
  18859. "description": "商品价格",
  18860. "type": "number"
  18861. },
  18862. "hotindex": {
  18863. "description": "景点热度",
  18864. "type": "integer"
  18865. },
  18866. "lotsize": {
  18867. "description": "手数最小变动单位",
  18868. "type": "integer"
  18869. },
  18870. "marketid": {
  18871. "description": "市场ID",
  18872. "type": "integer"
  18873. },
  18874. "orderid": {
  18875. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18876. "type": "string"
  18877. },
  18878. "orderprice": {
  18879. "description": "委托价格",
  18880. "type": "number"
  18881. },
  18882. "orderqty": {
  18883. "description": "委托数量",
  18884. "type": "integer"
  18885. },
  18886. "orderstatus": {
  18887. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18888. "type": "integer"
  18889. },
  18890. "picurls": {
  18891. "description": "介绍图片[多张用逗号分隔]",
  18892. "type": "string"
  18893. },
  18894. "quoteminunit": {
  18895. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18896. "type": "integer"
  18897. },
  18898. "sellUserID": {
  18899. "description": "卖方UserID",
  18900. "type": "integer"
  18901. },
  18902. "trademode": {
  18903. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18904. "type": "integer"
  18905. },
  18906. "tradeqty": {
  18907. "description": "成交数量",
  18908. "type": "integer"
  18909. },
  18910. "vendorattr": {
  18911. "description": "供应商附件(多张,逗号分隔)",
  18912. "type": "string"
  18913. },
  18914. "vendorname": {
  18915. "description": "供应商名称",
  18916. "type": "string"
  18917. },
  18918. "vendorphone": {
  18919. "description": "供应商客服电话",
  18920. "type": "string"
  18921. },
  18922. "videourls": {
  18923. "description": "介绍视频[多张用逗号分隔]",
  18924. "type": "string"
  18925. }
  18926. }
  18927. },
  18928. "models.HsbyMarketInfo": {
  18929. "type": "object",
  18930. "required": [
  18931. "marketid",
  18932. "marketstatus",
  18933. "trademode"
  18934. ],
  18935. "properties": {
  18936. "marketid": {
  18937. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18938. "type": "integer"
  18939. },
  18940. "marketname": {
  18941. "description": "市场名称",
  18942. "type": "string"
  18943. },
  18944. "marketstatus": {
  18945. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18946. "type": "integer"
  18947. },
  18948. "trademode": {
  18949. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18950. "type": "integer"
  18951. }
  18952. }
  18953. },
  18954. "models.HsbyMyGoods": {
  18955. "type": "object",
  18956. "required": [
  18957. "accountid",
  18958. "goodscode",
  18959. "goodsid",
  18960. "goodsname",
  18961. "marketid",
  18962. "trademode"
  18963. ],
  18964. "properties": {
  18965. "accountid": {
  18966. "description": "账号Id",
  18967. "type": "integer"
  18968. },
  18969. "agreeunit": {
  18970. "description": "合约单位",
  18971. "type": "number"
  18972. },
  18973. "buyaverageprice": {
  18974. "description": "持仓均价",
  18975. "type": "number"
  18976. },
  18977. "buycurholderamount": {
  18978. "description": "买当前持仓总金额[商品币种]",
  18979. "type": "number"
  18980. },
  18981. "buycurpositionqty": {
  18982. "description": "买当前持仓总数量",
  18983. "type": "integer"
  18984. },
  18985. "buymaxqty": {
  18986. "description": "购买上限 [71] - 0为不限",
  18987. "type": "integer"
  18988. },
  18989. "currencysign": {
  18990. "description": "货币符号",
  18991. "type": "string"
  18992. },
  18993. "decimalplace": {
  18994. "description": "报价小数位",
  18995. "type": "integer"
  18996. },
  18997. "enableqty": {
  18998. "description": "可用数量",
  18999. "type": "integer"
  19000. },
  19001. "goodscode": {
  19002. "description": "商品代码(内部)",
  19003. "type": "string"
  19004. },
  19005. "goodsid": {
  19006. "description": "商品Id",
  19007. "type": "integer"
  19008. },
  19009. "goodsname": {
  19010. "description": "商品名称",
  19011. "type": "string"
  19012. },
  19013. "goodsprice": {
  19014. "description": "商品价格",
  19015. "type": "number"
  19016. },
  19017. "goodsstatus": {
  19018. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  19019. "type": "integer"
  19020. },
  19021. "last": {
  19022. "description": "现价(仅使用于挂牌点选)",
  19023. "type": "number"
  19024. },
  19025. "limitdown": {
  19026. "description": "跌停价(仅使用于挂牌点选)",
  19027. "type": "number"
  19028. },
  19029. "limitup": {
  19030. "description": "涨停价(仅使用于挂牌点选)",
  19031. "type": "number"
  19032. },
  19033. "lotsize": {
  19034. "description": "手数最小变动单位",
  19035. "type": "integer"
  19036. },
  19037. "marketid": {
  19038. "description": "所属市场ID",
  19039. "type": "integer"
  19040. },
  19041. "picurls": {
  19042. "description": "介绍图片[多张用逗号分隔]",
  19043. "type": "string"
  19044. },
  19045. "quoteminunit": {
  19046. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19047. "type": "integer"
  19048. },
  19049. "stepvalue": {
  19050. "description": "价格最小变动单位",
  19051. "type": "number"
  19052. },
  19053. "trademode": {
  19054. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19055. "type": "integer"
  19056. }
  19057. }
  19058. },
  19059. "models.HsbyMyPackage": {
  19060. "type": "object",
  19061. "required": [
  19062. "goodscode",
  19063. "goodsname",
  19064. "takeorderid",
  19065. "trademode"
  19066. ],
  19067. "properties": {
  19068. "accountid": {
  19069. "description": "账户ID",
  19070. "type": "integer"
  19071. },
  19072. "address": {
  19073. "description": "提货人详细地址",
  19074. "type": "string"
  19075. },
  19076. "agreeunit": {
  19077. "description": "合约单位",
  19078. "type": "number"
  19079. },
  19080. "amount": {
  19081. "description": "提货金额",
  19082. "type": "number"
  19083. },
  19084. "auditer": {
  19085. "description": "审核人",
  19086. "type": "integer"
  19087. },
  19088. "audittime": {
  19089. "description": "审核时间",
  19090. "type": "string"
  19091. },
  19092. "averageprice": {
  19093. "description": "均价",
  19094. "type": "number"
  19095. },
  19096. "cardnum": {
  19097. "description": "提货人证件号码",
  19098. "type": "string"
  19099. },
  19100. "cardtypeid": {
  19101. "description": "提货人证件类型",
  19102. "type": "integer"
  19103. },
  19104. "checkremark": {
  19105. "description": "审核备注",
  19106. "type": "string"
  19107. },
  19108. "currencysign": {
  19109. "description": "货币符号",
  19110. "type": "string"
  19111. },
  19112. "decimalplace": {
  19113. "description": "报价小数位",
  19114. "type": "integer"
  19115. },
  19116. "goodscode": {
  19117. "description": "商品代码(内部)",
  19118. "type": "string"
  19119. },
  19120. "goodsid": {
  19121. "description": "商品ID",
  19122. "type": "integer"
  19123. },
  19124. "goodsname": {
  19125. "description": "商品名称",
  19126. "type": "string"
  19127. },
  19128. "handlestatus": {
  19129. "description": "处理状态",
  19130. "type": "integer"
  19131. },
  19132. "marketid": {
  19133. "description": "市场ID",
  19134. "type": "integer"
  19135. },
  19136. "phonenum": {
  19137. "description": "提货人联系方式",
  19138. "type": "string"
  19139. },
  19140. "picurls": {
  19141. "description": "介绍图片[多张用逗号分隔]",
  19142. "type": "string"
  19143. },
  19144. "qty": {
  19145. "description": "提货数量",
  19146. "type": "number"
  19147. },
  19148. "recivername": {
  19149. "description": "提货人姓名",
  19150. "type": "string"
  19151. },
  19152. "reqtime": {
  19153. "description": "更新时间",
  19154. "type": "string"
  19155. },
  19156. "takemode": {
  19157. "description": "提货方式 - 2:自提 3:配送",
  19158. "type": "integer"
  19159. },
  19160. "takeorderid": {
  19161. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  19162. "type": "string"
  19163. },
  19164. "takeorderstatus": {
  19165. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  19166. "type": "integer"
  19167. },
  19168. "takeremark": {
  19169. "description": "提货备注",
  19170. "type": "string"
  19171. },
  19172. "tradedate": {
  19173. "description": "交易日(yyyyMMdd)",
  19174. "type": "string"
  19175. },
  19176. "trademode": {
  19177. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19178. "type": "integer"
  19179. },
  19180. "userid": {
  19181. "description": "用户ID",
  19182. "type": "integer"
  19183. },
  19184. "vendorname": {
  19185. "description": "供应商名称",
  19186. "type": "string"
  19187. }
  19188. }
  19189. },
  19190. "models.HsbyPreGoods": {
  19191. "type": "object",
  19192. "required": [
  19193. "goodscode",
  19194. "goodsid",
  19195. "goodsname",
  19196. "marketid",
  19197. "trademode"
  19198. ],
  19199. "properties": {
  19200. "agreeunit": {
  19201. "description": "合约单位",
  19202. "type": "number"
  19203. },
  19204. "currency": {
  19205. "description": "货币",
  19206. "type": "string"
  19207. },
  19208. "currencysign": {
  19209. "description": "货币符号",
  19210. "type": "string"
  19211. },
  19212. "decimalplace": {
  19213. "description": "报价小数位",
  19214. "type": "integer"
  19215. },
  19216. "desccityid": {
  19217. "description": "目的地(市)",
  19218. "type": "integer"
  19219. },
  19220. "descprovinceid": {
  19221. "description": "目的地(省)",
  19222. "type": "integer"
  19223. },
  19224. "enableqty": {
  19225. "description": "剩余数量",
  19226. "type": "integer"
  19227. },
  19228. "goodscode": {
  19229. "description": "商品代码(内部)",
  19230. "type": "string"
  19231. },
  19232. "goodsid": {
  19233. "description": "商品ID(自增ID SEQ_GOODS)",
  19234. "type": "integer"
  19235. },
  19236. "goodsname": {
  19237. "description": "商品名称",
  19238. "type": "string"
  19239. },
  19240. "goodsstatus": {
  19241. "description": "商品状态- 2:未上市 3:上市",
  19242. "type": "integer"
  19243. },
  19244. "lasttradedate": {
  19245. "description": "最后交易日期(状态:待退市)",
  19246. "type": "string"
  19247. },
  19248. "listingdate": {
  19249. "description": "交易开始日期",
  19250. "type": "string"
  19251. },
  19252. "marketid": {
  19253. "description": "所属市场ID",
  19254. "type": "integer"
  19255. },
  19256. "picurls": {
  19257. "description": "介绍图片[多张用逗号分隔]",
  19258. "type": "string"
  19259. },
  19260. "presaledqty": {
  19261. "description": "已预售量(预售结束时更新)",
  19262. "type": "integer"
  19263. },
  19264. "presaleqty": {
  19265. "description": "预售数量",
  19266. "type": "integer"
  19267. },
  19268. "quoteminunit": {
  19269. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19270. "type": "integer"
  19271. },
  19272. "refprice": {
  19273. "description": "参考价格[一口价]",
  19274. "type": "number"
  19275. },
  19276. "relatedgoodsid": {
  19277. "description": "关联交易合约ID",
  19278. "type": "integer"
  19279. },
  19280. "trademode": {
  19281. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19282. "type": "integer"
  19283. },
  19284. "videourls": {
  19285. "description": "介绍视频[多张用逗号分隔]",
  19286. "type": "string"
  19287. }
  19288. }
  19289. },
  19290. "models.HsbyPreGoodsDetail": {
  19291. "type": "object",
  19292. "required": [
  19293. "goodscode",
  19294. "goodsid",
  19295. "goodsname",
  19296. "marketid",
  19297. "trademode"
  19298. ],
  19299. "properties": {
  19300. "agreeunit": {
  19301. "description": "合约单位",
  19302. "type": "number"
  19303. },
  19304. "buymaxqty": {
  19305. "description": "购买上限 [71] - 0为不限",
  19306. "type": "integer"
  19307. },
  19308. "currency": {
  19309. "description": "货币",
  19310. "type": "string"
  19311. },
  19312. "currencysign": {
  19313. "description": "货币符号",
  19314. "type": "string"
  19315. },
  19316. "customername": {
  19317. "description": "发行单位",
  19318. "type": "string"
  19319. },
  19320. "decimalplace": {
  19321. "description": "报价小数位",
  19322. "type": "integer"
  19323. },
  19324. "desccityid": {
  19325. "description": "目的地(市)ID",
  19326. "type": "integer"
  19327. },
  19328. "descprovinceid": {
  19329. "description": "目的地(省)ID",
  19330. "type": "integer"
  19331. },
  19332. "enableqty": {
  19333. "description": "剩余数量",
  19334. "type": "integer"
  19335. },
  19336. "goodscode": {
  19337. "description": "商品代码(内部)",
  19338. "type": "string"
  19339. },
  19340. "goodsdesc": {
  19341. "description": "商品详情",
  19342. "type": "string"
  19343. },
  19344. "goodsid": {
  19345. "description": "商品ID(自增ID SEQ_GOODS)",
  19346. "type": "integer"
  19347. },
  19348. "goodsname": {
  19349. "description": "商品名称",
  19350. "type": "string"
  19351. },
  19352. "goodsstatus": {
  19353. "description": "商品状态- 2:未上市 3:上市",
  19354. "type": "integer"
  19355. },
  19356. "goodunit": {
  19357. "description": "报价单位",
  19358. "type": "string"
  19359. },
  19360. "lasttradedate": {
  19361. "description": "最后交易日期(状态:待退市)",
  19362. "type": "string"
  19363. },
  19364. "listingdate": {
  19365. "description": "交易开始日期",
  19366. "type": "string"
  19367. },
  19368. "lotsize": {
  19369. "description": "手数最小变动单位",
  19370. "type": "integer"
  19371. },
  19372. "marketid": {
  19373. "description": "所属市场ID",
  19374. "type": "integer"
  19375. },
  19376. "picurls": {
  19377. "description": "介绍图片[多张用逗号分隔]",
  19378. "type": "string"
  19379. },
  19380. "presaledqty": {
  19381. "description": "已预售量(预售结束时更新)",
  19382. "type": "integer"
  19383. },
  19384. "presaleqty": {
  19385. "description": "预售数量",
  19386. "type": "integer"
  19387. },
  19388. "quoteminunit": {
  19389. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19390. "type": "integer"
  19391. },
  19392. "refprice": {
  19393. "description": "参考价格[一口价]",
  19394. "type": "number"
  19395. },
  19396. "relatedgoodsid": {
  19397. "description": "关联交易合约ID",
  19398. "type": "integer"
  19399. },
  19400. "stepvalue": {
  19401. "description": "价格最小变动单位",
  19402. "type": "number"
  19403. },
  19404. "trademode": {
  19405. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19406. "type": "integer"
  19407. },
  19408. "vendorattr": {
  19409. "description": "供应商附件(多张,逗号分隔)",
  19410. "type": "string"
  19411. },
  19412. "vendorname": {
  19413. "description": "供应商名称",
  19414. "type": "string"
  19415. },
  19416. "vendorphone": {
  19417. "description": "供应商客服电话",
  19418. "type": "string"
  19419. },
  19420. "videourls": {
  19421. "description": "介绍视频[多张用逗号分隔]",
  19422. "type": "string"
  19423. }
  19424. }
  19425. },
  19426. "models.HsbySellCollectionOrder": {
  19427. "type": "object",
  19428. "required": [
  19429. "goodscode",
  19430. "goodsname",
  19431. "tradeid",
  19432. "trademode"
  19433. ],
  19434. "properties": {
  19435. "agreeunit": {
  19436. "description": "合约单位",
  19437. "type": "number"
  19438. },
  19439. "buyaccountid": {
  19440. "description": "买方账号ID[报价币种]",
  19441. "type": "integer"
  19442. },
  19443. "buyorderid": {
  19444. "description": "买方委托单号",
  19445. "type": "string"
  19446. },
  19447. "createtime": {
  19448. "description": "创建时间",
  19449. "type": "string"
  19450. },
  19451. "currencysign": {
  19452. "description": "货币符号",
  19453. "type": "string"
  19454. },
  19455. "decimalplace": {
  19456. "description": "报价小数位",
  19457. "type": "integer"
  19458. },
  19459. "goodscode": {
  19460. "description": "商品代码(内部)",
  19461. "type": "string"
  19462. },
  19463. "goodsid": {
  19464. "description": "商品ID",
  19465. "type": "integer"
  19466. },
  19467. "goodsname": {
  19468. "description": "商品名称",
  19469. "type": "string"
  19470. },
  19471. "marketid": {
  19472. "description": "市场ID",
  19473. "type": "integer"
  19474. },
  19475. "offamount": {
  19476. "description": "优惠金额",
  19477. "type": "number"
  19478. },
  19479. "payamount": {
  19480. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  19481. "type": "number"
  19482. },
  19483. "payflag": {
  19484. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  19485. "type": "integer"
  19486. },
  19487. "paylimitedtime": {
  19488. "description": "支付期限",
  19489. "type": "string"
  19490. },
  19491. "paytime": {
  19492. "description": "付款时间",
  19493. "type": "string"
  19494. },
  19495. "picurls": {
  19496. "description": "商品介绍图片[多张用逗号分隔]",
  19497. "type": "string"
  19498. },
  19499. "sellaccountid": {
  19500. "description": "卖方账号ID[报价币种]",
  19501. "type": "integer"
  19502. },
  19503. "sellorderid": {
  19504. "description": "卖方委托单号",
  19505. "type": "string"
  19506. },
  19507. "tradeamount": {
  19508. "description": "成交金额",
  19509. "type": "number"
  19510. },
  19511. "tradecharge": {
  19512. "description": "成交手续费(买方)",
  19513. "type": "number"
  19514. },
  19515. "tradedate": {
  19516. "description": "交易日(yyyyMMdd)",
  19517. "type": "string"
  19518. },
  19519. "tradeid": {
  19520. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19521. "type": "string"
  19522. },
  19523. "trademode": {
  19524. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19525. "type": "integer"
  19526. },
  19527. "tradeprice": {
  19528. "description": "成交价格",
  19529. "type": "number"
  19530. },
  19531. "tradeqty": {
  19532. "description": "成交数量",
  19533. "type": "integer"
  19534. }
  19535. }
  19536. },
  19537. "models.HsbySellMyDetail": {
  19538. "type": "object",
  19539. "required": [
  19540. "accountid",
  19541. "buyorsell",
  19542. "goodscode",
  19543. "goodsid",
  19544. "goodsname",
  19545. "marketid",
  19546. "orderid",
  19547. "time",
  19548. "trademode"
  19549. ],
  19550. "properties": {
  19551. "accountid": {
  19552. "description": "账户ID[报价币种]",
  19553. "type": "integer"
  19554. },
  19555. "agreeunit": {
  19556. "description": "合约单位",
  19557. "type": "number"
  19558. },
  19559. "buyorsell": {
  19560. "description": "买卖 - 0:买 1:卖",
  19561. "type": "integer"
  19562. },
  19563. "currencysign": {
  19564. "description": "货币符号",
  19565. "type": "string"
  19566. },
  19567. "decimalplace": {
  19568. "description": "报价小数位",
  19569. "type": "integer"
  19570. },
  19571. "goodscode": {
  19572. "description": "商品代码(内部)",
  19573. "type": "string"
  19574. },
  19575. "goodsid": {
  19576. "description": "商品ID",
  19577. "type": "integer"
  19578. },
  19579. "goodsname": {
  19580. "description": "商品名称",
  19581. "type": "string"
  19582. },
  19583. "marketid": {
  19584. "description": "市场ID",
  19585. "type": "integer"
  19586. },
  19587. "orderid": {
  19588. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  19589. "type": "string"
  19590. },
  19591. "ordertype": {
  19592. "description": "单据类型:0 - 发布中, 1 - 已完成",
  19593. "type": "integer"
  19594. },
  19595. "picurls": {
  19596. "description": "介绍图片[多张用逗号分隔]",
  19597. "type": "string"
  19598. },
  19599. "price": {
  19600. "description": "价格",
  19601. "type": "number"
  19602. },
  19603. "qty": {
  19604. "description": "数量",
  19605. "type": "integer"
  19606. },
  19607. "time": {
  19608. "description": "时间",
  19609. "type": "string"
  19610. },
  19611. "trademode": {
  19612. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19613. "type": "integer"
  19614. },
  19615. "vendorname": {
  19616. "description": "供应商名称",
  19617. "type": "string"
  19618. }
  19619. }
  19620. },
  19621. "models.HsbyTopGoods": {
  19622. "type": "object",
  19623. "required": [
  19624. "goodscode",
  19625. "goodsid",
  19626. "goodsname",
  19627. "marketid",
  19628. "trademode"
  19629. ],
  19630. "properties": {
  19631. "agreeunit": {
  19632. "description": "合约单位",
  19633. "type": "number"
  19634. },
  19635. "currency": {
  19636. "description": "货币",
  19637. "type": "string"
  19638. },
  19639. "currencysign": {
  19640. "description": "货币符号",
  19641. "type": "string"
  19642. },
  19643. "decimalplace": {
  19644. "description": "报价小数位",
  19645. "type": "integer"
  19646. },
  19647. "desccityid": {
  19648. "description": "目的地(市)",
  19649. "type": "integer"
  19650. },
  19651. "descprovinceid": {
  19652. "description": "目的地(省)",
  19653. "type": "integer"
  19654. },
  19655. "goodscode": {
  19656. "description": "商品代码(内部)",
  19657. "type": "string"
  19658. },
  19659. "goodsid": {
  19660. "description": "商品ID(自增ID SEQ_GOODS)",
  19661. "type": "integer"
  19662. },
  19663. "goodsname": {
  19664. "description": "商品名称",
  19665. "type": "string"
  19666. },
  19667. "hotindex": {
  19668. "description": "景点热度",
  19669. "type": "integer"
  19670. },
  19671. "last": {
  19672. "description": "现价",
  19673. "type": "number"
  19674. },
  19675. "marketid": {
  19676. "description": "所属市场ID",
  19677. "type": "integer"
  19678. },
  19679. "picurls": {
  19680. "description": "介绍图片[多张用逗号分隔]",
  19681. "type": "string"
  19682. },
  19683. "quoteminunit": {
  19684. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  19685. "type": "integer"
  19686. },
  19687. "trademode": {
  19688. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19689. "type": "integer"
  19690. },
  19691. "videourls": {
  19692. "description": "介绍视频[多张用逗号分隔]",
  19693. "type": "string"
  19694. }
  19695. }
  19696. },
  19697. "models.HybsMyBuyOrderDetail": {
  19698. "type": "object",
  19699. "required": [
  19700. "accountid",
  19701. "buyorsell",
  19702. "goodscode",
  19703. "goodsid",
  19704. "goodsname",
  19705. "marketid",
  19706. "orderid",
  19707. "orderqty",
  19708. "ordertime",
  19709. "trademode"
  19710. ],
  19711. "properties": {
  19712. "accountid": {
  19713. "description": "账户ID[报价币种]",
  19714. "type": "integer"
  19715. },
  19716. "agreeunit": {
  19717. "description": "合约单位",
  19718. "type": "number"
  19719. },
  19720. "buyorsell": {
  19721. "description": "买卖 - 0:买 1:卖",
  19722. "type": "integer"
  19723. },
  19724. "cancelqty": {
  19725. "description": "撤单数量",
  19726. "type": "integer"
  19727. },
  19728. "currencysign": {
  19729. "description": "货币符号",
  19730. "type": "string"
  19731. },
  19732. "decimalplace": {
  19733. "description": "报价小数位",
  19734. "type": "integer"
  19735. },
  19736. "goodscode": {
  19737. "description": "商品代码(内部)",
  19738. "type": "string"
  19739. },
  19740. "goodsid": {
  19741. "description": "商品ID",
  19742. "type": "integer"
  19743. },
  19744. "goodsname": {
  19745. "description": "商品名称",
  19746. "type": "string"
  19747. },
  19748. "listingselecttype": {
  19749. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19750. "type": "integer"
  19751. },
  19752. "marketid": {
  19753. "description": "市场ID",
  19754. "type": "integer"
  19755. },
  19756. "mybuystatus": {
  19757. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  19758. "type": "integer"
  19759. },
  19760. "orderamount": {
  19761. "description": "委托金额",
  19762. "type": "number"
  19763. },
  19764. "orderid": {
  19765. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19766. "type": "string"
  19767. },
  19768. "orderprice": {
  19769. "description": "委托价格",
  19770. "type": "number"
  19771. },
  19772. "orderqty": {
  19773. "description": "委托数量",
  19774. "type": "integer"
  19775. },
  19776. "orderstatus": {
  19777. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19778. "type": "integer"
  19779. },
  19780. "ordertime": {
  19781. "description": "委托时间",
  19782. "type": "string"
  19783. },
  19784. "picurls1": {
  19785. "description": "预售商品介绍图片[多张用逗号分隔]",
  19786. "type": "string"
  19787. },
  19788. "picurls2": {
  19789. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  19790. "type": "string"
  19791. },
  19792. "trademode": {
  19793. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19794. "type": "integer"
  19795. },
  19796. "tradeqty": {
  19797. "description": "成交数量",
  19798. "type": "integer"
  19799. },
  19800. "vendorname1": {
  19801. "description": "预售商品供应商名称",
  19802. "type": "string"
  19803. },
  19804. "vendorname2": {
  19805. "description": "挂牌商品供应商名称",
  19806. "type": "string"
  19807. }
  19808. }
  19809. },
  19810. "models.Loginaccount": {
  19811. "type": "object",
  19812. "required": [
  19813. "loginid"
  19814. ],
  19815. "properties": {
  19816. "canoutin": {
  19817. "description": "是否可出入金 - 0:不可 1:可",
  19818. "type": "integer"
  19819. },
  19820. "clientroleid": {
  19821. "description": "终端角色ID",
  19822. "type": "integer"
  19823. },
  19824. "haslogined": {
  19825. "description": "是否已登录 - 0:未登录 1:已登录",
  19826. "type": "integer"
  19827. },
  19828. "hasupdatedpwd": {
  19829. "description": "是否已更改密码 - 0:未修改 1:已修改",
  19830. "type": "integer"
  19831. },
  19832. "lastloginip": {
  19833. "description": "最新登录地址",
  19834. "type": "string"
  19835. },
  19836. "lastloginmode": {
  19837. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19838. "type": "integer"
  19839. },
  19840. "lastloginremark": {
  19841. "description": "最新登录描述",
  19842. "type": "string"
  19843. },
  19844. "lastlogintime": {
  19845. "description": "最新登录时间",
  19846. "type": "string"
  19847. },
  19848. "logincode": {
  19849. "description": "登录代码",
  19850. "type": "string"
  19851. },
  19852. "loginfailnum": {
  19853. "description": "连续登录失败次数(登录成功时清零)",
  19854. "type": "integer"
  19855. },
  19856. "loginid": {
  19857. "description": "登陆账号",
  19858. "type": "integer"
  19859. },
  19860. "loginport": {
  19861. "description": "最新登录端口",
  19862. "type": "integer"
  19863. },
  19864. "loginstatus": {
  19865. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  19866. "type": "integer"
  19867. },
  19868. "loginusertype": {
  19869. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19870. "type": "integer"
  19871. },
  19872. "modifierid": {
  19873. "description": "修改人",
  19874. "type": "integer"
  19875. },
  19876. "modifytime": {
  19877. "description": "修改时间",
  19878. "type": "string"
  19879. },
  19880. "pwdwrongcount": {
  19881. "description": "密码错误次数",
  19882. "type": "integer"
  19883. },
  19884. "taaccountrighttype": {
  19885. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19886. "type": "integer"
  19887. },
  19888. "unfreezetime": {
  19889. "description": "账户解冻时间",
  19890. "type": "string"
  19891. },
  19892. "userid": {
  19893. "description": "用户ID",
  19894. "type": "integer"
  19895. }
  19896. }
  19897. },
  19898. "models.MainAccountInfo": {
  19899. "type": "object",
  19900. "properties": {
  19901. "accountid": {
  19902. "description": "账号id",
  19903. "type": "integer"
  19904. },
  19905. "accountname": {
  19906. "description": "账号名称(taaccount表中的名称)",
  19907. "type": "string"
  19908. },
  19909. "appid": {
  19910. "description": "AppID",
  19911. "type": "string"
  19912. },
  19913. "authcode": {
  19914. "description": "授权码",
  19915. "type": "string"
  19916. },
  19917. "brokerid": {
  19918. "description": "经纪商id",
  19919. "type": "string"
  19920. },
  19921. "fcid": {
  19922. "description": "期货公司id",
  19923. "type": "integer"
  19924. },
  19925. "fcname": {
  19926. "description": "期货公司代码",
  19927. "type": "string"
  19928. },
  19929. "hedgeaccountcode": {
  19930. "description": "外部账号代码(主账号登录代码)",
  19931. "type": "string"
  19932. },
  19933. "hedgeaccountpwd": {
  19934. "description": "密码",
  19935. "type": "string"
  19936. },
  19937. "ismain": {
  19938. "description": "是否主账号",
  19939. "type": "integer"
  19940. },
  19941. "relateduserid": {
  19942. "description": "关联用户id",
  19943. "type": "integer"
  19944. },
  19945. "userid": {
  19946. "description": "关联用户id",
  19947. "type": "integer"
  19948. }
  19949. }
  19950. },
  19951. "models.Market": {
  19952. "type": "object",
  19953. "required": [
  19954. "marketid",
  19955. "marketstatus",
  19956. "openmethod",
  19957. "reckonpricealgorithm",
  19958. "trademode",
  19959. "tradeproperty"
  19960. ],
  19961. "properties": {
  19962. "auctionwrtype": {
  19963. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19964. "type": "integer"
  19965. },
  19966. "canacceptquote": {
  19967. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19968. "type": "integer"
  19969. },
  19970. "cangoodsexercise": {
  19971. "description": "[期权]是否可现货行权- 0:否 1:是",
  19972. "type": "integer"
  19973. },
  19974. "cangoodsexercisetype": {
  19975. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19976. "type": "integer"
  19977. },
  19978. "canmanualquotestrike": {
  19979. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19980. "type": "integer"
  19981. },
  19982. "canmutistage": {
  19983. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19984. "type": "integer"
  19985. },
  19986. "canpreexercise": {
  19987. "description": "[期权]是否可预申报- 0:否 1:是",
  19988. "type": "integer"
  19989. },
  19990. "clearinterval": {
  19991. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19992. "type": "integer"
  19993. },
  19994. "contracttmp": {
  19995. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19996. "type": "string"
  19997. },
  19998. "exchareaid": {
  19999. "description": "所属交易所,可以没有",
  20000. "type": "integer"
  20001. },
  20002. "goodstype": {
  20003. "description": "商品类型 - 1:交易商品 2:仓单商品",
  20004. "type": "integer"
  20005. },
  20006. "hasrebate": {
  20007. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  20008. "type": "integer"
  20009. },
  20010. "hastradecredit": {
  20011. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  20012. "type": "integer"
  20013. },
  20014. "haswr": {
  20015. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  20016. "type": "integer"
  20017. },
  20018. "isdeductmargin": {
  20019. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  20020. "type": "integer"
  20021. },
  20022. "isrecordsource": {
  20023. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  20024. "type": "integer"
  20025. },
  20026. "isreleasemargin": {
  20027. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  20028. "type": "integer"
  20029. },
  20030. "marginformula": {
  20031. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20032. "type": "integer"
  20033. },
  20034. "marginformula2": {
  20035. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  20036. "type": "integer"
  20037. },
  20038. "marketid": {
  20039. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  20040. "type": "integer"
  20041. },
  20042. "marketname": {
  20043. "description": "市场名称",
  20044. "type": "string"
  20045. },
  20046. "marketserviceid": {
  20047. "description": "市场服务ID",
  20048. "type": "integer"
  20049. },
  20050. "marketstatus": {
  20051. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  20052. "type": "integer"
  20053. },
  20054. "markettype": {
  20055. "description": "市场类型- 1:非交易服务 2:交易服务",
  20056. "type": "integer"
  20057. },
  20058. "matchermode": {
  20059. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  20060. "type": "integer"
  20061. },
  20062. "openmethod": {
  20063. "description": "开盘模式 - 0 自动 1手动",
  20064. "type": "integer"
  20065. },
  20066. "otcuserid": {
  20067. "description": "场外期权做市商[场外期权]",
  20068. "type": "integer"
  20069. },
  20070. "outersynctime": {
  20071. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  20072. "type": "string"
  20073. },
  20074. "pendingflag": {
  20075. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  20076. "type": "integer"
  20077. },
  20078. "pendingtime": {
  20079. "description": "待开市时间[通道交易-对冲](HH:mm)",
  20080. "type": "string"
  20081. },
  20082. "performancetempid": {
  20083. "description": "履约计划模板ID - 作废",
  20084. "type": "integer"
  20085. },
  20086. "premiumquotemode": {
  20087. "description": "权利金报价方式 - 1:自动 2:手动",
  20088. "type": "integer"
  20089. },
  20090. "rebateratio": {
  20091. "description": "返利比率[竞价式]",
  20092. "type": "number"
  20093. },
  20094. "reckonorder": {
  20095. "description": "结算顺序",
  20096. "type": "integer"
  20097. },
  20098. "reckonpricealgorithm": {
  20099. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  20100. "type": "integer"
  20101. },
  20102. "reckonpriceparam": {
  20103. "description": "结算价参数",
  20104. "type": "integer"
  20105. },
  20106. "reckontime": {
  20107. "description": "结算时间[通道交易-对冲](HH:mm)",
  20108. "type": "string"
  20109. },
  20110. "roleprioritytype": {
  20111. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  20112. "type": "integer"
  20113. },
  20114. "selllistingauditflag": {
  20115. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  20116. "type": "integer"
  20117. },
  20118. "trademarkettype": {
  20119. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  20120. "type": "integer"
  20121. },
  20122. "trademode": {
  20123. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20124. "type": "integer"
  20125. },
  20126. "tradeproperty": {
  20127. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  20128. "type": "integer"
  20129. },
  20130. "tradetype": {
  20131. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  20132. "type": "integer"
  20133. }
  20134. }
  20135. },
  20136. "models.Marketrun": {
  20137. "type": "object",
  20138. "required": [
  20139. "marketid",
  20140. "nexttradedate",
  20141. "reckonflag",
  20142. "runstatus",
  20143. "tradedate",
  20144. "tradedate2"
  20145. ],
  20146. "properties": {
  20147. "afternexttradedate": {
  20148. "description": "下下交易日",
  20149. "type": "string"
  20150. },
  20151. "clearquoteflag": {
  20152. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  20153. "type": "integer"
  20154. },
  20155. "lastreckondate": {
  20156. "description": "最新交易日(结算成功)",
  20157. "type": "string"
  20158. },
  20159. "machinedate": {
  20160. "description": "机器时间",
  20161. "type": "string"
  20162. },
  20163. "manualflag": {
  20164. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  20165. "type": "integer"
  20166. },
  20167. "marketid": {
  20168. "description": "市场ID",
  20169. "type": "integer"
  20170. },
  20171. "nexttradedate": {
  20172. "description": "下一交易日",
  20173. "type": "string"
  20174. },
  20175. "pretradedate": {
  20176. "description": "上一交易日",
  20177. "type": "string"
  20178. },
  20179. "reckonflag": {
  20180. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  20181. "type": "integer"
  20182. },
  20183. "runstatus": {
  20184. "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.今日免清算",
  20185. "type": "integer"
  20186. },
  20187. "sectionid": {
  20188. "description": "时间段号[多时段时用]",
  20189. "type": "integer"
  20190. },
  20191. "tradedate": {
  20192. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  20193. "type": "string"
  20194. },
  20195. "tradedate2": {
  20196. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  20197. "type": "string"
  20198. },
  20199. "updatetime": {
  20200. "description": "更新时间",
  20201. "type": "string"
  20202. }
  20203. }
  20204. },
  20205. "models.Messageboard": {
  20206. "type": "object",
  20207. "required": [
  20208. "messageboardid"
  20209. ],
  20210. "properties": {
  20211. "contactnum": {
  20212. "description": "联系电话",
  20213. "type": "string"
  20214. },
  20215. "createtime": {
  20216. "description": "创建时间",
  20217. "type": "string"
  20218. },
  20219. "message": {
  20220. "description": "留言信息",
  20221. "type": "string"
  20222. },
  20223. "messageboardid": {
  20224. "description": "留言簿ID(SEQ_MessageBoard)",
  20225. "type": "integer"
  20226. },
  20227. "userid": {
  20228. "description": "用户ID",
  20229. "type": "integer"
  20230. }
  20231. }
  20232. },
  20233. "models.MyCoupon": {
  20234. "type": "object",
  20235. "required": [
  20236. "accountid",
  20237. "coupontypeid"
  20238. ],
  20239. "properties": {
  20240. "accountid": {
  20241. "description": "资金账户ID",
  20242. "type": "integer"
  20243. },
  20244. "areauserid": {
  20245. "description": "所属机构",
  20246. "type": "integer"
  20247. },
  20248. "conditionvalue": {
  20249. "description": "条件阈值(可为0)",
  20250. "type": "number"
  20251. },
  20252. "couponcategroy": {
  20253. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  20254. "type": "integer"
  20255. },
  20256. "couponname": {
  20257. "description": "优惠券名称",
  20258. "type": "string"
  20259. },
  20260. "coupontypeid": {
  20261. "description": "优惠券类型ID",
  20262. "type": "string"
  20263. },
  20264. "couponvalue": {
  20265. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20266. "type": "number"
  20267. },
  20268. "curfreezeqty": {
  20269. "description": "期末冻结数量",
  20270. "type": "integer"
  20271. },
  20272. "curqty": {
  20273. "description": "期末数量",
  20274. "type": "integer"
  20275. },
  20276. "isgeneral": {
  20277. "description": "是否通用券 - 0:否 1:是",
  20278. "type": "integer"
  20279. },
  20280. "isunusable": {
  20281. "description": "是否不可用",
  20282. "type": "boolean"
  20283. },
  20284. "limitedflag": {
  20285. "description": "是否指定商品 - 0:不限 1:限制",
  20286. "type": "integer"
  20287. },
  20288. "limitedgoodsids": {
  20289. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  20290. "type": "string"
  20291. },
  20292. "orifreezeqty": {
  20293. "description": "期初冻结数量",
  20294. "type": "integer"
  20295. },
  20296. "oriqty": {
  20297. "description": "期初数量",
  20298. "type": "integer"
  20299. },
  20300. "reasontype": {
  20301. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  20302. "type": "integer"
  20303. },
  20304. "todaydecrease": {
  20305. "description": "今日减少",
  20306. "type": "integer"
  20307. },
  20308. "todayincrease": {
  20309. "description": "今日增加",
  20310. "type": "integer"
  20311. },
  20312. "userid": {
  20313. "description": "用户ID",
  20314. "type": "integer"
  20315. },
  20316. "userscope": {
  20317. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  20318. "type": "string"
  20319. }
  20320. }
  20321. },
  20322. "models.MyCouponHold": {
  20323. "type": "object",
  20324. "required": [
  20325. "couponholdid"
  20326. ],
  20327. "properties": {
  20328. "accountid": {
  20329. "description": "资金账户ID",
  20330. "type": "integer"
  20331. },
  20332. "conditionvalue": {
  20333. "description": "条件阈值(可为0)",
  20334. "type": "number"
  20335. },
  20336. "couponcategroy": {
  20337. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  20338. "type": "integer"
  20339. },
  20340. "couponholdid": {
  20341. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  20342. "type": "string"
  20343. },
  20344. "couponname": {
  20345. "description": "优惠券名称",
  20346. "type": "string"
  20347. },
  20348. "coupontypeid": {
  20349. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  20350. "type": "string"
  20351. },
  20352. "couponvalue": {
  20353. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  20354. "type": "number"
  20355. },
  20356. "createtime": {
  20357. "description": "创建时间",
  20358. "type": "string"
  20359. },
  20360. "enddate": {
  20361. "description": "结束日期",
  20362. "type": "string"
  20363. },
  20364. "giveapplyid": {
  20365. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  20366. "type": "integer"
  20367. },
  20368. "holdstatus": {
  20369. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  20370. "type": "integer"
  20371. },
  20372. "isgeneral": {
  20373. "description": "是否通用券 - 0:否 1:是",
  20374. "type": "integer"
  20375. },
  20376. "limitedflag": {
  20377. "description": "是否指定商品 - 0:不限 1:限制",
  20378. "type": "integer"
  20379. },
  20380. "limitedgoodsids": {
  20381. "description": "指定商品IDs[逗号分隔]",
  20382. "type": "string"
  20383. },
  20384. "qty": {
  20385. "description": "数量(按1平铺)",
  20386. "type": "integer"
  20387. },
  20388. "startdate": {
  20389. "description": "开始日期",
  20390. "type": "string"
  20391. },
  20392. "userid": {
  20393. "description": "用户ID",
  20394. "type": "integer"
  20395. },
  20396. "userscope": {
  20397. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  20398. "type": "string"
  20399. }
  20400. }
  20401. },
  20402. "models.MyUsedCoupon": {
  20403. "type": "object",
  20404. "required": [
  20405. "coupontypeid",
  20406. "orderid"
  20407. ],
  20408. "properties": {
  20409. "accountid": {
  20410. "description": "资金账户ID(买方)",
  20411. "type": "integer"
  20412. },
  20413. "conditionvalue": {
  20414. "description": "条件阈值(可为0)",
  20415. "type": "number"
  20416. },
  20417. "couponcategroy": {
  20418. "description": "种类 - 1:现金券 2:折扣券",
  20419. "type": "integer"
  20420. },
  20421. "couponname": {
  20422. "description": "优惠券名称",
  20423. "type": "string"
  20424. },
  20425. "coupontypeid": {
  20426. "description": "优惠券类型ID(买方)",
  20427. "type": "string"
  20428. },
  20429. "couponvalue": {
  20430. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  20431. "type": "number"
  20432. },
  20433. "createtime": {
  20434. "description": "创建时间",
  20435. "type": "string"
  20436. },
  20437. "goodsid": {
  20438. "description": "商品ID",
  20439. "type": "integer"
  20440. },
  20441. "handlestatus": {
  20442. "description": "处理状态",
  20443. "type": "integer"
  20444. },
  20445. "marketid": {
  20446. "description": "市场ID",
  20447. "type": "integer"
  20448. },
  20449. "offamount": {
  20450. "description": "优惠金额",
  20451. "type": "number"
  20452. },
  20453. "orderid": {
  20454. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20455. "type": "string"
  20456. },
  20457. "sellaccountid": {
  20458. "description": "资金账户ID(卖方)",
  20459. "type": "integer"
  20460. },
  20461. "tradeamount": {
  20462. "description": "成交金额",
  20463. "type": "number"
  20464. },
  20465. "tradeid": {
  20466. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20467. "type": "string"
  20468. },
  20469. "usedqty": {
  20470. "description": "使用数量",
  20471. "type": "integer"
  20472. }
  20473. }
  20474. },
  20475. "models.OperationPrimaryMenu": {
  20476. "type": "object",
  20477. "properties": {
  20478. "Children": {
  20479. "description": "二级功能菜单",
  20480. "type": "array",
  20481. "items": {
  20482. "$ref": "#/definitions/models.OperationSecondaryMenu"
  20483. }
  20484. },
  20485. "Key": {
  20486. "description": "菜单KEY",
  20487. "type": "string"
  20488. },
  20489. "Label": {
  20490. "description": "菜单标题",
  20491. "type": "string"
  20492. }
  20493. }
  20494. },
  20495. "models.OperationSecondaryMenu": {
  20496. "type": "object",
  20497. "properties": {
  20498. "Key": {
  20499. "description": "菜单KEY",
  20500. "type": "string"
  20501. },
  20502. "Label": {
  20503. "description": "菜单标题",
  20504. "type": "string"
  20505. },
  20506. "TabList": {
  20507. "description": "三级功能菜单",
  20508. "type": "array",
  20509. "items": {
  20510. "$ref": "#/definitions/models.OperationTabMenu"
  20511. }
  20512. }
  20513. }
  20514. },
  20515. "models.OperationTabMenu": {
  20516. "type": "object",
  20517. "properties": {
  20518. "Key": {
  20519. "description": "菜单KEY",
  20520. "type": "string"
  20521. },
  20522. "Label": {
  20523. "description": "菜单标题",
  20524. "type": "string"
  20525. }
  20526. }
  20527. },
  20528. "models.QhjBankAccountSign": {
  20529. "type": "object",
  20530. "properties": {
  20531. "accountcode": {
  20532. "description": "资金账号",
  20533. "type": "string"
  20534. },
  20535. "accountname": {
  20536. "description": "资金账号对应的账号名(UserName)",
  20537. "type": "string"
  20538. },
  20539. "accounttype": {
  20540. "description": "账户类型(UserType)",
  20541. "type": "integer"
  20542. },
  20543. "applicationtime": {
  20544. "description": "最后一次更新的时间",
  20545. "type": "string"
  20546. },
  20547. "applyexchticket": {
  20548. "description": "申请流水",
  20549. "type": "string"
  20550. },
  20551. "auditid": {
  20552. "description": "审核人",
  20553. "type": "integer"
  20554. },
  20555. "audittime": {
  20556. "description": "审核时间",
  20557. "type": "string"
  20558. },
  20559. "bankaccountname": {
  20560. "description": "签约银行卡账号名",
  20561. "type": "string"
  20562. },
  20563. "bankaccountno": {
  20564. "description": "银行卡号",
  20565. "type": "string"
  20566. },
  20567. "bankaccounttype": {
  20568. "description": "银行账户类型 - 1-对私; 2-对公",
  20569. "type": "integer"
  20570. },
  20571. "bankcardtype": {
  20572. "description": "银行卡类型",
  20573. "type": "integer"
  20574. },
  20575. "bankchildaccount": {
  20576. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  20577. "type": "string"
  20578. },
  20579. "bankcity": {
  20580. "description": "开户行城市",
  20581. "type": "string"
  20582. },
  20583. "bankid": {
  20584. "description": "签约银行ID",
  20585. "type": "string"
  20586. },
  20587. "bankprovince": {
  20588. "description": "开户行省份",
  20589. "type": "string"
  20590. },
  20591. "branchbankid": {
  20592. "description": "签约银行支行号",
  20593. "type": "string"
  20594. },
  20595. "branchbankname": {
  20596. "description": "签约银行支行名称",
  20597. "type": "string"
  20598. },
  20599. "cardno": {
  20600. "description": "证件号码",
  20601. "type": "string"
  20602. },
  20603. "cardtype": {
  20604. "description": "证件类型",
  20605. "type": "string"
  20606. },
  20607. "currency": {
  20608. "description": "币种",
  20609. "type": "string"
  20610. },
  20611. "cusbankid": {
  20612. "description": "托管银行编号",
  20613. "type": "string"
  20614. },
  20615. "direct": {
  20616. "description": "方向(可以判断那方先发起的签约)",
  20617. "type": "integer"
  20618. },
  20619. "exchticket": {
  20620. "description": "最后一次签约成功的流水号",
  20621. "type": "string"
  20622. },
  20623. "extendinfo": {
  20624. "description": "扩展信息(JSON字符串)",
  20625. "type": "string"
  20626. },
  20627. "mobilephone": {
  20628. "description": "手机号",
  20629. "type": "string"
  20630. },
  20631. "netaddr": {
  20632. "description": "调转网址",
  20633. "type": "string"
  20634. },
  20635. "relateduserid": {
  20636. "description": "关联使用者userid",
  20637. "type": "integer"
  20638. },
  20639. "signstatus": {
  20640. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  20641. "type": "integer"
  20642. },
  20643. "updatetime": {
  20644. "description": "更新时间(签解约更新时间)",
  20645. "type": "string"
  20646. }
  20647. }
  20648. },
  20649. "models.QhjBankInfo": {
  20650. "type": "object",
  20651. "properties": {
  20652. "bankid": {
  20653. "description": "银行ID",
  20654. "type": "string"
  20655. },
  20656. "bankname": {
  20657. "description": "银行名称",
  20658. "type": "string"
  20659. },
  20660. "clearbankno": {
  20661. "description": "清算系统银行编号",
  20662. "type": "string"
  20663. },
  20664. "orderindex": {
  20665. "description": "排序顺序",
  20666. "type": "integer"
  20667. },
  20668. "status": {
  20669. "description": "状态 - 0:正常 1:注销",
  20670. "type": "integer"
  20671. }
  20672. }
  20673. },
  20674. "models.QhjContract": {
  20675. "type": "object",
  20676. "properties": {
  20677. "contractconfirmtime": {
  20678. "description": "合同确认时间(时间)",
  20679. "type": "string"
  20680. },
  20681. "enumdicname": {
  20682. "description": "单位名称",
  20683. "type": "string"
  20684. },
  20685. "goodscode": {
  20686. "description": "商品代码",
  20687. "type": "string"
  20688. },
  20689. "goodsid": {
  20690. "description": "商品ID [5:融资单]",
  20691. "type": "integer"
  20692. },
  20693. "goodsname": {
  20694. "description": "商品名称",
  20695. "type": "string"
  20696. },
  20697. "goodunitid": {
  20698. "description": "商品单位id",
  20699. "type": "integer"
  20700. },
  20701. "initmargin": {
  20702. "description": "初始保证金(首付款)",
  20703. "type": "number"
  20704. },
  20705. "lenderamount": {
  20706. "description": "贷款金额(总额|订单总额)",
  20707. "type": "number"
  20708. },
  20709. "marginratio": {
  20710. "description": "保证金比率(首付比例)",
  20711. "type": "number"
  20712. },
  20713. "payamount": {
  20714. "description": "已付(已付货款)",
  20715. "type": "number"
  20716. },
  20717. "recoveredmargin": {
  20718. "description": "已追缴保证金",
  20719. "type": "number"
  20720. },
  20721. "remainamount": {
  20722. "description": "合同剩余金额(融资额)",
  20723. "type": "number"
  20724. },
  20725. "scfcontractid": {
  20726. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20727. "type": "integer"
  20728. },
  20729. "scfcontracttype": {
  20730. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  20731. "type": "integer"
  20732. },
  20733. "totalinterest": {
  20734. "description": "已计总利息(利息)",
  20735. "type": "number"
  20736. },
  20737. "tradeprice": {
  20738. "description": "成交价格(成本价格)",
  20739. "type": "number"
  20740. },
  20741. "userid": {
  20742. "description": "用户ID",
  20743. "type": "integer"
  20744. },
  20745. "username": {
  20746. "description": "用户名称",
  20747. "type": "string"
  20748. },
  20749. "wrqty": {
  20750. "description": "仓单数量(数量)",
  20751. "type": "integer"
  20752. }
  20753. }
  20754. },
  20755. "models.QhjContractLog": {
  20756. "type": "object",
  20757. "properties": {
  20758. "amount": {
  20759. "description": "支付金额",
  20760. "type": "number"
  20761. },
  20762. "amounttype": {
  20763. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  20764. "type": "integer"
  20765. },
  20766. "logid": {
  20767. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20768. "type": "string"
  20769. },
  20770. "remainamount": {
  20771. "description": "剩余货款",
  20772. "type": "number"
  20773. },
  20774. "scfcontractid": {
  20775. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  20776. "type": "integer"
  20777. },
  20778. "updatetime": {
  20779. "description": "更新时间",
  20780. "type": "string"
  20781. }
  20782. }
  20783. },
  20784. "models.QhjPickArea": {
  20785. "type": "object",
  20786. "properties": {
  20787. "cityid": {
  20788. "description": "市",
  20789. "type": "integer"
  20790. },
  20791. "cityname": {
  20792. "description": "城市名称",
  20793. "type": "string"
  20794. },
  20795. "countryid": {
  20796. "description": "国家",
  20797. "type": "integer"
  20798. },
  20799. "countryname": {
  20800. "description": "国家名称",
  20801. "type": "string"
  20802. },
  20803. "districtid": {
  20804. "description": "地区",
  20805. "type": "integer"
  20806. },
  20807. "districtname": {
  20808. "description": "地区名称",
  20809. "type": "string"
  20810. },
  20811. "fromuserid": {
  20812. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20813. "type": "integer"
  20814. },
  20815. "fromusername": {
  20816. "description": "所属机构名称",
  20817. "type": "string"
  20818. },
  20819. "provinceid": {
  20820. "description": "省",
  20821. "type": "integer"
  20822. },
  20823. "provincename": {
  20824. "description": "省名称",
  20825. "type": "string"
  20826. },
  20827. "suborgtype": {
  20828. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  20829. "type": "integer"
  20830. },
  20831. "userid": {
  20832. "description": "机构用户ID 其他做市关系,都设置为 1",
  20833. "type": "integer"
  20834. },
  20835. "username": {
  20836. "description": "机构用户名称(门店门称)",
  20837. "type": "string"
  20838. }
  20839. }
  20840. },
  20841. "models.QhjPickGoods": {
  20842. "type": "object",
  20843. "properties": {
  20844. "imageaddress": {
  20845. "description": "图片",
  20846. "type": "string"
  20847. },
  20848. "modifierid": {
  20849. "description": "修改人",
  20850. "type": "integer"
  20851. },
  20852. "modifiername": {
  20853. "description": "修改人名称",
  20854. "type": "string"
  20855. },
  20856. "modifysrc": {
  20857. "description": "修改来源 - 1:管理端 2:终端",
  20858. "type": "integer"
  20859. },
  20860. "pickupgoodsagreeunit": {
  20861. "description": "合约乘数",
  20862. "type": "number"
  20863. },
  20864. "pickupgoodsdesc": {
  20865. "description": "描述",
  20866. "type": "string"
  20867. },
  20868. "pickupgoodsid": {
  20869. "description": "提货商品ID",
  20870. "type": "string"
  20871. },
  20872. "pickupgoodsname": {
  20873. "description": "提货商品名称",
  20874. "type": "string"
  20875. },
  20876. "pickupgoodsstatus": {
  20877. "description": "状态 - 1:正常 2:停用 3:注销",
  20878. "type": "integer"
  20879. },
  20880. "pickupgoodsunitid": {
  20881. "description": "单位ID",
  20882. "type": "integer"
  20883. },
  20884. "preparedays": {
  20885. "description": "备货期(天)",
  20886. "type": "integer"
  20887. },
  20888. "remark": {
  20889. "description": "备注",
  20890. "type": "string"
  20891. },
  20892. "updatetime": {
  20893. "description": "更新时间",
  20894. "type": "string"
  20895. }
  20896. }
  20897. },
  20898. "models.QhjRSTriggerLog": {
  20899. "type": "object",
  20900. "properties": {
  20901. "accountid": {
  20902. "description": "用户资金账户",
  20903. "type": "integer"
  20904. },
  20905. "accountname": {
  20906. "description": "账号名称(ACCOUNTID对应的名称)",
  20907. "type": "string"
  20908. },
  20909. "currencyid": {
  20910. "description": "币种id",
  20911. "type": "integer"
  20912. },
  20913. "currencyname": {
  20914. "description": "币种名称",
  20915. "type": "string"
  20916. },
  20917. "enumdicname": {
  20918. "description": "单位名称",
  20919. "type": "string"
  20920. },
  20921. "goodscode": {
  20922. "description": "定投商品代码",
  20923. "type": "string"
  20924. },
  20925. "goodsid": {
  20926. "description": "定投商品ID",
  20927. "type": "string"
  20928. },
  20929. "goodsname": {
  20930. "description": "定投商品名称",
  20931. "type": "string"
  20932. },
  20933. "goodunitid": {
  20934. "description": "定投商品单位id",
  20935. "type": "integer"
  20936. },
  20937. "logid": {
  20938. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  20939. "type": "string"
  20940. },
  20941. "regularlycycle": {
  20942. "description": "定投频率 - 1:每周 2:每月",
  20943. "type": "integer"
  20944. },
  20945. "regularlycyclevalue": {
  20946. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  20947. "type": "string"
  20948. },
  20949. "regularlymode": {
  20950. "description": "定投方式 - 1:按数量 2:按金额",
  20951. "type": "integer"
  20952. },
  20953. "regularlymodevalue": {
  20954. "description": "定投方式值 - 数量或金额",
  20955. "type": "number"
  20956. },
  20957. "regularlystrategyid": {
  20958. "description": "定投策略ID",
  20959. "type": "integer"
  20960. },
  20961. "retcode": {
  20962. "description": "错误码",
  20963. "type": "string"
  20964. },
  20965. "tradeid": {
  20966. "description": "成交单ID",
  20967. "type": "string"
  20968. },
  20969. "triggeramount": {
  20970. "description": "触发金额",
  20971. "type": "number"
  20972. },
  20973. "triggerqty": {
  20974. "description": "触发数量",
  20975. "type": "number"
  20976. },
  20977. "triggerstatus": {
  20978. "description": "触发状态 - 1:成功 2:失败",
  20979. "type": "integer"
  20980. },
  20981. "triggertime": {
  20982. "description": "触发时间",
  20983. "type": "string"
  20984. },
  20985. "triggertradedate": {
  20986. "description": "触发交易日",
  20987. "type": "string"
  20988. },
  20989. "userid": {
  20990. "description": "所属用户ID",
  20991. "type": "integer"
  20992. },
  20993. "username": {
  20994. "description": "用户名称(userid对应的名称)",
  20995. "type": "string"
  20996. }
  20997. }
  20998. },
  20999. "models.QhjRStrategy": {
  21000. "type": "object",
  21001. "properties": {
  21002. "accountid": {
  21003. "description": "用户资金账户",
  21004. "type": "integer"
  21005. },
  21006. "accountname": {
  21007. "description": "账号名称(ACCOUNTID对应的名称)",
  21008. "type": "string"
  21009. },
  21010. "currencyid": {
  21011. "description": "币种id",
  21012. "type": "integer"
  21013. },
  21014. "currencyname": {
  21015. "description": "币种名称",
  21016. "type": "string"
  21017. },
  21018. "enumdicname": {
  21019. "description": "单位名称",
  21020. "type": "string"
  21021. },
  21022. "goodscode": {
  21023. "description": "定投商品代码",
  21024. "type": "string"
  21025. },
  21026. "goodsid": {
  21027. "description": "定投商品ID",
  21028. "type": "string"
  21029. },
  21030. "goodsname": {
  21031. "description": "定投商品名称",
  21032. "type": "string"
  21033. },
  21034. "goodunitid": {
  21035. "description": "定投商品单位id",
  21036. "type": "integer"
  21037. },
  21038. "lasteffecttradedate": {
  21039. "description": "最新生效交易日",
  21040. "type": "string"
  21041. },
  21042. "laststoptradedate": {
  21043. "description": "最新暂停交易日",
  21044. "type": "string"
  21045. },
  21046. "lasttriggertradedate": {
  21047. "description": "最新触发交易日",
  21048. "type": "string"
  21049. },
  21050. "nexttriggeramount": {
  21051. "description": "下次触发金额",
  21052. "type": "number"
  21053. },
  21054. "nexttriggerdate": {
  21055. "description": "下次触发日期",
  21056. "type": "string"
  21057. },
  21058. "nexttriggerqty": {
  21059. "description": "下次触发数量 [按小数位放大值]",
  21060. "type": "number"
  21061. },
  21062. "regularlycycle": {
  21063. "description": "定投频率 - 1:每周 2:每月",
  21064. "type": "integer"
  21065. },
  21066. "regularlycyclevalue": {
  21067. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  21068. "type": "string"
  21069. },
  21070. "regularlymode": {
  21071. "description": "定投方式 - 1:按数量 2:按金额",
  21072. "type": "integer"
  21073. },
  21074. "regularlymodevalue": {
  21075. "description": "定投方式值 - 数量或金额",
  21076. "type": "number"
  21077. },
  21078. "regularlystrategyid": {
  21079. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  21080. "type": "integer"
  21081. },
  21082. "regularlystrategystatus": {
  21083. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  21084. "type": "integer"
  21085. },
  21086. "remark": {
  21087. "description": "备注",
  21088. "type": "string"
  21089. },
  21090. "triggersuccesstimes": {
  21091. "description": "累计定投成功次数",
  21092. "type": "string"
  21093. },
  21094. "triggertotalamount": {
  21095. "description": "累计定投金额(成功)",
  21096. "type": "number"
  21097. },
  21098. "triggertotalqty": {
  21099. "description": "累计定投数量(成功) [按小数位放大值]",
  21100. "type": "number"
  21101. },
  21102. "triggertotaltimes": {
  21103. "description": "累计定投总次数",
  21104. "type": "string"
  21105. },
  21106. "updatesrc": {
  21107. "description": "更新来源 - 1:管理端 2:终端",
  21108. "type": "integer"
  21109. },
  21110. "updatetime": {
  21111. "description": "更新时间",
  21112. "type": "string"
  21113. },
  21114. "updatorid": {
  21115. "description": "更新人",
  21116. "type": "string"
  21117. },
  21118. "userid": {
  21119. "description": "所属用户ID",
  21120. "type": "integer"
  21121. },
  21122. "username": {
  21123. "description": "用户名称(userid对应的名称)",
  21124. "type": "string"
  21125. }
  21126. }
  21127. },
  21128. "models.QhjReckonPriceLog": {
  21129. "type": "object",
  21130. "properties": {
  21131. "goodsid": {
  21132. "description": "商品ID",
  21133. "type": "integer"
  21134. },
  21135. "lastreckonprice": {
  21136. "description": "上日结算价",
  21137. "type": "number"
  21138. },
  21139. "nextdnlimitprice": {
  21140. "description": "下个交易日跌停价",
  21141. "type": "number"
  21142. },
  21143. "nexttrade": {
  21144. "description": "下个交易日",
  21145. "type": "string"
  21146. },
  21147. "nextuplimitprice": {
  21148. "description": "下个交易日涨停价",
  21149. "type": "number"
  21150. },
  21151. "reckonprice": {
  21152. "description": "今日结算价(定投价)",
  21153. "type": "number"
  21154. },
  21155. "reckontime": {
  21156. "description": "结算时间",
  21157. "type": "string"
  21158. },
  21159. "totalholderqty": {
  21160. "description": "总持仓数",
  21161. "type": "integer"
  21162. },
  21163. "totalstock": {
  21164. "description": "总库存",
  21165. "type": "integer"
  21166. },
  21167. "tradedate": {
  21168. "description": "交易日",
  21169. "type": "string"
  21170. },
  21171. "updowncount": {
  21172. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  21173. "type": "integer"
  21174. },
  21175. "updownflag": {
  21176. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  21177. "type": "integer"
  21178. },
  21179. "updownrate": {
  21180. "description": "今日涨跌幅",
  21181. "type": "number"
  21182. },
  21183. "updownrate_2d": {
  21184. "description": "连续两日涨跌幅",
  21185. "type": "number"
  21186. },
  21187. "updownrate_3d": {
  21188. "description": "连续三日涨跌幅",
  21189. "type": "number"
  21190. }
  21191. }
  21192. },
  21193. "models.QhjTradeGoodsPickup": {
  21194. "type": "object",
  21195. "properties": {
  21196. "accountid": {
  21197. "description": "账户ID",
  21198. "type": "integer"
  21199. },
  21200. "address": {
  21201. "description": "提货人详细地址",
  21202. "type": "string"
  21203. },
  21204. "amount": {
  21205. "description": "提货金额",
  21206. "type": "number"
  21207. },
  21208. "artradedate": {
  21209. "description": "自动收货交易日(yyyyMMdd)",
  21210. "type": "string"
  21211. },
  21212. "auditer": {
  21213. "description": "审核人",
  21214. "type": "integer"
  21215. },
  21216. "auditsrc": {
  21217. "description": "更新来源 - 1:管理端 2:终端",
  21218. "type": "integer"
  21219. },
  21220. "audittime": {
  21221. "description": "审核时间(发货时间)",
  21222. "type": "string"
  21223. },
  21224. "audittradedate": {
  21225. "description": "审核交易日(yyyyMMdd)",
  21226. "type": "string"
  21227. },
  21228. "cardnum": {
  21229. "description": "提货人证件号码",
  21230. "type": "string"
  21231. },
  21232. "cardtypeid": {
  21233. "description": "提货人证件类型",
  21234. "type": "integer"
  21235. },
  21236. "checkremark": {
  21237. "description": "审核备注",
  21238. "type": "string"
  21239. },
  21240. "cityid": {
  21241. "description": "市",
  21242. "type": "integer"
  21243. },
  21244. "cityname": {
  21245. "description": "城市名称",
  21246. "type": "string"
  21247. },
  21248. "countryid": {
  21249. "description": "国家",
  21250. "type": "integer"
  21251. },
  21252. "countryname": {
  21253. "description": "国家名称",
  21254. "type": "string"
  21255. },
  21256. "districtid": {
  21257. "description": "地区",
  21258. "type": "integer"
  21259. },
  21260. "districtname": {
  21261. "description": "地区名称",
  21262. "type": "string"
  21263. },
  21264. "enumdicname": {
  21265. "description": "单位名称(提货商品)",
  21266. "type": "string"
  21267. },
  21268. "expresscompany": {
  21269. "description": "物流公司",
  21270. "type": "string"
  21271. },
  21272. "expressnum": {
  21273. "description": "物流单号",
  21274. "type": "string"
  21275. },
  21276. "goodsagreeunit": {
  21277. "description": "交易商品乘数",
  21278. "type": "number"
  21279. },
  21280. "goodscode": {
  21281. "description": "商品代码",
  21282. "type": "string"
  21283. },
  21284. "goodsid": {
  21285. "description": "商品ID",
  21286. "type": "integer"
  21287. },
  21288. "goodsname": {
  21289. "description": "商品名称",
  21290. "type": "string"
  21291. },
  21292. "goodsqty": {
  21293. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  21294. "type": "number"
  21295. },
  21296. "handlestatus": {
  21297. "description": "处理状态",
  21298. "type": "integer"
  21299. },
  21300. "marketid": {
  21301. "description": "市场ID",
  21302. "type": "integer"
  21303. },
  21304. "phonenum": {
  21305. "description": "提货人联系方式",
  21306. "type": "string"
  21307. },
  21308. "pickupgoodsagreeunit": {
  21309. "description": "提货商品合约乘数",
  21310. "type": "number"
  21311. },
  21312. "pickupgoodsid": {
  21313. "description": "提货商品ID",
  21314. "type": "string"
  21315. },
  21316. "pickupgoodsname": {
  21317. "description": "提货商品名称",
  21318. "type": "string"
  21319. },
  21320. "pickupgoodsqty": {
  21321. "description": "提货商品手数(数量)",
  21322. "type": "number"
  21323. },
  21324. "pickupgoodsunitid": {
  21325. "description": "单位ID(提货商品)",
  21326. "type": "integer"
  21327. },
  21328. "pickupratio": {
  21329. "description": "提货系数",
  21330. "type": "number"
  21331. },
  21332. "preparedays": {
  21333. "description": "备货期(天)-提货单明细表",
  21334. "type": "integer"
  21335. },
  21336. "provinceid": {
  21337. "description": "省",
  21338. "type": "integer"
  21339. },
  21340. "provincename": {
  21341. "description": "省名称",
  21342. "type": "string"
  21343. },
  21344. "qty": {
  21345. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  21346. "type": "number"
  21347. },
  21348. "recivername": {
  21349. "description": "提货人姓名",
  21350. "type": "string"
  21351. },
  21352. "reqtime": {
  21353. "description": "提货申请时间",
  21354. "type": "string"
  21355. },
  21356. "storeuserid": {
  21357. "description": "门店用户ID (千海金)",
  21358. "type": "integer"
  21359. },
  21360. "storeusername": {
  21361. "description": "门店用户名称",
  21362. "type": "string"
  21363. },
  21364. "takemode": {
  21365. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  21366. "type": "integer"
  21367. },
  21368. "takeorderid": {
  21369. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21370. "type": "integer"
  21371. },
  21372. "takeorderstatus": {
  21373. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  21374. "type": "integer"
  21375. },
  21376. "takeremark": {
  21377. "description": "提货备注",
  21378. "type": "string"
  21379. },
  21380. "tradedate": {
  21381. "description": "交易日(yyyyMMdd)",
  21382. "type": "string"
  21383. },
  21384. "updatetime": {
  21385. "description": "更新时间",
  21386. "type": "string"
  21387. },
  21388. "userid": {
  21389. "description": "用户ID",
  21390. "type": "integer"
  21391. },
  21392. "username": {
  21393. "description": "用户名称",
  21394. "type": "string"
  21395. }
  21396. }
  21397. },
  21398. "models.QueryErrorInfosRsp": {
  21399. "type": "object",
  21400. "required": [
  21401. "errorid"
  21402. ],
  21403. "properties": {
  21404. "description": {
  21405. "description": "异常描述",
  21406. "type": "string"
  21407. },
  21408. "errorcode": {
  21409. "description": "异常代码",
  21410. "type": "string"
  21411. },
  21412. "errorid": {
  21413. "description": "异常ID",
  21414. "type": "integer"
  21415. },
  21416. "modulecode": {
  21417. "description": "所属模块",
  21418. "type": "string"
  21419. },
  21420. "operatecode": {
  21421. "description": "所属操作",
  21422. "type": "string"
  21423. },
  21424. "rownumber": {
  21425. "description": "行号",
  21426. "type": "string"
  21427. }
  21428. }
  21429. },
  21430. "models.QueryHedgeOrderDetailRsp": {
  21431. "type": "object",
  21432. "properties": {
  21433. "accountid": {
  21434. "description": "账户ID",
  21435. "type": "integer"
  21436. },
  21437. "buyorsell": {
  21438. "description": "买卖 - 0:买 1:卖",
  21439. "type": "integer"
  21440. },
  21441. "cancellogincode": {
  21442. "description": "撤单人",
  21443. "type": "string"
  21444. },
  21445. "channelbuildtype": {
  21446. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  21447. "type": "integer"
  21448. },
  21449. "channelinnerorderstatus": {
  21450. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  21451. "type": "integer"
  21452. },
  21453. "channeloperatetype": {
  21454. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  21455. "type": "integer"
  21456. },
  21457. "closetype": {
  21458. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21459. "type": "integer"
  21460. },
  21461. "curexchangerate": {
  21462. "description": "当前汇率",
  21463. "type": "number"
  21464. },
  21465. "exchangefullname": {
  21466. "description": "外部交易所全称",
  21467. "type": "string"
  21468. },
  21469. "goodscode": {
  21470. "description": "商品代码(内部)",
  21471. "type": "string"
  21472. },
  21473. "goodsid": {
  21474. "description": "商品ID",
  21475. "type": "integer"
  21476. },
  21477. "goodsname": {
  21478. "description": "商品名称",
  21479. "type": "string"
  21480. },
  21481. "marketid": {
  21482. "description": "市场ID",
  21483. "type": "integer"
  21484. },
  21485. "openfreezemargin": {
  21486. "description": "冻结保证金(冻结交易金额)",
  21487. "type": "number"
  21488. },
  21489. "orderid": {
  21490. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21491. "type": "string"
  21492. },
  21493. "orderlogincode": {
  21494. "description": "委托人",
  21495. "type": "string"
  21496. },
  21497. "orderprice": {
  21498. "description": "委托价格(账户)",
  21499. "type": "number"
  21500. },
  21501. "orderqty": {
  21502. "description": "委托数量",
  21503. "type": "integer"
  21504. },
  21505. "ordertime": {
  21506. "description": "委托时间",
  21507. "type": "string"
  21508. },
  21509. "pricemode": {
  21510. "description": "取价方式 - 1:市价 2: 限价",
  21511. "type": "integer"
  21512. },
  21513. "tradedate": {
  21514. "description": "交易日(yyyyMMdd)",
  21515. "type": "string"
  21516. },
  21517. "tradeqty": {
  21518. "description": "成交数量",
  21519. "type": "integer"
  21520. }
  21521. }
  21522. },
  21523. "models.QueryHedgeTradeDetailRsp": {
  21524. "type": "object",
  21525. "properties": {
  21526. "accountid": {
  21527. "description": "账号ID",
  21528. "type": "integer"
  21529. },
  21530. "buyorsell": {
  21531. "description": "方向 - 0:买 1:卖",
  21532. "type": "integer"
  21533. },
  21534. "channelbuildtype": {
  21535. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21536. "type": "integer"
  21537. },
  21538. "closecharge": {
  21539. "description": "平仓手续费(账户)",
  21540. "type": "number"
  21541. },
  21542. "closecharge2": {
  21543. "description": "平仓手续费(商品)",
  21544. "type": "number"
  21545. },
  21546. "closepl": {
  21547. "description": "平仓盈亏(账户)",
  21548. "type": "number"
  21549. },
  21550. "closepl2": {
  21551. "description": "平仓盈亏(商品)",
  21552. "type": "number"
  21553. },
  21554. "closepl3": {
  21555. "description": "平仓盈亏(账户)(逐笔)",
  21556. "type": "number"
  21557. },
  21558. "closepl4": {
  21559. "description": "平仓盈亏(商品)(逐笔)",
  21560. "type": "number"
  21561. },
  21562. "closetype": {
  21563. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21564. "type": "integer"
  21565. },
  21566. "curexchangerate": {
  21567. "description": "当前汇率",
  21568. "type": "number"
  21569. },
  21570. "exchangefullname": {
  21571. "description": "外部交易所全称",
  21572. "type": "string"
  21573. },
  21574. "goodscode": {
  21575. "description": "商品代码(内部)",
  21576. "type": "string"
  21577. },
  21578. "goodsid": {
  21579. "description": "商品ID",
  21580. "type": "integer"
  21581. },
  21582. "goodsname": {
  21583. "description": "商品名称",
  21584. "type": "string"
  21585. },
  21586. "marketid": {
  21587. "description": "市场ID",
  21588. "type": "integer"
  21589. },
  21590. "opencharge": {
  21591. "description": "建仓手续费(账户)",
  21592. "type": "number"
  21593. },
  21594. "opencharge2": {
  21595. "description": "建仓手续费(商品)",
  21596. "type": "number"
  21597. },
  21598. "orderid": {
  21599. "description": "委托单号",
  21600. "type": "string"
  21601. },
  21602. "orderlogincode": {
  21603. "description": "委托人",
  21604. "type": "string"
  21605. },
  21606. "tradeamount": {
  21607. "description": "成交金额(账户)",
  21608. "type": "number"
  21609. },
  21610. "tradedate": {
  21611. "description": "交易日(yyyyMMdd)",
  21612. "type": "string"
  21613. },
  21614. "tradeid": {
  21615. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21616. "type": "string"
  21617. },
  21618. "tradeprice": {
  21619. "description": "成交价格",
  21620. "type": "number"
  21621. },
  21622. "tradeqty": {
  21623. "description": "成交数量",
  21624. "type": "integer"
  21625. },
  21626. "tradetime": {
  21627. "description": "成交时间",
  21628. "type": "string"
  21629. },
  21630. "tradetype": {
  21631. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  21632. "type": "integer"
  21633. }
  21634. }
  21635. },
  21636. "models.QuotePrimaryMenu": {
  21637. "type": "object",
  21638. "properties": {
  21639. "Index": {
  21640. "description": "序号",
  21641. "type": "integer"
  21642. },
  21643. "Key": {
  21644. "description": "键名",
  21645. "type": "string"
  21646. },
  21647. "Name": {
  21648. "description": "菜单名称",
  21649. "type": "string"
  21650. },
  21651. "SubMenus": {
  21652. "description": "子菜单",
  21653. "type": "array",
  21654. "items": {
  21655. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  21656. }
  21657. },
  21658. "SubTitleType": {
  21659. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  21660. "type": "integer"
  21661. },
  21662. "TradeModes": {
  21663. "description": "包含市场交易类型",
  21664. "type": "string"
  21665. }
  21666. }
  21667. },
  21668. "models.QuoteSecondaryMenu": {
  21669. "type": "object",
  21670. "properties": {
  21671. "ExExchangeCode": {
  21672. "description": "外部交易所代码",
  21673. "type": "string"
  21674. },
  21675. "ExExchangeID": {
  21676. "description": "外部交易所ID",
  21677. "type": "integer"
  21678. },
  21679. "GoodsGroupIDs": {
  21680. "description": "商品组ID列表",
  21681. "type": "array",
  21682. "items": {
  21683. "type": "integer"
  21684. }
  21685. },
  21686. "Index": {
  21687. "description": "序号",
  21688. "type": "integer"
  21689. },
  21690. "MarketID": {
  21691. "description": "市场ID",
  21692. "type": "integer"
  21693. },
  21694. "MenuTitle": {
  21695. "description": "菜单标题(市场名称或外部交易所名称)",
  21696. "type": "string"
  21697. },
  21698. "TradeMode": {
  21699. "description": "交易模式",
  21700. "type": "integer"
  21701. }
  21702. }
  21703. },
  21704. "models.SearchGoods": {
  21705. "type": "object",
  21706. "required": [
  21707. "goodscode",
  21708. "goodsid",
  21709. "goodsname",
  21710. "marketid",
  21711. "trademode"
  21712. ],
  21713. "properties": {
  21714. "goodscode": {
  21715. "description": "商品代码(内部)",
  21716. "type": "string"
  21717. },
  21718. "goodsid": {
  21719. "description": "商品ID(自增ID SEQ_GOODS)",
  21720. "type": "integer"
  21721. },
  21722. "goodsname": {
  21723. "description": "商品名称",
  21724. "type": "string"
  21725. },
  21726. "marketid": {
  21727. "description": "所属市场ID",
  21728. "type": "integer"
  21729. },
  21730. "marketname": {
  21731. "description": "市场名称",
  21732. "type": "string"
  21733. },
  21734. "trademode": {
  21735. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  21736. "type": "integer"
  21737. }
  21738. }
  21739. },
  21740. "models.Systemparam": {
  21741. "type": "object",
  21742. "required": [
  21743. "paramcode"
  21744. ],
  21745. "properties": {
  21746. "loginid": {
  21747. "description": "更新用户账号,登录账号",
  21748. "type": "string"
  21749. },
  21750. "modifyflag": {
  21751. "description": "修改标志0 不允许修改 1 允许修改",
  21752. "type": "integer"
  21753. },
  21754. "paramcode": {
  21755. "description": "参数代码",
  21756. "type": "string"
  21757. },
  21758. "paramname": {
  21759. "description": "参数名",
  21760. "type": "string"
  21761. },
  21762. "paramtype": {
  21763. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  21764. "type": "integer"
  21765. },
  21766. "paramvalue": {
  21767. "description": "参数值",
  21768. "type": "string"
  21769. },
  21770. "paramvalue2": {
  21771. "description": "参数值(CLOB)",
  21772. "type": "string"
  21773. },
  21774. "regexpress": {
  21775. "description": "正则表达式",
  21776. "type": "string"
  21777. },
  21778. "remark": {
  21779. "description": "备注",
  21780. "type": "string"
  21781. },
  21782. "serverip": {
  21783. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  21784. "type": "string"
  21785. },
  21786. "showflag": {
  21787. "description": "是否显示0 不显示 1 显示",
  21788. "type": "integer"
  21789. },
  21790. "updatetime": {
  21791. "description": "更新时间",
  21792. "type": "string"
  21793. },
  21794. "userid": {
  21795. "description": "更新用户ID",
  21796. "type": "integer"
  21797. }
  21798. }
  21799. },
  21800. "models.Szdz3convertconfig": {
  21801. "type": "object",
  21802. "required": [
  21803. "converttype",
  21804. "innergoodsid",
  21805. "outergoodscode"
  21806. ],
  21807. "properties": {
  21808. "canin": {
  21809. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  21810. "type": "integer"
  21811. },
  21812. "canout": {
  21813. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  21814. "type": "integer"
  21815. },
  21816. "converttype": {
  21817. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  21818. "type": "integer"
  21819. },
  21820. "createtime": {
  21821. "description": "创建时间",
  21822. "type": "string"
  21823. },
  21824. "creatorid": {
  21825. "description": "创建人",
  21826. "type": "integer"
  21827. },
  21828. "daymaxvalue": {
  21829. "description": "当日最大转入限制",
  21830. "type": "number"
  21831. },
  21832. "freezedays": {
  21833. "description": "冻结天数 [5:花生米转交易]",
  21834. "type": "integer"
  21835. },
  21836. "innergoodsid": {
  21837. "description": "内部商品ID[交易]",
  21838. "type": "integer"
  21839. },
  21840. "inratio": {
  21841. "description": "目标值",
  21842. "type": "integer"
  21843. },
  21844. "modifierid": {
  21845. "description": "修改人",
  21846. "type": "integer"
  21847. },
  21848. "modifytime": {
  21849. "description": "修改时间",
  21850. "type": "string"
  21851. },
  21852. "outergoodscode": {
  21853. "description": "外部商品代码[JD\\PD]",
  21854. "type": "string"
  21855. },
  21856. "outratio": {
  21857. "description": "源值",
  21858. "type": "integer"
  21859. },
  21860. "pddecimalplace": {
  21861. "description": "PD小数位",
  21862. "type": "integer"
  21863. },
  21864. "timemaxvalue": {
  21865. "description": "单次最大转入限制",
  21866. "type": "number"
  21867. },
  21868. "timeminvalue": {
  21869. "description": "单次最小转入限制",
  21870. "type": "number"
  21871. }
  21872. }
  21873. },
  21874. "models.Szdz3searchwhitelist": {
  21875. "type": "object",
  21876. "required": [
  21877. "userid"
  21878. ],
  21879. "properties": {
  21880. "createtime": {
  21881. "description": "创建时间",
  21882. "type": "string"
  21883. },
  21884. "creatorid": {
  21885. "description": "创建人",
  21886. "type": "integer"
  21887. },
  21888. "modifierid": {
  21889. "description": "修改人",
  21890. "type": "integer"
  21891. },
  21892. "modifytime": {
  21893. "description": "修改时间",
  21894. "type": "string"
  21895. },
  21896. "userid": {
  21897. "description": "用户ID",
  21898. "type": "integer"
  21899. }
  21900. }
  21901. },
  21902. "models.Taaccount": {
  21903. "type": "object",
  21904. "required": [
  21905. "accountid",
  21906. "userid"
  21907. ],
  21908. "properties": {
  21909. "accountflag": {
  21910. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  21911. "type": "integer"
  21912. },
  21913. "accountid": {
  21914. "description": "资金账户ID",
  21915. "type": "integer"
  21916. },
  21917. "accountname": {
  21918. "description": "账户名称",
  21919. "type": "string"
  21920. },
  21921. "balance": {
  21922. "description": "期初余额",
  21923. "type": "number"
  21924. },
  21925. "capitalbalance": {
  21926. "description": "本金余额[外部子账户实际出入金余额]",
  21927. "type": "number"
  21928. },
  21929. "changeflag": {
  21930. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  21931. "type": "integer"
  21932. },
  21933. "changetime": {
  21934. "description": "账户状态变更时间",
  21935. "type": "string"
  21936. },
  21937. "closepl": {
  21938. "description": "今日平仓盈亏",
  21939. "type": "number"
  21940. },
  21941. "creditdecrease": {
  21942. "description": "今日授信减少",
  21943. "type": "number"
  21944. },
  21945. "creditincrease": {
  21946. "description": "今日授信增加",
  21947. "type": "number"
  21948. },
  21949. "currencyid": {
  21950. "description": "货币ID",
  21951. "type": "integer"
  21952. },
  21953. "currentbalance": {
  21954. "description": "期末余额",
  21955. "type": "number"
  21956. },
  21957. "freezecharge": {
  21958. "description": "手续费冻结",
  21959. "type": "number"
  21960. },
  21961. "freezemargin": {
  21962. "description": "冻结保证金",
  21963. "type": "number"
  21964. },
  21965. "fromaccountid": {
  21966. "description": "所属上级账户",
  21967. "type": "integer"
  21968. },
  21969. "inamount": {
  21970. "description": "今日入金金额(包括三方入金)",
  21971. "type": "number"
  21972. },
  21973. "ismain": {
  21974. "description": "是否母账号 0:不是母账户 1:是母账户",
  21975. "type": "integer"
  21976. },
  21977. "ismarketaccount": {
  21978. "description": "是否机构接单账号 0:不是 1:是",
  21979. "type": "integer"
  21980. },
  21981. "isreckonaccount": {
  21982. "description": "是否机构分润账号 0:不是 1:是",
  21983. "type": "integer"
  21984. },
  21985. "mortgagecredit": {
  21986. "description": "授信金额",
  21987. "type": "number"
  21988. },
  21989. "orifreezecharge": {
  21990. "description": "期初手续费冻结",
  21991. "type": "number"
  21992. },
  21993. "orifreezemargin": {
  21994. "description": "期初冻结保证金",
  21995. "type": "number"
  21996. },
  21997. "orimortgagecredit": {
  21998. "description": "期初授信金额",
  21999. "type": "number"
  22000. },
  22001. "oriothercredit": {
  22002. "description": "期初其它授信金额",
  22003. "type": "number"
  22004. },
  22005. "oriotherfreezemargin": {
  22006. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  22007. "type": "number"
  22008. },
  22009. "orioutamountfreeze": {
  22010. "description": "期初出金冻结",
  22011. "type": "number"
  22012. },
  22013. "oriusedmargin": {
  22014. "description": "期初占用保证金",
  22015. "type": "number"
  22016. },
  22017. "othercredit": {
  22018. "description": "其它授信金额",
  22019. "type": "number"
  22020. },
  22021. "othercreditdecrease": {
  22022. "description": "今日其它授信减少",
  22023. "type": "number"
  22024. },
  22025. "othercreditincrease": {
  22026. "description": "今日其它授信增加",
  22027. "type": "number"
  22028. },
  22029. "otherfreezemargin": {
  22030. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  22031. "type": "number"
  22032. },
  22033. "otherincome": {
  22034. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  22035. "type": "number"
  22036. },
  22037. "otherpay": {
  22038. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  22039. "type": "number"
  22040. },
  22041. "outamount": {
  22042. "description": "今日出金金额(包括三方出金)",
  22043. "type": "number"
  22044. },
  22045. "outamountfreeze": {
  22046. "description": "出金冻结",
  22047. "type": "number"
  22048. },
  22049. "outthreshold": {
  22050. "description": "出金阈值",
  22051. "type": "number"
  22052. },
  22053. "parentaccountid": {
  22054. "description": "所属根账号",
  22055. "type": "integer"
  22056. },
  22057. "paycharge": {
  22058. "description": "今日手续费支出",
  22059. "type": "number"
  22060. },
  22061. "relatedaccountstatus": {
  22062. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  22063. "type": "integer"
  22064. },
  22065. "relateduserid": {
  22066. "description": "关联用户",
  22067. "type": "integer"
  22068. },
  22069. "serivcegroup": {
  22070. "description": "服务分组",
  22071. "type": "integer"
  22072. },
  22073. "signstatus": {
  22074. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  22075. "type": "integer"
  22076. },
  22077. "sublevelpath": {
  22078. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  22079. "type": "string"
  22080. },
  22081. "taaccounttype": {
  22082. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  22083. "type": "integer"
  22084. },
  22085. "thirdinamount": {
  22086. "description": "今日三方入金",
  22087. "type": "number"
  22088. },
  22089. "thirdoutamount": {
  22090. "description": "今日三方出金",
  22091. "type": "number"
  22092. },
  22093. "tradestatus": {
  22094. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  22095. "type": "integer"
  22096. },
  22097. "tradestatuschangetime": {
  22098. "description": "激活时间",
  22099. "type": "string"
  22100. },
  22101. "transferamount": {
  22102. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  22103. "type": "number"
  22104. },
  22105. "usedmargin": {
  22106. "description": "占用保证金",
  22107. "type": "number"
  22108. },
  22109. "userid": {
  22110. "description": "用户ID",
  22111. "type": "integer"
  22112. }
  22113. }
  22114. },
  22115. "models.Tablecolumnconfig": {
  22116. "type": "object",
  22117. "required": [
  22118. "autoid"
  22119. ],
  22120. "properties": {
  22121. "aligntype": {
  22122. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  22123. "type": "integer"
  22124. },
  22125. "autoid": {
  22126. "description": "AutoID",
  22127. "type": "integer"
  22128. },
  22129. "columnfield": {
  22130. "description": "列字段",
  22131. "type": "string"
  22132. },
  22133. "columntitle": {
  22134. "description": "列Title",
  22135. "type": "string"
  22136. },
  22137. "columnwidth": {
  22138. "description": "列宽",
  22139. "type": "string"
  22140. },
  22141. "formatterstring": {
  22142. "description": "格式化字符",
  22143. "type": "string"
  22144. },
  22145. "formattertype": {
  22146. "description": "格式化类型",
  22147. "type": "string"
  22148. },
  22149. "groupname": {
  22150. "description": "表头分组名称",
  22151. "type": "string"
  22152. },
  22153. "isshow": {
  22154. "description": "是否显示 - 0:不显示 1:显示",
  22155. "type": "integer"
  22156. },
  22157. "needsummary": {
  22158. "description": "是否需要汇总 - 0:不需要 1:需要",
  22159. "type": "integer"
  22160. },
  22161. "orderindex": {
  22162. "description": "顺序",
  22163. "type": "integer"
  22164. },
  22165. "remark": {
  22166. "description": "备注",
  22167. "type": "string"
  22168. },
  22169. "summarytype": {
  22170. "description": "汇总类型 - 1:加总 2:最后一个",
  22171. "type": "integer"
  22172. },
  22173. "tablekey": {
  22174. "description": "列表Key",
  22175. "type": "string"
  22176. }
  22177. }
  22178. },
  22179. "models.UserCollectConfig": {
  22180. "type": "object",
  22181. "properties": {
  22182. "accountstatus": {
  22183. "description": "账户状态 - 1:正常 2:停用 3:注销",
  22184. "type": "integer"
  22185. },
  22186. "collectaccountname": {
  22187. "description": "收款人账户名称",
  22188. "type": "string"
  22189. },
  22190. "collectaccountno": {
  22191. "description": "收款人账户",
  22192. "type": "string"
  22193. },
  22194. "collectbankname": {
  22195. "description": "收款人开户行",
  22196. "type": "string"
  22197. },
  22198. "collectbranchbankname": {
  22199. "description": "收款人开户支行",
  22200. "type": "string"
  22201. },
  22202. "collectconfigid": {
  22203. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  22204. "type": "string"
  22205. },
  22206. "remark": {
  22207. "description": "备注",
  22208. "type": "string"
  22209. },
  22210. "userid": {
  22211. "description": "收款人用户ID",
  22212. "type": "integer"
  22213. }
  22214. }
  22215. },
  22216. "models.UserReceiveInfo": {
  22217. "type": "object",
  22218. "properties": {
  22219. "address": {
  22220. "description": "提货人详细地址",
  22221. "type": "string"
  22222. },
  22223. "autoid": {
  22224. "description": "AutoID",
  22225. "type": "integer"
  22226. },
  22227. "cardnum": {
  22228. "description": "证件号码(加密存储)",
  22229. "type": "string"
  22230. },
  22231. "cardtypeid": {
  22232. "description": "证件类型",
  22233. "type": "integer"
  22234. },
  22235. "cityid": {
  22236. "description": "市",
  22237. "type": "integer"
  22238. },
  22239. "cityname": {
  22240. "description": "城市名称",
  22241. "type": "string"
  22242. },
  22243. "countryid": {
  22244. "description": "国家",
  22245. "type": "integer"
  22246. },
  22247. "countryname": {
  22248. "description": "国家名称",
  22249. "type": "string"
  22250. },
  22251. "districtid": {
  22252. "description": "地区",
  22253. "type": "integer"
  22254. },
  22255. "districtname": {
  22256. "description": "地区名称",
  22257. "type": "string"
  22258. },
  22259. "hasencrypt": {
  22260. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22261. "type": "integer"
  22262. },
  22263. "isdefault": {
  22264. "description": "是否默认地址 - 0:否 1:是",
  22265. "type": "integer"
  22266. },
  22267. "phonenum": {
  22268. "description": "提货人联系方式(加密存储)",
  22269. "type": "string"
  22270. },
  22271. "provinceid": {
  22272. "description": "省",
  22273. "type": "integer"
  22274. },
  22275. "provincename": {
  22276. "description": "省名称",
  22277. "type": "string"
  22278. },
  22279. "receivername": {
  22280. "description": "提货人姓名",
  22281. "type": "string"
  22282. },
  22283. "takeremark": {
  22284. "description": "提货备注",
  22285. "type": "string"
  22286. },
  22287. "userid": {
  22288. "description": "用户ID",
  22289. "type": "integer"
  22290. }
  22291. }
  22292. },
  22293. "models.Useraccount": {
  22294. "type": "object",
  22295. "required": [
  22296. "userid"
  22297. ],
  22298. "properties": {
  22299. "accountname": {
  22300. "description": "账户名称(机构名称)",
  22301. "type": "string"
  22302. },
  22303. "accountstatus": {
  22304. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  22305. "type": "integer"
  22306. },
  22307. "applysrc": {
  22308. "description": "申请来源 - 1:管理端 2:终端",
  22309. "type": "integer"
  22310. },
  22311. "auditremark": {
  22312. "description": "审核备注",
  22313. "type": "string"
  22314. },
  22315. "auditsrc": {
  22316. "description": "审核来源 - 1:管理端 2:终端",
  22317. "type": "integer"
  22318. },
  22319. "audittime": {
  22320. "description": "审核时间",
  22321. "type": "string"
  22322. },
  22323. "audituserid": {
  22324. "description": "审核人",
  22325. "type": "integer"
  22326. },
  22327. "broker": {
  22328. "description": "所属经纪人ID",
  22329. "type": "integer"
  22330. },
  22331. "canceltime": {
  22332. "description": "销户时间",
  22333. "type": "string"
  22334. },
  22335. "canceluserid": {
  22336. "description": "销户人",
  22337. "type": "integer"
  22338. },
  22339. "canrecommend": {
  22340. "description": "是否可推荐 - 0:不可 1;可",
  22341. "type": "integer"
  22342. },
  22343. "createtime": {
  22344. "description": "创建时间",
  22345. "type": "string"
  22346. },
  22347. "creatorid": {
  22348. "description": "创建人",
  22349. "type": "integer"
  22350. },
  22351. "hasauth": {
  22352. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  22353. "type": "integer"
  22354. },
  22355. "isanonymous": {
  22356. "description": "是否匿名下单 - 0:否 1:是",
  22357. "type": "integer"
  22358. },
  22359. "maxinvestornum": {
  22360. "description": "最大用户数(经纪会员下投资者个数)",
  22361. "type": "integer"
  22362. },
  22363. "memberuserid": {
  22364. "description": "所属会员ID",
  22365. "type": "integer"
  22366. },
  22367. "modifierid": {
  22368. "description": "修改人",
  22369. "type": "integer"
  22370. },
  22371. "modifyremark": {
  22372. "description": "变更备注",
  22373. "type": "string"
  22374. },
  22375. "modifystatus": {
  22376. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  22377. "type": "integer"
  22378. },
  22379. "modifytime": {
  22380. "description": "修改时间",
  22381. "type": "string"
  22382. },
  22383. "parenttopuser": {
  22384. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  22385. "type": "string"
  22386. },
  22387. "parentuserid": {
  22388. "description": "所属机构ID",
  22389. "type": "integer"
  22390. },
  22391. "reckonaccountid": {
  22392. "description": "默认结算资金账号ID(机构分润使用) 作废",
  22393. "type": "integer"
  22394. },
  22395. "refercount": {
  22396. "description": "推荐总人数",
  22397. "type": "integer"
  22398. },
  22399. "refereeuserid": {
  22400. "description": "推荐人ID",
  22401. "type": "integer"
  22402. },
  22403. "refernum": {
  22404. "description": "推荐码",
  22405. "type": "string"
  22406. },
  22407. "rootuserid": {
  22408. "description": "根用户ID",
  22409. "type": "integer"
  22410. },
  22411. "subaccountlevel": {
  22412. "description": "子账户层数",
  22413. "type": "integer"
  22414. },
  22415. "subarealevelpath": {
  22416. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  22417. "type": "string"
  22418. },
  22419. "userid": {
  22420. "description": "用户ID",
  22421. "type": "integer"
  22422. },
  22423. "usertype": {
  22424. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  22425. "type": "integer"
  22426. }
  22427. }
  22428. },
  22429. "models.Userfavoritegoods": {
  22430. "type": "object",
  22431. "required": [
  22432. "goodsid"
  22433. ],
  22434. "properties": {
  22435. "goodsid": {
  22436. "description": "商品ID",
  22437. "type": "integer"
  22438. }
  22439. }
  22440. },
  22441. "models.Userinfo": {
  22442. "type": "object",
  22443. "required": [
  22444. "userid"
  22445. ],
  22446. "properties": {
  22447. "address": {
  22448. "description": "地址",
  22449. "type": "string"
  22450. },
  22451. "attachment1": {
  22452. "description": "附件1",
  22453. "type": "string"
  22454. },
  22455. "attachment2": {
  22456. "description": "附件2",
  22457. "type": "string"
  22458. },
  22459. "bankaccount": {
  22460. "description": "银行帐号 (加密存储)",
  22461. "type": "string"
  22462. },
  22463. "bankaccountname": {
  22464. "description": "收款人名称",
  22465. "type": "string"
  22466. },
  22467. "bankcardfrontphotourl": {
  22468. "description": "银行卡正面照地址",
  22469. "type": "string"
  22470. },
  22471. "bankid": {
  22472. "description": "银行编码",
  22473. "type": "string"
  22474. },
  22475. "bankname": {
  22476. "description": "银行名称",
  22477. "type": "string"
  22478. },
  22479. "biznature": {
  22480. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22481. "type": "integer"
  22482. },
  22483. "bizscope": {
  22484. "description": "企业经营范围(企业)",
  22485. "type": "string"
  22486. },
  22487. "cardbackphotourl": {
  22488. "description": "证件背面图片地址",
  22489. "type": "string"
  22490. },
  22491. "cardfrontphotourl": {
  22492. "description": "证件正面图片地址",
  22493. "type": "string"
  22494. },
  22495. "cardnum": {
  22496. "description": "证件号码(加密存储)",
  22497. "type": "string"
  22498. },
  22499. "cardtypeid": {
  22500. "description": "证件类型ID",
  22501. "type": "integer"
  22502. },
  22503. "cityid": {
  22504. "description": "市",
  22505. "type": "integer"
  22506. },
  22507. "company": {
  22508. "description": "公司(个人)",
  22509. "type": "string"
  22510. },
  22511. "contactname": {
  22512. "description": "联系人",
  22513. "type": "string"
  22514. },
  22515. "countryid": {
  22516. "description": "国家",
  22517. "type": "integer"
  22518. },
  22519. "createtime": {
  22520. "description": "创建时间",
  22521. "type": "string"
  22522. },
  22523. "creatorid": {
  22524. "description": "创建人",
  22525. "type": "integer"
  22526. },
  22527. "customername": {
  22528. "description": "客户名称(企业名称)",
  22529. "type": "string"
  22530. },
  22531. "districtid": {
  22532. "description": "地区",
  22533. "type": "integer"
  22534. },
  22535. "email": {
  22536. "description": "邮件(加密存储)",
  22537. "type": "string"
  22538. },
  22539. "fax": {
  22540. "description": "传真(加密存储)",
  22541. "type": "string"
  22542. },
  22543. "halfbodyphotourl": {
  22544. "description": "半身照地址",
  22545. "type": "string"
  22546. },
  22547. "hasencrypt": {
  22548. "description": "数据是否已加密 - 0:未加密 1:已加密",
  22549. "type": "integer"
  22550. },
  22551. "headurl": {
  22552. "description": "头像地址",
  22553. "type": "string"
  22554. },
  22555. "legalcardbackphotourl": {
  22556. "description": "法人身份证背面照地址",
  22557. "type": "string"
  22558. },
  22559. "legalcardfrontphotourl": {
  22560. "description": "法人身份证正面照地址",
  22561. "type": "string"
  22562. },
  22563. "legalpersonname": {
  22564. "description": "法人姓名(企业)",
  22565. "type": "string"
  22566. },
  22567. "mobile": {
  22568. "description": "手机号码(加密存储)",
  22569. "type": "string"
  22570. },
  22571. "mobile2": {
  22572. "description": "手机号码[明文-尚志]",
  22573. "type": "string"
  22574. },
  22575. "modifierid": {
  22576. "description": "修改人",
  22577. "type": "integer"
  22578. },
  22579. "modifiertime": {
  22580. "description": "修改时间",
  22581. "type": "string"
  22582. },
  22583. "needinvoice": {
  22584. "description": "是否需要发票 - 0:不需要 1:需要",
  22585. "type": "integer"
  22586. },
  22587. "nickname": {
  22588. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  22589. "type": "string"
  22590. },
  22591. "openmode": {
  22592. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  22593. "type": "integer"
  22594. },
  22595. "otherurl": {
  22596. "description": "其它图片地址[使用分号分隔]",
  22597. "type": "string"
  22598. },
  22599. "postalcode": {
  22600. "description": "邮政编码",
  22601. "type": "string"
  22602. },
  22603. "provinceid": {
  22604. "description": "省",
  22605. "type": "integer"
  22606. },
  22607. "qq": {
  22608. "description": "QQ(加密存储",
  22609. "type": "string"
  22610. },
  22611. "remark": {
  22612. "description": "备注",
  22613. "type": "string"
  22614. },
  22615. "sex": {
  22616. "description": "用户性别 0: 女 1: 男",
  22617. "type": "integer"
  22618. },
  22619. "signpdfurl": {
  22620. "description": "签约pdf文件",
  22621. "type": "string"
  22622. },
  22623. "telphone": {
  22624. "description": "联系电话(加密存储)",
  22625. "type": "string"
  22626. },
  22627. "userid": {
  22628. "description": "用户ID",
  22629. "type": "integer"
  22630. },
  22631. "userinfotype": {
  22632. "description": "用户信息类型 - 1:个人 2:企业",
  22633. "type": "integer"
  22634. },
  22635. "userstatus": {
  22636. "description": "用户状态 - 1:正常 2:注销",
  22637. "type": "integer"
  22638. },
  22639. "usertype": {
  22640. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  22641. "type": "integer"
  22642. },
  22643. "wechat": {
  22644. "description": "微信(加密存储)",
  22645. "type": "string"
  22646. },
  22647. "wskhinfo": {
  22648. "description": "开户申请信息(JSON)",
  22649. "type": "string"
  22650. }
  22651. }
  22652. },
  22653. "models.WRSConverTDetail": {
  22654. "type": "object",
  22655. "properties": {
  22656. "convertratio": {
  22657. "description": "套保系数",
  22658. "type": "number"
  22659. },
  22660. "deliverygoodscode": {
  22661. "description": "现货商品代码",
  22662. "type": "string"
  22663. },
  22664. "deliverygoodsid": {
  22665. "description": "现货品种ID",
  22666. "type": "integer"
  22667. },
  22668. "deliverygoodsname": {
  22669. "description": "现货商品名称",
  22670. "type": "string"
  22671. },
  22672. "enumdicname": {
  22673. "description": "单位名称",
  22674. "type": "string"
  22675. },
  22676. "goodsunitid": {
  22677. "description": "套保品种单位id",
  22678. "type": "integer"
  22679. },
  22680. "middlegoodscode": {
  22681. "description": "套保品种代码",
  22682. "type": "string"
  22683. },
  22684. "middlegoodsid": {
  22685. "description": "套保品种ID",
  22686. "type": "integer"
  22687. },
  22688. "middlegoodsname": {
  22689. "description": "套保品种名称",
  22690. "type": "string"
  22691. },
  22692. "modifytime": {
  22693. "description": "修改时间",
  22694. "type": "string"
  22695. },
  22696. "wrstandardid": {
  22697. "description": "品类ID",
  22698. "type": "integer"
  22699. }
  22700. }
  22701. },
  22702. "models.WRStandardInfo": {
  22703. "type": "object",
  22704. "required": [
  22705. "wrstandardid"
  22706. ],
  22707. "properties": {
  22708. "areauserid": {
  22709. "description": "所属机构",
  22710. "type": "integer"
  22711. },
  22712. "convertfactor": {
  22713. "description": "标仓系数",
  22714. "type": "number"
  22715. },
  22716. "createtime": {
  22717. "description": "创建时间",
  22718. "type": "string"
  22719. },
  22720. "creatorid": {
  22721. "description": "创建人",
  22722. "type": "integer"
  22723. },
  22724. "deliverygoodsid": {
  22725. "description": "品种ID",
  22726. "type": "integer"
  22727. },
  22728. "deliverygoodsname": {
  22729. "description": "交割商品名称",
  22730. "type": "string"
  22731. },
  22732. "factoryitemjson": {
  22733. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  22734. "type": "string"
  22735. },
  22736. "isvalid": {
  22737. "description": "是否有效 - 0:无效 1:有效",
  22738. "type": "integer"
  22739. },
  22740. "minivalue": {
  22741. "description": "最小变动值",
  22742. "type": "integer"
  22743. },
  22744. "minivaluedp": {
  22745. "description": "最小变动值小数位",
  22746. "type": "integer"
  22747. },
  22748. "realminivalue": {
  22749. "description": "实际最小变动值",
  22750. "type": "integer"
  22751. },
  22752. "realminivaluedp": {
  22753. "description": "实际最小变动值小数位",
  22754. "type": "integer"
  22755. },
  22756. "remark": {
  22757. "description": "备注",
  22758. "type": "string"
  22759. },
  22760. "unitid": {
  22761. "description": "单位ID",
  22762. "type": "integer"
  22763. },
  22764. "unitname": {
  22765. "description": "单位",
  22766. "type": "string"
  22767. },
  22768. "updatetime": {
  22769. "description": "更新时间",
  22770. "type": "string"
  22771. },
  22772. "updatorid": {
  22773. "description": "更新人",
  22774. "type": "integer"
  22775. },
  22776. "wrsstatus": {
  22777. "description": "状态 - 作废 - 0:未激活 1:正常",
  22778. "type": "integer"
  22779. },
  22780. "wrstandardcode": {
  22781. "description": "现货品类代码",
  22782. "type": "string"
  22783. },
  22784. "wrstandardid": {
  22785. "description": "现货品类ID(SEQ_WRSTANDARD)",
  22786. "type": "integer"
  22787. },
  22788. "wrstandardname": {
  22789. "description": "现货品类名称",
  22790. "type": "string"
  22791. }
  22792. }
  22793. },
  22794. "models.Warehouseinfo": {
  22795. "type": "object",
  22796. "required": [
  22797. "autoid",
  22798. "warehousecode"
  22799. ],
  22800. "properties": {
  22801. "address": {
  22802. "description": "详细地址",
  22803. "type": "string"
  22804. },
  22805. "areauserid": {
  22806. "description": "所属机构",
  22807. "type": "integer"
  22808. },
  22809. "autoid": {
  22810. "description": "自增ID",
  22811. "type": "integer"
  22812. },
  22813. "cityid": {
  22814. "description": "市",
  22815. "type": "integer"
  22816. },
  22817. "contactname": {
  22818. "description": "联系人",
  22819. "type": "string"
  22820. },
  22821. "contactnum": {
  22822. "description": "联系电话",
  22823. "type": "string"
  22824. },
  22825. "countryid": {
  22826. "description": "国家",
  22827. "type": "integer"
  22828. },
  22829. "createtime": {
  22830. "description": "创建时间",
  22831. "type": "string"
  22832. },
  22833. "districtid": {
  22834. "description": "区",
  22835. "type": "integer"
  22836. },
  22837. "hasvideo": {
  22838. "description": "是否有视频 - 0:无 1:有",
  22839. "type": "integer"
  22840. },
  22841. "provinceid": {
  22842. "description": "省",
  22843. "type": "integer"
  22844. },
  22845. "remark": {
  22846. "description": "审核备注",
  22847. "type": "string"
  22848. },
  22849. "videourl": {
  22850. "description": "视频地址",
  22851. "type": "string"
  22852. },
  22853. "warehousecode": {
  22854. "description": "仓库代码",
  22855. "type": "string"
  22856. },
  22857. "warehousename": {
  22858. "description": "仓库名称",
  22859. "type": "string"
  22860. },
  22861. "warehousestatus": {
  22862. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  22863. "type": "integer"
  22864. },
  22865. "warehousetype": {
  22866. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22867. "type": "integer"
  22868. }
  22869. }
  22870. },
  22871. "order.QueryHisTradeDetailRsp": {
  22872. "type": "object",
  22873. "required": [
  22874. "accountid",
  22875. "buyorsell",
  22876. "goodsid",
  22877. "histradedate",
  22878. "marketid",
  22879. "memberuserid",
  22880. "orderid",
  22881. "tradeamount",
  22882. "tradedate",
  22883. "tradeid",
  22884. "tradeprice",
  22885. "tradeqty",
  22886. "tradetime"
  22887. ],
  22888. "properties": {
  22889. "accountid": {
  22890. "description": "账户ID[报价币种]",
  22891. "type": "integer"
  22892. },
  22893. "buildtype": {
  22894. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  22895. "type": "integer"
  22896. },
  22897. "buyorsell": {
  22898. "description": "方向 - 0:买 1:卖",
  22899. "type": "integer"
  22900. },
  22901. "charge": {
  22902. "description": "手续费",
  22903. "type": "number"
  22904. },
  22905. "closecharge": {
  22906. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  22907. "type": "number"
  22908. },
  22909. "closeexchagechargevalue": {
  22910. "description": "平仓交易所手续费设置值",
  22911. "type": "number"
  22912. },
  22913. "closefeealgorithm": {
  22914. "description": "平仓手续费收取方式 1:比率 2:固定",
  22915. "type": "integer"
  22916. },
  22917. "closememberchargevalue": {
  22918. "description": "平仓会员手续费设置值",
  22919. "type": "number"
  22920. },
  22921. "closepl": {
  22922. "description": "平仓盈亏",
  22923. "type": "number"
  22924. },
  22925. "closepl2": {
  22926. "description": "平仓盈亏[逐笔]",
  22927. "type": "number"
  22928. },
  22929. "closeqty": {
  22930. "description": "平仓数量(先建后平操作 需要记录)",
  22931. "type": "integer"
  22932. },
  22933. "creditamount": {
  22934. "description": "授信金额",
  22935. "type": "number"
  22936. },
  22937. "gcaccountid": {
  22938. "description": "账户ID[合约币种]",
  22939. "type": "integer"
  22940. },
  22941. "goodscode": {
  22942. "description": "商品代码",
  22943. "type": "string"
  22944. },
  22945. "goodsid": {
  22946. "description": "商品ID",
  22947. "type": "integer"
  22948. },
  22949. "goodsname": {
  22950. "description": "商品名称",
  22951. "type": "string"
  22952. },
  22953. "histradedate": {
  22954. "description": "历史交易日",
  22955. "type": "string"
  22956. },
  22957. "intclosepl": {
  22958. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  22959. "type": "integer"
  22960. },
  22961. "isconfirmexercise": {
  22962. "description": "是否确认行权- 0:否 1:是",
  22963. "type": "integer"
  22964. },
  22965. "ismain": {
  22966. "description": "是否主单 - 0:不是 1:是",
  22967. "type": "integer"
  22968. },
  22969. "ispreexercise": {
  22970. "description": "是否预申报- 0:否 1:是",
  22971. "type": "integer"
  22972. },
  22973. "isreckoned": {
  22974. "description": "是否结算 - 0:未结算 1:已结算",
  22975. "type": "integer"
  22976. },
  22977. "isvaliddata": {
  22978. "description": "是否有效 - 0:无效 1:有效",
  22979. "type": "integer"
  22980. },
  22981. "listingselecttype": {
  22982. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  22983. "type": "integer"
  22984. },
  22985. "marketid": {
  22986. "description": "市场ID",
  22987. "type": "integer"
  22988. },
  22989. "marketname": {
  22990. "description": "市场名称",
  22991. "type": "string"
  22992. },
  22993. "matchaccountid": {
  22994. "description": "对手账号id",
  22995. "type": "integer"
  22996. },
  22997. "memberuserid": {
  22998. "description": "会员id 个人投资者 需要填写",
  22999. "type": "integer"
  23000. },
  23001. "opencharge": {
  23002. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23003. "type": "number"
  23004. },
  23005. "openexchagechargevalue": {
  23006. "description": "建仓交易所手续费设置值",
  23007. "type": "number"
  23008. },
  23009. "openfeealgorithm": {
  23010. "description": "建仓手续费收取方式 1:比率 2:固定",
  23011. "type": "integer"
  23012. },
  23013. "openmemberchargevalue": {
  23014. "description": "建仓会员手续费设置值",
  23015. "type": "number"
  23016. },
  23017. "openqty": {
  23018. "description": "开仓数量(先建后平操作 需要记录)",
  23019. "type": "integer"
  23020. },
  23021. "optiontype": {
  23022. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23023. "type": "integer"
  23024. },
  23025. "orderid": {
  23026. "description": "委托单号",
  23027. "type": "string"
  23028. },
  23029. "performanceplanid": {
  23030. "description": "履约计划ID[期权]",
  23031. "type": "integer"
  23032. },
  23033. "performancestatus": {
  23034. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23035. "type": "integer"
  23036. },
  23037. "preexerciseprice": {
  23038. "description": "预申报价格",
  23039. "type": "number"
  23040. },
  23041. "premium": {
  23042. "description": "权利金 - [持仓单的权利金]",
  23043. "type": "number"
  23044. },
  23045. "relatedouttradeid": {
  23046. "description": "关联外部成交单ID",
  23047. "type": "integer"
  23048. },
  23049. "status": {
  23050. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23051. "type": "integer"
  23052. },
  23053. "tradeamount": {
  23054. "description": "成交金额[账户币种,用于所有权]",
  23055. "type": "number"
  23056. },
  23057. "tradedate": {
  23058. "description": "交易日(yyyyMMdd)",
  23059. "type": "string"
  23060. },
  23061. "tradeid": {
  23062. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23063. "type": "string"
  23064. },
  23065. "trademode": {
  23066. "description": "交易模式",
  23067. "type": "integer"
  23068. },
  23069. "tradeprice": {
  23070. "description": "成交价格",
  23071. "type": "number"
  23072. },
  23073. "tradeproperty": {
  23074. "description": "交易属性",
  23075. "type": "integer"
  23076. },
  23077. "tradeqty": {
  23078. "description": "成交数量",
  23079. "type": "integer"
  23080. },
  23081. "tradetime": {
  23082. "description": "成交时间",
  23083. "type": "string"
  23084. },
  23085. "tradetype": {
  23086. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23087. "type": "integer"
  23088. }
  23089. }
  23090. },
  23091. "order.QueryHisTradeOrderDetailRsp": {
  23092. "type": "object",
  23093. "required": [
  23094. "accountid",
  23095. "buildtype",
  23096. "buyorsell",
  23097. "goodsid",
  23098. "histradedate",
  23099. "marketid",
  23100. "memberuserid",
  23101. "operatetype",
  23102. "orderid",
  23103. "orderqty",
  23104. "ordertime",
  23105. "pricemode",
  23106. "tradedate",
  23107. "validtype"
  23108. ],
  23109. "properties": {
  23110. "accountid": {
  23111. "description": "账户ID[报价币种]",
  23112. "type": "integer"
  23113. },
  23114. "buildtype": {
  23115. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23116. "type": "integer"
  23117. },
  23118. "buyorsell": {
  23119. "description": "买卖 - 0:买 1:卖",
  23120. "type": "integer"
  23121. },
  23122. "cancelorderid": {
  23123. "description": "撤单单号(撤单时填写)",
  23124. "type": "string"
  23125. },
  23126. "cancelqty": {
  23127. "description": "撤单数量",
  23128. "type": "integer"
  23129. },
  23130. "clientordertime": {
  23131. "description": "客户端委托时间",
  23132. "type": "string"
  23133. },
  23134. "clientticket": {
  23135. "description": "客户端流水号",
  23136. "type": "string"
  23137. },
  23138. "clienttype": {
  23139. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23140. "type": "integer"
  23141. },
  23142. "closeexchagechargevalue": {
  23143. "description": "平仓交易所手续费设置值",
  23144. "type": "number"
  23145. },
  23146. "closefeealgorithm": {
  23147. "description": "平仓手续费收取方式 1:比率 2:固定",
  23148. "type": "integer"
  23149. },
  23150. "closefreezecharge": {
  23151. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23152. "type": "number"
  23153. },
  23154. "closememberchargevalue": {
  23155. "description": "平仓会员手续费设置值",
  23156. "type": "number"
  23157. },
  23158. "closeqty": {
  23159. "description": "平仓数量(先建后平操作 需要记录)",
  23160. "type": "integer"
  23161. },
  23162. "closetradeqty": {
  23163. "description": "平仓成交数量(先建后平操作,需要记录)",
  23164. "type": "integer"
  23165. },
  23166. "closeunfreezecharge": {
  23167. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23168. "type": "number"
  23169. },
  23170. "delistingtype": {
  23171. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23172. "type": "integer"
  23173. },
  23174. "freezecharge": {
  23175. "description": "冻结手续费",
  23176. "type": "number"
  23177. },
  23178. "freezemargin": {
  23179. "description": "冻结保证金(冻结交易金额)",
  23180. "type": "number"
  23181. },
  23182. "gcaccountid": {
  23183. "description": "账户ID[合约币种]",
  23184. "type": "integer"
  23185. },
  23186. "goodscode": {
  23187. "description": "商品代码",
  23188. "type": "string"
  23189. },
  23190. "goodsid": {
  23191. "description": "商品ID",
  23192. "type": "integer"
  23193. },
  23194. "goodsname": {
  23195. "description": "商品名称",
  23196. "type": "string"
  23197. },
  23198. "histradedate": {
  23199. "description": "历史交易日",
  23200. "type": "string"
  23201. },
  23202. "isconfirmexercise": {
  23203. "description": "是否确认行权- 0:否 1:是",
  23204. "type": "integer"
  23205. },
  23206. "ispreexercise": {
  23207. "description": "是否预申报- 0:否 1:是",
  23208. "type": "integer"
  23209. },
  23210. "isvaliddata": {
  23211. "description": "是否有效 - 0:无效 1:有效",
  23212. "type": "integer"
  23213. },
  23214. "listingselecttype": {
  23215. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23216. "type": "integer"
  23217. },
  23218. "marginalgorithm": {
  23219. "description": "保证金收取方式 1:比率 2:固定",
  23220. "type": "integer"
  23221. },
  23222. "marginvalue": {
  23223. "description": "即市保证金设置值",
  23224. "type": "number"
  23225. },
  23226. "marketid": {
  23227. "description": "市场ID",
  23228. "type": "integer"
  23229. },
  23230. "marketmaxsub": {
  23231. "description": "市价最大偏移范围",
  23232. "type": "number"
  23233. },
  23234. "marketname": {
  23235. "description": "市场名称",
  23236. "type": "string"
  23237. },
  23238. "memberuserid": {
  23239. "description": "所属会员UserID",
  23240. "type": "integer"
  23241. },
  23242. "openexchagechargevalue": {
  23243. "description": "建仓交易所手续费设置值",
  23244. "type": "number"
  23245. },
  23246. "openfeealgorithm": {
  23247. "description": "建仓手续费收取方式 1:比率 2:固定",
  23248. "type": "integer"
  23249. },
  23250. "openfreezecharge": {
  23251. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23252. "type": "number"
  23253. },
  23254. "openmemberchargevalue": {
  23255. "description": "建仓会员手续费设置值",
  23256. "type": "number"
  23257. },
  23258. "openqty": {
  23259. "description": "开仓数量(先建后平操作,需要记录)",
  23260. "type": "integer"
  23261. },
  23262. "opentradeqty": {
  23263. "description": "开仓成交数量(先建后平操作,需要记录)",
  23264. "type": "integer"
  23265. },
  23266. "openunfreezecharge": {
  23267. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23268. "type": "number"
  23269. },
  23270. "operatetype": {
  23271. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23272. "type": "integer"
  23273. },
  23274. "operatorid": {
  23275. "description": "登录账号(LoginID)",
  23276. "type": "integer"
  23277. },
  23278. "optiontype": {
  23279. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23280. "type": "integer"
  23281. },
  23282. "orderid": {
  23283. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23284. "type": "string"
  23285. },
  23286. "orderprice": {
  23287. "description": "委托价格",
  23288. "type": "number"
  23289. },
  23290. "orderqty": {
  23291. "description": "委托数量",
  23292. "type": "integer"
  23293. },
  23294. "ordersrc": {
  23295. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23296. "type": "integer"
  23297. },
  23298. "orderstatus": {
  23299. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23300. "type": "integer"
  23301. },
  23302. "ordertime": {
  23303. "description": "委托时间",
  23304. "type": "string"
  23305. },
  23306. "preexerciseprice": {
  23307. "description": "预申报价格",
  23308. "type": "number"
  23309. },
  23310. "premium": {
  23311. "description": "权利金",
  23312. "type": "number"
  23313. },
  23314. "preorderid": {
  23315. "description": "关联预埋单号(止盈止损单时填写)",
  23316. "type": "string"
  23317. },
  23318. "pricemode": {
  23319. "description": "取价方式 - 1:市价 2: 限价",
  23320. "type": "integer"
  23321. },
  23322. "quoteid": {
  23323. "description": "报价单ID",
  23324. "type": "integer"
  23325. },
  23326. "relatedid": {
  23327. "description": "关联单号(交割单)",
  23328. "type": "string"
  23329. },
  23330. "retcode": {
  23331. "description": "错误代码",
  23332. "type": "integer"
  23333. },
  23334. "sessionid": {
  23335. "description": "会话ID",
  23336. "type": "integer"
  23337. },
  23338. "tradedate": {
  23339. "description": "交易日(yyyyMMdd)",
  23340. "type": "string"
  23341. },
  23342. "trademode": {
  23343. "description": "交易模式",
  23344. "type": "integer"
  23345. },
  23346. "tradeproperty": {
  23347. "description": "交易属性",
  23348. "type": "integer"
  23349. },
  23350. "tradeqty": {
  23351. "description": "成交数量",
  23352. "type": "integer"
  23353. },
  23354. "unfreezecharge": {
  23355. "description": "解冻手续费",
  23356. "type": "number"
  23357. },
  23358. "unfreezemargin": {
  23359. "description": "解冻保证金",
  23360. "type": "number"
  23361. },
  23362. "updatetime": {
  23363. "description": "更新时间",
  23364. "type": "string"
  23365. },
  23366. "uuid": {
  23367. "description": "发起端唯一id",
  23368. "type": "string"
  23369. },
  23370. "validtime": {
  23371. "description": "有效期限",
  23372. "type": "string"
  23373. },
  23374. "validtype": {
  23375. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23376. "type": "integer"
  23377. },
  23378. "volumetype": {
  23379. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23380. "type": "integer"
  23381. }
  23382. }
  23383. },
  23384. "order.QueryTradeDetailRsp": {
  23385. "type": "object",
  23386. "required": [
  23387. "accountid",
  23388. "buyorsell",
  23389. "goodsid",
  23390. "marketid",
  23391. "memberuserid",
  23392. "orderid",
  23393. "tradeamount",
  23394. "tradedate",
  23395. "tradeid",
  23396. "tradeprice",
  23397. "tradeqty",
  23398. "tradetime"
  23399. ],
  23400. "properties": {
  23401. "accountid": {
  23402. "description": "账户ID[报价币种]",
  23403. "type": "integer"
  23404. },
  23405. "buildtype": {
  23406. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  23407. "type": "integer"
  23408. },
  23409. "buyorsell": {
  23410. "description": "方向 - 0:买 1:卖",
  23411. "type": "integer"
  23412. },
  23413. "charge": {
  23414. "description": "手续费",
  23415. "type": "number"
  23416. },
  23417. "closecharge": {
  23418. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23419. "type": "number"
  23420. },
  23421. "closeexchagechargevalue": {
  23422. "description": "平仓交易所手续费设置值",
  23423. "type": "number"
  23424. },
  23425. "closefeealgorithm": {
  23426. "description": "平仓手续费收取方式 1:比率 2:固定",
  23427. "type": "integer"
  23428. },
  23429. "closememberchargevalue": {
  23430. "description": "平仓会员手续费设置值",
  23431. "type": "number"
  23432. },
  23433. "closepl": {
  23434. "description": "平仓盈亏",
  23435. "type": "number"
  23436. },
  23437. "closepl2": {
  23438. "description": "平仓盈亏[逐笔]",
  23439. "type": "number"
  23440. },
  23441. "closeqty": {
  23442. "description": "平仓数量(先建后平操作 需要记录)",
  23443. "type": "integer"
  23444. },
  23445. "creditamount": {
  23446. "description": "授信金额",
  23447. "type": "number"
  23448. },
  23449. "gcaccountid": {
  23450. "description": "账户ID[合约币种]",
  23451. "type": "integer"
  23452. },
  23453. "goodscode": {
  23454. "description": "商品代码",
  23455. "type": "string"
  23456. },
  23457. "goodsid": {
  23458. "description": "商品ID",
  23459. "type": "integer"
  23460. },
  23461. "goodsname": {
  23462. "description": "商品名称",
  23463. "type": "string"
  23464. },
  23465. "intclosepl": {
  23466. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  23467. "type": "integer"
  23468. },
  23469. "isconfirmexercise": {
  23470. "description": "是否确认行权- 0:否 1:是",
  23471. "type": "integer"
  23472. },
  23473. "ismain": {
  23474. "description": "是否主单 - 0:不是 1:是",
  23475. "type": "integer"
  23476. },
  23477. "ispreexercise": {
  23478. "description": "是否预申报- 0:否 1:是",
  23479. "type": "integer"
  23480. },
  23481. "isreckoned": {
  23482. "description": "是否结算 - 0:未结算 1:已结算",
  23483. "type": "integer"
  23484. },
  23485. "listingselecttype": {
  23486. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23487. "type": "integer"
  23488. },
  23489. "marketid": {
  23490. "description": "市场ID",
  23491. "type": "integer"
  23492. },
  23493. "marketname": {
  23494. "description": "市场名称",
  23495. "type": "string"
  23496. },
  23497. "matchaccountid": {
  23498. "description": "对手账号id",
  23499. "type": "integer"
  23500. },
  23501. "memberuserid": {
  23502. "description": "会员id 个人投资者 需要填写",
  23503. "type": "integer"
  23504. },
  23505. "opencharge": {
  23506. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  23507. "type": "number"
  23508. },
  23509. "openexchagechargevalue": {
  23510. "description": "建仓交易所手续费设置值",
  23511. "type": "number"
  23512. },
  23513. "openfeealgorithm": {
  23514. "description": "建仓手续费收取方式 1:比率 2:固定",
  23515. "type": "integer"
  23516. },
  23517. "openmemberchargevalue": {
  23518. "description": "建仓会员手续费设置值",
  23519. "type": "number"
  23520. },
  23521. "openqty": {
  23522. "description": "开仓数量(先建后平操作 需要记录)",
  23523. "type": "integer"
  23524. },
  23525. "optiontype": {
  23526. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  23527. "type": "integer"
  23528. },
  23529. "orderid": {
  23530. "description": "委托单号",
  23531. "type": "string"
  23532. },
  23533. "performanceplanid": {
  23534. "description": "履约计划ID[期权]",
  23535. "type": "integer"
  23536. },
  23537. "performancestatus": {
  23538. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  23539. "type": "integer"
  23540. },
  23541. "preexerciseprice": {
  23542. "description": "预申报价格",
  23543. "type": "number"
  23544. },
  23545. "premium": {
  23546. "description": "权利金 - [持仓单的权利金]",
  23547. "type": "number"
  23548. },
  23549. "relatedouttradeid": {
  23550. "description": "关联外部成交单ID",
  23551. "type": "integer"
  23552. },
  23553. "status": {
  23554. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  23555. "type": "integer"
  23556. },
  23557. "tradeamount": {
  23558. "description": "成交金额[账户币种,用于所有权]",
  23559. "type": "number"
  23560. },
  23561. "tradedate": {
  23562. "description": "交易日(yyyyMMdd)",
  23563. "type": "string"
  23564. },
  23565. "tradeid": {
  23566. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23567. "type": "string"
  23568. },
  23569. "trademode": {
  23570. "description": "交易模式",
  23571. "type": "integer"
  23572. },
  23573. "tradeprice": {
  23574. "description": "成交价格",
  23575. "type": "number"
  23576. },
  23577. "tradeproperty": {
  23578. "description": "交易属性",
  23579. "type": "integer"
  23580. },
  23581. "tradeqty": {
  23582. "description": "成交数量",
  23583. "type": "integer"
  23584. },
  23585. "tradetime": {
  23586. "description": "成交时间",
  23587. "type": "string"
  23588. },
  23589. "tradetype": {
  23590. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  23591. "type": "integer"
  23592. }
  23593. }
  23594. },
  23595. "order.QueryTradeOrderDetailRsp": {
  23596. "type": "object",
  23597. "required": [
  23598. "accountid",
  23599. "buildtype",
  23600. "buyorsell",
  23601. "goodsid",
  23602. "marketid",
  23603. "operatetype",
  23604. "orderqty",
  23605. "ordertime",
  23606. "pricemode",
  23607. "tradedate",
  23608. "validtype"
  23609. ],
  23610. "properties": {
  23611. "accountid": {
  23612. "description": "账户ID[报价币种]",
  23613. "type": "integer"
  23614. },
  23615. "buildtype": {
  23616. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  23617. "type": "integer"
  23618. },
  23619. "buyorsell": {
  23620. "description": "买卖 - 0:买 1:卖",
  23621. "type": "integer"
  23622. },
  23623. "cancelorderid": {
  23624. "description": "撤单单号(撤单时填写)",
  23625. "type": "string"
  23626. },
  23627. "cancelqty": {
  23628. "description": "撤单数量",
  23629. "type": "integer"
  23630. },
  23631. "clienttype": {
  23632. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  23633. "type": "integer"
  23634. },
  23635. "closefreezecharge": {
  23636. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  23637. "type": "number"
  23638. },
  23639. "closeqty": {
  23640. "description": "平仓数量(先建后平操作 需要记录)",
  23641. "type": "integer"
  23642. },
  23643. "closetradeqty": {
  23644. "description": "平仓成交数量(先建后平操作,需要记录)",
  23645. "type": "integer"
  23646. },
  23647. "closeunfreezecharge": {
  23648. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  23649. "type": "number"
  23650. },
  23651. "delistingtype": {
  23652. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  23653. "type": "integer"
  23654. },
  23655. "enableqty": {
  23656. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  23657. "type": "integer"
  23658. },
  23659. "freezecharge": {
  23660. "description": "冻结手续费",
  23661. "type": "number"
  23662. },
  23663. "freezemargin": {
  23664. "description": "冻结保证金(冻结交易金额)",
  23665. "type": "number"
  23666. },
  23667. "goodscode": {
  23668. "description": "商品代码",
  23669. "type": "string"
  23670. },
  23671. "goodsid": {
  23672. "description": "商品ID",
  23673. "type": "integer"
  23674. },
  23675. "goodsname": {
  23676. "description": "商品名称",
  23677. "type": "string"
  23678. },
  23679. "listingselecttype": {
  23680. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  23681. "type": "integer"
  23682. },
  23683. "marketid": {
  23684. "description": "市场ID",
  23685. "type": "integer"
  23686. },
  23687. "marketname": {
  23688. "description": "市场名称",
  23689. "type": "string"
  23690. },
  23691. "openfreezecharge": {
  23692. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  23693. "type": "number"
  23694. },
  23695. "openqty": {
  23696. "description": "开仓数量(先建后平操作,需要记录)",
  23697. "type": "integer"
  23698. },
  23699. "opentradeqty": {
  23700. "description": "开仓成交数量(先建后平操作,需要记录)",
  23701. "type": "integer"
  23702. },
  23703. "openunfreezecharge": {
  23704. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  23705. "type": "number"
  23706. },
  23707. "operatetype": {
  23708. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  23709. "type": "integer"
  23710. },
  23711. "operatorid": {
  23712. "description": "登录账号(LoginID)",
  23713. "type": "integer"
  23714. },
  23715. "orderid": {
  23716. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  23717. "type": "string"
  23718. },
  23719. "orderprice": {
  23720. "description": "委托价格",
  23721. "type": "number"
  23722. },
  23723. "orderqty": {
  23724. "description": "委托数量",
  23725. "type": "integer"
  23726. },
  23727. "ordersrc": {
  23728. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  23729. "type": "integer"
  23730. },
  23731. "orderstatus": {
  23732. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  23733. "type": "integer"
  23734. },
  23735. "ordertime": {
  23736. "description": "委托时间",
  23737. "type": "string"
  23738. },
  23739. "preorderid": {
  23740. "description": "关联预埋单号(止盈止损单时填写)",
  23741. "type": "string"
  23742. },
  23743. "pricemode": {
  23744. "description": "取价方式 - 1:市价 2: 限价",
  23745. "type": "integer"
  23746. },
  23747. "relatedid": {
  23748. "description": "关联单号(交割单)",
  23749. "type": "string"
  23750. },
  23751. "tradedate": {
  23752. "description": "交易日(yyyyMMdd)",
  23753. "type": "string"
  23754. },
  23755. "trademode": {
  23756. "description": "交易模式",
  23757. "type": "integer"
  23758. },
  23759. "tradeqty": {
  23760. "description": "成交数量",
  23761. "type": "integer"
  23762. },
  23763. "unfreezecharge": {
  23764. "description": "解冻手续费",
  23765. "type": "number"
  23766. },
  23767. "unfreezemargin": {
  23768. "description": "解冻保证金",
  23769. "type": "number"
  23770. },
  23771. "validtime": {
  23772. "description": "有效期限",
  23773. "type": "string"
  23774. },
  23775. "validtype": {
  23776. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  23777. "type": "integer"
  23778. },
  23779. "volumetype": {
  23780. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  23781. "type": "integer"
  23782. }
  23783. }
  23784. },
  23785. "order.QueryTradePositionRsp": {
  23786. "type": "object",
  23787. "required": [
  23788. "goodsid"
  23789. ],
  23790. "properties": {
  23791. "accountid": {
  23792. "description": "资金账户",
  23793. "type": "integer"
  23794. },
  23795. "agreeunit": {
  23796. "description": "合约单位",
  23797. "type": "number"
  23798. },
  23799. "averageprice": {
  23800. "description": "持仓均价",
  23801. "type": "number"
  23802. },
  23803. "buyorsell": {
  23804. "description": "方向 - 0:买 1:卖",
  23805. "type": "integer"
  23806. },
  23807. "closetotalqty": {
  23808. "description": "平仓总数量",
  23809. "type": "integer"
  23810. },
  23811. "curholderamount": {
  23812. "description": "当前持仓总金额[商品币种]",
  23813. "type": "number"
  23814. },
  23815. "curpositionqty": {
  23816. "description": "当前持仓总数量",
  23817. "type": "integer"
  23818. },
  23819. "currencyid": {
  23820. "description": "报价货币ID",
  23821. "type": "integer"
  23822. },
  23823. "curtdposition": {
  23824. "description": "期末今日头寸",
  23825. "type": "integer"
  23826. },
  23827. "decimalplace": {
  23828. "description": "报价小数位",
  23829. "type": "integer"
  23830. },
  23831. "enableqty": {
  23832. "description": "可用量",
  23833. "type": "integer"
  23834. },
  23835. "fretdposition": {
  23836. "description": "冻结今日头寸",
  23837. "type": "integer"
  23838. },
  23839. "frozenqty": {
  23840. "description": "持仓冻结数量",
  23841. "type": "integer"
  23842. },
  23843. "goodscode": {
  23844. "description": "商品代码",
  23845. "type": "string"
  23846. },
  23847. "goodsid": {
  23848. "description": "商品Id",
  23849. "type": "integer"
  23850. },
  23851. "goodsname": {
  23852. "description": "商品名称",
  23853. "type": "string"
  23854. },
  23855. "goodunit": {
  23856. "description": "报价单位",
  23857. "type": "string"
  23858. },
  23859. "goodunitid": {
  23860. "description": "报价单位ID",
  23861. "type": "integer"
  23862. },
  23863. "holderamount": {
  23864. "description": "期初持仓总金额[商品币种]",
  23865. "type": "number"
  23866. },
  23867. "marketid": {
  23868. "description": "所属市场ID",
  23869. "type": "integer"
  23870. },
  23871. "openreqqty": {
  23872. "description": "开仓申请数量(用于比较最大持仓数量)",
  23873. "type": "integer"
  23874. },
  23875. "opentotalqty": {
  23876. "description": "开仓总数量",
  23877. "type": "integer"
  23878. },
  23879. "otherfrozenqty": {
  23880. "description": "持仓其他冻结数量(交割冻结)",
  23881. "type": "integer"
  23882. },
  23883. "positionqty": {
  23884. "description": "期初持仓数量",
  23885. "type": "integer"
  23886. },
  23887. "tnqty": {
  23888. "description": "T+N冻结总量",
  23889. "type": "integer"
  23890. },
  23891. "tnusedqty": {
  23892. "description": "T+N使用量(可以使用T+N的冻结数量)",
  23893. "type": "integer"
  23894. },
  23895. "trademode": {
  23896. "description": "交易模式",
  23897. "type": "integer"
  23898. },
  23899. "usedmargin": {
  23900. "description": "占用保证金[商品币种]",
  23901. "type": "number"
  23902. }
  23903. }
  23904. },
  23905. "quote.HistoryData": {
  23906. "type": "object",
  23907. "properties": {
  23908. "c": {
  23909. "description": "收盘价",
  23910. "type": "number"
  23911. },
  23912. "f": {
  23913. "description": "是否补充数据",
  23914. "type": "boolean"
  23915. },
  23916. "h": {
  23917. "description": "最高价",
  23918. "type": "number"
  23919. },
  23920. "hv": {
  23921. "description": "持仓量",
  23922. "type": "integer"
  23923. },
  23924. "l": {
  23925. "description": "最低价",
  23926. "type": "number"
  23927. },
  23928. "o": {
  23929. "description": "开盘价",
  23930. "type": "number"
  23931. },
  23932. "s": {
  23933. "description": "结算价,日线周期(包括)以上才有",
  23934. "type": "number"
  23935. },
  23936. "ts": {
  23937. "description": "时间",
  23938. "type": "string"
  23939. },
  23940. "tt": {
  23941. "description": "总金额",
  23942. "type": "number"
  23943. },
  23944. "tv": {
  23945. "description": "总量",
  23946. "type": "integer"
  23947. }
  23948. }
  23949. },
  23950. "quote.HistoryTikData": {
  23951. "type": "object",
  23952. "properties": {
  23953. "AV": {
  23954. "description": "卖量",
  23955. "type": "integer"
  23956. },
  23957. "Ask": {
  23958. "description": "卖价",
  23959. "type": "number"
  23960. },
  23961. "BV": {
  23962. "description": "买量",
  23963. "type": "integer"
  23964. },
  23965. "Bid": {
  23966. "description": "买价",
  23967. "type": "number"
  23968. },
  23969. "HI": {
  23970. "description": "单笔持仓",
  23971. "type": "integer"
  23972. },
  23973. "HV": {
  23974. "description": "持仓量",
  23975. "type": "integer"
  23976. },
  23977. "PE": {
  23978. "description": "现价",
  23979. "type": "number"
  23980. },
  23981. "TDR": {
  23982. "description": "交易方向,0:买 1:卖",
  23983. "type": "integer"
  23984. },
  23985. "TK": {
  23986. "description": "交易类型",
  23987. "type": "integer"
  23988. },
  23989. "TS": {
  23990. "description": "行情时间文本",
  23991. "type": "string"
  23992. },
  23993. "TT": {
  23994. "description": "现金额",
  23995. "type": "number"
  23996. },
  23997. "Vol": {
  23998. "description": "现量",
  23999. "type": "integer"
  24000. }
  24001. }
  24002. },
  24003. "quote.QueryQuoteDayRsp": {
  24004. "type": "object",
  24005. "properties": {
  24006. "ask": {
  24007. "description": "卖1",
  24008. "type": "number"
  24009. },
  24010. "ask10": {
  24011. "description": "卖10",
  24012. "type": "number"
  24013. },
  24014. "ask2": {
  24015. "description": "卖2",
  24016. "type": "number"
  24017. },
  24018. "ask3": {
  24019. "description": "卖3",
  24020. "type": "number"
  24021. },
  24022. "ask4": {
  24023. "description": "卖4",
  24024. "type": "number"
  24025. },
  24026. "ask5": {
  24027. "description": "卖5",
  24028. "type": "number"
  24029. },
  24030. "ask6": {
  24031. "description": "卖6",
  24032. "type": "number"
  24033. },
  24034. "ask7": {
  24035. "description": "卖7",
  24036. "type": "number"
  24037. },
  24038. "ask8": {
  24039. "description": "卖8",
  24040. "type": "number"
  24041. },
  24042. "ask9": {
  24043. "description": "卖9",
  24044. "type": "number"
  24045. },
  24046. "askorderid": {
  24047. "description": "卖单号1",
  24048. "type": "integer"
  24049. },
  24050. "askorderid2": {
  24051. "description": "卖单号2",
  24052. "type": "integer"
  24053. },
  24054. "askorderid3": {
  24055. "description": "卖单号3",
  24056. "type": "integer"
  24057. },
  24058. "askorderid4": {
  24059. "description": "卖单号4",
  24060. "type": "integer"
  24061. },
  24062. "askorderid5": {
  24063. "description": "卖单号5",
  24064. "type": "integer"
  24065. },
  24066. "askordervolume": {
  24067. "description": "卖单量1",
  24068. "type": "integer"
  24069. },
  24070. "askordervolume10": {
  24071. "description": "卖单量10",
  24072. "type": "integer"
  24073. },
  24074. "askordervolume2": {
  24075. "description": "卖单量2",
  24076. "type": "integer"
  24077. },
  24078. "askordervolume3": {
  24079. "description": "卖单量3",
  24080. "type": "integer"
  24081. },
  24082. "askordervolume4": {
  24083. "description": "卖单量4",
  24084. "type": "integer"
  24085. },
  24086. "askordervolume5": {
  24087. "description": "卖单量5",
  24088. "type": "integer"
  24089. },
  24090. "askordervolume6": {
  24091. "description": "卖单量6",
  24092. "type": "integer"
  24093. },
  24094. "askordervolume7": {
  24095. "description": "卖单量7",
  24096. "type": "integer"
  24097. },
  24098. "askordervolume8": {
  24099. "description": "卖单量8",
  24100. "type": "integer"
  24101. },
  24102. "askordervolume9": {
  24103. "description": "卖单量9",
  24104. "type": "integer"
  24105. },
  24106. "askqueueinfo": {
  24107. "description": "大利市卖港股用",
  24108. "type": "string"
  24109. },
  24110. "askvolume": {
  24111. "description": "卖量1",
  24112. "type": "integer"
  24113. },
  24114. "askvolume10": {
  24115. "description": "卖量10",
  24116. "type": "integer"
  24117. },
  24118. "askvolume2": {
  24119. "description": "卖量2",
  24120. "type": "integer"
  24121. },
  24122. "askvolume3": {
  24123. "description": "卖量3",
  24124. "type": "integer"
  24125. },
  24126. "askvolume4": {
  24127. "description": "卖量4",
  24128. "type": "integer"
  24129. },
  24130. "askvolume5": {
  24131. "description": "卖量5",
  24132. "type": "integer"
  24133. },
  24134. "askvolume6": {
  24135. "description": "卖量6",
  24136. "type": "integer"
  24137. },
  24138. "askvolume7": {
  24139. "description": "卖量7",
  24140. "type": "integer"
  24141. },
  24142. "askvolume8": {
  24143. "description": "卖量8",
  24144. "type": "integer"
  24145. },
  24146. "askvolume9": {
  24147. "description": "卖量9",
  24148. "type": "integer"
  24149. },
  24150. "averageprice": {
  24151. "description": "均价",
  24152. "type": "number"
  24153. },
  24154. "bid": {
  24155. "description": "买1",
  24156. "type": "number"
  24157. },
  24158. "bid10": {
  24159. "description": "买10",
  24160. "type": "number"
  24161. },
  24162. "bid2": {
  24163. "description": "买2",
  24164. "type": "number"
  24165. },
  24166. "bid3": {
  24167. "description": "买3",
  24168. "type": "number"
  24169. },
  24170. "bid4": {
  24171. "description": "买4",
  24172. "type": "number"
  24173. },
  24174. "bid5": {
  24175. "description": "买5",
  24176. "type": "number"
  24177. },
  24178. "bid6": {
  24179. "description": "买6",
  24180. "type": "number"
  24181. },
  24182. "bid7": {
  24183. "description": "买7",
  24184. "type": "number"
  24185. },
  24186. "bid8": {
  24187. "description": "买8",
  24188. "type": "number"
  24189. },
  24190. "bid9": {
  24191. "description": "买9",
  24192. "type": "number"
  24193. },
  24194. "bidorderid": {
  24195. "description": "买单号1",
  24196. "type": "integer"
  24197. },
  24198. "bidorderid2": {
  24199. "description": "买单号2",
  24200. "type": "integer"
  24201. },
  24202. "bidorderid3": {
  24203. "description": "买单号3",
  24204. "type": "integer"
  24205. },
  24206. "bidorderid4": {
  24207. "description": "买单号4",
  24208. "type": "integer"
  24209. },
  24210. "bidorderid5": {
  24211. "description": "买单号5",
  24212. "type": "integer"
  24213. },
  24214. "bidordervolume": {
  24215. "description": "买单量1",
  24216. "type": "integer"
  24217. },
  24218. "bidordervolume10": {
  24219. "description": "买单量10",
  24220. "type": "integer"
  24221. },
  24222. "bidordervolume2": {
  24223. "description": "买单量2",
  24224. "type": "integer"
  24225. },
  24226. "bidordervolume3": {
  24227. "description": "买单量3",
  24228. "type": "integer"
  24229. },
  24230. "bidordervolume4": {
  24231. "description": "买单量4",
  24232. "type": "integer"
  24233. },
  24234. "bidordervolume5": {
  24235. "description": "买单量5",
  24236. "type": "integer"
  24237. },
  24238. "bidordervolume6": {
  24239. "description": "买单量6",
  24240. "type": "integer"
  24241. },
  24242. "bidordervolume7": {
  24243. "description": "买单量7",
  24244. "type": "integer"
  24245. },
  24246. "bidordervolume8": {
  24247. "description": "买单量8",
  24248. "type": "integer"
  24249. },
  24250. "bidordervolume9": {
  24251. "description": "买单量9",
  24252. "type": "integer"
  24253. },
  24254. "bidqueueinfo": {
  24255. "description": "大利市买港股用",
  24256. "type": "string"
  24257. },
  24258. "bidvolume": {
  24259. "description": "买量1",
  24260. "type": "integer"
  24261. },
  24262. "bidvolume10": {
  24263. "description": "买量10",
  24264. "type": "integer"
  24265. },
  24266. "bidvolume2": {
  24267. "description": "买量2",
  24268. "type": "integer"
  24269. },
  24270. "bidvolume3": {
  24271. "description": "买量3",
  24272. "type": "integer"
  24273. },
  24274. "bidvolume4": {
  24275. "description": "买量4",
  24276. "type": "integer"
  24277. },
  24278. "bidvolume5": {
  24279. "description": "买量5",
  24280. "type": "integer"
  24281. },
  24282. "bidvolume6": {
  24283. "description": "买量6",
  24284. "type": "integer"
  24285. },
  24286. "bidvolume7": {
  24287. "description": "买量7",
  24288. "type": "integer"
  24289. },
  24290. "bidvolume8": {
  24291. "description": "买量8",
  24292. "type": "integer"
  24293. },
  24294. "bidvolume9": {
  24295. "description": "买量9",
  24296. "type": "integer"
  24297. },
  24298. "calloptionpremiums": {
  24299. "description": "认购期权1",
  24300. "type": "integer"
  24301. },
  24302. "calloptionpremiums2": {
  24303. "description": "认购期权2",
  24304. "type": "integer"
  24305. },
  24306. "calloptionpremiums3": {
  24307. "description": "认购期权3",
  24308. "type": "integer"
  24309. },
  24310. "calloptionpremiums4": {
  24311. "description": "认购期权4",
  24312. "type": "integer"
  24313. },
  24314. "calloptionpremiums5": {
  24315. "description": "认购期权5",
  24316. "type": "integer"
  24317. },
  24318. "cleartime": {
  24319. "description": "清盘时间",
  24320. "type": "integer"
  24321. },
  24322. "exchangecode": {
  24323. "description": "交易所代码",
  24324. "type": "integer"
  24325. },
  24326. "exchangedate": {
  24327. "description": "交易日",
  24328. "type": "integer"
  24329. },
  24330. "goodscode": {
  24331. "description": "商品代码",
  24332. "type": "string"
  24333. },
  24334. "grepmarketprice": {
  24335. "description": "暗盘价 港股专用",
  24336. "type": "number"
  24337. },
  24338. "highest": {
  24339. "description": "最高价",
  24340. "type": "number"
  24341. },
  24342. "holdincrement": {
  24343. "description": "单笔持仓",
  24344. "type": "integer"
  24345. },
  24346. "holdvolume": {
  24347. "description": "持仓",
  24348. "type": "integer"
  24349. },
  24350. "iep": {
  24351. "description": "平衡价 港股专用",
  24352. "type": "number"
  24353. },
  24354. "iev": {
  24355. "description": "平衡量 港股专用",
  24356. "type": "number"
  24357. },
  24358. "inventory": {
  24359. "description": "库存",
  24360. "type": "integer"
  24361. },
  24362. "iscleared": {
  24363. "description": "是否清盘标志",
  24364. "type": "integer"
  24365. },
  24366. "issettled": {
  24367. "description": "是否结算标志",
  24368. "type": "integer"
  24369. },
  24370. "last": {
  24371. "description": "最新价",
  24372. "type": "number"
  24373. },
  24374. "lastlot": {
  24375. "description": "最新成交手数",
  24376. "type": "integer"
  24377. },
  24378. "lasttime": {
  24379. "description": "行情时间(只有现价变化行情时间才变化)",
  24380. "type": "string"
  24381. },
  24382. "lastturnover": {
  24383. "description": "最新成交金额",
  24384. "type": "number"
  24385. },
  24386. "lastvolume": {
  24387. "description": "最新成交量",
  24388. "type": "integer"
  24389. },
  24390. "limitdown": {
  24391. "description": "跌停价",
  24392. "type": "number"
  24393. },
  24394. "limitup": {
  24395. "description": "涨停价",
  24396. "type": "number"
  24397. },
  24398. "lowest": {
  24399. "description": "最低价",
  24400. "type": "number"
  24401. },
  24402. "nontotalholdervolume": {
  24403. "description": "非交易持仓量",
  24404. "type": "integer"
  24405. },
  24406. "nontotallot": {
  24407. "description": "非交易总手数",
  24408. "type": "integer"
  24409. },
  24410. "nontotalturnover": {
  24411. "description": "非交易总金额",
  24412. "type": "integer"
  24413. },
  24414. "nontotalvolume": {
  24415. "description": "非交易总量",
  24416. "type": "integer"
  24417. },
  24418. "opened": {
  24419. "description": "开盘价",
  24420. "type": "number"
  24421. },
  24422. "opentime": {
  24423. "description": "开盘时间",
  24424. "type": "string"
  24425. },
  24426. "orderid": {
  24427. "description": "序号",
  24428. "type": "integer"
  24429. },
  24430. "preclose": {
  24431. "description": "昨收",
  24432. "type": "number"
  24433. },
  24434. "preholdvolume": {
  24435. "description": "昨持仓",
  24436. "type": "integer"
  24437. },
  24438. "presettle": {
  24439. "description": "昨结价",
  24440. "type": "number"
  24441. },
  24442. "publictradetype": {
  24443. "description": "公共交易标志类型 港股专用",
  24444. "type": "string"
  24445. },
  24446. "putoptionpremiums": {
  24447. "description": "认沽期权1",
  24448. "type": "integer"
  24449. },
  24450. "putoptionpremiums2": {
  24451. "description": "认沽期权2",
  24452. "type": "integer"
  24453. },
  24454. "putoptionpremiums3": {
  24455. "description": "认沽期权3",
  24456. "type": "integer"
  24457. },
  24458. "putoptionpremiums4": {
  24459. "description": "认沽期权4",
  24460. "type": "integer"
  24461. },
  24462. "putoptionpremiums5": {
  24463. "description": "认沽期权5",
  24464. "type": "integer"
  24465. },
  24466. "settle": {
  24467. "description": "结算价",
  24468. "type": "number"
  24469. },
  24470. "strikeprice": {
  24471. "description": "发行价",
  24472. "type": "number"
  24473. },
  24474. "totalaskvolume": {
  24475. "description": "内盘",
  24476. "type": "integer"
  24477. },
  24478. "totalbidvolume": {
  24479. "description": "外盘",
  24480. "type": "integer"
  24481. },
  24482. "totallot": {
  24483. "description": "总手数",
  24484. "type": "integer"
  24485. },
  24486. "totalturnover": {
  24487. "description": "总金额",
  24488. "type": "number"
  24489. },
  24490. "totalvolume": {
  24491. "description": "总量",
  24492. "type": "integer"
  24493. },
  24494. "utclasttime": {
  24495. "description": "utc的行情时间",
  24496. "type": "string"
  24497. }
  24498. }
  24499. },
  24500. "quote.QueryTSDataRsp": {
  24501. "type": "object",
  24502. "properties": {
  24503. "Count": {
  24504. "description": "交易日应有数据个数",
  24505. "type": "integer"
  24506. },
  24507. "decimalPlace": {
  24508. "description": "小数位",
  24509. "type": "integer"
  24510. },
  24511. "endTime": {
  24512. "description": "结束时间",
  24513. "type": "string"
  24514. },
  24515. "goodsCode": {
  24516. "description": "商品代码",
  24517. "type": "string"
  24518. },
  24519. "historyDatas": {
  24520. "description": "历史数据",
  24521. "type": "array",
  24522. "items": {
  24523. "$ref": "#/definitions/quote.HistoryData"
  24524. }
  24525. },
  24526. "outGoodsCode": {
  24527. "description": "外部商品代码",
  24528. "type": "string"
  24529. },
  24530. "preSettle": {
  24531. "description": "昨结价",
  24532. "type": "number"
  24533. },
  24534. "runSteps": {
  24535. "description": "交易日开休市计划",
  24536. "type": "array",
  24537. "items": {
  24538. "$ref": "#/definitions/quote.TSDataRunStep"
  24539. }
  24540. },
  24541. "startTime": {
  24542. "description": "开始时间",
  24543. "type": "string"
  24544. },
  24545. "tradeDate": {
  24546. "description": "交易日",
  24547. "type": "string"
  24548. }
  24549. }
  24550. },
  24551. "quote.TSDataRunStep": {
  24552. "type": "object",
  24553. "properties": {
  24554. "end": {
  24555. "description": "真实结束时间",
  24556. "type": "string"
  24557. },
  24558. "endflag": {
  24559. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  24560. "type": "integer"
  24561. },
  24562. "endtime": {
  24563. "description": "结束时间(HH:mm)",
  24564. "type": "string"
  24565. },
  24566. "endweekday": {
  24567. "description": "结束周几",
  24568. "type": "integer"
  24569. },
  24570. "groupid": {
  24571. "description": "分组ID",
  24572. "type": "integer"
  24573. },
  24574. "runstep": {
  24575. "description": "运行阶段 - 2:连续交易",
  24576. "type": "integer"
  24577. },
  24578. "sectionid": {
  24579. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  24580. "type": "integer"
  24581. },
  24582. "start": {
  24583. "description": "真实开始时间",
  24584. "type": "string"
  24585. },
  24586. "startflag": {
  24587. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  24588. "type": "integer"
  24589. },
  24590. "starttime": {
  24591. "description": "起始时间(HH:mm)",
  24592. "type": "string"
  24593. },
  24594. "startweekday": {
  24595. "description": "起始周几",
  24596. "type": "integer"
  24597. },
  24598. "tradeweekday": {
  24599. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  24600. "type": "integer"
  24601. }
  24602. }
  24603. },
  24604. "szdz.QueryConvertLogRsp": {
  24605. "type": "object",
  24606. "required": [
  24607. "logid"
  24608. ],
  24609. "properties": {
  24610. "accountid": {
  24611. "description": "资金账户ID",
  24612. "type": "integer"
  24613. },
  24614. "clientticket": {
  24615. "description": "客户端流水号",
  24616. "type": "string"
  24617. },
  24618. "converttype": {
  24619. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  24620. "type": "integer"
  24621. },
  24622. "createtime": {
  24623. "description": "记账时间",
  24624. "type": "string"
  24625. },
  24626. "daymaxvalue": {
  24627. "description": "配置当日最大转入限制",
  24628. "type": "number"
  24629. },
  24630. "daymaxvalue2": {
  24631. "description": "配置当日最大转入限制(转入)",
  24632. "type": "number"
  24633. },
  24634. "goodscode": {
  24635. "description": "商品代码",
  24636. "type": "string"
  24637. },
  24638. "goodsname": {
  24639. "description": "商品名称",
  24640. "type": "string"
  24641. },
  24642. "handlestatus": {
  24643. "description": "处理状态",
  24644. "type": "integer"
  24645. },
  24646. "innergoodsid": {
  24647. "description": "内部商品ID",
  24648. "type": "integer"
  24649. },
  24650. "inratio": {
  24651. "description": "配置转入比值",
  24652. "type": "integer"
  24653. },
  24654. "invalue": {
  24655. "description": "目标值",
  24656. "type": "number"
  24657. },
  24658. "logid": {
  24659. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24660. "type": "integer"
  24661. },
  24662. "mobile": {
  24663. "description": "手机号码(加密存储)",
  24664. "type": "string"
  24665. },
  24666. "outergoodscode": {
  24667. "description": "外部商品代码[JD\\PD]",
  24668. "type": "string"
  24669. },
  24670. "outratio": {
  24671. "description": "配置转出比值",
  24672. "type": "integer"
  24673. },
  24674. "outvalue": {
  24675. "description": "源值",
  24676. "type": "number"
  24677. },
  24678. "pddecimalplace": {
  24679. "description": "PD小数位",
  24680. "type": "integer"
  24681. },
  24682. "qty": {
  24683. "description": "数量",
  24684. "type": "string"
  24685. },
  24686. "remark": {
  24687. "description": "备注",
  24688. "type": "string"
  24689. },
  24690. "sessionid": {
  24691. "description": "会话ID",
  24692. "type": "integer"
  24693. },
  24694. "timemaxvalue": {
  24695. "description": "配置单次最大转入限制",
  24696. "type": "number"
  24697. },
  24698. "timemaxvalue2": {
  24699. "description": "配置单次最大转入限制(转入)",
  24700. "type": "number"
  24701. },
  24702. "timeminvalue": {
  24703. "description": "配置单次最小数量限制",
  24704. "type": "number"
  24705. },
  24706. "timeminvalue2": {
  24707. "description": "配置单次最小数量限制(转入)",
  24708. "type": "number"
  24709. },
  24710. "tradedate": {
  24711. "description": "交易日(yyyyMMdd)",
  24712. "type": "string"
  24713. },
  24714. "userid": {
  24715. "description": "用户ID",
  24716. "type": "integer"
  24717. }
  24718. }
  24719. },
  24720. "szdz.QueryGoodsPickupRsp": {
  24721. "type": "object",
  24722. "required": [
  24723. "takeorderid"
  24724. ],
  24725. "properties": {
  24726. "accountid": {
  24727. "description": "账户ID",
  24728. "type": "integer"
  24729. },
  24730. "address": {
  24731. "description": "提货人详细地址",
  24732. "type": "string"
  24733. },
  24734. "auditer": {
  24735. "description": "审核人",
  24736. "type": "integer"
  24737. },
  24738. "audittime": {
  24739. "description": "审核时间",
  24740. "type": "string"
  24741. },
  24742. "cardnum": {
  24743. "description": "提货人证件号码",
  24744. "type": "string"
  24745. },
  24746. "cardtypeid": {
  24747. "description": "提货人证件类型",
  24748. "type": "integer"
  24749. },
  24750. "checkremark": {
  24751. "description": "审核备注",
  24752. "type": "string"
  24753. },
  24754. "goodscode": {
  24755. "description": "商品代码",
  24756. "type": "string"
  24757. },
  24758. "goodsid": {
  24759. "description": "商品ID",
  24760. "type": "integer"
  24761. },
  24762. "goodsname": {
  24763. "description": "商品名称",
  24764. "type": "string"
  24765. },
  24766. "handlestatus": {
  24767. "description": "处理状态",
  24768. "type": "integer"
  24769. },
  24770. "marketid": {
  24771. "description": "市场ID",
  24772. "type": "integer"
  24773. },
  24774. "phonenum": {
  24775. "description": "提货人联系方式",
  24776. "type": "string"
  24777. },
  24778. "qty": {
  24779. "description": "提货数量",
  24780. "type": "number"
  24781. },
  24782. "recivername": {
  24783. "description": "提货人姓名",
  24784. "type": "string"
  24785. },
  24786. "reqtime": {
  24787. "description": "更新时间",
  24788. "type": "string"
  24789. },
  24790. "takemode": {
  24791. "description": "提货方式 - 2:自提 3:配送",
  24792. "type": "integer"
  24793. },
  24794. "takeorderid": {
  24795. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  24796. "type": "string"
  24797. },
  24798. "takeorderstatus": {
  24799. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  24800. "type": "integer"
  24801. },
  24802. "takeremark": {
  24803. "description": "提货备注",
  24804. "type": "string"
  24805. },
  24806. "tradedate": {
  24807. "description": "交易日(yyyyMMdd)",
  24808. "type": "string"
  24809. },
  24810. "userid": {
  24811. "description": "用户ID",
  24812. "type": "integer"
  24813. }
  24814. }
  24815. },
  24816. "szdz.QueryRecieptOrderRsp": {
  24817. "type": "object",
  24818. "required": [
  24819. "ordertime"
  24820. ],
  24821. "properties": {
  24822. "accountName": {
  24823. "description": "所属账号名称(已脱敏)",
  24824. "type": "string"
  24825. },
  24826. "accountid": {
  24827. "description": "资金账号",
  24828. "type": "integer"
  24829. },
  24830. "buyorsell": {
  24831. "description": "方向 - 0:买 1:卖",
  24832. "type": "integer"
  24833. },
  24834. "enableqty": {
  24835. "description": "可摘数量",
  24836. "type": "integer"
  24837. },
  24838. "goodscode": {
  24839. "description": "商品代码",
  24840. "type": "string"
  24841. },
  24842. "goodsid": {
  24843. "description": "商品ID",
  24844. "type": "integer"
  24845. },
  24846. "goodsname": {
  24847. "description": "商品名称",
  24848. "type": "string"
  24849. },
  24850. "orderid": {
  24851. "description": "委托单号",
  24852. "type": "string"
  24853. },
  24854. "orderprice": {
  24855. "description": "委托价格",
  24856. "type": "number"
  24857. },
  24858. "ordertime": {
  24859. "description": "委托时间",
  24860. "type": "string"
  24861. },
  24862. "tradedate": {
  24863. "description": "交易日(yyyyMMdd)",
  24864. "type": "string"
  24865. }
  24866. }
  24867. },
  24868. "szdz.QuerySZDZTradePositionRsp": {
  24869. "type": "object",
  24870. "properties": {
  24871. "accountid": {
  24872. "description": "账号Id",
  24873. "type": "integer"
  24874. },
  24875. "agreeunit": {
  24876. "description": "合约单位",
  24877. "type": "number"
  24878. },
  24879. "averageprice": {
  24880. "description": "持仓均价",
  24881. "type": "number"
  24882. },
  24883. "buyorsell": {
  24884. "description": "方向 - 0:买 1:卖",
  24885. "type": "integer"
  24886. },
  24887. "closetotalqty": {
  24888. "description": "平仓总数量",
  24889. "type": "integer"
  24890. },
  24891. "curholderamount": {
  24892. "description": "当前持仓总金额",
  24893. "type": "number"
  24894. },
  24895. "curpositionqty": {
  24896. "description": "当前持仓总数量",
  24897. "type": "integer"
  24898. },
  24899. "currencyid": {
  24900. "description": "报价货币ID",
  24901. "type": "integer"
  24902. },
  24903. "curtdposition": {
  24904. "description": "期末今日头寸",
  24905. "type": "integer"
  24906. },
  24907. "decimalplace": {
  24908. "description": "报价小数位",
  24909. "type": "integer"
  24910. },
  24911. "enableqty": {
  24912. "description": "可用量",
  24913. "type": "integer"
  24914. },
  24915. "fretdposition": {
  24916. "description": "冻结今日头寸",
  24917. "type": "integer"
  24918. },
  24919. "frozenqty": {
  24920. "description": "持仓冻结数量",
  24921. "type": "integer"
  24922. },
  24923. "goodscode": {
  24924. "description": "商品代码(内部)",
  24925. "type": "string"
  24926. },
  24927. "goodsid": {
  24928. "description": "商品Id",
  24929. "type": "integer"
  24930. },
  24931. "goodsname": {
  24932. "description": "商品名称",
  24933. "type": "string"
  24934. },
  24935. "goodunit": {
  24936. "description": "报价单位",
  24937. "type": "string"
  24938. },
  24939. "goodunitid": {
  24940. "description": "报价单位ID",
  24941. "type": "integer"
  24942. },
  24943. "holderamount": {
  24944. "description": "期初持仓总金额",
  24945. "type": "number"
  24946. },
  24947. "marketid": {
  24948. "description": "市场ID",
  24949. "type": "integer"
  24950. },
  24951. "openreqqty": {
  24952. "description": "开仓申请数量",
  24953. "type": "integer"
  24954. },
  24955. "opentotalqty": {
  24956. "description": "开仓总数量",
  24957. "type": "integer"
  24958. },
  24959. "otherfrozenqty": {
  24960. "description": "持仓其他冻结数量(交割冻结)",
  24961. "type": "integer"
  24962. },
  24963. "positionqty": {
  24964. "description": "期初持仓数量",
  24965. "type": "integer"
  24966. },
  24967. "szdz3freezqty": {
  24968. "description": "尚志大宗转换冻结总数量",
  24969. "type": "integer"
  24970. },
  24971. "tnqty": {
  24972. "description": "T+N冻结总量",
  24973. "type": "integer"
  24974. },
  24975. "tnusedqty": {
  24976. "description": "T+N使用量",
  24977. "type": "integer"
  24978. },
  24979. "trademode": {
  24980. "description": "交易模式",
  24981. "type": "integer"
  24982. },
  24983. "usedmargin": {
  24984. "description": "占用保证金",
  24985. "type": "number"
  24986. }
  24987. }
  24988. },
  24989. "taaccount.QueryAmountLogRsp": {
  24990. "type": "object",
  24991. "required": [
  24992. "accountid",
  24993. "amount",
  24994. "amountadjusttype",
  24995. "autoid",
  24996. "balance",
  24997. "createtime",
  24998. "currentbalance",
  24999. "operatetype"
  25000. ],
  25001. "properties": {
  25002. "OPERATETYPENAME": {
  25003. "description": "资金操作类型名称",
  25004. "type": "string"
  25005. },
  25006. "accountid": {
  25007. "description": "资金账户ID",
  25008. "type": "integer"
  25009. },
  25010. "agoodscode": {
  25011. "description": "竞拍商品代码",
  25012. "type": "string"
  25013. },
  25014. "agoodsname": {
  25015. "description": "竞拍商品名称",
  25016. "type": "string"
  25017. },
  25018. "amount": {
  25019. "description": "资金金额",
  25020. "type": "number"
  25021. },
  25022. "amountadjusttype": {
  25023. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25024. "type": "integer"
  25025. },
  25026. "autoid": {
  25027. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25028. "type": "integer"
  25029. },
  25030. "balance": {
  25031. "description": "期初余额",
  25032. "type": "number"
  25033. },
  25034. "businesscode": {
  25035. "description": "业务编号",
  25036. "type": "integer"
  25037. },
  25038. "createtime": {
  25039. "description": "发生时间",
  25040. "type": "string"
  25041. },
  25042. "currencyid": {
  25043. "description": "币种ID",
  25044. "type": "integer"
  25045. },
  25046. "currentbalance": {
  25047. "description": "期末余额(变动后金额)",
  25048. "type": "number"
  25049. },
  25050. "dgoodscode": {
  25051. "description": "交割商品代码",
  25052. "type": "string"
  25053. },
  25054. "dgoodsname": {
  25055. "description": "交割商品名称",
  25056. "type": "string"
  25057. },
  25058. "goodscode": {
  25059. "description": "商品代码",
  25060. "type": "string"
  25061. },
  25062. "goodsid": {
  25063. "description": "商品ID",
  25064. "type": "integer"
  25065. },
  25066. "goodsname": {
  25067. "description": "商品名称",
  25068. "type": "string"
  25069. },
  25070. "marketid": {
  25071. "description": "市场ID",
  25072. "type": "integer"
  25073. },
  25074. "marketname": {
  25075. "description": "市场名称",
  25076. "type": "string"
  25077. },
  25078. "moneyticket": {
  25079. "description": "资金流水号:银行端流水号",
  25080. "type": "integer"
  25081. },
  25082. "operatetype": {
  25083. "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:营销收款",
  25084. "type": "integer"
  25085. },
  25086. "relationorderid": {
  25087. "description": "关联单号",
  25088. "type": "string"
  25089. },
  25090. "remark": {
  25091. "description": "备注",
  25092. "type": "string"
  25093. },
  25094. "trademode": {
  25095. "description": "交易模式",
  25096. "type": "integer"
  25097. }
  25098. }
  25099. },
  25100. "taaccount.QueryHisAmountLogRsp": {
  25101. "type": "object",
  25102. "required": [
  25103. "accountid",
  25104. "amount",
  25105. "amountadjusttype",
  25106. "autoid",
  25107. "balance",
  25108. "createtime",
  25109. "currentbalance",
  25110. "histradedate",
  25111. "operatetype"
  25112. ],
  25113. "properties": {
  25114. "OPERATETYPENAME": {
  25115. "description": "资金操作类型名称",
  25116. "type": "string"
  25117. },
  25118. "accountid": {
  25119. "description": "资金账户ID",
  25120. "type": "integer"
  25121. },
  25122. "agoodscode": {
  25123. "description": "竞拍商品代码",
  25124. "type": "string"
  25125. },
  25126. "agoodsname": {
  25127. "description": "竞拍商品名称",
  25128. "type": "string"
  25129. },
  25130. "amount": {
  25131. "description": "资金金额",
  25132. "type": "number"
  25133. },
  25134. "amountadjusttype": {
  25135. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  25136. "type": "integer"
  25137. },
  25138. "autoid": {
  25139. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  25140. "type": "integer"
  25141. },
  25142. "balance": {
  25143. "description": "期初余额",
  25144. "type": "number"
  25145. },
  25146. "businesscode": {
  25147. "description": "业务编号",
  25148. "type": "integer"
  25149. },
  25150. "createtime": {
  25151. "description": "发生时间",
  25152. "type": "string"
  25153. },
  25154. "currencyid": {
  25155. "description": "币种ID",
  25156. "type": "integer"
  25157. },
  25158. "currentbalance": {
  25159. "description": "期末余额(变动后金额)",
  25160. "type": "number"
  25161. },
  25162. "dgoodscode": {
  25163. "description": "交割商品代码",
  25164. "type": "string"
  25165. },
  25166. "dgoodsname": {
  25167. "description": "交割商品名称",
  25168. "type": "string"
  25169. },
  25170. "goodscode": {
  25171. "description": "商品代码",
  25172. "type": "string"
  25173. },
  25174. "goodsid": {
  25175. "description": "商品ID",
  25176. "type": "integer"
  25177. },
  25178. "goodsname": {
  25179. "description": "商品名称",
  25180. "type": "string"
  25181. },
  25182. "histradedate": {
  25183. "description": "历史交易日",
  25184. "type": "string"
  25185. },
  25186. "isvaliddata": {
  25187. "description": "是否有效 - 0:无效 1:有效",
  25188. "type": "integer"
  25189. },
  25190. "marketid": {
  25191. "description": "市场ID",
  25192. "type": "integer"
  25193. },
  25194. "marketname": {
  25195. "description": "市场名称",
  25196. "type": "string"
  25197. },
  25198. "moneyticket": {
  25199. "description": "资金流水号:银行端流水号",
  25200. "type": "integer"
  25201. },
  25202. "operatetype": {
  25203. "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:营销收款",
  25204. "type": "integer"
  25205. },
  25206. "relationorderid": {
  25207. "description": "关联单号",
  25208. "type": "string"
  25209. },
  25210. "remark": {
  25211. "description": "备注",
  25212. "type": "string"
  25213. },
  25214. "trademode": {
  25215. "description": "交易模式",
  25216. "type": "integer"
  25217. }
  25218. }
  25219. },
  25220. "trade.QueryRecieptOrderRsp": {
  25221. "type": "object",
  25222. "required": [
  25223. "ordertime"
  25224. ],
  25225. "properties": {
  25226. "accountName": {
  25227. "description": "所属账号名称(已脱敏)",
  25228. "type": "string"
  25229. },
  25230. "accountid": {
  25231. "description": "资金账号",
  25232. "type": "integer"
  25233. },
  25234. "buyorsell": {
  25235. "description": "方向 - 0:买 1:卖",
  25236. "type": "integer"
  25237. },
  25238. "enableqty": {
  25239. "description": "可摘数量",
  25240. "type": "integer"
  25241. },
  25242. "goodscode": {
  25243. "description": "商品代码",
  25244. "type": "string"
  25245. },
  25246. "goodsid": {
  25247. "description": "商品ID",
  25248. "type": "integer"
  25249. },
  25250. "goodsname": {
  25251. "description": "商品名称",
  25252. "type": "string"
  25253. },
  25254. "orderid": {
  25255. "description": "委托单号",
  25256. "type": "string"
  25257. },
  25258. "orderprice": {
  25259. "description": "委托价格",
  25260. "type": "number"
  25261. },
  25262. "ordertime": {
  25263. "description": "委托时间",
  25264. "type": "string"
  25265. },
  25266. "tradedate": {
  25267. "description": "交易日(yyyyMMdd)",
  25268. "type": "string"
  25269. }
  25270. }
  25271. },
  25272. "user.LoginQueryRsp": {
  25273. "type": "object",
  25274. "properties": {
  25275. "areaRoles": {
  25276. "description": "所属角色信息",
  25277. "type": "array",
  25278. "items": {
  25279. "$ref": "#/definitions/models.Arearole"
  25280. }
  25281. },
  25282. "externalExchanges": {
  25283. "description": "外部交易所",
  25284. "type": "array",
  25285. "items": {
  25286. "$ref": "#/definitions/models.Externalexchange"
  25287. }
  25288. },
  25289. "goodsgroups": {
  25290. "description": "商品组",
  25291. "type": "array",
  25292. "items": {
  25293. "$ref": "#/definitions/models.Goodsgroup"
  25294. }
  25295. },
  25296. "loginAccount": {
  25297. "description": "登录账号",
  25298. "$ref": "#/definitions/models.Loginaccount"
  25299. },
  25300. "markets": {
  25301. "description": "市场",
  25302. "type": "array",
  25303. "items": {
  25304. "$ref": "#/definitions/models.Market"
  25305. }
  25306. },
  25307. "systemParams": {
  25308. "description": "系统参数",
  25309. "type": "array",
  25310. "items": {
  25311. "$ref": "#/definitions/models.Systemparam"
  25312. }
  25313. },
  25314. "userAccount": {
  25315. "description": "用户账号",
  25316. "$ref": "#/definitions/models.Useraccount"
  25317. },
  25318. "userInfo": {
  25319. "description": "用户信息",
  25320. "$ref": "#/definitions/models.Userinfo"
  25321. },
  25322. "username": {
  25323. "description": "用户姓名",
  25324. "type": "string"
  25325. }
  25326. }
  25327. }
  25328. },
  25329. "securityDefinitions": {
  25330. "ApiKeyAuth": {
  25331. "type": "apiKey",
  25332. "name": "Authorization",
  25333. "in": "header"
  25334. }
  25335. }
  25336. }`
  25337. type swaggerInfo struct {
  25338. Version string
  25339. Host string
  25340. BasePath string
  25341. Schemes []string
  25342. Title string
  25343. Description string
  25344. }
  25345. // SwaggerInfo holds exported Swagger Info so clients can modify it
  25346. var SwaggerInfo = swaggerInfo{
  25347. Version: "1.0",
  25348. Host: "",
  25349. BasePath: "/api",
  25350. Schemes: []string{},
  25351. Title: "MTP2.0 查询服务 API",
  25352. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  25353. }
  25354. type s struct{}
  25355. func (s *s) ReadDoc() string {
  25356. sInfo := SwaggerInfo
  25357. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  25358. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  25359. "marshal": func(v interface{}) string {
  25360. a, _ := json.Marshal(v)
  25361. return string(a)
  25362. },
  25363. }).Parse(doc)
  25364. if err != nil {
  25365. return doc
  25366. }
  25367. var tpl bytes.Buffer
  25368. if err := t.Execute(&tpl, sInfo); err != nil {
  25369. return doc
  25370. }
  25371. return tpl.String()
  25372. }
  25373. func init() {
  25374. swag.Register(swag.Name, &s{})
  25375. }